zohodealpos 2.2.0 → 2.2.2
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/{718.92d5dbfc10ce704d.js → 718.9ed127cfc0a3a310.js} +1 -1
- package/zoho/921.d000ee09f982e05b.js +1 -0
- package/zoho/index.html +2 -2
- package/zoho/{main.d2de3d24b559b7bb.js → main.71c5b14641a18f67.js} +1 -1
- package/zoho/ngsw.json +9 -9
- package/zoho/runtime.dbe126db744bdad7.js +1 -0
- package/zoho/320.a32345dbc4227cee.js +0 -1
- package/zoho/runtime.c99ae3a32ba9e9fa.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";(self.webpackChunkzoho=self.webpackChunkzoho||[]).push([[179],{405:(Ge,he,M)=>{M.d(he,{O:()=>te});var g=M(520),_=M(591),J=M(2916),ie=M(353);const U=(()=>{function ce(){return Error.call(this),this.message="Timeout has occurred",this.name="TimeoutError",this}return ce.prototype=Object.create(Error.prototype),ce})();var Q=M(2697),q=M(1177);class V{constructor(Ce,be,Ne,Ae){this.waitFor=Ce,this.absoluteTimeout=be,this.withObservable=Ne,this.scheduler=Ae}call(Ce,be){return be.subscribe(new F(Ce,this.absoluteTimeout,this.waitFor,this.withObservable,this.scheduler))}}class F extends q.Ds{constructor(Ce,be,Ne,Ae,oe){super(Ce),this.absoluteTimeout=be,this.waitFor=Ne,this.withObservable=Ae,this.scheduler=oe,this.scheduleTimeout()}static dispatchTimeout(Ce){const{withObservable:be}=Ce;Ce._unsubscribeAndRecycle(),Ce.add((0,q.ft)(be,new q.IY(Ce)))}scheduleTimeout(){const{action:Ce}=this;Ce?this.action=Ce.schedule(this,this.waitFor):this.add(this.action=this.scheduler.schedule(F.dispatchTimeout,this.waitFor,this))}_next(Ce){this.absoluteTimeout||this.scheduleTimeout(),super._next(Ce)}_unsubscribe(){this.action=void 0,this.scheduler=null,this.withObservable=null}}var ae=M(1737);var Te=M(9863);let te=(()=>{class ce{constructor(be){this.http=be,this.currentRequest=new _.X(0),this.currentRequest.subscribe(Ne=>this.updateSpinner(Ne))}post(be,Ne,Ae=1e5){return new J.y(oe=>{var pe=JSON.parse(window.localStorage.getItem("user"));let Ke=new g.WM({"Content-Type":"application/json","Cache-Control":"no-cache"});null!=pe&&(Ke=new g.WM({"Content-Type":"application/json","Cache-Control":"no-cache",Authorization:"Bearer "+pe.access_token}));let yt={headers:Ke};this.addRequest(),this.http.post(be,Ne,yt).pipe(function fe(ce,Ce=ie.P){return function z(ce,Ce,be=ie.P){return Ne=>{let Ae=(0,Q.J)(ce),oe=Ae?+ce-be.now():Math.abs(ce);return Ne.lift(new V(oe,Ae,Ce,be))}}(ce,(0,ae._)(new U),Ce)}(Ae)).subscribe(rt=>{this.removeRequest(),oe.next(rt),oe.complete()},rt=>{this.removeRequest(),200==rt.status&&(oe.next(rt.error.text),oe.complete()),401==rt.status&&(oe.next(rt.error.text),oe.complete()),oe.error(rt)})})}postFormData(be,Ne){this.addRequest();var oe="Bearer "+JSON.parse(window.localStorage.getItem("user")).access_token;return new Promise((Ke,yt)=>{var rt=new XMLHttpRequest;rt.onreadystatechange=function(){4==rt.readyState&&(200==rt.status?Ke(JSON.parse(rt.response)):yt(rt.response))},rt.open("POST",be,!0),rt.setRequestHeader("Authorization",oe),rt.send(Ne)}).then(Ke=>this.handleSuccess(Ke)).catch(Ke=>this.handleError(Ke))}get(be){var Ne=JSON.parse(window.localStorage.getItem("user"));let Ae=new g.WM({"Content-Type":"application/json","Cache-Control":"no-cache"});return null!=Ne&&(Ae=new g.WM({"Content-Type":"application/json","Cache-Control":"no-cache",Authorization:"Bearer "+Ne.access_token})),this.http.get(be,{headers:Ae})}handleSuccess(be){return this.removeRequest(),void 0===be._body?be:(be._body=be._body||{},be.json())}handleError(be){if(this.removeRequest(),void 0===be._body)return Promise.reject(be.message||be);{let Ne=be.json();return Promise.reject(Ne.ExceptionMessage||Ne.Message||Ne)}}updateSpinner(be){}addRequest(){this.currentRequest.next(this.currentRequest.value+1)}removeRequest(){this.currentRequest.next(this.currentRequest.value-1)}notify(be,Ne){$.notify({message:be},{type:Ne,newest_on_top:!0})}}return ce.\u0275fac=function(be){return new(be||ce)(Te.LFG(g.eN))},ce.\u0275prov=Te.Yz7({token:ce,factory:ce.\u0275fac}),ce})()},8002:(Ge,he,M)=>{M.d(he,{e:()=>_});var g=M(9863);let _=(()=>{class J{constructor(){}GetNamePOS(){let B=JSON.parse(window.localStorage.getItem("user"));return this.ParseToken(B.access_token)}ParseToken(B){try{const Q=B.split(".")[0].replace("-","+").replace("_","/"),q=JSON.parse(window.atob(Q)),V=B.split(".")[1].replace("-","+").replace("_","/"),F=JSON.parse(window.atob(V));return F.header=q,F}catch(U){return!1}}}return J.\u0275fac=function(B){return new(B||J)},J.\u0275prov=g.Yz7({token:J,factory:J.\u0275fac,providedIn:"root"}),J})()},2908:(Ge,he,M)=>{var g=M(2313),_=M(9863),J=M(520),ie=M(405),B=M(8555);const U=[{path:"",loadChildren:()=>Promise.all([M.e(84),M.e(718)]).then(M.bind(M,7718)).then(O=>O.LoginModule)},{path:"pages",loadChildren:()=>Promise.all([M.e(84),M.e(320)]).then(M.bind(M,1320)).then(O=>O.PagesModule)},{path:"**",redirectTo:"",pathMatch:"full"}];let Q=(()=>{class O{}return O.\u0275fac=function(R){return new(R||O)},O.\u0275mod=_.oAB({type:O}),O.\u0275inj=_.cJS({imports:[[B.Bz.forRoot(U)],B.Bz]}),O})();var q=M(6831);function z(O,Z){function R(){return!R.pred.apply(R.thisArg,arguments)}return R.pred=O,R.thisArg=Z,R}var V=M(9249),F=M(2198),ae=M(2916),Te=M(6787),te=M(7739),ce=M(537),Ce=M(7545),be=M(1177);function Ne(O){return Z=>Z.lift(new Ae(O))}class Ae{constructor(Z){this.durationSelector=Z}call(Z,R){return R.subscribe(new oe(Z,this.durationSelector))}}class oe extends be.Ds{constructor(Z,R){super(Z),this.durationSelector=R,this.hasValue=!1}_next(Z){try{const R=this.durationSelector.call(this,Z);R&&this._tryNext(Z,R)}catch(R){this.destination.error(R)}}_complete(){this.emitValue(),this.destination.complete()}_tryNext(Z,R){let de=this.durationSubscription;this.value=Z,this.hasValue=!0,de&&(de.unsubscribe(),this.remove(de)),de=(0,be.ft)(R,new be.IY(this)),de&&!de.closed&&this.add(this.durationSubscription=de)}notifyNext(){this.emitValue()}notifyComplete(){this.emitValue()}emitValue(){if(this.hasValue){const Z=this.value,R=this.durationSubscription;R&&(this.durationSubscription=void 0,R.unsubscribe(),this.remove(R)),this.value=void 0,this.hasValue=!1,super._next(Z)}}}var pe=M(5778),Ke=M(2994),yt=M(9808);function rt(O,Z){1&O&&_.GkF(0)}function at(O,Z){if(1&O&&_._UZ(0,"sk-cube-grid",4),2&O){const R=_.oxw(2);_.Q6J("backgroundColor",R.backgroundColor)}}function ht(O,Z){if(1&O&&_._UZ(0,"sk-chasing-dots",4),2&O){const R=_.oxw(2);_.Q6J("backgroundColor",R.backgroundColor)}}function St(O,Z){if(1&O&&_._UZ(0,"sk-double-bounce",4),2&O){const R=_.oxw(2);_.Q6J("backgroundColor",R.backgroundColor)}}function Mt(O,Z){if(1&O&&_._UZ(0,"sk-rotating-plane",4),2&O){const R=_.oxw(2);_.Q6J("backgroundColor",R.backgroundColor)}}function ft(O,Z){if(1&O&&_._UZ(0,"sk-spinner-pulse",4),2&O){const R=_.oxw(2);_.Q6J("backgroundColor",R.backgroundColor)}}function lt(O,Z){if(1&O&&_._UZ(0,"sk-three-bounce",4),2&O){const R=_.oxw(2);_.Q6J("backgroundColor",R.backgroundColor)}}function Ve(O,Z){if(1&O&&_._UZ(0,"sk-wandering-cubes",4),2&O){const R=_.oxw(2);_.Q6J("backgroundColor",R.backgroundColor)}}function Hn(O,Z){if(1&O&&_._UZ(0,"sk-wave",4),2&O){const R=_.oxw(2);_.Q6J("backgroundColor",R.backgroundColor)}}const Pt=function(O){return{"background-color":O}};function cn(O,Z){if(1&O&&(_.TgZ(0,"div",1),_.YNc(1,rt,1,0,"ng-container",2),_.YNc(2,at,1,1,"sk-cube-grid",3),_.YNc(3,ht,1,1,"sk-chasing-dots",3),_.YNc(4,St,1,1,"sk-double-bounce",3),_.YNc(5,Mt,1,1,"sk-rotating-plane",3),_.YNc(6,ft,1,1,"sk-spinner-pulse",3),_.YNc(7,lt,1,1,"sk-three-bounce",3),_.YNc(8,Ve,1,1,"sk-wandering-cubes",3),_.YNc(9,Hn,1,1,"sk-wave",3),_.qZA()),2&O){const R=_.oxw();_.Udp("opacity",R.opacity),_.ekj("backdrop",R.backdrop),_.Q6J("ngStyle",_.VKq(14,Pt,R.backdrop?R.backdropBackgroundColor:"transparent")),_.xp6(1),_.Q6J("ngComponentOutlet",R.entryComponent),_.xp6(1),_.Q6J("ngIf",R.spinner===R.spinkit.skCubeGrid),_.xp6(1),_.Q6J("ngIf",R.spinner===R.spinkit.skChasingDots),_.xp6(1),_.Q6J("ngIf",R.spinner===R.spinkit.skDoubleBounce),_.xp6(1),_.Q6J("ngIf",R.spinner===R.spinkit.skRotatingPlane),_.xp6(1),_.Q6J("ngIf",R.spinner===R.spinkit.skSpinnerPulse),_.xp6(1),_.Q6J("ngIf",R.spinner===R.spinkit.skThreeBounce),_.xp6(1),_.Q6J("ngIf",R.spinner===R.spinkit.skWanderingCubes),_.xp6(1),_.Q6J("ngIf",R.spinner===R.spinkit.skWave)}}let dn=(()=>{class O{}return O.\u0275fac=function(R){return new(R||O)},O.\u0275dir=_.lG2({type:O,inputs:{backgroundColor:"backgroundColor"}}),O})(),Cn=(()=>{class O extends dn{}return O.\u0275fac=function(){let Z;return function(de){return(Z||(Z=_.n5z(O)))(de||O)}}(),O.\u0275cmp=_.Xpm({type:O,selectors:[["sk-chasing-dots"]],features:[_.qOj],decls:3,vars:6,consts:[[1,"sk-chasing-dots"],[1,"sk-child","sk-dot1"],[1,"sk-child","sk-dot2"]],template:function(R,de){1&R&&(_.TgZ(0,"div",0),_._UZ(1,"div",1),_._UZ(2,"div",2),_.qZA()),2&R&&(_.ekj("colored",!de.backgroundColor),_.xp6(1),_.Udp("background-color",de.backgroundColor),_.xp6(1),_.Udp("background-color",de.backgroundColor))},styles:[".sk-chasing-dots[_ngcontent-%COMP%]{top:50%;margin:auto;width:40px;height:40px;position:relative;text-align:center;animation:sk-chasingDotsRotate 2s infinite linear}.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 infinite ease-in-out}.sk-chasing-dots[_ngcontent-%COMP%] .sk-dot2[_ngcontent-%COMP%]{top:auto;bottom:0;animation-delay:-1s}@keyframes sk-chasingDotsRotate{to{transform:rotate(360deg)}}@keyframes sk-chasingDotsBounce{0%,to{transform:scale(0)}50%{transform:scale(1)}}"]}),O})(),bn=(()=>{class O extends dn{}return O.\u0275fac=function(){let Z;return function(de){return(Z||(Z=_.n5z(O)))(de||O)}}(),O.\u0275cmp=_.Xpm({type:O,selectors:[["sk-cube-grid"]],features:[_.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(R,de){1&R&&(_.TgZ(0,"div",0),_._UZ(1,"div",1),_._UZ(2,"div",2),_._UZ(3,"div",3),_._UZ(4,"div",4),_._UZ(5,"div",5),_._UZ(6,"div",6),_._UZ(7,"div",7),_._UZ(8,"div",8),_._UZ(9,"div",9),_.qZA()),2&R&&(_.ekj("colored",!de.backgroundColor),_.xp6(1),_.Udp("background-color",de.backgroundColor),_.xp6(1),_.Udp("background-color",de.backgroundColor),_.xp6(1),_.Udp("background-color",de.backgroundColor),_.xp6(1),_.Udp("background-color",de.backgroundColor),_.xp6(1),_.Udp("background-color",de.backgroundColor),_.xp6(1),_.Udp("background-color",de.backgroundColor),_.xp6(1),_.Udp("background-color",de.backgroundColor),_.xp6(1),_.Udp("background-color",de.backgroundColor),_.xp6(1),_.Udp("background-color",de.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 infinite ease-in-out}.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:scale(1)}35%{transform:scale(0)}}"]}),O})(),$t=(()=>{class O extends dn{}return O.\u0275fac=function(){let Z;return function(de){return(Z||(Z=_.n5z(O)))(de||O)}}(),O.\u0275cmp=_.Xpm({type:O,selectors:[["sk-double-bounce"]],features:[_.qOj],decls:3,vars:6,consts:[[1,"sk-double-bounce"],[1,"sk-child","sk-double-bounce1"],[1,"sk-child","sk-double-bounce2"]],template:function(R,de){1&R&&(_.TgZ(0,"div",0),_._UZ(1,"div",1),_._UZ(2,"div",2),_.qZA()),2&R&&(_.ekj("colored",!de.backgroundColor),_.xp6(1),_.Udp("background-color",de.backgroundColor),_.xp6(1),_.Udp("background-color",de.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 infinite ease-in-out}.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)}}"]}),O})(),_e=(()=>{class O extends dn{}return O.\u0275fac=function(){let Z;return function(de){return(Z||(Z=_.n5z(O)))(de||O)}}(),O.\u0275cmp=_.Xpm({type:O,selectors:[["sk-rotating-plane"]],features:[_.qOj],decls:1,vars:2,consts:[[1,"sk-rotating-plane","colored-parent"]],template:function(R,de){1&R&&_._UZ(0,"div",0),2&R&&_.Udp("background-color",de.backgroundColor)},styles:[".sk-rotating-plane[_ngcontent-%COMP%]{position:relative;top:50%;width:40px;height:40px;margin:auto;animation:sk-rotatePlane 1.2s infinite ease-in-out}@keyframes sk-rotatePlane{0%{transform:perspective(120px) rotateX(0) rotateY(0)}50%{transform:perspective(120px) rotateX(-180.1deg) rotateY(0)}to{transform:perspective(120px) rotateX(-180deg) rotateY(-179.9deg)}}"]}),O})(),we=(()=>{class O extends dn{}return O.\u0275fac=function(){let Z;return function(de){return(Z||(Z=_.n5z(O)))(de||O)}}(),O.\u0275cmp=_.Xpm({type:O,selectors:[["sk-spinner-pulse"]],features:[_.qOj],decls:1,vars:2,consts:[[1,"sk-spinner","sk-spinner-pulse","colored-parent"]],template:function(R,de){1&R&&_._UZ(0,"div",0),2&R&&_.Udp("background-color",de.backgroundColor)},styles:[".sk-spinner-pulse[_ngcontent-%COMP%]{position:relative;top:50%;width:40px;height:40px;margin:auto;border-radius:100%;animation:sk-pulseScaleOut 1s infinite ease-in-out}@keyframes sk-pulseScaleOut{0%{transform:scale(0)}to{transform:scale(1);opacity:0}}"]}),O})(),X=(()=>{class O extends dn{}return O.\u0275fac=function(){let Z;return function(de){return(Z||(Z=_.n5z(O)))(de||O)}}(),O.\u0275cmp=_.Xpm({type:O,selectors:[["sk-three-bounce"]],features:[_.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(R,de){1&R&&(_.TgZ(0,"div",0),_._UZ(1,"div",1),_._UZ(2,"div",2),_._UZ(3,"div",3),_.qZA()),2&R&&(_.ekj("colored",!de.backgroundColor),_.xp6(1),_.Udp("background-color",de.backgroundColor),_.xp6(1),_.Udp("background-color",de.backgroundColor),_.xp6(1),_.Udp("background-color",de.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)}}"]}),O})(),ue=(()=>{class O extends dn{}return O.\u0275fac=function(){let Z;return function(de){return(Z||(Z=_.n5z(O)))(de||O)}}(),O.\u0275cmp=_.Xpm({type:O,selectors:[["sk-wandering-cubes"]],features:[_.qOj],decls:3,vars:6,consts:[[1,"sk-wandering-cubes"],[1,"sk-cube","sk-cube1"],[1,"sk-cube","sk-cube2"]],template:function(R,de){1&R&&(_.TgZ(0,"div",0),_._UZ(1,"div",1),_._UZ(2,"div",2),_.qZA()),2&R&&(_.ekj("colored",!de.backgroundColor),_.xp6(1),_.Udp("background-color",de.backgroundColor),_.xp6(1),_.Udp("background-color",de.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(0)}25%{transform:translate(30px) rotate(-90deg) scale(.5)}50%{transform:translate(30px) translateY(30px) rotate(-179deg)}50.1%{transform:translate(30px) translateY(30px) rotate(-180deg)}75%{transform:translate(0) translateY(30px) rotate(-270deg) scale(.5)}to{transform:rotate(-360deg)}}"]}),O})(),Fe=(()=>{class O extends dn{}return O.\u0275fac=function(){let Z;return function(de){return(Z||(Z=_.n5z(O)))(de||O)}}(),O.\u0275cmp=_.Xpm({type:O,selectors:[["sk-wave"]],features:[_.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(R,de){1&R&&(_.TgZ(0,"div",0),_._UZ(1,"div",1),_._UZ(2,"div",2),_._UZ(3,"div",3),_._UZ(4,"div",4),_._UZ(5,"div",5),_.qZA()),2&R&&(_.ekj("colored",!de.backgroundColor),_.xp6(1),_.Udp("background-color",de.backgroundColor),_.xp6(1),_.Udp("background-color",de.backgroundColor),_.xp6(1),_.Udp("background-color",de.backgroundColor),_.xp6(1),_.Udp("background-color",de.backgroundColor),_.xp6(1),_.Udp("background-color",de.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 infinite ease-in-out}.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)}}"]}),O})();const je={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 Ut=(()=>{class O{constructor(){this._pendingRequests=0,this._pendingRequestsStatus$=new q.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(R){this._filteredMethods=R}set filteredHeaders(R){this._filteredHeaders=R}set forceByPass(R){this._forceByPass=R}shouldBypassUrl(R){return this._filteredUrlPatterns.some(de=>de.test(R))}shouldBypassMethod(R){return this._filteredMethods.some(de=>de.toUpperCase()===R.method.toUpperCase())}shouldBypassHeader(R){return this._filteredHeaders.some(de=>R.headers.has(de))}shouldBypass(R){return this._forceByPass||this.shouldBypassUrl(R.urlWithParams)||this.shouldBypassMethod(R)||this.shouldBypassHeader(R)}intercept(R,de){const it=this.shouldBypass(R);return it||(this._pendingRequests++,1===this._pendingRequests&&this._pendingRequestsStatus$.next(!0)),de.handle(R).pipe((0,ce.x)(()=>{it||(this._pendingRequests--,0===this._pendingRequests&&this._pendingRequestsStatus$.next(!1))}))}}return O.\u0275fac=function(R){return new(R||O)},O.\u0275prov=_.Yz7({token:O,factory:O.\u0275fac,providedIn:"root"}),O})();const Gt=[{provide:J.TP,useExisting:Ut,multi:!0}];let hn=(()=>{class O{constructor(R){this.pendingRequestsInterceptor=R,this._visibility$=new q.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 O.\u0275fac=function(R){return new(R||O)(_.LFG(Ut))},O.\u0275prov=_.Yz7({token:O,factory:O.\u0275fac,providedIn:"root"}),O})(),rn=(()=>{class O{constructor(R,de){this.pendingRequestsInterceptor=R,this.spinnerVisibility=de,this.spinkit=je,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=je.skWave}ngOnInit(){this.initIsvisibleObservable(),this.nullifySpinnerIfEntryComponentIsDefined(),this.initFilters()}initIsvisibleObservable(){const[R,de]=function fe(O,Z,R){return[(0,F.h)(Z,R)(new ae.y((0,V.s)(O))),(0,F.h)(z(Z,R))(new ae.y((0,V.s)(O)))]}(this.pendingRequestsInterceptor.pendingRequestsStatus$,it=>it);this.isVisible$=(0,Te.T)(this.pendingRequestsInterceptor.pendingRequestsStatus$.pipe((0,Ce.w)(()=>R.pipe(Ne(()=>(0,te.H)(this.debounceDelay))))),R.pipe((0,Ce.w)(()=>de.pipe(Ne(()=>this.getVisibilityTimer$())))),this.spinnerVisibility.visibility$).pipe((0,pe.x)(),(0,Ke.b)(it=>this.updateExpirationDelay(it)))}nullifySpinnerIfEntryComponentIsDefined(){this.entryComponent&&(this.spinner=null)}initFilters(){this.initFilteredUrlPatterns(),this.initFilteredMethods(),this.initFilteredHeaders()}initFilteredUrlPatterns(){this.filteredUrlPatterns.length&&this.filteredUrlPatterns.forEach(R=>this.pendingRequestsInterceptor.filteredUrlPatterns.push(new RegExp(R)))}initFilteredMethods(){this.pendingRequestsInterceptor.filteredMethods=this.filteredMethods}initFilteredHeaders(){this.pendingRequestsInterceptor.filteredHeaders=this.filteredHeaders}updateExpirationDelay(R){R&&(this.visibleUntil=Date.now()+this.minDuration)}getVisibilityTimer$(){return(0,te.H)(Math.max(this.extraDuration,this.visibleUntil-Date.now()))}}return O.\u0275fac=function(R){return new(R||O)(_.Y36(Ut),_.Y36(hn))},O.\u0275cmp=_.Xpm({type:O,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(R,de){1&R&&(_.YNc(0,cn,10,16,"div",0),_.ALo(1,"async")),2&R&&_.Q6J("ngIf",_.lcZ(1,1,de.isVisible$))},directives:[yt.O5,yt.PC,yt.$G,bn,Cn,$t,_e,we,X,ue,Fe],pipes:[yt.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}"]}),O})(),Vn=(()=>{class O{static forRoot(){return{ngModule:O,providers:[Gt]}}}return O.\u0275fac=function(R){return new(R||O)},O.\u0275mod=_.oAB({type:O}),O.\u0275inj=_.cJS({imports:[[yt.ez]]}),O})(),Xn=(()=>{class O{constructor(){this.title="zoho"}ngOnInit(){this.overrideDateToJsonFunction()}overrideDateToJsonFunction(){Date.prototype.toJSON=function(){return new Date(this.getTime()-60*this.getTimezoneOffset()*1e3).toISOString()}}}return O.\u0275fac=function(R){return new(R||O)},O.\u0275cmp=_.Xpm({type:O,selectors:[["app-root"]],decls:2,vars:0,template:function(R,de){1&R&&(_._UZ(0,"router-outlet"),_._UZ(1,"ng-http-loader"))},directives:[B.lC,rn],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 - .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}"]}),O})();var $n=M(6360),xn=M(2290);let Vt=(()=>{class O{constructor(R){this._router=R}intercept(R,de){let it=JSON.parse(window.localStorage.getItem("user")),wt=new Date;if(null!=it){let Zt=new Date(it.expiredAt);R=R.clone(wt<Zt?{setHeaders:{"Content-Type":"application/json",Authorization:`Bearer ${it.access_token}`}}:{setHeaders:{"Content-Type":"application/json"}})}else R=R.clone({setHeaders:{"Content-Type":"application/json"}});return de.handle(R)}}return O.\u0275fac=function(R){return new(R||O)(_.LFG(B.F0))},O.\u0275prov=_.Yz7({token:O,factory:O.\u0275fac}),O})();var lr=M(8002),nt=M(8514),De=M(1737),Y=M(3753),K=M(1086),Ee=M(1221),le=M(8929),ke=M(7876);const Oe=new ae.y(ke.Z);var ut=M(4850),bt=M(2536),sn=M(2986),It=M(353),Ct=M(2697),Ue=M(3489),Nn=M(9312);class vt{constructor(Z,R){this.delay=Z,this.scheduler=R}call(Z,R){return R.subscribe(new st(Z,this.delay,this.scheduler))}}class st extends Ue.L{constructor(Z,R,de){super(Z),this.delay=R,this.scheduler=de,this.queue=[],this.active=!1,this.errored=!1}static dispatch(Z){const R=Z.source,de=R.queue,it=Z.scheduler,wt=Z.destination;for(;de.length>0&&de[0].time-it.now()<=0;)de.shift().notification.observe(wt);if(de.length>0){const Zt=Math.max(0,de[0].time-it.now());this.schedule(Z,Zt)}else this.unsubscribe(),R.active=!1}_schedule(Z){this.active=!0,this.destination.add(Z.schedule(st.dispatch,this.delay,{source:this,destination:this.destination,scheduler:Z}))}scheduleNotification(Z){if(!0===this.errored)return;const R=this.scheduler,de=new ur(R.now()+this.delay,Z);this.queue.push(de),!1===this.active&&this._schedule(R)}_next(Z){this.scheduleNotification(Nn.P.createNext(Z))}_error(Z){this.errored=!0,this.queue=[],this.destination.error(Z),this.unsubscribe()}_complete(){this.scheduleNotification(Nn.P.createComplete()),this.unsubscribe()}}class ur{constructor(Z,R){this.time=Z,this.notification=R}}const wn="Service workers are disabled or not supported by this browser";class tr{constructor(Z){if(this.serviceWorker=Z,Z){const de=(0,Y.R)(Z,"controllerchange").pipe((0,ut.U)(()=>Z.controller)),it=(0,nt.P)(()=>(0,K.of)(Z.controller)),wt=(0,Ee.z)(it,de);this.worker=wt.pipe((0,F.h)(fn=>!!fn)),this.registration=this.worker.pipe((0,Ce.w)(()=>Z.getRegistration()));const dr=(0,Y.R)(Z,"message").pipe((0,ut.U)(fn=>fn.data)).pipe((0,F.h)(fn=>fn&&fn.type)).pipe(function qt(O){return O?(0,bt.O)(()=>new le.xQ,O):(0,bt.O)(new le.xQ)}());dr.connect(),this.events=dr}else this.worker=this.events=this.registration=function er(O){return(0,nt.P)(()=>(0,De._)(new Error(O)))}(wn)}postMessage(Z,R){return this.worker.pipe((0,sn.q)(1),(0,Ke.b)(de=>{de.postMessage(Object.assign({action:Z},R))})).toPromise().then(()=>{})}postMessageWithOperation(Z,R,de){const it=this.waitForOperationCompleted(de),wt=this.postMessage(Z,R);return Promise.all([wt,it]).then(([,Zt])=>Zt)}generateNonce(){return Math.round(1e7*Math.random())}eventsOfType(Z){let R;return R="string"==typeof Z?de=>de.type===Z:de=>Z.includes(de.type),this.events.pipe((0,F.h)(R))}nextEventOfType(Z){return this.eventsOfType(Z).pipe((0,sn.q)(1))}waitForOperationCompleted(Z){return this.eventsOfType("OPERATION_COMPLETED").pipe((0,F.h)(R=>R.nonce===Z),(0,sn.q)(1),(0,ut.U)(R=>{if(void 0!==R.result)return R.result;throw new Error(R.error)})).toPromise()}get isEnabled(){return!!this.serviceWorker}}let en=(()=>{class O{constructor(R){if(this.sw=R,this.subscriptionChanges=new le.xQ,!R.isEnabled)return this.messages=Oe,this.notificationClicks=Oe,void(this.subscription=Oe);this.messages=this.sw.eventsOfType("PUSH").pipe((0,ut.U)(it=>it.data)),this.notificationClicks=this.sw.eventsOfType("NOTIFICATION_CLICK").pipe((0,ut.U)(it=>it.data)),this.pushManager=this.sw.registration.pipe((0,ut.U)(it=>it.pushManager));const de=this.pushManager.pipe((0,Ce.w)(it=>it.getSubscription()));this.subscription=(0,Te.T)(de,this.subscriptionChanges)}get isEnabled(){return this.sw.isEnabled}requestSubscription(R){if(!this.sw.isEnabled)return Promise.reject(new Error(wn));const de={userVisibleOnly:!0};let it=this.decodeBase64(R.serverPublicKey.replace(/_/g,"/").replace(/-/g,"+")),wt=new Uint8Array(new ArrayBuffer(it.length));for(let Zt=0;Zt<it.length;Zt++)wt[Zt]=it.charCodeAt(Zt);return de.applicationServerKey=wt,this.pushManager.pipe((0,Ce.w)(Zt=>Zt.subscribe(de)),(0,sn.q)(1)).toPromise().then(Zt=>(this.subscriptionChanges.next(Zt),Zt))}unsubscribe(){return this.sw.isEnabled?this.subscription.pipe((0,sn.q)(1),(0,Ce.w)(de=>{if(null===de)throw new Error("Not subscribed to push notifications.");return de.unsubscribe().then(it=>{if(!it)throw new Error("Unsubscribe failed!");this.subscriptionChanges.next(null)})})).toPromise():Promise.reject(new Error(wn))}decodeBase64(R){return atob(R)}}return O.\u0275fac=function(R){return new(R||O)(_.LFG(tr))},O.\u0275prov=_.Yz7({token:O,factory:O.\u0275fac}),O})(),Sn=(()=>{class O{constructor(R){if(this.sw=R,!R.isEnabled)return this.versionUpdates=Oe,this.available=Oe,this.activated=Oe,void(this.unrecoverable=Oe);this.versionUpdates=this.sw.eventsOfType(["VERSION_DETECTED","VERSION_INSTALLATION_FAILED","VERSION_READY"]),this.available=this.versionUpdates.pipe((0,F.h)(de=>"VERSION_READY"===de.type),(0,ut.U)(de=>({type:"UPDATE_AVAILABLE",current:de.currentVersion,available:de.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(wn));const R=this.sw.generateNonce();return this.sw.postMessageWithOperation("CHECK_FOR_UPDATES",{nonce:R},R)}activateUpdate(){if(!this.sw.isEnabled)return Promise.reject(new Error(wn));const R=this.sw.generateNonce();return this.sw.postMessageWithOperation("ACTIVATE_UPDATE",{nonce:R},R)}}return O.\u0275fac=function(R){return new(R||O)(_.LFG(tr))},O.\u0275prov=_.Yz7({token:O,factory:O.\u0275fac}),O})();class zn{}const Gn=new _.OlP("NGSW_REGISTER_SCRIPT");function vr(O,Z,R,de){return()=>{if(!(0,yt.NF)(de)||!("serviceWorker"in navigator)||!1===R.enabled)return;let wt;if(navigator.serviceWorker.addEventListener("controllerchange",()=>{null!==navigator.serviceWorker.controller&&navigator.serviceWorker.controller.postMessage({action:"INITIALIZE"})}),"function"==typeof R.registrationStrategy)wt=R.registrationStrategy();else{const[Fn,...qn]=(R.registrationStrategy||"registerWhenStable:30000").split(":");switch(Fn){case"registerImmediately":wt=(0,K.of)(null);break;case"registerWithDelay":wt=cr(+qn[0]||0);break;case"registerWhenStable":wt=qn[0]?(0,Te.T)(se(O),cr(+qn[0])):se(O);break;default:throw new Error(`Unknown ServiceWorker registration strategy: ${R.registrationStrategy}`)}}O.get(_.R0b).runOutsideAngular(()=>wt.pipe((0,sn.q)(1)).subscribe(()=>navigator.serviceWorker.register(Z,{scope:R.scope}).catch(Fn=>console.error("Service worker registration failed with:",Fn))))}}function cr(O){return(0,K.of)(null).pipe(function Ot(O,Z=It.P){const de=(0,Ct.J)(O)?+O-Z.now():Math.abs(O);return it=>it.lift(new vt(de,Z))}(O))}function se(O){return O.get(_.z2F).isStable.pipe((0,F.h)(R=>R))}function L(O,Z){return new tr((0,yt.NF)(Z)&&!1!==O.enabled?navigator.serviceWorker:void 0)}let x=(()=>{class O{static register(R,de={}){return{ngModule:O,providers:[{provide:Gn,useValue:R},{provide:zn,useValue:de},{provide:tr,useFactory:L,deps:[zn,_.Lbi]},{provide:_.ip1,useFactory:vr,deps:[_.zs3,Gn,zn,_.Lbi],multi:!0}]}}}return O.\u0275fac=function(R){return new(R||O)},O.\u0275mod=_.oAB({type:O}),O.\u0275inj=_.cJS({providers:[en,Sn]}),O})();let Se=(()=>{class O{}return O.\u0275fac=function(R){return new(R||O)},O.\u0275mod=_.oAB({type:O,bootstrap:[Xn]}),O.\u0275inj=_.cJS({providers:[ie.O,lr.e,{provide:J.TP,useClass:Vt,multi:!0}],imports:[[g.b2,Q,$n.PW,xn.Rh.forRoot({positionClass:"toast-bottom-right",preventDuplicates:!0}),J.JF,Vn.forRoot(),x.register("ngsw-worker.js",{enabled:true})]]}),O})();(0,_.G48)(),g.q6().bootstrapModule(Se).catch(O=>console.error(O))},591:(Ge,he,M)=>{M.d(he,{X:()=>J});var g=M(8929),_=M(5279);class J extends g.xQ{constructor(B){super(),this._value=B}get value(){return this.getValue()}_subscribe(B){const U=super._subscribe(B);return U&&!U.closed&&B.next(this._value),U}getValue(){if(this.hasError)throw this.thrownError;if(this.closed)throw new _.N;return this._value}next(B){super.next(this._value=B)}}},9312:(Ge,he,M)=>{M.d(he,{P:()=>B});var g=M(8896),_=M(1086),J=M(1737);class B{constructor(Q,q,z){this.kind=Q,this.value=q,this.error=z,this.hasValue="N"===Q}observe(Q){switch(this.kind){case"N":return Q.next&&Q.next(this.value);case"E":return Q.error&&Q.error(this.error);case"C":return Q.complete&&Q.complete()}}do(Q,q,z){switch(this.kind){case"N":return Q&&Q(this.value);case"E":return q&&q(this.error);case"C":return z&&z()}}accept(Q,q,z){return Q&&"function"==typeof Q.next?this.observe(Q):this.do(Q,q,z)}toObservable(){switch(this.kind){case"N":return(0,_.of)(this.value);case"E":return(0,J._)(this.error);case"C":return(0,g.c)()}throw new Error("unexpected notification kind value")}static createNext(Q){return void 0!==Q?new B("N",Q):B.undefinedValueNotification}static createError(Q){return new B("E",void 0,Q)}static createComplete(){return B.completeNotification}}B.completeNotification=new B("C"),B.undefinedValueNotification=new B("N",void 0)},2916:(Ge,he,M)=>{M.d(he,{y:()=>F});var g=M(3489),J=M(7668),ie=M(3292),U=M(3821),Q=M(5379);var V=M(2830);let F=(()=>{class fe{constructor(te){this._isScalar=!1,te&&(this._subscribe=te)}lift(te){const ce=new fe;return ce.source=this,ce.operator=te,ce}subscribe(te,ce,Ce){const{operator:be}=this,Ne=function B(fe,Te,te){if(fe){if(fe instanceof g.L)return fe;if(fe[J.b])return fe[J.b]()}return fe||Te||te?new g.L(fe,Te,te):new g.L(ie.c)}(te,ce,Ce);if(Ne.add(be?be.call(Ne,this.source):this.source||V.v.useDeprecatedSynchronousErrorHandling&&!Ne.syncErrorThrowable?this._subscribe(Ne):this._trySubscribe(Ne)),V.v.useDeprecatedSynchronousErrorHandling&&Ne.syncErrorThrowable&&(Ne.syncErrorThrowable=!1,Ne.syncErrorThrown))throw Ne.syncErrorValue;return Ne}_trySubscribe(te){try{return this._subscribe(te)}catch(ce){V.v.useDeprecatedSynchronousErrorHandling&&(te.syncErrorThrown=!0,te.syncErrorValue=ce),function _(fe){for(;fe;){const{closed:Te,destination:te,isStopped:ce}=fe;if(Te||ce)return!1;fe=te&&te instanceof g.L?te:null}return!0}(te)?te.error(ce):console.warn(ce)}}forEach(te,ce){return new(ce=ae(ce))((Ce,be)=>{let Ne;Ne=this.subscribe(Ae=>{try{te(Ae)}catch(oe){be(oe),Ne&&Ne.unsubscribe()}},be,Ce)})}_subscribe(te){const{source:ce}=this;return ce&&ce.subscribe(te)}[U.L](){return this}pipe(...te){return 0===te.length?this:function z(fe){return 0===fe.length?Q.y:1===fe.length?fe[0]:function(te){return fe.reduce((ce,Ce)=>Ce(ce),te)}}(te)(this)}toPromise(te){return new(te=ae(te))((ce,Ce)=>{let be;this.subscribe(Ne=>be=Ne,Ne=>Ce(Ne),()=>ce(be))})}}return fe.create=Te=>new fe(Te),fe})();function ae(fe){if(fe||(fe=V.v.Promise||Promise),!fe)throw new Error("no Promise impl found");return fe}},3292:(Ge,he,M)=>{M.d(he,{c:()=>J});var g=M(2830),_=M(2782);const J={closed:!0,next(ie){},error(ie){if(g.v.useDeprecatedSynchronousErrorHandling)throw ie;(0,_.z)(ie)},complete(){}}},6831:(Ge,he,M)=>{M.d(he,{t:()=>Ce});var g=M(8929),_=M(6686),ie=M(2268);const Q=new class B extends ie.v{}(class J extends _.o{constructor(Ae,oe){super(Ae,oe),this.scheduler=Ae,this.work=oe}schedule(Ae,oe=0){return oe>0?super.schedule(Ae,oe):(this.delay=oe,this.state=Ae,this.scheduler.flush(this),this)}execute(Ae,oe){return oe>0||this.closed?super.execute(Ae,oe):this._execute(Ae,oe)}requestAsyncId(Ae,oe,pe=0){return null!==pe&&pe>0||null===pe&&this.delay>0?super.requestAsyncId(Ae,oe,pe):Ae.flush(this)}});var q=M(2654),z=M(3489),V=M(9312);class fe extends z.L{constructor(Ae,oe,pe=0){super(Ae),this.scheduler=oe,this.delay=pe}static dispatch(Ae){const{notification:oe,destination:pe}=Ae;oe.observe(pe),this.unsubscribe()}scheduleMessage(Ae){this.destination.add(this.scheduler.schedule(fe.dispatch,this.delay,new Te(Ae,this.destination)))}_next(Ae){this.scheduleMessage(V.P.createNext(Ae))}_error(Ae){this.scheduleMessage(V.P.createError(Ae)),this.unsubscribe()}_complete(){this.scheduleMessage(V.P.createComplete()),this.unsubscribe()}}class Te{constructor(Ae,oe){this.notification=Ae,this.destination=oe}}var te=M(5279),ce=M(5283);class Ce extends g.xQ{constructor(Ae=Number.POSITIVE_INFINITY,oe=Number.POSITIVE_INFINITY,pe){super(),this.scheduler=pe,this._events=[],this._infiniteTimeWindow=!1,this._bufferSize=Ae<1?1:Ae,this._windowTime=oe<1?1:oe,oe===Number.POSITIVE_INFINITY?(this._infiniteTimeWindow=!0,this.next=this.nextInfiniteTimeWindow):this.next=this.nextTimeWindow}nextInfiniteTimeWindow(Ae){if(!this.isStopped){const oe=this._events;oe.push(Ae),oe.length>this._bufferSize&&oe.shift()}super.next(Ae)}nextTimeWindow(Ae){this.isStopped||(this._events.push(new be(this._getNow(),Ae)),this._trimBufferThenGetEvents()),super.next(Ae)}_subscribe(Ae){const oe=this._infiniteTimeWindow,pe=oe?this._events:this._trimBufferThenGetEvents(),Ke=this.scheduler,yt=pe.length;let rt;if(this.closed)throw new te.N;if(this.isStopped||this.hasError?rt=q.w.EMPTY:(this.observers.push(Ae),rt=new ce.W(this,Ae)),Ke&&Ae.add(Ae=new fe(Ae,Ke)),oe)for(let at=0;at<yt&&!Ae.closed;at++)Ae.next(pe[at]);else for(let at=0;at<yt&&!Ae.closed;at++)Ae.next(pe[at].value);return this.hasError?Ae.error(this.thrownError):this.isStopped&&Ae.complete(),rt}_getNow(){return(this.scheduler||Q).now()}_trimBufferThenGetEvents(){const Ae=this._getNow(),oe=this._bufferSize,pe=this._windowTime,Ke=this._events,yt=Ke.length;let rt=0;for(;rt<yt&&!(Ae-Ke[rt].time<pe);)rt++;return yt>oe&&(rt=Math.max(rt,yt-oe)),rt>0&&Ke.splice(0,rt),Ke}}class be{constructor(Ae,oe){this.time=Ae,this.value=oe}}},8929:(Ge,he,M)=>{M.d(he,{Yc:()=>Q,xQ:()=>q});var g=M(2916),_=M(3489),J=M(2654),ie=M(5279),B=M(5283),U=M(7668);class Q extends _.L{constructor(F){super(F),this.destination=F}}let q=(()=>{class V extends g.y{constructor(){super(),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}[U.b](){return new Q(this)}lift(ae){const fe=new z(this,this);return fe.operator=ae,fe}next(ae){if(this.closed)throw new ie.N;if(!this.isStopped){const{observers:fe}=this,Te=fe.length,te=fe.slice();for(let ce=0;ce<Te;ce++)te[ce].next(ae)}}error(ae){if(this.closed)throw new ie.N;this.hasError=!0,this.thrownError=ae,this.isStopped=!0;const{observers:fe}=this,Te=fe.length,te=fe.slice();for(let ce=0;ce<Te;ce++)te[ce].error(ae);this.observers.length=0}complete(){if(this.closed)throw new ie.N;this.isStopped=!0;const{observers:ae}=this,fe=ae.length,Te=ae.slice();for(let te=0;te<fe;te++)Te[te].complete();this.observers.length=0}unsubscribe(){this.isStopped=!0,this.closed=!0,this.observers=null}_trySubscribe(ae){if(this.closed)throw new ie.N;return super._trySubscribe(ae)}_subscribe(ae){if(this.closed)throw new ie.N;return this.hasError?(ae.error(this.thrownError),J.w.EMPTY):this.isStopped?(ae.complete(),J.w.EMPTY):(this.observers.push(ae),new B.W(this,ae))}asObservable(){const ae=new g.y;return ae.source=this,ae}}return V.create=(F,ae)=>new z(F,ae),V})();class z extends q{constructor(F,ae){super(),this.destination=F,this.source=ae}next(F){const{destination:ae}=this;ae&&ae.next&&ae.next(F)}error(F){const{destination:ae}=this;ae&&ae.error&&this.destination.error(F)}complete(){const{destination:F}=this;F&&F.complete&&this.destination.complete()}_subscribe(F){const{source:ae}=this;return ae?this.source.subscribe(F):J.w.EMPTY}}},5283:(Ge,he,M)=>{M.d(he,{W:()=>_});var g=M(2654);class _ extends g.w{constructor(ie,B){super(),this.subject=ie,this.subscriber=B,this.closed=!1}unsubscribe(){if(this.closed)return;this.closed=!0;const ie=this.subject,B=ie.observers;if(this.subject=null,!B||0===B.length||ie.isStopped||ie.closed)return;const U=B.indexOf(this.subscriber);-1!==U&&B.splice(U,1)}}},3489:(Ge,he,M)=>{M.d(he,{L:()=>Q});var g=M(7043),_=M(3292),J=M(2654),ie=M(7668),B=M(2830),U=M(2782);class Q extends J.w{constructor(V,F,ae){switch(super(),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=_.c;break;case 1:if(!V){this.destination=_.c;break}if("object"==typeof V){V instanceof Q?(this.syncErrorThrowable=V.syncErrorThrowable,this.destination=V,V.add(this)):(this.syncErrorThrowable=!0,this.destination=new q(this,V));break}default:this.syncErrorThrowable=!0,this.destination=new q(this,V,F,ae)}}[ie.b](){return this}static create(V,F,ae){const fe=new Q(V,F,ae);return fe.syncErrorThrowable=!1,fe}next(V){this.isStopped||this._next(V)}error(V){this.isStopped||(this.isStopped=!0,this._error(V))}complete(){this.isStopped||(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe())}_next(V){this.destination.next(V)}_error(V){this.destination.error(V),this.unsubscribe()}_complete(){this.destination.complete(),this.unsubscribe()}_unsubscribeAndRecycle(){const{_parentOrParents:V}=this;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=V,this}}class q extends Q{constructor(V,F,ae,fe){super(),this._parentSubscriber=V;let Te,te=this;(0,g.m)(F)?Te=F:F&&(Te=F.next,ae=F.error,fe=F.complete,F!==_.c&&(te=Object.create(F),(0,g.m)(te.unsubscribe)&&this.add(te.unsubscribe.bind(te)),te.unsubscribe=this.unsubscribe.bind(this))),this._context=te,this._next=Te,this._error=ae,this._complete=fe}next(V){if(!this.isStopped&&this._next){const{_parentSubscriber:F}=this;B.v.useDeprecatedSynchronousErrorHandling&&F.syncErrorThrowable?this.__tryOrSetError(F,this._next,V)&&this.unsubscribe():this.__tryOrUnsub(this._next,V)}}error(V){if(!this.isStopped){const{_parentSubscriber:F}=this,{useDeprecatedSynchronousErrorHandling:ae}=B.v;if(this._error)ae&&F.syncErrorThrowable?(this.__tryOrSetError(F,this._error,V),this.unsubscribe()):(this.__tryOrUnsub(this._error,V),this.unsubscribe());else if(F.syncErrorThrowable)ae?(F.syncErrorValue=V,F.syncErrorThrown=!0):(0,U.z)(V),this.unsubscribe();else{if(this.unsubscribe(),ae)throw V;(0,U.z)(V)}}}complete(){if(!this.isStopped){const{_parentSubscriber:V}=this;if(this._complete){const F=()=>this._complete.call(this._context);B.v.useDeprecatedSynchronousErrorHandling&&V.syncErrorThrowable?(this.__tryOrSetError(V,F),this.unsubscribe()):(this.__tryOrUnsub(F),this.unsubscribe())}else this.unsubscribe()}}__tryOrUnsub(V,F){try{V.call(this._context,F)}catch(ae){if(this.unsubscribe(),B.v.useDeprecatedSynchronousErrorHandling)throw ae;(0,U.z)(ae)}}__tryOrSetError(V,F,ae){if(!B.v.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{F.call(this._context,ae)}catch(fe){return B.v.useDeprecatedSynchronousErrorHandling?(V.syncErrorValue=fe,V.syncErrorThrown=!0,!0):((0,U.z)(fe),!0)}return!1}_unsubscribe(){const{_parentSubscriber:V}=this;this._context=null,this._parentSubscriber=null,V.unsubscribe()}}},2654:(Ge,he,M)=>{M.d(he,{w:()=>U});var g=M(6688),_=M(7830),J=M(7043);const B=(()=>{function q(z){return Error.call(this),this.message=z?`${z.length} errors occurred during unsubscription:\n${z.map((V,F)=>`${F+1}) ${V.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=z,this}return q.prototype=Object.create(Error.prototype),q})();class U{constructor(z){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,z&&(this._ctorUnsubscribe=!0,this._unsubscribe=z)}unsubscribe(){let z;if(this.closed)return;let{_parentOrParents:V,_ctorUnsubscribe:F,_unsubscribe:ae,_subscriptions:fe}=this;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,V instanceof U)V.remove(this);else if(null!==V)for(let Te=0;Te<V.length;++Te)V[Te].remove(this);if((0,J.m)(ae)){F&&(this._unsubscribe=void 0);try{ae.call(this)}catch(Te){z=Te instanceof B?Q(Te.errors):[Te]}}if((0,g.k)(fe)){let Te=-1,te=fe.length;for(;++Te<te;){const ce=fe[Te];if((0,_.K)(ce))try{ce.unsubscribe()}catch(Ce){z=z||[],Ce instanceof B?z=z.concat(Q(Ce.errors)):z.push(Ce)}}}if(z)throw new B(z)}add(z){let V=z;if(!z)return U.EMPTY;switch(typeof z){case"function":V=new U(z);case"object":if(V===this||V.closed||"function"!=typeof V.unsubscribe)return V;if(this.closed)return V.unsubscribe(),V;if(!(V instanceof U)){const fe=V;V=new U,V._subscriptions=[fe]}break;default:throw new Error("unrecognized teardown "+z+" added to Subscription.")}let{_parentOrParents:F}=V;if(null===F)V._parentOrParents=this;else if(F instanceof U){if(F===this)return V;V._parentOrParents=[F,this]}else{if(-1!==F.indexOf(this))return V;F.push(this)}const ae=this._subscriptions;return null===ae?this._subscriptions=[V]:ae.push(V),V}remove(z){const V=this._subscriptions;if(V){const F=V.indexOf(z);-1!==F&&V.splice(F,1)}}}var q;function Q(q){return q.reduce((z,V)=>z.concat(V instanceof B?V.errors:V),[])}U.EMPTY=((q=new U).closed=!0,q)},2830:(Ge,he,M)=>{M.d(he,{v:()=>_});let g=!1;const _={Promise:void 0,set useDeprecatedSynchronousErrorHandling(J){if(J){const ie=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+ie.stack)}else g&&console.log("RxJS: Back to a better error behavior. Thank you. <3");g=J},get useDeprecatedSynchronousErrorHandling(){return g}}},1177:(Ge,he,M)=>{M.d(he,{Ds:()=>U,IY:()=>ie,ft:()=>q});var g=M(3489),_=M(2916),J=M(9249);class ie extends g.L{constructor(V){super(),this.parent=V}_next(V){this.parent.notifyNext(V)}_error(V){this.parent.notifyError(V),this.unsubscribe()}_complete(){this.parent.notifyComplete(),this.unsubscribe()}}class U extends g.L{notifyNext(V){this.destination.next(V)}notifyError(V){this.destination.error(V)}notifyComplete(){this.destination.complete()}}function q(z,V){if(V.closed)return;if(z instanceof _.y)return z.subscribe(V);let F;try{F=(0,J.s)(z)(V)}catch(ae){V.error(ae)}return F}},1762:(Ge,he,M)=>{M.d(he,{N:()=>U,c:()=>B});var g=M(8929),_=M(2916),J=M(2654),ie=M(4327);class B extends _.y{constructor(F,ae){super(),this.source=F,this.subjectFactory=ae,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 J.w,F.add(this.source.subscribe(new Q(this.getSubject(),this))),F.closed&&(this._connection=null,F=J.w.EMPTY)),F}refCount(){return(0,ie.x)()(this)}}const U=(()=>{const V=B.prototype;return{operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:V._subscribe},_isComplete:{value:V._isComplete,writable:!0},getSubject:{value:V.getSubject},connect:{value:V.connect},refCount:{value:V.refCount}}})();class Q extends g.Yc{constructor(F,ae){super(F),this.connectable=ae}_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 ae=F._connection;F._refCount=0,F._subject=null,F._connection=null,ae&&ae.unsubscribe()}}}},3426:(Ge,he,M)=>{M.d(he,{aj:()=>F});var g=M(2866),_=M(6688),J=M(3489);class ie extends J.L{notifyNext(te,ce,Ce,be,Ne){this.destination.next(ce)}notifyError(te,ce){this.destination.error(te)}notifyComplete(te){this.destination.complete()}}class B extends J.L{constructor(te,ce,Ce){super(),this.parent=te,this.outerValue=ce,this.outerIndex=Ce,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 U=M(9249),Q=M(2916);function q(Te,te,ce,Ce,be=new B(Te,ce,Ce)){if(!be.closed)return te instanceof Q.y?te.subscribe(be):(0,U.s)(te)(be)}var z=M(3009);const V={};function F(...Te){let te,ce;return(0,g.K)(Te[Te.length-1])&&(ce=Te.pop()),"function"==typeof Te[Te.length-1]&&(te=Te.pop()),1===Te.length&&(0,_.k)(Te[0])&&(Te=Te[0]),(0,z.n)(Te,ce).lift(new ae(te))}class ae{constructor(te){this.resultSelector=te}call(te,ce){return ce.subscribe(new fe(te,this.resultSelector))}}class fe extends ie{constructor(te,ce){super(te),this.resultSelector=ce,this.active=0,this.values=[],this.observables=[]}_next(te){this.values.push(V),this.observables.push(te)}_complete(){const te=this.observables,ce=te.length;if(0===ce)this.destination.complete();else{this.active=ce,this.toRespond=ce;for(let Ce=0;Ce<ce;Ce++)this.add(q(this,te[Ce],void 0,Ce))}}notifyComplete(te){0==(this.active-=1)&&this.destination.complete()}notifyNext(te,ce,Ce){const be=this.values,Ae=this.toRespond?be[Ce]===V?--this.toRespond:this.toRespond:0;be[Ce]=ce,0===Ae&&(this.resultSelector?this._tryResultSelector(be):this.destination.next(be.slice()))}_tryResultSelector(te){let ce;try{ce=this.resultSelector.apply(this,te)}catch(Ce){return void this.destination.error(Ce)}this.destination.next(ce)}}},1221:(Ge,he,M)=>{M.d(he,{z:()=>ie});var g=M(1086),_=M(9146);function ie(...B){return function J(){return(0,_.J)(1)}()((0,g.of)(...B))}},8514:(Ge,he,M)=>{M.d(he,{P:()=>ie});var g=M(2916),_=M(5254),J=M(8896);function ie(B){return new g.y(U=>{let Q;try{Q=B()}catch(z){return void U.error(z)}return(Q?(0,_.D)(Q):(0,J.c)()).subscribe(U)})}},8896:(Ge,he,M)=>{M.d(he,{E:()=>_,c:()=>J});var g=M(2916);const _=new g.y(B=>B.complete());function J(B){return B?function ie(B){return new g.y(U=>B.schedule(()=>U.complete()))}(B):_}},5254:(Ge,he,M)=>{M.d(he,{D:()=>te});var g=M(2916),_=M(9249),J=M(2654),ie=M(3821),Q=M(6454),q=M(5430),F=M(8955),ae=M(8515);function te(ce,Ce){return Ce?function Te(ce,Ce){if(null!=ce){if(function V(ce){return ce&&"function"==typeof ce[ie.L]}(ce))return function B(ce,Ce){return new g.y(be=>{const Ne=new J.w;return Ne.add(Ce.schedule(()=>{const Ae=ce[ie.L]();Ne.add(Ae.subscribe({next(oe){Ne.add(Ce.schedule(()=>be.next(oe)))},error(oe){Ne.add(Ce.schedule(()=>be.error(oe)))},complete(){Ne.add(Ce.schedule(()=>be.complete()))}}))})),Ne})}(ce,Ce);if((0,F.t)(ce))return function U(ce,Ce){return new g.y(be=>{const Ne=new J.w;return Ne.add(Ce.schedule(()=>ce.then(Ae=>{Ne.add(Ce.schedule(()=>{be.next(Ae),Ne.add(Ce.schedule(()=>be.complete()))}))},Ae=>{Ne.add(Ce.schedule(()=>be.error(Ae)))}))),Ne})}(ce,Ce);if((0,ae.z)(ce))return(0,Q.r)(ce,Ce);if(function fe(ce){return ce&&"function"==typeof ce[q.hZ]}(ce)||"string"==typeof ce)return function z(ce,Ce){if(!ce)throw new Error("Iterable cannot be null");return new g.y(be=>{const Ne=new J.w;let Ae;return Ne.add(()=>{Ae&&"function"==typeof Ae.return&&Ae.return()}),Ne.add(Ce.schedule(()=>{Ae=ce[q.hZ](),Ne.add(Ce.schedule(function(){if(be.closed)return;let oe,pe;try{const Ke=Ae.next();oe=Ke.value,pe=Ke.done}catch(Ke){return void be.error(Ke)}pe?be.complete():(be.next(oe),this.schedule())}))})),Ne})}(ce,Ce)}throw new TypeError((null!==ce&&typeof ce||ce)+" is not observable")}(ce,Ce):ce instanceof g.y?ce:new g.y((0,_.s)(ce))}},3009:(Ge,he,M)=>{M.d(he,{n:()=>ie});var g=M(2916),_=M(3650),J=M(6454);function ie(B,U){return U?(0,J.r)(B,U):new g.y((0,_.V)(B))}},3753:(Ge,he,M)=>{M.d(he,{R:()=>U});var g=M(2916),_=M(6688),J=M(7043),ie=M(4850);function U(F,ae,fe,Te){return(0,J.m)(fe)&&(Te=fe,fe=void 0),Te?U(F,ae,fe).pipe((0,ie.U)(te=>(0,_.k)(te)?Te(...te):Te(te))):new g.y(te=>{Q(F,ae,function ce(Ce){te.next(arguments.length>1?Array.prototype.slice.call(arguments):Ce)},te,fe)})}function Q(F,ae,fe,Te,te){let ce;if(function V(F){return F&&"function"==typeof F.addEventListener&&"function"==typeof F.removeEventListener}(F)){const Ce=F;F.addEventListener(ae,fe,te),ce=()=>Ce.removeEventListener(ae,fe,te)}else if(function z(F){return F&&"function"==typeof F.on&&"function"==typeof F.off}(F)){const Ce=F;F.on(ae,fe),ce=()=>Ce.off(ae,fe)}else if(function q(F){return F&&"function"==typeof F.addListener&&"function"==typeof F.removeListener}(F)){const Ce=F;F.addListener(ae,fe),ce=()=>Ce.removeListener(ae,fe)}else{if(!F||!F.length)throw new TypeError("Invalid event target");for(let Ce=0,be=F.length;Ce<be;Ce++)Q(F[Ce],ae,fe,Te,te)}Te.add(ce)}},6787:(Ge,he,M)=>{M.d(he,{T:()=>B});var g=M(2916),_=M(2866),J=M(9146),ie=M(3009);function B(...U){let Q=Number.POSITIVE_INFINITY,q=null,z=U[U.length-1];return(0,_.K)(z)?(q=U.pop(),U.length>1&&"number"==typeof U[U.length-1]&&(Q=U.pop())):"number"==typeof z&&(Q=U.pop()),null===q&&1===U.length&&U[0]instanceof g.y?U[0]:(0,J.J)(Q)((0,ie.n)(U,q))}},1086:(Ge,he,M)=>{M.d(he,{of:()=>ie});var g=M(2866),_=M(3009),J=M(6454);function ie(...B){let U=B[B.length-1];return(0,g.K)(U)?(B.pop(),(0,J.r)(B,U)):(0,_.n)(B)}},1737:(Ge,he,M)=>{M.d(he,{_:()=>_});var g=M(2916);function _(ie,B){return new g.y(B?U=>B.schedule(J,0,{error:ie,subscriber:U}):U=>U.error(ie))}function J({error:ie,subscriber:B}){B.error(ie)}},7739:(Ge,he,M)=>{M.d(he,{H:()=>U});var g=M(2916),_=M(353),J=M(6688);function ie(q){return!(0,J.k)(q)&&q-parseFloat(q)+1>=0}var B=M(2866);function U(q=0,z,V){let F=-1;return ie(z)?F=Number(z)<1?1:Number(z):(0,B.K)(z)&&(V=z),(0,B.K)(V)||(V=_.P),new g.y(ae=>{const fe=ie(q)?q:+q-V.now();return V.schedule(Q,fe,{index:0,period:F,subscriber:ae})})}function Q(q){const{index:z,period:V,subscriber:F}=q;if(F.next(z),!F.closed){if(-1===V)return F.complete();q.index=z+1,this.schedule(q,V)}}},7221:(Ge,he,M)=>{M.d(he,{K:()=>_});var g=M(1177);function _(B){return function(Q){const q=new J(B),z=Q.lift(q);return q.caught=z}}class J{constructor(U){this.selector=U}call(U,Q){return Q.subscribe(new ie(U,this.selector,this.caught))}}class ie extends g.Ds{constructor(U,Q,q){super(U),this.selector=Q,this.caught=q}error(U){if(!this.isStopped){let Q;try{Q=this.selector(U,this.caught)}catch(V){return void super.error(V)}this._unsubscribeAndRecycle();const q=new g.IY(this);this.add(q);const z=(0,g.ft)(Q,q);z!==q&&this.add(z)}}}},1406:(Ge,he,M)=>{M.d(he,{b:()=>_});var g=M(1709);function _(J,ie){return(0,g.zg)(J,ie,1)}},5778:(Ge,he,M)=>{M.d(he,{x:()=>_});var g=M(3489);function _(B,U){return Q=>Q.lift(new J(B,U))}class J{constructor(U,Q){this.compare=U,this.keySelector=Q}call(U,Q){return Q.subscribe(new ie(U,this.compare,this.keySelector))}}class ie extends g.L{constructor(U,Q,q){super(U),this.keySelector=q,this.hasKey=!1,"function"==typeof Q&&(this.compare=Q)}compare(U,Q){return U===Q}_next(U){let Q;try{const{keySelector:z}=this;Q=z?z(U):U}catch(z){return this.destination.error(z)}let q=!1;if(this.hasKey)try{const{compare:z}=this;q=z(this.key,Q)}catch(z){return this.destination.error(z)}else this.hasKey=!0;q||(this.key=Q,this.destination.next(U))}}},2198:(Ge,he,M)=>{M.d(he,{h:()=>_});var g=M(3489);function _(B,U){return function(q){return q.lift(new J(B,U))}}class J{constructor(U,Q){this.predicate=U,this.thisArg=Q}call(U,Q){return Q.subscribe(new ie(U,this.predicate,this.thisArg))}}class ie extends g.L{constructor(U,Q,q){super(U),this.predicate=Q,this.thisArg=q,this.count=0}_next(U){let Q;try{Q=this.predicate.call(this.thisArg,U,this.count++)}catch(q){return void this.destination.error(q)}Q&&this.destination.next(U)}}},537:(Ge,he,M)=>{M.d(he,{x:()=>J});var g=M(3489),_=M(2654);function J(U){return Q=>Q.lift(new ie(U))}class ie{constructor(Q){this.callback=Q}call(Q,q){return q.subscribe(new B(Q,this.callback))}}class B extends g.L{constructor(Q,q){super(Q),this.add(new _.w(q))}}},4850:(Ge,he,M)=>{M.d(he,{U:()=>_});var g=M(3489);function _(B,U){return function(q){if("function"!=typeof B)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return q.lift(new J(B,U))}}class J{constructor(U,Q){this.project=U,this.thisArg=Q}call(U,Q){return Q.subscribe(new ie(U,this.project,this.thisArg))}}class ie extends g.L{constructor(U,Q,q){super(U),this.project=Q,this.count=0,this.thisArg=q||this}_next(U){let Q;try{Q=this.project.call(this.thisArg,U,this.count++)}catch(q){return void this.destination.error(q)}this.destination.next(Q)}}},9146:(Ge,he,M)=>{M.d(he,{J:()=>J});var g=M(1709),_=M(5379);function J(ie=Number.POSITIVE_INFINITY){return(0,g.zg)(_.y,ie)}},1709:(Ge,he,M)=>{M.d(he,{zg:()=>ie});var g=M(4850),_=M(5254),J=M(1177);function ie(q,z,V=Number.POSITIVE_INFINITY){return"function"==typeof z?F=>F.pipe(ie((ae,fe)=>(0,_.D)(q(ae,fe)).pipe((0,g.U)((Te,te)=>z(ae,Te,fe,te))),V)):("number"==typeof z&&(V=z),F=>F.lift(new B(q,V)))}class B{constructor(z,V=Number.POSITIVE_INFINITY){this.project=z,this.concurrent=V}call(z,V){return V.subscribe(new U(z,this.project,this.concurrent))}}class U extends J.Ds{constructor(z,V,F=Number.POSITIVE_INFINITY){super(z),this.project=V,this.concurrent=F,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}_next(z){this.active<this.concurrent?this._tryNext(z):this.buffer.push(z)}_tryNext(z){let V;const F=this.index++;try{V=this.project(z,F)}catch(ae){return void this.destination.error(ae)}this.active++,this._innerSub(V)}_innerSub(z){const V=new J.IY(this),F=this.destination;F.add(V);const ae=(0,J.ft)(z,V);ae!==V&&F.add(ae)}_complete(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&this.destination.complete(),this.unsubscribe()}notifyNext(z){this.destination.next(z)}notifyComplete(){const z=this.buffer;this.active--,z.length>0?this._next(z.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}},2536:(Ge,he,M)=>{M.d(he,{O:()=>_});var g=M(1762);function _(ie,B){return function(Q){let q;if(q="function"==typeof ie?ie:function(){return ie},"function"==typeof B)return Q.lift(new J(q,B));const z=Object.create(Q,g.N);return z.source=Q,z.subjectFactory=q,z}}class J{constructor(B,U){this.subjectFactory=B,this.selector=U}call(B,U){const{selector:Q}=this,q=this.subjectFactory(),z=Q(q).subscribe(B);return z.add(U.subscribe(q)),z}}},4327:(Ge,he,M)=>{M.d(he,{x:()=>_});var g=M(3489);function _(){return function(U){return U.lift(new J(U))}}class J{constructor(U){this.connectable=U}call(U,Q){const{connectable:q}=this;q._refCount++;const z=new ie(U,q),V=Q.subscribe(z);return z.closed||(z.connection=q.connect()),V}}class ie extends g.L{constructor(U,Q){super(U),this.connectable=Q}_unsubscribe(){const{connectable:U}=this;if(!U)return void(this.connection=null);this.connectable=null;const Q=U._refCount;if(Q<=0)return void(this.connection=null);if(U._refCount=Q-1,Q>1)return void(this.connection=null);const{connection:q}=this,z=U._connection;this.connection=null,z&&(!q||z===q)&&z.unsubscribe()}}},1059:(Ge,he,M)=>{M.d(he,{O:()=>J});var g=M(1221),_=M(2866);function J(...ie){const B=ie[ie.length-1];return(0,_.K)(B)?(ie.pop(),U=>(0,g.z)(ie,U,B)):U=>(0,g.z)(ie,U)}},7545:(Ge,he,M)=>{M.d(he,{w:()=>ie});var g=M(4850),_=M(5254),J=M(1177);function ie(Q,q){return"function"==typeof q?z=>z.pipe(ie((V,F)=>(0,_.D)(Q(V,F)).pipe((0,g.U)((ae,fe)=>q(V,ae,F,fe))))):z=>z.lift(new B(Q))}class B{constructor(q){this.project=q}call(q,z){return z.subscribe(new U(q,this.project))}}class U extends J.Ds{constructor(q,z){super(q),this.project=z,this.index=0}_next(q){let z;const V=this.index++;try{z=this.project(q,V)}catch(F){return void this.destination.error(F)}this._innerSub(z)}_innerSub(q){const z=this.innerSubscription;z&&z.unsubscribe();const V=new J.IY(this),F=this.destination;F.add(V),this.innerSubscription=(0,J.ft)(q,V),this.innerSubscription!==V&&F.add(this.innerSubscription)}_complete(){const{innerSubscription:q}=this;(!q||q.closed)&&super._complete(),this.unsubscribe()}_unsubscribe(){this.innerSubscription=void 0}notifyComplete(){this.innerSubscription=void 0,this.isStopped&&super._complete()}notifyNext(q){this.destination.next(q)}}},2986:(Ge,he,M)=>{M.d(he,{q:()=>ie});var g=M(3489),_=M(4231),J=M(8896);function ie(Q){return q=>0===Q?(0,J.c)():q.lift(new B(Q))}class B{constructor(q){if(this.total=q,this.total<0)throw new _.W}call(q,z){return z.subscribe(new U(q,this.total))}}class U extends g.L{constructor(q,z){super(q),this.total=z,this.count=0}_next(q){const z=this.total,V=++this.count;V<=z&&(this.destination.next(q),V===z&&(this.destination.complete(),this.unsubscribe()))}}},2994:(Ge,he,M)=>{M.d(he,{b:()=>ie});var g=M(3489),_=M(7876),J=M(7043);function ie(Q,q,z){return function(F){return F.lift(new B(Q,q,z))}}class B{constructor(q,z,V){this.nextOrObserver=q,this.error=z,this.complete=V}call(q,z){return z.subscribe(new U(q,this.nextOrObserver,this.error,this.complete))}}class U extends g.L{constructor(q,z,V,F){super(q),this._tapNext=_.Z,this._tapError=_.Z,this._tapComplete=_.Z,this._tapError=V||_.Z,this._tapComplete=F||_.Z,(0,J.m)(z)?(this._context=this,this._tapNext=z):z&&(this._context=z,this._tapNext=z.next||_.Z,this._tapError=z.error||_.Z,this._tapComplete=z.complete||_.Z)}_next(q){try{this._tapNext.call(this._context,q)}catch(z){return void this.destination.error(z)}this.destination.next(q)}_error(q){try{this._tapError.call(this._context,q)}catch(z){return void this.destination.error(z)}this.destination.error(q)}_complete(){try{this._tapComplete.call(this._context)}catch(q){return void this.destination.error(q)}return this.destination.complete()}}},6454:(Ge,he,M)=>{M.d(he,{r:()=>J});var g=M(2916),_=M(2654);function J(ie,B){return new g.y(U=>{const Q=new _.w;let q=0;return Q.add(B.schedule(function(){q!==ie.length?(U.next(ie[q++]),U.closed||Q.add(this.schedule())):U.complete()})),Q})}},6686:(Ge,he,M)=>{M.d(he,{o:()=>J});var g=M(2654);class _ extends g.w{constructor(B,U){super()}schedule(B,U=0){return this}}class J extends _{constructor(B,U){super(B,U),this.scheduler=B,this.work=U,this.pending=!1}schedule(B,U=0){if(this.closed)return this;this.state=B;const Q=this.id,q=this.scheduler;return null!=Q&&(this.id=this.recycleAsyncId(q,Q,U)),this.pending=!0,this.delay=U,this.id=this.id||this.requestAsyncId(q,this.id,U),this}requestAsyncId(B,U,Q=0){return setInterval(B.flush.bind(B,this),Q)}recycleAsyncId(B,U,Q=0){if(null!==Q&&this.delay===Q&&!1===this.pending)return U;clearInterval(U)}execute(B,U){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const Q=this._execute(B,U);if(Q)return Q;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(B,U){let q,Q=!1;try{this.work(B)}catch(z){Q=!0,q=!!z&&z||new Error(z)}if(Q)return this.unsubscribe(),q}_unsubscribe(){const B=this.id,U=this.scheduler,Q=U.actions,q=Q.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==q&&Q.splice(q,1),null!=B&&(this.id=this.recycleAsyncId(U,B,null)),this.delay=null}}},2268:(Ge,he,M)=>{M.d(he,{v:()=>_});let g=(()=>{class J{constructor(B,U=J.now){this.SchedulerAction=B,this.now=U}schedule(B,U=0,Q){return new this.SchedulerAction(this,B).schedule(Q,U)}}return J.now=()=>Date.now(),J})();class _ extends g{constructor(ie,B=g.now){super(ie,()=>_.delegate&&_.delegate!==this?_.delegate.now():B()),this.actions=[],this.active=!1,this.scheduled=void 0}schedule(ie,B=0,U){return _.delegate&&_.delegate!==this?_.delegate.schedule(ie,B,U):super.schedule(ie,B,U)}flush(ie){const{actions:B}=this;if(this.active)return void B.push(ie);let U;this.active=!0;do{if(U=ie.execute(ie.state,ie.delay))break}while(ie=B.shift());if(this.active=!1,U){for(;ie=B.shift();)ie.unsubscribe();throw U}}}},353:(Ge,he,M)=>{M.d(he,{P:()=>ie});var g=M(6686);const ie=new(M(2268).v)(g.o)},5430:(Ge,he,M)=>{M.d(he,{hZ:()=>_});const _=function g(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},3821:(Ge,he,M)=>{M.d(he,{L:()=>g});const g="function"==typeof Symbol&&Symbol.observable||"@@observable"},7668:(Ge,he,M)=>{M.d(he,{b:()=>g});const g="function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random()},4231:(Ge,he,M)=>{M.d(he,{W:()=>_});const _=(()=>{function J(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}return J.prototype=Object.create(Error.prototype),J})()},5279:(Ge,he,M)=>{M.d(he,{N:()=>_});const _=(()=>{function J(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return J.prototype=Object.create(Error.prototype),J})()},2782:(Ge,he,M)=>{function g(_){setTimeout(()=>{throw _},0)}M.d(he,{z:()=>g})},5379:(Ge,he,M)=>{function g(_){return _}M.d(he,{y:()=>g})},6688:(Ge,he,M)=>{M.d(he,{k:()=>g});const g=Array.isArray||(_=>_&&"number"==typeof _.length)},8515:(Ge,he,M)=>{M.d(he,{z:()=>g});const g=_=>_&&"number"==typeof _.length&&"function"!=typeof _},2697:(Ge,he,M)=>{function g(_){return _ instanceof Date&&!isNaN(+_)}M.d(he,{J:()=>g})},7043:(Ge,he,M)=>{function g(_){return"function"==typeof _}M.d(he,{m:()=>g})},7830:(Ge,he,M)=>{function g(_){return null!==_&&"object"==typeof _}M.d(he,{K:()=>g})},8955:(Ge,he,M)=>{function g(_){return!!_&&"function"!=typeof _.subscribe&&"function"==typeof _.then}M.d(he,{t:()=>g})},2866:(Ge,he,M)=>{function g(_){return _&&"function"==typeof _.schedule}M.d(he,{K:()=>g})},7876:(Ge,he,M)=>{function g(){}M.d(he,{Z:()=>g})},9249:(Ge,he,M)=>{M.d(he,{s:()=>F});var g=M(3650),_=M(2782),ie=M(5430),U=M(3821),q=M(8515),z=M(8955),V=M(7830);const F=ae=>{if(ae&&"function"==typeof ae[U.L])return(ae=>fe=>{const Te=ae[U.L]();if("function"!=typeof Te.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return Te.subscribe(fe)})(ae);if((0,q.z)(ae))return(0,g.V)(ae);if((0,z.t)(ae))return(ae=>fe=>(ae.then(Te=>{fe.closed||(fe.next(Te),fe.complete())},Te=>fe.error(Te)).then(null,_.z),fe))(ae);if(ae&&"function"==typeof ae[ie.hZ])return(ae=>fe=>{const Te=ae[ie.hZ]();for(;;){let te;try{te=Te.next()}catch(ce){return fe.error(ce),fe}if(te.done){fe.complete();break}if(fe.next(te.value),fe.closed)break}return"function"==typeof Te.return&&fe.add(()=>{Te.return&&Te.return()}),fe})(ae);{const Te=`You provided ${(0,V.K)(ae)?"an invalid object":`'${ae}'`} where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.`;throw new TypeError(Te)}}},3650:(Ge,he,M)=>{M.d(he,{V:()=>g});const g=_=>J=>{for(let ie=0,B=_.length;ie<B&&!J.closed;ie++)J.next(_[ie]);J.complete()}},1777:(Ge,he,M)=>{M.d(he,{F4:()=>V,IO:()=>te,LC:()=>_,SB:()=>z,X$:()=>ie,ZE:()=>Ne,ZN:()=>be,_j:()=>g,eR:()=>F,jt:()=>B,k1:()=>Ae,l3:()=>J,oB:()=>q,pV:()=>fe,ru:()=>U,vP:()=>Q});class g{}class _{}const J="*";function ie(oe,pe){return{type:7,name:oe,definitions:pe,options:{}}}function B(oe,pe=null){return{type:4,styles:pe,timings:oe}}function U(oe,pe=null){return{type:3,steps:oe,options:pe}}function Q(oe,pe=null){return{type:2,steps:oe,options:pe}}function q(oe){return{type:6,styles:oe,offset:null}}function z(oe,pe,Ke){return{type:0,name:oe,styles:pe,options:Ke}}function V(oe){return{type:5,steps:oe}}function F(oe,pe,Ke=null){return{type:1,expr:oe,animation:pe,options:Ke}}function fe(oe=null){return{type:9,options:oe}}function te(oe,pe,Ke=null){return{type:11,selector:oe,animation:pe,options:Ke}}function Ce(oe){Promise.resolve(null).then(oe)}class be{constructor(pe=0,Ke=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=pe+Ke}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(pe=>pe()),this._onDoneFns=[])}onStart(pe){this._onStartFns.push(pe)}onDone(pe){this._onDoneFns.push(pe)}onDestroy(pe){this._onDestroyFns.push(pe)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){Ce(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(pe=>pe()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(pe=>pe()),this._onDestroyFns=[])}reset(){this._started=!1}setPosition(pe){this._position=this.totalTime?pe*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(pe){const Ke="start"==pe?this._onStartFns:this._onDoneFns;Ke.forEach(yt=>yt()),Ke.length=0}}class Ne{constructor(pe){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=pe;let Ke=0,yt=0,rt=0;const at=this.players.length;0==at?Ce(()=>this._onFinish()):this.players.forEach(ht=>{ht.onDone(()=>{++Ke==at&&this._onFinish()}),ht.onDestroy(()=>{++yt==at&&this._onDestroy()}),ht.onStart(()=>{++rt==at&&this._onStart()})}),this.totalTime=this.players.reduce((ht,St)=>Math.max(ht,St.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(pe=>pe()),this._onDoneFns=[])}init(){this.players.forEach(pe=>pe.init())}onStart(pe){this._onStartFns.push(pe)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(pe=>pe()),this._onStartFns=[])}onDone(pe){this._onDoneFns.push(pe)}onDestroy(pe){this._onDestroyFns.push(pe)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(pe=>pe.play())}pause(){this.players.forEach(pe=>pe.pause())}restart(){this.players.forEach(pe=>pe.restart())}finish(){this._onFinish(),this.players.forEach(pe=>pe.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(pe=>pe.destroy()),this._onDestroyFns.forEach(pe=>pe()),this._onDestroyFns=[])}reset(){this.players.forEach(pe=>pe.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(pe){const Ke=pe*this.totalTime;this.players.forEach(yt=>{const rt=yt.totalTime?Math.min(1,Ke/yt.totalTime):1;yt.setPosition(rt)})}getPosition(){const pe=this.players.reduce((Ke,yt)=>null===Ke||yt.totalTime>Ke.totalTime?yt:Ke,null);return null!=pe?pe.getPosition():0}beforeDestroy(){this.players.forEach(pe=>{pe.beforeDestroy&&pe.beforeDestroy()})}triggerCallback(pe){const Ke="start"==pe?this._onStartFns:this._onDoneFns;Ke.forEach(yt=>yt()),Ke.length=0}}const Ae="!"},9808:(Ge,he,M)=>{M.d(he,{$G:()=>nr,Do:()=>oe,ED:()=>Ar,EM:()=>Ws,HT:()=>B,JF:()=>Qs,JJ:()=>ds,K0:()=>Q,Mx:()=>Jt,NF:()=>Cr,Nd:()=>As,O5:()=>Dr,OU:()=>yn,Ov:()=>Lr,PC:()=>Er,RF:()=>zt,S$:()=>Ce,Ts:()=>Us,V_:()=>V,Ye:()=>pe,b0:()=>Ae,bD:()=>ps,ez:()=>fr,lw:()=>q,mk:()=>Mr,mr:()=>Ne,n9:()=>Rt,q:()=>J,sg:()=>An,tP:()=>Qr,uU:()=>Bs,w_:()=>U});var g=M(9863);let _=null;function J(){return _}function B(m){_||(_=m)}class U{}const Q=new g.OlP("DocumentToken");let q=(()=>{class m{historyGo(v){throw new Error("Not implemented")}}return m.\u0275fac=function(v){return new(v||m)},m.\u0275prov=g.Yz7({token:m,factory:function(){return function z(){return(0,g.LFG)(F)}()},providedIn:"platform"}),m})();const V=new g.OlP("Location Initialized");let F=(()=>{class m extends q{constructor(v){super(),this._doc=v,this._init()}_init(){this.location=window.location,this._history=window.history}getBaseHrefFromDOM(){return J().getBaseHref(this._doc)}onPopState(v){const S=J().getGlobalEventTarget(this._doc,"window");return S.addEventListener("popstate",v,!1),()=>S.removeEventListener("popstate",v)}onHashChange(v){const S=J().getGlobalEventTarget(this._doc,"window");return S.addEventListener("hashchange",v,!1),()=>S.removeEventListener("hashchange",v)}get href(){return this.location.href}get protocol(){return this.location.protocol}get hostname(){return this.location.hostname}get port(){return this.location.port}get pathname(){return this.location.pathname}get search(){return this.location.search}get hash(){return this.location.hash}set pathname(v){this.location.pathname=v}pushState(v,S,H){ae()?this._history.pushState(v,S,H):this.location.hash=H}replaceState(v,S,H){ae()?this._history.replaceState(v,S,H):this.location.hash=H}forward(){this._history.forward()}back(){this._history.back()}historyGo(v=0){this._history.go(v)}getState(){return this._history.state}}return m.\u0275fac=function(v){return new(v||m)(g.LFG(Q))},m.\u0275prov=g.Yz7({token:m,factory:function(){return function fe(){return new F((0,g.LFG)(Q))}()},providedIn:"platform"}),m})();function ae(){return!!window.history.pushState}function Te(m,T){if(0==m.length)return T;if(0==T.length)return m;let v=0;return m.endsWith("/")&&v++,T.startsWith("/")&&v++,2==v?m+T.substring(1):1==v?m+T:m+"/"+T}function te(m){const T=m.match(/#|\?|$/),v=T&&T.index||m.length;return m.slice(0,v-("/"===m[v-1]?1:0))+m.slice(v)}function ce(m){return m&&"?"!==m[0]?"?"+m:m}let Ce=(()=>{class m{historyGo(v){throw new Error("Not implemented")}}return m.\u0275fac=function(v){return new(v||m)},m.\u0275prov=g.Yz7({token:m,factory:function(){return function be(m){const T=(0,g.LFG)(Q).location;return new Ae((0,g.LFG)(q),T&&T.origin||"")}()},providedIn:"root"}),m})();const Ne=new g.OlP("appBaseHref");let Ae=(()=>{class m extends Ce{constructor(v,S){if(super(),this._platformLocation=v,this._removeListenerFns=[],null==S&&(S=this._platformLocation.getBaseHrefFromDOM()),null==S)throw new Error("No base href set. Please provide a value for the APP_BASE_HREF token or add a base element to the document.");this._baseHref=S}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(v){this._removeListenerFns.push(this._platformLocation.onPopState(v),this._platformLocation.onHashChange(v))}getBaseHref(){return this._baseHref}prepareExternalUrl(v){return Te(this._baseHref,v)}path(v=!1){const S=this._platformLocation.pathname+ce(this._platformLocation.search),H=this._platformLocation.hash;return H&&v?`${S}${H}`:S}pushState(v,S,H,ge){const Ie=this.prepareExternalUrl(H+ce(ge));this._platformLocation.pushState(v,S,Ie)}replaceState(v,S,H,ge){const Ie=this.prepareExternalUrl(H+ce(ge));this._platformLocation.replaceState(v,S,Ie)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(v=0){var S,H;null===(H=(S=this._platformLocation).historyGo)||void 0===H||H.call(S,v)}}return m.\u0275fac=function(v){return new(v||m)(g.LFG(q),g.LFG(Ne,8))},m.\u0275prov=g.Yz7({token:m,factory:m.\u0275fac}),m})(),oe=(()=>{class m extends Ce{constructor(v,S){super(),this._platformLocation=v,this._baseHref="",this._removeListenerFns=[],null!=S&&(this._baseHref=S)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(v){this._removeListenerFns.push(this._platformLocation.onPopState(v),this._platformLocation.onHashChange(v))}getBaseHref(){return this._baseHref}path(v=!1){let S=this._platformLocation.hash;return null==S&&(S="#"),S.length>0?S.substring(1):S}prepareExternalUrl(v){const S=Te(this._baseHref,v);return S.length>0?"#"+S:S}pushState(v,S,H,ge){let Ie=this.prepareExternalUrl(H+ce(ge));0==Ie.length&&(Ie=this._platformLocation.pathname),this._platformLocation.pushState(v,S,Ie)}replaceState(v,S,H,ge){let Ie=this.prepareExternalUrl(H+ce(ge));0==Ie.length&&(Ie=this._platformLocation.pathname),this._platformLocation.replaceState(v,S,Ie)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(v=0){var S,H;null===(H=(S=this._platformLocation).historyGo)||void 0===H||H.call(S,v)}}return m.\u0275fac=function(v){return new(v||m)(g.LFG(q),g.LFG(Ne,8))},m.\u0275prov=g.Yz7({token:m,factory:m.\u0275fac}),m})(),pe=(()=>{class m{constructor(v,S){this._subject=new g.vpe,this._urlChangeListeners=[],this._platformStrategy=v;const H=this._platformStrategy.getBaseHref();this._platformLocation=S,this._baseHref=te(rt(H)),this._platformStrategy.onPopState(ge=>{this._subject.emit({url:this.path(!0),pop:!0,state:ge.state,type:ge.type})})}path(v=!1){return this.normalize(this._platformStrategy.path(v))}getState(){return this._platformLocation.getState()}isCurrentPathEqualTo(v,S=""){return this.path()==this.normalize(v+ce(S))}normalize(v){return m.stripTrailingSlash(function yt(m,T){return m&&T.startsWith(m)?T.substring(m.length):T}(this._baseHref,rt(v)))}prepareExternalUrl(v){return v&&"/"!==v[0]&&(v="/"+v),this._platformStrategy.prepareExternalUrl(v)}go(v,S="",H=null){this._platformStrategy.pushState(H,"",v,S),this._notifyUrlChangeListeners(this.prepareExternalUrl(v+ce(S)),H)}replaceState(v,S="",H=null){this._platformStrategy.replaceState(H,"",v,S),this._notifyUrlChangeListeners(this.prepareExternalUrl(v+ce(S)),H)}forward(){this._platformStrategy.forward()}back(){this._platformStrategy.back()}historyGo(v=0){var S,H;null===(H=(S=this._platformStrategy).historyGo)||void 0===H||H.call(S,v)}onUrlChange(v){this._urlChangeListeners.push(v),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(S=>{this._notifyUrlChangeListeners(S.url,S.state)}))}_notifyUrlChangeListeners(v="",S){this._urlChangeListeners.forEach(H=>H(v,S))}subscribe(v,S,H){return this._subject.subscribe({next:v,error:S,complete:H})}}return m.normalizeQueryParams=ce,m.joinWithSlash=Te,m.stripTrailingSlash=te,m.\u0275fac=function(v){return new(v||m)(g.LFG(Ce),g.LFG(q))},m.\u0275prov=g.Yz7({token:m,factory:function(){return function Ke(){return new pe((0,g.LFG)(Ce),(0,g.LFG)(q))}()},providedIn:"root"}),m})();function rt(m){return m.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))(),St=(()=>((St=St||{})[St.Zero=0]="Zero",St[St.One=1]="One",St[St.Two=2]="Two",St[St.Few=3]="Few",St[St.Many=4]="Many",St[St.Other=5]="Other",St))(),Mt=(()=>((Mt=Mt||{})[Mt.Format=0]="Format",Mt[Mt.Standalone=1]="Standalone",Mt))(),ft=(()=>((ft=ft||{})[ft.Narrow=0]="Narrow",ft[ft.Abbreviated=1]="Abbreviated",ft[ft.Wide=2]="Wide",ft[ft.Short=3]="Short",ft))(),lt=(()=>((lt=lt||{})[lt.Short=0]="Short",lt[lt.Medium=1]="Medium",lt[lt.Long=2]="Long",lt[lt.Full=3]="Full",lt))(),Ve=(()=>((Ve=Ve||{})[Ve.Decimal=0]="Decimal",Ve[Ve.Group=1]="Group",Ve[Ve.List=2]="List",Ve[Ve.PercentSign=3]="PercentSign",Ve[Ve.PlusSign=4]="PlusSign",Ve[Ve.MinusSign=5]="MinusSign",Ve[Ve.Exponential=6]="Exponential",Ve[Ve.SuperscriptingExponent=7]="SuperscriptingExponent",Ve[Ve.PerMille=8]="PerMille",Ve[Ve.Infinity=9]="Infinity",Ve[Ve.NaN=10]="NaN",Ve[Ve.TimeSeparator=11]="TimeSeparator",Ve[Ve.CurrencyDecimal=12]="CurrencyDecimal",Ve[Ve.CurrencyGroup=13]="CurrencyGroup",Ve))();function we(m,T){return Vt((0,g.cg1)(m)[g.wAp.DateFormat],T)}function X(m,T){return Vt((0,g.cg1)(m)[g.wAp.TimeFormat],T)}function ue(m,T){return Vt((0,g.cg1)(m)[g.wAp.DateTimeFormat],T)}function Fe(m,T){const v=(0,g.cg1)(m),S=v[g.wAp.NumberSymbols][T];if(void 0===S){if(T===Ve.CurrencyDecimal)return v[g.wAp.NumberSymbols][Ve.Decimal];if(T===Ve.CurrencyGroup)return v[g.wAp.NumberSymbols][Ve.Group]}return S}const rn=g.kL8;function Vn(m){if(!m[g.wAp.ExtraData])throw new Error(`Missing extra locale data for the locale "${m[g.wAp.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function Vt(m,T){for(let v=T;v>-1;v--)if(void 0!==m[v])return m[v];throw new Error("Locale data API: locale data undefined")}function lr(m){const[T,v]=m.split(":");return{hours:+T,minutes:+v}}const K=/^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,Ee={},le=/((?:[^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 ke=(()=>((ke=ke||{})[ke.Short=0]="Short",ke[ke.ShortGMT=1]="ShortGMT",ke[ke.Long=2]="Long",ke[ke.Extended=3]="Extended",ke))(),Oe=(()=>((Oe=Oe||{})[Oe.FullYear=0]="FullYear",Oe[Oe.Month=1]="Month",Oe[Oe.Date=2]="Date",Oe[Oe.Hours=3]="Hours",Oe[Oe.Minutes=4]="Minutes",Oe[Oe.Seconds=5]="Seconds",Oe[Oe.FractionalSeconds=6]="FractionalSeconds",Oe[Oe.Day=7]="Day",Oe))(),ze=(()=>((ze=ze||{})[ze.DayPeriods=0]="DayPeriods",ze[ze.Days=1]="Days",ze[ze.Months=2]="Months",ze[ze.Eras=3]="Eras",ze))();function ut(m,T,v,S){let H=function L(m){if(ne(m))return m;if("number"==typeof m&&!isNaN(m))return new Date(m);if("string"==typeof m){if(m=m.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(m)){const[H,ge=1,Ie=1]=m.split("-").map(He=>+He);return bt(H,ge-1,Ie)}const v=parseFloat(m);if(!isNaN(m-v))return new Date(v);let S;if(S=m.match(K))return function x(m){const T=new Date(0);let v=0,S=0;const H=m[8]?T.setUTCFullYear:T.setFullYear,ge=m[8]?T.setUTCHours:T.setHours;m[9]&&(v=Number(m[9]+m[10]),S=Number(m[9]+m[11])),H.call(T,Number(m[1]),Number(m[2])-1,Number(m[3]));const Ie=Number(m[4]||0)-v,He=Number(m[5]||0)-S,jt=Number(m[6]||0),Lt=Math.floor(1e3*parseFloat("0."+(m[7]||0)));return ge.call(T,Ie,He,jt,Lt),T}(S)}const T=new Date(m);if(!ne(T))throw new Error(`Unable to convert "${m}" into a date`);return T}(m);T=qt(v,T)||T;let He,Ie=[];for(;T;){if(He=le.exec(T),!He){Ie.push(T);break}{Ie=Ie.concat(He.slice(1));const Nt=Ie.pop();if(!Nt)break;T=Nt}}let jt=H.getTimezoneOffset();S&&(jt=vr(S,jt),H=function se(m,T,v){const S=v?-1:1,H=m.getTimezoneOffset();return function cr(m,T){return(m=new Date(m.getTime())).setMinutes(m.getMinutes()+T),m}(m,S*(vr(T,H)-H))}(H,S,!0));let Lt="";return Ie.forEach(Nt=>{const ct=function Gn(m){if(zn[m])return zn[m];let T;switch(m){case"G":case"GG":case"GGG":T=Ot(ze.Eras,ft.Abbreviated);break;case"GGGG":T=Ot(ze.Eras,ft.Wide);break;case"GGGGG":T=Ot(ze.Eras,ft.Narrow);break;case"y":T=Ue(Oe.FullYear,1,0,!1,!0);break;case"yy":T=Ue(Oe.FullYear,2,0,!0,!0);break;case"yyy":T=Ue(Oe.FullYear,3,0,!1,!0);break;case"yyyy":T=Ue(Oe.FullYear,4,0,!1,!0);break;case"Y":T=Sn(1);break;case"YY":T=Sn(2,!0);break;case"YYY":T=Sn(3);break;case"YYYY":T=Sn(4);break;case"M":case"L":T=Ue(Oe.Month,1,1);break;case"MM":case"LL":T=Ue(Oe.Month,2,1);break;case"MMM":T=Ot(ze.Months,ft.Abbreviated);break;case"MMMM":T=Ot(ze.Months,ft.Wide);break;case"MMMMM":T=Ot(ze.Months,ft.Narrow);break;case"LLL":T=Ot(ze.Months,ft.Abbreviated,Mt.Standalone);break;case"LLLL":T=Ot(ze.Months,ft.Wide,Mt.Standalone);break;case"LLLLL":T=Ot(ze.Months,ft.Narrow,Mt.Standalone);break;case"w":T=en(1);break;case"ww":T=en(2);break;case"W":T=en(1,!0);break;case"d":T=Ue(Oe.Date,1);break;case"dd":T=Ue(Oe.Date,2);break;case"c":case"cc":T=Ue(Oe.Day,1);break;case"ccc":T=Ot(ze.Days,ft.Abbreviated,Mt.Standalone);break;case"cccc":T=Ot(ze.Days,ft.Wide,Mt.Standalone);break;case"ccccc":T=Ot(ze.Days,ft.Narrow,Mt.Standalone);break;case"cccccc":T=Ot(ze.Days,ft.Short,Mt.Standalone);break;case"E":case"EE":case"EEE":T=Ot(ze.Days,ft.Abbreviated);break;case"EEEE":T=Ot(ze.Days,ft.Wide);break;case"EEEEE":T=Ot(ze.Days,ft.Narrow);break;case"EEEEEE":T=Ot(ze.Days,ft.Short);break;case"a":case"aa":case"aaa":T=Ot(ze.DayPeriods,ft.Abbreviated);break;case"aaaa":T=Ot(ze.DayPeriods,ft.Wide);break;case"aaaaa":T=Ot(ze.DayPeriods,ft.Narrow);break;case"b":case"bb":case"bbb":T=Ot(ze.DayPeriods,ft.Abbreviated,Mt.Standalone,!0);break;case"bbbb":T=Ot(ze.DayPeriods,ft.Wide,Mt.Standalone,!0);break;case"bbbbb":T=Ot(ze.DayPeriods,ft.Narrow,Mt.Standalone,!0);break;case"B":case"BB":case"BBB":T=Ot(ze.DayPeriods,ft.Abbreviated,Mt.Format,!0);break;case"BBBB":T=Ot(ze.DayPeriods,ft.Wide,Mt.Format,!0);break;case"BBBBB":T=Ot(ze.DayPeriods,ft.Narrow,Mt.Format,!0);break;case"h":T=Ue(Oe.Hours,1,-12);break;case"hh":T=Ue(Oe.Hours,2,-12);break;case"H":T=Ue(Oe.Hours,1);break;case"HH":T=Ue(Oe.Hours,2);break;case"m":T=Ue(Oe.Minutes,1);break;case"mm":T=Ue(Oe.Minutes,2);break;case"s":T=Ue(Oe.Seconds,1);break;case"ss":T=Ue(Oe.Seconds,2);break;case"S":T=Ue(Oe.FractionalSeconds,1);break;case"SS":T=Ue(Oe.FractionalSeconds,2);break;case"SSS":T=Ue(Oe.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":T=st(ke.Short);break;case"ZZZZZ":T=st(ke.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":T=st(ke.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":T=st(ke.Long);break;default:return null}return zn[m]=T,T}(Nt);Lt+=ct?ct(H,v,jt):"''"===Nt?"'":Nt.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),Lt}function bt(m,T,v){const S=new Date(0);return S.setFullYear(m,T,v),S.setHours(0,0,0),S}function qt(m,T){const v=function Pt(m){return(0,g.cg1)(m)[g.wAp.LocaleId]}(m);if(Ee[v]=Ee[v]||{},Ee[v][T])return Ee[v][T];let S="";switch(T){case"shortDate":S=we(m,lt.Short);break;case"mediumDate":S=we(m,lt.Medium);break;case"longDate":S=we(m,lt.Long);break;case"fullDate":S=we(m,lt.Full);break;case"shortTime":S=X(m,lt.Short);break;case"mediumTime":S=X(m,lt.Medium);break;case"longTime":S=X(m,lt.Long);break;case"fullTime":S=X(m,lt.Full);break;case"short":const H=qt(m,"shortTime"),ge=qt(m,"shortDate");S=sn(ue(m,lt.Short),[H,ge]);break;case"medium":const Ie=qt(m,"mediumTime"),He=qt(m,"mediumDate");S=sn(ue(m,lt.Medium),[Ie,He]);break;case"long":const jt=qt(m,"longTime"),Lt=qt(m,"longDate");S=sn(ue(m,lt.Long),[jt,Lt]);break;case"full":const Nt=qt(m,"fullTime"),ct=qt(m,"fullDate");S=sn(ue(m,lt.Full),[Nt,ct])}return S&&(Ee[v][T]=S),S}function sn(m,T){return T&&(m=m.replace(/\{([^}]+)}/g,function(v,S){return null!=T&&S in T?T[S]:v})),m}function It(m,T,v="-",S,H){let ge="";(m<0||H&&m<=0)&&(H?m=1-m:(m=-m,ge=v));let Ie=String(m);for(;Ie.length<T;)Ie="0"+Ie;return S&&(Ie=Ie.substr(Ie.length-T)),ge+Ie}function Ue(m,T,v=0,S=!1,H=!1){return function(ge,Ie){let He=function Nn(m,T){switch(m){case Oe.FullYear:return T.getFullYear();case Oe.Month:return T.getMonth();case Oe.Date:return T.getDate();case Oe.Hours:return T.getHours();case Oe.Minutes:return T.getMinutes();case Oe.Seconds:return T.getSeconds();case Oe.FractionalSeconds:return T.getMilliseconds();case Oe.Day:return T.getDay();default:throw new Error(`Unknown DateType value "${m}".`)}}(m,ge);if((v>0||He>-v)&&(He+=v),m===Oe.Hours)0===He&&-12===v&&(He=12);else if(m===Oe.FractionalSeconds)return function Ct(m,T){return It(m,3).substr(0,T)}(He,T);const jt=Fe(Ie,Ve.MinusSign);return It(He,T,jt,S,H)}}function Ot(m,T,v=Mt.Format,S=!1){return function(H,ge){return function vt(m,T,v,S,H,ge){switch(v){case ze.Months:return function Cn(m,T,v){const S=(0,g.cg1)(m),ge=Vt([S[g.wAp.MonthsFormat],S[g.wAp.MonthsStandalone]],T);return Vt(ge,v)}(T,H,S)[m.getMonth()];case ze.Days:return function dn(m,T,v){const S=(0,g.cg1)(m),ge=Vt([S[g.wAp.DaysFormat],S[g.wAp.DaysStandalone]],T);return Vt(ge,v)}(T,H,S)[m.getDay()];case ze.DayPeriods:const Ie=m.getHours(),He=m.getMinutes();if(ge){const Lt=function Xn(m){const T=(0,g.cg1)(m);return Vn(T),(T[g.wAp.ExtraData][2]||[]).map(S=>"string"==typeof S?lr(S):[lr(S[0]),lr(S[1])])}(T),Nt=function $n(m,T,v){const S=(0,g.cg1)(m);Vn(S);const ge=Vt([S[g.wAp.ExtraData][0],S[g.wAp.ExtraData][1]],T)||[];return Vt(ge,v)||[]}(T,H,S),ct=Lt.findIndex(Kt=>{if(Array.isArray(Kt)){const[Ht,un]=Kt,On=Ie>=Ht.hours&&He>=Ht.minutes,br=Ie<un.hours||Ie===un.hours&&He<un.minutes;if(Ht.hours<un.hours){if(On&&br)return!0}else if(On||br)return!0}else if(Kt.hours===Ie&&Kt.minutes===He)return!0;return!1});if(-1!==ct)return Nt[ct]}return function cn(m,T,v){const S=(0,g.cg1)(m),ge=Vt([S[g.wAp.DayPeriodsFormat],S[g.wAp.DayPeriodsStandalone]],T);return Vt(ge,v)}(T,H,S)[Ie<12?0:1];case ze.Eras:return function bn(m,T){return Vt((0,g.cg1)(m)[g.wAp.Eras],T)}(T,S)[m.getFullYear()<=0?0:1];default:throw new Error(`unexpected translation type ${v}`)}}(H,ge,m,T,v,S)}}function st(m){return function(T,v,S){const H=-1*S,ge=Fe(v,Ve.MinusSign),Ie=H>0?Math.floor(H/60):Math.ceil(H/60);switch(m){case ke.Short:return(H>=0?"+":"")+It(Ie,2,ge)+It(Math.abs(H%60),2,ge);case ke.ShortGMT:return"GMT"+(H>=0?"+":"")+It(Ie,1,ge);case ke.Long:return"GMT"+(H>=0?"+":"")+It(Ie,2,ge)+":"+It(Math.abs(H%60),2,ge);case ke.Extended:return 0===S?"Z":(H>=0?"+":"")+It(Ie,2,ge)+":"+It(Math.abs(H%60),2,ge);default:throw new Error(`Unknown zone width "${m}"`)}}}function tr(m){return bt(m.getFullYear(),m.getMonth(),m.getDate()+(4-m.getDay()))}function en(m,T=!1){return function(v,S){let H;if(T){const ge=new Date(v.getFullYear(),v.getMonth(),1).getDay()-1,Ie=v.getDate();H=1+Math.floor((Ie+ge)/7)}else{const ge=tr(v),Ie=function er(m){const T=bt(m,0,1).getDay();return bt(m,0,1+(T<=4?4:11)-T)}(ge.getFullYear()),He=ge.getTime()-Ie.getTime();H=1+Math.round(He/6048e5)}return It(H,m,Fe(S,Ve.MinusSign))}}function Sn(m,T=!1){return function(v,S){return It(tr(v).getFullYear(),m,Fe(S,Ve.MinusSign),T)}}const zn={};function vr(m,T){m=m.replace(/:/g,"");const v=Date.parse("Jan 01, 1970 00:00:00 "+m)/6e4;return isNaN(v)?T:v}function ne(m){return m instanceof Date&&!isNaN(m.valueOf())}const Se=/^(\d+)?\.((\d+)(-(\d+))?)?$/,Z=".",R="0";function kt(m){const T=parseInt(m);if(isNaN(T))throw new Error("Invalid integer literal when parsing "+m);return T}class mn{}let ln=(()=>{class m extends mn{constructor(v){super(),this.locale=v}getPluralCategory(v,S){switch(rn(S||this.locale)(v)){case St.Zero:return"zero";case St.One:return"one";case St.Two:return"two";case St.Few:return"few";case St.Many:return"many";default:return"other"}}}return m.\u0275fac=function(v){return new(v||m)(g.LFG(g.soG))},m.\u0275prov=g.Yz7({token:m,factory:m.\u0275fac}),m})();function Jt(m,T){T=encodeURIComponent(T);for(const v of m.split(";")){const S=v.indexOf("="),[H,ge]=-1==S?[v,""]:[v.slice(0,S),v.slice(S+1)];if(H.trim()===T)return decodeURIComponent(ge)}return null}let Mr=(()=>{class m{constructor(v,S,H,ge){this._iterableDiffers=v,this._keyValueDiffers=S,this._ngEl=H,this._renderer=ge,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}set klass(v){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof v?v.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}set ngClass(v){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof v?v.split(/\s+/):v,this._rawClass&&((0,g.sIi)(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}ngDoCheck(){if(this._iterableDiffer){const v=this._iterableDiffer.diff(this._rawClass);v&&this._applyIterableChanges(v)}else if(this._keyValueDiffer){const v=this._keyValueDiffer.diff(this._rawClass);v&&this._applyKeyValueChanges(v)}}_applyKeyValueChanges(v){v.forEachAddedItem(S=>this._toggleClass(S.key,S.currentValue)),v.forEachChangedItem(S=>this._toggleClass(S.key,S.currentValue)),v.forEachRemovedItem(S=>{S.previousValue&&this._toggleClass(S.key,!1)})}_applyIterableChanges(v){v.forEachAddedItem(S=>{if("string"!=typeof S.item)throw new Error(`NgClass can only toggle CSS classes expressed as strings, got ${(0,g.AaK)(S.item)}`);this._toggleClass(S.item,!0)}),v.forEachRemovedItem(S=>this._toggleClass(S.item,!1))}_applyClasses(v){v&&(Array.isArray(v)||v instanceof Set?v.forEach(S=>this._toggleClass(S,!0)):Object.keys(v).forEach(S=>this._toggleClass(S,!!v[S])))}_removeClasses(v){v&&(Array.isArray(v)||v instanceof Set?v.forEach(S=>this._toggleClass(S,!1)):Object.keys(v).forEach(S=>this._toggleClass(S,!1)))}_toggleClass(v,S){(v=v.trim())&&v.split(/\s+/g).forEach(H=>{S?this._renderer.addClass(this._ngEl.nativeElement,H):this._renderer.removeClass(this._ngEl.nativeElement,H)})}}return m.\u0275fac=function(v){return new(v||m)(g.Y36(g.ZZ4),g.Y36(g.aQg),g.Y36(g.SBq),g.Y36(g.Qsj))},m.\u0275dir=g.lG2({type:m,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"}}),m})(),nr=(()=>{class m{constructor(v){this._viewContainerRef=v,this._componentRef=null,this._moduleRef=null}ngOnChanges(v){if(this._viewContainerRef.clear(),this._componentRef=null,this.ngComponentOutlet){const S=this.ngComponentOutletInjector||this._viewContainerRef.parentInjector;if(v.ngComponentOutletNgModuleFactory)if(this._moduleRef&&this._moduleRef.destroy(),this.ngComponentOutletNgModuleFactory){const Ie=S.get(g.h0i);this._moduleRef=this.ngComponentOutletNgModuleFactory.create(Ie.injector)}else this._moduleRef=null;const ge=(this._moduleRef?this._moduleRef.componentFactoryResolver:S.get(g._Vd)).resolveComponentFactory(this.ngComponentOutlet);this._componentRef=this._viewContainerRef.createComponent(ge,this._viewContainerRef.length,S,this.ngComponentOutletContent)}}ngOnDestroy(){this._moduleRef&&this._moduleRef.destroy()}}return m.\u0275fac=function(v){return new(v||m)(g.Y36(g.s_b))},m.\u0275dir=g.lG2({type:m,selectors:[["","ngComponentOutlet",""]],inputs:{ngComponentOutlet:"ngComponentOutlet",ngComponentOutletInjector:"ngComponentOutletInjector",ngComponentOutletContent:"ngComponentOutletContent",ngComponentOutletNgModuleFactory:"ngComponentOutletNgModuleFactory"},features:[g.TTD]}),m})();class pt{constructor(T,v,S,H){this.$implicit=T,this.ngForOf=v,this.index=S,this.count=H}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let An=(()=>{class m{constructor(v,S,H){this._viewContainer=v,this._template=S,this._differs=H,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForOf(v){this._ngForOf=v,this._ngForOfDirty=!0}set ngForTrackBy(v){this._trackByFn=v}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(v){v&&(this._template=v)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const v=this._ngForOf;if(!this._differ&&v)try{this._differ=this._differs.find(v).create(this.ngForTrackBy)}catch(S){throw new Error(`Cannot find a differ supporting object '${v}' of type '${function us(m){return m.name||typeof m}(v)}'. NgFor only supports binding to Iterables such as Arrays.`)}}if(this._differ){const v=this._differ.diff(this._ngForOf);v&&this._applyChanges(v)}}_applyChanges(v){const S=[];v.forEachOperation((H,ge,Ie)=>{if(null==H.previousIndex){const He=this._viewContainer.createEmbeddedView(this._template,new pt(null,this._ngForOf,-1,-1),null===Ie?void 0:Ie),jt=new kn(H,He);S.push(jt)}else if(null==Ie)this._viewContainer.remove(null===ge?void 0:ge);else if(null!==ge){const He=this._viewContainer.get(ge);this._viewContainer.move(He,Ie);const jt=new kn(H,He);S.push(jt)}});for(let H=0;H<S.length;H++)this._perViewChange(S[H].view,S[H].record);for(let H=0,ge=this._viewContainer.length;H<ge;H++){const Ie=this._viewContainer.get(H);Ie.context.index=H,Ie.context.count=ge,Ie.context.ngForOf=this._ngForOf}v.forEachIdentityChange(H=>{this._viewContainer.get(H.currentIndex).context.$implicit=H.item})}_perViewChange(v,S){v.context.$implicit=S.item}static ngTemplateContextGuard(v,S){return!0}}return m.\u0275fac=function(v){return new(v||m)(g.Y36(g.s_b),g.Y36(g.Rgc),g.Y36(g.ZZ4))},m.\u0275dir=g.lG2({type:m,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}}),m})();class kn{constructor(T,v){this.record=T,this.view=v}}let Dr=(()=>{class m{constructor(v,S){this._viewContainer=v,this._context=new In,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=S}set ngIf(v){this._context.$implicit=this._context.ngIf=v,this._updateView()}set ngIfThen(v){Ln("ngIfThen",v),this._thenTemplateRef=v,this._thenViewRef=null,this._updateView()}set ngIfElse(v){Ln("ngIfElse",v),this._elseTemplateRef=v,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(v,S){return!0}}return m.\u0275fac=function(v){return new(v||m)(g.Y36(g.s_b),g.Y36(g.Rgc))},m.\u0275dir=g.lG2({type:m,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}}),m})();class In{constructor(){this.$implicit=null,this.ngIf=null}}function Ln(m,T){if(T&&!T.createEmbeddedView)throw new Error(`${m} must be a TemplateRef, but received '${(0,g.AaK)(T)}'.`)}class hr{constructor(T,v){this._viewContainerRef=T,this._templateRef=v,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(T){T&&!this._created?this.create():!T&&this._created&&this.destroy()}}let zt=(()=>{class m{constructor(){this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(v){this._ngSwitch=v,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(v){this._defaultViews||(this._defaultViews=[]),this._defaultViews.push(v)}_matchCase(v){const S=v==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||S,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),S}_updateDefaultCases(v){if(this._defaultViews&&v!==this._defaultUsed){this._defaultUsed=v;for(let S=0;S<this._defaultViews.length;S++)this._defaultViews[S].enforceState(v)}}}return m.\u0275fac=function(v){return new(v||m)},m.\u0275dir=g.lG2({type:m,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"}}),m})(),Rt=(()=>{class m{constructor(v,S,H){this.ngSwitch=H,H._addCase(),this._view=new hr(v,S)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}return m.\u0275fac=function(v){return new(v||m)(g.Y36(g.s_b),g.Y36(g.Rgc),g.Y36(zt,9))},m.\u0275dir=g.lG2({type:m,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"}}),m})(),Ar=(()=>{class m{constructor(v,S,H){H._addDefault(new hr(v,S))}}return m.\u0275fac=function(v){return new(v||m)(g.Y36(g.s_b),g.Y36(g.Rgc),g.Y36(zt,9))},m.\u0275dir=g.lG2({type:m,selectors:[["","ngSwitchDefault",""]]}),m})(),Er=(()=>{class m{constructor(v,S,H){this._ngEl=v,this._differs=S,this._renderer=H,this._ngStyle=null,this._differ=null}set ngStyle(v){this._ngStyle=v,!this._differ&&v&&(this._differ=this._differs.find(v).create())}ngDoCheck(){if(this._differ){const v=this._differ.diff(this._ngStyle);v&&this._applyChanges(v)}}_setStyle(v,S){const[H,ge]=v.split(".");null!=(S=null!=S&&ge?`${S}${ge}`:S)?this._renderer.setStyle(this._ngEl.nativeElement,H,S):this._renderer.removeStyle(this._ngEl.nativeElement,H)}_applyChanges(v){v.forEachRemovedItem(S=>this._setStyle(S.key,null)),v.forEachAddedItem(S=>this._setStyle(S.key,S.currentValue)),v.forEachChangedItem(S=>this._setStyle(S.key,S.currentValue))}}return m.\u0275fac=function(v){return new(v||m)(g.Y36(g.SBq),g.Y36(g.aQg),g.Y36(g.Qsj))},m.\u0275dir=g.lG2({type:m,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}}),m})(),Qr=(()=>{class m{constructor(v){this._viewContainerRef=v,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null}ngOnChanges(v){if(v.ngTemplateOutlet){const S=this._viewContainerRef;this._viewRef&&S.remove(S.indexOf(this._viewRef)),this._viewRef=this.ngTemplateOutlet?S.createEmbeddedView(this.ngTemplateOutlet,this.ngTemplateOutletContext):null}else this._viewRef&&v.ngTemplateOutletContext&&this.ngTemplateOutletContext&&(this._viewRef.context=this.ngTemplateOutletContext)}}return m.\u0275fac=function(v){return new(v||m)(g.Y36(g.s_b))},m.\u0275dir=g.lG2({type:m,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet"},features:[g.TTD]}),m})();function Wt(m,T){return Error(`InvalidPipeArgument: '${T}' for pipe '${(0,g.AaK)(m)}'`)}class ii{createSubscription(T,v){return T.subscribe({next:v,error:S=>{throw S}})}dispose(T){T.unsubscribe()}onDestroy(T){T.unsubscribe()}}class oi{createSubscription(T,v){return T.then(v,S=>{throw S})}dispose(T){}onDestroy(T){}}const qr=new oi,kr=new ii;let Lr=(()=>{class m{constructor(v){this._ref=v,this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null}ngOnDestroy(){this._subscription&&this._dispose()}transform(v){return this._obj?v!==this._obj?(this._dispose(),this.transform(v)):this._latestValue:(v&&this._subscribe(v),this._latestValue)}_subscribe(v){this._obj=v,this._strategy=this._selectStrategy(v),this._subscription=this._strategy.createSubscription(v,S=>this._updateLatestValue(v,S))}_selectStrategy(v){if((0,g.QGY)(v))return qr;if((0,g.F4k)(v))return kr;throw Wt(m,v)}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(v,S){v===this._obj&&(this._latestValue=S,this._ref.markForCheck())}}return m.\u0275fac=function(v){return new(v||m)(g.Y36(g.sBO,16))},m.\u0275pipe=g.Yjl({name:"async",type:m,pure:!1}),m})();const Di=new g.OlP("DATE_PIPE_DEFAULT_TIMEZONE");let Bs=(()=>{class m{constructor(v,S){this.locale=v,this.defaultTimezone=S}transform(v,S="mediumDate",H,ge){var Ie;if(null==v||""===v||v!=v)return null;try{return ut(v,S,ge||this.locale,null!==(Ie=null!=H?H:this.defaultTimezone)&&void 0!==Ie?Ie:void 0)}catch(He){throw Wt(m,He.message)}}}return m.\u0275fac=function(v){return new(v||m)(g.Y36(g.soG,16),g.Y36(Di,24))},m.\u0275pipe=g.Yjl({name:"date",type:m,pure:!0}),m})(),Us=(()=>{class m{transform(v){return JSON.stringify(v,null,2)}}return m.\u0275fac=function(v){return new(v||m)},m.\u0275pipe=g.Yjl({name:"json",type:m,pure:!1}),m})(),As=(()=>{class m{constructor(v){this.differs=v,this.keyValues=[],this.compareFn=Vs}transform(v,S=Vs){if(!v||!(v instanceof Map)&&"object"!=typeof v)return null;this.differ||(this.differ=this.differs.find(v).create());const H=this.differ.diff(v),ge=S!==this.compareFn;return H&&(this.keyValues=[],H.forEachItem(Ie=>{this.keyValues.push(function Hs(m,T){return{key:m,value:T}}(Ie.key,Ie.currentValue))})),(H||ge)&&(this.keyValues.sort(S),this.compareFn=S),this.keyValues}}return m.\u0275fac=function(v){return new(v||m)(g.Y36(g.aQg,16))},m.\u0275pipe=g.Yjl({name:"keyvalue",type:m,pure:!1}),m})();function Vs(m,T){const v=m.key,S=T.key;if(v===S)return 0;if(void 0===v)return 1;if(void 0===S)return-1;if(null===v)return 1;if(null===S)return-1;if("string"==typeof v&&"string"==typeof S)return v<S?-1:1;if("number"==typeof v&&"number"==typeof S)return v-S;if("boolean"==typeof v&&"boolean"==typeof S)return v<S?-1:1;const H=String(v),ge=String(S);return H==ge?0:H<ge?-1:1}let ds=(()=>{class m{constructor(v){this._locale=v}transform(v,S,H){if(!function $s(m){return!(null==m||""===m||m!=m)}(v))return null;H=H||this._locale;try{return function pn(m,T,v){return function qn(m,T,v,S,H,ge,Ie=!1){let He="",jt=!1;if(isFinite(m)){let Lt=function Le(m){let S,H,ge,Ie,He,T=Math.abs(m)+"",v=0;for((H=T.indexOf(Z))>-1&&(T=T.replace(Z,"")),(ge=T.search(/e/i))>0?(H<0&&(H=ge),H+=+T.slice(ge+1),T=T.substring(0,ge)):H<0&&(H=T.length),ge=0;T.charAt(ge)===R;ge++);if(ge===(He=T.length))S=[0],H=1;else{for(He--;T.charAt(He)===R;)He--;for(H-=ge,S=[],Ie=0;ge<=He;ge++,Ie++)S[Ie]=Number(T.charAt(ge))}return H>22&&(S=S.splice(0,21),v=H-1,H=1),{digits:S,exponent:v,integerLen:H}}(m);Ie&&(Lt=function Mn(m){if(0===m.digits[0])return m;const T=m.digits.length-m.integerLen;return m.exponent?m.exponent+=2:(0===T?m.digits.push(0,0):1===T&&m.digits.push(0),m.integerLen+=2),m}(Lt));let Nt=T.minInt,ct=T.minFrac,Kt=T.maxFrac;if(ge){const tt=ge.match(Se);if(null===tt)throw new Error(`${ge} is not a valid digit info`);const li=tt[1],Os=tt[3],ys=tt[5];null!=li&&(Nt=kt(li)),null!=Os&&(ct=kt(Os)),null!=ys?Kt=kt(ys):null!=Os&&ct>Kt&&(Kt=ct)}!function Dt(m,T,v){if(T>v)throw new Error(`The minimum number of digits after fraction (${T}) is higher than the maximum (${v}).`);let S=m.digits,H=S.length-m.integerLen;const ge=Math.min(Math.max(T,H),v);let Ie=ge+m.integerLen,He=S[Ie];if(Ie>0){S.splice(Math.max(m.integerLen,Ie));for(let ct=Ie;ct<S.length;ct++)S[ct]=0}else{H=Math.max(0,H),m.integerLen=1,S.length=Math.max(1,Ie=ge+1),S[0]=0;for(let ct=1;ct<Ie;ct++)S[ct]=0}if(He>=5)if(Ie-1<0){for(let ct=0;ct>Ie;ct--)S.unshift(0),m.integerLen++;S.unshift(1),m.integerLen++}else S[Ie-1]++;for(;H<Math.max(0,ge);H++)S.push(0);let jt=0!==ge;const Lt=T+m.integerLen,Nt=S.reduceRight(function(ct,Kt,Ht,un){return un[Ht]=(Kt+=ct)<10?Kt:Kt-10,jt&&(0===un[Ht]&&Ht>=Lt?un.pop():jt=!1),Kt>=10?1:0},0);Nt&&(S.unshift(Nt),m.integerLen++)}(Lt,ct,Kt);let Ht=Lt.digits,un=Lt.integerLen;const On=Lt.exponent;let br=[];for(jt=Ht.every(tt=>!tt);un<Nt;un++)Ht.unshift(0);for(;un<0;un++)Ht.unshift(0);un>0?br=Ht.splice(un,Ht.length):(br=Ht,Ht=[0]);const Ur=[];for(Ht.length>=T.lgSize&&Ur.unshift(Ht.splice(-T.lgSize,Ht.length).join(""));Ht.length>T.gSize;)Ur.unshift(Ht.splice(-T.gSize,Ht.length).join(""));Ht.length&&Ur.unshift(Ht.join("")),He=Ur.join(Fe(v,S)),br.length&&(He+=Fe(v,H)+br.join("")),On&&(He+=Fe(v,Ve.Exponential)+"+"+On)}else He=Fe(v,Ve.Infinity);return He=m<0&&!jt?T.negPre+He+T.negSuf:T.posPre+He+T.posSuf,He}(m,function Yr(m,T="-"){const v={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},S=m.split(";"),H=S[0],ge=S[1],Ie=-1!==H.indexOf(Z)?H.split(Z):[H.substring(0,H.lastIndexOf(R)+1),H.substring(H.lastIndexOf(R)+1)],He=Ie[0],jt=Ie[1]||"";v.posPre=He.substr(0,He.indexOf("#"));for(let Nt=0;Nt<jt.length;Nt++){const ct=jt.charAt(Nt);ct===R?v.minFrac=v.maxFrac=Nt+1:"#"===ct?v.maxFrac=Nt+1:v.posSuf+=ct}const Lt=He.split(",");if(v.gSize=Lt[1]?Lt[1].length:0,v.lgSize=Lt[2]||Lt[1]?(Lt[2]||Lt[1]).length:0,ge){const Nt=H.length-v.posPre.length-v.posSuf.length,ct=ge.indexOf("#");v.negPre=ge.substr(0,ct).replace(/'/g,""),v.negSuf=ge.substr(ct+Nt).replace(/'/g,"")}else v.negPre=T+v.posPre,v.negSuf=v.posSuf;return v}(function je(m,T){return(0,g.cg1)(m)[g.wAp.NumberFormats][T]}(T,ht.Decimal),Fe(T,Ve.MinusSign)),T,Ve.Group,Ve.Decimal,v)}(function fs(m){if("string"==typeof m&&!isNaN(Number(m)-parseFloat(m)))return Number(m);if("number"!=typeof m)throw new Error(`${m} is not a number`);return m}(v),H,S)}catch(ge){throw Wt(m,ge.message)}}}return m.\u0275fac=function(v){return new(v||m)(g.Y36(g.soG,16))},m.\u0275pipe=g.Yjl({name:"number",type:m,pure:!0}),m})();let yn=(()=>{class m{transform(v,S,H){if(null==v)return null;if(!this.supports(v))throw Wt(m,v);return v.slice(S,H)}supports(v){return"string"==typeof v||Array.isArray(v)}}return m.\u0275fac=function(v){return new(v||m)},m.\u0275pipe=g.Yjl({name:"slice",type:m,pure:!1}),m})(),fr=(()=>{class m{}return m.\u0275fac=function(v){return new(v||m)},m.\u0275mod=g.oAB({type:m}),m.\u0275inj=g.cJS({providers:[{provide:mn,useClass:ln}]}),m})();const ps="browser";function Cr(m){return m===ps}let Ws=(()=>{class m{}return m.\u0275prov=(0,g.Yz7)({token:m,providedIn:"root",factory:()=>new Ps((0,g.LFG)(Q),window)}),m})();class Ps{constructor(T,v){this.document=T,this.window=v,this.offset=()=>[0,0]}setOffset(T){this.offset=Array.isArray(T)?()=>T:T}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(T){this.supportsScrolling()&&this.window.scrollTo(T[0],T[1])}scrollToAnchor(T){if(!this.supportsScrolling())return;const v=function Ks(m,T){const v=m.getElementById(T)||m.getElementsByName(T)[0];if(v)return v;if("function"==typeof m.createTreeWalker&&m.body&&(m.body.createShadowRoot||m.body.attachShadow)){const S=m.createTreeWalker(m.body,NodeFilter.SHOW_ELEMENT);let H=S.currentNode;for(;H;){const ge=H.shadowRoot;if(ge){const Ie=ge.getElementById(T)||ge.querySelector(`[name="${T}"]`);if(Ie)return Ie}H=S.nextNode()}}return null}(this.document,T);v&&(this.scrollToElement(v),this.attemptFocus(v))}setHistoryScrollRestoration(T){if(this.supportScrollRestoration()){const v=this.window.history;v&&v.scrollRestoration&&(v.scrollRestoration=T)}}scrollToElement(T){const v=T.getBoundingClientRect(),S=v.left+this.window.pageXOffset,H=v.top+this.window.pageYOffset,ge=this.offset();this.window.scrollTo(S-ge[0],H-ge[1])}attemptFocus(T){return T.focus(),this.document.activeElement===T}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const T=jr(this.window.history)||jr(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 jr(m){return Object.getOwnPropertyDescriptor(m,"scrollRestoration")}class Qs{}},520:(Ge,he,M)=>{M.d(he,{JF:()=>Vt,TP:()=>Pt,WM:()=>V,eN:()=>Ve});var g=M(9808),_=M(9863),J=M(1086),ie=M(2916),B=M(1406),U=M(2198),Q=M(4850);class q{}class z{}class V{constructor(Y){this.normalizedNames=new Map,this.lazyUpdate=null,Y?this.lazyInit="string"==typeof Y?()=>{this.headers=new Map,Y.split("\n").forEach(K=>{const Ee=K.indexOf(":");if(Ee>0){const le=K.slice(0,Ee),ke=le.toLowerCase(),Oe=K.slice(Ee+1).trim();this.maybeSetNormalizedName(le,ke),this.headers.has(ke)?this.headers.get(ke).push(Oe):this.headers.set(ke,[Oe])}})}:()=>{this.headers=new Map,Object.keys(Y).forEach(K=>{let Ee=Y[K];const le=K.toLowerCase();"string"==typeof Ee&&(Ee=[Ee]),Ee.length>0&&(this.headers.set(le,Ee),this.maybeSetNormalizedName(K,le))})}:this.headers=new Map}has(Y){return this.init(),this.headers.has(Y.toLowerCase())}get(Y){this.init();const K=this.headers.get(Y.toLowerCase());return K&&K.length>0?K[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(Y){return this.init(),this.headers.get(Y.toLowerCase())||null}append(Y,K){return this.clone({name:Y,value:K,op:"a"})}set(Y,K){return this.clone({name:Y,value:K,op:"s"})}delete(Y,K){return this.clone({name:Y,value:K,op:"d"})}maybeSetNormalizedName(Y,K){this.normalizedNames.has(K)||this.normalizedNames.set(K,Y)}init(){this.lazyInit&&(this.lazyInit instanceof V?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(K=>{this.headers.set(K,Y.headers.get(K)),this.normalizedNames.set(K,Y.normalizedNames.get(K))})}clone(Y){const K=new V;return K.lazyInit=this.lazyInit&&this.lazyInit instanceof V?this.lazyInit:this,K.lazyUpdate=(this.lazyUpdate||[]).concat([Y]),K}applyUpdate(Y){const K=Y.name.toLowerCase();switch(Y.op){case"a":case"s":let Ee=Y.value;if("string"==typeof Ee&&(Ee=[Ee]),0===Ee.length)return;this.maybeSetNormalizedName(Y.name,K);const le=("a"===Y.op?this.headers.get(K):void 0)||[];le.push(...Ee),this.headers.set(K,le);break;case"d":const ke=Y.value;if(ke){let Oe=this.headers.get(K);if(!Oe)return;Oe=Oe.filter(ze=>-1===ke.indexOf(ze)),0===Oe.length?(this.headers.delete(K),this.normalizedNames.delete(K)):this.headers.set(K,Oe)}else this.headers.delete(K),this.normalizedNames.delete(K)}}forEach(Y){this.init(),Array.from(this.normalizedNames.keys()).forEach(K=>Y(this.normalizedNames.get(K),this.headers.get(K)))}}class F{encodeKey(Y){return te(Y)}encodeValue(Y){return te(Y)}decodeKey(Y){return decodeURIComponent(Y)}decodeValue(Y){return decodeURIComponent(Y)}}const fe=/%(\d[a-f0-9])/gi,Te={40:"@","3A":":",24:"$","2C":",","3B":";","2B":"+","3D":"=","3F":"?","2F":"/"};function te(De){return encodeURIComponent(De).replace(fe,(Y,K)=>{var Ee;return null!==(Ee=Te[K])&&void 0!==Ee?Ee:Y})}function ce(De){return`${De}`}class Ce{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 ae(De,Y){const K=new Map;return De.length>0&&De.replace(/^\?/,"").split("&").forEach(le=>{const ke=le.indexOf("="),[Oe,ze]=-1==ke?[Y.decodeKey(le),""]:[Y.decodeKey(le.slice(0,ke)),Y.decodeValue(le.slice(ke+1))],ut=K.get(Oe)||[];ut.push(ze),K.set(Oe,ut)}),K}(Y.fromString,this.encoder)}else Y.fromObject?(this.map=new Map,Object.keys(Y.fromObject).forEach(K=>{const Ee=Y.fromObject[K];this.map.set(K,Array.isArray(Ee)?Ee:[Ee])})):this.map=null}has(Y){return this.init(),this.map.has(Y)}get(Y){this.init();const K=this.map.get(Y);return K?K[0]:null}getAll(Y){return this.init(),this.map.get(Y)||null}keys(){return this.init(),Array.from(this.map.keys())}append(Y,K){return this.clone({param:Y,value:K,op:"a"})}appendAll(Y){const K=[];return Object.keys(Y).forEach(Ee=>{const le=Y[Ee];Array.isArray(le)?le.forEach(ke=>{K.push({param:Ee,value:ke,op:"a"})}):K.push({param:Ee,value:le,op:"a"})}),this.clone(K)}set(Y,K){return this.clone({param:Y,value:K,op:"s"})}delete(Y,K){return this.clone({param:Y,value:K,op:"d"})}toString(){return this.init(),this.keys().map(Y=>{const K=this.encoder.encodeKey(Y);return this.map.get(Y).map(Ee=>K+"="+this.encoder.encodeValue(Ee)).join("&")}).filter(Y=>""!==Y).join("&")}clone(Y){const K=new Ce({encoder:this.encoder});return K.cloneFrom=this.cloneFrom||this,K.updates=(this.updates||[]).concat(Y),K}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 K=("a"===Y.op?this.map.get(Y.param):void 0)||[];K.push(ce(Y.value)),this.map.set(Y.param,K);break;case"d":if(void 0===Y.value){this.map.delete(Y.param);break}{let Ee=this.map.get(Y.param)||[];const le=Ee.indexOf(ce(Y.value));-1!==le&&Ee.splice(le,1),Ee.length>0?this.map.set(Y.param,Ee):this.map.delete(Y.param)}}}),this.cloneFrom=this.updates=null)}}class Ne{constructor(){this.map=new Map}set(Y,K){return this.map.set(Y,K),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 oe(De){return"undefined"!=typeof ArrayBuffer&&De instanceof ArrayBuffer}function pe(De){return"undefined"!=typeof Blob&&De instanceof Blob}function Ke(De){return"undefined"!=typeof FormData&&De instanceof FormData}class rt{constructor(Y,K,Ee,le){let ke;if(this.url=K,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=Y.toUpperCase(),function Ae(De){switch(De){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||le?(this.body=void 0!==Ee?Ee:null,ke=le):ke=Ee,ke&&(this.reportProgress=!!ke.reportProgress,this.withCredentials=!!ke.withCredentials,ke.responseType&&(this.responseType=ke.responseType),ke.headers&&(this.headers=ke.headers),ke.context&&(this.context=ke.context),ke.params&&(this.params=ke.params)),this.headers||(this.headers=new V),this.context||(this.context=new Ne),this.params){const Oe=this.params.toString();if(0===Oe.length)this.urlWithParams=K;else{const ze=K.indexOf("?");this.urlWithParams=K+(-1===ze?"?":ze<K.length-1?"&":"")+Oe}}else this.params=new Ce,this.urlWithParams=K}serializeBody(){return null===this.body?null:oe(this.body)||pe(this.body)||Ke(this.body)||function yt(De){return"undefined"!=typeof URLSearchParams&&De instanceof URLSearchParams}(this.body)||"string"==typeof this.body?this.body:this.body instanceof Ce?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||Ke(this.body)?null:pe(this.body)?this.body.type||null:oe(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof Ce?"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 K;const Ee=Y.method||this.method,le=Y.url||this.url,ke=Y.responseType||this.responseType,Oe=void 0!==Y.body?Y.body:this.body,ze=void 0!==Y.withCredentials?Y.withCredentials:this.withCredentials,ut=void 0!==Y.reportProgress?Y.reportProgress:this.reportProgress;let bt=Y.headers||this.headers,qt=Y.params||this.params;const sn=null!==(K=Y.context)&&void 0!==K?K:this.context;return void 0!==Y.setHeaders&&(bt=Object.keys(Y.setHeaders).reduce((It,Ct)=>It.set(Ct,Y.setHeaders[Ct]),bt)),Y.setParams&&(qt=Object.keys(Y.setParams).reduce((It,Ct)=>It.set(Ct,Y.setParams[Ct]),qt)),new rt(Ee,le,Oe,{params:qt,headers:bt,context:sn,reportProgress:ut,responseType:ke,withCredentials:ze})}}var at=(()=>((at=at||{})[at.Sent=0]="Sent",at[at.UploadProgress=1]="UploadProgress",at[at.ResponseHeader=2]="ResponseHeader",at[at.DownloadProgress=3]="DownloadProgress",at[at.Response=4]="Response",at[at.User=5]="User",at))();class ht{constructor(Y,K=200,Ee="OK"){this.headers=Y.headers||new V,this.status=void 0!==Y.status?Y.status:K,this.statusText=Y.statusText||Ee,this.url=Y.url||null,this.ok=this.status>=200&&this.status<300}}class St extends ht{constructor(Y={}){super(Y),this.type=at.ResponseHeader}clone(Y={}){return new St({headers:Y.headers||this.headers,status:void 0!==Y.status?Y.status:this.status,statusText:Y.statusText||this.statusText,url:Y.url||this.url||void 0})}}class Mt extends ht{constructor(Y={}){super(Y),this.type=at.Response,this.body=void 0!==Y.body?Y.body:null}clone(Y={}){return new Mt({body:void 0!==Y.body?Y.body:this.body,headers:Y.headers||this.headers,status:void 0!==Y.status?Y.status:this.status,statusText:Y.statusText||this.statusText,url:Y.url||this.url||void 0})}}class ft 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 lt(De,Y){return{body:Y,headers:De.headers,context:De.context,observe:De.observe,params:De.params,reportProgress:De.reportProgress,responseType:De.responseType,withCredentials:De.withCredentials}}let Ve=(()=>{class De{constructor(K){this.handler=K}request(K,Ee,le={}){let ke;if(K instanceof rt)ke=K;else{let ut,bt;ut=le.headers instanceof V?le.headers:new V(le.headers),le.params&&(bt=le.params instanceof Ce?le.params:new Ce({fromObject:le.params})),ke=new rt(K,Ee,void 0!==le.body?le.body:null,{headers:ut,context:le.context,params:bt,reportProgress:le.reportProgress,responseType:le.responseType||"json",withCredentials:le.withCredentials})}const Oe=(0,J.of)(ke).pipe((0,B.b)(ut=>this.handler.handle(ut)));if(K instanceof rt||"events"===le.observe)return Oe;const ze=Oe.pipe((0,U.h)(ut=>ut instanceof Mt));switch(le.observe||"body"){case"body":switch(ke.responseType){case"arraybuffer":return ze.pipe((0,Q.U)(ut=>{if(null!==ut.body&&!(ut.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return ut.body}));case"blob":return ze.pipe((0,Q.U)(ut=>{if(null!==ut.body&&!(ut.body instanceof Blob))throw new Error("Response is not a Blob.");return ut.body}));case"text":return ze.pipe((0,Q.U)(ut=>{if(null!==ut.body&&"string"!=typeof ut.body)throw new Error("Response is not a string.");return ut.body}));default:return ze.pipe((0,Q.U)(ut=>ut.body))}case"response":return ze;default:throw new Error(`Unreachable: unhandled observe type ${le.observe}}`)}}delete(K,Ee={}){return this.request("DELETE",K,Ee)}get(K,Ee={}){return this.request("GET",K,Ee)}head(K,Ee={}){return this.request("HEAD",K,Ee)}jsonp(K,Ee){return this.request("JSONP",K,{params:(new Ce).append(Ee,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(K,Ee={}){return this.request("OPTIONS",K,Ee)}patch(K,Ee,le={}){return this.request("PATCH",K,lt(le,Ee))}post(K,Ee,le={}){return this.request("POST",K,lt(le,Ee))}put(K,Ee,le={}){return this.request("PUT",K,lt(le,Ee))}}return De.\u0275fac=function(K){return new(K||De)(_.LFG(q))},De.\u0275prov=_.Yz7({token:De,factory:De.\u0275fac}),De})();class Hn{constructor(Y,K){this.next=Y,this.interceptor=K}handle(Y){return this.interceptor.intercept(Y,this.next)}}const Pt=new _.OlP("HTTP_INTERCEPTORS");let cn=(()=>{class De{intercept(K,Ee){return Ee.handle(K)}}return De.\u0275fac=function(K){return new(K||De)},De.\u0275prov=_.Yz7({token:De,factory:De.\u0275fac}),De})();const ue=/^\)\]\}',?\n/;let je=(()=>{class De{constructor(K){this.xhrFactory=K}handle(K){if("JSONP"===K.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new ie.y(Ee=>{const le=this.xhrFactory.build();if(le.open(K.method,K.urlWithParams),K.withCredentials&&(le.withCredentials=!0),K.headers.forEach((Ct,Ue)=>le.setRequestHeader(Ct,Ue.join(","))),K.headers.has("Accept")||le.setRequestHeader("Accept","application/json, text/plain, */*"),!K.headers.has("Content-Type")){const Ct=K.detectContentTypeHeader();null!==Ct&&le.setRequestHeader("Content-Type",Ct)}if(K.responseType){const Ct=K.responseType.toLowerCase();le.responseType="json"!==Ct?Ct:"text"}const ke=K.serializeBody();let Oe=null;const ze=()=>{if(null!==Oe)return Oe;const Ct=1223===le.status?204:le.status,Ue=le.statusText||"OK",Nn=new V(le.getAllResponseHeaders()),Ot=function Fe(De){return"responseURL"in De&&De.responseURL?De.responseURL:/^X-Request-URL:/m.test(De.getAllResponseHeaders())?De.getResponseHeader("X-Request-URL"):null}(le)||K.url;return Oe=new St({headers:Nn,status:Ct,statusText:Ue,url:Ot}),Oe},ut=()=>{let{headers:Ct,status:Ue,statusText:Nn,url:Ot}=ze(),vt=null;204!==Ue&&(vt=void 0===le.response?le.responseText:le.response),0===Ue&&(Ue=vt?200:0);let st=Ue>=200&&Ue<300;if("json"===K.responseType&&"string"==typeof vt){const ur=vt;vt=vt.replace(ue,"");try{vt=""!==vt?JSON.parse(vt):null}catch(wn){vt=ur,st&&(st=!1,vt={error:wn,text:vt})}}st?(Ee.next(new Mt({body:vt,headers:Ct,status:Ue,statusText:Nn,url:Ot||void 0})),Ee.complete()):Ee.error(new ft({error:vt,headers:Ct,status:Ue,statusText:Nn,url:Ot||void 0}))},bt=Ct=>{const{url:Ue}=ze(),Nn=new ft({error:Ct,status:le.status||0,statusText:le.statusText||"Unknown Error",url:Ue||void 0});Ee.error(Nn)};let qt=!1;const sn=Ct=>{qt||(Ee.next(ze()),qt=!0);let Ue={type:at.DownloadProgress,loaded:Ct.loaded};Ct.lengthComputable&&(Ue.total=Ct.total),"text"===K.responseType&&!!le.responseText&&(Ue.partialText=le.responseText),Ee.next(Ue)},It=Ct=>{let Ue={type:at.UploadProgress,loaded:Ct.loaded};Ct.lengthComputable&&(Ue.total=Ct.total),Ee.next(Ue)};return le.addEventListener("load",ut),le.addEventListener("error",bt),le.addEventListener("timeout",bt),le.addEventListener("abort",bt),K.reportProgress&&(le.addEventListener("progress",sn),null!==ke&&le.upload&&le.upload.addEventListener("progress",It)),le.send(ke),Ee.next({type:at.Sent}),()=>{le.removeEventListener("error",bt),le.removeEventListener("abort",bt),le.removeEventListener("load",ut),le.removeEventListener("timeout",bt),K.reportProgress&&(le.removeEventListener("progress",sn),null!==ke&&le.upload&&le.upload.removeEventListener("progress",It)),le.readyState!==le.DONE&&le.abort()}})}}return De.\u0275fac=function(K){return new(K||De)(_.LFG(g.JF))},De.\u0275prov=_.Yz7({token:De,factory:De.\u0275fac}),De})();const nn=new _.OlP("XSRF_COOKIE_NAME"),Ut=new _.OlP("XSRF_HEADER_NAME");class Gt{}let hn=(()=>{class De{constructor(K,Ee,le){this.doc=K,this.platform=Ee,this.cookieName=le,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const K=this.doc.cookie||"";return K!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,g.Mx)(K,this.cookieName),this.lastCookieString=K),this.lastToken}}return De.\u0275fac=function(K){return new(K||De)(_.LFG(g.K0),_.LFG(_.Lbi),_.LFG(nn))},De.\u0275prov=_.Yz7({token:De,factory:De.\u0275fac}),De})(),rn=(()=>{class De{constructor(K,Ee){this.tokenService=K,this.headerName=Ee}intercept(K,Ee){const le=K.url.toLowerCase();if("GET"===K.method||"HEAD"===K.method||le.startsWith("http://")||le.startsWith("https://"))return Ee.handle(K);const ke=this.tokenService.getToken();return null!==ke&&!K.headers.has(this.headerName)&&(K=K.clone({headers:K.headers.set(this.headerName,ke)})),Ee.handle(K)}}return De.\u0275fac=function(K){return new(K||De)(_.LFG(Gt),_.LFG(Ut))},De.\u0275prov=_.Yz7({token:De,factory:De.\u0275fac}),De})(),Vn=(()=>{class De{constructor(K,Ee){this.backend=K,this.injector=Ee,this.chain=null}handle(K){if(null===this.chain){const Ee=this.injector.get(Pt,[]);this.chain=Ee.reduceRight((le,ke)=>new Hn(le,ke),this.backend)}return this.chain.handle(K)}}return De.\u0275fac=function(K){return new(K||De)(_.LFG(z),_.LFG(_.zs3))},De.\u0275prov=_.Yz7({token:De,factory:De.\u0275fac}),De})(),xn=(()=>{class De{static disable(){return{ngModule:De,providers:[{provide:rn,useClass:cn}]}}static withOptions(K={}){return{ngModule:De,providers:[K.cookieName?{provide:nn,useValue:K.cookieName}:[],K.headerName?{provide:Ut,useValue:K.headerName}:[]]}}}return De.\u0275fac=function(K){return new(K||De)},De.\u0275mod=_.oAB({type:De}),De.\u0275inj=_.cJS({providers:[rn,{provide:Pt,useExisting:rn,multi:!0},{provide:Gt,useClass:hn},{provide:nn,useValue:"XSRF-TOKEN"},{provide:Ut,useValue:"X-XSRF-TOKEN"}]}),De})(),Vt=(()=>{class De{}return De.\u0275fac=function(K){return new(K||De)},De.\u0275mod=_.oAB({type:De}),De.\u0275inj=_.cJS({providers:[Ve,{provide:q,useClass:Vn},je,{provide:z,useExisting:je}],imports:[[xn.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]]}),De})()},9863:(Ge,he,M)=>{M.d(he,{deG:()=>kg,tb:()=>lg,AFp:()=>ig,ip1:()=>$u,CZH:()=>lo,hGG:()=>WC,z2F:()=>Qo,sBO:()=>EC,Sil:()=>Gu,_Vd:()=>Vo,EJc:()=>cg,SBq:()=>$o,qLn:()=>Ao,vpe:()=>Ms,tBr:()=>Co,XFs:()=>nt,OlP:()=>Dn,zs3:()=>Wr,ZZ4:()=>Va,aQg:()=>$a,soG:()=>Ua,YKP:()=>dp,h0i:()=>io,PXZ:()=>pC,R0b:()=>Nr,FiY:()=>hi,Lbi:()=>ag,g9A:()=>og,n_E:()=>Na,Qsj:()=>rE,FYo:()=>ap,JOm:()=>Cs,q3G:()=>Tn,tp0:()=>xi,Rgc:()=>Ko,dDg:()=>fg,GfV:()=>lp,s_b:()=>ka,ifc:()=>bt,eFA:()=>mg,G48:()=>DC,Gpc:()=>Te,f3M:()=>qg,_c5:()=>jC,VLi:()=>dC,c2e:()=>ug,zSh:()=>zl,wAp:()=>dt,vHH:()=>be,EiD:()=>Nc,mCW:()=>wo,qzn:()=>ki,JVY:()=>gm,pB0:()=>_m,eBb:()=>ym,L6k:()=>mm,LAX:()=>vm,cg1:()=>Eu,kL8:()=>Of,yhl:()=>Sc,dqk:()=>Ue,sIi:()=>No,CqO:()=>Bh,QGY:()=>uu,F4k:()=>Lh,RDi:()=>Ks,AaK:()=>F,z3N:()=>Ns,qOj:()=>Ql,TTD:()=>fr,_Bn:()=>sp,xp6:()=>gd,uIk:()=>Jl,Tol:()=>of,Gre:()=>Ef,ekj:()=>gu,Suo:()=>Lp,Xpm:()=>Gn,lG2:()=>O,Yz7:()=>je,cJS:()=>Ut,oAB:()=>x,Yjl:()=>Z,Y36:()=>ko,_UZ:()=>Nh,GkF:()=>Fh,BQk:()=>lu,ynx:()=>au,qZA:()=>ou,TgZ:()=>iu,EpF:()=>kh,n5z:()=>ns,Ikx:()=>_u,LFG:()=>Qn,$8M:()=>Pr,$Z:()=>xh,NdJ:()=>cu,CRH:()=>Bp,kcU:()=>Yn,O4$:()=>gn,oxw:()=>Hh,ALo:()=>Sp,lcZ:()=>Mp,xi3:()=>Ap,Dn7:()=>Ip,Hsn:()=>$h,F$t:()=>Vh,Q6J:()=>ru,s9C:()=>fu,MGl:()=>Ta,DdM:()=>gp,VKq:()=>mp,WLB:()=>yp,kEZ:()=>vp,l5B:()=>_p,qbA:()=>Dp,iGM:()=>Fp,MAs:()=>Ch,CHM:()=>co,oJD:()=>Fc,LSH:()=>il,Udp:()=>pu,WFA:()=>du,d8E:()=>Du,YNc:()=>Eh,W1O:()=>Vp,_uU:()=>ff,Oqu:()=>yu,hij:()=>Ma,AsE:()=>vu,Gf:()=>kp});var g=M(8929),_=M(2654),J=M(2916),ie=M(6787),B=M(2536),U=M(4327);function Q(){return new g.xQ}function z(e){for(let t in e)if(e[t]===z)return t;throw Error("Could not find renamed property on target object.")}function V(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 ae(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const fe=z({__forward_ref__:z});function Te(e){return e.__forward_ref__=Te,e.toString=function(){return F(this())},e}function te(e){return ce(e)?e():e}function ce(e){return"function"==typeof e&&e.hasOwnProperty(fe)&&e.__forward_ref__===Te}class be extends Error{constructor(t,n){super(function Ae(e,t){return`${e?`NG0${e}: `:""}${t}`}(t,n)),this.code=t}}function oe(e){return"string"==typeof e?e:null==e?"":String(e)}function pe(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():oe(e)}function at(e,t){const n=t?` in ${t}`:"";throw new be("201",`No provider for ${pe(e)} found${n}`)}function _e(e,t){null==e&&function we(e,t,n,r){throw new Error(`ASSERTION ERROR: ${e}`+(null==r?"":` [Expected=> ${n} ${r} ${t} <=Actual]`))}(t,e,null,"!=")}function je(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Ut(e){return{providers:e.providers||[],imports:e.imports||[]}}function Gt(e){return hn(e,$n)||hn(e,Vt)}function hn(e,t){return e.hasOwnProperty(t)?e[t]:null}function Xn(e){return e&&(e.hasOwnProperty(xn)||e.hasOwnProperty(lr))?e[xn]:null}const $n=z({\u0275prov:z}),xn=z({\u0275inj:z}),Vt=z({ngInjectableDef:z}),lr=z({ngInjectorDef:z});var nt=(()=>((nt=nt||{})[nt.Default=0]="Default",nt[nt.Host=1]="Host",nt[nt.Self=2]="Self",nt[nt.SkipSelf=4]="SkipSelf",nt[nt.Optional=8]="Optional",nt))();let De;function K(e){const t=De;return De=e,t}function Ee(e,t,n){const r=Gt(e);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:n&nt.Optional?null:void 0!==t?t:void at(F(e),"Injector")}function ke(e){return{toString:e}.toString()}var Oe=(()=>((Oe=Oe||{})[Oe.OnPush=0]="OnPush",Oe[Oe.Default=1]="Default",Oe))(),bt=(()=>{return(e=bt||(bt={}))[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",bt;var e})();const qt="undefined"!=typeof globalThis&&globalThis,sn="undefined"!=typeof window&&window,It="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,Ue=qt||"undefined"!=typeof global&&global||sn||It,vt={},st=[],ur=z({\u0275cmp:z}),wn=z({\u0275dir:z}),er=z({\u0275pipe:z}),tr=z({\u0275mod:z}),en=z({\u0275fac:z}),Sn=z({__NG_ELEMENT_ID__:z});let zn=0;function Gn(e){return ke(()=>{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===Oe.OnPush,directiveDefs:null,pipeDefs:null,selectors:e.selectors||st,viewQuery:e.viewQuery||null,features:e.features||null,data:e.data||{},encapsulation:e.encapsulation||bt.Emulated,id:"c",styles:e.styles||st,_:null,setInput:null,schemas:e.schemas||null,tView:null},s=e.directives,i=e.features,a=e.pipes;return r.id+=zn++,r.inputs=Se(e.inputs,n),r.outputs=Se(e.outputs),i&&i.forEach(d=>d(r)),r.directiveDefs=s?()=>("function"==typeof s?s():s).map(cr):null,r.pipeDefs=a?()=>("function"==typeof a?a():a).map(se):null,r})}function cr(e){return R(e)||function de(e){return e[wn]||null}(e)}function se(e){return function it(e){return e[er]||null}(e)}const L={};function x(e){return ke(()=>{const t={type:e.type,bootstrap:e.bootstrap||st,declarations:e.declarations||st,imports:e.imports||st,exports:e.exports||st,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null};return null!=e.id&&(L[e.id]=e.type),t})}function Se(e,t){if(null==e)return vt;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 O=Gn;function Z(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,onDestroy:e.type.prototype.ngOnDestroy||null}}function R(e){return e[ur]||null}function wt(e,t){const n=e[tr]||null;if(!n&&!0===t)throw new Error(`Type ${F(e)} does not have '\u0275mod' property.`);return n}function Wn(e){return Array.isArray(e)&&"object"==typeof e[1]}function Bn(e){return Array.isArray(e)&&!0===e[1]}function Er(e){return 0!=(8&e.flags)}function Qr(e){return 2==(2&e.flags)}function Ir(e){return 1==(1&e.flags)}function Wt(e){return null!==e.template}function ii(e){return 0!=(512&e[2])}function yn(e,t){return e.hasOwnProperty(en)?e[en]:null}class Ci{constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}}function fr(){return ps}function ps(e){return e.type.prototype.ngOnChanges&&(e.setInput=zs),Is}function Is(){const e=Cr(this),t=null==e?void 0:e.current;if(t){const n=e.previous;if(n===vt)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function zs(e,t,n,r){const s=Cr(e)||function gs(e,t){return e[Jr]=t}(e,{previous:vt,current:null}),i=s.current||(s.current={}),a=s.previous,d=this.declaredInputs[n],p=a[d];i[d]=new Ci(p&&p.currentValue,t,a===vt),e[r]=t}fr.ngInherit=!0;const Jr="__ngSimpleChanges__";function Cr(e){return e[Jr]||null}const Ws="http://www.w3.org/2000/svg";let jr;function Ks(e){jr=e}function Ys(){return void 0!==jr?jr:"undefined"!=typeof document?document:void 0}function m(e){return!!e.listen}const T={createRenderer:(e,t)=>Ys()};function S(e){for(;Array.isArray(e);)e=e[0];return e}function Ie(e,t){return S(t[e])}function He(e,t){return S(t[e.index])}function Lt(e,t){return e.data[t]}function Nt(e,t){return e[t]}function ct(e,t){const n=t[e];return Wn(n)?n:n[0]}function Kt(e){return 4==(4&e[2])}function Ht(e){return 128==(128&e[2])}function On(e,t){return null==t?null:e[t]}function br(e){e[18]=0}function Ur(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 tt={lFrame:ui(null),bindingsEnabled:!0,isInCheckNoChangesMode:!1};function Rs(){return tt.bindingsEnabled}function Pe(){return tt.lFrame.lView}function Tt(){return tt.lFrame.tView}function co(e){return tt.lFrame.contextLView=e,e[8]}function C(){let e=o();for(;null!==e&&64===e.type;)e=e.parent;return e}function o(){return tt.lFrame.currentTNode}function f(e,t){const n=tt.lFrame;n.currentTNode=e,n.isParent=t}function b(){return tt.lFrame.isParent}function I(){tt.lFrame.isParent=!1}function re(){return tt.isInCheckNoChangesMode}function ye(e){tt.isInCheckNoChangesMode=e}function Re(){const e=tt.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function _t(){return tt.lFrame.bindingIndex++}function Ze(e){const t=tt.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function tn(e,t){const n=tt.lFrame;n.bindingIndex=n.bindingRootIndex=e,vn(t)}function vn(e){tt.lFrame.currentDirectiveIndex=e}function _n(e){const t=tt.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}function Hr(){return tt.lFrame.currentQueryIndex}function Zn(e){tt.lFrame.currentQueryIndex=e}function Rn(e){const t=e[1];return 2===t.type?t.declTNode:1===t.type?e[6]:null}function pr(e,t,n){if(n&nt.SkipSelf){let s=t,i=e;for(;!(s=s.parent,null!==s||n&nt.Host||(s=Rn(i),null===s||(i=i[15],10&s.type))););if(null===s)return!1;t=s,e=i}const r=tt.lFrame=wr();return r.currentTNode=t,r.lView=e,!0}function rr(e){const t=wr(),n=e[1];tt.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function wr(){const e=tt.lFrame,t=null===e?null:e.child;return null===t?ui(e):t}function ui(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 vs(){const e=tt.lFrame;return tt.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const Vr=vs;function Xr(){const e=vs();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 We(){return tt.lFrame.selectedIndex}function Xe(e){tt.lFrame.selectedIndex=e}function Je(){const e=tt.lFrame;return Lt(e.tView,e.selectedIndex)}function gn(){tt.lFrame.currentNamespace=Ws}function Yn(){!function $r(){tt.lFrame.currentNamespace=null}()}function Jn(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n<r;n++){const i=e.data[n].type.prototype,{ngAfterContentInit:a,ngAfterContentChecked:d,ngAfterViewInit:p,ngAfterViewChecked:E,ngOnDestroy:w}=i;a&&(e.contentHooks||(e.contentHooks=[])).push(-n,a),d&&((e.contentHooks||(e.contentHooks=[])).push(n,d),(e.contentCheckHooks||(e.contentCheckHooks=[])).push(n,d)),p&&(e.viewHooks||(e.viewHooks=[])).push(-n,p),E&&((e.viewHooks||(e.viewHooks=[])).push(n,E),(e.viewCheckHooks||(e.viewCheckHooks=[])).push(n,E)),null!=w&&(e.destroyHooks||(e.destroyHooks=[])).push(n,w)}}function an(e,t,n){ts(e,t,3,n)}function es(e,t,n,r){(3&e[2])===n&&ts(e,t,n,r)}function sr(e,t){let n=e[2];(3&n)===t&&(n&=2047,n+=1,e[2]=n)}function ts(e,t,n,r){const i=null!=r?r:-1,a=t.length-1;let d=0;for(let p=void 0!==r?65535&e[18]:0;p<a;p++)if("number"==typeof t[p+1]){if(d=t[p],null!=r&&d>=r)break}else t[p]<0&&(e[18]+=65536),(d<i||-1==i)&&(Ti(e,n,t,p),e[18]=(4294901760&e[18])+p+2),p++}function Ti(e,t,n,r){const s=n[r]<0,i=n[r+1],d=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(d)}finally{}}}else try{i.call(d)}finally{}}class qs{constructor(t,n,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}}function di(e,t,n){const r=m(e);let s=0;for(;s<n.length;){const i=n[s];if("number"==typeof i){if(0!==i)break;s++;const a=n[s++],d=n[s++],p=n[s++];r?e.setAttribute(t,d,p,a):t.setAttributeNS(a,d,p)}else{const a=i,d=n[++s];po(a)?r&&e.setProperty(t,a,d):r?e.setAttribute(t,a,d):t.setAttribute(a,d),s++}}return s}function Jo(e){return 3===e||4===e||6===e}function po(e){return 64===e.charCodeAt(0)}function Mi(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||Xo(e,n,s,null,-1===n||2===n?t[++r]:null)}}return e}function Xo(e,t,n,r,s){let i=0,a=e.length;if(-1===t)a=-1;else for(;i<e.length;){const d=e[i++];if("number"==typeof d){if(d===t){a=-1;break}if(d>t){a=i-1;break}}}for(;i<e.length;){const d=e[i];if("number"==typeof d)break;if(d===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!==a&&(e.splice(a,0,t),i=a+1),e.splice(i++,0,n),null!==r&&e.splice(i++,0,r),null!==s&&e.splice(i++,0,s)}function ea(e){return-1!==e}function Js(e){return 32767&e}function Xs(e,t){let n=function ta(e){return e>>16}(e),r=t;for(;n>0;)r=r[15],n--;return r}let go=!0;function Ai(e){const t=go;return go=e,t}let ia=0;function Ii(e,t){const n=c(e,t);if(-1!==n)return n;const r=t[1];r.firstCreatePass&&(e.injectorIndex=t.length,h(r.data,e),h(t,null),h(r.blueprint,null));const s=u(e,t),i=e.injectorIndex;if(ea(s)){const a=Js(s),d=Xs(s,t),p=d[1].data;for(let E=0;E<8;E++)t[i+E]=d[a+E]|p[a+E]}return t[i+8]=s,i}function h(e,t){e.push(0,0,0,0,0,0,0,0,t)}function c(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function u(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],a=i.type;if(r=2===a?i.declTNode:1===a?s[6]:null,null===r)return-1;if(n++,s=s[15],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return-1}function y(e,t,n){!function Ga(e,t,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(Sn)&&(r=n[Sn]),null==r&&(r=n[Sn]=ia++);const s=255&r;t.data[e+(s>>5)]|=1<<s}(e,t,n)}function A(e,t,n){if(n&nt.Optional)return e;at(t,"NodeInjector")}function N(e,t,n,r){if(n&nt.Optional&&void 0===r&&(r=null),0==(n&(nt.Self|nt.Host))){const s=e[9],i=K(void 0);try{return s?s.get(t,r,n&nt.Optional):Ee(t,r,n&nt.Optional)}finally{K(i)}}return A(r,t,n)}function W(e,t,n,r=nt.Default,s){if(null!==e){const i=function Yt(e){if("string"==typeof e)return e.charCodeAt(0)||0;const t=e.hasOwnProperty(Sn)?e[Sn]:void 0;return"number"==typeof t?t>=0?255&t:Qe:t}(n);if("function"==typeof i){if(!pr(t,e,r))return r&nt.Host?A(s,n,r):N(t,n,r,s);try{const a=i(r);if(null!=a||r&nt.Optional)return a;at(n)}finally{Vr()}}else if("number"==typeof i){let a=null,d=c(e,t),p=-1,E=r&nt.Host?t[16][6]:null;for((-1===d||r&nt.SkipSelf)&&(p=-1===d?u(e,t):t[d+8],-1!==p&&zr(r,!1)?(a=t[1],d=Js(p),t=Xs(p,t)):d=-1);-1!==d;){const w=t[1];if(ei(i,d,w.data)){const P=Ft(d,t,n,a,r,E);if(P!==me)return P}p=t[d+8],-1!==p&&zr(r,t[1].data[d+8]===E)&&ei(i,d,t)?(a=w,d=Js(p),t=Xs(p,t)):d=-1}}}return N(t,n,r,s)}const me={};function Qe(){return new ir(C(),Pe())}function Ft(e,t,n,r,s,i){const a=t[1],d=a.data[e+8],w=et(d,a,n,null==r?Qr(d)&&go:r!=a&&0!=(3&d.type),s&nt.Host&&i===d);return null!==w?Bt(t,a,w,d):me}function et(e,t,n,r,s){const i=e.providerIndexes,a=t.data,d=1048575&i,p=e.directiveStart,w=i>>20,G=s?d+w:e.directiveEnd;for(let ee=r?d:d+w;ee<G;ee++){const ve=a[ee];if(ee<p&&n===ve||ee>=p&&ve.type===n)return ee}if(s){const ee=a[p];if(ee&&Wt(ee)&&ee.type===n)return p}return null}function Bt(e,t,n,r){let s=e[n];const i=t.data;if(function za(e){return e instanceof qs}(s)){const a=s;a.resolving&&function Ke(e,t){const n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new be("200",`Circular dependency in DI detected for ${e}${n}`)}(pe(i[n]));const d=Ai(a.canSeeViewProviders);a.resolving=!0;const p=a.injectImpl?K(a.injectImpl):null;pr(e,r,nt.Default);try{s=e[n]=a.factory(void 0,i,e,r),t.firstCreatePass&&n>=r.directiveStart&&function ho(e,t,n){const{ngOnChanges:r,ngOnInit:s,ngDoCheck:i}=t.type.prototype;if(r){const a=ps(t);(n.preOrderHooks||(n.preOrderHooks=[])).push(e,a),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,a)}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!==p&&K(p),Ai(d),a.resolving=!1,Vr()}}return s}function ei(e,t,n){return!!(n[t+(e>>5)]&1<<e)}function zr(e,t){return!(e&nt.Self||e&nt.Host&&t)}class ir{constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return W(this._tNode,this._lView,t,r,n)}}function ns(e){return ke(()=>{const t=e.prototype.constructor,n=t[en]||ti(t),r=Object.prototype;let s=Object.getPrototypeOf(e.prototype).constructor;for(;s&&s!==r;){const i=s[en]||ti(s);if(i&&i!==n)return i;s=Object.getPrototypeOf(s)}return i=>new i})}function ti(e){return ce(e)?()=>{const t=ti(te(e));return t&&t()}:yn(e)}function Pr(e){return function D(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(Jo(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}(C(),e)}const ni="__parameters__";function Oi(e,t,n){return ke(()=>{const r=function Wa(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 a=new s(...i);return d.annotation=a,d;function d(p,E,w){const P=p.hasOwnProperty(ni)?p[ni]:Object.defineProperty(p,ni,{value:[]})[ni];for(;P.length<=w;)P.push(null);return(P[w]=P[w]||[]).push(a),p}}return n&&(s.prototype=Object.create(n.prototype)),s.prototype.ngMetadataName=e,s.annotationCls=s,s})}class Dn{constructor(t,n){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof n?this.__NG_ELEMENT_ID__=n:void 0!==n&&(this.\u0275prov=je({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}toString(){return`InjectionToken ${this._desc}`}}const kg=new Dn("AnalyzeForEntryComponents");function Gr(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)),Gr(r,t)):t!==e&&t.push(r)}return t}function _s(e,t){e.forEach(n=>Array.isArray(n)?_s(n,t):t(n))}function dc(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function oa(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function vo(e,t){const n=[];for(let r=0;r<e;r++)n.push(t);return n}function Rr(e,t,n){let r=Ri(e,t);return r>=0?e[1|r]=n:(r=~r,function jg(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 Ya(e,t){const n=Ri(e,t);if(n>=0)return e[1|n]}function Ri(e,t){return function pc(e,t,n){let r=0,s=e.length>>n;for(;s!==r;){const i=r+(s-r>>1),a=e[i<<n];if(t===a)return i<<n;a>t?s=i:r=i+1}return~(s<<n)}(e,t,1)}const _o={},qa="__NG_DI_FLAG__",la="ngTempTokenPath",Wg=/\n/gm,mc="__source",Yg=z({provide:String,useValue:z});let Do;function yc(e){const t=Do;return Do=e,t}function Qg(e,t=nt.Default){if(void 0===Do)throw new Error("inject() must be called from an injection context");return null===Do?Ee(e,void 0,t):Do.get(e,t&nt.Optional?null:void 0,t)}function Qn(e,t=nt.Default){return(function Y(){return De}()||Qg)(te(e),t)}const qg=Qn;function Za(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=nt.Default;for(let a=0;a<r.length;a++){const d=r[a],p=Zg(d);"number"==typeof p?-1===p?s=d.token:i|=p:s=d}t.push(Qn(s,i))}else t.push(Qn(r))}return t}function Eo(e,t){return e[qa]=t,e.prototype[qa]=t,e}function Zg(e){return e[qa]}const Co=Eo(Oi("Inject",e=>({token:e})),-1),hi=Eo(Oi("Optional"),8),xi=Eo(Oi("SkipSelf"),4);let ca,da;function Fi(e){var t;return(null===(t=function Xa(){if(void 0===ca&&(ca=null,Ue.trustedTypes))try{ca=Ue.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch(e){}return ca}())||void 0===t?void 0:t.createHTML(e))||e}function bc(e){var t;return(null===(t=function el(){if(void 0===da&&(da=null,Ue.trustedTypes))try{da=Ue.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch(e){}return da}())||void 0===t?void 0:t.createHTML(e))||e}class fi{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see https://g.co/ng/security#xss)`}}class cm extends fi{getTypeName(){return"HTML"}}class dm extends fi{getTypeName(){return"Style"}}class hm extends fi{getTypeName(){return"Script"}}class fm extends fi{getTypeName(){return"URL"}}class pm extends fi{getTypeName(){return"ResourceURL"}}function Ns(e){return e instanceof fi?e.changingThisBreaksApplicationSecurity:e}function ki(e,t){const n=Sc(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 Sc(e){return e instanceof fi&&e.getTypeName()||null}function gm(e){return new cm(e)}function mm(e){return new dm(e)}function ym(e){return new hm(e)}function vm(e){return new fm(e)}function _m(e){return new pm(e)}class Dm{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{const n=(new window.DOMParser).parseFromString(Fi(t),"text/html").body;return null===n?this.inertDocumentHelper.getInertBodyElement(t):(n.removeChild(n.firstChild),n)}catch(n){return null}}}class Em{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=Fi(t),n;const r=this.inertDocument.createElement("body");return r.innerHTML=Fi(t),this.defaultDoc.documentMode&&this.stripCustomNsAttrs(r),r}stripCustomNsAttrs(t){const n=t.attributes;for(let s=n.length-1;0<s;s--){const a=n.item(s).name;("xmlns:ns1"===a||0===a.indexOf("ns1:"))&&t.removeAttribute(a)}let r=t.firstChild;for(;r;)r.nodeType===Node.ELEMENT_NODE&&this.stripCustomNsAttrs(r),r=r.nextSibling}}const bm=/^(?:(?:https?|mailto|ftp|tel|file|sms):|[^&:/?#]*(?:[/?#]|$))/gi,wm=/^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 wo(e){return(e=String(e)).match(bm)||e.match(wm)?e:"unsafe:"+e}function Ds(e){const t={};for(const n of e.split(","))t[n]=!0;return t}function To(...e){const t={};for(const n of e)for(const r in n)n.hasOwnProperty(r)&&(t[r]=!0);return t}const Ic=Ds("area,br,col,hr,img,wbr"),Pc=Ds("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Oc=Ds("rp,rt"),tl=To(Ic,To(Pc,Ds("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")),To(Oc,Ds("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")),To(Oc,Pc)),nl=Ds("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),rl=Ds("srcset"),Rc=To(nl,rl,Ds("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"),Ds("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")),Tm=Ds("script,style,template");class Sm{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(!tl.hasOwnProperty(n))return this.sanitizedSomething=!0,!Tm.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),a=i.name,d=a.toLowerCase();if(!Rc.hasOwnProperty(d)){this.sanitizedSomething=!0;continue}let p=i.value;nl[d]&&(p=wo(p)),rl[d]&&(e=p,p=(e=String(e)).split(",").map(t=>wo(t.trim())).join(", ")),this.buf.push(" ",a,'="',xc(p),'"')}var e;return this.buf.push(">"),!0}endElement(t){const n=t.nodeName.toLowerCase();tl.hasOwnProperty(n)&&!Ic.hasOwnProperty(n)&&(this.buf.push("</"),this.buf.push(n),this.buf.push(">"))}chars(t){this.buf.push(xc(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 Mm=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Am=/([^\#-~ |!])/g;function xc(e){return e.replace(/&/g,"&").replace(Mm,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(Am,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}let ha;function Nc(e,t){let n=null;try{ha=ha||function Mc(e){const t=new Em(e);return function Cm(){try{return!!(new window.DOMParser).parseFromString(Fi(""),"text/html")}catch(e){return!1}}()?new Dm(t):t}(e);let r=t?String(t):"";n=ha.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=ha.getInertBodyElement(r)}while(r!==i);return Fi((new Sm).sanitizeChildren(sl(n)||n))}finally{if(n){const r=sl(n)||n;for(;r.firstChild;)r.removeChild(r.firstChild)}}}function sl(e){return"content"in e&&function Im(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var Tn=(()=>((Tn=Tn||{})[Tn.NONE=0]="NONE",Tn[Tn.HTML=1]="HTML",Tn[Tn.STYLE=2]="STYLE",Tn[Tn.SCRIPT=3]="SCRIPT",Tn[Tn.URL=4]="URL",Tn[Tn.RESOURCE_URL=5]="RESOURCE_URL",Tn))();function Fc(e){const t=So();return t?bc(t.sanitize(Tn.HTML,e)||""):ki(e,"HTML")?bc(Ns(e)):Nc(Ys(),oe(e))}function il(e){const t=So();return t?t.sanitize(Tn.URL,e)||"":ki(e,"URL")?Ns(e):wo(oe(e))}function So(){const e=Pe();return e&&e[12]}const Bc="__ngContext__";function or(e,t){e[Bc]=t}function al(e){const t=function Mo(e){return e[Bc]||null}(e);return t?Array.isArray(t)?t:t.lView:null}function ul(e){return e.ngOriginalError}function Wm(e,...t){e.error(...t)}class Ao{constructor(){this._console=console}handleError(t){const n=this._findOriginalError(t),r=function Gm(e){return e&&e.ngErrorLogger||Wm}(t);r(this._console,"ERROR",t),n&&r(this._console,"ORIGINAL ERROR",n)}_findOriginalError(t){let n=t&&ul(t);for(;n&&ul(n);)n=ul(n);return n||null}}const $c=(()=>("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(Ue))();function Es(e){return e instanceof Function?e():e}var Cs=(()=>((Cs=Cs||{})[Cs.Important=1]="Important",Cs[Cs.DashCase=2]="DashCase",Cs))();function dl(e,t){return undefined(e,t)}function Io(e){const t=e[3];return Bn(t)?t[3]:t}function hl(e){return Yc(e[13])}function fl(e){return Yc(e[4])}function Yc(e){for(;null!==e&&!Bn(e);)e=e[4];return e}function Bi(e,t,n,r,s){if(null!=r){let i,a=!1;Bn(r)?i=r:Wn(r)&&(a=!0,r=r[0]);const d=S(r);0===e&&null!==n?null==s?ed(t,n,d):pi(t,n,d,s||null,!0):1===e&&null!==n?pi(t,n,d,s||null,!0):2===e?function ad(e,t,n){const r=fa(e,t);r&&function gy(e,t,n,r){m(e)?e.removeChild(t,n,r):t.removeChild(n)}(e,r,t,n)}(t,d,a):3===e&&t.destroyNode(d),null!=i&&function vy(e,t,n,r,s){const i=n[7];i!==S(n)&&Bi(t,e,r,i,s);for(let d=10;d<n.length;d++){const p=n[d];Po(p[1],p,e,t,r,i)}}(t,e,i,n,s)}}function gl(e,t,n){return m(e)?e.createElement(t,n):null===n?e.createElement(t):e.createElementNS(n,t)}function qc(e,t){const n=e[9],r=n.indexOf(t),s=t[3];1024&t[2]&&(t[2]&=-1025,Ur(s,-1)),n.splice(r,1)}function ml(e,t){if(e.length<=10)return;const n=10+t,r=e[n];if(r){const s=r[17];null!==s&&s!==e&&qc(s,r),t>0&&(e[n-1][4]=r[4]);const i=oa(e,10+t);!function ay(e,t){Po(e,t,t[11],2,null,null),t[0]=null,t[6]=null}(r[1],r);const a=i[19];null!==a&&a.detachView(i[1]),r[3]=null,r[4]=null,r[2]&=-129}return r}function Zc(e,t){if(!(256&t[2])){const n=t[11];m(n)&&n.destroyNode&&Po(e,t,n,3,null,null),function cy(e){let t=e[13];if(!t)return yl(e[1],e);for(;t;){let n=null;if(Wn(t))n=t[13];else{const r=t[10];r&&(n=r)}if(!n){for(;t&&!t[4]&&t!==e;)Wn(t)&&yl(t[1],t),t=t[3];null===t&&(t=e),Wn(t)&&yl(t[1],t),n=t&&t[4]}t=n}}(t)}}function yl(e,t){if(!(256&t[2])){t[2]&=-129,t[2]|=256,function py(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 qs)){const i=n[r+1];if(Array.isArray(i))for(let a=0;a<i.length;a+=2){const d=s[i[a]],p=i[a+1];try{p.call(d)}finally{}}else try{i.call(s)}finally{}}}}(e,t),function fy(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 a=n[i+1],d="function"==typeof a?a(t):S(t[a]),p=r[s=n[i+2]],E=n[i+3];"boolean"==typeof E?d.removeEventListener(n[i],p,E):E>=0?r[s=E]():r[s=-E].unsubscribe(),i+=2}else{const a=r[s=n[i+1]];n[i].call(a)}if(null!==r){for(let i=s+1;i<r.length;i++)r[i]();t[7]=null}}(e,t),1===t[1].type&&m(t[11])&&t[11].destroy();const n=t[17];if(null!==n&&Bn(t[3])){n!==t[3]&&qc(n,t);const r=t[19];null!==r&&r.detachView(e)}}}function Jc(e,t,n){return function Xc(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===bt.None||s===bt.Emulated)return null}return He(r,n)}(e,t.parent,n)}function pi(e,t,n,r,s){m(e)?e.insertBefore(t,n,r,s):t.insertBefore(n,r,s)}function ed(e,t,n){m(e)?e.appendChild(t,n):t.appendChild(n)}function td(e,t,n,r,s){null!==r?pi(e,t,n,r,s):ed(e,t,n)}function fa(e,t){return m(e)?e.parentNode(t):t.parentNode}function nd(e,t,n){return sd(e,t,n)}let sd=function rd(e,t,n){return 40&e.type?He(e,n):null};function pa(e,t,n,r){const s=Jc(e,r,t),i=t[11],d=nd(r.parent||t[6],r,t);if(null!=s)if(Array.isArray(n))for(let p=0;p<n.length;p++)td(i,s,n[p],d,!1);else td(i,s,n,d,!1)}function ga(e,t){if(null!==t){const n=t.type;if(3&n)return He(t,e);if(4&n)return _l(-1,e[t.index]);if(8&n){const r=t.child;if(null!==r)return ga(e,r);{const s=e[t.index];return Bn(s)?_l(-1,s):S(s)}}if(32&n)return dl(t,e)()||S(e[t.index]);{const r=od(e,t);return null!==r?Array.isArray(r)?r[0]:ga(Io(e[16]),r):ga(e,t.next)}}return null}function od(e,t){return null!==t?e[16][6].projection[t.projection]:null}function _l(e,t){const n=10+e+1;if(n<t.length){const r=t[n],s=r[1].firstChild;if(null!==s)return ga(r,s)}return t[7]}function Dl(e,t,n,r,s,i,a){for(;null!=n;){const d=r[n.index],p=n.type;if(a&&0===t&&(d&&or(S(d),r),n.flags|=4),64!=(64&n.flags))if(8&p)Dl(e,t,n.child,r,s,i,!1),Bi(t,e,s,d,i);else if(32&p){const E=dl(n,r);let w;for(;w=E();)Bi(t,e,s,w,i);Bi(t,e,s,d,i)}else 16&p?ld(e,t,r,n,s,i):Bi(t,e,s,d,i);n=a?n.projectionNext:n.next}}function Po(e,t,n,r,s,i){Dl(n,r,e.firstChild,t,s,i,!1)}function ld(e,t,n,r,s,i){const a=n[16],p=a[6].projection[r.projection];if(Array.isArray(p))for(let E=0;E<p.length;E++)Bi(t,e,s,p[E],i);else Dl(e,t,p,a[3],s,i,!0)}function ud(e,t,n){m(e)?e.setAttribute(t,"style",n):t.style.cssText=n}function El(e,t,n){m(e)?""===n?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n):t.className=n}function cd(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 dd="ng-template";function Dy(e,t,n){let r=0;for(;r<e.length;){let s=e[r++];if(n&&"class"===s){if(s=e[r],-1!==cd(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 hd(e){return 4===e.type&&e.value!==dd}function Ey(e,t,n){return t===(4!==e.type||n?e.value:dd)}function Cy(e,t,n){let r=4;const s=e.attrs||[],i=function Ty(e){for(let t=0;t<e.length;t++)if(Jo(e[t]))return t;return e.length}(s);let a=!1;for(let d=0;d<t.length;d++){const p=t[d];if("number"!=typeof p){if(!a)if(4&r){if(r=2|1&r,""!==p&&!Ey(e,p,n)||""===p&&1===t.length){if(rs(r))return!1;a=!0}}else{const E=8&r?p:t[++d];if(8&r&&null!==e.attrs){if(!Dy(e.attrs,E,n)){if(rs(r))return!1;a=!0}continue}const P=by(8&r?"class":p,s,hd(e),n);if(-1===P){if(rs(r))return!1;a=!0;continue}if(""!==E){let G;G=P>i?"":s[P+1].toLowerCase();const ee=8&r?G:null;if(ee&&-1!==cd(ee,E,0)||2&r&&E!==G){if(rs(r))return!1;a=!0}}}}else{if(!a&&!rs(r)&&!rs(p))return!1;if(a&&rs(p))continue;a=!1,r=p|1&r}}return rs(r)||a}function rs(e){return 0==(1&e)}function by(e,t,n,r){if(null===t)return-1;let s=0;if(r||!n){let i=!1;for(;s<t.length;){const a=t[s];if(a===e)return s;if(3===a||6===a)i=!0;else{if(1===a||2===a){let d=t[++s];for(;"string"==typeof d;)d=t[++s];continue}if(4===a)break;if(0===a){s+=4;continue}}s+=i?1:2}return-1}return function Sy(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 fd(e,t,n=!1){for(let r=0;r<t.length;r++)if(Cy(e,t[r],n))return!0;return!1}function My(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 pd(e,t){return e?":not("+t.trim()+")":t}function Ay(e){let t=e[0],n=1,r=2,s="",i=!1;for(;n<e.length;){let a=e[n];if("string"==typeof a)if(2&r){const d=e[++n];s+="["+a+(d.length>0?'="'+d+'"':"")+"]"}else 8&r?s+="."+a:4&r&&(s+=" "+a);else""!==s&&!rs(a)&&(t+=pd(i,s),s=""),r=a,i=i||!rs(r);n++}return""!==s&&(t+=pd(i,s)),t}const Et={};function gd(e){md(Tt(),Pe(),We()+e,re())}function md(e,t,n,r){if(!r)if(3==(3&t[2])){const i=e.preOrderCheckHooks;null!==i&&an(t,i,n)}else{const i=e.preOrderHooks;null!==i&&es(t,i,0,n)}Xe(n)}function ma(e,t){return e<<17|t<<2}function ss(e){return e>>17&32767}function Cl(e){return 2|e}function Fs(e){return(131068&e)>>2}function bl(e,t){return-131069&e|t<<2}function wl(e){return 1|e}function Md(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 a=e.data[i];Zn(s),a.contentQueries(2,t[i],i)}}}function Oo(e,t,n,r,s,i,a,d,p,E){const w=t.blueprint.slice();return w[0]=s,w[2]=140|r,br(w),w[3]=w[15]=e,w[8]=n,w[10]=a||e&&e[10],w[11]=d||e&&e[11],w[12]=p||e&&e[12]||null,w[9]=E||e&&e[9]||null,w[6]=i,w[16]=2==t.type?e[16]:w,w}function ji(e,t,n,r,s){let i=e.data[t];if(null===i)i=function xl(e,t,n,r,s){const i=o(),a=b(),p=e.data[t]=function Wy(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,a?i:i&&i.parent,n,t,r,s);return null===e.firstChild&&(e.firstChild=p),null!==i&&(a?null==i.child&&null!==p.parent&&(i.child=p):null===i.next&&(i.next=p)),p}(e,t,n,r,s),function mt(){return tt.lFrame.inI18n}()&&(i.flags|=64);else if(64&i.type){i.type=n,i.value=r,i.attrs=s;const a=function l(){const e=tt.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}();i.injectorIndex=null===a?-1:a.injectorIndex}return f(i,!0),i}function Ui(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 Ro(e,t,n){rr(t);try{const r=e.viewQuery;null!==r&&Vl(1,r,n);const s=e.template;null!==s&&Ad(e,t,s,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),e.staticContentQueries&&Md(e,t),e.staticViewQueries&&Vl(2,e.viewQuery,n);const i=e.components;null!==i&&function $y(e,t){for(let n=0;n<t.length;n++)cv(e,t[n])}(t,i)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[2]&=-5,Xr()}}function Hi(e,t,n,r){const s=t[2];if(256==(256&s))return;rr(t);const i=re();try{br(t),function gt(e){return tt.lFrame.bindingIndex=e}(e.bindingStartIndex),null!==n&&Ad(e,t,n,2,r);const a=3==(3&s);if(!i)if(a){const E=e.preOrderCheckHooks;null!==E&&an(t,E,null)}else{const E=e.preOrderHooks;null!==E&&es(t,E,0,null),sr(t,0)}if(function lv(e){for(let t=hl(e);null!==t;t=fl(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])&&Ur(i,1),s[2]|=1024}}}(t),function av(e){for(let t=hl(e);null!==t;t=fl(t))for(let n=10;n<t.length;n++){const r=t[n],s=r[1];Ht(r)&&Hi(s,r,s.template,r[8])}}(t),null!==e.contentQueries&&Md(e,t),!i)if(a){const E=e.contentCheckHooks;null!==E&&an(t,E)}else{const E=e.contentHooks;null!==E&&es(t,E,1),sr(t,1)}!function Hy(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)Xe(~s);else{const i=s,a=n[++r],d=n[++r];tn(a,i),d(2,t[i])}}}finally{Xe(-1)}}(e,t);const d=e.components;null!==d&&function Vy(e,t){for(let n=0;n<t.length;n++)uv(e,t[n])}(t,d);const p=e.viewQuery;if(null!==p&&Vl(2,p,r),!i)if(a){const E=e.viewCheckHooks;null!==E&&an(t,E)}else{const E=e.viewHooks;null!==E&&es(t,E,2),sr(t,2)}!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),i||(t[2]&=-73),1024&t[2]&&(t[2]&=-1025,Ur(t[3],-1))}finally{Xr()}}function zy(e,t,n,r){const s=t[10],i=!re(),a=Kt(t);try{i&&!a&&s.begin&&s.begin(),a&&Ro(e,t,r),Hi(e,t,n,r)}finally{i&&!a&&s.end&&s.end()}}function Ad(e,t,n,r,s){const i=We(),a=2&r;try{Xe(-1),a&&t.length>20&&md(e,t,20,re()),n(r,s)}finally{Xe(i)}}function Id(e,t,n){if(Er(t)){const s=t.directiveEnd;for(let i=t.directiveStart;i<s;i++){const a=e.data[i];a.contentQueries&&a.contentQueries(1,n[i],i)}}}function Nl(e,t,n){!Rs()||(function Xy(e,t,n,r){const s=n.directiveStart,i=n.directiveEnd;e.firstCreatePass||Ii(n,t),or(r,t);const a=n.initialInputs;for(let d=s;d<i;d++){const p=e.data[d],E=Wt(p);E&&sv(t,n,p);const w=Bt(t,e,d,n);or(w,t),null!==a&&iv(0,d-s,w,p,0,a),E&&(ct(n.index,t)[8]=w)}}(e,t,n,He(n,t)),128==(128&n.flags)&&function ev(e,t,n){const r=n.directiveStart,s=n.directiveEnd,a=n.index,d=function on(){return tt.lFrame.currentDirectiveIndex}();try{Xe(a);for(let p=r;p<s;p++){const E=e.data[p],w=t[p];vn(p),(null!==E.hostBindings||0!==E.hostVars||null!==E.hostAttrs)&&Ld(E,w)}}finally{Xe(-1),vn(d)}}(e,t,n))}function Fl(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 a=r[i+1],d=-1===a?n(t,e):e[a];e[s++]=d}}}function Pd(e){const t=e.tView;return null===t||t.incompleteFirstPass?e.tView=_a(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts):t}function _a(e,t,n,r,s,i,a,d,p,E){const w=20+r,P=w+s,G=function Gy(e,t){const n=[];for(let r=0;r<t;r++)n.push(r<e?null:Et);return n}(w,P),ee="function"==typeof E?E():E;return G[1]={type:e,blueprint:G,template:n,queries:null,viewQuery:d,declTNode:t,data:G.slice().fill(null,w),bindingStartIndex:w,expandoStartIndex:P,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 a?a():a,firstChild:null,schemas:p,consts:ee,incompleteFirstPass:!1}}function xd(e,t,n,r){const s=$d(t);null===n?s.push(r):(s.push(n),e.firstCreatePass&&zd(e).push(r,s.length-1))}function Nd(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 xr(e,t,n,r,s,i,a,d){const p=He(t,n);let w,E=t.inputs;!d&&null!=E&&(w=E[r])?(Kd(e,n,w,r,s),Qr(t)&&function Qy(e,t){const n=ct(t,e);16&n[2]||(n[2]|=64)}(n,t.index)):3&t.type&&(r=function Yy(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(r),s=null!=a?a(s,t.value||"",r):s,m(i)?i.setProperty(p,r,s):po(r)||(p.setProperty?p.setProperty(r,s):p[r]=s))}function kl(e,t,n,r){let s=!1;if(Rs()){const i=function tv(e,t,n){const r=e.directiveRegistry;let s=null;if(r)for(let i=0;i<r.length;i++){const a=r[i];fd(n,a.selectors,!1)&&(s||(s=[]),y(Ii(n,t),e,a.type),Wt(a)?(Bd(e,n),s.unshift(a)):s.push(a))}return s}(e,t,n),a=null===r?null:{"":-1};if(null!==i){s=!0,jd(n,e.data.length,i.length);for(let w=0;w<i.length;w++){const P=i[w];P.providersResolver&&P.providersResolver(P)}let d=!1,p=!1,E=Ui(e,t,i.length,null);for(let w=0;w<i.length;w++){const P=i[w];n.mergedAttrs=Mi(n.mergedAttrs,P.hostAttrs),Ud(e,n,t,E,P),rv(E,P,a),null!==P.contentQueries&&(n.flags|=8),(null!==P.hostBindings||null!==P.hostAttrs||0!==P.hostVars)&&(n.flags|=128);const G=P.type.prototype;!d&&(G.ngOnChanges||G.ngOnInit||G.ngDoCheck)&&((e.preOrderHooks||(e.preOrderHooks=[])).push(n.index),d=!0),!p&&(G.ngOnChanges||G.ngDoCheck)&&((e.preOrderCheckHooks||(e.preOrderCheckHooks=[])).push(n.index),p=!0),E++}!function Ky(e,t){const r=t.directiveEnd,s=e.data,i=t.attrs,a=[];let d=null,p=null;for(let E=t.directiveStart;E<r;E++){const w=s[E],P=w.inputs,G=null===i||hd(t)?null:ov(P,i);a.push(G),d=Nd(P,E,d),p=Nd(w.outputs,E,p)}null!==d&&(d.hasOwnProperty("class")&&(t.flags|=16),d.hasOwnProperty("style")&&(t.flags|=32)),t.initialInputs=a,t.inputs=d,t.outputs=p}(e,n)}a&&function nv(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 be("301",`Export of name '${t[s+1]}' not found!`);r.push(t[s],i)}}}(n,r,a)}return n.mergedAttrs=Mi(n.mergedAttrs,n.attrs),s}function kd(e,t,n,r,s,i){const a=i.hostBindings;if(a){let d=e.hostBindingOpCodes;null===d&&(d=e.hostBindingOpCodes=[]);const p=~t.index;(function Jy(e){let t=e.length;for(;t>0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(d)!=p&&d.push(p),d.push(r,s,a)}}function Ld(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function Bd(e,t){t.flags|=2,(e.components||(e.components=[])).push(t.index)}function rv(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;Wt(t)&&(n[""]=e)}}function jd(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function Ud(e,t,n,r,s){e.data[r]=s;const i=s.factory||(s.factory=yn(s.type)),a=new qs(i,Wt(s),null);e.blueprint[r]=a,n[r]=a,kd(e,t,0,r,Ui(e,n,s.hostVars,Et),s)}function sv(e,t,n){const r=He(t,e),s=Pd(n),i=e[10],a=Da(e,Oo(e,s,null,n.onPush?64:16,r,t,i,i.createRenderer(r,n),null,null));e[t.index]=a}function bs(e,t,n,r,s,i){const a=He(e,t);!function Ll(e,t,n,r,s,i,a){if(null==i)m(e)?e.removeAttribute(t,s,n):t.removeAttribute(s);else{const d=null==a?oe(i):a(i,r||"",s);m(e)?e.setAttribute(t,s,d,n):n?t.setAttributeNS(n,s,d):t.setAttribute(s,d)}}(t[11],a,i,e.value,n,r,s)}function iv(e,t,n,r,s,i){const a=i[t];if(null!==a){const d=r.setInput;for(let p=0;p<a.length;){const E=a[p++],w=a[p++],P=a[p++];null!==d?r.setInput(n,P,E,w):n[w]=P}}}function ov(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 Hd(e,t,n,r){return new Array(e,!0,!1,t,null,0,r,n,null,null)}function uv(e,t){const n=ct(t,e);if(Ht(n)){const r=n[1];80&n[2]?Hi(r,n,r.template,n[8]):n[5]>0&&Bl(n)}}function Bl(e){for(let r=hl(e);null!==r;r=fl(r))for(let s=10;s<r.length;s++){const i=r[s];if(1024&i[2]){const a=i[1];Hi(a,i,a.template,i[8])}else i[5]>0&&Bl(i)}const n=e[1].components;if(null!==n)for(let r=0;r<n.length;r++){const s=ct(n[r],e);Ht(s)&&s[5]>0&&Bl(s)}}function cv(e,t){const n=ct(t,e),r=n[1];(function dv(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])})(r,n),Ro(r,n,n[8])}function Da(e,t){return e[13]?e[14][4]=t:e[13]=t,e[14]=t,t}function jl(e){for(;e;){e[2]|=64;const t=Io(e);if(ii(e)&&!t)return e;e=t}return null}function Hl(e,t,n){const r=t[10];r.begin&&r.begin();try{Hi(e,t,e.template,n)}catch(s){throw Wd(t,s),s}finally{r.end&&r.end()}}function Vd(e){!function Ul(e){for(let t=0;t<e.components.length;t++){const n=e.components[t],r=al(n),s=r[1];zy(s,r,s.template,n)}}(e[8])}function Vl(e,t,n){Zn(0),t(e,n)}const gv=(()=>Promise.resolve(null))();function $d(e){return e[7]||(e[7]=[])}function zd(e){return e.cleanup||(e.cleanup=[])}function Gd(e,t,n){return(null===e||Wt(e))&&(n=function H(e){for(;Array.isArray(e);){if("object"==typeof e[1])return e;e=e[0]}return null}(n[t.index])),n[11]}function Wd(e,t){const n=e[9],r=n?n.get(Ao,null):null;r&&r.handleError(t)}function Kd(e,t,n,r,s){for(let i=0;i<n.length;){const a=n[i++],d=n[i++],p=t[a],E=e.data[a];null!==E.setInput?E.setInput(p,s,r,d):p[d]=s}}function ks(e,t,n){const r=Ie(t,e);!function Qc(e,t,n){m(e)?e.setValue(t,n):t.textContent=n}(e[11],r,n)}function Ea(e,t,n){let r=n?e.styles:null,s=n?e.classes:null,i=0;if(null!==t)for(let a=0;a<t.length;a++){const d=t[a];"number"==typeof d?i=d:1==i?s=ae(s,d):2==i&&(r=ae(r,d+": "+t[++a]+";"))}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=s:e.classesWithoutHost=s}const $l=new Dn("INJECTOR",-1);class Yd{get(t,n=_o){if(n===_o){const r=new Error(`NullInjectorError: No provider for ${F(t)}!`);throw r.name="NullInjectorError",r}return n}}const zl=new Dn("Set Injector scope."),xo={},vv={};let Gl;function Qd(){return void 0===Gl&&(Gl=new Yd),Gl}function qd(e,t=null,n=null,r){const s=Zd(e,t,n,r);return s._resolveInjectorDefTypes(),s}function Zd(e,t=null,n=null,r){return new _v(e,n,t||Qd(),r)}class _v{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&&_s(n,d=>this.processProvider(d,t,n)),_s([t],d=>this.processInjectorType(d,[],i)),this.records.set($l,Vi(void 0,this));const a=this.records.get(zl);this.scope=null!=a?a.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=_o,r=nt.Default){this.assertNotDestroyed();const s=yc(this),i=K(void 0);try{if(!(r&nt.SkipSelf)){let d=this.records.get(t);if(void 0===d){const p=function Mv(e){return"function"==typeof e||"object"==typeof e&&e instanceof Dn}(t)&&Gt(t);d=p&&this.injectableDefInScope(p)?Vi(Wl(t),xo):null,this.records.set(t,d)}if(null!=d)return this.hydrate(t,d)}return(r&nt.Self?Qd():this.parent).get(t,n=r&nt.Optional&&n===_o?null:n)}catch(a){if("NullInjectorError"===a.name){if((a[la]=a[la]||[]).unshift(F(t)),s)throw a;return function Jg(e,t,n,r){const s=e[la];throw t[mc]&&s.unshift(t[mc]),e.message=function Xg(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 a in t)if(t.hasOwnProperty(a)){let d=t[a];i.push(a+":"+("string"==typeof d?JSON.stringify(d):F(d)))}s=`{${i.join(", ")}}`}return`${n}${r?"("+r+")":""}[${s}]: ${e.replace(Wg,"\n ")}`}("\n"+e.message,s,n,r),e.ngTokenPath=s,e[la]=null,e}(a,t,"R3InjectorError",this.source)}throw a}finally{K(i),yc(s)}}_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=Xn(t);const i=null==s&&t.ngModule||void 0,a=void 0===i?t:i,d=-1!==r.indexOf(a);if(void 0!==i&&(s=Xn(i)),null==s)return!1;if(null!=s.imports&&!d){let w;r.push(a);try{_s(s.imports,P=>{this.processInjectorType(P,n,r)&&(void 0===w&&(w=[]),w.push(P))})}finally{}if(void 0!==w)for(let P=0;P<w.length;P++){const{ngModule:G,providers:ee}=w[P];_s(ee,ve=>this.processProvider(ve,G,ee||st))}}this.injectorDefTypes.add(a);const p=yn(a)||(()=>new a);this.records.set(a,Vi(p,xo));const E=s.providers;if(null!=E&&!d){const w=t;_s(E,P=>this.processProvider(P,w,E))}return void 0!==i&&void 0!==t.providers}processProvider(t,n,r){let s=$i(t=te(t))?t:te(t&&t.provide);const i=function Ev(e,t,n){return Xd(e)?Vi(void 0,e.useValue):Vi(Jd(e),xo)}(t);if($i(t)||!0!==t.multi)this.records.get(s);else{let a=this.records.get(s);a||(a=Vi(void 0,xo,!0),a.factory=()=>Za(a.multi),this.records.set(s,a)),s=t,a.multi.push(t)}this.records.set(s,i)}hydrate(t,n){return n.value===xo&&(n.value=vv,n.value=n.factory()),"object"==typeof n.value&&n.value&&function Sv(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(n.value)&&this.onDestroy.add(n.value),n.value}injectableDefInScope(t){if(!t.providedIn)return!1;const n=te(t.providedIn);return"string"==typeof n?"any"===n||n===this.scope:this.injectorDefTypes.has(n)}}function Wl(e){const t=Gt(e),n=null!==t?t.factory:yn(e);if(null!==n)return n;if(e instanceof Dn)throw new Error(`Token ${F(e)} is missing a \u0275prov definition.`);if(e instanceof Function)return function Dv(e){const t=e.length;if(t>0){const r=vo(t,"?");throw new Error(`Can't resolve all parameters for ${F(e)}: (${r.join(", ")}).`)}const n=function rn(e){const t=e&&(e[$n]||e[Vt]);if(t){const n=function Vn(e){if(e.hasOwnProperty("name"))return e.name;const t=(""+e).match(/^function\s*([^\s(]+)/);return null===t?"":t[1]}(e);return console.warn(`DEPRECATED: DI is instantiating a token "${n}" that inherits its @Injectable decorator but does not provide one itself.\nThis will become an error in a future version of Angular. Please add @Injectable() to the "${n}" class.`),t}return null}(e);return null!==n?()=>n.factory(e):()=>new e}(e);throw new Error("unreachable")}function Jd(e,t,n){let r;if($i(e)){const s=te(e);return yn(s)||Wl(s)}if(Xd(e))r=()=>te(e.useValue);else if(function bv(e){return!(!e||!e.useFactory)}(e))r=()=>e.useFactory(...Za(e.deps||[]));else if(function Cv(e){return!(!e||!e.useExisting)}(e))r=()=>Qn(te(e.useExisting));else{const s=te(e&&(e.useClass||e.provide));if(!function Tv(e){return!!e.deps}(e))return yn(s)||Wl(s);r=()=>new s(...Za(e.deps))}return r}function Vi(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function Xd(e){return null!==e&&"object"==typeof e&&Yg in e}function $i(e){return"function"==typeof e}let Wr=(()=>{class e{static create(n,r){var s;if(Array.isArray(n))return qd({name:""},r,n,"");{const i=null!==(s=n.name)&&void 0!==s?s:"";return qd({name:i},n.parent,n.providers,i)}}}return e.THROW_IF_NOT_FOUND=_o,e.NULL=new Yd,e.\u0275prov=je({token:e,providedIn:"any",factory:()=>Qn($l)}),e.__NG_ELEMENT_ID__=-1,e})();function Fv(e,t){Jn(al(e)[1],C())}function Ql(e){let t=function dh(e){return Object.getPrototypeOf(e.prototype).constructor}(e.type),n=!0;const r=[e];for(;t;){let s;if(Wt(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 a=e;a.inputs=ql(e.inputs),a.declaredInputs=ql(e.declaredInputs),a.outputs=ql(e.outputs);const d=s.hostBindings;d&&jv(e,d);const p=s.viewQuery,E=s.contentQueries;if(p&&Lv(e,p),E&&Bv(e,E),V(e.inputs,s.inputs),V(e.declaredInputs,s.declaredInputs),V(e.outputs,s.outputs),Wt(s)&&s.data.animation){const w=e.data;w.animation=(w.animation||[]).concat(s.data.animation)}}const i=s.features;if(i)for(let a=0;a<i.length;a++){const d=i[a];d&&d.ngInherit&&d(e),d===Ql&&(n=!1)}}t=Object.getPrototypeOf(t)}!function kv(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=Mi(s.hostAttrs,n=Mi(n,s.hostAttrs))}}(r)}function ql(e){return e===vt?{}:e===st?[]:e}function Lv(e,t){const n=e.viewQuery;e.viewQuery=n?(r,s)=>{t(r,s),n(r,s)}:t}function Bv(e,t){const n=e.contentQueries;e.contentQueries=n?(r,s,i)=>{t(r,s,i),n(r,s,i)}:t}function jv(e,t){const n=e.hostBindings;e.hostBindings=n?(r,s)=>{t(r,s),n(r,s)}:t}let Ca=null;function zi(){if(!Ca){const e=Ue.Symbol;if(e&&e.iterator)Ca=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&&(Ca=r)}}}return Ca}function No(e){return!!Zl(e)&&(Array.isArray(e)||!(e instanceof Map)&&zi()in e)}function Zl(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function ws(e,t,n){return e[t]=n}function Fo(e,t){return e[t]}function ar(e,t,n){return!Object.is(e[t],n)&&(e[t]=n,!0)}function gi(e,t,n,r){const s=ar(e,t,n);return ar(e,t+1,r)||s}function Kr(e,t,n,r,s,i){const a=gi(e,t,n,r);return gi(e,t+2,s,i)||a}function Jl(e,t,n,r){const s=Pe();return ar(s,_t(),t)&&(Tt(),bs(Je(),s,e,t,n,r)),Jl}function Wi(e,t,n,r){return ar(e,_t(),n)?t+oe(n)+r:Et}function Ki(e,t,n,r,s,i){const d=gi(e,function $e(){return tt.lFrame.bindingIndex}(),n,s);return Ze(2),d?t+oe(n)+r+oe(s)+i:Et}function Eh(e,t,n,r,s,i,a,d){const p=Pe(),E=Tt(),w=e+20,P=E.firstCreatePass?function Wv(e,t,n,r,s,i,a,d,p){const E=t.consts,w=ji(t,e,4,a||null,On(E,d));kl(t,n,w,On(E,p)),Jn(t,w);const P=w.tViews=_a(2,w,r,s,i,t.directiveRegistry,t.pipeRegistry,null,t.schemas,E);return null!==t.queries&&(t.queries.template(t,w),P.queries=t.queries.embeddedTView(w)),w}(w,E,p,t,n,r,s,i,a):E.data[w];f(P,!1);const G=p[11].createComment("");pa(E,p,G,P),or(G,p),Da(p,p[w]=Hd(G,p,G,P)),Ir(P)&&Nl(E,p,P),null!=a&&Fl(p,P,d)}function Ch(e){return Nt(function j(){return tt.lFrame.contextLView}(),20+e)}function ko(e,t=nt.Default){const n=Pe();return null===n?Qn(e,t):W(C(),n,te(e),t)}function xh(){throw new Error("invalid")}function ru(e,t,n){const r=Pe();return ar(r,_t(),t)&&xr(Tt(),Je(),r,e,t,r[11],n,!1),ru}function su(e,t,n,r,s){const a=s?"class":"style";Kd(e,n,t.inputs[a],a,r)}function iu(e,t,n,r){const s=Pe(),i=Tt(),a=20+e,d=s[11],p=s[a]=gl(d,t,function Xt(){return tt.lFrame.currentNamespace}()),E=i.firstCreatePass?function f_(e,t,n,r,s,i,a){const d=t.consts,E=ji(t,e,2,s,On(d,i));return kl(t,n,E,On(d,a)),null!==E.attrs&&Ea(E,E.attrs,!1),null!==E.mergedAttrs&&Ea(E,E.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,E),E}(a,i,s,0,t,n,r):i.data[a];f(E,!0);const w=E.mergedAttrs;null!==w&&di(d,p,w);const P=E.classes;null!==P&&El(d,p,P);const G=E.styles;null!==G&&ud(d,p,G),64!=(64&E.flags)&&pa(i,s,p,E),0===function Os(){return tt.lFrame.elementDepthCount}()&&or(p,s),function ys(){tt.lFrame.elementDepthCount++}(),Ir(E)&&(Nl(i,s,E),Id(i,E,s)),null!==r&&Fl(s,E)}function ou(){let e=C();b()?I():(e=e.parent,f(e,!1));const t=e;!function uo(){tt.lFrame.elementDepthCount--}();const n=Tt();n.firstCreatePass&&(Jn(n,e),Er(e)&&n.queries.elementEnd(e)),null!=t.classesWithoutHost&&function Zo(e){return 0!=(16&e.flags)}(t)&&su(n,t,Pe(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function fo(e){return 0!=(32&e.flags)}(t)&&su(n,t,Pe(),t.stylesWithoutHost,!1)}function Nh(e,t,n,r){iu(e,t,n,r),ou()}function au(e,t,n){const r=Pe(),s=Tt(),i=e+20,a=s.firstCreatePass?function p_(e,t,n,r,s){const i=t.consts,a=On(i,r),d=ji(t,e,8,"ng-container",a);return null!==a&&Ea(d,a,!0),kl(t,n,d,On(i,s)),null!==t.queries&&t.queries.elementStart(t,d),d}(i,s,r,t,n):s.data[i];f(a,!0);const d=r[i]=r[11].createComment("");pa(s,r,d,a),or(d,r),Ir(a)&&(Nl(s,r,a),Id(s,a,r)),null!=n&&Fl(r,a)}function lu(){let e=C();const t=Tt();b()?I():(e=e.parent,f(e,!1)),t.firstCreatePass&&(Jn(t,e),Er(e)&&t.queries.elementEnd(e))}function Fh(e,t,n){au(e,t,n),lu()}function kh(){return Pe()}function uu(e){return!!e&&"function"==typeof e.then}function Lh(e){return!!e&&"function"==typeof e.subscribe}const Bh=Lh;function cu(e,t,n,r){const s=Pe(),i=Tt(),a=C();return jh(i,s,s[11],a,e,t,!!n,r),cu}function du(e,t){const n=C(),r=Pe(),s=Tt();return jh(s,r,Gd(_n(s.data),n,r),n,e,t,!1),du}function jh(e,t,n,r,s,i,a,d){const p=Ir(r),w=e.firstCreatePass&&zd(e),P=t[8],G=$d(t);let ee=!0;if(3&r.type||d){const Be=He(r,t),qe=d?d(Be):Be,Me=G.length,ot=d?xt=>d(S(xt[r.index])):r.index;if(m(n)){let xt=null;if(!d&&p&&(xt=function g_(e,t,n,r){const s=e.cleanup;if(null!=s)for(let i=0;i<s.length-1;i+=2){const a=s[i];if(a===n&&s[i+1]===r){const d=t[7],p=s[i+2];return d.length>p?d[p]:null}"string"==typeof a&&(i+=2)}return null}(e,t,s,r.index)),null!==xt)(xt.__ngLastListenerFn__||xt).__ngNextListenerFn__=i,xt.__ngLastListenerFn__=i,ee=!1;else{i=hu(r,t,P,i,!1);const Qt=n.listen(qe,s,i);G.push(i,Qt),w&&w.push(s,ot,Me,Me+1)}}else i=hu(r,t,P,i,!0),qe.addEventListener(s,i,a),G.push(i),w&&w.push(s,ot,Me,a)}else i=hu(r,t,P,i,!1);const ve=r.outputs;let xe;if(ee&&null!==ve&&(xe=ve[s])){const Be=xe.length;if(Be)for(let qe=0;qe<Be;qe+=2){const Fr=t[xe[qe]][xe[qe+1]].subscribe(i),vi=G.length;G.push(i,Fr),w&&w.push(s,r.index,vi,-(vi+1))}}}function Uh(e,t,n,r){try{return!1!==n(r)}catch(s){return Wd(e,s),!1}}function hu(e,t,n,r,s){return function i(a){if(a===Function)return r;const d=2&e.flags?ct(e.index,t):t;0==(32&t[2])&&jl(d);let p=Uh(t,0,r,a),E=i.__ngNextListenerFn__;for(;E;)p=Uh(t,0,E,a)&&p,E=E.__ngNextListenerFn__;return s&&!1===p&&(a.preventDefault(),a.returnValue=!1),p}}function Hh(e=1){return function wi(e){return(tt.lFrame.contextLView=function Ye(e,t){for(;e>0;)t=t[15],e--;return t}(e,tt.lFrame.contextLView))[8]}(e)}function m_(e,t){let n=null;const r=function wy(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?fd(e,i,!0):My(r,i))return s}else n=s}return n}function Vh(e){const t=Pe()[16][6];if(!t.projection){const r=t.projection=vo(e?e.length:1,null),s=r.slice();let i=t.child;for(;null!==i;){const a=e?m_(i,e):0;null!==a&&(s[a]?s[a].projectionNext=i:r[a]=i,s[a]=i),i=i.next}}}function $h(e,t=0,n){const r=Pe(),s=Tt(),i=ji(s,20+e,16,null,n||null);null===i.projection&&(i.projection=t),I(),64!=(64&i.flags)&&function yy(e,t,n){ld(t[11],0,t,n,Jc(e,n,t),nd(n.parent||t[6],n,t))}(s,r,i)}function fu(e,t,n){return Ta(e,"",t,"",n),fu}function Ta(e,t,n,r,s){const i=Pe(),a=Wi(i,t,n,r);return a!==Et&&xr(Tt(),Je(),i,e,a,i[11],s,!1),Ta}function Jh(e,t,n,r,s){const i=e[n+1],a=null===t;let d=r?ss(i):Fs(i),p=!1;for(;0!==d&&(!1===p||a);){const w=e[d+1];__(e[d],t)&&(p=!0,e[d+1]=r?wl(w):Cl(w)),d=r?ss(w):Fs(w)}p&&(e[n+1]=r?Cl(i):wl(i))}function __(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&Ri(e,t)>=0}const Un={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Xh(e){return e.substring(Un.key,Un.keyEnd)}function ef(e,t){const n=Un.textEnd;return n===t?-1:(t=Un.keyEnd=function b_(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}(e,Un.key=t,n),to(e,t,n))}function to(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function pu(e,t,n){return os(e,t,n,!1),pu}function gu(e,t){return os(e,t,null,!0),gu}function of(e){as(Rr,Ss,e,!0)}function Ss(e,t){for(let n=function E_(e){return function nf(e){Un.key=0,Un.keyEnd=0,Un.value=0,Un.valueEnd=0,Un.textEnd=e.length}(e),ef(e,to(e,0,Un.textEnd))}(t);n>=0;n=ef(t,n))Rr(e,Xh(t),!0)}function os(e,t,n,r){const s=Pe(),i=Tt(),a=Ze(2);i.firstUpdatePass&&lf(i,e,a,r),t!==Et&&ar(s,a,t)&&cf(i,i.data[We()],s,s[11],e,s[a+1]=function x_(e,t){return null==e||("string"==typeof t?e+=t:"object"==typeof e&&(e=F(Ns(e)))),e}(t,n),r,a)}function as(e,t,n,r){const s=Tt(),i=Ze(2);s.firstUpdatePass&&lf(s,null,i,r);const a=Pe();if(n!==Et&&ar(a,i,n)){const d=s.data[We()];if(hf(d,r)&&!af(s,i)){let p=r?d.classesWithoutHost:d.stylesWithoutHost;null!==p&&(n=ae(p,n||"")),su(s,d,a,n,r)}else!function R_(e,t,n,r,s,i,a,d){s===Et&&(s=st);let p=0,E=0,w=0<s.length?s[0]:null,P=0<i.length?i[0]:null;for(;null!==w||null!==P;){const G=p<s.length?s[p+1]:void 0,ee=E<i.length?i[E+1]:void 0;let xe,ve=null;w===P?(p+=2,E+=2,G!==ee&&(ve=P,xe=ee)):null===P||null!==w&&w<P?(p+=2,ve=w):(E+=2,ve=P,xe=ee),null!==ve&&cf(e,t,n,r,ve,xe,a,d),w=p<s.length?s[p]:null,P=E<i.length?i[E]:null}}(s,d,a,a[11],a[i+1],a[i+1]=function O_(e,t,n){if(null==n||""===n)return st;const r=[],s=Ns(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 af(e,t){return t>=e.expandoStartIndex}function lf(e,t,n,r){const s=e.data;if(null===s[n+1]){const i=s[We()],a=af(e,n);hf(i,r)&&null===t&&!a&&(t=!1),t=function M_(e,t,n,r){const s=_n(e);let i=r?t.residualClasses:t.residualStyles;if(null===s)0===(r?t.classBindings:t.styleBindings)&&(n=Lo(n=mu(null,e,t,n,r),t.attrs,r),i=null);else{const a=t.directiveStylingLast;if(-1===a||e[a]!==s)if(n=mu(s,e,t,n,r),null===i){let p=function A_(e,t,n){const r=n?t.classBindings:t.styleBindings;if(0!==Fs(r))return e[ss(r)]}(e,t,r);void 0!==p&&Array.isArray(p)&&(p=mu(null,e,t,p[1],r),p=Lo(p,t.attrs,r),function I_(e,t,n,r){e[ss(n?t.classBindings:t.styleBindings)]=r}(e,t,r,p))}else i=function P_(e,t,n){let r;const s=t.directiveEnd;for(let i=1+t.directiveStylingLast;i<s;i++)r=Lo(r,e[i].hostAttrs,n);return Lo(r,t.attrs,n)}(e,t,r)}return void 0!==i&&(r?t.residualClasses=i:t.residualStyles=i),n}(s,i,t,r),function y_(e,t,n,r,s,i){let a=i?t.classBindings:t.styleBindings,d=ss(a),p=Fs(a);e[r]=n;let w,E=!1;if(Array.isArray(n)){const P=n;w=P[1],(null===w||Ri(P,w)>0)&&(E=!0)}else w=n;if(s)if(0!==p){const G=ss(e[d+1]);e[r+1]=ma(G,d),0!==G&&(e[G+1]=bl(e[G+1],r)),e[d+1]=function Oy(e,t){return 131071&e|t<<17}(e[d+1],r)}else e[r+1]=ma(d,0),0!==d&&(e[d+1]=bl(e[d+1],r)),d=r;else e[r+1]=ma(p,0),0===d?d=r:e[p+1]=bl(e[p+1],r),p=r;E&&(e[r+1]=Cl(e[r+1])),Jh(e,w,r,!0),Jh(e,w,r,!1),function v_(e,t,n,r,s){const i=s?e.residualClasses:e.residualStyles;null!=i&&"string"==typeof t&&Ri(i,t)>=0&&(n[r+1]=wl(n[r+1]))}(t,w,e,r,i),a=ma(d,p),i?t.classBindings=a:t.styleBindings=a}(s,i,t,n,a,r)}}function mu(e,t,n,r,s){let i=null;const a=n.directiveEnd;let d=n.directiveStylingLast;for(-1===d?d=n.directiveStart:d++;d<a&&(i=t[d],r=Lo(r,i.hostAttrs,s),i!==e);)d++;return null!==e&&(n.directiveStylingLast=d),r}function Lo(e,t,n){const r=n?1:2;let s=-1;if(null!==t)for(let i=0;i<t.length;i++){const a=t[i];"number"==typeof a?s=a:s===r&&(Array.isArray(e)||(e=void 0===e?[]:["",e]),Rr(e,a,!!n||t[++i]))}return void 0===e?null:e}function cf(e,t,n,r,s,i,a,d){if(!(3&t.type))return;const p=e.data,E=p[d+1];Sa(function _d(e){return 1==(1&e)}(E)?df(p,t,n,s,Fs(E),a):void 0)||(Sa(i)||function vd(e){return 2==(2&e)}(E)&&(i=df(p,null,n,s,d,a)),function _y(e,t,n,r,s){const i=m(e);if(t)s?i?e.addClass(n,r):n.classList.add(r):i?e.removeClass(n,r):n.classList.remove(r);else{let a=-1===r.indexOf("-")?void 0:Cs.DashCase;if(null==s)i?e.removeStyle(n,r,a):n.style.removeProperty(r);else{const d="string"==typeof s&&s.endsWith("!important");d&&(s=s.slice(0,-10),a|=Cs.Important),i?e.setStyle(n,r,s,a):n.style.setProperty(r,s,d?"important":"")}}}(r,a,Ie(We(),n),s,i))}function df(e,t,n,r,s,i){const a=null===t;let d;for(;s>0;){const p=e[s],E=Array.isArray(p),w=E?p[1]:p,P=null===w;let G=n[s+1];G===Et&&(G=P?st:void 0);let ee=P?Ya(G,r):w===r?G:void 0;if(E&&!Sa(ee)&&(ee=Ya(p,r)),Sa(ee)&&(d=ee,a))return d;const ve=e[s+1];s=a?ss(ve):Fs(ve)}if(null!==t){let p=i?t.residualClasses:t.residualStyles;null!=p&&(d=Ya(p,r))}return d}function Sa(e){return void 0!==e}function hf(e,t){return 0!=(e.flags&(t?16:32))}function ff(e,t=""){const n=Pe(),r=Tt(),s=e+20,i=r.firstCreatePass?ji(r,s,1,t,null):r.data[s],a=n[s]=function pl(e,t){return m(e)?e.createText(t):e.createTextNode(t)}(n[11],t);pa(r,n,a,i),f(i,!1)}function yu(e){return Ma("",e,""),yu}function Ma(e,t,n){const r=Pe(),s=Wi(r,e,t,n);return s!==Et&&ks(r,We(),s),Ma}function vu(e,t,n,r,s){const i=Pe(),a=Ki(i,e,t,n,r,s);return a!==Et&&ks(i,We(),a),vu}function Ef(e,t,n){as(Rr,Ss,Wi(Pe(),e,t,n),!0)}function _u(e,t,n){const r=Pe();return ar(r,_t(),t)&&xr(Tt(),Je(),r,e,t,r[11],n,!0),_u}function Du(e,t,n){const r=Pe();if(ar(r,_t(),t)){const i=Tt(),a=Je();xr(i,a,r,e,t,Gd(_n(i.data),a,r),n,!0)}return Du}const mi=void 0;var J_=["en",[["a","p"],["AM","PM"],mi],[["AM","PM"],mi,mi],[["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"]],mi,[["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"]],mi,[["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}",mi,"{1} 'at' {0}",mi],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function Z_(e){const n=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length;return 1===n&&0===r?1:5}];let no={};function Eu(e){const t=function X_(e){return e.toLowerCase().replace(/_/g,"-")}(e);let n=Rf(t);if(n)return n;const r=t.split("-")[0];if(n=Rf(r),n)return n;if("en"===r)return J_;throw new Error(`Missing locale data for the locale "${e}".`)}function Of(e){return Eu(e)[dt.PluralCase]}function Rf(e){return e in no||(no[e]=Ue.ng&&Ue.ng.common&&Ue.ng.common.locales&&Ue.ng.common.locales[e]),no[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 Aa="en-US";let xf=Aa;function wu(e,t,n,r,s){if(e=te(e),Array.isArray(e))for(let i=0;i<e.length;i++)wu(e[i],t,n,r,s);else{const i=Tt(),a=Pe();let d=$i(e)?e:te(e.provide),p=Jd(e);const E=C(),w=1048575&E.providerIndexes,P=E.directiveStart,G=E.providerIndexes>>20;if($i(e)||!e.multi){const ee=new qs(p,s,ko),ve=Su(d,t,s?w:w+G,P);-1===ve?(y(Ii(E,a),i,d),Tu(i,e,t.length),t.push(d),E.directiveStart++,E.directiveEnd++,s&&(E.providerIndexes+=1048576),n.push(ee),a.push(ee)):(n[ve]=ee,a[ve]=ee)}else{const ee=Su(d,t,w+G,P),ve=Su(d,t,w,w+G),xe=ee>=0&&n[ee],Be=ve>=0&&n[ve];if(s&&!Be||!s&&!xe){y(Ii(E,a),i,d);const qe=function ZD(e,t,n,r,s){const i=new qs(e,n,ko);return i.multi=[],i.index=t,i.componentProviders=0,rp(i,s,r&&!n),i}(s?qD:QD,n.length,s,r,p);!s&&Be&&(n[ve].providerFactory=qe),Tu(i,e,t.length,0),t.push(d),E.directiveStart++,E.directiveEnd++,s&&(E.providerIndexes+=1048576),n.push(qe),a.push(qe)}else Tu(i,e,ee>-1?ee:ve,rp(n[s?ve:ee],p,!s&&r));!s&&r&&Be&&n[ve].componentProviders++}}}function Tu(e,t,n,r){const s=$i(t),i=function wv(e){return!!e.useClass}(t);if(s||i){const p=(i?te(t.useClass):t).prototype.ngOnDestroy;if(p){const E=e.destroyHooks||(e.destroyHooks=[]);if(!s&&t.multi){const w=E.indexOf(n);-1===w?E.push(n,[r,p]):E[w+1].push(r,p)}else E.push(n,p)}}}function rp(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function Su(e,t,n,r){for(let s=n;s<r;s++)if(t[s]===e)return s;return-1}function QD(e,t,n,r){return Mu(this.multi,[])}function qD(e,t,n,r){const s=this.multi;let i;if(this.providerFactory){const a=this.providerFactory.componentProviders,d=Bt(n,n[1],this.providerFactory.index,r);i=d.slice(0,a),Mu(s,i);for(let p=a;p<d.length;p++)i.push(d[p])}else i=[],Mu(s,i);return i}function Mu(e,t){for(let n=0;n<e.length;n++)t.push((0,e[n])());return t}function sp(e,t=[]){return n=>{n.providersResolver=(r,s)=>function YD(e,t,n){const r=Tt();if(r.firstCreatePass){const s=Wt(e);wu(n,r.data,r.blueprint,s,!0),wu(t,r.data,r.blueprint,s,!1)}}(r,s?s(e):e,t)}}class ip{}class eE{resolveComponentFactory(t){throw function XD(e){const t=Error(`No component factory found for ${F(e)}. Did you add it to @NgModule.entryComponents?`);return t.ngComponent=e,t}(t)}}let Vo=(()=>{class e{}return e.NULL=new eE,e})();function tE(){return so(C(),Pe())}function so(e,t){return new $o(He(e,t))}let $o=(()=>{class e{constructor(n){this.nativeElement=n}}return e.__NG_ELEMENT_ID__=tE,e})();function nE(e){return e instanceof $o?e.nativeElement:e}class ap{}let rE=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>function iE(){const e=Pe(),n=ct(C().index,e);return function sE(e){return e[11]}(Wn(n)?n:e)}(),e})(),oE=(()=>{class e{}return e.\u0275prov=je({token:e,providedIn:"root",factory:()=>null}),e})();class lp{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const aE=new lp("13.0.3"),Au={};function xa(e,t,n,r,s=!1){for(;null!==n;){const i=t[n.index];if(null!==i&&r.push(S(i)),Bn(i))for(let d=10;d<i.length;d++){const p=i[d],E=p[1].firstChild;null!==E&&xa(p[1],p,E,r)}const a=n.type;if(8&a)xa(e,t,n.child,r);else if(32&a){const d=dl(n,t);let p;for(;p=d();)r.push(p)}else if(16&a){const d=od(t,n);if(Array.isArray(d))r.push(...d);else{const p=Io(t[16]);xa(p[1],p,d,r,!0)}}n=s?n.projectionNext:n.next}return r}class zo{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 xa(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(Bn(t)){const n=t[8],r=n?n.indexOf(this):-1;r>-1&&(ml(t,r),oa(n,r))}this._attachedToViewContainer=!1}Zc(this._lView[1],this._lView)}onDestroy(t){xd(this._lView[1],this._lView,null,t)}markForCheck(){jl(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-129}reattach(){this._lView[2]|=128}detectChanges(){Hl(this._lView[1],this._lView,this.context)}checkNoChanges(){!function fv(e,t,n){ye(!0);try{Hl(e,t,n)}finally{ye(!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(){this._appRef=null,function uy(e,t){Po(e,t,t[11],2,null,null)}(this._lView[1],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new Error("This view is already attached to a ViewContainer!");this._appRef=t}}class lE extends zo{constructor(t){super(t),this._view=t}detectChanges(){Vd(this._view)}checkNoChanges(){!function pv(e){ye(!0);try{Vd(e)}finally{ye(!1)}}(this._view)}get context(){return null}}class up extends Vo{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const n=R(t);return new Iu(n,this.ngModule)}}function cp(e){const t=[];for(let n in e)e.hasOwnProperty(n)&&t.push({propName:e[n],templateName:n});return t}const cE=new Dn("SCHEDULER_TOKEN",{providedIn:"root",factory:()=>$c});class Iu extends ip{constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=function Iy(e){return e.map(Ay).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!n}get inputs(){return cp(this.componentDef.inputs)}get outputs(){return cp(this.componentDef.outputs)}create(t,n,r,s){const i=(s=s||this.ngModule)?function dE(e,t){return{get:(n,r,s)=>{const i=e.get(n,Au,s);return i!==Au||r===Au?i:t.get(n,r,s)}}}(t,s.injector):t,a=i.get(ap,T),d=i.get(oE,null),p=a.createRenderer(null,this.componentDef),E=this.componentDef.selectors[0][0]||"div",w=r?function Rd(e,t,n){if(m(e))return e.selectRootElement(t,n===bt.ShadowDom);let r="string"==typeof t?e.querySelector(t):t;return r.textContent="",r}(p,r,this.componentDef.encapsulation):gl(a.createRenderer(null,this.componentDef),E,function uE(e){const t=e.toLowerCase();return"svg"===t?Ws:"math"===t?"http://www.w3.org/1998/MathML/":null}(E)),P=this.componentDef.onPush?576:528,G=function ch(e,t){return{components:[],scheduler:e||$c,clean:gv,playerHandler:t||null,flags:0}}(),ee=_a(0,null,null,1,0,null,null,null,null,null),ve=Oo(null,ee,G,P,null,null,a,p,d,i);let xe,Be;rr(ve);try{const qe=function lh(e,t,n,r,s,i){const a=n[1];n[20]=e;const p=ji(a,20,2,"#host",null),E=p.mergedAttrs=t.hostAttrs;null!==E&&(Ea(p,E,!0),null!==e&&(di(s,e,E),null!==p.classes&&El(s,e,p.classes),null!==p.styles&&ud(s,e,p.styles)));const w=r.createRenderer(e,t),P=Oo(n,Pd(t),null,t.onPush?64:16,n[20],p,r,w,i||null,null);return a.firstCreatePass&&(y(Ii(p,n),a,t.type),Bd(a,p),jd(p,n.length,1)),Da(n,P),n[20]=P}(w,this.componentDef,ve,a,p);if(w)if(r)di(p,w,["ng-version",aE.full]);else{const{attrs:Me,classes:ot}=function Py(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(!rs(s))break;s=i}r++}return{attrs:t,classes:n}}(this.componentDef.selectors[0]);Me&&di(p,w,Me),ot&&ot.length>0&&El(p,w,ot.join(" "))}if(Be=Lt(ee,20),void 0!==n){const Me=Be.projection=[];for(let ot=0;ot<this.ngContentSelectors.length;ot++){const xt=n[ot];Me.push(null!=xt?Array.from(xt):null)}}xe=function uh(e,t,n,r,s){const i=n[1],a=function Zy(e,t,n){const r=C();e.firstCreatePass&&(n.providersResolver&&n.providersResolver(n),Ud(e,r,t,Ui(e,t,1,null),n));const s=Bt(t,e,r.directiveStart,r);or(s,t);const i=He(r,t);return i&&or(i,t),s}(i,n,t);if(r.components.push(a),e[8]=a,s&&s.forEach(p=>p(a,t)),t.contentQueries){const p=C();t.contentQueries(1,a,p.directiveStart)}const d=C();return!i.firstCreatePass||null===t.hostBindings&&null===t.hostAttrs||(Xe(d.index),kd(n[1],d,0,d.directiveStart,d.directiveEnd,t),Ld(t,a)),a}(qe,this.componentDef,ve,G,[Fv]),Ro(ee,ve,null)}finally{Xr()}return new fE(this.componentType,xe,so(Be,ve),ve,Be)}}class fE extends class JD{}{constructor(t,n,r,s,i){super(),this.location=r,this._rootLView=s,this._tNode=i,this.instance=n,this.hostView=this.changeDetectorRef=new lE(s),this.componentType=t}get injector(){return new ir(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}}class io{}class dp{}const oo=new Map;class pp extends io{constructor(t,n){super(),this._parent=n,this._bootstrapComponents=[],this.injector=this,this.destroyCbs=[],this.componentFactoryResolver=new up(this);const r=wt(t);this._bootstrapComponents=Es(r.bootstrap),this._r3Injector=Zd(t,n,[{provide:io,useValue:this},{provide:Vo,useValue:this.componentFactoryResolver}],F(t)),this._r3Injector._resolveInjectorDefTypes(),this.instance=this.get(t)}get(t,n=Wr.THROW_IF_NOT_FOUND,r=nt.Default){return t===Wr||t===io||t===$l?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 Pu extends dp{constructor(t){super(),this.moduleType=t,null!==wt(t)&&function gE(e){const t=new Set;!function n(r){const s=wt(r,!0),i=s.id;null!==i&&(function hp(e,t,n){if(t&&t!==n)throw new Error(`Duplicate module registered for ${e} - ${F(t)} vs ${F(t.name)}`)}(i,oo.get(i),r),oo.set(i,r));const a=Es(s.imports);for(const d of a)t.has(d)||(t.add(d),n(d))}(e)}(t)}create(t){return new pp(this.moduleType,t)}}function gp(e,t,n){const r=Re()+e,s=Pe();return s[r]===Et?ws(s,r,n?t.call(n):t()):Fo(s,r)}function mp(e,t,n,r){return Ep(Pe(),Re(),e,t,n,r)}function yp(e,t,n,r,s){return Cp(Pe(),Re(),e,t,n,r,s)}function vp(e,t,n,r,s,i){return bp(Pe(),Re(),e,t,n,r,s,i)}function _p(e,t,n,r,s,i,a){return function wp(e,t,n,r,s,i,a,d,p){const E=t+n;return Kr(e,E,s,i,a,d)?ws(e,E+4,p?r.call(p,s,i,a,d):r(s,i,a,d)):Go(e,E+4)}(Pe(),Re(),e,t,n,r,s,i,a)}function Dp(e,t,n,r,s,i,a,d){const p=Re()+e,E=Pe(),w=Kr(E,p,n,r,s,i);return ar(E,p+4,a)||w?ws(E,p+5,d?t.call(d,n,r,s,i,a):t(n,r,s,i,a)):Fo(E,p+5)}function Go(e,t){const n=e[t];return n===Et?void 0:n}function Ep(e,t,n,r,s,i){const a=t+n;return ar(e,a,s)?ws(e,a+1,i?r.call(i,s):r(s)):Go(e,a+1)}function Cp(e,t,n,r,s,i,a){const d=t+n;return gi(e,d,s,i)?ws(e,d+2,a?r.call(a,s,i):r(s,i)):Go(e,d+2)}function bp(e,t,n,r,s,i,a,d){const p=t+n;return function ba(e,t,n,r,s){const i=gi(e,t,n,r);return ar(e,t+2,s)||i}(e,p,s,i,a)?ws(e,p+3,d?r.call(d,s,i,a):r(s,i,a)):Go(e,p+3)}function Sp(e,t){const n=Tt();let r;const s=e+20;n.firstCreatePass?(r=function DE(e,t){if(t)for(let n=t.length-1;n>=0;n--){const r=t[n];if(e===r.name)return r}}(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=yn(r.type)),a=K(ko);try{const d=Ai(!1),p=i();return Ai(d),function Kv(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}(n,Pe(),s,p),p}finally{K(a)}}function Mp(e,t,n){const r=e+20,s=Pe(),i=Nt(s,r);return Wo(s,r)?Ep(s,Re(),t,i.transform,n,i):i.transform(n)}function Ap(e,t,n,r){const s=e+20,i=Pe(),a=Nt(i,s);return Wo(i,s)?Cp(i,Re(),t,a.transform,n,r,a):a.transform(n,r)}function Ip(e,t,n,r,s){const i=e+20,a=Pe(),d=Nt(a,i);return Wo(a,i)?bp(a,Re(),t,d.transform,n,r,s,d):d.transform(n,r,s)}function Wo(e,t){return e[1].data[t].pure}function Ou(e){return t=>{setTimeout(e,void 0,t)}}const Ms=class bE extends g.xQ{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,n,r){var s,i,a;let d=t,p=n||(()=>null),E=r;if(t&&"object"==typeof t){const P=t;d=null===(s=P.next)||void 0===s?void 0:s.bind(P),p=null===(i=P.error)||void 0===i?void 0:i.bind(P),E=null===(a=P.complete)||void 0===a?void 0:a.bind(P)}this.__isAsync&&(p=Ou(p),d&&(d=Ou(d)),E&&(E=Ou(E)));const w=super.subscribe({next:d,error:p,complete:E});return t instanceof _.w&&t.add(w),w}};function wE(){return this._results[zi()]()}class Na{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=zi(),r=Na.prototype;r[n]||(r[n]=wE)}get changes(){return this._changes||(this._changes=new Ms)}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=Gr(t);(this._changesDetected=!function Lg(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;let Ko=(()=>{class e{}return e.__NG_ELEMENT_ID__=ME,e})();const TE=Ko,SE=class extends TE{constructor(t,n,r){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=r}createEmbeddedView(t){const n=this._declarationTContainer.tViews,r=Oo(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)),Ro(n,r,t),new zo(r)}};function ME(){return Fa(C(),Pe())}function Fa(e,t){return 4&e.type?new SE(t,e,so(e,t)):null}let ka=(()=>{class e{}return e.__NG_ELEMENT_ID__=AE,e})();function AE(){return Rp(C(),Pe())}const IE=ka,Pp=class extends IE{constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return so(this._hostTNode,this._hostLView)}get injector(){return new ir(this._hostTNode,this._hostLView)}get parentInjector(){const t=u(this._hostTNode,this._hostLView);if(ea(t)){const n=Xs(t,this._hostLView),r=Js(t);return new ir(n[1].data[r+8],n)}return new ir(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=Op(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 a=t&&!function yo(e){return"function"==typeof e}(t);let d;if(a)d=n;else{const P=n||{};d=P.index,r=P.injector,s=P.projectableNodes,i=P.ngModuleRef}const p=a?t:new Iu(R(t)),E=r||this.parentInjector;if(!i&&null==p.ngModule&&E){const P=E.get(io,null);P&&(i=P)}const w=p.create(E,s,void 0,i);return this.insert(w.hostView,d),w}insert(t,n){const r=t._lView,s=r[1];if(function un(e){return Bn(e[3])}(r)){const w=this.indexOf(t);if(-1!==w)this.detach(w);else{const P=r[3],G=new Pp(P,P[6],P[3]);G.detach(G.indexOf(t))}}const i=this._adjustIndex(n),a=this._lContainer;!function dy(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],dc(n,10+r,t)):(n.push(t),t[4]=null),t[3]=n;const a=t[17];null!==a&&n!==a&&function hy(e,t){const n=e[9];t[16]!==t[3][3][16]&&(e[2]=!0),null===n?e[9]=[t]:n.push(t)}(a,t);const d=t[19];null!==d&&d.insertView(e),t[2]|=128}(s,r,a,i);const d=_l(i,a),p=r[11],E=fa(p,a[7]);return null!==E&&function ly(e,t,n,r,s,i){r[0]=s,r[6]=t,Po(e,r,n,1,s,i)}(s,a[6],p,r,E,d),t.attachToViewContainerRef(),dc(Ru(a),i,t),t}move(t,n){return this.insert(t,n)}indexOf(t){const n=Op(this._lContainer);return null!==n?n.indexOf(t):-1}remove(t){const n=this._adjustIndex(t,-1),r=ml(this._lContainer,n);r&&(oa(Ru(this._lContainer),n),Zc(r[1],r))}detach(t){const n=this._adjustIndex(t,-1),r=ml(this._lContainer,n);return r&&null!=oa(Ru(this._lContainer),n)?new zo(r):null}_adjustIndex(t,n=0){return null==t?this.length+n:t}};function Op(e){return e[8]}function Ru(e){return e[8]||(e[8]=[])}function Rp(e,t){let n;const r=t[e.index];if(Bn(r))n=r;else{let s;if(8&e.type)s=S(r);else{const i=t[11];s=i.createComment("");const a=He(e,t);pi(i,fa(i,a),s,function my(e,t){return m(e)?e.nextSibling(t):t.nextSibling}(i,a),!1)}t[e.index]=n=Hd(r,t,s,e),Da(t,n)}return new Pp(n,e,t)}class xu{constructor(t){this.queryList=t,this.matches=null}clone(){return new xu(this.queryList)}setDirty(){this.queryList.setDirty()}}class Nu{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 a=n.getByIndex(i);s.push(this.queries[a.indexInDeclarationView].clone())}return new Nu(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!==Hp(t,n).matches&&this.queries[n].setDirty()}}class xp{constructor(t,n,r=null){this.predicate=t,this.flags=n,this.read=r}}class Fu{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 Fu(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 ku{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 ku(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,RE(n,i)),this.matchTNodeWithReadOption(t,n,et(n,t,i,!1,!1))}else r===Ko?4&n.type&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,et(n,t,r,!1,!1))}matchTNodeWithReadOption(t,n,r){if(null!==r){const s=this.metadata.read;if(null!==s)if(s===$o||s===ka||s===Ko&&4&n.type)this.addMatch(n.index,-2);else{const i=et(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 RE(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 NE(e,t,n,r){return-1===n?function xE(e,t){return 11&e.type?so(e,t):4&e.type?Fa(e,t):null}(t,e):-2===n?function FE(e,t,n){return n===$o?so(t,e):n===Ko?Fa(t,e):n===ka?Rp(t,e):void 0}(e,t,r):Bt(e,e[1],n,t)}function Np(e,t,n,r){const s=t[19].queries[r];if(null===s.matches){const i=e.data,a=n.matches,d=[];for(let p=0;p<a.length;p+=2){const E=a[p];d.push(E<0?null:NE(t,i[E],a[p+1],n.metadata.read))}s.matches=d}return s.matches}function Lu(e,t,n,r){const s=e.queries.getByIndex(n),i=s.matches;if(null!==i){const a=Np(e,t,s,n);for(let d=0;d<i.length;d+=2){const p=i[d];if(p>0)r.push(a[d/2]);else{const E=i[d+1],w=t[-p];for(let P=10;P<w.length;P++){const G=w[P];G[17]===G[3]&&Lu(G[1],G,E,r)}if(null!==w[9]){const P=w[9];for(let G=0;G<P.length;G++){const ee=P[G];Lu(ee[1],ee,E,r)}}}}}return r}function Fp(e){const t=Pe(),n=Tt(),r=Hr();Zn(r+1);const s=Hp(n,r);if(e.dirty&&Kt(t)===(2==(2&s.metadata.flags))){if(null===s.matches)e.reset([]);else{const i=s.crossesNgTemplate?Lu(n,t,r,[]):Np(n,t,s,r);e.reset(i,nE),e.notifyOnChanges()}return!0}return!1}function kp(e,t,n){const r=Tt();r.firstCreatePass&&(Up(r,new xp(e,t,n),-1),2==(2&t)&&(r.staticViewQueries=!0)),jp(r,Pe(),t)}function Lp(e,t,n,r){const s=Tt();if(s.firstCreatePass){const i=C();Up(s,new xp(t,n,r),i.index),function LE(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)}jp(s,Pe(),n)}function Bp(){return function kE(e,t){return e[19].queries[t].queryList}(Pe(),Hr())}function jp(e,t,n){const r=new Na(4==(4&n));xd(e,t,r,r.destroy),null===t[19]&&(t[19]=new Nu),t[19].queries.push(new xu(r))}function Up(e,t,n){null===e.queries&&(e.queries=new Fu),e.queries.track(new ku(t,n))}function Hp(e,t){return e.queries.getByIndex(t)}function Vp(e,t){return Fa(e,t)}function ja(...e){}const $u=new Dn("Application Initializer");let lo=(()=>{class e{constructor(n){this.appInits=n,this.resolve=ja,this.reject=ja,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(uu(i))n.push(i);else if(Bh(i)){const a=new Promise((d,p)=>{i.subscribe({complete:d,error:p})});n.push(a)}}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)(Qn($u,8))},e.\u0275prov=je({token:e,factory:e.\u0275fac}),e})();const ig=new Dn("AppId"),tC={provide:ig,useFactory:function eC(){return`${zu()}${zu()}${zu()}`},deps:[]};function zu(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const og=new Dn("Platform Initializer"),ag=new Dn("Platform ID"),lg=new Dn("appBootstrapListener");let ug=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=je({token:e,factory:e.\u0275fac}),e})();const Ua=new Dn("LocaleId"),cg=new Dn("DefaultCurrencyCode");class nC{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}}let Gu=(()=>{class e{compileModuleSync(n){return new Pu(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){const r=this.compileModuleSync(n),i=Es(wt(n).declarations).reduce((a,d)=>{const p=R(d);return p&&a.push(new Iu(p)),a},[]);return new nC(r,i)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=je({token:e,factory:e.\u0275fac}),e})();const sC=(()=>Promise.resolve(0))();function Wu(e){"undefined"==typeof Zone?sC.then(()=>{e&&e.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}class Nr{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Ms(!1),this.onMicrotaskEmpty=new Ms(!1),this.onStable=new Ms(!1),this.onError=new Ms(!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 iC(){let e=Ue.requestAnimationFrame,t=Ue.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 lC(e){const t=()=>{!function aC(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(Ue,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,Yu(e),e.isCheckStableRunning=!0,Ku(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),Yu(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,s,i,a,d)=>{try{return dg(e),n.invokeTask(s,i,a,d)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===i.type||e.shouldCoalesceRunChangeDetection)&&t(),hg(e)}},onInvoke:(n,r,s,i,a,d,p)=>{try{return dg(e),n.invoke(s,i,a,d,p)}finally{e.shouldCoalesceRunChangeDetection&&t(),hg(e)}},onHasTask:(n,r,s,i)=>{n.hasTask(s,i),r===s&&("microTask"==i.change?(e._hasPendingMicrotasks=i.microTask,Yu(e),Ku(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(!Nr.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}static assertNotInAngularZone(){if(Nr.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,a=i.scheduleEventTask("NgZoneEvent: "+s,t,oC,ja,ja);try{return i.runTask(a,n,r)}finally{i.cancelTask(a)}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}}const oC={};function Ku(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 Yu(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function dg(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function hg(e){e._nesting--,Ku(e)}class uC{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Ms,this.onMicrotaskEmpty=new Ms,this.onStable=new Ms,this.onError=new Ms}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 fg=(()=>{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:()=>{Nr.assertNotInAngularZone(),Wu(()=>{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())Wu(()=>{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(a=>a.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)(Qn(Nr))},e.\u0275prov=je({token:e,factory:e.\u0275fac}),e})(),pg=(()=>{class e{constructor(){this._applications=new Map,Qu.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 Qu.findTestabilityInTree(this,n,r)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=je({token:e,factory:e.\u0275fac}),e})();class cC{addToWindow(t){}findTestabilityInTree(t,n,r){return null}}function dC(e){Qu=e}let ls,Qu=new cC;const gg=new Dn("AllowMultipleToken");class pC{constructor(t,n){this.name=t,this.token=n}}function mg(e,t,n=[]){const r=`Platform: ${t}`,s=new Dn(r);return(i=[])=>{let a=yg();if(!a||a.injector.get(gg,!1))if(e)e(n.concat(i).concat({provide:s,useValue:!0}));else{const d=n.concat(i).concat({provide:s,useValue:!0},{provide:zl,useValue:"platform"});!function gC(e){if(ls&&!ls.destroyed&&!ls.injector.get(gg,!1))throw new be("400","");ls=e.get(vg);const t=e.get(og,null);t&&t.forEach(n=>n())}(Wr.create({providers:d,name:r}))}return function mC(e){const t=yg();if(!t)throw new be("401","");return t}()}}function yg(){return ls&&!ls.destroyed?ls:null}let vg=(()=>{class e{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,r){const d=function yC(e,t){let n;return n="noop"===e?new uC:("zone.js"===e?void 0:e)||new Nr({enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:!!(null==t?void 0:t.ngZoneEventCoalescing),shouldCoalesceRunChangeDetection:!!(null==t?void 0:t.ngZoneRunCoalescing)}),n}(r?r.ngZone:void 0,{ngZoneEventCoalescing:r&&r.ngZoneEventCoalescing||!1,ngZoneRunCoalescing:r&&r.ngZoneRunCoalescing||!1}),p=[{provide:Nr,useValue:d}];return d.run(()=>{const E=Wr.create({providers:p,parent:this.injector,name:n.moduleType.name}),w=n.create(E),P=w.injector.get(Ao,null);if(!P)throw new be("402","");return d.runOutsideAngular(()=>{const G=d.onError.subscribe({next:ee=>{P.handleError(ee)}});w.onDestroy(()=>{qu(this._modules,w),G.unsubscribe()})}),function vC(e,t,n){try{const r=n();return uu(r)?r.catch(s=>{throw t.runOutsideAngular(()=>e.handleError(s)),s}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}(P,d,()=>{const G=w.injector.get(lo);return G.runInitializers(),G.donePromise.then(()=>(function rD(e){_e(e,"Expected localeId to be defined"),"string"==typeof e&&(xf=e.toLowerCase().replace(/_/g,"-"))}(w.injector.get(Ua,Aa)||Aa),this._moduleDoBootstrap(w),w))})})}bootstrapModule(n,r=[]){const s=_g({},r);return function hC(e,t,n){const r=new Pu(n);return Promise.resolve(r)}(0,0,n).then(i=>this.bootstrapModuleFactory(i,s))}_moduleDoBootstrap(n){const r=n.injector.get(Qo);if(n._bootstrapComponents.length>0)n._bootstrapComponents.forEach(s=>r.bootstrap(s));else{if(!n.instance.ngDoBootstrap)throw new be("403","");n.instance.ngDoBootstrap(r)}this._modules.push(n)}onDestroy(n){this._destroyListeners.push(n)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new be("404","");this._modules.slice().forEach(n=>n.destroy()),this._destroyListeners.forEach(n=>n()),this._destroyed=!0}get destroyed(){return this._destroyed}}return e.\u0275fac=function(n){return new(n||e)(Qn(Wr))},e.\u0275prov=je({token:e,factory:e.\u0275fac}),e})();function _g(e,t){return Array.isArray(t)?t.reduce(_g,e):Object.assign(Object.assign({},e),t)}let Qo=(()=>{class e{constructor(n,r,s,i,a){this._zone=n,this._injector=r,this._exceptionHandler=s,this._componentFactoryResolver=i,this._initStatus=a,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 d=new J.y(E=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{E.next(this._stable),E.complete()})}),p=new J.y(E=>{let w;this._zone.runOutsideAngular(()=>{w=this._zone.onStable.subscribe(()=>{Nr.assertNotInAngularZone(),Wu(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,E.next(!0))})})});const P=this._zone.onUnstable.subscribe(()=>{Nr.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{E.next(!1)}))});return()=>{w.unsubscribe(),P.unsubscribe()}});this.isStable=(0,ie.T)(d,p.pipe(function q(){return e=>(0,U.x)()((0,B.O)(Q)(e))}()))}bootstrap(n,r){if(!this._initStatus.done)throw new be("405","");let s;s=n instanceof ip?n:this._componentFactoryResolver.resolveComponentFactory(n),this.componentTypes.push(s.componentType);const i=function fC(e){return e.isBoundToModule}(s)?void 0:this._injector.get(io),d=s.create(Wr.NULL,[],r||s.selector,i),p=d.location.nativeElement,E=d.injector.get(fg,null),w=E&&d.injector.get(pg);return E&&w&&w.registerApplication(p,E),d.onDestroy(()=>{this.detachView(d.hostView),qu(this.components,d),w&&w.unregisterApplication(p)}),this._loadComponent(d),d}tick(){if(this._runningTick)throw new be("101","");try{this._runningTick=!0;for(let n of this._views)n.detectChanges()}catch(n){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(n))}finally{this._runningTick=!1}}attachView(n){const r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){const r=n;qu(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n),this._injector.get(lg,[]).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)(Qn(Nr),Qn(Wr),Qn(Ao),Qn(Vo),Qn(lo))},e.\u0275prov=je({token:e,factory:e.\u0275fac}),e})();function qu(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}let Eg=!0;function DC(){Eg=!1}let EC=(()=>{class e{}return e.__NG_ELEMENT_ID__=CC,e})();function CC(e){return function bC(e,t,n){if(Qr(e)&&!n){const r=ct(e.index,t);return new zo(r,r)}return 47&e.type?new zo(t[16],t):null}(C(),Pe(),16==(16&e))}class Ag{constructor(){}supports(t){return No(t)}create(t){return new IC(t)}}const AC=(e,t)=>t;class IC{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||AC}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 a=!r||n&&n.currentIndex<Pg(r,s,i)?n:r,d=Pg(a,s,i),p=a.currentIndex;if(a===r)s--,r=r._nextRemoved;else if(n=n._next,null==a.previousIndex)s++;else{i||(i=[]);const E=d-s,w=p-s;if(E!=w){for(let G=0;G<E;G++){const ee=G<i.length?i[G]:i[G]=0,ve=ee+G;w<=ve&&ve<E&&(i[G]=ee+1)}i[a.previousIndex]=w-E}}d!==p&&t(a,d,p)}}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=[]),!No(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,a,n=this._itHead,r=!1;if(Array.isArray(t)){this.length=t.length;for(let d=0;d<this.length;d++)i=t[d],a=this._trackByFn(d,i),null!==n&&Object.is(n.trackById,a)?(r&&(n=this._verifyReinsertion(n,i,a,d)),Object.is(n.item,i)||this._addIdentityChange(n,i)):(n=this._mismatch(n,i,a,d),r=!0),n=n._next}else s=0,function Gv(e,t){if(Array.isArray(e))for(let n=0;n<e.length;n++)t(e[n]);else{const n=e[zi()]();let r;for(;!(r=n.next()).done;)t(r.value)}}(t,d=>{a=this._trackByFn(s,d),null!==n&&Object.is(n.trackById,a)?(r&&(n=this._verifyReinsertion(n,d,a,s)),Object.is(n.item,d)||this._addIdentityChange(n,d)):(n=this._mismatch(n,d,a,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 PC(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 Ig),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 Ig),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 PC{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 OC{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 Ig{constructor(){this.map=new Map}put(t){const n=t.trackById;let r=this.map.get(n);r||(r=new OC,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 Pg(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 Og{constructor(){}supports(t){return t instanceof Map||Zl(t)}create(){return new RC}}class RC{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||Zl(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,a=s._next;return i&&(i._next=a),a&&(a._prev=i),s._next=null,s._prev=null,s}const r=new xC(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 xC{constructor(t){this.key=t,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}function Rg(){return new Va([new Ag])}let Va=(()=>{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||Rg()),deps:[[e,new xi,new hi]]}}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 NC(e){return e.name||typeof e}(n)}'`)}}return e.\u0275prov=je({token:e,providedIn:"root",factory:Rg}),e})();function xg(){return new $a([new Og])}let $a=(()=>{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||xg()),deps:[[e,new xi,new hi]]}}find(n){const r=this.factories.find(s=>s.supports(n));if(r)return r;throw new Error(`Cannot find a differ supporting object '${n}'`)}}return e.\u0275prov=je({token:e,providedIn:"root",factory:xg}),e})();const FC=[new Og],LC=new Va([new Ag]),BC=new $a(FC),jC=mg(null,"core",[{provide:ag,useValue:"unknown"},{provide:vg,deps:[Wr]},{provide:pg,deps:[]},{provide:ug,deps:[]}]),zC=[{provide:Qo,useClass:Qo,deps:[Nr,Wr,Ao,Vo,lo]},{provide:cE,deps:[Nr],useFactory:function GC(e){let t=[];return e.onStable.subscribe(()=>{for(;t.length;)t.pop()()}),function(n){t.push(n)}}},{provide:lo,useClass:lo,deps:[[new hi,$u]]},{provide:Gu,useClass:Gu,deps:[]},tC,{provide:Va,useFactory:function UC(){return LC},deps:[]},{provide:$a,useFactory:function HC(){return BC},deps:[]},{provide:Ua,useFactory:function VC(e){return e||function $C(){return"undefined"!=typeof $localize&&$localize.locale||Aa}()},deps:[[new Co(Ua),new hi,new xi]]},{provide:cg,useValue:"USD"}];let WC=(()=>{class e{constructor(n){}}return e.\u0275fac=function(n){return new(n||e)(Qn(Qo))},e.\u0275mod=x({type:e}),e.\u0275inj=Ut({providers:zC}),e})()},6360:(Ge,he,M)=>{M.d(he,{Qb:()=>Rs,PW:()=>Tt});var g=M(9863),_=M(2313),J=M(1777);function ie(){return"undefined"!=typeof window&&void 0!==window.document}function B(){return"undefined"!=typeof process&&"[object process]"==={}.toString.call(process)}function U(C){switch(C.length){case 0:return new J.ZN;case 1:return C[0];default:return new J.ZE(C)}}function Q(C,o,l,f,b={},I={}){const k=[],j=[];let re=-1,ye=null;if(f.forEach(Re=>{const $e=Re.offset,gt=$e==re,_t=gt&&ye||{};Object.keys(Re).forEach(Ze=>{let mt=Ze,At=Re[Ze];if("offset"!==Ze)switch(mt=o.normalizePropertyName(mt,k),At){case J.k1:At=b[Ze];break;case J.l3:At=I[Ze];break;default:At=o.normalizeStyleValue(Ze,mt,At,k)}_t[mt]=At}),gt||j.push(_t),ye=_t,re=$e}),k.length){const Re="\n - ";throw new Error(`Unable to animate due to the following errors:${Re}${k.join(Re)}`)}return j}function q(C,o,l,f){switch(o){case"start":C.onStart(()=>f(l&&z(l,"start",C)));break;case"done":C.onDone(()=>f(l&&z(l,"done",C)));break;case"destroy":C.onDestroy(()=>f(l&&z(l,"destroy",C)))}}function z(C,o,l){const f=l.totalTime,I=V(C.element,C.triggerName,C.fromState,C.toState,o||C.phaseName,null==f?C.totalTime:f,!!l.disabled),k=C._data;return null!=k&&(I._data=k),I}function V(C,o,l,f,b="",I=0,k){return{element:C,triggerName:o,fromState:l,toState:f,phaseName:b,totalTime:I,disabled:!!k}}function F(C,o,l){let f;return C instanceof Map?(f=C.get(o),f||C.set(o,f=l)):(f=C[o],f||(f=C[o]=l)),f}function ae(C){const o=C.indexOf(":");return[C.substring(1,o),C.substr(o+1)]}let fe=(C,o)=>!1,Te=(C,o)=>!1,te=(C,o,l)=>[];const ce=B();(ce||"undefined"!=typeof Element)&&(fe=ie()?(C,o)=>{for(;o&&o!==document.documentElement;){if(o===C)return!0;o=o.parentNode||o.host}return!1}:(C,o)=>C.contains(o),Te=(()=>{if(ce||Element.prototype.matches)return(C,o)=>C.matches(o);{const C=Element.prototype,o=C.matchesSelector||C.mozMatchesSelector||C.msMatchesSelector||C.oMatchesSelector||C.webkitMatchesSelector;return o?(l,f)=>o.apply(l,[f]):Te}})(),te=(C,o,l)=>{let f=[];if(l){const b=C.querySelectorAll(o);for(let I=0;I<b.length;I++)f.push(b[I])}else{const b=C.querySelector(o);b&&f.push(b)}return f});let be=null,Ne=!1;function Ae(C){be||(be=function oe(){return"undefined"!=typeof document?document.body:null}()||{},Ne=!!be.style&&"WebkitAppearance"in be.style);let o=!0;return be.style&&!function Ce(C){return"ebkit"==C.substring(1,6)}(C)&&(o=C in be.style,!o&&Ne&&(o="Webkit"+C.charAt(0).toUpperCase()+C.substr(1)in be.style)),o}const pe=Te,Ke=fe,yt=te;function rt(C){const o={};return Object.keys(C).forEach(l=>{const f=l.replace(/([a-z])([A-Z])/g,"$1-$2");o[f]=C[l]}),o}let at=(()=>{class C{validateStyleProperty(l){return Ae(l)}matchesElement(l,f){return pe(l,f)}containsElement(l,f){return Ke(l,f)}query(l,f,b){return yt(l,f,b)}computeStyle(l,f,b){return b||""}animate(l,f,b,I,k,j=[],re){return new J.ZN(b,I)}}return C.\u0275fac=function(l){return new(l||C)},C.\u0275prov=g.Yz7({token:C,factory:C.\u0275fac}),C})(),ht=(()=>{class C{}return C.NOOP=new at,C})();const lt="ng-enter",Ve="ng-leave",cn="ng-trigger",dn=".ng-trigger",Cn="ng-animating",bn=".ng-animating";function $t(C){if("number"==typeof C)return C;const o=C.match(/^(-?[\.\d]+)(m?s)/);return!o||o.length<2?0:_e(parseFloat(o[1]),o[2])}function _e(C,o){return"s"===o?1e3*C:C}function we(C,o,l){return C.hasOwnProperty("duration")?C:function X(C,o,l){let b,I=0,k="";if("string"==typeof C){const j=C.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===j)return o.push(`The provided timing value "${C}" is invalid.`),{duration:0,delay:0,easing:""};b=_e(parseFloat(j[1]),j[2]);const re=j[3];null!=re&&(I=_e(parseFloat(re),j[4]));const ye=j[5];ye&&(k=ye)}else b=C;if(!l){let j=!1,re=o.length;b<0&&(o.push("Duration values below 0 are not allowed for this animation step."),j=!0),I<0&&(o.push("Delay values below 0 are not allowed for this animation step."),j=!0),j&&o.splice(re,0,`The provided timing value "${C}" is invalid.`)}return{duration:b,delay:I,easing:k}}(C,o,l)}function ue(C,o={}){return Object.keys(C).forEach(l=>{o[l]=C[l]}),o}function je(C,o,l={}){if(o)for(let f in C)l[f]=C[f];else ue(C,l);return l}function nn(C,o,l){return l?o+":"+l+";":""}function Ut(C){let o="";for(let l=0;l<C.style.length;l++){const f=C.style.item(l);o+=nn(0,f,C.style.getPropertyValue(f))}for(const l in C.style)C.style.hasOwnProperty(l)&&!l.startsWith("_")&&(o+=nn(0,De(l),C.style[l]));C.setAttribute("style",o)}function Gt(C,o,l){C.style&&(Object.keys(o).forEach(f=>{const b=nt(f);l&&!l.hasOwnProperty(f)&&(l[f]=C.style[b]),C.style[b]=o[f]}),B()&&Ut(C))}function hn(C,o){C.style&&(Object.keys(o).forEach(l=>{const f=nt(l);C.style[f]=""}),B()&&Ut(C))}function rn(C){return Array.isArray(C)?1==C.length?C[0]:(0,J.vP)(C):C}const Xn=new RegExp("{{\\s*(.+?)\\s*}}","g");function $n(C){let o=[];if("string"==typeof C){let l;for(;l=Xn.exec(C);)o.push(l[1]);Xn.lastIndex=0}return o}function xn(C,o,l){const f=C.toString(),b=f.replace(Xn,(I,k)=>{let j=o[k];return o.hasOwnProperty(k)||(l.push(`Please provide a value for the animation param ${k}`),j=""),j.toString()});return b==f?C:b}function Vt(C){const o=[];let l=C.next();for(;!l.done;)o.push(l.value),l=C.next();return o}const lr=/-+([a-z0-9])/g;function nt(C){return C.replace(lr,(...o)=>o[1].toUpperCase())}function De(C){return C.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function Y(C,o){return 0===C||0===o}function K(C,o,l){const f=Object.keys(l);if(f.length&&o.length){let I=o[0],k=[];if(f.forEach(j=>{I.hasOwnProperty(j)||k.push(j),I[j]=l[j]}),k.length)for(var b=1;b<o.length;b++){let j=o[b];k.forEach(function(re){j[re]=le(C,re)})}}return o}function Ee(C,o,l){switch(o.type){case 7:return C.visitTrigger(o,l);case 0:return C.visitState(o,l);case 1:return C.visitTransition(o,l);case 2:return C.visitSequence(o,l);case 3:return C.visitGroup(o,l);case 4:return C.visitAnimate(o,l);case 5:return C.visitKeyframes(o,l);case 6:return C.visitStyle(o,l);case 8:return C.visitReference(o,l);case 9:return C.visitAnimateChild(o,l);case 10:return C.visitAnimateRef(o,l);case 11:return C.visitQuery(o,l);case 12:return C.visitStagger(o,l);default:throw new Error(`Unable to resolve animation metadata node #${o.type}`)}}function le(C,o){return window.getComputedStyle(C)[o]}function Oe(C,o){const l=[];return"string"==typeof C?C.split(/\s*,\s*/).forEach(f=>function ze(C,o,l){if(":"==C[0]){const re=function ut(C,o){switch(C){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(l,f)=>parseFloat(f)>parseFloat(l);case":decrement":return(l,f)=>parseFloat(f)<parseFloat(l);default:return o.push(`The transition alias value "${C}" is not supported`),"* => *"}}(C,l);if("function"==typeof re)return void o.push(re);C=re}const f=C.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==f||f.length<4)return l.push(`The provided transition expression "${C}" is not supported`),o;const b=f[1],I=f[2],k=f[3];o.push(sn(b,k));"<"==I[0]&&!("*"==b&&"*"==k)&&o.push(sn(k,b))}(f,l,o)):l.push(C),l}const bt=new Set(["true","1"]),qt=new Set(["false","0"]);function sn(C,o){const l=bt.has(C)||qt.has(C),f=bt.has(o)||qt.has(o);return(b,I)=>{let k="*"==C||C==b,j="*"==o||o==I;return!k&&l&&"boolean"==typeof b&&(k=b?bt.has(C):qt.has(C)),!j&&f&&"boolean"==typeof I&&(j=I?bt.has(o):qt.has(o)),k&&j}}const Ct=new RegExp("s*:selfs*,?","g");function Ue(C,o,l){return new Ot(C).build(o,l)}class Ot{constructor(o){this._driver=o}build(o,l){const f=new ur(l);return this._resetContextStyleTimingState(f),Ee(this,rn(o),f)}_resetContextStyleTimingState(o){o.currentQuerySelector="",o.collectedStyles={},o.collectedStyles[""]={},o.currentTime=0}visitTrigger(o,l){let f=l.queryCount=0,b=l.depCount=0;const I=[],k=[];return"@"==o.name.charAt(0)&&l.errors.push("animation triggers cannot be prefixed with an `@` sign (e.g. trigger('@foo', [...]))"),o.definitions.forEach(j=>{if(this._resetContextStyleTimingState(l),0==j.type){const re=j,ye=re.name;ye.toString().split(/\s*,\s*/).forEach(Re=>{re.name=Re,I.push(this.visitState(re,l))}),re.name=ye}else if(1==j.type){const re=this.visitTransition(j,l);f+=re.queryCount,b+=re.depCount,k.push(re)}else l.errors.push("only state() and transition() definitions can sit inside of a trigger()")}),{type:7,name:o.name,states:I,transitions:k,queryCount:f,depCount:b,options:null}}visitState(o,l){const f=this.visitStyle(o.styles,l),b=o.options&&o.options.params||null;if(f.containsDynamicStyles){const I=new Set,k=b||{};if(f.styles.forEach(j=>{if(er(j)){const re=j;Object.keys(re).forEach(ye=>{$n(re[ye]).forEach(Re=>{k.hasOwnProperty(Re)||I.add(Re)})})}}),I.size){const j=Vt(I.values());l.errors.push(`state("${o.name}", ...) must define default values for all the following style substitutions: ${j.join(", ")}`)}}return{type:0,name:o.name,style:f,options:b?{params:b}:null}}visitTransition(o,l){l.queryCount=0,l.depCount=0;const f=Ee(this,rn(o.animation),l);return{type:1,matchers:Oe(o.expr,l.errors),animation:f,queryCount:l.queryCount,depCount:l.depCount,options:en(o.options)}}visitSequence(o,l){return{type:2,steps:o.steps.map(f=>Ee(this,f,l)),options:en(o.options)}}visitGroup(o,l){const f=l.currentTime;let b=0;const I=o.steps.map(k=>{l.currentTime=f;const j=Ee(this,k,l);return b=Math.max(b,l.currentTime),j});return l.currentTime=b,{type:3,steps:I,options:en(o.options)}}visitAnimate(o,l){const f=function tr(C,o){let l=null;if(C.hasOwnProperty("duration"))l=C;else if("number"==typeof C)return Sn(we(C,o).duration,0,"");const f=C;if(f.split(/\s+/).some(I=>"{"==I.charAt(0)&&"{"==I.charAt(1))){const I=Sn(0,0,"");return I.dynamic=!0,I.strValue=f,I}return l=l||we(f,o),Sn(l.duration,l.delay,l.easing)}(o.timings,l.errors);l.currentAnimateTimings=f;let b,I=o.styles?o.styles:(0,J.oB)({});if(5==I.type)b=this.visitKeyframes(I,l);else{let k=o.styles,j=!1;if(!k){j=!0;const ye={};f.easing&&(ye.easing=f.easing),k=(0,J.oB)(ye)}l.currentTime+=f.duration+f.delay;const re=this.visitStyle(k,l);re.isEmptyStep=j,b=re}return l.currentAnimateTimings=null,{type:4,timings:f,style:b,options:null}}visitStyle(o,l){const f=this._makeStyleAst(o,l);return this._validateStyleAst(f,l),f}_makeStyleAst(o,l){const f=[];Array.isArray(o.styles)?o.styles.forEach(k=>{"string"==typeof k?k==J.l3?f.push(k):l.errors.push(`The provided style string value ${k} is not allowed.`):f.push(k)}):f.push(o.styles);let b=!1,I=null;return f.forEach(k=>{if(er(k)){const j=k,re=j.easing;if(re&&(I=re,delete j.easing),!b)for(let ye in j)if(j[ye].toString().indexOf("{{")>=0){b=!0;break}}}),{type:6,styles:f,easing:I,offset:o.offset,containsDynamicStyles:b,options:null}}_validateStyleAst(o,l){const f=l.currentAnimateTimings;let b=l.currentTime,I=l.currentTime;f&&I>0&&(I-=f.duration+f.delay),o.styles.forEach(k=>{"string"!=typeof k&&Object.keys(k).forEach(j=>{if(!this._driver.validateStyleProperty(j))return void l.errors.push(`The provided animation property "${j}" is not a supported CSS property for animations`);const re=l.collectedStyles[l.currentQuerySelector],ye=re[j];let Re=!0;ye&&(I!=b&&I>=ye.startTime&&b<=ye.endTime&&(l.errors.push(`The CSS property "${j}" that exists between the times of "${ye.startTime}ms" and "${ye.endTime}ms" is also being animated in a parallel animation between the times of "${I}ms" and "${b}ms"`),Re=!1),I=ye.startTime),Re&&(re[j]={startTime:I,endTime:b}),l.options&&function Vn(C,o,l){const f=o.params||{},b=$n(C);b.length&&b.forEach(I=>{f.hasOwnProperty(I)||l.push(`Unable to resolve the local animation param ${I} in the given list of values`)})}(k[j],l.options,l.errors)})})}visitKeyframes(o,l){const f={type:5,styles:[],options:null};if(!l.currentAnimateTimings)return l.errors.push("keyframes() must be placed inside of a call to animate()"),f;let I=0;const k=[];let j=!1,re=!1,ye=0;const Re=o.steps.map(tn=>{const on=this._makeStyleAst(tn,l);let vn=null!=on.offset?on.offset:function wn(C){if("string"==typeof C)return null;let o=null;if(Array.isArray(C))C.forEach(l=>{if(er(l)&&l.hasOwnProperty("offset")){const f=l;o=parseFloat(f.offset),delete f.offset}});else if(er(C)&&C.hasOwnProperty("offset")){const l=C;o=parseFloat(l.offset),delete l.offset}return o}(on.styles),_n=0;return null!=vn&&(I++,_n=on.offset=vn),re=re||_n<0||_n>1,j=j||_n<ye,ye=_n,k.push(_n),on});re&&l.errors.push("Please ensure that all keyframe offsets are between 0 and 1"),j&&l.errors.push("Please ensure that all keyframe offsets are in order");const $e=o.steps.length;let gt=0;I>0&&I<$e?l.errors.push("Not all style() steps within the declared keyframes() contain offsets"):0==I&&(gt=1/($e-1));const _t=$e-1,Ze=l.currentTime,mt=l.currentAnimateTimings,At=mt.duration;return Re.forEach((tn,on)=>{const vn=gt>0?on==_t?1:gt*on:k[on],_n=vn*At;l.currentTime=Ze+mt.delay+_n,mt.duration=_n,this._validateStyleAst(tn,l),tn.offset=vn,f.styles.push(tn)}),f}visitReference(o,l){return{type:8,animation:Ee(this,rn(o.animation),l),options:en(o.options)}}visitAnimateChild(o,l){return l.depCount++,{type:9,options:en(o.options)}}visitAnimateRef(o,l){return{type:10,animation:this.visitReference(o.animation,l),options:en(o.options)}}visitQuery(o,l){const f=l.currentQuerySelector,b=o.options||{};l.queryCount++,l.currentQuery=o;const[I,k]=function vt(C){const o=!!C.split(/\s*,\s*/).find(l=>":self"==l);return o&&(C=C.replace(Ct,"")),C=C.replace(/@\*/g,dn).replace(/@\w+/g,l=>dn+"-"+l.substr(1)).replace(/:animating/g,bn),[C,o]}(o.selector);l.currentQuerySelector=f.length?f+" "+I:I,F(l.collectedStyles,l.currentQuerySelector,{});const j=Ee(this,rn(o.animation),l);return l.currentQuery=null,l.currentQuerySelector=f,{type:11,selector:I,limit:b.limit||0,optional:!!b.optional,includeSelf:k,animation:j,originalSelector:o.selector,options:en(o.options)}}visitStagger(o,l){l.currentQuery||l.errors.push("stagger() can only be used inside of query()");const f="full"===o.timings?{duration:0,delay:0,easing:"full"}:we(o.timings,l.errors,!0);return{type:12,animation:Ee(this,rn(o.animation),l),timings:f,options:null}}}class ur{constructor(o){this.errors=o,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 er(C){return!Array.isArray(C)&&"object"==typeof C}function en(C){return C?(C=ue(C)).params&&(C.params=function st(C){return C?ue(C):null}(C.params)):C={},C}function Sn(C,o,l){return{duration:C,delay:o,easing:l}}function zn(C,o,l,f,b,I,k=null,j=!1){return{type:1,element:C,keyframes:o,preStyleProps:l,postStyleProps:f,duration:b,delay:I,totalTime:b+I,easing:k,subTimeline:j}}class Gn{constructor(){this._map=new Map}consume(o){let l=this._map.get(o);return l?this._map.delete(o):l=[],l}append(o,l){let f=this._map.get(o);f||this._map.set(o,f=[]),f.push(...l)}has(o){return this._map.has(o)}clear(){this._map.clear()}}const se=new RegExp(":enter","g"),x=new RegExp(":leave","g");function ne(C,o,l,f,b,I={},k={},j,re,ye=[]){return(new Se).buildKeyframes(C,o,l,f,b,I,k,j,re,ye)}class Se{buildKeyframes(o,l,f,b,I,k,j,re,ye,Re=[]){ye=ye||new Gn;const $e=new Z(o,l,ye,b,I,Re,[]);$e.options=re,$e.currentTimeline.setStyles([k],null,$e.errors,re),Ee(this,f,$e);const gt=$e.timelines.filter(_t=>_t.containsAnimation());if(gt.length&&Object.keys(j).length){const _t=gt[gt.length-1];_t.allowOnlyTimelineStyles()||_t.setStyles([j],null,$e.errors,re)}return gt.length?gt.map(_t=>_t.buildKeyframes()):[zn(l,[],[],[],0,0,"",!1)]}visitTrigger(o,l){}visitState(o,l){}visitTransition(o,l){}visitAnimateChild(o,l){const f=l.subInstructions.consume(l.element);if(f){const b=l.createSubContext(o.options),I=l.currentTimeline.currentTime,k=this._visitSubInstructions(f,b,b.options);I!=k&&l.transformIntoNewTimeline(k)}l.previousNode=o}visitAnimateRef(o,l){const f=l.createSubContext(o.options);f.transformIntoNewTimeline(),this.visitReference(o.animation,f),l.transformIntoNewTimeline(f.currentTimeline.currentTime),l.previousNode=o}_visitSubInstructions(o,l,f){let I=l.currentTimeline.currentTime;const k=null!=f.duration?$t(f.duration):null,j=null!=f.delay?$t(f.delay):null;return 0!==k&&o.forEach(re=>{const ye=l.appendInstructionToTimeline(re,k,j);I=Math.max(I,ye.duration+ye.delay)}),I}visitReference(o,l){l.updateOptions(o.options,!0),Ee(this,o.animation,l),l.previousNode=o}visitSequence(o,l){const f=l.subContextCount;let b=l;const I=o.options;if(I&&(I.params||I.delay)&&(b=l.createSubContext(I),b.transformIntoNewTimeline(),null!=I.delay)){6==b.previousNode.type&&(b.currentTimeline.snapshotCurrentStyles(),b.previousNode=O);const k=$t(I.delay);b.delayNextStep(k)}o.steps.length&&(o.steps.forEach(k=>Ee(this,k,b)),b.currentTimeline.applyStylesToKeyframe(),b.subContextCount>f&&b.transformIntoNewTimeline()),l.previousNode=o}visitGroup(o,l){const f=[];let b=l.currentTimeline.currentTime;const I=o.options&&o.options.delay?$t(o.options.delay):0;o.steps.forEach(k=>{const j=l.createSubContext(o.options);I&&j.delayNextStep(I),Ee(this,k,j),b=Math.max(b,j.currentTimeline.currentTime),f.push(j.currentTimeline)}),f.forEach(k=>l.currentTimeline.mergeTimelineCollectedStyles(k)),l.transformIntoNewTimeline(b),l.previousNode=o}_visitTiming(o,l){if(o.dynamic){const f=o.strValue;return we(l.params?xn(f,l.params,l.errors):f,l.errors)}return{duration:o.duration,delay:o.delay,easing:o.easing}}visitAnimate(o,l){const f=l.currentAnimateTimings=this._visitTiming(o.timings,l),b=l.currentTimeline;f.delay&&(l.incrementTime(f.delay),b.snapshotCurrentStyles());const I=o.style;5==I.type?this.visitKeyframes(I,l):(l.incrementTime(f.duration),this.visitStyle(I,l),b.applyStylesToKeyframe()),l.currentAnimateTimings=null,l.previousNode=o}visitStyle(o,l){const f=l.currentTimeline,b=l.currentAnimateTimings;!b&&f.getCurrentStyleProperties().length&&f.forwardFrame();const I=b&&b.easing||o.easing;o.isEmptyStep?f.applyEmptyStep(I):f.setStyles(o.styles,I,l.errors,l.options),l.previousNode=o}visitKeyframes(o,l){const f=l.currentAnimateTimings,b=l.currentTimeline.duration,I=f.duration,j=l.createSubContext().currentTimeline;j.easing=f.easing,o.styles.forEach(re=>{j.forwardTime((re.offset||0)*I),j.setStyles(re.styles,re.easing,l.errors,l.options),j.applyStylesToKeyframe()}),l.currentTimeline.mergeTimelineCollectedStyles(j),l.transformIntoNewTimeline(b+I),l.previousNode=o}visitQuery(o,l){const f=l.currentTimeline.currentTime,b=o.options||{},I=b.delay?$t(b.delay):0;I&&(6===l.previousNode.type||0==f&&l.currentTimeline.getCurrentStyleProperties().length)&&(l.currentTimeline.snapshotCurrentStyles(),l.previousNode=O);let k=f;const j=l.invokeQuery(o.selector,o.originalSelector,o.limit,o.includeSelf,!!b.optional,l.errors);l.currentQueryTotal=j.length;let re=null;j.forEach((ye,Re)=>{l.currentQueryIndex=Re;const $e=l.createSubContext(o.options,ye);I&&$e.delayNextStep(I),ye===l.element&&(re=$e.currentTimeline),Ee(this,o.animation,$e),$e.currentTimeline.applyStylesToKeyframe(),k=Math.max(k,$e.currentTimeline.currentTime)}),l.currentQueryIndex=0,l.currentQueryTotal=0,l.transformIntoNewTimeline(k),re&&(l.currentTimeline.mergeTimelineCollectedStyles(re),l.currentTimeline.snapshotCurrentStyles()),l.previousNode=o}visitStagger(o,l){const f=l.parentContext,b=l.currentTimeline,I=o.timings,k=Math.abs(I.duration),j=k*(l.currentQueryTotal-1);let re=k*l.currentQueryIndex;switch(I.duration<0?"reverse":I.easing){case"reverse":re=j-re;break;case"full":re=f.currentStaggerTime}const Re=l.currentTimeline;re&&Re.delayNextStep(re);const $e=Re.currentTime;Ee(this,o.animation,l),l.previousNode=o,f.currentStaggerTime=b.currentTime-$e+(b.startTime-f.currentTimeline.startTime)}}const O={};class Z{constructor(o,l,f,b,I,k,j,re){this._driver=o,this.element=l,this.subInstructions=f,this._enterClassName=b,this._leaveClassName=I,this.errors=k,this.timelines=j,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=O,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=re||new R(this._driver,l,0),j.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(o,l){if(!o)return;const f=o;let b=this.options;null!=f.duration&&(b.duration=$t(f.duration)),null!=f.delay&&(b.delay=$t(f.delay));const I=f.params;if(I){let k=b.params;k||(k=this.options.params={}),Object.keys(I).forEach(j=>{(!l||!k.hasOwnProperty(j))&&(k[j]=xn(I[j],k,this.errors))})}}_copyOptions(){const o={};if(this.options){const l=this.options.params;if(l){const f=o.params={};Object.keys(l).forEach(b=>{f[b]=l[b]})}}return o}createSubContext(o=null,l,f){const b=l||this.element,I=new Z(this._driver,b,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(b,f||0));return I.previousNode=this.previousNode,I.currentAnimateTimings=this.currentAnimateTimings,I.options=this._copyOptions(),I.updateOptions(o),I.currentQueryIndex=this.currentQueryIndex,I.currentQueryTotal=this.currentQueryTotal,I.parentContext=this,this.subContextCount++,I}transformIntoNewTimeline(o){return this.previousNode=O,this.currentTimeline=this.currentTimeline.fork(this.element,o),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(o,l,f){const b={duration:null!=l?l:o.duration,delay:this.currentTimeline.currentTime+(null!=f?f:0)+o.delay,easing:""},I=new de(this._driver,o.element,o.keyframes,o.preStyleProps,o.postStyleProps,b,o.stretchStartingKeyframe);return this.timelines.push(I),b}incrementTime(o){this.currentTimeline.forwardTime(this.currentTimeline.duration+o)}delayNextStep(o){o>0&&this.currentTimeline.delayNextStep(o)}invokeQuery(o,l,f,b,I,k){let j=[];if(b&&j.push(this.element),o.length>0){o=(o=o.replace(se,"."+this._enterClassName)).replace(x,"."+this._leaveClassName);let ye=this._driver.query(this.element,o,1!=f);0!==f&&(ye=f<0?ye.slice(ye.length+f,ye.length):ye.slice(0,f)),j.push(...ye)}return!I&&0==j.length&&k.push(`\`query("${l}")\` returned zero elements. (Use \`query("${l}", { optional: true })\` if you wish to allow this.)`),j}}class R{constructor(o,l,f,b){this._driver=o,this.element=l,this.startTime=f,this._elementTimelineStylesLookup=b,this.duration=0,this._previousKeyframe={},this._currentKeyframe={},this._keyframes=new Map,this._styleSummary={},this._pendingStyles={},this._backFill={},this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._localTimelineStyles=Object.create(this._backFill,{}),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(l),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(l,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.getCurrentStyleProperties().length>0;default:return!0}}getCurrentStyleProperties(){return Object.keys(this._currentKeyframe)}get currentTime(){return this.startTime+this.duration}delayNextStep(o){const l=1==this._keyframes.size&&Object.keys(this._pendingStyles).length;this.duration||l?(this.forwardTime(this.currentTime+o),l&&this.snapshotCurrentStyles()):this.startTime+=o}fork(o,l){return this.applyStylesToKeyframe(),new R(this._driver,o,l||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=Object.create(this._backFill,{}),this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(o){this.applyStylesToKeyframe(),this.duration=o,this._loadKeyframe()}_updateStyle(o,l){this._localTimelineStyles[o]=l,this._globalTimelineStyles[o]=l,this._styleSummary[o]={time:this.currentTime,value:l}}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(o){o&&(this._previousKeyframe.easing=o),Object.keys(this._globalTimelineStyles).forEach(l=>{this._backFill[l]=this._globalTimelineStyles[l]||J.l3,this._currentKeyframe[l]=J.l3}),this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(o,l,f,b){l&&(this._previousKeyframe.easing=l);const I=b&&b.params||{},k=function wt(C,o){const l={};let f;return C.forEach(b=>{"*"===b?(f=f||Object.keys(o),f.forEach(I=>{l[I]=J.l3})):je(b,!1,l)}),l}(o,this._globalTimelineStyles);Object.keys(k).forEach(j=>{const re=xn(k[j],I,f);this._pendingStyles[j]=re,this._localTimelineStyles.hasOwnProperty(j)||(this._backFill[j]=this._globalTimelineStyles.hasOwnProperty(j)?this._globalTimelineStyles[j]:J.l3),this._updateStyle(j,re)})}applyStylesToKeyframe(){const o=this._pendingStyles,l=Object.keys(o);0!=l.length&&(this._pendingStyles={},l.forEach(f=>{this._currentKeyframe[f]=o[f]}),Object.keys(this._localTimelineStyles).forEach(f=>{this._currentKeyframe.hasOwnProperty(f)||(this._currentKeyframe[f]=this._localTimelineStyles[f])}))}snapshotCurrentStyles(){Object.keys(this._localTimelineStyles).forEach(o=>{const l=this._localTimelineStyles[o];this._pendingStyles[o]=l,this._updateStyle(o,l)})}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const o=[];for(let l in this._currentKeyframe)o.push(l);return o}mergeTimelineCollectedStyles(o){Object.keys(o._styleSummary).forEach(l=>{const f=this._styleSummary[l],b=o._styleSummary[l];(!f||b.time>f.time)&&this._updateStyle(l,b.value)})}buildKeyframes(){this.applyStylesToKeyframe();const o=new Set,l=new Set,f=1===this._keyframes.size&&0===this.duration;let b=[];this._keyframes.forEach((j,re)=>{const ye=je(j,!0);Object.keys(ye).forEach(Re=>{const $e=ye[Re];$e==J.k1?o.add(Re):$e==J.l3&&l.add(Re)}),f||(ye.offset=re/this.duration),b.push(ye)});const I=o.size?Vt(o.values()):[],k=l.size?Vt(l.values()):[];if(f){const j=b[0],re=ue(j);j.offset=0,re.offset=1,b=[j,re]}return zn(this.element,b,I,k,this.duration,this.startTime,this.easing,!1)}}class de extends R{constructor(o,l,f,b,I,k,j=!1){super(o,l,k.delay),this.keyframes=f,this.preStyleProps=b,this.postStyleProps=I,this._stretchStartingKeyframe=j,this.timings={duration:k.duration,delay:k.delay,easing:k.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let o=this.keyframes,{delay:l,duration:f,easing:b}=this.timings;if(this._stretchStartingKeyframe&&l){const I=[],k=f+l,j=l/k,re=je(o[0],!1);re.offset=0,I.push(re);const ye=je(o[0],!1);ye.offset=it(j),I.push(ye);const Re=o.length-1;for(let $e=1;$e<=Re;$e++){let gt=je(o[$e],!1);gt.offset=it((l+gt.offset*f)/k),I.push(gt)}f=k,l=0,b="",o=I}return zn(this.element,o,this.preStyleProps,this.postStyleProps,f,l,b,!0)}}function it(C,o=3){const l=Math.pow(10,o-1);return Math.round(C*l)/l}class Fn{}class dr extends Fn{normalizePropertyName(o,l){return nt(o)}normalizeStyleValue(o,l,f,b){let I="";const k=f.toString().trim();if(fn[l]&&0!==f&&"0"!==f)if("number"==typeof f)I="px";else{const j=f.match(/^[+-]?[\d\.]+([a-z]*)$/);j&&0==j[1].length&&b.push(`Please provide a CSS unit value for ${o}:${f}`)}return k+I}}const fn=(()=>function pn(C){const o={};return C.forEach(l=>o[l]=!0),o}("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 Yr(C,o,l,f,b,I,k,j,re,ye,Re,$e,gt){return{type:0,element:C,triggerName:o,isRemovalTransition:b,fromState:l,fromStyles:I,toState:f,toStyles:k,timelines:j,queriedElements:re,preStyleProps:ye,postStyleProps:Re,totalTime:$e,errors:gt}}const Mn={};class Le{constructor(o,l,f){this._triggerName=o,this.ast=l,this._stateStyles=f}match(o,l,f,b){return function Dt(C,o,l,f,b){return C.some(I=>I(o,l,f,b))}(this.ast.matchers,o,l,f,b)}buildStyles(o,l,f){const b=this._stateStyles["*"],I=this._stateStyles[o],k=b?b.buildStyles(l,f):{};return I?I.buildStyles(l,f):k}build(o,l,f,b,I,k,j,re,ye,Re){const $e=[],gt=this.ast.options&&this.ast.options.params||Mn,Ze=this.buildStyles(f,j&&j.params||Mn,$e),mt=re&&re.params||Mn,At=this.buildStyles(b,mt,$e),tn=new Set,on=new Map,vn=new Map,_n="void"===b,Hr={params:Object.assign(Object.assign({},gt),mt)},Zn=Re?[]:ne(o,l,this.ast.animation,I,k,Ze,At,Hr,ye,$e);let Rn=0;if(Zn.forEach(rr=>{Rn=Math.max(rr.duration+rr.delay,Rn)}),$e.length)return Yr(l,this._triggerName,f,b,_n,Ze,At,[],[],on,vn,Rn,$e);Zn.forEach(rr=>{const wr=rr.element,ui=F(on,wr,{});rr.preStyleProps.forEach(Vr=>ui[Vr]=!0);const vs=F(vn,wr,{});rr.postStyleProps.forEach(Vr=>vs[Vr]=!0),wr!==l&&tn.add(wr)});const pr=Vt(tn.values());return Yr(l,this._triggerName,f,b,_n,Ze,At,Zn,pr,on,vn,Rn)}}class kt{constructor(o,l,f){this.styles=o,this.defaultParams=l,this.normalizer=f}buildStyles(o,l){const f={},b=ue(this.defaultParams);return Object.keys(o).forEach(I=>{const k=o[I];null!=k&&(b[I]=k)}),this.styles.styles.forEach(I=>{if("string"!=typeof I){const k=I;Object.keys(k).forEach(j=>{let re=k[j];re.length>1&&(re=xn(re,b,l));const ye=this.normalizer.normalizePropertyName(j,l);re=this.normalizer.normalizeStyleValue(j,ye,re,l),f[ye]=re})}}),f}}class _r{constructor(o,l,f){this.name=o,this.ast=l,this._normalizer=f,this.transitionFactories=[],this.states={},l.states.forEach(b=>{this.states[b.name]=new kt(b.style,b.options&&b.options.params||{},f)}),Sr(this.states,"true","1"),Sr(this.states,"false","0"),l.transitions.forEach(b=>{this.transitionFactories.push(new Le(o,b,this.states))}),this.fallbackTransition=function ln(C,o,l){return new Le(C,{type:1,animation:{type:2,steps:[],options:null},matchers:[(k,j)=>!0],options:null,queryCount:0,depCount:0},o)}(o,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(o,l,f,b){return this.transitionFactories.find(k=>k.match(o,l,f,b))||null}matchStyles(o,l,f){return this.fallbackTransition.buildStyles(o,l,f)}}function Sr(C,o,l){C.hasOwnProperty(o)?C.hasOwnProperty(l)||(C[l]=C[o]):C.hasOwnProperty(l)&&(C[o]=C[l])}const Jt=new Gn;class Mr{constructor(o,l,f){this.bodyNode=o,this._driver=l,this._normalizer=f,this._animations={},this._playersById={},this.players=[]}register(o,l){const f=[],b=Ue(this._driver,l,f);if(f.length)throw new Error(`Unable to build the animation due to the following errors: ${f.join("\n")}`);this._animations[o]=b}_buildPlayer(o,l,f){const b=o.element,I=Q(0,this._normalizer,0,o.keyframes,l,f);return this._driver.animate(b,I,o.duration,o.delay,o.easing,[],!0)}create(o,l,f={}){const b=[],I=this._animations[o];let k;const j=new Map;if(I?(k=ne(this._driver,l,I,lt,Ve,{},{},f,Jt,b),k.forEach(Re=>{const $e=F(j,Re.element,{});Re.postStyleProps.forEach(gt=>$e[gt]=null)})):(b.push("The requested animation doesn't exist or has already been destroyed"),k=[]),b.length)throw new Error(`Unable to create the animation due to the following errors: ${b.join("\n")}`);j.forEach((Re,$e)=>{Object.keys(Re).forEach(gt=>{Re[gt]=this._driver.computeStyle($e,gt,J.l3)})});const ye=U(k.map(Re=>{const $e=j.get(Re.element);return this._buildPlayer(Re,{},$e)}));return this._playersById[o]=ye,ye.onDestroy(()=>this.destroy(o)),this.players.push(ye),ye}destroy(o){const l=this._getPlayer(o);l.destroy(),delete this._playersById[o];const f=this.players.indexOf(l);f>=0&&this.players.splice(f,1)}_getPlayer(o){const l=this._playersById[o];if(!l)throw new Error(`Unable to find the timeline player referenced by ${o}`);return l}listen(o,l,f,b){const I=V(l,"","","");return q(this._getPlayer(o),f,I,b),()=>{}}command(o,l,f,b){if("register"==f)return void this.register(o,b[0]);if("create"==f)return void this.create(o,l,b[0]||{});const I=this._getPlayer(o);switch(f){case"play":I.play();break;case"pause":I.pause();break;case"reset":I.reset();break;case"restart":I.restart();break;case"finish":I.finish();break;case"init":I.init();break;case"setPosition":I.setPosition(parseFloat(b[0]));break;case"destroy":this.destroy(o)}}}const nr="ng-animate-queued",An="ng-animate-disabled",kn=".ng-animate-disabled",In=[],Ln={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},hr={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},zt="__ng_removed";class Rt{constructor(o,l=""){this.namespaceId=l;const f=o&&o.hasOwnProperty("value");if(this.value=function Ir(C){return null!=C?C:null}(f?o.value:o),f){const I=ue(o);delete I.value,this.options=I}else this.options={};this.options.params||(this.options.params={})}get params(){return this.options.params}absorbOptions(o){const l=o.params;if(l){const f=this.options.params;Object.keys(l).forEach(b=>{null==f[b]&&(f[b]=l[b])})}}}const Ar="void",cs=new Rt(Ar);class Wn{constructor(o,l,f){this.id=o,this.hostElement=l,this._engine=f,this.players=[],this._triggers={},this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+o,Kn(l,this._hostClassName)}listen(o,l,f,b){if(!this._triggers.hasOwnProperty(l))throw new Error(`Unable to listen on the animation trigger event "${f}" because the animation trigger "${l}" doesn't exist!`);if(null==f||0==f.length)throw new Error(`Unable to listen on the animation trigger "${l}" because the provided event is undefined!`);if(!function ii(C){return"start"==C||"done"==C}(f))throw new Error(`The provided animation trigger event "${f}" for the animation trigger "${l}" is not supported!`);const I=F(this._elementListeners,o,[]),k={name:l,phase:f,callback:b};I.push(k);const j=F(this._engine.statesByElement,o,{});return j.hasOwnProperty(l)||(Kn(o,cn),Kn(o,cn+"-"+l),j[l]=cs),()=>{this._engine.afterFlush(()=>{const re=I.indexOf(k);re>=0&&I.splice(re,1),this._triggers[l]||delete j[l]})}}register(o,l){return!this._triggers[o]&&(this._triggers[o]=l,!0)}_getTrigger(o){const l=this._triggers[o];if(!l)throw new Error(`The provided animation trigger "${o}" has not been registered!`);return l}trigger(o,l,f,b=!0){const I=this._getTrigger(l),k=new Er(this.id,l,o);let j=this._engine.statesByElement.get(o);j||(Kn(o,cn),Kn(o,cn+"-"+l),this._engine.statesByElement.set(o,j={}));let re=j[l];const ye=new Rt(f,this.id);if(!(f&&f.hasOwnProperty("value"))&&re&&ye.absorbOptions(re.options),j[l]=ye,re||(re=cs),ye.value!==Ar&&re.value===ye.value){if(!function Ei(C,o){const l=Object.keys(C),f=Object.keys(o);if(l.length!=f.length)return!1;for(let b=0;b<l.length;b++){const I=l[b];if(!o.hasOwnProperty(I)||C[I]!==o[I])return!1}return!0}(re.params,ye.params)){const mt=[],At=I.matchStyles(re.value,re.params,mt),tn=I.matchStyles(ye.value,ye.params,mt);mt.length?this._engine.reportError(mt):this._engine.afterFlush(()=>{hn(o,At),Gt(o,tn)})}return}const gt=F(this._engine.playersByElement,o,[]);gt.forEach(mt=>{mt.namespaceId==this.id&&mt.triggerName==l&&mt.queued&&mt.destroy()});let _t=I.matchTransition(re.value,ye.value,o,ye.params),Ze=!1;if(!_t){if(!b)return;_t=I.fallbackTransition,Ze=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:o,triggerName:l,transition:_t,fromState:re,toState:ye,player:k,isFallbackTransition:Ze}),Ze||(Kn(o,nr),k.onStart(()=>{Zr(o,nr)})),k.onDone(()=>{let mt=this.players.indexOf(k);mt>=0&&this.players.splice(mt,1);const At=this._engine.playersByElement.get(o);if(At){let tn=At.indexOf(k);tn>=0&&At.splice(tn,1)}}),this.players.push(k),gt.push(k),k}deregister(o){delete this._triggers[o],this._engine.statesByElement.forEach((l,f)=>{delete l[o]}),this._elementListeners.forEach((l,f)=>{this._elementListeners.set(f,l.filter(b=>b.name!=o))})}clearElementCache(o){this._engine.statesByElement.delete(o),this._elementListeners.delete(o);const l=this._engine.playersByElement.get(o);l&&(l.forEach(f=>f.destroy()),this._engine.playersByElement.delete(o))}_signalRemovalForInnerTriggers(o,l){const f=this._engine.driver.query(o,dn,!0);f.forEach(b=>{if(b[zt])return;const I=this._engine.fetchNamespacesByElement(b);I.size?I.forEach(k=>k.triggerLeaveAnimation(b,l,!1,!0)):this.clearElementCache(b)}),this._engine.afterFlushAnimationsDone(()=>f.forEach(b=>this.clearElementCache(b)))}triggerLeaveAnimation(o,l,f,b){const I=this._engine.statesByElement.get(o);if(I){const k=[];if(Object.keys(I).forEach(j=>{if(this._triggers[j]){const re=this.trigger(o,j,Ar,b);re&&k.push(re)}}),k.length)return this._engine.markElementAsRemoved(this.id,o,!0,l),f&&U(k).onDone(()=>this._engine.processLeaveNode(o)),!0}return!1}prepareLeaveAnimationListeners(o){const l=this._elementListeners.get(o),f=this._engine.statesByElement.get(o);if(l&&f){const b=new Set;l.forEach(I=>{const k=I.name;if(b.has(k))return;b.add(k);const re=this._triggers[k].fallbackTransition,ye=f[k]||cs,Re=new Rt(Ar),$e=new Er(this.id,k,o);this._engine.totalQueuedPlayers++,this._queue.push({element:o,triggerName:k,transition:re,fromState:ye,toState:Re,player:$e,isFallbackTransition:!0})})}}removeNode(o,l){const f=this._engine;if(o.childElementCount&&this._signalRemovalForInnerTriggers(o,l),this.triggerLeaveAnimation(o,l,!0))return;let b=!1;if(f.totalAnimations){const I=f.players.length?f.playersByQueriedElement.get(o):[];if(I&&I.length)b=!0;else{let k=o;for(;k=k.parentNode;)if(f.statesByElement.get(k)){b=!0;break}}}if(this.prepareLeaveAnimationListeners(o),b)f.markElementAsRemoved(this.id,o,!1,l);else{const I=o[zt];(!I||I===Ln)&&(f.afterFlush(()=>this.clearElementCache(o)),f.destroyInnerAnimations(o),f._onRemovalComplete(o,l))}}insertNode(o,l){Kn(o,this._hostClassName)}drainQueuedTransitions(o){const l=[];return this._queue.forEach(f=>{const b=f.player;if(b.destroyed)return;const I=f.element,k=this._elementListeners.get(I);k&&k.forEach(j=>{if(j.name==f.triggerName){const re=V(I,f.triggerName,f.fromState.value,f.toState.value);re._data=o,q(f.player,j.phase,re,j.callback)}}),b.markedForDestroy?this._engine.afterFlush(()=>{b.destroy()}):l.push(f)}),this._queue=[],l.sort((f,b)=>{const I=f.transition.ast.depCount,k=b.transition.ast.depCount;return 0==I||0==k?I-k:this._engine.driver.containsElement(f.element,b.element)?1:-1})}destroy(o){this.players.forEach(l=>l.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,o)}elementContainsData(o){let l=!1;return this._elementListeners.has(o)&&(l=!0),l=!!this._queue.find(f=>f.element===o)||l,l}}class Bn{constructor(o,l,f){this.bodyNode=o,this.driver=l,this._normalizer=f,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=(b,I)=>{}}_onRemovalComplete(o,l){this.onRemovalComplete(o,l)}get queuedPlayers(){const o=[];return this._namespaceList.forEach(l=>{l.players.forEach(f=>{f.queued&&o.push(f)})}),o}createNamespace(o,l){const f=new Wn(o,l,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,l)?this._balanceNamespaceList(f,l):(this.newHostElements.set(l,f),this.collectEnterElement(l)),this._namespaceLookup[o]=f}_balanceNamespaceList(o,l){const f=this._namespaceList.length-1;if(f>=0){let b=!1;for(let I=f;I>=0;I--)if(this.driver.containsElement(this._namespaceList[I].hostElement,l)){this._namespaceList.splice(I+1,0,o),b=!0;break}b||this._namespaceList.splice(0,0,o)}else this._namespaceList.push(o);return this.namespacesByHostElement.set(l,o),o}register(o,l){let f=this._namespaceLookup[o];return f||(f=this.createNamespace(o,l)),f}registerTrigger(o,l,f){let b=this._namespaceLookup[o];b&&b.register(l,f)&&this.totalAnimations++}destroy(o,l){if(!o)return;const f=this._fetchNamespace(o);this.afterFlush(()=>{this.namespacesByHostElement.delete(f.hostElement),delete this._namespaceLookup[o];const b=this._namespaceList.indexOf(f);b>=0&&this._namespaceList.splice(b,1)}),this.afterFlushAnimationsDone(()=>f.destroy(l))}_fetchNamespace(o){return this._namespaceLookup[o]}fetchNamespacesByElement(o){const l=new Set,f=this.statesByElement.get(o);if(f){const b=Object.keys(f);for(let I=0;I<b.length;I++){const k=f[b[I]].namespaceId;if(k){const j=this._fetchNamespace(k);j&&l.add(j)}}}return l}trigger(o,l,f,b){if(Wt(l)){const I=this._fetchNamespace(o);if(I)return I.trigger(l,f,b),!0}return!1}insertNode(o,l,f,b){if(!Wt(l))return;const I=l[zt];if(I&&I.setForRemoval){I.setForRemoval=!1,I.setForMove=!0;const k=this.collectedLeaveElements.indexOf(l);k>=0&&this.collectedLeaveElements.splice(k,1)}if(o){const k=this._fetchNamespace(o);k&&k.insertNode(l,f)}b&&this.collectEnterElement(l)}collectEnterElement(o){this.collectedEnterElements.push(o)}markElementAsDisabled(o,l){l?this.disabledNodes.has(o)||(this.disabledNodes.add(o),Kn(o,An)):this.disabledNodes.has(o)&&(this.disabledNodes.delete(o),Zr(o,An))}removeNode(o,l,f,b){if(Wt(l)){const I=o?this._fetchNamespace(o):null;if(I?I.removeNode(l,b):this.markElementAsRemoved(o,l,!1,b),f){const k=this.namespacesByHostElement.get(l);k&&k.id!==o&&k.removeNode(l,b)}}else this._onRemovalComplete(l,b)}markElementAsRemoved(o,l,f,b){this.collectedLeaveElements.push(l),l[zt]={namespaceId:o,setForRemoval:b,hasAnimation:f,removedBeforeQueried:!1}}listen(o,l,f,b,I){return Wt(l)?this._fetchNamespace(o).listen(l,f,b,I):()=>{}}_buildInstruction(o,l,f,b,I){return o.transition.build(this.driver,o.element,o.fromState.value,o.toState.value,f,b,o.fromState.options,o.toState.options,l,I)}destroyInnerAnimations(o){let l=this.driver.query(o,dn,!0);l.forEach(f=>this.destroyActiveAnimationsForElement(f)),0!=this.playersByQueriedElement.size&&(l=this.driver.query(o,bn,!0),l.forEach(f=>this.finishActiveQueriedAnimationOnElement(f)))}destroyActiveAnimationsForElement(o){const l=this.playersByElement.get(o);l&&l.forEach(f=>{f.queued?f.markedForDestroy=!0:f.destroy()})}finishActiveQueriedAnimationOnElement(o){const l=this.playersByQueriedElement.get(o);l&&l.forEach(f=>f.finish())}whenRenderingDone(){return new Promise(o=>{if(this.players.length)return U(this.players).onDone(()=>o());o()})}processLeaveNode(o){const l=o[zt];if(l&&l.setForRemoval){if(o[zt]=Ln,l.namespaceId){this.destroyInnerAnimations(o);const f=this._fetchNamespace(l.namespaceId);f&&f.clearElementCache(o)}this._onRemovalComplete(o,l.setForRemoval)}this.driver.matchesElement(o,kn)&&this.markElementAsDisabled(o,!1),this.driver.query(o,kn,!0).forEach(f=>{this.markElementAsDisabled(f,!1)})}flush(o=-1){let l=[];if(this.newHostElements.size&&(this.newHostElements.forEach((f,b)=>this._balanceNamespaceList(f,b)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let f=0;f<this.collectedEnterElements.length;f++)Kn(this.collectedEnterElements[f],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){const f=[];try{l=this._flushAnimations(f,o)}finally{for(let b=0;b<f.length;b++)f[b]()}}else for(let f=0;f<this.collectedLeaveElements.length;f++)this.processLeaveNode(this.collectedLeaveElements[f]);if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(f=>f()),this._flushFns=[],this._whenQuietFns.length){const f=this._whenQuietFns;this._whenQuietFns=[],l.length?U(l).onDone(()=>{f.forEach(b=>b())}):f.forEach(b=>b())}}reportError(o){throw new Error(`Unable to process animations due to the following failed trigger transitions\n ${o.join("\n")}`)}_flushAnimations(o,l){const f=new Gn,b=[],I=new Map,k=[],j=new Map,re=new Map,ye=new Map,Re=new Set;this.disabledNodes.forEach(Ye=>{Re.add(Ye);const We=this.driver.query(Ye,".ng-animate-queued",!0);for(let Xe=0;Xe<We.length;Xe++)Re.add(We[Xe])});const $e=this.bodyNode,gt=Array.from(this.statesByElement.keys()),_t=kr(gt,this.collectedEnterElements),Ze=new Map;let mt=0;_t.forEach((Ye,We)=>{const Xe=lt+mt++;Ze.set(We,Xe),Ye.forEach(Je=>Kn(Je,Xe))});const At=[],tn=new Set,on=new Set;for(let Ye=0;Ye<this.collectedLeaveElements.length;Ye++){const We=this.collectedLeaveElements[Ye],Xe=We[zt];Xe&&Xe.setForRemoval&&(At.push(We),tn.add(We),Xe.hasAnimation?this.driver.query(We,".ng-star-inserted",!0).forEach(Je=>tn.add(Je)):on.add(We))}const vn=new Map,_n=kr(gt,Array.from(tn));_n.forEach((Ye,We)=>{const Xe=Ve+mt++;vn.set(We,Xe),Ye.forEach(Je=>Kn(Je,Xe))}),o.push(()=>{_t.forEach((Ye,We)=>{const Xe=Ze.get(We);Ye.forEach(Je=>Zr(Je,Xe))}),_n.forEach((Ye,We)=>{const Xe=vn.get(We);Ye.forEach(Je=>Zr(Je,Xe))}),At.forEach(Ye=>{this.processLeaveNode(Ye)})});const Hr=[],Zn=[];for(let Ye=this._namespaceList.length-1;Ye>=0;Ye--)this._namespaceList[Ye].drainQueuedTransitions(l).forEach(Xe=>{const Je=Xe.player,gn=Xe.element;if(Hr.push(Je),this.collectedEnterElements.length){const Jn=gn[zt];if(Jn&&Jn.setForMove)return void Je.destroy()}const Tr=!$e||!this.driver.containsElement($e,gn),Yn=vn.get(gn),$r=Ze.get(gn),Xt=this._buildInstruction(Xe,f,$r,Yn,Tr);if(Xt.errors&&Xt.errors.length)Zn.push(Xt);else{if(Tr)return Je.onStart(()=>hn(gn,Xt.fromStyles)),Je.onDestroy(()=>Gt(gn,Xt.toStyles)),void b.push(Je);if(Xe.isFallbackTransition)return Je.onStart(()=>hn(gn,Xt.fromStyles)),Je.onDestroy(()=>Gt(gn,Xt.toStyles)),void b.push(Je);Xt.timelines.forEach(Jn=>Jn.stretchStartingKeyframe=!0),f.append(gn,Xt.timelines),k.push({instruction:Xt,player:Je,element:gn}),Xt.queriedElements.forEach(Jn=>F(j,Jn,[]).push(Je)),Xt.preStyleProps.forEach((Jn,an)=>{const es=Object.keys(Jn);if(es.length){let sr=re.get(an);sr||re.set(an,sr=new Set),es.forEach(ts=>sr.add(ts))}}),Xt.postStyleProps.forEach((Jn,an)=>{const es=Object.keys(Jn);let sr=ye.get(an);sr||ye.set(an,sr=new Set),es.forEach(ts=>sr.add(ts))})}});if(Zn.length){const Ye=[];Zn.forEach(We=>{Ye.push(`@${We.triggerName} has failed due to:\n`),We.errors.forEach(Xe=>Ye.push(`- ${Xe}\n`))}),Hr.forEach(We=>We.destroy()),this.reportError(Ye)}const Rn=new Map,pr=new Map;k.forEach(Ye=>{const We=Ye.element;f.has(We)&&(pr.set(We,We),this._beforeAnimationBuild(Ye.player.namespaceId,Ye.instruction,Rn))}),b.forEach(Ye=>{const We=Ye.element;this._getPreviousPlayers(We,!1,Ye.namespaceId,Ye.triggerName,null).forEach(Je=>{F(Rn,We,[]).push(Je),Je.destroy()})});const rr=At.filter(Ye=>js(Ye,re,ye)),wr=new Map;qr(wr,this.driver,on,ye,J.l3).forEach(Ye=>{js(Ye,re,ye)&&rr.push(Ye)});const vs=new Map;_t.forEach((Ye,We)=>{qr(vs,this.driver,new Set(Ye),re,J.k1)}),rr.forEach(Ye=>{const We=wr.get(Ye),Xe=vs.get(Ye);wr.set(Ye,Object.assign(Object.assign({},We),Xe))});const Vr=[],Xr=[],wi={};k.forEach(Ye=>{const{element:We,player:Xe,instruction:Je}=Ye;if(f.has(We)){if(Re.has(We))return Xe.onDestroy(()=>Gt(We,Je.toStyles)),Xe.disabled=!0,Xe.overrideTotalTime(Je.totalTime),void b.push(Xe);let gn=wi;if(pr.size>1){let Yn=We;const $r=[];for(;Yn=Yn.parentNode;){const Xt=pr.get(Yn);if(Xt){gn=Xt;break}$r.push(Yn)}$r.forEach(Xt=>pr.set(Xt,gn))}const Tr=this._buildAnimation(Xe.namespaceId,Je,Rn,I,vs,wr);if(Xe.setRealPlayer(Tr),gn===wi)Vr.push(Xe);else{const Yn=this.playersByElement.get(gn);Yn&&Yn.length&&(Xe.parentPlayer=U(Yn)),b.push(Xe)}}else hn(We,Je.fromStyles),Xe.onDestroy(()=>Gt(We,Je.toStyles)),Xr.push(Xe),Re.has(We)&&b.push(Xe)}),Xr.forEach(Ye=>{const We=I.get(Ye.element);if(We&&We.length){const Xe=U(We);Ye.setRealPlayer(Xe)}}),b.forEach(Ye=>{Ye.parentPlayer?Ye.syncPlayerEvents(Ye.parentPlayer):Ye.destroy()});for(let Ye=0;Ye<At.length;Ye++){const We=At[Ye],Xe=We[zt];if(Zr(We,Ve),Xe&&Xe.hasAnimation)continue;let Je=[];if(j.size){let Tr=j.get(We);Tr&&Tr.length&&Je.push(...Tr);let Yn=this.driver.query(We,bn,!0);for(let $r=0;$r<Yn.length;$r++){let Xt=j.get(Yn[$r]);Xt&&Xt.length&&Je.push(...Xt)}}const gn=Je.filter(Tr=>!Tr.destroyed);gn.length?Ls(this,We,gn):this.processLeaveNode(We)}return At.length=0,Vr.forEach(Ye=>{this.players.push(Ye),Ye.onDone(()=>{Ye.destroy();const We=this.players.indexOf(Ye);this.players.splice(We,1)}),Ye.play()}),Vr}elementContainsData(o,l){let f=!1;const b=l[zt];return b&&b.setForRemoval&&(f=!0),this.playersByElement.has(l)&&(f=!0),this.playersByQueriedElement.has(l)&&(f=!0),this.statesByElement.has(l)&&(f=!0),this._fetchNamespace(o).elementContainsData(l)||f}afterFlush(o){this._flushFns.push(o)}afterFlushAnimationsDone(o){this._whenQuietFns.push(o)}_getPreviousPlayers(o,l,f,b,I){let k=[];if(l){const j=this.playersByQueriedElement.get(o);j&&(k=j)}else{const j=this.playersByElement.get(o);if(j){const re=!I||I==Ar;j.forEach(ye=>{ye.queued||!re&&ye.triggerName!=b||k.push(ye)})}}return(f||b)&&(k=k.filter(j=>!(f&&f!=j.namespaceId||b&&b!=j.triggerName))),k}_beforeAnimationBuild(o,l,f){const I=l.element,k=l.isRemovalTransition?void 0:o,j=l.isRemovalTransition?void 0:l.triggerName;for(const re of l.timelines){const ye=re.element,Re=ye!==I,$e=F(f,ye,[]);this._getPreviousPlayers(ye,Re,k,j,l.toState).forEach(_t=>{const Ze=_t.getRealPlayer();Ze.beforeDestroy&&Ze.beforeDestroy(),_t.destroy(),$e.push(_t)})}hn(I,l.fromStyles)}_buildAnimation(o,l,f,b,I,k){const j=l.triggerName,re=l.element,ye=[],Re=new Set,$e=new Set,gt=l.timelines.map(Ze=>{const mt=Ze.element;Re.add(mt);const At=mt[zt];if(At&&At.removedBeforeQueried)return new J.ZN(Ze.duration,Ze.delay);const tn=mt!==re,on=function Di(C){const o=[];return Bs(C,o),o}((f.get(mt)||In).map(Rn=>Rn.getRealPlayer())).filter(Rn=>!!Rn.element&&Rn.element===mt),vn=I.get(mt),_n=k.get(mt),Hr=Q(0,this._normalizer,0,Ze.keyframes,vn,_n),Zn=this._buildPlayer(Ze,Hr,on);if(Ze.subTimeline&&b&&$e.add(mt),tn){const Rn=new Er(o,j,mt);Rn.setRealPlayer(Zn),ye.push(Rn)}return Zn});ye.forEach(Ze=>{F(this.playersByQueriedElement,Ze.element,[]).push(Ze),Ze.onDone(()=>function Qr(C,o,l){let f;if(C instanceof Map){if(f=C.get(o),f){if(f.length){const b=f.indexOf(l);f.splice(b,1)}0==f.length&&C.delete(o)}}else if(f=C[o],f){if(f.length){const b=f.indexOf(l);f.splice(b,1)}0==f.length&&delete C[o]}return f}(this.playersByQueriedElement,Ze.element,Ze))}),Re.forEach(Ze=>Kn(Ze,Cn));const _t=U(gt);return _t.onDestroy(()=>{Re.forEach(Ze=>Zr(Ze,Cn)),Gt(re,l.toStyles)}),$e.forEach(Ze=>{F(b,Ze,[]).push(_t)}),_t}_buildPlayer(o,l,f){return l.length>0?this.driver.animate(o.element,l,o.duration,o.delay,o.easing,f):new J.ZN(o.duration,o.delay)}}class Er{constructor(o,l,f){this.namespaceId=o,this.triggerName=l,this.element=f,this._player=new J.ZN,this._containsRealPlayer=!1,this._queuedCallbacks={},this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(o){this._containsRealPlayer||(this._player=o,Object.keys(this._queuedCallbacks).forEach(l=>{this._queuedCallbacks[l].forEach(f=>q(o,l,void 0,f))}),this._queuedCallbacks={},this._containsRealPlayer=!0,this.overrideTotalTime(o.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(o){this.totalTime=o}syncPlayerEvents(o){const l=this._player;l.triggerCallback&&o.onStart(()=>l.triggerCallback("start")),o.onDone(()=>this.finish()),o.onDestroy(()=>this.destroy())}_queueEvent(o,l){F(this._queuedCallbacks,o,[]).push(l)}onDone(o){this.queued&&this._queueEvent("done",o),this._player.onDone(o)}onStart(o){this.queued&&this._queueEvent("start",o),this._player.onStart(o)}onDestroy(o){this.queued&&this._queueEvent("destroy",o),this._player.onDestroy(o)}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(o){this.queued||this._player.setPosition(o)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(o){const l=this._player;l.triggerCallback&&l.triggerCallback(o)}}function Wt(C){return C&&1===C.nodeType}function oi(C,o){const l=C.style.display;return C.style.display=null!=o?o:"none",l}function qr(C,o,l,f,b){const I=[];l.forEach(re=>I.push(oi(re)));const k=[];f.forEach((re,ye)=>{const Re={};re.forEach($e=>{const gt=Re[$e]=o.computeStyle(ye,$e,b);(!gt||0==gt.length)&&(ye[zt]=hr,k.push(ye))}),C.set(ye,Re)});let j=0;return l.forEach(re=>oi(re,I[j++])),k}function kr(C,o){const l=new Map;if(C.forEach(j=>l.set(j,[])),0==o.length)return l;const b=new Set(o),I=new Map;function k(j){if(!j)return 1;let re=I.get(j);if(re)return re;const ye=j.parentNode;return re=l.has(ye)?ye:b.has(ye)?1:k(ye),I.set(j,re),re}return o.forEach(j=>{const re=k(j);1!==re&&l.get(re).push(j)}),l}const Lr="$$classes";function Kn(C,o){if(C.classList)C.classList.add(o);else{let l=C[Lr];l||(l=C[Lr]={}),l[o]=!0}}function Zr(C,o){if(C.classList)C.classList.remove(o);else{let l=C[Lr];l&&delete l[o]}}function Ls(C,o,l){U(l).onDone(()=>C.processLeaveNode(o))}function Bs(C,o){for(let l=0;l<C.length;l++){const f=C[l];f instanceof J.ZE?Bs(f.players,o):o.push(f)}}function js(C,o,l){const f=l.get(C);if(!f)return!1;let b=o.get(C);return b?f.forEach(I=>b.add(I)):o.set(C,f),l.delete(C),!0}class Br{constructor(o,l,f){this.bodyNode=o,this._driver=l,this._normalizer=f,this._triggerCache={},this.onRemovalComplete=(b,I)=>{},this._transitionEngine=new Bn(o,l,f),this._timelineEngine=new Mr(o,l,f),this._transitionEngine.onRemovalComplete=(b,I)=>this.onRemovalComplete(b,I)}registerTrigger(o,l,f,b,I){const k=o+"-"+b;let j=this._triggerCache[k];if(!j){const re=[],ye=Ue(this._driver,I,re);if(re.length)throw new Error(`The animation trigger "${b}" has failed to build due to the following errors:\n - ${re.join("\n - ")}`);j=function mn(C,o,l){return new _r(C,o,l)}(b,ye,this._normalizer),this._triggerCache[k]=j}this._transitionEngine.registerTrigger(l,b,j)}register(o,l){this._transitionEngine.register(o,l)}destroy(o,l){this._transitionEngine.destroy(o,l)}onInsert(o,l,f,b){this._transitionEngine.insertNode(o,l,f,b)}onRemove(o,l,f,b){this._transitionEngine.removeNode(o,l,b||!1,f)}disableAnimations(o,l){this._transitionEngine.markElementAsDisabled(o,l)}process(o,l,f,b){if("@"==f.charAt(0)){const[I,k]=ae(f);this._timelineEngine.command(I,l,k,b)}else this._transitionEngine.trigger(o,l,f,b)}listen(o,l,f,b,I){if("@"==f.charAt(0)){const[k,j]=ae(f);return this._timelineEngine.listen(k,l,j,I)}return this._transitionEngine.listen(o,l,f,b,I)}flush(o=-1){this._transitionEngine.flush(o)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}function Us(C,o){let l=null,f=null;return Array.isArray(o)&&o.length?(l=As(o[0]),o.length>1&&(f=As(o[o.length-1]))):o&&(l=As(o)),l||f?new Hs(C,l,f):null}let Hs=(()=>{class C{constructor(l,f,b){this._element=l,this._startStyles=f,this._endStyles=b,this._state=0;let I=C.initialStylesByElement.get(l);I||C.initialStylesByElement.set(l,I={}),this._initialStyles=I}start(){this._state<1&&(this._startStyles&&Gt(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(Gt(this._element,this._initialStyles),this._endStyles&&(Gt(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(C.initialStylesByElement.delete(this._element),this._startStyles&&(hn(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(hn(this._element,this._endStyles),this._endStyles=null),Gt(this._element,this._initialStyles),this._state=3)}}return C.initialStylesByElement=new WeakMap,C})();function As(C){let o=null;const l=Object.keys(C);for(let f=0;f<l.length;f++){const b=l[f];Vs(b)&&(o=o||{},o[b]=C[b])}return o}function Vs(C){return"display"===C||"position"===C}const hs="animation",ai="animationend";class fs{constructor(o,l,f,b,I,k,j){this._element=o,this._name=l,this._duration=f,this._delay=b,this._easing=I,this._fillMode=k,this._onDoneFn=j,this._finished=!1,this._destroyed=!1,this._startTime=0,this._position=0,this._eventFn=re=>this._handleCallback(re)}apply(){(function Ci(C,o){const l=Cr(C,"").trim();let f=0;l.length&&(f=function gs(C,o){let l=0;for(let f=0;f<C.length;f++)C.charAt(f)===o&&l++;return l}(l,",")+1,o=`${l}, ${o}`),Jr(C,"",o)})(this._element,`${this._duration}ms ${this._easing} ${this._delay}ms 1 normal ${this._fillMode} ${this._name}`),zs(this._element,this._eventFn,!1),this._startTime=Date.now()}pause(){yn(this._element,this._name,"paused")}resume(){yn(this._element,this._name,"running")}setPosition(o){const l=ps(this._element,this._name);this._position=o*this._duration,Jr(this._element,"Delay",`-${this._position}ms`,l)}getPosition(){return this._position}_handleCallback(o){const l=o._ngTestManualTimestamp||Date.now(),f=1e3*parseFloat(o.elapsedTime.toFixed(3));o.animationName==this._name&&Math.max(l-this._startTime,0)>=this._delay&&f>=this._duration&&this.finish()}finish(){this._finished||(this._finished=!0,this._onDoneFn(),zs(this._element,this._eventFn,!0))}destroy(){this._destroyed||(this._destroyed=!0,this.finish(),function fr(C,o){const f=Cr(C,"").split(","),b=Is(f,o);b>=0&&(f.splice(b,1),Jr(C,"",f.join(",")))}(this._element,this._name))}}function yn(C,o,l){Jr(C,"PlayState",l,ps(C,o))}function ps(C,o){const l=Cr(C,"");return l.indexOf(",")>0?Is(l.split(","),o):Is([l],o)}function Is(C,o){for(let l=0;l<C.length;l++)if(C[l].indexOf(o)>=0)return l;return-1}function zs(C,o,l){l?C.removeEventListener(ai,o):C.addEventListener(ai,o)}function Jr(C,o,l,f){const b=hs+o;if(null!=f){const I=C.style[b];if(I.length){const k=I.split(",");k[f]=l,l=k.join(",")}}C.style[b]=l}function Cr(C,o){return C.style[hs+o]||""}class Pn{constructor(o,l,f,b,I,k,j,re){this.element=o,this.keyframes=l,this.animationName=f,this._duration=b,this._delay=I,this._finalStyles=j,this._specialStyles=re,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this.currentSnapshot={},this._state=0,this.easing=k||"linear",this.totalTime=b+I,this._buildStyler()}onStart(o){this._onStartFns.push(o)}onDone(o){this._onDoneFns.push(o)}onDestroy(o){this._onDestroyFns.push(o)}destroy(){this.init(),!(this._state>=4)&&(this._state=4,this._styler.destroy(),this._flushStartFns(),this._flushDoneFns(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(o=>o()),this._onDestroyFns=[])}_flushDoneFns(){this._onDoneFns.forEach(o=>o()),this._onDoneFns=[]}_flushStartFns(){this._onStartFns.forEach(o=>o()),this._onStartFns=[]}finish(){this.init(),!(this._state>=3)&&(this._state=3,this._styler.finish(),this._flushStartFns(),this._specialStyles&&this._specialStyles.finish(),this._flushDoneFns())}setPosition(o){this._styler.setPosition(o)}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 fs(this.element,this.animationName,this._duration,this._delay,this.easing,"forwards",()=>this.finish())}triggerCallback(o){const l="start"==o?this._onStartFns:this._onDoneFns;l.forEach(f=>f()),l.length=0}beforeDestroy(){this.init();const o={};if(this.hasStarted()){const l=this._state>=3;Object.keys(this._finalStyles).forEach(f=>{"offset"!=f&&(o[f]=l?this._finalStyles[f]:le(this.element,f))})}this.currentSnapshot=o}}class Ws extends J.ZN{constructor(o,l){super(),this.element=o,this._startingStyles={},this.__initialized=!1,this._styles=rt(l)}init(){this.__initialized||!this._startingStyles||(this.__initialized=!0,Object.keys(this._styles).forEach(o=>{this._startingStyles[o]=this.element.style[o]}),super.init())}play(){!this._startingStyles||(this.init(),Object.keys(this._styles).forEach(o=>this.element.style.setProperty(o,this._styles[o])),super.play())}destroy(){!this._startingStyles||(Object.keys(this._startingStyles).forEach(o=>{const l=this._startingStyles[o];l?this.element.style.setProperty(o,l):this.element.style.removeProperty(o)}),this._startingStyles=null,super.destroy())}}class Ks{constructor(){this._count=0}validateStyleProperty(o){return Ae(o)}matchesElement(o,l){return pe(o,l)}containsElement(o,l){return Ke(o,l)}query(o,l,f){return yt(o,l,f)}computeStyle(o,l,f){return window.getComputedStyle(o)[l]}buildKeyframeElement(o,l,f){f=f.map(j=>rt(j));let b=`@keyframes ${l} {\n`,I="";f.forEach(j=>{I=" ";const re=parseFloat(j.offset);b+=`${I}${100*re}% {\n`,I+=" ",Object.keys(j).forEach(ye=>{const Re=j[ye];switch(ye){case"offset":return;case"easing":return void(Re&&(b+=`${I}animation-timing-function: ${Re};\n`));default:return void(b+=`${I}${ye}: ${Re};\n`)}}),b+=`${I}}\n`}),b+="}\n";const k=document.createElement("style");return k.textContent=b,k}animate(o,l,f,b,I,k=[],j){const re=k.filter(At=>At instanceof Pn),ye={};Y(f,b)&&re.forEach(At=>{let tn=At.currentSnapshot;Object.keys(tn).forEach(on=>ye[on]=tn[on])});const Re=function Qs(C){let o={};return C&&(Array.isArray(C)?C:[C]).forEach(f=>{Object.keys(f).forEach(b=>{"offset"==b||"easing"==b||(o[b]=f[b])})}),o}(l=K(o,l,ye));if(0==f)return new Ws(o,Re);const $e="gen_css_kf_"+this._count++,gt=this.buildKeyframeElement(o,$e,l);(function Ys(C){var o;const l=null===(o=C.getRootNode)||void 0===o?void 0:o.call(C);return"undefined"!=typeof ShadowRoot&&l instanceof ShadowRoot?l:document.head})(o).appendChild(gt);const Ze=Us(o,l),mt=new Pn(o,l,$e,f,b,I,Re,Ze);return mt.onDestroy(()=>function m(C){C.parentNode.removeChild(C)}(gt)),mt}}class S{constructor(o,l,f,b){this.element=o,this.keyframes=l,this.options=f,this._specialStyles=b,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=f.duration,this._delay=f.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(o=>o()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const o=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,o,this.options),this._finalKeyframe=o.length?o[o.length-1]:{},this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_triggerWebAnimation(o,l,f){return o.animate(l,f)}onStart(o){this._onStartFns.push(o)}onDone(o){this._onDoneFns.push(o)}onDestroy(o){this._onDestroyFns.push(o)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(o=>o()),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(o=>o()),this._onDestroyFns=[])}setPosition(o){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=o*this.time}getPosition(){return this.domPlayer.currentTime/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const o={};this.hasStarted()&&Object.keys(this._finalKeyframe).forEach(l=>{"offset"!=l&&(o[l]=this._finished?this._finalKeyframe[l]:le(this.element,l))}),this.currentSnapshot=o}triggerCallback(o){const l="start"==o?this._onStartFns:this._onDoneFns;l.forEach(f=>f()),l.length=0}}class H{constructor(){this._isNativeImpl=/\{\s*\[native\s+code\]\s*\}/.test(Ie().toString()),this._cssKeyframesDriver=new Ks}validateStyleProperty(o){return Ae(o)}matchesElement(o,l){return pe(o,l)}containsElement(o,l){return Ke(o,l)}query(o,l,f){return yt(o,l,f)}computeStyle(o,l,f){return window.getComputedStyle(o)[l]}overrideWebAnimationsSupport(o){this._isNativeImpl=o}animate(o,l,f,b,I,k=[],j){if(!j&&!this._isNativeImpl)return this._cssKeyframesDriver.animate(o,l,f,b,I,k);const Re={duration:f,delay:b,fill:0==b?"both":"forwards"};I&&(Re.easing=I);const $e={},gt=k.filter(Ze=>Ze instanceof S);Y(f,b)&>.forEach(Ze=>{let mt=Ze.currentSnapshot;Object.keys(mt).forEach(At=>$e[At]=mt[At])});const _t=Us(o,l=K(o,l=l.map(Ze=>je(Ze,!1)),$e));return new S(o,l,Re,_t)}}function Ie(){return ie()&&Element.prototype.animate||{}}var He=M(9808);let jt=(()=>{class C extends J._j{constructor(l,f){super(),this._nextAnimationId=0,this._renderer=l.createRenderer(f.body,{id:"0",encapsulation:g.ifc.None,styles:[],data:{animation:[]}})}build(l){const f=this._nextAnimationId.toString();this._nextAnimationId++;const b=Array.isArray(l)?(0,J.vP)(l):l;return ct(this._renderer,null,f,"register",[b]),new Lt(f,this._renderer)}}return C.\u0275fac=function(l){return new(l||C)(g.LFG(g.FYo),g.LFG(He.K0))},C.\u0275prov=g.Yz7({token:C,factory:C.\u0275fac}),C})();class Lt extends J.LC{constructor(o,l){super(),this._id=o,this._renderer=l}create(o,l){return new Nt(this._id,o,l||{},this._renderer)}}class Nt{constructor(o,l,f,b){this.id=o,this.element=l,this._renderer=b,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",f)}_listen(o,l){return this._renderer.listen(this.element,`@@${this.id}:${o}`,l)}_command(o,...l){return ct(this._renderer,this.element,this.id,o,l)}onDone(o){this._listen("done",o)}onStart(o){this._listen("start",o)}onDestroy(o){this._listen("destroy",o)}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(o){this._command("setPosition",o)}getPosition(){var o,l;return null!==(l=null===(o=this._renderer.engine.players[+this.id])||void 0===o?void 0:o.getPosition())&&void 0!==l?l:0}}function ct(C,o,l,f,b){return C.setProperty(o,`@@${l}:${f}`,b)}const Ht="@.disabled";let un=(()=>{class C{constructor(l,f,b){this.delegate=l,this.engine=f,this._zone=b,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),f.onRemovalComplete=(I,k)=>{const j=null==k?void 0:k.parentNode(I);j&&k.removeChild(j,I)}}createRenderer(l,f){const I=this.delegate.createRenderer(l,f);if(!(l&&f&&f.data&&f.data.animation)){let Re=this._rendererCache.get(I);return Re||(Re=new On("",I,this.engine),this._rendererCache.set(I,Re)),Re}const k=f.id,j=f.id+"-"+this._currentId;this._currentId++,this.engine.register(j,l);const re=Re=>{Array.isArray(Re)?Re.forEach(re):this.engine.registerTrigger(k,j,l,Re.name,Re)};return f.data.animation.forEach(re),new br(this,j,I,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then(()=>{this._microtaskId++})}scheduleListenerCallback(l,f,b){l>=0&&l<this._microtaskId?this._zone.run(()=>f(b)):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(I=>{const[k,j]=I;k(j)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([f,b]))}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 C.\u0275fac=function(l){return new(l||C)(g.LFG(g.FYo),g.LFG(Br),g.LFG(g.R0b))},C.\u0275prov=g.Yz7({token:C,factory:C.\u0275fac}),C})();class On{constructor(o,l,f){this.namespaceId=o,this.delegate=l,this.engine=f,this.destroyNode=this.delegate.destroyNode?b=>l.destroyNode(b):null}get data(){return this.delegate.data}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy()}createElement(o,l){return this.delegate.createElement(o,l)}createComment(o){return this.delegate.createComment(o)}createText(o){return this.delegate.createText(o)}appendChild(o,l){this.delegate.appendChild(o,l),this.engine.onInsert(this.namespaceId,l,o,!1)}insertBefore(o,l,f,b=!0){this.delegate.insertBefore(o,l,f),this.engine.onInsert(this.namespaceId,l,o,b)}removeChild(o,l,f){this.engine.onRemove(this.namespaceId,l,this.delegate,f)}selectRootElement(o,l){return this.delegate.selectRootElement(o,l)}parentNode(o){return this.delegate.parentNode(o)}nextSibling(o){return this.delegate.nextSibling(o)}setAttribute(o,l,f,b){this.delegate.setAttribute(o,l,f,b)}removeAttribute(o,l,f){this.delegate.removeAttribute(o,l,f)}addClass(o,l){this.delegate.addClass(o,l)}removeClass(o,l){this.delegate.removeClass(o,l)}setStyle(o,l,f,b){this.delegate.setStyle(o,l,f,b)}removeStyle(o,l,f){this.delegate.removeStyle(o,l,f)}setProperty(o,l,f){"@"==l.charAt(0)&&l==Ht?this.disableAnimations(o,!!f):this.delegate.setProperty(o,l,f)}setValue(o,l){this.delegate.setValue(o,l)}listen(o,l,f){return this.delegate.listen(o,l,f)}disableAnimations(o,l){this.engine.disableAnimations(o,l)}}class br extends On{constructor(o,l,f,b){super(l,f,b),this.factory=o,this.namespaceId=l}setProperty(o,l,f){"@"==l.charAt(0)?"."==l.charAt(1)&&l==Ht?this.disableAnimations(o,f=void 0===f||!!f):this.engine.process(this.namespaceId,o,l.substr(1),f):this.delegate.setProperty(o,l,f)}listen(o,l,f){if("@"==l.charAt(0)){const b=function Ur(C){switch(C){case"body":return document.body;case"document":return document;case"window":return window;default:return C}}(o);let I=l.substr(1),k="";return"@"!=I.charAt(0)&&([I,k]=function tt(C){const o=C.indexOf(".");return[C.substring(0,o),C.substr(o+1)]}(I)),this.engine.listen(this.namespaceId,b,I,k,j=>{this.factory.scheduleListenerCallback(j._data||-1,f,j)})}return this.delegate.listen(o,l,f)}}let li=(()=>{class C extends Br{constructor(l,f,b){super(l.body,f,b)}ngOnDestroy(){this.flush()}}return C.\u0275fac=function(l){return new(l||C)(g.LFG(He.K0),g.LFG(ht),g.LFG(Fn))},C.\u0275prov=g.Yz7({token:C,factory:C.\u0275fac}),C})();const Rs=new g.OlP("AnimationModuleType"),xs=[{provide:J._j,useClass:jt},{provide:Fn,useFactory:function ys(){return new dr}},{provide:Br,useClass:li},{provide:g.FYo,useFactory:function uo(C,o,l){return new un(C,o,l)},deps:[_.se,Br,g.R0b]}],bi=[{provide:ht,useFactory:function Os(){return function ge(){return"function"==typeof Ie()}()?new H:new Ks}},{provide:Rs,useValue:"BrowserAnimations"},...xs],Pe=[{provide:ht,useClass:at},{provide:Rs,useValue:"NoopAnimations"},...xs];let Tt=(()=>{class C{static withConfig(l){return{ngModule:C,providers:l.disableAnimations?Pe:bi}}}return C.\u0275fac=function(l){return new(l||C)},C.\u0275mod=g.oAB({type:C}),C.\u0275inj=g.cJS({providers:bi,imports:[_.b2]}),C})()},2313:(Ge,he,M)=>{M.d(he,{H7:()=>zn,b2:()=>Vn,q6:()=>hn,se:()=>lt});var g=M(9808),_=M(9863);class J extends g.w_{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class ie extends J{static makeCurrent(){(0,g.HT)(new ie)}onAndCancel(L,x,ne){return L.addEventListener(x,ne,!1),()=>{L.removeEventListener(x,ne,!1)}}dispatchEvent(L,x){L.dispatchEvent(x)}remove(L){L.parentNode&&L.parentNode.removeChild(L)}createElement(L,x){return(x=x||this.getDefaultDocument()).createElement(L)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(L){return L.nodeType===Node.ELEMENT_NODE}isShadowRoot(L){return L instanceof DocumentFragment}getGlobalEventTarget(L,x){return"window"===x?window:"document"===x?L:"body"===x?L.body:null}getBaseHref(L){const x=function U(){return B=B||document.querySelector("base"),B?B.getAttribute("href"):null}();return null==x?null:function q(se){Q=Q||document.createElement("a"),Q.setAttribute("href",se);const L=Q.pathname;return"/"===L.charAt(0)?L:`/${L}`}(x)}resetBaseElement(){B=null}getUserAgent(){return window.navigator.userAgent}getCookie(L){return(0,g.Mx)(document.cookie,L)}}let Q,B=null;const z=new _.OlP("TRANSITION_ID"),F=[{provide:_.ip1,useFactory:function V(se,L,x){return()=>{x.get(_.CZH).donePromise.then(()=>{const ne=(0,g.q)(),Se=L.querySelectorAll(`style[ng-transition="${se}"]`);for(let O=0;O<Se.length;O++)ne.remove(Se[O])})}},deps:[z,g.K0,_.zs3],multi:!0}];class ae{static init(){(0,_.VLi)(new ae)}addToWindow(L){_.dqk.getAngularTestability=(ne,Se=!0)=>{const O=L.findTestabilityInTree(ne,Se);if(null==O)throw new Error("Could not find testability for element.");return O},_.dqk.getAllAngularTestabilities=()=>L.getAllTestabilities(),_.dqk.getAllAngularRootElements=()=>L.getAllRootElements(),_.dqk.frameworkStabilizers||(_.dqk.frameworkStabilizers=[]),_.dqk.frameworkStabilizers.push(ne=>{const Se=_.dqk.getAllAngularTestabilities();let O=Se.length,Z=!1;const R=function(de){Z=Z||de,O--,0==O&&ne(Z)};Se.forEach(function(de){de.whenStable(R)})})}findTestabilityInTree(L,x,ne){if(null==x)return null;const Se=L.getTestability(x);return null!=Se?Se:ne?(0,g.q)().isShadowRoot(x)?this.findTestabilityInTree(L,x.host,!0):this.findTestabilityInTree(L,x.parentElement,!0):null}}let fe=(()=>{class se{build(){return new XMLHttpRequest}}return se.\u0275fac=function(x){return new(x||se)},se.\u0275prov=_.Yz7({token:se,factory:se.\u0275fac}),se})();const Te=new _.OlP("EventManagerPlugins");let te=(()=>{class se{constructor(x,ne){this._zone=ne,this._eventNameToPlugin=new Map,x.forEach(Se=>Se.manager=this),this._plugins=x.slice().reverse()}addEventListener(x,ne,Se){return this._findPluginFor(ne).addEventListener(x,ne,Se)}addGlobalEventListener(x,ne,Se){return this._findPluginFor(ne).addGlobalEventListener(x,ne,Se)}getZone(){return this._zone}_findPluginFor(x){const ne=this._eventNameToPlugin.get(x);if(ne)return ne;const Se=this._plugins;for(let O=0;O<Se.length;O++){const Z=Se[O];if(Z.supports(x))return this._eventNameToPlugin.set(x,Z),Z}throw new Error(`No event manager plugin found for event ${x}`)}}return se.\u0275fac=function(x){return new(x||se)(_.LFG(Te),_.LFG(_.R0b))},se.\u0275prov=_.Yz7({token:se,factory:se.\u0275fac}),se})();class ce{constructor(L){this._doc=L}addGlobalEventListener(L,x,ne){const Se=(0,g.q)().getGlobalEventTarget(this._doc,L);if(!Se)throw new Error(`Unsupported event target ${Se} for event ${x}`);return this.addEventListener(Se,x,ne)}}let Ce=(()=>{class se{constructor(){this._stylesSet=new Set}addStyles(x){const ne=new Set;x.forEach(Se=>{this._stylesSet.has(Se)||(this._stylesSet.add(Se),ne.add(Se))}),this.onStylesAdded(ne)}onStylesAdded(x){}getAllStyles(){return Array.from(this._stylesSet)}}return se.\u0275fac=function(x){return new(x||se)},se.\u0275prov=_.Yz7({token:se,factory:se.\u0275fac}),se})(),be=(()=>{class se extends Ce{constructor(x){super(),this._doc=x,this._hostNodes=new Map,this._hostNodes.set(x.head,[])}_addStylesToHost(x,ne,Se){x.forEach(O=>{const Z=this._doc.createElement("style");Z.textContent=O,Se.push(ne.appendChild(Z))})}addHost(x){const ne=[];this._addStylesToHost(this._stylesSet,x,ne),this._hostNodes.set(x,ne)}removeHost(x){const ne=this._hostNodes.get(x);ne&&ne.forEach(Ne),this._hostNodes.delete(x)}onStylesAdded(x){this._hostNodes.forEach((ne,Se)=>{this._addStylesToHost(x,Se,ne)})}ngOnDestroy(){this._hostNodes.forEach(x=>x.forEach(Ne))}}return se.\u0275fac=function(x){return new(x||se)(_.LFG(g.K0))},se.\u0275prov=_.Yz7({token:se,factory:se.\u0275fac}),se})();function Ne(se){(0,g.q)().remove(se)}const Ae={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/"},oe=/%COMP%/g;function St(se,L,x){for(let ne=0;ne<L.length;ne++){let Se=L[ne];Array.isArray(Se)?St(se,Se,x):(Se=Se.replace(oe,se),x.push(Se))}return x}function Mt(se){return L=>{if("__ngUnwrap__"===L)return se;!1===se(L)&&(L.preventDefault(),L.returnValue=!1)}}let lt=(()=>{class se{constructor(x,ne,Se){this.eventManager=x,this.sharedStylesHost=ne,this.appId=Se,this.rendererByCompId=new Map,this.defaultRenderer=new Ve(x)}createRenderer(x,ne){if(!x||!ne)return this.defaultRenderer;switch(ne.encapsulation){case _.ifc.Emulated:{let Se=this.rendererByCompId.get(ne.id);return Se||(Se=new cn(this.eventManager,this.sharedStylesHost,ne,this.appId),this.rendererByCompId.set(ne.id,Se)),Se.applyToHost(x),Se}case 1:case _.ifc.ShadowDom:return new dn(this.eventManager,this.sharedStylesHost,x,ne);default:if(!this.rendererByCompId.has(ne.id)){const Se=St(ne.id,ne.styles,[]);this.sharedStylesHost.addStyles(Se),this.rendererByCompId.set(ne.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return se.\u0275fac=function(x){return new(x||se)(_.LFG(te),_.LFG(be),_.LFG(_.AFp))},se.\u0275prov=_.Yz7({token:se,factory:se.\u0275fac}),se})();class Ve{constructor(L){this.eventManager=L,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(L,x){return x?document.createElementNS(Ae[x]||x,L):document.createElement(L)}createComment(L){return document.createComment(L)}createText(L){return document.createTextNode(L)}appendChild(L,x){L.appendChild(x)}insertBefore(L,x,ne){L&&L.insertBefore(x,ne)}removeChild(L,x){L&&L.removeChild(x)}selectRootElement(L,x){let ne="string"==typeof L?document.querySelector(L):L;if(!ne)throw new Error(`The selector "${L}" did not match any elements`);return x||(ne.textContent=""),ne}parentNode(L){return L.parentNode}nextSibling(L){return L.nextSibling}setAttribute(L,x,ne,Se){if(Se){x=Se+":"+x;const O=Ae[Se];O?L.setAttributeNS(O,x,ne):L.setAttribute(x,ne)}else L.setAttribute(x,ne)}removeAttribute(L,x,ne){if(ne){const Se=Ae[ne];Se?L.removeAttributeNS(Se,x):L.removeAttribute(`${ne}:${x}`)}else L.removeAttribute(x)}addClass(L,x){L.classList.add(x)}removeClass(L,x){L.classList.remove(x)}setStyle(L,x,ne,Se){Se&(_.JOm.DashCase|_.JOm.Important)?L.style.setProperty(x,ne,Se&_.JOm.Important?"important":""):L.style[x]=ne}removeStyle(L,x,ne){ne&_.JOm.DashCase?L.style.removeProperty(x):L.style[x]=""}setProperty(L,x,ne){L[x]=ne}setValue(L,x){L.nodeValue=x}listen(L,x,ne){return"string"==typeof L?this.eventManager.addGlobalEventListener(L,x,Mt(ne)):this.eventManager.addEventListener(L,x,Mt(ne))}}class cn extends Ve{constructor(L,x,ne,Se){super(L),this.component=ne;const O=St(Se+"-"+ne.id,ne.styles,[]);x.addStyles(O),this.contentAttr=function at(se){return"_ngcontent-%COMP%".replace(oe,se)}(Se+"-"+ne.id),this.hostAttr=function ht(se){return"_nghost-%COMP%".replace(oe,se)}(Se+"-"+ne.id)}applyToHost(L){super.setAttribute(L,this.hostAttr,"")}createElement(L,x){const ne=super.createElement(L,x);return super.setAttribute(ne,this.contentAttr,""),ne}}class dn extends Ve{constructor(L,x,ne,Se){super(L),this.sharedStylesHost=x,this.hostEl=ne,this.shadowRoot=ne.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const O=St(Se.id,Se.styles,[]);for(let Z=0;Z<O.length;Z++){const R=document.createElement("style");R.textContent=O[Z],this.shadowRoot.appendChild(R)}}nodeOrShadowRoot(L){return L===this.hostEl?this.shadowRoot:L}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}appendChild(L,x){return super.appendChild(this.nodeOrShadowRoot(L),x)}insertBefore(L,x,ne){return super.insertBefore(this.nodeOrShadowRoot(L),x,ne)}removeChild(L,x){return super.removeChild(this.nodeOrShadowRoot(L),x)}parentNode(L){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(L)))}}let Cn=(()=>{class se extends ce{constructor(x){super(x)}supports(x){return!0}addEventListener(x,ne,Se){return x.addEventListener(ne,Se,!1),()=>this.removeEventListener(x,ne,Se)}removeEventListener(x,ne,Se){return x.removeEventListener(ne,Se)}}return se.\u0275fac=function(x){return new(x||se)(_.LFG(g.K0))},se.\u0275prov=_.Yz7({token:se,factory:se.\u0275fac}),se})();const bn=["alt","control","meta","shift"],_e={"\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"},we={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"},X={alt:se=>se.altKey,control:se=>se.ctrlKey,meta:se=>se.metaKey,shift:se=>se.shiftKey};let ue=(()=>{class se extends ce{constructor(x){super(x)}supports(x){return null!=se.parseEventName(x)}addEventListener(x,ne,Se){const O=se.parseEventName(ne),Z=se.eventCallback(O.fullKey,Se,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,g.q)().onAndCancel(x,O.domEventName,Z))}static parseEventName(x){const ne=x.toLowerCase().split("."),Se=ne.shift();if(0===ne.length||"keydown"!==Se&&"keyup"!==Se)return null;const O=se._normalizeKey(ne.pop());let Z="";if(bn.forEach(de=>{const it=ne.indexOf(de);it>-1&&(ne.splice(it,1),Z+=de+".")}),Z+=O,0!=ne.length||0===O.length)return null;const R={};return R.domEventName=Se,R.fullKey=Z,R}static getEventFullKey(x){let ne="",Se=function Fe(se){let L=se.key;if(null==L){if(L=se.keyIdentifier,null==L)return"Unidentified";L.startsWith("U+")&&(L=String.fromCharCode(parseInt(L.substring(2),16)),3===se.location&&we.hasOwnProperty(L)&&(L=we[L]))}return _e[L]||L}(x);return Se=Se.toLowerCase()," "===Se?Se="space":"."===Se&&(Se="dot"),bn.forEach(O=>{O!=Se&&X[O](x)&&(ne+=O+".")}),ne+=Se,ne}static eventCallback(x,ne,Se){return O=>{se.getEventFullKey(O)===x&&Se.runGuarded(()=>ne(O))}}static _normalizeKey(x){return"esc"===x?"escape":x}}return se.\u0275fac=function(x){return new(x||se)(_.LFG(g.K0))},se.\u0275prov=_.Yz7({token:se,factory:se.\u0275fac}),se})();const hn=(0,_.eFA)(_._c5,"browser",[{provide:_.Lbi,useValue:g.bD},{provide:_.g9A,useValue:function je(){ie.makeCurrent(),ae.init()},multi:!0},{provide:g.K0,useFactory:function Ut(){return(0,_.RDi)(document),document},deps:[]}]),rn=[{provide:_.zSh,useValue:"root"},{provide:_.qLn,useFactory:function nn(){return new _.qLn},deps:[]},{provide:Te,useClass:Cn,multi:!0,deps:[g.K0,_.R0b,_.Lbi]},{provide:Te,useClass:ue,multi:!0,deps:[g.K0]},{provide:lt,useClass:lt,deps:[te,be,_.AFp]},{provide:_.FYo,useExisting:lt},{provide:Ce,useExisting:be},{provide:be,useClass:be,deps:[g.K0]},{provide:_.dDg,useClass:_.dDg,deps:[_.R0b]},{provide:te,useClass:te,deps:[Te,_.R0b]},{provide:g.JF,useClass:fe,deps:[]}];let Vn=(()=>{class se{constructor(x){if(x)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(x){return{ngModule:se,providers:[{provide:_.AFp,useValue:x.appId},{provide:z,useExisting:_.AFp},F]}}}return se.\u0275fac=function(x){return new(x||se)(_.LFG(se,12))},se.\u0275mod=_.oAB({type:se}),se.\u0275inj=_.cJS({providers:rn,imports:[g.ez,_.hGG]}),se})();"undefined"!=typeof window&&window;let zn=(()=>{class se{}return se.\u0275fac=function(x){return new(x||se)},se.\u0275prov=_.Yz7({token:se,factory:function(x){let ne=null;return ne=x?new(x||se):_.LFG(vr),ne},providedIn:"root"}),se})(),vr=(()=>{class se extends zn{constructor(x){super(),this._doc=x}sanitize(x,ne){if(null==ne)return null;switch(x){case _.q3G.NONE:return ne;case _.q3G.HTML:return(0,_.qzn)(ne,"HTML")?(0,_.z3N)(ne):(0,_.EiD)(this._doc,String(ne)).toString();case _.q3G.STYLE:return(0,_.qzn)(ne,"Style")?(0,_.z3N)(ne):ne;case _.q3G.SCRIPT:if((0,_.qzn)(ne,"Script"))return(0,_.z3N)(ne);throw new Error("unsafe value used in a script context");case _.q3G.URL:return(0,_.yhl)(ne),(0,_.qzn)(ne,"URL")?(0,_.z3N)(ne):(0,_.mCW)(String(ne));case _.q3G.RESOURCE_URL:if((0,_.qzn)(ne,"ResourceURL"))return(0,_.z3N)(ne);throw new Error("unsafe value used in a resource URL context (see https://g.co/ng/security#xss)");default:throw new Error(`Unexpected SecurityContext ${x} (see https://g.co/ng/security#xss)`)}}bypassSecurityTrustHtml(x){return(0,_.JVY)(x)}bypassSecurityTrustStyle(x){return(0,_.L6k)(x)}bypassSecurityTrustScript(x){return(0,_.eBb)(x)}bypassSecurityTrustUrl(x){return(0,_.LAX)(x)}bypassSecurityTrustResourceUrl(x){return(0,_.pB0)(x)}}return se.\u0275fac=function(x){return new(x||se)(_.LFG(g.K0))},se.\u0275prov=_.Yz7({token:se,factory:function(x){let ne=null;return ne=x?new x:function Gn(se){return new vr(se.get(g.K0))}(_.LFG(_.zs3)),ne},providedIn:"root"}),se})()},8555:(Ge,he,M)=>{M.d(he,{gz:()=>Ln,m2:()=>Ut,F0:()=>an,rH:()=>ts,Od:()=>qs,yS:()=>Ti,Bz:()=>Mi,lC:()=>Pn});var g=M(9863);const J=(()=>{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 ie=M(5254),B=M(1086),U=M(591),Q=M(3426),q=M(2916),z=M(1221),V=M(8514),F=M(8896),ae=M(1762),fe=M(8929),Te=M(3489);function te(h,c){let u=!1;return arguments.length>=2&&(u=!0),function(D){return D.lift(new ce(h,c,u))}}class ce{constructor(c,u,y=!1){this.accumulator=c,this.seed=u,this.hasSeed=y}call(c,u){return u.subscribe(new Ce(c,this.accumulator,this.seed,this.hasSeed))}}class Ce extends Te.L{constructor(c,u,y,D){super(c),this.accumulator=u,this._seed=y,this.hasSeed=D,this.index=0}get seed(){return this._seed}set seed(c){this.hasSeed=!0,this._seed=c}_next(c){if(this.hasSeed)return this._tryNext(c);this.seed=c,this.destination.next(c)}_tryNext(c){const u=this.index++;let y;try{y=this.accumulator(this.seed,c,u)}catch(D){this.destination.error(D)}this.seed=y,this.destination.next(y)}}var be=M(2198),Ne=M(4231);function Ae(h){return function(u){return 0===h?(0,F.c)():u.lift(new oe(h))}}class oe{constructor(c){if(this.total=c,this.total<0)throw new Ne.W}call(c,u){return u.subscribe(new pe(c,this.total))}}class pe extends Te.L{constructor(c,u){super(c),this.total=u,this.ring=new Array,this.count=0}_next(c){const u=this.ring,y=this.total,D=this.count++;u.length<y?u.push(c):u[D%y]=c}_complete(){const c=this.destination;let u=this.count;if(u>0){const y=this.count>=this.total?this.total:this.count,D=this.ring;for(let A=0;A<y;A++){const N=u++%y;c.next(D[N])}}c.complete()}}function Ke(h=at){return c=>c.lift(new yt(h))}class yt{constructor(c){this.errorFactory=c}call(c,u){return u.subscribe(new rt(c,this.errorFactory))}}class rt extends Te.L{constructor(c,u){super(c),this.errorFactory=u,this.hasValue=!1}_next(c){this.hasValue=!0,this.destination.next(c)}_complete(){if(this.hasValue)return this.destination.complete();{let c;try{c=this.errorFactory()}catch(u){c=u}this.destination.error(c)}}}function at(){return new J}function ht(h=null){return c=>c.lift(new St(h))}class St{constructor(c){this.defaultValue=c}call(c,u){return u.subscribe(new Mt(c,this.defaultValue))}}class Mt extends Te.L{constructor(c,u){super(c),this.defaultValue=u,this.isEmpty=!0}_next(c){this.isEmpty=!1,this.destination.next(c)}_complete(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()}}var ft=M(5379),Ve=M(2986);function Hn(h,c){const u=arguments.length>=2;return y=>y.pipe(h?(0,be.h)((D,A)=>h(D,A,y)):ft.y,(0,Ve.q)(1),u?ht(c):Ke(()=>new J))}var Pt=M(4850),cn=M(7545),dn=M(1059),Cn=M(7221),bn=M(1406),$t=M(1709),_e=M(2994),we=M(4327),X=M(537),ue=M(9146),Fe=M(9808);class je{constructor(c,u){this.id=c,this.url=u}}class nn extends je{constructor(c,u,y="imperative",D=null){super(c,u),this.navigationTrigger=y,this.restoredState=D}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class Ut extends je{constructor(c,u,y){super(c,u),this.urlAfterRedirects=y}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class Gt extends je{constructor(c,u,y){super(c,u),this.reason=y}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class hn extends je{constructor(c,u,y){super(c,u),this.error=y}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class rn extends je{constructor(c,u,y,D){super(c,u),this.urlAfterRedirects=y,this.state=D}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Vn extends je{constructor(c,u,y,D){super(c,u),this.urlAfterRedirects=y,this.state=D}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Xn extends je{constructor(c,u,y,D,A){super(c,u),this.urlAfterRedirects=y,this.state=D,this.shouldActivate=A}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class $n extends je{constructor(c,u,y,D){super(c,u),this.urlAfterRedirects=y,this.state=D}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class xn extends je{constructor(c,u,y,D){super(c,u),this.urlAfterRedirects=y,this.state=D}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Vt{constructor(c){this.route=c}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class lr{constructor(c){this.route=c}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class nt{constructor(c){this.snapshot=c}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class De{constructor(c){this.snapshot=c}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Y{constructor(c){this.snapshot=c}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class K{constructor(c){this.snapshot=c}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Ee{constructor(c,u,y){this.routerEvent=c,this.position=u,this.anchor=y}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}const le="primary";class ke{constructor(c){this.params=c||{}}has(c){return Object.prototype.hasOwnProperty.call(this.params,c)}get(c){if(this.has(c)){const u=this.params[c];return Array.isArray(u)?u[0]:u}return null}getAll(c){if(this.has(c)){const u=this.params[c];return Array.isArray(u)?u:[u]}return[]}get keys(){return Object.keys(this.params)}}function Oe(h){return new ke(h)}const ze="ngNavigationCancelingError";function ut(h){const c=Error("NavigationCancelingError: "+h);return c[ze]=!0,c}function qt(h,c,u){const y=u.path.split("/");if(y.length>h.length||"full"===u.pathMatch&&(c.hasChildren()||y.length<h.length))return null;const D={};for(let A=0;A<y.length;A++){const N=y[A],W=h[A];if(N.startsWith(":"))D[N.substring(1)]=W;else if(N!==W.path)return null}return{consumed:h.slice(0,y.length),posParams:D}}function It(h,c){const u=h?Object.keys(h):void 0,y=c?Object.keys(c):void 0;if(!u||!y||u.length!=y.length)return!1;let D;for(let A=0;A<u.length;A++)if(D=u[A],!Ct(h[D],c[D]))return!1;return!0}function Ct(h,c){if(Array.isArray(h)&&Array.isArray(c)){if(h.length!==c.length)return!1;const u=[...h].sort(),y=[...c].sort();return u.every((D,A)=>y[A]===D)}return h===c}function Ue(h){return Array.prototype.concat.apply([],h)}function Nn(h){return h.length>0?h[h.length-1]:null}function vt(h,c){for(const u in h)h.hasOwnProperty(u)&&c(h[u],u)}function st(h){return(0,g.CqO)(h)?h:(0,g.QGY)(h)?(0,ie.D)(Promise.resolve(h)):(0,B.of)(h)}const wn={exact:function Sn(h,c,u){if(!Se(h.segments,c.segments)||!cr(h.segments,c.segments,u)||h.numberOfChildren!==c.numberOfChildren)return!1;for(const y in c.children)if(!h.children[y]||!Sn(h.children[y],c.children[y],u))return!1;return!0},subset:Gn},er={exact:function en(h,c){return It(h,c)},subset:function zn(h,c){return Object.keys(c).length<=Object.keys(h).length&&Object.keys(c).every(u=>Ct(h[u],c[u]))},ignored:()=>!0};function tr(h,c,u){return wn[u.paths](h.root,c.root,u.matrixParams)&&er[u.queryParams](h.queryParams,c.queryParams)&&!("exact"===u.fragment&&h.fragment!==c.fragment)}function Gn(h,c,u){return vr(h,c,c.segments,u)}function vr(h,c,u,y){if(h.segments.length>u.length){const D=h.segments.slice(0,u.length);return!(!Se(D,u)||c.hasChildren()||!cr(D,u,y))}if(h.segments.length===u.length){if(!Se(h.segments,u)||!cr(h.segments,u,y))return!1;for(const D in c.children)if(!h.children[D]||!Gn(h.children[D],c.children[D],y))return!1;return!0}{const D=u.slice(0,h.segments.length),A=u.slice(h.segments.length);return!!(Se(h.segments,D)&&cr(h.segments,D,y)&&h.children[le])&&vr(h.children[le],c,A,y)}}function cr(h,c,u){return c.every((y,D)=>er[u](h[D].parameters,y.parameters))}class se{constructor(c,u,y){this.root=c,this.queryParams=u,this.fragment=y}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Oe(this.queryParams)),this._queryParamMap}toString(){return de.serialize(this)}}class L{constructor(c,u){this.segments=c,this.children=u,this.parent=null,vt(u,(y,D)=>y.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return it(this)}}class x{constructor(c,u){this.path=c,this.parameters=u}get parameterMap(){return this._parameterMap||(this._parameterMap=Oe(this.parameters)),this._parameterMap}toString(){return Yr(this)}}function Se(h,c){return h.length===c.length&&h.every((u,y)=>u.path===c[y].path)}class Z{}class R{parse(c){const u=new Jt(c);return new se(u.parseRootSegment(),u.parseQueryParams(),u.parseFragment())}serialize(c){const u=`/${wt(c.root,!0)}`,y=function Le(h){const c=Object.keys(h).map(u=>{const y=h[u];return Array.isArray(y)?y.map(D=>`${Fn(u)}=${Fn(D)}`).join("&"):`${Fn(u)}=${Fn(y)}`}).filter(u=>!!u);return c.length?`?${c.join("&")}`:""}(c.queryParams);return`${u}${y}${"string"==typeof c.fragment?`#${function qn(h){return encodeURI(h)}(c.fragment)}`:""}`}}const de=new R;function it(h){return h.segments.map(c=>Yr(c)).join("/")}function wt(h,c){if(!h.hasChildren())return it(h);if(c){const u=h.children[le]?wt(h.children[le],!1):"",y=[];return vt(h.children,(D,A)=>{A!==le&&y.push(`${A}:${wt(D,!1)}`)}),y.length>0?`${u}(${y.join("//")})`:u}{const u=function O(h,c){let u=[];return vt(h.children,(y,D)=>{D===le&&(u=u.concat(c(y,D)))}),vt(h.children,(y,D)=>{D!==le&&(u=u.concat(c(y,D)))}),u}(h,(y,D)=>D===le?[wt(h.children[le],!1)]:[`${D}:${wt(y,!1)}`]);return 1===Object.keys(h.children).length&&null!=h.children[le]?`${it(h)}/${u[0]}`:`${it(h)}/(${u.join("//")})`}}function Zt(h){return encodeURIComponent(h).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Fn(h){return Zt(h).replace(/%3B/gi,";")}function dr(h){return Zt(h).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function fn(h){return decodeURIComponent(h)}function pn(h){return fn(h.replace(/\+/g,"%20"))}function Yr(h){return`${dr(h.path)}${function Mn(h){return Object.keys(h).map(c=>`;${dr(c)}=${dr(h[c])}`).join("")}(h.parameters)}`}const Dt=/^[^\/()?;=#]+/;function kt(h){const c=h.match(Dt);return c?c[0]:""}const mn=/^[^=?&#]+/,ln=/^[^&#]+/;class Jt{constructor(c){this.url=c,this.remaining=c}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new L([],{}):new L([],this.parseChildren())}parseQueryParams(){const c={};if(this.consumeOptional("?"))do{this.parseQueryParam(c)}while(this.consumeOptional("&"));return c}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const c=[];for(this.peekStartsWith("(")||c.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),c.push(this.parseSegment());let u={};this.peekStartsWith("/(")&&(this.capture("/"),u=this.parseParens(!0));let y={};return this.peekStartsWith("(")&&(y=this.parseParens(!1)),(c.length>0||Object.keys(u).length>0)&&(y[le]=new L(c,u)),y}parseSegment(){const c=kt(this.remaining);if(""===c&&this.peekStartsWith(";"))throw new Error(`Empty path url segment cannot have parameters: '${this.remaining}'.`);return this.capture(c),new x(fn(c),this.parseMatrixParams())}parseMatrixParams(){const c={};for(;this.consumeOptional(";");)this.parseParam(c);return c}parseParam(c){const u=kt(this.remaining);if(!u)return;this.capture(u);let y="";if(this.consumeOptional("=")){const D=kt(this.remaining);D&&(y=D,this.capture(y))}c[fn(u)]=fn(y)}parseQueryParam(c){const u=function _r(h){const c=h.match(mn);return c?c[0]:""}(this.remaining);if(!u)return;this.capture(u);let y="";if(this.consumeOptional("=")){const N=function Sr(h){const c=h.match(ln);return c?c[0]:""}(this.remaining);N&&(y=N,this.capture(y))}const D=pn(u),A=pn(y);if(c.hasOwnProperty(D)){let N=c[D];Array.isArray(N)||(N=[N],c[D]=N),N.push(A)}else c[D]=A}parseParens(c){const u={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const y=kt(this.remaining),D=this.remaining[y.length];if("/"!==D&&")"!==D&&";"!==D)throw new Error(`Cannot parse url '${this.url}'`);let A;y.indexOf(":")>-1?(A=y.substr(0,y.indexOf(":")),this.capture(A),this.capture(":")):c&&(A=le);const N=this.parseChildren();u[A]=1===Object.keys(N).length?N[le]:new L([],N),this.consumeOptional("//")}return u}peekStartsWith(c){return this.remaining.startsWith(c)}consumeOptional(c){return!!this.peekStartsWith(c)&&(this.remaining=this.remaining.substring(c.length),!0)}capture(c){if(!this.consumeOptional(c))throw new Error(`Expected "${c}".`)}}class Mr{constructor(c){this._root=c}get root(){return this._root.value}parent(c){const u=this.pathFromRoot(c);return u.length>1?u[u.length-2]:null}children(c){const u=nr(c,this._root);return u?u.children.map(y=>y.value):[]}firstChild(c){const u=nr(c,this._root);return u&&u.children.length>0?u.children[0].value:null}siblings(c){const u=pt(c,this._root);return u.length<2?[]:u[u.length-2].children.map(D=>D.value).filter(D=>D!==c)}pathFromRoot(c){return pt(c,this._root).map(u=>u.value)}}function nr(h,c){if(h===c.value)return c;for(const u of c.children){const y=nr(h,u);if(y)return y}return null}function pt(h,c){if(h===c.value)return[c];for(const u of c.children){const y=pt(h,u);if(y.length)return y.unshift(c),y}return[]}class An{constructor(c,u){this.value=c,this.children=u}toString(){return`TreeNode(${this.value})`}}function kn(h){const c={};return h&&h.children.forEach(u=>c[u.value.outlet]=u),c}class us extends Mr{constructor(c,u){super(c),this.snapshot=u,cs(this,c)}toString(){return this.snapshot.toString()}}function Dr(h,c){const u=function In(h,c){const N=new Rt([],{},{},"",{},le,c,null,h.root,-1,{});return new Ar("",new An(N,[]))}(h,c),y=new U.X([new x("",{})]),D=new U.X({}),A=new U.X({}),N=new U.X({}),W=new U.X(""),me=new Ln(y,D,N,W,A,le,c,u.root);return me.snapshot=u.root,new us(new An(me,[]),u)}class Ln{constructor(c,u,y,D,A,N,W,me){this.url=c,this.params=u,this.queryParams=y,this.fragment=D,this.data=A,this.outlet=N,this.component=W,this._futureSnapshot=me}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,Pt.U)(c=>Oe(c)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe((0,Pt.U)(c=>Oe(c)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function hr(h,c="emptyOnly"){const u=h.pathFromRoot;let y=0;if("always"!==c)for(y=u.length-1;y>=1;){const D=u[y],A=u[y-1];if(D.routeConfig&&""===D.routeConfig.path)y--;else{if(A.component)break;y--}}return function zt(h){return h.reduce((c,u)=>({params:Object.assign(Object.assign({},c.params),u.params),data:Object.assign(Object.assign({},c.data),u.data),resolve:Object.assign(Object.assign({},c.resolve),u._resolvedData)}),{params:{},data:{},resolve:{}})}(u.slice(y))}class Rt{constructor(c,u,y,D,A,N,W,me,Qe,Ft,et){this.url=c,this.params=u,this.queryParams=y,this.fragment=D,this.data=A,this.outlet=N,this.component=W,this.routeConfig=me,this._urlSegment=Qe,this._lastPathIndex=Ft,this._resolve=et}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=Oe(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Oe(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(y=>y.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class Ar extends Mr{constructor(c,u){super(u),this.url=c,cs(this,u)}toString(){return Wn(this._root)}}function cs(h,c){c.value._routerState=h,c.children.forEach(u=>cs(h,u))}function Wn(h){const c=h.children.length>0?` { ${h.children.map(Wn).join(", ")} } `:"";return`${h.value}${c}`}function Bn(h){if(h.snapshot){const c=h.snapshot,u=h._futureSnapshot;h.snapshot=u,It(c.queryParams,u.queryParams)||h.queryParams.next(u.queryParams),c.fragment!==u.fragment&&h.fragment.next(u.fragment),It(c.params,u.params)||h.params.next(u.params),function sn(h,c){if(h.length!==c.length)return!1;for(let u=0;u<h.length;++u)if(!It(h[u],c[u]))return!1;return!0}(c.url,u.url)||h.url.next(u.url),It(c.data,u.data)||h.data.next(u.data)}else h.snapshot=h._futureSnapshot,h.data.next(h._futureSnapshot.data)}function Er(h,c){const u=It(h.params,c.params)&&function ne(h,c){return Se(h,c)&&h.every((u,y)=>It(u.parameters,c[y].parameters))}(h.url,c.url);return u&&!(!h.parent!=!c.parent)&&(!h.parent||Er(h.parent,c.parent))}function Ir(h,c,u){if(u&&h.shouldReuseRoute(c.value,u.value.snapshot)){const y=u.value;y._futureSnapshot=c.value;const D=function Wt(h,c,u){return c.children.map(y=>{for(const D of u.children)if(h.shouldReuseRoute(y.value,D.value.snapshot))return Ir(h,y,D);return Ir(h,y)})}(h,c,u);return new An(y,D)}{if(h.shouldAttach(c.value)){const A=h.retrieve(c.value);if(null!==A){const N=A.route;return N.value._futureSnapshot=c.value,N.children=c.children.map(W=>Ir(h,W)),N}}const y=function ii(h){return new Ln(new U.X(h.url),new U.X(h.params),new U.X(h.queryParams),new U.X(h.fragment),new U.X(h.data),h.outlet,h.component,h)}(c.value),D=c.children.map(A=>Ir(h,A));return new An(y,D)}}function qr(h){return"object"==typeof h&&null!=h&&!h.outlets&&!h.segmentPath}function kr(h){return"object"==typeof h&&null!=h&&h.outlets}function Lr(h,c,u,y,D){let A={};return y&&vt(y,(N,W)=>{A[W]=Array.isArray(N)?N.map(me=>`${me}`):`${N}`}),new se(u.root===h?c:_i(u.root,h,c),A,D)}function _i(h,c,u){const y={};return vt(h.children,(D,A)=>{y[A]=D===c?u:_i(D,c,u)}),new L(h.segments,y)}class Kn{constructor(c,u,y){if(this.isAbsolute=c,this.numberOfDoubleDots=u,this.commands=y,c&&y.length>0&&qr(y[0]))throw new Error("Root segment cannot have matrix parameters");const D=y.find(kr);if(D&&D!==Nn(y))throw new Error("{outlets:{}} has to be the last command")}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class Ls{constructor(c,u,y){this.segmentGroup=c,this.processChildren=u,this.index=y}}function js(h,c,u){if(h||(h=new L([],{})),0===h.segments.length&&h.hasChildren())return Br(h,c,u);const y=function Us(h,c,u){let y=0,D=c;const A={match:!1,pathIndex:0,commandIndex:0};for(;D<h.segments.length;){if(y>=u.length)return A;const N=h.segments[D],W=u[y];if(kr(W))break;const me=`${W}`,Qe=y<u.length-1?u[y+1]:null;if(D>0&&void 0===me)break;if(me&&Qe&&"object"==typeof Qe&&void 0===Qe.outlets){if(!ds(me,Qe,N))return A;y+=2}else{if(!ds(me,{},N))return A;y++}D++}return{match:!0,pathIndex:D,commandIndex:y}}(h,c,u),D=u.slice(y.commandIndex);if(y.match&&y.pathIndex<h.segments.length){const A=new L(h.segments.slice(0,y.pathIndex),{});return A.children[le]=new L(h.segments.slice(y.pathIndex),h.children),Br(A,0,D)}return y.match&&0===D.length?new L(h.segments,{}):y.match&&!h.hasChildren()?Hs(h,c,u):y.match?Br(h,0,D):Hs(h,c,u)}function Br(h,c,u){if(0===u.length)return new L(h.segments,{});{const y=function Ei(h){return kr(h[0])?h[0].outlets:{[le]:h}}(u),D={};return vt(y,(A,N)=>{"string"==typeof A&&(A=[A]),null!==A&&(D[N]=js(h.children[N],c,A))}),vt(h.children,(A,N)=>{void 0===y[N]&&(D[N]=A)}),new L(h.segments,D)}}function Hs(h,c,u){const y=h.segments.slice(0,c);let D=0;for(;D<u.length;){const A=u[D];if(kr(A)){const me=As(A.outlets);return new L(y,me)}if(0===D&&qr(u[0])){y.push(new x(h.segments[c].path,Vs(u[0]))),D++;continue}const N=kr(A)?A.outlets[le]:`${A}`,W=D<u.length-1?u[D+1]:null;N&&W&&qr(W)?(y.push(new x(N,Vs(W))),D+=2):(y.push(new x(N,{})),D++)}return new L(y,{})}function As(h){const c={};return vt(h,(u,y)=>{"string"==typeof u&&(u=[u]),null!==u&&(c[y]=Hs(new L([],{}),0,u))}),c}function Vs(h){const c={};return vt(h,(u,y)=>c[y]=`${u}`),c}function ds(h,c,u){return h==u.path&&It(c,u.parameters)}class ai{constructor(c,u,y,D){this.routeReuseStrategy=c,this.futureState=u,this.currState=y,this.forwardEvent=D}activate(c){const u=this.futureState._root,y=this.currState?this.currState._root:null;this.deactivateChildRoutes(u,y,c),Bn(this.futureState.root),this.activateChildRoutes(u,y,c)}deactivateChildRoutes(c,u,y){const D=kn(u);c.children.forEach(A=>{const N=A.value.outlet;this.deactivateRoutes(A,D[N],y),delete D[N]}),vt(D,(A,N)=>{this.deactivateRouteAndItsChildren(A,y)})}deactivateRoutes(c,u,y){const D=c.value,A=u?u.value:null;if(D===A)if(D.component){const N=y.getContext(D.outlet);N&&this.deactivateChildRoutes(c,u,N.children)}else this.deactivateChildRoutes(c,u,y);else A&&this.deactivateRouteAndItsChildren(u,y)}deactivateRouteAndItsChildren(c,u){c.value.component&&this.routeReuseStrategy.shouldDetach(c.value.snapshot)?this.detachAndStoreRouteSubtree(c,u):this.deactivateRouteAndOutlet(c,u)}detachAndStoreRouteSubtree(c,u){const y=u.getContext(c.value.outlet),D=y&&c.value.component?y.children:u,A=kn(c);for(const N of Object.keys(A))this.deactivateRouteAndItsChildren(A[N],D);if(y&&y.outlet){const N=y.outlet.detach(),W=y.children.onOutletDeactivated();this.routeReuseStrategy.store(c.value.snapshot,{componentRef:N,route:c,contexts:W})}}deactivateRouteAndOutlet(c,u){const y=u.getContext(c.value.outlet),D=y&&c.value.component?y.children:u,A=kn(c);for(const N of Object.keys(A))this.deactivateRouteAndItsChildren(A[N],D);y&&y.outlet&&(y.outlet.deactivate(),y.children.onOutletDeactivated(),y.attachRef=null,y.resolver=null,y.route=null)}activateChildRoutes(c,u,y){const D=kn(u);c.children.forEach(A=>{this.activateRoutes(A,D[A.value.outlet],y),this.forwardEvent(new K(A.value.snapshot))}),c.children.length&&this.forwardEvent(new De(c.value.snapshot))}activateRoutes(c,u,y){const D=c.value,A=u?u.value:null;if(Bn(D),D===A)if(D.component){const N=y.getOrCreateContext(D.outlet);this.activateChildRoutes(c,u,N.children)}else this.activateChildRoutes(c,u,y);else if(D.component){const N=y.getOrCreateContext(D.outlet);if(this.routeReuseStrategy.shouldAttach(D.snapshot)){const W=this.routeReuseStrategy.retrieve(D.snapshot);this.routeReuseStrategy.store(D.snapshot,null),N.children.onOutletReAttached(W.contexts),N.attachRef=W.componentRef,N.route=W.route.value,N.outlet&&N.outlet.attach(W.componentRef,W.route.value),Bn(W.route.value),this.activateChildRoutes(c,null,N.children)}else{const W=function $s(h){for(let c=h.parent;c;c=c.parent){const u=c.routeConfig;if(u&&u._loadedConfig)return u._loadedConfig;if(u&&u.component)return null}return null}(D.snapshot),me=W?W.module.componentFactoryResolver:null;N.attachRef=null,N.route=D,N.resolver=me,N.outlet&&N.outlet.activateWith(D,me),this.activateChildRoutes(c,null,N.children)}}else this.activateChildRoutes(c,null,y)}}class fs{constructor(c,u){this.routes=c,this.module=u}}function yn(h){return"function"==typeof h}function fr(h){return h instanceof se}const Cr=Symbol("INITIAL_VALUE");function gs(){return(0,cn.w)(h=>(0,Q.aj)(h.map(c=>c.pipe((0,Ve.q)(1),(0,dn.O)(Cr)))).pipe(te((c,u)=>{let y=!1;return u.reduce((D,A,N)=>D!==Cr?D:(A===Cr&&(y=!0),y||!1!==A&&N!==u.length-1&&!fr(A)?D:A),c)},Cr),(0,be.h)(c=>c!==Cr),(0,Pt.U)(c=>fr(c)?c:!0===c),(0,Ve.q)(1)))}class Gs{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.children=new ms,this.attachRef=null}}class ms{constructor(){this.contexts=new Map}onChildOutletCreated(c,u){const y=this.getOrCreateContext(c);y.outlet=u,this.contexts.set(c,y)}onChildOutletDestroyed(c){const u=this.getContext(c);u&&(u.outlet=null,u.attachRef=null)}onOutletDeactivated(){const c=this.contexts;return this.contexts=new Map,c}onOutletReAttached(c){this.contexts=c}getOrCreateContext(c){let u=this.getContext(c);return u||(u=new Gs,this.contexts.set(c,u)),u}getContext(c){return this.contexts.get(c)||null}}let Pn=(()=>{class h{constructor(u,y,D,A,N){this.parentContexts=u,this.location=y,this.resolver=D,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||le,u.onChildOutletCreated(this.name,this)}ngOnDestroy(){this.parentContexts.onChildOutletDestroyed(this.name)}ngOnInit(){if(!this.activated){const u=this.parentContexts.getContext(this.name);u&&u.route&&(u.attachRef?this.attach(u.attachRef,u.route):this.activateWith(u.route,u.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 u=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(u.instance),u}attach(u,y){this.activated=u,this._activatedRoute=y,this.location.insert(u.hostView),this.attachEvents.emit(u.instance)}deactivate(){if(this.activated){const u=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(u)}}activateWith(u,y){if(this.isActivated)throw new Error("Cannot activate an already activated outlet");this._activatedRoute=u;const N=(y=y||this.resolver).resolveComponentFactory(u._futureSnapshot.routeConfig.component),W=this.parentContexts.getOrCreateContext(this.name).children,me=new Ws(u,W,this.location.injector);this.activated=this.location.createComponent(N,this.location.length,me),this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return h.\u0275fac=function(u){return new(u||h)(g.Y36(ms),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 Ws{constructor(c,u,y){this.route=c,this.childContexts=u,this.parent=y}get(c,u){return c===Ln?this.route:c===ms?this.childContexts:this.parent.get(c,u)}}let Ps=(()=>{class h{}return h.\u0275fac=function(u){return new(u||h)},h.\u0275cmp=g.Xpm({type:h,selectors:[["ng-component"]],decls:1,vars:0,template:function(u,y){1&u&&g._UZ(0,"router-outlet")},directives:[Pn],encapsulation:2}),h})();function jr(h,c=""){for(let u=0;u<h.length;u++){const y=h[u];Ks(y,Ys(c,y))}}function Ks(h,c){h.children&&jr(h.children,c)}function Ys(h,c){return c?h||c.path?h&&!c.path?`${h}/`:!h&&c.path?c.path:`${h}/${c.path}`:"":h}function Qs(h){const c=h.children&&h.children.map(Qs),u=c?Object.assign(Object.assign({},h),{children:c}):Object.assign({},h);return!u.component&&(c||u.loadChildren)&&u.outlet&&u.outlet!==le&&(u.component=Ps),u}function m(h){return h.outlet||le}function T(h,c){const u=h.filter(y=>m(y)===c);return u.push(...h.filter(y=>m(y)!==c)),u}const v={matched:!1,consumedSegments:[],lastChild:0,parameters:{},positionalParamSegments:{}};function S(h,c,u){var y;if(""===c.path)return"full"===c.pathMatch&&(h.hasChildren()||u.length>0)?Object.assign({},v):{matched:!0,consumedSegments:[],lastChild:0,parameters:{},positionalParamSegments:{}};const A=(c.matcher||qt)(u,h,c);if(!A)return Object.assign({},v);const N={};vt(A.posParams,(me,Qe)=>{N[Qe]=me.path});const W=A.consumed.length>0?Object.assign(Object.assign({},N),A.consumed[A.consumed.length-1].parameters):N;return{matched:!0,consumedSegments:A.consumed,lastChild:A.consumed.length,parameters:W,positionalParamSegments:null!==(y=A.posParams)&&void 0!==y?y:{}}}function H(h,c,u,y,D="corrected"){if(u.length>0&&function He(h,c,u){return u.some(y=>Lt(h,c,y)&&m(y)!==le)}(h,u,y)){const N=new L(c,function Ie(h,c,u,y){const D={};D[le]=y,y._sourceSegment=h,y._segmentIndexShift=c.length;for(const A of u)if(""===A.path&&m(A)!==le){const N=new L([],{});N._sourceSegment=h,N._segmentIndexShift=c.length,D[m(A)]=N}return D}(h,c,y,new L(u,h.children)));return N._sourceSegment=h,N._segmentIndexShift=c.length,{segmentGroup:N,slicedSegments:[]}}if(0===u.length&&function jt(h,c,u){return u.some(y=>Lt(h,c,y))}(h,u,y)){const N=new L(h.segments,function ge(h,c,u,y,D,A){const N={};for(const W of y)if(Lt(h,u,W)&&!D[m(W)]){const me=new L([],{});me._sourceSegment=h,me._segmentIndexShift="legacy"===A?h.segments.length:c.length,N[m(W)]=me}return Object.assign(Object.assign({},D),N)}(h,c,u,y,h.children,D));return N._sourceSegment=h,N._segmentIndexShift=c.length,{segmentGroup:N,slicedSegments:u}}const A=new L(h.segments,h.children);return A._sourceSegment=h,A._segmentIndexShift=c.length,{segmentGroup:A,slicedSegments:u}}function Lt(h,c,u){return(!(h.hasChildren()||c.length>0)||"full"!==u.pathMatch)&&""===u.path}function Nt(h,c,u,y){return!!(m(h)===y||y!==le&&Lt(c,u,h))&&("**"===h.path||S(c,h,u).matched)}function ct(h,c,u){return 0===c.length&&!h.children[u]}class Kt{constructor(c){this.segmentGroup=c||null}}class Ht{constructor(c){this.urlTree=c}}function un(h){return new q.y(c=>c.error(new Kt(h)))}function On(h){return new q.y(c=>c.error(new Ht(h)))}function br(h){return new q.y(c=>c.error(new Error(`Only absolute redirects can have named outlets. redirectTo: '${h}'`)))}class li{constructor(c,u,y,D,A){this.configLoader=u,this.urlSerializer=y,this.urlTree=D,this.config=A,this.allowRedirects=!0,this.ngModule=c.get(g.h0i)}apply(){const c=H(this.urlTree.root,[],[],this.config).segmentGroup,u=new L(c.segments,c.children);return this.expandSegmentGroup(this.ngModule,this.config,u,le).pipe((0,Pt.U)(A=>this.createUrlTree(ys(A),this.urlTree.queryParams,this.urlTree.fragment))).pipe((0,Cn.K)(A=>{if(A instanceof Ht)return this.allowRedirects=!1,this.match(A.urlTree);throw A instanceof Kt?this.noMatchError(A):A}))}match(c){return this.expandSegmentGroup(this.ngModule,this.config,c.root,le).pipe((0,Pt.U)(D=>this.createUrlTree(ys(D),c.queryParams,c.fragment))).pipe((0,Cn.K)(D=>{throw D instanceof Kt?this.noMatchError(D):D}))}noMatchError(c){return new Error(`Cannot match any routes. URL Segment: '${c.segmentGroup}'`)}createUrlTree(c,u,y){const D=c.segments.length>0?new L([],{[le]:c}):c;return new se(D,u,y)}expandSegmentGroup(c,u,y,D){return 0===y.segments.length&&y.hasChildren()?this.expandChildren(c,u,y).pipe((0,Pt.U)(A=>new L([],A))):this.expandSegment(c,y,u,y.segments,D,!0)}expandChildren(c,u,y){const D=[];for(const A of Object.keys(y.children))"primary"===A?D.unshift(A):D.push(A);return(0,ie.D)(D).pipe((0,bn.b)(A=>{const N=y.children[A],W=T(u,A);return this.expandSegmentGroup(c,W,N,A).pipe((0,Pt.U)(me=>({segment:me,outlet:A})))}),te((A,N)=>(A[N.outlet]=N.segment,A),{}),function lt(h,c){const u=arguments.length>=2;return y=>y.pipe(h?(0,be.h)((D,A)=>h(D,A,y)):ft.y,Ae(1),u?ht(c):Ke(()=>new J))}())}expandSegment(c,u,y,D,A,N){return(0,ie.D)(y).pipe((0,bn.b)(W=>this.expandSegmentAgainstRoute(c,u,y,W,D,A,N).pipe((0,Cn.K)(Qe=>{if(Qe instanceof Kt)return(0,B.of)(null);throw Qe}))),Hn(W=>!!W),(0,Cn.K)((W,me)=>{if(W instanceof J||"EmptyError"===W.name){if(ct(u,D,A))return(0,B.of)(new L([],{}));throw new Kt(u)}throw W}))}expandSegmentAgainstRoute(c,u,y,D,A,N,W){return Nt(D,u,A,N)?void 0===D.redirectTo?this.matchSegmentAgainstRoute(c,u,D,A,N):W&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(c,u,y,D,A,N):un(u):un(u)}expandSegmentAgainstRouteUsingRedirect(c,u,y,D,A,N){return"**"===D.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(c,y,D,N):this.expandRegularSegmentAgainstRouteUsingRedirect(c,u,y,D,A,N)}expandWildCardWithParamsAgainstRouteUsingRedirect(c,u,y,D){const A=this.applyRedirectCommands([],y.redirectTo,{});return y.redirectTo.startsWith("/")?On(A):this.lineralizeSegments(y,A).pipe((0,$t.zg)(N=>{const W=new L(N,{});return this.expandSegment(c,W,u,N,D,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(c,u,y,D,A,N){const{matched:W,consumedSegments:me,lastChild:Qe,positionalParamSegments:Ft}=S(u,D,A);if(!W)return un(u);const et=this.applyRedirectCommands(me,D.redirectTo,Ft);return D.redirectTo.startsWith("/")?On(et):this.lineralizeSegments(D,et).pipe((0,$t.zg)(Bt=>this.expandSegment(c,u,y,Bt.concat(A.slice(Qe)),N,!1)))}matchSegmentAgainstRoute(c,u,y,D,A){if("**"===y.path)return y.loadChildren?(y._loadedConfig?(0,B.of)(y._loadedConfig):this.configLoader.load(c.injector,y)).pipe((0,Pt.U)(Bt=>(y._loadedConfig=Bt,new L(D,{})))):(0,B.of)(new L(D,{}));const{matched:N,consumedSegments:W,lastChild:me}=S(u,y,D);if(!N)return un(u);const Qe=D.slice(me);return this.getChildConfig(c,y,D).pipe((0,$t.zg)(et=>{const Bt=et.module,Yt=et.routes,{segmentGroup:ei,slicedSegments:zr}=H(u,W,Qe,Yt),ir=new L(ei.segments,ei.children);if(0===zr.length&&ir.hasChildren())return this.expandChildren(Bt,Yt,ir).pipe((0,Pt.U)(Or=>new L(W,Or)));if(0===Yt.length&&0===zr.length)return(0,B.of)(new L(W,{}));const ns=m(y)===A;return this.expandSegment(Bt,ir,Yt,zr,ns?le:A,!0).pipe((0,Pt.U)(Pr=>new L(W.concat(Pr.segments),Pr.children)))}))}getChildConfig(c,u,y){return u.children?(0,B.of)(new fs(u.children,c)):u.loadChildren?void 0!==u._loadedConfig?(0,B.of)(u._loadedConfig):this.runCanLoadGuards(c.injector,u,y).pipe((0,$t.zg)(D=>D?this.configLoader.load(c.injector,u).pipe((0,Pt.U)(A=>(u._loadedConfig=A,A))):function Ur(h){return new q.y(c=>c.error(ut(`Cannot load children because the guard of the route "path: '${h.path}'" returned false`)))}(u))):(0,B.of)(new fs([],c))}runCanLoadGuards(c,u,y){const D=u.canLoad;if(!D||0===D.length)return(0,B.of)(!0);const A=D.map(N=>{const W=c.get(N);let me;if(function ps(h){return h&&yn(h.canLoad)}(W))me=W.canLoad(u,y);else{if(!yn(W))throw new Error("Invalid CanLoad guard");me=W(u,y)}return st(me)});return(0,B.of)(A).pipe(gs(),(0,_e.b)(N=>{if(!fr(N))return;const W=ut(`Redirecting to "${this.urlSerializer.serialize(N)}"`);throw W.url=N,W}),(0,Pt.U)(N=>!0===N))}lineralizeSegments(c,u){let y=[],D=u.root;for(;;){if(y=y.concat(D.segments),0===D.numberOfChildren)return(0,B.of)(y);if(D.numberOfChildren>1||!D.children[le])return br(c.redirectTo);D=D.children[le]}}applyRedirectCommands(c,u,y){return this.applyRedirectCreatreUrlTree(u,this.urlSerializer.parse(u),c,y)}applyRedirectCreatreUrlTree(c,u,y,D){const A=this.createSegmentGroup(c,u.root,y,D);return new se(A,this.createQueryParams(u.queryParams,this.urlTree.queryParams),u.fragment)}createQueryParams(c,u){const y={};return vt(c,(D,A)=>{if("string"==typeof D&&D.startsWith(":")){const W=D.substring(1);y[A]=u[W]}else y[A]=D}),y}createSegmentGroup(c,u,y,D){const A=this.createSegments(c,u.segments,y,D);let N={};return vt(u.children,(W,me)=>{N[me]=this.createSegmentGroup(c,W,y,D)}),new L(A,N)}createSegments(c,u,y,D){return u.map(A=>A.path.startsWith(":")?this.findPosParam(c,A,D):this.findOrReturn(A,y))}findPosParam(c,u,y){const D=y[u.path.substring(1)];if(!D)throw new Error(`Cannot redirect to '${c}'. Cannot find '${u.path}'.`);return D}findOrReturn(c,u){let y=0;for(const D of u){if(D.path===c.path)return u.splice(y),D;y++}return c}}function ys(h){const c={};for(const y of Object.keys(h.children)){const A=ys(h.children[y]);(A.segments.length>0||A.hasChildren())&&(c[y]=A)}return function Os(h){if(1===h.numberOfChildren&&h.children[le]){const c=h.children[le];return new L(h.segments.concat(c.segments),c.children)}return h}(new L(h.segments,c))}class Rs{constructor(c){this.path=c,this.route=this.path[this.path.length-1]}}class xs{constructor(c,u){this.component=c,this.route=u}}function bi(h,c,u){const y=h._root;return C(y,c?c._root:null,u,[y.value])}function Tt(h,c,u){const y=function co(h){if(!h)return null;for(let c=h.parent;c;c=c.parent){const u=c.routeConfig;if(u&&u._loadedConfig)return u._loadedConfig}return null}(c);return(y?y.module.injector:u).get(h)}function C(h,c,u,y,D={canDeactivateChecks:[],canActivateChecks:[]}){const A=kn(c);return h.children.forEach(N=>{(function o(h,c,u,y,D={canDeactivateChecks:[],canActivateChecks:[]}){const A=h.value,N=c?c.value:null,W=u?u.getContext(h.value.outlet):null;if(N&&A.routeConfig===N.routeConfig){const me=function l(h,c,u){if("function"==typeof u)return u(h,c);switch(u){case"pathParamsChange":return!Se(h.url,c.url);case"pathParamsOrQueryParamsChange":return!Se(h.url,c.url)||!It(h.queryParams,c.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Er(h,c)||!It(h.queryParams,c.queryParams);default:return!Er(h,c)}}(N,A,A.routeConfig.runGuardsAndResolvers);me?D.canActivateChecks.push(new Rs(y)):(A.data=N.data,A._resolvedData=N._resolvedData),C(h,c,A.component?W?W.children:null:u,y,D),me&&W&&W.outlet&&W.outlet.isActivated&&D.canDeactivateChecks.push(new xs(W.outlet.component,N))}else N&&f(c,W,D),D.canActivateChecks.push(new Rs(y)),C(h,null,A.component?W?W.children:null:u,y,D)})(N,A[N.value.outlet],u,y.concat([N.value]),D),delete A[N.value.outlet]}),vt(A,(N,W)=>f(N,u.getContext(W),D)),D}function f(h,c,u){const y=kn(h),D=h.value;vt(y,(A,N)=>{f(A,D.component?c?c.children.getContext(N):null:c,u)}),u.canDeactivateChecks.push(new xs(D.component&&c&&c.outlet&&c.outlet.isActivated?c.outlet.component:null,D))}class gt{}function _t(h){return new q.y(c=>c.error(h))}class mt{constructor(c,u,y,D,A,N){this.rootComponentType=c,this.config=u,this.urlTree=y,this.url=D,this.paramsInheritanceStrategy=A,this.relativeLinkResolution=N}recognize(){const c=H(this.urlTree.root,[],[],this.config.filter(N=>void 0===N.redirectTo),this.relativeLinkResolution).segmentGroup,u=this.processSegmentGroup(this.config,c,le);if(null===u)return null;const y=new Rt([],Object.freeze({}),Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,{},le,this.rootComponentType,null,this.urlTree.root,-1,{}),D=new An(y,u),A=new Ar(this.url,D);return this.inheritParamsAndData(A._root),A}inheritParamsAndData(c){const u=c.value,y=hr(u,this.paramsInheritanceStrategy);u.params=Object.freeze(y.params),u.data=Object.freeze(y.data),c.children.forEach(D=>this.inheritParamsAndData(D))}processSegmentGroup(c,u,y){return 0===u.segments.length&&u.hasChildren()?this.processChildren(c,u):this.processSegment(c,u,u.segments,y)}processChildren(c,u){const y=[];for(const A of Object.keys(u.children)){const N=u.children[A],W=T(c,A),me=this.processSegmentGroup(W,N,A);if(null===me)return null;y.push(...me)}const D=vn(y);return function At(h){h.sort((c,u)=>c.value.outlet===le?-1:u.value.outlet===le?1:c.value.outlet.localeCompare(u.value.outlet))}(D),D}processSegment(c,u,y,D){for(const A of c){const N=this.processSegmentAgainstRoute(A,u,y,D);if(null!==N)return N}return ct(u,y,D)?[]:null}processSegmentAgainstRoute(c,u,y,D){if(c.redirectTo||!Nt(c,u,y,D))return null;let A,N=[],W=[];if("**"===c.path){const Yt=y.length>0?Nn(y).parameters:{};A=new Rt(y,Yt,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,Rn(c),m(c),c.component,c,Hr(u),Zn(u)+y.length,pr(c))}else{const Yt=S(u,c,y);if(!Yt.matched)return null;N=Yt.consumedSegments,W=y.slice(Yt.lastChild),A=new Rt(N,Yt.parameters,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,Rn(c),m(c),c.component,c,Hr(u),Zn(u)+N.length,pr(c))}const me=function tn(h){return h.children?h.children:h.loadChildren?h._loadedConfig.routes:[]}(c),{segmentGroup:Qe,slicedSegments:Ft}=H(u,N,W,me.filter(Yt=>void 0===Yt.redirectTo),this.relativeLinkResolution);if(0===Ft.length&&Qe.hasChildren()){const Yt=this.processChildren(me,Qe);return null===Yt?null:[new An(A,Yt)]}if(0===me.length&&0===Ft.length)return[new An(A,[])];const et=m(c)===D,Bt=this.processSegment(me,Qe,Ft,et?le:D);return null===Bt?null:[new An(A,Bt)]}}function on(h){const c=h.value.routeConfig;return c&&""===c.path&&void 0===c.redirectTo}function vn(h){const c=[],u=new Set;for(const y of h){if(!on(y)){c.push(y);continue}const D=c.find(A=>y.value.routeConfig===A.value.routeConfig);void 0!==D?(D.children.push(...y.children),u.add(D)):c.push(y)}for(const y of u){const D=vn(y.children);c.push(new An(y.value,D))}return c.filter(y=>!u.has(y))}function Hr(h){let c=h;for(;c._sourceSegment;)c=c._sourceSegment;return c}function Zn(h){let c=h,u=c._segmentIndexShift?c._segmentIndexShift:0;for(;c._sourceSegment;)c=c._sourceSegment,u+=c._segmentIndexShift?c._segmentIndexShift:0;return u-1}function Rn(h){return h.data||{}}function pr(h){return h.resolve||{}}function Xr(h){return(0,cn.w)(c=>{const u=h(c);return u?(0,ie.D)(u).pipe((0,Pt.U)(()=>c)):(0,B.of)(c)})}class We extends class Ye{shouldDetach(c){return!1}store(c,u){}shouldAttach(c){return!1}retrieve(c){return null}shouldReuseRoute(c,u){return c.routeConfig===u.routeConfig}}{}const Xe=new g.OlP("ROUTES");class Je{constructor(c,u,y,D){this.injector=c,this.compiler=u,this.onLoadStartListener=y,this.onLoadEndListener=D}load(c,u){if(u._loader$)return u._loader$;this.onLoadStartListener&&this.onLoadStartListener(u);const D=this.loadModuleFactory(u.loadChildren).pipe((0,Pt.U)(A=>{this.onLoadEndListener&&this.onLoadEndListener(u);const N=A.create(c);return new fs(Ue(N.injector.get(Xe,void 0,g.XFs.Self|g.XFs.Optional)).map(Qs),N)}),(0,Cn.K)(A=>{throw u._loader$=void 0,A}));return u._loader$=new ae.c(D,()=>new fe.xQ).pipe((0,we.x)()),u._loader$}loadModuleFactory(c){return st(c()).pipe((0,$t.zg)(u=>u instanceof g.YKP?(0,B.of)(u):(0,ie.D)(this.compiler.compileModuleAsync(u))))}}class Tr{shouldProcessUrl(c){return!0}extract(c){return c}merge(c,u){return c}}function Yn(h){throw h}function $r(h,c,u){return c.parse("/")}function Xt(h,c){return(0,B.of)(null)}const ho={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Jn={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let an=(()=>{class h{constructor(u,y,D,A,N,W,me){this.rootComponentType=u,this.urlSerializer=y,this.rootContexts=D,this.location=A,this.config=me,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.disposed=!1,this.navigationId=0,this.currentPageId=0,this.isNgZoneEnabled=!1,this.events=new fe.xQ,this.errorHandler=Yn,this.malformedUriErrorHandler=$r,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:Xt,afterPreactivation:Xt},this.urlHandlingStrategy=new Tr,this.routeReuseStrategy=new We,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 et=N.get(g.R0b);this.isNgZoneEnabled=et instanceof g.R0b&&g.R0b.isInAngularZone(),this.resetConfig(me),this.currentUrlTree=function ur(){return new se(new L([],{}),{},null)}(),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new Je(N,W,Bt=>this.triggerEvent(new Vt(Bt)),Bt=>this.triggerEvent(new lr(Bt))),this.routerState=Dr(this.currentUrlTree,this.rootComponentType),this.transitions=new U.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 u;return null===(u=this.location.getState())||void 0===u?void 0:u.\u0275routerPageId}setupNavigations(u){const y=this.events;return u.pipe((0,be.h)(D=>0!==D.id),(0,Pt.U)(D=>Object.assign(Object.assign({},D),{extractedUrl:this.urlHandlingStrategy.extract(D.rawUrl)})),(0,cn.w)(D=>{let A=!1,N=!1;return(0,B.of)(D).pipe((0,_e.b)(W=>{this.currentNavigation={id:W.id,initialUrl:W.currentRawUrl,extractedUrl:W.extractedUrl,trigger:W.source,extras:W.extras,previousNavigation:this.lastSuccessfulNavigation?Object.assign(Object.assign({},this.lastSuccessfulNavigation),{previousNavigation:null}):null}}),(0,cn.w)(W=>{const me=this.browserUrlTree.toString(),Qe=!this.navigated||W.extractedUrl.toString()!==me||me!==this.currentUrlTree.toString();if(("reload"===this.onSameUrlNavigation||Qe)&&this.urlHandlingStrategy.shouldProcessUrl(W.rawUrl))return sr(W.source)&&(this.browserUrlTree=W.extractedUrl),(0,B.of)(W).pipe((0,cn.w)(et=>{const Bt=this.transitions.getValue();return y.next(new nn(et.id,this.serializeUrl(et.extractedUrl),et.source,et.restoredState)),Bt!==this.transitions.getValue()?F.E:Promise.resolve(et)}),function uo(h,c,u,y){return(0,cn.w)(D=>function tt(h,c,u,y,D){return new li(h,c,u,y,D).apply()}(h,c,u,D.extractedUrl,y).pipe((0,Pt.U)(A=>Object.assign(Object.assign({},D),{urlAfterRedirects:A}))))}(this.ngModule.injector,this.configLoader,this.urlSerializer,this.config),(0,_e.b)(et=>{this.currentNavigation=Object.assign(Object.assign({},this.currentNavigation),{finalUrl:et.urlAfterRedirects})}),function rr(h,c,u,y,D){return(0,$t.zg)(A=>function Ze(h,c,u,y,D="emptyOnly",A="legacy"){try{const N=new mt(h,c,u,y,D,A).recognize();return null===N?_t(new gt):(0,B.of)(N)}catch(N){return _t(N)}}(h,c,A.urlAfterRedirects,u(A.urlAfterRedirects),y,D).pipe((0,Pt.U)(N=>Object.assign(Object.assign({},A),{targetSnapshot:N}))))}(this.rootComponentType,this.config,et=>this.serializeUrl(et),this.paramsInheritanceStrategy,this.relativeLinkResolution),(0,_e.b)(et=>{if("eager"===this.urlUpdateStrategy){if(!et.extras.skipLocationChange){const Yt=this.urlHandlingStrategy.merge(et.urlAfterRedirects,et.rawUrl);this.setBrowserUrl(Yt,et)}this.browserUrlTree=et.urlAfterRedirects}const Bt=new rn(et.id,this.serializeUrl(et.extractedUrl),this.serializeUrl(et.urlAfterRedirects),et.targetSnapshot);y.next(Bt)}));if(Qe&&this.rawUrlTree&&this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree)){const{id:Bt,extractedUrl:Yt,source:ei,restoredState:zr,extras:ir}=W,ns=new nn(Bt,this.serializeUrl(Yt),ei,zr);y.next(ns);const ti=Dr(Yt,this.rootComponentType).snapshot;return(0,B.of)(Object.assign(Object.assign({},W),{targetSnapshot:ti,urlAfterRedirects:Yt,extras:Object.assign(Object.assign({},ir),{skipLocationChange:!1,replaceUrl:!1})}))}return this.rawUrlTree=W.rawUrl,W.resolve(null),F.E}),Xr(W=>{const{targetSnapshot:me,id:Qe,extractedUrl:Ft,rawUrl:et,extras:{skipLocationChange:Bt,replaceUrl:Yt}}=W;return this.hooks.beforePreactivation(me,{navigationId:Qe,appliedUrlTree:Ft,rawUrlTree:et,skipLocationChange:!!Bt,replaceUrl:!!Yt})}),(0,_e.b)(W=>{const me=new Vn(W.id,this.serializeUrl(W.extractedUrl),this.serializeUrl(W.urlAfterRedirects),W.targetSnapshot);this.triggerEvent(me)}),(0,Pt.U)(W=>Object.assign(Object.assign({},W),{guards:bi(W.targetSnapshot,W.currentSnapshot,this.rootContexts)})),function b(h,c){return(0,$t.zg)(u=>{const{targetSnapshot:y,currentSnapshot:D,guards:{canActivateChecks:A,canDeactivateChecks:N}}=u;return 0===N.length&&0===A.length?(0,B.of)(Object.assign(Object.assign({},u),{guardsResult:!0})):function I(h,c,u,y){return(0,ie.D)(h).pipe((0,$t.zg)(D=>function $e(h,c,u,y,D){const A=c&&c.routeConfig?c.routeConfig.canDeactivate:null;if(!A||0===A.length)return(0,B.of)(!0);const N=A.map(W=>{const me=Tt(W,c,D);let Qe;if(function Jr(h){return h&&yn(h.canDeactivate)}(me))Qe=st(me.canDeactivate(h,c,u,y));else{if(!yn(me))throw new Error("Invalid CanDeactivate guard");Qe=st(me(h,c,u,y))}return Qe.pipe(Hn())});return(0,B.of)(N).pipe(gs())}(D.component,D.route,u,c,y)),Hn(D=>!0!==D,!0))}(N,y,D,h).pipe((0,$t.zg)(W=>W&&function Ci(h){return"boolean"==typeof h}(W)?function k(h,c,u,y){return(0,ie.D)(c).pipe((0,bn.b)(D=>(0,z.z)(function re(h,c){return null!==h&&c&&c(new nt(h)),(0,B.of)(!0)}(D.route.parent,y),function j(h,c){return null!==h&&c&&c(new Y(h)),(0,B.of)(!0)}(D.route,y),function Re(h,c,u){const y=c[c.length-1],A=c.slice(0,c.length-1).reverse().map(N=>function Pe(h){const c=h.routeConfig?h.routeConfig.canActivateChild:null;return c&&0!==c.length?{node:h,guards:c}:null}(N)).filter(N=>null!==N).map(N=>(0,V.P)(()=>{const W=N.guards.map(me=>{const Qe=Tt(me,N.node,u);let Ft;if(function zs(h){return h&&yn(h.canActivateChild)}(Qe))Ft=st(Qe.canActivateChild(y,h));else{if(!yn(Qe))throw new Error("Invalid CanActivateChild guard");Ft=st(Qe(y,h))}return Ft.pipe(Hn())});return(0,B.of)(W).pipe(gs())}));return(0,B.of)(A).pipe(gs())}(h,D.path,u),function ye(h,c,u){const y=c.routeConfig?c.routeConfig.canActivate:null;if(!y||0===y.length)return(0,B.of)(!0);const D=y.map(A=>(0,V.P)(()=>{const N=Tt(A,c,u);let W;if(function Is(h){return h&&yn(h.canActivate)}(N))W=st(N.canActivate(c,h));else{if(!yn(N))throw new Error("Invalid CanActivate guard");W=st(N(c,h))}return W.pipe(Hn())}));return(0,B.of)(D).pipe(gs())}(h,D.route,u))),Hn(D=>!0!==D,!0))}(y,A,h,c):(0,B.of)(W)),(0,Pt.U)(W=>Object.assign(Object.assign({},u),{guardsResult:W})))})}(this.ngModule.injector,W=>this.triggerEvent(W)),(0,_e.b)(W=>{if(fr(W.guardsResult)){const Qe=ut(`Redirecting to "${this.serializeUrl(W.guardsResult)}"`);throw Qe.url=W.guardsResult,Qe}const me=new Xn(W.id,this.serializeUrl(W.extractedUrl),this.serializeUrl(W.urlAfterRedirects),W.targetSnapshot,!!W.guardsResult);this.triggerEvent(me)}),(0,be.h)(W=>!!W.guardsResult||(this.restoreHistory(W),this.cancelNavigationTransition(W,""),!1)),Xr(W=>{if(W.guards.canActivateChecks.length)return(0,B.of)(W).pipe((0,_e.b)(me=>{const Qe=new $n(me.id,this.serializeUrl(me.extractedUrl),this.serializeUrl(me.urlAfterRedirects),me.targetSnapshot);this.triggerEvent(Qe)}),(0,cn.w)(me=>{let Qe=!1;return(0,B.of)(me).pipe(function wr(h,c){return(0,$t.zg)(u=>{const{targetSnapshot:y,guards:{canActivateChecks:D}}=u;if(!D.length)return(0,B.of)(u);let A=0;return(0,ie.D)(D).pipe((0,bn.b)(N=>function ui(h,c,u,y){return function vs(h,c,u,y){const D=Object.keys(h);if(0===D.length)return(0,B.of)({});const A={};return(0,ie.D)(D).pipe((0,$t.zg)(N=>function Vr(h,c,u,y){const D=Tt(h,c,y);return st(D.resolve?D.resolve(c,u):D(c,u))}(h[N],c,u,y).pipe((0,_e.b)(W=>{A[N]=W}))),Ae(1),(0,$t.zg)(()=>Object.keys(A).length===D.length?(0,B.of)(A):F.E))}(h._resolve,h,c,y).pipe((0,Pt.U)(A=>(h._resolvedData=A,h.data=Object.assign(Object.assign({},h.data),hr(h,u).resolve),null)))}(N.route,y,h,c)),(0,_e.b)(()=>A++),Ae(1),(0,$t.zg)(N=>A===D.length?(0,B.of)(u):F.E))})}(this.paramsInheritanceStrategy,this.ngModule.injector),(0,_e.b)({next:()=>Qe=!0,complete:()=>{Qe||(this.restoreHistory(me),this.cancelNavigationTransition(me,"At least one route resolver didn't emit any value."))}}))}),(0,_e.b)(me=>{const Qe=new xn(me.id,this.serializeUrl(me.extractedUrl),this.serializeUrl(me.urlAfterRedirects),me.targetSnapshot);this.triggerEvent(Qe)}))}),Xr(W=>{const{targetSnapshot:me,id:Qe,extractedUrl:Ft,rawUrl:et,extras:{skipLocationChange:Bt,replaceUrl:Yt}}=W;return this.hooks.afterPreactivation(me,{navigationId:Qe,appliedUrlTree:Ft,rawUrlTree:et,skipLocationChange:!!Bt,replaceUrl:!!Yt})}),(0,Pt.U)(W=>{const me=function Qr(h,c,u){const y=Ir(h,c._root,u?u._root:void 0);return new us(y,c)}(this.routeReuseStrategy,W.targetSnapshot,W.currentRouterState);return Object.assign(Object.assign({},W),{targetRouterState:me})}),(0,_e.b)(W=>{this.currentUrlTree=W.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(W.urlAfterRedirects,W.rawUrl),this.routerState=W.targetRouterState,"deferred"===this.urlUpdateStrategy&&(W.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,W),this.browserUrlTree=W.urlAfterRedirects)}),((h,c,u)=>(0,Pt.U)(y=>(new ai(c,y.targetRouterState,y.currentRouterState,u).activate(h),y)))(this.rootContexts,this.routeReuseStrategy,W=>this.triggerEvent(W)),(0,_e.b)({next(){A=!0},complete(){A=!0}}),(0,X.x)(()=>{var W;A||N||this.cancelNavigationTransition(D,`Navigation ID ${D.id} is not equal to the current navigation id ${this.navigationId}`),(null===(W=this.currentNavigation)||void 0===W?void 0:W.id)===D.id&&(this.currentNavigation=null)}),(0,Cn.K)(W=>{if(N=!0,function bt(h){return h&&h[ze]}(W)){const me=fr(W.url);me||(this.navigated=!0,this.restoreHistory(D,!0));const Qe=new Gt(D.id,this.serializeUrl(D.extractedUrl),W.message);y.next(Qe),me?setTimeout(()=>{const Ft=this.urlHandlingStrategy.merge(W.url,this.rawUrlTree),et={skipLocationChange:D.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||sr(D.source)};this.scheduleNavigation(Ft,"imperative",null,et,{resolve:D.resolve,reject:D.reject,promise:D.promise})},0):D.resolve(!1)}else{this.restoreHistory(D,!0);const me=new hn(D.id,this.serializeUrl(D.extractedUrl),W);y.next(me);try{D.resolve(this.errorHandler(W))}catch(Qe){D.reject(Qe)}}return F.E}))}))}resetRootComponentType(u){this.rootComponentType=u,this.routerState.root.component=this.rootComponentType}setTransition(u){this.transitions.next(Object.assign(Object.assign({},this.transitions.value),u))}initialNavigation(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(u=>{const y="popstate"===u.type?"popstate":"hashchange";"popstate"===y&&setTimeout(()=>{var D;const A={replaceUrl:!0},N=(null===(D=u.state)||void 0===D?void 0:D.navigationId)?u.state:null;if(N){const me=Object.assign({},N);delete me.navigationId,delete me.\u0275routerPageId,0!==Object.keys(me).length&&(A.state=me)}const W=this.parseUrl(u.url);this.scheduleNavigation(W,y,N,A)},0)}))}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.currentNavigation}triggerEvent(u){this.events.next(u)}resetConfig(u){jr(u),this.config=u.map(Qs),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(u,y={}){const{relativeTo:D,queryParams:A,fragment:N,queryParamsHandling:W,preserveFragment:me}=y,Qe=D||this.routerState.root,Ft=me?this.currentUrlTree.fragment:N;let et=null;switch(W){case"merge":et=Object.assign(Object.assign({},this.currentUrlTree.queryParams),A);break;case"preserve":et=this.currentUrlTree.queryParams;break;default:et=A||null}return null!==et&&(et=this.removeEmptyProps(et)),function oi(h,c,u,y,D){if(0===u.length)return Lr(c.root,c.root,c,y,D);const A=function Zr(h){if("string"==typeof h[0]&&1===h.length&&"/"===h[0])return new Kn(!0,0,h);let c=0,u=!1;const y=h.reduce((D,A,N)=>{if("object"==typeof A&&null!=A){if(A.outlets){const W={};return vt(A.outlets,(me,Qe)=>{W[Qe]="string"==typeof me?me.split("/"):me}),[...D,{outlets:W}]}if(A.segmentPath)return[...D,A.segmentPath]}return"string"!=typeof A?[...D,A]:0===N?(A.split("/").forEach((W,me)=>{0==me&&"."===W||(0==me&&""===W?u=!0:".."===W?c++:""!=W&&D.push(W))}),D):[...D,A]},[]);return new Kn(u,c,y)}(u);if(A.toRoot())return Lr(c.root,new L([],{}),c,y,D);const N=function Di(h,c,u){if(h.isAbsolute)return new Ls(c.root,!0,0);if(-1===u.snapshot._lastPathIndex){const A=u.snapshot._urlSegment;return new Ls(A,A===c.root,0)}const y=qr(h.commands[0])?0:1;return function Bs(h,c,u){let y=h,D=c,A=u;for(;A>D;){if(A-=D,y=y.parent,!y)throw new Error("Invalid number of '../'");D=y.segments.length}return new Ls(y,!1,D-A)}(u.snapshot._urlSegment,u.snapshot._lastPathIndex+y,h.numberOfDoubleDots)}(A,c,h),W=N.processChildren?Br(N.segmentGroup,N.index,A.commands):js(N.segmentGroup,N.index,A.commands);return Lr(N.segmentGroup,W,c,y,D)}(Qe,this.currentUrlTree,u,et,null!=Ft?Ft:null)}navigateByUrl(u,y={skipLocationChange:!1}){const D=fr(u)?u:this.parseUrl(u),A=this.urlHandlingStrategy.merge(D,this.rawUrlTree);return this.scheduleNavigation(A,"imperative",null,y)}navigate(u,y={skipLocationChange:!1}){return function es(h){for(let c=0;c<h.length;c++){const u=h[c];if(null==u)throw new Error(`The requested path contains ${u} segment at index ${c}`)}}(u),this.navigateByUrl(this.createUrlTree(u,y),y)}serializeUrl(u){return this.urlSerializer.serialize(u)}parseUrl(u){let y;try{y=this.urlSerializer.parse(u)}catch(D){y=this.malformedUriErrorHandler(D,this.urlSerializer,u)}return y}isActive(u,y){let D;if(D=!0===y?Object.assign({},ho):!1===y?Object.assign({},Jn):y,fr(u))return tr(this.currentUrlTree,u,D);const A=this.parseUrl(u);return tr(this.currentUrlTree,A,D)}removeEmptyProps(u){return Object.keys(u).reduce((y,D)=>{const A=u[D];return null!=A&&(y[D]=A),y},{})}processNavigations(){this.navigations.subscribe(u=>{this.navigated=!0,this.lastSuccessfulId=u.id,this.currentPageId=u.targetPageId,this.events.next(new Ut(u.id,this.serializeUrl(u.extractedUrl),this.serializeUrl(this.currentUrlTree))),this.lastSuccessfulNavigation=this.currentNavigation,u.resolve(!0)},u=>{this.console.warn(`Unhandled Navigation Error: ${u}`)})}scheduleNavigation(u,y,D,A,N){var W,me,Qe;if(this.disposed)return Promise.resolve(!1);const Ft=this.transitions.value,et=sr(y)&&Ft&&!sr(Ft.source),Bt=Ft.rawUrl.toString()===u.toString(),Yt=Ft.id===(null===(W=this.currentNavigation)||void 0===W?void 0:W.id);if(et&&Bt&&Yt)return Promise.resolve(!0);let zr,ir,ns;N?(zr=N.resolve,ir=N.reject,ns=N.promise):ns=new Promise((Or,ni)=>{zr=Or,ir=ni});const ti=++this.navigationId;let Pr;return"computed"===this.canceledNavigationResolution?(0===this.currentPageId&&(D=this.location.getState()),Pr=D&&D.\u0275routerPageId?D.\u0275routerPageId:A.replaceUrl||A.skipLocationChange?null!==(me=this.browserPageId)&&void 0!==me?me:0:(null!==(Qe=this.browserPageId)&&void 0!==Qe?Qe:0)+1):Pr=0,this.setTransition({id:ti,targetPageId:Pr,source:y,restoredState:D,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:u,extras:A,resolve:zr,reject:ir,promise:ns,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),ns.catch(Or=>Promise.reject(Or))}setBrowserUrl(u,y){const D=this.urlSerializer.serialize(u),A=Object.assign(Object.assign({},y.extras.state),this.generateNgRouterState(y.id,y.targetPageId));this.location.isCurrentPathEqualTo(D)||y.extras.replaceUrl?this.location.replaceState(D,"",A):this.location.go(D,"",A)}restoreHistory(u,y=!1){var D,A;if("computed"===this.canceledNavigationResolution){const N=this.currentPageId-u.targetPageId;"popstate"!==u.source&&"eager"!==this.urlUpdateStrategy&&this.currentUrlTree!==(null===(D=this.currentNavigation)||void 0===D?void 0:D.finalUrl)||0===N?this.currentUrlTree===(null===(A=this.currentNavigation)||void 0===A?void 0:A.finalUrl)&&0===N&&(this.resetState(u),this.browserUrlTree=u.currentUrlTree,this.resetUrlToCurrentUrlTree()):this.location.historyGo(N)}else"replace"===this.canceledNavigationResolution&&(y&&this.resetState(u),this.resetUrlToCurrentUrlTree())}resetState(u){this.routerState=u.currentRouterState,this.currentUrlTree=u.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,u.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}cancelNavigationTransition(u,y){const D=new Gt(u.id,this.serializeUrl(u.extractedUrl),y);this.triggerEvent(D),u.resolve(!1)}generateNgRouterState(u,y){return"computed"===this.canceledNavigationResolution?{navigationId:u,\u0275routerPageId:y}:{navigationId:u}}}return h.\u0275fac=function(u){g.$Z()},h.\u0275prov=g.Yz7({token:h,factory:h.\u0275fac}),h})();function sr(h){return"imperative"!==h}let ts=(()=>{class h{constructor(u,y,D,A,N){this.router=u,this.route=y,this.tabIndexAttribute=D,this.renderer=A,this.el=N,this.commands=null,this.onChanges=new fe.xQ,this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(u){if(null!=this.tabIndexAttribute)return;const y=this.renderer,D=this.el.nativeElement;null!==u?y.setAttribute(D,"tabindex",u):y.removeAttribute(D,"tabindex")}ngOnChanges(u){this.onChanges.next(this)}set routerLink(u){null!=u?(this.commands=Array.isArray(u)?u:[u],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(){if(null===this.urlTree)return!0;const u={skipLocationChange:gr(this.skipLocationChange),replaceUrl:gr(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,u),!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:gr(this.preserveFragment)})}}return h.\u0275fac=function(u){return new(u||h)(g.Y36(an),g.Y36(Ln),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(u,y){1&u&&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})(),Ti=(()=>{class h{constructor(u,y,D){this.router=u,this.route=y,this.locationStrategy=D,this.commands=null,this.href=null,this.onChanges=new fe.xQ,this.subscription=u.events.subscribe(A=>{A instanceof Ut&&this.updateTargetUrlAndHref()})}set routerLink(u){this.commands=null!=u?Array.isArray(u)?u:[u]:null}ngOnChanges(u){this.updateTargetUrlAndHref(),this.onChanges.next(this)}ngOnDestroy(){this.subscription.unsubscribe()}onClick(u,y,D,A,N){if(0!==u||y||D||A||N||"string"==typeof this.target&&"_self"!=this.target||null===this.urlTree)return!0;const W={skipLocationChange:gr(this.skipLocationChange),replaceUrl:gr(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,W),!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:gr(this.preserveFragment)})}}return h.\u0275fac=function(u){return new(u||h)(g.Y36(an),g.Y36(Ln),g.Y36(Fe.S$))},h.\u0275dir=g.lG2({type:h,selectors:[["a","routerLink",""],["area","routerLink",""]],hostVars:2,hostBindings:function(u,y){1&u&&g.NdJ("click",function(A){return y.onClick(A.button,A.ctrlKey,A.shiftKey,A.altKey,A.metaKey)}),2&u&&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 gr(h){return""===h||!!h}let qs=(()=>{class h{constructor(u,y,D,A,N,W){this.router=u,this.element=y,this.renderer=D,this.cdr=A,this.link=N,this.linkWithHref=W,this.classes=[],this.isActive=!1,this.routerLinkActiveOptions={exact:!1},this.isActiveChange=new g.vpe,this.routerEventsSubscription=u.events.subscribe(me=>{me instanceof Ut&&this.update()})}ngAfterContentInit(){(0,B.of)(this.links.changes,this.linksWithHrefs.changes,(0,B.of)(null)).pipe((0,ue.J)()).subscribe(u=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){var u;null===(u=this.linkInputChangesSubscription)||void 0===u||u.unsubscribe();const y=[...this.links.toArray(),...this.linksWithHrefs.toArray(),this.link,this.linkWithHref].filter(D=>!!D).map(D=>D.onChanges);this.linkInputChangesSubscription=(0,ie.D)(y).pipe((0,ue.J)()).subscribe(D=>{this.isActive!==this.isLinkActive(this.router)(D)&&this.update()})}set routerLinkActive(u){const y=Array.isArray(u)?u:u.split(" ");this.classes=y.filter(D=>!!D)}ngOnChanges(u){this.update()}ngOnDestroy(){var u;this.routerEventsSubscription.unsubscribe(),null===(u=this.linkInputChangesSubscription)||void 0===u||u.unsubscribe()}update(){!this.links||!this.linksWithHrefs||!this.router.navigated||Promise.resolve().then(()=>{const u=this.hasActiveLinks();this.isActive!==u&&(this.isActive=u,this.cdr.markForCheck(),this.classes.forEach(y=>{u?this.renderer.addClass(this.element.nativeElement,y):this.renderer.removeClass(this.element.nativeElement,y)}),this.isActiveChange.emit(u))})}isLinkActive(u){const y=function za(h){return!!h.paths}(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return D=>!!D.urlTree&&u.isActive(D.urlTree,y)}hasActiveLinks(){const u=this.isLinkActive(this.router);return this.link&&u(this.link)||this.linkWithHref&&u(this.linkWithHref)||this.links.some(u)||this.linksWithHrefs.some(u)}}return h.\u0275fac=function(u){return new(u||h)(g.Y36(an),g.Y36(g.SBq),g.Y36(g.Qsj),g.Y36(g.sBO),g.Y36(ts,8),g.Y36(Ti,8))},h.\u0275dir=g.lG2({type:h,selectors:[["","routerLinkActive",""]],contentQueries:function(u,y,D){if(1&u&&(g.Suo(D,ts,5),g.Suo(D,Ti,5)),2&u){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 qo{}class Si{preload(c,u){return(0,B.of)(null)}}let Zo=(()=>{class h{constructor(u,y,D,A){this.router=u,this.injector=D,this.preloadingStrategy=A,this.loader=new Je(D,y,me=>u.triggerEvent(new Vt(me)),me=>u.triggerEvent(new lr(me)))}setUpPreloading(){this.subscription=this.router.events.pipe((0,be.h)(u=>u instanceof Ut),(0,bn.b)(()=>this.preload())).subscribe(()=>{})}preload(){const u=this.injector.get(g.h0i);return this.processRoutes(u,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(u,y){const D=[];for(const A of y)if(A.loadChildren&&!A.canLoad&&A._loadedConfig){const N=A._loadedConfig;D.push(this.processRoutes(N.module,N.routes))}else A.loadChildren&&!A.canLoad?D.push(this.preloadConfig(u,A)):A.children&&D.push(this.processRoutes(u,A.children));return(0,ie.D)(D).pipe((0,ue.J)(),(0,Pt.U)(A=>{}))}preloadConfig(u,y){return this.preloadingStrategy.preload(y,()=>(y._loadedConfig?(0,B.of)(y._loadedConfig):this.loader.load(u.injector,y)).pipe((0,$t.zg)(A=>(y._loadedConfig=A,this.processRoutes(A.module,A.routes)))))}}return h.\u0275fac=function(u){return new(u||h)(g.LFG(an),g.LFG(g.Sil),g.LFG(g.zs3),g.LFG(qo))},h.\u0275prov=g.Yz7({token:h,factory:h.\u0275fac}),h})(),fo=(()=>{class h{constructor(u,y,D={}){this.router=u,this.viewportScroller=y,this.options=D,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},D.scrollPositionRestoration=D.scrollPositionRestoration||"disabled",D.anchorScrolling=D.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(u=>{u instanceof nn?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=u.navigationTrigger,this.restoredId=u.restoredState?u.restoredState.navigationId:0):u instanceof Ut&&(this.lastId=u.id,this.scheduleScrollEvent(u,this.router.parseUrl(u.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.router.events.subscribe(u=>{u instanceof Ee&&(u.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(u.position):u.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(u.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(u,y){this.router.triggerEvent(new Ee(u,"popstate"===this.lastSource?this.store[this.restoredId]:null,y))}ngOnDestroy(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}return h.\u0275fac=function(u){g.$Z()},h.\u0275prov=g.Yz7({token:h,factory:h.\u0275fac}),h})();const Zs=new g.OlP("ROUTER_CONFIGURATION"),di=new g.OlP("ROUTER_FORROOT_GUARD"),Jo=[Fe.Ye,{provide:Z,useClass:R},{provide:an,useFactory:function Xs(h,c,u,y,D,A,N={},W,me){const Qe=new an(null,h,c,u,y,D,Ue(A));return W&&(Qe.urlHandlingStrategy=W),me&&(Qe.routeReuseStrategy=me),function go(h,c){h.errorHandler&&(c.errorHandler=h.errorHandler),h.malformedUriErrorHandler&&(c.malformedUriErrorHandler=h.malformedUriErrorHandler),h.onSameUrlNavigation&&(c.onSameUrlNavigation=h.onSameUrlNavigation),h.paramsInheritanceStrategy&&(c.paramsInheritanceStrategy=h.paramsInheritanceStrategy),h.relativeLinkResolution&&(c.relativeLinkResolution=h.relativeLinkResolution),h.urlUpdateStrategy&&(c.urlUpdateStrategy=h.urlUpdateStrategy),h.canceledNavigationResolution&&(c.canceledNavigationResolution=h.canceledNavigationResolution)}(N,Qe),N.enableTracing&&Qe.events.subscribe(Ft=>{var et,Bt;null===(et=console.group)||void 0===et||et.call(console,`Router Event: ${Ft.constructor.name}`),console.log(Ft.toString()),console.log(Ft),null===(Bt=console.groupEnd)||void 0===Bt||Bt.call(console)}),Qe},deps:[Z,ms,Fe.Ye,g.zs3,g.Sil,Xe,Zs,[class gn{},new g.FiY],[class wi{},new g.FiY]]},ms,{provide:Ln,useFactory:function Ai(h){return h.routerState.root},deps:[an]},Zo,Si,class ci{preload(c,u){return u().pipe((0,Cn.K)(()=>(0,B.of)(null)))}},{provide:Zs,useValue:{enableTracing:!1}}];function po(){return new g.PXZ("Router",an)}let Mi=(()=>{class h{constructor(u,y){}static forRoot(u,y){return{ngModule:h,providers:[Jo,ta(u),{provide:di,useFactory:Js,deps:[[an,new g.FiY,new g.tp0]]},{provide:Zs,useValue:y||{}},{provide:Fe.S$,useFactory:ea,deps:[Fe.lw,[new g.tBr(Fe.mr),new g.FiY],Zs]},{provide:fo,useFactory:Xo,deps:[an,Fe.EM,Zs]},{provide:qo,useExisting:y&&y.preloadingStrategy?y.preloadingStrategy:Si},{provide:g.PXZ,multi:!0,useFactory:po},[na,{provide:g.ip1,multi:!0,useFactory:ra,deps:[na]},{provide:ia,useFactory:sa,deps:[na]},{provide:g.tb,multi:!0,useExisting:ia}]]}}static forChild(u){return{ngModule:h,providers:[ta(u)]}}}return h.\u0275fac=function(u){return new(u||h)(g.LFG(di,8),g.LFG(an,8))},h.\u0275mod=g.oAB({type:h}),h.\u0275inj=g.cJS({}),h})();function Xo(h,c,u){return u.scrollOffset&&c.setOffset(u.scrollOffset),new fo(h,c,u)}function ea(h,c,u={}){return u.useHash?new Fe.Do(h,c):new Fe.b0(h,c)}function Js(h){return"guarded"}function ta(h){return[{provide:g.deG,multi:!0,useValue:h},{provide:Xe,multi:!0,useValue:h}]}let na=(()=>{class h{constructor(u){this.injector=u,this.initNavigation=!1,this.destroyed=!1,this.resultOfPreactivationDone=new fe.xQ}appInitializer(){return this.injector.get(Fe.V_,Promise.resolve(null)).then(()=>{if(this.destroyed)return Promise.resolve(!0);let y=null;const D=new Promise(W=>y=W),A=this.injector.get(an),N=this.injector.get(Zs);return"disabled"===N.initialNavigation?(A.setUpLocationChangeListener(),y(!0)):"enabled"===N.initialNavigation||"enabledBlocking"===N.initialNavigation?(A.hooks.afterPreactivation=()=>this.initNavigation?(0,B.of)(null):(this.initNavigation=!0,y(!0),this.resultOfPreactivationDone),A.initialNavigation()):y(!0),D})}bootstrapListener(u){const y=this.injector.get(Zs),D=this.injector.get(Zo),A=this.injector.get(fo),N=this.injector.get(an),W=this.injector.get(g.z2F);u===W.components[0]&&(("enabledNonBlocking"===y.initialNavigation||void 0===y.initialNavigation)&&N.initialNavigation(),D.setUpPreloading(),A.init(),N.resetRootComponentType(W.componentTypes[0]),this.resultOfPreactivationDone.next(null),this.resultOfPreactivationDone.complete())}ngOnDestroy(){this.destroyed=!0}}return h.\u0275fac=function(u){return new(u||h)(g.LFG(g.zs3))},h.\u0275prov=g.Yz7({token:h,factory:h.\u0275fac}),h})();function ra(h){return h.appInitializer.bind(h)}function sa(h){return h.bootstrapListener.bind(h)}const ia=new g.OlP("Router Initializer")},2290:(Ge,he,M)=>{M.d(he,{Rh:()=>cn,_W:()=>Ve});var g=M(9863),_=M(1777),J=M(8929),ie=M(9808),B=M(2313);const U=["toast-component",""];function Q(_e,we){if(1&_e){const X=g.EpF();g.TgZ(0,"button",5),g.NdJ("click",function(){return g.CHM(X),g.oxw().remove()}),g.TgZ(1,"span",6),g._uU(2,"\xd7"),g.qZA(),g.qZA()}}function q(_e,we){if(1&_e&&(g.ynx(0),g._uU(1),g.BQk()),2&_e){const X=g.oxw(2);g.xp6(1),g.hij("[",X.duplicatesCount+1,"]")}}function z(_e,we){if(1&_e&&(g.TgZ(0,"div"),g._uU(1),g.YNc(2,q,2,1,"ng-container",4),g.qZA()),2&_e){const X=g.oxw();g.Tol(X.options.titleClass),g.uIk("aria-label",X.title),g.xp6(1),g.hij(" ",X.title," "),g.xp6(1),g.Q6J("ngIf",X.duplicatesCount)}}function V(_e,we){if(1&_e&&g._UZ(0,"div",7),2&_e){const X=g.oxw();g.Tol(X.options.messageClass),g.Q6J("innerHTML",X.message,g.oJD)}}function F(_e,we){if(1&_e&&(g.TgZ(0,"div",8),g._uU(1),g.qZA()),2&_e){const X=g.oxw();g.Tol(X.options.messageClass),g.uIk("aria-label",X.message),g.xp6(1),g.hij(" ",X.message," ")}}function ae(_e,we){if(1&_e&&(g.TgZ(0,"div"),g._UZ(1,"div",9),g.qZA()),2&_e){const X=g.oxw();g.xp6(1),g.Udp("width",X.width+"%")}}function fe(_e,we){if(1&_e){const X=g.EpF();g.TgZ(0,"button",5),g.NdJ("click",function(){return g.CHM(X),g.oxw().remove()}),g.TgZ(1,"span",6),g._uU(2,"\xd7"),g.qZA(),g.qZA()}}function Te(_e,we){if(1&_e&&(g.ynx(0),g._uU(1),g.BQk()),2&_e){const X=g.oxw(2);g.xp6(1),g.hij("[",X.duplicatesCount+1,"]")}}function te(_e,we){if(1&_e&&(g.TgZ(0,"div"),g._uU(1),g.YNc(2,Te,2,1,"ng-container",4),g.qZA()),2&_e){const X=g.oxw();g.Tol(X.options.titleClass),g.uIk("aria-label",X.title),g.xp6(1),g.hij(" ",X.title," "),g.xp6(1),g.Q6J("ngIf",X.duplicatesCount)}}function ce(_e,we){if(1&_e&&g._UZ(0,"div",7),2&_e){const X=g.oxw();g.Tol(X.options.messageClass),g.Q6J("innerHTML",X.message,g.oJD)}}function Ce(_e,we){if(1&_e&&(g.TgZ(0,"div",8),g._uU(1),g.qZA()),2&_e){const X=g.oxw();g.Tol(X.options.messageClass),g.uIk("aria-label",X.message),g.xp6(1),g.hij(" ",X.message," ")}}function be(_e,we){if(1&_e&&(g.TgZ(0,"div"),g._UZ(1,"div",9),g.qZA()),2&_e){const X=g.oxw();g.xp6(1),g.Udp("width",X.width+"%")}}class oe{constructor(we,X){this.component=we,this.injector=X}attach(we,X){return this._attachedHost=we,we.attach(this,X)}detach(){const we=this._attachedHost;if(we)return this._attachedHost=void 0,we.detach()}get isAttached(){return null!=this._attachedHost}setAttachedHost(we){this._attachedHost=we}}class Ke{constructor(we,X,ue,Fe,je,nn){this.toastId=we,this.config=X,this.message=ue,this.title=Fe,this.toastType=je,this.toastRef=nn,this._onTap=new J.xQ,this._onAction=new J.xQ,this.toastRef.afterClosed().subscribe(()=>{this._onAction.complete(),this._onTap.complete()})}triggerTap(){this._onTap.next(),this.config.tapToDismiss&&this._onTap.complete()}onTap(){return this._onTap.asObservable()}triggerAction(we){this._onAction.next(we)}onAction(){return this._onAction.asObservable()}}const yt={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",payload:null},rt=new g.OlP("ToastConfig");class at{constructor(we){this._overlayRef=we,this.duplicatesCount=0,this._afterClosed=new J.xQ,this._activate=new J.xQ,this._manualClose=new J.xQ,this._resetTimeout=new J.xQ,this._countDuplicate=new J.xQ}manualClose(){this._manualClose.next(),this._manualClose.complete()}manualClosed(){return this._manualClose.asObservable()}timeoutReset(){return this._resetTimeout.asObservable()}countDuplicate(){return this._countDuplicate.asObservable()}close(){this._overlayRef.detach(),this._afterClosed.next(),this._manualClose.next(),this._afterClosed.complete(),this._manualClose.complete(),this._activate.complete(),this._resetTimeout.complete(),this._countDuplicate.complete()}afterClosed(){return this._afterClosed.asObservable()}isInactive(){return this._activate.isStopped}activate(){this._activate.next(),this._activate.complete()}afterActivate(){return this._activate.asObservable()}onDuplicate(we,X){we&&this._resetTimeout.next(),X&&this._countDuplicate.next(++this.duplicatesCount)}}class ht{constructor(we,X){this._toastPackage=we,this._parentInjector=X}get(we,X,ue){return we===Ke?this._toastPackage:this._parentInjector.get(we,X,ue)}}class St extends class pe{attach(we,X){return this._attachedPortal=we,this.attachComponentPortal(we,X)}detach(){this._attachedPortal&&this._attachedPortal.setAttachedHost(),this._attachedPortal=void 0,this._disposeFn&&(this._disposeFn(),this._disposeFn=void 0)}setDisposeFn(we){this._disposeFn=we}}{constructor(we,X,ue){super(),this._hostDomElement=we,this._componentFactoryResolver=X,this._appRef=ue}attachComponentPortal(we,X){const ue=this._componentFactoryResolver.resolveComponentFactory(we.component);let Fe;return Fe=ue.create(we.injector),this._appRef.attachView(Fe.hostView),this.setDisposeFn(()=>{this._appRef.detachView(Fe.hostView),Fe.destroy()}),X?this._hostDomElement.insertBefore(this._getComponentRootNode(Fe),this._hostDomElement.firstChild):this._hostDomElement.appendChild(this._getComponentRootNode(Fe)),Fe}_getComponentRootNode(we){return we.hostView.rootNodes[0]}}class Mt{constructor(we){this._portalHost=we}attach(we,X=!0){return this._portalHost.attach(we,X)}detach(){return this._portalHost.detach()}}let ft=(()=>{class _e{constructor(X){this._document=X}ngOnDestroy(){this._containerElement&&this._containerElement.parentNode&&this._containerElement.parentNode.removeChild(this._containerElement)}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const X=this._document.createElement("div");X.classList.add("overlay-container"),X.setAttribute("aria-live","polite"),this._document.body.appendChild(X),this._containerElement=X}}return _e.\u0275fac=function(X){return new(X||_e)(g.LFG(ie.K0))},_e.\u0275prov=g.Yz7({token:_e,factory:_e.\u0275fac,providedIn:"root"}),_e})(),lt=(()=>{class _e{constructor(X,ue,Fe,je){this._overlayContainer=X,this._componentFactoryResolver=ue,this._appRef=Fe,this._document=je,this._paneElements=new Map}create(X,ue){return this._createOverlayRef(this.getPaneElement(X,ue))}getPaneElement(X="",ue){return this._paneElements.get(ue)||this._paneElements.set(ue,{}),this._paneElements.get(ue)[X]||(this._paneElements.get(ue)[X]=this._createPaneElement(X,ue)),this._paneElements.get(ue)[X]}_createPaneElement(X,ue){const Fe=this._document.createElement("div");return Fe.id="toast-container",Fe.classList.add(X),Fe.classList.add("toast-container"),ue?ue.getContainerElement().appendChild(Fe):this._overlayContainer.getContainerElement().appendChild(Fe),Fe}_createPortalHost(X){return new St(X,this._componentFactoryResolver,this._appRef)}_createOverlayRef(X){return new Mt(this._createPortalHost(X))}}return _e.\u0275fac=function(X){return new(X||_e)(g.LFG(ft),g.LFG(g._Vd),g.LFG(g.z2F),g.LFG(ie.K0))},_e.\u0275prov=g.Yz7({token:_e,factory:_e.\u0275fac,providedIn:"root"}),_e})(),Ve=(()=>{class _e{constructor(X,ue,Fe,je,nn){this.overlay=ue,this._injector=Fe,this.sanitizer=je,this.ngZone=nn,this.currentlyActive=0,this.toasts=[],this.index=0,this.toastrConfig=Object.assign(Object.assign({},X.default),X.config),X.config.iconClasses&&(this.toastrConfig.iconClasses=Object.assign(Object.assign({},X.default.iconClasses),X.config.iconClasses))}show(X,ue,Fe={},je=""){return this._preBuildNotification(je,X,ue,this.applyConfig(Fe))}success(X,ue,Fe={}){return this._preBuildNotification(this.toastrConfig.iconClasses.success||"",X,ue,this.applyConfig(Fe))}error(X,ue,Fe={}){return this._preBuildNotification(this.toastrConfig.iconClasses.error||"",X,ue,this.applyConfig(Fe))}info(X,ue,Fe={}){return this._preBuildNotification(this.toastrConfig.iconClasses.info||"",X,ue,this.applyConfig(Fe))}warning(X,ue,Fe={}){return this._preBuildNotification(this.toastrConfig.iconClasses.warning||"",X,ue,this.applyConfig(Fe))}clear(X){for(const ue of this.toasts)if(void 0!==X){if(ue.toastId===X)return void ue.toastRef.manualClose()}else ue.toastRef.manualClose()}remove(X){const ue=this._findToast(X);if(!ue||(ue.activeToast.toastRef.close(),this.toasts.splice(ue.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 Fe=this.toasts[this.currentlyActive].toastRef;Fe.isInactive()||(this.currentlyActive=this.currentlyActive+1,Fe.activate())}return!0}findDuplicate(X="",ue="",Fe,je){const{includeTitleDuplicates:nn}=this.toastrConfig;for(const Ut of this.toasts){const Gt=nn&&Ut.title===X;if((!nn||Gt)&&Ut.message===ue)return Ut.toastRef.onDuplicate(Fe,je),Ut}return null}applyConfig(X={}){return Object.assign(Object.assign({},this.toastrConfig),X)}_findToast(X){for(let ue=0;ue<this.toasts.length;ue++)if(this.toasts[ue].toastId===X)return{index:ue,activeToast:this.toasts[ue]};return null}_preBuildNotification(X,ue,Fe,je){return je.onActivateTick?this.ngZone.run(()=>this._buildNotification(X,ue,Fe,je)):this._buildNotification(X,ue,Fe,je)}_buildNotification(X,ue,Fe,je){if(!je.toastComponent)throw new Error("toastComponent required");const nn=this.findDuplicate(Fe,ue,this.toastrConfig.resetTimeoutOnDuplicate&&je.timeOut>0,this.toastrConfig.countDuplicates);if((this.toastrConfig.includeTitleDuplicates&&Fe||ue)&&this.toastrConfig.preventDuplicates&&null!==nn)return nn;this.previousToastMessage=ue;let Ut=!1;this.toastrConfig.maxOpened&&this.currentlyActive>=this.toastrConfig.maxOpened&&(Ut=!0,this.toastrConfig.autoDismiss&&this.clear(this.toasts[0].toastId));const Gt=this.overlay.create(je.positionClass,this.overlayContainer);this.index=this.index+1;let hn=ue;ue&&je.enableHtml&&(hn=this.sanitizer.sanitize(g.q3G.HTML,ue));const rn=new at(Gt),Vn=new Ke(this.index,je,hn,Fe,X,rn),Xn=new ht(Vn,this._injector),$n=new oe(je.toastComponent,Xn),xn=Gt.attach($n,this.toastrConfig.newestOnTop);rn.componentInstance=xn.instance;const Vt={toastId:this.index,title:Fe||"",message:ue||"",toastRef:rn,onShown:rn.afterActivate(),onHidden:rn.afterClosed(),onTap:Vn.onTap(),onAction:Vn.onAction(),portal:xn};return Ut||(this.currentlyActive=this.currentlyActive+1,setTimeout(()=>{Vt.toastRef.activate()})),this.toasts.push(Vt),Vt}}return _e.\u0275fac=function(X){return new(X||_e)(g.LFG(rt),g.LFG(lt),g.LFG(g.zs3),g.LFG(B.H7),g.LFG(g.R0b))},_e.\u0275prov=g.Yz7({token:_e,factory:_e.\u0275fac,providedIn:"root"}),_e})(),Hn=(()=>{class _e{constructor(X,ue,Fe){this.toastrService=X,this.toastPackage=ue,this.ngZone=Fe,this.width=-1,this.toastClasses="",this.state={value:"inactive",params:{easeTime:this.toastPackage.config.easeTime,easing:"ease-in"}},this.message=ue.message,this.title=ue.title,this.options=ue.config,this.originalTimeout=ue.config.timeOut,this.toastClasses=`${ue.toastType} ${ue.config.toastClass}`,this.sub=ue.toastRef.afterActivate().subscribe(()=>{this.activateToast()}),this.sub1=ue.toastRef.manualClosed().subscribe(()=>{this.remove()}),this.sub2=ue.toastRef.timeoutReset().subscribe(()=>{this.resetTimeout()}),this.sub3=ue.toastRef.countDuplicate().subscribe(je=>{this.duplicatesCount=je})}get displayStyle(){if("inactive"===this.state.value)return"none"}ngOnDestroy(){this.sub.unsubscribe(),this.sub1.unsubscribe(),this.sub2.unsubscribe(),this.sub3.unsubscribe(),clearInterval(this.intervalId),clearTimeout(this.timeout)}activateToast(){this.state=Object.assign(Object.assign({},this.state),{value:"active"}),!0!==this.options.disableTimeOut&&"timeOut"!==this.options.disableTimeOut&&this.options.timeOut&&(this.outsideTimeout(()=>this.remove(),this.options.timeOut),this.hideTime=(new Date).getTime()+this.options.timeOut,this.options.progressBar&&this.outsideInterval(()=>this.updateProgress(),10))}updateProgress(){if(0===this.width||100===this.width||!this.options.timeOut)return;const X=(new Date).getTime();this.width=(this.hideTime-X)/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(X,ue){this.ngZone?this.ngZone.runOutsideAngular(()=>this.timeout=setTimeout(()=>this.runInsideAngular(X),ue)):this.timeout=setTimeout(()=>X(),ue)}outsideInterval(X,ue){this.ngZone?this.ngZone.runOutsideAngular(()=>this.intervalId=setInterval(()=>this.runInsideAngular(X),ue)):this.intervalId=setInterval(()=>X(),ue)}runInsideAngular(X){this.ngZone?this.ngZone.run(()=>X()):X()}}return _e.\u0275fac=function(X){return new(X||_e)(g.Y36(Ve),g.Y36(Ke),g.Y36(g.R0b))},_e.\u0275cmp=g.Xpm({type:_e,selectors:[["","toast-component",""]],hostVars:5,hostBindings:function(X,ue){1&X&&g.NdJ("click",function(){return ue.tapToast()})("mouseenter",function(){return ue.stickAround()})("mouseleave",function(){return ue.delayedHideToast()}),2&X&&(g.d8E("@flyInOut",ue.state),g.Tol(ue.toastClasses),g.Udp("display",ue.displayStyle))},attrs:U,decls:5,vars:5,consts:[["type","button","class","toast-close-button","aria-label","Close",3,"click",4,"ngIf"],[3,"class",4,"ngIf"],["role","alert",3,"class","innerHTML",4,"ngIf"],["role","alert",3,"class",4,"ngIf"],[4,"ngIf"],["type","button","aria-label","Close",1,"toast-close-button",3,"click"],["aria-hidden","true"],["role","alert",3,"innerHTML"],["role","alert"],[1,"toast-progress"]],template:function(X,ue){1&X&&(g.YNc(0,Q,3,0,"button",0),g.YNc(1,z,3,5,"div",1),g.YNc(2,V,1,3,"div",2),g.YNc(3,F,2,4,"div",3),g.YNc(4,ae,2,2,"div",4)),2&X&&(g.Q6J("ngIf",ue.options.closeButton),g.xp6(1),g.Q6J("ngIf",ue.title),g.xp6(1),g.Q6J("ngIf",ue.message&&ue.options.enableHtml),g.xp6(1),g.Q6J("ngIf",ue.message&&!ue.options.enableHtml),g.xp6(1),g.Q6J("ngIf",ue.options.progressBar))},directives:[ie.O5],encapsulation:2,data:{animation:[(0,_.X$)("flyInOut",[(0,_.SB)("inactive",(0,_.oB)({opacity:0})),(0,_.SB)("active",(0,_.oB)({opacity:1})),(0,_.SB)("removed",(0,_.oB)({opacity:0})),(0,_.eR)("inactive => active",(0,_.jt)("{{ easeTime }}ms {{ easing }}")),(0,_.eR)("active => removed",(0,_.jt)("{{ easeTime }}ms {{ easing }}"))])]}}),_e})();const Pt=Object.assign(Object.assign({},yt),{toastComponent:Hn});let cn=(()=>{class _e{static forRoot(X={}){return{ngModule:_e,providers:[{provide:rt,useValue:{default:Pt,config:X}}]}}}return _e.\u0275fac=function(X){return new(X||_e)},_e.\u0275mod=g.oAB({type:_e}),_e.\u0275inj=g.cJS({imports:[[ie.ez]]}),_e})(),Cn=(()=>{class _e{constructor(X,ue,Fe){this.toastrService=X,this.toastPackage=ue,this.appRef=Fe,this.width=-1,this.toastClasses="",this.state="inactive",this.message=ue.message,this.title=ue.title,this.options=ue.config,this.originalTimeout=ue.config.timeOut,this.toastClasses=`${ue.toastType} ${ue.config.toastClass}`,this.sub=ue.toastRef.afterActivate().subscribe(()=>{this.activateToast()}),this.sub1=ue.toastRef.manualClosed().subscribe(()=>{this.remove()}),this.sub2=ue.toastRef.timeoutReset().subscribe(()=>{this.resetTimeout()}),this.sub3=ue.toastRef.countDuplicate().subscribe(je=>{this.duplicatesCount=je})}get displayStyle(){if("inactive"===this.state)return"none"}ngOnDestroy(){this.sub.unsubscribe(),this.sub1.unsubscribe(),this.sub2.unsubscribe(),this.sub3.unsubscribe(),clearInterval(this.intervalId),clearTimeout(this.timeout)}activateToast(){this.state="active",!(!0===this.options.disableTimeOut||"timeOut"===this.options.disableTimeOut)&&this.options.timeOut&&(this.timeout=setTimeout(()=>{this.remove()},this.options.timeOut),this.hideTime=(new Date).getTime()+this.options.timeOut,this.options.progressBar&&(this.intervalId=setInterval(()=>this.updateProgress(),10))),this.options.onActivateTick&&this.appRef.tick()}updateProgress(){if(0===this.width||100===this.width||!this.options.timeOut)return;const X=(new Date).getTime();this.width=(this.hideTime-X)/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 _e.\u0275fac=function(X){return new(X||_e)(g.Y36(Ve),g.Y36(Ke),g.Y36(g.z2F))},_e.\u0275cmp=g.Xpm({type:_e,selectors:[["","toast-component",""]],hostVars:4,hostBindings:function(X,ue){1&X&&g.NdJ("click",function(){return ue.tapToast()})("mouseenter",function(){return ue.stickAround()})("mouseleave",function(){return ue.delayedHideToast()}),2&X&&(g.Tol(ue.toastClasses),g.Udp("display",ue.displayStyle))},attrs:U,decls:5,vars:5,consts:[["type","button","class","toast-close-button","aria-label","Close",3,"click",4,"ngIf"],[3,"class",4,"ngIf"],["role","alert",3,"class","innerHTML",4,"ngIf"],["role","alert",3,"class",4,"ngIf"],[4,"ngIf"],["type","button","aria-label","Close",1,"toast-close-button",3,"click"],["aria-hidden","true"],["role","alert",3,"innerHTML"],["role","alert"],[1,"toast-progress"]],template:function(X,ue){1&X&&(g.YNc(0,fe,3,0,"button",0),g.YNc(1,te,3,5,"div",1),g.YNc(2,ce,1,3,"div",2),g.YNc(3,Ce,2,4,"div",3),g.YNc(4,be,2,2,"div",4)),2&X&&(g.Q6J("ngIf",ue.options.closeButton),g.xp6(1),g.Q6J("ngIf",ue.title),g.xp6(1),g.Q6J("ngIf",ue.message&&ue.options.enableHtml),g.xp6(1),g.Q6J("ngIf",ue.message&&!ue.options.enableHtml),g.xp6(1),g.Q6J("ngIf",ue.options.progressBar))},directives:[ie.O5],encapsulation:2}),_e})();Object.assign(Object.assign({},yt),{toastComponent:Cn})}},Ge=>{Ge(Ge.s=2908)}]);
|
|
1
|
+
"use strict";(self.webpackChunkzoho=self.webpackChunkzoho||[]).push([[179],{405:(Ge,he,M)=>{M.d(he,{O:()=>te});var g=M(520),_=M(591),J=M(2916),ie=M(353);const U=(()=>{function ce(){return Error.call(this),this.message="Timeout has occurred",this.name="TimeoutError",this}return ce.prototype=Object.create(Error.prototype),ce})();var Q=M(2697),q=M(1177);class V{constructor(Ce,be,Ne,Ae){this.waitFor=Ce,this.absoluteTimeout=be,this.withObservable=Ne,this.scheduler=Ae}call(Ce,be){return be.subscribe(new F(Ce,this.absoluteTimeout,this.waitFor,this.withObservable,this.scheduler))}}class F extends q.Ds{constructor(Ce,be,Ne,Ae,oe){super(Ce),this.absoluteTimeout=be,this.waitFor=Ne,this.withObservable=Ae,this.scheduler=oe,this.scheduleTimeout()}static dispatchTimeout(Ce){const{withObservable:be}=Ce;Ce._unsubscribeAndRecycle(),Ce.add((0,q.ft)(be,new q.IY(Ce)))}scheduleTimeout(){const{action:Ce}=this;Ce?this.action=Ce.schedule(this,this.waitFor):this.add(this.action=this.scheduler.schedule(F.dispatchTimeout,this.waitFor,this))}_next(Ce){this.absoluteTimeout||this.scheduleTimeout(),super._next(Ce)}_unsubscribe(){this.action=void 0,this.scheduler=null,this.withObservable=null}}var ae=M(1737);var Te=M(9863);let te=(()=>{class ce{constructor(be){this.http=be,this.currentRequest=new _.X(0),this.currentRequest.subscribe(Ne=>this.updateSpinner(Ne))}post(be,Ne,Ae=1e5){return new J.y(oe=>{var pe=JSON.parse(window.localStorage.getItem("user"));let Ke=new g.WM({"Content-Type":"application/json","Cache-Control":"no-cache"});null!=pe&&(Ke=new g.WM({"Content-Type":"application/json","Cache-Control":"no-cache",Authorization:"Bearer "+pe.access_token}));let yt={headers:Ke};this.addRequest(),this.http.post(be,Ne,yt).pipe(function fe(ce,Ce=ie.P){return function z(ce,Ce,be=ie.P){return Ne=>{let Ae=(0,Q.J)(ce),oe=Ae?+ce-be.now():Math.abs(ce);return Ne.lift(new V(oe,Ae,Ce,be))}}(ce,(0,ae._)(new U),Ce)}(Ae)).subscribe(rt=>{this.removeRequest(),oe.next(rt),oe.complete()},rt=>{this.removeRequest(),200==rt.status&&(oe.next(rt.error.text),oe.complete()),401==rt.status&&(oe.next(rt.error.text),oe.complete()),oe.error(rt)})})}postFormData(be,Ne){this.addRequest();var oe="Bearer "+JSON.parse(window.localStorage.getItem("user")).access_token;return new Promise((Ke,yt)=>{var rt=new XMLHttpRequest;rt.onreadystatechange=function(){4==rt.readyState&&(200==rt.status?Ke(JSON.parse(rt.response)):yt(rt.response))},rt.open("POST",be,!0),rt.setRequestHeader("Authorization",oe),rt.send(Ne)}).then(Ke=>this.handleSuccess(Ke)).catch(Ke=>this.handleError(Ke))}get(be){var Ne=JSON.parse(window.localStorage.getItem("user"));let Ae=new g.WM({"Content-Type":"application/json","Cache-Control":"no-cache"});return null!=Ne&&(Ae=new g.WM({"Content-Type":"application/json","Cache-Control":"no-cache",Authorization:"Bearer "+Ne.access_token})),this.http.get(be,{headers:Ae})}handleSuccess(be){return this.removeRequest(),void 0===be._body?be:(be._body=be._body||{},be.json())}handleError(be){if(this.removeRequest(),void 0===be._body)return Promise.reject(be.message||be);{let Ne=be.json();return Promise.reject(Ne.ExceptionMessage||Ne.Message||Ne)}}updateSpinner(be){}addRequest(){this.currentRequest.next(this.currentRequest.value+1)}removeRequest(){this.currentRequest.next(this.currentRequest.value-1)}notify(be,Ne){$.notify({message:be},{type:Ne,newest_on_top:!0})}}return ce.\u0275fac=function(be){return new(be||ce)(Te.LFG(g.eN))},ce.\u0275prov=Te.Yz7({token:ce,factory:ce.\u0275fac}),ce})()},8002:(Ge,he,M)=>{M.d(he,{e:()=>_});var g=M(9863);let _=(()=>{class J{constructor(){}GetNamePOS(){let B=JSON.parse(window.localStorage.getItem("user"));return this.ParseToken(B.access_token)}ParseToken(B){try{const Q=B.split(".")[0].replace("-","+").replace("_","/"),q=JSON.parse(window.atob(Q)),V=B.split(".")[1].replace("-","+").replace("_","/"),F=JSON.parse(window.atob(V));return F.header=q,F}catch(U){return!1}}}return J.\u0275fac=function(B){return new(B||J)},J.\u0275prov=g.Yz7({token:J,factory:J.\u0275fac,providedIn:"root"}),J})()},2908:(Ge,he,M)=>{var g=M(2313),_=M(9863),J=M(520),ie=M(405),B=M(8555);const U=[{path:"",loadChildren:()=>Promise.all([M.e(84),M.e(718)]).then(M.bind(M,7718)).then(O=>O.LoginModule)},{path:"pages",loadChildren:()=>Promise.all([M.e(84),M.e(921)]).then(M.bind(M,4921)).then(O=>O.PagesModule)},{path:"**",redirectTo:"",pathMatch:"full"}];let Q=(()=>{class O{}return O.\u0275fac=function(R){return new(R||O)},O.\u0275mod=_.oAB({type:O}),O.\u0275inj=_.cJS({imports:[[B.Bz.forRoot(U)],B.Bz]}),O})();var q=M(6831);function z(O,Z){function R(){return!R.pred.apply(R.thisArg,arguments)}return R.pred=O,R.thisArg=Z,R}var V=M(9249),F=M(2198),ae=M(2916),Te=M(6787),te=M(7739),ce=M(537),Ce=M(7545),be=M(1177);function Ne(O){return Z=>Z.lift(new Ae(O))}class Ae{constructor(Z){this.durationSelector=Z}call(Z,R){return R.subscribe(new oe(Z,this.durationSelector))}}class oe extends be.Ds{constructor(Z,R){super(Z),this.durationSelector=R,this.hasValue=!1}_next(Z){try{const R=this.durationSelector.call(this,Z);R&&this._tryNext(Z,R)}catch(R){this.destination.error(R)}}_complete(){this.emitValue(),this.destination.complete()}_tryNext(Z,R){let de=this.durationSubscription;this.value=Z,this.hasValue=!0,de&&(de.unsubscribe(),this.remove(de)),de=(0,be.ft)(R,new be.IY(this)),de&&!de.closed&&this.add(this.durationSubscription=de)}notifyNext(){this.emitValue()}notifyComplete(){this.emitValue()}emitValue(){if(this.hasValue){const Z=this.value,R=this.durationSubscription;R&&(this.durationSubscription=void 0,R.unsubscribe(),this.remove(R)),this.value=void 0,this.hasValue=!1,super._next(Z)}}}var pe=M(5778),Ke=M(2994),yt=M(9808);function rt(O,Z){1&O&&_.GkF(0)}function at(O,Z){if(1&O&&_._UZ(0,"sk-cube-grid",4),2&O){const R=_.oxw(2);_.Q6J("backgroundColor",R.backgroundColor)}}function ht(O,Z){if(1&O&&_._UZ(0,"sk-chasing-dots",4),2&O){const R=_.oxw(2);_.Q6J("backgroundColor",R.backgroundColor)}}function St(O,Z){if(1&O&&_._UZ(0,"sk-double-bounce",4),2&O){const R=_.oxw(2);_.Q6J("backgroundColor",R.backgroundColor)}}function Mt(O,Z){if(1&O&&_._UZ(0,"sk-rotating-plane",4),2&O){const R=_.oxw(2);_.Q6J("backgroundColor",R.backgroundColor)}}function ft(O,Z){if(1&O&&_._UZ(0,"sk-spinner-pulse",4),2&O){const R=_.oxw(2);_.Q6J("backgroundColor",R.backgroundColor)}}function lt(O,Z){if(1&O&&_._UZ(0,"sk-three-bounce",4),2&O){const R=_.oxw(2);_.Q6J("backgroundColor",R.backgroundColor)}}function Ve(O,Z){if(1&O&&_._UZ(0,"sk-wandering-cubes",4),2&O){const R=_.oxw(2);_.Q6J("backgroundColor",R.backgroundColor)}}function Hn(O,Z){if(1&O&&_._UZ(0,"sk-wave",4),2&O){const R=_.oxw(2);_.Q6J("backgroundColor",R.backgroundColor)}}const Pt=function(O){return{"background-color":O}};function cn(O,Z){if(1&O&&(_.TgZ(0,"div",1),_.YNc(1,rt,1,0,"ng-container",2),_.YNc(2,at,1,1,"sk-cube-grid",3),_.YNc(3,ht,1,1,"sk-chasing-dots",3),_.YNc(4,St,1,1,"sk-double-bounce",3),_.YNc(5,Mt,1,1,"sk-rotating-plane",3),_.YNc(6,ft,1,1,"sk-spinner-pulse",3),_.YNc(7,lt,1,1,"sk-three-bounce",3),_.YNc(8,Ve,1,1,"sk-wandering-cubes",3),_.YNc(9,Hn,1,1,"sk-wave",3),_.qZA()),2&O){const R=_.oxw();_.Udp("opacity",R.opacity),_.ekj("backdrop",R.backdrop),_.Q6J("ngStyle",_.VKq(14,Pt,R.backdrop?R.backdropBackgroundColor:"transparent")),_.xp6(1),_.Q6J("ngComponentOutlet",R.entryComponent),_.xp6(1),_.Q6J("ngIf",R.spinner===R.spinkit.skCubeGrid),_.xp6(1),_.Q6J("ngIf",R.spinner===R.spinkit.skChasingDots),_.xp6(1),_.Q6J("ngIf",R.spinner===R.spinkit.skDoubleBounce),_.xp6(1),_.Q6J("ngIf",R.spinner===R.spinkit.skRotatingPlane),_.xp6(1),_.Q6J("ngIf",R.spinner===R.spinkit.skSpinnerPulse),_.xp6(1),_.Q6J("ngIf",R.spinner===R.spinkit.skThreeBounce),_.xp6(1),_.Q6J("ngIf",R.spinner===R.spinkit.skWanderingCubes),_.xp6(1),_.Q6J("ngIf",R.spinner===R.spinkit.skWave)}}let dn=(()=>{class O{}return O.\u0275fac=function(R){return new(R||O)},O.\u0275dir=_.lG2({type:O,inputs:{backgroundColor:"backgroundColor"}}),O})(),Cn=(()=>{class O extends dn{}return O.\u0275fac=function(){let Z;return function(de){return(Z||(Z=_.n5z(O)))(de||O)}}(),O.\u0275cmp=_.Xpm({type:O,selectors:[["sk-chasing-dots"]],features:[_.qOj],decls:3,vars:6,consts:[[1,"sk-chasing-dots"],[1,"sk-child","sk-dot1"],[1,"sk-child","sk-dot2"]],template:function(R,de){1&R&&(_.TgZ(0,"div",0),_._UZ(1,"div",1),_._UZ(2,"div",2),_.qZA()),2&R&&(_.ekj("colored",!de.backgroundColor),_.xp6(1),_.Udp("background-color",de.backgroundColor),_.xp6(1),_.Udp("background-color",de.backgroundColor))},styles:[".sk-chasing-dots[_ngcontent-%COMP%]{top:50%;margin:auto;width:40px;height:40px;position:relative;text-align:center;animation:sk-chasingDotsRotate 2s infinite linear}.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 infinite ease-in-out}.sk-chasing-dots[_ngcontent-%COMP%] .sk-dot2[_ngcontent-%COMP%]{top:auto;bottom:0;animation-delay:-1s}@keyframes sk-chasingDotsRotate{to{transform:rotate(360deg)}}@keyframes sk-chasingDotsBounce{0%,to{transform:scale(0)}50%{transform:scale(1)}}"]}),O})(),bn=(()=>{class O extends dn{}return O.\u0275fac=function(){let Z;return function(de){return(Z||(Z=_.n5z(O)))(de||O)}}(),O.\u0275cmp=_.Xpm({type:O,selectors:[["sk-cube-grid"]],features:[_.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(R,de){1&R&&(_.TgZ(0,"div",0),_._UZ(1,"div",1),_._UZ(2,"div",2),_._UZ(3,"div",3),_._UZ(4,"div",4),_._UZ(5,"div",5),_._UZ(6,"div",6),_._UZ(7,"div",7),_._UZ(8,"div",8),_._UZ(9,"div",9),_.qZA()),2&R&&(_.ekj("colored",!de.backgroundColor),_.xp6(1),_.Udp("background-color",de.backgroundColor),_.xp6(1),_.Udp("background-color",de.backgroundColor),_.xp6(1),_.Udp("background-color",de.backgroundColor),_.xp6(1),_.Udp("background-color",de.backgroundColor),_.xp6(1),_.Udp("background-color",de.backgroundColor),_.xp6(1),_.Udp("background-color",de.backgroundColor),_.xp6(1),_.Udp("background-color",de.backgroundColor),_.xp6(1),_.Udp("background-color",de.backgroundColor),_.xp6(1),_.Udp("background-color",de.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 infinite ease-in-out}.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:scale(1)}35%{transform:scale(0)}}"]}),O})(),$t=(()=>{class O extends dn{}return O.\u0275fac=function(){let Z;return function(de){return(Z||(Z=_.n5z(O)))(de||O)}}(),O.\u0275cmp=_.Xpm({type:O,selectors:[["sk-double-bounce"]],features:[_.qOj],decls:3,vars:6,consts:[[1,"sk-double-bounce"],[1,"sk-child","sk-double-bounce1"],[1,"sk-child","sk-double-bounce2"]],template:function(R,de){1&R&&(_.TgZ(0,"div",0),_._UZ(1,"div",1),_._UZ(2,"div",2),_.qZA()),2&R&&(_.ekj("colored",!de.backgroundColor),_.xp6(1),_.Udp("background-color",de.backgroundColor),_.xp6(1),_.Udp("background-color",de.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 infinite ease-in-out}.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)}}"]}),O})(),_e=(()=>{class O extends dn{}return O.\u0275fac=function(){let Z;return function(de){return(Z||(Z=_.n5z(O)))(de||O)}}(),O.\u0275cmp=_.Xpm({type:O,selectors:[["sk-rotating-plane"]],features:[_.qOj],decls:1,vars:2,consts:[[1,"sk-rotating-plane","colored-parent"]],template:function(R,de){1&R&&_._UZ(0,"div",0),2&R&&_.Udp("background-color",de.backgroundColor)},styles:[".sk-rotating-plane[_ngcontent-%COMP%]{position:relative;top:50%;width:40px;height:40px;margin:auto;animation:sk-rotatePlane 1.2s infinite ease-in-out}@keyframes sk-rotatePlane{0%{transform:perspective(120px) rotateX(0) rotateY(0)}50%{transform:perspective(120px) rotateX(-180.1deg) rotateY(0)}to{transform:perspective(120px) rotateX(-180deg) rotateY(-179.9deg)}}"]}),O})(),we=(()=>{class O extends dn{}return O.\u0275fac=function(){let Z;return function(de){return(Z||(Z=_.n5z(O)))(de||O)}}(),O.\u0275cmp=_.Xpm({type:O,selectors:[["sk-spinner-pulse"]],features:[_.qOj],decls:1,vars:2,consts:[[1,"sk-spinner","sk-spinner-pulse","colored-parent"]],template:function(R,de){1&R&&_._UZ(0,"div",0),2&R&&_.Udp("background-color",de.backgroundColor)},styles:[".sk-spinner-pulse[_ngcontent-%COMP%]{position:relative;top:50%;width:40px;height:40px;margin:auto;border-radius:100%;animation:sk-pulseScaleOut 1s infinite ease-in-out}@keyframes sk-pulseScaleOut{0%{transform:scale(0)}to{transform:scale(1);opacity:0}}"]}),O})(),X=(()=>{class O extends dn{}return O.\u0275fac=function(){let Z;return function(de){return(Z||(Z=_.n5z(O)))(de||O)}}(),O.\u0275cmp=_.Xpm({type:O,selectors:[["sk-three-bounce"]],features:[_.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(R,de){1&R&&(_.TgZ(0,"div",0),_._UZ(1,"div",1),_._UZ(2,"div",2),_._UZ(3,"div",3),_.qZA()),2&R&&(_.ekj("colored",!de.backgroundColor),_.xp6(1),_.Udp("background-color",de.backgroundColor),_.xp6(1),_.Udp("background-color",de.backgroundColor),_.xp6(1),_.Udp("background-color",de.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)}}"]}),O})(),ue=(()=>{class O extends dn{}return O.\u0275fac=function(){let Z;return function(de){return(Z||(Z=_.n5z(O)))(de||O)}}(),O.\u0275cmp=_.Xpm({type:O,selectors:[["sk-wandering-cubes"]],features:[_.qOj],decls:3,vars:6,consts:[[1,"sk-wandering-cubes"],[1,"sk-cube","sk-cube1"],[1,"sk-cube","sk-cube2"]],template:function(R,de){1&R&&(_.TgZ(0,"div",0),_._UZ(1,"div",1),_._UZ(2,"div",2),_.qZA()),2&R&&(_.ekj("colored",!de.backgroundColor),_.xp6(1),_.Udp("background-color",de.backgroundColor),_.xp6(1),_.Udp("background-color",de.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(0)}25%{transform:translate(30px) rotate(-90deg) scale(.5)}50%{transform:translate(30px) translateY(30px) rotate(-179deg)}50.1%{transform:translate(30px) translateY(30px) rotate(-180deg)}75%{transform:translate(0) translateY(30px) rotate(-270deg) scale(.5)}to{transform:rotate(-360deg)}}"]}),O})(),Fe=(()=>{class O extends dn{}return O.\u0275fac=function(){let Z;return function(de){return(Z||(Z=_.n5z(O)))(de||O)}}(),O.\u0275cmp=_.Xpm({type:O,selectors:[["sk-wave"]],features:[_.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(R,de){1&R&&(_.TgZ(0,"div",0),_._UZ(1,"div",1),_._UZ(2,"div",2),_._UZ(3,"div",3),_._UZ(4,"div",4),_._UZ(5,"div",5),_.qZA()),2&R&&(_.ekj("colored",!de.backgroundColor),_.xp6(1),_.Udp("background-color",de.backgroundColor),_.xp6(1),_.Udp("background-color",de.backgroundColor),_.xp6(1),_.Udp("background-color",de.backgroundColor),_.xp6(1),_.Udp("background-color",de.backgroundColor),_.xp6(1),_.Udp("background-color",de.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 infinite ease-in-out}.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)}}"]}),O})();const je={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 Ut=(()=>{class O{constructor(){this._pendingRequests=0,this._pendingRequestsStatus$=new q.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(R){this._filteredMethods=R}set filteredHeaders(R){this._filteredHeaders=R}set forceByPass(R){this._forceByPass=R}shouldBypassUrl(R){return this._filteredUrlPatterns.some(de=>de.test(R))}shouldBypassMethod(R){return this._filteredMethods.some(de=>de.toUpperCase()===R.method.toUpperCase())}shouldBypassHeader(R){return this._filteredHeaders.some(de=>R.headers.has(de))}shouldBypass(R){return this._forceByPass||this.shouldBypassUrl(R.urlWithParams)||this.shouldBypassMethod(R)||this.shouldBypassHeader(R)}intercept(R,de){const it=this.shouldBypass(R);return it||(this._pendingRequests++,1===this._pendingRequests&&this._pendingRequestsStatus$.next(!0)),de.handle(R).pipe((0,ce.x)(()=>{it||(this._pendingRequests--,0===this._pendingRequests&&this._pendingRequestsStatus$.next(!1))}))}}return O.\u0275fac=function(R){return new(R||O)},O.\u0275prov=_.Yz7({token:O,factory:O.\u0275fac,providedIn:"root"}),O})();const Gt=[{provide:J.TP,useExisting:Ut,multi:!0}];let hn=(()=>{class O{constructor(R){this.pendingRequestsInterceptor=R,this._visibility$=new q.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 O.\u0275fac=function(R){return new(R||O)(_.LFG(Ut))},O.\u0275prov=_.Yz7({token:O,factory:O.\u0275fac,providedIn:"root"}),O})(),rn=(()=>{class O{constructor(R,de){this.pendingRequestsInterceptor=R,this.spinnerVisibility=de,this.spinkit=je,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=je.skWave}ngOnInit(){this.initIsvisibleObservable(),this.nullifySpinnerIfEntryComponentIsDefined(),this.initFilters()}initIsvisibleObservable(){const[R,de]=function fe(O,Z,R){return[(0,F.h)(Z,R)(new ae.y((0,V.s)(O))),(0,F.h)(z(Z,R))(new ae.y((0,V.s)(O)))]}(this.pendingRequestsInterceptor.pendingRequestsStatus$,it=>it);this.isVisible$=(0,Te.T)(this.pendingRequestsInterceptor.pendingRequestsStatus$.pipe((0,Ce.w)(()=>R.pipe(Ne(()=>(0,te.H)(this.debounceDelay))))),R.pipe((0,Ce.w)(()=>de.pipe(Ne(()=>this.getVisibilityTimer$())))),this.spinnerVisibility.visibility$).pipe((0,pe.x)(),(0,Ke.b)(it=>this.updateExpirationDelay(it)))}nullifySpinnerIfEntryComponentIsDefined(){this.entryComponent&&(this.spinner=null)}initFilters(){this.initFilteredUrlPatterns(),this.initFilteredMethods(),this.initFilteredHeaders()}initFilteredUrlPatterns(){this.filteredUrlPatterns.length&&this.filteredUrlPatterns.forEach(R=>this.pendingRequestsInterceptor.filteredUrlPatterns.push(new RegExp(R)))}initFilteredMethods(){this.pendingRequestsInterceptor.filteredMethods=this.filteredMethods}initFilteredHeaders(){this.pendingRequestsInterceptor.filteredHeaders=this.filteredHeaders}updateExpirationDelay(R){R&&(this.visibleUntil=Date.now()+this.minDuration)}getVisibilityTimer$(){return(0,te.H)(Math.max(this.extraDuration,this.visibleUntil-Date.now()))}}return O.\u0275fac=function(R){return new(R||O)(_.Y36(Ut),_.Y36(hn))},O.\u0275cmp=_.Xpm({type:O,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(R,de){1&R&&(_.YNc(0,cn,10,16,"div",0),_.ALo(1,"async")),2&R&&_.Q6J("ngIf",_.lcZ(1,1,de.isVisible$))},directives:[yt.O5,yt.PC,yt.$G,bn,Cn,$t,_e,we,X,ue,Fe],pipes:[yt.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}"]}),O})(),Vn=(()=>{class O{static forRoot(){return{ngModule:O,providers:[Gt]}}}return O.\u0275fac=function(R){return new(R||O)},O.\u0275mod=_.oAB({type:O}),O.\u0275inj=_.cJS({imports:[[yt.ez]]}),O})(),Xn=(()=>{class O{constructor(){this.title="zoho"}ngOnInit(){this.overrideDateToJsonFunction()}overrideDateToJsonFunction(){Date.prototype.toJSON=function(){return new Date(this.getTime()-60*this.getTimezoneOffset()*1e3).toISOString()}}}return O.\u0275fac=function(R){return new(R||O)},O.\u0275cmp=_.Xpm({type:O,selectors:[["app-root"]],decls:2,vars:0,template:function(R,de){1&R&&(_._UZ(0,"router-outlet"),_._UZ(1,"ng-http-loader"))},directives:[B.lC,rn],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 - .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}"]}),O})();var $n=M(6360),xn=M(2290);let Vt=(()=>{class O{constructor(R){this._router=R}intercept(R,de){let it=JSON.parse(window.localStorage.getItem("user")),wt=new Date;if(null!=it){let Zt=new Date(it.expiredAt);R=R.clone(wt<Zt?{setHeaders:{"Content-Type":"application/json",Authorization:`Bearer ${it.access_token}`}}:{setHeaders:{"Content-Type":"application/json"}})}else R=R.clone({setHeaders:{"Content-Type":"application/json"}});return de.handle(R)}}return O.\u0275fac=function(R){return new(R||O)(_.LFG(B.F0))},O.\u0275prov=_.Yz7({token:O,factory:O.\u0275fac}),O})();var lr=M(8002),nt=M(8514),De=M(1737),Y=M(3753),K=M(1086),Ee=M(1221),le=M(8929),ke=M(7876);const Oe=new ae.y(ke.Z);var ut=M(4850),bt=M(2536),sn=M(2986),It=M(353),Ct=M(2697),Ue=M(3489),Nn=M(9312);class vt{constructor(Z,R){this.delay=Z,this.scheduler=R}call(Z,R){return R.subscribe(new st(Z,this.delay,this.scheduler))}}class st extends Ue.L{constructor(Z,R,de){super(Z),this.delay=R,this.scheduler=de,this.queue=[],this.active=!1,this.errored=!1}static dispatch(Z){const R=Z.source,de=R.queue,it=Z.scheduler,wt=Z.destination;for(;de.length>0&&de[0].time-it.now()<=0;)de.shift().notification.observe(wt);if(de.length>0){const Zt=Math.max(0,de[0].time-it.now());this.schedule(Z,Zt)}else this.unsubscribe(),R.active=!1}_schedule(Z){this.active=!0,this.destination.add(Z.schedule(st.dispatch,this.delay,{source:this,destination:this.destination,scheduler:Z}))}scheduleNotification(Z){if(!0===this.errored)return;const R=this.scheduler,de=new ur(R.now()+this.delay,Z);this.queue.push(de),!1===this.active&&this._schedule(R)}_next(Z){this.scheduleNotification(Nn.P.createNext(Z))}_error(Z){this.errored=!0,this.queue=[],this.destination.error(Z),this.unsubscribe()}_complete(){this.scheduleNotification(Nn.P.createComplete()),this.unsubscribe()}}class ur{constructor(Z,R){this.time=Z,this.notification=R}}const wn="Service workers are disabled or not supported by this browser";class tr{constructor(Z){if(this.serviceWorker=Z,Z){const de=(0,Y.R)(Z,"controllerchange").pipe((0,ut.U)(()=>Z.controller)),it=(0,nt.P)(()=>(0,K.of)(Z.controller)),wt=(0,Ee.z)(it,de);this.worker=wt.pipe((0,F.h)(fn=>!!fn)),this.registration=this.worker.pipe((0,Ce.w)(()=>Z.getRegistration()));const dr=(0,Y.R)(Z,"message").pipe((0,ut.U)(fn=>fn.data)).pipe((0,F.h)(fn=>fn&&fn.type)).pipe(function qt(O){return O?(0,bt.O)(()=>new le.xQ,O):(0,bt.O)(new le.xQ)}());dr.connect(),this.events=dr}else this.worker=this.events=this.registration=function er(O){return(0,nt.P)(()=>(0,De._)(new Error(O)))}(wn)}postMessage(Z,R){return this.worker.pipe((0,sn.q)(1),(0,Ke.b)(de=>{de.postMessage(Object.assign({action:Z},R))})).toPromise().then(()=>{})}postMessageWithOperation(Z,R,de){const it=this.waitForOperationCompleted(de),wt=this.postMessage(Z,R);return Promise.all([wt,it]).then(([,Zt])=>Zt)}generateNonce(){return Math.round(1e7*Math.random())}eventsOfType(Z){let R;return R="string"==typeof Z?de=>de.type===Z:de=>Z.includes(de.type),this.events.pipe((0,F.h)(R))}nextEventOfType(Z){return this.eventsOfType(Z).pipe((0,sn.q)(1))}waitForOperationCompleted(Z){return this.eventsOfType("OPERATION_COMPLETED").pipe((0,F.h)(R=>R.nonce===Z),(0,sn.q)(1),(0,ut.U)(R=>{if(void 0!==R.result)return R.result;throw new Error(R.error)})).toPromise()}get isEnabled(){return!!this.serviceWorker}}let en=(()=>{class O{constructor(R){if(this.sw=R,this.subscriptionChanges=new le.xQ,!R.isEnabled)return this.messages=Oe,this.notificationClicks=Oe,void(this.subscription=Oe);this.messages=this.sw.eventsOfType("PUSH").pipe((0,ut.U)(it=>it.data)),this.notificationClicks=this.sw.eventsOfType("NOTIFICATION_CLICK").pipe((0,ut.U)(it=>it.data)),this.pushManager=this.sw.registration.pipe((0,ut.U)(it=>it.pushManager));const de=this.pushManager.pipe((0,Ce.w)(it=>it.getSubscription()));this.subscription=(0,Te.T)(de,this.subscriptionChanges)}get isEnabled(){return this.sw.isEnabled}requestSubscription(R){if(!this.sw.isEnabled)return Promise.reject(new Error(wn));const de={userVisibleOnly:!0};let it=this.decodeBase64(R.serverPublicKey.replace(/_/g,"/").replace(/-/g,"+")),wt=new Uint8Array(new ArrayBuffer(it.length));for(let Zt=0;Zt<it.length;Zt++)wt[Zt]=it.charCodeAt(Zt);return de.applicationServerKey=wt,this.pushManager.pipe((0,Ce.w)(Zt=>Zt.subscribe(de)),(0,sn.q)(1)).toPromise().then(Zt=>(this.subscriptionChanges.next(Zt),Zt))}unsubscribe(){return this.sw.isEnabled?this.subscription.pipe((0,sn.q)(1),(0,Ce.w)(de=>{if(null===de)throw new Error("Not subscribed to push notifications.");return de.unsubscribe().then(it=>{if(!it)throw new Error("Unsubscribe failed!");this.subscriptionChanges.next(null)})})).toPromise():Promise.reject(new Error(wn))}decodeBase64(R){return atob(R)}}return O.\u0275fac=function(R){return new(R||O)(_.LFG(tr))},O.\u0275prov=_.Yz7({token:O,factory:O.\u0275fac}),O})(),Sn=(()=>{class O{constructor(R){if(this.sw=R,!R.isEnabled)return this.versionUpdates=Oe,this.available=Oe,this.activated=Oe,void(this.unrecoverable=Oe);this.versionUpdates=this.sw.eventsOfType(["VERSION_DETECTED","VERSION_INSTALLATION_FAILED","VERSION_READY"]),this.available=this.versionUpdates.pipe((0,F.h)(de=>"VERSION_READY"===de.type),(0,ut.U)(de=>({type:"UPDATE_AVAILABLE",current:de.currentVersion,available:de.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(wn));const R=this.sw.generateNonce();return this.sw.postMessageWithOperation("CHECK_FOR_UPDATES",{nonce:R},R)}activateUpdate(){if(!this.sw.isEnabled)return Promise.reject(new Error(wn));const R=this.sw.generateNonce();return this.sw.postMessageWithOperation("ACTIVATE_UPDATE",{nonce:R},R)}}return O.\u0275fac=function(R){return new(R||O)(_.LFG(tr))},O.\u0275prov=_.Yz7({token:O,factory:O.\u0275fac}),O})();class zn{}const Gn=new _.OlP("NGSW_REGISTER_SCRIPT");function vr(O,Z,R,de){return()=>{if(!(0,yt.NF)(de)||!("serviceWorker"in navigator)||!1===R.enabled)return;let wt;if(navigator.serviceWorker.addEventListener("controllerchange",()=>{null!==navigator.serviceWorker.controller&&navigator.serviceWorker.controller.postMessage({action:"INITIALIZE"})}),"function"==typeof R.registrationStrategy)wt=R.registrationStrategy();else{const[Fn,...qn]=(R.registrationStrategy||"registerWhenStable:30000").split(":");switch(Fn){case"registerImmediately":wt=(0,K.of)(null);break;case"registerWithDelay":wt=cr(+qn[0]||0);break;case"registerWhenStable":wt=qn[0]?(0,Te.T)(se(O),cr(+qn[0])):se(O);break;default:throw new Error(`Unknown ServiceWorker registration strategy: ${R.registrationStrategy}`)}}O.get(_.R0b).runOutsideAngular(()=>wt.pipe((0,sn.q)(1)).subscribe(()=>navigator.serviceWorker.register(Z,{scope:R.scope}).catch(Fn=>console.error("Service worker registration failed with:",Fn))))}}function cr(O){return(0,K.of)(null).pipe(function Ot(O,Z=It.P){const de=(0,Ct.J)(O)?+O-Z.now():Math.abs(O);return it=>it.lift(new vt(de,Z))}(O))}function se(O){return O.get(_.z2F).isStable.pipe((0,F.h)(R=>R))}function L(O,Z){return new tr((0,yt.NF)(Z)&&!1!==O.enabled?navigator.serviceWorker:void 0)}let x=(()=>{class O{static register(R,de={}){return{ngModule:O,providers:[{provide:Gn,useValue:R},{provide:zn,useValue:de},{provide:tr,useFactory:L,deps:[zn,_.Lbi]},{provide:_.ip1,useFactory:vr,deps:[_.zs3,Gn,zn,_.Lbi],multi:!0}]}}}return O.\u0275fac=function(R){return new(R||O)},O.\u0275mod=_.oAB({type:O}),O.\u0275inj=_.cJS({providers:[en,Sn]}),O})();let Se=(()=>{class O{}return O.\u0275fac=function(R){return new(R||O)},O.\u0275mod=_.oAB({type:O,bootstrap:[Xn]}),O.\u0275inj=_.cJS({providers:[ie.O,lr.e,{provide:J.TP,useClass:Vt,multi:!0}],imports:[[g.b2,Q,$n.PW,xn.Rh.forRoot({positionClass:"toast-bottom-right",preventDuplicates:!0}),J.JF,Vn.forRoot(),x.register("ngsw-worker.js",{enabled:true})]]}),O})();(0,_.G48)(),g.q6().bootstrapModule(Se).catch(O=>console.error(O))},591:(Ge,he,M)=>{M.d(he,{X:()=>J});var g=M(8929),_=M(5279);class J extends g.xQ{constructor(B){super(),this._value=B}get value(){return this.getValue()}_subscribe(B){const U=super._subscribe(B);return U&&!U.closed&&B.next(this._value),U}getValue(){if(this.hasError)throw this.thrownError;if(this.closed)throw new _.N;return this._value}next(B){super.next(this._value=B)}}},9312:(Ge,he,M)=>{M.d(he,{P:()=>B});var g=M(8896),_=M(1086),J=M(1737);class B{constructor(Q,q,z){this.kind=Q,this.value=q,this.error=z,this.hasValue="N"===Q}observe(Q){switch(this.kind){case"N":return Q.next&&Q.next(this.value);case"E":return Q.error&&Q.error(this.error);case"C":return Q.complete&&Q.complete()}}do(Q,q,z){switch(this.kind){case"N":return Q&&Q(this.value);case"E":return q&&q(this.error);case"C":return z&&z()}}accept(Q,q,z){return Q&&"function"==typeof Q.next?this.observe(Q):this.do(Q,q,z)}toObservable(){switch(this.kind){case"N":return(0,_.of)(this.value);case"E":return(0,J._)(this.error);case"C":return(0,g.c)()}throw new Error("unexpected notification kind value")}static createNext(Q){return void 0!==Q?new B("N",Q):B.undefinedValueNotification}static createError(Q){return new B("E",void 0,Q)}static createComplete(){return B.completeNotification}}B.completeNotification=new B("C"),B.undefinedValueNotification=new B("N",void 0)},2916:(Ge,he,M)=>{M.d(he,{y:()=>F});var g=M(3489),J=M(7668),ie=M(3292),U=M(3821),Q=M(5379);var V=M(2830);let F=(()=>{class fe{constructor(te){this._isScalar=!1,te&&(this._subscribe=te)}lift(te){const ce=new fe;return ce.source=this,ce.operator=te,ce}subscribe(te,ce,Ce){const{operator:be}=this,Ne=function B(fe,Te,te){if(fe){if(fe instanceof g.L)return fe;if(fe[J.b])return fe[J.b]()}return fe||Te||te?new g.L(fe,Te,te):new g.L(ie.c)}(te,ce,Ce);if(Ne.add(be?be.call(Ne,this.source):this.source||V.v.useDeprecatedSynchronousErrorHandling&&!Ne.syncErrorThrowable?this._subscribe(Ne):this._trySubscribe(Ne)),V.v.useDeprecatedSynchronousErrorHandling&&Ne.syncErrorThrowable&&(Ne.syncErrorThrowable=!1,Ne.syncErrorThrown))throw Ne.syncErrorValue;return Ne}_trySubscribe(te){try{return this._subscribe(te)}catch(ce){V.v.useDeprecatedSynchronousErrorHandling&&(te.syncErrorThrown=!0,te.syncErrorValue=ce),function _(fe){for(;fe;){const{closed:Te,destination:te,isStopped:ce}=fe;if(Te||ce)return!1;fe=te&&te instanceof g.L?te:null}return!0}(te)?te.error(ce):console.warn(ce)}}forEach(te,ce){return new(ce=ae(ce))((Ce,be)=>{let Ne;Ne=this.subscribe(Ae=>{try{te(Ae)}catch(oe){be(oe),Ne&&Ne.unsubscribe()}},be,Ce)})}_subscribe(te){const{source:ce}=this;return ce&&ce.subscribe(te)}[U.L](){return this}pipe(...te){return 0===te.length?this:function z(fe){return 0===fe.length?Q.y:1===fe.length?fe[0]:function(te){return fe.reduce((ce,Ce)=>Ce(ce),te)}}(te)(this)}toPromise(te){return new(te=ae(te))((ce,Ce)=>{let be;this.subscribe(Ne=>be=Ne,Ne=>Ce(Ne),()=>ce(be))})}}return fe.create=Te=>new fe(Te),fe})();function ae(fe){if(fe||(fe=V.v.Promise||Promise),!fe)throw new Error("no Promise impl found");return fe}},3292:(Ge,he,M)=>{M.d(he,{c:()=>J});var g=M(2830),_=M(2782);const J={closed:!0,next(ie){},error(ie){if(g.v.useDeprecatedSynchronousErrorHandling)throw ie;(0,_.z)(ie)},complete(){}}},6831:(Ge,he,M)=>{M.d(he,{t:()=>Ce});var g=M(8929),_=M(6686),ie=M(2268);const Q=new class B extends ie.v{}(class J extends _.o{constructor(Ae,oe){super(Ae,oe),this.scheduler=Ae,this.work=oe}schedule(Ae,oe=0){return oe>0?super.schedule(Ae,oe):(this.delay=oe,this.state=Ae,this.scheduler.flush(this),this)}execute(Ae,oe){return oe>0||this.closed?super.execute(Ae,oe):this._execute(Ae,oe)}requestAsyncId(Ae,oe,pe=0){return null!==pe&&pe>0||null===pe&&this.delay>0?super.requestAsyncId(Ae,oe,pe):Ae.flush(this)}});var q=M(2654),z=M(3489),V=M(9312);class fe extends z.L{constructor(Ae,oe,pe=0){super(Ae),this.scheduler=oe,this.delay=pe}static dispatch(Ae){const{notification:oe,destination:pe}=Ae;oe.observe(pe),this.unsubscribe()}scheduleMessage(Ae){this.destination.add(this.scheduler.schedule(fe.dispatch,this.delay,new Te(Ae,this.destination)))}_next(Ae){this.scheduleMessage(V.P.createNext(Ae))}_error(Ae){this.scheduleMessage(V.P.createError(Ae)),this.unsubscribe()}_complete(){this.scheduleMessage(V.P.createComplete()),this.unsubscribe()}}class Te{constructor(Ae,oe){this.notification=Ae,this.destination=oe}}var te=M(5279),ce=M(5283);class Ce extends g.xQ{constructor(Ae=Number.POSITIVE_INFINITY,oe=Number.POSITIVE_INFINITY,pe){super(),this.scheduler=pe,this._events=[],this._infiniteTimeWindow=!1,this._bufferSize=Ae<1?1:Ae,this._windowTime=oe<1?1:oe,oe===Number.POSITIVE_INFINITY?(this._infiniteTimeWindow=!0,this.next=this.nextInfiniteTimeWindow):this.next=this.nextTimeWindow}nextInfiniteTimeWindow(Ae){if(!this.isStopped){const oe=this._events;oe.push(Ae),oe.length>this._bufferSize&&oe.shift()}super.next(Ae)}nextTimeWindow(Ae){this.isStopped||(this._events.push(new be(this._getNow(),Ae)),this._trimBufferThenGetEvents()),super.next(Ae)}_subscribe(Ae){const oe=this._infiniteTimeWindow,pe=oe?this._events:this._trimBufferThenGetEvents(),Ke=this.scheduler,yt=pe.length;let rt;if(this.closed)throw new te.N;if(this.isStopped||this.hasError?rt=q.w.EMPTY:(this.observers.push(Ae),rt=new ce.W(this,Ae)),Ke&&Ae.add(Ae=new fe(Ae,Ke)),oe)for(let at=0;at<yt&&!Ae.closed;at++)Ae.next(pe[at]);else for(let at=0;at<yt&&!Ae.closed;at++)Ae.next(pe[at].value);return this.hasError?Ae.error(this.thrownError):this.isStopped&&Ae.complete(),rt}_getNow(){return(this.scheduler||Q).now()}_trimBufferThenGetEvents(){const Ae=this._getNow(),oe=this._bufferSize,pe=this._windowTime,Ke=this._events,yt=Ke.length;let rt=0;for(;rt<yt&&!(Ae-Ke[rt].time<pe);)rt++;return yt>oe&&(rt=Math.max(rt,yt-oe)),rt>0&&Ke.splice(0,rt),Ke}}class be{constructor(Ae,oe){this.time=Ae,this.value=oe}}},8929:(Ge,he,M)=>{M.d(he,{Yc:()=>Q,xQ:()=>q});var g=M(2916),_=M(3489),J=M(2654),ie=M(5279),B=M(5283),U=M(7668);class Q extends _.L{constructor(F){super(F),this.destination=F}}let q=(()=>{class V extends g.y{constructor(){super(),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}[U.b](){return new Q(this)}lift(ae){const fe=new z(this,this);return fe.operator=ae,fe}next(ae){if(this.closed)throw new ie.N;if(!this.isStopped){const{observers:fe}=this,Te=fe.length,te=fe.slice();for(let ce=0;ce<Te;ce++)te[ce].next(ae)}}error(ae){if(this.closed)throw new ie.N;this.hasError=!0,this.thrownError=ae,this.isStopped=!0;const{observers:fe}=this,Te=fe.length,te=fe.slice();for(let ce=0;ce<Te;ce++)te[ce].error(ae);this.observers.length=0}complete(){if(this.closed)throw new ie.N;this.isStopped=!0;const{observers:ae}=this,fe=ae.length,Te=ae.slice();for(let te=0;te<fe;te++)Te[te].complete();this.observers.length=0}unsubscribe(){this.isStopped=!0,this.closed=!0,this.observers=null}_trySubscribe(ae){if(this.closed)throw new ie.N;return super._trySubscribe(ae)}_subscribe(ae){if(this.closed)throw new ie.N;return this.hasError?(ae.error(this.thrownError),J.w.EMPTY):this.isStopped?(ae.complete(),J.w.EMPTY):(this.observers.push(ae),new B.W(this,ae))}asObservable(){const ae=new g.y;return ae.source=this,ae}}return V.create=(F,ae)=>new z(F,ae),V})();class z extends q{constructor(F,ae){super(),this.destination=F,this.source=ae}next(F){const{destination:ae}=this;ae&&ae.next&&ae.next(F)}error(F){const{destination:ae}=this;ae&&ae.error&&this.destination.error(F)}complete(){const{destination:F}=this;F&&F.complete&&this.destination.complete()}_subscribe(F){const{source:ae}=this;return ae?this.source.subscribe(F):J.w.EMPTY}}},5283:(Ge,he,M)=>{M.d(he,{W:()=>_});var g=M(2654);class _ extends g.w{constructor(ie,B){super(),this.subject=ie,this.subscriber=B,this.closed=!1}unsubscribe(){if(this.closed)return;this.closed=!0;const ie=this.subject,B=ie.observers;if(this.subject=null,!B||0===B.length||ie.isStopped||ie.closed)return;const U=B.indexOf(this.subscriber);-1!==U&&B.splice(U,1)}}},3489:(Ge,he,M)=>{M.d(he,{L:()=>Q});var g=M(7043),_=M(3292),J=M(2654),ie=M(7668),B=M(2830),U=M(2782);class Q extends J.w{constructor(V,F,ae){switch(super(),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=_.c;break;case 1:if(!V){this.destination=_.c;break}if("object"==typeof V){V instanceof Q?(this.syncErrorThrowable=V.syncErrorThrowable,this.destination=V,V.add(this)):(this.syncErrorThrowable=!0,this.destination=new q(this,V));break}default:this.syncErrorThrowable=!0,this.destination=new q(this,V,F,ae)}}[ie.b](){return this}static create(V,F,ae){const fe=new Q(V,F,ae);return fe.syncErrorThrowable=!1,fe}next(V){this.isStopped||this._next(V)}error(V){this.isStopped||(this.isStopped=!0,this._error(V))}complete(){this.isStopped||(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe())}_next(V){this.destination.next(V)}_error(V){this.destination.error(V),this.unsubscribe()}_complete(){this.destination.complete(),this.unsubscribe()}_unsubscribeAndRecycle(){const{_parentOrParents:V}=this;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=V,this}}class q extends Q{constructor(V,F,ae,fe){super(),this._parentSubscriber=V;let Te,te=this;(0,g.m)(F)?Te=F:F&&(Te=F.next,ae=F.error,fe=F.complete,F!==_.c&&(te=Object.create(F),(0,g.m)(te.unsubscribe)&&this.add(te.unsubscribe.bind(te)),te.unsubscribe=this.unsubscribe.bind(this))),this._context=te,this._next=Te,this._error=ae,this._complete=fe}next(V){if(!this.isStopped&&this._next){const{_parentSubscriber:F}=this;B.v.useDeprecatedSynchronousErrorHandling&&F.syncErrorThrowable?this.__tryOrSetError(F,this._next,V)&&this.unsubscribe():this.__tryOrUnsub(this._next,V)}}error(V){if(!this.isStopped){const{_parentSubscriber:F}=this,{useDeprecatedSynchronousErrorHandling:ae}=B.v;if(this._error)ae&&F.syncErrorThrowable?(this.__tryOrSetError(F,this._error,V),this.unsubscribe()):(this.__tryOrUnsub(this._error,V),this.unsubscribe());else if(F.syncErrorThrowable)ae?(F.syncErrorValue=V,F.syncErrorThrown=!0):(0,U.z)(V),this.unsubscribe();else{if(this.unsubscribe(),ae)throw V;(0,U.z)(V)}}}complete(){if(!this.isStopped){const{_parentSubscriber:V}=this;if(this._complete){const F=()=>this._complete.call(this._context);B.v.useDeprecatedSynchronousErrorHandling&&V.syncErrorThrowable?(this.__tryOrSetError(V,F),this.unsubscribe()):(this.__tryOrUnsub(F),this.unsubscribe())}else this.unsubscribe()}}__tryOrUnsub(V,F){try{V.call(this._context,F)}catch(ae){if(this.unsubscribe(),B.v.useDeprecatedSynchronousErrorHandling)throw ae;(0,U.z)(ae)}}__tryOrSetError(V,F,ae){if(!B.v.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{F.call(this._context,ae)}catch(fe){return B.v.useDeprecatedSynchronousErrorHandling?(V.syncErrorValue=fe,V.syncErrorThrown=!0,!0):((0,U.z)(fe),!0)}return!1}_unsubscribe(){const{_parentSubscriber:V}=this;this._context=null,this._parentSubscriber=null,V.unsubscribe()}}},2654:(Ge,he,M)=>{M.d(he,{w:()=>U});var g=M(6688),_=M(7830),J=M(7043);const B=(()=>{function q(z){return Error.call(this),this.message=z?`${z.length} errors occurred during unsubscription:\n${z.map((V,F)=>`${F+1}) ${V.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=z,this}return q.prototype=Object.create(Error.prototype),q})();class U{constructor(z){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,z&&(this._ctorUnsubscribe=!0,this._unsubscribe=z)}unsubscribe(){let z;if(this.closed)return;let{_parentOrParents:V,_ctorUnsubscribe:F,_unsubscribe:ae,_subscriptions:fe}=this;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,V instanceof U)V.remove(this);else if(null!==V)for(let Te=0;Te<V.length;++Te)V[Te].remove(this);if((0,J.m)(ae)){F&&(this._unsubscribe=void 0);try{ae.call(this)}catch(Te){z=Te instanceof B?Q(Te.errors):[Te]}}if((0,g.k)(fe)){let Te=-1,te=fe.length;for(;++Te<te;){const ce=fe[Te];if((0,_.K)(ce))try{ce.unsubscribe()}catch(Ce){z=z||[],Ce instanceof B?z=z.concat(Q(Ce.errors)):z.push(Ce)}}}if(z)throw new B(z)}add(z){let V=z;if(!z)return U.EMPTY;switch(typeof z){case"function":V=new U(z);case"object":if(V===this||V.closed||"function"!=typeof V.unsubscribe)return V;if(this.closed)return V.unsubscribe(),V;if(!(V instanceof U)){const fe=V;V=new U,V._subscriptions=[fe]}break;default:throw new Error("unrecognized teardown "+z+" added to Subscription.")}let{_parentOrParents:F}=V;if(null===F)V._parentOrParents=this;else if(F instanceof U){if(F===this)return V;V._parentOrParents=[F,this]}else{if(-1!==F.indexOf(this))return V;F.push(this)}const ae=this._subscriptions;return null===ae?this._subscriptions=[V]:ae.push(V),V}remove(z){const V=this._subscriptions;if(V){const F=V.indexOf(z);-1!==F&&V.splice(F,1)}}}var q;function Q(q){return q.reduce((z,V)=>z.concat(V instanceof B?V.errors:V),[])}U.EMPTY=((q=new U).closed=!0,q)},2830:(Ge,he,M)=>{M.d(he,{v:()=>_});let g=!1;const _={Promise:void 0,set useDeprecatedSynchronousErrorHandling(J){if(J){const ie=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+ie.stack)}else g&&console.log("RxJS: Back to a better error behavior. Thank you. <3");g=J},get useDeprecatedSynchronousErrorHandling(){return g}}},1177:(Ge,he,M)=>{M.d(he,{Ds:()=>U,IY:()=>ie,ft:()=>q});var g=M(3489),_=M(2916),J=M(9249);class ie extends g.L{constructor(V){super(),this.parent=V}_next(V){this.parent.notifyNext(V)}_error(V){this.parent.notifyError(V),this.unsubscribe()}_complete(){this.parent.notifyComplete(),this.unsubscribe()}}class U extends g.L{notifyNext(V){this.destination.next(V)}notifyError(V){this.destination.error(V)}notifyComplete(){this.destination.complete()}}function q(z,V){if(V.closed)return;if(z instanceof _.y)return z.subscribe(V);let F;try{F=(0,J.s)(z)(V)}catch(ae){V.error(ae)}return F}},1762:(Ge,he,M)=>{M.d(he,{N:()=>U,c:()=>B});var g=M(8929),_=M(2916),J=M(2654),ie=M(4327);class B extends _.y{constructor(F,ae){super(),this.source=F,this.subjectFactory=ae,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 J.w,F.add(this.source.subscribe(new Q(this.getSubject(),this))),F.closed&&(this._connection=null,F=J.w.EMPTY)),F}refCount(){return(0,ie.x)()(this)}}const U=(()=>{const V=B.prototype;return{operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:V._subscribe},_isComplete:{value:V._isComplete,writable:!0},getSubject:{value:V.getSubject},connect:{value:V.connect},refCount:{value:V.refCount}}})();class Q extends g.Yc{constructor(F,ae){super(F),this.connectable=ae}_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 ae=F._connection;F._refCount=0,F._subject=null,F._connection=null,ae&&ae.unsubscribe()}}}},3426:(Ge,he,M)=>{M.d(he,{aj:()=>F});var g=M(2866),_=M(6688),J=M(3489);class ie extends J.L{notifyNext(te,ce,Ce,be,Ne){this.destination.next(ce)}notifyError(te,ce){this.destination.error(te)}notifyComplete(te){this.destination.complete()}}class B extends J.L{constructor(te,ce,Ce){super(),this.parent=te,this.outerValue=ce,this.outerIndex=Ce,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 U=M(9249),Q=M(2916);function q(Te,te,ce,Ce,be=new B(Te,ce,Ce)){if(!be.closed)return te instanceof Q.y?te.subscribe(be):(0,U.s)(te)(be)}var z=M(3009);const V={};function F(...Te){let te,ce;return(0,g.K)(Te[Te.length-1])&&(ce=Te.pop()),"function"==typeof Te[Te.length-1]&&(te=Te.pop()),1===Te.length&&(0,_.k)(Te[0])&&(Te=Te[0]),(0,z.n)(Te,ce).lift(new ae(te))}class ae{constructor(te){this.resultSelector=te}call(te,ce){return ce.subscribe(new fe(te,this.resultSelector))}}class fe extends ie{constructor(te,ce){super(te),this.resultSelector=ce,this.active=0,this.values=[],this.observables=[]}_next(te){this.values.push(V),this.observables.push(te)}_complete(){const te=this.observables,ce=te.length;if(0===ce)this.destination.complete();else{this.active=ce,this.toRespond=ce;for(let Ce=0;Ce<ce;Ce++)this.add(q(this,te[Ce],void 0,Ce))}}notifyComplete(te){0==(this.active-=1)&&this.destination.complete()}notifyNext(te,ce,Ce){const be=this.values,Ae=this.toRespond?be[Ce]===V?--this.toRespond:this.toRespond:0;be[Ce]=ce,0===Ae&&(this.resultSelector?this._tryResultSelector(be):this.destination.next(be.slice()))}_tryResultSelector(te){let ce;try{ce=this.resultSelector.apply(this,te)}catch(Ce){return void this.destination.error(Ce)}this.destination.next(ce)}}},1221:(Ge,he,M)=>{M.d(he,{z:()=>ie});var g=M(1086),_=M(9146);function ie(...B){return function J(){return(0,_.J)(1)}()((0,g.of)(...B))}},8514:(Ge,he,M)=>{M.d(he,{P:()=>ie});var g=M(2916),_=M(5254),J=M(8896);function ie(B){return new g.y(U=>{let Q;try{Q=B()}catch(z){return void U.error(z)}return(Q?(0,_.D)(Q):(0,J.c)()).subscribe(U)})}},8896:(Ge,he,M)=>{M.d(he,{E:()=>_,c:()=>J});var g=M(2916);const _=new g.y(B=>B.complete());function J(B){return B?function ie(B){return new g.y(U=>B.schedule(()=>U.complete()))}(B):_}},5254:(Ge,he,M)=>{M.d(he,{D:()=>te});var g=M(2916),_=M(9249),J=M(2654),ie=M(3821),Q=M(6454),q=M(5430),F=M(8955),ae=M(8515);function te(ce,Ce){return Ce?function Te(ce,Ce){if(null!=ce){if(function V(ce){return ce&&"function"==typeof ce[ie.L]}(ce))return function B(ce,Ce){return new g.y(be=>{const Ne=new J.w;return Ne.add(Ce.schedule(()=>{const Ae=ce[ie.L]();Ne.add(Ae.subscribe({next(oe){Ne.add(Ce.schedule(()=>be.next(oe)))},error(oe){Ne.add(Ce.schedule(()=>be.error(oe)))},complete(){Ne.add(Ce.schedule(()=>be.complete()))}}))})),Ne})}(ce,Ce);if((0,F.t)(ce))return function U(ce,Ce){return new g.y(be=>{const Ne=new J.w;return Ne.add(Ce.schedule(()=>ce.then(Ae=>{Ne.add(Ce.schedule(()=>{be.next(Ae),Ne.add(Ce.schedule(()=>be.complete()))}))},Ae=>{Ne.add(Ce.schedule(()=>be.error(Ae)))}))),Ne})}(ce,Ce);if((0,ae.z)(ce))return(0,Q.r)(ce,Ce);if(function fe(ce){return ce&&"function"==typeof ce[q.hZ]}(ce)||"string"==typeof ce)return function z(ce,Ce){if(!ce)throw new Error("Iterable cannot be null");return new g.y(be=>{const Ne=new J.w;let Ae;return Ne.add(()=>{Ae&&"function"==typeof Ae.return&&Ae.return()}),Ne.add(Ce.schedule(()=>{Ae=ce[q.hZ](),Ne.add(Ce.schedule(function(){if(be.closed)return;let oe,pe;try{const Ke=Ae.next();oe=Ke.value,pe=Ke.done}catch(Ke){return void be.error(Ke)}pe?be.complete():(be.next(oe),this.schedule())}))})),Ne})}(ce,Ce)}throw new TypeError((null!==ce&&typeof ce||ce)+" is not observable")}(ce,Ce):ce instanceof g.y?ce:new g.y((0,_.s)(ce))}},3009:(Ge,he,M)=>{M.d(he,{n:()=>ie});var g=M(2916),_=M(3650),J=M(6454);function ie(B,U){return U?(0,J.r)(B,U):new g.y((0,_.V)(B))}},3753:(Ge,he,M)=>{M.d(he,{R:()=>U});var g=M(2916),_=M(6688),J=M(7043),ie=M(4850);function U(F,ae,fe,Te){return(0,J.m)(fe)&&(Te=fe,fe=void 0),Te?U(F,ae,fe).pipe((0,ie.U)(te=>(0,_.k)(te)?Te(...te):Te(te))):new g.y(te=>{Q(F,ae,function ce(Ce){te.next(arguments.length>1?Array.prototype.slice.call(arguments):Ce)},te,fe)})}function Q(F,ae,fe,Te,te){let ce;if(function V(F){return F&&"function"==typeof F.addEventListener&&"function"==typeof F.removeEventListener}(F)){const Ce=F;F.addEventListener(ae,fe,te),ce=()=>Ce.removeEventListener(ae,fe,te)}else if(function z(F){return F&&"function"==typeof F.on&&"function"==typeof F.off}(F)){const Ce=F;F.on(ae,fe),ce=()=>Ce.off(ae,fe)}else if(function q(F){return F&&"function"==typeof F.addListener&&"function"==typeof F.removeListener}(F)){const Ce=F;F.addListener(ae,fe),ce=()=>Ce.removeListener(ae,fe)}else{if(!F||!F.length)throw new TypeError("Invalid event target");for(let Ce=0,be=F.length;Ce<be;Ce++)Q(F[Ce],ae,fe,Te,te)}Te.add(ce)}},6787:(Ge,he,M)=>{M.d(he,{T:()=>B});var g=M(2916),_=M(2866),J=M(9146),ie=M(3009);function B(...U){let Q=Number.POSITIVE_INFINITY,q=null,z=U[U.length-1];return(0,_.K)(z)?(q=U.pop(),U.length>1&&"number"==typeof U[U.length-1]&&(Q=U.pop())):"number"==typeof z&&(Q=U.pop()),null===q&&1===U.length&&U[0]instanceof g.y?U[0]:(0,J.J)(Q)((0,ie.n)(U,q))}},1086:(Ge,he,M)=>{M.d(he,{of:()=>ie});var g=M(2866),_=M(3009),J=M(6454);function ie(...B){let U=B[B.length-1];return(0,g.K)(U)?(B.pop(),(0,J.r)(B,U)):(0,_.n)(B)}},1737:(Ge,he,M)=>{M.d(he,{_:()=>_});var g=M(2916);function _(ie,B){return new g.y(B?U=>B.schedule(J,0,{error:ie,subscriber:U}):U=>U.error(ie))}function J({error:ie,subscriber:B}){B.error(ie)}},7739:(Ge,he,M)=>{M.d(he,{H:()=>U});var g=M(2916),_=M(353),J=M(6688);function ie(q){return!(0,J.k)(q)&&q-parseFloat(q)+1>=0}var B=M(2866);function U(q=0,z,V){let F=-1;return ie(z)?F=Number(z)<1?1:Number(z):(0,B.K)(z)&&(V=z),(0,B.K)(V)||(V=_.P),new g.y(ae=>{const fe=ie(q)?q:+q-V.now();return V.schedule(Q,fe,{index:0,period:F,subscriber:ae})})}function Q(q){const{index:z,period:V,subscriber:F}=q;if(F.next(z),!F.closed){if(-1===V)return F.complete();q.index=z+1,this.schedule(q,V)}}},7221:(Ge,he,M)=>{M.d(he,{K:()=>_});var g=M(1177);function _(B){return function(Q){const q=new J(B),z=Q.lift(q);return q.caught=z}}class J{constructor(U){this.selector=U}call(U,Q){return Q.subscribe(new ie(U,this.selector,this.caught))}}class ie extends g.Ds{constructor(U,Q,q){super(U),this.selector=Q,this.caught=q}error(U){if(!this.isStopped){let Q;try{Q=this.selector(U,this.caught)}catch(V){return void super.error(V)}this._unsubscribeAndRecycle();const q=new g.IY(this);this.add(q);const z=(0,g.ft)(Q,q);z!==q&&this.add(z)}}}},1406:(Ge,he,M)=>{M.d(he,{b:()=>_});var g=M(1709);function _(J,ie){return(0,g.zg)(J,ie,1)}},5778:(Ge,he,M)=>{M.d(he,{x:()=>_});var g=M(3489);function _(B,U){return Q=>Q.lift(new J(B,U))}class J{constructor(U,Q){this.compare=U,this.keySelector=Q}call(U,Q){return Q.subscribe(new ie(U,this.compare,this.keySelector))}}class ie extends g.L{constructor(U,Q,q){super(U),this.keySelector=q,this.hasKey=!1,"function"==typeof Q&&(this.compare=Q)}compare(U,Q){return U===Q}_next(U){let Q;try{const{keySelector:z}=this;Q=z?z(U):U}catch(z){return this.destination.error(z)}let q=!1;if(this.hasKey)try{const{compare:z}=this;q=z(this.key,Q)}catch(z){return this.destination.error(z)}else this.hasKey=!0;q||(this.key=Q,this.destination.next(U))}}},2198:(Ge,he,M)=>{M.d(he,{h:()=>_});var g=M(3489);function _(B,U){return function(q){return q.lift(new J(B,U))}}class J{constructor(U,Q){this.predicate=U,this.thisArg=Q}call(U,Q){return Q.subscribe(new ie(U,this.predicate,this.thisArg))}}class ie extends g.L{constructor(U,Q,q){super(U),this.predicate=Q,this.thisArg=q,this.count=0}_next(U){let Q;try{Q=this.predicate.call(this.thisArg,U,this.count++)}catch(q){return void this.destination.error(q)}Q&&this.destination.next(U)}}},537:(Ge,he,M)=>{M.d(he,{x:()=>J});var g=M(3489),_=M(2654);function J(U){return Q=>Q.lift(new ie(U))}class ie{constructor(Q){this.callback=Q}call(Q,q){return q.subscribe(new B(Q,this.callback))}}class B extends g.L{constructor(Q,q){super(Q),this.add(new _.w(q))}}},4850:(Ge,he,M)=>{M.d(he,{U:()=>_});var g=M(3489);function _(B,U){return function(q){if("function"!=typeof B)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return q.lift(new J(B,U))}}class J{constructor(U,Q){this.project=U,this.thisArg=Q}call(U,Q){return Q.subscribe(new ie(U,this.project,this.thisArg))}}class ie extends g.L{constructor(U,Q,q){super(U),this.project=Q,this.count=0,this.thisArg=q||this}_next(U){let Q;try{Q=this.project.call(this.thisArg,U,this.count++)}catch(q){return void this.destination.error(q)}this.destination.next(Q)}}},9146:(Ge,he,M)=>{M.d(he,{J:()=>J});var g=M(1709),_=M(5379);function J(ie=Number.POSITIVE_INFINITY){return(0,g.zg)(_.y,ie)}},1709:(Ge,he,M)=>{M.d(he,{zg:()=>ie});var g=M(4850),_=M(5254),J=M(1177);function ie(q,z,V=Number.POSITIVE_INFINITY){return"function"==typeof z?F=>F.pipe(ie((ae,fe)=>(0,_.D)(q(ae,fe)).pipe((0,g.U)((Te,te)=>z(ae,Te,fe,te))),V)):("number"==typeof z&&(V=z),F=>F.lift(new B(q,V)))}class B{constructor(z,V=Number.POSITIVE_INFINITY){this.project=z,this.concurrent=V}call(z,V){return V.subscribe(new U(z,this.project,this.concurrent))}}class U extends J.Ds{constructor(z,V,F=Number.POSITIVE_INFINITY){super(z),this.project=V,this.concurrent=F,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}_next(z){this.active<this.concurrent?this._tryNext(z):this.buffer.push(z)}_tryNext(z){let V;const F=this.index++;try{V=this.project(z,F)}catch(ae){return void this.destination.error(ae)}this.active++,this._innerSub(V)}_innerSub(z){const V=new J.IY(this),F=this.destination;F.add(V);const ae=(0,J.ft)(z,V);ae!==V&&F.add(ae)}_complete(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&this.destination.complete(),this.unsubscribe()}notifyNext(z){this.destination.next(z)}notifyComplete(){const z=this.buffer;this.active--,z.length>0?this._next(z.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}},2536:(Ge,he,M)=>{M.d(he,{O:()=>_});var g=M(1762);function _(ie,B){return function(Q){let q;if(q="function"==typeof ie?ie:function(){return ie},"function"==typeof B)return Q.lift(new J(q,B));const z=Object.create(Q,g.N);return z.source=Q,z.subjectFactory=q,z}}class J{constructor(B,U){this.subjectFactory=B,this.selector=U}call(B,U){const{selector:Q}=this,q=this.subjectFactory(),z=Q(q).subscribe(B);return z.add(U.subscribe(q)),z}}},4327:(Ge,he,M)=>{M.d(he,{x:()=>_});var g=M(3489);function _(){return function(U){return U.lift(new J(U))}}class J{constructor(U){this.connectable=U}call(U,Q){const{connectable:q}=this;q._refCount++;const z=new ie(U,q),V=Q.subscribe(z);return z.closed||(z.connection=q.connect()),V}}class ie extends g.L{constructor(U,Q){super(U),this.connectable=Q}_unsubscribe(){const{connectable:U}=this;if(!U)return void(this.connection=null);this.connectable=null;const Q=U._refCount;if(Q<=0)return void(this.connection=null);if(U._refCount=Q-1,Q>1)return void(this.connection=null);const{connection:q}=this,z=U._connection;this.connection=null,z&&(!q||z===q)&&z.unsubscribe()}}},1059:(Ge,he,M)=>{M.d(he,{O:()=>J});var g=M(1221),_=M(2866);function J(...ie){const B=ie[ie.length-1];return(0,_.K)(B)?(ie.pop(),U=>(0,g.z)(ie,U,B)):U=>(0,g.z)(ie,U)}},7545:(Ge,he,M)=>{M.d(he,{w:()=>ie});var g=M(4850),_=M(5254),J=M(1177);function ie(Q,q){return"function"==typeof q?z=>z.pipe(ie((V,F)=>(0,_.D)(Q(V,F)).pipe((0,g.U)((ae,fe)=>q(V,ae,F,fe))))):z=>z.lift(new B(Q))}class B{constructor(q){this.project=q}call(q,z){return z.subscribe(new U(q,this.project))}}class U extends J.Ds{constructor(q,z){super(q),this.project=z,this.index=0}_next(q){let z;const V=this.index++;try{z=this.project(q,V)}catch(F){return void this.destination.error(F)}this._innerSub(z)}_innerSub(q){const z=this.innerSubscription;z&&z.unsubscribe();const V=new J.IY(this),F=this.destination;F.add(V),this.innerSubscription=(0,J.ft)(q,V),this.innerSubscription!==V&&F.add(this.innerSubscription)}_complete(){const{innerSubscription:q}=this;(!q||q.closed)&&super._complete(),this.unsubscribe()}_unsubscribe(){this.innerSubscription=void 0}notifyComplete(){this.innerSubscription=void 0,this.isStopped&&super._complete()}notifyNext(q){this.destination.next(q)}}},2986:(Ge,he,M)=>{M.d(he,{q:()=>ie});var g=M(3489),_=M(4231),J=M(8896);function ie(Q){return q=>0===Q?(0,J.c)():q.lift(new B(Q))}class B{constructor(q){if(this.total=q,this.total<0)throw new _.W}call(q,z){return z.subscribe(new U(q,this.total))}}class U extends g.L{constructor(q,z){super(q),this.total=z,this.count=0}_next(q){const z=this.total,V=++this.count;V<=z&&(this.destination.next(q),V===z&&(this.destination.complete(),this.unsubscribe()))}}},2994:(Ge,he,M)=>{M.d(he,{b:()=>ie});var g=M(3489),_=M(7876),J=M(7043);function ie(Q,q,z){return function(F){return F.lift(new B(Q,q,z))}}class B{constructor(q,z,V){this.nextOrObserver=q,this.error=z,this.complete=V}call(q,z){return z.subscribe(new U(q,this.nextOrObserver,this.error,this.complete))}}class U extends g.L{constructor(q,z,V,F){super(q),this._tapNext=_.Z,this._tapError=_.Z,this._tapComplete=_.Z,this._tapError=V||_.Z,this._tapComplete=F||_.Z,(0,J.m)(z)?(this._context=this,this._tapNext=z):z&&(this._context=z,this._tapNext=z.next||_.Z,this._tapError=z.error||_.Z,this._tapComplete=z.complete||_.Z)}_next(q){try{this._tapNext.call(this._context,q)}catch(z){return void this.destination.error(z)}this.destination.next(q)}_error(q){try{this._tapError.call(this._context,q)}catch(z){return void this.destination.error(z)}this.destination.error(q)}_complete(){try{this._tapComplete.call(this._context)}catch(q){return void this.destination.error(q)}return this.destination.complete()}}},6454:(Ge,he,M)=>{M.d(he,{r:()=>J});var g=M(2916),_=M(2654);function J(ie,B){return new g.y(U=>{const Q=new _.w;let q=0;return Q.add(B.schedule(function(){q!==ie.length?(U.next(ie[q++]),U.closed||Q.add(this.schedule())):U.complete()})),Q})}},6686:(Ge,he,M)=>{M.d(he,{o:()=>J});var g=M(2654);class _ extends g.w{constructor(B,U){super()}schedule(B,U=0){return this}}class J extends _{constructor(B,U){super(B,U),this.scheduler=B,this.work=U,this.pending=!1}schedule(B,U=0){if(this.closed)return this;this.state=B;const Q=this.id,q=this.scheduler;return null!=Q&&(this.id=this.recycleAsyncId(q,Q,U)),this.pending=!0,this.delay=U,this.id=this.id||this.requestAsyncId(q,this.id,U),this}requestAsyncId(B,U,Q=0){return setInterval(B.flush.bind(B,this),Q)}recycleAsyncId(B,U,Q=0){if(null!==Q&&this.delay===Q&&!1===this.pending)return U;clearInterval(U)}execute(B,U){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const Q=this._execute(B,U);if(Q)return Q;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(B,U){let q,Q=!1;try{this.work(B)}catch(z){Q=!0,q=!!z&&z||new Error(z)}if(Q)return this.unsubscribe(),q}_unsubscribe(){const B=this.id,U=this.scheduler,Q=U.actions,q=Q.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==q&&Q.splice(q,1),null!=B&&(this.id=this.recycleAsyncId(U,B,null)),this.delay=null}}},2268:(Ge,he,M)=>{M.d(he,{v:()=>_});let g=(()=>{class J{constructor(B,U=J.now){this.SchedulerAction=B,this.now=U}schedule(B,U=0,Q){return new this.SchedulerAction(this,B).schedule(Q,U)}}return J.now=()=>Date.now(),J})();class _ extends g{constructor(ie,B=g.now){super(ie,()=>_.delegate&&_.delegate!==this?_.delegate.now():B()),this.actions=[],this.active=!1,this.scheduled=void 0}schedule(ie,B=0,U){return _.delegate&&_.delegate!==this?_.delegate.schedule(ie,B,U):super.schedule(ie,B,U)}flush(ie){const{actions:B}=this;if(this.active)return void B.push(ie);let U;this.active=!0;do{if(U=ie.execute(ie.state,ie.delay))break}while(ie=B.shift());if(this.active=!1,U){for(;ie=B.shift();)ie.unsubscribe();throw U}}}},353:(Ge,he,M)=>{M.d(he,{P:()=>ie});var g=M(6686);const ie=new(M(2268).v)(g.o)},5430:(Ge,he,M)=>{M.d(he,{hZ:()=>_});const _=function g(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},3821:(Ge,he,M)=>{M.d(he,{L:()=>g});const g="function"==typeof Symbol&&Symbol.observable||"@@observable"},7668:(Ge,he,M)=>{M.d(he,{b:()=>g});const g="function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random()},4231:(Ge,he,M)=>{M.d(he,{W:()=>_});const _=(()=>{function J(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}return J.prototype=Object.create(Error.prototype),J})()},5279:(Ge,he,M)=>{M.d(he,{N:()=>_});const _=(()=>{function J(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return J.prototype=Object.create(Error.prototype),J})()},2782:(Ge,he,M)=>{function g(_){setTimeout(()=>{throw _},0)}M.d(he,{z:()=>g})},5379:(Ge,he,M)=>{function g(_){return _}M.d(he,{y:()=>g})},6688:(Ge,he,M)=>{M.d(he,{k:()=>g});const g=Array.isArray||(_=>_&&"number"==typeof _.length)},8515:(Ge,he,M)=>{M.d(he,{z:()=>g});const g=_=>_&&"number"==typeof _.length&&"function"!=typeof _},2697:(Ge,he,M)=>{function g(_){return _ instanceof Date&&!isNaN(+_)}M.d(he,{J:()=>g})},7043:(Ge,he,M)=>{function g(_){return"function"==typeof _}M.d(he,{m:()=>g})},7830:(Ge,he,M)=>{function g(_){return null!==_&&"object"==typeof _}M.d(he,{K:()=>g})},8955:(Ge,he,M)=>{function g(_){return!!_&&"function"!=typeof _.subscribe&&"function"==typeof _.then}M.d(he,{t:()=>g})},2866:(Ge,he,M)=>{function g(_){return _&&"function"==typeof _.schedule}M.d(he,{K:()=>g})},7876:(Ge,he,M)=>{function g(){}M.d(he,{Z:()=>g})},9249:(Ge,he,M)=>{M.d(he,{s:()=>F});var g=M(3650),_=M(2782),ie=M(5430),U=M(3821),q=M(8515),z=M(8955),V=M(7830);const F=ae=>{if(ae&&"function"==typeof ae[U.L])return(ae=>fe=>{const Te=ae[U.L]();if("function"!=typeof Te.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return Te.subscribe(fe)})(ae);if((0,q.z)(ae))return(0,g.V)(ae);if((0,z.t)(ae))return(ae=>fe=>(ae.then(Te=>{fe.closed||(fe.next(Te),fe.complete())},Te=>fe.error(Te)).then(null,_.z),fe))(ae);if(ae&&"function"==typeof ae[ie.hZ])return(ae=>fe=>{const Te=ae[ie.hZ]();for(;;){let te;try{te=Te.next()}catch(ce){return fe.error(ce),fe}if(te.done){fe.complete();break}if(fe.next(te.value),fe.closed)break}return"function"==typeof Te.return&&fe.add(()=>{Te.return&&Te.return()}),fe})(ae);{const Te=`You provided ${(0,V.K)(ae)?"an invalid object":`'${ae}'`} where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.`;throw new TypeError(Te)}}},3650:(Ge,he,M)=>{M.d(he,{V:()=>g});const g=_=>J=>{for(let ie=0,B=_.length;ie<B&&!J.closed;ie++)J.next(_[ie]);J.complete()}},1777:(Ge,he,M)=>{M.d(he,{F4:()=>V,IO:()=>te,LC:()=>_,SB:()=>z,X$:()=>ie,ZE:()=>Ne,ZN:()=>be,_j:()=>g,eR:()=>F,jt:()=>B,k1:()=>Ae,l3:()=>J,oB:()=>q,pV:()=>fe,ru:()=>U,vP:()=>Q});class g{}class _{}const J="*";function ie(oe,pe){return{type:7,name:oe,definitions:pe,options:{}}}function B(oe,pe=null){return{type:4,styles:pe,timings:oe}}function U(oe,pe=null){return{type:3,steps:oe,options:pe}}function Q(oe,pe=null){return{type:2,steps:oe,options:pe}}function q(oe){return{type:6,styles:oe,offset:null}}function z(oe,pe,Ke){return{type:0,name:oe,styles:pe,options:Ke}}function V(oe){return{type:5,steps:oe}}function F(oe,pe,Ke=null){return{type:1,expr:oe,animation:pe,options:Ke}}function fe(oe=null){return{type:9,options:oe}}function te(oe,pe,Ke=null){return{type:11,selector:oe,animation:pe,options:Ke}}function Ce(oe){Promise.resolve(null).then(oe)}class be{constructor(pe=0,Ke=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=pe+Ke}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(pe=>pe()),this._onDoneFns=[])}onStart(pe){this._onStartFns.push(pe)}onDone(pe){this._onDoneFns.push(pe)}onDestroy(pe){this._onDestroyFns.push(pe)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){Ce(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(pe=>pe()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(pe=>pe()),this._onDestroyFns=[])}reset(){this._started=!1}setPosition(pe){this._position=this.totalTime?pe*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(pe){const Ke="start"==pe?this._onStartFns:this._onDoneFns;Ke.forEach(yt=>yt()),Ke.length=0}}class Ne{constructor(pe){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=pe;let Ke=0,yt=0,rt=0;const at=this.players.length;0==at?Ce(()=>this._onFinish()):this.players.forEach(ht=>{ht.onDone(()=>{++Ke==at&&this._onFinish()}),ht.onDestroy(()=>{++yt==at&&this._onDestroy()}),ht.onStart(()=>{++rt==at&&this._onStart()})}),this.totalTime=this.players.reduce((ht,St)=>Math.max(ht,St.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(pe=>pe()),this._onDoneFns=[])}init(){this.players.forEach(pe=>pe.init())}onStart(pe){this._onStartFns.push(pe)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(pe=>pe()),this._onStartFns=[])}onDone(pe){this._onDoneFns.push(pe)}onDestroy(pe){this._onDestroyFns.push(pe)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(pe=>pe.play())}pause(){this.players.forEach(pe=>pe.pause())}restart(){this.players.forEach(pe=>pe.restart())}finish(){this._onFinish(),this.players.forEach(pe=>pe.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(pe=>pe.destroy()),this._onDestroyFns.forEach(pe=>pe()),this._onDestroyFns=[])}reset(){this.players.forEach(pe=>pe.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(pe){const Ke=pe*this.totalTime;this.players.forEach(yt=>{const rt=yt.totalTime?Math.min(1,Ke/yt.totalTime):1;yt.setPosition(rt)})}getPosition(){const pe=this.players.reduce((Ke,yt)=>null===Ke||yt.totalTime>Ke.totalTime?yt:Ke,null);return null!=pe?pe.getPosition():0}beforeDestroy(){this.players.forEach(pe=>{pe.beforeDestroy&&pe.beforeDestroy()})}triggerCallback(pe){const Ke="start"==pe?this._onStartFns:this._onDoneFns;Ke.forEach(yt=>yt()),Ke.length=0}}const Ae="!"},9808:(Ge,he,M)=>{M.d(he,{$G:()=>nr,Do:()=>oe,ED:()=>Ar,EM:()=>Ws,HT:()=>B,JF:()=>Qs,JJ:()=>ds,K0:()=>Q,Mx:()=>Jt,NF:()=>Cr,Nd:()=>As,O5:()=>Dr,OU:()=>yn,Ov:()=>Lr,PC:()=>Er,RF:()=>zt,S$:()=>Ce,Ts:()=>Us,V_:()=>V,Ye:()=>pe,b0:()=>Ae,bD:()=>ps,ez:()=>fr,lw:()=>q,mk:()=>Mr,mr:()=>Ne,n9:()=>Rt,q:()=>J,sg:()=>An,tP:()=>Qr,uU:()=>Bs,w_:()=>U});var g=M(9863);let _=null;function J(){return _}function B(m){_||(_=m)}class U{}const Q=new g.OlP("DocumentToken");let q=(()=>{class m{historyGo(v){throw new Error("Not implemented")}}return m.\u0275fac=function(v){return new(v||m)},m.\u0275prov=g.Yz7({token:m,factory:function(){return function z(){return(0,g.LFG)(F)}()},providedIn:"platform"}),m})();const V=new g.OlP("Location Initialized");let F=(()=>{class m extends q{constructor(v){super(),this._doc=v,this._init()}_init(){this.location=window.location,this._history=window.history}getBaseHrefFromDOM(){return J().getBaseHref(this._doc)}onPopState(v){const S=J().getGlobalEventTarget(this._doc,"window");return S.addEventListener("popstate",v,!1),()=>S.removeEventListener("popstate",v)}onHashChange(v){const S=J().getGlobalEventTarget(this._doc,"window");return S.addEventListener("hashchange",v,!1),()=>S.removeEventListener("hashchange",v)}get href(){return this.location.href}get protocol(){return this.location.protocol}get hostname(){return this.location.hostname}get port(){return this.location.port}get pathname(){return this.location.pathname}get search(){return this.location.search}get hash(){return this.location.hash}set pathname(v){this.location.pathname=v}pushState(v,S,H){ae()?this._history.pushState(v,S,H):this.location.hash=H}replaceState(v,S,H){ae()?this._history.replaceState(v,S,H):this.location.hash=H}forward(){this._history.forward()}back(){this._history.back()}historyGo(v=0){this._history.go(v)}getState(){return this._history.state}}return m.\u0275fac=function(v){return new(v||m)(g.LFG(Q))},m.\u0275prov=g.Yz7({token:m,factory:function(){return function fe(){return new F((0,g.LFG)(Q))}()},providedIn:"platform"}),m})();function ae(){return!!window.history.pushState}function Te(m,T){if(0==m.length)return T;if(0==T.length)return m;let v=0;return m.endsWith("/")&&v++,T.startsWith("/")&&v++,2==v?m+T.substring(1):1==v?m+T:m+"/"+T}function te(m){const T=m.match(/#|\?|$/),v=T&&T.index||m.length;return m.slice(0,v-("/"===m[v-1]?1:0))+m.slice(v)}function ce(m){return m&&"?"!==m[0]?"?"+m:m}let Ce=(()=>{class m{historyGo(v){throw new Error("Not implemented")}}return m.\u0275fac=function(v){return new(v||m)},m.\u0275prov=g.Yz7({token:m,factory:function(){return function be(m){const T=(0,g.LFG)(Q).location;return new Ae((0,g.LFG)(q),T&&T.origin||"")}()},providedIn:"root"}),m})();const Ne=new g.OlP("appBaseHref");let Ae=(()=>{class m extends Ce{constructor(v,S){if(super(),this._platformLocation=v,this._removeListenerFns=[],null==S&&(S=this._platformLocation.getBaseHrefFromDOM()),null==S)throw new Error("No base href set. Please provide a value for the APP_BASE_HREF token or add a base element to the document.");this._baseHref=S}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(v){this._removeListenerFns.push(this._platformLocation.onPopState(v),this._platformLocation.onHashChange(v))}getBaseHref(){return this._baseHref}prepareExternalUrl(v){return Te(this._baseHref,v)}path(v=!1){const S=this._platformLocation.pathname+ce(this._platformLocation.search),H=this._platformLocation.hash;return H&&v?`${S}${H}`:S}pushState(v,S,H,ge){const Ie=this.prepareExternalUrl(H+ce(ge));this._platformLocation.pushState(v,S,Ie)}replaceState(v,S,H,ge){const Ie=this.prepareExternalUrl(H+ce(ge));this._platformLocation.replaceState(v,S,Ie)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(v=0){var S,H;null===(H=(S=this._platformLocation).historyGo)||void 0===H||H.call(S,v)}}return m.\u0275fac=function(v){return new(v||m)(g.LFG(q),g.LFG(Ne,8))},m.\u0275prov=g.Yz7({token:m,factory:m.\u0275fac}),m})(),oe=(()=>{class m extends Ce{constructor(v,S){super(),this._platformLocation=v,this._baseHref="",this._removeListenerFns=[],null!=S&&(this._baseHref=S)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(v){this._removeListenerFns.push(this._platformLocation.onPopState(v),this._platformLocation.onHashChange(v))}getBaseHref(){return this._baseHref}path(v=!1){let S=this._platformLocation.hash;return null==S&&(S="#"),S.length>0?S.substring(1):S}prepareExternalUrl(v){const S=Te(this._baseHref,v);return S.length>0?"#"+S:S}pushState(v,S,H,ge){let Ie=this.prepareExternalUrl(H+ce(ge));0==Ie.length&&(Ie=this._platformLocation.pathname),this._platformLocation.pushState(v,S,Ie)}replaceState(v,S,H,ge){let Ie=this.prepareExternalUrl(H+ce(ge));0==Ie.length&&(Ie=this._platformLocation.pathname),this._platformLocation.replaceState(v,S,Ie)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(v=0){var S,H;null===(H=(S=this._platformLocation).historyGo)||void 0===H||H.call(S,v)}}return m.\u0275fac=function(v){return new(v||m)(g.LFG(q),g.LFG(Ne,8))},m.\u0275prov=g.Yz7({token:m,factory:m.\u0275fac}),m})(),pe=(()=>{class m{constructor(v,S){this._subject=new g.vpe,this._urlChangeListeners=[],this._platformStrategy=v;const H=this._platformStrategy.getBaseHref();this._platformLocation=S,this._baseHref=te(rt(H)),this._platformStrategy.onPopState(ge=>{this._subject.emit({url:this.path(!0),pop:!0,state:ge.state,type:ge.type})})}path(v=!1){return this.normalize(this._platformStrategy.path(v))}getState(){return this._platformLocation.getState()}isCurrentPathEqualTo(v,S=""){return this.path()==this.normalize(v+ce(S))}normalize(v){return m.stripTrailingSlash(function yt(m,T){return m&&T.startsWith(m)?T.substring(m.length):T}(this._baseHref,rt(v)))}prepareExternalUrl(v){return v&&"/"!==v[0]&&(v="/"+v),this._platformStrategy.prepareExternalUrl(v)}go(v,S="",H=null){this._platformStrategy.pushState(H,"",v,S),this._notifyUrlChangeListeners(this.prepareExternalUrl(v+ce(S)),H)}replaceState(v,S="",H=null){this._platformStrategy.replaceState(H,"",v,S),this._notifyUrlChangeListeners(this.prepareExternalUrl(v+ce(S)),H)}forward(){this._platformStrategy.forward()}back(){this._platformStrategy.back()}historyGo(v=0){var S,H;null===(H=(S=this._platformStrategy).historyGo)||void 0===H||H.call(S,v)}onUrlChange(v){this._urlChangeListeners.push(v),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(S=>{this._notifyUrlChangeListeners(S.url,S.state)}))}_notifyUrlChangeListeners(v="",S){this._urlChangeListeners.forEach(H=>H(v,S))}subscribe(v,S,H){return this._subject.subscribe({next:v,error:S,complete:H})}}return m.normalizeQueryParams=ce,m.joinWithSlash=Te,m.stripTrailingSlash=te,m.\u0275fac=function(v){return new(v||m)(g.LFG(Ce),g.LFG(q))},m.\u0275prov=g.Yz7({token:m,factory:function(){return function Ke(){return new pe((0,g.LFG)(Ce),(0,g.LFG)(q))}()},providedIn:"root"}),m})();function rt(m){return m.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))(),St=(()=>((St=St||{})[St.Zero=0]="Zero",St[St.One=1]="One",St[St.Two=2]="Two",St[St.Few=3]="Few",St[St.Many=4]="Many",St[St.Other=5]="Other",St))(),Mt=(()=>((Mt=Mt||{})[Mt.Format=0]="Format",Mt[Mt.Standalone=1]="Standalone",Mt))(),ft=(()=>((ft=ft||{})[ft.Narrow=0]="Narrow",ft[ft.Abbreviated=1]="Abbreviated",ft[ft.Wide=2]="Wide",ft[ft.Short=3]="Short",ft))(),lt=(()=>((lt=lt||{})[lt.Short=0]="Short",lt[lt.Medium=1]="Medium",lt[lt.Long=2]="Long",lt[lt.Full=3]="Full",lt))(),Ve=(()=>((Ve=Ve||{})[Ve.Decimal=0]="Decimal",Ve[Ve.Group=1]="Group",Ve[Ve.List=2]="List",Ve[Ve.PercentSign=3]="PercentSign",Ve[Ve.PlusSign=4]="PlusSign",Ve[Ve.MinusSign=5]="MinusSign",Ve[Ve.Exponential=6]="Exponential",Ve[Ve.SuperscriptingExponent=7]="SuperscriptingExponent",Ve[Ve.PerMille=8]="PerMille",Ve[Ve.Infinity=9]="Infinity",Ve[Ve.NaN=10]="NaN",Ve[Ve.TimeSeparator=11]="TimeSeparator",Ve[Ve.CurrencyDecimal=12]="CurrencyDecimal",Ve[Ve.CurrencyGroup=13]="CurrencyGroup",Ve))();function we(m,T){return Vt((0,g.cg1)(m)[g.wAp.DateFormat],T)}function X(m,T){return Vt((0,g.cg1)(m)[g.wAp.TimeFormat],T)}function ue(m,T){return Vt((0,g.cg1)(m)[g.wAp.DateTimeFormat],T)}function Fe(m,T){const v=(0,g.cg1)(m),S=v[g.wAp.NumberSymbols][T];if(void 0===S){if(T===Ve.CurrencyDecimal)return v[g.wAp.NumberSymbols][Ve.Decimal];if(T===Ve.CurrencyGroup)return v[g.wAp.NumberSymbols][Ve.Group]}return S}const rn=g.kL8;function Vn(m){if(!m[g.wAp.ExtraData])throw new Error(`Missing extra locale data for the locale "${m[g.wAp.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function Vt(m,T){for(let v=T;v>-1;v--)if(void 0!==m[v])return m[v];throw new Error("Locale data API: locale data undefined")}function lr(m){const[T,v]=m.split(":");return{hours:+T,minutes:+v}}const K=/^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,Ee={},le=/((?:[^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 ke=(()=>((ke=ke||{})[ke.Short=0]="Short",ke[ke.ShortGMT=1]="ShortGMT",ke[ke.Long=2]="Long",ke[ke.Extended=3]="Extended",ke))(),Oe=(()=>((Oe=Oe||{})[Oe.FullYear=0]="FullYear",Oe[Oe.Month=1]="Month",Oe[Oe.Date=2]="Date",Oe[Oe.Hours=3]="Hours",Oe[Oe.Minutes=4]="Minutes",Oe[Oe.Seconds=5]="Seconds",Oe[Oe.FractionalSeconds=6]="FractionalSeconds",Oe[Oe.Day=7]="Day",Oe))(),ze=(()=>((ze=ze||{})[ze.DayPeriods=0]="DayPeriods",ze[ze.Days=1]="Days",ze[ze.Months=2]="Months",ze[ze.Eras=3]="Eras",ze))();function ut(m,T,v,S){let H=function L(m){if(ne(m))return m;if("number"==typeof m&&!isNaN(m))return new Date(m);if("string"==typeof m){if(m=m.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(m)){const[H,ge=1,Ie=1]=m.split("-").map(He=>+He);return bt(H,ge-1,Ie)}const v=parseFloat(m);if(!isNaN(m-v))return new Date(v);let S;if(S=m.match(K))return function x(m){const T=new Date(0);let v=0,S=0;const H=m[8]?T.setUTCFullYear:T.setFullYear,ge=m[8]?T.setUTCHours:T.setHours;m[9]&&(v=Number(m[9]+m[10]),S=Number(m[9]+m[11])),H.call(T,Number(m[1]),Number(m[2])-1,Number(m[3]));const Ie=Number(m[4]||0)-v,He=Number(m[5]||0)-S,jt=Number(m[6]||0),Lt=Math.floor(1e3*parseFloat("0."+(m[7]||0)));return ge.call(T,Ie,He,jt,Lt),T}(S)}const T=new Date(m);if(!ne(T))throw new Error(`Unable to convert "${m}" into a date`);return T}(m);T=qt(v,T)||T;let He,Ie=[];for(;T;){if(He=le.exec(T),!He){Ie.push(T);break}{Ie=Ie.concat(He.slice(1));const Nt=Ie.pop();if(!Nt)break;T=Nt}}let jt=H.getTimezoneOffset();S&&(jt=vr(S,jt),H=function se(m,T,v){const S=v?-1:1,H=m.getTimezoneOffset();return function cr(m,T){return(m=new Date(m.getTime())).setMinutes(m.getMinutes()+T),m}(m,S*(vr(T,H)-H))}(H,S,!0));let Lt="";return Ie.forEach(Nt=>{const ct=function Gn(m){if(zn[m])return zn[m];let T;switch(m){case"G":case"GG":case"GGG":T=Ot(ze.Eras,ft.Abbreviated);break;case"GGGG":T=Ot(ze.Eras,ft.Wide);break;case"GGGGG":T=Ot(ze.Eras,ft.Narrow);break;case"y":T=Ue(Oe.FullYear,1,0,!1,!0);break;case"yy":T=Ue(Oe.FullYear,2,0,!0,!0);break;case"yyy":T=Ue(Oe.FullYear,3,0,!1,!0);break;case"yyyy":T=Ue(Oe.FullYear,4,0,!1,!0);break;case"Y":T=Sn(1);break;case"YY":T=Sn(2,!0);break;case"YYY":T=Sn(3);break;case"YYYY":T=Sn(4);break;case"M":case"L":T=Ue(Oe.Month,1,1);break;case"MM":case"LL":T=Ue(Oe.Month,2,1);break;case"MMM":T=Ot(ze.Months,ft.Abbreviated);break;case"MMMM":T=Ot(ze.Months,ft.Wide);break;case"MMMMM":T=Ot(ze.Months,ft.Narrow);break;case"LLL":T=Ot(ze.Months,ft.Abbreviated,Mt.Standalone);break;case"LLLL":T=Ot(ze.Months,ft.Wide,Mt.Standalone);break;case"LLLLL":T=Ot(ze.Months,ft.Narrow,Mt.Standalone);break;case"w":T=en(1);break;case"ww":T=en(2);break;case"W":T=en(1,!0);break;case"d":T=Ue(Oe.Date,1);break;case"dd":T=Ue(Oe.Date,2);break;case"c":case"cc":T=Ue(Oe.Day,1);break;case"ccc":T=Ot(ze.Days,ft.Abbreviated,Mt.Standalone);break;case"cccc":T=Ot(ze.Days,ft.Wide,Mt.Standalone);break;case"ccccc":T=Ot(ze.Days,ft.Narrow,Mt.Standalone);break;case"cccccc":T=Ot(ze.Days,ft.Short,Mt.Standalone);break;case"E":case"EE":case"EEE":T=Ot(ze.Days,ft.Abbreviated);break;case"EEEE":T=Ot(ze.Days,ft.Wide);break;case"EEEEE":T=Ot(ze.Days,ft.Narrow);break;case"EEEEEE":T=Ot(ze.Days,ft.Short);break;case"a":case"aa":case"aaa":T=Ot(ze.DayPeriods,ft.Abbreviated);break;case"aaaa":T=Ot(ze.DayPeriods,ft.Wide);break;case"aaaaa":T=Ot(ze.DayPeriods,ft.Narrow);break;case"b":case"bb":case"bbb":T=Ot(ze.DayPeriods,ft.Abbreviated,Mt.Standalone,!0);break;case"bbbb":T=Ot(ze.DayPeriods,ft.Wide,Mt.Standalone,!0);break;case"bbbbb":T=Ot(ze.DayPeriods,ft.Narrow,Mt.Standalone,!0);break;case"B":case"BB":case"BBB":T=Ot(ze.DayPeriods,ft.Abbreviated,Mt.Format,!0);break;case"BBBB":T=Ot(ze.DayPeriods,ft.Wide,Mt.Format,!0);break;case"BBBBB":T=Ot(ze.DayPeriods,ft.Narrow,Mt.Format,!0);break;case"h":T=Ue(Oe.Hours,1,-12);break;case"hh":T=Ue(Oe.Hours,2,-12);break;case"H":T=Ue(Oe.Hours,1);break;case"HH":T=Ue(Oe.Hours,2);break;case"m":T=Ue(Oe.Minutes,1);break;case"mm":T=Ue(Oe.Minutes,2);break;case"s":T=Ue(Oe.Seconds,1);break;case"ss":T=Ue(Oe.Seconds,2);break;case"S":T=Ue(Oe.FractionalSeconds,1);break;case"SS":T=Ue(Oe.FractionalSeconds,2);break;case"SSS":T=Ue(Oe.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":T=st(ke.Short);break;case"ZZZZZ":T=st(ke.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":T=st(ke.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":T=st(ke.Long);break;default:return null}return zn[m]=T,T}(Nt);Lt+=ct?ct(H,v,jt):"''"===Nt?"'":Nt.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),Lt}function bt(m,T,v){const S=new Date(0);return S.setFullYear(m,T,v),S.setHours(0,0,0),S}function qt(m,T){const v=function Pt(m){return(0,g.cg1)(m)[g.wAp.LocaleId]}(m);if(Ee[v]=Ee[v]||{},Ee[v][T])return Ee[v][T];let S="";switch(T){case"shortDate":S=we(m,lt.Short);break;case"mediumDate":S=we(m,lt.Medium);break;case"longDate":S=we(m,lt.Long);break;case"fullDate":S=we(m,lt.Full);break;case"shortTime":S=X(m,lt.Short);break;case"mediumTime":S=X(m,lt.Medium);break;case"longTime":S=X(m,lt.Long);break;case"fullTime":S=X(m,lt.Full);break;case"short":const H=qt(m,"shortTime"),ge=qt(m,"shortDate");S=sn(ue(m,lt.Short),[H,ge]);break;case"medium":const Ie=qt(m,"mediumTime"),He=qt(m,"mediumDate");S=sn(ue(m,lt.Medium),[Ie,He]);break;case"long":const jt=qt(m,"longTime"),Lt=qt(m,"longDate");S=sn(ue(m,lt.Long),[jt,Lt]);break;case"full":const Nt=qt(m,"fullTime"),ct=qt(m,"fullDate");S=sn(ue(m,lt.Full),[Nt,ct])}return S&&(Ee[v][T]=S),S}function sn(m,T){return T&&(m=m.replace(/\{([^}]+)}/g,function(v,S){return null!=T&&S in T?T[S]:v})),m}function It(m,T,v="-",S,H){let ge="";(m<0||H&&m<=0)&&(H?m=1-m:(m=-m,ge=v));let Ie=String(m);for(;Ie.length<T;)Ie="0"+Ie;return S&&(Ie=Ie.substr(Ie.length-T)),ge+Ie}function Ue(m,T,v=0,S=!1,H=!1){return function(ge,Ie){let He=function Nn(m,T){switch(m){case Oe.FullYear:return T.getFullYear();case Oe.Month:return T.getMonth();case Oe.Date:return T.getDate();case Oe.Hours:return T.getHours();case Oe.Minutes:return T.getMinutes();case Oe.Seconds:return T.getSeconds();case Oe.FractionalSeconds:return T.getMilliseconds();case Oe.Day:return T.getDay();default:throw new Error(`Unknown DateType value "${m}".`)}}(m,ge);if((v>0||He>-v)&&(He+=v),m===Oe.Hours)0===He&&-12===v&&(He=12);else if(m===Oe.FractionalSeconds)return function Ct(m,T){return It(m,3).substr(0,T)}(He,T);const jt=Fe(Ie,Ve.MinusSign);return It(He,T,jt,S,H)}}function Ot(m,T,v=Mt.Format,S=!1){return function(H,ge){return function vt(m,T,v,S,H,ge){switch(v){case ze.Months:return function Cn(m,T,v){const S=(0,g.cg1)(m),ge=Vt([S[g.wAp.MonthsFormat],S[g.wAp.MonthsStandalone]],T);return Vt(ge,v)}(T,H,S)[m.getMonth()];case ze.Days:return function dn(m,T,v){const S=(0,g.cg1)(m),ge=Vt([S[g.wAp.DaysFormat],S[g.wAp.DaysStandalone]],T);return Vt(ge,v)}(T,H,S)[m.getDay()];case ze.DayPeriods:const Ie=m.getHours(),He=m.getMinutes();if(ge){const Lt=function Xn(m){const T=(0,g.cg1)(m);return Vn(T),(T[g.wAp.ExtraData][2]||[]).map(S=>"string"==typeof S?lr(S):[lr(S[0]),lr(S[1])])}(T),Nt=function $n(m,T,v){const S=(0,g.cg1)(m);Vn(S);const ge=Vt([S[g.wAp.ExtraData][0],S[g.wAp.ExtraData][1]],T)||[];return Vt(ge,v)||[]}(T,H,S),ct=Lt.findIndex(Kt=>{if(Array.isArray(Kt)){const[Ht,un]=Kt,On=Ie>=Ht.hours&&He>=Ht.minutes,br=Ie<un.hours||Ie===un.hours&&He<un.minutes;if(Ht.hours<un.hours){if(On&&br)return!0}else if(On||br)return!0}else if(Kt.hours===Ie&&Kt.minutes===He)return!0;return!1});if(-1!==ct)return Nt[ct]}return function cn(m,T,v){const S=(0,g.cg1)(m),ge=Vt([S[g.wAp.DayPeriodsFormat],S[g.wAp.DayPeriodsStandalone]],T);return Vt(ge,v)}(T,H,S)[Ie<12?0:1];case ze.Eras:return function bn(m,T){return Vt((0,g.cg1)(m)[g.wAp.Eras],T)}(T,S)[m.getFullYear()<=0?0:1];default:throw new Error(`unexpected translation type ${v}`)}}(H,ge,m,T,v,S)}}function st(m){return function(T,v,S){const H=-1*S,ge=Fe(v,Ve.MinusSign),Ie=H>0?Math.floor(H/60):Math.ceil(H/60);switch(m){case ke.Short:return(H>=0?"+":"")+It(Ie,2,ge)+It(Math.abs(H%60),2,ge);case ke.ShortGMT:return"GMT"+(H>=0?"+":"")+It(Ie,1,ge);case ke.Long:return"GMT"+(H>=0?"+":"")+It(Ie,2,ge)+":"+It(Math.abs(H%60),2,ge);case ke.Extended:return 0===S?"Z":(H>=0?"+":"")+It(Ie,2,ge)+":"+It(Math.abs(H%60),2,ge);default:throw new Error(`Unknown zone width "${m}"`)}}}function tr(m){return bt(m.getFullYear(),m.getMonth(),m.getDate()+(4-m.getDay()))}function en(m,T=!1){return function(v,S){let H;if(T){const ge=new Date(v.getFullYear(),v.getMonth(),1).getDay()-1,Ie=v.getDate();H=1+Math.floor((Ie+ge)/7)}else{const ge=tr(v),Ie=function er(m){const T=bt(m,0,1).getDay();return bt(m,0,1+(T<=4?4:11)-T)}(ge.getFullYear()),He=ge.getTime()-Ie.getTime();H=1+Math.round(He/6048e5)}return It(H,m,Fe(S,Ve.MinusSign))}}function Sn(m,T=!1){return function(v,S){return It(tr(v).getFullYear(),m,Fe(S,Ve.MinusSign),T)}}const zn={};function vr(m,T){m=m.replace(/:/g,"");const v=Date.parse("Jan 01, 1970 00:00:00 "+m)/6e4;return isNaN(v)?T:v}function ne(m){return m instanceof Date&&!isNaN(m.valueOf())}const Se=/^(\d+)?\.((\d+)(-(\d+))?)?$/,Z=".",R="0";function kt(m){const T=parseInt(m);if(isNaN(T))throw new Error("Invalid integer literal when parsing "+m);return T}class mn{}let ln=(()=>{class m extends mn{constructor(v){super(),this.locale=v}getPluralCategory(v,S){switch(rn(S||this.locale)(v)){case St.Zero:return"zero";case St.One:return"one";case St.Two:return"two";case St.Few:return"few";case St.Many:return"many";default:return"other"}}}return m.\u0275fac=function(v){return new(v||m)(g.LFG(g.soG))},m.\u0275prov=g.Yz7({token:m,factory:m.\u0275fac}),m})();function Jt(m,T){T=encodeURIComponent(T);for(const v of m.split(";")){const S=v.indexOf("="),[H,ge]=-1==S?[v,""]:[v.slice(0,S),v.slice(S+1)];if(H.trim()===T)return decodeURIComponent(ge)}return null}let Mr=(()=>{class m{constructor(v,S,H,ge){this._iterableDiffers=v,this._keyValueDiffers=S,this._ngEl=H,this._renderer=ge,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}set klass(v){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof v?v.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}set ngClass(v){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof v?v.split(/\s+/):v,this._rawClass&&((0,g.sIi)(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}ngDoCheck(){if(this._iterableDiffer){const v=this._iterableDiffer.diff(this._rawClass);v&&this._applyIterableChanges(v)}else if(this._keyValueDiffer){const v=this._keyValueDiffer.diff(this._rawClass);v&&this._applyKeyValueChanges(v)}}_applyKeyValueChanges(v){v.forEachAddedItem(S=>this._toggleClass(S.key,S.currentValue)),v.forEachChangedItem(S=>this._toggleClass(S.key,S.currentValue)),v.forEachRemovedItem(S=>{S.previousValue&&this._toggleClass(S.key,!1)})}_applyIterableChanges(v){v.forEachAddedItem(S=>{if("string"!=typeof S.item)throw new Error(`NgClass can only toggle CSS classes expressed as strings, got ${(0,g.AaK)(S.item)}`);this._toggleClass(S.item,!0)}),v.forEachRemovedItem(S=>this._toggleClass(S.item,!1))}_applyClasses(v){v&&(Array.isArray(v)||v instanceof Set?v.forEach(S=>this._toggleClass(S,!0)):Object.keys(v).forEach(S=>this._toggleClass(S,!!v[S])))}_removeClasses(v){v&&(Array.isArray(v)||v instanceof Set?v.forEach(S=>this._toggleClass(S,!1)):Object.keys(v).forEach(S=>this._toggleClass(S,!1)))}_toggleClass(v,S){(v=v.trim())&&v.split(/\s+/g).forEach(H=>{S?this._renderer.addClass(this._ngEl.nativeElement,H):this._renderer.removeClass(this._ngEl.nativeElement,H)})}}return m.\u0275fac=function(v){return new(v||m)(g.Y36(g.ZZ4),g.Y36(g.aQg),g.Y36(g.SBq),g.Y36(g.Qsj))},m.\u0275dir=g.lG2({type:m,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"}}),m})(),nr=(()=>{class m{constructor(v){this._viewContainerRef=v,this._componentRef=null,this._moduleRef=null}ngOnChanges(v){if(this._viewContainerRef.clear(),this._componentRef=null,this.ngComponentOutlet){const S=this.ngComponentOutletInjector||this._viewContainerRef.parentInjector;if(v.ngComponentOutletNgModuleFactory)if(this._moduleRef&&this._moduleRef.destroy(),this.ngComponentOutletNgModuleFactory){const Ie=S.get(g.h0i);this._moduleRef=this.ngComponentOutletNgModuleFactory.create(Ie.injector)}else this._moduleRef=null;const ge=(this._moduleRef?this._moduleRef.componentFactoryResolver:S.get(g._Vd)).resolveComponentFactory(this.ngComponentOutlet);this._componentRef=this._viewContainerRef.createComponent(ge,this._viewContainerRef.length,S,this.ngComponentOutletContent)}}ngOnDestroy(){this._moduleRef&&this._moduleRef.destroy()}}return m.\u0275fac=function(v){return new(v||m)(g.Y36(g.s_b))},m.\u0275dir=g.lG2({type:m,selectors:[["","ngComponentOutlet",""]],inputs:{ngComponentOutlet:"ngComponentOutlet",ngComponentOutletInjector:"ngComponentOutletInjector",ngComponentOutletContent:"ngComponentOutletContent",ngComponentOutletNgModuleFactory:"ngComponentOutletNgModuleFactory"},features:[g.TTD]}),m})();class pt{constructor(T,v,S,H){this.$implicit=T,this.ngForOf=v,this.index=S,this.count=H}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let An=(()=>{class m{constructor(v,S,H){this._viewContainer=v,this._template=S,this._differs=H,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForOf(v){this._ngForOf=v,this._ngForOfDirty=!0}set ngForTrackBy(v){this._trackByFn=v}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(v){v&&(this._template=v)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const v=this._ngForOf;if(!this._differ&&v)try{this._differ=this._differs.find(v).create(this.ngForTrackBy)}catch(S){throw new Error(`Cannot find a differ supporting object '${v}' of type '${function us(m){return m.name||typeof m}(v)}'. NgFor only supports binding to Iterables such as Arrays.`)}}if(this._differ){const v=this._differ.diff(this._ngForOf);v&&this._applyChanges(v)}}_applyChanges(v){const S=[];v.forEachOperation((H,ge,Ie)=>{if(null==H.previousIndex){const He=this._viewContainer.createEmbeddedView(this._template,new pt(null,this._ngForOf,-1,-1),null===Ie?void 0:Ie),jt=new kn(H,He);S.push(jt)}else if(null==Ie)this._viewContainer.remove(null===ge?void 0:ge);else if(null!==ge){const He=this._viewContainer.get(ge);this._viewContainer.move(He,Ie);const jt=new kn(H,He);S.push(jt)}});for(let H=0;H<S.length;H++)this._perViewChange(S[H].view,S[H].record);for(let H=0,ge=this._viewContainer.length;H<ge;H++){const Ie=this._viewContainer.get(H);Ie.context.index=H,Ie.context.count=ge,Ie.context.ngForOf=this._ngForOf}v.forEachIdentityChange(H=>{this._viewContainer.get(H.currentIndex).context.$implicit=H.item})}_perViewChange(v,S){v.context.$implicit=S.item}static ngTemplateContextGuard(v,S){return!0}}return m.\u0275fac=function(v){return new(v||m)(g.Y36(g.s_b),g.Y36(g.Rgc),g.Y36(g.ZZ4))},m.\u0275dir=g.lG2({type:m,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}}),m})();class kn{constructor(T,v){this.record=T,this.view=v}}let Dr=(()=>{class m{constructor(v,S){this._viewContainer=v,this._context=new In,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=S}set ngIf(v){this._context.$implicit=this._context.ngIf=v,this._updateView()}set ngIfThen(v){Ln("ngIfThen",v),this._thenTemplateRef=v,this._thenViewRef=null,this._updateView()}set ngIfElse(v){Ln("ngIfElse",v),this._elseTemplateRef=v,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(v,S){return!0}}return m.\u0275fac=function(v){return new(v||m)(g.Y36(g.s_b),g.Y36(g.Rgc))},m.\u0275dir=g.lG2({type:m,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}}),m})();class In{constructor(){this.$implicit=null,this.ngIf=null}}function Ln(m,T){if(T&&!T.createEmbeddedView)throw new Error(`${m} must be a TemplateRef, but received '${(0,g.AaK)(T)}'.`)}class hr{constructor(T,v){this._viewContainerRef=T,this._templateRef=v,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(T){T&&!this._created?this.create():!T&&this._created&&this.destroy()}}let zt=(()=>{class m{constructor(){this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(v){this._ngSwitch=v,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(v){this._defaultViews||(this._defaultViews=[]),this._defaultViews.push(v)}_matchCase(v){const S=v==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||S,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),S}_updateDefaultCases(v){if(this._defaultViews&&v!==this._defaultUsed){this._defaultUsed=v;for(let S=0;S<this._defaultViews.length;S++)this._defaultViews[S].enforceState(v)}}}return m.\u0275fac=function(v){return new(v||m)},m.\u0275dir=g.lG2({type:m,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"}}),m})(),Rt=(()=>{class m{constructor(v,S,H){this.ngSwitch=H,H._addCase(),this._view=new hr(v,S)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}return m.\u0275fac=function(v){return new(v||m)(g.Y36(g.s_b),g.Y36(g.Rgc),g.Y36(zt,9))},m.\u0275dir=g.lG2({type:m,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"}}),m})(),Ar=(()=>{class m{constructor(v,S,H){H._addDefault(new hr(v,S))}}return m.\u0275fac=function(v){return new(v||m)(g.Y36(g.s_b),g.Y36(g.Rgc),g.Y36(zt,9))},m.\u0275dir=g.lG2({type:m,selectors:[["","ngSwitchDefault",""]]}),m})(),Er=(()=>{class m{constructor(v,S,H){this._ngEl=v,this._differs=S,this._renderer=H,this._ngStyle=null,this._differ=null}set ngStyle(v){this._ngStyle=v,!this._differ&&v&&(this._differ=this._differs.find(v).create())}ngDoCheck(){if(this._differ){const v=this._differ.diff(this._ngStyle);v&&this._applyChanges(v)}}_setStyle(v,S){const[H,ge]=v.split(".");null!=(S=null!=S&&ge?`${S}${ge}`:S)?this._renderer.setStyle(this._ngEl.nativeElement,H,S):this._renderer.removeStyle(this._ngEl.nativeElement,H)}_applyChanges(v){v.forEachRemovedItem(S=>this._setStyle(S.key,null)),v.forEachAddedItem(S=>this._setStyle(S.key,S.currentValue)),v.forEachChangedItem(S=>this._setStyle(S.key,S.currentValue))}}return m.\u0275fac=function(v){return new(v||m)(g.Y36(g.SBq),g.Y36(g.aQg),g.Y36(g.Qsj))},m.\u0275dir=g.lG2({type:m,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}}),m})(),Qr=(()=>{class m{constructor(v){this._viewContainerRef=v,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null}ngOnChanges(v){if(v.ngTemplateOutlet){const S=this._viewContainerRef;this._viewRef&&S.remove(S.indexOf(this._viewRef)),this._viewRef=this.ngTemplateOutlet?S.createEmbeddedView(this.ngTemplateOutlet,this.ngTemplateOutletContext):null}else this._viewRef&&v.ngTemplateOutletContext&&this.ngTemplateOutletContext&&(this._viewRef.context=this.ngTemplateOutletContext)}}return m.\u0275fac=function(v){return new(v||m)(g.Y36(g.s_b))},m.\u0275dir=g.lG2({type:m,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet"},features:[g.TTD]}),m})();function Wt(m,T){return Error(`InvalidPipeArgument: '${T}' for pipe '${(0,g.AaK)(m)}'`)}class ii{createSubscription(T,v){return T.subscribe({next:v,error:S=>{throw S}})}dispose(T){T.unsubscribe()}onDestroy(T){T.unsubscribe()}}class oi{createSubscription(T,v){return T.then(v,S=>{throw S})}dispose(T){}onDestroy(T){}}const qr=new oi,kr=new ii;let Lr=(()=>{class m{constructor(v){this._ref=v,this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null}ngOnDestroy(){this._subscription&&this._dispose()}transform(v){return this._obj?v!==this._obj?(this._dispose(),this.transform(v)):this._latestValue:(v&&this._subscribe(v),this._latestValue)}_subscribe(v){this._obj=v,this._strategy=this._selectStrategy(v),this._subscription=this._strategy.createSubscription(v,S=>this._updateLatestValue(v,S))}_selectStrategy(v){if((0,g.QGY)(v))return qr;if((0,g.F4k)(v))return kr;throw Wt(m,v)}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(v,S){v===this._obj&&(this._latestValue=S,this._ref.markForCheck())}}return m.\u0275fac=function(v){return new(v||m)(g.Y36(g.sBO,16))},m.\u0275pipe=g.Yjl({name:"async",type:m,pure:!1}),m})();const Di=new g.OlP("DATE_PIPE_DEFAULT_TIMEZONE");let Bs=(()=>{class m{constructor(v,S){this.locale=v,this.defaultTimezone=S}transform(v,S="mediumDate",H,ge){var Ie;if(null==v||""===v||v!=v)return null;try{return ut(v,S,ge||this.locale,null!==(Ie=null!=H?H:this.defaultTimezone)&&void 0!==Ie?Ie:void 0)}catch(He){throw Wt(m,He.message)}}}return m.\u0275fac=function(v){return new(v||m)(g.Y36(g.soG,16),g.Y36(Di,24))},m.\u0275pipe=g.Yjl({name:"date",type:m,pure:!0}),m})(),Us=(()=>{class m{transform(v){return JSON.stringify(v,null,2)}}return m.\u0275fac=function(v){return new(v||m)},m.\u0275pipe=g.Yjl({name:"json",type:m,pure:!1}),m})(),As=(()=>{class m{constructor(v){this.differs=v,this.keyValues=[],this.compareFn=Vs}transform(v,S=Vs){if(!v||!(v instanceof Map)&&"object"!=typeof v)return null;this.differ||(this.differ=this.differs.find(v).create());const H=this.differ.diff(v),ge=S!==this.compareFn;return H&&(this.keyValues=[],H.forEachItem(Ie=>{this.keyValues.push(function Hs(m,T){return{key:m,value:T}}(Ie.key,Ie.currentValue))})),(H||ge)&&(this.keyValues.sort(S),this.compareFn=S),this.keyValues}}return m.\u0275fac=function(v){return new(v||m)(g.Y36(g.aQg,16))},m.\u0275pipe=g.Yjl({name:"keyvalue",type:m,pure:!1}),m})();function Vs(m,T){const v=m.key,S=T.key;if(v===S)return 0;if(void 0===v)return 1;if(void 0===S)return-1;if(null===v)return 1;if(null===S)return-1;if("string"==typeof v&&"string"==typeof S)return v<S?-1:1;if("number"==typeof v&&"number"==typeof S)return v-S;if("boolean"==typeof v&&"boolean"==typeof S)return v<S?-1:1;const H=String(v),ge=String(S);return H==ge?0:H<ge?-1:1}let ds=(()=>{class m{constructor(v){this._locale=v}transform(v,S,H){if(!function $s(m){return!(null==m||""===m||m!=m)}(v))return null;H=H||this._locale;try{return function pn(m,T,v){return function qn(m,T,v,S,H,ge,Ie=!1){let He="",jt=!1;if(isFinite(m)){let Lt=function Le(m){let S,H,ge,Ie,He,T=Math.abs(m)+"",v=0;for((H=T.indexOf(Z))>-1&&(T=T.replace(Z,"")),(ge=T.search(/e/i))>0?(H<0&&(H=ge),H+=+T.slice(ge+1),T=T.substring(0,ge)):H<0&&(H=T.length),ge=0;T.charAt(ge)===R;ge++);if(ge===(He=T.length))S=[0],H=1;else{for(He--;T.charAt(He)===R;)He--;for(H-=ge,S=[],Ie=0;ge<=He;ge++,Ie++)S[Ie]=Number(T.charAt(ge))}return H>22&&(S=S.splice(0,21),v=H-1,H=1),{digits:S,exponent:v,integerLen:H}}(m);Ie&&(Lt=function Mn(m){if(0===m.digits[0])return m;const T=m.digits.length-m.integerLen;return m.exponent?m.exponent+=2:(0===T?m.digits.push(0,0):1===T&&m.digits.push(0),m.integerLen+=2),m}(Lt));let Nt=T.minInt,ct=T.minFrac,Kt=T.maxFrac;if(ge){const tt=ge.match(Se);if(null===tt)throw new Error(`${ge} is not a valid digit info`);const li=tt[1],Os=tt[3],ys=tt[5];null!=li&&(Nt=kt(li)),null!=Os&&(ct=kt(Os)),null!=ys?Kt=kt(ys):null!=Os&&ct>Kt&&(Kt=ct)}!function Dt(m,T,v){if(T>v)throw new Error(`The minimum number of digits after fraction (${T}) is higher than the maximum (${v}).`);let S=m.digits,H=S.length-m.integerLen;const ge=Math.min(Math.max(T,H),v);let Ie=ge+m.integerLen,He=S[Ie];if(Ie>0){S.splice(Math.max(m.integerLen,Ie));for(let ct=Ie;ct<S.length;ct++)S[ct]=0}else{H=Math.max(0,H),m.integerLen=1,S.length=Math.max(1,Ie=ge+1),S[0]=0;for(let ct=1;ct<Ie;ct++)S[ct]=0}if(He>=5)if(Ie-1<0){for(let ct=0;ct>Ie;ct--)S.unshift(0),m.integerLen++;S.unshift(1),m.integerLen++}else S[Ie-1]++;for(;H<Math.max(0,ge);H++)S.push(0);let jt=0!==ge;const Lt=T+m.integerLen,Nt=S.reduceRight(function(ct,Kt,Ht,un){return un[Ht]=(Kt+=ct)<10?Kt:Kt-10,jt&&(0===un[Ht]&&Ht>=Lt?un.pop():jt=!1),Kt>=10?1:0},0);Nt&&(S.unshift(Nt),m.integerLen++)}(Lt,ct,Kt);let Ht=Lt.digits,un=Lt.integerLen;const On=Lt.exponent;let br=[];for(jt=Ht.every(tt=>!tt);un<Nt;un++)Ht.unshift(0);for(;un<0;un++)Ht.unshift(0);un>0?br=Ht.splice(un,Ht.length):(br=Ht,Ht=[0]);const Ur=[];for(Ht.length>=T.lgSize&&Ur.unshift(Ht.splice(-T.lgSize,Ht.length).join(""));Ht.length>T.gSize;)Ur.unshift(Ht.splice(-T.gSize,Ht.length).join(""));Ht.length&&Ur.unshift(Ht.join("")),He=Ur.join(Fe(v,S)),br.length&&(He+=Fe(v,H)+br.join("")),On&&(He+=Fe(v,Ve.Exponential)+"+"+On)}else He=Fe(v,Ve.Infinity);return He=m<0&&!jt?T.negPre+He+T.negSuf:T.posPre+He+T.posSuf,He}(m,function Yr(m,T="-"){const v={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},S=m.split(";"),H=S[0],ge=S[1],Ie=-1!==H.indexOf(Z)?H.split(Z):[H.substring(0,H.lastIndexOf(R)+1),H.substring(H.lastIndexOf(R)+1)],He=Ie[0],jt=Ie[1]||"";v.posPre=He.substr(0,He.indexOf("#"));for(let Nt=0;Nt<jt.length;Nt++){const ct=jt.charAt(Nt);ct===R?v.minFrac=v.maxFrac=Nt+1:"#"===ct?v.maxFrac=Nt+1:v.posSuf+=ct}const Lt=He.split(",");if(v.gSize=Lt[1]?Lt[1].length:0,v.lgSize=Lt[2]||Lt[1]?(Lt[2]||Lt[1]).length:0,ge){const Nt=H.length-v.posPre.length-v.posSuf.length,ct=ge.indexOf("#");v.negPre=ge.substr(0,ct).replace(/'/g,""),v.negSuf=ge.substr(ct+Nt).replace(/'/g,"")}else v.negPre=T+v.posPre,v.negSuf=v.posSuf;return v}(function je(m,T){return(0,g.cg1)(m)[g.wAp.NumberFormats][T]}(T,ht.Decimal),Fe(T,Ve.MinusSign)),T,Ve.Group,Ve.Decimal,v)}(function fs(m){if("string"==typeof m&&!isNaN(Number(m)-parseFloat(m)))return Number(m);if("number"!=typeof m)throw new Error(`${m} is not a number`);return m}(v),H,S)}catch(ge){throw Wt(m,ge.message)}}}return m.\u0275fac=function(v){return new(v||m)(g.Y36(g.soG,16))},m.\u0275pipe=g.Yjl({name:"number",type:m,pure:!0}),m})();let yn=(()=>{class m{transform(v,S,H){if(null==v)return null;if(!this.supports(v))throw Wt(m,v);return v.slice(S,H)}supports(v){return"string"==typeof v||Array.isArray(v)}}return m.\u0275fac=function(v){return new(v||m)},m.\u0275pipe=g.Yjl({name:"slice",type:m,pure:!1}),m})(),fr=(()=>{class m{}return m.\u0275fac=function(v){return new(v||m)},m.\u0275mod=g.oAB({type:m}),m.\u0275inj=g.cJS({providers:[{provide:mn,useClass:ln}]}),m})();const ps="browser";function Cr(m){return m===ps}let Ws=(()=>{class m{}return m.\u0275prov=(0,g.Yz7)({token:m,providedIn:"root",factory:()=>new Ps((0,g.LFG)(Q),window)}),m})();class Ps{constructor(T,v){this.document=T,this.window=v,this.offset=()=>[0,0]}setOffset(T){this.offset=Array.isArray(T)?()=>T:T}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(T){this.supportsScrolling()&&this.window.scrollTo(T[0],T[1])}scrollToAnchor(T){if(!this.supportsScrolling())return;const v=function Ks(m,T){const v=m.getElementById(T)||m.getElementsByName(T)[0];if(v)return v;if("function"==typeof m.createTreeWalker&&m.body&&(m.body.createShadowRoot||m.body.attachShadow)){const S=m.createTreeWalker(m.body,NodeFilter.SHOW_ELEMENT);let H=S.currentNode;for(;H;){const ge=H.shadowRoot;if(ge){const Ie=ge.getElementById(T)||ge.querySelector(`[name="${T}"]`);if(Ie)return Ie}H=S.nextNode()}}return null}(this.document,T);v&&(this.scrollToElement(v),this.attemptFocus(v))}setHistoryScrollRestoration(T){if(this.supportScrollRestoration()){const v=this.window.history;v&&v.scrollRestoration&&(v.scrollRestoration=T)}}scrollToElement(T){const v=T.getBoundingClientRect(),S=v.left+this.window.pageXOffset,H=v.top+this.window.pageYOffset,ge=this.offset();this.window.scrollTo(S-ge[0],H-ge[1])}attemptFocus(T){return T.focus(),this.document.activeElement===T}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const T=jr(this.window.history)||jr(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 jr(m){return Object.getOwnPropertyDescriptor(m,"scrollRestoration")}class Qs{}},520:(Ge,he,M)=>{M.d(he,{JF:()=>Vt,TP:()=>Pt,WM:()=>V,eN:()=>Ve});var g=M(9808),_=M(9863),J=M(1086),ie=M(2916),B=M(1406),U=M(2198),Q=M(4850);class q{}class z{}class V{constructor(Y){this.normalizedNames=new Map,this.lazyUpdate=null,Y?this.lazyInit="string"==typeof Y?()=>{this.headers=new Map,Y.split("\n").forEach(K=>{const Ee=K.indexOf(":");if(Ee>0){const le=K.slice(0,Ee),ke=le.toLowerCase(),Oe=K.slice(Ee+1).trim();this.maybeSetNormalizedName(le,ke),this.headers.has(ke)?this.headers.get(ke).push(Oe):this.headers.set(ke,[Oe])}})}:()=>{this.headers=new Map,Object.keys(Y).forEach(K=>{let Ee=Y[K];const le=K.toLowerCase();"string"==typeof Ee&&(Ee=[Ee]),Ee.length>0&&(this.headers.set(le,Ee),this.maybeSetNormalizedName(K,le))})}:this.headers=new Map}has(Y){return this.init(),this.headers.has(Y.toLowerCase())}get(Y){this.init();const K=this.headers.get(Y.toLowerCase());return K&&K.length>0?K[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(Y){return this.init(),this.headers.get(Y.toLowerCase())||null}append(Y,K){return this.clone({name:Y,value:K,op:"a"})}set(Y,K){return this.clone({name:Y,value:K,op:"s"})}delete(Y,K){return this.clone({name:Y,value:K,op:"d"})}maybeSetNormalizedName(Y,K){this.normalizedNames.has(K)||this.normalizedNames.set(K,Y)}init(){this.lazyInit&&(this.lazyInit instanceof V?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(K=>{this.headers.set(K,Y.headers.get(K)),this.normalizedNames.set(K,Y.normalizedNames.get(K))})}clone(Y){const K=new V;return K.lazyInit=this.lazyInit&&this.lazyInit instanceof V?this.lazyInit:this,K.lazyUpdate=(this.lazyUpdate||[]).concat([Y]),K}applyUpdate(Y){const K=Y.name.toLowerCase();switch(Y.op){case"a":case"s":let Ee=Y.value;if("string"==typeof Ee&&(Ee=[Ee]),0===Ee.length)return;this.maybeSetNormalizedName(Y.name,K);const le=("a"===Y.op?this.headers.get(K):void 0)||[];le.push(...Ee),this.headers.set(K,le);break;case"d":const ke=Y.value;if(ke){let Oe=this.headers.get(K);if(!Oe)return;Oe=Oe.filter(ze=>-1===ke.indexOf(ze)),0===Oe.length?(this.headers.delete(K),this.normalizedNames.delete(K)):this.headers.set(K,Oe)}else this.headers.delete(K),this.normalizedNames.delete(K)}}forEach(Y){this.init(),Array.from(this.normalizedNames.keys()).forEach(K=>Y(this.normalizedNames.get(K),this.headers.get(K)))}}class F{encodeKey(Y){return te(Y)}encodeValue(Y){return te(Y)}decodeKey(Y){return decodeURIComponent(Y)}decodeValue(Y){return decodeURIComponent(Y)}}const fe=/%(\d[a-f0-9])/gi,Te={40:"@","3A":":",24:"$","2C":",","3B":";","2B":"+","3D":"=","3F":"?","2F":"/"};function te(De){return encodeURIComponent(De).replace(fe,(Y,K)=>{var Ee;return null!==(Ee=Te[K])&&void 0!==Ee?Ee:Y})}function ce(De){return`${De}`}class Ce{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 ae(De,Y){const K=new Map;return De.length>0&&De.replace(/^\?/,"").split("&").forEach(le=>{const ke=le.indexOf("="),[Oe,ze]=-1==ke?[Y.decodeKey(le),""]:[Y.decodeKey(le.slice(0,ke)),Y.decodeValue(le.slice(ke+1))],ut=K.get(Oe)||[];ut.push(ze),K.set(Oe,ut)}),K}(Y.fromString,this.encoder)}else Y.fromObject?(this.map=new Map,Object.keys(Y.fromObject).forEach(K=>{const Ee=Y.fromObject[K];this.map.set(K,Array.isArray(Ee)?Ee:[Ee])})):this.map=null}has(Y){return this.init(),this.map.has(Y)}get(Y){this.init();const K=this.map.get(Y);return K?K[0]:null}getAll(Y){return this.init(),this.map.get(Y)||null}keys(){return this.init(),Array.from(this.map.keys())}append(Y,K){return this.clone({param:Y,value:K,op:"a"})}appendAll(Y){const K=[];return Object.keys(Y).forEach(Ee=>{const le=Y[Ee];Array.isArray(le)?le.forEach(ke=>{K.push({param:Ee,value:ke,op:"a"})}):K.push({param:Ee,value:le,op:"a"})}),this.clone(K)}set(Y,K){return this.clone({param:Y,value:K,op:"s"})}delete(Y,K){return this.clone({param:Y,value:K,op:"d"})}toString(){return this.init(),this.keys().map(Y=>{const K=this.encoder.encodeKey(Y);return this.map.get(Y).map(Ee=>K+"="+this.encoder.encodeValue(Ee)).join("&")}).filter(Y=>""!==Y).join("&")}clone(Y){const K=new Ce({encoder:this.encoder});return K.cloneFrom=this.cloneFrom||this,K.updates=(this.updates||[]).concat(Y),K}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 K=("a"===Y.op?this.map.get(Y.param):void 0)||[];K.push(ce(Y.value)),this.map.set(Y.param,K);break;case"d":if(void 0===Y.value){this.map.delete(Y.param);break}{let Ee=this.map.get(Y.param)||[];const le=Ee.indexOf(ce(Y.value));-1!==le&&Ee.splice(le,1),Ee.length>0?this.map.set(Y.param,Ee):this.map.delete(Y.param)}}}),this.cloneFrom=this.updates=null)}}class Ne{constructor(){this.map=new Map}set(Y,K){return this.map.set(Y,K),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 oe(De){return"undefined"!=typeof ArrayBuffer&&De instanceof ArrayBuffer}function pe(De){return"undefined"!=typeof Blob&&De instanceof Blob}function Ke(De){return"undefined"!=typeof FormData&&De instanceof FormData}class rt{constructor(Y,K,Ee,le){let ke;if(this.url=K,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=Y.toUpperCase(),function Ae(De){switch(De){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||le?(this.body=void 0!==Ee?Ee:null,ke=le):ke=Ee,ke&&(this.reportProgress=!!ke.reportProgress,this.withCredentials=!!ke.withCredentials,ke.responseType&&(this.responseType=ke.responseType),ke.headers&&(this.headers=ke.headers),ke.context&&(this.context=ke.context),ke.params&&(this.params=ke.params)),this.headers||(this.headers=new V),this.context||(this.context=new Ne),this.params){const Oe=this.params.toString();if(0===Oe.length)this.urlWithParams=K;else{const ze=K.indexOf("?");this.urlWithParams=K+(-1===ze?"?":ze<K.length-1?"&":"")+Oe}}else this.params=new Ce,this.urlWithParams=K}serializeBody(){return null===this.body?null:oe(this.body)||pe(this.body)||Ke(this.body)||function yt(De){return"undefined"!=typeof URLSearchParams&&De instanceof URLSearchParams}(this.body)||"string"==typeof this.body?this.body:this.body instanceof Ce?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||Ke(this.body)?null:pe(this.body)?this.body.type||null:oe(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof Ce?"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 K;const Ee=Y.method||this.method,le=Y.url||this.url,ke=Y.responseType||this.responseType,Oe=void 0!==Y.body?Y.body:this.body,ze=void 0!==Y.withCredentials?Y.withCredentials:this.withCredentials,ut=void 0!==Y.reportProgress?Y.reportProgress:this.reportProgress;let bt=Y.headers||this.headers,qt=Y.params||this.params;const sn=null!==(K=Y.context)&&void 0!==K?K:this.context;return void 0!==Y.setHeaders&&(bt=Object.keys(Y.setHeaders).reduce((It,Ct)=>It.set(Ct,Y.setHeaders[Ct]),bt)),Y.setParams&&(qt=Object.keys(Y.setParams).reduce((It,Ct)=>It.set(Ct,Y.setParams[Ct]),qt)),new rt(Ee,le,Oe,{params:qt,headers:bt,context:sn,reportProgress:ut,responseType:ke,withCredentials:ze})}}var at=(()=>((at=at||{})[at.Sent=0]="Sent",at[at.UploadProgress=1]="UploadProgress",at[at.ResponseHeader=2]="ResponseHeader",at[at.DownloadProgress=3]="DownloadProgress",at[at.Response=4]="Response",at[at.User=5]="User",at))();class ht{constructor(Y,K=200,Ee="OK"){this.headers=Y.headers||new V,this.status=void 0!==Y.status?Y.status:K,this.statusText=Y.statusText||Ee,this.url=Y.url||null,this.ok=this.status>=200&&this.status<300}}class St extends ht{constructor(Y={}){super(Y),this.type=at.ResponseHeader}clone(Y={}){return new St({headers:Y.headers||this.headers,status:void 0!==Y.status?Y.status:this.status,statusText:Y.statusText||this.statusText,url:Y.url||this.url||void 0})}}class Mt extends ht{constructor(Y={}){super(Y),this.type=at.Response,this.body=void 0!==Y.body?Y.body:null}clone(Y={}){return new Mt({body:void 0!==Y.body?Y.body:this.body,headers:Y.headers||this.headers,status:void 0!==Y.status?Y.status:this.status,statusText:Y.statusText||this.statusText,url:Y.url||this.url||void 0})}}class ft 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 lt(De,Y){return{body:Y,headers:De.headers,context:De.context,observe:De.observe,params:De.params,reportProgress:De.reportProgress,responseType:De.responseType,withCredentials:De.withCredentials}}let Ve=(()=>{class De{constructor(K){this.handler=K}request(K,Ee,le={}){let ke;if(K instanceof rt)ke=K;else{let ut,bt;ut=le.headers instanceof V?le.headers:new V(le.headers),le.params&&(bt=le.params instanceof Ce?le.params:new Ce({fromObject:le.params})),ke=new rt(K,Ee,void 0!==le.body?le.body:null,{headers:ut,context:le.context,params:bt,reportProgress:le.reportProgress,responseType:le.responseType||"json",withCredentials:le.withCredentials})}const Oe=(0,J.of)(ke).pipe((0,B.b)(ut=>this.handler.handle(ut)));if(K instanceof rt||"events"===le.observe)return Oe;const ze=Oe.pipe((0,U.h)(ut=>ut instanceof Mt));switch(le.observe||"body"){case"body":switch(ke.responseType){case"arraybuffer":return ze.pipe((0,Q.U)(ut=>{if(null!==ut.body&&!(ut.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return ut.body}));case"blob":return ze.pipe((0,Q.U)(ut=>{if(null!==ut.body&&!(ut.body instanceof Blob))throw new Error("Response is not a Blob.");return ut.body}));case"text":return ze.pipe((0,Q.U)(ut=>{if(null!==ut.body&&"string"!=typeof ut.body)throw new Error("Response is not a string.");return ut.body}));default:return ze.pipe((0,Q.U)(ut=>ut.body))}case"response":return ze;default:throw new Error(`Unreachable: unhandled observe type ${le.observe}}`)}}delete(K,Ee={}){return this.request("DELETE",K,Ee)}get(K,Ee={}){return this.request("GET",K,Ee)}head(K,Ee={}){return this.request("HEAD",K,Ee)}jsonp(K,Ee){return this.request("JSONP",K,{params:(new Ce).append(Ee,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(K,Ee={}){return this.request("OPTIONS",K,Ee)}patch(K,Ee,le={}){return this.request("PATCH",K,lt(le,Ee))}post(K,Ee,le={}){return this.request("POST",K,lt(le,Ee))}put(K,Ee,le={}){return this.request("PUT",K,lt(le,Ee))}}return De.\u0275fac=function(K){return new(K||De)(_.LFG(q))},De.\u0275prov=_.Yz7({token:De,factory:De.\u0275fac}),De})();class Hn{constructor(Y,K){this.next=Y,this.interceptor=K}handle(Y){return this.interceptor.intercept(Y,this.next)}}const Pt=new _.OlP("HTTP_INTERCEPTORS");let cn=(()=>{class De{intercept(K,Ee){return Ee.handle(K)}}return De.\u0275fac=function(K){return new(K||De)},De.\u0275prov=_.Yz7({token:De,factory:De.\u0275fac}),De})();const ue=/^\)\]\}',?\n/;let je=(()=>{class De{constructor(K){this.xhrFactory=K}handle(K){if("JSONP"===K.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new ie.y(Ee=>{const le=this.xhrFactory.build();if(le.open(K.method,K.urlWithParams),K.withCredentials&&(le.withCredentials=!0),K.headers.forEach((Ct,Ue)=>le.setRequestHeader(Ct,Ue.join(","))),K.headers.has("Accept")||le.setRequestHeader("Accept","application/json, text/plain, */*"),!K.headers.has("Content-Type")){const Ct=K.detectContentTypeHeader();null!==Ct&&le.setRequestHeader("Content-Type",Ct)}if(K.responseType){const Ct=K.responseType.toLowerCase();le.responseType="json"!==Ct?Ct:"text"}const ke=K.serializeBody();let Oe=null;const ze=()=>{if(null!==Oe)return Oe;const Ct=1223===le.status?204:le.status,Ue=le.statusText||"OK",Nn=new V(le.getAllResponseHeaders()),Ot=function Fe(De){return"responseURL"in De&&De.responseURL?De.responseURL:/^X-Request-URL:/m.test(De.getAllResponseHeaders())?De.getResponseHeader("X-Request-URL"):null}(le)||K.url;return Oe=new St({headers:Nn,status:Ct,statusText:Ue,url:Ot}),Oe},ut=()=>{let{headers:Ct,status:Ue,statusText:Nn,url:Ot}=ze(),vt=null;204!==Ue&&(vt=void 0===le.response?le.responseText:le.response),0===Ue&&(Ue=vt?200:0);let st=Ue>=200&&Ue<300;if("json"===K.responseType&&"string"==typeof vt){const ur=vt;vt=vt.replace(ue,"");try{vt=""!==vt?JSON.parse(vt):null}catch(wn){vt=ur,st&&(st=!1,vt={error:wn,text:vt})}}st?(Ee.next(new Mt({body:vt,headers:Ct,status:Ue,statusText:Nn,url:Ot||void 0})),Ee.complete()):Ee.error(new ft({error:vt,headers:Ct,status:Ue,statusText:Nn,url:Ot||void 0}))},bt=Ct=>{const{url:Ue}=ze(),Nn=new ft({error:Ct,status:le.status||0,statusText:le.statusText||"Unknown Error",url:Ue||void 0});Ee.error(Nn)};let qt=!1;const sn=Ct=>{qt||(Ee.next(ze()),qt=!0);let Ue={type:at.DownloadProgress,loaded:Ct.loaded};Ct.lengthComputable&&(Ue.total=Ct.total),"text"===K.responseType&&!!le.responseText&&(Ue.partialText=le.responseText),Ee.next(Ue)},It=Ct=>{let Ue={type:at.UploadProgress,loaded:Ct.loaded};Ct.lengthComputable&&(Ue.total=Ct.total),Ee.next(Ue)};return le.addEventListener("load",ut),le.addEventListener("error",bt),le.addEventListener("timeout",bt),le.addEventListener("abort",bt),K.reportProgress&&(le.addEventListener("progress",sn),null!==ke&&le.upload&&le.upload.addEventListener("progress",It)),le.send(ke),Ee.next({type:at.Sent}),()=>{le.removeEventListener("error",bt),le.removeEventListener("abort",bt),le.removeEventListener("load",ut),le.removeEventListener("timeout",bt),K.reportProgress&&(le.removeEventListener("progress",sn),null!==ke&&le.upload&&le.upload.removeEventListener("progress",It)),le.readyState!==le.DONE&&le.abort()}})}}return De.\u0275fac=function(K){return new(K||De)(_.LFG(g.JF))},De.\u0275prov=_.Yz7({token:De,factory:De.\u0275fac}),De})();const nn=new _.OlP("XSRF_COOKIE_NAME"),Ut=new _.OlP("XSRF_HEADER_NAME");class Gt{}let hn=(()=>{class De{constructor(K,Ee,le){this.doc=K,this.platform=Ee,this.cookieName=le,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const K=this.doc.cookie||"";return K!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,g.Mx)(K,this.cookieName),this.lastCookieString=K),this.lastToken}}return De.\u0275fac=function(K){return new(K||De)(_.LFG(g.K0),_.LFG(_.Lbi),_.LFG(nn))},De.\u0275prov=_.Yz7({token:De,factory:De.\u0275fac}),De})(),rn=(()=>{class De{constructor(K,Ee){this.tokenService=K,this.headerName=Ee}intercept(K,Ee){const le=K.url.toLowerCase();if("GET"===K.method||"HEAD"===K.method||le.startsWith("http://")||le.startsWith("https://"))return Ee.handle(K);const ke=this.tokenService.getToken();return null!==ke&&!K.headers.has(this.headerName)&&(K=K.clone({headers:K.headers.set(this.headerName,ke)})),Ee.handle(K)}}return De.\u0275fac=function(K){return new(K||De)(_.LFG(Gt),_.LFG(Ut))},De.\u0275prov=_.Yz7({token:De,factory:De.\u0275fac}),De})(),Vn=(()=>{class De{constructor(K,Ee){this.backend=K,this.injector=Ee,this.chain=null}handle(K){if(null===this.chain){const Ee=this.injector.get(Pt,[]);this.chain=Ee.reduceRight((le,ke)=>new Hn(le,ke),this.backend)}return this.chain.handle(K)}}return De.\u0275fac=function(K){return new(K||De)(_.LFG(z),_.LFG(_.zs3))},De.\u0275prov=_.Yz7({token:De,factory:De.\u0275fac}),De})(),xn=(()=>{class De{static disable(){return{ngModule:De,providers:[{provide:rn,useClass:cn}]}}static withOptions(K={}){return{ngModule:De,providers:[K.cookieName?{provide:nn,useValue:K.cookieName}:[],K.headerName?{provide:Ut,useValue:K.headerName}:[]]}}}return De.\u0275fac=function(K){return new(K||De)},De.\u0275mod=_.oAB({type:De}),De.\u0275inj=_.cJS({providers:[rn,{provide:Pt,useExisting:rn,multi:!0},{provide:Gt,useClass:hn},{provide:nn,useValue:"XSRF-TOKEN"},{provide:Ut,useValue:"X-XSRF-TOKEN"}]}),De})(),Vt=(()=>{class De{}return De.\u0275fac=function(K){return new(K||De)},De.\u0275mod=_.oAB({type:De}),De.\u0275inj=_.cJS({providers:[Ve,{provide:q,useClass:Vn},je,{provide:z,useExisting:je}],imports:[[xn.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]]}),De})()},9863:(Ge,he,M)=>{M.d(he,{deG:()=>kg,tb:()=>lg,AFp:()=>ig,ip1:()=>$u,CZH:()=>lo,hGG:()=>WC,z2F:()=>Qo,sBO:()=>EC,Sil:()=>Gu,_Vd:()=>Vo,EJc:()=>cg,SBq:()=>$o,qLn:()=>Ao,vpe:()=>Ms,tBr:()=>Co,XFs:()=>nt,OlP:()=>Dn,zs3:()=>Wr,ZZ4:()=>Va,aQg:()=>$a,soG:()=>Ua,YKP:()=>dp,h0i:()=>io,PXZ:()=>pC,R0b:()=>Nr,FiY:()=>hi,Lbi:()=>ag,g9A:()=>og,n_E:()=>Na,Qsj:()=>rE,FYo:()=>ap,JOm:()=>Cs,q3G:()=>Tn,tp0:()=>xi,Rgc:()=>Ko,dDg:()=>fg,GfV:()=>lp,s_b:()=>ka,ifc:()=>bt,eFA:()=>mg,G48:()=>DC,Gpc:()=>Te,f3M:()=>qg,_c5:()=>jC,VLi:()=>dC,c2e:()=>ug,zSh:()=>zl,wAp:()=>dt,vHH:()=>be,EiD:()=>Nc,mCW:()=>wo,qzn:()=>ki,JVY:()=>gm,pB0:()=>_m,eBb:()=>ym,L6k:()=>mm,LAX:()=>vm,cg1:()=>Eu,kL8:()=>Of,yhl:()=>Sc,dqk:()=>Ue,sIi:()=>No,CqO:()=>Bh,QGY:()=>uu,F4k:()=>Lh,RDi:()=>Ks,AaK:()=>F,z3N:()=>Ns,qOj:()=>Ql,TTD:()=>fr,_Bn:()=>sp,xp6:()=>gd,uIk:()=>Jl,Tol:()=>of,Gre:()=>Ef,ekj:()=>gu,Suo:()=>Lp,Xpm:()=>Gn,lG2:()=>O,Yz7:()=>je,cJS:()=>Ut,oAB:()=>x,Yjl:()=>Z,Y36:()=>ko,_UZ:()=>Nh,GkF:()=>Fh,BQk:()=>lu,ynx:()=>au,qZA:()=>ou,TgZ:()=>iu,EpF:()=>kh,n5z:()=>ns,Ikx:()=>_u,LFG:()=>Qn,$8M:()=>Pr,$Z:()=>xh,NdJ:()=>cu,CRH:()=>Bp,kcU:()=>Yn,O4$:()=>gn,oxw:()=>Hh,ALo:()=>Sp,lcZ:()=>Mp,xi3:()=>Ap,Dn7:()=>Ip,Hsn:()=>$h,F$t:()=>Vh,Q6J:()=>ru,s9C:()=>fu,MGl:()=>Ta,DdM:()=>gp,VKq:()=>mp,WLB:()=>yp,kEZ:()=>vp,l5B:()=>_p,qbA:()=>Dp,iGM:()=>Fp,MAs:()=>Ch,CHM:()=>co,oJD:()=>Fc,LSH:()=>il,Udp:()=>pu,WFA:()=>du,d8E:()=>Du,YNc:()=>Eh,W1O:()=>Vp,_uU:()=>ff,Oqu:()=>yu,hij:()=>Ma,AsE:()=>vu,Gf:()=>kp});var g=M(8929),_=M(2654),J=M(2916),ie=M(6787),B=M(2536),U=M(4327);function Q(){return new g.xQ}function z(e){for(let t in e)if(e[t]===z)return t;throw Error("Could not find renamed property on target object.")}function V(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 ae(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const fe=z({__forward_ref__:z});function Te(e){return e.__forward_ref__=Te,e.toString=function(){return F(this())},e}function te(e){return ce(e)?e():e}function ce(e){return"function"==typeof e&&e.hasOwnProperty(fe)&&e.__forward_ref__===Te}class be extends Error{constructor(t,n){super(function Ae(e,t){return`${e?`NG0${e}: `:""}${t}`}(t,n)),this.code=t}}function oe(e){return"string"==typeof e?e:null==e?"":String(e)}function pe(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():oe(e)}function at(e,t){const n=t?` in ${t}`:"";throw new be("201",`No provider for ${pe(e)} found${n}`)}function _e(e,t){null==e&&function we(e,t,n,r){throw new Error(`ASSERTION ERROR: ${e}`+(null==r?"":` [Expected=> ${n} ${r} ${t} <=Actual]`))}(t,e,null,"!=")}function je(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Ut(e){return{providers:e.providers||[],imports:e.imports||[]}}function Gt(e){return hn(e,$n)||hn(e,Vt)}function hn(e,t){return e.hasOwnProperty(t)?e[t]:null}function Xn(e){return e&&(e.hasOwnProperty(xn)||e.hasOwnProperty(lr))?e[xn]:null}const $n=z({\u0275prov:z}),xn=z({\u0275inj:z}),Vt=z({ngInjectableDef:z}),lr=z({ngInjectorDef:z});var nt=(()=>((nt=nt||{})[nt.Default=0]="Default",nt[nt.Host=1]="Host",nt[nt.Self=2]="Self",nt[nt.SkipSelf=4]="SkipSelf",nt[nt.Optional=8]="Optional",nt))();let De;function K(e){const t=De;return De=e,t}function Ee(e,t,n){const r=Gt(e);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:n&nt.Optional?null:void 0!==t?t:void at(F(e),"Injector")}function ke(e){return{toString:e}.toString()}var Oe=(()=>((Oe=Oe||{})[Oe.OnPush=0]="OnPush",Oe[Oe.Default=1]="Default",Oe))(),bt=(()=>{return(e=bt||(bt={}))[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",bt;var e})();const qt="undefined"!=typeof globalThis&&globalThis,sn="undefined"!=typeof window&&window,It="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,Ue=qt||"undefined"!=typeof global&&global||sn||It,vt={},st=[],ur=z({\u0275cmp:z}),wn=z({\u0275dir:z}),er=z({\u0275pipe:z}),tr=z({\u0275mod:z}),en=z({\u0275fac:z}),Sn=z({__NG_ELEMENT_ID__:z});let zn=0;function Gn(e){return ke(()=>{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===Oe.OnPush,directiveDefs:null,pipeDefs:null,selectors:e.selectors||st,viewQuery:e.viewQuery||null,features:e.features||null,data:e.data||{},encapsulation:e.encapsulation||bt.Emulated,id:"c",styles:e.styles||st,_:null,setInput:null,schemas:e.schemas||null,tView:null},s=e.directives,i=e.features,a=e.pipes;return r.id+=zn++,r.inputs=Se(e.inputs,n),r.outputs=Se(e.outputs),i&&i.forEach(d=>d(r)),r.directiveDefs=s?()=>("function"==typeof s?s():s).map(cr):null,r.pipeDefs=a?()=>("function"==typeof a?a():a).map(se):null,r})}function cr(e){return R(e)||function de(e){return e[wn]||null}(e)}function se(e){return function it(e){return e[er]||null}(e)}const L={};function x(e){return ke(()=>{const t={type:e.type,bootstrap:e.bootstrap||st,declarations:e.declarations||st,imports:e.imports||st,exports:e.exports||st,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null};return null!=e.id&&(L[e.id]=e.type),t})}function Se(e,t){if(null==e)return vt;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 O=Gn;function Z(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,onDestroy:e.type.prototype.ngOnDestroy||null}}function R(e){return e[ur]||null}function wt(e,t){const n=e[tr]||null;if(!n&&!0===t)throw new Error(`Type ${F(e)} does not have '\u0275mod' property.`);return n}function Wn(e){return Array.isArray(e)&&"object"==typeof e[1]}function Bn(e){return Array.isArray(e)&&!0===e[1]}function Er(e){return 0!=(8&e.flags)}function Qr(e){return 2==(2&e.flags)}function Ir(e){return 1==(1&e.flags)}function Wt(e){return null!==e.template}function ii(e){return 0!=(512&e[2])}function yn(e,t){return e.hasOwnProperty(en)?e[en]:null}class Ci{constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}}function fr(){return ps}function ps(e){return e.type.prototype.ngOnChanges&&(e.setInput=zs),Is}function Is(){const e=Cr(this),t=null==e?void 0:e.current;if(t){const n=e.previous;if(n===vt)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function zs(e,t,n,r){const s=Cr(e)||function gs(e,t){return e[Jr]=t}(e,{previous:vt,current:null}),i=s.current||(s.current={}),a=s.previous,d=this.declaredInputs[n],p=a[d];i[d]=new Ci(p&&p.currentValue,t,a===vt),e[r]=t}fr.ngInherit=!0;const Jr="__ngSimpleChanges__";function Cr(e){return e[Jr]||null}const Ws="http://www.w3.org/2000/svg";let jr;function Ks(e){jr=e}function Ys(){return void 0!==jr?jr:"undefined"!=typeof document?document:void 0}function m(e){return!!e.listen}const T={createRenderer:(e,t)=>Ys()};function S(e){for(;Array.isArray(e);)e=e[0];return e}function Ie(e,t){return S(t[e])}function He(e,t){return S(t[e.index])}function Lt(e,t){return e.data[t]}function Nt(e,t){return e[t]}function ct(e,t){const n=t[e];return Wn(n)?n:n[0]}function Kt(e){return 4==(4&e[2])}function Ht(e){return 128==(128&e[2])}function On(e,t){return null==t?null:e[t]}function br(e){e[18]=0}function Ur(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 tt={lFrame:ui(null),bindingsEnabled:!0,isInCheckNoChangesMode:!1};function Rs(){return tt.bindingsEnabled}function Pe(){return tt.lFrame.lView}function Tt(){return tt.lFrame.tView}function co(e){return tt.lFrame.contextLView=e,e[8]}function C(){let e=o();for(;null!==e&&64===e.type;)e=e.parent;return e}function o(){return tt.lFrame.currentTNode}function f(e,t){const n=tt.lFrame;n.currentTNode=e,n.isParent=t}function b(){return tt.lFrame.isParent}function I(){tt.lFrame.isParent=!1}function re(){return tt.isInCheckNoChangesMode}function ye(e){tt.isInCheckNoChangesMode=e}function Re(){const e=tt.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function _t(){return tt.lFrame.bindingIndex++}function Ze(e){const t=tt.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function tn(e,t){const n=tt.lFrame;n.bindingIndex=n.bindingRootIndex=e,vn(t)}function vn(e){tt.lFrame.currentDirectiveIndex=e}function _n(e){const t=tt.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}function Hr(){return tt.lFrame.currentQueryIndex}function Zn(e){tt.lFrame.currentQueryIndex=e}function Rn(e){const t=e[1];return 2===t.type?t.declTNode:1===t.type?e[6]:null}function pr(e,t,n){if(n&nt.SkipSelf){let s=t,i=e;for(;!(s=s.parent,null!==s||n&nt.Host||(s=Rn(i),null===s||(i=i[15],10&s.type))););if(null===s)return!1;t=s,e=i}const r=tt.lFrame=wr();return r.currentTNode=t,r.lView=e,!0}function rr(e){const t=wr(),n=e[1];tt.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function wr(){const e=tt.lFrame,t=null===e?null:e.child;return null===t?ui(e):t}function ui(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 vs(){const e=tt.lFrame;return tt.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const Vr=vs;function Xr(){const e=vs();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 We(){return tt.lFrame.selectedIndex}function Xe(e){tt.lFrame.selectedIndex=e}function Je(){const e=tt.lFrame;return Lt(e.tView,e.selectedIndex)}function gn(){tt.lFrame.currentNamespace=Ws}function Yn(){!function $r(){tt.lFrame.currentNamespace=null}()}function Jn(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n<r;n++){const i=e.data[n].type.prototype,{ngAfterContentInit:a,ngAfterContentChecked:d,ngAfterViewInit:p,ngAfterViewChecked:E,ngOnDestroy:w}=i;a&&(e.contentHooks||(e.contentHooks=[])).push(-n,a),d&&((e.contentHooks||(e.contentHooks=[])).push(n,d),(e.contentCheckHooks||(e.contentCheckHooks=[])).push(n,d)),p&&(e.viewHooks||(e.viewHooks=[])).push(-n,p),E&&((e.viewHooks||(e.viewHooks=[])).push(n,E),(e.viewCheckHooks||(e.viewCheckHooks=[])).push(n,E)),null!=w&&(e.destroyHooks||(e.destroyHooks=[])).push(n,w)}}function an(e,t,n){ts(e,t,3,n)}function es(e,t,n,r){(3&e[2])===n&&ts(e,t,n,r)}function sr(e,t){let n=e[2];(3&n)===t&&(n&=2047,n+=1,e[2]=n)}function ts(e,t,n,r){const i=null!=r?r:-1,a=t.length-1;let d=0;for(let p=void 0!==r?65535&e[18]:0;p<a;p++)if("number"==typeof t[p+1]){if(d=t[p],null!=r&&d>=r)break}else t[p]<0&&(e[18]+=65536),(d<i||-1==i)&&(Ti(e,n,t,p),e[18]=(4294901760&e[18])+p+2),p++}function Ti(e,t,n,r){const s=n[r]<0,i=n[r+1],d=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(d)}finally{}}}else try{i.call(d)}finally{}}class qs{constructor(t,n,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}}function di(e,t,n){const r=m(e);let s=0;for(;s<n.length;){const i=n[s];if("number"==typeof i){if(0!==i)break;s++;const a=n[s++],d=n[s++],p=n[s++];r?e.setAttribute(t,d,p,a):t.setAttributeNS(a,d,p)}else{const a=i,d=n[++s];po(a)?r&&e.setProperty(t,a,d):r?e.setAttribute(t,a,d):t.setAttribute(a,d),s++}}return s}function Jo(e){return 3===e||4===e||6===e}function po(e){return 64===e.charCodeAt(0)}function Mi(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||Xo(e,n,s,null,-1===n||2===n?t[++r]:null)}}return e}function Xo(e,t,n,r,s){let i=0,a=e.length;if(-1===t)a=-1;else for(;i<e.length;){const d=e[i++];if("number"==typeof d){if(d===t){a=-1;break}if(d>t){a=i-1;break}}}for(;i<e.length;){const d=e[i];if("number"==typeof d)break;if(d===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!==a&&(e.splice(a,0,t),i=a+1),e.splice(i++,0,n),null!==r&&e.splice(i++,0,r),null!==s&&e.splice(i++,0,s)}function ea(e){return-1!==e}function Js(e){return 32767&e}function Xs(e,t){let n=function ta(e){return e>>16}(e),r=t;for(;n>0;)r=r[15],n--;return r}let go=!0;function Ai(e){const t=go;return go=e,t}let ia=0;function Ii(e,t){const n=c(e,t);if(-1!==n)return n;const r=t[1];r.firstCreatePass&&(e.injectorIndex=t.length,h(r.data,e),h(t,null),h(r.blueprint,null));const s=u(e,t),i=e.injectorIndex;if(ea(s)){const a=Js(s),d=Xs(s,t),p=d[1].data;for(let E=0;E<8;E++)t[i+E]=d[a+E]|p[a+E]}return t[i+8]=s,i}function h(e,t){e.push(0,0,0,0,0,0,0,0,t)}function c(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function u(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],a=i.type;if(r=2===a?i.declTNode:1===a?s[6]:null,null===r)return-1;if(n++,s=s[15],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return-1}function y(e,t,n){!function Ga(e,t,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(Sn)&&(r=n[Sn]),null==r&&(r=n[Sn]=ia++);const s=255&r;t.data[e+(s>>5)]|=1<<s}(e,t,n)}function A(e,t,n){if(n&nt.Optional)return e;at(t,"NodeInjector")}function N(e,t,n,r){if(n&nt.Optional&&void 0===r&&(r=null),0==(n&(nt.Self|nt.Host))){const s=e[9],i=K(void 0);try{return s?s.get(t,r,n&nt.Optional):Ee(t,r,n&nt.Optional)}finally{K(i)}}return A(r,t,n)}function W(e,t,n,r=nt.Default,s){if(null!==e){const i=function Yt(e){if("string"==typeof e)return e.charCodeAt(0)||0;const t=e.hasOwnProperty(Sn)?e[Sn]:void 0;return"number"==typeof t?t>=0?255&t:Qe:t}(n);if("function"==typeof i){if(!pr(t,e,r))return r&nt.Host?A(s,n,r):N(t,n,r,s);try{const a=i(r);if(null!=a||r&nt.Optional)return a;at(n)}finally{Vr()}}else if("number"==typeof i){let a=null,d=c(e,t),p=-1,E=r&nt.Host?t[16][6]:null;for((-1===d||r&nt.SkipSelf)&&(p=-1===d?u(e,t):t[d+8],-1!==p&&zr(r,!1)?(a=t[1],d=Js(p),t=Xs(p,t)):d=-1);-1!==d;){const w=t[1];if(ei(i,d,w.data)){const P=Ft(d,t,n,a,r,E);if(P!==me)return P}p=t[d+8],-1!==p&&zr(r,t[1].data[d+8]===E)&&ei(i,d,t)?(a=w,d=Js(p),t=Xs(p,t)):d=-1}}}return N(t,n,r,s)}const me={};function Qe(){return new ir(C(),Pe())}function Ft(e,t,n,r,s,i){const a=t[1],d=a.data[e+8],w=et(d,a,n,null==r?Qr(d)&&go:r!=a&&0!=(3&d.type),s&nt.Host&&i===d);return null!==w?Bt(t,a,w,d):me}function et(e,t,n,r,s){const i=e.providerIndexes,a=t.data,d=1048575&i,p=e.directiveStart,w=i>>20,G=s?d+w:e.directiveEnd;for(let ee=r?d:d+w;ee<G;ee++){const ve=a[ee];if(ee<p&&n===ve||ee>=p&&ve.type===n)return ee}if(s){const ee=a[p];if(ee&&Wt(ee)&&ee.type===n)return p}return null}function Bt(e,t,n,r){let s=e[n];const i=t.data;if(function za(e){return e instanceof qs}(s)){const a=s;a.resolving&&function Ke(e,t){const n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new be("200",`Circular dependency in DI detected for ${e}${n}`)}(pe(i[n]));const d=Ai(a.canSeeViewProviders);a.resolving=!0;const p=a.injectImpl?K(a.injectImpl):null;pr(e,r,nt.Default);try{s=e[n]=a.factory(void 0,i,e,r),t.firstCreatePass&&n>=r.directiveStart&&function ho(e,t,n){const{ngOnChanges:r,ngOnInit:s,ngDoCheck:i}=t.type.prototype;if(r){const a=ps(t);(n.preOrderHooks||(n.preOrderHooks=[])).push(e,a),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,a)}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!==p&&K(p),Ai(d),a.resolving=!1,Vr()}}return s}function ei(e,t,n){return!!(n[t+(e>>5)]&1<<e)}function zr(e,t){return!(e&nt.Self||e&nt.Host&&t)}class ir{constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return W(this._tNode,this._lView,t,r,n)}}function ns(e){return ke(()=>{const t=e.prototype.constructor,n=t[en]||ti(t),r=Object.prototype;let s=Object.getPrototypeOf(e.prototype).constructor;for(;s&&s!==r;){const i=s[en]||ti(s);if(i&&i!==n)return i;s=Object.getPrototypeOf(s)}return i=>new i})}function ti(e){return ce(e)?()=>{const t=ti(te(e));return t&&t()}:yn(e)}function Pr(e){return function D(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(Jo(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}(C(),e)}const ni="__parameters__";function Oi(e,t,n){return ke(()=>{const r=function Wa(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 a=new s(...i);return d.annotation=a,d;function d(p,E,w){const P=p.hasOwnProperty(ni)?p[ni]:Object.defineProperty(p,ni,{value:[]})[ni];for(;P.length<=w;)P.push(null);return(P[w]=P[w]||[]).push(a),p}}return n&&(s.prototype=Object.create(n.prototype)),s.prototype.ngMetadataName=e,s.annotationCls=s,s})}class Dn{constructor(t,n){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof n?this.__NG_ELEMENT_ID__=n:void 0!==n&&(this.\u0275prov=je({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}toString(){return`InjectionToken ${this._desc}`}}const kg=new Dn("AnalyzeForEntryComponents");function Gr(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)),Gr(r,t)):t!==e&&t.push(r)}return t}function _s(e,t){e.forEach(n=>Array.isArray(n)?_s(n,t):t(n))}function dc(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function oa(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function vo(e,t){const n=[];for(let r=0;r<e;r++)n.push(t);return n}function Rr(e,t,n){let r=Ri(e,t);return r>=0?e[1|r]=n:(r=~r,function jg(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 Ya(e,t){const n=Ri(e,t);if(n>=0)return e[1|n]}function Ri(e,t){return function pc(e,t,n){let r=0,s=e.length>>n;for(;s!==r;){const i=r+(s-r>>1),a=e[i<<n];if(t===a)return i<<n;a>t?s=i:r=i+1}return~(s<<n)}(e,t,1)}const _o={},qa="__NG_DI_FLAG__",la="ngTempTokenPath",Wg=/\n/gm,mc="__source",Yg=z({provide:String,useValue:z});let Do;function yc(e){const t=Do;return Do=e,t}function Qg(e,t=nt.Default){if(void 0===Do)throw new Error("inject() must be called from an injection context");return null===Do?Ee(e,void 0,t):Do.get(e,t&nt.Optional?null:void 0,t)}function Qn(e,t=nt.Default){return(function Y(){return De}()||Qg)(te(e),t)}const qg=Qn;function Za(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=nt.Default;for(let a=0;a<r.length;a++){const d=r[a],p=Zg(d);"number"==typeof p?-1===p?s=d.token:i|=p:s=d}t.push(Qn(s,i))}else t.push(Qn(r))}return t}function Eo(e,t){return e[qa]=t,e.prototype[qa]=t,e}function Zg(e){return e[qa]}const Co=Eo(Oi("Inject",e=>({token:e})),-1),hi=Eo(Oi("Optional"),8),xi=Eo(Oi("SkipSelf"),4);let ca,da;function Fi(e){var t;return(null===(t=function Xa(){if(void 0===ca&&(ca=null,Ue.trustedTypes))try{ca=Ue.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch(e){}return ca}())||void 0===t?void 0:t.createHTML(e))||e}function bc(e){var t;return(null===(t=function el(){if(void 0===da&&(da=null,Ue.trustedTypes))try{da=Ue.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch(e){}return da}())||void 0===t?void 0:t.createHTML(e))||e}class fi{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see https://g.co/ng/security#xss)`}}class cm extends fi{getTypeName(){return"HTML"}}class dm extends fi{getTypeName(){return"Style"}}class hm extends fi{getTypeName(){return"Script"}}class fm extends fi{getTypeName(){return"URL"}}class pm extends fi{getTypeName(){return"ResourceURL"}}function Ns(e){return e instanceof fi?e.changingThisBreaksApplicationSecurity:e}function ki(e,t){const n=Sc(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 Sc(e){return e instanceof fi&&e.getTypeName()||null}function gm(e){return new cm(e)}function mm(e){return new dm(e)}function ym(e){return new hm(e)}function vm(e){return new fm(e)}function _m(e){return new pm(e)}class Dm{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{const n=(new window.DOMParser).parseFromString(Fi(t),"text/html").body;return null===n?this.inertDocumentHelper.getInertBodyElement(t):(n.removeChild(n.firstChild),n)}catch(n){return null}}}class Em{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=Fi(t),n;const r=this.inertDocument.createElement("body");return r.innerHTML=Fi(t),this.defaultDoc.documentMode&&this.stripCustomNsAttrs(r),r}stripCustomNsAttrs(t){const n=t.attributes;for(let s=n.length-1;0<s;s--){const a=n.item(s).name;("xmlns:ns1"===a||0===a.indexOf("ns1:"))&&t.removeAttribute(a)}let r=t.firstChild;for(;r;)r.nodeType===Node.ELEMENT_NODE&&this.stripCustomNsAttrs(r),r=r.nextSibling}}const bm=/^(?:(?:https?|mailto|ftp|tel|file|sms):|[^&:/?#]*(?:[/?#]|$))/gi,wm=/^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 wo(e){return(e=String(e)).match(bm)||e.match(wm)?e:"unsafe:"+e}function Ds(e){const t={};for(const n of e.split(","))t[n]=!0;return t}function To(...e){const t={};for(const n of e)for(const r in n)n.hasOwnProperty(r)&&(t[r]=!0);return t}const Ic=Ds("area,br,col,hr,img,wbr"),Pc=Ds("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Oc=Ds("rp,rt"),tl=To(Ic,To(Pc,Ds("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")),To(Oc,Ds("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")),To(Oc,Pc)),nl=Ds("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),rl=Ds("srcset"),Rc=To(nl,rl,Ds("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"),Ds("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")),Tm=Ds("script,style,template");class Sm{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(!tl.hasOwnProperty(n))return this.sanitizedSomething=!0,!Tm.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),a=i.name,d=a.toLowerCase();if(!Rc.hasOwnProperty(d)){this.sanitizedSomething=!0;continue}let p=i.value;nl[d]&&(p=wo(p)),rl[d]&&(e=p,p=(e=String(e)).split(",").map(t=>wo(t.trim())).join(", ")),this.buf.push(" ",a,'="',xc(p),'"')}var e;return this.buf.push(">"),!0}endElement(t){const n=t.nodeName.toLowerCase();tl.hasOwnProperty(n)&&!Ic.hasOwnProperty(n)&&(this.buf.push("</"),this.buf.push(n),this.buf.push(">"))}chars(t){this.buf.push(xc(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 Mm=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Am=/([^\#-~ |!])/g;function xc(e){return e.replace(/&/g,"&").replace(Mm,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(Am,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}let ha;function Nc(e,t){let n=null;try{ha=ha||function Mc(e){const t=new Em(e);return function Cm(){try{return!!(new window.DOMParser).parseFromString(Fi(""),"text/html")}catch(e){return!1}}()?new Dm(t):t}(e);let r=t?String(t):"";n=ha.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=ha.getInertBodyElement(r)}while(r!==i);return Fi((new Sm).sanitizeChildren(sl(n)||n))}finally{if(n){const r=sl(n)||n;for(;r.firstChild;)r.removeChild(r.firstChild)}}}function sl(e){return"content"in e&&function Im(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var Tn=(()=>((Tn=Tn||{})[Tn.NONE=0]="NONE",Tn[Tn.HTML=1]="HTML",Tn[Tn.STYLE=2]="STYLE",Tn[Tn.SCRIPT=3]="SCRIPT",Tn[Tn.URL=4]="URL",Tn[Tn.RESOURCE_URL=5]="RESOURCE_URL",Tn))();function Fc(e){const t=So();return t?bc(t.sanitize(Tn.HTML,e)||""):ki(e,"HTML")?bc(Ns(e)):Nc(Ys(),oe(e))}function il(e){const t=So();return t?t.sanitize(Tn.URL,e)||"":ki(e,"URL")?Ns(e):wo(oe(e))}function So(){const e=Pe();return e&&e[12]}const Bc="__ngContext__";function or(e,t){e[Bc]=t}function al(e){const t=function Mo(e){return e[Bc]||null}(e);return t?Array.isArray(t)?t:t.lView:null}function ul(e){return e.ngOriginalError}function Wm(e,...t){e.error(...t)}class Ao{constructor(){this._console=console}handleError(t){const n=this._findOriginalError(t),r=function Gm(e){return e&&e.ngErrorLogger||Wm}(t);r(this._console,"ERROR",t),n&&r(this._console,"ORIGINAL ERROR",n)}_findOriginalError(t){let n=t&&ul(t);for(;n&&ul(n);)n=ul(n);return n||null}}const $c=(()=>("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(Ue))();function Es(e){return e instanceof Function?e():e}var Cs=(()=>((Cs=Cs||{})[Cs.Important=1]="Important",Cs[Cs.DashCase=2]="DashCase",Cs))();function dl(e,t){return undefined(e,t)}function Io(e){const t=e[3];return Bn(t)?t[3]:t}function hl(e){return Yc(e[13])}function fl(e){return Yc(e[4])}function Yc(e){for(;null!==e&&!Bn(e);)e=e[4];return e}function Bi(e,t,n,r,s){if(null!=r){let i,a=!1;Bn(r)?i=r:Wn(r)&&(a=!0,r=r[0]);const d=S(r);0===e&&null!==n?null==s?ed(t,n,d):pi(t,n,d,s||null,!0):1===e&&null!==n?pi(t,n,d,s||null,!0):2===e?function ad(e,t,n){const r=fa(e,t);r&&function gy(e,t,n,r){m(e)?e.removeChild(t,n,r):t.removeChild(n)}(e,r,t,n)}(t,d,a):3===e&&t.destroyNode(d),null!=i&&function vy(e,t,n,r,s){const i=n[7];i!==S(n)&&Bi(t,e,r,i,s);for(let d=10;d<n.length;d++){const p=n[d];Po(p[1],p,e,t,r,i)}}(t,e,i,n,s)}}function gl(e,t,n){return m(e)?e.createElement(t,n):null===n?e.createElement(t):e.createElementNS(n,t)}function qc(e,t){const n=e[9],r=n.indexOf(t),s=t[3];1024&t[2]&&(t[2]&=-1025,Ur(s,-1)),n.splice(r,1)}function ml(e,t){if(e.length<=10)return;const n=10+t,r=e[n];if(r){const s=r[17];null!==s&&s!==e&&qc(s,r),t>0&&(e[n-1][4]=r[4]);const i=oa(e,10+t);!function ay(e,t){Po(e,t,t[11],2,null,null),t[0]=null,t[6]=null}(r[1],r);const a=i[19];null!==a&&a.detachView(i[1]),r[3]=null,r[4]=null,r[2]&=-129}return r}function Zc(e,t){if(!(256&t[2])){const n=t[11];m(n)&&n.destroyNode&&Po(e,t,n,3,null,null),function cy(e){let t=e[13];if(!t)return yl(e[1],e);for(;t;){let n=null;if(Wn(t))n=t[13];else{const r=t[10];r&&(n=r)}if(!n){for(;t&&!t[4]&&t!==e;)Wn(t)&&yl(t[1],t),t=t[3];null===t&&(t=e),Wn(t)&&yl(t[1],t),n=t&&t[4]}t=n}}(t)}}function yl(e,t){if(!(256&t[2])){t[2]&=-129,t[2]|=256,function py(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 qs)){const i=n[r+1];if(Array.isArray(i))for(let a=0;a<i.length;a+=2){const d=s[i[a]],p=i[a+1];try{p.call(d)}finally{}}else try{i.call(s)}finally{}}}}(e,t),function fy(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 a=n[i+1],d="function"==typeof a?a(t):S(t[a]),p=r[s=n[i+2]],E=n[i+3];"boolean"==typeof E?d.removeEventListener(n[i],p,E):E>=0?r[s=E]():r[s=-E].unsubscribe(),i+=2}else{const a=r[s=n[i+1]];n[i].call(a)}if(null!==r){for(let i=s+1;i<r.length;i++)r[i]();t[7]=null}}(e,t),1===t[1].type&&m(t[11])&&t[11].destroy();const n=t[17];if(null!==n&&Bn(t[3])){n!==t[3]&&qc(n,t);const r=t[19];null!==r&&r.detachView(e)}}}function Jc(e,t,n){return function Xc(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===bt.None||s===bt.Emulated)return null}return He(r,n)}(e,t.parent,n)}function pi(e,t,n,r,s){m(e)?e.insertBefore(t,n,r,s):t.insertBefore(n,r,s)}function ed(e,t,n){m(e)?e.appendChild(t,n):t.appendChild(n)}function td(e,t,n,r,s){null!==r?pi(e,t,n,r,s):ed(e,t,n)}function fa(e,t){return m(e)?e.parentNode(t):t.parentNode}function nd(e,t,n){return sd(e,t,n)}let sd=function rd(e,t,n){return 40&e.type?He(e,n):null};function pa(e,t,n,r){const s=Jc(e,r,t),i=t[11],d=nd(r.parent||t[6],r,t);if(null!=s)if(Array.isArray(n))for(let p=0;p<n.length;p++)td(i,s,n[p],d,!1);else td(i,s,n,d,!1)}function ga(e,t){if(null!==t){const n=t.type;if(3&n)return He(t,e);if(4&n)return _l(-1,e[t.index]);if(8&n){const r=t.child;if(null!==r)return ga(e,r);{const s=e[t.index];return Bn(s)?_l(-1,s):S(s)}}if(32&n)return dl(t,e)()||S(e[t.index]);{const r=od(e,t);return null!==r?Array.isArray(r)?r[0]:ga(Io(e[16]),r):ga(e,t.next)}}return null}function od(e,t){return null!==t?e[16][6].projection[t.projection]:null}function _l(e,t){const n=10+e+1;if(n<t.length){const r=t[n],s=r[1].firstChild;if(null!==s)return ga(r,s)}return t[7]}function Dl(e,t,n,r,s,i,a){for(;null!=n;){const d=r[n.index],p=n.type;if(a&&0===t&&(d&&or(S(d),r),n.flags|=4),64!=(64&n.flags))if(8&p)Dl(e,t,n.child,r,s,i,!1),Bi(t,e,s,d,i);else if(32&p){const E=dl(n,r);let w;for(;w=E();)Bi(t,e,s,w,i);Bi(t,e,s,d,i)}else 16&p?ld(e,t,r,n,s,i):Bi(t,e,s,d,i);n=a?n.projectionNext:n.next}}function Po(e,t,n,r,s,i){Dl(n,r,e.firstChild,t,s,i,!1)}function ld(e,t,n,r,s,i){const a=n[16],p=a[6].projection[r.projection];if(Array.isArray(p))for(let E=0;E<p.length;E++)Bi(t,e,s,p[E],i);else Dl(e,t,p,a[3],s,i,!0)}function ud(e,t,n){m(e)?e.setAttribute(t,"style",n):t.style.cssText=n}function El(e,t,n){m(e)?""===n?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n):t.className=n}function cd(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 dd="ng-template";function Dy(e,t,n){let r=0;for(;r<e.length;){let s=e[r++];if(n&&"class"===s){if(s=e[r],-1!==cd(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 hd(e){return 4===e.type&&e.value!==dd}function Ey(e,t,n){return t===(4!==e.type||n?e.value:dd)}function Cy(e,t,n){let r=4;const s=e.attrs||[],i=function Ty(e){for(let t=0;t<e.length;t++)if(Jo(e[t]))return t;return e.length}(s);let a=!1;for(let d=0;d<t.length;d++){const p=t[d];if("number"!=typeof p){if(!a)if(4&r){if(r=2|1&r,""!==p&&!Ey(e,p,n)||""===p&&1===t.length){if(rs(r))return!1;a=!0}}else{const E=8&r?p:t[++d];if(8&r&&null!==e.attrs){if(!Dy(e.attrs,E,n)){if(rs(r))return!1;a=!0}continue}const P=by(8&r?"class":p,s,hd(e),n);if(-1===P){if(rs(r))return!1;a=!0;continue}if(""!==E){let G;G=P>i?"":s[P+1].toLowerCase();const ee=8&r?G:null;if(ee&&-1!==cd(ee,E,0)||2&r&&E!==G){if(rs(r))return!1;a=!0}}}}else{if(!a&&!rs(r)&&!rs(p))return!1;if(a&&rs(p))continue;a=!1,r=p|1&r}}return rs(r)||a}function rs(e){return 0==(1&e)}function by(e,t,n,r){if(null===t)return-1;let s=0;if(r||!n){let i=!1;for(;s<t.length;){const a=t[s];if(a===e)return s;if(3===a||6===a)i=!0;else{if(1===a||2===a){let d=t[++s];for(;"string"==typeof d;)d=t[++s];continue}if(4===a)break;if(0===a){s+=4;continue}}s+=i?1:2}return-1}return function Sy(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 fd(e,t,n=!1){for(let r=0;r<t.length;r++)if(Cy(e,t[r],n))return!0;return!1}function My(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 pd(e,t){return e?":not("+t.trim()+")":t}function Ay(e){let t=e[0],n=1,r=2,s="",i=!1;for(;n<e.length;){let a=e[n];if("string"==typeof a)if(2&r){const d=e[++n];s+="["+a+(d.length>0?'="'+d+'"':"")+"]"}else 8&r?s+="."+a:4&r&&(s+=" "+a);else""!==s&&!rs(a)&&(t+=pd(i,s),s=""),r=a,i=i||!rs(r);n++}return""!==s&&(t+=pd(i,s)),t}const Et={};function gd(e){md(Tt(),Pe(),We()+e,re())}function md(e,t,n,r){if(!r)if(3==(3&t[2])){const i=e.preOrderCheckHooks;null!==i&&an(t,i,n)}else{const i=e.preOrderHooks;null!==i&&es(t,i,0,n)}Xe(n)}function ma(e,t){return e<<17|t<<2}function ss(e){return e>>17&32767}function Cl(e){return 2|e}function Fs(e){return(131068&e)>>2}function bl(e,t){return-131069&e|t<<2}function wl(e){return 1|e}function Md(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 a=e.data[i];Zn(s),a.contentQueries(2,t[i],i)}}}function Oo(e,t,n,r,s,i,a,d,p,E){const w=t.blueprint.slice();return w[0]=s,w[2]=140|r,br(w),w[3]=w[15]=e,w[8]=n,w[10]=a||e&&e[10],w[11]=d||e&&e[11],w[12]=p||e&&e[12]||null,w[9]=E||e&&e[9]||null,w[6]=i,w[16]=2==t.type?e[16]:w,w}function ji(e,t,n,r,s){let i=e.data[t];if(null===i)i=function xl(e,t,n,r,s){const i=o(),a=b(),p=e.data[t]=function Wy(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,a?i:i&&i.parent,n,t,r,s);return null===e.firstChild&&(e.firstChild=p),null!==i&&(a?null==i.child&&null!==p.parent&&(i.child=p):null===i.next&&(i.next=p)),p}(e,t,n,r,s),function mt(){return tt.lFrame.inI18n}()&&(i.flags|=64);else if(64&i.type){i.type=n,i.value=r,i.attrs=s;const a=function l(){const e=tt.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}();i.injectorIndex=null===a?-1:a.injectorIndex}return f(i,!0),i}function Ui(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 Ro(e,t,n){rr(t);try{const r=e.viewQuery;null!==r&&Vl(1,r,n);const s=e.template;null!==s&&Ad(e,t,s,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),e.staticContentQueries&&Md(e,t),e.staticViewQueries&&Vl(2,e.viewQuery,n);const i=e.components;null!==i&&function $y(e,t){for(let n=0;n<t.length;n++)cv(e,t[n])}(t,i)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[2]&=-5,Xr()}}function Hi(e,t,n,r){const s=t[2];if(256==(256&s))return;rr(t);const i=re();try{br(t),function gt(e){return tt.lFrame.bindingIndex=e}(e.bindingStartIndex),null!==n&&Ad(e,t,n,2,r);const a=3==(3&s);if(!i)if(a){const E=e.preOrderCheckHooks;null!==E&&an(t,E,null)}else{const E=e.preOrderHooks;null!==E&&es(t,E,0,null),sr(t,0)}if(function lv(e){for(let t=hl(e);null!==t;t=fl(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])&&Ur(i,1),s[2]|=1024}}}(t),function av(e){for(let t=hl(e);null!==t;t=fl(t))for(let n=10;n<t.length;n++){const r=t[n],s=r[1];Ht(r)&&Hi(s,r,s.template,r[8])}}(t),null!==e.contentQueries&&Md(e,t),!i)if(a){const E=e.contentCheckHooks;null!==E&&an(t,E)}else{const E=e.contentHooks;null!==E&&es(t,E,1),sr(t,1)}!function Hy(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)Xe(~s);else{const i=s,a=n[++r],d=n[++r];tn(a,i),d(2,t[i])}}}finally{Xe(-1)}}(e,t);const d=e.components;null!==d&&function Vy(e,t){for(let n=0;n<t.length;n++)uv(e,t[n])}(t,d);const p=e.viewQuery;if(null!==p&&Vl(2,p,r),!i)if(a){const E=e.viewCheckHooks;null!==E&&an(t,E)}else{const E=e.viewHooks;null!==E&&es(t,E,2),sr(t,2)}!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),i||(t[2]&=-73),1024&t[2]&&(t[2]&=-1025,Ur(t[3],-1))}finally{Xr()}}function zy(e,t,n,r){const s=t[10],i=!re(),a=Kt(t);try{i&&!a&&s.begin&&s.begin(),a&&Ro(e,t,r),Hi(e,t,n,r)}finally{i&&!a&&s.end&&s.end()}}function Ad(e,t,n,r,s){const i=We(),a=2&r;try{Xe(-1),a&&t.length>20&&md(e,t,20,re()),n(r,s)}finally{Xe(i)}}function Id(e,t,n){if(Er(t)){const s=t.directiveEnd;for(let i=t.directiveStart;i<s;i++){const a=e.data[i];a.contentQueries&&a.contentQueries(1,n[i],i)}}}function Nl(e,t,n){!Rs()||(function Xy(e,t,n,r){const s=n.directiveStart,i=n.directiveEnd;e.firstCreatePass||Ii(n,t),or(r,t);const a=n.initialInputs;for(let d=s;d<i;d++){const p=e.data[d],E=Wt(p);E&&sv(t,n,p);const w=Bt(t,e,d,n);or(w,t),null!==a&&iv(0,d-s,w,p,0,a),E&&(ct(n.index,t)[8]=w)}}(e,t,n,He(n,t)),128==(128&n.flags)&&function ev(e,t,n){const r=n.directiveStart,s=n.directiveEnd,a=n.index,d=function on(){return tt.lFrame.currentDirectiveIndex}();try{Xe(a);for(let p=r;p<s;p++){const E=e.data[p],w=t[p];vn(p),(null!==E.hostBindings||0!==E.hostVars||null!==E.hostAttrs)&&Ld(E,w)}}finally{Xe(-1),vn(d)}}(e,t,n))}function Fl(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 a=r[i+1],d=-1===a?n(t,e):e[a];e[s++]=d}}}function Pd(e){const t=e.tView;return null===t||t.incompleteFirstPass?e.tView=_a(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts):t}function _a(e,t,n,r,s,i,a,d,p,E){const w=20+r,P=w+s,G=function Gy(e,t){const n=[];for(let r=0;r<t;r++)n.push(r<e?null:Et);return n}(w,P),ee="function"==typeof E?E():E;return G[1]={type:e,blueprint:G,template:n,queries:null,viewQuery:d,declTNode:t,data:G.slice().fill(null,w),bindingStartIndex:w,expandoStartIndex:P,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 a?a():a,firstChild:null,schemas:p,consts:ee,incompleteFirstPass:!1}}function xd(e,t,n,r){const s=$d(t);null===n?s.push(r):(s.push(n),e.firstCreatePass&&zd(e).push(r,s.length-1))}function Nd(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 xr(e,t,n,r,s,i,a,d){const p=He(t,n);let w,E=t.inputs;!d&&null!=E&&(w=E[r])?(Kd(e,n,w,r,s),Qr(t)&&function Qy(e,t){const n=ct(t,e);16&n[2]||(n[2]|=64)}(n,t.index)):3&t.type&&(r=function Yy(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(r),s=null!=a?a(s,t.value||"",r):s,m(i)?i.setProperty(p,r,s):po(r)||(p.setProperty?p.setProperty(r,s):p[r]=s))}function kl(e,t,n,r){let s=!1;if(Rs()){const i=function tv(e,t,n){const r=e.directiveRegistry;let s=null;if(r)for(let i=0;i<r.length;i++){const a=r[i];fd(n,a.selectors,!1)&&(s||(s=[]),y(Ii(n,t),e,a.type),Wt(a)?(Bd(e,n),s.unshift(a)):s.push(a))}return s}(e,t,n),a=null===r?null:{"":-1};if(null!==i){s=!0,jd(n,e.data.length,i.length);for(let w=0;w<i.length;w++){const P=i[w];P.providersResolver&&P.providersResolver(P)}let d=!1,p=!1,E=Ui(e,t,i.length,null);for(let w=0;w<i.length;w++){const P=i[w];n.mergedAttrs=Mi(n.mergedAttrs,P.hostAttrs),Ud(e,n,t,E,P),rv(E,P,a),null!==P.contentQueries&&(n.flags|=8),(null!==P.hostBindings||null!==P.hostAttrs||0!==P.hostVars)&&(n.flags|=128);const G=P.type.prototype;!d&&(G.ngOnChanges||G.ngOnInit||G.ngDoCheck)&&((e.preOrderHooks||(e.preOrderHooks=[])).push(n.index),d=!0),!p&&(G.ngOnChanges||G.ngDoCheck)&&((e.preOrderCheckHooks||(e.preOrderCheckHooks=[])).push(n.index),p=!0),E++}!function Ky(e,t){const r=t.directiveEnd,s=e.data,i=t.attrs,a=[];let d=null,p=null;for(let E=t.directiveStart;E<r;E++){const w=s[E],P=w.inputs,G=null===i||hd(t)?null:ov(P,i);a.push(G),d=Nd(P,E,d),p=Nd(w.outputs,E,p)}null!==d&&(d.hasOwnProperty("class")&&(t.flags|=16),d.hasOwnProperty("style")&&(t.flags|=32)),t.initialInputs=a,t.inputs=d,t.outputs=p}(e,n)}a&&function nv(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 be("301",`Export of name '${t[s+1]}' not found!`);r.push(t[s],i)}}}(n,r,a)}return n.mergedAttrs=Mi(n.mergedAttrs,n.attrs),s}function kd(e,t,n,r,s,i){const a=i.hostBindings;if(a){let d=e.hostBindingOpCodes;null===d&&(d=e.hostBindingOpCodes=[]);const p=~t.index;(function Jy(e){let t=e.length;for(;t>0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(d)!=p&&d.push(p),d.push(r,s,a)}}function Ld(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function Bd(e,t){t.flags|=2,(e.components||(e.components=[])).push(t.index)}function rv(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;Wt(t)&&(n[""]=e)}}function jd(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function Ud(e,t,n,r,s){e.data[r]=s;const i=s.factory||(s.factory=yn(s.type)),a=new qs(i,Wt(s),null);e.blueprint[r]=a,n[r]=a,kd(e,t,0,r,Ui(e,n,s.hostVars,Et),s)}function sv(e,t,n){const r=He(t,e),s=Pd(n),i=e[10],a=Da(e,Oo(e,s,null,n.onPush?64:16,r,t,i,i.createRenderer(r,n),null,null));e[t.index]=a}function bs(e,t,n,r,s,i){const a=He(e,t);!function Ll(e,t,n,r,s,i,a){if(null==i)m(e)?e.removeAttribute(t,s,n):t.removeAttribute(s);else{const d=null==a?oe(i):a(i,r||"",s);m(e)?e.setAttribute(t,s,d,n):n?t.setAttributeNS(n,s,d):t.setAttribute(s,d)}}(t[11],a,i,e.value,n,r,s)}function iv(e,t,n,r,s,i){const a=i[t];if(null!==a){const d=r.setInput;for(let p=0;p<a.length;){const E=a[p++],w=a[p++],P=a[p++];null!==d?r.setInput(n,P,E,w):n[w]=P}}}function ov(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 Hd(e,t,n,r){return new Array(e,!0,!1,t,null,0,r,n,null,null)}function uv(e,t){const n=ct(t,e);if(Ht(n)){const r=n[1];80&n[2]?Hi(r,n,r.template,n[8]):n[5]>0&&Bl(n)}}function Bl(e){for(let r=hl(e);null!==r;r=fl(r))for(let s=10;s<r.length;s++){const i=r[s];if(1024&i[2]){const a=i[1];Hi(a,i,a.template,i[8])}else i[5]>0&&Bl(i)}const n=e[1].components;if(null!==n)for(let r=0;r<n.length;r++){const s=ct(n[r],e);Ht(s)&&s[5]>0&&Bl(s)}}function cv(e,t){const n=ct(t,e),r=n[1];(function dv(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])})(r,n),Ro(r,n,n[8])}function Da(e,t){return e[13]?e[14][4]=t:e[13]=t,e[14]=t,t}function jl(e){for(;e;){e[2]|=64;const t=Io(e);if(ii(e)&&!t)return e;e=t}return null}function Hl(e,t,n){const r=t[10];r.begin&&r.begin();try{Hi(e,t,e.template,n)}catch(s){throw Wd(t,s),s}finally{r.end&&r.end()}}function Vd(e){!function Ul(e){for(let t=0;t<e.components.length;t++){const n=e.components[t],r=al(n),s=r[1];zy(s,r,s.template,n)}}(e[8])}function Vl(e,t,n){Zn(0),t(e,n)}const gv=(()=>Promise.resolve(null))();function $d(e){return e[7]||(e[7]=[])}function zd(e){return e.cleanup||(e.cleanup=[])}function Gd(e,t,n){return(null===e||Wt(e))&&(n=function H(e){for(;Array.isArray(e);){if("object"==typeof e[1])return e;e=e[0]}return null}(n[t.index])),n[11]}function Wd(e,t){const n=e[9],r=n?n.get(Ao,null):null;r&&r.handleError(t)}function Kd(e,t,n,r,s){for(let i=0;i<n.length;){const a=n[i++],d=n[i++],p=t[a],E=e.data[a];null!==E.setInput?E.setInput(p,s,r,d):p[d]=s}}function ks(e,t,n){const r=Ie(t,e);!function Qc(e,t,n){m(e)?e.setValue(t,n):t.textContent=n}(e[11],r,n)}function Ea(e,t,n){let r=n?e.styles:null,s=n?e.classes:null,i=0;if(null!==t)for(let a=0;a<t.length;a++){const d=t[a];"number"==typeof d?i=d:1==i?s=ae(s,d):2==i&&(r=ae(r,d+": "+t[++a]+";"))}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=s:e.classesWithoutHost=s}const $l=new Dn("INJECTOR",-1);class Yd{get(t,n=_o){if(n===_o){const r=new Error(`NullInjectorError: No provider for ${F(t)}!`);throw r.name="NullInjectorError",r}return n}}const zl=new Dn("Set Injector scope."),xo={},vv={};let Gl;function Qd(){return void 0===Gl&&(Gl=new Yd),Gl}function qd(e,t=null,n=null,r){const s=Zd(e,t,n,r);return s._resolveInjectorDefTypes(),s}function Zd(e,t=null,n=null,r){return new _v(e,n,t||Qd(),r)}class _v{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&&_s(n,d=>this.processProvider(d,t,n)),_s([t],d=>this.processInjectorType(d,[],i)),this.records.set($l,Vi(void 0,this));const a=this.records.get(zl);this.scope=null!=a?a.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=_o,r=nt.Default){this.assertNotDestroyed();const s=yc(this),i=K(void 0);try{if(!(r&nt.SkipSelf)){let d=this.records.get(t);if(void 0===d){const p=function Mv(e){return"function"==typeof e||"object"==typeof e&&e instanceof Dn}(t)&&Gt(t);d=p&&this.injectableDefInScope(p)?Vi(Wl(t),xo):null,this.records.set(t,d)}if(null!=d)return this.hydrate(t,d)}return(r&nt.Self?Qd():this.parent).get(t,n=r&nt.Optional&&n===_o?null:n)}catch(a){if("NullInjectorError"===a.name){if((a[la]=a[la]||[]).unshift(F(t)),s)throw a;return function Jg(e,t,n,r){const s=e[la];throw t[mc]&&s.unshift(t[mc]),e.message=function Xg(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 a in t)if(t.hasOwnProperty(a)){let d=t[a];i.push(a+":"+("string"==typeof d?JSON.stringify(d):F(d)))}s=`{${i.join(", ")}}`}return`${n}${r?"("+r+")":""}[${s}]: ${e.replace(Wg,"\n ")}`}("\n"+e.message,s,n,r),e.ngTokenPath=s,e[la]=null,e}(a,t,"R3InjectorError",this.source)}throw a}finally{K(i),yc(s)}}_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=Xn(t);const i=null==s&&t.ngModule||void 0,a=void 0===i?t:i,d=-1!==r.indexOf(a);if(void 0!==i&&(s=Xn(i)),null==s)return!1;if(null!=s.imports&&!d){let w;r.push(a);try{_s(s.imports,P=>{this.processInjectorType(P,n,r)&&(void 0===w&&(w=[]),w.push(P))})}finally{}if(void 0!==w)for(let P=0;P<w.length;P++){const{ngModule:G,providers:ee}=w[P];_s(ee,ve=>this.processProvider(ve,G,ee||st))}}this.injectorDefTypes.add(a);const p=yn(a)||(()=>new a);this.records.set(a,Vi(p,xo));const E=s.providers;if(null!=E&&!d){const w=t;_s(E,P=>this.processProvider(P,w,E))}return void 0!==i&&void 0!==t.providers}processProvider(t,n,r){let s=$i(t=te(t))?t:te(t&&t.provide);const i=function Ev(e,t,n){return Xd(e)?Vi(void 0,e.useValue):Vi(Jd(e),xo)}(t);if($i(t)||!0!==t.multi)this.records.get(s);else{let a=this.records.get(s);a||(a=Vi(void 0,xo,!0),a.factory=()=>Za(a.multi),this.records.set(s,a)),s=t,a.multi.push(t)}this.records.set(s,i)}hydrate(t,n){return n.value===xo&&(n.value=vv,n.value=n.factory()),"object"==typeof n.value&&n.value&&function Sv(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(n.value)&&this.onDestroy.add(n.value),n.value}injectableDefInScope(t){if(!t.providedIn)return!1;const n=te(t.providedIn);return"string"==typeof n?"any"===n||n===this.scope:this.injectorDefTypes.has(n)}}function Wl(e){const t=Gt(e),n=null!==t?t.factory:yn(e);if(null!==n)return n;if(e instanceof Dn)throw new Error(`Token ${F(e)} is missing a \u0275prov definition.`);if(e instanceof Function)return function Dv(e){const t=e.length;if(t>0){const r=vo(t,"?");throw new Error(`Can't resolve all parameters for ${F(e)}: (${r.join(", ")}).`)}const n=function rn(e){const t=e&&(e[$n]||e[Vt]);if(t){const n=function Vn(e){if(e.hasOwnProperty("name"))return e.name;const t=(""+e).match(/^function\s*([^\s(]+)/);return null===t?"":t[1]}(e);return console.warn(`DEPRECATED: DI is instantiating a token "${n}" that inherits its @Injectable decorator but does not provide one itself.\nThis will become an error in a future version of Angular. Please add @Injectable() to the "${n}" class.`),t}return null}(e);return null!==n?()=>n.factory(e):()=>new e}(e);throw new Error("unreachable")}function Jd(e,t,n){let r;if($i(e)){const s=te(e);return yn(s)||Wl(s)}if(Xd(e))r=()=>te(e.useValue);else if(function bv(e){return!(!e||!e.useFactory)}(e))r=()=>e.useFactory(...Za(e.deps||[]));else if(function Cv(e){return!(!e||!e.useExisting)}(e))r=()=>Qn(te(e.useExisting));else{const s=te(e&&(e.useClass||e.provide));if(!function Tv(e){return!!e.deps}(e))return yn(s)||Wl(s);r=()=>new s(...Za(e.deps))}return r}function Vi(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function Xd(e){return null!==e&&"object"==typeof e&&Yg in e}function $i(e){return"function"==typeof e}let Wr=(()=>{class e{static create(n,r){var s;if(Array.isArray(n))return qd({name:""},r,n,"");{const i=null!==(s=n.name)&&void 0!==s?s:"";return qd({name:i},n.parent,n.providers,i)}}}return e.THROW_IF_NOT_FOUND=_o,e.NULL=new Yd,e.\u0275prov=je({token:e,providedIn:"any",factory:()=>Qn($l)}),e.__NG_ELEMENT_ID__=-1,e})();function Fv(e,t){Jn(al(e)[1],C())}function Ql(e){let t=function dh(e){return Object.getPrototypeOf(e.prototype).constructor}(e.type),n=!0;const r=[e];for(;t;){let s;if(Wt(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 a=e;a.inputs=ql(e.inputs),a.declaredInputs=ql(e.declaredInputs),a.outputs=ql(e.outputs);const d=s.hostBindings;d&&jv(e,d);const p=s.viewQuery,E=s.contentQueries;if(p&&Lv(e,p),E&&Bv(e,E),V(e.inputs,s.inputs),V(e.declaredInputs,s.declaredInputs),V(e.outputs,s.outputs),Wt(s)&&s.data.animation){const w=e.data;w.animation=(w.animation||[]).concat(s.data.animation)}}const i=s.features;if(i)for(let a=0;a<i.length;a++){const d=i[a];d&&d.ngInherit&&d(e),d===Ql&&(n=!1)}}t=Object.getPrototypeOf(t)}!function kv(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=Mi(s.hostAttrs,n=Mi(n,s.hostAttrs))}}(r)}function ql(e){return e===vt?{}:e===st?[]:e}function Lv(e,t){const n=e.viewQuery;e.viewQuery=n?(r,s)=>{t(r,s),n(r,s)}:t}function Bv(e,t){const n=e.contentQueries;e.contentQueries=n?(r,s,i)=>{t(r,s,i),n(r,s,i)}:t}function jv(e,t){const n=e.hostBindings;e.hostBindings=n?(r,s)=>{t(r,s),n(r,s)}:t}let Ca=null;function zi(){if(!Ca){const e=Ue.Symbol;if(e&&e.iterator)Ca=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&&(Ca=r)}}}return Ca}function No(e){return!!Zl(e)&&(Array.isArray(e)||!(e instanceof Map)&&zi()in e)}function Zl(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function ws(e,t,n){return e[t]=n}function Fo(e,t){return e[t]}function ar(e,t,n){return!Object.is(e[t],n)&&(e[t]=n,!0)}function gi(e,t,n,r){const s=ar(e,t,n);return ar(e,t+1,r)||s}function Kr(e,t,n,r,s,i){const a=gi(e,t,n,r);return gi(e,t+2,s,i)||a}function Jl(e,t,n,r){const s=Pe();return ar(s,_t(),t)&&(Tt(),bs(Je(),s,e,t,n,r)),Jl}function Wi(e,t,n,r){return ar(e,_t(),n)?t+oe(n)+r:Et}function Ki(e,t,n,r,s,i){const d=gi(e,function $e(){return tt.lFrame.bindingIndex}(),n,s);return Ze(2),d?t+oe(n)+r+oe(s)+i:Et}function Eh(e,t,n,r,s,i,a,d){const p=Pe(),E=Tt(),w=e+20,P=E.firstCreatePass?function Wv(e,t,n,r,s,i,a,d,p){const E=t.consts,w=ji(t,e,4,a||null,On(E,d));kl(t,n,w,On(E,p)),Jn(t,w);const P=w.tViews=_a(2,w,r,s,i,t.directiveRegistry,t.pipeRegistry,null,t.schemas,E);return null!==t.queries&&(t.queries.template(t,w),P.queries=t.queries.embeddedTView(w)),w}(w,E,p,t,n,r,s,i,a):E.data[w];f(P,!1);const G=p[11].createComment("");pa(E,p,G,P),or(G,p),Da(p,p[w]=Hd(G,p,G,P)),Ir(P)&&Nl(E,p,P),null!=a&&Fl(p,P,d)}function Ch(e){return Nt(function j(){return tt.lFrame.contextLView}(),20+e)}function ko(e,t=nt.Default){const n=Pe();return null===n?Qn(e,t):W(C(),n,te(e),t)}function xh(){throw new Error("invalid")}function ru(e,t,n){const r=Pe();return ar(r,_t(),t)&&xr(Tt(),Je(),r,e,t,r[11],n,!1),ru}function su(e,t,n,r,s){const a=s?"class":"style";Kd(e,n,t.inputs[a],a,r)}function iu(e,t,n,r){const s=Pe(),i=Tt(),a=20+e,d=s[11],p=s[a]=gl(d,t,function Xt(){return tt.lFrame.currentNamespace}()),E=i.firstCreatePass?function f_(e,t,n,r,s,i,a){const d=t.consts,E=ji(t,e,2,s,On(d,i));return kl(t,n,E,On(d,a)),null!==E.attrs&&Ea(E,E.attrs,!1),null!==E.mergedAttrs&&Ea(E,E.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,E),E}(a,i,s,0,t,n,r):i.data[a];f(E,!0);const w=E.mergedAttrs;null!==w&&di(d,p,w);const P=E.classes;null!==P&&El(d,p,P);const G=E.styles;null!==G&&ud(d,p,G),64!=(64&E.flags)&&pa(i,s,p,E),0===function Os(){return tt.lFrame.elementDepthCount}()&&or(p,s),function ys(){tt.lFrame.elementDepthCount++}(),Ir(E)&&(Nl(i,s,E),Id(i,E,s)),null!==r&&Fl(s,E)}function ou(){let e=C();b()?I():(e=e.parent,f(e,!1));const t=e;!function uo(){tt.lFrame.elementDepthCount--}();const n=Tt();n.firstCreatePass&&(Jn(n,e),Er(e)&&n.queries.elementEnd(e)),null!=t.classesWithoutHost&&function Zo(e){return 0!=(16&e.flags)}(t)&&su(n,t,Pe(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function fo(e){return 0!=(32&e.flags)}(t)&&su(n,t,Pe(),t.stylesWithoutHost,!1)}function Nh(e,t,n,r){iu(e,t,n,r),ou()}function au(e,t,n){const r=Pe(),s=Tt(),i=e+20,a=s.firstCreatePass?function p_(e,t,n,r,s){const i=t.consts,a=On(i,r),d=ji(t,e,8,"ng-container",a);return null!==a&&Ea(d,a,!0),kl(t,n,d,On(i,s)),null!==t.queries&&t.queries.elementStart(t,d),d}(i,s,r,t,n):s.data[i];f(a,!0);const d=r[i]=r[11].createComment("");pa(s,r,d,a),or(d,r),Ir(a)&&(Nl(s,r,a),Id(s,a,r)),null!=n&&Fl(r,a)}function lu(){let e=C();const t=Tt();b()?I():(e=e.parent,f(e,!1)),t.firstCreatePass&&(Jn(t,e),Er(e)&&t.queries.elementEnd(e))}function Fh(e,t,n){au(e,t,n),lu()}function kh(){return Pe()}function uu(e){return!!e&&"function"==typeof e.then}function Lh(e){return!!e&&"function"==typeof e.subscribe}const Bh=Lh;function cu(e,t,n,r){const s=Pe(),i=Tt(),a=C();return jh(i,s,s[11],a,e,t,!!n,r),cu}function du(e,t){const n=C(),r=Pe(),s=Tt();return jh(s,r,Gd(_n(s.data),n,r),n,e,t,!1),du}function jh(e,t,n,r,s,i,a,d){const p=Ir(r),w=e.firstCreatePass&&zd(e),P=t[8],G=$d(t);let ee=!0;if(3&r.type||d){const Be=He(r,t),qe=d?d(Be):Be,Me=G.length,ot=d?xt=>d(S(xt[r.index])):r.index;if(m(n)){let xt=null;if(!d&&p&&(xt=function g_(e,t,n,r){const s=e.cleanup;if(null!=s)for(let i=0;i<s.length-1;i+=2){const a=s[i];if(a===n&&s[i+1]===r){const d=t[7],p=s[i+2];return d.length>p?d[p]:null}"string"==typeof a&&(i+=2)}return null}(e,t,s,r.index)),null!==xt)(xt.__ngLastListenerFn__||xt).__ngNextListenerFn__=i,xt.__ngLastListenerFn__=i,ee=!1;else{i=hu(r,t,P,i,!1);const Qt=n.listen(qe,s,i);G.push(i,Qt),w&&w.push(s,ot,Me,Me+1)}}else i=hu(r,t,P,i,!0),qe.addEventListener(s,i,a),G.push(i),w&&w.push(s,ot,Me,a)}else i=hu(r,t,P,i,!1);const ve=r.outputs;let xe;if(ee&&null!==ve&&(xe=ve[s])){const Be=xe.length;if(Be)for(let qe=0;qe<Be;qe+=2){const Fr=t[xe[qe]][xe[qe+1]].subscribe(i),vi=G.length;G.push(i,Fr),w&&w.push(s,r.index,vi,-(vi+1))}}}function Uh(e,t,n,r){try{return!1!==n(r)}catch(s){return Wd(e,s),!1}}function hu(e,t,n,r,s){return function i(a){if(a===Function)return r;const d=2&e.flags?ct(e.index,t):t;0==(32&t[2])&&jl(d);let p=Uh(t,0,r,a),E=i.__ngNextListenerFn__;for(;E;)p=Uh(t,0,E,a)&&p,E=E.__ngNextListenerFn__;return s&&!1===p&&(a.preventDefault(),a.returnValue=!1),p}}function Hh(e=1){return function wi(e){return(tt.lFrame.contextLView=function Ye(e,t){for(;e>0;)t=t[15],e--;return t}(e,tt.lFrame.contextLView))[8]}(e)}function m_(e,t){let n=null;const r=function wy(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?fd(e,i,!0):My(r,i))return s}else n=s}return n}function Vh(e){const t=Pe()[16][6];if(!t.projection){const r=t.projection=vo(e?e.length:1,null),s=r.slice();let i=t.child;for(;null!==i;){const a=e?m_(i,e):0;null!==a&&(s[a]?s[a].projectionNext=i:r[a]=i,s[a]=i),i=i.next}}}function $h(e,t=0,n){const r=Pe(),s=Tt(),i=ji(s,20+e,16,null,n||null);null===i.projection&&(i.projection=t),I(),64!=(64&i.flags)&&function yy(e,t,n){ld(t[11],0,t,n,Jc(e,n,t),nd(n.parent||t[6],n,t))}(s,r,i)}function fu(e,t,n){return Ta(e,"",t,"",n),fu}function Ta(e,t,n,r,s){const i=Pe(),a=Wi(i,t,n,r);return a!==Et&&xr(Tt(),Je(),i,e,a,i[11],s,!1),Ta}function Jh(e,t,n,r,s){const i=e[n+1],a=null===t;let d=r?ss(i):Fs(i),p=!1;for(;0!==d&&(!1===p||a);){const w=e[d+1];__(e[d],t)&&(p=!0,e[d+1]=r?wl(w):Cl(w)),d=r?ss(w):Fs(w)}p&&(e[n+1]=r?Cl(i):wl(i))}function __(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&Ri(e,t)>=0}const Un={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Xh(e){return e.substring(Un.key,Un.keyEnd)}function ef(e,t){const n=Un.textEnd;return n===t?-1:(t=Un.keyEnd=function b_(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}(e,Un.key=t,n),to(e,t,n))}function to(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function pu(e,t,n){return os(e,t,n,!1),pu}function gu(e,t){return os(e,t,null,!0),gu}function of(e){as(Rr,Ss,e,!0)}function Ss(e,t){for(let n=function E_(e){return function nf(e){Un.key=0,Un.keyEnd=0,Un.value=0,Un.valueEnd=0,Un.textEnd=e.length}(e),ef(e,to(e,0,Un.textEnd))}(t);n>=0;n=ef(t,n))Rr(e,Xh(t),!0)}function os(e,t,n,r){const s=Pe(),i=Tt(),a=Ze(2);i.firstUpdatePass&&lf(i,e,a,r),t!==Et&&ar(s,a,t)&&cf(i,i.data[We()],s,s[11],e,s[a+1]=function x_(e,t){return null==e||("string"==typeof t?e+=t:"object"==typeof e&&(e=F(Ns(e)))),e}(t,n),r,a)}function as(e,t,n,r){const s=Tt(),i=Ze(2);s.firstUpdatePass&&lf(s,null,i,r);const a=Pe();if(n!==Et&&ar(a,i,n)){const d=s.data[We()];if(hf(d,r)&&!af(s,i)){let p=r?d.classesWithoutHost:d.stylesWithoutHost;null!==p&&(n=ae(p,n||"")),su(s,d,a,n,r)}else!function R_(e,t,n,r,s,i,a,d){s===Et&&(s=st);let p=0,E=0,w=0<s.length?s[0]:null,P=0<i.length?i[0]:null;for(;null!==w||null!==P;){const G=p<s.length?s[p+1]:void 0,ee=E<i.length?i[E+1]:void 0;let xe,ve=null;w===P?(p+=2,E+=2,G!==ee&&(ve=P,xe=ee)):null===P||null!==w&&w<P?(p+=2,ve=w):(E+=2,ve=P,xe=ee),null!==ve&&cf(e,t,n,r,ve,xe,a,d),w=p<s.length?s[p]:null,P=E<i.length?i[E]:null}}(s,d,a,a[11],a[i+1],a[i+1]=function O_(e,t,n){if(null==n||""===n)return st;const r=[],s=Ns(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 af(e,t){return t>=e.expandoStartIndex}function lf(e,t,n,r){const s=e.data;if(null===s[n+1]){const i=s[We()],a=af(e,n);hf(i,r)&&null===t&&!a&&(t=!1),t=function M_(e,t,n,r){const s=_n(e);let i=r?t.residualClasses:t.residualStyles;if(null===s)0===(r?t.classBindings:t.styleBindings)&&(n=Lo(n=mu(null,e,t,n,r),t.attrs,r),i=null);else{const a=t.directiveStylingLast;if(-1===a||e[a]!==s)if(n=mu(s,e,t,n,r),null===i){let p=function A_(e,t,n){const r=n?t.classBindings:t.styleBindings;if(0!==Fs(r))return e[ss(r)]}(e,t,r);void 0!==p&&Array.isArray(p)&&(p=mu(null,e,t,p[1],r),p=Lo(p,t.attrs,r),function I_(e,t,n,r){e[ss(n?t.classBindings:t.styleBindings)]=r}(e,t,r,p))}else i=function P_(e,t,n){let r;const s=t.directiveEnd;for(let i=1+t.directiveStylingLast;i<s;i++)r=Lo(r,e[i].hostAttrs,n);return Lo(r,t.attrs,n)}(e,t,r)}return void 0!==i&&(r?t.residualClasses=i:t.residualStyles=i),n}(s,i,t,r),function y_(e,t,n,r,s,i){let a=i?t.classBindings:t.styleBindings,d=ss(a),p=Fs(a);e[r]=n;let w,E=!1;if(Array.isArray(n)){const P=n;w=P[1],(null===w||Ri(P,w)>0)&&(E=!0)}else w=n;if(s)if(0!==p){const G=ss(e[d+1]);e[r+1]=ma(G,d),0!==G&&(e[G+1]=bl(e[G+1],r)),e[d+1]=function Oy(e,t){return 131071&e|t<<17}(e[d+1],r)}else e[r+1]=ma(d,0),0!==d&&(e[d+1]=bl(e[d+1],r)),d=r;else e[r+1]=ma(p,0),0===d?d=r:e[p+1]=bl(e[p+1],r),p=r;E&&(e[r+1]=Cl(e[r+1])),Jh(e,w,r,!0),Jh(e,w,r,!1),function v_(e,t,n,r,s){const i=s?e.residualClasses:e.residualStyles;null!=i&&"string"==typeof t&&Ri(i,t)>=0&&(n[r+1]=wl(n[r+1]))}(t,w,e,r,i),a=ma(d,p),i?t.classBindings=a:t.styleBindings=a}(s,i,t,n,a,r)}}function mu(e,t,n,r,s){let i=null;const a=n.directiveEnd;let d=n.directiveStylingLast;for(-1===d?d=n.directiveStart:d++;d<a&&(i=t[d],r=Lo(r,i.hostAttrs,s),i!==e);)d++;return null!==e&&(n.directiveStylingLast=d),r}function Lo(e,t,n){const r=n?1:2;let s=-1;if(null!==t)for(let i=0;i<t.length;i++){const a=t[i];"number"==typeof a?s=a:s===r&&(Array.isArray(e)||(e=void 0===e?[]:["",e]),Rr(e,a,!!n||t[++i]))}return void 0===e?null:e}function cf(e,t,n,r,s,i,a,d){if(!(3&t.type))return;const p=e.data,E=p[d+1];Sa(function _d(e){return 1==(1&e)}(E)?df(p,t,n,s,Fs(E),a):void 0)||(Sa(i)||function vd(e){return 2==(2&e)}(E)&&(i=df(p,null,n,s,d,a)),function _y(e,t,n,r,s){const i=m(e);if(t)s?i?e.addClass(n,r):n.classList.add(r):i?e.removeClass(n,r):n.classList.remove(r);else{let a=-1===r.indexOf("-")?void 0:Cs.DashCase;if(null==s)i?e.removeStyle(n,r,a):n.style.removeProperty(r);else{const d="string"==typeof s&&s.endsWith("!important");d&&(s=s.slice(0,-10),a|=Cs.Important),i?e.setStyle(n,r,s,a):n.style.setProperty(r,s,d?"important":"")}}}(r,a,Ie(We(),n),s,i))}function df(e,t,n,r,s,i){const a=null===t;let d;for(;s>0;){const p=e[s],E=Array.isArray(p),w=E?p[1]:p,P=null===w;let G=n[s+1];G===Et&&(G=P?st:void 0);let ee=P?Ya(G,r):w===r?G:void 0;if(E&&!Sa(ee)&&(ee=Ya(p,r)),Sa(ee)&&(d=ee,a))return d;const ve=e[s+1];s=a?ss(ve):Fs(ve)}if(null!==t){let p=i?t.residualClasses:t.residualStyles;null!=p&&(d=Ya(p,r))}return d}function Sa(e){return void 0!==e}function hf(e,t){return 0!=(e.flags&(t?16:32))}function ff(e,t=""){const n=Pe(),r=Tt(),s=e+20,i=r.firstCreatePass?ji(r,s,1,t,null):r.data[s],a=n[s]=function pl(e,t){return m(e)?e.createText(t):e.createTextNode(t)}(n[11],t);pa(r,n,a,i),f(i,!1)}function yu(e){return Ma("",e,""),yu}function Ma(e,t,n){const r=Pe(),s=Wi(r,e,t,n);return s!==Et&&ks(r,We(),s),Ma}function vu(e,t,n,r,s){const i=Pe(),a=Ki(i,e,t,n,r,s);return a!==Et&&ks(i,We(),a),vu}function Ef(e,t,n){as(Rr,Ss,Wi(Pe(),e,t,n),!0)}function _u(e,t,n){const r=Pe();return ar(r,_t(),t)&&xr(Tt(),Je(),r,e,t,r[11],n,!0),_u}function Du(e,t,n){const r=Pe();if(ar(r,_t(),t)){const i=Tt(),a=Je();xr(i,a,r,e,t,Gd(_n(i.data),a,r),n,!0)}return Du}const mi=void 0;var J_=["en",[["a","p"],["AM","PM"],mi],[["AM","PM"],mi,mi],[["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"]],mi,[["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"]],mi,[["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}",mi,"{1} 'at' {0}",mi],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function Z_(e){const n=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length;return 1===n&&0===r?1:5}];let no={};function Eu(e){const t=function X_(e){return e.toLowerCase().replace(/_/g,"-")}(e);let n=Rf(t);if(n)return n;const r=t.split("-")[0];if(n=Rf(r),n)return n;if("en"===r)return J_;throw new Error(`Missing locale data for the locale "${e}".`)}function Of(e){return Eu(e)[dt.PluralCase]}function Rf(e){return e in no||(no[e]=Ue.ng&&Ue.ng.common&&Ue.ng.common.locales&&Ue.ng.common.locales[e]),no[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 Aa="en-US";let xf=Aa;function wu(e,t,n,r,s){if(e=te(e),Array.isArray(e))for(let i=0;i<e.length;i++)wu(e[i],t,n,r,s);else{const i=Tt(),a=Pe();let d=$i(e)?e:te(e.provide),p=Jd(e);const E=C(),w=1048575&E.providerIndexes,P=E.directiveStart,G=E.providerIndexes>>20;if($i(e)||!e.multi){const ee=new qs(p,s,ko),ve=Su(d,t,s?w:w+G,P);-1===ve?(y(Ii(E,a),i,d),Tu(i,e,t.length),t.push(d),E.directiveStart++,E.directiveEnd++,s&&(E.providerIndexes+=1048576),n.push(ee),a.push(ee)):(n[ve]=ee,a[ve]=ee)}else{const ee=Su(d,t,w+G,P),ve=Su(d,t,w,w+G),xe=ee>=0&&n[ee],Be=ve>=0&&n[ve];if(s&&!Be||!s&&!xe){y(Ii(E,a),i,d);const qe=function ZD(e,t,n,r,s){const i=new qs(e,n,ko);return i.multi=[],i.index=t,i.componentProviders=0,rp(i,s,r&&!n),i}(s?qD:QD,n.length,s,r,p);!s&&Be&&(n[ve].providerFactory=qe),Tu(i,e,t.length,0),t.push(d),E.directiveStart++,E.directiveEnd++,s&&(E.providerIndexes+=1048576),n.push(qe),a.push(qe)}else Tu(i,e,ee>-1?ee:ve,rp(n[s?ve:ee],p,!s&&r));!s&&r&&Be&&n[ve].componentProviders++}}}function Tu(e,t,n,r){const s=$i(t),i=function wv(e){return!!e.useClass}(t);if(s||i){const p=(i?te(t.useClass):t).prototype.ngOnDestroy;if(p){const E=e.destroyHooks||(e.destroyHooks=[]);if(!s&&t.multi){const w=E.indexOf(n);-1===w?E.push(n,[r,p]):E[w+1].push(r,p)}else E.push(n,p)}}}function rp(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function Su(e,t,n,r){for(let s=n;s<r;s++)if(t[s]===e)return s;return-1}function QD(e,t,n,r){return Mu(this.multi,[])}function qD(e,t,n,r){const s=this.multi;let i;if(this.providerFactory){const a=this.providerFactory.componentProviders,d=Bt(n,n[1],this.providerFactory.index,r);i=d.slice(0,a),Mu(s,i);for(let p=a;p<d.length;p++)i.push(d[p])}else i=[],Mu(s,i);return i}function Mu(e,t){for(let n=0;n<e.length;n++)t.push((0,e[n])());return t}function sp(e,t=[]){return n=>{n.providersResolver=(r,s)=>function YD(e,t,n){const r=Tt();if(r.firstCreatePass){const s=Wt(e);wu(n,r.data,r.blueprint,s,!0),wu(t,r.data,r.blueprint,s,!1)}}(r,s?s(e):e,t)}}class ip{}class eE{resolveComponentFactory(t){throw function XD(e){const t=Error(`No component factory found for ${F(e)}. Did you add it to @NgModule.entryComponents?`);return t.ngComponent=e,t}(t)}}let Vo=(()=>{class e{}return e.NULL=new eE,e})();function tE(){return so(C(),Pe())}function so(e,t){return new $o(He(e,t))}let $o=(()=>{class e{constructor(n){this.nativeElement=n}}return e.__NG_ELEMENT_ID__=tE,e})();function nE(e){return e instanceof $o?e.nativeElement:e}class ap{}let rE=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>function iE(){const e=Pe(),n=ct(C().index,e);return function sE(e){return e[11]}(Wn(n)?n:e)}(),e})(),oE=(()=>{class e{}return e.\u0275prov=je({token:e,providedIn:"root",factory:()=>null}),e})();class lp{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const aE=new lp("13.0.3"),Au={};function xa(e,t,n,r,s=!1){for(;null!==n;){const i=t[n.index];if(null!==i&&r.push(S(i)),Bn(i))for(let d=10;d<i.length;d++){const p=i[d],E=p[1].firstChild;null!==E&&xa(p[1],p,E,r)}const a=n.type;if(8&a)xa(e,t,n.child,r);else if(32&a){const d=dl(n,t);let p;for(;p=d();)r.push(p)}else if(16&a){const d=od(t,n);if(Array.isArray(d))r.push(...d);else{const p=Io(t[16]);xa(p[1],p,d,r,!0)}}n=s?n.projectionNext:n.next}return r}class zo{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 xa(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(Bn(t)){const n=t[8],r=n?n.indexOf(this):-1;r>-1&&(ml(t,r),oa(n,r))}this._attachedToViewContainer=!1}Zc(this._lView[1],this._lView)}onDestroy(t){xd(this._lView[1],this._lView,null,t)}markForCheck(){jl(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-129}reattach(){this._lView[2]|=128}detectChanges(){Hl(this._lView[1],this._lView,this.context)}checkNoChanges(){!function fv(e,t,n){ye(!0);try{Hl(e,t,n)}finally{ye(!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(){this._appRef=null,function uy(e,t){Po(e,t,t[11],2,null,null)}(this._lView[1],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new Error("This view is already attached to a ViewContainer!");this._appRef=t}}class lE extends zo{constructor(t){super(t),this._view=t}detectChanges(){Vd(this._view)}checkNoChanges(){!function pv(e){ye(!0);try{Vd(e)}finally{ye(!1)}}(this._view)}get context(){return null}}class up extends Vo{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const n=R(t);return new Iu(n,this.ngModule)}}function cp(e){const t=[];for(let n in e)e.hasOwnProperty(n)&&t.push({propName:e[n],templateName:n});return t}const cE=new Dn("SCHEDULER_TOKEN",{providedIn:"root",factory:()=>$c});class Iu extends ip{constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=function Iy(e){return e.map(Ay).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!n}get inputs(){return cp(this.componentDef.inputs)}get outputs(){return cp(this.componentDef.outputs)}create(t,n,r,s){const i=(s=s||this.ngModule)?function dE(e,t){return{get:(n,r,s)=>{const i=e.get(n,Au,s);return i!==Au||r===Au?i:t.get(n,r,s)}}}(t,s.injector):t,a=i.get(ap,T),d=i.get(oE,null),p=a.createRenderer(null,this.componentDef),E=this.componentDef.selectors[0][0]||"div",w=r?function Rd(e,t,n){if(m(e))return e.selectRootElement(t,n===bt.ShadowDom);let r="string"==typeof t?e.querySelector(t):t;return r.textContent="",r}(p,r,this.componentDef.encapsulation):gl(a.createRenderer(null,this.componentDef),E,function uE(e){const t=e.toLowerCase();return"svg"===t?Ws:"math"===t?"http://www.w3.org/1998/MathML/":null}(E)),P=this.componentDef.onPush?576:528,G=function ch(e,t){return{components:[],scheduler:e||$c,clean:gv,playerHandler:t||null,flags:0}}(),ee=_a(0,null,null,1,0,null,null,null,null,null),ve=Oo(null,ee,G,P,null,null,a,p,d,i);let xe,Be;rr(ve);try{const qe=function lh(e,t,n,r,s,i){const a=n[1];n[20]=e;const p=ji(a,20,2,"#host",null),E=p.mergedAttrs=t.hostAttrs;null!==E&&(Ea(p,E,!0),null!==e&&(di(s,e,E),null!==p.classes&&El(s,e,p.classes),null!==p.styles&&ud(s,e,p.styles)));const w=r.createRenderer(e,t),P=Oo(n,Pd(t),null,t.onPush?64:16,n[20],p,r,w,i||null,null);return a.firstCreatePass&&(y(Ii(p,n),a,t.type),Bd(a,p),jd(p,n.length,1)),Da(n,P),n[20]=P}(w,this.componentDef,ve,a,p);if(w)if(r)di(p,w,["ng-version",aE.full]);else{const{attrs:Me,classes:ot}=function Py(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(!rs(s))break;s=i}r++}return{attrs:t,classes:n}}(this.componentDef.selectors[0]);Me&&di(p,w,Me),ot&&ot.length>0&&El(p,w,ot.join(" "))}if(Be=Lt(ee,20),void 0!==n){const Me=Be.projection=[];for(let ot=0;ot<this.ngContentSelectors.length;ot++){const xt=n[ot];Me.push(null!=xt?Array.from(xt):null)}}xe=function uh(e,t,n,r,s){const i=n[1],a=function Zy(e,t,n){const r=C();e.firstCreatePass&&(n.providersResolver&&n.providersResolver(n),Ud(e,r,t,Ui(e,t,1,null),n));const s=Bt(t,e,r.directiveStart,r);or(s,t);const i=He(r,t);return i&&or(i,t),s}(i,n,t);if(r.components.push(a),e[8]=a,s&&s.forEach(p=>p(a,t)),t.contentQueries){const p=C();t.contentQueries(1,a,p.directiveStart)}const d=C();return!i.firstCreatePass||null===t.hostBindings&&null===t.hostAttrs||(Xe(d.index),kd(n[1],d,0,d.directiveStart,d.directiveEnd,t),Ld(t,a)),a}(qe,this.componentDef,ve,G,[Fv]),Ro(ee,ve,null)}finally{Xr()}return new fE(this.componentType,xe,so(Be,ve),ve,Be)}}class fE extends class JD{}{constructor(t,n,r,s,i){super(),this.location=r,this._rootLView=s,this._tNode=i,this.instance=n,this.hostView=this.changeDetectorRef=new lE(s),this.componentType=t}get injector(){return new ir(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}}class io{}class dp{}const oo=new Map;class pp extends io{constructor(t,n){super(),this._parent=n,this._bootstrapComponents=[],this.injector=this,this.destroyCbs=[],this.componentFactoryResolver=new up(this);const r=wt(t);this._bootstrapComponents=Es(r.bootstrap),this._r3Injector=Zd(t,n,[{provide:io,useValue:this},{provide:Vo,useValue:this.componentFactoryResolver}],F(t)),this._r3Injector._resolveInjectorDefTypes(),this.instance=this.get(t)}get(t,n=Wr.THROW_IF_NOT_FOUND,r=nt.Default){return t===Wr||t===io||t===$l?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 Pu extends dp{constructor(t){super(),this.moduleType=t,null!==wt(t)&&function gE(e){const t=new Set;!function n(r){const s=wt(r,!0),i=s.id;null!==i&&(function hp(e,t,n){if(t&&t!==n)throw new Error(`Duplicate module registered for ${e} - ${F(t)} vs ${F(t.name)}`)}(i,oo.get(i),r),oo.set(i,r));const a=Es(s.imports);for(const d of a)t.has(d)||(t.add(d),n(d))}(e)}(t)}create(t){return new pp(this.moduleType,t)}}function gp(e,t,n){const r=Re()+e,s=Pe();return s[r]===Et?ws(s,r,n?t.call(n):t()):Fo(s,r)}function mp(e,t,n,r){return Ep(Pe(),Re(),e,t,n,r)}function yp(e,t,n,r,s){return Cp(Pe(),Re(),e,t,n,r,s)}function vp(e,t,n,r,s,i){return bp(Pe(),Re(),e,t,n,r,s,i)}function _p(e,t,n,r,s,i,a){return function wp(e,t,n,r,s,i,a,d,p){const E=t+n;return Kr(e,E,s,i,a,d)?ws(e,E+4,p?r.call(p,s,i,a,d):r(s,i,a,d)):Go(e,E+4)}(Pe(),Re(),e,t,n,r,s,i,a)}function Dp(e,t,n,r,s,i,a,d){const p=Re()+e,E=Pe(),w=Kr(E,p,n,r,s,i);return ar(E,p+4,a)||w?ws(E,p+5,d?t.call(d,n,r,s,i,a):t(n,r,s,i,a)):Fo(E,p+5)}function Go(e,t){const n=e[t];return n===Et?void 0:n}function Ep(e,t,n,r,s,i){const a=t+n;return ar(e,a,s)?ws(e,a+1,i?r.call(i,s):r(s)):Go(e,a+1)}function Cp(e,t,n,r,s,i,a){const d=t+n;return gi(e,d,s,i)?ws(e,d+2,a?r.call(a,s,i):r(s,i)):Go(e,d+2)}function bp(e,t,n,r,s,i,a,d){const p=t+n;return function ba(e,t,n,r,s){const i=gi(e,t,n,r);return ar(e,t+2,s)||i}(e,p,s,i,a)?ws(e,p+3,d?r.call(d,s,i,a):r(s,i,a)):Go(e,p+3)}function Sp(e,t){const n=Tt();let r;const s=e+20;n.firstCreatePass?(r=function DE(e,t){if(t)for(let n=t.length-1;n>=0;n--){const r=t[n];if(e===r.name)return r}}(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=yn(r.type)),a=K(ko);try{const d=Ai(!1),p=i();return Ai(d),function Kv(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}(n,Pe(),s,p),p}finally{K(a)}}function Mp(e,t,n){const r=e+20,s=Pe(),i=Nt(s,r);return Wo(s,r)?Ep(s,Re(),t,i.transform,n,i):i.transform(n)}function Ap(e,t,n,r){const s=e+20,i=Pe(),a=Nt(i,s);return Wo(i,s)?Cp(i,Re(),t,a.transform,n,r,a):a.transform(n,r)}function Ip(e,t,n,r,s){const i=e+20,a=Pe(),d=Nt(a,i);return Wo(a,i)?bp(a,Re(),t,d.transform,n,r,s,d):d.transform(n,r,s)}function Wo(e,t){return e[1].data[t].pure}function Ou(e){return t=>{setTimeout(e,void 0,t)}}const Ms=class bE extends g.xQ{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,n,r){var s,i,a;let d=t,p=n||(()=>null),E=r;if(t&&"object"==typeof t){const P=t;d=null===(s=P.next)||void 0===s?void 0:s.bind(P),p=null===(i=P.error)||void 0===i?void 0:i.bind(P),E=null===(a=P.complete)||void 0===a?void 0:a.bind(P)}this.__isAsync&&(p=Ou(p),d&&(d=Ou(d)),E&&(E=Ou(E)));const w=super.subscribe({next:d,error:p,complete:E});return t instanceof _.w&&t.add(w),w}};function wE(){return this._results[zi()]()}class Na{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=zi(),r=Na.prototype;r[n]||(r[n]=wE)}get changes(){return this._changes||(this._changes=new Ms)}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=Gr(t);(this._changesDetected=!function Lg(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;let Ko=(()=>{class e{}return e.__NG_ELEMENT_ID__=ME,e})();const TE=Ko,SE=class extends TE{constructor(t,n,r){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=r}createEmbeddedView(t){const n=this._declarationTContainer.tViews,r=Oo(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)),Ro(n,r,t),new zo(r)}};function ME(){return Fa(C(),Pe())}function Fa(e,t){return 4&e.type?new SE(t,e,so(e,t)):null}let ka=(()=>{class e{}return e.__NG_ELEMENT_ID__=AE,e})();function AE(){return Rp(C(),Pe())}const IE=ka,Pp=class extends IE{constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return so(this._hostTNode,this._hostLView)}get injector(){return new ir(this._hostTNode,this._hostLView)}get parentInjector(){const t=u(this._hostTNode,this._hostLView);if(ea(t)){const n=Xs(t,this._hostLView),r=Js(t);return new ir(n[1].data[r+8],n)}return new ir(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=Op(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 a=t&&!function yo(e){return"function"==typeof e}(t);let d;if(a)d=n;else{const P=n||{};d=P.index,r=P.injector,s=P.projectableNodes,i=P.ngModuleRef}const p=a?t:new Iu(R(t)),E=r||this.parentInjector;if(!i&&null==p.ngModule&&E){const P=E.get(io,null);P&&(i=P)}const w=p.create(E,s,void 0,i);return this.insert(w.hostView,d),w}insert(t,n){const r=t._lView,s=r[1];if(function un(e){return Bn(e[3])}(r)){const w=this.indexOf(t);if(-1!==w)this.detach(w);else{const P=r[3],G=new Pp(P,P[6],P[3]);G.detach(G.indexOf(t))}}const i=this._adjustIndex(n),a=this._lContainer;!function dy(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],dc(n,10+r,t)):(n.push(t),t[4]=null),t[3]=n;const a=t[17];null!==a&&n!==a&&function hy(e,t){const n=e[9];t[16]!==t[3][3][16]&&(e[2]=!0),null===n?e[9]=[t]:n.push(t)}(a,t);const d=t[19];null!==d&&d.insertView(e),t[2]|=128}(s,r,a,i);const d=_l(i,a),p=r[11],E=fa(p,a[7]);return null!==E&&function ly(e,t,n,r,s,i){r[0]=s,r[6]=t,Po(e,r,n,1,s,i)}(s,a[6],p,r,E,d),t.attachToViewContainerRef(),dc(Ru(a),i,t),t}move(t,n){return this.insert(t,n)}indexOf(t){const n=Op(this._lContainer);return null!==n?n.indexOf(t):-1}remove(t){const n=this._adjustIndex(t,-1),r=ml(this._lContainer,n);r&&(oa(Ru(this._lContainer),n),Zc(r[1],r))}detach(t){const n=this._adjustIndex(t,-1),r=ml(this._lContainer,n);return r&&null!=oa(Ru(this._lContainer),n)?new zo(r):null}_adjustIndex(t,n=0){return null==t?this.length+n:t}};function Op(e){return e[8]}function Ru(e){return e[8]||(e[8]=[])}function Rp(e,t){let n;const r=t[e.index];if(Bn(r))n=r;else{let s;if(8&e.type)s=S(r);else{const i=t[11];s=i.createComment("");const a=He(e,t);pi(i,fa(i,a),s,function my(e,t){return m(e)?e.nextSibling(t):t.nextSibling}(i,a),!1)}t[e.index]=n=Hd(r,t,s,e),Da(t,n)}return new Pp(n,e,t)}class xu{constructor(t){this.queryList=t,this.matches=null}clone(){return new xu(this.queryList)}setDirty(){this.queryList.setDirty()}}class Nu{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 a=n.getByIndex(i);s.push(this.queries[a.indexInDeclarationView].clone())}return new Nu(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!==Hp(t,n).matches&&this.queries[n].setDirty()}}class xp{constructor(t,n,r=null){this.predicate=t,this.flags=n,this.read=r}}class Fu{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 Fu(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 ku{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 ku(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,RE(n,i)),this.matchTNodeWithReadOption(t,n,et(n,t,i,!1,!1))}else r===Ko?4&n.type&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,et(n,t,r,!1,!1))}matchTNodeWithReadOption(t,n,r){if(null!==r){const s=this.metadata.read;if(null!==s)if(s===$o||s===ka||s===Ko&&4&n.type)this.addMatch(n.index,-2);else{const i=et(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 RE(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 NE(e,t,n,r){return-1===n?function xE(e,t){return 11&e.type?so(e,t):4&e.type?Fa(e,t):null}(t,e):-2===n?function FE(e,t,n){return n===$o?so(t,e):n===Ko?Fa(t,e):n===ka?Rp(t,e):void 0}(e,t,r):Bt(e,e[1],n,t)}function Np(e,t,n,r){const s=t[19].queries[r];if(null===s.matches){const i=e.data,a=n.matches,d=[];for(let p=0;p<a.length;p+=2){const E=a[p];d.push(E<0?null:NE(t,i[E],a[p+1],n.metadata.read))}s.matches=d}return s.matches}function Lu(e,t,n,r){const s=e.queries.getByIndex(n),i=s.matches;if(null!==i){const a=Np(e,t,s,n);for(let d=0;d<i.length;d+=2){const p=i[d];if(p>0)r.push(a[d/2]);else{const E=i[d+1],w=t[-p];for(let P=10;P<w.length;P++){const G=w[P];G[17]===G[3]&&Lu(G[1],G,E,r)}if(null!==w[9]){const P=w[9];for(let G=0;G<P.length;G++){const ee=P[G];Lu(ee[1],ee,E,r)}}}}}return r}function Fp(e){const t=Pe(),n=Tt(),r=Hr();Zn(r+1);const s=Hp(n,r);if(e.dirty&&Kt(t)===(2==(2&s.metadata.flags))){if(null===s.matches)e.reset([]);else{const i=s.crossesNgTemplate?Lu(n,t,r,[]):Np(n,t,s,r);e.reset(i,nE),e.notifyOnChanges()}return!0}return!1}function kp(e,t,n){const r=Tt();r.firstCreatePass&&(Up(r,new xp(e,t,n),-1),2==(2&t)&&(r.staticViewQueries=!0)),jp(r,Pe(),t)}function Lp(e,t,n,r){const s=Tt();if(s.firstCreatePass){const i=C();Up(s,new xp(t,n,r),i.index),function LE(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)}jp(s,Pe(),n)}function Bp(){return function kE(e,t){return e[19].queries[t].queryList}(Pe(),Hr())}function jp(e,t,n){const r=new Na(4==(4&n));xd(e,t,r,r.destroy),null===t[19]&&(t[19]=new Nu),t[19].queries.push(new xu(r))}function Up(e,t,n){null===e.queries&&(e.queries=new Fu),e.queries.track(new ku(t,n))}function Hp(e,t){return e.queries.getByIndex(t)}function Vp(e,t){return Fa(e,t)}function ja(...e){}const $u=new Dn("Application Initializer");let lo=(()=>{class e{constructor(n){this.appInits=n,this.resolve=ja,this.reject=ja,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(uu(i))n.push(i);else if(Bh(i)){const a=new Promise((d,p)=>{i.subscribe({complete:d,error:p})});n.push(a)}}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)(Qn($u,8))},e.\u0275prov=je({token:e,factory:e.\u0275fac}),e})();const ig=new Dn("AppId"),tC={provide:ig,useFactory:function eC(){return`${zu()}${zu()}${zu()}`},deps:[]};function zu(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const og=new Dn("Platform Initializer"),ag=new Dn("Platform ID"),lg=new Dn("appBootstrapListener");let ug=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=je({token:e,factory:e.\u0275fac}),e})();const Ua=new Dn("LocaleId"),cg=new Dn("DefaultCurrencyCode");class nC{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}}let Gu=(()=>{class e{compileModuleSync(n){return new Pu(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){const r=this.compileModuleSync(n),i=Es(wt(n).declarations).reduce((a,d)=>{const p=R(d);return p&&a.push(new Iu(p)),a},[]);return new nC(r,i)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=je({token:e,factory:e.\u0275fac}),e})();const sC=(()=>Promise.resolve(0))();function Wu(e){"undefined"==typeof Zone?sC.then(()=>{e&&e.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}class Nr{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Ms(!1),this.onMicrotaskEmpty=new Ms(!1),this.onStable=new Ms(!1),this.onError=new Ms(!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 iC(){let e=Ue.requestAnimationFrame,t=Ue.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 lC(e){const t=()=>{!function aC(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(Ue,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,Yu(e),e.isCheckStableRunning=!0,Ku(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),Yu(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,s,i,a,d)=>{try{return dg(e),n.invokeTask(s,i,a,d)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===i.type||e.shouldCoalesceRunChangeDetection)&&t(),hg(e)}},onInvoke:(n,r,s,i,a,d,p)=>{try{return dg(e),n.invoke(s,i,a,d,p)}finally{e.shouldCoalesceRunChangeDetection&&t(),hg(e)}},onHasTask:(n,r,s,i)=>{n.hasTask(s,i),r===s&&("microTask"==i.change?(e._hasPendingMicrotasks=i.microTask,Yu(e),Ku(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(!Nr.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}static assertNotInAngularZone(){if(Nr.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,a=i.scheduleEventTask("NgZoneEvent: "+s,t,oC,ja,ja);try{return i.runTask(a,n,r)}finally{i.cancelTask(a)}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}}const oC={};function Ku(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 Yu(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function dg(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function hg(e){e._nesting--,Ku(e)}class uC{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Ms,this.onMicrotaskEmpty=new Ms,this.onStable=new Ms,this.onError=new Ms}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 fg=(()=>{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:()=>{Nr.assertNotInAngularZone(),Wu(()=>{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())Wu(()=>{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(a=>a.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)(Qn(Nr))},e.\u0275prov=je({token:e,factory:e.\u0275fac}),e})(),pg=(()=>{class e{constructor(){this._applications=new Map,Qu.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 Qu.findTestabilityInTree(this,n,r)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=je({token:e,factory:e.\u0275fac}),e})();class cC{addToWindow(t){}findTestabilityInTree(t,n,r){return null}}function dC(e){Qu=e}let ls,Qu=new cC;const gg=new Dn("AllowMultipleToken");class pC{constructor(t,n){this.name=t,this.token=n}}function mg(e,t,n=[]){const r=`Platform: ${t}`,s=new Dn(r);return(i=[])=>{let a=yg();if(!a||a.injector.get(gg,!1))if(e)e(n.concat(i).concat({provide:s,useValue:!0}));else{const d=n.concat(i).concat({provide:s,useValue:!0},{provide:zl,useValue:"platform"});!function gC(e){if(ls&&!ls.destroyed&&!ls.injector.get(gg,!1))throw new be("400","");ls=e.get(vg);const t=e.get(og,null);t&&t.forEach(n=>n())}(Wr.create({providers:d,name:r}))}return function mC(e){const t=yg();if(!t)throw new be("401","");return t}()}}function yg(){return ls&&!ls.destroyed?ls:null}let vg=(()=>{class e{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,r){const d=function yC(e,t){let n;return n="noop"===e?new uC:("zone.js"===e?void 0:e)||new Nr({enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:!!(null==t?void 0:t.ngZoneEventCoalescing),shouldCoalesceRunChangeDetection:!!(null==t?void 0:t.ngZoneRunCoalescing)}),n}(r?r.ngZone:void 0,{ngZoneEventCoalescing:r&&r.ngZoneEventCoalescing||!1,ngZoneRunCoalescing:r&&r.ngZoneRunCoalescing||!1}),p=[{provide:Nr,useValue:d}];return d.run(()=>{const E=Wr.create({providers:p,parent:this.injector,name:n.moduleType.name}),w=n.create(E),P=w.injector.get(Ao,null);if(!P)throw new be("402","");return d.runOutsideAngular(()=>{const G=d.onError.subscribe({next:ee=>{P.handleError(ee)}});w.onDestroy(()=>{qu(this._modules,w),G.unsubscribe()})}),function vC(e,t,n){try{const r=n();return uu(r)?r.catch(s=>{throw t.runOutsideAngular(()=>e.handleError(s)),s}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}(P,d,()=>{const G=w.injector.get(lo);return G.runInitializers(),G.donePromise.then(()=>(function rD(e){_e(e,"Expected localeId to be defined"),"string"==typeof e&&(xf=e.toLowerCase().replace(/_/g,"-"))}(w.injector.get(Ua,Aa)||Aa),this._moduleDoBootstrap(w),w))})})}bootstrapModule(n,r=[]){const s=_g({},r);return function hC(e,t,n){const r=new Pu(n);return Promise.resolve(r)}(0,0,n).then(i=>this.bootstrapModuleFactory(i,s))}_moduleDoBootstrap(n){const r=n.injector.get(Qo);if(n._bootstrapComponents.length>0)n._bootstrapComponents.forEach(s=>r.bootstrap(s));else{if(!n.instance.ngDoBootstrap)throw new be("403","");n.instance.ngDoBootstrap(r)}this._modules.push(n)}onDestroy(n){this._destroyListeners.push(n)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new be("404","");this._modules.slice().forEach(n=>n.destroy()),this._destroyListeners.forEach(n=>n()),this._destroyed=!0}get destroyed(){return this._destroyed}}return e.\u0275fac=function(n){return new(n||e)(Qn(Wr))},e.\u0275prov=je({token:e,factory:e.\u0275fac}),e})();function _g(e,t){return Array.isArray(t)?t.reduce(_g,e):Object.assign(Object.assign({},e),t)}let Qo=(()=>{class e{constructor(n,r,s,i,a){this._zone=n,this._injector=r,this._exceptionHandler=s,this._componentFactoryResolver=i,this._initStatus=a,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 d=new J.y(E=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{E.next(this._stable),E.complete()})}),p=new J.y(E=>{let w;this._zone.runOutsideAngular(()=>{w=this._zone.onStable.subscribe(()=>{Nr.assertNotInAngularZone(),Wu(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,E.next(!0))})})});const P=this._zone.onUnstable.subscribe(()=>{Nr.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{E.next(!1)}))});return()=>{w.unsubscribe(),P.unsubscribe()}});this.isStable=(0,ie.T)(d,p.pipe(function q(){return e=>(0,U.x)()((0,B.O)(Q)(e))}()))}bootstrap(n,r){if(!this._initStatus.done)throw new be("405","");let s;s=n instanceof ip?n:this._componentFactoryResolver.resolveComponentFactory(n),this.componentTypes.push(s.componentType);const i=function fC(e){return e.isBoundToModule}(s)?void 0:this._injector.get(io),d=s.create(Wr.NULL,[],r||s.selector,i),p=d.location.nativeElement,E=d.injector.get(fg,null),w=E&&d.injector.get(pg);return E&&w&&w.registerApplication(p,E),d.onDestroy(()=>{this.detachView(d.hostView),qu(this.components,d),w&&w.unregisterApplication(p)}),this._loadComponent(d),d}tick(){if(this._runningTick)throw new be("101","");try{this._runningTick=!0;for(let n of this._views)n.detectChanges()}catch(n){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(n))}finally{this._runningTick=!1}}attachView(n){const r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){const r=n;qu(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n),this._injector.get(lg,[]).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)(Qn(Nr),Qn(Wr),Qn(Ao),Qn(Vo),Qn(lo))},e.\u0275prov=je({token:e,factory:e.\u0275fac}),e})();function qu(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}let Eg=!0;function DC(){Eg=!1}let EC=(()=>{class e{}return e.__NG_ELEMENT_ID__=CC,e})();function CC(e){return function bC(e,t,n){if(Qr(e)&&!n){const r=ct(e.index,t);return new zo(r,r)}return 47&e.type?new zo(t[16],t):null}(C(),Pe(),16==(16&e))}class Ag{constructor(){}supports(t){return No(t)}create(t){return new IC(t)}}const AC=(e,t)=>t;class IC{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||AC}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 a=!r||n&&n.currentIndex<Pg(r,s,i)?n:r,d=Pg(a,s,i),p=a.currentIndex;if(a===r)s--,r=r._nextRemoved;else if(n=n._next,null==a.previousIndex)s++;else{i||(i=[]);const E=d-s,w=p-s;if(E!=w){for(let G=0;G<E;G++){const ee=G<i.length?i[G]:i[G]=0,ve=ee+G;w<=ve&&ve<E&&(i[G]=ee+1)}i[a.previousIndex]=w-E}}d!==p&&t(a,d,p)}}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=[]),!No(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,a,n=this._itHead,r=!1;if(Array.isArray(t)){this.length=t.length;for(let d=0;d<this.length;d++)i=t[d],a=this._trackByFn(d,i),null!==n&&Object.is(n.trackById,a)?(r&&(n=this._verifyReinsertion(n,i,a,d)),Object.is(n.item,i)||this._addIdentityChange(n,i)):(n=this._mismatch(n,i,a,d),r=!0),n=n._next}else s=0,function Gv(e,t){if(Array.isArray(e))for(let n=0;n<e.length;n++)t(e[n]);else{const n=e[zi()]();let r;for(;!(r=n.next()).done;)t(r.value)}}(t,d=>{a=this._trackByFn(s,d),null!==n&&Object.is(n.trackById,a)?(r&&(n=this._verifyReinsertion(n,d,a,s)),Object.is(n.item,d)||this._addIdentityChange(n,d)):(n=this._mismatch(n,d,a,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 PC(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 Ig),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 Ig),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 PC{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 OC{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 Ig{constructor(){this.map=new Map}put(t){const n=t.trackById;let r=this.map.get(n);r||(r=new OC,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 Pg(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 Og{constructor(){}supports(t){return t instanceof Map||Zl(t)}create(){return new RC}}class RC{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||Zl(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,a=s._next;return i&&(i._next=a),a&&(a._prev=i),s._next=null,s._prev=null,s}const r=new xC(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 xC{constructor(t){this.key=t,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}function Rg(){return new Va([new Ag])}let Va=(()=>{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||Rg()),deps:[[e,new xi,new hi]]}}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 NC(e){return e.name||typeof e}(n)}'`)}}return e.\u0275prov=je({token:e,providedIn:"root",factory:Rg}),e})();function xg(){return new $a([new Og])}let $a=(()=>{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||xg()),deps:[[e,new xi,new hi]]}}find(n){const r=this.factories.find(s=>s.supports(n));if(r)return r;throw new Error(`Cannot find a differ supporting object '${n}'`)}}return e.\u0275prov=je({token:e,providedIn:"root",factory:xg}),e})();const FC=[new Og],LC=new Va([new Ag]),BC=new $a(FC),jC=mg(null,"core",[{provide:ag,useValue:"unknown"},{provide:vg,deps:[Wr]},{provide:pg,deps:[]},{provide:ug,deps:[]}]),zC=[{provide:Qo,useClass:Qo,deps:[Nr,Wr,Ao,Vo,lo]},{provide:cE,deps:[Nr],useFactory:function GC(e){let t=[];return e.onStable.subscribe(()=>{for(;t.length;)t.pop()()}),function(n){t.push(n)}}},{provide:lo,useClass:lo,deps:[[new hi,$u]]},{provide:Gu,useClass:Gu,deps:[]},tC,{provide:Va,useFactory:function UC(){return LC},deps:[]},{provide:$a,useFactory:function HC(){return BC},deps:[]},{provide:Ua,useFactory:function VC(e){return e||function $C(){return"undefined"!=typeof $localize&&$localize.locale||Aa}()},deps:[[new Co(Ua),new hi,new xi]]},{provide:cg,useValue:"USD"}];let WC=(()=>{class e{constructor(n){}}return e.\u0275fac=function(n){return new(n||e)(Qn(Qo))},e.\u0275mod=x({type:e}),e.\u0275inj=Ut({providers:zC}),e})()},6360:(Ge,he,M)=>{M.d(he,{Qb:()=>Rs,PW:()=>Tt});var g=M(9863),_=M(2313),J=M(1777);function ie(){return"undefined"!=typeof window&&void 0!==window.document}function B(){return"undefined"!=typeof process&&"[object process]"==={}.toString.call(process)}function U(C){switch(C.length){case 0:return new J.ZN;case 1:return C[0];default:return new J.ZE(C)}}function Q(C,o,l,f,b={},I={}){const k=[],j=[];let re=-1,ye=null;if(f.forEach(Re=>{const $e=Re.offset,gt=$e==re,_t=gt&&ye||{};Object.keys(Re).forEach(Ze=>{let mt=Ze,At=Re[Ze];if("offset"!==Ze)switch(mt=o.normalizePropertyName(mt,k),At){case J.k1:At=b[Ze];break;case J.l3:At=I[Ze];break;default:At=o.normalizeStyleValue(Ze,mt,At,k)}_t[mt]=At}),gt||j.push(_t),ye=_t,re=$e}),k.length){const Re="\n - ";throw new Error(`Unable to animate due to the following errors:${Re}${k.join(Re)}`)}return j}function q(C,o,l,f){switch(o){case"start":C.onStart(()=>f(l&&z(l,"start",C)));break;case"done":C.onDone(()=>f(l&&z(l,"done",C)));break;case"destroy":C.onDestroy(()=>f(l&&z(l,"destroy",C)))}}function z(C,o,l){const f=l.totalTime,I=V(C.element,C.triggerName,C.fromState,C.toState,o||C.phaseName,null==f?C.totalTime:f,!!l.disabled),k=C._data;return null!=k&&(I._data=k),I}function V(C,o,l,f,b="",I=0,k){return{element:C,triggerName:o,fromState:l,toState:f,phaseName:b,totalTime:I,disabled:!!k}}function F(C,o,l){let f;return C instanceof Map?(f=C.get(o),f||C.set(o,f=l)):(f=C[o],f||(f=C[o]=l)),f}function ae(C){const o=C.indexOf(":");return[C.substring(1,o),C.substr(o+1)]}let fe=(C,o)=>!1,Te=(C,o)=>!1,te=(C,o,l)=>[];const ce=B();(ce||"undefined"!=typeof Element)&&(fe=ie()?(C,o)=>{for(;o&&o!==document.documentElement;){if(o===C)return!0;o=o.parentNode||o.host}return!1}:(C,o)=>C.contains(o),Te=(()=>{if(ce||Element.prototype.matches)return(C,o)=>C.matches(o);{const C=Element.prototype,o=C.matchesSelector||C.mozMatchesSelector||C.msMatchesSelector||C.oMatchesSelector||C.webkitMatchesSelector;return o?(l,f)=>o.apply(l,[f]):Te}})(),te=(C,o,l)=>{let f=[];if(l){const b=C.querySelectorAll(o);for(let I=0;I<b.length;I++)f.push(b[I])}else{const b=C.querySelector(o);b&&f.push(b)}return f});let be=null,Ne=!1;function Ae(C){be||(be=function oe(){return"undefined"!=typeof document?document.body:null}()||{},Ne=!!be.style&&"WebkitAppearance"in be.style);let o=!0;return be.style&&!function Ce(C){return"ebkit"==C.substring(1,6)}(C)&&(o=C in be.style,!o&&Ne&&(o="Webkit"+C.charAt(0).toUpperCase()+C.substr(1)in be.style)),o}const pe=Te,Ke=fe,yt=te;function rt(C){const o={};return Object.keys(C).forEach(l=>{const f=l.replace(/([a-z])([A-Z])/g,"$1-$2");o[f]=C[l]}),o}let at=(()=>{class C{validateStyleProperty(l){return Ae(l)}matchesElement(l,f){return pe(l,f)}containsElement(l,f){return Ke(l,f)}query(l,f,b){return yt(l,f,b)}computeStyle(l,f,b){return b||""}animate(l,f,b,I,k,j=[],re){return new J.ZN(b,I)}}return C.\u0275fac=function(l){return new(l||C)},C.\u0275prov=g.Yz7({token:C,factory:C.\u0275fac}),C})(),ht=(()=>{class C{}return C.NOOP=new at,C})();const lt="ng-enter",Ve="ng-leave",cn="ng-trigger",dn=".ng-trigger",Cn="ng-animating",bn=".ng-animating";function $t(C){if("number"==typeof C)return C;const o=C.match(/^(-?[\.\d]+)(m?s)/);return!o||o.length<2?0:_e(parseFloat(o[1]),o[2])}function _e(C,o){return"s"===o?1e3*C:C}function we(C,o,l){return C.hasOwnProperty("duration")?C:function X(C,o,l){let b,I=0,k="";if("string"==typeof C){const j=C.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===j)return o.push(`The provided timing value "${C}" is invalid.`),{duration:0,delay:0,easing:""};b=_e(parseFloat(j[1]),j[2]);const re=j[3];null!=re&&(I=_e(parseFloat(re),j[4]));const ye=j[5];ye&&(k=ye)}else b=C;if(!l){let j=!1,re=o.length;b<0&&(o.push("Duration values below 0 are not allowed for this animation step."),j=!0),I<0&&(o.push("Delay values below 0 are not allowed for this animation step."),j=!0),j&&o.splice(re,0,`The provided timing value "${C}" is invalid.`)}return{duration:b,delay:I,easing:k}}(C,o,l)}function ue(C,o={}){return Object.keys(C).forEach(l=>{o[l]=C[l]}),o}function je(C,o,l={}){if(o)for(let f in C)l[f]=C[f];else ue(C,l);return l}function nn(C,o,l){return l?o+":"+l+";":""}function Ut(C){let o="";for(let l=0;l<C.style.length;l++){const f=C.style.item(l);o+=nn(0,f,C.style.getPropertyValue(f))}for(const l in C.style)C.style.hasOwnProperty(l)&&!l.startsWith("_")&&(o+=nn(0,De(l),C.style[l]));C.setAttribute("style",o)}function Gt(C,o,l){C.style&&(Object.keys(o).forEach(f=>{const b=nt(f);l&&!l.hasOwnProperty(f)&&(l[f]=C.style[b]),C.style[b]=o[f]}),B()&&Ut(C))}function hn(C,o){C.style&&(Object.keys(o).forEach(l=>{const f=nt(l);C.style[f]=""}),B()&&Ut(C))}function rn(C){return Array.isArray(C)?1==C.length?C[0]:(0,J.vP)(C):C}const Xn=new RegExp("{{\\s*(.+?)\\s*}}","g");function $n(C){let o=[];if("string"==typeof C){let l;for(;l=Xn.exec(C);)o.push(l[1]);Xn.lastIndex=0}return o}function xn(C,o,l){const f=C.toString(),b=f.replace(Xn,(I,k)=>{let j=o[k];return o.hasOwnProperty(k)||(l.push(`Please provide a value for the animation param ${k}`),j=""),j.toString()});return b==f?C:b}function Vt(C){const o=[];let l=C.next();for(;!l.done;)o.push(l.value),l=C.next();return o}const lr=/-+([a-z0-9])/g;function nt(C){return C.replace(lr,(...o)=>o[1].toUpperCase())}function De(C){return C.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function Y(C,o){return 0===C||0===o}function K(C,o,l){const f=Object.keys(l);if(f.length&&o.length){let I=o[0],k=[];if(f.forEach(j=>{I.hasOwnProperty(j)||k.push(j),I[j]=l[j]}),k.length)for(var b=1;b<o.length;b++){let j=o[b];k.forEach(function(re){j[re]=le(C,re)})}}return o}function Ee(C,o,l){switch(o.type){case 7:return C.visitTrigger(o,l);case 0:return C.visitState(o,l);case 1:return C.visitTransition(o,l);case 2:return C.visitSequence(o,l);case 3:return C.visitGroup(o,l);case 4:return C.visitAnimate(o,l);case 5:return C.visitKeyframes(o,l);case 6:return C.visitStyle(o,l);case 8:return C.visitReference(o,l);case 9:return C.visitAnimateChild(o,l);case 10:return C.visitAnimateRef(o,l);case 11:return C.visitQuery(o,l);case 12:return C.visitStagger(o,l);default:throw new Error(`Unable to resolve animation metadata node #${o.type}`)}}function le(C,o){return window.getComputedStyle(C)[o]}function Oe(C,o){const l=[];return"string"==typeof C?C.split(/\s*,\s*/).forEach(f=>function ze(C,o,l){if(":"==C[0]){const re=function ut(C,o){switch(C){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(l,f)=>parseFloat(f)>parseFloat(l);case":decrement":return(l,f)=>parseFloat(f)<parseFloat(l);default:return o.push(`The transition alias value "${C}" is not supported`),"* => *"}}(C,l);if("function"==typeof re)return void o.push(re);C=re}const f=C.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==f||f.length<4)return l.push(`The provided transition expression "${C}" is not supported`),o;const b=f[1],I=f[2],k=f[3];o.push(sn(b,k));"<"==I[0]&&!("*"==b&&"*"==k)&&o.push(sn(k,b))}(f,l,o)):l.push(C),l}const bt=new Set(["true","1"]),qt=new Set(["false","0"]);function sn(C,o){const l=bt.has(C)||qt.has(C),f=bt.has(o)||qt.has(o);return(b,I)=>{let k="*"==C||C==b,j="*"==o||o==I;return!k&&l&&"boolean"==typeof b&&(k=b?bt.has(C):qt.has(C)),!j&&f&&"boolean"==typeof I&&(j=I?bt.has(o):qt.has(o)),k&&j}}const Ct=new RegExp("s*:selfs*,?","g");function Ue(C,o,l){return new Ot(C).build(o,l)}class Ot{constructor(o){this._driver=o}build(o,l){const f=new ur(l);return this._resetContextStyleTimingState(f),Ee(this,rn(o),f)}_resetContextStyleTimingState(o){o.currentQuerySelector="",o.collectedStyles={},o.collectedStyles[""]={},o.currentTime=0}visitTrigger(o,l){let f=l.queryCount=0,b=l.depCount=0;const I=[],k=[];return"@"==o.name.charAt(0)&&l.errors.push("animation triggers cannot be prefixed with an `@` sign (e.g. trigger('@foo', [...]))"),o.definitions.forEach(j=>{if(this._resetContextStyleTimingState(l),0==j.type){const re=j,ye=re.name;ye.toString().split(/\s*,\s*/).forEach(Re=>{re.name=Re,I.push(this.visitState(re,l))}),re.name=ye}else if(1==j.type){const re=this.visitTransition(j,l);f+=re.queryCount,b+=re.depCount,k.push(re)}else l.errors.push("only state() and transition() definitions can sit inside of a trigger()")}),{type:7,name:o.name,states:I,transitions:k,queryCount:f,depCount:b,options:null}}visitState(o,l){const f=this.visitStyle(o.styles,l),b=o.options&&o.options.params||null;if(f.containsDynamicStyles){const I=new Set,k=b||{};if(f.styles.forEach(j=>{if(er(j)){const re=j;Object.keys(re).forEach(ye=>{$n(re[ye]).forEach(Re=>{k.hasOwnProperty(Re)||I.add(Re)})})}}),I.size){const j=Vt(I.values());l.errors.push(`state("${o.name}", ...) must define default values for all the following style substitutions: ${j.join(", ")}`)}}return{type:0,name:o.name,style:f,options:b?{params:b}:null}}visitTransition(o,l){l.queryCount=0,l.depCount=0;const f=Ee(this,rn(o.animation),l);return{type:1,matchers:Oe(o.expr,l.errors),animation:f,queryCount:l.queryCount,depCount:l.depCount,options:en(o.options)}}visitSequence(o,l){return{type:2,steps:o.steps.map(f=>Ee(this,f,l)),options:en(o.options)}}visitGroup(o,l){const f=l.currentTime;let b=0;const I=o.steps.map(k=>{l.currentTime=f;const j=Ee(this,k,l);return b=Math.max(b,l.currentTime),j});return l.currentTime=b,{type:3,steps:I,options:en(o.options)}}visitAnimate(o,l){const f=function tr(C,o){let l=null;if(C.hasOwnProperty("duration"))l=C;else if("number"==typeof C)return Sn(we(C,o).duration,0,"");const f=C;if(f.split(/\s+/).some(I=>"{"==I.charAt(0)&&"{"==I.charAt(1))){const I=Sn(0,0,"");return I.dynamic=!0,I.strValue=f,I}return l=l||we(f,o),Sn(l.duration,l.delay,l.easing)}(o.timings,l.errors);l.currentAnimateTimings=f;let b,I=o.styles?o.styles:(0,J.oB)({});if(5==I.type)b=this.visitKeyframes(I,l);else{let k=o.styles,j=!1;if(!k){j=!0;const ye={};f.easing&&(ye.easing=f.easing),k=(0,J.oB)(ye)}l.currentTime+=f.duration+f.delay;const re=this.visitStyle(k,l);re.isEmptyStep=j,b=re}return l.currentAnimateTimings=null,{type:4,timings:f,style:b,options:null}}visitStyle(o,l){const f=this._makeStyleAst(o,l);return this._validateStyleAst(f,l),f}_makeStyleAst(o,l){const f=[];Array.isArray(o.styles)?o.styles.forEach(k=>{"string"==typeof k?k==J.l3?f.push(k):l.errors.push(`The provided style string value ${k} is not allowed.`):f.push(k)}):f.push(o.styles);let b=!1,I=null;return f.forEach(k=>{if(er(k)){const j=k,re=j.easing;if(re&&(I=re,delete j.easing),!b)for(let ye in j)if(j[ye].toString().indexOf("{{")>=0){b=!0;break}}}),{type:6,styles:f,easing:I,offset:o.offset,containsDynamicStyles:b,options:null}}_validateStyleAst(o,l){const f=l.currentAnimateTimings;let b=l.currentTime,I=l.currentTime;f&&I>0&&(I-=f.duration+f.delay),o.styles.forEach(k=>{"string"!=typeof k&&Object.keys(k).forEach(j=>{if(!this._driver.validateStyleProperty(j))return void l.errors.push(`The provided animation property "${j}" is not a supported CSS property for animations`);const re=l.collectedStyles[l.currentQuerySelector],ye=re[j];let Re=!0;ye&&(I!=b&&I>=ye.startTime&&b<=ye.endTime&&(l.errors.push(`The CSS property "${j}" that exists between the times of "${ye.startTime}ms" and "${ye.endTime}ms" is also being animated in a parallel animation between the times of "${I}ms" and "${b}ms"`),Re=!1),I=ye.startTime),Re&&(re[j]={startTime:I,endTime:b}),l.options&&function Vn(C,o,l){const f=o.params||{},b=$n(C);b.length&&b.forEach(I=>{f.hasOwnProperty(I)||l.push(`Unable to resolve the local animation param ${I} in the given list of values`)})}(k[j],l.options,l.errors)})})}visitKeyframes(o,l){const f={type:5,styles:[],options:null};if(!l.currentAnimateTimings)return l.errors.push("keyframes() must be placed inside of a call to animate()"),f;let I=0;const k=[];let j=!1,re=!1,ye=0;const Re=o.steps.map(tn=>{const on=this._makeStyleAst(tn,l);let vn=null!=on.offset?on.offset:function wn(C){if("string"==typeof C)return null;let o=null;if(Array.isArray(C))C.forEach(l=>{if(er(l)&&l.hasOwnProperty("offset")){const f=l;o=parseFloat(f.offset),delete f.offset}});else if(er(C)&&C.hasOwnProperty("offset")){const l=C;o=parseFloat(l.offset),delete l.offset}return o}(on.styles),_n=0;return null!=vn&&(I++,_n=on.offset=vn),re=re||_n<0||_n>1,j=j||_n<ye,ye=_n,k.push(_n),on});re&&l.errors.push("Please ensure that all keyframe offsets are between 0 and 1"),j&&l.errors.push("Please ensure that all keyframe offsets are in order");const $e=o.steps.length;let gt=0;I>0&&I<$e?l.errors.push("Not all style() steps within the declared keyframes() contain offsets"):0==I&&(gt=1/($e-1));const _t=$e-1,Ze=l.currentTime,mt=l.currentAnimateTimings,At=mt.duration;return Re.forEach((tn,on)=>{const vn=gt>0?on==_t?1:gt*on:k[on],_n=vn*At;l.currentTime=Ze+mt.delay+_n,mt.duration=_n,this._validateStyleAst(tn,l),tn.offset=vn,f.styles.push(tn)}),f}visitReference(o,l){return{type:8,animation:Ee(this,rn(o.animation),l),options:en(o.options)}}visitAnimateChild(o,l){return l.depCount++,{type:9,options:en(o.options)}}visitAnimateRef(o,l){return{type:10,animation:this.visitReference(o.animation,l),options:en(o.options)}}visitQuery(o,l){const f=l.currentQuerySelector,b=o.options||{};l.queryCount++,l.currentQuery=o;const[I,k]=function vt(C){const o=!!C.split(/\s*,\s*/).find(l=>":self"==l);return o&&(C=C.replace(Ct,"")),C=C.replace(/@\*/g,dn).replace(/@\w+/g,l=>dn+"-"+l.substr(1)).replace(/:animating/g,bn),[C,o]}(o.selector);l.currentQuerySelector=f.length?f+" "+I:I,F(l.collectedStyles,l.currentQuerySelector,{});const j=Ee(this,rn(o.animation),l);return l.currentQuery=null,l.currentQuerySelector=f,{type:11,selector:I,limit:b.limit||0,optional:!!b.optional,includeSelf:k,animation:j,originalSelector:o.selector,options:en(o.options)}}visitStagger(o,l){l.currentQuery||l.errors.push("stagger() can only be used inside of query()");const f="full"===o.timings?{duration:0,delay:0,easing:"full"}:we(o.timings,l.errors,!0);return{type:12,animation:Ee(this,rn(o.animation),l),timings:f,options:null}}}class ur{constructor(o){this.errors=o,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 er(C){return!Array.isArray(C)&&"object"==typeof C}function en(C){return C?(C=ue(C)).params&&(C.params=function st(C){return C?ue(C):null}(C.params)):C={},C}function Sn(C,o,l){return{duration:C,delay:o,easing:l}}function zn(C,o,l,f,b,I,k=null,j=!1){return{type:1,element:C,keyframes:o,preStyleProps:l,postStyleProps:f,duration:b,delay:I,totalTime:b+I,easing:k,subTimeline:j}}class Gn{constructor(){this._map=new Map}consume(o){let l=this._map.get(o);return l?this._map.delete(o):l=[],l}append(o,l){let f=this._map.get(o);f||this._map.set(o,f=[]),f.push(...l)}has(o){return this._map.has(o)}clear(){this._map.clear()}}const se=new RegExp(":enter","g"),x=new RegExp(":leave","g");function ne(C,o,l,f,b,I={},k={},j,re,ye=[]){return(new Se).buildKeyframes(C,o,l,f,b,I,k,j,re,ye)}class Se{buildKeyframes(o,l,f,b,I,k,j,re,ye,Re=[]){ye=ye||new Gn;const $e=new Z(o,l,ye,b,I,Re,[]);$e.options=re,$e.currentTimeline.setStyles([k],null,$e.errors,re),Ee(this,f,$e);const gt=$e.timelines.filter(_t=>_t.containsAnimation());if(gt.length&&Object.keys(j).length){const _t=gt[gt.length-1];_t.allowOnlyTimelineStyles()||_t.setStyles([j],null,$e.errors,re)}return gt.length?gt.map(_t=>_t.buildKeyframes()):[zn(l,[],[],[],0,0,"",!1)]}visitTrigger(o,l){}visitState(o,l){}visitTransition(o,l){}visitAnimateChild(o,l){const f=l.subInstructions.consume(l.element);if(f){const b=l.createSubContext(o.options),I=l.currentTimeline.currentTime,k=this._visitSubInstructions(f,b,b.options);I!=k&&l.transformIntoNewTimeline(k)}l.previousNode=o}visitAnimateRef(o,l){const f=l.createSubContext(o.options);f.transformIntoNewTimeline(),this.visitReference(o.animation,f),l.transformIntoNewTimeline(f.currentTimeline.currentTime),l.previousNode=o}_visitSubInstructions(o,l,f){let I=l.currentTimeline.currentTime;const k=null!=f.duration?$t(f.duration):null,j=null!=f.delay?$t(f.delay):null;return 0!==k&&o.forEach(re=>{const ye=l.appendInstructionToTimeline(re,k,j);I=Math.max(I,ye.duration+ye.delay)}),I}visitReference(o,l){l.updateOptions(o.options,!0),Ee(this,o.animation,l),l.previousNode=o}visitSequence(o,l){const f=l.subContextCount;let b=l;const I=o.options;if(I&&(I.params||I.delay)&&(b=l.createSubContext(I),b.transformIntoNewTimeline(),null!=I.delay)){6==b.previousNode.type&&(b.currentTimeline.snapshotCurrentStyles(),b.previousNode=O);const k=$t(I.delay);b.delayNextStep(k)}o.steps.length&&(o.steps.forEach(k=>Ee(this,k,b)),b.currentTimeline.applyStylesToKeyframe(),b.subContextCount>f&&b.transformIntoNewTimeline()),l.previousNode=o}visitGroup(o,l){const f=[];let b=l.currentTimeline.currentTime;const I=o.options&&o.options.delay?$t(o.options.delay):0;o.steps.forEach(k=>{const j=l.createSubContext(o.options);I&&j.delayNextStep(I),Ee(this,k,j),b=Math.max(b,j.currentTimeline.currentTime),f.push(j.currentTimeline)}),f.forEach(k=>l.currentTimeline.mergeTimelineCollectedStyles(k)),l.transformIntoNewTimeline(b),l.previousNode=o}_visitTiming(o,l){if(o.dynamic){const f=o.strValue;return we(l.params?xn(f,l.params,l.errors):f,l.errors)}return{duration:o.duration,delay:o.delay,easing:o.easing}}visitAnimate(o,l){const f=l.currentAnimateTimings=this._visitTiming(o.timings,l),b=l.currentTimeline;f.delay&&(l.incrementTime(f.delay),b.snapshotCurrentStyles());const I=o.style;5==I.type?this.visitKeyframes(I,l):(l.incrementTime(f.duration),this.visitStyle(I,l),b.applyStylesToKeyframe()),l.currentAnimateTimings=null,l.previousNode=o}visitStyle(o,l){const f=l.currentTimeline,b=l.currentAnimateTimings;!b&&f.getCurrentStyleProperties().length&&f.forwardFrame();const I=b&&b.easing||o.easing;o.isEmptyStep?f.applyEmptyStep(I):f.setStyles(o.styles,I,l.errors,l.options),l.previousNode=o}visitKeyframes(o,l){const f=l.currentAnimateTimings,b=l.currentTimeline.duration,I=f.duration,j=l.createSubContext().currentTimeline;j.easing=f.easing,o.styles.forEach(re=>{j.forwardTime((re.offset||0)*I),j.setStyles(re.styles,re.easing,l.errors,l.options),j.applyStylesToKeyframe()}),l.currentTimeline.mergeTimelineCollectedStyles(j),l.transformIntoNewTimeline(b+I),l.previousNode=o}visitQuery(o,l){const f=l.currentTimeline.currentTime,b=o.options||{},I=b.delay?$t(b.delay):0;I&&(6===l.previousNode.type||0==f&&l.currentTimeline.getCurrentStyleProperties().length)&&(l.currentTimeline.snapshotCurrentStyles(),l.previousNode=O);let k=f;const j=l.invokeQuery(o.selector,o.originalSelector,o.limit,o.includeSelf,!!b.optional,l.errors);l.currentQueryTotal=j.length;let re=null;j.forEach((ye,Re)=>{l.currentQueryIndex=Re;const $e=l.createSubContext(o.options,ye);I&&$e.delayNextStep(I),ye===l.element&&(re=$e.currentTimeline),Ee(this,o.animation,$e),$e.currentTimeline.applyStylesToKeyframe(),k=Math.max(k,$e.currentTimeline.currentTime)}),l.currentQueryIndex=0,l.currentQueryTotal=0,l.transformIntoNewTimeline(k),re&&(l.currentTimeline.mergeTimelineCollectedStyles(re),l.currentTimeline.snapshotCurrentStyles()),l.previousNode=o}visitStagger(o,l){const f=l.parentContext,b=l.currentTimeline,I=o.timings,k=Math.abs(I.duration),j=k*(l.currentQueryTotal-1);let re=k*l.currentQueryIndex;switch(I.duration<0?"reverse":I.easing){case"reverse":re=j-re;break;case"full":re=f.currentStaggerTime}const Re=l.currentTimeline;re&&Re.delayNextStep(re);const $e=Re.currentTime;Ee(this,o.animation,l),l.previousNode=o,f.currentStaggerTime=b.currentTime-$e+(b.startTime-f.currentTimeline.startTime)}}const O={};class Z{constructor(o,l,f,b,I,k,j,re){this._driver=o,this.element=l,this.subInstructions=f,this._enterClassName=b,this._leaveClassName=I,this.errors=k,this.timelines=j,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=O,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=re||new R(this._driver,l,0),j.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(o,l){if(!o)return;const f=o;let b=this.options;null!=f.duration&&(b.duration=$t(f.duration)),null!=f.delay&&(b.delay=$t(f.delay));const I=f.params;if(I){let k=b.params;k||(k=this.options.params={}),Object.keys(I).forEach(j=>{(!l||!k.hasOwnProperty(j))&&(k[j]=xn(I[j],k,this.errors))})}}_copyOptions(){const o={};if(this.options){const l=this.options.params;if(l){const f=o.params={};Object.keys(l).forEach(b=>{f[b]=l[b]})}}return o}createSubContext(o=null,l,f){const b=l||this.element,I=new Z(this._driver,b,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(b,f||0));return I.previousNode=this.previousNode,I.currentAnimateTimings=this.currentAnimateTimings,I.options=this._copyOptions(),I.updateOptions(o),I.currentQueryIndex=this.currentQueryIndex,I.currentQueryTotal=this.currentQueryTotal,I.parentContext=this,this.subContextCount++,I}transformIntoNewTimeline(o){return this.previousNode=O,this.currentTimeline=this.currentTimeline.fork(this.element,o),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(o,l,f){const b={duration:null!=l?l:o.duration,delay:this.currentTimeline.currentTime+(null!=f?f:0)+o.delay,easing:""},I=new de(this._driver,o.element,o.keyframes,o.preStyleProps,o.postStyleProps,b,o.stretchStartingKeyframe);return this.timelines.push(I),b}incrementTime(o){this.currentTimeline.forwardTime(this.currentTimeline.duration+o)}delayNextStep(o){o>0&&this.currentTimeline.delayNextStep(o)}invokeQuery(o,l,f,b,I,k){let j=[];if(b&&j.push(this.element),o.length>0){o=(o=o.replace(se,"."+this._enterClassName)).replace(x,"."+this._leaveClassName);let ye=this._driver.query(this.element,o,1!=f);0!==f&&(ye=f<0?ye.slice(ye.length+f,ye.length):ye.slice(0,f)),j.push(...ye)}return!I&&0==j.length&&k.push(`\`query("${l}")\` returned zero elements. (Use \`query("${l}", { optional: true })\` if you wish to allow this.)`),j}}class R{constructor(o,l,f,b){this._driver=o,this.element=l,this.startTime=f,this._elementTimelineStylesLookup=b,this.duration=0,this._previousKeyframe={},this._currentKeyframe={},this._keyframes=new Map,this._styleSummary={},this._pendingStyles={},this._backFill={},this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._localTimelineStyles=Object.create(this._backFill,{}),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(l),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(l,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.getCurrentStyleProperties().length>0;default:return!0}}getCurrentStyleProperties(){return Object.keys(this._currentKeyframe)}get currentTime(){return this.startTime+this.duration}delayNextStep(o){const l=1==this._keyframes.size&&Object.keys(this._pendingStyles).length;this.duration||l?(this.forwardTime(this.currentTime+o),l&&this.snapshotCurrentStyles()):this.startTime+=o}fork(o,l){return this.applyStylesToKeyframe(),new R(this._driver,o,l||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=Object.create(this._backFill,{}),this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(o){this.applyStylesToKeyframe(),this.duration=o,this._loadKeyframe()}_updateStyle(o,l){this._localTimelineStyles[o]=l,this._globalTimelineStyles[o]=l,this._styleSummary[o]={time:this.currentTime,value:l}}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(o){o&&(this._previousKeyframe.easing=o),Object.keys(this._globalTimelineStyles).forEach(l=>{this._backFill[l]=this._globalTimelineStyles[l]||J.l3,this._currentKeyframe[l]=J.l3}),this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(o,l,f,b){l&&(this._previousKeyframe.easing=l);const I=b&&b.params||{},k=function wt(C,o){const l={};let f;return C.forEach(b=>{"*"===b?(f=f||Object.keys(o),f.forEach(I=>{l[I]=J.l3})):je(b,!1,l)}),l}(o,this._globalTimelineStyles);Object.keys(k).forEach(j=>{const re=xn(k[j],I,f);this._pendingStyles[j]=re,this._localTimelineStyles.hasOwnProperty(j)||(this._backFill[j]=this._globalTimelineStyles.hasOwnProperty(j)?this._globalTimelineStyles[j]:J.l3),this._updateStyle(j,re)})}applyStylesToKeyframe(){const o=this._pendingStyles,l=Object.keys(o);0!=l.length&&(this._pendingStyles={},l.forEach(f=>{this._currentKeyframe[f]=o[f]}),Object.keys(this._localTimelineStyles).forEach(f=>{this._currentKeyframe.hasOwnProperty(f)||(this._currentKeyframe[f]=this._localTimelineStyles[f])}))}snapshotCurrentStyles(){Object.keys(this._localTimelineStyles).forEach(o=>{const l=this._localTimelineStyles[o];this._pendingStyles[o]=l,this._updateStyle(o,l)})}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const o=[];for(let l in this._currentKeyframe)o.push(l);return o}mergeTimelineCollectedStyles(o){Object.keys(o._styleSummary).forEach(l=>{const f=this._styleSummary[l],b=o._styleSummary[l];(!f||b.time>f.time)&&this._updateStyle(l,b.value)})}buildKeyframes(){this.applyStylesToKeyframe();const o=new Set,l=new Set,f=1===this._keyframes.size&&0===this.duration;let b=[];this._keyframes.forEach((j,re)=>{const ye=je(j,!0);Object.keys(ye).forEach(Re=>{const $e=ye[Re];$e==J.k1?o.add(Re):$e==J.l3&&l.add(Re)}),f||(ye.offset=re/this.duration),b.push(ye)});const I=o.size?Vt(o.values()):[],k=l.size?Vt(l.values()):[];if(f){const j=b[0],re=ue(j);j.offset=0,re.offset=1,b=[j,re]}return zn(this.element,b,I,k,this.duration,this.startTime,this.easing,!1)}}class de extends R{constructor(o,l,f,b,I,k,j=!1){super(o,l,k.delay),this.keyframes=f,this.preStyleProps=b,this.postStyleProps=I,this._stretchStartingKeyframe=j,this.timings={duration:k.duration,delay:k.delay,easing:k.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let o=this.keyframes,{delay:l,duration:f,easing:b}=this.timings;if(this._stretchStartingKeyframe&&l){const I=[],k=f+l,j=l/k,re=je(o[0],!1);re.offset=0,I.push(re);const ye=je(o[0],!1);ye.offset=it(j),I.push(ye);const Re=o.length-1;for(let $e=1;$e<=Re;$e++){let gt=je(o[$e],!1);gt.offset=it((l+gt.offset*f)/k),I.push(gt)}f=k,l=0,b="",o=I}return zn(this.element,o,this.preStyleProps,this.postStyleProps,f,l,b,!0)}}function it(C,o=3){const l=Math.pow(10,o-1);return Math.round(C*l)/l}class Fn{}class dr extends Fn{normalizePropertyName(o,l){return nt(o)}normalizeStyleValue(o,l,f,b){let I="";const k=f.toString().trim();if(fn[l]&&0!==f&&"0"!==f)if("number"==typeof f)I="px";else{const j=f.match(/^[+-]?[\d\.]+([a-z]*)$/);j&&0==j[1].length&&b.push(`Please provide a CSS unit value for ${o}:${f}`)}return k+I}}const fn=(()=>function pn(C){const o={};return C.forEach(l=>o[l]=!0),o}("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 Yr(C,o,l,f,b,I,k,j,re,ye,Re,$e,gt){return{type:0,element:C,triggerName:o,isRemovalTransition:b,fromState:l,fromStyles:I,toState:f,toStyles:k,timelines:j,queriedElements:re,preStyleProps:ye,postStyleProps:Re,totalTime:$e,errors:gt}}const Mn={};class Le{constructor(o,l,f){this._triggerName=o,this.ast=l,this._stateStyles=f}match(o,l,f,b){return function Dt(C,o,l,f,b){return C.some(I=>I(o,l,f,b))}(this.ast.matchers,o,l,f,b)}buildStyles(o,l,f){const b=this._stateStyles["*"],I=this._stateStyles[o],k=b?b.buildStyles(l,f):{};return I?I.buildStyles(l,f):k}build(o,l,f,b,I,k,j,re,ye,Re){const $e=[],gt=this.ast.options&&this.ast.options.params||Mn,Ze=this.buildStyles(f,j&&j.params||Mn,$e),mt=re&&re.params||Mn,At=this.buildStyles(b,mt,$e),tn=new Set,on=new Map,vn=new Map,_n="void"===b,Hr={params:Object.assign(Object.assign({},gt),mt)},Zn=Re?[]:ne(o,l,this.ast.animation,I,k,Ze,At,Hr,ye,$e);let Rn=0;if(Zn.forEach(rr=>{Rn=Math.max(rr.duration+rr.delay,Rn)}),$e.length)return Yr(l,this._triggerName,f,b,_n,Ze,At,[],[],on,vn,Rn,$e);Zn.forEach(rr=>{const wr=rr.element,ui=F(on,wr,{});rr.preStyleProps.forEach(Vr=>ui[Vr]=!0);const vs=F(vn,wr,{});rr.postStyleProps.forEach(Vr=>vs[Vr]=!0),wr!==l&&tn.add(wr)});const pr=Vt(tn.values());return Yr(l,this._triggerName,f,b,_n,Ze,At,Zn,pr,on,vn,Rn)}}class kt{constructor(o,l,f){this.styles=o,this.defaultParams=l,this.normalizer=f}buildStyles(o,l){const f={},b=ue(this.defaultParams);return Object.keys(o).forEach(I=>{const k=o[I];null!=k&&(b[I]=k)}),this.styles.styles.forEach(I=>{if("string"!=typeof I){const k=I;Object.keys(k).forEach(j=>{let re=k[j];re.length>1&&(re=xn(re,b,l));const ye=this.normalizer.normalizePropertyName(j,l);re=this.normalizer.normalizeStyleValue(j,ye,re,l),f[ye]=re})}}),f}}class _r{constructor(o,l,f){this.name=o,this.ast=l,this._normalizer=f,this.transitionFactories=[],this.states={},l.states.forEach(b=>{this.states[b.name]=new kt(b.style,b.options&&b.options.params||{},f)}),Sr(this.states,"true","1"),Sr(this.states,"false","0"),l.transitions.forEach(b=>{this.transitionFactories.push(new Le(o,b,this.states))}),this.fallbackTransition=function ln(C,o,l){return new Le(C,{type:1,animation:{type:2,steps:[],options:null},matchers:[(k,j)=>!0],options:null,queryCount:0,depCount:0},o)}(o,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(o,l,f,b){return this.transitionFactories.find(k=>k.match(o,l,f,b))||null}matchStyles(o,l,f){return this.fallbackTransition.buildStyles(o,l,f)}}function Sr(C,o,l){C.hasOwnProperty(o)?C.hasOwnProperty(l)||(C[l]=C[o]):C.hasOwnProperty(l)&&(C[o]=C[l])}const Jt=new Gn;class Mr{constructor(o,l,f){this.bodyNode=o,this._driver=l,this._normalizer=f,this._animations={},this._playersById={},this.players=[]}register(o,l){const f=[],b=Ue(this._driver,l,f);if(f.length)throw new Error(`Unable to build the animation due to the following errors: ${f.join("\n")}`);this._animations[o]=b}_buildPlayer(o,l,f){const b=o.element,I=Q(0,this._normalizer,0,o.keyframes,l,f);return this._driver.animate(b,I,o.duration,o.delay,o.easing,[],!0)}create(o,l,f={}){const b=[],I=this._animations[o];let k;const j=new Map;if(I?(k=ne(this._driver,l,I,lt,Ve,{},{},f,Jt,b),k.forEach(Re=>{const $e=F(j,Re.element,{});Re.postStyleProps.forEach(gt=>$e[gt]=null)})):(b.push("The requested animation doesn't exist or has already been destroyed"),k=[]),b.length)throw new Error(`Unable to create the animation due to the following errors: ${b.join("\n")}`);j.forEach((Re,$e)=>{Object.keys(Re).forEach(gt=>{Re[gt]=this._driver.computeStyle($e,gt,J.l3)})});const ye=U(k.map(Re=>{const $e=j.get(Re.element);return this._buildPlayer(Re,{},$e)}));return this._playersById[o]=ye,ye.onDestroy(()=>this.destroy(o)),this.players.push(ye),ye}destroy(o){const l=this._getPlayer(o);l.destroy(),delete this._playersById[o];const f=this.players.indexOf(l);f>=0&&this.players.splice(f,1)}_getPlayer(o){const l=this._playersById[o];if(!l)throw new Error(`Unable to find the timeline player referenced by ${o}`);return l}listen(o,l,f,b){const I=V(l,"","","");return q(this._getPlayer(o),f,I,b),()=>{}}command(o,l,f,b){if("register"==f)return void this.register(o,b[0]);if("create"==f)return void this.create(o,l,b[0]||{});const I=this._getPlayer(o);switch(f){case"play":I.play();break;case"pause":I.pause();break;case"reset":I.reset();break;case"restart":I.restart();break;case"finish":I.finish();break;case"init":I.init();break;case"setPosition":I.setPosition(parseFloat(b[0]));break;case"destroy":this.destroy(o)}}}const nr="ng-animate-queued",An="ng-animate-disabled",kn=".ng-animate-disabled",In=[],Ln={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},hr={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},zt="__ng_removed";class Rt{constructor(o,l=""){this.namespaceId=l;const f=o&&o.hasOwnProperty("value");if(this.value=function Ir(C){return null!=C?C:null}(f?o.value:o),f){const I=ue(o);delete I.value,this.options=I}else this.options={};this.options.params||(this.options.params={})}get params(){return this.options.params}absorbOptions(o){const l=o.params;if(l){const f=this.options.params;Object.keys(l).forEach(b=>{null==f[b]&&(f[b]=l[b])})}}}const Ar="void",cs=new Rt(Ar);class Wn{constructor(o,l,f){this.id=o,this.hostElement=l,this._engine=f,this.players=[],this._triggers={},this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+o,Kn(l,this._hostClassName)}listen(o,l,f,b){if(!this._triggers.hasOwnProperty(l))throw new Error(`Unable to listen on the animation trigger event "${f}" because the animation trigger "${l}" doesn't exist!`);if(null==f||0==f.length)throw new Error(`Unable to listen on the animation trigger "${l}" because the provided event is undefined!`);if(!function ii(C){return"start"==C||"done"==C}(f))throw new Error(`The provided animation trigger event "${f}" for the animation trigger "${l}" is not supported!`);const I=F(this._elementListeners,o,[]),k={name:l,phase:f,callback:b};I.push(k);const j=F(this._engine.statesByElement,o,{});return j.hasOwnProperty(l)||(Kn(o,cn),Kn(o,cn+"-"+l),j[l]=cs),()=>{this._engine.afterFlush(()=>{const re=I.indexOf(k);re>=0&&I.splice(re,1),this._triggers[l]||delete j[l]})}}register(o,l){return!this._triggers[o]&&(this._triggers[o]=l,!0)}_getTrigger(o){const l=this._triggers[o];if(!l)throw new Error(`The provided animation trigger "${o}" has not been registered!`);return l}trigger(o,l,f,b=!0){const I=this._getTrigger(l),k=new Er(this.id,l,o);let j=this._engine.statesByElement.get(o);j||(Kn(o,cn),Kn(o,cn+"-"+l),this._engine.statesByElement.set(o,j={}));let re=j[l];const ye=new Rt(f,this.id);if(!(f&&f.hasOwnProperty("value"))&&re&&ye.absorbOptions(re.options),j[l]=ye,re||(re=cs),ye.value!==Ar&&re.value===ye.value){if(!function Ei(C,o){const l=Object.keys(C),f=Object.keys(o);if(l.length!=f.length)return!1;for(let b=0;b<l.length;b++){const I=l[b];if(!o.hasOwnProperty(I)||C[I]!==o[I])return!1}return!0}(re.params,ye.params)){const mt=[],At=I.matchStyles(re.value,re.params,mt),tn=I.matchStyles(ye.value,ye.params,mt);mt.length?this._engine.reportError(mt):this._engine.afterFlush(()=>{hn(o,At),Gt(o,tn)})}return}const gt=F(this._engine.playersByElement,o,[]);gt.forEach(mt=>{mt.namespaceId==this.id&&mt.triggerName==l&&mt.queued&&mt.destroy()});let _t=I.matchTransition(re.value,ye.value,o,ye.params),Ze=!1;if(!_t){if(!b)return;_t=I.fallbackTransition,Ze=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:o,triggerName:l,transition:_t,fromState:re,toState:ye,player:k,isFallbackTransition:Ze}),Ze||(Kn(o,nr),k.onStart(()=>{Zr(o,nr)})),k.onDone(()=>{let mt=this.players.indexOf(k);mt>=0&&this.players.splice(mt,1);const At=this._engine.playersByElement.get(o);if(At){let tn=At.indexOf(k);tn>=0&&At.splice(tn,1)}}),this.players.push(k),gt.push(k),k}deregister(o){delete this._triggers[o],this._engine.statesByElement.forEach((l,f)=>{delete l[o]}),this._elementListeners.forEach((l,f)=>{this._elementListeners.set(f,l.filter(b=>b.name!=o))})}clearElementCache(o){this._engine.statesByElement.delete(o),this._elementListeners.delete(o);const l=this._engine.playersByElement.get(o);l&&(l.forEach(f=>f.destroy()),this._engine.playersByElement.delete(o))}_signalRemovalForInnerTriggers(o,l){const f=this._engine.driver.query(o,dn,!0);f.forEach(b=>{if(b[zt])return;const I=this._engine.fetchNamespacesByElement(b);I.size?I.forEach(k=>k.triggerLeaveAnimation(b,l,!1,!0)):this.clearElementCache(b)}),this._engine.afterFlushAnimationsDone(()=>f.forEach(b=>this.clearElementCache(b)))}triggerLeaveAnimation(o,l,f,b){const I=this._engine.statesByElement.get(o);if(I){const k=[];if(Object.keys(I).forEach(j=>{if(this._triggers[j]){const re=this.trigger(o,j,Ar,b);re&&k.push(re)}}),k.length)return this._engine.markElementAsRemoved(this.id,o,!0,l),f&&U(k).onDone(()=>this._engine.processLeaveNode(o)),!0}return!1}prepareLeaveAnimationListeners(o){const l=this._elementListeners.get(o),f=this._engine.statesByElement.get(o);if(l&&f){const b=new Set;l.forEach(I=>{const k=I.name;if(b.has(k))return;b.add(k);const re=this._triggers[k].fallbackTransition,ye=f[k]||cs,Re=new Rt(Ar),$e=new Er(this.id,k,o);this._engine.totalQueuedPlayers++,this._queue.push({element:o,triggerName:k,transition:re,fromState:ye,toState:Re,player:$e,isFallbackTransition:!0})})}}removeNode(o,l){const f=this._engine;if(o.childElementCount&&this._signalRemovalForInnerTriggers(o,l),this.triggerLeaveAnimation(o,l,!0))return;let b=!1;if(f.totalAnimations){const I=f.players.length?f.playersByQueriedElement.get(o):[];if(I&&I.length)b=!0;else{let k=o;for(;k=k.parentNode;)if(f.statesByElement.get(k)){b=!0;break}}}if(this.prepareLeaveAnimationListeners(o),b)f.markElementAsRemoved(this.id,o,!1,l);else{const I=o[zt];(!I||I===Ln)&&(f.afterFlush(()=>this.clearElementCache(o)),f.destroyInnerAnimations(o),f._onRemovalComplete(o,l))}}insertNode(o,l){Kn(o,this._hostClassName)}drainQueuedTransitions(o){const l=[];return this._queue.forEach(f=>{const b=f.player;if(b.destroyed)return;const I=f.element,k=this._elementListeners.get(I);k&&k.forEach(j=>{if(j.name==f.triggerName){const re=V(I,f.triggerName,f.fromState.value,f.toState.value);re._data=o,q(f.player,j.phase,re,j.callback)}}),b.markedForDestroy?this._engine.afterFlush(()=>{b.destroy()}):l.push(f)}),this._queue=[],l.sort((f,b)=>{const I=f.transition.ast.depCount,k=b.transition.ast.depCount;return 0==I||0==k?I-k:this._engine.driver.containsElement(f.element,b.element)?1:-1})}destroy(o){this.players.forEach(l=>l.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,o)}elementContainsData(o){let l=!1;return this._elementListeners.has(o)&&(l=!0),l=!!this._queue.find(f=>f.element===o)||l,l}}class Bn{constructor(o,l,f){this.bodyNode=o,this.driver=l,this._normalizer=f,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=(b,I)=>{}}_onRemovalComplete(o,l){this.onRemovalComplete(o,l)}get queuedPlayers(){const o=[];return this._namespaceList.forEach(l=>{l.players.forEach(f=>{f.queued&&o.push(f)})}),o}createNamespace(o,l){const f=new Wn(o,l,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,l)?this._balanceNamespaceList(f,l):(this.newHostElements.set(l,f),this.collectEnterElement(l)),this._namespaceLookup[o]=f}_balanceNamespaceList(o,l){const f=this._namespaceList.length-1;if(f>=0){let b=!1;for(let I=f;I>=0;I--)if(this.driver.containsElement(this._namespaceList[I].hostElement,l)){this._namespaceList.splice(I+1,0,o),b=!0;break}b||this._namespaceList.splice(0,0,o)}else this._namespaceList.push(o);return this.namespacesByHostElement.set(l,o),o}register(o,l){let f=this._namespaceLookup[o];return f||(f=this.createNamespace(o,l)),f}registerTrigger(o,l,f){let b=this._namespaceLookup[o];b&&b.register(l,f)&&this.totalAnimations++}destroy(o,l){if(!o)return;const f=this._fetchNamespace(o);this.afterFlush(()=>{this.namespacesByHostElement.delete(f.hostElement),delete this._namespaceLookup[o];const b=this._namespaceList.indexOf(f);b>=0&&this._namespaceList.splice(b,1)}),this.afterFlushAnimationsDone(()=>f.destroy(l))}_fetchNamespace(o){return this._namespaceLookup[o]}fetchNamespacesByElement(o){const l=new Set,f=this.statesByElement.get(o);if(f){const b=Object.keys(f);for(let I=0;I<b.length;I++){const k=f[b[I]].namespaceId;if(k){const j=this._fetchNamespace(k);j&&l.add(j)}}}return l}trigger(o,l,f,b){if(Wt(l)){const I=this._fetchNamespace(o);if(I)return I.trigger(l,f,b),!0}return!1}insertNode(o,l,f,b){if(!Wt(l))return;const I=l[zt];if(I&&I.setForRemoval){I.setForRemoval=!1,I.setForMove=!0;const k=this.collectedLeaveElements.indexOf(l);k>=0&&this.collectedLeaveElements.splice(k,1)}if(o){const k=this._fetchNamespace(o);k&&k.insertNode(l,f)}b&&this.collectEnterElement(l)}collectEnterElement(o){this.collectedEnterElements.push(o)}markElementAsDisabled(o,l){l?this.disabledNodes.has(o)||(this.disabledNodes.add(o),Kn(o,An)):this.disabledNodes.has(o)&&(this.disabledNodes.delete(o),Zr(o,An))}removeNode(o,l,f,b){if(Wt(l)){const I=o?this._fetchNamespace(o):null;if(I?I.removeNode(l,b):this.markElementAsRemoved(o,l,!1,b),f){const k=this.namespacesByHostElement.get(l);k&&k.id!==o&&k.removeNode(l,b)}}else this._onRemovalComplete(l,b)}markElementAsRemoved(o,l,f,b){this.collectedLeaveElements.push(l),l[zt]={namespaceId:o,setForRemoval:b,hasAnimation:f,removedBeforeQueried:!1}}listen(o,l,f,b,I){return Wt(l)?this._fetchNamespace(o).listen(l,f,b,I):()=>{}}_buildInstruction(o,l,f,b,I){return o.transition.build(this.driver,o.element,o.fromState.value,o.toState.value,f,b,o.fromState.options,o.toState.options,l,I)}destroyInnerAnimations(o){let l=this.driver.query(o,dn,!0);l.forEach(f=>this.destroyActiveAnimationsForElement(f)),0!=this.playersByQueriedElement.size&&(l=this.driver.query(o,bn,!0),l.forEach(f=>this.finishActiveQueriedAnimationOnElement(f)))}destroyActiveAnimationsForElement(o){const l=this.playersByElement.get(o);l&&l.forEach(f=>{f.queued?f.markedForDestroy=!0:f.destroy()})}finishActiveQueriedAnimationOnElement(o){const l=this.playersByQueriedElement.get(o);l&&l.forEach(f=>f.finish())}whenRenderingDone(){return new Promise(o=>{if(this.players.length)return U(this.players).onDone(()=>o());o()})}processLeaveNode(o){const l=o[zt];if(l&&l.setForRemoval){if(o[zt]=Ln,l.namespaceId){this.destroyInnerAnimations(o);const f=this._fetchNamespace(l.namespaceId);f&&f.clearElementCache(o)}this._onRemovalComplete(o,l.setForRemoval)}this.driver.matchesElement(o,kn)&&this.markElementAsDisabled(o,!1),this.driver.query(o,kn,!0).forEach(f=>{this.markElementAsDisabled(f,!1)})}flush(o=-1){let l=[];if(this.newHostElements.size&&(this.newHostElements.forEach((f,b)=>this._balanceNamespaceList(f,b)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let f=0;f<this.collectedEnterElements.length;f++)Kn(this.collectedEnterElements[f],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){const f=[];try{l=this._flushAnimations(f,o)}finally{for(let b=0;b<f.length;b++)f[b]()}}else for(let f=0;f<this.collectedLeaveElements.length;f++)this.processLeaveNode(this.collectedLeaveElements[f]);if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(f=>f()),this._flushFns=[],this._whenQuietFns.length){const f=this._whenQuietFns;this._whenQuietFns=[],l.length?U(l).onDone(()=>{f.forEach(b=>b())}):f.forEach(b=>b())}}reportError(o){throw new Error(`Unable to process animations due to the following failed trigger transitions\n ${o.join("\n")}`)}_flushAnimations(o,l){const f=new Gn,b=[],I=new Map,k=[],j=new Map,re=new Map,ye=new Map,Re=new Set;this.disabledNodes.forEach(Ye=>{Re.add(Ye);const We=this.driver.query(Ye,".ng-animate-queued",!0);for(let Xe=0;Xe<We.length;Xe++)Re.add(We[Xe])});const $e=this.bodyNode,gt=Array.from(this.statesByElement.keys()),_t=kr(gt,this.collectedEnterElements),Ze=new Map;let mt=0;_t.forEach((Ye,We)=>{const Xe=lt+mt++;Ze.set(We,Xe),Ye.forEach(Je=>Kn(Je,Xe))});const At=[],tn=new Set,on=new Set;for(let Ye=0;Ye<this.collectedLeaveElements.length;Ye++){const We=this.collectedLeaveElements[Ye],Xe=We[zt];Xe&&Xe.setForRemoval&&(At.push(We),tn.add(We),Xe.hasAnimation?this.driver.query(We,".ng-star-inserted",!0).forEach(Je=>tn.add(Je)):on.add(We))}const vn=new Map,_n=kr(gt,Array.from(tn));_n.forEach((Ye,We)=>{const Xe=Ve+mt++;vn.set(We,Xe),Ye.forEach(Je=>Kn(Je,Xe))}),o.push(()=>{_t.forEach((Ye,We)=>{const Xe=Ze.get(We);Ye.forEach(Je=>Zr(Je,Xe))}),_n.forEach((Ye,We)=>{const Xe=vn.get(We);Ye.forEach(Je=>Zr(Je,Xe))}),At.forEach(Ye=>{this.processLeaveNode(Ye)})});const Hr=[],Zn=[];for(let Ye=this._namespaceList.length-1;Ye>=0;Ye--)this._namespaceList[Ye].drainQueuedTransitions(l).forEach(Xe=>{const Je=Xe.player,gn=Xe.element;if(Hr.push(Je),this.collectedEnterElements.length){const Jn=gn[zt];if(Jn&&Jn.setForMove)return void Je.destroy()}const Tr=!$e||!this.driver.containsElement($e,gn),Yn=vn.get(gn),$r=Ze.get(gn),Xt=this._buildInstruction(Xe,f,$r,Yn,Tr);if(Xt.errors&&Xt.errors.length)Zn.push(Xt);else{if(Tr)return Je.onStart(()=>hn(gn,Xt.fromStyles)),Je.onDestroy(()=>Gt(gn,Xt.toStyles)),void b.push(Je);if(Xe.isFallbackTransition)return Je.onStart(()=>hn(gn,Xt.fromStyles)),Je.onDestroy(()=>Gt(gn,Xt.toStyles)),void b.push(Je);Xt.timelines.forEach(Jn=>Jn.stretchStartingKeyframe=!0),f.append(gn,Xt.timelines),k.push({instruction:Xt,player:Je,element:gn}),Xt.queriedElements.forEach(Jn=>F(j,Jn,[]).push(Je)),Xt.preStyleProps.forEach((Jn,an)=>{const es=Object.keys(Jn);if(es.length){let sr=re.get(an);sr||re.set(an,sr=new Set),es.forEach(ts=>sr.add(ts))}}),Xt.postStyleProps.forEach((Jn,an)=>{const es=Object.keys(Jn);let sr=ye.get(an);sr||ye.set(an,sr=new Set),es.forEach(ts=>sr.add(ts))})}});if(Zn.length){const Ye=[];Zn.forEach(We=>{Ye.push(`@${We.triggerName} has failed due to:\n`),We.errors.forEach(Xe=>Ye.push(`- ${Xe}\n`))}),Hr.forEach(We=>We.destroy()),this.reportError(Ye)}const Rn=new Map,pr=new Map;k.forEach(Ye=>{const We=Ye.element;f.has(We)&&(pr.set(We,We),this._beforeAnimationBuild(Ye.player.namespaceId,Ye.instruction,Rn))}),b.forEach(Ye=>{const We=Ye.element;this._getPreviousPlayers(We,!1,Ye.namespaceId,Ye.triggerName,null).forEach(Je=>{F(Rn,We,[]).push(Je),Je.destroy()})});const rr=At.filter(Ye=>js(Ye,re,ye)),wr=new Map;qr(wr,this.driver,on,ye,J.l3).forEach(Ye=>{js(Ye,re,ye)&&rr.push(Ye)});const vs=new Map;_t.forEach((Ye,We)=>{qr(vs,this.driver,new Set(Ye),re,J.k1)}),rr.forEach(Ye=>{const We=wr.get(Ye),Xe=vs.get(Ye);wr.set(Ye,Object.assign(Object.assign({},We),Xe))});const Vr=[],Xr=[],wi={};k.forEach(Ye=>{const{element:We,player:Xe,instruction:Je}=Ye;if(f.has(We)){if(Re.has(We))return Xe.onDestroy(()=>Gt(We,Je.toStyles)),Xe.disabled=!0,Xe.overrideTotalTime(Je.totalTime),void b.push(Xe);let gn=wi;if(pr.size>1){let Yn=We;const $r=[];for(;Yn=Yn.parentNode;){const Xt=pr.get(Yn);if(Xt){gn=Xt;break}$r.push(Yn)}$r.forEach(Xt=>pr.set(Xt,gn))}const Tr=this._buildAnimation(Xe.namespaceId,Je,Rn,I,vs,wr);if(Xe.setRealPlayer(Tr),gn===wi)Vr.push(Xe);else{const Yn=this.playersByElement.get(gn);Yn&&Yn.length&&(Xe.parentPlayer=U(Yn)),b.push(Xe)}}else hn(We,Je.fromStyles),Xe.onDestroy(()=>Gt(We,Je.toStyles)),Xr.push(Xe),Re.has(We)&&b.push(Xe)}),Xr.forEach(Ye=>{const We=I.get(Ye.element);if(We&&We.length){const Xe=U(We);Ye.setRealPlayer(Xe)}}),b.forEach(Ye=>{Ye.parentPlayer?Ye.syncPlayerEvents(Ye.parentPlayer):Ye.destroy()});for(let Ye=0;Ye<At.length;Ye++){const We=At[Ye],Xe=We[zt];if(Zr(We,Ve),Xe&&Xe.hasAnimation)continue;let Je=[];if(j.size){let Tr=j.get(We);Tr&&Tr.length&&Je.push(...Tr);let Yn=this.driver.query(We,bn,!0);for(let $r=0;$r<Yn.length;$r++){let Xt=j.get(Yn[$r]);Xt&&Xt.length&&Je.push(...Xt)}}const gn=Je.filter(Tr=>!Tr.destroyed);gn.length?Ls(this,We,gn):this.processLeaveNode(We)}return At.length=0,Vr.forEach(Ye=>{this.players.push(Ye),Ye.onDone(()=>{Ye.destroy();const We=this.players.indexOf(Ye);this.players.splice(We,1)}),Ye.play()}),Vr}elementContainsData(o,l){let f=!1;const b=l[zt];return b&&b.setForRemoval&&(f=!0),this.playersByElement.has(l)&&(f=!0),this.playersByQueriedElement.has(l)&&(f=!0),this.statesByElement.has(l)&&(f=!0),this._fetchNamespace(o).elementContainsData(l)||f}afterFlush(o){this._flushFns.push(o)}afterFlushAnimationsDone(o){this._whenQuietFns.push(o)}_getPreviousPlayers(o,l,f,b,I){let k=[];if(l){const j=this.playersByQueriedElement.get(o);j&&(k=j)}else{const j=this.playersByElement.get(o);if(j){const re=!I||I==Ar;j.forEach(ye=>{ye.queued||!re&&ye.triggerName!=b||k.push(ye)})}}return(f||b)&&(k=k.filter(j=>!(f&&f!=j.namespaceId||b&&b!=j.triggerName))),k}_beforeAnimationBuild(o,l,f){const I=l.element,k=l.isRemovalTransition?void 0:o,j=l.isRemovalTransition?void 0:l.triggerName;for(const re of l.timelines){const ye=re.element,Re=ye!==I,$e=F(f,ye,[]);this._getPreviousPlayers(ye,Re,k,j,l.toState).forEach(_t=>{const Ze=_t.getRealPlayer();Ze.beforeDestroy&&Ze.beforeDestroy(),_t.destroy(),$e.push(_t)})}hn(I,l.fromStyles)}_buildAnimation(o,l,f,b,I,k){const j=l.triggerName,re=l.element,ye=[],Re=new Set,$e=new Set,gt=l.timelines.map(Ze=>{const mt=Ze.element;Re.add(mt);const At=mt[zt];if(At&&At.removedBeforeQueried)return new J.ZN(Ze.duration,Ze.delay);const tn=mt!==re,on=function Di(C){const o=[];return Bs(C,o),o}((f.get(mt)||In).map(Rn=>Rn.getRealPlayer())).filter(Rn=>!!Rn.element&&Rn.element===mt),vn=I.get(mt),_n=k.get(mt),Hr=Q(0,this._normalizer,0,Ze.keyframes,vn,_n),Zn=this._buildPlayer(Ze,Hr,on);if(Ze.subTimeline&&b&&$e.add(mt),tn){const Rn=new Er(o,j,mt);Rn.setRealPlayer(Zn),ye.push(Rn)}return Zn});ye.forEach(Ze=>{F(this.playersByQueriedElement,Ze.element,[]).push(Ze),Ze.onDone(()=>function Qr(C,o,l){let f;if(C instanceof Map){if(f=C.get(o),f){if(f.length){const b=f.indexOf(l);f.splice(b,1)}0==f.length&&C.delete(o)}}else if(f=C[o],f){if(f.length){const b=f.indexOf(l);f.splice(b,1)}0==f.length&&delete C[o]}return f}(this.playersByQueriedElement,Ze.element,Ze))}),Re.forEach(Ze=>Kn(Ze,Cn));const _t=U(gt);return _t.onDestroy(()=>{Re.forEach(Ze=>Zr(Ze,Cn)),Gt(re,l.toStyles)}),$e.forEach(Ze=>{F(b,Ze,[]).push(_t)}),_t}_buildPlayer(o,l,f){return l.length>0?this.driver.animate(o.element,l,o.duration,o.delay,o.easing,f):new J.ZN(o.duration,o.delay)}}class Er{constructor(o,l,f){this.namespaceId=o,this.triggerName=l,this.element=f,this._player=new J.ZN,this._containsRealPlayer=!1,this._queuedCallbacks={},this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(o){this._containsRealPlayer||(this._player=o,Object.keys(this._queuedCallbacks).forEach(l=>{this._queuedCallbacks[l].forEach(f=>q(o,l,void 0,f))}),this._queuedCallbacks={},this._containsRealPlayer=!0,this.overrideTotalTime(o.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(o){this.totalTime=o}syncPlayerEvents(o){const l=this._player;l.triggerCallback&&o.onStart(()=>l.triggerCallback("start")),o.onDone(()=>this.finish()),o.onDestroy(()=>this.destroy())}_queueEvent(o,l){F(this._queuedCallbacks,o,[]).push(l)}onDone(o){this.queued&&this._queueEvent("done",o),this._player.onDone(o)}onStart(o){this.queued&&this._queueEvent("start",o),this._player.onStart(o)}onDestroy(o){this.queued&&this._queueEvent("destroy",o),this._player.onDestroy(o)}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(o){this.queued||this._player.setPosition(o)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(o){const l=this._player;l.triggerCallback&&l.triggerCallback(o)}}function Wt(C){return C&&1===C.nodeType}function oi(C,o){const l=C.style.display;return C.style.display=null!=o?o:"none",l}function qr(C,o,l,f,b){const I=[];l.forEach(re=>I.push(oi(re)));const k=[];f.forEach((re,ye)=>{const Re={};re.forEach($e=>{const gt=Re[$e]=o.computeStyle(ye,$e,b);(!gt||0==gt.length)&&(ye[zt]=hr,k.push(ye))}),C.set(ye,Re)});let j=0;return l.forEach(re=>oi(re,I[j++])),k}function kr(C,o){const l=new Map;if(C.forEach(j=>l.set(j,[])),0==o.length)return l;const b=new Set(o),I=new Map;function k(j){if(!j)return 1;let re=I.get(j);if(re)return re;const ye=j.parentNode;return re=l.has(ye)?ye:b.has(ye)?1:k(ye),I.set(j,re),re}return o.forEach(j=>{const re=k(j);1!==re&&l.get(re).push(j)}),l}const Lr="$$classes";function Kn(C,o){if(C.classList)C.classList.add(o);else{let l=C[Lr];l||(l=C[Lr]={}),l[o]=!0}}function Zr(C,o){if(C.classList)C.classList.remove(o);else{let l=C[Lr];l&&delete l[o]}}function Ls(C,o,l){U(l).onDone(()=>C.processLeaveNode(o))}function Bs(C,o){for(let l=0;l<C.length;l++){const f=C[l];f instanceof J.ZE?Bs(f.players,o):o.push(f)}}function js(C,o,l){const f=l.get(C);if(!f)return!1;let b=o.get(C);return b?f.forEach(I=>b.add(I)):o.set(C,f),l.delete(C),!0}class Br{constructor(o,l,f){this.bodyNode=o,this._driver=l,this._normalizer=f,this._triggerCache={},this.onRemovalComplete=(b,I)=>{},this._transitionEngine=new Bn(o,l,f),this._timelineEngine=new Mr(o,l,f),this._transitionEngine.onRemovalComplete=(b,I)=>this.onRemovalComplete(b,I)}registerTrigger(o,l,f,b,I){const k=o+"-"+b;let j=this._triggerCache[k];if(!j){const re=[],ye=Ue(this._driver,I,re);if(re.length)throw new Error(`The animation trigger "${b}" has failed to build due to the following errors:\n - ${re.join("\n - ")}`);j=function mn(C,o,l){return new _r(C,o,l)}(b,ye,this._normalizer),this._triggerCache[k]=j}this._transitionEngine.registerTrigger(l,b,j)}register(o,l){this._transitionEngine.register(o,l)}destroy(o,l){this._transitionEngine.destroy(o,l)}onInsert(o,l,f,b){this._transitionEngine.insertNode(o,l,f,b)}onRemove(o,l,f,b){this._transitionEngine.removeNode(o,l,b||!1,f)}disableAnimations(o,l){this._transitionEngine.markElementAsDisabled(o,l)}process(o,l,f,b){if("@"==f.charAt(0)){const[I,k]=ae(f);this._timelineEngine.command(I,l,k,b)}else this._transitionEngine.trigger(o,l,f,b)}listen(o,l,f,b,I){if("@"==f.charAt(0)){const[k,j]=ae(f);return this._timelineEngine.listen(k,l,j,I)}return this._transitionEngine.listen(o,l,f,b,I)}flush(o=-1){this._transitionEngine.flush(o)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}function Us(C,o){let l=null,f=null;return Array.isArray(o)&&o.length?(l=As(o[0]),o.length>1&&(f=As(o[o.length-1]))):o&&(l=As(o)),l||f?new Hs(C,l,f):null}let Hs=(()=>{class C{constructor(l,f,b){this._element=l,this._startStyles=f,this._endStyles=b,this._state=0;let I=C.initialStylesByElement.get(l);I||C.initialStylesByElement.set(l,I={}),this._initialStyles=I}start(){this._state<1&&(this._startStyles&&Gt(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(Gt(this._element,this._initialStyles),this._endStyles&&(Gt(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(C.initialStylesByElement.delete(this._element),this._startStyles&&(hn(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(hn(this._element,this._endStyles),this._endStyles=null),Gt(this._element,this._initialStyles),this._state=3)}}return C.initialStylesByElement=new WeakMap,C})();function As(C){let o=null;const l=Object.keys(C);for(let f=0;f<l.length;f++){const b=l[f];Vs(b)&&(o=o||{},o[b]=C[b])}return o}function Vs(C){return"display"===C||"position"===C}const hs="animation",ai="animationend";class fs{constructor(o,l,f,b,I,k,j){this._element=o,this._name=l,this._duration=f,this._delay=b,this._easing=I,this._fillMode=k,this._onDoneFn=j,this._finished=!1,this._destroyed=!1,this._startTime=0,this._position=0,this._eventFn=re=>this._handleCallback(re)}apply(){(function Ci(C,o){const l=Cr(C,"").trim();let f=0;l.length&&(f=function gs(C,o){let l=0;for(let f=0;f<C.length;f++)C.charAt(f)===o&&l++;return l}(l,",")+1,o=`${l}, ${o}`),Jr(C,"",o)})(this._element,`${this._duration}ms ${this._easing} ${this._delay}ms 1 normal ${this._fillMode} ${this._name}`),zs(this._element,this._eventFn,!1),this._startTime=Date.now()}pause(){yn(this._element,this._name,"paused")}resume(){yn(this._element,this._name,"running")}setPosition(o){const l=ps(this._element,this._name);this._position=o*this._duration,Jr(this._element,"Delay",`-${this._position}ms`,l)}getPosition(){return this._position}_handleCallback(o){const l=o._ngTestManualTimestamp||Date.now(),f=1e3*parseFloat(o.elapsedTime.toFixed(3));o.animationName==this._name&&Math.max(l-this._startTime,0)>=this._delay&&f>=this._duration&&this.finish()}finish(){this._finished||(this._finished=!0,this._onDoneFn(),zs(this._element,this._eventFn,!0))}destroy(){this._destroyed||(this._destroyed=!0,this.finish(),function fr(C,o){const f=Cr(C,"").split(","),b=Is(f,o);b>=0&&(f.splice(b,1),Jr(C,"",f.join(",")))}(this._element,this._name))}}function yn(C,o,l){Jr(C,"PlayState",l,ps(C,o))}function ps(C,o){const l=Cr(C,"");return l.indexOf(",")>0?Is(l.split(","),o):Is([l],o)}function Is(C,o){for(let l=0;l<C.length;l++)if(C[l].indexOf(o)>=0)return l;return-1}function zs(C,o,l){l?C.removeEventListener(ai,o):C.addEventListener(ai,o)}function Jr(C,o,l,f){const b=hs+o;if(null!=f){const I=C.style[b];if(I.length){const k=I.split(",");k[f]=l,l=k.join(",")}}C.style[b]=l}function Cr(C,o){return C.style[hs+o]||""}class Pn{constructor(o,l,f,b,I,k,j,re){this.element=o,this.keyframes=l,this.animationName=f,this._duration=b,this._delay=I,this._finalStyles=j,this._specialStyles=re,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this.currentSnapshot={},this._state=0,this.easing=k||"linear",this.totalTime=b+I,this._buildStyler()}onStart(o){this._onStartFns.push(o)}onDone(o){this._onDoneFns.push(o)}onDestroy(o){this._onDestroyFns.push(o)}destroy(){this.init(),!(this._state>=4)&&(this._state=4,this._styler.destroy(),this._flushStartFns(),this._flushDoneFns(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(o=>o()),this._onDestroyFns=[])}_flushDoneFns(){this._onDoneFns.forEach(o=>o()),this._onDoneFns=[]}_flushStartFns(){this._onStartFns.forEach(o=>o()),this._onStartFns=[]}finish(){this.init(),!(this._state>=3)&&(this._state=3,this._styler.finish(),this._flushStartFns(),this._specialStyles&&this._specialStyles.finish(),this._flushDoneFns())}setPosition(o){this._styler.setPosition(o)}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 fs(this.element,this.animationName,this._duration,this._delay,this.easing,"forwards",()=>this.finish())}triggerCallback(o){const l="start"==o?this._onStartFns:this._onDoneFns;l.forEach(f=>f()),l.length=0}beforeDestroy(){this.init();const o={};if(this.hasStarted()){const l=this._state>=3;Object.keys(this._finalStyles).forEach(f=>{"offset"!=f&&(o[f]=l?this._finalStyles[f]:le(this.element,f))})}this.currentSnapshot=o}}class Ws extends J.ZN{constructor(o,l){super(),this.element=o,this._startingStyles={},this.__initialized=!1,this._styles=rt(l)}init(){this.__initialized||!this._startingStyles||(this.__initialized=!0,Object.keys(this._styles).forEach(o=>{this._startingStyles[o]=this.element.style[o]}),super.init())}play(){!this._startingStyles||(this.init(),Object.keys(this._styles).forEach(o=>this.element.style.setProperty(o,this._styles[o])),super.play())}destroy(){!this._startingStyles||(Object.keys(this._startingStyles).forEach(o=>{const l=this._startingStyles[o];l?this.element.style.setProperty(o,l):this.element.style.removeProperty(o)}),this._startingStyles=null,super.destroy())}}class Ks{constructor(){this._count=0}validateStyleProperty(o){return Ae(o)}matchesElement(o,l){return pe(o,l)}containsElement(o,l){return Ke(o,l)}query(o,l,f){return yt(o,l,f)}computeStyle(o,l,f){return window.getComputedStyle(o)[l]}buildKeyframeElement(o,l,f){f=f.map(j=>rt(j));let b=`@keyframes ${l} {\n`,I="";f.forEach(j=>{I=" ";const re=parseFloat(j.offset);b+=`${I}${100*re}% {\n`,I+=" ",Object.keys(j).forEach(ye=>{const Re=j[ye];switch(ye){case"offset":return;case"easing":return void(Re&&(b+=`${I}animation-timing-function: ${Re};\n`));default:return void(b+=`${I}${ye}: ${Re};\n`)}}),b+=`${I}}\n`}),b+="}\n";const k=document.createElement("style");return k.textContent=b,k}animate(o,l,f,b,I,k=[],j){const re=k.filter(At=>At instanceof Pn),ye={};Y(f,b)&&re.forEach(At=>{let tn=At.currentSnapshot;Object.keys(tn).forEach(on=>ye[on]=tn[on])});const Re=function Qs(C){let o={};return C&&(Array.isArray(C)?C:[C]).forEach(f=>{Object.keys(f).forEach(b=>{"offset"==b||"easing"==b||(o[b]=f[b])})}),o}(l=K(o,l,ye));if(0==f)return new Ws(o,Re);const $e="gen_css_kf_"+this._count++,gt=this.buildKeyframeElement(o,$e,l);(function Ys(C){var o;const l=null===(o=C.getRootNode)||void 0===o?void 0:o.call(C);return"undefined"!=typeof ShadowRoot&&l instanceof ShadowRoot?l:document.head})(o).appendChild(gt);const Ze=Us(o,l),mt=new Pn(o,l,$e,f,b,I,Re,Ze);return mt.onDestroy(()=>function m(C){C.parentNode.removeChild(C)}(gt)),mt}}class S{constructor(o,l,f,b){this.element=o,this.keyframes=l,this.options=f,this._specialStyles=b,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=f.duration,this._delay=f.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(o=>o()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const o=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,o,this.options),this._finalKeyframe=o.length?o[o.length-1]:{},this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_triggerWebAnimation(o,l,f){return o.animate(l,f)}onStart(o){this._onStartFns.push(o)}onDone(o){this._onDoneFns.push(o)}onDestroy(o){this._onDestroyFns.push(o)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(o=>o()),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(o=>o()),this._onDestroyFns=[])}setPosition(o){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=o*this.time}getPosition(){return this.domPlayer.currentTime/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const o={};this.hasStarted()&&Object.keys(this._finalKeyframe).forEach(l=>{"offset"!=l&&(o[l]=this._finished?this._finalKeyframe[l]:le(this.element,l))}),this.currentSnapshot=o}triggerCallback(o){const l="start"==o?this._onStartFns:this._onDoneFns;l.forEach(f=>f()),l.length=0}}class H{constructor(){this._isNativeImpl=/\{\s*\[native\s+code\]\s*\}/.test(Ie().toString()),this._cssKeyframesDriver=new Ks}validateStyleProperty(o){return Ae(o)}matchesElement(o,l){return pe(o,l)}containsElement(o,l){return Ke(o,l)}query(o,l,f){return yt(o,l,f)}computeStyle(o,l,f){return window.getComputedStyle(o)[l]}overrideWebAnimationsSupport(o){this._isNativeImpl=o}animate(o,l,f,b,I,k=[],j){if(!j&&!this._isNativeImpl)return this._cssKeyframesDriver.animate(o,l,f,b,I,k);const Re={duration:f,delay:b,fill:0==b?"both":"forwards"};I&&(Re.easing=I);const $e={},gt=k.filter(Ze=>Ze instanceof S);Y(f,b)&>.forEach(Ze=>{let mt=Ze.currentSnapshot;Object.keys(mt).forEach(At=>$e[At]=mt[At])});const _t=Us(o,l=K(o,l=l.map(Ze=>je(Ze,!1)),$e));return new S(o,l,Re,_t)}}function Ie(){return ie()&&Element.prototype.animate||{}}var He=M(9808);let jt=(()=>{class C extends J._j{constructor(l,f){super(),this._nextAnimationId=0,this._renderer=l.createRenderer(f.body,{id:"0",encapsulation:g.ifc.None,styles:[],data:{animation:[]}})}build(l){const f=this._nextAnimationId.toString();this._nextAnimationId++;const b=Array.isArray(l)?(0,J.vP)(l):l;return ct(this._renderer,null,f,"register",[b]),new Lt(f,this._renderer)}}return C.\u0275fac=function(l){return new(l||C)(g.LFG(g.FYo),g.LFG(He.K0))},C.\u0275prov=g.Yz7({token:C,factory:C.\u0275fac}),C})();class Lt extends J.LC{constructor(o,l){super(),this._id=o,this._renderer=l}create(o,l){return new Nt(this._id,o,l||{},this._renderer)}}class Nt{constructor(o,l,f,b){this.id=o,this.element=l,this._renderer=b,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",f)}_listen(o,l){return this._renderer.listen(this.element,`@@${this.id}:${o}`,l)}_command(o,...l){return ct(this._renderer,this.element,this.id,o,l)}onDone(o){this._listen("done",o)}onStart(o){this._listen("start",o)}onDestroy(o){this._listen("destroy",o)}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(o){this._command("setPosition",o)}getPosition(){var o,l;return null!==(l=null===(o=this._renderer.engine.players[+this.id])||void 0===o?void 0:o.getPosition())&&void 0!==l?l:0}}function ct(C,o,l,f,b){return C.setProperty(o,`@@${l}:${f}`,b)}const Ht="@.disabled";let un=(()=>{class C{constructor(l,f,b){this.delegate=l,this.engine=f,this._zone=b,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),f.onRemovalComplete=(I,k)=>{const j=null==k?void 0:k.parentNode(I);j&&k.removeChild(j,I)}}createRenderer(l,f){const I=this.delegate.createRenderer(l,f);if(!(l&&f&&f.data&&f.data.animation)){let Re=this._rendererCache.get(I);return Re||(Re=new On("",I,this.engine),this._rendererCache.set(I,Re)),Re}const k=f.id,j=f.id+"-"+this._currentId;this._currentId++,this.engine.register(j,l);const re=Re=>{Array.isArray(Re)?Re.forEach(re):this.engine.registerTrigger(k,j,l,Re.name,Re)};return f.data.animation.forEach(re),new br(this,j,I,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then(()=>{this._microtaskId++})}scheduleListenerCallback(l,f,b){l>=0&&l<this._microtaskId?this._zone.run(()=>f(b)):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(I=>{const[k,j]=I;k(j)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([f,b]))}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 C.\u0275fac=function(l){return new(l||C)(g.LFG(g.FYo),g.LFG(Br),g.LFG(g.R0b))},C.\u0275prov=g.Yz7({token:C,factory:C.\u0275fac}),C})();class On{constructor(o,l,f){this.namespaceId=o,this.delegate=l,this.engine=f,this.destroyNode=this.delegate.destroyNode?b=>l.destroyNode(b):null}get data(){return this.delegate.data}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy()}createElement(o,l){return this.delegate.createElement(o,l)}createComment(o){return this.delegate.createComment(o)}createText(o){return this.delegate.createText(o)}appendChild(o,l){this.delegate.appendChild(o,l),this.engine.onInsert(this.namespaceId,l,o,!1)}insertBefore(o,l,f,b=!0){this.delegate.insertBefore(o,l,f),this.engine.onInsert(this.namespaceId,l,o,b)}removeChild(o,l,f){this.engine.onRemove(this.namespaceId,l,this.delegate,f)}selectRootElement(o,l){return this.delegate.selectRootElement(o,l)}parentNode(o){return this.delegate.parentNode(o)}nextSibling(o){return this.delegate.nextSibling(o)}setAttribute(o,l,f,b){this.delegate.setAttribute(o,l,f,b)}removeAttribute(o,l,f){this.delegate.removeAttribute(o,l,f)}addClass(o,l){this.delegate.addClass(o,l)}removeClass(o,l){this.delegate.removeClass(o,l)}setStyle(o,l,f,b){this.delegate.setStyle(o,l,f,b)}removeStyle(o,l,f){this.delegate.removeStyle(o,l,f)}setProperty(o,l,f){"@"==l.charAt(0)&&l==Ht?this.disableAnimations(o,!!f):this.delegate.setProperty(o,l,f)}setValue(o,l){this.delegate.setValue(o,l)}listen(o,l,f){return this.delegate.listen(o,l,f)}disableAnimations(o,l){this.engine.disableAnimations(o,l)}}class br extends On{constructor(o,l,f,b){super(l,f,b),this.factory=o,this.namespaceId=l}setProperty(o,l,f){"@"==l.charAt(0)?"."==l.charAt(1)&&l==Ht?this.disableAnimations(o,f=void 0===f||!!f):this.engine.process(this.namespaceId,o,l.substr(1),f):this.delegate.setProperty(o,l,f)}listen(o,l,f){if("@"==l.charAt(0)){const b=function Ur(C){switch(C){case"body":return document.body;case"document":return document;case"window":return window;default:return C}}(o);let I=l.substr(1),k="";return"@"!=I.charAt(0)&&([I,k]=function tt(C){const o=C.indexOf(".");return[C.substring(0,o),C.substr(o+1)]}(I)),this.engine.listen(this.namespaceId,b,I,k,j=>{this.factory.scheduleListenerCallback(j._data||-1,f,j)})}return this.delegate.listen(o,l,f)}}let li=(()=>{class C extends Br{constructor(l,f,b){super(l.body,f,b)}ngOnDestroy(){this.flush()}}return C.\u0275fac=function(l){return new(l||C)(g.LFG(He.K0),g.LFG(ht),g.LFG(Fn))},C.\u0275prov=g.Yz7({token:C,factory:C.\u0275fac}),C})();const Rs=new g.OlP("AnimationModuleType"),xs=[{provide:J._j,useClass:jt},{provide:Fn,useFactory:function ys(){return new dr}},{provide:Br,useClass:li},{provide:g.FYo,useFactory:function uo(C,o,l){return new un(C,o,l)},deps:[_.se,Br,g.R0b]}],bi=[{provide:ht,useFactory:function Os(){return function ge(){return"function"==typeof Ie()}()?new H:new Ks}},{provide:Rs,useValue:"BrowserAnimations"},...xs],Pe=[{provide:ht,useClass:at},{provide:Rs,useValue:"NoopAnimations"},...xs];let Tt=(()=>{class C{static withConfig(l){return{ngModule:C,providers:l.disableAnimations?Pe:bi}}}return C.\u0275fac=function(l){return new(l||C)},C.\u0275mod=g.oAB({type:C}),C.\u0275inj=g.cJS({providers:bi,imports:[_.b2]}),C})()},2313:(Ge,he,M)=>{M.d(he,{H7:()=>zn,b2:()=>Vn,q6:()=>hn,se:()=>lt});var g=M(9808),_=M(9863);class J extends g.w_{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class ie extends J{static makeCurrent(){(0,g.HT)(new ie)}onAndCancel(L,x,ne){return L.addEventListener(x,ne,!1),()=>{L.removeEventListener(x,ne,!1)}}dispatchEvent(L,x){L.dispatchEvent(x)}remove(L){L.parentNode&&L.parentNode.removeChild(L)}createElement(L,x){return(x=x||this.getDefaultDocument()).createElement(L)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(L){return L.nodeType===Node.ELEMENT_NODE}isShadowRoot(L){return L instanceof DocumentFragment}getGlobalEventTarget(L,x){return"window"===x?window:"document"===x?L:"body"===x?L.body:null}getBaseHref(L){const x=function U(){return B=B||document.querySelector("base"),B?B.getAttribute("href"):null}();return null==x?null:function q(se){Q=Q||document.createElement("a"),Q.setAttribute("href",se);const L=Q.pathname;return"/"===L.charAt(0)?L:`/${L}`}(x)}resetBaseElement(){B=null}getUserAgent(){return window.navigator.userAgent}getCookie(L){return(0,g.Mx)(document.cookie,L)}}let Q,B=null;const z=new _.OlP("TRANSITION_ID"),F=[{provide:_.ip1,useFactory:function V(se,L,x){return()=>{x.get(_.CZH).donePromise.then(()=>{const ne=(0,g.q)(),Se=L.querySelectorAll(`style[ng-transition="${se}"]`);for(let O=0;O<Se.length;O++)ne.remove(Se[O])})}},deps:[z,g.K0,_.zs3],multi:!0}];class ae{static init(){(0,_.VLi)(new ae)}addToWindow(L){_.dqk.getAngularTestability=(ne,Se=!0)=>{const O=L.findTestabilityInTree(ne,Se);if(null==O)throw new Error("Could not find testability for element.");return O},_.dqk.getAllAngularTestabilities=()=>L.getAllTestabilities(),_.dqk.getAllAngularRootElements=()=>L.getAllRootElements(),_.dqk.frameworkStabilizers||(_.dqk.frameworkStabilizers=[]),_.dqk.frameworkStabilizers.push(ne=>{const Se=_.dqk.getAllAngularTestabilities();let O=Se.length,Z=!1;const R=function(de){Z=Z||de,O--,0==O&&ne(Z)};Se.forEach(function(de){de.whenStable(R)})})}findTestabilityInTree(L,x,ne){if(null==x)return null;const Se=L.getTestability(x);return null!=Se?Se:ne?(0,g.q)().isShadowRoot(x)?this.findTestabilityInTree(L,x.host,!0):this.findTestabilityInTree(L,x.parentElement,!0):null}}let fe=(()=>{class se{build(){return new XMLHttpRequest}}return se.\u0275fac=function(x){return new(x||se)},se.\u0275prov=_.Yz7({token:se,factory:se.\u0275fac}),se})();const Te=new _.OlP("EventManagerPlugins");let te=(()=>{class se{constructor(x,ne){this._zone=ne,this._eventNameToPlugin=new Map,x.forEach(Se=>Se.manager=this),this._plugins=x.slice().reverse()}addEventListener(x,ne,Se){return this._findPluginFor(ne).addEventListener(x,ne,Se)}addGlobalEventListener(x,ne,Se){return this._findPluginFor(ne).addGlobalEventListener(x,ne,Se)}getZone(){return this._zone}_findPluginFor(x){const ne=this._eventNameToPlugin.get(x);if(ne)return ne;const Se=this._plugins;for(let O=0;O<Se.length;O++){const Z=Se[O];if(Z.supports(x))return this._eventNameToPlugin.set(x,Z),Z}throw new Error(`No event manager plugin found for event ${x}`)}}return se.\u0275fac=function(x){return new(x||se)(_.LFG(Te),_.LFG(_.R0b))},se.\u0275prov=_.Yz7({token:se,factory:se.\u0275fac}),se})();class ce{constructor(L){this._doc=L}addGlobalEventListener(L,x,ne){const Se=(0,g.q)().getGlobalEventTarget(this._doc,L);if(!Se)throw new Error(`Unsupported event target ${Se} for event ${x}`);return this.addEventListener(Se,x,ne)}}let Ce=(()=>{class se{constructor(){this._stylesSet=new Set}addStyles(x){const ne=new Set;x.forEach(Se=>{this._stylesSet.has(Se)||(this._stylesSet.add(Se),ne.add(Se))}),this.onStylesAdded(ne)}onStylesAdded(x){}getAllStyles(){return Array.from(this._stylesSet)}}return se.\u0275fac=function(x){return new(x||se)},se.\u0275prov=_.Yz7({token:se,factory:se.\u0275fac}),se})(),be=(()=>{class se extends Ce{constructor(x){super(),this._doc=x,this._hostNodes=new Map,this._hostNodes.set(x.head,[])}_addStylesToHost(x,ne,Se){x.forEach(O=>{const Z=this._doc.createElement("style");Z.textContent=O,Se.push(ne.appendChild(Z))})}addHost(x){const ne=[];this._addStylesToHost(this._stylesSet,x,ne),this._hostNodes.set(x,ne)}removeHost(x){const ne=this._hostNodes.get(x);ne&&ne.forEach(Ne),this._hostNodes.delete(x)}onStylesAdded(x){this._hostNodes.forEach((ne,Se)=>{this._addStylesToHost(x,Se,ne)})}ngOnDestroy(){this._hostNodes.forEach(x=>x.forEach(Ne))}}return se.\u0275fac=function(x){return new(x||se)(_.LFG(g.K0))},se.\u0275prov=_.Yz7({token:se,factory:se.\u0275fac}),se})();function Ne(se){(0,g.q)().remove(se)}const Ae={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/"},oe=/%COMP%/g;function St(se,L,x){for(let ne=0;ne<L.length;ne++){let Se=L[ne];Array.isArray(Se)?St(se,Se,x):(Se=Se.replace(oe,se),x.push(Se))}return x}function Mt(se){return L=>{if("__ngUnwrap__"===L)return se;!1===se(L)&&(L.preventDefault(),L.returnValue=!1)}}let lt=(()=>{class se{constructor(x,ne,Se){this.eventManager=x,this.sharedStylesHost=ne,this.appId=Se,this.rendererByCompId=new Map,this.defaultRenderer=new Ve(x)}createRenderer(x,ne){if(!x||!ne)return this.defaultRenderer;switch(ne.encapsulation){case _.ifc.Emulated:{let Se=this.rendererByCompId.get(ne.id);return Se||(Se=new cn(this.eventManager,this.sharedStylesHost,ne,this.appId),this.rendererByCompId.set(ne.id,Se)),Se.applyToHost(x),Se}case 1:case _.ifc.ShadowDom:return new dn(this.eventManager,this.sharedStylesHost,x,ne);default:if(!this.rendererByCompId.has(ne.id)){const Se=St(ne.id,ne.styles,[]);this.sharedStylesHost.addStyles(Se),this.rendererByCompId.set(ne.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return se.\u0275fac=function(x){return new(x||se)(_.LFG(te),_.LFG(be),_.LFG(_.AFp))},se.\u0275prov=_.Yz7({token:se,factory:se.\u0275fac}),se})();class Ve{constructor(L){this.eventManager=L,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(L,x){return x?document.createElementNS(Ae[x]||x,L):document.createElement(L)}createComment(L){return document.createComment(L)}createText(L){return document.createTextNode(L)}appendChild(L,x){L.appendChild(x)}insertBefore(L,x,ne){L&&L.insertBefore(x,ne)}removeChild(L,x){L&&L.removeChild(x)}selectRootElement(L,x){let ne="string"==typeof L?document.querySelector(L):L;if(!ne)throw new Error(`The selector "${L}" did not match any elements`);return x||(ne.textContent=""),ne}parentNode(L){return L.parentNode}nextSibling(L){return L.nextSibling}setAttribute(L,x,ne,Se){if(Se){x=Se+":"+x;const O=Ae[Se];O?L.setAttributeNS(O,x,ne):L.setAttribute(x,ne)}else L.setAttribute(x,ne)}removeAttribute(L,x,ne){if(ne){const Se=Ae[ne];Se?L.removeAttributeNS(Se,x):L.removeAttribute(`${ne}:${x}`)}else L.removeAttribute(x)}addClass(L,x){L.classList.add(x)}removeClass(L,x){L.classList.remove(x)}setStyle(L,x,ne,Se){Se&(_.JOm.DashCase|_.JOm.Important)?L.style.setProperty(x,ne,Se&_.JOm.Important?"important":""):L.style[x]=ne}removeStyle(L,x,ne){ne&_.JOm.DashCase?L.style.removeProperty(x):L.style[x]=""}setProperty(L,x,ne){L[x]=ne}setValue(L,x){L.nodeValue=x}listen(L,x,ne){return"string"==typeof L?this.eventManager.addGlobalEventListener(L,x,Mt(ne)):this.eventManager.addEventListener(L,x,Mt(ne))}}class cn extends Ve{constructor(L,x,ne,Se){super(L),this.component=ne;const O=St(Se+"-"+ne.id,ne.styles,[]);x.addStyles(O),this.contentAttr=function at(se){return"_ngcontent-%COMP%".replace(oe,se)}(Se+"-"+ne.id),this.hostAttr=function ht(se){return"_nghost-%COMP%".replace(oe,se)}(Se+"-"+ne.id)}applyToHost(L){super.setAttribute(L,this.hostAttr,"")}createElement(L,x){const ne=super.createElement(L,x);return super.setAttribute(ne,this.contentAttr,""),ne}}class dn extends Ve{constructor(L,x,ne,Se){super(L),this.sharedStylesHost=x,this.hostEl=ne,this.shadowRoot=ne.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const O=St(Se.id,Se.styles,[]);for(let Z=0;Z<O.length;Z++){const R=document.createElement("style");R.textContent=O[Z],this.shadowRoot.appendChild(R)}}nodeOrShadowRoot(L){return L===this.hostEl?this.shadowRoot:L}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}appendChild(L,x){return super.appendChild(this.nodeOrShadowRoot(L),x)}insertBefore(L,x,ne){return super.insertBefore(this.nodeOrShadowRoot(L),x,ne)}removeChild(L,x){return super.removeChild(this.nodeOrShadowRoot(L),x)}parentNode(L){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(L)))}}let Cn=(()=>{class se extends ce{constructor(x){super(x)}supports(x){return!0}addEventListener(x,ne,Se){return x.addEventListener(ne,Se,!1),()=>this.removeEventListener(x,ne,Se)}removeEventListener(x,ne,Se){return x.removeEventListener(ne,Se)}}return se.\u0275fac=function(x){return new(x||se)(_.LFG(g.K0))},se.\u0275prov=_.Yz7({token:se,factory:se.\u0275fac}),se})();const bn=["alt","control","meta","shift"],_e={"\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"},we={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"},X={alt:se=>se.altKey,control:se=>se.ctrlKey,meta:se=>se.metaKey,shift:se=>se.shiftKey};let ue=(()=>{class se extends ce{constructor(x){super(x)}supports(x){return null!=se.parseEventName(x)}addEventListener(x,ne,Se){const O=se.parseEventName(ne),Z=se.eventCallback(O.fullKey,Se,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,g.q)().onAndCancel(x,O.domEventName,Z))}static parseEventName(x){const ne=x.toLowerCase().split("."),Se=ne.shift();if(0===ne.length||"keydown"!==Se&&"keyup"!==Se)return null;const O=se._normalizeKey(ne.pop());let Z="";if(bn.forEach(de=>{const it=ne.indexOf(de);it>-1&&(ne.splice(it,1),Z+=de+".")}),Z+=O,0!=ne.length||0===O.length)return null;const R={};return R.domEventName=Se,R.fullKey=Z,R}static getEventFullKey(x){let ne="",Se=function Fe(se){let L=se.key;if(null==L){if(L=se.keyIdentifier,null==L)return"Unidentified";L.startsWith("U+")&&(L=String.fromCharCode(parseInt(L.substring(2),16)),3===se.location&&we.hasOwnProperty(L)&&(L=we[L]))}return _e[L]||L}(x);return Se=Se.toLowerCase()," "===Se?Se="space":"."===Se&&(Se="dot"),bn.forEach(O=>{O!=Se&&X[O](x)&&(ne+=O+".")}),ne+=Se,ne}static eventCallback(x,ne,Se){return O=>{se.getEventFullKey(O)===x&&Se.runGuarded(()=>ne(O))}}static _normalizeKey(x){return"esc"===x?"escape":x}}return se.\u0275fac=function(x){return new(x||se)(_.LFG(g.K0))},se.\u0275prov=_.Yz7({token:se,factory:se.\u0275fac}),se})();const hn=(0,_.eFA)(_._c5,"browser",[{provide:_.Lbi,useValue:g.bD},{provide:_.g9A,useValue:function je(){ie.makeCurrent(),ae.init()},multi:!0},{provide:g.K0,useFactory:function Ut(){return(0,_.RDi)(document),document},deps:[]}]),rn=[{provide:_.zSh,useValue:"root"},{provide:_.qLn,useFactory:function nn(){return new _.qLn},deps:[]},{provide:Te,useClass:Cn,multi:!0,deps:[g.K0,_.R0b,_.Lbi]},{provide:Te,useClass:ue,multi:!0,deps:[g.K0]},{provide:lt,useClass:lt,deps:[te,be,_.AFp]},{provide:_.FYo,useExisting:lt},{provide:Ce,useExisting:be},{provide:be,useClass:be,deps:[g.K0]},{provide:_.dDg,useClass:_.dDg,deps:[_.R0b]},{provide:te,useClass:te,deps:[Te,_.R0b]},{provide:g.JF,useClass:fe,deps:[]}];let Vn=(()=>{class se{constructor(x){if(x)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(x){return{ngModule:se,providers:[{provide:_.AFp,useValue:x.appId},{provide:z,useExisting:_.AFp},F]}}}return se.\u0275fac=function(x){return new(x||se)(_.LFG(se,12))},se.\u0275mod=_.oAB({type:se}),se.\u0275inj=_.cJS({providers:rn,imports:[g.ez,_.hGG]}),se})();"undefined"!=typeof window&&window;let zn=(()=>{class se{}return se.\u0275fac=function(x){return new(x||se)},se.\u0275prov=_.Yz7({token:se,factory:function(x){let ne=null;return ne=x?new(x||se):_.LFG(vr),ne},providedIn:"root"}),se})(),vr=(()=>{class se extends zn{constructor(x){super(),this._doc=x}sanitize(x,ne){if(null==ne)return null;switch(x){case _.q3G.NONE:return ne;case _.q3G.HTML:return(0,_.qzn)(ne,"HTML")?(0,_.z3N)(ne):(0,_.EiD)(this._doc,String(ne)).toString();case _.q3G.STYLE:return(0,_.qzn)(ne,"Style")?(0,_.z3N)(ne):ne;case _.q3G.SCRIPT:if((0,_.qzn)(ne,"Script"))return(0,_.z3N)(ne);throw new Error("unsafe value used in a script context");case _.q3G.URL:return(0,_.yhl)(ne),(0,_.qzn)(ne,"URL")?(0,_.z3N)(ne):(0,_.mCW)(String(ne));case _.q3G.RESOURCE_URL:if((0,_.qzn)(ne,"ResourceURL"))return(0,_.z3N)(ne);throw new Error("unsafe value used in a resource URL context (see https://g.co/ng/security#xss)");default:throw new Error(`Unexpected SecurityContext ${x} (see https://g.co/ng/security#xss)`)}}bypassSecurityTrustHtml(x){return(0,_.JVY)(x)}bypassSecurityTrustStyle(x){return(0,_.L6k)(x)}bypassSecurityTrustScript(x){return(0,_.eBb)(x)}bypassSecurityTrustUrl(x){return(0,_.LAX)(x)}bypassSecurityTrustResourceUrl(x){return(0,_.pB0)(x)}}return se.\u0275fac=function(x){return new(x||se)(_.LFG(g.K0))},se.\u0275prov=_.Yz7({token:se,factory:function(x){let ne=null;return ne=x?new x:function Gn(se){return new vr(se.get(g.K0))}(_.LFG(_.zs3)),ne},providedIn:"root"}),se})()},8555:(Ge,he,M)=>{M.d(he,{gz:()=>Ln,m2:()=>Ut,F0:()=>an,rH:()=>ts,Od:()=>qs,yS:()=>Ti,Bz:()=>Mi,lC:()=>Pn});var g=M(9863);const J=(()=>{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 ie=M(5254),B=M(1086),U=M(591),Q=M(3426),q=M(2916),z=M(1221),V=M(8514),F=M(8896),ae=M(1762),fe=M(8929),Te=M(3489);function te(h,c){let u=!1;return arguments.length>=2&&(u=!0),function(D){return D.lift(new ce(h,c,u))}}class ce{constructor(c,u,y=!1){this.accumulator=c,this.seed=u,this.hasSeed=y}call(c,u){return u.subscribe(new Ce(c,this.accumulator,this.seed,this.hasSeed))}}class Ce extends Te.L{constructor(c,u,y,D){super(c),this.accumulator=u,this._seed=y,this.hasSeed=D,this.index=0}get seed(){return this._seed}set seed(c){this.hasSeed=!0,this._seed=c}_next(c){if(this.hasSeed)return this._tryNext(c);this.seed=c,this.destination.next(c)}_tryNext(c){const u=this.index++;let y;try{y=this.accumulator(this.seed,c,u)}catch(D){this.destination.error(D)}this.seed=y,this.destination.next(y)}}var be=M(2198),Ne=M(4231);function Ae(h){return function(u){return 0===h?(0,F.c)():u.lift(new oe(h))}}class oe{constructor(c){if(this.total=c,this.total<0)throw new Ne.W}call(c,u){return u.subscribe(new pe(c,this.total))}}class pe extends Te.L{constructor(c,u){super(c),this.total=u,this.ring=new Array,this.count=0}_next(c){const u=this.ring,y=this.total,D=this.count++;u.length<y?u.push(c):u[D%y]=c}_complete(){const c=this.destination;let u=this.count;if(u>0){const y=this.count>=this.total?this.total:this.count,D=this.ring;for(let A=0;A<y;A++){const N=u++%y;c.next(D[N])}}c.complete()}}function Ke(h=at){return c=>c.lift(new yt(h))}class yt{constructor(c){this.errorFactory=c}call(c,u){return u.subscribe(new rt(c,this.errorFactory))}}class rt extends Te.L{constructor(c,u){super(c),this.errorFactory=u,this.hasValue=!1}_next(c){this.hasValue=!0,this.destination.next(c)}_complete(){if(this.hasValue)return this.destination.complete();{let c;try{c=this.errorFactory()}catch(u){c=u}this.destination.error(c)}}}function at(){return new J}function ht(h=null){return c=>c.lift(new St(h))}class St{constructor(c){this.defaultValue=c}call(c,u){return u.subscribe(new Mt(c,this.defaultValue))}}class Mt extends Te.L{constructor(c,u){super(c),this.defaultValue=u,this.isEmpty=!0}_next(c){this.isEmpty=!1,this.destination.next(c)}_complete(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()}}var ft=M(5379),Ve=M(2986);function Hn(h,c){const u=arguments.length>=2;return y=>y.pipe(h?(0,be.h)((D,A)=>h(D,A,y)):ft.y,(0,Ve.q)(1),u?ht(c):Ke(()=>new J))}var Pt=M(4850),cn=M(7545),dn=M(1059),Cn=M(7221),bn=M(1406),$t=M(1709),_e=M(2994),we=M(4327),X=M(537),ue=M(9146),Fe=M(9808);class je{constructor(c,u){this.id=c,this.url=u}}class nn extends je{constructor(c,u,y="imperative",D=null){super(c,u),this.navigationTrigger=y,this.restoredState=D}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class Ut extends je{constructor(c,u,y){super(c,u),this.urlAfterRedirects=y}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class Gt extends je{constructor(c,u,y){super(c,u),this.reason=y}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class hn extends je{constructor(c,u,y){super(c,u),this.error=y}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class rn extends je{constructor(c,u,y,D){super(c,u),this.urlAfterRedirects=y,this.state=D}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Vn extends je{constructor(c,u,y,D){super(c,u),this.urlAfterRedirects=y,this.state=D}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Xn extends je{constructor(c,u,y,D,A){super(c,u),this.urlAfterRedirects=y,this.state=D,this.shouldActivate=A}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class $n extends je{constructor(c,u,y,D){super(c,u),this.urlAfterRedirects=y,this.state=D}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class xn extends je{constructor(c,u,y,D){super(c,u),this.urlAfterRedirects=y,this.state=D}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Vt{constructor(c){this.route=c}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class lr{constructor(c){this.route=c}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class nt{constructor(c){this.snapshot=c}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class De{constructor(c){this.snapshot=c}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Y{constructor(c){this.snapshot=c}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class K{constructor(c){this.snapshot=c}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Ee{constructor(c,u,y){this.routerEvent=c,this.position=u,this.anchor=y}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}const le="primary";class ke{constructor(c){this.params=c||{}}has(c){return Object.prototype.hasOwnProperty.call(this.params,c)}get(c){if(this.has(c)){const u=this.params[c];return Array.isArray(u)?u[0]:u}return null}getAll(c){if(this.has(c)){const u=this.params[c];return Array.isArray(u)?u:[u]}return[]}get keys(){return Object.keys(this.params)}}function Oe(h){return new ke(h)}const ze="ngNavigationCancelingError";function ut(h){const c=Error("NavigationCancelingError: "+h);return c[ze]=!0,c}function qt(h,c,u){const y=u.path.split("/");if(y.length>h.length||"full"===u.pathMatch&&(c.hasChildren()||y.length<h.length))return null;const D={};for(let A=0;A<y.length;A++){const N=y[A],W=h[A];if(N.startsWith(":"))D[N.substring(1)]=W;else if(N!==W.path)return null}return{consumed:h.slice(0,y.length),posParams:D}}function It(h,c){const u=h?Object.keys(h):void 0,y=c?Object.keys(c):void 0;if(!u||!y||u.length!=y.length)return!1;let D;for(let A=0;A<u.length;A++)if(D=u[A],!Ct(h[D],c[D]))return!1;return!0}function Ct(h,c){if(Array.isArray(h)&&Array.isArray(c)){if(h.length!==c.length)return!1;const u=[...h].sort(),y=[...c].sort();return u.every((D,A)=>y[A]===D)}return h===c}function Ue(h){return Array.prototype.concat.apply([],h)}function Nn(h){return h.length>0?h[h.length-1]:null}function vt(h,c){for(const u in h)h.hasOwnProperty(u)&&c(h[u],u)}function st(h){return(0,g.CqO)(h)?h:(0,g.QGY)(h)?(0,ie.D)(Promise.resolve(h)):(0,B.of)(h)}const wn={exact:function Sn(h,c,u){if(!Se(h.segments,c.segments)||!cr(h.segments,c.segments,u)||h.numberOfChildren!==c.numberOfChildren)return!1;for(const y in c.children)if(!h.children[y]||!Sn(h.children[y],c.children[y],u))return!1;return!0},subset:Gn},er={exact:function en(h,c){return It(h,c)},subset:function zn(h,c){return Object.keys(c).length<=Object.keys(h).length&&Object.keys(c).every(u=>Ct(h[u],c[u]))},ignored:()=>!0};function tr(h,c,u){return wn[u.paths](h.root,c.root,u.matrixParams)&&er[u.queryParams](h.queryParams,c.queryParams)&&!("exact"===u.fragment&&h.fragment!==c.fragment)}function Gn(h,c,u){return vr(h,c,c.segments,u)}function vr(h,c,u,y){if(h.segments.length>u.length){const D=h.segments.slice(0,u.length);return!(!Se(D,u)||c.hasChildren()||!cr(D,u,y))}if(h.segments.length===u.length){if(!Se(h.segments,u)||!cr(h.segments,u,y))return!1;for(const D in c.children)if(!h.children[D]||!Gn(h.children[D],c.children[D],y))return!1;return!0}{const D=u.slice(0,h.segments.length),A=u.slice(h.segments.length);return!!(Se(h.segments,D)&&cr(h.segments,D,y)&&h.children[le])&&vr(h.children[le],c,A,y)}}function cr(h,c,u){return c.every((y,D)=>er[u](h[D].parameters,y.parameters))}class se{constructor(c,u,y){this.root=c,this.queryParams=u,this.fragment=y}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Oe(this.queryParams)),this._queryParamMap}toString(){return de.serialize(this)}}class L{constructor(c,u){this.segments=c,this.children=u,this.parent=null,vt(u,(y,D)=>y.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return it(this)}}class x{constructor(c,u){this.path=c,this.parameters=u}get parameterMap(){return this._parameterMap||(this._parameterMap=Oe(this.parameters)),this._parameterMap}toString(){return Yr(this)}}function Se(h,c){return h.length===c.length&&h.every((u,y)=>u.path===c[y].path)}class Z{}class R{parse(c){const u=new Jt(c);return new se(u.parseRootSegment(),u.parseQueryParams(),u.parseFragment())}serialize(c){const u=`/${wt(c.root,!0)}`,y=function Le(h){const c=Object.keys(h).map(u=>{const y=h[u];return Array.isArray(y)?y.map(D=>`${Fn(u)}=${Fn(D)}`).join("&"):`${Fn(u)}=${Fn(y)}`}).filter(u=>!!u);return c.length?`?${c.join("&")}`:""}(c.queryParams);return`${u}${y}${"string"==typeof c.fragment?`#${function qn(h){return encodeURI(h)}(c.fragment)}`:""}`}}const de=new R;function it(h){return h.segments.map(c=>Yr(c)).join("/")}function wt(h,c){if(!h.hasChildren())return it(h);if(c){const u=h.children[le]?wt(h.children[le],!1):"",y=[];return vt(h.children,(D,A)=>{A!==le&&y.push(`${A}:${wt(D,!1)}`)}),y.length>0?`${u}(${y.join("//")})`:u}{const u=function O(h,c){let u=[];return vt(h.children,(y,D)=>{D===le&&(u=u.concat(c(y,D)))}),vt(h.children,(y,D)=>{D!==le&&(u=u.concat(c(y,D)))}),u}(h,(y,D)=>D===le?[wt(h.children[le],!1)]:[`${D}:${wt(y,!1)}`]);return 1===Object.keys(h.children).length&&null!=h.children[le]?`${it(h)}/${u[0]}`:`${it(h)}/(${u.join("//")})`}}function Zt(h){return encodeURIComponent(h).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Fn(h){return Zt(h).replace(/%3B/gi,";")}function dr(h){return Zt(h).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function fn(h){return decodeURIComponent(h)}function pn(h){return fn(h.replace(/\+/g,"%20"))}function Yr(h){return`${dr(h.path)}${function Mn(h){return Object.keys(h).map(c=>`;${dr(c)}=${dr(h[c])}`).join("")}(h.parameters)}`}const Dt=/^[^\/()?;=#]+/;function kt(h){const c=h.match(Dt);return c?c[0]:""}const mn=/^[^=?&#]+/,ln=/^[^&#]+/;class Jt{constructor(c){this.url=c,this.remaining=c}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new L([],{}):new L([],this.parseChildren())}parseQueryParams(){const c={};if(this.consumeOptional("?"))do{this.parseQueryParam(c)}while(this.consumeOptional("&"));return c}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const c=[];for(this.peekStartsWith("(")||c.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),c.push(this.parseSegment());let u={};this.peekStartsWith("/(")&&(this.capture("/"),u=this.parseParens(!0));let y={};return this.peekStartsWith("(")&&(y=this.parseParens(!1)),(c.length>0||Object.keys(u).length>0)&&(y[le]=new L(c,u)),y}parseSegment(){const c=kt(this.remaining);if(""===c&&this.peekStartsWith(";"))throw new Error(`Empty path url segment cannot have parameters: '${this.remaining}'.`);return this.capture(c),new x(fn(c),this.parseMatrixParams())}parseMatrixParams(){const c={};for(;this.consumeOptional(";");)this.parseParam(c);return c}parseParam(c){const u=kt(this.remaining);if(!u)return;this.capture(u);let y="";if(this.consumeOptional("=")){const D=kt(this.remaining);D&&(y=D,this.capture(y))}c[fn(u)]=fn(y)}parseQueryParam(c){const u=function _r(h){const c=h.match(mn);return c?c[0]:""}(this.remaining);if(!u)return;this.capture(u);let y="";if(this.consumeOptional("=")){const N=function Sr(h){const c=h.match(ln);return c?c[0]:""}(this.remaining);N&&(y=N,this.capture(y))}const D=pn(u),A=pn(y);if(c.hasOwnProperty(D)){let N=c[D];Array.isArray(N)||(N=[N],c[D]=N),N.push(A)}else c[D]=A}parseParens(c){const u={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const y=kt(this.remaining),D=this.remaining[y.length];if("/"!==D&&")"!==D&&";"!==D)throw new Error(`Cannot parse url '${this.url}'`);let A;y.indexOf(":")>-1?(A=y.substr(0,y.indexOf(":")),this.capture(A),this.capture(":")):c&&(A=le);const N=this.parseChildren();u[A]=1===Object.keys(N).length?N[le]:new L([],N),this.consumeOptional("//")}return u}peekStartsWith(c){return this.remaining.startsWith(c)}consumeOptional(c){return!!this.peekStartsWith(c)&&(this.remaining=this.remaining.substring(c.length),!0)}capture(c){if(!this.consumeOptional(c))throw new Error(`Expected "${c}".`)}}class Mr{constructor(c){this._root=c}get root(){return this._root.value}parent(c){const u=this.pathFromRoot(c);return u.length>1?u[u.length-2]:null}children(c){const u=nr(c,this._root);return u?u.children.map(y=>y.value):[]}firstChild(c){const u=nr(c,this._root);return u&&u.children.length>0?u.children[0].value:null}siblings(c){const u=pt(c,this._root);return u.length<2?[]:u[u.length-2].children.map(D=>D.value).filter(D=>D!==c)}pathFromRoot(c){return pt(c,this._root).map(u=>u.value)}}function nr(h,c){if(h===c.value)return c;for(const u of c.children){const y=nr(h,u);if(y)return y}return null}function pt(h,c){if(h===c.value)return[c];for(const u of c.children){const y=pt(h,u);if(y.length)return y.unshift(c),y}return[]}class An{constructor(c,u){this.value=c,this.children=u}toString(){return`TreeNode(${this.value})`}}function kn(h){const c={};return h&&h.children.forEach(u=>c[u.value.outlet]=u),c}class us extends Mr{constructor(c,u){super(c),this.snapshot=u,cs(this,c)}toString(){return this.snapshot.toString()}}function Dr(h,c){const u=function In(h,c){const N=new Rt([],{},{},"",{},le,c,null,h.root,-1,{});return new Ar("",new An(N,[]))}(h,c),y=new U.X([new x("",{})]),D=new U.X({}),A=new U.X({}),N=new U.X({}),W=new U.X(""),me=new Ln(y,D,N,W,A,le,c,u.root);return me.snapshot=u.root,new us(new An(me,[]),u)}class Ln{constructor(c,u,y,D,A,N,W,me){this.url=c,this.params=u,this.queryParams=y,this.fragment=D,this.data=A,this.outlet=N,this.component=W,this._futureSnapshot=me}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,Pt.U)(c=>Oe(c)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe((0,Pt.U)(c=>Oe(c)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function hr(h,c="emptyOnly"){const u=h.pathFromRoot;let y=0;if("always"!==c)for(y=u.length-1;y>=1;){const D=u[y],A=u[y-1];if(D.routeConfig&&""===D.routeConfig.path)y--;else{if(A.component)break;y--}}return function zt(h){return h.reduce((c,u)=>({params:Object.assign(Object.assign({},c.params),u.params),data:Object.assign(Object.assign({},c.data),u.data),resolve:Object.assign(Object.assign({},c.resolve),u._resolvedData)}),{params:{},data:{},resolve:{}})}(u.slice(y))}class Rt{constructor(c,u,y,D,A,N,W,me,Qe,Ft,et){this.url=c,this.params=u,this.queryParams=y,this.fragment=D,this.data=A,this.outlet=N,this.component=W,this.routeConfig=me,this._urlSegment=Qe,this._lastPathIndex=Ft,this._resolve=et}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=Oe(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Oe(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(y=>y.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class Ar extends Mr{constructor(c,u){super(u),this.url=c,cs(this,u)}toString(){return Wn(this._root)}}function cs(h,c){c.value._routerState=h,c.children.forEach(u=>cs(h,u))}function Wn(h){const c=h.children.length>0?` { ${h.children.map(Wn).join(", ")} } `:"";return`${h.value}${c}`}function Bn(h){if(h.snapshot){const c=h.snapshot,u=h._futureSnapshot;h.snapshot=u,It(c.queryParams,u.queryParams)||h.queryParams.next(u.queryParams),c.fragment!==u.fragment&&h.fragment.next(u.fragment),It(c.params,u.params)||h.params.next(u.params),function sn(h,c){if(h.length!==c.length)return!1;for(let u=0;u<h.length;++u)if(!It(h[u],c[u]))return!1;return!0}(c.url,u.url)||h.url.next(u.url),It(c.data,u.data)||h.data.next(u.data)}else h.snapshot=h._futureSnapshot,h.data.next(h._futureSnapshot.data)}function Er(h,c){const u=It(h.params,c.params)&&function ne(h,c){return Se(h,c)&&h.every((u,y)=>It(u.parameters,c[y].parameters))}(h.url,c.url);return u&&!(!h.parent!=!c.parent)&&(!h.parent||Er(h.parent,c.parent))}function Ir(h,c,u){if(u&&h.shouldReuseRoute(c.value,u.value.snapshot)){const y=u.value;y._futureSnapshot=c.value;const D=function Wt(h,c,u){return c.children.map(y=>{for(const D of u.children)if(h.shouldReuseRoute(y.value,D.value.snapshot))return Ir(h,y,D);return Ir(h,y)})}(h,c,u);return new An(y,D)}{if(h.shouldAttach(c.value)){const A=h.retrieve(c.value);if(null!==A){const N=A.route;return N.value._futureSnapshot=c.value,N.children=c.children.map(W=>Ir(h,W)),N}}const y=function ii(h){return new Ln(new U.X(h.url),new U.X(h.params),new U.X(h.queryParams),new U.X(h.fragment),new U.X(h.data),h.outlet,h.component,h)}(c.value),D=c.children.map(A=>Ir(h,A));return new An(y,D)}}function qr(h){return"object"==typeof h&&null!=h&&!h.outlets&&!h.segmentPath}function kr(h){return"object"==typeof h&&null!=h&&h.outlets}function Lr(h,c,u,y,D){let A={};return y&&vt(y,(N,W)=>{A[W]=Array.isArray(N)?N.map(me=>`${me}`):`${N}`}),new se(u.root===h?c:_i(u.root,h,c),A,D)}function _i(h,c,u){const y={};return vt(h.children,(D,A)=>{y[A]=D===c?u:_i(D,c,u)}),new L(h.segments,y)}class Kn{constructor(c,u,y){if(this.isAbsolute=c,this.numberOfDoubleDots=u,this.commands=y,c&&y.length>0&&qr(y[0]))throw new Error("Root segment cannot have matrix parameters");const D=y.find(kr);if(D&&D!==Nn(y))throw new Error("{outlets:{}} has to be the last command")}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class Ls{constructor(c,u,y){this.segmentGroup=c,this.processChildren=u,this.index=y}}function js(h,c,u){if(h||(h=new L([],{})),0===h.segments.length&&h.hasChildren())return Br(h,c,u);const y=function Us(h,c,u){let y=0,D=c;const A={match:!1,pathIndex:0,commandIndex:0};for(;D<h.segments.length;){if(y>=u.length)return A;const N=h.segments[D],W=u[y];if(kr(W))break;const me=`${W}`,Qe=y<u.length-1?u[y+1]:null;if(D>0&&void 0===me)break;if(me&&Qe&&"object"==typeof Qe&&void 0===Qe.outlets){if(!ds(me,Qe,N))return A;y+=2}else{if(!ds(me,{},N))return A;y++}D++}return{match:!0,pathIndex:D,commandIndex:y}}(h,c,u),D=u.slice(y.commandIndex);if(y.match&&y.pathIndex<h.segments.length){const A=new L(h.segments.slice(0,y.pathIndex),{});return A.children[le]=new L(h.segments.slice(y.pathIndex),h.children),Br(A,0,D)}return y.match&&0===D.length?new L(h.segments,{}):y.match&&!h.hasChildren()?Hs(h,c,u):y.match?Br(h,0,D):Hs(h,c,u)}function Br(h,c,u){if(0===u.length)return new L(h.segments,{});{const y=function Ei(h){return kr(h[0])?h[0].outlets:{[le]:h}}(u),D={};return vt(y,(A,N)=>{"string"==typeof A&&(A=[A]),null!==A&&(D[N]=js(h.children[N],c,A))}),vt(h.children,(A,N)=>{void 0===y[N]&&(D[N]=A)}),new L(h.segments,D)}}function Hs(h,c,u){const y=h.segments.slice(0,c);let D=0;for(;D<u.length;){const A=u[D];if(kr(A)){const me=As(A.outlets);return new L(y,me)}if(0===D&&qr(u[0])){y.push(new x(h.segments[c].path,Vs(u[0]))),D++;continue}const N=kr(A)?A.outlets[le]:`${A}`,W=D<u.length-1?u[D+1]:null;N&&W&&qr(W)?(y.push(new x(N,Vs(W))),D+=2):(y.push(new x(N,{})),D++)}return new L(y,{})}function As(h){const c={};return vt(h,(u,y)=>{"string"==typeof u&&(u=[u]),null!==u&&(c[y]=Hs(new L([],{}),0,u))}),c}function Vs(h){const c={};return vt(h,(u,y)=>c[y]=`${u}`),c}function ds(h,c,u){return h==u.path&&It(c,u.parameters)}class ai{constructor(c,u,y,D){this.routeReuseStrategy=c,this.futureState=u,this.currState=y,this.forwardEvent=D}activate(c){const u=this.futureState._root,y=this.currState?this.currState._root:null;this.deactivateChildRoutes(u,y,c),Bn(this.futureState.root),this.activateChildRoutes(u,y,c)}deactivateChildRoutes(c,u,y){const D=kn(u);c.children.forEach(A=>{const N=A.value.outlet;this.deactivateRoutes(A,D[N],y),delete D[N]}),vt(D,(A,N)=>{this.deactivateRouteAndItsChildren(A,y)})}deactivateRoutes(c,u,y){const D=c.value,A=u?u.value:null;if(D===A)if(D.component){const N=y.getContext(D.outlet);N&&this.deactivateChildRoutes(c,u,N.children)}else this.deactivateChildRoutes(c,u,y);else A&&this.deactivateRouteAndItsChildren(u,y)}deactivateRouteAndItsChildren(c,u){c.value.component&&this.routeReuseStrategy.shouldDetach(c.value.snapshot)?this.detachAndStoreRouteSubtree(c,u):this.deactivateRouteAndOutlet(c,u)}detachAndStoreRouteSubtree(c,u){const y=u.getContext(c.value.outlet),D=y&&c.value.component?y.children:u,A=kn(c);for(const N of Object.keys(A))this.deactivateRouteAndItsChildren(A[N],D);if(y&&y.outlet){const N=y.outlet.detach(),W=y.children.onOutletDeactivated();this.routeReuseStrategy.store(c.value.snapshot,{componentRef:N,route:c,contexts:W})}}deactivateRouteAndOutlet(c,u){const y=u.getContext(c.value.outlet),D=y&&c.value.component?y.children:u,A=kn(c);for(const N of Object.keys(A))this.deactivateRouteAndItsChildren(A[N],D);y&&y.outlet&&(y.outlet.deactivate(),y.children.onOutletDeactivated(),y.attachRef=null,y.resolver=null,y.route=null)}activateChildRoutes(c,u,y){const D=kn(u);c.children.forEach(A=>{this.activateRoutes(A,D[A.value.outlet],y),this.forwardEvent(new K(A.value.snapshot))}),c.children.length&&this.forwardEvent(new De(c.value.snapshot))}activateRoutes(c,u,y){const D=c.value,A=u?u.value:null;if(Bn(D),D===A)if(D.component){const N=y.getOrCreateContext(D.outlet);this.activateChildRoutes(c,u,N.children)}else this.activateChildRoutes(c,u,y);else if(D.component){const N=y.getOrCreateContext(D.outlet);if(this.routeReuseStrategy.shouldAttach(D.snapshot)){const W=this.routeReuseStrategy.retrieve(D.snapshot);this.routeReuseStrategy.store(D.snapshot,null),N.children.onOutletReAttached(W.contexts),N.attachRef=W.componentRef,N.route=W.route.value,N.outlet&&N.outlet.attach(W.componentRef,W.route.value),Bn(W.route.value),this.activateChildRoutes(c,null,N.children)}else{const W=function $s(h){for(let c=h.parent;c;c=c.parent){const u=c.routeConfig;if(u&&u._loadedConfig)return u._loadedConfig;if(u&&u.component)return null}return null}(D.snapshot),me=W?W.module.componentFactoryResolver:null;N.attachRef=null,N.route=D,N.resolver=me,N.outlet&&N.outlet.activateWith(D,me),this.activateChildRoutes(c,null,N.children)}}else this.activateChildRoutes(c,null,y)}}class fs{constructor(c,u){this.routes=c,this.module=u}}function yn(h){return"function"==typeof h}function fr(h){return h instanceof se}const Cr=Symbol("INITIAL_VALUE");function gs(){return(0,cn.w)(h=>(0,Q.aj)(h.map(c=>c.pipe((0,Ve.q)(1),(0,dn.O)(Cr)))).pipe(te((c,u)=>{let y=!1;return u.reduce((D,A,N)=>D!==Cr?D:(A===Cr&&(y=!0),y||!1!==A&&N!==u.length-1&&!fr(A)?D:A),c)},Cr),(0,be.h)(c=>c!==Cr),(0,Pt.U)(c=>fr(c)?c:!0===c),(0,Ve.q)(1)))}class Gs{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.children=new ms,this.attachRef=null}}class ms{constructor(){this.contexts=new Map}onChildOutletCreated(c,u){const y=this.getOrCreateContext(c);y.outlet=u,this.contexts.set(c,y)}onChildOutletDestroyed(c){const u=this.getContext(c);u&&(u.outlet=null,u.attachRef=null)}onOutletDeactivated(){const c=this.contexts;return this.contexts=new Map,c}onOutletReAttached(c){this.contexts=c}getOrCreateContext(c){let u=this.getContext(c);return u||(u=new Gs,this.contexts.set(c,u)),u}getContext(c){return this.contexts.get(c)||null}}let Pn=(()=>{class h{constructor(u,y,D,A,N){this.parentContexts=u,this.location=y,this.resolver=D,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||le,u.onChildOutletCreated(this.name,this)}ngOnDestroy(){this.parentContexts.onChildOutletDestroyed(this.name)}ngOnInit(){if(!this.activated){const u=this.parentContexts.getContext(this.name);u&&u.route&&(u.attachRef?this.attach(u.attachRef,u.route):this.activateWith(u.route,u.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 u=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(u.instance),u}attach(u,y){this.activated=u,this._activatedRoute=y,this.location.insert(u.hostView),this.attachEvents.emit(u.instance)}deactivate(){if(this.activated){const u=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(u)}}activateWith(u,y){if(this.isActivated)throw new Error("Cannot activate an already activated outlet");this._activatedRoute=u;const N=(y=y||this.resolver).resolveComponentFactory(u._futureSnapshot.routeConfig.component),W=this.parentContexts.getOrCreateContext(this.name).children,me=new Ws(u,W,this.location.injector);this.activated=this.location.createComponent(N,this.location.length,me),this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return h.\u0275fac=function(u){return new(u||h)(g.Y36(ms),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 Ws{constructor(c,u,y){this.route=c,this.childContexts=u,this.parent=y}get(c,u){return c===Ln?this.route:c===ms?this.childContexts:this.parent.get(c,u)}}let Ps=(()=>{class h{}return h.\u0275fac=function(u){return new(u||h)},h.\u0275cmp=g.Xpm({type:h,selectors:[["ng-component"]],decls:1,vars:0,template:function(u,y){1&u&&g._UZ(0,"router-outlet")},directives:[Pn],encapsulation:2}),h})();function jr(h,c=""){for(let u=0;u<h.length;u++){const y=h[u];Ks(y,Ys(c,y))}}function Ks(h,c){h.children&&jr(h.children,c)}function Ys(h,c){return c?h||c.path?h&&!c.path?`${h}/`:!h&&c.path?c.path:`${h}/${c.path}`:"":h}function Qs(h){const c=h.children&&h.children.map(Qs),u=c?Object.assign(Object.assign({},h),{children:c}):Object.assign({},h);return!u.component&&(c||u.loadChildren)&&u.outlet&&u.outlet!==le&&(u.component=Ps),u}function m(h){return h.outlet||le}function T(h,c){const u=h.filter(y=>m(y)===c);return u.push(...h.filter(y=>m(y)!==c)),u}const v={matched:!1,consumedSegments:[],lastChild:0,parameters:{},positionalParamSegments:{}};function S(h,c,u){var y;if(""===c.path)return"full"===c.pathMatch&&(h.hasChildren()||u.length>0)?Object.assign({},v):{matched:!0,consumedSegments:[],lastChild:0,parameters:{},positionalParamSegments:{}};const A=(c.matcher||qt)(u,h,c);if(!A)return Object.assign({},v);const N={};vt(A.posParams,(me,Qe)=>{N[Qe]=me.path});const W=A.consumed.length>0?Object.assign(Object.assign({},N),A.consumed[A.consumed.length-1].parameters):N;return{matched:!0,consumedSegments:A.consumed,lastChild:A.consumed.length,parameters:W,positionalParamSegments:null!==(y=A.posParams)&&void 0!==y?y:{}}}function H(h,c,u,y,D="corrected"){if(u.length>0&&function He(h,c,u){return u.some(y=>Lt(h,c,y)&&m(y)!==le)}(h,u,y)){const N=new L(c,function Ie(h,c,u,y){const D={};D[le]=y,y._sourceSegment=h,y._segmentIndexShift=c.length;for(const A of u)if(""===A.path&&m(A)!==le){const N=new L([],{});N._sourceSegment=h,N._segmentIndexShift=c.length,D[m(A)]=N}return D}(h,c,y,new L(u,h.children)));return N._sourceSegment=h,N._segmentIndexShift=c.length,{segmentGroup:N,slicedSegments:[]}}if(0===u.length&&function jt(h,c,u){return u.some(y=>Lt(h,c,y))}(h,u,y)){const N=new L(h.segments,function ge(h,c,u,y,D,A){const N={};for(const W of y)if(Lt(h,u,W)&&!D[m(W)]){const me=new L([],{});me._sourceSegment=h,me._segmentIndexShift="legacy"===A?h.segments.length:c.length,N[m(W)]=me}return Object.assign(Object.assign({},D),N)}(h,c,u,y,h.children,D));return N._sourceSegment=h,N._segmentIndexShift=c.length,{segmentGroup:N,slicedSegments:u}}const A=new L(h.segments,h.children);return A._sourceSegment=h,A._segmentIndexShift=c.length,{segmentGroup:A,slicedSegments:u}}function Lt(h,c,u){return(!(h.hasChildren()||c.length>0)||"full"!==u.pathMatch)&&""===u.path}function Nt(h,c,u,y){return!!(m(h)===y||y!==le&&Lt(c,u,h))&&("**"===h.path||S(c,h,u).matched)}function ct(h,c,u){return 0===c.length&&!h.children[u]}class Kt{constructor(c){this.segmentGroup=c||null}}class Ht{constructor(c){this.urlTree=c}}function un(h){return new q.y(c=>c.error(new Kt(h)))}function On(h){return new q.y(c=>c.error(new Ht(h)))}function br(h){return new q.y(c=>c.error(new Error(`Only absolute redirects can have named outlets. redirectTo: '${h}'`)))}class li{constructor(c,u,y,D,A){this.configLoader=u,this.urlSerializer=y,this.urlTree=D,this.config=A,this.allowRedirects=!0,this.ngModule=c.get(g.h0i)}apply(){const c=H(this.urlTree.root,[],[],this.config).segmentGroup,u=new L(c.segments,c.children);return this.expandSegmentGroup(this.ngModule,this.config,u,le).pipe((0,Pt.U)(A=>this.createUrlTree(ys(A),this.urlTree.queryParams,this.urlTree.fragment))).pipe((0,Cn.K)(A=>{if(A instanceof Ht)return this.allowRedirects=!1,this.match(A.urlTree);throw A instanceof Kt?this.noMatchError(A):A}))}match(c){return this.expandSegmentGroup(this.ngModule,this.config,c.root,le).pipe((0,Pt.U)(D=>this.createUrlTree(ys(D),c.queryParams,c.fragment))).pipe((0,Cn.K)(D=>{throw D instanceof Kt?this.noMatchError(D):D}))}noMatchError(c){return new Error(`Cannot match any routes. URL Segment: '${c.segmentGroup}'`)}createUrlTree(c,u,y){const D=c.segments.length>0?new L([],{[le]:c}):c;return new se(D,u,y)}expandSegmentGroup(c,u,y,D){return 0===y.segments.length&&y.hasChildren()?this.expandChildren(c,u,y).pipe((0,Pt.U)(A=>new L([],A))):this.expandSegment(c,y,u,y.segments,D,!0)}expandChildren(c,u,y){const D=[];for(const A of Object.keys(y.children))"primary"===A?D.unshift(A):D.push(A);return(0,ie.D)(D).pipe((0,bn.b)(A=>{const N=y.children[A],W=T(u,A);return this.expandSegmentGroup(c,W,N,A).pipe((0,Pt.U)(me=>({segment:me,outlet:A})))}),te((A,N)=>(A[N.outlet]=N.segment,A),{}),function lt(h,c){const u=arguments.length>=2;return y=>y.pipe(h?(0,be.h)((D,A)=>h(D,A,y)):ft.y,Ae(1),u?ht(c):Ke(()=>new J))}())}expandSegment(c,u,y,D,A,N){return(0,ie.D)(y).pipe((0,bn.b)(W=>this.expandSegmentAgainstRoute(c,u,y,W,D,A,N).pipe((0,Cn.K)(Qe=>{if(Qe instanceof Kt)return(0,B.of)(null);throw Qe}))),Hn(W=>!!W),(0,Cn.K)((W,me)=>{if(W instanceof J||"EmptyError"===W.name){if(ct(u,D,A))return(0,B.of)(new L([],{}));throw new Kt(u)}throw W}))}expandSegmentAgainstRoute(c,u,y,D,A,N,W){return Nt(D,u,A,N)?void 0===D.redirectTo?this.matchSegmentAgainstRoute(c,u,D,A,N):W&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(c,u,y,D,A,N):un(u):un(u)}expandSegmentAgainstRouteUsingRedirect(c,u,y,D,A,N){return"**"===D.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(c,y,D,N):this.expandRegularSegmentAgainstRouteUsingRedirect(c,u,y,D,A,N)}expandWildCardWithParamsAgainstRouteUsingRedirect(c,u,y,D){const A=this.applyRedirectCommands([],y.redirectTo,{});return y.redirectTo.startsWith("/")?On(A):this.lineralizeSegments(y,A).pipe((0,$t.zg)(N=>{const W=new L(N,{});return this.expandSegment(c,W,u,N,D,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(c,u,y,D,A,N){const{matched:W,consumedSegments:me,lastChild:Qe,positionalParamSegments:Ft}=S(u,D,A);if(!W)return un(u);const et=this.applyRedirectCommands(me,D.redirectTo,Ft);return D.redirectTo.startsWith("/")?On(et):this.lineralizeSegments(D,et).pipe((0,$t.zg)(Bt=>this.expandSegment(c,u,y,Bt.concat(A.slice(Qe)),N,!1)))}matchSegmentAgainstRoute(c,u,y,D,A){if("**"===y.path)return y.loadChildren?(y._loadedConfig?(0,B.of)(y._loadedConfig):this.configLoader.load(c.injector,y)).pipe((0,Pt.U)(Bt=>(y._loadedConfig=Bt,new L(D,{})))):(0,B.of)(new L(D,{}));const{matched:N,consumedSegments:W,lastChild:me}=S(u,y,D);if(!N)return un(u);const Qe=D.slice(me);return this.getChildConfig(c,y,D).pipe((0,$t.zg)(et=>{const Bt=et.module,Yt=et.routes,{segmentGroup:ei,slicedSegments:zr}=H(u,W,Qe,Yt),ir=new L(ei.segments,ei.children);if(0===zr.length&&ir.hasChildren())return this.expandChildren(Bt,Yt,ir).pipe((0,Pt.U)(Or=>new L(W,Or)));if(0===Yt.length&&0===zr.length)return(0,B.of)(new L(W,{}));const ns=m(y)===A;return this.expandSegment(Bt,ir,Yt,zr,ns?le:A,!0).pipe((0,Pt.U)(Pr=>new L(W.concat(Pr.segments),Pr.children)))}))}getChildConfig(c,u,y){return u.children?(0,B.of)(new fs(u.children,c)):u.loadChildren?void 0!==u._loadedConfig?(0,B.of)(u._loadedConfig):this.runCanLoadGuards(c.injector,u,y).pipe((0,$t.zg)(D=>D?this.configLoader.load(c.injector,u).pipe((0,Pt.U)(A=>(u._loadedConfig=A,A))):function Ur(h){return new q.y(c=>c.error(ut(`Cannot load children because the guard of the route "path: '${h.path}'" returned false`)))}(u))):(0,B.of)(new fs([],c))}runCanLoadGuards(c,u,y){const D=u.canLoad;if(!D||0===D.length)return(0,B.of)(!0);const A=D.map(N=>{const W=c.get(N);let me;if(function ps(h){return h&&yn(h.canLoad)}(W))me=W.canLoad(u,y);else{if(!yn(W))throw new Error("Invalid CanLoad guard");me=W(u,y)}return st(me)});return(0,B.of)(A).pipe(gs(),(0,_e.b)(N=>{if(!fr(N))return;const W=ut(`Redirecting to "${this.urlSerializer.serialize(N)}"`);throw W.url=N,W}),(0,Pt.U)(N=>!0===N))}lineralizeSegments(c,u){let y=[],D=u.root;for(;;){if(y=y.concat(D.segments),0===D.numberOfChildren)return(0,B.of)(y);if(D.numberOfChildren>1||!D.children[le])return br(c.redirectTo);D=D.children[le]}}applyRedirectCommands(c,u,y){return this.applyRedirectCreatreUrlTree(u,this.urlSerializer.parse(u),c,y)}applyRedirectCreatreUrlTree(c,u,y,D){const A=this.createSegmentGroup(c,u.root,y,D);return new se(A,this.createQueryParams(u.queryParams,this.urlTree.queryParams),u.fragment)}createQueryParams(c,u){const y={};return vt(c,(D,A)=>{if("string"==typeof D&&D.startsWith(":")){const W=D.substring(1);y[A]=u[W]}else y[A]=D}),y}createSegmentGroup(c,u,y,D){const A=this.createSegments(c,u.segments,y,D);let N={};return vt(u.children,(W,me)=>{N[me]=this.createSegmentGroup(c,W,y,D)}),new L(A,N)}createSegments(c,u,y,D){return u.map(A=>A.path.startsWith(":")?this.findPosParam(c,A,D):this.findOrReturn(A,y))}findPosParam(c,u,y){const D=y[u.path.substring(1)];if(!D)throw new Error(`Cannot redirect to '${c}'. Cannot find '${u.path}'.`);return D}findOrReturn(c,u){let y=0;for(const D of u){if(D.path===c.path)return u.splice(y),D;y++}return c}}function ys(h){const c={};for(const y of Object.keys(h.children)){const A=ys(h.children[y]);(A.segments.length>0||A.hasChildren())&&(c[y]=A)}return function Os(h){if(1===h.numberOfChildren&&h.children[le]){const c=h.children[le];return new L(h.segments.concat(c.segments),c.children)}return h}(new L(h.segments,c))}class Rs{constructor(c){this.path=c,this.route=this.path[this.path.length-1]}}class xs{constructor(c,u){this.component=c,this.route=u}}function bi(h,c,u){const y=h._root;return C(y,c?c._root:null,u,[y.value])}function Tt(h,c,u){const y=function co(h){if(!h)return null;for(let c=h.parent;c;c=c.parent){const u=c.routeConfig;if(u&&u._loadedConfig)return u._loadedConfig}return null}(c);return(y?y.module.injector:u).get(h)}function C(h,c,u,y,D={canDeactivateChecks:[],canActivateChecks:[]}){const A=kn(c);return h.children.forEach(N=>{(function o(h,c,u,y,D={canDeactivateChecks:[],canActivateChecks:[]}){const A=h.value,N=c?c.value:null,W=u?u.getContext(h.value.outlet):null;if(N&&A.routeConfig===N.routeConfig){const me=function l(h,c,u){if("function"==typeof u)return u(h,c);switch(u){case"pathParamsChange":return!Se(h.url,c.url);case"pathParamsOrQueryParamsChange":return!Se(h.url,c.url)||!It(h.queryParams,c.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Er(h,c)||!It(h.queryParams,c.queryParams);default:return!Er(h,c)}}(N,A,A.routeConfig.runGuardsAndResolvers);me?D.canActivateChecks.push(new Rs(y)):(A.data=N.data,A._resolvedData=N._resolvedData),C(h,c,A.component?W?W.children:null:u,y,D),me&&W&&W.outlet&&W.outlet.isActivated&&D.canDeactivateChecks.push(new xs(W.outlet.component,N))}else N&&f(c,W,D),D.canActivateChecks.push(new Rs(y)),C(h,null,A.component?W?W.children:null:u,y,D)})(N,A[N.value.outlet],u,y.concat([N.value]),D),delete A[N.value.outlet]}),vt(A,(N,W)=>f(N,u.getContext(W),D)),D}function f(h,c,u){const y=kn(h),D=h.value;vt(y,(A,N)=>{f(A,D.component?c?c.children.getContext(N):null:c,u)}),u.canDeactivateChecks.push(new xs(D.component&&c&&c.outlet&&c.outlet.isActivated?c.outlet.component:null,D))}class gt{}function _t(h){return new q.y(c=>c.error(h))}class mt{constructor(c,u,y,D,A,N){this.rootComponentType=c,this.config=u,this.urlTree=y,this.url=D,this.paramsInheritanceStrategy=A,this.relativeLinkResolution=N}recognize(){const c=H(this.urlTree.root,[],[],this.config.filter(N=>void 0===N.redirectTo),this.relativeLinkResolution).segmentGroup,u=this.processSegmentGroup(this.config,c,le);if(null===u)return null;const y=new Rt([],Object.freeze({}),Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,{},le,this.rootComponentType,null,this.urlTree.root,-1,{}),D=new An(y,u),A=new Ar(this.url,D);return this.inheritParamsAndData(A._root),A}inheritParamsAndData(c){const u=c.value,y=hr(u,this.paramsInheritanceStrategy);u.params=Object.freeze(y.params),u.data=Object.freeze(y.data),c.children.forEach(D=>this.inheritParamsAndData(D))}processSegmentGroup(c,u,y){return 0===u.segments.length&&u.hasChildren()?this.processChildren(c,u):this.processSegment(c,u,u.segments,y)}processChildren(c,u){const y=[];for(const A of Object.keys(u.children)){const N=u.children[A],W=T(c,A),me=this.processSegmentGroup(W,N,A);if(null===me)return null;y.push(...me)}const D=vn(y);return function At(h){h.sort((c,u)=>c.value.outlet===le?-1:u.value.outlet===le?1:c.value.outlet.localeCompare(u.value.outlet))}(D),D}processSegment(c,u,y,D){for(const A of c){const N=this.processSegmentAgainstRoute(A,u,y,D);if(null!==N)return N}return ct(u,y,D)?[]:null}processSegmentAgainstRoute(c,u,y,D){if(c.redirectTo||!Nt(c,u,y,D))return null;let A,N=[],W=[];if("**"===c.path){const Yt=y.length>0?Nn(y).parameters:{};A=new Rt(y,Yt,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,Rn(c),m(c),c.component,c,Hr(u),Zn(u)+y.length,pr(c))}else{const Yt=S(u,c,y);if(!Yt.matched)return null;N=Yt.consumedSegments,W=y.slice(Yt.lastChild),A=new Rt(N,Yt.parameters,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,Rn(c),m(c),c.component,c,Hr(u),Zn(u)+N.length,pr(c))}const me=function tn(h){return h.children?h.children:h.loadChildren?h._loadedConfig.routes:[]}(c),{segmentGroup:Qe,slicedSegments:Ft}=H(u,N,W,me.filter(Yt=>void 0===Yt.redirectTo),this.relativeLinkResolution);if(0===Ft.length&&Qe.hasChildren()){const Yt=this.processChildren(me,Qe);return null===Yt?null:[new An(A,Yt)]}if(0===me.length&&0===Ft.length)return[new An(A,[])];const et=m(c)===D,Bt=this.processSegment(me,Qe,Ft,et?le:D);return null===Bt?null:[new An(A,Bt)]}}function on(h){const c=h.value.routeConfig;return c&&""===c.path&&void 0===c.redirectTo}function vn(h){const c=[],u=new Set;for(const y of h){if(!on(y)){c.push(y);continue}const D=c.find(A=>y.value.routeConfig===A.value.routeConfig);void 0!==D?(D.children.push(...y.children),u.add(D)):c.push(y)}for(const y of u){const D=vn(y.children);c.push(new An(y.value,D))}return c.filter(y=>!u.has(y))}function Hr(h){let c=h;for(;c._sourceSegment;)c=c._sourceSegment;return c}function Zn(h){let c=h,u=c._segmentIndexShift?c._segmentIndexShift:0;for(;c._sourceSegment;)c=c._sourceSegment,u+=c._segmentIndexShift?c._segmentIndexShift:0;return u-1}function Rn(h){return h.data||{}}function pr(h){return h.resolve||{}}function Xr(h){return(0,cn.w)(c=>{const u=h(c);return u?(0,ie.D)(u).pipe((0,Pt.U)(()=>c)):(0,B.of)(c)})}class We extends class Ye{shouldDetach(c){return!1}store(c,u){}shouldAttach(c){return!1}retrieve(c){return null}shouldReuseRoute(c,u){return c.routeConfig===u.routeConfig}}{}const Xe=new g.OlP("ROUTES");class Je{constructor(c,u,y,D){this.injector=c,this.compiler=u,this.onLoadStartListener=y,this.onLoadEndListener=D}load(c,u){if(u._loader$)return u._loader$;this.onLoadStartListener&&this.onLoadStartListener(u);const D=this.loadModuleFactory(u.loadChildren).pipe((0,Pt.U)(A=>{this.onLoadEndListener&&this.onLoadEndListener(u);const N=A.create(c);return new fs(Ue(N.injector.get(Xe,void 0,g.XFs.Self|g.XFs.Optional)).map(Qs),N)}),(0,Cn.K)(A=>{throw u._loader$=void 0,A}));return u._loader$=new ae.c(D,()=>new fe.xQ).pipe((0,we.x)()),u._loader$}loadModuleFactory(c){return st(c()).pipe((0,$t.zg)(u=>u instanceof g.YKP?(0,B.of)(u):(0,ie.D)(this.compiler.compileModuleAsync(u))))}}class Tr{shouldProcessUrl(c){return!0}extract(c){return c}merge(c,u){return c}}function Yn(h){throw h}function $r(h,c,u){return c.parse("/")}function Xt(h,c){return(0,B.of)(null)}const ho={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Jn={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let an=(()=>{class h{constructor(u,y,D,A,N,W,me){this.rootComponentType=u,this.urlSerializer=y,this.rootContexts=D,this.location=A,this.config=me,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.disposed=!1,this.navigationId=0,this.currentPageId=0,this.isNgZoneEnabled=!1,this.events=new fe.xQ,this.errorHandler=Yn,this.malformedUriErrorHandler=$r,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:Xt,afterPreactivation:Xt},this.urlHandlingStrategy=new Tr,this.routeReuseStrategy=new We,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 et=N.get(g.R0b);this.isNgZoneEnabled=et instanceof g.R0b&&g.R0b.isInAngularZone(),this.resetConfig(me),this.currentUrlTree=function ur(){return new se(new L([],{}),{},null)}(),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new Je(N,W,Bt=>this.triggerEvent(new Vt(Bt)),Bt=>this.triggerEvent(new lr(Bt))),this.routerState=Dr(this.currentUrlTree,this.rootComponentType),this.transitions=new U.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 u;return null===(u=this.location.getState())||void 0===u?void 0:u.\u0275routerPageId}setupNavigations(u){const y=this.events;return u.pipe((0,be.h)(D=>0!==D.id),(0,Pt.U)(D=>Object.assign(Object.assign({},D),{extractedUrl:this.urlHandlingStrategy.extract(D.rawUrl)})),(0,cn.w)(D=>{let A=!1,N=!1;return(0,B.of)(D).pipe((0,_e.b)(W=>{this.currentNavigation={id:W.id,initialUrl:W.currentRawUrl,extractedUrl:W.extractedUrl,trigger:W.source,extras:W.extras,previousNavigation:this.lastSuccessfulNavigation?Object.assign(Object.assign({},this.lastSuccessfulNavigation),{previousNavigation:null}):null}}),(0,cn.w)(W=>{const me=this.browserUrlTree.toString(),Qe=!this.navigated||W.extractedUrl.toString()!==me||me!==this.currentUrlTree.toString();if(("reload"===this.onSameUrlNavigation||Qe)&&this.urlHandlingStrategy.shouldProcessUrl(W.rawUrl))return sr(W.source)&&(this.browserUrlTree=W.extractedUrl),(0,B.of)(W).pipe((0,cn.w)(et=>{const Bt=this.transitions.getValue();return y.next(new nn(et.id,this.serializeUrl(et.extractedUrl),et.source,et.restoredState)),Bt!==this.transitions.getValue()?F.E:Promise.resolve(et)}),function uo(h,c,u,y){return(0,cn.w)(D=>function tt(h,c,u,y,D){return new li(h,c,u,y,D).apply()}(h,c,u,D.extractedUrl,y).pipe((0,Pt.U)(A=>Object.assign(Object.assign({},D),{urlAfterRedirects:A}))))}(this.ngModule.injector,this.configLoader,this.urlSerializer,this.config),(0,_e.b)(et=>{this.currentNavigation=Object.assign(Object.assign({},this.currentNavigation),{finalUrl:et.urlAfterRedirects})}),function rr(h,c,u,y,D){return(0,$t.zg)(A=>function Ze(h,c,u,y,D="emptyOnly",A="legacy"){try{const N=new mt(h,c,u,y,D,A).recognize();return null===N?_t(new gt):(0,B.of)(N)}catch(N){return _t(N)}}(h,c,A.urlAfterRedirects,u(A.urlAfterRedirects),y,D).pipe((0,Pt.U)(N=>Object.assign(Object.assign({},A),{targetSnapshot:N}))))}(this.rootComponentType,this.config,et=>this.serializeUrl(et),this.paramsInheritanceStrategy,this.relativeLinkResolution),(0,_e.b)(et=>{if("eager"===this.urlUpdateStrategy){if(!et.extras.skipLocationChange){const Yt=this.urlHandlingStrategy.merge(et.urlAfterRedirects,et.rawUrl);this.setBrowserUrl(Yt,et)}this.browserUrlTree=et.urlAfterRedirects}const Bt=new rn(et.id,this.serializeUrl(et.extractedUrl),this.serializeUrl(et.urlAfterRedirects),et.targetSnapshot);y.next(Bt)}));if(Qe&&this.rawUrlTree&&this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree)){const{id:Bt,extractedUrl:Yt,source:ei,restoredState:zr,extras:ir}=W,ns=new nn(Bt,this.serializeUrl(Yt),ei,zr);y.next(ns);const ti=Dr(Yt,this.rootComponentType).snapshot;return(0,B.of)(Object.assign(Object.assign({},W),{targetSnapshot:ti,urlAfterRedirects:Yt,extras:Object.assign(Object.assign({},ir),{skipLocationChange:!1,replaceUrl:!1})}))}return this.rawUrlTree=W.rawUrl,W.resolve(null),F.E}),Xr(W=>{const{targetSnapshot:me,id:Qe,extractedUrl:Ft,rawUrl:et,extras:{skipLocationChange:Bt,replaceUrl:Yt}}=W;return this.hooks.beforePreactivation(me,{navigationId:Qe,appliedUrlTree:Ft,rawUrlTree:et,skipLocationChange:!!Bt,replaceUrl:!!Yt})}),(0,_e.b)(W=>{const me=new Vn(W.id,this.serializeUrl(W.extractedUrl),this.serializeUrl(W.urlAfterRedirects),W.targetSnapshot);this.triggerEvent(me)}),(0,Pt.U)(W=>Object.assign(Object.assign({},W),{guards:bi(W.targetSnapshot,W.currentSnapshot,this.rootContexts)})),function b(h,c){return(0,$t.zg)(u=>{const{targetSnapshot:y,currentSnapshot:D,guards:{canActivateChecks:A,canDeactivateChecks:N}}=u;return 0===N.length&&0===A.length?(0,B.of)(Object.assign(Object.assign({},u),{guardsResult:!0})):function I(h,c,u,y){return(0,ie.D)(h).pipe((0,$t.zg)(D=>function $e(h,c,u,y,D){const A=c&&c.routeConfig?c.routeConfig.canDeactivate:null;if(!A||0===A.length)return(0,B.of)(!0);const N=A.map(W=>{const me=Tt(W,c,D);let Qe;if(function Jr(h){return h&&yn(h.canDeactivate)}(me))Qe=st(me.canDeactivate(h,c,u,y));else{if(!yn(me))throw new Error("Invalid CanDeactivate guard");Qe=st(me(h,c,u,y))}return Qe.pipe(Hn())});return(0,B.of)(N).pipe(gs())}(D.component,D.route,u,c,y)),Hn(D=>!0!==D,!0))}(N,y,D,h).pipe((0,$t.zg)(W=>W&&function Ci(h){return"boolean"==typeof h}(W)?function k(h,c,u,y){return(0,ie.D)(c).pipe((0,bn.b)(D=>(0,z.z)(function re(h,c){return null!==h&&c&&c(new nt(h)),(0,B.of)(!0)}(D.route.parent,y),function j(h,c){return null!==h&&c&&c(new Y(h)),(0,B.of)(!0)}(D.route,y),function Re(h,c,u){const y=c[c.length-1],A=c.slice(0,c.length-1).reverse().map(N=>function Pe(h){const c=h.routeConfig?h.routeConfig.canActivateChild:null;return c&&0!==c.length?{node:h,guards:c}:null}(N)).filter(N=>null!==N).map(N=>(0,V.P)(()=>{const W=N.guards.map(me=>{const Qe=Tt(me,N.node,u);let Ft;if(function zs(h){return h&&yn(h.canActivateChild)}(Qe))Ft=st(Qe.canActivateChild(y,h));else{if(!yn(Qe))throw new Error("Invalid CanActivateChild guard");Ft=st(Qe(y,h))}return Ft.pipe(Hn())});return(0,B.of)(W).pipe(gs())}));return(0,B.of)(A).pipe(gs())}(h,D.path,u),function ye(h,c,u){const y=c.routeConfig?c.routeConfig.canActivate:null;if(!y||0===y.length)return(0,B.of)(!0);const D=y.map(A=>(0,V.P)(()=>{const N=Tt(A,c,u);let W;if(function Is(h){return h&&yn(h.canActivate)}(N))W=st(N.canActivate(c,h));else{if(!yn(N))throw new Error("Invalid CanActivate guard");W=st(N(c,h))}return W.pipe(Hn())}));return(0,B.of)(D).pipe(gs())}(h,D.route,u))),Hn(D=>!0!==D,!0))}(y,A,h,c):(0,B.of)(W)),(0,Pt.U)(W=>Object.assign(Object.assign({},u),{guardsResult:W})))})}(this.ngModule.injector,W=>this.triggerEvent(W)),(0,_e.b)(W=>{if(fr(W.guardsResult)){const Qe=ut(`Redirecting to "${this.serializeUrl(W.guardsResult)}"`);throw Qe.url=W.guardsResult,Qe}const me=new Xn(W.id,this.serializeUrl(W.extractedUrl),this.serializeUrl(W.urlAfterRedirects),W.targetSnapshot,!!W.guardsResult);this.triggerEvent(me)}),(0,be.h)(W=>!!W.guardsResult||(this.restoreHistory(W),this.cancelNavigationTransition(W,""),!1)),Xr(W=>{if(W.guards.canActivateChecks.length)return(0,B.of)(W).pipe((0,_e.b)(me=>{const Qe=new $n(me.id,this.serializeUrl(me.extractedUrl),this.serializeUrl(me.urlAfterRedirects),me.targetSnapshot);this.triggerEvent(Qe)}),(0,cn.w)(me=>{let Qe=!1;return(0,B.of)(me).pipe(function wr(h,c){return(0,$t.zg)(u=>{const{targetSnapshot:y,guards:{canActivateChecks:D}}=u;if(!D.length)return(0,B.of)(u);let A=0;return(0,ie.D)(D).pipe((0,bn.b)(N=>function ui(h,c,u,y){return function vs(h,c,u,y){const D=Object.keys(h);if(0===D.length)return(0,B.of)({});const A={};return(0,ie.D)(D).pipe((0,$t.zg)(N=>function Vr(h,c,u,y){const D=Tt(h,c,y);return st(D.resolve?D.resolve(c,u):D(c,u))}(h[N],c,u,y).pipe((0,_e.b)(W=>{A[N]=W}))),Ae(1),(0,$t.zg)(()=>Object.keys(A).length===D.length?(0,B.of)(A):F.E))}(h._resolve,h,c,y).pipe((0,Pt.U)(A=>(h._resolvedData=A,h.data=Object.assign(Object.assign({},h.data),hr(h,u).resolve),null)))}(N.route,y,h,c)),(0,_e.b)(()=>A++),Ae(1),(0,$t.zg)(N=>A===D.length?(0,B.of)(u):F.E))})}(this.paramsInheritanceStrategy,this.ngModule.injector),(0,_e.b)({next:()=>Qe=!0,complete:()=>{Qe||(this.restoreHistory(me),this.cancelNavigationTransition(me,"At least one route resolver didn't emit any value."))}}))}),(0,_e.b)(me=>{const Qe=new xn(me.id,this.serializeUrl(me.extractedUrl),this.serializeUrl(me.urlAfterRedirects),me.targetSnapshot);this.triggerEvent(Qe)}))}),Xr(W=>{const{targetSnapshot:me,id:Qe,extractedUrl:Ft,rawUrl:et,extras:{skipLocationChange:Bt,replaceUrl:Yt}}=W;return this.hooks.afterPreactivation(me,{navigationId:Qe,appliedUrlTree:Ft,rawUrlTree:et,skipLocationChange:!!Bt,replaceUrl:!!Yt})}),(0,Pt.U)(W=>{const me=function Qr(h,c,u){const y=Ir(h,c._root,u?u._root:void 0);return new us(y,c)}(this.routeReuseStrategy,W.targetSnapshot,W.currentRouterState);return Object.assign(Object.assign({},W),{targetRouterState:me})}),(0,_e.b)(W=>{this.currentUrlTree=W.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(W.urlAfterRedirects,W.rawUrl),this.routerState=W.targetRouterState,"deferred"===this.urlUpdateStrategy&&(W.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,W),this.browserUrlTree=W.urlAfterRedirects)}),((h,c,u)=>(0,Pt.U)(y=>(new ai(c,y.targetRouterState,y.currentRouterState,u).activate(h),y)))(this.rootContexts,this.routeReuseStrategy,W=>this.triggerEvent(W)),(0,_e.b)({next(){A=!0},complete(){A=!0}}),(0,X.x)(()=>{var W;A||N||this.cancelNavigationTransition(D,`Navigation ID ${D.id} is not equal to the current navigation id ${this.navigationId}`),(null===(W=this.currentNavigation)||void 0===W?void 0:W.id)===D.id&&(this.currentNavigation=null)}),(0,Cn.K)(W=>{if(N=!0,function bt(h){return h&&h[ze]}(W)){const me=fr(W.url);me||(this.navigated=!0,this.restoreHistory(D,!0));const Qe=new Gt(D.id,this.serializeUrl(D.extractedUrl),W.message);y.next(Qe),me?setTimeout(()=>{const Ft=this.urlHandlingStrategy.merge(W.url,this.rawUrlTree),et={skipLocationChange:D.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||sr(D.source)};this.scheduleNavigation(Ft,"imperative",null,et,{resolve:D.resolve,reject:D.reject,promise:D.promise})},0):D.resolve(!1)}else{this.restoreHistory(D,!0);const me=new hn(D.id,this.serializeUrl(D.extractedUrl),W);y.next(me);try{D.resolve(this.errorHandler(W))}catch(Qe){D.reject(Qe)}}return F.E}))}))}resetRootComponentType(u){this.rootComponentType=u,this.routerState.root.component=this.rootComponentType}setTransition(u){this.transitions.next(Object.assign(Object.assign({},this.transitions.value),u))}initialNavigation(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(u=>{const y="popstate"===u.type?"popstate":"hashchange";"popstate"===y&&setTimeout(()=>{var D;const A={replaceUrl:!0},N=(null===(D=u.state)||void 0===D?void 0:D.navigationId)?u.state:null;if(N){const me=Object.assign({},N);delete me.navigationId,delete me.\u0275routerPageId,0!==Object.keys(me).length&&(A.state=me)}const W=this.parseUrl(u.url);this.scheduleNavigation(W,y,N,A)},0)}))}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.currentNavigation}triggerEvent(u){this.events.next(u)}resetConfig(u){jr(u),this.config=u.map(Qs),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(u,y={}){const{relativeTo:D,queryParams:A,fragment:N,queryParamsHandling:W,preserveFragment:me}=y,Qe=D||this.routerState.root,Ft=me?this.currentUrlTree.fragment:N;let et=null;switch(W){case"merge":et=Object.assign(Object.assign({},this.currentUrlTree.queryParams),A);break;case"preserve":et=this.currentUrlTree.queryParams;break;default:et=A||null}return null!==et&&(et=this.removeEmptyProps(et)),function oi(h,c,u,y,D){if(0===u.length)return Lr(c.root,c.root,c,y,D);const A=function Zr(h){if("string"==typeof h[0]&&1===h.length&&"/"===h[0])return new Kn(!0,0,h);let c=0,u=!1;const y=h.reduce((D,A,N)=>{if("object"==typeof A&&null!=A){if(A.outlets){const W={};return vt(A.outlets,(me,Qe)=>{W[Qe]="string"==typeof me?me.split("/"):me}),[...D,{outlets:W}]}if(A.segmentPath)return[...D,A.segmentPath]}return"string"!=typeof A?[...D,A]:0===N?(A.split("/").forEach((W,me)=>{0==me&&"."===W||(0==me&&""===W?u=!0:".."===W?c++:""!=W&&D.push(W))}),D):[...D,A]},[]);return new Kn(u,c,y)}(u);if(A.toRoot())return Lr(c.root,new L([],{}),c,y,D);const N=function Di(h,c,u){if(h.isAbsolute)return new Ls(c.root,!0,0);if(-1===u.snapshot._lastPathIndex){const A=u.snapshot._urlSegment;return new Ls(A,A===c.root,0)}const y=qr(h.commands[0])?0:1;return function Bs(h,c,u){let y=h,D=c,A=u;for(;A>D;){if(A-=D,y=y.parent,!y)throw new Error("Invalid number of '../'");D=y.segments.length}return new Ls(y,!1,D-A)}(u.snapshot._urlSegment,u.snapshot._lastPathIndex+y,h.numberOfDoubleDots)}(A,c,h),W=N.processChildren?Br(N.segmentGroup,N.index,A.commands):js(N.segmentGroup,N.index,A.commands);return Lr(N.segmentGroup,W,c,y,D)}(Qe,this.currentUrlTree,u,et,null!=Ft?Ft:null)}navigateByUrl(u,y={skipLocationChange:!1}){const D=fr(u)?u:this.parseUrl(u),A=this.urlHandlingStrategy.merge(D,this.rawUrlTree);return this.scheduleNavigation(A,"imperative",null,y)}navigate(u,y={skipLocationChange:!1}){return function es(h){for(let c=0;c<h.length;c++){const u=h[c];if(null==u)throw new Error(`The requested path contains ${u} segment at index ${c}`)}}(u),this.navigateByUrl(this.createUrlTree(u,y),y)}serializeUrl(u){return this.urlSerializer.serialize(u)}parseUrl(u){let y;try{y=this.urlSerializer.parse(u)}catch(D){y=this.malformedUriErrorHandler(D,this.urlSerializer,u)}return y}isActive(u,y){let D;if(D=!0===y?Object.assign({},ho):!1===y?Object.assign({},Jn):y,fr(u))return tr(this.currentUrlTree,u,D);const A=this.parseUrl(u);return tr(this.currentUrlTree,A,D)}removeEmptyProps(u){return Object.keys(u).reduce((y,D)=>{const A=u[D];return null!=A&&(y[D]=A),y},{})}processNavigations(){this.navigations.subscribe(u=>{this.navigated=!0,this.lastSuccessfulId=u.id,this.currentPageId=u.targetPageId,this.events.next(new Ut(u.id,this.serializeUrl(u.extractedUrl),this.serializeUrl(this.currentUrlTree))),this.lastSuccessfulNavigation=this.currentNavigation,u.resolve(!0)},u=>{this.console.warn(`Unhandled Navigation Error: ${u}`)})}scheduleNavigation(u,y,D,A,N){var W,me,Qe;if(this.disposed)return Promise.resolve(!1);const Ft=this.transitions.value,et=sr(y)&&Ft&&!sr(Ft.source),Bt=Ft.rawUrl.toString()===u.toString(),Yt=Ft.id===(null===(W=this.currentNavigation)||void 0===W?void 0:W.id);if(et&&Bt&&Yt)return Promise.resolve(!0);let zr,ir,ns;N?(zr=N.resolve,ir=N.reject,ns=N.promise):ns=new Promise((Or,ni)=>{zr=Or,ir=ni});const ti=++this.navigationId;let Pr;return"computed"===this.canceledNavigationResolution?(0===this.currentPageId&&(D=this.location.getState()),Pr=D&&D.\u0275routerPageId?D.\u0275routerPageId:A.replaceUrl||A.skipLocationChange?null!==(me=this.browserPageId)&&void 0!==me?me:0:(null!==(Qe=this.browserPageId)&&void 0!==Qe?Qe:0)+1):Pr=0,this.setTransition({id:ti,targetPageId:Pr,source:y,restoredState:D,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:u,extras:A,resolve:zr,reject:ir,promise:ns,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),ns.catch(Or=>Promise.reject(Or))}setBrowserUrl(u,y){const D=this.urlSerializer.serialize(u),A=Object.assign(Object.assign({},y.extras.state),this.generateNgRouterState(y.id,y.targetPageId));this.location.isCurrentPathEqualTo(D)||y.extras.replaceUrl?this.location.replaceState(D,"",A):this.location.go(D,"",A)}restoreHistory(u,y=!1){var D,A;if("computed"===this.canceledNavigationResolution){const N=this.currentPageId-u.targetPageId;"popstate"!==u.source&&"eager"!==this.urlUpdateStrategy&&this.currentUrlTree!==(null===(D=this.currentNavigation)||void 0===D?void 0:D.finalUrl)||0===N?this.currentUrlTree===(null===(A=this.currentNavigation)||void 0===A?void 0:A.finalUrl)&&0===N&&(this.resetState(u),this.browserUrlTree=u.currentUrlTree,this.resetUrlToCurrentUrlTree()):this.location.historyGo(N)}else"replace"===this.canceledNavigationResolution&&(y&&this.resetState(u),this.resetUrlToCurrentUrlTree())}resetState(u){this.routerState=u.currentRouterState,this.currentUrlTree=u.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,u.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}cancelNavigationTransition(u,y){const D=new Gt(u.id,this.serializeUrl(u.extractedUrl),y);this.triggerEvent(D),u.resolve(!1)}generateNgRouterState(u,y){return"computed"===this.canceledNavigationResolution?{navigationId:u,\u0275routerPageId:y}:{navigationId:u}}}return h.\u0275fac=function(u){g.$Z()},h.\u0275prov=g.Yz7({token:h,factory:h.\u0275fac}),h})();function sr(h){return"imperative"!==h}let ts=(()=>{class h{constructor(u,y,D,A,N){this.router=u,this.route=y,this.tabIndexAttribute=D,this.renderer=A,this.el=N,this.commands=null,this.onChanges=new fe.xQ,this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(u){if(null!=this.tabIndexAttribute)return;const y=this.renderer,D=this.el.nativeElement;null!==u?y.setAttribute(D,"tabindex",u):y.removeAttribute(D,"tabindex")}ngOnChanges(u){this.onChanges.next(this)}set routerLink(u){null!=u?(this.commands=Array.isArray(u)?u:[u],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(){if(null===this.urlTree)return!0;const u={skipLocationChange:gr(this.skipLocationChange),replaceUrl:gr(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,u),!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:gr(this.preserveFragment)})}}return h.\u0275fac=function(u){return new(u||h)(g.Y36(an),g.Y36(Ln),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(u,y){1&u&&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})(),Ti=(()=>{class h{constructor(u,y,D){this.router=u,this.route=y,this.locationStrategy=D,this.commands=null,this.href=null,this.onChanges=new fe.xQ,this.subscription=u.events.subscribe(A=>{A instanceof Ut&&this.updateTargetUrlAndHref()})}set routerLink(u){this.commands=null!=u?Array.isArray(u)?u:[u]:null}ngOnChanges(u){this.updateTargetUrlAndHref(),this.onChanges.next(this)}ngOnDestroy(){this.subscription.unsubscribe()}onClick(u,y,D,A,N){if(0!==u||y||D||A||N||"string"==typeof this.target&&"_self"!=this.target||null===this.urlTree)return!0;const W={skipLocationChange:gr(this.skipLocationChange),replaceUrl:gr(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,W),!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:gr(this.preserveFragment)})}}return h.\u0275fac=function(u){return new(u||h)(g.Y36(an),g.Y36(Ln),g.Y36(Fe.S$))},h.\u0275dir=g.lG2({type:h,selectors:[["a","routerLink",""],["area","routerLink",""]],hostVars:2,hostBindings:function(u,y){1&u&&g.NdJ("click",function(A){return y.onClick(A.button,A.ctrlKey,A.shiftKey,A.altKey,A.metaKey)}),2&u&&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 gr(h){return""===h||!!h}let qs=(()=>{class h{constructor(u,y,D,A,N,W){this.router=u,this.element=y,this.renderer=D,this.cdr=A,this.link=N,this.linkWithHref=W,this.classes=[],this.isActive=!1,this.routerLinkActiveOptions={exact:!1},this.isActiveChange=new g.vpe,this.routerEventsSubscription=u.events.subscribe(me=>{me instanceof Ut&&this.update()})}ngAfterContentInit(){(0,B.of)(this.links.changes,this.linksWithHrefs.changes,(0,B.of)(null)).pipe((0,ue.J)()).subscribe(u=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){var u;null===(u=this.linkInputChangesSubscription)||void 0===u||u.unsubscribe();const y=[...this.links.toArray(),...this.linksWithHrefs.toArray(),this.link,this.linkWithHref].filter(D=>!!D).map(D=>D.onChanges);this.linkInputChangesSubscription=(0,ie.D)(y).pipe((0,ue.J)()).subscribe(D=>{this.isActive!==this.isLinkActive(this.router)(D)&&this.update()})}set routerLinkActive(u){const y=Array.isArray(u)?u:u.split(" ");this.classes=y.filter(D=>!!D)}ngOnChanges(u){this.update()}ngOnDestroy(){var u;this.routerEventsSubscription.unsubscribe(),null===(u=this.linkInputChangesSubscription)||void 0===u||u.unsubscribe()}update(){!this.links||!this.linksWithHrefs||!this.router.navigated||Promise.resolve().then(()=>{const u=this.hasActiveLinks();this.isActive!==u&&(this.isActive=u,this.cdr.markForCheck(),this.classes.forEach(y=>{u?this.renderer.addClass(this.element.nativeElement,y):this.renderer.removeClass(this.element.nativeElement,y)}),this.isActiveChange.emit(u))})}isLinkActive(u){const y=function za(h){return!!h.paths}(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return D=>!!D.urlTree&&u.isActive(D.urlTree,y)}hasActiveLinks(){const u=this.isLinkActive(this.router);return this.link&&u(this.link)||this.linkWithHref&&u(this.linkWithHref)||this.links.some(u)||this.linksWithHrefs.some(u)}}return h.\u0275fac=function(u){return new(u||h)(g.Y36(an),g.Y36(g.SBq),g.Y36(g.Qsj),g.Y36(g.sBO),g.Y36(ts,8),g.Y36(Ti,8))},h.\u0275dir=g.lG2({type:h,selectors:[["","routerLinkActive",""]],contentQueries:function(u,y,D){if(1&u&&(g.Suo(D,ts,5),g.Suo(D,Ti,5)),2&u){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 qo{}class Si{preload(c,u){return(0,B.of)(null)}}let Zo=(()=>{class h{constructor(u,y,D,A){this.router=u,this.injector=D,this.preloadingStrategy=A,this.loader=new Je(D,y,me=>u.triggerEvent(new Vt(me)),me=>u.triggerEvent(new lr(me)))}setUpPreloading(){this.subscription=this.router.events.pipe((0,be.h)(u=>u instanceof Ut),(0,bn.b)(()=>this.preload())).subscribe(()=>{})}preload(){const u=this.injector.get(g.h0i);return this.processRoutes(u,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(u,y){const D=[];for(const A of y)if(A.loadChildren&&!A.canLoad&&A._loadedConfig){const N=A._loadedConfig;D.push(this.processRoutes(N.module,N.routes))}else A.loadChildren&&!A.canLoad?D.push(this.preloadConfig(u,A)):A.children&&D.push(this.processRoutes(u,A.children));return(0,ie.D)(D).pipe((0,ue.J)(),(0,Pt.U)(A=>{}))}preloadConfig(u,y){return this.preloadingStrategy.preload(y,()=>(y._loadedConfig?(0,B.of)(y._loadedConfig):this.loader.load(u.injector,y)).pipe((0,$t.zg)(A=>(y._loadedConfig=A,this.processRoutes(A.module,A.routes)))))}}return h.\u0275fac=function(u){return new(u||h)(g.LFG(an),g.LFG(g.Sil),g.LFG(g.zs3),g.LFG(qo))},h.\u0275prov=g.Yz7({token:h,factory:h.\u0275fac}),h})(),fo=(()=>{class h{constructor(u,y,D={}){this.router=u,this.viewportScroller=y,this.options=D,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},D.scrollPositionRestoration=D.scrollPositionRestoration||"disabled",D.anchorScrolling=D.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(u=>{u instanceof nn?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=u.navigationTrigger,this.restoredId=u.restoredState?u.restoredState.navigationId:0):u instanceof Ut&&(this.lastId=u.id,this.scheduleScrollEvent(u,this.router.parseUrl(u.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.router.events.subscribe(u=>{u instanceof Ee&&(u.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(u.position):u.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(u.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(u,y){this.router.triggerEvent(new Ee(u,"popstate"===this.lastSource?this.store[this.restoredId]:null,y))}ngOnDestroy(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}return h.\u0275fac=function(u){g.$Z()},h.\u0275prov=g.Yz7({token:h,factory:h.\u0275fac}),h})();const Zs=new g.OlP("ROUTER_CONFIGURATION"),di=new g.OlP("ROUTER_FORROOT_GUARD"),Jo=[Fe.Ye,{provide:Z,useClass:R},{provide:an,useFactory:function Xs(h,c,u,y,D,A,N={},W,me){const Qe=new an(null,h,c,u,y,D,Ue(A));return W&&(Qe.urlHandlingStrategy=W),me&&(Qe.routeReuseStrategy=me),function go(h,c){h.errorHandler&&(c.errorHandler=h.errorHandler),h.malformedUriErrorHandler&&(c.malformedUriErrorHandler=h.malformedUriErrorHandler),h.onSameUrlNavigation&&(c.onSameUrlNavigation=h.onSameUrlNavigation),h.paramsInheritanceStrategy&&(c.paramsInheritanceStrategy=h.paramsInheritanceStrategy),h.relativeLinkResolution&&(c.relativeLinkResolution=h.relativeLinkResolution),h.urlUpdateStrategy&&(c.urlUpdateStrategy=h.urlUpdateStrategy),h.canceledNavigationResolution&&(c.canceledNavigationResolution=h.canceledNavigationResolution)}(N,Qe),N.enableTracing&&Qe.events.subscribe(Ft=>{var et,Bt;null===(et=console.group)||void 0===et||et.call(console,`Router Event: ${Ft.constructor.name}`),console.log(Ft.toString()),console.log(Ft),null===(Bt=console.groupEnd)||void 0===Bt||Bt.call(console)}),Qe},deps:[Z,ms,Fe.Ye,g.zs3,g.Sil,Xe,Zs,[class gn{},new g.FiY],[class wi{},new g.FiY]]},ms,{provide:Ln,useFactory:function Ai(h){return h.routerState.root},deps:[an]},Zo,Si,class ci{preload(c,u){return u().pipe((0,Cn.K)(()=>(0,B.of)(null)))}},{provide:Zs,useValue:{enableTracing:!1}}];function po(){return new g.PXZ("Router",an)}let Mi=(()=>{class h{constructor(u,y){}static forRoot(u,y){return{ngModule:h,providers:[Jo,ta(u),{provide:di,useFactory:Js,deps:[[an,new g.FiY,new g.tp0]]},{provide:Zs,useValue:y||{}},{provide:Fe.S$,useFactory:ea,deps:[Fe.lw,[new g.tBr(Fe.mr),new g.FiY],Zs]},{provide:fo,useFactory:Xo,deps:[an,Fe.EM,Zs]},{provide:qo,useExisting:y&&y.preloadingStrategy?y.preloadingStrategy:Si},{provide:g.PXZ,multi:!0,useFactory:po},[na,{provide:g.ip1,multi:!0,useFactory:ra,deps:[na]},{provide:ia,useFactory:sa,deps:[na]},{provide:g.tb,multi:!0,useExisting:ia}]]}}static forChild(u){return{ngModule:h,providers:[ta(u)]}}}return h.\u0275fac=function(u){return new(u||h)(g.LFG(di,8),g.LFG(an,8))},h.\u0275mod=g.oAB({type:h}),h.\u0275inj=g.cJS({}),h})();function Xo(h,c,u){return u.scrollOffset&&c.setOffset(u.scrollOffset),new fo(h,c,u)}function ea(h,c,u={}){return u.useHash?new Fe.Do(h,c):new Fe.b0(h,c)}function Js(h){return"guarded"}function ta(h){return[{provide:g.deG,multi:!0,useValue:h},{provide:Xe,multi:!0,useValue:h}]}let na=(()=>{class h{constructor(u){this.injector=u,this.initNavigation=!1,this.destroyed=!1,this.resultOfPreactivationDone=new fe.xQ}appInitializer(){return this.injector.get(Fe.V_,Promise.resolve(null)).then(()=>{if(this.destroyed)return Promise.resolve(!0);let y=null;const D=new Promise(W=>y=W),A=this.injector.get(an),N=this.injector.get(Zs);return"disabled"===N.initialNavigation?(A.setUpLocationChangeListener(),y(!0)):"enabled"===N.initialNavigation||"enabledBlocking"===N.initialNavigation?(A.hooks.afterPreactivation=()=>this.initNavigation?(0,B.of)(null):(this.initNavigation=!0,y(!0),this.resultOfPreactivationDone),A.initialNavigation()):y(!0),D})}bootstrapListener(u){const y=this.injector.get(Zs),D=this.injector.get(Zo),A=this.injector.get(fo),N=this.injector.get(an),W=this.injector.get(g.z2F);u===W.components[0]&&(("enabledNonBlocking"===y.initialNavigation||void 0===y.initialNavigation)&&N.initialNavigation(),D.setUpPreloading(),A.init(),N.resetRootComponentType(W.componentTypes[0]),this.resultOfPreactivationDone.next(null),this.resultOfPreactivationDone.complete())}ngOnDestroy(){this.destroyed=!0}}return h.\u0275fac=function(u){return new(u||h)(g.LFG(g.zs3))},h.\u0275prov=g.Yz7({token:h,factory:h.\u0275fac}),h})();function ra(h){return h.appInitializer.bind(h)}function sa(h){return h.bootstrapListener.bind(h)}const ia=new g.OlP("Router Initializer")},2290:(Ge,he,M)=>{M.d(he,{Rh:()=>cn,_W:()=>Ve});var g=M(9863),_=M(1777),J=M(8929),ie=M(9808),B=M(2313);const U=["toast-component",""];function Q(_e,we){if(1&_e){const X=g.EpF();g.TgZ(0,"button",5),g.NdJ("click",function(){return g.CHM(X),g.oxw().remove()}),g.TgZ(1,"span",6),g._uU(2,"\xd7"),g.qZA(),g.qZA()}}function q(_e,we){if(1&_e&&(g.ynx(0),g._uU(1),g.BQk()),2&_e){const X=g.oxw(2);g.xp6(1),g.hij("[",X.duplicatesCount+1,"]")}}function z(_e,we){if(1&_e&&(g.TgZ(0,"div"),g._uU(1),g.YNc(2,q,2,1,"ng-container",4),g.qZA()),2&_e){const X=g.oxw();g.Tol(X.options.titleClass),g.uIk("aria-label",X.title),g.xp6(1),g.hij(" ",X.title," "),g.xp6(1),g.Q6J("ngIf",X.duplicatesCount)}}function V(_e,we){if(1&_e&&g._UZ(0,"div",7),2&_e){const X=g.oxw();g.Tol(X.options.messageClass),g.Q6J("innerHTML",X.message,g.oJD)}}function F(_e,we){if(1&_e&&(g.TgZ(0,"div",8),g._uU(1),g.qZA()),2&_e){const X=g.oxw();g.Tol(X.options.messageClass),g.uIk("aria-label",X.message),g.xp6(1),g.hij(" ",X.message," ")}}function ae(_e,we){if(1&_e&&(g.TgZ(0,"div"),g._UZ(1,"div",9),g.qZA()),2&_e){const X=g.oxw();g.xp6(1),g.Udp("width",X.width+"%")}}function fe(_e,we){if(1&_e){const X=g.EpF();g.TgZ(0,"button",5),g.NdJ("click",function(){return g.CHM(X),g.oxw().remove()}),g.TgZ(1,"span",6),g._uU(2,"\xd7"),g.qZA(),g.qZA()}}function Te(_e,we){if(1&_e&&(g.ynx(0),g._uU(1),g.BQk()),2&_e){const X=g.oxw(2);g.xp6(1),g.hij("[",X.duplicatesCount+1,"]")}}function te(_e,we){if(1&_e&&(g.TgZ(0,"div"),g._uU(1),g.YNc(2,Te,2,1,"ng-container",4),g.qZA()),2&_e){const X=g.oxw();g.Tol(X.options.titleClass),g.uIk("aria-label",X.title),g.xp6(1),g.hij(" ",X.title," "),g.xp6(1),g.Q6J("ngIf",X.duplicatesCount)}}function ce(_e,we){if(1&_e&&g._UZ(0,"div",7),2&_e){const X=g.oxw();g.Tol(X.options.messageClass),g.Q6J("innerHTML",X.message,g.oJD)}}function Ce(_e,we){if(1&_e&&(g.TgZ(0,"div",8),g._uU(1),g.qZA()),2&_e){const X=g.oxw();g.Tol(X.options.messageClass),g.uIk("aria-label",X.message),g.xp6(1),g.hij(" ",X.message," ")}}function be(_e,we){if(1&_e&&(g.TgZ(0,"div"),g._UZ(1,"div",9),g.qZA()),2&_e){const X=g.oxw();g.xp6(1),g.Udp("width",X.width+"%")}}class oe{constructor(we,X){this.component=we,this.injector=X}attach(we,X){return this._attachedHost=we,we.attach(this,X)}detach(){const we=this._attachedHost;if(we)return this._attachedHost=void 0,we.detach()}get isAttached(){return null!=this._attachedHost}setAttachedHost(we){this._attachedHost=we}}class Ke{constructor(we,X,ue,Fe,je,nn){this.toastId=we,this.config=X,this.message=ue,this.title=Fe,this.toastType=je,this.toastRef=nn,this._onTap=new J.xQ,this._onAction=new J.xQ,this.toastRef.afterClosed().subscribe(()=>{this._onAction.complete(),this._onTap.complete()})}triggerTap(){this._onTap.next(),this.config.tapToDismiss&&this._onTap.complete()}onTap(){return this._onTap.asObservable()}triggerAction(we){this._onAction.next(we)}onAction(){return this._onAction.asObservable()}}const yt={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",payload:null},rt=new g.OlP("ToastConfig");class at{constructor(we){this._overlayRef=we,this.duplicatesCount=0,this._afterClosed=new J.xQ,this._activate=new J.xQ,this._manualClose=new J.xQ,this._resetTimeout=new J.xQ,this._countDuplicate=new J.xQ}manualClose(){this._manualClose.next(),this._manualClose.complete()}manualClosed(){return this._manualClose.asObservable()}timeoutReset(){return this._resetTimeout.asObservable()}countDuplicate(){return this._countDuplicate.asObservable()}close(){this._overlayRef.detach(),this._afterClosed.next(),this._manualClose.next(),this._afterClosed.complete(),this._manualClose.complete(),this._activate.complete(),this._resetTimeout.complete(),this._countDuplicate.complete()}afterClosed(){return this._afterClosed.asObservable()}isInactive(){return this._activate.isStopped}activate(){this._activate.next(),this._activate.complete()}afterActivate(){return this._activate.asObservable()}onDuplicate(we,X){we&&this._resetTimeout.next(),X&&this._countDuplicate.next(++this.duplicatesCount)}}class ht{constructor(we,X){this._toastPackage=we,this._parentInjector=X}get(we,X,ue){return we===Ke?this._toastPackage:this._parentInjector.get(we,X,ue)}}class St extends class pe{attach(we,X){return this._attachedPortal=we,this.attachComponentPortal(we,X)}detach(){this._attachedPortal&&this._attachedPortal.setAttachedHost(),this._attachedPortal=void 0,this._disposeFn&&(this._disposeFn(),this._disposeFn=void 0)}setDisposeFn(we){this._disposeFn=we}}{constructor(we,X,ue){super(),this._hostDomElement=we,this._componentFactoryResolver=X,this._appRef=ue}attachComponentPortal(we,X){const ue=this._componentFactoryResolver.resolveComponentFactory(we.component);let Fe;return Fe=ue.create(we.injector),this._appRef.attachView(Fe.hostView),this.setDisposeFn(()=>{this._appRef.detachView(Fe.hostView),Fe.destroy()}),X?this._hostDomElement.insertBefore(this._getComponentRootNode(Fe),this._hostDomElement.firstChild):this._hostDomElement.appendChild(this._getComponentRootNode(Fe)),Fe}_getComponentRootNode(we){return we.hostView.rootNodes[0]}}class Mt{constructor(we){this._portalHost=we}attach(we,X=!0){return this._portalHost.attach(we,X)}detach(){return this._portalHost.detach()}}let ft=(()=>{class _e{constructor(X){this._document=X}ngOnDestroy(){this._containerElement&&this._containerElement.parentNode&&this._containerElement.parentNode.removeChild(this._containerElement)}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const X=this._document.createElement("div");X.classList.add("overlay-container"),X.setAttribute("aria-live","polite"),this._document.body.appendChild(X),this._containerElement=X}}return _e.\u0275fac=function(X){return new(X||_e)(g.LFG(ie.K0))},_e.\u0275prov=g.Yz7({token:_e,factory:_e.\u0275fac,providedIn:"root"}),_e})(),lt=(()=>{class _e{constructor(X,ue,Fe,je){this._overlayContainer=X,this._componentFactoryResolver=ue,this._appRef=Fe,this._document=je,this._paneElements=new Map}create(X,ue){return this._createOverlayRef(this.getPaneElement(X,ue))}getPaneElement(X="",ue){return this._paneElements.get(ue)||this._paneElements.set(ue,{}),this._paneElements.get(ue)[X]||(this._paneElements.get(ue)[X]=this._createPaneElement(X,ue)),this._paneElements.get(ue)[X]}_createPaneElement(X,ue){const Fe=this._document.createElement("div");return Fe.id="toast-container",Fe.classList.add(X),Fe.classList.add("toast-container"),ue?ue.getContainerElement().appendChild(Fe):this._overlayContainer.getContainerElement().appendChild(Fe),Fe}_createPortalHost(X){return new St(X,this._componentFactoryResolver,this._appRef)}_createOverlayRef(X){return new Mt(this._createPortalHost(X))}}return _e.\u0275fac=function(X){return new(X||_e)(g.LFG(ft),g.LFG(g._Vd),g.LFG(g.z2F),g.LFG(ie.K0))},_e.\u0275prov=g.Yz7({token:_e,factory:_e.\u0275fac,providedIn:"root"}),_e})(),Ve=(()=>{class _e{constructor(X,ue,Fe,je,nn){this.overlay=ue,this._injector=Fe,this.sanitizer=je,this.ngZone=nn,this.currentlyActive=0,this.toasts=[],this.index=0,this.toastrConfig=Object.assign(Object.assign({},X.default),X.config),X.config.iconClasses&&(this.toastrConfig.iconClasses=Object.assign(Object.assign({},X.default.iconClasses),X.config.iconClasses))}show(X,ue,Fe={},je=""){return this._preBuildNotification(je,X,ue,this.applyConfig(Fe))}success(X,ue,Fe={}){return this._preBuildNotification(this.toastrConfig.iconClasses.success||"",X,ue,this.applyConfig(Fe))}error(X,ue,Fe={}){return this._preBuildNotification(this.toastrConfig.iconClasses.error||"",X,ue,this.applyConfig(Fe))}info(X,ue,Fe={}){return this._preBuildNotification(this.toastrConfig.iconClasses.info||"",X,ue,this.applyConfig(Fe))}warning(X,ue,Fe={}){return this._preBuildNotification(this.toastrConfig.iconClasses.warning||"",X,ue,this.applyConfig(Fe))}clear(X){for(const ue of this.toasts)if(void 0!==X){if(ue.toastId===X)return void ue.toastRef.manualClose()}else ue.toastRef.manualClose()}remove(X){const ue=this._findToast(X);if(!ue||(ue.activeToast.toastRef.close(),this.toasts.splice(ue.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 Fe=this.toasts[this.currentlyActive].toastRef;Fe.isInactive()||(this.currentlyActive=this.currentlyActive+1,Fe.activate())}return!0}findDuplicate(X="",ue="",Fe,je){const{includeTitleDuplicates:nn}=this.toastrConfig;for(const Ut of this.toasts){const Gt=nn&&Ut.title===X;if((!nn||Gt)&&Ut.message===ue)return Ut.toastRef.onDuplicate(Fe,je),Ut}return null}applyConfig(X={}){return Object.assign(Object.assign({},this.toastrConfig),X)}_findToast(X){for(let ue=0;ue<this.toasts.length;ue++)if(this.toasts[ue].toastId===X)return{index:ue,activeToast:this.toasts[ue]};return null}_preBuildNotification(X,ue,Fe,je){return je.onActivateTick?this.ngZone.run(()=>this._buildNotification(X,ue,Fe,je)):this._buildNotification(X,ue,Fe,je)}_buildNotification(X,ue,Fe,je){if(!je.toastComponent)throw new Error("toastComponent required");const nn=this.findDuplicate(Fe,ue,this.toastrConfig.resetTimeoutOnDuplicate&&je.timeOut>0,this.toastrConfig.countDuplicates);if((this.toastrConfig.includeTitleDuplicates&&Fe||ue)&&this.toastrConfig.preventDuplicates&&null!==nn)return nn;this.previousToastMessage=ue;let Ut=!1;this.toastrConfig.maxOpened&&this.currentlyActive>=this.toastrConfig.maxOpened&&(Ut=!0,this.toastrConfig.autoDismiss&&this.clear(this.toasts[0].toastId));const Gt=this.overlay.create(je.positionClass,this.overlayContainer);this.index=this.index+1;let hn=ue;ue&&je.enableHtml&&(hn=this.sanitizer.sanitize(g.q3G.HTML,ue));const rn=new at(Gt),Vn=new Ke(this.index,je,hn,Fe,X,rn),Xn=new ht(Vn,this._injector),$n=new oe(je.toastComponent,Xn),xn=Gt.attach($n,this.toastrConfig.newestOnTop);rn.componentInstance=xn.instance;const Vt={toastId:this.index,title:Fe||"",message:ue||"",toastRef:rn,onShown:rn.afterActivate(),onHidden:rn.afterClosed(),onTap:Vn.onTap(),onAction:Vn.onAction(),portal:xn};return Ut||(this.currentlyActive=this.currentlyActive+1,setTimeout(()=>{Vt.toastRef.activate()})),this.toasts.push(Vt),Vt}}return _e.\u0275fac=function(X){return new(X||_e)(g.LFG(rt),g.LFG(lt),g.LFG(g.zs3),g.LFG(B.H7),g.LFG(g.R0b))},_e.\u0275prov=g.Yz7({token:_e,factory:_e.\u0275fac,providedIn:"root"}),_e})(),Hn=(()=>{class _e{constructor(X,ue,Fe){this.toastrService=X,this.toastPackage=ue,this.ngZone=Fe,this.width=-1,this.toastClasses="",this.state={value:"inactive",params:{easeTime:this.toastPackage.config.easeTime,easing:"ease-in"}},this.message=ue.message,this.title=ue.title,this.options=ue.config,this.originalTimeout=ue.config.timeOut,this.toastClasses=`${ue.toastType} ${ue.config.toastClass}`,this.sub=ue.toastRef.afterActivate().subscribe(()=>{this.activateToast()}),this.sub1=ue.toastRef.manualClosed().subscribe(()=>{this.remove()}),this.sub2=ue.toastRef.timeoutReset().subscribe(()=>{this.resetTimeout()}),this.sub3=ue.toastRef.countDuplicate().subscribe(je=>{this.duplicatesCount=je})}get displayStyle(){if("inactive"===this.state.value)return"none"}ngOnDestroy(){this.sub.unsubscribe(),this.sub1.unsubscribe(),this.sub2.unsubscribe(),this.sub3.unsubscribe(),clearInterval(this.intervalId),clearTimeout(this.timeout)}activateToast(){this.state=Object.assign(Object.assign({},this.state),{value:"active"}),!0!==this.options.disableTimeOut&&"timeOut"!==this.options.disableTimeOut&&this.options.timeOut&&(this.outsideTimeout(()=>this.remove(),this.options.timeOut),this.hideTime=(new Date).getTime()+this.options.timeOut,this.options.progressBar&&this.outsideInterval(()=>this.updateProgress(),10))}updateProgress(){if(0===this.width||100===this.width||!this.options.timeOut)return;const X=(new Date).getTime();this.width=(this.hideTime-X)/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(X,ue){this.ngZone?this.ngZone.runOutsideAngular(()=>this.timeout=setTimeout(()=>this.runInsideAngular(X),ue)):this.timeout=setTimeout(()=>X(),ue)}outsideInterval(X,ue){this.ngZone?this.ngZone.runOutsideAngular(()=>this.intervalId=setInterval(()=>this.runInsideAngular(X),ue)):this.intervalId=setInterval(()=>X(),ue)}runInsideAngular(X){this.ngZone?this.ngZone.run(()=>X()):X()}}return _e.\u0275fac=function(X){return new(X||_e)(g.Y36(Ve),g.Y36(Ke),g.Y36(g.R0b))},_e.\u0275cmp=g.Xpm({type:_e,selectors:[["","toast-component",""]],hostVars:5,hostBindings:function(X,ue){1&X&&g.NdJ("click",function(){return ue.tapToast()})("mouseenter",function(){return ue.stickAround()})("mouseleave",function(){return ue.delayedHideToast()}),2&X&&(g.d8E("@flyInOut",ue.state),g.Tol(ue.toastClasses),g.Udp("display",ue.displayStyle))},attrs:U,decls:5,vars:5,consts:[["type","button","class","toast-close-button","aria-label","Close",3,"click",4,"ngIf"],[3,"class",4,"ngIf"],["role","alert",3,"class","innerHTML",4,"ngIf"],["role","alert",3,"class",4,"ngIf"],[4,"ngIf"],["type","button","aria-label","Close",1,"toast-close-button",3,"click"],["aria-hidden","true"],["role","alert",3,"innerHTML"],["role","alert"],[1,"toast-progress"]],template:function(X,ue){1&X&&(g.YNc(0,Q,3,0,"button",0),g.YNc(1,z,3,5,"div",1),g.YNc(2,V,1,3,"div",2),g.YNc(3,F,2,4,"div",3),g.YNc(4,ae,2,2,"div",4)),2&X&&(g.Q6J("ngIf",ue.options.closeButton),g.xp6(1),g.Q6J("ngIf",ue.title),g.xp6(1),g.Q6J("ngIf",ue.message&&ue.options.enableHtml),g.xp6(1),g.Q6J("ngIf",ue.message&&!ue.options.enableHtml),g.xp6(1),g.Q6J("ngIf",ue.options.progressBar))},directives:[ie.O5],encapsulation:2,data:{animation:[(0,_.X$)("flyInOut",[(0,_.SB)("inactive",(0,_.oB)({opacity:0})),(0,_.SB)("active",(0,_.oB)({opacity:1})),(0,_.SB)("removed",(0,_.oB)({opacity:0})),(0,_.eR)("inactive => active",(0,_.jt)("{{ easeTime }}ms {{ easing }}")),(0,_.eR)("active => removed",(0,_.jt)("{{ easeTime }}ms {{ easing }}"))])]}}),_e})();const Pt=Object.assign(Object.assign({},yt),{toastComponent:Hn});let cn=(()=>{class _e{static forRoot(X={}){return{ngModule:_e,providers:[{provide:rt,useValue:{default:Pt,config:X}}]}}}return _e.\u0275fac=function(X){return new(X||_e)},_e.\u0275mod=g.oAB({type:_e}),_e.\u0275inj=g.cJS({imports:[[ie.ez]]}),_e})(),Cn=(()=>{class _e{constructor(X,ue,Fe){this.toastrService=X,this.toastPackage=ue,this.appRef=Fe,this.width=-1,this.toastClasses="",this.state="inactive",this.message=ue.message,this.title=ue.title,this.options=ue.config,this.originalTimeout=ue.config.timeOut,this.toastClasses=`${ue.toastType} ${ue.config.toastClass}`,this.sub=ue.toastRef.afterActivate().subscribe(()=>{this.activateToast()}),this.sub1=ue.toastRef.manualClosed().subscribe(()=>{this.remove()}),this.sub2=ue.toastRef.timeoutReset().subscribe(()=>{this.resetTimeout()}),this.sub3=ue.toastRef.countDuplicate().subscribe(je=>{this.duplicatesCount=je})}get displayStyle(){if("inactive"===this.state)return"none"}ngOnDestroy(){this.sub.unsubscribe(),this.sub1.unsubscribe(),this.sub2.unsubscribe(),this.sub3.unsubscribe(),clearInterval(this.intervalId),clearTimeout(this.timeout)}activateToast(){this.state="active",!(!0===this.options.disableTimeOut||"timeOut"===this.options.disableTimeOut)&&this.options.timeOut&&(this.timeout=setTimeout(()=>{this.remove()},this.options.timeOut),this.hideTime=(new Date).getTime()+this.options.timeOut,this.options.progressBar&&(this.intervalId=setInterval(()=>this.updateProgress(),10))),this.options.onActivateTick&&this.appRef.tick()}updateProgress(){if(0===this.width||100===this.width||!this.options.timeOut)return;const X=(new Date).getTime();this.width=(this.hideTime-X)/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 _e.\u0275fac=function(X){return new(X||_e)(g.Y36(Ve),g.Y36(Ke),g.Y36(g.z2F))},_e.\u0275cmp=g.Xpm({type:_e,selectors:[["","toast-component",""]],hostVars:4,hostBindings:function(X,ue){1&X&&g.NdJ("click",function(){return ue.tapToast()})("mouseenter",function(){return ue.stickAround()})("mouseleave",function(){return ue.delayedHideToast()}),2&X&&(g.Tol(ue.toastClasses),g.Udp("display",ue.displayStyle))},attrs:U,decls:5,vars:5,consts:[["type","button","class","toast-close-button","aria-label","Close",3,"click",4,"ngIf"],[3,"class",4,"ngIf"],["role","alert",3,"class","innerHTML",4,"ngIf"],["role","alert",3,"class",4,"ngIf"],[4,"ngIf"],["type","button","aria-label","Close",1,"toast-close-button",3,"click"],["aria-hidden","true"],["role","alert",3,"innerHTML"],["role","alert"],[1,"toast-progress"]],template:function(X,ue){1&X&&(g.YNc(0,fe,3,0,"button",0),g.YNc(1,te,3,5,"div",1),g.YNc(2,ce,1,3,"div",2),g.YNc(3,Ce,2,4,"div",3),g.YNc(4,be,2,2,"div",4)),2&X&&(g.Q6J("ngIf",ue.options.closeButton),g.xp6(1),g.Q6J("ngIf",ue.title),g.xp6(1),g.Q6J("ngIf",ue.message&&ue.options.enableHtml),g.xp6(1),g.Q6J("ngIf",ue.message&&!ue.options.enableHtml),g.xp6(1),g.Q6J("ngIf",ue.options.progressBar))},directives:[ie.O5],encapsulation:2}),_e})();Object.assign(Object.assign({},yt),{toastComponent:Cn})}},Ge=>{Ge(Ge.s=2908)}]);
|