zohodealpos 1.7.2 → 1.7.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/zoho/{10.3b085127c11764b6.js → 10.db1e385cb7edf777.js} +0 -0
- package/zoho/{684.f60f1590b7422226.js → 684.8ea89184fa82ccde.js} +1 -1
- package/zoho/{972.7f70ab4ac732ab76.js → 972.1a1885060dac7ccb.js} +1 -1
- package/zoho/index.html +2 -2
- package/zoho/main.4f0b752aaf8dc667.js +1 -0
- package/zoho/ngsw.json +11 -11
- package/zoho/{runtime.cd7052c26f983d31.js → runtime.fdc88ac30a95a391.js} +1 -1
- package/zoho/main.1fb51d7b2ac14c17.js +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var ZS=Object.defineProperty,JS=Object.defineProperties,XS=Object.getOwnPropertyDescriptors,h_=Object.getOwnPropertySymbols,eI=Object.prototype.hasOwnProperty,tI=Object.prototype.propertyIsEnumerable,p_=(He,de,I)=>de in He?ZS(He,de,{enumerable:!0,configurable:!0,writable:!0,value:I}):He[de]=I,it=(He,de)=>{for(var I in de||(de={}))eI.call(de,I)&&p_(He,I,de[I]);if(h_)for(var I of h_(de))tI.call(de,I)&&p_(He,I,de[I]);return He},Vr=(He,de)=>JS(He,XS(de));(self.webpackChunkzoho=self.webpackChunkzoho||[]).push([[179],{8452:(He,de,I)=>{I.d(de,{Rh:()=>Cn,_W:()=>Be});var E=I(6079),g=I(9814),oe=I(3405),fe=I(5427),J=I(6019);const V=["toast-component",""];function re(pe,we){if(1&pe){const ee=E.EpF();E.TgZ(0,"button",5),E.NdJ("click",function(){return E.CHM(ee),E.oxw().remove()}),E.TgZ(1,"span",6),E._uU(2,"\xd7"),E.qZA(),E.qZA()}}function ne(pe,we){if(1&pe&&(E.ynx(0),E._uU(1),E.BQk()),2&pe){const ee=E.oxw(2);E.xp6(1),E.hij("[",ee.duplicatesCount+1,"]")}}function G(pe,we){if(1&pe&&(E.TgZ(0,"div"),E._uU(1),E.YNc(2,ne,2,1,"ng-container",4),E.qZA()),2&pe){const ee=E.oxw();E.Tol(ee.options.titleClass),E.uIk("aria-label",ee.title),E.xp6(1),E.hij(" ",ee.title," "),E.xp6(1),E.Q6J("ngIf",ee.duplicatesCount)}}function K(pe,we){if(1&pe&&E._UZ(0,"div",7),2&pe){const ee=E.oxw();E.Tol(ee.options.messageClass),E.Q6J("innerHTML",ee.message,E.oJD)}}function B(pe,we){if(1&pe&&(E.TgZ(0,"div",8),E._uU(1),E.qZA()),2&pe){const ee=E.oxw();E.Tol(ee.options.messageClass),E.uIk("aria-label",ee.message),E.xp6(1),E.hij(" ",ee.message," ")}}function ue(pe,we){if(1&pe&&(E.TgZ(0,"div"),E._UZ(1,"div",9),E.qZA()),2&pe){const ee=E.oxw();E.xp6(1),E.Udp("width",ee.width+"%")}}function ve(pe,we){if(1&pe){const ee=E.EpF();E.TgZ(0,"button",5),E.NdJ("click",function(){return E.CHM(ee),E.oxw().remove()}),E.TgZ(1,"span",6),E._uU(2,"\xd7"),E.qZA(),E.qZA()}}function Ie(pe,we){if(1&pe&&(E.ynx(0),E._uU(1),E.BQk()),2&pe){const ee=E.oxw(2);E.xp6(1),E.hij("[",ee.duplicatesCount+1,"]")}}function te(pe,we){if(1&pe&&(E.TgZ(0,"div"),E._uU(1),E.YNc(2,Ie,2,1,"ng-container",4),E.qZA()),2&pe){const ee=E.oxw();E.Tol(ee.options.titleClass),E.uIk("aria-label",ee.title),E.xp6(1),E.hij(" ",ee.title," "),E.xp6(1),E.Q6J("ngIf",ee.duplicatesCount)}}function he(pe,we){if(1&pe&&E._UZ(0,"div",7),2&pe){const ee=E.oxw();E.Tol(ee.options.messageClass),E.Q6J("innerHTML",ee.message,E.oJD)}}function Ae(pe,we){if(1&pe&&(E.TgZ(0,"div",8),E._uU(1),E.qZA()),2&pe){const ee=E.oxw();E.Tol(ee.options.messageClass),E.uIk("aria-label",ee.message),E.xp6(1),E.hij(" ",ee.message," ")}}function Oe(pe,we){if(1&pe&&(E.TgZ(0,"div"),E._UZ(1,"div",9),E.qZA()),2&pe){const ee=E.oxw();E.xp6(1),E.Udp("width",ee.width+"%")}}class ye{constructor(we,ee,le,ke,je,un){this.toastId=we,this.config=ee,this.message=le,this.title=ke,this.toastType=je,this.toastRef=un,this._onTap=new oe.xQ,this._onAction=new oe.xQ,this.toastRef.afterClosed().subscribe(()=>{this._onAction.complete(),this._onTap.complete()})}triggerTap(){this._onTap.next(),this.config.tapToDismiss&&this._onTap.complete()}onTap(){return this._onTap.asObservable()}triggerAction(we){this._onAction.next(we)}onAction(){return this._onAction.asObservable()}}const be={maxOpened:0,autoDismiss:!1,newestOnTop:!0,preventDuplicates:!1,countDuplicates:!1,resetTimeoutOnDuplicate:!1,includeTitleDuplicates:!1,iconClasses:{error:"toast-error",info:"toast-info",success:"toast-success",warning:"toast-warning"},closeButton:!1,disableTimeOut:!1,timeOut:5e3,extendedTimeOut:1e3,enableHtml:!1,progressBar:!1,toastClass:"ngx-toastr",positionClass:"toast-top-right",titleClass:"toast-title",messageClass:"toast-message",easing:"ease-in",easeTime:300,tapToDismiss:!0,onActivateTick:!1,progressAnimation:"decreasing"},Ze=new E.OlP("ToastConfig");class Bt{constructor(we,ee){this.component=we,this.injector=ee}attach(we,ee){return this._attachedHost=we,we.attach(this,ee)}detach(){const we=this._attachedHost;if(we)return this._attachedHost=void 0,we.detach()}get isAttached(){return null!=this._attachedHost}setAttachedHost(we){this._attachedHost=we}}class It extends class{attach(we,ee){return this._attachedPortal=we,this.attachComponentPortal(we,ee)}detach(){this._attachedPortal&&this._attachedPortal.setAttachedHost(),this._attachedPortal=void 0,this._disposeFn&&(this._disposeFn(),this._disposeFn=void 0)}setDisposeFn(we){this._disposeFn=we}}{constructor(we,ee,le){super(),this._hostDomElement=we,this._componentFactoryResolver=ee,this._appRef=le}attachComponentPortal(we,ee){const le=this._componentFactoryResolver.resolveComponentFactory(we.component);let ke;return ke=le.create(we.injector),this._appRef.attachView(ke.hostView),this.setDisposeFn(()=>{this._appRef.detachView(ke.hostView),ke.destroy()}),ee?this._hostDomElement.insertBefore(this._getComponentRootNode(ke),this._hostDomElement.firstChild):this._hostDomElement.appendChild(this._getComponentRootNode(ke)),ke}_getComponentRootNode(we){return we.hostView.rootNodes[0]}}let ct=(()=>{class pe{constructor(ee){this._document=ee}ngOnDestroy(){this._containerElement&&this._containerElement.parentNode&&this._containerElement.parentNode.removeChild(this._containerElement)}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const ee=this._document.createElement("div");ee.classList.add("overlay-container"),this._document.body.appendChild(ee),this._containerElement=ee}}return pe.\u0275fac=function(ee){return new(ee||pe)(E.LFG(J.K0))},pe.\u0275prov=E.Yz7({factory:function(){return new pe(E.LFG(J.K0))},token:pe,providedIn:"root"}),pe})();class At{constructor(we){this._portalHost=we}attach(we,ee=!0){return this._portalHost.attach(we,ee)}detach(){return this._portalHost.detach()}}let Mt=(()=>{class pe{constructor(ee,le,ke,je){this._overlayContainer=ee,this._componentFactoryResolver=le,this._appRef=ke,this._document=je,this._paneElements=new Map}create(ee,le){return this._createOverlayRef(this.getPaneElement(ee,le))}getPaneElement(ee="",le){return this._paneElements.get(le)||this._paneElements.set(le,{}),this._paneElements.get(le)[ee]||(this._paneElements.get(le)[ee]=this._createPaneElement(ee,le)),this._paneElements.get(le)[ee]}_createPaneElement(ee,le){const ke=this._document.createElement("div");return ke.id="toast-container",ke.classList.add(ee),ke.classList.add("toast-container"),le?le.getContainerElement().appendChild(ke):this._overlayContainer.getContainerElement().appendChild(ke),ke}_createPortalHost(ee){return new It(ee,this._componentFactoryResolver,this._appRef)}_createOverlayRef(ee){return new At(this._createPortalHost(ee))}}return pe.\u0275fac=function(ee){return new(ee||pe)(E.LFG(ct),E.LFG(E._Vd),E.LFG(E.z2F),E.LFG(J.K0))},pe.\u0275prov=E.Yz7({factory:function(){return new pe(E.LFG(ct),E.LFG(E._Vd),E.LFG(E.z2F),E.LFG(J.K0))},token:pe,providedIn:"root"}),pe})();class at{constructor(we){this._overlayRef=we,this.duplicatesCount=0,this._afterClosed=new oe.xQ,this._activate=new oe.xQ,this._manualClose=new oe.xQ,this._resetTimeout=new oe.xQ,this._countDuplicate=new oe.xQ}manualClose(){this._manualClose.next(),this._manualClose.complete()}manualClosed(){return this._manualClose.asObservable()}timeoutReset(){return this._resetTimeout.asObservable()}countDuplicate(){return this._countDuplicate.asObservable()}close(){this._overlayRef.detach(),this._afterClosed.next(),this._manualClose.next(),this._afterClosed.complete(),this._manualClose.complete(),this._activate.complete(),this._resetTimeout.complete(),this._countDuplicate.complete()}afterClosed(){return this._afterClosed.asObservable()}isInactive(){return this._activate.isStopped}activate(){this._activate.next(),this._activate.complete()}afterActivate(){return this._activate.asObservable()}onDuplicate(we,ee){we&&this._resetTimeout.next(),ee&&this._countDuplicate.next(++this.duplicatesCount)}}class dt{constructor(we,ee){this._toastPackage=we,this._parentInjector=ee}get(we,ee,le){return we===ye?this._toastPackage:this._parentInjector.get(we,ee,le)}}let Be=(()=>{class pe{constructor(ee,le,ke,je,un){this.overlay=le,this._injector=ke,this.sanitizer=je,this.ngZone=un,this.currentlyActive=0,this.toasts=[],this.index=0,this.toastrConfig=Object.assign(Object.assign({},ee.default),ee.config),ee.config.iconClasses&&(this.toastrConfig.iconClasses=Object.assign(Object.assign({},ee.default.iconClasses),ee.config.iconClasses))}show(ee,le,ke={},je=""){return this._preBuildNotification(je,ee,le,this.applyConfig(ke))}success(ee,le,ke={}){return this._preBuildNotification(this.toastrConfig.iconClasses.success||"",ee,le,this.applyConfig(ke))}error(ee,le,ke={}){return this._preBuildNotification(this.toastrConfig.iconClasses.error||"",ee,le,this.applyConfig(ke))}info(ee,le,ke={}){return this._preBuildNotification(this.toastrConfig.iconClasses.info||"",ee,le,this.applyConfig(ke))}warning(ee,le,ke={}){return this._preBuildNotification(this.toastrConfig.iconClasses.warning||"",ee,le,this.applyConfig(ke))}clear(ee){for(const le of this.toasts)if(void 0!==ee){if(le.toastId===ee)return void le.toastRef.manualClose()}else le.toastRef.manualClose()}remove(ee){const le=this._findToast(ee);if(!le||(le.activeToast.toastRef.close(),this.toasts.splice(le.index,1),this.currentlyActive=this.currentlyActive-1,!this.toastrConfig.maxOpened||!this.toasts.length))return!1;if(this.currentlyActive<this.toastrConfig.maxOpened&&this.toasts[this.currentlyActive]){const ke=this.toasts[this.currentlyActive].toastRef;ke.isInactive()||(this.currentlyActive=this.currentlyActive+1,ke.activate())}return!0}findDuplicate(ee="",le="",ke,je){const{includeTitleDuplicates:un}=this.toastrConfig;for(const tn of this.toasts){const wt=un&&tn.title===ee;if((!un||wt)&&tn.message===le)return tn.toastRef.onDuplicate(ke,je),tn}return null}applyConfig(ee={}){return Object.assign(Object.assign({},this.toastrConfig),ee)}_findToast(ee){for(let le=0;le<this.toasts.length;le++)if(this.toasts[le].toastId===ee)return{index:le,activeToast:this.toasts[le]};return null}_preBuildNotification(ee,le,ke,je){return je.onActivateTick?this.ngZone.run(()=>this._buildNotification(ee,le,ke,je)):this._buildNotification(ee,le,ke,je)}_buildNotification(ee,le,ke,je){if(!je.toastComponent)throw new Error("toastComponent required");const un=this.findDuplicate(ke,le,this.toastrConfig.resetTimeoutOnDuplicate&&je.timeOut>0,this.toastrConfig.countDuplicates);if((this.toastrConfig.includeTitleDuplicates&&ke||le)&&this.toastrConfig.preventDuplicates&&null!==un)return un;this.previousToastMessage=le;let tn=!1;this.toastrConfig.maxOpened&&this.currentlyActive>=this.toastrConfig.maxOpened&&(tn=!0,this.toastrConfig.autoDismiss&&this.clear(this.toasts[0].toastId));const wt=this.overlay.create(je.positionClass,this.overlayContainer);this.index=this.index+1;let gn=le;le&&je.enableHtml&&(gn=this.sanitizer.sanitize(E.q3G.HTML,le));const nn=new at(wt),zn=new ye(this.index,je,gn,ke,ee,nn),or=new dt(zn,this._injector),Hn=new Bt(je.toastComponent,or),Fn=wt.attach(Hn,this.toastrConfig.newestOnTop);nn.componentInstance=Fn.instance;const Qt={toastId:this.index,title:ke||"",message:le||"",toastRef:nn,onShown:nn.afterActivate(),onHidden:nn.afterClosed(),onTap:zn.onTap(),onAction:zn.onAction(),portal:Fn};return tn||(this.currentlyActive=this.currentlyActive+1,setTimeout(()=>{Qt.toastRef.activate()})),this.toasts.push(Qt),Qt}}return pe.\u0275fac=function(ee){return new(ee||pe)(E.LFG(Ze),E.LFG(Mt),E.LFG(E.zs3),E.LFG(fe.H7),E.LFG(E.R0b))},pe.\u0275prov=E.Yz7({factory:function(){return new pe(E.LFG(Ze),E.LFG(Mt),E.LFG(E.gxx),E.LFG(fe.H7),E.LFG(E.R0b))},token:pe,providedIn:"root"}),pe})(),hr=(()=>{class pe{constructor(ee,le,ke){this.toastrService=ee,this.toastPackage=le,this.ngZone=ke,this.width=-1,this.toastClasses="",this.state={value:"inactive",params:{easeTime:this.toastPackage.config.easeTime,easing:"ease-in"}},this.message=le.message,this.title=le.title,this.options=le.config,this.originalTimeout=le.config.timeOut,this.toastClasses=`${le.toastType} ${le.config.toastClass}`,this.sub=le.toastRef.afterActivate().subscribe(()=>{this.activateToast()}),this.sub1=le.toastRef.manualClosed().subscribe(()=>{this.remove()}),this.sub2=le.toastRef.timeoutReset().subscribe(()=>{this.resetTimeout()}),this.sub3=le.toastRef.countDuplicate().subscribe(je=>{this.duplicatesCount=je})}get displayStyle(){if("inactive"===this.state.value)return"none"}ngOnDestroy(){this.sub.unsubscribe(),this.sub1.unsubscribe(),this.sub2.unsubscribe(),this.sub3.unsubscribe(),clearInterval(this.intervalId),clearTimeout(this.timeout)}activateToast(){this.state=Object.assign(Object.assign({},this.state),{value:"active"}),!0!==this.options.disableTimeOut&&"timeOut"!==this.options.disableTimeOut&&this.options.timeOut&&(this.outsideTimeout(()=>this.remove(),this.options.timeOut),this.hideTime=(new Date).getTime()+this.options.timeOut,this.options.progressBar&&this.outsideInterval(()=>this.updateProgress(),10))}updateProgress(){if(0===this.width||100===this.width||!this.options.timeOut)return;const ee=(new Date).getTime();this.width=(this.hideTime-ee)/this.options.timeOut*100,"increasing"===this.options.progressAnimation&&(this.width=100-this.width),this.width<=0&&(this.width=0),this.width>=100&&(this.width=100)}resetTimeout(){clearTimeout(this.timeout),clearInterval(this.intervalId),this.state=Object.assign(Object.assign({},this.state),{value:"active"}),this.outsideTimeout(()=>this.remove(),this.originalTimeout),this.options.timeOut=this.originalTimeout,this.hideTime=(new Date).getTime()+(this.options.timeOut||0),this.width=-1,this.options.progressBar&&this.outsideInterval(()=>this.updateProgress(),10)}remove(){"removed"!==this.state.value&&(clearTimeout(this.timeout),this.state=Object.assign(Object.assign({},this.state),{value:"removed"}),this.outsideTimeout(()=>this.toastrService.remove(this.toastPackage.toastId),+this.toastPackage.config.easeTime))}tapToast(){"removed"!==this.state.value&&(this.toastPackage.triggerTap(),this.options.tapToDismiss&&this.remove())}stickAround(){"removed"!==this.state.value&&(clearTimeout(this.timeout),this.options.timeOut=0,this.hideTime=0,clearInterval(this.intervalId),this.width=0)}delayedHideToast(){!0===this.options.disableTimeOut||"extendedTimeOut"===this.options.disableTimeOut||0===this.options.extendedTimeOut||"removed"===this.state.value||(this.outsideTimeout(()=>this.remove(),this.options.extendedTimeOut),this.options.timeOut=this.options.extendedTimeOut,this.hideTime=(new Date).getTime()+(this.options.timeOut||0),this.width=-1,this.options.progressBar&&this.outsideInterval(()=>this.updateProgress(),10))}outsideTimeout(ee,le){this.ngZone?this.ngZone.runOutsideAngular(()=>this.timeout=setTimeout(()=>this.runInsideAngular(ee),le)):this.timeout=setTimeout(()=>ee(),le)}outsideInterval(ee,le){this.ngZone?this.ngZone.runOutsideAngular(()=>this.intervalId=setInterval(()=>this.runInsideAngular(ee),le)):this.intervalId=setInterval(()=>ee(),le)}runInsideAngular(ee){this.ngZone?this.ngZone.run(()=>ee()):ee()}}return pe.\u0275fac=function(ee){return new(ee||pe)(E.Y36(Be),E.Y36(ye),E.Y36(E.R0b))},pe.\u0275cmp=E.Xpm({type:pe,selectors:[["","toast-component",""]],hostVars:5,hostBindings:function(ee,le){1&ee&&E.NdJ("click",function(){return le.tapToast()})("mouseenter",function(){return le.stickAround()})("mouseleave",function(){return le.delayedHideToast()}),2&ee&&(E.d8E("@flyInOut",le.state),E.Tol(le.toastClasses),E.Udp("display",le.displayStyle))},attrs:V,decls:5,vars:5,consts:[["class","toast-close-button","aria-label","Close",3,"click",4,"ngIf"],[3,"class",4,"ngIf"],["role","alertdialog","aria-live","polite",3,"class","innerHTML",4,"ngIf"],["role","alertdialog","aria-live","polite",3,"class",4,"ngIf"],[4,"ngIf"],["aria-label","Close",1,"toast-close-button",3,"click"],["aria-hidden","true"],["role","alertdialog","aria-live","polite",3,"innerHTML"],["role","alertdialog","aria-live","polite"],[1,"toast-progress"]],template:function(ee,le){1&ee&&(E.YNc(0,re,3,0,"button",0),E.YNc(1,G,3,5,"div",1),E.YNc(2,K,1,3,"div",2),E.YNc(3,B,2,4,"div",3),E.YNc(4,ue,2,2,"div",4)),2&ee&&(E.Q6J("ngIf",le.options.closeButton),E.xp6(1),E.Q6J("ngIf",le.title),E.xp6(1),E.Q6J("ngIf",le.message&&le.options.enableHtml),E.xp6(1),E.Q6J("ngIf",le.message&&!le.options.enableHtml),E.xp6(1),E.Q6J("ngIf",le.options.progressBar))},directives:[J.O5],encapsulation:2,data:{animation:[(0,g.X$)("flyInOut",[(0,g.SB)("inactive",(0,g.oB)({opacity:0})),(0,g.SB)("active",(0,g.oB)({opacity:1})),(0,g.SB)("removed",(0,g.oB)({opacity:0})),(0,g.eR)("inactive => active",(0,g.jt)("{{ easeTime }}ms {{ easing }}")),(0,g.eR)("active => removed",(0,g.jt)("{{ easeTime }}ms {{ easing }}"))])]}}),pe})();const sr=Object.assign(Object.assign({},be),{toastComponent:hr});let Cn=(()=>{class pe{static forRoot(ee={}){return{ngModule:pe,providers:[{provide:Ze,useValue:{default:sr,config:ee}}]}}}return pe.\u0275fac=function(ee){return new(ee||pe)},pe.\u0275mod=E.oAB({type:pe}),pe.\u0275inj=E.cJS({imports:[[J.ez]]}),pe})(),ir=(()=>{class pe{constructor(ee,le,ke){this.toastrService=ee,this.toastPackage=le,this.appRef=ke,this.width=-1,this.toastClasses="",this.state="inactive",this.message=le.message,this.title=le.title,this.options=le.config,this.originalTimeout=le.config.timeOut,this.toastClasses=`${le.toastType} ${le.config.toastClass}`,this.sub=le.toastRef.afterActivate().subscribe(()=>{this.activateToast()}),this.sub1=le.toastRef.manualClosed().subscribe(()=>{this.remove()}),this.sub2=le.toastRef.timeoutReset().subscribe(()=>{this.resetTimeout()}),this.sub3=le.toastRef.countDuplicate().subscribe(je=>{this.duplicatesCount=je})}get displayStyle(){if("inactive"===this.state)return"none"}ngOnDestroy(){this.sub.unsubscribe(),this.sub1.unsubscribe(),this.sub2.unsubscribe(),this.sub3.unsubscribe(),clearInterval(this.intervalId),clearTimeout(this.timeout)}activateToast(){this.state="active",!(!0===this.options.disableTimeOut||"timeOut"===this.options.disableTimeOut)&&this.options.timeOut&&(this.timeout=setTimeout(()=>{this.remove()},this.options.timeOut),this.hideTime=(new Date).getTime()+this.options.timeOut,this.options.progressBar&&(this.intervalId=setInterval(()=>this.updateProgress(),10))),this.options.onActivateTick&&this.appRef.tick()}updateProgress(){if(0===this.width||100===this.width||!this.options.timeOut)return;const ee=(new Date).getTime();this.width=(this.hideTime-ee)/this.options.timeOut*100,"increasing"===this.options.progressAnimation&&(this.width=100-this.width),this.width<=0&&(this.width=0),this.width>=100&&(this.width=100)}resetTimeout(){clearTimeout(this.timeout),clearInterval(this.intervalId),this.state="active",this.options.timeOut=this.originalTimeout,this.timeout=setTimeout(()=>this.remove(),this.originalTimeout),this.hideTime=(new Date).getTime()+(this.originalTimeout||0),this.width=-1,this.options.progressBar&&(this.intervalId=setInterval(()=>this.updateProgress(),10))}remove(){"removed"!==this.state&&(clearTimeout(this.timeout),this.state="removed",this.timeout=setTimeout(()=>this.toastrService.remove(this.toastPackage.toastId)))}tapToast(){"removed"!==this.state&&(this.toastPackage.triggerTap(),this.options.tapToDismiss&&this.remove())}stickAround(){"removed"!==this.state&&(clearTimeout(this.timeout),this.options.timeOut=0,this.hideTime=0,clearInterval(this.intervalId),this.width=0)}delayedHideToast(){!0===this.options.disableTimeOut||"extendedTimeOut"===this.options.disableTimeOut||0===this.options.extendedTimeOut||"removed"===this.state||(this.timeout=setTimeout(()=>this.remove(),this.options.extendedTimeOut),this.options.timeOut=this.options.extendedTimeOut,this.hideTime=(new Date).getTime()+(this.options.timeOut||0),this.width=-1,this.options.progressBar&&(this.intervalId=setInterval(()=>this.updateProgress(),10)))}}return pe.\u0275fac=function(ee){return new(ee||pe)(E.Y36(Be),E.Y36(ye),E.Y36(E.z2F))},pe.\u0275cmp=E.Xpm({type:pe,selectors:[["","toast-component",""]],hostVars:4,hostBindings:function(ee,le){1&ee&&E.NdJ("click",function(){return le.tapToast()})("mouseenter",function(){return le.stickAround()})("mouseleave",function(){return le.delayedHideToast()}),2&ee&&(E.Tol(le.toastClasses),E.Udp("display",le.displayStyle))},attrs:V,decls:5,vars:5,consts:[["class","toast-close-button","aria-label","Close",3,"click",4,"ngIf"],[3,"class",4,"ngIf"],["role","alert","aria-live","polite",3,"class","innerHTML",4,"ngIf"],["role","alert","aria-live","polite",3,"class",4,"ngIf"],[4,"ngIf"],["aria-label","Close",1,"toast-close-button",3,"click"],["aria-hidden","true"],["role","alert","aria-live","polite",3,"innerHTML"],["role","alert","aria-live","polite"],[1,"toast-progress"]],template:function(ee,le){1&ee&&(E.YNc(0,ve,3,0,"button",0),E.YNc(1,te,3,5,"div",1),E.YNc(2,he,1,3,"div",2),E.YNc(3,Ae,2,4,"div",3),E.YNc(4,Oe,2,2,"div",4)),2&ee&&(E.Q6J("ngIf",le.options.closeButton),E.xp6(1),E.Q6J("ngIf",le.title),E.xp6(1),E.Q6J("ngIf",le.message&&le.options.enableHtml),E.xp6(1),E.Q6J("ngIf",le.message&&!le.options.enableHtml),E.xp6(1),E.Q6J("ngIf",le.options.progressBar))},directives:[J.O5],encapsulation:2}),pe})();Object.assign(Object.assign({},be),{toastComponent:ir})},4099:(He,de,I)=>{I.d(de,{X:()=>oe});var E=I(3405),g=I(2108);class oe extends E.xQ{constructor(J){super(),this._value=J}get value(){return this.getValue()}_subscribe(J){const V=super._subscribe(J);return V&&!V.closed&&J.next(this._value),V}getValue(){if(this.hasError)throw this.thrownError;if(this.closed)throw new g.N;return this._value}next(J){super.next(this._value=J)}}},5548:(He,de,I)=>{I.d(de,{y:()=>B});var E=I(4168),oe=I(2926),fe=I(6617),V=I(1359),re=I(7255);var K=I(5426);let B=(()=>{class ve{constructor(te){this._isScalar=!1,te&&(this._subscribe=te)}lift(te){const he=new ve;return he.source=this,he.operator=te,he}subscribe(te,he,Ae){const{operator:Oe}=this,Ue=function(ve,Ie,te){if(ve){if(ve instanceof E.L)return ve;if(ve[oe.b])return ve[oe.b]()}return ve||Ie||te?new E.L(ve,Ie,te):new E.L(fe.c)}(te,he,Ae);if(Ue.add(Oe?Oe.call(Ue,this.source):this.source||K.v.useDeprecatedSynchronousErrorHandling&&!Ue.syncErrorThrowable?this._subscribe(Ue):this._trySubscribe(Ue)),K.v.useDeprecatedSynchronousErrorHandling&&Ue.syncErrorThrowable&&(Ue.syncErrorThrowable=!1,Ue.syncErrorThrown))throw Ue.syncErrorValue;return Ue}_trySubscribe(te){try{return this._subscribe(te)}catch(he){K.v.useDeprecatedSynchronousErrorHandling&&(te.syncErrorThrown=!0,te.syncErrorValue=he),function(ve){for(;ve;){const{closed:Ie,destination:te,isStopped:he}=ve;if(Ie||he)return!1;ve=te&&te instanceof E.L?te:null}return!0}(te)?te.error(he):console.warn(he)}}forEach(te,he){return new(he=ue(he))((Ae,Oe)=>{let Ue;Ue=this.subscribe(ot=>{try{te(ot)}catch(ye){Oe(ye),Ue&&Ue.unsubscribe()}},Oe,Ae)})}_subscribe(te){const{source:he}=this;return he&&he.subscribe(te)}[V.L](){return this}pipe(...te){return 0===te.length?this:function(ve){return 0===ve.length?re.y:1===ve.length?ve[0]:function(te){return ve.reduce((he,Ae)=>Ae(he),te)}}(te)(this)}toPromise(te){return new(te=ue(te))((he,Ae)=>{let Oe;this.subscribe(Ue=>Oe=Ue,Ue=>Ae(Ue),()=>he(Oe))})}}return ve.create=Ie=>new ve(Ie),ve})();function ue(ve){if(ve||(ve=K.v.Promise||Promise),!ve)throw new Error("no Promise impl found");return ve}},6617:(He,de,I)=>{I.d(de,{c:()=>oe});var E=I(5426),g=I(9887);const oe={closed:!0,next(fe){},error(fe){if(E.v.useDeprecatedSynchronousErrorHandling)throw fe;(0,g.z)(fe)},complete(){}}},3405:(He,de,I)=>{I.d(de,{Yc:()=>re,xQ:()=>ne});var E=I(5548),g=I(4168),oe=I(1346),fe=I(2108),J=I(5973),V=I(2926);class re extends g.L{constructor(B){super(B),this.destination=B}}let ne=(()=>{class K extends E.y{constructor(){super(),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}[V.b](){return new re(this)}lift(ue){const ve=new G(this,this);return ve.operator=ue,ve}next(ue){if(this.closed)throw new fe.N;if(!this.isStopped){const{observers:ve}=this,Ie=ve.length,te=ve.slice();for(let he=0;he<Ie;he++)te[he].next(ue)}}error(ue){if(this.closed)throw new fe.N;this.hasError=!0,this.thrownError=ue,this.isStopped=!0;const{observers:ve}=this,Ie=ve.length,te=ve.slice();for(let he=0;he<Ie;he++)te[he].error(ue);this.observers.length=0}complete(){if(this.closed)throw new fe.N;this.isStopped=!0;const{observers:ue}=this,ve=ue.length,Ie=ue.slice();for(let te=0;te<ve;te++)Ie[te].complete();this.observers.length=0}unsubscribe(){this.isStopped=!0,this.closed=!0,this.observers=null}_trySubscribe(ue){if(this.closed)throw new fe.N;return super._trySubscribe(ue)}_subscribe(ue){if(this.closed)throw new fe.N;return this.hasError?(ue.error(this.thrownError),oe.w.EMPTY):this.isStopped?(ue.complete(),oe.w.EMPTY):(this.observers.push(ue),new J.W(this,ue))}asObservable(){const ue=new E.y;return ue.source=this,ue}}return K.create=(B,ue)=>new G(B,ue),K})();class G extends ne{constructor(B,ue){super(),this.destination=B,this.source=ue}next(B){const{destination:ue}=this;ue&&ue.next&&ue.next(B)}error(B){const{destination:ue}=this;ue&&ue.error&&this.destination.error(B)}complete(){const{destination:B}=this;B&&B.complete&&this.destination.complete()}_subscribe(B){const{source:ue}=this;return ue?this.source.subscribe(B):oe.w.EMPTY}}},5973:(He,de,I)=>{I.d(de,{W:()=>g});var E=I(1346);class g extends E.w{constructor(fe,J){super(),this.subject=fe,this.subscriber=J,this.closed=!1}unsubscribe(){if(this.closed)return;this.closed=!0;const fe=this.subject,J=fe.observers;if(this.subject=null,!J||0===J.length||fe.isStopped||fe.closed)return;const V=J.indexOf(this.subscriber);-1!==V&&J.splice(V,1)}}},4168:(He,de,I)=>{I.d(de,{L:()=>re});var E=I(6783),g=I(6617),oe=I(1346),fe=I(2926),J=I(5426),V=I(9887);class re extends oe.w{constructor(K,B,ue){switch(super(),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=g.c;break;case 1:if(!K){this.destination=g.c;break}if("object"==typeof K){K instanceof re?(this.syncErrorThrowable=K.syncErrorThrowable,this.destination=K,K.add(this)):(this.syncErrorThrowable=!0,this.destination=new ne(this,K));break}default:this.syncErrorThrowable=!0,this.destination=new ne(this,K,B,ue)}}[fe.b](){return this}static create(K,B,ue){const ve=new re(K,B,ue);return ve.syncErrorThrowable=!1,ve}next(K){this.isStopped||this._next(K)}error(K){this.isStopped||(this.isStopped=!0,this._error(K))}complete(){this.isStopped||(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe())}_next(K){this.destination.next(K)}_error(K){this.destination.error(K),this.unsubscribe()}_complete(){this.destination.complete(),this.unsubscribe()}_unsubscribeAndRecycle(){const{_parentOrParents:K}=this;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=K,this}}class ne extends re{constructor(K,B,ue,ve){super(),this._parentSubscriber=K;let Ie,te=this;(0,E.m)(B)?Ie=B:B&&(Ie=B.next,ue=B.error,ve=B.complete,B!==g.c&&(te=Object.create(B),(0,E.m)(te.unsubscribe)&&this.add(te.unsubscribe.bind(te)),te.unsubscribe=this.unsubscribe.bind(this))),this._context=te,this._next=Ie,this._error=ue,this._complete=ve}next(K){if(!this.isStopped&&this._next){const{_parentSubscriber:B}=this;J.v.useDeprecatedSynchronousErrorHandling&&B.syncErrorThrowable?this.__tryOrSetError(B,this._next,K)&&this.unsubscribe():this.__tryOrUnsub(this._next,K)}}error(K){if(!this.isStopped){const{_parentSubscriber:B}=this,{useDeprecatedSynchronousErrorHandling:ue}=J.v;if(this._error)ue&&B.syncErrorThrowable?(this.__tryOrSetError(B,this._error,K),this.unsubscribe()):(this.__tryOrUnsub(this._error,K),this.unsubscribe());else if(B.syncErrorThrowable)ue?(B.syncErrorValue=K,B.syncErrorThrown=!0):(0,V.z)(K),this.unsubscribe();else{if(this.unsubscribe(),ue)throw K;(0,V.z)(K)}}}complete(){if(!this.isStopped){const{_parentSubscriber:K}=this;if(this._complete){const B=()=>this._complete.call(this._context);J.v.useDeprecatedSynchronousErrorHandling&&K.syncErrorThrowable?(this.__tryOrSetError(K,B),this.unsubscribe()):(this.__tryOrUnsub(B),this.unsubscribe())}else this.unsubscribe()}}__tryOrUnsub(K,B){try{K.call(this._context,B)}catch(ue){if(this.unsubscribe(),J.v.useDeprecatedSynchronousErrorHandling)throw ue;(0,V.z)(ue)}}__tryOrSetError(K,B,ue){if(!J.v.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{B.call(this._context,ue)}catch(ve){return J.v.useDeprecatedSynchronousErrorHandling?(K.syncErrorValue=ve,K.syncErrorThrown=!0,!0):((0,V.z)(ve),!0)}return!1}_unsubscribe(){const{_parentSubscriber:K}=this;this._context=null,this._parentSubscriber=null,K.unsubscribe()}}},1346:(He,de,I)=>{I.d(de,{w:()=>V});var E=I(5894),g=I(7879),oe=I(6783);const J=(()=>{function ne(G){return Error.call(this),this.message=G?`${G.length} errors occurred during unsubscription:\n${G.map((K,B)=>`${B+1}) ${K.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=G,this}return ne.prototype=Object.create(Error.prototype),ne})();class V{constructor(G){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,G&&(this._ctorUnsubscribe=!0,this._unsubscribe=G)}unsubscribe(){let G;if(this.closed)return;let{_parentOrParents:K,_ctorUnsubscribe:B,_unsubscribe:ue,_subscriptions:ve}=this;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,K instanceof V)K.remove(this);else if(null!==K)for(let Ie=0;Ie<K.length;++Ie)K[Ie].remove(this);if((0,oe.m)(ue)){B&&(this._unsubscribe=void 0);try{ue.call(this)}catch(Ie){G=Ie instanceof J?re(Ie.errors):[Ie]}}if((0,E.k)(ve)){let Ie=-1,te=ve.length;for(;++Ie<te;){const he=ve[Ie];if((0,g.K)(he))try{he.unsubscribe()}catch(Ae){G=G||[],Ae instanceof J?G=G.concat(re(Ae.errors)):G.push(Ae)}}}if(G)throw new J(G)}add(G){let K=G;if(!G)return V.EMPTY;switch(typeof G){case"function":K=new V(G);case"object":if(K===this||K.closed||"function"!=typeof K.unsubscribe)return K;if(this.closed)return K.unsubscribe(),K;if(!(K instanceof V)){const ve=K;K=new V,K._subscriptions=[ve]}break;default:throw new Error("unrecognized teardown "+G+" added to Subscription.")}let{_parentOrParents:B}=K;if(null===B)K._parentOrParents=this;else if(B instanceof V){if(B===this)return K;K._parentOrParents=[B,this]}else{if(-1!==B.indexOf(this))return K;B.push(this)}const ue=this._subscriptions;return null===ue?this._subscriptions=[K]:ue.push(K),K}remove(G){const K=this._subscriptions;if(K){const B=K.indexOf(G);-1!==B&&K.splice(B,1)}}}var ne;function re(ne){return ne.reduce((G,K)=>G.concat(K instanceof J?K.errors:K),[])}V.EMPTY=((ne=new V).closed=!0,ne)},5426:(He,de,I)=>{I.d(de,{v:()=>g});let E=!1;const g={Promise:void 0,set useDeprecatedSynchronousErrorHandling(oe){if(oe){const fe=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+fe.stack)}else E&&console.log("RxJS: Back to a better error behavior. Thank you. <3");E=oe},get useDeprecatedSynchronousErrorHandling(){return E}}},8345:(He,de,I)=>{I.d(de,{IY:()=>fe,Ds:()=>V,ft:()=>ne});var E=I(4168),g=I(5548),oe=I(4651);class fe extends E.L{constructor(K){super(),this.parent=K}_next(K){this.parent.notifyNext(K)}_error(K){this.parent.notifyError(K),this.unsubscribe()}_complete(){this.parent.notifyComplete(),this.unsubscribe()}}class V extends E.L{notifyNext(K){this.destination.next(K)}notifyError(K){this.destination.error(K)}notifyComplete(){this.destination.complete()}}function ne(G,K){if(!K.closed)return G instanceof g.y?G.subscribe(K):(0,oe.s)(G)(K)}},5783:(He,de,I)=>{I.d(de,{c:()=>J,N:()=>V});var E=I(3405),g=I(5548),oe=I(1346),fe=I(5234);class J extends g.y{constructor(B,ue){super(),this.source=B,this.subjectFactory=ue,this._refCount=0,this._isComplete=!1}_subscribe(B){return this.getSubject().subscribe(B)}getSubject(){const B=this._subject;return(!B||B.isStopped)&&(this._subject=this.subjectFactory()),this._subject}connect(){let B=this._connection;return B||(this._isComplete=!1,B=this._connection=new oe.w,B.add(this.source.subscribe(new re(this.getSubject(),this))),B.closed&&(this._connection=null,B=oe.w.EMPTY)),B}refCount(){return(0,fe.x)()(this)}}const V=(()=>{const K=J.prototype;return{operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:K._subscribe},_isComplete:{value:K._isComplete,writable:!0},getSubject:{value:K.getSubject},connect:{value:K.connect},refCount:{value:K.refCount}}})();class re extends E.Yc{constructor(B,ue){super(B),this.connectable=ue}_error(B){this._unsubscribe(),super._error(B)}_complete(){this.connectable._isComplete=!0,this._unsubscribe(),super._complete()}_unsubscribe(){const B=this.connectable;if(B){this.connectable=null;const ue=B._connection;B._refCount=0,B._subject=null,B._connection=null,ue&&ue.unsubscribe()}}}},2372:(He,de,I)=>{I.d(de,{aj:()=>B});var E=I(8151),g=I(5894),oe=I(4168);class fe extends oe.L{notifyNext(te,he,Ae,Oe,Ue){this.destination.next(he)}notifyError(te,he){this.destination.error(te)}notifyComplete(te){this.destination.complete()}}class J extends oe.L{constructor(te,he,Ae){super(),this.parent=te,this.outerValue=he,this.outerIndex=Ae,this.index=0}_next(te){this.parent.notifyNext(this.outerValue,te,this.outerIndex,this.index++,this)}_error(te){this.parent.notifyError(te,this),this.unsubscribe()}_complete(){this.parent.notifyComplete(this),this.unsubscribe()}}var V=I(4651),re=I(5548);function ne(Ie,te,he,Ae,Oe=new J(Ie,he,Ae)){if(!Oe.closed)return te instanceof re.y?te.subscribe(Oe):(0,V.s)(te)(Oe)}var G=I(5433);const K={};function B(...Ie){let te,he;return(0,E.K)(Ie[Ie.length-1])&&(he=Ie.pop()),"function"==typeof Ie[Ie.length-1]&&(te=Ie.pop()),1===Ie.length&&(0,g.k)(Ie[0])&&(Ie=Ie[0]),(0,G.n)(Ie,he).lift(new ue(te))}class ue{constructor(te){this.resultSelector=te}call(te,he){return he.subscribe(new ve(te,this.resultSelector))}}class ve extends fe{constructor(te,he){super(te),this.resultSelector=he,this.active=0,this.values=[],this.observables=[]}_next(te){this.values.push(K),this.observables.push(te)}_complete(){const te=this.observables,he=te.length;if(0===he)this.destination.complete();else{this.active=he,this.toRespond=he;for(let Ae=0;Ae<he;Ae++)this.add(ne(this,te[Ae],void 0,Ae))}}notifyComplete(te){0==(this.active-=1)&&this.destination.complete()}notifyNext(te,he,Ae){const Oe=this.values,ot=this.toRespond?Oe[Ae]===K?--this.toRespond:this.toRespond:0;Oe[Ae]=he,0===ot&&(this.resultSelector?this._tryResultSelector(Oe):this.destination.next(Oe.slice()))}_tryResultSelector(te){let he;try{he=this.resultSelector.apply(this,te)}catch(Ae){return void this.destination.error(Ae)}this.destination.next(he)}}},3596:(He,de,I)=>{I.d(de,{z:()=>fe});var E=I(2411),g=I(2225);function fe(...J){return(0,g.J)(1)((0,E.of)(...J))}},5476:(He,de,I)=>{I.d(de,{P:()=>fe});var E=I(5548),g=I(1915),oe=I(172);function fe(J){return new E.y(V=>{let re;try{re=J()}catch(G){return void V.error(G)}return(re?(0,g.D)(re):(0,oe.c)()).subscribe(V)})}},172:(He,de,I)=>{I.d(de,{E:()=>g,c:()=>oe});var E=I(5548);const g=new E.y(J=>J.complete());function oe(J){return J?function(J){return new E.y(V=>J.schedule(()=>V.complete()))}(J):g}},1915:(He,de,I)=>{I.d(de,{D:()=>te});var E=I(5548),g=I(4651),oe=I(1346),fe=I(1359),re=I(3428),ne=I(4352),B=I(847),ue=I(1265);function te(he,Ae){return Ae?function(he,Ae){if(null!=he){if(function(he){return he&&"function"==typeof he[fe.L]}(he))return function(he,Ae){return new E.y(Oe=>{const Ue=new oe.w;return Ue.add(Ae.schedule(()=>{const ot=he[fe.L]();Ue.add(ot.subscribe({next(ye){Ue.add(Ae.schedule(()=>Oe.next(ye)))},error(ye){Ue.add(Ae.schedule(()=>Oe.error(ye)))},complete(){Ue.add(Ae.schedule(()=>Oe.complete()))}}))})),Ue})}(he,Ae);if((0,B.t)(he))return function(he,Ae){return new E.y(Oe=>{const Ue=new oe.w;return Ue.add(Ae.schedule(()=>he.then(ot=>{Ue.add(Ae.schedule(()=>{Oe.next(ot),Ue.add(Ae.schedule(()=>Oe.complete()))}))},ot=>{Ue.add(Ae.schedule(()=>Oe.error(ot)))}))),Ue})}(he,Ae);if((0,ue.z)(he))return(0,re.r)(he,Ae);if(function(he){return he&&"function"==typeof he[ne.hZ]}(he)||"string"==typeof he)return function(he,Ae){if(!he)throw new Error("Iterable cannot be null");return new E.y(Oe=>{const Ue=new oe.w;let ot;return Ue.add(()=>{ot&&"function"==typeof ot.return&&ot.return()}),Ue.add(Ae.schedule(()=>{ot=he[ne.hZ](),Ue.add(Ae.schedule(function(){if(Oe.closed)return;let ye,be;try{const Ze=ot.next();ye=Ze.value,be=Ze.done}catch(Ze){return void Oe.error(Ze)}be?Oe.complete():(Oe.next(ye),this.schedule())}))})),Ue})}(he,Ae)}throw new TypeError((null!==he&&typeof he||he)+" is not observable")}(he,Ae):he instanceof E.y?he:new E.y((0,g.s)(he))}},5433:(He,de,I)=>{I.d(de,{n:()=>fe});var E=I(5548),g=I(8769),oe=I(3428);function fe(J,V){return V?(0,oe.r)(J,V):new E.y((0,g.V)(J))}},9506:(He,de,I)=>{I.d(de,{R:()=>V});var E=I(5548),g=I(5894),oe=I(6783),fe=I(8053);function V(B,ue,ve,Ie){return(0,oe.m)(ve)&&(Ie=ve,ve=void 0),Ie?V(B,ue,ve).pipe((0,fe.U)(te=>(0,g.k)(te)?Ie(...te):Ie(te))):new E.y(te=>{re(B,ue,function(Ae){te.next(arguments.length>1?Array.prototype.slice.call(arguments):Ae)},te,ve)})}function re(B,ue,ve,Ie,te){let he;if(function(B){return B&&"function"==typeof B.addEventListener&&"function"==typeof B.removeEventListener}(B)){const Ae=B;B.addEventListener(ue,ve,te),he=()=>Ae.removeEventListener(ue,ve,te)}else if(function(B){return B&&"function"==typeof B.on&&"function"==typeof B.off}(B)){const Ae=B;B.on(ue,ve),he=()=>Ae.off(ue,ve)}else if(function(B){return B&&"function"==typeof B.addListener&&"function"==typeof B.removeListener}(B)){const Ae=B;B.addListener(ue,ve),he=()=>Ae.removeListener(ue,ve)}else{if(!B||!B.length)throw new TypeError("Invalid event target");for(let Ae=0,Oe=B.length;Ae<Oe;Ae++)re(B[Ae],ue,ve,Ie,te)}Ie.add(he)}},8526:(He,de,I)=>{I.d(de,{T:()=>J});var E=I(5548),g=I(8151),oe=I(2225),fe=I(5433);function J(...V){let re=Number.POSITIVE_INFINITY,ne=null,G=V[V.length-1];return(0,g.K)(G)?(ne=V.pop(),V.length>1&&"number"==typeof V[V.length-1]&&(re=V.pop())):"number"==typeof G&&(re=V.pop()),null===ne&&1===V.length&&V[0]instanceof E.y?V[0]:(0,oe.J)(re)((0,fe.n)(V,ne))}},2411:(He,de,I)=>{I.d(de,{of:()=>fe});var E=I(8151),g=I(5433),oe=I(3428);function fe(...J){let V=J[J.length-1];return(0,E.K)(V)?(J.pop(),(0,oe.r)(J,V)):(0,g.n)(J)}},540:(He,de,I)=>{I.d(de,{_:()=>g});var E=I(5548);function g(fe,J){return new E.y(J?V=>J.schedule(oe,0,{error:fe,subscriber:V}):V=>V.error(fe))}function oe({error:fe,subscriber:J}){J.error(fe)}},265:(He,de,I)=>{I.d(de,{H:()=>V});var E=I(5548),g=I(8178),oe=I(5894);function fe(ne){return!(0,oe.k)(ne)&&ne-parseFloat(ne)+1>=0}var J=I(8151);function V(ne=0,G,K){let B=-1;return fe(G)?B=Number(G)<1?1:Number(G):(0,J.K)(G)&&(K=G),(0,J.K)(K)||(K=g.P),new E.y(ue=>{const ve=fe(ne)?ne:+ne-K.now();return K.schedule(re,ve,{index:0,period:B,subscriber:ue})})}function re(ne){const{index:G,period:K,subscriber:B}=ne;if(B.next(G),!B.closed){if(-1===K)return B.complete();ne.index=G+1,this.schedule(ne,K)}}},6700:(He,de,I)=>{I.d(de,{b:()=>g});var E=I(4421);function g(oe,fe){return(0,E.zg)(oe,fe,1)}},5389:(He,de,I)=>{I.d(de,{x:()=>g});var E=I(4168);function g(J,V){return re=>re.lift(new oe(J,V))}class oe{constructor(V,re){this.compare=V,this.keySelector=re}call(V,re){return re.subscribe(new fe(V,this.compare,this.keySelector))}}class fe extends E.L{constructor(V,re,ne){super(V),this.keySelector=ne,this.hasKey=!1,"function"==typeof re&&(this.compare=re)}compare(V,re){return V===re}_next(V){let re;try{const{keySelector:G}=this;re=G?G(V):V}catch(G){return this.destination.error(G)}let ne=!1;if(this.hasKey)try{const{compare:G}=this;ne=G(this.key,re)}catch(G){return this.destination.error(G)}else this.hasKey=!0;ne||(this.key=re,this.destination.next(V))}}},8735:(He,de,I)=>{I.d(de,{h:()=>g});var E=I(4168);function g(J,V){return function(ne){return ne.lift(new oe(J,V))}}class oe{constructor(V,re){this.predicate=V,this.thisArg=re}call(V,re){return re.subscribe(new fe(V,this.predicate,this.thisArg))}}class fe extends E.L{constructor(V,re,ne){super(V),this.predicate=re,this.thisArg=ne,this.count=0}_next(V){let re;try{re=this.predicate.call(this.thisArg,V,this.count++)}catch(ne){return void this.destination.error(ne)}re&&this.destination.next(V)}}},6658:(He,de,I)=>{I.d(de,{x:()=>oe});var E=I(4168),g=I(1346);function oe(V){return re=>re.lift(new fe(V))}class fe{constructor(re){this.callback=re}call(re,ne){return ne.subscribe(new J(re,this.callback))}}class J extends E.L{constructor(re,ne){super(re),this.add(new g.w(ne))}}},8053:(He,de,I)=>{I.d(de,{U:()=>g});var E=I(4168);function g(J,V){return function(ne){if("function"!=typeof J)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return ne.lift(new oe(J,V))}}class oe{constructor(V,re){this.project=V,this.thisArg=re}call(V,re){return re.subscribe(new fe(V,this.project,this.thisArg))}}class fe extends E.L{constructor(V,re,ne){super(V),this.project=re,this.count=0,this.thisArg=ne||this}_next(V){let re;try{re=this.project.call(this.thisArg,V,this.count++)}catch(ne){return void this.destination.error(ne)}this.destination.next(re)}}},2225:(He,de,I)=>{I.d(de,{J:()=>oe});var E=I(4421),g=I(7255);function oe(fe=Number.POSITIVE_INFINITY){return(0,E.zg)(g.y,fe)}},4421:(He,de,I)=>{I.d(de,{zg:()=>fe});var E=I(8053),g=I(1915),oe=I(8345);function fe(ne,G,K=Number.POSITIVE_INFINITY){return"function"==typeof G?B=>B.pipe(fe((ue,ve)=>(0,g.D)(ne(ue,ve)).pipe((0,E.U)((Ie,te)=>G(ue,Ie,ve,te))),K)):("number"==typeof G&&(K=G),B=>B.lift(new J(ne,K)))}class J{constructor(G,K=Number.POSITIVE_INFINITY){this.project=G,this.concurrent=K}call(G,K){return K.subscribe(new V(G,this.project,this.concurrent))}}class V extends oe.Ds{constructor(G,K,B=Number.POSITIVE_INFINITY){super(G),this.project=K,this.concurrent=B,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}_next(G){this.active<this.concurrent?this._tryNext(G):this.buffer.push(G)}_tryNext(G){let K;const B=this.index++;try{K=this.project(G,B)}catch(ue){return void this.destination.error(ue)}this.active++,this._innerSub(K)}_innerSub(G){const K=new oe.IY(this),B=this.destination;B.add(K);const ue=(0,oe.ft)(G,K);ue!==K&&B.add(ue)}_complete(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&this.destination.complete(),this.unsubscribe()}notifyNext(G){this.destination.next(G)}notifyComplete(){const G=this.buffer;this.active--,G.length>0?this._next(G.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}},6087:(He,de,I)=>{I.d(de,{O:()=>g});var E=I(5783);function g(fe,J){return function(re){let ne;if(ne="function"==typeof fe?fe:function(){return fe},"function"==typeof J)return re.lift(new oe(ne,J));const G=Object.create(re,E.N);return G.source=re,G.subjectFactory=ne,G}}class oe{constructor(J,V){this.subjectFactory=J,this.selector=V}call(J,V){const{selector:re}=this,ne=this.subjectFactory(),G=re(ne).subscribe(J);return G.add(V.subscribe(ne)),G}}},5234:(He,de,I)=>{I.d(de,{x:()=>g});var E=I(4168);function g(){return function(V){return V.lift(new oe(V))}}class oe{constructor(V){this.connectable=V}call(V,re){const{connectable:ne}=this;ne._refCount++;const G=new fe(V,ne),K=re.subscribe(G);return G.closed||(G.connection=ne.connect()),K}}class fe extends E.L{constructor(V,re){super(V),this.connectable=re}_unsubscribe(){const{connectable:V}=this;if(!V)return void(this.connection=null);this.connectable=null;const re=V._refCount;if(re<=0)return void(this.connection=null);if(V._refCount=re-1,re>1)return void(this.connection=null);const{connection:ne}=this,G=V._connection;this.connection=null,G&&(!ne||G===ne)&&G.unsubscribe()}}},1125:(He,de,I)=>{I.d(de,{O:()=>oe});var E=I(3596),g=I(8151);function oe(...fe){const J=fe[fe.length-1];return(0,g.K)(J)?(fe.pop(),V=>(0,E.z)(fe,V,J)):V=>(0,E.z)(fe,V)}},9204:(He,de,I)=>{I.d(de,{w:()=>fe});var E=I(8053),g=I(1915),oe=I(8345);function fe(re,ne){return"function"==typeof ne?G=>G.pipe(fe((K,B)=>(0,g.D)(re(K,B)).pipe((0,E.U)((ue,ve)=>ne(K,ue,B,ve))))):G=>G.lift(new J(re))}class J{constructor(ne){this.project=ne}call(ne,G){return G.subscribe(new V(ne,this.project))}}class V extends oe.Ds{constructor(ne,G){super(ne),this.project=G,this.index=0}_next(ne){let G;const K=this.index++;try{G=this.project(ne,K)}catch(B){return void this.destination.error(B)}this._innerSub(G)}_innerSub(ne){const G=this.innerSubscription;G&&G.unsubscribe();const K=new oe.IY(this),B=this.destination;B.add(K),this.innerSubscription=(0,oe.ft)(ne,K),this.innerSubscription!==K&&B.add(this.innerSubscription)}_complete(){const{innerSubscription:ne}=this;(!ne||ne.closed)&&super._complete(),this.unsubscribe()}_unsubscribe(){this.innerSubscription=void 0}notifyComplete(){this.innerSubscription=void 0,this.isStopped&&super._complete()}notifyNext(ne){this.destination.next(ne)}}},6636:(He,de,I)=>{I.d(de,{q:()=>fe});var E=I(4168),g=I(523),oe=I(172);function fe(re){return ne=>0===re?(0,oe.c)():ne.lift(new J(re))}class J{constructor(ne){if(this.total=ne,this.total<0)throw new g.W}call(ne,G){return G.subscribe(new V(ne,this.total))}}class V extends E.L{constructor(ne,G){super(ne),this.total=G,this.count=0}_next(ne){const G=this.total,K=++this.count;K<=G&&(this.destination.next(ne),K===G&&(this.destination.complete(),this.unsubscribe()))}}},1366:(He,de,I)=>{I.d(de,{b:()=>fe});var E=I(4168),g=I(3989),oe=I(6783);function fe(re,ne,G){return function(B){return B.lift(new J(re,ne,G))}}class J{constructor(ne,G,K){this.nextOrObserver=ne,this.error=G,this.complete=K}call(ne,G){return G.subscribe(new V(ne,this.nextOrObserver,this.error,this.complete))}}class V extends E.L{constructor(ne,G,K,B){super(ne),this._tapNext=g.Z,this._tapError=g.Z,this._tapComplete=g.Z,this._tapError=K||g.Z,this._tapComplete=B||g.Z,(0,oe.m)(G)?(this._context=this,this._tapNext=G):G&&(this._context=G,this._tapNext=G.next||g.Z,this._tapError=G.error||g.Z,this._tapComplete=G.complete||g.Z)}_next(ne){try{this._tapNext.call(this._context,ne)}catch(G){return void this.destination.error(G)}this.destination.next(ne)}_error(ne){try{this._tapError.call(this._context,ne)}catch(G){return void this.destination.error(G)}this.destination.error(ne)}_complete(){try{this._tapComplete.call(this._context)}catch(ne){return void this.destination.error(ne)}return this.destination.complete()}}},3428:(He,de,I)=>{I.d(de,{r:()=>oe});var E=I(5548),g=I(1346);function oe(fe,J){return new E.y(V=>{const re=new g.w;let ne=0;return re.add(J.schedule(function(){ne!==fe.length?(V.next(fe[ne++]),V.closed||re.add(this.schedule())):V.complete()})),re})}},6339:(He,de,I)=>{I.d(de,{o:()=>oe});var E=I(1346);class g extends E.w{constructor(J,V){super()}schedule(J,V=0){return this}}class oe extends g{constructor(J,V){super(J,V),this.scheduler=J,this.work=V,this.pending=!1}schedule(J,V=0){if(this.closed)return this;this.state=J;const re=this.id,ne=this.scheduler;return null!=re&&(this.id=this.recycleAsyncId(ne,re,V)),this.pending=!0,this.delay=V,this.id=this.id||this.requestAsyncId(ne,this.id,V),this}requestAsyncId(J,V,re=0){return setInterval(J.flush.bind(J,this),re)}recycleAsyncId(J,V,re=0){if(null!==re&&this.delay===re&&!1===this.pending)return V;clearInterval(V)}execute(J,V){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const re=this._execute(J,V);if(re)return re;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(J,V){let ne,re=!1;try{this.work(J)}catch(G){re=!0,ne=!!G&&G||new Error(G)}if(re)return this.unsubscribe(),ne}_unsubscribe(){const J=this.id,V=this.scheduler,re=V.actions,ne=re.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==ne&&re.splice(ne,1),null!=J&&(this.id=this.recycleAsyncId(V,J,null)),this.delay=null}}},5192:(He,de,I)=>{I.d(de,{v:()=>g});let E=(()=>{class oe{constructor(J,V=oe.now){this.SchedulerAction=J,this.now=V}schedule(J,V=0,re){return new this.SchedulerAction(this,J).schedule(re,V)}}return oe.now=()=>Date.now(),oe})();class g extends E{constructor(fe,J=E.now){super(fe,()=>g.delegate&&g.delegate!==this?g.delegate.now():J()),this.actions=[],this.active=!1,this.scheduled=void 0}schedule(fe,J=0,V){return g.delegate&&g.delegate!==this?g.delegate.schedule(fe,J,V):super.schedule(fe,J,V)}flush(fe){const{actions:J}=this;if(this.active)return void J.push(fe);let V;this.active=!0;do{if(V=fe.execute(fe.state,fe.delay))break}while(fe=J.shift());if(this.active=!1,V){for(;fe=J.shift();)fe.unsubscribe();throw V}}}},8178:(He,de,I)=>{I.d(de,{P:()=>fe});var E=I(6339);const fe=new(I(5192).v)(E.o)},4352:(He,de,I)=>{I.d(de,{hZ:()=>g});const g="function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"},1359:(He,de,I)=>{I.d(de,{L:()=>E});const E="function"==typeof Symbol&&Symbol.observable||"@@observable"},2926:(He,de,I)=>{I.d(de,{b:()=>E});const E="function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random()},523:(He,de,I)=>{I.d(de,{W:()=>g});const g=(()=>{function oe(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}return oe.prototype=Object.create(Error.prototype),oe})()},2108:(He,de,I)=>{I.d(de,{N:()=>g});const g=(()=>{function oe(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return oe.prototype=Object.create(Error.prototype),oe})()},9887:(He,de,I)=>{function E(g){setTimeout(()=>{throw g},0)}I.d(de,{z:()=>E})},7255:(He,de,I)=>{function E(g){return g}I.d(de,{y:()=>E})},5894:(He,de,I)=>{I.d(de,{k:()=>E});const E=Array.isArray||(g=>g&&"number"==typeof g.length)},1265:(He,de,I)=>{I.d(de,{z:()=>E});const E=g=>g&&"number"==typeof g.length&&"function"!=typeof g},5747:(He,de,I)=>{function E(g){return g instanceof Date&&!isNaN(+g)}I.d(de,{J:()=>E})},6783:(He,de,I)=>{function E(g){return"function"==typeof g}I.d(de,{m:()=>E})},7879:(He,de,I)=>{function E(g){return null!==g&&"object"==typeof g}I.d(de,{K:()=>E})},847:(He,de,I)=>{function E(g){return!!g&&"function"!=typeof g.subscribe&&"function"==typeof g.then}I.d(de,{t:()=>E})},8151:(He,de,I)=>{function E(g){return g&&"function"==typeof g.schedule}I.d(de,{K:()=>E})},3989:(He,de,I)=>{function E(){}I.d(de,{Z:()=>E})},4651:(He,de,I)=>{I.d(de,{s:()=>B});var E=I(8769),g=I(9887),fe=I(4352),V=I(1359),ne=I(1265),G=I(847),K=I(7879);const B=ue=>{if(ue&&"function"==typeof ue[V.L])return(ue=>ve=>{const Ie=ue[V.L]();if("function"!=typeof Ie.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return Ie.subscribe(ve)})(ue);if((0,ne.z)(ue))return(0,E.V)(ue);if((0,G.t)(ue))return(ue=>ve=>(ue.then(Ie=>{ve.closed||(ve.next(Ie),ve.complete())},Ie=>ve.error(Ie)).then(null,g.z),ve))(ue);if(ue&&"function"==typeof ue[fe.hZ])return(ue=>ve=>{const Ie=ue[fe.hZ]();for(;;){let te;try{te=Ie.next()}catch(he){return ve.error(he),ve}if(te.done){ve.complete();break}if(ve.next(te.value),ve.closed)break}return"function"==typeof Ie.return&&ve.add(()=>{Ie.return&&Ie.return()}),ve})(ue);{const Ie=`You provided ${(0,K.K)(ue)?"an invalid object":`'${ue}'`} where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.`;throw new TypeError(Ie)}}},8769:(He,de,I)=>{I.d(de,{V:()=>E});const E=g=>oe=>{for(let fe=0,J=g.length;fe<J&&!oe.closed;fe++)oe.next(g[fe]);oe.complete()}},4129:(He,de,I)=>{I.d(de,{O:()=>te});var E=I(4522),g=I(4099),oe=I(5548),fe=I(8178);const V=(()=>{function he(){return Error.call(this),this.message="Timeout has occurred",this.name="TimeoutError",this}return he.prototype=Object.create(Error.prototype),he})();var re=I(5747),ne=I(8345);class K{constructor(Ae,Oe,Ue,ot){this.waitFor=Ae,this.absoluteTimeout=Oe,this.withObservable=Ue,this.scheduler=ot}call(Ae,Oe){return Oe.subscribe(new B(Ae,this.absoluteTimeout,this.waitFor,this.withObservable,this.scheduler))}}class B extends ne.Ds{constructor(Ae,Oe,Ue,ot,ye){super(Ae),this.absoluteTimeout=Oe,this.waitFor=Ue,this.withObservable=ot,this.scheduler=ye,this.scheduleTimeout()}static dispatchTimeout(Ae){const{withObservable:Oe}=Ae;Ae._unsubscribeAndRecycle(),Ae.add((0,ne.ft)(Oe,new ne.IY(Ae)))}scheduleTimeout(){const{action:Ae}=this;Ae?this.action=Ae.schedule(this,this.waitFor):this.add(this.action=this.scheduler.schedule(B.dispatchTimeout,this.waitFor,this))}_next(Ae){this.absoluteTimeout||this.scheduleTimeout(),super._next(Ae)}_unsubscribe(){this.action=void 0,this.scheduler=null,this.withObservable=null}}var ue=I(540);var Ie=I(6079);let te=(()=>{class he{constructor(Oe){this.http=Oe,this.headers=new E.WM({"Content-Type":"application/json"}),this.currentRequest=new g.X(0),this.currentRequest.subscribe(Ue=>this.updateSpinner(Ue))}post(Oe,Ue,ot=1e5){return new oe.y(ye=>{var be=JSON.parse(window.localStorage.getItem("user"));let Ze=new E.WM({"Content-Type":"application/json","Cache-Control":"no-cache"});null!=be&&(Ze=new E.WM({"Content-Type":"application/json","Cache-Control":"no-cache",Authorization:"Bearer "+be.access_token}));let Bt={headers:Ze};this.addRequest(),this.http.post(Oe,Ue,Bt).pipe(function(he,Ae=fe.P){return function(he,Ae,Oe=fe.P){return Ue=>{let ot=(0,re.J)(he),ye=ot?+he-Oe.now():Math.abs(he);return Ue.lift(new K(ye,ot,Ae,Oe))}}(he,(0,ue._)(new V),Ae)}(ot)).subscribe(bt=>{this.removeRequest(),ye.next(bt),ye.complete()},bt=>{this.removeRequest(),200==bt.status&&(ye.next(bt.error.text),ye.complete()),401==bt.status&&(ye.next(bt.error.text),ye.complete()),ye.error(bt)})})}postFormData(Oe,Ue){this.addRequest();var ye="Bearer "+JSON.parse(window.localStorage.getItem("user")).access_token;return new Promise((Ze,Bt)=>{var bt=new XMLHttpRequest;bt.onreadystatechange=function(){4==bt.readyState&&(200==bt.status?Ze(JSON.parse(bt.response)):Bt(bt.response))},bt.open("POST",Oe,!0),bt.setRequestHeader("Authorization",ye),bt.send(Ue)}).then(Ze=>this.handleSuccess(Ze)).catch(Ze=>this.handleError(Ze))}handleSuccess(Oe){return this.removeRequest(),void 0===Oe._body?Oe:(Oe._body=Oe._body||{},Oe.json())}handleError(Oe){if(this.removeRequest(),void 0===Oe._body)return Promise.reject(Oe.message||Oe);{let Ue=Oe.json();return Promise.reject(Ue.ExceptionMessage||Ue.Message||Ue)}}updateSpinner(Oe){}addRequest(){this.currentRequest.next(this.currentRequest.value+1)}removeRequest(){this.currentRequest.next(this.currentRequest.value-1)}notify(Oe,Ue){$.notify({message:Oe},{type:Ue,newest_on_top:!0})}}return he.\u0275fac=function(Oe){return new(Oe||he)(Ie.LFG(E.eN))},he.\u0275prov=Ie.Yz7({token:he,factory:he.\u0275fac}),he})()},2804:(He,de,I)=>{I.d(de,{e:()=>g});var E=I(6079);let g=(()=>{class oe{constructor(){}GetNamePOS(){let J=JSON.parse(window.localStorage.getItem("user"));return this.ParseToken(J.access_token)}ParseToken(J){try{const re=J.split(".")[0].replace("-","+").replace("_","/"),ne=JSON.parse(window.atob(re)),K=J.split(".")[1].replace("-","+").replace("_","/"),B=JSON.parse(window.atob(K));return B.header=ne,B}catch(V){return!1}}}return oe.\u0275fac=function(J){return new(J||oe)},oe.\u0275prov=E.Yz7({token:oe,factory:oe.\u0275fac,providedIn:"root"}),oe})()},1358:(He,de,I)=>{var E=I(5427),g=I(6079),oe=I(4522),fe=I(4129),J=I(1086);const V=[{path:"",loadChildren:()=>Promise.all([I.e(10),I.e(972)]).then(I.bind(I,6972)).then(F=>F.LoginModule)},{path:"pages",loadChildren:()=>Promise.all([I.e(10),I.e(684)]).then(I.bind(I,3684)).then(F=>F.PagesModule)},{path:"**",redirectTo:"",pathMatch:"full"}];let re=(()=>{class F{}return F.\u0275fac=function(O){return new(O||F)},F.\u0275mod=g.oAB({type:F}),F.\u0275inj=g.cJS({imports:[[J.Bz.forRoot(V)],J.Bz]}),F})();var ne=I(3405),G=I(6339),B=I(5192);const Ie=new class extends B.v{}(class extends G.o{constructor(x,O){super(x,O),this.scheduler=x,this.work=O}schedule(x,O=0){return O>0?super.schedule(x,O):(this.delay=O,this.state=x,this.scheduler.flush(this),this)}execute(x,O){return O>0||this.closed?super.execute(x,O):this._execute(x,O)}requestAsyncId(x,O,ae=0){return null!==ae&&ae>0||null===ae&&this.delay>0?super.requestAsyncId(x,O,ae):x.flush(this)}});var te=I(1346),he=I(4168),Ae=I(172),Oe=I(2411),Ue=I(540);class ye{constructor(x,O,ae){this.kind=x,this.value=O,this.error=ae,this.hasValue="N"===x}observe(x){switch(this.kind){case"N":return x.next&&x.next(this.value);case"E":return x.error&&x.error(this.error);case"C":return x.complete&&x.complete()}}do(x,O,ae){switch(this.kind){case"N":return x&&x(this.value);case"E":return O&&O(this.error);case"C":return ae&&ae()}}accept(x,O,ae){return x&&"function"==typeof x.next?this.observe(x):this.do(x,O,ae)}toObservable(){switch(this.kind){case"N":return(0,Oe.of)(this.value);case"E":return(0,Ue._)(this.error);case"C":return(0,Ae.c)()}throw new Error("unexpected notification kind value")}static createNext(x){return void 0!==x?new ye("N",x):ye.undefinedValueNotification}static createError(x){return new ye("E",void 0,x)}static createComplete(){return ye.completeNotification}}ye.completeNotification=new ye("C"),ye.undefinedValueNotification=new ye("N",void 0);class Bt extends he.L{constructor(x,O,ae=0){super(x),this.scheduler=O,this.delay=ae}static dispatch(x){const{notification:O,destination:ae}=x;O.observe(ae),this.unsubscribe()}scheduleMessage(x){this.destination.add(this.scheduler.schedule(Bt.dispatch,this.delay,new bt(x,this.destination)))}_next(x){this.scheduleMessage(ye.createNext(x))}_error(x){this.scheduleMessage(ye.createError(x)),this.unsubscribe()}_complete(){this.scheduleMessage(ye.createComplete()),this.unsubscribe()}}class bt{constructor(x,O){this.notification=x,this.destination=O}}var It=I(2108),ct=I(5973);class At extends ne.xQ{constructor(x=Number.POSITIVE_INFINITY,O=Number.POSITIVE_INFINITY,ae){super(),this.scheduler=ae,this._events=[],this._infiniteTimeWindow=!1,this._bufferSize=x<1?1:x,this._windowTime=O<1?1:O,O===Number.POSITIVE_INFINITY?(this._infiniteTimeWindow=!0,this.next=this.nextInfiniteTimeWindow):this.next=this.nextTimeWindow}nextInfiniteTimeWindow(x){if(!this.isStopped){const O=this._events;O.push(x),O.length>this._bufferSize&&O.shift()}super.next(x)}nextTimeWindow(x){this.isStopped||(this._events.push(new Mt(this._getNow(),x)),this._trimBufferThenGetEvents()),super.next(x)}_subscribe(x){const O=this._infiniteTimeWindow,ae=O?this._events:this._trimBufferThenGetEvents(),lt=this.scheduler,Ut=ae.length;let ft;if(this.closed)throw new It.N;if(this.isStopped||this.hasError?ft=te.w.EMPTY:(this.observers.push(x),ft=new ct.W(this,x)),lt&&x.add(x=new Bt(x,lt)),O)for(let fn=0;fn<Ut&&!x.closed;fn++)x.next(ae[fn]);else for(let fn=0;fn<Ut&&!x.closed;fn++)x.next(ae[fn].value);return this.hasError?x.error(this.thrownError):this.isStopped&&x.complete(),ft}_getNow(){return(this.scheduler||Ie).now()}_trimBufferThenGetEvents(){const x=this._getNow(),O=this._bufferSize,ae=this._windowTime,lt=this._events,Ut=lt.length;let ft=0;for(;ft<Ut&&!(x-lt[ft].time<ae);)ft++;return Ut>O&&(ft=Math.max(ft,Ut-O)),ft>0&<.splice(0,ft),lt}}class Mt{constructor(x,O){this.time=x,this.value=O}}function at(F,x){function O(){return!O.pred.apply(O.thisArg,arguments)}return O.pred=F,O.thisArg=x,O}var dt=I(4651),Be=I(8735),hr=I(5548),Cn=I(8526),Zn=I(265),ir=I(6658),ln=I(9204),xt=I(8345);function pe(F){return x=>x.lift(new we(F))}class we{constructor(x){this.durationSelector=x}call(x,O){return O.subscribe(new ee(x,this.durationSelector))}}class ee extends xt.Ds{constructor(x,O){super(x),this.durationSelector=O,this.hasValue=!1}_next(x){try{const O=this.durationSelector.call(this,x);O&&this._tryNext(x,O)}catch(O){this.destination.error(O)}}_complete(){this.emitValue(),this.destination.complete()}_tryNext(x,O){let ae=this.durationSubscription;this.value=x,this.hasValue=!0,ae&&(ae.unsubscribe(),this.remove(ae)),ae=(0,xt.ft)(O,new xt.IY(this)),ae&&!ae.closed&&this.add(this.durationSubscription=ae)}notifyNext(){this.emitValue()}notifyComplete(){this.emitValue()}emitValue(){if(this.hasValue){const x=this.value,O=this.durationSubscription;O&&(this.durationSubscription=void 0,O.unsubscribe(),this.remove(O)),this.value=void 0,this.hasValue=!1,super._next(x)}}}var le=I(5389),ke=I(1366),je=I(6019);function un(F,x){1&F&&g.GkF(0)}function tn(F,x){if(1&F&&g._UZ(0,"sk-cube-grid",4),2&F){const O=g.oxw(2);g.Q6J("backgroundColor",O.backgroundColor)}}function wt(F,x){if(1&F&&g._UZ(0,"sk-chasing-dots",4),2&F){const O=g.oxw(2);g.Q6J("backgroundColor",O.backgroundColor)}}function gn(F,x){if(1&F&&g._UZ(0,"sk-double-bounce",4),2&F){const O=g.oxw(2);g.Q6J("backgroundColor",O.backgroundColor)}}function nn(F,x){if(1&F&&g._UZ(0,"sk-rotating-plane",4),2&F){const O=g.oxw(2);g.Q6J("backgroundColor",O.backgroundColor)}}function zn(F,x){if(1&F&&g._UZ(0,"sk-spinner-pulse",4),2&F){const O=g.oxw(2);g.Q6J("backgroundColor",O.backgroundColor)}}function or(F,x){if(1&F&&g._UZ(0,"sk-three-bounce",4),2&F){const O=g.oxw(2);g.Q6J("backgroundColor",O.backgroundColor)}}function Hn(F,x){if(1&F&&g._UZ(0,"sk-wandering-cubes",4),2&F){const O=g.oxw(2);g.Q6J("backgroundColor",O.backgroundColor)}}function Fn(F,x){if(1&F&&g._UZ(0,"sk-wave",4),2&F){const O=g.oxw(2);g.Q6J("backgroundColor",O.backgroundColor)}}const Qt=function(F){return{"background-color":F}};function Or(F,x){if(1&F&&(g.TgZ(0,"div",1),g.YNc(1,un,1,0,"ng-container",2),g.YNc(2,tn,1,1,"sk-cube-grid",3),g.YNc(3,wt,1,1,"sk-chasing-dots",3),g.YNc(4,gn,1,1,"sk-double-bounce",3),g.YNc(5,nn,1,1,"sk-rotating-plane",3),g.YNc(6,zn,1,1,"sk-spinner-pulse",3),g.YNc(7,or,1,1,"sk-three-bounce",3),g.YNc(8,Hn,1,1,"sk-wandering-cubes",3),g.YNc(9,Fn,1,1,"sk-wave",3),g.qZA()),2&F){const O=g.oxw();g.Udp("opacity",O.opacity),g.ekj("backdrop",O.backdrop),g.Q6J("ngStyle",g.VKq(14,Qt,O.backdrop?O.backdropBackgroundColor:"transparent")),g.xp6(1),g.Q6J("ngComponentOutlet",O.entryComponent),g.xp6(1),g.Q6J("ngIf",O.spinner===O.spinkit.skCubeGrid),g.xp6(1),g.Q6J("ngIf",O.spinner===O.spinkit.skChasingDots),g.xp6(1),g.Q6J("ngIf",O.spinner===O.spinkit.skDoubleBounce),g.xp6(1),g.Q6J("ngIf",O.spinner===O.spinkit.skRotatingPlane),g.xp6(1),g.Q6J("ngIf",O.spinner===O.spinkit.skSpinnerPulse),g.xp6(1),g.Q6J("ngIf",O.spinner===O.spinkit.skThreeBounce),g.xp6(1),g.Q6J("ngIf",O.spinner===O.spinkit.skWanderingCubes),g.xp6(1),g.Q6J("ngIf",O.spinner===O.spinkit.skWave)}}let Ke=(()=>{class F{}return F.\u0275fac=function(O){return new(O||F)},F.\u0275dir=g.lG2({type:F,inputs:{backgroundColor:"backgroundColor"}}),F})(),De=(()=>{class F extends Ke{}return F.\u0275fac=function(){let x;return function(ae){return(x||(x=g.n5z(F)))(ae||F)}}(),F.\u0275cmp=g.Xpm({type:F,selectors:[["sk-chasing-dots"]],features:[g.qOj],decls:3,vars:6,consts:[[1,"sk-chasing-dots"],[1,"sk-child","sk-dot1"],[1,"sk-child","sk-dot2"]],template:function(O,ae){1&O&&(g.TgZ(0,"div",0),g._UZ(1,"div",1),g._UZ(2,"div",2),g.qZA()),2&O&&(g.ekj("colored",!ae.backgroundColor),g.xp6(1),g.Udp("background-color",ae.backgroundColor),g.xp6(1),g.Udp("background-color",ae.backgroundColor))},styles:[".sk-chasing-dots[_ngcontent-%COMP%]{top:50%;margin:auto;width:40px;height:40px;position:relative;text-align:center;animation:sk-chasingDotsRotate 2s linear infinite}.sk-chasing-dots[_ngcontent-%COMP%] .sk-child[_ngcontent-%COMP%]{width:60%;height:60%;display:inline-block;position:absolute;top:0;border-radius:100%;animation:sk-chasingDotsBounce 2s ease-in-out infinite}.sk-chasing-dots[_ngcontent-%COMP%] .sk-dot2[_ngcontent-%COMP%]{top:auto;bottom:0;animation-delay:-1s}@keyframes sk-chasingDotsRotate{to{transform:rotate(1turn)}}@keyframes sk-chasingDotsBounce{0%,to{transform:scale(0)}50%{transform:scale(1)}}"]}),F})(),Y=(()=>{class F extends Ke{}return F.\u0275fac=function(){let x;return function(ae){return(x||(x=g.n5z(F)))(ae||F)}}(),F.\u0275cmp=g.Xpm({type:F,selectors:[["sk-cube-grid"]],features:[g.qOj],decls:10,vars:20,consts:[[1,"sk-cube-grid"],[1,"sk-cube","sk-cube1"],[1,"sk-cube","sk-cube2"],[1,"sk-cube","sk-cube3"],[1,"sk-cube","sk-cube4"],[1,"sk-cube","sk-cube5"],[1,"sk-cube","sk-cube6"],[1,"sk-cube","sk-cube7"],[1,"sk-cube","sk-cube8"],[1,"sk-cube","sk-cube9"]],template:function(O,ae){1&O&&(g.TgZ(0,"div",0),g._UZ(1,"div",1),g._UZ(2,"div",2),g._UZ(3,"div",3),g._UZ(4,"div",4),g._UZ(5,"div",5),g._UZ(6,"div",6),g._UZ(7,"div",7),g._UZ(8,"div",8),g._UZ(9,"div",9),g.qZA()),2&O&&(g.ekj("colored",!ae.backgroundColor),g.xp6(1),g.Udp("background-color",ae.backgroundColor),g.xp6(1),g.Udp("background-color",ae.backgroundColor),g.xp6(1),g.Udp("background-color",ae.backgroundColor),g.xp6(1),g.Udp("background-color",ae.backgroundColor),g.xp6(1),g.Udp("background-color",ae.backgroundColor),g.xp6(1),g.Udp("background-color",ae.backgroundColor),g.xp6(1),g.Udp("background-color",ae.backgroundColor),g.xp6(1),g.Udp("background-color",ae.backgroundColor),g.xp6(1),g.Udp("background-color",ae.backgroundColor))},styles:[".sk-cube-grid[_ngcontent-%COMP%]{position:relative;top:50%;width:40px;height:40px;margin:auto}.sk-cube-grid[_ngcontent-%COMP%] .sk-cube[_ngcontent-%COMP%]{width:33.33%;height:33.33%;float:left;animation:sk-cubeGridScaleDelay 1.3s ease-in-out infinite}.sk-cube-grid[_ngcontent-%COMP%] .sk-cube1[_ngcontent-%COMP%]{animation-delay:.2s}.sk-cube-grid[_ngcontent-%COMP%] .sk-cube2[_ngcontent-%COMP%]{animation-delay:.3s}.sk-cube-grid[_ngcontent-%COMP%] .sk-cube3[_ngcontent-%COMP%]{animation-delay:.4s}.sk-cube-grid[_ngcontent-%COMP%] .sk-cube4[_ngcontent-%COMP%]{animation-delay:.1s}.sk-cube-grid[_ngcontent-%COMP%] .sk-cube5[_ngcontent-%COMP%]{animation-delay:.2s}.sk-cube-grid[_ngcontent-%COMP%] .sk-cube6[_ngcontent-%COMP%]{animation-delay:.3s}.sk-cube-grid[_ngcontent-%COMP%] .sk-cube7[_ngcontent-%COMP%]{animation-delay:0s}.sk-cube-grid[_ngcontent-%COMP%] .sk-cube8[_ngcontent-%COMP%]{animation-delay:.1s}.sk-cube-grid[_ngcontent-%COMP%] .sk-cube9[_ngcontent-%COMP%]{animation-delay:.2s}@keyframes sk-cubeGridScaleDelay{0%,70%,to{transform:scaleX(1)}35%{transform:scale3D(0,0,1)}}"]}),F})(),Q=(()=>{class F extends Ke{}return F.\u0275fac=function(){let x;return function(ae){return(x||(x=g.n5z(F)))(ae||F)}}(),F.\u0275cmp=g.Xpm({type:F,selectors:[["sk-double-bounce"]],features:[g.qOj],decls:3,vars:6,consts:[[1,"sk-double-bounce"],[1,"sk-child","sk-double-bounce1"],[1,"sk-child","sk-double-bounce2"]],template:function(O,ae){1&O&&(g.TgZ(0,"div",0),g._UZ(1,"div",1),g._UZ(2,"div",2),g.qZA()),2&O&&(g.ekj("colored",!ae.backgroundColor),g.xp6(1),g.Udp("background-color",ae.backgroundColor),g.xp6(1),g.Udp("background-color",ae.backgroundColor))},styles:[".sk-double-bounce[_ngcontent-%COMP%]{top:50%;width:40px;height:40px;position:relative;margin:auto}.sk-double-bounce[_ngcontent-%COMP%] .sk-child[_ngcontent-%COMP%]{width:100%;height:100%;border-radius:50%;background-color:#333;opacity:.6;position:absolute;top:0;left:0;animation:sk-doubleBounce 2s ease-in-out infinite}.sk-double-bounce[_ngcontent-%COMP%] .sk-double-bounce2[_ngcontent-%COMP%]{animation-delay:-1s}@keyframes sk-doubleBounce{0%,to{transform:scale(0)}50%{transform:scale(1)}}"]}),F})(),Te=(()=>{class F extends Ke{}return F.\u0275fac=function(){let x;return function(ae){return(x||(x=g.n5z(F)))(ae||F)}}(),F.\u0275cmp=g.Xpm({type:F,selectors:[["sk-rotating-plane"]],features:[g.qOj],decls:1,vars:2,consts:[[1,"sk-rotating-plane","colored-parent"]],template:function(O,ae){1&O&&g._UZ(0,"div",0),2&O&&g.Udp("background-color",ae.backgroundColor)},styles:[".sk-rotating-plane[_ngcontent-%COMP%]{position:relative;top:50%;width:40px;height:40px;margin:auto;animation:sk-rotatePlane 1.2s ease-in-out infinite}@keyframes sk-rotatePlane{0%{transform:perspective(120px) rotateX(0deg) rotateY(0deg)}50%{transform:perspective(120px) rotateX(-180.1deg) rotateY(0deg)}to{transform:perspective(120px) rotateX(-180deg) rotateY(-179.9deg)}}"]}),F})(),Pe=(()=>{class F extends Ke{}return F.\u0275fac=function(){let x;return function(ae){return(x||(x=g.n5z(F)))(ae||F)}}(),F.\u0275cmp=g.Xpm({type:F,selectors:[["sk-spinner-pulse"]],features:[g.qOj],decls:1,vars:2,consts:[[1,"sk-spinner","sk-spinner-pulse","colored-parent"]],template:function(O,ae){1&O&&g._UZ(0,"div",0),2&O&&g.Udp("background-color",ae.backgroundColor)},styles:[".sk-spinner-pulse[_ngcontent-%COMP%]{position:relative;top:50%;width:40px;height:40px;margin:auto;border-radius:100%;animation:sk-pulseScaleOut 1s ease-in-out infinite}@keyframes sk-pulseScaleOut{0%{transform:scale(0)}to{transform:scale(1);opacity:0}}"]}),F})(),Ve=(()=>{class F extends Ke{}return F.\u0275fac=function(){let x;return function(ae){return(x||(x=g.n5z(F)))(ae||F)}}(),F.\u0275cmp=g.Xpm({type:F,selectors:[["sk-three-bounce"]],features:[g.qOj],decls:4,vars:8,consts:[[1,"sk-three-bounce"],[1,"sk-child","sk-bounce1"],[1,"sk-child","sk-bounce2"],[1,"sk-child","sk-bounce3"]],template:function(O,ae){1&O&&(g.TgZ(0,"div",0),g._UZ(1,"div",1),g._UZ(2,"div",2),g._UZ(3,"div",3),g.qZA()),2&O&&(g.ekj("colored",!ae.backgroundColor),g.xp6(1),g.Udp("background-color",ae.backgroundColor),g.xp6(1),g.Udp("background-color",ae.backgroundColor),g.xp6(1),g.Udp("background-color",ae.backgroundColor))},styles:[".sk-three-bounce[_ngcontent-%COMP%]{top:50%;position:relative;margin:auto;width:80px;text-align:center}.sk-three-bounce[_ngcontent-%COMP%] .sk-child[_ngcontent-%COMP%]{width:20px;height:20px;border-radius:100%;display:inline-block;animation:sk-three-bounce 1.4s ease-in-out 0s infinite both}.sk-three-bounce[_ngcontent-%COMP%] .sk-bounce1[_ngcontent-%COMP%]{animation-delay:-.32s}.sk-three-bounce[_ngcontent-%COMP%] .sk-bounce2[_ngcontent-%COMP%]{animation-delay:-.16s}@keyframes sk-three-bounce{0%,80%,to{transform:scale(0)}40%{transform:scale(1)}}"]}),F})(),Ne=(()=>{class F extends Ke{}return F.\u0275fac=function(){let x;return function(ae){return(x||(x=g.n5z(F)))(ae||F)}}(),F.\u0275cmp=g.Xpm({type:F,selectors:[["sk-wandering-cubes"]],features:[g.qOj],decls:3,vars:6,consts:[[1,"sk-wandering-cubes"],[1,"sk-cube","sk-cube1"],[1,"sk-cube","sk-cube2"]],template:function(O,ae){1&O&&(g.TgZ(0,"div",0),g._UZ(1,"div",1),g._UZ(2,"div",2),g.qZA()),2&O&&(g.ekj("colored",!ae.backgroundColor),g.xp6(1),g.Udp("background-color",ae.backgroundColor),g.xp6(1),g.Udp("background-color",ae.backgroundColor))},styles:[".sk-wandering-cubes[_ngcontent-%COMP%]{top:50%;margin:auto;width:40px;height:40px;position:relative}.sk-wandering-cubes[_ngcontent-%COMP%] .sk-cube[_ngcontent-%COMP%]{width:10px;height:10px;position:absolute;top:0;left:0;animation:sk-wanderingCube 1.8s ease-in-out -1.8s infinite both}.sk-wandering-cubes[_ngcontent-%COMP%] .sk-cube2[_ngcontent-%COMP%]{animation-delay:-.9s}@keyframes sk-wanderingCube{0%{transform:rotate(0deg)}25%{transform:translateX(30px) rotate(-90deg) scale(.5)}50%{transform:translateX(30px) translateY(30px) rotate(-179deg)}50.1%{transform:translateX(30px) translateY(30px) rotate(-180deg)}75%{transform:translateX(0) translateY(30px) rotate(-270deg) scale(.5)}to{transform:rotate(-1turn)}}"]}),F})(),Re=(()=>{class F extends Ke{}return F.\u0275fac=function(){let x;return function(ae){return(x||(x=g.n5z(F)))(ae||F)}}(),F.\u0275cmp=g.Xpm({type:F,selectors:[["sk-wave"]],features:[g.qOj],decls:6,vars:12,consts:[[1,"sk-wave"],[1,"sk-rect","sk-rect1"],[1,"sk-rect","sk-rect2"],[1,"sk-rect","sk-rect3"],[1,"sk-rect","sk-rect4"],[1,"sk-rect","sk-rect5"]],template:function(O,ae){1&O&&(g.TgZ(0,"div",0),g._UZ(1,"div",1),g._UZ(2,"div",2),g._UZ(3,"div",3),g._UZ(4,"div",4),g._UZ(5,"div",5),g.qZA()),2&O&&(g.ekj("colored",!ae.backgroundColor),g.xp6(1),g.Udp("background-color",ae.backgroundColor),g.xp6(1),g.Udp("background-color",ae.backgroundColor),g.xp6(1),g.Udp("background-color",ae.backgroundColor),g.xp6(1),g.Udp("background-color",ae.backgroundColor),g.xp6(1),g.Udp("background-color",ae.backgroundColor))},styles:[".sk-wave[_ngcontent-%COMP%]{position:relative;top:50%;margin:auto;width:50px;height:40px;text-align:center;font-size:10px}.sk-wave[_ngcontent-%COMP%] .sk-rect[_ngcontent-%COMP%]{float:left;margin-right:1px;height:100%;width:6px;display:inline-block;animation:sk-waveStretchDelay 1.2s ease-in-out infinite}.sk-wave[_ngcontent-%COMP%] .sk-rect1[_ngcontent-%COMP%]{animation-delay:-1.2s}.sk-wave[_ngcontent-%COMP%] .sk-rect2[_ngcontent-%COMP%]{animation-delay:-1.1s}.sk-wave[_ngcontent-%COMP%] .sk-rect3[_ngcontent-%COMP%]{animation-delay:-1s}.sk-wave[_ngcontent-%COMP%] .sk-rect4[_ngcontent-%COMP%]{animation-delay:-.9s}.sk-wave[_ngcontent-%COMP%] .sk-rect5[_ngcontent-%COMP%]{animation-delay:-.8s}@keyframes sk-waveStretchDelay{0%,40%,to{transform:scaleY(.4)}20%{transform:scaleY(1)}}"]}),F})();const _t={skChasingDots:"sk-chasing-dots",skCubeGrid:"sk-cube-grid",skDoubleBounce:"sk-double-bounce",skRotatingPlane:"sk-rotationg-plane",skSpinnerPulse:"sk-spinner-pulse",skThreeBounce:"sk-three-bounce",skWanderingCubes:"sk-wandering-cubes",skWave:"sk-wave"};let $t=(()=>{class F{constructor(){this._pendingRequests=0,this._pendingRequestsStatus$=new At(1),this._filteredUrlPatterns=[],this._filteredMethods=[],this._filteredHeaders=[],this._forceByPass=!1}get pendingRequestsStatus$(){return this._pendingRequestsStatus$.asObservable()}get pendingRequests(){return this._pendingRequests}get filteredUrlPatterns(){return this._filteredUrlPatterns}set filteredMethods(O){this._filteredMethods=O}set filteredHeaders(O){this._filteredHeaders=O}set forceByPass(O){this._forceByPass=O}shouldBypassUrl(O){return this._filteredUrlPatterns.some(ae=>ae.test(O))}shouldBypassMethod(O){return this._filteredMethods.some(ae=>ae.toUpperCase()===O.method.toUpperCase())}shouldBypassHeader(O){return this._filteredHeaders.some(ae=>O.headers.has(ae))}shouldBypass(O){return this._forceByPass||this.shouldBypassUrl(O.urlWithParams)||this.shouldBypassMethod(O)||this.shouldBypassHeader(O)}intercept(O,ae){const lt=this.shouldBypass(O);return lt||(this._pendingRequests++,1===this._pendingRequests&&this._pendingRequestsStatus$.next(!0)),ae.handle(O).pipe((0,ir.x)(()=>{lt||(this._pendingRequests--,0===this._pendingRequests&&this._pendingRequestsStatus$.next(!1))}))}}return F.\u0275fac=function(O){return new(O||F)},F.\u0275prov=g.Yz7({token:F,factory:F.\u0275fac,providedIn:"root"}),F})();const yn=[{provide:oe.TP,useExisting:$t,multi:!0}];let qt=(()=>{class F{constructor(O){this.pendingRequestsInterceptor=O,this._visibility$=new At(1)}get visibility$(){return this._visibility$.asObservable()}show(){this.pendingRequestsInterceptor.forceByPass=!0,this._visibility$.next(!0)}hide(){this._visibility$.next(!1),this.pendingRequestsInterceptor.forceByPass=!1}}return F.\u0275fac=function(O){return new(O||F)(g.LFG($t))},F.\u0275prov=g.Yz7({token:F,factory:F.\u0275fac,providedIn:"root"}),F})(),Ot=(()=>{class F{constructor(O,ae){this.pendingRequestsInterceptor=O,this.spinnerVisibility=ae,this.spinkit=_t,this.visibleUntil=Date.now(),this.backdrop=!0,this.debounceDelay=0,this.entryComponent=null,this.extraDuration=0,this.filteredHeaders=[],this.filteredMethods=[],this.filteredUrlPatterns=[],this.minDuration=0,this.opacity=".7",this.backdropBackgroundColor="#f1f1f1",this.spinner=_t.skWave}ngOnInit(){this.initIsvisibleObservable(),this.nullifySpinnerIfEntryComponentIsDefined(),this.initFilters()}initIsvisibleObservable(){const[O,ae]=function(F,x,O){return[(0,Be.h)(x,O)(new hr.y((0,dt.s)(F))),(0,Be.h)(at(x,O))(new hr.y((0,dt.s)(F)))]}(this.pendingRequestsInterceptor.pendingRequestsStatus$,lt=>lt);this.isVisible$=(0,Cn.T)(this.pendingRequestsInterceptor.pendingRequestsStatus$.pipe((0,ln.w)(()=>O.pipe(pe(()=>(0,Zn.H)(this.debounceDelay))))),O.pipe((0,ln.w)(()=>ae.pipe(pe(()=>this.getVisibilityTimer$())))),this.spinnerVisibility.visibility$).pipe((0,le.x)(),(0,ke.b)(lt=>this.updateExpirationDelay(lt)))}nullifySpinnerIfEntryComponentIsDefined(){this.entryComponent&&(this.spinner=null)}initFilters(){this.initFilteredUrlPatterns(),this.initFilteredMethods(),this.initFilteredHeaders()}initFilteredUrlPatterns(){this.filteredUrlPatterns.length&&this.filteredUrlPatterns.forEach(O=>this.pendingRequestsInterceptor.filteredUrlPatterns.push(new RegExp(O)))}initFilteredMethods(){this.pendingRequestsInterceptor.filteredMethods=this.filteredMethods}initFilteredHeaders(){this.pendingRequestsInterceptor.filteredHeaders=this.filteredHeaders}updateExpirationDelay(O){O&&(this.visibleUntil=Date.now()+this.minDuration)}getVisibilityTimer$(){return(0,Zn.H)(Math.max(this.extraDuration,this.visibleUntil-Date.now()))}}return F.\u0275fac=function(O){return new(O||F)(g.Y36($t),g.Y36(qt))},F.\u0275cmp=g.Xpm({type:F,selectors:[["ng-http-loader"]],inputs:{backdrop:"backdrop",backgroundColor:"backgroundColor",debounceDelay:"debounceDelay",entryComponent:"entryComponent",extraDuration:"extraDuration",filteredHeaders:"filteredHeaders",filteredMethods:"filteredMethods",filteredUrlPatterns:"filteredUrlPatterns",minDuration:"minDuration",opacity:"opacity",backdropBackgroundColor:"backdropBackgroundColor",spinner:"spinner"},decls:2,vars:3,consts:[["id","spinner",3,"backdrop","opacity","ngStyle",4,"ngIf"],["id","spinner",3,"ngStyle"],[4,"ngComponentOutlet"],[3,"backgroundColor",4,"ngIf"],[3,"backgroundColor"]],template:function(O,ae){1&O&&(g.YNc(0,Or,10,16,"div",0),g.ALo(1,"async")),2&O&&g.Q6J("ngIf",g.lcZ(1,1,ae.isVisible$))},directives:[je.O5,je.PC,je.$G,Y,De,Q,Te,Pe,Ve,Ne,Re],pipes:[je.Ov],styles:["#spinner[_ngcontent-%COMP%]{top:50%;left:50%;transform:translate(-50%,-50%);position:fixed;z-index:9999}#spinner.backdrop[_ngcontent-%COMP%]{top:0;left:0;height:100%;width:100%;display:flex;align-items:center;justify-content:center;transform:none} .colored-parent, .colored>div{background-color:#333}"]}),F})(),ze=(()=>{class F{static forRoot(){return{ngModule:F,providers:[yn]}}}return F.\u0275fac=function(O){return new(O||F)},F.\u0275mod=g.oAB({type:F}),F.\u0275inj=g.cJS({imports:[[je.ez]]}),F})(),an=(()=>{class F{constructor(){this.title="zoho"}ngOnInit(){this.overrideDateToJsonFunction()}overrideDateToJsonFunction(){Date.prototype.toJSON=function(){return new Date(this.getTime()-60*this.getTimezoneOffset()*1e3).toISOString()}}}return F.\u0275fac=function(O){return new(O||F)},F.\u0275cmp=g.Xpm({type:F,selectors:[["app-root"]],decls:2,vars:0,template:function(O,ae){1&O&&(g._UZ(0,"router-outlet"),g._UZ(1,"ng-http-loader"))},directives:[J.lC,Ot],styles:[".main-content[_ngcontent-%COMP%]{margin-left:80px;flex-grow:1;transition:margin-left .25s,margin-right .25s,width .25s,flex .25s}.content-wrapper[_ngcontent-%COMP%]{display:flex;flex-direction:row;min-height:calc(80vh - 0.5rem)}.chosen[_ngcontent-%COMP%]{background-color:#9fd550;z-index:1}.show[_ngcontent-%COMP%]{z-index:10000}@media (max-width: 767px){.body-content[_ngcontent-%COMP%]{padding-top:50px}}.datepicker[_ngcontent-%COMP%]{width:125px}.mat-datepicker-content[_ngcontent-%COMP%] .mat-calendar[_ngcontent-%COMP%]{height:auto!important}"]}),F})();var Nt=I(9555),Xt=I(8452);let Ct=(()=>{class F{constructor(O){this._router=O}intercept(O,ae){let lt=JSON.parse(window.localStorage.getItem("user")),Ut=new Date;if(null!=lt){let ft=new Date(lt.expiredAt);O=O.clone(Ut<ft?{setHeaders:{"Content-Type":"application/json",Authorization:`Bearer ${lt.access_token}`}}:{setHeaders:{"Content-Type":"application/json"}})}else O=O.clone({setHeaders:{"Content-Type":"application/json"}});return ae.handle(O)}}return F.\u0275fac=function(O){return new(O||F)(g.LFG(J.F0))},F.\u0275prov=g.Yz7({token:F,factory:F.\u0275fac}),F})();var Cr=I(2804),jt=I(5476),cn=I(9506),Br=I(3596),dn=I(3989);const sn=new hr.y(dn.Z);var kn=I(8053),Nr=I(6087),Jn=I(6636),Ur=I(8178),Xn=I(5747);class Et{constructor(x,O){this.delay=x,this.scheduler=O}call(x,O){return O.subscribe(new Ln(x,this.delay,this.scheduler))}}class Ln extends he.L{constructor(x,O,ae){super(x),this.delay=O,this.scheduler=ae,this.queue=[],this.active=!1,this.errored=!1}static dispatch(x){const O=x.source,ae=O.queue,lt=x.scheduler,Ut=x.destination;for(;ae.length>0&&ae[0].time-lt.now()<=0;)ae.shift().notification.observe(Ut);if(ae.length>0){const ft=Math.max(0,ae[0].time-lt.now());this.schedule(x,ft)}else this.unsubscribe(),O.active=!1}_schedule(x){this.active=!0,this.destination.add(x.schedule(Ln.dispatch,this.delay,{source:this,destination:this.destination,scheduler:x}))}scheduleNotification(x){if(!0===this.errored)return;const O=this.scheduler,ae=new pr(O.now()+this.delay,x);this.queue.push(ae),!1===this.active&&this._schedule(O)}_next(x){this.scheduleNotification(ye.createNext(x))}_error(x){this.errored=!0,this.queue=[],this.destination.error(x),this.unsubscribe()}_complete(){this.scheduleNotification(ye.createComplete()),this.unsubscribe()}}class pr{constructor(x,O){this.time=x,this.notification=O}}const Rt="Service workers are disabled or not supported by this browser";class An{constructor(x){if(this.serviceWorker=x,x){const ae=(0,cn.R)(x,"controllerchange").pipe((0,kn.U)(()=>x.controller)),lt=(0,jt.P)(()=>(0,Oe.of)(x.controller)),Ut=(0,Br.z)(lt,ae);this.worker=Ut.pipe((0,Be.h)(Pt=>!!Pt)),this.registration=this.worker.pipe((0,ln.w)(()=>x.getRegistration()));const Dn=(0,cn.R)(x,"message").pipe((0,kn.U)(Pt=>Pt.data)).pipe((0,Be.h)(Pt=>Pt&&Pt.type)).pipe((0,Nr.O)(new ne.xQ));Dn.connect(),this.events=Dn}else this.worker=this.events=this.registration=(Rt,(0,jt.P)(()=>(0,Ue._)(new Error("Service workers are disabled or not supported by this browser"))))}postMessage(x,O){return this.worker.pipe((0,Jn.q)(1),(0,ke.b)(ae=>{ae.postMessage(it({action:x},O))})).toPromise().then(()=>{})}postMessageWithOperation(x,O,ae){const lt=this.waitForOperationCompleted(ae),Ut=this.postMessage(x,O);return Promise.all([Ut,lt]).then(([,ft])=>ft)}generateNonce(){return Math.round(1e7*Math.random())}eventsOfType(x){let O;return O="string"==typeof x?ae=>ae.type===x:ae=>x.includes(ae.type),this.events.pipe((0,Be.h)(O))}nextEventOfType(x){return this.eventsOfType(x).pipe((0,Jn.q)(1))}waitForOperationCompleted(x){return this.eventsOfType("OPERATION_COMPLETED").pipe((0,Be.h)(O=>O.nonce===x),(0,Jn.q)(1),(0,kn.U)(O=>{if(void 0!==O.result)return O.result;throw new Error(O.error)})).toPromise()}get isEnabled(){return!!this.serviceWorker}}let _n=(()=>{class F{constructor(O){if(this.sw=O,this.subscriptionChanges=new ne.xQ,!O.isEnabled)return this.messages=sn,this.notificationClicks=sn,void(this.subscription=sn);this.messages=this.sw.eventsOfType("PUSH").pipe((0,kn.U)(lt=>lt.data)),this.notificationClicks=this.sw.eventsOfType("NOTIFICATION_CLICK").pipe((0,kn.U)(lt=>lt.data)),this.pushManager=this.sw.registration.pipe((0,kn.U)(lt=>lt.pushManager));const ae=this.pushManager.pipe((0,ln.w)(lt=>lt.getSubscription()));this.subscription=(0,Cn.T)(ae,this.subscriptionChanges)}get isEnabled(){return this.sw.isEnabled}requestSubscription(O){if(!this.sw.isEnabled)return Promise.reject(new Error(Rt));const ae={userVisibleOnly:!0};let lt=this.decodeBase64(O.serverPublicKey.replace(/_/g,"/").replace(/-/g,"+")),Ut=new Uint8Array(new ArrayBuffer(lt.length));for(let ft=0;ft<lt.length;ft++)Ut[ft]=lt.charCodeAt(ft);return ae.applicationServerKey=Ut,this.pushManager.pipe((0,ln.w)(ft=>ft.subscribe(ae)),(0,Jn.q)(1)).toPromise().then(ft=>(this.subscriptionChanges.next(ft),ft))}unsubscribe(){return this.sw.isEnabled?this.subscription.pipe((0,Jn.q)(1),(0,ln.w)(ae=>{if(null===ae)throw new Error("Not subscribed to push notifications.");return ae.unsubscribe().then(lt=>{if(!lt)throw new Error("Unsubscribe failed!");this.subscriptionChanges.next(null)})})).toPromise():Promise.reject(new Error(Rt))}decodeBase64(O){return atob(O)}}return F.\u0275fac=function(O){return new(O||F)(g.LFG(An))},F.\u0275prov=g.Yz7({token:F,factory:F.\u0275fac}),F})(),Vn=(()=>{class F{constructor(O){if(this.sw=O,!O.isEnabled)return this.versionUpdates=sn,this.available=sn,this.activated=sn,void(this.unrecoverable=sn);this.versionUpdates=this.sw.eventsOfType(["VERSION_DETECTED","VERSION_INSTALLATION_FAILED","VERSION_READY"]),this.available=this.versionUpdates.pipe((0,Be.h)(ae=>"VERSION_READY"===ae.type),(0,kn.U)(ae=>({type:"UPDATE_AVAILABLE",current:ae.currentVersion,available:ae.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(Rt));const O=this.sw.generateNonce();return this.sw.postMessageWithOperation("CHECK_FOR_UPDATES",{nonce:O},O)}activateUpdate(){if(!this.sw.isEnabled)return Promise.reject(new Error(Rt));const O=this.sw.generateNonce();return this.sw.postMessageWithOperation("ACTIVATE_UPDATE",{nonce:O},O)}}return F.\u0275fac=function(O){return new(O||F)(g.LFG(An))},F.\u0275prov=g.Yz7({token:F,factory:F.\u0275fac}),F})();class Le{}const rt=new g.OlP("NGSW_REGISTER_SCRIPT");function zt(F,x,O,ae){return()=>{if(!(0,je.NF)(ae)||!("serviceWorker"in navigator)||!1===O.enabled)return;let Ut;if(navigator.serviceWorker.addEventListener("controllerchange",()=>{null!==navigator.serviceWorker.controller&&navigator.serviceWorker.controller.postMessage({action:"INITIALIZE"})}),"function"==typeof O.registrationStrategy)Ut=O.registrationStrategy();else{const[fn,...lr]=(O.registrationStrategy||"registerWhenStable:30000").split(":");switch(fn){case"registerImmediately":Ut=(0,Oe.of)(null);break;case"registerWithDelay":Ut=Z(+lr[0]||0);break;case"registerWhenStable":Ut=lr[0]?(0,Cn.T)(W(F),Z(+lr[0])):W(F);break;default:throw new Error(`Unknown ServiceWorker registration strategy: ${O.registrationStrategy}`)}}F.get(g.R0b).runOutsideAngular(()=>Ut.pipe((0,Jn.q)(1)).subscribe(()=>navigator.serviceWorker.register(x,{scope:O.scope}).catch(fn=>console.error("Service worker registration failed with:",fn))))}}function Z(F){return(0,Oe.of)(null).pipe(function(F,x=Ur.P){const ae=(0,Xn.J)(F)?+F-x.now():Math.abs(F);return lt=>lt.lift(new Et(ae,x))}(F))}function W(F){return F.get(g.z2F).isStable.pipe((0,Be.h)(O=>O))}function N(F,x){return new An((0,je.NF)(x)&&!1!==F.enabled?navigator.serviceWorker:void 0)}let X=(()=>{class F{static register(O,ae={}){return{ngModule:F,providers:[{provide:rt,useValue:O},{provide:Le,useValue:ae},{provide:An,useFactory:N,deps:[Le,g.Lbi]},{provide:g.ip1,useFactory:zt,deps:[g.zs3,rt,Le,g.Lbi],multi:!0}]}}}return F.\u0275fac=function(O){return new(O||F)},F.\u0275mod=g.oAB({type:F}),F.\u0275inj=g.cJS({providers:[_n,Vn]}),F})();let Je=(()=>{class F{}return F.\u0275fac=function(O){return new(O||F)},F.\u0275mod=g.oAB({type:F,bootstrap:[an]}),F.\u0275inj=g.cJS({providers:[fe.O,Cr.e,{provide:oe.TP,useClass:Ct,multi:!0}],imports:[[E.b2,re,Nt.PW,Xt.Rh.forRoot({positionClass:"toast-bottom-right",preventDuplicates:!0}),oe.JF,ze.forRoot(),X.register("ngsw-worker.js",{enabled:true})]]}),F})();(0,g.G48)(),E.q6().bootstrapModule(Je).catch(F=>console.error(F))},9814:(He,de,I)=>{I.d(de,{l3:()=>oe,_j:()=>E,LC:()=>g,ZN:()=>Oe,jt:()=>J,pV:()=>ve,F4:()=>K,IO:()=>te,vP:()=>re,SB:()=>G,oB:()=>ne,eR:()=>B,X$:()=>fe,ZE:()=>Ue,k1:()=>ot});class E{}class g{}const oe="*";function fe(ye,be){return{type:7,name:ye,definitions:be,options:{}}}function J(ye,be=null){return{type:4,styles:be,timings:ye}}function re(ye,be=null){return{type:2,steps:ye,options:be}}function ne(ye){return{type:6,styles:ye,offset:null}}function G(ye,be,Ze){return{type:0,name:ye,styles:be,options:Ze}}function K(ye){return{type:5,steps:ye}}function B(ye,be,Ze=null){return{type:1,expr:ye,animation:be,options:Ze}}function ve(ye=null){return{type:9,options:ye}}function te(ye,be,Ze=null){return{type:11,selector:ye,animation:be,options:Ze}}function Ae(ye){Promise.resolve(null).then(ye)}class Oe{constructor(be=0,Ze=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=be+Ze}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(be=>be()),this._onDoneFns=[])}onStart(be){this._onStartFns.push(be)}onDone(be){this._onDoneFns.push(be)}onDestroy(be){this._onDestroyFns.push(be)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){Ae(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(be=>be()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(be=>be()),this._onDestroyFns=[])}reset(){this._started=!1}setPosition(be){this._position=this.totalTime?be*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(be){const Ze="start"==be?this._onStartFns:this._onDoneFns;Ze.forEach(Bt=>Bt()),Ze.length=0}}class Ue{constructor(be){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=be;let Ze=0,Bt=0,bt=0;const It=this.players.length;0==It?Ae(()=>this._onFinish()):this.players.forEach(ct=>{ct.onDone(()=>{++Ze==It&&this._onFinish()}),ct.onDestroy(()=>{++Bt==It&&this._onDestroy()}),ct.onStart(()=>{++bt==It&&this._onStart()})}),this.totalTime=this.players.reduce((ct,At)=>Math.max(ct,At.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(be=>be()),this._onDoneFns=[])}init(){this.players.forEach(be=>be.init())}onStart(be){this._onStartFns.push(be)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(be=>be()),this._onStartFns=[])}onDone(be){this._onDoneFns.push(be)}onDestroy(be){this._onDestroyFns.push(be)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(be=>be.play())}pause(){this.players.forEach(be=>be.pause())}restart(){this.players.forEach(be=>be.restart())}finish(){this._onFinish(),this.players.forEach(be=>be.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(be=>be.destroy()),this._onDestroyFns.forEach(be=>be()),this._onDestroyFns=[])}reset(){this.players.forEach(be=>be.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(be){const Ze=be*this.totalTime;this.players.forEach(Bt=>{const bt=Bt.totalTime?Math.min(1,Ze/Bt.totalTime):1;Bt.setPosition(bt)})}getPosition(){const be=this.players.reduce((Ze,Bt)=>null===Ze||Bt.totalTime>Ze.totalTime?Bt:Ze,null);return null!=be?be.getPosition():0}beforeDestroy(){this.players.forEach(be=>{be.beforeDestroy&&be.beforeDestroy()})}triggerCallback(be){const Ze="start"==be?this._onStartFns:this._onDoneFns;Ze.forEach(Bt=>Bt()),Ze.length=0}}const ot="!"},6019:(He,de,I)=>{I.d(de,{mr:()=>Ue,Ov:()=>Rs,ez:()=>ps,K0:()=>re,uU:()=>ui,JJ:()=>hs,Do:()=>ye,Ts:()=>di,Nd:()=>Xr,V_:()=>K,Ye:()=>be,S$:()=>Ae,mk:()=>ft,$G:()=>fn,sg:()=>Dn,O5:()=>gr,PC:()=>kr,RF:()=>En,n9:()=>Mn,ED:()=>on,tP:()=>Jr,b0:()=>ot,lw:()=>ne,OU:()=>br,EM:()=>gi,JF:()=>Bi,NF:()=>Os,w_:()=>V,bD:()=>ur,q:()=>oe,Mx:()=>Ut,HT:()=>J});var E=I(6079);let g=null;function oe(){return g}function J(_){g||(g=_)}class V{}const re=new E.OlP("DocumentToken");let ne=(()=>{class _{historyGo(v){throw new Error("Not implemented")}}return _.\u0275fac=function(v){return new(v||_)},_.\u0275prov=E.Yz7({token:_,factory:function(){return(0,E.LFG)(B)},providedIn:"platform"}),_})();const K=new E.OlP("Location Initialized");let B=(()=>{class _ extends ne{constructor(v){super(),this._doc=v,this._init()}_init(){this.location=window.location,this._history=window.history}getBaseHrefFromDOM(){return oe().getBaseHref(this._doc)}onPopState(v){const S=oe().getGlobalEventTarget(this._doc,"window");return S.addEventListener("popstate",v,!1),()=>S.removeEventListener("popstate",v)}onHashChange(v){const S=oe().getGlobalEventTarget(this._doc,"window");return S.addEventListener("hashchange",v,!1),()=>S.removeEventListener("hashchange",v)}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(v){this.location.pathname=v}pushState(v,S,H){ue()?this._history.pushState(v,S,H):this.location.hash=H}replaceState(v,S,H){ue()?this._history.replaceState(v,S,H):this.location.hash=H}forward(){this._history.forward()}back(){this._history.back()}historyGo(v=0){this._history.go(v)}getState(){return this._history.state}}return _.\u0275fac=function(v){return new(v||_)(E.LFG(re))},_.\u0275prov=E.Yz7({token:_,factory:function(){return new B((0,E.LFG)(re))},providedIn:"platform"}),_})();function ue(){return!!window.history.pushState}function Ie(_,T){if(0==_.length)return T;if(0==T.length)return _;let v=0;return _.endsWith("/")&&v++,T.startsWith("/")&&v++,2==v?_+T.substring(1):1==v?_+T:_+"/"+T}function te(_){const T=_.match(/#|\?|$/),v=T&&T.index||_.length;return _.slice(0,v-("/"===_[v-1]?1:0))+_.slice(v)}function he(_){return _&&"?"!==_[0]?"?"+_:_}let Ae=(()=>{class _{historyGo(v){throw new Error("Not implemented")}}return _.\u0275fac=function(v){return new(v||_)},_.\u0275prov=E.Yz7({token:_,factory:function(){return function(_){const T=(0,E.LFG)(re).location;return new ot((0,E.LFG)(ne),T&&T.origin||"")}()},providedIn:"root"}),_})();const Ue=new E.OlP("appBaseHref");let ot=(()=>{class _ extends Ae{constructor(v,S){if(super(),this._platformLocation=v,this._removeListenerFns=[],null==S&&(S=this._platformLocation.getBaseHrefFromDOM()),null==S)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=S}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(v){this._removeListenerFns.push(this._platformLocation.onPopState(v),this._platformLocation.onHashChange(v))}getBaseHref(){return this._baseHref}prepareExternalUrl(v){return Ie(this._baseHref,v)}path(v=!1){const S=this._platformLocation.pathname+he(this._platformLocation.search),H=this._platformLocation.hash;return H&&v?`${S}${H}`:S}pushState(v,S,H,me){const Se=this.prepareExternalUrl(H+he(me));this._platformLocation.pushState(v,S,Se)}replaceState(v,S,H,me){const Se=this.prepareExternalUrl(H+he(me));this._platformLocation.replaceState(v,S,Se)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(v=0){var S,H;null==(H=(S=this._platformLocation).historyGo)||H.call(S,v)}}return _.\u0275fac=function(v){return new(v||_)(E.LFG(ne),E.LFG(Ue,8))},_.\u0275prov=E.Yz7({token:_,factory:_.\u0275fac}),_})(),ye=(()=>{class _ extends Ae{constructor(v,S){super(),this._platformLocation=v,this._baseHref="",this._removeListenerFns=[],null!=S&&(this._baseHref=S)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(v){this._removeListenerFns.push(this._platformLocation.onPopState(v),this._platformLocation.onHashChange(v))}getBaseHref(){return this._baseHref}path(v=!1){let S=this._platformLocation.hash;return null==S&&(S="#"),S.length>0?S.substring(1):S}prepareExternalUrl(v){const S=Ie(this._baseHref,v);return S.length>0?"#"+S:S}pushState(v,S,H,me){let Se=this.prepareExternalUrl(H+he(me));0==Se.length&&(Se=this._platformLocation.pathname),this._platformLocation.pushState(v,S,Se)}replaceState(v,S,H,me){let Se=this.prepareExternalUrl(H+he(me));0==Se.length&&(Se=this._platformLocation.pathname),this._platformLocation.replaceState(v,S,Se)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(v=0){var S,H;null==(H=(S=this._platformLocation).historyGo)||H.call(S,v)}}return _.\u0275fac=function(v){return new(v||_)(E.LFG(ne),E.LFG(Ue,8))},_.\u0275prov=E.Yz7({token:_,factory:_.\u0275fac}),_})(),be=(()=>{class _{constructor(v,S){this._subject=new E.vpe,this._urlChangeListeners=[],this._platformStrategy=v;const H=this._platformStrategy.getBaseHref();this._platformLocation=S,this._baseHref=te(bt(H)),this._platformStrategy.onPopState(me=>{this._subject.emit({url:this.path(!0),pop:!0,state:me.state,type:me.type})})}path(v=!1){return this.normalize(this._platformStrategy.path(v))}getState(){return this._platformLocation.getState()}isCurrentPathEqualTo(v,S=""){return this.path()==this.normalize(v+he(S))}normalize(v){return _.stripTrailingSlash(function(_,T){return _&&T.startsWith(_)?T.substring(_.length):T}(this._baseHref,bt(v)))}prepareExternalUrl(v){return v&&"/"!==v[0]&&(v="/"+v),this._platformStrategy.prepareExternalUrl(v)}go(v,S="",H=null){this._platformStrategy.pushState(H,"",v,S),this._notifyUrlChangeListeners(this.prepareExternalUrl(v+he(S)),H)}replaceState(v,S="",H=null){this._platformStrategy.replaceState(H,"",v,S),this._notifyUrlChangeListeners(this.prepareExternalUrl(v+he(S)),H)}forward(){this._platformStrategy.forward()}back(){this._platformStrategy.back()}historyGo(v=0){var S,H;null==(H=(S=this._platformStrategy).historyGo)||H.call(S,v)}onUrlChange(v){this._urlChangeListeners.push(v),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(S=>{this._notifyUrlChangeListeners(S.url,S.state)}))}_notifyUrlChangeListeners(v="",S){this._urlChangeListeners.forEach(H=>H(v,S))}subscribe(v,S,H){return this._subject.subscribe({next:v,error:S,complete:H})}}return _.normalizeQueryParams=he,_.joinWithSlash=Ie,_.stripTrailingSlash=te,_.\u0275fac=function(v){return new(v||_)(E.LFG(Ae),E.LFG(ne))},_.\u0275prov=E.Yz7({token:_,factory:function(){return new be((0,E.LFG)(Ae),(0,E.LFG)(ne))},providedIn:"root"}),_})();function bt(_){return _.replace(/\/index.html$/,"")}var ct=(()=>((ct=ct||{})[ct.Decimal=0]="Decimal",ct[ct.Percent=1]="Percent",ct[ct.Currency=2]="Currency",ct[ct.Scientific=3]="Scientific",ct))(),At=(()=>((At=At||{})[At.Zero=0]="Zero",At[At.One=1]="One",At[At.Two=2]="Two",At[At.Few=3]="Few",At[At.Many=4]="Many",At[At.Other=5]="Other",At))(),Mt=(()=>((Mt=Mt||{})[Mt.Format=0]="Format",Mt[Mt.Standalone=1]="Standalone",Mt))(),at=(()=>((at=at||{})[at.Narrow=0]="Narrow",at[at.Abbreviated=1]="Abbreviated",at[at.Wide=2]="Wide",at[at.Short=3]="Short",at))(),dt=(()=>((dt=dt||{})[dt.Short=0]="Short",dt[dt.Medium=1]="Medium",dt[dt.Long=2]="Long",dt[dt.Full=3]="Full",dt))(),Be=(()=>((Be=Be||{})[Be.Decimal=0]="Decimal",Be[Be.Group=1]="Group",Be[Be.List=2]="List",Be[Be.PercentSign=3]="PercentSign",Be[Be.PlusSign=4]="PlusSign",Be[Be.MinusSign=5]="MinusSign",Be[Be.Exponential=6]="Exponential",Be[Be.SuperscriptingExponent=7]="SuperscriptingExponent",Be[Be.PerMille=8]="PerMille",Be[Be.Infinity=9]="Infinity",Be[Be.NaN=10]="NaN",Be[Be.TimeSeparator=11]="TimeSeparator",Be[Be.CurrencyDecimal=12]="CurrencyDecimal",Be[Be.CurrencyGroup=13]="CurrencyGroup",Be))();function we(_,T){return Qt((0,E.cg1)(_)[E.wAp.DateFormat],T)}function ee(_,T){return Qt((0,E.cg1)(_)[E.wAp.TimeFormat],T)}function le(_,T){return Qt((0,E.cg1)(_)[E.wAp.DateTimeFormat],T)}function ke(_,T){const v=(0,E.cg1)(_),S=v[E.wAp.NumberSymbols][T];if(void 0===S){if(T===Be.CurrencyDecimal)return v[E.wAp.NumberSymbols][Be.Decimal];if(T===Be.CurrencyGroup)return v[E.wAp.NumberSymbols][Be.Group]}return S}const nn=E.kL8;function zn(_){if(!_[E.wAp.ExtraData])throw new Error(`Missing extra locale data for the locale "${_[E.wAp.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function Qt(_,T){for(let v=T;v>-1;v--)if(void 0!==_[v])return _[v];throw new Error("Locale data API: locale data undefined")}function Or(_){const[T,v]=_.split(":");return{hours:+T,minutes:+v}}const Q=/^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,Te={},Pe=/((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/;var Ve=(()=>((Ve=Ve||{})[Ve.Short=0]="Short",Ve[Ve.ShortGMT=1]="ShortGMT",Ve[Ve.Long=2]="Long",Ve[Ve.Extended=3]="Extended",Ve))(),Ne=(()=>((Ne=Ne||{})[Ne.FullYear=0]="FullYear",Ne[Ne.Month=1]="Month",Ne[Ne.Date=2]="Date",Ne[Ne.Hours=3]="Hours",Ne[Ne.Minutes=4]="Minutes",Ne[Ne.Seconds=5]="Seconds",Ne[Ne.FractionalSeconds=6]="FractionalSeconds",Ne[Ne.Day=7]="Day",Ne))(),Re=(()=>((Re=Re||{})[Re.DayPeriods=0]="DayPeriods",Re[Re.Days=1]="Days",Re[Re.Months=2]="Months",Re[Re.Eras=3]="Eras",Re))();function _t(_,T,v,S){let H=function(_){if(In(_))return _;if("number"==typeof _&&!isNaN(_))return new Date(_);if("string"==typeof _){if(_=_.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(_)){const[H,me=1,Se=1]=_.split("-").map($e=>+$e);return mt(H,me-1,Se)}const v=parseFloat(_);if(!isNaN(_-v))return new Date(v);let S;if(S=_.match(Q))return function(_){const T=new Date(0);let v=0,S=0;const H=_[8]?T.setUTCFullYear:T.setFullYear,me=_[8]?T.setUTCHours:T.setHours;_[9]&&(v=Number(_[9]+_[10]),S=Number(_[9]+_[11])),H.call(T,Number(_[1]),Number(_[2])-1,Number(_[3]));const Se=Number(_[4]||0)-v,$e=Number(_[5]||0)-S,Wt=Number(_[6]||0),Jt=Math.floor(1e3*parseFloat("0."+(_[7]||0)));return me.call(T,Se,$e,Wt,Jt),T}(S)}const T=new Date(_);if(!In(T))throw new Error(`Unable to convert "${_}" into a date`);return T}(_);T=$t(v,T)||T;let $e,Se=[];for(;T;){if($e=Pe.exec(T),!$e){Se.push(T);break}{Se=Se.concat($e.slice(1));const Ht=Se.pop();if(!Ht)break;T=Ht}}let Wt=H.getTimezoneOffset();S&&(Wt=Nr(S,Wt),H=function(_,T,v){const H=_.getTimezoneOffset();return function(_,T){return(_=new Date(_.getTime())).setMinutes(_.getMinutes()+T),_}(_,-1*(Nr(T,H)-H))}(H,S));let Jt="";return Se.forEach(Ht=>{const ht=function(_){if(xr[_])return xr[_];let T;switch(_){case"G":case"GG":case"GGG":T=Nt(Re.Eras,at.Abbreviated);break;case"GGGG":T=Nt(Re.Eras,at.Wide);break;case"GGGGG":T=Nt(Re.Eras,at.Narrow);break;case"y":T=ze(Ne.FullYear,1,0,!1,!0);break;case"yy":T=ze(Ne.FullYear,2,0,!0,!0);break;case"yyy":T=ze(Ne.FullYear,3,0,!1,!0);break;case"yyyy":T=ze(Ne.FullYear,4,0,!1,!0);break;case"Y":T=sn(1);break;case"YY":T=sn(2,!0);break;case"YYY":T=sn(3);break;case"YYYY":T=sn(4);break;case"M":case"L":T=ze(Ne.Month,1,1);break;case"MM":case"LL":T=ze(Ne.Month,2,1);break;case"MMM":T=Nt(Re.Months,at.Abbreviated);break;case"MMMM":T=Nt(Re.Months,at.Wide);break;case"MMMMM":T=Nt(Re.Months,at.Narrow);break;case"LLL":T=Nt(Re.Months,at.Abbreviated,Mt.Standalone);break;case"LLLL":T=Nt(Re.Months,at.Wide,Mt.Standalone);break;case"LLLLL":T=Nt(Re.Months,at.Narrow,Mt.Standalone);break;case"w":T=dn(1);break;case"ww":T=dn(2);break;case"W":T=dn(1,!0);break;case"d":T=ze(Ne.Date,1);break;case"dd":T=ze(Ne.Date,2);break;case"c":case"cc":T=ze(Ne.Day,1);break;case"ccc":T=Nt(Re.Days,at.Abbreviated,Mt.Standalone);break;case"cccc":T=Nt(Re.Days,at.Wide,Mt.Standalone);break;case"ccccc":T=Nt(Re.Days,at.Narrow,Mt.Standalone);break;case"cccccc":T=Nt(Re.Days,at.Short,Mt.Standalone);break;case"E":case"EE":case"EEE":T=Nt(Re.Days,at.Abbreviated);break;case"EEEE":T=Nt(Re.Days,at.Wide);break;case"EEEEE":T=Nt(Re.Days,at.Narrow);break;case"EEEEEE":T=Nt(Re.Days,at.Short);break;case"a":case"aa":case"aaa":T=Nt(Re.DayPeriods,at.Abbreviated);break;case"aaaa":T=Nt(Re.DayPeriods,at.Wide);break;case"aaaaa":T=Nt(Re.DayPeriods,at.Narrow);break;case"b":case"bb":case"bbb":T=Nt(Re.DayPeriods,at.Abbreviated,Mt.Standalone,!0);break;case"bbbb":T=Nt(Re.DayPeriods,at.Wide,Mt.Standalone,!0);break;case"bbbbb":T=Nt(Re.DayPeriods,at.Narrow,Mt.Standalone,!0);break;case"B":case"BB":case"BBB":T=Nt(Re.DayPeriods,at.Abbreviated,Mt.Format,!0);break;case"BBBB":T=Nt(Re.DayPeriods,at.Wide,Mt.Format,!0);break;case"BBBBB":T=Nt(Re.DayPeriods,at.Narrow,Mt.Format,!0);break;case"h":T=ze(Ne.Hours,1,-12);break;case"hh":T=ze(Ne.Hours,2,-12);break;case"H":T=ze(Ne.Hours,1);break;case"HH":T=ze(Ne.Hours,2);break;case"m":T=ze(Ne.Minutes,1);break;case"mm":T=ze(Ne.Minutes,2);break;case"s":T=ze(Ne.Seconds,1);break;case"ss":T=ze(Ne.Seconds,2);break;case"S":T=ze(Ne.FractionalSeconds,1);break;case"SS":T=ze(Ne.FractionalSeconds,2);break;case"SSS":T=ze(Ne.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":T=Ct(Ve.Short);break;case"ZZZZZ":T=Ct(Ve.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":T=Ct(Ve.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":T=Ct(Ve.Long);break;default:return null}return xr[_]=T,T}(Ht);Jt+=ht?ht(H,v,Wt):"''"===Ht?"'":Ht.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),Jt}function mt(_,T,v){const S=new Date(0);return S.setFullYear(_,T,v),S.setHours(0,0,0),S}function $t(_,T){const v=function(_){return(0,E.cg1)(_)[E.wAp.LocaleId]}(_);if(Te[v]=Te[v]||{},Te[v][T])return Te[v][T];let S="";switch(T){case"shortDate":S=we(_,dt.Short);break;case"mediumDate":S=we(_,dt.Medium);break;case"longDate":S=we(_,dt.Long);break;case"fullDate":S=we(_,dt.Full);break;case"shortTime":S=ee(_,dt.Short);break;case"mediumTime":S=ee(_,dt.Medium);break;case"longTime":S=ee(_,dt.Long);break;case"fullTime":S=ee(_,dt.Full);break;case"short":const H=$t(_,"shortTime"),me=$t(_,"shortDate");S=yn(le(_,dt.Short),[H,me]);break;case"medium":const Se=$t(_,"mediumTime"),$e=$t(_,"mediumDate");S=yn(le(_,dt.Medium),[Se,$e]);break;case"long":const Wt=$t(_,"longTime"),Jt=$t(_,"longDate");S=yn(le(_,dt.Long),[Wt,Jt]);break;case"full":const Ht=$t(_,"fullTime"),ht=$t(_,"fullDate");S=yn(le(_,dt.Full),[Ht,ht])}return S&&(Te[v][T]=S),S}function yn(_,T){return T&&(_=_.replace(/\{([^}]+)}/g,function(v,S){return null!=T&&S in T?T[S]:v})),_}function qt(_,T,v="-",S,H){let me="";(_<0||H&&_<=0)&&(H?_=1-_:(_=-_,me=v));let Se=String(_);for(;Se.length<T;)Se="0"+Se;return S&&(Se=Se.substr(Se.length-T)),me+Se}function ze(_,T,v=0,S=!1,H=!1){return function(me,Se){let $e=function(_,T){switch(_){case Ne.FullYear:return T.getFullYear();case Ne.Month:return T.getMonth();case Ne.Date:return T.getDate();case Ne.Hours:return T.getHours();case Ne.Minutes:return T.getMinutes();case Ne.Seconds:return T.getSeconds();case Ne.FractionalSeconds:return T.getMilliseconds();case Ne.Day:return T.getDay();default:throw new Error(`Unknown DateType value "${_}".`)}}(_,me);if((v>0||$e>-v)&&($e+=v),_===Ne.Hours)0===$e&&-12===v&&($e=12);else if(_===Ne.FractionalSeconds)return function(_,T){return qt(_,3).substr(0,T)}($e,T);const Wt=ke(Se,Be.MinusSign);return qt($e,T,Wt,S,H)}}function Nt(_,T,v=Mt.Format,S=!1){return function(H,me){return function(_,T,v,S,H,me){switch(v){case Re.Months:return function(_,T,v){const S=(0,E.cg1)(_),me=Qt([S[E.wAp.MonthsFormat],S[E.wAp.MonthsStandalone]],T);return Qt(me,v)}(T,H,S)[_.getMonth()];case Re.Days:return function(_,T,v){const S=(0,E.cg1)(_),me=Qt([S[E.wAp.DaysFormat],S[E.wAp.DaysStandalone]],T);return Qt(me,v)}(T,H,S)[_.getDay()];case Re.DayPeriods:const Se=_.getHours(),$e=_.getMinutes();if(me){const Jt=function(_){const T=(0,E.cg1)(_);return zn(T),(T[E.wAp.ExtraData][2]||[]).map(S=>"string"==typeof S?Or(S):[Or(S[0]),Or(S[1])])}(T),Ht=function(_,T,v){const S=(0,E.cg1)(_);zn(S);const me=Qt([S[E.wAp.ExtraData][0],S[E.wAp.ExtraData][1]],T)||[];return Qt(me,v)||[]}(T,H,S),ht=Jt.findIndex(rn=>{if(Array.isArray(rn)){const[Gt,Pn]=rn,bn=Se>=Gt.hours&&$e>=Gt.minutes,wr=Se<Pn.hours||Se===Pn.hours&&$e<Pn.minutes;if(Gt.hours<Pn.hours){if(bn&&wr)return!0}else if(bn||wr)return!0}else if(rn.hours===Se&&rn.minutes===$e)return!0;return!1});if(-1!==ht)return Ht[ht]}return function(_,T,v){const S=(0,E.cg1)(_),me=Qt([S[E.wAp.DayPeriodsFormat],S[E.wAp.DayPeriodsStandalone]],T);return Qt(me,v)}(T,H,S)[Se<12?0:1];case Re.Eras:return function(_,T){return Qt((0,E.cg1)(_)[E.wAp.Eras],T)}(T,S)[_.getFullYear()<=0?0:1];default:throw new Error(`unexpected translation type ${v}`)}}(H,me,_,T,v,S)}}function Ct(_){return function(T,v,S){const H=-1*S,me=ke(v,Be.MinusSign),Se=H>0?Math.floor(H/60):Math.ceil(H/60);switch(_){case Ve.Short:return(H>=0?"+":"")+qt(Se,2,me)+qt(Math.abs(H%60),2,me);case Ve.ShortGMT:return"GMT"+(H>=0?"+":"")+qt(Se,1,me);case Ve.Long:return"GMT"+(H>=0?"+":"")+qt(Se,2,me)+":"+qt(Math.abs(H%60),2,me);case Ve.Extended:return 0===S?"Z":(H>=0?"+":"")+qt(Se,2,me)+":"+qt(Math.abs(H%60),2,me);default:throw new Error(`Unknown zone width "${_}"`)}}}function Br(_){return mt(_.getFullYear(),_.getMonth(),_.getDate()+(4-_.getDay()))}function dn(_,T=!1){return function(v,S){let H;if(T){const me=new Date(v.getFullYear(),v.getMonth(),1).getDay()-1,Se=v.getDate();H=1+Math.floor((Se+me)/7)}else{const me=Br(v),Se=function(_){const T=mt(_,0,1).getDay();return mt(_,0,1+(T<=4?4:11)-T)}(me.getFullYear()),$e=me.getTime()-Se.getTime();H=1+Math.round($e/6048e5)}return qt(H,_,ke(S,Be.MinusSign))}}function sn(_,T=!1){return function(v,S){return qt(Br(v).getFullYear(),_,ke(S,Be.MinusSign),T)}}const xr={};function Nr(_,T){_=_.replace(/:/g,"");const v=Date.parse("Jan 01, 1970 00:00:00 "+_)/6e4;return isNaN(v)?T:v}function In(_){return _ instanceof Date&&!isNaN(_.valueOf())}const Et=/^(\d+)?\.((\d+)(-(\d+))?)?$/;function F(_){const T=parseInt(_);if(isNaN(T))throw new Error("Invalid integer literal when parsing "+_);return T}class x{}let ae=(()=>{class _ extends x{constructor(v){super(),this.locale=v}getPluralCategory(v,S){switch(nn(S||this.locale)(v)){case At.Zero:return"zero";case At.One:return"one";case At.Two:return"two";case At.Few:return"few";case At.Many:return"many";default:return"other"}}}return _.\u0275fac=function(v){return new(v||_)(E.LFG(E.soG))},_.\u0275prov=E.Yz7({token:_,factory:_.\u0275fac}),_})();function Ut(_,T){T=encodeURIComponent(T);for(const v of _.split(";")){const S=v.indexOf("="),[H,me]=-1==S?[v,""]:[v.slice(0,S),v.slice(S+1)];if(H.trim()===T)return decodeURIComponent(me)}return null}let ft=(()=>{class _{constructor(v,S,H,me){this._iterableDiffers=v,this._keyValueDiffers=S,this._ngEl=H,this._renderer=me,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}set klass(v){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof v?v.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}set ngClass(v){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof v?v.split(/\s+/):v,this._rawClass&&((0,E.sIi)(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}ngDoCheck(){if(this._iterableDiffer){const v=this._iterableDiffer.diff(this._rawClass);v&&this._applyIterableChanges(v)}else if(this._keyValueDiffer){const v=this._keyValueDiffer.diff(this._rawClass);v&&this._applyKeyValueChanges(v)}}_applyKeyValueChanges(v){v.forEachAddedItem(S=>this._toggleClass(S.key,S.currentValue)),v.forEachChangedItem(S=>this._toggleClass(S.key,S.currentValue)),v.forEachRemovedItem(S=>{S.previousValue&&this._toggleClass(S.key,!1)})}_applyIterableChanges(v){v.forEachAddedItem(S=>{if("string"!=typeof S.item)throw new Error(`NgClass can only toggle CSS classes expressed as strings, got ${(0,E.AaK)(S.item)}`);this._toggleClass(S.item,!0)}),v.forEachRemovedItem(S=>this._toggleClass(S.item,!1))}_applyClasses(v){v&&(Array.isArray(v)||v instanceof Set?v.forEach(S=>this._toggleClass(S,!0)):Object.keys(v).forEach(S=>this._toggleClass(S,!!v[S])))}_removeClasses(v){v&&(Array.isArray(v)||v instanceof Set?v.forEach(S=>this._toggleClass(S,!1)):Object.keys(v).forEach(S=>this._toggleClass(S,!1)))}_toggleClass(v,S){(v=v.trim())&&v.split(/\s+/g).forEach(H=>{S?this._renderer.addClass(this._ngEl.nativeElement,H):this._renderer.removeClass(this._ngEl.nativeElement,H)})}}return _.\u0275fac=function(v){return new(v||_)(E.Y36(E.ZZ4),E.Y36(E.aQg),E.Y36(E.SBq),E.Y36(E.Qsj))},_.\u0275dir=E.lG2({type:_,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"}}),_})(),fn=(()=>{class _{constructor(v){this._viewContainerRef=v,this._componentRef=null,this._moduleRef=null}ngOnChanges(v){if(this._viewContainerRef.clear(),this._componentRef=null,this.ngComponentOutlet){const S=this.ngComponentOutletInjector||this._viewContainerRef.parentInjector;if(v.ngComponentOutletNgModuleFactory)if(this._moduleRef&&this._moduleRef.destroy(),this.ngComponentOutletNgModuleFactory){const Se=S.get(E.h0i);this._moduleRef=this.ngComponentOutletNgModuleFactory.create(Se.injector)}else this._moduleRef=null;const me=(this._moduleRef?this._moduleRef.componentFactoryResolver:S.get(E._Vd)).resolveComponentFactory(this.ngComponentOutlet);this._componentRef=this._viewContainerRef.createComponent(me,this._viewContainerRef.length,S,this.ngComponentOutletContent)}}ngOnDestroy(){this._moduleRef&&this._moduleRef.destroy()}}return _.\u0275fac=function(v){return new(v||_)(E.Y36(E.s_b))},_.\u0275dir=E.lG2({type:_,selectors:[["","ngComponentOutlet",""]],inputs:{ngComponentOutlet:"ngComponentOutlet",ngComponentOutletInjector:"ngComponentOutletInjector",ngComponentOutletContent:"ngComponentOutletContent",ngComponentOutletNgModuleFactory:"ngComponentOutletNgModuleFactory"},features:[E.TTD]}),_})();class lr{constructor(T,v,S,H){this.$implicit=T,this.ngForOf=v,this.index=S,this.count=H}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 Dn=(()=>{class _{constructor(v,S,H){this._viewContainer=v,this._template=S,this._differs=H,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForOf(v){this._ngForOf=v,this._ngForOfDirty=!0}set ngForTrackBy(v){this._trackByFn=v}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(v){v&&(this._template=v)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const v=this._ngForOf;if(!this._differ&&v)try{this._differ=this._differs.find(v).create(this.ngForTrackBy)}catch(S){throw new Error(`Cannot find a differ supporting object '${v}' of type '${function(_){return _.name||typeof _}(v)}'. NgFor only supports binding to Iterables such as Arrays.`)}}if(this._differ){const v=this._differ.diff(this._ngForOf);v&&this._applyChanges(v)}}_applyChanges(v){const S=[];v.forEachOperation((H,me,Se)=>{if(null==H.previousIndex){const $e=this._viewContainer.createEmbeddedView(this._template,new lr(null,this._ngForOf,-1,-1),null===Se?void 0:Se),Wt=new Pt(H,$e);S.push(Wt)}else if(null==Se)this._viewContainer.remove(null===me?void 0:me);else if(null!==me){const $e=this._viewContainer.get(me);this._viewContainer.move($e,Se);const Wt=new Pt(H,$e);S.push(Wt)}});for(let H=0;H<S.length;H++)this._perViewChange(S[H].view,S[H].record);for(let H=0,me=this._viewContainer.length;H<me;H++){const Se=this._viewContainer.get(H);Se.context.index=H,Se.context.count=me,Se.context.ngForOf=this._ngForOf}v.forEachIdentityChange(H=>{this._viewContainer.get(H.currentIndex).context.$implicit=H.item})}_perViewChange(v,S){v.context.$implicit=S.item}static ngTemplateContextGuard(v,S){return!0}}return _.\u0275fac=function(v){return new(v||_)(E.Y36(E.s_b),E.Y36(E.Rgc),E.Y36(E.ZZ4))},_.\u0275dir=E.lG2({type:_,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}}),_})();class Pt{constructor(T,v){this.record=T,this.view=v}}let gr=(()=>{class _{constructor(v,S){this._viewContainer=v,this._context=new Dr,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=S}set ngIf(v){this._context.$implicit=this._context.ngIf=v,this._updateView()}set ngIfThen(v){Zr("ngIfThen",v),this._thenTemplateRef=v,this._thenViewRef=null,this._updateView()}set ngIfElse(v){Zr("ngIfElse",v),this._elseTemplateRef=v,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(v,S){return!0}}return _.\u0275fac=function(v){return new(v||_)(E.Y36(E.s_b),E.Y36(E.Rgc))},_.\u0275dir=E.lG2({type:_,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}}),_})();class Dr{constructor(){this.$implicit=null,this.ngIf=null}}function Zr(_,T){if(T&&!T.createEmbeddedView)throw new Error(`${_} must be a TemplateRef, but received '${(0,E.AaK)(T)}'.`)}class Fr{constructor(T,v){this._viewContainerRef=T,this._templateRef=v,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(T){T&&!this._created?this.create():!T&&this._created&&this.destroy()}}let En=(()=>{class _{constructor(){this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(v){this._ngSwitch=v,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(v){this._defaultViews||(this._defaultViews=[]),this._defaultViews.push(v)}_matchCase(v){const S=v==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||S,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),S}_updateDefaultCases(v){if(this._defaultViews&&v!==this._defaultUsed){this._defaultUsed=v;for(let S=0;S<this._defaultViews.length;S++)this._defaultViews[S].enforceState(v)}}}return _.\u0275fac=function(v){return new(v||_)},_.\u0275dir=E.lG2({type:_,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"}}),_})(),Mn=(()=>{class _{constructor(v,S,H){this.ngSwitch=H,H._addCase(),this._view=new Fr(v,S)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}return _.\u0275fac=function(v){return new(v||_)(E.Y36(E.s_b),E.Y36(E.Rgc),E.Y36(En,9))},_.\u0275dir=E.lG2({type:_,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"}}),_})(),on=(()=>{class _{constructor(v,S,H){H._addDefault(new Fr(v,S))}}return _.\u0275fac=function(v){return new(v||_)(E.Y36(E.s_b),E.Y36(E.Rgc),E.Y36(En,9))},_.\u0275dir=E.lG2({type:_,selectors:[["","ngSwitchDefault",""]]}),_})(),kr=(()=>{class _{constructor(v,S,H){this._ngEl=v,this._differs=S,this._renderer=H,this._ngStyle=null,this._differ=null}set ngStyle(v){this._ngStyle=v,!this._differ&&v&&(this._differ=this._differs.find(v).create())}ngDoCheck(){if(this._differ){const v=this._differ.diff(this._ngStyle);v&&this._applyChanges(v)}}_setStyle(v,S){const[H,me]=v.split(".");null!=(S=null!=S&&me?`${S}${me}`:S)?this._renderer.setStyle(this._ngEl.nativeElement,H,S):this._renderer.removeStyle(this._ngEl.nativeElement,H)}_applyChanges(v){v.forEachRemovedItem(S=>this._setStyle(S.key,null)),v.forEachAddedItem(S=>this._setStyle(S.key,S.currentValue)),v.forEachChangedItem(S=>this._setStyle(S.key,S.currentValue))}}return _.\u0275fac=function(v){return new(v||_)(E.Y36(E.SBq),E.Y36(E.aQg),E.Y36(E.Qsj))},_.\u0275dir=E.lG2({type:_,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}}),_})(),Jr=(()=>{class _{constructor(v){this._viewContainerRef=v,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null}ngOnChanges(v){if(v.ngTemplateOutlet){const S=this._viewContainerRef;this._viewRef&&S.remove(S.indexOf(this._viewRef)),this._viewRef=this.ngTemplateOutlet?S.createEmbeddedView(this.ngTemplateOutlet,this.ngTemplateOutletContext):null}else this._viewRef&&v.ngTemplateOutletContext&&this.ngTemplateOutletContext&&(this._viewRef.context=this.ngTemplateOutletContext)}}return _.\u0275fac=function(v){return new(v||_)(E.Y36(E.s_b))},_.\u0275dir=E.lG2({type:_,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet"},features:[E.TTD]}),_})();function Zt(_,T){return Error(`InvalidPipeArgument: '${T}' for pipe '${(0,E.AaK)(_)}'`)}class Oi{createSubscription(T,v){return T.subscribe({next:v,error:S=>{throw S}})}dispose(T){T.unsubscribe()}onDestroy(T){T.unsubscribe()}}class fs{createSubscription(T,v){return T.then(v,S=>{throw S})}dispose(T){}onDestroy(T){}}const oi=new fs,ai=new Oi;let Rs=(()=>{class _{constructor(v){this._ref=v,this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null}ngOnDestroy(){this._subscription&&this._dispose()}transform(v){return this._obj?v!==this._obj?(this._dispose(),this.transform(v)):this._latestValue:(v&&this._subscribe(v),this._latestValue)}_subscribe(v){this._obj=v,this._strategy=this._selectStrategy(v),this._subscription=this._strategy.createSubscription(v,S=>this._updateLatestValue(v,S))}_selectStrategy(v){if((0,E.QGY)(v))return oi;if((0,E.F4k)(v))return ai;throw Zt(_,v)}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(v,S){v===this._obj&&(this._latestValue=S,this._ref.markForCheck())}}return _.\u0275fac=function(v){return new(v||_)(E.Y36(E.sBO,16))},_.\u0275pipe=E.Yjl({name:"async",type:_,pure:!1}),_})();const Ni=new E.OlP("DATE_PIPE_DEFAULT_TIMEZONE");let ui=(()=>{class _{constructor(v,S){this.locale=v,this.defaultTimezone=S}transform(v,S="mediumDate",H,me){var Se;if(null==v||""===v||v!=v)return null;try{return _t(v,S,me||this.locale,null!=(Se=null!=H?H:this.defaultTimezone)?Se:void 0)}catch($e){throw Zt(_,$e.message)}}}return _.\u0275fac=function(v){return new(v||_)(E.Y36(E.soG,16),E.Y36(Ni,24))},_.\u0275pipe=E.Yjl({name:"date",type:_,pure:!0}),_})(),di=(()=>{class _{transform(v){return JSON.stringify(v,null,2)}}return _.\u0275fac=function(v){return new(v||_)},_.\u0275pipe=E.Yjl({name:"json",type:_,pure:!1}),_})(),Xr=(()=>{class _{constructor(v){this.differs=v,this.keyValues=[],this.compareFn=Li}transform(v,S=Li){if(!v||!(v instanceof Map)&&"object"!=typeof v)return null;this.differ||(this.differ=this.differs.find(v).create());const H=this.differ.diff(v),me=S!==this.compareFn;return H&&(this.keyValues=[],H.forEachItem(Se=>{this.keyValues.push(function(_,T){return{key:_,value:T}}(Se.key,Se.currentValue))})),(H||me)&&(this.keyValues.sort(S),this.compareFn=S),this.keyValues}}return _.\u0275fac=function(v){return new(v||_)(E.Y36(E.aQg,16))},_.\u0275pipe=E.Yjl({name:"keyvalue",type:_,pure:!1}),_})();function Li(_,T){const v=_.key,S=T.key;if(v===S)return 0;if(void 0===v)return 1;if(void 0===S)return-1;if(null===v)return 1;if(null===S)return-1;if("string"==typeof v&&"string"==typeof S)return v<S?-1:1;if("number"==typeof v&&"number"==typeof S)return v-S;if("boolean"==typeof v&&"boolean"==typeof S)return v<S?-1:1;const H=String(v),me=String(S);return H==me?0:H<me?-1:1}let hs=(()=>{class _{constructor(v){this._locale=v}transform(v,S,H){if(!function(_){return!(null==_||""===_||_!=_)}(v))return null;H=H||this._locale;try{return function(_,T,v){return function(_,T,v,S,H,me,Se=!1){let $e="",Wt=!1;if(isFinite(_)){let Jt=function(_){let S,H,me,Se,$e,T=Math.abs(_)+"",v=0;for((H=T.indexOf("."))>-1&&(T=T.replace(".","")),(me=T.search(/e/i))>0?(H<0&&(H=me),H+=+T.slice(me+1),T=T.substring(0,me)):H<0&&(H=T.length),me=0;"0"===T.charAt(me);me++);if(me===($e=T.length))S=[0],H=1;else{for($e--;"0"===T.charAt($e);)$e--;for(H-=me,S=[],Se=0;me<=$e;me++,Se++)S[Se]=Number(T.charAt(me))}return H>22&&(S=S.splice(0,21),v=H-1,H=1),{digits:S,exponent:v,integerLen:H}}(_);Se&&(Jt=function(_){if(0===_.digits[0])return _;const T=_.digits.length-_.integerLen;return _.exponent?_.exponent+=2:(0===T?_.digits.push(0,0):1===T&&_.digits.push(0),_.integerLen+=2),_}(Jt));let Ht=T.minInt,ht=T.minFrac,rn=T.maxFrac;if(me){const et=me.match(Et);if(null===et)throw new Error(`${me} is not a valid digit info`);const Ui=et[1],Zs=et[3],yi=et[5];null!=Ui&&(Ht=F(Ui)),null!=Zs&&(ht=F(Zs)),null!=yi?rn=F(yi):null!=Zs&&ht>rn&&(rn=ht)}!function(_,T,v){if(T>v)throw new Error(`The minimum number of digits after fraction (${T}) is higher than the maximum (${v}).`);let S=_.digits,H=S.length-_.integerLen;const me=Math.min(Math.max(T,H),v);let Se=me+_.integerLen,$e=S[Se];if(Se>0){S.splice(Math.max(_.integerLen,Se));for(let ht=Se;ht<S.length;ht++)S[ht]=0}else{H=Math.max(0,H),_.integerLen=1,S.length=Math.max(1,Se=me+1),S[0]=0;for(let ht=1;ht<Se;ht++)S[ht]=0}if($e>=5)if(Se-1<0){for(let ht=0;ht>Se;ht--)S.unshift(0),_.integerLen++;S.unshift(1),_.integerLen++}else S[Se-1]++;for(;H<Math.max(0,me);H++)S.push(0);let Wt=0!==me;const Jt=T+_.integerLen,Ht=S.reduceRight(function(ht,rn,Gt,Pn){return Pn[Gt]=(rn+=ht)<10?rn:rn-10,Wt&&(0===Pn[Gt]&&Gt>=Jt?Pn.pop():Wt=!1),rn>=10?1:0},0);Ht&&(S.unshift(Ht),_.integerLen++)}(Jt,ht,rn);let Gt=Jt.digits,Pn=Jt.integerLen;const bn=Jt.exponent;let wr=[];for(Wt=Gt.every(et=>!et);Pn<Ht;Pn++)Gt.unshift(0);for(;Pn<0;Pn++)Gt.unshift(0);Pn>0?wr=Gt.splice(Pn,Gt.length):(wr=Gt,Gt=[0]);const Tr=[];for(Gt.length>=T.lgSize&&Tr.unshift(Gt.splice(-T.lgSize,Gt.length).join(""));Gt.length>T.gSize;)Tr.unshift(Gt.splice(-T.gSize,Gt.length).join(""));Gt.length&&Tr.unshift(Gt.join("")),$e=Tr.join(ke(v,S)),wr.length&&($e+=ke(v,H)+wr.join("")),bn&&($e+=ke(v,Be.Exponential)+"+"+bn)}else $e=ke(v,Be.Infinity);return $e=_<0&&!Wt?T.negPre+$e+T.negSuf:T.posPre+$e+T.posSuf,$e}(_,function(_,T="-"){const v={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},S=_.split(";"),H=S[0],me=S[1],Se=-1!==H.indexOf(".")?H.split("."):[H.substring(0,H.lastIndexOf("0")+1),H.substring(H.lastIndexOf("0")+1)],$e=Se[0],Wt=Se[1]||"";v.posPre=$e.substr(0,$e.indexOf("#"));for(let Ht=0;Ht<Wt.length;Ht++){const ht=Wt.charAt(Ht);"0"===ht?v.minFrac=v.maxFrac=Ht+1:"#"===ht?v.maxFrac=Ht+1:v.posSuf+=ht}const Jt=$e.split(",");if(v.gSize=Jt[1]?Jt[1].length:0,v.lgSize=Jt[2]||Jt[1]?(Jt[2]||Jt[1]).length:0,me){const Ht=H.length-v.posPre.length-v.posSuf.length,ht=me.indexOf("#");v.negPre=me.substr(0,ht).replace(/'/g,""),v.negSuf=me.substr(ht+Ht).replace(/'/g,"")}else v.negPre=T+v.posPre,v.negSuf=v.posSuf;return v}(function(_,T){return(0,E.cg1)(_)[E.wAp.NumberFormats][T]}(T,ct.Decimal),ke(T,Be.MinusSign)),T,Be.Group,Be.Decimal,v)}(function(_){if("string"==typeof _&&!isNaN(Number(_)-parseFloat(_)))return Number(_);if("number"!=typeof _)throw new Error(`${_} is not a number`);return _}(v),H,S)}catch(me){throw Zt(_,me.message)}}}return _.\u0275fac=function(v){return new(v||_)(E.Y36(E.soG,16))},_.\u0275pipe=E.Yjl({name:"number",type:_,pure:!0}),_})();let br=(()=>{class _{transform(v,S,H){if(null==v)return null;if(!this.supports(v))throw Zt(_,v);return v.slice(S,H)}supports(v){return"string"==typeof v||Array.isArray(v)}}return _.\u0275fac=function(v){return new(v||_)},_.\u0275pipe=E.Yjl({name:"slice",type:_,pure:!1}),_})(),ps=(()=>{class _{}return _.\u0275fac=function(v){return new(v||_)},_.\u0275mod=E.oAB({type:_}),_.\u0275inj=E.cJS({providers:[{provide:x,useClass:ae}]}),_})();const ur="browser";function Os(_){return _===ur}let gi=(()=>{class _{}return _.\u0275prov=(0,E.Yz7)({token:_,providedIn:"root",factory:()=>new es((0,E.LFG)(re),window)}),_})();class es{constructor(T,v){this.document=T,this.window=v,this.offset=()=>[0,0]}setOffset(T){this.offset=Array.isArray(T)?()=>T:T}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(T){this.supportsScrolling()&&this.window.scrollTo(T[0],T[1])}scrollToAnchor(T){if(!this.supportsScrolling())return;const v=function(_,T){const v=_.getElementById(T)||_.getElementsByName(T)[0];if(v)return v;if("function"==typeof _.createTreeWalker&&_.body&&(_.body.createShadowRoot||_.body.attachShadow)){const S=_.createTreeWalker(_.body,NodeFilter.SHOW_ELEMENT);let H=S.currentNode;for(;H;){const me=H.shadowRoot;if(me){const Se=me.getElementById(T)||me.querySelector(`[name="${T}"]`);if(Se)return Se}H=S.nextNode()}}return null}(this.document,T);v&&(this.scrollToElement(v),this.attemptFocus(v))}setHistoryScrollRestoration(T){if(this.supportScrollRestoration()){const v=this.window.history;v&&v.scrollRestoration&&(v.scrollRestoration=T)}}scrollToElement(T){const v=T.getBoundingClientRect(),S=v.left+this.window.pageXOffset,H=v.top+this.window.pageYOffset,me=this.offset();this.window.scrollTo(S-me[0],H-me[1])}attemptFocus(T){return T.focus(),this.document.activeElement===T}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const T=Hr(this.window.history)||Hr(Object.getPrototypeOf(this.window.history));return!(!T||!T.writable&&!T.set)}catch(T){return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch(T){return!1}}}function Hr(_){return Object.getOwnPropertyDescriptor(_,"scrollRestoration")}class Bi{}},4522:(He,de,I)=>{I.d(de,{TP:()=>sr,eN:()=>Be,JF:()=>Qt,WM:()=>K});var E=I(6019),g=I(6079),oe=I(2411),fe=I(5548),J=I(6700),V=I(8735),re=I(8053);class ne{}class G{}class K{constructor(Y){this.normalizedNames=new Map,this.lazyUpdate=null,Y?this.lazyInit="string"==typeof Y?()=>{this.headers=new Map,Y.split("\n").forEach(Q=>{const Te=Q.indexOf(":");if(Te>0){const Pe=Q.slice(0,Te),Ve=Pe.toLowerCase(),Ne=Q.slice(Te+1).trim();this.maybeSetNormalizedName(Pe,Ve),this.headers.has(Ve)?this.headers.get(Ve).push(Ne):this.headers.set(Ve,[Ne])}})}:()=>{this.headers=new Map,Object.keys(Y).forEach(Q=>{let Te=Y[Q];const Pe=Q.toLowerCase();"string"==typeof Te&&(Te=[Te]),Te.length>0&&(this.headers.set(Pe,Te),this.maybeSetNormalizedName(Q,Pe))})}:this.headers=new Map}has(Y){return this.init(),this.headers.has(Y.toLowerCase())}get(Y){this.init();const Q=this.headers.get(Y.toLowerCase());return Q&&Q.length>0?Q[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(Y){return this.init(),this.headers.get(Y.toLowerCase())||null}append(Y,Q){return this.clone({name:Y,value:Q,op:"a"})}set(Y,Q){return this.clone({name:Y,value:Q,op:"s"})}delete(Y,Q){return this.clone({name:Y,value:Q,op:"d"})}maybeSetNormalizedName(Y,Q){this.normalizedNames.has(Q)||this.normalizedNames.set(Q,Y)}init(){this.lazyInit&&(this.lazyInit instanceof K?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(Y=>this.applyUpdate(Y)),this.lazyUpdate=null))}copyFrom(Y){Y.init(),Array.from(Y.headers.keys()).forEach(Q=>{this.headers.set(Q,Y.headers.get(Q)),this.normalizedNames.set(Q,Y.normalizedNames.get(Q))})}clone(Y){const Q=new K;return Q.lazyInit=this.lazyInit&&this.lazyInit instanceof K?this.lazyInit:this,Q.lazyUpdate=(this.lazyUpdate||[]).concat([Y]),Q}applyUpdate(Y){const Q=Y.name.toLowerCase();switch(Y.op){case"a":case"s":let Te=Y.value;if("string"==typeof Te&&(Te=[Te]),0===Te.length)return;this.maybeSetNormalizedName(Y.name,Q);const Pe=("a"===Y.op?this.headers.get(Q):void 0)||[];Pe.push(...Te),this.headers.set(Q,Pe);break;case"d":const Ve=Y.value;if(Ve){let Ne=this.headers.get(Q);if(!Ne)return;Ne=Ne.filter(Re=>-1===Ve.indexOf(Re)),0===Ne.length?(this.headers.delete(Q),this.normalizedNames.delete(Q)):this.headers.set(Q,Ne)}else this.headers.delete(Q),this.normalizedNames.delete(Q)}}forEach(Y){this.init(),Array.from(this.normalizedNames.keys()).forEach(Q=>Y(this.normalizedNames.get(Q),this.headers.get(Q)))}}class B{encodeKey(Y){return te(Y)}encodeValue(Y){return te(Y)}decodeKey(Y){return decodeURIComponent(Y)}decodeValue(Y){return decodeURIComponent(Y)}}const ve=/%(\d[a-f0-9])/gi,Ie={40:"@","3A":":",24:"$","2C":",","3B":";","2B":"+","3D":"=","3F":"?","2F":"/"};function te(De){return encodeURIComponent(De).replace(ve,(Y,Q)=>{var Te;return null!=(Te=Ie[Q])?Te:Y})}function he(De){return`${De}`}class Ae{constructor(Y={}){if(this.updates=null,this.cloneFrom=null,this.encoder=Y.encoder||new B,Y.fromString){if(Y.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function(De,Y){const Q=new Map;return De.length>0&&De.replace(/^\?/,"").split("&").forEach(Pe=>{const Ve=Pe.indexOf("="),[Ne,Re]=-1==Ve?[Y.decodeKey(Pe),""]:[Y.decodeKey(Pe.slice(0,Ve)),Y.decodeValue(Pe.slice(Ve+1))],_t=Q.get(Ne)||[];_t.push(Re),Q.set(Ne,_t)}),Q}(Y.fromString,this.encoder)}else Y.fromObject?(this.map=new Map,Object.keys(Y.fromObject).forEach(Q=>{const Te=Y.fromObject[Q];this.map.set(Q,Array.isArray(Te)?Te:[Te])})):this.map=null}has(Y){return this.init(),this.map.has(Y)}get(Y){this.init();const Q=this.map.get(Y);return Q?Q[0]:null}getAll(Y){return this.init(),this.map.get(Y)||null}keys(){return this.init(),Array.from(this.map.keys())}append(Y,Q){return this.clone({param:Y,value:Q,op:"a"})}appendAll(Y){const Q=[];return Object.keys(Y).forEach(Te=>{const Pe=Y[Te];Array.isArray(Pe)?Pe.forEach(Ve=>{Q.push({param:Te,value:Ve,op:"a"})}):Q.push({param:Te,value:Pe,op:"a"})}),this.clone(Q)}set(Y,Q){return this.clone({param:Y,value:Q,op:"s"})}delete(Y,Q){return this.clone({param:Y,value:Q,op:"d"})}toString(){return this.init(),this.keys().map(Y=>{const Q=this.encoder.encodeKey(Y);return this.map.get(Y).map(Te=>Q+"="+this.encoder.encodeValue(Te)).join("&")}).filter(Y=>""!==Y).join("&")}clone(Y){const Q=new Ae({encoder:this.encoder});return Q.cloneFrom=this.cloneFrom||this,Q.updates=(this.updates||[]).concat(Y),Q}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(Y=>this.map.set(Y,this.cloneFrom.map.get(Y))),this.updates.forEach(Y=>{switch(Y.op){case"a":case"s":const Q=("a"===Y.op?this.map.get(Y.param):void 0)||[];Q.push(he(Y.value)),this.map.set(Y.param,Q);break;case"d":if(void 0===Y.value){this.map.delete(Y.param);break}{let Te=this.map.get(Y.param)||[];const Pe=Te.indexOf(he(Y.value));-1!==Pe&&Te.splice(Pe,1),Te.length>0?this.map.set(Y.param,Te):this.map.delete(Y.param)}}}),this.cloneFrom=this.updates=null)}}class Ue{constructor(){this.map=new Map}set(Y,Q){return this.map.set(Y,Q),this}get(Y){return this.map.has(Y)||this.map.set(Y,Y.defaultValue()),this.map.get(Y)}delete(Y){return this.map.delete(Y),this}keys(){return this.map.keys()}}function ye(De){return"undefined"!=typeof ArrayBuffer&&De instanceof ArrayBuffer}function be(De){return"undefined"!=typeof Blob&&De instanceof Blob}function Ze(De){return"undefined"!=typeof FormData&&De instanceof FormData}class bt{constructor(Y,Q,Te,Pe){let Ve;if(this.url=Q,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=Y.toUpperCase(),function(De){switch(De){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||Pe?(this.body=void 0!==Te?Te:null,Ve=Pe):Ve=Te,Ve&&(this.reportProgress=!!Ve.reportProgress,this.withCredentials=!!Ve.withCredentials,Ve.responseType&&(this.responseType=Ve.responseType),Ve.headers&&(this.headers=Ve.headers),Ve.context&&(this.context=Ve.context),Ve.params&&(this.params=Ve.params)),this.headers||(this.headers=new K),this.context||(this.context=new Ue),this.params){const Ne=this.params.toString();if(0===Ne.length)this.urlWithParams=Q;else{const Re=Q.indexOf("?");this.urlWithParams=Q+(-1===Re?"?":Re<Q.length-1?"&":"")+Ne}}else this.params=new Ae,this.urlWithParams=Q}serializeBody(){return null===this.body?null:ye(this.body)||be(this.body)||Ze(this.body)||"undefined"!=typeof URLSearchParams&&this.body instanceof URLSearchParams||"string"==typeof this.body?this.body:this.body instanceof Ae?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||Ze(this.body)?null:be(this.body)?this.body.type||null:ye(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof Ae?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||"boolean"==typeof this.body?"application/json":null}clone(Y={}){var yn;const Q=Y.method||this.method,Te=Y.url||this.url,Pe=Y.responseType||this.responseType,Ve=void 0!==Y.body?Y.body:this.body,Ne=void 0!==Y.withCredentials?Y.withCredentials:this.withCredentials,Re=void 0!==Y.reportProgress?Y.reportProgress:this.reportProgress;let _t=Y.headers||this.headers,mt=Y.params||this.params;const $t=null!=(yn=Y.context)?yn:this.context;return void 0!==Y.setHeaders&&(_t=Object.keys(Y.setHeaders).reduce((qt,Ot)=>qt.set(Ot,Y.setHeaders[Ot]),_t)),Y.setParams&&(mt=Object.keys(Y.setParams).reduce((qt,Ot)=>qt.set(Ot,Y.setParams[Ot]),mt)),new bt(Q,Te,Ve,{params:mt,headers:_t,context:$t,reportProgress:Re,responseType:Pe,withCredentials:Ne})}}var It=(()=>((It=It||{})[It.Sent=0]="Sent",It[It.UploadProgress=1]="UploadProgress",It[It.ResponseHeader=2]="ResponseHeader",It[It.DownloadProgress=3]="DownloadProgress",It[It.Response=4]="Response",It[It.User=5]="User",It))();class ct{constructor(Y,Q=200,Te="OK"){this.headers=Y.headers||new K,this.status=void 0!==Y.status?Y.status:Q,this.statusText=Y.statusText||Te,this.url=Y.url||null,this.ok=this.status>=200&&this.status<300}}class At extends ct{constructor(Y={}){super(Y),this.type=It.ResponseHeader}clone(Y={}){return new At({headers:Y.headers||this.headers,status:void 0!==Y.status?Y.status:this.status,statusText:Y.statusText||this.statusText,url:Y.url||this.url||void 0})}}class Mt extends ct{constructor(Y={}){super(Y),this.type=It.Response,this.body=void 0!==Y.body?Y.body:null}clone(Y={}){return new Mt({body:void 0!==Y.body?Y.body:this.body,headers:Y.headers||this.headers,status:void 0!==Y.status?Y.status:this.status,statusText:Y.statusText||this.statusText,url:Y.url||this.url||void 0})}}class at extends ct{constructor(Y){super(Y,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${Y.url||"(unknown url)"}`:`Http failure response for ${Y.url||"(unknown url)"}: ${Y.status} ${Y.statusText}`,this.error=Y.error||null}}function dt(De,Y){return{body:Y,headers:De.headers,context:De.context,observe:De.observe,params:De.params,reportProgress:De.reportProgress,responseType:De.responseType,withCredentials:De.withCredentials}}let Be=(()=>{class De{constructor(Q){this.handler=Q}request(Q,Te,Pe={}){let Ve;if(Q instanceof bt)Ve=Q;else{let _t,mt;_t=Pe.headers instanceof K?Pe.headers:new K(Pe.headers),Pe.params&&(mt=Pe.params instanceof Ae?Pe.params:new Ae({fromObject:Pe.params})),Ve=new bt(Q,Te,void 0!==Pe.body?Pe.body:null,{headers:_t,context:Pe.context,params:mt,reportProgress:Pe.reportProgress,responseType:Pe.responseType||"json",withCredentials:Pe.withCredentials})}const Ne=(0,oe.of)(Ve).pipe((0,J.b)(_t=>this.handler.handle(_t)));if(Q instanceof bt||"events"===Pe.observe)return Ne;const Re=Ne.pipe((0,V.h)(_t=>_t instanceof Mt));switch(Pe.observe||"body"){case"body":switch(Ve.responseType){case"arraybuffer":return Re.pipe((0,re.U)(_t=>{if(null!==_t.body&&!(_t.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return _t.body}));case"blob":return Re.pipe((0,re.U)(_t=>{if(null!==_t.body&&!(_t.body instanceof Blob))throw new Error("Response is not a Blob.");return _t.body}));case"text":return Re.pipe((0,re.U)(_t=>{if(null!==_t.body&&"string"!=typeof _t.body)throw new Error("Response is not a string.");return _t.body}));default:return Re.pipe((0,re.U)(_t=>_t.body))}case"response":return Re;default:throw new Error(`Unreachable: unhandled observe type ${Pe.observe}}`)}}delete(Q,Te={}){return this.request("DELETE",Q,Te)}get(Q,Te={}){return this.request("GET",Q,Te)}head(Q,Te={}){return this.request("HEAD",Q,Te)}jsonp(Q,Te){return this.request("JSONP",Q,{params:(new Ae).append(Te,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(Q,Te={}){return this.request("OPTIONS",Q,Te)}patch(Q,Te,Pe={}){return this.request("PATCH",Q,dt(Pe,Te))}post(Q,Te,Pe={}){return this.request("POST",Q,dt(Pe,Te))}put(Q,Te,Pe={}){return this.request("PUT",Q,dt(Pe,Te))}}return De.\u0275fac=function(Q){return new(Q||De)(g.LFG(ne))},De.\u0275prov=g.Yz7({token:De,factory:De.\u0275fac}),De})();class hr{constructor(Y,Q){this.next=Y,this.interceptor=Q}handle(Y){return this.interceptor.intercept(Y,this.next)}}const sr=new g.OlP("HTTP_INTERCEPTORS");let Cn=(()=>{class De{intercept(Q,Te){return Te.handle(Q)}}return De.\u0275fac=function(Q){return new(Q||De)},De.\u0275prov=g.Yz7({token:De,factory:De.\u0275fac}),De})();const le=/^\)\]\}',?\n/;let je=(()=>{class De{constructor(Q){this.xhrFactory=Q}handle(Q){if("JSONP"===Q.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new fe.y(Te=>{const Pe=this.xhrFactory.build();if(Pe.open(Q.method,Q.urlWithParams),Q.withCredentials&&(Pe.withCredentials=!0),Q.headers.forEach((Ot,ze)=>Pe.setRequestHeader(Ot,ze.join(","))),Q.headers.has("Accept")||Pe.setRequestHeader("Accept","application/json, text/plain, */*"),!Q.headers.has("Content-Type")){const Ot=Q.detectContentTypeHeader();null!==Ot&&Pe.setRequestHeader("Content-Type",Ot)}if(Q.responseType){const Ot=Q.responseType.toLowerCase();Pe.responseType="json"!==Ot?Ot:"text"}const Ve=Q.serializeBody();let Ne=null;const Re=()=>{if(null!==Ne)return Ne;const Ot=1223===Pe.status?204:Pe.status,ze=Pe.statusText||"OK",an=new K(Pe.getAllResponseHeaders()),Nt=function(De){return"responseURL"in De&&De.responseURL?De.responseURL:/^X-Request-URL:/m.test(De.getAllResponseHeaders())?De.getResponseHeader("X-Request-URL"):null}(Pe)||Q.url;return Ne=new At({headers:an,status:Ot,statusText:ze,url:Nt}),Ne},_t=()=>{let{headers:Ot,status:ze,statusText:an,url:Nt}=Re(),Xt=null;204!==ze&&(Xt=void 0===Pe.response?Pe.responseText:Pe.response),0===ze&&(ze=Xt?200:0);let Ct=ze>=200&&ze<300;if("json"===Q.responseType&&"string"==typeof Xt){const Cr=Xt;Xt=Xt.replace(le,"");try{Xt=""!==Xt?JSON.parse(Xt):null}catch(jt){Xt=Cr,Ct&&(Ct=!1,Xt={error:jt,text:Xt})}}Ct?(Te.next(new Mt({body:Xt,headers:Ot,status:ze,statusText:an,url:Nt||void 0})),Te.complete()):Te.error(new at({error:Xt,headers:Ot,status:ze,statusText:an,url:Nt||void 0}))},mt=Ot=>{const{url:ze}=Re(),an=new at({error:Ot,status:Pe.status||0,statusText:Pe.statusText||"Unknown Error",url:ze||void 0});Te.error(an)};let $t=!1;const yn=Ot=>{$t||(Te.next(Re()),$t=!0);let ze={type:It.DownloadProgress,loaded:Ot.loaded};Ot.lengthComputable&&(ze.total=Ot.total),"text"===Q.responseType&&!!Pe.responseText&&(ze.partialText=Pe.responseText),Te.next(ze)},qt=Ot=>{let ze={type:It.UploadProgress,loaded:Ot.loaded};Ot.lengthComputable&&(ze.total=Ot.total),Te.next(ze)};return Pe.addEventListener("load",_t),Pe.addEventListener("error",mt),Pe.addEventListener("timeout",mt),Pe.addEventListener("abort",mt),Q.reportProgress&&(Pe.addEventListener("progress",yn),null!==Ve&&Pe.upload&&Pe.upload.addEventListener("progress",qt)),Pe.send(Ve),Te.next({type:It.Sent}),()=>{Pe.removeEventListener("error",mt),Pe.removeEventListener("abort",mt),Pe.removeEventListener("load",_t),Pe.removeEventListener("timeout",mt),Q.reportProgress&&(Pe.removeEventListener("progress",yn),null!==Ve&&Pe.upload&&Pe.upload.removeEventListener("progress",qt)),Pe.readyState!==Pe.DONE&&Pe.abort()}})}}return De.\u0275fac=function(Q){return new(Q||De)(g.LFG(E.JF))},De.\u0275prov=g.Yz7({token:De,factory:De.\u0275fac}),De})();const un=new g.OlP("XSRF_COOKIE_NAME"),tn=new g.OlP("XSRF_HEADER_NAME");class wt{}let gn=(()=>{class De{constructor(Q,Te,Pe){this.doc=Q,this.platform=Te,this.cookieName=Pe,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const Q=this.doc.cookie||"";return Q!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,E.Mx)(Q,this.cookieName),this.lastCookieString=Q),this.lastToken}}return De.\u0275fac=function(Q){return new(Q||De)(g.LFG(E.K0),g.LFG(g.Lbi),g.LFG(un))},De.\u0275prov=g.Yz7({token:De,factory:De.\u0275fac}),De})(),nn=(()=>{class De{constructor(Q,Te){this.tokenService=Q,this.headerName=Te}intercept(Q,Te){const Pe=Q.url.toLowerCase();if("GET"===Q.method||"HEAD"===Q.method||Pe.startsWith("http://")||Pe.startsWith("https://"))return Te.handle(Q);const Ve=this.tokenService.getToken();return null!==Ve&&!Q.headers.has(this.headerName)&&(Q=Q.clone({headers:Q.headers.set(this.headerName,Ve)})),Te.handle(Q)}}return De.\u0275fac=function(Q){return new(Q||De)(g.LFG(wt),g.LFG(tn))},De.\u0275prov=g.Yz7({token:De,factory:De.\u0275fac}),De})(),zn=(()=>{class De{constructor(Q,Te){this.backend=Q,this.injector=Te,this.chain=null}handle(Q){if(null===this.chain){const Te=this.injector.get(sr,[]);this.chain=Te.reduceRight((Pe,Ve)=>new hr(Pe,Ve),this.backend)}return this.chain.handle(Q)}}return De.\u0275fac=function(Q){return new(Q||De)(g.LFG(G),g.LFG(g.zs3))},De.\u0275prov=g.Yz7({token:De,factory:De.\u0275fac}),De})(),Fn=(()=>{class De{static disable(){return{ngModule:De,providers:[{provide:nn,useClass:Cn}]}}static withOptions(Q={}){return{ngModule:De,providers:[Q.cookieName?{provide:un,useValue:Q.cookieName}:[],Q.headerName?{provide:tn,useValue:Q.headerName}:[]]}}}return De.\u0275fac=function(Q){return new(Q||De)},De.\u0275mod=g.oAB({type:De}),De.\u0275inj=g.cJS({providers:[nn,{provide:sr,useExisting:nn,multi:!0},{provide:wt,useClass:gn},{provide:un,useValue:"XSRF-TOKEN"},{provide:tn,useValue:"X-XSRF-TOKEN"}]}),De})(),Qt=(()=>{class De{}return De.\u0275fac=function(Q){return new(Q||De)},De.\u0275mod=g.oAB({type:De}),De.\u0275inj=g.cJS({providers:[Be,{provide:ne,useClass:zn},je,{provide:G,useExisting:je}],imports:[[Fn.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]]}),De})()},6079:(He,de,I)=>{I.d(de,{deG:()=>y_,tb:()=>ny,AFp:()=>Xm,ip1:()=>ld,CZH:()=>$o,hGG:()=>oT,z2F:()=>Ba,sBO:()=>Rw,Sil:()=>dd,_Vd:()=>Vo,EJc:()=>sy,SBq:()=>zs,qLn:()=>go,vpe:()=>Ws,gxx:()=>Co,tBr:()=>co,XFs:()=>Ke,OlP:()=>On,zs3:()=>vn,ZZ4:()=>$l,aQg:()=>zl,soG:()=>Bl,YKP:()=>im,h0i:()=>Zi,PXZ:()=>Dw,R0b:()=>qr,FiY:()=>Xs,Lbi:()=>ty,g9A:()=>ey,n_E:()=>ka,Qsj:()=>Ub,FYo:()=>xl,JOm:()=>Bs,Tiy:()=>Gc,q3G:()=>xn,tp0:()=>Ii,Rgc:()=>La,dDg:()=>uy,GfV:()=>tm,s_b:()=>kl,ifc:()=>mt,eFA:()=>py,G48:()=>gw,Gpc:()=>Ie,f3M:()=>R_,X6Q:()=>md,_c5:()=>Xw,VLi:()=>pw,c2e:()=>ry,zSh:()=>Da,wAp:()=>ut,vHH:()=>Oe,EiD:()=>_f,mCW:()=>pa,qzn:()=>po,JVY:()=>K_,pB0:()=>Z_,eBb:()=>Q_,L6k:()=>Y_,LAX:()=>q_,cg1:()=>Vc,Tjo:()=>Uw,kL8:()=>bg,yhl:()=>cf,dqk:()=>ze,sIi:()=>Ta,CqO:()=>Sc,QGY:()=>Tc,F4k:()=>Pp,RDi:()=>mi,AaK:()=>B,z3N:()=>ei,qOj:()=>dc,TTD:()=>ps,_Bn:()=>qg,xp6:()=>rh,uIk:()=>pc,Tol:()=>Jp,Gre:()=>hg,ekj:()=>Oc,Suo:()=>Rm,Xpm:()=>kn,lG2:()=>Ln,Yz7:()=>je,cJS:()=>tn,oAB:()=>Xn,Yjl:()=>pr,Y36:()=>Ia,_UZ:()=>Ap,GkF:()=>Mp,BQk:()=>wc,ynx:()=>bc,qZA:()=>Dc,TgZ:()=>Cc,EpF:()=>Rp,n5z:()=>rs,Ikx:()=>kc,LFG:()=>Yn,$8M:()=>Ar,$Z:()=>Ip,NdJ:()=>Ic,CRH:()=>Pm,kcU:()=>Gn,O4$:()=>Tn,oxw:()=>Np,ALo:()=>Em,lcZ:()=>vm,xi3:()=>Cm,Dn7:()=>Dm,Hsn:()=>kp,F$t:()=>Fp,Q6J:()=>Ec,s9C:()=>Rc,MGl:()=>wl,DdM:()=>lm,VKq:()=>um,WLB:()=>cm,kEZ:()=>dm,l5B:()=>fm,qbA:()=>hm,iGM:()=>Am,MAs:()=>gp,CHM:()=>Xo,oJD:()=>Ef,LSH:()=>Cu,kYT:()=>In,Udp:()=>Pc,WFA:()=>Ac,d8E:()=>Lc,YNc:()=>pp,W1O:()=>Fm,_uU:()=>ig,Oqu:()=>Nc,hij:()=>Sl,AsE:()=>Fc,Gf:()=>Mm});var E=I(3405),g=I(1346),oe=I(5548),fe=I(8526),J=I(6087),V=I(5234);function re(){return new E.xQ}function G(e){for(let t in e)if(e[t]===G)return t;throw Error("Could not find renamed property on target object.")}function K(e,t){for(const n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function B(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(B).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 ue(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const ve=G({__forward_ref__:G});function Ie(e){return e.__forward_ref__=Ie,e.toString=function(){return B(this())},e}function te(e){return he(e)?e():e}function he(e){return"function"==typeof e&&e.hasOwnProperty(ve)&&e.__forward_ref__===Ie}class Oe extends Error{constructor(t,n){super(function(e,t){return`${e?`NG0${e}: `:""}${t}`}(t,n)),this.code=t}}function ye(e){return"string"==typeof e?e:null==e?"":String(e)}function be(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():ye(e)}function It(e,t){const n=t?` in ${t}`:"";throw new Oe("201",`No provider for ${be(e)} found${n}`)}function pe(e,t){null==e&&function(e,t,n,r){throw new Error(`ASSERTION ERROR: ${e}`+(null==r?"":` [Expected=> ${n} ${r} ${t} <=Actual]`))}(t,e,null,"!=")}function je(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function tn(e){return{providers:e.providers||[],imports:e.imports||[]}}function wt(e){return gn(e,Hn)||gn(e,Qt)}function gn(e,t){return e.hasOwnProperty(t)?e[t]:null}function or(e){return e&&(e.hasOwnProperty(Fn)||e.hasOwnProperty(Or))?e[Fn]:null}const Hn=G({\u0275prov:G}),Fn=G({\u0275inj:G}),Qt=G({ngInjectableDef:G}),Or=G({ngInjectorDef:G});var Ke=(()=>((Ke=Ke||{})[Ke.Default=0]="Default",Ke[Ke.Host=1]="Host",Ke[Ke.Self=2]="Self",Ke[Ke.SkipSelf=4]="SkipSelf",Ke[Ke.Optional=8]="Optional",Ke))();let De;function Q(e){const t=De;return De=e,t}function Te(e,t,n){const r=wt(e);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:n&Ke.Optional?null:void 0!==t?t:void It(B(e),"Injector")}function Ve(e){return{toString:e}.toString()}var Ne=(()=>((Ne=Ne||{})[Ne.OnPush=0]="OnPush",Ne[Ne.Default=1]="Default",Ne))(),mt=(()=>{return(e=mt||(mt={}))[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",mt;var e})();const $t="undefined"!=typeof globalThis&&globalThis,yn="undefined"!=typeof window&&window,qt="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,ze=$t||"undefined"!=typeof global&&global||yn||qt,Xt={},Ct=[],Cr=G({\u0275cmp:G}),jt=G({\u0275dir:G}),cn=G({\u0275pipe:G}),Br=G({\u0275mod:G}),dn=G({\u0275fac:G}),sn=G({__NG_ELEMENT_ID__:G});let xr=0;function kn(e){return Ve(()=>{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===Ne.OnPush,directiveDefs:null,pipeDefs:null,selectors:e.selectors||Ct,viewQuery:e.viewQuery||null,features:e.features||null,data:e.data||{},encapsulation:e.encapsulation||mt.Emulated,id:"c",styles:e.styles||Ct,_:null,setInput:null,schemas:e.schemas||null,tView:null},s=e.directives,i=e.features,o=e.pipes;return r.id+=xr++,r.inputs=Et(e.inputs,n),r.outputs=Et(e.outputs),i&&i.forEach(a=>a(r)),r.directiveDefs=s?()=>("function"==typeof s?s():s).map(Wn):null,r.pipeDefs=o?()=>("function"==typeof o?o():o).map(Jn):null,r})}function Wn(e){return Rt(e)||function(e){return e[jt]||null}(e)}function Jn(e){return function(e){return e[cn]||null}(e)}const Ur={};function Xn(e){return Ve(()=>{const t={type:e.type,bootstrap:e.bootstrap||Ct,declarations:e.declarations||Ct,imports:e.imports||Ct,exports:e.exports||Ct,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null};return null!=e.id&&(Ur[e.id]=e.type),t})}function In(e,t){return Ve(()=>{const n=_n(e,!0);n.declarations=t.declarations||Ct,n.imports=t.imports||Ct,n.exports=t.exports||Ct})}function Et(e,t){if(null==e)return Xt;const n={};for(const r in e)if(e.hasOwnProperty(r)){let s=e[r],i=s;Array.isArray(s)&&(i=s[1],s=s[0]),n[s]=r,t&&(t[s]=i)}return n}const Ln=kn;function pr(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,onDestroy:e.type.prototype.ngOnDestroy||null}}function Rt(e){return e[Cr]||null}function _n(e,t){const n=e[Br]||null;if(!n&&!0===t)throw new Error(`Type ${B(e)} does not have '\u0275mod' property.`);return n}const x=11;function $n(e){return Array.isArray(e)&&"object"==typeof e[1]}function er(e){return Array.isArray(e)&&!0===e[1]}function kr(e){return 0!=(8&e.flags)}function Jr(e){return 2==(2&e.flags)}function ds(e){return 1==(1&e.flags)}function Zt(e){return null!==e.template}function Oi(e){return 0!=(512&e[2])}function br(e,t){return e.hasOwnProperty(dn)?e[dn]:null}class Vi{constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}}function ps(){return ur}function ur(e){return e.type.prototype.ngOnChanges&&(e.setInput=Lr),Qs}function Qs(){const e=Os(this),t=null==e?void 0:e.current;if(t){const n=e.previous;if(n===Xt)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function Lr(e,t,n,r){const s=Os(e)||function(e,t){return e[gs]=t}(e,{previous:Xt,current:null}),i=s.current||(s.current={}),o=s.previous,a=this.declaredInputs[n],f=o[a];i[a]=new Vi(f&&f.currentValue,t,o===Xt),e[r]=t}ps.ngInherit=!0;const gs="__ngSimpleChanges__";function Os(e){return e[gs]||null}const gi="http://www.w3.org/2000/svg";let Hr;function mi(e){Hr=e}function qs(){return void 0!==Hr?Hr:"undefined"!=typeof document?document:void 0}function _(e){return!!e.listen}const T={createRenderer:(e,t)=>qs()};function S(e){for(;Array.isArray(e);)e=e[0];return e}function Se(e,t){return S(t[e])}function $e(e,t){return S(t[e.index])}function Jt(e,t){return e.data[t]}function Ht(e,t){return e[t]}function ht(e,t){const n=t[e];return $n(n)?n:n[0]}function rn(e){return 4==(4&e[2])}function Gt(e){return 128==(128&e[2])}function bn(e,t){return null==t?null:e[t]}function wr(e){e[18]=0}function Tr(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 et={lFrame:vi(null),bindingsEnabled:!0,isInCheckNoChangesMode:!1};function _i(){return et.bindingsEnabled}function Me(){return et.lFrame.lView}function Ft(){return et.lFrame.tView}function Xo(e){return et.lFrame.contextLView=e,e[8]}function b(){let e=l();for(;null!==e&&64===e.type;)e=e.parent;return e}function l(){return et.lFrame.currentTNode}function p(e,t){const n=et.lFrame;n.currentTNode=e,n.isParent=t}function w(){return et.lFrame.isParent}function R(){et.lFrame.isParent=!1}function se(){return et.isInCheckNoChangesMode}function Ee(e){et.isInCheckNoChangesMode=e}function xe(){const e=et.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function Tt(){return et.lFrame.bindingIndex++}function qe(e){const t=et.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function hn(e,t){const n=et.lFrame;n.bindingIndex=n.bindingRootIndex=e,Un(t)}function Un(e){et.lFrame.currentDirectiveIndex=e}function wn(e){const t=et.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}function ms(){return et.lFrame.currentQueryIndex}function cr(e){et.lFrame.currentQueryIndex=e}function tr(e){const t=e[1];return 2===t.type?t.declTNode:1===t.type?e[6]:null}function Sr(e,t,n){if(n&Ke.SkipSelf){let s=t,i=e;for(;!(s=s.parent,null!==s||n&Ke.Host||(s=tr(i),null===s||(i=i[15],10&s.type))););if(null===s)return!1;t=s,e=i}const r=et.lFrame=Ir();return r.currentTNode=t,r.lView=e,!0}function dr(e){const t=Ir(),n=e[1];et.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function Ir(){const e=et.lFrame,t=null===e?null:e.child;return null===t?vi(e):t}function vi(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 Ns(){const e=et.lFrame;return et.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const ts=Ns;function Js(){const e=Ns();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 Ge(){return et.lFrame.selectedIndex}function nt(e){et.lFrame.selectedIndex=e}function tt(){const e=et.lFrame;return Jt(e.tView,e.selectedIndex)}function Tn(){et.lFrame.currentNamespace=gi}function Gn(){et.lFrame.currentNamespace=null}function fr(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n<r;n++){const i=e.data[n].type.prototype,{ngAfterContentInit:o,ngAfterContentChecked:a,ngAfterViewInit:f,ngAfterViewChecked:m,ngOnDestroy:D}=i;o&&(e.contentHooks||(e.contentHooks=[])).push(-n,o),a&&((e.contentHooks||(e.contentHooks=[])).push(n,a),(e.contentCheckHooks||(e.contentCheckHooks=[])).push(n,a)),f&&(e.viewHooks||(e.viewHooks=[])).push(-n,f),m&&((e.viewHooks||(e.viewHooks=[])).push(n,m),(e.viewCheckHooks||(e.viewCheckHooks=[])).push(n,m)),null!=D&&(e.destroyHooks||(e.destroyHooks=[])).push(n,D)}}function $r(e,t,n){jn(e,t,3,n)}function ys(e,t,n,r){(3&e[2])===n&&jn(e,t,n,r)}function zr(e,t){let n=e[2];(3&n)===t&&(n&=2047,n+=1,e[2]=n)}function jn(e,t,n,r){const i=null!=r?r:-1,o=t.length-1;let a=0;for(let f=void 0!==r?65535&e[18]:0;f<o;f++)if("number"==typeof t[f+1]){if(a=t[f],null!=r&&a>=r)break}else t[f]<0&&(e[18]+=65536),(a<i||-1==i)&&(tu(e,n,t,f),e[18]=(4294901760&e[18])+f+2),f++}function tu(e,t,n,r){const s=n[r]<0,i=n[r+1],a=e[s?-n[r]:n[r]];if(s){if(e[2]>>11<e[18]>>16&&(3&e[2])===t){e[2]+=2048;try{i.call(a)}finally{}}}else try{i.call(a)}finally{}}class Fs{constructor(t,n,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}}function bi(e,t,n){const r=_(e);let s=0;for(;s<n.length;){const i=n[s];if("number"==typeof i){if(0!==i)break;s++;const o=n[s++],a=n[s++],f=n[s++];r?e.setAttribute(t,a,f,o):t.setAttributeNS(o,a,f)}else{const o=i,a=n[++s];_s(o)?r&&e.setProperty(t,o,a):r?e.setAttribute(t,o,a):t.setAttribute(o,a),s++}}return s}function iu(e){return 3===e||4===e||6===e}function _s(e){return 64===e.charCodeAt(0)}function ji(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 s=t[r];"number"==typeof s?n=s:0===n||Xa(e,n,s,null,-1===n||2===n?t[++r]:null)}}return e}function Xa(e,t,n,r,s){let i=0,o=e.length;if(-1===t)o=-1;else for(;i<e.length;){const a=e[i++];if("number"==typeof a){if(a===t){o=-1;break}if(a>t){o=i-1;break}}}for(;i<e.length;){const a=e[i];if("number"==typeof a)break;if(a===n){if(null===r)return void(null!==s&&(e[i+1]=s));if(r===e[i+1])return void(e[i+2]=s)}i++,null!==r&&i++,null!==s&&i++}-1!==o&&(e.splice(o,0,t),i=o+1),e.splice(i++,0,n),null!==r&&e.splice(i++,0,r),null!==s&&e.splice(i++,0,s)}function el(e){return-1!==e}function wi(e){return 32767&e}function Ti(e,t){let n=function(e){return e>>16}(e),r=t;for(;n>0;)r=r[15],n--;return r}let na=!0;function Hi(e){const t=na;return na=e,t}let ra=0;function $i(e,t){const n=sa(e,t);if(-1!==n)return n;const r=t[1];r.firstCreatePass&&(e.injectorIndex=t.length,oo(r.data,e),oo(t,null),oo(r.blueprint,null));const s=ia(e,t),i=e.injectorIndex;if(el(s)){const o=wi(s),a=Ti(s,t),f=a[1].data;for(let m=0;m<8;m++)t[i+m]=a[o+m]|f[o+m]}return t[i+8]=s,i}function oo(e,t){e.push(0,0,0,0,0,0,0,0,t)}function sa(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function ia(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=0,r=null,s=t;for(;null!==s;){const i=s[1],o=i.type;if(r=2===o?i.declTNode:1===o?s[6]:null,null===r)return-1;if(n++,s=s[15],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return-1}function h(e,t,n){!function(e,t,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(sn)&&(r=n[sn]),null==r&&(r=n[sn]=ra++);const s=255&r;t.data[e+(s>>5)]|=1<<s}(e,t,n)}function c(e,t,n){if(n&Ke.Optional)return e;It(t,"NodeInjector")}function y(e,t,n,r){if(n&Ke.Optional&&void 0===r&&(r=null),0==(n&(Ke.Self|Ke.Host))){const s=e[9],i=Q(void 0);try{return s?s.get(t,r,n&Ke.Optional):Te(t,r,n&Ke.Optional)}finally{Q(i)}}return c(r,t,n)}function C(e,t,n,r=Ke.Default,s){if(null!==e){const i=function(e){if("string"==typeof e)return e.charCodeAt(0)||0;const t=e.hasOwnProperty(sn)?e[sn]:void 0;return"number"==typeof t?t>=0?255&t:k:t}(n);if("function"==typeof i){if(!Sr(t,e,r))return r&Ke.Host?c(s,n,r):y(t,n,r,s);try{const o=i(r);if(null!=o||r&Ke.Optional)return o;It(n)}finally{ts()}}else if("number"==typeof i){let o=null,a=sa(e,t),f=-1,m=r&Ke.Host?t[16][6]:null;for((-1===a||r&Ke.SkipSelf)&&(f=-1===a?ia(e,t):t[a+8],-1!==f&&Yt(r,!1)?(o=t[1],a=wi(f),t=Ti(f,t)):a=-1);-1!==a;){const D=t[1];if(st(i,a,D.data)){const M=z(a,t,n,o,r,m);if(M!==A)return M}f=t[a+8],-1!==f&&Yt(r,t[1].data[a+8]===m)&&st(i,a,t)?(o=D,a=wi(f),t=Ti(f,t)):a=-1}}}return y(t,n,r,s)}const A={};function k(){return new Lt(b(),Me())}function z(e,t,n,r,s,i){const o=t[1],a=o.data[e+8],D=_e(a,o,n,null==r?Jr(a)&&na:r!=o&&0!=(3&a.type),s&Ke.Host&&i===a);return null!==D?Ye(t,o,D,a):A}function _e(e,t,n,r,s){const i=e.providerIndexes,o=t.data,a=1048575&i,f=e.directiveStart,D=i>>20,P=s?a+D:e.directiveEnd;for(let U=r?a:a+D;U<P;U++){const q=o[U];if(U<f&&n===q||U>=f&&q.type===n)return U}if(s){const U=o[f];if(U&&Zt(U)&&U.type===n)return f}return null}function Ye(e,t,n,r){let s=e[n];const i=t.data;if(function(e){return e instanceof Fs}(s)){const o=s;o.resolving&&function(e,t){throw new Oe("200",`Circular dependency in DI detected for ${e}`)}(be(i[n]));const a=Hi(o.canSeeViewProviders);o.resolving=!0;const f=o.injectImpl?Q(o.injectImpl):null;Sr(e,r,Ke.Default);try{s=e[n]=o.factory(void 0,i,e,r),t.firstCreatePass&&n>=r.directiveStart&&function(e,t,n){const{ngOnChanges:r,ngOnInit:s,ngDoCheck:i}=t.type.prototype;if(r){const o=ur(t);(n.preOrderHooks||(n.preOrderHooks=[])).push(e,o),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,o)}s&&(n.preOrderHooks||(n.preOrderHooks=[])).push(0-e,s),i&&((n.preOrderHooks||(n.preOrderHooks=[])).push(e,i),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,i))}(n,i[n],t)}finally{null!==f&&Q(f),Hi(a),o.resolving=!1,ts()}}return s}function st(e,t,n){return!!(n[t+(e>>5)]&1<<e)}function Yt(e,t){return!(e&Ke.Self||e&Ke.Host&&t)}class Lt{constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return C(this._tNode,this._lView,t,r,n)}}function rs(e){return Ve(()=>{const t=e.prototype.constructor,n=t[dn]||Es(t),r=Object.prototype;let s=Object.getPrototypeOf(e.prototype).constructor;for(;s&&s!==r;){const i=s[dn]||Es(s);if(i&&i!==n)return i;s=Object.getPrototypeOf(s)}return i=>new i})}function Es(e){return he(e)?()=>{const t=Es(te(e));return t&&t()}:br(e)}function Ar(e){return function(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 s=0;for(;s<r;){const i=n[s];if(iu(i))break;if(0===i)s+=2;else if("number"==typeof i)for(s++;s<r&&"string"==typeof n[s];)s++;else{if(i===t)return n[s+1];s+=2}}}return null}(b(),e)}const ss="__parameters__";function zi(e,t,n){return Ve(()=>{const r=function(e){return function(...n){if(e){const r=e(...n);for(const s in r)this[s]=r[s]}}}(t);function s(...i){if(this instanceof s)return r.apply(this,i),this;const o=new s(...i);return a.annotation=o,a;function a(f,m,D){const M=f.hasOwnProperty(ss)?f[ss]:Object.defineProperty(f,ss,{value:[]})[ss];for(;M.length<=D;)M.push(null);return(M[D]=M[D]||[]).push(o),f}}return n&&(s.prototype=Object.create(n.prototype)),s.prototype.ngMetadataName=e,s.annotationCls=s,s})}class On{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=je({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}toString(){return`InjectionToken ${this._desc}`}}const y_=new On("AnalyzeForEntryComponents");function os(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)),os(r,t)):t!==e&&t.push(r)}return t}function ks(e,t){e.forEach(n=>Array.isArray(n)?ks(n,t):t(n))}function rl(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function Wi(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function Si(e,t){const n=[];for(let r=0;r<e;r++)n.push(t);return n}function Yr(e,t,n){let r=ao(e,t);return r>=0?e[1|r]=n:(r=~r,function(e,t,n,r){let s=e.length;if(s==t)e.push(n,r);else if(1===s)e.push(r,e[0]),e[0]=n;else{for(s--,e.push(e[s-1],e[s]);s>t;)e[s]=e[s-2],s--;e[t]=n,e[t+1]=r}}(e,r,t,n)),r}function uu(e,t){const n=ao(e,t);if(n>=0)return e[1|n]}function ao(e,t){return function(e,t,n){let r=0,s=e.length>>n;for(;s!==r;){const i=r+(s-r>>1),o=e[i<<n];if(t===o)return i<<n;o>t?s=i:r=i+1}return~(s<<n)}(e,t,1)}const ca={},du="__NG_DI_FLAG__",lo="ngTempTokenPath",I_=/\n/gm,fu="__source",hu=G({provide:String,useValue:G});let da;function uo(e){const t=da;return da=e,t}function M_(e,t=Ke.Default){if(void 0===da)throw new Error("inject() must be called from an injection context");return null===da?Te(e,void 0,t):da.get(e,t&Ke.Optional?null:void 0,t)}function Yn(e,t=Ke.Default){return(De||M_)(te(e),t)}const R_=Yn;function Gi(e){const t=[];for(let n=0;n<e.length;n++){const r=te(e[n]);if(Array.isArray(r)){if(0===r.length)throw new Error("Arguments array must have arguments.");let s,i=Ke.Default;for(let o=0;o<r.length;o++){const a=r[o],f=P_(a);"number"==typeof f?-1===f?s=a.token:i|=f:s=a}t.push(Yn(s,i))}else t.push(Yn(r))}return t}function fa(e,t){return e[du]=t,e.prototype[du]=t,e}function P_(e){return e[du]}function tf(e,t,n,r){const s=e[lo];throw t[fu]&&s.unshift(t[fu]),e.message=function(e,t,n,r=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.substr(2):e;let s=B(t);if(Array.isArray(t))s=t.map(B).join(" -> ");else if("object"==typeof t){let i=[];for(let o in t)if(t.hasOwnProperty(o)){let a=t[o];i.push(o+":"+("string"==typeof a?JSON.stringify(a):B(a)))}s=`{${i.join(", ")}}`}return`${n}${r?"("+r+")":""}[${s}]: ${e.replace(I_,"\n ")}`}("\n"+e.message,s,n,r),e.ngTokenPath=s,e[lo]=null,e}const co=fa(zi("Inject",e=>({token:e})),-1),Xs=fa(zi("Optional"),8),Ii=fa(zi("SkipSelf"),4);let al,ll;function ho(e){var t;return(null==(t=function(){if(void 0===al&&(al=null,ze.trustedTypes))try{al=ze.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch(e){}return al}())?void 0:t.createHTML(e))||e}function af(e){var t;return(null==(t=function(){if(void 0===ll&&(ll=null,ze.trustedTypes))try{ll=ze.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch(e){}return ll}())?void 0:t.createHTML(e))||e}class Ki{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see https://g.co/ng/security#xss)`}}class H_ extends Ki{getTypeName(){return"HTML"}}class $_ extends Ki{getTypeName(){return"Style"}}class z_ extends Ki{getTypeName(){return"Script"}}class W_ extends Ki{getTypeName(){return"URL"}}class G_ extends Ki{getTypeName(){return"ResourceURL"}}function ei(e){return e instanceof Ki?e.changingThisBreaksApplicationSecurity:e}function po(e,t){const n=cf(e);if(null!=n&&n!==t){if("ResourceURL"===n&&"URL"===t)return!0;throw new Error(`Required a safe ${t}, got a ${n} (see https://g.co/ng/security#xss)`)}return n===t}function cf(e){return e instanceof Ki&&e.getTypeName()||null}function K_(e){return new H_(e)}function Y_(e){return new $_(e)}function Q_(e){return new z_(e)}function q_(e){return new W_(e)}function Z_(e){return new G_(e)}class J_{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{const n=(new window.DOMParser).parseFromString(ho(t),"text/html").body;return null===n?this.inertDocumentHelper.getInertBodyElement(t):(n.removeChild(n.firstChild),n)}catch(n){return null}}}class X_{constructor(t){if(this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),null==this.inertDocument.body){const n=this.inertDocument.createElement("html");this.inertDocument.appendChild(n);const r=this.inertDocument.createElement("body");n.appendChild(r)}}getInertBodyElement(t){const n=this.inertDocument.createElement("template");if("content"in n)return n.innerHTML=ho(t),n;const r=this.inertDocument.createElement("body");return r.innerHTML=ho(t),this.defaultDoc.documentMode&&this.stripCustomNsAttrs(r),r}stripCustomNsAttrs(t){const n=t.attributes;for(let s=n.length-1;0<s;s--){const o=n.item(s).name;("xmlns:ns1"===o||0===o.indexOf("ns1:"))&&t.removeAttribute(o)}let r=t.firstChild;for(;r;)r.nodeType===Node.ELEMENT_NODE&&this.stripCustomNsAttrs(r),r=r.nextSibling}}const tE=/^(?:(?:https?|mailto|ftp|tel|file|sms):|[^&:/?#]*(?:[/?#]|$))/gi,nE=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+\/]+=*$/i;function pa(e){return(e=String(e)).match(tE)||e.match(nE)?e:"unsafe:"+e}function Ls(e){const t={};for(const n of e.split(","))t[n]=!0;return t}function ga(...e){const t={};for(const n of e)for(const r in n)n.hasOwnProperty(r)&&(t[r]=!0);return t}const hf=Ls("area,br,col,hr,img,wbr"),pf=Ls("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),gf=Ls("rp,rt"),yu=ga(hf,ga(pf,Ls("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),ga(gf,Ls("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),ga(gf,pf)),_u=Ls("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Eu=Ls("srcset"),mf=ga(_u,Eu,Ls("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),Ls("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext")),rE=Ls("script,style,template");class sE{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(t){let n=t.firstChild,r=!0;for(;n;)if(n.nodeType===Node.ELEMENT_NODE?r=this.startElement(n):n.nodeType===Node.TEXT_NODE?this.chars(n.nodeValue):this.sanitizedSomething=!0,r&&n.firstChild)n=n.firstChild;else for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let s=this.checkClobberedElement(n,n.nextSibling);if(s){n=s;break}n=this.checkClobberedElement(n,n.parentNode)}return this.buf.join("")}startElement(t){const n=t.nodeName.toLowerCase();if(!yu.hasOwnProperty(n))return this.sanitizedSomething=!0,!rE.hasOwnProperty(n);this.buf.push("<"),this.buf.push(n);const r=t.attributes;for(let s=0;s<r.length;s++){const i=r.item(s),o=i.name,a=o.toLowerCase();if(!mf.hasOwnProperty(a)){this.sanitizedSomething=!0;continue}let f=i.value;_u[a]&&(f=pa(f)),Eu[a]&&(e=f,f=(e=String(e)).split(",").map(t=>pa(t.trim())).join(", ")),this.buf.push(" ",o,'="',yf(f),'"')}var e;return this.buf.push(">"),!0}endElement(t){const n=t.nodeName.toLowerCase();yu.hasOwnProperty(n)&&!hf.hasOwnProperty(n)&&(this.buf.push("</"),this.buf.push(n),this.buf.push(">"))}chars(t){this.buf.push(yf(t))}checkClobberedElement(t,n){if(n&&(t.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${t.outerHTML}`);return n}}const iE=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,oE=/([^\#-~ |!])/g;function yf(e){return e.replace(/&/g,"&").replace(iE,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(oE,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}let ul;function _f(e,t){let n=null;try{ul=ul||function(e){const t=new X_(e);return function(){try{return!!(new window.DOMParser).parseFromString(ho(""),"text/html")}catch(e){return!1}}()?new J_(t):t}(e);let r=t?String(t):"";n=ul.getInertBodyElement(r);let s=5,i=r;do{if(0===s)throw new Error("Failed to sanitize html because the input is unstable");s--,r=i,i=n.innerHTML,n=ul.getInertBodyElement(r)}while(r!==i);return ho((new sE).sanitizeChildren(vu(n)||n))}finally{if(n){const r=vu(n)||n;for(;r.firstChild;)r.removeChild(r.firstChild)}}}function vu(e){return"content"in e&&function(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var xn=(()=>((xn=xn||{})[xn.NONE=0]="NONE",xn[xn.HTML=1]="HTML",xn[xn.STYLE=2]="STYLE",xn[xn.SCRIPT=3]="SCRIPT",xn[xn.URL=4]="URL",xn[xn.RESOURCE_URL=5]="RESOURCE_URL",xn))();function Ef(e){const t=ma();return t?af(t.sanitize(xn.HTML,e)||""):po(e,"HTML")?af(ei(e)):_f(qs(),ye(e))}function Cu(e){const t=ma();return t?t.sanitize(xn.URL,e)||"":po(e,"URL")?ei(e):pa(ye(e))}function ma(){const e=Me();return e&&e[12]}const Df="__ngContext__";function yr(e,t){e[Df]=t}function bu(e){const t=function(e){return e[Df]||null}(e);return t?Array.isArray(t)?t:t.lView:null}function cl(e){return e.ngOriginalError}function bE(e,...t){e.error(...t)}class go{constructor(){this._console=console}handleError(t){const n=this._findOriginalError(t),r=this._findContext(t),s=(e=t)&&e.ngErrorLogger||bE;var e;s(this._console,"ERROR",t),n&&s(this._console,"ORIGINAL ERROR",n),r&&s(this._console,"ERROR CONTEXT",r)}_findContext(t){return t?t.ngDebugContext||this._findContext(cl(t)):null}_findOriginalError(t){let n=t&&cl(t);for(;n&&cl(n);)n=cl(n);return n||null}}const Pf=(()=>("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(ze))();function Vs(e){return e instanceof Function?e():e}var Bs=(()=>((Bs=Bs||{})[Bs.Important=1]="Important",Bs[Bs.DashCase=2]="DashCase",Bs))();function Su(e,t){return undefined(e,t)}function _a(e){const t=e[3];return er(t)?t[3]:t}function Iu(e){return kf(e[13])}function Au(e){return kf(e[4])}function kf(e){for(;null!==e&&!er(e);)e=e[4];return e}function yo(e,t,n,r,s){if(null!=r){let i,o=!1;er(r)?i=r:$n(r)&&(o=!0,r=r[0]);const a=S(r);0===e&&null!==n?null==s?Hf(t,n,a):Yi(t,n,a,s||null,!0):1===e&&null!==n?Yi(t,n,a,s||null,!0):2===e?function(e,t,n){const r=fl(e,t);r&&function(e,t,n,r){_(e)?e.removeChild(t,n,r):t.removeChild(n)}(e,r,t,n)}(t,a,o):3===e&&t.destroyNode(a),null!=i&&function(e,t,n,r,s){const i=n[7];i!==S(n)&&yo(t,e,r,i,s);for(let a=10;a<n.length;a++){const f=n[a];Ea(f[1],f,e,t,r,i)}}(t,e,i,n,s)}}function Ru(e,t,n){return _(e)?e.createElement(t,n):null===n?e.createElement(t):e.createElementNS(n,t)}function Vf(e,t){const n=e[9],r=n.indexOf(t),s=t[3];1024&t[2]&&(t[2]&=-1025,Tr(s,-1)),n.splice(r,1)}function Pu(e,t){if(e.length<=10)return;const n=10+t,r=e[n];if(r){const s=r[17];null!==s&&s!==e&&Vf(s,r),t>0&&(e[n-1][4]=r[4]);const i=Wi(e,10+t);!function(e,t){Ea(e,t,t[x],2,null,null),t[0]=null,t[6]=null}(r[1],r);const o=i[19];null!==o&&o.detachView(i[1]),r[3]=null,r[4]=null,r[2]&=-129}return r}function Bf(e,t){if(!(256&t[2])){const n=t[x];_(n)&&n.destroyNode&&Ea(e,t,n,3,null,null),function(e){let t=e[13];if(!t)return Ou(e[1],e);for(;t;){let n=null;if($n(t))n=t[13];else{const r=t[10];r&&(n=r)}if(!n){for(;t&&!t[4]&&t!==e;)$n(t)&&Ou(t[1],t),t=t[3];null===t&&(t=e),$n(t)&&Ou(t[1],t),n=t&&t[4]}t=n}}(t)}}function Ou(e,t){if(!(256&t[2])){t[2]&=-129,t[2]|=256,function(e,t){let n;if(null!=e&&null!=(n=e.destroyHooks))for(let r=0;r<n.length;r+=2){const s=t[n[r]];if(!(s instanceof Fs)){const i=n[r+1];if(Array.isArray(i))for(let o=0;o<i.length;o+=2){const a=s[i[o]],f=i[o+1];try{f.call(a)}finally{}}else try{i.call(s)}finally{}}}}(e,t),function(e,t){const n=e.cleanup,r=t[7];let s=-1;if(null!==n)for(let i=0;i<n.length-1;i+=2)if("string"==typeof n[i]){const o=n[i+1],a="function"==typeof o?o(t):S(t[o]),f=r[s=n[i+2]],m=n[i+3];"boolean"==typeof m?a.removeEventListener(n[i],f,m):m>=0?r[s=m]():r[s=-m].unsubscribe(),i+=2}else{const o=r[s=n[i+1]];n[i].call(o)}if(null!==r){for(let i=s+1;i<r.length;i++)r[i]();t[7]=null}}(e,t),1===t[1].type&&_(t[x])&&t[x].destroy();const n=t[17];if(null!==n&&er(t[3])){n!==t[3]&&Vf(n,t);const r=t[19];null!==r&&r.detachView(e)}}}function Uf(e,t,n){return function(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 s=e.data[r.directiveStart].encapsulation;if(s===mt.None||s===mt.Emulated)return null}return $e(r,n)}(e,t.parent,n)}function Yi(e,t,n,r,s){_(e)?e.insertBefore(t,n,r,s):t.insertBefore(n,r,s)}function Hf(e,t,n){_(e)?e.appendChild(t,n):t.appendChild(n)}function $f(e,t,n,r,s){null!==r?Yi(e,t,n,r,s):Hf(e,t,n)}function fl(e,t){return _(e)?e.parentNode(t):t.parentNode}function zf(e,t,n){return Gf(e,t,n)}let Gf=function(e,t,n){return 40&e.type?$e(e,n):null};function hl(e,t,n,r){const s=Uf(e,r,t),i=t[x],a=zf(r.parent||t[6],r,t);if(null!=s)if(Array.isArray(n))for(let f=0;f<n.length;f++)$f(i,s,n[f],a,!1);else $f(i,s,n,a,!1)}function pl(e,t){if(null!==t){const n=t.type;if(3&n)return $e(t,e);if(4&n)return Nu(-1,e[t.index]);if(8&n){const r=t.child;if(null!==r)return pl(e,r);{const s=e[t.index];return er(s)?Nu(-1,s):S(s)}}if(32&n)return Su(t,e)()||S(e[t.index]);{const r=Yf(e,t);return null!==r?Array.isArray(r)?r[0]:pl(_a(e[16]),r):pl(e,t.next)}}return null}function Yf(e,t){return null!==t?e[16][6].projection[t.projection]:null}function Nu(e,t){const n=10+e+1;if(n<t.length){const r=t[n],s=r[1].firstChild;if(null!==s)return pl(r,s)}return t[7]}function Fu(e,t,n,r,s,i,o){for(;null!=n;){const a=r[n.index],f=n.type;if(o&&0===t&&(a&&yr(S(a),r),n.flags|=4),64!=(64&n.flags))if(8&f)Fu(e,t,n.child,r,s,i,!1),yo(t,e,s,a,i);else if(32&f){const m=Su(n,r);let D;for(;D=m();)yo(t,e,s,D,i);yo(t,e,s,a,i)}else 16&f?qf(e,t,r,n,s,i):yo(t,e,s,a,i);n=o?n.projectionNext:n.next}}function Ea(e,t,n,r,s,i){Fu(n,r,e.firstChild,t,s,i,!1)}function qf(e,t,n,r,s,i){const o=n[16],f=o[6].projection[r.projection];if(Array.isArray(f))for(let m=0;m<f.length;m++)yo(t,e,s,f[m],i);else Fu(e,t,f,o[3],s,i,!0)}function Zf(e,t,n){_(e)?e.setAttribute(t,"style",n):t.style.cssText=n}function ku(e,t,n){_(e)?""===n?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n):t.className=n}function Jf(e,t,n){let r=e.length;for(;;){const s=e.indexOf(t,n);if(-1===s)return s;if(0===s||e.charCodeAt(s-1)<=32){const i=t.length;if(s+i===r||e.charCodeAt(s+i)<=32)return s}n=s+1}}const Xf="ng-template";function QE(e,t,n){let r=0;for(;r<e.length;){let s=e[r++];if(n&&"class"===s){if(s=e[r],-1!==Jf(s.toLowerCase(),t,0))return!0}else if(1===s){for(;r<e.length&&"string"==typeof(s=e[r++]);)if(s.toLowerCase()===t)return!0;return!1}}return!1}function eh(e){return 4===e.type&&e.value!==Xf}function qE(e,t,n){return t===(4!==e.type||n?e.value:Xf)}function ZE(e,t,n){let r=4;const s=e.attrs||[],i=function(e){for(let t=0;t<e.length;t++)if(iu(e[t]))return t;return e.length}(s);let o=!1;for(let a=0;a<t.length;a++){const f=t[a];if("number"!=typeof f){if(!o)if(4&r){if(r=2|1&r,""!==f&&!qE(e,f,n)||""===f&&1===t.length){if(vs(r))return!1;o=!0}}else{const m=8&r?f:t[++a];if(8&r&&null!==e.attrs){if(!QE(e.attrs,m,n)){if(vs(r))return!1;o=!0}continue}const M=JE(8&r?"class":f,s,eh(e),n);if(-1===M){if(vs(r))return!1;o=!0;continue}if(""!==m){let P;P=M>i?"":s[M+1].toLowerCase();const U=8&r?P:null;if(U&&-1!==Jf(U,m,0)||2&r&&m!==P){if(vs(r))return!1;o=!0}}}}else{if(!o&&!vs(r)&&!vs(f))return!1;if(o&&vs(f))continue;o=!1,r=f|1&r}}return vs(r)||o}function vs(e){return 0==(1&e)}function JE(e,t,n,r){if(null===t)return-1;let s=0;if(r||!n){let i=!1;for(;s<t.length;){const o=t[s];if(o===e)return s;if(3===o||6===o)i=!0;else{if(1===o||2===o){let a=t[++s];for(;"string"==typeof a;)a=t[++s];continue}if(4===o)break;if(0===o){s+=4;continue}}s+=i?1:2}return-1}return function(e,t){let n=e.indexOf(4);if(n>-1)for(n++;n<e.length;){const r=e[n];if("number"==typeof r)return-1;if(r===t)return n;n++}return-1}(t,e)}function th(e,t,n=!1){for(let r=0;r<t.length;r++)if(ZE(e,t[r],n))return!0;return!1}function nv(e,t){e:for(let n=0;n<t.length;n++){const r=t[n];if(e.length===r.length){for(let s=0;s<e.length;s++)if(e[s]!==r[s])continue e;return!0}}return!1}function nh(e,t){return e?":not("+t.trim()+")":t}function rv(e){let t=e[0],n=1,r=2,s="",i=!1;for(;n<e.length;){let o=e[n];if("string"==typeof o)if(2&r){const a=e[++n];s+="["+o+(a.length>0?'="'+a+'"':"")+"]"}else 8&r?s+="."+o:4&r&&(s+=" "+o);else""!==s&&!vs(o)&&(t+=nh(i,s),s=""),r=o,i=i||!vs(r);n++}return""!==s&&(t+=nh(i,s)),t}const St={};function rh(e){sh(Ft(),Me(),Ge()+e,se())}function sh(e,t,n,r){if(!r)if(3==(3&t[2])){const i=e.preOrderCheckHooks;null!==i&&$r(t,i,n)}else{const i=e.preOrderHooks;null!==i&&ys(t,i,0,n)}nt(n)}function gl(e,t){return e<<17|t<<2}function Cs(e){return e>>17&32767}function Lu(e){return 2|e}function ti(e){return(131068&e)>>2}function Vu(e,t){return-131069&e|t<<2}function Bu(e){return 1|e}function gh(e,t){const n=e.contentQueries;if(null!==n)for(let r=0;r<n.length;r+=2){const s=n[r],i=n[r+1];if(-1!==i){const o=e.data[i];cr(s),o.contentQueries(2,t[i],i)}}}function va(e,t,n,r,s,i,o,a,f,m){const D=t.blueprint.slice();return D[0]=s,D[2]=140|r,wr(D),D[3]=D[15]=e,D[8]=n,D[10]=o||e&&e[10],D[x]=a||e&&e[x],D[12]=f||e&&e[12]||null,D[9]=m||e&&e[9]||null,D[6]=i,D[16]=2==t.type?e[16]:D,D}function _o(e,t,n,r,s){let i=e.data[t];if(null===i)i=function(e,t,n,r,s){const i=l(),o=w(),f=e.data[t]=function(e,t,n,r,s,i){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:s,attrs:i,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tViews:null,next:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,o?i:i&&i.parent,n,t,r,s);return null===e.firstChild&&(e.firstChild=f),null!==i&&(o?null==i.child&&null!==f.parent&&(i.child=f):null===i.next&&(i.next=f)),f}(e,t,n,r,s),et.lFrame.inI18n&&(i.flags|=64);else if(64&i.type){i.type=n,i.value=r,i.attrs=s;const o=function(){const e=et.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}();i.injectorIndex=null===o?-1:o.injectorIndex}return p(i,!0),i}function Eo(e,t,n,r){if(0===n)return-1;const s=t.length;for(let i=0;i<n;i++)t.push(r),e.blueprint.push(r),e.data.push(null);return s}function Ca(e,t,n){dr(t);try{const r=e.viewQuery;null!==r&&rc(1,r,n);const s=e.template;null!==s&&mh(e,t,s,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),e.staticContentQueries&&gh(e,t),e.staticViewQueries&&rc(2,e.viewQuery,n);const i=e.components;null!==i&&function(e,t){for(let n=0;n<t.length;n++)Bv(e,t[n])}(t,i)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[2]&=-5,Js()}}function vo(e,t,n,r){const s=t[2];if(256==(256&s))return;dr(t);const i=se();try{wr(t),function(e){et.lFrame.bindingIndex=e}(e.bindingStartIndex),null!==n&&mh(e,t,n,2,r);const o=3==(3&s);if(!i)if(o){const m=e.preOrderCheckHooks;null!==m&&$r(t,m,null)}else{const m=e.preOrderHooks;null!==m&&ys(t,m,0,null),zr(t,0)}if(function(e){for(let t=Iu(e);null!==t;t=Au(t)){if(!t[2])continue;const n=t[9];for(let r=0;r<n.length;r++){const s=n[r],i=s[3];0==(1024&s[2])&&Tr(i,1),s[2]|=1024}}}(t),function(e){for(let t=Iu(e);null!==t;t=Au(t))for(let n=10;n<t.length;n++){const r=t[n],s=r[1];Gt(r)&&vo(s,r,s.template,r[8])}}(t),null!==e.contentQueries&&gh(e,t),!i)if(o){const m=e.contentCheckHooks;null!==m&&$r(t,m)}else{const m=e.contentHooks;null!==m&&ys(t,m,1),zr(t,1)}!function(e,t){const n=e.hostBindingOpCodes;if(null!==n)try{for(let r=0;r<n.length;r++){const s=n[r];if(s<0)nt(~s);else{const i=s,o=n[++r],a=n[++r];hn(o,i),a(2,t[i])}}}finally{nt(-1)}}(e,t);const a=e.components;null!==a&&function(e,t){for(let n=0;n<t.length;n++)Vv(e,t[n])}(t,a);const f=e.viewQuery;if(null!==f&&rc(2,f,r),!i)if(o){const m=e.viewCheckHooks;null!==m&&$r(t,m)}else{const m=e.viewHooks;null!==m&&ys(t,m,2),zr(t,2)}!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),i||(t[2]&=-73),1024&t[2]&&(t[2]&=-1025,Tr(t[3],-1))}finally{Js()}}function Ev(e,t,n,r){const s=t[10],i=!se(),o=rn(t);try{i&&!o&&s.begin&&s.begin(),o&&Ca(e,t,r),vo(e,t,n,r)}finally{i&&!o&&s.end&&s.end()}}function mh(e,t,n,r,s){const i=Ge(),o=2&r;try{nt(-1),o&&t.length>20&&sh(e,t,20,se()),n(r,s)}finally{nt(i)}}function yh(e,t,n){if(kr(t)){const s=t.directiveEnd;for(let i=t.directiveStart;i<s;i++){const o=e.data[i];o.contentQueries&&o.contentQueries(1,n[i],i)}}}function Qu(e,t,n){!_i()||(function(e,t,n,r){const s=n.directiveStart,i=n.directiveEnd;e.firstCreatePass||$i(n,t),yr(r,t);const o=n.initialInputs;for(let a=s;a<i;a++){const f=e.data[a],m=Zt(f);m&&xv(t,n,f);const D=Ye(t,e,a,n);yr(D,t),null!==o&&Nv(0,a-s,D,f,0,o),m&&(ht(n.index,t)[8]=D)}}(e,t,n,$e(n,t)),128==(128&n.flags)&&function(e,t,n){const r=n.directiveStart,s=n.directiveEnd,o=n.index,a=et.lFrame.currentDirectiveIndex;try{nt(o);for(let f=r;f<s;f++){const m=e.data[f],D=t[f];Un(f),(null!==m.hostBindings||0!==m.hostVars||null!==m.hostAttrs)&&Th(m,D)}}finally{nt(-1),Un(a)}}(e,t,n))}function qu(e,t,n=$e){const r=t.localNames;if(null!==r){let s=t.index+1;for(let i=0;i<r.length;i+=2){const o=r[i+1],a=-1===o?n(t,e):e[o];e[s++]=a}}}function _h(e){const t=e.tView;return null===t||t.incompleteFirstPass?e.tView=_l(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts):t}function _l(e,t,n,r,s,i,o,a,f,m){const D=20+r,M=D+s,P=function(e,t){const n=[];for(let r=0;r<t;r++)n.push(r<e?null:St);return n}(D,M),U="function"==typeof m?m():m;return P[1]={type:e,blueprint:P,template:n,queries:null,viewQuery:a,declTNode:t,data:P.slice().fill(null,D),bindingStartIndex:D,expandoStartIndex:M,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:"function"==typeof i?i():i,pipeRegistry:"function"==typeof o?o():o,firstChild:null,schemas:f,consts:U,incompleteFirstPass:!1}}function Ch(e,t,n,r){const s=Ph(t);null===n?s.push(r):(s.push(n),e.firstCreatePass&&Oh(e).push(r,s.length-1))}function Dh(e,t,n){for(let r in e)if(e.hasOwnProperty(r)){const s=e[r];(n=null===n?{}:n).hasOwnProperty(r)?n[r].push(t,s):n[r]=[t,s]}return n}function Qr(e,t,n,r,s,i,o,a){const f=$e(t,n);let D,m=t.inputs;!a&&null!=m&&(D=m[r])?(Fh(e,n,D,r,s),Jr(t)&&function(e,t){const n=ht(t,e);16&n[2]||(n[2]|=64)}(n,t.index)):3&t.type&&(r=function(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(r),s=null!=o?o(s,t.value||"",r):s,_(i)?i.setProperty(f,r,s):_s(r)||(f.setProperty?f.setProperty(r,s):f[r]=s))}function Zu(e,t,n,r){let s=!1;if(_i()){const i=function(e,t,n){const r=e.directiveRegistry;let s=null;if(r)for(let i=0;i<r.length;i++){const o=r[i];th(n,o.selectors,!1)&&(s||(s=[]),h($i(n,t),e,o.type),Zt(o)?(Sh(e,n),s.unshift(o)):s.push(o))}return s}(e,t,n),o=null===r?null:{"":-1};if(null!==i){s=!0,Ih(n,e.data.length,i.length);for(let D=0;D<i.length;D++){const M=i[D];M.providersResolver&&M.providersResolver(M)}let a=!1,f=!1,m=Eo(e,t,i.length,null);for(let D=0;D<i.length;D++){const M=i[D];n.mergedAttrs=ji(n.mergedAttrs,M.hostAttrs),Ah(e,n,t,m,M),Ov(m,M,o),null!==M.contentQueries&&(n.flags|=8),(null!==M.hostBindings||null!==M.hostAttrs||0!==M.hostVars)&&(n.flags|=128);const P=M.type.prototype;!a&&(P.ngOnChanges||P.ngOnInit||P.ngDoCheck)&&((e.preOrderHooks||(e.preOrderHooks=[])).push(n.index),a=!0),!f&&(P.ngOnChanges||P.ngDoCheck)&&((e.preOrderCheckHooks||(e.preOrderCheckHooks=[])).push(n.index),f=!0),m++}!function(e,t){const r=t.directiveEnd,s=e.data,i=t.attrs,o=[];let a=null,f=null;for(let m=t.directiveStart;m<r;m++){const D=s[m],M=D.inputs,P=null===i||eh(t)?null:Fv(M,i);o.push(P),a=Dh(M,m,a),f=Dh(D.outputs,m,f)}null!==a&&(a.hasOwnProperty("class")&&(t.flags|=16),a.hasOwnProperty("style")&&(t.flags|=32)),t.initialInputs=o,t.inputs=a,t.outputs=f}(e,n)}o&&function(e,t,n){if(t){const r=e.localNames=[];for(let s=0;s<t.length;s+=2){const i=n[t[s+1]];if(null==i)throw new Oe("301",`Export of name '${t[s+1]}' not found!`);r.push(t[s],i)}}}(n,r,o)}return n.mergedAttrs=ji(n.mergedAttrs,n.attrs),s}function wh(e,t,n,r,s,i){const o=i.hostBindings;if(o){let a=e.hostBindingOpCodes;null===a&&(a=e.hostBindingOpCodes=[]);const f=~t.index;(function(e){let t=e.length;for(;t>0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(a)!=f&&a.push(f),a.push(r,s,o)}}function Th(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function Sh(e,t){t.flags|=2,(e.components||(e.components=[])).push(t.index)}function Ov(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;Zt(t)&&(n[""]=e)}}function Ih(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function Ah(e,t,n,r,s){e.data[r]=s;const i=s.factory||(s.factory=br(s.type)),o=new Fs(i,Zt(s),null);e.blueprint[r]=o,n[r]=o,wh(e,t,0,r,Eo(e,n,s.hostVars,St),s)}function xv(e,t,n){const r=$e(t,e),s=_h(n),i=e[10],o=El(e,va(e,s,null,n.onPush?64:16,r,t,i,i.createRenderer(r,n),null,null));e[t.index]=o}function Us(e,t,n,r,s,i){const o=$e(e,t);!function(e,t,n,r,s,i,o){if(null==i)_(e)?e.removeAttribute(t,s,n):t.removeAttribute(s);else{const a=null==o?ye(i):o(i,r||"",s);_(e)?e.setAttribute(t,s,a,n):n?t.setAttributeNS(n,s,a):t.setAttribute(s,a)}}(t[x],o,i,e.value,n,r,s)}function Nv(e,t,n,r,s,i){const o=i[t];if(null!==o){const a=r.setInput;for(let f=0;f<o.length;){const m=o[f++],D=o[f++],M=o[f++];null!==a?r.setInput(n,M,m,D):n[D]=M}}}function Fv(e,t){let n=null,r=0;for(;r<t.length;){const s=t[r];if(0!==s)if(5!==s){if("number"==typeof s)break;e.hasOwnProperty(s)&&(null===n&&(n=[]),n.push(s,e[s],t[r+1])),r+=2}else r+=2;else r+=4}return n}function Mh(e,t,n,r){return new Array(e,!0,!1,t,null,0,r,n,null,null)}function Vv(e,t){const n=ht(t,e);if(Gt(n)){const r=n[1];80&n[2]?vo(r,n,r.template,n[8]):n[5]>0&&Xu(n)}}function Xu(e){for(let r=Iu(e);null!==r;r=Au(r))for(let s=10;s<r.length;s++){const i=r[s];if(1024&i[2]){const o=i[1];vo(o,i,o.template,i[8])}else i[5]>0&&Xu(i)}const n=e[1].components;if(null!==n)for(let r=0;r<n.length;r++){const s=ht(n[r],e);Gt(s)&&s[5]>0&&Xu(s)}}function Bv(e,t){const n=ht(t,e),r=n[1];(function(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])})(r,n),Ca(r,n,n[8])}function El(e,t){return e[13]?e[14][4]=t:e[13]=t,e[14]=t,t}function ec(e){for(;e;){e[2]|=64;const t=_a(e);if(Oi(e)&&!t)return e;e=t}return null}function nc(e,t,n){const r=t[10];r.begin&&r.begin();try{vo(e,t,e.template,n)}catch(s){throw Nh(t,s),s}finally{r.end&&r.end()}}function Rh(e){!function(e){for(let t=0;t<e.components.length;t++){const n=e.components[t],r=bu(n),s=r[1];Ev(s,r,s.template,n)}}(e[8])}function rc(e,t,n){cr(0),t(e,n)}const zv=(()=>Promise.resolve(null))();function Ph(e){return e[7]||(e[7]=[])}function Oh(e){return e.cleanup||(e.cleanup=[])}function xh(e,t,n){return(null===e||Zt(e))&&(n=function(e){for(;Array.isArray(e);){if("object"==typeof e[1])return e;e=e[0]}return null}(n[t.index])),n[x]}function Nh(e,t){const n=e[9],r=n?n.get(go,null):null;r&&r.handleError(t)}function Fh(e,t,n,r,s){for(let i=0;i<n.length;){const o=n[i++],a=n[i++],f=t[o],m=e.data[o];null!==m.setInput?m.setInput(f,s,r,a):f[a]=s}}function ni(e,t,n){const r=Se(t,e);!function(e,t,n){_(e)?e.setValue(t,n):t.textContent=n}(e[x],r,n)}function vl(e,t,n){let r=n?e.styles:null,s=n?e.classes:null,i=0;if(null!==t)for(let o=0;o<t.length;o++){const a=t[o];"number"==typeof a?i=a:1==i?s=ue(s,a):2==i&&(r=ue(r,a+": "+t[++o]+";"))}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=s:e.classesWithoutHost=s}const Co=new On("INJECTOR",-1);class kh{get(t,n=ca){if(n===ca){const r=new Error(`NullInjectorError: No provider for ${B(t)}!`);throw r.name="NullInjectorError",r}return n}}const Da=new On("Set Injector scope."),ba={},Kv={};let sc;function Lh(){return void 0===sc&&(sc=new kh),sc}function Vh(e,t=null,n=null,r){return new Qv(e,n,t||Lh(),r)}class Qv{constructor(t,n,r,s=null){this.parent=r,this.records=new Map,this.injectorDefTypes=new Set,this.onDestroy=new Set,this._destroyed=!1;const i=[];n&&ks(n,a=>this.processProvider(a,t,n)),ks([t],a=>this.processInjectorType(a,[],i)),this.records.set(Co,Do(void 0,this));const o=this.records.get(Da);this.scope=null!=o?o.value:null,this.source=s||("object"==typeof t?null:B(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=ca,r=Ke.Default){this.assertNotDestroyed();const s=uo(this),i=Q(void 0);try{if(!(r&Ke.SkipSelf)){let a=this.records.get(t);if(void 0===a){const f=("function"==typeof(e=t)||"object"==typeof e&&e instanceof On)&&wt(t);a=f&&this.injectableDefInScope(f)?Do(ic(t),ba):null,this.records.set(t,a)}if(null!=a)return this.hydrate(t,a)}return(r&Ke.Self?Lh():this.parent).get(t,n=r&Ke.Optional&&n===ca?null:n)}catch(o){if("NullInjectorError"===o.name){if((o[lo]=o[lo]||[]).unshift(B(t)),s)throw o;return tf(o,t,"R3InjectorError",this.source)}throw o}finally{Q(i),uo(s)}var e}_resolveInjectorDefTypes(){this.injectorDefTypes.forEach(t=>this.get(t))}toString(){const t=[];return this.records.forEach((r,s)=>t.push(B(s))),`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new Error("Injector has already been destroyed.")}processInjectorType(t,n,r){if(!(t=te(t)))return!1;let s=or(t);const i=null==s&&t.ngModule||void 0,o=void 0===i?t:i,a=-1!==r.indexOf(o);if(void 0!==i&&(s=or(i)),null==s)return!1;if(null!=s.imports&&!a){let D;r.push(o);try{ks(s.imports,M=>{this.processInjectorType(M,n,r)&&(void 0===D&&(D=[]),D.push(M))})}finally{}if(void 0!==D)for(let M=0;M<D.length;M++){const{ngModule:P,providers:U}=D[M];ks(U,q=>this.processProvider(q,P,U||Ct))}}this.injectorDefTypes.add(o);const f=br(o)||(()=>new o);this.records.set(o,Do(f,ba));const m=s.providers;if(null!=m&&!a){const D=t;ks(m,M=>this.processProvider(M,D,m))}return void 0!==i&&void 0!==t.providers}processProvider(t,n,r){let s=bo(t=te(t))?t:te(t&&t.provide);const i=(e=t,Uh(e)?Do(void 0,e.useValue):Do(Bh(e),ba));var e;if(bo(t)||!0!==t.multi)this.records.get(s);else{let o=this.records.get(s);o||(o=Do(void 0,ba,!0),o.factory=()=>Gi(o.multi),this.records.set(s,o)),s=t,o.multi.push(t)}this.records.set(s,i)}hydrate(t,n){return n.value===ba&&(n.value=Kv,n.value=n.factory()),"object"==typeof n.value&&n.value&&null!==(e=n.value)&&"object"==typeof e&&"function"==typeof e.ngOnDestroy&&this.onDestroy.add(n.value),n.value;var e}injectableDefInScope(t){if(!t.providedIn)return!1;const n=te(t.providedIn);return"string"==typeof n?"any"===n||n===this.scope:this.injectorDefTypes.has(n)}}function ic(e){const t=wt(e),n=null!==t?t.factory:br(e);if(null!==n)return n;if(e instanceof On)throw new Error(`Token ${B(e)} is missing a \u0275prov definition.`);if(e instanceof Function)return function(e){const t=e.length;if(t>0){const r=Si(t,"?");throw new Error(`Can't resolve all parameters for ${B(e)}: (${r.join(", ")}).`)}const n=function(e){const t=e&&(e[Hn]||e[Qt]);if(t){const n=function(e){if(e.hasOwnProperty("name"))return e.name;const t=(""+e).match(/^function\s*([^\s(]+)/);return null===t?"":t[1]}(e);return console.warn(`DEPRECATED: DI is instantiating a token "${n}" that inherits its @Injectable decorator but does not provide one itself.\nThis will become an error in a future version of Angular. Please add @Injectable() to the "${n}" class.`),t}return null}(e);return null!==n?()=>n.factory(e):()=>new e}(e);throw new Error("unreachable")}function Bh(e,t,n){let r;if(bo(e)){const s=te(e);return br(s)||ic(s)}if(Uh(e))r=()=>te(e.useValue);else if(function(e){return!(!e||!e.useFactory)}(e))r=()=>e.useFactory(...Gi(e.deps||[]));else if(function(e){return!(!e||!e.useExisting)}(e))r=()=>Yn(te(e.useExisting));else{const s=te(e&&(e.useClass||e.provide));if(!function(e){return!!e.deps}(e))return br(s)||ic(s);r=()=>new s(...Gi(e.deps))}return r}function Do(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function Uh(e){return null!==e&&"object"==typeof e&&hu in e}function bo(e){return"function"==typeof e}const jh=function(e,t,n){return function(e,t=null,n=null,r){const s=Vh(e,t,n,r);return s._resolveInjectorDefTypes(),s}({name:n},t,e,n)};let vn=(()=>{class e{static create(n,r){return Array.isArray(n)?jh(n,r,""):jh(n.providers,n.parent,n.name||"")}}return e.THROW_IF_NOT_FOUND=ca,e.NULL=new kh,e.\u0275prov=je({token:e,providedIn:"any",factory:()=>Yn(Co)}),e.__NG_ELEMENT_ID__=-1,e})();function mC(e,t){fr(bu(e)[1],b())}function dc(e){let t=function(e){return Object.getPrototypeOf(e.prototype).constructor}(e.type),n=!0;const r=[e];for(;t;){let s;if(Zt(e))s=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new Error("Directives cannot inherit Components");s=t.\u0275dir}if(s){if(n){r.push(s);const o=e;o.inputs=fc(e.inputs),o.declaredInputs=fc(e.declaredInputs),o.outputs=fc(e.outputs);const a=s.hostBindings;a&&vC(e,a);const f=s.viewQuery,m=s.contentQueries;if(f&&_C(e,f),m&&EC(e,m),K(e.inputs,s.inputs),K(e.declaredInputs,s.declaredInputs),K(e.outputs,s.outputs),Zt(s)&&s.data.animation){const D=e.data;D.animation=(D.animation||[]).concat(s.data.animation)}}const i=s.features;if(i)for(let o=0;o<i.length;o++){const a=i[o];a&&a.ngInherit&&a(e),a===dc&&(n=!1)}}t=Object.getPrototypeOf(t)}!function(e){let t=0,n=null;for(let r=e.length-1;r>=0;r--){const s=e[r];s.hostVars=t+=s.hostVars,s.hostAttrs=ji(s.hostAttrs,n=ji(n,s.hostAttrs))}}(r)}function fc(e){return e===Xt?{}:e===Ct?[]:e}function _C(e,t){const n=e.viewQuery;e.viewQuery=n?(r,s)=>{t(r,s),n(r,s)}:t}function EC(e,t){const n=e.contentQueries;e.contentQueries=n?(r,s,i)=>{t(r,s,i),n(r,s,i)}:t}function vC(e,t){const n=e.hostBindings;e.hostBindings=n?(r,s)=>{t(r,s),n(r,s)}:t}let Cl=null;function wo(){if(!Cl){const e=ze.Symbol;if(e&&e.iterator)Cl=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&&(Cl=r)}}}return Cl}function Ta(e){return!!hc(e)&&(Array.isArray(e)||!(e instanceof Map)&&wo()in e)}function hc(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function js(e,t,n){return e[t]=n}function Sa(e,t){return e[t]}function _r(e,t,n){return!Object.is(e[t],n)&&(e[t]=n,!0)}function Qi(e,t,n,r){const s=_r(e,t,n);return _r(e,t+1,r)||s}function as(e,t,n,r,s,i){const o=Qi(e,t,n,r);return Qi(e,t+2,s,i)||o}function pc(e,t,n,r){const s=Me();return _r(s,Tt(),t)&&(Ft(),Us(tt(),s,e,t,n,r)),pc}function So(e,t,n,r){return _r(e,Tt(),n)?t+ye(n)+r:St}function Io(e,t,n,r,s,i){const a=Qi(e,et.lFrame.bindingIndex,n,s);return qe(2),a?t+ye(n)+r+ye(s)+i:St}function pp(e,t,n,r,s,i,o,a){const f=Me(),m=Ft(),D=e+20,M=m.firstCreatePass?function(e,t,n,r,s,i,o,a,f){const m=t.consts,D=_o(t,e,4,o||null,bn(m,a));Zu(t,n,D,bn(m,f)),fr(t,D);const M=D.tViews=_l(2,D,r,s,i,t.directiveRegistry,t.pipeRegistry,null,t.schemas,m);return null!==t.queries&&(t.queries.template(t,D),M.queries=t.queries.embeddedTView(D)),D}(D,m,f,t,n,r,s,i,o):m.data[D];p(M,!1);const P=f[x].createComment("");hl(m,f,P,M),yr(P,f),El(f,f[D]=Mh(P,f,P,M)),ds(M)&&Qu(m,f,M),null!=o&&qu(f,M,a)}function gp(e){return Ht(et.lFrame.contextLView,20+e)}function Ia(e,t=Ke.Default){const n=Me();return null===n?Yn(e,t):C(b(),n,te(e),t)}function Ip(){throw new Error("invalid")}function Ec(e,t,n){const r=Me();return _r(r,Tt(),t)&&Qr(Ft(),tt(),r,e,t,r[x],n,!1),Ec}function vc(e,t,n,r,s){const o=s?"class":"style";Fh(e,n,t.inputs[o],o,r)}function Cc(e,t,n,r){const s=Me(),i=Ft(),o=20+e,a=s[x],f=s[o]=Ru(a,t,et.lFrame.currentNamespace),m=i.firstCreatePass?function(e,t,n,r,s,i,o){const a=t.consts,m=_o(t,e,2,s,bn(a,i));return Zu(t,n,m,bn(a,o)),null!==m.attrs&&vl(m,m.attrs,!1),null!==m.mergedAttrs&&vl(m,m.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,m),m}(o,i,s,0,t,n,r):i.data[o];p(m,!0);const D=m.mergedAttrs;null!==D&&bi(a,f,D);const M=m.classes;null!==M&&ku(a,f,M);const P=m.styles;null!==P&&Zf(a,f,P),64!=(64&m.flags)&&hl(i,s,f,m),0===et.lFrame.elementDepthCount&&yr(f,s),et.lFrame.elementDepthCount++,ds(m)&&(Qu(i,s,m),yh(i,m,s)),null!==r&&qu(s,m)}function Dc(){let e=b();w()?R():(e=e.parent,p(e,!1));const t=e;et.lFrame.elementDepthCount--;const n=Ft();n.firstCreatePass&&(fr(n,e),kr(e)&&n.queries.elementEnd(e)),null!=t.classesWithoutHost&&function(e){return 0!=(16&e.flags)}(t)&&vc(n,t,Me(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function(e){return 0!=(32&e.flags)}(t)&&vc(n,t,Me(),t.stylesWithoutHost,!1)}function Ap(e,t,n,r){Cc(e,t,n,r),Dc()}function bc(e,t,n){const r=Me(),s=Ft(),i=e+20,o=s.firstCreatePass?function(e,t,n,r,s){const i=t.consts,o=bn(i,r),a=_o(t,e,8,"ng-container",o);return null!==o&&vl(a,o,!0),Zu(t,n,a,bn(i,s)),null!==t.queries&&t.queries.elementStart(t,a),a}(i,s,r,t,n):s.data[i];p(o,!0);const a=r[i]=r[x].createComment("");hl(s,r,a,o),yr(a,r),ds(o)&&(Qu(s,r,o),yh(s,o,r)),null!=n&&qu(r,o)}function wc(){let e=b();const t=Ft();w()?R():(e=e.parent,p(e,!1)),t.firstCreatePass&&(fr(t,e),kr(e)&&t.queries.elementEnd(e))}function Mp(e,t,n){bc(e,t,n),wc()}function Rp(){return Me()}function Tc(e){return!!e&&"function"==typeof e.then}function Pp(e){return!!e&&"function"==typeof e.subscribe}const Sc=Pp;function Ic(e,t,n,r){const s=Me(),i=Ft(),o=b();return Op(i,s,s[x],o,e,t,!!n,r),Ic}function Ac(e,t){const n=b(),r=Me(),s=Ft();return Op(s,r,xh(wn(s.data),n,r),n,e,t,!1),Ac}function Op(e,t,n,r,s,i,o,a){const f=ds(r),D=e.firstCreatePass&&Oh(e),M=t[8],P=Ph(t);let U=!0;if(3&r.type||a){const ie=$e(r,t),Fe=a?a(ie):ie,Ce=P.length,Xe=a?gt=>a(S(gt[r.index])):r.index;if(_(n)){let gt=null;if(!a&&f&&(gt=function(e,t,n,r){const s=e.cleanup;if(null!=s)for(let i=0;i<s.length-1;i+=2){const o=s[i];if(o===n&&s[i+1]===r){const a=t[7],f=s[i+2];return a.length>f?a[f]:null}"string"==typeof o&&(i+=2)}return null}(e,t,s,r.index)),null!==gt)(gt.__ngLastListenerFn__||gt).__ngNextListenerFn__=i,gt.__ngLastListenerFn__=i,U=!1;else{i=Mc(r,t,M,i,!1);const Vt=n.listen(Fe,s,i);P.push(i,Vt),D&&D.push(s,Xe,Ce,Ce+1)}}else i=Mc(r,t,M,i,!0),Fe.addEventListener(s,i,o),P.push(i),D&&D.push(s,Xe,Ce,o)}else i=Mc(r,t,M,i,!1);const q=r.outputs;let ce;if(U&&null!==q&&(ce=q[s])){const ie=ce.length;if(ie)for(let Fe=0;Fe<ie;Fe+=2){const qn=t[ce[Fe]][ce[Fe+1]].subscribe(i),cs=P.length;P.push(i,qn),D&&D.push(s,r.index,cs,-(cs+1))}}}function xp(e,t,n,r){try{return!1!==n(r)}catch(s){return Nh(e,s),!1}}function Mc(e,t,n,r,s){return function i(o){if(o===Function)return r;const a=2&e.flags?ht(e.index,t):t;0==(32&t[2])&&ec(a);let f=xp(t,0,r,o),m=i.__ngNextListenerFn__;for(;m;)f=xp(t,0,m,o)&&f,m=m.__ngNextListenerFn__;return s&&!1===f&&(o.preventDefault(),o.returnValue=!1),f}}function Np(e=1){return function(e){return(et.lFrame.contextLView=function(e,t){for(;e>0;)t=t[15],e--;return t}(e,et.lFrame.contextLView))[8]}(e)}function XC(e,t){let n=null;const r=function(e){const t=e.attrs;if(null!=t){const n=t.indexOf(5);if(0==(1&n))return t[n+1]}return null}(e);for(let s=0;s<t.length;s++){const i=t[s];if("*"!==i){if(null===r?th(e,i,!0):nv(r,i))return s}else n=s}return n}function Fp(e){const t=Me()[16][6];if(!t.projection){const r=t.projection=Si(e?e.length:1,null),s=r.slice();let i=t.child;for(;null!==i;){const o=e?XC(i,e):0;null!==o&&(s[o]?s[o].projectionNext=i:r[o]=i,s[o]=i),i=i.next}}}function kp(e,t=0,n){const r=Me(),s=Ft(),i=_o(s,20+e,16,null,n||null);null===i.projection&&(i.projection=t),R(),64!=(64&i.flags)&&function(e,t,n){qf(t[x],0,t,n,Uf(e,n,t),zf(n.parent||t[6],n,t))}(s,r,i)}function Rc(e,t,n){return wl(e,"",t,"",n),Rc}function wl(e,t,n,r,s){const i=Me(),o=So(i,t,n,r);return o!==St&&Qr(Ft(),tt(),i,e,o,i[x],s,!1),wl}function Wp(e,t,n,r,s){const i=e[n+1],o=null===t;let a=r?Cs(i):ti(i),f=!1;for(;0!==a&&(!1===f||o);){const D=e[a+1];nD(e[a],t)&&(f=!0,e[a+1]=r?Bu(D):Lu(D)),a=r?Cs(D):ti(D)}f&&(e[n+1]=r?Lu(i):Bu(i))}function nD(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&ao(e,t)>=0}const Qn={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Gp(e){return e.substring(Qn.key,Qn.keyEnd)}function Kp(e,t){const n=Qn.textEnd;return n===t?-1:(t=Qn.keyEnd=function(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}(e,Qn.key=t,n),Fo(e,t,n))}function Fo(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function Pc(e,t,n){return bs(e,t,n,!1),Pc}function Oc(e,t){return bs(e,t,null,!0),Oc}function Jp(e){ws(Yr,$s,e,!0)}function $s(e,t){for(let n=function(e){return function(e){Qn.key=0,Qn.keyEnd=0,Qn.value=0,Qn.valueEnd=0,Qn.textEnd=e.length}(e),Kp(e,Fo(e,0,Qn.textEnd))}(t);n>=0;n=Kp(t,n))Yr(e,Gp(t),!0)}function bs(e,t,n,r){const s=Me(),i=Ft(),o=qe(2);i.firstUpdatePass&&eg(i,e,o,r),t!==St&&_r(s,o,t)&&ng(i,i.data[Ge()],s,s[x],e,s[o+1]=function(e,t){return null==e||("string"==typeof t?e+=t:"object"==typeof e&&(e=B(ei(e)))),e}(t,n),r,o)}function ws(e,t,n,r){const s=Ft(),i=qe(2);s.firstUpdatePass&&eg(s,null,i,r);const o=Me();if(n!==St&&_r(o,i,n)){const a=s.data[Ge()];if(sg(a,r)&&!Xp(s,i)){let f=r?a.classesWithoutHost:a.stylesWithoutHost;null!==f&&(n=ue(f,n||"")),vc(s,a,o,n,r)}else!function(e,t,n,r,s,i,o,a){s===St&&(s=Ct);let f=0,m=0,D=0<s.length?s[0]:null,M=0<i.length?i[0]:null;for(;null!==D||null!==M;){const P=f<s.length?s[f+1]:void 0,U=m<i.length?i[m+1]:void 0;let ce,q=null;D===M?(f+=2,m+=2,P!==U&&(q=M,ce=U)):null===M||null!==D&&D<M?(f+=2,q=D):(m+=2,q=M,ce=U),null!==q&&ng(e,t,n,r,q,ce,o,a),D=f<s.length?s[f]:null,M=m<i.length?i[m]:null}}(s,a,o,o[x],o[i+1],o[i+1]=function(e,t,n){if(null==n||""===n)return Ct;const r=[],s=ei(n);if(Array.isArray(s))for(let i=0;i<s.length;i++)e(r,s[i],!0);else if("object"==typeof s)for(const i in s)s.hasOwnProperty(i)&&e(r,i,s[i]);else"string"==typeof s&&t(r,s);return r}(e,t,n),r,i)}}function Xp(e,t){return t>=e.expandoStartIndex}function eg(e,t,n,r){const s=e.data;if(null===s[n+1]){const i=s[Ge()],o=Xp(e,n);sg(i,r)&&null===t&&!o&&(t=!1),t=function(e,t,n,r){const s=wn(e);let i=r?t.residualClasses:t.residualStyles;if(null===s)0===(r?t.classBindings:t.styleBindings)&&(n=Aa(n=xc(null,e,t,n,r),t.attrs,r),i=null);else{const o=t.directiveStylingLast;if(-1===o||e[o]!==s)if(n=xc(s,e,t,n,r),null===i){let f=function(e,t,n){const r=n?t.classBindings:t.styleBindings;if(0!==ti(r))return e[Cs(r)]}(e,t,r);void 0!==f&&Array.isArray(f)&&(f=xc(null,e,t,f[1],r),f=Aa(f,t.attrs,r),function(e,t,n,r){e[Cs(n?t.classBindings:t.styleBindings)]=r}(e,t,r,f))}else i=function(e,t,n){let r;const s=t.directiveEnd;for(let i=1+t.directiveStylingLast;i<s;i++)r=Aa(r,e[i].hostAttrs,n);return Aa(r,t.attrs,n)}(e,t,r)}return void 0!==i&&(r?t.residualClasses=i:t.residualStyles=i),n}(s,i,t,r),function(e,t,n,r,s,i){let o=i?t.classBindings:t.styleBindings,a=Cs(o),f=ti(o);e[r]=n;let D,m=!1;if(Array.isArray(n)){const M=n;D=M[1],(null===D||ao(M,D)>0)&&(m=!0)}else D=n;if(s)if(0!==f){const P=Cs(e[a+1]);e[r+1]=gl(P,a),0!==P&&(e[P+1]=Vu(e[P+1],r)),e[a+1]=function(e,t){return 131071&e|t<<17}(e[a+1],r)}else e[r+1]=gl(a,0),0!==a&&(e[a+1]=Vu(e[a+1],r)),a=r;else e[r+1]=gl(f,0),0===a?a=r:e[f+1]=Vu(e[f+1],r),f=r;m&&(e[r+1]=Lu(e[r+1])),Wp(e,D,r,!0),Wp(e,D,r,!1),function(e,t,n,r,s){const i=s?e.residualClasses:e.residualStyles;null!=i&&"string"==typeof t&&ao(i,t)>=0&&(n[r+1]=Bu(n[r+1]))}(t,D,e,r,i),o=gl(a,f),i?t.classBindings=o:t.styleBindings=o}(s,i,t,n,o,r)}}function xc(e,t,n,r,s){let i=null;const o=n.directiveEnd;let a=n.directiveStylingLast;for(-1===a?a=n.directiveStart:a++;a<o&&(i=t[a],r=Aa(r,i.hostAttrs,s),i!==e);)a++;return null!==e&&(n.directiveStylingLast=a),r}function Aa(e,t,n){const r=n?1:2;let s=-1;if(null!==t)for(let i=0;i<t.length;i++){const o=t[i];"number"==typeof o?s=o:s===r&&(Array.isArray(e)||(e=void 0===e?[]:["",e]),Yr(e,o,!!n||t[++i]))}return void 0===e?null:e}function ng(e,t,n,r,s,i,o,a){if(!(3&t.type))return;const f=e.data,m=f[a+1];Tl(function(e){return 1==(1&e)}(m)?rg(f,t,n,s,ti(m),o):void 0)||(Tl(i)||function(e){return 2==(2&e)}(m)&&(i=rg(f,null,n,s,a,o)),function(e,t,n,r,s){const i=_(e);if(t)s?i?e.addClass(n,r):n.classList.add(r):i?e.removeClass(n,r):n.classList.remove(r);else{let o=-1===r.indexOf("-")?void 0:Bs.DashCase;if(null==s)i?e.removeStyle(n,r,o):n.style.removeProperty(r);else{const a="string"==typeof s&&s.endsWith("!important");a&&(s=s.slice(0,-10),o|=Bs.Important),i?e.setStyle(n,r,s,o):n.style.setProperty(r,s,a?"important":"")}}}(r,o,Se(Ge(),n),s,i))}function rg(e,t,n,r,s,i){const o=null===t;let a;for(;s>0;){const f=e[s],m=Array.isArray(f),D=m?f[1]:f,M=null===D;let P=n[s+1];P===St&&(P=M?Ct:void 0);let U=M?uu(P,r):D===r?P:void 0;if(m&&!Tl(U)&&(U=uu(f,r)),Tl(U)&&(a=U,o))return a;const q=e[s+1];s=o?Cs(q):ti(q)}if(null!==t){let f=i?t.residualClasses:t.residualStyles;null!=f&&(a=uu(f,r))}return a}function Tl(e){return void 0!==e}function sg(e,t){return 0!=(e.flags&(t?16:32))}function ig(e,t=""){const n=Me(),r=Ft(),s=e+20,i=r.firstCreatePass?_o(r,s,1,t,null):r.data[s],o=n[s]=function(e,t){return _(e)?e.createText(t):e.createTextNode(t)}(n[x],t);hl(r,n,o,i),p(i,!1)}function Nc(e){return Sl("",e,""),Nc}function Sl(e,t,n){const r=Me(),s=So(r,e,t,n);return s!==St&&ni(r,Ge(),s),Sl}function Fc(e,t,n,r,s){const i=Me(),o=Io(i,e,t,n,r,s);return o!==St&&ni(i,Ge(),o),Fc}function hg(e,t,n){ws(Yr,$s,So(Me(),e,t,n),!0)}function kc(e,t,n){const r=Me();return _r(r,Tt(),t)&&Qr(Ft(),tt(),r,e,t,r[x],n,!0),kc}function Lc(e,t,n){const r=Me();if(_r(r,Tt(),t)){const i=Ft(),o=tt();Qr(i,o,r,e,t,xh(wn(i.data),o,r),n,!0)}return Lc}const qi=void 0;var FD=["en",[["a","p"],["AM","PM"],qi],[["AM","PM"],qi,qi],[["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"]],qi,[["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"]],qi,[["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}",qi,"{1} 'at' {0}",qi],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function(e){const n=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length;return 1===n&&0===r?1:5}];let ko={};function Vc(e){const t=function(e){return e.toLowerCase().replace(/_/g,"-")}(e);let n=wg(t);if(n)return n;const r=t.split("-")[0];if(n=wg(r),n)return n;if("en"===r)return FD;throw new Error(`Missing locale data for the locale "${e}".`)}function bg(e){return Vc(e)[ut.PluralCase]}function wg(e){return e in ko||(ko[e]=ze.ng&&ze.ng.common&&ze.ng.common.locales&&ze.ng.common.locales[e]),ko[e]}var ut=(()=>((ut=ut||{})[ut.LocaleId=0]="LocaleId",ut[ut.DayPeriodsFormat=1]="DayPeriodsFormat",ut[ut.DayPeriodsStandalone=2]="DayPeriodsStandalone",ut[ut.DaysFormat=3]="DaysFormat",ut[ut.DaysStandalone=4]="DaysStandalone",ut[ut.MonthsFormat=5]="MonthsFormat",ut[ut.MonthsStandalone=6]="MonthsStandalone",ut[ut.Eras=7]="Eras",ut[ut.FirstDayOfWeek=8]="FirstDayOfWeek",ut[ut.WeekendRange=9]="WeekendRange",ut[ut.DateFormat=10]="DateFormat",ut[ut.TimeFormat=11]="TimeFormat",ut[ut.DateTimeFormat=12]="DateTimeFormat",ut[ut.NumberSymbols=13]="NumberSymbols",ut[ut.NumberFormats=14]="NumberFormats",ut[ut.CurrencyCode=15]="CurrencyCode",ut[ut.CurrencySymbol=16]="CurrencySymbol",ut[ut.CurrencyName=17]="CurrencyName",ut[ut.Currencies=18]="Currencies",ut[ut.Directionality=19]="Directionality",ut[ut.PluralCase=20]="PluralCase",ut[ut.ExtraData=21]="ExtraData",ut))();const Il="en-US";let Tg=Il;function jc(e,t,n,r,s){if(e=te(e),Array.isArray(e))for(let i=0;i<e.length;i++)jc(e[i],t,n,r,s);else{const i=Ft(),o=Me();let a=bo(e)?e:te(e.provide),f=Bh(e);const m=b(),D=1048575&m.providerIndexes,M=m.directiveStart,P=m.providerIndexes>>20;if(bo(e)||!e.multi){const U=new Fs(f,s,Ia),q=$c(a,t,s?D:D+P,M);-1===q?(h($i(m,o),i,a),Hc(i,e,t.length),t.push(a),m.directiveStart++,m.directiveEnd++,s&&(m.providerIndexes+=1048576),n.push(U),o.push(U)):(n[q]=U,o[q]=U)}else{const U=$c(a,t,D+P,M),q=$c(a,t,D,D+P),ce=U>=0&&n[U],ie=q>=0&&n[q];if(s&&!ie||!s&&!ce){h($i(m,o),i,a);const Fe=function(e,t,n,r,s){const i=new Fs(e,n,Ia);return i.multi=[],i.index=t,i.componentProviders=0,Qg(i,s,r&&!n),i}(s?xb:Ob,n.length,s,r,f);!s&&ie&&(n[q].providerFactory=Fe),Hc(i,e,t.length,0),t.push(a),m.directiveStart++,m.directiveEnd++,s&&(m.providerIndexes+=1048576),n.push(Fe),o.push(Fe)}else Hc(i,e,U>-1?U:q,Qg(n[s?q:U],f,!s&&r));!s&&r&&ie&&n[q].componentProviders++}}}function Hc(e,t,n,r){const s=bo(t);if(s||function(e){return!!e.useClass}(t)){const o=(t.useClass||t).prototype.ngOnDestroy;if(o){const a=e.destroyHooks||(e.destroyHooks=[]);if(!s&&t.multi){const f=a.indexOf(n);-1===f?a.push(n,[r,o]):a[f+1].push(r,o)}else a.push(n,o)}}}function Qg(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function $c(e,t,n,r){for(let s=n;s<r;s++)if(t[s]===e)return s;return-1}function Ob(e,t,n,r){return zc(this.multi,[])}function xb(e,t,n,r){const s=this.multi;let i;if(this.providerFactory){const o=this.providerFactory.componentProviders,a=Ye(n,n[1],this.providerFactory.index,r);i=a.slice(0,o),zc(s,i);for(let f=o;f<a.length;f++)i.push(a[f])}else i=[],zc(s,i);return i}function zc(e,t){for(let n=0;n<e.length;n++)t.push((0,e[n])());return t}function qg(e,t=[]){return n=>{n.providersResolver=(r,s)=>function(e,t,n){const r=Ft();if(r.firstCreatePass){const s=Zt(e);jc(n,r.data,r.blueprint,s,!0),jc(t,r.data,r.blueprint,s,!1)}}(r,s?s(e):e,t)}}class Zg{}const Xg="ngComponent";class kb{resolveComponentFactory(t){throw function(e){const t=Error(`No component factory found for ${B(e)}. Did you add it to @NgModule.entryComponents?`);return t[Xg]=e,t}(t)}}let Vo=(()=>{class e{}return e.NULL=new kb,e})();function Ol(...e){}function Bo(e,t){return new zs($e(e,t))}const Bb=function(){return Bo(b(),Me())};let zs=(()=>{class e{constructor(n){this.nativeElement=n}}return e.__NG_ELEMENT_ID__=Bb,e})();function em(e){return e instanceof zs?e.nativeElement:e}class xl{}let Ub=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>Hb(),e})();const Hb=function(){const e=Me(),n=ht(b().index,e);return function(e){return e[x]}($n(n)?n:e)};let Gc=(()=>{class e{}return e.\u0275prov=je({token:e,providedIn:"root",factory:()=>null}),e})();class tm{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const nm=new tm("13.0.2"),Uo={};function Nl(e,t,n,r,s=!1){for(;null!==n;){const i=t[n.index];if(null!==i&&r.push(S(i)),er(i))for(let a=10;a<i.length;a++){const f=i[a],m=f[1].firstChild;null!==m&&Nl(f[1],f,m,r)}const o=n.type;if(8&o)Nl(e,t,n.child,r);else if(32&o){const a=Su(n,t);let f;for(;f=a();)r.push(f)}else if(16&o){const a=Yf(t,n);if(Array.isArray(a))r.push(...a);else{const f=_a(t[16]);Nl(f[1],f,a,r,!0)}}n=s?n.projectionNext:n.next}return r}class xa{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 Nl(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(er(t)){const n=t[8],r=n?n.indexOf(this):-1;r>-1&&(Pu(t,r),Wi(n,r))}this._attachedToViewContainer=!1}Bf(this._lView[1],this._lView)}onDestroy(t){Ch(this._lView[1],this._lView,null,t)}markForCheck(){ec(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-129}reattach(){this._lView[2]|=128}detectChanges(){nc(this._lView[1],this._lView,this.context)}checkNoChanges(){!function(e,t,n){Ee(!0);try{nc(e,t,n)}finally{Ee(!1)}}(this._lView[1],this._lView,this.context)}attachToViewContainerRef(){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._attachedToViewContainer=!0}detachFromAppRef(){var t;this._appRef=null,Ea(this._lView[1],t=this._lView,t[x],2,null,null)}attachToAppRef(t){if(this._attachedToViewContainer)throw new Error("This view is already attached to a ViewContainer!");this._appRef=t}}class Wb extends xa{constructor(t){super(t),this._view=t}detectChanges(){Rh(this._view)}checkNoChanges(){!function(e){Ee(!0);try{Rh(e)}finally{Ee(!1)}}(this._view)}get context(){return null}}class rm extends Vo{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const n=Rt(t);return new Kc(n,this.ngModule)}}function sm(e){const t=[];for(let n in e)e.hasOwnProperty(n)&&t.push({propName:e[n],templateName:n});return t}const Kb=new On("SCHEDULER_TOKEN",{providedIn:"root",factory:()=>Pf});class Kc extends Zg{constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=t.selectors.map(rv).join(","),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!n}get inputs(){return sm(this.componentDef.inputs)}get outputs(){return sm(this.componentDef.outputs)}create(t,n,r,s){const i=(s=s||this.ngModule)?function(e,t){return{get:(n,r,s)=>{const i=e.get(n,Uo,s);return i!==Uo||r===Uo?i:t.get(n,r,s)}}}(t,s.injector):t,o=i.get(xl,T),a=i.get(Gc,null),f=o.createRenderer(null,this.componentDef),m=this.componentDef.selectors[0][0]||"div",D=r?function(e,t,n){if(_(e))return e.selectRootElement(t,n===mt.ShadowDom);let r="string"==typeof t?e.querySelector(t):t;return r.textContent="",r}(f,r,this.componentDef.encapsulation):Ru(o.createRenderer(null,this.componentDef),m,function(e){const t=e.toLowerCase();return"svg"===t?gi:"math"===t?"http://www.w3.org/1998/MathML/":null}(m)),M=this.componentDef.onPush?576:528,P=function(e,t){return{components:[],scheduler:e||Pf,clean:zv,playerHandler:t||null,flags:0}}(),U=_l(0,null,null,1,0,null,null,null,null,null),q=va(null,U,P,M,null,null,o,f,a,i);let ce,ie;dr(q);try{const Fe=function(e,t,n,r,s,i){const o=n[1];n[20]=e;const f=_o(o,20,2,"#host",null),m=f.mergedAttrs=t.hostAttrs;null!==m&&(vl(f,m,!0),null!==e&&(bi(s,e,m),null!==f.classes&&ku(s,e,f.classes),null!==f.styles&&Zf(s,e,f.styles)));const D=r.createRenderer(e,t),M=va(n,_h(t),null,t.onPush?64:16,n[20],f,r,D,i||null,null);return o.firstCreatePass&&(h($i(f,n),o,t.type),Sh(o,f),Ih(f,n.length,1)),El(n,M),n[20]=M}(D,this.componentDef,q,o,f);if(D)if(r)bi(f,D,["ng-version",nm.full]);else{const{attrs:Ce,classes:Xe}=function(e){const t=[],n=[];let r=1,s=2;for(;r<e.length;){let i=e[r];if("string"==typeof i)2===s?""!==i&&t.push(i,e[++r]):8===s&&n.push(i);else{if(!vs(s))break;s=i}r++}return{attrs:t,classes:n}}(this.componentDef.selectors[0]);Ce&&bi(f,D,Ce),Xe&&Xe.length>0&&ku(f,D,Xe.join(" "))}if(ie=Jt(U,20),void 0!==n){const Ce=ie.projection=[];for(let Xe=0;Xe<this.ngContentSelectors.length;Xe++){const gt=n[Xe];Ce.push(null!=gt?Array.from(gt):null)}}ce=function(e,t,n,r,s){const i=n[1],o=function(e,t,n){const r=b();e.firstCreatePass&&(n.providersResolver&&n.providersResolver(n),Ah(e,r,t,Eo(e,t,1,null),n));const s=Ye(t,e,r.directiveStart,r);yr(s,t);const i=$e(r,t);return i&&yr(i,t),s}(i,n,t);if(r.components.push(o),e[8]=o,s&&s.forEach(f=>f(o,t)),t.contentQueries){const f=b();t.contentQueries(1,o,f.directiveStart)}const a=b();return!i.firstCreatePass||null===t.hostBindings&&null===t.hostAttrs||(nt(a.index),wh(n[1],a,0,a.directiveStart,a.directiveEnd,t),Th(t,o)),o}(Fe,this.componentDef,q,P,[mC]),Ca(U,q,null)}finally{Js()}return new qb(this.componentType,ce,Bo(ie,q),q,ie)}}class qb extends class{}{constructor(t,n,r,s,i){super(),this.location=r,this._rootLView=s,this._tNode=i,this.instance=n,this.hostView=this.changeDetectorRef=new Wb(s),this.componentType=t}get injector(){return new Lt(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}}class Zi{}class im{}const jo=new Map;class am extends Zi{constructor(t,n){super(),this._parent=n,this._bootstrapComponents=[],this.injector=this,this.destroyCbs=[],this.componentFactoryResolver=new rm(this);const r=_n(t);this._bootstrapComponents=Vs(r.bootstrap),this._r3Injector=Vh(t,n,[{provide:Zi,useValue:this},{provide:Vo,useValue:this.componentFactoryResolver}],B(t)),this._r3Injector._resolveInjectorDefTypes(),this.instance=this.get(t)}get(t,n=vn.THROW_IF_NOT_FOUND,r=Ke.Default){return t===vn||t===Zi||t===Co?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 Qc extends im{constructor(t){super(),this.moduleType=t,null!==_n(t)&&function(e){const t=new Set;!function n(r){const s=_n(r,!0),i=s.id;null!==i&&(function(e,t,n){if(t&&t!==n)throw new Error(`Duplicate module registered for ${e} - ${B(t)} vs ${B(t.name)}`)}(i,jo.get(i),r),jo.set(i,r));const o=Vs(s.imports);for(const a of o)t.has(a)||(t.add(a),n(a))}(e)}(t)}create(t){return new am(this.moduleType,t)}}function lm(e,t,n){const r=xe()+e,s=Me();return s[r]===St?js(s,r,n?t.call(n):t()):Sa(s,r)}function um(e,t,n,r){return pm(Me(),xe(),e,t,n,r)}function cm(e,t,n,r,s){return gm(Me(),xe(),e,t,n,r,s)}function dm(e,t,n,r,s,i){return mm(Me(),xe(),e,t,n,r,s,i)}function fm(e,t,n,r,s,i,o){return function(e,t,n,r,s,i,o,a,f){const m=t+n;return as(e,m,s,i,o,a)?js(e,m+4,f?r.call(f,s,i,o,a):r(s,i,o,a)):Na(e,m+4)}(Me(),xe(),e,t,n,r,s,i,o)}function hm(e,t,n,r,s,i,o,a){const f=xe()+e,m=Me(),D=as(m,f,n,r,s,i);return _r(m,f+4,o)||D?js(m,f+5,a?t.call(a,n,r,s,i,o):t(n,r,s,i,o)):Sa(m,f+5)}function Na(e,t){const n=e[t];return n===St?void 0:n}function pm(e,t,n,r,s,i){const o=t+n;return _r(e,o,s)?js(e,o+1,i?r.call(i,s):r(s)):Na(e,o+1)}function gm(e,t,n,r,s,i,o){const a=t+n;return Qi(e,a,s,i)?js(e,a+2,o?r.call(o,s,i):r(s,i)):Na(e,a+2)}function mm(e,t,n,r,s,i,o,a){const f=t+n;return function(e,t,n,r,s){const i=Qi(e,t,n,r);return _r(e,t+2,s)||i}(e,f,s,i,o)?js(e,f+3,a?r.call(a,s,i,o):r(s,i,o)):Na(e,f+3)}function Em(e,t){const n=Ft();let r;const s=e+20;n.firstCreatePass?(r=function(e,t){if(t)for(let n=t.length-1;n>=0;n--){const r=t[n];if(e===r.name)return r}throw new Oe("302",`The pipe '${e}' could not be found!`)}(t,n.pipeRegistry),n.data[s]=r,r.onDestroy&&(n.destroyHooks||(n.destroyHooks=[])).push(s,r.onDestroy)):r=n.data[s];const i=r.factory||(r.factory=br(r.type)),o=Q(Ia);try{const a=Hi(!1),f=i();return Hi(a),function(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}(n,Me(),s,f),f}finally{Q(o)}}function vm(e,t,n){const r=e+20,s=Me(),i=Ht(s,r);return Fa(s,r)?pm(s,xe(),t,i.transform,n,i):i.transform(n)}function Cm(e,t,n,r){const s=e+20,i=Me(),o=Ht(i,s);return Fa(i,s)?gm(i,xe(),t,o.transform,n,r,o):o.transform(n,r)}function Dm(e,t,n,r,s){const i=e+20,o=Me(),a=Ht(o,i);return Fa(o,i)?mm(o,xe(),t,a.transform,n,r,s,a):a.transform(n,r,s)}function Fa(e,t){return e[1].data[t].pure}function qc(e){return t=>{setTimeout(e,void 0,t)}}const Ws=class extends E.xQ{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,n,r){var f,m,D;let s=t,i=n||(()=>null),o=r;if(t&&"object"==typeof t){const M=t;s=null==(f=M.next)?void 0:f.bind(M),i=null==(m=M.error)?void 0:m.bind(M),o=null==(D=M.complete)?void 0:D.bind(M)}this.__isAsync&&(i=qc(i),s&&(s=qc(s)),o&&(o=qc(o)));const a=super.subscribe({next:s,error:i,complete:o});return t instanceof g.w&&t.add(a),a}};function l0(){return this._results[wo()]()}class ka{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=wo(),r=ka.prototype;r[n]||(r[n]=l0)}get changes(){return this._changes||(this._changes=new Ws)}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,n){return this._results.reduce(t,n)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,n){const r=this;r.dirty=!1;const s=os(t);(this._changesDetected=!function(e,t,n){if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++){let s=e[r],i=t[r];if(n&&(s=n(s),i=n(i)),i!==s)return!1}return!0}(r._results,s,n))&&(r._results=s,r.length=s.length,r.last=s[this.length-1],r.first=s[0])}notifyOnChanges(){this._changes&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}setDirty(){this.dirty=!0}destroy(){this.changes.complete(),this.changes.unsubscribe()}}Symbol;const c0=function(){return Fl(b(),Me())};let La=(()=>{class e{}return e.__NG_ELEMENT_ID__=c0,e})();const d0=La,f0=class extends d0{constructor(t,n,r){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=r}createEmbeddedView(t){const n=this._declarationTContainer.tViews,r=va(this._declarationLView,n,t,16,null,n.declTNode,null,null,null,null);r[17]=this._declarationLView[this._declarationTContainer.index];const i=this._declarationLView[19];return null!==i&&(r[19]=i.createEmbeddedView(n)),Ca(n,r,t),new xa(r)}};function Fl(e,t){return 4&e.type?new f0(t,e,Bo(e,t)):null}const g0=function(){return Tm(b(),Me())};let kl=(()=>{class e{}return e.__NG_ELEMENT_ID__=g0,e})();const y0=kl,bm=class extends y0{constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return Bo(this._hostTNode,this._hostLView)}get injector(){return new Lt(this._hostTNode,this._hostLView)}get parentInjector(){const t=ia(this._hostTNode,this._hostLView);if(el(t)){const n=Ti(t,this._hostLView),r=wi(t);return new Lt(n[1].data[r+8],n)}return new Lt(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=wm(this._lContainer);return null!==n&&n[t]||null}get length(){return this._lContainer.length-10}createEmbeddedView(t,n,r){const s=t.createEmbeddedView(n||{});return this.insert(s,r),s}createComponent(t,n,r,s,i){const o=t&&!("function"==typeof t);let a;if(o)a=n;else{const M=n||{};a=M.index,r=M.injector,s=M.projectableNodes,i=M.ngModuleRef}const f=o?t:new Kc(Rt(t)),m=r||this.parentInjector;if(!i&&null==f.ngModule&&m){const M=m.get(Zi,null);M&&(i=M)}const D=f.create(m,s,void 0,i);return this.insert(D.hostView,a),D}insert(t,n){const r=t._lView,s=r[1];if(er(r[3])){const D=this.indexOf(t);if(-1!==D)this.detach(D);else{const M=r[3],P=new bm(M,M[6],M[3]);P.detach(P.indexOf(t))}}const i=this._adjustIndex(n),o=this._lContainer;!function(e,t,n,r){const s=10+r,i=n.length;r>0&&(n[s-1][4]=t),r<i-10?(t[4]=n[s],rl(n,10+r,t)):(n.push(t),t[4]=null),t[3]=n;const o=t[17];null!==o&&n!==o&&function(e,t){const n=e[9];t[16]!==t[3][3][16]&&(e[2]=!0),null===n?e[9]=[t]:n.push(t)}(o,t);const a=t[19];null!==a&&a.insertView(e),t[2]|=128}(s,r,o,i);const a=Nu(i,o),f=r[x],m=fl(f,o[7]);return null!==m&&function(e,t,n,r,s,i){r[0]=s,r[6]=t,Ea(e,r,n,1,s,i)}(s,o[6],f,r,m,a),t.attachToViewContainerRef(),rl(Zc(o),i,t),t}move(t,n){return this.insert(t,n)}indexOf(t){const n=wm(this._lContainer);return null!==n?n.indexOf(t):-1}remove(t){const n=this._adjustIndex(t,-1),r=Pu(this._lContainer,n);r&&(Wi(Zc(this._lContainer),n),Bf(r[1],r))}detach(t){const n=this._adjustIndex(t,-1),r=Pu(this._lContainer,n);return r&&null!=Wi(Zc(this._lContainer),n)?new xa(r):null}_adjustIndex(t,n=0){return null==t?this.length+n:t}};function wm(e){return e[8]}function Zc(e){return e[8]||(e[8]=[])}function Tm(e,t){let n;const r=t[e.index];if(er(r))n=r;else{let s;if(8&e.type)s=S(r);else{const i=t[x];s=i.createComment("");const o=$e(e,t);Yi(i,fl(i,o),s,function(e,t){return _(e)?e.nextSibling(t):t.nextSibling}(i,o),!1)}t[e.index]=n=Mh(r,t,s,e),El(t,n)}return new bm(n,e,t)}class Jc{constructor(t){this.queryList=t,this.matches=null}clone(){return new Jc(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,s=[];for(let i=0;i<r;i++){const o=n.getByIndex(i);s.push(this.queries[o.indexInDeclarationView].clone())}return new Xc(s)}return null}insertView(t){this.dirtyQueriesWithMatches(t)}detachView(t){this.dirtyQueriesWithMatches(t)}dirtyQueriesWithMatches(t){for(let n=0;n<this.queries.length;n++)null!==Nm(t,n).matches&&this.queries[n].setDirty()}}class Sm{constructor(t,n,r=null){this.predicate=t,this.flags=n,this.read=r}}class ed{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 s=null!==n?n.length:0,i=this.getByIndex(r).embeddedTView(t,s);i&&(i.indexInDeclarationView=r,null!==n?n.push(i):n=[i])}return null!==n?new ed(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 td{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 td(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}matchTNode(t,n){const r=this.metadata.predicate;if(Array.isArray(r))for(let s=0;s<r.length;s++){const i=r[s];this.matchTNodeWithReadOption(t,n,v0(n,i)),this.matchTNodeWithReadOption(t,n,_e(n,t,i,!1,!1))}else r===La?4&n.type&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,_e(n,t,r,!1,!1))}matchTNodeWithReadOption(t,n,r){if(null!==r){const s=this.metadata.read;if(null!==s)if(s===zs||s===kl||s===La&&4&n.type)this.addMatch(n.index,-2);else{const i=_e(n,t,s,!1,!1);null!==i&&this.addMatch(n.index,i)}else this.addMatch(n.index,r)}}addMatch(t,n){null===this.matches?this.matches=[t,n]:this.matches.push(t,n)}}function v0(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 D0(e,t,n,r){return-1===n?function(e,t){return 11&e.type?Bo(e,t):4&e.type?Fl(e,t):null}(t,e):-2===n?function(e,t,n){return n===zs?Bo(t,e):n===La?Fl(t,e):n===kl?Tm(t,e):void 0}(e,t,r):Ye(e,e[1],n,t)}function Im(e,t,n,r){const s=t[19].queries[r];if(null===s.matches){const i=e.data,o=n.matches,a=[];for(let f=0;f<o.length;f+=2){const m=o[f];a.push(m<0?null:D0(t,i[m],o[f+1],n.metadata.read))}s.matches=a}return s.matches}function nd(e,t,n,r){const s=e.queries.getByIndex(n),i=s.matches;if(null!==i){const o=Im(e,t,s,n);for(let a=0;a<i.length;a+=2){const f=i[a];if(f>0)r.push(o[a/2]);else{const m=i[a+1],D=t[-f];for(let M=10;M<D.length;M++){const P=D[M];P[17]===P[3]&&nd(P[1],P,m,r)}if(null!==D[9]){const M=D[9];for(let P=0;P<M.length;P++){const U=M[P];nd(U[1],U,m,r)}}}}}return r}function Am(e){const t=Me(),n=Ft(),r=ms();cr(r+1);const s=Nm(n,r);if(e.dirty&&rn(t)===(2==(2&s.metadata.flags))){if(null===s.matches)e.reset([]);else{const i=s.crossesNgTemplate?nd(n,t,r,[]):Im(n,t,s,r);e.reset(i,em),e.notifyOnChanges()}return!0}return!1}function Mm(e,t,n){const r=Ft();r.firstCreatePass&&(xm(r,new Sm(e,t,n),-1),2==(2&t)&&(r.staticViewQueries=!0)),Om(r,Me(),t)}function Rm(e,t,n,r){const s=Ft();if(s.firstCreatePass){const i=b();xm(s,new Sm(t,n,r),i.index),function(e,t){const n=e.contentQueries||(e.contentQueries=[]);t!==(n.length?n[n.length-1]:-1)&&n.push(e.queries.length-1,t)}(s,e),2==(2&n)&&(s.staticContentQueries=!0)}Om(s,Me(),n)}function Pm(){return e=Me(),t=ms(),e[19].queries[t].queryList;var e,t}function Om(e,t,n){const r=new ka(4==(4&n));Ch(e,t,r,r.destroy),null===t[19]&&(t[19]=new Xc),t[19].queries.push(new Jc(r))}function xm(e,t,n){null===e.queries&&(e.queries=new ed),e.queries.track(new td(t,n))}function Nm(e,t){return e.queries.getByIndex(t)}function Fm(e,t){return Fl(e,t)}const ld=new On("Application Initializer");let $o=(()=>{class e{constructor(n){this.appInits=n,this.resolve=Ol,this.reject=Ol,this.initialized=!1,this.done=!1,this.donePromise=new Promise((r,s)=>{this.resolve=r,this.reject=s})}runInitializers(){if(this.initialized)return;const n=[],r=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let s=0;s<this.appInits.length;s++){const i=this.appInits[s]();if(Tc(i))n.push(i);else if(Sc(i)){const o=new Promise((a,f)=>{i.subscribe({complete:a,error:f})});n.push(o)}}Promise.all(n).then(()=>{r()}).catch(s=>{this.reject(s)}),0===n.length&&r(),this.initialized=!0}}return e.\u0275fac=function(n){return new(n||e)(Yn(ld,8))},e.\u0275prov=je({token:e,factory:e.\u0275fac}),e})();const Xm=new On("AppId"),J0={provide:Xm,useFactory:function(){return`${ud()}${ud()}${ud()}`},deps:[]};function ud(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const ey=new On("Platform Initializer"),ty=new On("Platform ID"),ny=new On("appBootstrapListener");let ry=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=je({token:e,factory:e.\u0275fac}),e})();const Bl=new On("LocaleId"),sy=new On("DefaultCurrencyCode");class ew{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}}const cd=function(e){return new Qc(e)},tw=cd,nw=function(e){return Promise.resolve(cd(e))},oy=function(e){const t=cd(e),r=Vs(_n(e).declarations).reduce((s,i)=>{const o=Rt(i);return o&&s.push(new Kc(o)),s},[]);return new ew(t,r)},rw=oy,sw=function(e){return Promise.resolve(oy(e))};let dd=(()=>{class e{constructor(){this.compileModuleSync=tw,this.compileModuleAsync=nw,this.compileModuleAndAllComponentsSync=rw,this.compileModuleAndAllComponentsAsync=sw}clearCache(){}clearCacheFor(n){}getModuleId(n){}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=je({token:e,factory:e.\u0275fac}),e})();const aw=(()=>Promise.resolve(0))();function fd(e){"undefined"==typeof Zone?aw.then(()=>{e&&e.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}class qr{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Ws(!1),this.onMicrotaskEmpty=new Ws(!1),this.onStable=new Ws(!1),this.onError=new Ws(!1),"undefined"==typeof Zone)throw new Error("In this configuration Angular requires Zone.js");Zone.assertZonePatched();const s=this;s._nesting=0,s._outer=s._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(s._inner=s._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(s._inner=s._inner.fork(Zone.longStackTraceZoneSpec)),s.shouldCoalesceEventChangeDetection=!r&&n,s.shouldCoalesceRunChangeDetection=r,s.lastRequestAnimationFrameId=-1,s.nativeRequestAnimationFrame=function(){let e=ze.requestAnimationFrame,t=ze.cancelAnimationFrame;if("undefined"!=typeof Zone&&e&&t){const n=e[Zone.__symbol__("OriginalDelegate")];n&&(e=n);const r=t[Zone.__symbol__("OriginalDelegate")];r&&(t=r)}return{nativeRequestAnimationFrame:e,nativeCancelAnimationFrame:t}}().nativeRequestAnimationFrame,function(e){const t=()=>{!function(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(ze,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,pd(e),e.isCheckStableRunning=!0,hd(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),pd(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,s,i,o,a)=>{try{return ay(e),n.invokeTask(s,i,o,a)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===i.type||e.shouldCoalesceRunChangeDetection)&&t(),ly(e)}},onInvoke:(n,r,s,i,o,a,f)=>{try{return ay(e),n.invoke(s,i,o,a,f)}finally{e.shouldCoalesceRunChangeDetection&&t(),ly(e)}},onHasTask:(n,r,s,i)=>{n.hasTask(s,i),r===s&&("microTask"==i.change?(e._hasPendingMicrotasks=i.microTask,pd(e),hd(e)):"macroTask"==i.change&&(e.hasPendingMacrotasks=i.macroTask))},onHandleError:(n,r,s,i)=>(n.handleError(s,i),e.runOutsideAngular(()=>e.onError.emit(i)),!1)})}(s)}static isInAngularZone(){return!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!qr.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}static assertNotInAngularZone(){if(qr.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,s){const i=this._inner,o=i.scheduleEventTask("NgZoneEvent: "+s,t,uw,Ol,Ol);try{return i.runTask(o,n,r)}finally{i.cancelTask(o)}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}}const uw={};function hd(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 pd(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function ay(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function ly(e){e._nesting--,hd(e)}class fw{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Ws,this.onMicrotaskEmpty=new Ws,this.onStable=new Ws,this.onError=new Ws}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,s){return t.apply(n,r)}}let uy=(()=>{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:()=>{qr.assertNotInAngularZone(),fd(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())fd(()=>{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,s){let i=-1;r&&r>0&&(i=setTimeout(()=>{this._callbacks=this._callbacks.filter(o=>o.timeoutId!==i),n(this._didWork,this.getPendingTasks())},r)),this._callbacks.push({doneCb:n,timeoutId:i,updateCb:s})}whenStable(n,r,s){if(s&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(n,r,s),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}findProviders(n,r,s){return[]}}return e.\u0275fac=function(n){return new(n||e)(Yn(qr))},e.\u0275prov=je({token:e,factory:e.\u0275fac}),e})(),cy=(()=>{class e{constructor(){this._applications=new Map,gd.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 gd.findTestabilityInTree(this,n,r)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=je({token:e,factory:e.\u0275fac}),e})();class hw{addToWindow(t){}findTestabilityInTree(t,n,r){return null}}function pw(e){gd=e}let gd=new hw,dy=!0,fy=!1;function md(){return fy=!0,dy}function gw(){if(fy)throw new Error("Cannot enable prod mode after platform setup.");dy=!1}let Ts;const hy=new On("AllowMultipleToken");class Dw{constructor(t,n){this.name=t,this.token=n}}function py(e,t,n=[]){const r=`Platform: ${t}`,s=new On(r);return(i=[])=>{let o=gy();if(!o||o.injector.get(hy,!1))if(e)e(n.concat(i).concat({provide:s,useValue:!0}));else{const a=n.concat(i).concat({provide:s,useValue:!0},{provide:Da,useValue:"platform"});!function(e){if(Ts&&!Ts.destroyed&&!Ts.injector.get(hy,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");Ts=e.get(my);const t=e.get(ey,null);t&&t.forEach(n=>n())}(vn.create({providers:a,name:r}))}return function(e){const t=gy();if(!t)throw new Error("No platform exists!");if(!t.injector.get(e,null))throw new Error("A platform with a different configuration has been created. Please destroy it first.");return t}(s)}}function gy(){return Ts&&!Ts.destroyed?Ts:null}let my=(()=>{class e{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,r){const a=function(e,t){let n;return n="noop"===e?new fw:("zone.js"===e?void 0:e)||new qr({enableLongStackTrace:md(),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}),f=[{provide:qr,useValue:a}];return a.run(()=>{const m=vn.create({providers:f,parent:this.injector,name:n.moduleType.name}),D=n.create(m),M=D.injector.get(go,null);if(!M)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return a.runOutsideAngular(()=>{const P=a.onError.subscribe({next:U=>{M.handleError(U)}});D.onDestroy(()=>{yd(this._modules,D),P.unsubscribe()})}),function(e,t,n){try{const r=n();return Tc(r)?r.catch(s=>{throw t.runOutsideAngular(()=>e.handleError(s)),s}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}(M,a,()=>{const P=D.injector.get($o);return P.runInitializers(),P.donePromise.then(()=>(function(e){pe(e,"Expected localeId to be defined"),"string"==typeof e&&(Tg=e.toLowerCase().replace(/_/g,"-"))}(D.injector.get(Bl,Il)||Il),this._moduleDoBootstrap(D),D))})})}bootstrapModule(n,r=[]){const s=yy({},r);return function(e,t,n){const r=new Qc(n);return Promise.resolve(r)}(0,0,n).then(i=>this.bootstrapModuleFactory(i,s))}_moduleDoBootstrap(n){const r=n.injector.get(Ba);if(n._bootstrapComponents.length>0)n._bootstrapComponents.forEach(s=>r.bootstrap(s));else{if(!n.instance.ngDoBootstrap)throw new Error(`The module ${B(n.instance.constructor)} was bootstrapped, but it does not declare "@NgModule.bootstrap" components nor a "ngDoBootstrap" method. Please define one of these.`);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 Error("The platform has already been destroyed!");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)(Yn(vn))},e.\u0275prov=je({token:e,factory:e.\u0275fac}),e})();function yy(e,t){return Array.isArray(t)?t.reduce(yy,e):it(it({},e),t)}let Ba=(()=>{class e{constructor(n,r,s,i,o){this._zone=n,this._injector=r,this._exceptionHandler=s,this._componentFactoryResolver=i,this._initStatus=o,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const a=new oe.y(m=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{m.next(this._stable),m.complete()})}),f=new oe.y(m=>{let D;this._zone.runOutsideAngular(()=>{D=this._zone.onStable.subscribe(()=>{qr.assertNotInAngularZone(),fd(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,m.next(!0))})})});const M=this._zone.onUnstable.subscribe(()=>{qr.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{m.next(!1)}))});return()=>{D.unsubscribe(),M.unsubscribe()}});this.isStable=(0,fe.T)(a,f.pipe(e=>(0,V.x)()((0,J.O)(re)(e))))}bootstrap(n,r){if(!this._initStatus.done)throw new Error("Cannot bootstrap as there are still asynchronous initializers running. Bootstrap components in the `ngDoBootstrap` method of the root module.");let s;s=n instanceof Zg?n:this._componentFactoryResolver.resolveComponentFactory(n),this.componentTypes.push(s.componentType);const i=function(e){return e.isBoundToModule}(s)?void 0:this._injector.get(Zi),a=s.create(vn.NULL,[],r||s.selector,i),f=a.location.nativeElement,m=a.injector.get(uy,null),D=m&&a.injector.get(cy);return m&&D&&D.registerApplication(f,m),a.onDestroy(()=>{this.detachView(a.hostView),yd(this.components,a),D&&D.unregisterApplication(f)}),this._loadComponent(a),a}tick(){if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");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;yd(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n),this._injector.get(ny,[]).concat(this._bootstrapListeners).forEach(s=>s(n))}ngOnDestroy(){this._views.slice().forEach(n=>n.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}get viewCount(){return this._views.length}}return e.\u0275fac=function(n){return new(n||e)(Yn(qr),Yn(vn),Yn(go),Yn(Vo),Yn($o))},e.\u0275prov=je({token:e,factory:e.\u0275fac}),e})();function yd(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}const Mw=function(e){return function(e,t,n){if(Jr(e)&&!n){const r=ht(e.index,t);return new xa(r,r)}return 47&e.type?new xa(t[16],t):null}(b(),Me(),16==(16&e))};let Rw=(()=>{class e{}return e.__NG_ELEMENT_ID__=Mw,e})();const Uw=function(e){return null};class wy{constructor(){}supports(t){return Ta(t)}create(t){return new $w(t)}}const Hw=(e,t)=>t;class $w{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||Hw}forEachItem(t){let n;for(n=this._itHead;null!==n;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,r=this._removalsHead,s=0,i=null;for(;n||r;){const o=!r||n&&n.currentIndex<Sy(r,s,i)?n:r,a=Sy(o,s,i),f=o.currentIndex;if(o===r)s--,r=r._nextRemoved;else if(n=n._next,null==o.previousIndex)s++;else{i||(i=[]);const m=a-s,D=f-s;if(m!=D){for(let P=0;P<m;P++){const U=P<i.length?i[P]:i[P]=0,q=U+P;D<=q&&q<m&&(i[P]=U+1)}i[o.previousIndex]=D-m}}a!==f&&t(o,a,f)}}forEachPreviousItem(t){let n;for(n=this._previousItHead;null!==n;n=n._nextPrevious)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;null!==n;n=n._nextAdded)t(n)}forEachMovedItem(t){let n;for(n=this._movesHead;null!==n;n=n._nextMoved)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;null!==n;n=n._nextRemoved)t(n)}forEachIdentityChange(t){let n;for(n=this._identityChangesHead;null!==n;n=n._nextIdentityChange)t(n)}diff(t){if(null==t&&(t=[]),!Ta(t))throw new Error(`Error trying to diff '${B(t)}'. Only arrays and iterables are allowed`);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let s,i,o,n=this._itHead,r=!1;if(Array.isArray(t)){this.length=t.length;for(let a=0;a<this.length;a++)i=t[a],o=this._trackByFn(a,i),null!==n&&Object.is(n.trackById,o)?(r&&(n=this._verifyReinsertion(n,i,o,a)),Object.is(n.item,i)||this._addIdentityChange(n,i)):(n=this._mismatch(n,i,o,a),r=!0),n=n._next}else s=0,function(e,t){if(Array.isArray(e))for(let n=0;n<e.length;n++)t(e[n]);else{const n=e[wo()]();let r;for(;!(r=n.next()).done;)t(r.value)}}(t,a=>{o=this._trackByFn(s,a),null!==n&&Object.is(n.trackById,o)?(r&&(n=this._verifyReinsertion(n,a,o,s)),Object.is(n.item,a)||this._addIdentityChange(n,a)):(n=this._mismatch(n,a,o,s),r=!0),n=n._next,s++}),this.length=s;return this._truncate(n),this.collection=t,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;null!==t;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;null!==t;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,n,r,s){let i;return null===t?i=this._itTail:(i=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._reinsertAfter(t,i,s)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(r,s))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,i,s)):t=this._addAfter(new zw(n,r),i,s),t}_verifyReinsertion(t,n,r,s){let i=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null);return null!==i?t=this._reinsertAfter(i,t._prev,s):t.currentIndex!=s&&(t.currentIndex=s,this._addToMoves(t,s)),t}_truncate(t){for(;null!==t;){const n=t._next;this._addToRemovals(this._unlink(t)),t=n}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,n,r){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const s=t._prevRemoved,i=t._nextRemoved;return null===s?this._removalsHead=i:s._nextRemoved=i,null===i?this._removalsTail=s:i._prevRemoved=s,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 s=null===n?this._itHead:n._next;return t._next=s,t._prev=n,null===s?this._itTail=t:s._prev=t,null===n?this._itHead=t:n._next=t,null===this._linkedRecords&&(this._linkedRecords=new Ty),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 Ty),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 zw{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 Ww{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 Ty{constructor(){this.map=new Map}put(t){const n=t.trackById;let r=this.map.get(n);r||(r=new Ww,this.map.set(n,r)),r.add(t)}get(t,n){const s=this.map.get(t);return s?s.get(t,n):null}remove(t){const n=t.trackById;return this.map.get(n).remove(t)&&this.map.delete(n),t}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function Sy(e,t,n){const r=e.previousIndex;if(null===r)return r;let s=0;return n&&r<n.length&&(s=n[r]),r+t+s}class Iy{constructor(){}supports(t){return t instanceof Map||hc(t)}create(){return new Gw}}class Gw{constructor(){this._records=new Map,this._mapHead=null,this._appendAfter=null,this._previousMapHead=null,this._changesHead=null,this._changesTail=null,this._additionsHead=null,this._additionsTail=null,this._removalsHead=null,this._removalsTail=null}get isDirty(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead}forEachItem(t){let n;for(n=this._mapHead;null!==n;n=n._next)t(n)}forEachPreviousItem(t){let n;for(n=this._previousMapHead;null!==n;n=n._nextPrevious)t(n)}forEachChangedItem(t){let n;for(n=this._changesHead;null!==n;n=n._nextChanged)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;null!==n;n=n._nextAdded)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;null!==n;n=n._nextRemoved)t(n)}diff(t){if(t){if(!(t instanceof Map||hc(t)))throw new Error(`Error trying to diff '${B(t)}'. Only maps and objects are allowed`)}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,s)=>{if(n&&n.key===s)this._maybeAddToChanges(n,r),this._appendAfter=n,n=n._next;else{const i=this._getOrCreateRecordForKey(s,r);n=this._insertBeforeOrAppend(n,i)}}),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 s=this._records.get(t);this._maybeAddToChanges(s,n);const i=s._prev,o=s._next;return i&&(i._next=o),o&&(o._prev=i),s._next=null,s._prev=null,s}const r=new Kw(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 Kw{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 Ay(){return new $l([new wy])}let $l=(()=>{class e{constructor(n){this.factories=n}static create(n,r){if(null!=r){const s=r.factories.slice();n=n.concat(s)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||Ay()),deps:[[e,new Ii,new Xs]]}}find(n){const r=this.factories.find(s=>s.supports(n));if(null!=r)return r;throw new Error(`Cannot find a differ supporting object '${n}' of type '${function(e){return e.name||typeof e}(n)}'`)}}return e.\u0275prov=je({token:e,providedIn:"root",factory:Ay}),e})();function My(){return new zl([new Iy])}let zl=(()=>{class e{constructor(n){this.factories=n}static create(n,r){if(r){const s=r.factories.slice();n=n.concat(s)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||My()),deps:[[e,new Ii,new Xs]]}}find(n){const r=this.factories.find(s=>s.supports(n));if(r)return r;throw new Error(`Cannot find a differ supporting object '${n}'`)}}return e.\u0275prov=je({token:e,providedIn:"root",factory:My}),e})();const Qw=[new Iy],Zw=new $l([new wy]),Jw=new zl(Qw),Xw=py(null,"core",[{provide:ty,useValue:"unknown"},{provide:my,deps:[vn]},{provide:cy,deps:[]},{provide:ry,deps:[]}]),sT=[{provide:Ba,useClass:Ba,deps:[qr,vn,go,Vo,$o]},{provide:Kb,deps:[qr],useFactory:function(e){let t=[];return e.onStable.subscribe(()=>{for(;t.length;)t.pop()()}),function(n){t.push(n)}}},{provide:$o,useClass:$o,deps:[[new Xs,ld]]},{provide:dd,useClass:dd,deps:[]},J0,{provide:$l,useFactory:function(){return Zw},deps:[]},{provide:zl,useFactory:function(){return Jw},deps:[]},{provide:Bl,useFactory:function(e){return e||"undefined"!=typeof $localize&&$localize.locale||Il},deps:[[new co(Bl),new Xs,new Ii]]},{provide:sy,useValue:"USD"}];let oT=(()=>{class e{constructor(n){}}return e.\u0275fac=function(n){return new(n||e)(Yn(Ba))},e.\u0275mod=Xn({type:e}),e.\u0275inj=tn({providers:sT}),e})()},9555:(He,de,I)=>{I.d(de,{Qb:()=>_i,PW:()=>Ft});var E=I(6079),g=I(5427),oe=I(9814);function fe(){return"undefined"!=typeof window&&void 0!==window.document}function J(){return"undefined"!=typeof process&&"[object process]"==={}.toString.call(process)}function V(b){switch(b.length){case 0:return new oe.ZN;case 1:return b[0];default:return new oe.ZE(b)}}function re(b,l,u,p,w={},R={}){const L=[],j=[];let se=-1,Ee=null;if(p.forEach(xe=>{const We=xe.offset,pt=We==se,Tt=pt&&Ee||{};Object.keys(xe).forEach(qe=>{let yt=qe,kt=xe[qe];if("offset"!==qe)switch(yt=l.normalizePropertyName(yt,L),kt){case oe.k1:kt=w[qe];break;case oe.l3:kt=R[qe];break;default:kt=l.normalizeStyleValue(qe,yt,kt,L)}Tt[yt]=kt}),pt||j.push(Tt),Ee=Tt,se=We}),L.length){const xe="\n - ";throw new Error(`Unable to animate due to the following errors:${xe}${L.join(xe)}`)}return j}function ne(b,l,u,p){switch(l){case"start":b.onStart(()=>p(u&&G(u,"start",b)));break;case"done":b.onDone(()=>p(u&&G(u,"done",b)));break;case"destroy":b.onDestroy(()=>p(u&&G(u,"destroy",b)))}}function G(b,l,u){const p=u.totalTime,R=K(b.element,b.triggerName,b.fromState,b.toState,l||b.phaseName,null==p?b.totalTime:p,!!u.disabled),L=b._data;return null!=L&&(R._data=L),R}function K(b,l,u,p,w="",R=0,L){return{element:b,triggerName:l,fromState:u,toState:p,phaseName:w,totalTime:R,disabled:!!L}}function B(b,l,u){let p;return b instanceof Map?(p=b.get(l),p||b.set(l,p=u)):(p=b[l],p||(p=b[l]=u)),p}function ue(b){const l=b.indexOf(":");return[b.substring(1,l),b.substr(l+1)]}let ve=(b,l)=>!1,Ie=(b,l)=>!1,te=(b,l,u)=>[];const he=J();(he||"undefined"!=typeof Element)&&(ve=fe()?(b,l)=>{for(;l&&l!==document.documentElement;){if(l===b)return!0;l=l.parentNode||l.host}return!1}:(b,l)=>b.contains(l),Ie=(()=>{if(he||Element.prototype.matches)return(b,l)=>b.matches(l);{const b=Element.prototype,l=b.matchesSelector||b.mozMatchesSelector||b.msMatchesSelector||b.oMatchesSelector||b.webkitMatchesSelector;return l?(u,p)=>l.apply(u,[p]):Ie}})(),te=(b,l,u)=>{let p=[];if(u){const w=b.querySelectorAll(l);for(let R=0;R<w.length;R++)p.push(w[R])}else{const w=b.querySelector(l);w&&p.push(w)}return p});let Oe=null,Ue=!1;function ot(b){Oe||(Oe=("undefined"!=typeof document?document.body:null)||{},Ue=!!Oe.style&&"WebkitAppearance"in Oe.style);let l=!0;return Oe.style&&!function(b){return"ebkit"==b.substring(1,6)}(b)&&(l=b in Oe.style,!l&&Ue&&(l="Webkit"+b.charAt(0).toUpperCase()+b.substr(1)in Oe.style)),l}const be=Ie,Ze=ve,Bt=te;function bt(b){const l={};return Object.keys(b).forEach(u=>{const p=u.replace(/([a-z])([A-Z])/g,"$1-$2");l[p]=b[u]}),l}let It=(()=>{class b{validateStyleProperty(u){return ot(u)}matchesElement(u,p){return be(u,p)}containsElement(u,p){return Ze(u,p)}query(u,p,w){return Bt(u,p,w)}computeStyle(u,p,w){return w||""}animate(u,p,w,R,L,j=[],se){return new oe.ZN(w,R)}}return b.\u0275fac=function(u){return new(u||b)},b.\u0275prov=E.Yz7({token:b,factory:b.\u0275fac}),b})(),ct=(()=>{class b{}return b.NOOP=new It,b})();const dt="ng-enter",Be="ng-leave",Cn="ng-trigger",Zn=".ng-trigger",ir="ng-animating",ln=".ng-animating";function xt(b){if("number"==typeof b)return b;const l=b.match(/^(-?[\.\d]+)(m?s)/);return!l||l.length<2?0:pe(parseFloat(l[1]),l[2])}function pe(b,l){return"s"===l?1e3*b:b}function we(b,l,u){return b.hasOwnProperty("duration")?b:function(b,l,u){let w,R=0,L="";if("string"==typeof b){const j=b.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===j)return l.push(`The provided timing value "${b}" is invalid.`),{duration:0,delay:0,easing:""};w=pe(parseFloat(j[1]),j[2]);const se=j[3];null!=se&&(R=pe(parseFloat(se),j[4]));const Ee=j[5];Ee&&(L=Ee)}else w=b;if(!u){let j=!1,se=l.length;w<0&&(l.push("Duration values below 0 are not allowed for this animation step."),j=!0),R<0&&(l.push("Delay values below 0 are not allowed for this animation step."),j=!0),j&&l.splice(se,0,`The provided timing value "${b}" is invalid.`)}return{duration:w,delay:R,easing:L}}(b,l,u)}function le(b,l={}){return Object.keys(b).forEach(u=>{l[u]=b[u]}),l}function je(b,l,u={}){if(l)for(let p in b)u[p]=b[p];else le(b,u);return u}function un(b,l,u){return u?l+":"+u+";":""}function tn(b){let l="";for(let u=0;u<b.style.length;u++){const p=b.style.item(u);l+=un(0,p,b.style.getPropertyValue(p))}for(const u in b.style)b.style.hasOwnProperty(u)&&!u.startsWith("_")&&(l+=un(0,De(u),b.style[u]));b.setAttribute("style",l)}function wt(b,l,u){b.style&&(Object.keys(l).forEach(p=>{const w=Ke(p);u&&!u.hasOwnProperty(p)&&(u[p]=b.style[w]),b.style[w]=l[p]}),J()&&tn(b))}function gn(b,l){b.style&&(Object.keys(l).forEach(u=>{const p=Ke(u);b.style[p]=""}),J()&&tn(b))}function nn(b){return Array.isArray(b)?1==b.length?b[0]:(0,oe.vP)(b):b}const or=new RegExp("{{\\s*(.+?)\\s*}}","g");function Hn(b){let l=[];if("string"==typeof b){let u;for(;u=or.exec(b);)l.push(u[1]);or.lastIndex=0}return l}function Fn(b,l,u){const p=b.toString(),w=p.replace(or,(R,L)=>{let j=l[L];return l.hasOwnProperty(L)||(u.push(`Please provide a value for the animation param ${L}`),j=""),j.toString()});return w==p?b:w}function Qt(b){const l=[];let u=b.next();for(;!u.done;)l.push(u.value),u=b.next();return l}const Or=/-+([a-z0-9])/g;function Ke(b){return b.replace(Or,(...l)=>l[1].toUpperCase())}function De(b){return b.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function Y(b,l){return 0===b||0===l}function Q(b,l,u){const p=Object.keys(u);if(p.length&&l.length){let R=l[0],L=[];if(p.forEach(j=>{R.hasOwnProperty(j)||L.push(j),R[j]=u[j]}),L.length)for(var w=1;w<l.length;w++){let j=l[w];L.forEach(function(se){j[se]=Pe(b,se)})}}return l}function Te(b,l,u){switch(l.type){case 7:return b.visitTrigger(l,u);case 0:return b.visitState(l,u);case 1:return b.visitTransition(l,u);case 2:return b.visitSequence(l,u);case 3:return b.visitGroup(l,u);case 4:return b.visitAnimate(l,u);case 5:return b.visitKeyframes(l,u);case 6:return b.visitStyle(l,u);case 8:return b.visitReference(l,u);case 9:return b.visitAnimateChild(l,u);case 10:return b.visitAnimateRef(l,u);case 11:return b.visitQuery(l,u);case 12:return b.visitStagger(l,u);default:throw new Error(`Unable to resolve animation metadata node #${l.type}`)}}function Pe(b,l){return window.getComputedStyle(b)[l]}function Ne(b,l){const u=[];return"string"==typeof b?b.split(/\s*,\s*/).forEach(p=>function(b,l,u){if(":"==b[0]){const se=function(b,l){switch(b){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(u,p)=>parseFloat(p)>parseFloat(u);case":decrement":return(u,p)=>parseFloat(p)<parseFloat(u);default:return l.push(`The transition alias value "${b}" is not supported`),"* => *"}}(b,u);if("function"==typeof se)return void l.push(se);b=se}const p=b.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==p||p.length<4)return u.push(`The provided transition expression "${b}" is not supported`),l;const w=p[1],R=p[2],L=p[3];l.push(yn(w,L));"<"==R[0]&&!("*"==w&&"*"==L)&&l.push(yn(L,w))}(p,u,l)):u.push(b),u}const mt=new Set(["true","1"]),$t=new Set(["false","0"]);function yn(b,l){const u=mt.has(b)||$t.has(b),p=mt.has(l)||$t.has(l);return(w,R)=>{let L="*"==b||b==w,j="*"==l||l==R;return!L&&u&&"boolean"==typeof w&&(L=w?mt.has(b):$t.has(b)),!j&&p&&"boolean"==typeof R&&(j=R?mt.has(l):$t.has(l)),L&&j}}const Ot=new RegExp("s*:selfs*,?","g");function ze(b,l,u){return new Nt(b).build(l,u)}class Nt{constructor(l){this._driver=l}build(l,u){const p=new Cr(u);return this._resetContextStyleTimingState(p),Te(this,nn(l),p)}_resetContextStyleTimingState(l){l.currentQuerySelector="",l.collectedStyles={},l.collectedStyles[""]={},l.currentTime=0}visitTrigger(l,u){let p=u.queryCount=0,w=u.depCount=0;const R=[],L=[];return"@"==l.name.charAt(0)&&u.errors.push("animation triggers cannot be prefixed with an `@` sign (e.g. trigger('@foo', [...]))"),l.definitions.forEach(j=>{if(this._resetContextStyleTimingState(u),0==j.type){const se=j,Ee=se.name;Ee.toString().split(/\s*,\s*/).forEach(xe=>{se.name=xe,R.push(this.visitState(se,u))}),se.name=Ee}else if(1==j.type){const se=this.visitTransition(j,u);p+=se.queryCount,w+=se.depCount,L.push(se)}else u.errors.push("only state() and transition() definitions can sit inside of a trigger()")}),{type:7,name:l.name,states:R,transitions:L,queryCount:p,depCount:w,options:null}}visitState(l,u){const p=this.visitStyle(l.styles,u),w=l.options&&l.options.params||null;if(p.containsDynamicStyles){const R=new Set,L=w||{};if(p.styles.forEach(j=>{if(cn(j)){const se=j;Object.keys(se).forEach(Ee=>{Hn(se[Ee]).forEach(xe=>{L.hasOwnProperty(xe)||R.add(xe)})})}}),R.size){const j=Qt(R.values());u.errors.push(`state("${l.name}", ...) must define default values for all the following style substitutions: ${j.join(", ")}`)}}return{type:0,name:l.name,style:p,options:w?{params:w}:null}}visitTransition(l,u){u.queryCount=0,u.depCount=0;const p=Te(this,nn(l.animation),u);return{type:1,matchers:Ne(l.expr,u.errors),animation:p,queryCount:u.queryCount,depCount:u.depCount,options:dn(l.options)}}visitSequence(l,u){return{type:2,steps:l.steps.map(p=>Te(this,p,u)),options:dn(l.options)}}visitGroup(l,u){const p=u.currentTime;let w=0;const R=l.steps.map(L=>{u.currentTime=p;const j=Te(this,L,u);return w=Math.max(w,u.currentTime),j});return u.currentTime=w,{type:3,steps:R,options:dn(l.options)}}visitAnimate(l,u){const p=function(b,l){let u=null;if(b.hasOwnProperty("duration"))u=b;else if("number"==typeof b)return sn(we(b,l).duration,0,"");const p=b;if(p.split(/\s+/).some(R=>"{"==R.charAt(0)&&"{"==R.charAt(1))){const R=sn(0,0,"");return R.dynamic=!0,R.strValue=p,R}return u=u||we(p,l),sn(u.duration,u.delay,u.easing)}(l.timings,u.errors);u.currentAnimateTimings=p;let w,R=l.styles?l.styles:(0,oe.oB)({});if(5==R.type)w=this.visitKeyframes(R,u);else{let L=l.styles,j=!1;if(!L){j=!0;const Ee={};p.easing&&(Ee.easing=p.easing),L=(0,oe.oB)(Ee)}u.currentTime+=p.duration+p.delay;const se=this.visitStyle(L,u);se.isEmptyStep=j,w=se}return u.currentAnimateTimings=null,{type:4,timings:p,style:w,options:null}}visitStyle(l,u){const p=this._makeStyleAst(l,u);return this._validateStyleAst(p,u),p}_makeStyleAst(l,u){const p=[];Array.isArray(l.styles)?l.styles.forEach(L=>{"string"==typeof L?L==oe.l3?p.push(L):u.errors.push(`The provided style string value ${L} is not allowed.`):p.push(L)}):p.push(l.styles);let w=!1,R=null;return p.forEach(L=>{if(cn(L)){const j=L,se=j.easing;if(se&&(R=se,delete j.easing),!w)for(let Ee in j)if(j[Ee].toString().indexOf("{{")>=0){w=!0;break}}}),{type:6,styles:p,easing:R,offset:l.offset,containsDynamicStyles:w,options:null}}_validateStyleAst(l,u){const p=u.currentAnimateTimings;let w=u.currentTime,R=u.currentTime;p&&R>0&&(R-=p.duration+p.delay),l.styles.forEach(L=>{"string"!=typeof L&&Object.keys(L).forEach(j=>{if(!this._driver.validateStyleProperty(j))return void u.errors.push(`The provided animation property "${j}" is not a supported CSS property for animations`);const se=u.collectedStyles[u.currentQuerySelector],Ee=se[j];let xe=!0;Ee&&(R!=w&&R>=Ee.startTime&&w<=Ee.endTime&&(u.errors.push(`The CSS property "${j}" that exists between the times of "${Ee.startTime}ms" and "${Ee.endTime}ms" is also being animated in a parallel animation between the times of "${R}ms" and "${w}ms"`),xe=!1),R=Ee.startTime),xe&&(se[j]={startTime:R,endTime:w}),u.options&&function(b,l,u){const p=l.params||{},w=Hn(b);w.length&&w.forEach(R=>{p.hasOwnProperty(R)||u.push(`Unable to resolve the local animation param ${R} in the given list of values`)})}(L[j],u.options,u.errors)})})}visitKeyframes(l,u){const p={type:5,styles:[],options:null};if(!u.currentAnimateTimings)return u.errors.push("keyframes() must be placed inside of a call to animate()"),p;let R=0;const L=[];let j=!1,se=!1,Ee=0;const xe=l.steps.map(hn=>{const mn=this._makeStyleAst(hn,u);let Un=null!=mn.offset?mn.offset:function(b){if("string"==typeof b)return null;let l=null;if(Array.isArray(b))b.forEach(u=>{if(cn(u)&&u.hasOwnProperty("offset")){const p=u;l=parseFloat(p.offset),delete p.offset}});else if(cn(b)&&b.hasOwnProperty("offset")){const u=b;l=parseFloat(u.offset),delete u.offset}return l}(mn.styles),wn=0;return null!=Un&&(R++,wn=mn.offset=Un),se=se||wn<0||wn>1,j=j||wn<Ee,Ee=wn,L.push(wn),mn});se&&u.errors.push("Please ensure that all keyframe offsets are between 0 and 1"),j&&u.errors.push("Please ensure that all keyframe offsets are in order");const We=l.steps.length;let pt=0;R>0&&R<We?u.errors.push("Not all style() steps within the declared keyframes() contain offsets"):0==R&&(pt=1/(We-1));const Tt=We-1,qe=u.currentTime,yt=u.currentAnimateTimings,kt=yt.duration;return xe.forEach((hn,mn)=>{const Un=pt>0?mn==Tt?1:pt*mn:L[mn],wn=Un*kt;u.currentTime=qe+yt.delay+wn,yt.duration=wn,this._validateStyleAst(hn,u),hn.offset=Un,p.styles.push(hn)}),p}visitReference(l,u){return{type:8,animation:Te(this,nn(l.animation),u),options:dn(l.options)}}visitAnimateChild(l,u){return u.depCount++,{type:9,options:dn(l.options)}}visitAnimateRef(l,u){return{type:10,animation:this.visitReference(l.animation,u),options:dn(l.options)}}visitQuery(l,u){const p=u.currentQuerySelector,w=l.options||{};u.queryCount++,u.currentQuery=l;const[R,L]=function(b){const l=!!b.split(/\s*,\s*/).find(u=>":self"==u);return l&&(b=b.replace(Ot,"")),b=b.replace(/@\*/g,Zn).replace(/@\w+/g,u=>Zn+"-"+u.substr(1)).replace(/:animating/g,ln),[b,l]}(l.selector);u.currentQuerySelector=p.length?p+" "+R:R,B(u.collectedStyles,u.currentQuerySelector,{});const j=Te(this,nn(l.animation),u);return u.currentQuery=null,u.currentQuerySelector=p,{type:11,selector:R,limit:w.limit||0,optional:!!w.optional,includeSelf:L,animation:j,originalSelector:l.selector,options:dn(l.options)}}visitStagger(l,u){u.currentQuery||u.errors.push("stagger() can only be used inside of query()");const p="full"===l.timings?{duration:0,delay:0,easing:"full"}:we(l.timings,u.errors,!0);return{type:12,animation:Te(this,nn(l.animation),u),timings:p,options:null}}}class Cr{constructor(l){this.errors=l,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 cn(b){return!Array.isArray(b)&&"object"==typeof b}function dn(b){return b?(b=le(b)).params&&(b.params=function(b){return b?le(b):null}(b.params)):b={},b}function sn(b,l,u){return{duration:b,delay:l,easing:u}}function xr(b,l,u,p,w,R,L=null,j=!1){return{type:1,element:b,keyframes:l,preStyleProps:u,postStyleProps:p,duration:w,delay:R,totalTime:w+R,easing:L,subTimeline:j}}class kn{constructor(){this._map=new Map}consume(l){let u=this._map.get(l);return u?this._map.delete(l):u=[],u}append(l,u){let p=this._map.get(l);p||this._map.set(l,p=[]),p.push(...u)}has(l){return this._map.has(l)}clear(){this._map.clear()}}const Jn=new RegExp(":enter","g"),Xn=new RegExp(":leave","g");function In(b,l,u,p,w,R={},L={},j,se,Ee=[]){return(new Et).buildKeyframes(b,l,u,p,w,R,L,j,se,Ee)}class Et{buildKeyframes(l,u,p,w,R,L,j,se,Ee,xe=[]){Ee=Ee||new kn;const We=new pr(l,u,Ee,w,R,xe,[]);We.options=se,We.currentTimeline.setStyles([L],null,We.errors,se),Te(this,p,We);const pt=We.timelines.filter(Tt=>Tt.containsAnimation());if(pt.length&&Object.keys(j).length){const Tt=pt[pt.length-1];Tt.allowOnlyTimelineStyles()||Tt.setStyles([j],null,We.errors,se)}return pt.length?pt.map(Tt=>Tt.buildKeyframes()):[xr(u,[],[],[],0,0,"",!1)]}visitTrigger(l,u){}visitState(l,u){}visitTransition(l,u){}visitAnimateChild(l,u){const p=u.subInstructions.consume(u.element);if(p){const w=u.createSubContext(l.options),R=u.currentTimeline.currentTime,L=this._visitSubInstructions(p,w,w.options);R!=L&&u.transformIntoNewTimeline(L)}u.previousNode=l}visitAnimateRef(l,u){const p=u.createSubContext(l.options);p.transformIntoNewTimeline(),this.visitReference(l.animation,p),u.transformIntoNewTimeline(p.currentTimeline.currentTime),u.previousNode=l}_visitSubInstructions(l,u,p){let R=u.currentTimeline.currentTime;const L=null!=p.duration?xt(p.duration):null,j=null!=p.delay?xt(p.delay):null;return 0!==L&&l.forEach(se=>{const Ee=u.appendInstructionToTimeline(se,L,j);R=Math.max(R,Ee.duration+Ee.delay)}),R}visitReference(l,u){u.updateOptions(l.options,!0),Te(this,l.animation,u),u.previousNode=l}visitSequence(l,u){const p=u.subContextCount;let w=u;const R=l.options;if(R&&(R.params||R.delay)&&(w=u.createSubContext(R),w.transformIntoNewTimeline(),null!=R.delay)){6==w.previousNode.type&&(w.currentTimeline.snapshotCurrentStyles(),w.previousNode=Ln);const L=xt(R.delay);w.delayNextStep(L)}l.steps.length&&(l.steps.forEach(L=>Te(this,L,w)),w.currentTimeline.applyStylesToKeyframe(),w.subContextCount>p&&w.transformIntoNewTimeline()),u.previousNode=l}visitGroup(l,u){const p=[];let w=u.currentTimeline.currentTime;const R=l.options&&l.options.delay?xt(l.options.delay):0;l.steps.forEach(L=>{const j=u.createSubContext(l.options);R&&j.delayNextStep(R),Te(this,L,j),w=Math.max(w,j.currentTimeline.currentTime),p.push(j.currentTimeline)}),p.forEach(L=>u.currentTimeline.mergeTimelineCollectedStyles(L)),u.transformIntoNewTimeline(w),u.previousNode=l}_visitTiming(l,u){if(l.dynamic){const p=l.strValue;return we(u.params?Fn(p,u.params,u.errors):p,u.errors)}return{duration:l.duration,delay:l.delay,easing:l.easing}}visitAnimate(l,u){const p=u.currentAnimateTimings=this._visitTiming(l.timings,u),w=u.currentTimeline;p.delay&&(u.incrementTime(p.delay),w.snapshotCurrentStyles());const R=l.style;5==R.type?this.visitKeyframes(R,u):(u.incrementTime(p.duration),this.visitStyle(R,u),w.applyStylesToKeyframe()),u.currentAnimateTimings=null,u.previousNode=l}visitStyle(l,u){const p=u.currentTimeline,w=u.currentAnimateTimings;!w&&p.getCurrentStyleProperties().length&&p.forwardFrame();const R=w&&w.easing||l.easing;l.isEmptyStep?p.applyEmptyStep(R):p.setStyles(l.styles,R,u.errors,u.options),u.previousNode=l}visitKeyframes(l,u){const p=u.currentAnimateTimings,w=u.currentTimeline.duration,R=p.duration,j=u.createSubContext().currentTimeline;j.easing=p.easing,l.styles.forEach(se=>{j.forwardTime((se.offset||0)*R),j.setStyles(se.styles,se.easing,u.errors,u.options),j.applyStylesToKeyframe()}),u.currentTimeline.mergeTimelineCollectedStyles(j),u.transformIntoNewTimeline(w+R),u.previousNode=l}visitQuery(l,u){const p=u.currentTimeline.currentTime,w=l.options||{},R=w.delay?xt(w.delay):0;R&&(6===u.previousNode.type||0==p&&u.currentTimeline.getCurrentStyleProperties().length)&&(u.currentTimeline.snapshotCurrentStyles(),u.previousNode=Ln);let L=p;const j=u.invokeQuery(l.selector,l.originalSelector,l.limit,l.includeSelf,!!w.optional,u.errors);u.currentQueryTotal=j.length;let se=null;j.forEach((Ee,xe)=>{u.currentQueryIndex=xe;const We=u.createSubContext(l.options,Ee);R&&We.delayNextStep(R),Ee===u.element&&(se=We.currentTimeline),Te(this,l.animation,We),We.currentTimeline.applyStylesToKeyframe(),L=Math.max(L,We.currentTimeline.currentTime)}),u.currentQueryIndex=0,u.currentQueryTotal=0,u.transformIntoNewTimeline(L),se&&(u.currentTimeline.mergeTimelineCollectedStyles(se),u.currentTimeline.snapshotCurrentStyles()),u.previousNode=l}visitStagger(l,u){const p=u.parentContext,w=u.currentTimeline,R=l.timings,L=Math.abs(R.duration),j=L*(u.currentQueryTotal-1);let se=L*u.currentQueryIndex;switch(R.duration<0?"reverse":R.easing){case"reverse":se=j-se;break;case"full":se=p.currentStaggerTime}const xe=u.currentTimeline;se&&xe.delayNextStep(se);const We=xe.currentTime;Te(this,l.animation,u),u.previousNode=l,p.currentStaggerTime=w.currentTime-We+(w.startTime-p.currentTimeline.startTime)}}const Ln={};class pr{constructor(l,u,p,w,R,L,j,se){this._driver=l,this.element=u,this.subInstructions=p,this._enterClassName=w,this._leaveClassName=R,this.errors=L,this.timelines=j,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=Ln,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=se||new Rt(this._driver,u,0),j.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(l,u){if(!l)return;const p=l;let w=this.options;null!=p.duration&&(w.duration=xt(p.duration)),null!=p.delay&&(w.delay=xt(p.delay));const R=p.params;if(R){let L=w.params;L||(L=this.options.params={}),Object.keys(R).forEach(j=>{(!u||!L.hasOwnProperty(j))&&(L[j]=Fn(R[j],L,this.errors))})}}_copyOptions(){const l={};if(this.options){const u=this.options.params;if(u){const p=l.params={};Object.keys(u).forEach(w=>{p[w]=u[w]})}}return l}createSubContext(l=null,u,p){const w=u||this.element,R=new pr(this._driver,w,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(w,p||0));return R.previousNode=this.previousNode,R.currentAnimateTimings=this.currentAnimateTimings,R.options=this._copyOptions(),R.updateOptions(l),R.currentQueryIndex=this.currentQueryIndex,R.currentQueryTotal=this.currentQueryTotal,R.parentContext=this,this.subContextCount++,R}transformIntoNewTimeline(l){return this.previousNode=Ln,this.currentTimeline=this.currentTimeline.fork(this.element,l),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(l,u,p){const w={duration:null!=u?u:l.duration,delay:this.currentTimeline.currentTime+(null!=p?p:0)+l.delay,easing:""},R=new ar(this._driver,l.element,l.keyframes,l.preStyleProps,l.postStyleProps,w,l.stretchStartingKeyframe);return this.timelines.push(R),w}incrementTime(l){this.currentTimeline.forwardTime(this.currentTimeline.duration+l)}delayNextStep(l){l>0&&this.currentTimeline.delayNextStep(l)}invokeQuery(l,u,p,w,R,L){let j=[];if(w&&j.push(this.element),l.length>0){l=(l=l.replace(Jn,"."+this._enterClassName)).replace(Xn,"."+this._leaveClassName);let Ee=this._driver.query(this.element,l,1!=p);0!==p&&(Ee=p<0?Ee.slice(Ee.length+p,Ee.length):Ee.slice(0,p)),j.push(...Ee)}return!R&&0==j.length&&L.push(`\`query("${u}")\` returned zero elements. (Use \`query("${u}", { optional: true })\` if you wish to allow this.)`),j}}class Rt{constructor(l,u,p,w){this._driver=l,this.element=u,this.startTime=p,this._elementTimelineStylesLookup=w,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(u),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(u,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(l){const u=1==this._keyframes.size&&Object.keys(this._pendingStyles).length;this.duration||u?(this.forwardTime(this.currentTime+l),u&&this.snapshotCurrentStyles()):this.startTime+=l}fork(l,u){return this.applyStylesToKeyframe(),new Rt(this._driver,l,u||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(l){this.applyStylesToKeyframe(),this.duration=l,this._loadKeyframe()}_updateStyle(l,u){this._localTimelineStyles[l]=u,this._globalTimelineStyles[l]=u,this._styleSummary[l]={time:this.currentTime,value:u}}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(l){l&&(this._previousKeyframe.easing=l),Object.keys(this._globalTimelineStyles).forEach(u=>{this._backFill[u]=this._globalTimelineStyles[u]||oe.l3,this._currentKeyframe[u]=oe.l3}),this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(l,u,p,w){u&&(this._previousKeyframe.easing=u);const R=w&&w.params||{},L=function(b,l){const u={};let p;return b.forEach(w=>{"*"===w?(p=p||Object.keys(l),p.forEach(R=>{u[R]=oe.l3})):je(w,!1,u)}),u}(l,this._globalTimelineStyles);Object.keys(L).forEach(j=>{const se=Fn(L[j],R,p);this._pendingStyles[j]=se,this._localTimelineStyles.hasOwnProperty(j)||(this._backFill[j]=this._globalTimelineStyles.hasOwnProperty(j)?this._globalTimelineStyles[j]:oe.l3),this._updateStyle(j,se)})}applyStylesToKeyframe(){const l=this._pendingStyles,u=Object.keys(l);0!=u.length&&(this._pendingStyles={},u.forEach(p=>{this._currentKeyframe[p]=l[p]}),Object.keys(this._localTimelineStyles).forEach(p=>{this._currentKeyframe.hasOwnProperty(p)||(this._currentKeyframe[p]=this._localTimelineStyles[p])}))}snapshotCurrentStyles(){Object.keys(this._localTimelineStyles).forEach(l=>{const u=this._localTimelineStyles[l];this._pendingStyles[l]=u,this._updateStyle(l,u)})}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const l=[];for(let u in this._currentKeyframe)l.push(u);return l}mergeTimelineCollectedStyles(l){Object.keys(l._styleSummary).forEach(u=>{const p=this._styleSummary[u],w=l._styleSummary[u];(!p||w.time>p.time)&&this._updateStyle(u,w.value)})}buildKeyframes(){this.applyStylesToKeyframe();const l=new Set,u=new Set,p=1===this._keyframes.size&&0===this.duration;let w=[];this._keyframes.forEach((j,se)=>{const Ee=je(j,!0);Object.keys(Ee).forEach(xe=>{const We=Ee[xe];We==oe.k1?l.add(xe):We==oe.l3&&u.add(xe)}),p||(Ee.offset=se/this.duration),w.push(Ee)});const R=l.size?Qt(l.values()):[],L=u.size?Qt(u.values()):[];if(p){const j=w[0],se=le(j);j.offset=0,se.offset=1,w=[j,se]}return xr(this.element,w,R,L,this.duration,this.startTime,this.easing,!1)}}class ar extends Rt{constructor(l,u,p,w,R,L,j=!1){super(l,u,L.delay),this.keyframes=p,this.preStyleProps=w,this.postStyleProps=R,this._stretchStartingKeyframe=j,this.timings={duration:L.duration,delay:L.delay,easing:L.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let l=this.keyframes,{delay:u,duration:p,easing:w}=this.timings;if(this._stretchStartingKeyframe&&u){const R=[],L=p+u,j=u/L,se=je(l[0],!1);se.offset=0,R.push(se);const Ee=je(l[0],!1);Ee.offset=An(j),R.push(Ee);const xe=l.length-1;for(let We=1;We<=xe;We++){let pt=je(l[We],!1);pt.offset=An((u+pt.offset*p)/L),R.push(pt)}p=L,u=0,w="",l=R}return xr(this.element,l,this.preStyleProps,this.postStyleProps,p,u,w,!0)}}function An(b,l=3){const u=Math.pow(10,l-1);return Math.round(b*u)/u}class Le{}class zt extends Le{normalizePropertyName(l,u){return Ke(l)}normalizeStyleValue(l,u,p,w){let R="";const L=p.toString().trim();if(Z[u]&&0!==p&&"0"!==p)if("number"==typeof p)R="px";else{const j=p.match(/^[+-]?[\d\.]+([a-z]*)$/);j&&0==j[1].length&&w.push(`Please provide a CSS unit value for ${l}:${p}`)}return L+R}}const Z=(()=>function(b){const l={};return b.forEach(u=>l[u]=!0),l}("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 N(b,l,u,p,w,R,L,j,se,Ee,xe,We,pt){return{type:0,element:b,triggerName:l,isRemovalTransition:w,fromState:u,fromStyles:R,toState:p,toStyles:L,timelines:j,queriedElements:se,preStyleProps:Ee,postStyleProps:xe,totalTime:We,errors:pt}}const X={};class ge{constructor(l,u,p){this._triggerName=l,this.ast=u,this._stateStyles=p}match(l,u,p,w){return function(b,l,u,p,w){return b.some(R=>R(l,u,p,w))}(this.ast.matchers,l,u,p,w)}buildStyles(l,u,p){const w=this._stateStyles["*"],R=this._stateStyles[l],L=w?w.buildStyles(u,p):{};return R?R.buildStyles(u,p):L}build(l,u,p,w,R,L,j,se,Ee,xe){const We=[],pt=this.ast.options&&this.ast.options.params||X,qe=this.buildStyles(p,j&&j.params||X,We),yt=se&&se.params||X,kt=this.buildStyles(w,yt,We),hn=new Set,mn=new Map,Un=new Map,wn="void"===w,ms={params:it(it({},pt),yt)},cr=xe?[]:In(l,u,this.ast.animation,R,L,qe,kt,ms,Ee,We);let tr=0;if(cr.forEach(dr=>{tr=Math.max(dr.duration+dr.delay,tr)}),We.length)return N(u,this._triggerName,p,w,wn,qe,kt,[],[],mn,Un,tr,We);cr.forEach(dr=>{const Ir=dr.element,vi=B(mn,Ir,{});dr.preStyleProps.forEach(ts=>vi[ts]=!0);const Ns=B(Un,Ir,{});dr.postStyleProps.forEach(ts=>Ns[ts]=!0),Ir!==u&&hn.add(Ir)});const Sr=Qt(hn.values());return N(u,this._triggerName,p,w,wn,qe,kt,cr,Sr,mn,Un,tr)}}class F{constructor(l,u,p){this.styles=l,this.defaultParams=u,this.normalizer=p}buildStyles(l,u){const p={},w=le(this.defaultParams);return Object.keys(l).forEach(R=>{const L=l[R];null!=L&&(w[R]=L)}),this.styles.styles.forEach(R=>{if("string"!=typeof R){const L=R;Object.keys(L).forEach(j=>{let se=L[j];se.length>1&&(se=Fn(se,w,u));const Ee=this.normalizer.normalizePropertyName(j,u);se=this.normalizer.normalizeStyleValue(j,Ee,se,u),p[Ee]=se})}}),p}}class O{constructor(l,u,p){this.name=l,this.ast=u,this._normalizer=p,this.transitionFactories=[],this.states={},u.states.forEach(w=>{this.states[w.name]=new F(w.style,w.options&&w.options.params||{},p)}),lt(this.states,"true","1"),lt(this.states,"false","0"),u.transitions.forEach(w=>{this.transitionFactories.push(new ge(l,w,this.states))}),this.fallbackTransition=function(b,l,u){return new ge(b,{type:1,animation:{type:2,steps:[],options:null},matchers:[(L,j)=>!0],options:null,queryCount:0,depCount:0},l)}(l,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(l,u,p,w){return this.transitionFactories.find(L=>L.match(l,u,p,w))||null}matchStyles(l,u,p){return this.fallbackTransition.buildStyles(l,u,p)}}function lt(b,l,u){b.hasOwnProperty(l)?b.hasOwnProperty(u)||(b[u]=b[l]):b.hasOwnProperty(u)&&(b[l]=b[u])}const Ut=new kn;class ft{constructor(l,u,p){this.bodyNode=l,this._driver=u,this._normalizer=p,this._animations={},this._playersById={},this.players=[]}register(l,u){const p=[],w=ze(this._driver,u,p);if(p.length)throw new Error(`Unable to build the animation due to the following errors: ${p.join("\n")}`);this._animations[l]=w}_buildPlayer(l,u,p){const w=l.element,R=re(0,this._normalizer,0,l.keyframes,u,p);return this._driver.animate(w,R,l.duration,l.delay,l.easing,[],!0)}create(l,u,p={}){const w=[],R=this._animations[l];let L;const j=new Map;if(R?(L=In(this._driver,u,R,dt,Be,{},{},p,Ut,w),L.forEach(xe=>{const We=B(j,xe.element,{});xe.postStyleProps.forEach(pt=>We[pt]=null)})):(w.push("The requested animation doesn't exist or has already been destroyed"),L=[]),w.length)throw new Error(`Unable to create the animation due to the following errors: ${w.join("\n")}`);j.forEach((xe,We)=>{Object.keys(xe).forEach(pt=>{xe[pt]=this._driver.computeStyle(We,pt,oe.l3)})});const Ee=V(L.map(xe=>{const We=j.get(xe.element);return this._buildPlayer(xe,{},We)}));return this._playersById[l]=Ee,Ee.onDestroy(()=>this.destroy(l)),this.players.push(Ee),Ee}destroy(l){const u=this._getPlayer(l);u.destroy(),delete this._playersById[l];const p=this.players.indexOf(u);p>=0&&this.players.splice(p,1)}_getPlayer(l){const u=this._playersById[l];if(!u)throw new Error(`Unable to find the timeline player referenced by ${l}`);return u}listen(l,u,p,w){const R=K(u,"","","");return ne(this._getPlayer(l),p,R,w),()=>{}}command(l,u,p,w){if("register"==p)return void this.register(l,w[0]);if("create"==p)return void this.create(l,u,w[0]||{});const R=this._getPlayer(l);switch(p){case"play":R.play();break;case"pause":R.pause();break;case"reset":R.reset();break;case"restart":R.restart();break;case"finish":R.finish();break;case"init":R.init();break;case"setPosition":R.setPosition(parseFloat(w[0]));break;case"destroy":this.destroy(l)}}}const fn="ng-animate-queued",Dn="ng-animate-disabled",Pt=".ng-animate-disabled",Dr=[],Zr={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Fr={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},En="__ng_removed";class Mn{constructor(l,u=""){this.namespaceId=u;const p=l&&l.hasOwnProperty("value");if(this.value=null!=(b=p?l.value:l)?b:null,p){const R=le(l);delete R.value,this.options=R}else this.options={};var b;this.options.params||(this.options.params={})}get params(){return this.options.params}absorbOptions(l){const u=l.params;if(u){const p=this.options.params;Object.keys(u).forEach(w=>{null==p[w]&&(p[w]=u[w])})}}}const on="void",ii=new Mn(on);class $n{constructor(l,u,p){this.id=l,this.hostElement=u,this._engine=p,this.players=[],this._triggers={},this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+l,Bn(u,this._hostClassName)}listen(l,u,p,w){if(!this._triggers.hasOwnProperty(u))throw new Error(`Unable to listen on the animation trigger event "${p}" because the animation trigger "${u}" doesn't exist!`);if(null==p||0==p.length)throw new Error(`Unable to listen on the animation trigger "${u}" because the provided event is undefined!`);if("start"!=(b=p)&&"done"!=b)throw new Error(`The provided animation trigger event "${p}" for the animation trigger "${u}" is not supported!`);var b;const R=B(this._elementListeners,l,[]),L={name:u,phase:p,callback:w};R.push(L);const j=B(this._engine.statesByElement,l,{});return j.hasOwnProperty(u)||(Bn(l,Cn),Bn(l,Cn+"-"+u),j[u]=ii),()=>{this._engine.afterFlush(()=>{const se=R.indexOf(L);se>=0&&R.splice(se,1),this._triggers[u]||delete j[u]})}}register(l,u){return!this._triggers[l]&&(this._triggers[l]=u,!0)}_getTrigger(l){const u=this._triggers[l];if(!u)throw new Error(`The provided animation trigger "${l}" has not been registered!`);return u}trigger(l,u,p,w=!0){const R=this._getTrigger(u),L=new kr(this.id,u,l);let j=this._engine.statesByElement.get(l);j||(Bn(l,Cn),Bn(l,Cn+"-"+u),this._engine.statesByElement.set(l,j={}));let se=j[u];const Ee=new Mn(p,this.id);if(!(p&&p.hasOwnProperty("value"))&&se&&Ee.absorbOptions(se.options),j[u]=Ee,se||(se=ii),Ee.value!==on&&se.value===Ee.value){if(!function(b,l){const u=Object.keys(b),p=Object.keys(l);if(u.length!=p.length)return!1;for(let w=0;w<u.length;w++){const R=u[w];if(!l.hasOwnProperty(R)||b[R]!==l[R])return!1}return!0}(se.params,Ee.params)){const yt=[],kt=R.matchStyles(se.value,se.params,yt),hn=R.matchStyles(Ee.value,Ee.params,yt);yt.length?this._engine.reportError(yt):this._engine.afterFlush(()=>{gn(l,kt),wt(l,hn)})}return}const pt=B(this._engine.playersByElement,l,[]);pt.forEach(yt=>{yt.namespaceId==this.id&&yt.triggerName==u&&yt.queued&&yt.destroy()});let Tt=R.matchTransition(se.value,Ee.value,l,Ee.params),qe=!1;if(!Tt){if(!w)return;Tt=R.fallbackTransition,qe=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:l,triggerName:u,transition:Tt,fromState:se,toState:Ee,player:L,isFallbackTransition:qe}),qe||(Bn(l,fn),L.onStart(()=>{jr(l,fn)})),L.onDone(()=>{let yt=this.players.indexOf(L);yt>=0&&this.players.splice(yt,1);const kt=this._engine.playersByElement.get(l);if(kt){let hn=kt.indexOf(L);hn>=0&&kt.splice(hn,1)}}),this.players.push(L),pt.push(L),L}deregister(l){delete this._triggers[l],this._engine.statesByElement.forEach((u,p)=>{delete u[l]}),this._elementListeners.forEach((u,p)=>{this._elementListeners.set(p,u.filter(w=>w.name!=l))})}clearElementCache(l){this._engine.statesByElement.delete(l),this._elementListeners.delete(l);const u=this._engine.playersByElement.get(l);u&&(u.forEach(p=>p.destroy()),this._engine.playersByElement.delete(l))}_signalRemovalForInnerTriggers(l,u){const p=this._engine.driver.query(l,Zn,!0);p.forEach(w=>{if(w[En])return;const R=this._engine.fetchNamespacesByElement(w);R.size?R.forEach(L=>L.triggerLeaveAnimation(w,u,!1,!0)):this.clearElementCache(w)}),this._engine.afterFlushAnimationsDone(()=>p.forEach(w=>this.clearElementCache(w)))}triggerLeaveAnimation(l,u,p,w){const R=this._engine.statesByElement.get(l);if(R){const L=[];if(Object.keys(R).forEach(j=>{if(this._triggers[j]){const se=this.trigger(l,j,on,w);se&&L.push(se)}}),L.length)return this._engine.markElementAsRemoved(this.id,l,!0,u),p&&V(L).onDone(()=>this._engine.processLeaveNode(l)),!0}return!1}prepareLeaveAnimationListeners(l){const u=this._elementListeners.get(l),p=this._engine.statesByElement.get(l);if(u&&p){const w=new Set;u.forEach(R=>{const L=R.name;if(w.has(L))return;w.add(L);const se=this._triggers[L].fallbackTransition,Ee=p[L]||ii,xe=new Mn(on),We=new kr(this.id,L,l);this._engine.totalQueuedPlayers++,this._queue.push({element:l,triggerName:L,transition:se,fromState:Ee,toState:xe,player:We,isFallbackTransition:!0})})}}removeNode(l,u){const p=this._engine;if(l.childElementCount&&this._signalRemovalForInnerTriggers(l,u),this.triggerLeaveAnimation(l,u,!0))return;let w=!1;if(p.totalAnimations){const R=p.players.length?p.playersByQueriedElement.get(l):[];if(R&&R.length)w=!0;else{let L=l;for(;L=L.parentNode;)if(p.statesByElement.get(L)){w=!0;break}}}if(this.prepareLeaveAnimationListeners(l),w)p.markElementAsRemoved(this.id,l,!1,u);else{const R=l[En];(!R||R===Zr)&&(p.afterFlush(()=>this.clearElementCache(l)),p.destroyInnerAnimations(l),p._onRemovalComplete(l,u))}}insertNode(l,u){Bn(l,this._hostClassName)}drainQueuedTransitions(l){const u=[];return this._queue.forEach(p=>{const w=p.player;if(w.destroyed)return;const R=p.element,L=this._elementListeners.get(R);L&&L.forEach(j=>{if(j.name==p.triggerName){const se=K(R,p.triggerName,p.fromState.value,p.toState.value);se._data=l,ne(p.player,j.phase,se,j.callback)}}),w.markedForDestroy?this._engine.afterFlush(()=>{w.destroy()}):u.push(p)}),this._queue=[],u.sort((p,w)=>{const R=p.transition.ast.depCount,L=w.transition.ast.depCount;return 0==R||0==L?R-L:this._engine.driver.containsElement(p.element,w.element)?1:-1})}destroy(l){this.players.forEach(u=>u.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,l)}elementContainsData(l){let u=!1;return this._elementListeners.has(l)&&(u=!0),u=!!this._queue.find(p=>p.element===l)||u,u}}class er{constructor(l,u,p){this.bodyNode=l,this.driver=u,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=(w,R)=>{}}_onRemovalComplete(l,u){this.onRemovalComplete(l,u)}get queuedPlayers(){const l=[];return this._namespaceList.forEach(u=>{u.players.forEach(p=>{p.queued&&l.push(p)})}),l}createNamespace(l,u){const p=new $n(l,u,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,u)?this._balanceNamespaceList(p,u):(this.newHostElements.set(u,p),this.collectEnterElement(u)),this._namespaceLookup[l]=p}_balanceNamespaceList(l,u){const p=this._namespaceList.length-1;if(p>=0){let w=!1;for(let R=p;R>=0;R--)if(this.driver.containsElement(this._namespaceList[R].hostElement,u)){this._namespaceList.splice(R+1,0,l),w=!0;break}w||this._namespaceList.splice(0,0,l)}else this._namespaceList.push(l);return this.namespacesByHostElement.set(u,l),l}register(l,u){let p=this._namespaceLookup[l];return p||(p=this.createNamespace(l,u)),p}registerTrigger(l,u,p){let w=this._namespaceLookup[l];w&&w.register(u,p)&&this.totalAnimations++}destroy(l,u){if(!l)return;const p=this._fetchNamespace(l);this.afterFlush(()=>{this.namespacesByHostElement.delete(p.hostElement),delete this._namespaceLookup[l];const w=this._namespaceList.indexOf(p);w>=0&&this._namespaceList.splice(w,1)}),this.afterFlushAnimationsDone(()=>p.destroy(u))}_fetchNamespace(l){return this._namespaceLookup[l]}fetchNamespacesByElement(l){const u=new Set,p=this.statesByElement.get(l);if(p){const w=Object.keys(p);for(let R=0;R<w.length;R++){const L=p[w[R]].namespaceId;if(L){const j=this._fetchNamespace(L);j&&u.add(j)}}}return u}trigger(l,u,p,w){if(Zt(u)){const R=this._fetchNamespace(l);if(R)return R.trigger(u,p,w),!0}return!1}insertNode(l,u,p,w){if(!Zt(u))return;const R=u[En];if(R&&R.setForRemoval){R.setForRemoval=!1,R.setForMove=!0;const L=this.collectedLeaveElements.indexOf(u);L>=0&&this.collectedLeaveElements.splice(L,1)}if(l){const L=this._fetchNamespace(l);L&&L.insertNode(u,p)}w&&this.collectEnterElement(u)}collectEnterElement(l){this.collectedEnterElements.push(l)}markElementAsDisabled(l,u){u?this.disabledNodes.has(l)||(this.disabledNodes.add(l),Bn(l,Dn)):this.disabledNodes.has(l)&&(this.disabledNodes.delete(l),jr(l,Dn))}removeNode(l,u,p,w){if(Zt(u)){const R=l?this._fetchNamespace(l):null;if(R?R.removeNode(u,w):this.markElementAsRemoved(l,u,!1,w),p){const L=this.namespacesByHostElement.get(u);L&&L.id!==l&&L.removeNode(u,w)}}else this._onRemovalComplete(u,w)}markElementAsRemoved(l,u,p,w){this.collectedLeaveElements.push(u),u[En]={namespaceId:l,setForRemoval:w,hasAnimation:p,removedBeforeQueried:!1}}listen(l,u,p,w,R){return Zt(u)?this._fetchNamespace(l).listen(u,p,w,R):()=>{}}_buildInstruction(l,u,p,w,R){return l.transition.build(this.driver,l.element,l.fromState.value,l.toState.value,p,w,l.fromState.options,l.toState.options,u,R)}destroyInnerAnimations(l){let u=this.driver.query(l,Zn,!0);u.forEach(p=>this.destroyActiveAnimationsForElement(p)),0!=this.playersByQueriedElement.size&&(u=this.driver.query(l,ln,!0),u.forEach(p=>this.finishActiveQueriedAnimationOnElement(p)))}destroyActiveAnimationsForElement(l){const u=this.playersByElement.get(l);u&&u.forEach(p=>{p.queued?p.markedForDestroy=!0:p.destroy()})}finishActiveQueriedAnimationOnElement(l){const u=this.playersByQueriedElement.get(l);u&&u.forEach(p=>p.finish())}whenRenderingDone(){return new Promise(l=>{if(this.players.length)return V(this.players).onDone(()=>l());l()})}processLeaveNode(l){const u=l[En];if(u&&u.setForRemoval){if(l[En]=Zr,u.namespaceId){this.destroyInnerAnimations(l);const p=this._fetchNamespace(u.namespaceId);p&&p.clearElementCache(l)}this._onRemovalComplete(l,u.setForRemoval)}this.driver.matchesElement(l,Pt)&&this.markElementAsDisabled(l,!1),this.driver.query(l,Pt,!0).forEach(p=>{this.markElementAsDisabled(p,!1)})}flush(l=-1){let u=[];if(this.newHostElements.size&&(this.newHostElements.forEach((p,w)=>this._balanceNamespaceList(p,w)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let p=0;p<this.collectedEnterElements.length;p++)Bn(this.collectedEnterElements[p],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){const p=[];try{u=this._flushAnimations(p,l)}finally{for(let w=0;w<p.length;w++)p[w]()}}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=[],u.length?V(u).onDone(()=>{p.forEach(w=>w())}):p.forEach(w=>w())}}reportError(l){throw new Error(`Unable to process animations due to the following failed trigger transitions\n ${l.join("\n")}`)}_flushAnimations(l,u){const p=new kn,w=[],R=new Map,L=[],j=new Map,se=new Map,Ee=new Map,xe=new Set;this.disabledNodes.forEach(Qe=>{xe.add(Qe);const Ge=this.driver.query(Qe,".ng-animate-queued",!0);for(let nt=0;nt<Ge.length;nt++)xe.add(Ge[nt])});const We=this.bodyNode,pt=Array.from(this.statesByElement.keys()),Tt=ai(pt,this.collectedEnterElements),qe=new Map;let yt=0;Tt.forEach((Qe,Ge)=>{const nt=dt+yt++;qe.set(Ge,nt),Qe.forEach(tt=>Bn(tt,nt))});const kt=[],hn=new Set,mn=new Set;for(let Qe=0;Qe<this.collectedLeaveElements.length;Qe++){const Ge=this.collectedLeaveElements[Qe],nt=Ge[En];nt&&nt.setForRemoval&&(kt.push(Ge),hn.add(Ge),nt.hasAnimation?this.driver.query(Ge,".ng-star-inserted",!0).forEach(tt=>hn.add(tt)):mn.add(Ge))}const Un=new Map,wn=ai(pt,Array.from(hn));wn.forEach((Qe,Ge)=>{const nt=Be+yt++;Un.set(Ge,nt),Qe.forEach(tt=>Bn(tt,nt))}),l.push(()=>{Tt.forEach((Qe,Ge)=>{const nt=qe.get(Ge);Qe.forEach(tt=>jr(tt,nt))}),wn.forEach((Qe,Ge)=>{const nt=Un.get(Ge);Qe.forEach(tt=>jr(tt,nt))}),kt.forEach(Qe=>{this.processLeaveNode(Qe)})});const ms=[],cr=[];for(let Qe=this._namespaceList.length-1;Qe>=0;Qe--)this._namespaceList[Qe].drainQueuedTransitions(u).forEach(nt=>{const tt=nt.player,Tn=nt.element;if(ms.push(tt),this.collectedEnterElements.length){const fr=Tn[En];if(fr&&fr.setForMove)return void tt.destroy()}const mr=!We||!this.driver.containsElement(We,Tn),Gn=Un.get(Tn),ns=qe.get(Tn),pn=this._buildInstruction(nt,p,ns,Gn,mr);if(pn.errors&&pn.errors.length)cr.push(pn);else{if(mr)return tt.onStart(()=>gn(Tn,pn.fromStyles)),tt.onDestroy(()=>wt(Tn,pn.toStyles)),void w.push(tt);if(nt.isFallbackTransition)return tt.onStart(()=>gn(Tn,pn.fromStyles)),tt.onDestroy(()=>wt(Tn,pn.toStyles)),void w.push(tt);pn.timelines.forEach(fr=>fr.stretchStartingKeyframe=!0),p.append(Tn,pn.timelines),L.push({instruction:pn,player:tt,element:Tn}),pn.queriedElements.forEach(fr=>B(j,fr,[]).push(tt)),pn.preStyleProps.forEach((fr,$r)=>{const ys=Object.keys(fr);if(ys.length){let zr=se.get($r);zr||se.set($r,zr=new Set),ys.forEach(jn=>zr.add(jn))}}),pn.postStyleProps.forEach((fr,$r)=>{const ys=Object.keys(fr);let zr=Ee.get($r);zr||Ee.set($r,zr=new Set),ys.forEach(jn=>zr.add(jn))})}});if(cr.length){const Qe=[];cr.forEach(Ge=>{Qe.push(`@${Ge.triggerName} has failed due to:\n`),Ge.errors.forEach(nt=>Qe.push(`- ${nt}\n`))}),ms.forEach(Ge=>Ge.destroy()),this.reportError(Qe)}const tr=new Map,Sr=new Map;L.forEach(Qe=>{const Ge=Qe.element;p.has(Ge)&&(Sr.set(Ge,Ge),this._beforeAnimationBuild(Qe.player.namespaceId,Qe.instruction,tr))}),w.forEach(Qe=>{const Ge=Qe.element;this._getPreviousPlayers(Ge,!1,Qe.namespaceId,Qe.triggerName,null).forEach(tt=>{B(tr,Ge,[]).push(tt),tt.destroy()})});const dr=kt.filter(Qe=>Fi(Qe,se,Ee)),Ir=new Map;oi(Ir,this.driver,mn,Ee,oe.l3).forEach(Qe=>{Fi(Qe,se,Ee)&&dr.push(Qe)});const Ns=new Map;Tt.forEach((Qe,Ge)=>{oi(Ns,this.driver,new Set(Qe),se,oe.k1)}),dr.forEach(Qe=>{const Ge=Ir.get(Qe),nt=Ns.get(Qe);Ir.set(Qe,it(it({},Ge),nt))});const ts=[],Js=[],so={};L.forEach(Qe=>{const{element:Ge,player:nt,instruction:tt}=Qe;if(p.has(Ge)){if(xe.has(Ge))return nt.onDestroy(()=>wt(Ge,tt.toStyles)),nt.disabled=!0,nt.overrideTotalTime(tt.totalTime),void w.push(nt);let Tn=so;if(Sr.size>1){let Gn=Ge;const ns=[];for(;Gn=Gn.parentNode;){const pn=Sr.get(Gn);if(pn){Tn=pn;break}ns.push(Gn)}ns.forEach(pn=>Sr.set(pn,Tn))}const mr=this._buildAnimation(nt.namespaceId,tt,tr,R,Ns,Ir);if(nt.setRealPlayer(mr),Tn===so)ts.push(nt);else{const Gn=this.playersByElement.get(Tn);Gn&&Gn.length&&(nt.parentPlayer=V(Gn)),w.push(nt)}}else gn(Ge,tt.fromStyles),nt.onDestroy(()=>wt(Ge,tt.toStyles)),Js.push(nt),xe.has(Ge)&&w.push(nt)}),Js.forEach(Qe=>{const Ge=R.get(Qe.element);if(Ge&&Ge.length){const nt=V(Ge);Qe.setRealPlayer(nt)}}),w.forEach(Qe=>{Qe.parentPlayer?Qe.syncPlayerEvents(Qe.parentPlayer):Qe.destroy()});for(let Qe=0;Qe<kt.length;Qe++){const Ge=kt[Qe],nt=Ge[En];if(jr(Ge,Be),nt&&nt.hasAnimation)continue;let tt=[];if(j.size){let mr=j.get(Ge);mr&&mr.length&&tt.push(...mr);let Gn=this.driver.query(Ge,ln,!0);for(let ns=0;ns<Gn.length;ns++){let pn=j.get(Gn[ns]);pn&&pn.length&&tt.push(...pn)}}const Tn=tt.filter(mr=>!mr.destroyed);Tn.length?xi(this,Ge,Tn):this.processLeaveNode(Ge)}return kt.length=0,ts.forEach(Qe=>{this.players.push(Qe),Qe.onDone(()=>{Qe.destroy();const Ge=this.players.indexOf(Qe);this.players.splice(Ge,1)}),Qe.play()}),ts}elementContainsData(l,u){let p=!1;const w=u[En];return w&&w.setForRemoval&&(p=!0),this.playersByElement.has(u)&&(p=!0),this.playersByQueriedElement.has(u)&&(p=!0),this.statesByElement.has(u)&&(p=!0),this._fetchNamespace(l).elementContainsData(u)||p}afterFlush(l){this._flushFns.push(l)}afterFlushAnimationsDone(l){this._whenQuietFns.push(l)}_getPreviousPlayers(l,u,p,w,R){let L=[];if(u){const j=this.playersByQueriedElement.get(l);j&&(L=j)}else{const j=this.playersByElement.get(l);if(j){const se=!R||R==on;j.forEach(Ee=>{Ee.queued||!se&&Ee.triggerName!=w||L.push(Ee)})}}return(p||w)&&(L=L.filter(j=>!(p&&p!=j.namespaceId||w&&w!=j.triggerName))),L}_beforeAnimationBuild(l,u,p){const R=u.element,L=u.isRemovalTransition?void 0:l,j=u.isRemovalTransition?void 0:u.triggerName;for(const se of u.timelines){const Ee=se.element,xe=Ee!==R,We=B(p,Ee,[]);this._getPreviousPlayers(Ee,xe,L,j,u.toState).forEach(Tt=>{const qe=Tt.getRealPlayer();qe.beforeDestroy&&qe.beforeDestroy(),Tt.destroy(),We.push(Tt)})}gn(R,u.fromStyles)}_buildAnimation(l,u,p,w,R,L){const j=u.triggerName,se=u.element,Ee=[],xe=new Set,We=new Set,pt=u.timelines.map(qe=>{const yt=qe.element;xe.add(yt);const kt=yt[En];if(kt&&kt.removedBeforeQueried)return new oe.ZN(qe.duration,qe.delay);const hn=yt!==se,mn=function(b){const l=[];return ui(b,l),l}((p.get(yt)||Dr).map(tr=>tr.getRealPlayer())).filter(tr=>!!tr.element&&tr.element===yt),Un=R.get(yt),wn=L.get(yt),ms=re(0,this._normalizer,0,qe.keyframes,Un,wn),cr=this._buildPlayer(qe,ms,mn);if(qe.subTimeline&&w&&We.add(yt),hn){const tr=new kr(l,j,yt);tr.setRealPlayer(cr),Ee.push(tr)}return cr});Ee.forEach(qe=>{B(this.playersByQueriedElement,qe.element,[]).push(qe),qe.onDone(()=>function(b,l,u){let p;if(b instanceof Map){if(p=b.get(l),p){if(p.length){const w=p.indexOf(u);p.splice(w,1)}0==p.length&&b.delete(l)}}else if(p=b[l],p){if(p.length){const w=p.indexOf(u);p.splice(w,1)}0==p.length&&delete b[l]}return p}(this.playersByQueriedElement,qe.element,qe))}),xe.forEach(qe=>Bn(qe,ir));const Tt=V(pt);return Tt.onDestroy(()=>{xe.forEach(qe=>jr(qe,ir)),wt(se,u.toStyles)}),We.forEach(qe=>{B(w,qe,[]).push(Tt)}),Tt}_buildPlayer(l,u,p){return u.length>0?this.driver.animate(l.element,u,l.duration,l.delay,l.easing,p):new oe.ZN(l.duration,l.delay)}}class kr{constructor(l,u,p){this.namespaceId=l,this.triggerName=u,this.element=p,this._player=new oe.ZN,this._containsRealPlayer=!1,this._queuedCallbacks={},this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(l){this._containsRealPlayer||(this._player=l,Object.keys(this._queuedCallbacks).forEach(u=>{this._queuedCallbacks[u].forEach(p=>ne(l,u,void 0,p))}),this._queuedCallbacks={},this._containsRealPlayer=!0,this.overrideTotalTime(l.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(l){this.totalTime=l}syncPlayerEvents(l){const u=this._player;u.triggerCallback&&l.onStart(()=>u.triggerCallback("start")),l.onDone(()=>this.finish()),l.onDestroy(()=>this.destroy())}_queueEvent(l,u){B(this._queuedCallbacks,l,[]).push(u)}onDone(l){this.queued&&this._queueEvent("done",l),this._player.onDone(l)}onStart(l){this.queued&&this._queueEvent("start",l),this._player.onStart(l)}onDestroy(l){this.queued&&this._queueEvent("destroy",l),this._player.onDestroy(l)}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(l){this.queued||this._player.setPosition(l)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(l){const u=this._player;u.triggerCallback&&u.triggerCallback(l)}}function Zt(b){return b&&1===b.nodeType}function fs(b,l){const u=b.style.display;return b.style.display=null!=l?l:"none",u}function oi(b,l,u,p,w){const R=[];u.forEach(se=>R.push(fs(se)));const L=[];p.forEach((se,Ee)=>{const xe={};se.forEach(We=>{const pt=xe[We]=l.computeStyle(Ee,We,w);(!pt||0==pt.length)&&(Ee[En]=Fr,L.push(Ee))}),b.set(Ee,xe)});let j=0;return u.forEach(se=>fs(se,R[j++])),L}function ai(b,l){const u=new Map;if(b.forEach(j=>u.set(j,[])),0==l.length)return u;const w=new Set(l),R=new Map;function L(j){if(!j)return 1;let se=R.get(j);if(se)return se;const Ee=j.parentNode;return se=u.has(Ee)?Ee:w.has(Ee)?1:L(Ee),R.set(j,se),se}return l.forEach(j=>{const se=L(j);1!==se&&u.get(se).push(j)}),u}const Rs="$$classes";function Bn(b,l){if(b.classList)b.classList.add(l);else{let u=b[Rs];u||(u=b[Rs]={}),u[l]=!0}}function jr(b,l){if(b.classList)b.classList.remove(l);else{let u=b[Rs];u&&delete u[l]}}function xi(b,l,u){V(u).onDone(()=>b.processLeaveNode(l))}function ui(b,l){for(let u=0;u<b.length;u++){const p=b[u];p instanceof oe.ZE?ui(p.players,l):l.push(p)}}function Fi(b,l,u){const p=u.get(b);if(!p)return!1;let w=l.get(b);return w?p.forEach(R=>w.add(R)):l.set(b,p),u.delete(b),!0}class Ks{constructor(l,u,p){this.bodyNode=l,this._driver=u,this._normalizer=p,this._triggerCache={},this.onRemovalComplete=(w,R)=>{},this._transitionEngine=new er(l,u,p),this._timelineEngine=new ft(l,u,p),this._transitionEngine.onRemovalComplete=(w,R)=>this.onRemovalComplete(w,R)}registerTrigger(l,u,p,w,R){const L=l+"-"+w;let j=this._triggerCache[L];if(!j){const se=[],Ee=ze(this._driver,R,se);if(se.length)throw new Error(`The animation trigger "${w}" has failed to build due to the following errors:\n - ${se.join("\n - ")}`);j=function(b,l,u){return new O(b,l,u)}(w,Ee,this._normalizer),this._triggerCache[L]=j}this._transitionEngine.registerTrigger(u,w,j)}register(l,u){this._transitionEngine.register(l,u)}destroy(l,u){this._transitionEngine.destroy(l,u)}onInsert(l,u,p,w){this._transitionEngine.insertNode(l,u,p,w)}onRemove(l,u,p,w){this._transitionEngine.removeNode(l,u,w||!1,p)}disableAnimations(l,u){this._transitionEngine.markElementAsDisabled(l,u)}process(l,u,p,w){if("@"==p.charAt(0)){const[R,L]=ue(p);this._timelineEngine.command(R,u,L,w)}else this._transitionEngine.trigger(l,u,p,w)}listen(l,u,p,w,R){if("@"==p.charAt(0)){const[L,j]=ue(p);return this._timelineEngine.listen(L,u,j,R)}return this._transitionEngine.listen(l,u,p,w,R)}flush(l=-1){this._transitionEngine.flush(l)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}function di(b,l){let u=null,p=null;return Array.isArray(l)&&l.length?(u=Xr(l[0]),l.length>1&&(p=Xr(l[l.length-1]))):l&&(u=Xr(l)),u||p?new ki(b,u,p):null}let ki=(()=>{class b{constructor(u,p,w){this._element=u,this._startStyles=p,this._endStyles=w,this._state=0;let R=b.initialStylesByElement.get(u);R||b.initialStylesByElement.set(u,R={}),this._initialStyles=R}start(){this._state<1&&(this._startStyles&&wt(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(wt(this._element,this._initialStyles),this._endStyles&&(wt(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(b.initialStylesByElement.delete(this._element),this._startStyles&&(gn(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(gn(this._element,this._endStyles),this._endStyles=null),wt(this._element,this._initialStyles),this._state=3)}}return b.initialStylesByElement=new WeakMap,b})();function Xr(b){let l=null;const u=Object.keys(b);for(let p=0;p<u.length;p++){const w=u[p];Li(w)&&(l=l||{},l[w]=b[w])}return l}function Li(b){return"display"===b||"position"===b}const Ps="animation",fi="animationend";class hi{constructor(l,u,p,w,R,L,j){this._element=l,this._name=u,this._duration=p,this._delay=w,this._easing=R,this._fillMode=L,this._onDoneFn=j,this._finished=!1,this._destroyed=!1,this._startTime=0,this._position=0,this._eventFn=se=>this._handleCallback(se)}apply(){(function(b,l){const u=Os(b,"").trim();let p=0;u.length&&(function(b,l){let u=0;for(let p=0;p<b.length;p++)","===b.charAt(p)&&u++;return u}(u)+1,l=`${u}, ${l}`),gs(b,"",l)})(this._element,`${this._duration}ms ${this._easing} ${this._delay}ms 1 normal ${this._fillMode} ${this._name}`),Lr(this._element,this._eventFn,!1),this._startTime=Date.now()}pause(){br(this._element,this._name,"paused")}resume(){br(this._element,this._name,"running")}setPosition(l){const u=ur(this._element,this._name);this._position=l*this._duration,gs(this._element,"Delay",`-${this._position}ms`,u)}getPosition(){return this._position}_handleCallback(l){const u=l._ngTestManualTimestamp||Date.now(),p=1e3*parseFloat(l.elapsedTime.toFixed(3));l.animationName==this._name&&Math.max(u-this._startTime,0)>=this._delay&&p>=this._duration&&this.finish()}finish(){this._finished||(this._finished=!0,this._onDoneFn(),Lr(this._element,this._eventFn,!0))}destroy(){this._destroyed||(this._destroyed=!0,this.finish(),function(b,l){const p=Os(b,"").split(","),w=Qs(p,l);w>=0&&(p.splice(w,1),gs(b,"",p.join(",")))}(this._element,this._name))}}function br(b,l,u){gs(b,"PlayState",u,ur(b,l))}function ur(b,l){const u=Os(b,"");return u.indexOf(",")>0?Qs(u.split(","),l):Qs([u],l)}function Qs(b,l){for(let u=0;u<b.length;u++)if(b[u].indexOf(l)>=0)return u;return-1}function Lr(b,l,u){u?b.removeEventListener(fi,l):b.addEventListener(fi,l)}function gs(b,l,u,p){const w=Ps+l;if(null!=p){const R=b.style[w];if(R.length){const L=R.split(",");L[p]=u,u=L.join(",")}}b.style[w]=u}function Os(b,l){return b.style[Ps+l]||""}class Rn{constructor(l,u,p,w,R,L,j,se){this.element=l,this.keyframes=u,this.animationName=p,this._duration=w,this._delay=R,this._finalStyles=j,this._specialStyles=se,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this.currentSnapshot={},this._state=0,this.easing=L||"linear",this.totalTime=w+R,this._buildStyler()}onStart(l){this._onStartFns.push(l)}onDone(l){this._onDoneFns.push(l)}onDestroy(l){this._onDestroyFns.push(l)}destroy(){this.init(),!(this._state>=4)&&(this._state=4,this._styler.destroy(),this._flushStartFns(),this._flushDoneFns(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(l=>l()),this._onDestroyFns=[])}_flushDoneFns(){this._onDoneFns.forEach(l=>l()),this._onDoneFns=[]}_flushStartFns(){this._onStartFns.forEach(l=>l()),this._onStartFns=[]}finish(){this.init(),!(this._state>=3)&&(this._state=3,this._styler.finish(),this._flushStartFns(),this._specialStyles&&this._specialStyles.finish(),this._flushDoneFns())}setPosition(l){this._styler.setPosition(l)}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 hi(this.element,this.animationName,this._duration,this._delay,this.easing,"forwards",()=>this.finish())}triggerCallback(l){const u="start"==l?this._onStartFns:this._onDoneFns;u.forEach(p=>p()),u.length=0}beforeDestroy(){this.init();const l={};if(this.hasStarted()){const u=this._state>=3;Object.keys(this._finalStyles).forEach(p=>{"offset"!=p&&(l[p]=u?this._finalStyles[p]:Pe(this.element,p))})}this.currentSnapshot=l}}class gi extends oe.ZN{constructor(l,u){super(),this.element=l,this._startingStyles={},this.__initialized=!1,this._styles=bt(u)}init(){this.__initialized||!this._startingStyles||(this.__initialized=!0,Object.keys(this._styles).forEach(l=>{this._startingStyles[l]=this.element.style[l]}),super.init())}play(){!this._startingStyles||(this.init(),Object.keys(this._styles).forEach(l=>this.element.style.setProperty(l,this._styles[l])),super.play())}destroy(){!this._startingStyles||(Object.keys(this._startingStyles).forEach(l=>{const u=this._startingStyles[l];u?this.element.style.setProperty(l,u):this.element.style.removeProperty(l)}),this._startingStyles=null,super.destroy())}}class mi{constructor(){this._count=0}validateStyleProperty(l){return ot(l)}matchesElement(l,u){return be(l,u)}containsElement(l,u){return Ze(l,u)}query(l,u,p){return Bt(l,u,p)}computeStyle(l,u,p){return window.getComputedStyle(l)[u]}buildKeyframeElement(l,u,p){p=p.map(j=>bt(j));let w=`@keyframes ${u} {\n`,R="";p.forEach(j=>{R=" ";const se=parseFloat(j.offset);w+=`${R}${100*se}% {\n`,R+=" ",Object.keys(j).forEach(Ee=>{const xe=j[Ee];switch(Ee){case"offset":return;case"easing":return void(xe&&(w+=`${R}animation-timing-function: ${xe};\n`));default:return void(w+=`${R}${Ee}: ${xe};\n`)}}),w+=`${R}}\n`}),w+="}\n";const L=document.createElement("style");return L.textContent=w,L}animate(l,u,p,w,R,L=[],j){const se=L.filter(kt=>kt instanceof Rn),Ee={};Y(p,w)&&se.forEach(kt=>{let hn=kt.currentSnapshot;Object.keys(hn).forEach(mn=>Ee[mn]=hn[mn])});const xe=function(b){let l={};return b&&(Array.isArray(b)?b:[b]).forEach(p=>{Object.keys(p).forEach(w=>{"offset"==w||"easing"==w||(l[w]=p[w])})}),l}(u=Q(l,u,Ee));if(0==p)return new gi(l,xe);const We="gen_css_kf_"+this._count++,pt=this.buildKeyframeElement(l,We,u);(function(b){var u;const l=null==(u=b.getRootNode)?void 0:u.call(b);return"undefined"!=typeof ShadowRoot&&l instanceof ShadowRoot?l:document.head})(l).appendChild(pt);const qe=di(l,u),yt=new Rn(l,u,We,p,w,R,xe,qe);return yt.onDestroy(()=>{var b;(b=pt).parentNode.removeChild(b)}),yt}}class S{constructor(l,u,p,w){this.element=l,this.keyframes=u,this.options=p,this._specialStyles=w,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(l=>l()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const l=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,l,this.options),this._finalKeyframe=l.length?l[l.length-1]:{},this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_triggerWebAnimation(l,u,p){return l.animate(u,p)}onStart(l){this._onStartFns.push(l)}onDone(l){this._onDoneFns.push(l)}onDestroy(l){this._onDestroyFns.push(l)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(l=>l()),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(l=>l()),this._onDestroyFns=[])}setPosition(l){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=l*this.time}getPosition(){return this.domPlayer.currentTime/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const l={};this.hasStarted()&&Object.keys(this._finalKeyframe).forEach(u=>{"offset"!=u&&(l[u]=this._finished?this._finalKeyframe[u]:Pe(this.element,u))}),this.currentSnapshot=l}triggerCallback(l){const u="start"==l?this._onStartFns:this._onDoneFns;u.forEach(p=>p()),u.length=0}}class H{constructor(){this._isNativeImpl=/\{\s*\[native\s+code\]\s*\}/.test(Se().toString()),this._cssKeyframesDriver=new mi}validateStyleProperty(l){return ot(l)}matchesElement(l,u){return be(l,u)}containsElement(l,u){return Ze(l,u)}query(l,u,p){return Bt(l,u,p)}computeStyle(l,u,p){return window.getComputedStyle(l)[u]}overrideWebAnimationsSupport(l){this._isNativeImpl=l}animate(l,u,p,w,R,L=[],j){if(!j&&!this._isNativeImpl)return this._cssKeyframesDriver.animate(l,u,p,w,R,L);const xe={duration:p,delay:w,fill:0==w?"both":"forwards"};R&&(xe.easing=R);const We={},pt=L.filter(qe=>qe instanceof S);Y(p,w)&&pt.forEach(qe=>{let yt=qe.currentSnapshot;Object.keys(yt).forEach(kt=>We[kt]=yt[kt])});const Tt=di(l,u=Q(l,u=u.map(qe=>je(qe,!1)),We));return new S(l,u,xe,Tt)}}function Se(){return fe()&&Element.prototype.animate||{}}var $e=I(6019);let Wt=(()=>{class b extends oe._j{constructor(u,p){super(),this._nextAnimationId=0,this._renderer=u.createRenderer(p.body,{id:"0",encapsulation:E.ifc.None,styles:[],data:{animation:[]}})}build(u){const p=this._nextAnimationId.toString();this._nextAnimationId++;const w=Array.isArray(u)?(0,oe.vP)(u):u;return ht(this._renderer,null,p,"register",[w]),new Jt(p,this._renderer)}}return b.\u0275fac=function(u){return new(u||b)(E.LFG(E.FYo),E.LFG($e.K0))},b.\u0275prov=E.Yz7({token:b,factory:b.\u0275fac}),b})();class Jt extends oe.LC{constructor(l,u){super(),this._id=l,this._renderer=u}create(l,u){return new Ht(this._id,l,u||{},this._renderer)}}class Ht{constructor(l,u,p,w){this.id=l,this.element=u,this._renderer=w,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",p)}_listen(l,u){return this._renderer.listen(this.element,`@@${this.id}:${l}`,u)}_command(l,...u){return ht(this._renderer,this.element,this.id,l,u)}onDone(l){this._listen("done",l)}onStart(l){this._listen("start",l)}onDestroy(l){this._listen("destroy",l)}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(l){this._command("setPosition",l)}getPosition(){var l,u;return null!=(u=null==(l=this._renderer.engine.players[+this.id])?void 0:l.getPosition())?u:0}}function ht(b,l,u,p,w){return b.setProperty(l,`@@${u}:${p}`,w)}const Gt="@.disabled";let Pn=(()=>{class b{constructor(u,p,w){this.delegate=u,this.engine=p,this._zone=w,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),p.onRemovalComplete=(R,L)=>{const j=null==L?void 0:L.parentNode(R);j&&L.removeChild(j,R)}}createRenderer(u,p){const R=this.delegate.createRenderer(u,p);if(!(u&&p&&p.data&&p.data.animation)){let xe=this._rendererCache.get(R);return xe||(xe=new bn("",R,this.engine),this._rendererCache.set(R,xe)),xe}const L=p.id,j=p.id+"-"+this._currentId;this._currentId++,this.engine.register(j,u);const se=xe=>{Array.isArray(xe)?xe.forEach(se):this.engine.registerTrigger(L,j,u,xe.name,xe)};return p.data.animation.forEach(se),new wr(this,j,R,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then(()=>{this._microtaskId++})}scheduleListenerCallback(u,p,w){u>=0&&u<this._microtaskId?this._zone.run(()=>p(w)):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(R=>{const[L,j]=R;L(j)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([p,w]))}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 b.\u0275fac=function(u){return new(u||b)(E.LFG(E.FYo),E.LFG(Ks),E.LFG(E.R0b))},b.\u0275prov=E.Yz7({token:b,factory:b.\u0275fac}),b})();class bn{constructor(l,u,p){this.namespaceId=l,this.delegate=u,this.engine=p,this.destroyNode=this.delegate.destroyNode?w=>u.destroyNode(w):null}get data(){return this.delegate.data}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy()}createElement(l,u){return this.delegate.createElement(l,u)}createComment(l){return this.delegate.createComment(l)}createText(l){return this.delegate.createText(l)}appendChild(l,u){this.delegate.appendChild(l,u),this.engine.onInsert(this.namespaceId,u,l,!1)}insertBefore(l,u,p,w=!0){this.delegate.insertBefore(l,u,p),this.engine.onInsert(this.namespaceId,u,l,w)}removeChild(l,u,p){this.engine.onRemove(this.namespaceId,u,this.delegate,p)}selectRootElement(l,u){return this.delegate.selectRootElement(l,u)}parentNode(l){return this.delegate.parentNode(l)}nextSibling(l){return this.delegate.nextSibling(l)}setAttribute(l,u,p,w){this.delegate.setAttribute(l,u,p,w)}removeAttribute(l,u,p){this.delegate.removeAttribute(l,u,p)}addClass(l,u){this.delegate.addClass(l,u)}removeClass(l,u){this.delegate.removeClass(l,u)}setStyle(l,u,p,w){this.delegate.setStyle(l,u,p,w)}removeStyle(l,u,p){this.delegate.removeStyle(l,u,p)}setProperty(l,u,p){"@"==u.charAt(0)&&u==Gt?this.disableAnimations(l,!!p):this.delegate.setProperty(l,u,p)}setValue(l,u){this.delegate.setValue(l,u)}listen(l,u,p){return this.delegate.listen(l,u,p)}disableAnimations(l,u){this.engine.disableAnimations(l,u)}}class wr extends bn{constructor(l,u,p,w){super(u,p,w),this.factory=l,this.namespaceId=u}setProperty(l,u,p){"@"==u.charAt(0)?"."==u.charAt(1)&&u==Gt?this.disableAnimations(l,p=void 0===p||!!p):this.engine.process(this.namespaceId,l,u.substr(1),p):this.delegate.setProperty(l,u,p)}listen(l,u,p){if("@"==u.charAt(0)){const w=function(b){switch(b){case"body":return document.body;case"document":return document;case"window":return window;default:return b}}(l);let R=u.substr(1),L="";return"@"!=R.charAt(0)&&([R,L]=function(b){const l=b.indexOf(".");return[b.substring(0,l),b.substr(l+1)]}(R)),this.engine.listen(this.namespaceId,w,R,L,j=>{this.factory.scheduleListenerCallback(j._data||-1,p,j)})}return this.delegate.listen(l,u,p)}}let Ui=(()=>{class b extends Ks{constructor(u,p,w){super(u.body,p,w)}ngOnDestroy(){this.flush()}}return b.\u0275fac=function(u){return new(u||b)(E.LFG($e.K0),E.LFG(ct),E.LFG(Le))},b.\u0275prov=E.Yz7({token:b,factory:b.\u0275fac}),b})();const _i=new E.OlP("AnimationModuleType"),Ei=[{provide:oe._j,useClass:Wt},{provide:Le,useFactory:function(){return new zt}},{provide:Ks,useClass:Ui},{provide:E.FYo,useFactory:function(b,l,u){return new Pn(b,l,u)},deps:[g.se,Ks,E.R0b]}],ro=[{provide:ct,useFactory:function(){return"function"==typeof Se()?new H:new mi}},{provide:_i,useValue:"BrowserAnimations"},...Ei],Me=[{provide:ct,useClass:It},{provide:_i,useValue:"NoopAnimations"},...Ei];let Ft=(()=>{class b{static withConfig(u){return{ngModule:b,providers:u.disableAnimations?Me:ro}}}return b.\u0275fac=function(u){return new(u||b)},b.\u0275mod=E.oAB({type:b}),b.\u0275inj=E.cJS({providers:ro,imports:[g.b2]}),b})()},5427:(He,de,I)=>{I.d(de,{b2:()=>Br,H7:()=>$t,q6:()=>jt,se:()=>je});var E=I(6019),g=I(6079);class oe extends E.w_{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class fe extends oe{static makeCurrent(){(0,E.HT)(new fe)}onAndCancel(W,N,X){return W.addEventListener(N,X,!1),()=>{W.removeEventListener(N,X,!1)}}dispatchEvent(W,N){W.dispatchEvent(N)}remove(W){W.parentNode&&W.parentNode.removeChild(W)}createElement(W,N){return(N=N||this.getDefaultDocument()).createElement(W)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(W){return W.nodeType===Node.ELEMENT_NODE}isShadowRoot(W){return W instanceof DocumentFragment}getGlobalEventTarget(W,N){return"window"===N?window:"document"===N?W:"body"===N?W.body:null}getBaseHref(W){const N=(J=J||document.querySelector("base"),J?J.getAttribute("href"):null);return null==N?null:function(Z){re=re||document.createElement("a"),re.setAttribute("href",Z);const W=re.pathname;return"/"===W.charAt(0)?W:`/${W}`}(N)}resetBaseElement(){J=null}getUserAgent(){return window.navigator.userAgent}getCookie(W){return(0,E.Mx)(document.cookie,W)}}let re,J=null;const G=new g.OlP("TRANSITION_ID"),B=[{provide:g.ip1,useFactory:function(Z,W,N){return()=>{N.get(g.CZH).donePromise.then(()=>{const X=(0,E.q)(),ge=W.querySelectorAll(`style[ng-transition="${Z}"]`);for(let Je=0;Je<ge.length;Je++)X.remove(ge[Je])})}},deps:[G,E.K0,g.zs3],multi:!0}];class ue{static init(){(0,g.VLi)(new ue)}addToWindow(W){g.dqk.getAngularTestability=(X,ge=!0)=>{const Je=W.findTestabilityInTree(X,ge);if(null==Je)throw new Error("Could not find testability for element.");return Je},g.dqk.getAllAngularTestabilities=()=>W.getAllTestabilities(),g.dqk.getAllAngularRootElements=()=>W.getAllRootElements(),g.dqk.frameworkStabilizers||(g.dqk.frameworkStabilizers=[]),g.dqk.frameworkStabilizers.push(X=>{const ge=g.dqk.getAllAngularTestabilities();let Je=ge.length,F=!1;const x=function(O){F=F||O,Je--,0==Je&&X(F)};ge.forEach(function(O){O.whenStable(x)})})}findTestabilityInTree(W,N,X){if(null==N)return null;const ge=W.getTestability(N);return null!=ge?ge:X?(0,E.q)().isShadowRoot(N)?this.findTestabilityInTree(W,N.host,!0):this.findTestabilityInTree(W,N.parentElement,!0):null}}let ve=(()=>{class Z{build(){return new XMLHttpRequest}}return Z.\u0275fac=function(N){return new(N||Z)},Z.\u0275prov=g.Yz7({token:Z,factory:Z.\u0275fac}),Z})();const At=new g.OlP("EventManagerPlugins");let Mt=(()=>{class Z{constructor(N,X){this._zone=X,this._eventNameToPlugin=new Map,N.forEach(ge=>ge.manager=this),this._plugins=N.slice().reverse()}addEventListener(N,X,ge){return this._findPluginFor(X).addEventListener(N,X,ge)}addGlobalEventListener(N,X,ge){return this._findPluginFor(X).addGlobalEventListener(N,X,ge)}getZone(){return this._zone}_findPluginFor(N){const X=this._eventNameToPlugin.get(N);if(X)return X;const ge=this._plugins;for(let Je=0;Je<ge.length;Je++){const F=ge[Je];if(F.supports(N))return this._eventNameToPlugin.set(N,F),F}throw new Error(`No event manager plugin found for event ${N}`)}}return Z.\u0275fac=function(N){return new(N||Z)(g.LFG(At),g.LFG(g.R0b))},Z.\u0275prov=g.Yz7({token:Z,factory:Z.\u0275fac}),Z})();class at{constructor(W){this._doc=W}addGlobalEventListener(W,N,X){const ge=(0,E.q)().getGlobalEventTarget(this._doc,W);if(!ge)throw new Error(`Unsupported event target ${ge} for event ${N}`);return this.addEventListener(ge,N,X)}}let dt=(()=>{class Z{constructor(){this._stylesSet=new Set}addStyles(N){const X=new Set;N.forEach(ge=>{this._stylesSet.has(ge)||(this._stylesSet.add(ge),X.add(ge))}),this.onStylesAdded(X)}onStylesAdded(N){}getAllStyles(){return Array.from(this._stylesSet)}}return Z.\u0275fac=function(N){return new(N||Z)},Z.\u0275prov=g.Yz7({token:Z,factory:Z.\u0275fac}),Z})(),Be=(()=>{class Z extends dt{constructor(N){super(),this._doc=N,this._hostNodes=new Map,this._hostNodes.set(N.head,[])}_addStylesToHost(N,X,ge){N.forEach(Je=>{const F=this._doc.createElement("style");F.textContent=Je,ge.push(X.appendChild(F))})}addHost(N){const X=[];this._addStylesToHost(this._stylesSet,N,X),this._hostNodes.set(N,X)}removeHost(N){const X=this._hostNodes.get(N);X&&X.forEach(hr),this._hostNodes.delete(N)}onStylesAdded(N){this._hostNodes.forEach((X,ge)=>{this._addStylesToHost(N,ge,X)})}ngOnDestroy(){this._hostNodes.forEach(N=>N.forEach(hr))}}return Z.\u0275fac=function(N){return new(N||Z)(g.LFG(E.K0))},Z.\u0275prov=g.Yz7({token:Z,factory:Z.\u0275fac}),Z})();function hr(Z){(0,E.q)().remove(Z)}const sr={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/"},Cn=/%COMP%/g;function ee(Z,W,N){for(let X=0;X<W.length;X++){let ge=W[X];Array.isArray(ge)?ee(Z,ge,N):(ge=ge.replace(Cn,Z),N.push(ge))}return N}function le(Z){return W=>{if("__ngUnwrap__"===W)return Z;!1===Z(W)&&(W.preventDefault(),W.returnValue=!1)}}let je=(()=>{class Z{constructor(N,X,ge){this.eventManager=N,this.sharedStylesHost=X,this.appId=ge,this.rendererByCompId=new Map,this.defaultRenderer=new un(N)}createRenderer(N,X){if(!N||!X)return this.defaultRenderer;switch(X.encapsulation){case g.ifc.Emulated:{let ge=this.rendererByCompId.get(X.id);return ge||(ge=new gn(this.eventManager,this.sharedStylesHost,X,this.appId),this.rendererByCompId.set(X.id,ge)),ge.applyToHost(N),ge}case 1:case g.ifc.ShadowDom:return new nn(this.eventManager,this.sharedStylesHost,N,X);default:if(!this.rendererByCompId.has(X.id)){const ge=ee(X.id,X.styles,[]);this.sharedStylesHost.addStyles(ge),this.rendererByCompId.set(X.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return Z.\u0275fac=function(N){return new(N||Z)(g.LFG(Mt),g.LFG(Be),g.LFG(g.AFp))},Z.\u0275prov=g.Yz7({token:Z,factory:Z.\u0275fac}),Z})();class un{constructor(W){this.eventManager=W,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(W,N){return N?document.createElementNS(sr[N]||N,W):document.createElement(W)}createComment(W){return document.createComment(W)}createText(W){return document.createTextNode(W)}appendChild(W,N){W.appendChild(N)}insertBefore(W,N,X){W&&W.insertBefore(N,X)}removeChild(W,N){W&&W.removeChild(N)}selectRootElement(W,N){let X="string"==typeof W?document.querySelector(W):W;if(!X)throw new Error(`The selector "${W}" did not match any elements`);return N||(X.textContent=""),X}parentNode(W){return W.parentNode}nextSibling(W){return W.nextSibling}setAttribute(W,N,X,ge){if(ge){N=ge+":"+N;const Je=sr[ge];Je?W.setAttributeNS(Je,N,X):W.setAttribute(N,X)}else W.setAttribute(N,X)}removeAttribute(W,N,X){if(X){const ge=sr[X];ge?W.removeAttributeNS(ge,N):W.removeAttribute(`${X}:${N}`)}else W.removeAttribute(N)}addClass(W,N){W.classList.add(N)}removeClass(W,N){W.classList.remove(N)}setStyle(W,N,X,ge){ge&(g.JOm.DashCase|g.JOm.Important)?W.style.setProperty(N,X,ge&g.JOm.Important?"important":""):W.style[N]=X}removeStyle(W,N,X){X&g.JOm.DashCase?W.style.removeProperty(N):W.style[N]=""}setProperty(W,N,X){W[N]=X}setValue(W,N){W.nodeValue=N}listen(W,N,X){return"string"==typeof W?this.eventManager.addGlobalEventListener(W,N,le(X)):this.eventManager.addEventListener(W,N,le(X))}}class gn extends un{constructor(W,N,X,ge){super(W),this.component=X;const Je=ee(ge+"-"+X.id,X.styles,[]);N.addStyles(Je),this.contentAttr="_ngcontent-%COMP%".replace(Cn,ge+"-"+X.id),this.hostAttr="_nghost-%COMP%".replace(Cn,ge+"-"+X.id)}applyToHost(W){super.setAttribute(W,this.hostAttr,"")}createElement(W,N){const X=super.createElement(W,N);return super.setAttribute(X,this.contentAttr,""),X}}class nn extends un{constructor(W,N,X,ge){super(W),this.sharedStylesHost=N,this.hostEl=X,this.shadowRoot=X.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const Je=ee(ge.id,ge.styles,[]);for(let F=0;F<Je.length;F++){const x=document.createElement("style");x.textContent=Je[F],this.shadowRoot.appendChild(x)}}nodeOrShadowRoot(W){return W===this.hostEl?this.shadowRoot:W}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}appendChild(W,N){return super.appendChild(this.nodeOrShadowRoot(W),N)}insertBefore(W,N,X){return super.insertBefore(this.nodeOrShadowRoot(W),N,X)}removeChild(W,N){return super.removeChild(this.nodeOrShadowRoot(W),N)}parentNode(W){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(W)))}}let zn=(()=>{class Z extends at{constructor(N){super(N)}supports(N){return!0}addEventListener(N,X,ge){return N.addEventListener(X,ge,!1),()=>this.removeEventListener(N,X,ge)}removeEventListener(N,X,ge){return N.removeEventListener(X,ge)}}return Z.\u0275fac=function(N){return new(N||Z)(g.LFG(E.K0))},Z.\u0275prov=g.Yz7({token:Z,factory:Z.\u0275fac}),Z})();const Te=["alt","control","meta","shift"],Ve={"\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"},Ne={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"},Re={alt:Z=>Z.altKey,control:Z=>Z.ctrlKey,meta:Z=>Z.metaKey,shift:Z=>Z.shiftKey};let _t=(()=>{class Z extends at{constructor(N){super(N)}supports(N){return null!=Z.parseEventName(N)}addEventListener(N,X,ge){const Je=Z.parseEventName(X),F=Z.eventCallback(Je.fullKey,ge,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,E.q)().onAndCancel(N,Je.domEventName,F))}static parseEventName(N){const X=N.toLowerCase().split("."),ge=X.shift();if(0===X.length||"keydown"!==ge&&"keyup"!==ge)return null;const Je=Z._normalizeKey(X.pop());let F="";if(Te.forEach(O=>{const ae=X.indexOf(O);ae>-1&&(X.splice(ae,1),F+=O+".")}),F+=Je,0!=X.length||0===Je.length)return null;const x={};return x.domEventName=ge,x.fullKey=F,x}static getEventFullKey(N){let X="",ge=function(Z){let W=Z.key;if(null==W){if(W=Z.keyIdentifier,null==W)return"Unidentified";W.startsWith("U+")&&(W=String.fromCharCode(parseInt(W.substring(2),16)),3===Z.location&&Ne.hasOwnProperty(W)&&(W=Ne[W]))}return Ve[W]||W}(N);return ge=ge.toLowerCase()," "===ge?ge="space":"."===ge&&(ge="dot"),Te.forEach(Je=>{Je!=ge&&Re[Je](N)&&(X+=Je+".")}),X+=ge,X}static eventCallback(N,X,ge){return Je=>{Z.getEventFullKey(Je)===N&&ge.runGuarded(()=>X(Je))}}static _normalizeKey(N){return"esc"===N?"escape":N}}return Z.\u0275fac=function(N){return new(N||Z)(g.LFG(E.K0))},Z.\u0275prov=g.Yz7({token:Z,factory:Z.\u0275fac}),Z})(),$t=(()=>{class Z{}return Z.\u0275fac=function(N){return new(N||Z)},Z.\u0275prov=g.Yz7({token:Z,factory:function(N){let X=null;return X=N?new(N||Z):g.LFG(qt),X},providedIn:"root"}),Z})(),qt=(()=>{class Z extends $t{constructor(N){super(),this._doc=N}sanitize(N,X){if(null==X)return null;switch(N){case g.q3G.NONE:return X;case g.q3G.HTML:return(0,g.qzn)(X,"HTML")?(0,g.z3N)(X):(0,g.EiD)(this._doc,String(X)).toString();case g.q3G.STYLE:return(0,g.qzn)(X,"Style")?(0,g.z3N)(X):X;case g.q3G.SCRIPT:if((0,g.qzn)(X,"Script"))return(0,g.z3N)(X);throw new Error("unsafe value used in a script context");case g.q3G.URL:return(0,g.yhl)(X),(0,g.qzn)(X,"URL")?(0,g.z3N)(X):(0,g.mCW)(String(X));case g.q3G.RESOURCE_URL:if((0,g.qzn)(X,"ResourceURL"))return(0,g.z3N)(X);throw new Error("unsafe value used in a resource URL context (see https://g.co/ng/security#xss)");default:throw new Error(`Unexpected SecurityContext ${N} (see https://g.co/ng/security#xss)`)}}bypassSecurityTrustHtml(N){return(0,g.JVY)(N)}bypassSecurityTrustStyle(N){return(0,g.L6k)(N)}bypassSecurityTrustScript(N){return(0,g.eBb)(N)}bypassSecurityTrustUrl(N){return(0,g.LAX)(N)}bypassSecurityTrustResourceUrl(N){return(0,g.pB0)(N)}}return Z.\u0275fac=function(N){return new(N||Z)(g.LFG(E.K0))},Z.\u0275prov=g.Yz7({token:Z,factory:function(N){let X=null;return X=N?new N:function(Z){return new qt(Z.get(E.K0))}(g.LFG(g.zs3)),X},providedIn:"root"}),Z})();const jt=(0,g.eFA)(g._c5,"browser",[{provide:g.Lbi,useValue:E.bD},{provide:g.g9A,useValue:function(){fe.makeCurrent(),ue.init()},multi:!0},{provide:E.K0,useFactory:function(){return(0,g.RDi)(document),document},deps:[]}]),cn=[[],{provide:g.zSh,useValue:"root"},{provide:g.qLn,useFactory:function(){return new g.qLn},deps:[]},{provide:At,useClass:zn,multi:!0,deps:[E.K0,g.R0b,g.Lbi]},{provide:At,useClass:_t,multi:!0,deps:[E.K0]},[],{provide:je,useClass:je,deps:[Mt,Be,g.AFp]},{provide:g.FYo,useExisting:je},{provide:dt,useExisting:Be},{provide:Be,useClass:Be,deps:[E.K0]},{provide:g.dDg,useClass:g.dDg,deps:[g.R0b]},{provide:Mt,useClass:Mt,deps:[At,g.R0b]},{provide:E.JF,useClass:ve,deps:[]},[]];let Br=(()=>{class Z{constructor(N){if(N)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(N){return{ngModule:Z,providers:[{provide:g.AFp,useValue:N.appId},{provide:G,useExisting:g.AFp},B]}}}return Z.\u0275fac=function(N){return new(N||Z)(g.LFG(Z,12))},Z.\u0275mod=g.oAB({type:Z}),Z.\u0275inj=g.cJS({providers:cn,imports:[E.ez,g.hGG]}),Z})();"undefined"!=typeof window&&window},1086:(He,de,I)=>{I.d(de,{gz:()=>Mn,F0:()=>jn,rH:()=>Fs,Od:()=>Di,yS:()=>io,Bz:()=>wi,lC:()=>Hr});var E=I(6019),g=I(6079);const fe=(()=>{function h(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}return h.prototype=Object.create(Error.prototype),h})();var J=I(1915),V=I(2411),re=I(4099),ne=I(2372),G=I(5548),K=I(3596),B=I(5476),ue=I(172),ve=I(5783),Ie=I(3405),te=I(4168);function he(h,d){let c=!1;return arguments.length>=2&&(c=!0),function(C){return C.lift(new Ae(h,d,c))}}class Ae{constructor(d,c,y=!1){this.accumulator=d,this.seed=c,this.hasSeed=y}call(d,c){return c.subscribe(new Oe(d,this.accumulator,this.seed,this.hasSeed))}}class Oe extends te.L{constructor(d,c,y,C){super(d),this.accumulator=c,this._seed=y,this.hasSeed=C,this.index=0}get seed(){return this._seed}set seed(d){this.hasSeed=!0,this._seed=d}_next(d){if(this.hasSeed)return this._tryNext(d);this.seed=d,this.destination.next(d)}_tryNext(d){const c=this.index++;let y;try{y=this.accumulator(this.seed,d,c)}catch(C){this.destination.error(C)}this.seed=y,this.destination.next(y)}}var Ue=I(8345);function ot(h){return function(c){const y=new ye(h),C=c.lift(y);return y.caught=C}}class ye{constructor(d){this.selector=d}call(d,c){return c.subscribe(new be(d,this.selector,this.caught))}}class be extends Ue.Ds{constructor(d,c,y){super(d),this.selector=c,this.caught=y}error(d){if(!this.isStopped){let c;try{c=this.selector(d,this.caught)}catch(A){return void super.error(A)}this._unsubscribeAndRecycle();const y=new Ue.IY(this);this.add(y);const C=(0,Ue.ft)(c,y);C!==y&&this.add(C)}}}var Ze=I(8735),Bt=I(523);function bt(h){return function(c){return 0===h?(0,ue.c)():c.lift(new It(h))}}class It{constructor(d){if(this.total=d,this.total<0)throw new Bt.W}call(d,c){return c.subscribe(new ct(d,this.total))}}class ct extends te.L{constructor(d,c){super(d),this.total=c,this.ring=new Array,this.count=0}_next(d){const c=this.ring,y=this.total,C=this.count++;c.length<y?c.push(d):c[C%y]=d}_complete(){const d=this.destination;let c=this.count;if(c>0){const y=this.count>=this.total?this.total:this.count,C=this.ring;for(let A=0;A<y;A++){const k=c++%y;d.next(C[k])}}d.complete()}}function At(h=dt){return d=>d.lift(new Mt(h))}class Mt{constructor(d){this.errorFactory=d}call(d,c){return c.subscribe(new at(d,this.errorFactory))}}class at extends te.L{constructor(d,c){super(d),this.errorFactory=c,this.hasValue=!1}_next(d){this.hasValue=!0,this.destination.next(d)}_complete(){if(this.hasValue)return this.destination.complete();{let d;try{d=this.errorFactory()}catch(c){d=c}this.destination.error(d)}}}function dt(){return new fe}function Be(h=null){return d=>d.lift(new hr(h))}class hr{constructor(d){this.defaultValue=d}call(d,c){return c.subscribe(new sr(d,this.defaultValue))}}class sr extends te.L{constructor(d,c){super(d),this.defaultValue=c,this.isEmpty=!0}_next(d){this.isEmpty=!1,this.destination.next(d)}_complete(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()}}var Cn=I(7255),ir=I(6636);function ln(h,d){const c=arguments.length>=2;return y=>y.pipe(h?(0,Ze.h)((C,A)=>h(C,A,y)):Cn.y,(0,ir.q)(1),c?Be(d):At(()=>new fe))}var xt=I(8053),pe=I(9204),we=I(1125),ee=I(6700),le=I(4421),ke=I(1366),je=I(5234),un=I(6658),tn=I(2225);class wt{constructor(d,c){this.id=d,this.url=c}}class gn extends wt{constructor(d,c,y="imperative",C=null){super(d,c),this.navigationTrigger=y,this.restoredState=C}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class nn extends wt{constructor(d,c,y){super(d,c),this.urlAfterRedirects=y}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class zn extends wt{constructor(d,c,y){super(d,c),this.reason=y}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class or extends wt{constructor(d,c,y){super(d,c),this.error=y}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class Hn extends wt{constructor(d,c,y,C){super(d,c),this.urlAfterRedirects=y,this.state=C}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Fn extends wt{constructor(d,c,y,C){super(d,c),this.urlAfterRedirects=y,this.state=C}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Qt extends wt{constructor(d,c,y,C,A){super(d,c),this.urlAfterRedirects=y,this.state=C,this.shouldActivate=A}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class Or extends wt{constructor(d,c,y,C){super(d,c),this.urlAfterRedirects=y,this.state=C}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Ke extends wt{constructor(d,c,y,C){super(d,c),this.urlAfterRedirects=y,this.state=C}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class De{constructor(d){this.route=d}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class Y{constructor(d){this.route=d}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class Q{constructor(d){this.snapshot=d}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Te{constructor(d){this.snapshot=d}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Pe{constructor(d){this.snapshot=d}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Ve{constructor(d){this.snapshot=d}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Ne{constructor(d,c,y){this.routerEvent=d,this.position=c,this.anchor=y}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}const Re="primary";class _t{constructor(d){this.params=d||{}}has(d){return Object.prototype.hasOwnProperty.call(this.params,d)}get(d){if(this.has(d)){const c=this.params[d];return Array.isArray(c)?c[0]:c}return null}getAll(d){if(this.has(d)){const c=this.params[d];return Array.isArray(c)?c:[c]}return[]}get keys(){return Object.keys(this.params)}}function mt(h){return new _t(h)}const $t="ngNavigationCancelingError";function yn(h){const d=Error("NavigationCancelingError: "+h);return d[$t]=!0,d}function Ot(h,d,c){const y=c.path.split("/");if(y.length>h.length||"full"===c.pathMatch&&(d.hasChildren()||y.length<h.length))return null;const C={};for(let A=0;A<y.length;A++){const k=y[A],z=h[A];if(k.startsWith(":"))C[k.substring(1)]=z;else if(k!==z.path)return null}return{consumed:h.slice(0,y.length),posParams:C}}function an(h,d){const c=h?Object.keys(h):void 0,y=d?Object.keys(d):void 0;if(!c||!y||c.length!=y.length)return!1;let C;for(let A=0;A<c.length;A++)if(C=c[A],!Nt(h[C],d[C]))return!1;return!0}function Nt(h,d){if(Array.isArray(h)&&Array.isArray(d)){if(h.length!==d.length)return!1;const c=[...h].sort(),y=[...d].sort();return c.every((C,A)=>y[A]===C)}return h===d}function Xt(h){return Array.prototype.concat.apply([],h)}function Ct(h){return h.length>0?h[h.length-1]:null}function jt(h,d){for(const c in h)h.hasOwnProperty(c)&&d(h[c],c)}function cn(h){return(0,g.CqO)(h)?h:(0,g.QGY)(h)?(0,J.D)(Promise.resolve(h)):(0,V.of)(h)}const dn={exact:function Nr(h,d,c){if(!Rt(h.segments,d.segments)||!Xn(h.segments,d.segments,c)||h.numberOfChildren!==d.numberOfChildren)return!1;for(const y in d.children)if(!h.children[y]||!Nr(h.children[y],d.children[y],c))return!1;return!0},subset:Jn},sn={exact:function(h,d){return an(h,d)},subset:function(h,d){return Object.keys(d).length<=Object.keys(h).length&&Object.keys(d).every(c=>Nt(h[c],d[c]))},ignored:()=>!0};function xr(h,d,c){return dn[c.paths](h.root,d.root,c.matrixParams)&&sn[c.queryParams](h.queryParams,d.queryParams)&&!("exact"===c.fragment&&h.fragment!==d.fragment)}function Jn(h,d,c){return Ur(h,d,d.segments,c)}function Ur(h,d,c,y){if(h.segments.length>c.length){const C=h.segments.slice(0,c.length);return!(!Rt(C,c)||d.hasChildren()||!Xn(C,c,y))}if(h.segments.length===c.length){if(!Rt(h.segments,c)||!Xn(h.segments,c,y))return!1;for(const C in d.children)if(!h.children[C]||!Jn(h.children[C],d.children[C],y))return!1;return!0}{const C=c.slice(0,h.segments.length),A=c.slice(h.segments.length);return!!(Rt(h.segments,C)&&Xn(h.segments,C,y)&&h.children[Re])&&Ur(h.children[Re],d,A,y)}}function Xn(h,d,c){return d.every((y,C)=>sn[c](h[C].parameters,y.parameters))}class In{constructor(d,c,y){this.root=d,this.queryParams=c,this.fragment=y}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=mt(this.queryParams)),this._queryParamMap}toString(){return Vn.serialize(this)}}class Et{constructor(d,c){this.segments=d,this.children=c,this.parent=null,jt(c,(y,C)=>y.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Le(this)}}class Ln{constructor(d,c){this.path=d,this.parameters=c}get parameterMap(){return this._parameterMap||(this._parameterMap=mt(this.parameters)),this._parameterMap}toString(){return Je(this)}}function Rt(h,d){return h.length===d.length&&h.every((c,y)=>c.path===d[y].path)}class An{}class _n{parse(d){const c=new lr(d);return new In(c.parseRootSegment(),c.parseQueryParams(),c.parseFragment())}serialize(d){const c=`/${rt(d.root,!0)}`,y=function(h){const d=Object.keys(h).map(c=>{const y=h[c];return Array.isArray(y)?y.map(C=>`${Z(c)}=${Z(C)}`).join("&"):`${Z(c)}=${Z(y)}`}).filter(c=>!!c);return d.length?`?${d.join("&")}`:""}(d.queryParams);var h;return`${c}${y}${"string"==typeof d.fragment?`#${h=d.fragment,encodeURI(h)}`:""}`}}const Vn=new _n;function Le(h){return h.segments.map(d=>Je(d)).join("/")}function rt(h,d){if(!h.hasChildren())return Le(h);if(d){const c=h.children[Re]?rt(h.children[Re],!1):"",y=[];return jt(h.children,(C,A)=>{A!==Re&&y.push(`${A}:${rt(C,!1)}`)}),y.length>0?`${c}(${y.join("//")})`:c}{const c=function(h,d){let c=[];return jt(h.children,(y,C)=>{C===Re&&(c=c.concat(d(y,C)))}),jt(h.children,(y,C)=>{C!==Re&&(c=c.concat(d(y,C)))}),c}(h,(y,C)=>C===Re?[rt(h.children[Re],!1)]:[`${C}:${rt(y,!1)}`]);return 1===Object.keys(h.children).length&&null!=h.children[Re]?`${Le(h)}/${c[0]}`:`${Le(h)}/(${c.join("//")})`}}function zt(h){return encodeURIComponent(h).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Z(h){return zt(h).replace(/%3B/gi,";")}function N(h){return zt(h).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function X(h){return decodeURIComponent(h)}function ge(h){return X(h.replace(/\+/g,"%20"))}function Je(h){return`${N(h.path)}${function(h){return Object.keys(h).map(d=>`;${N(d)}=${N(h[d])}`).join("")}(h.parameters)}`}const O=/^[^\/()?;=#]+/;function ae(h){const d=h.match(O);return d?d[0]:""}const lt=/^[^=?&#]+/,ft=/^[^&#]+/;class lr{constructor(d){this.url=d,this.remaining=d}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new Et([],{}):new Et([],this.parseChildren())}parseQueryParams(){const d={};if(this.consumeOptional("?"))do{this.parseQueryParam(d)}while(this.consumeOptional("&"));return d}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const d=[];for(this.peekStartsWith("(")||d.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),d.push(this.parseSegment());let c={};this.peekStartsWith("/(")&&(this.capture("/"),c=this.parseParens(!0));let y={};return this.peekStartsWith("(")&&(y=this.parseParens(!1)),(d.length>0||Object.keys(c).length>0)&&(y[Re]=new Et(d,c)),y}parseSegment(){const d=ae(this.remaining);if(""===d&&this.peekStartsWith(";"))throw new Error(`Empty path url segment cannot have parameters: '${this.remaining}'.`);return this.capture(d),new Ln(X(d),this.parseMatrixParams())}parseMatrixParams(){const d={};for(;this.consumeOptional(";");)this.parseParam(d);return d}parseParam(d){const c=ae(this.remaining);if(!c)return;this.capture(c);let y="";if(this.consumeOptional("=")){const C=ae(this.remaining);C&&(y=C,this.capture(y))}d[X(c)]=X(y)}parseQueryParam(d){const c=function(h){const d=h.match(lt);return d?d[0]:""}(this.remaining);if(!c)return;this.capture(c);let y="";if(this.consumeOptional("=")){const k=function(h){const d=h.match(ft);return d?d[0]:""}(this.remaining);k&&(y=k,this.capture(y))}const C=ge(c),A=ge(y);if(d.hasOwnProperty(C)){let k=d[C];Array.isArray(k)||(k=[k],d[C]=k),k.push(A)}else d[C]=A}parseParens(d){const c={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const y=ae(this.remaining),C=this.remaining[y.length];if("/"!==C&&")"!==C&&";"!==C)throw new Error(`Cannot parse url '${this.url}'`);let A;y.indexOf(":")>-1?(A=y.substr(0,y.indexOf(":")),this.capture(A),this.capture(":")):d&&(A=Re);const k=this.parseChildren();c[A]=1===Object.keys(k).length?k[Re]:new Et([],k),this.consumeOptional("//")}return c}peekStartsWith(d){return this.remaining.startsWith(d)}consumeOptional(d){return!!this.peekStartsWith(d)&&(this.remaining=this.remaining.substring(d.length),!0)}capture(d){if(!this.consumeOptional(d))throw new Error(`Expected "${d}".`)}}class Dn{constructor(d){this._root=d}get root(){return this._root.value}parent(d){const c=this.pathFromRoot(d);return c.length>1?c[c.length-2]:null}children(d){const c=Pt(d,this._root);return c?c.children.map(y=>y.value):[]}firstChild(d){const c=Pt(d,this._root);return c&&c.children.length>0?c.children[0].value:null}siblings(d){const c=Gs(d,this._root);return c.length<2?[]:c[c.length-2].children.map(C=>C.value).filter(C=>C!==d)}pathFromRoot(d){return Gs(d,this._root).map(c=>c.value)}}function Pt(h,d){if(h===d.value)return d;for(const c of d.children){const y=Pt(h,c);if(y)return y}return null}function Gs(h,d){if(h===d.value)return[d];for(const c of d.children){const y=Gs(h,c);if(y.length)return y.unshift(d),y}return[]}class gr{constructor(d,c){this.value=d,this.children=c}toString(){return`TreeNode(${this.value})`}}function Dr(h){const d={};return h&&h.children.forEach(c=>d[c.value.outlet]=c),d}class Zr extends Dn{constructor(d,c){super(d),this.snapshot=c,kr(this,d)}toString(){return this.snapshot.toString()}}function Fr(h,d){const c=function(h,d){const k=new $n([],{},{},"",{},Re,d,null,h.root,-1,{});return new er("",new gr(k,[]))}(h,d),y=new re.X([new Ln("",{})]),C=new re.X({}),A=new re.X({}),k=new re.X({}),z=new re.X(""),_e=new Mn(y,C,k,z,A,Re,d,c.root);return _e.snapshot=c.root,new Zr(new gr(_e,[]),c)}class Mn{constructor(d,c,y,C,A,k,z,_e){this.url=d,this.params=c,this.queryParams=y,this.fragment=C,this.data=A,this.outlet=k,this.component=z,this._futureSnapshot=_e}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,xt.U)(d=>mt(d)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe((0,xt.U)(d=>mt(d)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function on(h,d="emptyOnly"){const c=h.pathFromRoot;let y=0;if("always"!==d)for(y=c.length-1;y>=1;){const C=c[y],A=c[y-1];if(C.routeConfig&&""===C.routeConfig.path)y--;else{if(A.component)break;y--}}return function(h){return h.reduce((d,c)=>({params:it(it({},d.params),c.params),data:it(it({},d.data),c.data),resolve:it(it({},d.resolve),c._resolvedData)}),{params:{},data:{},resolve:{}})}(c.slice(y))}class $n{constructor(d,c,y,C,A,k,z,_e,Ye,Kt,st){this.url=d,this.params=c,this.queryParams=y,this.fragment=C,this.data=A,this.outlet=k,this.component=z,this.routeConfig=_e,this._urlSegment=Ye,this._lastPathIndex=Kt,this._resolve=st}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=mt(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=mt(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(y=>y.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class er extends Dn{constructor(d,c){super(c),this.url=d,kr(this,c)}toString(){return Jr(this._root)}}function kr(h,d){d.value._routerState=h,d.children.forEach(c=>kr(h,c))}function Jr(h){const d=h.children.length>0?` { ${h.children.map(Jr).join(", ")} } `:"";return`${h.value}${d}`}function ds(h){if(h.snapshot){const d=h.snapshot,c=h._futureSnapshot;h.snapshot=c,an(d.queryParams,c.queryParams)||h.queryParams.next(c.queryParams),d.fragment!==c.fragment&&h.fragment.next(c.fragment),an(d.params,c.params)||h.params.next(c.params),function(h,d){if(h.length!==d.length)return!1;for(let c=0;c<h.length;++c)if(!an(h[c],d[c]))return!1;return!0}(d.url,c.url)||h.url.next(c.url),an(d.data,c.data)||h.data.next(c.data)}else h.snapshot=h._futureSnapshot,h.data.next(h._futureSnapshot.data)}function Zt(h,d){const c=an(h.params,d.params)&&function(h,d){return Rt(h,d)&&h.every((c,y)=>an(c.parameters,d[y].parameters))}(h.url,d.url);return c&&!(!h.parent!=!d.parent)&&(!h.parent||Zt(h.parent,d.parent))}function fs(h,d,c){if(c&&h.shouldReuseRoute(d.value,c.value.snapshot)){const y=c.value;y._futureSnapshot=d.value;const C=function(h,d,c){return d.children.map(y=>{for(const C of c.children)if(h.shouldReuseRoute(y.value,C.value.snapshot))return fs(h,y,C);return fs(h,y)})}(h,d,c);return new gr(y,C)}{if(h.shouldAttach(d.value)){const A=h.retrieve(d.value);if(null!==A){const k=A.route;return k.value._futureSnapshot=d.value,k.children=d.children.map(z=>fs(h,z)),k}}const y=function(h){return new Mn(new re.X(h.url),new re.X(h.params),new re.X(h.queryParams),new re.X(h.fragment),new re.X(h.data),h.outlet,h.component,h)}(d.value),C=d.children.map(A=>fs(h,A));return new gr(y,C)}}function li(h){return"object"==typeof h&&null!=h&&!h.outlets&&!h.segmentPath}function Bn(h){return"object"==typeof h&&null!=h&&h.outlets}function jr(h,d,c,y,C){let A={};return y&&jt(y,(k,z)=>{A[z]=Array.isArray(k)?k.map(_e=>`${_e}`):`${k}`}),new In(c.root===h?d:xi(c.root,h,d),A,C)}function xi(h,d,c){const y={};return jt(h.children,(C,A)=>{y[A]=C===d?c:xi(C,d,c)}),new Et(h.segments,y)}class Ni{constructor(d,c,y){if(this.isAbsolute=d,this.numberOfDoubleDots=c,this.commands=y,d&&y.length>0&&li(y[0]))throw new Error("Root segment cannot have matrix parameters");const C=y.find(Bn);if(C&&C!==Ct(y))throw new Error("{outlets:{}} has to be the last command")}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class ci{constructor(d,c,y){this.segmentGroup=d,this.processChildren=c,this.index=y}}function ki(h,d,c){if(h||(h=new Et([],{})),0===h.segments.length&&h.hasChildren())return Xr(h,d,c);const y=function(h,d,c){let y=0,C=d;const A={match:!1,pathIndex:0,commandIndex:0};for(;C<h.segments.length;){if(y>=c.length)return A;const k=h.segments[C],z=c[y];if(Bn(z))break;const _e=`${z}`,Ye=y<c.length-1?c[y+1]:null;if(C>0&&void 0===_e)break;if(_e&&Ye&&"object"==typeof Ye&&void 0===Ye.outlets){if(!Ys(_e,Ye,k))return A;y+=2}else{if(!Ys(_e,{},k))return A;y++}C++}return{match:!0,pathIndex:C,commandIndex:y}}(h,d,c),C=c.slice(y.commandIndex);if(y.match&&y.pathIndex<h.segments.length){const A=new Et(h.segments.slice(0,y.pathIndex),{});return A.children[Re]=new Et(h.segments.slice(y.pathIndex),h.children),Xr(A,0,C)}return y.match&&0===C.length?new Et(h.segments,{}):y.match&&!h.hasChildren()?hs(h,d,c):y.match?Xr(h,0,C):hs(h,d,c)}function Xr(h,d,c){if(0===c.length)return new Et(h.segments,{});{const y=function(h){return Bn(h[0])?h[0].outlets:{[Re]:h}}(c),C={};return jt(y,(A,k)=>{"string"==typeof A&&(A=[A]),null!==A&&(C[k]=ki(h.children[k],d,A))}),jt(h.children,(A,k)=>{void 0===y[k]&&(C[k]=A)}),new Et(h.segments,C)}}function hs(h,d,c){const y=h.segments.slice(0,d);let C=0;for(;C<c.length;){const A=c[C];if(Bn(A)){const _e=Ps(A.outlets);return new Et(y,_e)}if(0===C&&li(c[0])){y.push(new Ln(h.segments[d].path,fi(c[0]))),C++;continue}const k=Bn(A)?A.outlets[Re]:`${A}`,z=C<c.length-1?c[C+1]:null;k&&z&&li(z)?(y.push(new Ln(k,fi(z))),C+=2):(y.push(new Ln(k,{})),C++)}return new Et(y,{})}function Ps(h){const d={};return jt(h,(c,y)=>{"string"==typeof c&&(c=[c]),null!==c&&(d[y]=hs(new Et([],{}),0,c))}),d}function fi(h){const d={};return jt(h,(c,y)=>d[y]=`${c}`),d}function Ys(h,d,c){return h==c.path&&an(d,c.parameters)}class br{constructor(d,c,y,C){this.routeReuseStrategy=d,this.futureState=c,this.currState=y,this.forwardEvent=C}activate(d){const c=this.futureState._root,y=this.currState?this.currState._root:null;this.deactivateChildRoutes(c,y,d),ds(this.futureState.root),this.activateChildRoutes(c,y,d)}deactivateChildRoutes(d,c,y){const C=Dr(c);d.children.forEach(A=>{const k=A.value.outlet;this.deactivateRoutes(A,C[k],y),delete C[k]}),jt(C,(A,k)=>{this.deactivateRouteAndItsChildren(A,y)})}deactivateRoutes(d,c,y){const C=d.value,A=c?c.value:null;if(C===A)if(C.component){const k=y.getContext(C.outlet);k&&this.deactivateChildRoutes(d,c,k.children)}else this.deactivateChildRoutes(d,c,y);else A&&this.deactivateRouteAndItsChildren(c,y)}deactivateRouteAndItsChildren(d,c){this.routeReuseStrategy.shouldDetach(d.value.snapshot)?this.detachAndStoreRouteSubtree(d,c):this.deactivateRouteAndOutlet(d,c)}detachAndStoreRouteSubtree(d,c){const y=c.getContext(d.value.outlet),C=y&&d.value.component?y.children:c,A=Dr(d);for(const k of Object.keys(A))this.deactivateRouteAndItsChildren(A[k],C);if(y&&y.outlet){const k=y.outlet.detach(),z=y.children.onOutletDeactivated();this.routeReuseStrategy.store(d.value.snapshot,{componentRef:k,route:d,contexts:z})}}deactivateRouteAndOutlet(d,c){const y=c.getContext(d.value.outlet),C=y&&d.value.component?y.children:c,A=Dr(d);for(const k of Object.keys(A))this.deactivateRouteAndItsChildren(A[k],C);y&&y.outlet&&(y.outlet.deactivate(),y.children.onOutletDeactivated(),y.attachRef=null,y.resolver=null,y.route=null)}activateChildRoutes(d,c,y){const C=Dr(c);d.children.forEach(A=>{this.activateRoutes(A,C[A.value.outlet],y),this.forwardEvent(new Ve(A.value.snapshot))}),d.children.length&&this.forwardEvent(new Te(d.value.snapshot))}activateRoutes(d,c,y){const C=d.value,A=c?c.value:null;if(ds(C),C===A)if(C.component){const k=y.getOrCreateContext(C.outlet);this.activateChildRoutes(d,c,k.children)}else this.activateChildRoutes(d,c,y);else if(C.component){const k=y.getOrCreateContext(C.outlet);if(this.routeReuseStrategy.shouldAttach(C.snapshot)){const z=this.routeReuseStrategy.retrieve(C.snapshot);this.routeReuseStrategy.store(C.snapshot,null),k.children.onOutletReAttached(z.contexts),k.attachRef=z.componentRef,k.route=z.route.value,k.outlet&&k.outlet.attach(z.componentRef,z.route.value),ds(z.route.value),this.activateChildRoutes(d,null,k.children)}else{const z=function(h){for(let d=h.parent;d;d=d.parent){const c=d.routeConfig;if(c&&c._loadedConfig)return c._loadedConfig;if(c&&c.component)return null}return null}(C.snapshot),_e=z?z.module.componentFactoryResolver:null;k.attachRef=null,k.route=C,k.resolver=_e,k.outlet&&k.outlet.activateWith(C,_e),this.activateChildRoutes(d,null,k.children)}}else this.activateChildRoutes(d,null,y)}}class ps{constructor(d,c){this.routes=d,this.module=c}}function ur(h){return"function"==typeof h}function Lr(h){return h instanceof In}const xs=Symbol("INITIAL_VALUE");function Rn(){return(0,pe.w)(h=>(0,ne.aj)(h.map(d=>d.pipe((0,ir.q)(1),(0,we.O)(xs)))).pipe(he((d,c)=>{let y=!1;return c.reduce((C,A,k)=>C!==xs?C:(A===xs&&(y=!0),y||!1!==A&&k!==c.length-1&&!Lr(A)?C:A),d)},xs),(0,Ze.h)(d=>d!==xs),(0,xt.U)(d=>Lr(d)?d:!0===d),(0,ir.q)(1)))}class gi{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.children=new es,this.attachRef=null}}class es{constructor(){this.contexts=new Map}onChildOutletCreated(d,c){const y=this.getOrCreateContext(d);y.outlet=c,this.contexts.set(d,y)}onChildOutletDestroyed(d){const c=this.getContext(d);c&&(c.outlet=null,c.attachRef=null)}onOutletDeactivated(){const d=this.contexts;return this.contexts=new Map,d}onOutletReAttached(d){this.contexts=d}getOrCreateContext(d){let c=this.getContext(d);return c||(c=new gi,this.contexts.set(d,c)),c}getContext(d){return this.contexts.get(d)||null}}let Hr=(()=>{class h{constructor(c,y,C,A,k){this.parentContexts=c,this.location=y,this.resolver=C,this.changeDetector=k,this.activated=null,this._activatedRoute=null,this.activateEvents=new g.vpe,this.deactivateEvents=new g.vpe,this.attachEvents=new g.vpe,this.detachEvents=new g.vpe,this.name=A||Re,c.onChildOutletCreated(this.name,this)}ngOnDestroy(){this.parentContexts.onChildOutletDestroyed(this.name)}ngOnInit(){if(!this.activated){const c=this.parentContexts.getContext(this.name);c&&c.route&&(c.attachRef?this.attach(c.attachRef,c.route):this.activateWith(c.route,c.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 c=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(c.instance),c}attach(c,y){this.activated=c,this._activatedRoute=y,this.location.insert(c.hostView),this.attachEvents.emit(c.instance)}deactivate(){if(this.activated){const c=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(c)}}activateWith(c,y){if(this.isActivated)throw new Error("Cannot activate an already activated outlet");this._activatedRoute=c;const k=(y=y||this.resolver).resolveComponentFactory(c._futureSnapshot.routeConfig.component),z=this.parentContexts.getOrCreateContext(this.name).children,_e=new mi(c,z,this.location.injector);this.activated=this.location.createComponent(k,this.location.length,_e),this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return h.\u0275fac=function(c){return new(c||h)(g.Y36(es),g.Y36(g.s_b),g.Y36(g._Vd),g.$8M("name"),g.Y36(g.sBO))},h.\u0275dir=g.lG2({type:h,selectors:[["router-outlet"]],outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"]}),h})();class mi{constructor(d,c,y){this.route=d,this.childContexts=c,this.parent=y}get(d,c){return d===Mn?this.route:d===es?this.childContexts:this.parent.get(d,c)}}let qs=(()=>{class h{}return h.\u0275fac=function(c){return new(c||h)},h.\u0275cmp=g.Xpm({type:h,selectors:[["ng-component"]],decls:1,vars:0,template:function(c,y){1&c&&g._UZ(0,"router-outlet")},directives:[Hr],encapsulation:2}),h})();function Bi(h,d=""){for(let c=0;c<h.length;c++){const y=h[c];_(y,T(d,y))}}function _(h,d){h.children&&Bi(h.children,d)}function T(h,d){return d?h||d.path?h&&!d.path?`${h}/`:!h&&d.path?d.path:`${h}/${d.path}`:"":h}function v(h){const d=h.children&&h.children.map(v),c=d?Vr(it({},h),{children:d}):it({},h);return!c.component&&(d||c.loadChildren)&&c.outlet&&c.outlet!==Re&&(c.component=qs),c}function S(h){return h.outlet||Re}function H(h,d){const c=h.filter(y=>S(y)===d);return c.push(...h.filter(y=>S(y)!==d)),c}const me={matched:!1,consumedSegments:[],lastChild:0,parameters:{},positionalParamSegments:{}};function Se(h,d,c){var z;if(""===d.path)return"full"===d.pathMatch&&(h.hasChildren()||c.length>0)?it({},me):{matched:!0,consumedSegments:[],lastChild:0,parameters:{},positionalParamSegments:{}};const C=(d.matcher||Ot)(c,h,d);if(!C)return it({},me);const A={};jt(C.posParams,(_e,Ye)=>{A[Ye]=_e.path});const k=C.consumed.length>0?it(it({},A),C.consumed[C.consumed.length-1].parameters):A;return{matched:!0,consumedSegments:C.consumed,lastChild:C.consumed.length,parameters:k,positionalParamSegments:null!=(z=C.posParams)?z:{}}}function $e(h,d,c,y,C="corrected"){if(c.length>0&&function(h,d,c){return c.some(y=>rn(h,d,y)&&S(y)!==Re)}(h,c,y)){const k=new Et(d,function(h,d,c,y){const C={};C[Re]=y,y._sourceSegment=h,y._segmentIndexShift=d.length;for(const A of c)if(""===A.path&&S(A)!==Re){const k=new Et([],{});k._sourceSegment=h,k._segmentIndexShift=d.length,C[S(A)]=k}return C}(h,d,y,new Et(c,h.children)));return k._sourceSegment=h,k._segmentIndexShift=d.length,{segmentGroup:k,slicedSegments:[]}}if(0===c.length&&function(h,d,c){return c.some(y=>rn(h,d,y))}(h,c,y)){const k=new Et(h.segments,function(h,d,c,y,C,A){const k={};for(const z of y)if(rn(h,c,z)&&!C[S(z)]){const _e=new Et([],{});_e._sourceSegment=h,_e._segmentIndexShift="legacy"===A?h.segments.length:d.length,k[S(z)]=_e}return it(it({},C),k)}(h,d,c,y,h.children,C));return k._sourceSegment=h,k._segmentIndexShift=d.length,{segmentGroup:k,slicedSegments:c}}const A=new Et(h.segments,h.children);return A._sourceSegment=h,A._segmentIndexShift=d.length,{segmentGroup:A,slicedSegments:c}}function rn(h,d,c){return(!(h.hasChildren()||d.length>0)||"full"!==c.pathMatch)&&""===c.path}function Gt(h,d,c,y){return!!(S(h)===y||y!==Re&&rn(d,c,h))&&("**"===h.path||Se(d,h,c).matched)}function Pn(h,d,c){return 0===d.length&&!h.children[c]}class bn{constructor(d){this.segmentGroup=d||null}}class wr{constructor(d){this.urlTree=d}}function Tr(h){return new G.y(d=>d.error(new bn(h)))}function et(h){return new G.y(d=>d.error(new wr(h)))}function Ui(h){return new G.y(d=>d.error(new Error(`Only absolute redirects can have named outlets. redirectTo: '${h}'`)))}class Jo{constructor(d,c,y,C,A){this.configLoader=c,this.urlSerializer=y,this.urlTree=C,this.config=A,this.allowRedirects=!0,this.ngModule=d.get(g.h0i)}apply(){const d=$e(this.urlTree.root,[],[],this.config).segmentGroup,c=new Et(d.segments,d.children);return this.expandSegmentGroup(this.ngModule,this.config,c,Re).pipe((0,xt.U)(A=>this.createUrlTree(Ei(A),this.urlTree.queryParams,this.urlTree.fragment))).pipe(ot(A=>{if(A instanceof wr)return this.allowRedirects=!1,this.match(A.urlTree);throw A instanceof bn?this.noMatchError(A):A}))}match(d){return this.expandSegmentGroup(this.ngModule,this.config,d.root,Re).pipe((0,xt.U)(C=>this.createUrlTree(Ei(C),d.queryParams,d.fragment))).pipe(ot(C=>{throw C instanceof bn?this.noMatchError(C):C}))}noMatchError(d){return new Error(`Cannot match any routes. URL Segment: '${d.segmentGroup}'`)}createUrlTree(d,c,y){const C=d.segments.length>0?new Et([],{[Re]:d}):d;return new In(C,c,y)}expandSegmentGroup(d,c,y,C){return 0===y.segments.length&&y.hasChildren()?this.expandChildren(d,c,y).pipe((0,xt.U)(A=>new Et([],A))):this.expandSegment(d,y,c,y.segments,C,!0)}expandChildren(d,c,y){const C=[];for(const A of Object.keys(y.children))"primary"===A?C.unshift(A):C.push(A);return(0,J.D)(C).pipe((0,ee.b)(A=>{const k=y.children[A],z=H(c,A);return this.expandSegmentGroup(d,z,k,A).pipe((0,xt.U)(_e=>({segment:_e,outlet:A})))}),he((A,k)=>(A[k.outlet]=k.segment,A),{}),function(h,d){const c=arguments.length>=2;return y=>y.pipe(h?(0,Ze.h)((C,A)=>h(C,A,y)):Cn.y,bt(1),c?Be(d):At(()=>new fe))}())}expandSegment(d,c,y,C,A,k){return(0,J.D)(y).pipe((0,ee.b)(z=>this.expandSegmentAgainstRoute(d,c,y,z,C,A,k).pipe(ot(Ye=>{if(Ye instanceof bn)return(0,V.of)(null);throw Ye}))),ln(z=>!!z),ot((z,_e)=>{if(z instanceof fe||"EmptyError"===z.name){if(Pn(c,C,A))return(0,V.of)(new Et([],{}));throw new bn(c)}throw z}))}expandSegmentAgainstRoute(d,c,y,C,A,k,z){return Gt(C,c,A,k)?void 0===C.redirectTo?this.matchSegmentAgainstRoute(d,c,C,A,k):z&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(d,c,y,C,A,k):Tr(c):Tr(c)}expandSegmentAgainstRouteUsingRedirect(d,c,y,C,A,k){return"**"===C.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(d,y,C,k):this.expandRegularSegmentAgainstRouteUsingRedirect(d,c,y,C,A,k)}expandWildCardWithParamsAgainstRouteUsingRedirect(d,c,y,C){const A=this.applyRedirectCommands([],y.redirectTo,{});return y.redirectTo.startsWith("/")?et(A):this.lineralizeSegments(y,A).pipe((0,le.zg)(k=>{const z=new Et(k,{});return this.expandSegment(d,z,c,k,C,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(d,c,y,C,A,k){const{matched:z,consumedSegments:_e,lastChild:Ye,positionalParamSegments:Kt}=Se(c,C,A);if(!z)return Tr(c);const st=this.applyRedirectCommands(_e,C.redirectTo,Kt);return C.redirectTo.startsWith("/")?et(st):this.lineralizeSegments(C,st).pipe((0,le.zg)(Yt=>this.expandSegment(d,c,y,Yt.concat(A.slice(Ye)),k,!1)))}matchSegmentAgainstRoute(d,c,y,C,A){if("**"===y.path)return y.loadChildren?(y._loadedConfig?(0,V.of)(y._loadedConfig):this.configLoader.load(d.injector,y)).pipe((0,xt.U)(Yt=>(y._loadedConfig=Yt,new Et(C,{})))):(0,V.of)(new Et(C,{}));const{matched:k,consumedSegments:z,lastChild:_e}=Se(c,y,C);if(!k)return Tr(c);const Ye=C.slice(_e);return this.getChildConfig(d,y,C).pipe((0,le.zg)(st=>{const Yt=st.module,Lt=st.routes,{segmentGroup:rs,slicedSegments:Es}=$e(c,z,Ye,Lt),Ar=new Et(rs.segments,rs.children);if(0===Es.length&&Ar.hasChildren())return this.expandChildren(Yt,Lt,Ar).pipe((0,xt.U)(is=>new Et(z,is)));if(0===Lt.length&&0===Es.length)return(0,V.of)(new Et(z,{}));const Gr=S(y)===A;return this.expandSegment(Yt,Ar,Lt,Es,Gr?Re:A,!0).pipe((0,xt.U)(Kr=>new Et(z.concat(Kr.segments),Kr.children)))}))}getChildConfig(d,c,y){return c.children?(0,V.of)(new ps(c.children,d)):c.loadChildren?void 0!==c._loadedConfig?(0,V.of)(c._loadedConfig):this.runCanLoadGuards(d.injector,c,y).pipe((0,le.zg)(C=>{return C?this.configLoader.load(d.injector,c).pipe((0,xt.U)(A=>(c._loadedConfig=A,A))):(h=c,new G.y(d=>d.error(yn(`Cannot load children because the guard of the route "path: '${h.path}'" returned false`))));var h})):(0,V.of)(new ps([],d))}runCanLoadGuards(d,c,y){const C=c.canLoad;if(!C||0===C.length)return(0,V.of)(!0);const A=C.map(k=>{const z=d.get(k);let _e;if((h=z)&&ur(h.canLoad))_e=z.canLoad(c,y);else{if(!ur(z))throw new Error("Invalid CanLoad guard");_e=z(c,y)}var h;return cn(_e)});return(0,V.of)(A).pipe(Rn(),(0,ke.b)(k=>{if(!Lr(k))return;const z=yn(`Redirecting to "${this.urlSerializer.serialize(k)}"`);throw z.url=k,z}),(0,xt.U)(k=>!0===k))}lineralizeSegments(d,c){let y=[],C=c.root;for(;;){if(y=y.concat(C.segments),0===C.numberOfChildren)return(0,V.of)(y);if(C.numberOfChildren>1||!C.children[Re])return Ui(d.redirectTo);C=C.children[Re]}}applyRedirectCommands(d,c,y){return this.applyRedirectCreatreUrlTree(c,this.urlSerializer.parse(c),d,y)}applyRedirectCreatreUrlTree(d,c,y,C){const A=this.createSegmentGroup(d,c.root,y,C);return new In(A,this.createQueryParams(c.queryParams,this.urlTree.queryParams),c.fragment)}createQueryParams(d,c){const y={};return jt(d,(C,A)=>{if("string"==typeof C&&C.startsWith(":")){const z=C.substring(1);y[A]=c[z]}else y[A]=C}),y}createSegmentGroup(d,c,y,C){const A=this.createSegments(d,c.segments,y,C);let k={};return jt(c.children,(z,_e)=>{k[_e]=this.createSegmentGroup(d,z,y,C)}),new Et(A,k)}createSegments(d,c,y,C){return c.map(A=>A.path.startsWith(":")?this.findPosParam(d,A,C):this.findOrReturn(A,y))}findPosParam(d,c,y){const C=y[c.path.substring(1)];if(!C)throw new Error(`Cannot redirect to '${d}'. Cannot find '${c.path}'.`);return C}findOrReturn(d,c){let y=0;for(const C of c){if(C.path===d.path)return c.splice(y),C;y++}return d}}function Ei(h){const d={};for(const y of Object.keys(h.children)){const A=Ei(h.children[y]);(A.segments.length>0||A.hasChildren())&&(d[y]=A)}return function(h){if(1===h.numberOfChildren&&h.children[Re]){const d=h.children[Re];return new Et(h.segments.concat(d.segments),d.children)}return h}(new Et(h.segments,d))}class Me{constructor(d){this.path=d,this.route=this.path[this.path.length-1]}}class Ft{constructor(d,c){this.component=d,this.route=c}}function Xo(h,d,c){const y=h._root;return p(y,d?d._root:null,c,[y.value])}function l(h,d,c){const y=function(h){if(!h)return null;for(let d=h.parent;d;d=d.parent){const c=d.routeConfig;if(c&&c._loadedConfig)return c._loadedConfig}return null}(d);return(y?y.module.injector:c).get(h)}function p(h,d,c,y,C={canDeactivateChecks:[],canActivateChecks:[]}){const A=Dr(d);return h.children.forEach(k=>{(function(h,d,c,y,C={canDeactivateChecks:[],canActivateChecks:[]}){const A=h.value,k=d?d.value:null,z=c?c.getContext(h.value.outlet):null;if(k&&A.routeConfig===k.routeConfig){const _e=function(h,d,c){if("function"==typeof c)return c(h,d);switch(c){case"pathParamsChange":return!Rt(h.url,d.url);case"pathParamsOrQueryParamsChange":return!Rt(h.url,d.url)||!an(h.queryParams,d.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Zt(h,d)||!an(h.queryParams,d.queryParams);default:return!Zt(h,d)}}(k,A,A.routeConfig.runGuardsAndResolvers);_e?C.canActivateChecks.push(new Me(y)):(A.data=k.data,A._resolvedData=k._resolvedData),p(h,d,A.component?z?z.children:null:c,y,C),_e&&z&&z.outlet&&z.outlet.isActivated&&C.canDeactivateChecks.push(new Ft(z.outlet.component,k))}else k&&L(d,z,C),C.canActivateChecks.push(new Me(y)),p(h,null,A.component?z?z.children:null:c,y,C)})(k,A[k.value.outlet],c,y.concat([k.value]),C),delete A[k.value.outlet]}),jt(A,(k,z)=>L(k,c.getContext(z),C)),C}function L(h,d,c){const y=Dr(h),C=h.value;jt(y,(A,k)=>{L(A,C.component?d?d.children.getContext(k):null:d,c)}),c.canDeactivateChecks.push(new Ft(C.component&&d&&d.outlet&&d.outlet.isActivated?d.outlet.component:null,C))}class yt{}function kt(h){return new G.y(d=>d.error(h))}class mn{constructor(d,c,y,C,A,k){this.rootComponentType=d,this.config=c,this.urlTree=y,this.url=C,this.paramsInheritanceStrategy=A,this.relativeLinkResolution=k}recognize(){const d=$e(this.urlTree.root,[],[],this.config.filter(k=>void 0===k.redirectTo),this.relativeLinkResolution).segmentGroup,c=this.processSegmentGroup(this.config,d,Re);if(null===c)return null;const y=new $n([],Object.freeze({}),Object.freeze(it({},this.urlTree.queryParams)),this.urlTree.fragment,{},Re,this.rootComponentType,null,this.urlTree.root,-1,{}),C=new gr(y,c),A=new er(this.url,C);return this.inheritParamsAndData(A._root),A}inheritParamsAndData(d){const c=d.value,y=on(c,this.paramsInheritanceStrategy);c.params=Object.freeze(y.params),c.data=Object.freeze(y.data),d.children.forEach(C=>this.inheritParamsAndData(C))}processSegmentGroup(d,c,y){return 0===c.segments.length&&c.hasChildren()?this.processChildren(d,c):this.processSegment(d,c,c.segments,y)}processChildren(d,c){const y=[];for(const A of Object.keys(c.children)){const k=c.children[A],z=H(d,A),_e=this.processSegmentGroup(z,k,A);if(null===_e)return null;y.push(..._e)}const C=cr(y);return C.sort((d,c)=>d.value.outlet===Re?-1:c.value.outlet===Re?1:d.value.outlet.localeCompare(c.value.outlet)),C}processSegment(d,c,y,C){for(const A of d){const k=this.processSegmentAgainstRoute(A,c,y,C);if(null!==k)return k}return Pn(c,y,C)?[]:null}processSegmentAgainstRoute(d,c,y,C){if(d.redirectTo||!Gt(d,c,y,C))return null;let A,k=[],z=[];if("**"===d.path){const Lt=y.length>0?Ct(y).parameters:{};A=new $n(y,Lt,Object.freeze(it({},this.urlTree.queryParams)),this.urlTree.fragment,Ir(d),S(d),d.component,d,Sr(c),dr(c)+y.length,vi(d))}else{const Lt=Se(c,d,y);if(!Lt.matched)return null;k=Lt.consumedSegments,z=y.slice(Lt.lastChild),A=new $n(k,Lt.parameters,Object.freeze(it({},this.urlTree.queryParams)),this.urlTree.fragment,Ir(d),S(d),d.component,d,Sr(c),dr(c)+k.length,vi(d))}const _e=(h=d).children?h.children:h.loadChildren?h._loadedConfig.routes:[],{segmentGroup:Ye,slicedSegments:Kt}=$e(c,k,z,_e.filter(Lt=>void 0===Lt.redirectTo),this.relativeLinkResolution);var h;if(0===Kt.length&&Ye.hasChildren()){const Lt=this.processChildren(_e,Ye);return null===Lt?null:[new gr(A,Lt)]}if(0===_e.length&&0===Kt.length)return[new gr(A,[])];const st=S(d)===C,Yt=this.processSegment(_e,Ye,Kt,st?Re:C);return null===Yt?null:[new gr(A,Yt)]}}function ms(h){const d=h.value.routeConfig;return d&&""===d.path&&void 0===d.redirectTo}function cr(h){const d=[],c=new Set;for(const y of h){if(!ms(y)){d.push(y);continue}const C=d.find(A=>y.value.routeConfig===A.value.routeConfig);void 0!==C?(C.children.push(...y.children),c.add(C)):d.push(y)}for(const y of c){const C=cr(y.children);d.push(new gr(y.value,C))}return d.filter(y=>!c.has(y))}function Sr(h){let d=h;for(;d._sourceSegment;)d=d._sourceSegment;return d}function dr(h){let d=h,c=d._segmentIndexShift?d._segmentIndexShift:0;for(;d._sourceSegment;)d=d._sourceSegment,c+=d._segmentIndexShift?d._segmentIndexShift:0;return c-1}function Ir(h){return h.data||{}}function vi(h){return h.resolve||{}}function Ge(h){return(0,pe.w)(d=>{const c=h(d);return c?(0,J.D)(c).pipe((0,xt.U)(()=>d)):(0,V.of)(d)})}class Tn extends class{shouldDetach(d){return!1}store(d,c){}shouldAttach(d){return!1}retrieve(d){return null}shouldReuseRoute(d,c){return d.routeConfig===c.routeConfig}}{}const mr=new g.OlP("ROUTES");class Gn{constructor(d,c,y,C){this.injector=d,this.compiler=c,this.onLoadStartListener=y,this.onLoadEndListener=C}load(d,c){if(c._loader$)return c._loader$;this.onLoadStartListener&&this.onLoadStartListener(c);const C=this.loadModuleFactory(c.loadChildren).pipe((0,xt.U)(A=>{this.onLoadEndListener&&this.onLoadEndListener(c);const k=A.create(d);return new ps(Xt(k.injector.get(mr,void 0,g.XFs.Self|g.XFs.Optional)).map(v),k)}),ot(A=>{throw c._loader$=void 0,A}));return c._loader$=new ve.c(C,()=>new Ie.xQ).pipe((0,je.x)()),c._loader$}loadModuleFactory(d){return cn(d()).pipe((0,le.zg)(c=>c instanceof g.YKP?(0,V.of)(c):(0,J.D)(this.compiler.compileModuleAsync(c))))}}class pn{shouldProcessUrl(d){return!0}extract(d){return d}merge(d,c){return d}}function ea(h){throw h}function fr(h,d,c){return d.parse("/")}function $r(h,d){return(0,V.of)(null)}const ys={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},zr={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let jn=(()=>{class h{constructor(c,y,C,A,k,z,_e){this.rootComponentType=c,this.urlSerializer=y,this.rootContexts=C,this.location=A,this.config=_e,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.disposed=!1,this.navigationId=0,this.currentPageId=0,this.isNgZoneEnabled=!1,this.events=new Ie.xQ,this.errorHandler=ea,this.malformedUriErrorHandler=fr,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:$r,afterPreactivation:$r},this.urlHandlingStrategy=new pn,this.routeReuseStrategy=new Tn,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="corrected",this.canceledNavigationResolution="replace",this.ngModule=k.get(g.h0i),this.console=k.get(g.c2e);const st=k.get(g.R0b);this.isNgZoneEnabled=st instanceof g.R0b&&g.R0b.isInAngularZone(),this.resetConfig(_e),this.currentUrlTree=new In(new Et([],{}),{},null),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new Gn(k,z,Yt=>this.triggerEvent(new De(Yt)),Yt=>this.triggerEvent(new Y(Yt))),this.routerState=Fr(this.currentUrlTree,this.rootComponentType),this.transitions=new re.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 c;return null==(c=this.location.getState())?void 0:c.\u0275routerPageId}setupNavigations(c){const y=this.events;return c.pipe((0,Ze.h)(C=>0!==C.id),(0,xt.U)(C=>Vr(it({},C),{extractedUrl:this.urlHandlingStrategy.extract(C.rawUrl)})),(0,pe.w)(C=>{let A=!1,k=!1;return(0,V.of)(C).pipe((0,ke.b)(z=>{this.currentNavigation={id:z.id,initialUrl:z.currentRawUrl,extractedUrl:z.extractedUrl,trigger:z.source,extras:z.extras,previousNavigation:this.lastSuccessfulNavigation?Vr(it({},this.lastSuccessfulNavigation),{previousNavigation:null}):null}}),(0,pe.w)(z=>{const _e=this.browserUrlTree.toString(),Ye=!this.navigated||z.extractedUrl.toString()!==_e||_e!==this.currentUrlTree.toString();if(("reload"===this.onSameUrlNavigation||Ye)&&this.urlHandlingStrategy.shouldProcessUrl(z.rawUrl))return Wr(z.source)&&(this.browserUrlTree=z.extractedUrl),(0,V.of)(z).pipe((0,pe.w)(st=>{const Yt=this.transitions.getValue();return y.next(new gn(st.id,this.serializeUrl(st.extractedUrl),st.source,st.restoredState)),Yt!==this.transitions.getValue()?ue.E:Promise.resolve(st)}),function(h,d,c,y){return(0,pe.w)(C=>function(h,d,c,y,C){return new Jo(h,d,c,y,C).apply()}(h,d,c,C.extractedUrl,y).pipe((0,xt.U)(A=>Vr(it({},C),{urlAfterRedirects:A}))))}(this.ngModule.injector,this.configLoader,this.urlSerializer,this.config),(0,ke.b)(st=>{this.currentNavigation=Vr(it({},this.currentNavigation),{finalUrl:st.urlAfterRedirects})}),function(h,d,c,y,C){return(0,le.zg)(A=>function(h,d,c,y,C="emptyOnly",A="legacy"){try{const k=new mn(h,d,c,y,C,A).recognize();return null===k?kt(new yt):(0,V.of)(k)}catch(k){return kt(k)}}(h,d,A.urlAfterRedirects,c(A.urlAfterRedirects),y,C).pipe((0,xt.U)(k=>Vr(it({},A),{targetSnapshot:k}))))}(this.rootComponentType,this.config,st=>this.serializeUrl(st),this.paramsInheritanceStrategy,this.relativeLinkResolution),(0,ke.b)(st=>{if("eager"===this.urlUpdateStrategy){if(!st.extras.skipLocationChange){const Lt=this.urlHandlingStrategy.merge(st.urlAfterRedirects,st.rawUrl);this.setBrowserUrl(Lt,st)}this.browserUrlTree=st.urlAfterRedirects}const Yt=new Hn(st.id,this.serializeUrl(st.extractedUrl),this.serializeUrl(st.urlAfterRedirects),st.targetSnapshot);y.next(Yt)}));if(Ye&&this.rawUrlTree&&this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree)){const{id:Yt,extractedUrl:Lt,source:rs,restoredState:Es,extras:Ar}=z,Gr=new gn(Yt,this.serializeUrl(Lt),rs,Es);y.next(Gr);const ss=Fr(Lt,this.rootComponentType).snapshot;return(0,V.of)(Vr(it({},z),{targetSnapshot:ss,urlAfterRedirects:Lt,extras:Vr(it({},Ar),{skipLocationChange:!1,replaceUrl:!1})}))}return this.rawUrlTree=z.rawUrl,z.resolve(null),ue.E}),Ge(z=>{const{targetSnapshot:_e,id:Ye,extractedUrl:Kt,rawUrl:st,extras:{skipLocationChange:Yt,replaceUrl:Lt}}=z;return this.hooks.beforePreactivation(_e,{navigationId:Ye,appliedUrlTree:Kt,rawUrlTree:st,skipLocationChange:!!Yt,replaceUrl:!!Lt})}),(0,ke.b)(z=>{const _e=new Fn(z.id,this.serializeUrl(z.extractedUrl),this.serializeUrl(z.urlAfterRedirects),z.targetSnapshot);this.triggerEvent(_e)}),(0,xt.U)(z=>Vr(it({},z),{guards:Xo(z.targetSnapshot,z.currentSnapshot,this.rootContexts)})),function(h,d){return(0,le.zg)(c=>{const{targetSnapshot:y,currentSnapshot:C,guards:{canActivateChecks:A,canDeactivateChecks:k}}=c;return 0===k.length&&0===A.length?(0,V.of)(Vr(it({},c),{guardsResult:!0})):function(h,d,c,y){return(0,J.D)(h).pipe((0,le.zg)(C=>function(h,d,c,y,C){const A=d&&d.routeConfig?d.routeConfig.canDeactivate:null;if(!A||0===A.length)return(0,V.of)(!0);const k=A.map(z=>{const _e=l(z,d,C);let Ye;if(function(h){return h&&ur(h.canDeactivate)}(_e))Ye=cn(_e.canDeactivate(h,d,c,y));else{if(!ur(_e))throw new Error("Invalid CanDeactivate guard");Ye=cn(_e(h,d,c,y))}return Ye.pipe(ln())});return(0,V.of)(k).pipe(Rn())}(C.component,C.route,c,d,y)),ln(C=>!0!==C,!0))}(k,y,C,h).pipe((0,le.zg)(z=>z&&function(h){return"boolean"==typeof h}(z)?function(h,d,c,y){return(0,J.D)(d).pipe((0,ee.b)(C=>(0,K.z)(function(h,d){return null!==h&&d&&d(new Q(h)),(0,V.of)(!0)}(C.route.parent,y),function(h,d){return null!==h&&d&&d(new Pe(h)),(0,V.of)(!0)}(C.route,y),function(h,d,c){const y=d[d.length-1],A=d.slice(0,d.length-1).reverse().map(k=>function(h){const d=h.routeConfig?h.routeConfig.canActivateChild:null;return d&&0!==d.length?{node:h,guards:d}:null}(k)).filter(k=>null!==k).map(k=>(0,B.P)(()=>{const z=k.guards.map(_e=>{const Ye=l(_e,k.node,c);let Kt;if(function(h){return h&&ur(h.canActivateChild)}(Ye))Kt=cn(Ye.canActivateChild(y,h));else{if(!ur(Ye))throw new Error("Invalid CanActivateChild guard");Kt=cn(Ye(y,h))}return Kt.pipe(ln())});return(0,V.of)(z).pipe(Rn())}));return(0,V.of)(A).pipe(Rn())}(h,C.path,c),function(h,d,c){const y=d.routeConfig?d.routeConfig.canActivate:null;if(!y||0===y.length)return(0,V.of)(!0);const C=y.map(A=>(0,B.P)(()=>{const k=l(A,d,c);let z;if(function(h){return h&&ur(h.canActivate)}(k))z=cn(k.canActivate(d,h));else{if(!ur(k))throw new Error("Invalid CanActivate guard");z=cn(k(d,h))}return z.pipe(ln())}));return(0,V.of)(C).pipe(Rn())}(h,C.route,c))),ln(C=>!0!==C,!0))}(y,A,h,d):(0,V.of)(z)),(0,xt.U)(z=>Vr(it({},c),{guardsResult:z})))})}(this.ngModule.injector,z=>this.triggerEvent(z)),(0,ke.b)(z=>{if(Lr(z.guardsResult)){const Ye=yn(`Redirecting to "${this.serializeUrl(z.guardsResult)}"`);throw Ye.url=z.guardsResult,Ye}const _e=new Qt(z.id,this.serializeUrl(z.extractedUrl),this.serializeUrl(z.urlAfterRedirects),z.targetSnapshot,!!z.guardsResult);this.triggerEvent(_e)}),(0,Ze.h)(z=>!!z.guardsResult||(this.restoreHistory(z),this.cancelNavigationTransition(z,""),!1)),Ge(z=>{if(z.guards.canActivateChecks.length)return(0,V.of)(z).pipe((0,ke.b)(_e=>{const Ye=new Or(_e.id,this.serializeUrl(_e.extractedUrl),this.serializeUrl(_e.urlAfterRedirects),_e.targetSnapshot);this.triggerEvent(Ye)}),(0,pe.w)(_e=>{let Ye=!1;return(0,V.of)(_e).pipe(function(h,d){return(0,le.zg)(c=>{const{targetSnapshot:y,guards:{canActivateChecks:C}}=c;if(!C.length)return(0,V.of)(c);let A=0;return(0,J.D)(C).pipe((0,ee.b)(k=>function(h,d,c,y){return function(h,d,c,y){const C=Object.keys(h);if(0===C.length)return(0,V.of)({});const A={};return(0,J.D)(C).pipe((0,le.zg)(k=>function(h,d,c,y){const C=l(h,d,y);return cn(C.resolve?C.resolve(d,c):C(d,c))}(h[k],d,c,y).pipe((0,ke.b)(z=>{A[k]=z}))),bt(1),(0,le.zg)(()=>Object.keys(A).length===C.length?(0,V.of)(A):ue.E))}(h._resolve,h,d,y).pipe((0,xt.U)(A=>(h._resolvedData=A,h.data=it(it({},h.data),on(h,c).resolve),null)))}(k.route,y,h,d)),(0,ke.b)(()=>A++),bt(1),(0,le.zg)(k=>A===C.length?(0,V.of)(c):ue.E))})}(this.paramsInheritanceStrategy,this.ngModule.injector),(0,ke.b)({next:()=>Ye=!0,complete:()=>{Ye||(this.restoreHistory(_e),this.cancelNavigationTransition(_e,"At least one route resolver didn't emit any value."))}}))}),(0,ke.b)(_e=>{const Ye=new Ke(_e.id,this.serializeUrl(_e.extractedUrl),this.serializeUrl(_e.urlAfterRedirects),_e.targetSnapshot);this.triggerEvent(Ye)}))}),Ge(z=>{const{targetSnapshot:_e,id:Ye,extractedUrl:Kt,rawUrl:st,extras:{skipLocationChange:Yt,replaceUrl:Lt}}=z;return this.hooks.afterPreactivation(_e,{navigationId:Ye,appliedUrlTree:Kt,rawUrlTree:st,skipLocationChange:!!Yt,replaceUrl:!!Lt})}),(0,xt.U)(z=>{const _e=function(h,d,c){const y=fs(h,d._root,c?c._root:void 0);return new Zr(y,d)}(this.routeReuseStrategy,z.targetSnapshot,z.currentRouterState);return Vr(it({},z),{targetRouterState:_e})}),(0,ke.b)(z=>{this.currentUrlTree=z.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(z.urlAfterRedirects,z.rawUrl),this.routerState=z.targetRouterState,"deferred"===this.urlUpdateStrategy&&(z.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,z),this.browserUrlTree=z.urlAfterRedirects)}),((h,d,c)=>(0,xt.U)(y=>(new br(d,y.targetRouterState,y.currentRouterState,c).activate(h),y)))(this.rootContexts,this.routeReuseStrategy,z=>this.triggerEvent(z)),(0,ke.b)({next(){A=!0},complete(){A=!0}}),(0,un.x)(()=>{var z;A||k||this.cancelNavigationTransition(C,`Navigation ID ${C.id} is not equal to the current navigation id ${this.navigationId}`),(null==(z=this.currentNavigation)?void 0:z.id)===C.id&&(this.currentNavigation=null)}),ot(z=>{if(k=!0,function(h){return h&&h[$t]}(z)){const _e=Lr(z.url);_e||(this.navigated=!0,this.restoreHistory(C,!0));const Ye=new zn(C.id,this.serializeUrl(C.extractedUrl),z.message);y.next(Ye),_e?setTimeout(()=>{const Kt=this.urlHandlingStrategy.merge(z.url,this.rawUrlTree),st={skipLocationChange:C.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||Wr(C.source)};this.scheduleNavigation(Kt,"imperative",null,st,{resolve:C.resolve,reject:C.reject,promise:C.promise})},0):C.resolve(!1)}else{this.restoreHistory(C,!0);const _e=new or(C.id,this.serializeUrl(C.extractedUrl),z);y.next(_e);try{C.resolve(this.errorHandler(z))}catch(Ye){C.reject(Ye)}}return ue.E}))}))}resetRootComponentType(c){this.rootComponentType=c,this.routerState.root.component=this.rootComponentType}setTransition(c){this.transitions.next(it(it({},this.transitions.value),c))}initialNavigation(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(c=>{const y="popstate"===c.type?"popstate":"hashchange";"popstate"===y&&setTimeout(()=>{var z;const C={replaceUrl:!0},A=(null==(z=c.state)?void 0:z.navigationId)?c.state:null;if(A){const _e=it({},A);delete _e.navigationId,delete _e.\u0275routerPageId,0!==Object.keys(_e).length&&(C.state=_e)}const k=this.parseUrl(c.url);this.scheduleNavigation(k,y,A,C)},0)}))}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.currentNavigation}triggerEvent(c){this.events.next(c)}resetConfig(c){Bi(c),this.config=c.map(v),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(c,y={}){const{relativeTo:C,queryParams:A,fragment:k,queryParamsHandling:z,preserveFragment:_e}=y,Ye=C||this.routerState.root,Kt=_e?this.currentUrlTree.fragment:k;let st=null;switch(z){case"merge":st=it(it({},this.currentUrlTree.queryParams),A);break;case"preserve":st=this.currentUrlTree.queryParams;break;default:st=A||null}return null!==st&&(st=this.removeEmptyProps(st)),function(h,d,c,y,C){if(0===c.length)return jr(d.root,d.root,d,y,C);const A=function(h){if("string"==typeof h[0]&&1===h.length&&"/"===h[0])return new Ni(!0,0,h);let d=0,c=!1;const y=h.reduce((C,A,k)=>{if("object"==typeof A&&null!=A){if(A.outlets){const z={};return jt(A.outlets,(_e,Ye)=>{z[Ye]="string"==typeof _e?_e.split("/"):_e}),[...C,{outlets:z}]}if(A.segmentPath)return[...C,A.segmentPath]}return"string"!=typeof A?[...C,A]:0===k?(A.split("/").forEach((z,_e)=>{0==_e&&"."===z||(0==_e&&""===z?c=!0:".."===z?d++:""!=z&&C.push(z))}),C):[...C,A]},[]);return new Ni(c,d,y)}(c);if(A.toRoot())return jr(d.root,new Et([],{}),d,y,C);const k=function(h,d,c){if(h.isAbsolute)return new ci(d.root,!0,0);if(-1===c.snapshot._lastPathIndex){const A=c.snapshot._urlSegment;return new ci(A,A===d.root,0)}const y=li(h.commands[0])?0:1;return function(h,d,c){let y=h,C=d,A=c;for(;A>C;){if(A-=C,y=y.parent,!y)throw new Error("Invalid number of '../'");C=y.segments.length}return new ci(y,!1,C-A)}(c.snapshot._urlSegment,c.snapshot._lastPathIndex+y,h.numberOfDoubleDots)}(A,d,h),z=k.processChildren?Xr(k.segmentGroup,k.index,A.commands):ki(k.segmentGroup,k.index,A.commands);return jr(k.segmentGroup,z,d,y,C)}(Ye,this.currentUrlTree,c,st,null!=Kt?Kt:null)}navigateByUrl(c,y={skipLocationChange:!1}){const C=Lr(c)?c:this.parseUrl(c),A=this.urlHandlingStrategy.merge(C,this.rawUrlTree);return this.scheduleNavigation(A,"imperative",null,y)}navigate(c,y={skipLocationChange:!1}){return function(h){for(let d=0;d<h.length;d++){const c=h[d];if(null==c)throw new Error(`The requested path contains ${c} segment at index ${d}`)}}(c),this.navigateByUrl(this.createUrlTree(c,y),y)}serializeUrl(c){return this.urlSerializer.serialize(c)}parseUrl(c){let y;try{y=this.urlSerializer.parse(c)}catch(C){y=this.malformedUriErrorHandler(C,this.urlSerializer,c)}return y}isActive(c,y){let C;if(C=!0===y?it({},ys):!1===y?it({},zr):y,Lr(c))return xr(this.currentUrlTree,c,C);const A=this.parseUrl(c);return xr(this.currentUrlTree,A,C)}removeEmptyProps(c){return Object.keys(c).reduce((y,C)=>{const A=c[C];return null!=A&&(y[C]=A),y},{})}processNavigations(){this.navigations.subscribe(c=>{this.navigated=!0,this.lastSuccessfulId=c.id,this.currentPageId=c.targetPageId,this.events.next(new nn(c.id,this.serializeUrl(c.extractedUrl),this.serializeUrl(this.currentUrlTree))),this.lastSuccessfulNavigation=this.currentNavigation,c.resolve(!0)},c=>{this.console.warn(`Unhandled Navigation Error: ${c}`)})}scheduleNavigation(c,y,C,A,k){var Gr,ss,Kr;if(this.disposed)return Promise.resolve(!1);const z=this.transitions.value,_e=Wr(y)&&z&&!Wr(z.source),Ye=z.rawUrl.toString()===c.toString(),Kt=z.id===(null==(Gr=this.currentNavigation)?void 0:Gr.id);if(_e&&Ye&&Kt)return Promise.resolve(!0);let Yt,Lt,rs;k?(Yt=k.resolve,Lt=k.reject,rs=k.promise):rs=new Promise((is,oa)=>{Yt=is,Lt=oa});const Es=++this.navigationId;let Ar;return"computed"===this.canceledNavigationResolution?(0===this.currentPageId&&(C=this.location.getState()),Ar=C&&C.\u0275routerPageId?C.\u0275routerPageId:A.replaceUrl||A.skipLocationChange?null!=(ss=this.browserPageId)?ss:0:(null!=(Kr=this.browserPageId)?Kr:0)+1):Ar=0,this.setTransition({id:Es,targetPageId:Ar,source:y,restoredState:C,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:c,extras:A,resolve:Yt,reject:Lt,promise:rs,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),rs.catch(is=>Promise.reject(is))}setBrowserUrl(c,y){const C=this.urlSerializer.serialize(c),A=it(it({},y.extras.state),this.generateNgRouterState(y.id,y.targetPageId));this.location.isCurrentPathEqualTo(C)||y.extras.replaceUrl?this.location.replaceState(C,"",A):this.location.go(C,"",A)}restoreHistory(c,y=!1){var C,A;if("computed"===this.canceledNavigationResolution){const k=this.currentPageId-c.targetPageId;"popstate"!==c.source&&"eager"!==this.urlUpdateStrategy&&this.currentUrlTree!==(null==(C=this.currentNavigation)?void 0:C.finalUrl)||0===k?this.currentUrlTree===(null==(A=this.currentNavigation)?void 0:A.finalUrl)&&0===k&&(this.resetState(c),this.browserUrlTree=c.currentUrlTree,this.resetUrlToCurrentUrlTree()):this.location.historyGo(k)}else"replace"===this.canceledNavigationResolution&&(y&&this.resetState(c),this.resetUrlToCurrentUrlTree())}resetState(c){this.routerState=c.currentRouterState,this.currentUrlTree=c.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,c.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}cancelNavigationTransition(c,y){const C=new zn(c.id,this.serializeUrl(c.extractedUrl),y);this.triggerEvent(C),c.resolve(!1)}generateNgRouterState(c,y){return"computed"===this.canceledNavigationResolution?{navigationId:c,\u0275routerPageId:y}:{navigationId:c}}}return h.\u0275fac=function(c){g.$Z()},h.\u0275prov=g.Yz7({token:h,factory:h.\u0275fac}),h})();function Wr(h){return"imperative"!==h}let Fs=(()=>{class h{constructor(c,y,C,A,k){this.router=c,this.route=y,this.tabIndexAttribute=C,this.renderer=A,this.el=k,this.commands=null,this.onChanges=new Ie.xQ,this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(c){if(null!=this.tabIndexAttribute)return;const y=this.renderer,C=this.el.nativeElement;null!==c?y.setAttribute(C,"tabindex",c):y.removeAttribute(C,"tabindex")}ngOnChanges(c){this.onChanges.next(this)}set routerLink(c){null!=c?(this.commands=Array.isArray(c)?c:[c],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(){if(null===this.urlTree)return!0;const c={skipLocationChange:Ci(this.skipLocationChange),replaceUrl:Ci(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,c),!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:Ci(this.preserveFragment)})}}return h.\u0275fac=function(c){return new(c||h)(g.Y36(jn),g.Y36(Mn),g.$8M("tabindex"),g.Y36(g.Qsj),g.Y36(g.SBq))},h.\u0275dir=g.lG2({type:h,selectors:[["","routerLink","",5,"a",5,"area"]],hostBindings:function(c,y){1&c&&g.NdJ("click",function(){return y.onClick()})},inputs:{queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state",relativeTo:"relativeTo",routerLink:"routerLink"},features:[g.TTD]}),h})(),io=(()=>{class h{constructor(c,y,C){this.router=c,this.route=y,this.locationStrategy=C,this.commands=null,this.href=null,this.onChanges=new Ie.xQ,this.subscription=c.events.subscribe(A=>{A instanceof nn&&this.updateTargetUrlAndHref()})}set routerLink(c){this.commands=null!=c?Array.isArray(c)?c:[c]:null}ngOnChanges(c){this.updateTargetUrlAndHref(),this.onChanges.next(this)}ngOnDestroy(){this.subscription.unsubscribe()}onClick(c,y,C,A,k){if(0!==c||y||C||A||k||"string"==typeof this.target&&"_self"!=this.target||null===this.urlTree)return!0;const z={skipLocationChange:Ci(this.skipLocationChange),replaceUrl:Ci(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,z),!1}updateTargetUrlAndHref(){this.href=null!==this.urlTree?this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(this.urlTree)):null}get urlTree(){return null===this.commands?null:this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:Ci(this.preserveFragment)})}}return h.\u0275fac=function(c){return new(c||h)(g.Y36(jn),g.Y36(Mn),g.Y36(E.S$))},h.\u0275dir=g.lG2({type:h,selectors:[["a","routerLink",""],["area","routerLink",""]],hostVars:2,hostBindings:function(c,y){1&c&&g.NdJ("click",function(A){return y.onClick(A.button,A.ctrlKey,A.shiftKey,A.altKey,A.metaKey)}),2&c&&g.uIk("target",y.target)("href",y.href,g.LSH)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state",relativeTo:"relativeTo",routerLink:"routerLink"},features:[g.TTD]}),h})();function Ci(h){return""===h||!!h}let Di=(()=>{class h{constructor(c,y,C,A,k,z){this.router=c,this.element=y,this.renderer=C,this.cdr=A,this.link=k,this.linkWithHref=z,this.classes=[],this.isActive=!1,this.routerLinkActiveOptions={exact:!1},this.isActiveChange=new g.vpe,this.routerEventsSubscription=c.events.subscribe(_e=>{_e instanceof nn&&this.update()})}ngAfterContentInit(){(0,V.of)(this.links.changes,this.linksWithHrefs.changes,(0,V.of)(null)).pipe((0,tn.J)()).subscribe(c=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){var y;null==(y=this.linkInputChangesSubscription)||y.unsubscribe();const c=[...this.links.toArray(),...this.linksWithHrefs.toArray(),this.link,this.linkWithHref].filter(C=>!!C).map(C=>C.onChanges);this.linkInputChangesSubscription=(0,J.D)(c).pipe((0,tn.J)()).subscribe(C=>{this.isActive!==this.isLinkActive(this.router)(C)&&this.update()})}set routerLinkActive(c){const y=Array.isArray(c)?c:c.split(" ");this.classes=y.filter(C=>!!C)}ngOnChanges(c){this.update()}ngOnDestroy(){var c;this.routerEventsSubscription.unsubscribe(),null==(c=this.linkInputChangesSubscription)||c.unsubscribe()}update(){!this.links||!this.linksWithHrefs||!this.router.navigated||Promise.resolve().then(()=>{const c=this.hasActiveLinks();this.isActive!==c&&(this.isActive=c,this.cdr.markForCheck(),this.classes.forEach(y=>{c?this.renderer.addClass(this.element.nativeElement,y):this.renderer.removeClass(this.element.nativeElement,y)}),this.isActiveChange.emit(c))})}isLinkActive(c){const y=function(h){return!!h.paths}(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return C=>!!C.urlTree&&c.isActive(C.urlTree,y)}hasActiveLinks(){const c=this.isLinkActive(this.router);return this.link&&c(this.link)||this.linkWithHref&&c(this.linkWithHref)||this.links.some(c)||this.linksWithHrefs.some(c)}}return h.\u0275fac=function(c){return new(c||h)(g.Y36(jn),g.Y36(g.SBq),g.Y36(g.Qsj),g.Y36(g.sBO),g.Y36(Fs,8),g.Y36(io,8))},h.\u0275dir=g.lG2({type:h,selectors:[["","routerLinkActive",""]],contentQueries:function(c,y,C){if(1&c&&(g.Suo(C,Fs,5),g.Suo(C,io,5)),2&c){let A;g.iGM(A=g.CRH())&&(y.links=A),g.iGM(A=g.CRH())&&(y.linksWithHrefs=A)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],features:[g.TTD]}),h})();class Ja{}class ru{preload(d,c){return(0,V.of)(null)}}let su=(()=>{class h{constructor(c,y,C,A){this.router=c,this.injector=C,this.preloadingStrategy=A,this.loader=new Gn(C,y,_e=>c.triggerEvent(new De(_e)),_e=>c.triggerEvent(new Y(_e)))}setUpPreloading(){this.subscription=this.router.events.pipe((0,Ze.h)(c=>c instanceof nn),(0,ee.b)(()=>this.preload())).subscribe(()=>{})}preload(){const c=this.injector.get(g.h0i);return this.processRoutes(c,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(c,y){const C=[];for(const A of y)if(A.loadChildren&&!A.canLoad&&A._loadedConfig){const k=A._loadedConfig;C.push(this.processRoutes(k.module,k.routes))}else A.loadChildren&&!A.canLoad?C.push(this.preloadConfig(c,A)):A.children&&C.push(this.processRoutes(c,A.children));return(0,J.D)(C).pipe((0,tn.J)(),(0,xt.U)(A=>{}))}preloadConfig(c,y){return this.preloadingStrategy.preload(y,()=>(y._loadedConfig?(0,V.of)(y._loadedConfig):this.loader.load(c.injector,y)).pipe((0,le.zg)(A=>(y._loadedConfig=A,this.processRoutes(A.module,A.routes)))))}}return h.\u0275fac=function(c){return new(c||h)(g.LFG(jn),g.LFG(g.Sil),g.LFG(g.zs3),g.LFG(Ja))},h.\u0275prov=g.Yz7({token:h,factory:h.\u0275fac}),h})(),bi=(()=>{class h{constructor(c,y,C={}){this.router=c,this.viewportScroller=y,this.options=C,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},C.scrollPositionRestoration=C.scrollPositionRestoration||"disabled",C.anchorScrolling=C.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(c=>{c instanceof gn?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=c.navigationTrigger,this.restoredId=c.restoredState?c.restoredState.navigationId:0):c instanceof nn&&(this.lastId=c.id,this.scheduleScrollEvent(c,this.router.parseUrl(c.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.router.events.subscribe(c=>{c instanceof Ne&&(c.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(c.position):c.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(c.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(c,y){this.router.triggerEvent(new Ne(c,"popstate"===this.lastSource?this.store[this.restoredId]:null,y))}ngOnDestroy(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}return h.\u0275fac=function(c){g.$Z()},h.\u0275prov=g.Yz7({token:h,factory:h.\u0275fac}),h})();const _s=new g.OlP("ROUTER_CONFIGURATION"),ji=new g.OlP("ROUTER_FORROOT_GUARD"),Xa=[E.Ye,{provide:An,useClass:_n},{provide:jn,useFactory:function(h,d,c,y,C,A,k={},z,_e){const Ye=new jn(null,h,d,c,y,C,Xt(A));return z&&(Ye.urlHandlingStrategy=z),_e&&(Ye.routeReuseStrategy=_e),function(h,d){h.errorHandler&&(d.errorHandler=h.errorHandler),h.malformedUriErrorHandler&&(d.malformedUriErrorHandler=h.malformedUriErrorHandler),h.onSameUrlNavigation&&(d.onSameUrlNavigation=h.onSameUrlNavigation),h.paramsInheritanceStrategy&&(d.paramsInheritanceStrategy=h.paramsInheritanceStrategy),h.relativeLinkResolution&&(d.relativeLinkResolution=h.relativeLinkResolution),h.urlUpdateStrategy&&(d.urlUpdateStrategy=h.urlUpdateStrategy),h.canceledNavigationResolution&&(d.canceledNavigationResolution=h.canceledNavigationResolution)}(k,Ye),k.enableTracing&&Ye.events.subscribe(Kt=>{var st,Yt;null==(st=console.group)||st.call(console,`Router Event: ${Kt.constructor.name}`),console.log(Kt.toString()),console.log(Kt),null==(Yt=console.groupEnd)||Yt.call(console)}),Ye},deps:[An,es,E.Ye,g.zs3,g.Sil,mr,_s,[class{},new g.FiY],[class{},new g.FiY]]},es,{provide:Mn,useFactory:function(h){return h.routerState.root},deps:[jn]},su,ru,class{preload(d,c){return c().pipe(ot(()=>(0,V.of)(null)))}},{provide:_s,useValue:{enableTracing:!1}}];function el(){return new g.PXZ("Router",jn)}let wi=(()=>{class h{constructor(c,y){}static forRoot(c,y){return{ngModule:h,providers:[Xa,Hi(c),{provide:ji,useFactory:na,deps:[[jn,new g.FiY,new g.tp0]]},{provide:_s,useValue:y||{}},{provide:E.S$,useFactory:Ti,deps:[E.lw,[new g.tBr(E.mr),new g.FiY],_s]},{provide:bi,useFactory:ou,deps:[jn,E.EM,_s]},{provide:Ja,useExisting:y&&y.preloadingStrategy?y.preloadingStrategy:ru},{provide:g.PXZ,multi:!0,useFactory:el},[ra,{provide:g.ip1,multi:!0,useFactory:au,deps:[ra]},{provide:oo,useFactory:$i,deps:[ra]},{provide:g.tb,multi:!0,useExisting:oo}]]}}static forChild(c){return{ngModule:h,providers:[Hi(c)]}}}return h.\u0275fac=function(c){return new(c||h)(g.LFG(ji,8),g.LFG(jn,8))},h.\u0275mod=g.oAB({type:h}),h.\u0275inj=g.cJS({}),h})();function ou(h,d,c){return c.scrollOffset&&d.setOffset(c.scrollOffset),new bi(h,d,c)}function Ti(h,d,c={}){return c.useHash?new E.Do(h,d):new E.b0(h,d)}function na(h){return"guarded"}function Hi(h){return[{provide:g.deG,multi:!0,useValue:h},{provide:mr,multi:!0,useValue:h}]}let ra=(()=>{class h{constructor(c){this.injector=c,this.initNavigation=!1,this.destroyed=!1,this.resultOfPreactivationDone=new Ie.xQ}appInitializer(){return this.injector.get(E.V_,Promise.resolve(null)).then(()=>{if(this.destroyed)return Promise.resolve(!0);let y=null;const C=new Promise(z=>y=z),A=this.injector.get(jn),k=this.injector.get(_s);return"disabled"===k.initialNavigation?(A.setUpLocationChangeListener(),y(!0)):"enabled"===k.initialNavigation||"enabledBlocking"===k.initialNavigation?(A.hooks.afterPreactivation=()=>this.initNavigation?(0,V.of)(null):(this.initNavigation=!0,y(!0),this.resultOfPreactivationDone),A.initialNavigation()):y(!0),C})}bootstrapListener(c){const y=this.injector.get(_s),C=this.injector.get(su),A=this.injector.get(bi),k=this.injector.get(jn),z=this.injector.get(g.z2F);c===z.components[0]&&(("enabledNonBlocking"===y.initialNavigation||void 0===y.initialNavigation)&&k.initialNavigation(),C.setUpPreloading(),A.init(),k.resetRootComponentType(z.componentTypes[0]),this.resultOfPreactivationDone.next(null),this.resultOfPreactivationDone.complete())}ngOnDestroy(){this.destroyed=!0}}return h.\u0275fac=function(c){return new(c||h)(g.LFG(g.zs3))},h.\u0275prov=g.Yz7({token:h,factory:h.\u0275fac}),h})();function au(h){return h.appInitializer.bind(h)}function $i(h){return h.bootstrapListener.bind(h)}const oo=new g.OlP("Router Initializer")}},He=>{He(He.s=1358)}]);
|