marketplacepos 2.3.2 → 2.3.5

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.
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkpos_marketplace=self.webpackChunkpos_marketplace||[]).push([[179],{1318:(Ye,me,b)=>{b.d(me,{O:()=>Oe});var D=b(1135),h=b(8306),ae=b(4986),de=b(1165),$=b(4482),ee=b(8421),J=b(3888),ue=b(5403),pe=b(9672);const ne=(0,J.d)(ce=>function(Le=null){ce(this),this.message="Timeout has occurred",this.name="TimeoutError",this.info=Le});function Z(ce){throw new ne(ce)}var Ue=b(4650),Ce=b(529),ye=b(7185);let Oe=(()=>{class ce{constructor(Le,Je){this.http=Le,this.toastr=Je,this._serverUrl="",this.currentRequest=new D.X(0)}get serverUrl(){return this._serverUrl}set serverUrl(Le){this._serverUrl=Le}addRequest(){this.currentRequest.next(this.currentRequest.value+1)}removeRequest(){this.currentRequest.next(this.currentRequest.value-1)}post(Le,Je,se=1e5){return new h.y(V=>{this.addRequest(),this.http.post(Le,Je).pipe(function te(ce,Ne){const{first:Le,each:Je,with:se=Z,scheduler:V=Ne??ae.z,meta:F=null}=(0,de.q)(ce)?{first:ce}:"number"==typeof ce?{each:ce}:ce;if(null==Le&&null==Je)throw new TypeError("No timeout provided.");return(0,$.e)((_e,Q)=>{let q,fe,O=null,k=0;const G=he=>{fe=(0,pe.f)(Q,V,()=>{try{q.unsubscribe(),(0,ee.Xf)(se({meta:F,lastValue:O,seen:k})).subscribe(Q)}catch(ie){Q.error(ie)}},he)};q=_e.subscribe((0,ue.x)(Q,he=>{fe?.unsubscribe(),k++,Q.next(O=he),Je>0&&G(Je)},void 0,void 0,()=>{fe?.closed||fe?.unsubscribe(),O=null})),!k&&G(null!=Le?"number"==typeof Le?Le:+Le-V.now():Je)})}(se)).subscribe(F=>{this.removeRequest(),V.next(F),V.complete()},F=>{if(this.removeRequest(),200==F.status)V.next(F.error.text),V.complete();else{if(!this.unauthorizedErrorHandling(F)){let Q=this.errorMessageHandling(F);this.toastr.error(""!=Q.message?Q.message:"An unknown error has occured!",Q.header,{enableHtml:!0})}V.error(F)}})})}unauthorizedErrorHandling(Le){let Je=!1;return 401==Le.status&&(localStorage.getItem("Token")?window.location.href="/A/Unauthorized/Main/Unauthorized":window.location.href="/",Je=!0),Je}errorMessageHandling(Le){let Je="API Error",se="Exception Message";return Le.error?(Je="API Error - "+Le.status,Le.error.Message&&(se=-1!=Le.error.Message.indexOf("Message")?JSON.parse(Le.error.Message).Message:Le.error.Message)):Le.message&&(Je="API Error - "+Le.name,se=Le.message),{header:Je,message:se}}}return ce.\u0275fac=function(Le){return new(Le||ce)(Ue.LFG(Ce.eN),Ue.LFG(ye._W))},ce.\u0275prov=Ue.Yz7({token:ce,factory:ce.\u0275fac,providedIn:"root"}),ce})()},8002:(Ye,me,b)=>{b.d(me,{e:()=>h});var D=b(4650);let h=(()=>{class ae{constructor(){}GetNamePOS(){let $=JSON.parse(window.localStorage.getItem("user"));return this.ParseToken($.Token.access_token)}ParseToken($){try{const J=$.split(".")[0].replace("-","+").replace("_","/"),ue=JSON.parse(window.atob(J)),ne=$.split(".")[1].replace("-","+").replace("_","/"),te=JSON.parse(window.atob(ne));return te.header=ue,te}catch{return!1}}}return ae.\u0275fac=function($){return new($||ae)},ae.\u0275prov=D.Yz7({token:ae,factory:ae.\u0275fac,providedIn:"root"}),ae})()},5310:(Ye,me,b)=>{var D=b(1481),h=b(4650),ae=b(529),de=b(4707);function $(y,a){return(o,p)=>!y.call(a,o,p)}var ee=b(9300),J=b(8421),pe=b(6451),ne=b(2805),te=b(8746),Z=b(3900),Ue=b(4482),Ce=b(5032),ye=b(5403);function Oe(y){return(0,Ue.e)((a,o)=>{let p=!1,w=null,A=null;const j=()=>{if(A?.unsubscribe(),A=null,p){p=!1;const B=w;w=null,o.next(B)}};a.subscribe((0,ye.x)(o,B=>{A?.unsubscribe(),p=!0,w=B,A=(0,ye.x)(o,j,Ce.Z),(0,J.Xf)(y(B)).subscribe(A)},()=>{j(),o.complete()},void 0,()=>{w=A=null}))})}var ce=b(1884),Ne=b(8505),Le=b(6895);function Je(y,a){1&y&&h.GkF(0)}function se(y,a){if(1&y&&h._UZ(0,"sk-cube-grid",4),2&y){const o=h.oxw(2);h.Q6J("backgroundColor",o.backgroundColor)}}function V(y,a){if(1&y&&h._UZ(0,"sk-chasing-dots",4),2&y){const o=h.oxw(2);h.Q6J("backgroundColor",o.backgroundColor)}}function F(y,a){if(1&y&&h._UZ(0,"sk-double-bounce",4),2&y){const o=h.oxw(2);h.Q6J("backgroundColor",o.backgroundColor)}}function _e(y,a){if(1&y&&h._UZ(0,"sk-rotating-plane",4),2&y){const o=h.oxw(2);h.Q6J("backgroundColor",o.backgroundColor)}}function Q(y,a){if(1&y&&h._UZ(0,"sk-spinner-pulse",4),2&y){const o=h.oxw(2);h.Q6J("backgroundColor",o.backgroundColor)}}function q(y,a){if(1&y&&h._UZ(0,"sk-three-bounce",4),2&y){const o=h.oxw(2);h.Q6J("backgroundColor",o.backgroundColor)}}function fe(y,a){if(1&y&&h._UZ(0,"sk-wandering-cubes",4),2&y){const o=h.oxw(2);h.Q6J("backgroundColor",o.backgroundColor)}}function O(y,a){if(1&y&&h._UZ(0,"sk-wave",4),2&y){const o=h.oxw(2);h.Q6J("backgroundColor",o.backgroundColor)}}const k=function(y){return{"background-color":y}};function G(y,a){if(1&y&&(h.TgZ(0,"div",1),h.YNc(1,Je,1,0,"ng-container",2),h.YNc(2,se,1,1,"sk-cube-grid",3),h.YNc(3,V,1,1,"sk-chasing-dots",3),h.YNc(4,F,1,1,"sk-double-bounce",3),h.YNc(5,_e,1,1,"sk-rotating-plane",3),h.YNc(6,Q,1,1,"sk-spinner-pulse",3),h.YNc(7,q,1,1,"sk-three-bounce",3),h.YNc(8,fe,1,1,"sk-wandering-cubes",3),h.YNc(9,O,1,1,"sk-wave",3),h.qZA()),2&y){const o=h.oxw();h.Udp("opacity",o.opacity),h.ekj("backdrop",o.backdrop),h.Q6J("ngStyle",h.VKq(14,k,o.backdrop?o.backdropBackgroundColor:"transparent")),h.xp6(1),h.Q6J("ngComponentOutlet",o.entryComponent),h.xp6(1),h.Q6J("ngIf",o.spinner===o.spinkit.skCubeGrid),h.xp6(1),h.Q6J("ngIf",o.spinner===o.spinkit.skChasingDots),h.xp6(1),h.Q6J("ngIf",o.spinner===o.spinkit.skDoubleBounce),h.xp6(1),h.Q6J("ngIf",o.spinner===o.spinkit.skRotatingPlane),h.xp6(1),h.Q6J("ngIf",o.spinner===o.spinkit.skSpinnerPulse),h.xp6(1),h.Q6J("ngIf",o.spinner===o.spinkit.skThreeBounce),h.xp6(1),h.Q6J("ngIf",o.spinner===o.spinkit.skWanderingCubes),h.xp6(1),h.Q6J("ngIf",o.spinner===o.spinkit.skWave)}}let he=(()=>{class y{}return y.\u0275fac=function(o){return new(o||y)},y.\u0275dir=h.lG2({type:y,inputs:{backgroundColor:"backgroundColor"}}),y})(),ie=(()=>{class y extends he{}return y.\u0275fac=function(){let a;return function(p){return(a||(a=h.n5z(y)))(p||y)}}(),y.\u0275cmp=h.Xpm({type:y,selectors:[["sk-chasing-dots"]],features:[h.qOj],decls:3,vars:6,consts:[[1,"sk-chasing-dots"],[1,"sk-child","sk-dot1"],[1,"sk-child","sk-dot2"]],template:function(o,p){1&o&&(h.TgZ(0,"div",0),h._UZ(1,"div",1)(2,"div",2),h.qZA()),2&o&&(h.ekj("colored",!p.backgroundColor),h.xp6(1),h.Udp("background-color",p.backgroundColor),h.xp6(1),h.Udp("background-color",p.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)}}"]}),y})(),Se=(()=>{class y extends he{}return y.\u0275fac=function(){let a;return function(p){return(a||(a=h.n5z(y)))(p||y)}}(),y.\u0275cmp=h.Xpm({type:y,selectors:[["sk-cube-grid"]],features:[h.qOj],decls:10,vars:20,consts:[[1,"sk-cube-grid"],[1,"sk-cube","sk-cube1"],[1,"sk-cube","sk-cube2"],[1,"sk-cube","sk-cube3"],[1,"sk-cube","sk-cube4"],[1,"sk-cube","sk-cube5"],[1,"sk-cube","sk-cube6"],[1,"sk-cube","sk-cube7"],[1,"sk-cube","sk-cube8"],[1,"sk-cube","sk-cube9"]],template:function(o,p){1&o&&(h.TgZ(0,"div",0),h._UZ(1,"div",1)(2,"div",2)(3,"div",3)(4,"div",4)(5,"div",5)(6,"div",6)(7,"div",7)(8,"div",8)(9,"div",9),h.qZA()),2&o&&(h.ekj("colored",!p.backgroundColor),h.xp6(1),h.Udp("background-color",p.backgroundColor),h.xp6(1),h.Udp("background-color",p.backgroundColor),h.xp6(1),h.Udp("background-color",p.backgroundColor),h.xp6(1),h.Udp("background-color",p.backgroundColor),h.xp6(1),h.Udp("background-color",p.backgroundColor),h.xp6(1),h.Udp("background-color",p.backgroundColor),h.xp6(1),h.Udp("background-color",p.backgroundColor),h.xp6(1),h.Udp("background-color",p.backgroundColor),h.xp6(1),h.Udp("background-color",p.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:scaleZ(1)}35%{transform:scale3D(0,0,1)}}"]}),y})(),Qe=(()=>{class y extends he{}return y.\u0275fac=function(){let a;return function(p){return(a||(a=h.n5z(y)))(p||y)}}(),y.\u0275cmp=h.Xpm({type:y,selectors:[["sk-double-bounce"]],features:[h.qOj],decls:3,vars:6,consts:[[1,"sk-double-bounce"],[1,"sk-child","sk-double-bounce1"],[1,"sk-child","sk-double-bounce2"]],template:function(o,p){1&o&&(h.TgZ(0,"div",0),h._UZ(1,"div",1)(2,"div",2),h.qZA()),2&o&&(h.ekj("colored",!p.backgroundColor),h.xp6(1),h.Udp("background-color",p.backgroundColor),h.xp6(1),h.Udp("background-color",p.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)}}"]}),y})(),ct=(()=>{class y extends he{}return y.\u0275fac=function(){let a;return function(p){return(a||(a=h.n5z(y)))(p||y)}}(),y.\u0275cmp=h.Xpm({type:y,selectors:[["sk-rotating-plane"]],features:[h.qOj],decls:1,vars:2,consts:[[1,"sk-rotating-plane","colored-parent"]],template:function(o,p){1&o&&h._UZ(0,"div",0),2&o&&h.Udp("background-color",p.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)}}"]}),y})(),pt=(()=>{class y extends he{}return y.\u0275fac=function(){let a;return function(p){return(a||(a=h.n5z(y)))(p||y)}}(),y.\u0275cmp=h.Xpm({type:y,selectors:[["sk-spinner-pulse"]],features:[h.qOj],decls:1,vars:2,consts:[[1,"sk-spinner","sk-spinner-pulse","colored-parent"]],template:function(o,p){1&o&&h._UZ(0,"div",0),2&o&&h.Udp("background-color",p.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}}"]}),y})(),ze=(()=>{class y extends he{}return y.\u0275fac=function(){let a;return function(p){return(a||(a=h.n5z(y)))(p||y)}}(),y.\u0275cmp=h.Xpm({type:y,selectors:[["sk-three-bounce"]],features:[h.qOj],decls:4,vars:8,consts:[[1,"sk-three-bounce"],[1,"sk-child","sk-bounce1"],[1,"sk-child","sk-bounce2"],[1,"sk-child","sk-bounce3"]],template:function(o,p){1&o&&(h.TgZ(0,"div",0),h._UZ(1,"div",1)(2,"div",2)(3,"div",3),h.qZA()),2&o&&(h.ekj("colored",!p.backgroundColor),h.xp6(1),h.Udp("background-color",p.backgroundColor),h.xp6(1),h.Udp("background-color",p.backgroundColor),h.xp6(1),h.Udp("background-color",p.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)}}"]}),y})(),$t=(()=>{class y extends he{}return y.\u0275fac=function(){let a;return function(p){return(a||(a=h.n5z(y)))(p||y)}}(),y.\u0275cmp=h.Xpm({type:y,selectors:[["sk-wandering-cubes"]],features:[h.qOj],decls:3,vars:6,consts:[[1,"sk-wandering-cubes"],[1,"sk-cube","sk-cube1"],[1,"sk-cube","sk-cube2"]],template:function(o,p){1&o&&(h.TgZ(0,"div",0),h._UZ(1,"div",1)(2,"div",2),h.qZA()),2&o&&(h.ekj("colored",!p.backgroundColor),h.xp6(1),h.Udp("background-color",p.backgroundColor),h.xp6(1),h.Udp("background-color",p.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)}}"]}),y})(),hn=(()=>{class y extends he{}return y.\u0275fac=function(){let a;return function(p){return(a||(a=h.n5z(y)))(p||y)}}(),y.\u0275cmp=h.Xpm({type:y,selectors:[["sk-wave"]],features:[h.qOj],decls:6,vars:12,consts:[[1,"sk-wave"],[1,"sk-rect","sk-rect1"],[1,"sk-rect","sk-rect2"],[1,"sk-rect","sk-rect3"],[1,"sk-rect","sk-rect4"],[1,"sk-rect","sk-rect5"]],template:function(o,p){1&o&&(h.TgZ(0,"div",0),h._UZ(1,"div",1)(2,"div",2)(3,"div",3)(4,"div",4)(5,"div",5),h.qZA()),2&o&&(h.ekj("colored",!p.backgroundColor),h.xp6(1),h.Udp("background-color",p.backgroundColor),h.xp6(1),h.Udp("background-color",p.backgroundColor),h.xp6(1),h.Udp("background-color",p.backgroundColor),h.xp6(1),h.Udp("background-color",p.backgroundColor),h.xp6(1),h.Udp("background-color",p.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)}}"]}),y})();const Ae={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 X=(()=>{class y{constructor(){this._pendingRequests=0,this._pendingRequestsStatus$=new de.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(o){this._filteredMethods=o}set filteredHeaders(o){this._filteredHeaders=o}set forceByPass(o){this._forceByPass=o}shouldBypassUrl(o){return this._filteredUrlPatterns.some(p=>p.test(o))}shouldBypassMethod(o){return this._filteredMethods.some(p=>p.toUpperCase()===o.method.toUpperCase())}shouldBypassHeader(o){return this._filteredHeaders.some(p=>o.headers.has(p))}shouldBypass(o){return this._forceByPass||this.shouldBypassUrl(o.urlWithParams)||this.shouldBypassMethod(o)||this.shouldBypassHeader(o)}intercept(o,p){const w=this.shouldBypass(o);return w||(this._pendingRequests++,1===this._pendingRequests&&this._pendingRequestsStatus$.next(!0)),p.handle(o).pipe((0,te.x)(()=>{w||(this._pendingRequests--,0===this._pendingRequests&&this._pendingRequestsStatus$.next(!1))}))}}return y.\u0275fac=function(o){return new(o||y)},y.\u0275prov=h.Yz7({token:y,factory:y.\u0275fac,providedIn:"root"}),y})();const ge=[{provide:ae.TP,useExisting:X,multi:!0}];let He=(()=>{class y{constructor(o){this.pendingRequestsInterceptor=o,this._visibility$=new de.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 y.\u0275fac=function(o){return new(o||y)(h.LFG(X))},y.\u0275prov=h.Yz7({token:y,factory:y.\u0275fac,providedIn:"root"}),y})(),vt=(()=>{class y{constructor(o,p){this.pendingRequestsInterceptor=o,this.spinnerVisibility=p,this.spinkit=Ae,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=Ae.skWave}ngOnInit(){this.initIsvisibleObservable(),this.nullifySpinnerIfEntryComponentIsDefined(),this.initFilters()}initIsvisibleObservable(){const[o,p]=function ue(y,a,o){return[(0,ee.h)(a,o)((0,J.Xf)(y)),(0,ee.h)($(a,o))((0,J.Xf)(y))]}(this.pendingRequestsInterceptor.pendingRequestsStatus$,w=>w);this.isVisible$=(0,pe.T)(this.pendingRequestsInterceptor.pendingRequestsStatus$.pipe((0,Z.w)(()=>o.pipe(Oe(()=>(0,ne.H)(this.debounceDelay))))),o.pipe((0,Z.w)(()=>p.pipe(Oe(()=>this.getVisibilityTimer$())))),this.spinnerVisibility.visibility$).pipe((0,ce.x)(),(0,Ne.b)(w=>this.updateExpirationDelay(w)))}nullifySpinnerIfEntryComponentIsDefined(){this.entryComponent&&(this.spinner=null)}initFilters(){this.initFilteredUrlPatterns(),this.initFilteredMethods(),this.initFilteredHeaders()}initFilteredUrlPatterns(){this.filteredUrlPatterns.length&&this.filteredUrlPatterns.forEach(o=>this.pendingRequestsInterceptor.filteredUrlPatterns.push(new RegExp(o)))}initFilteredMethods(){this.pendingRequestsInterceptor.filteredMethods=this.filteredMethods}initFilteredHeaders(){this.pendingRequestsInterceptor.filteredHeaders=this.filteredHeaders}updateExpirationDelay(o){o&&(this.visibleUntil=Date.now()+this.minDuration)}getVisibilityTimer$(){return(0,ne.H)(Math.max(this.extraDuration,this.visibleUntil-Date.now()))}}return y.\u0275fac=function(o){return new(o||y)(h.Y36(X),h.Y36(He))},y.\u0275cmp=h.Xpm({type:y,selectors:[["ng-http-loader"]],inputs:{backdrop:"backdrop",backgroundColor:"backgroundColor",debounceDelay:"debounceDelay",entryComponent:"entryComponent",extraDuration:"extraDuration",filteredHeaders:"filteredHeaders",filteredMethods:"filteredMethods",filteredUrlPatterns:"filteredUrlPatterns",minDuration:"minDuration",opacity:"opacity",backdropBackgroundColor:"backdropBackgroundColor",spinner:"spinner"},decls:2,vars:3,consts:[["id","spinner",3,"backdrop","opacity","ngStyle",4,"ngIf"],["id","spinner",3,"ngStyle"],[4,"ngComponentOutlet"],[3,"backgroundColor",4,"ngIf"],[3,"backgroundColor"]],template:function(o,p){1&o&&(h.YNc(0,G,10,16,"div",0),h.ALo(1,"async")),2&o&&h.Q6J("ngIf",h.lcZ(1,1,p.isVisible$))},dependencies:[Le.$G,Le.O5,Le.PC,Se,ie,Qe,ct,pt,ze,$t,hn,Le.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}"]}),y})(),sn=(()=>{class y{static forRoot(){return{ngModule:y,providers:[ge]}}}return y.\u0275fac=function(o){return new(o||y)},y.\u0275mod=h.oAB({type:y}),y.\u0275inj=h.cJS({imports:[Le.ez]}),y})();var In=b(1318),Pn=b(8002),Jt=b(8252);const Dn=[{path:"",loadChildren:()=>Promise.all([b.e(6),b.e(592),b.e(22)]).then(b.bind(b,22)).then(y=>y.LoginModule)},{path:"menu",loadChildren:()=>Promise.all([b.e(6),b.e(466)]).then(b.bind(b,3466)).then(y=>y.MenuModule)},{path:"**",redirectTo:"",pathMatch:"full"}];let Rn=(()=>{class y{}return y.\u0275fac=function(o){return new(o||y)},y.\u0275mod=h.oAB({type:y}),y.\u0275inj=h.cJS({imports:[Jt.Bz.forRoot(Dn,{relativeLinkResolution:"legacy"}),Jt.Bz]}),y})();var xn=b(4004),st=b(5577);let Kn=(()=>{class y{constructor(o,p,w){this._router=o,this.titleService=p,this.activatedRoute=w}ngOnInit(){this.overrideDateToJsonFunction(),this._router.events.pipe((0,ee.h)(o=>o instanceof Jt.m2)).pipe((0,xn.U)(()=>this.activatedRoute),(0,xn.U)(o=>{for(;o.firstChild;)o=o.firstChild;return o}),(0,ee.h)(o=>"primary"===o.outlet),(0,st.z)(o=>o.data)).subscribe(o=>{let p=" | Marketplace";"Dealpos x Marketplace"==o.title&&(p=""),this.titleService.setTitle(o.title+p)})}overrideDateToJsonFunction(){function o(p){return p<10?"0"+p:p}Date.prototype.toJSON=function(){return this.getFullYear()+"-"+o(this.getMonth()+1)+"-"+o(this.getDate())+"T"+o(this.getHours())+":"+o(this.getMinutes())+":"+o(this.getSeconds())+".000"}}}return y.\u0275fac=function(o){return new(o||y)(h.Y36(Jt.F0),h.Y36(D.Dx),h.Y36(Jt.gz))},y.\u0275cmp=h.Xpm({type:y,selectors:[["app-root"]],decls:2,vars:0,template:function(o,p){1&o&&h._UZ(0,"router-outlet")(1,"ng-http-loader")},dependencies:[Jt.lC,vt]}),y})();var tt=b(7340);function sr(y){return new h.vHH(3e3,!1)}function L(){return typeof window<"u"&&typeof window.document<"u"}function x(){return typeof process<"u"&&"[object process]"==={}.toString.call(process)}function K(y){switch(y.length){case 0:return new tt.ZN;case 1:return y[0];default:return new tt.ZE(y)}}function Me(y,a,o,p,w=new Map,A=new Map){const j=[],B=[];let le=-1,Te=null;if(p.forEach(Ke=>{const Ze=Ke.get("offset"),Et=Ze==le,d=Et&&Te||new Map;Ke.forEach((c,u)=>{let m=u,C=c;if("offset"!==u)switch(m=a.normalizePropertyName(m,j),C){case tt.k1:C=w.get(u);break;case tt.l3:C=A.get(u);break;default:C=a.normalizeStyleValue(u,m,C,j)}d.set(m,C)}),Et||B.push(d),Te=d,le=Ze}),j.length)throw function gr(y){return new h.vHH(3502,!1)}();return B}function Ge(y,a,o,p){switch(a){case"start":y.onStart(()=>p(o&&Dt(o,"start",y)));break;case"done":y.onDone(()=>p(o&&Dt(o,"done",y)));break;case"destroy":y.onDestroy(()=>p(o&&Dt(o,"destroy",y)))}}function Dt(y,a,o){const A=jt(y.element,y.triggerName,y.fromState,y.toState,a||y.phaseName,o.totalTime??y.totalTime,!!o.disabled),j=y._data;return null!=j&&(A._data=j),A}function jt(y,a,o,p,w="",A=0,j){return{element:y,triggerName:a,fromState:o,toState:p,phaseName:w,totalTime:A,disabled:!!j}}function qe(y,a,o){let p=y.get(a);return p||y.set(a,p=o),p}function or(y){const a=y.indexOf(":");return[y.substring(1,a),y.slice(a+1)]}let ar=(y,a)=>!1,Sr=(y,a,o)=>[],Nn=null;function rn(y){const a=y.parentNode||y.host;return a===Nn?null:a}(x()||typeof Element<"u")&&(L()?(Nn=(()=>document.documentElement)(),ar=(y,a)=>{for(;a;){if(a===y)return!0;a=rn(a)}return!1}):ar=(y,a)=>y.contains(a),Sr=(y,a,o)=>{if(o)return Array.from(y.querySelectorAll(a));const p=y.querySelector(a);return p?[p]:[]});let Xt=null,ur=!1;const Fn=ar,kn=Sr;let cr=(()=>{class y{validateStyleProperty(o){return function Ds(y){Xt||(Xt=function Cs(){return typeof document<"u"?document.body:null}()||{},ur=!!Xt.style&&"WebkitAppearance"in Xt.style);let a=!0;return Xt.style&&!function lr(y){return"ebkit"==y.substring(1,6)}(y)&&(a=y in Xt.style,!a&&ur&&(a="Webkit"+y.charAt(0).toUpperCase()+y.slice(1)in Xt.style)),a}(o)}matchesElement(o,p){return!1}containsElement(o,p){return Fn(o,p)}getParentElement(o){return rn(o)}query(o,p,w){return kn(o,p,w)}computeStyle(o,p,w){return w||""}animate(o,p,w,A,j,B=[],le){return new tt.ZN(w,A)}}return y.\u0275fac=function(o){return new(o||y)},y.\u0275prov=h.Yz7({token:y,factory:y.\u0275fac}),y})(),Mr=(()=>{class y{}return y.NOOP=new cr,y})();const Qt="ng-enter",pn="ng-leave",qn="ng-trigger",Ln=".ng-trigger",Hn="ng-animating",cn=".ng-animating";function Zn(y){if("number"==typeof y)return y;const a=y.match(/^(-?[\.\d]+)(m?s)/);return!a||a.length<2?0:kr(parseFloat(a[1]),a[2])}function kr(y,a){return"s"===a?1e3*y:y}function Lr(y,a,o){return y.hasOwnProperty("duration")?y:function mi(y,a,o){let w,A=0,j="";if("string"==typeof y){const B=y.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===B)return a.push(sr()),{duration:0,delay:0,easing:""};w=kr(parseFloat(B[1]),B[2]);const le=B[3];null!=le&&(A=kr(parseFloat(le),B[4]));const Te=B[5];Te&&(j=Te)}else w=y;if(!o){let B=!1,le=a.length;w<0&&(a.push(function Zs(){return new h.vHH(3100,!1)}()),B=!0),A<0&&(a.push(function ut(){return new h.vHH(3101,!1)}()),B=!0),B&&a.splice(le,0,sr())}return{duration:w,delay:A,easing:j}}(y,a,o)}function Br(y,a={}){return Object.keys(y).forEach(o=>{a[o]=y[o]}),a}function jr(y){const a=new Map;return Object.keys(y).forEach(o=>{a.set(o,y[o])}),a}function dr(y,a=new Map,o){if(o)for(let[p,w]of o)a.set(p,w);for(let[p,w]of y)a.set(p,w);return a}function Js(y,a,o){return o?a+":"+o+";":""}function yi(y){let a="";for(let o=0;o<y.style.length;o++){const p=y.style.item(o);a+=Js(0,p,y.style.getPropertyValue(p))}for(const o in y.style)y.style.hasOwnProperty(o)&&!o.startsWith("_")&&(a+=Js(0,vi(o),y.style[o]));y.setAttribute("style",a)}function Bn(y,a,o){y.style&&(a.forEach((p,w)=>{const A=Ss(w);o&&!o.has(w)&&o.set(w,y.style[A]),y.style[A]=p}),x()&&yi(y))}function yr(y,a){y.style&&(a.forEach((o,p)=>{const w=Ss(p);y.style[w]=""}),x()&&yi(y))}function ns(y){return Array.isArray(y)?1==y.length?y[0]:(0,tt.vP)(y):y}const ws=new RegExp("{{\\s*(.+?)\\s*}}","g");function rs(y){let a=[];if("string"==typeof y){let o;for(;o=ws.exec(y);)a.push(o[1]);ws.lastIndex=0}return a}function bs(y,a,o){const p=y.toString(),w=p.replace(ws,(A,j)=>{let B=a[j];return null==B&&(o.push(function z(y){return new h.vHH(3003,!1)}()),B=""),B.toString()});return w==p?y:w}function fr(y){const a=[];let o=y.next();for(;!o.done;)a.push(o.value),o=y.next();return a}const Ts=/-+([a-z0-9])/g;function Ss(y){return y.replace(Ts,(...a)=>a[1].toUpperCase())}function vi(y){return y.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function gn(y,a,o){switch(a.type){case 7:return y.visitTrigger(a,o);case 0:return y.visitState(a,o);case 1:return y.visitTransition(a,o);case 2:return y.visitSequence(a,o);case 3:return y.visitGroup(a,o);case 4:return y.visitAnimate(a,o);case 5:return y.visitKeyframes(a,o);case 6:return y.visitStyle(a,o);case 8:return y.visitReference(a,o);case 9:return y.visitAnimateChild(a,o);case 10:return y.visitAnimateRef(a,o);case 11:return y.visitQuery(a,o);case 12:return y.visitStagger(a,o);default:throw function Y(y){return new h.vHH(3004,!1)}()}}function Ur(y,a){return window.getComputedStyle(y)[a]}function As(y,a){const o=[];return"string"==typeof y?y.split(/\s*,\s*/).forEach(p=>function Di(y,a,o){if(":"==y[0]){const le=function Vr(y,a){switch(y){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(o,p)=>parseFloat(p)>parseFloat(o);case":decrement":return(o,p)=>parseFloat(p)<parseFloat(o);default:return a.push(function nn(y){return new h.vHH(3016,!1)}()),"* => *"}}(y,o);if("function"==typeof le)return void a.push(le);y=le}const p=y.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==p||p.length<4)return o.push(function An(y){return new h.vHH(3015,!1)}()),a;const w=p[1],A=p[2],j=p[3];a.push(is(w,j));"<"==A[0]&&!("*"==w&&"*"==j)&&a.push(is(j,w))}(p,o,a)):o.push(y),o}const mn=new Set(["true","1"]),ss=new Set(["false","0"]);function is(y,a){const o=mn.has(y)||ss.has(y),p=mn.has(a)||ss.has(a);return(w,A)=>{let j="*"==y||y==w,B="*"==a||a==A;return!j&&o&&"boolean"==typeof w&&(j=w?mn.has(y):ss.has(y)),!B&&p&&"boolean"==typeof A&&(B=A?mn.has(a):ss.has(a)),j&&B}}const ti=new RegExp("s*:selfs*,?","g");function Jn(y,a,o,p){return new Xn(y).build(a,o,p)}class Xn{constructor(a){this._driver=a}build(a,o,p){const w=new bi(o);return this._resetContextStyleTimingState(w),gn(this,ns(a),w)}_resetContextStyleTimingState(a){a.currentQuerySelector="",a.collectedStyles=new Map,a.collectedStyles.set("",new Map),a.currentTime=0}visitTrigger(a,o){let p=o.queryCount=0,w=o.depCount=0;const A=[],j=[];return"@"==a.name.charAt(0)&&o.errors.push(function re(){return new h.vHH(3006,!1)}()),a.definitions.forEach(B=>{if(this._resetContextStyleTimingState(o),0==B.type){const le=B,Te=le.name;Te.toString().split(/\s*,\s*/).forEach(Ke=>{le.name=Ke,A.push(this.visitState(le,o))}),le.name=Te}else if(1==B.type){const le=this.visitTransition(B,o);p+=le.queryCount,w+=le.depCount,j.push(le)}else o.errors.push(function Be(){return new h.vHH(3007,!1)}())}),{type:7,name:a.name,states:A,transitions:j,queryCount:p,depCount:w,options:null}}visitState(a,o){const p=this.visitStyle(a.styles,o),w=a.options&&a.options.params||null;if(p.containsDynamicStyles){const A=new Set,j=w||{};p.styles.forEach(B=>{B instanceof Map&&B.forEach(le=>{rs(le).forEach(Te=>{j.hasOwnProperty(Te)||A.add(Te)})})}),A.size&&(fr(A.values()),o.errors.push(function Ft(y,a){return new h.vHH(3008,!1)}()))}return{type:0,name:a.name,style:p,options:w?{params:w}:null}}visitTransition(a,o){o.queryCount=0,o.depCount=0;const p=gn(this,ns(a.animation),o);return{type:1,matchers:As(a.expr,o.errors),animation:p,queryCount:o.queryCount,depCount:o.depCount,options:_(a.options)}}visitSequence(a,o){return{type:2,steps:a.steps.map(p=>gn(this,p,o)),options:_(a.options)}}visitGroup(a,o){const p=o.currentTime;let w=0;const A=a.steps.map(j=>{o.currentTime=p;const B=gn(this,j,o);return w=Math.max(w,o.currentTime),B});return o.currentTime=w,{type:3,steps:A,options:_(a.options)}}visitAnimate(a,o){const p=function M(y,a){if(y.hasOwnProperty("duration"))return y;if("number"==typeof y)return I(Lr(y,a).duration,0,"");const o=y;if(o.split(/\s+/).some(A=>"{"==A.charAt(0)&&"{"==A.charAt(1))){const A=I(0,0,"");return A.dynamic=!0,A.strValue=o,A}const w=Lr(o,a);return I(w.duration,w.delay,w.easing)}(a.timings,o.errors);o.currentAnimateTimings=p;let w,A=a.styles?a.styles:(0,tt.oB)({});if(5==A.type)w=this.visitKeyframes(A,o);else{let j=a.styles,B=!1;if(!j){B=!0;const Te={};p.easing&&(Te.easing=p.easing),j=(0,tt.oB)(Te)}o.currentTime+=p.duration+p.delay;const le=this.visitStyle(j,o);le.isEmptyStep=B,w=le}return o.currentAnimateTimings=null,{type:4,timings:p,style:w,options:null}}visitStyle(a,o){const p=this._makeStyleAst(a,o);return this._validateStyleAst(p,o),p}_makeStyleAst(a,o){const p=[],w=Array.isArray(a.styles)?a.styles:[a.styles];for(let B of w)"string"==typeof B?B===tt.l3?p.push(B):o.errors.push(new h.vHH(3002,!1)):p.push(jr(B));let A=!1,j=null;return p.forEach(B=>{if(B instanceof Map&&(B.has("easing")&&(j=B.get("easing"),B.delete("easing")),!A))for(let le of B.values())if(le.toString().indexOf("{{")>=0){A=!0;break}}),{type:6,styles:p,easing:j,offset:a.offset,containsDynamicStyles:A,options:null}}_validateStyleAst(a,o){const p=o.currentAnimateTimings;let w=o.currentTime,A=o.currentTime;p&&A>0&&(A-=p.duration+p.delay),a.styles.forEach(j=>{"string"!=typeof j&&j.forEach((B,le)=>{const Te=o.collectedStyles.get(o.currentQuerySelector),Ke=Te.get(le);let Ze=!0;Ke&&(A!=w&&A>=Ke.startTime&&w<=Ke.endTime&&(o.errors.push(function Lt(y,a,o,p,w){return new h.vHH(3010,!1)}()),Ze=!1),A=Ke.startTime),Ze&&Te.set(le,{startTime:A,endTime:w}),o.options&&function Qi(y,a,o){const p=a.params||{},w=rs(y);w.length&&w.forEach(A=>{p.hasOwnProperty(A)||o.push(function Ee(y){return new h.vHH(3001,!1)}())})}(B,o.options,o.errors)})})}visitKeyframes(a,o){const p={type:5,styles:[],options:null};if(!o.currentAnimateTimings)return o.errors.push(function Wt(){return new h.vHH(3011,!1)}()),p;let A=0;const j=[];let B=!1,le=!1,Te=0;const Ke=a.steps.map(C=>{const S=this._makeStyleAst(C,o);let R=null!=S.offset?S.offset:function v(y){if("string"==typeof y)return null;let a=null;if(Array.isArray(y))y.forEach(o=>{if(o instanceof Map&&o.has("offset")){const p=o;a=parseFloat(p.get("offset")),p.delete("offset")}});else if(y instanceof Map&&y.has("offset")){const o=y;a=parseFloat(o.get("offset")),o.delete("offset")}return a}(S.styles),N=0;return null!=R&&(A++,N=S.offset=R),le=le||N<0||N>1,B=B||N<Te,Te=N,j.push(N),S});le&&o.errors.push(function Cn(){return new h.vHH(3012,!1)}()),B&&o.errors.push(function it(){return new h.vHH(3200,!1)}());const Ze=a.steps.length;let Et=0;A>0&&A<Ze?o.errors.push(function yt(){return new h.vHH(3202,!1)}()):0==A&&(Et=1/(Ze-1));const d=Ze-1,c=o.currentTime,u=o.currentAnimateTimings,m=u.duration;return Ke.forEach((C,S)=>{const R=Et>0?S==d?1:Et*S:j[S],N=R*m;o.currentTime=c+u.delay+N,u.duration=N,this._validateStyleAst(C,o),C.offset=R,p.styles.push(C)}),p}visitReference(a,o){return{type:8,animation:gn(this,ns(a.animation),o),options:_(a.options)}}visitAnimateChild(a,o){return o.depCount++,{type:9,options:_(a.options)}}visitAnimateRef(a,o){return{type:10,animation:this.visitReference(a.animation,o),options:_(a.options)}}visitQuery(a,o){const p=o.currentQuerySelector,w=a.options||{};o.queryCount++,o.currentQuery=a;const[A,j]=function Ei(y){const a=!!y.split(/\s*,\s*/).find(o=>":self"==o);return a&&(y=y.replace(ti,"")),y=y.replace(/@\*/g,Ln).replace(/@\w+/g,o=>Ln+"-"+o.slice(1)).replace(/:animating/g,cn),[y,a]}(a.selector);o.currentQuerySelector=p.length?p+" "+A:A,qe(o.collectedStyles,o.currentQuerySelector,new Map);const B=gn(this,ns(a.animation),o);return o.currentQuery=null,o.currentQuerySelector=p,{type:11,selector:A,limit:w.limit||0,optional:!!w.optional,includeSelf:j,animation:B,originalSelector:a.selector,options:_(a.options)}}visitStagger(a,o){o.currentQuery||o.errors.push(function ot(){return new h.vHH(3013,!1)}());const p="full"===a.timings?{duration:0,delay:0,easing:"full"}:Lr(a.timings,o.errors,!0);return{type:12,animation:gn(this,ns(a.animation),o),timings:p,options:null}}}class bi{constructor(a){this.errors=a,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles=new Map,this.options=null,this.unsupportedCSSPropertiesFound=new Set,this.nonAnimatableCSSPropertiesFound=new Set}}function _(y){return y?(y=Br(y)).params&&(y.params=function wi(y){return y?Br(y):null}(y.params)):y={},y}function I(y,a,o){return{duration:y,delay:a,easing:o}}function U(y,a,o,p,w,A,j=null,B=!1){return{type:1,element:y,keyframes:a,preStyleProps:o,postStyleProps:p,duration:w,delay:A,totalTime:w+A,easing:j,subTimeline:B}}class ve{constructor(){this._map=new Map}get(a){return this._map.get(a)||[]}append(a,o){let p=this._map.get(a);p||this._map.set(a,p=[]),p.push(...o)}has(a){return this._map.has(a)}clear(){this._map.clear()}}const Tt=new RegExp(":enter","g"),xt=new RegExp(":leave","g");function Mt(y,a,o,p,w,A=new Map,j=new Map,B,le,Te=[]){return(new Ht).buildKeyframes(y,a,o,p,w,A,j,B,le,Te)}class Ht{buildKeyframes(a,o,p,w,A,j,B,le,Te,Ke=[]){Te=Te||new ve;const Ze=new qt(a,o,Te,w,A,Ke,[]);Ze.options=le;const Et=le.delay?Zn(le.delay):0;Ze.currentTimeline.delayNextStep(Et),Ze.currentTimeline.setStyles([j],null,Ze.errors,le),gn(this,p,Ze);const d=Ze.timelines.filter(c=>c.containsAnimation());if(d.length&&B.size){let c;for(let u=d.length-1;u>=0;u--){const m=d[u];if(m.element===o){c=m;break}}c&&!c.allowOnlyTimelineStyles()&&c.setStyles([B],null,Ze.errors,le)}return d.length?d.map(c=>c.buildKeyframes()):[U(o,[],[],[],0,Et,"",!1)]}visitTrigger(a,o){}visitState(a,o){}visitTransition(a,o){}visitAnimateChild(a,o){const p=o.subInstructions.get(o.element);if(p){const w=o.createSubContext(a.options),A=o.currentTimeline.currentTime,j=this._visitSubInstructions(p,w,w.options);A!=j&&o.transformIntoNewTimeline(j)}o.previousNode=a}visitAnimateRef(a,o){const p=o.createSubContext(a.options);p.transformIntoNewTimeline(),this.visitReference(a.animation,p),o.transformIntoNewTimeline(p.currentTimeline.currentTime),o.previousNode=a}_visitSubInstructions(a,o,p){let A=o.currentTimeline.currentTime;const j=null!=p.duration?Zn(p.duration):null,B=null!=p.delay?Zn(p.delay):null;return 0!==j&&a.forEach(le=>{const Te=o.appendInstructionToTimeline(le,j,B);A=Math.max(A,Te.duration+Te.delay)}),A}visitReference(a,o){o.updateOptions(a.options,!0),gn(this,a.animation,o),o.previousNode=a}visitSequence(a,o){const p=o.subContextCount;let w=o;const A=a.options;if(A&&(A.params||A.delay)&&(w=o.createSubContext(A),w.transformIntoNewTimeline(),null!=A.delay)){6==w.previousNode.type&&(w.currentTimeline.snapshotCurrentStyles(),w.previousNode=Rt);const j=Zn(A.delay);w.delayNextStep(j)}a.steps.length&&(a.steps.forEach(j=>gn(this,j,w)),w.currentTimeline.applyStylesToKeyframe(),w.subContextCount>p&&w.transformIntoNewTimeline()),o.previousNode=a}visitGroup(a,o){const p=[];let w=o.currentTimeline.currentTime;const A=a.options&&a.options.delay?Zn(a.options.delay):0;a.steps.forEach(j=>{const B=o.createSubContext(a.options);A&&B.delayNextStep(A),gn(this,j,B),w=Math.max(w,B.currentTimeline.currentTime),p.push(B.currentTimeline)}),p.forEach(j=>o.currentTimeline.mergeTimelineCollectedStyles(j)),o.transformIntoNewTimeline(w),o.previousNode=a}_visitTiming(a,o){if(a.dynamic){const p=a.strValue;return Lr(o.params?bs(p,o.params,o.errors):p,o.errors)}return{duration:a.duration,delay:a.delay,easing:a.easing}}visitAnimate(a,o){const p=o.currentAnimateTimings=this._visitTiming(a.timings,o),w=o.currentTimeline;p.delay&&(o.incrementTime(p.delay),w.snapshotCurrentStyles());const A=a.style;5==A.type?this.visitKeyframes(A,o):(o.incrementTime(p.duration),this.visitStyle(A,o),w.applyStylesToKeyframe()),o.currentAnimateTimings=null,o.previousNode=a}visitStyle(a,o){const p=o.currentTimeline,w=o.currentAnimateTimings;!w&&p.hasCurrentStyleProperties()&&p.forwardFrame();const A=w&&w.easing||a.easing;a.isEmptyStep?p.applyEmptyStep(A):p.setStyles(a.styles,A,o.errors,o.options),o.previousNode=a}visitKeyframes(a,o){const p=o.currentAnimateTimings,w=o.currentTimeline.duration,A=p.duration,B=o.createSubContext().currentTimeline;B.easing=p.easing,a.styles.forEach(le=>{B.forwardTime((le.offset||0)*A),B.setStyles(le.styles,le.easing,o.errors,o.options),B.applyStylesToKeyframe()}),o.currentTimeline.mergeTimelineCollectedStyles(B),o.transformIntoNewTimeline(w+A),o.previousNode=a}visitQuery(a,o){const p=o.currentTimeline.currentTime,w=a.options||{},A=w.delay?Zn(w.delay):0;A&&(6===o.previousNode.type||0==p&&o.currentTimeline.hasCurrentStyleProperties())&&(o.currentTimeline.snapshotCurrentStyles(),o.previousNode=Rt);let j=p;const B=o.invokeQuery(a.selector,a.originalSelector,a.limit,a.includeSelf,!!w.optional,o.errors);o.currentQueryTotal=B.length;let le=null;B.forEach((Te,Ke)=>{o.currentQueryIndex=Ke;const Ze=o.createSubContext(a.options,Te);A&&Ze.delayNextStep(A),Te===o.element&&(le=Ze.currentTimeline),gn(this,a.animation,Ze),Ze.currentTimeline.applyStylesToKeyframe(),j=Math.max(j,Ze.currentTimeline.currentTime)}),o.currentQueryIndex=0,o.currentQueryTotal=0,o.transformIntoNewTimeline(j),le&&(o.currentTimeline.mergeTimelineCollectedStyles(le),o.currentTimeline.snapshotCurrentStyles()),o.previousNode=a}visitStagger(a,o){const p=o.parentContext,w=o.currentTimeline,A=a.timings,j=Math.abs(A.duration),B=j*(o.currentQueryTotal-1);let le=j*o.currentQueryIndex;switch(A.duration<0?"reverse":A.easing){case"reverse":le=B-le;break;case"full":le=p.currentStaggerTime}const Ke=o.currentTimeline;le&&Ke.delayNextStep(le);const Ze=Ke.currentTime;gn(this,a.animation,o),o.previousNode=a,p.currentStaggerTime=w.currentTime-Ze+(w.startTime-p.currentTimeline.startTime)}}const Rt={};class qt{constructor(a,o,p,w,A,j,B,le){this._driver=a,this.element=o,this.subInstructions=p,this._enterClassName=w,this._leaveClassName=A,this.errors=j,this.timelines=B,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=Rt,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=le||new rt(this._driver,o,0),B.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(a,o){if(!a)return;const p=a;let w=this.options;null!=p.duration&&(w.duration=Zn(p.duration)),null!=p.delay&&(w.delay=Zn(p.delay));const A=p.params;if(A){let j=w.params;j||(j=this.options.params={}),Object.keys(A).forEach(B=>{(!o||!j.hasOwnProperty(B))&&(j[B]=bs(A[B],j,this.errors))})}}_copyOptions(){const a={};if(this.options){const o=this.options.params;if(o){const p=a.params={};Object.keys(o).forEach(w=>{p[w]=o[w]})}}return a}createSubContext(a=null,o,p){const w=o||this.element,A=new qt(this._driver,w,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(w,p||0));return A.previousNode=this.previousNode,A.currentAnimateTimings=this.currentAnimateTimings,A.options=this._copyOptions(),A.updateOptions(a),A.currentQueryIndex=this.currentQueryIndex,A.currentQueryTotal=this.currentQueryTotal,A.parentContext=this,this.subContextCount++,A}transformIntoNewTimeline(a){return this.previousNode=Rt,this.currentTimeline=this.currentTimeline.fork(this.element,a),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(a,o,p){const w={duration:o??a.duration,delay:this.currentTimeline.currentTime+(p??0)+a.delay,easing:""},A=new er(this._driver,a.element,a.keyframes,a.preStyleProps,a.postStyleProps,w,a.stretchStartingKeyframe);return this.timelines.push(A),w}incrementTime(a){this.currentTimeline.forwardTime(this.currentTimeline.duration+a)}delayNextStep(a){a>0&&this.currentTimeline.delayNextStep(a)}invokeQuery(a,o,p,w,A,j){let B=[];if(w&&B.push(this.element),a.length>0){a=(a=a.replace(Tt,"."+this._enterClassName)).replace(xt,"."+this._leaveClassName);let Te=this._driver.query(this.element,a,1!=p);0!==p&&(Te=p<0?Te.slice(Te.length+p,Te.length):Te.slice(0,p)),B.push(...Te)}return!A&&0==B.length&&j.push(function Yn(y){return new h.vHH(3014,!1)}()),B}}class rt{constructor(a,o,p,w){this._driver=a,this.element=o,this.startTime=p,this._elementTimelineStylesLookup=w,this.duration=0,this._previousKeyframe=new Map,this._currentKeyframe=new Map,this._keyframes=new Map,this._styleSummary=new Map,this._localTimelineStyles=new Map,this._pendingStyles=new Map,this._backFill=new Map,this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(o),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(o,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.hasCurrentStyleProperties();default:return!0}}hasCurrentStyleProperties(){return this._currentKeyframe.size>0}get currentTime(){return this.startTime+this.duration}delayNextStep(a){const o=1===this._keyframes.size&&this._pendingStyles.size;this.duration||o?(this.forwardTime(this.currentTime+a),o&&this.snapshotCurrentStyles()):this.startTime+=a}fork(a,o){return this.applyStylesToKeyframe(),new rt(this._driver,a,o||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=new Map,this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(a){this.applyStylesToKeyframe(),this.duration=a,this._loadKeyframe()}_updateStyle(a,o){this._localTimelineStyles.set(a,o),this._globalTimelineStyles.set(a,o),this._styleSummary.set(a,{time:this.currentTime,value:o})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(a){a&&this._previousKeyframe.set("easing",a);for(let[o,p]of this._globalTimelineStyles)this._backFill.set(o,p||tt.l3),this._currentKeyframe.set(o,tt.l3);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(a,o,p,w){o&&this._previousKeyframe.set("easing",o);const A=w&&w.params||{},j=function Ar(y,a){const o=new Map;let p;return y.forEach(w=>{if("*"===w){p=p||a.keys();for(let A of p)o.set(A,tt.l3)}else dr(w,o)}),o}(a,this._globalTimelineStyles);for(let[B,le]of j){const Te=bs(le,A,p);this._pendingStyles.set(B,Te),this._localTimelineStyles.has(B)||this._backFill.set(B,this._globalTimelineStyles.get(B)||tt.l3),this._updateStyle(B,Te)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach((a,o)=>{this._currentKeyframe.set(o,a)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((a,o)=>{this._currentKeyframe.has(o)||this._currentKeyframe.set(o,a)}))}snapshotCurrentStyles(){for(let[a,o]of this._localTimelineStyles)this._pendingStyles.set(a,o),this._updateStyle(a,o)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const a=[];for(let o in this._currentKeyframe)a.push(o);return a}mergeTimelineCollectedStyles(a){a._styleSummary.forEach((o,p)=>{const w=this._styleSummary.get(p);(!w||o.time>w.time)&&this._updateStyle(p,o.value)})}buildKeyframes(){this.applyStylesToKeyframe();const a=new Set,o=new Set,p=1===this._keyframes.size&&0===this.duration;let w=[];this._keyframes.forEach((B,le)=>{const Te=dr(B,new Map,this._backFill);Te.forEach((Ke,Ze)=>{Ke===tt.k1?a.add(Ze):Ke===tt.l3&&o.add(Ze)}),p||Te.set("offset",le/this.duration),w.push(Te)});const A=a.size?fr(a.values()):[],j=o.size?fr(o.values()):[];if(p){const B=w[0],le=new Map(B);B.set("offset",0),le.set("offset",1),w=[B,le]}return U(this.element,w,A,j,this.duration,this.startTime,this.easing,!1)}}class er extends rt{constructor(a,o,p,w,A,j,B=!1){super(a,o,j.delay),this.keyframes=p,this.preStyleProps=w,this.postStyleProps=A,this._stretchStartingKeyframe=B,this.timings={duration:j.duration,delay:j.delay,easing:j.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let a=this.keyframes,{delay:o,duration:p,easing:w}=this.timings;if(this._stretchStartingKeyframe&&o){const A=[],j=p+o,B=o/j,le=dr(a[0]);le.set("offset",0),A.push(le);const Te=dr(a[0]);Te.set("offset",os(B)),A.push(Te);const Ke=a.length-1;for(let Ze=1;Ze<=Ke;Ze++){let Et=dr(a[Ze]);const d=Et.get("offset");Et.set("offset",os((o+d*p)/j)),A.push(Et)}p=j,o=0,w="",a=A}return U(this.element,a,this.preStyleProps,this.postStyleProps,p,o,w,!0)}}function os(y,a=3){const o=Math.pow(10,a-1);return Math.round(y*o)/o}class $r{}const Si=new Set(["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"]);class Vo extends $r{normalizePropertyName(a,o){return Ss(a)}normalizeStyleValue(a,o,p,w){let A="";const j=p.toString().trim();if(Si.has(o)&&0!==p&&"0"!==p)if("number"==typeof p)A="px";else{const B=p.match(/^[+-]?[\d\.]+([a-z]*)$/);B&&0==B[1].length&&w.push(function be(y,a){return new h.vHH(3005,!1)}())}return j+A}}function Pe(y,a,o,p,w,A,j,B,le,Te,Ke,Ze,Et){return{type:0,element:y,triggerName:a,isRemovalTransition:w,fromState:o,fromStyles:A,toState:p,toStyles:j,timelines:B,queriedElements:le,preStyleProps:Te,postStyleProps:Ke,totalTime:Ze,errors:Et}}const bt={};class Mi{constructor(a,o,p){this._triggerName=a,this.ast=o,this._stateStyles=p}match(a,o,p,w){return function Zi(y,a,o,p,w){return y.some(A=>A(a,o,p,w))}(this.ast.matchers,a,o,p,w)}buildStyles(a,o,p){let w=this._stateStyles.get("*");return void 0!==a&&(w=this._stateStyles.get(a?.toString())||w),w?w.buildStyles(o,p):new Map}build(a,o,p,w,A,j,B,le,Te,Ke){const Ze=[],Et=this.ast.options&&this.ast.options.params||bt,c=this.buildStyles(p,B&&B.params||bt,Ze),u=le&&le.params||bt,m=this.buildStyles(w,u,Ze),C=new Set,S=new Map,R=new Map,N="void"===w,De={params:Zt(u,Et),delay:this.ast.options?.delay},ke=Ke?[]:Mt(a,o,this.ast.animation,A,j,c,m,De,Te,Ze);let at=0;if(ke.forEach(Pt=>{at=Math.max(Pt.duration+Pt.delay,at)}),Ze.length)return Pe(o,this._triggerName,p,w,N,c,m,[],[],S,R,at,Ze);ke.forEach(Pt=>{const Ot=Pt.element,St=qe(S,Ot,new Set);Pt.preStyleProps.forEach(xr=>St.add(xr));const Cr=qe(R,Ot,new Set);Pt.postStyleProps.forEach(xr=>Cr.add(xr)),Ot!==o&&C.add(Ot)});const $e=fr(C.values());return Pe(o,this._triggerName,p,w,N,c,m,ke,$e,S,R,at)}}function Zt(y,a){const o=Br(a);for(const p in y)y.hasOwnProperty(p)&&null!=y[p]&&(o[p]=y[p]);return o}class as{constructor(a,o,p){this.styles=a,this.defaultParams=o,this.normalizer=p}buildStyles(a,o){const p=new Map,w=Br(this.defaultParams);return Object.keys(a).forEach(A=>{const j=a[A];null!==j&&(w[A]=j)}),this.styles.styles.forEach(A=>{"string"!=typeof A&&A.forEach((j,B)=>{j&&(j=bs(j,w,o));const le=this.normalizer.normalizePropertyName(B,o);j=this.normalizer.normalizeStyleValue(B,le,j,o),p.set(le,j)})}),p}}class hr{constructor(a,o,p){this.name=a,this.ast=o,this._normalizer=p,this.transitionFactories=[],this.states=new Map,o.states.forEach(w=>{this.states.set(w.name,new as(w.style,w.options&&w.options.params||{},p))}),ri(this.states,"true","1"),ri(this.states,"false","0"),o.transitions.forEach(w=>{this.transitionFactories.push(new Mi(a,w,this.states))}),this.fallbackTransition=function zr(y,a,o){return new Mi(y,{type:1,animation:{type:2,steps:[],options:null},matchers:[(j,B)=>!0],options:null,queryCount:0,depCount:0},a)}(a,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(a,o,p,w){return this.transitionFactories.find(j=>j.match(a,o,p,w))||null}matchStyles(a,o,p){return this.fallbackTransition.buildStyles(a,o,p)}}function ri(y,a,o){y.has(a)?y.has(o)||y.set(o,y.get(a)):y.has(o)&&y.set(a,y.get(o))}const Ma=new ve;class $o{constructor(a,o,p){this.bodyNode=a,this._driver=o,this._normalizer=p,this._animations=new Map,this._playersById=new Map,this.players=[]}register(a,o){const p=[],A=Jn(this._driver,o,p,[]);if(p.length)throw function mr(y){return new h.vHH(3503,!1)}();this._animations.set(a,A)}_buildPlayer(a,o,p){const w=a.element,A=Me(0,this._normalizer,0,a.keyframes,o,p);return this._driver.animate(w,A,a.duration,a.delay,a.easing,[],!0)}create(a,o,p={}){const w=[],A=this._animations.get(a);let j;const B=new Map;if(A?(j=Mt(this._driver,o,A,Qt,pn,new Map,new Map,p,Ma,w),j.forEach(Ke=>{const Ze=qe(B,Ke.element,new Map);Ke.postStyleProps.forEach(Et=>Ze.set(Et,null))})):(w.push(function ir(){return new h.vHH(3300,!1)}()),j=[]),w.length)throw function Qn(y){return new h.vHH(3504,!1)}();B.forEach((Ke,Ze)=>{Ke.forEach((Et,d)=>{Ke.set(d,this._driver.computeStyle(Ze,d,tt.l3))})});const Te=K(j.map(Ke=>{const Ze=B.get(Ke.element);return this._buildPlayer(Ke,new Map,Ze)}));return this._playersById.set(a,Te),Te.onDestroy(()=>this.destroy(a)),this.players.push(Te),Te}destroy(a){const o=this._getPlayer(a);o.destroy(),this._playersById.delete(a);const p=this.players.indexOf(o);p>=0&&this.players.splice(p,1)}_getPlayer(a){const o=this._playersById.get(a);if(!o)throw function Ct(y){return new h.vHH(3301,!1)}();return o}listen(a,o,p,w){const A=jt(o,"","","");return Ge(this._getPlayer(a),p,A,w),()=>{}}command(a,o,p,w){if("register"==p)return void this.register(a,w[0]);if("create"==p)return void this.create(a,o,w[0]||{});const A=this._getPlayer(a);switch(p){case"play":A.play();break;case"pause":A.pause();break;case"reset":A.reset();break;case"restart":A.restart();break;case"finish":A.finish();break;case"init":A.init();break;case"setPosition":A.setPosition(parseFloat(w[0]));break;case"destroy":this.destroy(a)}}}const zo="ng-animate-queued",yn="ng-animate-disabled",_r=[],Ii={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Xi={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Vn="__ng_removed";class Ai{constructor(a,o=""){this.namespaceId=o;const p=a&&a.hasOwnProperty("value");if(this.value=function xs(y){return y??null}(p?a.value:a),p){const A=Br(a);delete A.value,this.options=A}else this.options={};this.options.params||(this.options.params={})}get params(){return this.options.params}absorbOptions(a){const o=a.params;if(o){const p=this.options.params;Object.keys(o).forEach(w=>{null==p[w]&&(p[w]=o[w])})}}}const Wr="void",Rs=new Ai(Wr);class Pi{constructor(a,o,p){this.id=a,this.hostElement=o,this._engine=p,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+a,$n(o,this._hostClassName)}listen(a,o,p,w){if(!this._triggers.has(o))throw function At(y,a){return new h.vHH(3302,!1)}();if(null==p||0==p.length)throw function an(y){return new h.vHH(3303,!1)}();if(!function xi(y){return"start"==y||"done"==y}(p))throw function Kt(y,a){return new h.vHH(3400,!1)}();const A=qe(this._elementListeners,a,[]),j={name:o,phase:p,callback:w};A.push(j);const B=qe(this._engine.statesByElement,a,new Map);return B.has(o)||($n(a,qn),$n(a,qn+"-"+o),B.set(o,Rs)),()=>{this._engine.afterFlush(()=>{const le=A.indexOf(j);le>=0&&A.splice(le,1),this._triggers.has(o)||B.delete(o)})}}register(a,o){return!this._triggers.has(a)&&(this._triggers.set(a,o),!0)}_getTrigger(a){const o=this._triggers.get(a);if(!o)throw function ln(y){return new h.vHH(3401,!1)}();return o}trigger(a,o,p,w=!0){const A=this._getTrigger(o),j=new ii(this.id,o,a);let B=this._engine.statesByElement.get(a);B||($n(a,qn),$n(a,qn+"-"+o),this._engine.statesByElement.set(a,B=new Map));let le=B.get(o);const Te=new Ai(p,this.id);if(!(p&&p.hasOwnProperty("value"))&&le&&Te.absorbOptions(le.options),B.set(o,Te),le||(le=Rs),Te.value!==Wr&&le.value===Te.value){if(!function oi(y,a){const o=Object.keys(y),p=Object.keys(a);if(o.length!=p.length)return!1;for(let w=0;w<o.length;w++){const A=o[w];if(!a.hasOwnProperty(A)||y[A]!==a[A])return!1}return!0}(le.params,Te.params)){const u=[],m=A.matchStyles(le.value,le.params,u),C=A.matchStyles(Te.value,Te.params,u);u.length?this._engine.reportError(u):this._engine.afterFlush(()=>{yr(a,m),Bn(a,C)})}return}const Et=qe(this._engine.playersByElement,a,[]);Et.forEach(u=>{u.namespaceId==this.id&&u.triggerName==o&&u.queued&&u.destroy()});let d=A.matchTransition(le.value,Te.value,a,Te.params),c=!1;if(!d){if(!w)return;d=A.fallbackTransition,c=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:a,triggerName:o,transition:d,fromState:le,toState:Te,player:j,isFallbackTransition:c}),c||($n(a,zo),j.onStart(()=>{us(a,zo)})),j.onDone(()=>{let u=this.players.indexOf(j);u>=0&&this.players.splice(u,1);const m=this._engine.playersByElement.get(a);if(m){let C=m.indexOf(j);C>=0&&m.splice(C,1)}}),this.players.push(j),Et.push(j),j}deregister(a){this._triggers.delete(a),this._engine.statesByElement.forEach(o=>o.delete(a)),this._elementListeners.forEach((o,p)=>{this._elementListeners.set(p,o.filter(w=>w.name!=a))})}clearElementCache(a){this._engine.statesByElement.delete(a),this._elementListeners.delete(a);const o=this._engine.playersByElement.get(a);o&&(o.forEach(p=>p.destroy()),this._engine.playersByElement.delete(a))}_signalRemovalForInnerTriggers(a,o){const p=this._engine.driver.query(a,Ln,!0),w=a.shadowRoot?this._engine.driver.query(a.shadowRoot,Ln,!0):[];[...p,...w].forEach(A=>{if(A[Vn])return;const j=this._engine.fetchNamespacesByElement(A);j.size?j.forEach(B=>B.triggerLeaveAnimation(A,o,!1,!0)):this.clearElementCache(A)}),this._engine.afterFlushAnimationsDone(()=>p.forEach(A=>this.clearElementCache(A)))}triggerLeaveAnimation(a,o,p,w){const A=this._engine.statesByElement.get(a),j=new Map;if(A){const B=[];if(A.forEach((le,Te)=>{if(j.set(Te,le.value),this._triggers.has(Te)){const Ke=this.trigger(a,Te,Wr,w);Ke&&B.push(Ke)}}),B.length)return this._engine.markElementAsRemoved(this.id,a,!0,o,j),p&&K(B).onDone(()=>this._engine.processLeaveNode(a)),!0}return!1}prepareLeaveAnimationListeners(a){const o=this._elementListeners.get(a),p=this._engine.statesByElement.get(a);if(o&&p){const w=new Set;o.forEach(A=>{const j=A.name;if(w.has(j))return;w.add(j);const le=this._triggers.get(j).fallbackTransition,Te=p.get(j)||Rs,Ke=new Ai(Wr),Ze=new ii(this.id,j,a);this._engine.totalQueuedPlayers++,this._queue.push({element:a,triggerName:j,transition:le,fromState:Te,toState:Ke,player:Ze,isFallbackTransition:!0})})}}removeNode(a,o){const p=this._engine;if((!!a.childElementCount||!(!a.shadowRoot||!a.shadowRoot.childElementCount))&&this._signalRemovalForInnerTriggers(a,o),this.triggerLeaveAnimation(a,o,!0))return;let j=!1;if(p.totalAnimations){const B=p.players.length?p.playersByQueriedElement.get(a):[];if(B&&B.length)j=!0;else{let le=a;for(;le=le.parentNode;)if(p.statesByElement.get(le)){j=!0;break}}}if(this.prepareLeaveAnimationListeners(a),j)p.markElementAsRemoved(this.id,a,!1,o);else{const B=a[Vn];(!B||B===Ii)&&(p.afterFlush(()=>this.clearElementCache(a)),p.destroyInnerAnimations(a),p._onRemovalComplete(a,o))}}insertNode(a,o){$n(a,this._hostClassName)}drainQueuedTransitions(a){const o=[];return this._queue.forEach(p=>{const w=p.player;if(w.destroyed)return;const A=p.element,j=this._elementListeners.get(A);j&&j.forEach(B=>{if(B.name==p.triggerName){const le=jt(A,p.triggerName,p.fromState.value,p.toState.value);le._data=a,Ge(p.player,B.phase,le,B.callback)}}),w.markedForDestroy?this._engine.afterFlush(()=>{w.destroy()}):o.push(p)}),this._queue=[],o.sort((p,w)=>{const A=p.transition.ast.depCount,j=w.transition.ast.depCount;return 0==A||0==j?A-j:this._engine.driver.containsElement(p.element,w.element)?1:-1})}destroy(a){this.players.forEach(o=>o.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,a)}elementContainsData(a){let o=!1;return this._elementListeners.has(a)&&(o=!0),o=!!this._queue.find(p=>p.element===a)||o,o}}class eo{constructor(a,o,p){this.bodyNode=a,this.driver=o,this._normalizer=p,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(w,A)=>{}}_onRemovalComplete(a,o){this.onRemovalComplete(a,o)}get queuedPlayers(){const a=[];return this._namespaceList.forEach(o=>{o.players.forEach(p=>{p.queued&&a.push(p)})}),a}createNamespace(a,o){const p=new Pi(a,o,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,o)?this._balanceNamespaceList(p,o):(this.newHostElements.set(o,p),this.collectEnterElement(o)),this._namespaceLookup[a]=p}_balanceNamespaceList(a,o){const p=this._namespaceList,w=this.namespacesByHostElement;if(p.length-1>=0){let j=!1,B=this.driver.getParentElement(o);for(;B;){const le=w.get(B);if(le){const Te=p.indexOf(le);p.splice(Te+1,0,a),j=!0;break}B=this.driver.getParentElement(B)}j||p.unshift(a)}else p.push(a);return w.set(o,a),a}register(a,o){let p=this._namespaceLookup[a];return p||(p=this.createNamespace(a,o)),p}registerTrigger(a,o,p){let w=this._namespaceLookup[a];w&&w.register(o,p)&&this.totalAnimations++}destroy(a,o){if(!a)return;const p=this._fetchNamespace(a);this.afterFlush(()=>{this.namespacesByHostElement.delete(p.hostElement),delete this._namespaceLookup[a];const w=this._namespaceList.indexOf(p);w>=0&&this._namespaceList.splice(w,1)}),this.afterFlushAnimationsDone(()=>p.destroy(o))}_fetchNamespace(a){return this._namespaceLookup[a]}fetchNamespacesByElement(a){const o=new Set,p=this.statesByElement.get(a);if(p)for(let w of p.values())if(w.namespaceId){const A=this._fetchNamespace(w.namespaceId);A&&o.add(A)}return o}trigger(a,o,p,w){if(ls(o)){const A=this._fetchNamespace(a);if(A)return A.trigger(o,p,w),!0}return!1}insertNode(a,o,p,w){if(!ls(o))return;const A=o[Vn];if(A&&A.setForRemoval){A.setForRemoval=!1,A.setForMove=!0;const j=this.collectedLeaveElements.indexOf(o);j>=0&&this.collectedLeaveElements.splice(j,1)}if(a){const j=this._fetchNamespace(a);j&&j.insertNode(o,p)}w&&this.collectEnterElement(o)}collectEnterElement(a){this.collectedEnterElements.push(a)}markElementAsDisabled(a,o){o?this.disabledNodes.has(a)||(this.disabledNodes.add(a),$n(a,yn)):this.disabledNodes.has(a)&&(this.disabledNodes.delete(a),us(a,yn))}removeNode(a,o,p,w){if(ls(o)){const A=a?this._fetchNamespace(a):null;if(A?A.removeNode(o,w):this.markElementAsRemoved(a,o,!1,w),p){const j=this.namespacesByHostElement.get(o);j&&j.id!==a&&j.removeNode(o,w)}}else this._onRemovalComplete(o,w)}markElementAsRemoved(a,o,p,w,A){this.collectedLeaveElements.push(o),o[Vn]={namespaceId:a,setForRemoval:w,hasAnimation:p,removedBeforeQueried:!1,previousTriggersValues:A}}listen(a,o,p,w,A){return ls(o)?this._fetchNamespace(a).listen(o,p,w,A):()=>{}}_buildInstruction(a,o,p,w,A){return a.transition.build(this.driver,a.element,a.fromState.value,a.toState.value,p,w,a.fromState.options,a.toState.options,o,A)}destroyInnerAnimations(a){let o=this.driver.query(a,Ln,!0);o.forEach(p=>this.destroyActiveAnimationsForElement(p)),0!=this.playersByQueriedElement.size&&(o=this.driver.query(a,cn,!0),o.forEach(p=>this.finishActiveQueriedAnimationOnElement(p)))}destroyActiveAnimationsForElement(a){const o=this.playersByElement.get(a);o&&o.forEach(p=>{p.queued?p.markedForDestroy=!0:p.destroy()})}finishActiveQueriedAnimationOnElement(a){const o=this.playersByQueriedElement.get(a);o&&o.forEach(p=>p.finish())}whenRenderingDone(){return new Promise(a=>{if(this.players.length)return K(this.players).onDone(()=>a());a()})}processLeaveNode(a){const o=a[Vn];if(o&&o.setForRemoval){if(a[Vn]=Ii,o.namespaceId){this.destroyInnerAnimations(a);const p=this._fetchNamespace(o.namespaceId);p&&p.clearElementCache(a)}this._onRemovalComplete(a,o.setForRemoval)}a.classList?.contains(yn)&&this.markElementAsDisabled(a,!1),this.driver.query(a,".ng-animate-disabled",!0).forEach(p=>{this.markElementAsDisabled(p,!1)})}flush(a=-1){let o=[];if(this.newHostElements.size&&(this.newHostElements.forEach((p,w)=>this._balanceNamespaceList(p,w)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let p=0;p<this.collectedEnterElements.length;p++)$n(this.collectedEnterElements[p],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){const p=[];try{o=this._flushAnimations(p,a)}finally{for(let w=0;w<p.length;w++)p[w]()}}else for(let p=0;p<this.collectedLeaveElements.length;p++)this.processLeaveNode(this.collectedLeaveElements[p]);if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(p=>p()),this._flushFns=[],this._whenQuietFns.length){const p=this._whenQuietFns;this._whenQuietFns=[],o.length?K(o).onDone(()=>{p.forEach(w=>w())}):p.forEach(w=>w())}}reportError(a){throw function un(y){return new h.vHH(3402,!1)}()}_flushAnimations(a,o){const p=new ve,w=[],A=new Map,j=[],B=new Map,le=new Map,Te=new Map,Ke=new Set;this.disabledNodes.forEach(nt=>{Ke.add(nt);const dt=this.driver.query(nt,".ng-animate-queued",!0);for(let mt=0;mt<dt.length;mt++)Ke.add(dt[mt])});const Ze=this.bodyNode,Et=Array.from(this.statesByElement.keys()),d=Ns(Et,this.collectedEnterElements),c=new Map;let u=0;d.forEach((nt,dt)=>{const mt=Qt+u++;c.set(dt,mt),nt.forEach(It=>$n(It,mt))});const m=[],C=new Set,S=new Set;for(let nt=0;nt<this.collectedLeaveElements.length;nt++){const dt=this.collectedLeaveElements[nt],mt=dt[Vn];mt&&mt.setForRemoval&&(m.push(dt),C.add(dt),mt.hasAnimation?this.driver.query(dt,".ng-star-inserted",!0).forEach(It=>C.add(It)):S.add(dt))}const R=new Map,N=Ns(Et,Array.from(C));N.forEach((nt,dt)=>{const mt=pn+u++;R.set(dt,mt),nt.forEach(It=>$n(It,mt))}),a.push(()=>{d.forEach((nt,dt)=>{const mt=c.get(dt);nt.forEach(It=>us(It,mt))}),N.forEach((nt,dt)=>{const mt=R.get(dt);nt.forEach(It=>us(It,mt))}),m.forEach(nt=>{this.processLeaveNode(nt)})});const De=[],ke=[];for(let nt=this._namespaceList.length-1;nt>=0;nt--)this._namespaceList[nt].drainQueuedTransitions(o).forEach(mt=>{const It=mt.player,Sn=mt.element;if(De.push(It),this.collectedEnterElements.length){const Vt=Sn[Vn];if(Vt&&Vt.setForMove){if(Vt.previousTriggersValues&&Vt.previousTriggersValues.has(mt.triggerName)){const Un=Vt.previousTriggersValues.get(mt.triggerName),tr=this.statesByElement.get(mt.element);if(tr&&tr.has(mt.triggerName)){const zs=tr.get(mt.triggerName);zs.value=Un,tr.set(mt.triggerName,zs)}}return void It.destroy()}}const Yr=!Ze||!this.driver.containsElement(Ze,Sn),kt=R.get(Sn),Or=c.get(Sn),Gt=this._buildInstruction(mt,p,Or,kt,Yr);if(Gt.errors&&Gt.errors.length)return void ke.push(Gt);if(Yr)return It.onStart(()=>yr(Sn,Gt.fromStyles)),It.onDestroy(()=>Bn(Sn,Gt.toStyles)),void w.push(It);if(mt.isFallbackTransition)return It.onStart(()=>yr(Sn,Gt.fromStyles)),It.onDestroy(()=>Bn(Sn,Gt.toStyles)),void w.push(It);const vl=[];Gt.timelines.forEach(Vt=>{Vt.stretchStartingKeyframe=!0,this.disabledNodes.has(Vt.element)||vl.push(Vt)}),Gt.timelines=vl,p.append(Sn,Gt.timelines),j.push({instruction:Gt,player:It,element:Sn}),Gt.queriedElements.forEach(Vt=>qe(B,Vt,[]).push(It)),Gt.preStyleProps.forEach((Vt,Un)=>{if(Vt.size){let tr=le.get(Un);tr||le.set(Un,tr=new Set),Vt.forEach((zs,Gs)=>tr.add(Gs))}}),Gt.postStyleProps.forEach((Vt,Un)=>{let tr=Te.get(Un);tr||Te.set(Un,tr=new Set),Vt.forEach((zs,Gs)=>tr.add(Gs))})});if(ke.length){const nt=[];ke.forEach(dt=>{nt.push(function gt(y,a){return new h.vHH(3505,!1)}())}),De.forEach(dt=>dt.destroy()),this.reportError(nt)}const at=new Map,$e=new Map;j.forEach(nt=>{const dt=nt.element;p.has(dt)&&($e.set(dt,dt),this._beforeAnimationBuild(nt.player.namespaceId,nt.instruction,at))}),w.forEach(nt=>{const dt=nt.element;this._getPreviousPlayers(dt,!1,nt.namespaceId,nt.triggerName,null).forEach(It=>{qe(at,dt,[]).push(It),It.destroy()})});const Pt=m.filter(nt=>to(nt,le,Te)),Ot=new Map;Os(Ot,this.driver,S,Te,tt.l3).forEach(nt=>{to(nt,le,Te)&&Pt.push(nt)});const Cr=new Map;d.forEach((nt,dt)=>{Os(Cr,this.driver,new Set(nt),le,tt.k1)}),Pt.forEach(nt=>{const dt=Ot.get(nt),mt=Cr.get(nt);Ot.set(nt,new Map([...Array.from(dt?.entries()??[]),...Array.from(mt?.entries()??[])]))});const xr=[],uo=[],$s={};j.forEach(nt=>{const{element:dt,player:mt,instruction:It}=nt;if(p.has(dt)){if(Ke.has(dt))return mt.onDestroy(()=>Bn(dt,It.toStyles)),mt.disabled=!0,mt.overrideTotalTime(It.totalTime),void w.push(mt);let Sn=$s;if($e.size>1){let kt=dt;const Or=[];for(;kt=kt.parentNode;){const Gt=$e.get(kt);if(Gt){Sn=Gt;break}Or.push(kt)}Or.forEach(Gt=>$e.set(Gt,Sn))}const Yr=this._buildAnimation(mt.namespaceId,It,at,A,Cr,Ot);if(mt.setRealPlayer(Yr),Sn===$s)xr.push(mt);else{const kt=this.playersByElement.get(Sn);kt&&kt.length&&(mt.parentPlayer=K(kt)),w.push(mt)}}else yr(dt,It.fromStyles),mt.onDestroy(()=>Bn(dt,It.toStyles)),uo.push(mt),Ke.has(dt)&&w.push(mt)}),uo.forEach(nt=>{const dt=A.get(nt.element);if(dt&&dt.length){const mt=K(dt);nt.setRealPlayer(mt)}}),w.forEach(nt=>{nt.parentPlayer?nt.syncPlayerEvents(nt.parentPlayer):nt.destroy()});for(let nt=0;nt<m.length;nt++){const dt=m[nt],mt=dt[Vn];if(us(dt,pn),mt&&mt.hasAnimation)continue;let It=[];if(B.size){let Yr=B.get(dt);Yr&&Yr.length&&It.push(...Yr);let kt=this.driver.query(dt,cn,!0);for(let Or=0;Or<kt.length;Or++){let Gt=B.get(kt[Or]);Gt&&Gt.length&&It.push(...Gt)}}const Sn=It.filter(Yr=>!Yr.destroyed);Sn.length?Tn(this,dt,Sn):this.processLeaveNode(dt)}return m.length=0,xr.forEach(nt=>{this.players.push(nt),nt.onDone(()=>{nt.destroy();const dt=this.players.indexOf(nt);this.players.splice(dt,1)}),nt.play()}),xr}elementContainsData(a,o){let p=!1;const w=o[Vn];return w&&w.setForRemoval&&(p=!0),this.playersByElement.has(o)&&(p=!0),this.playersByQueriedElement.has(o)&&(p=!0),this.statesByElement.has(o)&&(p=!0),this._fetchNamespace(a).elementContainsData(o)||p}afterFlush(a){this._flushFns.push(a)}afterFlushAnimationsDone(a){this._whenQuietFns.push(a)}_getPreviousPlayers(a,o,p,w,A){let j=[];if(o){const B=this.playersByQueriedElement.get(a);B&&(j=B)}else{const B=this.playersByElement.get(a);if(B){const le=!A||A==Wr;B.forEach(Te=>{Te.queued||!le&&Te.triggerName!=w||j.push(Te)})}}return(p||w)&&(j=j.filter(B=>!(p&&p!=B.namespaceId||w&&w!=B.triggerName))),j}_beforeAnimationBuild(a,o,p){const A=o.element,j=o.isRemovalTransition?void 0:a,B=o.isRemovalTransition?void 0:o.triggerName;for(const le of o.timelines){const Te=le.element,Ke=Te!==A,Ze=qe(p,Te,[]);this._getPreviousPlayers(Te,Ke,j,B,o.toState).forEach(d=>{const c=d.getRealPlayer();c.beforeDestroy&&c.beforeDestroy(),d.destroy(),Ze.push(d)})}yr(A,o.fromStyles)}_buildAnimation(a,o,p,w,A,j){const B=o.triggerName,le=o.element,Te=[],Ke=new Set,Ze=new Set,Et=o.timelines.map(c=>{const u=c.element;Ke.add(u);const m=u[Vn];if(m&&m.removedBeforeQueried)return new tt.ZN(c.duration,c.delay);const C=u!==le,S=function Pr(y){const a=[];return Yt(y,a),a}((p.get(u)||_r).map(at=>at.getRealPlayer())).filter(at=>!!at.element&&at.element===u),R=A.get(u),N=j.get(u),De=Me(0,this._normalizer,0,c.keyframes,R,N),ke=this._buildPlayer(c,De,S);if(c.subTimeline&&w&&Ze.add(u),C){const at=new ii(a,B,u);at.setRealPlayer(ke),Te.push(at)}return ke});Te.forEach(c=>{qe(this.playersByQueriedElement,c.element,[]).push(c),c.onDone(()=>function Ri(y,a,o){let p=y.get(a);if(p){if(p.length){const w=p.indexOf(o);p.splice(w,1)}0==p.length&&y.delete(a)}return p}(this.playersByQueriedElement,c.element,c))}),Ke.forEach(c=>$n(c,Hn));const d=K(Et);return d.onDestroy(()=>{Ke.forEach(c=>us(c,Hn)),Bn(le,o.toStyles)}),Ze.forEach(c=>{qe(w,c,[]).push(d)}),d}_buildPlayer(a,o,p){return o.length>0?this.driver.animate(a.element,o,a.duration,a.delay,a.easing,p):new tt.ZN(a.duration,a.delay)}}class ii{constructor(a,o,p){this.namespaceId=a,this.triggerName=o,this.element=p,this._player=new tt.ZN,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(a){this._containsRealPlayer||(this._player=a,this._queuedCallbacks.forEach((o,p)=>{o.forEach(w=>Ge(a,p,void 0,w))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(a.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(a){this.totalTime=a}syncPlayerEvents(a){const o=this._player;o.triggerCallback&&a.onStart(()=>o.triggerCallback("start")),a.onDone(()=>this.finish()),a.onDestroy(()=>this.destroy())}_queueEvent(a,o){qe(this._queuedCallbacks,a,[]).push(o)}onDone(a){this.queued&&this._queueEvent("done",a),this._player.onDone(a)}onStart(a){this.queued&&this._queueEvent("start",a),this._player.onStart(a)}onDestroy(a){this.queued&&this._queueEvent("destroy",a),this._player.onDestroy(a)}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(a){this.queued||this._player.setPosition(a)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(a){const o=this._player;o.triggerCallback&&o.triggerCallback(a)}}function ls(y){return y&&1===y.nodeType}function Oi(y,a){const o=y.style.display;return y.style.display=a??"none",o}function Os(y,a,o,p,w){const A=[];o.forEach(le=>A.push(Oi(le)));const j=[];p.forEach((le,Te)=>{const Ke=new Map;le.forEach(Ze=>{const Et=a.computeStyle(Te,Ze,w);Ke.set(Ze,Et),(!Et||0==Et.length)&&(Te[Vn]=Xi,j.push(Te))}),y.set(Te,Ke)});let B=0;return o.forEach(le=>Oi(le,A[B++])),j}function Ns(y,a){const o=new Map;if(y.forEach(B=>o.set(B,[])),0==a.length)return o;const w=new Set(a),A=new Map;function j(B){if(!B)return 1;let le=A.get(B);if(le)return le;const Te=B.parentNode;return le=o.has(Te)?Te:w.has(Te)?1:j(Te),A.set(B,le),le}return a.forEach(B=>{const le=j(B);1!==le&&o.get(le).push(B)}),o}function $n(y,a){y.classList?.add(a)}function us(y,a){y.classList?.remove(a)}function Tn(y,a,o){K(o).onDone(()=>y.processLeaveNode(a))}function Yt(y,a){for(let o=0;o<y.length;o++){const p=y[o];p instanceof tt.ZE?Yt(p.players,a):a.push(p)}}function to(y,a,o){const p=o.get(y);if(!p)return!1;let w=a.get(y);return w?p.forEach(A=>w.add(A)):a.set(y,p),o.delete(y),!0}class Fs{constructor(a,o,p){this.bodyNode=a,this._driver=o,this._normalizer=p,this._triggerCache={},this.onRemovalComplete=(w,A)=>{},this._transitionEngine=new eo(a,o,p),this._timelineEngine=new $o(a,o,p),this._transitionEngine.onRemovalComplete=(w,A)=>this.onRemovalComplete(w,A)}registerTrigger(a,o,p,w,A){const j=a+"-"+w;let B=this._triggerCache[j];if(!B){const le=[],Ke=Jn(this._driver,A,le,[]);if(le.length)throw function Fr(y,a){return new h.vHH(3404,!1)}();B=function Ps(y,a,o){return new hr(y,a,o)}(w,Ke,this._normalizer),this._triggerCache[j]=B}this._transitionEngine.registerTrigger(o,w,B)}register(a,o){this._transitionEngine.register(a,o)}destroy(a,o){this._transitionEngine.destroy(a,o)}onInsert(a,o,p,w){this._transitionEngine.insertNode(a,o,p,w)}onRemove(a,o,p,w){this._transitionEngine.removeNode(a,o,w||!1,p)}disableAnimations(a,o){this._transitionEngine.markElementAsDisabled(a,o)}process(a,o,p,w){if("@"==p.charAt(0)){const[A,j]=or(p);this._timelineEngine.command(A,o,j,w)}else this._transitionEngine.trigger(a,o,p,w)}listen(a,o,p,w,A){if("@"==p.charAt(0)){const[j,B]=or(p);return this._timelineEngine.listen(j,o,B,A)}return this._transitionEngine.listen(a,o,p,w,A)}flush(a=-1){this._transitionEngine.flush(a)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}let no=(()=>{class y{constructor(o,p,w){this._element=o,this._startStyles=p,this._endStyles=w,this._state=0;let A=y.initialStylesByElement.get(o);A||y.initialStylesByElement.set(o,A=new Map),this._initialStyles=A}start(){this._state<1&&(this._startStyles&&Bn(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(Bn(this._element,this._initialStyles),this._endStyles&&(Bn(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(y.initialStylesByElement.delete(this._element),this._startStyles&&(yr(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(yr(this._element,this._endStyles),this._endStyles=null),Bn(this._element,this._initialStyles),this._state=3)}}return y.initialStylesByElement=new WeakMap,y})();function ks(y){let a=null;return y.forEach((o,p)=>{(function cs(y){return"display"===y||"position"===y})(p)&&(a=a||new Map,a.set(p,o))}),a}class Ls{constructor(a,o,p,w){this.element=a,this.keyframes=o,this.options=p,this._specialStyles=w,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this._originalOnDoneFns=[],this._originalOnStartFns=[],this.time=0,this.parentPlayer=null,this.currentSnapshot=new Map,this._duration=p.duration,this._delay=p.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(a=>a()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const a=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,a,this.options),this._finalKeyframe=a.length?a[a.length-1]:new Map,this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(a){const o=[];return a.forEach(p=>{o.push(Object.fromEntries(p))}),o}_triggerWebAnimation(a,o,p){return a.animate(this._convertKeyframesToObject(o),p)}onStart(a){this._originalOnStartFns.push(a),this._onStartFns.push(a)}onDone(a){this._originalOnDoneFns.push(a),this._onDoneFns.push(a)}onDestroy(a){this._onDestroyFns.push(a)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(a=>a()),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,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}_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(a=>a()),this._onDestroyFns=[])}setPosition(a){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=a*this.time}getPosition(){return this.domPlayer.currentTime/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const a=new Map;this.hasStarted()&&this._finalKeyframe.forEach((p,w)=>{"offset"!==w&&a.set(w,this._finished?p:Ur(this.element,w))}),this.currentSnapshot=a}triggerCallback(a){const o="start"===a?this._onStartFns:this._onDoneFns;o.forEach(p=>p()),o.length=0}}class ai{validateStyleProperty(a){return!0}validateAnimatableStyleProperty(a){return!0}matchesElement(a,o){return!1}containsElement(a,o){return Fn(a,o)}getParentElement(a){return rn(a)}query(a,o,p){return kn(a,o,p)}computeStyle(a,o,p){return window.getComputedStyle(a)[o]}animate(a,o,p,w,A,j=[]){const le={duration:p,delay:w,fill:0==w?"both":"forwards"};A&&(le.easing=A);const Te=new Map,Ke=j.filter(d=>d instanceof Ls);(function _i(y,a){return 0===y||0===a})(p,w)&&Ke.forEach(d=>{d.currentSnapshot.forEach((c,u)=>Te.set(u,c))});let Ze=function Es(y){return y.length?y[0]instanceof Map?y:y.map(a=>jr(a)):[]}(o).map(d=>dr(d));Ze=function jn(y,a,o){if(o.size&&a.length){let p=a[0],w=[];if(o.forEach((A,j)=>{p.has(j)||w.push(j),p.set(j,A)}),w.length)for(let A=1;A<a.length;A++){let j=a[A];w.forEach(B=>j.set(B,Ur(y,B)))}}return a}(a,Ze,Te);const Et=function Go(y,a){let o=null,p=null;return Array.isArray(a)&&a.length?(o=ks(a[0]),a.length>1&&(p=ks(a[a.length-1]))):a instanceof Map&&(o=ks(a)),o||p?new no(y,o,p):null}(a,Ze);return new Ls(a,Ze,le,Et)}}let Ni=(()=>{class y extends tt._j{constructor(o,p){super(),this._nextAnimationId=0,this._renderer=o.createRenderer(p.body,{id:"0",encapsulation:h.ifc.None,styles:[],data:{animation:[]}})}build(o){const p=this._nextAnimationId.toString();this._nextAnimationId++;const w=Array.isArray(o)?(0,tt.vP)(o):o;return Dr(this._renderer,null,p,"register",[w]),new ro(p,this._renderer)}}return y.\u0275fac=function(o){return new(o||y)(h.LFG(h.FYo),h.LFG(Le.K0))},y.\u0275prov=h.Yz7({token:y,factory:y.\u0275fac}),y})();class ro extends tt.LC{constructor(a,o){super(),this._id=a,this._renderer=o}create(a,o){return new Wo(this._id,a,o||{},this._renderer)}}class Wo{constructor(a,o,p,w){this.id=a,this.element=o,this._renderer=w,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",p)}_listen(a,o){return this._renderer.listen(this.element,`@@${this.id}:${a}`,o)}_command(a,...o){return Dr(this._renderer,this.element,this.id,a,o)}onDone(a){this._listen("done",a)}onStart(a){this._listen("start",a)}onDestroy(a){this._listen("destroy",a)}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(a){this._command("setPosition",a)}getPosition(){return this._renderer.engine.players[+this.id]?.getPosition()??0}}function Dr(y,a,o,p,w){return y.setProperty(a,`@@${o}:${p}`,w)}const vn="@.disabled";let Ko=(()=>{class y{constructor(o,p,w){this.delegate=o,this.engine=p,this._zone=w,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),p.onRemovalComplete=(A,j)=>{const B=j?.parentNode(A);B&&j.removeChild(B,A)}}createRenderer(o,p){const A=this.delegate.createRenderer(o,p);if(!(o&&p&&p.data&&p.data.animation)){let Ke=this._rendererCache.get(A);return Ke||(Ke=new Kr("",A,this.engine),this._rendererCache.set(A,Ke)),Ke}const j=p.id,B=p.id+"-"+this._currentId;this._currentId++,this.engine.register(B,o);const le=Ke=>{Array.isArray(Ke)?Ke.forEach(le):this.engine.registerTrigger(j,B,o,Ke.name,Ke)};return p.data.animation.forEach(le),new Bs(this,B,A,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then(()=>{this._microtaskId++})}scheduleListenerCallback(o,p,w){o>=0&&o<this._microtaskId?this._zone.run(()=>p(w)):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(A=>{const[j,B]=A;j(B)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([p,w]))}end(){this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}}return y.\u0275fac=function(o){return new(o||y)(h.LFG(h.FYo),h.LFG(Fs),h.LFG(h.R0b))},y.\u0275prov=h.Yz7({token:y,factory:y.\u0275fac}),y})();class Kr{constructor(a,o,p){this.namespaceId=a,this.delegate=o,this.engine=p,this.destroyNode=this.delegate.destroyNode?w=>o.destroyNode(w):null}get data(){return this.delegate.data}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy()}createElement(a,o){return this.delegate.createElement(a,o)}createComment(a){return this.delegate.createComment(a)}createText(a){return this.delegate.createText(a)}appendChild(a,o){this.delegate.appendChild(a,o),this.engine.onInsert(this.namespaceId,o,a,!1)}insertBefore(a,o,p,w=!0){this.delegate.insertBefore(a,o,p),this.engine.onInsert(this.namespaceId,o,a,w)}removeChild(a,o,p){this.engine.onRemove(this.namespaceId,o,this.delegate,p)}selectRootElement(a,o){return this.delegate.selectRootElement(a,o)}parentNode(a){return this.delegate.parentNode(a)}nextSibling(a){return this.delegate.nextSibling(a)}setAttribute(a,o,p,w){this.delegate.setAttribute(a,o,p,w)}removeAttribute(a,o,p){this.delegate.removeAttribute(a,o,p)}addClass(a,o){this.delegate.addClass(a,o)}removeClass(a,o){this.delegate.removeClass(a,o)}setStyle(a,o,p,w){this.delegate.setStyle(a,o,p,w)}removeStyle(a,o,p){this.delegate.removeStyle(a,o,p)}setProperty(a,o,p){"@"==o.charAt(0)&&o==vn?this.disableAnimations(a,!!p):this.delegate.setProperty(a,o,p)}setValue(a,o){this.delegate.setValue(a,o)}listen(a,o,p){return this.delegate.listen(a,o,p)}disableAnimations(a,o){this.engine.disableAnimations(a,o)}}class Bs extends Kr{constructor(a,o,p,w){super(o,p,w),this.factory=a,this.namespaceId=o}setProperty(a,o,p){"@"==o.charAt(0)?"."==o.charAt(1)&&o==vn?this.disableAnimations(a,p=void 0===p||!!p):this.engine.process(this.namespaceId,a,o.slice(1),p):this.delegate.setProperty(a,o,p)}listen(a,o,p){if("@"==o.charAt(0)){const w=function li(y){switch(y){case"body":return document.body;case"document":return document;case"window":return window;default:return y}}(a);let A=o.slice(1),j="";return"@"!=A.charAt(0)&&([A,j]=function so(y){const a=y.indexOf(".");return[y.substring(0,a),y.slice(a+1)]}(A)),this.engine.listen(this.namespaceId,w,A,j,B=>{this.factory.scheduleListenerCallback(B._data||-1,p,B)})}return this.delegate.listen(a,o,p)}}const ci=[{provide:tt._j,useClass:Ni},{provide:$r,useFactory:function Yo(){return new Vo}},{provide:Fs,useClass:(()=>{class y extends Fs{constructor(o,p,w,A){super(o.body,p,w)}ngOnDestroy(){this.flush()}}return y.\u0275fac=function(o){return new(o||y)(h.LFG(Le.K0),h.LFG(Mr),h.LFG($r),h.LFG(h.z2F))},y.\u0275prov=h.Yz7({token:y,factory:y.\u0275fac}),y})()},{provide:h.FYo,useFactory:function ui(y,a,o){return new Ko(y,a,o)},deps:[D.se,Fs,h.R0b]}],Fi=[{provide:Mr,useFactory:()=>new ai},{provide:h.QbO,useValue:"BrowserAnimations"},...ci],ki=[{provide:Mr,useClass:cr},{provide:h.QbO,useValue:"NoopAnimations"},...ci];let Li=(()=>{class y{static withConfig(o){return{ngModule:y,providers:o.disableAnimations?ki:Fi}}}return y.\u0275fac=function(o){return new(o||y)},y.\u0275mod=h.oAB({type:y}),y.\u0275inj=h.cJS({providers:Fi,imports:[D.b2]}),y})(),ds=(()=>{class y{constructor(o){this._router=o}intercept(o,p){let w=JSON.parse(window.localStorage.getItem("user")),A=new Date;if(null!=w){let j=new Date(w.Token.expiredAt);o=o.clone(A<j?{setHeaders:{"Content-Type":"application/json",Authorization:`Bearer ${w.Token.access_token}`}}:{setHeaders:{"Content-Type":"application/json"}})}else o=o.clone({setHeaders:{"Content-Type":"application/json"}});return p.handle(o)}}return y.\u0275fac=function(o){return new(o||y)(h.LFG(Jt.F0))},y.\u0275prov=h.Yz7({token:y,factory:y.\u0275fac}),y})();var zn=b(7185);const js=["custom-toast-component",""];function Us(y,a){if(1&y){const o=h.EpF();h.TgZ(0,"a",10),h.NdJ("click",function(){h.CHM(o);const w=h.oxw(2);return h.KtG(w.remove())}),h._uU(1," x "),h.qZA()}}function Hs(y,a){if(1&y&&(h.TgZ(0,"div",6)(1,"div",7)(2,"div")(3,"h4"),h._uU(4),h.qZA()()(),h.TgZ(5,"div",8),h.YNc(6,Us,2,0,"a",9),h.qZA()()),2&y){const o=h.oxw();h.Udp("display","inactive"===o.state.value?"none":""),h.xp6(2),h.Tol(o.options.titleClass),h.uIk("aria-label",o.title),h.xp6(2),h.Oqu(o.title),h.xp6(2),h.Q6J("ngIf",o.options.closeButton)}}const oo=function(y){return{notitle:y}};function ao(y,a){if(1&y&&h._UZ(0,"div",11),2&y){const o=h.oxw();h.Tol(o.options.messageClass),h.Q6J("ngClass",h.VKq(4,oo,null==o.title))("innerHTML",o.message,h.oJD)}}function lo(y,a){if(1&y&&(h.TgZ(0,"div",12),h._uU(1),h.qZA()),2&y){const o=h.oxw();h.Tol(o.options.messageClass),h.Q6J("ngClass",h.VKq(5,oo,null==o.title)),h.uIk("aria-label",o.message),h.xp6(1),h.hij(" ",o.message," ")}}function Qo(y,a){if(1&y){const o=h.EpF();h.TgZ(0,"a",10),h.NdJ("click",function(){h.CHM(o);const w=h.oxw();return h.KtG(w.remove())}),h._uU(1," x "),h.qZA()}}function pr(y,a){if(1&y&&(h.TgZ(0,"div"),h._UZ(1,"div",13),h.qZA()),2&y){const o=h.oxw();h.xp6(1),h.Udp("width",o.width+"%")}}let qo=(()=>{class y extends zn.FN{constructor(o,p){super(o,p),this.toastrService=o,this.toastPackage=p}ngOnInit(){}action(o){return o.stopPropagation(),this.toastPackage.triggerAction(),!1}}return y.\u0275fac=function(o){return new(o||y)(h.Y36(zn._W),h.Y36(zn.PR))},y.\u0275cmp=h.Xpm({type:y,selectors:[["","custom-toast-component",""]],features:[h.qOj],attrs:js,decls:6,vars:5,consts:[[1,"toast-case"],["class","row toast-header",3,"display",4,"ngIf"],["class","row toast-body","role","alert","aria-live","polite",3,"ngClass","class","innerHTML",4,"ngIf"],["class","row toast-body","role","alert","aria-live","polite",3,"ngClass","class",4,"ngIf"],["class","btn toast-close-button btn-sm ",3,"click",4,"ngIf"],[4,"ngIf"],[1,"row","toast-header"],[1,"col-9","px-0"],[1,"col-auto","mt-5","pe-0"],["class","btn toast-close-button btn-sm",3,"click",4,"ngIf"],[1,"btn","toast-close-button","btn-sm",3,"click"],["role","alert","aria-live","polite",1,"row","toast-body",3,"ngClass","innerHTML"],["role","alert","aria-live","polite",1,"row","toast-body",3,"ngClass"],[1,"toast-progress"]],template:function(o,p){1&o&&(h.TgZ(0,"div",0),h.YNc(1,Hs,7,7,"div",1),h.YNc(2,ao,1,6,"div",2),h.YNc(3,lo,2,7,"div",3),h.YNc(4,Qo,2,0,"a",4),h.YNc(5,pr,2,2,"div",5),h.qZA()),2&o&&(h.xp6(1),h.Q6J("ngIf",p.title),h.xp6(1),h.Q6J("ngIf",p.message&&p.options.enableHtml),h.xp6(1),h.Q6J("ngIf",p.message&&!p.options.enableHtml),h.xp6(1),h.Q6J("ngIf",p.options.closeButton&&null==p.title),h.xp6(1),h.Q6J("ngIf",p.options.progressBar))},dependencies:[Le.mk,Le.O5],styles:["[_nghost-%COMP%]{background-color:#fff;position:relative;overflow:hidden;margin:0 0 6px;width:300px;border-radius:3px;color:#141414;pointer-events:all;cursor:pointer}.toast-success[_nghost-%COMP%]{border:1.8px solid rgb(81,163,81)}.toast-info[_nghost-%COMP%]{border:1.8px solid rgb(47,150,180)}.toast-error[_nghost-%COMP%]{border:1.8px solid rgb(189,54,47)}.toast-warning[_nghost-%COMP%]{border:1.8px solid rgb(248,148,6)}.toast-case[_ngcontent-%COMP%]{margin-left:10px}.toast-header[_ngcontent-%COMP%]{background-clip:padding-box;border-bottom:solid;border-width:1px;padding-bottom:0rem;padding-top:0rem;padding-right:0}.toast-title[_ngcontent-%COMP%]{color:#000}.toast-body[_ngcontent-%COMP%]{padding-top:.6rem}.notitle[_ngcontent-%COMP%]{margin-bottom:-1rem}.toast-close-button-custom[_ngcontent-%COMP%]{right:.2em!important;top:-1.3em!important}.toast-close-button-notitle[_ngcontent-%COMP%]{right:.1em!important;top:-1.3em!important}"],data:{animation:[(0,tt.X$)("flyInOut",[(0,tt.SB)("inactive",(0,tt.oB)({opacity:0})),(0,tt.eR)("inactive => active",(0,tt.jt)("400ms ease-out",(0,tt.F4)([(0,tt.oB)({transform:"translate3d(100%, 0, 0) skewX(-30deg)",opacity:0}),(0,tt.oB)({transform:"skewX(20deg)",opacity:1}),(0,tt.oB)({transform:"skewX(-5deg)",opacity:1}),(0,tt.oB)({transform:"none",opacity:1})]))),(0,tt.eR)("active => removed",(0,tt.jt)("400ms ease-out",(0,tt.F4)([(0,tt.oB)({opacity:1}),(0,tt.oB)({transform:"translate3d(100%, 0, 0) skewX(30deg)",opacity:0})])))])]}}),y})();var Vs=b(3131);const Bi={name:"MarketplaceDB",version:1,objectStoresMeta:[{store:"Categories",storeConfig:{keyPath:null,autoIncrement:!0},storeSchema:[]}]};let di=(()=>{class y{}return y.\u0275fac=function(o){return new(o||y)},y.\u0275mod=h.oAB({type:y,bootstrap:[Kn]}),y.\u0275inj=h.cJS({providers:[{provide:ae.TP,useClass:ds,multi:!0},In.O,Pn.e],imports:[D.b2,Rn,Li,zn.Rh.forRoot({toastComponent:qo,positionClass:"toast-bottom-right",closeButton:!0}),ae.JF,Vs.Cz.forRoot(Bi),sn.forRoot()]}),y})();(0,h.G48)(),D.q6().bootstrapModule(di).catch(y=>console.error(y))},1135:(Ye,me,b)=>{b.d(me,{X:()=>h});var D=b(7579);class h extends D.x{constructor(de){super(),this._value=de}get value(){return this.getValue()}_subscribe(de){const $=super._subscribe(de);return!$.closed&&de.next(this._value),$}getValue(){const{hasError:de,thrownError:$,_value:ee}=this;if(de)throw $;return this._throwIfClosed(),ee}next(de){super.next(this._value=de)}}},8306:(Ye,me,b)=>{b.d(me,{y:()=>ne});var D=b(930),h=b(727),ae=b(8822),de=b(4671);var J=b(2416),ue=b(576),pe=b(2806);let ne=(()=>{class Ce{constructor(Oe){Oe&&(this._subscribe=Oe)}lift(Oe){const ce=new Ce;return ce.source=this,ce.operator=Oe,ce}subscribe(Oe,ce,Ne){const Le=function Ue(Ce){return Ce&&Ce instanceof D.Lv||function Z(Ce){return Ce&&(0,ue.m)(Ce.next)&&(0,ue.m)(Ce.error)&&(0,ue.m)(Ce.complete)}(Ce)&&(0,h.Nn)(Ce)}(Oe)?Oe:new D.Hp(Oe,ce,Ne);return(0,pe.x)(()=>{const{operator:Je,source:se}=this;Le.add(Je?Je.call(Le,se):se?this._subscribe(Le):this._trySubscribe(Le))}),Le}_trySubscribe(Oe){try{return this._subscribe(Oe)}catch(ce){Oe.error(ce)}}forEach(Oe,ce){return new(ce=te(ce))((Ne,Le)=>{const Je=new D.Hp({next:se=>{try{Oe(se)}catch(V){Le(V),Je.unsubscribe()}},error:Le,complete:Ne});this.subscribe(Je)})}_subscribe(Oe){var ce;return null===(ce=this.source)||void 0===ce?void 0:ce.subscribe(Oe)}[ae.L](){return this}pipe(...Oe){return function ee(Ce){return 0===Ce.length?de.y:1===Ce.length?Ce[0]:function(Oe){return Ce.reduce((ce,Ne)=>Ne(ce),Oe)}}(Oe)(this)}toPromise(Oe){return new(Oe=te(Oe))((ce,Ne)=>{let Le;this.subscribe(Je=>Le=Je,Je=>Ne(Je),()=>ce(Le))})}}return Ce.create=ye=>new Ce(ye),Ce})();function te(Ce){var ye;return null!==(ye=Ce??J.v.Promise)&&void 0!==ye?ye:Promise}},4707:(Ye,me,b)=>{b.d(me,{t:()=>ae});var D=b(7579),h=b(6063);class ae extends D.x{constructor($=1/0,ee=1/0,J=h.l){super(),this._bufferSize=$,this._windowTime=ee,this._timestampProvider=J,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=ee===1/0,this._bufferSize=Math.max(1,$),this._windowTime=Math.max(1,ee)}next($){const{isStopped:ee,_buffer:J,_infiniteTimeWindow:ue,_timestampProvider:pe,_windowTime:ne}=this;ee||(J.push($),!ue&&J.push(pe.now()+ne)),this._trimBuffer(),super.next($)}_subscribe($){this._throwIfClosed(),this._trimBuffer();const ee=this._innerSubscribe($),{_infiniteTimeWindow:J,_buffer:ue}=this,pe=ue.slice();for(let ne=0;ne<pe.length&&!$.closed;ne+=J?1:2)$.next(pe[ne]);return this._checkFinalizedStatuses($),ee}_trimBuffer(){const{_bufferSize:$,_timestampProvider:ee,_buffer:J,_infiniteTimeWindow:ue}=this,pe=(ue?1:2)*$;if($<1/0&&pe<J.length&&J.splice(0,J.length-pe),!ue){const ne=ee.now();let te=0;for(let Z=1;Z<J.length&&J[Z]<=ne;Z+=2)te=Z;te&&J.splice(0,te+1)}}}},7579:(Ye,me,b)=>{b.d(me,{x:()=>J});var D=b(8306),h=b(727);const de=(0,b(3888).d)(pe=>function(){pe(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var $=b(8737),ee=b(2806);let J=(()=>{class pe extends D.y{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(te){const Z=new ue(this,this);return Z.operator=te,Z}_throwIfClosed(){if(this.closed)throw new de}next(te){(0,ee.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const Z of this.currentObservers)Z.next(te)}})}error(te){(0,ee.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=te;const{observers:Z}=this;for(;Z.length;)Z.shift().error(te)}})}complete(){(0,ee.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:te}=this;for(;te.length;)te.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var te;return(null===(te=this.observers)||void 0===te?void 0:te.length)>0}_trySubscribe(te){return this._throwIfClosed(),super._trySubscribe(te)}_subscribe(te){return this._throwIfClosed(),this._checkFinalizedStatuses(te),this._innerSubscribe(te)}_innerSubscribe(te){const{hasError:Z,isStopped:Ue,observers:Ce}=this;return Z||Ue?h.Lc:(this.currentObservers=null,Ce.push(te),new h.w0(()=>{this.currentObservers=null,(0,$.P)(Ce,te)}))}_checkFinalizedStatuses(te){const{hasError:Z,thrownError:Ue,isStopped:Ce}=this;Z?te.error(Ue):Ce&&te.complete()}asObservable(){const te=new D.y;return te.source=this,te}}return pe.create=(ne,te)=>new ue(ne,te),pe})();class ue extends J{constructor(ne,te){super(),this.destination=ne,this.source=te}next(ne){var te,Z;null===(Z=null===(te=this.destination)||void 0===te?void 0:te.next)||void 0===Z||Z.call(te,ne)}error(ne){var te,Z;null===(Z=null===(te=this.destination)||void 0===te?void 0:te.error)||void 0===Z||Z.call(te,ne)}complete(){var ne,te;null===(te=null===(ne=this.destination)||void 0===ne?void 0:ne.complete)||void 0===te||te.call(ne)}_subscribe(ne){var te,Z;return null!==(Z=null===(te=this.source)||void 0===te?void 0:te.subscribe(ne))&&void 0!==Z?Z:h.Lc}}},930:(Ye,me,b)=>{b.d(me,{Hp:()=>Oe,Lv:()=>Z});var D=b(576),h=b(727),ae=b(2416),de=b(7849),$=b(5032);const ee=pe("C",void 0,void 0);function pe(se,V,F){return{kind:se,value:V,error:F}}var ne=b(3410),te=b(2806);class Z extends h.w0{constructor(V){super(),this.isStopped=!1,V?(this.destination=V,(0,h.Nn)(V)&&V.add(this)):this.destination=Je}static create(V,F,_e){return new Oe(V,F,_e)}next(V){this.isStopped?Le(function ue(se){return pe("N",se,void 0)}(V),this):this._next(V)}error(V){this.isStopped?Le(function J(se){return pe("E",void 0,se)}(V),this):(this.isStopped=!0,this._error(V))}complete(){this.isStopped?Le(ee,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(V){this.destination.next(V)}_error(V){try{this.destination.error(V)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const Ue=Function.prototype.bind;function Ce(se,V){return Ue.call(se,V)}class ye{constructor(V){this.partialObserver=V}next(V){const{partialObserver:F}=this;if(F.next)try{F.next(V)}catch(_e){ce(_e)}}error(V){const{partialObserver:F}=this;if(F.error)try{F.error(V)}catch(_e){ce(_e)}else ce(V)}complete(){const{partialObserver:V}=this;if(V.complete)try{V.complete()}catch(F){ce(F)}}}class Oe extends Z{constructor(V,F,_e){let Q;if(super(),(0,D.m)(V)||!V)Q={next:V??void 0,error:F??void 0,complete:_e??void 0};else{let q;this&&ae.v.useDeprecatedNextContext?(q=Object.create(V),q.unsubscribe=()=>this.unsubscribe(),Q={next:V.next&&Ce(V.next,q),error:V.error&&Ce(V.error,q),complete:V.complete&&Ce(V.complete,q)}):Q=V}this.destination=new ye(Q)}}function ce(se){ae.v.useDeprecatedSynchronousErrorHandling?(0,te.O)(se):(0,de.h)(se)}function Le(se,V){const{onStoppedNotification:F}=ae.v;F&&ne.z.setTimeout(()=>F(se,V))}const Je={closed:!0,next:$.Z,error:function Ne(se){throw se},complete:$.Z}},727:(Ye,me,b)=>{b.d(me,{Lc:()=>ee,w0:()=>$,Nn:()=>J});var D=b(576);const ae=(0,b(3888).d)(pe=>function(te){pe(this),this.message=te?`${te.length} errors occurred during unsubscription:\n${te.map((Z,Ue)=>`${Ue+1}) ${Z.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=te});var de=b(8737);class ${constructor(ne){this.initialTeardown=ne,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let ne;if(!this.closed){this.closed=!0;const{_parentage:te}=this;if(te)if(this._parentage=null,Array.isArray(te))for(const Ce of te)Ce.remove(this);else te.remove(this);const{initialTeardown:Z}=this;if((0,D.m)(Z))try{Z()}catch(Ce){ne=Ce instanceof ae?Ce.errors:[Ce]}const{_finalizers:Ue}=this;if(Ue){this._finalizers=null;for(const Ce of Ue)try{ue(Ce)}catch(ye){ne=ne??[],ye instanceof ae?ne=[...ne,...ye.errors]:ne.push(ye)}}if(ne)throw new ae(ne)}}add(ne){var te;if(ne&&ne!==this)if(this.closed)ue(ne);else{if(ne instanceof $){if(ne.closed||ne._hasParent(this))return;ne._addParent(this)}(this._finalizers=null!==(te=this._finalizers)&&void 0!==te?te:[]).push(ne)}}_hasParent(ne){const{_parentage:te}=this;return te===ne||Array.isArray(te)&&te.includes(ne)}_addParent(ne){const{_parentage:te}=this;this._parentage=Array.isArray(te)?(te.push(ne),te):te?[te,ne]:ne}_removeParent(ne){const{_parentage:te}=this;te===ne?this._parentage=null:Array.isArray(te)&&(0,de.P)(te,ne)}remove(ne){const{_finalizers:te}=this;te&&(0,de.P)(te,ne),ne instanceof $&&ne._removeParent(this)}}$.EMPTY=(()=>{const pe=new $;return pe.closed=!0,pe})();const ee=$.EMPTY;function J(pe){return pe instanceof $||pe&&"closed"in pe&&(0,D.m)(pe.remove)&&(0,D.m)(pe.add)&&(0,D.m)(pe.unsubscribe)}function ue(pe){(0,D.m)(pe)?pe():pe.unsubscribe()}},2416:(Ye,me,b)=>{b.d(me,{v:()=>D});const D={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},9841:(Ye,me,b)=>{b.d(me,{a:()=>ne});var D=b(8306),h=b(4742),ae=b(2076),de=b(4671),$=b(3268),ee=b(3269),J=b(1810),ue=b(5403),pe=b(9672);function ne(...Ue){const Ce=(0,ee.yG)(Ue),ye=(0,ee.jO)(Ue),{args:Oe,keys:ce}=(0,h.D)(Ue);if(0===Oe.length)return(0,ae.D)([],Ce);const Ne=new D.y(function te(Ue,Ce,ye=de.y){return Oe=>{Z(Ce,()=>{const{length:ce}=Ue,Ne=new Array(ce);let Le=ce,Je=ce;for(let se=0;se<ce;se++)Z(Ce,()=>{const V=(0,ae.D)(Ue[se],Ce);let F=!1;V.subscribe((0,ue.x)(Oe,_e=>{Ne[se]=_e,F||(F=!0,Je--),Je||Oe.next(ye(Ne.slice()))},()=>{--Le||Oe.complete()}))},Oe)},Oe)}}(Oe,Ce,ce?Le=>(0,J.n)(ce,Le):de.y));return ye?Ne.pipe((0,$.Z)(ye)):Ne}function Z(Ue,Ce,ye){Ue?(0,pe.f)(ye,Ue,Ce):Ce()}},7272:(Ye,me,b)=>{b.d(me,{z:()=>$});var D=b(8189),ae=b(3269),de=b(2076);function $(...ee){return function h(){return(0,D.J)(1)}()((0,de.D)(ee,(0,ae.yG)(ee)))}},9770:(Ye,me,b)=>{b.d(me,{P:()=>ae});var D=b(8306),h=b(8421);function ae(de){return new D.y($=>{(0,h.Xf)(de()).subscribe($)})}},515:(Ye,me,b)=>{b.d(me,{E:()=>h});const h=new(b(8306).y)($=>$.complete())},2076:(Ye,me,b)=>{b.d(me,{D:()=>_e});var D=b(8421),h=b(9672),ae=b(4482),de=b(5403);function $(Q,q=0){return(0,ae.e)((fe,O)=>{fe.subscribe((0,de.x)(O,k=>(0,h.f)(O,Q,()=>O.next(k),q),()=>(0,h.f)(O,Q,()=>O.complete(),q),k=>(0,h.f)(O,Q,()=>O.error(k),q)))})}function ee(Q,q=0){return(0,ae.e)((fe,O)=>{O.add(Q.schedule(()=>fe.subscribe(O),q))})}var pe=b(8306),te=b(2202),Z=b(576);function Ce(Q,q){if(!Q)throw new Error("Iterable cannot be null");return new pe.y(fe=>{(0,h.f)(fe,q,()=>{const O=Q[Symbol.asyncIterator]();(0,h.f)(fe,q,()=>{O.next().then(k=>{k.done?fe.complete():fe.next(k.value)})},0,!0)})})}var ye=b(3670),Oe=b(8239),ce=b(1144),Ne=b(6495),Le=b(2206),Je=b(4532),se=b(3260);function _e(Q,q){return q?function F(Q,q){if(null!=Q){if((0,ye.c)(Q))return function J(Q,q){return(0,D.Xf)(Q).pipe(ee(q),$(q))}(Q,q);if((0,ce.z)(Q))return function ne(Q,q){return new pe.y(fe=>{let O=0;return q.schedule(function(){O===Q.length?fe.complete():(fe.next(Q[O++]),fe.closed||this.schedule())})})}(Q,q);if((0,Oe.t)(Q))return function ue(Q,q){return(0,D.Xf)(Q).pipe(ee(q),$(q))}(Q,q);if((0,Le.D)(Q))return Ce(Q,q);if((0,Ne.T)(Q))return function Ue(Q,q){return new pe.y(fe=>{let O;return(0,h.f)(fe,q,()=>{O=Q[te.h](),(0,h.f)(fe,q,()=>{let k,G;try{({value:k,done:G}=O.next())}catch(he){return void fe.error(he)}G?fe.complete():fe.next(k)},0,!0)}),()=>(0,Z.m)(O?.return)&&O.return()})}(Q,q);if((0,se.L)(Q))return function V(Q,q){return Ce((0,se.Q)(Q),q)}(Q,q)}throw(0,Je.z)(Q)}(Q,q):(0,D.Xf)(Q)}},8421:(Ye,me,b)=>{b.d(me,{Xf:()=>Ue});var D=b(655),h=b(1144),ae=b(8239),de=b(8306),$=b(3670),ee=b(2206),J=b(4532),ue=b(6495),pe=b(3260),ne=b(576),te=b(7849),Z=b(8822);function Ue(se){if(se instanceof de.y)return se;if(null!=se){if((0,$.c)(se))return function Ce(se){return new de.y(V=>{const F=se[Z.L]();if((0,ne.m)(F.subscribe))return F.subscribe(V);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(se);if((0,h.z)(se))return function ye(se){return new de.y(V=>{for(let F=0;F<se.length&&!V.closed;F++)V.next(se[F]);V.complete()})}(se);if((0,ae.t)(se))return function Oe(se){return new de.y(V=>{se.then(F=>{V.closed||(V.next(F),V.complete())},F=>V.error(F)).then(null,te.h)})}(se);if((0,ee.D)(se))return Ne(se);if((0,ue.T)(se))return function ce(se){return new de.y(V=>{for(const F of se)if(V.next(F),V.closed)return;V.complete()})}(se);if((0,pe.L)(se))return function Le(se){return Ne((0,pe.Q)(se))}(se)}throw(0,J.z)(se)}function Ne(se){return new de.y(V=>{(function Je(se,V){var F,_e,Q,q;return(0,D.mG)(this,void 0,void 0,function*(){try{for(F=(0,D.KL)(se);!(_e=yield F.next()).done;)if(V.next(_e.value),V.closed)return}catch(fe){Q={error:fe}}finally{try{_e&&!_e.done&&(q=F.return)&&(yield q.call(F))}finally{if(Q)throw Q.error}}V.complete()})})(se,V).catch(F=>V.error(F))})}},6451:(Ye,me,b)=>{b.d(me,{T:()=>ee});var D=b(8189),h=b(8421),ae=b(515),de=b(3269),$=b(2076);function ee(...J){const ue=(0,de.yG)(J),pe=(0,de._6)(J,1/0),ne=J;return ne.length?1===ne.length?(0,h.Xf)(ne[0]):(0,D.J)(pe)((0,$.D)(ne,ue)):ae.E}},9646:(Ye,me,b)=>{b.d(me,{of:()=>ae});var D=b(3269),h=b(2076);function ae(...de){const $=(0,D.yG)(de);return(0,h.D)(de,$)}},2843:(Ye,me,b)=>{b.d(me,{_:()=>ae});var D=b(8306),h=b(576);function ae(de,$){const ee=(0,h.m)(de)?de:()=>de,J=ue=>ue.error(ee());return new D.y($?ue=>$.schedule(J,0,ue):J)}},2805:(Ye,me,b)=>{b.d(me,{H:()=>$});var D=b(8306),h=b(4986),ae=b(3532),de=b(1165);function $(ee=0,J,ue=h.P){let pe=-1;return null!=J&&((0,ae.K)(J)?ue=J:pe=J),new D.y(ne=>{let te=(0,de.q)(ee)?+ee-ue.now():ee;te<0&&(te=0);let Z=0;return ue.schedule(function(){ne.closed||(ne.next(Z++),0<=pe?this.schedule(void 0,pe):ne.complete())},te)})}},5403:(Ye,me,b)=>{b.d(me,{x:()=>h});var D=b(930);function h(de,$,ee,J,ue){return new ae(de,$,ee,J,ue)}class ae extends D.Lv{constructor($,ee,J,ue,pe,ne){super($),this.onFinalize=pe,this.shouldUnsubscribe=ne,this._next=ee?function(te){try{ee(te)}catch(Z){$.error(Z)}}:super._next,this._error=ue?function(te){try{ue(te)}catch(Z){$.error(Z)}finally{this.unsubscribe()}}:super._error,this._complete=J?function(){try{J()}catch(te){$.error(te)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var $;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:ee}=this;super.unsubscribe(),!ee&&(null===($=this.onFinalize)||void 0===$||$.call(this))}}}},262:(Ye,me,b)=>{b.d(me,{K:()=>de});var D=b(8421),h=b(5403),ae=b(4482);function de($){return(0,ae.e)((ee,J)=>{let ne,ue=null,pe=!1;ue=ee.subscribe((0,h.x)(J,void 0,void 0,te=>{ne=(0,D.Xf)($(te,de($)(ee))),ue?(ue.unsubscribe(),ue=null,ne.subscribe(J)):pe=!0})),pe&&(ue.unsubscribe(),ue=null,ne.subscribe(J))})}},4351:(Ye,me,b)=>{b.d(me,{b:()=>ae});var D=b(5577),h=b(576);function ae(de,$){return(0,h.m)($)?(0,D.z)(de,$,1):(0,D.z)(de,1)}},1884:(Ye,me,b)=>{b.d(me,{x:()=>de});var D=b(4671),h=b(4482),ae=b(5403);function de(ee,J=D.y){return ee=ee??$,(0,h.e)((ue,pe)=>{let ne,te=!0;ue.subscribe((0,ae.x)(pe,Z=>{const Ue=J(Z);(te||!ee(ne,Ue))&&(te=!1,ne=Ue,pe.next(Z))}))})}function $(ee,J){return ee===J}},9300:(Ye,me,b)=>{b.d(me,{h:()=>ae});var D=b(4482),h=b(5403);function ae(de,$){return(0,D.e)((ee,J)=>{let ue=0;ee.subscribe((0,h.x)(J,pe=>de.call($,pe,ue++)&&J.next(pe)))})}},8746:(Ye,me,b)=>{b.d(me,{x:()=>h});var D=b(4482);function h(ae){return(0,D.e)((de,$)=>{try{de.subscribe($)}finally{$.add(ae)}})}},4004:(Ye,me,b)=>{b.d(me,{U:()=>ae});var D=b(4482),h=b(5403);function ae(de,$){return(0,D.e)((ee,J)=>{let ue=0;ee.subscribe((0,h.x)(J,pe=>{J.next(de.call($,pe,ue++))}))})}},9718:(Ye,me,b)=>{b.d(me,{h:()=>h});var D=b(4004);function h(ae){return(0,D.U)(()=>ae)}},8189:(Ye,me,b)=>{b.d(me,{J:()=>ae});var D=b(5577),h=b(4671);function ae(de=1/0){return(0,D.z)(h.y,de)}},5577:(Ye,me,b)=>{b.d(me,{z:()=>ue});var D=b(4004),h=b(8421),ae=b(4482),de=b(9672),$=b(5403),J=b(576);function ue(pe,ne,te=1/0){return(0,J.m)(ne)?ue((Z,Ue)=>(0,D.U)((Ce,ye)=>ne(Z,Ce,Ue,ye))((0,h.Xf)(pe(Z,Ue))),te):("number"==typeof ne&&(te=ne),(0,ae.e)((Z,Ue)=>function ee(pe,ne,te,Z,Ue,Ce,ye,Oe){const ce=[];let Ne=0,Le=0,Je=!1;const se=()=>{Je&&!ce.length&&!Ne&&ne.complete()},V=_e=>Ne<Z?F(_e):ce.push(_e),F=_e=>{Ce&&ne.next(_e),Ne++;let Q=!1;(0,h.Xf)(te(_e,Le++)).subscribe((0,$.x)(ne,q=>{Ue?.(q),Ce?V(q):ne.next(q)},()=>{Q=!0},void 0,()=>{if(Q)try{for(Ne--;ce.length&&Ne<Z;){const q=ce.shift();ye?(0,de.f)(ne,ye,()=>F(q)):F(q)}se()}catch(q){ne.error(q)}}))};return pe.subscribe((0,$.x)(ne,V,()=>{Je=!0,se()})),()=>{Oe?.()}}(Z,Ue,pe,te)))}},5026:(Ye,me,b)=>{b.d(me,{R:()=>de});var D=b(4482),h=b(5403);function ae($,ee,J,ue,pe){return(ne,te)=>{let Z=J,Ue=ee,Ce=0;ne.subscribe((0,h.x)(te,ye=>{const Oe=Ce++;Ue=Z?$(Ue,ye,Oe):(Z=!0,ye),ue&&te.next(Ue)},pe&&(()=>{Z&&te.next(Ue),te.complete()})))}}function de($,ee){return(0,D.e)(ae($,ee,arguments.length>=2,!0))}},3099:(Ye,me,b)=>{b.d(me,{B:()=>ee});var D=b(2076),h=b(5698),ae=b(7579),de=b(930),$=b(4482);function ee(ue={}){const{connector:pe=(()=>new ae.x),resetOnError:ne=!0,resetOnComplete:te=!0,resetOnRefCountZero:Z=!0}=ue;return Ue=>{let Ce=null,ye=null,Oe=null,ce=0,Ne=!1,Le=!1;const Je=()=>{ye?.unsubscribe(),ye=null},se=()=>{Je(),Ce=Oe=null,Ne=Le=!1},V=()=>{const F=Ce;se(),F?.unsubscribe()};return(0,$.e)((F,_e)=>{ce++,!Le&&!Ne&&Je();const Q=Oe=Oe??pe();_e.add(()=>{ce--,0===ce&&!Le&&!Ne&&(ye=J(V,Z))}),Q.subscribe(_e),Ce||(Ce=new de.Hp({next:q=>Q.next(q),error:q=>{Le=!0,Je(),ye=J(se,ne,q),Q.error(q)},complete:()=>{Ne=!0,Je(),ye=J(se,te),Q.complete()}}),(0,D.D)(F).subscribe(Ce))})(Ue)}}function J(ue,pe,...ne){return!0===pe?(ue(),null):!1===pe?null:pe(...ne).pipe((0,h.q)(1)).subscribe(()=>ue())}},8675:(Ye,me,b)=>{b.d(me,{O:()=>de});var D=b(7272),h=b(3269),ae=b(4482);function de(...$){const ee=(0,h.yG)($);return(0,ae.e)((J,ue)=>{(ee?(0,D.z)($,J,ee):(0,D.z)($,J)).subscribe(ue)})}},3900:(Ye,me,b)=>{b.d(me,{w:()=>de});var D=b(8421),h=b(4482),ae=b(5403);function de($,ee){return(0,h.e)((J,ue)=>{let pe=null,ne=0,te=!1;const Z=()=>te&&!pe&&ue.complete();J.subscribe((0,ae.x)(ue,Ue=>{pe?.unsubscribe();let Ce=0;const ye=ne++;(0,D.Xf)($(Ue,ye)).subscribe(pe=(0,ae.x)(ue,Oe=>ue.next(ee?ee(Ue,Oe,ye,Ce++):Oe),()=>{pe=null,Z()}))},()=>{te=!0,Z()}))})}},5698:(Ye,me,b)=>{b.d(me,{q:()=>de});var D=b(515),h=b(4482),ae=b(5403);function de($){return $<=0?()=>D.E:(0,h.e)((ee,J)=>{let ue=0;ee.subscribe((0,ae.x)(J,pe=>{++ue<=$&&(J.next(pe),$<=ue&&J.complete())}))})}},8505:(Ye,me,b)=>{b.d(me,{b:()=>$});var D=b(576),h=b(4482),ae=b(5403),de=b(4671);function $(ee,J,ue){const pe=(0,D.m)(ee)||J||ue?{next:ee,error:J,complete:ue}:ee;return pe?(0,h.e)((ne,te)=>{var Z;null===(Z=pe.subscribe)||void 0===Z||Z.call(pe);let Ue=!0;ne.subscribe((0,ae.x)(te,Ce=>{var ye;null===(ye=pe.next)||void 0===ye||ye.call(pe,Ce),te.next(Ce)},()=>{var Ce;Ue=!1,null===(Ce=pe.complete)||void 0===Ce||Ce.call(pe),te.complete()},Ce=>{var ye;Ue=!1,null===(ye=pe.error)||void 0===ye||ye.call(pe,Ce),te.error(Ce)},()=>{var Ce,ye;Ue&&(null===(Ce=pe.unsubscribe)||void 0===Ce||Ce.call(pe)),null===(ye=pe.finalize)||void 0===ye||ye.call(pe)}))}):de.y}},4408:(Ye,me,b)=>{b.d(me,{o:()=>$});var D=b(727);class h extends D.w0{constructor(J,ue){super()}schedule(J,ue=0){return this}}const ae={setInterval(ee,J,...ue){const{delegate:pe}=ae;return pe?.setInterval?pe.setInterval(ee,J,...ue):setInterval(ee,J,...ue)},clearInterval(ee){const{delegate:J}=ae;return(J?.clearInterval||clearInterval)(ee)},delegate:void 0};var de=b(8737);class $ extends h{constructor(J,ue){super(J,ue),this.scheduler=J,this.work=ue,this.pending=!1}schedule(J,ue=0){if(this.closed)return this;this.state=J;const pe=this.id,ne=this.scheduler;return null!=pe&&(this.id=this.recycleAsyncId(ne,pe,ue)),this.pending=!0,this.delay=ue,this.id=this.id||this.requestAsyncId(ne,this.id,ue),this}requestAsyncId(J,ue,pe=0){return ae.setInterval(J.flush.bind(J,this),pe)}recycleAsyncId(J,ue,pe=0){if(null!=pe&&this.delay===pe&&!1===this.pending)return ue;ae.clearInterval(ue)}execute(J,ue){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const pe=this._execute(J,ue);if(pe)return pe;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(J,ue){let ne,pe=!1;try{this.work(J)}catch(te){pe=!0,ne=te||new Error("Scheduled action threw falsy error")}if(pe)return this.unsubscribe(),ne}unsubscribe(){if(!this.closed){const{id:J,scheduler:ue}=this,{actions:pe}=ue;this.work=this.state=this.scheduler=null,this.pending=!1,(0,de.P)(pe,this),null!=J&&(this.id=this.recycleAsyncId(ue,J,null)),this.delay=null,super.unsubscribe()}}}},7565:(Ye,me,b)=>{b.d(me,{v:()=>ae});var D=b(6063);class h{constructor($,ee=h.now){this.schedulerActionCtor=$,this.now=ee}schedule($,ee=0,J){return new this.schedulerActionCtor(this,$).schedule(J,ee)}}h.now=D.l.now;class ae extends h{constructor($,ee=h.now){super($,ee),this.actions=[],this._active=!1,this._scheduled=void 0}flush($){const{actions:ee}=this;if(this._active)return void ee.push($);let J;this._active=!0;do{if(J=$.execute($.state,$.delay))break}while($=ee.shift());if(this._active=!1,J){for(;$=ee.shift();)$.unsubscribe();throw J}}}},4986:(Ye,me,b)=>{b.d(me,{P:()=>de,z:()=>ae});var D=b(4408);const ae=new(b(7565).v)(D.o),de=ae},6063:(Ye,me,b)=>{b.d(me,{l:()=>D});const D={now:()=>(D.delegate||Date).now(),delegate:void 0}},3410:(Ye,me,b)=>{b.d(me,{z:()=>D});const D={setTimeout(h,ae,...de){const{delegate:$}=D;return $?.setTimeout?$.setTimeout(h,ae,...de):setTimeout(h,ae,...de)},clearTimeout(h){const{delegate:ae}=D;return(ae?.clearTimeout||clearTimeout)(h)},delegate:void 0}},2202:(Ye,me,b)=>{b.d(me,{h:()=>h});const h=function D(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},8822:(Ye,me,b)=>{b.d(me,{L:()=>D});const D="function"==typeof Symbol&&Symbol.observable||"@@observable"},3269:(Ye,me,b)=>{b.d(me,{_6:()=>ee,jO:()=>de,yG:()=>$});var D=b(576),h=b(3532);function ae(J){return J[J.length-1]}function de(J){return(0,D.m)(ae(J))?J.pop():void 0}function $(J){return(0,h.K)(ae(J))?J.pop():void 0}function ee(J,ue){return"number"==typeof ae(J)?J.pop():ue}},4742:(Ye,me,b)=>{b.d(me,{D:()=>$});const{isArray:D}=Array,{getPrototypeOf:h,prototype:ae,keys:de}=Object;function $(J){if(1===J.length){const ue=J[0];if(D(ue))return{args:ue,keys:null};if(function ee(J){return J&&"object"==typeof J&&h(J)===ae}(ue)){const pe=de(ue);return{args:pe.map(ne=>ue[ne]),keys:pe}}}return{args:J,keys:null}}},8737:(Ye,me,b)=>{function D(h,ae){if(h){const de=h.indexOf(ae);0<=de&&h.splice(de,1)}}b.d(me,{P:()=>D})},3888:(Ye,me,b)=>{function D(h){const de=h($=>{Error.call($),$.stack=(new Error).stack});return de.prototype=Object.create(Error.prototype),de.prototype.constructor=de,de}b.d(me,{d:()=>D})},1810:(Ye,me,b)=>{function D(h,ae){return h.reduce((de,$,ee)=>(de[$]=ae[ee],de),{})}b.d(me,{n:()=>D})},2806:(Ye,me,b)=>{b.d(me,{O:()=>de,x:()=>ae});var D=b(2416);let h=null;function ae($){if(D.v.useDeprecatedSynchronousErrorHandling){const ee=!h;if(ee&&(h={errorThrown:!1,error:null}),$(),ee){const{errorThrown:J,error:ue}=h;if(h=null,J)throw ue}}else $()}function de($){D.v.useDeprecatedSynchronousErrorHandling&&h&&(h.errorThrown=!0,h.error=$)}},9672:(Ye,me,b)=>{function D(h,ae,de,$=0,ee=!1){const J=ae.schedule(function(){de(),ee?h.add(this.schedule(null,$)):this.unsubscribe()},$);if(h.add(J),!ee)return J}b.d(me,{f:()=>D})},4671:(Ye,me,b)=>{function D(h){return h}b.d(me,{y:()=>D})},1144:(Ye,me,b)=>{b.d(me,{z:()=>D});const D=h=>h&&"number"==typeof h.length&&"function"!=typeof h},2206:(Ye,me,b)=>{b.d(me,{D:()=>h});var D=b(576);function h(ae){return Symbol.asyncIterator&&(0,D.m)(ae?.[Symbol.asyncIterator])}},1165:(Ye,me,b)=>{function D(h){return h instanceof Date&&!isNaN(h)}b.d(me,{q:()=>D})},576:(Ye,me,b)=>{function D(h){return"function"==typeof h}b.d(me,{m:()=>D})},3670:(Ye,me,b)=>{b.d(me,{c:()=>ae});var D=b(8822),h=b(576);function ae(de){return(0,h.m)(de[D.L])}},6495:(Ye,me,b)=>{b.d(me,{T:()=>ae});var D=b(2202),h=b(576);function ae(de){return(0,h.m)(de?.[D.h])}},8239:(Ye,me,b)=>{b.d(me,{t:()=>h});var D=b(576);function h(ae){return(0,D.m)(ae?.then)}},3260:(Ye,me,b)=>{b.d(me,{L:()=>de,Q:()=>ae});var D=b(655),h=b(576);function ae($){return(0,D.FC)(this,arguments,function*(){const J=$.getReader();try{for(;;){const{value:ue,done:pe}=yield(0,D.qq)(J.read());if(pe)return yield(0,D.qq)(void 0);yield yield(0,D.qq)(ue)}}finally{J.releaseLock()}})}function de($){return(0,h.m)($?.getReader)}},3532:(Ye,me,b)=>{b.d(me,{K:()=>h});var D=b(576);function h(ae){return ae&&(0,D.m)(ae.schedule)}},4482:(Ye,me,b)=>{b.d(me,{A:()=>h,e:()=>ae});var D=b(576);function h(de){return(0,D.m)(de?.lift)}function ae(de){return $=>{if(h($))return $.lift(function(ee){try{return de(ee,this)}catch(J){this.error(J)}});throw new TypeError("Unable to lift unknown Observable type")}}},3268:(Ye,me,b)=>{b.d(me,{Z:()=>de});var D=b(4004);const{isArray:h}=Array;function de($){return(0,D.U)(ee=>function ae($,ee){return h(ee)?$(...ee):$(ee)}($,ee))}},5032:(Ye,me,b)=>{function D(){}b.d(me,{Z:()=>D})},7849:(Ye,me,b)=>{b.d(me,{h:()=>ae});var D=b(2416),h=b(3410);function ae(de){h.z.setTimeout(()=>{const{onUnhandledError:$}=D.v;if(!$)throw de;$(de)})}},4532:(Ye,me,b)=>{function D(h){return new TypeError(`You provided ${null!==h&&"object"==typeof h?"an invalid object":`'${h}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}b.d(me,{z:()=>D})},655:(Ye,me,b)=>{function ue(O,k,G,he){return new(G||(G=Promise))(function(Se,Qe){function ct($t){try{ze(he.next($t))}catch(hn){Qe(hn)}}function pt($t){try{ze(he.throw($t))}catch(hn){Qe(hn)}}function ze($t){$t.done?Se($t.value):function ie(Se){return Se instanceof G?Se:new G(function(Qe){Qe(Se)})}($t.value).then(ct,pt)}ze((he=he.apply(O,k||[])).next())})}function ce(O){return this instanceof ce?(this.v=O,this):new ce(O)}function Ne(O,k,G){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var ie,he=G.apply(O,k||[]),Se=[];return ie={},Qe("next"),Qe("throw"),Qe("return"),ie[Symbol.asyncIterator]=function(){return this},ie;function Qe(Ae){he[Ae]&&(ie[Ae]=function(Ie){return new Promise(function(X,ge){Se.push([Ae,Ie,X,ge])>1||ct(Ae,Ie)})})}function ct(Ae,Ie){try{!function pt(Ae){Ae.value instanceof ce?Promise.resolve(Ae.value.v).then(ze,$t):hn(Se[0][2],Ae)}(he[Ae](Ie))}catch(X){hn(Se[0][3],X)}}function ze(Ae){ct("next",Ae)}function $t(Ae){ct("throw",Ae)}function hn(Ae,Ie){Ae(Ie),Se.shift(),Se.length&&ct(Se[0][0],Se[0][1])}}function Je(O){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var G,k=O[Symbol.asyncIterator];return k?k.call(O):(O=function Z(O){var k="function"==typeof Symbol&&Symbol.iterator,G=k&&O[k],he=0;if(G)return G.call(O);if(O&&"number"==typeof O.length)return{next:function(){return O&&he>=O.length&&(O=void 0),{value:O&&O[he++],done:!O}}};throw new TypeError(k?"Object is not iterable.":"Symbol.iterator is not defined.")}(O),G={},he("next"),he("throw"),he("return"),G[Symbol.asyncIterator]=function(){return this},G);function he(Se){G[Se]=O[Se]&&function(Qe){return new Promise(function(ct,pt){!function ie(Se,Qe,ct,pt){Promise.resolve(pt).then(function(ze){Se({value:ze,done:ct})},Qe)}(ct,pt,(Qe=O[Se](Qe)).done,Qe.value)})}}}b.d(me,{FC:()=>Ne,KL:()=>Je,mG:()=>ue,qq:()=>ce})},7340:(Ye,me,b)=>{b.d(me,{F4:()=>ne,IO:()=>ye,LC:()=>h,SB:()=>pe,X$:()=>de,ZE:()=>Le,ZN:()=>Ne,_j:()=>D,eR:()=>te,jt:()=>$,k1:()=>Je,l3:()=>ae,oB:()=>ue,pV:()=>Ue,ru:()=>ee,vP:()=>J});class D{}class h{}const ae="*";function de(se,V){return{type:7,name:se,definitions:V,options:{}}}function $(se,V=null){return{type:4,styles:V,timings:se}}function ee(se,V=null){return{type:3,steps:se,options:V}}function J(se,V=null){return{type:2,steps:se,options:V}}function ue(se){return{type:6,styles:se,offset:null}}function pe(se,V,F){return{type:0,name:se,styles:V,options:F}}function ne(se){return{type:5,steps:se}}function te(se,V,F=null){return{type:1,expr:se,animation:V,options:F}}function Ue(se=null){return{type:9,options:se}}function ye(se,V,F=null){return{type:11,selector:se,animation:V,options:F}}function ce(se){Promise.resolve(null).then(se)}class Ne{constructor(V=0,F=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._originalOnDoneFns=[],this._originalOnStartFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=V+F}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(V=>V()),this._onDoneFns=[])}onStart(V){this._originalOnStartFns.push(V),this._onStartFns.push(V)}onDone(V){this._originalOnDoneFns.push(V),this._onDoneFns.push(V)}onDestroy(V){this._onDestroyFns.push(V)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){ce(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(V=>V()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(V=>V()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(V){this._position=this.totalTime?V*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(V){const F="start"==V?this._onStartFns:this._onDoneFns;F.forEach(_e=>_e()),F.length=0}}class Le{constructor(V){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=V;let F=0,_e=0,Q=0;const q=this.players.length;0==q?ce(()=>this._onFinish()):this.players.forEach(fe=>{fe.onDone(()=>{++F==q&&this._onFinish()}),fe.onDestroy(()=>{++_e==q&&this._onDestroy()}),fe.onStart(()=>{++Q==q&&this._onStart()})}),this.totalTime=this.players.reduce((fe,O)=>Math.max(fe,O.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(V=>V()),this._onDoneFns=[])}init(){this.players.forEach(V=>V.init())}onStart(V){this._onStartFns.push(V)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(V=>V()),this._onStartFns=[])}onDone(V){this._onDoneFns.push(V)}onDestroy(V){this._onDestroyFns.push(V)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(V=>V.play())}pause(){this.players.forEach(V=>V.pause())}restart(){this.players.forEach(V=>V.restart())}finish(){this._onFinish(),this.players.forEach(V=>V.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(V=>V.destroy()),this._onDestroyFns.forEach(V=>V()),this._onDestroyFns=[])}reset(){this.players.forEach(V=>V.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(V){const F=V*this.totalTime;this.players.forEach(_e=>{const Q=_e.totalTime?Math.min(1,F/_e.totalTime):1;_e.setPosition(Q)})}getPosition(){const V=this.players.reduce((F,_e)=>null===F||_e.totalTime>F.totalTime?_e:F,null);return null!=V?V.getPosition():0}beforeDestroy(){this.players.forEach(V=>{V.beforeDestroy&&V.beforeDestroy()})}triggerCallback(V){const F="start"==V?this._onStartFns:this._onDoneFns;F.forEach(_e=>_e()),F.length=0}}const Je="!"},6895:(Ye,me,b)=>{b.d(me,{$G:()=>kn,Do:()=>se,ED:()=>Zn,EM:()=>Jn,HT:()=>$,JF:()=>bi,JJ:()=>Ir,K0:()=>J,Mx:()=>Cs,NF:()=>mn,O5:()=>Qt,Ov:()=>yr,PC:()=>Br,RF:()=>Hn,S$:()=>ce,Ts:()=>_i,V_:()=>ne,Ye:()=>V,b0:()=>Je,bD:()=>dn,ez:()=>ei,mk:()=>Fn,n9:()=>cn,q:()=>ae,sg:()=>En,tP:()=>jr,uU:()=>fr,w_:()=>ee});var D=b(4650);let h=null;function ae(){return h}function $(v){h||(h=v)}class ee{}const J=new D.OlP("DocumentToken");let ue=(()=>{class v{historyGo(_){throw new Error("Not implemented")}}return v.\u0275fac=function(_){return new(_||v)},v.\u0275prov=D.Yz7({token:v,factory:function(){return function pe(){return(0,D.LFG)(te)}()},providedIn:"platform"}),v})();const ne=new D.OlP("Location Initialized");let te=(()=>{class v extends ue{constructor(_){super(),this._doc=_,this._init()}_init(){this.location=window.location,this._history=window.history}getBaseHrefFromDOM(){return ae().getBaseHref(this._doc)}onPopState(_){const I=ae().getGlobalEventTarget(this._doc,"window");return I.addEventListener("popstate",_,!1),()=>I.removeEventListener("popstate",_)}onHashChange(_){const I=ae().getGlobalEventTarget(this._doc,"window");return I.addEventListener("hashchange",_,!1),()=>I.removeEventListener("hashchange",_)}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(_){this.location.pathname=_}pushState(_,I,U){Z()?this._history.pushState(_,I,U):this.location.hash=U}replaceState(_,I,U){Z()?this._history.replaceState(_,I,U):this.location.hash=U}forward(){this._history.forward()}back(){this._history.back()}historyGo(_=0){this._history.go(_)}getState(){return this._history.state}}return v.\u0275fac=function(_){return new(_||v)(D.LFG(J))},v.\u0275prov=D.Yz7({token:v,factory:function(){return function Ue(){return new te((0,D.LFG)(J))}()},providedIn:"platform"}),v})();function Z(){return!!window.history.pushState}function Ce(v,M){if(0==v.length)return M;if(0==M.length)return v;let _=0;return v.endsWith("/")&&_++,M.startsWith("/")&&_++,2==_?v+M.substring(1):1==_?v+M:v+"/"+M}function ye(v){const M=v.match(/#|\?|$/),_=M&&M.index||v.length;return v.slice(0,_-("/"===v[_-1]?1:0))+v.slice(_)}function Oe(v){return v&&"?"!==v[0]?"?"+v:v}let ce=(()=>{class v{historyGo(_){throw new Error("Not implemented")}}return v.\u0275fac=function(_){return new(_||v)},v.\u0275prov=D.Yz7({token:v,factory:function(){return function Ne(){const v=(0,D.LFG)(J).location;return new Je((0,D.LFG)(ue),v&&v.origin||"")}()},providedIn:"root"}),v})();const Le=new D.OlP("appBaseHref");let Je=(()=>{class v extends ce{constructor(_,I){if(super(),this._platformLocation=_,this._removeListenerFns=[],null==I&&(I=this._platformLocation.getBaseHrefFromDOM()),null==I)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=I}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(_){this._removeListenerFns.push(this._platformLocation.onPopState(_),this._platformLocation.onHashChange(_))}getBaseHref(){return this._baseHref}prepareExternalUrl(_){return Ce(this._baseHref,_)}path(_=!1){const I=this._platformLocation.pathname+Oe(this._platformLocation.search),U=this._platformLocation.hash;return U&&_?`${I}${U}`:I}pushState(_,I,U,ve){const Re=this.prepareExternalUrl(U+Oe(ve));this._platformLocation.pushState(_,I,Re)}replaceState(_,I,U,ve){const Re=this.prepareExternalUrl(U+Oe(ve));this._platformLocation.replaceState(_,I,Re)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(_=0){this._platformLocation.historyGo?.(_)}}return v.\u0275fac=function(_){return new(_||v)(D.LFG(ue),D.LFG(Le,8))},v.\u0275prov=D.Yz7({token:v,factory:v.\u0275fac}),v})(),se=(()=>{class v extends ce{constructor(_,I){super(),this._platformLocation=_,this._baseHref="",this._removeListenerFns=[],null!=I&&(this._baseHref=I)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(_){this._removeListenerFns.push(this._platformLocation.onPopState(_),this._platformLocation.onHashChange(_))}getBaseHref(){return this._baseHref}path(_=!1){let I=this._platformLocation.hash;return null==I&&(I="#"),I.length>0?I.substring(1):I}prepareExternalUrl(_){const I=Ce(this._baseHref,_);return I.length>0?"#"+I:I}pushState(_,I,U,ve){let Re=this.prepareExternalUrl(U+Oe(ve));0==Re.length&&(Re=this._platformLocation.pathname),this._platformLocation.pushState(_,I,Re)}replaceState(_,I,U,ve){let Re=this.prepareExternalUrl(U+Oe(ve));0==Re.length&&(Re=this._platformLocation.pathname),this._platformLocation.replaceState(_,I,Re)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(_=0){this._platformLocation.historyGo?.(_)}}return v.\u0275fac=function(_){return new(_||v)(D.LFG(ue),D.LFG(Le,8))},v.\u0275prov=D.Yz7({token:v,factory:v.\u0275fac}),v})(),V=(()=>{class v{constructor(_){this._subject=new D.vpe,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=_;const I=this._locationStrategy.getBaseHref();this._baseHref=ye(Q(I)),this._locationStrategy.onPopState(U=>{this._subject.emit({url:this.path(!0),pop:!0,state:U.state,type:U.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(_=!1){return this.normalize(this._locationStrategy.path(_))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(_,I=""){return this.path()==this.normalize(_+Oe(I))}normalize(_){return v.stripTrailingSlash(function _e(v,M){return v&&M.startsWith(v)?M.substring(v.length):M}(this._baseHref,Q(_)))}prepareExternalUrl(_){return _&&"/"!==_[0]&&(_="/"+_),this._locationStrategy.prepareExternalUrl(_)}go(_,I="",U=null){this._locationStrategy.pushState(U,"",_,I),this._notifyUrlChangeListeners(this.prepareExternalUrl(_+Oe(I)),U)}replaceState(_,I="",U=null){this._locationStrategy.replaceState(U,"",_,I),this._notifyUrlChangeListeners(this.prepareExternalUrl(_+Oe(I)),U)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(_=0){this._locationStrategy.historyGo?.(_)}onUrlChange(_){return this._urlChangeListeners.push(_),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(I=>{this._notifyUrlChangeListeners(I.url,I.state)})),()=>{const I=this._urlChangeListeners.indexOf(_);this._urlChangeListeners.splice(I,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(_="",I){this._urlChangeListeners.forEach(U=>U(_,I))}subscribe(_,I,U){return this._subject.subscribe({next:_,error:I,complete:U})}}return v.normalizeQueryParams=Oe,v.joinWithSlash=Ce,v.stripTrailingSlash=ye,v.\u0275fac=function(_){return new(_||v)(D.LFG(ce))},v.\u0275prov=D.Yz7({token:v,factory:function(){return function F(){return new V((0,D.LFG)(ce))}()},providedIn:"root"}),v})();function Q(v){return v.replace(/\/index.html$/,"")}var fe=(()=>((fe=fe||{})[fe.Decimal=0]="Decimal",fe[fe.Percent=1]="Percent",fe[fe.Currency=2]="Currency",fe[fe.Scientific=3]="Scientific",fe))(),k=(()=>((k=k||{})[k.Format=0]="Format",k[k.Standalone=1]="Standalone",k))(),G=(()=>((G=G||{})[G.Narrow=0]="Narrow",G[G.Abbreviated=1]="Abbreviated",G[G.Wide=2]="Wide",G[G.Short=3]="Short",G))(),he=(()=>((he=he||{})[he.Short=0]="Short",he[he.Medium=1]="Medium",he[he.Long=2]="Long",he[he.Full=3]="Full",he))(),ie=(()=>((ie=ie||{})[ie.Decimal=0]="Decimal",ie[ie.Group=1]="Group",ie[ie.List=2]="List",ie[ie.PercentSign=3]="PercentSign",ie[ie.PlusSign=4]="PlusSign",ie[ie.MinusSign=5]="MinusSign",ie[ie.Exponential=6]="Exponential",ie[ie.SuperscriptingExponent=7]="SuperscriptingExponent",ie[ie.PerMille=8]="PerMille",ie[ie.Infinity=9]="Infinity",ie[ie.NaN=10]="NaN",ie[ie.TimeSeparator=11]="TimeSeparator",ie[ie.CurrencyDecimal=12]="CurrencyDecimal",ie[ie.CurrencyGroup=13]="CurrencyGroup",ie))();function Ie(v,M){return tt((0,D.cg1)(v)[D.wAp.DateFormat],M)}function X(v,M){return tt((0,D.cg1)(v)[D.wAp.TimeFormat],M)}function ge(v,M){return tt((0,D.cg1)(v)[D.wAp.DateTimeFormat],M)}function He(v,M){const _=(0,D.cg1)(v),I=_[D.wAp.NumberSymbols][M];if(typeof I>"u"){if(M===ie.CurrencyDecimal)return _[D.wAp.NumberSymbols][ie.Decimal];if(M===ie.CurrencyGroup)return _[D.wAp.NumberSymbols][ie.Group]}return I}function Rn(v){if(!v[D.wAp.ExtraData])throw new Error(`Missing extra locale data for the locale "${v[D.wAp.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function tt(v,M){for(let _=M;_>-1;_--)if(typeof v[_]<"u")return v[_];throw new Error("Locale data API: locale data undefined")}function on(v){const[M,_]=v.split(":");return{hours:+M,minutes:+_}}const Ee=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,z={},Y=/((?:[^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 be=(()=>((be=be||{})[be.Short=0]="Short",be[be.ShortGMT=1]="ShortGMT",be[be.Long=2]="Long",be[be.Extended=3]="Extended",be))(),re=(()=>((re=re||{})[re.FullYear=0]="FullYear",re[re.Month=1]="Month",re[re.Date=2]="Date",re[re.Hours=3]="Hours",re[re.Minutes=4]="Minutes",re[re.Seconds=5]="Seconds",re[re.FractionalSeconds=6]="FractionalSeconds",re[re.Day=7]="Day",re))(),Be=(()=>((Be=Be||{})[Be.DayPeriods=0]="DayPeriods",Be[Be.Days=1]="Days",Be[Be.Months=2]="Months",Be[Be.Eras=3]="Eras",Be))();function Ft(v,M,_,I){let U=function Kt(v){if(un(v))return v;if("number"==typeof v&&!isNaN(v))return new Date(v);if("string"==typeof v){if(v=v.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(v)){const[U,ve=1,Re=1]=v.split("-").map(Xe=>+Xe);return _t(U,ve-1,Re)}const _=parseFloat(v);if(!isNaN(v-_))return new Date(_);let I;if(I=v.match(Ee))return function ln(v){const M=new Date(0);let _=0,I=0;const U=v[8]?M.setUTCFullYear:M.setFullYear,ve=v[8]?M.setUTCHours:M.setHours;v[9]&&(_=Number(v[9]+v[10]),I=Number(v[9]+v[11])),U.call(M,Number(v[1]),Number(v[2])-1,Number(v[3]));const Re=Number(v[4]||0)-_,Xe=Number(v[5]||0)-I,Tt=Number(v[6]||0),Ut=Math.floor(1e3*parseFloat("0."+(v[7]||0)));return ve.call(M,Re,Xe,Tt,Ut),M}(I)}const M=new Date(v);if(!un(M))throw new Error(`Unable to convert "${v}" into a date`);return M}(v);M=je(_,M)||M;let Xe,Re=[];for(;M;){if(Xe=Y.exec(M),!Xe){Re.push(M);break}{Re=Re.concat(Xe.slice(1));const xt=Re.pop();if(!xt)break;M=xt}}let Tt=U.getTimezoneOffset();I&&(Tt=Ct(I,Tt),U=function an(v,M,_){const I=_?-1:1,U=v.getTimezoneOffset();return function At(v,M){return(v=new Date(v.getTime())).setMinutes(v.getMinutes()+M),v}(v,I*(Ct(M,U)-U))}(U,I,!0));let Ut="";return Re.forEach(xt=>{const Mt=function Qn(v){if(ir[v])return ir[v];let M;switch(v){case"G":case"GG":case"GGG":M=ot(Be.Eras,G.Abbreviated);break;case"GGGG":M=ot(Be.Eras,G.Wide);break;case"GGGGG":M=ot(Be.Eras,G.Narrow);break;case"y":M=it(re.FullYear,1,0,!1,!0);break;case"yy":M=it(re.FullYear,2,0,!0,!0);break;case"yyy":M=it(re.FullYear,3,0,!1,!0);break;case"yyyy":M=it(re.FullYear,4,0,!1,!0);break;case"Y":M=mr(1);break;case"YY":M=mr(2,!0);break;case"YYY":M=mr(3);break;case"YYYY":M=mr(4);break;case"M":case"L":M=it(re.Month,1,1);break;case"MM":case"LL":M=it(re.Month,2,1);break;case"MMM":M=ot(Be.Months,G.Abbreviated);break;case"MMMM":M=ot(Be.Months,G.Wide);break;case"MMMMM":M=ot(Be.Months,G.Narrow);break;case"LLL":M=ot(Be.Months,G.Abbreviated,k.Standalone);break;case"LLLL":M=ot(Be.Months,G.Wide,k.Standalone);break;case"LLLLL":M=ot(Be.Months,G.Narrow,k.Standalone);break;case"w":M=gr(1);break;case"ww":M=gr(2);break;case"W":M=gr(1,!0);break;case"d":M=it(re.Date,1);break;case"dd":M=it(re.Date,2);break;case"c":case"cc":M=it(re.Day,1);break;case"ccc":M=ot(Be.Days,G.Abbreviated,k.Standalone);break;case"cccc":M=ot(Be.Days,G.Wide,k.Standalone);break;case"ccccc":M=ot(Be.Days,G.Narrow,k.Standalone);break;case"cccccc":M=ot(Be.Days,G.Short,k.Standalone);break;case"E":case"EE":case"EEE":M=ot(Be.Days,G.Abbreviated);break;case"EEEE":M=ot(Be.Days,G.Wide);break;case"EEEEE":M=ot(Be.Days,G.Narrow);break;case"EEEEEE":M=ot(Be.Days,G.Short);break;case"a":case"aa":case"aaa":M=ot(Be.DayPeriods,G.Abbreviated);break;case"aaaa":M=ot(Be.DayPeriods,G.Wide);break;case"aaaaa":M=ot(Be.DayPeriods,G.Narrow);break;case"b":case"bb":case"bbb":M=ot(Be.DayPeriods,G.Abbreviated,k.Standalone,!0);break;case"bbbb":M=ot(Be.DayPeriods,G.Wide,k.Standalone,!0);break;case"bbbbb":M=ot(Be.DayPeriods,G.Narrow,k.Standalone,!0);break;case"B":case"BB":case"BBB":M=ot(Be.DayPeriods,G.Abbreviated,k.Format,!0);break;case"BBBB":M=ot(Be.DayPeriods,G.Wide,k.Format,!0);break;case"BBBBB":M=ot(Be.DayPeriods,G.Narrow,k.Format,!0);break;case"h":M=it(re.Hours,1,-12);break;case"hh":M=it(re.Hours,2,-12);break;case"H":M=it(re.Hours,1);break;case"HH":M=it(re.Hours,2);break;case"m":M=it(re.Minutes,1);break;case"mm":M=it(re.Minutes,2);break;case"s":M=it(re.Seconds,1);break;case"ss":M=it(re.Seconds,2);break;case"S":M=it(re.FractionalSeconds,1);break;case"SS":M=it(re.FractionalSeconds,2);break;case"SSS":M=it(re.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":M=An(be.Short);break;case"ZZZZZ":M=An(be.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":M=An(be.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":M=An(be.Long);break;default:return null}return ir[v]=M,M}(xt);Ut+=Mt?Mt(U,_,Tt):"''"===xt?"'":xt.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),Ut}function _t(v,M,_){const I=new Date(0);return I.setFullYear(v,M,_),I.setHours(0,0,0),I}function je(v,M){const _=function Qe(v){return(0,D.cg1)(v)[D.wAp.LocaleId]}(v);if(z[_]=z[_]||{},z[_][M])return z[_][M];let I="";switch(M){case"shortDate":I=Ie(v,he.Short);break;case"mediumDate":I=Ie(v,he.Medium);break;case"longDate":I=Ie(v,he.Long);break;case"fullDate":I=Ie(v,he.Full);break;case"shortTime":I=X(v,he.Short);break;case"mediumTime":I=X(v,he.Medium);break;case"longTime":I=X(v,he.Long);break;case"fullTime":I=X(v,he.Full);break;case"short":const U=je(v,"shortTime"),ve=je(v,"shortDate");I=Lt(ge(v,he.Short),[U,ve]);break;case"medium":const Re=je(v,"mediumTime"),Xe=je(v,"mediumDate");I=Lt(ge(v,he.Medium),[Re,Xe]);break;case"long":const Tt=je(v,"longTime"),Ut=je(v,"longDate");I=Lt(ge(v,he.Long),[Tt,Ut]);break;case"full":const xt=je(v,"fullTime"),Mt=je(v,"fullDate");I=Lt(ge(v,he.Full),[xt,Mt])}return I&&(z[_][M]=I),I}function Lt(v,M){return M&&(v=v.replace(/\{([^}]+)}/g,function(_,I){return null!=M&&I in M?M[I]:_})),v}function Wt(v,M,_="-",I,U){let ve="";(v<0||U&&v<=0)&&(U?v=1-v:(v=-v,ve=_));let Re=String(v);for(;Re.length<M;)Re="0"+Re;return I&&(Re=Re.slice(Re.length-M)),ve+Re}function it(v,M,_=0,I=!1,U=!1){return function(ve,Re){let Xe=function yt(v,M){switch(v){case re.FullYear:return M.getFullYear();case re.Month:return M.getMonth();case re.Date:return M.getDate();case re.Hours:return M.getHours();case re.Minutes:return M.getMinutes();case re.Seconds:return M.getSeconds();case re.FractionalSeconds:return M.getMilliseconds();case re.Day:return M.getDay();default:throw new Error(`Unknown DateType value "${v}".`)}}(v,ve);if((_>0||Xe>-_)&&(Xe+=_),v===re.Hours)0===Xe&&-12===_&&(Xe=12);else if(v===re.FractionalSeconds)return function Cn(v,M){return Wt(v,3).substring(0,M)}(Xe,M);const Tt=He(Re,ie.MinusSign);return Wt(Xe,M,Tt,I,U)}}function ot(v,M,_=k.Format,I=!1){return function(U,ve){return function Yn(v,M,_,I,U,ve){switch(_){case Be.Months:return function ze(v,M,_){const I=(0,D.cg1)(v),ve=tt([I[D.wAp.MonthsFormat],I[D.wAp.MonthsStandalone]],M);return tt(ve,_)}(M,U,I)[v.getMonth()];case Be.Days:return function pt(v,M,_){const I=(0,D.cg1)(v),ve=tt([I[D.wAp.DaysFormat],I[D.wAp.DaysStandalone]],M);return tt(ve,_)}(M,U,I)[v.getDay()];case Be.DayPeriods:const Re=v.getHours(),Xe=v.getMinutes();if(ve){const Ut=function xn(v){const M=(0,D.cg1)(v);return Rn(M),(M[D.wAp.ExtraData][2]||[]).map(I=>"string"==typeof I?on(I):[on(I[0]),on(I[1])])}(M),xt=function st(v,M,_){const I=(0,D.cg1)(v);Rn(I);const ve=tt([I[D.wAp.ExtraData][0],I[D.wAp.ExtraData][1]],M)||[];return tt(ve,_)||[]}(M,U,I),Mt=Ut.findIndex(Ht=>{if(Array.isArray(Ht)){const[Rt,qt]=Ht,rt=Re>=Rt.hours&&Xe>=Rt.minutes,er=Re<qt.hours||Re===qt.hours&&Xe<qt.minutes;if(Rt.hours<qt.hours){if(rt&&er)return!0}else if(rt||er)return!0}else if(Ht.hours===Re&&Ht.minutes===Xe)return!0;return!1});if(-1!==Mt)return xt[Mt]}return function ct(v,M,_){const I=(0,D.cg1)(v),ve=tt([I[D.wAp.DayPeriodsFormat],I[D.wAp.DayPeriodsStandalone]],M);return tt(ve,_)}(M,U,I)[Re<12?0:1];case Be.Eras:return function $t(v,M){return tt((0,D.cg1)(v)[D.wAp.Eras],M)}(M,I)[v.getFullYear()<=0?0:1];default:throw new Error(`unexpected translation type ${_}`)}}(U,ve,v,M,_,I)}}function An(v){return function(M,_,I){const U=-1*I,ve=He(_,ie.MinusSign),Re=U>0?Math.floor(U/60):Math.ceil(U/60);switch(v){case be.Short:return(U>=0?"+":"")+Wt(Re,2,ve)+Wt(Math.abs(U%60),2,ve);case be.ShortGMT:return"GMT"+(U>=0?"+":"")+Wt(Re,1,ve);case be.Long:return"GMT"+(U>=0?"+":"")+Wt(Re,2,ve)+":"+Wt(Math.abs(U%60),2,ve);case be.Extended:return 0===I?"Z":(U>=0?"+":"")+Wt(Re,2,ve)+":"+Wt(Math.abs(U%60),2,ve);default:throw new Error(`Unknown zone width "${v}"`)}}}function Fr(v){return _t(v.getFullYear(),v.getMonth(),v.getDate()+(4-v.getDay()))}function gr(v,M=!1){return function(_,I){let U;if(M){const ve=new Date(_.getFullYear(),_.getMonth(),1).getDay()-1,Re=_.getDate();U=1+Math.floor((Re+ve)/7)}else{const ve=Fr(_),Re=function Tr(v){const M=_t(v,0,1).getDay();return _t(v,0,1+(M<=4?4:11)-M)}(ve.getFullYear()),Xe=ve.getTime()-Re.getTime();U=1+Math.round(Xe/6048e5)}return Wt(U,v,He(I,ie.MinusSign))}}function mr(v,M=!1){return function(_,I){return Wt(Fr(_).getFullYear(),v,He(I,ie.MinusSign),M)}}const ir={};function Ct(v,M){v=v.replace(/:/g,"");const _=Date.parse("Jan 01, 1970 00:00:00 "+v)/6e4;return isNaN(_)?M:_}function un(v){return v instanceof Date&&!isNaN(v.valueOf())}const Ve=/^(\d+)?\.((\d+)(-(\d+))?)?$/,W=".",L="0";function lr(v){const M=parseInt(v);if(isNaN(M))throw new Error("Invalid integer literal when parsing "+v);return M}function Cs(v,M){M=encodeURIComponent(M);for(const _ of v.split(";")){const I=_.indexOf("="),[U,ve]=-1==I?[_,""]:[_.slice(0,I),_.slice(I+1)];if(U.trim()===M)return decodeURIComponent(ve)}return null}let Fn=(()=>{class v{constructor(_,I,U,ve){this._iterableDiffers=_,this._keyValueDiffers=I,this._ngEl=U,this._renderer=ve,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}set klass(_){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof _?_.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}set ngClass(_){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof _?_.split(/\s+/):_,this._rawClass&&((0,D.sIi)(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}ngDoCheck(){if(this._iterableDiffer){const _=this._iterableDiffer.diff(this._rawClass);_&&this._applyIterableChanges(_)}else if(this._keyValueDiffer){const _=this._keyValueDiffer.diff(this._rawClass);_&&this._applyKeyValueChanges(_)}}_applyKeyValueChanges(_){_.forEachAddedItem(I=>this._toggleClass(I.key,I.currentValue)),_.forEachChangedItem(I=>this._toggleClass(I.key,I.currentValue)),_.forEachRemovedItem(I=>{I.previousValue&&this._toggleClass(I.key,!1)})}_applyIterableChanges(_){_.forEachAddedItem(I=>{if("string"!=typeof I.item)throw new Error(`NgClass can only toggle CSS classes expressed as strings, got ${(0,D.AaK)(I.item)}`);this._toggleClass(I.item,!0)}),_.forEachRemovedItem(I=>this._toggleClass(I.item,!1))}_applyClasses(_){_&&(Array.isArray(_)||_ instanceof Set?_.forEach(I=>this._toggleClass(I,!0)):Object.keys(_).forEach(I=>this._toggleClass(I,!!_[I])))}_removeClasses(_){_&&(Array.isArray(_)||_ instanceof Set?_.forEach(I=>this._toggleClass(I,!1)):Object.keys(_).forEach(I=>this._toggleClass(I,!1)))}_toggleClass(_,I){(_=_.trim())&&_.split(/\s+/g).forEach(U=>{I?this._renderer.addClass(this._ngEl.nativeElement,U):this._renderer.removeClass(this._ngEl.nativeElement,U)})}}return v.\u0275fac=function(_){return new(_||v)(D.Y36(D.ZZ4),D.Y36(D.aQg),D.Y36(D.SBq),D.Y36(D.Qsj))},v.\u0275dir=D.lG2({type:v,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"}}),v})(),kn=(()=>{class v{constructor(_){this._viewContainerRef=_,this.ngComponentOutlet=null}ngOnChanges(_){const{_viewContainerRef:I,ngComponentOutletNgModule:U,ngComponentOutletNgModuleFactory:ve}=this;if(I.clear(),this._componentRef=void 0,this.ngComponentOutlet){const Re=this.ngComponentOutletInjector||I.parentInjector;(_.ngComponentOutletNgModule||_.ngComponentOutletNgModuleFactory)&&(this._moduleRef&&this._moduleRef.destroy(),this._moduleRef=U?(0,D.hM9)(U,ts(Re)):ve?ve.create(ts(Re)):void 0),this._componentRef=I.createComponent(this.ngComponentOutlet,{index:I.length,injector:Re,ngModuleRef:this._moduleRef,projectableNodes:this.ngComponentOutletContent})}}ngOnDestroy(){this._moduleRef&&this._moduleRef.destroy()}}return v.\u0275fac=function(_){return new(_||v)(D.Y36(D.s_b))},v.\u0275dir=D.lG2({type:v,selectors:[["","ngComponentOutlet",""]],inputs:{ngComponentOutlet:"ngComponentOutlet",ngComponentOutletInjector:"ngComponentOutletInjector",ngComponentOutletContent:"ngComponentOutletContent",ngComponentOutletNgModule:"ngComponentOutletNgModule",ngComponentOutletNgModuleFactory:"ngComponentOutletNgModuleFactory"},features:[D.TTD]}),v})();function ts(v){return v.get(D.h0i).injector}class Mr{constructor(M,_,I,U){this.$implicit=M,this.ngForOf=_,this.index=I,this.count=U}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 En=(()=>{class v{constructor(_,I,U){this._viewContainer=_,this._template=I,this._differs=U,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForOf(_){this._ngForOf=_,this._ngForOfDirty=!0}set ngForTrackBy(_){this._trackByFn=_}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(_){_&&(this._template=_)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const _=this._ngForOf;!this._differ&&_&&(this._differ=this._differs.find(_).create(this.ngForTrackBy))}if(this._differ){const _=this._differ.diff(this._ngForOf);_&&this._applyChanges(_)}}_applyChanges(_){const I=this._viewContainer;_.forEachOperation((U,ve,Re)=>{if(null==U.previousIndex)I.createEmbeddedView(this._template,new Mr(U.item,this._ngForOf,-1,-1),null===Re?void 0:Re);else if(null==Re)I.remove(null===ve?void 0:ve);else if(null!==ve){const Xe=I.get(ve);I.move(Xe,Re),en(Xe,U)}});for(let U=0,ve=I.length;U<ve;U++){const Xe=I.get(U).context;Xe.index=U,Xe.count=ve,Xe.ngForOf=this._ngForOf}_.forEachIdentityChange(U=>{en(I.get(U.currentIndex),U)})}static ngTemplateContextGuard(_,I){return!0}}return v.\u0275fac=function(_){return new(_||v)(D.Y36(D.s_b),D.Y36(D.Rgc),D.Y36(D.ZZ4))},v.\u0275dir=D.lG2({type:v,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}}),v})();function en(v,M){v.context.$implicit=M.item}let Qt=(()=>{class v{constructor(_,I){this._viewContainer=_,this._context=new pn,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=I}set ngIf(_){this._context.$implicit=this._context.ngIf=_,this._updateView()}set ngIfThen(_){qn("ngIfThen",_),this._thenTemplateRef=_,this._thenViewRef=null,this._updateView()}set ngIfElse(_){qn("ngIfElse",_),this._elseTemplateRef=_,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(_,I){return!0}}return v.\u0275fac=function(_){return new(_||v)(D.Y36(D.s_b),D.Y36(D.Rgc))},v.\u0275dir=D.lG2({type:v,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}}),v})();class pn{constructor(){this.$implicit=null,this.ngIf=null}}function qn(v,M){if(M&&!M.createEmbeddedView)throw new Error(`${v} must be a TemplateRef, but received '${(0,D.AaK)(M)}'.`)}class Ln{constructor(M,_){this._viewContainerRef=M,this._templateRef=_,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(M){M&&!this._created?this.create():!M&&this._created&&this.destroy()}}let Hn=(()=>{class v{constructor(){this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(_){this._ngSwitch=_,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(_){this._defaultViews||(this._defaultViews=[]),this._defaultViews.push(_)}_matchCase(_){const I=_==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||I,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),I}_updateDefaultCases(_){if(this._defaultViews&&_!==this._defaultUsed){this._defaultUsed=_;for(let I=0;I<this._defaultViews.length;I++)this._defaultViews[I].enforceState(_)}}}return v.\u0275fac=function(_){return new(_||v)},v.\u0275dir=D.lG2({type:v,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"}}),v})(),cn=(()=>{class v{constructor(_,I,U){this.ngSwitch=U,U._addCase(),this._view=new Ln(_,I)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}return v.\u0275fac=function(_){return new(_||v)(D.Y36(D.s_b),D.Y36(D.Rgc),D.Y36(Hn,9))},v.\u0275dir=D.lG2({type:v,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"}}),v})(),Zn=(()=>{class v{constructor(_,I,U){U._addDefault(new Ln(_,I))}}return v.\u0275fac=function(_){return new(_||v)(D.Y36(D.s_b),D.Y36(D.Rgc),D.Y36(Hn,9))},v.\u0275dir=D.lG2({type:v,selectors:[["","ngSwitchDefault",""]]}),v})(),Br=(()=>{class v{constructor(_,I,U){this._ngEl=_,this._differs=I,this._renderer=U,this._ngStyle=null,this._differ=null}set ngStyle(_){this._ngStyle=_,!this._differ&&_&&(this._differ=this._differs.find(_).create())}ngDoCheck(){if(this._differ){const _=this._differ.diff(this._ngStyle);_&&this._applyChanges(_)}}_setStyle(_,I){const[U,ve]=_.split("."),Re=-1===U.indexOf("-")?void 0:D.JOm.DashCase;null!=I?this._renderer.setStyle(this._ngEl.nativeElement,U,ve?`${I}${ve}`:I,Re):this._renderer.removeStyle(this._ngEl.nativeElement,U,Re)}_applyChanges(_){_.forEachRemovedItem(I=>this._setStyle(I.key,null)),_.forEachAddedItem(I=>this._setStyle(I.key,I.currentValue)),_.forEachChangedItem(I=>this._setStyle(I.key,I.currentValue))}}return v.\u0275fac=function(_){return new(_||v)(D.Y36(D.SBq),D.Y36(D.aQg),D.Y36(D.Qsj))},v.\u0275dir=D.lG2({type:v,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}}),v})(),jr=(()=>{class v{constructor(_){this._viewContainerRef=_,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(_){if(_.ngTemplateOutlet||_.ngTemplateOutletInjector){const I=this._viewContainerRef;if(this._viewRef&&I.remove(I.indexOf(this._viewRef)),this.ngTemplateOutlet){const{ngTemplateOutlet:U,ngTemplateOutletContext:ve,ngTemplateOutletInjector:Re}=this;this._viewRef=I.createEmbeddedView(U,ve,Re?{injector:Re}:void 0)}else this._viewRef=null}else this._viewRef&&_.ngTemplateOutletContext&&this.ngTemplateOutletContext&&(this._viewRef.context=this.ngTemplateOutletContext)}}return v.\u0275fac=function(_){return new(_||v)(D.Y36(D.s_b))},v.\u0275dir=D.lG2({type:v,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},features:[D.TTD]}),v})();function bn(v,M){return new D.vHH(2100,!1)}class dr{createSubscription(M,_){return M.subscribe({next:_,error:I=>{throw I}})}dispose(M){M.unsubscribe()}}class Js{createSubscription(M,_){return M.then(_,I=>{throw I})}dispose(M){}}const yi=new Js,Bn=new dr;let yr=(()=>{class v{constructor(_){this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null,this._ref=_}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(_){return this._obj?_!==this._obj?(this._dispose(),this.transform(_)):this._latestValue:(_&&this._subscribe(_),this._latestValue)}_subscribe(_){this._obj=_,this._strategy=this._selectStrategy(_),this._subscription=this._strategy.createSubscription(_,I=>this._updateLatestValue(_,I))}_selectStrategy(_){if((0,D.QGY)(_))return yi;if((0,D.F4k)(_))return Bn;throw bn()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(_,I){_===this._obj&&(this._latestValue=I,this._ref.markForCheck())}}return v.\u0275fac=function(_){return new(_||v)(D.Y36(D.sBO,16))},v.\u0275pipe=D.Yjl({name:"async",type:v,pure:!1}),v})();const bs=new D.OlP("DATE_PIPE_DEFAULT_TIMEZONE");let fr=(()=>{class v{constructor(_,I){this.locale=_,this.defaultTimezone=I}transform(_,I="mediumDate",U,ve){if(null==_||""===_||_!=_)return null;try{return Ft(_,I,ve||this.locale,U??this.defaultTimezone??void 0)}catch(Re){throw bn()}}}return v.\u0275fac=function(_){return new(_||v)(D.Y36(D.soG,16),D.Y36(bs,24))},v.\u0275pipe=D.Yjl({name:"date",type:v,pure:!0}),v})(),_i=(()=>{class v{transform(_){return JSON.stringify(_,null,2)}}return v.\u0275fac=function(_){return new(_||v)},v.\u0275pipe=D.Yjl({name:"json",type:v,pure:!1}),v})(),Ir=(()=>{class v{constructor(_){this._locale=_}transform(_,I,U){if(!function Ms(v){return!(null==v||""===v||v!=v)}(_))return null;U=U||this._locale;try{return function ar(v,M,_){return function jt(v,M,_,I,U,ve,Re=!1){let Xe="",Tt=!1;if(isFinite(v)){let Ut=function rn(v){let I,U,ve,Re,Xe,M=Math.abs(v)+"",_=0;for((U=M.indexOf(W))>-1&&(M=M.replace(W,"")),(ve=M.search(/e/i))>0?(U<0&&(U=ve),U+=+M.slice(ve+1),M=M.substring(0,ve)):U<0&&(U=M.length),ve=0;M.charAt(ve)===L;ve++);if(ve===(Xe=M.length))I=[0],U=1;else{for(Xe--;M.charAt(Xe)===L;)Xe--;for(U-=ve,I=[],Re=0;ve<=Xe;ve++,Re++)I[Re]=Number(M.charAt(ve))}return U>22&&(I=I.splice(0,21),_=U-1,U=1),{digits:I,exponent:_,integerLen:U}}(v);Re&&(Ut=function Nn(v){if(0===v.digits[0])return v;const M=v.digits.length-v.integerLen;return v.exponent?v.exponent+=2:(0===M?v.digits.push(0,0):1===M&&v.digits.push(0),v.integerLen+=2),v}(Ut));let xt=M.minInt,Mt=M.minFrac,Ht=M.maxFrac;if(ve){const Ar=ve.match(Ve);if(null===Ar)throw new Error(`${ve} is not a valid digit info`);const Ti=Ar[1],$r=Ar[3],ni=Ar[5];null!=Ti&&(xt=lr(Ti)),null!=$r&&(Mt=lr($r)),null!=ni?Ht=lr(ni):null!=$r&&Mt>Ht&&(Ht=Mt)}!function es(v,M,_){if(M>_)throw new Error(`The minimum number of digits after fraction (${M}) is higher than the maximum (${_}).`);let I=v.digits,U=I.length-v.integerLen;const ve=Math.min(Math.max(M,U),_);let Re=ve+v.integerLen,Xe=I[Re];if(Re>0){I.splice(Math.max(v.integerLen,Re));for(let Mt=Re;Mt<I.length;Mt++)I[Mt]=0}else{U=Math.max(0,U),v.integerLen=1,I.length=Math.max(1,Re=ve+1),I[0]=0;for(let Mt=1;Mt<Re;Mt++)I[Mt]=0}if(Xe>=5)if(Re-1<0){for(let Mt=0;Mt>Re;Mt--)I.unshift(0),v.integerLen++;I.unshift(1),v.integerLen++}else I[Re-1]++;for(;U<Math.max(0,ve);U++)I.push(0);let Tt=0!==ve;const Ut=M+v.integerLen,xt=I.reduceRight(function(Mt,Ht,Rt,qt){return qt[Rt]=(Ht+=Mt)<10?Ht:Ht-10,Tt&&(0===qt[Rt]&&Rt>=Ut?qt.pop():Tt=!1),Ht>=10?1:0},0);xt&&(I.unshift(xt),v.integerLen++)}(Ut,Mt,Ht);let Rt=Ut.digits,qt=Ut.integerLen;const rt=Ut.exponent;let er=[];for(Tt=Rt.every(Ar=>!Ar);qt<xt;qt++)Rt.unshift(0);for(;qt<0;qt++)Rt.unshift(0);qt>0?er=Rt.splice(qt,Rt.length):(er=Rt,Rt=[0]);const os=[];for(Rt.length>=M.lgSize&&os.unshift(Rt.splice(-M.lgSize,Rt.length).join(""));Rt.length>M.gSize;)os.unshift(Rt.splice(-M.gSize,Rt.length).join(""));Rt.length&&os.unshift(Rt.join("")),Xe=os.join(He(_,I)),er.length&&(Xe+=He(_,U)+er.join("")),rt&&(Xe+=He(_,ie.Exponential)+"+"+rt)}else Xe=He(_,ie.Infinity);return Xe=v<0&&!Tt?M.negPre+Xe+M.negSuf:M.posPre+Xe+M.posSuf,Xe}(v,function Sr(v,M="-"){const _={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},I=v.split(";"),U=I[0],ve=I[1],Re=-1!==U.indexOf(W)?U.split(W):[U.substring(0,U.lastIndexOf(L)+1),U.substring(U.lastIndexOf(L)+1)],Xe=Re[0],Tt=Re[1]||"";_.posPre=Xe.substring(0,Xe.indexOf("#"));for(let xt=0;xt<Tt.length;xt++){const Mt=Tt.charAt(xt);Mt===L?_.minFrac=_.maxFrac=xt+1:"#"===Mt?_.maxFrac=xt+1:_.posSuf+=Mt}const Ut=Xe.split(",");if(_.gSize=Ut[1]?Ut[1].length:0,_.lgSize=Ut[2]||Ut[1]?(Ut[2]||Ut[1]).length:0,ve){const xt=U.length-_.posPre.length-_.posSuf.length,Mt=ve.indexOf("#");_.negPre=ve.substring(0,Mt).replace(/'/g,""),_.negSuf=ve.slice(Mt+xt).replace(/'/g,"")}else _.negPre=M+_.posPre,_.negSuf=_.posSuf;return _}(function vt(v,M){return(0,D.cg1)(v)[D.wAp.NumberFormats][M]}(M,fe.Decimal),He(M,ie.MinusSign)),M,ie.Group,ie.Decimal,_)}(function Is(v){if("string"==typeof v&&!isNaN(Number(v)-parseFloat(v)))return Number(v);if("number"!=typeof v)throw new Error(`${v} is not a number`);return v}(_),U,I)}catch(ve){throw bn()}}}return v.\u0275fac=function(_){return new(_||v)(D.Y36(D.soG,16))},v.\u0275pipe=D.Yjl({name:"number",type:v,pure:!0}),v})();let ei=(()=>{class v{}return v.\u0275fac=function(_){return new(_||v)},v.\u0275mod=D.oAB({type:v}),v.\u0275inj=D.cJS({}),v})();const dn="browser";function mn(v){return v===dn}let Jn=(()=>{class v{}return v.\u0275prov=(0,D.Yz7)({token:v,providedIn:"root",factory:()=>new zt((0,D.LFG)(J),window)}),v})();class zt{constructor(M,_){this.document=M,this.window=_,this.offset=()=>[0,0]}setOffset(M){this.offset=Array.isArray(M)?()=>M:M}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(M){this.supportsScrolling()&&this.window.scrollTo(M[0],M[1])}scrollToAnchor(M){if(!this.supportsScrolling())return;const _=function Ei(v,M){const _=v.getElementById(M)||v.getElementsByName(M)[0];if(_)return _;if("function"==typeof v.createTreeWalker&&v.body&&(v.body.createShadowRoot||v.body.attachShadow)){const I=v.createTreeWalker(v.body,NodeFilter.SHOW_ELEMENT);let U=I.currentNode;for(;U;){const ve=U.shadowRoot;if(ve){const Re=ve.getElementById(M)||ve.querySelector(`[name="${M}"]`);if(Re)return Re}U=I.nextNode()}}return null}(this.document,M);_&&(this.scrollToElement(_),_.focus())}setHistoryScrollRestoration(M){if(this.supportScrollRestoration()){const _=this.window.history;_&&_.scrollRestoration&&(_.scrollRestoration=M)}}scrollToElement(M){const _=M.getBoundingClientRect(),I=_.left+this.window.pageXOffset,U=_.top+this.window.pageYOffset,ve=this.offset();this.window.scrollTo(I-ve[0],U-ve[1])}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const M=Xn(this.window.history)||Xn(Object.getPrototypeOf(this.window.history));return!(!M||!M.writable&&!M.set)}catch{return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch{return!1}}}function Xn(v){return Object.getOwnPropertyDescriptor(v,"scrollRestoration")}class bi{}},529:(Ye,me,b)=>{b.d(me,{JF:()=>sr,TP:()=>Qe,eN:()=>ie});var D=b(6895),h=b(4650),ae=b(9646),de=b(8306),$=b(4351),ee=b(9300),J=b(4004);class ue{}class pe{}class ne{constructor(z){this.normalizedNames=new Map,this.lazyUpdate=null,z?this.lazyInit="string"==typeof z?()=>{this.headers=new Map,z.split("\n").forEach(Y=>{const be=Y.indexOf(":");if(be>0){const re=Y.slice(0,be),Be=re.toLowerCase(),Ft=Y.slice(be+1).trim();this.maybeSetNormalizedName(re,Be),this.headers.has(Be)?this.headers.get(Be).push(Ft):this.headers.set(Be,[Ft])}})}:()=>{this.headers=new Map,Object.keys(z).forEach(Y=>{let be=z[Y];const re=Y.toLowerCase();"string"==typeof be&&(be=[be]),be.length>0&&(this.headers.set(re,be),this.maybeSetNormalizedName(Y,re))})}:this.headers=new Map}has(z){return this.init(),this.headers.has(z.toLowerCase())}get(z){this.init();const Y=this.headers.get(z.toLowerCase());return Y&&Y.length>0?Y[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(z){return this.init(),this.headers.get(z.toLowerCase())||null}append(z,Y){return this.clone({name:z,value:Y,op:"a"})}set(z,Y){return this.clone({name:z,value:Y,op:"s"})}delete(z,Y){return this.clone({name:z,value:Y,op:"d"})}maybeSetNormalizedName(z,Y){this.normalizedNames.has(Y)||this.normalizedNames.set(Y,z)}init(){this.lazyInit&&(this.lazyInit instanceof ne?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(z=>this.applyUpdate(z)),this.lazyUpdate=null))}copyFrom(z){z.init(),Array.from(z.headers.keys()).forEach(Y=>{this.headers.set(Y,z.headers.get(Y)),this.normalizedNames.set(Y,z.normalizedNames.get(Y))})}clone(z){const Y=new ne;return Y.lazyInit=this.lazyInit&&this.lazyInit instanceof ne?this.lazyInit:this,Y.lazyUpdate=(this.lazyUpdate||[]).concat([z]),Y}applyUpdate(z){const Y=z.name.toLowerCase();switch(z.op){case"a":case"s":let be=z.value;if("string"==typeof be&&(be=[be]),0===be.length)return;this.maybeSetNormalizedName(z.name,Y);const re=("a"===z.op?this.headers.get(Y):void 0)||[];re.push(...be),this.headers.set(Y,re);break;case"d":const Be=z.value;if(Be){let Ft=this.headers.get(Y);if(!Ft)return;Ft=Ft.filter(_t=>-1===Be.indexOf(_t)),0===Ft.length?(this.headers.delete(Y),this.normalizedNames.delete(Y)):this.headers.set(Y,Ft)}else this.headers.delete(Y),this.normalizedNames.delete(Y)}}forEach(z){this.init(),Array.from(this.normalizedNames.keys()).forEach(Y=>z(this.normalizedNames.get(Y),this.headers.get(Y)))}}class te{encodeKey(z){return ye(z)}encodeValue(z){return ye(z)}decodeKey(z){return decodeURIComponent(z)}decodeValue(z){return decodeURIComponent(z)}}const Ue=/%(\d[a-f0-9])/gi,Ce={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function ye(Ee){return encodeURIComponent(Ee).replace(Ue,(z,Y)=>Ce[Y]??z)}function Oe(Ee){return`${Ee}`}class ce{constructor(z={}){if(this.updates=null,this.cloneFrom=null,this.encoder=z.encoder||new te,z.fromString){if(z.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function Z(Ee,z){const Y=new Map;return Ee.length>0&&Ee.replace(/^\?/,"").split("&").forEach(re=>{const Be=re.indexOf("="),[Ft,_t]=-1==Be?[z.decodeKey(re),""]:[z.decodeKey(re.slice(0,Be)),z.decodeValue(re.slice(Be+1))],je=Y.get(Ft)||[];je.push(_t),Y.set(Ft,je)}),Y}(z.fromString,this.encoder)}else z.fromObject?(this.map=new Map,Object.keys(z.fromObject).forEach(Y=>{const be=z.fromObject[Y],re=Array.isArray(be)?be.map(Oe):[Oe(be)];this.map.set(Y,re)})):this.map=null}has(z){return this.init(),this.map.has(z)}get(z){this.init();const Y=this.map.get(z);return Y?Y[0]:null}getAll(z){return this.init(),this.map.get(z)||null}keys(){return this.init(),Array.from(this.map.keys())}append(z,Y){return this.clone({param:z,value:Y,op:"a"})}appendAll(z){const Y=[];return Object.keys(z).forEach(be=>{const re=z[be];Array.isArray(re)?re.forEach(Be=>{Y.push({param:be,value:Be,op:"a"})}):Y.push({param:be,value:re,op:"a"})}),this.clone(Y)}set(z,Y){return this.clone({param:z,value:Y,op:"s"})}delete(z,Y){return this.clone({param:z,value:Y,op:"d"})}toString(){return this.init(),this.keys().map(z=>{const Y=this.encoder.encodeKey(z);return this.map.get(z).map(be=>Y+"="+this.encoder.encodeValue(be)).join("&")}).filter(z=>""!==z).join("&")}clone(z){const Y=new ce({encoder:this.encoder});return Y.cloneFrom=this.cloneFrom||this,Y.updates=(this.updates||[]).concat(z),Y}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(z=>this.map.set(z,this.cloneFrom.map.get(z))),this.updates.forEach(z=>{switch(z.op){case"a":case"s":const Y=("a"===z.op?this.map.get(z.param):void 0)||[];Y.push(Oe(z.value)),this.map.set(z.param,Y);break;case"d":if(void 0===z.value){this.map.delete(z.param);break}{let be=this.map.get(z.param)||[];const re=be.indexOf(Oe(z.value));-1!==re&&be.splice(re,1),be.length>0?this.map.set(z.param,be):this.map.delete(z.param)}}}),this.cloneFrom=this.updates=null)}}class Le{constructor(){this.map=new Map}set(z,Y){return this.map.set(z,Y),this}get(z){return this.map.has(z)||this.map.set(z,z.defaultValue()),this.map.get(z)}delete(z){return this.map.delete(z),this}has(z){return this.map.has(z)}keys(){return this.map.keys()}}function se(Ee){return typeof ArrayBuffer<"u"&&Ee instanceof ArrayBuffer}function V(Ee){return typeof Blob<"u"&&Ee instanceof Blob}function F(Ee){return typeof FormData<"u"&&Ee instanceof FormData}class Q{constructor(z,Y,be,re){let Be;if(this.url=Y,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=z.toUpperCase(),function Je(Ee){switch(Ee){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||re?(this.body=void 0!==be?be:null,Be=re):Be=be,Be&&(this.reportProgress=!!Be.reportProgress,this.withCredentials=!!Be.withCredentials,Be.responseType&&(this.responseType=Be.responseType),Be.headers&&(this.headers=Be.headers),Be.context&&(this.context=Be.context),Be.params&&(this.params=Be.params)),this.headers||(this.headers=new ne),this.context||(this.context=new Le),this.params){const Ft=this.params.toString();if(0===Ft.length)this.urlWithParams=Y;else{const _t=Y.indexOf("?");this.urlWithParams=Y+(-1===_t?"?":_t<Y.length-1?"&":"")+Ft}}else this.params=new ce,this.urlWithParams=Y}serializeBody(){return null===this.body?null:se(this.body)||V(this.body)||F(this.body)||function _e(Ee){return typeof URLSearchParams<"u"&&Ee 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||F(this.body)?null:V(this.body)?this.body.type||null:se(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(z={}){const Y=z.method||this.method,be=z.url||this.url,re=z.responseType||this.responseType,Be=void 0!==z.body?z.body:this.body,Ft=void 0!==z.withCredentials?z.withCredentials:this.withCredentials,_t=void 0!==z.reportProgress?z.reportProgress:this.reportProgress;let je=z.headers||this.headers,Lt=z.params||this.params;const Wt=z.context??this.context;return void 0!==z.setHeaders&&(je=Object.keys(z.setHeaders).reduce((Cn,it)=>Cn.set(it,z.setHeaders[it]),je)),z.setParams&&(Lt=Object.keys(z.setParams).reduce((Cn,it)=>Cn.set(it,z.setParams[it]),Lt)),new Q(Y,be,Be,{params:Lt,headers:je,context:Wt,reportProgress:_t,responseType:re,withCredentials:Ft})}}var q=(()=>((q=q||{})[q.Sent=0]="Sent",q[q.UploadProgress=1]="UploadProgress",q[q.ResponseHeader=2]="ResponseHeader",q[q.DownloadProgress=3]="DownloadProgress",q[q.Response=4]="Response",q[q.User=5]="User",q))();class fe{constructor(z,Y=200,be="OK"){this.headers=z.headers||new ne,this.status=void 0!==z.status?z.status:Y,this.statusText=z.statusText||be,this.url=z.url||null,this.ok=this.status>=200&&this.status<300}}class O extends fe{constructor(z={}){super(z),this.type=q.ResponseHeader}clone(z={}){return new O({headers:z.headers||this.headers,status:void 0!==z.status?z.status:this.status,statusText:z.statusText||this.statusText,url:z.url||this.url||void 0})}}class k extends fe{constructor(z={}){super(z),this.type=q.Response,this.body=void 0!==z.body?z.body:null}clone(z={}){return new k({body:void 0!==z.body?z.body:this.body,headers:z.headers||this.headers,status:void 0!==z.status?z.status:this.status,statusText:z.statusText||this.statusText,url:z.url||this.url||void 0})}}class G extends fe{constructor(z){super(z,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${z.url||"(unknown url)"}`:`Http failure response for ${z.url||"(unknown url)"}: ${z.status} ${z.statusText}`,this.error=z.error||null}}function he(Ee,z){return{body:z,headers:Ee.headers,context:Ee.context,observe:Ee.observe,params:Ee.params,reportProgress:Ee.reportProgress,responseType:Ee.responseType,withCredentials:Ee.withCredentials}}let ie=(()=>{class Ee{constructor(Y){this.handler=Y}request(Y,be,re={}){let Be;if(Y instanceof Q)Be=Y;else{let je,Lt;je=re.headers instanceof ne?re.headers:new ne(re.headers),re.params&&(Lt=re.params instanceof ce?re.params:new ce({fromObject:re.params})),Be=new Q(Y,be,void 0!==re.body?re.body:null,{headers:je,context:re.context,params:Lt,reportProgress:re.reportProgress,responseType:re.responseType||"json",withCredentials:re.withCredentials})}const Ft=(0,ae.of)(Be).pipe((0,$.b)(je=>this.handler.handle(je)));if(Y instanceof Q||"events"===re.observe)return Ft;const _t=Ft.pipe((0,ee.h)(je=>je instanceof k));switch(re.observe||"body"){case"body":switch(Be.responseType){case"arraybuffer":return _t.pipe((0,J.U)(je=>{if(null!==je.body&&!(je.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return je.body}));case"blob":return _t.pipe((0,J.U)(je=>{if(null!==je.body&&!(je.body instanceof Blob))throw new Error("Response is not a Blob.");return je.body}));case"text":return _t.pipe((0,J.U)(je=>{if(null!==je.body&&"string"!=typeof je.body)throw new Error("Response is not a string.");return je.body}));default:return _t.pipe((0,J.U)(je=>je.body))}case"response":return _t;default:throw new Error(`Unreachable: unhandled observe type ${re.observe}}`)}}delete(Y,be={}){return this.request("DELETE",Y,be)}get(Y,be={}){return this.request("GET",Y,be)}head(Y,be={}){return this.request("HEAD",Y,be)}jsonp(Y,be){return this.request("JSONP",Y,{params:(new ce).append(be,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(Y,be={}){return this.request("OPTIONS",Y,be)}patch(Y,be,re={}){return this.request("PATCH",Y,he(re,be))}post(Y,be,re={}){return this.request("POST",Y,he(re,be))}put(Y,be,re={}){return this.request("PUT",Y,he(re,be))}}return Ee.\u0275fac=function(Y){return new(Y||Ee)(h.LFG(ue))},Ee.\u0275prov=h.Yz7({token:Ee,factory:Ee.\u0275fac}),Ee})();class Se{constructor(z,Y){this.next=z,this.interceptor=Y}handle(z){return this.interceptor.intercept(z,this.next)}}const Qe=new h.OlP("HTTP_INTERCEPTORS");let ct=(()=>{class Ee{intercept(Y,be){return be.handle(Y)}}return Ee.\u0275fac=function(Y){return new(Y||Ee)},Ee.\u0275prov=h.Yz7({token:Ee,factory:Ee.\u0275fac}),Ee})();const vt=/^\)\]\}',?\n/;let In=(()=>{class Ee{constructor(Y){this.xhrFactory=Y}handle(Y){if("JSONP"===Y.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new de.y(be=>{const re=this.xhrFactory.build();if(re.open(Y.method,Y.urlWithParams),Y.withCredentials&&(re.withCredentials=!0),Y.headers.forEach((yt,ot)=>re.setRequestHeader(yt,ot.join(","))),Y.headers.has("Accept")||re.setRequestHeader("Accept","application/json, text/plain, */*"),!Y.headers.has("Content-Type")){const yt=Y.detectContentTypeHeader();null!==yt&&re.setRequestHeader("Content-Type",yt)}if(Y.responseType){const yt=Y.responseType.toLowerCase();re.responseType="json"!==yt?yt:"text"}const Be=Y.serializeBody();let Ft=null;const _t=()=>{if(null!==Ft)return Ft;const yt=re.statusText||"OK",ot=new ne(re.getAllResponseHeaders()),Yn=function sn(Ee){return"responseURL"in Ee&&Ee.responseURL?Ee.responseURL:/^X-Request-URL:/m.test(Ee.getAllResponseHeaders())?Ee.getResponseHeader("X-Request-URL"):null}(re)||Y.url;return Ft=new O({headers:ot,status:re.status,statusText:yt,url:Yn}),Ft},je=()=>{let{headers:yt,status:ot,statusText:Yn,url:An}=_t(),nn=null;204!==ot&&(nn=typeof re.response>"u"?re.responseText:re.response),0===ot&&(ot=nn?200:0);let On=ot>=200&&ot<300;if("json"===Y.responseType&&"string"==typeof nn){const Tr=nn;nn=nn.replace(vt,"");try{nn=""!==nn?JSON.parse(nn):null}catch(Fr){nn=Tr,On&&(On=!1,nn={error:Fr,text:nn})}}On?(be.next(new k({body:nn,headers:yt,status:ot,statusText:Yn,url:An||void 0})),be.complete()):be.error(new G({error:nn,headers:yt,status:ot,statusText:Yn,url:An||void 0}))},Lt=yt=>{const{url:ot}=_t(),Yn=new G({error:yt,status:re.status||0,statusText:re.statusText||"Unknown Error",url:ot||void 0});be.error(Yn)};let Wt=!1;const Cn=yt=>{Wt||(be.next(_t()),Wt=!0);let ot={type:q.DownloadProgress,loaded:yt.loaded};yt.lengthComputable&&(ot.total=yt.total),"text"===Y.responseType&&!!re.responseText&&(ot.partialText=re.responseText),be.next(ot)},it=yt=>{let ot={type:q.UploadProgress,loaded:yt.loaded};yt.lengthComputable&&(ot.total=yt.total),be.next(ot)};return re.addEventListener("load",je),re.addEventListener("error",Lt),re.addEventListener("timeout",Lt),re.addEventListener("abort",Lt),Y.reportProgress&&(re.addEventListener("progress",Cn),null!==Be&&re.upload&&re.upload.addEventListener("progress",it)),re.send(Be),be.next({type:q.Sent}),()=>{re.removeEventListener("error",Lt),re.removeEventListener("abort",Lt),re.removeEventListener("load",je),re.removeEventListener("timeout",Lt),Y.reportProgress&&(re.removeEventListener("progress",Cn),null!==Be&&re.upload&&re.upload.removeEventListener("progress",it)),re.readyState!==re.DONE&&re.abort()}})}}return Ee.\u0275fac=function(Y){return new(Y||Ee)(h.LFG(D.JF))},Ee.\u0275prov=h.Yz7({token:Ee,factory:Ee.\u0275fac}),Ee})();const Pn=new h.OlP("XSRF_COOKIE_NAME"),Jt=new h.OlP("XSRF_HEADER_NAME");class Dn{}let Rn=(()=>{class Ee{constructor(Y,be,re){this.doc=Y,this.platform=be,this.cookieName=re,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const Y=this.doc.cookie||"";return Y!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,D.Mx)(Y,this.cookieName),this.lastCookieString=Y),this.lastToken}}return Ee.\u0275fac=function(Y){return new(Y||Ee)(h.LFG(D.K0),h.LFG(h.Lbi),h.LFG(Pn))},Ee.\u0275prov=h.Yz7({token:Ee,factory:Ee.\u0275fac}),Ee})(),xn=(()=>{class Ee{constructor(Y,be){this.tokenService=Y,this.headerName=be}intercept(Y,be){const re=Y.url.toLowerCase();if("GET"===Y.method||"HEAD"===Y.method||re.startsWith("http://")||re.startsWith("https://"))return be.handle(Y);const Be=this.tokenService.getToken();return null!==Be&&!Y.headers.has(this.headerName)&&(Y=Y.clone({headers:Y.headers.set(this.headerName,Be)})),be.handle(Y)}}return Ee.\u0275fac=function(Y){return new(Y||Ee)(h.LFG(Dn),h.LFG(Jt))},Ee.\u0275prov=h.Yz7({token:Ee,factory:Ee.\u0275fac}),Ee})(),st=(()=>{class Ee{constructor(Y,be){this.backend=Y,this.injector=be,this.chain=null}handle(Y){if(null===this.chain){const be=this.injector.get(Qe,[]);this.chain=be.reduceRight((re,Be)=>new Se(re,Be),this.backend)}return this.chain.handle(Y)}}return Ee.\u0275fac=function(Y){return new(Y||Ee)(h.LFG(pe),h.LFG(h.zs3))},Ee.\u0275prov=h.Yz7({token:Ee,factory:Ee.\u0275fac}),Ee})(),on=(()=>{class Ee{static disable(){return{ngModule:Ee,providers:[{provide:xn,useClass:ct}]}}static withOptions(Y={}){return{ngModule:Ee,providers:[Y.cookieName?{provide:Pn,useValue:Y.cookieName}:[],Y.headerName?{provide:Jt,useValue:Y.headerName}:[]]}}}return Ee.\u0275fac=function(Y){return new(Y||Ee)},Ee.\u0275mod=h.oAB({type:Ee}),Ee.\u0275inj=h.cJS({providers:[xn,{provide:Qe,useExisting:xn,multi:!0},{provide:Dn,useClass:Rn},{provide:Pn,useValue:"XSRF-TOKEN"},{provide:Jt,useValue:"X-XSRF-TOKEN"}]}),Ee})(),sr=(()=>{class Ee{}return Ee.\u0275fac=function(Y){return new(Y||Ee)},Ee.\u0275mod=h.oAB({type:Ee}),Ee.\u0275inj=h.cJS({providers:[ie,{provide:ue,useClass:st},In,{provide:pe,useExisting:In}],imports:[on.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]}),Ee})()},4650:(Ye,me,b)=>{b.d(me,{$8M:()=>S,$Z:()=>Cf,AFp:()=>zg,ALo:()=>ug,AaK:()=>ue,AsE:()=>Xu,BQk:()=>Xa,CHM:()=>Mi,CRH:()=>Dg,CZH:()=>fl,CqO:()=>Sh,D6c:()=>xE,DdM:()=>Jp,EJc:()=>Y0,EiD:()=>yd,EpF:()=>bh,F$t:()=>Ph,F4k:()=>Th,FYo:()=>Yp,FiY:()=>ea,G48:()=>pE,Gf:()=>vg,GfV:()=>Qp,GkF:()=>Hu,Gpc:()=>te,Gre:()=>op,HOy:()=>ec,Hsn:()=>Rh,Ikx:()=>tc,JOm:()=>hs,JVY:()=>Zm,KtG:()=>Zi,L6k:()=>Jm,LAX:()=>ey,LFG:()=>wn,LSH:()=>Rl,Lbi:()=>z0,MAs:()=>wh,MMx:()=>pc,NdJ:()=>$u,O4$:()=>oi,OlP:()=>St,Oqu:()=>Ju,PXZ:()=>lE,Q6J:()=>Bu,QGY:()=>Vu,QP$:()=>jo,QbO:()=>G0,Qsj:()=>UC,R0b:()=>br,RDi:()=>Ci,Rgc:()=>Ta,SBq:()=>Ca,Sil:()=>q0,Suo:()=>_g,TTD:()=>Ur,TgZ:()=>qa,Tol:()=>Wh,Udp:()=>Qu,VKq:()=>Xp,W1O:()=>bg,WFA:()=>zu,WLB:()=>eg,XFs:()=>st,Xpm:()=>An,Xts:()=>ql,Y36:()=>Do,YKP:()=>Wp,YNc:()=>Eh,Yjl:()=>Ct,Yz7:()=>Ie,ZZ4:()=>Lc,_Bn:()=>zp,_UZ:()=>Uu,_Vd:()=>Da,_c5:()=>PE,_uU:()=>Xh,aQg:()=>Bc,c2e:()=>W0,cJS:()=>ge,cg1:()=>rc,d8E:()=>nc,dDg:()=>sE,deG:()=>Cr,dqk:()=>re,eBb:()=>Xm,eFA:()=>tm,ekj:()=>qu,eoX:()=>Jg,f3M:()=>Xc,g9A:()=>Wg,h0i:()=>Wi,hGG:()=>RE,hM9:()=>qC,hYB:()=>Yu,hij:()=>tl,iGM:()=>yg,ifc:()=>be,ip1:()=>$g,kEZ:()=>tg,kL8:()=>mp,kcU:()=>Fs,l5B:()=>ng,lG2:()=>Qn,lcZ:()=>cg,lqb:()=>yo,lri:()=>qg,mCW:()=>sa,n5z:()=>c,n_E:()=>al,oAB:()=>gr,oJD:()=>vd,oxw:()=>Ah,pB0:()=>ty,q3G:()=>_n,qLn:()=>aa,qOj:()=>Nu,qZA:()=>Za,qbA:()=>rg,qzn:()=>po,rWj:()=>Zg,s9C:()=>Wu,sBO:()=>gE,sIi:()=>ha,s_b:()=>ul,soG:()=>hl,tb:()=>Kg,tp0:()=>ta,uIk:()=>Lu,vHH:()=>ye,vpe:()=>_s,wAp:()=>ft,xi3:()=>dg,xp6:()=>Jd,ynx:()=>Ja,z2F:()=>pl,z3N:()=>Ws,zSh:()=>eu,zs3:()=>ps});var D=b(7579),h=b(727),ae=b(8306),de=b(6451),$=b(3099);function ee(e){for(let t in e)if(e[t]===ee)return t;throw Error("Could not find renamed property on target object.")}function J(e,t){for(const n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function ue(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(ue).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;const t=e.toString();if(null==t)return""+t;const n=t.indexOf("\n");return-1===n?t:t.substring(0,n)}function pe(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const ne=ee({__forward_ref__:ee});function te(e){return e.__forward_ref__=te,e.toString=function(){return ue(this())},e}function Z(e){return Ue(e)?e():e}function Ue(e){return"function"==typeof e&&e.hasOwnProperty(ne)&&e.__forward_ref__===te}class ye extends Error{constructor(t,n){super(function Oe(e,t){return`NG0${Math.abs(e)}${t?": "+t.trim():""}`}(t,n)),this.code=t}}function ce(e){return"string"==typeof e?e:null==e?"":String(e)}function V(e,t){throw new ye(-201,!1)}function pt(e,t){null==e&&function ze(e,t,n,r){throw new Error(`ASSERTION ERROR: ${e}`+(null==r?"":` [Expected=> ${n} ${r} ${t} <=Actual]`))}(t,e,null,"!=")}function Ie(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function ge(e){return{providers:e.providers||[],imports:e.imports||[]}}function He(e){return vt(e,Jt)||vt(e,Rn)}function vt(e,t){return e.hasOwnProperty(t)?e[t]:null}function Pn(e){return e&&(e.hasOwnProperty(Dn)||e.hasOwnProperty(xn))?e[Dn]:null}const Jt=ee({\u0275prov:ee}),Dn=ee({\u0275inj:ee}),Rn=ee({ngInjectableDef:ee}),xn=ee({ngInjectorDef:ee});var st=(()=>((st=st||{})[st.Default=0]="Default",st[st.Host=1]="Host",st[st.Self=2]="Self",st[st.SkipSelf=4]="SkipSelf",st[st.Optional=8]="Optional",st))();let Kn;function on(e){const t=Kn;return Kn=e,t}function sr(e,t,n){const r=He(e);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:n&st.Optional?null:void 0!==t?t:void V(ue(e))}function ut(e){return{toString:e}.toString()}var Ee=(()=>((Ee=Ee||{})[Ee.OnPush=0]="OnPush",Ee[Ee.Default=1]="Default",Ee))(),be=(()=>{return(e=be||(be={}))[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",be;var e})();const re=(()=>typeof globalThis<"u"&&globalThis||typeof global<"u"&&global||typeof window<"u"&&window||typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self)(),_t={},je=[],Lt=ee({\u0275cmp:ee}),Wt=ee({\u0275dir:ee}),Cn=ee({\u0275pipe:ee}),it=ee({\u0275mod:ee}),yt=ee({\u0275fac:ee}),ot=ee({__NG_ELEMENT_ID__:ee});let Yn=0;function An(e){return ut(()=>{const n=!0===e.standalone,r={},s={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:r,inputs:null,outputs:null,exportAs:e.exportAs||null,onPush:e.changeDetection===Ee.OnPush,directiveDefs:null,pipeDefs:null,standalone:n,dependencies:n&&e.dependencies||null,getStandaloneInjector:null,selectors:e.selectors||je,viewQuery:e.viewQuery||null,features:e.features||null,data:e.data||{},encapsulation:e.encapsulation||be.Emulated,id:"c"+Yn++,styles:e.styles||je,_:null,setInput:null,schemas:e.schemas||null,tView:null},i=e.dependencies,l=e.features;return s.inputs=ir(e.inputs,r),s.outputs=ir(e.outputs),l&&l.forEach(f=>f(s)),s.directiveDefs=i?()=>("function"==typeof i?i():i).map(On).filter(Tr):null,s.pipeDefs=i?()=>("function"==typeof i?i():i).map(Kt).filter(Tr):null,s})}function On(e){return At(e)||an(e)}function Tr(e){return null!==e}const Fr={};function gr(e){return ut(()=>{const t={type:e.type,bootstrap:e.bootstrap||je,declarations:e.declarations||je,imports:e.imports||je,exports:e.exports||je,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null};return null!=e.id&&(Fr[e.id]=e.type),t})}function ir(e,t){if(null==e)return _t;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 Qn=An;function Ct(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,standalone:!0===e.standalone,onDestroy:e.type.prototype.ngOnDestroy||null}}function At(e){return e[Lt]||null}function an(e){return e[Wt]||null}function Kt(e){return e[Cn]||null}function ln(e,t){const n=e[it]||null;if(!n&&!0===t)throw new Error(`Type ${ue(e)} does not have '\u0275mod' property.`);return n}function Qt(e){return Array.isArray(e)&&"object"==typeof e[1]}function pn(e){return Array.isArray(e)&&!0===e[1]}function qn(e){return 0!=(8&e.flags)}function Ln(e){return 2==(2&e.flags)}function Hn(e){return 1==(1&e.flags)}function cn(e){return null!==e.template}function Zn(e){return 0!=(256&e[2])}function jn(e,t){return e.hasOwnProperty(yt)?e[yt]:null}class gn{constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}}function Ur(){return Ir}function Ir(e){return e.type.prototype.ngOnChanges&&(e.setInput=Xs),Hr}function Hr(){const e=Is(this),t=e?.current;if(t){const n=e.previous;if(n===_t)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function Xs(e,t,n,r){const s=Is(e)||function Ho(e,t){return e[Ms]=t}(e,{previous:_t,current:null}),i=s.current||(s.current={}),l=s.previous,f=this.declaredInputs[n],g=l[f];i[f]=new gn(g&&g.currentValue,t,l===_t),e[r]=t}Ur.ngInherit=!0;const Ms="__ngSimpleChanges__";function Is(e){return e[Ms]||null}let is;function Ci(e){is=e}function ti(){return void 0!==is?is:typeof document<"u"?document:void 0}function zt(e){return!!e.listen}const wi={createRenderer:(e,t)=>{throw new Error("Renderer3 disabled")}};function v(e){for(;Array.isArray(e);)e=e[0];return e}function I(e,t){return v(t[e])}function U(e,t){return v(t[e.index])}function Re(e,t){return e.data[t]}function Xe(e,t){return e[t]}function Tt(e,t){const n=t[e];return Qt(n)?n:n[0]}function Ut(e){return 4==(4&e[2])}function xt(e){return 64==(64&e[2])}function Ht(e,t){return null==t?null:e[t]}function Rt(e){e[18]=0}function qt(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 rt={lFrame:xi(null),bindingsEnabled:!0};function ni(){return rt.bindingsEnabled}function Pe(){return rt.lFrame.lView}function bt(){return rt.lFrame.tView}function Mi(e){return rt.lFrame.contextLView=e,e[8]}function Zi(e){return rt.lFrame.contextLView=null,e}function Zt(){let e=as();for(;null!==e&&64===e.type;)e=e.parent;return e}function as(){return rt.lFrame.currentTNode}function hr(e,t){const n=rt.lFrame;n.currentTNode=e,n.isParent=t}function zr(){return rt.lFrame.isParent}function ri(){rt.lFrame.isParent=!1}function yn(){const e=rt.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function vr(){return rt.lFrame.bindingIndex}function Gr(){return rt.lFrame.bindingIndex++}function _r(e){const t=rt.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function Vn(e,t){const n=rt.lFrame;n.bindingIndex=n.bindingRootIndex=e,Wr(t)}function Wr(e){rt.lFrame.currentDirectiveIndex=e}function Rs(e){const t=rt.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}function Pi(){return rt.lFrame.currentQueryIndex}function eo(e){rt.lFrame.currentQueryIndex=e}function ii(e){const t=e[1];return 2===t.type?t.declTNode:1===t.type?e[6]:null}function Ri(e,t,n){if(n&st.SkipSelf){let s=t,i=e;for(;!(s=s.parent,null!==s||n&st.Host||(s=ii(i),null===s||(i=i[15],10&s.type))););if(null===s)return!1;t=s,e=i}const r=rt.lFrame=ls();return r.currentTNode=t,r.lView=e,!0}function xs(e){const t=ls(),n=e[1];rt.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function ls(){const e=rt.lFrame,t=null===e?null:e.child;return null===t?xi(e):t}function xi(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 Oi(){const e=rt.lFrame;return rt.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const Os=Oi;function Ns(){const e=Oi();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 Tn(){return rt.lFrame.selectedIndex}function Pr(e){rt.lFrame.selectedIndex=e}function Yt(){const e=rt.lFrame;return Re(e.tView,e.selectedIndex)}function oi(){rt.lFrame.currentNamespace="svg"}function Fs(){!function Go(){rt.lFrame.currentNamespace=null}()}function cs(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n<r;n++){const i=e.data[n].type.prototype,{ngAfterContentInit:l,ngAfterContentChecked:f,ngAfterViewInit:g,ngAfterViewChecked:E,ngOnDestroy:T}=i;l&&(e.contentHooks||(e.contentHooks=[])).push(-n,l),f&&((e.contentHooks||(e.contentHooks=[])).push(n,f),(e.contentCheckHooks||(e.contentCheckHooks=[])).push(n,f)),g&&(e.viewHooks||(e.viewHooks=[])).push(-n,g),E&&((e.viewHooks||(e.viewHooks=[])).push(n,E),(e.viewCheckHooks||(e.viewCheckHooks=[])).push(n,E)),null!=T&&(e.destroyHooks||(e.destroyHooks=[])).push(n,T)}}function Ls(e,t,n){ro(e,t,3,n)}function ai(e,t,n,r){(3&e[2])===n&&ro(e,t,n,r)}function Ni(e,t){let n=e[2];(3&n)===t&&(n&=2047,n+=1,e[2]=n)}function ro(e,t,n,r){const i=r??-1,l=t.length-1;let f=0;for(let g=void 0!==r?65535&e[18]:0;g<l;g++)if("number"==typeof t[g+1]){if(f=t[g],null!=r&&f>=r)break}else t[g]<0&&(e[18]+=65536),(f<i||-1==i)&&(Wo(e,n,t,g),e[18]=(4294901760&e[18])+g+2),g++}function Wo(e,t,n,r){const s=n[r]<0,i=n[r+1],f=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(f)}finally{}}}else try{i.call(f)}finally{}}class Rr{constructor(t,n,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}}function ui(e,t,n){const r=zt(e);let s=0;for(;s<n.length;){const i=n[s];if("number"==typeof i){if(0!==i)break;s++;const l=n[s++],f=n[s++],g=n[s++];r?e.setAttribute(t,f,g,l):t.setAttributeNS(l,f,g)}else{const l=i,f=n[++s];Fi(l)?r&&e.setProperty(t,l,f):r?e.setAttribute(t,l,f):t.setAttribute(l,f),s++}}return s}function ci(e){return 3===e||4===e||6===e}function Fi(e){return 64===e.charCodeAt(0)}function ki(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||Li(e,n,s,null,-1===n||2===n?t[++r]:null)}}return e}function Li(e,t,n,r,s){let i=0,l=e.length;if(-1===t)l=-1;else for(;i<e.length;){const f=e[i++];if("number"==typeof f){if(f===t){l=-1;break}if(f>t){l=i-1;break}}}for(;i<e.length;){const f=e[i];if("number"==typeof f)break;if(f===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!==l&&(e.splice(l,0,t),i=l+1),e.splice(i++,0,n),null!==r&&e.splice(i++,0,r),null!==s&&e.splice(i++,0,s)}function io(e){return-1!==e}function ds(e){return 32767&e}function js(e,t){let n=function zn(e){return e>>16}(e),r=t;for(;n>0;)r=r[15],n--;return r}let Us=!0;function Hs(e){const t=Us;return Us=e,t}let Qo=0;const pr={};function Vs(e,t){const n=di(e,t);if(-1!==n)return n;const r=t[1];r.firstCreatePass&&(e.injectorIndex=t.length,Bi(r.data,e),Bi(t,null),Bi(r.blueprint,null));const s=ji(e,t),i=e.injectorIndex;if(io(s)){const l=ds(s),f=js(s,t),g=f[1].data;for(let E=0;E<8;E++)t[i+E]=f[l+E]|g[l+E]}return t[i+8]=s,i}function Bi(e,t){e.push(0,0,0,0,0,0,0,0,t)}function di(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function ji(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=0,r=null,s=t;for(;null!==s;){if(r=C(s),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 qo(e,t,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(ot)&&(r=n[ot]),null==r&&(r=n[ot]=Qo++);const s=255&r;t.data[e+(s>>5)]|=1<<s}(e,t,n)}function o(e,t,n){if(n&st.Optional)return e;V()}function p(e,t,n,r){if(n&st.Optional&&void 0===r&&(r=null),0==(n&(st.Self|st.Host))){const s=e[9],i=on(void 0);try{return s?s.get(t,r,n&st.Optional):sr(t,r,n&st.Optional)}finally{on(i)}}return o(r,0,n)}function w(e,t,n,r=st.Default,s){if(null!==e){if(1024&t[2]){const l=function m(e,t,n,r,s){let i=e,l=t;for(;null!==i&&null!==l&&1024&l[2]&&!(256&l[2]);){const f=A(i,l,n,r|st.Self,pr);if(f!==pr)return f;let g=i.parent;if(!g){const E=l[21];if(E){const T=E.get(n,pr,r);if(T!==pr)return T}g=C(l),l=l[15]}i=g}return s}(e,t,n,r,pr);if(l!==pr)return l}const i=A(e,t,n,r,pr);if(i!==pr)return i}return p(t,n,r,s)}function A(e,t,n,r,s){const i=function Te(e){if("string"==typeof e)return e.charCodeAt(0)||0;const t=e.hasOwnProperty(ot)?e[ot]:void 0;return"number"==typeof t?t>=0?255&t:d:t}(n);if("function"==typeof i){if(!Ri(t,e,r))return r&st.Host?o(s,0,r):p(t,n,r,s);try{const l=i(r);if(null!=l||r&st.Optional)return l;V()}finally{Os()}}else if("number"==typeof i){let l=null,f=di(e,t),g=-1,E=r&st.Host?t[16][6]:null;for((-1===f||r&st.SkipSelf)&&(g=-1===f?ji(e,t):t[f+8],-1!==g&&Ze(r,!1)?(l=t[1],f=ds(g),t=js(g,t)):f=-1);-1!==f;){const T=t[1];if(Ke(i,f,T.data)){const P=j(f,t,n,l,r,E);if(P!==pr)return P}g=t[f+8],-1!==g&&Ze(r,t[1].data[f+8]===E)&&Ke(i,f,t)?(l=T,f=ds(g),t=js(g,t)):f=-1}}return s}function j(e,t,n,r,s,i){const l=t[1],f=l.data[e+8],T=B(f,l,n,null==r?Ln(f)&&Us:r!=l&&0!=(3&f.type),s&st.Host&&i===f);return null!==T?le(t,l,T,f):pr}function B(e,t,n,r,s){const i=e.providerIndexes,l=t.data,f=1048575&i,g=e.directiveStart,T=i>>20,H=s?f+T:e.directiveEnd;for(let oe=r?f:f+T;oe<H;oe++){const we=l[oe];if(oe<g&&n===we||oe>=g&&we.type===n)return oe}if(s){const oe=l[g];if(oe&&cn(oe)&&oe.type===n)return g}return null}function le(e,t,n,r){let s=e[n];const i=t.data;if(function vn(e){return e instanceof Rr}(s)){const l=s;l.resolving&&function Le(e,t){const n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new ye(-200,`Circular dependency in DI detected for ${e}${n}`)}(function Ne(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():ce(e)}(i[n]));const f=Hs(l.canSeeViewProviders);l.resolving=!0;const g=l.injectImpl?on(l.injectImpl):null;Ri(e,r,st.Default);try{s=e[n]=l.factory(void 0,i,e,r),t.firstCreatePass&&n>=r.directiveStart&&function ks(e,t,n){const{ngOnChanges:r,ngOnInit:s,ngDoCheck:i}=t.type.prototype;if(r){const l=Ir(t);(n.preOrderHooks||(n.preOrderHooks=[])).push(e,l),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,l)}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!==g&&on(g),Hs(f),l.resolving=!1,Os()}}return s}function Ke(e,t,n){return!!(n[t+(e>>5)]&1<<e)}function Ze(e,t){return!(e&st.Self||e&st.Host&&t)}class Et{constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return w(this._tNode,this._lView,t,r,n)}}function d(){return new Et(Zt(),Pe())}function c(e){return ut(()=>{const t=e.prototype.constructor,n=t[yt]||u(t),r=Object.prototype;let s=Object.getPrototypeOf(e.prototype).constructor;for(;s&&s!==r;){const i=s[yt]||u(s);if(i&&i!==n)return i;s=Object.getPrototypeOf(s)}return i=>new i})}function u(e){return Ue(e)?()=>{const t=u(Z(e));return t&&t()}:jn(e)}function C(e){const t=e[1],n=t.type;return 2===n?t.declTNode:1===n?e[6]:null}function S(e){return function a(e,t){if("class"===t)return e.classes;if("style"===t)return e.styles;const n=e.attrs;if(n){const r=n.length;let s=0;for(;s<r;){const i=n[s];if(ci(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}(Zt(),e)}const N="__parameters__";function $e(e,t,n){return ut(()=>{const r=function at(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 l=new s(...i);return f.annotation=l,f;function f(g,E,T){const P=g.hasOwnProperty(N)?g[N]:Object.defineProperty(g,N,{value:[]})[N];for(;P.length<=T;)P.push(null);return(P[T]=P[T]||[]).push(l),g}}return n&&(s.prototype=Object.create(n.prototype)),s.prototype.ngMetadataName=e,s.annotationCls=s,s})}class St{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=Ie({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}const Cr=new St("AnalyzeForEntryComponents");function Vt(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)),Vt(r,t)):t!==e&&t.push(r)}return t}function Un(e,t){e.forEach(n=>Array.isArray(n)?Un(n,t):t(n))}function tr(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function zs(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function Gs(e,t){const n=[];for(let r=0;r<e;r++)n.push(t);return n}function Er(e,t,n){let r=co(e,t);return r>=0?e[1|r]=n:(r=~r,function Dm(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 Dl(e,t){const n=co(e,t);if(n>=0)return e[1|n]}function co(e,t){return function qc(e,t,n){let r=0,s=e.length>>n;for(;s!==r;){const i=r+(s-r>>1),l=e[i<<n];if(t===l)return i<<n;l>t?s=i:r=i+1}return~(s<<n)}(e,t,1)}const Zo={},El="__NG_DI_FLAG__",Pa="ngTempTokenPath",Im=/\n/gm,Zc="__source";let Jo;function Ra(e){const t=Jo;return Jo=e,t}function Pm(e,t=st.Default){if(void 0===Jo)throw new ye(-203,!1);return null===Jo?sr(e,void 0,t):Jo.get(e,t&st.Optional?null:void 0,t)}function wn(e,t=st.Default){return(function tt(){return Kn}()||Pm)(Z(e),t)}function Xc(e,t=st.Default){return wn(e,t)}function wl(e){const t=[];for(let n=0;n<e.length;n++){const r=Z(e[n]);if(Array.isArray(r)){if(0===r.length)throw new ye(900,!1);let s,i=st.Default;for(let l=0;l<r.length;l++){const f=r[l],g=Rm(f);"number"==typeof g?-1===g?s=f.token:i|=g:s=f}t.push(wn(s,i))}else t.push(wn(r))}return t}function Xo(e,t){return e[El]=t,e.prototype[El]=t,e}function Rm(e){return e[El]}const ea=Xo($e("Optional"),8),ta=Xo($e("SkipSelf"),4);let Na,Fa;function ho(e){return function Tl(){if(void 0===Na&&(Na=null,re.trustedTypes))try{Na=re.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Na}()?.createHTML(e)||e}function ad(e){return function Sl(){if(void 0===Fa&&(Fa=null,re.trustedTypes))try{Fa=re.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Fa}()?.createHTML(e)||e}class Ui{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see https://g.co/ng/security#xss)`}}class Gm extends Ui{getTypeName(){return"HTML"}}class Wm extends Ui{getTypeName(){return"Style"}}class Km extends Ui{getTypeName(){return"Script"}}class Ym extends Ui{getTypeName(){return"URL"}}class Qm extends Ui{getTypeName(){return"ResourceURL"}}function Ws(e){return e instanceof Ui?e.changingThisBreaksApplicationSecurity:e}function po(e,t){const n=function qm(e){return e instanceof Ui&&e.getTypeName()||null}(e);if(null!=n&&n!==t){if("ResourceURL"===n&&"URL"===t)return!0;throw new Error(`Required a safe ${t}, got a ${n} (see https://g.co/ng/security#xss)`)}return n===t}function Zm(e){return new Gm(e)}function Jm(e){return new Wm(e)}function Xm(e){return new Km(e)}function ey(e){return new Ym(e)}function ty(e){return new Qm(e)}class ny{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{const n=(new window.DOMParser).parseFromString(ho(t),"text/html").body;return null===n?this.inertDocumentHelper.getInertBodyElement(t):(n.removeChild(n.firstChild),n)}catch{return null}}}class ry{constructor(t){if(this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),null==this.inertDocument.body){const n=this.inertDocument.createElement("html");this.inertDocument.appendChild(n);const r=this.inertDocument.createElement("body");n.appendChild(r)}}getInertBodyElement(t){const n=this.inertDocument.createElement("template");if("content"in n)return n.innerHTML=ho(t),n;const r=this.inertDocument.createElement("body");return r.innerHTML=ho(t),this.defaultDoc.documentMode&&this.stripCustomNsAttrs(r),r}stripCustomNsAttrs(t){const n=t.attributes;for(let s=n.length-1;0<s;s--){const l=n.item(s).name;("xmlns:ns1"===l||0===l.indexOf("ns1:"))&&t.removeAttribute(l)}let r=t.firstChild;for(;r;)r.nodeType===Node.ELEMENT_NODE&&this.stripCustomNsAttrs(r),r=r.nextSibling}}const iy=/^(?:(?:https?|mailto|ftp|tel|file|sms):|[^&:/?#]*(?:[/?#]|$))/gi,oy=/^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 sa(e){return(e=String(e)).match(iy)||e.match(oy)?e:"unsafe:"+e}function fs(e){const t={};for(const n of e.split(","))t[n]=!0;return t}function ia(...e){const t={};for(const n of e)for(const r in n)n.hasOwnProperty(r)&&(t[r]=!0);return t}const fd=fs("area,br,col,hr,img,wbr"),hd=fs("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),pd=fs("rp,rt"),Ml=ia(fd,ia(hd,fs("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")),ia(pd,fs("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")),ia(pd,hd)),Il=fs("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Al=fs("srcset"),gd=ia(Il,Al,fs("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"),fs("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")),ay=fs("script,style,template");class ly{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(!Ml.hasOwnProperty(n))return this.sanitizedSomething=!0,!ay.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),l=i.name,f=l.toLowerCase();if(!gd.hasOwnProperty(f)){this.sanitizedSomething=!0;continue}let g=i.value;Il[f]&&(g=sa(g)),Al[f]&&(e=g,g=(e=String(e)).split(",").map(t=>sa(t.trim())).join(", ")),this.buf.push(" ",l,'="',md(g),'"')}var e;return this.buf.push(">"),!0}endElement(t){const n=t.nodeName.toLowerCase();Ml.hasOwnProperty(n)&&!fd.hasOwnProperty(n)&&(this.buf.push("</"),this.buf.push(n),this.buf.push(">"))}chars(t){this.buf.push(md(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 uy=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,cy=/([^\#-~ |!])/g;function md(e){return e.replace(/&/g,"&amp;").replace(uy,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(cy,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}let ka;function yd(e,t){let n=null;try{ka=ka||function cd(e){const t=new ry(e);return function sy(){try{return!!(new window.DOMParser).parseFromString(ho(""),"text/html")}catch{return!1}}()?new ny(t):t}(e);let r=t?String(t):"";n=ka.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=ka.getInertBodyElement(r)}while(r!==i);return ho((new ly).sanitizeChildren(Pl(n)||n))}finally{if(n){const r=Pl(n)||n;for(;r.firstChild;)r.removeChild(r.firstChild)}}}function Pl(e){return"content"in e&&function dy(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var _n=(()=>((_n=_n||{})[_n.NONE=0]="NONE",_n[_n.HTML=1]="HTML",_n[_n.STYLE=2]="STYLE",_n[_n.SCRIPT=3]="SCRIPT",_n[_n.URL=4]="URL",_n[_n.RESOURCE_URL=5]="RESOURCE_URL",_n))();function vd(e){const t=oa();return t?ad(t.sanitize(_n.HTML,e)||""):po(e,"HTML")?ad(Ws(e)):yd(ti(),ce(e))}function Rl(e){const t=oa();return t?t.sanitize(_n.URL,e)||"":po(e,"URL")?Ws(e):sa(ce(e))}function oa(){const e=Pe();return e&&e[12]}function Ol(e){return e.ngOriginalError}class aa{constructor(){this._console=console}handleError(t){const n=this._findOriginalError(t);this._console.error("ERROR",t),n&&this._console.error("ORIGINAL ERROR",n)}_findOriginalError(t){let n=t&&Ol(t);for(;n&&Ol(n);)n=Ol(n);return n||null}}const Nl=new Map;let Sy=0;const kl="__ngContext__";function Gn(e,t){Qt(t)?(e[kl]=t[20],function Iy(e){Nl.set(e[20],e)}(t)):e[kl]=t}function la(e){const t=e[kl];return"number"==typeof t?function Cd(e){return Nl.get(e)||null}(t):t||null}function Ll(e){const t=la(e);return t?Qt(t)?t:t.lView:null}const Ly=(()=>(typeof requestAnimationFrame<"u"&&requestAnimationFrame||setTimeout).bind(re))();function Ks(e){return e instanceof Function?e():e}var hs=(()=>((hs=hs||{})[hs.Important=1]="Important",hs[hs.DashCase=2]="DashCase",hs))();function jl(e,t){return undefined(e,t)}function ua(e){const t=e[3];return pn(t)?t[3]:t}function Ul(e){return Pd(e[13])}function Hl(e){return Pd(e[4])}function Pd(e){for(;null!==e&&!pn(e);)e=e[4];return e}function mo(e,t,n,r,s){if(null!=r){let i,l=!1;pn(r)?i=r:Qt(r)&&(l=!0,r=r[0]);const f=v(r);0===e&&null!==n?null==s?kd(t,n,f):Hi(t,n,f,s||null,!0):1===e&&null!==n?Hi(t,n,f,s||null,!0):2===e?function zd(e,t,n){const r=La(e,t);r&&function Jy(e,t,n,r){zt(e)?e.removeChild(t,n,r):t.removeChild(n)}(e,r,t,n)}(t,f,l):3===e&&t.destroyNode(f),null!=i&&function tv(e,t,n,r,s){const i=n[7];i!==v(n)&&mo(t,e,r,i,s);for(let f=10;f<n.length;f++){const g=n[f];ca(g[1],g,e,t,r,i)}}(t,e,i,n,s)}}function $l(e,t,n){if(zt(e))return e.createElement(t,n);{const r=null!==n?function ss(e){const t=e.toLowerCase();return"svg"===t?"http://www.w3.org/2000/svg":"math"===t?"http://www.w3.org/1998/MathML/":null}(n):null;return null===r?e.createElement(t):e.createElementNS(r,t)}}function xd(e,t){const n=e[9],r=n.indexOf(t),s=t[3];512&t[2]&&(t[2]&=-513,qt(s,-1)),n.splice(r,1)}function zl(e,t){if(e.length<=10)return;const n=10+t,r=e[n];if(r){const s=r[17];null!==s&&s!==e&&xd(s,r),t>0&&(e[n-1][4]=r[4]);const i=zs(e,10+t);!function zy(e,t){ca(e,t,t[11],2,null,null),t[0]=null,t[6]=null}(r[1],r);const l=i[19];null!==l&&l.detachView(i[1]),r[3]=null,r[4]=null,r[2]&=-65}return r}function Od(e,t){if(!(128&t[2])){const n=t[11];zt(n)&&n.destroyNode&&ca(e,t,n,3,null,null),function Ky(e){let t=e[13];if(!t)return Gl(e[1],e);for(;t;){let n=null;if(Qt(t))n=t[13];else{const r=t[10];r&&(n=r)}if(!n){for(;t&&!t[4]&&t!==e;)Qt(t)&&Gl(t[1],t),t=t[3];null===t&&(t=e),Qt(t)&&Gl(t[1],t),n=t&&t[4]}t=n}}(t)}}function Gl(e,t){if(!(128&t[2])){t[2]&=-65,t[2]|=128,function Zy(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 Rr)){const i=n[r+1];if(Array.isArray(i))for(let l=0;l<i.length;l+=2){const f=s[i[l]],g=i[l+1];try{g.call(f)}finally{}}else try{i.call(s)}finally{}}}}(e,t),function qy(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 l=n[i+1],f="function"==typeof l?l(t):v(t[l]),g=r[s=n[i+2]],E=n[i+3];"boolean"==typeof E?f.removeEventListener(n[i],g,E):E>=0?r[s=E]():r[s=-E].unsubscribe(),i+=2}else{const l=r[s=n[i+1]];n[i].call(l)}if(null!==r){for(let i=s+1;i<r.length;i++)r[i]();t[7]=null}}(e,t),1===t[1].type&&zt(t[11])&&t[11].destroy();const n=t[17];if(null!==n&&pn(t[3])){n!==t[3]&&xd(n,t);const r=t[19];null!==r&&r.detachView(e)}!function Ay(e){Nl.delete(e[20])}(t)}}function Nd(e,t,n){return function Fd(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===be.None||s===be.Emulated)return null}return U(r,n)}(e,t.parent,n)}function Hi(e,t,n,r,s){zt(e)?e.insertBefore(t,n,r,s):(Bd(t)?t.content:t).insertBefore(n,r,s)}function kd(e,t,n){zt(e)?e.appendChild(t,n):(Bd(t)?t.content:t).appendChild(n)}function Ld(e,t,n,r,s){null!==r?Hi(e,t,n,r,s):kd(e,t,n)}function Bd(e){return"TEMPLATE"===e.tagName&&void 0!==e.content}function La(e,t){return zt(e)?e.parentNode(t):t.parentNode}function jd(e,t,n){return Hd(e,t,n)}let Hd=function Ud(e,t,n){return 40&e.type?U(e,n):null};function Ba(e,t,n,r){const s=Nd(e,r,t),i=t[11],f=jd(r.parent||t[6],r,t);if(null!=s)if(Array.isArray(n))for(let g=0;g<n.length;g++)Ld(i,s,n[g],f,!1);else Ld(i,s,n,f,!1)}function ja(e,t){if(null!==t){const n=t.type;if(3&n)return U(t,e);if(4&n)return Kl(-1,e[t.index]);if(8&n){const r=t.child;if(null!==r)return ja(e,r);{const s=e[t.index];return pn(s)?Kl(-1,s):v(s)}}if(32&n)return jl(t,e)()||v(e[t.index]);{const r=$d(e,t);return null!==r?Array.isArray(r)?r[0]:ja(ua(e[16]),r):ja(e,t.next)}}return null}function $d(e,t){return null!==t?e[16][6].projection[t.projection]:null}function Kl(e,t){const n=10+e+1;if(n<t.length){const r=t[n],s=r[1].firstChild;if(null!==s)return ja(r,s)}return t[7]}function Yl(e,t,n,r,s,i,l){for(;null!=n;){const f=r[n.index],g=n.type;if(l&&0===t&&(f&&Gn(v(f),r),n.flags|=4),64!=(64&n.flags))if(8&g)Yl(e,t,n.child,r,s,i,!1),mo(t,e,s,f,i);else if(32&g){const E=jl(n,r);let T;for(;T=E();)mo(t,e,s,T,i);mo(t,e,s,f,i)}else 16&g?Gd(e,t,r,n,s,i):mo(t,e,s,f,i);n=l?n.projectionNext:n.next}}function ca(e,t,n,r,s,i){Yl(n,r,e.firstChild,t,s,i,!1)}function Gd(e,t,n,r,s,i){const l=n[16],g=l[6].projection[r.projection];if(Array.isArray(g))for(let E=0;E<g.length;E++)mo(t,e,s,g[E],i);else Yl(e,t,g,l[3],s,i,!0)}function Wd(e,t,n){zt(e)?e.setAttribute(t,"style",n):t.style.cssText=n}function Ql(e,t,n){zt(e)?""===n?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n):t.className=n}function Kd(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 Yd="ng-template";function rv(e,t,n){let r=0;for(;r<e.length;){let s=e[r++];if(n&&"class"===s){if(s=e[r],-1!==Kd(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 Qd(e){return 4===e.type&&e.value!==Yd}function sv(e,t,n){return t===(4!==e.type||n?e.value:Yd)}function iv(e,t,n){let r=4;const s=e.attrs||[],i=function lv(e){for(let t=0;t<e.length;t++)if(ci(e[t]))return t;return e.length}(s);let l=!1;for(let f=0;f<t.length;f++){const g=t[f];if("number"!=typeof g){if(!l)if(4&r){if(r=2|1&r,""!==g&&!sv(e,g,n)||""===g&&1===t.length){if(Qr(r))return!1;l=!0}}else{const E=8&r?g:t[++f];if(8&r&&null!==e.attrs){if(!rv(e.attrs,E,n)){if(Qr(r))return!1;l=!0}continue}const P=ov(8&r?"class":g,s,Qd(e),n);if(-1===P){if(Qr(r))return!1;l=!0;continue}if(""!==E){let H;H=P>i?"":s[P+1].toLowerCase();const oe=8&r?H:null;if(oe&&-1!==Kd(oe,E,0)||2&r&&E!==H){if(Qr(r))return!1;l=!0}}}}else{if(!l&&!Qr(r)&&!Qr(g))return!1;if(l&&Qr(g))continue;l=!1,r=g|1&r}}return Qr(r)||l}function Qr(e){return 0==(1&e)}function ov(e,t,n,r){if(null===t)return-1;let s=0;if(r||!n){let i=!1;for(;s<t.length;){const l=t[s];if(l===e)return s;if(3===l||6===l)i=!0;else{if(1===l||2===l){let f=t[++s];for(;"string"==typeof f;)f=t[++s];continue}if(4===l)break;if(0===l){s+=4;continue}}s+=i?1:2}return-1}return function uv(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 qd(e,t,n=!1){for(let r=0;r<t.length;r++)if(iv(e,t[r],n))return!0;return!1}function cv(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 Zd(e,t){return e?":not("+t.trim()+")":t}function dv(e){let t=e[0],n=1,r=2,s="",i=!1;for(;n<e.length;){let l=e[n];if("string"==typeof l)if(2&r){const f=e[++n];s+="["+l+(f.length>0?'="'+f+'"':"")+"]"}else 8&r?s+="."+l:4&r&&(s+=" "+l);else""!==s&&!Qr(l)&&(t+=Zd(i,s),s=""),r=l,i=i||!Qr(r);n++}return""!==s&&(t+=Zd(i,s)),t}const wt={};function Jd(e){Xd(bt(),Pe(),Tn()+e,!1)}function Xd(e,t,n,r){if(!r)if(3==(3&t[2])){const i=e.preOrderCheckHooks;null!==i&&Ls(t,i,n)}else{const i=e.preOrderHooks;null!==i&&ai(t,i,0,n)}Pr(n)}const ql=new St("ENVIRONMENT_INITIALIZER"),rf=new St("INJECTOR_DEF_TYPES");function _v(...e){return{\u0275providers:sf(0,e)}}function sf(e,...t){const n=[],r=new Set;let s;return Un(t,i=>{const l=i;Zl(l,n,[],r)&&(s||(s=[]),s.push(l))}),void 0!==s&&af(s,n),n}function af(e,t){for(let n=0;n<e.length;n++){const{providers:s}=e[n];Un(s,i=>{t.push(i)})}}function Zl(e,t,n,r){if(!(e=Z(e)))return!1;let s=null,i=Pn(e);const l=!i&&At(e);if(i||l){if(l&&!l.standalone)return!1;s=e}else{const g=e.ngModule;if(i=Pn(g),!i)return!1;s=g}const f=r.has(s);if(l){if(f)return!1;if(r.add(s),l.dependencies){const g="function"==typeof l.dependencies?l.dependencies():l.dependencies;for(const E of g)Zl(E,t,n,r)}}else{if(!i)return!1;{if(null!=i.imports&&!f){let E;r.add(s);try{Un(i.imports,T=>{Zl(T,t,n,r)&&(E||(E=[]),E.push(T))})}finally{}void 0!==E&&af(E,t)}if(!f){const E=jn(s)||(()=>new s);t.push({provide:s,useFactory:E,deps:je},{provide:rf,useValue:s,multi:!0},{provide:ql,useValue:()=>wn(s),multi:!0})}const g=i.providers;null==g||f||Un(g,T=>{t.push(T)})}}return s!==e&&void 0!==e.providers}const Dv=ee({provide:String,useValue:ee});function Jl(e){return null!==e&&"object"==typeof e&&Dv in e}function Vi(e){return"function"==typeof e}const Xl=new St("INJECTOR",-1);class cf{get(t,n=Zo){if(n===Zo){const r=new Error(`NullInjectorError: No provider for ${ue(t)}!`);throw r.name="NullInjectorError",r}return n}}const eu=new St("Set Injector scope."),Ua={},Ev={};let tu;function nu(){return void 0===tu&&(tu=new cf),tu}class yo{}class df extends yo{constructor(t,n,r,s){super(),this.parent=n,this.source=r,this.scopes=s,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,su(t,l=>this.processProvider(l)),this.records.set(Xl,vo(void 0,this)),s.has("environment")&&this.records.set(yo,vo(void 0,this));const i=this.records.get(eu);null!=i&&"string"==typeof i.value&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(rf.multi,je,st.Self))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const t of this._ngOnDestroyHooks)t.ngOnDestroy();for(const t of this._onDestroyHooks)t()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),this._onDestroyHooks.length=0}}onDestroy(t){this._onDestroyHooks.push(t)}get(t,n=Zo,r=st.Default){this.assertNotDestroyed();const s=Ra(this),i=on(void 0);try{if(!(r&st.SkipSelf)){let f=this.records.get(t);if(void 0===f){const g=function Mv(e){return"function"==typeof e||"object"==typeof e&&e instanceof St}(t)&&He(t);f=g&&this.injectableDefInScope(g)?vo(ru(t),Ua):null,this.records.set(t,f)}if(null!=f)return this.hydrate(t,f)}return(r&st.Self?nu():this.parent).get(t,n=r&st.Optional&&n===Zo?null:n)}catch(l){if("NullInjectorError"===l.name){if((l[Pa]=l[Pa]||[]).unshift(ue(t)),s)throw l;return function xm(e,t,n,r){const s=e[Pa];throw t[Zc]&&s.unshift(t[Zc]),e.message=function Om(e,t,n,r=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let s=ue(t);if(Array.isArray(t))s=t.map(ue).join(" -> ");else if("object"==typeof t){let i=[];for(let l in t)if(t.hasOwnProperty(l)){let f=t[l];i.push(l+":"+("string"==typeof f?JSON.stringify(f):ue(f)))}s=`{${i.join(", ")}}`}return`${n}${r?"("+r+")":""}[${s}]: ${e.replace(Im,"\n ")}`}("\n"+e.message,s,n,r),e.ngTokenPath=s,e[Pa]=null,e}(l,t,"R3InjectorError",this.source)}throw l}finally{on(i),Ra(s)}}resolveInjectorInitializers(){const t=Ra(this),n=on(void 0);try{const r=this.get(ql.multi,je,st.Self);for(const s of r)s()}finally{Ra(t),on(n)}}toString(){const t=[],n=this.records;for(const r of n.keys())t.push(ue(r));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new ye(205,!1)}processProvider(t){let n=Vi(t=Z(t))?t:Z(t&&t.provide);const r=function bv(e){return Jl(e)?vo(void 0,e.useValue):vo(ff(e),Ua)}(t);if(Vi(t)||!0!==t.multi)this.records.get(n);else{let s=this.records.get(n);s||(s=vo(void 0,Ua,!0),s.factory=()=>wl(s.multi),this.records.set(n,s)),n=t,s.multi.push(t)}this.records.set(n,r)}hydrate(t,n){return n.value===Ua&&(n.value=Ev,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._ngOnDestroyHooks.add(n.value),n.value}injectableDefInScope(t){if(!t.providedIn)return!1;const n=Z(t.providedIn);return"string"==typeof n?"any"===n||this.scopes.has(n):this.injectorDefTypes.has(n)}}function ru(e){const t=He(e),n=null!==t?t.factory:jn(e);if(null!==n)return n;if(e instanceof St)throw new ye(204,!1);if(e instanceof Function)return function wv(e){const t=e.length;if(t>0)throw Gs(t,"?"),new ye(204,!1);const n=function sn(e){const t=e&&(e[Jt]||e[Rn]);if(t){const n=function In(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 ye(204,!1)}function ff(e,t,n){let r;if(Vi(e)){const s=Z(e);return jn(s)||ru(s)}if(Jl(e))r=()=>Z(e.useValue);else if(function uf(e){return!(!e||!e.useFactory)}(e))r=()=>e.useFactory(...wl(e.deps||[]));else if(function lf(e){return!(!e||!e.useExisting)}(e))r=()=>wn(Z(e.useExisting));else{const s=Z(e&&(e.useClass||e.provide));if(!function Tv(e){return!!e.deps}(e))return jn(s)||ru(s);r=()=>new s(...wl(e.deps))}return r}function vo(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function Iv(e){return!!e.\u0275providers}function su(e,t){for(const n of e)Array.isArray(n)?su(n,t):Iv(n)?su(n.\u0275providers,t):t(n)}function hf(e,t=null,n=null,r){const s=pf(e,t,n,r);return s.resolveInjectorInitializers(),s}function pf(e,t=null,n=null,r,s=new Set){const i=[n||je,_v(e)];return r=r||("object"==typeof e?void 0:ue(e)),new df(i,t||nu(),r||null,s)}let ps=(()=>{class e{static create(n,r){if(Array.isArray(n))return hf({name:""},r,n,"");{const s=n.name??"";return hf({name:s},n.parent,n.providers,s)}}}return e.THROW_IF_NOT_FOUND=Zo,e.NULL=new cf,e.\u0275prov=Ie({token:e,providedIn:"any",factory:()=>wn(Xl)}),e.__NG_ELEMENT_ID__=-1,e})();function Do(e,t=st.Default){const n=Pe();return null===n?wn(e,t):w(Zt(),n,Z(e),t)}function Cf(){throw new Error("invalid")}function Va(e,t){return e<<17|t<<2}function qr(e){return e>>17&32767}function fu(e){return 2|e}function Ys(e){return(131068&e)>>2}function hu(e,t){return-131069&e|t<<2}function pu(e){return 1|e}function Ff(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 l=e.data[i];eo(s),l.contentQueries(2,t[i],i)}}}function da(e,t,n,r,s,i,l,f,g,E,T){const P=t.blueprint.slice();return P[0]=s,P[2]=76|r,(null!==T||e&&1024&e[2])&&(P[2]|=1024),Rt(P),P[3]=P[15]=e,P[8]=n,P[10]=l||e&&e[10],P[11]=f||e&&e[11],P[12]=g||e&&e[12]||null,P[9]=E||e&&e[9]||null,P[6]=i,P[20]=function My(){return Sy++}(),P[21]=T,P[16]=2==t.type?e[16]:P,P}function Co(e,t,n,r,s){let i=e.data[t];if(null===i)i=function wu(e,t,n,r,s){const i=as(),l=zr(),g=e.data[t]=function o_(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,l?i:i&&i.parent,n,t,r,s);return null===e.firstChild&&(e.firstChild=g),null!==i&&(l?null==i.child&&null!==g.parent&&(i.child=g):null===i.next&&(i.next=g)),g}(e,t,n,r,s),function Ii(){return rt.lFrame.inI18n}()&&(i.flags|=64);else if(64&i.type){i.type=n,i.value=r,i.attrs=s;const l=function Ps(){const e=rt.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}();i.injectorIndex=null===l?-1:l.injectorIndex}return hr(i,!0),i}function Eo(e,t,n,r){if(0===n)return-1;const s=t.length;for(let i=0;i<n;i++)t.push(r),e.blueprint.push(r),e.data.push(null);return s}function fa(e,t,n){xs(t);try{const r=e.viewQuery;null!==r&&xu(1,r,n);const s=e.template;null!==s&&kf(e,t,s,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),e.staticContentQueries&&Ff(e,t),e.staticViewQueries&&xu(2,e.viewQuery,n);const i=e.components;null!==i&&function r_(e,t){for(let n=0;n<t.length;n++)b_(e,t[n])}(t,i)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[2]&=-5,Ns()}}function wo(e,t,n,r){const s=t[2];if(128!=(128&s)){xs(t);try{Rt(t),function Ji(e){return rt.lFrame.bindingIndex=e}(e.bindingStartIndex),null!==n&&kf(e,t,n,2,r);const l=3==(3&s);if(l){const E=e.preOrderCheckHooks;null!==E&&Ls(t,E,null)}else{const E=e.preOrderHooks;null!==E&&ai(t,E,0,null),Ni(t,0)}if(function E_(e){for(let t=Ul(e);null!==t;t=Hl(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==(512&s[2])&&qt(i,1),s[2]|=512}}}(t),function C_(e){for(let t=Ul(e);null!==t;t=Hl(t))for(let n=10;n<t.length;n++){const r=t[n],s=r[1];xt(r)&&wo(s,r,s.template,r[8])}}(t),null!==e.contentQueries&&Ff(e,t),l){const E=e.contentCheckHooks;null!==E&&Ls(t,E)}else{const E=e.contentHooks;null!==E&&ai(t,E,1),Ni(t,1)}!function t_(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)Pr(~s);else{const i=s,l=n[++r],f=n[++r];Vn(l,i),f(2,t[i])}}}finally{Pr(-1)}}(e,t);const f=e.components;null!==f&&function n_(e,t){for(let n=0;n<t.length;n++)w_(e,t[n])}(t,f);const g=e.viewQuery;if(null!==g&&xu(2,g,r),l){const E=e.viewCheckHooks;null!==E&&Ls(t,E)}else{const E=e.viewHooks;null!==E&&ai(t,E,2),Ni(t,2)}!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),t[2]&=-41,512&t[2]&&(t[2]&=-513,qt(t[3],-1))}finally{Ns()}}}function s_(e,t,n,r){const s=t[10],l=Ut(t);try{!l&&s.begin&&s.begin(),l&&fa(e,t,r),wo(e,t,n,r)}finally{!l&&s.end&&s.end()}}function kf(e,t,n,r,s){const i=Tn(),l=2&r;try{Pr(-1),l&&t.length>22&&Xd(e,t,22,!1),n(r,s)}finally{Pr(i)}}function Lf(e,t,n){if(qn(t)){const s=t.directiveEnd;for(let i=t.directiveStart;i<s;i++){const l=e.data[i];l.contentQueries&&l.contentQueries(1,n[i],i)}}}function bu(e,t,n){!ni()||(function h_(e,t,n,r){const s=n.directiveStart,i=n.directiveEnd;e.firstCreatePass||Vs(n,t),Gn(r,t);const l=n.initialInputs;for(let f=s;f<i;f++){const g=e.data[f],E=cn(g);E&&v_(t,n,g);const T=le(t,e,f,n);Gn(T,t),null!==l&&__(0,f-s,T,g,0,l),E&&(Tt(n.index,t)[8]=T)}}(e,t,n,U(n,t)),128==(128&n.flags)&&function p_(e,t,n){const r=n.directiveStart,s=n.directiveEnd,i=n.index,l=function Ai(){return rt.lFrame.currentDirectiveIndex}();try{Pr(i);for(let f=r;f<s;f++){const g=e.data[f],E=t[f];Wr(f),(null!==g.hostBindings||0!==g.hostVars||null!==g.hostAttrs)&&zf(g,E)}}finally{Pr(-1),Wr(l)}}(e,t,n))}function Tu(e,t,n=U){const r=t.localNames;if(null!==r){let s=t.index+1;for(let i=0;i<r.length;i+=2){const l=r[i+1],f=-1===l?n(t,e):e[l];e[s++]=f}}}function Bf(e){const t=e.tView;return null===t||t.incompleteFirstPass?e.tView=Ga(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts):t}function Ga(e,t,n,r,s,i,l,f,g,E){const T=22+r,P=T+s,H=function i_(e,t){const n=[];for(let r=0;r<t;r++)n.push(r<e?null:wt);return n}(T,P),oe="function"==typeof E?E():E;return H[1]={type:e,blueprint:H,template:n,queries:null,viewQuery:f,declTNode:t,data:H.slice().fill(null,T),bindingStartIndex:T,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 l?l():l,firstChild:null,schemas:g,consts:oe,incompleteFirstPass:!1}}function Hf(e,t,n,r){const s=qf(t);null===n?s.push(r):(s.push(n),e.firstCreatePass&&Zf(e).push(r,s.length-1))}function Vf(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 wr(e,t,n,r,s,i,l,f){const g=U(t,n);let T,E=t.inputs;!f&&null!=E&&(T=E[r])?(eh(e,n,T,r,s),Ln(t)&&function u_(e,t){const n=Tt(t,e);16&n[2]||(n[2]|=32)}(n,t.index)):3&t.type&&(r=function l_(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(r),s=null!=l?l(s,t.value||"",r):s,zt(i)?i.setProperty(g,r,s):Fi(r)||(g.setProperty?g.setProperty(r,s):g[r]=s))}function Su(e,t,n,r){let s=!1;if(ni()){const i=function g_(e,t,n){const r=e.directiveRegistry;let s=null;if(r)for(let i=0;i<r.length;i++){const l=r[i];qd(n,l.selectors,!1)&&(s||(s=[]),y(Vs(n,t),e,l.type),cn(l)?(Gf(e,n),s.unshift(l)):s.push(l))}return s}(e,t,n),l=null===r?null:{"":-1};if(null!==i){s=!0,Wf(n,e.data.length,i.length);for(let T=0;T<i.length;T++){const P=i[T];P.providersResolver&&P.providersResolver(P)}let f=!1,g=!1,E=Eo(e,t,i.length,null);for(let T=0;T<i.length;T++){const P=i[T];n.mergedAttrs=ki(n.mergedAttrs,P.hostAttrs),Kf(e,n,t,E,P),y_(E,P,l),null!==P.contentQueries&&(n.flags|=8),(null!==P.hostBindings||null!==P.hostAttrs||0!==P.hostVars)&&(n.flags|=128);const H=P.type.prototype;!f&&(H.ngOnChanges||H.ngOnInit||H.ngDoCheck)&&((e.preOrderHooks||(e.preOrderHooks=[])).push(n.index),f=!0),!g&&(H.ngOnChanges||H.ngDoCheck)&&((e.preOrderCheckHooks||(e.preOrderCheckHooks=[])).push(n.index),g=!0),E++}!function a_(e,t){const r=t.directiveEnd,s=e.data,i=t.attrs,l=[];let f=null,g=null;for(let E=t.directiveStart;E<r;E++){const T=s[E],P=T.inputs,H=null===i||Qd(t)?null:D_(P,i);l.push(H),f=Vf(P,E,f),g=Vf(T.outputs,E,g)}null!==f&&(f.hasOwnProperty("class")&&(t.flags|=16),f.hasOwnProperty("style")&&(t.flags|=32)),t.initialInputs=l,t.inputs=f,t.outputs=g}(e,n)}l&&function m_(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 ye(-301,!1);r.push(t[s],i)}}}(n,r,l)}return n.mergedAttrs=ki(n.mergedAttrs,n.attrs),s}function $f(e,t,n,r,s,i){const l=i.hostBindings;if(l){let f=e.hostBindingOpCodes;null===f&&(f=e.hostBindingOpCodes=[]);const g=~t.index;(function f_(e){let t=e.length;for(;t>0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(f)!=g&&f.push(g),f.push(r,s,l)}}function zf(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function Gf(e,t){t.flags|=2,(e.components||(e.components=[])).push(t.index)}function y_(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;cn(t)&&(n[""]=e)}}function Wf(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function Kf(e,t,n,r,s){e.data[r]=s;const i=s.factory||(s.factory=jn(s.type)),l=new Rr(i,cn(s),Do);e.blueprint[r]=l,n[r]=l,$f(e,t,0,r,Eo(e,n,s.hostVars,wt),s)}function v_(e,t,n){const r=U(t,e),s=Bf(n),i=e[10],l=Wa(e,da(e,s,null,n.onPush?32:16,r,t,i,i.createRenderer(r,n),null,null,null));e[t.index]=l}function gs(e,t,n,r,s,i){const l=U(e,t);!function Mu(e,t,n,r,s,i,l){if(null==i)zt(e)?e.removeAttribute(t,s,n):t.removeAttribute(s);else{const f=null==l?ce(i):l(i,r||"",s);zt(e)?e.setAttribute(t,s,f,n):n?t.setAttributeNS(n,s,f):t.setAttribute(s,f)}}(t[11],l,i,e.value,n,r,s)}function __(e,t,n,r,s,i){const l=i[t];if(null!==l){const f=r.setInput;for(let g=0;g<l.length;){const E=l[g++],T=l[g++],P=l[g++];null!==f?r.setInput(n,P,E,T):n[T]=P}}}function D_(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 Yf(e,t,n,r){return new Array(e,!0,!1,t,null,0,r,n,null,null)}function w_(e,t){const n=Tt(t,e);if(xt(n)){const r=n[1];48&n[2]?wo(r,n,r.template,n[8]):n[5]>0&&Iu(n)}}function Iu(e){for(let r=Ul(e);null!==r;r=Hl(r))for(let s=10;s<r.length;s++){const i=r[s];if(512&i[2]){const l=i[1];wo(l,i,l.template,i[8])}else i[5]>0&&Iu(i)}const n=e[1].components;if(null!==n)for(let r=0;r<n.length;r++){const s=Tt(n[r],e);xt(s)&&s[5]>0&&Iu(s)}}function b_(e,t){const n=Tt(t,e),r=n[1];(function T_(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])})(r,n),fa(r,n,n[8])}function Wa(e,t){return e[13]?e[14][4]=t:e[13]=t,e[14]=t,t}function Au(e){for(;e;){e[2]|=32;const t=ua(e);if(Zn(e)&&!t)return e;e=t}return null}function Qf(e){!function Pu(e){for(let t=0;t<e.components.length;t++){const n=e.components[t],r=Ll(n);if(null!==r){const s=r[1];s_(s,r,s.template,n)}}}(e[8])}function xu(e,t,n){eo(0),t(e,n)}const M_=(()=>Promise.resolve(null))();function qf(e){return e[7]||(e[7]=[])}function Zf(e){return e.cleanup||(e.cleanup=[])}function Jf(e,t,n){return(null===e||cn(e))&&(n=function M(e){for(;Array.isArray(e);){if("object"==typeof e[1])return e;e=e[0]}return null}(n[t.index])),n[11]}function Xf(e,t){const n=e[9],r=n?n.get(aa,null):null;r&&r.handleError(t)}function eh(e,t,n,r,s){for(let i=0;i<n.length;){const l=n[i++],f=n[i++],g=t[l],E=e.data[l];null!==E.setInput?E.setInput(g,s,r,f):g[f]=s}}function Qs(e,t,n){const r=I(t,e);!function Rd(e,t,n){zt(e)?e.setValue(t,n):t.textContent=n}(e[11],r,n)}function Ka(e,t,n){let r=n?e.styles:null,s=n?e.classes:null,i=0;if(null!==t)for(let l=0;l<t.length;l++){const f=t[l];"number"==typeof f?i=f:1==i?s=pe(s,f):2==i&&(r=pe(r,f+": "+t[++l]+";"))}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=s:e.classesWithoutHost=s}function B_(){const e=Zt();cs(Pe()[1],e)}function Nu(e){let t=function fh(e){return Object.getPrototypeOf(e.prototype).constructor}(e.type),n=!0;const r=[e];for(;t;){let s;if(cn(e))s=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new ye(903,!1);s=t.\u0275dir}if(s){if(n){r.push(s);const l=e;l.inputs=Fu(e.inputs),l.declaredInputs=Fu(e.declaredInputs),l.outputs=Fu(e.outputs);const f=s.hostBindings;f&&V_(e,f);const g=s.viewQuery,E=s.contentQueries;if(g&&U_(e,g),E&&H_(e,E),J(e.inputs,s.inputs),J(e.declaredInputs,s.declaredInputs),J(e.outputs,s.outputs),cn(s)&&s.data.animation){const T=e.data;T.animation=(T.animation||[]).concat(s.data.animation)}}const i=s.features;if(i)for(let l=0;l<i.length;l++){const f=i[l];f&&f.ngInherit&&f(e),f===Nu&&(n=!1)}}t=Object.getPrototypeOf(t)}!function j_(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=ki(s.hostAttrs,n=ki(n,s.hostAttrs))}}(r)}function Fu(e){return e===_t?{}:e===je?[]:e}function U_(e,t){const n=e.viewQuery;e.viewQuery=n?(r,s)=>{t(r,s),n(r,s)}:t}function H_(e,t){const n=e.contentQueries;e.contentQueries=n?(r,s,i)=>{t(r,s,i),n(r,s,i)}:t}function V_(e,t){const n=e.hostBindings;e.hostBindings=n?(r,s)=>{t(r,s),n(r,s)}:t}let Ya=null;function $i(){if(!Ya){const e=re.Symbol;if(e&&e.iterator)Ya=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&&(Ya=r)}}}return Ya}function ha(e){return!!ku(e)&&(Array.isArray(e)||!(e instanceof Map)&&$i()in e)}function ku(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function ms(e,t,n){return e[t]=n}function pa(e,t){return e[t]}function Wn(e,t,n){return!Object.is(e[t],n)&&(e[t]=n,!0)}function zi(e,t,n,r){const s=Wn(e,t,n);return Wn(e,t+1,r)||s}function Nr(e,t,n,r,s,i){const l=zi(e,t,n,r);return zi(e,t+2,s,i)||l}function Lu(e,t,n,r){const s=Pe();return Wn(s,Gr(),t)&&(bt(),gs(Yt(),s,e,t,n,r)),Lu}function To(e,t,n,r){return Wn(e,Gr(),n)?t+ce(n)+r:wt}function So(e,t,n,r,s,i){const f=zi(e,vr(),n,s);return _r(2),f?t+ce(n)+r+ce(s)+i:wt}function Eh(e,t,n,r,s,i,l,f){const g=Pe(),E=bt(),T=e+22,P=E.firstCreatePass?function Q_(e,t,n,r,s,i,l,f,g){const E=t.consts,T=Co(t,e,4,l||null,Ht(E,f));Su(t,n,T,Ht(E,g)),cs(t,T);const P=T.tViews=Ga(2,T,r,s,i,t.directiveRegistry,t.pipeRegistry,null,t.schemas,E);return null!==t.queries&&(t.queries.template(t,T),P.queries=t.queries.embeddedTView(T)),T}(T,E,g,t,n,r,s,i,l):E.data[T];hr(P,!1);const H=g[11].createComment("");Ba(E,g,H,P),Gn(H,g),Wa(g,g[T]=Yf(H,g,H,P)),Hn(P)&&bu(E,g,P),null!=l&&Tu(g,P,f)}function wh(e){return Xe(function $o(){return rt.lFrame.contextLView}(),22+e)}function Bu(e,t,n){const r=Pe();return Wn(r,Gr(),t)&&wr(bt(),Yt(),r,e,t,r[11],n,!1),Bu}function ju(e,t,n,r,s){const l=s?"class":"style";eh(e,n,t.inputs[l],l,r)}function qa(e,t,n,r){const s=Pe(),i=bt(),l=22+e,f=s[11],g=s[l]=$l(f,t,function no(){return rt.lFrame.currentNamespace}()),E=i.firstCreatePass?function Z_(e,t,n,r,s,i,l){const f=t.consts,E=Co(t,e,2,s,Ht(f,i));return Su(t,n,E,Ht(f,l)),null!==E.attrs&&Ka(E,E.attrs,!1),null!==E.mergedAttrs&&Ka(E,E.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,E),E}(l,i,s,0,t,n,r):i.data[l];hr(E,!0);const T=E.mergedAttrs;null!==T&&ui(f,g,T);const P=E.classes;null!==P&&Ql(f,g,P);const H=E.styles;return null!==H&&Wd(f,g,H),64!=(64&E.flags)&&Ba(i,s,g,E),0===function Ar(){return rt.lFrame.elementDepthCount}()&&Gn(g,s),function Ti(){rt.lFrame.elementDepthCount++}(),Hn(E)&&(bu(i,s,E),Lf(i,E,s)),null!==r&&Tu(s,E),qa}function Za(){let e=Zt();zr()?ri():(e=e.parent,hr(e,!1));const t=e;!function $r(){rt.lFrame.elementDepthCount--}();const n=bt();return n.firstCreatePass&&(cs(n,e),qn(e)&&n.queries.elementEnd(e)),null!=t.classesWithoutHost&&function li(e){return 0!=(16&e.flags)}(t)&&ju(n,t,Pe(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function so(e){return 0!=(32&e.flags)}(t)&&ju(n,t,Pe(),t.stylesWithoutHost,!1),Za}function Uu(e,t,n,r){return qa(e,t,n,r),Za(),Uu}function Ja(e,t,n){const r=Pe(),s=bt(),i=e+22,l=s.firstCreatePass?function J_(e,t,n,r,s){const i=t.consts,l=Ht(i,r),f=Co(t,e,8,"ng-container",l);return null!==l&&Ka(f,l,!0),Su(t,n,f,Ht(i,s)),null!==t.queries&&t.queries.elementStart(t,f),f}(i,s,r,t,n):s.data[i];hr(l,!0);const f=r[i]=r[11].createComment("");return Ba(s,r,f,l),Gn(f,r),Hn(l)&&(bu(s,r,l),Lf(s,l,r)),null!=n&&Tu(r,l),Ja}function Xa(){let e=Zt();const t=bt();return zr()?ri():(e=e.parent,hr(e,!1)),t.firstCreatePass&&(cs(t,e),qn(e)&&t.queries.elementEnd(e)),Xa}function Hu(e,t,n){return Ja(e,t,n),Xa(),Hu}function bh(){return Pe()}function Vu(e){return!!e&&"function"==typeof e.then}function Th(e){return!!e&&"function"==typeof e.subscribe}const Sh=Th;function $u(e,t,n,r){const s=Pe(),i=bt(),l=Zt();return Mh(i,s,s[11],l,e,t,!!n,r),$u}function zu(e,t){const n=Zt(),r=Pe(),s=bt();return Mh(s,r,Jf(Rs(s.data),n,r),n,e,t,!1),zu}function Mh(e,t,n,r,s,i,l,f){const g=Hn(r),T=e.firstCreatePass&&Zf(e),P=t[8],H=qf(t);let oe=!0;if(3&r.type||f){const We=U(r,t),et=f?f(We):We,ht=H.length,xe=f?lt=>f(v(lt[r.index])):r.index;if(zt(n)){let lt=null;if(!f&&g&&(lt=function X_(e,t,n,r){const s=e.cleanup;if(null!=s)for(let i=0;i<s.length-1;i+=2){const l=s[i];if(l===n&&s[i+1]===r){const f=t[7],g=s[i+2];return f.length>g?f[g]:null}"string"==typeof l&&(i+=2)}return null}(e,t,s,r.index)),null!==lt)(lt.__ngLastListenerFn__||lt).__ngNextListenerFn__=i,lt.__ngLastListenerFn__=i,oe=!1;else{i=Gu(r,t,P,i,!1);const Nt=n.listen(et,s,i);H.push(i,Nt),T&&T.push(s,xe,ht,ht+1)}}else i=Gu(r,t,P,i,!0),et.addEventListener(s,i,l),H.push(i),T&&T.push(s,xe,ht,l)}else i=Gu(r,t,P,i,!1);const we=r.outputs;let Fe;if(oe&&null!==we&&(Fe=we[s])){const We=Fe.length;if(We)for(let et=0;et<We;et+=2){const tn=t[Fe[et]][Fe[et+1]].subscribe(i),Yi=H.length;H.push(i,tn),T&&T.push(s,r.index,Yi,-(Yi+1))}}}function Ih(e,t,n,r){try{return!1!==n(r)}catch(s){return Xf(e,s),!1}}function Gu(e,t,n,r,s){return function i(l){if(l===Function)return r;Au(2&e.flags?Tt(e.index,t):t);let g=Ih(t,0,r,l),E=i.__ngNextListenerFn__;for(;E;)g=Ih(t,0,E,l)&&g,E=E.__ngNextListenerFn__;return s&&!1===g&&(l.preventDefault(),l.returnValue=!1),g}}function Ah(e=1){return function $n(e){return(rt.lFrame.contextLView=function us(e,t){for(;e>0;)t=t[15],e--;return t}(e,rt.lFrame.contextLView))[8]}(e)}function eD(e,t){let n=null;const r=function av(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?qd(e,i,!0):cv(r,i))return s}else n=s}return n}function Ph(e){const t=Pe()[16][6];if(!t.projection){const r=t.projection=Gs(e?e.length:1,null),s=r.slice();let i=t.child;for(;null!==i;){const l=e?eD(i,e):0;null!==l&&(s[l]?s[l].projectionNext=i:r[l]=i,s[l]=i),i=i.next}}}function Rh(e,t=0,n){const r=Pe(),s=bt(),i=Co(s,22+e,16,null,n||null);null===i.projection&&(i.projection=t),ri(),64!=(64&i.flags)&&function ev(e,t,n){Gd(t[11],0,t,n,Nd(e,n,t),jd(n.parent||t[6],n,t))}(s,r,i)}function Wu(e,t,n){return Ku(e,"",t,"",n),Wu}function Ku(e,t,n,r,s){const i=Pe(),l=To(i,t,n,r);return l!==wt&&wr(bt(),Yt(),i,e,l,i[11],s,!1),Ku}function Yu(e,t,n,r,s,i,l){const f=Pe(),g=So(f,t,n,r,s,i);return g!==wt&&wr(bt(),Yt(),f,e,g,f[11],l,!1),Yu}function jh(e,t,n,r,s){const i=e[n+1],l=null===t;let f=r?qr(i):Ys(i),g=!1;for(;0!==f&&(!1===g||l);){const T=e[f+1];rD(e[f],t)&&(g=!0,e[f+1]=r?pu(T):fu(T)),f=r?qr(T):Ys(T)}g&&(e[n+1]=r?fu(i):pu(i))}function rD(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&co(e,t)>=0}const Mn={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Uh(e){return e.substring(Mn.key,Mn.keyEnd)}function Hh(e,t){const n=Mn.textEnd;return n===t?-1:(t=Mn.keyEnd=function aD(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}(e,Mn.key=t,n),Oo(e,t,n))}function Oo(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function Qu(e,t,n){return Jr(e,t,n,!1),Qu}function qu(e,t){return Jr(e,t,null,!0),qu}function Wh(e){Xr(Er,vs,e,!0)}function vs(e,t){for(let n=function iD(e){return function $h(e){Mn.key=0,Mn.keyEnd=0,Mn.value=0,Mn.valueEnd=0,Mn.textEnd=e.length}(e),Hh(e,Oo(e,0,Mn.textEnd))}(t);n>=0;n=Hh(t,n))Er(e,Uh(t),!0)}function Jr(e,t,n,r){const s=Pe(),i=bt(),l=_r(2);i.firstUpdatePass&&Yh(i,e,l,r),t!==wt&&Wn(s,l,t)&&qh(i,i.data[Tn()],s,s[11],e,s[l+1]=function yD(e,t){return null==e||("string"==typeof t?e+=t:"object"==typeof e&&(e=ue(Ws(e)))),e}(t,n),r,l)}function Xr(e,t,n,r){const s=bt(),i=_r(2);s.firstUpdatePass&&Yh(s,null,i,r);const l=Pe();if(n!==wt&&Wn(l,i,n)){const f=s.data[Tn()];if(Jh(f,r)&&!Kh(s,i)){let g=r?f.classesWithoutHost:f.stylesWithoutHost;null!==g&&(n=pe(g,n||"")),ju(s,f,l,n,r)}else!function mD(e,t,n,r,s,i,l,f){s===wt&&(s=je);let g=0,E=0,T=0<s.length?s[0]:null,P=0<i.length?i[0]:null;for(;null!==T||null!==P;){const H=g<s.length?s[g+1]:void 0,oe=E<i.length?i[E+1]:void 0;let Fe,we=null;T===P?(g+=2,E+=2,H!==oe&&(we=P,Fe=oe)):null===P||null!==T&&T<P?(g+=2,we=T):(E+=2,we=P,Fe=oe),null!==we&&qh(e,t,n,r,we,Fe,l,f),T=g<s.length?s[g]:null,P=E<i.length?i[E]:null}}(s,f,l,l[11],l[i+1],l[i+1]=function gD(e,t,n){if(null==n||""===n)return je;const r=[],s=Ws(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 Kh(e,t){return t>=e.expandoStartIndex}function Yh(e,t,n,r){const s=e.data;if(null===s[n+1]){const i=s[Tn()],l=Kh(e,n);Jh(i,r)&&null===t&&!l&&(t=!1),t=function dD(e,t,n,r){const s=Rs(e);let i=r?t.residualClasses:t.residualStyles;if(null===s)0===(r?t.classBindings:t.styleBindings)&&(n=ga(n=Zu(null,e,t,n,r),t.attrs,r),i=null);else{const l=t.directiveStylingLast;if(-1===l||e[l]!==s)if(n=Zu(s,e,t,n,r),null===i){let g=function fD(e,t,n){const r=n?t.classBindings:t.styleBindings;if(0!==Ys(r))return e[qr(r)]}(e,t,r);void 0!==g&&Array.isArray(g)&&(g=Zu(null,e,t,g[1],r),g=ga(g,t.attrs,r),function hD(e,t,n,r){e[qr(n?t.classBindings:t.styleBindings)]=r}(e,t,r,g))}else i=function pD(e,t,n){let r;const s=t.directiveEnd;for(let i=1+t.directiveStylingLast;i<s;i++)r=ga(r,e[i].hostAttrs,n);return ga(r,t.attrs,n)}(e,t,r)}return void 0!==i&&(r?t.residualClasses=i:t.residualStyles=i),n}(s,i,t,r),function tD(e,t,n,r,s,i){let l=i?t.classBindings:t.styleBindings,f=qr(l),g=Ys(l);e[r]=n;let T,E=!1;if(Array.isArray(n)){const P=n;T=P[1],(null===T||co(P,T)>0)&&(E=!0)}else T=n;if(s)if(0!==g){const H=qr(e[f+1]);e[r+1]=Va(H,f),0!==H&&(e[H+1]=hu(e[H+1],r)),e[f+1]=function Gv(e,t){return 131071&e|t<<17}(e[f+1],r)}else e[r+1]=Va(f,0),0!==f&&(e[f+1]=hu(e[f+1],r)),f=r;else e[r+1]=Va(g,0),0===f?f=r:e[g+1]=hu(e[g+1],r),g=r;E&&(e[r+1]=fu(e[r+1])),jh(e,T,r,!0),jh(e,T,r,!1),function nD(e,t,n,r,s){const i=s?e.residualClasses:e.residualStyles;null!=i&&"string"==typeof t&&co(i,t)>=0&&(n[r+1]=pu(n[r+1]))}(t,T,e,r,i),l=Va(f,g),i?t.classBindings=l:t.styleBindings=l}(s,i,t,n,l,r)}}function Zu(e,t,n,r,s){let i=null;const l=n.directiveEnd;let f=n.directiveStylingLast;for(-1===f?f=n.directiveStart:f++;f<l&&(i=t[f],r=ga(r,i.hostAttrs,s),i!==e);)f++;return null!==e&&(n.directiveStylingLast=f),r}function ga(e,t,n){const r=n?1:2;let s=-1;if(null!==t)for(let i=0;i<t.length;i++){const l=t[i];"number"==typeof l?s=l:s===r&&(Array.isArray(e)||(e=void 0===e?[]:["",e]),Er(e,l,!!n||t[++i]))}return void 0===e?null:e}function qh(e,t,n,r,s,i,l,f){if(!(3&t.type))return;const g=e.data,E=g[f+1];el(function Mf(e){return 1==(1&e)}(E)?Zh(g,t,n,s,Ys(E),l):void 0)||(el(i)||function Sf(e){return 2==(2&e)}(E)&&(i=Zh(g,null,n,s,f,l)),function nv(e,t,n,r,s){const i=zt(e);if(t)s?i?e.addClass(n,r):n.classList.add(r):i?e.removeClass(n,r):n.classList.remove(r);else{let l=-1===r.indexOf("-")?void 0:hs.DashCase;if(null==s)i?e.removeStyle(n,r,l):n.style.removeProperty(r);else{const f="string"==typeof s&&s.endsWith("!important");f&&(s=s.slice(0,-10),l|=hs.Important),i?e.setStyle(n,r,s,l):n.style.setProperty(r,s,f?"important":"")}}}(r,l,I(Tn(),n),s,i))}function Zh(e,t,n,r,s,i){const l=null===t;let f;for(;s>0;){const g=e[s],E=Array.isArray(g),T=E?g[1]:g,P=null===T;let H=n[s+1];H===wt&&(H=P?je:void 0);let oe=P?Dl(H,r):T===r?H:void 0;if(E&&!el(oe)&&(oe=Dl(g,r)),el(oe)&&(f=oe,l))return f;const we=e[s+1];s=l?qr(we):Ys(we)}if(null!==t){let g=i?t.residualClasses:t.residualStyles;null!=g&&(f=Dl(g,r))}return f}function el(e){return void 0!==e}function Jh(e,t){return 0!=(e.flags&(t?16:32))}function Xh(e,t=""){const n=Pe(),r=bt(),s=e+22,i=r.firstCreatePass?Co(r,s,1,t,null):r.data[s],l=n[s]=function Vl(e,t){return zt(e)?e.createText(t):e.createTextNode(t)}(n[11],t);Ba(r,n,l,i),hr(i,!1)}function Ju(e){return tl("",e,""),Ju}function tl(e,t,n){const r=Pe(),s=To(r,e,t,n);return s!==wt&&Qs(r,Tn(),s),tl}function Xu(e,t,n,r,s){const i=Pe(),l=So(i,e,t,n,r,s);return l!==wt&&Qs(i,Tn(),l),Xu}function ec(e,t,n,r,s,i,l,f,g){const E=Pe(),T=function Io(e,t,n,r,s,i,l,f,g,E){const P=Nr(e,vr(),n,s,l,g);return _r(4),P?t+ce(n)+r+ce(s)+i+ce(l)+f+ce(g)+E:wt}(E,e,t,n,r,s,i,l,f,g);return T!==wt&&Qs(E,Tn(),T),ec}function op(e,t,n){Xr(Er,vs,To(Pe(),e,t,n),!0)}function tc(e,t,n){const r=Pe();return Wn(r,Gr(),t)&&wr(bt(),Yt(),r,e,t,r[11],n,!0),tc}function nc(e,t,n){const r=Pe();if(Wn(r,Gr(),t)){const i=bt(),l=Yt();wr(i,l,r,e,t,Jf(Rs(i.data),l,r),n,!0)}return nc}const Gi=void 0;var kD=["en",[["a","p"],["AM","PM"],Gi],[["AM","PM"],Gi,Gi],[["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"]],Gi,[["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"]],Gi,[["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}",Gi,"{1} 'at' {0}",Gi],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function FD(e){const n=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length;return 1===n&&0===r?1:5}];let No={};function rc(e){const t=function LD(e){return e.toLowerCase().replace(/_/g,"-")}(e);let n=yp(t);if(n)return n;const r=t.split("-")[0];if(n=yp(r),n)return n;if("en"===r)return kD;throw new ye(701,!1)}function mp(e){return rc(e)[ft.PluralCase]}function yp(e){return e in No||(No[e]=re.ng&&re.ng.common&&re.ng.common.locales&&re.ng.common.locales[e]),No[e]}var ft=(()=>((ft=ft||{})[ft.LocaleId=0]="LocaleId",ft[ft.DayPeriodsFormat=1]="DayPeriodsFormat",ft[ft.DayPeriodsStandalone=2]="DayPeriodsStandalone",ft[ft.DaysFormat=3]="DaysFormat",ft[ft.DaysStandalone=4]="DaysStandalone",ft[ft.MonthsFormat=5]="MonthsFormat",ft[ft.MonthsStandalone=6]="MonthsStandalone",ft[ft.Eras=7]="Eras",ft[ft.FirstDayOfWeek=8]="FirstDayOfWeek",ft[ft.WeekendRange=9]="WeekendRange",ft[ft.DateFormat=10]="DateFormat",ft[ft.TimeFormat=11]="TimeFormat",ft[ft.DateTimeFormat=12]="DateTimeFormat",ft[ft.NumberSymbols=13]="NumberSymbols",ft[ft.NumberFormats=14]="NumberFormats",ft[ft.CurrencyCode=15]="CurrencyCode",ft[ft.CurrencySymbol=16]="CurrencySymbol",ft[ft.CurrencyName=17]="CurrencyName",ft[ft.Currencies=18]="Currencies",ft[ft.Directionality=19]="Directionality",ft[ft.PluralCase=20]="PluralCase",ft[ft.ExtraData=21]="ExtraData",ft))();const Fo="en-US";let vp=Fo;function oc(e,t,n,r,s){if(e=Z(e),Array.isArray(e))for(let i=0;i<e.length;i++)oc(e[i],t,n,r,s);else{const i=bt(),l=Pe();let f=Vi(e)?e:Z(e.provide),g=ff(e);const E=Zt(),T=1048575&E.providerIndexes,P=E.directiveStart,H=E.providerIndexes>>20;if(Vi(e)||!e.multi){const oe=new Rr(g,s,Do),we=lc(f,t,s?T:T+H,P);-1===we?(y(Vs(E,l),i,f),ac(i,e,t.length),t.push(f),E.directiveStart++,E.directiveEnd++,s&&(E.providerIndexes+=1048576),n.push(oe),l.push(oe)):(n[we]=oe,l[we]=oe)}else{const oe=lc(f,t,T+H,P),we=lc(f,t,T,T+H),Fe=oe>=0&&n[oe],We=we>=0&&n[we];if(s&&!We||!s&&!Fe){y(Vs(E,l),i,f);const et=function NC(e,t,n,r,s){const i=new Rr(e,n,Do);return i.multi=[],i.index=t,i.componentProviders=0,$p(i,s,r&&!n),i}(s?OC:xC,n.length,s,r,g);!s&&We&&(n[we].providerFactory=et),ac(i,e,t.length,0),t.push(f),E.directiveStart++,E.directiveEnd++,s&&(E.providerIndexes+=1048576),n.push(et),l.push(et)}else ac(i,e,oe>-1?oe:we,$p(n[s?we:oe],g,!s&&r));!s&&r&&We&&n[we].componentProviders++}}}function ac(e,t,n,r){const s=Vi(t),i=function Cv(e){return!!e.useClass}(t);if(s||i){const g=(i?Z(t.useClass):t).prototype.ngOnDestroy;if(g){const E=e.destroyHooks||(e.destroyHooks=[]);if(!s&&t.multi){const T=E.indexOf(n);-1===T?E.push(n,[r,g]):E[T+1].push(r,g)}else E.push(n,g)}}}function $p(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function lc(e,t,n,r){for(let s=n;s<r;s++)if(t[s]===e)return s;return-1}function xC(e,t,n,r){return uc(this.multi,[])}function OC(e,t,n,r){const s=this.multi;let i;if(this.providerFactory){const l=this.providerFactory.componentProviders,f=le(n,n[1],this.providerFactory.index,r);i=f.slice(0,l),uc(s,i);for(let g=l;g<f.length;g++)i.push(f[g])}else i=[],uc(s,i);return i}function uc(e,t){for(let n=0;n<e.length;n++)t.push((0,e[n])());return t}function zp(e,t=[]){return n=>{n.providersResolver=(r,s)=>function RC(e,t,n){const r=bt();if(r.firstCreatePass){const s=cn(e);oc(n,r.data,r.blueprint,s,!0),oc(t,r.data,r.blueprint,s,!1)}}(r,s?s(e):e,t)}}class kC{resolveComponentFactory(t){throw function FC(e){const t=Error(`No component factory found for ${ue(e)}. Did you add it to @NgModule.entryComponents?`);return t.ngComponent=e,t}(t)}}let Da=(()=>{class e{}return e.NULL=new kC,e})();class Wi{}class Wp{}class Kp{}function BC(){return Lo(Zt(),Pe())}function Lo(e,t){return new Ca(U(e,t))}let Ca=(()=>{class e{constructor(n){this.nativeElement=n}}return e.__NG_ELEMENT_ID__=BC,e})();function jC(e){return e instanceof Ca?e.nativeElement:e}class Yp{}let UC=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>function VC(){const e=Pe(),n=Tt(Zt().index,e);return function HC(e){return e[11]}(Qt(n)?n:e)}(),e})(),$C=(()=>{class e{}return e.\u0275prov=Ie({token:e,providedIn:"root",factory:()=>null}),e})();class Qp{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const zC=new Qp("14.0.4"),cc={};function ol(e,t,n,r,s=!1){for(;null!==n;){const i=t[n.index];if(null!==i&&r.push(v(i)),pn(i))for(let f=10;f<i.length;f++){const g=i[f],E=g[1].firstChild;null!==E&&ol(g[1],g,E,r)}const l=n.type;if(8&l)ol(e,t,n.child,r);else if(32&l){const f=jl(n,t);let g;for(;g=f();)r.push(g)}else if(16&l){const f=$d(t,n);if(Array.isArray(f))r.push(...f);else{const g=ua(t[16]);ol(g[1],g,f,r,!0)}}n=s?n.projectionNext:n.next}return r}class Ea{constructor(t,n){this._lView=t,this._cdRefInjectingView=n,this._appRef=null,this._attachedToViewContainer=!1}get rootNodes(){const t=this._lView,n=t[1];return ol(n,t,n.firstChild,[])}get context(){return this._lView[8]}set context(t){this._lView[8]=t}get destroyed(){return 128==(128&this._lView[2])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const t=this._lView[3];if(pn(t)){const n=t[8],r=n?n.indexOf(this):-1;r>-1&&(zl(t,r),zs(n,r))}this._attachedToViewContainer=!1}Od(this._lView[1],this._lView)}onDestroy(t){Hf(this._lView[1],this._lView,null,t)}markForCheck(){Au(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-65}reattach(){this._lView[2]|=64}detectChanges(){!function Ru(e,t,n){const r=t[10];r.begin&&r.begin();try{wo(e,t,e.template,n)}catch(s){throw Xf(t,s),s}finally{r.end&&r.end()}}(this._lView[1],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new ye(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function Wy(e,t){ca(e,t,t[11],2,null,null)}(this._lView[1],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new ye(902,!1);this._appRef=t}}class GC extends Ea{constructor(t){super(t),this._view=t}detectChanges(){Qf(this._view)}checkNoChanges(){}get context(){return null}}class dc extends Da{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const n=At(t);return new fc(n,this.ngModule)}}function qp(e){const t=[];for(let n in e)e.hasOwnProperty(n)&&t.push({propName:e[n],templateName:n});return t}class KC{constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){const s=this.injector.get(t,cc,r);return s!==cc||n===cc?s:this.parentInjector.get(t,n,r)}}class fc extends Kp{constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=function fv(e){return e.map(dv).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!n}get inputs(){return qp(this.componentDef.inputs)}get outputs(){return qp(this.componentDef.outputs)}create(t,n,r,s){let i=(s=s||this.ngModule)instanceof yo?s:s?.injector;i&&null!==this.componentDef.getStandaloneInjector&&(i=this.componentDef.getStandaloneInjector(i)||i);const l=i?new KC(t,i):t,f=l.get(Yp,wi),g=l.get($C,null),E=f.createRenderer(null,this.componentDef),T=this.componentDef.selectors[0][0]||"div",P=r?function Uf(e,t,n){if(zt(e))return e.selectRootElement(t,n===be.ShadowDom);let r="string"==typeof t?e.querySelector(t):t;return r.textContent="",r}(E,r,this.componentDef.encapsulation):$l(f.createRenderer(null,this.componentDef),T,function WC(e){const t=e.toLowerCase();return"svg"===t?"svg":"math"===t?"math":null}(T)),H=this.componentDef.onPush?288:272,oe=function dh(e,t){return{components:[],scheduler:e||Ly,clean:M_,playerHandler:t||null,flags:0}}(),we=Ga(0,null,null,1,0,null,null,null,null,null),Fe=da(null,we,oe,H,null,null,f,E,g,l,null);let We,et;xs(Fe);try{const ht=function uh(e,t,n,r,s,i){const l=n[1];n[22]=e;const g=Co(l,22,2,"#host",null),E=g.mergedAttrs=t.hostAttrs;null!==E&&(Ka(g,E,!0),null!==e&&(ui(s,e,E),null!==g.classes&&Ql(s,e,g.classes),null!==g.styles&&Wd(s,e,g.styles)));const T=r.createRenderer(e,t),P=da(n,Bf(t),null,t.onPush?32:16,n[22],g,r,T,i||null,null,null);return l.firstCreatePass&&(y(Vs(g,n),l,t.type),Gf(l,g),Wf(g,n.length,1)),Wa(n,P),n[22]=P}(P,this.componentDef,Fe,f,E);if(P)if(r)ui(E,P,["ng-version",zC.full]);else{const{attrs:xe,classes:lt}=function hv(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(!Qr(s))break;s=i}r++}return{attrs:t,classes:n}}(this.componentDef.selectors[0]);xe&&ui(E,P,xe),lt&&lt.length>0&&Ql(E,P,lt.join(" "))}if(et=Re(we,22),void 0!==n){const xe=et.projection=[];for(let lt=0;lt<this.ngContentSelectors.length;lt++){const Nt=n[lt];xe.push(null!=Nt?Array.from(Nt):null)}}We=function ch(e,t,n,r,s){const i=n[1],l=function d_(e,t,n){const r=Zt();e.firstCreatePass&&(n.providersResolver&&n.providersResolver(n),Kf(e,r,t,Eo(e,t,1,null),n));const s=le(t,e,r.directiveStart,r);Gn(s,t);const i=U(r,t);return i&&Gn(i,t),s}(i,n,t);if(r.components.push(l),e[8]=l,null!==s)for(const g of s)g(l,t);if(t.contentQueries){const g=Zt();t.contentQueries(1,l,g.directiveStart)}const f=Zt();return!i.firstCreatePass||null===t.hostBindings&&null===t.hostAttrs||(Pr(f.index),$f(n[1],f,0,f.directiveStart,f.directiveEnd,t),zf(t,l)),l}(ht,this.componentDef,Fe,oe,[B_]),fa(we,Fe,null)}finally{Ns()}return new QC(this.componentType,We,Lo(et,Fe),Fe,et)}}class QC extends class LC{}{constructor(t,n,r,s,i){super(),this.location=r,this._rootLView=s,this._tNode=i,this.instance=n,this.hostView=this.changeDetectorRef=new GC(s),this.componentType=t}get injector(){return new Et(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}}function qC(e,t){return new Zp(e,t??null)}class Zp extends Wi{constructor(t,n){super(),this._parent=n,this._bootstrapComponents=[],this.injector=this,this.destroyCbs=[],this.componentFactoryResolver=new dc(this);const r=ln(t);this._bootstrapComponents=Ks(r.bootstrap),this._r3Injector=pf(t,n,[{provide:Wi,useValue:this},{provide:Da,useValue:this.componentFactoryResolver}],ue(t),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this.get(t)}get(t,n=ps.THROW_IF_NOT_FOUND,r=st.Default){return t===ps||t===Wi||t===Xl?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 hc extends Wp{constructor(t){super(),this.moduleType=t}create(t){return new Zp(this.moduleType,t)}}class ZC extends Wi{constructor(t,n,r){super(),this.componentFactoryResolver=new dc(this),this.instance=null;const s=new df([...t,{provide:Wi,useValue:this},{provide:Da,useValue:this.componentFactoryResolver}],n||nu(),r,new Set(["environment"]));this.injector=s,s.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}}function pc(e,t=null,n=null){return new ZC(e,t,n).injector}function Jp(e,t,n){const r=yn()+e,s=Pe();return s[r]===wt?ms(s,r,n?t.call(n):t()):pa(s,r)}function Xp(e,t,n,r){return sg(Pe(),yn(),e,t,n,r)}function eg(e,t,n,r,s){return ig(Pe(),yn(),e,t,n,r,s)}function tg(e,t,n,r,s,i){return function og(e,t,n,r,s,i,l,f){const g=t+n;return function Qa(e,t,n,r,s){const i=zi(e,t,n,r);return Wn(e,t+2,s)||i}(e,g,s,i,l)?ms(e,g+3,f?r.call(f,s,i,l):r(s,i,l)):wa(e,g+3)}(Pe(),yn(),e,t,n,r,s,i)}function ng(e,t,n,r,s,i,l){return function ag(e,t,n,r,s,i,l,f,g){const E=t+n;return Nr(e,E,s,i,l,f)?ms(e,E+4,g?r.call(g,s,i,l,f):r(s,i,l,f)):wa(e,E+4)}(Pe(),yn(),e,t,n,r,s,i,l)}function rg(e,t,n,r,s,i,l,f){const g=yn()+e,E=Pe(),T=Nr(E,g,n,r,s,i);return Wn(E,g+4,l)||T?ms(E,g+5,f?t.call(f,n,r,s,i,l):t(n,r,s,i,l)):pa(E,g+5)}function wa(e,t){const n=e[t];return n===wt?void 0:n}function sg(e,t,n,r,s,i){const l=t+n;return Wn(e,l,s)?ms(e,l+1,i?r.call(i,s):r(s)):wa(e,l+1)}function ig(e,t,n,r,s,i,l){const f=t+n;return zi(e,f,s,i)?ms(e,f+2,l?r.call(l,s,i):r(s,i)):wa(e,f+2)}function ug(e,t){const n=bt();let r;const s=e+22;n.firstCreatePass?(r=function o0(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=jn(r.type)),l=on(Do);try{const f=Hs(!1),g=i();return Hs(f),function q_(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}(n,Pe(),s,g),g}finally{on(l)}}function cg(e,t,n){const r=e+22,s=Pe(),i=Xe(s,r);return ba(s,r)?sg(s,yn(),t,i.transform,n,i):i.transform(n)}function dg(e,t,n,r){const s=e+22,i=Pe(),l=Xe(i,s);return ba(i,s)?ig(i,yn(),t,l.transform,n,r,l):l.transform(n,r)}function ba(e,t){return e[1].data[t].pure}function gc(e){return t=>{setTimeout(e,void 0,t)}}const _s=class c0 extends D.x{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,n,r){let s=t,i=n||(()=>null),l=r;if(t&&"object"==typeof t){const g=t;s=g.next?.bind(g),i=g.error?.bind(g),l=g.complete?.bind(g)}this.__isAsync&&(i=gc(i),s&&(s=gc(s)),l&&(l=gc(l)));const f=super.subscribe({next:s,error:i,complete:l});return t instanceof h.w0&&t.add(f),f}};function d0(){return this._results[$i()]()}class al{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=$i(),r=al.prototype;r[n]||(r[n]=d0)}get changes(){return this._changes||(this._changes=new _s)}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=Vt(t);(this._changesDetected=!function _l(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()}}let Ta=(()=>{class e{}return e.__NG_ELEMENT_ID__=p0,e})();const f0=Ta,h0=class extends f0{constructor(t,n,r){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=r}createEmbeddedView(t,n){const r=this._declarationTContainer.tViews,s=da(this._declarationLView,r,t,16,null,r.declTNode,null,null,null,null,n||null);s[17]=this._declarationLView[this._declarationTContainer.index];const l=this._declarationLView[19];return null!==l&&(s[19]=l.createEmbeddedView(r)),fa(r,s,t),new Ea(s)}};function p0(){return ll(Zt(),Pe())}function ll(e,t){return 4&e.type?new h0(t,e,Lo(e,t)):null}let ul=(()=>{class e{}return e.__NG_ELEMENT_ID__=g0,e})();function g0(){return pg(Zt(),Pe())}const m0=ul,fg=class extends m0{constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return Lo(this._hostTNode,this._hostLView)}get injector(){return new Et(this._hostTNode,this._hostLView)}get parentInjector(){const t=ji(this._hostTNode,this._hostLView);if(io(t)){const n=js(t,this._hostLView),r=ds(t);return new Et(n[1].data[r+8],n)}return new Et(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=hg(this._lContainer);return null!==n&&n[t]||null}get length(){return this._lContainer.length-10}createEmbeddedView(t,n,r){let s,i;"number"==typeof r?s=r:null!=r&&(s=r.index,i=r.injector);const l=t.createEmbeddedView(n||{},i);return this.insert(l,s),l}createComponent(t,n,r,s,i){const l=t&&!function Gt(e){return"function"==typeof e}(t);let f;if(l)f=n;else{const P=n||{};f=P.index,r=P.injector,s=P.projectableNodes,i=P.environmentInjector||P.ngModuleRef}const g=l?t:new fc(At(t)),E=r||this.parentInjector;if(!i&&null==g.ngModule){const H=(l?E:this.parentInjector).get(yo,null);H&&(i=H)}const T=g.create(E,s,void 0,i);return this.insert(T.hostView,f),T}insert(t,n){const r=t._lView,s=r[1];if(function Mt(e){return pn(e[3])}(r)){const T=this.indexOf(t);if(-1!==T)this.detach(T);else{const P=r[3],H=new fg(P,P[6],P[3]);H.detach(H.indexOf(t))}}const i=this._adjustIndex(n),l=this._lContainer;!function Yy(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],tr(n,10+r,t)):(n.push(t),t[4]=null),t[3]=n;const l=t[17];null!==l&&n!==l&&function Qy(e,t){const n=e[9];t[16]!==t[3][3][16]&&(e[2]=!0),null===n?e[9]=[t]:n.push(t)}(l,t);const f=t[19];null!==f&&f.insertView(e),t[2]|=64}(s,r,l,i);const f=Kl(i,l),g=r[11],E=La(g,l[7]);return null!==E&&function Gy(e,t,n,r,s,i){r[0]=s,r[6]=t,ca(e,r,n,1,s,i)}(s,l[6],g,r,E,f),t.attachToViewContainerRef(),tr(mc(l),i,t),t}move(t,n){return this.insert(t,n)}indexOf(t){const n=hg(this._lContainer);return null!==n?n.indexOf(t):-1}remove(t){const n=this._adjustIndex(t,-1),r=zl(this._lContainer,n);r&&(zs(mc(this._lContainer),n),Od(r[1],r))}detach(t){const n=this._adjustIndex(t,-1),r=zl(this._lContainer,n);return r&&null!=zs(mc(this._lContainer),n)?new Ea(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function hg(e){return e[8]}function mc(e){return e[8]||(e[8]=[])}function pg(e,t){let n;const r=t[e.index];if(pn(r))n=r;else{let s;if(8&e.type)s=v(r);else{const i=t[11];s=i.createComment("");const l=U(e,t);Hi(i,La(i,l),s,function Xy(e,t){return zt(e)?e.nextSibling(t):t.nextSibling}(i,l),!1)}t[e.index]=n=Yf(r,t,s,e),Wa(t,n)}return new fg(n,e,t)}class yc{constructor(t){this.queryList=t,this.matches=null}clone(){return new yc(this.queryList)}setDirty(){this.queryList.setDirty()}}class vc{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 l=n.getByIndex(i);s.push(this.queries[l.indexInDeclarationView].clone())}return new vc(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!==wg(t,n).matches&&this.queries[n].setDirty()}}class gg{constructor(t,n,r=null){this.predicate=t,this.flags=n,this.read=r}}class _c{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 _c(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 Dc{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 Dc(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,_0(n,i)),this.matchTNodeWithReadOption(t,n,B(n,t,i,!1,!1))}else r===Ta?4&n.type&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,B(n,t,r,!1,!1))}matchTNodeWithReadOption(t,n,r){if(null!==r){const s=this.metadata.read;if(null!==s)if(s===Ca||s===ul||s===Ta&&4&n.type)this.addMatch(n.index,-2);else{const i=B(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 _0(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 C0(e,t,n,r){return-1===n?function D0(e,t){return 11&e.type?Lo(e,t):4&e.type?ll(e,t):null}(t,e):-2===n?function E0(e,t,n){return n===Ca?Lo(t,e):n===Ta?ll(t,e):n===ul?pg(t,e):void 0}(e,t,r):le(e,e[1],n,t)}function mg(e,t,n,r){const s=t[19].queries[r];if(null===s.matches){const i=e.data,l=n.matches,f=[];for(let g=0;g<l.length;g+=2){const E=l[g];f.push(E<0?null:C0(t,i[E],l[g+1],n.metadata.read))}s.matches=f}return s.matches}function Cc(e,t,n,r){const s=e.queries.getByIndex(n),i=s.matches;if(null!==i){const l=mg(e,t,s,n);for(let f=0;f<i.length;f+=2){const g=i[f];if(g>0)r.push(l[f/2]);else{const E=i[f+1],T=t[-g];for(let P=10;P<T.length;P++){const H=T[P];H[17]===H[3]&&Cc(H[1],H,E,r)}if(null!==T[9]){const P=T[9];for(let H=0;H<P.length;H++){const oe=P[H];Cc(oe[1],oe,E,r)}}}}}return r}function yg(e){const t=Pe(),n=bt(),r=Pi();eo(r+1);const s=wg(n,r);if(e.dirty&&Ut(t)===(2==(2&s.metadata.flags))){if(null===s.matches)e.reset([]);else{const i=s.crossesNgTemplate?Cc(n,t,r,[]):mg(n,t,s,r);e.reset(i,jC),e.notifyOnChanges()}return!0}return!1}function vg(e,t,n){const r=bt();r.firstCreatePass&&(Eg(r,new gg(e,t,n),-1),2==(2&t)&&(r.staticViewQueries=!0)),Cg(r,Pe(),t)}function _g(e,t,n,r){const s=bt();if(s.firstCreatePass){const i=Zt();Eg(s,new gg(t,n,r),i.index),function b0(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)}Cg(s,Pe(),n)}function Dg(){return function w0(e,t){return e[19].queries[t].queryList}(Pe(),Pi())}function Cg(e,t,n){const r=new al(4==(4&n));Hf(e,t,r,r.destroy),null===t[19]&&(t[19]=new vc),t[19].queries.push(new yc(r))}function Eg(e,t,n){null===e.queries&&(e.queries=new _c),e.queries.track(new Dc(t,n))}function wg(e,t){return e.queries.getByIndex(t)}function bg(e,t){return ll(e,t)}function jo(e){const t=At(e)||an(e)||Kt(e);return null!==t&&t.standalone}function dl(...e){}const $g=new St("Application Initializer");let fl=(()=>{class e{constructor(n){this.appInits=n,this.resolve=dl,this.reject=dl,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(Vu(i))n.push(i);else if(Sh(i)){const l=new Promise((f,g)=>{i.subscribe({complete:f,error:g})});n.push(l)}}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)(wn($g,8))},e.\u0275prov=Ie({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const zg=new St("AppId",{providedIn:"root",factory:function Gg(){return`${Sc()}${Sc()}${Sc()}`}});function Sc(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const Wg=new St("Platform Initializer"),z0=new St("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),Kg=new St("appBootstrapListener"),G0=new St("AnimationModuleType");let W0=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=Ie({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})();const hl=new St("LocaleId",{providedIn:"root",factory:()=>Xc(hl,st.Optional|st.SkipSelf)||function K0(){return typeof $localize<"u"&&$localize.locale||Fo}()}),Y0=new St("DefaultCurrencyCode",{providedIn:"root",factory:()=>"USD"});class Q0{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}}let q0=(()=>{class e{compileModuleSync(n){return new hc(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){const r=this.compileModuleSync(n),i=Ks(ln(n).declarations).reduce((l,f)=>{const g=At(f);return g&&l.push(new fc(g)),l},[]);return new Q0(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=Ie({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const J0=(()=>Promise.resolve(0))();function Mc(e){typeof Zone>"u"?J0.then(()=>{e&&e.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}class br{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new _s(!1),this.onMicrotaskEmpty=new _s(!1),this.onStable=new _s(!1),this.onError=new _s(!1),typeof Zone>"u")throw new ye(908,!1);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 X0(){let e=re.requestAnimationFrame,t=re.cancelAnimationFrame;if(typeof Zone<"u"&&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 nE(e){const t=()=>{!function tE(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(re,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,Ac(e),e.isCheckStableRunning=!0,Ic(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),Ac(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,s,i,l,f)=>{try{return Yg(e),n.invokeTask(s,i,l,f)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===i.type||e.shouldCoalesceRunChangeDetection)&&t(),Qg(e)}},onInvoke:(n,r,s,i,l,f,g)=>{try{return Yg(e),n.invoke(s,i,l,f,g)}finally{e.shouldCoalesceRunChangeDetection&&t(),Qg(e)}},onHasTask:(n,r,s,i)=>{n.hasTask(s,i),r===s&&("microTask"==i.change?(e._hasPendingMicrotasks=i.microTask,Ac(e),Ic(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 typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!br.isInAngularZone())throw new ye(909,!1)}static assertNotInAngularZone(){if(br.isInAngularZone())throw new ye(909,!1)}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,s){const i=this._inner,l=i.scheduleEventTask("NgZoneEvent: "+s,t,eE,dl,dl);try{return i.runTask(l,n,r)}finally{i.cancelTask(l)}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}}const eE={};function Ic(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 Ac(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function Yg(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Qg(e){e._nesting--,Ic(e)}class rE{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new _s,this.onMicrotaskEmpty=new _s,this.onStable=new _s,this.onError=new _s}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)}}const qg=new St(""),Zg=new St("");let Pc,sE=(()=>{class e{constructor(n,r,s){this._ngZone=n,this.registry=r,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,Pc||(function iE(e){Pc=e}(s),s.addToWindow(r)),this._watchAngularEvents(),n.run(()=>{this.taskTrackingZone=typeof Zone>"u"?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:()=>{br.assertNotInAngularZone(),Mc(()=>{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())Mc(()=>{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(l=>l.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}registerApplication(n){this.registry.registerApplication(n,this)}unregisterApplication(n){this.registry.unregisterApplication(n)}findProviders(n,r,s){return[]}}return e.\u0275fac=function(n){return new(n||e)(wn(br),wn(Jg),wn(Zg))},e.\u0275prov=Ie({token:e,factory:e.\u0275fac}),e})(),Jg=(()=>{class e{constructor(){this._applications=new Map}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 Pc?.findTestabilityInTree(this,n,r)??null}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=Ie({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})(),pi=null;const Xg=new St("AllowMultipleToken"),Rc=new St("PlatformDestroyListeners");class lE{constructor(t,n){this.name=t,this.token=n}}function tm(e,t,n=[]){const r=`Platform: ${t}`,s=new St(r);return(i=[])=>{let l=xc();if(!l||l.injector.get(Xg,!1)){const f=[...n,...i,{provide:s,useValue:!0}];e?e(f):function uE(e){if(pi&&!pi.get(Xg,!1))throw new ye(400,!1);pi=e;const t=e.get(rm);(function em(e){const t=e.get(Wg,null);t&&t.forEach(n=>n())})(e)}(function nm(e=[],t){return ps.create({name:t,providers:[{provide:eu,useValue:"platform"},{provide:Rc,useValue:new Set([()=>pi=null])},...e]})}(f,r))}return function dE(e){const t=xc();if(!t)throw new ye(401,!1);return t}()}}function xc(){return pi?.get(rm)??null}let rm=(()=>{class e{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,r){const s=function fE(e,t){let n;return n="noop"===e?new rE:("zone.js"===e?void 0:e)||new br(t),n}(r?.ngZone,function sm(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:!(!e||!e.ngZoneEventCoalescing)||!1,shouldCoalesceRunChangeDetection:!(!e||!e.ngZoneRunCoalescing)||!1}}(r)),i=[{provide:br,useValue:s}];return s.run(()=>{const l=ps.create({providers:i,parent:this.injector,name:n.moduleType.name}),f=n.create(l),g=f.injector.get(aa,null);if(!g)throw new ye(402,!1);return s.runOutsideAngular(()=>{const E=s.onError.subscribe({next:T=>{g.handleError(T)}});f.onDestroy(()=>{gl(this._modules,f),E.unsubscribe()})}),function im(e,t,n){try{const r=n();return Vu(r)?r.catch(s=>{throw t.runOutsideAngular(()=>e.handleError(s)),s}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}(g,s,()=>{const E=f.injector.get(fl);return E.runInitializers(),E.donePromise.then(()=>(function _p(e){pt(e,"Expected localeId to be defined"),"string"==typeof e&&(vp=e.toLowerCase().replace(/_/g,"-"))}(f.injector.get(hl,Fo)||Fo),this._moduleDoBootstrap(f),f))})})}bootstrapModule(n,r=[]){const s=om({},r);return function oE(e,t,n){const r=new hc(n);return Promise.resolve(r)}(0,0,n).then(i=>this.bootstrapModuleFactory(i,s))}_moduleDoBootstrap(n){const r=n.injector.get(pl);if(n._bootstrapComponents.length>0)n._bootstrapComponents.forEach(s=>r.bootstrap(s));else{if(!n.instance.ngDoBootstrap)throw new ye(403,!1);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 ye(404,!1);this._modules.slice().forEach(r=>r.destroy()),this._destroyListeners.forEach(r=>r());const n=this._injector.get(Rc,null);n&&(n.forEach(r=>r()),n.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}}return e.\u0275fac=function(n){return new(n||e)(wn(ps))},e.\u0275prov=Ie({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})();function om(e,t){return Array.isArray(t)?t.reduce(om,e):{...e,...t}}let pl=(()=>{class e{constructor(n,r,s){this._zone=n,this._injector=r,this._exceptionHandler=s,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this._destroyed=!1,this._destroyListeners=[],this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const i=new ae.y(f=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{f.next(this._stable),f.complete()})}),l=new ae.y(f=>{let g;this._zone.runOutsideAngular(()=>{g=this._zone.onStable.subscribe(()=>{br.assertNotInAngularZone(),Mc(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,f.next(!0))})})});const E=this._zone.onUnstable.subscribe(()=>{br.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{f.next(!1)}))});return()=>{g.unsubscribe(),E.unsubscribe()}});this.isStable=(0,de.T)(i,l.pipe((0,$.B)()))}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(n,r){const s=n instanceof Kp;if(!this._injector.get(fl).done)throw!s&&jo(n),new ye(405,false);let l;l=s?n:this._injector.get(Da).resolveComponentFactory(n),this.componentTypes.push(l.componentType);const f=function aE(e){return e.isBoundToModule}(l)?void 0:this._injector.get(Wi),E=l.create(ps.NULL,[],r||l.selector,f),T=E.location.nativeElement,P=E.injector.get(qg,null);return P?.registerApplication(T),E.onDestroy(()=>{this.detachView(E.hostView),gl(this.components,E),P?.unregisterApplication(T)}),this._loadComponent(E),E}tick(){if(this._runningTick)throw new ye(101,!1);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;gl(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n),this._injector.get(Kg,[]).concat(this._bootstrapListeners).forEach(s=>s(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>gl(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new ye(406,!1);const n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}}return e.\u0275fac=function(n){return new(n||e)(wn(br),wn(ps),wn(aa))},e.\u0275prov=Ie({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function gl(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}let lm=!0;function pE(){lm=!1}let gE=(()=>{class e{}return e.__NG_ELEMENT_ID__=mE,e})();function mE(e){return function yE(e,t,n){if(Ln(e)&&!n){const r=Tt(e.index,t);return new Ea(r,r)}return 47&e.type?new Ea(t[16],t):null}(Zt(),Pe(),16==(16&e))}class hm{constructor(){}supports(t){return ha(t)}create(t){return new wE(t)}}const EE=(e,t)=>t;class wE{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||EE}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 l=!r||n&&n.currentIndex<gm(r,s,i)?n:r,f=gm(l,s,i),g=l.currentIndex;if(l===r)s--,r=r._nextRemoved;else if(n=n._next,null==l.previousIndex)s++;else{i||(i=[]);const E=f-s,T=g-s;if(E!=T){for(let H=0;H<E;H++){const oe=H<i.length?i[H]:i[H]=0,we=oe+H;T<=we&&we<E&&(i[H]=oe+1)}i[l.previousIndex]=T-E}}f!==g&&t(l,f,g)}}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=[]),!ha(t))throw new ye(900,!1);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let s,i,l,n=this._itHead,r=!1;if(Array.isArray(t)){this.length=t.length;for(let f=0;f<this.length;f++)i=t[f],l=this._trackByFn(f,i),null!==n&&Object.is(n.trackById,l)?(r&&(n=this._verifyReinsertion(n,i,l,f)),Object.is(n.item,i)||this._addIdentityChange(n,i)):(n=this._mismatch(n,i,l,f),r=!0),n=n._next}else s=0,function K_(e,t){if(Array.isArray(e))for(let n=0;n<e.length;n++)t(e[n]);else{const n=e[$i()]();let r;for(;!(r=n.next()).done;)t(r.value)}}(t,f=>{l=this._trackByFn(s,f),null!==n&&Object.is(n.trackById,l)?(r&&(n=this._verifyReinsertion(n,f,l,s)),Object.is(n.item,f)||this._addIdentityChange(n,f)):(n=this._mismatch(n,f,l,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 bE(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 pm),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 pm),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 bE{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 TE{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 pm{constructor(){this.map=new Map}put(t){const n=t.trackById;let r=this.map.get(n);r||(r=new TE,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 gm(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 mm{constructor(){}supports(t){return t instanceof Map||ku(t)}create(){return new SE}}class SE{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||ku(t)))throw new ye(900,!1)}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,l=s._next;return i&&(i._next=l),l&&(l._prev=i),s._next=null,s._prev=null,s}const r=new ME(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 ME{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 ym(){return new Lc([new hm])}let Lc=(()=>{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||ym()),deps:[[e,new ta,new ea]]}}find(n){const r=this.factories.find(s=>s.supports(n));if(null!=r)return r;throw new ye(901,!1)}}return e.\u0275prov=Ie({token:e,providedIn:"root",factory:ym}),e})();function vm(){return new Bc([new mm])}let Bc=(()=>{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||vm()),deps:[[e,new ta,new ea]]}}find(n){const r=this.factories.find(s=>s.supports(n));if(r)return r;throw new ye(901,!1)}}return e.\u0275prov=Ie({token:e,providedIn:"root",factory:vm}),e})();const PE=tm(null,"core",[]);let RE=(()=>{class e{constructor(n){}}return e.\u0275fac=function(n){return new(n||e)(wn(pl))},e.\u0275mod=gr({type:e}),e.\u0275inj=ge({}),e})();function xE(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}},1481:(Ye,me,b)=>{b.d(me,{Dx:()=>Y,H7:()=>ln,b2:()=>sr,q6:()=>st,se:()=>he});var D=b(6895),h=b(4650);class ae extends D.w_{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class de extends ae{static makeCurrent(){(0,D.HT)(new de)}onAndCancel(L,x,K){return L.addEventListener(x,K,!1),()=>{L.removeEventListener(x,K,!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 ee(){return $=$||document.querySelector("base"),$?$.getAttribute("href"):null}();return null==x?null:function ue(W){J=J||document.createElement("a"),J.setAttribute("href",W);const L=J.pathname;return"/"===L.charAt(0)?L:`/${L}`}(x)}resetBaseElement(){$=null}getUserAgent(){return window.navigator.userAgent}getCookie(L){return(0,D.Mx)(document.cookie,L)}}let J,$=null;const pe=new h.OlP("TRANSITION_ID"),te=[{provide:h.ip1,useFactory:function ne(W,L,x){return()=>{x.get(h.CZH).donePromise.then(()=>{const K=(0,D.q)(),Me=L.querySelectorAll(`style[ng-transition="${W}"]`);for(let Ge=0;Ge<Me.length;Ge++)K.remove(Me[Ge])})}},deps:[pe,D.K0,h.zs3],multi:!0}];let Ue=(()=>{class W{build(){return new XMLHttpRequest}}return W.\u0275fac=function(x){return new(x||W)},W.\u0275prov=h.Yz7({token:W,factory:W.\u0275fac}),W})();const Ce=new h.OlP("EventManagerPlugins");let ye=(()=>{class W{constructor(x,K){this._zone=K,this._eventNameToPlugin=new Map,x.forEach(Me=>Me.manager=this),this._plugins=x.slice().reverse()}addEventListener(x,K,Me){return this._findPluginFor(K).addEventListener(x,K,Me)}addGlobalEventListener(x,K,Me){return this._findPluginFor(K).addGlobalEventListener(x,K,Me)}getZone(){return this._zone}_findPluginFor(x){const K=this._eventNameToPlugin.get(x);if(K)return K;const Me=this._plugins;for(let Ge=0;Ge<Me.length;Ge++){const Dt=Me[Ge];if(Dt.supports(x))return this._eventNameToPlugin.set(x,Dt),Dt}throw new Error(`No event manager plugin found for event ${x}`)}}return W.\u0275fac=function(x){return new(x||W)(h.LFG(Ce),h.LFG(h.R0b))},W.\u0275prov=h.Yz7({token:W,factory:W.\u0275fac}),W})();class Oe{constructor(L){this._doc=L}addGlobalEventListener(L,x,K){const Me=(0,D.q)().getGlobalEventTarget(this._doc,L);if(!Me)throw new Error(`Unsupported event target ${Me} for event ${x}`);return this.addEventListener(Me,x,K)}}let ce=(()=>{class W{constructor(){this._stylesSet=new Set}addStyles(x){const K=new Set;x.forEach(Me=>{this._stylesSet.has(Me)||(this._stylesSet.add(Me),K.add(Me))}),this.onStylesAdded(K)}onStylesAdded(x){}getAllStyles(){return Array.from(this._stylesSet)}}return W.\u0275fac=function(x){return new(x||W)},W.\u0275prov=h.Yz7({token:W,factory:W.\u0275fac}),W})(),Ne=(()=>{class W extends ce{constructor(x){super(),this._doc=x,this._hostNodes=new Map,this._hostNodes.set(x.head,[])}_addStylesToHost(x,K,Me){x.forEach(Ge=>{const Dt=this._doc.createElement("style");Dt.textContent=Ge,Me.push(K.appendChild(Dt))})}addHost(x){const K=[];this._addStylesToHost(this._stylesSet,x,K),this._hostNodes.set(x,K)}removeHost(x){const K=this._hostNodes.get(x);K&&K.forEach(Le),this._hostNodes.delete(x)}onStylesAdded(x){this._hostNodes.forEach((K,Me)=>{this._addStylesToHost(x,Me,K)})}ngOnDestroy(){this._hostNodes.forEach(x=>x.forEach(Le))}}return W.\u0275fac=function(x){return new(x||W)(h.LFG(D.K0))},W.\u0275prov=h.Yz7({token:W,factory:W.\u0275fac}),W})();function Le(W){(0,D.q)().remove(W)}const Je={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/",math:"http://www.w3.org/1998/MathML/"},se=/%COMP%/g,F="%COMP%",_e=`_nghost-${F}`,Q=`_ngcontent-${F}`;function O(W,L,x){for(let K=0;K<L.length;K++){let Me=L[K];Array.isArray(Me)?O(W,Me,x):(Me=Me.replace(se,W),x.push(Me))}return x}function k(W){return L=>{if("__ngUnwrap__"===L)return W;!1===W(L)&&(L.preventDefault(),L.returnValue=!1)}}let he=(()=>{class W{constructor(x,K,Me){this.eventManager=x,this.sharedStylesHost=K,this.appId=Me,this.rendererByCompId=new Map,this.defaultRenderer=new ie(x)}createRenderer(x,K){if(!x||!K)return this.defaultRenderer;switch(K.encapsulation){case h.ifc.Emulated:{let Me=this.rendererByCompId.get(K.id);return Me||(Me=new pt(this.eventManager,this.sharedStylesHost,K,this.appId),this.rendererByCompId.set(K.id,Me)),Me.applyToHost(x),Me}case 1:case h.ifc.ShadowDom:return new ze(this.eventManager,this.sharedStylesHost,x,K);default:if(!this.rendererByCompId.has(K.id)){const Me=O(K.id,K.styles,[]);this.sharedStylesHost.addStyles(Me),this.rendererByCompId.set(K.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return W.\u0275fac=function(x){return new(x||W)(h.LFG(ye),h.LFG(Ne),h.LFG(h.AFp))},W.\u0275prov=h.Yz7({token:W,factory:W.\u0275fac}),W})();class ie{constructor(L){this.eventManager=L,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(L,x){return x?document.createElementNS(Je[x]||x,L):document.createElement(L)}createComment(L){return document.createComment(L)}createText(L){return document.createTextNode(L)}appendChild(L,x){(ct(L)?L.content:L).appendChild(x)}insertBefore(L,x,K){L&&(ct(L)?L.content:L).insertBefore(x,K)}removeChild(L,x){L&&L.removeChild(x)}selectRootElement(L,x){let K="string"==typeof L?document.querySelector(L):L;if(!K)throw new Error(`The selector "${L}" did not match any elements`);return x||(K.textContent=""),K}parentNode(L){return L.parentNode}nextSibling(L){return L.nextSibling}setAttribute(L,x,K,Me){if(Me){x=Me+":"+x;const Ge=Je[Me];Ge?L.setAttributeNS(Ge,x,K):L.setAttribute(x,K)}else L.setAttribute(x,K)}removeAttribute(L,x,K){if(K){const Me=Je[K];Me?L.removeAttributeNS(Me,x):L.removeAttribute(`${K}:${x}`)}else L.removeAttribute(x)}addClass(L,x){L.classList.add(x)}removeClass(L,x){L.classList.remove(x)}setStyle(L,x,K,Me){Me&(h.JOm.DashCase|h.JOm.Important)?L.style.setProperty(x,K,Me&h.JOm.Important?"important":""):L.style[x]=K}removeStyle(L,x,K){K&h.JOm.DashCase?L.style.removeProperty(x):L.style[x]=""}setProperty(L,x,K){L[x]=K}setValue(L,x){L.nodeValue=x}listen(L,x,K){return"string"==typeof L?this.eventManager.addGlobalEventListener(L,x,k(K)):this.eventManager.addEventListener(L,x,k(K))}}function ct(W){return"TEMPLATE"===W.tagName&&void 0!==W.content}class pt extends ie{constructor(L,x,K,Me){super(L),this.component=K;const Ge=O(Me+"-"+K.id,K.styles,[]);x.addStyles(Ge),this.contentAttr=function q(W){return Q.replace(se,W)}(Me+"-"+K.id),this.hostAttr=function fe(W){return _e.replace(se,W)}(Me+"-"+K.id)}applyToHost(L){super.setAttribute(L,this.hostAttr,"")}createElement(L,x){const K=super.createElement(L,x);return super.setAttribute(K,this.contentAttr,""),K}}class ze extends ie{constructor(L,x,K,Me){super(L),this.sharedStylesHost=x,this.hostEl=K,this.shadowRoot=K.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const Ge=O(Me.id,Me.styles,[]);for(let Dt=0;Dt<Ge.length;Dt++){const jt=document.createElement("style");jt.textContent=Ge[Dt],this.shadowRoot.appendChild(jt)}}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,K){return super.insertBefore(this.nodeOrShadowRoot(L),x,K)}removeChild(L,x){return super.removeChild(this.nodeOrShadowRoot(L),x)}parentNode(L){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(L)))}}let $t=(()=>{class W extends Oe{constructor(x){super(x)}supports(x){return!0}addEventListener(x,K,Me){return x.addEventListener(K,Me,!1),()=>this.removeEventListener(x,K,Me)}removeEventListener(x,K,Me){return x.removeEventListener(K,Me)}}return W.\u0275fac=function(x){return new(x||W)(h.LFG(D.K0))},W.\u0275prov=h.Yz7({token:W,factory:W.\u0275fac}),W})();const hn=["alt","control","meta","shift"],Ie={"\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"},X={A:"1",B:"2",C:"3",D:"4",E:"5",F:"6",G:"7",H:"8",I:"9",J:"*",K:"+",M:"-",N:".",O:"/","`":"0","\x90":"NumLock"},ge={alt:W=>W.altKey,control:W=>W.ctrlKey,meta:W=>W.metaKey,shift:W=>W.shiftKey};let He=(()=>{class W extends Oe{constructor(x){super(x)}supports(x){return null!=W.parseEventName(x)}addEventListener(x,K,Me){const Ge=W.parseEventName(K),Dt=W.eventCallback(Ge.fullKey,Me,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,D.q)().onAndCancel(x,Ge.domEventName,Dt))}static parseEventName(x){const K=x.toLowerCase().split("."),Me=K.shift();if(0===K.length||"keydown"!==Me&&"keyup"!==Me)return null;const Ge=W._normalizeKey(K.pop());let Dt="";if(hn.forEach(qe=>{const or=K.indexOf(qe);or>-1&&(K.splice(or,1),Dt+=qe+".")}),Dt+=Ge,0!=K.length||0===Ge.length)return null;const jt={};return jt.domEventName=Me,jt.fullKey=Dt,jt}static getEventFullKey(x){let K="",Me=function vt(W){let L=W.key;if(null==L){if(L=W.keyIdentifier,null==L)return"Unidentified";L.startsWith("U+")&&(L=String.fromCharCode(parseInt(L.substring(2),16)),3===W.location&&X.hasOwnProperty(L)&&(L=X[L]))}return Ie[L]||L}(x);return Me=Me.toLowerCase()," "===Me?Me="space":"."===Me&&(Me="dot"),hn.forEach(Ge=>{Ge!=Me&&ge[Ge](x)&&(K+=Ge+".")}),K+=Me,K}static eventCallback(x,K,Me){return Ge=>{W.getEventFullKey(Ge)===x&&Me.runGuarded(()=>K(Ge))}}static _normalizeKey(x){return"esc"===x?"escape":x}}return W.\u0275fac=function(x){return new(x||W)(h.LFG(D.K0))},W.\u0275prov=h.Yz7({token:W,factory:W.\u0275fac}),W})();const st=(0,h.eFA)(h._c5,"browser",[{provide:h.Lbi,useValue:D.bD},{provide:h.g9A,useValue:function Jt(){de.makeCurrent()},multi:!0},{provide:D.K0,useFactory:function Rn(){return(0,h.RDi)(document),document},deps:[]}]),Kn=new h.OlP(""),tt=[{provide:h.rWj,useClass:class Z{addToWindow(L){h.dqk.getAngularTestability=(K,Me=!0)=>{const Ge=L.findTestabilityInTree(K,Me);if(null==Ge)throw new Error("Could not find testability for element.");return Ge},h.dqk.getAllAngularTestabilities=()=>L.getAllTestabilities(),h.dqk.getAllAngularRootElements=()=>L.getAllRootElements(),h.dqk.frameworkStabilizers||(h.dqk.frameworkStabilizers=[]),h.dqk.frameworkStabilizers.push(K=>{const Me=h.dqk.getAllAngularTestabilities();let Ge=Me.length,Dt=!1;const jt=function(qe){Dt=Dt||qe,Ge--,0==Ge&&K(Dt)};Me.forEach(function(qe){qe.whenStable(jt)})})}findTestabilityInTree(L,x,K){return null==x?null:L.getTestability(x)??(K?(0,D.q)().isShadowRoot(x)?this.findTestabilityInTree(L,x.host,!0):this.findTestabilityInTree(L,x.parentElement,!0):null)}},deps:[]},{provide:h.lri,useClass:h.dDg,deps:[h.R0b,h.eoX,h.rWj]},{provide:h.dDg,useClass:h.dDg,deps:[h.R0b,h.eoX,h.rWj]}],on=[{provide:h.zSh,useValue:"root"},{provide:h.qLn,useFactory:function Dn(){return new h.qLn},deps:[]},{provide:Ce,useClass:$t,multi:!0,deps:[D.K0,h.R0b,h.Lbi]},{provide:Ce,useClass:He,multi:!0,deps:[D.K0]},{provide:he,useClass:he,deps:[ye,Ne,h.AFp]},{provide:h.FYo,useExisting:he},{provide:ce,useExisting:Ne},{provide:Ne,useClass:Ne,deps:[D.K0]},{provide:ye,useClass:ye,deps:[Ce,h.R0b]},{provide:D.JF,useClass:Ue,deps:[]},[]];let sr=(()=>{class W{constructor(x){}static withServerTransition(x){return{ngModule:W,providers:[{provide:h.AFp,useValue:x.appId},{provide:pe,useExisting:h.AFp},te]}}}return W.\u0275fac=function(x){return new(x||W)(h.LFG(Kn,12))},W.\u0275mod=h.oAB({type:W}),W.\u0275inj=h.cJS({providers:[...on,...tt],imports:[D.ez,h.hGG]}),W})(),Y=(()=>{class W{constructor(x){this._doc=x}getTitle(){return this._doc.title}setTitle(x){this._doc.title=x||""}}return W.\u0275fac=function(x){return new(x||W)(h.LFG(D.K0))},W.\u0275prov=h.Yz7({token:W,factory:function(x){let K=null;return K=x?new x:function z(){return new Y((0,h.LFG)(D.K0))}(),K},providedIn:"root"}),W})();typeof window<"u"&&window;let ln=(()=>{class W{}return W.\u0275fac=function(x){return new(x||W)},W.\u0275prov=h.Yz7({token:W,factory:function(x){let K=null;return K=x?new(x||W):h.LFG(Ve),K},providedIn:"root"}),W})(),Ve=(()=>{class W extends ln{constructor(x){super(),this._doc=x}sanitize(x,K){if(null==K)return null;switch(x){case h.q3G.NONE:return K;case h.q3G.HTML:return(0,h.qzn)(K,"HTML")?(0,h.z3N)(K):(0,h.EiD)(this._doc,String(K)).toString();case h.q3G.STYLE:return(0,h.qzn)(K,"Style")?(0,h.z3N)(K):K;case h.q3G.SCRIPT:if((0,h.qzn)(K,"Script"))return(0,h.z3N)(K);throw new Error("unsafe value used in a script context");case h.q3G.URL:return(0,h.qzn)(K,"URL")?(0,h.z3N)(K):(0,h.mCW)(String(K));case h.q3G.RESOURCE_URL:if((0,h.qzn)(K,"ResourceURL"))return(0,h.z3N)(K);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,h.JVY)(x)}bypassSecurityTrustStyle(x){return(0,h.L6k)(x)}bypassSecurityTrustScript(x){return(0,h.eBb)(x)}bypassSecurityTrustUrl(x){return(0,h.LAX)(x)}bypassSecurityTrustResourceUrl(x){return(0,h.pB0)(x)}}return W.\u0275fac=function(x){return new(x||W)(h.LFG(D.K0))},W.\u0275prov=h.Yz7({token:W,factory:function(x){let K=null;return K=x?new x:function un(W){return new Ve(W.get(D.K0))}(h.LFG(h.zs3)),K},providedIn:"root"}),W})()},8252:(Ye,me,b)=>{b.d(me,{gz:()=>En,m2:()=>ge,F0:()=>vn,Od:()=>so,yS:()=>li,Bz:()=>Qo,lC:()=>gn});var D=b(6895),h=b(4650);const de=(0,b(3888).d)(d=>function(){d(this),this.name="EmptyError",this.message="no elements in sequence"});var $=b(8306),ee=b(727),J=b(4482),ue=b(5403);function pe(){return(0,J.e)((d,c)=>{let u=null;d._refCount++;const m=(0,ue.x)(c,void 0,void 0,void 0,()=>{if(!d||d._refCount<=0||0<--d._refCount)return void(u=null);const C=d._connection,S=u;u=null,C&&(!S||C===S)&&C.unsubscribe(),c.unsubscribe()});d.subscribe(m),m.closed||(u=d.connect())})}class ne extends $.y{constructor(c,u){super(),this.source=c,this.subjectFactory=u,this._subject=null,this._refCount=0,this._connection=null,(0,J.A)(c)&&(this.lift=c.lift)}_subscribe(c){return this.getSubject().subscribe(c)}getSubject(){const c=this._subject;return(!c||c.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:c}=this;this._subject=this._connection=null,c?.unsubscribe()}connect(){let c=this._connection;if(!c){c=this._connection=new ee.w0;const u=this.getSubject();c.add(this.source.subscribe((0,ue.x)(u,void 0,()=>{this._teardown(),u.complete()},m=>{this._teardown(),u.error(m)},()=>this._teardown()))),c.closed&&(this._connection=null,c=ee.w0.EMPTY)}return c}refCount(){return pe()(this)}}var te=b(2076),Z=b(9646),Ue=b(1135),Ce=b(9841),ye=b(2843),Oe=b(7272),ce=b(9770),Ne=b(515),Le=b(7579),Je=b(9300);function se(d){return d<=0?()=>Ne.E:(0,J.e)((c,u)=>{let m=[];c.subscribe((0,ue.x)(u,C=>{m.push(C),d<m.length&&m.shift()},()=>{for(const C of m)u.next(C);u.complete()},void 0,()=>{m=null}))})}function V(d=F){return(0,J.e)((c,u)=>{let m=!1;c.subscribe((0,ue.x)(u,C=>{m=!0,u.next(C)},()=>m?u.complete():u.error(d())))})}function F(){return new de}function _e(d){return(0,J.e)((c,u)=>{let m=!1;c.subscribe((0,ue.x)(u,C=>{m=!0,u.next(C)},()=>{m||u.next(d),u.complete()}))})}var Q=b(4671),fe=b(5698);function O(d,c){const u=arguments.length>=2;return m=>m.pipe(d?(0,Je.h)((C,S)=>d(C,S,m)):Q.y,(0,fe.q)(1),u?_e(c):V(()=>new de))}var k=b(4004),G=b(3900),he=b(8675),ie=b(5026),Se=b(262),Qe=b(4351),ct=b(5577),pt=b(8505),ze=b(9718),$t=b(8746),hn=b(8189),Ae=b(1481);class Ie{constructor(c,u){this.id=c,this.url=u}}class X extends Ie{constructor(c,u,m="imperative",C=null){super(c,u),this.type=0,this.navigationTrigger=m,this.restoredState=C}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class ge extends Ie{constructor(c,u,m){super(c,u),this.urlAfterRedirects=m,this.type=1}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class He extends Ie{constructor(c,u,m){super(c,u),this.reason=m,this.type=2}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class vt extends Ie{constructor(c,u,m){super(c,u),this.error=m,this.type=3}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class sn extends Ie{constructor(c,u,m,C){super(c,u),this.urlAfterRedirects=m,this.state=C,this.type=4}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class In extends Ie{constructor(c,u,m,C){super(c,u),this.urlAfterRedirects=m,this.state=C,this.type=7}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Pn extends Ie{constructor(c,u,m,C,S){super(c,u),this.urlAfterRedirects=m,this.state=C,this.shouldActivate=S,this.type=8}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class Jt extends Ie{constructor(c,u,m,C){super(c,u),this.urlAfterRedirects=m,this.state=C,this.type=5}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Dn extends Ie{constructor(c,u,m,C){super(c,u),this.urlAfterRedirects=m,this.state=C,this.type=6}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Rn{constructor(c){this.route=c,this.type=9}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class xn{constructor(c){this.route=c,this.type=10}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class st{constructor(c){this.snapshot=c,this.type=11}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Kn{constructor(c){this.snapshot=c,this.type=12}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class tt{constructor(c){this.snapshot=c,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class on{constructor(c){this.snapshot=c,this.type=14}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class sr{constructor(c,u,m){this.routerEvent=c,this.position=u,this.anchor=m,this.type=15}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}const ut="primary";class Ee{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 z(d){return new Ee(d)}const Y="ngNavigationCancelingError";function be(d){const c=Error("NavigationCancelingError: "+d);return c[Y]=!0,c}function Be(d,c,u){const m=u.path.split("/");if(m.length>d.length||"full"===u.pathMatch&&(c.hasChildren()||m.length<d.length))return null;const C={};for(let S=0;S<m.length;S++){const R=m[S],N=d[S];if(R.startsWith(":"))C[R.substring(1)]=N;else if(R!==N.path)return null}return{consumed:d.slice(0,m.length),posParams:C}}function _t(d,c){const u=d?Object.keys(d):void 0,m=c?Object.keys(c):void 0;if(!u||!m||u.length!=m.length)return!1;let C;for(let S=0;S<u.length;S++)if(C=u[S],!je(d[C],c[C]))return!1;return!0}function je(d,c){if(Array.isArray(d)&&Array.isArray(c)){if(d.length!==c.length)return!1;const u=[...d].sort(),m=[...c].sort();return u.every((C,S)=>m[S]===C)}return d===c}function Lt(d){return Array.prototype.concat.apply([],d)}function Wt(d){return d.length>0?d[d.length-1]:null}function it(d,c){for(const u in d)d.hasOwnProperty(u)&&c(d[u],u)}function yt(d){return(0,h.CqO)(d)?d:(0,h.QGY)(d)?(0,te.D)(Promise.resolve(d)):(0,Z.of)(d)}const Yn={exact:function Tr(d,c,u){if(!Kt(d.segments,c.segments)||!ir(d.segments,c.segments,u)||d.numberOfChildren!==c.numberOfChildren)return!1;for(const m in c.children)if(!d.children[m]||!Tr(d.children[m],c.children[m],u))return!1;return!0},subset:gr},An={exact:function On(d,c){return _t(d,c)},subset:function Fr(d,c){return Object.keys(c).length<=Object.keys(d).length&&Object.keys(c).every(u=>je(d[u],c[u]))},ignored:()=>!0};function nn(d,c,u){return Yn[u.paths](d.root,c.root,u.matrixParams)&&An[u.queryParams](d.queryParams,c.queryParams)&&!("exact"===u.fragment&&d.fragment!==c.fragment)}function gr(d,c,u){return mr(d,c,c.segments,u)}function mr(d,c,u,m){if(d.segments.length>u.length){const C=d.segments.slice(0,u.length);return!(!Kt(C,u)||c.hasChildren()||!ir(C,u,m))}if(d.segments.length===u.length){if(!Kt(d.segments,u)||!ir(d.segments,u,m))return!1;for(const C in c.children)if(!d.children[C]||!gr(d.children[C],c.children[C],m))return!1;return!0}{const C=u.slice(0,d.segments.length),S=u.slice(d.segments.length);return!!(Kt(d.segments,C)&&ir(d.segments,C,m)&&d.children[ut])&&mr(d.children[ut],c,S,m)}}function ir(d,c,u){return c.every((m,C)=>An[u](d[C].parameters,m.parameters))}class Qn{constructor(c,u,m){this.root=c,this.queryParams=u,this.fragment=m}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=z(this.queryParams)),this._queryParamMap}toString(){return gt.serialize(this)}}class Ct{constructor(c,u){this.segments=c,this.children=u,this.parent=null,it(u,(m,C)=>m.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return W(this)}}class At{constructor(c,u){this.path=c,this.parameters=u}get parameterMap(){return this._parameterMap||(this._parameterMap=z(this.parameters)),this._parameterMap}toString(){return qe(this)}}function Kt(d,c){return d.length===c.length&&d.every((u,m)=>u.path===c[m].path)}class un{}class Ve{parse(c){const u=new ur(c);return new Qn(u.parseRootSegment(),u.parseQueryParams(),u.parseFragment())}serialize(c){const u=`/${L(c.root,!0)}`,m=function ar(d){const c=Object.keys(d).map(u=>{const m=d[u];return Array.isArray(m)?m.map(C=>`${K(u)}=${K(C)}`).join("&"):`${K(u)}=${K(m)}`}).filter(u=>!!u);return c.length?`?${c.join("&")}`:""}(c.queryParams);return`${u}${m}${"string"==typeof c.fragment?`#${function Me(d){return encodeURI(d)}(c.fragment)}`:""}`}}const gt=new Ve;function W(d){return d.segments.map(c=>qe(c)).join("/")}function L(d,c){if(!d.hasChildren())return W(d);if(c){const u=d.children[ut]?L(d.children[ut],!1):"",m=[];return it(d.children,(C,S)=>{S!==ut&&m.push(`${S}:${L(C,!1)}`)}),m.length>0?`${u}(${m.join("//")})`:u}{const u=function ln(d,c){let u=[];return it(d.children,(m,C)=>{C===ut&&(u=u.concat(c(m,C)))}),it(d.children,(m,C)=>{C!==ut&&(u=u.concat(c(m,C)))}),u}(d,(m,C)=>C===ut?[L(d.children[ut],!1)]:[`${C}:${L(m,!1)}`]);return 1===Object.keys(d.children).length&&null!=d.children[ut]?`${W(d)}/${u[0]}`:`${W(d)}/(${u.join("//")})`}}function x(d){return encodeURIComponent(d).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function K(d){return x(d).replace(/%3B/gi,";")}function Ge(d){return x(d).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Dt(d){return decodeURIComponent(d)}function jt(d){return Dt(d.replace(/\+/g,"%20"))}function qe(d){return`${Ge(d.path)}${function or(d){return Object.keys(d).map(c=>`;${Ge(c)}=${Ge(d[c])}`).join("")}(d.parameters)}`}const Sr=/^[^\/()?;=#]+/;function Nn(d){const c=d.match(Sr);return c?c[0]:""}const rn=/^[^=?&#]+/,lr=/^[^&#]+/;class ur{constructor(c){this.url=c,this.remaining=c}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new Ct([],{}):new Ct([],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 m={};return this.peekStartsWith("(")&&(m=this.parseParens(!1)),(c.length>0||Object.keys(u).length>0)&&(m[ut]=new Ct(c,u)),m}parseSegment(){const c=Nn(this.remaining);if(""===c&&this.peekStartsWith(";"))throw new Error(`Empty path url segment cannot have parameters: '${this.remaining}'.`);return this.capture(c),new At(Dt(c),this.parseMatrixParams())}parseMatrixParams(){const c={};for(;this.consumeOptional(";");)this.parseParam(c);return c}parseParam(c){const u=Nn(this.remaining);if(!u)return;this.capture(u);let m="";if(this.consumeOptional("=")){const C=Nn(this.remaining);C&&(m=C,this.capture(m))}c[Dt(u)]=Dt(m)}parseQueryParam(c){const u=function es(d){const c=d.match(rn);return c?c[0]:""}(this.remaining);if(!u)return;this.capture(u);let m="";if(this.consumeOptional("=")){const R=function Xt(d){const c=d.match(lr);return c?c[0]:""}(this.remaining);R&&(m=R,this.capture(m))}const C=jt(u),S=jt(m);if(c.hasOwnProperty(C)){let R=c[C];Array.isArray(R)||(R=[R],c[C]=R),R.push(S)}else c[C]=S}parseParens(c){const u={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const m=Nn(this.remaining),C=this.remaining[m.length];if("/"!==C&&")"!==C&&";"!==C)throw new Error(`Cannot parse url '${this.url}'`);let S;m.indexOf(":")>-1?(S=m.slice(0,m.indexOf(":")),this.capture(S),this.capture(":")):c&&(S=ut);const R=this.parseChildren();u[S]=1===Object.keys(R).length?R[ut]:new Ct([],R),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 Ds{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=Bt(c,this._root);return u?u.children.map(m=>m.value):[]}firstChild(c){const u=Bt(c,this._root);return u&&u.children.length>0?u.children[0].value:null}siblings(c){const u=Cs(c,this._root);return u.length<2?[]:u[u.length-2].children.map(C=>C.value).filter(C=>C!==c)}pathFromRoot(c){return Cs(c,this._root).map(u=>u.value)}}function Bt(d,c){if(d===c.value)return c;for(const u of c.children){const m=Bt(d,u);if(m)return m}return null}function Cs(d,c){if(d===c.value)return[c];for(const u of c.children){const m=Cs(d,u);if(m.length)return m.unshift(c),m}return[]}class Fn{constructor(c,u){this.value=c,this.children=u}toString(){return`TreeNode(${this.value})`}}function kn(d){const c={};return d&&d.children.forEach(u=>c[u.value.outlet]=u),c}class ts extends Ds{constructor(c,u){super(c),this.snapshot=u,qn(this,c)}toString(){return this.snapshot.toString()}}function cr(d,c){const u=function Mr(d,c){const R=new Qt([],{},{},"",{},ut,c,null,d.root,-1,{});return new pn("",new Fn(R,[]))}(d,c),m=new Ue.X([new At("",{})]),C=new Ue.X({}),S=new Ue.X({}),R=new Ue.X({}),N=new Ue.X(""),De=new En(m,C,R,N,S,ut,c,u.root);return De.snapshot=u.root,new ts(new Fn(De,[]),u)}class En{constructor(c,u,m,C,S,R,N,De){this.url=c,this.params=u,this.queryParams=m,this.fragment=C,this.data=S,this.outlet=R,this.component=N,this._futureSnapshot=De}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,k.U)(c=>z(c)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe((0,k.U)(c=>z(c)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function en(d,c="emptyOnly"){const u=d.pathFromRoot;let m=0;if("always"!==c)for(m=u.length-1;m>=1;){const C=u[m],S=u[m-1];if(C.routeConfig&&""===C.routeConfig.path)m--;else{if(S.component)break;m--}}return function gi(d){return d.reduce((c,u)=>({params:{...c.params,...u.params},data:{...c.data,...u.data},resolve:{...u.data,...c.resolve,...u.routeConfig?.data,...u._resolvedData}}),{params:{},data:{},resolve:{}})}(u.slice(m))}class Qt{constructor(c,u,m,C,S,R,N,De,ke,at,$e,Pt){this.url=c,this.params=u,this.queryParams=m,this.fragment=C,this.data=S,this.outlet=R,this.component=N,this.routeConfig=De,this._urlSegment=ke,this._lastPathIndex=at,this._correctedLastPathIndex=Pt??at,this._resolve=$e}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=z(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=z(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(m=>m.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class pn extends Ds{constructor(c,u){super(u),this.url=c,qn(this,u)}toString(){return Ln(this._root)}}function qn(d,c){c.value._routerState=d,c.children.forEach(u=>qn(d,u))}function Ln(d){const c=d.children.length>0?` { ${d.children.map(Ln).join(", ")} } `:"";return`${d.value}${c}`}function Hn(d){if(d.snapshot){const c=d.snapshot,u=d._futureSnapshot;d.snapshot=u,_t(c.queryParams,u.queryParams)||d.queryParams.next(u.queryParams),c.fragment!==u.fragment&&d.fragment.next(u.fragment),_t(c.params,u.params)||d.params.next(u.params),function Ft(d,c){if(d.length!==c.length)return!1;for(let u=0;u<d.length;++u)if(!_t(d[u],c[u]))return!1;return!0}(c.url,u.url)||d.url.next(u.url),_t(c.data,u.data)||d.data.next(u.data)}else d.snapshot=d._futureSnapshot,d.data.next(d._futureSnapshot.data)}function cn(d,c){const u=_t(d.params,c.params)&&function an(d,c){return Kt(d,c)&&d.every((u,m)=>_t(u.parameters,c[m].parameters))}(d.url,c.url);return u&&!(!d.parent!=!c.parent)&&(!d.parent||cn(d.parent,c.parent))}function kr(d,c,u){if(u&&d.shouldReuseRoute(c.value,u.value.snapshot)){const m=u.value;m._futureSnapshot=c.value;const C=function Lr(d,c,u){return c.children.map(m=>{for(const C of u.children)if(d.shouldReuseRoute(m.value,C.value.snapshot))return kr(d,m,C);return kr(d,m)})}(d,c,u);return new Fn(m,C)}{if(d.shouldAttach(c.value)){const S=d.retrieve(c.value);if(null!==S){const R=S.route;return R.value._futureSnapshot=c.value,R.children=c.children.map(N=>kr(d,N)),R}}const m=function mi(d){return new En(new Ue.X(d.url),new Ue.X(d.params),new Ue.X(d.queryParams),new Ue.X(d.fragment),new Ue.X(d.data),d.outlet,d.component,d)}(c.value),C=c.children.map(S=>kr(d,S));return new Fn(m,C)}}function jr(d){return"object"==typeof d&&null!=d&&!d.outlets&&!d.segmentPath}function Es(d){return"object"==typeof d&&null!=d&&d.outlets}function bn(d,c,u,m,C){let S={};if(m&&it(m,(N,De)=>{S[De]=Array.isArray(N)?N.map(ke=>`${ke}`):`${N}`}),d===c)return new Qn(u,S,C);const R=dr(d,c,u);return new Qn(R,S,C)}function dr(d,c,u){const m={};return it(d.children,(C,S)=>{m[S]=C===c?u:dr(C,c,u)}),new Ct(d.segments,m)}class Js{constructor(c,u,m){if(this.isAbsolute=c,this.numberOfDoubleDots=u,this.commands=m,c&&m.length>0&&jr(m[0]))throw new Error("Root segment cannot have matrix parameters");const C=m.find(Es);if(C&&C!==Wt(m))throw new Error("{outlets:{}} has to be the last command")}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class Bn{constructor(c,u,m){this.segmentGroup=c,this.processChildren=u,this.index=m}}function ws(d,c,u){if(d||(d=new Ct([],{})),0===d.segments.length&&d.hasChildren())return rs(d,c,u);const m=function bs(d,c,u){let m=0,C=c;const S={match:!1,pathIndex:0,commandIndex:0};for(;C<d.segments.length;){if(m>=u.length)return S;const R=d.segments[C],N=u[m];if(Es(N))break;const De=`${N}`,ke=m<u.length-1?u[m+1]:null;if(C>0&&void 0===De)break;if(De&&ke&&"object"==typeof ke&&void 0===ke.outlets){if(!vi(De,ke,R))return S;m+=2}else{if(!vi(De,{},R))return S;m++}C++}return{match:!0,pathIndex:C,commandIndex:m}}(d,c,u),C=u.slice(m.commandIndex);if(m.match&&m.pathIndex<d.segments.length){const S=new Ct(d.segments.slice(0,m.pathIndex),{});return S.children[ut]=new Ct(d.segments.slice(m.pathIndex),d.children),rs(S,0,C)}return m.match&&0===C.length?new Ct(d.segments,{}):m.match&&!d.hasChildren()?fr(d,c,u):m.match?rs(d,0,C):fr(d,c,u)}function rs(d,c,u){if(0===u.length)return new Ct(d.segments,{});{const m=function Qi(d){return Es(d[0])?d[0].outlets:{[ut]:d}}(u),C={};return it(m,(S,R)=>{"string"==typeof S&&(S=[S]),null!==S&&(C[R]=ws(d.children[R],c,S))}),it(d.children,(S,R)=>{void 0===m[R]&&(C[R]=S)}),new Ct(d.segments,C)}}function fr(d,c,u){const m=d.segments.slice(0,c);let C=0;for(;C<u.length;){const S=u[C];if(Es(S)){const De=Ts(S.outlets);return new Ct(m,De)}if(0===C&&jr(u[0])){m.push(new At(d.segments[c].path,Ss(u[0]))),C++;continue}const R=Es(S)?S.outlets[ut]:`${S}`,N=C<u.length-1?u[C+1]:null;R&&N&&jr(N)?(m.push(new At(R,Ss(N))),C+=2):(m.push(new At(R,{})),C++)}return new Ct(m,{})}function Ts(d){const c={};return it(d,(u,m)=>{"string"==typeof u&&(u=[u]),null!==u&&(c[m]=fr(new Ct([],{}),0,u))}),c}function Ss(d){const c={};return it(d,(u,m)=>c[m]=`${u}`),c}function vi(d,c,u){return d==u.path&&_t(c,u.parameters)}class _i{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.injector=null,this.children=new jn,this.attachRef=null}}class jn{constructor(){this.contexts=new Map}onChildOutletCreated(c,u){const m=this.getOrCreateContext(c);m.outlet=u,this.contexts.set(c,m)}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 _i,this.contexts.set(c,u)),u}getContext(c){return this.contexts.get(c)||null}}let gn=(()=>{class d{constructor(u,m,C,S,R){this.parentContexts=u,this.location=m,this.changeDetector=S,this.environmentInjector=R,this.activated=null,this._activatedRoute=null,this.activateEvents=new h.vpe,this.deactivateEvents=new h.vpe,this.attachEvents=new h.vpe,this.detachEvents=new h.vpe,this.name=C||ut,u.onChildOutletCreated(this.name,this)}ngOnDestroy(){this.parentContexts.getContext(this.name)?.outlet===this&&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.injector))}}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,m){this.activated=u,this._activatedRoute=m,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,m){if(this.isActivated)throw new Error("Cannot activate an already activated outlet");this._activatedRoute=u;const C=this.location,R=u._futureSnapshot.component,N=this.parentContexts.getOrCreateContext(this.name).children,De=new Ur(u,N,C.injector);if(m&&function Ir(d){return!!d.resolveComponentFactory}(m)){const ke=m.resolveComponentFactory(R);this.activated=C.createComponent(ke,C.length,De)}else this.activated=C.createComponent(R,{index:C.length,injector:De,environmentInjector:m??this.environmentInjector});this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return d.\u0275fac=function(u){return new(u||d)(h.Y36(jn),h.Y36(h.s_b),h.$8M("name"),h.Y36(h.sBO),h.Y36(h.lqb))},d.\u0275dir=h.lG2({type:d,selectors:[["router-outlet"]],outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"]}),d})();class Ur{constructor(c,u,m){this.route=c,this.childContexts=u,this.parent=m}get(c,u){return c===En?this.route:c===jn?this.childContexts:this.parent.get(c,u)}}let Hr=(()=>{class d{}return d.\u0275fac=function(u){return new(u||d)},d.\u0275cmp=h.Xpm({type:d,selectors:[["ng-component"]],decls:1,vars:0,template:function(u,m){1&u&&h._UZ(0,"router-outlet")},dependencies:[gn],encapsulation:2}),d})();function Xs(d,c){return d.providers&&!d._injector&&(d._injector=(0,h.MMx)(d.providers,c,`Route: ${d.path}`)),d._injector??c}function Vr(d){const c=d.children&&d.children.map(Vr),u=c?{...d,children:c}:{...d};return!u.component&&!u.loadComponent&&(c||u.loadChildren)&&u.outlet&&u.outlet!==ut&&(u.component=Hr),u}function mn(d){return d.outlet||ut}function ss(d,c){const u=d.filter(m=>mn(m)===c);return u.push(...d.filter(m=>mn(m)!==c)),u}function is(d){if(!d)return null;if(d.routeConfig?._injector)return d.routeConfig._injector;for(let c=d.parent;c;c=c.parent){const u=c.routeConfig;if(u?._loadedInjector)return u._loadedInjector;if(u?._injector)return u._injector}return null}class ti{constructor(c,u,m,C){this.routeReuseStrategy=c,this.futureState=u,this.currState=m,this.forwardEvent=C}activate(c){const u=this.futureState._root,m=this.currState?this.currState._root:null;this.deactivateChildRoutes(u,m,c),Hn(this.futureState.root),this.activateChildRoutes(u,m,c)}deactivateChildRoutes(c,u,m){const C=kn(u);c.children.forEach(S=>{const R=S.value.outlet;this.deactivateRoutes(S,C[R],m),delete C[R]}),it(C,(S,R)=>{this.deactivateRouteAndItsChildren(S,m)})}deactivateRoutes(c,u,m){const C=c.value,S=u?u.value:null;if(C===S)if(C.component){const R=m.getContext(C.outlet);R&&this.deactivateChildRoutes(c,u,R.children)}else this.deactivateChildRoutes(c,u,m);else S&&this.deactivateRouteAndItsChildren(u,m)}deactivateRouteAndItsChildren(c,u){c.value.component&&this.routeReuseStrategy.shouldDetach(c.value.snapshot)?this.detachAndStoreRouteSubtree(c,u):this.deactivateRouteAndOutlet(c,u)}detachAndStoreRouteSubtree(c,u){const m=u.getContext(c.value.outlet),C=m&&c.value.component?m.children:u,S=kn(c);for(const R of Object.keys(S))this.deactivateRouteAndItsChildren(S[R],C);if(m&&m.outlet){const R=m.outlet.detach(),N=m.children.onOutletDeactivated();this.routeReuseStrategy.store(c.value.snapshot,{componentRef:R,route:c,contexts:N})}}deactivateRouteAndOutlet(c,u){const m=u.getContext(c.value.outlet),C=m&&c.value.component?m.children:u,S=kn(c);for(const R of Object.keys(S))this.deactivateRouteAndItsChildren(S[R],C);m&&m.outlet&&(m.outlet.deactivate(),m.children.onOutletDeactivated(),m.attachRef=null,m.resolver=null,m.route=null)}activateChildRoutes(c,u,m){const C=kn(u);c.children.forEach(S=>{this.activateRoutes(S,C[S.value.outlet],m),this.forwardEvent(new on(S.value.snapshot))}),c.children.length&&this.forwardEvent(new Kn(c.value.snapshot))}activateRoutes(c,u,m){const C=c.value,S=u?u.value:null;if(Hn(C),C===S)if(C.component){const R=m.getOrCreateContext(C.outlet);this.activateChildRoutes(c,u,R.children)}else this.activateChildRoutes(c,u,m);else if(C.component){const R=m.getOrCreateContext(C.outlet);if(this.routeReuseStrategy.shouldAttach(C.snapshot)){const N=this.routeReuseStrategy.retrieve(C.snapshot);this.routeReuseStrategy.store(C.snapshot,null),R.children.onOutletReAttached(N.contexts),R.attachRef=N.componentRef,R.route=N.route.value,R.outlet&&R.outlet.attach(N.componentRef,N.route.value),Hn(N.route.value),this.activateChildRoutes(c,null,R.children)}else{const N=is(C.snapshot),De=N?.get(h._Vd)??null;R.attachRef=null,R.route=C,R.resolver=De,R.injector=N,R.outlet&&R.outlet.activateWith(C,R.injector),this.activateChildRoutes(c,null,R.children)}}else this.activateChildRoutes(c,null,m)}}function Jn(d){return"function"==typeof d}function Xn(d){return d instanceof Qn}const M=Symbol("INITIAL_VALUE");function _(){return(0,G.w)(d=>(0,Ce.a)(d.map(c=>c.pipe((0,fe.q)(1),(0,he.O)(M)))).pipe((0,ie.R)((c,u)=>{let m=!1;return u.reduce((C,S,R)=>C!==M?C:(S===M&&(m=!0),m||!1!==S&&R!==u.length-1&&!Xn(S)?C:S),c)},M),(0,Je.h)(c=>c!==M),(0,k.U)(c=>Xn(c)?c:!0===c),(0,fe.q)(1)))}const I={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function U(d,c,u){if(""===c.path)return"full"===c.pathMatch&&(d.hasChildren()||u.length>0)?{...I}:{matched:!0,consumedSegments:[],remainingSegments:u,parameters:{},positionalParamSegments:{}};const C=(c.matcher||Be)(u,d,c);if(!C)return{...I};const S={};it(C.posParams,(N,De)=>{S[De]=N.path});const R=C.consumed.length>0?{...S,...C.consumed[C.consumed.length-1].parameters}:S;return{matched:!0,consumedSegments:C.consumed,remainingSegments:u.slice(C.consumed.length),parameters:R,positionalParamSegments:C.posParams??{}}}function ve(d,c,u,m,C="corrected"){if(u.length>0&&function Tt(d,c,u){return u.some(m=>xt(d,c,m)&&mn(m)!==ut)}(d,u,m)){const R=new Ct(c,function Xe(d,c,u,m){const C={};C[ut]=m,m._sourceSegment=d,m._segmentIndexShift=c.length;for(const S of u)if(""===S.path&&mn(S)!==ut){const R=new Ct([],{});R._sourceSegment=d,R._segmentIndexShift=c.length,C[mn(S)]=R}return C}(d,c,m,new Ct(u,d.children)));return R._sourceSegment=d,R._segmentIndexShift=c.length,{segmentGroup:R,slicedSegments:[]}}if(0===u.length&&function Ut(d,c,u){return u.some(m=>xt(d,c,m))}(d,u,m)){const R=new Ct(d.segments,function Re(d,c,u,m,C,S){const R={};for(const N of m)if(xt(d,u,N)&&!C[mn(N)]){const De=new Ct([],{});De._sourceSegment=d,De._segmentIndexShift="legacy"===S?d.segments.length:c.length,R[mn(N)]=De}return{...C,...R}}(d,c,u,m,d.children,C));return R._sourceSegment=d,R._segmentIndexShift=c.length,{segmentGroup:R,slicedSegments:u}}const S=new Ct(d.segments,d.children);return S._sourceSegment=d,S._segmentIndexShift=c.length,{segmentGroup:S,slicedSegments:u}}function xt(d,c,u){return(!(d.hasChildren()||c.length>0)||"full"!==u.pathMatch)&&""===u.path}function Mt(d,c,u,m){return!!(mn(d)===m||m!==ut&&xt(c,u,d))&&("**"===d.path||U(c,d,u).matched)}function Ht(d,c,u){return 0===c.length&&!d.children[u]}class Rt{constructor(c){this.segmentGroup=c||null}}class qt{constructor(c){this.urlTree=c}}function rt(d){return(0,ye._)(new Rt(d))}function er(d){return(0,ye._)(new qt(d))}class $r{constructor(c,u,m,C,S){this.injector=c,this.configLoader=u,this.urlSerializer=m,this.urlTree=C,this.config=S,this.allowRedirects=!0}apply(){const c=ve(this.urlTree.root,[],[],this.config).segmentGroup,u=new Ct(c.segments,c.children);return this.expandSegmentGroup(this.injector,this.config,u,ut).pipe((0,k.U)(S=>this.createUrlTree(Si(S),this.urlTree.queryParams,this.urlTree.fragment))).pipe((0,Se.K)(S=>{if(S instanceof qt)return this.allowRedirects=!1,this.match(S.urlTree);throw S instanceof Rt?this.noMatchError(S):S}))}match(c){return this.expandSegmentGroup(this.injector,this.config,c.root,ut).pipe((0,k.U)(C=>this.createUrlTree(Si(C),c.queryParams,c.fragment))).pipe((0,Se.K)(C=>{throw C instanceof Rt?this.noMatchError(C):C}))}noMatchError(c){return new Error(`Cannot match any routes. URL Segment: '${c.segmentGroup}'`)}createUrlTree(c,u,m){const C=c.segments.length>0?new Ct([],{[ut]:c}):c;return new Qn(C,u,m)}expandSegmentGroup(c,u,m,C){return 0===m.segments.length&&m.hasChildren()?this.expandChildren(c,u,m).pipe((0,k.U)(S=>new Ct([],S))):this.expandSegment(c,m,u,m.segments,C,!0)}expandChildren(c,u,m){const C=[];for(const S of Object.keys(m.children))"primary"===S?C.unshift(S):C.push(S);return(0,te.D)(C).pipe((0,Qe.b)(S=>{const R=m.children[S],N=ss(u,S);return this.expandSegmentGroup(c,N,R,S).pipe((0,k.U)(De=>({segment:De,outlet:S})))}),(0,ie.R)((S,R)=>(S[R.outlet]=R.segment,S),{}),function q(d,c){const u=arguments.length>=2;return m=>m.pipe(d?(0,Je.h)((C,S)=>d(C,S,m)):Q.y,se(1),u?_e(c):V(()=>new de))}())}expandSegment(c,u,m,C,S,R){return(0,te.D)(m).pipe((0,Qe.b)(N=>this.expandSegmentAgainstRoute(c,u,m,N,C,S,R).pipe((0,Se.K)(ke=>{if(ke instanceof Rt)return(0,Z.of)(null);throw ke}))),O(N=>!!N),(0,Se.K)((N,De)=>{if(N instanceof de||"EmptyError"===N.name)return Ht(u,C,S)?(0,Z.of)(new Ct([],{})):rt(u);throw N}))}expandSegmentAgainstRoute(c,u,m,C,S,R,N){return Mt(C,u,S,R)?void 0===C.redirectTo?this.matchSegmentAgainstRoute(c,u,C,S,R):N&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(c,u,m,C,S,R):rt(u):rt(u)}expandSegmentAgainstRouteUsingRedirect(c,u,m,C,S,R){return"**"===C.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(c,m,C,R):this.expandRegularSegmentAgainstRouteUsingRedirect(c,u,m,C,S,R)}expandWildCardWithParamsAgainstRouteUsingRedirect(c,u,m,C){const S=this.applyRedirectCommands([],m.redirectTo,{});return m.redirectTo.startsWith("/")?er(S):this.lineralizeSegments(m,S).pipe((0,ct.z)(R=>{const N=new Ct(R,{});return this.expandSegment(c,N,u,R,C,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(c,u,m,C,S,R){const{matched:N,consumedSegments:De,remainingSegments:ke,positionalParamSegments:at}=U(u,C,S);if(!N)return rt(u);const $e=this.applyRedirectCommands(De,C.redirectTo,at);return C.redirectTo.startsWith("/")?er($e):this.lineralizeSegments(C,$e).pipe((0,ct.z)(Pt=>this.expandSegment(c,u,m,Pt.concat(ke),R,!1)))}matchSegmentAgainstRoute(c,u,m,C,S){if("**"===m.path)return c=Xs(m,c),m.loadChildren?(m._loadedRoutes?(0,Z.of)({routes:m._loadedRoutes,injector:m._loadedInjector}):this.configLoader.loadChildren(c,m)).pipe((0,k.U)($e=>(m._loadedRoutes=$e.routes,m._loadedInjector=$e.injector,new Ct(C,{})))):(0,Z.of)(new Ct(C,{}));const{matched:R,consumedSegments:N,remainingSegments:De}=U(u,m,C);return R?(c=Xs(m,c),this.getChildConfig(c,m,C).pipe((0,ct.z)(at=>{const $e=at.injector??c,Pt=at.routes,{segmentGroup:Ot,slicedSegments:St}=ve(u,N,De,Pt),Cr=new Ct(Ot.segments,Ot.children);if(0===St.length&&Cr.hasChildren())return this.expandChildren($e,Pt,Cr).pipe((0,k.U)(nt=>new Ct(N,nt)));if(0===Pt.length&&0===St.length)return(0,Z.of)(new Ct(N,{}));const xr=mn(m)===S;return this.expandSegment($e,Cr,Pt,St,xr?ut:S,!0).pipe((0,k.U)($s=>new Ct(N.concat($s.segments),$s.children)))}))):rt(u)}getChildConfig(c,u,m){return u.children?(0,Z.of)({routes:u.children,injector:c}):u.loadChildren?void 0!==u._loadedRoutes?(0,Z.of)({routes:u._loadedRoutes,injector:u._loadedInjector}):this.runCanLoadGuards(c,u,m).pipe((0,ct.z)(C=>C?this.configLoader.loadChildren(c,u).pipe((0,pt.b)(S=>{u._loadedRoutes=S.routes,u._loadedInjector=S.injector})):function Ar(d){return(0,ye._)(be(`Cannot load children because the guard of the route "path: '${d.path}'" returned false`))}(u))):(0,Z.of)({routes:[],injector:c})}runCanLoadGuards(c,u,m){const C=u.canLoad;if(!C||0===C.length)return(0,Z.of)(!0);const S=C.map(R=>{const N=c.get(R);let De;if(function Ei(d){return d&&Jn(d.canLoad)}(N))De=N.canLoad(u,m);else{if(!Jn(N))throw new Error("Invalid CanLoad guard");De=N(u,m)}return yt(De)});return(0,Z.of)(S).pipe(_(),(0,pt.b)(R=>{if(!Xn(R))return;const N=be(`Redirecting to "${this.urlSerializer.serialize(R)}"`);throw N.url=R,N}),(0,k.U)(R=>!0===R))}lineralizeSegments(c,u){let m=[],C=u.root;for(;;){if(m=m.concat(C.segments),0===C.numberOfChildren)return(0,Z.of)(m);if(C.numberOfChildren>1||!C.children[ut])return(0,ye._)(new Error(`Only absolute redirects can have named outlets. redirectTo: '${c.redirectTo}'`));C=C.children[ut]}}applyRedirectCommands(c,u,m){return this.applyRedirectCreatreUrlTree(u,this.urlSerializer.parse(u),c,m)}applyRedirectCreatreUrlTree(c,u,m,C){const S=this.createSegmentGroup(c,u.root,m,C);return new Qn(S,this.createQueryParams(u.queryParams,this.urlTree.queryParams),u.fragment)}createQueryParams(c,u){const m={};return it(c,(C,S)=>{if("string"==typeof C&&C.startsWith(":")){const N=C.substring(1);m[S]=u[N]}else m[S]=C}),m}createSegmentGroup(c,u,m,C){const S=this.createSegments(c,u.segments,m,C);let R={};return it(u.children,(N,De)=>{R[De]=this.createSegmentGroup(c,N,m,C)}),new Ct(S,R)}createSegments(c,u,m,C){return u.map(S=>S.path.startsWith(":")?this.findPosParam(c,S,C):this.findOrReturn(S,m))}findPosParam(c,u,m){const C=m[u.path.substring(1)];if(!C)throw new Error(`Cannot redirect to '${c}'. Cannot find '${u.path}'.`);return C}findOrReturn(c,u){let m=0;for(const C of u){if(C.path===c.path)return u.splice(m),C;m++}return c}}function Si(d){const c={};for(const m of Object.keys(d.children)){const S=Si(d.children[m]);(S.segments.length>0||S.hasChildren())&&(c[m]=S)}return function ni(d){if(1===d.numberOfChildren&&d.children[ut]){const c=d.children[ut];return new Ct(d.segments.concat(c.segments),c.children)}return d}(new Ct(d.segments,c))}class Pe{constructor(c){this.path=c,this.route=this.path[this.path.length-1]}}class bt{constructor(c,u){this.component=c,this.route=u}}function Mi(d,c,u){const m=d._root;return as(m,c?c._root:null,u,[m.value])}function Zt(d,c,u){return(is(c)??u).get(d)}function as(d,c,u,m,C={canDeactivateChecks:[],canActivateChecks:[]}){const S=kn(c);return d.children.forEach(R=>{(function Ps(d,c,u,m,C={canDeactivateChecks:[],canActivateChecks:[]}){const S=d.value,R=c?c.value:null,N=u?u.getContext(d.value.outlet):null;if(R&&S.routeConfig===R.routeConfig){const De=function hr(d,c,u){if("function"==typeof u)return u(d,c);switch(u){case"pathParamsChange":return!Kt(d.url,c.url);case"pathParamsOrQueryParamsChange":return!Kt(d.url,c.url)||!_t(d.queryParams,c.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!cn(d,c)||!_t(d.queryParams,c.queryParams);default:return!cn(d,c)}}(R,S,S.routeConfig.runGuardsAndResolvers);De?C.canActivateChecks.push(new Pe(m)):(S.data=R.data,S._resolvedData=R._resolvedData),as(d,c,S.component?N?N.children:null:u,m,C),De&&N&&N.outlet&&N.outlet.isActivated&&C.canDeactivateChecks.push(new bt(N.outlet.component,R))}else R&&zr(c,N,C),C.canActivateChecks.push(new Pe(m)),as(d,null,S.component?N?N.children:null:u,m,C)})(R,S[R.value.outlet],u,m.concat([R.value]),C),delete S[R.value.outlet]}),it(S,(R,N)=>zr(R,u.getContext(N),C)),C}function zr(d,c,u){const m=kn(d),C=d.value;it(m,(S,R)=>{zr(S,C.component?c?c.children.getContext(R):null:c,u)}),u.canDeactivateChecks.push(new bt(C.component&&c&&c.outlet&&c.outlet.isActivated?c.outlet.component:null,C))}class _r{}function Ii(d){return new $.y(c=>c.error(d))}class Vn{constructor(c,u,m,C,S,R){this.rootComponentType=c,this.config=u,this.urlTree=m,this.url=C,this.paramsInheritanceStrategy=S,this.relativeLinkResolution=R}recognize(){const c=ve(this.urlTree.root,[],[],this.config.filter(R=>void 0===R.redirectTo),this.relativeLinkResolution).segmentGroup,u=this.processSegmentGroup(this.config,c,ut);if(null===u)return null;const m=new Qt([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},ut,this.rootComponentType,null,this.urlTree.root,-1,{}),C=new Fn(m,u),S=new pn(this.url,C);return this.inheritParamsAndData(S._root),S}inheritParamsAndData(c){const u=c.value,m=en(u,this.paramsInheritanceStrategy);u.params=Object.freeze(m.params),u.data=Object.freeze(m.data),c.children.forEach(C=>this.inheritParamsAndData(C))}processSegmentGroup(c,u,m){return 0===u.segments.length&&u.hasChildren()?this.processChildren(c,u):this.processSegment(c,u,u.segments,m)}processChildren(c,u){const m=[];for(const S of Object.keys(u.children)){const R=u.children[S],N=ss(c,S),De=this.processSegmentGroup(N,R,S);if(null===De)return null;m.push(...De)}const C=Pi(m);return function Ai(d){d.sort((c,u)=>c.value.outlet===ut?-1:u.value.outlet===ut?1:c.value.outlet.localeCompare(u.value.outlet))}(C),C}processSegment(c,u,m,C){for(const S of c){const R=this.processSegmentAgainstRoute(S,u,m,C);if(null!==R)return R}return Ht(u,m,C)?[]:null}processSegmentAgainstRoute(c,u,m,C){if(c.redirectTo||!Mt(c,u,m,C))return null;let S,R=[],N=[];if("**"===c.path){const Ot=m.length>0?Wt(m).parameters:{},St=Ri(u)+m.length;S=new Qt(m,Ot,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,ls(c),mn(c),c.component??c._loadedComponent??null,c,ii(u),St,xi(c),St)}else{const Ot=U(u,c,m);if(!Ot.matched)return null;R=Ot.consumedSegments,N=Ot.remainingSegments;const St=Ri(u)+R.length;S=new Qt(R,Ot.parameters,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,ls(c),mn(c),c.component??c._loadedComponent??null,c,ii(u),St,xi(c),St)}const De=function Wr(d){return d.children?d.children:d.loadChildren?d._loadedRoutes:[]}(c),{segmentGroup:ke,slicedSegments:at}=ve(u,R,N,De.filter(Ot=>void 0===Ot.redirectTo),this.relativeLinkResolution);if(0===at.length&&ke.hasChildren()){const Ot=this.processChildren(De,ke);return null===Ot?null:[new Fn(S,Ot)]}if(0===De.length&&0===at.length)return[new Fn(S,[])];const $e=mn(c)===C,Pt=this.processSegment(De,ke,at,$e?ut:C);return null===Pt?null:[new Fn(S,Pt)]}}function Rs(d){const c=d.value.routeConfig;return c&&""===c.path&&void 0===c.redirectTo}function Pi(d){const c=[],u=new Set;for(const m of d){if(!Rs(m)){c.push(m);continue}const C=c.find(S=>m.value.routeConfig===S.value.routeConfig);void 0!==C?(C.children.push(...m.children),u.add(C)):c.push(m)}for(const m of u){const C=Pi(m.children);c.push(new Fn(m.value,C))}return c.filter(m=>!u.has(m))}function ii(d){let c=d;for(;c._sourceSegment;)c=c._sourceSegment;return c}function Ri(d){let c=d,u=c._segmentIndexShift??0;for(;c._sourceSegment;)c=c._sourceSegment,u+=c._segmentIndexShift??0;return u-1}function ls(d){return d.data||{}}function xi(d){return d.resolve||{}}const Os=Symbol("RouteTitle");function Yt(d){return"string"==typeof d.title||null===d.title}function oi(d){return(0,G.w)(c=>{const u=d(c);return u?(0,te.D)(u).pipe((0,k.U)(()=>c)):(0,Z.of)(c)})}class Go extends class Fs{shouldDetach(c){return!1}store(c,u){}shouldAttach(c){return!1}retrieve(c){return null}shouldReuseRoute(c,u){return c.routeConfig===u.routeConfig}}{}const ks=new h.OlP("ROUTES");let cs=(()=>{class d{constructor(u,m){this.injector=u,this.compiler=m,this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap}loadComponent(u){if(this.componentLoaders.get(u))return this.componentLoaders.get(u);if(u._loadedComponent)return(0,Z.of)(u._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(u);const m=yt(u.loadComponent()).pipe((0,pt.b)(S=>{this.onLoadEndListener&&this.onLoadEndListener(u),u._loadedComponent=S}),(0,$t.x)(()=>{this.componentLoaders.delete(u)})),C=new ne(m,()=>new Le.x).pipe(pe());return this.componentLoaders.set(u,C),C}loadChildren(u,m){if(this.childrenLoaders.get(m))return this.childrenLoaders.get(m);if(m._loadedRoutes)return(0,Z.of)({routes:m._loadedRoutes,injector:m._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(m);const S=this.loadModuleFactoryOrRoutes(m.loadChildren).pipe((0,k.U)(N=>{this.onLoadEndListener&&this.onLoadEndListener(m);let De,ke,at=!1;Array.isArray(N)?ke=N:(De=N.create(u).injector,ke=Lt(De.get(ks,[],h.XFs.Self|h.XFs.Optional)));return{routes:ke.map(Vr),injector:De}}),(0,$t.x)(()=>{this.childrenLoaders.delete(m)})),R=new ne(S,()=>new Le.x).pipe(pe());return this.childrenLoaders.set(m,R),R}loadModuleFactoryOrRoutes(u){return yt(u()).pipe((0,ct.z)(m=>m instanceof h.YKP||Array.isArray(m)?(0,Z.of)(m):(0,te.D)(this.compiler.compileModuleAsync(m))))}}return d.\u0275fac=function(u){return new(u||d)(h.LFG(h.zs3),h.LFG(h.Sil))},d.\u0275prov=h.Yz7({token:d,factory:d.\u0275fac}),d})();class ai{shouldProcessUrl(c){return!0}extract(c){return c}merge(c,u){return c}}function ro(d){throw d}function Wo(d,c,u){return c.parse("/")}const Dr={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Rr={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let vn=(()=>{class d{constructor(u,m,C,S,R,N,De){this.rootComponentType=u,this.urlSerializer=m,this.rootContexts=C,this.location=S,this.config=De,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.disposed=!1,this.navigationId=0,this.currentPageId=0,this.isNgZoneEnabled=!1,this.events=new Le.x,this.errorHandler=ro,this.malformedUriErrorHandler=Wo,this.navigated=!1,this.lastSuccessfulId=-1,this.afterPreactivation=()=>(0,Z.of)(void 0),this.urlHandlingStrategy=new ai,this.routeReuseStrategy=new Go,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="corrected",this.canceledNavigationResolution="replace",this.configLoader=R.get(cs),this.configLoader.onLoadEndListener=Pt=>this.triggerEvent(new xn(Pt)),this.configLoader.onLoadStartListener=Pt=>this.triggerEvent(new Rn(Pt)),this.ngModule=R.get(h.h0i),this.console=R.get(h.c2e);const $e=R.get(h.R0b);this.isNgZoneEnabled=$e instanceof h.R0b&&h.R0b.isInAngularZone(),this.resetConfig(De),this.currentUrlTree=function ot(){return new Qn(new Ct([],{}),{},null)}(),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.routerState=cr(this.currentUrlTree,this.rootComponentType),this.transitions=new Ue.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(){return this.location.getState()?.\u0275routerPageId}setupNavigations(u){const m=this.events;return u.pipe((0,Je.h)(C=>0!==C.id),(0,k.U)(C=>({...C,extractedUrl:this.urlHandlingStrategy.extract(C.rawUrl)})),(0,G.w)(C=>{let S=!1,R=!1;return(0,Z.of)(C).pipe((0,pt.b)(N=>{this.currentNavigation={id:N.id,initialUrl:N.rawUrl,extractedUrl:N.extractedUrl,trigger:N.source,extras:N.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null}}),(0,G.w)(N=>{const De=this.browserUrlTree.toString(),ke=!this.navigated||N.extractedUrl.toString()!==De||De!==this.currentUrlTree.toString();if(("reload"===this.onSameUrlNavigation||ke)&&this.urlHandlingStrategy.shouldProcessUrl(N.rawUrl))return Kr(N.source)&&(this.browserUrlTree=N.extractedUrl),(0,Z.of)(N).pipe((0,G.w)($e=>{const Pt=this.transitions.getValue();return m.next(new X($e.id,this.serializeUrl($e.extractedUrl),$e.source,$e.restoredState)),Pt!==this.transitions.getValue()?Ne.E:Promise.resolve($e)}),function Vo(d,c,u,m){return(0,G.w)(C=>function Ti(d,c,u,m,C){return new $r(d,c,u,m,C).apply()}(d,c,u,C.extractedUrl,m).pipe((0,k.U)(S=>({...C,urlAfterRedirects:S}))))}(this.ngModule.injector,this.configLoader,this.urlSerializer,this.config),(0,pt.b)($e=>{this.currentNavigation={...this.currentNavigation,finalUrl:$e.urlAfterRedirects}}),function Oi(d,c,u,m,C){return(0,ct.z)(S=>function Xi(d,c,u,m,C="emptyOnly",S="legacy"){try{const R=new Vn(d,c,u,m,C,S).recognize();return null===R?Ii(new _r):(0,Z.of)(R)}catch(R){return Ii(R)}}(d,c,S.urlAfterRedirects,u(S.urlAfterRedirects),m,C).pipe((0,k.U)(R=>({...S,targetSnapshot:R}))))}(this.rootComponentType,this.config,$e=>this.serializeUrl($e),this.paramsInheritanceStrategy,this.relativeLinkResolution),(0,pt.b)($e=>{if("eager"===this.urlUpdateStrategy){if(!$e.extras.skipLocationChange){const Ot=this.urlHandlingStrategy.merge($e.urlAfterRedirects,$e.rawUrl);this.setBrowserUrl(Ot,$e)}this.browserUrlTree=$e.urlAfterRedirects}const Pt=new sn($e.id,this.serializeUrl($e.extractedUrl),this.serializeUrl($e.urlAfterRedirects),$e.targetSnapshot);m.next(Pt)}));if(ke&&this.rawUrlTree&&this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree)){const{id:Pt,extractedUrl:Ot,source:St,restoredState:Cr,extras:xr}=N,uo=new X(Pt,this.serializeUrl(Ot),St,Cr);m.next(uo);const $s=cr(Ot,this.rootComponentType).snapshot;return(0,Z.of)({...N,targetSnapshot:$s,urlAfterRedirects:Ot,extras:{...xr,skipLocationChange:!1,replaceUrl:!1}})}return this.rawUrlTree=N.rawUrl,N.resolve(null),Ne.E}),(0,pt.b)(N=>{const De=new In(N.id,this.serializeUrl(N.extractedUrl),this.serializeUrl(N.urlAfterRedirects),N.targetSnapshot);this.triggerEvent(De)}),(0,k.U)(N=>({...N,guards:Mi(N.targetSnapshot,N.currentSnapshot,this.rootContexts)})),function ri(d,c){return(0,ct.z)(u=>{const{targetSnapshot:m,currentSnapshot:C,guards:{canActivateChecks:S,canDeactivateChecks:R}}=u;return 0===R.length&&0===S.length?(0,Z.of)({...u,guardsResult:!0}):function Ma(d,c,u,m){return(0,te.D)(d).pipe((0,ct.z)(C=>function Ji(d,c,u,m,C){const S=c&&c.routeConfig?c.routeConfig.canDeactivate:null;if(!S||0===S.length)return(0,Z.of)(!0);const R=S.map(N=>{const De=Zt(N,c,C);let ke;if(function v(d){return d&&Jn(d.canDeactivate)}(De))ke=yt(De.canDeactivate(d,c,u,m));else{if(!Jn(De))throw new Error("Invalid CanDeactivate guard");ke=yt(De(d,c,u,m))}return ke.pipe(O())});return(0,Z.of)(R).pipe(_())}(C.component,C.route,u,c,m)),O(C=>!0!==C,!0))}(R,m,C,d).pipe((0,ct.z)(N=>N&&function zt(d){return"boolean"==typeof d}(N)?function $o(d,c,u,m){return(0,te.D)(c).pipe((0,Qe.b)(C=>(0,Oe.z)(function si(d,c){return null!==d&&c&&c(new st(d)),(0,Z.of)(!0)}(C.route.parent,m),function zo(d,c){return null!==d&&c&&c(new tt(d)),(0,Z.of)(!0)}(C.route,m),function vr(d,c,u){const m=c[c.length-1],S=c.slice(0,c.length-1).reverse().map(R=>function Zi(d){const c=d.routeConfig?d.routeConfig.canActivateChild:null;return c&&0!==c.length?{node:d,guards:c}:null}(R)).filter(R=>null!==R).map(R=>(0,ce.P)(()=>{const N=R.guards.map(De=>{const ke=Zt(De,R.node,u);let at;if(function bi(d){return d&&Jn(d.canActivateChild)}(ke))at=yt(ke.canActivateChild(m,d));else{if(!Jn(ke))throw new Error("Invalid CanActivateChild guard");at=yt(ke(m,d))}return at.pipe(O())});return(0,Z.of)(N).pipe(_())}));return(0,Z.of)(S).pipe(_())}(d,C.path,u),function yn(d,c,u){const m=c.routeConfig?c.routeConfig.canActivate:null;if(!m||0===m.length)return(0,Z.of)(!0);const C=m.map(S=>(0,ce.P)(()=>{const R=Zt(S,c,u);let N;if(function wi(d){return d&&Jn(d.canActivate)}(R))N=yt(R.canActivate(c,d));else{if(!Jn(R))throw new Error("Invalid CanActivate guard");N=yt(R(c,d))}return N.pipe(O())}));return(0,Z.of)(C).pipe(_())}(d,C.route,u))),O(C=>!0!==C,!0))}(m,S,d,c):(0,Z.of)(N)),(0,k.U)(N=>({...u,guardsResult:N})))})}(this.ngModule.injector,N=>this.triggerEvent(N)),(0,pt.b)(N=>{if(Xn(N.guardsResult)){const ke=be(`Redirecting to "${this.serializeUrl(N.guardsResult)}"`);throw ke.url=N.guardsResult,ke}const De=new Pn(N.id,this.serializeUrl(N.extractedUrl),this.serializeUrl(N.urlAfterRedirects),N.targetSnapshot,!!N.guardsResult);this.triggerEvent(De)}),(0,Je.h)(N=>!!N.guardsResult||(this.restoreHistory(N),this.cancelNavigationTransition(N,""),!1)),oi(N=>{if(N.guards.canActivateChecks.length)return(0,Z.of)(N).pipe((0,pt.b)(De=>{const ke=new Jt(De.id,this.serializeUrl(De.extractedUrl),this.serializeUrl(De.urlAfterRedirects),De.targetSnapshot);this.triggerEvent(ke)}),(0,G.w)(De=>{let ke=!1;return(0,Z.of)(De).pipe(function Ns(d,c){return(0,ct.z)(u=>{const{targetSnapshot:m,guards:{canActivateChecks:C}}=u;if(!C.length)return(0,Z.of)(u);let S=0;return(0,te.D)(C).pipe((0,Qe.b)(R=>function $n(d,c,u,m){const C=d.routeConfig,S=d._resolve;return void 0!==C?.title&&!Yt(C)&&(S[Os]=C.title),function us(d,c,u,m){const C=function Tn(d){return[...Object.keys(d),...Object.getOwnPropertySymbols(d)]}(d);if(0===C.length)return(0,Z.of)({});const S={};return(0,te.D)(C).pipe((0,ct.z)(R=>function Pr(d,c,u,m){const C=Zt(d,c,m);return yt(C.resolve?C.resolve(c,u):C(c,u))}(d[R],c,u,m).pipe(O(),(0,pt.b)(N=>{S[R]=N}))),se(1),(0,ze.h)(S),(0,Se.K)(R=>R instanceof de?Ne.E:(0,ye._)(R)))}(S,d,c,m).pipe((0,k.U)(R=>(d._resolvedData=R,d.data=en(d,u).resolve,C&&Yt(C)&&(d.data[Os]=C.title),null)))}(R.route,m,d,c)),(0,pt.b)(()=>S++),se(1),(0,ct.z)(R=>S===C.length?(0,Z.of)(u):Ne.E))})}(this.paramsInheritanceStrategy,this.ngModule.injector),(0,pt.b)({next:()=>ke=!0,complete:()=>{ke||(this.restoreHistory(De),this.cancelNavigationTransition(De,"At least one route resolver didn't emit any value."))}}))}),(0,pt.b)(De=>{const ke=new Dn(De.id,this.serializeUrl(De.extractedUrl),this.serializeUrl(De.urlAfterRedirects),De.targetSnapshot);this.triggerEvent(ke)}))}),oi(()=>this.afterPreactivation()),oi(N=>{const De=ke=>{const at=[];ke.routeConfig?.loadComponent&&!ke.routeConfig._loadedComponent&&at.push(this.configLoader.loadComponent(ke.routeConfig).pipe((0,pt.b)($e=>{ke.component=$e}),(0,k.U)(()=>{})));for(const $e of ke.children)at.push(...De($e));return at};return(0,Ce.a)(De(N.targetSnapshot.root)).pipe(_e(),(0,fe.q)(1))}),(0,k.U)(N=>{const De=function Zn(d,c,u){const m=kr(d,c._root,u?u._root:void 0);return new ts(m,c)}(this.routeReuseStrategy,N.targetSnapshot,N.currentRouterState);return{...N,targetRouterState:De}}),(0,pt.b)(N=>{this.currentUrlTree=N.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(N.urlAfterRedirects,N.rawUrl),this.routerState=N.targetRouterState,"deferred"===this.urlUpdateStrategy&&(N.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,N),this.browserUrlTree=N.urlAfterRedirects)}),((d,c,u)=>(0,k.U)(m=>(new ti(c,m.targetRouterState,m.currentRouterState,u).activate(d),m)))(this.rootContexts,this.routeReuseStrategy,N=>this.triggerEvent(N)),(0,pt.b)({next(){S=!0},complete(){S=!0}}),(0,$t.x)(()=>{S||R||this.cancelNavigationTransition(C,`Navigation ID ${C.id} is not equal to the current navigation id ${this.navigationId}`),this.currentNavigation?.id===C.id&&(this.currentNavigation=null)}),(0,Se.K)(N=>{if(R=!0,function re(d){return d&&d[Y]}(N)){const De=Xn(N.url);De||(this.navigated=!0,this.restoreHistory(C,!0));const ke=new He(C.id,this.serializeUrl(C.extractedUrl),N.message);if(m.next(ke),De){const at=this.urlHandlingStrategy.merge(N.url,this.rawUrlTree),$e={skipLocationChange:C.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||Kr(C.source)};this.scheduleNavigation(at,"imperative",null,$e,{resolve:C.resolve,reject:C.reject,promise:C.promise})}else C.resolve(!1)}else{this.restoreHistory(C,!0);const De=new vt(C.id,this.serializeUrl(C.extractedUrl),N);m.next(De);try{C.resolve(this.errorHandler(N))}catch(ke){C.reject(ke)}}return Ne.E}))}))}resetRootComponentType(u){this.rootComponentType=u,this.routerState.root.component=this.rootComponentType}setTransition(u){this.transitions.next({...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 m="popstate"===u.type?"popstate":"hashchange";"popstate"===m&&setTimeout(()=>{const C={replaceUrl:!0},S=u.state?.navigationId?u.state:null;if(S){const N={...S};delete N.navigationId,delete N.\u0275routerPageId,0!==Object.keys(N).length&&(C.state=N)}const R=this.parseUrl(u.url);this.scheduleNavigation(R,m,S,C)},0)}))}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.currentNavigation}triggerEvent(u){this.events.next(u)}resetConfig(u){this.config=u.map(Vr),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,m={}){const{relativeTo:C,queryParams:S,fragment:R,queryParamsHandling:N,preserveFragment:De}=m,ke=C||this.routerState.root,at=De?this.currentUrlTree.fragment:R;let $e=null;switch(N){case"merge":$e={...this.currentUrlTree.queryParams,...S};break;case"preserve":$e=this.currentUrlTree.queryParams;break;default:$e=S||null}return null!==$e&&($e=this.removeEmptyProps($e)),function Br(d,c,u,m,C){if(0===u.length)return bn(c.root,c.root,c.root,m,C);const S=function yi(d){if("string"==typeof d[0]&&1===d.length&&"/"===d[0])return new Js(!0,0,d);let c=0,u=!1;const m=d.reduce((C,S,R)=>{if("object"==typeof S&&null!=S){if(S.outlets){const N={};return it(S.outlets,(De,ke)=>{N[ke]="string"==typeof De?De.split("/"):De}),[...C,{outlets:N}]}if(S.segmentPath)return[...C,S.segmentPath]}return"string"!=typeof S?[...C,S]:0===R?(S.split("/").forEach((N,De)=>{0==De&&"."===N||(0==De&&""===N?u=!0:".."===N?c++:""!=N&&C.push(N))}),C):[...C,S]},[]);return new Js(u,c,m)}(u);return S.toRoot()?bn(c.root,c.root,new Ct([],{}),m,C):function R(De){const ke=function yr(d,c,u,m){return d.isAbsolute?new Bn(c.root,!0,0):-1===m?new Bn(u,u===c.root,0):function ns(d,c,u){let m=d,C=c,S=u;for(;S>C;){if(S-=C,m=m.parent,!m)throw new Error("Invalid number of '../'");C=m.segments.length}return new Bn(m,!1,C-S)}(u,m+(jr(d.commands[0])?0:1),d.numberOfDoubleDots)}(S,c,d.snapshot?._urlSegment,De),at=ke.processChildren?rs(ke.segmentGroup,ke.index,S.commands):ws(ke.segmentGroup,ke.index,S.commands);return bn(c.root,ke.segmentGroup,at,m,C)}(d.snapshot?._lastPathIndex)}(ke,this.currentUrlTree,u,$e,at??null)}navigateByUrl(u,m={skipLocationChange:!1}){const C=Xn(u)?u:this.parseUrl(u),S=this.urlHandlingStrategy.merge(C,this.rawUrlTree);return this.scheduleNavigation(S,"imperative",null,m)}navigate(u,m={skipLocationChange:!1}){return function Ko(d){for(let c=0;c<d.length;c++){const u=d[c];if(null==u)throw new Error(`The requested path contains ${u} segment at index ${c}`)}}(u),this.navigateByUrl(this.createUrlTree(u,m),m)}serializeUrl(u){return this.urlSerializer.serialize(u)}parseUrl(u){let m;try{m=this.urlSerializer.parse(u)}catch(C){m=this.malformedUriErrorHandler(C,this.urlSerializer,u)}return m}isActive(u,m){let C;if(C=!0===m?{...Dr}:!1===m?{...Rr}:m,Xn(u))return nn(this.currentUrlTree,u,C);const S=this.parseUrl(u);return nn(this.currentUrlTree,S,C)}removeEmptyProps(u){return Object.keys(u).reduce((m,C)=>{const S=u[C];return null!=S&&(m[C]=S),m},{})}processNavigations(){this.navigations.subscribe(u=>{this.navigated=!0,this.lastSuccessfulId=u.id,this.currentPageId=u.targetPageId,this.events.next(new ge(u.id,this.serializeUrl(u.extractedUrl),this.serializeUrl(this.currentUrlTree))),this.lastSuccessfulNavigation=this.currentNavigation,this.titleStrategy?.updateTitle(this.routerState.snapshot),u.resolve(!0)},u=>{this.console.warn(`Unhandled Navigation Error: ${u}`)})}scheduleNavigation(u,m,C,S,R){if(this.disposed)return Promise.resolve(!1);let N,De,ke;R?(N=R.resolve,De=R.reject,ke=R.promise):ke=new Promise((Pt,Ot)=>{N=Pt,De=Ot});const at=++this.navigationId;let $e;return"computed"===this.canceledNavigationResolution?(0===this.currentPageId&&(C=this.location.getState()),$e=C&&C.\u0275routerPageId?C.\u0275routerPageId:S.replaceUrl||S.skipLocationChange?this.browserPageId??0:(this.browserPageId??0)+1):$e=0,this.setTransition({id:at,targetPageId:$e,source:m,restoredState:C,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:u,extras:S,resolve:N,reject:De,promise:ke,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),ke.catch(Pt=>Promise.reject(Pt))}setBrowserUrl(u,m){const C=this.urlSerializer.serialize(u),S={...m.extras.state,...this.generateNgRouterState(m.id,m.targetPageId)};this.location.isCurrentPathEqualTo(C)||m.extras.replaceUrl?this.location.replaceState(C,"",S):this.location.go(C,"",S)}restoreHistory(u,m=!1){if("computed"===this.canceledNavigationResolution){const C=this.currentPageId-u.targetPageId;"popstate"!==u.source&&"eager"!==this.urlUpdateStrategy&&this.currentUrlTree!==this.currentNavigation?.finalUrl||0===C?this.currentUrlTree===this.currentNavigation?.finalUrl&&0===C&&(this.resetState(u),this.browserUrlTree=u.currentUrlTree,this.resetUrlToCurrentUrlTree()):this.location.historyGo(C)}else"replace"===this.canceledNavigationResolution&&(m&&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,m){const C=new He(u.id,this.serializeUrl(u.extractedUrl),m);this.triggerEvent(C),u.resolve(!1)}generateNgRouterState(u,m){return"computed"===this.canceledNavigationResolution?{navigationId:u,\u0275routerPageId:m}:{navigationId:u}}}return d.\u0275fac=function(u){h.$Z()},d.\u0275prov=h.Yz7({token:d,factory:d.\u0275fac}),d})();function Kr(d){return"imperative"!==d}let Bs=(()=>{class d{constructor(u,m,C,S,R){this.router=u,this.route=m,this.tabIndexAttribute=C,this.renderer=S,this.el=R,this.commands=null,this.onChanges=new Le.x,this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(u){if(null!=this.tabIndexAttribute)return;const m=this.renderer,C=this.el.nativeElement;null!==u?m.setAttribute(C,"tabindex",u):m.removeAttribute(C,"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:(0,h.D6c)(this.skipLocationChange),replaceUrl:(0,h.D6c)(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:(0,h.D6c)(this.preserveFragment)})}}return d.\u0275fac=function(u){return new(u||d)(h.Y36(vn),h.Y36(En),h.$8M("tabindex"),h.Y36(h.Qsj),h.Y36(h.SBq))},d.\u0275dir=h.lG2({type:d,selectors:[["","routerLink","",5,"a",5,"area"]],hostBindings:function(u,m){1&u&&h.NdJ("click",function(){return m.onClick()})},inputs:{queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state",relativeTo:"relativeTo",routerLink:"routerLink"},features:[h.TTD]}),d})(),li=(()=>{class d{constructor(u,m,C){this.router=u,this.route=m,this.locationStrategy=C,this.commands=null,this.href=null,this.onChanges=new Le.x,this.subscription=u.events.subscribe(S=>{S instanceof ge&&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,m,C,S,R){if(0!==u||m||C||S||R||"string"==typeof this.target&&"_self"!=this.target||null===this.urlTree)return!0;const N={skipLocationChange:(0,h.D6c)(this.skipLocationChange),replaceUrl:(0,h.D6c)(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,N),!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:(0,h.D6c)(this.preserveFragment)})}}return d.\u0275fac=function(u){return new(u||d)(h.Y36(vn),h.Y36(En),h.Y36(D.S$))},d.\u0275dir=h.lG2({type:d,selectors:[["a","routerLink",""],["area","routerLink",""]],hostVars:2,hostBindings:function(u,m){1&u&&h.NdJ("click",function(S){return m.onClick(S.button,S.ctrlKey,S.shiftKey,S.altKey,S.metaKey)}),2&u&&h.uIk("target",m.target)("href",m.href,h.LSH)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state",relativeTo:"relativeTo",routerLink:"routerLink"},features:[h.TTD]}),d})(),so=(()=>{class d{constructor(u,m,C,S,R,N){this.router=u,this.element=m,this.renderer=C,this.cdr=S,this.link=R,this.linkWithHref=N,this.classes=[],this.isActive=!1,this.routerLinkActiveOptions={exact:!1},this.isActiveChange=new h.vpe,this.routerEventsSubscription=u.events.subscribe(De=>{De instanceof ge&&this.update()})}ngAfterContentInit(){(0,Z.of)(this.links.changes,this.linksWithHrefs.changes,(0,Z.of)(null)).pipe((0,hn.J)()).subscribe(u=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();const u=[...this.links.toArray(),...this.linksWithHrefs.toArray(),this.link,this.linkWithHref].filter(m=>!!m).map(m=>m.onChanges);this.linkInputChangesSubscription=(0,te.D)(u).pipe((0,hn.J)()).subscribe(m=>{this.isActive!==this.isLinkActive(this.router)(m)&&this.update()})}set routerLinkActive(u){const m=Array.isArray(u)?u:u.split(" ");this.classes=m.filter(C=>!!C)}ngOnChanges(u){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.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(m=>{u?this.renderer.addClass(this.element.nativeElement,m):this.renderer.removeClass(this.element.nativeElement,m)}),u&&void 0!==this.ariaCurrentWhenActive?this.renderer.setAttribute(this.element.nativeElement,"aria-current",this.ariaCurrentWhenActive.toString()):this.renderer.removeAttribute(this.element.nativeElement,"aria-current"),this.isActiveChange.emit(u))})}isLinkActive(u){const m=function Ia(d){return!!d.paths}(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return C=>!!C.urlTree&&u.isActive(C.urlTree,m)}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 d.\u0275fac=function(u){return new(u||d)(h.Y36(vn),h.Y36(h.SBq),h.Y36(h.Qsj),h.Y36(h.sBO),h.Y36(Bs,8),h.Y36(li,8))},d.\u0275dir=h.lG2({type:d,selectors:[["","routerLinkActive",""]],contentQueries:function(u,m,C){if(1&u&&(h.Suo(C,Bs,5),h.Suo(C,li,5)),2&u){let S;h.iGM(S=h.CRH())&&(m.links=S),h.iGM(S=h.CRH())&&(m.linksWithHrefs=S)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],features:[h.TTD]}),d})();class Yo{buildTitle(c){let u,m=c.root;for(;void 0!==m;)u=this.getResolvedTitleForRoute(m)??u,m=m.children.find(C=>C.outlet===ut);return u}getResolvedTitleForRoute(c){return c.data[Os]}}let ui=(()=>{class d extends Yo{constructor(u){super(),this.title=u}updateTitle(u){const m=this.buildTitle(u);void 0!==m&&this.title.setTitle(m)}}return d.\u0275fac=function(u){return new(u||d)(h.LFG(Ae.Dx))},d.\u0275prov=h.Yz7({token:d,factory:d.\u0275fac,providedIn:"root"}),d})();class ci{}let Li=(()=>{class d{constructor(u,m,C,S,R){this.router=u,this.injector=C,this.preloadingStrategy=S,this.loader=R}setUpPreloading(){this.subscription=this.router.events.pipe((0,Je.h)(u=>u instanceof ge),(0,Qe.b)(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(u,m){const C=[];for(const S of m){S.providers&&!S._injector&&(S._injector=(0,h.MMx)(S.providers,u,`Route: ${S.path}`));const R=S._injector??u,N=S._loadedInjector??R;S.loadChildren&&!S._loadedRoutes||S.loadComponent&&!S._loadedComponent?C.push(this.preloadConfig(R,S)):(S.children||S._loadedRoutes)&&C.push(this.processRoutes(N,S.children??S._loadedRoutes))}return(0,te.D)(C).pipe((0,hn.J)())}preloadConfig(u,m){return this.preloadingStrategy.preload(m,()=>{let C;C=m.loadChildren&&void 0===m.canLoad?this.loader.loadChildren(u,m):(0,Z.of)(null);const S=C.pipe((0,ct.z)(R=>null===R?(0,Z.of)(void 0):(m._loadedRoutes=R.routes,m._loadedInjector=R.injector,this.processRoutes(R.injector??u,R.routes))));if(m.loadComponent&&!m._loadedComponent){const R=this.loader.loadComponent(m);return(0,te.D)([S,R]).pipe((0,hn.J)())}return S})}}return d.\u0275fac=function(u){return new(u||d)(h.LFG(vn),h.LFG(h.Sil),h.LFG(h.lqb),h.LFG(ci),h.LFG(cs))},d.\u0275prov=h.Yz7({token:d,factory:d.\u0275fac}),d})();const io=new h.OlP("");let ds=(()=>{class d{constructor(u,m,C={}){this.router=u,this.viewportScroller=m,this.options=C,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},C.scrollPositionRestoration=C.scrollPositionRestoration||"disabled",C.anchorScrolling=C.anchorScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.router.events.subscribe(u=>{u instanceof X?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=u.navigationTrigger,this.restoredId=u.restoredState?u.restoredState.navigationId:0):u instanceof ge&&(this.lastId=u.id,this.scheduleScrollEvent(u,this.router.parseUrl(u.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.router.events.subscribe(u=>{u instanceof sr&&(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,m){this.router.triggerEvent(new sr(u,"popstate"===this.lastSource?this.store[this.restoredId]:null,m))}ngOnDestroy(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}return d.\u0275fac=function(u){h.$Z()},d.\u0275prov=h.Yz7({token:d,factory:d.\u0275fac}),d})();const Us=new h.OlP("ROUTER_CONFIGURATION",{providedIn:"root",factory:()=>({})}),Hs=new h.OlP("ROUTER_FORROOT_GUARD"),oo=new h.OlP(""),ao=[D.Ye,{provide:un,useClass:Ve},{provide:vn,useFactory:function ji(d,c,u,m,C,S,R={},N,De,ke,at){const $e=new vn(null,d,c,u,m,C,Lt(S));return ke&&($e.urlHandlingStrategy=ke),at&&($e.routeReuseStrategy=at),$e.titleStrategy=De??N,function y(d,c){d.errorHandler&&(c.errorHandler=d.errorHandler),d.malformedUriErrorHandler&&(c.malformedUriErrorHandler=d.malformedUriErrorHandler),d.onSameUrlNavigation&&(c.onSameUrlNavigation=d.onSameUrlNavigation),d.paramsInheritanceStrategy&&(c.paramsInheritanceStrategy=d.paramsInheritanceStrategy),d.relativeLinkResolution&&(c.relativeLinkResolution=d.relativeLinkResolution),d.urlUpdateStrategy&&(c.urlUpdateStrategy=d.urlUpdateStrategy),d.canceledNavigationResolution&&(c.canceledNavigationResolution=d.canceledNavigationResolution)}(R,$e),$e},deps:[un,jn,D.Ye,h.zs3,h.Sil,ks,Us,ui,[Yo,new h.FiY],[class Ls{},new h.FiY],[class to{},new h.FiY]]},jn,{provide:En,useFactory:function a(d){return d.routerState.root},deps:[vn]},cs];function lo(){return new h.PXZ("Router",vn)}let Qo=(()=>{class d{constructor(u,m){}static forRoot(u,m){return{ngModule:d,providers:[ao,[],di(u),{provide:Hs,useFactory:Bi,deps:[[vn,new h.FiY,new h.tp0]]},{provide:Us,useValue:m||{}},m?.useHash?{provide:D.S$,useClass:D.Do}:{provide:D.S$,useClass:D.b0},{provide:io,useFactory:()=>{const d=(0,h.f3M)(vn),c=(0,h.f3M)(D.EM),u=(0,h.f3M)(Us);return u.scrollOffset&&c.setOffset(u.scrollOffset),new ds(d,c,u)}},m?.preloadingStrategy?Ze(m.preloadingStrategy):[],{provide:h.PXZ,multi:!0,useFactory:lo},m?.initialNavigation?w(m):[],[{provide:p,useFactory:o},{provide:h.tb,multi:!0,useExisting:p}]]}}static forChild(u){return{ngModule:d,providers:[di(u)]}}}return d.\u0275fac=function(u){return new(u||d)(h.LFG(Hs,8),h.LFG(vn,8))},d.\u0275mod=h.oAB({type:d}),d.\u0275inj=h.cJS({}),d})();function Bi(d){return"guarded"}function di(d){return[{provide:h.deG,multi:!0,useValue:d},{provide:ks,multi:!0,useValue:d}]}function o(){const d=(0,h.f3M)(h.zs3);return c=>{const u=d.get(h.z2F);if(c!==u.components[0])return;const m=d.get(vn),C=d.get(j);null===d.get(le,null,h.XFs.Optional)&&m.initialNavigation(),d.get(oo,null,h.XFs.Optional)?.setUpPreloading(),d.get(io,null,h.XFs.Optional)?.init(),m.resetRootComponentType(u.componentTypes[0]),C.next(),C.complete()}}const p=new h.OlP("");function w(d){return["disabled"===d.initialNavigation?[{provide:h.ip1,multi:!0,useFactory:()=>{const d=(0,h.f3M)(vn);return()=>{d.setUpLocationChangeListener()}}},{provide:le,useValue:"disabled"}]:[],"enabledBlocking"===d.initialNavigation?[{provide:le,useValue:"enabledBlocking"},{provide:h.ip1,multi:!0,deps:[h.zs3],useFactory:d=>{const c=d.get(D.V_,Promise.resolve(null));let u=!1;return()=>c.then(()=>new Promise(m=>{const C=d.get(vn),S=d.get(j);C.afterPreactivation=()=>u?(0,Z.of)(void 0):(u=!0,m(!0),S),C.initialNavigation()}))}}]:[]]}const j=new h.OlP("",{factory:()=>new Le.x}),le=new h.OlP("");function Ze(d){return[Li,{provide:oo,useExisting:Li},{provide:ci,useExisting:d}]}},3131:(Ye,me,b)=>{function D(se,V,F,_e,Q,q,fe){try{var O=se[q](fe),k=O.value}catch(G){return void F(G)}O.done?V(k):Promise.resolve(k).then(_e,Q)}function h(se){return function(){var V=this,F=arguments;return new Promise(function(_e,Q){var q=se.apply(V,F);function fe(k){D(q,_e,Q,fe,O,"next",k)}function O(k){D(q,_e,Q,fe,O,"throw",k)}fe(void 0)})}}b.d(me,{Cz:()=>Je,ys:()=>Le});var ae=b(4650),de=b(6895),$=b(8306),ee=b(2076),J=b(9841),ue=b(7579),pe=b(5698);function ne(se,V,F,_e){return new Promise((Q,q)=>{se||q("IndexedDB not available");const fe=se.open(V,F);let O;fe.onsuccess=k=>{O=fe.result,Q(O)},fe.onerror=k=>{q(`IndexedDB error: ${fe.error}`)},"function"==typeof _e&&(fe.onupgradeneeded=k=>{_e(k,O)})})}function te(se,V,F,_e,Q){if(!se)return;const q=se.open(V,F);q.onupgradeneeded=fe=>{const O=fe.target.result;_e.forEach(G=>{if(!O.objectStoreNames.contains(G.store)){const he=O.createObjectStore(G.store,G.storeConfig);G.storeSchema.forEach(ie=>{he.createIndex(ie.name,ie.keypath,ie.options)})}});const k=Q&&Q();k&&Object.keys(k).map(G=>parseInt(G,10)).filter(G=>G>fe.oldVersion).sort((G,he)=>G-he).forEach(G=>{k[G](O,q.transaction)}),O.close()},q.onsuccess=fe=>{fe.target.result.close()}}function Ce(se,V,F){se||F("You need to use the openDatabase function to create a database before you query it!"),function Ue(se,V){return se.objectStoreNames.contains(V)}(se,V)||F(`objectStore does not exists: ${V}`)}function ye(se,V){const F=se.transaction(V.storeName,V.dbMode);return F.onerror=V.error,F.onabort=V.abort,F}function Oe(se,V,F,_e){return{storeName:V,dbMode:se,error:Q=>{F(Q)},abort:Q=>{F(Q)}}}var ce=(()=>{return(se=ce||(ce={})).readonly="readonly",se.readwrite="readwrite",ce;var se})();const Ne=new ae.OlP(null);let Le=(()=>{class se{constructor(F,_e){if(this.dbConfig=F,this.platformId=_e,!F.name)throw new Error("NgxIndexedDB: Please, provide the dbName in the configuration");if(!F.version)throw new Error("NgxIndexedDB: Please, provide the db version in the configuration");this.isBrowser=(0,de.NF)(this.platformId),this.isBrowser&&(this.indexedDB=window.indexedDB||window.mozIndexedDB||window.webkitIndexedDB||window.msIndexedDB,te(this.indexedDB,F.name,F.version,F.objectStoresMeta,F.migrationFactory),ne(this.indexedDB,F.name).then(Q=>{Q.version!==F.version&&(this.dbConfig.version=Q.version)}))}createObjectStore(F,_e){const Q=[F];te(this.indexedDB,this.dbConfig.name,++this.dbConfig.version,Q,_e)}add(F,_e,Q){return new $.y(q=>{ne(this.indexedDB,this.dbConfig.name,this.dbConfig.version).then(fe=>{const k=ye(fe,Oe(ce.readwrite,F,he=>q.error(he))).objectStore(F);(Boolean(Q)?k.add(_e,Q):k.add(_e)).onsuccess=function(){var he=h(function*(ie){k.get(ie.target.result).onsuccess=ct=>{q.next(ct.target.result),q.complete()}});return function(ie){return he.apply(this,arguments)}}()}).catch(fe=>q.error(fe))})}bulkAdd(F,_e){const Q=new Promise((q,fe)=>{ne(this.indexedDB,this.dbConfig.name,this.dbConfig.version).then(O=>{const G=ye(O,Oe(ce.readwrite,F,q)).objectStore(F),he=_e.map(ie=>new Promise((Se,Qe)=>{const ct=ie.key;delete ie.key,(Boolean(ct)?G.add(ie,ct):G.add(ie)).onsuccess=ze=>{Se(ze.target.result)}}));q(Promise.all(he))}).catch(O=>fe(O))});return(0,ee.D)(Q)}bulkDelete(F,_e){const Q=_e.map(q=>new Promise((fe,O)=>{ne(this.indexedDB,this.dbConfig.name,this.dbConfig.version).then(k=>{const G=ye(k,Oe(ce.readwrite,F,O));G.objectStore(F).delete(q),G.oncomplete=()=>{this.getAll(F).pipe((0,pe.q)(1)).subscribe(ie=>{fe(ie)})}}).catch(k=>O(k))}));return(0,ee.D)(Promise.all(Q))}getByKey(F,_e){return new $.y(Q=>{ne(this.indexedDB,this.dbConfig.name,this.dbConfig.version).then(q=>{const k=ye(q,Oe(ce.readonly,F,Q.error)).objectStore(F).get(_e);k.onsuccess=G=>{Q.next(G.target.result),Q.complete()},k.onerror=G=>{Q.error(G)}}).catch(q=>Q.error(q))})}bulkGet(F,_e){const Q=_e.map(q=>this.getByKey(F,q));return new $.y(q=>{(0,J.a)(Q).subscribe(fe=>{q.next(fe),q.complete()})})}getByID(F,_e){return new $.y(Q=>{ne(this.indexedDB,this.dbConfig.name,this.dbConfig.version).then(q=>{Ce(q,F,G=>Q.error(G)),ye(q,Oe(ce.readonly,F,Q.error)).objectStore(F).get(_e).onsuccess=G=>{Q.next(G.target.result)}}).catch(q=>Q.error(q))})}getByIndex(F,_e,Q){return new $.y(q=>{ne(this.indexedDB,this.dbConfig.name,this.dbConfig.version).then(fe=>{Ce(fe,F,ie=>q.error(ie)),ye(fe,Oe(ce.readonly,F,q.error)).objectStore(F).index(_e).get(Q).onsuccess=ie=>{q.next(ie.target.result),q.complete()}}).catch(fe=>q.error(fe))})}getAll(F){return new $.y(_e=>{ne(this.indexedDB,this.dbConfig.name,this.dbConfig.version).then(Q=>{Ce(Q,F,k=>_e.error(k));const O=ye(Q,Oe(ce.readonly,F,_e.error)).objectStore(F).getAll();O.onerror=k=>{_e.error(k)},O.onsuccess=({target:{result:k}})=>{_e.next(k),_e.complete()}}).catch(Q=>_e.error(Q))})}update(F,_e){return new $.y(Q=>{ne(this.indexedDB,this.dbConfig.name,this.dbConfig.version).then(q=>{Ce(q,F,G=>Q.error(G));const O=ye(q,Oe(ce.readwrite,F,G=>Q.error(G))).objectStore(F);O.put(_e).onsuccess=function(){var G=h(function*(he){O.get(he.target.result).onsuccess=Qe=>{Q.next(Qe.target.result),Q.complete()}});return function(he){return G.apply(this,arguments)}}()}).catch(q=>Q.error(q))})}delete(F,_e){return new $.y(Q=>{ne(this.indexedDB,this.dbConfig.name,this.dbConfig.version).then(q=>{Ce(q,F,k=>Q.error(k));const fe=ye(q,Oe(ce.readwrite,F,k=>Q.error(k)));fe.objectStore(F).delete(_e),fe.oncomplete=()=>{this.getAll(F).pipe((0,pe.q)(1)).subscribe(k=>{Q.next(k),Q.complete()})}}).catch(q=>Q.error(q))})}deleteByKey(F,_e){return new $.y(Q=>{ne(this.indexedDB,this.dbConfig.name,this.dbConfig.version).then(q=>{Ce(q,F,k=>Q.error(k));const fe=ye(q,Oe(ce.readwrite,F,k=>Q.error(k))),O=fe.objectStore(F);fe.oncomplete=()=>{Q.next(!0),Q.complete()},O.delete(_e)}).catch(q=>Q.error(q))})}clear(F){return new $.y(_e=>{ne(this.indexedDB,this.dbConfig.name,this.dbConfig.version).then(Q=>{Ce(Q,F,O=>_e.error(O));const q=ye(Q,Oe(ce.readwrite,F,O=>_e.error(O)));q.objectStore(F).clear(),q.oncomplete=()=>{_e.next(!0),_e.complete()}}).catch(Q=>_e.error(Q))})}deleteDatabase(){var F=this;return new $.y(_e=>{ne(this.indexedDB,this.dbConfig.name,this.dbConfig.version).then(function(){var Q=h(function*(q){yield q.close();const fe=F.indexedDB.deleteDatabase(F.dbConfig.name);fe.onsuccess=()=>{_e.next(!0),_e.complete()},fe.onerror=O=>_e.error(O),fe.onblocked=()=>{throw new Error("Unable to delete database because it's blocked")}});return function(q){return Q.apply(this,arguments)}}()).catch(Q=>_e.error(Q))})}openCursor(F,_e){return new $.y(Q=>{ne(this.indexedDB,this.dbConfig.name,this.dbConfig.version).then(q=>{Ce(q,F,G=>Q.error(G));const O=ye(q,Oe(ce.readonly,F,Q.error)).objectStore(F);(void 0===_e?O.openCursor():O.openCursor(_e)).onsuccess=G=>{Q.next(G),Q.complete()}}).catch(q=>Q.error(q))})}openCursorByIndex(F,_e,Q,q=ce.readonly){const fe=new ue.x;return ne(this.indexedDB,this.dbConfig.name,this.dbConfig.version).then(O=>{Ce(O,F,Se=>{fe.error(Se)}),ye(O,Oe(q,F,Se=>{fe.error(Se)})).objectStore(F).index(_e).openCursor(Q).onsuccess=Se=>{fe.next(Se)}}).catch(O=>fe.error(O)),fe}getAllByIndex(F,_e,Q){const q=[];return new $.y(fe=>{ne(this.indexedDB,this.dbConfig.name,this.dbConfig.version).then(O=>{Ce(O,F,Se=>fe.error(Se)),ye(O,Oe(ce.readonly,F,fe.error)).objectStore(F).index(_e).openCursor(Q).onsuccess=Se=>{const Qe=Se.target.result;Qe?(q.push(Qe.value),Qe.continue()):(fe.next(q),fe.complete())}}).catch(O=>fe.error(O))})}getAllKeysByIndex(F,_e,Q){const q=[];return new $.y(fe=>{ne(this.indexedDB,this.dbConfig.name,this.dbConfig.version).then(O=>{Ce(O,F,Se=>fe.error(Se)),ye(O,Oe(ce.readonly,F,fe.error)).objectStore(F).index(_e).openKeyCursor(Q).onsuccess=Se=>{const Qe=Se.target.result;Qe?(q.push({primaryKey:Qe.primaryKey,key:Qe.key}),Qe.continue()):(fe.next(q),fe.complete())}}).catch(O=>fe.error(O))})}count(F,_e){return new $.y(Q=>{ne(this.indexedDB,this.dbConfig.name,this.dbConfig.version).then(q=>{Ce(q,F,G=>Q.error(G));const k=ye(q,Oe(ce.readonly,F,Q.error)).objectStore(F).count(_e);k.onerror=G=>Q.error(G),k.onsuccess=G=>{Q.next(G.target.result),Q.complete()}}).catch(q=>Q.error(q))})}countByIndex(F,_e,Q){return new $.y(q=>{ne(this.indexedDB,this.dbConfig.name,this.dbConfig.version).then(fe=>{Ce(fe,F,ie=>q.error(ie));const he=ye(fe,Oe(ce.readonly,F,q.error)).objectStore(F).index(_e).count(Q);he.onerror=ie=>q.error(ie),he.onsuccess=ie=>{q.next(ie.target.result),q.complete()}}).catch(fe=>q.error(fe))})}deleteObjectStore(F){return function Z(se,V,F){if(!se||!V||!F)throw Error('Params: "dbName", "version", "storeName" are mandatory.');return new $.y(_e=>{try{const q=indexedDB.open(se,V+1);q.onupgradeneeded=fe=>{const O=fe.target.result;O.deleteObjectStore(F),O.close(),console.log("onupgradeneeded"),_e.next(!0),_e.complete()},q.onerror=fe=>_e.error(fe)}catch(Q){_e.error(Q)}})}(this.dbConfig.name,++this.dbConfig.version,F)}}return se.\u0275fac=function(F){return new(F||se)(ae.LFG(Ne),ae.LFG(ae.Lbi))},se.\u0275prov=ae.Yz7({token:se,factory:se.\u0275fac}),se})(),Je=(()=>{class se{static forRoot(F){return{ngModule:se,providers:[Le,{provide:Ne,useValue:F}]}}}return se.\u0275fac=function(F){return new(F||se)},se.\u0275mod=ae.oAB({type:se}),se.\u0275inj=ae.cJS({imports:[[de.ez]]}),se})()},7185:(Ye,me,b)=>{b.d(me,{FN:()=>Se,PR:()=>F,Rh:()=>ct,_W:()=>ie});var D=b(4650),h=b(7340),ae=b(7579),de=b(6895),$=b(1481);const ee=["toast-component",""];function J(Ae,Ie){if(1&Ae){const X=D.EpF();D.TgZ(0,"button",5),D.NdJ("click",function(){D.CHM(X);const He=D.oxw();return D.KtG(He.remove())}),D.TgZ(1,"span",6),D._uU(2,"\xd7"),D.qZA()()}}function ue(Ae,Ie){if(1&Ae&&(D.ynx(0),D._uU(1),D.BQk()),2&Ae){const X=D.oxw(2);D.xp6(1),D.hij("[",X.duplicatesCount+1,"]")}}function pe(Ae,Ie){if(1&Ae&&(D.TgZ(0,"div"),D._uU(1),D.YNc(2,ue,2,1,"ng-container",4),D.qZA()),2&Ae){const X=D.oxw();D.Tol(X.options.titleClass),D.uIk("aria-label",X.title),D.xp6(1),D.hij(" ",X.title," "),D.xp6(1),D.Q6J("ngIf",X.duplicatesCount)}}function ne(Ae,Ie){if(1&Ae&&D._UZ(0,"div",7),2&Ae){const X=D.oxw();D.Tol(X.options.messageClass),D.Q6J("innerHTML",X.message,D.oJD)}}function te(Ae,Ie){if(1&Ae&&(D.TgZ(0,"div",8),D._uU(1),D.qZA()),2&Ae){const X=D.oxw();D.Tol(X.options.messageClass),D.uIk("aria-label",X.message),D.xp6(1),D.hij(" ",X.message," ")}}function Z(Ae,Ie){if(1&Ae&&(D.TgZ(0,"div"),D._UZ(1,"div",9),D.qZA()),2&Ae){const X=D.oxw();D.xp6(1),D.Udp("width",X.width+"%")}}class se{constructor(Ie,X){this.component=Ie,this.injector=X}attach(Ie,X){return this._attachedHost=Ie,Ie.attach(this,X)}detach(){const Ie=this._attachedHost;if(Ie)return this._attachedHost=void 0,Ie.detach()}get isAttached(){return null!=this._attachedHost}setAttachedHost(Ie){this._attachedHost=Ie}}class F{constructor(Ie,X,ge,He,vt,sn){this.toastId=Ie,this.config=X,this.message=ge,this.title=He,this.toastType=vt,this.toastRef=sn,this._onTap=new ae.x,this._onAction=new ae.x,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(Ie){this._onAction.next(Ie)}onAction(){return this._onAction.asObservable()}}const Q=new D.OlP("ToastConfig");class q{constructor(Ie){this._overlayRef=Ie,this.duplicatesCount=0,this._afterClosed=new ae.x,this._activate=new ae.x,this._manualClose=new ae.x,this._resetTimeout=new ae.x,this._countDuplicate=new ae.x}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(Ie,X){Ie&&this._resetTimeout.next(),X&&this._countDuplicate.next(++this.duplicatesCount)}}class fe{constructor(Ie,X){this._toastPackage=Ie,this._parentInjector=X}get(Ie,X,ge){return Ie===F?this._toastPackage:this._parentInjector.get(Ie,X,ge)}}class O extends class V{attach(Ie,X){return this._attachedPortal=Ie,this.attachComponentPortal(Ie,X)}detach(){this._attachedPortal&&this._attachedPortal.setAttachedHost(),this._attachedPortal=void 0,this._disposeFn&&(this._disposeFn(),this._disposeFn=void 0)}setDisposeFn(Ie){this._disposeFn=Ie}}{constructor(Ie,X,ge){super(),this._hostDomElement=Ie,this._componentFactoryResolver=X,this._appRef=ge}attachComponentPortal(Ie,X){const ge=this._componentFactoryResolver.resolveComponentFactory(Ie.component);let He;return He=ge.create(Ie.injector),this._appRef.attachView(He.hostView),this.setDisposeFn(()=>{this._appRef.detachView(He.hostView),He.destroy()}),X?this._hostDomElement.insertBefore(this._getComponentRootNode(He),this._hostDomElement.firstChild):this._hostDomElement.appendChild(this._getComponentRootNode(He)),He}_getComponentRootNode(Ie){return Ie.hostView.rootNodes[0]}}class k{constructor(Ie){this._portalHost=Ie}attach(Ie,X=!0){return this._portalHost.attach(Ie,X)}detach(){return this._portalHost.detach()}}let G=(()=>{class Ae{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 Ae.\u0275fac=function(X){return new(X||Ae)(D.LFG(de.K0))},Ae.\u0275prov=D.Yz7({token:Ae,factory:Ae.\u0275fac,providedIn:"root"}),Ae})(),he=(()=>{class Ae{constructor(X,ge,He,vt){this._overlayContainer=X,this._componentFactoryResolver=ge,this._appRef=He,this._document=vt,this._paneElements=new Map}create(X,ge){return this._createOverlayRef(this.getPaneElement(X,ge))}getPaneElement(X="",ge){return this._paneElements.get(ge)||this._paneElements.set(ge,{}),this._paneElements.get(ge)[X]||(this._paneElements.get(ge)[X]=this._createPaneElement(X,ge)),this._paneElements.get(ge)[X]}_createPaneElement(X,ge){const He=this._document.createElement("div");return He.id="toast-container",He.classList.add(X),He.classList.add("toast-container"),ge?ge.getContainerElement().appendChild(He):this._overlayContainer.getContainerElement().appendChild(He),He}_createPortalHost(X){return new O(X,this._componentFactoryResolver,this._appRef)}_createOverlayRef(X){return new k(this._createPortalHost(X))}}return Ae.\u0275fac=function(X){return new(X||Ae)(D.LFG(G),D.LFG(D._Vd),D.LFG(D.z2F),D.LFG(de.K0))},Ae.\u0275prov=D.Yz7({token:Ae,factory:Ae.\u0275fac,providedIn:"root"}),Ae})(),ie=(()=>{class Ae{constructor(X,ge,He,vt,sn){this.overlay=ge,this._injector=He,this.sanitizer=vt,this.ngZone=sn,this.currentlyActive=0,this.toasts=[],this.index=0,this.toastrConfig={...X.default,...X.config},X.config.iconClasses&&(this.toastrConfig.iconClasses={...X.default.iconClasses,...X.config.iconClasses})}show(X,ge,He={},vt=""){return this._preBuildNotification(vt,X,ge,this.applyConfig(He))}success(X,ge,He={}){return this._preBuildNotification(this.toastrConfig.iconClasses.success||"",X,ge,this.applyConfig(He))}error(X,ge,He={}){return this._preBuildNotification(this.toastrConfig.iconClasses.error||"",X,ge,this.applyConfig(He))}info(X,ge,He={}){return this._preBuildNotification(this.toastrConfig.iconClasses.info||"",X,ge,this.applyConfig(He))}warning(X,ge,He={}){return this._preBuildNotification(this.toastrConfig.iconClasses.warning||"",X,ge,this.applyConfig(He))}clear(X){for(const ge of this.toasts)if(void 0!==X){if(ge.toastId===X)return void ge.toastRef.manualClose()}else ge.toastRef.manualClose()}remove(X){const ge=this._findToast(X);if(!ge||(ge.activeToast.toastRef.close(),this.toasts.splice(ge.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 He=this.toasts[this.currentlyActive].toastRef;He.isInactive()||(this.currentlyActive=this.currentlyActive+1,He.activate())}return!0}findDuplicate(X="",ge="",He,vt){const{includeTitleDuplicates:sn}=this.toastrConfig;for(const In of this.toasts){const Pn=sn&&In.title===X;if((!sn||Pn)&&In.message===ge)return In.toastRef.onDuplicate(He,vt),In}return null}applyConfig(X={}){return{...this.toastrConfig,...X}}_findToast(X){for(let ge=0;ge<this.toasts.length;ge++)if(this.toasts[ge].toastId===X)return{index:ge,activeToast:this.toasts[ge]};return null}_preBuildNotification(X,ge,He,vt){return vt.onActivateTick?this.ngZone.run(()=>this._buildNotification(X,ge,He,vt)):this._buildNotification(X,ge,He,vt)}_buildNotification(X,ge,He,vt){if(!vt.toastComponent)throw new Error("toastComponent required");const sn=this.findDuplicate(He,ge,this.toastrConfig.resetTimeoutOnDuplicate&&vt.timeOut>0,this.toastrConfig.countDuplicates);if((this.toastrConfig.includeTitleDuplicates&&He||ge)&&this.toastrConfig.preventDuplicates&&null!==sn)return sn;this.previousToastMessage=ge;let In=!1;this.toastrConfig.maxOpened&&this.currentlyActive>=this.toastrConfig.maxOpened&&(In=!0,this.toastrConfig.autoDismiss&&this.clear(this.toasts[0].toastId));const Pn=this.overlay.create(vt.positionClass,this.overlayContainer);this.index=this.index+1;let Jt=ge;ge&&vt.enableHtml&&(Jt=this.sanitizer.sanitize(D.q3G.HTML,ge));const Dn=new q(Pn),Rn=new F(this.index,vt,Jt,He,X,Dn),xn=new fe(Rn,this._injector),st=new se(vt.toastComponent,xn),Kn=Pn.attach(st,this.toastrConfig.newestOnTop);Dn.componentInstance=Kn.instance;const tt={toastId:this.index,title:He||"",message:ge||"",toastRef:Dn,onShown:Dn.afterActivate(),onHidden:Dn.afterClosed(),onTap:Rn.onTap(),onAction:Rn.onAction(),portal:Kn};return In||(this.currentlyActive=this.currentlyActive+1,setTimeout(()=>{tt.toastRef.activate()})),this.toasts.push(tt),tt}}return Ae.\u0275fac=function(X){return new(X||Ae)(D.LFG(Q),D.LFG(he),D.LFG(D.zs3),D.LFG($.H7),D.LFG(D.R0b))},Ae.\u0275prov=D.Yz7({token:Ae,factory:Ae.\u0275fac,providedIn:"root"}),Ae})(),Se=(()=>{class Ae{constructor(X,ge,He){this.toastrService=X,this.toastPackage=ge,this.ngZone=He,this.width=-1,this.toastClasses="",this.state={value:"inactive",params:{easeTime:this.toastPackage.config.easeTime,easing:"ease-in"}},this.message=ge.message,this.title=ge.title,this.options=ge.config,this.originalTimeout=ge.config.timeOut,this.toastClasses=`${ge.toastType} ${ge.config.toastClass}`,this.sub=ge.toastRef.afterActivate().subscribe(()=>{this.activateToast()}),this.sub1=ge.toastRef.manualClosed().subscribe(()=>{this.remove()}),this.sub2=ge.toastRef.timeoutReset().subscribe(()=>{this.resetTimeout()}),this.sub3=ge.toastRef.countDuplicate().subscribe(vt=>{this.duplicatesCount=vt})}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={...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={...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={...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,ge){this.ngZone?this.ngZone.runOutsideAngular(()=>this.timeout=setTimeout(()=>this.runInsideAngular(X),ge)):this.timeout=setTimeout(()=>X(),ge)}outsideInterval(X,ge){this.ngZone?this.ngZone.runOutsideAngular(()=>this.intervalId=setInterval(()=>this.runInsideAngular(X),ge)):this.intervalId=setInterval(()=>X(),ge)}runInsideAngular(X){this.ngZone?this.ngZone.run(()=>X()):X()}}return Ae.\u0275fac=function(X){return new(X||Ae)(D.Y36(ie),D.Y36(F),D.Y36(D.R0b))},Ae.\u0275cmp=D.Xpm({type:Ae,selectors:[["","toast-component",""]],hostVars:5,hostBindings:function(X,ge){1&X&&D.NdJ("click",function(){return ge.tapToast()})("mouseenter",function(){return ge.stickAround()})("mouseleave",function(){return ge.delayedHideToast()}),2&X&&(D.d8E("@flyInOut",ge.state),D.Tol(ge.toastClasses),D.Udp("display",ge.displayStyle))},attrs:ee,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,ge){1&X&&(D.YNc(0,J,3,0,"button",0),D.YNc(1,pe,3,5,"div",1),D.YNc(2,ne,1,3,"div",2),D.YNc(3,te,2,4,"div",3),D.YNc(4,Z,2,2,"div",4)),2&X&&(D.Q6J("ngIf",ge.options.closeButton),D.xp6(1),D.Q6J("ngIf",ge.title),D.xp6(1),D.Q6J("ngIf",ge.message&&ge.options.enableHtml),D.xp6(1),D.Q6J("ngIf",ge.message&&!ge.options.enableHtml),D.xp6(1),D.Q6J("ngIf",ge.options.progressBar))},dependencies:[de.O5],encapsulation:2,data:{animation:[(0,h.X$)("flyInOut",[(0,h.SB)("inactive",(0,h.oB)({opacity:0})),(0,h.SB)("active",(0,h.oB)({opacity:1})),(0,h.SB)("removed",(0,h.oB)({opacity:0})),(0,h.eR)("inactive => active",(0,h.jt)("{{ easeTime }}ms {{ easing }}")),(0,h.eR)("active => removed",(0,h.jt)("{{ easeTime }}ms {{ easing }}"))])]}}),Ae})();const Qe={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,toastComponent:Se};let ct=(()=>{class Ae{static forRoot(X={}){return{ngModule:Ae,providers:[{provide:Q,useValue:{default:Qe,config:X}}]}}}return Ae.\u0275fac=function(X){return new(X||Ae)},Ae.\u0275mod=D.oAB({type:Ae}),Ae.\u0275inj=D.cJS({imports:[[de.ez]]}),Ae})()}},Ye=>{Ye(Ye.s=5310)}]);