zohodealpos 2.0.1 → 2.0.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/41.8248c081cfc0f157.js +1 -0
- package/zoho/{972.b7a4e912b1838726.js → 972.b1cbdf4ad460a74b.js} +1 -1
- package/zoho/index.html +2 -2
- package/zoho/main.742503077513268a.js +1 -0
- package/zoho/ngsw.json +9 -9
- package/zoho/runtime.5740332ba3da7328.js +1 -0
- package/zoho/181.e7b03ad3a23de65e.js +0 -1
- package/zoho/main.f96d6ad40823c5b2.js +0 -1
- package/zoho/runtime.06ae882e46deecb7.js +0 -1
|
@@ -1 +0,0 @@
|
|
|
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_=(je,ce,I)=>ce in je?ZS(je,ce,{enumerable:!0,configurable:!0,writable:!0,value:I}):je[ce]=I,lt=(je,ce)=>{for(var I in ce||(ce={}))eI.call(ce,I)&&p_(je,I,ce[I]);if(h_)for(var I of h_(ce))tI.call(ce,I)&&p_(je,I,ce[I]);return je},Nr=(je,ce)=>JS(je,XS(ce));(self.webpackChunkzoho=self.webpackChunkzoho||[]).push([[179],{8452:(je,ce,I)=>{I.d(ce,{Rh:()=>On,_W:()=>$e});var v=I(6079),g=I(9814),ie=I(3405),de=I(5427),K=I(6019);const L=["toast-component",""];function Z(pe,be){if(1&pe){const ee=v.EpF();v.TgZ(0,"button",5),v.NdJ("click",function(){return v.CHM(ee),v.oxw().remove()}),v.TgZ(1,"span",6),v._uU(2,"\xd7"),v.qZA(),v.qZA()}}function ne(pe,be){if(1&pe&&(v.ynx(0),v._uU(1),v.BQk()),2&pe){const ee=v.oxw(2);v.xp6(1),v.hij("[",ee.duplicatesCount+1,"]")}}function j(pe,be){if(1&pe&&(v.TgZ(0,"div"),v._uU(1),v.YNc(2,ne,2,1,"ng-container",4),v.qZA()),2&pe){const ee=v.oxw();v.Tol(ee.options.titleClass),v.uIk("aria-label",ee.title),v.xp6(1),v.hij(" ",ee.title," "),v.xp6(1),v.Q6J("ngIf",ee.duplicatesCount)}}function W(pe,be){if(1&pe&&v._UZ(0,"div",7),2&pe){const ee=v.oxw();v.Tol(ee.options.messageClass),v.Q6J("innerHTML",ee.message,v.oJD)}}function F(pe,be){if(1&pe&&(v.TgZ(0,"div",8),v._uU(1),v.qZA()),2&pe){const ee=v.oxw();v.Tol(ee.options.messageClass),v.uIk("aria-label",ee.message),v.xp6(1),v.hij(" ",ee.message," ")}}function ue(pe,be){if(1&pe&&(v.TgZ(0,"div"),v._UZ(1,"div",9),v.qZA()),2&pe){const ee=v.oxw();v.xp6(1),v.Udp("width",ee.width+"%")}}function ve(pe,be){if(1&pe){const ee=v.EpF();v.TgZ(0,"button",5),v.NdJ("click",function(){return v.CHM(ee),v.oxw().remove()}),v.TgZ(1,"span",6),v._uU(2,"\xd7"),v.qZA(),v.qZA()}}function Ie(pe,be){if(1&pe&&(v.ynx(0),v._uU(1),v.BQk()),2&pe){const ee=v.oxw(2);v.xp6(1),v.hij("[",ee.duplicatesCount+1,"]")}}function te(pe,be){if(1&pe&&(v.TgZ(0,"div"),v._uU(1),v.YNc(2,Ie,2,1,"ng-container",4),v.qZA()),2&pe){const ee=v.oxw();v.Tol(ee.options.titleClass),v.uIk("aria-label",ee.title),v.xp6(1),v.hij(" ",ee.title," "),v.xp6(1),v.Q6J("ngIf",ee.duplicatesCount)}}function he(pe,be){if(1&pe&&v._UZ(0,"div",7),2&pe){const ee=v.oxw();v.Tol(ee.options.messageClass),v.Q6J("innerHTML",ee.message,v.oJD)}}function Se(pe,be){if(1&pe&&(v.TgZ(0,"div",8),v._uU(1),v.qZA()),2&pe){const ee=v.oxw();v.Tol(ee.options.messageClass),v.uIk("aria-label",ee.message),v.xp6(1),v.hij(" ",ee.message," ")}}function Oe(pe,be){if(1&pe&&(v.TgZ(0,"div"),v._UZ(1,"div",9),v.qZA()),2&pe){const ee=v.oxw();v.xp6(1),v.Udp("width",ee.width+"%")}}class ae{constructor(be,ee,oe,Le,We,fn){this.toastId=be,this.config=ee,this.message=oe,this.title=Le,this.toastType=We,this.toastRef=fn,this._onTap=new ie.xQ,this._onAction=new ie.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(be){this._onAction.next(be)}onAction(){return this._onAction.asObservable()}}const ge={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"},Ye=new v.OlP("ToastConfig");class bt{constructor(be,ee){this.component=be,this.injector=ee}attach(be,ee){return this._attachedHost=be,be.attach(this,ee)}detach(){const be=this._attachedHost;if(be)return this._attachedHost=void 0,be.detach()}get isAttached(){return null!=this._attachedHost}setAttachedHost(be){this._attachedHost=be}}class ft extends class{attach(be,ee){return this._attachedPortal=be,this.attachComponentPortal(be,ee)}detach(){this._attachedPortal&&this._attachedPortal.setAttachedHost(),this._attachedPortal=void 0,this._disposeFn&&(this._disposeFn(),this._disposeFn=void 0)}setDisposeFn(be){this._disposeFn=be}}{constructor(be,ee,oe){super(),this._hostDomElement=be,this._componentFactoryResolver=ee,this._appRef=oe}attachComponentPortal(be,ee){const oe=this._componentFactoryResolver.resolveComponentFactory(be.component);let Le;return Le=oe.create(be.injector),this._appRef.attachView(Le.hostView),this.setDisposeFn(()=>{this._appRef.detachView(Le.hostView),Le.destroy()}),ee?this._hostDomElement.insertBefore(this._getComponentRootNode(Le),this._hostDomElement.firstChild):this._hostDomElement.appendChild(this._getComponentRootNode(Le)),Le}_getComponentRootNode(be){return be.hostView.rootNodes[0]}}let ht=(()=>{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)(v.LFG(K.K0))},pe.\u0275prov=v.Yz7({factory:function(){return new pe(v.LFG(K.K0))},token:pe,providedIn:"root"}),pe})();class Pt{constructor(be){this._portalHost=be}attach(be,ee=!0){return this._portalHost.attach(be,ee)}detach(){return this._portalHost.detach()}}let Rt=(()=>{class pe{constructor(ee,oe,Le,We){this._overlayContainer=ee,this._componentFactoryResolver=oe,this._appRef=Le,this._document=We,this._paneElements=new Map}create(ee,oe){return this._createOverlayRef(this.getPaneElement(ee,oe))}getPaneElement(ee="",oe){return this._paneElements.get(oe)||this._paneElements.set(oe,{}),this._paneElements.get(oe)[ee]||(this._paneElements.get(oe)[ee]=this._createPaneElement(ee,oe)),this._paneElements.get(oe)[ee]}_createPaneElement(ee,oe){const Le=this._document.createElement("div");return Le.id="toast-container",Le.classList.add(ee),Le.classList.add("toast-container"),oe?oe.getContainerElement().appendChild(Le):this._overlayContainer.getContainerElement().appendChild(Le),Le}_createPortalHost(ee){return new ft(ee,this._componentFactoryResolver,this._appRef)}_createOverlayRef(ee){return new Pt(this._createPortalHost(ee))}}return pe.\u0275fac=function(ee){return new(ee||pe)(v.LFG(ht),v.LFG(v._Vd),v.LFG(v.z2F),v.LFG(K.K0))},pe.\u0275prov=v.Yz7({factory:function(){return new pe(v.LFG(ht),v.LFG(v._Vd),v.LFG(v.z2F),v.LFG(K.K0))},token:pe,providedIn:"root"}),pe})();class ut{constructor(be){this._overlayRef=be,this.duplicatesCount=0,this._afterClosed=new ie.xQ,this._activate=new ie.xQ,this._manualClose=new ie.xQ,this._resetTimeout=new ie.xQ,this._countDuplicate=new ie.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(be,ee){be&&this._resetTimeout.next(),ee&&this._countDuplicate.next(++this.duplicatesCount)}}class yt{constructor(be,ee){this._toastPackage=be,this._parentInjector=ee}get(be,ee,oe){return be===ae?this._toastPackage:this._parentInjector.get(be,ee,oe)}}let $e=(()=>{class pe{constructor(ee,oe,Le,We,fn){this.overlay=oe,this._injector=Le,this.sanitizer=We,this.ngZone=fn,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,oe,Le={},We=""){return this._preBuildNotification(We,ee,oe,this.applyConfig(Le))}success(ee,oe,Le={}){return this._preBuildNotification(this.toastrConfig.iconClasses.success||"",ee,oe,this.applyConfig(Le))}error(ee,oe,Le={}){return this._preBuildNotification(this.toastrConfig.iconClasses.error||"",ee,oe,this.applyConfig(Le))}info(ee,oe,Le={}){return this._preBuildNotification(this.toastrConfig.iconClasses.info||"",ee,oe,this.applyConfig(Le))}warning(ee,oe,Le={}){return this._preBuildNotification(this.toastrConfig.iconClasses.warning||"",ee,oe,this.applyConfig(Le))}clear(ee){for(const oe of this.toasts)if(void 0!==ee){if(oe.toastId===ee)return void oe.toastRef.manualClose()}else oe.toastRef.manualClose()}remove(ee){const oe=this._findToast(ee);if(!oe||(oe.activeToast.toastRef.close(),this.toasts.splice(oe.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 Le=this.toasts[this.currentlyActive].toastRef;Le.isInactive()||(this.currentlyActive=this.currentlyActive+1,Le.activate())}return!0}findDuplicate(ee="",oe="",Le,We){const{includeTitleDuplicates:fn}=this.toastrConfig;for(const en of this.toasts){const It=fn&&en.title===ee;if((!fn||It)&&en.message===oe)return en.toastRef.onDuplicate(Le,We),en}return null}applyConfig(ee={}){return Object.assign(Object.assign({},this.toastrConfig),ee)}_findToast(ee){for(let oe=0;oe<this.toasts.length;oe++)if(this.toasts[oe].toastId===ee)return{index:oe,activeToast:this.toasts[oe]};return null}_preBuildNotification(ee,oe,Le,We){return We.onActivateTick?this.ngZone.run(()=>this._buildNotification(ee,oe,Le,We)):this._buildNotification(ee,oe,Le,We)}_buildNotification(ee,oe,Le,We){if(!We.toastComponent)throw new Error("toastComponent required");const fn=this.findDuplicate(Le,oe,this.toastrConfig.resetTimeoutOnDuplicate&&We.timeOut>0,this.toastrConfig.countDuplicates);if((this.toastrConfig.includeTitleDuplicates&&Le||oe)&&this.toastrConfig.preventDuplicates&&null!==fn)return fn;this.previousToastMessage=oe;let en=!1;this.toastrConfig.maxOpened&&this.currentlyActive>=this.toastrConfig.maxOpened&&(en=!0,this.toastrConfig.autoDismiss&&this.clear(this.toasts[0].toastId));const It=this.overlay.create(We.positionClass,this.overlayContainer);this.index=this.index+1;let hn=oe;oe&&We.enableHtml&&(hn=this.sanitizer.sanitize(v.q3G.HTML,oe));const nn=new ut(It),$n=new ae(this.index,We,hn,Le,ee,nn),rr=new yt($n,this._injector),Bn=new bt(We.toastComponent,rr),xn=It.attach(Bn,this.toastrConfig.newestOnTop);nn.componentInstance=xn.instance;const Qt={toastId:this.index,title:Le||"",message:oe||"",toastRef:nn,onShown:nn.afterActivate(),onHidden:nn.afterClosed(),onTap:$n.onTap(),onAction:$n.onAction(),portal:xn};return en||(this.currentlyActive=this.currentlyActive+1,setTimeout(()=>{Qt.toastRef.activate()})),this.toasts.push(Qt),Qt}}return pe.\u0275fac=function(ee){return new(ee||pe)(v.LFG(Ye),v.LFG(Rt),v.LFG(v.zs3),v.LFG(de.H7),v.LFG(v.R0b))},pe.\u0275prov=v.Yz7({factory:function(){return new pe(v.LFG(Ye),v.LFG(Rt),v.LFG(v.gxx),v.LFG(de.H7),v.LFG(v.R0b))},token:pe,providedIn:"root"}),pe})(),Ar=(()=>{class pe{constructor(ee,oe,Le){this.toastrService=ee,this.toastPackage=oe,this.ngZone=Le,this.width=-1,this.toastClasses="",this.state={value:"inactive",params:{easeTime:this.toastPackage.config.easeTime,easing:"ease-in"}},this.message=oe.message,this.title=oe.title,this.options=oe.config,this.originalTimeout=oe.config.timeOut,this.toastClasses=`${oe.toastType} ${oe.config.toastClass}`,this.sub=oe.toastRef.afterActivate().subscribe(()=>{this.activateToast()}),this.sub1=oe.toastRef.manualClosed().subscribe(()=>{this.remove()}),this.sub2=oe.toastRef.timeoutReset().subscribe(()=>{this.resetTimeout()}),this.sub3=oe.toastRef.countDuplicate().subscribe(We=>{this.duplicatesCount=We})}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,oe){this.ngZone?this.ngZone.runOutsideAngular(()=>this.timeout=setTimeout(()=>this.runInsideAngular(ee),oe)):this.timeout=setTimeout(()=>ee(),oe)}outsideInterval(ee,oe){this.ngZone?this.ngZone.runOutsideAngular(()=>this.intervalId=setInterval(()=>this.runInsideAngular(ee),oe)):this.intervalId=setInterval(()=>ee(),oe)}runInsideAngular(ee){this.ngZone?this.ngZone.run(()=>ee()):ee()}}return pe.\u0275fac=function(ee){return new(ee||pe)(v.Y36($e),v.Y36(ae),v.Y36(v.R0b))},pe.\u0275cmp=v.Xpm({type:pe,selectors:[["","toast-component",""]],hostVars:5,hostBindings:function(ee,oe){1&ee&&v.NdJ("click",function(){return oe.tapToast()})("mouseenter",function(){return oe.stickAround()})("mouseleave",function(){return oe.delayedHideToast()}),2&ee&&(v.d8E("@flyInOut",oe.state),v.Tol(oe.toastClasses),v.Udp("display",oe.displayStyle))},attrs:L,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,oe){1&ee&&(v.YNc(0,Z,3,0,"button",0),v.YNc(1,j,3,5,"div",1),v.YNc(2,W,1,3,"div",2),v.YNc(3,F,2,4,"div",3),v.YNc(4,ue,2,2,"div",4)),2&ee&&(v.Q6J("ngIf",oe.options.closeButton),v.xp6(1),v.Q6J("ngIf",oe.title),v.xp6(1),v.Q6J("ngIf",oe.message&&oe.options.enableHtml),v.xp6(1),v.Q6J("ngIf",oe.message&&!oe.options.enableHtml),v.xp6(1),v.Q6J("ngIf",oe.options.progressBar))},directives:[K.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 nr=Object.assign(Object.assign({},ge),{toastComponent:Ar});let On=(()=>{class pe{static forRoot(ee={}){return{ngModule:pe,providers:[{provide:Ye,useValue:{default:nr,config:ee}}]}}}return pe.\u0275fac=function(ee){return new(ee||pe)},pe.\u0275mod=v.oAB({type:pe}),pe.\u0275inj=v.cJS({imports:[[K.ez]]}),pe})(),Qn=(()=>{class pe{constructor(ee,oe,Le){this.toastrService=ee,this.toastPackage=oe,this.appRef=Le,this.width=-1,this.toastClasses="",this.state="inactive",this.message=oe.message,this.title=oe.title,this.options=oe.config,this.originalTimeout=oe.config.timeOut,this.toastClasses=`${oe.toastType} ${oe.config.toastClass}`,this.sub=oe.toastRef.afterActivate().subscribe(()=>{this.activateToast()}),this.sub1=oe.toastRef.manualClosed().subscribe(()=>{this.remove()}),this.sub2=oe.toastRef.timeoutReset().subscribe(()=>{this.resetTimeout()}),this.sub3=oe.toastRef.countDuplicate().subscribe(We=>{this.duplicatesCount=We})}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)(v.Y36($e),v.Y36(ae),v.Y36(v.z2F))},pe.\u0275cmp=v.Xpm({type:pe,selectors:[["","toast-component",""]],hostVars:4,hostBindings:function(ee,oe){1&ee&&v.NdJ("click",function(){return oe.tapToast()})("mouseenter",function(){return oe.stickAround()})("mouseleave",function(){return oe.delayedHideToast()}),2&ee&&(v.Tol(oe.toastClasses),v.Udp("display",oe.displayStyle))},attrs:L,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,oe){1&ee&&(v.YNc(0,ve,3,0,"button",0),v.YNc(1,te,3,5,"div",1),v.YNc(2,he,1,3,"div",2),v.YNc(3,Se,2,4,"div",3),v.YNc(4,Oe,2,2,"div",4)),2&ee&&(v.Q6J("ngIf",oe.options.closeButton),v.xp6(1),v.Q6J("ngIf",oe.title),v.xp6(1),v.Q6J("ngIf",oe.message&&oe.options.enableHtml),v.xp6(1),v.Q6J("ngIf",oe.message&&!oe.options.enableHtml),v.xp6(1),v.Q6J("ngIf",oe.options.progressBar))},directives:[K.O5],encapsulation:2}),pe})();Object.assign(Object.assign({},ge),{toastComponent:Qn})},4099:(je,ce,I)=>{I.d(ce,{X:()=>ie});var v=I(3405),g=I(2108);class ie extends v.xQ{constructor(K){super(),this._value=K}get value(){return this.getValue()}_subscribe(K){const L=super._subscribe(K);return L&&!L.closed&&K.next(this._value),L}getValue(){if(this.hasError)throw this.thrownError;if(this.closed)throw new g.N;return this._value}next(K){super.next(this._value=K)}}},8085:(je,ce,I)=>{I.d(ce,{P:()=>K});var v=I(172),g=I(2411),ie=I(540);class K{constructor(Z,ne,j){this.kind=Z,this.value=ne,this.error=j,this.hasValue="N"===Z}observe(Z){switch(this.kind){case"N":return Z.next&&Z.next(this.value);case"E":return Z.error&&Z.error(this.error);case"C":return Z.complete&&Z.complete()}}do(Z,ne,j){switch(this.kind){case"N":return Z&&Z(this.value);case"E":return ne&&ne(this.error);case"C":return j&&j()}}accept(Z,ne,j){return Z&&"function"==typeof Z.next?this.observe(Z):this.do(Z,ne,j)}toObservable(){switch(this.kind){case"N":return(0,g.of)(this.value);case"E":return(0,ie._)(this.error);case"C":return(0,v.c)()}throw new Error("unexpected notification kind value")}static createNext(Z){return void 0!==Z?new K("N",Z):K.undefinedValueNotification}static createError(Z){return new K("E",void 0,Z)}static createComplete(){return K.completeNotification}}K.completeNotification=new K("C"),K.undefinedValueNotification=new K("N",void 0)},5548:(je,ce,I)=>{I.d(ce,{y:()=>F});var v=I(4168),ie=I(2926),de=I(6617),L=I(1359),Z=I(7255);var W=I(5426);let F=(()=>{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,Se){const{operator:Oe}=this,Ve=function(ve,Ie,te){if(ve){if(ve instanceof v.L)return ve;if(ve[ie.b])return ve[ie.b]()}return ve||Ie||te?new v.L(ve,Ie,te):new v.L(de.c)}(te,he,Se);if(Ve.add(Oe?Oe.call(Ve,this.source):this.source||W.v.useDeprecatedSynchronousErrorHandling&&!Ve.syncErrorThrowable?this._subscribe(Ve):this._trySubscribe(Ve)),W.v.useDeprecatedSynchronousErrorHandling&&Ve.syncErrorThrowable&&(Ve.syncErrorThrowable=!1,Ve.syncErrorThrown))throw Ve.syncErrorValue;return Ve}_trySubscribe(te){try{return this._subscribe(te)}catch(he){W.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 v.L?te:null}return!0}(te)?te.error(he):console.warn(he)}}forEach(te,he){return new(he=ue(he))((Se,Oe)=>{let Ve;Ve=this.subscribe(Ae=>{try{te(Ae)}catch(ae){Oe(ae),Ve&&Ve.unsubscribe()}},Oe,Se)})}_subscribe(te){const{source:he}=this;return he&&he.subscribe(te)}[L.L](){return this}pipe(...te){return 0===te.length?this:function(ve){return 0===ve.length?Z.y:1===ve.length?ve[0]:function(te){return ve.reduce((he,Se)=>Se(he),te)}}(te)(this)}toPromise(te){return new(te=ue(te))((he,Se)=>{let Oe;this.subscribe(Ve=>Oe=Ve,Ve=>Se(Ve),()=>he(Oe))})}}return ve.create=Ie=>new ve(Ie),ve})();function ue(ve){if(ve||(ve=W.v.Promise||Promise),!ve)throw new Error("no Promise impl found");return ve}},6617:(je,ce,I)=>{I.d(ce,{c:()=>ie});var v=I(5426),g=I(9887);const ie={closed:!0,next(de){},error(de){if(v.v.useDeprecatedSynchronousErrorHandling)throw de;(0,g.z)(de)},complete(){}}},2919:(je,ce,I)=>{I.d(ce,{t:()=>Se});var v=I(3405),g=I(6339),de=I(5192);const Z=new class extends de.v{}(class extends g.o{constructor(Ae,ae){super(Ae,ae),this.scheduler=Ae,this.work=ae}schedule(Ae,ae=0){return ae>0?super.schedule(Ae,ae):(this.delay=ae,this.state=Ae,this.scheduler.flush(this),this)}execute(Ae,ae){return ae>0||this.closed?super.execute(Ae,ae):this._execute(Ae,ae)}requestAsyncId(Ae,ae,ge=0){return null!==ge&&ge>0||null===ge&&this.delay>0?super.requestAsyncId(Ae,ae,ge):Ae.flush(this)}});var ne=I(1346),j=I(4168),W=I(8085);class ve extends j.L{constructor(Ae,ae,ge=0){super(Ae),this.scheduler=ae,this.delay=ge}static dispatch(Ae){const{notification:ae,destination:ge}=Ae;ae.observe(ge),this.unsubscribe()}scheduleMessage(Ae){this.destination.add(this.scheduler.schedule(ve.dispatch,this.delay,new Ie(Ae,this.destination)))}_next(Ae){this.scheduleMessage(W.P.createNext(Ae))}_error(Ae){this.scheduleMessage(W.P.createError(Ae)),this.unsubscribe()}_complete(){this.scheduleMessage(W.P.createComplete()),this.unsubscribe()}}class Ie{constructor(Ae,ae){this.notification=Ae,this.destination=ae}}var te=I(2108),he=I(5973);class Se extends v.xQ{constructor(Ae=Number.POSITIVE_INFINITY,ae=Number.POSITIVE_INFINITY,ge){super(),this.scheduler=ge,this._events=[],this._infiniteTimeWindow=!1,this._bufferSize=Ae<1?1:Ae,this._windowTime=ae<1?1:ae,ae===Number.POSITIVE_INFINITY?(this._infiniteTimeWindow=!0,this.next=this.nextInfiniteTimeWindow):this.next=this.nextTimeWindow}nextInfiniteTimeWindow(Ae){if(!this.isStopped){const ae=this._events;ae.push(Ae),ae.length>this._bufferSize&&ae.shift()}super.next(Ae)}nextTimeWindow(Ae){this.isStopped||(this._events.push(new Oe(this._getNow(),Ae)),this._trimBufferThenGetEvents()),super.next(Ae)}_subscribe(Ae){const ae=this._infiniteTimeWindow,ge=ae?this._events:this._trimBufferThenGetEvents(),Ye=this.scheduler,bt=ge.length;let st;if(this.closed)throw new te.N;if(this.isStopped||this.hasError?st=ne.w.EMPTY:(this.observers.push(Ae),st=new he.W(this,Ae)),Ye&&Ae.add(Ae=new ve(Ae,Ye)),ae)for(let ft=0;ft<bt&&!Ae.closed;ft++)Ae.next(ge[ft]);else for(let ft=0;ft<bt&&!Ae.closed;ft++)Ae.next(ge[ft].value);return this.hasError?Ae.error(this.thrownError):this.isStopped&&Ae.complete(),st}_getNow(){return(this.scheduler||Z).now()}_trimBufferThenGetEvents(){const Ae=this._getNow(),ae=this._bufferSize,ge=this._windowTime,Ye=this._events,bt=Ye.length;let st=0;for(;st<bt&&!(Ae-Ye[st].time<ge);)st++;return bt>ae&&(st=Math.max(st,bt-ae)),st>0&&Ye.splice(0,st),Ye}}class Oe{constructor(Ae,ae){this.time=Ae,this.value=ae}}},3405:(je,ce,I)=>{I.d(ce,{Yc:()=>Z,xQ:()=>ne});var v=I(5548),g=I(4168),ie=I(1346),de=I(2108),K=I(5973),L=I(2926);class Z extends g.L{constructor(F){super(F),this.destination=F}}let ne=(()=>{class W extends v.y{constructor(){super(),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}[L.b](){return new Z(this)}lift(ue){const ve=new j(this,this);return ve.operator=ue,ve}next(ue){if(this.closed)throw new de.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 de.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 de.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 de.N;return super._trySubscribe(ue)}_subscribe(ue){if(this.closed)throw new de.N;return this.hasError?(ue.error(this.thrownError),ie.w.EMPTY):this.isStopped?(ue.complete(),ie.w.EMPTY):(this.observers.push(ue),new K.W(this,ue))}asObservable(){const ue=new v.y;return ue.source=this,ue}}return W.create=(F,ue)=>new j(F,ue),W})();class j extends ne{constructor(F,ue){super(),this.destination=F,this.source=ue}next(F){const{destination:ue}=this;ue&&ue.next&&ue.next(F)}error(F){const{destination:ue}=this;ue&&ue.error&&this.destination.error(F)}complete(){const{destination:F}=this;F&&F.complete&&this.destination.complete()}_subscribe(F){const{source:ue}=this;return ue?this.source.subscribe(F):ie.w.EMPTY}}},5973:(je,ce,I)=>{I.d(ce,{W:()=>g});var v=I(1346);class g extends v.w{constructor(de,K){super(),this.subject=de,this.subscriber=K,this.closed=!1}unsubscribe(){if(this.closed)return;this.closed=!0;const de=this.subject,K=de.observers;if(this.subject=null,!K||0===K.length||de.isStopped||de.closed)return;const L=K.indexOf(this.subscriber);-1!==L&&K.splice(L,1)}}},4168:(je,ce,I)=>{I.d(ce,{L:()=>Z});var v=I(6783),g=I(6617),ie=I(1346),de=I(2926),K=I(5426),L=I(9887);class Z extends ie.w{constructor(W,F,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(!W){this.destination=g.c;break}if("object"==typeof W){W instanceof Z?(this.syncErrorThrowable=W.syncErrorThrowable,this.destination=W,W.add(this)):(this.syncErrorThrowable=!0,this.destination=new ne(this,W));break}default:this.syncErrorThrowable=!0,this.destination=new ne(this,W,F,ue)}}[de.b](){return this}static create(W,F,ue){const ve=new Z(W,F,ue);return ve.syncErrorThrowable=!1,ve}next(W){this.isStopped||this._next(W)}error(W){this.isStopped||(this.isStopped=!0,this._error(W))}complete(){this.isStopped||(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe())}_next(W){this.destination.next(W)}_error(W){this.destination.error(W),this.unsubscribe()}_complete(){this.destination.complete(),this.unsubscribe()}_unsubscribeAndRecycle(){const{_parentOrParents:W}=this;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=W,this}}class ne extends Z{constructor(W,F,ue,ve){super(),this._parentSubscriber=W;let Ie,te=this;(0,v.m)(F)?Ie=F:F&&(Ie=F.next,ue=F.error,ve=F.complete,F!==g.c&&(te=Object.create(F),(0,v.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(W){if(!this.isStopped&&this._next){const{_parentSubscriber:F}=this;K.v.useDeprecatedSynchronousErrorHandling&&F.syncErrorThrowable?this.__tryOrSetError(F,this._next,W)&&this.unsubscribe():this.__tryOrUnsub(this._next,W)}}error(W){if(!this.isStopped){const{_parentSubscriber:F}=this,{useDeprecatedSynchronousErrorHandling:ue}=K.v;if(this._error)ue&&F.syncErrorThrowable?(this.__tryOrSetError(F,this._error,W),this.unsubscribe()):(this.__tryOrUnsub(this._error,W),this.unsubscribe());else if(F.syncErrorThrowable)ue?(F.syncErrorValue=W,F.syncErrorThrown=!0):(0,L.z)(W),this.unsubscribe();else{if(this.unsubscribe(),ue)throw W;(0,L.z)(W)}}}complete(){if(!this.isStopped){const{_parentSubscriber:W}=this;if(this._complete){const F=()=>this._complete.call(this._context);K.v.useDeprecatedSynchronousErrorHandling&&W.syncErrorThrowable?(this.__tryOrSetError(W,F),this.unsubscribe()):(this.__tryOrUnsub(F),this.unsubscribe())}else this.unsubscribe()}}__tryOrUnsub(W,F){try{W.call(this._context,F)}catch(ue){if(this.unsubscribe(),K.v.useDeprecatedSynchronousErrorHandling)throw ue;(0,L.z)(ue)}}__tryOrSetError(W,F,ue){if(!K.v.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{F.call(this._context,ue)}catch(ve){return K.v.useDeprecatedSynchronousErrorHandling?(W.syncErrorValue=ve,W.syncErrorThrown=!0,!0):((0,L.z)(ve),!0)}return!1}_unsubscribe(){const{_parentSubscriber:W}=this;this._context=null,this._parentSubscriber=null,W.unsubscribe()}}},1346:(je,ce,I)=>{I.d(ce,{w:()=>L});var v=I(5894),g=I(7879),ie=I(6783);const K=(()=>{function ne(j){return Error.call(this),this.message=j?`${j.length} errors occurred during unsubscription:\n${j.map((W,F)=>`${F+1}) ${W.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=j,this}return ne.prototype=Object.create(Error.prototype),ne})();class L{constructor(j){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,j&&(this._ctorUnsubscribe=!0,this._unsubscribe=j)}unsubscribe(){let j;if(this.closed)return;let{_parentOrParents:W,_ctorUnsubscribe:F,_unsubscribe:ue,_subscriptions:ve}=this;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,W instanceof L)W.remove(this);else if(null!==W)for(let Ie=0;Ie<W.length;++Ie)W[Ie].remove(this);if((0,ie.m)(ue)){F&&(this._unsubscribe=void 0);try{ue.call(this)}catch(Ie){j=Ie instanceof K?Z(Ie.errors):[Ie]}}if((0,v.k)(ve)){let Ie=-1,te=ve.length;for(;++Ie<te;){const he=ve[Ie];if((0,g.K)(he))try{he.unsubscribe()}catch(Se){j=j||[],Se instanceof K?j=j.concat(Z(Se.errors)):j.push(Se)}}}if(j)throw new K(j)}add(j){let W=j;if(!j)return L.EMPTY;switch(typeof j){case"function":W=new L(j);case"object":if(W===this||W.closed||"function"!=typeof W.unsubscribe)return W;if(this.closed)return W.unsubscribe(),W;if(!(W instanceof L)){const ve=W;W=new L,W._subscriptions=[ve]}break;default:throw new Error("unrecognized teardown "+j+" added to Subscription.")}let{_parentOrParents:F}=W;if(null===F)W._parentOrParents=this;else if(F instanceof L){if(F===this)return W;W._parentOrParents=[F,this]}else{if(-1!==F.indexOf(this))return W;F.push(this)}const ue=this._subscriptions;return null===ue?this._subscriptions=[W]:ue.push(W),W}remove(j){const W=this._subscriptions;if(W){const F=W.indexOf(j);-1!==F&&W.splice(F,1)}}}var ne;function Z(ne){return ne.reduce((j,W)=>j.concat(W instanceof K?W.errors:W),[])}L.EMPTY=((ne=new L).closed=!0,ne)},5426:(je,ce,I)=>{I.d(ce,{v:()=>g});let v=!1;const g={Promise:void 0,set useDeprecatedSynchronousErrorHandling(ie){if(ie){const de=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+de.stack)}else v&&console.log("RxJS: Back to a better error behavior. Thank you. <3");v=ie},get useDeprecatedSynchronousErrorHandling(){return v}}},8345:(je,ce,I)=>{I.d(ce,{IY:()=>de,Ds:()=>L,ft:()=>ne});var v=I(4168),g=I(5548),ie=I(4651);class de extends v.L{constructor(W){super(),this.parent=W}_next(W){this.parent.notifyNext(W)}_error(W){this.parent.notifyError(W),this.unsubscribe()}_complete(){this.parent.notifyComplete(),this.unsubscribe()}}class L extends v.L{notifyNext(W){this.destination.next(W)}notifyError(W){this.destination.error(W)}notifyComplete(){this.destination.complete()}}function ne(j,W){if(!W.closed)return j instanceof g.y?j.subscribe(W):(0,ie.s)(j)(W)}},5783:(je,ce,I)=>{I.d(ce,{c:()=>K,N:()=>L});var v=I(3405),g=I(5548),ie=I(1346),de=I(5234);class K extends g.y{constructor(F,ue){super(),this.source=F,this.subjectFactory=ue,this._refCount=0,this._isComplete=!1}_subscribe(F){return this.getSubject().subscribe(F)}getSubject(){const F=this._subject;return(!F||F.isStopped)&&(this._subject=this.subjectFactory()),this._subject}connect(){let F=this._connection;return F||(this._isComplete=!1,F=this._connection=new ie.w,F.add(this.source.subscribe(new Z(this.getSubject(),this))),F.closed&&(this._connection=null,F=ie.w.EMPTY)),F}refCount(){return(0,de.x)()(this)}}const L=(()=>{const W=K.prototype;return{operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:W._subscribe},_isComplete:{value:W._isComplete,writable:!0},getSubject:{value:W.getSubject},connect:{value:W.connect},refCount:{value:W.refCount}}})();class Z extends v.Yc{constructor(F,ue){super(F),this.connectable=ue}_error(F){this._unsubscribe(),super._error(F)}_complete(){this.connectable._isComplete=!0,this._unsubscribe(),super._complete()}_unsubscribe(){const F=this.connectable;if(F){this.connectable=null;const ue=F._connection;F._refCount=0,F._subject=null,F._connection=null,ue&&ue.unsubscribe()}}}},2372:(je,ce,I)=>{I.d(ce,{aj:()=>F});var v=I(8151),g=I(5894),ie=I(4168);class de extends ie.L{notifyNext(te,he,Se,Oe,Ve){this.destination.next(he)}notifyError(te,he){this.destination.error(te)}notifyComplete(te){this.destination.complete()}}class K extends ie.L{constructor(te,he,Se){super(),this.parent=te,this.outerValue=he,this.outerIndex=Se,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 L=I(4651),Z=I(5548);function ne(Ie,te,he,Se,Oe=new K(Ie,he,Se)){if(!Oe.closed)return te instanceof Z.y?te.subscribe(Oe):(0,L.s)(te)(Oe)}var j=I(5433);const W={};function F(...Ie){let te,he;return(0,v.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,j.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 de{constructor(te,he){super(te),this.resultSelector=he,this.active=0,this.values=[],this.observables=[]}_next(te){this.values.push(W),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 Se=0;Se<he;Se++)this.add(ne(this,te[Se],void 0,Se))}}notifyComplete(te){0==(this.active-=1)&&this.destination.complete()}notifyNext(te,he,Se){const Oe=this.values,Ae=this.toRespond?Oe[Se]===W?--this.toRespond:this.toRespond:0;Oe[Se]=he,0===Ae&&(this.resultSelector?this._tryResultSelector(Oe):this.destination.next(Oe.slice()))}_tryResultSelector(te){let he;try{he=this.resultSelector.apply(this,te)}catch(Se){return void this.destination.error(Se)}this.destination.next(he)}}},3596:(je,ce,I)=>{I.d(ce,{z:()=>de});var v=I(2411),g=I(2225);function de(...K){return(0,g.J)(1)((0,v.of)(...K))}},5476:(je,ce,I)=>{I.d(ce,{P:()=>de});var v=I(5548),g=I(1915),ie=I(172);function de(K){return new v.y(L=>{let Z;try{Z=K()}catch(j){return void L.error(j)}return(Z?(0,g.D)(Z):(0,ie.c)()).subscribe(L)})}},172:(je,ce,I)=>{I.d(ce,{E:()=>g,c:()=>ie});var v=I(5548);const g=new v.y(K=>K.complete());function ie(K){return K?function(K){return new v.y(L=>K.schedule(()=>L.complete()))}(K):g}},1915:(je,ce,I)=>{I.d(ce,{D:()=>te});var v=I(5548),g=I(4651),ie=I(1346),de=I(1359),Z=I(3428),ne=I(4352),F=I(847),ue=I(1265);function te(he,Se){return Se?function(he,Se){if(null!=he){if(function(he){return he&&"function"==typeof he[de.L]}(he))return function(he,Se){return new v.y(Oe=>{const Ve=new ie.w;return Ve.add(Se.schedule(()=>{const Ae=he[de.L]();Ve.add(Ae.subscribe({next(ae){Ve.add(Se.schedule(()=>Oe.next(ae)))},error(ae){Ve.add(Se.schedule(()=>Oe.error(ae)))},complete(){Ve.add(Se.schedule(()=>Oe.complete()))}}))})),Ve})}(he,Se);if((0,F.t)(he))return function(he,Se){return new v.y(Oe=>{const Ve=new ie.w;return Ve.add(Se.schedule(()=>he.then(Ae=>{Ve.add(Se.schedule(()=>{Oe.next(Ae),Ve.add(Se.schedule(()=>Oe.complete()))}))},Ae=>{Ve.add(Se.schedule(()=>Oe.error(Ae)))}))),Ve})}(he,Se);if((0,ue.z)(he))return(0,Z.r)(he,Se);if(function(he){return he&&"function"==typeof he[ne.hZ]}(he)||"string"==typeof he)return function(he,Se){if(!he)throw new Error("Iterable cannot be null");return new v.y(Oe=>{const Ve=new ie.w;let Ae;return Ve.add(()=>{Ae&&"function"==typeof Ae.return&&Ae.return()}),Ve.add(Se.schedule(()=>{Ae=he[ne.hZ](),Ve.add(Se.schedule(function(){if(Oe.closed)return;let ae,ge;try{const Ye=Ae.next();ae=Ye.value,ge=Ye.done}catch(Ye){return void Oe.error(Ye)}ge?Oe.complete():(Oe.next(ae),this.schedule())}))})),Ve})}(he,Se)}throw new TypeError((null!==he&&typeof he||he)+" is not observable")}(he,Se):he instanceof v.y?he:new v.y((0,g.s)(he))}},5433:(je,ce,I)=>{I.d(ce,{n:()=>de});var v=I(5548),g=I(8769),ie=I(3428);function de(K,L){return L?(0,ie.r)(K,L):new v.y((0,g.V)(K))}},9506:(je,ce,I)=>{I.d(ce,{R:()=>L});var v=I(5548),g=I(5894),ie=I(6783),de=I(8053);function L(F,ue,ve,Ie){return(0,ie.m)(ve)&&(Ie=ve,ve=void 0),Ie?L(F,ue,ve).pipe((0,de.U)(te=>(0,g.k)(te)?Ie(...te):Ie(te))):new v.y(te=>{Z(F,ue,function(Se){te.next(arguments.length>1?Array.prototype.slice.call(arguments):Se)},te,ve)})}function Z(F,ue,ve,Ie,te){let he;if(function(F){return F&&"function"==typeof F.addEventListener&&"function"==typeof F.removeEventListener}(F)){const Se=F;F.addEventListener(ue,ve,te),he=()=>Se.removeEventListener(ue,ve,te)}else if(function(F){return F&&"function"==typeof F.on&&"function"==typeof F.off}(F)){const Se=F;F.on(ue,ve),he=()=>Se.off(ue,ve)}else if(function(F){return F&&"function"==typeof F.addListener&&"function"==typeof F.removeListener}(F)){const Se=F;F.addListener(ue,ve),he=()=>Se.removeListener(ue,ve)}else{if(!F||!F.length)throw new TypeError("Invalid event target");for(let Se=0,Oe=F.length;Se<Oe;Se++)Z(F[Se],ue,ve,Ie,te)}Ie.add(he)}},8526:(je,ce,I)=>{I.d(ce,{T:()=>K});var v=I(5548),g=I(8151),ie=I(2225),de=I(5433);function K(...L){let Z=Number.POSITIVE_INFINITY,ne=null,j=L[L.length-1];return(0,g.K)(j)?(ne=L.pop(),L.length>1&&"number"==typeof L[L.length-1]&&(Z=L.pop())):"number"==typeof j&&(Z=L.pop()),null===ne&&1===L.length&&L[0]instanceof v.y?L[0]:(0,ie.J)(Z)((0,de.n)(L,ne))}},2411:(je,ce,I)=>{I.d(ce,{of:()=>de});var v=I(8151),g=I(5433),ie=I(3428);function de(...K){let L=K[K.length-1];return(0,v.K)(L)?(K.pop(),(0,ie.r)(K,L)):(0,g.n)(K)}},540:(je,ce,I)=>{I.d(ce,{_:()=>g});var v=I(5548);function g(de,K){return new v.y(K?L=>K.schedule(ie,0,{error:de,subscriber:L}):L=>L.error(de))}function ie({error:de,subscriber:K}){K.error(de)}},265:(je,ce,I)=>{I.d(ce,{H:()=>L});var v=I(5548),g=I(8178),ie=I(5894);function de(ne){return!(0,ie.k)(ne)&&ne-parseFloat(ne)+1>=0}var K=I(8151);function L(ne=0,j,W){let F=-1;return de(j)?F=Number(j)<1?1:Number(j):(0,K.K)(j)&&(W=j),(0,K.K)(W)||(W=g.P),new v.y(ue=>{const ve=de(ne)?ne:+ne-W.now();return W.schedule(Z,ve,{index:0,period:F,subscriber:ue})})}function Z(ne){const{index:j,period:W,subscriber:F}=ne;if(F.next(j),!F.closed){if(-1===W)return F.complete();ne.index=j+1,this.schedule(ne,W)}}},6700:(je,ce,I)=>{I.d(ce,{b:()=>g});var v=I(4421);function g(ie,de){return(0,v.zg)(ie,de,1)}},5389:(je,ce,I)=>{I.d(ce,{x:()=>g});var v=I(4168);function g(K,L){return Z=>Z.lift(new ie(K,L))}class ie{constructor(L,Z){this.compare=L,this.keySelector=Z}call(L,Z){return Z.subscribe(new de(L,this.compare,this.keySelector))}}class de extends v.L{constructor(L,Z,ne){super(L),this.keySelector=ne,this.hasKey=!1,"function"==typeof Z&&(this.compare=Z)}compare(L,Z){return L===Z}_next(L){let Z;try{const{keySelector:j}=this;Z=j?j(L):L}catch(j){return this.destination.error(j)}let ne=!1;if(this.hasKey)try{const{compare:j}=this;ne=j(this.key,Z)}catch(j){return this.destination.error(j)}else this.hasKey=!0;ne||(this.key=Z,this.destination.next(L))}}},8735:(je,ce,I)=>{I.d(ce,{h:()=>g});var v=I(4168);function g(K,L){return function(ne){return ne.lift(new ie(K,L))}}class ie{constructor(L,Z){this.predicate=L,this.thisArg=Z}call(L,Z){return Z.subscribe(new de(L,this.predicate,this.thisArg))}}class de extends v.L{constructor(L,Z,ne){super(L),this.predicate=Z,this.thisArg=ne,this.count=0}_next(L){let Z;try{Z=this.predicate.call(this.thisArg,L,this.count++)}catch(ne){return void this.destination.error(ne)}Z&&this.destination.next(L)}}},6658:(je,ce,I)=>{I.d(ce,{x:()=>ie});var v=I(4168),g=I(1346);function ie(L){return Z=>Z.lift(new de(L))}class de{constructor(Z){this.callback=Z}call(Z,ne){return ne.subscribe(new K(Z,this.callback))}}class K extends v.L{constructor(Z,ne){super(Z),this.add(new g.w(ne))}}},8053:(je,ce,I)=>{I.d(ce,{U:()=>g});var v=I(4168);function g(K,L){return function(ne){if("function"!=typeof K)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return ne.lift(new ie(K,L))}}class ie{constructor(L,Z){this.project=L,this.thisArg=Z}call(L,Z){return Z.subscribe(new de(L,this.project,this.thisArg))}}class de extends v.L{constructor(L,Z,ne){super(L),this.project=Z,this.count=0,this.thisArg=ne||this}_next(L){let Z;try{Z=this.project.call(this.thisArg,L,this.count++)}catch(ne){return void this.destination.error(ne)}this.destination.next(Z)}}},2225:(je,ce,I)=>{I.d(ce,{J:()=>ie});var v=I(4421),g=I(7255);function ie(de=Number.POSITIVE_INFINITY){return(0,v.zg)(g.y,de)}},4421:(je,ce,I)=>{I.d(ce,{zg:()=>de});var v=I(8053),g=I(1915),ie=I(8345);function de(ne,j,W=Number.POSITIVE_INFINITY){return"function"==typeof j?F=>F.pipe(de((ue,ve)=>(0,g.D)(ne(ue,ve)).pipe((0,v.U)((Ie,te)=>j(ue,Ie,ve,te))),W)):("number"==typeof j&&(W=j),F=>F.lift(new K(ne,W)))}class K{constructor(j,W=Number.POSITIVE_INFINITY){this.project=j,this.concurrent=W}call(j,W){return W.subscribe(new L(j,this.project,this.concurrent))}}class L extends ie.Ds{constructor(j,W,F=Number.POSITIVE_INFINITY){super(j),this.project=W,this.concurrent=F,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}_next(j){this.active<this.concurrent?this._tryNext(j):this.buffer.push(j)}_tryNext(j){let W;const F=this.index++;try{W=this.project(j,F)}catch(ue){return void this.destination.error(ue)}this.active++,this._innerSub(W)}_innerSub(j){const W=new ie.IY(this),F=this.destination;F.add(W);const ue=(0,ie.ft)(j,W);ue!==W&&F.add(ue)}_complete(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&this.destination.complete(),this.unsubscribe()}notifyNext(j){this.destination.next(j)}notifyComplete(){const j=this.buffer;this.active--,j.length>0?this._next(j.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}},6087:(je,ce,I)=>{I.d(ce,{O:()=>g});var v=I(5783);function g(de,K){return function(Z){let ne;if(ne="function"==typeof de?de:function(){return de},"function"==typeof K)return Z.lift(new ie(ne,K));const j=Object.create(Z,v.N);return j.source=Z,j.subjectFactory=ne,j}}class ie{constructor(K,L){this.subjectFactory=K,this.selector=L}call(K,L){const{selector:Z}=this,ne=this.subjectFactory(),j=Z(ne).subscribe(K);return j.add(L.subscribe(ne)),j}}},5234:(je,ce,I)=>{I.d(ce,{x:()=>g});var v=I(4168);function g(){return function(L){return L.lift(new ie(L))}}class ie{constructor(L){this.connectable=L}call(L,Z){const{connectable:ne}=this;ne._refCount++;const j=new de(L,ne),W=Z.subscribe(j);return j.closed||(j.connection=ne.connect()),W}}class de extends v.L{constructor(L,Z){super(L),this.connectable=Z}_unsubscribe(){const{connectable:L}=this;if(!L)return void(this.connection=null);this.connectable=null;const Z=L._refCount;if(Z<=0)return void(this.connection=null);if(L._refCount=Z-1,Z>1)return void(this.connection=null);const{connection:ne}=this,j=L._connection;this.connection=null,j&&(!ne||j===ne)&&j.unsubscribe()}}},1125:(je,ce,I)=>{I.d(ce,{O:()=>ie});var v=I(3596),g=I(8151);function ie(...de){const K=de[de.length-1];return(0,g.K)(K)?(de.pop(),L=>(0,v.z)(de,L,K)):L=>(0,v.z)(de,L)}},9204:(je,ce,I)=>{I.d(ce,{w:()=>de});var v=I(8053),g=I(1915),ie=I(8345);function de(Z,ne){return"function"==typeof ne?j=>j.pipe(de((W,F)=>(0,g.D)(Z(W,F)).pipe((0,v.U)((ue,ve)=>ne(W,ue,F,ve))))):j=>j.lift(new K(Z))}class K{constructor(ne){this.project=ne}call(ne,j){return j.subscribe(new L(ne,this.project))}}class L extends ie.Ds{constructor(ne,j){super(ne),this.project=j,this.index=0}_next(ne){let j;const W=this.index++;try{j=this.project(ne,W)}catch(F){return void this.destination.error(F)}this._innerSub(j)}_innerSub(ne){const j=this.innerSubscription;j&&j.unsubscribe();const W=new ie.IY(this),F=this.destination;F.add(W),this.innerSubscription=(0,ie.ft)(ne,W),this.innerSubscription!==W&&F.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:(je,ce,I)=>{I.d(ce,{q:()=>de});var v=I(4168),g=I(523),ie=I(172);function de(Z){return ne=>0===Z?(0,ie.c)():ne.lift(new K(Z))}class K{constructor(ne){if(this.total=ne,this.total<0)throw new g.W}call(ne,j){return j.subscribe(new L(ne,this.total))}}class L extends v.L{constructor(ne,j){super(ne),this.total=j,this.count=0}_next(ne){const j=this.total,W=++this.count;W<=j&&(this.destination.next(ne),W===j&&(this.destination.complete(),this.unsubscribe()))}}},1366:(je,ce,I)=>{I.d(ce,{b:()=>de});var v=I(4168),g=I(3989),ie=I(6783);function de(Z,ne,j){return function(F){return F.lift(new K(Z,ne,j))}}class K{constructor(ne,j,W){this.nextOrObserver=ne,this.error=j,this.complete=W}call(ne,j){return j.subscribe(new L(ne,this.nextOrObserver,this.error,this.complete))}}class L extends v.L{constructor(ne,j,W,F){super(ne),this._tapNext=g.Z,this._tapError=g.Z,this._tapComplete=g.Z,this._tapError=W||g.Z,this._tapComplete=F||g.Z,(0,ie.m)(j)?(this._context=this,this._tapNext=j):j&&(this._context=j,this._tapNext=j.next||g.Z,this._tapError=j.error||g.Z,this._tapComplete=j.complete||g.Z)}_next(ne){try{this._tapNext.call(this._context,ne)}catch(j){return void this.destination.error(j)}this.destination.next(ne)}_error(ne){try{this._tapError.call(this._context,ne)}catch(j){return void this.destination.error(j)}this.destination.error(ne)}_complete(){try{this._tapComplete.call(this._context)}catch(ne){return void this.destination.error(ne)}return this.destination.complete()}}},3428:(je,ce,I)=>{I.d(ce,{r:()=>ie});var v=I(5548),g=I(1346);function ie(de,K){return new v.y(L=>{const Z=new g.w;let ne=0;return Z.add(K.schedule(function(){ne!==de.length?(L.next(de[ne++]),L.closed||Z.add(this.schedule())):L.complete()})),Z})}},6339:(je,ce,I)=>{I.d(ce,{o:()=>ie});var v=I(1346);class g extends v.w{constructor(K,L){super()}schedule(K,L=0){return this}}class ie extends g{constructor(K,L){super(K,L),this.scheduler=K,this.work=L,this.pending=!1}schedule(K,L=0){if(this.closed)return this;this.state=K;const Z=this.id,ne=this.scheduler;return null!=Z&&(this.id=this.recycleAsyncId(ne,Z,L)),this.pending=!0,this.delay=L,this.id=this.id||this.requestAsyncId(ne,this.id,L),this}requestAsyncId(K,L,Z=0){return setInterval(K.flush.bind(K,this),Z)}recycleAsyncId(K,L,Z=0){if(null!==Z&&this.delay===Z&&!1===this.pending)return L;clearInterval(L)}execute(K,L){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const Z=this._execute(K,L);if(Z)return Z;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(K,L){let ne,Z=!1;try{this.work(K)}catch(j){Z=!0,ne=!!j&&j||new Error(j)}if(Z)return this.unsubscribe(),ne}_unsubscribe(){const K=this.id,L=this.scheduler,Z=L.actions,ne=Z.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==ne&&Z.splice(ne,1),null!=K&&(this.id=this.recycleAsyncId(L,K,null)),this.delay=null}}},5192:(je,ce,I)=>{I.d(ce,{v:()=>g});let v=(()=>{class ie{constructor(K,L=ie.now){this.SchedulerAction=K,this.now=L}schedule(K,L=0,Z){return new this.SchedulerAction(this,K).schedule(Z,L)}}return ie.now=()=>Date.now(),ie})();class g extends v{constructor(de,K=v.now){super(de,()=>g.delegate&&g.delegate!==this?g.delegate.now():K()),this.actions=[],this.active=!1,this.scheduled=void 0}schedule(de,K=0,L){return g.delegate&&g.delegate!==this?g.delegate.schedule(de,K,L):super.schedule(de,K,L)}flush(de){const{actions:K}=this;if(this.active)return void K.push(de);let L;this.active=!0;do{if(L=de.execute(de.state,de.delay))break}while(de=K.shift());if(this.active=!1,L){for(;de=K.shift();)de.unsubscribe();throw L}}}},8178:(je,ce,I)=>{I.d(ce,{P:()=>de});var v=I(6339);const de=new(I(5192).v)(v.o)},4352:(je,ce,I)=>{I.d(ce,{hZ:()=>g});const g="function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"},1359:(je,ce,I)=>{I.d(ce,{L:()=>v});const v="function"==typeof Symbol&&Symbol.observable||"@@observable"},2926:(je,ce,I)=>{I.d(ce,{b:()=>v});const v="function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random()},523:(je,ce,I)=>{I.d(ce,{W:()=>g});const g=(()=>{function ie(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}return ie.prototype=Object.create(Error.prototype),ie})()},2108:(je,ce,I)=>{I.d(ce,{N:()=>g});const g=(()=>{function ie(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return ie.prototype=Object.create(Error.prototype),ie})()},9887:(je,ce,I)=>{function v(g){setTimeout(()=>{throw g},0)}I.d(ce,{z:()=>v})},7255:(je,ce,I)=>{function v(g){return g}I.d(ce,{y:()=>v})},5894:(je,ce,I)=>{I.d(ce,{k:()=>v});const v=Array.isArray||(g=>g&&"number"==typeof g.length)},1265:(je,ce,I)=>{I.d(ce,{z:()=>v});const v=g=>g&&"number"==typeof g.length&&"function"!=typeof g},5747:(je,ce,I)=>{function v(g){return g instanceof Date&&!isNaN(+g)}I.d(ce,{J:()=>v})},6783:(je,ce,I)=>{function v(g){return"function"==typeof g}I.d(ce,{m:()=>v})},7879:(je,ce,I)=>{function v(g){return null!==g&&"object"==typeof g}I.d(ce,{K:()=>v})},847:(je,ce,I)=>{function v(g){return!!g&&"function"!=typeof g.subscribe&&"function"==typeof g.then}I.d(ce,{t:()=>v})},8151:(je,ce,I)=>{function v(g){return g&&"function"==typeof g.schedule}I.d(ce,{K:()=>v})},3989:(je,ce,I)=>{function v(){}I.d(ce,{Z:()=>v})},4651:(je,ce,I)=>{I.d(ce,{s:()=>F});var v=I(8769),g=I(9887),de=I(4352),L=I(1359),ne=I(1265),j=I(847),W=I(7879);const F=ue=>{if(ue&&"function"==typeof ue[L.L])return(ue=>ve=>{const Ie=ue[L.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,v.V)(ue);if((0,j.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[de.hZ])return(ue=>ve=>{const Ie=ue[de.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,W.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:(je,ce,I)=>{I.d(ce,{V:()=>v});const v=g=>ie=>{for(let de=0,K=g.length;de<K&&!ie.closed;de++)ie.next(g[de]);ie.complete()}},4129:(je,ce,I)=>{I.d(ce,{O:()=>te});var v=I(4522),g=I(4099),ie=I(5548),de=I(8178);const L=(()=>{function he(){return Error.call(this),this.message="Timeout has occurred",this.name="TimeoutError",this}return he.prototype=Object.create(Error.prototype),he})();var Z=I(5747),ne=I(8345);class W{constructor(Se,Oe,Ve,Ae){this.waitFor=Se,this.absoluteTimeout=Oe,this.withObservable=Ve,this.scheduler=Ae}call(Se,Oe){return Oe.subscribe(new F(Se,this.absoluteTimeout,this.waitFor,this.withObservable,this.scheduler))}}class F extends ne.Ds{constructor(Se,Oe,Ve,Ae,ae){super(Se),this.absoluteTimeout=Oe,this.waitFor=Ve,this.withObservable=Ae,this.scheduler=ae,this.scheduleTimeout()}static dispatchTimeout(Se){const{withObservable:Oe}=Se;Se._unsubscribeAndRecycle(),Se.add((0,ne.ft)(Oe,new ne.IY(Se)))}scheduleTimeout(){const{action:Se}=this;Se?this.action=Se.schedule(this,this.waitFor):this.add(this.action=this.scheduler.schedule(F.dispatchTimeout,this.waitFor,this))}_next(Se){this.absoluteTimeout||this.scheduleTimeout(),super._next(Se)}_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.currentRequest=new g.X(0),this.currentRequest.subscribe(Ve=>this.updateSpinner(Ve))}post(Oe,Ve,Ae=1e5){return new ie.y(ae=>{var ge=JSON.parse(window.localStorage.getItem("user"));let Ye=new v.WM({"Content-Type":"application/json","Cache-Control":"no-cache"});null!=ge&&(Ye=new v.WM({"Content-Type":"application/json","Cache-Control":"no-cache",Authorization:"Bearer "+ge.access_token}));let bt={headers:Ye};this.addRequest(),this.http.post(Oe,Ve,bt).pipe(function(he,Se=de.P){return function(he,Se,Oe=de.P){return Ve=>{let Ae=(0,Z.J)(he),ae=Ae?+he-Oe.now():Math.abs(he);return Ve.lift(new W(ae,Ae,Se,Oe))}}(he,(0,ue._)(new L),Se)}(Ae)).subscribe(st=>{this.removeRequest(),ae.next(st),ae.complete()},st=>{this.removeRequest(),200==st.status&&(ae.next(st.error.text),ae.complete()),401==st.status&&(ae.next(st.error.text),ae.complete()),ae.error(st)})})}postFormData(Oe,Ve){this.addRequest();var ae="Bearer "+JSON.parse(window.localStorage.getItem("user")).access_token;return new Promise((Ye,bt)=>{var st=new XMLHttpRequest;st.onreadystatechange=function(){4==st.readyState&&(200==st.status?Ye(JSON.parse(st.response)):bt(st.response))},st.open("POST",Oe,!0),st.setRequestHeader("Authorization",ae),st.send(Ve)}).then(Ye=>this.handleSuccess(Ye)).catch(Ye=>this.handleError(Ye))}get(Oe){var Ve=JSON.parse(window.localStorage.getItem("user"));let Ae=new v.WM({"Content-Type":"application/json","Cache-Control":"no-cache"});return null!=Ve&&(Ae=new v.WM({"Content-Type":"application/json","Cache-Control":"no-cache",Authorization:"Bearer "+Ve.access_token})),this.http.get(Oe,{headers:Ae})}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 Ve=Oe.json();return Promise.reject(Ve.ExceptionMessage||Ve.Message||Ve)}}updateSpinner(Oe){}addRequest(){this.currentRequest.next(this.currentRequest.value+1)}removeRequest(){this.currentRequest.next(this.currentRequest.value-1)}notify(Oe,Ve){$.notify({message:Oe},{type:Ve,newest_on_top:!0})}}return he.\u0275fac=function(Oe){return new(Oe||he)(Ie.LFG(v.eN))},he.\u0275prov=Ie.Yz7({token:he,factory:he.\u0275fac}),he})()},2804:(je,ce,I)=>{I.d(ce,{e:()=>g});var v=I(6079);let g=(()=>{class ie{constructor(){}GetNamePOS(){let K=JSON.parse(window.localStorage.getItem("user"));return this.ParseToken(K.access_token)}ParseToken(K){try{const Z=K.split(".")[0].replace("-","+").replace("_","/"),ne=JSON.parse(window.atob(Z)),W=K.split(".")[1].replace("-","+").replace("_","/"),F=JSON.parse(window.atob(W));return F.header=ne,F}catch(L){return!1}}}return ie.\u0275fac=function(K){return new(K||ie)},ie.\u0275prov=v.Yz7({token:ie,factory:ie.\u0275fac,providedIn:"root"}),ie})()},6594:(je,ce,I)=>{var v=I(5427),g=I(6079),ie=I(4522),de=I(4129),K=I(1086);const L=[{path:"",loadChildren:()=>Promise.all([I.e(10),I.e(972)]).then(I.bind(I,6972)).then(B=>B.LoginModule)},{path:"pages",loadChildren:()=>Promise.all([I.e(10),I.e(181)]).then(I.bind(I,6181)).then(B=>B.PagesModule)},{path:"**",redirectTo:"",pathMatch:"full"}];let Z=(()=>{class B{}return B.\u0275fac=function(x){return new(x||B)},B.\u0275mod=g.oAB({type:B}),B.\u0275inj=g.cJS({imports:[[K.Bz.forRoot(L)],K.Bz]}),B})();var ne=I(2919);function j(B,le){function x(){return!x.pred.apply(x.thisArg,arguments)}return x.pred=B,x.thisArg=le,x}var W=I(4651),F=I(8735),ue=I(5548),Ie=I(8526),te=I(265),he=I(6658),Se=I(9204),Oe=I(8345);function Ve(B){return le=>le.lift(new Ae(B))}class Ae{constructor(le){this.durationSelector=le}call(le,x){return x.subscribe(new ae(le,this.durationSelector))}}class ae extends Oe.Ds{constructor(le,x){super(le),this.durationSelector=x,this.hasValue=!1}_next(le){try{const x=this.durationSelector.call(this,le);x&&this._tryNext(le,x)}catch(x){this.destination.error(x)}}_complete(){this.emitValue(),this.destination.complete()}_tryNext(le,x){let ye=this.durationSubscription;this.value=le,this.hasValue=!0,ye&&(ye.unsubscribe(),this.remove(ye)),ye=(0,Oe.ft)(x,new Oe.IY(this)),ye&&!ye.closed&&this.add(this.durationSubscription=ye)}notifyNext(){this.emitValue()}notifyComplete(){this.emitValue()}emitValue(){if(this.hasValue){const le=this.value,x=this.durationSubscription;x&&(this.durationSubscription=void 0,x.unsubscribe(),this.remove(x)),this.value=void 0,this.hasValue=!1,super._next(le)}}}var ge=I(5389),Ye=I(1366),bt=I(6019);function st(B,le){1&B&&g.GkF(0)}function ft(B,le){if(1&B&&g._UZ(0,"sk-cube-grid",4),2&B){const x=g.oxw(2);g.Q6J("backgroundColor",x.backgroundColor)}}function ht(B,le){if(1&B&&g._UZ(0,"sk-chasing-dots",4),2&B){const x=g.oxw(2);g.Q6J("backgroundColor",x.backgroundColor)}}function Pt(B,le){if(1&B&&g._UZ(0,"sk-double-bounce",4),2&B){const x=g.oxw(2);g.Q6J("backgroundColor",x.backgroundColor)}}function Rt(B,le){if(1&B&&g._UZ(0,"sk-rotating-plane",4),2&B){const x=g.oxw(2);g.Q6J("backgroundColor",x.backgroundColor)}}function ut(B,le){if(1&B&&g._UZ(0,"sk-spinner-pulse",4),2&B){const x=g.oxw(2);g.Q6J("backgroundColor",x.backgroundColor)}}function yt(B,le){if(1&B&&g._UZ(0,"sk-three-bounce",4),2&B){const x=g.oxw(2);g.Q6J("backgroundColor",x.backgroundColor)}}function $e(B,le){if(1&B&&g._UZ(0,"sk-wandering-cubes",4),2&B){const x=g.oxw(2);g.Q6J("backgroundColor",x.backgroundColor)}}function Ar(B,le){if(1&B&&g._UZ(0,"sk-wave",4),2&B){const x=g.oxw(2);g.Q6J("backgroundColor",x.backgroundColor)}}const nr=function(B){return{"background-color":B}};function On(B,le){if(1&B&&(g.TgZ(0,"div",1),g.YNc(1,st,1,0,"ng-container",2),g.YNc(2,ft,1,1,"sk-cube-grid",3),g.YNc(3,ht,1,1,"sk-chasing-dots",3),g.YNc(4,Pt,1,1,"sk-double-bounce",3),g.YNc(5,Rt,1,1,"sk-rotating-plane",3),g.YNc(6,ut,1,1,"sk-spinner-pulse",3),g.YNc(7,yt,1,1,"sk-three-bounce",3),g.YNc(8,$e,1,1,"sk-wandering-cubes",3),g.YNc(9,Ar,1,1,"sk-wave",3),g.qZA()),2&B){const x=g.oxw();g.Udp("opacity",x.opacity),g.ekj("backdrop",x.backdrop),g.Q6J("ngStyle",g.VKq(14,nr,x.backdrop?x.backdropBackgroundColor:"transparent")),g.xp6(1),g.Q6J("ngComponentOutlet",x.entryComponent),g.xp6(1),g.Q6J("ngIf",x.spinner===x.spinkit.skCubeGrid),g.xp6(1),g.Q6J("ngIf",x.spinner===x.spinkit.skChasingDots),g.xp6(1),g.Q6J("ngIf",x.spinner===x.spinkit.skDoubleBounce),g.xp6(1),g.Q6J("ngIf",x.spinner===x.spinkit.skRotatingPlane),g.xp6(1),g.Q6J("ngIf",x.spinner===x.spinkit.skSpinnerPulse),g.xp6(1),g.Q6J("ngIf",x.spinner===x.spinkit.skThreeBounce),g.xp6(1),g.Q6J("ngIf",x.spinner===x.spinkit.skWanderingCubes),g.xp6(1),g.Q6J("ngIf",x.spinner===x.spinkit.skWave)}}let mn=(()=>{class B{}return B.\u0275fac=function(x){return new(x||B)},B.\u0275dir=g.lG2({type:B,inputs:{backgroundColor:"backgroundColor"}}),B})(),Qn=(()=>{class B extends mn{}return B.\u0275fac=function(){let le;return function(ye){return(le||(le=g.n5z(B)))(ye||B)}}(),B.\u0275cmp=g.Xpm({type:B,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(x,ye){1&x&&(g.TgZ(0,"div",0),g._UZ(1,"div",1),g._UZ(2,"div",2),g.qZA()),2&x&&(g.ekj("colored",!ye.backgroundColor),g.xp6(1),g.Udp("background-color",ye.backgroundColor),g.xp6(1),g.Udp("background-color",ye.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)}}"]}),B})(),Tn=(()=>{class B extends mn{}return B.\u0275fac=function(){let le;return function(ye){return(le||(le=g.n5z(B)))(ye||B)}}(),B.\u0275cmp=g.Xpm({type:B,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(x,ye){1&x&&(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&x&&(g.ekj("colored",!ye.backgroundColor),g.xp6(1),g.Udp("background-color",ye.backgroundColor),g.xp6(1),g.Udp("background-color",ye.backgroundColor),g.xp6(1),g.Udp("background-color",ye.backgroundColor),g.xp6(1),g.Udp("background-color",ye.backgroundColor),g.xp6(1),g.Udp("background-color",ye.backgroundColor),g.xp6(1),g.Udp("background-color",ye.backgroundColor),g.xp6(1),g.Udp("background-color",ye.backgroundColor),g.xp6(1),g.Udp("background-color",ye.backgroundColor),g.xp6(1),g.Udp("background-color",ye.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)}}"]}),B})(),kt=(()=>{class B extends mn{}return B.\u0275fac=function(){let le;return function(ye){return(le||(le=g.n5z(B)))(ye||B)}}(),B.\u0275cmp=g.Xpm({type:B,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(x,ye){1&x&&(g.TgZ(0,"div",0),g._UZ(1,"div",1),g._UZ(2,"div",2),g.qZA()),2&x&&(g.ekj("colored",!ye.backgroundColor),g.xp6(1),g.Udp("background-color",ye.backgroundColor),g.xp6(1),g.Udp("background-color",ye.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)}}"]}),B})(),pe=(()=>{class B extends mn{}return B.\u0275fac=function(){let le;return function(ye){return(le||(le=g.n5z(B)))(ye||B)}}(),B.\u0275cmp=g.Xpm({type:B,selectors:[["sk-rotating-plane"]],features:[g.qOj],decls:1,vars:2,consts:[[1,"sk-rotating-plane","colored-parent"]],template:function(x,ye){1&x&&g._UZ(0,"div",0),2&x&&g.Udp("background-color",ye.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)}}"]}),B})(),be=(()=>{class B extends mn{}return B.\u0275fac=function(){let le;return function(ye){return(le||(le=g.n5z(B)))(ye||B)}}(),B.\u0275cmp=g.Xpm({type:B,selectors:[["sk-spinner-pulse"]],features:[g.qOj],decls:1,vars:2,consts:[[1,"sk-spinner","sk-spinner-pulse","colored-parent"]],template:function(x,ye){1&x&&g._UZ(0,"div",0),2&x&&g.Udp("background-color",ye.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}}"]}),B})(),ee=(()=>{class B extends mn{}return B.\u0275fac=function(){let le;return function(ye){return(le||(le=g.n5z(B)))(ye||B)}}(),B.\u0275cmp=g.Xpm({type:B,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(x,ye){1&x&&(g.TgZ(0,"div",0),g._UZ(1,"div",1),g._UZ(2,"div",2),g._UZ(3,"div",3),g.qZA()),2&x&&(g.ekj("colored",!ye.backgroundColor),g.xp6(1),g.Udp("background-color",ye.backgroundColor),g.xp6(1),g.Udp("background-color",ye.backgroundColor),g.xp6(1),g.Udp("background-color",ye.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)}}"]}),B})(),oe=(()=>{class B extends mn{}return B.\u0275fac=function(){let le;return function(ye){return(le||(le=g.n5z(B)))(ye||B)}}(),B.\u0275cmp=g.Xpm({type:B,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(x,ye){1&x&&(g.TgZ(0,"div",0),g._UZ(1,"div",1),g._UZ(2,"div",2),g.qZA()),2&x&&(g.ekj("colored",!ye.backgroundColor),g.xp6(1),g.Udp("background-color",ye.backgroundColor),g.xp6(1),g.Udp("background-color",ye.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)}}"]}),B})(),Le=(()=>{class B extends mn{}return B.\u0275fac=function(){let le;return function(ye){return(le||(le=g.n5z(B)))(ye||B)}}(),B.\u0275cmp=g.Xpm({type:B,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(x,ye){1&x&&(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&x&&(g.ekj("colored",!ye.backgroundColor),g.xp6(1),g.Udp("background-color",ye.backgroundColor),g.xp6(1),g.Udp("background-color",ye.backgroundColor),g.xp6(1),g.Udp("background-color",ye.backgroundColor),g.xp6(1),g.Udp("background-color",ye.backgroundColor),g.xp6(1),g.Udp("background-color",ye.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)}}"]}),B})();const We={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 en=(()=>{class B{constructor(){this._pendingRequests=0,this._pendingRequestsStatus$=new ne.t(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(x){this._filteredMethods=x}set filteredHeaders(x){this._filteredHeaders=x}set forceByPass(x){this._forceByPass=x}shouldBypassUrl(x){return this._filteredUrlPatterns.some(ye=>ye.test(x))}shouldBypassMethod(x){return this._filteredMethods.some(ye=>ye.toUpperCase()===x.method.toUpperCase())}shouldBypassHeader(x){return this._filteredHeaders.some(ye=>x.headers.has(ye))}shouldBypass(x){return this._forceByPass||this.shouldBypassUrl(x.urlWithParams)||this.shouldBypassMethod(x)||this.shouldBypassHeader(x)}intercept(x,ye){const ct=this.shouldBypass(x);return ct||(this._pendingRequests++,1===this._pendingRequests&&this._pendingRequestsStatus$.next(!0)),ye.handle(x).pipe((0,he.x)(()=>{ct||(this._pendingRequests--,0===this._pendingRequests&&this._pendingRequestsStatus$.next(!1))}))}}return B.\u0275fac=function(x){return new(x||B)},B.\u0275prov=g.Yz7({token:B,factory:B.\u0275fac,providedIn:"root"}),B})();const It=[{provide:ie.TP,useExisting:en,multi:!0}];let hn=(()=>{class B{constructor(x){this.pendingRequestsInterceptor=x,this._visibility$=new ne.t(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 B.\u0275fac=function(x){return new(x||B)(g.LFG(en))},B.\u0275prov=g.Yz7({token:B,factory:B.\u0275fac,providedIn:"root"}),B})(),nn=(()=>{class B{constructor(x,ye){this.pendingRequestsInterceptor=x,this.spinnerVisibility=ye,this.spinkit=We,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=We.skWave}ngOnInit(){this.initIsvisibleObservable(),this.nullifySpinnerIfEntryComponentIsDefined(),this.initFilters()}initIsvisibleObservable(){const[x,ye]=function(B,le,x){return[(0,F.h)(le,x)(new ue.y((0,W.s)(B))),(0,F.h)(j(le,x))(new ue.y((0,W.s)(B)))]}(this.pendingRequestsInterceptor.pendingRequestsStatus$,ct=>ct);this.isVisible$=(0,Ie.T)(this.pendingRequestsInterceptor.pendingRequestsStatus$.pipe((0,Se.w)(()=>x.pipe(Ve(()=>(0,te.H)(this.debounceDelay))))),x.pipe((0,Se.w)(()=>ye.pipe(Ve(()=>this.getVisibilityTimer$())))),this.spinnerVisibility.visibility$).pipe((0,ge.x)(),(0,Ye.b)(ct=>this.updateExpirationDelay(ct)))}nullifySpinnerIfEntryComponentIsDefined(){this.entryComponent&&(this.spinner=null)}initFilters(){this.initFilteredUrlPatterns(),this.initFilteredMethods(),this.initFilteredHeaders()}initFilteredUrlPatterns(){this.filteredUrlPatterns.length&&this.filteredUrlPatterns.forEach(x=>this.pendingRequestsInterceptor.filteredUrlPatterns.push(new RegExp(x)))}initFilteredMethods(){this.pendingRequestsInterceptor.filteredMethods=this.filteredMethods}initFilteredHeaders(){this.pendingRequestsInterceptor.filteredHeaders=this.filteredHeaders}updateExpirationDelay(x){x&&(this.visibleUntil=Date.now()+this.minDuration)}getVisibilityTimer$(){return(0,te.H)(Math.max(this.extraDuration,this.visibleUntil-Date.now()))}}return B.\u0275fac=function(x){return new(x||B)(g.Y36(en),g.Y36(hn))},B.\u0275cmp=g.Xpm({type:B,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(x,ye){1&x&&(g.YNc(0,On,10,16,"div",0),g.ALo(1,"async")),2&x&&g.Q6J("ngIf",g.lcZ(1,1,ye.isVisible$))},directives:[bt.O5,bt.PC,bt.$G,Tn,Qn,kt,pe,be,ee,oe,Le],pipes:[bt.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}"]}),B})(),$n=(()=>{class B{static forRoot(){return{ngModule:B,providers:[It]}}}return B.\u0275fac=function(x){return new(x||B)},B.\u0275mod=g.oAB({type:B}),B.\u0275inj=g.cJS({imports:[[bt.ez]]}),B})(),rr=(()=>{class B{constructor(){this.title="zoho"}ngOnInit(){this.overrideDateToJsonFunction()}overrideDateToJsonFunction(){Date.prototype.toJSON=function(){return new Date(this.getTime()-60*this.getTimezoneOffset()*1e3).toISOString()}}}return B.\u0275fac=function(x){return new(x||B)},B.\u0275cmp=g.Xpm({type:B,selectors:[["app-root"]],decls:2,vars:0,template:function(x,ye){1&x&&(g._UZ(0,"router-outlet"),g._UZ(1,"ng-http-loader"))},directives:[K.lC,nn],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}}.flex-right[_ngcontent-%COMP%] .mat-sort-header-container[_ngcontent-%COMP%]{justify-content:end!important}.align-right[_ngcontent-%COMP%] .mat-sort-header-container[_ngcontent-%COMP%]{justify-content:flex-end!important}.datepicker[_ngcontent-%COMP%]{width:125px}.mat-datepicker-content[_ngcontent-%COMP%] .mat-calendar[_ngcontent-%COMP%]{height:auto!important}"]}),B})();var Bn=I(9555),xn=I(8452);let Qt=(()=>{class B{constructor(x){this._router=x}intercept(x,ye){let ct=JSON.parse(window.localStorage.getItem("user")),Lt=new Date;if(null!=ct){let Bt=new Date(ct.expiredAt);x=x.clone(Lt<Bt?{setHeaders:{"Content-Type":"application/json",Authorization:`Bearer ${ct.access_token}`}}:{setHeaders:{"Content-Type":"application/json"}})}else x=x.clone({setHeaders:{"Content-Type":"application/json"}});return ye.handle(x)}}return B.\u0275fac=function(x){return new(x||B)(g.LFG(K.F0))},B.\u0275prov=g.Yz7({token:B,factory:B.\u0275fac}),B})();var Mr=I(2804),Je=I(5476),we=I(540),Y=I(9506),Q=I(2411),Te=I(3596),Pe=I(3405),Ue=I(3989);const Ne=new ue.y(Ue.Z);var pt=I(8053),_t=I(6087),sn=I(6636),Zt=I(8178),Ot=I(5747),ze=I(4168),an=I(8085);class tn{constructor(le,x){this.delay=le,this.scheduler=x}call(le,x){return x.subscribe(new Dt(le,this.delay,this.scheduler))}}class Dt extends ze.L{constructor(le,x,ye){super(le),this.delay=x,this.scheduler=ye,this.queue=[],this.active=!1,this.errored=!1}static dispatch(le){const x=le.source,ye=x.queue,ct=le.scheduler,Lt=le.destination;for(;ye.length>0&&ye[0].time-ct.now()<=0;)ye.shift().notification.observe(Lt);if(ye.length>0){const Bt=Math.max(0,ye[0].time-ct.now());this.schedule(le,Bt)}else this.unsubscribe(),x.active=!1}_schedule(le){this.active=!0,this.destination.add(le.schedule(Dt.dispatch,this.delay,{source:this,destination:this.destination,scheduler:le}))}scheduleNotification(le){if(!0===this.errored)return;const x=this.scheduler,ye=new yr(x.now()+this.delay,le);this.queue.push(ye),!1===this.active&&this._schedule(x)}_next(le){this.scheduleNotification(an.P.createNext(le))}_error(le){this.errored=!0,this.queue=[],this.destination.error(le),this.unsubscribe()}_complete(){this.scheduleNotification(an.P.createComplete()),this.unsubscribe()}}class yr{constructor(le,x){this.time=le,this.notification=x}}const Vt="Service workers are disabled or not supported by this browser";class ur{constructor(le){if(this.serviceWorker=le,le){const ye=(0,Y.R)(le,"controllerchange").pipe((0,pt.U)(()=>le.controller)),ct=(0,Je.P)(()=>(0,Q.of)(le.controller)),Lt=(0,Te.z)(ct,ye);this.worker=Lt.pipe((0,F.h)(J=>!!J)),this.registration=this.worker.pipe((0,Se.w)(()=>le.getRegistration()));const $t=(0,Y.R)(le,"message").pipe((0,pt.U)(J=>J.data)).pipe((0,F.h)(J=>J&&J.type)).pipe((0,_t.O)(new Pe.xQ));$t.connect(),this.events=$t}else this.worker=this.events=this.registration=(Vt,(0,Je.P)(()=>(0,we._)(new Error("Service workers are disabled or not supported by this browser"))))}postMessage(le,x){return this.worker.pipe((0,sn.q)(1),(0,Ye.b)(ye=>{ye.postMessage(lt({action:le},x))})).toPromise().then(()=>{})}postMessageWithOperation(le,x,ye){const ct=this.waitForOperationCompleted(ye),Lt=this.postMessage(le,x);return Promise.all([Lt,ct]).then(([,Bt])=>Bt)}generateNonce(){return Math.round(1e7*Math.random())}eventsOfType(le){let x;return x="string"==typeof le?ye=>ye.type===le:ye=>le.includes(ye.type),this.events.pipe((0,F.h)(x))}nextEventOfType(le){return this.eventsOfType(le).pipe((0,sn.q)(1))}waitForOperationCompleted(le){return this.eventsOfType("OPERATION_COMPLETED").pipe((0,F.h)(x=>x.nonce===le),(0,sn.q)(1),(0,pt.U)(x=>{if(void 0!==x.result)return x.result;throw new Error(x.error)})).toPromise()}get isEnabled(){return!!this.serviceWorker}}let un=(()=>{class B{constructor(x){if(this.sw=x,this.subscriptionChanges=new Pe.xQ,!x.isEnabled)return this.messages=Ne,this.notificationClicks=Ne,void(this.subscription=Ne);this.messages=this.sw.eventsOfType("PUSH").pipe((0,pt.U)(ct=>ct.data)),this.notificationClicks=this.sw.eventsOfType("NOTIFICATION_CLICK").pipe((0,pt.U)(ct=>ct.data)),this.pushManager=this.sw.registration.pipe((0,pt.U)(ct=>ct.pushManager));const ye=this.pushManager.pipe((0,Se.w)(ct=>ct.getSubscription()));this.subscription=(0,Ie.T)(ye,this.subscriptionChanges)}get isEnabled(){return this.sw.isEnabled}requestSubscription(x){if(!this.sw.isEnabled)return Promise.reject(new Error(Vt));const ye={userVisibleOnly:!0};let ct=this.decodeBase64(x.serverPublicKey.replace(/_/g,"/").replace(/-/g,"+")),Lt=new Uint8Array(new ArrayBuffer(ct.length));for(let Bt=0;Bt<ct.length;Bt++)Lt[Bt]=ct.charCodeAt(Bt);return ye.applicationServerKey=Lt,this.pushManager.pipe((0,Se.w)(Bt=>Bt.subscribe(ye)),(0,sn.q)(1)).toPromise().then(Bt=>(this.subscriptionChanges.next(Bt),Bt))}unsubscribe(){return this.sw.isEnabled?this.subscription.pipe((0,sn.q)(1),(0,Se.w)(ye=>{if(null===ye)throw new Error("Not subscribed to push notifications.");return ye.unsubscribe().then(ct=>{if(!ct)throw new Error("Unsubscribe failed!");this.subscriptionChanges.next(null)})})).toPromise():Promise.reject(new Error(Vt))}decodeBase64(x){return atob(x)}}return B.\u0275fac=function(x){return new(x||B)(g.LFG(ur))},B.\u0275prov=g.Yz7({token:B,factory:B.\u0275fac}),B})(),Nn=(()=>{class B{constructor(x){if(this.sw=x,!x.isEnabled)return this.versionUpdates=Ne,this.available=Ne,this.activated=Ne,void(this.unrecoverable=Ne);this.versionUpdates=this.sw.eventsOfType(["VERSION_DETECTED","VERSION_INSTALLATION_FAILED","VERSION_READY"]),this.available=this.versionUpdates.pipe((0,F.h)(ye=>"VERSION_READY"===ye.type),(0,pt.U)(ye=>({type:"UPDATE_AVAILABLE",current:ye.currentVersion,available:ye.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(Vt));const x=this.sw.generateNonce();return this.sw.postMessageWithOperation("CHECK_FOR_UPDATES",{nonce:x},x)}activateUpdate(){if(!this.sw.isEnabled)return Promise.reject(new Error(Vt));const x=this.sw.generateNonce();return this.sw.postMessageWithOperation("ACTIVATE_UPDATE",{nonce:x},x)}}return B.\u0275fac=function(x){return new(x||B)(g.LFG(ur))},B.\u0275prov=g.Yz7({token:B,factory:B.\u0275fac}),B})();class sr{}const cr=new g.OlP("NGSW_REGISTER_SCRIPT");function Fr(B,le,x,ye){return()=>{if(!(0,bt.NF)(ye)||!("serviceWorker"in navigator)||!1===x.enabled)return;let Lt;if(navigator.serviceWorker.addEventListener("controllerchange",()=>{null!==navigator.serviceWorker.controller&&navigator.serviceWorker.controller.postMessage({action:"INITIALIZE"})}),"function"==typeof x.registrationStrategy)Lt=x.registrationStrategy();else{const[Be,...it]=(x.registrationStrategy||"registerWhenStable:30000").split(":");switch(Be){case"registerImmediately":Lt=(0,Q.of)(null);break;case"registerWithDelay":Lt=Un(+it[0]||0);break;case"registerWhenStable":Lt=it[0]?(0,Ie.T)(Rr(B),Un(+it[0])):Rr(B);break;default:throw new Error(`Unknown ServiceWorker registration strategy: ${x.registrationStrategy}`)}}B.get(g.R0b).runOutsideAngular(()=>Lt.pipe((0,sn.q)(1)).subscribe(()=>navigator.serviceWorker.register(le,{scope:x.scope}).catch(Be=>console.error("Service worker registration failed with:",Be))))}}function Un(B){return(0,Q.of)(null).pipe(function(B,le=Zt.P){const ye=(0,Ot.J)(B)?+B-le.now():Math.abs(B);return ct=>ct.lift(new tn(ye,le))}(B))}function Rr(B){return B.get(g.z2F).isStable.pipe((0,F.h)(x=>x))}function kr(B,le){return new ur((0,bt.NF)(le)&&!1!==B.enabled?navigator.serviceWorker:void 0)}let qn=(()=>{class B{static register(x,ye={}){return{ngModule:B,providers:[{provide:cr,useValue:x},{provide:sr,useValue:ye},{provide:ur,useFactory:kr,deps:[sr,g.Lbi]},{provide:g.ip1,useFactory:Fr,deps:[g.zs3,cr,sr,g.Lbi],multi:!0}]}}}return B.\u0275fac=function(x){return new(x||B)},B.\u0275mod=g.oAB({type:B}),B.\u0275inj=g.cJS({providers:[un,Nn]}),B})();let wt=(()=>{class B{}return B.\u0275fac=function(x){return new(x||B)},B.\u0275mod=g.oAB({type:B,bootstrap:[rr]}),B.\u0275inj=g.cJS({providers:[de.O,Mr.e,{provide:ie.TP,useClass:Qt,multi:!0}],imports:[[v.b2,Z,Bn.PW,xn.Rh.forRoot({positionClass:"toast-bottom-right",preventDuplicates:!0}),ie.JF,$n.forRoot(),qn.register("ngsw-worker.js",{enabled:true})]]}),B})();(0,g.G48)(),v.q6().bootstrapModule(wt).catch(B=>console.error(B))},9814:(je,ce,I)=>{I.d(ce,{l3:()=>ie,_j:()=>v,LC:()=>g,ZN:()=>Oe,jt:()=>K,pV:()=>ve,F4:()=>W,IO:()=>te,vP:()=>Z,SB:()=>j,oB:()=>ne,eR:()=>F,X$:()=>de,ZE:()=>Ve,k1:()=>Ae});class v{}class g{}const ie="*";function de(ae,ge){return{type:7,name:ae,definitions:ge,options:{}}}function K(ae,ge=null){return{type:4,styles:ge,timings:ae}}function Z(ae,ge=null){return{type:2,steps:ae,options:ge}}function ne(ae){return{type:6,styles:ae,offset:null}}function j(ae,ge,Ye){return{type:0,name:ae,styles:ge,options:Ye}}function W(ae){return{type:5,steps:ae}}function F(ae,ge,Ye=null){return{type:1,expr:ae,animation:ge,options:Ye}}function ve(ae=null){return{type:9,options:ae}}function te(ae,ge,Ye=null){return{type:11,selector:ae,animation:ge,options:Ye}}function Se(ae){Promise.resolve(null).then(ae)}class Oe{constructor(ge=0,Ye=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=ge+Ye}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(ge=>ge()),this._onDoneFns=[])}onStart(ge){this._onStartFns.push(ge)}onDone(ge){this._onDoneFns.push(ge)}onDestroy(ge){this._onDestroyFns.push(ge)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){Se(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(ge=>ge()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(ge=>ge()),this._onDestroyFns=[])}reset(){this._started=!1}setPosition(ge){this._position=this.totalTime?ge*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(ge){const Ye="start"==ge?this._onStartFns:this._onDoneFns;Ye.forEach(bt=>bt()),Ye.length=0}}class Ve{constructor(ge){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=ge;let Ye=0,bt=0,st=0;const ft=this.players.length;0==ft?Se(()=>this._onFinish()):this.players.forEach(ht=>{ht.onDone(()=>{++Ye==ft&&this._onFinish()}),ht.onDestroy(()=>{++bt==ft&&this._onDestroy()}),ht.onStart(()=>{++st==ft&&this._onStart()})}),this.totalTime=this.players.reduce((ht,Pt)=>Math.max(ht,Pt.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(ge=>ge()),this._onDoneFns=[])}init(){this.players.forEach(ge=>ge.init())}onStart(ge){this._onStartFns.push(ge)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(ge=>ge()),this._onStartFns=[])}onDone(ge){this._onDoneFns.push(ge)}onDestroy(ge){this._onDestroyFns.push(ge)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(ge=>ge.play())}pause(){this.players.forEach(ge=>ge.pause())}restart(){this.players.forEach(ge=>ge.restart())}finish(){this._onFinish(),this.players.forEach(ge=>ge.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(ge=>ge.destroy()),this._onDestroyFns.forEach(ge=>ge()),this._onDestroyFns=[])}reset(){this.players.forEach(ge=>ge.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(ge){const Ye=ge*this.totalTime;this.players.forEach(bt=>{const st=bt.totalTime?Math.min(1,Ye/bt.totalTime):1;bt.setPosition(st)})}getPosition(){const ge=this.players.reduce((Ye,bt)=>null===Ye||bt.totalTime>Ye.totalTime?bt:Ye,null);return null!=ge?ge.getPosition():0}beforeDestroy(){this.players.forEach(ge=>{ge.beforeDestroy&&ge.beforeDestroy()})}triggerCallback(ge){const Ye="start"==ge?this._onStartFns:this._onDoneFns;Ye.forEach(bt=>bt()),Ye.length=0}}const Ae="!"},6019:(je,ce,I)=>{I.d(ce,{mr:()=>Ve,Ov:()=>Ms,ez:()=>hs,K0:()=>Z,uU:()=>ui,JJ:()=>fs,Do:()=>ae,Ts:()=>di,Nd:()=>Jr,V_:()=>W,Ye:()=>ge,S$:()=>Se,mk:()=>Fn,$G:()=>Lr,sg:()=>jn,O5:()=>dr,PC:()=>Or,RF:()=>_n,n9:()=>Sn,ED:()=>ln,tP:()=>Zr,b0:()=>Ae,lw:()=>ne,OU:()=>vr,EM:()=>gi,JF:()=>Bi,NF:()=>Ps,w_:()=>L,bD:()=>ir,q:()=>ie,Mx:()=>Yr,HT:()=>K});var v=I(6079);let g=null;function ie(){return g}function K(_){g||(g=_)}class L{}const Z=new v.OlP("DocumentToken");let ne=(()=>{class _{historyGo(E){throw new Error("Not implemented")}}return _.\u0275fac=function(E){return new(E||_)},_.\u0275prov=v.Yz7({token:_,factory:function(){return(0,v.LFG)(F)},providedIn:"platform"}),_})();const W=new v.OlP("Location Initialized");let F=(()=>{class _ extends ne{constructor(E){super(),this._doc=E,this._init()}_init(){this.location=window.location,this._history=window.history}getBaseHrefFromDOM(){return ie().getBaseHref(this._doc)}onPopState(E){const S=ie().getGlobalEventTarget(this._doc,"window");return S.addEventListener("popstate",E,!1),()=>S.removeEventListener("popstate",E)}onHashChange(E){const S=ie().getGlobalEventTarget(this._doc,"window");return S.addEventListener("hashchange",E,!1),()=>S.removeEventListener("hashchange",E)}get href(){return this.location.href}get protocol(){return this.location.protocol}get hostname(){return this.location.hostname}get port(){return this.location.port}get pathname(){return this.location.pathname}get search(){return this.location.search}get hash(){return this.location.hash}set pathname(E){this.location.pathname=E}pushState(E,S,H){ue()?this._history.pushState(E,S,H):this.location.hash=H}replaceState(E,S,H){ue()?this._history.replaceState(E,S,H):this.location.hash=H}forward(){this._history.forward()}back(){this._history.back()}historyGo(E=0){this._history.go(E)}getState(){return this._history.state}}return _.\u0275fac=function(E){return new(E||_)(v.LFG(Z))},_.\u0275prov=v.Yz7({token:_,factory:function(){return new F((0,v.LFG)(Z))},providedIn:"platform"}),_})();function ue(){return!!window.history.pushState}function Ie(_,T){if(0==_.length)return T;if(0==T.length)return _;let E=0;return _.endsWith("/")&&E++,T.startsWith("/")&&E++,2==E?_+T.substring(1):1==E?_+T:_+"/"+T}function te(_){const T=_.match(/#|\?|$/),E=T&&T.index||_.length;return _.slice(0,E-("/"===_[E-1]?1:0))+_.slice(E)}function he(_){return _&&"?"!==_[0]?"?"+_:_}let Se=(()=>{class _{historyGo(E){throw new Error("Not implemented")}}return _.\u0275fac=function(E){return new(E||_)},_.\u0275prov=v.Yz7({token:_,factory:function(){return function(_){const T=(0,v.LFG)(Z).location;return new Ae((0,v.LFG)(ne),T&&T.origin||"")}()},providedIn:"root"}),_})();const Ve=new v.OlP("appBaseHref");let Ae=(()=>{class _ extends Se{constructor(E,S){if(super(),this._platformLocation=E,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(E){this._removeListenerFns.push(this._platformLocation.onPopState(E),this._platformLocation.onHashChange(E))}getBaseHref(){return this._baseHref}prepareExternalUrl(E){return Ie(this._baseHref,E)}path(E=!1){const S=this._platformLocation.pathname+he(this._platformLocation.search),H=this._platformLocation.hash;return H&&E?`${S}${H}`:S}pushState(E,S,H,_e){const Me=this.prepareExternalUrl(H+he(_e));this._platformLocation.pushState(E,S,Me)}replaceState(E,S,H,_e){const Me=this.prepareExternalUrl(H+he(_e));this._platformLocation.replaceState(E,S,Me)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(E=0){var S,H;null==(H=(S=this._platformLocation).historyGo)||H.call(S,E)}}return _.\u0275fac=function(E){return new(E||_)(v.LFG(ne),v.LFG(Ve,8))},_.\u0275prov=v.Yz7({token:_,factory:_.\u0275fac}),_})(),ae=(()=>{class _ extends Se{constructor(E,S){super(),this._platformLocation=E,this._baseHref="",this._removeListenerFns=[],null!=S&&(this._baseHref=S)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(E){this._removeListenerFns.push(this._platformLocation.onPopState(E),this._platformLocation.onHashChange(E))}getBaseHref(){return this._baseHref}path(E=!1){let S=this._platformLocation.hash;return null==S&&(S="#"),S.length>0?S.substring(1):S}prepareExternalUrl(E){const S=Ie(this._baseHref,E);return S.length>0?"#"+S:S}pushState(E,S,H,_e){let Me=this.prepareExternalUrl(H+he(_e));0==Me.length&&(Me=this._platformLocation.pathname),this._platformLocation.pushState(E,S,Me)}replaceState(E,S,H,_e){let Me=this.prepareExternalUrl(H+he(_e));0==Me.length&&(Me=this._platformLocation.pathname),this._platformLocation.replaceState(E,S,Me)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(E=0){var S,H;null==(H=(S=this._platformLocation).historyGo)||H.call(S,E)}}return _.\u0275fac=function(E){return new(E||_)(v.LFG(ne),v.LFG(Ve,8))},_.\u0275prov=v.Yz7({token:_,factory:_.\u0275fac}),_})(),ge=(()=>{class _{constructor(E,S){this._subject=new v.vpe,this._urlChangeListeners=[],this._platformStrategy=E;const H=this._platformStrategy.getBaseHref();this._platformLocation=S,this._baseHref=te(st(H)),this._platformStrategy.onPopState(_e=>{this._subject.emit({url:this.path(!0),pop:!0,state:_e.state,type:_e.type})})}path(E=!1){return this.normalize(this._platformStrategy.path(E))}getState(){return this._platformLocation.getState()}isCurrentPathEqualTo(E,S=""){return this.path()==this.normalize(E+he(S))}normalize(E){return _.stripTrailingSlash(function(_,T){return _&&T.startsWith(_)?T.substring(_.length):T}(this._baseHref,st(E)))}prepareExternalUrl(E){return E&&"/"!==E[0]&&(E="/"+E),this._platformStrategy.prepareExternalUrl(E)}go(E,S="",H=null){this._platformStrategy.pushState(H,"",E,S),this._notifyUrlChangeListeners(this.prepareExternalUrl(E+he(S)),H)}replaceState(E,S="",H=null){this._platformStrategy.replaceState(H,"",E,S),this._notifyUrlChangeListeners(this.prepareExternalUrl(E+he(S)),H)}forward(){this._platformStrategy.forward()}back(){this._platformStrategy.back()}historyGo(E=0){var S,H;null==(H=(S=this._platformStrategy).historyGo)||H.call(S,E)}onUrlChange(E){this._urlChangeListeners.push(E),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(S=>{this._notifyUrlChangeListeners(S.url,S.state)}))}_notifyUrlChangeListeners(E="",S){this._urlChangeListeners.forEach(H=>H(E,S))}subscribe(E,S,H){return this._subject.subscribe({next:E,error:S,complete:H})}}return _.normalizeQueryParams=he,_.joinWithSlash=Ie,_.stripTrailingSlash=te,_.\u0275fac=function(E){return new(E||_)(v.LFG(Se),v.LFG(ne))},_.\u0275prov=v.Yz7({token:_,factory:function(){return new ge((0,v.LFG)(Se),(0,v.LFG)(ne))},providedIn:"root"}),_})();function st(_){return _.replace(/\/index.html$/,"")}var ht=(()=>((ht=ht||{})[ht.Decimal=0]="Decimal",ht[ht.Percent=1]="Percent",ht[ht.Currency=2]="Currency",ht[ht.Scientific=3]="Scientific",ht))(),Pt=(()=>((Pt=Pt||{})[Pt.Zero=0]="Zero",Pt[Pt.One=1]="One",Pt[Pt.Two=2]="Two",Pt[Pt.Few=3]="Few",Pt[Pt.Many=4]="Many",Pt[Pt.Other=5]="Other",Pt))(),Rt=(()=>((Rt=Rt||{})[Rt.Format=0]="Format",Rt[Rt.Standalone=1]="Standalone",Rt))(),ut=(()=>((ut=ut||{})[ut.Narrow=0]="Narrow",ut[ut.Abbreviated=1]="Abbreviated",ut[ut.Wide=2]="Wide",ut[ut.Short=3]="Short",ut))(),yt=(()=>((yt=yt||{})[yt.Short=0]="Short",yt[yt.Medium=1]="Medium",yt[yt.Long=2]="Long",yt[yt.Full=3]="Full",yt))(),$e=(()=>(($e=$e||{})[$e.Decimal=0]="Decimal",$e[$e.Group=1]="Group",$e[$e.List=2]="List",$e[$e.PercentSign=3]="PercentSign",$e[$e.PlusSign=4]="PlusSign",$e[$e.MinusSign=5]="MinusSign",$e[$e.Exponential=6]="Exponential",$e[$e.SuperscriptingExponent=7]="SuperscriptingExponent",$e[$e.PerMille=8]="PerMille",$e[$e.Infinity=9]="Infinity",$e[$e.NaN=10]="NaN",$e[$e.TimeSeparator=11]="TimeSeparator",$e[$e.CurrencyDecimal=12]="CurrencyDecimal",$e[$e.CurrencyGroup=13]="CurrencyGroup",$e))();function be(_,T){return Qt((0,v.cg1)(_)[v.wAp.DateFormat],T)}function ee(_,T){return Qt((0,v.cg1)(_)[v.wAp.TimeFormat],T)}function oe(_,T){return Qt((0,v.cg1)(_)[v.wAp.DateTimeFormat],T)}function Le(_,T){const E=(0,v.cg1)(_),S=E[v.wAp.NumberSymbols][T];if(void 0===S){if(T===$e.CurrencyDecimal)return E[v.wAp.NumberSymbols][$e.Decimal];if(T===$e.CurrencyGroup)return E[v.wAp.NumberSymbols][$e.Group]}return S}const nn=v.kL8;function $n(_){if(!_[v.wAp.ExtraData])throw new Error(`Missing extra locale data for the locale "${_[v.wAp.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function Qt(_,T){for(let E=T;E>-1;E--)if(void 0!==_[E])return _[E];throw new Error("Locale data API: locale data undefined")}function Mr(_){const[T,E]=_.split(":");return{hours:+T,minutes:+E}}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 Ue=(()=>((Ue=Ue||{})[Ue.Short=0]="Short",Ue[Ue.ShortGMT=1]="ShortGMT",Ue[Ue.Long=2]="Long",Ue[Ue.Extended=3]="Extended",Ue))(),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))(),xe=(()=>((xe=xe||{})[xe.DayPeriods=0]="DayPeriods",xe[xe.Days=1]="Days",xe[xe.Months=2]="Months",xe[xe.Eras=3]="Eras",xe))();function pt(_,T,E,S){let H=function(_){if(En(_))return _;if("number"==typeof _&&!isNaN(_))return new Date(_);if("string"==typeof _){if(_=_.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(_)){const[H,_e=1,Me=1]=_.split("-").map(He=>+He);return _t(H,_e-1,Me)}const E=parseFloat(_);if(!isNaN(_-E))return new Date(E);let S;if(S=_.match(Q))return function(_){const T=new Date(0);let E=0,S=0;const H=_[8]?T.setUTCFullYear:T.setFullYear,_e=_[8]?T.setUTCHours:T.setHours;_[9]&&(E=Number(_[9]+_[10]),S=Number(_[9]+_[11])),H.call(T,Number(_[1]),Number(_[2])-1,Number(_[3]));const Me=Number(_[4]||0)-E,He=Number(_[5]||0)-S,zt=Number(_[6]||0),Xt=Math.floor(1e3*parseFloat("0."+(_[7]||0)));return _e.call(T,Me,He,zt,Xt),T}(S)}const T=new Date(_);if(!En(T))throw new Error(`Unable to convert "${_}" into a date`);return T}(_);T=qt(E,T)||T;let He,Me=[];for(;T;){if(He=Pe.exec(T),!He){Me.push(T);break}{Me=Me.concat(He.slice(1));const Wt=Me.pop();if(!Wt)break;T=Wt}}let zt=H.getTimezoneOffset();S&&(zt=Fr(S,zt),H=function(_,T,E){const H=_.getTimezoneOffset();return function(_,T){return(_=new Date(_.getTime())).setMinutes(_.getMinutes()+T),_}(_,-1*(Fr(T,H)-H))}(H,S));let Xt="";return Me.forEach(Wt=>{const mt=function(_){if(sr[_])return sr[_];let T;switch(_){case"G":case"GG":case"GGG":T=xt(xe.Eras,ut.Abbreviated);break;case"GGGG":T=xt(xe.Eras,ut.Wide);break;case"GGGGG":T=xt(xe.Eras,ut.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=Nn(1);break;case"YY":T=Nn(2,!0);break;case"YYY":T=Nn(3);break;case"YYYY":T=Nn(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=xt(xe.Months,ut.Abbreviated);break;case"MMMM":T=xt(xe.Months,ut.Wide);break;case"MMMMM":T=xt(xe.Months,ut.Narrow);break;case"LLL":T=xt(xe.Months,ut.Abbreviated,Rt.Standalone);break;case"LLLL":T=xt(xe.Months,ut.Wide,Rt.Standalone);break;case"LLLLL":T=xt(xe.Months,ut.Narrow,Rt.Standalone);break;case"w":T=un(1);break;case"ww":T=un(2);break;case"W":T=un(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=xt(xe.Days,ut.Abbreviated,Rt.Standalone);break;case"cccc":T=xt(xe.Days,ut.Wide,Rt.Standalone);break;case"ccccc":T=xt(xe.Days,ut.Narrow,Rt.Standalone);break;case"cccccc":T=xt(xe.Days,ut.Short,Rt.Standalone);break;case"E":case"EE":case"EEE":T=xt(xe.Days,ut.Abbreviated);break;case"EEEE":T=xt(xe.Days,ut.Wide);break;case"EEEEE":T=xt(xe.Days,ut.Narrow);break;case"EEEEEE":T=xt(xe.Days,ut.Short);break;case"a":case"aa":case"aaa":T=xt(xe.DayPeriods,ut.Abbreviated);break;case"aaaa":T=xt(xe.DayPeriods,ut.Wide);break;case"aaaaa":T=xt(xe.DayPeriods,ut.Narrow);break;case"b":case"bb":case"bbb":T=xt(xe.DayPeriods,ut.Abbreviated,Rt.Standalone,!0);break;case"bbbb":T=xt(xe.DayPeriods,ut.Wide,Rt.Standalone,!0);break;case"bbbbb":T=xt(xe.DayPeriods,ut.Narrow,Rt.Standalone,!0);break;case"B":case"BB":case"BBB":T=xt(xe.DayPeriods,ut.Abbreviated,Rt.Format,!0);break;case"BBBB":T=xt(xe.DayPeriods,ut.Wide,Rt.Format,!0);break;case"BBBBB":T=xt(xe.DayPeriods,ut.Narrow,Rt.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=Dt(Ue.Short);break;case"ZZZZZ":T=Dt(Ue.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":T=Dt(Ue.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":T=Dt(Ue.Long);break;default:return null}return sr[_]=T,T}(Wt);Xt+=mt?mt(H,E,zt):"''"===Wt?"'":Wt.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),Xt}function _t(_,T,E){const S=new Date(0);return S.setFullYear(_,T,E),S.setHours(0,0,0),S}function qt(_,T){const E=function(_){return(0,v.cg1)(_)[v.wAp.LocaleId]}(_);if(Te[E]=Te[E]||{},Te[E][T])return Te[E][T];let S="";switch(T){case"shortDate":S=be(_,yt.Short);break;case"mediumDate":S=be(_,yt.Medium);break;case"longDate":S=be(_,yt.Long);break;case"fullDate":S=be(_,yt.Full);break;case"shortTime":S=ee(_,yt.Short);break;case"mediumTime":S=ee(_,yt.Medium);break;case"longTime":S=ee(_,yt.Long);break;case"fullTime":S=ee(_,yt.Full);break;case"short":const H=qt(_,"shortTime"),_e=qt(_,"shortDate");S=sn(oe(_,yt.Short),[H,_e]);break;case"medium":const Me=qt(_,"mediumTime"),He=qt(_,"mediumDate");S=sn(oe(_,yt.Medium),[Me,He]);break;case"long":const zt=qt(_,"longTime"),Xt=qt(_,"longDate");S=sn(oe(_,yt.Long),[zt,Xt]);break;case"full":const Wt=qt(_,"fullTime"),mt=qt(_,"fullDate");S=sn(oe(_,yt.Full),[Wt,mt])}return S&&(Te[E][T]=S),S}function sn(_,T){return T&&(_=_.replace(/\{([^}]+)}/g,function(E,S){return null!=T&&S in T?T[S]:E})),_}function Zt(_,T,E="-",S,H){let _e="";(_<0||H&&_<=0)&&(H?_=1-_:(_=-_,_e=E));let Me=String(_);for(;Me.length<T;)Me="0"+Me;return S&&(Me=Me.substr(Me.length-T)),_e+Me}function ze(_,T,E=0,S=!1,H=!1){return function(_e,Me){let He=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 "${_}".`)}}(_,_e);if((E>0||He>-E)&&(He+=E),_===Ne.Hours)0===He&&-12===E&&(He=12);else if(_===Ne.FractionalSeconds)return function(_,T){return Zt(_,3).substr(0,T)}(He,T);const zt=Le(Me,$e.MinusSign);return Zt(He,T,zt,S,H)}}function xt(_,T,E=Rt.Format,S=!1){return function(H,_e){return function(_,T,E,S,H,_e){switch(E){case xe.Months:return function(_,T,E){const S=(0,v.cg1)(_),_e=Qt([S[v.wAp.MonthsFormat],S[v.wAp.MonthsStandalone]],T);return Qt(_e,E)}(T,H,S)[_.getMonth()];case xe.Days:return function(_,T,E){const S=(0,v.cg1)(_),_e=Qt([S[v.wAp.DaysFormat],S[v.wAp.DaysStandalone]],T);return Qt(_e,E)}(T,H,S)[_.getDay()];case xe.DayPeriods:const Me=_.getHours(),He=_.getMinutes();if(_e){const Xt=function(_){const T=(0,v.cg1)(_);return $n(T),(T[v.wAp.ExtraData][2]||[]).map(S=>"string"==typeof S?Mr(S):[Mr(S[0]),Mr(S[1])])}(T),Wt=function(_,T,E){const S=(0,v.cg1)(_);$n(S);const _e=Qt([S[v.wAp.ExtraData][0],S[v.wAp.ExtraData][1]],T)||[];return Qt(_e,E)||[]}(T,H,S),mt=Xt.findIndex(on=>{if(Array.isArray(on)){const[Gt,An]=on,Cn=Me>=Gt.hours&&He>=Gt.minutes,Er=Me<An.hours||Me===An.hours&&He<An.minutes;if(Gt.hours<An.hours){if(Cn&&Er)return!0}else if(Cn||Er)return!0}else if(on.hours===Me&&on.minutes===He)return!0;return!1});if(-1!==mt)return Wt[mt]}return function(_,T,E){const S=(0,v.cg1)(_),_e=Qt([S[v.wAp.DayPeriodsFormat],S[v.wAp.DayPeriodsStandalone]],T);return Qt(_e,E)}(T,H,S)[Me<12?0:1];case xe.Eras:return function(_,T){return Qt((0,v.cg1)(_)[v.wAp.Eras],T)}(T,S)[_.getFullYear()<=0?0:1];default:throw new Error(`unexpected translation type ${E}`)}}(H,_e,_,T,E,S)}}function Dt(_){return function(T,E,S){const H=-1*S,_e=Le(E,$e.MinusSign),Me=H>0?Math.floor(H/60):Math.ceil(H/60);switch(_){case Ue.Short:return(H>=0?"+":"")+Zt(Me,2,_e)+Zt(Math.abs(H%60),2,_e);case Ue.ShortGMT:return"GMT"+(H>=0?"+":"")+Zt(Me,1,_e);case Ue.Long:return"GMT"+(H>=0?"+":"")+Zt(Me,2,_e)+":"+Zt(Math.abs(H%60),2,_e);case Ue.Extended:return 0===S?"Z":(H>=0?"+":"")+Zt(Me,2,_e)+":"+Zt(Math.abs(H%60),2,_e);default:throw new Error(`Unknown zone width "${_}"`)}}}function ur(_){return _t(_.getFullYear(),_.getMonth(),_.getDate()+(4-_.getDay()))}function un(_,T=!1){return function(E,S){let H;if(T){const _e=new Date(E.getFullYear(),E.getMonth(),1).getDay()-1,Me=E.getDate();H=1+Math.floor((Me+_e)/7)}else{const _e=ur(E),Me=function(_){const T=_t(_,0,1).getDay();return _t(_,0,1+(T<=4?4:11)-T)}(_e.getFullYear()),He=_e.getTime()-Me.getTime();H=1+Math.round(He/6048e5)}return Zt(H,_,Le(S,$e.MinusSign))}}function Nn(_,T=!1){return function(E,S){return Zt(ur(E).getFullYear(),_,Le(S,$e.MinusSign),T)}}const sr={};function Fr(_,T){_=_.replace(/:/g,"");const E=Date.parse("Jan 01, 1970 00:00:00 "+_)/6e4;return isNaN(E)?T:E}function En(_){return _ instanceof Date&&!isNaN(_.valueOf())}const wt=/^(\d+)?\.((\d+)(-(\d+))?)?$/,x="0";function gt(_){const T=parseInt(_);if(isNaN(T))throw new Error("Invalid integer literal when parsing "+_);return T}class Qe{}let Zn=(()=>{class _ extends Qe{constructor(E){super(),this.locale=E}getPluralCategory(E,S){switch(nn(S||this.locale)(E)){case Pt.Zero:return"zero";case Pt.One:return"one";case Pt.Two:return"two";case Pt.Few:return"few";case Pt.Many:return"many";default:return"other"}}}return _.\u0275fac=function(E){return new(E||_)(v.LFG(v.soG))},_.\u0275prov=v.Yz7({token:_,factory:_.\u0275fac}),_})();function Yr(_,T){T=encodeURIComponent(T);for(const E of _.split(";")){const S=E.indexOf("="),[H,_e]=-1==S?[E,""]:[E.slice(0,S),E.slice(S+1)];if(H.trim()===T)return decodeURIComponent(_e)}return null}let Fn=(()=>{class _{constructor(E,S,H,_e){this._iterableDiffers=E,this._keyValueDiffers=S,this._ngEl=H,this._renderer=_e,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}set klass(E){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof E?E.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}set ngClass(E){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof E?E.split(/\s+/):E,this._rawClass&&((0,v.sIi)(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}ngDoCheck(){if(this._iterableDiffer){const E=this._iterableDiffer.diff(this._rawClass);E&&this._applyIterableChanges(E)}else if(this._keyValueDiffer){const E=this._keyValueDiffer.diff(this._rawClass);E&&this._applyKeyValueChanges(E)}}_applyKeyValueChanges(E){E.forEachAddedItem(S=>this._toggleClass(S.key,S.currentValue)),E.forEachChangedItem(S=>this._toggleClass(S.key,S.currentValue)),E.forEachRemovedItem(S=>{S.previousValue&&this._toggleClass(S.key,!1)})}_applyIterableChanges(E){E.forEachAddedItem(S=>{if("string"!=typeof S.item)throw new Error(`NgClass can only toggle CSS classes expressed as strings, got ${(0,v.AaK)(S.item)}`);this._toggleClass(S.item,!0)}),E.forEachRemovedItem(S=>this._toggleClass(S.item,!1))}_applyClasses(E){E&&(Array.isArray(E)||E instanceof Set?E.forEach(S=>this._toggleClass(S,!0)):Object.keys(E).forEach(S=>this._toggleClass(S,!!E[S])))}_removeClasses(E){E&&(Array.isArray(E)||E instanceof Set?E.forEach(S=>this._toggleClass(S,!1)):Object.keys(E).forEach(S=>this._toggleClass(S,!1)))}_toggleClass(E,S){(E=E.trim())&&E.split(/\s+/g).forEach(H=>{S?this._renderer.addClass(this._ngEl.nativeElement,H):this._renderer.removeClass(this._ngEl.nativeElement,H)})}}return _.\u0275fac=function(E){return new(E||_)(v.Y36(v.ZZ4),v.Y36(v.aQg),v.Y36(v.SBq),v.Y36(v.Qsj))},_.\u0275dir=v.lG2({type:_,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"}}),_})(),Lr=(()=>{class _{constructor(E){this._viewContainerRef=E,this._componentRef=null,this._moduleRef=null}ngOnChanges(E){if(this._viewContainerRef.clear(),this._componentRef=null,this.ngComponentOutlet){const S=this.ngComponentOutletInjector||this._viewContainerRef.parentInjector;if(E.ngComponentOutletNgModuleFactory)if(this._moduleRef&&this._moduleRef.destroy(),this.ngComponentOutletNgModuleFactory){const Me=S.get(v.h0i);this._moduleRef=this.ngComponentOutletNgModuleFactory.create(Me.injector)}else this._moduleRef=null;const _e=(this._moduleRef?this._moduleRef.componentFactoryResolver:S.get(v._Vd)).resolveComponentFactory(this.ngComponentOutlet);this._componentRef=this._viewContainerRef.createComponent(_e,this._viewContainerRef.length,S,this.ngComponentOutletContent)}}ngOnDestroy(){this._moduleRef&&this._moduleRef.destroy()}}return _.\u0275fac=function(E){return new(E||_)(v.Y36(v.s_b))},_.\u0275dir=v.lG2({type:_,selectors:[["","ngComponentOutlet",""]],inputs:{ngComponentOutlet:"ngComponentOutlet",ngComponentOutletInjector:"ngComponentOutletInjector",ngComponentOutletContent:"ngComponentOutletContent",ngComponentOutletNgModuleFactory:"ngComponentOutletNgModuleFactory"},features:[v.TTD]}),_})();class Qr{constructor(T,E,S,H){this.$implicit=T,this.ngForOf=E,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 jn=(()=>{class _{constructor(E,S,H){this._viewContainer=E,this._template=S,this._differs=H,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForOf(E){this._ngForOf=E,this._ngForOfDirty=!0}set ngForTrackBy(E){this._trackByFn=E}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(E){E&&(this._template=E)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const E=this._ngForOf;if(!this._differ&&E)try{this._differ=this._differs.find(E).create(this.ngForTrackBy)}catch(S){throw new Error(`Cannot find a differ supporting object '${E}' of type '${function(_){return _.name||typeof _}(E)}'. NgFor only supports binding to Iterables such as Arrays.`)}}if(this._differ){const E=this._differ.diff(this._ngForOf);E&&this._applyChanges(E)}}_applyChanges(E){const S=[];E.forEachOperation((H,_e,Me)=>{if(null==H.previousIndex){const He=this._viewContainer.createEmbeddedView(this._template,new Qr(null,this._ngForOf,-1,-1),null===Me?void 0:Me),zt=new Ht(H,He);S.push(zt)}else if(null==Me)this._viewContainer.remove(null===_e?void 0:_e);else if(null!==_e){const He=this._viewContainer.get(_e);this._viewContainer.move(He,Me);const zt=new Ht(H,He);S.push(zt)}});for(let H=0;H<S.length;H++)this._perViewChange(S[H].view,S[H].record);for(let H=0,_e=this._viewContainer.length;H<_e;H++){const Me=this._viewContainer.get(H);Me.context.index=H,Me.context.count=_e,Me.context.ngForOf=this._ngForOf}E.forEachIdentityChange(H=>{this._viewContainer.get(H.currentIndex).context.$implicit=H.item})}_perViewChange(E,S){E.context.$implicit=S.item}static ngTemplateContextGuard(E,S){return!0}}return _.\u0275fac=function(E){return new(E||_)(v.Y36(v.s_b),v.Y36(v.Rgc),v.Y36(v.ZZ4))},_.\u0275dir=v.lG2({type:_,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}}),_})();class Ht{constructor(T,E){this.record=T,this.view=E}}let dr=(()=>{class _{constructor(E,S){this._viewContainer=E,this._context=new _r,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=S}set ngIf(E){this._context.$implicit=this._context.ngIf=E,this._updateView()}set ngIfThen(E){qr("ngIfThen",E),this._thenTemplateRef=E,this._thenViewRef=null,this._updateView()}set ngIfElse(E){qr("ngIfElse",E),this._elseTemplateRef=E,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(E,S){return!0}}return _.\u0275fac=function(E){return new(E||_)(v.Y36(v.s_b),v.Y36(v.Rgc))},_.\u0275dir=v.lG2({type:_,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}}),_})();class _r{constructor(){this.$implicit=null,this.ngIf=null}}function qr(_,T){if(T&&!T.createEmbeddedView)throw new Error(`${_} must be a TemplateRef, but received '${(0,v.AaK)(T)}'.`)}class Pr{constructor(T,E){this._viewContainerRef=T,this._templateRef=E,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 _n=(()=>{class _{constructor(){this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(E){this._ngSwitch=E,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(E){this._defaultViews||(this._defaultViews=[]),this._defaultViews.push(E)}_matchCase(E){const S=E==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(E){if(this._defaultViews&&E!==this._defaultUsed){this._defaultUsed=E;for(let S=0;S<this._defaultViews.length;S++)this._defaultViews[S].enforceState(E)}}}return _.\u0275fac=function(E){return new(E||_)},_.\u0275dir=v.lG2({type:_,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"}}),_})(),Sn=(()=>{class _{constructor(E,S,H){this.ngSwitch=H,H._addCase(),this._view=new Pr(E,S)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}return _.\u0275fac=function(E){return new(E||_)(v.Y36(v.s_b),v.Y36(v.Rgc),v.Y36(_n,9))},_.\u0275dir=v.lG2({type:_,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"}}),_})(),ln=(()=>{class _{constructor(E,S,H){H._addDefault(new Pr(E,S))}}return _.\u0275fac=function(E){return new(E||_)(v.Y36(v.s_b),v.Y36(v.Rgc),v.Y36(_n,9))},_.\u0275dir=v.lG2({type:_,selectors:[["","ngSwitchDefault",""]]}),_})(),Or=(()=>{class _{constructor(E,S,H){this._ngEl=E,this._differs=S,this._renderer=H,this._ngStyle=null,this._differ=null}set ngStyle(E){this._ngStyle=E,!this._differ&&E&&(this._differ=this._differs.find(E).create())}ngDoCheck(){if(this._differ){const E=this._differ.diff(this._ngStyle);E&&this._applyChanges(E)}}_setStyle(E,S){const[H,_e]=E.split(".");null!=(S=null!=S&&_e?`${S}${_e}`:S)?this._renderer.setStyle(this._ngEl.nativeElement,H,S):this._renderer.removeStyle(this._ngEl.nativeElement,H)}_applyChanges(E){E.forEachRemovedItem(S=>this._setStyle(S.key,null)),E.forEachAddedItem(S=>this._setStyle(S.key,S.currentValue)),E.forEachChangedItem(S=>this._setStyle(S.key,S.currentValue))}}return _.\u0275fac=function(E){return new(E||_)(v.Y36(v.SBq),v.Y36(v.aQg),v.Y36(v.Qsj))},_.\u0275dir=v.lG2({type:_,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}}),_})(),Zr=(()=>{class _{constructor(E){this._viewContainerRef=E,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null}ngOnChanges(E){if(E.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&&E.ngTemplateOutletContext&&this.ngTemplateOutletContext&&(this._viewRef.context=this.ngTemplateOutletContext)}}return _.\u0275fac=function(E){return new(E||_)(v.Y36(v.s_b))},_.\u0275dir=v.lG2({type:_,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet"},features:[v.TTD]}),_})();function Jt(_,T){return Error(`InvalidPipeArgument: '${T}' for pipe '${(0,v.AaK)(_)}'`)}class Oi{createSubscription(T,E){return T.subscribe({next:E,error:S=>{throw S}})}dispose(T){T.unsubscribe()}onDestroy(T){T.unsubscribe()}}class ds{createSubscription(T,E){return T.then(E,S=>{throw S})}dispose(T){}onDestroy(T){}}const oi=new ds,ai=new Oi;let Ms=(()=>{class _{constructor(E){this._ref=E,this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null}ngOnDestroy(){this._subscription&&this._dispose()}transform(E){return this._obj?E!==this._obj?(this._dispose(),this.transform(E)):this._latestValue:(E&&this._subscribe(E),this._latestValue)}_subscribe(E){this._obj=E,this._strategy=this._selectStrategy(E),this._subscription=this._strategy.createSubscription(E,S=>this._updateLatestValue(E,S))}_selectStrategy(E){if((0,v.QGY)(E))return oi;if((0,v.F4k)(E))return ai;throw Jt(_,E)}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(E,S){E===this._obj&&(this._latestValue=S,this._ref.markForCheck())}}return _.\u0275fac=function(E){return new(E||_)(v.Y36(v.sBO,16))},_.\u0275pipe=v.Yjl({name:"async",type:_,pure:!1}),_})();const Ni=new v.OlP("DATE_PIPE_DEFAULT_TIMEZONE");let ui=(()=>{class _{constructor(E,S){this.locale=E,this.defaultTimezone=S}transform(E,S="mediumDate",H,_e){var Me;if(null==E||""===E||E!=E)return null;try{return pt(E,S,_e||this.locale,null!=(Me=null!=H?H:this.defaultTimezone)?Me:void 0)}catch(He){throw Jt(_,He.message)}}}return _.\u0275fac=function(E){return new(E||_)(v.Y36(v.soG,16),v.Y36(Ni,24))},_.\u0275pipe=v.Yjl({name:"date",type:_,pure:!0}),_})(),di=(()=>{class _{transform(E){return JSON.stringify(E,null,2)}}return _.\u0275fac=function(E){return new(E||_)},_.\u0275pipe=v.Yjl({name:"json",type:_,pure:!1}),_})(),Jr=(()=>{class _{constructor(E){this.differs=E,this.keyValues=[],this.compareFn=Li}transform(E,S=Li){if(!E||!(E instanceof Map)&&"object"!=typeof E)return null;this.differ||(this.differ=this.differs.find(E).create());const H=this.differ.diff(E),_e=S!==this.compareFn;return H&&(this.keyValues=[],H.forEachItem(Me=>{this.keyValues.push(function(_,T){return{key:_,value:T}}(Me.key,Me.currentValue))})),(H||_e)&&(this.keyValues.sort(S),this.compareFn=S),this.keyValues}}return _.\u0275fac=function(E){return new(E||_)(v.Y36(v.aQg,16))},_.\u0275pipe=v.Yjl({name:"keyvalue",type:_,pure:!1}),_})();function Li(_,T){const E=_.key,S=T.key;if(E===S)return 0;if(void 0===E)return 1;if(void 0===S)return-1;if(null===E)return 1;if(null===S)return-1;if("string"==typeof E&&"string"==typeof S)return E<S?-1:1;if("number"==typeof E&&"number"==typeof S)return E-S;if("boolean"==typeof E&&"boolean"==typeof S)return E<S?-1:1;const H=String(E),_e=String(S);return H==_e?0:H<_e?-1:1}let fs=(()=>{class _{constructor(E){this._locale=E}transform(E,S,H){if(!function(_){return!(null==_||""===_||_!=_)}(E))return null;H=H||this._locale;try{return function(_,T,E){return function(_,T,E,S,H,_e,Me=!1){let He="",zt=!1;if(isFinite(_)){let Xt=function(_){let S,H,_e,Me,He,T=Math.abs(_)+"",E=0;for((H=T.indexOf("."))>-1&&(T=T.replace(".","")),(_e=T.search(/e/i))>0?(H<0&&(H=_e),H+=+T.slice(_e+1),T=T.substring(0,_e)):H<0&&(H=T.length),_e=0;T.charAt(_e)===x;_e++);if(_e===(He=T.length))S=[0],H=1;else{for(He--;T.charAt(He)===x;)He--;for(H-=_e,S=[],Me=0;_e<=He;_e++,Me++)S[Me]=Number(T.charAt(_e))}return H>22&&(S=S.splice(0,21),E=H-1,H=1),{digits:S,exponent:E,integerLen:H}}(_);Me&&(Xt=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),_}(Xt));let Wt=T.minInt,mt=T.minFrac,on=T.maxFrac;if(_e){const nt=_e.match(wt);if(null===nt)throw new Error(`${_e} is not a valid digit info`);const Ui=nt[1],Zs=nt[3],yi=nt[5];null!=Ui&&(Wt=gt(Ui)),null!=Zs&&(mt=gt(Zs)),null!=yi?on=gt(yi):null!=Zs&&mt>on&&(on=mt)}!function(_,T,E){if(T>E)throw new Error(`The minimum number of digits after fraction (${T}) is higher than the maximum (${E}).`);let S=_.digits,H=S.length-_.integerLen;const _e=Math.min(Math.max(T,H),E);let Me=_e+_.integerLen,He=S[Me];if(Me>0){S.splice(Math.max(_.integerLen,Me));for(let mt=Me;mt<S.length;mt++)S[mt]=0}else{H=Math.max(0,H),_.integerLen=1,S.length=Math.max(1,Me=_e+1),S[0]=0;for(let mt=1;mt<Me;mt++)S[mt]=0}if(He>=5)if(Me-1<0){for(let mt=0;mt>Me;mt--)S.unshift(0),_.integerLen++;S.unshift(1),_.integerLen++}else S[Me-1]++;for(;H<Math.max(0,_e);H++)S.push(0);let zt=0!==_e;const Xt=T+_.integerLen,Wt=S.reduceRight(function(mt,on,Gt,An){return An[Gt]=(on+=mt)<10?on:on-10,zt&&(0===An[Gt]&&Gt>=Xt?An.pop():zt=!1),on>=10?1:0},0);Wt&&(S.unshift(Wt),_.integerLen++)}(Xt,mt,on);let Gt=Xt.digits,An=Xt.integerLen;const Cn=Xt.exponent;let Er=[];for(zt=Gt.every(nt=>!nt);An<Wt;An++)Gt.unshift(0);for(;An<0;An++)Gt.unshift(0);An>0?Er=Gt.splice(An,Gt.length):(Er=Gt,Gt=[0]);const Cr=[];for(Gt.length>=T.lgSize&&Cr.unshift(Gt.splice(-T.lgSize,Gt.length).join(""));Gt.length>T.gSize;)Cr.unshift(Gt.splice(-T.gSize,Gt.length).join(""));Gt.length&&Cr.unshift(Gt.join("")),He=Cr.join(Le(E,S)),Er.length&&(He+=Le(E,H)+Er.join("")),Cn&&(He+=Le(E,$e.Exponential)+"+"+Cn)}else He=Le(E,$e.Infinity);return He=_<0&&!zt?T.negPre+He+T.negSuf:T.posPre+He+T.posSuf,He}(_,function(_,T="-"){const E={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},S=_.split(";"),H=S[0],_e=S[1],Me=-1!==H.indexOf(".")?H.split("."):[H.substring(0,H.lastIndexOf(x)+1),H.substring(H.lastIndexOf(x)+1)],He=Me[0],zt=Me[1]||"";E.posPre=He.substr(0,He.indexOf("#"));for(let Wt=0;Wt<zt.length;Wt++){const mt=zt.charAt(Wt);mt===x?E.minFrac=E.maxFrac=Wt+1:"#"===mt?E.maxFrac=Wt+1:E.posSuf+=mt}const Xt=He.split(",");if(E.gSize=Xt[1]?Xt[1].length:0,E.lgSize=Xt[2]||Xt[1]?(Xt[2]||Xt[1]).length:0,_e){const Wt=H.length-E.posPre.length-E.posSuf.length,mt=_e.indexOf("#");E.negPre=_e.substr(0,mt).replace(/'/g,""),E.negSuf=_e.substr(mt+Wt).replace(/'/g,"")}else E.negPre=T+E.posPre,E.negSuf=E.posSuf;return E}(function(_,T){return(0,v.cg1)(_)[v.wAp.NumberFormats][T]}(T,ht.Decimal),Le(T,$e.MinusSign)),T,$e.Group,$e.Decimal,E)}(function(_){if("string"==typeof _&&!isNaN(Number(_)-parseFloat(_)))return Number(_);if("number"!=typeof _)throw new Error(`${_} is not a number`);return _}(E),H,S)}catch(_e){throw Jt(_,_e.message)}}}return _.\u0275fac=function(E){return new(E||_)(v.Y36(v.soG,16))},_.\u0275pipe=v.Yjl({name:"number",type:_,pure:!0}),_})();let vr=(()=>{class _{transform(E,S,H){if(null==E)return null;if(!this.supports(E))throw Jt(_,E);return E.slice(S,H)}supports(E){return"string"==typeof E||Array.isArray(E)}}return _.\u0275fac=function(E){return new(E||_)},_.\u0275pipe=v.Yjl({name:"slice",type:_,pure:!1}),_})(),hs=(()=>{class _{}return _.\u0275fac=function(E){return new(E||_)},_.\u0275mod=v.oAB({type:_}),_.\u0275inj=v.cJS({providers:[{provide:Qe,useClass:Zn}]}),_})();const ir="browser";function Ps(_){return _===ir}let gi=(()=>{class _{}return _.\u0275prov=(0,v.Yz7)({token:_,providedIn:"root",factory:()=>new Xr((0,v.LFG)(Z),window)}),_})();class Xr{constructor(T,E){this.document=T,this.window=E,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 E=function(_,T){const E=_.getElementById(T)||_.getElementsByName(T)[0];if(E)return E;if("function"==typeof _.createTreeWalker&&_.body&&(_.body.createShadowRoot||_.body.attachShadow)){const S=_.createTreeWalker(_.body,NodeFilter.SHOW_ELEMENT);let H=S.currentNode;for(;H;){const _e=H.shadowRoot;if(_e){const Me=_e.getElementById(T)||_e.querySelector(`[name="${T}"]`);if(Me)return Me}H=S.nextNode()}}return null}(this.document,T);E&&(this.scrollToElement(E),this.attemptFocus(E))}setHistoryScrollRestoration(T){if(this.supportScrollRestoration()){const E=this.window.history;E&&E.scrollRestoration&&(E.scrollRestoration=T)}}scrollToElement(T){const E=T.getBoundingClientRect(),S=E.left+this.window.pageXOffset,H=E.top+this.window.pageYOffset,_e=this.offset();this.window.scrollTo(S-_e[0],H-_e[1])}attemptFocus(T){return T.focus(),this.document.activeElement===T}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const T=Br(this.window.history)||Br(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 Br(_){return Object.getOwnPropertyDescriptor(_,"scrollRestoration")}class Bi{}},4522:(je,ce,I)=>{I.d(ce,{TP:()=>nr,eN:()=>$e,JF:()=>Qt,WM:()=>W});var v=I(6019),g=I(6079),ie=I(2411),de=I(5548),K=I(6700),L=I(8735),Z=I(8053);class ne{}class j{}class W{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),Ue=Pe.toLowerCase(),Ne=Q.slice(Te+1).trim();this.maybeSetNormalizedName(Pe,Ue),this.headers.has(Ue)?this.headers.get(Ue).push(Ne):this.headers.set(Ue,[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 W?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 W;return Q.lazyInit=this.lazyInit&&this.lazyInit instanceof W?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 Ue=Y.value;if(Ue){let Ne=this.headers.get(Q);if(!Ne)return;Ne=Ne.filter(xe=>-1===Ue.indexOf(xe)),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 F{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(we){return encodeURIComponent(we).replace(ve,(Y,Q)=>{var Te;return null!=(Te=Ie[Q])?Te:Y})}function he(we){return`${we}`}class Se{constructor(Y={}){if(this.updates=null,this.cloneFrom=null,this.encoder=Y.encoder||new F,Y.fromString){if(Y.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function(we,Y){const Q=new Map;return we.length>0&&we.replace(/^\?/,"").split("&").forEach(Pe=>{const Ue=Pe.indexOf("="),[Ne,xe]=-1==Ue?[Y.decodeKey(Pe),""]:[Y.decodeKey(Pe.slice(0,Ue)),Y.decodeValue(Pe.slice(Ue+1))],pt=Q.get(Ne)||[];pt.push(xe),Q.set(Ne,pt)}),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(Ue=>{Q.push({param:Te,value:Ue,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 Se({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 Ve{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 ae(we){return"undefined"!=typeof ArrayBuffer&&we instanceof ArrayBuffer}function ge(we){return"undefined"!=typeof Blob&&we instanceof Blob}function Ye(we){return"undefined"!=typeof FormData&&we instanceof FormData}class st{constructor(Y,Q,Te,Pe){let Ue;if(this.url=Q,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=Y.toUpperCase(),function(we){switch(we){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,Ue=Pe):Ue=Te,Ue&&(this.reportProgress=!!Ue.reportProgress,this.withCredentials=!!Ue.withCredentials,Ue.responseType&&(this.responseType=Ue.responseType),Ue.headers&&(this.headers=Ue.headers),Ue.context&&(this.context=Ue.context),Ue.params&&(this.params=Ue.params)),this.headers||(this.headers=new W),this.context||(this.context=new Ve),this.params){const Ne=this.params.toString();if(0===Ne.length)this.urlWithParams=Q;else{const xe=Q.indexOf("?");this.urlWithParams=Q+(-1===xe?"?":xe<Q.length-1?"&":"")+Ne}}else this.params=new Se,this.urlWithParams=Q}serializeBody(){return null===this.body?null:ae(this.body)||ge(this.body)||Ye(this.body)||"undefined"!=typeof URLSearchParams&&this.body instanceof URLSearchParams||"string"==typeof this.body?this.body:this.body instanceof Se?this.body.toString():"object"==typeof this.body||"boolean"==typeof this.body||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return null===this.body||Ye(this.body)?null:ge(this.body)?this.body.type||null:ae(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof Se?"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 sn;const Q=Y.method||this.method,Te=Y.url||this.url,Pe=Y.responseType||this.responseType,Ue=void 0!==Y.body?Y.body:this.body,Ne=void 0!==Y.withCredentials?Y.withCredentials:this.withCredentials,xe=void 0!==Y.reportProgress?Y.reportProgress:this.reportProgress;let pt=Y.headers||this.headers,_t=Y.params||this.params;const qt=null!=(sn=Y.context)?sn:this.context;return void 0!==Y.setHeaders&&(pt=Object.keys(Y.setHeaders).reduce((Zt,Ot)=>Zt.set(Ot,Y.setHeaders[Ot]),pt)),Y.setParams&&(_t=Object.keys(Y.setParams).reduce((Zt,Ot)=>Zt.set(Ot,Y.setParams[Ot]),_t)),new st(Q,Te,Ue,{params:_t,headers:pt,context:qt,reportProgress:xe,responseType:Pe,withCredentials:Ne})}}var ft=(()=>((ft=ft||{})[ft.Sent=0]="Sent",ft[ft.UploadProgress=1]="UploadProgress",ft[ft.ResponseHeader=2]="ResponseHeader",ft[ft.DownloadProgress=3]="DownloadProgress",ft[ft.Response=4]="Response",ft[ft.User=5]="User",ft))();class ht{constructor(Y,Q=200,Te="OK"){this.headers=Y.headers||new W,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 Pt extends ht{constructor(Y={}){super(Y),this.type=ft.ResponseHeader}clone(Y={}){return new Pt({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 Rt extends ht{constructor(Y={}){super(Y),this.type=ft.Response,this.body=void 0!==Y.body?Y.body:null}clone(Y={}){return new Rt({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 ut extends ht{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 yt(we,Y){return{body:Y,headers:we.headers,context:we.context,observe:we.observe,params:we.params,reportProgress:we.reportProgress,responseType:we.responseType,withCredentials:we.withCredentials}}let $e=(()=>{class we{constructor(Q){this.handler=Q}request(Q,Te,Pe={}){let Ue;if(Q instanceof st)Ue=Q;else{let pt,_t;pt=Pe.headers instanceof W?Pe.headers:new W(Pe.headers),Pe.params&&(_t=Pe.params instanceof Se?Pe.params:new Se({fromObject:Pe.params})),Ue=new st(Q,Te,void 0!==Pe.body?Pe.body:null,{headers:pt,context:Pe.context,params:_t,reportProgress:Pe.reportProgress,responseType:Pe.responseType||"json",withCredentials:Pe.withCredentials})}const Ne=(0,ie.of)(Ue).pipe((0,K.b)(pt=>this.handler.handle(pt)));if(Q instanceof st||"events"===Pe.observe)return Ne;const xe=Ne.pipe((0,L.h)(pt=>pt instanceof Rt));switch(Pe.observe||"body"){case"body":switch(Ue.responseType){case"arraybuffer":return xe.pipe((0,Z.U)(pt=>{if(null!==pt.body&&!(pt.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return pt.body}));case"blob":return xe.pipe((0,Z.U)(pt=>{if(null!==pt.body&&!(pt.body instanceof Blob))throw new Error("Response is not a Blob.");return pt.body}));case"text":return xe.pipe((0,Z.U)(pt=>{if(null!==pt.body&&"string"!=typeof pt.body)throw new Error("Response is not a string.");return pt.body}));default:return xe.pipe((0,Z.U)(pt=>pt.body))}case"response":return xe;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 Se).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,yt(Pe,Te))}post(Q,Te,Pe={}){return this.request("POST",Q,yt(Pe,Te))}put(Q,Te,Pe={}){return this.request("PUT",Q,yt(Pe,Te))}}return we.\u0275fac=function(Q){return new(Q||we)(g.LFG(ne))},we.\u0275prov=g.Yz7({token:we,factory:we.\u0275fac}),we})();class Ar{constructor(Y,Q){this.next=Y,this.interceptor=Q}handle(Y){return this.interceptor.intercept(Y,this.next)}}const nr=new g.OlP("HTTP_INTERCEPTORS");let On=(()=>{class we{intercept(Q,Te){return Te.handle(Q)}}return we.\u0275fac=function(Q){return new(Q||we)},we.\u0275prov=g.Yz7({token:we,factory:we.\u0275fac}),we})();const oe=/^\)\]\}',?\n/;let We=(()=>{class we{constructor(Q){this.xhrFactory=Q}handle(Q){if("JSONP"===Q.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new de.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 Ue=Q.serializeBody();let Ne=null;const xe=()=>{if(null!==Ne)return Ne;const Ot=1223===Pe.status?204:Pe.status,ze=Pe.statusText||"OK",an=new W(Pe.getAllResponseHeaders()),xt=function(we){return"responseURL"in we&&we.responseURL?we.responseURL:/^X-Request-URL:/m.test(we.getAllResponseHeaders())?we.getResponseHeader("X-Request-URL"):null}(Pe)||Q.url;return Ne=new Pt({headers:an,status:Ot,statusText:ze,url:xt}),Ne},pt=()=>{let{headers:Ot,status:ze,statusText:an,url:xt}=xe(),tn=null;204!==ze&&(tn=void 0===Pe.response?Pe.responseText:Pe.response),0===ze&&(ze=tn?200:0);let Dt=ze>=200&&ze<300;if("json"===Q.responseType&&"string"==typeof tn){const yr=tn;tn=tn.replace(oe,"");try{tn=""!==tn?JSON.parse(tn):null}catch(Vt){tn=yr,Dt&&(Dt=!1,tn={error:Vt,text:tn})}}Dt?(Te.next(new Rt({body:tn,headers:Ot,status:ze,statusText:an,url:xt||void 0})),Te.complete()):Te.error(new ut({error:tn,headers:Ot,status:ze,statusText:an,url:xt||void 0}))},_t=Ot=>{const{url:ze}=xe(),an=new ut({error:Ot,status:Pe.status||0,statusText:Pe.statusText||"Unknown Error",url:ze||void 0});Te.error(an)};let qt=!1;const sn=Ot=>{qt||(Te.next(xe()),qt=!0);let ze={type:ft.DownloadProgress,loaded:Ot.loaded};Ot.lengthComputable&&(ze.total=Ot.total),"text"===Q.responseType&&!!Pe.responseText&&(ze.partialText=Pe.responseText),Te.next(ze)},Zt=Ot=>{let ze={type:ft.UploadProgress,loaded:Ot.loaded};Ot.lengthComputable&&(ze.total=Ot.total),Te.next(ze)};return Pe.addEventListener("load",pt),Pe.addEventListener("error",_t),Pe.addEventListener("timeout",_t),Pe.addEventListener("abort",_t),Q.reportProgress&&(Pe.addEventListener("progress",sn),null!==Ue&&Pe.upload&&Pe.upload.addEventListener("progress",Zt)),Pe.send(Ue),Te.next({type:ft.Sent}),()=>{Pe.removeEventListener("error",_t),Pe.removeEventListener("abort",_t),Pe.removeEventListener("load",pt),Pe.removeEventListener("timeout",_t),Q.reportProgress&&(Pe.removeEventListener("progress",sn),null!==Ue&&Pe.upload&&Pe.upload.removeEventListener("progress",Zt)),Pe.readyState!==Pe.DONE&&Pe.abort()}})}}return we.\u0275fac=function(Q){return new(Q||we)(g.LFG(v.JF))},we.\u0275prov=g.Yz7({token:we,factory:we.\u0275fac}),we})();const fn=new g.OlP("XSRF_COOKIE_NAME"),en=new g.OlP("XSRF_HEADER_NAME");class It{}let hn=(()=>{class we{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,v.Mx)(Q,this.cookieName),this.lastCookieString=Q),this.lastToken}}return we.\u0275fac=function(Q){return new(Q||we)(g.LFG(v.K0),g.LFG(g.Lbi),g.LFG(fn))},we.\u0275prov=g.Yz7({token:we,factory:we.\u0275fac}),we})(),nn=(()=>{class we{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 Ue=this.tokenService.getToken();return null!==Ue&&!Q.headers.has(this.headerName)&&(Q=Q.clone({headers:Q.headers.set(this.headerName,Ue)})),Te.handle(Q)}}return we.\u0275fac=function(Q){return new(Q||we)(g.LFG(It),g.LFG(en))},we.\u0275prov=g.Yz7({token:we,factory:we.\u0275fac}),we})(),$n=(()=>{class we{constructor(Q,Te){this.backend=Q,this.injector=Te,this.chain=null}handle(Q){if(null===this.chain){const Te=this.injector.get(nr,[]);this.chain=Te.reduceRight((Pe,Ue)=>new Ar(Pe,Ue),this.backend)}return this.chain.handle(Q)}}return we.\u0275fac=function(Q){return new(Q||we)(g.LFG(j),g.LFG(g.zs3))},we.\u0275prov=g.Yz7({token:we,factory:we.\u0275fac}),we})(),xn=(()=>{class we{static disable(){return{ngModule:we,providers:[{provide:nn,useClass:On}]}}static withOptions(Q={}){return{ngModule:we,providers:[Q.cookieName?{provide:fn,useValue:Q.cookieName}:[],Q.headerName?{provide:en,useValue:Q.headerName}:[]]}}}return we.\u0275fac=function(Q){return new(Q||we)},we.\u0275mod=g.oAB({type:we}),we.\u0275inj=g.cJS({providers:[nn,{provide:nr,useExisting:nn,multi:!0},{provide:It,useClass:hn},{provide:fn,useValue:"XSRF-TOKEN"},{provide:en,useValue:"X-XSRF-TOKEN"}]}),we})(),Qt=(()=>{class we{}return we.\u0275fac=function(Q){return new(Q||we)},we.\u0275mod=g.oAB({type:we}),we.\u0275inj=g.cJS({providers:[$e,{provide:ne,useClass:$n},We,{provide:j,useExisting:We}],imports:[[xn.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]]}),we})()},6079:(je,ce,I)=>{I.d(ce,{deG:()=>y_,tb:()=>ny,AFp:()=>Xm,ip1:()=>ld,CZH:()=>$o,hGG:()=>oT,z2F:()=>Ba,sBO:()=>Rw,Sil:()=>dd,_Vd:()=>Vo,EJc:()=>sy,SBq:()=>$s,qLn:()=>go,vpe:()=>Ws,gxx:()=>Co,tBr:()=>co,XFs:()=>Je,OlP:()=>Mn,zs3:()=>vn,ZZ4:()=>$l,aQg:()=>Wl,soG:()=>Bl,YKP:()=>im,h0i:()=>Zi,PXZ:()=>Dw,R0b:()=>Kr,FiY:()=>Xs,Lbi:()=>ty,g9A:()=>ey,n_E:()=>ka,Qsj:()=>Ub,FYo:()=>xl,JOm:()=>Vs,Tiy:()=>Gc,q3G:()=>Rn,tp0:()=>Ii,Rgc:()=>La,dDg:()=>uy,GfV:()=>tm,s_b:()=>kl,ifc:()=>_t,eFA:()=>py,G48:()=>gw,Gpc:()=>Ie,f3M:()=>R_,X6Q:()=>md,_c5:()=>Xw,VLi:()=>pw,c2e:()=>ry,zSh:()=>Da,wAp:()=>dt,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:()=>F,z3N:()=>ei,qOj:()=>dc,TTD:()=>hs,_Bn:()=>qg,xp6:()=>rh,uIk:()=>pc,Tol:()=>Jp,Gre:()=>hg,ekj:()=>Oc,Suo:()=>Rm,Xpm:()=>cr,lG2:()=>B,Yz7:()=>We,cJS:()=>en,oAB:()=>qn,Yjl:()=>le,Y36:()=>Ia,_UZ:()=>Ap,GkF:()=>Mp,BQk:()=>wc,ynx:()=>bc,qZA:()=>Dc,TgZ:()=>Cc,EpF:()=>Rp,n5z:()=>ns,Ikx:()=>kc,LFG:()=>Gn,$8M:()=>wr,$Z:()=>Ip,NdJ:()=>Ic,CRH:()=>Pm,kcU:()=>Wn,O4$:()=>bn,oxw:()=>Np,ALo:()=>vm,lcZ:()=>Em,xi3:()=>Cm,Dn7:()=>Dm,Hsn:()=>kp,F$t:()=>Fp,Q6J:()=>vc,s9C:()=>Rc,MGl:()=>wl,DdM:()=>lm,VKq:()=>um,WLB:()=>cm,kEZ:()=>dm,l5B:()=>fm,qbA:()=>hm,iGM:()=>Am,MAs:()=>gp,CHM:()=>Xo,oJD:()=>vf,LSH:()=>Cu,kYT:()=>En,Udp:()=>Pc,WFA:()=>Ac,d8E:()=>Lc,YNc:()=>pp,W1O:()=>Fm,_uU:()=>ig,Oqu:()=>Nc,hij:()=>Sl,AsE:()=>Fc,Gf:()=>Mm});var v=I(3405),g=I(1346),ie=I(5548),de=I(8526),K=I(6087),L=I(5234);function Z(){return new v.xQ}function j(e){for(let t in e)if(e[t]===j)return t;throw Error("Could not find renamed property on target object.")}function W(e,t){for(const n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function F(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(F).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=j({__forward_ref__:j});function Ie(e){return e.__forward_ref__=Ie,e.toString=function(){return F(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 ae(e){return"string"==typeof e?e:null==e?"":String(e)}function ge(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():ae(e)}function ft(e,t){const n=t?` in ${t}`:"";throw new Oe("201",`No provider for ${ge(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 We(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function en(e){return{providers:e.providers||[],imports:e.imports||[]}}function It(e){return hn(e,Bn)||hn(e,Qt)}function hn(e,t){return e.hasOwnProperty(t)?e[t]:null}function rr(e){return e&&(e.hasOwnProperty(xn)||e.hasOwnProperty(Mr))?e[xn]:null}const Bn=j({\u0275prov:j}),xn=j({\u0275inj:j}),Qt=j({ngInjectableDef:j}),Mr=j({ngInjectorDef:j});var Je=(()=>((Je=Je||{})[Je.Default=0]="Default",Je[Je.Host=1]="Host",Je[Je.Self=2]="Self",Je[Je.SkipSelf=4]="SkipSelf",Je[Je.Optional=8]="Optional",Je))();let we;function Q(e){const t=we;return we=e,t}function Te(e,t,n){const r=It(e);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:n&Je.Optional?null:void 0!==t?t:void ft(F(e),"Injector")}function Ue(e){return{toString:e}.toString()}var Ne=(()=>((Ne=Ne||{})[Ne.OnPush=0]="OnPush",Ne[Ne.Default=1]="Default",Ne))(),_t=(()=>{return(e=_t||(_t={}))[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",_t;var e})();const qt="undefined"!=typeof globalThis&&globalThis,sn="undefined"!=typeof window&&window,Zt="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,ze=qt||"undefined"!=typeof global&&global||sn||Zt,tn={},Dt=[],yr=j({\u0275cmp:j}),Vt=j({\u0275dir:j}),pn=j({\u0275pipe:j}),ur=j({\u0275mod:j}),un=j({\u0275fac:j}),Nn=j({__NG_ELEMENT_ID__:j});let sr=0;function cr(e){return Ue(()=>{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||Dt,viewQuery:e.viewQuery||null,features:e.features||null,data:e.data||{},encapsulation:e.encapsulation||_t.Emulated,id:"c",styles:e.styles||Dt,_:null,setInput:null,schemas:e.schemas||null,tView:null},s=e.directives,i=e.features,o=e.pipes;return r.id+=sr++,r.inputs=wt(e.inputs,n),r.outputs=wt(e.outputs),i&&i.forEach(a=>a(r)),r.directiveDefs=s?()=>("function"==typeof s?s():s).map(Un):null,r.pipeDefs=o?()=>("function"==typeof o?o():o).map(Rr):null,r})}function Un(e){return x(e)||function(e){return e[Vt]||null}(e)}function Rr(e){return function(e){return e[pn]||null}(e)}const kr={};function qn(e){return Ue(()=>{const t={type:e.type,bootstrap:e.bootstrap||Dt,declarations:e.declarations||Dt,imports:e.imports||Dt,exports:e.exports||Dt,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null};return null!=e.id&&(kr[e.id]=e.type),t})}function En(e,t){return Ue(()=>{const n=Lt(e,!0);n.declarations=t.declarations||Dt,n.imports=t.imports||Dt,n.exports=t.exports||Dt})}function wt(e,t){if(null==e)return tn;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 B=cr;function le(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,onDestroy:e.type.prototype.ngOnDestroy||null}}function x(e){return e[yr]||null}function Lt(e,t){const n=e[ur]||null;if(!n&&!0===t)throw new Error(`Type ${F(e)} does not have '\u0275mod' property.`);return n}function Hn(e){return Array.isArray(e)&&"object"==typeof e[1]}function Jn(e){return Array.isArray(e)&&!0===e[1]}function Or(e){return 0!=(8&e.flags)}function Zr(e){return 2==(2&e.flags)}function cs(e){return 1==(1&e.flags)}function Jt(e){return null!==e.template}function Oi(e){return 0!=(512&e[2])}function vr(e,t){return e.hasOwnProperty(un)?e[un]:null}class Vi{constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}}function hs(){return ir}function ir(e){return e.type.prototype.ngOnChanges&&(e.setInput=xr),Qs}function Qs(){const e=Ps(this),t=null==e?void 0:e.current;if(t){const n=e.previous;if(n===tn)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function xr(e,t,n,r){const s=Ps(e)||function(e,t){return e[ps]=t}(e,{previous:tn,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===tn),e[r]=t}hs.ngInherit=!0;const ps="__ngSimpleChanges__";function Ps(e){return e[ps]||null}const gi="http://www.w3.org/2000/svg";let Br;function mi(e){Br=e}function qs(){return void 0!==Br?Br:"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 Me(e,t){return S(t[e])}function He(e,t){return S(t[e.index])}function Xt(e,t){return e.data[t]}function Wt(e,t){return e[t]}function mt(e,t){const n=t[e];return Hn(n)?n:n[0]}function on(e){return 4==(4&e[2])}function Gt(e){return 128==(128&e[2])}function Cn(e,t){return null==t?null:e[t]}function Er(e){e[18]=0}function Cr(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 nt={lFrame:Ei(null),bindingsEnabled:!0,isInCheckNoChangesMode:!1};function _i(){return nt.bindingsEnabled}function Re(){return nt.lFrame.lView}function Nt(){return nt.lFrame.tView}function Xo(e){return nt.lFrame.contextLView=e,e[8]}function b(){let e=l();for(;null!==e&&64===e.type;)e=e.parent;return e}function l(){return nt.lFrame.currentTNode}function p(e,t){const n=nt.lFrame;n.currentTNode=e,n.isParent=t}function w(){return nt.lFrame.isParent}function R(){nt.lFrame.isParent=!1}function re(){return nt.isInCheckNoChangesMode}function Ce(e){nt.isInCheckNoChangesMode=e}function Fe(){const e=nt.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function At(){return nt.lFrame.bindingIndex++}function Xe(e){const t=nt.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function cn(e,t){const n=nt.lFrame;n.bindingIndex=n.bindingRootIndex=e,Ln(t)}function Ln(e){nt.lFrame.currentDirectiveIndex=e}function Dn(e){const t=nt.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}function gs(){return nt.lFrame.currentQueryIndex}function or(e){nt.lFrame.currentQueryIndex=e}function Xn(e){const t=e[1];return 2===t.type?t.declTNode:1===t.type?e[6]:null}function Dr(e,t,n){if(n&Je.SkipSelf){let s=t,i=e;for(;!(s=s.parent,null!==s||n&Je.Host||(s=Xn(i),null===s||(i=i[15],10&s.type))););if(null===s)return!1;t=s,e=i}const r=nt.lFrame=br();return r.currentTNode=t,r.lView=e,!0}function ar(e){const t=br(),n=e[1];nt.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function br(){const e=nt.lFrame,t=null===e?null:e.child;return null===t?Ei(e):t}function Ei(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 xs(){const e=nt.lFrame;return nt.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const es=xs;function Js(){const e=xs();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 Ke(){return nt.lFrame.selectedIndex}function ot(e){nt.lFrame.selectedIndex=e}function rt(){const e=nt.lFrame;return Xt(e.tView,e.selectedIndex)}function bn(){nt.lFrame.currentNamespace=gi}function Wn(){nt.lFrame.currentNamespace=null}function lr(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 Ur(e,t,n){Vn(e,t,3,n)}function ms(e,t,n,r){(3&e[2])===n&&Vn(e,t,n,r)}function jr(e,t){let n=e[2];(3&n)===t&&(n&=2047,n+=1,e[2]=n)}function Vn(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 Ns{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];ys(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 ys(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(Nn)&&(r=n[Nn]),null==r&&(r=n[Nn]=ra++);const s=255&r;t.data[e+(s>>5)]|=1<<s}(e,t,n)}function c(e,t,n){if(n&Je.Optional)return e;ft(t,"NodeInjector")}function y(e,t,n,r){if(n&Je.Optional&&void 0===r&&(r=null),0==(n&(Je.Self|Je.Host))){const s=e[9],i=Q(void 0);try{return s?s.get(t,r,n&Je.Optional):Te(t,r,n&Je.Optional)}finally{Q(i)}}return c(r,t,n)}function C(e,t,n,r=Je.Default,s){if(null!==e){const i=function(e){if("string"==typeof e)return e.charCodeAt(0)||0;const t=e.hasOwnProperty(Nn)?e[Nn]:void 0;return"number"==typeof t?t>=0?255&t:N:t}(n);if("function"==typeof i){if(!Dr(t,e,r))return r&Je.Host?c(s,n,r):y(t,n,r,s);try{const o=i(r);if(null!=o||r&Je.Optional)return o;ft(n)}finally{es()}}else if("number"==typeof i){let o=null,a=sa(e,t),f=-1,m=r&Je.Host?t[16][6]:null;for((-1===a||r&Je.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(at(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)&&at(i,a,t)?(o=D,a=wi(f),t=Ti(f,t)):a=-1}}}return y(t,n,r,s)}const A={};function N(){return new Ut(b(),Re())}function z(e,t,n,r,s,i){const o=t[1],a=o.data[e+8],D=Ee(a,o,n,null==r?Zr(a)&&na:r!=o&&0!=(3&a.type),s&Je.Host&&i===a);return null!==D?qe(t,o,D,a):A}function Ee(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 V=r?a:a+D;V<P;V++){const q=o[V];if(V<f&&n===q||V>=f&&q.type===n)return V}if(s){const V=o[f];if(V&&Jt(V)&&V.type===n)return f}return null}function qe(e,t,n,r){let s=e[n];const i=t.data;if(function(e){return e instanceof Ns}(s)){const o=s;o.resolving&&function(e,t){throw new Oe("200",`Circular dependency in DI detected for ${e}`)}(ge(i[n]));const a=Hi(o.canSeeViewProviders);o.resolving=!0;const f=o.injectImpl?Q(o.injectImpl):null;Dr(e,r,Je.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=ir(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,es()}}return s}function at(e,t,n){return!!(n[t+(e>>5)]&1<<e)}function Yt(e,t){return!(e&Je.Self||e&Je.Host&&t)}class Ut{constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return C(this._tNode,this._lView,t,r,n)}}function ns(e){return Ue(()=>{const t=e.prototype.constructor,n=t[un]||_s(t),r=Object.prototype;let s=Object.getPrototypeOf(e.prototype).constructor;for(;s&&s!==r;){const i=s[un]||_s(s);if(i&&i!==n)return i;s=Object.getPrototypeOf(s)}return i=>new i})}function _s(e){return he(e)?()=>{const t=_s(te(e));return t&&t()}:vr(e)}function wr(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 rs="__parameters__";function Wi(e,t,n){return Ue(()=>{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(rs)?f[rs]:Object.defineProperty(f,rs,{value:[]})[rs];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 Mn{constructor(t,n){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof n?this.__NG_ELEMENT_ID__=n:void 0!==n&&(this.\u0275prov=We({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}toString(){return`InjectionToken ${this._desc}`}}const y_=new Mn("AnalyzeForEntryComponents");function is(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)),is(r,t)):t!==e&&t.push(r)}return t}function Fs(e,t){e.forEach(n=>Array.isArray(n)?Fs(n,t):t(n))}function rl(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function zi(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 zr(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=j({provide:String,useValue:j});let da;function uo(e){const t=da;return da=e,t}function M_(e,t=Je.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&Je.Optional?null:void 0,t)}function Gn(e,t=Je.Default){return(we||M_)(te(e),t)}const R_=Gn;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=Je.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(Gn(s,i))}else t.push(Gn(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=F(t);if(Array.isArray(t))s=t.map(F).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):F(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(Wi("Inject",e=>({token:e})),-1),Xs=fa(Wi("Optional"),8),Ii=fa(Wi("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 W_ extends Ki{getTypeName(){return"Script"}}class z_ 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 W_(e)}function q_(e){return new z_(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 tv=/^(?:(?:https?|mailto|ftp|tel|file|sms):|[^&:/?#]*(?:[/?#]|$))/gi,nv=/^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(tv)||e.match(nv)?e:"unsafe:"+e}function ks(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=ks("area,br,col,hr,img,wbr"),pf=ks("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),gf=ks("rp,rt"),yu=ga(hf,ga(pf,ks("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,ks("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=ks("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),vu=ks("srcset"),mf=ga(_u,vu,ks("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"),ks("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")),rv=ks("script,style,template");class sv{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,!rv.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)),vu[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 iv=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,ov=/([^\#-~ |!])/g;function yf(e){return e.replace(/&/g,"&").replace(iv,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(ov,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 sv).sanitizeChildren(Eu(n)||n))}finally{if(n){const r=Eu(n)||n;for(;r.firstChild;)r.removeChild(r.firstChild)}}}function Eu(e){return"content"in e&&function(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var Rn=(()=>((Rn=Rn||{})[Rn.NONE=0]="NONE",Rn[Rn.HTML=1]="HTML",Rn[Rn.STYLE=2]="STYLE",Rn[Rn.SCRIPT=3]="SCRIPT",Rn[Rn.URL=4]="URL",Rn[Rn.RESOURCE_URL=5]="RESOURCE_URL",Rn))();function vf(e){const t=ma();return t?af(t.sanitize(Rn.HTML,e)||""):po(e,"HTML")?af(ei(e)):_f(qs(),ae(e))}function Cu(e){const t=ma();return t?t.sanitize(Rn.URL,e)||"":po(e,"URL")?ei(e):pa(ae(e))}function ma(){const e=Re();return e&&e[12]}const Df="__ngContext__";function hr(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 bv(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||bv;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 Ls(e){return e instanceof Function?e():e}var Vs=(()=>((Vs=Vs||{})[Vs.Important=1]="Important",Vs[Vs.DashCase=2]="DashCase",Vs))();function Su(e,t){return undefined(e,t)}function _a(e){const t=e[3];return Jn(t)?t[3]:t}function Iu(e){return kf(e[13])}function Au(e){return kf(e[4])}function kf(e){for(;null!==e&&!Jn(e);)e=e[4];return e}function yo(e,t,n,r,s){if(null!=r){let i,o=!1;Jn(r)?i=r:Hn(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];va(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,Cr(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=zi(e,10+t);!function(e,t){va(e,t,t[11],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[11];_(n)&&n.destroyNode&&va(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(Hn(t))n=t[13];else{const r=t[10];r&&(n=r)}if(!n){for(;t&&!t[4]&&t!==e;)Hn(t)&&Ou(t[1],t),t=t[3];null===t&&(t=e),Hn(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 Ns)){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[11])&&t[11].destroy();const n=t[17];if(null!==n&&Jn(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===_t.None||s===_t.Emulated)return null}return He(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 Wf(e,t,n){return Gf(e,t,n)}let Gf=function(e,t,n){return 40&e.type?He(e,n):null};function hl(e,t,n,r){const s=Uf(e,r,t),i=t[11],a=Wf(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 He(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 Jn(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&&hr(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 va(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 Qv(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 qv(e,t,n){return t===(4!==e.type||n?e.value:Xf)}function Zv(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&&!qv(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(!Qv(e.attrs,m,n)){if(vs(r))return!1;o=!0}continue}const M=Jv(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 V=8&r?P:null;if(V&&-1!==Jf(V,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 Jv(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(Zv(e,t[r],n))return!0;return!1}function nE(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 rE(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 Mt={};function rh(e){sh(Nt(),Re(),Ke()+e,re())}function sh(e,t,n,r){if(!r)if(3==(3&t[2])){const i=e.preOrderCheckHooks;null!==i&&Ur(t,i,n)}else{const i=e.preOrderHooks;null!==i&&ms(t,i,0,n)}ot(n)}function gl(e,t){return e<<17|t<<2}function Es(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];or(s),o.contentQueries(2,t[i],i)}}}function Ea(e,t,n,r,s,i,o,a,f,m){const D=t.blueprint.slice();return D[0]=s,D[2]=140|r,Er(D),D[3]=D[15]=e,D[8]=n,D[10]=o||e&&e[10],D[11]=a||e&&e[11],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),nt.lFrame.inI18n&&(i.flags|=64);else if(64&i.type){i.type=n,i.value=r,i.attrs=s;const o=function(){const e=nt.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}();i.injectorIndex=null===o?-1:o.injectorIndex}return p(i,!0),i}function vo(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){ar(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++)BE(e,t[n])}(t,i)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[2]&=-5,Js()}}function Eo(e,t,n,r){const s=t[2];if(256==(256&s))return;ar(t);const i=re();try{Er(t),function(e){nt.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&&Ur(t,m,null)}else{const m=e.preOrderHooks;null!==m&&ms(t,m,0,null),jr(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])&&Cr(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)&&Eo(s,r,s.template,r[8])}}(t),null!==e.contentQueries&&gh(e,t),!i)if(o){const m=e.contentCheckHooks;null!==m&&Ur(t,m)}else{const m=e.contentHooks;null!==m&&ms(t,m,1),jr(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)ot(~s);else{const i=s,o=n[++r],a=n[++r];cn(o,i),a(2,t[i])}}}finally{ot(-1)}}(e,t);const a=e.components;null!==a&&function(e,t){for(let n=0;n<t.length;n++)VE(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&&Ur(t,m)}else{const m=e.viewHooks;null!==m&&ms(t,m,2),jr(t,2)}!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),i||(t[2]&=-73),1024&t[2]&&(t[2]&=-1025,Cr(t[3],-1))}finally{Js()}}function vE(e,t,n,r){const s=t[10],i=!re(),o=on(t);try{i&&!o&&s.begin&&s.begin(),o&&Ca(e,t,r),Eo(e,t,n,r)}finally{i&&!o&&s.end&&s.end()}}function mh(e,t,n,r,s){const i=Ke(),o=2&r;try{ot(-1),o&&t.length>20&&sh(e,t,20,re()),n(r,s)}finally{ot(i)}}function yh(e,t,n){if(Or(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),hr(r,t);const o=n.initialInputs;for(let a=s;a<i;a++){const f=e.data[a],m=Jt(f);m&&xE(t,n,f);const D=qe(t,e,a,n);hr(D,t),null!==o&&NE(0,a-s,D,f,0,o),m&&(mt(n.index,t)[8]=D)}}(e,t,n,He(n,t)),128==(128&n.flags)&&function(e,t,n){const r=n.directiveStart,s=n.directiveEnd,o=n.index,a=nt.lFrame.currentDirectiveIndex;try{ot(o);for(let f=r;f<s;f++){const m=e.data[f],D=t[f];Ln(f),(null!==m.hostBindings||0!==m.hostVars||null!==m.hostAttrs)&&Th(m,D)}}finally{ot(-1),Ln(a)}}(e,t,n))}function qu(e,t,n=He){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:Mt);return n}(D,M),V="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:V,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 Gr(e,t,n,r,s,i,o,a){const f=He(t,n);let D,m=t.inputs;!a&&null!=m&&(D=m[r])?(Fh(e,n,D,r,s),Zr(t)&&function(e,t){const n=mt(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):ys(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),Jt(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=vo(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),OE(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:FE(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 OE(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;Jt(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=vr(s.type)),o=new Ns(i,Jt(s),null);e.blueprint[r]=o,n[r]=o,wh(e,t,0,r,vo(e,n,s.hostVars,Mt),s)}function xE(e,t,n){const r=He(t,e),s=_h(n),i=e[10],o=vl(e,Ea(e,s,null,n.onPush?64:16,r,t,i,i.createRenderer(r,n),null,null));e[t.index]=o}function Bs(e,t,n,r,s,i){const o=He(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?ae(i):o(i,r||"",s);_(e)?e.setAttribute(t,s,a,n):n?t.setAttributeNS(n,s,a):t.setAttribute(s,a)}}(t[11],o,i,e.value,n,r,s)}function NE(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 FE(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 VE(e,t){const n=mt(t,e);if(Gt(n)){const r=n[1];80&n[2]?Eo(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];Eo(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=mt(n[r],e);Gt(s)&&s[5]>0&&Xu(s)}}function BE(e,t){const n=mt(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 vl(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{Eo(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];vE(s,r,s.template,n)}}(e[8])}function rc(e,t,n){or(0),t(e,n)}const WE=(()=>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||Jt(e))&&(n=function(e){for(;Array.isArray(e);){if("object"==typeof e[1])return e;e=e[0]}return null}(n[t.index])),n[11]}function 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=Me(t,e);!function(e,t,n){_(e)?e.setValue(t,n):t.textContent=n}(e[11],r,n)}function El(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 Mn("INJECTOR",-1);class kh{get(t,n=ca){if(n===ca){const r=new Error(`NullInjectorError: No provider for ${F(t)}!`);throw r.name="NullInjectorError",r}return n}}const Da=new Mn("Set Injector scope."),ba={},KE={};let sc;function Lh(){return void 0===sc&&(sc=new kh),sc}function Vh(e,t=null,n=null,r){return new QE(e,n,t||Lh(),r)}class QE{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&&Fs(n,a=>this.processProvider(a,t,n)),Fs([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:F(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=Je.Default){this.assertNotDestroyed();const s=uo(this),i=Q(void 0);try{if(!(r&Je.SkipSelf)){let a=this.records.get(t);if(void 0===a){const f=("function"==typeof(e=t)||"object"==typeof e&&e instanceof Mn)&&It(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&Je.Self?Lh():this.parent).get(t,n=r&Je.Optional&&n===ca?null:n)}catch(o){if("NullInjectorError"===o.name){if((o[lo]=o[lo]||[]).unshift(F(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(F(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=rr(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=rr(i)),null==s)return!1;if(null!=s.imports&&!a){let D;r.push(o);try{Fs(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:V}=D[M];Fs(V,q=>this.processProvider(q,P,V||Dt))}}this.injectorDefTypes.add(o);const f=vr(o)||(()=>new o);this.records.set(o,Do(f,ba));const m=s.providers;if(null!=m&&!a){const D=t;Fs(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=KE,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=It(e),n=null!==t?t.factory:vr(e);if(null!==n)return n;if(e instanceof Mn)throw new Error(`Token ${F(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 ${F(e)}: (${r.join(", ")}).`)}const n=function(e){const t=e&&(e[Bn]||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 vr(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=()=>Gn(te(e.useExisting));else{const s=te(e&&(e.useClass||e.provide));if(!function(e){return!!e.deps}(e))return vr(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=We({token:e,providedIn:"any",factory:()=>Gn(Co)}),e.__NG_ELEMENT_ID__=-1,e})();function mC(e,t){lr(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(Jt(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&&EC(e,a);const f=s.viewQuery,m=s.contentQueries;if(f&&_C(e,f),m&&vC(e,m),W(e.inputs,s.inputs),W(e.declaredInputs,s.declaredInputs),W(e.outputs,s.outputs),Jt(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===tn?{}:e===Dt?[]:e}function _C(e,t){const n=e.viewQuery;e.viewQuery=n?(r,s)=>{t(r,s),n(r,s)}:t}function vC(e,t){const n=e.contentQueries;e.contentQueries=n?(r,s,i)=>{t(r,s,i),n(r,s,i)}:t}function EC(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 Us(e,t,n){return e[t]=n}function Sa(e,t){return e[t]}function pr(e,t,n){return!Object.is(e[t],n)&&(e[t]=n,!0)}function Qi(e,t,n,r){const s=pr(e,t,n);return pr(e,t+1,r)||s}function os(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=Re();return pr(s,At(),t)&&(Nt(),Bs(rt(),s,e,t,n,r)),pc}function So(e,t,n,r){return pr(e,At(),n)?t+ae(n)+r:Mt}function Io(e,t,n,r,s,i){const a=Qi(e,nt.lFrame.bindingIndex,n,s);return Xe(2),a?t+ae(n)+r+ae(s)+i:Mt}function pp(e,t,n,r,s,i,o,a){const f=Re(),m=Nt(),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,Cn(m,a));Zu(t,n,D,Cn(m,f)),lr(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[11].createComment("");hl(m,f,P,M),hr(P,f),vl(f,f[D]=Mh(P,f,P,M)),cs(M)&&Qu(m,f,M),null!=o&&qu(f,M,a)}function gp(e){return Wt(nt.lFrame.contextLView,20+e)}function Ia(e,t=Je.Default){const n=Re();return null===n?Gn(e,t):C(b(),n,te(e),t)}function Ip(){throw new Error("invalid")}function vc(e,t,n){const r=Re();return pr(r,At(),t)&&Gr(Nt(),rt(),r,e,t,r[11],n,!1),vc}function Ec(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=Re(),i=Nt(),o=20+e,a=s[11],f=s[o]=Ru(a,t,nt.lFrame.currentNamespace),m=i.firstCreatePass?function(e,t,n,r,s,i,o){const a=t.consts,m=_o(t,e,2,s,Cn(a,i));return Zu(t,n,m,Cn(a,o)),null!==m.attrs&&El(m,m.attrs,!1),null!==m.mergedAttrs&&El(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===nt.lFrame.elementDepthCount&&hr(f,s),nt.lFrame.elementDepthCount++,cs(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;nt.lFrame.elementDepthCount--;const n=Nt();n.firstCreatePass&&(lr(n,e),Or(e)&&n.queries.elementEnd(e)),null!=t.classesWithoutHost&&function(e){return 0!=(16&e.flags)}(t)&&Ec(n,t,Re(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function(e){return 0!=(32&e.flags)}(t)&&Ec(n,t,Re(),t.stylesWithoutHost,!1)}function Ap(e,t,n,r){Cc(e,t,n,r),Dc()}function bc(e,t,n){const r=Re(),s=Nt(),i=e+20,o=s.firstCreatePass?function(e,t,n,r,s){const i=t.consts,o=Cn(i,r),a=_o(t,e,8,"ng-container",o);return null!==o&&El(a,o,!0),Zu(t,n,a,Cn(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[11].createComment("");hl(s,r,a,o),hr(a,r),cs(o)&&(Qu(s,r,o),yh(s,o,r)),null!=n&&qu(r,o)}function wc(){let e=b();const t=Nt();w()?R():(e=e.parent,p(e,!1)),t.firstCreatePass&&(lr(t,e),Or(e)&&t.queries.elementEnd(e))}function Mp(e,t,n){bc(e,t,n),wc()}function Rp(){return Re()}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=Re(),i=Nt(),o=b();return Op(i,s,s[11],o,e,t,!!n,r),Ic}function Ac(e,t){const n=b(),r=Re(),s=Nt();return Op(s,r,xh(Dn(s.data),n,r),n,e,t,!1),Ac}function Op(e,t,n,r,s,i,o,a){const f=cs(r),D=e.firstCreatePass&&Oh(e),M=t[8],P=Ph(t);let V=!0;if(3&r.type||a){const se=He(r,t),ke=a?a(se):se,De=P.length,tt=a?Et=>a(S(Et[r.index])):r.index;if(_(n)){let Et=null;if(!a&&f&&(Et=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!==Et)(Et.__ngLastListenerFn__||Et).__ngNextListenerFn__=i,Et.__ngLastListenerFn__=i,V=!1;else{i=Mc(r,t,M,i,!1);const jt=n.listen(ke,s,i);P.push(i,jt),D&&D.push(s,tt,De,De+1)}}else i=Mc(r,t,M,i,!0),ke.addEventListener(s,i,o),P.push(i),D&&D.push(s,tt,De,o)}else i=Mc(r,t,M,i,!1);const q=r.outputs;let fe;if(V&&null!==q&&(fe=q[s])){const se=fe.length;if(se)for(let ke=0;ke<se;ke+=2){const Yn=t[fe[ke]][fe[ke+1]].subscribe(i),us=P.length;P.push(i,Yn),D&&D.push(s,r.index,us,-(us+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?mt(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(nt.lFrame.contextLView=function(e,t){for(;e>0;)t=t[15],e--;return t}(e,nt.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):nE(r,i))return s}else n=s}return n}function Fp(e){const t=Re()[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=Re(),s=Nt(),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[11],0,t,n,Uf(e,n,t),Wf(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=Re(),o=So(i,t,n,r);return o!==Mt&&Gr(Nt(),rt(),i,e,o,i[11],s,!1),wl}function zp(e,t,n,r,s){const i=e[n+1],o=null===t;let a=r?Es(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?Es(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 Kn={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Gp(e){return e.substring(Kn.key,Kn.keyEnd)}function Kp(e,t){const n=Kn.textEnd;return n===t?-1:(t=Kn.keyEnd=function(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}(e,Kn.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 Ds(e,t,n,!1),Pc}function Oc(e,t){return Ds(e,t,null,!0),Oc}function Jp(e){bs(zr,Hs,e,!0)}function Hs(e,t){for(let n=function(e){return function(e){Kn.key=0,Kn.keyEnd=0,Kn.value=0,Kn.valueEnd=0,Kn.textEnd=e.length}(e),Kp(e,Fo(e,0,Kn.textEnd))}(t);n>=0;n=Kp(t,n))zr(e,Gp(t),!0)}function Ds(e,t,n,r){const s=Re(),i=Nt(),o=Xe(2);i.firstUpdatePass&&eg(i,e,o,r),t!==Mt&&pr(s,o,t)&&ng(i,i.data[Ke()],s,s[11],e,s[o+1]=function(e,t){return null==e||("string"==typeof t?e+=t:"object"==typeof e&&(e=F(ei(e)))),e}(t,n),r,o)}function bs(e,t,n,r){const s=Nt(),i=Xe(2);s.firstUpdatePass&&eg(s,null,i,r);const o=Re();if(n!==Mt&&pr(o,i,n)){const a=s.data[Ke()];if(sg(a,r)&&!Xp(s,i)){let f=r?a.classesWithoutHost:a.stylesWithoutHost;null!==f&&(n=ue(f,n||"")),Ec(s,a,o,n,r)}else!function(e,t,n,r,s,i,o,a){s===Mt&&(s=Dt);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,V=m<i.length?i[m+1]:void 0;let fe,q=null;D===M?(f+=2,m+=2,P!==V&&(q=M,fe=V)):null===M||null!==D&&D<M?(f+=2,q=D):(m+=2,q=M,fe=V),null!==q&&ng(e,t,n,r,q,fe,o,a),D=f<s.length?s[f]:null,M=m<i.length?i[m]:null}}(s,a,o,o[11],o[i+1],o[i+1]=function(e,t,n){if(null==n||""===n)return Dt;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[Ke()],o=Xp(e,n);sg(i,r)&&null===t&&!o&&(t=!1),t=function(e,t,n,r){const s=Dn(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[Es(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[Es(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=Es(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=Es(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])),zp(e,D,r,!0),zp(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]),zr(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:Vs.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|=Vs.Important),i?e.setStyle(n,r,s,o):n.style.setProperty(r,s,a?"important":"")}}}(r,o,Me(Ke(),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===Mt&&(P=M?Dt:void 0);let V=M?uu(P,r):D===r?P:void 0;if(m&&!Tl(V)&&(V=uu(f,r)),Tl(V)&&(a=V,o))return a;const q=e[s+1];s=o?Es(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=Re(),r=Nt(),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[11],t);hl(r,n,o,i),p(i,!1)}function Nc(e){return Sl("",e,""),Nc}function Sl(e,t,n){const r=Re(),s=So(r,e,t,n);return s!==Mt&&ni(r,Ke(),s),Sl}function Fc(e,t,n,r,s){const i=Re(),o=Io(i,e,t,n,r,s);return o!==Mt&&ni(i,Ke(),o),Fc}function hg(e,t,n){bs(zr,Hs,So(Re(),e,t,n),!0)}function kc(e,t,n){const r=Re();return pr(r,At(),t)&&Gr(Nt(),rt(),r,e,t,r[11],n,!0),kc}function Lc(e,t,n){const r=Re();if(pr(r,At(),t)){const i=Nt(),o=rt();Gr(i,o,r,e,t,xh(Dn(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)[dt.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 dt=(()=>((dt=dt||{})[dt.LocaleId=0]="LocaleId",dt[dt.DayPeriodsFormat=1]="DayPeriodsFormat",dt[dt.DayPeriodsStandalone=2]="DayPeriodsStandalone",dt[dt.DaysFormat=3]="DaysFormat",dt[dt.DaysStandalone=4]="DaysStandalone",dt[dt.MonthsFormat=5]="MonthsFormat",dt[dt.MonthsStandalone=6]="MonthsStandalone",dt[dt.Eras=7]="Eras",dt[dt.FirstDayOfWeek=8]="FirstDayOfWeek",dt[dt.WeekendRange=9]="WeekendRange",dt[dt.DateFormat=10]="DateFormat",dt[dt.TimeFormat=11]="TimeFormat",dt[dt.DateTimeFormat=12]="DateTimeFormat",dt[dt.NumberSymbols=13]="NumberSymbols",dt[dt.NumberFormats=14]="NumberFormats",dt[dt.CurrencyCode=15]="CurrencyCode",dt[dt.CurrencySymbol=16]="CurrencySymbol",dt[dt.CurrencyName=17]="CurrencyName",dt[dt.Currencies=18]="Currencies",dt[dt.Directionality=19]="Directionality",dt[dt.PluralCase=20]="PluralCase",dt[dt.ExtraData=21]="ExtraData",dt))();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=Nt(),o=Re();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 V=new Ns(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(V),o.push(V)):(n[q]=V,o[q]=V)}else{const V=$c(a,t,D+P,M),q=$c(a,t,D,D+P),fe=V>=0&&n[V],se=q>=0&&n[q];if(s&&!se||!s&&!fe){h($i(m,o),i,a);const ke=function(e,t,n,r,s){const i=new Ns(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&&se&&(n[q].providerFactory=ke),Hc(i,e,t.length,0),t.push(a),m.directiveStart++,m.directiveEnd++,s&&(m.providerIndexes+=1048576),n.push(ke),o.push(ke)}else Hc(i,e,V>-1?V:q,Qg(n[s?q:V],f,!s&&r));!s&&r&&se&&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 Wc(this.multi,[])}function xb(e,t,n,r){const s=this.multi;let i;if(this.providerFactory){const o=this.providerFactory.componentProviders,a=qe(n,n[1],this.providerFactory.index,r);i=a.slice(0,o),Wc(s,i);for(let f=o;f<a.length;f++)i.push(a[f])}else i=[],Wc(s,i);return i}function Wc(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=Nt();if(r.firstCreatePass){const s=Jt(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 ${F(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 $s(He(e,t))}const Bb=function(){return Bo(b(),Re())};let $s=(()=>{class e{constructor(n){this.nativeElement=n}}return e.__NG_ELEMENT_ID__=Bb,e})();function em(e){return e instanceof $s?e.nativeElement:e}class xl{}let Ub=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>Hb(),e})();const Hb=function(){const e=Re(),n=mt(b().index,e);return function(e){return e[11]}(Hn(n)?n:e)};let Gc=(()=>{class e{}return e.\u0275prov=We({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)),Jn(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(Jn(t)){const n=t[8],r=n?n.indexOf(this):-1;r>-1&&(Pu(t,r),zi(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){Ce(!0);try{nc(e,t,n)}finally{Ce(!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,va(this._lView[1],t=this._lView,t[11],2,null,null)}attachToAppRef(t){if(this._attachedToViewContainer)throw new Error("This view is already attached to a ViewContainer!");this._appRef=t}}class zb extends xa{constructor(t){super(t),this._view=t}detectChanges(){Rh(this._view)}checkNoChanges(){!function(e){Ce(!0);try{Rh(e)}finally{Ce(!1)}}(this._view)}get context(){return null}}class rm extends Vo{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const n=x(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 Mn("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(rE).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===_t.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:WE,playerHandler:t||null,flags:0}}(),V=_l(0,null,null,1,0,null,null,null,null,null),q=Ea(null,V,P,M,null,null,o,f,a,i);let fe,se;ar(q);try{const ke=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&&(El(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=Ea(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)),vl(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:De,classes:tt}=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]);De&&bi(f,D,De),tt&&tt.length>0&&ku(f,D,tt.join(" "))}if(se=Xt(V,20),void 0!==n){const De=se.projection=[];for(let tt=0;tt<this.ngContentSelectors.length;tt++){const Et=n[tt];De.push(null!=Et?Array.from(Et):null)}}fe=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,vo(e,t,1,null),n));const s=qe(t,e,r.directiveStart,r);hr(s,t);const i=He(r,t);return i&&hr(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||(ot(a.index),wh(n[1],a,0,a.directiveStart,a.directiveEnd,t),Th(t,o)),o}(ke,this.componentDef,q,P,[mC]),Ca(V,q,null)}finally{Js()}return new qb(this.componentType,fe,Bo(se,q),q,se)}}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 zb(s),this.componentType=t}get injector(){return new Ut(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=Lt(t);this._bootstrapComponents=Ls(r.bootstrap),this._r3Injector=Vh(t,n,[{provide:Zi,useValue:this},{provide:Vo,useValue:this.componentFactoryResolver}],F(t)),this._r3Injector._resolveInjectorDefTypes(),this.instance=this.get(t)}get(t,n=vn.THROW_IF_NOT_FOUND,r=Je.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!==Lt(t)&&function(e){const t=new Set;!function n(r){const s=Lt(r,!0),i=s.id;null!==i&&(function(e,t,n){if(t&&t!==n)throw new Error(`Duplicate module registered for ${e} - ${F(t)} vs ${F(t.name)}`)}(i,jo.get(i),r),jo.set(i,r));const o=Ls(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=Fe()+e,s=Re();return s[r]===Mt?Us(s,r,n?t.call(n):t()):Sa(s,r)}function um(e,t,n,r){return pm(Re(),Fe(),e,t,n,r)}function cm(e,t,n,r,s){return gm(Re(),Fe(),e,t,n,r,s)}function dm(e,t,n,r,s,i){return mm(Re(),Fe(),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 os(e,m,s,i,o,a)?Us(e,m+4,f?r.call(f,s,i,o,a):r(s,i,o,a)):Na(e,m+4)}(Re(),Fe(),e,t,n,r,s,i,o)}function hm(e,t,n,r,s,i,o,a){const f=Fe()+e,m=Re(),D=os(m,f,n,r,s,i);return pr(m,f+4,o)||D?Us(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===Mt?void 0:n}function pm(e,t,n,r,s,i){const o=t+n;return pr(e,o,s)?Us(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)?Us(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 pr(e,t+2,s)||i}(e,f,s,i,o)?Us(e,f+3,a?r.call(a,s,i,o):r(s,i,o)):Na(e,f+3)}function vm(e,t){const n=Nt();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=vr(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,Re(),s,f),f}finally{Q(o)}}function Em(e,t,n){const r=e+20,s=Re(),i=Wt(s,r);return Fa(s,r)?pm(s,Fe(),t,i.transform,n,i):i.transform(n)}function Cm(e,t,n,r){const s=e+20,i=Re(),o=Wt(i,s);return Fa(i,s)?gm(i,Fe(),t,o.transform,n,r,o):o.transform(n,r)}function Dm(e,t,n,r,s){const i=e+20,o=Re(),a=Wt(o,i);return Fa(o,i)?mm(o,Fe(),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 v.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=is(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(),Re())};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=Ea(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(),Re())};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 Ut(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 Ut(n[1].data[r+8],n)}return new Ut(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(x(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(Jn(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[11],m=fl(f,o[7]);return null!==m&&function(e,t,n,r,s,i){r[0]=s,r[6]=t,va(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&&(zi(Zc(this._lContainer),n),Bf(r[1],r))}detach(t){const n=this._adjustIndex(t,-1),r=Pu(this._lContainer,n);return r&&null!=zi(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(Jn(r))n=r;else{let s;if(8&e.type)s=S(r);else{const i=t[11];s=i.createComment("");const o=He(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),vl(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,E0(n,i)),this.matchTNodeWithReadOption(t,n,Ee(n,t,i,!1,!1))}else r===La?4&n.type&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,Ee(n,t,r,!1,!1))}matchTNodeWithReadOption(t,n,r){if(null!==r){const s=this.metadata.read;if(null!==s)if(s===$s||s===kl||s===La&&4&n.type)this.addMatch(n.index,-2);else{const i=Ee(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 E0(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===$s?Bo(t,e):n===La?Fl(t,e):n===kl?Tm(t,e):void 0}(e,t,r):qe(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 V=M[P];nd(V[1],V,m,r)}}}}}return r}function Am(e){const t=Re(),n=Nt(),r=gs();or(r+1);const s=Nm(n,r);if(e.dirty&&on(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=Nt();r.firstCreatePass&&(xm(r,new Sm(e,t,n),-1),2==(2&t)&&(r.staticViewQueries=!0)),Om(r,Re(),t)}function Rm(e,t,n,r){const s=Nt();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,Re(),n)}function Pm(){return e=Re(),t=gs(),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 Mn("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)(Gn(ld,8))},e.\u0275prov=We({token:e,factory:e.\u0275fac}),e})();const Xm=new Mn("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 Mn("Platform Initializer"),ty=new Mn("Platform ID"),ny=new Mn("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=We({token:e,factory:e.\u0275fac}),e})();const Bl=new Mn("LocaleId"),sy=new Mn("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=Ls(Lt(e).declarations).reduce((s,i)=>{const o=x(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=We({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 Kr{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(!Kr.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}static assertNotInAngularZone(){if(Kr.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:()=>{Kr.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)(Gn(Kr))},e.\u0275prov=We({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=We({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 ws;const hy=new Mn("AllowMultipleToken");class Dw{constructor(t,n){this.name=t,this.token=n}}function py(e,t,n=[]){const r=`Platform: ${t}`,s=new Mn(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(ws&&!ws.destroyed&&!ws.injector.get(hy,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");ws=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 ws&&!ws.destroyed?ws: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 Kr({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:Kr,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:V=>{M.handleError(V)}});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 ${F(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)(Gn(vn))},e.\u0275prov=We({token:e,factory:e.\u0275fac}),e})();function yy(e,t){return Array.isArray(t)?t.reduce(yy,e):lt(lt({},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 ie.y(m=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{m.next(this._stable),m.complete()})}),f=new ie.y(m=>{let D;this._zone.runOutsideAngular(()=>{D=this._zone.onStable.subscribe(()=>{Kr.assertNotInAngularZone(),fd(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,m.next(!0))})})});const M=this._zone.onUnstable.subscribe(()=>{Kr.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{m.next(!1)}))});return()=>{D.unsubscribe(),M.unsubscribe()}});this.isStable=(0,de.T)(a,f.pipe(e=>(0,L.x)()((0,K.O)(Z)(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)(Gn(Kr),Gn(vn),Gn(go),Gn(Vo),Gn($o))},e.\u0275prov=We({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(Zr(e)&&!n){const r=mt(e.index,t);return new xa(r,r)}return 47&e.type?new xa(t[16],t):null}(b(),Re(),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 V=P<i.length?i[P]:i[P]=0,q=V+P;D<=q&&q<m&&(i[P]=V+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 '${F(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 Ww(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 Ww{constructor(t,n){this.item=t,this.trackById=n,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class zw{constructor(){this._head=null,this._tail=null}add(t){null===this._head?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,n){let 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 zw,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 '${F(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=We({token:e,providedIn:"root",factory:Ay}),e})();function My(){return new Wl([new Iy])}let Wl=(()=>{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=We({token:e,providedIn:"root",factory:My}),e})();const Qw=[new Iy],Zw=new $l([new wy]),Jw=new Wl(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:[Kr,vn,go,Vo,$o]},{provide:Kb,deps:[Kr],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:Wl,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)(Gn(Ba))},e.\u0275mod=qn({type:e}),e.\u0275inj=en({providers:sT}),e})()},9555:(je,ce,I)=>{I.d(ce,{Qb:()=>_i,PW:()=>Nt});var v=I(6079),g=I(5427),ie=I(9814);function de(){return"undefined"!=typeof window&&void 0!==window.document}function K(){return"undefined"!=typeof process&&"[object process]"==={}.toString.call(process)}function L(b){switch(b.length){case 0:return new ie.ZN;case 1:return b[0];default:return new ie.ZE(b)}}function Z(b,l,u,p,w={},R={}){const k=[],U=[];let re=-1,Ce=null;if(p.forEach(Fe=>{const Ge=Fe.offset,vt=Ge==re,At=vt&&Ce||{};Object.keys(Fe).forEach(Xe=>{let Ct=Xe,Ft=Fe[Xe];if("offset"!==Xe)switch(Ct=l.normalizePropertyName(Ct,k),Ft){case ie.k1:Ft=w[Xe];break;case ie.l3:Ft=R[Xe];break;default:Ft=l.normalizeStyleValue(Xe,Ct,Ft,k)}At[Ct]=Ft}),vt||U.push(At),Ce=At,re=Ge}),k.length){const Fe="\n - ";throw new Error(`Unable to animate due to the following errors:${Fe}${k.join(Fe)}`)}return U}function ne(b,l,u,p){switch(l){case"start":b.onStart(()=>p(u&&j(u,"start",b)));break;case"done":b.onDone(()=>p(u&&j(u,"done",b)));break;case"destroy":b.onDestroy(()=>p(u&&j(u,"destroy",b)))}}function j(b,l,u){const p=u.totalTime,R=W(b.element,b.triggerName,b.fromState,b.toState,l||b.phaseName,null==p?b.totalTime:p,!!u.disabled),k=b._data;return null!=k&&(R._data=k),R}function W(b,l,u,p,w="",R=0,k){return{element:b,triggerName:l,fromState:u,toState:p,phaseName:w,totalTime:R,disabled:!!k}}function F(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=K();(he||"undefined"!=typeof Element)&&(ve=de()?(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,Ve=!1;function Ae(b){Oe||(Oe=("undefined"!=typeof document?document.body:null)||{},Ve=!!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&&Ve&&(l="Webkit"+b.charAt(0).toUpperCase()+b.substr(1)in Oe.style)),l}const ge=Ie,Ye=ve,bt=te;function st(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 ft=(()=>{class b{validateStyleProperty(u){return Ae(u)}matchesElement(u,p){return ge(u,p)}containsElement(u,p){return Ye(u,p)}query(u,p,w){return bt(u,p,w)}computeStyle(u,p,w){return w||""}animate(u,p,w,R,k,U=[],re){return new ie.ZN(w,R)}}return b.\u0275fac=function(u){return new(u||b)},b.\u0275prov=v.Yz7({token:b,factory:b.\u0275fac}),b})(),ht=(()=>{class b{}return b.NOOP=new ft,b})();const yt="ng-enter",$e="ng-leave",On="ng-trigger",mn=".ng-trigger",Qn="ng-animating",Tn=".ng-animating";function kt(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 be(b,l,u){return b.hasOwnProperty("duration")?b:function(b,l,u){let w,R=0,k="";if("string"==typeof b){const U=b.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===U)return l.push(`The provided timing value "${b}" is invalid.`),{duration:0,delay:0,easing:""};w=pe(parseFloat(U[1]),U[2]);const re=U[3];null!=re&&(R=pe(parseFloat(re),U[4]));const Ce=U[5];Ce&&(k=Ce)}else w=b;if(!u){let U=!1,re=l.length;w<0&&(l.push("Duration values below 0 are not allowed for this animation step."),U=!0),R<0&&(l.push("Delay values below 0 are not allowed for this animation step."),U=!0),U&&l.splice(re,0,`The provided timing value "${b}" is invalid.`)}return{duration:w,delay:R,easing:k}}(b,l,u)}function oe(b,l={}){return Object.keys(b).forEach(u=>{l[u]=b[u]}),l}function We(b,l,u={}){if(l)for(let p in b)u[p]=b[p];else oe(b,u);return u}function fn(b,l,u){return u?l+":"+u+";":""}function en(b){let l="";for(let u=0;u<b.style.length;u++){const p=b.style.item(u);l+=fn(0,p,b.style.getPropertyValue(p))}for(const u in b.style)b.style.hasOwnProperty(u)&&!u.startsWith("_")&&(l+=fn(0,we(u),b.style[u]));b.setAttribute("style",l)}function It(b,l,u){b.style&&(Object.keys(l).forEach(p=>{const w=Je(p);u&&!u.hasOwnProperty(p)&&(u[p]=b.style[w]),b.style[w]=l[p]}),K()&&en(b))}function hn(b,l){b.style&&(Object.keys(l).forEach(u=>{const p=Je(u);b.style[p]=""}),K()&&en(b))}function nn(b){return Array.isArray(b)?1==b.length?b[0]:(0,ie.vP)(b):b}const rr=new RegExp("{{\\s*(.+?)\\s*}}","g");function Bn(b){let l=[];if("string"==typeof b){let u;for(;u=rr.exec(b);)l.push(u[1]);rr.lastIndex=0}return l}function xn(b,l,u){const p=b.toString(),w=p.replace(rr,(R,k)=>{let U=l[k];return l.hasOwnProperty(k)||(u.push(`Please provide a value for the animation param ${k}`),U=""),U.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 Mr=/-+([a-z0-9])/g;function Je(b){return b.replace(Mr,(...l)=>l[1].toUpperCase())}function we(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],k=[];if(p.forEach(U=>{R.hasOwnProperty(U)||k.push(U),R[U]=u[U]}),k.length)for(var w=1;w<l.length;w++){let U=l[w];k.forEach(function(re){U[re]=Pe(b,re)})}}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 re=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 re)return void l.push(re);b=re}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],k=p[3];l.push(sn(w,k));"<"==R[0]&&!("*"==w&&"*"==k)&&l.push(sn(k,w))}(p,u,l)):u.push(b),u}const _t=new Set(["true","1"]),qt=new Set(["false","0"]);function sn(b,l){const u=_t.has(b)||qt.has(b),p=_t.has(l)||qt.has(l);return(w,R)=>{let k="*"==b||b==w,U="*"==l||l==R;return!k&&u&&"boolean"==typeof w&&(k=w?_t.has(b):qt.has(b)),!U&&p&&"boolean"==typeof R&&(U=R?_t.has(l):qt.has(l)),k&&U}}const Ot=new RegExp("s*:selfs*,?","g");function ze(b,l,u){return new xt(b).build(l,u)}class xt{constructor(l){this._driver=l}build(l,u){const p=new yr(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=[],k=[];return"@"==l.name.charAt(0)&&u.errors.push("animation triggers cannot be prefixed with an `@` sign (e.g. trigger('@foo', [...]))"),l.definitions.forEach(U=>{if(this._resetContextStyleTimingState(u),0==U.type){const re=U,Ce=re.name;Ce.toString().split(/\s*,\s*/).forEach(Fe=>{re.name=Fe,R.push(this.visitState(re,u))}),re.name=Ce}else if(1==U.type){const re=this.visitTransition(U,u);p+=re.queryCount,w+=re.depCount,k.push(re)}else u.errors.push("only state() and transition() definitions can sit inside of a trigger()")}),{type:7,name:l.name,states:R,transitions:k,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,k=w||{};if(p.styles.forEach(U=>{if(pn(U)){const re=U;Object.keys(re).forEach(Ce=>{Bn(re[Ce]).forEach(Fe=>{k.hasOwnProperty(Fe)||R.add(Fe)})})}}),R.size){const U=Qt(R.values());u.errors.push(`state("${l.name}", ...) must define default values for all the following style substitutions: ${U.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:un(l.options)}}visitSequence(l,u){return{type:2,steps:l.steps.map(p=>Te(this,p,u)),options:un(l.options)}}visitGroup(l,u){const p=u.currentTime;let w=0;const R=l.steps.map(k=>{u.currentTime=p;const U=Te(this,k,u);return w=Math.max(w,u.currentTime),U});return u.currentTime=w,{type:3,steps:R,options:un(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 Nn(be(b,l).duration,0,"");const p=b;if(p.split(/\s+/).some(R=>"{"==R.charAt(0)&&"{"==R.charAt(1))){const R=Nn(0,0,"");return R.dynamic=!0,R.strValue=p,R}return u=u||be(p,l),Nn(u.duration,u.delay,u.easing)}(l.timings,u.errors);u.currentAnimateTimings=p;let w,R=l.styles?l.styles:(0,ie.oB)({});if(5==R.type)w=this.visitKeyframes(R,u);else{let k=l.styles,U=!1;if(!k){U=!0;const Ce={};p.easing&&(Ce.easing=p.easing),k=(0,ie.oB)(Ce)}u.currentTime+=p.duration+p.delay;const re=this.visitStyle(k,u);re.isEmptyStep=U,w=re}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(k=>{"string"==typeof k?k==ie.l3?p.push(k):u.errors.push(`The provided style string value ${k} is not allowed.`):p.push(k)}):p.push(l.styles);let w=!1,R=null;return p.forEach(k=>{if(pn(k)){const U=k,re=U.easing;if(re&&(R=re,delete U.easing),!w)for(let Ce in U)if(U[Ce].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(k=>{"string"!=typeof k&&Object.keys(k).forEach(U=>{if(!this._driver.validateStyleProperty(U))return void u.errors.push(`The provided animation property "${U}" is not a supported CSS property for animations`);const re=u.collectedStyles[u.currentQuerySelector],Ce=re[U];let Fe=!0;Ce&&(R!=w&&R>=Ce.startTime&&w<=Ce.endTime&&(u.errors.push(`The CSS property "${U}" that exists between the times of "${Ce.startTime}ms" and "${Ce.endTime}ms" is also being animated in a parallel animation between the times of "${R}ms" and "${w}ms"`),Fe=!1),R=Ce.startTime),Fe&&(re[U]={startTime:R,endTime:w}),u.options&&function(b,l,u){const p=l.params||{},w=Bn(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`)})}(k[U],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 k=[];let U=!1,re=!1,Ce=0;const Fe=l.steps.map(cn=>{const gn=this._makeStyleAst(cn,u);let Ln=null!=gn.offset?gn.offset:function(b){if("string"==typeof b)return null;let l=null;if(Array.isArray(b))b.forEach(u=>{if(pn(u)&&u.hasOwnProperty("offset")){const p=u;l=parseFloat(p.offset),delete p.offset}});else if(pn(b)&&b.hasOwnProperty("offset")){const u=b;l=parseFloat(u.offset),delete u.offset}return l}(gn.styles),Dn=0;return null!=Ln&&(R++,Dn=gn.offset=Ln),re=re||Dn<0||Dn>1,U=U||Dn<Ce,Ce=Dn,k.push(Dn),gn});re&&u.errors.push("Please ensure that all keyframe offsets are between 0 and 1"),U&&u.errors.push("Please ensure that all keyframe offsets are in order");const Ge=l.steps.length;let vt=0;R>0&&R<Ge?u.errors.push("Not all style() steps within the declared keyframes() contain offsets"):0==R&&(vt=1/(Ge-1));const At=Ge-1,Xe=u.currentTime,Ct=u.currentAnimateTimings,Ft=Ct.duration;return Fe.forEach((cn,gn)=>{const Ln=vt>0?gn==At?1:vt*gn:k[gn],Dn=Ln*Ft;u.currentTime=Xe+Ct.delay+Dn,Ct.duration=Dn,this._validateStyleAst(cn,u),cn.offset=Ln,p.styles.push(cn)}),p}visitReference(l,u){return{type:8,animation:Te(this,nn(l.animation),u),options:un(l.options)}}visitAnimateChild(l,u){return u.depCount++,{type:9,options:un(l.options)}}visitAnimateRef(l,u){return{type:10,animation:this.visitReference(l.animation,u),options:un(l.options)}}visitQuery(l,u){const p=u.currentQuerySelector,w=l.options||{};u.queryCount++,u.currentQuery=l;const[R,k]=function(b){const l=!!b.split(/\s*,\s*/).find(u=>":self"==u);return l&&(b=b.replace(Ot,"")),b=b.replace(/@\*/g,mn).replace(/@\w+/g,u=>mn+"-"+u.substr(1)).replace(/:animating/g,Tn),[b,l]}(l.selector);u.currentQuerySelector=p.length?p+" "+R:R,F(u.collectedStyles,u.currentQuerySelector,{});const U=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:k,animation:U,originalSelector:l.selector,options:un(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"}:be(l.timings,u.errors,!0);return{type:12,animation:Te(this,nn(l.animation),u),timings:p,options:null}}}class yr{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 pn(b){return!Array.isArray(b)&&"object"==typeof b}function un(b){return b?(b=oe(b)).params&&(b.params=function(b){return b?oe(b):null}(b.params)):b={},b}function Nn(b,l,u){return{duration:b,delay:l,easing:u}}function sr(b,l,u,p,w,R,k=null,U=!1){return{type:1,element:b,keyframes:l,preStyleProps:u,postStyleProps:p,duration:w,delay:R,totalTime:w+R,easing:k,subTimeline:U}}class cr{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 Rr=new RegExp(":enter","g"),qn=new RegExp(":leave","g");function En(b,l,u,p,w,R={},k={},U,re,Ce=[]){return(new wt).buildKeyframes(b,l,u,p,w,R,k,U,re,Ce)}class wt{buildKeyframes(l,u,p,w,R,k,U,re,Ce,Fe=[]){Ce=Ce||new cr;const Ge=new le(l,u,Ce,w,R,Fe,[]);Ge.options=re,Ge.currentTimeline.setStyles([k],null,Ge.errors,re),Te(this,p,Ge);const vt=Ge.timelines.filter(At=>At.containsAnimation());if(vt.length&&Object.keys(U).length){const At=vt[vt.length-1];At.allowOnlyTimelineStyles()||At.setStyles([U],null,Ge.errors,re)}return vt.length?vt.map(At=>At.buildKeyframes()):[sr(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,k=this._visitSubInstructions(p,w,w.options);R!=k&&u.transformIntoNewTimeline(k)}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 k=null!=p.duration?kt(p.duration):null,U=null!=p.delay?kt(p.delay):null;return 0!==k&&l.forEach(re=>{const Ce=u.appendInstructionToTimeline(re,k,U);R=Math.max(R,Ce.duration+Ce.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=B);const k=kt(R.delay);w.delayNextStep(k)}l.steps.length&&(l.steps.forEach(k=>Te(this,k,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?kt(l.options.delay):0;l.steps.forEach(k=>{const U=u.createSubContext(l.options);R&&U.delayNextStep(R),Te(this,k,U),w=Math.max(w,U.currentTimeline.currentTime),p.push(U.currentTimeline)}),p.forEach(k=>u.currentTimeline.mergeTimelineCollectedStyles(k)),u.transformIntoNewTimeline(w),u.previousNode=l}_visitTiming(l,u){if(l.dynamic){const p=l.strValue;return be(u.params?xn(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,U=u.createSubContext().currentTimeline;U.easing=p.easing,l.styles.forEach(re=>{U.forwardTime((re.offset||0)*R),U.setStyles(re.styles,re.easing,u.errors,u.options),U.applyStylesToKeyframe()}),u.currentTimeline.mergeTimelineCollectedStyles(U),u.transformIntoNewTimeline(w+R),u.previousNode=l}visitQuery(l,u){const p=u.currentTimeline.currentTime,w=l.options||{},R=w.delay?kt(w.delay):0;R&&(6===u.previousNode.type||0==p&&u.currentTimeline.getCurrentStyleProperties().length)&&(u.currentTimeline.snapshotCurrentStyles(),u.previousNode=B);let k=p;const U=u.invokeQuery(l.selector,l.originalSelector,l.limit,l.includeSelf,!!w.optional,u.errors);u.currentQueryTotal=U.length;let re=null;U.forEach((Ce,Fe)=>{u.currentQueryIndex=Fe;const Ge=u.createSubContext(l.options,Ce);R&&Ge.delayNextStep(R),Ce===u.element&&(re=Ge.currentTimeline),Te(this,l.animation,Ge),Ge.currentTimeline.applyStylesToKeyframe(),k=Math.max(k,Ge.currentTimeline.currentTime)}),u.currentQueryIndex=0,u.currentQueryTotal=0,u.transformIntoNewTimeline(k),re&&(u.currentTimeline.mergeTimelineCollectedStyles(re),u.currentTimeline.snapshotCurrentStyles()),u.previousNode=l}visitStagger(l,u){const p=u.parentContext,w=u.currentTimeline,R=l.timings,k=Math.abs(R.duration),U=k*(u.currentQueryTotal-1);let re=k*u.currentQueryIndex;switch(R.duration<0?"reverse":R.easing){case"reverse":re=U-re;break;case"full":re=p.currentStaggerTime}const Fe=u.currentTimeline;re&&Fe.delayNextStep(re);const Ge=Fe.currentTime;Te(this,l.animation,u),u.previousNode=l,p.currentStaggerTime=w.currentTime-Ge+(w.startTime-p.currentTimeline.startTime)}}const B={};class le{constructor(l,u,p,w,R,k,U,re){this._driver=l,this.element=u,this.subInstructions=p,this._enterClassName=w,this._leaveClassName=R,this.errors=k,this.timelines=U,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=B,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=re||new x(this._driver,u,0),U.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=kt(p.duration)),null!=p.delay&&(w.delay=kt(p.delay));const R=p.params;if(R){let k=w.params;k||(k=this.options.params={}),Object.keys(R).forEach(U=>{(!u||!k.hasOwnProperty(U))&&(k[U]=xn(R[U],k,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 le(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=B,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 ye(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,k){let U=[];if(w&&U.push(this.element),l.length>0){l=(l=l.replace(Rr,"."+this._enterClassName)).replace(qn,"."+this._leaveClassName);let Ce=this._driver.query(this.element,l,1!=p);0!==p&&(Ce=p<0?Ce.slice(Ce.length+p,Ce.length):Ce.slice(0,p)),U.push(...Ce)}return!R&&0==U.length&&k.push(`\`query("${u}")\` returned zero elements. (Use \`query("${u}", { optional: true })\` if you wish to allow this.)`),U}}class x{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 x(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]||ie.l3,this._currentKeyframe[u]=ie.l3}),this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(l,u,p,w){u&&(this._previousKeyframe.easing=u);const R=w&&w.params||{},k=function(b,l){const u={};let p;return b.forEach(w=>{"*"===w?(p=p||Object.keys(l),p.forEach(R=>{u[R]=ie.l3})):We(w,!1,u)}),u}(l,this._globalTimelineStyles);Object.keys(k).forEach(U=>{const re=xn(k[U],R,p);this._pendingStyles[U]=re,this._localTimelineStyles.hasOwnProperty(U)||(this._backFill[U]=this._globalTimelineStyles.hasOwnProperty(U)?this._globalTimelineStyles[U]:ie.l3),this._updateStyle(U,re)})}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((U,re)=>{const Ce=We(U,!0);Object.keys(Ce).forEach(Fe=>{const Ge=Ce[Fe];Ge==ie.k1?l.add(Fe):Ge==ie.l3&&u.add(Fe)}),p||(Ce.offset=re/this.duration),w.push(Ce)});const R=l.size?Qt(l.values()):[],k=u.size?Qt(u.values()):[];if(p){const U=w[0],re=oe(U);U.offset=0,re.offset=1,w=[U,re]}return sr(this.element,w,R,k,this.duration,this.startTime,this.easing,!1)}}class ye extends x{constructor(l,u,p,w,R,k,U=!1){super(l,u,k.delay),this.keyframes=p,this.preStyleProps=w,this.postStyleProps=R,this._stretchStartingKeyframe=U,this.timings={duration:k.duration,delay:k.delay,easing:k.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=[],k=p+u,U=u/k,re=We(l[0],!1);re.offset=0,R.push(re);const Ce=We(l[0],!1);Ce.offset=ct(U),R.push(Ce);const Fe=l.length-1;for(let Ge=1;Ge<=Fe;Ge++){let vt=We(l[Ge],!1);vt.offset=ct((u+vt.offset*p)/k),R.push(vt)}p=k,u=0,w="",l=R}return sr(this.element,l,this.preStyleProps,this.postStyleProps,p,u,w,!0)}}function ct(b,l=3){const u=Math.pow(10,l-1);return Math.round(b*u)/u}class Be{}class $t extends Be{normalizePropertyName(l,u){return Je(l)}normalizeStyleValue(l,u,p,w){let R="";const k=p.toString().trim();if(J[u]&&0!==p&&"0"!==p)if("number"==typeof p)R="px";else{const U=p.match(/^[+-]?[\d\.]+([a-z]*)$/);U&&0==U[1].length&&w.push(`Please provide a CSS unit value for ${l}:${p}`)}return k+R}}const J=(()=>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 O(b,l,u,p,w,R,k,U,re,Ce,Fe,Ge,vt){return{type:0,element:b,triggerName:l,isRemovalTransition:w,fromState:u,fromStyles:R,toState:p,toStyles:k,timelines:U,queriedElements:re,preStyleProps:Ce,postStyleProps:Fe,totalTime:Ge,errors:vt}}const X={};class me{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],k=w?w.buildStyles(u,p):{};return R?R.buildStyles(u,p):k}build(l,u,p,w,R,k,U,re,Ce,Fe){const Ge=[],vt=this.ast.options&&this.ast.options.params||X,Xe=this.buildStyles(p,U&&U.params||X,Ge),Ct=re&&re.params||X,Ft=this.buildStyles(w,Ct,Ge),cn=new Set,gn=new Map,Ln=new Map,Dn="void"===w,gs={params:lt(lt({},vt),Ct)},or=Fe?[]:En(l,u,this.ast.animation,R,k,Xe,Ft,gs,Ce,Ge);let Xn=0;if(or.forEach(ar=>{Xn=Math.max(ar.duration+ar.delay,Xn)}),Ge.length)return O(u,this._triggerName,p,w,Dn,Xe,Ft,[],[],gn,Ln,Xn,Ge);or.forEach(ar=>{const br=ar.element,Ei=F(gn,br,{});ar.preStyleProps.forEach(es=>Ei[es]=!0);const xs=F(Ln,br,{});ar.postStyleProps.forEach(es=>xs[es]=!0),br!==u&&cn.add(br)});const Dr=Qt(cn.values());return O(u,this._triggerName,p,w,Dn,Xe,Ft,or,Dr,gn,Ln,Xn)}}class gt{constructor(l,u,p){this.styles=l,this.defaultParams=u,this.normalizer=p}buildStyles(l,u){const p={},w=oe(this.defaultParams);return Object.keys(l).forEach(R=>{const k=l[R];null!=k&&(w[R]=k)}),this.styles.styles.forEach(R=>{if("string"!=typeof R){const k=R;Object.keys(k).forEach(U=>{let re=k[U];re.length>1&&(re=xn(re,w,u));const Ce=this.normalizer.normalizePropertyName(U,u);re=this.normalizer.normalizeStyleValue(U,Ce,re,u),p[Ce]=re})}}),p}}class yn{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 gt(w.style,w.options&&w.options.params||{},p)}),zs(this.states,"true","1"),zs(this.states,"false","0"),u.transitions.forEach(w=>{this.transitionFactories.push(new me(l,w,this.states))}),this.fallbackTransition=function(b,l,u){return new me(b,{type:1,animation:{type:2,steps:[],options:null},matchers:[(k,U)=>!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(k=>k.match(l,u,p,w))||null}matchStyles(l,u,p){return this.fallbackTransition.buildStyles(l,u,p)}}function zs(b,l,u){b.hasOwnProperty(l)?b.hasOwnProperty(u)||(b[u]=b[l]):b.hasOwnProperty(u)&&(b[l]=b[u])}const Yr=new cr;class Fn{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=Z(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 k;const U=new Map;if(R?(k=En(this._driver,u,R,yt,$e,{},{},p,Yr,w),k.forEach(Fe=>{const Ge=F(U,Fe.element,{});Fe.postStyleProps.forEach(vt=>Ge[vt]=null)})):(w.push("The requested animation doesn't exist or has already been destroyed"),k=[]),w.length)throw new Error(`Unable to create the animation due to the following errors: ${w.join("\n")}`);U.forEach((Fe,Ge)=>{Object.keys(Fe).forEach(vt=>{Fe[vt]=this._driver.computeStyle(Ge,vt,ie.l3)})});const Ce=L(k.map(Fe=>{const Ge=U.get(Fe.element);return this._buildPlayer(Fe,{},Ge)}));return this._playersById[l]=Ce,Ce.onDestroy(()=>this.destroy(l)),this.players.push(Ce),Ce}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=W(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 Lr="ng-animate-queued",jn="ng-animate-disabled",Ht=".ng-animate-disabled",_r=[],qr={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Pr={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},_n="__ng_removed";class Sn{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=oe(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 ln="void",ii=new Sn(ln);class Hn{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,kn(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=F(this._elementListeners,l,[]),k={name:u,phase:p,callback:w};R.push(k);const U=F(this._engine.statesByElement,l,{});return U.hasOwnProperty(u)||(kn(l,On),kn(l,On+"-"+u),U[u]=ii),()=>{this._engine.afterFlush(()=>{const re=R.indexOf(k);re>=0&&R.splice(re,1),this._triggers[u]||delete U[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),k=new Or(this.id,u,l);let U=this._engine.statesByElement.get(l);U||(kn(l,On),kn(l,On+"-"+u),this._engine.statesByElement.set(l,U={}));let re=U[u];const Ce=new Sn(p,this.id);if(!(p&&p.hasOwnProperty("value"))&&re&&Ce.absorbOptions(re.options),U[u]=Ce,re||(re=ii),Ce.value!==ln&&re.value===Ce.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}(re.params,Ce.params)){const Ct=[],Ft=R.matchStyles(re.value,re.params,Ct),cn=R.matchStyles(Ce.value,Ce.params,Ct);Ct.length?this._engine.reportError(Ct):this._engine.afterFlush(()=>{hn(l,Ft),It(l,cn)})}return}const vt=F(this._engine.playersByElement,l,[]);vt.forEach(Ct=>{Ct.namespaceId==this.id&&Ct.triggerName==u&&Ct.queued&&Ct.destroy()});let At=R.matchTransition(re.value,Ce.value,l,Ce.params),Xe=!1;if(!At){if(!w)return;At=R.fallbackTransition,Xe=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:l,triggerName:u,transition:At,fromState:re,toState:Ce,player:k,isFallbackTransition:Xe}),Xe||(kn(l,Lr),k.onStart(()=>{Vr(l,Lr)})),k.onDone(()=>{let Ct=this.players.indexOf(k);Ct>=0&&this.players.splice(Ct,1);const Ft=this._engine.playersByElement.get(l);if(Ft){let cn=Ft.indexOf(k);cn>=0&&Ft.splice(cn,1)}}),this.players.push(k),vt.push(k),k}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,mn,!0);p.forEach(w=>{if(w[_n])return;const R=this._engine.fetchNamespacesByElement(w);R.size?R.forEach(k=>k.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 k=[];if(Object.keys(R).forEach(U=>{if(this._triggers[U]){const re=this.trigger(l,U,ln,w);re&&k.push(re)}}),k.length)return this._engine.markElementAsRemoved(this.id,l,!0,u),p&&L(k).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 k=R.name;if(w.has(k))return;w.add(k);const re=this._triggers[k].fallbackTransition,Ce=p[k]||ii,Fe=new Sn(ln),Ge=new Or(this.id,k,l);this._engine.totalQueuedPlayers++,this._queue.push({element:l,triggerName:k,transition:re,fromState:Ce,toState:Fe,player:Ge,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 k=l;for(;k=k.parentNode;)if(p.statesByElement.get(k)){w=!0;break}}}if(this.prepareLeaveAnimationListeners(l),w)p.markElementAsRemoved(this.id,l,!1,u);else{const R=l[_n];(!R||R===qr)&&(p.afterFlush(()=>this.clearElementCache(l)),p.destroyInnerAnimations(l),p._onRemovalComplete(l,u))}}insertNode(l,u){kn(l,this._hostClassName)}drainQueuedTransitions(l){const u=[];return this._queue.forEach(p=>{const w=p.player;if(w.destroyed)return;const R=p.element,k=this._elementListeners.get(R);k&&k.forEach(U=>{if(U.name==p.triggerName){const re=W(R,p.triggerName,p.fromState.value,p.toState.value);re._data=l,ne(p.player,U.phase,re,U.callback)}}),w.markedForDestroy?this._engine.afterFlush(()=>{w.destroy()}):u.push(p)}),this._queue=[],u.sort((p,w)=>{const R=p.transition.ast.depCount,k=w.transition.ast.depCount;return 0==R||0==k?R-k: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 Jn{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 Hn(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 k=p[w[R]].namespaceId;if(k){const U=this._fetchNamespace(k);U&&u.add(U)}}}return u}trigger(l,u,p,w){if(Jt(u)){const R=this._fetchNamespace(l);if(R)return R.trigger(u,p,w),!0}return!1}insertNode(l,u,p,w){if(!Jt(u))return;const R=u[_n];if(R&&R.setForRemoval){R.setForRemoval=!1,R.setForMove=!0;const k=this.collectedLeaveElements.indexOf(u);k>=0&&this.collectedLeaveElements.splice(k,1)}if(l){const k=this._fetchNamespace(l);k&&k.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),kn(l,jn)):this.disabledNodes.has(l)&&(this.disabledNodes.delete(l),Vr(l,jn))}removeNode(l,u,p,w){if(Jt(u)){const R=l?this._fetchNamespace(l):null;if(R?R.removeNode(u,w):this.markElementAsRemoved(l,u,!1,w),p){const k=this.namespacesByHostElement.get(u);k&&k.id!==l&&k.removeNode(u,w)}}else this._onRemovalComplete(u,w)}markElementAsRemoved(l,u,p,w){this.collectedLeaveElements.push(u),u[_n]={namespaceId:l,setForRemoval:w,hasAnimation:p,removedBeforeQueried:!1}}listen(l,u,p,w,R){return Jt(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,mn,!0);u.forEach(p=>this.destroyActiveAnimationsForElement(p)),0!=this.playersByQueriedElement.size&&(u=this.driver.query(l,Tn,!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 L(this.players).onDone(()=>l());l()})}processLeaveNode(l){const u=l[_n];if(u&&u.setForRemoval){if(l[_n]=qr,u.namespaceId){this.destroyInnerAnimations(l);const p=this._fetchNamespace(u.namespaceId);p&&p.clearElementCache(l)}this._onRemovalComplete(l,u.setForRemoval)}this.driver.matchesElement(l,Ht)&&this.markElementAsDisabled(l,!1),this.driver.query(l,Ht,!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++)kn(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?L(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 cr,w=[],R=new Map,k=[],U=new Map,re=new Map,Ce=new Map,Fe=new Set;this.disabledNodes.forEach(Ze=>{Fe.add(Ze);const Ke=this.driver.query(Ze,".ng-animate-queued",!0);for(let ot=0;ot<Ke.length;ot++)Fe.add(Ke[ot])});const Ge=this.bodyNode,vt=Array.from(this.statesByElement.keys()),At=ai(vt,this.collectedEnterElements),Xe=new Map;let Ct=0;At.forEach((Ze,Ke)=>{const ot=yt+Ct++;Xe.set(Ke,ot),Ze.forEach(rt=>kn(rt,ot))});const Ft=[],cn=new Set,gn=new Set;for(let Ze=0;Ze<this.collectedLeaveElements.length;Ze++){const Ke=this.collectedLeaveElements[Ze],ot=Ke[_n];ot&&ot.setForRemoval&&(Ft.push(Ke),cn.add(Ke),ot.hasAnimation?this.driver.query(Ke,".ng-star-inserted",!0).forEach(rt=>cn.add(rt)):gn.add(Ke))}const Ln=new Map,Dn=ai(vt,Array.from(cn));Dn.forEach((Ze,Ke)=>{const ot=$e+Ct++;Ln.set(Ke,ot),Ze.forEach(rt=>kn(rt,ot))}),l.push(()=>{At.forEach((Ze,Ke)=>{const ot=Xe.get(Ke);Ze.forEach(rt=>Vr(rt,ot))}),Dn.forEach((Ze,Ke)=>{const ot=Ln.get(Ke);Ze.forEach(rt=>Vr(rt,ot))}),Ft.forEach(Ze=>{this.processLeaveNode(Ze)})});const gs=[],or=[];for(let Ze=this._namespaceList.length-1;Ze>=0;Ze--)this._namespaceList[Ze].drainQueuedTransitions(u).forEach(ot=>{const rt=ot.player,bn=ot.element;if(gs.push(rt),this.collectedEnterElements.length){const lr=bn[_n];if(lr&&lr.setForMove)return void rt.destroy()}const fr=!Ge||!this.driver.containsElement(Ge,bn),Wn=Ln.get(bn),ts=Xe.get(bn),dn=this._buildInstruction(ot,p,ts,Wn,fr);if(dn.errors&&dn.errors.length)or.push(dn);else{if(fr)return rt.onStart(()=>hn(bn,dn.fromStyles)),rt.onDestroy(()=>It(bn,dn.toStyles)),void w.push(rt);if(ot.isFallbackTransition)return rt.onStart(()=>hn(bn,dn.fromStyles)),rt.onDestroy(()=>It(bn,dn.toStyles)),void w.push(rt);dn.timelines.forEach(lr=>lr.stretchStartingKeyframe=!0),p.append(bn,dn.timelines),k.push({instruction:dn,player:rt,element:bn}),dn.queriedElements.forEach(lr=>F(U,lr,[]).push(rt)),dn.preStyleProps.forEach((lr,Ur)=>{const ms=Object.keys(lr);if(ms.length){let jr=re.get(Ur);jr||re.set(Ur,jr=new Set),ms.forEach(Vn=>jr.add(Vn))}}),dn.postStyleProps.forEach((lr,Ur)=>{const ms=Object.keys(lr);let jr=Ce.get(Ur);jr||Ce.set(Ur,jr=new Set),ms.forEach(Vn=>jr.add(Vn))})}});if(or.length){const Ze=[];or.forEach(Ke=>{Ze.push(`@${Ke.triggerName} has failed due to:\n`),Ke.errors.forEach(ot=>Ze.push(`- ${ot}\n`))}),gs.forEach(Ke=>Ke.destroy()),this.reportError(Ze)}const Xn=new Map,Dr=new Map;k.forEach(Ze=>{const Ke=Ze.element;p.has(Ke)&&(Dr.set(Ke,Ke),this._beforeAnimationBuild(Ze.player.namespaceId,Ze.instruction,Xn))}),w.forEach(Ze=>{const Ke=Ze.element;this._getPreviousPlayers(Ke,!1,Ze.namespaceId,Ze.triggerName,null).forEach(rt=>{F(Xn,Ke,[]).push(rt),rt.destroy()})});const ar=Ft.filter(Ze=>Fi(Ze,re,Ce)),br=new Map;oi(br,this.driver,gn,Ce,ie.l3).forEach(Ze=>{Fi(Ze,re,Ce)&&ar.push(Ze)});const xs=new Map;At.forEach((Ze,Ke)=>{oi(xs,this.driver,new Set(Ze),re,ie.k1)}),ar.forEach(Ze=>{const Ke=br.get(Ze),ot=xs.get(Ze);br.set(Ze,lt(lt({},Ke),ot))});const es=[],Js=[],so={};k.forEach(Ze=>{const{element:Ke,player:ot,instruction:rt}=Ze;if(p.has(Ke)){if(Fe.has(Ke))return ot.onDestroy(()=>It(Ke,rt.toStyles)),ot.disabled=!0,ot.overrideTotalTime(rt.totalTime),void w.push(ot);let bn=so;if(Dr.size>1){let Wn=Ke;const ts=[];for(;Wn=Wn.parentNode;){const dn=Dr.get(Wn);if(dn){bn=dn;break}ts.push(Wn)}ts.forEach(dn=>Dr.set(dn,bn))}const fr=this._buildAnimation(ot.namespaceId,rt,Xn,R,xs,br);if(ot.setRealPlayer(fr),bn===so)es.push(ot);else{const Wn=this.playersByElement.get(bn);Wn&&Wn.length&&(ot.parentPlayer=L(Wn)),w.push(ot)}}else hn(Ke,rt.fromStyles),ot.onDestroy(()=>It(Ke,rt.toStyles)),Js.push(ot),Fe.has(Ke)&&w.push(ot)}),Js.forEach(Ze=>{const Ke=R.get(Ze.element);if(Ke&&Ke.length){const ot=L(Ke);Ze.setRealPlayer(ot)}}),w.forEach(Ze=>{Ze.parentPlayer?Ze.syncPlayerEvents(Ze.parentPlayer):Ze.destroy()});for(let Ze=0;Ze<Ft.length;Ze++){const Ke=Ft[Ze],ot=Ke[_n];if(Vr(Ke,$e),ot&&ot.hasAnimation)continue;let rt=[];if(U.size){let fr=U.get(Ke);fr&&fr.length&&rt.push(...fr);let Wn=this.driver.query(Ke,Tn,!0);for(let ts=0;ts<Wn.length;ts++){let dn=U.get(Wn[ts]);dn&&dn.length&&rt.push(...dn)}}const bn=rt.filter(fr=>!fr.destroyed);bn.length?xi(this,Ke,bn):this.processLeaveNode(Ke)}return Ft.length=0,es.forEach(Ze=>{this.players.push(Ze),Ze.onDone(()=>{Ze.destroy();const Ke=this.players.indexOf(Ze);this.players.splice(Ke,1)}),Ze.play()}),es}elementContainsData(l,u){let p=!1;const w=u[_n];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 k=[];if(u){const U=this.playersByQueriedElement.get(l);U&&(k=U)}else{const U=this.playersByElement.get(l);if(U){const re=!R||R==ln;U.forEach(Ce=>{Ce.queued||!re&&Ce.triggerName!=w||k.push(Ce)})}}return(p||w)&&(k=k.filter(U=>!(p&&p!=U.namespaceId||w&&w!=U.triggerName))),k}_beforeAnimationBuild(l,u,p){const R=u.element,k=u.isRemovalTransition?void 0:l,U=u.isRemovalTransition?void 0:u.triggerName;for(const re of u.timelines){const Ce=re.element,Fe=Ce!==R,Ge=F(p,Ce,[]);this._getPreviousPlayers(Ce,Fe,k,U,u.toState).forEach(At=>{const Xe=At.getRealPlayer();Xe.beforeDestroy&&Xe.beforeDestroy(),At.destroy(),Ge.push(At)})}hn(R,u.fromStyles)}_buildAnimation(l,u,p,w,R,k){const U=u.triggerName,re=u.element,Ce=[],Fe=new Set,Ge=new Set,vt=u.timelines.map(Xe=>{const Ct=Xe.element;Fe.add(Ct);const Ft=Ct[_n];if(Ft&&Ft.removedBeforeQueried)return new ie.ZN(Xe.duration,Xe.delay);const cn=Ct!==re,gn=function(b){const l=[];return ui(b,l),l}((p.get(Ct)||_r).map(Xn=>Xn.getRealPlayer())).filter(Xn=>!!Xn.element&&Xn.element===Ct),Ln=R.get(Ct),Dn=k.get(Ct),gs=Z(0,this._normalizer,0,Xe.keyframes,Ln,Dn),or=this._buildPlayer(Xe,gs,gn);if(Xe.subTimeline&&w&&Ge.add(Ct),cn){const Xn=new Or(l,U,Ct);Xn.setRealPlayer(or),Ce.push(Xn)}return or});Ce.forEach(Xe=>{F(this.playersByQueriedElement,Xe.element,[]).push(Xe),Xe.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,Xe.element,Xe))}),Fe.forEach(Xe=>kn(Xe,Qn));const At=L(vt);return At.onDestroy(()=>{Fe.forEach(Xe=>Vr(Xe,Qn)),It(re,u.toStyles)}),Ge.forEach(Xe=>{F(w,Xe,[]).push(At)}),At}_buildPlayer(l,u,p){return u.length>0?this.driver.animate(l.element,u,l.duration,l.delay,l.easing,p):new ie.ZN(l.duration,l.delay)}}class Or{constructor(l,u,p){this.namespaceId=l,this.triggerName=u,this.element=p,this._player=new ie.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){F(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 Jt(b){return b&&1===b.nodeType}function ds(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(re=>R.push(ds(re)));const k=[];p.forEach((re,Ce)=>{const Fe={};re.forEach(Ge=>{const vt=Fe[Ge]=l.computeStyle(Ce,Ge,w);(!vt||0==vt.length)&&(Ce[_n]=Pr,k.push(Ce))}),b.set(Ce,Fe)});let U=0;return u.forEach(re=>ds(re,R[U++])),k}function ai(b,l){const u=new Map;if(b.forEach(U=>u.set(U,[])),0==l.length)return u;const w=new Set(l),R=new Map;function k(U){if(!U)return 1;let re=R.get(U);if(re)return re;const Ce=U.parentNode;return re=u.has(Ce)?Ce:w.has(Ce)?1:k(Ce),R.set(U,re),re}return l.forEach(U=>{const re=k(U);1!==re&&u.get(re).push(U)}),u}const Ms="$$classes";function kn(b,l){if(b.classList)b.classList.add(l);else{let u=b[Ms];u||(u=b[Ms]={}),u[l]=!0}}function Vr(b,l){if(b.classList)b.classList.remove(l);else{let u=b[Ms];u&&delete u[l]}}function xi(b,l,u){L(u).onDone(()=>b.processLeaveNode(l))}function ui(b,l){for(let u=0;u<b.length;u++){const p=b[u];p instanceof ie.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 Jn(l,u,p),this._timelineEngine=new Fn(l,u,p),this._transitionEngine.onRemovalComplete=(w,R)=>this.onRemovalComplete(w,R)}registerTrigger(l,u,p,w,R){const k=l+"-"+w;let U=this._triggerCache[k];if(!U){const re=[],Ce=ze(this._driver,R,re);if(re.length)throw new Error(`The animation trigger "${w}" has failed to build due to the following errors:\n - ${re.join("\n - ")}`);U=function(b,l,u){return new yn(b,l,u)}(w,Ce,this._normalizer),this._triggerCache[k]=U}this._transitionEngine.registerTrigger(u,w,U)}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,k]=ue(p);this._timelineEngine.command(R,u,k,w)}else this._transitionEngine.trigger(l,u,p,w)}listen(l,u,p,w,R){if("@"==p.charAt(0)){const[k,U]=ue(p);return this._timelineEngine.listen(k,u,U,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=Jr(l[0]),l.length>1&&(p=Jr(l[l.length-1]))):l&&(u=Jr(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&&It(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(It(this._element,this._initialStyles),this._endStyles&&(It(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(b.initialStylesByElement.delete(this._element),this._startStyles&&(hn(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(hn(this._element,this._endStyles),this._endStyles=null),It(this._element,this._initialStyles),this._state=3)}}return b.initialStylesByElement=new WeakMap,b})();function Jr(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 Rs="animation",fi="animationend";class hi{constructor(l,u,p,w,R,k,U){this._element=l,this._name=u,this._duration=p,this._delay=w,this._easing=R,this._fillMode=k,this._onDoneFn=U,this._finished=!1,this._destroyed=!1,this._startTime=0,this._position=0,this._eventFn=re=>this._handleCallback(re)}apply(){(function(b,l){const u=Ps(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}`),ps(b,"",l)})(this._element,`${this._duration}ms ${this._easing} ${this._delay}ms 1 normal ${this._fillMode} ${this._name}`),xr(this._element,this._eventFn,!1),this._startTime=Date.now()}pause(){vr(this._element,this._name,"paused")}resume(){vr(this._element,this._name,"running")}setPosition(l){const u=ir(this._element,this._name);this._position=l*this._duration,ps(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(),xr(this._element,this._eventFn,!0))}destroy(){this._destroyed||(this._destroyed=!0,this.finish(),function(b,l){const p=Ps(b,"").split(","),w=Qs(p,l);w>=0&&(p.splice(w,1),ps(b,"",p.join(",")))}(this._element,this._name))}}function vr(b,l,u){ps(b,"PlayState",u,ir(b,l))}function ir(b,l){const u=Ps(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 xr(b,l,u){u?b.removeEventListener(fi,l):b.addEventListener(fi,l)}function ps(b,l,u,p){const w=Rs+l;if(null!=p){const R=b.style[w];if(R.length){const k=R.split(",");k[p]=u,u=k.join(",")}}b.style[w]=u}function Ps(b,l){return b.style[Rs+l]||""}class In{constructor(l,u,p,w,R,k,U,re){this.element=l,this.keyframes=u,this.animationName=p,this._duration=w,this._delay=R,this._finalStyles=U,this._specialStyles=re,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this.currentSnapshot={},this._state=0,this.easing=k||"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 ie.ZN{constructor(l,u){super(),this.element=l,this._startingStyles={},this.__initialized=!1,this._styles=st(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 Ae(l)}matchesElement(l,u){return ge(l,u)}containsElement(l,u){return Ye(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(U=>st(U));let w=`@keyframes ${u} {\n`,R="";p.forEach(U=>{R=" ";const re=parseFloat(U.offset);w+=`${R}${100*re}% {\n`,R+=" ",Object.keys(U).forEach(Ce=>{const Fe=U[Ce];switch(Ce){case"offset":return;case"easing":return void(Fe&&(w+=`${R}animation-timing-function: ${Fe};\n`));default:return void(w+=`${R}${Ce}: ${Fe};\n`)}}),w+=`${R}}\n`}),w+="}\n";const k=document.createElement("style");return k.textContent=w,k}animate(l,u,p,w,R,k=[],U){const re=k.filter(Ft=>Ft instanceof In),Ce={};Y(p,w)&&re.forEach(Ft=>{let cn=Ft.currentSnapshot;Object.keys(cn).forEach(gn=>Ce[gn]=cn[gn])});const Fe=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,Ce));if(0==p)return new gi(l,Fe);const Ge="gen_css_kf_"+this._count++,vt=this.buildKeyframeElement(l,Ge,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(vt);const Xe=di(l,u),Ct=new In(l,u,Ge,p,w,R,Fe,Xe);return Ct.onDestroy(()=>{var b;(b=vt).parentNode.removeChild(b)}),Ct}}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(Me().toString()),this._cssKeyframesDriver=new mi}validateStyleProperty(l){return Ae(l)}matchesElement(l,u){return ge(l,u)}containsElement(l,u){return Ye(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,k=[],U){if(!U&&!this._isNativeImpl)return this._cssKeyframesDriver.animate(l,u,p,w,R,k);const Fe={duration:p,delay:w,fill:0==w?"both":"forwards"};R&&(Fe.easing=R);const Ge={},vt=k.filter(Xe=>Xe instanceof S);Y(p,w)&&vt.forEach(Xe=>{let Ct=Xe.currentSnapshot;Object.keys(Ct).forEach(Ft=>Ge[Ft]=Ct[Ft])});const At=di(l,u=Q(l,u=u.map(Xe=>We(Xe,!1)),Ge));return new S(l,u,Fe,At)}}function Me(){return de()&&Element.prototype.animate||{}}var He=I(6019);let zt=(()=>{class b extends ie._j{constructor(u,p){super(),this._nextAnimationId=0,this._renderer=u.createRenderer(p.body,{id:"0",encapsulation:v.ifc.None,styles:[],data:{animation:[]}})}build(u){const p=this._nextAnimationId.toString();this._nextAnimationId++;const w=Array.isArray(u)?(0,ie.vP)(u):u;return mt(this._renderer,null,p,"register",[w]),new Xt(p,this._renderer)}}return b.\u0275fac=function(u){return new(u||b)(v.LFG(v.FYo),v.LFG(He.K0))},b.\u0275prov=v.Yz7({token:b,factory:b.\u0275fac}),b})();class Xt extends ie.LC{constructor(l,u){super(),this._id=l,this._renderer=u}create(l,u){return new Wt(this._id,l,u||{},this._renderer)}}class Wt{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 mt(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 mt(b,l,u,p,w){return b.setProperty(l,`@@${u}:${p}`,w)}const Gt="@.disabled";let An=(()=>{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,k)=>{const U=null==k?void 0:k.parentNode(R);U&&k.removeChild(U,R)}}createRenderer(u,p){const R=this.delegate.createRenderer(u,p);if(!(u&&p&&p.data&&p.data.animation)){let Fe=this._rendererCache.get(R);return Fe||(Fe=new Cn("",R,this.engine),this._rendererCache.set(R,Fe)),Fe}const k=p.id,U=p.id+"-"+this._currentId;this._currentId++,this.engine.register(U,u);const re=Fe=>{Array.isArray(Fe)?Fe.forEach(re):this.engine.registerTrigger(k,U,u,Fe.name,Fe)};return p.data.animation.forEach(re),new Er(this,U,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[k,U]=R;k(U)}),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)(v.LFG(v.FYo),v.LFG(Ks),v.LFG(v.R0b))},b.\u0275prov=v.Yz7({token:b,factory:b.\u0275fac}),b})();class Cn{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 Er extends Cn{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),k="";return"@"!=R.charAt(0)&&([R,k]=function(b){const l=b.indexOf(".");return[b.substring(0,l),b.substr(l+1)]}(R)),this.engine.listen(this.namespaceId,w,R,k,U=>{this.factory.scheduleListenerCallback(U._data||-1,p,U)})}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)(v.LFG(He.K0),v.LFG(ht),v.LFG(Be))},b.\u0275prov=v.Yz7({token:b,factory:b.\u0275fac}),b})();const _i=new v.OlP("AnimationModuleType"),vi=[{provide:ie._j,useClass:zt},{provide:Be,useFactory:function(){return new $t}},{provide:Ks,useClass:Ui},{provide:v.FYo,useFactory:function(b,l,u){return new An(b,l,u)},deps:[g.se,Ks,v.R0b]}],ro=[{provide:ht,useFactory:function(){return"function"==typeof Me()?new H:new mi}},{provide:_i,useValue:"BrowserAnimations"},...vi],Re=[{provide:ht,useClass:ft},{provide:_i,useValue:"NoopAnimations"},...vi];let Nt=(()=>{class b{static withConfig(u){return{ngModule:b,providers:u.disableAnimations?Re:ro}}}return b.\u0275fac=function(u){return new(u||b)},b.\u0275mod=v.oAB({type:b}),b.\u0275inj=v.cJS({providers:ro,imports:[g.b2]}),b})()},5427:(je,ce,I)=>{I.d(ce,{b2:()=>ur,H7:()=>qt,q6:()=>Vt,se:()=>We});var v=I(6019),g=I(6079);class ie extends v.w_{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class de extends ie{static makeCurrent(){(0,v.HT)(new de)}onAndCancel(G,O,X){return G.addEventListener(O,X,!1),()=>{G.removeEventListener(O,X,!1)}}dispatchEvent(G,O){G.dispatchEvent(O)}remove(G){G.parentNode&&G.parentNode.removeChild(G)}createElement(G,O){return(O=O||this.getDefaultDocument()).createElement(G)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(G){return G.nodeType===Node.ELEMENT_NODE}isShadowRoot(G){return G instanceof DocumentFragment}getGlobalEventTarget(G,O){return"window"===O?window:"document"===O?G:"body"===O?G.body:null}getBaseHref(G){const O=(K=K||document.querySelector("base"),K?K.getAttribute("href"):null);return null==O?null:function(J){Z=Z||document.createElement("a"),Z.setAttribute("href",J);const G=Z.pathname;return"/"===G.charAt(0)?G:`/${G}`}(O)}resetBaseElement(){K=null}getUserAgent(){return window.navigator.userAgent}getCookie(G){return(0,v.Mx)(document.cookie,G)}}let Z,K=null;const j=new g.OlP("TRANSITION_ID"),F=[{provide:g.ip1,useFactory:function(J,G,O){return()=>{O.get(g.CZH).donePromise.then(()=>{const X=(0,v.q)(),me=G.querySelectorAll(`style[ng-transition="${J}"]`);for(let et=0;et<me.length;et++)X.remove(me[et])})}},deps:[j,v.K0,g.zs3],multi:!0}];class ue{static init(){(0,g.VLi)(new ue)}addToWindow(G){g.dqk.getAngularTestability=(X,me=!0)=>{const et=G.findTestabilityInTree(X,me);if(null==et)throw new Error("Could not find testability for element.");return et},g.dqk.getAllAngularTestabilities=()=>G.getAllTestabilities(),g.dqk.getAllAngularRootElements=()=>G.getAllRootElements(),g.dqk.frameworkStabilizers||(g.dqk.frameworkStabilizers=[]),g.dqk.frameworkStabilizers.push(X=>{const me=g.dqk.getAllAngularTestabilities();let et=me.length,gt=!1;const Qe=function(yn){gt=gt||yn,et--,0==et&&X(gt)};me.forEach(function(yn){yn.whenStable(Qe)})})}findTestabilityInTree(G,O,X){if(null==O)return null;const me=G.getTestability(O);return null!=me?me:X?(0,v.q)().isShadowRoot(O)?this.findTestabilityInTree(G,O.host,!0):this.findTestabilityInTree(G,O.parentElement,!0):null}}let ve=(()=>{class J{build(){return new XMLHttpRequest}}return J.\u0275fac=function(O){return new(O||J)},J.\u0275prov=g.Yz7({token:J,factory:J.\u0275fac}),J})();const Pt=new g.OlP("EventManagerPlugins");let Rt=(()=>{class J{constructor(O,X){this._zone=X,this._eventNameToPlugin=new Map,O.forEach(me=>me.manager=this),this._plugins=O.slice().reverse()}addEventListener(O,X,me){return this._findPluginFor(X).addEventListener(O,X,me)}addGlobalEventListener(O,X,me){return this._findPluginFor(X).addGlobalEventListener(O,X,me)}getZone(){return this._zone}_findPluginFor(O){const X=this._eventNameToPlugin.get(O);if(X)return X;const me=this._plugins;for(let et=0;et<me.length;et++){const gt=me[et];if(gt.supports(O))return this._eventNameToPlugin.set(O,gt),gt}throw new Error(`No event manager plugin found for event ${O}`)}}return J.\u0275fac=function(O){return new(O||J)(g.LFG(Pt),g.LFG(g.R0b))},J.\u0275prov=g.Yz7({token:J,factory:J.\u0275fac}),J})();class ut{constructor(G){this._doc=G}addGlobalEventListener(G,O,X){const me=(0,v.q)().getGlobalEventTarget(this._doc,G);if(!me)throw new Error(`Unsupported event target ${me} for event ${O}`);return this.addEventListener(me,O,X)}}let yt=(()=>{class J{constructor(){this._stylesSet=new Set}addStyles(O){const X=new Set;O.forEach(me=>{this._stylesSet.has(me)||(this._stylesSet.add(me),X.add(me))}),this.onStylesAdded(X)}onStylesAdded(O){}getAllStyles(){return Array.from(this._stylesSet)}}return J.\u0275fac=function(O){return new(O||J)},J.\u0275prov=g.Yz7({token:J,factory:J.\u0275fac}),J})(),$e=(()=>{class J extends yt{constructor(O){super(),this._doc=O,this._hostNodes=new Map,this._hostNodes.set(O.head,[])}_addStylesToHost(O,X,me){O.forEach(et=>{const gt=this._doc.createElement("style");gt.textContent=et,me.push(X.appendChild(gt))})}addHost(O){const X=[];this._addStylesToHost(this._stylesSet,O,X),this._hostNodes.set(O,X)}removeHost(O){const X=this._hostNodes.get(O);X&&X.forEach(Ar),this._hostNodes.delete(O)}onStylesAdded(O){this._hostNodes.forEach((X,me)=>{this._addStylesToHost(O,me,X)})}ngOnDestroy(){this._hostNodes.forEach(O=>O.forEach(Ar))}}return J.\u0275fac=function(O){return new(O||J)(g.LFG(v.K0))},J.\u0275prov=g.Yz7({token:J,factory:J.\u0275fac}),J})();function Ar(J){(0,v.q)().remove(J)}const nr={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/"},On=/%COMP%/g;function ee(J,G,O){for(let X=0;X<G.length;X++){let me=G[X];Array.isArray(me)?ee(J,me,O):(me=me.replace(On,J),O.push(me))}return O}function oe(J){return G=>{if("__ngUnwrap__"===G)return J;!1===J(G)&&(G.preventDefault(),G.returnValue=!1)}}let We=(()=>{class J{constructor(O,X,me){this.eventManager=O,this.sharedStylesHost=X,this.appId=me,this.rendererByCompId=new Map,this.defaultRenderer=new fn(O)}createRenderer(O,X){if(!O||!X)return this.defaultRenderer;switch(X.encapsulation){case g.ifc.Emulated:{let me=this.rendererByCompId.get(X.id);return me||(me=new hn(this.eventManager,this.sharedStylesHost,X,this.appId),this.rendererByCompId.set(X.id,me)),me.applyToHost(O),me}case 1:case g.ifc.ShadowDom:return new nn(this.eventManager,this.sharedStylesHost,O,X);default:if(!this.rendererByCompId.has(X.id)){const me=ee(X.id,X.styles,[]);this.sharedStylesHost.addStyles(me),this.rendererByCompId.set(X.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return J.\u0275fac=function(O){return new(O||J)(g.LFG(Rt),g.LFG($e),g.LFG(g.AFp))},J.\u0275prov=g.Yz7({token:J,factory:J.\u0275fac}),J})();class fn{constructor(G){this.eventManager=G,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(G,O){return O?document.createElementNS(nr[O]||O,G):document.createElement(G)}createComment(G){return document.createComment(G)}createText(G){return document.createTextNode(G)}appendChild(G,O){G.appendChild(O)}insertBefore(G,O,X){G&&G.insertBefore(O,X)}removeChild(G,O){G&&G.removeChild(O)}selectRootElement(G,O){let X="string"==typeof G?document.querySelector(G):G;if(!X)throw new Error(`The selector "${G}" did not match any elements`);return O||(X.textContent=""),X}parentNode(G){return G.parentNode}nextSibling(G){return G.nextSibling}setAttribute(G,O,X,me){if(me){O=me+":"+O;const et=nr[me];et?G.setAttributeNS(et,O,X):G.setAttribute(O,X)}else G.setAttribute(O,X)}removeAttribute(G,O,X){if(X){const me=nr[X];me?G.removeAttributeNS(me,O):G.removeAttribute(`${X}:${O}`)}else G.removeAttribute(O)}addClass(G,O){G.classList.add(O)}removeClass(G,O){G.classList.remove(O)}setStyle(G,O,X,me){me&(g.JOm.DashCase|g.JOm.Important)?G.style.setProperty(O,X,me&g.JOm.Important?"important":""):G.style[O]=X}removeStyle(G,O,X){X&g.JOm.DashCase?G.style.removeProperty(O):G.style[O]=""}setProperty(G,O,X){G[O]=X}setValue(G,O){G.nodeValue=O}listen(G,O,X){return"string"==typeof G?this.eventManager.addGlobalEventListener(G,O,oe(X)):this.eventManager.addEventListener(G,O,oe(X))}}class hn extends fn{constructor(G,O,X,me){super(G),this.component=X;const et=ee(me+"-"+X.id,X.styles,[]);O.addStyles(et),this.contentAttr="_ngcontent-%COMP%".replace(On,me+"-"+X.id),this.hostAttr="_nghost-%COMP%".replace(On,me+"-"+X.id)}applyToHost(G){super.setAttribute(G,this.hostAttr,"")}createElement(G,O){const X=super.createElement(G,O);return super.setAttribute(X,this.contentAttr,""),X}}class nn extends fn{constructor(G,O,X,me){super(G),this.sharedStylesHost=O,this.hostEl=X,this.shadowRoot=X.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const et=ee(me.id,me.styles,[]);for(let gt=0;gt<et.length;gt++){const Qe=document.createElement("style");Qe.textContent=et[gt],this.shadowRoot.appendChild(Qe)}}nodeOrShadowRoot(G){return G===this.hostEl?this.shadowRoot:G}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}appendChild(G,O){return super.appendChild(this.nodeOrShadowRoot(G),O)}insertBefore(G,O,X){return super.insertBefore(this.nodeOrShadowRoot(G),O,X)}removeChild(G,O){return super.removeChild(this.nodeOrShadowRoot(G),O)}parentNode(G){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(G)))}}let $n=(()=>{class J extends ut{constructor(O){super(O)}supports(O){return!0}addEventListener(O,X,me){return O.addEventListener(X,me,!1),()=>this.removeEventListener(O,X,me)}removeEventListener(O,X,me){return O.removeEventListener(X,me)}}return J.\u0275fac=function(O){return new(O||J)(g.LFG(v.K0))},J.\u0275prov=g.Yz7({token:J,factory:J.\u0275fac}),J})();const Te=["alt","control","meta","shift"],Ue={"\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"},xe={alt:J=>J.altKey,control:J=>J.ctrlKey,meta:J=>J.metaKey,shift:J=>J.shiftKey};let pt=(()=>{class J extends ut{constructor(O){super(O)}supports(O){return null!=J.parseEventName(O)}addEventListener(O,X,me){const et=J.parseEventName(X),gt=J.eventCallback(et.fullKey,me,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,v.q)().onAndCancel(O,et.domEventName,gt))}static parseEventName(O){const X=O.toLowerCase().split("."),me=X.shift();if(0===X.length||"keydown"!==me&&"keyup"!==me)return null;const et=J._normalizeKey(X.pop());let gt="";if(Te.forEach(yn=>{const Zn=X.indexOf(yn);Zn>-1&&(X.splice(Zn,1),gt+=yn+".")}),gt+=et,0!=X.length||0===et.length)return null;const Qe={};return Qe.domEventName=me,Qe.fullKey=gt,Qe}static getEventFullKey(O){let X="",me=function(J){let G=J.key;if(null==G){if(G=J.keyIdentifier,null==G)return"Unidentified";G.startsWith("U+")&&(G=String.fromCharCode(parseInt(G.substring(2),16)),3===J.location&&Ne.hasOwnProperty(G)&&(G=Ne[G]))}return Ue[G]||G}(O);return me=me.toLowerCase()," "===me?me="space":"."===me&&(me="dot"),Te.forEach(et=>{et!=me&&xe[et](O)&&(X+=et+".")}),X+=me,X}static eventCallback(O,X,me){return et=>{J.getEventFullKey(et)===O&&me.runGuarded(()=>X(et))}}static _normalizeKey(O){return"esc"===O?"escape":O}}return J.\u0275fac=function(O){return new(O||J)(g.LFG(v.K0))},J.\u0275prov=g.Yz7({token:J,factory:J.\u0275fac}),J})(),qt=(()=>{class J{}return J.\u0275fac=function(O){return new(O||J)},J.\u0275prov=g.Yz7({token:J,factory:function(O){let X=null;return X=O?new(O||J):g.LFG(Zt),X},providedIn:"root"}),J})(),Zt=(()=>{class J extends qt{constructor(O){super(),this._doc=O}sanitize(O,X){if(null==X)return null;switch(O){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 ${O} (see https://g.co/ng/security#xss)`)}}bypassSecurityTrustHtml(O){return(0,g.JVY)(O)}bypassSecurityTrustStyle(O){return(0,g.L6k)(O)}bypassSecurityTrustScript(O){return(0,g.eBb)(O)}bypassSecurityTrustUrl(O){return(0,g.LAX)(O)}bypassSecurityTrustResourceUrl(O){return(0,g.pB0)(O)}}return J.\u0275fac=function(O){return new(O||J)(g.LFG(v.K0))},J.\u0275prov=g.Yz7({token:J,factory:function(O){let X=null;return X=O?new O:function(J){return new Zt(J.get(v.K0))}(g.LFG(g.zs3)),X},providedIn:"root"}),J})();const Vt=(0,g.eFA)(g._c5,"browser",[{provide:g.Lbi,useValue:v.bD},{provide:g.g9A,useValue:function(){de.makeCurrent(),ue.init()},multi:!0},{provide:v.K0,useFactory:function(){return(0,g.RDi)(document),document},deps:[]}]),pn=[[],{provide:g.zSh,useValue:"root"},{provide:g.qLn,useFactory:function(){return new g.qLn},deps:[]},{provide:Pt,useClass:$n,multi:!0,deps:[v.K0,g.R0b,g.Lbi]},{provide:Pt,useClass:pt,multi:!0,deps:[v.K0]},[],{provide:We,useClass:We,deps:[Rt,$e,g.AFp]},{provide:g.FYo,useExisting:We},{provide:yt,useExisting:$e},{provide:$e,useClass:$e,deps:[v.K0]},{provide:g.dDg,useClass:g.dDg,deps:[g.R0b]},{provide:Rt,useClass:Rt,deps:[Pt,g.R0b]},{provide:v.JF,useClass:ve,deps:[]},[]];let ur=(()=>{class J{constructor(O){if(O)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(O){return{ngModule:J,providers:[{provide:g.AFp,useValue:O.appId},{provide:j,useExisting:g.AFp},F]}}}return J.\u0275fac=function(O){return new(O||J)(g.LFG(J,12))},J.\u0275mod=g.oAB({type:J}),J.\u0275inj=g.cJS({providers:pn,imports:[v.ez,g.hGG]}),J})();"undefined"!=typeof window&&window},1086:(je,ce,I)=>{I.d(ce,{gz:()=>Sn,m2:()=>nn,F0:()=>Vn,rH:()=>Ns,Od:()=>Di,yS:()=>io,Bz:()=>wi,lC:()=>Br});var v=I(6019),g=I(6079);const de=(()=>{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 K=I(1915),L=I(2411),Z=I(4099),ne=I(2372),j=I(5548),W=I(3596),F=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 Se(h,d,c))}}class Se{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 Ve=I(8345);function Ae(h){return function(c){const y=new ae(h),C=c.lift(y);return y.caught=C}}class ae{constructor(d){this.selector=d}call(d,c){return c.subscribe(new ge(d,this.selector,this.caught))}}class ge extends Ve.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 Ve.IY(this);this.add(y);const C=(0,Ve.ft)(c,y);C!==y&&this.add(C)}}}var Ye=I(8735),bt=I(523);function st(h){return function(c){return 0===h?(0,ue.c)():c.lift(new ft(h))}}class ft{constructor(d){if(this.total=d,this.total<0)throw new bt.W}call(d,c){return c.subscribe(new ht(d,this.total))}}class ht 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 N=c++%y;d.next(C[N])}}d.complete()}}function Pt(h=yt){return d=>d.lift(new Rt(h))}class Rt{constructor(d){this.errorFactory=d}call(d,c){return c.subscribe(new ut(d,this.errorFactory))}}class ut 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 yt(){return new de}function $e(h=null){return d=>d.lift(new Ar(h))}class Ar{constructor(d){this.defaultValue=d}call(d,c){return c.subscribe(new nr(d,this.defaultValue))}}class nr 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 On=I(7255),Qn=I(6636);function Tn(h,d){const c=arguments.length>=2;return y=>y.pipe(h?(0,Ye.h)((C,A)=>h(C,A,y)):On.y,(0,Qn.q)(1),c?$e(d):Pt(()=>new de))}var kt=I(8053),pe=I(9204),be=I(1125),ee=I(6700),oe=I(4421),Le=I(1366),We=I(5234),fn=I(6658),en=I(2225);class It{constructor(d,c){this.id=d,this.url=c}}class hn extends It{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 It{constructor(d,c,y){super(d,c),this.urlAfterRedirects=y}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class $n extends It{constructor(d,c,y){super(d,c),this.reason=y}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class rr extends It{constructor(d,c,y){super(d,c),this.error=y}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class Bn extends It{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 xn extends It{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 It{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 Mr extends It{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 Je extends It{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 we{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 Ue{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 xe="primary";class pt{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 _t(h){return new pt(h)}const qt="ngNavigationCancelingError";function sn(h){const d=Error("NavigationCancelingError: "+h);return d[qt]=!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 N=y[A],z=h[A];if(N.startsWith(":"))C[N.substring(1)]=z;else if(N!==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],!xt(h[C],d[C]))return!1;return!0}function xt(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 tn(h){return Array.prototype.concat.apply([],h)}function Dt(h){return h.length>0?h[h.length-1]:null}function Vt(h,d){for(const c in h)h.hasOwnProperty(c)&&d(h[c],c)}function pn(h){return(0,g.CqO)(h)?h:(0,g.QGY)(h)?(0,K.D)(Promise.resolve(h)):(0,L.of)(h)}const un={exact:function Fr(h,d,c){if(!x(h.segments,d.segments)||!qn(h.segments,d.segments,c)||h.numberOfChildren!==d.numberOfChildren)return!1;for(const y in d.children)if(!h.children[y]||!Fr(h.children[y],d.children[y],c))return!1;return!0},subset:Rr},Nn={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=>xt(h[c],d[c]))},ignored:()=>!0};function sr(h,d,c){return un[c.paths](h.root,d.root,c.matrixParams)&&Nn[c.queryParams](h.queryParams,d.queryParams)&&!("exact"===c.fragment&&h.fragment!==d.fragment)}function Rr(h,d,c){return kr(h,d,d.segments,c)}function kr(h,d,c,y){if(h.segments.length>c.length){const C=h.segments.slice(0,c.length);return!(!x(C,c)||d.hasChildren()||!qn(C,c,y))}if(h.segments.length===c.length){if(!x(h.segments,c)||!qn(h.segments,c,y))return!1;for(const C in d.children)if(!h.children[C]||!Rr(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!!(x(h.segments,C)&&qn(h.segments,C,y)&&h.children[xe])&&kr(h.children[xe],d,A,y)}}function qn(h,d,c){return d.every((y,C)=>Nn[c](h[C].parameters,y.parameters))}class En{constructor(d,c,y){this.root=d,this.queryParams=c,this.fragment=y}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=_t(this.queryParams)),this._queryParamMap}toString(){return Bt.serialize(this)}}class wt{constructor(d,c){this.segments=d,this.children=c,this.parent=null,Vt(c,(y,C)=>y.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Be(this)}}class B{constructor(d,c){this.path=d,this.parameters=c}get parameterMap(){return this._parameterMap||(this._parameterMap=_t(this.parameters)),this._parameterMap}toString(){return et(this)}}function x(h,d){return h.length===d.length&&h.every((c,y)=>c.path===d[y].path)}class ct{}class Lt{parse(d){const c=new Qr(d);return new En(c.parseRootSegment(),c.parseQueryParams(),c.parseFragment())}serialize(d){const c=`/${it(d.root,!0)}`,y=function(h){const d=Object.keys(h).map(c=>{const y=h[c];return Array.isArray(y)?y.map(C=>`${J(c)}=${J(C)}`).join("&"):`${J(c)}=${J(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 Bt=new Lt;function Be(h){return h.segments.map(d=>et(d)).join("/")}function it(h,d){if(!h.hasChildren())return Be(h);if(d){const c=h.children[xe]?it(h.children[xe],!1):"",y=[];return Vt(h.children,(C,A)=>{A!==xe&&y.push(`${A}:${it(C,!1)}`)}),y.length>0?`${c}(${y.join("//")})`:c}{const c=function(h,d){let c=[];return Vt(h.children,(y,C)=>{C===xe&&(c=c.concat(d(y,C)))}),Vt(h.children,(y,C)=>{C!==xe&&(c=c.concat(d(y,C)))}),c}(h,(y,C)=>C===xe?[it(h.children[xe],!1)]:[`${C}:${it(y,!1)}`]);return 1===Object.keys(h.children).length&&null!=h.children[xe]?`${Be(h)}/${c[0]}`:`${Be(h)}/(${c.join("//")})`}}function $t(h){return encodeURIComponent(h).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function J(h){return $t(h).replace(/%3B/gi,";")}function O(h){return $t(h).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function X(h){return decodeURIComponent(h)}function me(h){return X(h.replace(/\+/g,"%20"))}function et(h){return`${O(h.path)}${function(h){return Object.keys(h).map(d=>`;${O(d)}=${O(h[d])}`).join("")}(h.parameters)}`}const yn=/^[^\/()?;=#]+/;function Zn(h){const d=h.match(yn);return d?d[0]:""}const zs=/^[^=?&#]+/,Fn=/^[^&#]+/;class Qr{constructor(d){this.url=d,this.remaining=d}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new wt([],{}):new wt([],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[xe]=new wt(d,c)),y}parseSegment(){const d=Zn(this.remaining);if(""===d&&this.peekStartsWith(";"))throw new Error(`Empty path url segment cannot have parameters: '${this.remaining}'.`);return this.capture(d),new B(X(d),this.parseMatrixParams())}parseMatrixParams(){const d={};for(;this.consumeOptional(";");)this.parseParam(d);return d}parseParam(d){const c=Zn(this.remaining);if(!c)return;this.capture(c);let y="";if(this.consumeOptional("=")){const C=Zn(this.remaining);C&&(y=C,this.capture(y))}d[X(c)]=X(y)}parseQueryParam(d){const c=function(h){const d=h.match(zs);return d?d[0]:""}(this.remaining);if(!c)return;this.capture(c);let y="";if(this.consumeOptional("=")){const N=function(h){const d=h.match(Fn);return d?d[0]:""}(this.remaining);N&&(y=N,this.capture(y))}const C=me(c),A=me(y);if(d.hasOwnProperty(C)){let N=d[C];Array.isArray(N)||(N=[N],d[C]=N),N.push(A)}else d[C]=A}parseParens(d){const c={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const y=Zn(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=xe);const N=this.parseChildren();c[A]=1===Object.keys(N).length?N[xe]:new wt([],N),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 jn{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=Ht(d,this._root);return c?c.children.map(y=>y.value):[]}firstChild(d){const c=Ht(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 Ht(h,d){if(h===d.value)return d;for(const c of d.children){const y=Ht(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 dr{constructor(d,c){this.value=d,this.children=c}toString(){return`TreeNode(${this.value})`}}function _r(h){const d={};return h&&h.children.forEach(c=>d[c.value.outlet]=c),d}class qr extends jn{constructor(d,c){super(d),this.snapshot=c,Or(this,d)}toString(){return this.snapshot.toString()}}function Pr(h,d){const c=function(h,d){const N=new Hn([],{},{},"",{},xe,d,null,h.root,-1,{});return new Jn("",new dr(N,[]))}(h,d),y=new Z.X([new B("",{})]),C=new Z.X({}),A=new Z.X({}),N=new Z.X({}),z=new Z.X(""),Ee=new Sn(y,C,N,z,A,xe,d,c.root);return Ee.snapshot=c.root,new qr(new dr(Ee,[]),c)}class Sn{constructor(d,c,y,C,A,N,z,Ee){this.url=d,this.params=c,this.queryParams=y,this.fragment=C,this.data=A,this.outlet=N,this.component=z,this._futureSnapshot=Ee}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,kt.U)(d=>_t(d)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe((0,kt.U)(d=>_t(d)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function ln(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:lt(lt({},d.params),c.params),data:lt(lt({},d.data),c.data),resolve:lt(lt({},d.resolve),c._resolvedData)}),{params:{},data:{},resolve:{}})}(c.slice(y))}class Hn{constructor(d,c,y,C,A,N,z,Ee,qe,Kt,at){this.url=d,this.params=c,this.queryParams=y,this.fragment=C,this.data=A,this.outlet=N,this.component=z,this.routeConfig=Ee,this._urlSegment=qe,this._lastPathIndex=Kt,this._resolve=at}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=_t(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=_t(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(y=>y.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class Jn extends jn{constructor(d,c){super(c),this.url=d,Or(this,c)}toString(){return Zr(this._root)}}function Or(h,d){d.value._routerState=h,d.children.forEach(c=>Or(h,c))}function Zr(h){const d=h.children.length>0?` { ${h.children.map(Zr).join(", ")} } `:"";return`${h.value}${d}`}function cs(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 Jt(h,d){const c=an(h.params,d.params)&&function(h,d){return x(h,d)&&h.every((c,y)=>an(c.parameters,d[y].parameters))}(h.url,d.url);return c&&!(!h.parent!=!d.parent)&&(!h.parent||Jt(h.parent,d.parent))}function ds(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 ds(h,y,C);return ds(h,y)})}(h,d,c);return new dr(y,C)}{if(h.shouldAttach(d.value)){const A=h.retrieve(d.value);if(null!==A){const N=A.route;return N.value._futureSnapshot=d.value,N.children=d.children.map(z=>ds(h,z)),N}}const y=function(h){return new Sn(new Z.X(h.url),new Z.X(h.params),new Z.X(h.queryParams),new Z.X(h.fragment),new Z.X(h.data),h.outlet,h.component,h)}(d.value),C=d.children.map(A=>ds(h,A));return new dr(y,C)}}function li(h){return"object"==typeof h&&null!=h&&!h.outlets&&!h.segmentPath}function kn(h){return"object"==typeof h&&null!=h&&h.outlets}function Vr(h,d,c,y,C){let A={};return y&&Vt(y,(N,z)=>{A[z]=Array.isArray(N)?N.map(Ee=>`${Ee}`):`${N}`}),new En(c.root===h?d:xi(c.root,h,d),A,C)}function xi(h,d,c){const y={};return Vt(h.children,(C,A)=>{y[A]=C===d?c:xi(C,d,c)}),new wt(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(kn);if(C&&C!==Dt(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 wt([],{})),0===h.segments.length&&h.hasChildren())return Jr(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 N=h.segments[C],z=c[y];if(kn(z))break;const Ee=`${z}`,qe=y<c.length-1?c[y+1]:null;if(C>0&&void 0===Ee)break;if(Ee&&qe&&"object"==typeof qe&&void 0===qe.outlets){if(!Ys(Ee,qe,N))return A;y+=2}else{if(!Ys(Ee,{},N))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 wt(h.segments.slice(0,y.pathIndex),{});return A.children[xe]=new wt(h.segments.slice(y.pathIndex),h.children),Jr(A,0,C)}return y.match&&0===C.length?new wt(h.segments,{}):y.match&&!h.hasChildren()?fs(h,d,c):y.match?Jr(h,0,C):fs(h,d,c)}function Jr(h,d,c){if(0===c.length)return new wt(h.segments,{});{const y=function(h){return kn(h[0])?h[0].outlets:{[xe]:h}}(c),C={};return Vt(y,(A,N)=>{"string"==typeof A&&(A=[A]),null!==A&&(C[N]=ki(h.children[N],d,A))}),Vt(h.children,(A,N)=>{void 0===y[N]&&(C[N]=A)}),new wt(h.segments,C)}}function fs(h,d,c){const y=h.segments.slice(0,d);let C=0;for(;C<c.length;){const A=c[C];if(kn(A)){const Ee=Rs(A.outlets);return new wt(y,Ee)}if(0===C&&li(c[0])){y.push(new B(h.segments[d].path,fi(c[0]))),C++;continue}const N=kn(A)?A.outlets[xe]:`${A}`,z=C<c.length-1?c[C+1]:null;N&&z&&li(z)?(y.push(new B(N,fi(z))),C+=2):(y.push(new B(N,{})),C++)}return new wt(y,{})}function Rs(h){const d={};return Vt(h,(c,y)=>{"string"==typeof c&&(c=[c]),null!==c&&(d[y]=fs(new wt([],{}),0,c))}),d}function fi(h){const d={};return Vt(h,(c,y)=>d[y]=`${c}`),d}function Ys(h,d,c){return h==c.path&&an(d,c.parameters)}class vr{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),cs(this.futureState.root),this.activateChildRoutes(c,y,d)}deactivateChildRoutes(d,c,y){const C=_r(c);d.children.forEach(A=>{const N=A.value.outlet;this.deactivateRoutes(A,C[N],y),delete C[N]}),Vt(C,(A,N)=>{this.deactivateRouteAndItsChildren(A,y)})}deactivateRoutes(d,c,y){const C=d.value,A=c?c.value:null;if(C===A)if(C.component){const N=y.getContext(C.outlet);N&&this.deactivateChildRoutes(d,c,N.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=_r(d);for(const N of Object.keys(A))this.deactivateRouteAndItsChildren(A[N],C);if(y&&y.outlet){const N=y.outlet.detach(),z=y.children.onOutletDeactivated();this.routeReuseStrategy.store(d.value.snapshot,{componentRef:N,route:d,contexts:z})}}deactivateRouteAndOutlet(d,c){const y=c.getContext(d.value.outlet),C=y&&d.value.component?y.children:c,A=_r(d);for(const N of Object.keys(A))this.deactivateRouteAndItsChildren(A[N],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=_r(c);d.children.forEach(A=>{this.activateRoutes(A,C[A.value.outlet],y),this.forwardEvent(new Ue(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(cs(C),C===A)if(C.component){const N=y.getOrCreateContext(C.outlet);this.activateChildRoutes(d,c,N.children)}else this.activateChildRoutes(d,c,y);else if(C.component){const N=y.getOrCreateContext(C.outlet);if(this.routeReuseStrategy.shouldAttach(C.snapshot)){const z=this.routeReuseStrategy.retrieve(C.snapshot);this.routeReuseStrategy.store(C.snapshot,null),N.children.onOutletReAttached(z.contexts),N.attachRef=z.componentRef,N.route=z.route.value,N.outlet&&N.outlet.attach(z.componentRef,z.route.value),cs(z.route.value),this.activateChildRoutes(d,null,N.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),Ee=z?z.module.componentFactoryResolver:null;N.attachRef=null,N.route=C,N.resolver=Ee,N.outlet&&N.outlet.activateWith(C,Ee),this.activateChildRoutes(d,null,N.children)}}else this.activateChildRoutes(d,null,y)}}class hs{constructor(d,c){this.routes=d,this.module=c}}function ir(h){return"function"==typeof h}function xr(h){return h instanceof En}const Os=Symbol("INITIAL_VALUE");function In(){return(0,pe.w)(h=>(0,ne.aj)(h.map(d=>d.pipe((0,Qn.q)(1),(0,be.O)(Os)))).pipe(he((d,c)=>{let y=!1;return c.reduce((C,A,N)=>C!==Os?C:(A===Os&&(y=!0),y||!1!==A&&N!==c.length-1&&!xr(A)?C:A),d)},Os),(0,Ye.h)(d=>d!==Os),(0,kt.U)(d=>xr(d)?d:!0===d),(0,Qn.q)(1)))}class gi{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.children=new Xr,this.attachRef=null}}class Xr{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 Br=(()=>{class h{constructor(c,y,C,A,N){this.parentContexts=c,this.location=y,this.resolver=C,this.changeDetector=N,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||xe,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 N=(y=y||this.resolver).resolveComponentFactory(c._futureSnapshot.routeConfig.component),z=this.parentContexts.getOrCreateContext(this.name).children,Ee=new mi(c,z,this.location.injector);this.activated=this.location.createComponent(N,this.location.length,Ee),this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return h.\u0275fac=function(c){return new(c||h)(g.Y36(Xr),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===Sn?this.route:d===Xr?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:[Br],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 E(h){const d=h.children&&h.children.map(E),c=d?Nr(lt({},h),{children:d}):lt({},h);return!c.component&&(d||c.loadChildren)&&c.outlet&&c.outlet!==xe&&(c.component=qs),c}function S(h){return h.outlet||xe}function H(h,d){const c=h.filter(y=>S(y)===d);return c.push(...h.filter(y=>S(y)!==d)),c}const _e={matched:!1,consumedSegments:[],lastChild:0,parameters:{},positionalParamSegments:{}};function Me(h,d,c){var z;if(""===d.path)return"full"===d.pathMatch&&(h.hasChildren()||c.length>0)?lt({},_e):{matched:!0,consumedSegments:[],lastChild:0,parameters:{},positionalParamSegments:{}};const C=(d.matcher||Ot)(c,h,d);if(!C)return lt({},_e);const A={};Vt(C.posParams,(Ee,qe)=>{A[qe]=Ee.path});const N=C.consumed.length>0?lt(lt({},A),C.consumed[C.consumed.length-1].parameters):A;return{matched:!0,consumedSegments:C.consumed,lastChild:C.consumed.length,parameters:N,positionalParamSegments:null!=(z=C.posParams)?z:{}}}function He(h,d,c,y,C="corrected"){if(c.length>0&&function(h,d,c){return c.some(y=>on(h,d,y)&&S(y)!==xe)}(h,c,y)){const N=new wt(d,function(h,d,c,y){const C={};C[xe]=y,y._sourceSegment=h,y._segmentIndexShift=d.length;for(const A of c)if(""===A.path&&S(A)!==xe){const N=new wt([],{});N._sourceSegment=h,N._segmentIndexShift=d.length,C[S(A)]=N}return C}(h,d,y,new wt(c,h.children)));return N._sourceSegment=h,N._segmentIndexShift=d.length,{segmentGroup:N,slicedSegments:[]}}if(0===c.length&&function(h,d,c){return c.some(y=>on(h,d,y))}(h,c,y)){const N=new wt(h.segments,function(h,d,c,y,C,A){const N={};for(const z of y)if(on(h,c,z)&&!C[S(z)]){const Ee=new wt([],{});Ee._sourceSegment=h,Ee._segmentIndexShift="legacy"===A?h.segments.length:d.length,N[S(z)]=Ee}return lt(lt({},C),N)}(h,d,c,y,h.children,C));return N._sourceSegment=h,N._segmentIndexShift=d.length,{segmentGroup:N,slicedSegments:c}}const A=new wt(h.segments,h.children);return A._sourceSegment=h,A._segmentIndexShift=d.length,{segmentGroup:A,slicedSegments:c}}function on(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!==xe&&on(d,c,h))&&("**"===h.path||Me(d,h,c).matched)}function An(h,d,c){return 0===d.length&&!h.children[c]}class Cn{constructor(d){this.segmentGroup=d||null}}class Er{constructor(d){this.urlTree=d}}function Cr(h){return new j.y(d=>d.error(new Cn(h)))}function nt(h){return new j.y(d=>d.error(new Er(h)))}function Ui(h){return new j.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=He(this.urlTree.root,[],[],this.config).segmentGroup,c=new wt(d.segments,d.children);return this.expandSegmentGroup(this.ngModule,this.config,c,xe).pipe((0,kt.U)(A=>this.createUrlTree(vi(A),this.urlTree.queryParams,this.urlTree.fragment))).pipe(Ae(A=>{if(A instanceof Er)return this.allowRedirects=!1,this.match(A.urlTree);throw A instanceof Cn?this.noMatchError(A):A}))}match(d){return this.expandSegmentGroup(this.ngModule,this.config,d.root,xe).pipe((0,kt.U)(C=>this.createUrlTree(vi(C),d.queryParams,d.fragment))).pipe(Ae(C=>{throw C instanceof Cn?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 wt([],{[xe]:d}):d;return new En(C,c,y)}expandSegmentGroup(d,c,y,C){return 0===y.segments.length&&y.hasChildren()?this.expandChildren(d,c,y).pipe((0,kt.U)(A=>new wt([],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,K.D)(C).pipe((0,ee.b)(A=>{const N=y.children[A],z=H(c,A);return this.expandSegmentGroup(d,z,N,A).pipe((0,kt.U)(Ee=>({segment:Ee,outlet:A})))}),he((A,N)=>(A[N.outlet]=N.segment,A),{}),function(h,d){const c=arguments.length>=2;return y=>y.pipe(h?(0,Ye.h)((C,A)=>h(C,A,y)):On.y,st(1),c?$e(d):Pt(()=>new de))}())}expandSegment(d,c,y,C,A,N){return(0,K.D)(y).pipe((0,ee.b)(z=>this.expandSegmentAgainstRoute(d,c,y,z,C,A,N).pipe(Ae(qe=>{if(qe instanceof Cn)return(0,L.of)(null);throw qe}))),Tn(z=>!!z),Ae((z,Ee)=>{if(z instanceof de||"EmptyError"===z.name){if(An(c,C,A))return(0,L.of)(new wt([],{}));throw new Cn(c)}throw z}))}expandSegmentAgainstRoute(d,c,y,C,A,N,z){return Gt(C,c,A,N)?void 0===C.redirectTo?this.matchSegmentAgainstRoute(d,c,C,A,N):z&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(d,c,y,C,A,N):Cr(c):Cr(c)}expandSegmentAgainstRouteUsingRedirect(d,c,y,C,A,N){return"**"===C.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(d,y,C,N):this.expandRegularSegmentAgainstRouteUsingRedirect(d,c,y,C,A,N)}expandWildCardWithParamsAgainstRouteUsingRedirect(d,c,y,C){const A=this.applyRedirectCommands([],y.redirectTo,{});return y.redirectTo.startsWith("/")?nt(A):this.lineralizeSegments(y,A).pipe((0,oe.zg)(N=>{const z=new wt(N,{});return this.expandSegment(d,z,c,N,C,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(d,c,y,C,A,N){const{matched:z,consumedSegments:Ee,lastChild:qe,positionalParamSegments:Kt}=Me(c,C,A);if(!z)return Cr(c);const at=this.applyRedirectCommands(Ee,C.redirectTo,Kt);return C.redirectTo.startsWith("/")?nt(at):this.lineralizeSegments(C,at).pipe((0,oe.zg)(Yt=>this.expandSegment(d,c,y,Yt.concat(A.slice(qe)),N,!1)))}matchSegmentAgainstRoute(d,c,y,C,A){if("**"===y.path)return y.loadChildren?(y._loadedConfig?(0,L.of)(y._loadedConfig):this.configLoader.load(d.injector,y)).pipe((0,kt.U)(Yt=>(y._loadedConfig=Yt,new wt(C,{})))):(0,L.of)(new wt(C,{}));const{matched:N,consumedSegments:z,lastChild:Ee}=Me(c,y,C);if(!N)return Cr(c);const qe=C.slice(Ee);return this.getChildConfig(d,y,C).pipe((0,oe.zg)(at=>{const Yt=at.module,Ut=at.routes,{segmentGroup:ns,slicedSegments:_s}=He(c,z,qe,Ut),wr=new wt(ns.segments,ns.children);if(0===_s.length&&wr.hasChildren())return this.expandChildren(Yt,Ut,wr).pipe((0,kt.U)(ss=>new wt(z,ss)));if(0===Ut.length&&0===_s.length)return(0,L.of)(new wt(z,{}));const $r=S(y)===A;return this.expandSegment(Yt,wr,Ut,_s,$r?xe:A,!0).pipe((0,kt.U)(Wr=>new wt(z.concat(Wr.segments),Wr.children)))}))}getChildConfig(d,c,y){return c.children?(0,L.of)(new hs(c.children,d)):c.loadChildren?void 0!==c._loadedConfig?(0,L.of)(c._loadedConfig):this.runCanLoadGuards(d.injector,c,y).pipe((0,oe.zg)(C=>{return C?this.configLoader.load(d.injector,c).pipe((0,kt.U)(A=>(c._loadedConfig=A,A))):(h=c,new j.y(d=>d.error(sn(`Cannot load children because the guard of the route "path: '${h.path}'" returned false`))));var h})):(0,L.of)(new hs([],d))}runCanLoadGuards(d,c,y){const C=c.canLoad;if(!C||0===C.length)return(0,L.of)(!0);const A=C.map(N=>{const z=d.get(N);let Ee;if((h=z)&&ir(h.canLoad))Ee=z.canLoad(c,y);else{if(!ir(z))throw new Error("Invalid CanLoad guard");Ee=z(c,y)}var h;return pn(Ee)});return(0,L.of)(A).pipe(In(),(0,Le.b)(N=>{if(!xr(N))return;const z=sn(`Redirecting to "${this.urlSerializer.serialize(N)}"`);throw z.url=N,z}),(0,kt.U)(N=>!0===N))}lineralizeSegments(d,c){let y=[],C=c.root;for(;;){if(y=y.concat(C.segments),0===C.numberOfChildren)return(0,L.of)(y);if(C.numberOfChildren>1||!C.children[xe])return Ui(d.redirectTo);C=C.children[xe]}}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 En(A,this.createQueryParams(c.queryParams,this.urlTree.queryParams),c.fragment)}createQueryParams(d,c){const y={};return Vt(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 N={};return Vt(c.children,(z,Ee)=>{N[Ee]=this.createSegmentGroup(d,z,y,C)}),new wt(A,N)}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 vi(h){const d={};for(const y of Object.keys(h.children)){const A=vi(h.children[y]);(A.segments.length>0||A.hasChildren())&&(d[y]=A)}return function(h){if(1===h.numberOfChildren&&h.children[xe]){const d=h.children[xe];return new wt(h.segments.concat(d.segments),d.children)}return h}(new wt(h.segments,d))}class Re{constructor(d){this.path=d,this.route=this.path[this.path.length-1]}}class Nt{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=_r(d);return h.children.forEach(N=>{(function(h,d,c,y,C={canDeactivateChecks:[],canActivateChecks:[]}){const A=h.value,N=d?d.value:null,z=c?c.getContext(h.value.outlet):null;if(N&&A.routeConfig===N.routeConfig){const Ee=function(h,d,c){if("function"==typeof c)return c(h,d);switch(c){case"pathParamsChange":return!x(h.url,d.url);case"pathParamsOrQueryParamsChange":return!x(h.url,d.url)||!an(h.queryParams,d.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Jt(h,d)||!an(h.queryParams,d.queryParams);default:return!Jt(h,d)}}(N,A,A.routeConfig.runGuardsAndResolvers);Ee?C.canActivateChecks.push(new Re(y)):(A.data=N.data,A._resolvedData=N._resolvedData),p(h,d,A.component?z?z.children:null:c,y,C),Ee&&z&&z.outlet&&z.outlet.isActivated&&C.canDeactivateChecks.push(new Nt(z.outlet.component,N))}else N&&k(d,z,C),C.canActivateChecks.push(new Re(y)),p(h,null,A.component?z?z.children:null:c,y,C)})(N,A[N.value.outlet],c,y.concat([N.value]),C),delete A[N.value.outlet]}),Vt(A,(N,z)=>k(N,c.getContext(z),C)),C}function k(h,d,c){const y=_r(h),C=h.value;Vt(y,(A,N)=>{k(A,C.component?d?d.children.getContext(N):null:d,c)}),c.canDeactivateChecks.push(new Nt(C.component&&d&&d.outlet&&d.outlet.isActivated?d.outlet.component:null,C))}class Ct{}function Ft(h){return new j.y(d=>d.error(h))}class gn{constructor(d,c,y,C,A,N){this.rootComponentType=d,this.config=c,this.urlTree=y,this.url=C,this.paramsInheritanceStrategy=A,this.relativeLinkResolution=N}recognize(){const d=He(this.urlTree.root,[],[],this.config.filter(N=>void 0===N.redirectTo),this.relativeLinkResolution).segmentGroup,c=this.processSegmentGroup(this.config,d,xe);if(null===c)return null;const y=new Hn([],Object.freeze({}),Object.freeze(lt({},this.urlTree.queryParams)),this.urlTree.fragment,{},xe,this.rootComponentType,null,this.urlTree.root,-1,{}),C=new dr(y,c),A=new Jn(this.url,C);return this.inheritParamsAndData(A._root),A}inheritParamsAndData(d){const c=d.value,y=ln(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 N=c.children[A],z=H(d,A),Ee=this.processSegmentGroup(z,N,A);if(null===Ee)return null;y.push(...Ee)}const C=or(y);return C.sort((d,c)=>d.value.outlet===xe?-1:c.value.outlet===xe?1:d.value.outlet.localeCompare(c.value.outlet)),C}processSegment(d,c,y,C){for(const A of d){const N=this.processSegmentAgainstRoute(A,c,y,C);if(null!==N)return N}return An(c,y,C)?[]:null}processSegmentAgainstRoute(d,c,y,C){if(d.redirectTo||!Gt(d,c,y,C))return null;let A,N=[],z=[];if("**"===d.path){const Ut=y.length>0?Dt(y).parameters:{};A=new Hn(y,Ut,Object.freeze(lt({},this.urlTree.queryParams)),this.urlTree.fragment,br(d),S(d),d.component,d,Dr(c),ar(c)+y.length,Ei(d))}else{const Ut=Me(c,d,y);if(!Ut.matched)return null;N=Ut.consumedSegments,z=y.slice(Ut.lastChild),A=new Hn(N,Ut.parameters,Object.freeze(lt({},this.urlTree.queryParams)),this.urlTree.fragment,br(d),S(d),d.component,d,Dr(c),ar(c)+N.length,Ei(d))}const Ee=(h=d).children?h.children:h.loadChildren?h._loadedConfig.routes:[],{segmentGroup:qe,slicedSegments:Kt}=He(c,N,z,Ee.filter(Ut=>void 0===Ut.redirectTo),this.relativeLinkResolution);var h;if(0===Kt.length&&qe.hasChildren()){const Ut=this.processChildren(Ee,qe);return null===Ut?null:[new dr(A,Ut)]}if(0===Ee.length&&0===Kt.length)return[new dr(A,[])];const at=S(d)===C,Yt=this.processSegment(Ee,qe,Kt,at?xe:C);return null===Yt?null:[new dr(A,Yt)]}}function gs(h){const d=h.value.routeConfig;return d&&""===d.path&&void 0===d.redirectTo}function or(h){const d=[],c=new Set;for(const y of h){if(!gs(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=or(y.children);d.push(new dr(y.value,C))}return d.filter(y=>!c.has(y))}function Dr(h){let d=h;for(;d._sourceSegment;)d=d._sourceSegment;return d}function ar(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 br(h){return h.data||{}}function Ei(h){return h.resolve||{}}function Ke(h){return(0,pe.w)(d=>{const c=h(d);return c?(0,K.D)(c).pipe((0,kt.U)(()=>d)):(0,L.of)(d)})}class bn 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 fr=new g.OlP("ROUTES");class Wn{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,kt.U)(A=>{this.onLoadEndListener&&this.onLoadEndListener(c);const N=A.create(d);return new hs(tn(N.injector.get(fr,void 0,g.XFs.Self|g.XFs.Optional)).map(E),N)}),Ae(A=>{throw c._loader$=void 0,A}));return c._loader$=new ve.c(C,()=>new Ie.xQ).pipe((0,We.x)()),c._loader$}loadModuleFactory(d){return pn(d()).pipe((0,oe.zg)(c=>c instanceof g.YKP?(0,L.of)(c):(0,K.D)(this.compiler.compileModuleAsync(c))))}}class dn{shouldProcessUrl(d){return!0}extract(d){return d}merge(d,c){return d}}function ea(h){throw h}function lr(h,d,c){return d.parse("/")}function Ur(h,d){return(0,L.of)(null)}const ms={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},jr={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let Vn=(()=>{class h{constructor(c,y,C,A,N,z,Ee){this.rootComponentType=c,this.urlSerializer=y,this.rootContexts=C,this.location=A,this.config=Ee,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=lr,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:Ur,afterPreactivation:Ur},this.urlHandlingStrategy=new dn,this.routeReuseStrategy=new bn,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="corrected",this.canceledNavigationResolution="replace",this.ngModule=N.get(g.h0i),this.console=N.get(g.c2e);const at=N.get(g.R0b);this.isNgZoneEnabled=at instanceof g.R0b&&g.R0b.isInAngularZone(),this.resetConfig(Ee),this.currentUrlTree=new En(new wt([],{}),{},null),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new Wn(N,z,Yt=>this.triggerEvent(new we(Yt)),Yt=>this.triggerEvent(new Y(Yt))),this.routerState=Pr(this.currentUrlTree,this.rootComponentType),this.transitions=new Z.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,Ye.h)(C=>0!==C.id),(0,kt.U)(C=>Nr(lt({},C),{extractedUrl:this.urlHandlingStrategy.extract(C.rawUrl)})),(0,pe.w)(C=>{let A=!1,N=!1;return(0,L.of)(C).pipe((0,Le.b)(z=>{this.currentNavigation={id:z.id,initialUrl:z.currentRawUrl,extractedUrl:z.extractedUrl,trigger:z.source,extras:z.extras,previousNavigation:this.lastSuccessfulNavigation?Nr(lt({},this.lastSuccessfulNavigation),{previousNavigation:null}):null}}),(0,pe.w)(z=>{const Ee=this.browserUrlTree.toString(),qe=!this.navigated||z.extractedUrl.toString()!==Ee||Ee!==this.currentUrlTree.toString();if(("reload"===this.onSameUrlNavigation||qe)&&this.urlHandlingStrategy.shouldProcessUrl(z.rawUrl))return Hr(z.source)&&(this.browserUrlTree=z.extractedUrl),(0,L.of)(z).pipe((0,pe.w)(at=>{const Yt=this.transitions.getValue();return y.next(new hn(at.id,this.serializeUrl(at.extractedUrl),at.source,at.restoredState)),Yt!==this.transitions.getValue()?ue.E:Promise.resolve(at)}),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,kt.U)(A=>Nr(lt({},C),{urlAfterRedirects:A}))))}(this.ngModule.injector,this.configLoader,this.urlSerializer,this.config),(0,Le.b)(at=>{this.currentNavigation=Nr(lt({},this.currentNavigation),{finalUrl:at.urlAfterRedirects})}),function(h,d,c,y,C){return(0,oe.zg)(A=>function(h,d,c,y,C="emptyOnly",A="legacy"){try{const N=new gn(h,d,c,y,C,A).recognize();return null===N?Ft(new Ct):(0,L.of)(N)}catch(N){return Ft(N)}}(h,d,A.urlAfterRedirects,c(A.urlAfterRedirects),y,C).pipe((0,kt.U)(N=>Nr(lt({},A),{targetSnapshot:N}))))}(this.rootComponentType,this.config,at=>this.serializeUrl(at),this.paramsInheritanceStrategy,this.relativeLinkResolution),(0,Le.b)(at=>{if("eager"===this.urlUpdateStrategy){if(!at.extras.skipLocationChange){const Ut=this.urlHandlingStrategy.merge(at.urlAfterRedirects,at.rawUrl);this.setBrowserUrl(Ut,at)}this.browserUrlTree=at.urlAfterRedirects}const Yt=new Bn(at.id,this.serializeUrl(at.extractedUrl),this.serializeUrl(at.urlAfterRedirects),at.targetSnapshot);y.next(Yt)}));if(qe&&this.rawUrlTree&&this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree)){const{id:Yt,extractedUrl:Ut,source:ns,restoredState:_s,extras:wr}=z,$r=new hn(Yt,this.serializeUrl(Ut),ns,_s);y.next($r);const rs=Pr(Ut,this.rootComponentType).snapshot;return(0,L.of)(Nr(lt({},z),{targetSnapshot:rs,urlAfterRedirects:Ut,extras:Nr(lt({},wr),{skipLocationChange:!1,replaceUrl:!1})}))}return this.rawUrlTree=z.rawUrl,z.resolve(null),ue.E}),Ke(z=>{const{targetSnapshot:Ee,id:qe,extractedUrl:Kt,rawUrl:at,extras:{skipLocationChange:Yt,replaceUrl:Ut}}=z;return this.hooks.beforePreactivation(Ee,{navigationId:qe,appliedUrlTree:Kt,rawUrlTree:at,skipLocationChange:!!Yt,replaceUrl:!!Ut})}),(0,Le.b)(z=>{const Ee=new xn(z.id,this.serializeUrl(z.extractedUrl),this.serializeUrl(z.urlAfterRedirects),z.targetSnapshot);this.triggerEvent(Ee)}),(0,kt.U)(z=>Nr(lt({},z),{guards:Xo(z.targetSnapshot,z.currentSnapshot,this.rootContexts)})),function(h,d){return(0,oe.zg)(c=>{const{targetSnapshot:y,currentSnapshot:C,guards:{canActivateChecks:A,canDeactivateChecks:N}}=c;return 0===N.length&&0===A.length?(0,L.of)(Nr(lt({},c),{guardsResult:!0})):function(h,d,c,y){return(0,K.D)(h).pipe((0,oe.zg)(C=>function(h,d,c,y,C){const A=d&&d.routeConfig?d.routeConfig.canDeactivate:null;if(!A||0===A.length)return(0,L.of)(!0);const N=A.map(z=>{const Ee=l(z,d,C);let qe;if(function(h){return h&&ir(h.canDeactivate)}(Ee))qe=pn(Ee.canDeactivate(h,d,c,y));else{if(!ir(Ee))throw new Error("Invalid CanDeactivate guard");qe=pn(Ee(h,d,c,y))}return qe.pipe(Tn())});return(0,L.of)(N).pipe(In())}(C.component,C.route,c,d,y)),Tn(C=>!0!==C,!0))}(N,y,C,h).pipe((0,oe.zg)(z=>z&&function(h){return"boolean"==typeof h}(z)?function(h,d,c,y){return(0,K.D)(d).pipe((0,ee.b)(C=>(0,W.z)(function(h,d){return null!==h&&d&&d(new Q(h)),(0,L.of)(!0)}(C.route.parent,y),function(h,d){return null!==h&&d&&d(new Pe(h)),(0,L.of)(!0)}(C.route,y),function(h,d,c){const y=d[d.length-1],A=d.slice(0,d.length-1).reverse().map(N=>function(h){const d=h.routeConfig?h.routeConfig.canActivateChild:null;return d&&0!==d.length?{node:h,guards:d}:null}(N)).filter(N=>null!==N).map(N=>(0,F.P)(()=>{const z=N.guards.map(Ee=>{const qe=l(Ee,N.node,c);let Kt;if(function(h){return h&&ir(h.canActivateChild)}(qe))Kt=pn(qe.canActivateChild(y,h));else{if(!ir(qe))throw new Error("Invalid CanActivateChild guard");Kt=pn(qe(y,h))}return Kt.pipe(Tn())});return(0,L.of)(z).pipe(In())}));return(0,L.of)(A).pipe(In())}(h,C.path,c),function(h,d,c){const y=d.routeConfig?d.routeConfig.canActivate:null;if(!y||0===y.length)return(0,L.of)(!0);const C=y.map(A=>(0,F.P)(()=>{const N=l(A,d,c);let z;if(function(h){return h&&ir(h.canActivate)}(N))z=pn(N.canActivate(d,h));else{if(!ir(N))throw new Error("Invalid CanActivate guard");z=pn(N(d,h))}return z.pipe(Tn())}));return(0,L.of)(C).pipe(In())}(h,C.route,c))),Tn(C=>!0!==C,!0))}(y,A,h,d):(0,L.of)(z)),(0,kt.U)(z=>Nr(lt({},c),{guardsResult:z})))})}(this.ngModule.injector,z=>this.triggerEvent(z)),(0,Le.b)(z=>{if(xr(z.guardsResult)){const qe=sn(`Redirecting to "${this.serializeUrl(z.guardsResult)}"`);throw qe.url=z.guardsResult,qe}const Ee=new Qt(z.id,this.serializeUrl(z.extractedUrl),this.serializeUrl(z.urlAfterRedirects),z.targetSnapshot,!!z.guardsResult);this.triggerEvent(Ee)}),(0,Ye.h)(z=>!!z.guardsResult||(this.restoreHistory(z),this.cancelNavigationTransition(z,""),!1)),Ke(z=>{if(z.guards.canActivateChecks.length)return(0,L.of)(z).pipe((0,Le.b)(Ee=>{const qe=new Mr(Ee.id,this.serializeUrl(Ee.extractedUrl),this.serializeUrl(Ee.urlAfterRedirects),Ee.targetSnapshot);this.triggerEvent(qe)}),(0,pe.w)(Ee=>{let qe=!1;return(0,L.of)(Ee).pipe(function(h,d){return(0,oe.zg)(c=>{const{targetSnapshot:y,guards:{canActivateChecks:C}}=c;if(!C.length)return(0,L.of)(c);let A=0;return(0,K.D)(C).pipe((0,ee.b)(N=>function(h,d,c,y){return function(h,d,c,y){const C=Object.keys(h);if(0===C.length)return(0,L.of)({});const A={};return(0,K.D)(C).pipe((0,oe.zg)(N=>function(h,d,c,y){const C=l(h,d,y);return pn(C.resolve?C.resolve(d,c):C(d,c))}(h[N],d,c,y).pipe((0,Le.b)(z=>{A[N]=z}))),st(1),(0,oe.zg)(()=>Object.keys(A).length===C.length?(0,L.of)(A):ue.E))}(h._resolve,h,d,y).pipe((0,kt.U)(A=>(h._resolvedData=A,h.data=lt(lt({},h.data),ln(h,c).resolve),null)))}(N.route,y,h,d)),(0,Le.b)(()=>A++),st(1),(0,oe.zg)(N=>A===C.length?(0,L.of)(c):ue.E))})}(this.paramsInheritanceStrategy,this.ngModule.injector),(0,Le.b)({next:()=>qe=!0,complete:()=>{qe||(this.restoreHistory(Ee),this.cancelNavigationTransition(Ee,"At least one route resolver didn't emit any value."))}}))}),(0,Le.b)(Ee=>{const qe=new Je(Ee.id,this.serializeUrl(Ee.extractedUrl),this.serializeUrl(Ee.urlAfterRedirects),Ee.targetSnapshot);this.triggerEvent(qe)}))}),Ke(z=>{const{targetSnapshot:Ee,id:qe,extractedUrl:Kt,rawUrl:at,extras:{skipLocationChange:Yt,replaceUrl:Ut}}=z;return this.hooks.afterPreactivation(Ee,{navigationId:qe,appliedUrlTree:Kt,rawUrlTree:at,skipLocationChange:!!Yt,replaceUrl:!!Ut})}),(0,kt.U)(z=>{const Ee=function(h,d,c){const y=ds(h,d._root,c?c._root:void 0);return new qr(y,d)}(this.routeReuseStrategy,z.targetSnapshot,z.currentRouterState);return Nr(lt({},z),{targetRouterState:Ee})}),(0,Le.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,kt.U)(y=>(new vr(d,y.targetRouterState,y.currentRouterState,c).activate(h),y)))(this.rootContexts,this.routeReuseStrategy,z=>this.triggerEvent(z)),(0,Le.b)({next(){A=!0},complete(){A=!0}}),(0,fn.x)(()=>{var z;A||N||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)}),Ae(z=>{if(N=!0,function(h){return h&&h[qt]}(z)){const Ee=xr(z.url);Ee||(this.navigated=!0,this.restoreHistory(C,!0));const qe=new $n(C.id,this.serializeUrl(C.extractedUrl),z.message);y.next(qe),Ee?setTimeout(()=>{const Kt=this.urlHandlingStrategy.merge(z.url,this.rawUrlTree),at={skipLocationChange:C.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||Hr(C.source)};this.scheduleNavigation(Kt,"imperative",null,at,{resolve:C.resolve,reject:C.reject,promise:C.promise})},0):C.resolve(!1)}else{this.restoreHistory(C,!0);const Ee=new rr(C.id,this.serializeUrl(C.extractedUrl),z);y.next(Ee);try{C.resolve(this.errorHandler(z))}catch(qe){C.reject(qe)}}return ue.E}))}))}resetRootComponentType(c){this.rootComponentType=c,this.routerState.root.component=this.rootComponentType}setTransition(c){this.transitions.next(lt(lt({},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 Ee=lt({},A);delete Ee.navigationId,delete Ee.\u0275routerPageId,0!==Object.keys(Ee).length&&(C.state=Ee)}const N=this.parseUrl(c.url);this.scheduleNavigation(N,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(E),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:N,queryParamsHandling:z,preserveFragment:Ee}=y,qe=C||this.routerState.root,Kt=Ee?this.currentUrlTree.fragment:N;let at=null;switch(z){case"merge":at=lt(lt({},this.currentUrlTree.queryParams),A);break;case"preserve":at=this.currentUrlTree.queryParams;break;default:at=A||null}return null!==at&&(at=this.removeEmptyProps(at)),function(h,d,c,y,C){if(0===c.length)return Vr(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,N)=>{if("object"==typeof A&&null!=A){if(A.outlets){const z={};return Vt(A.outlets,(Ee,qe)=>{z[qe]="string"==typeof Ee?Ee.split("/"):Ee}),[...C,{outlets:z}]}if(A.segmentPath)return[...C,A.segmentPath]}return"string"!=typeof A?[...C,A]:0===N?(A.split("/").forEach((z,Ee)=>{0==Ee&&"."===z||(0==Ee&&""===z?c=!0:".."===z?d++:""!=z&&C.push(z))}),C):[...C,A]},[]);return new Ni(c,d,y)}(c);if(A.toRoot())return Vr(d.root,new wt([],{}),d,y,C);const N=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=N.processChildren?Jr(N.segmentGroup,N.index,A.commands):ki(N.segmentGroup,N.index,A.commands);return Vr(N.segmentGroup,z,d,y,C)}(qe,this.currentUrlTree,c,at,null!=Kt?Kt:null)}navigateByUrl(c,y={skipLocationChange:!1}){const C=xr(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?lt({},ms):!1===y?lt({},jr):y,xr(c))return sr(this.currentUrlTree,c,C);const A=this.parseUrl(c);return sr(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,N){var $r,rs,Wr;if(this.disposed)return Promise.resolve(!1);const z=this.transitions.value,Ee=Hr(y)&&z&&!Hr(z.source),qe=z.rawUrl.toString()===c.toString(),Kt=z.id===(null==($r=this.currentNavigation)?void 0:$r.id);if(Ee&&qe&&Kt)return Promise.resolve(!0);let Yt,Ut,ns;N?(Yt=N.resolve,Ut=N.reject,ns=N.promise):ns=new Promise((ss,oa)=>{Yt=ss,Ut=oa});const _s=++this.navigationId;let wr;return"computed"===this.canceledNavigationResolution?(0===this.currentPageId&&(C=this.location.getState()),wr=C&&C.\u0275routerPageId?C.\u0275routerPageId:A.replaceUrl||A.skipLocationChange?null!=(rs=this.browserPageId)?rs:0:(null!=(Wr=this.browserPageId)?Wr:0)+1):wr=0,this.setTransition({id:_s,targetPageId:wr,source:y,restoredState:C,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:c,extras:A,resolve:Yt,reject:Ut,promise:ns,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),ns.catch(ss=>Promise.reject(ss))}setBrowserUrl(c,y){const C=this.urlSerializer.serialize(c),A=lt(lt({},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 N=this.currentPageId-c.targetPageId;"popstate"!==c.source&&"eager"!==this.urlUpdateStrategy&&this.currentUrlTree!==(null==(C=this.currentNavigation)?void 0:C.finalUrl)||0===N?this.currentUrlTree===(null==(A=this.currentNavigation)?void 0:A.finalUrl)&&0===N&&(this.resetState(c),this.browserUrlTree=c.currentUrlTree,this.resetUrlToCurrentUrlTree()):this.location.historyGo(N)}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 $n(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 Hr(h){return"imperative"!==h}let Ns=(()=>{class h{constructor(c,y,C,A,N){this.router=c,this.route=y,this.tabIndexAttribute=C,this.renderer=A,this.el=N,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(Vn),g.Y36(Sn),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,N){if(0!==c||y||C||A||N||"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(Vn),g.Y36(Sn),g.Y36(v.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,N,z){this.router=c,this.element=y,this.renderer=C,this.cdr=A,this.link=N,this.linkWithHref=z,this.classes=[],this.isActive=!1,this.routerLinkActiveOptions={exact:!1},this.isActiveChange=new g.vpe,this.routerEventsSubscription=c.events.subscribe(Ee=>{Ee instanceof nn&&this.update()})}ngAfterContentInit(){(0,L.of)(this.links.changes,this.linksWithHrefs.changes,(0,L.of)(null)).pipe((0,en.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,K.D)(c).pipe((0,en.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(Vn),g.Y36(g.SBq),g.Y36(g.Qsj),g.Y36(g.sBO),g.Y36(Ns,8),g.Y36(io,8))},h.\u0275dir=g.lG2({type:h,selectors:[["","routerLinkActive",""]],contentQueries:function(c,y,C){if(1&c&&(g.Suo(C,Ns,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,L.of)(null)}}let su=(()=>{class h{constructor(c,y,C,A){this.router=c,this.injector=C,this.preloadingStrategy=A,this.loader=new Wn(C,y,Ee=>c.triggerEvent(new we(Ee)),Ee=>c.triggerEvent(new Y(Ee)))}setUpPreloading(){this.subscription=this.router.events.pipe((0,Ye.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 N=A._loadedConfig;C.push(this.processRoutes(N.module,N.routes))}else A.loadChildren&&!A.canLoad?C.push(this.preloadConfig(c,A)):A.children&&C.push(this.processRoutes(c,A.children));return(0,K.D)(C).pipe((0,en.J)(),(0,kt.U)(A=>{}))}preloadConfig(c,y){return this.preloadingStrategy.preload(y,()=>(y._loadedConfig?(0,L.of)(y._loadedConfig):this.loader.load(c.injector,y)).pipe((0,oe.zg)(A=>(y._loadedConfig=A,this.processRoutes(A.module,A.routes)))))}}return h.\u0275fac=function(c){return new(c||h)(g.LFG(Vn),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 hn?(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 ys=new g.OlP("ROUTER_CONFIGURATION"),ji=new g.OlP("ROUTER_FORROOT_GUARD"),Xa=[v.Ye,{provide:ct,useClass:Lt},{provide:Vn,useFactory:function(h,d,c,y,C,A,N={},z,Ee){const qe=new Vn(null,h,d,c,y,C,tn(A));return z&&(qe.urlHandlingStrategy=z),Ee&&(qe.routeReuseStrategy=Ee),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)}(N,qe),N.enableTracing&&qe.events.subscribe(Kt=>{var at,Yt;null==(at=console.group)||at.call(console,`Router Event: ${Kt.constructor.name}`),console.log(Kt.toString()),console.log(Kt),null==(Yt=console.groupEnd)||Yt.call(console)}),qe},deps:[ct,Xr,v.Ye,g.zs3,g.Sil,fr,ys,[class{},new g.FiY],[class{},new g.FiY]]},Xr,{provide:Sn,useFactory:function(h){return h.routerState.root},deps:[Vn]},su,ru,class{preload(d,c){return c().pipe(Ae(()=>(0,L.of)(null)))}},{provide:ys,useValue:{enableTracing:!1}}];function el(){return new g.PXZ("Router",Vn)}let wi=(()=>{class h{constructor(c,y){}static forRoot(c,y){return{ngModule:h,providers:[Xa,Hi(c),{provide:ji,useFactory:na,deps:[[Vn,new g.FiY,new g.tp0]]},{provide:ys,useValue:y||{}},{provide:v.S$,useFactory:Ti,deps:[v.lw,[new g.tBr(v.mr),new g.FiY],ys]},{provide:bi,useFactory:ou,deps:[Vn,v.EM,ys]},{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(Vn,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 v.Do(h,d):new v.b0(h,d)}function na(h){return"guarded"}function Hi(h){return[{provide:g.deG,multi:!0,useValue:h},{provide:fr,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(v.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(Vn),N=this.injector.get(ys);return"disabled"===N.initialNavigation?(A.setUpLocationChangeListener(),y(!0)):"enabled"===N.initialNavigation||"enabledBlocking"===N.initialNavigation?(A.hooks.afterPreactivation=()=>this.initNavigation?(0,L.of)(null):(this.initNavigation=!0,y(!0),this.resultOfPreactivationDone),A.initialNavigation()):y(!0),C})}bootstrapListener(c){const y=this.injector.get(ys),C=this.injector.get(su),A=this.injector.get(bi),N=this.injector.get(Vn),z=this.injector.get(g.z2F);c===z.components[0]&&(("enabledNonBlocking"===y.initialNavigation||void 0===y.initialNavigation)&&N.initialNavigation(),C.setUpPreloading(),A.init(),N.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")}},je=>{je(je.s=6594)}]);
|