zohodealpos 2.4.4 → 2.4.6

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 +1 @@
1
- "use strict";(self.webpackChunkzoho=self.webpackChunkzoho||[]).push([[179],{6340:(Ye,oe,M)=>{M.d(oe,{O:()=>be});var m=M(9862),w=M(5619),te=M(5592),x=M(6321),I=M(93),U=M(9360),G=M(4829),X=M(2306),se=M(8251),W=M(7103);const ne=(0,X.d)(Be=>function(rt=null){Be(this),this.message="Timeout has occurred",this.name="TimeoutError",this.info=rt});function Le(Be){throw new ne(Be)}var Me=M(5879),Te=M(9229);let be=(()=>{var Be;class Xe{constructor(Ce,F){this.http=Ce,this.toastr=F,this.currentRequest=new w.X(0)}post(Ce,F,he=1e5){return new te.y(ie=>{var ke=JSON.parse(window.localStorage.getItem("user"));let we=new m.WM({"Content-Type":"application/json","Cache-Control":"no-cache"});null!=ke&&(we=new m.WM({"Content-Type":"application/json","Cache-Control":"no-cache",Authorization:"Bearer "+ke.access_token}));let Ae={headers:we};this.addRequest(),this.http.post(Ce,F,Ae).pipe(function de(Be,Xe){const{first:rt,each:Ce,with:F=Le,scheduler:he=Xe??x.z,meta:ie=null}=(0,I.q)(Be)?{first:Be}:"number"==typeof Be?{each:Be}:Be;if(null==rt&&null==Ce)throw new TypeError("No timeout provided.");return(0,U.e)((ke,we)=>{let Ae,$e,tt=null,Dt=0;const cn=_n=>{$e=(0,W.f)(we,he,()=>{try{Ae.unsubscribe(),(0,G.Xf)(F({meta:ie,lastValue:tt,seen:Dt})).subscribe(we)}catch(dn){we.error(dn)}},_n)};Ae=ke.subscribe((0,se.x)(we,_n=>{$e?.unsubscribe(),Dt++,we.next(tt=_n),Ce>0&&cn(Ce)},void 0,void 0,()=>{$e?.closed||$e?.unsubscribe(),tt=null})),!Dt&&cn(null!=rt?"number"==typeof rt?rt:+rt-he.now():Ce)})}(he)).subscribe($e=>{this.removeRequest(),ie.next($e),ie.complete()},$e=>{this.removeRequest(),200==$e.status&&(ie.next($e.error.text),ie.complete()),401==$e.status&&(ie.next($e.error.text),ie.complete()),ie.error($e)})})}postFormData(Ce,F){this.addRequest();var ie="Bearer "+JSON.parse(window.localStorage.getItem("user")).access_token;return new Promise((we,Ae)=>{var $e=new XMLHttpRequest;$e.onreadystatechange=function(){4==$e.readyState&&(200==$e.status?we(JSON.parse($e.response)):Ae($e.response))},$e.open("POST",Ce,!0),$e.setRequestHeader("Authorization",ie),$e.send(F)}).then(we=>this.handleSuccess(we)).catch(we=>this.handleError(we))}get(Ce){var F=JSON.parse(window.localStorage.getItem("user"));let he=new m.WM({"Content-Type":"application/json","Cache-Control":"no-cache"});return null!=F&&(he=new m.WM({"Content-Type":"application/json","Cache-Control":"no-cache",Authorization:"Bearer "+F.access_token})),this.http.get(Ce,{headers:he})}handleSuccess(Ce){return this.removeRequest(),typeof Ce._body>"u"?Ce:(Ce._body=Ce._body||{},Ce.json())}handleError(Ce){if(this.removeRequest(),typeof Ce._body>"u")return Promise.reject(Ce.message||Ce);{let F=Ce.json();return Promise.reject(F.ExceptionMessage||F.Message||F)}}addRequest(){this.currentRequest.next(this.currentRequest.value+1)}removeRequest(){this.currentRequest.next(this.currentRequest.value-1)}}return(Be=Xe).\u0275fac=function(Ce){return new(Ce||Be)(Me.LFG(m.eN),Me.LFG(Te._W))},Be.\u0275prov=Me.Yz7({token:Be,factory:Be.\u0275fac}),Xe})()},6639:(Ye,oe,M)=>{M.d(oe,{e:()=>w});var m=M(5879);let w=(()=>{var te;class x{constructor(){}GetNamePOS(){let U=JSON.parse(window.localStorage.getItem("user"));return this.ParseToken(U.access_token)}ParseToken(U){try{const X=U.split(".")[0].replace("-","+").replace("_","/"),se=JSON.parse(window.atob(X)),ne=U.split(".")[1].replace("-","+").replace("_","/"),de=JSON.parse(window.atob(ne));return de.header=se,de}catch{return!1}}}return(te=x).\u0275fac=function(U){return new(U||te)},te.\u0275prov=m.Yz7({token:te,factory:te.\u0275fac,providedIn:"root"}),x})()},7548:(Ye,oe,M)=>{var m=M(6593),w=M(5879),te=M(9862),x=M(6340),I=M(4408);const U=[{path:"",loadChildren:()=>Promise.all([M.e(442),M.e(101)]).then(M.bind(M,7101)).then(y=>y.LoginModule)},{path:"pages",loadChildren:()=>Promise.all([M.e(442),M.e(991)]).then(M.bind(M,2991)).then(y=>y.PagesModule)},{path:"**",redirectTo:"",pathMatch:"full"}];let G=(()=>{var y;class i{}return(y=i).\u0275fac=function(p){return new(p||y)},y.\u0275mod=w.oAB({type:y}),y.\u0275inj=w.cJS({imports:[I.Bz.forRoot(U),I.Bz]}),i})();var X=M(7328);function se(y,i){return(l,p)=>!y.call(i,l,p)}var W=M(2181),ne=M(4829),Le=M(3019),Me=M(9080),Te=M(4716),be=M(4664),Be=M(9360),Xe=M(2420),rt=M(8251);function Ce(y){return(0,Be.e)((i,l)=>{let p=!1,C=null,A=null;const B=()=>{if(A?.unsubscribe(),A=null,p){p=!1;const k=C;C=null,l.next(k)}};i.subscribe((0,rt.x)(l,k=>{A?.unsubscribe(),p=!0,C=k,A=(0,rt.x)(l,B,Xe.Z),(0,ne.Xf)(y(k)).subscribe(A)},()=>{B(),l.complete()},void 0,()=>{C=A=null}))})}var F=M(3997),he=M(9397),ie=M(6814);function ke(y,i){1&y&&w.GkF(0)}function we(y,i){if(1&y&&w._UZ(0,"sk-cube-grid",4),2&y){const l=w.oxw(2);w.Q6J("backgroundColor",l.backgroundColor)}}function Ae(y,i){if(1&y&&w._UZ(0,"sk-chasing-dots",4),2&y){const l=w.oxw(2);w.Q6J("backgroundColor",l.backgroundColor)}}function $e(y,i){if(1&y&&w._UZ(0,"sk-double-bounce",4),2&y){const l=w.oxw(2);w.Q6J("backgroundColor",l.backgroundColor)}}function tt(y,i){if(1&y&&w._UZ(0,"sk-rotating-plane",4),2&y){const l=w.oxw(2);w.Q6J("backgroundColor",l.backgroundColor)}}function Dt(y,i){if(1&y&&w._UZ(0,"sk-spinner-pulse",4),2&y){const l=w.oxw(2);w.Q6J("backgroundColor",l.backgroundColor)}}function cn(y,i){if(1&y&&w._UZ(0,"sk-three-bounce",4),2&y){const l=w.oxw(2);w.Q6J("backgroundColor",l.backgroundColor)}}function _n(y,i){if(1&y&&w._UZ(0,"sk-wandering-cubes",4),2&y){const l=w.oxw(2);w.Q6J("backgroundColor",l.backgroundColor)}}function dn(y,i){if(1&y&&w._UZ(0,"sk-wave",4),2&y){const l=w.oxw(2);w.Q6J("backgroundColor",l.backgroundColor)}}const Wt=function(y){return{"background-color":y}};function Vt(y,i){if(1&y&&(w.TgZ(0,"div",1),w.YNc(1,ke,1,0,"ng-container",2),w.YNc(2,we,1,1,"sk-cube-grid",3),w.YNc(3,Ae,1,1,"sk-chasing-dots",3),w.YNc(4,$e,1,1,"sk-double-bounce",3),w.YNc(5,tt,1,1,"sk-rotating-plane",3),w.YNc(6,Dt,1,1,"sk-spinner-pulse",3),w.YNc(7,cn,1,1,"sk-three-bounce",3),w.YNc(8,_n,1,1,"sk-wandering-cubes",3),w.YNc(9,dn,1,1,"sk-wave",3),w.qZA()),2&y){const l=w.oxw();w.Udp("opacity",l.opacity),w.ekj("backdrop",l.backdrop),w.Q6J("ngStyle",w.VKq(14,Wt,l.backdrop?l.backdropBackgroundColor:"transparent")),w.xp6(1),w.Q6J("ngComponentOutlet",l.entryComponent),w.xp6(1),w.Q6J("ngIf",l.spinner===l.spinkit.skCubeGrid),w.xp6(1),w.Q6J("ngIf",l.spinner===l.spinkit.skChasingDots),w.xp6(1),w.Q6J("ngIf",l.spinner===l.spinkit.skDoubleBounce),w.xp6(1),w.Q6J("ngIf",l.spinner===l.spinkit.skRotatingPlane),w.xp6(1),w.Q6J("ngIf",l.spinner===l.spinkit.skSpinnerPulse),w.xp6(1),w.Q6J("ngIf",l.spinner===l.spinkit.skThreeBounce),w.xp6(1),w.Q6J("ngIf",l.spinner===l.spinkit.skWanderingCubes),w.xp6(1),w.Q6J("ngIf",l.spinner===l.spinkit.skWave)}}let nn=(()=>{var y;class i{}return(y=i).\u0275fac=function(p){return new(p||y)},y.\u0275dir=w.lG2({type:y,inputs:{backgroundColor:"backgroundColor"}}),i})(),le=(()=>{var y;class i extends nn{}return(y=i).\u0275fac=function(){let l;return function(C){return(l||(l=w.n5z(y)))(C||y)}}(),y.\u0275cmp=w.Xpm({type:y,selectors:[["sk-chasing-dots"]],features:[w.qOj],decls:3,vars:6,consts:[[1,"sk-chasing-dots"],[1,"sk-child","sk-dot1"],[1,"sk-child","sk-dot2"]],template:function(p,C){1&p&&(w.TgZ(0,"div",0),w._UZ(1,"div",1)(2,"div",2),w.qZA()),2&p&&(w.ekj("colored",!C.backgroundColor),w.xp6(1),w.Udp("background-color",C.backgroundColor),w.xp6(1),w.Udp("background-color",C.backgroundColor))},styles:[".sk-chasing-dots[_ngcontent-%COMP%]{top:50%;margin:auto;width:40px;height:40px;position:relative;text-align:center;animation:_ngcontent-%COMP%_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:_ngcontent-%COMP%_sk-chasingDotsBounce 2s infinite ease-in-out}.sk-chasing-dots[_ngcontent-%COMP%] .sk-dot2[_ngcontent-%COMP%]{top:auto;bottom:0;animation-delay:-1s}@keyframes _ngcontent-%COMP%_sk-chasingDotsRotate{to{transform:rotate(360deg)}}@keyframes _ngcontent-%COMP%_sk-chasingDotsBounce{0%,to{transform:scale(0)}50%{transform:scale(1)}}"]}),i})(),fe=(()=>{var y;class i extends nn{}return(y=i).\u0275fac=function(){let l;return function(C){return(l||(l=w.n5z(y)))(C||y)}}(),y.\u0275cmp=w.Xpm({type:y,selectors:[["sk-cube-grid"]],features:[w.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(p,C){1&p&&(w.TgZ(0,"div",0),w._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),w.qZA()),2&p&&(w.ekj("colored",!C.backgroundColor),w.xp6(1),w.Udp("background-color",C.backgroundColor),w.xp6(1),w.Udp("background-color",C.backgroundColor),w.xp6(1),w.Udp("background-color",C.backgroundColor),w.xp6(1),w.Udp("background-color",C.backgroundColor),w.xp6(1),w.Udp("background-color",C.backgroundColor),w.xp6(1),w.Udp("background-color",C.backgroundColor),w.xp6(1),w.Udp("background-color",C.backgroundColor),w.xp6(1),w.Udp("background-color",C.backgroundColor),w.xp6(1),w.Udp("background-color",C.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:_ngcontent-%COMP%_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 _ngcontent-%COMP%_sk-cubeGridScaleDelay{0%,70%,to{transform:scaleZ(1)}35%{transform:scale3D(0,0,1)}}"]}),i})(),me=(()=>{var y;class i extends nn{}return(y=i).\u0275fac=function(){let l;return function(C){return(l||(l=w.n5z(y)))(C||y)}}(),y.\u0275cmp=w.Xpm({type:y,selectors:[["sk-double-bounce"]],features:[w.qOj],decls:3,vars:6,consts:[[1,"sk-double-bounce"],[1,"sk-child","sk-double-bounce1"],[1,"sk-child","sk-double-bounce2"]],template:function(p,C){1&p&&(w.TgZ(0,"div",0),w._UZ(1,"div",1)(2,"div",2),w.qZA()),2&p&&(w.ekj("colored",!C.backgroundColor),w.xp6(1),w.Udp("background-color",C.backgroundColor),w.xp6(1),w.Udp("background-color",C.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:_ngcontent-%COMP%_sk-doubleBounce 2s infinite ease-in-out}.sk-double-bounce[_ngcontent-%COMP%] .sk-double-bounce2[_ngcontent-%COMP%]{animation-delay:-1s}@keyframes _ngcontent-%COMP%_sk-doubleBounce{0%,to{transform:scale(0)}50%{transform:scale(1)}}"]}),i})(),Ee=(()=>{var y;class i extends nn{}return(y=i).\u0275fac=function(){let l;return function(C){return(l||(l=w.n5z(y)))(C||y)}}(),y.\u0275cmp=w.Xpm({type:y,selectors:[["sk-rotating-plane"]],features:[w.qOj],decls:1,vars:2,consts:[[1,"sk-rotating-plane","colored-parent"]],template:function(p,C){1&p&&w._UZ(0,"div",0),2&p&&w.Udp("background-color",C.backgroundColor)},styles:[".sk-rotating-plane[_ngcontent-%COMP%]{position:relative;top:50%;width:40px;height:40px;margin:auto;animation:_ngcontent-%COMP%_sk-rotatePlane 1.2s infinite ease-in-out}@keyframes _ngcontent-%COMP%_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)}}"]}),i})(),Ne=(()=>{var y;class i extends nn{}return(y=i).\u0275fac=function(){let l;return function(C){return(l||(l=w.n5z(y)))(C||y)}}(),y.\u0275cmp=w.Xpm({type:y,selectors:[["sk-spinner-pulse"]],features:[w.qOj],decls:1,vars:2,consts:[[1,"sk-spinner","sk-spinner-pulse","colored-parent"]],template:function(p,C){1&p&&w._UZ(0,"div",0),2&p&&w.Udp("background-color",C.backgroundColor)},styles:[".sk-spinner-pulse[_ngcontent-%COMP%]{position:relative;top:50%;width:40px;height:40px;margin:auto;border-radius:100%;animation:_ngcontent-%COMP%_sk-pulseScaleOut 1s infinite ease-in-out}@keyframes _ngcontent-%COMP%_sk-pulseScaleOut{0%{transform:scale(0)}to{transform:scale(1);opacity:0}}"]}),i})(),xe=(()=>{var y;class i extends nn{}return(y=i).\u0275fac=function(){let l;return function(C){return(l||(l=w.n5z(y)))(C||y)}}(),y.\u0275cmp=w.Xpm({type:y,selectors:[["sk-three-bounce"]],features:[w.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(p,C){1&p&&(w.TgZ(0,"div",0),w._UZ(1,"div",1)(2,"div",2)(3,"div",3),w.qZA()),2&p&&(w.ekj("colored",!C.backgroundColor),w.xp6(1),w.Udp("background-color",C.backgroundColor),w.xp6(1),w.Udp("background-color",C.backgroundColor),w.xp6(1),w.Udp("background-color",C.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:_ngcontent-%COMP%_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 _ngcontent-%COMP%_sk-three-bounce{0%,80%,to{transform:scale(0)}40%{transform:scale(1)}}"]}),i})(),et=(()=>{var y;class i extends nn{}return(y=i).\u0275fac=function(){let l;return function(C){return(l||(l=w.n5z(y)))(C||y)}}(),y.\u0275cmp=w.Xpm({type:y,selectors:[["sk-wandering-cubes"]],features:[w.qOj],decls:3,vars:6,consts:[[1,"sk-wandering-cubes"],[1,"sk-cube","sk-cube1"],[1,"sk-cube","sk-cube2"]],template:function(p,C){1&p&&(w.TgZ(0,"div",0),w._UZ(1,"div",1)(2,"div",2),w.qZA()),2&p&&(w.ekj("colored",!C.backgroundColor),w.xp6(1),w.Udp("background-color",C.backgroundColor),w.xp6(1),w.Udp("background-color",C.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:_ngcontent-%COMP%_sk-wanderingCube 1.8s ease-in-out -1.8s infinite both}.sk-wandering-cubes[_ngcontent-%COMP%] .sk-cube2[_ngcontent-%COMP%]{animation-delay:-.9s}@keyframes _ngcontent-%COMP%_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)}}"]}),i})(),Q=(()=>{var y;class i extends nn{}return(y=i).\u0275fac=function(){let l;return function(C){return(l||(l=w.n5z(y)))(C||y)}}(),y.\u0275cmp=w.Xpm({type:y,selectors:[["sk-wave"]],features:[w.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(p,C){1&p&&(w.TgZ(0,"div",0),w._UZ(1,"div",1)(2,"div",2)(3,"div",3)(4,"div",4)(5,"div",5),w.qZA()),2&p&&(w.ekj("colored",!C.backgroundColor),w.xp6(1),w.Udp("background-color",C.backgroundColor),w.xp6(1),w.Udp("background-color",C.backgroundColor),w.xp6(1),w.Udp("background-color",C.backgroundColor),w.xp6(1),w.Udp("background-color",C.backgroundColor),w.xp6(1),w.Udp("background-color",C.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:_ngcontent-%COMP%_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 _ngcontent-%COMP%_sk-waveStretchDelay{0%,40%,to{transform:scaleY(.4)}20%{transform:scaleY(1)}}"]}),i})();const ye={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 K=(()=>{var y;class i{constructor(){this._pendingRequests=0,this._pendingRequestsStatus$=new X.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(p){this._filteredMethods=p}set filteredHeaders(p){this._filteredHeaders=p}set forceByPass(p){this._forceByPass=p}shouldBypassUrl(p){return this._filteredUrlPatterns.some(C=>C.test(p))}shouldBypassMethod(p){return this._filteredMethods.some(C=>C.toUpperCase()===p.method.toUpperCase())}shouldBypassHeader(p){return this._filteredHeaders.some(C=>p.headers.has(C))}shouldBypass(p){return this._forceByPass||this.shouldBypassUrl(p.urlWithParams)||this.shouldBypassMethod(p)||this.shouldBypassHeader(p)}intercept(p,C){const A=this.shouldBypass(p);return A||(this._pendingRequests++,1===this._pendingRequests&&this._pendingRequestsStatus$.next(!0)),C.handle(p).pipe((0,Te.x)(()=>{A||(this._pendingRequests--,0===this._pendingRequests&&this._pendingRequestsStatus$.next(!1))}))}}return(y=i).\u0275fac=function(p){return new(p||y)},y.\u0275prov=w.Yz7({token:y,factory:y.\u0275fac,providedIn:"root"}),i})();const Z=[{provide:te.TP,useExisting:K,multi:!0}];let Ze=(()=>{var y;class i{constructor(p){this.pendingRequestsInterceptor=p,this._visibility$=new X.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=i).\u0275fac=function(p){return new(p||y)(w.LFG(K))},y.\u0275prov=w.Yz7({token:y,factory:y.\u0275fac,providedIn:"root"}),i})(),ot=(()=>{var y;class i{constructor(p,C){this.pendingRequestsInterceptor=p,this.spinnerVisibility=C,this.spinkit=ye,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=ye.skWave}ngOnInit(){this.initIsvisibleObservable(),this.nullifySpinnerIfEntryComponentIsDefined(),this.initFilters()}initIsvisibleObservable(){const[p,C]=function de(y,i,l){return[(0,W.h)(i,l)((0,ne.Xf)(y)),(0,W.h)(se(i,l))((0,ne.Xf)(y))]}(this.pendingRequestsInterceptor.pendingRequestsStatus$,A=>A);this.isVisible$=(0,Le.T)(this.pendingRequestsInterceptor.pendingRequestsStatus$.pipe((0,be.w)(()=>p.pipe(Ce(()=>(0,Me.H)(this.debounceDelay))))),p.pipe((0,be.w)(()=>C.pipe(Ce(()=>this.getVisibilityTimer$())))),this.spinnerVisibility.visibility$).pipe((0,F.x)(),(0,he.b)(A=>this.updateExpirationDelay(A)))}nullifySpinnerIfEntryComponentIsDefined(){this.entryComponent&&(this.spinner=null)}initFilters(){this.initFilteredUrlPatterns(),this.initFilteredMethods(),this.initFilteredHeaders()}initFilteredUrlPatterns(){this.filteredUrlPatterns.length&&this.filteredUrlPatterns.forEach(p=>this.pendingRequestsInterceptor.filteredUrlPatterns.push(new RegExp(p)))}initFilteredMethods(){this.pendingRequestsInterceptor.filteredMethods=this.filteredMethods}initFilteredHeaders(){this.pendingRequestsInterceptor.filteredHeaders=this.filteredHeaders}updateExpirationDelay(p){p&&(this.visibleUntil=Date.now()+this.minDuration)}getVisibilityTimer$(){return(0,Me.H)(Math.max(this.extraDuration,this.visibleUntil-Date.now()))}}return(y=i).\u0275fac=function(p){return new(p||y)(w.Y36(K),w.Y36(Ze))},y.\u0275cmp=w.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(p,C){1&p&&(w.YNc(0,Vt,10,16,"div",0),w.ALo(1,"async")),2&p&&w.Q6J("ngIf",w.lcZ(1,1,C.isVisible$))},dependencies:[ie.$G,ie.O5,ie.PC,fe,le,me,Ee,Ne,xe,et,Q,ie.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}"]}),i})(),Kt=(()=>{var y;class i{static forRoot(){return{ngModule:i,providers:[Z]}}}return(y=i).\u0275fac=function(p){return new(p||y)},y.\u0275mod=w.oAB({type:y}),y.\u0275inj=w.cJS({imports:[ie.ez]}),i})(),It=(()=>{var y;class i{constructor(){this.title="zoho"}ngOnInit(){this.overrideDateToJsonFunction()}overrideDateToJsonFunction(){Date.prototype.toJSON=function(){return new Date(this.getTime()-60*this.getTimezoneOffset()*1e3).toISOString()}}}return(y=i).\u0275fac=function(p){return new(p||y)},y.\u0275cmp=w.Xpm({type:y,selectors:[["app-root"]],decls:2,vars:0,template:function(p,C){1&p&&w._UZ(0,"router-outlet")(1,"ng-http-loader")},dependencies:[I.lC,ot],styles:[".main-content[_ngcontent-%COMP%]{margin-left:80px;flex-grow:1;transition:margin-left .25s,margin-right .25s,width .25s,flex .25s}.content-wrapper[_ngcontent-%COMP%]{display:flex;flex-direction:row;min-height:calc(80vh - .5rem)}.chosen[_ngcontent-%COMP%]{background-color:#9fd550;z-index:1}.show[_ngcontent-%COMP%]{z-index:10000}@media (max-width: 767px){.body-content[_ngcontent-%COMP%]{padding-top:50px}}.flex-right[_ngcontent-%COMP%] .mat-sort-header-container[_ngcontent-%COMP%]{justify-content:end!important}.align-right[_ngcontent-%COMP%] .mat-sort-header-container[_ngcontent-%COMP%]{justify-content:flex-end!important}.datepicker[_ngcontent-%COMP%]{width:125px}.mat-datepicker-content[_ngcontent-%COMP%] .mat-calendar[_ngcontent-%COMP%]{height:auto!important}"]}),i})();var Qe=M(6825);function Ln(y){return new w.vHH(3e3,!1)}function ut(y){switch(y.length){case 0:return new Qe.ZN;case 1:return y[0];default:return new Qe.ZE(y)}}function st(y,i,l=new Map,p=new Map){const C=[],A=[];let B=-1,k=null;if(i.forEach(J=>{const ge=J.get("offset"),Ke=ge==B,Ve=Ke&&k||new Map;J.forEach((St,Ct)=>{let u=Ct,h=St;if("offset"!==Ct)switch(u=y.normalizePropertyName(u,C),h){case Qe.k1:h=l.get(Ct);break;case Qe.l3:h=p.get(Ct);break;default:h=y.normalizeStyleValue(Ct,u,h,C)}Ve.set(u,h)}),Ke||A.push(Ve),k=Ve,B=ge}),C.length)throw function Ss(y){return new w.vHH(3502,!1)}();return A}function jt(y,i,l,p){switch(i){case"start":y.onStart(()=>p(l&&fn(l,"start",y)));break;case"done":y.onDone(()=>p(l&&fn(l,"done",y)));break;case"destroy":y.onDestroy(()=>p(l&&fn(l,"destroy",y)))}}function fn(y,i,l){const A=mn(y.element,y.triggerName,y.fromState,y.toState,i||y.phaseName,l.totalTime??y.totalTime,!!l.disabled),B=y._data;return null!=B&&(A._data=B),A}function mn(y,i,l,p,C="",A=0,B){return{element:y,triggerName:i,fromState:l,toState:p,phaseName:C,totalTime:A,disabled:!!B}}function z(y,i,l){let p=y.get(i);return p||y.set(i,p=l),p}function L(y){const i=y.indexOf(":");return[y.substring(1,i),y.slice(i+1)]}const ae=(()=>typeof document>"u"?null:document.documentElement)();function re(y){const i=y.parentNode||y.host||null;return i===ae?null:i}let Oe=null,Je=!1;function Cn(y,i){for(;i;){if(i===y)return!0;i=re(i)}return!1}function An(y,i,l){if(l)return Array.from(y.querySelectorAll(i));const p=y.querySelector(i);return p?[p]:[]}let Kn=(()=>{var y;class i{validateStyleProperty(p){return function je(y){Oe||(Oe=function wt(){return typeof document<"u"?document.body:null}()||{},Je=!!Oe.style&&"WebkitAppearance"in Oe.style);let i=!0;return Oe.style&&!function He(y){return"ebkit"==y.substring(1,6)}(y)&&(i=y in Oe.style,!i&&Je&&(i="Webkit"+y.charAt(0).toUpperCase()+y.slice(1)in Oe.style)),i}(p)}matchesElement(p,C){return!1}containsElement(p,C){return Cn(p,C)}getParentElement(p){return re(p)}query(p,C,A){return An(p,C,A)}computeStyle(p,C,A){return A||""}animate(p,C,A,B,k,J=[],ge){return new Qe.ZN(A,B)}}return(y=i).\u0275fac=function(p){return new(p||y)},y.\u0275prov=w.Yz7({token:y,factory:y.\u0275fac}),i})(),_r=(()=>{class i{}return i.NOOP=new Kn,i})();const Dr=1e3,On="ng-enter",or="ng-leave",Jt="ng-trigger",ir=".ng-trigger",Yr="ng-animating",En=".ng-animating";function Yn(y){if("number"==typeof y)return y;const i=y.match(/^(-?[\.\d]+)(m?s)/);return!i||i.length<2?0:Zn(parseFloat(i[1]),i[2])}function Zn(y,i){return"s"===i?y*Dr:y}function hn(y,i,l){return y.hasOwnProperty("duration")?y:function xr(y,i,l){let C,A=0,B="";if("string"==typeof y){const k=y.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===k)return i.push(Ln()),{duration:0,delay:0,easing:""};C=Zn(parseFloat(k[1]),k[2]);const J=k[3];null!=J&&(A=Zn(parseFloat(J),k[4]));const ge=k[5];ge&&(B=ge)}else C=y;if(!l){let k=!1,J=i.length;C<0&&(i.push(function Dn(){return new w.vHH(3100,!1)}()),k=!0),A<0&&(i.push(function Ar(){return new w.vHH(3101,!1)}()),k=!0),k&&i.splice(J,0,Ln())}return{duration:C,delay:A,easing:B}}(y,i,l)}function Er(y,i={}){return Object.keys(y).forEach(l=>{i[l]=y[l]}),i}function $s(y){const i=new Map;return Object.keys(y).forEach(l=>{i.set(l,y[l])}),i}function Zr(y,i=new Map,l){if(l)for(let[p,C]of l)i.set(p,C);for(let[p,C]of y)i.set(p,C);return i}function ar(y,i,l){i.forEach((p,C)=>{const A=Os(C);l&&!l.has(C)&&l.set(C,y.style[A]),y.style[A]=p})}function qr(y,i){i.forEach((l,p)=>{const C=Os(p);y.style[C]=""})}function Vs(y){return Array.isArray(y)?1==y.length?y[0]:(0,Qe.vP)(y):y}const zs=new RegExp("{{\\s*(.+?)\\s*}}","g");function Ro(y){let i=[];if("string"==typeof y){let l;for(;l=zs.exec(y);)i.push(l[1]);zs.lastIndex=0}return i}function Is(y,i,l){const p=y.toString(),C=p.replace(zs,(A,B)=>{let k=i[B];return null==k&&(l.push(function In(y){return new w.vHH(3003,!1)}()),k=""),k.toString()});return C==p?y:C}function As(y){const i=[];let l=y.next();for(;!l.done;)i.push(l.value),l=y.next();return i}const ys=/-+([a-z0-9])/g;function Os(y){return y.replace(ys,(...i)=>i[1].toUpperCase())}function ct(y,i,l){switch(i.type){case 7:return y.visitTrigger(i,l);case 0:return y.visitState(i,l);case 1:return y.visitTransition(i,l);case 2:return y.visitSequence(i,l);case 3:return y.visitGroup(i,l);case 4:return y.visitAnimate(i,l);case 5:return y.visitKeyframes(i,l);case 6:return y.visitStyle(i,l);case 8:return y.visitReference(i,l);case 9:return y.visitAnimateChild(i,l);case 10:return y.visitAnimateRef(i,l);case 11:return y.visitQuery(i,l);case 12:return y.visitStagger(i,l);default:throw function lt(y){return new w.vHH(3004,!1)}()}}function pn(y,i){return window.getComputedStyle(y)[i]}const Cr="*";function fo(y,i){const l=[];return"string"==typeof y?y.split(/\s*,\s*/).forEach(p=>function Xt(y,i,l){if(":"==y[0]){const J=function We(y,i){switch(y){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(l,p)=>parseFloat(p)>parseFloat(l);case":decrement":return(l,p)=>parseFloat(p)<parseFloat(l);default:return i.push(function Rr(y){return new w.vHH(3016,!1)}()),"* => *"}}(y,l);if("function"==typeof J)return void i.push(J);y=J}const p=y.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==p||p.length<4)return l.push(function Gr(y){return new w.vHH(3015,!1)}()),i;const C=p[1],A=p[2],B=p[3];i.push(Pn(C,B));"<"==A[0]&&!(C==Cr&&B==Cr)&&i.push(Pn(B,C))}(p,l,i)):l.push(y),l}const dt=new Set(["true","1"]),Ut=new Set(["false","0"]);function Pn(y,i){const l=dt.has(y)||Ut.has(y),p=dt.has(i)||Ut.has(i);return(C,A)=>{let B=y==Cr||y==C,k=i==Cr||i==A;return!B&&l&&"boolean"==typeof C&&(B=C?dt.has(y):Ut.has(y)),!k&&p&&"boolean"==typeof A&&(k=A?dt.has(i):Ut.has(i)),B&&k}}const vn=new RegExp("s*:selfs*,?","g");function Fr(y,i,l,p){return new lr(y).build(i,l,p)}class lr{constructor(i){this._driver=i}build(i,l,p){const C=new kr(l);return this._resetContextStyleTimingState(C),ct(this,Vs(i),C)}_resetContextStyleTimingState(i){i.currentQuerySelector="",i.collectedStyles=new Map,i.collectedStyles.set("",new Map),i.currentTime=0}visitTrigger(i,l){let p=l.queryCount=0,C=l.depCount=0;const A=[],B=[];return"@"==i.name.charAt(0)&&l.errors.push(function bt(){return new w.vHH(3006,!1)}()),i.definitions.forEach(k=>{if(this._resetContextStyleTimingState(l),0==k.type){const J=k,ge=J.name;ge.toString().split(/\s*,\s*/).forEach(Ke=>{J.name=Ke,A.push(this.visitState(J,l))}),J.name=ge}else if(1==k.type){const J=this.visitTransition(k,l);p+=J.queryCount,C+=J.depCount,B.push(J)}else l.errors.push(function gn(){return new w.vHH(3007,!1)}())}),{type:7,name:i.name,states:A,transitions:B,queryCount:p,depCount:C,options:null}}visitState(i,l){const p=this.visitStyle(i.styles,l),C=i.options&&i.options.params||null;if(p.containsDynamicStyles){const A=new Set,B=C||{};p.styles.forEach(k=>{k instanceof Map&&k.forEach(J=>{Ro(J).forEach(ge=>{B.hasOwnProperty(ge)||A.add(ge)})})}),A.size&&(As(A.values()),l.errors.push(function Or(y,i){return new w.vHH(3008,!1)}()))}return{type:0,name:i.name,style:p,options:C?{params:C}:null}}visitTransition(i,l){l.queryCount=0,l.depCount=0;const p=ct(this,Vs(i.animation),l);return{type:1,matchers:fo(i.expr,l.errors),animation:p,queryCount:l.queryCount,depCount:l.depCount,options:Ht(i.options)}}visitSequence(i,l){return{type:2,steps:i.steps.map(p=>ct(this,p,l)),options:Ht(i.options)}}visitGroup(i,l){const p=l.currentTime;let C=0;const A=i.steps.map(B=>{l.currentTime=p;const k=ct(this,B,l);return C=Math.max(C,l.currentTime),k});return l.currentTime=C,{type:3,steps:A,options:Ht(i.options)}}visitAnimate(i,l){const p=function Ds(y,i){if(y.hasOwnProperty("duration"))return y;if("number"==typeof y)return as(hn(y,i).duration,0,"");const l=y;if(l.split(/\s+/).some(A=>"{"==A.charAt(0)&&"{"==A.charAt(1))){const A=as(0,0,"");return A.dynamic=!0,A.strValue=l,A}const C=hn(l,i);return as(C.duration,C.delay,C.easing)}(i.timings,l.errors);l.currentAnimateTimings=p;let C,A=i.styles?i.styles:(0,Qe.oB)({});if(5==A.type)C=this.visitKeyframes(A,l);else{let B=i.styles,k=!1;if(!B){k=!0;const ge={};p.easing&&(ge.easing=p.easing),B=(0,Qe.oB)(ge)}l.currentTime+=p.duration+p.delay;const J=this.visitStyle(B,l);J.isEmptyStep=k,C=J}return l.currentAnimateTimings=null,{type:4,timings:p,style:C,options:null}}visitStyle(i,l){const p=this._makeStyleAst(i,l);return this._validateStyleAst(p,l),p}_makeStyleAst(i,l){const p=[],C=Array.isArray(i.styles)?i.styles:[i.styles];for(let k of C)"string"==typeof k?k===Qe.l3?p.push(k):l.errors.push(new w.vHH(3002,!1)):p.push($s(k));let A=!1,B=null;return p.forEach(k=>{if(k instanceof Map&&(k.has("easing")&&(B=k.get("easing"),k.delete("easing")),!A))for(let J of k.values())if(J.toString().indexOf("{{")>=0){A=!0;break}}),{type:6,styles:p,easing:B,offset:i.offset,containsDynamicStyles:A,options:null}}_validateStyleAst(i,l){const p=l.currentAnimateTimings;let C=l.currentTime,A=l.currentTime;p&&A>0&&(A-=p.duration+p.delay),i.styles.forEach(B=>{"string"!=typeof B&&B.forEach((k,J)=>{const ge=l.collectedStyles.get(l.currentQuerySelector),Ke=ge.get(J);let Ve=!0;Ke&&(A!=C&&A>=Ke.startTime&&C<=Ke.endTime&&(l.errors.push(function mt(y,i,l,p,C){return new w.vHH(3010,!1)}()),Ve=!1),A=Ke.startTime),Ve&&ge.set(J,{startTime:A,endTime:C}),l.options&&function gr(y,i,l){const p=i.params||{},C=Ro(y);C.length&&C.forEach(A=>{p.hasOwnProperty(A)||l.push(function zn(y){return new w.vHH(3001,!1)}())})}(k,l.options,l.errors)})})}visitKeyframes(i,l){const p={type:5,styles:[],options:null};if(!l.currentAnimateTimings)return l.errors.push(function os(){return new w.vHH(3011,!1)}()),p;let A=0;const B=[];let k=!1,J=!1,ge=0;const Ke=i.steps.map(f=>{const D=this._makeStyleAst(f,l);let S=null!=D.offset?D.offset:function ko(y){if("string"==typeof y)return null;let i=null;if(Array.isArray(y))y.forEach(l=>{if(l instanceof Map&&l.has("offset")){const p=l;i=parseFloat(p.get("offset")),p.delete("offset")}});else if(y instanceof Map&&y.has("offset")){const l=y;i=parseFloat(l.get("offset")),l.delete("offset")}return i}(D.styles),P=0;return null!=S&&(A++,P=D.offset=S),J=J||P<0||P>1,k=k||P<ge,ge=P,B.push(P),D});J&&l.errors.push(function zt(){return new w.vHH(3012,!1)}()),k&&l.errors.push(function sr(){return new w.vHH(3200,!1)}());const Ve=i.steps.length;let St=0;A>0&&A<Ve?l.errors.push(function Ft(){return new w.vHH(3202,!1)}()):0==A&&(St=1/(Ve-1));const Ct=Ve-1,u=l.currentTime,h=l.currentAnimateTimings,v=h.duration;return Ke.forEach((f,D)=>{const S=St>0?D==Ct?1:St*D:B[D],P=S*v;l.currentTime=u+h.delay+P,h.duration=P,this._validateStyleAst(f,l),f.offset=S,p.styles.push(f)}),p}visitReference(i,l){return{type:8,animation:ct(this,Vs(i.animation),l),options:Ht(i.options)}}visitAnimateChild(i,l){return l.depCount++,{type:9,options:Ht(i.options)}}visitAnimateRef(i,l){return{type:10,animation:this.visitReference(i.animation,l),options:Ht(i.options)}}visitQuery(i,l){const p=l.currentQuerySelector,C=i.options||{};l.queryCount++,l.currentQuery=i;const[A,B]=function is(y){const i=!!y.split(/\s*,\s*/).find(l=>":self"==l);return i&&(y=y.replace(vn,"")),y=y.replace(/@\*/g,ir).replace(/@\w+/g,l=>ir+"-"+l.slice(1)).replace(/:animating/g,En),[y,i]}(i.selector);l.currentQuerySelector=p.length?p+" "+A:A,z(l.collectedStyles,l.currentQuerySelector,new Map);const k=ct(this,Vs(i.animation),l);return l.currentQuery=null,l.currentQuerySelector=p,{type:11,selector:A,limit:C.limit||0,optional:!!C.optional,includeSelf:B,animation:k,originalSelector:i.selector,options:Ht(i.options)}}visitStagger(i,l){l.currentQuery||l.errors.push(function pr(){return new w.vHH(3013,!1)}());const p="full"===i.timings?{duration:0,delay:0,easing:"full"}:hn(i.timings,l.errors,!0);return{type:12,animation:ct(this,Vs(i.animation),l),timings:p,options:null}}}class kr{constructor(i){this.errors=i,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}}function Ht(y){return y?(y=Er(y)).params&&(y.params=function ht(y){return y?Er(y):null}(y.params)):y={},y}function as(y,i,l){return{duration:y,delay:i,easing:l}}function Qr(y,i,l,p,C,A,B=null,k=!1){return{type:1,element:y,keyframes:i,preStyleProps:l,postStyleProps:p,duration:C,delay:A,totalTime:C+A,easing:B,subTimeline:k}}class qn{constructor(){this._map=new Map}get(i){return this._map.get(i)||[]}append(i,l){let p=this._map.get(i);p||this._map.set(i,p=[]),p.push(...l)}has(i){return this._map.has(i)}clear(){this._map.clear()}}const ls=new RegExp(":enter","g"),po=new RegExp(":leave","g");function Xr(y,i,l,p,C,A=new Map,B=new Map,k,J,ge=[]){return(new Tt).buildKeyframes(y,i,l,p,C,A,B,k,J,ge)}class Tt{buildKeyframes(i,l,p,C,A,B,k,J,ge,Ke=[]){ge=ge||new qn;const Ve=new Ws(i,l,ge,C,A,Ke,[]);Ve.options=J;const St=J.delay?Yn(J.delay):0;Ve.currentTimeline.delayNextStep(St),Ve.currentTimeline.setStyles([B],null,Ve.errors,J),ct(this,p,Ve);const Ct=Ve.timelines.filter(u=>u.containsAnimation());if(Ct.length&&k.size){let u;for(let h=Ct.length-1;h>=0;h--){const v=Ct[h];if(v.element===l){u=v;break}}u&&!u.allowOnlyTimelineStyles()&&u.setStyles([k],null,Ve.errors,J)}return Ct.length?Ct.map(u=>u.buildKeyframes()):[Qr(l,[],[],[],0,St,"",!1)]}visitTrigger(i,l){}visitState(i,l){}visitTransition(i,l){}visitAnimateChild(i,l){const p=l.subInstructions.get(l.element);if(p){const C=l.createSubContext(i.options),A=l.currentTimeline.currentTime,B=this._visitSubInstructions(p,C,C.options);A!=B&&l.transformIntoNewTimeline(B)}l.previousNode=i}visitAnimateRef(i,l){const p=l.createSubContext(i.options);p.transformIntoNewTimeline(),this._applyAnimationRefDelays([i.options,i.animation.options],l,p),this.visitReference(i.animation,p),l.transformIntoNewTimeline(p.currentTimeline.currentTime),l.previousNode=i}_applyAnimationRefDelays(i,l,p){for(const C of i){const A=C?.delay;if(A){const B="number"==typeof A?A:Yn(Is(A,C?.params??{},l.errors));p.delayNextStep(B)}}}_visitSubInstructions(i,l,p){let A=l.currentTimeline.currentTime;const B=null!=p.duration?Yn(p.duration):null,k=null!=p.delay?Yn(p.delay):null;return 0!==B&&i.forEach(J=>{const ge=l.appendInstructionToTimeline(J,B,k);A=Math.max(A,ge.duration+ge.delay)}),A}visitReference(i,l){l.updateOptions(i.options,!0),ct(this,i.animation,l),l.previousNode=i}visitSequence(i,l){const p=l.subContextCount;let C=l;const A=i.options;if(A&&(A.params||A.delay)&&(C=l.createSubContext(A),C.transformIntoNewTimeline(),null!=A.delay)){6==C.previousNode.type&&(C.currentTimeline.snapshotCurrentStyles(),C.previousNode=go);const B=Yn(A.delay);C.delayNextStep(B)}i.steps.length&&(i.steps.forEach(B=>ct(this,B,C)),C.currentTimeline.applyStylesToKeyframe(),C.subContextCount>p&&C.transformIntoNewTimeline()),l.previousNode=i}visitGroup(i,l){const p=[];let C=l.currentTimeline.currentTime;const A=i.options&&i.options.delay?Yn(i.options.delay):0;i.steps.forEach(B=>{const k=l.createSubContext(i.options);A&&k.delayNextStep(A),ct(this,B,k),C=Math.max(C,k.currentTimeline.currentTime),p.push(k.currentTimeline)}),p.forEach(B=>l.currentTimeline.mergeTimelineCollectedStyles(B)),l.transformIntoNewTimeline(C),l.previousNode=i}_visitTiming(i,l){if(i.dynamic){const p=i.strValue;return hn(l.params?Is(p,l.params,l.errors):p,l.errors)}return{duration:i.duration,delay:i.delay,easing:i.easing}}visitAnimate(i,l){const p=l.currentAnimateTimings=this._visitTiming(i.timings,l),C=l.currentTimeline;p.delay&&(l.incrementTime(p.delay),C.snapshotCurrentStyles());const A=i.style;5==A.type?this.visitKeyframes(A,l):(l.incrementTime(p.duration),this.visitStyle(A,l),C.applyStylesToKeyframe()),l.currentAnimateTimings=null,l.previousNode=i}visitStyle(i,l){const p=l.currentTimeline,C=l.currentAnimateTimings;!C&&p.hasCurrentStyleProperties()&&p.forwardFrame();const A=C&&C.easing||i.easing;i.isEmptyStep?p.applyEmptyStep(A):p.setStyles(i.styles,A,l.errors,l.options),l.previousNode=i}visitKeyframes(i,l){const p=l.currentAnimateTimings,C=l.currentTimeline.duration,A=p.duration,k=l.createSubContext().currentTimeline;k.easing=p.easing,i.styles.forEach(J=>{k.forwardTime((J.offset||0)*A),k.setStyles(J.styles,J.easing,l.errors,l.options),k.applyStylesToKeyframe()}),l.currentTimeline.mergeTimelineCollectedStyles(k),l.transformIntoNewTimeline(C+A),l.previousNode=i}visitQuery(i,l){const p=l.currentTimeline.currentTime,C=i.options||{},A=C.delay?Yn(C.delay):0;A&&(6===l.previousNode.type||0==p&&l.currentTimeline.hasCurrentStyleProperties())&&(l.currentTimeline.snapshotCurrentStyles(),l.previousNode=go);let B=p;const k=l.invokeQuery(i.selector,i.originalSelector,i.limit,i.includeSelf,!!C.optional,l.errors);l.currentQueryTotal=k.length;let J=null;k.forEach((ge,Ke)=>{l.currentQueryIndex=Ke;const Ve=l.createSubContext(i.options,ge);A&&Ve.delayNextStep(A),ge===l.element&&(J=Ve.currentTimeline),ct(this,i.animation,Ve),Ve.currentTimeline.applyStylesToKeyframe(),B=Math.max(B,Ve.currentTimeline.currentTime)}),l.currentQueryIndex=0,l.currentQueryTotal=0,l.transformIntoNewTimeline(B),J&&(l.currentTimeline.mergeTimelineCollectedStyles(J),l.currentTimeline.snapshotCurrentStyles()),l.previousNode=i}visitStagger(i,l){const p=l.parentContext,C=l.currentTimeline,A=i.timings,B=Math.abs(A.duration),k=B*(l.currentQueryTotal-1);let J=B*l.currentQueryIndex;switch(A.duration<0?"reverse":A.easing){case"reverse":J=k-J;break;case"full":J=p.currentStaggerTime}const Ke=l.currentTimeline;J&&Ke.delayNextStep(J);const Ve=Ke.currentTime;ct(this,i.animation,l),l.previousNode=i,p.currentStaggerTime=C.currentTime-Ve+(C.startTime-p.currentTimeline.startTime)}}const go={};class Ws{constructor(i,l,p,C,A,B,k,J){this._driver=i,this.element=l,this.subInstructions=p,this._enterClassName=C,this._leaveClassName=A,this.errors=B,this.timelines=k,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=go,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=J||new Ps(this._driver,l,0),k.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(i,l){if(!i)return;const p=i;let C=this.options;null!=p.duration&&(C.duration=Yn(p.duration)),null!=p.delay&&(C.delay=Yn(p.delay));const A=p.params;if(A){let B=C.params;B||(B=this.options.params={}),Object.keys(A).forEach(k=>{(!l||!B.hasOwnProperty(k))&&(B[k]=Is(A[k],B,this.errors))})}}_copyOptions(){const i={};if(this.options){const l=this.options.params;if(l){const p=i.params={};Object.keys(l).forEach(C=>{p[C]=l[C]})}}return i}createSubContext(i=null,l,p){const C=l||this.element,A=new Ws(this._driver,C,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(C,p||0));return A.previousNode=this.previousNode,A.currentAnimateTimings=this.currentAnimateTimings,A.options=this._copyOptions(),A.updateOptions(i),A.currentQueryIndex=this.currentQueryIndex,A.currentQueryTotal=this.currentQueryTotal,A.parentContext=this,this.subContextCount++,A}transformIntoNewTimeline(i){return this.previousNode=go,this.currentTimeline=this.currentTimeline.fork(this.element,i),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(i,l,p){const C={duration:l??i.duration,delay:this.currentTimeline.currentTime+(p??0)+i.delay,easing:""},A=new Qn(this._driver,i.element,i.keyframes,i.preStyleProps,i.postStyleProps,C,i.stretchStartingKeyframe);return this.timelines.push(A),C}incrementTime(i){this.currentTimeline.forwardTime(this.currentTimeline.duration+i)}delayNextStep(i){i>0&&this.currentTimeline.delayNextStep(i)}invokeQuery(i,l,p,C,A,B){let k=[];if(C&&k.push(this.element),i.length>0){i=(i=i.replace(ls,"."+this._enterClassName)).replace(po,"."+this._leaveClassName);let ge=this._driver.query(this.element,i,1!=p);0!==p&&(ge=p<0?ge.slice(ge.length+p,ge.length):ge.slice(0,p)),k.push(...ge)}return!A&&0==k.length&&B.push(function Pr(y){return new w.vHH(3014,!1)}()),k}}class Ps{constructor(i,l,p,C){this._driver=i,this.element=l,this.startTime=p,this._elementTimelineStylesLookup=C,this.duration=0,this.easing=null,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(l),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(l,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.hasCurrentStyleProperties();default:return!0}}hasCurrentStyleProperties(){return this._currentKeyframe.size>0}get currentTime(){return this.startTime+this.duration}delayNextStep(i){const l=1===this._keyframes.size&&this._pendingStyles.size;this.duration||l?(this.forwardTime(this.currentTime+i),l&&this.snapshotCurrentStyles()):this.startTime+=i}fork(i,l){return this.applyStylesToKeyframe(),new Ps(this._driver,i,l||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(i){this.applyStylesToKeyframe(),this.duration=i,this._loadKeyframe()}_updateStyle(i,l){this._localTimelineStyles.set(i,l),this._globalTimelineStyles.set(i,l),this._styleSummary.set(i,{time:this.currentTime,value:l})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(i){i&&this._previousKeyframe.set("easing",i);for(let[l,p]of this._globalTimelineStyles)this._backFill.set(l,p||Qe.l3),this._currentKeyframe.set(l,Qe.l3);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(i,l,p,C){l&&this._previousKeyframe.set("easing",l);const A=C&&C.params||{},B=function Rn(y,i){const l=new Map;let p;return y.forEach(C=>{if("*"===C){p=p||i.keys();for(let A of p)l.set(A,Qe.l3)}else Zr(C,l)}),l}(i,this._globalTimelineStyles);for(let[k,J]of B){const ge=Is(J,A,p);this._pendingStyles.set(k,ge),this._localTimelineStyles.has(k)||this._backFill.set(k,this._globalTimelineStyles.get(k)??Qe.l3),this._updateStyle(k,ge)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach((i,l)=>{this._currentKeyframe.set(l,i)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((i,l)=>{this._currentKeyframe.has(l)||this._currentKeyframe.set(l,i)}))}snapshotCurrentStyles(){for(let[i,l]of this._localTimelineStyles)this._pendingStyles.set(i,l),this._updateStyle(i,l)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const i=[];for(let l in this._currentKeyframe)i.push(l);return i}mergeTimelineCollectedStyles(i){i._styleSummary.forEach((l,p)=>{const C=this._styleSummary.get(p);(!C||l.time>C.time)&&this._updateStyle(p,l.value)})}buildKeyframes(){this.applyStylesToKeyframe();const i=new Set,l=new Set,p=1===this._keyframes.size&&0===this.duration;let C=[];this._keyframes.forEach((k,J)=>{const ge=Zr(k,new Map,this._backFill);ge.forEach((Ke,Ve)=>{Ke===Qe.k1?i.add(Ve):Ke===Qe.l3&&l.add(Ve)}),p||ge.set("offset",J/this.duration),C.push(ge)});const A=i.size?As(i.values()):[],B=l.size?As(l.values()):[];if(p){const k=C[0],J=new Map(k);k.set("offset",0),J.set("offset",1),C=[k,J]}return Qr(this.element,C,A,B,this.duration,this.startTime,this.easing,!1)}}class Qn extends Ps{constructor(i,l,p,C,A,B,k=!1){super(i,l,B.delay),this.keyframes=p,this.preStyleProps=C,this.postStyleProps=A,this._stretchStartingKeyframe=k,this.timings={duration:B.duration,delay:B.delay,easing:B.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let i=this.keyframes,{delay:l,duration:p,easing:C}=this.timings;if(this._stretchStartingKeyframe&&l){const A=[],B=p+l,k=l/B,J=Zr(i[0]);J.set("offset",0),A.push(J);const ge=Zr(i[0]);ge.set("offset",us(k)),A.push(ge);const Ke=i.length-1;for(let Ve=1;Ve<=Ke;Ve++){let St=Zr(i[Ve]);const Ct=St.get("offset");St.set("offset",us((l+Ct*p)/B)),A.push(St)}p=B,l=0,C="",i=A}return Qr(this.element,i,this.preStyleProps,this.postStyleProps,p,l,C,!0)}}function us(y,i=3){const l=Math.pow(10,i-1);return Math.round(y*l)/l}class en{}const Jn=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 Nn extends en{normalizePropertyName(i,l){return Os(i)}normalizeStyleValue(i,l,p,C){let A="";const B=p.toString().trim();if(Jn.has(l)&&0!==p&&"0"!==p)if("number"==typeof p)A="px";else{const k=p.match(/^[+-]?[\d\.]+([a-z]*)$/);k&&0==k[1].length&&C.push(function vt(y,i){return new w.vHH(3005,!1)}())}return B+A}}function Rs(y,i,l,p,C,A,B,k,J,ge,Ke,Ve,St){return{type:0,element:y,triggerName:i,isRemovalTransition:C,fromState:l,fromStyles:A,toState:p,toStyles:B,timelines:k,queriedElements:J,preStyleProps:ge,postStyleProps:Ke,totalTime:Ve,errors:St}}const ur={};class Ys{constructor(i,l,p){this._triggerName=i,this.ast=l,this._stateStyles=p}match(i,l,p,C){return function es(y,i,l,p,C){return y.some(A=>A(i,l,p,C))}(this.ast.matchers,i,l,p,C)}buildStyles(i,l,p){let C=this._stateStyles.get("*");return void 0!==i&&(C=this._stateStyles.get(i?.toString())||C),C?C.buildStyles(l,p):new Map}build(i,l,p,C,A,B,k,J,ge,Ke){const Ve=[],St=this.ast.options&&this.ast.options.params||ur,u=this.buildStyles(p,k&&k.params||ur,Ve),h=J&&J.params||ur,v=this.buildStyles(C,h,Ve),f=new Set,D=new Map,S=new Map,P="void"===C,Y={params:Ns(h,St),delay:this.ast.options?.delay},Pe=Ke?[]:Xr(i,l,this.ast.animation,A,B,u,v,Y,ge,Ve);let ce=0;if(Pe.forEach(pt=>{ce=Math.max(pt.duration+pt.delay,ce)}),Ve.length)return Rs(l,this._triggerName,p,C,P,u,v,[],[],D,S,ce,Ve);Pe.forEach(pt=>{const qt=pt.element,kt=z(D,qt,new Set);pt.preStyleProps.forEach($r=>kt.add($r));const tr=z(S,qt,new Set);pt.postStyleProps.forEach($r=>tr.add($r)),qt!==l&&f.add(qt)});const nt=As(f.values());return Rs(l,this._triggerName,p,C,P,u,v,Pe,nt,D,S,ce)}}function Ns(y,i){const l=Er(i);for(const p in y)y.hasOwnProperty(p)&&null!=y[p]&&(l[p]=y[p]);return l}class Wo{constructor(i,l,p){this.styles=i,this.defaultParams=l,this.normalizer=p}buildStyles(i,l){const p=new Map,C=Er(this.defaultParams);return Object.keys(i).forEach(A=>{const B=i[A];null!==B&&(C[A]=B)}),this.styles.styles.forEach(A=>{"string"!=typeof A&&A.forEach((B,k)=>{B&&(B=Is(B,C,l));const J=this.normalizer.normalizePropertyName(k,l);B=this.normalizer.normalizeStyleValue(k,J,B,l),p.set(k,B)})}),p}}class Zs{constructor(i,l,p){this.name=i,this.ast=l,this._normalizer=p,this.transitionFactories=[],this.states=new Map,l.states.forEach(C=>{this.states.set(C.name,new Wo(C.style,C.options&&C.options.params||{},p))}),Ko(this.states,"true","1"),Ko(this.states,"false","0"),l.transitions.forEach(C=>{this.transitionFactories.push(new Ys(i,C,this.states))}),this.fallbackTransition=function xs(y,i,l){return new Ys(y,{type:1,animation:{type:2,steps:[],options:null},matchers:[(B,k)=>!0],options:null,queryCount:0,depCount:0},i)}(i,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(i,l,p,C){return this.transitionFactories.find(B=>B.match(i,l,p,C))||null}matchStyles(i,l,p){return this.fallbackTransition.buildStyles(i,l,p)}}function Ko(y,i,l){y.has(i)?y.has(l)||y.set(l,y.get(i)):y.has(l)&&y.set(i,y.get(l))}const vi=new qn;class ya{constructor(i,l,p){this.bodyNode=i,this._driver=l,this._normalizer=p,this._animations=new Map,this._playersById=new Map,this.players=[]}register(i,l){const p=[],A=Fr(this._driver,l,p,[]);if(p.length)throw function Wn(y){return new w.vHH(3503,!1)}();this._animations.set(i,A)}_buildPlayer(i,l,p){const C=i.element,A=st(this._normalizer,i.keyframes,l,p);return this._driver.animate(C,A,i.duration,i.delay,i.easing,[],!0)}create(i,l,p={}){const C=[],A=this._animations.get(i);let B;const k=new Map;if(A?(B=Xr(this._driver,l,A,On,or,new Map,new Map,p,vi,C),B.forEach(Ke=>{const Ve=z(k,Ke.element,new Map);Ke.postStyleProps.forEach(St=>Ve.set(St,null))})):(C.push(function Nr(){return new w.vHH(3300,!1)}()),B=[]),C.length)throw function Kr(y){return new w.vHH(3504,!1)}();k.forEach((Ke,Ve)=>{Ke.forEach((St,Ct)=>{Ke.set(Ct,this._driver.computeStyle(Ve,Ct,Qe.l3))})});const ge=ut(B.map(Ke=>{const Ve=k.get(Ke.element);return this._buildPlayer(Ke,new Map,Ve)}));return this._playersById.set(i,ge),ge.onDestroy(()=>this.destroy(i)),this.players.push(ge),ge}destroy(i){const l=this._getPlayer(i);l.destroy(),this._playersById.delete(i);const p=this.players.indexOf(l);p>=0&&this.players.splice(p,1)}_getPlayer(i){const l=this._playersById.get(i);if(!l)throw function Hs(y){return new w.vHH(3301,!1)}();return l}listen(i,l,p,C){const A=mn(l,"","","");return jt(this._getPlayer(i),p,A,C),()=>{}}command(i,l,p,C){if("register"==p)return void this.register(i,C[0]);if("create"==p)return void this.create(i,l,C[0]||{});const A=this._getPlayer(i);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(C[0]));break;case"destroy":this.destroy(i)}}}const yi="ng-animate-queued",Yo="ng-animate-disabled",Lo=[],Fs={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Da={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},cr="__ng_removed";class mo{get params(){return this.options.params}constructor(i,l=""){this.namespaceId=l;const p=i&&i.hasOwnProperty("value");if(this.value=function ks(y){return y??null}(p?i.value:i),p){const A=Er(i);delete A.value,this.options=A}else this.options={};this.options.params||(this.options.params={})}absorbOptions(i){const l=i.params;if(l){const p=this.options.params;Object.keys(l).forEach(C=>{null==p[C]&&(p[C]=l[C])})}}}const vo="void",Zo=new mo(vo);class qo{constructor(i,l,p){this.id=i,this.hostElement=l,this._engine=p,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+i,dr(l,this._hostClassName)}listen(i,l,p,C){if(!this._triggers.has(l))throw function uo(y,i){return new w.vHH(3302,!1)}();if(null==p||0==p.length)throw function pe(y){return new w.vHH(3303,!1)}();if(!function Cs(y){return"start"==y||"done"==y}(p))throw function V(y,i){return new w.vHH(3400,!1)}();const A=z(this._elementListeners,i,[]),B={name:l,phase:p,callback:C};A.push(B);const k=z(this._engine.statesByElement,i,new Map);return k.has(l)||(dr(i,Jt),dr(i,Jt+"-"+l),k.set(l,Zo)),()=>{this._engine.afterFlush(()=>{const J=A.indexOf(B);J>=0&&A.splice(J,1),this._triggers.has(l)||k.delete(l)})}}register(i,l){return!this._triggers.has(i)&&(this._triggers.set(i,l),!0)}_getTrigger(i){const l=this._triggers.get(i);if(!l)throw function ue(y){return new w.vHH(3401,!1)}();return l}trigger(i,l,p,C=!0){const A=this._getTrigger(l),B=new br(this.id,l,i);let k=this._engine.statesByElement.get(i);k||(dr(i,Jt),dr(i,Jt+"-"+l),this._engine.statesByElement.set(i,k=new Map));let J=k.get(l);const ge=new mo(p,this.id);if(!(p&&p.hasOwnProperty("value"))&&J&&ge.absorbOptions(J.options),k.set(l,ge),J||(J=Zo),ge.value!==vo&&J.value===ge.value){if(!function Qs(y,i){const l=Object.keys(y),p=Object.keys(i);if(l.length!=p.length)return!1;for(let C=0;C<l.length;C++){const A=l[C];if(!i.hasOwnProperty(A)||y[A]!==i[A])return!1}return!0}(J.params,ge.params)){const h=[],v=A.matchStyles(J.value,J.params,h),f=A.matchStyles(ge.value,ge.params,h);h.length?this._engine.reportError(h):this._engine.afterFlush(()=>{qr(i,v),ar(i,f)})}return}const St=z(this._engine.playersByElement,i,[]);St.forEach(h=>{h.namespaceId==this.id&&h.triggerName==l&&h.queued&&h.destroy()});let Ct=A.matchTransition(J.value,ge.value,i,ge.params),u=!1;if(!Ct){if(!C)return;Ct=A.fallbackTransition,u=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:i,triggerName:l,transition:Ct,fromState:J,toState:ge,player:B,isFallbackTransition:u}),u||(dr(i,yi),B.onStart(()=>{ds(i,yi)})),B.onDone(()=>{let h=this.players.indexOf(B);h>=0&&this.players.splice(h,1);const v=this._engine.playersByElement.get(i);if(v){let f=v.indexOf(B);f>=0&&v.splice(f,1)}}),this.players.push(B),St.push(B),B}deregister(i){this._triggers.delete(i),this._engine.statesByElement.forEach(l=>l.delete(i)),this._elementListeners.forEach((l,p)=>{this._elementListeners.set(p,l.filter(C=>C.name!=i))})}clearElementCache(i){this._engine.statesByElement.delete(i),this._elementListeners.delete(i);const l=this._engine.playersByElement.get(i);l&&(l.forEach(p=>p.destroy()),this._engine.playersByElement.delete(i))}_signalRemovalForInnerTriggers(i,l){const p=this._engine.driver.query(i,ir,!0);p.forEach(C=>{if(C[cr])return;const A=this._engine.fetchNamespacesByElement(C);A.size?A.forEach(B=>B.triggerLeaveAnimation(C,l,!1,!0)):this.clearElementCache(C)}),this._engine.afterFlushAnimationsDone(()=>p.forEach(C=>this.clearElementCache(C)))}triggerLeaveAnimation(i,l,p,C){const A=this._engine.statesByElement.get(i),B=new Map;if(A){const k=[];if(A.forEach((J,ge)=>{if(B.set(ge,J.value),this._triggers.has(ge)){const Ke=this.trigger(i,ge,vo,C);Ke&&k.push(Ke)}}),k.length)return this._engine.markElementAsRemoved(this.id,i,!0,l,B),p&&ut(k).onDone(()=>this._engine.processLeaveNode(i)),!0}return!1}prepareLeaveAnimationListeners(i){const l=this._elementListeners.get(i),p=this._engine.statesByElement.get(i);if(l&&p){const C=new Set;l.forEach(A=>{const B=A.name;if(C.has(B))return;C.add(B);const J=this._triggers.get(B).fallbackTransition,ge=p.get(B)||Zo,Ke=new mo(vo),Ve=new br(this.id,B,i);this._engine.totalQueuedPlayers++,this._queue.push({element:i,triggerName:B,transition:J,fromState:ge,toState:Ke,player:Ve,isFallbackTransition:!0})})}}removeNode(i,l){const p=this._engine;if(i.childElementCount&&this._signalRemovalForInnerTriggers(i,l),this.triggerLeaveAnimation(i,l,!0))return;let C=!1;if(p.totalAnimations){const A=p.players.length?p.playersByQueriedElement.get(i):[];if(A&&A.length)C=!0;else{let B=i;for(;B=B.parentNode;)if(p.statesByElement.get(B)){C=!0;break}}}if(this.prepareLeaveAnimationListeners(i),C)p.markElementAsRemoved(this.id,i,!1,l);else{const A=i[cr];(!A||A===Fs)&&(p.afterFlush(()=>this.clearElementCache(i)),p.destroyInnerAnimations(i),p._onRemovalComplete(i,l))}}insertNode(i,l){dr(i,this._hostClassName)}drainQueuedTransitions(i){const l=[];return this._queue.forEach(p=>{const C=p.player;if(C.destroyed)return;const A=p.element,B=this._elementListeners.get(A);B&&B.forEach(k=>{if(k.name==p.triggerName){const J=mn(A,p.triggerName,p.fromState.value,p.toState.value);J._data=i,jt(p.player,k.phase,J,k.callback)}}),C.markedForDestroy?this._engine.afterFlush(()=>{C.destroy()}):l.push(p)}),this._queue=[],l.sort((p,C)=>{const A=p.transition.ast.depCount,B=C.transition.ast.depCount;return 0==A||0==B?A-B:this._engine.driver.containsElement(p.element,C.element)?1:-1})}destroy(i){this.players.forEach(l=>l.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,i)}}class cs{_onRemovalComplete(i,l){this.onRemovalComplete(i,l)}constructor(i,l,p){this.bodyNode=i,this.driver=l,this._normalizer=p,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(C,A)=>{}}get queuedPlayers(){const i=[];return this._namespaceList.forEach(l=>{l.players.forEach(p=>{p.queued&&i.push(p)})}),i}createNamespace(i,l){const p=new qo(i,l,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,l)?this._balanceNamespaceList(p,l):(this.newHostElements.set(l,p),this.collectEnterElement(l)),this._namespaceLookup[i]=p}_balanceNamespaceList(i,l){const p=this._namespaceList,C=this.namespacesByHostElement;if(p.length-1>=0){let B=!1,k=this.driver.getParentElement(l);for(;k;){const J=C.get(k);if(J){const ge=p.indexOf(J);p.splice(ge+1,0,i),B=!0;break}k=this.driver.getParentElement(k)}B||p.unshift(i)}else p.push(i);return C.set(l,i),i}register(i,l){let p=this._namespaceLookup[i];return p||(p=this.createNamespace(i,l)),p}registerTrigger(i,l,p){let C=this._namespaceLookup[i];C&&C.register(l,p)&&this.totalAnimations++}destroy(i,l){i&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{const p=this._fetchNamespace(i);this.namespacesByHostElement.delete(p.hostElement);const C=this._namespaceList.indexOf(p);C>=0&&this._namespaceList.splice(C,1),p.destroy(l),delete this._namespaceLookup[i]}))}_fetchNamespace(i){return this._namespaceLookup[i]}fetchNamespacesByElement(i){const l=new Set,p=this.statesByElement.get(i);if(p)for(let C of p.values())if(C.namespaceId){const A=this._fetchNamespace(C.namespaceId);A&&l.add(A)}return l}trigger(i,l,p,C){if(yn(l)){const A=this._fetchNamespace(i);if(A)return A.trigger(l,p,C),!0}return!1}insertNode(i,l,p,C){if(!yn(l))return;const A=l[cr];if(A&&A.setForRemoval){A.setForRemoval=!1,A.setForMove=!0;const B=this.collectedLeaveElements.indexOf(l);B>=0&&this.collectedLeaveElements.splice(B,1)}if(i){const B=this._fetchNamespace(i);B&&B.insertNode(l,p)}C&&this.collectEnterElement(l)}collectEnterElement(i){this.collectedEnterElements.push(i)}markElementAsDisabled(i,l){l?this.disabledNodes.has(i)||(this.disabledNodes.add(i),dr(i,Yo)):this.disabledNodes.has(i)&&(this.disabledNodes.delete(i),ds(i,Yo))}removeNode(i,l,p){if(yn(l)){const C=i?this._fetchNamespace(i):null;C?C.removeNode(l,p):this.markElementAsRemoved(i,l,!1,p);const A=this.namespacesByHostElement.get(l);A&&A.id!==i&&A.removeNode(l,p)}else this._onRemovalComplete(l,p)}markElementAsRemoved(i,l,p,C,A){this.collectedLeaveElements.push(l),l[cr]={namespaceId:i,setForRemoval:C,hasAnimation:p,removedBeforeQueried:!1,previousTriggersValues:A}}listen(i,l,p,C,A){return yn(l)?this._fetchNamespace(i).listen(l,p,C,A):()=>{}}_buildInstruction(i,l,p,C,A){return i.transition.build(this.driver,i.element,i.fromState.value,i.toState.value,p,C,i.fromState.options,i.toState.options,l,A)}destroyInnerAnimations(i){let l=this.driver.query(i,ir,!0);l.forEach(p=>this.destroyActiveAnimationsForElement(p)),0!=this.playersByQueriedElement.size&&(l=this.driver.query(i,En,!0),l.forEach(p=>this.finishActiveQueriedAnimationOnElement(p)))}destroyActiveAnimationsForElement(i){const l=this.playersByElement.get(i);l&&l.forEach(p=>{p.queued?p.markedForDestroy=!0:p.destroy()})}finishActiveQueriedAnimationOnElement(i){const l=this.playersByQueriedElement.get(i);l&&l.forEach(p=>p.finish())}whenRenderingDone(){return new Promise(i=>{if(this.players.length)return ut(this.players).onDone(()=>i());i()})}processLeaveNode(i){const l=i[cr];if(l&&l.setForRemoval){if(i[cr]=Fs,l.namespaceId){this.destroyInnerAnimations(i);const p=this._fetchNamespace(l.namespaceId);p&&p.clearElementCache(i)}this._onRemovalComplete(i,l.setForRemoval)}i.classList?.contains(Yo)&&this.markElementAsDisabled(i,!1),this.driver.query(i,".ng-animate-disabled",!0).forEach(p=>{this.markElementAsDisabled(p,!1)})}flush(i=-1){let l=[];if(this.newHostElements.size&&(this.newHostElements.forEach((p,C)=>this._balanceNamespaceList(p,C)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let p=0;p<this.collectedEnterElements.length;p++)dr(this.collectedEnterElements[p],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){const p=[];try{l=this._flushAnimations(p,i)}finally{for(let C=0;C<p.length;C++)p[C]()}}else for(let p=0;p<this.collectedLeaveElements.length;p++)this.processLeaveNode(this.collectedLeaveElements[p]);if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(p=>p()),this._flushFns=[],this._whenQuietFns.length){const p=this._whenQuietFns;this._whenQuietFns=[],l.length?ut(l).onDone(()=>{p.forEach(C=>C())}):p.forEach(C=>C())}}reportError(i){throw function H(y){return new w.vHH(3402,!1)}()}_flushAnimations(i,l){const p=new qn,C=[],A=new Map,B=[],k=new Map,J=new Map,ge=new Map,Ke=new Set;this.disabledNodes.forEach(ze=>{Ke.add(ze);const at=this.driver.query(ze,".ng-animate-queued",!0);for(let gt=0;gt<at.length;gt++)Ke.add(at[gt])});const Ve=this.bodyNode,St=Array.from(this.statesByElement.keys()),Ct=yo(St,this.collectedEnterElements),u=new Map;let h=0;Ct.forEach((ze,at)=>{const gt=On+h++;u.set(at,gt),ze.forEach(Bt=>dr(Bt,gt))});const v=[],f=new Set,D=new Set;for(let ze=0;ze<this.collectedLeaveElements.length;ze++){const at=this.collectedLeaveElements[ze],gt=at[cr];gt&&gt.setForRemoval&&(v.push(at),f.add(at),gt.hasAnimation?this.driver.query(at,".ng-star-inserted",!0).forEach(Bt=>f.add(Bt)):D.add(at))}const S=new Map,P=yo(St,Array.from(f));P.forEach((ze,at)=>{const gt=or+h++;S.set(at,gt),ze.forEach(Bt=>dr(Bt,gt))}),i.push(()=>{Ct.forEach((ze,at)=>{const gt=u.get(at);ze.forEach(Bt=>ds(Bt,gt))}),P.forEach((ze,at)=>{const gt=S.get(at);ze.forEach(Bt=>ds(Bt,gt))}),v.forEach(ze=>{this.processLeaveNode(ze)})});const Y=[],Pe=[];for(let ze=this._namespaceList.length-1;ze>=0;ze--)this._namespaceList[ze].drainQueuedTransitions(l).forEach(gt=>{const Bt=gt.player,$n=gt.element;if(Y.push(Bt),this.collectedEnterElements.length){const kn=$n[cr];if(kn&&kn.setForMove){if(kn.previousTriggersValues&&kn.previousTriggersValues.has(gt.triggerName)){const bs=kn.previousTriggersValues.get(gt.triggerName),Tr=this.statesByElement.get(gt.element);if(Tr&&Tr.has(gt.triggerName)){const si=Tr.get(gt.triggerName);si.value=bs,Tr.set(gt.triggerName,si)}}return void Bt.destroy()}}const ps=!Ve||!this.driver.containsElement(Ve,$n),Mr=S.get($n),gs=u.get($n),Gt=this._buildInstruction(gt,p,gs,Mr,ps);if(Gt.errors&&Gt.errors.length)return void Pe.push(Gt);if(ps)return Bt.onStart(()=>qr($n,Gt.fromStyles)),Bt.onDestroy(()=>ar($n,Gt.toStyles)),void C.push(Bt);if(gt.isFallbackTransition)return Bt.onStart(()=>qr($n,Gt.fromStyles)),Bt.onDestroy(()=>ar($n,Gt.toStyles)),void C.push(Bt);const _l=[];Gt.timelines.forEach(kn=>{kn.stretchStartingKeyframe=!0,this.disabledNodes.has(kn.element)||_l.push(kn)}),Gt.timelines=_l,p.append($n,Gt.timelines),B.push({instruction:Gt,player:Bt,element:$n}),Gt.queriedElements.forEach(kn=>z(k,kn,[]).push(Bt)),Gt.preStyleProps.forEach((kn,bs)=>{if(kn.size){let Tr=J.get(bs);Tr||J.set(bs,Tr=new Set),kn.forEach((si,Pi)=>Tr.add(Pi))}}),Gt.postStyleProps.forEach((kn,bs)=>{let Tr=ge.get(bs);Tr||ge.set(bs,Tr=new Set),kn.forEach((si,Pi)=>Tr.add(Pi))})});if(Pe.length){const ze=[];Pe.forEach(at=>{ze.push(function Re(y,i){return new w.vHH(3505,!1)}())}),Y.forEach(at=>at.destroy()),this.reportError(ze)}const ce=new Map,nt=new Map;B.forEach(ze=>{const at=ze.element;p.has(at)&&(nt.set(at,at),this._beforeAnimationBuild(ze.player.namespaceId,ze.instruction,ce))}),C.forEach(ze=>{const at=ze.element;this._getPreviousPlayers(at,!1,ze.namespaceId,ze.triggerName,null).forEach(Bt=>{z(ce,at,[]).push(Bt),Bt.destroy()})});const pt=v.filter(ze=>Eo(ze,J,ge)),qt=new Map;Br(qt,this.driver,D,ge,Qe.l3).forEach(ze=>{Eo(ze,J,ge)&&pt.push(ze)});const tr=new Map;Ct.forEach((ze,at)=>{Br(tr,this.driver,new Set(ze),J,Qe.k1)}),pt.forEach(ze=>{const at=qt.get(ze),gt=tr.get(ze);qt.set(ze,new Map([...at?.entries()??[],...gt?.entries()??[]]))});const $r=[],Sn=[],yr={};B.forEach(ze=>{const{element:at,player:gt,instruction:Bt}=ze;if(p.has(at)){if(Ke.has(at))return gt.onDestroy(()=>ar(at,Bt.toStyles)),gt.disabled=!0,gt.overrideTotalTime(Bt.totalTime),void C.push(gt);let $n=yr;if(nt.size>1){let Mr=at;const gs=[];for(;Mr=Mr.parentNode;){const Gt=nt.get(Mr);if(Gt){$n=Gt;break}gs.push(Mr)}gs.forEach(Gt=>nt.set(Gt,$n))}const ps=this._buildAnimation(gt.namespaceId,Bt,ce,A,tr,qt);if(gt.setRealPlayer(ps),$n===yr)$r.push(gt);else{const Mr=this.playersByElement.get($n);Mr&&Mr.length&&(gt.parentPlayer=ut(Mr)),C.push(gt)}}else qr(at,Bt.fromStyles),gt.onDestroy(()=>ar(at,Bt.toStyles)),Sn.push(gt),Ke.has(at)&&C.push(gt)}),Sn.forEach(ze=>{const at=A.get(ze.element);if(at&&at.length){const gt=ut(at);ze.setRealPlayer(gt)}}),C.forEach(ze=>{ze.parentPlayer?ze.syncPlayerEvents(ze.parentPlayer):ze.destroy()});for(let ze=0;ze<v.length;ze++){const at=v[ze],gt=at[cr];if(ds(at,or),gt&&gt.hasAnimation)continue;let Bt=[];if(k.size){let ps=k.get(at);ps&&ps.length&&Bt.push(...ps);let Mr=this.driver.query(at,En,!0);for(let gs=0;gs<Mr.length;gs++){let Gt=k.get(Mr[gs]);Gt&&Gt.length&&Bt.push(...Gt)}}const $n=Bt.filter(ps=>!ps.destroyed);$n.length?qs(this,at,$n):this.processLeaveNode(at)}return v.length=0,$r.forEach(ze=>{this.players.push(ze),ze.onDone(()=>{ze.destroy();const at=this.players.indexOf(ze);this.players.splice(at,1)}),ze.play()}),$r}afterFlush(i){this._flushFns.push(i)}afterFlushAnimationsDone(i){this._whenQuietFns.push(i)}_getPreviousPlayers(i,l,p,C,A){let B=[];if(l){const k=this.playersByQueriedElement.get(i);k&&(B=k)}else{const k=this.playersByElement.get(i);if(k){const J=!A||A==vo;k.forEach(ge=>{ge.queued||!J&&ge.triggerName!=C||B.push(ge)})}}return(p||C)&&(B=B.filter(k=>!(p&&p!=k.namespaceId||C&&C!=k.triggerName))),B}_beforeAnimationBuild(i,l,p){const A=l.element,B=l.isRemovalTransition?void 0:i,k=l.isRemovalTransition?void 0:l.triggerName;for(const J of l.timelines){const ge=J.element,Ke=ge!==A,Ve=z(p,ge,[]);this._getPreviousPlayers(ge,Ke,B,k,l.toState).forEach(Ct=>{const u=Ct.getRealPlayer();u.beforeDestroy&&u.beforeDestroy(),Ct.destroy(),Ve.push(Ct)})}qr(A,l.fromStyles)}_buildAnimation(i,l,p,C,A,B){const k=l.triggerName,J=l.element,ge=[],Ke=new Set,Ve=new Set,St=l.timelines.map(u=>{const h=u.element;Ke.add(h);const v=h[cr];if(v&&v.removedBeforeQueried)return new Qe.ZN(u.duration,u.delay);const f=h!==J,D=function _o(y){const i=[];return Do(y,i),i}((p.get(h)||Lo).map(ce=>ce.getRealPlayer())).filter(ce=>!!ce.element&&ce.element===h),S=A.get(h),P=B.get(h),Y=st(this._normalizer,u.keyframes,S,P),Pe=this._buildPlayer(u,Y,D);if(u.subTimeline&&C&&Ve.add(h),f){const ce=new br(i,k,h);ce.setRealPlayer(Pe),ge.push(ce)}return Pe});ge.forEach(u=>{z(this.playersByQueriedElement,u.element,[]).push(u),u.onDone(()=>function Bo(y,i,l){let p=y.get(i);if(p){if(p.length){const C=p.indexOf(l);p.splice(C,1)}0==p.length&&y.delete(i)}return p}(this.playersByQueriedElement,u.element,u))}),Ke.forEach(u=>dr(u,Yr));const Ct=ut(St);return Ct.onDestroy(()=>{Ke.forEach(u=>ds(u,Yr)),ar(J,l.toStyles)}),Ve.forEach(u=>{z(C,u,[]).push(Ct)}),Ct}_buildPlayer(i,l,p){return l.length>0?this.driver.animate(i.element,l,i.duration,i.delay,i.easing,p):new Qe.ZN(i.duration,i.delay)}}class br{constructor(i,l,p){this.namespaceId=i,this.triggerName=l,this.element=p,this._player=new Qe.ZN,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.parentPlayer=null,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(i){this._containsRealPlayer||(this._player=i,this._queuedCallbacks.forEach((l,p)=>{l.forEach(C=>jt(i,p,void 0,C))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(i.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(i){this.totalTime=i}syncPlayerEvents(i){const l=this._player;l.triggerCallback&&i.onStart(()=>l.triggerCallback("start")),i.onDone(()=>this.finish()),i.onDestroy(()=>this.destroy())}_queueEvent(i,l){z(this._queuedCallbacks,i,[]).push(l)}onDone(i){this.queued&&this._queueEvent("done",i),this._player.onDone(i)}onStart(i){this.queued&&this._queueEvent("start",i),this._player.onStart(i)}onDestroy(i){this.queued&&this._queueEvent("destroy",i),this._player.onDestroy(i)}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(i){this.queued||this._player.setPosition(i)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(i){const l=this._player;l.triggerCallback&&l.triggerCallback(i)}}function yn(y){return y&&1===y.nodeType}function xn(y,i){const l=y.style.display;return y.style.display=i??"none",l}function Br(y,i,l,p,C){const A=[];l.forEach(J=>A.push(xn(J)));const B=[];p.forEach((J,ge)=>{const Ke=new Map;J.forEach(Ve=>{const St=i.computeStyle(ge,Ve,C);Ke.set(Ve,St),(!St||0==St.length)&&(ge[cr]=Da,B.push(ge))}),y.set(ge,Ke)});let k=0;return l.forEach(J=>xn(J,A[k++])),B}function yo(y,i){const l=new Map;if(y.forEach(k=>l.set(k,[])),0==i.length)return l;const C=new Set(i),A=new Map;function B(k){if(!k)return 1;let J=A.get(k);if(J)return J;const ge=k.parentNode;return J=l.has(ge)?ge:C.has(ge)?1:B(ge),A.set(k,J),J}return i.forEach(k=>{const J=B(k);1!==J&&l.get(J).push(k)}),l}function dr(y,i){y.classList?.add(i)}function ds(y,i){y.classList?.remove(i)}function qs(y,i,l){ut(l).onDone(()=>y.processLeaveNode(i))}function Do(y,i){for(let l=0;l<y.length;l++){const p=y[l];p instanceof Qe.ZE?Do(p.players,i):i.push(p)}}function Eo(y,i,l){const p=l.get(y);if(!p)return!1;let C=i.get(y);return C?p.forEach(A=>C.add(A)):i.set(y,p),l.delete(y),!0}class Js{constructor(i,l,p){this.bodyNode=i,this._driver=l,this._normalizer=p,this._triggerCache={},this.onRemovalComplete=(C,A)=>{},this._transitionEngine=new cs(i,l,p),this._timelineEngine=new ya(i,l,p),this._transitionEngine.onRemovalComplete=(C,A)=>this.onRemovalComplete(C,A)}registerTrigger(i,l,p,C,A){const B=i+"-"+C;let k=this._triggerCache[B];if(!k){const J=[],Ke=Fr(this._driver,A,J,[]);if(J.length)throw function Wr(y,i){return new w.vHH(3404,!1)}();k=function va(y,i,l){return new Zs(y,i,l)}(C,Ke,this._normalizer),this._triggerCache[B]=k}this._transitionEngine.registerTrigger(l,C,k)}register(i,l){this._transitionEngine.register(i,l)}destroy(i,l){this._transitionEngine.destroy(i,l)}onInsert(i,l,p,C){this._transitionEngine.insertNode(i,l,p,C)}onRemove(i,l,p){this._transitionEngine.removeNode(i,l,p)}disableAnimations(i,l){this._transitionEngine.markElementAsDisabled(i,l)}process(i,l,p,C){if("@"==p.charAt(0)){const[A,B]=L(p);this._timelineEngine.command(A,l,B,C)}else this._transitionEngine.trigger(i,l,p,C)}listen(i,l,p,C,A){if("@"==p.charAt(0)){const[B,k]=L(p);return this._timelineEngine.listen(B,l,k,A)}return this._transitionEngine.listen(i,l,p,C,A)}flush(i=-1){this._transitionEngine.flush(i)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(i){this._transitionEngine.afterFlushAnimationsDone(i)}}let Co=(()=>{class i{constructor(p,C,A){this._element=p,this._startStyles=C,this._endStyles=A,this._state=0;let B=i.initialStylesByElement.get(p);B||i.initialStylesByElement.set(p,B=new Map),this._initialStyles=B}start(){this._state<1&&(this._startStyles&&ar(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(ar(this._element,this._initialStyles),this._endStyles&&(ar(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(i.initialStylesByElement.delete(this._element),this._startStyles&&(qr(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(qr(this._element,this._endStyles),this._endStyles=null),ar(this._element,this._initialStyles),this._state=3)}}return i.initialStylesByElement=new WeakMap,i})();function ws(y){let i=null;return y.forEach((l,p)=>{(function jr(y){return"display"===y||"position"===y})(p)&&(i=i||new Map,i.set(p,l))}),i}class jo{constructor(i,l,p,C){this.element=i,this.keyframes=l,this.options=p,this._specialStyles=C,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(i=>i()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const i=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,i,this.options),this._finalKeyframe=i.length?i[i.length-1]:new Map,this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(i){const l=[];return i.forEach(p=>{l.push(Object.fromEntries(p))}),l}_triggerWebAnimation(i,l,p){return i.animate(this._convertKeyframesToObject(l),p)}onStart(i){this._originalOnStartFns.push(i),this._onStartFns.push(i)}onDone(i){this._originalOnDoneFns.push(i),this._onDoneFns.push(i)}onDestroy(i){this._onDestroyFns.push(i)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(i=>i()),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(i=>i()),this._onDestroyFns=[])}setPosition(i){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=i*this.time}getPosition(){return+(this.domPlayer.currentTime??0)/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const i=new Map;this.hasStarted()&&this._finalKeyframe.forEach((p,C)=>{"offset"!==C&&i.set(C,this._finished?p:pn(this.element,C))}),this.currentSnapshot=i}triggerCallback(i){const l="start"===i?this._onStartFns:this._onDoneFns;l.forEach(p=>p()),l.length=0}}class Di{validateStyleProperty(i){return!0}validateAnimatableStyleProperty(i){return!0}matchesElement(i,l){return!1}containsElement(i,l){return Cn(i,l)}getParentElement(i){return re(i)}query(i,l,p){return An(i,l,p)}computeStyle(i,l,p){return window.getComputedStyle(i)[l]}animate(i,l,p,C,A,B=[]){const J={duration:p,delay:C,fill:0==C?"both":"forwards"};A&&(J.easing=A);const ge=new Map,Ke=B.filter(Ct=>Ct instanceof jo);(function No(y,i){return 0===y||0===i})(p,C)&&Ke.forEach(Ct=>{Ct.currentSnapshot.forEach((u,h)=>ge.set(h,u))});let Ve=function gi(y){return y.length?y[0]instanceof Map?y:y.map(i=>$s(i)):[]}(l).map(Ct=>Zr(Ct));Ve=function _s(y,i,l){if(l.size&&i.length){let p=i[0],C=[];if(l.forEach((A,B)=>{p.has(B)||C.push(B),p.set(B,A)}),C.length)for(let A=1;A<i.length;A++){let B=i[A];C.forEach(k=>B.set(k,pn(y,k)))}}return i}(i,Ve,ge);const St=function Qo(y,i){let l=null,p=null;return Array.isArray(i)&&i.length?(l=ws(i[0]),i.length>1&&(p=ws(i[i.length-1]))):i instanceof Map&&(l=ws(i)),l||p?new Co(y,l,p):null}(i,Ve);return new jo(i,Ve,J,St)}}let Ei=(()=>{var y;class i extends Qe._j{constructor(p,C){super(),this._nextAnimationId=0,this._renderer=p.createRenderer(C.body,{id:"0",encapsulation:w.ifc.None,styles:[],data:{animation:[]}})}build(p){const C=this._nextAnimationId.toString();this._nextAnimationId++;const A=Array.isArray(p)?(0,Qe.vP)(p):p;return Jo(this._renderer,null,C,"register",[A]),new Ea(C,this._renderer)}}return(y=i).\u0275fac=function(p){return new(p||y)(w.LFG(w.FYo),w.LFG(ie.K0))},y.\u0275prov=w.Yz7({token:y,factory:y.\u0275fac}),i})();class Ea extends Qe.LC{constructor(i,l){super(),this._id=i,this._renderer=l}create(i,l){return new Ci(this._id,i,l||{},this._renderer)}}class Ci{constructor(i,l,p,C){this.id=i,this.element=l,this._renderer=C,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",p)}_listen(i,l){return this._renderer.listen(this.element,`@@${this.id}:${i}`,l)}_command(i,...l){return Jo(this._renderer,this.element,this.id,i,l)}onDone(i){this._listen("done",i)}onStart(i){this._listen("start",i)}onDestroy(i){this._listen("destroy",i)}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(i){this._command("setPosition",i)}getPosition(){return this._renderer.engine.players[+this.id]?.getPosition()??0}}function Jo(y,i,l,p,C){return y.setProperty(i,`@@${l}:${p}`,C)}const Xo="@.disabled";let bo=(()=>{var y;class i{constructor(p,C,A){this.delegate=p,this.engine=C,this._zone=A,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,C.onRemovalComplete=(B,k)=>{const J=k?.parentNode(B);J&&k.removeChild(J,B)}}createRenderer(p,C){const B=this.delegate.createRenderer(p,C);if(!(p&&C&&C.data&&C.data.animation)){let Ve=this._rendererCache.get(B);return Ve||(Ve=new Uo("",B,this.engine,()=>this._rendererCache.delete(B)),this._rendererCache.set(B,Ve)),Ve}const k=C.id,J=C.id+"-"+this._currentId;this._currentId++,this.engine.register(J,p);const ge=Ve=>{Array.isArray(Ve)?Ve.forEach(ge):this.engine.registerTrigger(k,J,p,Ve.name,Ve)};return C.data.animation.forEach(ge),new Ho(this,J,B,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(p,C,A){p>=0&&p<this._microtaskId?this._zone.run(()=>C(A)):(0==this._animationCallbacksBuffer.length&&queueMicrotask(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(B=>{const[k,J]=B;k(J)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([C,A]))}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=i).\u0275fac=function(p){return new(p||y)(w.LFG(w.FYo),w.LFG(Js),w.LFG(w.R0b))},y.\u0275prov=w.Yz7({token:y,factory:y.\u0275fac}),i})();class Uo{constructor(i,l,p,C){this.namespaceId=i,this.delegate=l,this.engine=p,this._onDestroy=C}get data(){return this.delegate.data}destroyNode(i){this.delegate.destroyNode?.(i)}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),this._onDestroy?.()}createElement(i,l){return this.delegate.createElement(i,l)}createComment(i){return this.delegate.createComment(i)}createText(i){return this.delegate.createText(i)}appendChild(i,l){this.delegate.appendChild(i,l),this.engine.onInsert(this.namespaceId,l,i,!1)}insertBefore(i,l,p,C=!0){this.delegate.insertBefore(i,l,p),this.engine.onInsert(this.namespaceId,l,i,C)}removeChild(i,l,p){this.engine.onRemove(this.namespaceId,l,this.delegate)}selectRootElement(i,l){return this.delegate.selectRootElement(i,l)}parentNode(i){return this.delegate.parentNode(i)}nextSibling(i){return this.delegate.nextSibling(i)}setAttribute(i,l,p,C){this.delegate.setAttribute(i,l,p,C)}removeAttribute(i,l,p){this.delegate.removeAttribute(i,l,p)}addClass(i,l){this.delegate.addClass(i,l)}removeClass(i,l){this.delegate.removeClass(i,l)}setStyle(i,l,p,C){this.delegate.setStyle(i,l,p,C)}removeStyle(i,l,p){this.delegate.removeStyle(i,l,p)}setProperty(i,l,p){"@"==l.charAt(0)&&l==Xo?this.disableAnimations(i,!!p):this.delegate.setProperty(i,l,p)}setValue(i,l){this.delegate.setValue(i,l)}listen(i,l,p){return this.delegate.listen(i,l,p)}disableAnimations(i,l){this.engine.disableAnimations(i,l)}}class Ho extends Uo{constructor(i,l,p,C,A){super(l,p,C,A),this.factory=i,this.namespaceId=l}setProperty(i,l,p){"@"==l.charAt(0)?"."==l.charAt(1)&&l==Xo?this.disableAnimations(i,p=void 0===p||!!p):this.engine.process(this.namespaceId,i,l.slice(1),p):this.delegate.setProperty(i,l,p)}listen(i,l,p){if("@"==l.charAt(0)){const C=function Ca(y){switch(y){case"body":return document.body;case"document":return document;case"window":return window;default:return y}}(i);let A=l.slice(1),B="";return"@"!=A.charAt(0)&&([A,B]=function wa(y){const i=y.indexOf(".");return[y.substring(0,i),y.slice(i+1)]}(A)),this.engine.listen(this.namespaceId,C,A,B,k=>{this.factory.scheduleListenerCallback(k._data||-1,p,k)})}return this.delegate.listen(i,l,p)}}const E=[{provide:Qe._j,useClass:Ei},{provide:en,useFactory:function ei(){return new Nn}},{provide:Js,useClass:(()=>{var y;class i extends Js{constructor(p,C,A,B){super(p.body,C,A)}ngOnDestroy(){this.flush()}}return(y=i).\u0275fac=function(p){return new(p||y)(w.LFG(ie.K0),w.LFG(_r),w.LFG(en),w.LFG(w.z2F))},y.\u0275prov=w.Yz7({token:y,factory:y.\u0275fac}),i})()},{provide:w.FYo,useFactory:function d(y,i,l){return new bo(y,i,l)},deps:[m.se,Js,w.R0b]}],R=[{provide:_r,useFactory:()=>new Di},{provide:w.QbO,useValue:"BrowserAnimations"},...E],_=[{provide:_r,useClass:Kn},{provide:w.QbO,useValue:"NoopAnimations"},...E];let O=(()=>{var y;class i{static withConfig(p){return{ngModule:i,providers:p.disableAnimations?_:R}}}return(y=i).\u0275fac=function(p){return new(p||y)},y.\u0275mod=w.oAB({type:y}),y.\u0275inj=w.cJS({providers:R,imports:[m.b2]}),i})();var yt=M(9229);let Rt=(()=>{var y;class i{constructor(p){this._router=p}intercept(p,C){let A=JSON.parse(window.localStorage.getItem("user")),B=new Date;if(null!=A){let k=new Date(A.expiredAt);p=p.clone(B<k?{setHeaders:{"Content-Type":"application/json",Authorization:`Bearer ${A.access_token}`}}:{setHeaders:{"Content-Type":"application/json"}})}else p=p.clone({setHeaders:{"Content-Type":"application/json"}});return C.handle(p)}}return(y=i).\u0275fac=function(p){return new(p||y)(w.LFG(I.F0))},y.\u0275prov=w.Yz7({token:y,factory:y.\u0275fac}),i})();var Pt=M(6639),Et=M(4911),ln=M(8504),$t=M(2438),un=M(2096),Xn=M(5211),mr=M(8645),Ur=M(5592);const on=new Ur.y(Xe.Z);var Un=M(7398),fs=M(3168),Zt=M(4674);const Hn={connector:()=>new mr.x};function er(y,i=Hn){const{connector:l}=i;return(0,Be.e)((p,C)=>{const A=l();(0,ne.Xf)(y(function ti(y){return new Ur.y(i=>y.subscribe(i))}(A))).subscribe(C),C.add(p.subscribe(A))})}var fr=M(8180),vr=M(6321),gl=M(975),ml=M(1631);function hs(y,i){return i?l=>(0,Xn.z)(i.pipe((0,fr.q)(1),function bi(){return(0,Be.e)((y,i)=>{y.subscribe((0,rt.x)(i,Xe.Z))})}()),l.pipe(hs(y))):(0,ml.z)((l,p)=>(0,ne.Xf)(y(l,p)).pipe((0,fr.q)(1),(0,gl.h)(l)))}const eo="Service workers are disabled or not supported by this browser";class to{constructor(i){if(this.serviceWorker=i,i){const p=(0,$t.R)(i,"controllerchange").pipe((0,Un.U)(()=>i.controller)),C=(0,Et.P)(()=>(0,un.of)(i.controller)),A=(0,Xn.z)(C,p);this.worker=A.pipe((0,W.h)(Ke=>!!Ke)),this.registration=this.worker.pipe((0,be.w)(()=>i.getRegistration()));const ge=(0,$t.R)(i,"message").pipe((0,Un.U)(Ke=>Ke.data)).pipe((0,W.h)(Ke=>Ke&&Ke.type)).pipe(function Mo(y){return y?i=>er(y)(i):i=>function wi(y,i){const l=(0,Zt.m)(y)?y:()=>y;return(0,Zt.m)(i)?er(i,{connector:l}):p=>new fs.c(p,l)}(new mr.x)(i)}());ge.connect(),this.events=ge}else this.worker=this.events=this.registration=function ba(y){return(0,Et.P)(()=>(0,ln._)(new Error(y)))}(eo)}postMessage(i,l){return this.worker.pipe((0,fr.q)(1),(0,he.b)(p=>{p.postMessage({action:i,...l})})).toPromise().then(()=>{})}postMessageWithOperation(i,l,p){const C=this.waitForOperationCompleted(p),A=this.postMessage(i,l);return Promise.all([A,C]).then(([,B])=>B)}generateNonce(){return Math.round(1e7*Math.random())}eventsOfType(i){let l;return l="string"==typeof i?p=>p.type===i:p=>i.includes(p.type),this.events.pipe((0,W.h)(l))}nextEventOfType(i){return this.eventsOfType(i).pipe((0,fr.q)(1))}waitForOperationCompleted(i){return this.eventsOfType("OPERATION_COMPLETED").pipe((0,W.h)(l=>l.nonce===i),(0,fr.q)(1),(0,Un.U)(l=>{if(void 0!==l.result)return l.result;throw new Error(l.error)})).toPromise()}get isEnabled(){return!!this.serviceWorker}}let Hr=(()=>{var y;class i{get isEnabled(){return this.sw.isEnabled}constructor(p){if(this.sw=p,this.pushManager=null,this.subscriptionChanges=new mr.x,!p.isEnabled)return this.messages=on,this.notificationClicks=on,void(this.subscription=on);this.messages=this.sw.eventsOfType("PUSH").pipe((0,Un.U)(A=>A.data)),this.notificationClicks=this.sw.eventsOfType("NOTIFICATION_CLICK").pipe((0,Un.U)(A=>A.data)),this.pushManager=this.sw.registration.pipe((0,Un.U)(A=>A.pushManager));const C=this.pushManager.pipe((0,be.w)(A=>A.getSubscription()));this.subscription=(0,Le.T)(C,this.subscriptionChanges)}requestSubscription(p){if(!this.sw.isEnabled||null===this.pushManager)return Promise.reject(new Error(eo));const C={userVisibleOnly:!0};let A=this.decodeBase64(p.serverPublicKey.replace(/_/g,"/").replace(/-/g,"+")),B=new Uint8Array(new ArrayBuffer(A.length));for(let k=0;k<A.length;k++)B[k]=A.charCodeAt(k);return C.applicationServerKey=B,this.pushManager.pipe((0,be.w)(k=>k.subscribe(C)),(0,fr.q)(1)).toPromise().then(k=>(this.subscriptionChanges.next(k),k))}unsubscribe(){return this.sw.isEnabled?this.subscription.pipe((0,fr.q)(1),(0,be.w)(C=>{if(null===C)throw new Error("Not subscribed to push notifications.");return C.unsubscribe().then(A=>{if(!A)throw new Error("Unsubscribe failed!");this.subscriptionChanges.next(null)})})).toPromise():Promise.reject(new Error(eo))}decodeBase64(p){return atob(p)}}return(y=i).\u0275fac=function(p){return new(p||y)(w.LFG(to))},y.\u0275prov=w.Yz7({token:y,factory:y.\u0275fac}),i})(),Mi=(()=>{var y;class i{get isEnabled(){return this.sw.isEnabled}constructor(p){if(this.sw=p,!p.isEnabled)return this.versionUpdates=on,this.available=on,this.activated=on,void(this.unrecoverable=on);this.versionUpdates=this.sw.eventsOfType(["VERSION_DETECTED","VERSION_INSTALLATION_FAILED","VERSION_READY","NO_NEW_VERSION_DETECTED"]),this.available=this.versionUpdates.pipe((0,W.h)(C=>"VERSION_READY"===C.type),(0,Un.U)(C=>({type:"UPDATE_AVAILABLE",current:C.currentVersion,available:C.latestVersion}))),this.activated=this.sw.eventsOfType("UPDATE_ACTIVATED"),this.unrecoverable=this.sw.eventsOfType("UNRECOVERABLE_STATE")}checkForUpdate(){if(!this.sw.isEnabled)return Promise.reject(new Error(eo));const p=this.sw.generateNonce();return this.sw.postMessageWithOperation("CHECK_FOR_UPDATES",{nonce:p},p)}activateUpdate(){if(!this.sw.isEnabled)return Promise.reject(new Error(eo));const p=this.sw.generateNonce();return this.sw.postMessageWithOperation("ACTIVATE_UPDATE",{nonce:p},p)}}return(y=i).\u0275fac=function(p){return new(p||y)(w.LFG(to))},y.\u0275prov=w.Yz7({token:y,factory:y.\u0275fac}),i})();const ft=new w.OlP("NGSW_REGISTER_SCRIPT");function Ma(y,i,l,p){return()=>{if(!(0,ie.NF)(p)||!("serviceWorker"in navigator)||!1===l.enabled)return;let C;if(navigator.serviceWorker.addEventListener("controllerchange",()=>{null!==navigator.serviceWorker.controller&&navigator.serviceWorker.controller.postMessage({action:"INITIALIZE"})}),"function"==typeof l.registrationStrategy)C=l.registrationStrategy();else{const[B,...k]=(l.registrationStrategy||"registerWhenStable:30000").split(":");switch(B){case"registerImmediately":C=(0,un.of)(null);break;case"registerWithDelay":C=vl(+k[0]||0);break;case"registerWhenStable":C=k[0]?(0,Le.T)(ni(y),vl(+k[0])):ni(y);break;default:throw new Error(`Unknown ServiceWorker registration strategy: ${l.registrationStrategy}`)}}y.get(w.R0b).runOutsideAngular(()=>C.pipe((0,fr.q)(1)).subscribe(()=>navigator.serviceWorker.register(i,{scope:l.scope}).catch(B=>console.error("Service worker registration failed with:",B))))}}function vl(y){return(0,un.of)(null).pipe(function $o(y,i=vr.z){const l=(0,Me.H)(y,i);return hs(()=>l)}(y))}function ni(y){return y.get(w.z2F).isStable.pipe((0,W.h)(l=>l))}function Ti(y,i){return new to((0,ie.NF)(i)&&!1!==y.enabled?navigator.serviceWorker:void 0)}class To{}function Si(y,i={}){return(0,w.MR2)([Hr,Mi,{provide:ft,useValue:y},{provide:To,useValue:i},{provide:to,useFactory:Ti,deps:[To,w.Lbi]},{provide:w.ip1,useFactory:Ma,deps:[w.zs3,ft,To,w.Lbi],multi:!0}])}let no=(()=>{var y;class i{static register(p,C={}){return{ngModule:i,providers:[Si(p,C)]}}}return(y=i).\u0275fac=function(p){return new(p||y)},y.\u0275mod=w.oAB({type:y}),y.\u0275inj=w.cJS({providers:[Hr,Mi]}),i})();const Ii=["custom-toast-component",""];function Sa(y,i){if(1&y){const l=w.EpF();w.TgZ(0,"a",11),w.NdJ("click",function(){w.CHM(l);const C=w.oxw(2);return w.KtG(C.remove())}),w._uU(1," x "),w.qZA()}}function yl(y,i){if(1&y&&(w.TgZ(0,"div",6)(1,"div",7)(2,"div",8)(3,"h4"),w._uU(4),w.qZA()()(),w.TgZ(5,"div",9),w.YNc(6,Sa,2,0,"a",10),w.qZA()()),2&y){const l=w.oxw();w.Udp("display","inactive"===l.state.value?"none":""),w.xp6(2),w.Tol(l.options.titleClass),w.uIk("aria-label",l.title),w.xp6(2),w.Oqu(l.title),w.xp6(2),w.Q6J("ngIf",l.options.closeButton)}}const Ia=function(y){return{notitle:y}};function Se(y,i){if(1&y&&w._UZ(0,"div",12),2&y){const l=w.oxw();w.Tol(l.options.messageClass),w.Q6J("ngClass",w.VKq(4,Ia,null==l.title))("innerHTML",l.message,w.oJD)}}function Nt(y,i){if(1&y&&(w.TgZ(0,"div",13),w._uU(1),w.qZA()),2&y){const l=w.oxw();w.Tol(l.options.messageClass),w.Q6J("ngClass",w.VKq(5,Ia,null==l.title)),w.uIk("aria-label",l.message),w.xp6(1),w.hij(" ",l.message," ")}}function Aa(y,i){if(1&y){const l=w.EpF();w.TgZ(0,"a",11),w.NdJ("click",function(){w.CHM(l);const C=w.oxw();return w.KtG(C.remove())}),w._uU(1," x "),w.qZA()}}function ri(y,i){if(1&y&&(w.TgZ(0,"div"),w._UZ(1,"div",14),w.qZA()),2&y){const l=w.oxw();w.xp6(1),w.Udp("width",l.width+"%")}}let Fn=(()=>{var y;class i extends yt.FN{constructor(p,C){super(p,C),this.toastrService=p,this.toastPackage=C}ngOnInit(){}action(p){return p.stopPropagation(),this.toastPackage.triggerAction(),!1}}return(y=i).\u0275fac=function(p){return new(p||y)(w.Y36(yt._W),w.Y36(yt.PR))},y.\u0275cmp=w.Xpm({type:y,selectors:[["","custom-toast-component",""]],features:[w.qOj],attrs:Ii,decls:6,vars:5,consts:[[1,"toast-case"],["class","row toast-header",3,"display",4,"ngIf"],["class","row toast-body text-start","role","alert","aria-live","polite",3,"ngClass","class","innerHTML",4,"ngIf"],["class","row toast-body text-start","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","text-start"],[1,"my-4"],[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","text-start",3,"ngClass","innerHTML"],["role","alert","aria-live","polite",1,"row","toast-body","text-start",3,"ngClass"],[1,"toast-progress"]],template:function(p,C){1&p&&(w.TgZ(0,"div",0),w.YNc(1,yl,7,7,"div",1),w.YNc(2,Se,1,6,"div",2),w.YNc(3,Nt,2,7,"div",3),w.YNc(4,Aa,2,0,"a",4),w.YNc(5,ri,2,2,"div",5),w.qZA()),2&p&&(w.xp6(1),w.Q6J("ngIf",C.title),w.xp6(1),w.Q6J("ngIf",C.message&&C.options.enableHtml),w.xp6(1),w.Q6J("ngIf",C.message&&!C.options.enableHtml),w.xp6(1),w.Q6J("ngIf",C.options.closeButton&&null==C.title),w.xp6(1),w.Q6J("ngIf",C.options.progressBar))},dependencies:[ie.mk,ie.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:1px solid gainsboro;border-width:1px;padding-bottom:0rem;padding-top:0rem;padding-right:0}.toast-title[_ngcontent-%COMP%]{color:#000}.toast-body[_ngcontent-%COMP%]{padding:10px 15px 10px 0}.notitle[_ngcontent-%COMP%]{margin-bottom:-1rem}.toast-close-button[_ngcontent-%COMP%]{color:#dcdcdc!important}"],data:{animation:[(0,Qe.X$)("flyInOut",[(0,Qe.SB)("inactive",(0,Qe.oB)({opacity:0})),(0,Qe.eR)("inactive => active",(0,Qe.jt)("400ms ease-out",(0,Qe.F4)([(0,Qe.oB)({transform:"translate3d(100%, 0, 0) skewX(-30deg)",opacity:0}),(0,Qe.oB)({transform:"skewX(20deg)",opacity:1}),(0,Qe.oB)({transform:"skewX(-5deg)",opacity:1}),(0,Qe.oB)({transform:"none",opacity:1})]))),(0,Qe.eR)("active => removed",(0,Qe.jt)("400ms ease-out",(0,Qe.F4)([(0,Qe.oB)({opacity:1}),(0,Qe.oB)({transform:"translate3d(100%, 0, 0) skewX(30deg)",opacity:0})])))])]}}),i})(),Ai=(()=>{var y;class i{}return(y=i).\u0275fac=function(p){return new(p||y)},y.\u0275mod=w.oAB({type:y,bootstrap:[It]}),y.\u0275inj=w.cJS({providers:[x.O,Pt.e,{provide:te.TP,useClass:Rt,multi:!0}],imports:[m.b2,G,O,yt.Rh.forRoot({positionClass:"toast-bottom-right",preventDuplicates:!0,toastComponent:Fn}),te.JF,Kt.forRoot(),no.register("ngsw-worker.js",{enabled:true})]}),i})();(0,w.G48)(),m.q6().bootstrapModule(Ai).catch(y=>console.error(y))},5619:(Ye,oe,M)=>{M.d(oe,{X:()=>w});var m=M(8645);class w extends m.x{constructor(x){super(),this._value=x}get value(){return this.getValue()}_subscribe(x){const I=super._subscribe(x);return!I.closed&&x.next(this._value),I}getValue(){const{hasError:x,thrownError:I,_value:U}=this;if(x)throw I;return this._throwIfClosed(),U}next(x){super.next(this._value=x)}}},5592:(Ye,oe,M)=>{M.d(oe,{y:()=>X});var m=M(305),w=M(7394),te=M(4850),x=M(8407),I=M(2653),U=M(4674),G=M(1441);let X=(()=>{class de{constructor(Me){Me&&(this._subscribe=Me)}lift(Me){const Te=new de;return Te.source=this,Te.operator=Me,Te}subscribe(Me,Te,be){const Be=function ne(de){return de&&de instanceof m.Lv||function W(de){return de&&(0,U.m)(de.next)&&(0,U.m)(de.error)&&(0,U.m)(de.complete)}(de)&&(0,w.Nn)(de)}(Me)?Me:new m.Hp(Me,Te,be);return(0,G.x)(()=>{const{operator:Xe,source:rt}=this;Be.add(Xe?Xe.call(Be,rt):rt?this._subscribe(Be):this._trySubscribe(Be))}),Be}_trySubscribe(Me){try{return this._subscribe(Me)}catch(Te){Me.error(Te)}}forEach(Me,Te){return new(Te=se(Te))((be,Be)=>{const Xe=new m.Hp({next:rt=>{try{Me(rt)}catch(Ce){Be(Ce),Xe.unsubscribe()}},error:Be,complete:be});this.subscribe(Xe)})}_subscribe(Me){var Te;return null===(Te=this.source)||void 0===Te?void 0:Te.subscribe(Me)}[te.L](){return this}pipe(...Me){return(0,x.U)(Me)(this)}toPromise(Me){return new(Me=se(Me))((Te,be)=>{let Be;this.subscribe(Xe=>Be=Xe,Xe=>be(Xe),()=>Te(Be))})}}return de.create=Le=>new de(Le),de})();function se(de){var Le;return null!==(Le=de??I.config.Promise)&&void 0!==Le?Le:Promise}},7328:(Ye,oe,M)=>{M.d(oe,{t:()=>te});var m=M(8645),w=M(4552);class te extends m.x{constructor(I=1/0,U=1/0,G=w.l){super(),this._bufferSize=I,this._windowTime=U,this._timestampProvider=G,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=U===1/0,this._bufferSize=Math.max(1,I),this._windowTime=Math.max(1,U)}next(I){const{isStopped:U,_buffer:G,_infiniteTimeWindow:X,_timestampProvider:se,_windowTime:W}=this;U||(G.push(I),!X&&G.push(se.now()+W)),this._trimBuffer(),super.next(I)}_subscribe(I){this._throwIfClosed(),this._trimBuffer();const U=this._innerSubscribe(I),{_infiniteTimeWindow:G,_buffer:X}=this,se=X.slice();for(let W=0;W<se.length&&!I.closed;W+=G?1:2)I.next(se[W]);return this._checkFinalizedStatuses(I),U}_trimBuffer(){const{_bufferSize:I,_timestampProvider:U,_buffer:G,_infiniteTimeWindow:X}=this,se=(X?1:2)*I;if(I<1/0&&se<G.length&&G.splice(0,G.length-se),!X){const W=U.now();let ne=0;for(let de=1;de<G.length&&G[de]<=W;de+=2)ne=de;ne&&G.splice(0,ne+1)}}}},8645:(Ye,oe,M)=>{M.d(oe,{x:()=>G});var m=M(5592),w=M(7394);const x=(0,M(2306).d)(se=>function(){se(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var I=M(9039),U=M(1441);let G=(()=>{class se extends m.y{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(ne){const de=new X(this,this);return de.operator=ne,de}_throwIfClosed(){if(this.closed)throw new x}next(ne){(0,U.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const de of this.currentObservers)de.next(ne)}})}error(ne){(0,U.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=ne;const{observers:de}=this;for(;de.length;)de.shift().error(ne)}})}complete(){(0,U.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:ne}=this;for(;ne.length;)ne.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var ne;return(null===(ne=this.observers)||void 0===ne?void 0:ne.length)>0}_trySubscribe(ne){return this._throwIfClosed(),super._trySubscribe(ne)}_subscribe(ne){return this._throwIfClosed(),this._checkFinalizedStatuses(ne),this._innerSubscribe(ne)}_innerSubscribe(ne){const{hasError:de,isStopped:Le,observers:Me}=this;return de||Le?w.Lc:(this.currentObservers=null,Me.push(ne),new w.w0(()=>{this.currentObservers=null,(0,I.P)(Me,ne)}))}_checkFinalizedStatuses(ne){const{hasError:de,thrownError:Le,isStopped:Me}=this;de?ne.error(Le):Me&&ne.complete()}asObservable(){const ne=new m.y;return ne.source=this,ne}}return se.create=(W,ne)=>new X(W,ne),se})();class X extends G{constructor(W,ne){super(),this.destination=W,this.source=ne}next(W){var ne,de;null===(de=null===(ne=this.destination)||void 0===ne?void 0:ne.next)||void 0===de||de.call(ne,W)}error(W){var ne,de;null===(de=null===(ne=this.destination)||void 0===ne?void 0:ne.error)||void 0===de||de.call(ne,W)}complete(){var W,ne;null===(ne=null===(W=this.destination)||void 0===W?void 0:W.complete)||void 0===ne||ne.call(W)}_subscribe(W){var ne,de;return null!==(de=null===(ne=this.source)||void 0===ne?void 0:ne.subscribe(W))&&void 0!==de?de:w.Lc}}},305:(Ye,oe,M)=>{M.d(oe,{Hp:()=>be,Lv:()=>de});var m=M(4674),w=M(7394),te=M(2653),x=M(3894),I=M(2420);const U=se("C",void 0,void 0);function se(F,he,ie){return{kind:F,value:he,error:ie}}var W=M(7599),ne=M(1441);class de extends w.w0{constructor(he){super(),this.isStopped=!1,he?(this.destination=he,(0,w.Nn)(he)&&he.add(this)):this.destination=Ce}static create(he,ie,ke){return new be(he,ie,ke)}next(he){this.isStopped?rt(function X(F){return se("N",F,void 0)}(he),this):this._next(he)}error(he){this.isStopped?rt(function G(F){return se("E",void 0,F)}(he),this):(this.isStopped=!0,this._error(he))}complete(){this.isStopped?rt(U,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(he){this.destination.next(he)}_error(he){try{this.destination.error(he)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const Le=Function.prototype.bind;function Me(F,he){return Le.call(F,he)}class Te{constructor(he){this.partialObserver=he}next(he){const{partialObserver:ie}=this;if(ie.next)try{ie.next(he)}catch(ke){Be(ke)}}error(he){const{partialObserver:ie}=this;if(ie.error)try{ie.error(he)}catch(ke){Be(ke)}else Be(he)}complete(){const{partialObserver:he}=this;if(he.complete)try{he.complete()}catch(ie){Be(ie)}}}class be extends de{constructor(he,ie,ke){let we;if(super(),(0,m.m)(he)||!he)we={next:he??void 0,error:ie??void 0,complete:ke??void 0};else{let Ae;this&&te.config.useDeprecatedNextContext?(Ae=Object.create(he),Ae.unsubscribe=()=>this.unsubscribe(),we={next:he.next&&Me(he.next,Ae),error:he.error&&Me(he.error,Ae),complete:he.complete&&Me(he.complete,Ae)}):we=he}this.destination=new Te(we)}}function Be(F){te.config.useDeprecatedSynchronousErrorHandling?(0,ne.O)(F):(0,x.h)(F)}function rt(F,he){const{onStoppedNotification:ie}=te.config;ie&&W.z.setTimeout(()=>ie(F,he))}const Ce={closed:!0,next:I.Z,error:function Xe(F){throw F},complete:I.Z}},7394:(Ye,oe,M)=>{M.d(oe,{Lc:()=>U,w0:()=>I,Nn:()=>G});var m=M(4674);const te=(0,M(2306).d)(se=>function(ne){se(this),this.message=ne?`${ne.length} errors occurred during unsubscription:\n${ne.map((de,Le)=>`${Le+1}) ${de.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=ne});var x=M(9039);class I{constructor(W){this.initialTeardown=W,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let W;if(!this.closed){this.closed=!0;const{_parentage:ne}=this;if(ne)if(this._parentage=null,Array.isArray(ne))for(const Me of ne)Me.remove(this);else ne.remove(this);const{initialTeardown:de}=this;if((0,m.m)(de))try{de()}catch(Me){W=Me instanceof te?Me.errors:[Me]}const{_finalizers:Le}=this;if(Le){this._finalizers=null;for(const Me of Le)try{X(Me)}catch(Te){W=W??[],Te instanceof te?W=[...W,...Te.errors]:W.push(Te)}}if(W)throw new te(W)}}add(W){var ne;if(W&&W!==this)if(this.closed)X(W);else{if(W instanceof I){if(W.closed||W._hasParent(this))return;W._addParent(this)}(this._finalizers=null!==(ne=this._finalizers)&&void 0!==ne?ne:[]).push(W)}}_hasParent(W){const{_parentage:ne}=this;return ne===W||Array.isArray(ne)&&ne.includes(W)}_addParent(W){const{_parentage:ne}=this;this._parentage=Array.isArray(ne)?(ne.push(W),ne):ne?[ne,W]:W}_removeParent(W){const{_parentage:ne}=this;ne===W?this._parentage=null:Array.isArray(ne)&&(0,x.P)(ne,W)}remove(W){const{_finalizers:ne}=this;ne&&(0,x.P)(ne,W),W instanceof I&&W._removeParent(this)}}I.EMPTY=(()=>{const se=new I;return se.closed=!0,se})();const U=I.EMPTY;function G(se){return se instanceof I||se&&"closed"in se&&(0,m.m)(se.remove)&&(0,m.m)(se.add)&&(0,m.m)(se.unsubscribe)}function X(se){(0,m.m)(se)?se():se.unsubscribe()}},2653:(Ye,oe,M)=>{M.d(oe,{config:()=>m});const m={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},3168:(Ye,oe,M)=>{M.d(oe,{c:()=>U});var m=M(5592),w=M(7394),te=M(6196),x=M(8251),I=M(9360);class U extends m.y{constructor(X,se){super(),this.source=X,this.subjectFactory=se,this._subject=null,this._refCount=0,this._connection=null,(0,I.A)(X)&&(this.lift=X.lift)}_subscribe(X){return this.getSubject().subscribe(X)}getSubject(){const X=this._subject;return(!X||X.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:X}=this;this._subject=this._connection=null,X?.unsubscribe()}connect(){let X=this._connection;if(!X){X=this._connection=new w.w0;const se=this.getSubject();X.add(this.source.subscribe((0,x.x)(se,void 0,()=>{this._teardown(),se.complete()},W=>{this._teardown(),se.error(W)},()=>this._teardown()))),X.closed&&(this._connection=null,X=w.w0.EMPTY)}return X}refCount(){return(0,te.x)()(this)}}},2572:(Ye,oe,M)=>{M.d(oe,{a:()=>W});var m=M(5592),w=M(7453),te=M(7715),x=M(2737),I=M(7400),U=M(9940),G=M(2714),X=M(8251),se=M(7103);function W(...Le){const Me=(0,U.yG)(Le),Te=(0,U.jO)(Le),{args:be,keys:Be}=(0,w.D)(Le);if(0===be.length)return(0,te.D)([],Me);const Xe=new m.y(function ne(Le,Me,Te=x.y){return be=>{de(Me,()=>{const{length:Be}=Le,Xe=new Array(Be);let rt=Be,Ce=Be;for(let F=0;F<Be;F++)de(Me,()=>{const he=(0,te.D)(Le[F],Me);let ie=!1;he.subscribe((0,X.x)(be,ke=>{Xe[F]=ke,ie||(ie=!0,Ce--),Ce||be.next(Te(Xe.slice()))},()=>{--rt||be.complete()}))},be)},be)}}(be,Me,Be?rt=>(0,G.n)(Be,rt):x.y));return Te?Xe.pipe((0,I.Z)(Te)):Xe}function de(Le,Me,Te){Le?(0,se.f)(Te,Le,Me):Me()}},5211:(Ye,oe,M)=>{M.d(oe,{z:()=>I});var m=M(7537),te=M(9940),x=M(7715);function I(...U){return function w(){return(0,m.J)(1)}()((0,x.D)(U,(0,te.yG)(U)))}},4911:(Ye,oe,M)=>{M.d(oe,{P:()=>te});var m=M(5592),w=M(4829);function te(x){return new m.y(I=>{(0,w.Xf)(x()).subscribe(I)})}},6232:(Ye,oe,M)=>{M.d(oe,{E:()=>w});const w=new(M(5592).y)(I=>I.complete())},7715:(Ye,oe,M)=>{M.d(oe,{D:()=>ke});var m=M(4829),w=M(7103),te=M(9360),x=M(8251);function I(we,Ae=0){return(0,te.e)(($e,tt)=>{$e.subscribe((0,x.x)(tt,Dt=>(0,w.f)(tt,we,()=>tt.next(Dt),Ae),()=>(0,w.f)(tt,we,()=>tt.complete(),Ae),Dt=>(0,w.f)(tt,we,()=>tt.error(Dt),Ae)))})}function U(we,Ae=0){return(0,te.e)(($e,tt)=>{tt.add(we.schedule(()=>$e.subscribe(tt),Ae))})}var se=M(5592),ne=M(4971),de=M(4674);function Me(we,Ae){if(!we)throw new Error("Iterable cannot be null");return new se.y($e=>{(0,w.f)($e,Ae,()=>{const tt=we[Symbol.asyncIterator]();(0,w.f)($e,Ae,()=>{tt.next().then(Dt=>{Dt.done?$e.complete():$e.next(Dt.value)})},0,!0)})})}var Te=M(8382),be=M(4026),Be=M(4266),Xe=M(3664),rt=M(5726),Ce=M(9853),F=M(541);function ke(we,Ae){return Ae?function ie(we,Ae){if(null!=we){if((0,Te.c)(we))return function G(we,Ae){return(0,m.Xf)(we).pipe(U(Ae),I(Ae))}(we,Ae);if((0,Be.z)(we))return function W(we,Ae){return new se.y($e=>{let tt=0;return Ae.schedule(function(){tt===we.length?$e.complete():($e.next(we[tt++]),$e.closed||this.schedule())})})}(we,Ae);if((0,be.t)(we))return function X(we,Ae){return(0,m.Xf)(we).pipe(U(Ae),I(Ae))}(we,Ae);if((0,rt.D)(we))return Me(we,Ae);if((0,Xe.T)(we))return function Le(we,Ae){return new se.y($e=>{let tt;return(0,w.f)($e,Ae,()=>{tt=we[ne.h](),(0,w.f)($e,Ae,()=>{let Dt,cn;try{({value:Dt,done:cn}=tt.next())}catch(_n){return void $e.error(_n)}cn?$e.complete():$e.next(Dt)},0,!0)}),()=>(0,de.m)(tt?.return)&&tt.return()})}(we,Ae);if((0,F.L)(we))return function he(we,Ae){return Me((0,F.Q)(we),Ae)}(we,Ae)}throw(0,Ce.z)(we)}(we,Ae):(0,m.Xf)(we)}},2438:(Ye,oe,M)=>{M.d(oe,{R:()=>W});var m=M(4829),w=M(5592),te=M(1631),x=M(4266),I=M(4674),U=M(7400);const G=["addListener","removeListener"],X=["addEventListener","removeEventListener"],se=["on","off"];function W(Te,be,Be,Xe){if((0,I.m)(Be)&&(Xe=Be,Be=void 0),Xe)return W(Te,be,Be).pipe((0,U.Z)(Xe));const[rt,Ce]=function Me(Te){return(0,I.m)(Te.addEventListener)&&(0,I.m)(Te.removeEventListener)}(Te)?X.map(F=>he=>Te[F](be,he,Be)):function de(Te){return(0,I.m)(Te.addListener)&&(0,I.m)(Te.removeListener)}(Te)?G.map(ne(Te,be)):function Le(Te){return(0,I.m)(Te.on)&&(0,I.m)(Te.off)}(Te)?se.map(ne(Te,be)):[];if(!rt&&(0,x.z)(Te))return(0,te.z)(F=>W(F,be,Be))((0,m.Xf)(Te));if(!rt)throw new TypeError("Invalid event target");return new w.y(F=>{const he=(...ie)=>F.next(1<ie.length?ie:ie[0]);return rt(he),()=>Ce(he)})}function ne(Te,be){return Be=>Xe=>Te[Be](be,Xe)}},4829:(Ye,oe,M)=>{M.d(oe,{Xf:()=>Le});var m=M(7582),w=M(4266),te=M(4026),x=M(5592),I=M(8382),U=M(5726),G=M(9853),X=M(3664),se=M(541),W=M(4674),ne=M(3894),de=M(4850);function Le(F){if(F instanceof x.y)return F;if(null!=F){if((0,I.c)(F))return function Me(F){return new x.y(he=>{const ie=F[de.L]();if((0,W.m)(ie.subscribe))return ie.subscribe(he);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(F);if((0,w.z)(F))return function Te(F){return new x.y(he=>{for(let ie=0;ie<F.length&&!he.closed;ie++)he.next(F[ie]);he.complete()})}(F);if((0,te.t)(F))return function be(F){return new x.y(he=>{F.then(ie=>{he.closed||(he.next(ie),he.complete())},ie=>he.error(ie)).then(null,ne.h)})}(F);if((0,U.D)(F))return Xe(F);if((0,X.T)(F))return function Be(F){return new x.y(he=>{for(const ie of F)if(he.next(ie),he.closed)return;he.complete()})}(F);if((0,se.L)(F))return function rt(F){return Xe((0,se.Q)(F))}(F)}throw(0,G.z)(F)}function Xe(F){return new x.y(he=>{(function Ce(F,he){var ie,ke,we,Ae;return(0,m.mG)(this,void 0,void 0,function*(){try{for(ie=(0,m.KL)(F);!(ke=yield ie.next()).done;)if(he.next(ke.value),he.closed)return}catch($e){we={error:$e}}finally{try{ke&&!ke.done&&(Ae=ie.return)&&(yield Ae.call(ie))}finally{if(we)throw we.error}}he.complete()})})(F,he).catch(ie=>he.error(ie))})}},3019:(Ye,oe,M)=>{M.d(oe,{T:()=>U});var m=M(7537),w=M(4829),te=M(6232),x=M(9940),I=M(7715);function U(...G){const X=(0,x.yG)(G),se=(0,x._6)(G,1/0),W=G;return W.length?1===W.length?(0,w.Xf)(W[0]):(0,m.J)(se)((0,I.D)(W,X)):te.E}},2096:(Ye,oe,M)=>{M.d(oe,{of:()=>te});var m=M(9940),w=M(7715);function te(...x){const I=(0,m.yG)(x);return(0,w.D)(x,I)}},8504:(Ye,oe,M)=>{M.d(oe,{_:()=>te});var m=M(5592),w=M(4674);function te(x,I){const U=(0,w.m)(x)?x:()=>x,G=X=>X.error(U());return new m.y(I?X=>I.schedule(G,0,X):G)}},9080:(Ye,oe,M)=>{M.d(oe,{H:()=>I});var m=M(5592),w=M(6321),te=M(671),x=M(93);function I(U=0,G,X=w.P){let se=-1;return null!=G&&((0,te.K)(G)?X=G:se=G),new m.y(W=>{let ne=(0,x.q)(U)?+U-X.now():U;ne<0&&(ne=0);let de=0;return X.schedule(function(){W.closed||(W.next(de++),0<=se?this.schedule(void 0,se):W.complete())},ne)})}},8251:(Ye,oe,M)=>{M.d(oe,{x:()=>w});var m=M(305);function w(x,I,U,G,X){return new te(x,I,U,G,X)}class te extends m.Lv{constructor(I,U,G,X,se,W){super(I),this.onFinalize=se,this.shouldUnsubscribe=W,this._next=U?function(ne){try{U(ne)}catch(de){I.error(de)}}:super._next,this._error=X?function(ne){try{X(ne)}catch(de){I.error(de)}finally{this.unsubscribe()}}:super._error,this._complete=G?function(){try{G()}catch(ne){I.error(ne)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var I;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:U}=this;super.unsubscribe(),!U&&(null===(I=this.onFinalize)||void 0===I||I.call(this))}}}},6306:(Ye,oe,M)=>{M.d(oe,{K:()=>x});var m=M(4829),w=M(8251),te=M(9360);function x(I){return(0,te.e)((U,G)=>{let W,X=null,se=!1;X=U.subscribe((0,w.x)(G,void 0,void 0,ne=>{W=(0,m.Xf)(I(ne,x(I)(U))),X?(X.unsubscribe(),X=null,W.subscribe(G)):se=!0})),se&&(X.unsubscribe(),X=null,W.subscribe(G))})}},6328:(Ye,oe,M)=>{M.d(oe,{b:()=>te});var m=M(1631),w=M(4674);function te(x,I){return(0,w.m)(I)?(0,m.z)(x,I,1):(0,m.z)(x,1)}},3997:(Ye,oe,M)=>{M.d(oe,{x:()=>x});var m=M(2737),w=M(9360),te=M(8251);function x(U,G=m.y){return U=U??I,(0,w.e)((X,se)=>{let W,ne=!0;X.subscribe((0,te.x)(se,de=>{const Le=G(de);(ne||!U(W,Le))&&(ne=!1,W=Le,se.next(de))}))})}function I(U,G){return U===G}},2181:(Ye,oe,M)=>{M.d(oe,{h:()=>te});var m=M(9360),w=M(8251);function te(x,I){return(0,m.e)((U,G)=>{let X=0;U.subscribe((0,w.x)(G,se=>x.call(I,se,X++)&&G.next(se)))})}},4716:(Ye,oe,M)=>{M.d(oe,{x:()=>w});var m=M(9360);function w(te){return(0,m.e)((x,I)=>{try{x.subscribe(I)}finally{I.add(te)}})}},7398:(Ye,oe,M)=>{M.d(oe,{U:()=>te});var m=M(9360),w=M(8251);function te(x,I){return(0,m.e)((U,G)=>{let X=0;U.subscribe((0,w.x)(G,se=>{G.next(x.call(I,se,X++))}))})}},975:(Ye,oe,M)=>{M.d(oe,{h:()=>w});var m=M(7398);function w(te){return(0,m.U)(()=>te)}},7537:(Ye,oe,M)=>{M.d(oe,{J:()=>te});var m=M(1631),w=M(2737);function te(x=1/0){return(0,m.z)(w.y,x)}},1631:(Ye,oe,M)=>{M.d(oe,{z:()=>X});var m=M(7398),w=M(4829),te=M(9360),x=M(7103),I=M(8251),G=M(4674);function X(se,W,ne=1/0){return(0,G.m)(W)?X((de,Le)=>(0,m.U)((Me,Te)=>W(de,Me,Le,Te))((0,w.Xf)(se(de,Le))),ne):("number"==typeof W&&(ne=W),(0,te.e)((de,Le)=>function U(se,W,ne,de,Le,Me,Te,be){const Be=[];let Xe=0,rt=0,Ce=!1;const F=()=>{Ce&&!Be.length&&!Xe&&W.complete()},he=ke=>Xe<de?ie(ke):Be.push(ke),ie=ke=>{Me&&W.next(ke),Xe++;let we=!1;(0,w.Xf)(ne(ke,rt++)).subscribe((0,I.x)(W,Ae=>{Le?.(Ae),Me?he(Ae):W.next(Ae)},()=>{we=!0},void 0,()=>{if(we)try{for(Xe--;Be.length&&Xe<de;){const Ae=Be.shift();Te?(0,x.f)(W,Te,()=>ie(Ae)):ie(Ae)}F()}catch(Ae){W.error(Ae)}}))};return se.subscribe((0,I.x)(W,he,()=>{Ce=!0,F()})),()=>{be?.()}}(de,Le,se,ne)))}},6196:(Ye,oe,M)=>{M.d(oe,{x:()=>te});var m=M(9360),w=M(8251);function te(){return(0,m.e)((x,I)=>{let U=null;x._refCount++;const G=(0,w.x)(I,void 0,void 0,void 0,()=>{if(!x||x._refCount<=0||0<--x._refCount)return void(U=null);const X=x._connection,se=U;U=null,X&&(!se||X===se)&&X.unsubscribe(),I.unsubscribe()});x.subscribe(G),G.closed||(U=x.connect())})}},3020:(Ye,oe,M)=>{M.d(oe,{B:()=>I});var m=M(4829),w=M(8645),te=M(305),x=M(9360);function I(G={}){const{connector:X=(()=>new w.x),resetOnError:se=!0,resetOnComplete:W=!0,resetOnRefCountZero:ne=!0}=G;return de=>{let Le,Me,Te,be=0,Be=!1,Xe=!1;const rt=()=>{Me?.unsubscribe(),Me=void 0},Ce=()=>{rt(),Le=Te=void 0,Be=Xe=!1},F=()=>{const he=Le;Ce(),he?.unsubscribe()};return(0,x.e)((he,ie)=>{be++,!Xe&&!Be&&rt();const ke=Te=Te??X();ie.add(()=>{be--,0===be&&!Xe&&!Be&&(Me=U(F,ne))}),ke.subscribe(ie),!Le&&be>0&&(Le=new te.Hp({next:we=>ke.next(we),error:we=>{Xe=!0,rt(),Me=U(Ce,se,we),ke.error(we)},complete:()=>{Be=!0,rt(),Me=U(Ce,W),ke.complete()}}),(0,m.Xf)(he).subscribe(Le))})(de)}}function U(G,X,...se){if(!0===X)return void G();if(!1===X)return;const W=new te.Hp({next:()=>{W.unsubscribe(),G()}});return(0,m.Xf)(X(...se)).subscribe(W)}},7921:(Ye,oe,M)=>{M.d(oe,{O:()=>x});var m=M(5211),w=M(9940),te=M(9360);function x(...I){const U=(0,w.yG)(I);return(0,te.e)((G,X)=>{(U?(0,m.z)(I,G,U):(0,m.z)(I,G)).subscribe(X)})}},4664:(Ye,oe,M)=>{M.d(oe,{w:()=>x});var m=M(4829),w=M(9360),te=M(8251);function x(I,U){return(0,w.e)((G,X)=>{let se=null,W=0,ne=!1;const de=()=>ne&&!se&&X.complete();G.subscribe((0,te.x)(X,Le=>{se?.unsubscribe();let Me=0;const Te=W++;(0,m.Xf)(I(Le,Te)).subscribe(se=(0,te.x)(X,be=>X.next(U?U(Le,be,Te,Me++):be),()=>{se=null,de()}))},()=>{ne=!0,de()}))})}},8180:(Ye,oe,M)=>{M.d(oe,{q:()=>x});var m=M(6232),w=M(9360),te=M(8251);function x(I){return I<=0?()=>m.E:(0,w.e)((U,G)=>{let X=0;U.subscribe((0,te.x)(G,se=>{++X<=I&&(G.next(se),I<=X&&G.complete())}))})}},9773:(Ye,oe,M)=>{M.d(oe,{R:()=>I});var m=M(9360),w=M(8251),te=M(4829),x=M(2420);function I(U){return(0,m.e)((G,X)=>{(0,te.Xf)(U).subscribe((0,w.x)(X,()=>X.complete(),x.Z)),!X.closed&&G.subscribe(X)})}},9397:(Ye,oe,M)=>{M.d(oe,{b:()=>I});var m=M(4674),w=M(9360),te=M(8251),x=M(2737);function I(U,G,X){const se=(0,m.m)(U)||G||X?{next:U,error:G,complete:X}:U;return se?(0,w.e)((W,ne)=>{var de;null===(de=se.subscribe)||void 0===de||de.call(se);let Le=!0;W.subscribe((0,te.x)(ne,Me=>{var Te;null===(Te=se.next)||void 0===Te||Te.call(se,Me),ne.next(Me)},()=>{var Me;Le=!1,null===(Me=se.complete)||void 0===Me||Me.call(se),ne.complete()},Me=>{var Te;Le=!1,null===(Te=se.error)||void 0===Te||Te.call(se,Me),ne.error(Me)},()=>{var Me,Te;Le&&(null===(Me=se.unsubscribe)||void 0===Me||Me.call(se)),null===(Te=se.finalize)||void 0===Te||Te.call(se)}))}):x.y}},1954:(Ye,oe,M)=>{M.d(oe,{o:()=>I});var m=M(7394);class w extends m.w0{constructor(G,X){super()}schedule(G,X=0){return this}}const te={setInterval(U,G,...X){const{delegate:se}=te;return se?.setInterval?se.setInterval(U,G,...X):setInterval(U,G,...X)},clearInterval(U){const{delegate:G}=te;return(G?.clearInterval||clearInterval)(U)},delegate:void 0};var x=M(9039);class I extends w{constructor(G,X){super(G,X),this.scheduler=G,this.work=X,this.pending=!1}schedule(G,X=0){var se;if(this.closed)return this;this.state=G;const W=this.id,ne=this.scheduler;return null!=W&&(this.id=this.recycleAsyncId(ne,W,X)),this.pending=!0,this.delay=X,this.id=null!==(se=this.id)&&void 0!==se?se:this.requestAsyncId(ne,this.id,X),this}requestAsyncId(G,X,se=0){return te.setInterval(G.flush.bind(G,this),se)}recycleAsyncId(G,X,se=0){if(null!=se&&this.delay===se&&!1===this.pending)return X;null!=X&&te.clearInterval(X)}execute(G,X){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const se=this._execute(G,X);if(se)return se;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(G,X){let W,se=!1;try{this.work(G)}catch(ne){se=!0,W=ne||new Error("Scheduled action threw falsy error")}if(se)return this.unsubscribe(),W}unsubscribe(){if(!this.closed){const{id:G,scheduler:X}=this,{actions:se}=X;this.work=this.state=this.scheduler=null,this.pending=!1,(0,x.P)(se,this),null!=G&&(this.id=this.recycleAsyncId(X,G,null)),this.delay=null,super.unsubscribe()}}}},2631:(Ye,oe,M)=>{M.d(oe,{v:()=>te});var m=M(4552);class w{constructor(I,U=w.now){this.schedulerActionCtor=I,this.now=U}schedule(I,U=0,G){return new this.schedulerActionCtor(this,I).schedule(G,U)}}w.now=m.l.now;class te extends w{constructor(I,U=w.now){super(I,U),this.actions=[],this._active=!1}flush(I){const{actions:U}=this;if(this._active)return void U.push(I);let G;this._active=!0;do{if(G=I.execute(I.state,I.delay))break}while(I=U.shift());if(this._active=!1,G){for(;I=U.shift();)I.unsubscribe();throw G}}}},6321:(Ye,oe,M)=>{M.d(oe,{P:()=>x,z:()=>te});var m=M(1954);const te=new(M(2631).v)(m.o),x=te},4552:(Ye,oe,M)=>{M.d(oe,{l:()=>m});const m={now:()=>(m.delegate||Date).now(),delegate:void 0}},7599:(Ye,oe,M)=>{M.d(oe,{z:()=>m});const m={setTimeout(w,te,...x){const{delegate:I}=m;return I?.setTimeout?I.setTimeout(w,te,...x):setTimeout(w,te,...x)},clearTimeout(w){const{delegate:te}=m;return(te?.clearTimeout||clearTimeout)(w)},delegate:void 0}},4971:(Ye,oe,M)=>{M.d(oe,{h:()=>w});const w=function m(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},4850:(Ye,oe,M)=>{M.d(oe,{L:()=>m});const m="function"==typeof Symbol&&Symbol.observable||"@@observable"},9940:(Ye,oe,M)=>{M.d(oe,{_6:()=>U,jO:()=>x,yG:()=>I});var m=M(4674),w=M(671);function te(G){return G[G.length-1]}function x(G){return(0,m.m)(te(G))?G.pop():void 0}function I(G){return(0,w.K)(te(G))?G.pop():void 0}function U(G,X){return"number"==typeof te(G)?G.pop():X}},7453:(Ye,oe,M)=>{M.d(oe,{D:()=>I});const{isArray:m}=Array,{getPrototypeOf:w,prototype:te,keys:x}=Object;function I(G){if(1===G.length){const X=G[0];if(m(X))return{args:X,keys:null};if(function U(G){return G&&"object"==typeof G&&w(G)===te}(X)){const se=x(X);return{args:se.map(W=>X[W]),keys:se}}}return{args:G,keys:null}}},9039:(Ye,oe,M)=>{function m(w,te){if(w){const x=w.indexOf(te);0<=x&&w.splice(x,1)}}M.d(oe,{P:()=>m})},2306:(Ye,oe,M)=>{function m(w){const x=w(I=>{Error.call(I),I.stack=(new Error).stack});return x.prototype=Object.create(Error.prototype),x.prototype.constructor=x,x}M.d(oe,{d:()=>m})},2714:(Ye,oe,M)=>{function m(w,te){return w.reduce((x,I,U)=>(x[I]=te[U],x),{})}M.d(oe,{n:()=>m})},1441:(Ye,oe,M)=>{M.d(oe,{O:()=>x,x:()=>te});var m=M(2653);let w=null;function te(I){if(m.config.useDeprecatedSynchronousErrorHandling){const U=!w;if(U&&(w={errorThrown:!1,error:null}),I(),U){const{errorThrown:G,error:X}=w;if(w=null,G)throw X}}else I()}function x(I){m.config.useDeprecatedSynchronousErrorHandling&&w&&(w.errorThrown=!0,w.error=I)}},7103:(Ye,oe,M)=>{function m(w,te,x,I=0,U=!1){const G=te.schedule(function(){x(),U?w.add(this.schedule(null,I)):this.unsubscribe()},I);if(w.add(G),!U)return G}M.d(oe,{f:()=>m})},2737:(Ye,oe,M)=>{function m(w){return w}M.d(oe,{y:()=>m})},4266:(Ye,oe,M)=>{M.d(oe,{z:()=>m});const m=w=>w&&"number"==typeof w.length&&"function"!=typeof w},5726:(Ye,oe,M)=>{M.d(oe,{D:()=>w});var m=M(4674);function w(te){return Symbol.asyncIterator&&(0,m.m)(te?.[Symbol.asyncIterator])}},93:(Ye,oe,M)=>{function m(w){return w instanceof Date&&!isNaN(w)}M.d(oe,{q:()=>m})},4674:(Ye,oe,M)=>{function m(w){return"function"==typeof w}M.d(oe,{m:()=>m})},8382:(Ye,oe,M)=>{M.d(oe,{c:()=>te});var m=M(4850),w=M(4674);function te(x){return(0,w.m)(x[m.L])}},3664:(Ye,oe,M)=>{M.d(oe,{T:()=>te});var m=M(4971),w=M(4674);function te(x){return(0,w.m)(x?.[m.h])}},4026:(Ye,oe,M)=>{M.d(oe,{t:()=>w});var m=M(4674);function w(te){return(0,m.m)(te?.then)}},541:(Ye,oe,M)=>{M.d(oe,{L:()=>x,Q:()=>te});var m=M(7582),w=M(4674);function te(I){return(0,m.FC)(this,arguments,function*(){const G=I.getReader();try{for(;;){const{value:X,done:se}=yield(0,m.qq)(G.read());if(se)return yield(0,m.qq)(void 0);yield yield(0,m.qq)(X)}}finally{G.releaseLock()}})}function x(I){return(0,w.m)(I?.getReader)}},671:(Ye,oe,M)=>{M.d(oe,{K:()=>w});var m=M(4674);function w(te){return te&&(0,m.m)(te.schedule)}},9360:(Ye,oe,M)=>{M.d(oe,{A:()=>w,e:()=>te});var m=M(4674);function w(x){return(0,m.m)(x?.lift)}function te(x){return I=>{if(w(I))return I.lift(function(U){try{return x(U,this)}catch(G){this.error(G)}});throw new TypeError("Unable to lift unknown Observable type")}}},7400:(Ye,oe,M)=>{M.d(oe,{Z:()=>x});var m=M(7398);const{isArray:w}=Array;function x(I){return(0,m.U)(U=>function te(I,U){return w(U)?I(...U):I(U)}(I,U))}},2420:(Ye,oe,M)=>{function m(){}M.d(oe,{Z:()=>m})},8407:(Ye,oe,M)=>{M.d(oe,{U:()=>te,z:()=>w});var m=M(2737);function w(...x){return te(x)}function te(x){return 0===x.length?m.y:1===x.length?x[0]:function(U){return x.reduce((G,X)=>X(G),U)}}},3894:(Ye,oe,M)=>{M.d(oe,{h:()=>te});var m=M(2653),w=M(7599);function te(x){w.z.setTimeout(()=>{const{onUnhandledError:I}=m.config;if(!I)throw x;I(x)})}},9853:(Ye,oe,M)=>{function m(w){return new TypeError(`You provided ${null!==w&&"object"==typeof w?"an invalid object":`'${w}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}M.d(oe,{z:()=>m})},6825:(Ye,oe,M)=>{M.d(oe,{F4:()=>W,IO:()=>Te,LC:()=>w,SB:()=>se,X$:()=>x,ZE:()=>Xe,ZN:()=>Be,_j:()=>m,eR:()=>ne,jt:()=>I,k1:()=>rt,l3:()=>te,oB:()=>X,pV:()=>Le,ru:()=>U,vP:()=>G});class m{}class w{}const te="*";function x(Ce,F){return{type:7,name:Ce,definitions:F,options:{}}}function I(Ce,F=null){return{type:4,styles:F,timings:Ce}}function U(Ce,F=null){return{type:3,steps:Ce,options:F}}function G(Ce,F=null){return{type:2,steps:Ce,options:F}}function X(Ce){return{type:6,styles:Ce,offset:null}}function se(Ce,F,he){return{type:0,name:Ce,styles:F,options:he}}function W(Ce){return{type:5,steps:Ce}}function ne(Ce,F,he=null){return{type:1,expr:Ce,animation:F,options:he}}function Le(Ce=null){return{type:9,options:Ce}}function Te(Ce,F,he=null){return{type:11,selector:Ce,animation:F,options:he}}class Be{constructor(F=0,he=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=F+he}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(F=>F()),this._onDoneFns=[])}onStart(F){this._originalOnStartFns.push(F),this._onStartFns.push(F)}onDone(F){this._originalOnDoneFns.push(F),this._onDoneFns.push(F)}onDestroy(F){this._onDestroyFns.push(F)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(F=>F()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(F=>F()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(F){this._position=this.totalTime?F*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(F){const he="start"==F?this._onStartFns:this._onDoneFns;he.forEach(ie=>ie()),he.length=0}}class Xe{constructor(F){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=F;let he=0,ie=0,ke=0;const we=this.players.length;0==we?queueMicrotask(()=>this._onFinish()):this.players.forEach(Ae=>{Ae.onDone(()=>{++he==we&&this._onFinish()}),Ae.onDestroy(()=>{++ie==we&&this._onDestroy()}),Ae.onStart(()=>{++ke==we&&this._onStart()})}),this.totalTime=this.players.reduce((Ae,$e)=>Math.max(Ae,$e.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(F=>F()),this._onDoneFns=[])}init(){this.players.forEach(F=>F.init())}onStart(F){this._onStartFns.push(F)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(F=>F()),this._onStartFns=[])}onDone(F){this._onDoneFns.push(F)}onDestroy(F){this._onDestroyFns.push(F)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(F=>F.play())}pause(){this.players.forEach(F=>F.pause())}restart(){this.players.forEach(F=>F.restart())}finish(){this._onFinish(),this.players.forEach(F=>F.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(F=>F.destroy()),this._onDestroyFns.forEach(F=>F()),this._onDestroyFns=[])}reset(){this.players.forEach(F=>F.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(F){const he=F*this.totalTime;this.players.forEach(ie=>{const ke=ie.totalTime?Math.min(1,he/ie.totalTime):1;ie.setPosition(ke)})}getPosition(){const F=this.players.reduce((he,ie)=>null===he||ie.totalTime>he.totalTime?ie:he,null);return null!=F?F.getPosition():0}beforeDestroy(){this.players.forEach(F=>{F.beforeDestroy&&F.beforeDestroy()})}triggerCallback(F){const he="start"==F?this._onStartFns:this._onDoneFns;he.forEach(ie=>ie()),he.length=0}}const rt="!"},6814:(Ye,oe,M)=>{M.d(oe,{$G:()=>Yt,Do:()=>be,ED:()=>$s,EM:()=>qn,HT:()=>x,JF:()=>Jr,JJ:()=>We,K0:()=>U,Mx:()=>Kn,NF:()=>ko,Nd:()=>fo,O5:()=>En,OU:()=>vn,Ov:()=>ys,PC:()=>ar,PM:()=>Ds,RF:()=>xr,S$:()=>Le,Ts:()=>Gs,V_:()=>X,Ye:()=>Be,b0:()=>Te,bD:()=>lr,ez:()=>sn,mk:()=>Ot,n9:()=>Er,q:()=>te,sg:()=>Jt,tP:()=>qr,uU:()=>jn,w_:()=>I});var m=M(5879);let w=null;function te(){return w}function x(d){w||(w=d)}class I{}const U=new m.OlP("DocumentToken");let G=(()=>{var d;class E{historyGo(_){throw new Error("Not implemented")}}return(d=E).\u0275fac=function(_){return new(_||d)},d.\u0275prov=m.Yz7({token:d,factory:function(){return(0,m.f3M)(se)},providedIn:"platform"}),E})();const X=new m.OlP("Location Initialized");let se=(()=>{var d;class E extends G{constructor(){super(),this._doc=(0,m.f3M)(U),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return te().getBaseHref(this._doc)}onPopState(_){const O=te().getGlobalEventTarget(this._doc,"window");return O.addEventListener("popstate",_,!1),()=>O.removeEventListener("popstate",_)}onHashChange(_){const O=te().getGlobalEventTarget(this._doc,"window");return O.addEventListener("hashchange",_,!1),()=>O.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(_,O,j){this._history.pushState(_,O,j)}replaceState(_,O,j){this._history.replaceState(_,O,j)}forward(){this._history.forward()}back(){this._history.back()}historyGo(_=0){this._history.go(_)}getState(){return this._history.state}}return(d=E).\u0275fac=function(_){return new(_||d)},d.\u0275prov=m.Yz7({token:d,factory:function(){return new d},providedIn:"platform"}),E})();function W(d,E){if(0==d.length)return E;if(0==E.length)return d;let R=0;return d.endsWith("/")&&R++,E.startsWith("/")&&R++,2==R?d+E.substring(1):1==R?d+E:d+"/"+E}function ne(d){const E=d.match(/#|\?|$/),R=E&&E.index||d.length;return d.slice(0,R-("/"===d[R-1]?1:0))+d.slice(R)}function de(d){return d&&"?"!==d[0]?"?"+d:d}let Le=(()=>{var d;class E{historyGo(_){throw new Error("Not implemented")}}return(d=E).\u0275fac=function(_){return new(_||d)},d.\u0275prov=m.Yz7({token:d,factory:function(){return(0,m.f3M)(Te)},providedIn:"root"}),E})();const Me=new m.OlP("appBaseHref");let Te=(()=>{var d;class E extends Le{constructor(_,O){super(),this._platformLocation=_,this._removeListenerFns=[],this._baseHref=O??this._platformLocation.getBaseHrefFromDOM()??(0,m.f3M)(U).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(_){this._removeListenerFns.push(this._platformLocation.onPopState(_),this._platformLocation.onHashChange(_))}getBaseHref(){return this._baseHref}prepareExternalUrl(_){return W(this._baseHref,_)}path(_=!1){const O=this._platformLocation.pathname+de(this._platformLocation.search),j=this._platformLocation.hash;return j&&_?`${O}${j}`:O}pushState(_,O,j,ve){const Ue=this.prepareExternalUrl(j+de(ve));this._platformLocation.pushState(_,O,Ue)}replaceState(_,O,j,ve){const Ue=this.prepareExternalUrl(j+de(ve));this._platformLocation.replaceState(_,O,Ue)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(_=0){this._platformLocation.historyGo?.(_)}}return(d=E).\u0275fac=function(_){return new(_||d)(m.LFG(G),m.LFG(Me,8))},d.\u0275prov=m.Yz7({token:d,factory:d.\u0275fac,providedIn:"root"}),E})(),be=(()=>{var d;class E extends Le{constructor(_,O){super(),this._platformLocation=_,this._baseHref="",this._removeListenerFns=[],null!=O&&(this._baseHref=O)}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 O=this._platformLocation.hash;return null==O&&(O="#"),O.length>0?O.substring(1):O}prepareExternalUrl(_){const O=W(this._baseHref,_);return O.length>0?"#"+O:O}pushState(_,O,j,ve){let Ue=this.prepareExternalUrl(j+de(ve));0==Ue.length&&(Ue=this._platformLocation.pathname),this._platformLocation.pushState(_,O,Ue)}replaceState(_,O,j,ve){let Ue=this.prepareExternalUrl(j+de(ve));0==Ue.length&&(Ue=this._platformLocation.pathname),this._platformLocation.replaceState(_,O,Ue)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(_=0){this._platformLocation.historyGo?.(_)}}return(d=E).\u0275fac=function(_){return new(_||d)(m.LFG(G),m.LFG(Me,8))},d.\u0275prov=m.Yz7({token:d,factory:d.\u0275fac}),E})(),Be=(()=>{var d;class E{constructor(_){this._subject=new m.vpe,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=_;const O=this._locationStrategy.getBaseHref();this._basePath=function F(d){if(new RegExp("^(https?:)?//").test(d)){const[,R]=d.split(/\/\/[^\/]+/);return R}return d}(ne(Ce(O))),this._locationStrategy.onPopState(j=>{this._subject.emit({url:this.path(!0),pop:!0,state:j.state,type:j.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(_=!1){return this.normalize(this._locationStrategy.path(_))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(_,O=""){return this.path()==this.normalize(_+de(O))}normalize(_){return E.stripTrailingSlash(function rt(d,E){if(!d||!E.startsWith(d))return E;const R=E.substring(d.length);return""===R||["/",";","?","#"].includes(R[0])?R:E}(this._basePath,Ce(_)))}prepareExternalUrl(_){return _&&"/"!==_[0]&&(_="/"+_),this._locationStrategy.prepareExternalUrl(_)}go(_,O="",j=null){this._locationStrategy.pushState(j,"",_,O),this._notifyUrlChangeListeners(this.prepareExternalUrl(_+de(O)),j)}replaceState(_,O="",j=null){this._locationStrategy.replaceState(j,"",_,O),this._notifyUrlChangeListeners(this.prepareExternalUrl(_+de(O)),j)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(_=0){this._locationStrategy.historyGo?.(_)}onUrlChange(_){return this._urlChangeListeners.push(_),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(O=>{this._notifyUrlChangeListeners(O.url,O.state)})),()=>{const O=this._urlChangeListeners.indexOf(_);this._urlChangeListeners.splice(O,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(_="",O){this._urlChangeListeners.forEach(j=>j(_,O))}subscribe(_,O,j){return this._subject.subscribe({next:_,error:O,complete:j})}}return(d=E).normalizeQueryParams=de,d.joinWithSlash=W,d.stripTrailingSlash=ne,d.\u0275fac=function(_){return new(_||d)(m.LFG(Le))},d.\u0275prov=m.Yz7({token:d,factory:function(){return function Xe(){return new Be((0,m.LFG)(Le))}()},providedIn:"root"}),E})();function Ce(d){return d.replace(/\/index.html$/,"")}var ie=function(d){return d[d.Decimal=0]="Decimal",d[d.Percent=1]="Percent",d[d.Currency=2]="Currency",d[d.Scientific=3]="Scientific",d}(ie||{}),we=function(d){return d[d.Format=0]="Format",d[d.Standalone=1]="Standalone",d}(we||{}),Ae=function(d){return d[d.Narrow=0]="Narrow",d[d.Abbreviated=1]="Abbreviated",d[d.Wide=2]="Wide",d[d.Short=3]="Short",d}(Ae||{}),$e=function(d){return d[d.Short=0]="Short",d[d.Medium=1]="Medium",d[d.Long=2]="Long",d[d.Full=3]="Full",d}($e||{}),tt=function(d){return d[d.Decimal=0]="Decimal",d[d.Group=1]="Group",d[d.List=2]="List",d[d.PercentSign=3]="PercentSign",d[d.PlusSign=4]="PlusSign",d[d.MinusSign=5]="MinusSign",d[d.Exponential=6]="Exponential",d[d.SuperscriptingExponent=7]="SuperscriptingExponent",d[d.PerMille=8]="PerMille",d[d.Infinity=9]="Infinity",d[d.NaN=10]="NaN",d[d.TimeSeparator=11]="TimeSeparator",d[d.CurrencyDecimal=12]="CurrencyDecimal",d[d.CurrencyGroup=13]="CurrencyGroup",d}(tt||{});function fe(d,E){return It((0,m.cg1)(d)[m.wAp.DateFormat],E)}function me(d,E){return It((0,m.cg1)(d)[m.wAp.TimeFormat],E)}function Ee(d,E){return It((0,m.cg1)(d)[m.wAp.DateTimeFormat],E)}function Ne(d,E){const R=(0,m.cg1)(d),_=R[m.wAp.NumberSymbols][E];if(typeof _>"u"){if(E===tt.CurrencyDecimal)return R[m.wAp.NumberSymbols][tt.Decimal];if(E===tt.CurrencyGroup)return R[m.wAp.NumberSymbols][tt.Group]}return _}function Z(d){if(!d[m.wAp.ExtraData])throw new Error(`Missing extra locale data for the locale "${d[m.wAp.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function It(d,E){for(let R=E;R>-1;R--)if(typeof d[R]<"u")return d[R];throw new Error("Locale data API: locale data undefined")}function Qe(d){const[E,R]=d.split(":");return{hours:+E,minutes:+R}}const Ar=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,zn={},In=/((?:[^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 lt=function(d){return d[d.Short=0]="Short",d[d.ShortGMT=1]="ShortGMT",d[d.Long=2]="Long",d[d.Extended=3]="Extended",d}(lt||{}),vt=function(d){return d[d.FullYear=0]="FullYear",d[d.Month=1]="Month",d[d.Date=2]="Date",d[d.Hours=3]="Hours",d[d.Minutes=4]="Minutes",d[d.Seconds=5]="Seconds",d[d.FractionalSeconds=6]="FractionalSeconds",d[d.Day=7]="Day",d}(vt||{}),bt=function(d){return d[d.DayPeriods=0]="DayPeriods",d[d.Days=1]="Days",d[d.Months=2]="Months",d[d.Eras=3]="Eras",d}(bt||{});function gn(d,E,R,_){let O=function pe(d){if(ue(d))return d;if("number"==typeof d&&!isNaN(d))return new Date(d);if("string"==typeof d){if(d=d.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(d)){const[O,j=1,ve=1]=d.split("-").map(Ue=>+Ue);return Or(O,j-1,ve)}const R=parseFloat(d);if(!isNaN(d-R))return new Date(R);let _;if(_=d.match(Ar))return function V(d){const E=new Date(0);let R=0,_=0;const O=d[8]?E.setUTCFullYear:E.setFullYear,j=d[8]?E.setUTCHours:E.setHours;d[9]&&(R=Number(d[9]+d[10]),_=Number(d[9]+d[11])),O.call(E,Number(d[1]),Number(d[2])-1,Number(d[3]));const ve=Number(d[4]||0)-R,Ue=Number(d[5]||0)-_,yt=Number(d[6]||0),Rt=Math.floor(1e3*parseFloat("0."+(d[7]||0)));return j.call(E,ve,Ue,yt,Rt),E}(_)}const E=new Date(d);if(!ue(E))throw new Error(`Unable to convert "${d}" into a date`);return E}(d);E=Bn(R,E)||E;let Ue,ve=[];for(;E;){if(Ue=In.exec(E),!Ue){ve.push(E);break}{ve=ve.concat(Ue.slice(1));const Pt=ve.pop();if(!Pt)break;E=Pt}}let yt=O.getTimezoneOffset();_&&(yt=Kr(_,yt),O=function uo(d,E,R){const _=R?-1:1,O=d.getTimezoneOffset();return function Hs(d,E){return(d=new Date(d.getTime())).setMinutes(d.getMinutes()+E),d}(d,_*(Kr(E,O)-O))}(O,_,!0));let Rt="";return ve.forEach(Pt=>{const Et=function Nr(d){if(Wn[d])return Wn[d];let E;switch(d){case"G":case"GG":case"GGG":E=Ft(bt.Eras,Ae.Abbreviated);break;case"GGGG":E=Ft(bt.Eras,Ae.Wide);break;case"GGGGG":E=Ft(bt.Eras,Ae.Narrow);break;case"y":E=zt(vt.FullYear,1,0,!1,!0);break;case"yy":E=zt(vt.FullYear,2,0,!0,!0);break;case"yyy":E=zt(vt.FullYear,3,0,!1,!0);break;case"yyyy":E=zt(vt.FullYear,4,0,!1,!0);break;case"Y":E=Ss(1);break;case"YY":E=Ss(2,!0);break;case"YYY":E=Ss(3);break;case"YYYY":E=Ss(4);break;case"M":case"L":E=zt(vt.Month,1,1);break;case"MM":case"LL":E=zt(vt.Month,2,1);break;case"MMM":E=Ft(bt.Months,Ae.Abbreviated);break;case"MMMM":E=Ft(bt.Months,Ae.Wide);break;case"MMMMM":E=Ft(bt.Months,Ae.Narrow);break;case"LLL":E=Ft(bt.Months,Ae.Abbreviated,we.Standalone);break;case"LLLL":E=Ft(bt.Months,Ae.Wide,we.Standalone);break;case"LLLLL":E=Ft(bt.Months,Ae.Narrow,we.Standalone);break;case"w":E=Wr(1);break;case"ww":E=Wr(2);break;case"W":E=Wr(1,!0);break;case"d":E=zt(vt.Date,1);break;case"dd":E=zt(vt.Date,2);break;case"c":case"cc":E=zt(vt.Day,1);break;case"ccc":E=Ft(bt.Days,Ae.Abbreviated,we.Standalone);break;case"cccc":E=Ft(bt.Days,Ae.Wide,we.Standalone);break;case"ccccc":E=Ft(bt.Days,Ae.Narrow,we.Standalone);break;case"cccccc":E=Ft(bt.Days,Ae.Short,we.Standalone);break;case"E":case"EE":case"EEE":E=Ft(bt.Days,Ae.Abbreviated);break;case"EEEE":E=Ft(bt.Days,Ae.Wide);break;case"EEEEE":E=Ft(bt.Days,Ae.Narrow);break;case"EEEEEE":E=Ft(bt.Days,Ae.Short);break;case"a":case"aa":case"aaa":E=Ft(bt.DayPeriods,Ae.Abbreviated);break;case"aaaa":E=Ft(bt.DayPeriods,Ae.Wide);break;case"aaaaa":E=Ft(bt.DayPeriods,Ae.Narrow);break;case"b":case"bb":case"bbb":E=Ft(bt.DayPeriods,Ae.Abbreviated,we.Standalone,!0);break;case"bbbb":E=Ft(bt.DayPeriods,Ae.Wide,we.Standalone,!0);break;case"bbbbb":E=Ft(bt.DayPeriods,Ae.Narrow,we.Standalone,!0);break;case"B":case"BB":case"BBB":E=Ft(bt.DayPeriods,Ae.Abbreviated,we.Format,!0);break;case"BBBB":E=Ft(bt.DayPeriods,Ae.Wide,we.Format,!0);break;case"BBBBB":E=Ft(bt.DayPeriods,Ae.Narrow,we.Format,!0);break;case"h":E=zt(vt.Hours,1,-12);break;case"hh":E=zt(vt.Hours,2,-12);break;case"H":E=zt(vt.Hours,1);break;case"HH":E=zt(vt.Hours,2);break;case"m":E=zt(vt.Minutes,1);break;case"mm":E=zt(vt.Minutes,2);break;case"s":E=zt(vt.Seconds,1);break;case"ss":E=zt(vt.Seconds,2);break;case"S":E=zt(vt.FractionalSeconds,1);break;case"SS":E=zt(vt.FractionalSeconds,2);break;case"SSS":E=zt(vt.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":E=Pr(lt.Short);break;case"ZZZZZ":E=Pr(lt.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":E=Pr(lt.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":E=Pr(lt.Long);break;default:return null}return Wn[d]=E,E}(Pt);Rt+=Et?Et(O,R,yt):"''"===Pt?"'":Pt.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),Rt}function Or(d,E,R){const _=new Date(0);return _.setFullYear(d,E,R),_.setHours(0,0,0),_}function Bn(d,E){const R=function cn(d){return(0,m.cg1)(d)[m.wAp.LocaleId]}(d);if(zn[R]=zn[R]||{},zn[R][E])return zn[R][E];let _="";switch(E){case"shortDate":_=fe(d,$e.Short);break;case"mediumDate":_=fe(d,$e.Medium);break;case"longDate":_=fe(d,$e.Long);break;case"fullDate":_=fe(d,$e.Full);break;case"shortTime":_=me(d,$e.Short);break;case"mediumTime":_=me(d,$e.Medium);break;case"longTime":_=me(d,$e.Long);break;case"fullTime":_=me(d,$e.Full);break;case"short":const O=Bn(d,"shortTime"),j=Bn(d,"shortDate");_=xt(Ee(d,$e.Short),[O,j]);break;case"medium":const ve=Bn(d,"mediumTime"),Ue=Bn(d,"mediumDate");_=xt(Ee(d,$e.Medium),[ve,Ue]);break;case"long":const yt=Bn(d,"longTime"),Rt=Bn(d,"longDate");_=xt(Ee(d,$e.Long),[yt,Rt]);break;case"full":const Pt=Bn(d,"fullTime"),Et=Bn(d,"fullDate");_=xt(Ee(d,$e.Full),[Pt,Et])}return _&&(zn[R][E]=_),_}function xt(d,E){return E&&(d=d.replace(/\{([^}]+)}/g,function(R,_){return null!=E&&_ in E?E[_]:R})),d}function mt(d,E,R="-",_,O){let j="";(d<0||O&&d<=0)&&(O?d=1-d:(d=-d,j=R));let ve=String(d);for(;ve.length<E;)ve="0"+ve;return _&&(ve=ve.slice(ve.length-E)),j+ve}function zt(d,E,R=0,_=!1,O=!1){return function(j,ve){let Ue=function sr(d,E){switch(d){case vt.FullYear:return E.getFullYear();case vt.Month:return E.getMonth();case vt.Date:return E.getDate();case vt.Hours:return E.getHours();case vt.Minutes:return E.getMinutes();case vt.Seconds:return E.getSeconds();case vt.FractionalSeconds:return E.getMilliseconds();case vt.Day:return E.getDay();default:throw new Error(`Unknown DateType value "${d}".`)}}(d,j);if((R>0||Ue>-R)&&(Ue+=R),d===vt.Hours)0===Ue&&-12===R&&(Ue=12);else if(d===vt.FractionalSeconds)return function os(d,E){return mt(d,3).substring(0,E)}(Ue,E);const yt=Ne(ve,tt.MinusSign);return mt(Ue,E,yt,_,O)}}function Ft(d,E,R=we.Format,_=!1){return function(O,j){return function pr(d,E,R,_,O,j){switch(R){case bt.Months:return function Wt(d,E,R){const _=(0,m.cg1)(d),j=It([_[m.wAp.MonthsFormat],_[m.wAp.MonthsStandalone]],E);return It(j,R)}(E,O,_)[d.getMonth()];case bt.Days:return function dn(d,E,R){const _=(0,m.cg1)(d),j=It([_[m.wAp.DaysFormat],_[m.wAp.DaysStandalone]],E);return It(j,R)}(E,O,_)[d.getDay()];case bt.DayPeriods:const ve=d.getHours(),Ue=d.getMinutes();if(j){const Rt=function Ze(d){const E=(0,m.cg1)(d);return Z(E),(E[m.wAp.ExtraData][2]||[]).map(_=>"string"==typeof _?Qe(_):[Qe(_[0]),Qe(_[1])])}(E),Pt=function ot(d,E,R){const _=(0,m.cg1)(d);Z(_);const j=It([_[m.wAp.ExtraData][0],_[m.wAp.ExtraData][1]],E)||[];return It(j,R)||[]}(E,O,_),Et=Rt.findIndex(ln=>{if(Array.isArray(ln)){const[$t,un]=ln,Xn=ve>=$t.hours&&Ue>=$t.minutes,mr=ve<un.hours||ve===un.hours&&Ue<un.minutes;if($t.hours<un.hours){if(Xn&&mr)return!0}else if(Xn||mr)return!0}else if(ln.hours===ve&&ln.minutes===Ue)return!0;return!1});if(-1!==Et)return Pt[Et]}return function _n(d,E,R){const _=(0,m.cg1)(d),j=It([_[m.wAp.DayPeriodsFormat],_[m.wAp.DayPeriodsStandalone]],E);return It(j,R)}(E,O,_)[ve<12?0:1];case bt.Eras:return function Vt(d,E){return It((0,m.cg1)(d)[m.wAp.Eras],E)}(E,_)[d.getFullYear()<=0?0:1];default:throw new Error(`unexpected translation type ${R}`)}}(O,j,d,E,R,_)}}function Pr(d){return function(E,R,_){const O=-1*_,j=Ne(R,tt.MinusSign),ve=O>0?Math.floor(O/60):Math.ceil(O/60);switch(d){case lt.Short:return(O>=0?"+":"")+mt(ve,2,j)+mt(Math.abs(O%60),2,j);case lt.ShortGMT:return"GMT"+(O>=0?"+":"")+mt(ve,1,j);case lt.Long:return"GMT"+(O>=0?"+":"")+mt(ve,2,j)+":"+mt(Math.abs(O%60),2,j);case lt.Extended:return 0===_?"Z":(O>=0?"+":"")+mt(ve,2,j)+":"+mt(Math.abs(O%60),2,j);default:throw new Error(`Unknown zone width "${d}"`)}}}const Gr=0,Rr=4;function Gn(d){return Or(d.getFullYear(),d.getMonth(),d.getDate()+(Rr-d.getDay()))}function Wr(d,E=!1){return function(R,_){let O;if(E){const j=new Date(R.getFullYear(),R.getMonth(),1).getDay()-1,ve=R.getDate();O=1+Math.floor((ve+j)/7)}else{const j=Gn(R),ve=function bn(d){const E=Or(d,Gr,1).getDay();return Or(d,0,1+(E<=Rr?Rr:Rr+7)-E)}(j.getFullYear()),Ue=j.getTime()-ve.getTime();O=1+Math.round(Ue/6048e5)}return mt(O,d,Ne(_,tt.MinusSign))}}function Ss(d,E=!1){return function(R,_){return mt(Gn(R).getFullYear(),d,Ne(_,tt.MinusSign),E)}}const Wn={};function Kr(d,E){d=d.replace(/:/g,"");const R=Date.parse("Jan 01, 1970 00:00:00 "+d)/6e4;return isNaN(R)?E:R}function ue(d){return d instanceof Date&&!isNaN(d.valueOf())}const H=/^(\d+)?\.((\d+)(-(\d+))?)?$/;function Lt(d){const E=parseInt(d);if(isNaN(E))throw new Error("Invalid integer literal when parsing "+d);return E}function Kn(d,E){E=encodeURIComponent(E);for(const R of d.split(";")){const _=R.indexOf("="),[O,j]=-1==_?[R,""]:[R.slice(0,_),R.slice(_+1)];if(O.trim()===E)return decodeURIComponent(j)}return null}const _r=/\s+/,Dr=[];let Ot=(()=>{var d;class E{constructor(_,O,j,ve){this._iterableDiffers=_,this._keyValueDiffers=O,this._ngEl=j,this._renderer=ve,this.initialClasses=Dr,this.stateMap=new Map}set klass(_){this.initialClasses=null!=_?_.trim().split(_r):Dr}set ngClass(_){this.rawClass="string"==typeof _?_.trim().split(_r):_}ngDoCheck(){for(const O of this.initialClasses)this._updateState(O,!0);const _=this.rawClass;if(Array.isArray(_)||_ instanceof Set)for(const O of _)this._updateState(O,!0);else if(null!=_)for(const O of Object.keys(_))this._updateState(O,!!_[O]);this._applyStateDiff()}_updateState(_,O){const j=this.stateMap.get(_);void 0!==j?(j.enabled!==O&&(j.changed=!0,j.enabled=O),j.touched=!0):this.stateMap.set(_,{enabled:O,changed:!0,touched:!0})}_applyStateDiff(){for(const _ of this.stateMap){const O=_[0],j=_[1];j.changed?(this._toggleClass(O,j.enabled),j.changed=!1):j.touched||(j.enabled&&this._toggleClass(O,!1),this.stateMap.delete(O)),j.touched=!1}}_toggleClass(_,O){(_=_.trim()).length>0&&_.split(_r).forEach(j=>{O?this._renderer.addClass(this._ngEl.nativeElement,j):this._renderer.removeClass(this._ngEl.nativeElement,j)})}}return(d=E).\u0275fac=function(_){return new(_||d)(m.Y36(m.ZZ4),m.Y36(m.aQg),m.Y36(m.SBq),m.Y36(m.Qsj))},d.\u0275dir=m.lG2({type:d,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"},standalone:!0}),E})(),Yt=(()=>{var d;class E{constructor(_){this._viewContainerRef=_,this.ngComponentOutlet=null,this._inputsUsed=new Map}_needToReCreateNgModuleInstance(_){return void 0!==_.ngComponentOutletNgModule||void 0!==_.ngComponentOutletNgModuleFactory}_needToReCreateComponentInstance(_){return void 0!==_.ngComponentOutlet||void 0!==_.ngComponentOutletContent||void 0!==_.ngComponentOutletInjector||this._needToReCreateNgModuleInstance(_)}ngOnChanges(_){if(this._needToReCreateComponentInstance(_)&&(this._viewContainerRef.clear(),this._inputsUsed.clear(),this._componentRef=void 0,this.ngComponentOutlet)){const O=this.ngComponentOutletInjector||this._viewContainerRef.parentInjector;this._needToReCreateNgModuleInstance(_)&&(this._moduleRef?.destroy(),this._moduleRef=this.ngComponentOutletNgModule?(0,m.Lck)(this.ngComponentOutletNgModule,On(O)):this.ngComponentOutletNgModuleFactory?this.ngComponentOutletNgModuleFactory.create(On(O)):void 0),this._componentRef=this._viewContainerRef.createComponent(this.ngComponentOutlet,{injector:O,ngModuleRef:this._moduleRef,projectableNodes:this.ngComponentOutletContent})}}ngDoCheck(){if(this._componentRef){if(this.ngComponentOutletInputs)for(const _ of Object.keys(this.ngComponentOutletInputs))this._inputsUsed.set(_,!0);this._applyInputStateDiff(this._componentRef)}}ngOnDestroy(){this._moduleRef?.destroy()}_applyInputStateDiff(_){for(const[O,j]of this._inputsUsed)j?(_.setInput(O,this.ngComponentOutletInputs[O]),this._inputsUsed.set(O,!1)):(_.setInput(O,void 0),this._inputsUsed.delete(O))}}return(d=E).\u0275fac=function(_){return new(_||d)(m.Y36(m.s_b))},d.\u0275dir=m.lG2({type:d,selectors:[["","ngComponentOutlet",""]],inputs:{ngComponentOutlet:"ngComponentOutlet",ngComponentOutletInputs:"ngComponentOutletInputs",ngComponentOutletInjector:"ngComponentOutletInjector",ngComponentOutletContent:"ngComponentOutletContent",ngComponentOutletNgModule:"ngComponentOutletNgModule",ngComponentOutletNgModuleFactory:"ngComponentOutletNgModuleFactory"},standalone:!0,features:[m.TTD]}),E})();function On(d){return d.get(m.h0i).injector}class or{constructor(E,R,_,O){this.$implicit=E,this.ngForOf=R,this.index=_,this.count=O}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 Jt=(()=>{var d;class E{set ngForOf(_){this._ngForOf=_,this._ngForOfDirty=!0}set ngForTrackBy(_){this._trackByFn=_}get ngForTrackBy(){return this._trackByFn}constructor(_,O,j){this._viewContainer=_,this._template=O,this._differs=j,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}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 O=this._viewContainer;_.forEachOperation((j,ve,Ue)=>{if(null==j.previousIndex)O.createEmbeddedView(this._template,new or(j.item,this._ngForOf,-1,-1),null===Ue?void 0:Ue);else if(null==Ue)O.remove(null===ve?void 0:ve);else if(null!==ve){const yt=O.get(ve);O.move(yt,Ue),ir(yt,j)}});for(let j=0,ve=O.length;j<ve;j++){const yt=O.get(j).context;yt.index=j,yt.count=ve,yt.ngForOf=this._ngForOf}_.forEachIdentityChange(j=>{ir(O.get(j.currentIndex),j)})}static ngTemplateContextGuard(_,O){return!0}}return(d=E).\u0275fac=function(_){return new(_||d)(m.Y36(m.s_b),m.Y36(m.Rgc),m.Y36(m.ZZ4))},d.\u0275dir=m.lG2({type:d,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0}),E})();function ir(d,E){d.context.$implicit=E.item}let En=(()=>{var d;class E{constructor(_,O){this._viewContainer=_,this._context=new Yn,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=O}set ngIf(_){this._context.$implicit=this._context.ngIf=_,this._updateView()}set ngIfThen(_){Zn("ngIfThen",_),this._thenTemplateRef=_,this._thenViewRef=null,this._updateView()}set ngIfElse(_){Zn("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(_,O){return!0}}return(d=E).\u0275fac=function(_){return new(_||d)(m.Y36(m.s_b),m.Y36(m.Rgc))},d.\u0275dir=m.lG2({type:d,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0}),E})();class Yn{constructor(){this.$implicit=null,this.ngIf=null}}function Zn(d,E){if(E&&!E.createEmbeddedView)throw new Error(`${d} must be a TemplateRef, but received '${(0,m.AaK)(E)}'.`)}class hn{constructor(E,R){this._viewContainerRef=E,this._templateRef=R,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(E){E&&!this._created?this.create():!E&&this._created&&this.destroy()}}let xr=(()=>{var d;class E{constructor(){this._defaultViews=[],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.push(_)}_matchCase(_){const O=_==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||O,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),O}_updateDefaultCases(_){if(this._defaultViews.length>0&&_!==this._defaultUsed){this._defaultUsed=_;for(const O of this._defaultViews)O.enforceState(_)}}}return(d=E).\u0275fac=function(_){return new(_||d)},d.\u0275dir=m.lG2({type:d,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"},standalone:!0}),E})(),Er=(()=>{var d;class E{constructor(_,O,j){this.ngSwitch=j,j._addCase(),this._view=new hn(_,O)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}return(d=E).\u0275fac=function(_){return new(_||d)(m.Y36(m.s_b),m.Y36(m.Rgc),m.Y36(xr,9))},d.\u0275dir=m.lG2({type:d,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"},standalone:!0}),E})(),$s=(()=>{var d;class E{constructor(_,O,j){j._addDefault(new hn(_,O))}}return(d=E).\u0275fac=function(_){return new(_||d)(m.Y36(m.s_b),m.Y36(m.Rgc),m.Y36(xr,9))},d.\u0275dir=m.lG2({type:d,selectors:[["","ngSwitchDefault",""]],standalone:!0}),E})(),ar=(()=>{var d;class E{constructor(_,O,j){this._ngEl=_,this._differs=O,this._renderer=j,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(_,O){const[j,ve]=_.split("."),Ue=-1===j.indexOf("-")?void 0:m.JOm.DashCase;null!=O?this._renderer.setStyle(this._ngEl.nativeElement,j,ve?`${O}${ve}`:O,Ue):this._renderer.removeStyle(this._ngEl.nativeElement,j,Ue)}_applyChanges(_){_.forEachRemovedItem(O=>this._setStyle(O.key,null)),_.forEachAddedItem(O=>this._setStyle(O.key,O.currentValue)),_.forEachChangedItem(O=>this._setStyle(O.key,O.currentValue))}}return(d=E).\u0275fac=function(_){return new(_||d)(m.Y36(m.SBq),m.Y36(m.aQg),m.Y36(m.Qsj))},d.\u0275dir=m.lG2({type:d,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0}),E})(),qr=(()=>{var d;class E{constructor(_){this._viewContainerRef=_,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(_){if(_.ngTemplateOutlet||_.ngTemplateOutletInjector){const O=this._viewContainerRef;if(this._viewRef&&O.remove(O.indexOf(this._viewRef)),this.ngTemplateOutlet){const{ngTemplateOutlet:j,ngTemplateOutletContext:ve,ngTemplateOutletInjector:Ue}=this;this._viewRef=O.createEmbeddedView(j,ve,Ue?{injector:Ue}:void 0)}else this._viewRef=null}else this._viewRef&&_.ngTemplateOutletContext&&this.ngTemplateOutletContext&&(this._viewRef.context=this.ngTemplateOutletContext)}}return(d=E).\u0275fac=function(_){return new(_||d)(m.Y36(m.s_b))},d.\u0275dir=m.lG2({type:d,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[m.TTD]}),E})();function gr(d,E){return new m.vHH(2100,!1)}class zs{createSubscription(E,R){return(0,m.rg0)(()=>E.subscribe({next:R,error:_=>{throw _}}))}dispose(E){(0,m.rg0)(()=>E.unsubscribe())}}class Ro{createSubscription(E,R){return E.then(R,_=>{throw _})}dispose(E){}}const Is=new Ro,As=new zs;let ys=(()=>{var d;class E{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(_,O=>this._updateLatestValue(_,O))}_selectStrategy(_){if((0,m.QGY)(_))return Is;if((0,m.F4k)(_))return As;throw gr()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(_,O){_===this._obj&&(this._latestValue=O,this._ref.markForCheck())}}return(d=E).\u0275fac=function(_){return new(_||d)(m.Y36(m.sBO,16))},d.\u0275pipe=m.Yjl({name:"async",type:d,pure:!1,standalone:!0}),E})();const pn=new m.OlP("DATE_PIPE_DEFAULT_TIMEZONE"),Mn=new m.OlP("DATE_PIPE_DEFAULT_OPTIONS");let jn=(()=>{var d;class E{constructor(_,O,j){this.locale=_,this.defaultTimezone=O,this.defaultOptions=j}transform(_,O,j,ve){if(null==_||""===_||_!=_)return null;try{return gn(_,O??this.defaultOptions?.dateFormat??"mediumDate",ve||this.locale,j??this.defaultOptions?.timezone??this.defaultTimezone??void 0)}catch(Ue){throw gr()}}}return(d=E).\u0275fac=function(_){return new(_||d)(m.Y36(m.soG,16),m.Y36(pn,24),m.Y36(Mn,24))},d.\u0275pipe=m.Yjl({name:"date",type:d,pure:!0,standalone:!0}),E})(),Gs=(()=>{var d;class E{transform(_){return JSON.stringify(_,null,2)}}return(d=E).\u0275fac=function(_){return new(_||d)},d.\u0275pipe=m.Yjl({name:"json",type:d,pure:!1,standalone:!0}),E})(),fo=(()=>{var d;class E{constructor(_){this.differs=_,this.keyValues=[],this.compareFn=Xt}transform(_,O=Xt){if(!_||!(_ instanceof Map)&&"object"!=typeof _)return null;this.differ||(this.differ=this.differs.find(_).create());const j=this.differ.diff(_),ve=O!==this.compareFn;return j&&(this.keyValues=[],j.forEachItem(Ue=>{this.keyValues.push(function Cr(d,E){return{key:d,value:E}}(Ue.key,Ue.currentValue))})),(j||ve)&&(this.keyValues.sort(O),this.compareFn=O),this.keyValues}}return(d=E).\u0275fac=function(_){return new(_||d)(m.Y36(m.aQg,16))},d.\u0275pipe=m.Yjl({name:"keyvalue",type:d,pure:!1,standalone:!0}),E})();function Xt(d,E){const R=d.key,_=E.key;if(R===_)return 0;if(void 0===R)return 1;if(void 0===_)return-1;if(null===R)return 1;if(null===_)return-1;if("string"==typeof R&&"string"==typeof _)return R<_?-1:1;if("number"==typeof R&&"number"==typeof _)return R-_;if("boolean"==typeof R&&"boolean"==typeof _)return R<_?-1:1;const O=String(R),j=String(_);return O==j?0:O<j?-1:1}let We=(()=>{var d;class E{constructor(_){this._locale=_}transform(_,O,j){if(!function Pn(d){return!(null==d||""===d||d!=d)}(_))return null;j=j||this._locale;try{return function re(d,E,R){return function z(d,E,R,_,O,j,ve=!1){let Ue="",yt=!1;if(isFinite(d)){let Rt=function Je(d){let _,O,j,ve,Ue,E=Math.abs(d)+"",R=0;for((O=E.indexOf("."))>-1&&(E=E.replace(".","")),(j=E.search(/e/i))>0?(O<0&&(O=j),O+=+E.slice(j+1),E=E.substring(0,j)):O<0&&(O=E.length),j=0;"0"===E.charAt(j);j++);if(j===(Ue=E.length))_=[0],O=1;else{for(Ue--;"0"===E.charAt(Ue);)Ue--;for(O-=j,_=[],ve=0;j<=Ue;j++,ve++)_[ve]=Number(E.charAt(j))}return O>22&&(_=_.splice(0,21),R=O-1,O=1),{digits:_,exponent:R,integerLen:O}}(d);ve&&(Rt=function Oe(d){if(0===d.digits[0])return d;const E=d.digits.length-d.integerLen;return d.exponent?d.exponent+=2:(0===E?d.digits.push(0,0):1===E&&d.digits.push(0),d.integerLen+=2),d}(Rt));let Pt=E.minInt,Et=E.minFrac,ln=E.maxFrac;if(j){const on=j.match(H);if(null===on)throw new Error(`${j} is not a valid digit info`);const Tn=on[1],Un=on[3],fs=on[5];null!=Tn&&(Pt=Lt(Tn)),null!=Un&&(Et=Lt(Un)),null!=fs?ln=Lt(fs):null!=Un&&Et>ln&&(ln=Et)}!function je(d,E,R){if(E>R)throw new Error(`The minimum number of digits after fraction (${E}) is higher than the maximum (${R}).`);let _=d.digits,O=_.length-d.integerLen;const j=Math.min(Math.max(E,O),R);let ve=j+d.integerLen,Ue=_[ve];if(ve>0){_.splice(Math.max(d.integerLen,ve));for(let Et=ve;Et<_.length;Et++)_[Et]=0}else{O=Math.max(0,O),d.integerLen=1,_.length=Math.max(1,ve=j+1),_[0]=0;for(let Et=1;Et<ve;Et++)_[Et]=0}if(Ue>=5)if(ve-1<0){for(let Et=0;Et>ve;Et--)_.unshift(0),d.integerLen++;_.unshift(1),d.integerLen++}else _[ve-1]++;for(;O<Math.max(0,j);O++)_.push(0);let yt=0!==j;const Rt=E+d.integerLen,Pt=_.reduceRight(function(Et,ln,$t,un){return un[$t]=(ln+=Et)<10?ln:ln-10,yt&&(0===un[$t]&&$t>=Rt?un.pop():yt=!1),ln>=10?1:0},0);Pt&&(_.unshift(Pt),d.integerLen++)}(Rt,Et,ln);let $t=Rt.digits,un=Rt.integerLen;const Xn=Rt.exponent;let mr=[];for(yt=$t.every(on=>!on);un<Pt;un++)$t.unshift(0);for(;un<0;un++)$t.unshift(0);un>0?mr=$t.splice(un,$t.length):(mr=$t,$t=[0]);const Ur=[];for($t.length>=E.lgSize&&Ur.unshift($t.splice(-E.lgSize,$t.length).join(""));$t.length>E.gSize;)Ur.unshift($t.splice(-E.gSize,$t.length).join(""));$t.length&&Ur.unshift($t.join("")),Ue=Ur.join(Ne(R,_)),mr.length&&(Ue+=Ne(R,O)+mr.join("")),Xn&&(Ue+=Ne(R,tt.Exponential)+"+"+Xn)}else Ue=Ne(R,tt.Infinity);return Ue=d<0&&!yt?E.negPre+Ue+E.negSuf:E.posPre+Ue+E.posSuf,Ue}(d,function He(d,E="-"){const R={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},_=d.split(";"),O=_[0],j=_[1],ve=-1!==O.indexOf(".")?O.split("."):[O.substring(0,O.lastIndexOf("0")+1),O.substring(O.lastIndexOf("0")+1)],Ue=ve[0],yt=ve[1]||"";R.posPre=Ue.substring(0,Ue.indexOf("#"));for(let Pt=0;Pt<yt.length;Pt++){const Et=yt.charAt(Pt);"0"===Et?R.minFrac=R.maxFrac=Pt+1:"#"===Et?R.maxFrac=Pt+1:R.posSuf+=Et}const Rt=Ue.split(",");if(R.gSize=Rt[1]?Rt[1].length:0,R.lgSize=Rt[2]||Rt[1]?(Rt[2]||Rt[1]).length:0,j){const Pt=O.length-R.posPre.length-R.posSuf.length,Et=j.indexOf("#");R.negPre=j.substring(0,Et).replace(/'/g,""),R.negSuf=j.slice(Et+Pt).replace(/'/g,"")}else R.negPre=E+R.posPre,R.negSuf=R.posSuf;return R}(function xe(d,E){return(0,m.cg1)(d)[m.wAp.NumberFormats][E]}(E,ie.Decimal),Ne(E,tt.MinusSign)),E,tt.Group,tt.Decimal,R)}(function wr(d){if("string"==typeof d&&!isNaN(Number(d)-parseFloat(d)))return Number(d);if("number"!=typeof d)throw new Error(`${d} is not a number`);return d}(_),j,O)}catch(ve){throw gr()}}}return(d=E).\u0275fac=function(_){return new(_||d)(m.Y36(m.soG,16))},d.\u0275pipe=m.Yjl({name:"number",type:d,pure:!0,standalone:!0}),E})();let vn=(()=>{var d;class E{transform(_,O,j){if(null==_)return null;if(!this.supports(_))throw gr();return _.slice(O,j)}supports(_){return"string"==typeof _||Array.isArray(_)}}return(d=E).\u0275fac=function(_){return new(_||d)},d.\u0275pipe=m.Yjl({name:"slice",type:d,pure:!1,standalone:!0}),E})(),sn=(()=>{var d;class E{}return(d=E).\u0275fac=function(_){return new(_||d)},d.\u0275mod=m.oAB({type:d}),d.\u0275inj=m.cJS({}),E})();const lr="browser",is="server";function ko(d){return d===lr}function Ds(d){return d===is}let qn=(()=>{var d;class E{}return(d=E).\u0275prov=(0,m.Yz7)({token:d,providedIn:"root",factory:()=>new Es((0,m.LFG)(U),window)}),E})();class Es{constructor(E,R){this.document=E,this.window=R,this.offset=()=>[0,0]}setOffset(E){this.offset=Array.isArray(E)?()=>E:E}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(E){this.supportsScrolling()&&this.window.scrollTo(E[0],E[1])}scrollToAnchor(E){if(!this.supportsScrolling())return;const R=function ho(d,E){const R=d.getElementById(E)||d.getElementsByName(E)[0];if(R)return R;if("function"==typeof d.createTreeWalker&&d.body&&"function"==typeof d.body.attachShadow){const _=d.createTreeWalker(d.body,NodeFilter.SHOW_ELEMENT);let O=_.currentNode;for(;O;){const j=O.shadowRoot;if(j){const ve=j.getElementById(E)||j.querySelector(`[name="${E}"]`);if(ve)return ve}O=_.nextNode()}}return null}(this.document,E);R&&(this.scrollToElement(R),R.focus())}setHistoryScrollRestoration(E){this.supportsScrolling()&&(this.window.history.scrollRestoration=E)}scrollToElement(E){const R=E.getBoundingClientRect(),_=R.left+this.window.pageXOffset,O=R.top+this.window.pageYOffset,j=this.offset();this.window.scrollTo(_-j[0],O-j[1])}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch{return!1}}}class Jr{}},9862:(Ye,oe,M)=>{M.d(oe,{JF:()=>H,TP:()=>Z,WM:()=>Le,eN:()=>le});var m=M(5879),w=M(2096),te=M(7715),x=M(5592),I=M(6328),U=M(2181),G=M(7398),X=M(4716),se=M(4664),W=M(6814);class ne{}class de{}class Le{constructor(L){this.normalizedNames=new Map,this.lazyUpdate=null,L?"string"==typeof L?this.lazyInit=()=>{this.headers=new Map,L.split("\n").forEach(ae=>{const re=ae.indexOf(":");if(re>0){const He=ae.slice(0,re),Oe=He.toLowerCase(),Je=ae.slice(re+1).trim();this.maybeSetNormalizedName(He,Oe),this.headers.has(Oe)?this.headers.get(Oe).push(Je):this.headers.set(Oe,[Je])}})}:typeof Headers<"u"&&L instanceof Headers?(this.headers=new Map,L.forEach((ae,re)=>{this.setHeaderEntries(re,ae)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(L).forEach(([ae,re])=>{this.setHeaderEntries(ae,re)})}:this.headers=new Map}has(L){return this.init(),this.headers.has(L.toLowerCase())}get(L){this.init();const ae=this.headers.get(L.toLowerCase());return ae&&ae.length>0?ae[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(L){return this.init(),this.headers.get(L.toLowerCase())||null}append(L,ae){return this.clone({name:L,value:ae,op:"a"})}set(L,ae){return this.clone({name:L,value:ae,op:"s"})}delete(L,ae){return this.clone({name:L,value:ae,op:"d"})}maybeSetNormalizedName(L,ae){this.normalizedNames.has(ae)||this.normalizedNames.set(ae,L)}init(){this.lazyInit&&(this.lazyInit instanceof Le?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(L=>this.applyUpdate(L)),this.lazyUpdate=null))}copyFrom(L){L.init(),Array.from(L.headers.keys()).forEach(ae=>{this.headers.set(ae,L.headers.get(ae)),this.normalizedNames.set(ae,L.normalizedNames.get(ae))})}clone(L){const ae=new Le;return ae.lazyInit=this.lazyInit&&this.lazyInit instanceof Le?this.lazyInit:this,ae.lazyUpdate=(this.lazyUpdate||[]).concat([L]),ae}applyUpdate(L){const ae=L.name.toLowerCase();switch(L.op){case"a":case"s":let re=L.value;if("string"==typeof re&&(re=[re]),0===re.length)return;this.maybeSetNormalizedName(L.name,ae);const He=("a"===L.op?this.headers.get(ae):void 0)||[];He.push(...re),this.headers.set(ae,He);break;case"d":const Oe=L.value;if(Oe){let Je=this.headers.get(ae);if(!Je)return;Je=Je.filter(je=>-1===Oe.indexOf(je)),0===Je.length?(this.headers.delete(ae),this.normalizedNames.delete(ae)):this.headers.set(ae,Je)}else this.headers.delete(ae),this.normalizedNames.delete(ae)}}setHeaderEntries(L,ae){const re=(Array.isArray(ae)?ae:[ae]).map(Oe=>Oe.toString()),He=L.toLowerCase();this.headers.set(He,re),this.maybeSetNormalizedName(L,He)}forEach(L){this.init(),Array.from(this.normalizedNames.keys()).forEach(ae=>L(this.normalizedNames.get(ae),this.headers.get(ae)))}}class Te{encodeKey(L){return rt(L)}encodeValue(L){return rt(L)}decodeKey(L){return decodeURIComponent(L)}decodeValue(L){return decodeURIComponent(L)}}const Be=/%(\d[a-f0-9])/gi,Xe={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function rt(z){return encodeURIComponent(z).replace(Be,(L,ae)=>Xe[ae]??L)}function Ce(z){return`${z}`}class F{constructor(L={}){if(this.updates=null,this.cloneFrom=null,this.encoder=L.encoder||new Te,L.fromString){if(L.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function be(z,L){const ae=new Map;return z.length>0&&z.replace(/^\?/,"").split("&").forEach(He=>{const Oe=He.indexOf("="),[Je,je]=-1==Oe?[L.decodeKey(He),""]:[L.decodeKey(He.slice(0,Oe)),L.decodeValue(He.slice(Oe+1))],Lt=ae.get(Je)||[];Lt.push(je),ae.set(Je,Lt)}),ae}(L.fromString,this.encoder)}else L.fromObject?(this.map=new Map,Object.keys(L.fromObject).forEach(ae=>{const re=L.fromObject[ae],He=Array.isArray(re)?re.map(Ce):[Ce(re)];this.map.set(ae,He)})):this.map=null}has(L){return this.init(),this.map.has(L)}get(L){this.init();const ae=this.map.get(L);return ae?ae[0]:null}getAll(L){return this.init(),this.map.get(L)||null}keys(){return this.init(),Array.from(this.map.keys())}append(L,ae){return this.clone({param:L,value:ae,op:"a"})}appendAll(L){const ae=[];return Object.keys(L).forEach(re=>{const He=L[re];Array.isArray(He)?He.forEach(Oe=>{ae.push({param:re,value:Oe,op:"a"})}):ae.push({param:re,value:He,op:"a"})}),this.clone(ae)}set(L,ae){return this.clone({param:L,value:ae,op:"s"})}delete(L,ae){return this.clone({param:L,value:ae,op:"d"})}toString(){return this.init(),this.keys().map(L=>{const ae=this.encoder.encodeKey(L);return this.map.get(L).map(re=>ae+"="+this.encoder.encodeValue(re)).join("&")}).filter(L=>""!==L).join("&")}clone(L){const ae=new F({encoder:this.encoder});return ae.cloneFrom=this.cloneFrom||this,ae.updates=(this.updates||[]).concat(L),ae}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(L=>this.map.set(L,this.cloneFrom.map.get(L))),this.updates.forEach(L=>{switch(L.op){case"a":case"s":const ae=("a"===L.op?this.map.get(L.param):void 0)||[];ae.push(Ce(L.value)),this.map.set(L.param,ae);break;case"d":if(void 0===L.value){this.map.delete(L.param);break}{let re=this.map.get(L.param)||[];const He=re.indexOf(Ce(L.value));-1!==He&&re.splice(He,1),re.length>0?this.map.set(L.param,re):this.map.delete(L.param)}}}),this.cloneFrom=this.updates=null)}}class ie{constructor(){this.map=new Map}set(L,ae){return this.map.set(L,ae),this}get(L){return this.map.has(L)||this.map.set(L,L.defaultValue()),this.map.get(L)}delete(L){return this.map.delete(L),this}has(L){return this.map.has(L)}keys(){return this.map.keys()}}function we(z){return typeof ArrayBuffer<"u"&&z instanceof ArrayBuffer}function Ae(z){return typeof Blob<"u"&&z instanceof Blob}function $e(z){return typeof FormData<"u"&&z instanceof FormData}class Dt{constructor(L,ae,re,He){let Oe;if(this.url=ae,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=L.toUpperCase(),function ke(z){switch(z){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||He?(this.body=void 0!==re?re:null,Oe=He):Oe=re,Oe&&(this.reportProgress=!!Oe.reportProgress,this.withCredentials=!!Oe.withCredentials,Oe.responseType&&(this.responseType=Oe.responseType),Oe.headers&&(this.headers=Oe.headers),Oe.context&&(this.context=Oe.context),Oe.params&&(this.params=Oe.params)),this.headers||(this.headers=new Le),this.context||(this.context=new ie),this.params){const Je=this.params.toString();if(0===Je.length)this.urlWithParams=ae;else{const je=ae.indexOf("?");this.urlWithParams=ae+(-1===je?"?":je<ae.length-1?"&":"")+Je}}else this.params=new F,this.urlWithParams=ae}serializeBody(){return null===this.body?null:we(this.body)||Ae(this.body)||$e(this.body)||function tt(z){return typeof URLSearchParams<"u"&&z instanceof URLSearchParams}(this.body)||"string"==typeof this.body?this.body:this.body instanceof F?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||$e(this.body)?null:Ae(this.body)?this.body.type||null:we(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof F?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||"boolean"==typeof this.body?"application/json":null}clone(L={}){const ae=L.method||this.method,re=L.url||this.url,He=L.responseType||this.responseType,Oe=void 0!==L.body?L.body:this.body,Je=void 0!==L.withCredentials?L.withCredentials:this.withCredentials,je=void 0!==L.reportProgress?L.reportProgress:this.reportProgress;let Lt=L.headers||this.headers,wt=L.params||this.params;const Cn=L.context??this.context;return void 0!==L.setHeaders&&(Lt=Object.keys(L.setHeaders).reduce((An,rn)=>An.set(rn,L.setHeaders[rn]),Lt)),L.setParams&&(wt=Object.keys(L.setParams).reduce((An,rn)=>An.set(rn,L.setParams[rn]),wt)),new Dt(ae,re,Oe,{params:wt,headers:Lt,context:Cn,reportProgress:je,responseType:He,withCredentials:Je})}}var cn=function(z){return z[z.Sent=0]="Sent",z[z.UploadProgress=1]="UploadProgress",z[z.ResponseHeader=2]="ResponseHeader",z[z.DownloadProgress=3]="DownloadProgress",z[z.Response=4]="Response",z[z.User=5]="User",z}(cn||{});class _n{constructor(L,ae=200,re="OK"){this.headers=L.headers||new Le,this.status=void 0!==L.status?L.status:ae,this.statusText=L.statusText||re,this.url=L.url||null,this.ok=this.status>=200&&this.status<300}}class dn extends _n{constructor(L={}){super(L),this.type=cn.ResponseHeader}clone(L={}){return new dn({headers:L.headers||this.headers,status:void 0!==L.status?L.status:this.status,statusText:L.statusText||this.statusText,url:L.url||this.url||void 0})}}class Wt extends _n{constructor(L={}){super(L),this.type=cn.Response,this.body=void 0!==L.body?L.body:null}clone(L={}){return new Wt({body:void 0!==L.body?L.body:this.body,headers:L.headers||this.headers,status:void 0!==L.status?L.status:this.status,statusText:L.statusText||this.statusText,url:L.url||this.url||void 0})}}class Vt extends _n{constructor(L){super(L,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${L.url||"(unknown url)"}`:`Http failure response for ${L.url||"(unknown url)"}: ${L.status} ${L.statusText}`,this.error=L.error||null}}function nn(z,L){return{body:L,headers:z.headers,context:z.context,observe:z.observe,params:z.params,reportProgress:z.reportProgress,responseType:z.responseType,withCredentials:z.withCredentials}}let le=(()=>{var z;class L{constructor(re){this.handler=re}request(re,He,Oe={}){let Je;if(re instanceof Dt)Je=re;else{let wt,Cn;wt=Oe.headers instanceof Le?Oe.headers:new Le(Oe.headers),Oe.params&&(Cn=Oe.params instanceof F?Oe.params:new F({fromObject:Oe.params})),Je=new Dt(re,He,void 0!==Oe.body?Oe.body:null,{headers:wt,context:Oe.context,params:Cn,reportProgress:Oe.reportProgress,responseType:Oe.responseType||"json",withCredentials:Oe.withCredentials})}const je=(0,w.of)(Je).pipe((0,I.b)(wt=>this.handler.handle(wt)));if(re instanceof Dt||"events"===Oe.observe)return je;const Lt=je.pipe((0,U.h)(wt=>wt instanceof Wt));switch(Oe.observe||"body"){case"body":switch(Je.responseType){case"arraybuffer":return Lt.pipe((0,G.U)(wt=>{if(null!==wt.body&&!(wt.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return wt.body}));case"blob":return Lt.pipe((0,G.U)(wt=>{if(null!==wt.body&&!(wt.body instanceof Blob))throw new Error("Response is not a Blob.");return wt.body}));case"text":return Lt.pipe((0,G.U)(wt=>{if(null!==wt.body&&"string"!=typeof wt.body)throw new Error("Response is not a string.");return wt.body}));default:return Lt.pipe((0,G.U)(wt=>wt.body))}case"response":return Lt;default:throw new Error(`Unreachable: unhandled observe type ${Oe.observe}}`)}}delete(re,He={}){return this.request("DELETE",re,He)}get(re,He={}){return this.request("GET",re,He)}head(re,He={}){return this.request("HEAD",re,He)}jsonp(re,He){return this.request("JSONP",re,{params:(new F).append(He,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(re,He={}){return this.request("OPTIONS",re,He)}patch(re,He,Oe={}){return this.request("PATCH",re,nn(Oe,He))}post(re,He,Oe={}){return this.request("POST",re,nn(Oe,He))}put(re,He,Oe={}){return this.request("PUT",re,nn(Oe,He))}}return(z=L).\u0275fac=function(re){return new(re||z)(m.LFG(ne))},z.\u0275prov=m.Yz7({token:z,factory:z.\u0275fac}),L})();function ye(z,L){return L(z)}function _e(z,L){return(ae,re)=>L.intercept(ae,{handle:He=>z(He,re)})}const Z=new m.OlP(""),Ze=new m.OlP(""),ot=new m.OlP("");function Kt(){let z=null;return(L,ae)=>{null===z&&(z=((0,m.f3M)(Z,{optional:!0})??[]).reduceRight(_e,ye));const re=(0,m.f3M)(m.HDt),He=re.add();return z(L,ae).pipe((0,X.x)(()=>re.remove(He)))}}let It=(()=>{var z;class L extends ne{constructor(re,He){super(),this.backend=re,this.injector=He,this.chain=null,this.pendingTasks=(0,m.f3M)(m.HDt)}handle(re){if(null===this.chain){const Oe=Array.from(new Set([...this.injector.get(Ze),...this.injector.get(ot,[])]));this.chain=Oe.reduceRight((Je,je)=>function K(z,L,ae){return(re,He)=>ae.runInContext(()=>L(re,Oe=>z(Oe,He)))}(Je,je,this.injector),ye)}const He=this.pendingTasks.add();return this.chain(re,Oe=>this.backend.handle(Oe)).pipe((0,X.x)(()=>this.pendingTasks.remove(He)))}}return(z=L).\u0275fac=function(re){return new(re||z)(m.LFG(de),m.LFG(m.lqb))},z.\u0275prov=m.Yz7({token:z,factory:z.\u0275fac}),L})();const Or=/^\)\]\}',?\n/;let xt=(()=>{var z;class L{constructor(re){this.xhrFactory=re}handle(re){if("JSONP"===re.method)throw new m.vHH(-2800,!1);const He=this.xhrFactory;return(He.\u0275loadImpl?(0,te.D)(He.\u0275loadImpl()):(0,w.of)(null)).pipe((0,se.w)(()=>new x.y(Je=>{const je=He.build();if(je.open(re.method,re.urlWithParams),re.withCredentials&&(je.withCredentials=!0),re.headers.forEach((Ot,Yt)=>je.setRequestHeader(Ot,Yt.join(","))),re.headers.has("Accept")||je.setRequestHeader("Accept","application/json, text/plain, */*"),!re.headers.has("Content-Type")){const Ot=re.detectContentTypeHeader();null!==Ot&&je.setRequestHeader("Content-Type",Ot)}if(re.responseType){const Ot=re.responseType.toLowerCase();je.responseType="json"!==Ot?Ot:"text"}const Lt=re.serializeBody();let wt=null;const Cn=()=>{if(null!==wt)return wt;const Ot=je.statusText||"OK",Yt=new Le(je.getAllResponseHeaders()),On=function Bn(z){return"responseURL"in z&&z.responseURL?z.responseURL:/^X-Request-URL:/m.test(z.getAllResponseHeaders())?z.getResponseHeader("X-Request-URL"):null}(je)||re.url;return wt=new dn({headers:Yt,status:je.status,statusText:Ot,url:On}),wt},An=()=>{let{headers:Ot,status:Yt,statusText:On,url:or}=Cn(),Jt=null;204!==Yt&&(Jt=typeof je.response>"u"?je.responseText:je.response),0===Yt&&(Yt=Jt?200:0);let ir=Yt>=200&&Yt<300;if("json"===re.responseType&&"string"==typeof Jt){const Yr=Jt;Jt=Jt.replace(Or,"");try{Jt=""!==Jt?JSON.parse(Jt):null}catch(En){Jt=Yr,ir&&(ir=!1,Jt={error:En,text:Jt})}}ir?(Je.next(new Wt({body:Jt,headers:Ot,status:Yt,statusText:On,url:or||void 0})),Je.complete()):Je.error(new Vt({error:Jt,headers:Ot,status:Yt,statusText:On,url:or||void 0}))},rn=Ot=>{const{url:Yt}=Cn(),On=new Vt({error:Ot,status:je.status||0,statusText:je.statusText||"Unknown Error",url:Yt||void 0});Je.error(On)};let Kn=!1;const _r=Ot=>{Kn||(Je.next(Cn()),Kn=!0);let Yt={type:cn.DownloadProgress,loaded:Ot.loaded};Ot.lengthComputable&&(Yt.total=Ot.total),"text"===re.responseType&&je.responseText&&(Yt.partialText=je.responseText),Je.next(Yt)},Dr=Ot=>{let Yt={type:cn.UploadProgress,loaded:Ot.loaded};Ot.lengthComputable&&(Yt.total=Ot.total),Je.next(Yt)};return je.addEventListener("load",An),je.addEventListener("error",rn),je.addEventListener("timeout",rn),je.addEventListener("abort",rn),re.reportProgress&&(je.addEventListener("progress",_r),null!==Lt&&je.upload&&je.upload.addEventListener("progress",Dr)),je.send(Lt),Je.next({type:cn.Sent}),()=>{je.removeEventListener("error",rn),je.removeEventListener("abort",rn),je.removeEventListener("load",An),je.removeEventListener("timeout",rn),re.reportProgress&&(je.removeEventListener("progress",_r),null!==Lt&&je.upload&&je.upload.removeEventListener("progress",Dr)),je.readyState!==je.DONE&&je.abort()}})))}}return(z=L).\u0275fac=function(re){return new(re||z)(m.LFG(W.JF))},z.\u0275prov=m.Yz7({token:z,factory:z.\u0275fac}),L})();const mt=new m.OlP("XSRF_ENABLED"),zt=new m.OlP("XSRF_COOKIE_NAME",{providedIn:"root",factory:()=>"XSRF-TOKEN"}),Ft=new m.OlP("XSRF_HEADER_NAME",{providedIn:"root",factory:()=>"X-XSRF-TOKEN"});class pr{}let Pr=(()=>{var z;class L{constructor(re,He,Oe){this.doc=re,this.platform=He,this.cookieName=Oe,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const re=this.doc.cookie||"";return re!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,W.Mx)(re,this.cookieName),this.lastCookieString=re),this.lastToken}}return(z=L).\u0275fac=function(re){return new(re||z)(m.LFG(W.K0),m.LFG(m.Lbi),m.LFG(zt))},z.\u0275prov=m.Yz7({token:z,factory:z.\u0275fac}),L})();function Gr(z,L){const ae=z.url.toLowerCase();if(!(0,m.f3M)(mt)||"GET"===z.method||"HEAD"===z.method||ae.startsWith("http://")||ae.startsWith("https://"))return L(z);const re=(0,m.f3M)(pr).getToken(),He=(0,m.f3M)(Ft);return null!=re&&!z.headers.has(He)&&(z=z.clone({headers:z.headers.set(He,re)})),L(z)}var bn=function(z){return z[z.Interceptors=0]="Interceptors",z[z.LegacyInterceptors=1]="LegacyInterceptors",z[z.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",z[z.NoXsrfProtection=3]="NoXsrfProtection",z[z.JsonpSupport=4]="JsonpSupport",z[z.RequestsMadeViaParent=5]="RequestsMadeViaParent",z[z.Fetch=6]="Fetch",z}(bn||{});function Gn(z,L){return{\u0275kind:z,\u0275providers:L}}function Wr(...z){const L=[le,xt,It,{provide:ne,useExisting:It},{provide:de,useExisting:xt},{provide:Ze,useValue:Gr,multi:!0},{provide:mt,useValue:!0},{provide:pr,useClass:Pr}];for(const ae of z)L.push(...ae.\u0275providers);return(0,m.MR2)(L)}const Wn=new m.OlP("LEGACY_INTERCEPTOR_FN");let H=(()=>{var z;class L{}return(z=L).\u0275fac=function(re){return new(re||z)},z.\u0275mod=m.oAB({type:z}),z.\u0275inj=m.cJS({providers:[Wr(Gn(bn.LegacyInterceptors,[{provide:Wn,useFactory:Kt},{provide:Ze,useExisting:Wn,multi:!0}]))]}),L})()},5879:(Ye,oe,M)=>{M.d(oe,{$8M:()=>$u,$WT:()=>jn,$Z:()=>sp,AFp:()=>bh,ALo:()=>Hm,AaK:()=>de,Akn:()=>Bs,AsE:()=>Ed,BQk:()=>gu,CHM:()=>Aa,CRH:()=>ov,DdM:()=>Om,Dn7:()=>zm,EJc:()=>wb,EiD:()=>hh,EpF:()=>qp,F$t:()=>ng,F4k:()=>Qp,FYo:()=>Ph,FiY:()=>Tl,G48:()=>sM,Gf:()=>rv,GfV:()=>Rh,GkF:()=>ud,Gpc:()=>Te,Gre:()=>Fg,HDt:()=>Iv,Hsn:()=>rg,Ikx:()=>Cd,JOm:()=>xl,JVY:()=>k_,JZr:()=>Ce,KtG:()=>ri,L6k:()=>L_,LAX:()=>j_,LFG:()=>Ge,LSH:()=>hc,Lbi:()=>Cc,Lck:()=>mw,MAs:()=>Kp,MGl:()=>mu,MMx:()=>Cm,MR2:()=>gc,NdJ:()=>dd,O4$:()=>at,Ojb:()=>fD,OlP:()=>Qt,Oqu:()=>Dd,P3R:()=>mh,PXZ:()=>qb,Q6J:()=>id,QGY:()=>cd,QbO:()=>dD,Qsj:()=>SD,R0b:()=>hr,RDi:()=>A_,Rgc:()=>dl,SBq:()=>Ka,Sil:()=>Tb,Suo:()=>sv,TTD:()=>Pt,TgZ:()=>fu,Tol:()=>_g,Udp:()=>vd,VKq:()=>Pm,VuI:()=>RM,W1O:()=>uv,WFA:()=>fd,WLB:()=>Rm,XFs:()=>lt,Xpm:()=>zs,Xq5:()=>Pp,Xts:()=>Va,Y36:()=>Ji,YKP:()=>Dm,YNc:()=>zp,Yjl:()=>_s,Yz7:()=>Z,Z0I:()=>It,ZZ4:()=>nf,_Bn:()=>_m,_UZ:()=>ld,_Vd:()=>Wa,_c5:()=>DM,_uU:()=>Tg,aQg:()=>rf,c2e:()=>Sv,cJS:()=>ot,cg1:()=>bd,d8E:()=>wd,dDg:()=>Wb,dqk:()=>xt,eBb:()=>B_,eFA:()=>Bv,eJc:()=>Ud,ekj:()=>yd,eoX:()=>xv,f3M:()=>st,g9A:()=>Mh,h0i:()=>hi,hGG:()=>EM,hij:()=>_u,iGM:()=>nv,ifc:()=>Oe,ip1:()=>Tv,jDz:()=>wm,kEZ:()=>Nm,kL8:()=>Gg,kcU:()=>Bt,l5B:()=>xm,lG2:()=>No,lcZ:()=>$m,lqb:()=>so,lri:()=>Rv,mCW:()=>Vl,n5z:()=>vf,n_E:()=>bu,oAB:()=>ys,oJD:()=>ph,oxw:()=>tg,pB0:()=>U_,q3G:()=>li,qFp:()=>xM,qLn:()=>Vo,qOj:()=>Jc,qZA:()=>hu,qbA:()=>Fm,qzn:()=>Gi,rWj:()=>Nv,rg0:()=>O,s9C:()=>hd,sBO:()=>oM,s_b:()=>Su,soG:()=>Au,tb:()=>qd,tp0:()=>Sl,uIk:()=>ed,vHH:()=>F,vpe:()=>oo,wAp:()=>da,xi3:()=>Vm,xp6:()=>np,ynx:()=>pu,z2F:()=>ga,z3N:()=>So,zSh:()=>yc,zs3:()=>Ls});var m=M(8645),w=M(7394),te=M(5592),x=M(3019),I=M(5619),U=M(2096),G=M(3020),X=M(4664),se=M(3997);function W(e){for(let t in e)if(e[t]===W)return t;throw Error("Could not find renamed property on target object.")}function ne(e,t){for(const n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function de(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(de).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 Le(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const Me=W({__forward_ref__:W});function Te(e){return e.__forward_ref__=Te,e.toString=function(){return de(this())},e}function be(e){return Be(e)?e():e}function Be(e){return"function"==typeof e&&e.hasOwnProperty(Me)&&e.__forward_ref__===Te}function Xe(e){return e&&!!e.\u0275providers}const Ce="https://g.co/ng/security#xss";class F extends Error{constructor(t,n){super(function he(e,t){return`NG0${Math.abs(e)}${t?": "+t:""}`}(t,n)),this.code=t}}function ie(e){return"string"==typeof e?e:null==e?"":String(e)}function tt(e,t){throw new F(-201,!1)}function et(e,t){null==e&&function Q(e,t,n,r){throw new Error(`ASSERTION ERROR: ${e}`+(null==r?"":` [Expected=> ${n} ${r} ${t} <=Actual]`))}(t,e,null,"!=")}function Z(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function ot(e){return{providers:e.providers||[],imports:e.imports||[]}}function Kt(e){return Qe(e,Dn)||Qe(e,zn)}function It(e){return null!==Kt(e)}function Qe(e,t){return e.hasOwnProperty(t)?e[t]:null}function Ln(e){return e&&(e.hasOwnProperty(Ar)||e.hasOwnProperty(In))?e[Ar]:null}const Dn=W({\u0275prov:W}),Ar=W({\u0275inj:W}),zn=W({ngInjectableDef:W}),In=W({ngInjectorDef:W});var lt=function(e){return e[e.Default=0]="Default",e[e.Host=1]="Host",e[e.Self=2]="Self",e[e.SkipSelf=4]="SkipSelf",e[e.Optional=8]="Optional",e}(lt||{});let vt;function gn(e){const t=vt;return vt=e,t}function Or(e,t,n){const r=Kt(e);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:n&lt.Optional?null:void 0!==t?t:void tt(de(e))}const xt=globalThis,Wn={},Nr="__NG_DI_FLAG__",Kr="ngTempTokenPath",uo=/\n/gm,V="__source";let ue;function ee(e){const t=ue;return ue=e,t}function Re(e,t=lt.Default){if(void 0===ue)throw new F(-203,!1);return null===ue?Or(e,void 0,t):ue.get(e,t&lt.Optional?null:void 0,t)}function Ge(e,t=lt.Default){return(function bt(){return vt}()||Re)(be(e),t)}function st(e,t=lt.Default){return Ge(e,jt(t))}function jt(e){return typeof e>"u"||"number"==typeof e?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function fn(e){const t=[];for(let n=0;n<e.length;n++){const r=be(e[n]);if(Array.isArray(r)){if(0===r.length)throw new F(900,!1);let s,o=lt.Default;for(let a=0;a<r.length;a++){const c=r[a],g=z(c);"number"==typeof g?-1===g?s=c.token:o|=g:s=c}t.push(Ge(s,o))}else t.push(Ge(r))}return t}function mn(e,t){return e[Nr]=t,e.prototype[Nr]=t,e}function z(e){return e[Nr]}function re(e){return{toString:e}.toString()}var He=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}(He||{}),Oe=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}(Oe||{});const Je={},je=[],Lt=W({\u0275cmp:W}),wt=W({\u0275dir:W}),Cn=W({\u0275pipe:W}),An=W({\u0275mod:W}),rn=W({\u0275fac:W}),Kn=W({__NG_ELEMENT_ID__:W}),_r=W({__NG_ENV_ID__:W});function Dr(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 o=t.length;if(s+o===r||e.charCodeAt(s+o)<=32)return s}n=s+1}}function Ot(e,t,n){let r=0;for(;r<n.length;){const s=n[r];if("number"==typeof s){if(0!==s)break;r++;const o=n[r++],a=n[r++],c=n[r++];e.setAttribute(t,a,c,o)}else{const o=s,a=n[++r];On(o)?e.setProperty(t,o,a):e.setAttribute(t,o,a),r++}}return r}function Yt(e){return 3===e||4===e||6===e}function On(e){return 64===e.charCodeAt(0)}function or(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||Jt(e,n,s,null,-1===n||2===n?t[++r]:null)}}return e}function Jt(e,t,n,r,s){let o=0,a=e.length;if(-1===t)a=-1;else for(;o<e.length;){const c=e[o++];if("number"==typeof c){if(c===t){a=-1;break}if(c>t){a=o-1;break}}}for(;o<e.length;){const c=e[o];if("number"==typeof c)break;if(c===n){if(null===r)return void(null!==s&&(e[o+1]=s));if(r===e[o+1])return void(e[o+2]=s)}o++,null!==r&&o++,null!==s&&o++}-1!==a&&(e.splice(a,0,t),o=a+1),e.splice(o++,0,n),null!==r&&e.splice(o++,0,r),null!==s&&e.splice(o++,0,s)}const ir="ng-template";function Yr(e,t,n){let r=0,s=!0;for(;r<e.length;){let o=e[r++];if("string"==typeof o&&s){const a=e[r++];if(n&&"class"===o&&-1!==Dr(a.toLowerCase(),t,0))return!0}else{if(1===o){for(;r<e.length&&"string"==typeof(o=e[r++]);)if(o.toLowerCase()===t)return!0;return!1}"number"==typeof o&&(s=!1)}}return!1}function En(e){return 4===e.type&&e.value!==ir}function Yn(e,t,n){return t===(4!==e.type||n?e.value:ir)}function Zn(e,t,n){let r=4;const s=e.attrs||[],o=function gi(e){for(let t=0;t<e.length;t++)if(Yt(e[t]))return t;return e.length}(s);let a=!1;for(let c=0;c<t.length;c++){const g=t[c];if("number"!=typeof g){if(!a)if(4&r){if(r=2|1&r,""!==g&&!Yn(e,g,n)||""===g&&1===t.length){if(hn(r))return!1;a=!0}}else{const b=8&r?g:t[++c];if(8&r&&null!==e.attrs){if(!Yr(e.attrs,b,n)){if(hn(r))return!1;a=!0}continue}const N=xr(8&r?"class":g,s,En(e),n);if(-1===N){if(hn(r))return!1;a=!0;continue}if(""!==b){let $;$=N>o?"":s[N+1].toLowerCase();const q=8&r?$:null;if(q&&-1!==Dr(q,b,0)||2&r&&b!==$){if(hn(r))return!1;a=!0}}}}else{if(!a&&!hn(r)&&!hn(g))return!1;if(a&&hn(g))continue;a=!1,r=g|1&r}}return hn(r)||a}function hn(e){return 0==(1&e)}function xr(e,t,n,r){if(null===t)return-1;let s=0;if(r||!n){let o=!1;for(;s<t.length;){const a=t[s];if(a===e)return s;if(3===a||6===a)o=!0;else{if(1===a||2===a){let c=t[++s];for(;"string"==typeof c;)c=t[++s];continue}if(4===a)break;if(0===a){s+=4;continue}}s+=o?1:2}return-1}return function co(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 Er(e,t,n=!1){for(let r=0;r<t.length;r++)if(Zn(e,t[r],n))return!0;return!1}function Zr(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 ar(e,t){return e?":not("+t.trim()+")":t}function qr(e){let t=e[0],n=1,r=2,s="",o=!1;for(;n<e.length;){let a=e[n];if("string"==typeof a)if(2&r){const c=e[++n];s+="["+a+(c.length>0?'="'+c+'"':"")+"]"}else 8&r?s+="."+a:4&r&&(s+=" "+a);else""!==s&&!hn(a)&&(t+=ar(o,s),s=""),r=a,o=o||!hn(r);n++}return""!==s&&(t+=ar(o,s)),t}function zs(e){return re(()=>{const t=xo(e),n={...t,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===He.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||Oe.Emulated,styles:e.styles||je,_:null,schemas:e.schemas||null,tView:null,id:""};Fo(n);const r=e.dependencies;return n.directiveDefs=Gs(r,!1),n.pipeDefs=Gs(r,!0),n.id=function fo(e){let t=0;const n=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,e.consts,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery].join("|");for(const s of n)t=Math.imul(31,t)+s.charCodeAt(0)<<0;return t+=2147483648,"c"+t}(n),n})}function Is(e){return ct(e)||pn(e)}function As(e){return null!==e}function ys(e){return re(()=>({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}))}function mi(e,t){if(null==e)return Je;const n={};for(const r in e)if(e.hasOwnProperty(r)){let s=e[r],o=s;Array.isArray(s)&&(o=s[1],s=s[0]),n[s]=r,t&&(t[s]=o)}return n}function No(e){return re(()=>{const t=xo(e);return Fo(t),t})}function _s(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 ct(e){return e[Lt]||null}function pn(e){return e[wt]||null}function Mn(e){return e[Cn]||null}function jn(e){const t=ct(e)||pn(e)||Mn(e);return null!==t&&t.standalone}function wn(e,t){const n=e[An]||null;if(!n&&!0===t)throw new Error(`Type ${de(e)} does not have '\u0275mod' property.`);return n}function xo(e){const t={};return{type:e.type,providersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputTransforms:null,inputConfig:e.inputs||Je,exportAs:e.exportAs||null,standalone:!0===e.standalone,signals:!0===e.signals,selectors:e.selectors||je,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:mi(e.inputs,t),outputs:mi(e.outputs)}}function Fo(e){e.features?.forEach(t=>t(e))}function Gs(e,t){if(!e)return null;const n=t?Mn:Is;return()=>("function"==typeof e?e():e).map(r=>n(r)).filter(As)}const Xt=0,We=1,dt=2,Ut=3,Pn=4,wr=5,vn=6,Fr=7,sn=8,lr=9,is=10,ht=11,kr=12,ko=13,Ds=14,Ht=15,as=16,Qr=17,qn=18,Es=19,ho=20,ls=21,Jr=22,po=23,Xr=24,Tt=25,Ws=1,Ps=2,Qn=7,Rn=9,en=11;function Jn(e){return Array.isArray(e)&&"object"==typeof e[Ws]}function Nn(e){return Array.isArray(e)&&!0===e[Ws]}function Rs(e){return 0!=(4&e.flags)}function ur(e){return e.componentOffset>-1}function Ys(e){return 1==(1&e.flags)}function Lr(e){return!!e.template}function es(e){return 0!=(512&e[dt])}function cs(e,t){return e.hasOwnProperty(rn)?e[rn]:null}let yn=null,Cs=!1;function xn(e){const t=yn;return yn=e,t}const Br={version:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{}};function dr(e){if(!ws(e)||e.dirty){if(!e.producerMustRecompute(e)&&!Eo(e))return void(e.dirty=!1);e.producerRecomputeValue(e),e.dirty=!1}}function _o(e){e.dirty=!0,function ds(e){if(void 0===e.liveConsumerNode)return;const t=Cs;Cs=!0;try{for(const n of e.liveConsumerNode)n.dirty||_o(n)}finally{Cs=t}}(e),e.consumerMarkedDirty?.(e)}function Do(e){return e&&(e.nextProducerIndex=0),xn(e)}function Qs(e,t){if(xn(t),e&&void 0!==e.producerNode&&void 0!==e.producerIndexOfThis&&void 0!==e.producerLastReadVersion){if(ws(e))for(let n=e.nextProducerIndex;n<e.producerNode.length;n++)Co(e.producerNode[n],e.producerIndexOfThis[n]);for(;e.producerNode.length>e.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function Eo(e){jr(e);for(let t=0;t<e.producerNode.length;t++){const n=e.producerNode[t],r=e.producerLastReadVersion[t];if(r!==n.version||(dr(n),r!==n.version))return!0}return!1}function Js(e){if(jr(e),ws(e))for(let t=0;t<e.producerNode.length;t++)Co(e.producerNode[t],e.producerIndexOfThis[t]);e.producerNode.length=e.producerLastReadVersion.length=e.producerIndexOfThis.length=0,e.liveConsumerNode&&(e.liveConsumerNode.length=e.liveConsumerIndexOfThis.length=0)}function Co(e,t){if(function jo(e){e.liveConsumerNode??=[],e.liveConsumerIndexOfThis??=[]}(e),jr(e),1===e.liveConsumerNode.length)for(let r=0;r<e.producerNode.length;r++)Co(e.producerNode[r],e.producerIndexOfThis[r]);const n=e.liveConsumerNode.length-1;if(e.liveConsumerNode[t]=e.liveConsumerNode[n],e.liveConsumerIndexOfThis[t]=e.liveConsumerIndexOfThis[n],e.liveConsumerNode.length--,e.liveConsumerIndexOfThis.length--,t<e.liveConsumerNode.length){const r=e.liveConsumerIndexOfThis[t],s=e.liveConsumerNode[t];jr(s),s.producerIndexOfThis[r]=t}}function ws(e){return e.consumerIsAlwaysLive||(e?.liveConsumerNode?.length??0)>0}function jr(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}let Xo=null;function O(e){const t=xn(null);try{return e()}finally{xn(t)}}const ve=()=>{},Ue=(()=>({...Br,consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!1,consumerMarkedDirty:e=>{e.schedule(e.ref)},hasRun:!1,cleanupFn:ve}))();class Rt{constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}}function Pt(){return Et}function Et(e){return e.type.prototype.ngOnChanges&&(e.setInput=$t),ln}function ln(){const e=Xn(this),t=e?.current;if(t){const n=e.previous;if(n===Je)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function $t(e,t,n,r){const s=this.declaredInputs[n],o=Xn(e)||function mr(e,t){return e[un]=t}(e,{previous:Je,current:null}),a=o.current||(o.current={}),c=o.previous,g=c[s];a[s]=new Rt(g&&g.currentValue,t,c===Je),e[r]=t}Pt.ngInherit=!0;const un="__ngSimpleChanges__";function Xn(e){return e[un]||null}const Tn=function(e,t,n){},Un="svg";function Zt(e){for(;Array.isArray(e);)e=e[Xt];return e}function Hn(e,t){return Zt(t[e])}function er(e,t){return Zt(t[e.index])}function Mo(e,t){return e.data[t]}function fr(e,t){return e[t]}function vr(e,t){const n=t[e];return Jn(n)?n:n[Xt]}function hs(e,t){return null==t?null:e[t]}function $o(e){e[Qr]=0}function eo(e){1024&e[dt]||(e[dt]|=1024,to(e,1))}function ba(e){1024&e[dt]&&(e[dt]&=-1025,to(e,-1))}function to(e,t){let n=e[Ut];if(null===n)return;n[wr]+=t;let r=n;for(n=n[Ut];null!==n&&(1===t&&1===r[wr]||-1===t&&0===r[wr]);)n[wr]+=t,r=n,n=n[Ut]}const ft={lFrame:nt(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function Si(){return ft.bindingsEnabled}function no(){return null!==ft.skipHydrationRootTNode}function Se(){return ft.lFrame.lView}function Nt(){return ft.lFrame.tView}function Aa(e){return ft.lFrame.contextLView=e,e[sn]}function ri(e){return ft.lFrame.contextLView=null,e}function Fn(){let e=Ai();for(;null!==e&&64===e.type;)e=e.parent;return e}function Ai(){return ft.lFrame.currentTNode}function i(e,t){const n=ft.lFrame;n.currentTNode=e,n.isParent=t}function l(){return ft.lFrame.isParent}function p(){ft.lFrame.isParent=!1}function k(){const e=ft.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function Ke(){return ft.lFrame.bindingIndex++}function Ve(e){const t=ft.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function u(e,t){const n=ft.lFrame;n.bindingIndex=n.bindingRootIndex=e,v(t)}function v(e){ft.lFrame.currentDirectiveIndex=e}function f(e){const t=ft.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}function D(){return ft.lFrame.currentQueryIndex}function S(e){ft.lFrame.currentQueryIndex=e}function P(e){const t=e[We];return 2===t.type?t.declTNode:1===t.type?e[vn]:null}function Y(e,t,n){if(n&lt.SkipSelf){let s=t,o=e;for(;!(s=s.parent,null!==s||n&lt.Host||(s=P(o),null===s||(o=o[Ds],10&s.type))););if(null===s)return!1;t=s,e=o}const r=ft.lFrame=ce();return r.currentTNode=t,r.lView=e,!0}function Pe(e){const t=ce(),n=e[We];ft.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function ce(){const e=ft.lFrame,t=null===e?null:e.child;return null===t?nt(e):t}function nt(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 pt(){const e=ft.lFrame;return ft.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const qt=pt;function kt(){const e=pt();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 Sn(){return ft.lFrame.selectedIndex}function yr(e){ft.lFrame.selectedIndex=e}function ze(){const e=ft.lFrame;return Mo(e.tView,e.selectedIndex)}function at(){ft.lFrame.currentNamespace=Un}function Bt(){!function $n(){ft.lFrame.currentNamespace=null}()}let Mr=!0;function gs(){return Mr}function Gt(e){Mr=e}function Oi(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n<r;n++){const o=e.data[n].type.prototype,{ngAfterContentInit:a,ngAfterContentChecked:c,ngAfterViewInit:g,ngAfterViewChecked:b,ngOnDestroy:T}=o;a&&(e.contentHooks??=[]).push(-n,a),c&&((e.contentHooks??=[]).push(n,c),(e.contentCheckHooks??=[]).push(n,c)),g&&(e.viewHooks??=[]).push(-n,g),b&&((e.viewHooks??=[]).push(n,b),(e.viewCheckHooks??=[]).push(n,b)),null!=T&&(e.destroyHooks??=[]).push(n,T)}}function kn(e,t,n){si(e,t,3,n)}function bs(e,t,n,r){(3&e[dt])===n&&si(e,t,n,r)}function Tr(e,t){let n=e[dt];(3&n)===t&&(n&=8191,n+=1,e[dt]=n)}function si(e,t,n,r){const o=r??-1,a=t.length-1;let c=0;for(let g=void 0!==r?65535&e[Qr]:0;g<a;g++)if("number"==typeof t[g+1]){if(c=t[g],null!=r&&c>=r)break}else t[g]<0&&(e[Qr]+=65536),(c<o||-1==o)&&(cy(e,n,t,g),e[Qr]=(4294901760&e[Qr])+g+2),g++}function Pi(e,t){Tn(4,e,t);const n=xn(null);try{t.call(e)}finally{xn(n),Tn(5,e,t)}}function cy(e,t,n,r){const s=n[r]<0,o=n[r+1],c=e[s?-n[r]:n[r]];s?e[dt]>>13<e[Qr]>>16&&(3&e[dt])===t&&(e[dt]+=8192,Pi(c,o)):Pi(c,o)}const Ri=-1;class Oa{constructor(t,n,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}}function Lu(e){return e!==Ri}function Pa(e){return 32767&e}function Ra(e,t){let n=function py(e){return e>>16}(e),r=t;for(;n>0;)r=r[Ds],n--;return r}let Bu=!0;function Dl(e){const t=Bu;return Bu=e,t}const lf=255,uf=5;let gy=0;const ro={};function El(e,t){const n=cf(e,t);if(-1!==n)return n;const r=t[We];r.firstCreatePass&&(e.injectorIndex=t.length,ju(r.data,e),ju(t,null),ju(r.blueprint,null));const s=Cl(e,t),o=e.injectorIndex;if(Lu(s)){const a=Pa(s),c=Ra(s,t),g=c[We].data;for(let b=0;b<8;b++)t[o+b]=c[a+b]|g[a+b]}return t[o+8]=s,o}function ju(e,t){e.push(0,0,0,0,0,0,0,0,t)}function cf(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function Cl(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=yf(s),null===r)return Ri;if(n++,s=s[Ds],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return Ri}function Uu(e,t,n){!function my(e,t,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(Kn)&&(r=n[Kn]),null==r&&(r=n[Kn]=gy++);const s=r&lf;t.data[e+(s>>uf)]|=1<<s}(e,t,n)}function df(e,t,n){if(n&lt.Optional||void 0!==e)return e;tt()}function ff(e,t,n,r){if(n&lt.Optional&&void 0===r&&(r=null),!(n&(lt.Self|lt.Host))){const s=e[lr],o=gn(void 0);try{return s?s.get(t,r,n&lt.Optional):Or(t,r,n&lt.Optional)}finally{gn(o)}}return df(r,0,n)}function hf(e,t,n,r=lt.Default,s){if(null!==e){if(2048&t[dt]&&!(r&lt.Self)){const a=function Cy(e,t,n,r,s){let o=e,a=t;for(;null!==o&&null!==a&&2048&a[dt]&&!(512&a[dt]);){const c=pf(o,a,n,r|lt.Self,ro);if(c!==ro)return c;let g=o.parent;if(!g){const b=a[ho];if(b){const T=b.get(n,ro,r);if(T!==ro)return T}g=yf(a),a=a[Ds]}o=g}return s}(e,t,n,r,ro);if(a!==ro)return a}const o=pf(e,t,n,r,ro);if(o!==ro)return o}return ff(t,n,r,s)}function pf(e,t,n,r,s){const o=function _y(e){if("string"==typeof e)return e.charCodeAt(0)||0;const t=e.hasOwnProperty(Kn)?e[Kn]:void 0;return"number"==typeof t?t>=0?t&lf:Ey:t}(n);if("function"==typeof o){if(!Y(t,e,r))return r&lt.Host?df(s,0,r):ff(t,n,r,s);try{let a;if(a=o(r),null!=a||r&lt.Optional)return a;tt()}finally{qt()}}else if("number"==typeof o){let a=null,c=cf(e,t),g=Ri,b=r&lt.Host?t[Ht][vn]:null;for((-1===c||r&lt.SkipSelf)&&(g=-1===c?Cl(e,t):t[c+8],g!==Ri&&mf(r,!1)?(a=t[We],c=Pa(g),t=Ra(g,t)):c=-1);-1!==c;){const T=t[We];if(gf(o,c,T.data)){const N=yy(c,t,n,a,r,b);if(N!==ro)return N}g=t[c+8],g!==Ri&&mf(r,t[We].data[c+8]===b)&&gf(o,c,t)?(a=T,c=Pa(g),t=Ra(g,t)):c=-1}}return s}function yy(e,t,n,r,s,o){const a=t[We],c=a.data[e+8],T=wl(c,a,n,null==r?ur(c)&&Bu:r!=a&&0!=(3&c.type),s&lt.Host&&o===c);return null!==T?oi(t,a,T,c):ro}function wl(e,t,n,r,s){const o=e.providerIndexes,a=t.data,c=1048575&o,g=e.directiveStart,T=o>>20,$=s?c+T:e.directiveEnd;for(let q=r?c:c+T;q<$;q++){const De=a[q];if(q<g&&n===De||q>=g&&De.type===n)return q}if(s){const q=a[g];if(q&&Lr(q)&&q.type===n)return g}return null}function oi(e,t,n,r){let s=e[n];const o=t.data;if(function dy(e){return e instanceof Oa}(s)){const a=s;a.resolving&&function we(e,t){const n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new F(-200,`Circular dependency in DI detected for ${e}${n}`)}(function ke(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():ie(e)}(o[n]));const c=Dl(a.canSeeViewProviders);a.resolving=!0;const b=a.injectImpl?gn(a.injectImpl):null;Y(e,r,lt.Default);try{s=e[n]=a.factory(void 0,o,e,r),t.firstCreatePass&&n>=r.directiveStart&&function _l(e,t,n){const{ngOnChanges:r,ngOnInit:s,ngDoCheck:o}=t.type.prototype;if(r){const a=Et(t);(n.preOrderHooks??=[]).push(e,a),(n.preOrderCheckHooks??=[]).push(e,a)}s&&(n.preOrderHooks??=[]).push(0-e,s),o&&((n.preOrderHooks??=[]).push(e,o),(n.preOrderCheckHooks??=[]).push(e,o))}(n,o[n],t)}finally{null!==b&&gn(b),Dl(c),a.resolving=!1,qt()}}return s}function gf(e,t,n){return!!(n[t+(e>>uf)]&1<<e)}function mf(e,t){return!(e&lt.Self||e&lt.Host&&t)}class Vr{constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return hf(this._tNode,this._lView,t,jt(r),n)}}function Ey(){return new Vr(Fn(),Se())}function vf(e){return re(()=>{const t=e.prototype.constructor,n=t[rn]||Hu(t),r=Object.prototype;let s=Object.getPrototypeOf(e.prototype).constructor;for(;s&&s!==r;){const o=s[rn]||Hu(s);if(o&&o!==n)return o;s=Object.getPrototypeOf(s)}return o=>new o})}function Hu(e){return Be(e)?()=>{const t=Hu(be(e));return t&&t()}:cs(e)}function yf(e){const t=e[We],n=t.type;return 2===n?t.declTNode:1===n?e[vn]:null}function $u(e){return function vy(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 o=n[s];if(Yt(o))break;if(0===o)s+=2;else if("number"==typeof o)for(s++;s<r&&"string"==typeof n[s];)s++;else{if(o===t)return n[s+1];s+=2}}}return null}(Fn(),e)}const xi="__parameters__";function ki(e,t,n){return re(()=>{const r=function Vu(e){return function(...n){if(e){const r=e(...n);for(const s in r)this[s]=r[s]}}}(t);function s(...o){if(this instanceof s)return r.apply(this,o),this;const a=new s(...o);return c.annotation=a,c;function c(g,b,T){const N=g.hasOwnProperty(xi)?g[xi]:Object.defineProperty(g,xi,{value:[]})[xi];for(;N.length<=T;)N.push(null);return(N[T]=N[T]||[]).push(a),g}}return n&&(s.prototype=Object.create(n.prototype)),s.prototype.ngMetadataName=e,s.annotationCls=s,s})}function Bi(e,t){e.forEach(n=>Array.isArray(n)?Bi(n,t):t(n))}function Df(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function bl(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function Fa(e,t){const n=[];for(let r=0;r<e;r++)n.push(t);return n}function ms(e,t,n){let r=ji(e,t);return r>=0?e[1|r]=n:(r=~r,function Ay(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 zu(e,t){const n=ji(e,t);if(n>=0)return e[1|n]}function ji(e,t){return function Ef(e,t,n){let r=0,s=e.length>>n;for(;s!==r;){const o=r+(s-r>>1),a=e[o<<n];if(t===a)return o<<n;a>t?s=o:r=o+1}return~(s<<n)}(e,t,1)}const Tl=mn(ki("Optional"),8),Sl=mn(ki("SkipSelf"),4);function Rl(e){return 128==(128&e.flags)}var xl=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(xl||{});const qy=/^>|^->|<!--|-->|--!>|<!-$/g,Qy=/(<|>)/g,Jy="\u200b$1\u200b";const Zu=new Map;let Xy=0;const Qu="__ngContext__";function Sr(e,t){Jn(t)?(e[Qu]=t[Es],function t_(e){Zu.set(e[Es],e)}(t)):e[Qu]=t}let Ju;function Xu(e,t){return Ju(e,t)}function Ba(e){const t=e[Ut];return Nn(t)?t[Ut]:t}function Hf(e){return Vf(e[kr])}function $f(e){return Vf(e[Pn])}function Vf(e){for(;null!==e&&!Nn(e);)e=e[Pn];return e}function $i(e,t,n,r,s){if(null!=r){let o,a=!1;Nn(r)?o=r:Jn(r)&&(a=!0,r=r[Xt]);const c=Zt(r);0===e&&null!==n?null==s?Kf(t,n,c):ii(t,n,c,s||null,!0):1===e&&null!==n?ii(t,n,c,s||null,!0):2===e?function Ul(e,t,n){const r=Bl(e,t);r&&function D_(e,t,n,r){e.removeChild(t,n,r)}(e,r,t,n)}(t,c,a):3===e&&t.destroyNode(c),null!=o&&function w_(e,t,n,r,s){const o=n[Qn];o!==Zt(n)&&$i(t,e,r,o,s);for(let c=en;c<n.length;c++){const g=n[c];Ua(g[We],g,e,t,r,o)}}(t,e,o,n,s)}}function ec(e,t){return e.createComment(function Nf(e){return e.replace(qy,t=>t.replace(Qy,Jy))}(t))}function kl(e,t,n){return e.createElement(t,n)}function Gf(e,t){const n=e[Rn],r=n.indexOf(t);ba(t),n.splice(r,1)}function Ll(e,t){if(e.length<=en)return;const n=en+t,r=e[n];if(r){const s=r[as];null!==s&&s!==e&&Gf(s,r),t>0&&(e[n-1][Pn]=r[Pn]);const o=bl(e,en+t);!function f_(e,t){Ua(e,t,t[ht],2,null,null),t[Xt]=null,t[vn]=null}(r[We],r);const a=o[qn];null!==a&&a.detachView(o[We]),r[Ut]=null,r[Pn]=null,r[dt]&=-129}return r}function tc(e,t){if(!(256&t[dt])){const n=t[ht];t[po]&&Js(t[po]),t[Xr]&&Js(t[Xr]),n.destroyNode&&Ua(e,t,n,3,null,null),function g_(e){let t=e[kr];if(!t)return nc(e[We],e);for(;t;){let n=null;if(Jn(t))n=t[kr];else{const r=t[en];r&&(n=r)}if(!n){for(;t&&!t[Pn]&&t!==e;)Jn(t)&&nc(t[We],t),t=t[Ut];null===t&&(t=e),Jn(t)&&nc(t[We],t),n=t&&t[Pn]}t=n}}(t)}}function nc(e,t){if(!(256&t[dt])){t[dt]&=-129,t[dt]|=256,function __(e,t){let n;if(null!=e&&null!=(n=e.destroyHooks))for(let r=0;r<n.length;r+=2){const s=t[n[r]];if(!(s instanceof Oa)){const o=n[r+1];if(Array.isArray(o))for(let a=0;a<o.length;a+=2){const c=s[o[a]],g=o[a+1];Tn(4,c,g);try{g.call(c)}finally{Tn(5,c,g)}}else{Tn(4,s,o);try{o.call(s)}finally{Tn(5,s,o)}}}}}(e,t),function y_(e,t){const n=e.cleanup,r=t[Fr];if(null!==n)for(let o=0;o<n.length-1;o+=2)if("string"==typeof n[o]){const a=n[o+3];a>=0?r[a]():r[-a].unsubscribe(),o+=2}else n[o].call(r[n[o+1]]);null!==r&&(t[Fr]=null);const s=t[ls];if(null!==s){t[ls]=null;for(let o=0;o<s.length;o++)(0,s[o])()}}(e,t),1===t[We].type&&t[ht].destroy();const n=t[as];if(null!==n&&Nn(t[Ut])){n!==t[Ut]&&Gf(n,t);const r=t[qn];null!==r&&r.detachView(e)}!function n_(e){Zu.delete(e[Es])}(t)}}function rc(e,t,n){return function Wf(e,t,n){let r=t;for(;null!==r&&40&r.type;)r=(t=r).parent;if(null===r)return n[Xt];{const{componentOffset:s}=r;if(s>-1){const{encapsulation:o}=e.data[r.directiveStart+s];if(o===Oe.None||o===Oe.Emulated)return null}return er(r,n)}}(e,t.parent,n)}function ii(e,t,n,r,s){e.insertBefore(t,n,r,s)}function Kf(e,t,n){e.appendChild(t,n)}function Yf(e,t,n,r,s){null!==r?ii(e,t,n,r,s):Kf(e,t,n)}function Bl(e,t){return e.parentNode(t)}function Zf(e,t,n){return Qf(e,t,n)}let sc,Hl,lc,$l,Qf=function qf(e,t,n){return 40&e.type?er(e,n):null};function jl(e,t,n,r){const s=rc(e,r,t),o=t[ht],c=Zf(r.parent||t[vn],r,t);if(null!=s)if(Array.isArray(n))for(let g=0;g<n.length;g++)Yf(o,s,n[g],c,!1);else Yf(o,s,n,c,!1);void 0!==sc&&sc(o,r,t,n,s)}function ja(e,t){if(null!==t){const n=t.type;if(3&n)return er(t,e);if(4&n)return oc(-1,e[t.index]);if(8&n){const r=t.child;if(null!==r)return ja(e,r);{const s=e[t.index];return Nn(s)?oc(-1,s):Zt(s)}}if(32&n)return Xu(t,e)()||Zt(e[t.index]);{const r=Xf(e,t);return null!==r?Array.isArray(r)?r[0]:ja(Ba(e[Ht]),r):ja(e,t.next)}}return null}function Xf(e,t){return null!==t?e[Ht][vn].projection[t.projection]:null}function oc(e,t){const n=en+e+1;if(n<t.length){const r=t[n],s=r[We].firstChild;if(null!==s)return ja(r,s)}return t[Qn]}function ic(e,t,n,r,s,o,a){for(;null!=n;){const c=r[n.index],g=n.type;if(a&&0===t&&(c&&Sr(Zt(c),r),n.flags|=2),32!=(32&n.flags))if(8&g)ic(e,t,n.child,r,s,o,!1),$i(t,e,s,c,o);else if(32&g){const b=Xu(n,r);let T;for(;T=b();)$i(t,e,s,T,o);$i(t,e,s,c,o)}else 16&g?th(e,t,r,n,s,o):$i(t,e,s,c,o);n=a?n.projectionNext:n.next}}function Ua(e,t,n,r,s,o){ic(n,r,e.firstChild,t,s,o,!1)}function th(e,t,n,r,s,o){const a=n[Ht],g=a[vn].projection[r.projection];if(Array.isArray(g))for(let b=0;b<g.length;b++)$i(t,e,s,g[b],o);else{let b=g;const T=a[Ut];Rl(r)&&(b.flags|=128),ic(e,t,b,T,s,o,!0)}}function nh(e,t,n){""===n?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function rh(e,t,n){const{mergedAttrs:r,classes:s,styles:o}=n;null!==r&&Ot(e,t,r),null!==s&&nh(e,t,s),null!==o&&function M_(e,t,n){e.setAttribute(t,"style",n)}(e,t,o)}function Vi(e){return function ac(){if(void 0===Hl&&(Hl=null,xt.trustedTypes))try{Hl=xt.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Hl}()?.createHTML(e)||e}function A_(e){lc=e}function zi(){if(void 0!==lc)return lc;if(typeof document<"u")return document;throw new F(210,!1)}function uc(){if(void 0===$l&&($l=null,xt.trustedTypes))try{$l=xt.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return $l}function sh(e){return uc()?.createHTML(e)||e}function ih(e){return uc()?.createScriptURL(e)||e}class ai{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Ce})`}}class O_ extends ai{getTypeName(){return"HTML"}}class P_ extends ai{getTypeName(){return"Style"}}class R_ extends ai{getTypeName(){return"Script"}}class N_ extends ai{getTypeName(){return"URL"}}class x_ extends ai{getTypeName(){return"ResourceURL"}}function So(e){return e instanceof ai?e.changingThisBreaksApplicationSecurity:e}function Gi(e,t){const n=function F_(e){return e instanceof ai&&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 ${Ce})`)}return n===t}function k_(e){return new O_(e)}function L_(e){return new P_(e)}function B_(e){return new R_(e)}function j_(e){return new N_(e)}function U_(e){return new x_(e)}class H_{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{const n=(new window.DOMParser).parseFromString(Vi(t),"text/html").body;return null===n?this.inertDocumentHelper.getInertBodyElement(t):(n.removeChild(n.firstChild),n)}catch{return null}}}class $_{constructor(t){this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(t){const n=this.inertDocument.createElement("template");return n.innerHTML=Vi(t),n}}const z_=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Vl(e){return(e=String(e)).match(z_)?e:"unsafe:"+e}function Io(e){const t={};for(const n of e.split(","))t[n]=!0;return t}function Ha(...e){const t={};for(const n of e)for(const r in n)n.hasOwnProperty(r)&&(t[r]=!0);return t}const lh=Io("area,br,col,hr,img,wbr"),uh=Io("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),ch=Io("rp,rt"),cc=Ha(lh,Ha(uh,Io("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")),Ha(ch,Io("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")),Ha(ch,uh)),dc=Io("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),dh=Ha(dc,Io("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,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),Io("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")),G_=Io("script,style,template");class W_{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(!cc.hasOwnProperty(n))return this.sanitizedSomething=!0,!G_.hasOwnProperty(n);this.buf.push("<"),this.buf.push(n);const r=t.attributes;for(let s=0;s<r.length;s++){const o=r.item(s),a=o.name,c=a.toLowerCase();if(!dh.hasOwnProperty(c)){this.sanitizedSomething=!0;continue}let g=o.value;dc[c]&&(g=Vl(g)),this.buf.push(" ",a,'="',fh(g),'"')}return this.buf.push(">"),!0}endElement(t){const n=t.nodeName.toLowerCase();cc.hasOwnProperty(n)&&!lh.hasOwnProperty(n)&&(this.buf.push("</"),this.buf.push(n),this.buf.push(">"))}chars(t){this.buf.push(fh(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 K_=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Y_=/([^\#-~ |!])/g;function fh(e){return e.replace(/&/g,"&amp;").replace(K_,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(Y_,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}let zl;function hh(e,t){let n=null;try{zl=zl||function ah(e){const t=new $_(e);return function V_(){try{return!!(new window.DOMParser).parseFromString(Vi(""),"text/html")}catch{return!1}}()?new H_(t):t}(e);let r=t?String(t):"";n=zl.getInertBodyElement(r);let s=5,o=r;do{if(0===s)throw new Error("Failed to sanitize html because the input is unstable");s--,r=o,o=n.innerHTML,n=zl.getInertBodyElement(r)}while(r!==o);return Vi((new W_).sanitizeChildren(fc(n)||n))}finally{if(n){const r=fc(n)||n;for(;r.firstChild;)r.removeChild(r.firstChild)}}}function fc(e){return"content"in e&&function Z_(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var li=function(e){return e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL",e}(li||{});function ph(e){const t=$a();return t?sh(t.sanitize(li.HTML,e)||""):Gi(e,"HTML")?sh(So(e)):hh(zi(),ie(e))}function hc(e){const t=$a();return t?t.sanitize(li.URL,e)||"":Gi(e,"URL")?So(e):Vl(ie(e))}function gh(e){const t=$a();if(t)return ih(t.sanitize(li.RESOURCE_URL,e)||"");if(Gi(e,"ResourceURL"))return ih(So(e));throw new F(904,!1)}function mh(e,t,n){return function eD(e,t){return"src"===t&&("embed"===e||"frame"===e||"iframe"===e||"media"===e||"script"===e)||"href"===t&&("base"===e||"link"===e)?gh:hc}(t,n)(e)}function $a(){const e=Se();return e&&e[is].sanitizer}class Qt{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=Z({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}const Va=new Qt("ENVIRONMENT_INITIALIZER"),vh=new Qt("INJECTOR",-1),yh=new Qt("INJECTOR_DEF_TYPES");class pc{get(t,n=Wn){if(n===Wn){const r=new Error(`NullInjectorError: No provider for ${de(t)}!`);throw r.name="NullInjectorError",r}return n}}function gc(e){return{\u0275providers:e}}function tD(...e){return{\u0275providers:_h(0,e),\u0275fromNgModule:!0}}function _h(e,...t){const n=[],r=new Set;let s;const o=a=>{n.push(a)};return Bi(t,a=>{const c=a;Gl(c,o,[],r)&&(s||=[],s.push(c))}),void 0!==s&&Dh(s,o),n}function Dh(e,t){for(let n=0;n<e.length;n++){const{ngModule:r,providers:s}=e[n];mc(s,o=>{t(o,r)})}}function Gl(e,t,n,r){if(!(e=be(e)))return!1;let s=null,o=Ln(e);const a=!o&&ct(e);if(o||a){if(a&&!a.standalone)return!1;s=e}else{const g=e.ngModule;if(o=Ln(g),!o)return!1;s=g}const c=r.has(s);if(a){if(c)return!1;if(r.add(s),a.dependencies){const g="function"==typeof a.dependencies?a.dependencies():a.dependencies;for(const b of g)Gl(b,t,n,r)}}else{if(!o)return!1;{if(null!=o.imports&&!c){let b;r.add(s);try{Bi(o.imports,T=>{Gl(T,t,n,r)&&(b||=[],b.push(T))})}finally{}void 0!==b&&Dh(b,t)}if(!c){const b=cs(s)||(()=>new s);t({provide:s,useFactory:b,deps:je},s),t({provide:yh,useValue:s,multi:!0},s),t({provide:Va,useValue:()=>Ge(s),multi:!0},s)}const g=o.providers;if(null!=g&&!c){const b=e;mc(g,T=>{t(T,b)})}}}return s!==e&&void 0!==e.providers}function mc(e,t){for(let n of e)Xe(n)&&(n=n.\u0275providers),Array.isArray(n)?mc(n,t):t(n)}const nD=W({provide:String,useValue:W});function vc(e){return null!==e&&"object"==typeof e&&nD in e}function ui(e){return"function"==typeof e}const yc=new Qt("Set Injector scope."),Wl={},sD={};let _c;function Kl(){return void 0===_c&&(_c=new pc),_c}class so{}class Yl extends so{get destroyed(){return this._destroyed}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,Ec(t,a=>this.processProvider(a)),this.records.set(vh,Wi(void 0,this)),s.has("environment")&&this.records.set(so,Wi(void 0,this));const o=this.records.get(yc);null!=o&&"string"==typeof o.value&&this.scopes.add(o.value),this.injectorDefTypes=new Set(this.get(yh.multi,je,lt.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const n of this._ngOnDestroyHooks)n.ngOnDestroy();const t=this._onDestroyHooks;this._onDestroyHooks=[];for(const n of t)n()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear()}}onDestroy(t){return this.assertNotDestroyed(),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){this.assertNotDestroyed();const n=ee(this),r=gn(void 0);try{return t()}finally{ee(n),gn(r)}}get(t,n=Wn,r=lt.Default){if(this.assertNotDestroyed(),t.hasOwnProperty(_r))return t[_r](this);r=jt(r);const o=ee(this),a=gn(void 0);try{if(!(r&lt.SkipSelf)){let g=this.records.get(t);if(void 0===g){const b=function uD(e){return"function"==typeof e||"object"==typeof e&&e instanceof Qt}(t)&&Kt(t);g=b&&this.injectableDefInScope(b)?Wi(Dc(t),Wl):null,this.records.set(t,g)}if(null!=g)return this.hydrate(t,g)}return(r&lt.Self?Kl():this.parent).get(t,n=r&lt.Optional&&n===Wn?null:n)}catch(c){if("NullInjectorError"===c.name){if((c[Kr]=c[Kr]||[]).unshift(de(t)),o)throw c;return function L(e,t,n,r){const s=e[Kr];throw t[V]&&s.unshift(t[V]),e.message=function ae(e,t,n,r=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let s=de(t);if(Array.isArray(t))s=t.map(de).join(" -> ");else if("object"==typeof t){let o=[];for(let a in t)if(t.hasOwnProperty(a)){let c=t[a];o.push(a+":"+("string"==typeof c?JSON.stringify(c):de(c)))}s=`{${o.join(", ")}}`}return`${n}${r?"("+r+")":""}[${s}]: ${e.replace(uo,"\n ")}`}("\n"+e.message,s,n,r),e.ngTokenPath=s,e[Kr]=null,e}(c,t,"R3InjectorError",this.source)}throw c}finally{gn(a),ee(o)}}resolveInjectorInitializers(){const t=ee(this),n=gn(void 0);try{const s=this.get(Va.multi,je,lt.Self);for(const o of s)o()}finally{ee(t),gn(n)}}toString(){const t=[],n=this.records;for(const r of n.keys())t.push(de(r));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new F(205,!1)}processProvider(t){let n=ui(t=be(t))?t:be(t&&t.provide);const r=function iD(e){return vc(e)?Wi(void 0,e.useValue):Wi(wh(e),Wl)}(t);if(ui(t)||!0!==t.multi)this.records.get(n);else{let s=this.records.get(n);s||(s=Wi(void 0,Wl,!0),s.factory=()=>fn(s.multi),this.records.set(n,s)),n=t,s.multi.push(t)}this.records.set(n,r)}hydrate(t,n){return n.value===Wl&&(n.value=sD,n.value=n.factory()),"object"==typeof n.value&&n.value&&function lD(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=be(t.providedIn);return"string"==typeof n?"any"===n||this.scopes.has(n):this.injectorDefTypes.has(n)}removeOnDestroy(t){const n=this._onDestroyHooks.indexOf(t);-1!==n&&this._onDestroyHooks.splice(n,1)}}function Dc(e){const t=Kt(e),n=null!==t?t.factory:cs(e);if(null!==n)return n;if(e instanceof Qt)throw new F(204,!1);if(e instanceof Function)return function oD(e){const t=e.length;if(t>0)throw Fa(t,"?"),new F(204,!1);const n=function Vn(e){return e&&(e[Dn]||e[zn])||null}(e);return null!==n?()=>n.factory(e):()=>new e}(e);throw new F(204,!1)}function wh(e,t,n){let r;if(ui(e)){const s=be(e);return cs(s)||Dc(s)}if(vc(e))r=()=>be(e.useValue);else if(function Ch(e){return!(!e||!e.useFactory)}(e))r=()=>e.useFactory(...fn(e.deps||[]));else if(function Eh(e){return!(!e||!e.useExisting)}(e))r=()=>Ge(be(e.useExisting));else{const s=be(e&&(e.useClass||e.provide));if(!function aD(e){return!!e.deps}(e))return cs(s)||Dc(s);r=()=>new s(...fn(e.deps))}return r}function Wi(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function Ec(e,t){for(const n of e)Array.isArray(n)?Ec(n,t):n&&Xe(n)?Ec(n.\u0275providers,t):t(n)}const bh=new Qt("AppId",{providedIn:"root",factory:()=>cD}),cD="ng",Mh=new Qt("Platform Initializer"),Cc=new Qt("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),dD=new Qt("AnimationModuleType"),fD=new Qt("CSP nonce",{providedIn:"root",factory:()=>zi().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});let Th=(e,t,n)=>null;function Oc(e,t,n=!1){return Th(e,t,n)}class CD{}class Ah{}class bD{resolveComponentFactory(t){throw function wD(e){const t=Error(`No component factory found for ${de(e)}.`);return t.ngComponent=e,t}(t)}}let Wa=(()=>{class t{}return t.NULL=new bD,t})();function MD(){return Zi(Fn(),Se())}function Zi(e,t){return new Ka(er(e,t))}let Ka=(()=>{class t{constructor(r){this.nativeElement=r}}return t.__NG_ELEMENT_ID__=MD,t})();function TD(e){return e instanceof Ka?e.nativeElement:e}class Ph{}let SD=(()=>{class t{constructor(){this.destroyNode=null}}return t.__NG_ELEMENT_ID__=()=>function ID(){const e=Se(),n=vr(Fn().index,e);return(Jn(n)?n:e)[ht]}(),t})(),AD=(()=>{var e;class t{}return(e=t).\u0275prov=Z({token:e,providedIn:"root",factory:()=>null}),t})();class Rh{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const OD=new Rh("16.2.6"),Nc={};function kh(e,t=null,n=null,r){const s=Lh(e,t,n,r);return s.resolveInjectorInitializers(),s}function Lh(e,t=null,n=null,r,s=new Set){const o=[n||je,tD(e)];return r=r||("object"==typeof e?void 0:de(e)),new Yl(o,t||Kl(),r||null,s)}let Ls=(()=>{var e;class t{static create(r,s){if(Array.isArray(r))return kh({name:""},s,r,"");{const o=r.name??"";return kh({name:o},r.parent,r.providers,o)}}}return(e=t).THROW_IF_NOT_FOUND=Wn,e.NULL=new pc,e.\u0275prov=Z({token:e,providedIn:"any",factory:()=>Ge(vh)}),e.__NG_ELEMENT_ID__=-1,t})();function Fc(e){return e.ngOriginalError}class Vo{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&&Fc(t);for(;n&&Fc(n);)n=Fc(n);return n||null}}function Lc(e){return t=>{setTimeout(e,void 0,t)}}const oo=class LD extends m.x{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,n,r){let s=t,o=n||(()=>null),a=r;if(t&&"object"==typeof t){const g=t;s=g.next?.bind(g),o=g.error?.bind(g),a=g.complete?.bind(g)}this.__isAsync&&(o=Lc(o),s&&(s=Lc(s)),a&&(a=Lc(a)));const c=super.subscribe({next:s,error:o,complete:a});return t instanceof w.w0&&t.add(c),c}};function jh(...e){}class hr{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new oo(!1),this.onMicrotaskEmpty=new oo(!1),this.onStable=new oo(!1),this.onError=new oo(!1),typeof Zone>"u")throw new F(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 BD(){const e="function"==typeof xt.requestAnimationFrame;let t=xt[e?"requestAnimationFrame":"setTimeout"],n=xt[e?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&t&&n){const r=t[Zone.__symbol__("OriginalDelegate")];r&&(t=r);const s=n[Zone.__symbol__("OriginalDelegate")];s&&(n=s)}return{nativeRequestAnimationFrame:t,nativeCancelAnimationFrame:n}}().nativeRequestAnimationFrame,function HD(e){const t=()=>{!function UD(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(xt,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,jc(e),e.isCheckStableRunning=!0,Bc(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),jc(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,s,o,a,c)=>{if(function VD(e){return!(!Array.isArray(e)||1!==e.length)&&!0===e[0].data?.__ignore_ng_zone__}(c))return n.invokeTask(s,o,a,c);try{return Uh(e),n.invokeTask(s,o,a,c)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===o.type||e.shouldCoalesceRunChangeDetection)&&t(),Hh(e)}},onInvoke:(n,r,s,o,a,c,g)=>{try{return Uh(e),n.invoke(s,o,a,c,g)}finally{e.shouldCoalesceRunChangeDetection&&t(),Hh(e)}},onHasTask:(n,r,s,o)=>{n.hasTask(s,o),r===s&&("microTask"==o.change?(e._hasPendingMicrotasks=o.microTask,jc(e),Bc(e)):"macroTask"==o.change&&(e.hasPendingMacrotasks=o.macroTask))},onHandleError:(n,r,s,o)=>(n.handleError(s,o),e.runOutsideAngular(()=>e.onError.emit(o)),!1)})}(s)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!hr.isInAngularZone())throw new F(909,!1)}static assertNotInAngularZone(){if(hr.isInAngularZone())throw new F(909,!1)}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,s){const o=this._inner,a=o.scheduleEventTask("NgZoneEvent: "+s,t,jD,jh,jh);try{return o.runTask(a,n,r)}finally{o.cancelTask(a)}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}}const jD={};function Bc(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 jc(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function Uh(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Hh(e){e._nesting--,Bc(e)}class $D{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new oo,this.onMicrotaskEmpty=new oo,this.onStable=new oo,this.onError=new oo}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 $h=new Qt("",{providedIn:"root",factory:Vh});function Vh(){const e=st(hr);let t=!0;const n=new te.y(s=>{t=e.isStable&&!e.hasPendingMacrotasks&&!e.hasPendingMicrotasks,e.runOutsideAngular(()=>{s.next(t),s.complete()})}),r=new te.y(s=>{let o;e.runOutsideAngular(()=>{o=e.onStable.subscribe(()=>{hr.assertNotInAngularZone(),queueMicrotask(()=>{!t&&!e.hasPendingMacrotasks&&!e.hasPendingMicrotasks&&(t=!0,s.next(!0))})})});const a=e.onUnstable.subscribe(()=>{hr.assertInAngularZone(),t&&(t=!1,e.runOutsideAngular(()=>{s.next(!1)}))});return()=>{o.unsubscribe(),a.unsubscribe()}});return(0,x.T)(n,r.pipe((0,G.B)()))}function Ao(e){return e instanceof Function?e():e}let Uc=(()=>{var e;class t{constructor(){this.renderDepth=0,this.handler=null}begin(){this.handler?.validateBegin(),this.renderDepth++}end(){this.renderDepth--,0===this.renderDepth&&this.handler?.execute()}ngOnDestroy(){this.handler?.destroy(),this.handler=null}}return(e=t).\u0275prov=Z({token:e,providedIn:"root",factory:()=>new e}),t})();function Ya(e){for(;e;){e[dt]|=64;const t=Ba(e);if(es(e)&&!t)return e;e=t}return null}const Yh=new Qt("",{providedIn:"root",factory:()=>!1});let tu=null;function Jh(e,t){return e[t]??tp()}function Xh(e,t){const n=tp();n.producerNode?.length&&(e[t]=tu,n.lView=e,tu=ep())}const XD={...Br,consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{Ya(e.lView)},lView:null};function ep(){return Object.create(XD)}function tp(){return tu??=ep(),tu}const Mt={};function np(e){rp(Nt(),Se(),Sn()+e,!1)}function rp(e,t,n,r){if(!r)if(3==(3&t[dt])){const o=e.preOrderCheckHooks;null!==o&&kn(t,o,n)}else{const o=e.preOrderHooks;null!==o&&bs(t,o,0,n)}yr(n)}function Ji(e,t=lt.Default){const n=Se();return null===n?Ge(e,t):hf(Fn(),n,be(e),t)}function sp(){throw new Error("invalid")}function nu(e,t,n,r,s,o,a,c,g,b,T){const N=t.blueprint.slice();return N[Xt]=s,N[dt]=140|r,(null!==b||e&&2048&e[dt])&&(N[dt]|=2048),$o(N),N[Ut]=N[Ds]=e,N[sn]=n,N[is]=a||e&&e[is],N[ht]=c||e&&e[ht],N[lr]=g||e&&e[lr]||null,N[vn]=o,N[Es]=function e_(){return Xy++}(),N[Jr]=T,N[ho]=b,N[Ht]=2==t.type?e[Ht]:N,N}function Xi(e,t,n,r,s){let o=e.data[t];if(null===o)o=function Hc(e,t,n,r,s){const o=Ai(),a=l(),g=e.data[t]=function aE(e,t,n,r,s,o){let a=t?t.injectorIndex:-1,c=0;return no()&&(c|=128),{type:n,index:r,insertBeforeIndex:null,injectorIndex:a,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:c,providerIndexes:0,value:s,attrs:o,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,a?o:o&&o.parent,n,t,r,s);return null===e.firstChild&&(e.firstChild=g),null!==o&&(a?null==o.child&&null!==g.parent&&(o.child=g):null===o.next&&(o.next=g,g.prev=o)),g}(e,t,n,r,s),function St(){return ft.lFrame.inI18n}()&&(o.flags|=32);else if(64&o.type){o.type=n,o.value=r,o.attrs=s;const a=function y(){const e=ft.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}();o.injectorIndex=null===a?-1:a.injectorIndex}return i(o,!0),o}function Za(e,t,n,r){if(0===n)return-1;const s=t.length;for(let o=0;o<n;o++)t.push(r),e.blueprint.push(r),e.data.push(null);return s}function op(e,t,n,r,s){const o=Jh(t,po),a=Sn(),c=2&r;try{yr(-1),c&&t.length>Tt&&rp(e,t,Tt,!1),Tn(c?2:0,s);const b=c?o:null,T=Do(b);try{null!==b&&(b.dirty=!1),n(r,s)}finally{Qs(b,T)}}finally{c&&null===t[po]&&Xh(t,po),yr(a),Tn(c?3:1,s)}}function $c(e,t,n){if(Rs(t)){const r=xn(null);try{const o=t.directiveEnd;for(let a=t.directiveStart;a<o;a++){const c=e.data[a];c.contentQueries&&c.contentQueries(1,n[a],a)}}finally{xn(r)}}}function Vc(e,t,n){Si()&&(function pE(e,t,n,r){const s=n.directiveStart,o=n.directiveEnd;ur(n)&&function EE(e,t,n){const r=er(t,e),s=ip(n);let a=16;n.signals?a=4096:n.onPush&&(a=64);const c=ru(e,nu(e,s,null,a,r,t,null,e[is].rendererFactory.createRenderer(r,n),null,null,null));e[t.index]=c}(t,n,e.data[s+n.componentOffset]),e.firstCreatePass||El(n,t),Sr(r,t);const a=n.initialInputs;for(let c=s;c<o;c++){const g=e.data[c],b=oi(t,e,c,n);Sr(b,t),null!==a&&CE(0,c-s,b,g,0,a),Lr(g)&&(vr(n.index,t)[sn]=oi(t,e,c,n))}}(e,t,n,er(n,t)),64==(64&n.flags)&&dp(e,t,n))}function zc(e,t,n=er){const r=t.localNames;if(null!==r){let s=t.index+1;for(let o=0;o<r.length;o+=2){const a=r[o+1],c=-1===a?n(t,e):e[a];e[s++]=c}}}function ip(e){const t=e.tView;return null===t||t.incompleteFirstPass?e.tView=Gc(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function Gc(e,t,n,r,s,o,a,c,g,b,T){const N=Tt+r,$=N+s,q=function tE(e,t){const n=[];for(let r=0;r<t;r++)n.push(r<e?null:Mt);return n}(N,$),De="function"==typeof b?b():b;return q[We]={type:e,blueprint:q,template:n,queries:null,viewQuery:c,declTNode:t,data:q.slice().fill(null,N),bindingStartIndex:N,expandoStartIndex:$,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 o?o():o,pipeRegistry:"function"==typeof a?a():a,firstChild:null,schemas:g,consts:De,incompleteFirstPass:!1,ssrId:T}}let ap=e=>null;function lp(e,t,n,r){for(let s in e)if(e.hasOwnProperty(s)){n=null===n?{}:n;const o=e[s];null===r?up(n,t,s,o):r.hasOwnProperty(s)&&up(n,t,r[s],o)}return n}function up(e,t,n,r){e.hasOwnProperty(n)?e[n].push(t,r):e[n]=[t,r]}function vs(e,t,n,r,s,o,a,c){const g=er(t,n);let T,b=t.inputs;!c&&null!=b&&(T=b[r])?(qc(e,n,T,r,s),ur(t)&&function cE(e,t){const n=vr(t,e);16&n[dt]||(n[dt]|=64)}(n,t.index)):3&t.type&&(r=function uE(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(r),s=null!=a?a(s,t.value||"",r):s,o.setProperty(g,r,s))}function Wc(e,t,n,r){if(Si()){const s=null===r?null:{"":-1},o=function mE(e,t){const n=e.directiveRegistry;let r=null,s=null;if(n)for(let o=0;o<n.length;o++){const a=n[o];if(Er(t,a.selectors,!1))if(r||(r=[]),Lr(a))if(null!==a.findHostDirectiveDefs){const c=[];s=s||new Map,a.findHostDirectiveDefs(a,c,s),r.unshift(...c,a),Kc(e,t,c.length)}else r.unshift(a),Kc(e,t,0);else s=s||new Map,a.findHostDirectiveDefs?.(a,r,s),r.push(a)}return null===r?null:[r,s]}(e,n);let a,c;null===o?a=c=null:[a,c]=o,null!==a&&cp(e,t,n,a,s,c),s&&function vE(e,t,n){if(t){const r=e.localNames=[];for(let s=0;s<t.length;s+=2){const o=n[t[s+1]];if(null==o)throw new F(-301,!1);r.push(t[s],o)}}}(n,r,s)}n.mergedAttrs=or(n.mergedAttrs,n.attrs)}function cp(e,t,n,r,s,o){for(let b=0;b<r.length;b++)Uu(El(n,t),e,r[b].type);!function _E(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}(n,e.data.length,r.length);for(let b=0;b<r.length;b++){const T=r[b];T.providersResolver&&T.providersResolver(T)}let a=!1,c=!1,g=Za(e,t,r.length,null);for(let b=0;b<r.length;b++){const T=r[b];n.mergedAttrs=or(n.mergedAttrs,T.hostAttrs),DE(e,n,t,g,T),yE(g,T,s),null!==T.contentQueries&&(n.flags|=4),(null!==T.hostBindings||null!==T.hostAttrs||0!==T.hostVars)&&(n.flags|=64);const N=T.type.prototype;!a&&(N.ngOnChanges||N.ngOnInit||N.ngDoCheck)&&((e.preOrderHooks??=[]).push(n.index),a=!0),!c&&(N.ngOnChanges||N.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(n.index),c=!0),g++}!function lE(e,t,n){const s=t.directiveEnd,o=e.data,a=t.attrs,c=[];let g=null,b=null;for(let T=t.directiveStart;T<s;T++){const N=o[T],$=n?n.get(N):null,De=$?$.outputs:null;g=lp(N.inputs,T,g,$?$.inputs:null),b=lp(N.outputs,T,b,De);const Fe=null===g||null===a||En(t)?null:wE(g,T,a);c.push(Fe)}null!==g&&(g.hasOwnProperty("class")&&(t.flags|=8),g.hasOwnProperty("style")&&(t.flags|=16)),t.initialInputs=c,t.inputs=g,t.outputs=b}(e,n,o)}function dp(e,t,n){const r=n.directiveStart,s=n.directiveEnd,o=n.index,a=function h(){return ft.lFrame.currentDirectiveIndex}();try{yr(o);for(let c=r;c<s;c++){const g=e.data[c],b=t[c];v(c),(null!==g.hostBindings||0!==g.hostVars||null!==g.hostAttrs)&&gE(g,b)}}finally{yr(-1),v(a)}}function gE(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function Kc(e,t,n){t.componentOffset=n,(e.components??=[]).push(t.index)}function yE(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;Lr(t)&&(n[""]=e)}}function DE(e,t,n,r,s){e.data[r]=s;const o=s.factory||(s.factory=cs(s.type)),a=new Oa(o,Lr(s),Ji);e.blueprint[r]=a,n[r]=a,function fE(e,t,n,r,s){const o=s.hostBindings;if(o){let a=e.hostBindingOpCodes;null===a&&(a=e.hostBindingOpCodes=[]);const c=~t.index;(function hE(e){let t=e.length;for(;t>0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(a)!=c&&a.push(c),a.push(n,r,o)}}(e,t,r,Za(e,n,s.hostVars,Mt),s)}function io(e,t,n,r,s,o){const a=er(e,t);!function Yc(e,t,n,r,s,o,a){if(null==o)e.removeAttribute(t,s,n);else{const c=null==a?ie(o):a(o,r||"",s);e.setAttribute(t,s,c,n)}}(t[ht],a,o,e.value,n,r,s)}function CE(e,t,n,r,s,o){const a=o[t];if(null!==a)for(let c=0;c<a.length;)fp(r,n,a[c++],a[c++],a[c++])}function fp(e,t,n,r,s){const o=xn(null);try{const a=e.inputTransforms;null!==a&&a.hasOwnProperty(r)&&(s=a[r].call(t,s)),null!==e.setInput?e.setInput(t,s,n,r):t[r]=s}finally{xn(o)}}function wE(e,t,n){let r=null,s=0;for(;s<n.length;){const o=n[s];if(0!==o)if(5!==o){if("number"==typeof o)break;if(e.hasOwnProperty(o)){null===r&&(r=[]);const a=e[o];for(let c=0;c<a.length;c+=2)if(a[c]===t){r.push(o,a[c+1],n[s+1]);break}}s+=2}else s+=2;else s+=4}return r}function hp(e,t,n,r){return[e,!0,!1,t,null,0,r,n,null,null,null]}function pp(e,t){const n=e.contentQueries;if(null!==n)for(let r=0;r<n.length;r+=2){const o=n[r+1];if(-1!==o){const a=e.data[o];S(n[r]),a.contentQueries(2,t[o],o)}}}function ru(e,t){return e[kr]?e[ko][Pn]=t:e[kr]=t,e[ko]=t,t}function Zc(e,t,n){S(0);const r=xn(null);try{t(e,n)}finally{xn(r)}}function gp(e){return e[Fr]||(e[Fr]=[])}function mp(e){return e.cleanup||(e.cleanup=[])}function vp(e,t,n){return(null===e||Lr(e))&&(n=function ti(e){for(;Array.isArray(e);){if("object"==typeof e[Ws])return e;e=e[Xt]}return null}(n[t.index])),n[ht]}function yp(e,t){const n=e[lr],r=n?n.get(Vo,null):null;r&&r.handleError(t)}function qc(e,t,n,r,s){for(let o=0;o<n.length;){const a=n[o++],c=n[o++];fp(e.data[a],t[a],r,c,s)}}function Oo(e,t,n){const r=Hn(t,e);!function zf(e,t,n){e.setValue(t,n)}(e[ht],r,n)}function bE(e,t){const n=vr(t,e),r=n[We];!function ME(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}(r,n);const s=n[Xt];null!==s&&null===n[Jr]&&(n[Jr]=Oc(s,n[lr])),Qc(r,n,n[sn])}function Qc(e,t,n){Pe(t);try{const r=e.viewQuery;null!==r&&Zc(1,r,n);const s=e.template;null!==s&&op(e,t,s,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),e.staticContentQueries&&pp(e,t),e.staticViewQueries&&Zc(2,e.viewQuery,n);const o=e.components;null!==o&&function TE(e,t){for(let n=0;n<t.length;n++)bE(e,t[n])}(t,o)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[dt]&=-5,kt()}}let _p=(()=>{var e;class t{constructor(){this.all=new Set,this.queue=new Map}create(r,s,o){const a=typeof Zone>"u"?null:Zone.current,c=function j(e,t,n){const r=Object.create(Ue);n&&(r.consumerAllowSignalWrites=!0),r.fn=e,r.schedule=t;const s=a=>{r.cleanupFn=a};return r.ref={notify:()=>_o(r),run:()=>{if(r.dirty=!1,r.hasRun&&!Eo(r))return;r.hasRun=!0;const a=Do(r);try{r.cleanupFn(),r.cleanupFn=ve,r.fn(s)}finally{Qs(r,a)}},cleanup:()=>r.cleanupFn()},r.ref}(r,T=>{this.all.has(T)&&this.queue.set(T,a)},o);let g;this.all.add(c),c.notify();const b=()=>{c.cleanup(),g?.(),this.all.delete(c),this.queue.delete(c)};return g=s?.onDestroy(b),{destroy:b}}flush(){if(0!==this.queue.size)for(const[r,s]of this.queue)this.queue.delete(r),s?s.run(()=>r.run()):r.run()}get isQueueEmpty(){return 0===this.queue.size}}return(e=t).\u0275prov=Z({token:e,providedIn:"root",factory:()=>new e}),t})();function su(e,t,n){let r=n?e.styles:null,s=n?e.classes:null,o=0;if(null!==t)for(let a=0;a<t.length;a++){const c=t[a];"number"==typeof c?o=c:1==o?s=Le(s,c):2==o&&(r=Le(r,c+": "+t[++a]+";"))}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=s:e.classesWithoutHost=s}function qa(e,t,n,r,s=!1){for(;null!==n;){const o=t[n.index];null!==o&&r.push(Zt(o)),Nn(o)&&Dp(o,r);const a=n.type;if(8&a)qa(e,t,n.child,r);else if(32&a){const c=Xu(n,t);let g;for(;g=c();)r.push(g)}else if(16&a){const c=Xf(t,n);if(Array.isArray(c))r.push(...c);else{const g=Ba(t[Ht]);qa(g[We],g,c,r,!0)}}n=s?n.projectionNext:n.next}return r}function Dp(e,t){for(let n=en;n<e.length;n++){const r=e[n],s=r[We].firstChild;null!==s&&qa(r[We],r,s,t)}e[Qn]!==e[Xt]&&t.push(e[Qn])}function ou(e,t,n,r=!0){const s=t[is],o=s.rendererFactory,a=s.afterRenderEventManager;o.begin?.(),a?.begin();try{Ep(e,t,e.template,n)}catch(g){throw r&&yp(t,g),g}finally{o.end?.(),s.effectManager?.flush(),a?.end()}}function Ep(e,t,n,r){const s=t[dt];if(256!=(256&s)){t[is].effectManager?.flush(),Pe(t);try{$o(t),function ge(e){return ft.lFrame.bindingIndex=e}(e.bindingStartIndex),null!==n&&op(e,t,n,2,r);const a=3==(3&s);if(a){const b=e.preOrderCheckHooks;null!==b&&kn(t,b,null)}else{const b=e.preOrderHooks;null!==b&&bs(t,b,0,null),Tr(t,0)}if(function AE(e){for(let t=Hf(e);null!==t;t=$f(t)){if(!t[Ps])continue;const n=t[Rn];for(let r=0;r<n.length;r++){eo(n[r])}}}(t),Cp(t,2),null!==e.contentQueries&&pp(e,t),a){const b=e.contentCheckHooks;null!==b&&kn(t,b)}else{const b=e.contentHooks;null!==b&&bs(t,b,1),Tr(t,1)}!function eE(e,t){const n=e.hostBindingOpCodes;if(null===n)return;const r=Jh(t,Xr);try{for(let s=0;s<n.length;s++){const o=n[s];if(o<0)yr(~o);else{const a=o,c=n[++s],g=n[++s];u(c,a),r.dirty=!1;const b=Do(r);try{g(2,t[a])}finally{Qs(r,b)}}}}finally{null===t[Xr]&&Xh(t,Xr),yr(-1)}}(e,t);const c=e.components;null!==c&&bp(t,c,0);const g=e.viewQuery;if(null!==g&&Zc(2,g,r),a){const b=e.viewCheckHooks;null!==b&&kn(t,b)}else{const b=e.viewHooks;null!==b&&bs(t,b,2),Tr(t,2)}!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),t[dt]&=-73,ba(t)}finally{kt()}}}function Cp(e,t){for(let n=Hf(e);null!==n;n=$f(n))for(let r=en;r<n.length;r++)wp(n[r],t)}function OE(e,t,n){wp(vr(t,e),n)}function wp(e,t){if(!function gl(e){return 128==(128&e[dt])}(e))return;const n=e[We],r=e[dt];if(80&r&&0===t||1024&r||2===t)Ep(n,e,n.template,e[sn]);else if(e[wr]>0){Cp(e,1);const s=n.components;null!==s&&bp(e,s,1)}}function bp(e,t,n){for(let r=0;r<t.length;r++)OE(e,t[r],n)}class Qa{get rootNodes(){const t=this._lView,n=t[We];return qa(n,t,n.firstChild,[])}constructor(t,n){this._lView=t,this._cdRefInjectingView=n,this._appRef=null,this._attachedToViewContainer=!1}get context(){return this._lView[sn]}set context(t){this._lView[sn]=t}get destroyed(){return 256==(256&this._lView[dt])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const t=this._lView[Ut];if(Nn(t)){const n=t[8],r=n?n.indexOf(this):-1;r>-1&&(Ll(t,r),bl(n,r))}this._attachedToViewContainer=!1}tc(this._lView[We],this._lView)}onDestroy(t){!function Hr(e,t){if(256==(256&e[dt]))throw new F(911,!1);null===e[ls]&&(e[ls]=[]),e[ls].push(t)}(this._lView,t)}markForCheck(){Ya(this._cdRefInjectingView||this._lView)}detach(){this._lView[dt]&=-129}reattach(){this._lView[dt]|=128}detectChanges(){ou(this._lView[We],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new F(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function p_(e,t){Ua(e,t,t[ht],2,null,null)}(this._lView[We],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new F(902,!1);this._appRef=t}}class PE extends Qa{constructor(t){super(t),this._view=t}detectChanges(){const t=this._view;ou(t[We],t,t[sn],!1)}checkNoChanges(){}get context(){return null}}class Mp extends Wa{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const n=ct(t);return new Ja(n,this.ngModule)}}function Tp(e){const t=[];for(let n in e)e.hasOwnProperty(n)&&t.push({propName:e[n],templateName:n});return t}class NE{constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){r=jt(r);const s=this.injector.get(t,Nc,r);return s!==Nc||n===Nc?s:this.parentInjector.get(t,n,r)}}class Ja extends Ah{get inputs(){const t=this.componentDef,n=t.inputTransforms,r=Tp(t.inputs);if(null!==n)for(const s of r)n.hasOwnProperty(s.propName)&&(s.transform=n[s.propName]);return r}get outputs(){return Tp(this.componentDef.outputs)}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=function Vs(e){return e.map(qr).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!n}create(t,n,r,s){let o=(s=s||this.ngModule)instanceof so?s:s?.injector;o&&null!==this.componentDef.getStandaloneInjector&&(o=this.componentDef.getStandaloneInjector(o)||o);const a=o?new NE(t,o):t,c=a.get(Ph,null);if(null===c)throw new F(407,!1);const N={rendererFactory:c,sanitizer:a.get(AD,null),effectManager:a.get(_p,null),afterRenderEventManager:a.get(Uc,null)},$=c.createRenderer(null,this.componentDef),q=this.componentDef.selectors[0][0]||"div",De=r?function nE(e,t,n,r){const o=r.get(Yh,!1)||n===Oe.ShadowDom,a=e.selectRootElement(t,o);return function rE(e){ap(e)}(a),a}($,r,this.componentDef.encapsulation,a):kl($,q,function RE(e){const t=e.toLowerCase();return"svg"===t?Un:"math"===t?"math":null}(q)),it=this.componentDef.signals?4608:this.componentDef.onPush?576:528;let Ie=null;null!==De&&(Ie=Oc(De,a,!0));const _t=Gc(0,null,null,1,0,null,null,null,null,null,null),At=nu(null,_t,null,it,null,null,N,$,a,null,Ie);let tn,ss;Pe(At);try{const Po=this.componentDef;let ma,af=null;Po.findHostDirectiveDefs?(ma=[],af=new Map,Po.findHostDirectiveDefs(Po,ma,af),ma.push(Po)):ma=[Po];const FM=function FE(e,t){const n=e[We],r=Tt;return e[r]=t,Xi(n,r,2,"#host",null)}(At,De),kM=function kE(e,t,n,r,s,o,a){const c=s[We];!function LE(e,t,n,r){for(const s of e)t.mergedAttrs=or(t.mergedAttrs,s.hostAttrs);null!==t.mergedAttrs&&(su(t,t.mergedAttrs,!0),null!==n&&rh(r,n,t))}(r,e,t,a);let g=null;null!==t&&(g=Oc(t,s[lr]));const b=o.rendererFactory.createRenderer(t,n);let T=16;n.signals?T=4096:n.onPush&&(T=64);const N=nu(s,ip(n),null,T,s[e.index],e,o,b,null,null,g);return c.firstCreatePass&&Kc(c,e,r.length-1),ru(s,N),s[e.index]=N}(FM,De,Po,ma,At,N,$);ss=Mo(_t,Tt),De&&function jE(e,t,n,r){if(r)Ot(e,n,["ng-version",OD.full]);else{const{attrs:s,classes:o}=function gr(e){const t=[],n=[];let r=1,s=2;for(;r<e.length;){let o=e[r];if("string"==typeof o)2===s?""!==o&&t.push(o,e[++r]):8===s&&n.push(o);else{if(!hn(s))break;s=o}r++}return{attrs:t,classes:n}}(t.selectors[0]);s&&Ot(e,n,s),o&&o.length>0&&nh(e,n,o.join(" "))}}($,Po,De,r),void 0!==n&&function UE(e,t,n){const r=e.projection=[];for(let s=0;s<t.length;s++){const o=n[s];r.push(null!=o?Array.from(o):null)}}(ss,this.ngContentSelectors,n),tn=function BE(e,t,n,r,s,o){const a=Fn(),c=s[We],g=er(a,s);cp(c,s,a,n,null,r);for(let T=0;T<n.length;T++)Sr(oi(s,c,a.directiveStart+T,a),s);dp(c,s,a),g&&Sr(g,s);const b=oi(s,c,a.directiveStart+a.componentOffset,a);if(e[sn]=s[sn]=b,null!==o)for(const T of o)T(b,t);return $c(c,a,e),b}(kM,Po,ma,af,At,[HE]),Qc(_t,At,null)}finally{kt()}return new xE(this.componentType,tn,Zi(ss,At),At,ss)}}class xE extends CD{constructor(t,n,r,s,o){super(),this.location=r,this._rootLView=s,this._tNode=o,this.previousInputValues=null,this.instance=n,this.hostView=this.changeDetectorRef=new PE(s),this.componentType=t}setInput(t,n){const r=this._tNode.inputs;let s;if(null!==r&&(s=r[t])){if(this.previousInputValues??=new Map,this.previousInputValues.has(t)&&Object.is(this.previousInputValues.get(t),n))return;const o=this._rootLView;qc(o[We],o,s,t,n),this.previousInputValues.set(t,n),Ya(vr(this._tNode.index,o))}}get injector(){return new Vr(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}}function HE(){const e=Fn();Oi(Se()[We],e)}function Jc(e){let t=function Sp(e){return Object.getPrototypeOf(e.prototype).constructor}(e.type),n=!0;const r=[e];for(;t;){let s;if(Lr(e))s=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new F(903,!1);s=t.\u0275dir}if(s){if(n){r.push(s);const a=e;a.inputs=iu(e.inputs),a.inputTransforms=iu(e.inputTransforms),a.declaredInputs=iu(e.declaredInputs),a.outputs=iu(e.outputs);const c=s.hostBindings;c&&GE(e,c);const g=s.viewQuery,b=s.contentQueries;if(g&&VE(e,g),b&&zE(e,b),ne(e.inputs,s.inputs),ne(e.declaredInputs,s.declaredInputs),ne(e.outputs,s.outputs),null!==s.inputTransforms&&(null===a.inputTransforms&&(a.inputTransforms={}),ne(a.inputTransforms,s.inputTransforms)),Lr(s)&&s.data.animation){const T=e.data;T.animation=(T.animation||[]).concat(s.data.animation)}}const o=s.features;if(o)for(let a=0;a<o.length;a++){const c=o[a];c&&c.ngInherit&&c(e),c===Jc&&(n=!1)}}t=Object.getPrototypeOf(t)}!function $E(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=or(s.hostAttrs,n=or(n,s.hostAttrs))}}(r)}function iu(e){return e===Je?{}:e===je?[]:e}function VE(e,t){const n=e.viewQuery;e.viewQuery=n?(r,s)=>{t(r,s),n(r,s)}:t}function zE(e,t){const n=e.contentQueries;e.contentQueries=n?(r,s,o)=>{t(r,s,o),n(r,s,o)}:t}function GE(e,t){const n=e.hostBindings;e.hostBindings=n?(r,s)=>{t(r,s),n(r,s)}:t}function Pp(e){const t=e.inputConfig,n={};for(const r in t)if(t.hasOwnProperty(r)){const s=t[r];Array.isArray(s)&&s[2]&&(n[r]=s[2])}e.inputTransforms=n}function au(e){return!!Xc(e)&&(Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e)}function Xc(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function ao(e,t,n){return e[t]=n}function Xa(e,t){return e[t]}function Ir(e,t,n){return!Object.is(e[t],n)&&(e[t]=n,!0)}function ci(e,t,n,r){const s=Ir(e,t,n);return Ir(e,t+1,r)||s}function Ts(e,t,n,r,s,o){const a=ci(e,t,n,r);return ci(e,t+2,s,o)||a}function ed(e,t,n,r){const s=Se();return Ir(s,Ke(),t)&&(Nt(),io(ze(),s,e,t,n,r)),ed}function ta(e,t,n,r){return Ir(e,Ke(),n)?t+ie(n)+r:Mt}function na(e,t,n,r,s,o){const c=ci(e,function J(){return ft.lFrame.bindingIndex}(),n,s);return Ve(2),c?t+ie(n)+r+ie(s)+o:Mt}function zp(e,t,n,r,s,o,a,c){const g=Se(),b=Nt(),T=e+Tt,N=b.firstCreatePass?function v0(e,t,n,r,s,o,a,c,g){const b=t.consts,T=Xi(t,e,4,a||null,hs(b,c));Wc(t,n,T,hs(b,g)),Oi(t,T);const N=T.tView=Gc(2,T,r,s,o,t.directiveRegistry,t.pipeRegistry,null,t.schemas,b,null);return null!==t.queries&&(t.queries.template(t,T),N.queries=t.queries.embeddedTView(T)),T}(T,b,g,t,n,r,s,o,a):b.data[T];i(N,!1);const $=Gp(b,g,N,e);gs()&&jl(b,g,$,N),Sr($,g),ru(g,g[T]=hp($,g,$,N)),Ys(N)&&Vc(b,g,N),null!=a&&zc(g,N,c)}let Gp=function Wp(e,t,n,r){return Gt(!0),t[ht].createComment("")};function Kp(e){return fr(function C(){return ft.lFrame.contextLView}(),Tt+e)}function id(e,t,n){const r=Se();return Ir(r,Ke(),t)&&vs(Nt(),ze(),r,e,t,r[ht],n,!1),id}function ad(e,t,n,r,s){const a=s?"class":"style";qc(e,n,t.inputs[a],a,r)}function fu(e,t,n,r){const s=Se(),o=Nt(),a=Tt+e,c=s[ht],g=o.firstCreatePass?function E0(e,t,n,r,s,o){const a=t.consts,g=Xi(t,e,2,r,hs(a,s));return Wc(t,n,g,hs(a,o)),null!==g.attrs&&su(g,g.attrs,!1),null!==g.mergedAttrs&&su(g,g.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,g),g}(a,o,s,t,n,r):o.data[a],b=Yp(o,s,g,c,t,e);s[a]=b;const T=Ys(g);return i(g,!0),rh(c,b,g),32!=(32&g.flags)&&gs()&&jl(o,s,b,g),0===function ni(){return ft.lFrame.elementDepthCount}()&&Sr(b,s),function Ti(){ft.lFrame.elementDepthCount++}(),T&&(Vc(o,s,g),$c(o,g,s)),null!==r&&zc(s,g),fu}function hu(){let e=Fn();l()?p():(e=e.parent,i(e,!1));const t=e;(function Ta(e){return ft.skipHydrationRootTNode===e})(t)&&function Ia(){ft.skipHydrationRootTNode=null}(),function To(){ft.lFrame.elementDepthCount--}();const n=Nt();return n.firstCreatePass&&(Oi(n,e),Rs(e)&&n.queries.elementEnd(e)),null!=t.classesWithoutHost&&function fy(e){return 0!=(8&e.flags)}(t)&&ad(n,t,Se(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function hy(e){return 0!=(16&e.flags)}(t)&&ad(n,t,Se(),t.stylesWithoutHost,!1),hu}function ld(e,t,n,r){return fu(e,t,n,r),hu(),ld}let Yp=(e,t,n,r,s,o)=>(Gt(!0),kl(r,s,function ps(){return ft.lFrame.currentNamespace}()));function pu(e,t,n){const r=Se(),s=Nt(),o=e+Tt,a=s.firstCreatePass?function b0(e,t,n,r,s){const o=t.consts,a=hs(o,r),c=Xi(t,e,8,"ng-container",a);return null!==a&&su(c,a,!0),Wc(t,n,c,hs(o,s)),null!==t.queries&&t.queries.elementStart(t,c),c}(o,s,r,t,n):s.data[o];i(a,!0);const c=Zp(s,r,a,e);return r[o]=c,gs()&&jl(s,r,c,a),Sr(c,r),Ys(a)&&(Vc(s,r,a),$c(s,a,r)),null!=n&&zc(r,a),pu}function gu(){let e=Fn();const t=Nt();return l()?p():(e=e.parent,i(e,!1)),t.firstCreatePass&&(Oi(t,e),Rs(e)&&t.queries.elementEnd(e)),gu}function ud(e,t,n){return pu(e,t,n),gu(),ud}let Zp=(e,t,n,r)=>(Gt(!0),ec(t[ht],""));function qp(){return Se()}function cd(e){return!!e&&"function"==typeof e.then}function Qp(e){return!!e&&"function"==typeof e.subscribe}function dd(e,t,n,r){const s=Se(),o=Nt(),a=Fn();return Jp(o,s,s[ht],a,e,t,r),dd}function fd(e,t){const n=Fn(),r=Se(),s=Nt();return Jp(s,r,vp(f(s.data),n,r),n,e,t),fd}function Jp(e,t,n,r,s,o,a){const c=Ys(r),b=e.firstCreatePass&&mp(e),T=t[sn],N=gp(t);let $=!0;if(3&r.type||a){const Fe=er(r,t),qe=a?a(Fe):Fe,it=N.length,Ie=a?At=>a(Zt(At[r.index])):r.index;let _t=null;if(!a&&c&&(_t=function S0(e,t,n,r){const s=e.cleanup;if(null!=s)for(let o=0;o<s.length-1;o+=2){const a=s[o];if(a===n&&s[o+1]===r){const c=t[Fr],g=s[o+2];return c.length>g?c[g]:null}"string"==typeof a&&(o+=2)}return null}(e,t,s,r.index)),null!==_t)(_t.__ngLastListenerFn__||_t).__ngNextListenerFn__=o,_t.__ngLastListenerFn__=o,$=!1;else{o=eg(r,t,T,o,!1);const At=n.listen(qe,s,o);N.push(o,At),b&&b.push(s,Ie,it,it+1)}}else o=eg(r,t,T,o,!1);const q=r.outputs;let De;if($&&null!==q&&(De=q[s])){const Fe=De.length;if(Fe)for(let qe=0;qe<Fe;qe+=2){const tn=t[De[qe]][De[qe+1]].subscribe(o),ss=N.length;N.push(o,tn),b&&b.push(s,r.index,ss,-(ss+1))}}}function Xp(e,t,n,r){try{return Tn(6,t,n),!1!==n(r)}catch(s){return yp(e,s),!1}finally{Tn(7,t,n)}}function eg(e,t,n,r,s){return function o(a){if(a===Function)return r;Ya(e.componentOffset>-1?vr(e.index,t):t);let g=Xp(t,n,r,a),b=o.__ngNextListenerFn__;for(;b;)g=Xp(t,n,b,a)&&g,b=b.__ngNextListenerFn__;return s&&!1===g&&a.preventDefault(),g}}function tg(e=1){return function tr(e){return(ft.lFrame.contextLView=function $r(e,t){for(;e>0;)t=t[Ds],e--;return t}(e,ft.lFrame.contextLView))[sn]}(e)}function I0(e,t){let n=null;const r=function $s(e){const t=e.attrs;if(null!=t){const n=t.indexOf(5);if(!(1&n))return t[n+1]}return null}(e);for(let s=0;s<t.length;s++){const o=t[s];if("*"!==o){if(null===r?Er(e,o,!0):Zr(r,o))return s}else n=s}return n}function ng(e){const t=Se()[Ht][vn];if(!t.projection){const r=t.projection=Fa(e?e.length:1,null),s=r.slice();let o=t.child;for(;null!==o;){const a=e?I0(o,e):0;null!==a&&(s[a]?s[a].projectionNext=o:r[a]=o,s[a]=o),o=o.next}}}function rg(e,t=0,n){const r=Se(),s=Nt(),o=Xi(s,Tt+e,16,null,n||null);null===o.projection&&(o.projection=t),p(),(!r[Jr]||no())&&32!=(32&o.flags)&&function C_(e,t,n){th(t[ht],0,t,n,rc(e,n,t),Zf(n.parent||t[vn],n,t))}(s,r,o)}function hd(e,t,n){return mu(e,"",t,"",n),hd}function mu(e,t,n,r,s){const o=Se(),a=ta(o,t,n,r);return a!==Mt&&vs(Nt(),ze(),o,e,a,o[ht],s,!1),mu}function vu(e,t){return e<<17|t<<2}function zo(e){return e>>17&32767}function pd(e){return 2|e}function di(e){return(131068&e)>>2}function gd(e,t){return-131069&e|t<<2}function md(e){return 1|e}function fg(e,t,n,r,s){const o=e[n+1],a=null===t;let c=r?zo(o):di(o),g=!1;for(;0!==c&&(!1===g||a);){const T=e[c+1];x0(e[c],t)&&(g=!0,e[c+1]=r?md(T):pd(T)),c=r?zo(T):di(T)}g&&(e[n+1]=r?pd(o):md(o))}function x0(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&ji(e,t)>=0}const rr={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function hg(e){return e.substring(rr.key,rr.keyEnd)}function F0(e){return e.substring(rr.value,rr.valueEnd)}function pg(e,t){const n=rr.textEnd;return n===t?-1:(t=rr.keyEnd=function B0(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}(e,rr.key=t,n),ua(e,t,n))}function gg(e,t){const n=rr.textEnd;let r=rr.key=ua(e,t,n);return n===r?-1:(r=rr.keyEnd=function j0(e,t,n){let r;for(;t<n&&(45===(r=e.charCodeAt(t))||95===r||(-33&r)>=65&&(-33&r)<=90||r>=48&&r<=57);)t++;return t}(e,r,n),r=vg(e,r,n),r=rr.value=ua(e,r,n),r=rr.valueEnd=function U0(e,t,n){let r=-1,s=-1,o=-1,a=t,c=a;for(;a<n;){const g=e.charCodeAt(a++);if(59===g)return c;34===g||39===g?c=a=yg(e,g,a,n):t===a-4&&85===o&&82===s&&76===r&&40===g?c=a=yg(e,41,a,n):g>32&&(c=a),o=s,s=r,r=-33&g}return c}(e,r,n),vg(e,r,n))}function mg(e){rr.key=0,rr.keyEnd=0,rr.value=0,rr.valueEnd=0,rr.textEnd=e.length}function ua(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function vg(e,t,n,r){return(t=ua(e,t,n))<n&&t++,t}function yg(e,t,n,r){let s=-1,o=n;for(;o<r;){const a=e.charCodeAt(o++);if(a==t&&92!==s)return o;s=92==a&&92===s?0:a}throw new Error}function vd(e,t,n){return js(e,t,n,!1),vd}function yd(e,t){return js(e,t,null,!0),yd}function Bs(e){Us(Cg,H0,e,!1)}function H0(e,t){for(let n=function L0(e){return mg(e),gg(e,ua(e,0,rr.textEnd))}(t);n>=0;n=gg(t,n))Cg(e,hg(t),F0(t))}function _g(e){Us(K0,lo,e,!0)}function lo(e,t){for(let n=function k0(e){return mg(e),pg(e,ua(e,0,rr.textEnd))}(t);n>=0;n=pg(t,n))ms(e,hg(t),!0)}function js(e,t,n,r){const s=Se(),o=Nt(),a=Ve(2);o.firstUpdatePass&&Eg(o,e,a,r),t!==Mt&&Ir(s,a,t)&&wg(o,o.data[Sn()],s,s[ht],e,s[a+1]=function Z0(e,t){return null==e||""===e||("string"==typeof t?e+=t:"object"==typeof e&&(e=de(So(e)))),e}(t,n),r,a)}function Us(e,t,n,r){const s=Nt(),o=Ve(2);s.firstUpdatePass&&Eg(s,null,o,r);const a=Se();if(n!==Mt&&Ir(a,o,n)){const c=s.data[Sn()];if(Mg(c,r)&&!Dg(s,o)){let g=r?c.classesWithoutHost:c.stylesWithoutHost;null!==g&&(n=Le(g,n||"")),ad(s,c,a,n,r)}else!function Y0(e,t,n,r,s,o,a,c){s===Mt&&(s=je);let g=0,b=0,T=0<s.length?s[0]:null,N=0<o.length?o[0]:null;for(;null!==T||null!==N;){const $=g<s.length?s[g+1]:void 0,q=b<o.length?o[b+1]:void 0;let Fe,De=null;T===N?(g+=2,b+=2,$!==q&&(De=N,Fe=q)):null===N||null!==T&&T<N?(g+=2,De=T):(b+=2,De=N,Fe=q),null!==De&&wg(e,t,n,r,De,Fe,a,c),T=g<s.length?s[g]:null,N=b<o.length?o[b]:null}}(s,c,a,a[ht],a[o+1],a[o+1]=function W0(e,t,n){if(null==n||""===n)return je;const r=[],s=So(n);if(Array.isArray(s))for(let o=0;o<s.length;o++)e(r,s[o],!0);else if("object"==typeof s)for(const o in s)s.hasOwnProperty(o)&&e(r,o,s[o]);else"string"==typeof s&&t(r,s);return r}(e,t,n),r,o)}}function Dg(e,t){return t>=e.expandoStartIndex}function Eg(e,t,n,r){const s=e.data;if(null===s[n+1]){const o=s[Sn()],a=Dg(e,n);Mg(o,r)&&null===t&&!a&&(t=!1),t=function $0(e,t,n,r){const s=f(e);let o=r?t.residualClasses:t.residualStyles;if(null===s)0===(r?t.classBindings:t.styleBindings)&&(n=rl(n=_d(null,e,t,n,r),t.attrs,r),o=null);else{const a=t.directiveStylingLast;if(-1===a||e[a]!==s)if(n=_d(s,e,t,n,r),null===o){let g=function V0(e,t,n){const r=n?t.classBindings:t.styleBindings;if(0!==di(r))return e[zo(r)]}(e,t,r);void 0!==g&&Array.isArray(g)&&(g=_d(null,e,t,g[1],r),g=rl(g,t.attrs,r),function z0(e,t,n,r){e[zo(n?t.classBindings:t.styleBindings)]=r}(e,t,r,g))}else o=function G0(e,t,n){let r;const s=t.directiveEnd;for(let o=1+t.directiveStylingLast;o<s;o++)r=rl(r,e[o].hostAttrs,n);return rl(r,t.attrs,n)}(e,t,r)}return void 0!==o&&(r?t.residualClasses=o:t.residualStyles=o),n}(s,o,t,r),function R0(e,t,n,r,s,o){let a=o?t.classBindings:t.styleBindings,c=zo(a),g=di(a);e[r]=n;let T,b=!1;if(Array.isArray(n)?(T=n[1],(null===T||ji(n,T)>0)&&(b=!0)):T=n,s)if(0!==g){const $=zo(e[c+1]);e[r+1]=vu($,c),0!==$&&(e[$+1]=gd(e[$+1],r)),e[c+1]=function O0(e,t){return 131071&e|t<<17}(e[c+1],r)}else e[r+1]=vu(c,0),0!==c&&(e[c+1]=gd(e[c+1],r)),c=r;else e[r+1]=vu(g,0),0===c?c=r:e[g+1]=gd(e[g+1],r),g=r;b&&(e[r+1]=pd(e[r+1])),fg(e,T,r,!0),fg(e,T,r,!1),function N0(e,t,n,r,s){const o=s?e.residualClasses:e.residualStyles;null!=o&&"string"==typeof t&&ji(o,t)>=0&&(n[r+1]=md(n[r+1]))}(t,T,e,r,o),a=vu(c,g),o?t.classBindings=a:t.styleBindings=a}(s,o,t,n,a,r)}}function _d(e,t,n,r,s){let o=null;const a=n.directiveEnd;let c=n.directiveStylingLast;for(-1===c?c=n.directiveStart:c++;c<a&&(o=t[c],r=rl(r,o.hostAttrs,s),o!==e);)c++;return null!==e&&(n.directiveStylingLast=c),r}function rl(e,t,n){const r=n?1:2;let s=-1;if(null!==t)for(let o=0;o<t.length;o++){const a=t[o];"number"==typeof a?s=a:s===r&&(Array.isArray(e)||(e=void 0===e?[]:["",e]),ms(e,a,!!n||t[++o]))}return void 0===e?null:e}function Cg(e,t,n){ms(e,t,So(n))}function K0(e,t,n){const r=String(t);""!==r&&!r.includes(" ")&&ms(e,r,n)}function wg(e,t,n,r,s,o,a,c){if(!(3&t.type))return;const g=e.data,b=g[c+1],T=function P0(e){return 1==(1&e)}(b)?bg(g,t,n,s,di(b),a):void 0;yu(T)||(yu(o)||function A0(e){return 2==(2&e)}(b)&&(o=bg(g,null,n,s,c,a)),function b_(e,t,n,r,s){if(t)s?e.addClass(n,r):e.removeClass(n,r);else{let o=-1===r.indexOf("-")?void 0:xl.DashCase;null==s?e.removeStyle(n,r,o):("string"==typeof s&&s.endsWith("!important")&&(s=s.slice(0,-10),o|=xl.Important),e.setStyle(n,r,s,o))}}(r,a,Hn(Sn(),n),s,o))}function bg(e,t,n,r,s,o){const a=null===t;let c;for(;s>0;){const g=e[s],b=Array.isArray(g),T=b?g[1]:g,N=null===T;let $=n[s+1];$===Mt&&($=N?je:void 0);let q=N?zu($,r):T===r?$:void 0;if(b&&!yu(q)&&(q=zu(g,r)),yu(q)&&(c=q,a))return c;const De=e[s+1];s=a?zo(De):di(De)}if(null!==t){let g=o?t.residualClasses:t.residualStyles;null!=g&&(c=zu(g,r))}return c}function yu(e){return void 0!==e}function Mg(e,t){return 0!=(e.flags&(t?8:16))}function Tg(e,t=""){const n=Se(),r=Nt(),s=e+Tt,o=r.firstCreatePass?Xi(r,s,1,t,null):r.data[s],a=Sg(r,n,o,t,e);n[s]=a,gs()&&jl(r,n,a,o),i(o,!1)}let Sg=(e,t,n,r,s)=>(Gt(!0),function Fl(e,t){return e.createText(t)}(t[ht],r));function Dd(e){return _u("",e,""),Dd}function _u(e,t,n){const r=Se(),s=ta(r,e,t,n);return s!==Mt&&Oo(r,Sn(),s),_u}function Ed(e,t,n,r,s){const o=Se(),a=na(o,e,t,n,r,s);return a!==Mt&&Oo(o,Sn(),a),Ed}function Fg(e,t,n){Us(ms,lo,ta(Se(),e,t,n),!0)}function Cd(e,t,n){const r=Se();return Ir(r,Ke(),t)&&vs(Nt(),ze(),r,e,t,r[ht],n,!0),Cd}function wd(e,t,n){const r=Se();if(Ir(r,Ke(),t)){const o=Nt(),a=ze();vs(o,a,r,e,t,vp(f(o.data),a,r),n,!0)}return wd}const fi=void 0;var mC=["en",[["a","p"],["AM","PM"],fi],[["AM","PM"],fi,fi],[["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"]],fi,[["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"]],fi,[["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}",fi,"{1} 'at' {0}",fi],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function gC(e){const n=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length;return 1===n&&0===r?1:5}];let ca={};function bd(e){const t=function vC(e){return e.toLowerCase().replace(/_/g,"-")}(e);let n=Wg(t);if(n)return n;const r=t.split("-")[0];if(n=Wg(r),n)return n;if("en"===r)return mC;throw new F(701,!1)}function Gg(e){return bd(e)[da.PluralCase]}function Wg(e){return e in ca||(ca[e]=xt.ng&&xt.ng.common&&xt.ng.common.locales&&xt.ng.common.locales[e]),ca[e]}var da=function(e){return e[e.LocaleId=0]="LocaleId",e[e.DayPeriodsFormat=1]="DayPeriodsFormat",e[e.DayPeriodsStandalone=2]="DayPeriodsStandalone",e[e.DaysFormat=3]="DaysFormat",e[e.DaysStandalone=4]="DaysStandalone",e[e.MonthsFormat=5]="MonthsFormat",e[e.MonthsStandalone=6]="MonthsStandalone",e[e.Eras=7]="Eras",e[e.FirstDayOfWeek=8]="FirstDayOfWeek",e[e.WeekendRange=9]="WeekendRange",e[e.DateFormat=10]="DateFormat",e[e.TimeFormat=11]="TimeFormat",e[e.DateTimeFormat=12]="DateTimeFormat",e[e.NumberSymbols=13]="NumberSymbols",e[e.NumberFormats=14]="NumberFormats",e[e.CurrencyCode=15]="CurrencyCode",e[e.CurrencySymbol=16]="CurrencySymbol",e[e.CurrencyName=17]="CurrencyName",e[e.Currencies=18]="Currencies",e[e.Directionality=19]="Directionality",e[e.PluralCase=20]="PluralCase",e[e.ExtraData=21]="ExtraData",e}(da||{});const fa="en-US";let Kg=fa;function Sd(e,t,n,r,s){if(e=be(e),Array.isArray(e))for(let o=0;o<e.length;o++)Sd(e[o],t,n,r,s);else{const o=Nt(),a=Se(),c=Fn();let g=ui(e)?e:be(e.provide);const b=wh(e),T=1048575&c.providerIndexes,N=c.directiveStart,$=c.providerIndexes>>20;if(ui(e)||!e.multi){const q=new Oa(b,s,Ji),De=Ad(g,t,s?T:T+$,N);-1===De?(Uu(El(c,a),o,g),Id(o,e,t.length),t.push(g),c.directiveStart++,c.directiveEnd++,s&&(c.providerIndexes+=1048576),n.push(q),a.push(q)):(n[De]=q,a[De]=q)}else{const q=Ad(g,t,T+$,N),De=Ad(g,t,T,T+$),qe=De>=0&&n[De];if(s&&!qe||!s&&!(q>=0&&n[q])){Uu(El(c,a),o,g);const it=function gw(e,t,n,r,s){const o=new Oa(e,n,Ji);return o.multi=[],o.index=t,o.componentProviders=0,ym(o,s,r&&!n),o}(s?pw:hw,n.length,s,r,b);!s&&qe&&(n[De].providerFactory=it),Id(o,e,t.length,0),t.push(g),c.directiveStart++,c.directiveEnd++,s&&(c.providerIndexes+=1048576),n.push(it),a.push(it)}else Id(o,e,q>-1?q:De,ym(n[s?De:q],b,!s&&r));!s&&r&&qe&&n[De].componentProviders++}}}function Id(e,t,n,r){const s=ui(t),o=function rD(e){return!!e.useClass}(t);if(s||o){const g=(o?be(t.useClass):t).prototype.ngOnDestroy;if(g){const b=e.destroyHooks||(e.destroyHooks=[]);if(!s&&t.multi){const T=b.indexOf(n);-1===T?b.push(n,[r,g]):b[T+1].push(r,g)}else b.push(n,g)}}}function ym(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function Ad(e,t,n,r){for(let s=n;s<r;s++)if(t[s]===e)return s;return-1}function hw(e,t,n,r){return Od(this.multi,[])}function pw(e,t,n,r){const s=this.multi;let o;if(this.providerFactory){const a=this.providerFactory.componentProviders,c=oi(n,n[We],this.providerFactory.index,r);o=c.slice(0,a),Od(s,o);for(let g=a;g<c.length;g++)o.push(c[g])}else o=[],Od(s,o);return o}function Od(e,t){for(let n=0;n<e.length;n++)t.push((0,e[n])());return t}function _m(e,t=[]){return n=>{n.providersResolver=(r,s)=>function fw(e,t,n){const r=Nt();if(r.firstCreatePass){const s=Lr(e);Sd(n,r.data,r.blueprint,s,!0),Sd(t,r.data,r.blueprint,s,!1)}}(r,s?s(e):e,t)}}class hi{}class Dm{}function mw(e,t){return new Pd(e,t??null,[])}class Pd extends hi{constructor(t,n,r){super(),this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new Mp(this);const s=wn(t);this._bootstrapComponents=Ao(s.bootstrap),this._r3Injector=Lh(t,n,[{provide:hi,useValue:this},{provide:Wa,useValue:this.componentFactoryResolver},...r],de(t),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(t)}get injector(){return this._r3Injector}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class Rd extends Dm{constructor(t){super(),this.moduleType=t}create(t){return new Pd(this.moduleType,t,[])}}class Em extends hi{constructor(t){super(),this.componentFactoryResolver=new Mp(this),this.instance=null;const n=new Yl([...t.providers,{provide:hi,useValue:this},{provide:Wa,useValue:this.componentFactoryResolver}],t.parent||Kl(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}}function Cm(e,t,n=null){return new Em({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}let yw=(()=>{var e;class t{constructor(r){this._injector=r,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(r){if(!r.standalone)return null;if(!this.cachedInjectors.has(r)){const s=_h(0,r.type),o=s.length>0?Cm([s],this._injector,`Standalone[${r.type.name}]`):null;this.cachedInjectors.set(r,o)}return this.cachedInjectors.get(r)}ngOnDestroy(){try{for(const r of this.cachedInjectors.values())null!==r&&r.destroy()}finally{this.cachedInjectors.clear()}}}return(e=t).\u0275prov=Z({token:e,providedIn:"environment",factory:()=>new e(Ge(so))}),t})();function wm(e){e.getStandaloneInjector=t=>t.get(yw).getOrCreateStandaloneInjector(e)}function Om(e,t,n){const r=k()+e,s=Se();return s[r]===Mt?ao(s,r,n?t.call(n):t()):Xa(s,r)}function Pm(e,t,n,r){return km(Se(),k(),e,t,n,r)}function Rm(e,t,n,r,s){return Lm(Se(),k(),e,t,n,r,s)}function Nm(e,t,n,r,s,o){return Bm(Se(),k(),e,t,n,r,s,o)}function xm(e,t,n,r,s,o,a){return function jm(e,t,n,r,s,o,a,c,g){const b=t+n;return Ts(e,b,s,o,a,c)?ao(e,b+4,g?r.call(g,s,o,a,c):r(s,o,a,c)):ul(e,b+4)}(Se(),k(),e,t,n,r,s,o,a)}function Fm(e,t,n,r,s,o,a,c){const g=k()+e,b=Se(),T=Ts(b,g,n,r,s,o);return Ir(b,g+4,a)||T?ao(b,g+5,c?t.call(c,n,r,s,o,a):t(n,r,s,o,a)):Xa(b,g+5)}function ul(e,t){const n=e[t];return n===Mt?void 0:n}function km(e,t,n,r,s,o){const a=t+n;return Ir(e,a,s)?ao(e,a+1,o?r.call(o,s):r(s)):ul(e,a+1)}function Lm(e,t,n,r,s,o,a){const c=t+n;return ci(e,c,s,o)?ao(e,c+2,a?r.call(a,s,o):r(s,o)):ul(e,c+2)}function Bm(e,t,n,r,s,o,a,c){const g=t+n;return function lu(e,t,n,r,s){const o=ci(e,t,n,r);return Ir(e,t+2,s)||o}(e,g,s,o,a)?ao(e,g+3,c?r.call(c,s,o,a):r(s,o,a)):ul(e,g+3)}function Hm(e,t){const n=Nt();let r;const s=e+Tt;n.firstCreatePass?(r=function Pw(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??=[]).push(s,r.onDestroy)):r=n.data[s];const o=r.factory||(r.factory=cs(r.type)),c=gn(Ji);try{const g=Dl(!1),b=o();return Dl(g),function D0(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}(n,Se(),s,b),b}finally{gn(c)}}function $m(e,t,n){const r=e+Tt,s=Se(),o=fr(s,r);return cl(s,r)?km(s,k(),t,o.transform,n,o):o.transform(n)}function Vm(e,t,n,r){const s=e+Tt,o=Se(),a=fr(o,s);return cl(o,s)?Lm(o,k(),t,a.transform,n,r,a):a.transform(n,r)}function zm(e,t,n,r,s){const o=e+Tt,a=Se(),c=fr(a,o);return cl(a,o)?Bm(a,k(),t,c.transform,n,r,s,c):c.transform(n,r,s)}function cl(e,t){return e[We].data[t].pure}function xw(){return this._results[Symbol.iterator]()}class bu{get changes(){return this._changes||(this._changes=new oo)}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=bu.prototype;n[Symbol.iterator]||(n[Symbol.iterator]=xw)}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=function Ms(e){return e.flat(Number.POSITIVE_INFINITY)}(t);(this._changesDetected=!function Sy(e,t,n){if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++){let s=e[r],o=t[r];if(n&&(s=n(s),o=n(o)),o!==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()}}function kw(e,t,n,r=!0){const s=t[We];if(function m_(e,t,n,r){const s=en+r,o=n.length;r>0&&(n[s-1][Pn]=t),r<o-en?(t[Pn]=n[s],Df(n,en+r,t)):(n.push(t),t[Pn]=null),t[Ut]=n;const a=t[as];null!==a&&n!==a&&function v_(e,t){const n=e[Rn];t[Ht]!==t[Ut][Ut][Ht]&&(e[Ps]=!0),null===n?e[Rn]=[t]:n.push(t)}(a,t);const c=t[qn];null!==c&&c.insertView(e),t[dt]|=128}(s,t,e,n),r){const o=oc(n,e),a=t[ht],c=Bl(a,e[Qn]);null!==c&&function h_(e,t,n,r,s,o){r[Xt]=s,r[vn]=t,Ua(e,r,n,1,s,o)}(s,e[vn],a,t,c,o)}}let dl=(()=>{class t{}return t.__NG_ELEMENT_ID__=jw,t})();const Lw=dl,Bw=class extends Lw{constructor(t,n,r){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=r}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(t,n){return this.createEmbeddedViewImpl(t,n)}createEmbeddedViewImpl(t,n,r){const s=function Fw(e,t,n,r){const s=t.tView,c=nu(e,s,n,4096&e[dt]?4096:16,null,t,null,null,null,r?.injector??null,r?.hydrationInfo??null);c[as]=e[t.index];const b=e[qn];return null!==b&&(c[qn]=b.createEmbeddedView(s)),Qc(s,c,n),c}(this._declarationLView,this._declarationTContainer,t,{injector:n,hydrationInfo:r});return new Qa(s)}};function jw(){return Mu(Fn(),Se())}function Mu(e,t){return 4&e.type?new Bw(t,e,Zi(e,t)):null}let Su=(()=>{class t{}return t.__NG_ELEMENT_ID__=Gw,t})();function Gw(){return Qm(Fn(),Se())}const Ww=Su,Zm=class extends Ww{constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return Zi(this._hostTNode,this._hostLView)}get injector(){return new Vr(this._hostTNode,this._hostLView)}get parentInjector(){const t=Cl(this._hostTNode,this._hostLView);if(Lu(t)){const n=Ra(t,this._hostLView),r=Pa(t);return new Vr(n[We].data[r+8],n)}return new Vr(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=qm(this._lContainer);return null!==n&&n[t]||null}get length(){return this._lContainer.length-en}createEmbeddedView(t,n,r){let s,o;"number"==typeof r?s=r:null!=r&&(s=r.index,o=r.injector);const c=t.createEmbeddedViewImpl(n||{},o,null);return this.insertImpl(c,s,false),c}createComponent(t,n,r,s,o){const a=t&&!function xa(e){return"function"==typeof e}(t);let c;if(a)c=n;else{const Fe=n||{};c=Fe.index,r=Fe.injector,s=Fe.projectableNodes,o=Fe.environmentInjector||Fe.ngModuleRef}const g=a?t:new Ja(ct(t)),b=r||this.parentInjector;if(!o&&null==g.ngModule){const qe=(a?b:this.parentInjector).get(so,null);qe&&(o=qe)}ct(g.componentType??{});const q=g.create(b,s,null,o);return this.insertImpl(q.hostView,c,false),q}insert(t,n){return this.insertImpl(t,n,!1)}insertImpl(t,n,r){const s=t._lView;if(function ml(e){return Nn(e[Ut])}(s)){const g=this.indexOf(t);if(-1!==g)this.detach(g);else{const b=s[Ut],T=new Zm(b,b[vn],b[Ut]);T.detach(T.indexOf(t))}}const a=this._adjustIndex(n),c=this._lContainer;return kw(c,s,a,!r),t.attachToViewContainerRef(),Df(xd(c),a,t),t}move(t,n){return this.insert(t,n)}indexOf(t){const n=qm(this._lContainer);return null!==n?n.indexOf(t):-1}remove(t){const n=this._adjustIndex(t,-1),r=Ll(this._lContainer,n);r&&(bl(xd(this._lContainer),n),tc(r[We],r))}detach(t){const n=this._adjustIndex(t,-1),r=Ll(this._lContainer,n);return r&&null!=bl(xd(this._lContainer),n)?new Qa(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function qm(e){return e[8]}function xd(e){return e[8]||(e[8]=[])}function Qm(e,t){let n;const r=t[e.index];return Nn(r)?n=r:(n=hp(r,t,null,e),t[e.index]=n,ru(t,n)),Jm(n,t,e,r),new Zm(n,e,t)}let Jm=function Xm(e,t,n,r){if(e[Qn])return;let s;s=8&n.type?Zt(r):function Kw(e,t){const n=e[ht],r=n.createComment(""),s=er(t,e);return ii(n,Bl(n,s),r,function E_(e,t){return e.nextSibling(t)}(n,s),!1),r}(t,n),e[Qn]=s};class Fd{constructor(t){this.queryList=t,this.matches=null}clone(){return new Fd(this.queryList)}setDirty(){this.queryList.setDirty()}}class kd{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 o=0;o<r;o++){const a=n.getByIndex(o);s.push(this.queries[a.indexInDeclarationView].clone())}return new kd(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!==lv(t,n).matches&&this.queries[n].setDirty()}}class ev{constructor(t,n,r=null){this.predicate=t,this.flags=n,this.read=r}}class Ld{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,o=this.getByIndex(r).embeddedTView(t,s);o&&(o.indexInDeclarationView=r,null!==n?n.push(o):n=[o])}return null!==n?new Ld(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 Bd{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 Bd(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 o=r[s];this.matchTNodeWithReadOption(t,n,qw(n,o)),this.matchTNodeWithReadOption(t,n,wl(n,t,o,!1,!1))}else r===dl?4&n.type&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,wl(n,t,r,!1,!1))}matchTNodeWithReadOption(t,n,r){if(null!==r){const s=this.metadata.read;if(null!==s)if(s===Ka||s===Su||s===dl&&4&n.type)this.addMatch(n.index,-2);else{const o=wl(n,t,s,!1,!1);null!==o&&this.addMatch(n.index,o)}else this.addMatch(n.index,r)}}addMatch(t,n){null===this.matches?this.matches=[t,n]:this.matches.push(t,n)}}function qw(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 Jw(e,t,n,r){return-1===n?function Qw(e,t){return 11&e.type?Zi(e,t):4&e.type?Mu(e,t):null}(t,e):-2===n?function Xw(e,t,n){return n===Ka?Zi(t,e):n===dl?Mu(t,e):n===Su?Qm(t,e):void 0}(e,t,r):oi(e,e[We],n,t)}function tv(e,t,n,r){const s=t[qn].queries[r];if(null===s.matches){const o=e.data,a=n.matches,c=[];for(let g=0;g<a.length;g+=2){const b=a[g];c.push(b<0?null:Jw(t,o[b],a[g+1],n.metadata.read))}s.matches=c}return s.matches}function jd(e,t,n,r){const s=e.queries.getByIndex(n),o=s.matches;if(null!==o){const a=tv(e,t,s,n);for(let c=0;c<o.length;c+=2){const g=o[c];if(g>0)r.push(a[c/2]);else{const b=o[c+1],T=t[-g];for(let N=en;N<T.length;N++){const $=T[N];$[as]===$[Ut]&&jd($[We],$,b,r)}if(null!==T[Rn]){const N=T[Rn];for(let $=0;$<N.length;$++){const q=N[$];jd(q[We],q,b,r)}}}}}return r}function nv(e){const t=Se(),n=Nt(),r=D();S(r+1);const s=lv(n,r);if(e.dirty&&function bi(e){return 4==(4&e[dt])}(t)===(2==(2&s.metadata.flags))){if(null===s.matches)e.reset([]);else{const o=s.crossesNgTemplate?jd(n,t,r,[]):tv(n,t,s,r);e.reset(o,TD),e.notifyOnChanges()}return!0}return!1}function rv(e,t,n){const r=Nt();r.firstCreatePass&&(av(r,new ev(e,t,n),-1),2==(2&t)&&(r.staticViewQueries=!0)),iv(r,Se(),t)}function sv(e,t,n,r){const s=Nt();if(s.firstCreatePass){const o=Fn();av(s,new ev(t,n,r),o.index),function tb(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)}iv(s,Se(),n)}function ov(){return function eb(e,t){return e[qn].queries[t].queryList}(Se(),D())}function iv(e,t,n){const r=new bu(4==(4&n));(function iE(e,t,n,r){const s=gp(t);s.push(n),e.firstCreatePass&&mp(e).push(r,s.length-1)})(e,t,r,r.destroy),null===t[qn]&&(t[qn]=new kd),t[qn].queries.push(new Fd(r))}function av(e,t,n){null===e.queries&&(e.queries=new Ld),e.queries.track(new Bd(t,n))}function lv(e,t){return e.queries.getByIndex(t)}function uv(e,t){return Mu(e,t)}function Ud(e){return!!wn(e)}const Tv=new Qt("Application Initializer");let Gd=(()=>{var e;class t{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((r,s)=>{this.resolve=r,this.reject=s}),this.appInits=st(Tv,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const r=[];for(const o of this.appInits){const a=o();if(cd(a))r.push(a);else if(Qp(a)){const c=new Promise((g,b)=>{a.subscribe({complete:g,error:b})});r.push(c)}}const s=()=>{this.done=!0,this.resolve()};Promise.all(r).then(()=>{s()}).catch(o=>{this.reject(o)}),0===r.length&&s(),this.initialized=!0}}return(e=t).\u0275fac=function(r){return new(r||e)},e.\u0275prov=Z({token:e,factory:e.\u0275fac,providedIn:"root"}),t})(),Sv=(()=>{var e;class t{log(r){console.log(r)}warn(r){console.warn(r)}}return(e=t).\u0275fac=function(r){return new(r||e)},e.\u0275prov=Z({token:e,factory:e.\u0275fac,providedIn:"platform"}),t})();const Au=new Qt("LocaleId",{providedIn:"root",factory:()=>st(Au,lt.Optional|lt.SkipSelf)||function Cb(){return typeof $localize<"u"&&$localize.locale||fa}()}),wb=new Qt("DefaultCurrencyCode",{providedIn:"root",factory:()=>"USD"});let Iv=(()=>{var e;class t{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new I.X(!1)}add(){this.hasPendingTasks.next(!0);const r=this.taskId++;return this.pendingTasks.add(r),r}remove(r){this.pendingTasks.delete(r),0===this.pendingTasks.size&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks.next(!1)}}return(e=t).\u0275fac=function(r){return new(r||e)},e.\u0275prov=Z({token:e,factory:e.\u0275fac,providedIn:"root"}),t})();class Mb{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}}let Tb=(()=>{var e;class t{compileModuleSync(r){return new Rd(r)}compileModuleAsync(r){return Promise.resolve(this.compileModuleSync(r))}compileModuleAndAllComponentsSync(r){const s=this.compileModuleSync(r),a=Ao(wn(r).declarations).reduce((c,g)=>{const b=ct(g);return b&&c.push(new Ja(b)),c},[]);return new Mb(s,a)}compileModuleAndAllComponentsAsync(r){return Promise.resolve(this.compileModuleAndAllComponentsSync(r))}clearCache(){}clearCacheFor(r){}getModuleId(r){}}return(e=t).\u0275fac=function(r){return new(r||e)},e.\u0275prov=Z({token:e,factory:e.\u0275fac,providedIn:"root"}),t})();const Rv=new Qt(""),Nv=new Qt("");let Yd,Wb=(()=>{var e;class t{constructor(r,s,o){this._ngZone=r,this.registry=s,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,Yd||(function Kb(e){Yd=e}(o),o.addToWindow(s)),this._watchAngularEvents(),r.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:()=>{hr.assertNotInAngularZone(),queueMicrotask(()=>{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())queueMicrotask(()=>{for(;0!==this._callbacks.length;){let r=this._callbacks.pop();clearTimeout(r.timeoutId),r.doneCb(this._didWork)}this._didWork=!1});else{let r=this.getPendingTasks();this._callbacks=this._callbacks.filter(s=>!s.updateCb||!s.updateCb(r)||(clearTimeout(s.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(r=>({source:r.source,creationLocation:r.creationLocation,data:r.data})):[]}addCallback(r,s,o){let a=-1;s&&s>0&&(a=setTimeout(()=>{this._callbacks=this._callbacks.filter(c=>c.timeoutId!==a),r(this._didWork,this.getPendingTasks())},s)),this._callbacks.push({doneCb:r,timeoutId:a,updateCb:o})}whenStable(r,s,o){if(o&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(r,s,o),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(r){this.registry.registerApplication(r,this)}unregisterApplication(r){this.registry.unregisterApplication(r)}findProviders(r,s,o){return[]}}return(e=t).\u0275fac=function(r){return new(r||e)(Ge(hr),Ge(xv),Ge(Nv))},e.\u0275prov=Z({token:e,factory:e.\u0275fac}),t})(),xv=(()=>{var e;class t{constructor(){this._applications=new Map}registerApplication(r,s){this._applications.set(r,s)}unregisterApplication(r){this._applications.delete(r)}unregisterAllApplications(){this._applications.clear()}getTestability(r){return this._applications.get(r)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(r,s=!0){return Yd?.findTestabilityInTree(this,r,s)??null}}return(e=t).\u0275fac=function(r){return new(r||e)},e.\u0275prov=Z({token:e,factory:e.\u0275fac,providedIn:"platform"}),t})(),Go=null;const Fv=new Qt("AllowMultipleToken"),Zd=new Qt("PlatformDestroyListeners"),qd=new Qt("appBootstrapListener");class qb{constructor(t,n){this.name=t,this.token=n}}function Bv(e,t,n=[]){const r=`Platform: ${t}`,s=new Qt(r);return(o=[])=>{let a=Qd();if(!a||a.injector.get(Fv,!1)){const c=[...n,...o,{provide:s,useValue:!0}];e?e(c):function Qb(e){if(Go&&!Go.get(Fv,!1))throw new F(400,!1);(function kv(){!function Uo(e){Xo=e}(()=>{throw new F(600,!1)})})(),Go=e;const t=e.get(Uv);(function Lv(e){e.get(Mh,null)?.forEach(n=>n())})(e)}(function jv(e=[],t){return Ls.create({name:t,providers:[{provide:yc,useValue:"platform"},{provide:Zd,useValue:new Set([()=>Go=null])},...e]})}(c,r))}return function Xb(e){const t=Qd();if(!t)throw new F(401,!1);return t}()}}function Qd(){return Go?.get(Uv)??null}let Uv=(()=>{var e;class t{constructor(r){this._injector=r,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(r,s){const o=function eM(e="zone.js",t){return"noop"===e?new $D:"zone.js"===e?new hr(t):e}(s?.ngZone,function Hv(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}({eventCoalescing:s?.ngZoneEventCoalescing,runCoalescing:s?.ngZoneRunCoalescing}));return o.run(()=>{const a=function vw(e,t,n){return new Pd(e,t,n)}(r.moduleType,this.injector,function Wv(e){return[{provide:hr,useFactory:e},{provide:Va,multi:!0,useFactory:()=>{const t=st(nM,{optional:!0});return()=>t.initialize()}},{provide:Gv,useFactory:tM},{provide:$h,useFactory:Vh}]}(()=>o)),c=a.injector.get(Vo,null);return o.runOutsideAngular(()=>{const g=o.onError.subscribe({next:b=>{c.handleError(b)}});a.onDestroy(()=>{Pu(this._modules,a),g.unsubscribe()})}),function $v(e,t,n){try{const r=n();return cd(r)?r.catch(s=>{throw t.runOutsideAngular(()=>e.handleError(s)),s}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}(c,o,()=>{const g=a.injector.get(Gd);return g.runInitializers(),g.donePromise.then(()=>(function Yg(e){et(e,"Expected localeId to be defined"),"string"==typeof e&&(Kg=e.toLowerCase().replace(/_/g,"-"))}(a.injector.get(Au,fa)||fa),this._moduleDoBootstrap(a),a))})})}bootstrapModule(r,s=[]){const o=Vv({},s);return function Yb(e,t,n){const r=new Rd(n);return Promise.resolve(r)}(0,0,r).then(a=>this.bootstrapModuleFactory(a,o))}_moduleDoBootstrap(r){const s=r.injector.get(ga);if(r._bootstrapComponents.length>0)r._bootstrapComponents.forEach(o=>s.bootstrap(o));else{if(!r.instance.ngDoBootstrap)throw new F(-403,!1);r.instance.ngDoBootstrap(s)}this._modules.push(r)}onDestroy(r){this._destroyListeners.push(r)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new F(404,!1);this._modules.slice().forEach(s=>s.destroy()),this._destroyListeners.forEach(s=>s());const r=this._injector.get(Zd,null);r&&(r.forEach(s=>s()),r.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}}return(e=t).\u0275fac=function(r){return new(r||e)(Ge(Ls))},e.\u0275prov=Z({token:e,factory:e.\u0275fac,providedIn:"platform"}),t})();function Vv(e,t){return Array.isArray(t)?t.reduce(Vv,e):{...e,...t}}let ga=(()=>{var e;class t{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=st(Gv),this.zoneIsStable=st($h),this.componentTypes=[],this.components=[],this.isStable=st(Iv).hasPendingTasks.pipe((0,X.w)(r=>r?(0,U.of)(!1):this.zoneIsStable),(0,se.x)(),(0,G.B)()),this._injector=st(so)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(r,s){const o=r instanceof Ah;if(!this._injector.get(Gd).done)throw!o&&jn(r),new F(405,!1);let c;c=o?r:this._injector.get(Wa).resolveComponentFactory(r),this.componentTypes.push(c.componentType);const g=function Zb(e){return e.isBoundToModule}(c)?void 0:this._injector.get(hi),T=c.create(Ls.NULL,[],s||c.selector,g),N=T.location.nativeElement,$=T.injector.get(Rv,null);return $?.registerApplication(N),T.onDestroy(()=>{this.detachView(T.hostView),Pu(this.components,T),$?.unregisterApplication(N)}),this._loadComponent(T),T}tick(){if(this._runningTick)throw new F(101,!1);try{this._runningTick=!0;for(let r of this._views)r.detectChanges()}catch(r){this.internalErrorHandler(r)}finally{this._runningTick=!1}}attachView(r){const s=r;this._views.push(s),s.attachToAppRef(this)}detachView(r){const s=r;Pu(this._views,s),s.detachFromAppRef()}_loadComponent(r){this.attachView(r.hostView),this.tick(),this.components.push(r);const s=this._injector.get(qd,[]);s.push(...this._bootstrapListeners),s.forEach(o=>o(r))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(r=>r()),this._views.slice().forEach(r=>r.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(r){return this._destroyListeners.push(r),()=>Pu(this._destroyListeners,r)}destroy(){if(this._destroyed)throw new F(406,!1);const r=this._injector;r.destroy&&!r.destroyed&&r.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}}return(e=t).\u0275fac=function(r){return new(r||e)},e.\u0275prov=Z({token:e,factory:e.\u0275fac,providedIn:"root"}),t})();function Pu(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}const Gv=new Qt("",{providedIn:"root",factory:()=>st(Vo).handleError.bind(void 0)});function tM(){const e=st(hr),t=st(Vo);return n=>e.runOutsideAngular(()=>t.handleError(n))}let nM=(()=>{var e;class t{constructor(){this.zone=st(hr),this.applicationRef=st(ga)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}}return(e=t).\u0275fac=function(r){return new(r||e)},e.\u0275prov=Z({token:e,factory:e.\u0275fac,providedIn:"root"}),t})();function sM(){}let oM=(()=>{class t{}return t.__NG_ELEMENT_ID__=iM,t})();function iM(e){return function aM(e,t,n){if(ur(e)&&!n){const r=vr(e.index,t);return new Qa(r,r)}return 47&e.type?new Qa(t[Ht],t):null}(Fn(),Se(),16==(16&e))}class qv{constructor(){}supports(t){return au(t)}create(t){return new hM(t)}}const fM=(e,t)=>t;class hM{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||fM}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,o=null;for(;n||r;){const a=!r||n&&n.currentIndex<Jv(r,s,o)?n:r,c=Jv(a,s,o),g=a.currentIndex;if(a===r)s--,r=r._nextRemoved;else if(n=n._next,null==a.previousIndex)s++;else{o||(o=[]);const b=c-s,T=g-s;if(b!=T){for(let $=0;$<b;$++){const q=$<o.length?o[$]:o[$]=0,De=q+$;T<=De&&De<b&&(o[$]=q+1)}o[a.previousIndex]=T-b}}c!==g&&t(a,c,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=[]),!au(t))throw new F(900,!1);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let s,o,a,n=this._itHead,r=!1;if(Array.isArray(t)){this.length=t.length;for(let c=0;c<this.length;c++)o=t[c],a=this._trackByFn(c,o),null!==n&&Object.is(n.trackById,a)?(r&&(n=this._verifyReinsertion(n,o,a,c)),Object.is(n.item,o)||this._addIdentityChange(n,o)):(n=this._mismatch(n,o,a,c),r=!0),n=n._next}else s=0,function JE(e,t){if(Array.isArray(e))for(let n=0;n<e.length;n++)t(e[n]);else{const n=e[Symbol.iterator]();let r;for(;!(r=n.next()).done;)t(r.value)}}(t,c=>{a=this._trackByFn(s,c),null!==n&&Object.is(n.trackById,a)?(r&&(n=this._verifyReinsertion(n,c,a,s)),Object.is(n.item,c)||this._addIdentityChange(n,c)):(n=this._mismatch(n,c,a,s),r=!0),n=n._next,s++}),this.length=s;return this._truncate(n),this.collection=t,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;null!==t;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;null!==t;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,n,r,s){let o;return null===t?o=this._itTail:(o=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,o,s)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(r,s))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,o,s)):t=this._addAfter(new pM(n,r),o,s),t}_verifyReinsertion(t,n,r,s){let o=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null);return null!==o?t=this._reinsertAfter(o,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,o=t._nextRemoved;return null===s?this._removalsHead=o:s._nextRemoved=o,null===o?this._removalsTail=s:o._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 Qv),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 Qv),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 pM{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 gM{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 Qv{constructor(){this.map=new Map}put(t){const n=t.trackById;let r=this.map.get(n);r||(r=new gM,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 Jv(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 Xv{constructor(){}supports(t){return t instanceof Map||Xc(t)}create(){return new mM}}class mM{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||Xc(t)))throw new F(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 o=this._getOrCreateRecordForKey(s,r);n=this._insertBeforeOrAppend(n,o)}}),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 o=s._prev,a=s._next;return o&&(o._next=a),a&&(a._prev=o),s._next=null,s._prev=null,s}const r=new vM(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 vM{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 ey(){return new nf([new qv])}let nf=(()=>{var e;class t{constructor(r){this.factories=r}static create(r,s){if(null!=s){const o=s.factories.slice();r=r.concat(o)}return new t(r)}static extend(r){return{provide:t,useFactory:s=>t.create(r,s||ey()),deps:[[t,new Sl,new Tl]]}}find(r){const s=this.factories.find(o=>o.supports(r));if(null!=s)return s;throw new F(901,!1)}}return(e=t).\u0275prov=Z({token:e,providedIn:"root",factory:ey}),t})();function ty(){return new rf([new Xv])}let rf=(()=>{var e;class t{constructor(r){this.factories=r}static create(r,s){if(s){const o=s.factories.slice();r=r.concat(o)}return new t(r)}static extend(r){return{provide:t,useFactory:s=>t.create(r,s||ty()),deps:[[t,new Sl,new Tl]]}}find(r){const s=this.factories.find(o=>o.supports(r));if(s)return s;throw new F(901,!1)}}return(e=t).\u0275prov=Z({token:e,providedIn:"root",factory:ty}),t})();const DM=Bv(null,"core",[]);let EM=(()=>{var e;class t{constructor(r){}}return(e=t).\u0275fac=function(r){return new(r||e)(Ge(ga))},e.\u0275mod=ys({type:e}),e.\u0275inj=ot({}),t})();function RM(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}function xM(e){const t=ct(e);if(!t)return null;const n=new Ja(t);return{get selector(){return n.selector},get type(){return n.componentType},get inputs(){return n.inputs},get outputs(){return n.outputs},get ngContentSelectors(){return n.ngContentSelectors},get isStandalone(){return t.standalone},get isSignal(){return t.signals}}}},6593:(Ye,oe,M)=>{M.d(oe,{Dx:()=>Ar,H7:()=>Gr,b2:()=>It,q6:()=>Z,se:()=>Ae});var m=M(5879),w=M(6814);class te extends w.w_{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class x extends te{static makeCurrent(){(0,w.HT)(new x)}onAndCancel(V,ue,H){return V.addEventListener(ue,H),()=>{V.removeEventListener(ue,H)}}dispatchEvent(V,ue){V.dispatchEvent(ue)}remove(V){V.parentNode&&V.parentNode.removeChild(V)}createElement(V,ue){return(ue=ue||this.getDefaultDocument()).createElement(V)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(V){return V.nodeType===Node.ELEMENT_NODE}isShadowRoot(V){return V instanceof DocumentFragment}getGlobalEventTarget(V,ue){return"window"===ue?window:"document"===ue?V:"body"===ue?V.body:null}getBaseHref(V){const ue=function U(){return I=I||document.querySelector("base"),I?I.getAttribute("href"):null}();return null==ue?null:function X(pe){G=G||document.createElement("a"),G.setAttribute("href",pe);const V=G.pathname;return"/"===V.charAt(0)?V:`/${V}`}(ue)}resetBaseElement(){I=null}getUserAgent(){return window.navigator.userAgent}getCookie(V){return(0,w.Mx)(document.cookie,V)}}let G,I=null,W=(()=>{var pe;class V{build(){return new XMLHttpRequest}}return(pe=V).\u0275fac=function(H){return new(H||pe)},pe.\u0275prov=m.Yz7({token:pe,factory:pe.\u0275fac}),V})();const ne=new m.OlP("EventManagerPlugins");let de=(()=>{var pe;class V{constructor(H,ee){this._zone=ee,this._eventNameToPlugin=new Map,H.forEach(Re=>{Re.manager=this}),this._plugins=H.slice().reverse()}addEventListener(H,ee,Re){return this._findPluginFor(ee).addEventListener(H,ee,Re)}getZone(){return this._zone}_findPluginFor(H){let ee=this._eventNameToPlugin.get(H);if(ee)return ee;if(ee=this._plugins.find(Ge=>Ge.supports(H)),!ee)throw new m.vHH(5101,!1);return this._eventNameToPlugin.set(H,ee),ee}}return(pe=V).\u0275fac=function(H){return new(H||pe)(m.LFG(ne),m.LFG(m.R0b))},pe.\u0275prov=m.Yz7({token:pe,factory:pe.\u0275fac}),V})();class Le{constructor(V){this._doc=V}}const Me="ng-app-id";let Te=(()=>{var pe;class V{constructor(H,ee,Re,Ge={}){this.doc=H,this.appId=ee,this.nonce=Re,this.platformId=Ge,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=(0,w.PM)(Ge),this.resetHostNodes()}addStyles(H){for(const ee of H)1===this.changeUsageCount(ee,1)&&this.onStyleAdded(ee)}removeStyles(H){for(const ee of H)this.changeUsageCount(ee,-1)<=0&&this.onStyleRemoved(ee)}ngOnDestroy(){const H=this.styleNodesInDOM;H&&(H.forEach(ee=>ee.remove()),H.clear());for(const ee of this.getAllStyles())this.onStyleRemoved(ee);this.resetHostNodes()}addHost(H){this.hostNodes.add(H);for(const ee of this.getAllStyles())this.addStyleToHost(H,ee)}removeHost(H){this.hostNodes.delete(H)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(H){for(const ee of this.hostNodes)this.addStyleToHost(ee,H)}onStyleRemoved(H){const ee=this.styleRef;ee.get(H)?.elements?.forEach(Re=>Re.remove()),ee.delete(H)}collectServerRenderedStyles(){const H=this.doc.head?.querySelectorAll(`style[${Me}="${this.appId}"]`);if(H?.length){const ee=new Map;return H.forEach(Re=>{null!=Re.textContent&&ee.set(Re.textContent,Re)}),ee}return null}changeUsageCount(H,ee){const Re=this.styleRef;if(Re.has(H)){const Ge=Re.get(H);return Ge.usage+=ee,Ge.usage}return Re.set(H,{usage:ee,elements:[]}),ee}getStyleElement(H,ee){const Re=this.styleNodesInDOM,Ge=Re?.get(ee);if(Ge?.parentNode===H)return Re.delete(ee),Ge.removeAttribute(Me),Ge;{const ut=this.doc.createElement("style");return this.nonce&&ut.setAttribute("nonce",this.nonce),ut.textContent=ee,this.platformIsServer&&ut.setAttribute(Me,this.appId),ut}}addStyleToHost(H,ee){const Re=this.getStyleElement(H,ee);H.appendChild(Re);const Ge=this.styleRef,ut=Ge.get(ee)?.elements;ut?ut.push(Re):Ge.set(ee,{elements:[Re],usage:1})}resetHostNodes(){const H=this.hostNodes;H.clear(),H.add(this.doc.head)}}return(pe=V).\u0275fac=function(H){return new(H||pe)(m.LFG(w.K0),m.LFG(m.AFp),m.LFG(m.Ojb,8),m.LFG(m.Lbi))},pe.\u0275prov=m.Yz7({token:pe,factory:pe.\u0275fac}),V})();const be={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/"},Be=/%COMP%/g,he=new m.OlP("RemoveStylesOnCompDestroy",{providedIn:"root",factory:()=>!1});function we(pe,V){return V.map(ue=>ue.replace(Be,pe))}let Ae=(()=>{var pe;class V{constructor(H,ee,Re,Ge,ut,st,jt,fn=null){this.eventManager=H,this.sharedStylesHost=ee,this.appId=Re,this.removeStylesOnCompDestroy=Ge,this.doc=ut,this.platformId=st,this.ngZone=jt,this.nonce=fn,this.rendererByCompId=new Map,this.platformIsServer=(0,w.PM)(st),this.defaultRenderer=new $e(H,ut,jt,this.platformIsServer)}createRenderer(H,ee){if(!H||!ee)return this.defaultRenderer;this.platformIsServer&&ee.encapsulation===m.ifc.ShadowDom&&(ee={...ee,encapsulation:m.ifc.Emulated});const Re=this.getOrCreateRenderer(H,ee);return Re instanceof Wt?Re.applyToHost(H):Re instanceof dn&&Re.applyStyles(),Re}getOrCreateRenderer(H,ee){const Re=this.rendererByCompId;let Ge=Re.get(ee.id);if(!Ge){const ut=this.doc,st=this.ngZone,jt=this.eventManager,fn=this.sharedStylesHost,mn=this.removeStylesOnCompDestroy,z=this.platformIsServer;switch(ee.encapsulation){case m.ifc.Emulated:Ge=new Wt(jt,fn,ee,this.appId,mn,ut,st,z);break;case m.ifc.ShadowDom:return new _n(jt,fn,H,ee,ut,st,this.nonce,z);default:Ge=new dn(jt,fn,ee,mn,ut,st,z)}Re.set(ee.id,Ge)}return Ge}ngOnDestroy(){this.rendererByCompId.clear()}}return(pe=V).\u0275fac=function(H){return new(H||pe)(m.LFG(de),m.LFG(Te),m.LFG(m.AFp),m.LFG(he),m.LFG(w.K0),m.LFG(m.Lbi),m.LFG(m.R0b),m.LFG(m.Ojb))},pe.\u0275prov=m.Yz7({token:pe,factory:pe.\u0275fac}),V})();class $e{constructor(V,ue,H,ee){this.eventManager=V,this.doc=ue,this.ngZone=H,this.platformIsServer=ee,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(V,ue){return ue?this.doc.createElementNS(be[ue]||ue,V):this.doc.createElement(V)}createComment(V){return this.doc.createComment(V)}createText(V){return this.doc.createTextNode(V)}appendChild(V,ue){(cn(V)?V.content:V).appendChild(ue)}insertBefore(V,ue,H){V&&(cn(V)?V.content:V).insertBefore(ue,H)}removeChild(V,ue){V&&V.removeChild(ue)}selectRootElement(V,ue){let H="string"==typeof V?this.doc.querySelector(V):V;if(!H)throw new m.vHH(-5104,!1);return ue||(H.textContent=""),H}parentNode(V){return V.parentNode}nextSibling(V){return V.nextSibling}setAttribute(V,ue,H,ee){if(ee){ue=ee+":"+ue;const Re=be[ee];Re?V.setAttributeNS(Re,ue,H):V.setAttribute(ue,H)}else V.setAttribute(ue,H)}removeAttribute(V,ue,H){if(H){const ee=be[H];ee?V.removeAttributeNS(ee,ue):V.removeAttribute(`${H}:${ue}`)}else V.removeAttribute(ue)}addClass(V,ue){V.classList.add(ue)}removeClass(V,ue){V.classList.remove(ue)}setStyle(V,ue,H,ee){ee&(m.JOm.DashCase|m.JOm.Important)?V.style.setProperty(ue,H,ee&m.JOm.Important?"important":""):V.style[ue]=H}removeStyle(V,ue,H){H&m.JOm.DashCase?V.style.removeProperty(ue):V.style[ue]=""}setProperty(V,ue,H){V[ue]=H}setValue(V,ue){V.nodeValue=ue}listen(V,ue,H){if("string"==typeof V&&!(V=(0,w.q)().getGlobalEventTarget(this.doc,V)))throw new Error(`Unsupported event target ${V} for event ${ue}`);return this.eventManager.addEventListener(V,ue,this.decoratePreventDefault(H))}decoratePreventDefault(V){return ue=>{if("__ngUnwrap__"===ue)return V;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>V(ue)):V(ue))&&ue.preventDefault()}}}function cn(pe){return"TEMPLATE"===pe.tagName&&void 0!==pe.content}class _n extends $e{constructor(V,ue,H,ee,Re,Ge,ut,st){super(V,Re,Ge,st),this.sharedStylesHost=ue,this.hostEl=H,this.shadowRoot=H.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const jt=we(ee.id,ee.styles);for(const fn of jt){const mn=document.createElement("style");ut&&mn.setAttribute("nonce",ut),mn.textContent=fn,this.shadowRoot.appendChild(mn)}}nodeOrShadowRoot(V){return V===this.hostEl?this.shadowRoot:V}appendChild(V,ue){return super.appendChild(this.nodeOrShadowRoot(V),ue)}insertBefore(V,ue,H){return super.insertBefore(this.nodeOrShadowRoot(V),ue,H)}removeChild(V,ue){return super.removeChild(this.nodeOrShadowRoot(V),ue)}parentNode(V){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(V)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class dn extends $e{constructor(V,ue,H,ee,Re,Ge,ut,st){super(V,Re,Ge,ut),this.sharedStylesHost=ue,this.removeStylesOnCompDestroy=ee,this.styles=st?we(st,H.styles):H.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class Wt extends dn{constructor(V,ue,H,ee,Re,Ge,ut,st){const jt=ee+"-"+H.id;super(V,ue,H,Re,Ge,ut,st,jt),this.contentAttr=function ie(pe){return"_ngcontent-%COMP%".replace(Be,pe)}(jt),this.hostAttr=function ke(pe){return"_nghost-%COMP%".replace(Be,pe)}(jt)}applyToHost(V){this.applyStyles(),this.setAttribute(V,this.hostAttr,"")}createElement(V,ue){const H=super.createElement(V,ue);return super.setAttribute(H,this.contentAttr,""),H}}let Vt=(()=>{var pe;class V extends Le{constructor(H){super(H)}supports(H){return!0}addEventListener(H,ee,Re){return H.addEventListener(ee,Re,!1),()=>this.removeEventListener(H,ee,Re)}removeEventListener(H,ee,Re){return H.removeEventListener(ee,Re)}}return(pe=V).\u0275fac=function(H){return new(H||pe)(m.LFG(w.K0))},pe.\u0275prov=m.Yz7({token:pe,factory:pe.\u0275fac}),V})();const nn=["alt","control","meta","shift"],le={"\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"},fe={alt:pe=>pe.altKey,control:pe=>pe.ctrlKey,meta:pe=>pe.metaKey,shift:pe=>pe.shiftKey};let me=(()=>{var pe;class V extends Le{constructor(H){super(H)}supports(H){return null!=V.parseEventName(H)}addEventListener(H,ee,Re){const Ge=V.parseEventName(ee),ut=V.eventCallback(Ge.fullKey,Re,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,w.q)().onAndCancel(H,Ge.domEventName,ut))}static parseEventName(H){const ee=H.toLowerCase().split("."),Re=ee.shift();if(0===ee.length||"keydown"!==Re&&"keyup"!==Re)return null;const Ge=V._normalizeKey(ee.pop());let ut="",st=ee.indexOf("code");if(st>-1&&(ee.splice(st,1),ut="code."),nn.forEach(fn=>{const mn=ee.indexOf(fn);mn>-1&&(ee.splice(mn,1),ut+=fn+".")}),ut+=Ge,0!=ee.length||0===Ge.length)return null;const jt={};return jt.domEventName=Re,jt.fullKey=ut,jt}static matchEventFullKeyCode(H,ee){let Re=le[H.key]||H.key,Ge="";return ee.indexOf("code.")>-1&&(Re=H.code,Ge="code."),!(null==Re||!Re)&&(Re=Re.toLowerCase()," "===Re?Re="space":"."===Re&&(Re="dot"),nn.forEach(ut=>{ut!==Re&&(0,fe[ut])(H)&&(Ge+=ut+".")}),Ge+=Re,Ge===ee)}static eventCallback(H,ee,Re){return Ge=>{V.matchEventFullKeyCode(Ge,H)&&Re.runGuarded(()=>ee(Ge))}}static _normalizeKey(H){return"esc"===H?"escape":H}}return(pe=V).\u0275fac=function(H){return new(H||pe)(m.LFG(w.K0))},pe.\u0275prov=m.Yz7({token:pe,factory:pe.\u0275fac}),V})();const Z=(0,m.eFA)(m._c5,"browser",[{provide:m.Lbi,useValue:w.bD},{provide:m.g9A,useValue:function Q(){x.makeCurrent()},multi:!0},{provide:w.K0,useFactory:function _e(){return(0,m.RDi)(document),document},deps:[]}]),Ze=new m.OlP(""),ot=[{provide:m.rWj,useClass:class se{addToWindow(V){m.dqk.getAngularTestability=(H,ee=!0)=>{const Re=V.findTestabilityInTree(H,ee);if(null==Re)throw new m.vHH(5103,!1);return Re},m.dqk.getAllAngularTestabilities=()=>V.getAllTestabilities(),m.dqk.getAllAngularRootElements=()=>V.getAllRootElements(),m.dqk.frameworkStabilizers||(m.dqk.frameworkStabilizers=[]),m.dqk.frameworkStabilizers.push(H=>{const ee=m.dqk.getAllAngularTestabilities();let Re=ee.length,Ge=!1;const ut=function(st){Ge=Ge||st,Re--,0==Re&&H(Ge)};ee.forEach(st=>{st.whenStable(ut)})})}findTestabilityInTree(V,ue,H){return null==ue?null:V.getTestability(ue)??(H?(0,w.q)().isShadowRoot(ue)?this.findTestabilityInTree(V,ue.host,!0):this.findTestabilityInTree(V,ue.parentElement,!0):null)}},deps:[]},{provide:m.lri,useClass:m.dDg,deps:[m.R0b,m.eoX,m.rWj]},{provide:m.dDg,useClass:m.dDg,deps:[m.R0b,m.eoX,m.rWj]}],Kt=[{provide:m.zSh,useValue:"root"},{provide:m.qLn,useFactory:function ye(){return new m.qLn},deps:[]},{provide:ne,useClass:Vt,multi:!0,deps:[w.K0,m.R0b,m.Lbi]},{provide:ne,useClass:me,multi:!0,deps:[w.K0]},Ae,Te,de,{provide:m.FYo,useExisting:Ae},{provide:w.JF,useClass:W,deps:[]},[]];let It=(()=>{var pe;class V{constructor(H){}static withServerTransition(H){return{ngModule:V,providers:[{provide:m.AFp,useValue:H.appId}]}}}return(pe=V).\u0275fac=function(H){return new(H||pe)(m.LFG(Ze,12))},pe.\u0275mod=m.oAB({type:pe}),pe.\u0275inj=m.cJS({providers:[...Kt,...ot],imports:[w.ez,m.hGG]}),V})(),Ar=(()=>{var pe;class V{constructor(H){this._doc=H}getTitle(){return this._doc.title}setTitle(H){this._doc.title=H||""}}return(pe=V).\u0275fac=function(H){return new(H||pe)(m.LFG(w.K0))},pe.\u0275prov=m.Yz7({token:pe,factory:function(H){let ee=null;return ee=H?new H:function Dn(){return new Ar((0,m.LFG)(w.K0))}(),ee},providedIn:"root"}),V})();typeof window<"u"&&window;let Gr=(()=>{var pe;class V{}return(pe=V).\u0275fac=function(H){return new(H||pe)},pe.\u0275prov=m.Yz7({token:pe,factory:function(H){let ee=null;return ee=H?new(H||pe):m.LFG(bn),ee},providedIn:"root"}),V})(),bn=(()=>{var pe;class V extends Gr{constructor(H){super(),this._doc=H}sanitize(H,ee){if(null==ee)return null;switch(H){case m.q3G.NONE:return ee;case m.q3G.HTML:return(0,m.qzn)(ee,"HTML")?(0,m.z3N)(ee):(0,m.EiD)(this._doc,String(ee)).toString();case m.q3G.STYLE:return(0,m.qzn)(ee,"Style")?(0,m.z3N)(ee):ee;case m.q3G.SCRIPT:if((0,m.qzn)(ee,"Script"))return(0,m.z3N)(ee);throw new m.vHH(5200,!1);case m.q3G.URL:return(0,m.qzn)(ee,"URL")?(0,m.z3N)(ee):(0,m.mCW)(String(ee));case m.q3G.RESOURCE_URL:if((0,m.qzn)(ee,"ResourceURL"))return(0,m.z3N)(ee);throw new m.vHH(5201,!1);default:throw new m.vHH(5202,!1)}}bypassSecurityTrustHtml(H){return(0,m.JVY)(H)}bypassSecurityTrustStyle(H){return(0,m.L6k)(H)}bypassSecurityTrustScript(H){return(0,m.eBb)(H)}bypassSecurityTrustUrl(H){return(0,m.LAX)(H)}bypassSecurityTrustResourceUrl(H){return(0,m.pB0)(H)}}return(pe=V).\u0275fac=function(H){return new(H||pe)(m.LFG(w.K0))},pe.\u0275prov=m.Yz7({token:pe,factory:function(H){let ee=null;return ee=H?new H:function Rr(pe){return new bn(pe.get(w.K0))}(m.LFG(m.zs3)),ee},providedIn:"root"}),V})()},4408:(Ye,oe,M)=>{M.d(oe,{gz:()=>Cr,m2:()=>Zn,F0:()=>Hn,rH:()=>Mo,Od:()=>fr,Bz:()=>y,lC:()=>Fr});var m=M(5879),w=M(5592),te=M(4674),I=M(7715),U=M(2096),G=M(5619),X=M(2572);const W=(0,M(2306).d)(u=>function(){u(this),this.name="EmptyError",this.message="no elements in sequence"});var ne=M(5211),de=M(4911),Le=M(8407),Me=M(8504),Te=M(6232),be=M(3168),Be=M(8645),Xe=M(7394),rt=M(6814),Ce=M(7398),F=M(4664),he=M(8180),ie=M(7921),ke=M(2181),we=M(1631),Ae=M(9360),$e=M(8251);function tt(u){return(0,Ae.e)((h,v)=>{let f=!1;h.subscribe((0,$e.x)(v,D=>{f=!0,v.next(D)},()=>{f||v.next(u),v.complete()}))})}function Dt(u=cn){return(0,Ae.e)((h,v)=>{let f=!1;h.subscribe((0,$e.x)(v,D=>{f=!0,v.next(D)},()=>f?v.complete():v.error(u())))})}function cn(){return new W}var _n=M(2737);function dn(u,h){const v=arguments.length>=2;return f=>f.pipe(u?(0,ke.h)((D,S)=>u(D,S,f)):_n.y,(0,he.q)(1),v?tt(h):Dt(()=>new W))}var Wt=M(6328),Vt=M(9397),nn=M(6306);function me(u){return u<=0?()=>Te.E:(0,Ae.e)((h,v)=>{let f=[];h.subscribe((0,$e.x)(v,D=>{f.push(D),u<f.length&&f.shift()},()=>{for(const D of f)v.next(D);v.complete()},void 0,()=>{f=null}))})}var Ne=M(975),xe=M(4716),et=M(6196),Q=M(9773),ye=M(7537),_e=M(6593);const K="primary",Z=Symbol("RouteTitle");class Ze{constructor(h){this.params=h||{}}has(h){return Object.prototype.hasOwnProperty.call(this.params,h)}get(h){if(this.has(h)){const v=this.params[h];return Array.isArray(v)?v[0]:v}return null}getAll(h){if(this.has(h)){const v=this.params[h];return Array.isArray(v)?v:[v]}return[]}get keys(){return Object.keys(this.params)}}function ot(u){return new Ze(u)}function Kt(u,h,v){const f=v.path.split("/");if(f.length>u.length||"full"===v.pathMatch&&(h.hasChildren()||f.length<u.length))return null;const D={};for(let S=0;S<f.length;S++){const P=f[S],Y=u[S];if(P.startsWith(":"))D[P.substring(1)]=Y;else if(P!==Y.path)return null}return{consumed:u.slice(0,f.length),posParams:D}}function Qe(u,h){const v=u?Object.keys(u):void 0,f=h?Object.keys(h):void 0;if(!v||!f||v.length!=f.length)return!1;let D;for(let S=0;S<v.length;S++)if(D=v[S],!Vn(u[D],h[D]))return!1;return!0}function Vn(u,h){if(Array.isArray(u)&&Array.isArray(h)){if(u.length!==h.length)return!1;const v=[...u].sort(),f=[...h].sort();return v.every((D,S)=>f[S]===D)}return u===h}function Ln(u){return u.length>0?u[u.length-1]:null}function Dn(u){return function x(u){return!!u&&(u instanceof w.y||(0,te.m)(u.lift)&&(0,te.m)(u.subscribe))}(u)?u:(0,m.QGY)(u)?(0,I.D)(Promise.resolve(u)):(0,U.of)(u)}const Ar={exact:function vt(u,h,v){if(!sr(u.segments,h.segments)||!Bn(u.segments,h.segments,v)||u.numberOfChildren!==h.numberOfChildren)return!1;for(const f in h.children)if(!u.children[f]||!vt(u.children[f],h.children[f],v))return!1;return!0},subset:gn},zn={exact:function lt(u,h){return Qe(u,h)},subset:function bt(u,h){return Object.keys(h).length<=Object.keys(u).length&&Object.keys(h).every(v=>Vn(u[v],h[v]))},ignored:()=>!0};function In(u,h,v){return Ar[v.paths](u.root,h.root,v.matrixParams)&&zn[v.queryParams](u.queryParams,h.queryParams)&&!("exact"===v.fragment&&u.fragment!==h.fragment)}function gn(u,h,v){return Or(u,h,h.segments,v)}function Or(u,h,v,f){if(u.segments.length>v.length){const D=u.segments.slice(0,v.length);return!(!sr(D,v)||h.hasChildren()||!Bn(D,v,f))}if(u.segments.length===v.length){if(!sr(u.segments,v)||!Bn(u.segments,v,f))return!1;for(const D in h.children)if(!u.children[D]||!gn(u.children[D],h.children[D],f))return!1;return!0}{const D=v.slice(0,u.segments.length),S=v.slice(u.segments.length);return!!(sr(u.segments,D)&&Bn(u.segments,D,f)&&u.children[K])&&Or(u.children[K],h,S,f)}}function Bn(u,h,v){return h.every((f,D)=>zn[v](u[D].parameters,f.parameters))}class xt{constructor(h=new mt([],{}),v={},f=null){this.root=h,this.queryParams=v,this.fragment=f}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=ot(this.queryParams)),this._queryParamMap}toString(){return Gr.serialize(this)}}class mt{constructor(h,v){this.segments=h,this.children=v,this.parent=null,Object.values(v).forEach(f=>f.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Rr(this)}}class os{constructor(h,v){this.path=h,this.parameters=v}get parameterMap(){return this._parameterMap||(this._parameterMap=ot(this.parameters)),this._parameterMap}toString(){return Hs(this)}}function sr(u,h){return u.length===h.length&&u.every((v,f)=>v.path===h[f].path)}let pr=(()=>{var u;class h{}return(u=h).\u0275fac=function(f){return new(f||u)},u.\u0275prov=m.Yz7({token:u,factory:function(){return new Pr},providedIn:"root"}),h})();class Pr{parse(h){const v=new jt(h);return new xt(v.parseRootSegment(),v.parseQueryParams(),v.parseFragment())}serialize(h){const v=`/${bn(h.root,!0)}`,f=function pe(u){const h=Object.keys(u).map(v=>{const f=u[v];return Array.isArray(f)?f.map(D=>`${Wr(v)}=${Wr(D)}`).join("&"):`${Wr(v)}=${Wr(f)}`}).filter(v=>!!v);return h.length?`?${h.join("&")}`:""}(h.queryParams);return`${v}${f}${"string"==typeof h.fragment?`#${function Ss(u){return encodeURI(u)}(h.fragment)}`:""}`}}const Gr=new Pr;function Rr(u){return u.segments.map(h=>Hs(h)).join("/")}function bn(u,h){if(!u.hasChildren())return Rr(u);if(h){const v=u.children[K]?bn(u.children[K],!1):"",f=[];return Object.entries(u.children).forEach(([D,S])=>{D!==K&&f.push(`${D}:${bn(S,!1)}`)}),f.length>0?`${v}(${f.join("//")})`:v}{const v=function Ft(u,h){let v=[];return Object.entries(u.children).forEach(([f,D])=>{f===K&&(v=v.concat(h(D,f)))}),Object.entries(u.children).forEach(([f,D])=>{f!==K&&(v=v.concat(h(D,f)))}),v}(u,(f,D)=>D===K?[bn(u.children[K],!1)]:[`${D}:${bn(f,!1)}`]);return 1===Object.keys(u.children).length&&null!=u.children[K]?`${Rr(u)}/${v[0]}`:`${Rr(u)}/(${v.join("//")})`}}function Gn(u){return encodeURIComponent(u).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Wr(u){return Gn(u).replace(/%3B/gi,";")}function Wn(u){return Gn(u).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Nr(u){return decodeURIComponent(u)}function Kr(u){return Nr(u.replace(/\+/g,"%20"))}function Hs(u){return`${Wn(u.path)}${function uo(u){return Object.keys(u).map(h=>`;${Wn(h)}=${Wn(u[h])}`).join("")}(u.parameters)}`}const V=/^[^\/()?;#]+/;function ue(u){const h=u.match(V);return h?h[0]:""}const H=/^[^\/()?;=#]+/,Re=/^[^=?&#]+/,ut=/^[^&#]+/;class jt{constructor(h){this.url=h,this.remaining=h}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new mt([],{}):new mt([],this.parseChildren())}parseQueryParams(){const h={};if(this.consumeOptional("?"))do{this.parseQueryParam(h)}while(this.consumeOptional("&"));return h}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const h=[];for(this.peekStartsWith("(")||h.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),h.push(this.parseSegment());let v={};this.peekStartsWith("/(")&&(this.capture("/"),v=this.parseParens(!0));let f={};return this.peekStartsWith("(")&&(f=this.parseParens(!1)),(h.length>0||Object.keys(v).length>0)&&(f[K]=new mt(h,v)),f}parseSegment(){const h=ue(this.remaining);if(""===h&&this.peekStartsWith(";"))throw new m.vHH(4009,!1);return this.capture(h),new os(Nr(h),this.parseMatrixParams())}parseMatrixParams(){const h={};for(;this.consumeOptional(";");)this.parseParam(h);return h}parseParam(h){const v=function ee(u){const h=u.match(H);return h?h[0]:""}(this.remaining);if(!v)return;this.capture(v);let f="";if(this.consumeOptional("=")){const D=ue(this.remaining);D&&(f=D,this.capture(f))}h[Nr(v)]=Nr(f)}parseQueryParam(h){const v=function Ge(u){const h=u.match(Re);return h?h[0]:""}(this.remaining);if(!v)return;this.capture(v);let f="";if(this.consumeOptional("=")){const P=function st(u){const h=u.match(ut);return h?h[0]:""}(this.remaining);P&&(f=P,this.capture(f))}const D=Kr(v),S=Kr(f);if(h.hasOwnProperty(D)){let P=h[D];Array.isArray(P)||(P=[P],h[D]=P),P.push(S)}else h[D]=S}parseParens(h){const v={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const f=ue(this.remaining),D=this.remaining[f.length];if("/"!==D&&")"!==D&&";"!==D)throw new m.vHH(4010,!1);let S;f.indexOf(":")>-1?(S=f.slice(0,f.indexOf(":")),this.capture(S),this.capture(":")):h&&(S=K);const P=this.parseChildren();v[S]=1===Object.keys(P).length?P[K]:new mt([],P),this.consumeOptional("//")}return v}peekStartsWith(h){return this.remaining.startsWith(h)}consumeOptional(h){return!!this.peekStartsWith(h)&&(this.remaining=this.remaining.substring(h.length),!0)}capture(h){if(!this.consumeOptional(h))throw new m.vHH(4011,!1)}}function fn(u){return u.segments.length>0?new mt([],{[K]:u}):u}function mn(u){const h={};for(const f of Object.keys(u.children)){const S=mn(u.children[f]);if(f===K&&0===S.segments.length&&S.hasChildren())for(const[P,Y]of Object.entries(S.children))h[P]=Y;else(S.segments.length>0||S.hasChildren())&&(h[f]=S)}return function z(u){if(1===u.numberOfChildren&&u.children[K]){const h=u.children[K];return new mt(u.segments.concat(h.segments),h.children)}return u}(new mt(u.segments,h))}function L(u){return u instanceof xt}function re(u){let h;const D=fn(function v(S){const P={};for(const Pe of S.children){const ce=v(Pe);P[Pe.outlet]=ce}const Y=new mt(S.url,P);return S===u&&(h=Y),Y}(u.root));return h??D}function He(u,h,v,f){let D=u;for(;D.parent;)D=D.parent;if(0===h.length)return je(D,D,D,v,f);const S=function Cn(u){if("string"==typeof u[0]&&1===u.length&&"/"===u[0])return new wt(!0,0,u);let h=0,v=!1;const f=u.reduce((D,S,P)=>{if("object"==typeof S&&null!=S){if(S.outlets){const Y={};return Object.entries(S.outlets).forEach(([Pe,ce])=>{Y[Pe]="string"==typeof ce?ce.split("/"):ce}),[...D,{outlets:Y}]}if(S.segmentPath)return[...D,S.segmentPath]}return"string"!=typeof S?[...D,S]:0===P?(S.split("/").forEach((Y,Pe)=>{0==Pe&&"."===Y||(0==Pe&&""===Y?v=!0:".."===Y?h++:""!=Y&&D.push(Y))}),D):[...D,S]},[]);return new wt(v,h,f)}(h);if(S.toRoot())return je(D,D,new mt([],{}),v,f);const P=function rn(u,h,v){if(u.isAbsolute)return new An(h,!0,0);if(!v)return new An(h,!1,NaN);if(null===v.parent)return new An(v,!0,0);const f=Oe(u.commands[0])?0:1;return function Kn(u,h,v){let f=u,D=h,S=v;for(;S>D;){if(S-=D,f=f.parent,!f)throw new m.vHH(4005,!1);D=f.segments.length}return new An(f,!1,D-S)}(v,v.segments.length-1+f,u.numberOfDoubleDots)}(S,D,u),Y=P.processChildren?Ot(P.segmentGroup,P.index,S.commands):Dr(P.segmentGroup,P.index,S.commands);return je(D,P.segmentGroup,Y,v,f)}function Oe(u){return"object"==typeof u&&null!=u&&!u.outlets&&!u.segmentPath}function Je(u){return"object"==typeof u&&null!=u&&u.outlets}function je(u,h,v,f,D){let P,S={};f&&Object.entries(f).forEach(([Pe,ce])=>{S[Pe]=Array.isArray(ce)?ce.map(nt=>`${nt}`):`${ce}`}),P=u===h?v:Lt(u,h,v);const Y=fn(mn(P));return new xt(Y,S,D)}function Lt(u,h,v){const f={};return Object.entries(u.children).forEach(([D,S])=>{f[D]=S===h?v:Lt(S,h,v)}),new mt(u.segments,f)}class wt{constructor(h,v,f){if(this.isAbsolute=h,this.numberOfDoubleDots=v,this.commands=f,h&&f.length>0&&Oe(f[0]))throw new m.vHH(4003,!1);const D=f.find(Je);if(D&&D!==Ln(f))throw new m.vHH(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class An{constructor(h,v,f){this.segmentGroup=h,this.processChildren=v,this.index=f}}function Dr(u,h,v){if(u||(u=new mt([],{})),0===u.segments.length&&u.hasChildren())return Ot(u,h,v);const f=function Yt(u,h,v){let f=0,D=h;const S={match:!1,pathIndex:0,commandIndex:0};for(;D<u.segments.length;){if(f>=v.length)return S;const P=u.segments[D],Y=v[f];if(Je(Y))break;const Pe=`${Y}`,ce=f<v.length-1?v[f+1]:null;if(D>0&&void 0===Pe)break;if(Pe&&ce&&"object"==typeof ce&&void 0===ce.outlets){if(!ir(Pe,ce,P))return S;f+=2}else{if(!ir(Pe,{},P))return S;f++}D++}return{match:!0,pathIndex:D,commandIndex:f}}(u,h,v),D=v.slice(f.commandIndex);if(f.match&&f.pathIndex<u.segments.length){const S=new mt(u.segments.slice(0,f.pathIndex),{});return S.children[K]=new mt(u.segments.slice(f.pathIndex),u.children),Ot(S,0,D)}return f.match&&0===D.length?new mt(u.segments,{}):f.match&&!u.hasChildren()?On(u,h,v):f.match?Ot(u,0,D):On(u,h,v)}function Ot(u,h,v){if(0===v.length)return new mt(u.segments,{});{const f=function _r(u){return Je(u[0])?u[0].outlets:{[K]:u}}(v),D={};if(Object.keys(f).some(S=>S!==K)&&u.children[K]&&1===u.numberOfChildren&&0===u.children[K].segments.length){const S=Ot(u.children[K],h,v);return new mt(u.segments,S.children)}return Object.entries(f).forEach(([S,P])=>{"string"==typeof P&&(P=[P]),null!==P&&(D[S]=Dr(u.children[S],h,P))}),Object.entries(u.children).forEach(([S,P])=>{void 0===f[S]&&(D[S]=P)}),new mt(u.segments,D)}}function On(u,h,v){const f=u.segments.slice(0,h);let D=0;for(;D<v.length;){const S=v[D];if(Je(S)){const Pe=or(S.outlets);return new mt(f,Pe)}if(0===D&&Oe(v[0])){f.push(new os(u.segments[h].path,Jt(v[0]))),D++;continue}const P=Je(S)?S.outlets[K]:`${S}`,Y=D<v.length-1?v[D+1]:null;P&&Y&&Oe(Y)?(f.push(new os(P,Jt(Y))),D+=2):(f.push(new os(P,{})),D++)}return new mt(f,{})}function or(u){const h={};return Object.entries(u).forEach(([v,f])=>{"string"==typeof f&&(f=[f]),null!==f&&(h[v]=On(new mt([],{}),0,f))}),h}function Jt(u){const h={};return Object.entries(u).forEach(([v,f])=>h[v]=`${f}`),h}function ir(u,h,v){return u==v.path&&Qe(h,v.parameters)}const Yr="imperative";class En{constructor(h,v){this.id=h,this.url=v}}class Yn extends En{constructor(h,v,f="imperative",D=null){super(h,v),this.type=0,this.navigationTrigger=f,this.restoredState=D}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class Zn extends En{constructor(h,v,f){super(h,v),this.urlAfterRedirects=f,this.type=1}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class hn extends En{constructor(h,v,f,D){super(h,v),this.reason=f,this.code=D,this.type=2}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class xr extends En{constructor(h,v,f,D){super(h,v),this.reason=f,this.code=D,this.type=16}}class Er extends En{constructor(h,v,f,D){super(h,v),this.error=f,this.target=D,this.type=3}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class $s extends En{constructor(h,v,f,D){super(h,v),this.urlAfterRedirects=f,this.state=D,this.type=4}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class gi extends En{constructor(h,v,f,D){super(h,v),this.urlAfterRedirects=f,this.state=D,this.type=7}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class co extends En{constructor(h,v,f,D,S){super(h,v),this.urlAfterRedirects=f,this.state=D,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 Zr extends En{constructor(h,v,f,D){super(h,v),this.urlAfterRedirects=f,this.state=D,this.type=5}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class ar extends En{constructor(h,v,f,D){super(h,v),this.urlAfterRedirects=f,this.state=D,this.type=6}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class qr{constructor(h){this.route=h,this.type=9}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class Vs{constructor(h){this.route=h,this.type=10}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class gr{constructor(h){this.snapshot=h,this.type=11}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class zs{constructor(h){this.snapshot=h,this.type=12}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Ro{constructor(h){this.snapshot=h,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Is{constructor(h){this.snapshot=h,this.type=14}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class As{constructor(h,v,f){this.routerEvent=h,this.position=v,this.anchor=f,this.type=15}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class ys{}class Os{constructor(h){this.url=h}}class No{constructor(){this.outlet=null,this.route=null,this.injector=null,this.children=new _s,this.attachRef=null}}let _s=(()=>{var u;class h{constructor(){this.contexts=new Map}onChildOutletCreated(f,D){const S=this.getOrCreateContext(f);S.outlet=D,this.contexts.set(f,S)}onChildOutletDestroyed(f){const D=this.getContext(f);D&&(D.outlet=null,D.attachRef=null)}onOutletDeactivated(){const f=this.contexts;return this.contexts=new Map,f}onOutletReAttached(f){this.contexts=f}getOrCreateContext(f){let D=this.getContext(f);return D||(D=new No,this.contexts.set(f,D)),D}getContext(f){return this.contexts.get(f)||null}}return(u=h).\u0275fac=function(f){return new(f||u)},u.\u0275prov=m.Yz7({token:u,factory:u.\u0275fac,providedIn:"root"}),h})();class ct{constructor(h){this._root=h}get root(){return this._root.value}parent(h){const v=this.pathFromRoot(h);return v.length>1?v[v.length-2]:null}children(h){const v=pn(h,this._root);return v?v.children.map(f=>f.value):[]}firstChild(h){const v=pn(h,this._root);return v&&v.children.length>0?v.children[0].value:null}siblings(h){const v=Mn(h,this._root);return v.length<2?[]:v[v.length-2].children.map(D=>D.value).filter(D=>D!==h)}pathFromRoot(h){return Mn(h,this._root).map(v=>v.value)}}function pn(u,h){if(u===h.value)return h;for(const v of h.children){const f=pn(u,v);if(f)return f}return null}function Mn(u,h){if(u===h.value)return[h];for(const v of h.children){const f=Mn(u,v);if(f.length)return f.unshift(h),f}return[]}class jn{constructor(h,v){this.value=h,this.children=v}toString(){return`TreeNode(${this.value})`}}function wn(u){const h={};return u&&u.children.forEach(v=>h[v.value.outlet]=v),h}class xo extends ct{constructor(h,v){super(h),this.snapshot=v,Ut(this,h)}toString(){return this.snapshot.toString()}}function Fo(u,h){const v=function Gs(u,h){const P=new We([],{},{},"",{},K,h,null,{});return new dt("",new jn(P,[]))}(0,h),f=new G.X([new os("",{})]),D=new G.X({}),S=new G.X({}),P=new G.X({}),Y=new G.X(""),Pe=new Cr(f,D,P,Y,S,K,h,v.root);return Pe.snapshot=v.root,new xo(new jn(Pe,[]),v)}class Cr{constructor(h,v,f,D,S,P,Y,Pe){this.urlSubject=h,this.paramsSubject=v,this.queryParamsSubject=f,this.fragmentSubject=D,this.dataSubject=S,this.outlet=P,this.component=Y,this._futureSnapshot=Pe,this.title=this.dataSubject?.pipe((0,Ce.U)(ce=>ce[Z]))??(0,U.of)(void 0),this.url=h,this.params=v,this.queryParams=f,this.fragment=D,this.data=S}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,Ce.U)(h=>ot(h)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe((0,Ce.U)(h=>ot(h)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function fo(u,h="emptyOnly"){const v=u.pathFromRoot;let f=0;if("always"!==h)for(f=v.length-1;f>=1;){const D=v[f],S=v[f-1];if(D.routeConfig&&""===D.routeConfig.path)f--;else{if(S.component)break;f--}}return function Xt(u){return u.reduce((h,v)=>({params:{...h.params,...v.params},data:{...h.data,...v.data},resolve:{...v.data,...h.resolve,...v.routeConfig?.data,...v._resolvedData}}),{params:{},data:{},resolve:{}})}(v.slice(f))}class We{get title(){return this.data?.[Z]}constructor(h,v,f,D,S,P,Y,Pe,ce){this.url=h,this.params=v,this.queryParams=f,this.fragment=D,this.data=S,this.outlet=P,this.component=Y,this.routeConfig=Pe,this._resolve=ce}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=ot(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=ot(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(f=>f.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class dt extends ct{constructor(h,v){super(v),this.url=h,Ut(this,v)}toString(){return Pn(this._root)}}function Ut(u,h){h.value._routerState=u,h.children.forEach(v=>Ut(u,v))}function Pn(u){const h=u.children.length>0?` { ${u.children.map(Pn).join(", ")} } `:"";return`${u.value}${h}`}function wr(u){if(u.snapshot){const h=u.snapshot,v=u._futureSnapshot;u.snapshot=v,Qe(h.queryParams,v.queryParams)||u.queryParamsSubject.next(v.queryParams),h.fragment!==v.fragment&&u.fragmentSubject.next(v.fragment),Qe(h.params,v.params)||u.paramsSubject.next(v.params),function It(u,h){if(u.length!==h.length)return!1;for(let v=0;v<u.length;++v)if(!Qe(u[v],h[v]))return!1;return!0}(h.url,v.url)||u.urlSubject.next(v.url),Qe(h.data,v.data)||u.dataSubject.next(v.data)}else u.snapshot=u._futureSnapshot,u.dataSubject.next(u._futureSnapshot.data)}function vn(u,h){const v=Qe(u.params,h.params)&&function zt(u,h){return sr(u,h)&&u.every((v,f)=>Qe(v.parameters,h[f].parameters))}(u.url,h.url);return v&&!(!u.parent!=!h.parent)&&(!u.parent||vn(u.parent,h.parent))}let Fr=(()=>{var u;class h{constructor(){this.activated=null,this._activatedRoute=null,this.name=K,this.activateEvents=new m.vpe,this.deactivateEvents=new m.vpe,this.attachEvents=new m.vpe,this.detachEvents=new m.vpe,this.parentContexts=(0,m.f3M)(_s),this.location=(0,m.f3M)(m.s_b),this.changeDetector=(0,m.f3M)(m.sBO),this.environmentInjector=(0,m.f3M)(m.lqb),this.inputBinder=(0,m.f3M)(lr,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(f){if(f.name){const{firstChange:D,previousValue:S}=f.name;if(D)return;this.isTrackedInParentContexts(S)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(S)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(f){return this.parentContexts.getContext(f)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const f=this.parentContexts.getContext(this.name);f?.route&&(f.attachRef?this.attach(f.attachRef,f.route):this.activateWith(f.route,f.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new m.vHH(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new m.vHH(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new m.vHH(4012,!1);this.location.detach();const f=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(f.instance),f}attach(f,D){this.activated=f,this._activatedRoute=D,this.location.insert(f.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(f.instance)}deactivate(){if(this.activated){const f=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(f)}}activateWith(f,D){if(this.isActivated)throw new m.vHH(4013,!1);this._activatedRoute=f;const S=this.location,Y=f.snapshot.component,Pe=this.parentContexts.getOrCreateContext(this.name).children,ce=new sn(f,Pe,S.injector);this.activated=S.createComponent(Y,{index:S.length,injector:ce,environmentInjector:D??this.environmentInjector}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}}return(u=h).\u0275fac=function(f){return new(f||u)},u.\u0275dir=m.lG2({type:u,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[m.TTD]}),h})();class sn{constructor(h,v,f){this.route=h,this.childContexts=v,this.parent=f}get(h,v){return h===Cr?this.route:h===_s?this.childContexts:this.parent.get(h,v)}}const lr=new m.OlP("");let is=(()=>{var u;class h{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(f){this.unsubscribeFromRouteData(f),this.subscribeToRouteData(f)}unsubscribeFromRouteData(f){this.outletDataSubscriptions.get(f)?.unsubscribe(),this.outletDataSubscriptions.delete(f)}subscribeToRouteData(f){const{activatedRoute:D}=f,S=(0,X.a)([D.queryParams,D.params,D.data]).pipe((0,F.w)(([P,Y,Pe],ce)=>(Pe={...P,...Y,...Pe},0===ce?(0,U.of)(Pe):Promise.resolve(Pe)))).subscribe(P=>{if(!f.isActivated||!f.activatedComponentRef||f.activatedRoute!==D||null===D.component)return void this.unsubscribeFromRouteData(f);const Y=(0,m.qFp)(D.component);if(Y)for(const{templateName:Pe}of Y.inputs)f.activatedComponentRef.setInput(Pe,P[Pe]);else this.unsubscribeFromRouteData(f)});this.outletDataSubscriptions.set(f,S)}}return(u=h).\u0275fac=function(f){return new(f||u)},u.\u0275prov=m.Yz7({token:u,factory:u.\u0275fac}),h})();function kr(u,h,v){if(v&&u.shouldReuseRoute(h.value,v.value.snapshot)){const f=v.value;f._futureSnapshot=h.value;const D=function ko(u,h,v){return h.children.map(f=>{for(const D of v.children)if(u.shouldReuseRoute(f.value,D.value.snapshot))return kr(u,f,D);return kr(u,f)})}(u,h,v);return new jn(f,D)}{if(u.shouldAttach(h.value)){const S=u.retrieve(h.value);if(null!==S){const P=S.route;return P.value._futureSnapshot=h.value,P.children=h.children.map(Y=>kr(u,Y)),P}}const f=function Ds(u){return new Cr(new G.X(u.url),new G.X(u.params),new G.X(u.queryParams),new G.X(u.fragment),new G.X(u.data),u.outlet,u.component,u)}(h.value),D=h.children.map(S=>kr(u,S));return new jn(f,D)}}const Ht="ngNavigationCancelingError";function as(u,h){const{redirectTo:v,navigationBehaviorOptions:f}=L(h)?{redirectTo:h,navigationBehaviorOptions:void 0}:h,D=Qr(!1,0,h);return D.url=v,D.navigationBehaviorOptions=f,D}function Qr(u,h,v){const f=new Error("NavigationCancelingError: "+(u||""));return f[Ht]=!0,f.cancellationCode=h,v&&(f.url=v),f}function Es(u){return u&&u[Ht]}let ho=(()=>{var u;class h{}return(u=h).\u0275fac=function(f){return new(f||u)},u.\u0275cmp=m.Xpm({type:u,selectors:[["ng-component"]],standalone:!0,features:[m.jDz],decls:1,vars:0,template:function(f,D){1&f&&m._UZ(0,"router-outlet")},dependencies:[Fr],encapsulation:2}),h})();function us(u){const h=u.children&&u.children.map(us),v=h?{...u,children:h}:{...u};return!v.component&&!v.loadComponent&&(h||v.loadChildren)&&v.outlet&&v.outlet!==K&&(v.component=ho),v}function Rn(u){return u.outlet||K}function en(u){if(!u)return null;if(u.routeConfig?._injector)return u.routeConfig._injector;for(let h=u.parent;h;h=h.parent){const v=h.routeConfig;if(v?._loadedInjector)return v._loadedInjector;if(v?._injector)return v._injector}return null}class Nn{constructor(h,v,f,D,S){this.routeReuseStrategy=h,this.futureState=v,this.currState=f,this.forwardEvent=D,this.inputBindingEnabled=S}activate(h){const v=this.futureState._root,f=this.currState?this.currState._root:null;this.deactivateChildRoutes(v,f,h),wr(this.futureState.root),this.activateChildRoutes(v,f,h)}deactivateChildRoutes(h,v,f){const D=wn(v);h.children.forEach(S=>{const P=S.value.outlet;this.deactivateRoutes(S,D[P],f),delete D[P]}),Object.values(D).forEach(S=>{this.deactivateRouteAndItsChildren(S,f)})}deactivateRoutes(h,v,f){const D=h.value,S=v?v.value:null;if(D===S)if(D.component){const P=f.getContext(D.outlet);P&&this.deactivateChildRoutes(h,v,P.children)}else this.deactivateChildRoutes(h,v,f);else S&&this.deactivateRouteAndItsChildren(v,f)}deactivateRouteAndItsChildren(h,v){h.value.component&&this.routeReuseStrategy.shouldDetach(h.value.snapshot)?this.detachAndStoreRouteSubtree(h,v):this.deactivateRouteAndOutlet(h,v)}detachAndStoreRouteSubtree(h,v){const f=v.getContext(h.value.outlet),D=f&&h.value.component?f.children:v,S=wn(h);for(const P of Object.keys(S))this.deactivateRouteAndItsChildren(S[P],D);if(f&&f.outlet){const P=f.outlet.detach(),Y=f.children.onOutletDeactivated();this.routeReuseStrategy.store(h.value.snapshot,{componentRef:P,route:h,contexts:Y})}}deactivateRouteAndOutlet(h,v){const f=v.getContext(h.value.outlet),D=f&&h.value.component?f.children:v,S=wn(h);for(const P of Object.keys(S))this.deactivateRouteAndItsChildren(S[P],D);f&&(f.outlet&&(f.outlet.deactivate(),f.children.onOutletDeactivated()),f.attachRef=null,f.route=null)}activateChildRoutes(h,v,f){const D=wn(v);h.children.forEach(S=>{this.activateRoutes(S,D[S.value.outlet],f),this.forwardEvent(new Is(S.value.snapshot))}),h.children.length&&this.forwardEvent(new zs(h.value.snapshot))}activateRoutes(h,v,f){const D=h.value,S=v?v.value:null;if(wr(D),D===S)if(D.component){const P=f.getOrCreateContext(D.outlet);this.activateChildRoutes(h,v,P.children)}else this.activateChildRoutes(h,v,f);else if(D.component){const P=f.getOrCreateContext(D.outlet);if(this.routeReuseStrategy.shouldAttach(D.snapshot)){const Y=this.routeReuseStrategy.retrieve(D.snapshot);this.routeReuseStrategy.store(D.snapshot,null),P.children.onOutletReAttached(Y.contexts),P.attachRef=Y.componentRef,P.route=Y.route.value,P.outlet&&P.outlet.attach(Y.componentRef,Y.route.value),wr(Y.route.value),this.activateChildRoutes(h,null,P.children)}else{const Y=en(D.snapshot);P.attachRef=null,P.route=D,P.injector=Y,P.outlet&&P.outlet.activateWith(D,P.injector),this.activateChildRoutes(h,null,P.children)}}else this.activateChildRoutes(h,null,f)}}class Rs{constructor(h){this.path=h,this.route=this.path[this.path.length-1]}}class ur{constructor(h,v){this.component=h,this.route=v}}function Ys(u,h,v){const f=u._root;return Ns(f,h?h._root:null,v,[f.value])}function es(u,h){const v=Symbol(),f=h.get(u,v);return f===v?"function"!=typeof u||(0,m.Z0I)(u)?h.get(u):u:f}function Ns(u,h,v,f,D={canDeactivateChecks:[],canActivateChecks:[]}){const S=wn(h);return u.children.forEach(P=>{(function Wo(u,h,v,f,D={canDeactivateChecks:[],canActivateChecks:[]}){const S=u.value,P=h?h.value:null,Y=v?v.getContext(u.value.outlet):null;if(P&&S.routeConfig===P.routeConfig){const Pe=function va(u,h,v){if("function"==typeof v)return v(u,h);switch(v){case"pathParamsChange":return!sr(u.url,h.url);case"pathParamsOrQueryParamsChange":return!sr(u.url,h.url)||!Qe(u.queryParams,h.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!vn(u,h)||!Qe(u.queryParams,h.queryParams);default:return!vn(u,h)}}(P,S,S.routeConfig.runGuardsAndResolvers);Pe?D.canActivateChecks.push(new Rs(f)):(S.data=P.data,S._resolvedData=P._resolvedData),Ns(u,h,S.component?Y?Y.children:null:v,f,D),Pe&&Y&&Y.outlet&&Y.outlet.isActivated&&D.canDeactivateChecks.push(new ur(Y.outlet.component,P))}else P&&Zs(h,Y,D),D.canActivateChecks.push(new Rs(f)),Ns(u,null,S.component?Y?Y.children:null:v,f,D)})(P,S[P.value.outlet],v,f.concat([P.value]),D),delete S[P.value.outlet]}),Object.entries(S).forEach(([P,Y])=>Zs(Y,v.getContext(P),D)),D}function Zs(u,h,v){const f=wn(u),D=u.value;Object.entries(f).forEach(([S,P])=>{Zs(P,D.component?h?h.children.getContext(S):null:h,v)}),v.canDeactivateChecks.push(new ur(D.component&&h&&h.outlet&&h.outlet.isActivated?h.outlet.component:null,D))}function xs(u){return"function"==typeof u}function _i(u){return u instanceof W||"EmptyError"===u?.name}const Lo=Symbol("INITIAL_VALUE");function Fs(){return(0,F.w)(u=>(0,X.a)(u.map(h=>h.pipe((0,he.q)(1),(0,ie.O)(Lo)))).pipe((0,Ce.U)(h=>{for(const v of h)if(!0!==v){if(v===Lo)return Lo;if(!1===v||v instanceof xt)return v}return!0}),(0,ke.h)(h=>h!==Lo),(0,he.q)(1)))}function ks(u){return(0,Le.z)((0,Vt.b)(h=>{if(L(h))throw as(0,h)}),(0,Ce.U)(h=>!0===h))}class Cs{constructor(h){this.segmentGroup=h||null}}class xn{constructor(h){this.urlTree=h}}function Br(u){return(0,Me._)(new Cs(u))}function yo(u){return(0,Me._)(new xn(u))}class qs{constructor(h,v){this.urlSerializer=h,this.urlTree=v}noMatchError(h){return new m.vHH(4002,!1)}lineralizeSegments(h,v){let f=[],D=v.root;for(;;){if(f=f.concat(D.segments),0===D.numberOfChildren)return(0,U.of)(f);if(D.numberOfChildren>1||!D.children[K])return(0,Me._)(new m.vHH(4e3,!1));D=D.children[K]}}applyRedirectCommands(h,v,f){return this.applyRedirectCreateUrlTree(v,this.urlSerializer.parse(v),h,f)}applyRedirectCreateUrlTree(h,v,f,D){const S=this.createSegmentGroup(h,v.root,f,D);return new xt(S,this.createQueryParams(v.queryParams,this.urlTree.queryParams),v.fragment)}createQueryParams(h,v){const f={};return Object.entries(h).forEach(([D,S])=>{if("string"==typeof S&&S.startsWith(":")){const Y=S.substring(1);f[D]=v[Y]}else f[D]=S}),f}createSegmentGroup(h,v,f,D){const S=this.createSegments(h,v.segments,f,D);let P={};return Object.entries(v.children).forEach(([Y,Pe])=>{P[Y]=this.createSegmentGroup(h,Pe,f,D)}),new mt(S,P)}createSegments(h,v,f,D){return v.map(S=>S.path.startsWith(":")?this.findPosParam(h,S,D):this.findOrReturn(S,f))}findPosParam(h,v,f){const D=f[v.path.substring(1)];if(!D)throw new m.vHH(4001,!1);return D}findOrReturn(h,v){let f=0;for(const D of v){if(D.path===h.path)return v.splice(f),D;f++}return h}}const _o={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function Do(u,h,v,f,D){const S=Qs(u,h,v);return S.matched?(f=function ls(u,h){return u.providers&&!u._injector&&(u._injector=(0,m.MMx)(u.providers,h,`Route: ${u.path}`)),u._injector??h}(h,f),function yn(u,h,v,f){const D=h.canMatch;if(!D||0===D.length)return(0,U.of)(!0);const S=D.map(P=>{const Y=es(P,u);return Dn(function Yo(u){return u&&xs(u.canMatch)}(Y)?Y.canMatch(h,v):u.runInContext(()=>Y(h,v)))});return(0,U.of)(S).pipe(Fs(),ks())}(f,h,v).pipe((0,Ce.U)(P=>!0===P?S:{..._o}))):(0,U.of)(S)}function Qs(u,h,v){if(""===h.path)return"full"===h.pathMatch&&(u.hasChildren()||v.length>0)?{..._o}:{matched:!0,consumedSegments:[],remainingSegments:v,parameters:{},positionalParamSegments:{}};const D=(h.matcher||Kt)(v,u,h);if(!D)return{..._o};const S={};Object.entries(D.posParams??{}).forEach(([Y,Pe])=>{S[Y]=Pe.path});const P=D.consumed.length>0?{...S,...D.consumed[D.consumed.length-1].parameters}:S;return{matched:!0,consumedSegments:D.consumed,remainingSegments:v.slice(D.consumed.length),parameters:P,positionalParamSegments:D.posParams??{}}}function Eo(u,h,v,f){return v.length>0&&function Co(u,h,v){return v.some(f=>jr(u,h,f)&&Rn(f)!==K)}(u,v,f)?{segmentGroup:new mt(h,Qo(f,new mt(v,u.children))),slicedSegments:[]}:0===v.length&&function ws(u,h,v){return v.some(f=>jr(u,h,f))}(u,v,f)?{segmentGroup:new mt(u.segments,Js(u,0,v,f,u.children)),slicedSegments:v}:{segmentGroup:new mt(u.segments,u.children),slicedSegments:v}}function Js(u,h,v,f,D){const S={};for(const P of f)if(jr(u,v,P)&&!D[Rn(P)]){const Y=new mt([],{});S[Rn(P)]=Y}return{...D,...S}}function Qo(u,h){const v={};v[K]=h;for(const f of u)if(""===f.path&&Rn(f)!==K){const D=new mt([],{});v[Rn(f)]=D}return v}function jr(u,h,v){return(!(u.hasChildren()||h.length>0)||"full"!==v.pathMatch)&&""===v.path}class Ea{constructor(h,v,f,D,S,P,Y){this.injector=h,this.configLoader=v,this.rootComponentType=f,this.config=D,this.urlTree=S,this.paramsInheritanceStrategy=P,this.urlSerializer=Y,this.allowRedirects=!0,this.applyRedirects=new qs(this.urlSerializer,this.urlTree)}noMatchError(h){return new m.vHH(4002,!1)}recognize(){const h=Eo(this.urlTree.root,[],[],this.config).segmentGroup;return this.processSegmentGroup(this.injector,this.config,h,K).pipe((0,nn.K)(v=>{if(v instanceof xn)return this.allowRedirects=!1,this.urlTree=v.urlTree,this.match(v.urlTree);throw v instanceof Cs?this.noMatchError(v):v}),(0,Ce.U)(v=>{const f=new We([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},K,this.rootComponentType,null,{}),D=new jn(f,v),S=new dt("",D),P=function ae(u,h,v=null,f=null){return He(re(u),h,v,f)}(f,[],this.urlTree.queryParams,this.urlTree.fragment);return P.queryParams=this.urlTree.queryParams,S.url=this.urlSerializer.serialize(P),this.inheritParamsAndData(S._root),{state:S,tree:P}}))}match(h){return this.processSegmentGroup(this.injector,this.config,h.root,K).pipe((0,nn.K)(f=>{throw f instanceof Cs?this.noMatchError(f):f}))}inheritParamsAndData(h){const v=h.value,f=fo(v,this.paramsInheritanceStrategy);v.params=Object.freeze(f.params),v.data=Object.freeze(f.data),h.children.forEach(D=>this.inheritParamsAndData(D))}processSegmentGroup(h,v,f,D){return 0===f.segments.length&&f.hasChildren()?this.processChildren(h,v,f):this.processSegment(h,v,f,f.segments,D,!0)}processChildren(h,v,f){const D=[];for(const S of Object.keys(f.children))"primary"===S?D.unshift(S):D.push(S);return(0,I.D)(D).pipe((0,Wt.b)(S=>{const P=f.children[S],Y=function Ks(u,h){const v=u.filter(f=>Rn(f)===h);return v.push(...u.filter(f=>Rn(f)!==h)),v}(v,S);return this.processSegmentGroup(h,Y,P,S)}),function fe(u,h){return(0,Ae.e)(function le(u,h,v,f,D){return(S,P)=>{let Y=v,Pe=h,ce=0;S.subscribe((0,$e.x)(P,nt=>{const pt=ce++;Pe=Y?u(Pe,nt,pt):(Y=!0,nt),f&&P.next(Pe)},D&&(()=>{Y&&P.next(Pe),P.complete()})))}}(u,h,arguments.length>=2,!0))}((S,P)=>(S.push(...P),S)),tt(null),function Ee(u,h){const v=arguments.length>=2;return f=>f.pipe(u?(0,ke.h)((D,S)=>u(D,S,f)):_n.y,me(1),v?tt(h):Dt(()=>new W))}(),(0,we.z)(S=>{if(null===S)return Br(f);const P=wo(S);return function Ci(u){u.sort((h,v)=>h.value.outlet===K?-1:v.value.outlet===K?1:h.value.outlet.localeCompare(v.value.outlet))}(P),(0,U.of)(P)}))}processSegment(h,v,f,D,S,P){return(0,I.D)(v).pipe((0,Wt.b)(Y=>this.processSegmentAgainstRoute(Y._injector??h,v,Y,f,D,S,P).pipe((0,nn.K)(Pe=>{if(Pe instanceof Cs)return(0,U.of)(null);throw Pe}))),dn(Y=>!!Y),(0,nn.K)(Y=>{if(_i(Y))return function Di(u,h,v){return 0===h.length&&!u.children[v]}(f,D,S)?(0,U.of)([]):Br(f);throw Y}))}processSegmentAgainstRoute(h,v,f,D,S,P,Y){return function jo(u,h,v,f){return!!(Rn(u)===f||f!==K&&jr(h,v,u))&&("**"===u.path||Qs(h,u,v).matched)}(f,D,S,P)?void 0===f.redirectTo?this.matchSegmentAgainstRoute(h,D,f,S,P,Y):Y&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(h,D,v,f,S,P):Br(D):Br(D)}expandSegmentAgainstRouteUsingRedirect(h,v,f,D,S,P){return"**"===D.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(h,f,D,P):this.expandRegularSegmentAgainstRouteUsingRedirect(h,v,f,D,S,P)}expandWildCardWithParamsAgainstRouteUsingRedirect(h,v,f,D){const S=this.applyRedirects.applyRedirectCommands([],f.redirectTo,{});return f.redirectTo.startsWith("/")?yo(S):this.applyRedirects.lineralizeSegments(f,S).pipe((0,we.z)(P=>{const Y=new mt(P,{});return this.processSegment(h,v,Y,P,D,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(h,v,f,D,S,P){const{matched:Y,consumedSegments:Pe,remainingSegments:ce,positionalParamSegments:nt}=Qs(v,D,S);if(!Y)return Br(v);const pt=this.applyRedirects.applyRedirectCommands(Pe,D.redirectTo,nt);return D.redirectTo.startsWith("/")?yo(pt):this.applyRedirects.lineralizeSegments(D,pt).pipe((0,we.z)(qt=>this.processSegment(h,f,v,qt.concat(ce),P,!1)))}matchSegmentAgainstRoute(h,v,f,D,S,P){let Y;if("**"===f.path){const Pe=D.length>0?Ln(D).parameters:{},ce=new We(D,Pe,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,bo(f),Rn(f),f.component??f._loadedComponent??null,f,Uo(f));Y=(0,U.of)({snapshot:ce,consumedSegments:[],remainingSegments:[]}),v.children={}}else Y=Do(v,f,D,h).pipe((0,Ce.U)(({matched:Pe,consumedSegments:ce,remainingSegments:nt,parameters:pt})=>Pe?{snapshot:new We(ce,pt,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,bo(f),Rn(f),f.component??f._loadedComponent??null,f,Uo(f)),consumedSegments:ce,remainingSegments:nt}:null));return Y.pipe((0,F.w)(Pe=>null===Pe?Br(v):this.getChildConfig(h=f._injector??h,f,D).pipe((0,F.w)(({routes:ce})=>{const nt=f._loadedInjector??h,{snapshot:pt,consumedSegments:qt,remainingSegments:kt}=Pe,{segmentGroup:tr,slicedSegments:$r}=Eo(v,qt,kt,ce);if(0===$r.length&&tr.hasChildren())return this.processChildren(nt,ce,tr).pipe((0,Ce.U)(yr=>null===yr?null:[new jn(pt,yr)]));if(0===ce.length&&0===$r.length)return(0,U.of)([new jn(pt,[])]);const Sn=Rn(f)===S;return this.processSegment(nt,ce,tr,$r,Sn?K:S,!0).pipe((0,Ce.U)(yr=>[new jn(pt,yr)]))}))))}getChildConfig(h,v,f){return v.children?(0,U.of)({routes:v.children,injector:h}):v.loadChildren?void 0!==v._loadedRoutes?(0,U.of)({routes:v._loadedRoutes,injector:v._loadedInjector}):function Bo(u,h,v,f){const D=h.canLoad;if(void 0===D||0===D.length)return(0,U.of)(!0);const S=D.map(P=>{const Y=es(P,u);return Dn(function vi(u){return u&&xs(u.canLoad)}(Y)?Y.canLoad(h,v):u.runInContext(()=>Y(h,v)))});return(0,U.of)(S).pipe(Fs(),ks())}(h,v,f).pipe((0,we.z)(D=>D?this.configLoader.loadChildren(h,v).pipe((0,Vt.b)(S=>{v._loadedRoutes=S.routes,v._loadedInjector=S.injector})):function ds(u){return(0,Me._)(Qr(!1,3))}())):(0,U.of)({routes:[],injector:h})}}function Jo(u){const h=u.value.routeConfig;return h&&""===h.path}function wo(u){const h=[],v=new Set;for(const f of u){if(!Jo(f)){h.push(f);continue}const D=h.find(S=>f.value.routeConfig===S.value.routeConfig);void 0!==D?(D.children.push(...f.children),v.add(D)):h.push(f)}for(const f of v){const D=wo(f.children);h.push(new jn(f.value,D))}return h.filter(f=>!v.has(f))}function bo(u){return u.data||{}}function Uo(u){return u.resolve||{}}function E(u){return"string"==typeof u.title||null===u.title}function R(u){return(0,F.w)(h=>{const v=u(h);return v?(0,I.D)(v).pipe((0,Ce.U)(()=>h)):(0,U.of)(h)})}const _=new m.OlP("ROUTES");let O=(()=>{var u;class h{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=(0,m.f3M)(m.Sil)}loadComponent(f){if(this.componentLoaders.get(f))return this.componentLoaders.get(f);if(f._loadedComponent)return(0,U.of)(f._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(f);const D=Dn(f.loadComponent()).pipe((0,Ce.U)(Ue),(0,Vt.b)(P=>{this.onLoadEndListener&&this.onLoadEndListener(f),f._loadedComponent=P}),(0,xe.x)(()=>{this.componentLoaders.delete(f)})),S=new be.c(D,()=>new Be.x).pipe((0,et.x)());return this.componentLoaders.set(f,S),S}loadChildren(f,D){if(this.childrenLoaders.get(D))return this.childrenLoaders.get(D);if(D._loadedRoutes)return(0,U.of)({routes:D._loadedRoutes,injector:D._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(D);const P=function j(u,h,v,f){return Dn(u.loadChildren()).pipe((0,Ce.U)(Ue),(0,we.z)(D=>D instanceof m.YKP||Array.isArray(D)?(0,U.of)(D):(0,I.D)(h.compileModuleAsync(D))),(0,Ce.U)(D=>{f&&f(u);let S,P,Y=!1;return Array.isArray(D)?(P=D,!0):(S=D.create(v).injector,P=S.get(_,[],{optional:!0,self:!0}).flat()),{routes:P.map(us),injector:S}}))}(D,this.compiler,f,this.onLoadEndListener).pipe((0,xe.x)(()=>{this.childrenLoaders.delete(D)})),Y=new be.c(P,()=>new Be.x).pipe((0,et.x)());return this.childrenLoaders.set(D,Y),Y}}return(u=h).\u0275fac=function(f){return new(f||u)},u.\u0275prov=m.Yz7({token:u,factory:u.\u0275fac,providedIn:"root"}),h})();function Ue(u){return function ve(u){return u&&"object"==typeof u&&"default"in u}(u)?u.default:u}let yt=(()=>{var u;class h{get hasRequestedNavigation(){return 0!==this.navigationId}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new Be.x,this.transitionAbortSubject=new Be.x,this.configLoader=(0,m.f3M)(O),this.environmentInjector=(0,m.f3M)(m.lqb),this.urlSerializer=(0,m.f3M)(pr),this.rootContexts=(0,m.f3M)(_s),this.inputBindingEnabled=null!==(0,m.f3M)(lr,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>(0,U.of)(void 0),this.rootComponentType=null,this.configLoader.onLoadEndListener=S=>this.events.next(new Vs(S)),this.configLoader.onLoadStartListener=S=>this.events.next(new qr(S))}complete(){this.transitions?.complete()}handleNavigationRequest(f){const D=++this.navigationId;this.transitions?.next({...this.transitions.value,...f,id:D})}setupNavigations(f,D,S){return this.transitions=new G.X({id:0,currentUrlTree:D,currentRawUrl:D,currentBrowserUrl:D,extractedUrl:f.urlHandlingStrategy.extract(D),urlAfterRedirects:f.urlHandlingStrategy.extract(D),rawUrl:D,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:Yr,restoredState:null,currentSnapshot:S.snapshot,targetSnapshot:null,currentRouterState:S,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe((0,ke.h)(P=>0!==P.id),(0,Ce.U)(P=>({...P,extractedUrl:f.urlHandlingStrategy.extract(P.rawUrl)})),(0,F.w)(P=>{this.currentTransition=P;let Y=!1,Pe=!1;return(0,U.of)(P).pipe((0,Vt.b)(ce=>{this.currentNavigation={id:ce.id,initialUrl:ce.rawUrl,extractedUrl:ce.extractedUrl,trigger:ce.source,extras:ce.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null}}),(0,F.w)(ce=>{const nt=ce.currentBrowserUrl.toString(),pt=!f.navigated||ce.extractedUrl.toString()!==nt||nt!==ce.currentUrlTree.toString();if(!pt&&"reload"!==(ce.extras.onSameUrlNavigation??f.onSameUrlNavigation)){const kt="";return this.events.next(new xr(ce.id,this.urlSerializer.serialize(ce.rawUrl),kt,0)),ce.resolve(null),Te.E}if(f.urlHandlingStrategy.shouldProcessUrl(ce.rawUrl))return(0,U.of)(ce).pipe((0,F.w)(kt=>{const tr=this.transitions?.getValue();return this.events.next(new Yn(kt.id,this.urlSerializer.serialize(kt.extractedUrl),kt.source,kt.restoredState)),tr!==this.transitions?.getValue()?Te.E:Promise.resolve(kt)}),function Ho(u,h,v,f,D,S){return(0,we.z)(P=>function Ei(u,h,v,f,D,S,P="emptyOnly"){return new Ea(u,h,v,f,D,P,S).recognize()}(u,h,v,f,P.extractedUrl,D,S).pipe((0,Ce.U)(({state:Y,tree:Pe})=>({...P,targetSnapshot:Y,urlAfterRedirects:Pe}))))}(this.environmentInjector,this.configLoader,this.rootComponentType,f.config,this.urlSerializer,f.paramsInheritanceStrategy),(0,Vt.b)(kt=>{P.targetSnapshot=kt.targetSnapshot,P.urlAfterRedirects=kt.urlAfterRedirects,this.currentNavigation={...this.currentNavigation,finalUrl:kt.urlAfterRedirects};const tr=new $s(kt.id,this.urlSerializer.serialize(kt.extractedUrl),this.urlSerializer.serialize(kt.urlAfterRedirects),kt.targetSnapshot);this.events.next(tr)}));if(pt&&f.urlHandlingStrategy.shouldProcessUrl(ce.currentRawUrl)){const{id:kt,extractedUrl:tr,source:$r,restoredState:Sn,extras:yr}=ce,ze=new Yn(kt,this.urlSerializer.serialize(tr),$r,Sn);this.events.next(ze);const at=Fo(0,this.rootComponentType).snapshot;return this.currentTransition=P={...ce,targetSnapshot:at,urlAfterRedirects:tr,extras:{...yr,skipLocationChange:!1,replaceUrl:!1}},(0,U.of)(P)}{const kt="";return this.events.next(new xr(ce.id,this.urlSerializer.serialize(ce.extractedUrl),kt,1)),ce.resolve(null),Te.E}}),(0,Vt.b)(ce=>{const nt=new gi(ce.id,this.urlSerializer.serialize(ce.extractedUrl),this.urlSerializer.serialize(ce.urlAfterRedirects),ce.targetSnapshot);this.events.next(nt)}),(0,Ce.U)(ce=>(this.currentTransition=P={...ce,guards:Ys(ce.targetSnapshot,ce.currentSnapshot,this.rootContexts)},P)),function Da(u,h){return(0,we.z)(v=>{const{targetSnapshot:f,currentSnapshot:D,guards:{canActivateChecks:S,canDeactivateChecks:P}}=v;return 0===P.length&&0===S.length?(0,U.of)({...v,guardsResult:!0}):function cr(u,h,v,f){return(0,I.D)(u).pipe((0,we.z)(D=>function br(u,h,v,f,D){const S=h&&h.routeConfig?h.routeConfig.canDeactivate:null;if(!S||0===S.length)return(0,U.of)(!0);const P=S.map(Y=>{const Pe=en(h)??D,ce=es(Y,Pe);return Dn(function an(u){return u&&xs(u.canDeactivate)}(ce)?ce.canDeactivate(u,h,v,f):Pe.runInContext(()=>ce(u,h,v,f))).pipe(dn())});return(0,U.of)(P).pipe(Fs())}(D.component,D.route,v,h,f)),dn(D=>!0!==D,!0))}(P,f,D,u).pipe((0,we.z)(Y=>Y&&function Ko(u){return"boolean"==typeof u}(Y)?function mo(u,h,v,f){return(0,I.D)(h).pipe((0,Wt.b)(D=>(0,ne.z)(function Zo(u,h){return null!==u&&h&&h(new gr(u)),(0,U.of)(!0)}(D.route.parent,f),function vo(u,h){return null!==u&&h&&h(new Ro(u)),(0,U.of)(!0)}(D.route,f),function cs(u,h,v){const f=h[h.length-1],S=h.slice(0,h.length-1).reverse().map(P=>function Lr(u){const h=u.routeConfig?u.routeConfig.canActivateChild:null;return h&&0!==h.length?{node:u,guards:h}:null}(P)).filter(P=>null!==P).map(P=>(0,de.P)(()=>{const Y=P.guards.map(Pe=>{const ce=en(P.node)??v,nt=es(Pe,ce);return Dn(function yi(u){return u&&xs(u.canActivateChild)}(nt)?nt.canActivateChild(f,u):ce.runInContext(()=>nt(f,u))).pipe(dn())});return(0,U.of)(Y).pipe(Fs())}));return(0,U.of)(S).pipe(Fs())}(u,D.path,v),function qo(u,h,v){const f=h.routeConfig?h.routeConfig.canActivate:null;if(!f||0===f.length)return(0,U.of)(!0);const D=f.map(S=>(0,de.P)(()=>{const P=en(h)??v,Y=es(S,P);return Dn(function ya(u){return u&&xs(u.canActivate)}(Y)?Y.canActivate(h,u):P.runInContext(()=>Y(h,u))).pipe(dn())}));return(0,U.of)(D).pipe(Fs())}(u,D.route,v))),dn(D=>!0!==D,!0))}(f,S,u,h):(0,U.of)(Y)),(0,Ce.U)(Y=>({...v,guardsResult:Y})))})}(this.environmentInjector,ce=>this.events.next(ce)),(0,Vt.b)(ce=>{if(P.guardsResult=ce.guardsResult,L(ce.guardsResult))throw as(0,ce.guardsResult);const nt=new co(ce.id,this.urlSerializer.serialize(ce.extractedUrl),this.urlSerializer.serialize(ce.urlAfterRedirects),ce.targetSnapshot,!!ce.guardsResult);this.events.next(nt)}),(0,ke.h)(ce=>!!ce.guardsResult||(this.cancelNavigationTransition(ce,"",3),!1)),R(ce=>{if(ce.guards.canActivateChecks.length)return(0,U.of)(ce).pipe((0,Vt.b)(nt=>{const pt=new Zr(nt.id,this.urlSerializer.serialize(nt.extractedUrl),this.urlSerializer.serialize(nt.urlAfterRedirects),nt.targetSnapshot);this.events.next(pt)}),(0,F.w)(nt=>{let pt=!1;return(0,U.of)(nt).pipe(function Ca(u,h){return(0,we.z)(v=>{const{targetSnapshot:f,guards:{canActivateChecks:D}}=v;if(!D.length)return(0,U.of)(v);let S=0;return(0,I.D)(D).pipe((0,Wt.b)(P=>function wa(u,h,v,f){const D=u.routeConfig,S=u._resolve;return void 0!==D?.title&&!E(D)&&(S[Z]=D.title),function Xs(u,h,v,f){const D=function ei(u){return[...Object.keys(u),...Object.getOwnPropertySymbols(u)]}(u);if(0===D.length)return(0,U.of)({});const S={};return(0,I.D)(D).pipe((0,we.z)(P=>function d(u,h,v,f){const D=en(h)??f,S=es(u,D);return Dn(S.resolve?S.resolve(h,v):D.runInContext(()=>S(h,v)))}(u[P],h,v,f).pipe(dn(),(0,Vt.b)(Y=>{S[P]=Y}))),me(1),(0,Ne.h)(S),(0,nn.K)(P=>_i(P)?Te.E:(0,Me._)(P)))}(S,u,h,f).pipe((0,Ce.U)(P=>(u._resolvedData=P,u.data=fo(u,v).resolve,D&&E(D)&&(u.data[Z]=D.title),null)))}(P.route,f,u,h)),(0,Vt.b)(()=>S++),me(1),(0,we.z)(P=>S===D.length?(0,U.of)(v):Te.E))})}(f.paramsInheritanceStrategy,this.environmentInjector),(0,Vt.b)({next:()=>pt=!0,complete:()=>{pt||this.cancelNavigationTransition(nt,"",2)}}))}),(0,Vt.b)(nt=>{const pt=new ar(nt.id,this.urlSerializer.serialize(nt.extractedUrl),this.urlSerializer.serialize(nt.urlAfterRedirects),nt.targetSnapshot);this.events.next(pt)}))}),R(ce=>{const nt=pt=>{const qt=[];pt.routeConfig?.loadComponent&&!pt.routeConfig._loadedComponent&&qt.push(this.configLoader.loadComponent(pt.routeConfig).pipe((0,Vt.b)(kt=>{pt.component=kt}),(0,Ce.U)(()=>{})));for(const kt of pt.children)qt.push(...nt(kt));return qt};return(0,X.a)(nt(ce.targetSnapshot.root)).pipe(tt(),(0,he.q)(1))}),R(()=>this.afterPreactivation()),(0,Ce.U)(ce=>{const nt=function ht(u,h,v){const f=kr(u,h._root,v?v._root:void 0);return new xo(f,h)}(f.routeReuseStrategy,ce.targetSnapshot,ce.currentRouterState);return this.currentTransition=P={...ce,targetRouterState:nt},P}),(0,Vt.b)(()=>{this.events.next(new ys)}),((u,h,v,f)=>(0,Ce.U)(D=>(new Nn(h,D.targetRouterState,D.currentRouterState,v,f).activate(u),D)))(this.rootContexts,f.routeReuseStrategy,ce=>this.events.next(ce),this.inputBindingEnabled),(0,he.q)(1),(0,Vt.b)({next:ce=>{Y=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new Zn(ce.id,this.urlSerializer.serialize(ce.extractedUrl),this.urlSerializer.serialize(ce.urlAfterRedirects))),f.titleStrategy?.updateTitle(ce.targetRouterState.snapshot),ce.resolve(!0)},complete:()=>{Y=!0}}),(0,Q.R)(this.transitionAbortSubject.pipe((0,Vt.b)(ce=>{throw ce}))),(0,xe.x)(()=>{Y||Pe||this.cancelNavigationTransition(P,"",1),this.currentNavigation?.id===P.id&&(this.currentNavigation=null)}),(0,nn.K)(ce=>{if(Pe=!0,Es(ce))this.events.next(new hn(P.id,this.urlSerializer.serialize(P.extractedUrl),ce.message,ce.cancellationCode)),function qn(u){return Es(u)&&L(u.url)}(ce)?this.events.next(new Os(ce.url)):P.resolve(!1);else{this.events.next(new Er(P.id,this.urlSerializer.serialize(P.extractedUrl),ce,P.targetSnapshot??void 0));try{P.resolve(f.errorHandler(ce))}catch(nt){P.reject(nt)}}return Te.E}))}))}cancelNavigationTransition(f,D,S){const P=new hn(f.id,this.urlSerializer.serialize(f.extractedUrl),D,S);this.events.next(P),f.resolve(!1)}}return(u=h).\u0275fac=function(f){return new(f||u)},u.\u0275prov=m.Yz7({token:u,factory:u.\u0275fac,providedIn:"root"}),h})();function Rt(u){return u!==Yr}let Pt=(()=>{var u;class h{buildTitle(f){let D,S=f.root;for(;void 0!==S;)D=this.getResolvedTitleForRoute(S)??D,S=S.children.find(P=>P.outlet===K);return D}getResolvedTitleForRoute(f){return f.data[Z]}}return(u=h).\u0275fac=function(f){return new(f||u)},u.\u0275prov=m.Yz7({token:u,factory:function(){return(0,m.f3M)(Et)},providedIn:"root"}),h})(),Et=(()=>{var u;class h extends Pt{constructor(f){super(),this.title=f}updateTitle(f){const D=this.buildTitle(f);void 0!==D&&this.title.setTitle(D)}}return(u=h).\u0275fac=function(f){return new(f||u)(m.LFG(_e.Dx))},u.\u0275prov=m.Yz7({token:u,factory:u.\u0275fac,providedIn:"root"}),h})(),ln=(()=>{var u;class h{}return(u=h).\u0275fac=function(f){return new(f||u)},u.\u0275prov=m.Yz7({token:u,factory:function(){return(0,m.f3M)(un)},providedIn:"root"}),h})();class $t{shouldDetach(h){return!1}store(h,v){}shouldAttach(h){return!1}retrieve(h){return null}shouldReuseRoute(h,v){return h.routeConfig===v.routeConfig}}let un=(()=>{var u;class h extends $t{}return(u=h).\u0275fac=function(){let v;return function(D){return(v||(v=m.n5z(u)))(D||u)}}(),u.\u0275prov=m.Yz7({token:u,factory:u.\u0275fac,providedIn:"root"}),h})();const Xn=new m.OlP("",{providedIn:"root",factory:()=>({})});let mr=(()=>{var u;class h{}return(u=h).\u0275fac=function(f){return new(f||u)},u.\u0275prov=m.Yz7({token:u,factory:function(){return(0,m.f3M)(Ur)},providedIn:"root"}),h})(),Ur=(()=>{var u;class h{shouldProcessUrl(f){return!0}extract(f){return f}merge(f,D){return f}}return(u=h).\u0275fac=function(f){return new(f||u)},u.\u0275prov=m.Yz7({token:u,factory:u.\u0275fac,providedIn:"root"}),h})();var on=function(u){return u[u.COMPLETE=0]="COMPLETE",u[u.FAILED=1]="FAILED",u[u.REDIRECTING=2]="REDIRECTING",u}(on||{});function Tn(u,h){u.events.pipe((0,ke.h)(v=>v instanceof Zn||v instanceof hn||v instanceof Er||v instanceof xr),(0,Ce.U)(v=>v instanceof Zn||v instanceof xr?on.COMPLETE:v instanceof hn&&(0===v.code||1===v.code)?on.REDIRECTING:on.FAILED),(0,ke.h)(v=>v!==on.REDIRECTING),(0,he.q)(1)).subscribe(()=>{h()})}function Un(u){throw u}function fs(u,h,v){return h.parse("/")}const Zt={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},ti={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let Hn=(()=>{var u;class h{get navigationId(){return this.navigationTransitions.navigationId}get browserPageId(){return"computed"!==this.canceledNavigationResolution?this.currentPageId:this.location.getState()?.\u0275routerPageId??this.currentPageId}get events(){return this._events}constructor(){this.disposed=!1,this.currentPageId=0,this.console=(0,m.f3M)(m.c2e),this.isNgZoneEnabled=!1,this._events=new Be.x,this.options=(0,m.f3M)(Xn,{optional:!0})||{},this.pendingTasks=(0,m.f3M)(m.HDt),this.errorHandler=this.options.errorHandler||Un,this.malformedUriErrorHandler=this.options.malformedUriErrorHandler||fs,this.navigated=!1,this.lastSuccessfulId=-1,this.urlHandlingStrategy=(0,m.f3M)(mr),this.routeReuseStrategy=(0,m.f3M)(ln),this.titleStrategy=(0,m.f3M)(Pt),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.config=(0,m.f3M)(_,{optional:!0})?.flat()??[],this.navigationTransitions=(0,m.f3M)(yt),this.urlSerializer=(0,m.f3M)(pr),this.location=(0,m.f3M)(rt.Ye),this.componentInputBindingEnabled=!!(0,m.f3M)(lr,{optional:!0}),this.eventsSubscription=new Xe.w0,this.isNgZoneEnabled=(0,m.f3M)(m.R0b)instanceof m.R0b&&m.R0b.isInAngularZone(),this.resetConfig(this.config),this.currentUrlTree=new xt,this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.routerState=Fo(0,null),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe(f=>{this.lastSuccessfulId=f.id,this.currentPageId=this.browserPageId},f=>{this.console.warn(`Unhandled Navigation Error: ${f}`)}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){const f=this.navigationTransitions.events.subscribe(D=>{try{const{currentTransition:S}=this.navigationTransitions;if(null===S)return void(wi(D)&&this._events.next(D));if(D instanceof Yn)Rt(S.source)&&(this.browserUrlTree=S.extractedUrl);else if(D instanceof xr)this.rawUrlTree=S.rawUrl;else if(D instanceof $s){if("eager"===this.urlUpdateStrategy){if(!S.extras.skipLocationChange){const P=this.urlHandlingStrategy.merge(S.urlAfterRedirects,S.rawUrl);this.setBrowserUrl(P,S)}this.browserUrlTree=S.urlAfterRedirects}}else if(D instanceof ys)this.currentUrlTree=S.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(S.urlAfterRedirects,S.rawUrl),this.routerState=S.targetRouterState,"deferred"===this.urlUpdateStrategy&&(S.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,S),this.browserUrlTree=S.urlAfterRedirects);else if(D instanceof hn)0!==D.code&&1!==D.code&&(this.navigated=!0),(3===D.code||2===D.code)&&this.restoreHistory(S);else if(D instanceof Os){const P=this.urlHandlingStrategy.merge(D.url,S.currentRawUrl),Y={skipLocationChange:S.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||Rt(S.source)};this.scheduleNavigation(P,Yr,null,Y,{resolve:S.resolve,reject:S.reject,promise:S.promise})}D instanceof Er&&this.restoreHistory(S,!0),D instanceof Zn&&(this.navigated=!0),wi(D)&&this._events.next(D)}catch(S){this.navigationTransitions.transitionAbortSubject.next(S)}});this.eventsSubscription.add(f)}resetRootComponentType(f){this.routerState.root.component=f,this.navigationTransitions.rootComponentType=f}initialNavigation(){if(this.setUpLocationChangeListener(),!this.navigationTransitions.hasRequestedNavigation){const f=this.location.getState();this.navigateToSyncWithBrowser(this.location.path(!0),Yr,f)}}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(f=>{const D="popstate"===f.type?"popstate":"hashchange";"popstate"===D&&setTimeout(()=>{this.navigateToSyncWithBrowser(f.url,D,f.state)},0)}))}navigateToSyncWithBrowser(f,D,S){const P={replaceUrl:!0},Y=S?.navigationId?S:null;if(S){const ce={...S};delete ce.navigationId,delete ce.\u0275routerPageId,0!==Object.keys(ce).length&&(P.state=ce)}const Pe=this.parseUrl(f);this.scheduleNavigation(Pe,D,Y,P)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(f){this.config=f.map(us),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(f,D={}){const{relativeTo:S,queryParams:P,fragment:Y,queryParamsHandling:Pe,preserveFragment:ce}=D,nt=ce?this.currentUrlTree.fragment:Y;let qt,pt=null;switch(Pe){case"merge":pt={...this.currentUrlTree.queryParams,...P};break;case"preserve":pt=this.currentUrlTree.queryParams;break;default:pt=P||null}null!==pt&&(pt=this.removeEmptyProps(pt));try{qt=re(S?S.snapshot:this.routerState.snapshot.root)}catch{("string"!=typeof f[0]||!f[0].startsWith("/"))&&(f=[]),qt=this.currentUrlTree.root}return He(qt,f,pt,nt??null)}navigateByUrl(f,D={skipLocationChange:!1}){const S=L(f)?f:this.parseUrl(f),P=this.urlHandlingStrategy.merge(S,this.rawUrlTree);return this.scheduleNavigation(P,Yr,null,D)}navigate(f,D={skipLocationChange:!1}){return function er(u){for(let h=0;h<u.length;h++)if(null==u[h])throw new m.vHH(4008,!1)}(f),this.navigateByUrl(this.createUrlTree(f,D),D)}serializeUrl(f){return this.urlSerializer.serialize(f)}parseUrl(f){let D;try{D=this.urlSerializer.parse(f)}catch(S){D=this.malformedUriErrorHandler(S,this.urlSerializer,f)}return D}isActive(f,D){let S;if(S=!0===D?{...Zt}:!1===D?{...ti}:D,L(f))return In(this.currentUrlTree,f,S);const P=this.parseUrl(f);return In(this.currentUrlTree,P,S)}removeEmptyProps(f){return Object.keys(f).reduce((D,S)=>{const P=f[S];return null!=P&&(D[S]=P),D},{})}scheduleNavigation(f,D,S,P,Y){if(this.disposed)return Promise.resolve(!1);let Pe,ce,nt;Y?(Pe=Y.resolve,ce=Y.reject,nt=Y.promise):nt=new Promise((qt,kt)=>{Pe=qt,ce=kt});const pt=this.pendingTasks.add();return Tn(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(pt))}),this.navigationTransitions.handleNavigationRequest({source:D,restoredState:S,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,currentBrowserUrl:this.browserUrlTree,rawUrl:f,extras:P,resolve:Pe,reject:ce,promise:nt,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),nt.catch(qt=>Promise.reject(qt))}setBrowserUrl(f,D){const S=this.urlSerializer.serialize(f);if(this.location.isCurrentPathEqualTo(S)||D.extras.replaceUrl){const Y={...D.extras.state,...this.generateNgRouterState(D.id,this.browserPageId)};this.location.replaceState(S,"",Y)}else{const P={...D.extras.state,...this.generateNgRouterState(D.id,this.browserPageId+1)};this.location.go(S,"",P)}}restoreHistory(f,D=!1){if("computed"===this.canceledNavigationResolution){const P=this.currentPageId-this.browserPageId;0!==P?this.location.historyGo(P):this.currentUrlTree===this.getCurrentNavigation()?.finalUrl&&0===P&&(this.resetState(f),this.browserUrlTree=f.currentUrlTree,this.resetUrlToCurrentUrlTree())}else"replace"===this.canceledNavigationResolution&&(D&&this.resetState(f),this.resetUrlToCurrentUrlTree())}resetState(f){this.routerState=f.currentRouterState,this.currentUrlTree=f.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,f.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(f,D){return"computed"===this.canceledNavigationResolution?{navigationId:f,\u0275routerPageId:D}:{navigationId:f}}}return(u=h).\u0275fac=function(f){return new(f||u)},u.\u0275prov=m.Yz7({token:u,factory:u.\u0275fac,providedIn:"root"}),h})();function wi(u){return!(u instanceof ys||u instanceof Os)}let Mo=(()=>{var u;class h{constructor(f,D,S,P,Y,Pe){this.router=f,this.route=D,this.tabIndexAttribute=S,this.renderer=P,this.el=Y,this.locationStrategy=Pe,this.href=null,this.commands=null,this.onChanges=new Be.x,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1;const ce=Y.nativeElement.tagName?.toLowerCase();this.isAnchorElement="a"===ce||"area"===ce,this.isAnchorElement?this.subscription=f.events.subscribe(nt=>{nt instanceof Zn&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(f){null!=this.tabIndexAttribute||this.isAnchorElement||this.applyAttributeValue("tabindex",f)}ngOnChanges(f){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(f){null!=f?(this.commands=Array.isArray(f)?f:[f],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(f,D,S,P,Y){return!!(null===this.urlTree||this.isAnchorElement&&(0!==f||D||S||P||Y||"string"==typeof this.target&&"_self"!=this.target))||(this.router.navigateByUrl(this.urlTree,{skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state}),!this.isAnchorElement)}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){this.href=null!==this.urlTree&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(this.urlTree)):null;const f=null===this.href?null:(0,m.P3R)(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",f)}applyAttributeValue(f,D){const S=this.renderer,P=this.el.nativeElement;null!==D?S.setAttribute(P,f,D):S.removeAttribute(P,f)}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:this.preserveFragment})}}return(u=h).\u0275fac=function(f){return new(f||u)(m.Y36(Hn),m.Y36(Cr),m.$8M("tabindex"),m.Y36(m.Qsj),m.Y36(m.SBq),m.Y36(rt.S$))},u.\u0275dir=m.lG2({type:u,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(f,D){1&f&&m.NdJ("click",function(P){return D.onClick(P.button,P.ctrlKey,P.shiftKey,P.altKey,P.metaKey)}),2&f&&m.uIk("target",D.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",relativeTo:"relativeTo",preserveFragment:["preserveFragment","preserveFragment",m.VuI],skipLocationChange:["skipLocationChange","skipLocationChange",m.VuI],replaceUrl:["replaceUrl","replaceUrl",m.VuI],routerLink:"routerLink"},standalone:!0,features:[m.Xq5,m.TTD]}),h})(),fr=(()=>{var u;class h{get isActive(){return this._isActive}constructor(f,D,S,P,Y){this.router=f,this.element=D,this.renderer=S,this.cdr=P,this.link=Y,this.classes=[],this._isActive=!1,this.routerLinkActiveOptions={exact:!1},this.isActiveChange=new m.vpe,this.routerEventsSubscription=f.events.subscribe(Pe=>{Pe instanceof Zn&&this.update()})}ngAfterContentInit(){(0,U.of)(this.links.changes,(0,U.of)(null)).pipe((0,ye.J)()).subscribe(f=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();const f=[...this.links.toArray(),this.link].filter(D=>!!D).map(D=>D.onChanges);this.linkInputChangesSubscription=(0,I.D)(f).pipe((0,ye.J)()).subscribe(D=>{this._isActive!==this.isLinkActive(this.router)(D)&&this.update()})}set routerLinkActive(f){const D=Array.isArray(f)?f:f.split(" ");this.classes=D.filter(S=>!!S)}ngOnChanges(f){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.router.navigated||queueMicrotask(()=>{const f=this.hasActiveLinks();this._isActive!==f&&(this._isActive=f,this.cdr.markForCheck(),this.classes.forEach(D=>{f?this.renderer.addClass(this.element.nativeElement,D):this.renderer.removeClass(this.element.nativeElement,D)}),f&&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(f))})}isLinkActive(f){const D=function vr(u){return!!u.paths}(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return S=>!!S.urlTree&&f.isActive(S.urlTree,D)}hasActiveLinks(){const f=this.isLinkActive(this.router);return this.link&&f(this.link)||this.links.some(f)}}return(u=h).\u0275fac=function(f){return new(f||u)(m.Y36(Hn),m.Y36(m.SBq),m.Y36(m.Qsj),m.Y36(m.sBO),m.Y36(Mo,8))},u.\u0275dir=m.lG2({type:u,selectors:[["","routerLinkActive",""]],contentQueries:function(f,D,S){if(1&f&&m.Suo(S,Mo,5),2&f){let P;m.iGM(P=m.CRH())&&(D.links=P)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],standalone:!0,features:[m.TTD]}),h})();class bi{}let hs=(()=>{var u;class h{constructor(f,D,S,P,Y){this.router=f,this.injector=S,this.preloadingStrategy=P,this.loader=Y}setUpPreloading(){this.subscription=this.router.events.pipe((0,ke.h)(f=>f instanceof Zn),(0,Wt.b)(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(f,D){const S=[];for(const P of D){P.providers&&!P._injector&&(P._injector=(0,m.MMx)(P.providers,f,`Route: ${P.path}`));const Y=P._injector??f,Pe=P._loadedInjector??Y;(P.loadChildren&&!P._loadedRoutes&&void 0===P.canLoad||P.loadComponent&&!P._loadedComponent)&&S.push(this.preloadConfig(Y,P)),(P.children||P._loadedRoutes)&&S.push(this.processRoutes(Pe,P.children??P._loadedRoutes))}return(0,I.D)(S).pipe((0,ye.J)())}preloadConfig(f,D){return this.preloadingStrategy.preload(D,()=>{let S;S=D.loadChildren&&void 0===D.canLoad?this.loader.loadChildren(f,D):(0,U.of)(null);const P=S.pipe((0,we.z)(Y=>null===Y?(0,U.of)(void 0):(D._loadedRoutes=Y.routes,D._loadedInjector=Y.injector,this.processRoutes(Y.injector??f,Y.routes))));if(D.loadComponent&&!D._loadedComponent){const Y=this.loader.loadComponent(D);return(0,I.D)([P,Y]).pipe((0,ye.J)())}return P})}}return(u=h).\u0275fac=function(f){return new(f||u)(m.LFG(Hn),m.LFG(m.Sil),m.LFG(m.lqb),m.LFG(bi),m.LFG(O))},u.\u0275prov=m.Yz7({token:u,factory:u.\u0275fac,providedIn:"root"}),h})();const $o=new m.OlP("");let eo=(()=>{var u;class h{constructor(f,D,S,P,Y={}){this.urlSerializer=f,this.transitions=D,this.viewportScroller=S,this.zone=P,this.options=Y,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},Y.scrollPositionRestoration=Y.scrollPositionRestoration||"disabled",Y.anchorScrolling=Y.anchorScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(f=>{f instanceof Yn?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=f.navigationTrigger,this.restoredId=f.restoredState?f.restoredState.navigationId:0):f instanceof Zn?(this.lastId=f.id,this.scheduleScrollEvent(f,this.urlSerializer.parse(f.urlAfterRedirects).fragment)):f instanceof xr&&0===f.code&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(f,this.urlSerializer.parse(f.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(f=>{f instanceof As&&(f.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(f.position):f.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(f.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(f,D){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new As(f,"popstate"===this.lastSource?this.store[this.restoredId]:null,D))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}}return(u=h).\u0275fac=function(f){m.$Z()},u.\u0275prov=m.Yz7({token:u,factory:u.\u0275fac}),h})();function Hr(u,h){return{\u0275kind:u,\u0275providers:h}}function ni(){const u=(0,m.f3M)(m.zs3);return h=>{const v=u.get(m.z2F);if(h!==v.components[0])return;const f=u.get(Hn),D=u.get(Ti);1===u.get(To)&&f.initialNavigation(),u.get(Ii,null,m.XFs.Optional)?.setUpPreloading(),u.get($o,null,m.XFs.Optional)?.init(),f.resetRootComponentType(v.componentTypes[0]),D.closed||(D.next(),D.complete(),D.unsubscribe())}}const Ti=new m.OlP("",{factory:()=>new Be.x}),To=new m.OlP("",{providedIn:"root",factory:()=>1}),Ii=new m.OlP("");function Sa(u){return Hr(0,[{provide:Ii,useExisting:hs},{provide:bi,useExisting:u}])}const ri=new m.OlP("ROUTER_FORROOT_GUARD"),Fn=[rt.Ye,{provide:pr,useClass:Pr},Hn,_s,{provide:Cr,useFactory:function to(u){return u.routerState.root},deps:[Hn]},O,[]];function Ai(){return new m.PXZ("Router",Hn)}let y=(()=>{var u;class h{constructor(f){}static forRoot(f,D){return{ngModule:h,providers:[Fn,[],{provide:_,multi:!0,useValue:f},{provide:ri,useFactory:C,deps:[[Hn,new m.FiY,new m.tp0]]},{provide:Xn,useValue:D||{}},D?.useHash?{provide:rt.S$,useClass:rt.Do}:{provide:rt.S$,useClass:rt.b0},{provide:$o,useFactory:()=>{const u=(0,m.f3M)(rt.EM),h=(0,m.f3M)(m.R0b),v=(0,m.f3M)(Xn),f=(0,m.f3M)(yt),D=(0,m.f3M)(pr);return v.scrollOffset&&u.setOffset(v.scrollOffset),new eo(D,f,u,h,v)}},D?.preloadingStrategy?Sa(D.preloadingStrategy).\u0275providers:[],{provide:m.PXZ,multi:!0,useFactory:Ai},D?.initialNavigation?A(D):[],D?.bindToComponentInputs?Hr(8,[is,{provide:lr,useExisting:is}]).\u0275providers:[],[{provide:B,useFactory:ni},{provide:m.tb,multi:!0,useExisting:B}]]}}static forChild(f){return{ngModule:h,providers:[{provide:_,multi:!0,useValue:f}]}}}return(u=h).\u0275fac=function(f){return new(f||u)(m.LFG(ri,8))},u.\u0275mod=m.oAB({type:u}),u.\u0275inj=m.cJS({}),h})();function C(u){return"guarded"}function A(u){return["disabled"===u.initialNavigation?Hr(3,[{provide:m.ip1,multi:!0,useFactory:()=>{const h=(0,m.f3M)(Hn);return()=>{h.setUpLocationChangeListener()}}},{provide:To,useValue:2}]).\u0275providers:[],"enabledBlocking"===u.initialNavigation?Hr(2,[{provide:To,useValue:0},{provide:m.ip1,multi:!0,deps:[m.zs3],useFactory:h=>{const v=h.get(rt.V_,Promise.resolve());return()=>v.then(()=>new Promise(f=>{const D=h.get(Hn),S=h.get(Ti);Tn(D,()=>{f(!0)}),h.get(yt).afterPreactivation=()=>(f(!0),S.closed?(0,U.of)(void 0):S),D.initialNavigation()}))}}]).\u0275providers:[]]}const B=new m.OlP("")},9229:(Ye,oe,M)=>{function m(Q){return(m="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(ye){return typeof ye}:function(ye){return ye&&"function"==typeof Symbol&&ye.constructor===Symbol&&ye!==Symbol.prototype?"symbol":typeof ye})(Q)}function x(Q,ye,_e){return(ye=function te(Q){var ye=function w(Q,ye){if("object"!==m(Q)||null===Q)return Q;var _e=Q[Symbol.toPrimitive];if(void 0!==_e){var K=_e.call(Q,ye||"default");if("object"!==m(K))return K;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===ye?String:Number)(Q)}(Q,"string");return"symbol"===m(ye)?ye:String(ye)}(ye))in Q?Object.defineProperty(Q,ye,{value:_e,enumerable:!0,configurable:!0,writable:!0}):Q[ye]=_e,Q}M.d(oe,{FN:()=>nn,PR:()=>$e,Rh:()=>me,_W:()=>Vt});var I=M(5879),U=M(6825),G=M(6814),X=M(8645),se=M(6593);const W=["toast-component",""];function ne(Q,ye){if(1&Q){const _e=I.EpF();I.TgZ(0,"button",5),I.NdJ("click",function(){I.CHM(_e);const Z=I.oxw();return I.KtG(Z.remove())}),I.TgZ(1,"span",6),I._uU(2,"\xd7"),I.qZA()()}}function de(Q,ye){if(1&Q&&(I.ynx(0),I._uU(1),I.BQk()),2&Q){const _e=I.oxw(2);I.xp6(1),I.hij("[",_e.duplicatesCount+1,"]")}}function Le(Q,ye){if(1&Q&&(I.TgZ(0,"div"),I._uU(1),I.YNc(2,de,2,1,"ng-container",4),I.qZA()),2&Q){const _e=I.oxw();I.Tol(_e.options.titleClass),I.uIk("aria-label",_e.title),I.xp6(1),I.hij(" ",_e.title," "),I.xp6(1),I.Q6J("ngIf",_e.duplicatesCount)}}function Me(Q,ye){if(1&Q&&I._UZ(0,"div",7),2&Q){const _e=I.oxw();I.Tol(_e.options.messageClass),I.Q6J("innerHTML",_e.message,I.oJD)}}function Te(Q,ye){if(1&Q&&(I.TgZ(0,"div",8),I._uU(1),I.qZA()),2&Q){const _e=I.oxw();I.Tol(_e.options.messageClass),I.uIk("aria-label",_e.message),I.xp6(1),I.hij(" ",_e.message," ")}}function be(Q,ye){if(1&Q&&(I.TgZ(0,"div"),I._UZ(1,"div",9),I.qZA()),2&Q){const _e=I.oxw();I.xp6(1),I.Udp("width",_e.width+"%")}}class ke{constructor(ye,_e){x(this,"_attachedHost",void 0),x(this,"component",void 0),x(this,"viewContainerRef",void 0),x(this,"injector",void 0),this.component=ye,this.injector=_e}attach(ye,_e){return this._attachedHost=ye,ye.attach(this,_e)}detach(){const ye=this._attachedHost;if(ye)return this._attachedHost=void 0,ye.detach()}get isAttached(){return null!=this._attachedHost}setAttachedHost(ye){this._attachedHost=ye}}class we{constructor(){x(this,"_attachedPortal",void 0),x(this,"_disposeFn",void 0)}attach(ye,_e){return this._attachedPortal=ye,this.attachComponentPortal(ye,_e)}detach(){this._attachedPortal&&this._attachedPortal.setAttachedHost(),this._attachedPortal=void 0,this._disposeFn&&(this._disposeFn(),this._disposeFn=void 0)}setDisposeFn(ye){this._disposeFn=ye}}class Ae{constructor(ye){x(this,"_overlayRef",void 0),x(this,"componentInstance",void 0),x(this,"duplicatesCount",0),x(this,"_afterClosed",new X.x),x(this,"_activate",new X.x),x(this,"_manualClose",new X.x),x(this,"_resetTimeout",new X.x),x(this,"_countDuplicate",new X.x),this._overlayRef=ye}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(ye,_e){ye&&this._resetTimeout.next(),_e&&this._countDuplicate.next(++this.duplicatesCount)}}class $e{constructor(ye,_e,K,Z,Ze,ot){x(this,"toastId",void 0),x(this,"config",void 0),x(this,"message",void 0),x(this,"title",void 0),x(this,"toastType",void 0),x(this,"toastRef",void 0),x(this,"_onTap",new X.x),x(this,"_onAction",new X.x),this.toastId=ye,this.config=_e,this.message=K,this.title=Z,this.toastType=Ze,this.toastRef=ot,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(ye){this._onAction.next(ye)}onAction(){return this._onAction.asObservable()}}const Dt=new I.OlP("ToastConfig");class cn extends we{constructor(ye,_e,K){super(),x(this,"_hostDomElement",void 0),x(this,"_componentFactoryResolver",void 0),x(this,"_appRef",void 0),this._hostDomElement=ye,this._componentFactoryResolver=_e,this._appRef=K}attachComponentPortal(ye,_e){const K=this._componentFactoryResolver.resolveComponentFactory(ye.component);let Z;return Z=K.create(ye.injector),this._appRef.attachView(Z.hostView),this.setDisposeFn(()=>{this._appRef.detachView(Z.hostView),Z.destroy()}),_e?this._hostDomElement.insertBefore(this._getComponentRootNode(Z),this._hostDomElement.firstChild):this._hostDomElement.appendChild(this._getComponentRootNode(Z)),Z}_getComponentRootNode(ye){return ye.hostView.rootNodes[0]}}let _n=(()=>{var Q;class ye{constructor(){x(this,"_document",(0,I.f3M)(G.K0)),x(this,"_containerElement",void 0)}ngOnDestroy(){this._containerElement&&this._containerElement.parentNode&&this._containerElement.parentNode.removeChild(this._containerElement)}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const K=this._document.createElement("div");K.classList.add("overlay-container"),K.setAttribute("aria-live","polite"),this._document.body.appendChild(K),this._containerElement=K}}return Q=ye,x(ye,"\u0275fac",function(K){return new(K||Q)}),x(ye,"\u0275prov",I.Yz7({token:Q,factory:Q.\u0275fac,providedIn:"root"})),ye})();class dn{constructor(ye){x(this,"_portalHost",void 0),this._portalHost=ye}attach(ye,_e=!0){return this._portalHost.attach(ye,_e)}detach(){return this._portalHost.detach()}}let Wt=(()=>{var Q;class ye{constructor(){x(this,"_overlayContainer",(0,I.f3M)(_n)),x(this,"_componentFactoryResolver",(0,I.f3M)(I._Vd)),x(this,"_appRef",(0,I.f3M)(I.z2F)),x(this,"_document",(0,I.f3M)(G.K0)),x(this,"_paneElements",new Map)}create(K,Z){return this._createOverlayRef(this.getPaneElement(K,Z))}getPaneElement(K="",Z){return this._paneElements.get(Z)||this._paneElements.set(Z,{}),this._paneElements.get(Z)[K]||(this._paneElements.get(Z)[K]=this._createPaneElement(K,Z)),this._paneElements.get(Z)[K]}_createPaneElement(K,Z){const Ze=this._document.createElement("div");return Ze.id="toast-container",Ze.classList.add(K),Ze.classList.add("toast-container"),Z?Z.getContainerElement().appendChild(Ze):this._overlayContainer.getContainerElement().appendChild(Ze),Ze}_createPortalHost(K){return new cn(K,this._componentFactoryResolver,this._appRef)}_createOverlayRef(K){return new dn(this._createPortalHost(K))}}return Q=ye,x(ye,"\u0275fac",function(K){return new(K||Q)}),x(ye,"\u0275prov",I.Yz7({token:Q,factory:Q.\u0275fac,providedIn:"root"})),ye})(),Vt=(()=>{var Q;class ye{constructor(K,Z,Ze,ot,Kt){x(this,"overlay",void 0),x(this,"_injector",void 0),x(this,"sanitizer",void 0),x(this,"ngZone",void 0),x(this,"toastrConfig",void 0),x(this,"currentlyActive",0),x(this,"toasts",[]),x(this,"overlayContainer",void 0),x(this,"previousToastMessage",void 0),x(this,"index",0),this.overlay=Z,this._injector=Ze,this.sanitizer=ot,this.ngZone=Kt,this.toastrConfig={...K.default,...K.config},K.config.iconClasses&&(this.toastrConfig.iconClasses={...K.default.iconClasses,...K.config.iconClasses})}show(K,Z,Ze={},ot=""){return this._preBuildNotification(ot,K,Z,this.applyConfig(Ze))}success(K,Z,Ze={}){return this._preBuildNotification(this.toastrConfig.iconClasses.success||"",K,Z,this.applyConfig(Ze))}error(K,Z,Ze={}){return this._preBuildNotification(this.toastrConfig.iconClasses.error||"",K,Z,this.applyConfig(Ze))}info(K,Z,Ze={}){return this._preBuildNotification(this.toastrConfig.iconClasses.info||"",K,Z,this.applyConfig(Ze))}warning(K,Z,Ze={}){return this._preBuildNotification(this.toastrConfig.iconClasses.warning||"",K,Z,this.applyConfig(Ze))}clear(K){for(const Z of this.toasts)if(void 0!==K){if(Z.toastId===K)return void Z.toastRef.manualClose()}else Z.toastRef.manualClose()}remove(K){const Z=this._findToast(K);if(!Z||(Z.activeToast.toastRef.close(),this.toasts.splice(Z.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 Ze=this.toasts[this.currentlyActive].toastRef;Ze.isInactive()||(this.currentlyActive=this.currentlyActive+1,Ze.activate())}return!0}findDuplicate(K="",Z="",Ze,ot){const{includeTitleDuplicates:Kt}=this.toastrConfig;for(const It of this.toasts)if((!Kt||Kt&&It.title===K)&&It.message===Z)return It.toastRef.onDuplicate(Ze,ot),It;return null}applyConfig(K={}){return{...this.toastrConfig,...K}}_findToast(K){for(let Z=0;Z<this.toasts.length;Z++)if(this.toasts[Z].toastId===K)return{index:Z,activeToast:this.toasts[Z]};return null}_preBuildNotification(K,Z,Ze,ot){return ot.onActivateTick?this.ngZone.run(()=>this._buildNotification(K,Z,Ze,ot)):this._buildNotification(K,Z,Ze,ot)}_buildNotification(K,Z,Ze,ot){if(!ot.toastComponent)throw new Error("toastComponent required");const Kt=this.findDuplicate(Ze,Z,this.toastrConfig.resetTimeoutOnDuplicate&&ot.timeOut>0,this.toastrConfig.countDuplicates);if((this.toastrConfig.includeTitleDuplicates&&Ze||Z)&&this.toastrConfig.preventDuplicates&&null!==Kt)return Kt;this.previousToastMessage=Z;let It=!1;this.toastrConfig.maxOpened&&this.currentlyActive>=this.toastrConfig.maxOpened&&(It=!0,this.toastrConfig.autoDismiss&&this.clear(this.toasts[0].toastId));const Qe=this.overlay.create(ot.positionClass,this.overlayContainer);this.index=this.index+1;let Vn=Z;Z&&ot.enableHtml&&(Vn=this.sanitizer.sanitize(I.q3G.HTML,Z));const Ln=new Ae(Qe),Dn=new $e(this.index,ot,Vn,Ze,K,Ln),zn=I.zs3.create({providers:[{provide:$e,useValue:Dn}],parent:this._injector}),In=new ke(ot.toastComponent,zn),lt=Qe.attach(In,ot.newestOnTop);Ln.componentInstance=lt.instance;const vt={toastId:this.index,title:Ze||"",message:Z||"",toastRef:Ln,onShown:Ln.afterActivate(),onHidden:Ln.afterClosed(),onTap:Dn.onTap(),onAction:Dn.onAction(),portal:lt};return It||(this.currentlyActive=this.currentlyActive+1,setTimeout(()=>{vt.toastRef.activate()})),this.toasts.push(vt),vt}}return Q=ye,x(ye,"\u0275fac",function(K){return new(K||Q)(I.LFG(Dt),I.LFG(Wt),I.LFG(I.zs3),I.LFG(se.H7),I.LFG(I.R0b))}),x(ye,"\u0275prov",I.Yz7({token:Q,factory:Q.\u0275fac,providedIn:"root"})),ye})(),nn=(()=>{var Q;class ye{get displayStyle(){if("inactive"===this.state.value)return"none"}constructor(K,Z,Ze){x(this,"toastrService",void 0),x(this,"toastPackage",void 0),x(this,"ngZone",void 0),x(this,"message",void 0),x(this,"title",void 0),x(this,"options",void 0),x(this,"duplicatesCount",void 0),x(this,"originalTimeout",void 0),x(this,"width",-1),x(this,"toastClasses",""),x(this,"state",void 0),x(this,"timeout",void 0),x(this,"intervalId",void 0),x(this,"hideTime",void 0),x(this,"sub",void 0),x(this,"sub1",void 0),x(this,"sub2",void 0),x(this,"sub3",void 0),this.toastrService=K,this.toastPackage=Z,this.ngZone=Ze,this.message=Z.message,this.title=Z.title,this.options=Z.config,this.originalTimeout=Z.config.timeOut,this.toastClasses=`${Z.toastType} ${Z.config.toastClass}`,this.sub=Z.toastRef.afterActivate().subscribe(()=>{this.activateToast()}),this.sub1=Z.toastRef.manualClosed().subscribe(()=>{this.remove()}),this.sub2=Z.toastRef.timeoutReset().subscribe(()=>{this.resetTimeout()}),this.sub3=Z.toastRef.countDuplicate().subscribe(ot=>{this.duplicatesCount=ot}),this.state={value:"inactive",params:{easeTime:this.toastPackage.config.easeTime,easing:"ease-in"}}}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 K=(new Date).getTime();this.width=(this.hideTime-K)/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&&"extendedTimeOut"!==this.options.disableTimeOut&&(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(K,Z){this.ngZone?this.ngZone.runOutsideAngular(()=>this.timeout=setTimeout(()=>this.runInsideAngular(K),Z)):this.timeout=setTimeout(()=>K(),Z)}outsideInterval(K,Z){this.ngZone?this.ngZone.runOutsideAngular(()=>this.intervalId=setInterval(()=>this.runInsideAngular(K),Z)):this.intervalId=setInterval(()=>K(),Z)}runInsideAngular(K){this.ngZone?this.ngZone.run(()=>K()):K()}}return Q=ye,x(ye,"\u0275fac",function(K){return new(K||Q)(I.Y36(Vt),I.Y36($e),I.Y36(I.R0b))}),x(ye,"\u0275cmp",I.Xpm({type:Q,selectors:[["","toast-component",""]],hostVars:5,hostBindings:function(K,Z){1&K&&I.NdJ("click",function(){return Z.tapToast()})("mouseenter",function(){return Z.stickAround()})("mouseleave",function(){return Z.delayedHideToast()}),2&K&&(I.d8E("@flyInOut",Z.state),I.Tol(Z.toastClasses),I.Udp("display",Z.displayStyle))},standalone:!0,features:[I.jDz],attrs:W,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(K,Z){1&K&&(I.YNc(0,ne,3,0,"button",0),I.YNc(1,Le,3,5,"div",1),I.YNc(2,Me,1,3,"div",2),I.YNc(3,Te,2,4,"div",3),I.YNc(4,be,2,2,"div",4)),2&K&&(I.Q6J("ngIf",Z.options.closeButton),I.xp6(1),I.Q6J("ngIf",Z.title),I.xp6(1),I.Q6J("ngIf",Z.message&&Z.options.enableHtml),I.xp6(1),I.Q6J("ngIf",Z.message&&!Z.options.enableHtml),I.xp6(1),I.Q6J("ngIf",Z.options.progressBar))},dependencies:[G.O5],encapsulation:2,data:{animation:[(0,U.X$)("flyInOut",[(0,U.SB)("inactive",(0,U.oB)({opacity:0})),(0,U.SB)("active",(0,U.oB)({opacity:1})),(0,U.SB)("removed",(0,U.oB)({opacity:0})),(0,U.eR)("inactive => active",(0,U.jt)("{{ easeTime }}ms {{ easing }}")),(0,U.eR)("active => removed",(0,U.jt)("{{ easeTime }}ms {{ easing }}"))])]}})),ye})();const le={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",toastComponent:nn},fe=(Q={})=>(0,I.MR2)([{provide:Dt,useValue:{default:le,config:Q}}]);let me=(()=>{var Q;class ye{static forRoot(K={}){return{ngModule:ye,providers:[fe(K)]}}}return Q=ye,x(ye,"\u0275fac",function(K){return new(K||Q)}),x(ye,"\u0275mod",I.oAB({type:Q})),x(ye,"\u0275inj",I.cJS({})),ye})()},7582:(Ye,oe,M)=>{function de(le,fe,me,Ee){return new(me||(me=Promise))(function(xe,et){function Q(K){try{_e(Ee.next(K))}catch(Z){et(Z)}}function ye(K){try{_e(Ee.throw(K))}catch(Z){et(Z)}}function _e(K){K.done?xe(K.value):function Ne(xe){return xe instanceof me?xe:new me(function(et){et(xe)})}(K.value).then(Q,ye)}_e((Ee=Ee.apply(le,fe||[])).next())})}function F(le){return this instanceof F?(this.v=le,this):new F(le)}function he(le,fe,me){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var Ne,Ee=me.apply(le,fe||[]),xe=[];return Ne={},et("next"),et("throw"),et("return"),Ne[Symbol.asyncIterator]=function(){return this},Ne;function et(Ze){Ee[Ze]&&(Ne[Ze]=function(ot){return new Promise(function(Kt,It){xe.push([Ze,ot,Kt,It])>1||Q(Ze,ot)})})}function Q(Ze,ot){try{!function ye(Ze){Ze.value instanceof F?Promise.resolve(Ze.value.v).then(_e,K):Z(xe[0][2],Ze)}(Ee[Ze](ot))}catch(Kt){Z(xe[0][3],Kt)}}function _e(Ze){Q("next",Ze)}function K(Ze){Q("throw",Ze)}function Z(Ze,ot){Ze(ot),xe.shift(),xe.length&&Q(xe[0][0],xe[0][1])}}function ke(le){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var me,fe=le[Symbol.asyncIterator];return fe?fe.call(le):(le=function be(le){var fe="function"==typeof Symbol&&Symbol.iterator,me=fe&&le[fe],Ee=0;if(me)return me.call(le);if(le&&"number"==typeof le.length)return{next:function(){return le&&Ee>=le.length&&(le=void 0),{value:le&&le[Ee++],done:!le}}};throw new TypeError(fe?"Object is not iterable.":"Symbol.iterator is not defined.")}(le),me={},Ee("next"),Ee("throw"),Ee("return"),me[Symbol.asyncIterator]=function(){return this},me);function Ee(xe){me[xe]=le[xe]&&function(et){return new Promise(function(Q,ye){!function Ne(xe,et,Q,ye){Promise.resolve(ye).then(function(_e){xe({value:_e,done:Q})},et)}(Q,ye,(et=le[xe](et)).done,et.value)})}}}M.d(oe,{FC:()=>he,KL:()=>ke,mG:()=>de,qq:()=>F}),"function"==typeof SuppressedError&&SuppressedError}},Ye=>{Ye(Ye.s=7548)}]);
1
+ "use strict";(self.webpackChunkzoho=self.webpackChunkzoho||[]).push([[179],{6340:(Ye,oe,M)=>{M.d(oe,{O:()=>be});var m=M(9862),w=M(5619),te=M(5592),x=M(6321),I=M(93),U=M(9360),G=M(4829),X=M(2306),se=M(8251),W=M(7103);const ne=(0,X.d)(Be=>function(rt=null){Be(this),this.message="Timeout has occurred",this.name="TimeoutError",this.info=rt});function Le(Be){throw new ne(Be)}var Me=M(5879),Te=M(9229);let be=(()=>{var Be;class Xe{constructor(Ce,F){this.http=Ce,this.toastr=F,this.currentRequest=new w.X(0)}post(Ce,F,he=1e5){return new te.y(ie=>{var ke=JSON.parse(window.localStorage.getItem("user"));let we=new m.WM({"Content-Type":"application/json","Cache-Control":"no-cache"});null!=ke&&(we=new m.WM({"Content-Type":"application/json","Cache-Control":"no-cache",Authorization:"Bearer "+ke.access_token}));let Ae={headers:we};this.addRequest(),this.http.post(Ce,F,Ae).pipe(function de(Be,Xe){const{first:rt,each:Ce,with:F=Le,scheduler:he=Xe??x.z,meta:ie=null}=(0,I.q)(Be)?{first:Be}:"number"==typeof Be?{each:Be}:Be;if(null==rt&&null==Ce)throw new TypeError("No timeout provided.");return(0,U.e)((ke,we)=>{let Ae,$e,tt=null,Dt=0;const cn=_n=>{$e=(0,W.f)(we,he,()=>{try{Ae.unsubscribe(),(0,G.Xf)(F({meta:ie,lastValue:tt,seen:Dt})).subscribe(we)}catch(dn){we.error(dn)}},_n)};Ae=ke.subscribe((0,se.x)(we,_n=>{$e?.unsubscribe(),Dt++,we.next(tt=_n),Ce>0&&cn(Ce)},void 0,void 0,()=>{$e?.closed||$e?.unsubscribe(),tt=null})),!Dt&&cn(null!=rt?"number"==typeof rt?rt:+rt-he.now():Ce)})}(he)).subscribe($e=>{this.removeRequest(),ie.next($e),ie.complete()},$e=>{this.removeRequest(),200==$e.status&&(ie.next($e.error.text),ie.complete()),401==$e.status&&(ie.next($e.error.text),ie.complete()),ie.error($e)})})}postFormData(Ce,F){this.addRequest();var ie="Bearer "+JSON.parse(window.localStorage.getItem("user")).access_token;return new Promise((we,Ae)=>{var $e=new XMLHttpRequest;$e.onreadystatechange=function(){4==$e.readyState&&(200==$e.status?we(JSON.parse($e.response)):Ae($e.response))},$e.open("POST",Ce,!0),$e.setRequestHeader("Authorization",ie),$e.send(F)}).then(we=>this.handleSuccess(we)).catch(we=>this.handleError(we))}get(Ce){var F=JSON.parse(window.localStorage.getItem("user"));let he=new m.WM({"Content-Type":"application/json","Cache-Control":"no-cache"});return null!=F&&(he=new m.WM({"Content-Type":"application/json","Cache-Control":"no-cache",Authorization:"Bearer "+F.access_token})),this.http.get(Ce,{headers:he})}handleSuccess(Ce){return this.removeRequest(),typeof Ce._body>"u"?Ce:(Ce._body=Ce._body||{},Ce.json())}handleError(Ce){if(this.removeRequest(),typeof Ce._body>"u")return Promise.reject(Ce.message||Ce);{let F=Ce.json();return Promise.reject(F.ExceptionMessage||F.Message||F)}}addRequest(){this.currentRequest.next(this.currentRequest.value+1)}removeRequest(){this.currentRequest.next(this.currentRequest.value-1)}}return(Be=Xe).\u0275fac=function(Ce){return new(Ce||Be)(Me.LFG(m.eN),Me.LFG(Te._W))},Be.\u0275prov=Me.Yz7({token:Be,factory:Be.\u0275fac}),Xe})()},6639:(Ye,oe,M)=>{M.d(oe,{e:()=>w});var m=M(5879);let w=(()=>{var te;class x{constructor(){}GetNamePOS(){let U=JSON.parse(window.localStorage.getItem("user"));return this.ParseToken(U.access_token)}ParseToken(U){try{const X=U.split(".")[0].replace("-","+").replace("_","/"),se=JSON.parse(window.atob(X)),ne=U.split(".")[1].replace("-","+").replace("_","/"),de=JSON.parse(window.atob(ne));return de.header=se,de}catch{return!1}}}return(te=x).\u0275fac=function(U){return new(U||te)},te.\u0275prov=m.Yz7({token:te,factory:te.\u0275fac,providedIn:"root"}),x})()},7548:(Ye,oe,M)=>{var m=M(6593),w=M(5879),te=M(9862),x=M(6340),I=M(4408);const U=[{path:"",loadChildren:()=>Promise.all([M.e(442),M.e(101)]).then(M.bind(M,7101)).then(y=>y.LoginModule)},{path:"pages",loadChildren:()=>Promise.all([M.e(442),M.e(178)]).then(M.bind(M,1178)).then(y=>y.PagesModule)},{path:"**",redirectTo:"",pathMatch:"full"}];let G=(()=>{var y;class i{}return(y=i).\u0275fac=function(p){return new(p||y)},y.\u0275mod=w.oAB({type:y}),y.\u0275inj=w.cJS({imports:[I.Bz.forRoot(U),I.Bz]}),i})();var X=M(7328);function se(y,i){return(l,p)=>!y.call(i,l,p)}var W=M(2181),ne=M(4829),Le=M(3019),Me=M(9080),Te=M(4716),be=M(4664),Be=M(9360),Xe=M(2420),rt=M(8251);function Ce(y){return(0,Be.e)((i,l)=>{let p=!1,C=null,A=null;const B=()=>{if(A?.unsubscribe(),A=null,p){p=!1;const k=C;C=null,l.next(k)}};i.subscribe((0,rt.x)(l,k=>{A?.unsubscribe(),p=!0,C=k,A=(0,rt.x)(l,B,Xe.Z),(0,ne.Xf)(y(k)).subscribe(A)},()=>{B(),l.complete()},void 0,()=>{C=A=null}))})}var F=M(3997),he=M(9397),ie=M(6814);function ke(y,i){1&y&&w.GkF(0)}function we(y,i){if(1&y&&w._UZ(0,"sk-cube-grid",4),2&y){const l=w.oxw(2);w.Q6J("backgroundColor",l.backgroundColor)}}function Ae(y,i){if(1&y&&w._UZ(0,"sk-chasing-dots",4),2&y){const l=w.oxw(2);w.Q6J("backgroundColor",l.backgroundColor)}}function $e(y,i){if(1&y&&w._UZ(0,"sk-double-bounce",4),2&y){const l=w.oxw(2);w.Q6J("backgroundColor",l.backgroundColor)}}function tt(y,i){if(1&y&&w._UZ(0,"sk-rotating-plane",4),2&y){const l=w.oxw(2);w.Q6J("backgroundColor",l.backgroundColor)}}function Dt(y,i){if(1&y&&w._UZ(0,"sk-spinner-pulse",4),2&y){const l=w.oxw(2);w.Q6J("backgroundColor",l.backgroundColor)}}function cn(y,i){if(1&y&&w._UZ(0,"sk-three-bounce",4),2&y){const l=w.oxw(2);w.Q6J("backgroundColor",l.backgroundColor)}}function _n(y,i){if(1&y&&w._UZ(0,"sk-wandering-cubes",4),2&y){const l=w.oxw(2);w.Q6J("backgroundColor",l.backgroundColor)}}function dn(y,i){if(1&y&&w._UZ(0,"sk-wave",4),2&y){const l=w.oxw(2);w.Q6J("backgroundColor",l.backgroundColor)}}const Wt=function(y){return{"background-color":y}};function Vt(y,i){if(1&y&&(w.TgZ(0,"div",1),w.YNc(1,ke,1,0,"ng-container",2),w.YNc(2,we,1,1,"sk-cube-grid",3),w.YNc(3,Ae,1,1,"sk-chasing-dots",3),w.YNc(4,$e,1,1,"sk-double-bounce",3),w.YNc(5,tt,1,1,"sk-rotating-plane",3),w.YNc(6,Dt,1,1,"sk-spinner-pulse",3),w.YNc(7,cn,1,1,"sk-three-bounce",3),w.YNc(8,_n,1,1,"sk-wandering-cubes",3),w.YNc(9,dn,1,1,"sk-wave",3),w.qZA()),2&y){const l=w.oxw();w.Udp("opacity",l.opacity),w.ekj("backdrop",l.backdrop),w.Q6J("ngStyle",w.VKq(14,Wt,l.backdrop?l.backdropBackgroundColor:"transparent")),w.xp6(1),w.Q6J("ngComponentOutlet",l.entryComponent),w.xp6(1),w.Q6J("ngIf",l.spinner===l.spinkit.skCubeGrid),w.xp6(1),w.Q6J("ngIf",l.spinner===l.spinkit.skChasingDots),w.xp6(1),w.Q6J("ngIf",l.spinner===l.spinkit.skDoubleBounce),w.xp6(1),w.Q6J("ngIf",l.spinner===l.spinkit.skRotatingPlane),w.xp6(1),w.Q6J("ngIf",l.spinner===l.spinkit.skSpinnerPulse),w.xp6(1),w.Q6J("ngIf",l.spinner===l.spinkit.skThreeBounce),w.xp6(1),w.Q6J("ngIf",l.spinner===l.spinkit.skWanderingCubes),w.xp6(1),w.Q6J("ngIf",l.spinner===l.spinkit.skWave)}}let nn=(()=>{var y;class i{}return(y=i).\u0275fac=function(p){return new(p||y)},y.\u0275dir=w.lG2({type:y,inputs:{backgroundColor:"backgroundColor"}}),i})(),le=(()=>{var y;class i extends nn{}return(y=i).\u0275fac=function(){let l;return function(C){return(l||(l=w.n5z(y)))(C||y)}}(),y.\u0275cmp=w.Xpm({type:y,selectors:[["sk-chasing-dots"]],features:[w.qOj],decls:3,vars:6,consts:[[1,"sk-chasing-dots"],[1,"sk-child","sk-dot1"],[1,"sk-child","sk-dot2"]],template:function(p,C){1&p&&(w.TgZ(0,"div",0),w._UZ(1,"div",1)(2,"div",2),w.qZA()),2&p&&(w.ekj("colored",!C.backgroundColor),w.xp6(1),w.Udp("background-color",C.backgroundColor),w.xp6(1),w.Udp("background-color",C.backgroundColor))},styles:[".sk-chasing-dots[_ngcontent-%COMP%]{top:50%;margin:auto;width:40px;height:40px;position:relative;text-align:center;animation:_ngcontent-%COMP%_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:_ngcontent-%COMP%_sk-chasingDotsBounce 2s infinite ease-in-out}.sk-chasing-dots[_ngcontent-%COMP%] .sk-dot2[_ngcontent-%COMP%]{top:auto;bottom:0;animation-delay:-1s}@keyframes _ngcontent-%COMP%_sk-chasingDotsRotate{to{transform:rotate(360deg)}}@keyframes _ngcontent-%COMP%_sk-chasingDotsBounce{0%,to{transform:scale(0)}50%{transform:scale(1)}}"]}),i})(),fe=(()=>{var y;class i extends nn{}return(y=i).\u0275fac=function(){let l;return function(C){return(l||(l=w.n5z(y)))(C||y)}}(),y.\u0275cmp=w.Xpm({type:y,selectors:[["sk-cube-grid"]],features:[w.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(p,C){1&p&&(w.TgZ(0,"div",0),w._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),w.qZA()),2&p&&(w.ekj("colored",!C.backgroundColor),w.xp6(1),w.Udp("background-color",C.backgroundColor),w.xp6(1),w.Udp("background-color",C.backgroundColor),w.xp6(1),w.Udp("background-color",C.backgroundColor),w.xp6(1),w.Udp("background-color",C.backgroundColor),w.xp6(1),w.Udp("background-color",C.backgroundColor),w.xp6(1),w.Udp("background-color",C.backgroundColor),w.xp6(1),w.Udp("background-color",C.backgroundColor),w.xp6(1),w.Udp("background-color",C.backgroundColor),w.xp6(1),w.Udp("background-color",C.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:_ngcontent-%COMP%_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 _ngcontent-%COMP%_sk-cubeGridScaleDelay{0%,70%,to{transform:scaleZ(1)}35%{transform:scale3D(0,0,1)}}"]}),i})(),me=(()=>{var y;class i extends nn{}return(y=i).\u0275fac=function(){let l;return function(C){return(l||(l=w.n5z(y)))(C||y)}}(),y.\u0275cmp=w.Xpm({type:y,selectors:[["sk-double-bounce"]],features:[w.qOj],decls:3,vars:6,consts:[[1,"sk-double-bounce"],[1,"sk-child","sk-double-bounce1"],[1,"sk-child","sk-double-bounce2"]],template:function(p,C){1&p&&(w.TgZ(0,"div",0),w._UZ(1,"div",1)(2,"div",2),w.qZA()),2&p&&(w.ekj("colored",!C.backgroundColor),w.xp6(1),w.Udp("background-color",C.backgroundColor),w.xp6(1),w.Udp("background-color",C.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:_ngcontent-%COMP%_sk-doubleBounce 2s infinite ease-in-out}.sk-double-bounce[_ngcontent-%COMP%] .sk-double-bounce2[_ngcontent-%COMP%]{animation-delay:-1s}@keyframes _ngcontent-%COMP%_sk-doubleBounce{0%,to{transform:scale(0)}50%{transform:scale(1)}}"]}),i})(),Ee=(()=>{var y;class i extends nn{}return(y=i).\u0275fac=function(){let l;return function(C){return(l||(l=w.n5z(y)))(C||y)}}(),y.\u0275cmp=w.Xpm({type:y,selectors:[["sk-rotating-plane"]],features:[w.qOj],decls:1,vars:2,consts:[[1,"sk-rotating-plane","colored-parent"]],template:function(p,C){1&p&&w._UZ(0,"div",0),2&p&&w.Udp("background-color",C.backgroundColor)},styles:[".sk-rotating-plane[_ngcontent-%COMP%]{position:relative;top:50%;width:40px;height:40px;margin:auto;animation:_ngcontent-%COMP%_sk-rotatePlane 1.2s infinite ease-in-out}@keyframes _ngcontent-%COMP%_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)}}"]}),i})(),Ne=(()=>{var y;class i extends nn{}return(y=i).\u0275fac=function(){let l;return function(C){return(l||(l=w.n5z(y)))(C||y)}}(),y.\u0275cmp=w.Xpm({type:y,selectors:[["sk-spinner-pulse"]],features:[w.qOj],decls:1,vars:2,consts:[[1,"sk-spinner","sk-spinner-pulse","colored-parent"]],template:function(p,C){1&p&&w._UZ(0,"div",0),2&p&&w.Udp("background-color",C.backgroundColor)},styles:[".sk-spinner-pulse[_ngcontent-%COMP%]{position:relative;top:50%;width:40px;height:40px;margin:auto;border-radius:100%;animation:_ngcontent-%COMP%_sk-pulseScaleOut 1s infinite ease-in-out}@keyframes _ngcontent-%COMP%_sk-pulseScaleOut{0%{transform:scale(0)}to{transform:scale(1);opacity:0}}"]}),i})(),xe=(()=>{var y;class i extends nn{}return(y=i).\u0275fac=function(){let l;return function(C){return(l||(l=w.n5z(y)))(C||y)}}(),y.\u0275cmp=w.Xpm({type:y,selectors:[["sk-three-bounce"]],features:[w.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(p,C){1&p&&(w.TgZ(0,"div",0),w._UZ(1,"div",1)(2,"div",2)(3,"div",3),w.qZA()),2&p&&(w.ekj("colored",!C.backgroundColor),w.xp6(1),w.Udp("background-color",C.backgroundColor),w.xp6(1),w.Udp("background-color",C.backgroundColor),w.xp6(1),w.Udp("background-color",C.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:_ngcontent-%COMP%_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 _ngcontent-%COMP%_sk-three-bounce{0%,80%,to{transform:scale(0)}40%{transform:scale(1)}}"]}),i})(),et=(()=>{var y;class i extends nn{}return(y=i).\u0275fac=function(){let l;return function(C){return(l||(l=w.n5z(y)))(C||y)}}(),y.\u0275cmp=w.Xpm({type:y,selectors:[["sk-wandering-cubes"]],features:[w.qOj],decls:3,vars:6,consts:[[1,"sk-wandering-cubes"],[1,"sk-cube","sk-cube1"],[1,"sk-cube","sk-cube2"]],template:function(p,C){1&p&&(w.TgZ(0,"div",0),w._UZ(1,"div",1)(2,"div",2),w.qZA()),2&p&&(w.ekj("colored",!C.backgroundColor),w.xp6(1),w.Udp("background-color",C.backgroundColor),w.xp6(1),w.Udp("background-color",C.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:_ngcontent-%COMP%_sk-wanderingCube 1.8s ease-in-out -1.8s infinite both}.sk-wandering-cubes[_ngcontent-%COMP%] .sk-cube2[_ngcontent-%COMP%]{animation-delay:-.9s}@keyframes _ngcontent-%COMP%_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)}}"]}),i})(),Q=(()=>{var y;class i extends nn{}return(y=i).\u0275fac=function(){let l;return function(C){return(l||(l=w.n5z(y)))(C||y)}}(),y.\u0275cmp=w.Xpm({type:y,selectors:[["sk-wave"]],features:[w.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(p,C){1&p&&(w.TgZ(0,"div",0),w._UZ(1,"div",1)(2,"div",2)(3,"div",3)(4,"div",4)(5,"div",5),w.qZA()),2&p&&(w.ekj("colored",!C.backgroundColor),w.xp6(1),w.Udp("background-color",C.backgroundColor),w.xp6(1),w.Udp("background-color",C.backgroundColor),w.xp6(1),w.Udp("background-color",C.backgroundColor),w.xp6(1),w.Udp("background-color",C.backgroundColor),w.xp6(1),w.Udp("background-color",C.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:_ngcontent-%COMP%_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 _ngcontent-%COMP%_sk-waveStretchDelay{0%,40%,to{transform:scaleY(.4)}20%{transform:scaleY(1)}}"]}),i})();const ye={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 K=(()=>{var y;class i{constructor(){this._pendingRequests=0,this._pendingRequestsStatus$=new X.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(p){this._filteredMethods=p}set filteredHeaders(p){this._filteredHeaders=p}set forceByPass(p){this._forceByPass=p}shouldBypassUrl(p){return this._filteredUrlPatterns.some(C=>C.test(p))}shouldBypassMethod(p){return this._filteredMethods.some(C=>C.toUpperCase()===p.method.toUpperCase())}shouldBypassHeader(p){return this._filteredHeaders.some(C=>p.headers.has(C))}shouldBypass(p){return this._forceByPass||this.shouldBypassUrl(p.urlWithParams)||this.shouldBypassMethod(p)||this.shouldBypassHeader(p)}intercept(p,C){const A=this.shouldBypass(p);return A||(this._pendingRequests++,1===this._pendingRequests&&this._pendingRequestsStatus$.next(!0)),C.handle(p).pipe((0,Te.x)(()=>{A||(this._pendingRequests--,0===this._pendingRequests&&this._pendingRequestsStatus$.next(!1))}))}}return(y=i).\u0275fac=function(p){return new(p||y)},y.\u0275prov=w.Yz7({token:y,factory:y.\u0275fac,providedIn:"root"}),i})();const Z=[{provide:te.TP,useExisting:K,multi:!0}];let Ze=(()=>{var y;class i{constructor(p){this.pendingRequestsInterceptor=p,this._visibility$=new X.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=i).\u0275fac=function(p){return new(p||y)(w.LFG(K))},y.\u0275prov=w.Yz7({token:y,factory:y.\u0275fac,providedIn:"root"}),i})(),ot=(()=>{var y;class i{constructor(p,C){this.pendingRequestsInterceptor=p,this.spinnerVisibility=C,this.spinkit=ye,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=ye.skWave}ngOnInit(){this.initIsvisibleObservable(),this.nullifySpinnerIfEntryComponentIsDefined(),this.initFilters()}initIsvisibleObservable(){const[p,C]=function de(y,i,l){return[(0,W.h)(i,l)((0,ne.Xf)(y)),(0,W.h)(se(i,l))((0,ne.Xf)(y))]}(this.pendingRequestsInterceptor.pendingRequestsStatus$,A=>A);this.isVisible$=(0,Le.T)(this.pendingRequestsInterceptor.pendingRequestsStatus$.pipe((0,be.w)(()=>p.pipe(Ce(()=>(0,Me.H)(this.debounceDelay))))),p.pipe((0,be.w)(()=>C.pipe(Ce(()=>this.getVisibilityTimer$())))),this.spinnerVisibility.visibility$).pipe((0,F.x)(),(0,he.b)(A=>this.updateExpirationDelay(A)))}nullifySpinnerIfEntryComponentIsDefined(){this.entryComponent&&(this.spinner=null)}initFilters(){this.initFilteredUrlPatterns(),this.initFilteredMethods(),this.initFilteredHeaders()}initFilteredUrlPatterns(){this.filteredUrlPatterns.length&&this.filteredUrlPatterns.forEach(p=>this.pendingRequestsInterceptor.filteredUrlPatterns.push(new RegExp(p)))}initFilteredMethods(){this.pendingRequestsInterceptor.filteredMethods=this.filteredMethods}initFilteredHeaders(){this.pendingRequestsInterceptor.filteredHeaders=this.filteredHeaders}updateExpirationDelay(p){p&&(this.visibleUntil=Date.now()+this.minDuration)}getVisibilityTimer$(){return(0,Me.H)(Math.max(this.extraDuration,this.visibleUntil-Date.now()))}}return(y=i).\u0275fac=function(p){return new(p||y)(w.Y36(K),w.Y36(Ze))},y.\u0275cmp=w.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(p,C){1&p&&(w.YNc(0,Vt,10,16,"div",0),w.ALo(1,"async")),2&p&&w.Q6J("ngIf",w.lcZ(1,1,C.isVisible$))},dependencies:[ie.$G,ie.O5,ie.PC,fe,le,me,Ee,Ne,xe,et,Q,ie.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}"]}),i})(),Kt=(()=>{var y;class i{static forRoot(){return{ngModule:i,providers:[Z]}}}return(y=i).\u0275fac=function(p){return new(p||y)},y.\u0275mod=w.oAB({type:y}),y.\u0275inj=w.cJS({imports:[ie.ez]}),i})(),It=(()=>{var y;class i{constructor(){this.title="zoho"}ngOnInit(){this.overrideDateToJsonFunction()}overrideDateToJsonFunction(){Date.prototype.toJSON=function(){return new Date(this.getTime()-60*this.getTimezoneOffset()*1e3).toISOString()}}}return(y=i).\u0275fac=function(p){return new(p||y)},y.\u0275cmp=w.Xpm({type:y,selectors:[["app-root"]],decls:2,vars:0,template:function(p,C){1&p&&w._UZ(0,"router-outlet")(1,"ng-http-loader")},dependencies:[I.lC,ot],styles:[".main-content[_ngcontent-%COMP%]{margin-left:80px;flex-grow:1;transition:margin-left .25s,margin-right .25s,width .25s,flex .25s}.content-wrapper[_ngcontent-%COMP%]{display:flex;flex-direction:row;min-height:calc(80vh - .5rem)}.chosen[_ngcontent-%COMP%]{background-color:#9fd550;z-index:1}.show[_ngcontent-%COMP%]{z-index:10000}@media (max-width: 767px){.body-content[_ngcontent-%COMP%]{padding-top:50px}}.flex-right[_ngcontent-%COMP%] .mat-sort-header-container[_ngcontent-%COMP%]{justify-content:end!important}.align-right[_ngcontent-%COMP%] .mat-sort-header-container[_ngcontent-%COMP%]{justify-content:flex-end!important}.datepicker[_ngcontent-%COMP%]{width:125px}.mat-datepicker-content[_ngcontent-%COMP%] .mat-calendar[_ngcontent-%COMP%]{height:auto!important}"]}),i})();var Qe=M(6825);function Ln(y){return new w.vHH(3e3,!1)}function ut(y){switch(y.length){case 0:return new Qe.ZN;case 1:return y[0];default:return new Qe.ZE(y)}}function st(y,i,l=new Map,p=new Map){const C=[],A=[];let B=-1,k=null;if(i.forEach(J=>{const ge=J.get("offset"),Ke=ge==B,Ve=Ke&&k||new Map;J.forEach((St,Ct)=>{let u=Ct,h=St;if("offset"!==Ct)switch(u=y.normalizePropertyName(u,C),h){case Qe.k1:h=l.get(Ct);break;case Qe.l3:h=p.get(Ct);break;default:h=y.normalizeStyleValue(Ct,u,h,C)}Ve.set(u,h)}),Ke||A.push(Ve),k=Ve,B=ge}),C.length)throw function Ss(y){return new w.vHH(3502,!1)}();return A}function jt(y,i,l,p){switch(i){case"start":y.onStart(()=>p(l&&fn(l,"start",y)));break;case"done":y.onDone(()=>p(l&&fn(l,"done",y)));break;case"destroy":y.onDestroy(()=>p(l&&fn(l,"destroy",y)))}}function fn(y,i,l){const A=mn(y.element,y.triggerName,y.fromState,y.toState,i||y.phaseName,l.totalTime??y.totalTime,!!l.disabled),B=y._data;return null!=B&&(A._data=B),A}function mn(y,i,l,p,C="",A=0,B){return{element:y,triggerName:i,fromState:l,toState:p,phaseName:C,totalTime:A,disabled:!!B}}function z(y,i,l){let p=y.get(i);return p||y.set(i,p=l),p}function L(y){const i=y.indexOf(":");return[y.substring(1,i),y.slice(i+1)]}const ae=(()=>typeof document>"u"?null:document.documentElement)();function re(y){const i=y.parentNode||y.host||null;return i===ae?null:i}let Oe=null,Je=!1;function Cn(y,i){for(;i;){if(i===y)return!0;i=re(i)}return!1}function An(y,i,l){if(l)return Array.from(y.querySelectorAll(i));const p=y.querySelector(i);return p?[p]:[]}let Kn=(()=>{var y;class i{validateStyleProperty(p){return function je(y){Oe||(Oe=function wt(){return typeof document<"u"?document.body:null}()||{},Je=!!Oe.style&&"WebkitAppearance"in Oe.style);let i=!0;return Oe.style&&!function He(y){return"ebkit"==y.substring(1,6)}(y)&&(i=y in Oe.style,!i&&Je&&(i="Webkit"+y.charAt(0).toUpperCase()+y.slice(1)in Oe.style)),i}(p)}matchesElement(p,C){return!1}containsElement(p,C){return Cn(p,C)}getParentElement(p){return re(p)}query(p,C,A){return An(p,C,A)}computeStyle(p,C,A){return A||""}animate(p,C,A,B,k,J=[],ge){return new Qe.ZN(A,B)}}return(y=i).\u0275fac=function(p){return new(p||y)},y.\u0275prov=w.Yz7({token:y,factory:y.\u0275fac}),i})(),_r=(()=>{class i{}return i.NOOP=new Kn,i})();const Dr=1e3,On="ng-enter",or="ng-leave",Jt="ng-trigger",ir=".ng-trigger",Yr="ng-animating",En=".ng-animating";function Yn(y){if("number"==typeof y)return y;const i=y.match(/^(-?[\.\d]+)(m?s)/);return!i||i.length<2?0:Zn(parseFloat(i[1]),i[2])}function Zn(y,i){return"s"===i?y*Dr:y}function hn(y,i,l){return y.hasOwnProperty("duration")?y:function xr(y,i,l){let C,A=0,B="";if("string"==typeof y){const k=y.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===k)return i.push(Ln()),{duration:0,delay:0,easing:""};C=Zn(parseFloat(k[1]),k[2]);const J=k[3];null!=J&&(A=Zn(parseFloat(J),k[4]));const ge=k[5];ge&&(B=ge)}else C=y;if(!l){let k=!1,J=i.length;C<0&&(i.push(function Dn(){return new w.vHH(3100,!1)}()),k=!0),A<0&&(i.push(function Ar(){return new w.vHH(3101,!1)}()),k=!0),k&&i.splice(J,0,Ln())}return{duration:C,delay:A,easing:B}}(y,i,l)}function Er(y,i={}){return Object.keys(y).forEach(l=>{i[l]=y[l]}),i}function $s(y){const i=new Map;return Object.keys(y).forEach(l=>{i.set(l,y[l])}),i}function Zr(y,i=new Map,l){if(l)for(let[p,C]of l)i.set(p,C);for(let[p,C]of y)i.set(p,C);return i}function ar(y,i,l){i.forEach((p,C)=>{const A=Os(C);l&&!l.has(C)&&l.set(C,y.style[A]),y.style[A]=p})}function qr(y,i){i.forEach((l,p)=>{const C=Os(p);y.style[C]=""})}function Vs(y){return Array.isArray(y)?1==y.length?y[0]:(0,Qe.vP)(y):y}const zs=new RegExp("{{\\s*(.+?)\\s*}}","g");function Ro(y){let i=[];if("string"==typeof y){let l;for(;l=zs.exec(y);)i.push(l[1]);zs.lastIndex=0}return i}function Is(y,i,l){const p=y.toString(),C=p.replace(zs,(A,B)=>{let k=i[B];return null==k&&(l.push(function In(y){return new w.vHH(3003,!1)}()),k=""),k.toString()});return C==p?y:C}function As(y){const i=[];let l=y.next();for(;!l.done;)i.push(l.value),l=y.next();return i}const ys=/-+([a-z0-9])/g;function Os(y){return y.replace(ys,(...i)=>i[1].toUpperCase())}function ct(y,i,l){switch(i.type){case 7:return y.visitTrigger(i,l);case 0:return y.visitState(i,l);case 1:return y.visitTransition(i,l);case 2:return y.visitSequence(i,l);case 3:return y.visitGroup(i,l);case 4:return y.visitAnimate(i,l);case 5:return y.visitKeyframes(i,l);case 6:return y.visitStyle(i,l);case 8:return y.visitReference(i,l);case 9:return y.visitAnimateChild(i,l);case 10:return y.visitAnimateRef(i,l);case 11:return y.visitQuery(i,l);case 12:return y.visitStagger(i,l);default:throw function lt(y){return new w.vHH(3004,!1)}()}}function pn(y,i){return window.getComputedStyle(y)[i]}const Cr="*";function fo(y,i){const l=[];return"string"==typeof y?y.split(/\s*,\s*/).forEach(p=>function Xt(y,i,l){if(":"==y[0]){const J=function We(y,i){switch(y){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(l,p)=>parseFloat(p)>parseFloat(l);case":decrement":return(l,p)=>parseFloat(p)<parseFloat(l);default:return i.push(function Rr(y){return new w.vHH(3016,!1)}()),"* => *"}}(y,l);if("function"==typeof J)return void i.push(J);y=J}const p=y.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==p||p.length<4)return l.push(function Gr(y){return new w.vHH(3015,!1)}()),i;const C=p[1],A=p[2],B=p[3];i.push(Pn(C,B));"<"==A[0]&&!(C==Cr&&B==Cr)&&i.push(Pn(B,C))}(p,l,i)):l.push(y),l}const dt=new Set(["true","1"]),Ut=new Set(["false","0"]);function Pn(y,i){const l=dt.has(y)||Ut.has(y),p=dt.has(i)||Ut.has(i);return(C,A)=>{let B=y==Cr||y==C,k=i==Cr||i==A;return!B&&l&&"boolean"==typeof C&&(B=C?dt.has(y):Ut.has(y)),!k&&p&&"boolean"==typeof A&&(k=A?dt.has(i):Ut.has(i)),B&&k}}const vn=new RegExp("s*:selfs*,?","g");function Fr(y,i,l,p){return new lr(y).build(i,l,p)}class lr{constructor(i){this._driver=i}build(i,l,p){const C=new kr(l);return this._resetContextStyleTimingState(C),ct(this,Vs(i),C)}_resetContextStyleTimingState(i){i.currentQuerySelector="",i.collectedStyles=new Map,i.collectedStyles.set("",new Map),i.currentTime=0}visitTrigger(i,l){let p=l.queryCount=0,C=l.depCount=0;const A=[],B=[];return"@"==i.name.charAt(0)&&l.errors.push(function bt(){return new w.vHH(3006,!1)}()),i.definitions.forEach(k=>{if(this._resetContextStyleTimingState(l),0==k.type){const J=k,ge=J.name;ge.toString().split(/\s*,\s*/).forEach(Ke=>{J.name=Ke,A.push(this.visitState(J,l))}),J.name=ge}else if(1==k.type){const J=this.visitTransition(k,l);p+=J.queryCount,C+=J.depCount,B.push(J)}else l.errors.push(function gn(){return new w.vHH(3007,!1)}())}),{type:7,name:i.name,states:A,transitions:B,queryCount:p,depCount:C,options:null}}visitState(i,l){const p=this.visitStyle(i.styles,l),C=i.options&&i.options.params||null;if(p.containsDynamicStyles){const A=new Set,B=C||{};p.styles.forEach(k=>{k instanceof Map&&k.forEach(J=>{Ro(J).forEach(ge=>{B.hasOwnProperty(ge)||A.add(ge)})})}),A.size&&(As(A.values()),l.errors.push(function Or(y,i){return new w.vHH(3008,!1)}()))}return{type:0,name:i.name,style:p,options:C?{params:C}:null}}visitTransition(i,l){l.queryCount=0,l.depCount=0;const p=ct(this,Vs(i.animation),l);return{type:1,matchers:fo(i.expr,l.errors),animation:p,queryCount:l.queryCount,depCount:l.depCount,options:Ht(i.options)}}visitSequence(i,l){return{type:2,steps:i.steps.map(p=>ct(this,p,l)),options:Ht(i.options)}}visitGroup(i,l){const p=l.currentTime;let C=0;const A=i.steps.map(B=>{l.currentTime=p;const k=ct(this,B,l);return C=Math.max(C,l.currentTime),k});return l.currentTime=C,{type:3,steps:A,options:Ht(i.options)}}visitAnimate(i,l){const p=function Ds(y,i){if(y.hasOwnProperty("duration"))return y;if("number"==typeof y)return as(hn(y,i).duration,0,"");const l=y;if(l.split(/\s+/).some(A=>"{"==A.charAt(0)&&"{"==A.charAt(1))){const A=as(0,0,"");return A.dynamic=!0,A.strValue=l,A}const C=hn(l,i);return as(C.duration,C.delay,C.easing)}(i.timings,l.errors);l.currentAnimateTimings=p;let C,A=i.styles?i.styles:(0,Qe.oB)({});if(5==A.type)C=this.visitKeyframes(A,l);else{let B=i.styles,k=!1;if(!B){k=!0;const ge={};p.easing&&(ge.easing=p.easing),B=(0,Qe.oB)(ge)}l.currentTime+=p.duration+p.delay;const J=this.visitStyle(B,l);J.isEmptyStep=k,C=J}return l.currentAnimateTimings=null,{type:4,timings:p,style:C,options:null}}visitStyle(i,l){const p=this._makeStyleAst(i,l);return this._validateStyleAst(p,l),p}_makeStyleAst(i,l){const p=[],C=Array.isArray(i.styles)?i.styles:[i.styles];for(let k of C)"string"==typeof k?k===Qe.l3?p.push(k):l.errors.push(new w.vHH(3002,!1)):p.push($s(k));let A=!1,B=null;return p.forEach(k=>{if(k instanceof Map&&(k.has("easing")&&(B=k.get("easing"),k.delete("easing")),!A))for(let J of k.values())if(J.toString().indexOf("{{")>=0){A=!0;break}}),{type:6,styles:p,easing:B,offset:i.offset,containsDynamicStyles:A,options:null}}_validateStyleAst(i,l){const p=l.currentAnimateTimings;let C=l.currentTime,A=l.currentTime;p&&A>0&&(A-=p.duration+p.delay),i.styles.forEach(B=>{"string"!=typeof B&&B.forEach((k,J)=>{const ge=l.collectedStyles.get(l.currentQuerySelector),Ke=ge.get(J);let Ve=!0;Ke&&(A!=C&&A>=Ke.startTime&&C<=Ke.endTime&&(l.errors.push(function mt(y,i,l,p,C){return new w.vHH(3010,!1)}()),Ve=!1),A=Ke.startTime),Ve&&ge.set(J,{startTime:A,endTime:C}),l.options&&function gr(y,i,l){const p=i.params||{},C=Ro(y);C.length&&C.forEach(A=>{p.hasOwnProperty(A)||l.push(function zn(y){return new w.vHH(3001,!1)}())})}(k,l.options,l.errors)})})}visitKeyframes(i,l){const p={type:5,styles:[],options:null};if(!l.currentAnimateTimings)return l.errors.push(function os(){return new w.vHH(3011,!1)}()),p;let A=0;const B=[];let k=!1,J=!1,ge=0;const Ke=i.steps.map(f=>{const D=this._makeStyleAst(f,l);let S=null!=D.offset?D.offset:function ko(y){if("string"==typeof y)return null;let i=null;if(Array.isArray(y))y.forEach(l=>{if(l instanceof Map&&l.has("offset")){const p=l;i=parseFloat(p.get("offset")),p.delete("offset")}});else if(y instanceof Map&&y.has("offset")){const l=y;i=parseFloat(l.get("offset")),l.delete("offset")}return i}(D.styles),P=0;return null!=S&&(A++,P=D.offset=S),J=J||P<0||P>1,k=k||P<ge,ge=P,B.push(P),D});J&&l.errors.push(function zt(){return new w.vHH(3012,!1)}()),k&&l.errors.push(function sr(){return new w.vHH(3200,!1)}());const Ve=i.steps.length;let St=0;A>0&&A<Ve?l.errors.push(function Ft(){return new w.vHH(3202,!1)}()):0==A&&(St=1/(Ve-1));const Ct=Ve-1,u=l.currentTime,h=l.currentAnimateTimings,v=h.duration;return Ke.forEach((f,D)=>{const S=St>0?D==Ct?1:St*D:B[D],P=S*v;l.currentTime=u+h.delay+P,h.duration=P,this._validateStyleAst(f,l),f.offset=S,p.styles.push(f)}),p}visitReference(i,l){return{type:8,animation:ct(this,Vs(i.animation),l),options:Ht(i.options)}}visitAnimateChild(i,l){return l.depCount++,{type:9,options:Ht(i.options)}}visitAnimateRef(i,l){return{type:10,animation:this.visitReference(i.animation,l),options:Ht(i.options)}}visitQuery(i,l){const p=l.currentQuerySelector,C=i.options||{};l.queryCount++,l.currentQuery=i;const[A,B]=function is(y){const i=!!y.split(/\s*,\s*/).find(l=>":self"==l);return i&&(y=y.replace(vn,"")),y=y.replace(/@\*/g,ir).replace(/@\w+/g,l=>ir+"-"+l.slice(1)).replace(/:animating/g,En),[y,i]}(i.selector);l.currentQuerySelector=p.length?p+" "+A:A,z(l.collectedStyles,l.currentQuerySelector,new Map);const k=ct(this,Vs(i.animation),l);return l.currentQuery=null,l.currentQuerySelector=p,{type:11,selector:A,limit:C.limit||0,optional:!!C.optional,includeSelf:B,animation:k,originalSelector:i.selector,options:Ht(i.options)}}visitStagger(i,l){l.currentQuery||l.errors.push(function pr(){return new w.vHH(3013,!1)}());const p="full"===i.timings?{duration:0,delay:0,easing:"full"}:hn(i.timings,l.errors,!0);return{type:12,animation:ct(this,Vs(i.animation),l),timings:p,options:null}}}class kr{constructor(i){this.errors=i,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}}function Ht(y){return y?(y=Er(y)).params&&(y.params=function ht(y){return y?Er(y):null}(y.params)):y={},y}function as(y,i,l){return{duration:y,delay:i,easing:l}}function Qr(y,i,l,p,C,A,B=null,k=!1){return{type:1,element:y,keyframes:i,preStyleProps:l,postStyleProps:p,duration:C,delay:A,totalTime:C+A,easing:B,subTimeline:k}}class qn{constructor(){this._map=new Map}get(i){return this._map.get(i)||[]}append(i,l){let p=this._map.get(i);p||this._map.set(i,p=[]),p.push(...l)}has(i){return this._map.has(i)}clear(){this._map.clear()}}const ls=new RegExp(":enter","g"),po=new RegExp(":leave","g");function Xr(y,i,l,p,C,A=new Map,B=new Map,k,J,ge=[]){return(new Tt).buildKeyframes(y,i,l,p,C,A,B,k,J,ge)}class Tt{buildKeyframes(i,l,p,C,A,B,k,J,ge,Ke=[]){ge=ge||new qn;const Ve=new Ws(i,l,ge,C,A,Ke,[]);Ve.options=J;const St=J.delay?Yn(J.delay):0;Ve.currentTimeline.delayNextStep(St),Ve.currentTimeline.setStyles([B],null,Ve.errors,J),ct(this,p,Ve);const Ct=Ve.timelines.filter(u=>u.containsAnimation());if(Ct.length&&k.size){let u;for(let h=Ct.length-1;h>=0;h--){const v=Ct[h];if(v.element===l){u=v;break}}u&&!u.allowOnlyTimelineStyles()&&u.setStyles([k],null,Ve.errors,J)}return Ct.length?Ct.map(u=>u.buildKeyframes()):[Qr(l,[],[],[],0,St,"",!1)]}visitTrigger(i,l){}visitState(i,l){}visitTransition(i,l){}visitAnimateChild(i,l){const p=l.subInstructions.get(l.element);if(p){const C=l.createSubContext(i.options),A=l.currentTimeline.currentTime,B=this._visitSubInstructions(p,C,C.options);A!=B&&l.transformIntoNewTimeline(B)}l.previousNode=i}visitAnimateRef(i,l){const p=l.createSubContext(i.options);p.transformIntoNewTimeline(),this._applyAnimationRefDelays([i.options,i.animation.options],l,p),this.visitReference(i.animation,p),l.transformIntoNewTimeline(p.currentTimeline.currentTime),l.previousNode=i}_applyAnimationRefDelays(i,l,p){for(const C of i){const A=C?.delay;if(A){const B="number"==typeof A?A:Yn(Is(A,C?.params??{},l.errors));p.delayNextStep(B)}}}_visitSubInstructions(i,l,p){let A=l.currentTimeline.currentTime;const B=null!=p.duration?Yn(p.duration):null,k=null!=p.delay?Yn(p.delay):null;return 0!==B&&i.forEach(J=>{const ge=l.appendInstructionToTimeline(J,B,k);A=Math.max(A,ge.duration+ge.delay)}),A}visitReference(i,l){l.updateOptions(i.options,!0),ct(this,i.animation,l),l.previousNode=i}visitSequence(i,l){const p=l.subContextCount;let C=l;const A=i.options;if(A&&(A.params||A.delay)&&(C=l.createSubContext(A),C.transformIntoNewTimeline(),null!=A.delay)){6==C.previousNode.type&&(C.currentTimeline.snapshotCurrentStyles(),C.previousNode=go);const B=Yn(A.delay);C.delayNextStep(B)}i.steps.length&&(i.steps.forEach(B=>ct(this,B,C)),C.currentTimeline.applyStylesToKeyframe(),C.subContextCount>p&&C.transformIntoNewTimeline()),l.previousNode=i}visitGroup(i,l){const p=[];let C=l.currentTimeline.currentTime;const A=i.options&&i.options.delay?Yn(i.options.delay):0;i.steps.forEach(B=>{const k=l.createSubContext(i.options);A&&k.delayNextStep(A),ct(this,B,k),C=Math.max(C,k.currentTimeline.currentTime),p.push(k.currentTimeline)}),p.forEach(B=>l.currentTimeline.mergeTimelineCollectedStyles(B)),l.transformIntoNewTimeline(C),l.previousNode=i}_visitTiming(i,l){if(i.dynamic){const p=i.strValue;return hn(l.params?Is(p,l.params,l.errors):p,l.errors)}return{duration:i.duration,delay:i.delay,easing:i.easing}}visitAnimate(i,l){const p=l.currentAnimateTimings=this._visitTiming(i.timings,l),C=l.currentTimeline;p.delay&&(l.incrementTime(p.delay),C.snapshotCurrentStyles());const A=i.style;5==A.type?this.visitKeyframes(A,l):(l.incrementTime(p.duration),this.visitStyle(A,l),C.applyStylesToKeyframe()),l.currentAnimateTimings=null,l.previousNode=i}visitStyle(i,l){const p=l.currentTimeline,C=l.currentAnimateTimings;!C&&p.hasCurrentStyleProperties()&&p.forwardFrame();const A=C&&C.easing||i.easing;i.isEmptyStep?p.applyEmptyStep(A):p.setStyles(i.styles,A,l.errors,l.options),l.previousNode=i}visitKeyframes(i,l){const p=l.currentAnimateTimings,C=l.currentTimeline.duration,A=p.duration,k=l.createSubContext().currentTimeline;k.easing=p.easing,i.styles.forEach(J=>{k.forwardTime((J.offset||0)*A),k.setStyles(J.styles,J.easing,l.errors,l.options),k.applyStylesToKeyframe()}),l.currentTimeline.mergeTimelineCollectedStyles(k),l.transformIntoNewTimeline(C+A),l.previousNode=i}visitQuery(i,l){const p=l.currentTimeline.currentTime,C=i.options||{},A=C.delay?Yn(C.delay):0;A&&(6===l.previousNode.type||0==p&&l.currentTimeline.hasCurrentStyleProperties())&&(l.currentTimeline.snapshotCurrentStyles(),l.previousNode=go);let B=p;const k=l.invokeQuery(i.selector,i.originalSelector,i.limit,i.includeSelf,!!C.optional,l.errors);l.currentQueryTotal=k.length;let J=null;k.forEach((ge,Ke)=>{l.currentQueryIndex=Ke;const Ve=l.createSubContext(i.options,ge);A&&Ve.delayNextStep(A),ge===l.element&&(J=Ve.currentTimeline),ct(this,i.animation,Ve),Ve.currentTimeline.applyStylesToKeyframe(),B=Math.max(B,Ve.currentTimeline.currentTime)}),l.currentQueryIndex=0,l.currentQueryTotal=0,l.transformIntoNewTimeline(B),J&&(l.currentTimeline.mergeTimelineCollectedStyles(J),l.currentTimeline.snapshotCurrentStyles()),l.previousNode=i}visitStagger(i,l){const p=l.parentContext,C=l.currentTimeline,A=i.timings,B=Math.abs(A.duration),k=B*(l.currentQueryTotal-1);let J=B*l.currentQueryIndex;switch(A.duration<0?"reverse":A.easing){case"reverse":J=k-J;break;case"full":J=p.currentStaggerTime}const Ke=l.currentTimeline;J&&Ke.delayNextStep(J);const Ve=Ke.currentTime;ct(this,i.animation,l),l.previousNode=i,p.currentStaggerTime=C.currentTime-Ve+(C.startTime-p.currentTimeline.startTime)}}const go={};class Ws{constructor(i,l,p,C,A,B,k,J){this._driver=i,this.element=l,this.subInstructions=p,this._enterClassName=C,this._leaveClassName=A,this.errors=B,this.timelines=k,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=go,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=J||new Ps(this._driver,l,0),k.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(i,l){if(!i)return;const p=i;let C=this.options;null!=p.duration&&(C.duration=Yn(p.duration)),null!=p.delay&&(C.delay=Yn(p.delay));const A=p.params;if(A){let B=C.params;B||(B=this.options.params={}),Object.keys(A).forEach(k=>{(!l||!B.hasOwnProperty(k))&&(B[k]=Is(A[k],B,this.errors))})}}_copyOptions(){const i={};if(this.options){const l=this.options.params;if(l){const p=i.params={};Object.keys(l).forEach(C=>{p[C]=l[C]})}}return i}createSubContext(i=null,l,p){const C=l||this.element,A=new Ws(this._driver,C,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(C,p||0));return A.previousNode=this.previousNode,A.currentAnimateTimings=this.currentAnimateTimings,A.options=this._copyOptions(),A.updateOptions(i),A.currentQueryIndex=this.currentQueryIndex,A.currentQueryTotal=this.currentQueryTotal,A.parentContext=this,this.subContextCount++,A}transformIntoNewTimeline(i){return this.previousNode=go,this.currentTimeline=this.currentTimeline.fork(this.element,i),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(i,l,p){const C={duration:l??i.duration,delay:this.currentTimeline.currentTime+(p??0)+i.delay,easing:""},A=new Qn(this._driver,i.element,i.keyframes,i.preStyleProps,i.postStyleProps,C,i.stretchStartingKeyframe);return this.timelines.push(A),C}incrementTime(i){this.currentTimeline.forwardTime(this.currentTimeline.duration+i)}delayNextStep(i){i>0&&this.currentTimeline.delayNextStep(i)}invokeQuery(i,l,p,C,A,B){let k=[];if(C&&k.push(this.element),i.length>0){i=(i=i.replace(ls,"."+this._enterClassName)).replace(po,"."+this._leaveClassName);let ge=this._driver.query(this.element,i,1!=p);0!==p&&(ge=p<0?ge.slice(ge.length+p,ge.length):ge.slice(0,p)),k.push(...ge)}return!A&&0==k.length&&B.push(function Pr(y){return new w.vHH(3014,!1)}()),k}}class Ps{constructor(i,l,p,C){this._driver=i,this.element=l,this.startTime=p,this._elementTimelineStylesLookup=C,this.duration=0,this.easing=null,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(l),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(l,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.hasCurrentStyleProperties();default:return!0}}hasCurrentStyleProperties(){return this._currentKeyframe.size>0}get currentTime(){return this.startTime+this.duration}delayNextStep(i){const l=1===this._keyframes.size&&this._pendingStyles.size;this.duration||l?(this.forwardTime(this.currentTime+i),l&&this.snapshotCurrentStyles()):this.startTime+=i}fork(i,l){return this.applyStylesToKeyframe(),new Ps(this._driver,i,l||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(i){this.applyStylesToKeyframe(),this.duration=i,this._loadKeyframe()}_updateStyle(i,l){this._localTimelineStyles.set(i,l),this._globalTimelineStyles.set(i,l),this._styleSummary.set(i,{time:this.currentTime,value:l})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(i){i&&this._previousKeyframe.set("easing",i);for(let[l,p]of this._globalTimelineStyles)this._backFill.set(l,p||Qe.l3),this._currentKeyframe.set(l,Qe.l3);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(i,l,p,C){l&&this._previousKeyframe.set("easing",l);const A=C&&C.params||{},B=function Rn(y,i){const l=new Map;let p;return y.forEach(C=>{if("*"===C){p=p||i.keys();for(let A of p)l.set(A,Qe.l3)}else Zr(C,l)}),l}(i,this._globalTimelineStyles);for(let[k,J]of B){const ge=Is(J,A,p);this._pendingStyles.set(k,ge),this._localTimelineStyles.has(k)||this._backFill.set(k,this._globalTimelineStyles.get(k)??Qe.l3),this._updateStyle(k,ge)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach((i,l)=>{this._currentKeyframe.set(l,i)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((i,l)=>{this._currentKeyframe.has(l)||this._currentKeyframe.set(l,i)}))}snapshotCurrentStyles(){for(let[i,l]of this._localTimelineStyles)this._pendingStyles.set(i,l),this._updateStyle(i,l)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const i=[];for(let l in this._currentKeyframe)i.push(l);return i}mergeTimelineCollectedStyles(i){i._styleSummary.forEach((l,p)=>{const C=this._styleSummary.get(p);(!C||l.time>C.time)&&this._updateStyle(p,l.value)})}buildKeyframes(){this.applyStylesToKeyframe();const i=new Set,l=new Set,p=1===this._keyframes.size&&0===this.duration;let C=[];this._keyframes.forEach((k,J)=>{const ge=Zr(k,new Map,this._backFill);ge.forEach((Ke,Ve)=>{Ke===Qe.k1?i.add(Ve):Ke===Qe.l3&&l.add(Ve)}),p||ge.set("offset",J/this.duration),C.push(ge)});const A=i.size?As(i.values()):[],B=l.size?As(l.values()):[];if(p){const k=C[0],J=new Map(k);k.set("offset",0),J.set("offset",1),C=[k,J]}return Qr(this.element,C,A,B,this.duration,this.startTime,this.easing,!1)}}class Qn extends Ps{constructor(i,l,p,C,A,B,k=!1){super(i,l,B.delay),this.keyframes=p,this.preStyleProps=C,this.postStyleProps=A,this._stretchStartingKeyframe=k,this.timings={duration:B.duration,delay:B.delay,easing:B.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let i=this.keyframes,{delay:l,duration:p,easing:C}=this.timings;if(this._stretchStartingKeyframe&&l){const A=[],B=p+l,k=l/B,J=Zr(i[0]);J.set("offset",0),A.push(J);const ge=Zr(i[0]);ge.set("offset",us(k)),A.push(ge);const Ke=i.length-1;for(let Ve=1;Ve<=Ke;Ve++){let St=Zr(i[Ve]);const Ct=St.get("offset");St.set("offset",us((l+Ct*p)/B)),A.push(St)}p=B,l=0,C="",i=A}return Qr(this.element,i,this.preStyleProps,this.postStyleProps,p,l,C,!0)}}function us(y,i=3){const l=Math.pow(10,i-1);return Math.round(y*l)/l}class en{}const Jn=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 Nn extends en{normalizePropertyName(i,l){return Os(i)}normalizeStyleValue(i,l,p,C){let A="";const B=p.toString().trim();if(Jn.has(l)&&0!==p&&"0"!==p)if("number"==typeof p)A="px";else{const k=p.match(/^[+-]?[\d\.]+([a-z]*)$/);k&&0==k[1].length&&C.push(function vt(y,i){return new w.vHH(3005,!1)}())}return B+A}}function Rs(y,i,l,p,C,A,B,k,J,ge,Ke,Ve,St){return{type:0,element:y,triggerName:i,isRemovalTransition:C,fromState:l,fromStyles:A,toState:p,toStyles:B,timelines:k,queriedElements:J,preStyleProps:ge,postStyleProps:Ke,totalTime:Ve,errors:St}}const ur={};class Ys{constructor(i,l,p){this._triggerName=i,this.ast=l,this._stateStyles=p}match(i,l,p,C){return function es(y,i,l,p,C){return y.some(A=>A(i,l,p,C))}(this.ast.matchers,i,l,p,C)}buildStyles(i,l,p){let C=this._stateStyles.get("*");return void 0!==i&&(C=this._stateStyles.get(i?.toString())||C),C?C.buildStyles(l,p):new Map}build(i,l,p,C,A,B,k,J,ge,Ke){const Ve=[],St=this.ast.options&&this.ast.options.params||ur,u=this.buildStyles(p,k&&k.params||ur,Ve),h=J&&J.params||ur,v=this.buildStyles(C,h,Ve),f=new Set,D=new Map,S=new Map,P="void"===C,Y={params:Ns(h,St),delay:this.ast.options?.delay},Pe=Ke?[]:Xr(i,l,this.ast.animation,A,B,u,v,Y,ge,Ve);let ce=0;if(Pe.forEach(pt=>{ce=Math.max(pt.duration+pt.delay,ce)}),Ve.length)return Rs(l,this._triggerName,p,C,P,u,v,[],[],D,S,ce,Ve);Pe.forEach(pt=>{const qt=pt.element,kt=z(D,qt,new Set);pt.preStyleProps.forEach($r=>kt.add($r));const tr=z(S,qt,new Set);pt.postStyleProps.forEach($r=>tr.add($r)),qt!==l&&f.add(qt)});const nt=As(f.values());return Rs(l,this._triggerName,p,C,P,u,v,Pe,nt,D,S,ce)}}function Ns(y,i){const l=Er(i);for(const p in y)y.hasOwnProperty(p)&&null!=y[p]&&(l[p]=y[p]);return l}class Wo{constructor(i,l,p){this.styles=i,this.defaultParams=l,this.normalizer=p}buildStyles(i,l){const p=new Map,C=Er(this.defaultParams);return Object.keys(i).forEach(A=>{const B=i[A];null!==B&&(C[A]=B)}),this.styles.styles.forEach(A=>{"string"!=typeof A&&A.forEach((B,k)=>{B&&(B=Is(B,C,l));const J=this.normalizer.normalizePropertyName(k,l);B=this.normalizer.normalizeStyleValue(k,J,B,l),p.set(k,B)})}),p}}class Zs{constructor(i,l,p){this.name=i,this.ast=l,this._normalizer=p,this.transitionFactories=[],this.states=new Map,l.states.forEach(C=>{this.states.set(C.name,new Wo(C.style,C.options&&C.options.params||{},p))}),Ko(this.states,"true","1"),Ko(this.states,"false","0"),l.transitions.forEach(C=>{this.transitionFactories.push(new Ys(i,C,this.states))}),this.fallbackTransition=function xs(y,i,l){return new Ys(y,{type:1,animation:{type:2,steps:[],options:null},matchers:[(B,k)=>!0],options:null,queryCount:0,depCount:0},i)}(i,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(i,l,p,C){return this.transitionFactories.find(B=>B.match(i,l,p,C))||null}matchStyles(i,l,p){return this.fallbackTransition.buildStyles(i,l,p)}}function Ko(y,i,l){y.has(i)?y.has(l)||y.set(l,y.get(i)):y.has(l)&&y.set(i,y.get(l))}const vi=new qn;class ya{constructor(i,l,p){this.bodyNode=i,this._driver=l,this._normalizer=p,this._animations=new Map,this._playersById=new Map,this.players=[]}register(i,l){const p=[],A=Fr(this._driver,l,p,[]);if(p.length)throw function Wn(y){return new w.vHH(3503,!1)}();this._animations.set(i,A)}_buildPlayer(i,l,p){const C=i.element,A=st(this._normalizer,i.keyframes,l,p);return this._driver.animate(C,A,i.duration,i.delay,i.easing,[],!0)}create(i,l,p={}){const C=[],A=this._animations.get(i);let B;const k=new Map;if(A?(B=Xr(this._driver,l,A,On,or,new Map,new Map,p,vi,C),B.forEach(Ke=>{const Ve=z(k,Ke.element,new Map);Ke.postStyleProps.forEach(St=>Ve.set(St,null))})):(C.push(function Nr(){return new w.vHH(3300,!1)}()),B=[]),C.length)throw function Kr(y){return new w.vHH(3504,!1)}();k.forEach((Ke,Ve)=>{Ke.forEach((St,Ct)=>{Ke.set(Ct,this._driver.computeStyle(Ve,Ct,Qe.l3))})});const ge=ut(B.map(Ke=>{const Ve=k.get(Ke.element);return this._buildPlayer(Ke,new Map,Ve)}));return this._playersById.set(i,ge),ge.onDestroy(()=>this.destroy(i)),this.players.push(ge),ge}destroy(i){const l=this._getPlayer(i);l.destroy(),this._playersById.delete(i);const p=this.players.indexOf(l);p>=0&&this.players.splice(p,1)}_getPlayer(i){const l=this._playersById.get(i);if(!l)throw function Hs(y){return new w.vHH(3301,!1)}();return l}listen(i,l,p,C){const A=mn(l,"","","");return jt(this._getPlayer(i),p,A,C),()=>{}}command(i,l,p,C){if("register"==p)return void this.register(i,C[0]);if("create"==p)return void this.create(i,l,C[0]||{});const A=this._getPlayer(i);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(C[0]));break;case"destroy":this.destroy(i)}}}const yi="ng-animate-queued",Yo="ng-animate-disabled",Lo=[],Fs={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Da={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},cr="__ng_removed";class mo{get params(){return this.options.params}constructor(i,l=""){this.namespaceId=l;const p=i&&i.hasOwnProperty("value");if(this.value=function ks(y){return y??null}(p?i.value:i),p){const A=Er(i);delete A.value,this.options=A}else this.options={};this.options.params||(this.options.params={})}absorbOptions(i){const l=i.params;if(l){const p=this.options.params;Object.keys(l).forEach(C=>{null==p[C]&&(p[C]=l[C])})}}}const vo="void",Zo=new mo(vo);class qo{constructor(i,l,p){this.id=i,this.hostElement=l,this._engine=p,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+i,dr(l,this._hostClassName)}listen(i,l,p,C){if(!this._triggers.has(l))throw function uo(y,i){return new w.vHH(3302,!1)}();if(null==p||0==p.length)throw function pe(y){return new w.vHH(3303,!1)}();if(!function Cs(y){return"start"==y||"done"==y}(p))throw function V(y,i){return new w.vHH(3400,!1)}();const A=z(this._elementListeners,i,[]),B={name:l,phase:p,callback:C};A.push(B);const k=z(this._engine.statesByElement,i,new Map);return k.has(l)||(dr(i,Jt),dr(i,Jt+"-"+l),k.set(l,Zo)),()=>{this._engine.afterFlush(()=>{const J=A.indexOf(B);J>=0&&A.splice(J,1),this._triggers.has(l)||k.delete(l)})}}register(i,l){return!this._triggers.has(i)&&(this._triggers.set(i,l),!0)}_getTrigger(i){const l=this._triggers.get(i);if(!l)throw function ue(y){return new w.vHH(3401,!1)}();return l}trigger(i,l,p,C=!0){const A=this._getTrigger(l),B=new br(this.id,l,i);let k=this._engine.statesByElement.get(i);k||(dr(i,Jt),dr(i,Jt+"-"+l),this._engine.statesByElement.set(i,k=new Map));let J=k.get(l);const ge=new mo(p,this.id);if(!(p&&p.hasOwnProperty("value"))&&J&&ge.absorbOptions(J.options),k.set(l,ge),J||(J=Zo),ge.value!==vo&&J.value===ge.value){if(!function Qs(y,i){const l=Object.keys(y),p=Object.keys(i);if(l.length!=p.length)return!1;for(let C=0;C<l.length;C++){const A=l[C];if(!i.hasOwnProperty(A)||y[A]!==i[A])return!1}return!0}(J.params,ge.params)){const h=[],v=A.matchStyles(J.value,J.params,h),f=A.matchStyles(ge.value,ge.params,h);h.length?this._engine.reportError(h):this._engine.afterFlush(()=>{qr(i,v),ar(i,f)})}return}const St=z(this._engine.playersByElement,i,[]);St.forEach(h=>{h.namespaceId==this.id&&h.triggerName==l&&h.queued&&h.destroy()});let Ct=A.matchTransition(J.value,ge.value,i,ge.params),u=!1;if(!Ct){if(!C)return;Ct=A.fallbackTransition,u=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:i,triggerName:l,transition:Ct,fromState:J,toState:ge,player:B,isFallbackTransition:u}),u||(dr(i,yi),B.onStart(()=>{ds(i,yi)})),B.onDone(()=>{let h=this.players.indexOf(B);h>=0&&this.players.splice(h,1);const v=this._engine.playersByElement.get(i);if(v){let f=v.indexOf(B);f>=0&&v.splice(f,1)}}),this.players.push(B),St.push(B),B}deregister(i){this._triggers.delete(i),this._engine.statesByElement.forEach(l=>l.delete(i)),this._elementListeners.forEach((l,p)=>{this._elementListeners.set(p,l.filter(C=>C.name!=i))})}clearElementCache(i){this._engine.statesByElement.delete(i),this._elementListeners.delete(i);const l=this._engine.playersByElement.get(i);l&&(l.forEach(p=>p.destroy()),this._engine.playersByElement.delete(i))}_signalRemovalForInnerTriggers(i,l){const p=this._engine.driver.query(i,ir,!0);p.forEach(C=>{if(C[cr])return;const A=this._engine.fetchNamespacesByElement(C);A.size?A.forEach(B=>B.triggerLeaveAnimation(C,l,!1,!0)):this.clearElementCache(C)}),this._engine.afterFlushAnimationsDone(()=>p.forEach(C=>this.clearElementCache(C)))}triggerLeaveAnimation(i,l,p,C){const A=this._engine.statesByElement.get(i),B=new Map;if(A){const k=[];if(A.forEach((J,ge)=>{if(B.set(ge,J.value),this._triggers.has(ge)){const Ke=this.trigger(i,ge,vo,C);Ke&&k.push(Ke)}}),k.length)return this._engine.markElementAsRemoved(this.id,i,!0,l,B),p&&ut(k).onDone(()=>this._engine.processLeaveNode(i)),!0}return!1}prepareLeaveAnimationListeners(i){const l=this._elementListeners.get(i),p=this._engine.statesByElement.get(i);if(l&&p){const C=new Set;l.forEach(A=>{const B=A.name;if(C.has(B))return;C.add(B);const J=this._triggers.get(B).fallbackTransition,ge=p.get(B)||Zo,Ke=new mo(vo),Ve=new br(this.id,B,i);this._engine.totalQueuedPlayers++,this._queue.push({element:i,triggerName:B,transition:J,fromState:ge,toState:Ke,player:Ve,isFallbackTransition:!0})})}}removeNode(i,l){const p=this._engine;if(i.childElementCount&&this._signalRemovalForInnerTriggers(i,l),this.triggerLeaveAnimation(i,l,!0))return;let C=!1;if(p.totalAnimations){const A=p.players.length?p.playersByQueriedElement.get(i):[];if(A&&A.length)C=!0;else{let B=i;for(;B=B.parentNode;)if(p.statesByElement.get(B)){C=!0;break}}}if(this.prepareLeaveAnimationListeners(i),C)p.markElementAsRemoved(this.id,i,!1,l);else{const A=i[cr];(!A||A===Fs)&&(p.afterFlush(()=>this.clearElementCache(i)),p.destroyInnerAnimations(i),p._onRemovalComplete(i,l))}}insertNode(i,l){dr(i,this._hostClassName)}drainQueuedTransitions(i){const l=[];return this._queue.forEach(p=>{const C=p.player;if(C.destroyed)return;const A=p.element,B=this._elementListeners.get(A);B&&B.forEach(k=>{if(k.name==p.triggerName){const J=mn(A,p.triggerName,p.fromState.value,p.toState.value);J._data=i,jt(p.player,k.phase,J,k.callback)}}),C.markedForDestroy?this._engine.afterFlush(()=>{C.destroy()}):l.push(p)}),this._queue=[],l.sort((p,C)=>{const A=p.transition.ast.depCount,B=C.transition.ast.depCount;return 0==A||0==B?A-B:this._engine.driver.containsElement(p.element,C.element)?1:-1})}destroy(i){this.players.forEach(l=>l.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,i)}}class cs{_onRemovalComplete(i,l){this.onRemovalComplete(i,l)}constructor(i,l,p){this.bodyNode=i,this.driver=l,this._normalizer=p,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(C,A)=>{}}get queuedPlayers(){const i=[];return this._namespaceList.forEach(l=>{l.players.forEach(p=>{p.queued&&i.push(p)})}),i}createNamespace(i,l){const p=new qo(i,l,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,l)?this._balanceNamespaceList(p,l):(this.newHostElements.set(l,p),this.collectEnterElement(l)),this._namespaceLookup[i]=p}_balanceNamespaceList(i,l){const p=this._namespaceList,C=this.namespacesByHostElement;if(p.length-1>=0){let B=!1,k=this.driver.getParentElement(l);for(;k;){const J=C.get(k);if(J){const ge=p.indexOf(J);p.splice(ge+1,0,i),B=!0;break}k=this.driver.getParentElement(k)}B||p.unshift(i)}else p.push(i);return C.set(l,i),i}register(i,l){let p=this._namespaceLookup[i];return p||(p=this.createNamespace(i,l)),p}registerTrigger(i,l,p){let C=this._namespaceLookup[i];C&&C.register(l,p)&&this.totalAnimations++}destroy(i,l){i&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{const p=this._fetchNamespace(i);this.namespacesByHostElement.delete(p.hostElement);const C=this._namespaceList.indexOf(p);C>=0&&this._namespaceList.splice(C,1),p.destroy(l),delete this._namespaceLookup[i]}))}_fetchNamespace(i){return this._namespaceLookup[i]}fetchNamespacesByElement(i){const l=new Set,p=this.statesByElement.get(i);if(p)for(let C of p.values())if(C.namespaceId){const A=this._fetchNamespace(C.namespaceId);A&&l.add(A)}return l}trigger(i,l,p,C){if(yn(l)){const A=this._fetchNamespace(i);if(A)return A.trigger(l,p,C),!0}return!1}insertNode(i,l,p,C){if(!yn(l))return;const A=l[cr];if(A&&A.setForRemoval){A.setForRemoval=!1,A.setForMove=!0;const B=this.collectedLeaveElements.indexOf(l);B>=0&&this.collectedLeaveElements.splice(B,1)}if(i){const B=this._fetchNamespace(i);B&&B.insertNode(l,p)}C&&this.collectEnterElement(l)}collectEnterElement(i){this.collectedEnterElements.push(i)}markElementAsDisabled(i,l){l?this.disabledNodes.has(i)||(this.disabledNodes.add(i),dr(i,Yo)):this.disabledNodes.has(i)&&(this.disabledNodes.delete(i),ds(i,Yo))}removeNode(i,l,p){if(yn(l)){const C=i?this._fetchNamespace(i):null;C?C.removeNode(l,p):this.markElementAsRemoved(i,l,!1,p);const A=this.namespacesByHostElement.get(l);A&&A.id!==i&&A.removeNode(l,p)}else this._onRemovalComplete(l,p)}markElementAsRemoved(i,l,p,C,A){this.collectedLeaveElements.push(l),l[cr]={namespaceId:i,setForRemoval:C,hasAnimation:p,removedBeforeQueried:!1,previousTriggersValues:A}}listen(i,l,p,C,A){return yn(l)?this._fetchNamespace(i).listen(l,p,C,A):()=>{}}_buildInstruction(i,l,p,C,A){return i.transition.build(this.driver,i.element,i.fromState.value,i.toState.value,p,C,i.fromState.options,i.toState.options,l,A)}destroyInnerAnimations(i){let l=this.driver.query(i,ir,!0);l.forEach(p=>this.destroyActiveAnimationsForElement(p)),0!=this.playersByQueriedElement.size&&(l=this.driver.query(i,En,!0),l.forEach(p=>this.finishActiveQueriedAnimationOnElement(p)))}destroyActiveAnimationsForElement(i){const l=this.playersByElement.get(i);l&&l.forEach(p=>{p.queued?p.markedForDestroy=!0:p.destroy()})}finishActiveQueriedAnimationOnElement(i){const l=this.playersByQueriedElement.get(i);l&&l.forEach(p=>p.finish())}whenRenderingDone(){return new Promise(i=>{if(this.players.length)return ut(this.players).onDone(()=>i());i()})}processLeaveNode(i){const l=i[cr];if(l&&l.setForRemoval){if(i[cr]=Fs,l.namespaceId){this.destroyInnerAnimations(i);const p=this._fetchNamespace(l.namespaceId);p&&p.clearElementCache(i)}this._onRemovalComplete(i,l.setForRemoval)}i.classList?.contains(Yo)&&this.markElementAsDisabled(i,!1),this.driver.query(i,".ng-animate-disabled",!0).forEach(p=>{this.markElementAsDisabled(p,!1)})}flush(i=-1){let l=[];if(this.newHostElements.size&&(this.newHostElements.forEach((p,C)=>this._balanceNamespaceList(p,C)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let p=0;p<this.collectedEnterElements.length;p++)dr(this.collectedEnterElements[p],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){const p=[];try{l=this._flushAnimations(p,i)}finally{for(let C=0;C<p.length;C++)p[C]()}}else for(let p=0;p<this.collectedLeaveElements.length;p++)this.processLeaveNode(this.collectedLeaveElements[p]);if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(p=>p()),this._flushFns=[],this._whenQuietFns.length){const p=this._whenQuietFns;this._whenQuietFns=[],l.length?ut(l).onDone(()=>{p.forEach(C=>C())}):p.forEach(C=>C())}}reportError(i){throw function H(y){return new w.vHH(3402,!1)}()}_flushAnimations(i,l){const p=new qn,C=[],A=new Map,B=[],k=new Map,J=new Map,ge=new Map,Ke=new Set;this.disabledNodes.forEach(ze=>{Ke.add(ze);const at=this.driver.query(ze,".ng-animate-queued",!0);for(let gt=0;gt<at.length;gt++)Ke.add(at[gt])});const Ve=this.bodyNode,St=Array.from(this.statesByElement.keys()),Ct=yo(St,this.collectedEnterElements),u=new Map;let h=0;Ct.forEach((ze,at)=>{const gt=On+h++;u.set(at,gt),ze.forEach(Bt=>dr(Bt,gt))});const v=[],f=new Set,D=new Set;for(let ze=0;ze<this.collectedLeaveElements.length;ze++){const at=this.collectedLeaveElements[ze],gt=at[cr];gt&&gt.setForRemoval&&(v.push(at),f.add(at),gt.hasAnimation?this.driver.query(at,".ng-star-inserted",!0).forEach(Bt=>f.add(Bt)):D.add(at))}const S=new Map,P=yo(St,Array.from(f));P.forEach((ze,at)=>{const gt=or+h++;S.set(at,gt),ze.forEach(Bt=>dr(Bt,gt))}),i.push(()=>{Ct.forEach((ze,at)=>{const gt=u.get(at);ze.forEach(Bt=>ds(Bt,gt))}),P.forEach((ze,at)=>{const gt=S.get(at);ze.forEach(Bt=>ds(Bt,gt))}),v.forEach(ze=>{this.processLeaveNode(ze)})});const Y=[],Pe=[];for(let ze=this._namespaceList.length-1;ze>=0;ze--)this._namespaceList[ze].drainQueuedTransitions(l).forEach(gt=>{const Bt=gt.player,$n=gt.element;if(Y.push(Bt),this.collectedEnterElements.length){const kn=$n[cr];if(kn&&kn.setForMove){if(kn.previousTriggersValues&&kn.previousTriggersValues.has(gt.triggerName)){const bs=kn.previousTriggersValues.get(gt.triggerName),Tr=this.statesByElement.get(gt.element);if(Tr&&Tr.has(gt.triggerName)){const si=Tr.get(gt.triggerName);si.value=bs,Tr.set(gt.triggerName,si)}}return void Bt.destroy()}}const ps=!Ve||!this.driver.containsElement(Ve,$n),Mr=S.get($n),gs=u.get($n),Gt=this._buildInstruction(gt,p,gs,Mr,ps);if(Gt.errors&&Gt.errors.length)return void Pe.push(Gt);if(ps)return Bt.onStart(()=>qr($n,Gt.fromStyles)),Bt.onDestroy(()=>ar($n,Gt.toStyles)),void C.push(Bt);if(gt.isFallbackTransition)return Bt.onStart(()=>qr($n,Gt.fromStyles)),Bt.onDestroy(()=>ar($n,Gt.toStyles)),void C.push(Bt);const _l=[];Gt.timelines.forEach(kn=>{kn.stretchStartingKeyframe=!0,this.disabledNodes.has(kn.element)||_l.push(kn)}),Gt.timelines=_l,p.append($n,Gt.timelines),B.push({instruction:Gt,player:Bt,element:$n}),Gt.queriedElements.forEach(kn=>z(k,kn,[]).push(Bt)),Gt.preStyleProps.forEach((kn,bs)=>{if(kn.size){let Tr=J.get(bs);Tr||J.set(bs,Tr=new Set),kn.forEach((si,Pi)=>Tr.add(Pi))}}),Gt.postStyleProps.forEach((kn,bs)=>{let Tr=ge.get(bs);Tr||ge.set(bs,Tr=new Set),kn.forEach((si,Pi)=>Tr.add(Pi))})});if(Pe.length){const ze=[];Pe.forEach(at=>{ze.push(function Re(y,i){return new w.vHH(3505,!1)}())}),Y.forEach(at=>at.destroy()),this.reportError(ze)}const ce=new Map,nt=new Map;B.forEach(ze=>{const at=ze.element;p.has(at)&&(nt.set(at,at),this._beforeAnimationBuild(ze.player.namespaceId,ze.instruction,ce))}),C.forEach(ze=>{const at=ze.element;this._getPreviousPlayers(at,!1,ze.namespaceId,ze.triggerName,null).forEach(Bt=>{z(ce,at,[]).push(Bt),Bt.destroy()})});const pt=v.filter(ze=>Eo(ze,J,ge)),qt=new Map;Br(qt,this.driver,D,ge,Qe.l3).forEach(ze=>{Eo(ze,J,ge)&&pt.push(ze)});const tr=new Map;Ct.forEach((ze,at)=>{Br(tr,this.driver,new Set(ze),J,Qe.k1)}),pt.forEach(ze=>{const at=qt.get(ze),gt=tr.get(ze);qt.set(ze,new Map([...at?.entries()??[],...gt?.entries()??[]]))});const $r=[],Sn=[],yr={};B.forEach(ze=>{const{element:at,player:gt,instruction:Bt}=ze;if(p.has(at)){if(Ke.has(at))return gt.onDestroy(()=>ar(at,Bt.toStyles)),gt.disabled=!0,gt.overrideTotalTime(Bt.totalTime),void C.push(gt);let $n=yr;if(nt.size>1){let Mr=at;const gs=[];for(;Mr=Mr.parentNode;){const Gt=nt.get(Mr);if(Gt){$n=Gt;break}gs.push(Mr)}gs.forEach(Gt=>nt.set(Gt,$n))}const ps=this._buildAnimation(gt.namespaceId,Bt,ce,A,tr,qt);if(gt.setRealPlayer(ps),$n===yr)$r.push(gt);else{const Mr=this.playersByElement.get($n);Mr&&Mr.length&&(gt.parentPlayer=ut(Mr)),C.push(gt)}}else qr(at,Bt.fromStyles),gt.onDestroy(()=>ar(at,Bt.toStyles)),Sn.push(gt),Ke.has(at)&&C.push(gt)}),Sn.forEach(ze=>{const at=A.get(ze.element);if(at&&at.length){const gt=ut(at);ze.setRealPlayer(gt)}}),C.forEach(ze=>{ze.parentPlayer?ze.syncPlayerEvents(ze.parentPlayer):ze.destroy()});for(let ze=0;ze<v.length;ze++){const at=v[ze],gt=at[cr];if(ds(at,or),gt&&gt.hasAnimation)continue;let Bt=[];if(k.size){let ps=k.get(at);ps&&ps.length&&Bt.push(...ps);let Mr=this.driver.query(at,En,!0);for(let gs=0;gs<Mr.length;gs++){let Gt=k.get(Mr[gs]);Gt&&Gt.length&&Bt.push(...Gt)}}const $n=Bt.filter(ps=>!ps.destroyed);$n.length?qs(this,at,$n):this.processLeaveNode(at)}return v.length=0,$r.forEach(ze=>{this.players.push(ze),ze.onDone(()=>{ze.destroy();const at=this.players.indexOf(ze);this.players.splice(at,1)}),ze.play()}),$r}afterFlush(i){this._flushFns.push(i)}afterFlushAnimationsDone(i){this._whenQuietFns.push(i)}_getPreviousPlayers(i,l,p,C,A){let B=[];if(l){const k=this.playersByQueriedElement.get(i);k&&(B=k)}else{const k=this.playersByElement.get(i);if(k){const J=!A||A==vo;k.forEach(ge=>{ge.queued||!J&&ge.triggerName!=C||B.push(ge)})}}return(p||C)&&(B=B.filter(k=>!(p&&p!=k.namespaceId||C&&C!=k.triggerName))),B}_beforeAnimationBuild(i,l,p){const A=l.element,B=l.isRemovalTransition?void 0:i,k=l.isRemovalTransition?void 0:l.triggerName;for(const J of l.timelines){const ge=J.element,Ke=ge!==A,Ve=z(p,ge,[]);this._getPreviousPlayers(ge,Ke,B,k,l.toState).forEach(Ct=>{const u=Ct.getRealPlayer();u.beforeDestroy&&u.beforeDestroy(),Ct.destroy(),Ve.push(Ct)})}qr(A,l.fromStyles)}_buildAnimation(i,l,p,C,A,B){const k=l.triggerName,J=l.element,ge=[],Ke=new Set,Ve=new Set,St=l.timelines.map(u=>{const h=u.element;Ke.add(h);const v=h[cr];if(v&&v.removedBeforeQueried)return new Qe.ZN(u.duration,u.delay);const f=h!==J,D=function _o(y){const i=[];return Do(y,i),i}((p.get(h)||Lo).map(ce=>ce.getRealPlayer())).filter(ce=>!!ce.element&&ce.element===h),S=A.get(h),P=B.get(h),Y=st(this._normalizer,u.keyframes,S,P),Pe=this._buildPlayer(u,Y,D);if(u.subTimeline&&C&&Ve.add(h),f){const ce=new br(i,k,h);ce.setRealPlayer(Pe),ge.push(ce)}return Pe});ge.forEach(u=>{z(this.playersByQueriedElement,u.element,[]).push(u),u.onDone(()=>function Bo(y,i,l){let p=y.get(i);if(p){if(p.length){const C=p.indexOf(l);p.splice(C,1)}0==p.length&&y.delete(i)}return p}(this.playersByQueriedElement,u.element,u))}),Ke.forEach(u=>dr(u,Yr));const Ct=ut(St);return Ct.onDestroy(()=>{Ke.forEach(u=>ds(u,Yr)),ar(J,l.toStyles)}),Ve.forEach(u=>{z(C,u,[]).push(Ct)}),Ct}_buildPlayer(i,l,p){return l.length>0?this.driver.animate(i.element,l,i.duration,i.delay,i.easing,p):new Qe.ZN(i.duration,i.delay)}}class br{constructor(i,l,p){this.namespaceId=i,this.triggerName=l,this.element=p,this._player=new Qe.ZN,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.parentPlayer=null,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(i){this._containsRealPlayer||(this._player=i,this._queuedCallbacks.forEach((l,p)=>{l.forEach(C=>jt(i,p,void 0,C))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(i.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(i){this.totalTime=i}syncPlayerEvents(i){const l=this._player;l.triggerCallback&&i.onStart(()=>l.triggerCallback("start")),i.onDone(()=>this.finish()),i.onDestroy(()=>this.destroy())}_queueEvent(i,l){z(this._queuedCallbacks,i,[]).push(l)}onDone(i){this.queued&&this._queueEvent("done",i),this._player.onDone(i)}onStart(i){this.queued&&this._queueEvent("start",i),this._player.onStart(i)}onDestroy(i){this.queued&&this._queueEvent("destroy",i),this._player.onDestroy(i)}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(i){this.queued||this._player.setPosition(i)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(i){const l=this._player;l.triggerCallback&&l.triggerCallback(i)}}function yn(y){return y&&1===y.nodeType}function xn(y,i){const l=y.style.display;return y.style.display=i??"none",l}function Br(y,i,l,p,C){const A=[];l.forEach(J=>A.push(xn(J)));const B=[];p.forEach((J,ge)=>{const Ke=new Map;J.forEach(Ve=>{const St=i.computeStyle(ge,Ve,C);Ke.set(Ve,St),(!St||0==St.length)&&(ge[cr]=Da,B.push(ge))}),y.set(ge,Ke)});let k=0;return l.forEach(J=>xn(J,A[k++])),B}function yo(y,i){const l=new Map;if(y.forEach(k=>l.set(k,[])),0==i.length)return l;const C=new Set(i),A=new Map;function B(k){if(!k)return 1;let J=A.get(k);if(J)return J;const ge=k.parentNode;return J=l.has(ge)?ge:C.has(ge)?1:B(ge),A.set(k,J),J}return i.forEach(k=>{const J=B(k);1!==J&&l.get(J).push(k)}),l}function dr(y,i){y.classList?.add(i)}function ds(y,i){y.classList?.remove(i)}function qs(y,i,l){ut(l).onDone(()=>y.processLeaveNode(i))}function Do(y,i){for(let l=0;l<y.length;l++){const p=y[l];p instanceof Qe.ZE?Do(p.players,i):i.push(p)}}function Eo(y,i,l){const p=l.get(y);if(!p)return!1;let C=i.get(y);return C?p.forEach(A=>C.add(A)):i.set(y,p),l.delete(y),!0}class Js{constructor(i,l,p){this.bodyNode=i,this._driver=l,this._normalizer=p,this._triggerCache={},this.onRemovalComplete=(C,A)=>{},this._transitionEngine=new cs(i,l,p),this._timelineEngine=new ya(i,l,p),this._transitionEngine.onRemovalComplete=(C,A)=>this.onRemovalComplete(C,A)}registerTrigger(i,l,p,C,A){const B=i+"-"+C;let k=this._triggerCache[B];if(!k){const J=[],Ke=Fr(this._driver,A,J,[]);if(J.length)throw function Wr(y,i){return new w.vHH(3404,!1)}();k=function va(y,i,l){return new Zs(y,i,l)}(C,Ke,this._normalizer),this._triggerCache[B]=k}this._transitionEngine.registerTrigger(l,C,k)}register(i,l){this._transitionEngine.register(i,l)}destroy(i,l){this._transitionEngine.destroy(i,l)}onInsert(i,l,p,C){this._transitionEngine.insertNode(i,l,p,C)}onRemove(i,l,p){this._transitionEngine.removeNode(i,l,p)}disableAnimations(i,l){this._transitionEngine.markElementAsDisabled(i,l)}process(i,l,p,C){if("@"==p.charAt(0)){const[A,B]=L(p);this._timelineEngine.command(A,l,B,C)}else this._transitionEngine.trigger(i,l,p,C)}listen(i,l,p,C,A){if("@"==p.charAt(0)){const[B,k]=L(p);return this._timelineEngine.listen(B,l,k,A)}return this._transitionEngine.listen(i,l,p,C,A)}flush(i=-1){this._transitionEngine.flush(i)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(i){this._transitionEngine.afterFlushAnimationsDone(i)}}let Co=(()=>{class i{constructor(p,C,A){this._element=p,this._startStyles=C,this._endStyles=A,this._state=0;let B=i.initialStylesByElement.get(p);B||i.initialStylesByElement.set(p,B=new Map),this._initialStyles=B}start(){this._state<1&&(this._startStyles&&ar(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(ar(this._element,this._initialStyles),this._endStyles&&(ar(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(i.initialStylesByElement.delete(this._element),this._startStyles&&(qr(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(qr(this._element,this._endStyles),this._endStyles=null),ar(this._element,this._initialStyles),this._state=3)}}return i.initialStylesByElement=new WeakMap,i})();function ws(y){let i=null;return y.forEach((l,p)=>{(function jr(y){return"display"===y||"position"===y})(p)&&(i=i||new Map,i.set(p,l))}),i}class jo{constructor(i,l,p,C){this.element=i,this.keyframes=l,this.options=p,this._specialStyles=C,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(i=>i()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const i=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,i,this.options),this._finalKeyframe=i.length?i[i.length-1]:new Map,this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(i){const l=[];return i.forEach(p=>{l.push(Object.fromEntries(p))}),l}_triggerWebAnimation(i,l,p){return i.animate(this._convertKeyframesToObject(l),p)}onStart(i){this._originalOnStartFns.push(i),this._onStartFns.push(i)}onDone(i){this._originalOnDoneFns.push(i),this._onDoneFns.push(i)}onDestroy(i){this._onDestroyFns.push(i)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(i=>i()),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(i=>i()),this._onDestroyFns=[])}setPosition(i){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=i*this.time}getPosition(){return+(this.domPlayer.currentTime??0)/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const i=new Map;this.hasStarted()&&this._finalKeyframe.forEach((p,C)=>{"offset"!==C&&i.set(C,this._finished?p:pn(this.element,C))}),this.currentSnapshot=i}triggerCallback(i){const l="start"===i?this._onStartFns:this._onDoneFns;l.forEach(p=>p()),l.length=0}}class Di{validateStyleProperty(i){return!0}validateAnimatableStyleProperty(i){return!0}matchesElement(i,l){return!1}containsElement(i,l){return Cn(i,l)}getParentElement(i){return re(i)}query(i,l,p){return An(i,l,p)}computeStyle(i,l,p){return window.getComputedStyle(i)[l]}animate(i,l,p,C,A,B=[]){const J={duration:p,delay:C,fill:0==C?"both":"forwards"};A&&(J.easing=A);const ge=new Map,Ke=B.filter(Ct=>Ct instanceof jo);(function No(y,i){return 0===y||0===i})(p,C)&&Ke.forEach(Ct=>{Ct.currentSnapshot.forEach((u,h)=>ge.set(h,u))});let Ve=function gi(y){return y.length?y[0]instanceof Map?y:y.map(i=>$s(i)):[]}(l).map(Ct=>Zr(Ct));Ve=function _s(y,i,l){if(l.size&&i.length){let p=i[0],C=[];if(l.forEach((A,B)=>{p.has(B)||C.push(B),p.set(B,A)}),C.length)for(let A=1;A<i.length;A++){let B=i[A];C.forEach(k=>B.set(k,pn(y,k)))}}return i}(i,Ve,ge);const St=function Qo(y,i){let l=null,p=null;return Array.isArray(i)&&i.length?(l=ws(i[0]),i.length>1&&(p=ws(i[i.length-1]))):i instanceof Map&&(l=ws(i)),l||p?new Co(y,l,p):null}(i,Ve);return new jo(i,Ve,J,St)}}let Ei=(()=>{var y;class i extends Qe._j{constructor(p,C){super(),this._nextAnimationId=0,this._renderer=p.createRenderer(C.body,{id:"0",encapsulation:w.ifc.None,styles:[],data:{animation:[]}})}build(p){const C=this._nextAnimationId.toString();this._nextAnimationId++;const A=Array.isArray(p)?(0,Qe.vP)(p):p;return Jo(this._renderer,null,C,"register",[A]),new Ea(C,this._renderer)}}return(y=i).\u0275fac=function(p){return new(p||y)(w.LFG(w.FYo),w.LFG(ie.K0))},y.\u0275prov=w.Yz7({token:y,factory:y.\u0275fac}),i})();class Ea extends Qe.LC{constructor(i,l){super(),this._id=i,this._renderer=l}create(i,l){return new Ci(this._id,i,l||{},this._renderer)}}class Ci{constructor(i,l,p,C){this.id=i,this.element=l,this._renderer=C,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",p)}_listen(i,l){return this._renderer.listen(this.element,`@@${this.id}:${i}`,l)}_command(i,...l){return Jo(this._renderer,this.element,this.id,i,l)}onDone(i){this._listen("done",i)}onStart(i){this._listen("start",i)}onDestroy(i){this._listen("destroy",i)}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(i){this._command("setPosition",i)}getPosition(){return this._renderer.engine.players[+this.id]?.getPosition()??0}}function Jo(y,i,l,p,C){return y.setProperty(i,`@@${l}:${p}`,C)}const Xo="@.disabled";let bo=(()=>{var y;class i{constructor(p,C,A){this.delegate=p,this.engine=C,this._zone=A,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,C.onRemovalComplete=(B,k)=>{const J=k?.parentNode(B);J&&k.removeChild(J,B)}}createRenderer(p,C){const B=this.delegate.createRenderer(p,C);if(!(p&&C&&C.data&&C.data.animation)){let Ve=this._rendererCache.get(B);return Ve||(Ve=new Uo("",B,this.engine,()=>this._rendererCache.delete(B)),this._rendererCache.set(B,Ve)),Ve}const k=C.id,J=C.id+"-"+this._currentId;this._currentId++,this.engine.register(J,p);const ge=Ve=>{Array.isArray(Ve)?Ve.forEach(ge):this.engine.registerTrigger(k,J,p,Ve.name,Ve)};return C.data.animation.forEach(ge),new Ho(this,J,B,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(p,C,A){p>=0&&p<this._microtaskId?this._zone.run(()=>C(A)):(0==this._animationCallbacksBuffer.length&&queueMicrotask(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(B=>{const[k,J]=B;k(J)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([C,A]))}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=i).\u0275fac=function(p){return new(p||y)(w.LFG(w.FYo),w.LFG(Js),w.LFG(w.R0b))},y.\u0275prov=w.Yz7({token:y,factory:y.\u0275fac}),i})();class Uo{constructor(i,l,p,C){this.namespaceId=i,this.delegate=l,this.engine=p,this._onDestroy=C}get data(){return this.delegate.data}destroyNode(i){this.delegate.destroyNode?.(i)}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),this._onDestroy?.()}createElement(i,l){return this.delegate.createElement(i,l)}createComment(i){return this.delegate.createComment(i)}createText(i){return this.delegate.createText(i)}appendChild(i,l){this.delegate.appendChild(i,l),this.engine.onInsert(this.namespaceId,l,i,!1)}insertBefore(i,l,p,C=!0){this.delegate.insertBefore(i,l,p),this.engine.onInsert(this.namespaceId,l,i,C)}removeChild(i,l,p){this.engine.onRemove(this.namespaceId,l,this.delegate)}selectRootElement(i,l){return this.delegate.selectRootElement(i,l)}parentNode(i){return this.delegate.parentNode(i)}nextSibling(i){return this.delegate.nextSibling(i)}setAttribute(i,l,p,C){this.delegate.setAttribute(i,l,p,C)}removeAttribute(i,l,p){this.delegate.removeAttribute(i,l,p)}addClass(i,l){this.delegate.addClass(i,l)}removeClass(i,l){this.delegate.removeClass(i,l)}setStyle(i,l,p,C){this.delegate.setStyle(i,l,p,C)}removeStyle(i,l,p){this.delegate.removeStyle(i,l,p)}setProperty(i,l,p){"@"==l.charAt(0)&&l==Xo?this.disableAnimations(i,!!p):this.delegate.setProperty(i,l,p)}setValue(i,l){this.delegate.setValue(i,l)}listen(i,l,p){return this.delegate.listen(i,l,p)}disableAnimations(i,l){this.engine.disableAnimations(i,l)}}class Ho extends Uo{constructor(i,l,p,C,A){super(l,p,C,A),this.factory=i,this.namespaceId=l}setProperty(i,l,p){"@"==l.charAt(0)?"."==l.charAt(1)&&l==Xo?this.disableAnimations(i,p=void 0===p||!!p):this.engine.process(this.namespaceId,i,l.slice(1),p):this.delegate.setProperty(i,l,p)}listen(i,l,p){if("@"==l.charAt(0)){const C=function Ca(y){switch(y){case"body":return document.body;case"document":return document;case"window":return window;default:return y}}(i);let A=l.slice(1),B="";return"@"!=A.charAt(0)&&([A,B]=function wa(y){const i=y.indexOf(".");return[y.substring(0,i),y.slice(i+1)]}(A)),this.engine.listen(this.namespaceId,C,A,B,k=>{this.factory.scheduleListenerCallback(k._data||-1,p,k)})}return this.delegate.listen(i,l,p)}}const E=[{provide:Qe._j,useClass:Ei},{provide:en,useFactory:function ei(){return new Nn}},{provide:Js,useClass:(()=>{var y;class i extends Js{constructor(p,C,A,B){super(p.body,C,A)}ngOnDestroy(){this.flush()}}return(y=i).\u0275fac=function(p){return new(p||y)(w.LFG(ie.K0),w.LFG(_r),w.LFG(en),w.LFG(w.z2F))},y.\u0275prov=w.Yz7({token:y,factory:y.\u0275fac}),i})()},{provide:w.FYo,useFactory:function d(y,i,l){return new bo(y,i,l)},deps:[m.se,Js,w.R0b]}],R=[{provide:_r,useFactory:()=>new Di},{provide:w.QbO,useValue:"BrowserAnimations"},...E],_=[{provide:_r,useClass:Kn},{provide:w.QbO,useValue:"NoopAnimations"},...E];let O=(()=>{var y;class i{static withConfig(p){return{ngModule:i,providers:p.disableAnimations?_:R}}}return(y=i).\u0275fac=function(p){return new(p||y)},y.\u0275mod=w.oAB({type:y}),y.\u0275inj=w.cJS({providers:R,imports:[m.b2]}),i})();var yt=M(9229);let Rt=(()=>{var y;class i{constructor(p){this._router=p}intercept(p,C){let A=JSON.parse(window.localStorage.getItem("user")),B=new Date;if(null!=A){let k=new Date(A.expiredAt);p=p.clone(B<k?{setHeaders:{"Content-Type":"application/json",Authorization:`Bearer ${A.access_token}`}}:{setHeaders:{"Content-Type":"application/json"}})}else p=p.clone({setHeaders:{"Content-Type":"application/json"}});return C.handle(p)}}return(y=i).\u0275fac=function(p){return new(p||y)(w.LFG(I.F0))},y.\u0275prov=w.Yz7({token:y,factory:y.\u0275fac}),i})();var Pt=M(6639),Et=M(4911),ln=M(8504),$t=M(2438),un=M(2096),Xn=M(5211),mr=M(8645),Ur=M(5592);const on=new Ur.y(Xe.Z);var Un=M(7398),fs=M(3168),Zt=M(4674);const Hn={connector:()=>new mr.x};function er(y,i=Hn){const{connector:l}=i;return(0,Be.e)((p,C)=>{const A=l();(0,ne.Xf)(y(function ti(y){return new Ur.y(i=>y.subscribe(i))}(A))).subscribe(C),C.add(p.subscribe(A))})}var fr=M(8180),vr=M(6321),gl=M(975),ml=M(1631);function hs(y,i){return i?l=>(0,Xn.z)(i.pipe((0,fr.q)(1),function bi(){return(0,Be.e)((y,i)=>{y.subscribe((0,rt.x)(i,Xe.Z))})}()),l.pipe(hs(y))):(0,ml.z)((l,p)=>(0,ne.Xf)(y(l,p)).pipe((0,fr.q)(1),(0,gl.h)(l)))}const eo="Service workers are disabled or not supported by this browser";class to{constructor(i){if(this.serviceWorker=i,i){const p=(0,$t.R)(i,"controllerchange").pipe((0,Un.U)(()=>i.controller)),C=(0,Et.P)(()=>(0,un.of)(i.controller)),A=(0,Xn.z)(C,p);this.worker=A.pipe((0,W.h)(Ke=>!!Ke)),this.registration=this.worker.pipe((0,be.w)(()=>i.getRegistration()));const ge=(0,$t.R)(i,"message").pipe((0,Un.U)(Ke=>Ke.data)).pipe((0,W.h)(Ke=>Ke&&Ke.type)).pipe(function Mo(y){return y?i=>er(y)(i):i=>function wi(y,i){const l=(0,Zt.m)(y)?y:()=>y;return(0,Zt.m)(i)?er(i,{connector:l}):p=>new fs.c(p,l)}(new mr.x)(i)}());ge.connect(),this.events=ge}else this.worker=this.events=this.registration=function ba(y){return(0,Et.P)(()=>(0,ln._)(new Error(y)))}(eo)}postMessage(i,l){return this.worker.pipe((0,fr.q)(1),(0,he.b)(p=>{p.postMessage({action:i,...l})})).toPromise().then(()=>{})}postMessageWithOperation(i,l,p){const C=this.waitForOperationCompleted(p),A=this.postMessage(i,l);return Promise.all([A,C]).then(([,B])=>B)}generateNonce(){return Math.round(1e7*Math.random())}eventsOfType(i){let l;return l="string"==typeof i?p=>p.type===i:p=>i.includes(p.type),this.events.pipe((0,W.h)(l))}nextEventOfType(i){return this.eventsOfType(i).pipe((0,fr.q)(1))}waitForOperationCompleted(i){return this.eventsOfType("OPERATION_COMPLETED").pipe((0,W.h)(l=>l.nonce===i),(0,fr.q)(1),(0,Un.U)(l=>{if(void 0!==l.result)return l.result;throw new Error(l.error)})).toPromise()}get isEnabled(){return!!this.serviceWorker}}let Hr=(()=>{var y;class i{get isEnabled(){return this.sw.isEnabled}constructor(p){if(this.sw=p,this.pushManager=null,this.subscriptionChanges=new mr.x,!p.isEnabled)return this.messages=on,this.notificationClicks=on,void(this.subscription=on);this.messages=this.sw.eventsOfType("PUSH").pipe((0,Un.U)(A=>A.data)),this.notificationClicks=this.sw.eventsOfType("NOTIFICATION_CLICK").pipe((0,Un.U)(A=>A.data)),this.pushManager=this.sw.registration.pipe((0,Un.U)(A=>A.pushManager));const C=this.pushManager.pipe((0,be.w)(A=>A.getSubscription()));this.subscription=(0,Le.T)(C,this.subscriptionChanges)}requestSubscription(p){if(!this.sw.isEnabled||null===this.pushManager)return Promise.reject(new Error(eo));const C={userVisibleOnly:!0};let A=this.decodeBase64(p.serverPublicKey.replace(/_/g,"/").replace(/-/g,"+")),B=new Uint8Array(new ArrayBuffer(A.length));for(let k=0;k<A.length;k++)B[k]=A.charCodeAt(k);return C.applicationServerKey=B,this.pushManager.pipe((0,be.w)(k=>k.subscribe(C)),(0,fr.q)(1)).toPromise().then(k=>(this.subscriptionChanges.next(k),k))}unsubscribe(){return this.sw.isEnabled?this.subscription.pipe((0,fr.q)(1),(0,be.w)(C=>{if(null===C)throw new Error("Not subscribed to push notifications.");return C.unsubscribe().then(A=>{if(!A)throw new Error("Unsubscribe failed!");this.subscriptionChanges.next(null)})})).toPromise():Promise.reject(new Error(eo))}decodeBase64(p){return atob(p)}}return(y=i).\u0275fac=function(p){return new(p||y)(w.LFG(to))},y.\u0275prov=w.Yz7({token:y,factory:y.\u0275fac}),i})(),Mi=(()=>{var y;class i{get isEnabled(){return this.sw.isEnabled}constructor(p){if(this.sw=p,!p.isEnabled)return this.versionUpdates=on,this.available=on,this.activated=on,void(this.unrecoverable=on);this.versionUpdates=this.sw.eventsOfType(["VERSION_DETECTED","VERSION_INSTALLATION_FAILED","VERSION_READY","NO_NEW_VERSION_DETECTED"]),this.available=this.versionUpdates.pipe((0,W.h)(C=>"VERSION_READY"===C.type),(0,Un.U)(C=>({type:"UPDATE_AVAILABLE",current:C.currentVersion,available:C.latestVersion}))),this.activated=this.sw.eventsOfType("UPDATE_ACTIVATED"),this.unrecoverable=this.sw.eventsOfType("UNRECOVERABLE_STATE")}checkForUpdate(){if(!this.sw.isEnabled)return Promise.reject(new Error(eo));const p=this.sw.generateNonce();return this.sw.postMessageWithOperation("CHECK_FOR_UPDATES",{nonce:p},p)}activateUpdate(){if(!this.sw.isEnabled)return Promise.reject(new Error(eo));const p=this.sw.generateNonce();return this.sw.postMessageWithOperation("ACTIVATE_UPDATE",{nonce:p},p)}}return(y=i).\u0275fac=function(p){return new(p||y)(w.LFG(to))},y.\u0275prov=w.Yz7({token:y,factory:y.\u0275fac}),i})();const ft=new w.OlP("NGSW_REGISTER_SCRIPT");function Ma(y,i,l,p){return()=>{if(!(0,ie.NF)(p)||!("serviceWorker"in navigator)||!1===l.enabled)return;let C;if(navigator.serviceWorker.addEventListener("controllerchange",()=>{null!==navigator.serviceWorker.controller&&navigator.serviceWorker.controller.postMessage({action:"INITIALIZE"})}),"function"==typeof l.registrationStrategy)C=l.registrationStrategy();else{const[B,...k]=(l.registrationStrategy||"registerWhenStable:30000").split(":");switch(B){case"registerImmediately":C=(0,un.of)(null);break;case"registerWithDelay":C=vl(+k[0]||0);break;case"registerWhenStable":C=k[0]?(0,Le.T)(ni(y),vl(+k[0])):ni(y);break;default:throw new Error(`Unknown ServiceWorker registration strategy: ${l.registrationStrategy}`)}}y.get(w.R0b).runOutsideAngular(()=>C.pipe((0,fr.q)(1)).subscribe(()=>navigator.serviceWorker.register(i,{scope:l.scope}).catch(B=>console.error("Service worker registration failed with:",B))))}}function vl(y){return(0,un.of)(null).pipe(function $o(y,i=vr.z){const l=(0,Me.H)(y,i);return hs(()=>l)}(y))}function ni(y){return y.get(w.z2F).isStable.pipe((0,W.h)(l=>l))}function Ti(y,i){return new to((0,ie.NF)(i)&&!1!==y.enabled?navigator.serviceWorker:void 0)}class To{}function Si(y,i={}){return(0,w.MR2)([Hr,Mi,{provide:ft,useValue:y},{provide:To,useValue:i},{provide:to,useFactory:Ti,deps:[To,w.Lbi]},{provide:w.ip1,useFactory:Ma,deps:[w.zs3,ft,To,w.Lbi],multi:!0}])}let no=(()=>{var y;class i{static register(p,C={}){return{ngModule:i,providers:[Si(p,C)]}}}return(y=i).\u0275fac=function(p){return new(p||y)},y.\u0275mod=w.oAB({type:y}),y.\u0275inj=w.cJS({providers:[Hr,Mi]}),i})();const Ii=["custom-toast-component",""];function Sa(y,i){if(1&y){const l=w.EpF();w.TgZ(0,"a",11),w.NdJ("click",function(){w.CHM(l);const C=w.oxw(2);return w.KtG(C.remove())}),w._uU(1," x "),w.qZA()}}function yl(y,i){if(1&y&&(w.TgZ(0,"div",6)(1,"div",7)(2,"div",8)(3,"h4"),w._uU(4),w.qZA()()(),w.TgZ(5,"div",9),w.YNc(6,Sa,2,0,"a",10),w.qZA()()),2&y){const l=w.oxw();w.Udp("display","inactive"===l.state.value?"none":""),w.xp6(2),w.Tol(l.options.titleClass),w.uIk("aria-label",l.title),w.xp6(2),w.Oqu(l.title),w.xp6(2),w.Q6J("ngIf",l.options.closeButton)}}const Ia=function(y){return{notitle:y}};function Se(y,i){if(1&y&&w._UZ(0,"div",12),2&y){const l=w.oxw();w.Tol(l.options.messageClass),w.Q6J("ngClass",w.VKq(4,Ia,null==l.title))("innerHTML",l.message,w.oJD)}}function Nt(y,i){if(1&y&&(w.TgZ(0,"div",13),w._uU(1),w.qZA()),2&y){const l=w.oxw();w.Tol(l.options.messageClass),w.Q6J("ngClass",w.VKq(5,Ia,null==l.title)),w.uIk("aria-label",l.message),w.xp6(1),w.hij(" ",l.message," ")}}function Aa(y,i){if(1&y){const l=w.EpF();w.TgZ(0,"a",11),w.NdJ("click",function(){w.CHM(l);const C=w.oxw();return w.KtG(C.remove())}),w._uU(1," x "),w.qZA()}}function ri(y,i){if(1&y&&(w.TgZ(0,"div"),w._UZ(1,"div",14),w.qZA()),2&y){const l=w.oxw();w.xp6(1),w.Udp("width",l.width+"%")}}let Fn=(()=>{var y;class i extends yt.FN{constructor(p,C){super(p,C),this.toastrService=p,this.toastPackage=C}ngOnInit(){}action(p){return p.stopPropagation(),this.toastPackage.triggerAction(),!1}}return(y=i).\u0275fac=function(p){return new(p||y)(w.Y36(yt._W),w.Y36(yt.PR))},y.\u0275cmp=w.Xpm({type:y,selectors:[["","custom-toast-component",""]],features:[w.qOj],attrs:Ii,decls:6,vars:5,consts:[[1,"toast-case"],["class","row toast-header",3,"display",4,"ngIf"],["class","row toast-body text-start","role","alert","aria-live","polite",3,"ngClass","class","innerHTML",4,"ngIf"],["class","row toast-body text-start","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","text-start"],[1,"my-4"],[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","text-start",3,"ngClass","innerHTML"],["role","alert","aria-live","polite",1,"row","toast-body","text-start",3,"ngClass"],[1,"toast-progress"]],template:function(p,C){1&p&&(w.TgZ(0,"div",0),w.YNc(1,yl,7,7,"div",1),w.YNc(2,Se,1,6,"div",2),w.YNc(3,Nt,2,7,"div",3),w.YNc(4,Aa,2,0,"a",4),w.YNc(5,ri,2,2,"div",5),w.qZA()),2&p&&(w.xp6(1),w.Q6J("ngIf",C.title),w.xp6(1),w.Q6J("ngIf",C.message&&C.options.enableHtml),w.xp6(1),w.Q6J("ngIf",C.message&&!C.options.enableHtml),w.xp6(1),w.Q6J("ngIf",C.options.closeButton&&null==C.title),w.xp6(1),w.Q6J("ngIf",C.options.progressBar))},dependencies:[ie.mk,ie.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:1px solid gainsboro;border-width:1px;padding-bottom:0rem;padding-top:0rem;padding-right:0}.toast-title[_ngcontent-%COMP%]{color:#000}.toast-body[_ngcontent-%COMP%]{padding:10px 15px 10px 0}.notitle[_ngcontent-%COMP%]{margin-bottom:-1rem}.toast-close-button[_ngcontent-%COMP%]{color:#dcdcdc!important}"],data:{animation:[(0,Qe.X$)("flyInOut",[(0,Qe.SB)("inactive",(0,Qe.oB)({opacity:0})),(0,Qe.eR)("inactive => active",(0,Qe.jt)("400ms ease-out",(0,Qe.F4)([(0,Qe.oB)({transform:"translate3d(100%, 0, 0) skewX(-30deg)",opacity:0}),(0,Qe.oB)({transform:"skewX(20deg)",opacity:1}),(0,Qe.oB)({transform:"skewX(-5deg)",opacity:1}),(0,Qe.oB)({transform:"none",opacity:1})]))),(0,Qe.eR)("active => removed",(0,Qe.jt)("400ms ease-out",(0,Qe.F4)([(0,Qe.oB)({opacity:1}),(0,Qe.oB)({transform:"translate3d(100%, 0, 0) skewX(30deg)",opacity:0})])))])]}}),i})(),Ai=(()=>{var y;class i{}return(y=i).\u0275fac=function(p){return new(p||y)},y.\u0275mod=w.oAB({type:y,bootstrap:[It]}),y.\u0275inj=w.cJS({providers:[x.O,Pt.e,{provide:te.TP,useClass:Rt,multi:!0}],imports:[m.b2,G,O,yt.Rh.forRoot({positionClass:"toast-bottom-right",preventDuplicates:!0,toastComponent:Fn}),te.JF,Kt.forRoot(),no.register("ngsw-worker.js",{enabled:true})]}),i})();(0,w.G48)(),m.q6().bootstrapModule(Ai).catch(y=>console.error(y))},5619:(Ye,oe,M)=>{M.d(oe,{X:()=>w});var m=M(8645);class w extends m.x{constructor(x){super(),this._value=x}get value(){return this.getValue()}_subscribe(x){const I=super._subscribe(x);return!I.closed&&x.next(this._value),I}getValue(){const{hasError:x,thrownError:I,_value:U}=this;if(x)throw I;return this._throwIfClosed(),U}next(x){super.next(this._value=x)}}},5592:(Ye,oe,M)=>{M.d(oe,{y:()=>X});var m=M(305),w=M(7394),te=M(4850),x=M(8407),I=M(2653),U=M(4674),G=M(1441);let X=(()=>{class de{constructor(Me){Me&&(this._subscribe=Me)}lift(Me){const Te=new de;return Te.source=this,Te.operator=Me,Te}subscribe(Me,Te,be){const Be=function ne(de){return de&&de instanceof m.Lv||function W(de){return de&&(0,U.m)(de.next)&&(0,U.m)(de.error)&&(0,U.m)(de.complete)}(de)&&(0,w.Nn)(de)}(Me)?Me:new m.Hp(Me,Te,be);return(0,G.x)(()=>{const{operator:Xe,source:rt}=this;Be.add(Xe?Xe.call(Be,rt):rt?this._subscribe(Be):this._trySubscribe(Be))}),Be}_trySubscribe(Me){try{return this._subscribe(Me)}catch(Te){Me.error(Te)}}forEach(Me,Te){return new(Te=se(Te))((be,Be)=>{const Xe=new m.Hp({next:rt=>{try{Me(rt)}catch(Ce){Be(Ce),Xe.unsubscribe()}},error:Be,complete:be});this.subscribe(Xe)})}_subscribe(Me){var Te;return null===(Te=this.source)||void 0===Te?void 0:Te.subscribe(Me)}[te.L](){return this}pipe(...Me){return(0,x.U)(Me)(this)}toPromise(Me){return new(Me=se(Me))((Te,be)=>{let Be;this.subscribe(Xe=>Be=Xe,Xe=>be(Xe),()=>Te(Be))})}}return de.create=Le=>new de(Le),de})();function se(de){var Le;return null!==(Le=de??I.config.Promise)&&void 0!==Le?Le:Promise}},7328:(Ye,oe,M)=>{M.d(oe,{t:()=>te});var m=M(8645),w=M(4552);class te extends m.x{constructor(I=1/0,U=1/0,G=w.l){super(),this._bufferSize=I,this._windowTime=U,this._timestampProvider=G,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=U===1/0,this._bufferSize=Math.max(1,I),this._windowTime=Math.max(1,U)}next(I){const{isStopped:U,_buffer:G,_infiniteTimeWindow:X,_timestampProvider:se,_windowTime:W}=this;U||(G.push(I),!X&&G.push(se.now()+W)),this._trimBuffer(),super.next(I)}_subscribe(I){this._throwIfClosed(),this._trimBuffer();const U=this._innerSubscribe(I),{_infiniteTimeWindow:G,_buffer:X}=this,se=X.slice();for(let W=0;W<se.length&&!I.closed;W+=G?1:2)I.next(se[W]);return this._checkFinalizedStatuses(I),U}_trimBuffer(){const{_bufferSize:I,_timestampProvider:U,_buffer:G,_infiniteTimeWindow:X}=this,se=(X?1:2)*I;if(I<1/0&&se<G.length&&G.splice(0,G.length-se),!X){const W=U.now();let ne=0;for(let de=1;de<G.length&&G[de]<=W;de+=2)ne=de;ne&&G.splice(0,ne+1)}}}},8645:(Ye,oe,M)=>{M.d(oe,{x:()=>G});var m=M(5592),w=M(7394);const x=(0,M(2306).d)(se=>function(){se(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var I=M(9039),U=M(1441);let G=(()=>{class se extends m.y{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(ne){const de=new X(this,this);return de.operator=ne,de}_throwIfClosed(){if(this.closed)throw new x}next(ne){(0,U.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const de of this.currentObservers)de.next(ne)}})}error(ne){(0,U.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=ne;const{observers:de}=this;for(;de.length;)de.shift().error(ne)}})}complete(){(0,U.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:ne}=this;for(;ne.length;)ne.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var ne;return(null===(ne=this.observers)||void 0===ne?void 0:ne.length)>0}_trySubscribe(ne){return this._throwIfClosed(),super._trySubscribe(ne)}_subscribe(ne){return this._throwIfClosed(),this._checkFinalizedStatuses(ne),this._innerSubscribe(ne)}_innerSubscribe(ne){const{hasError:de,isStopped:Le,observers:Me}=this;return de||Le?w.Lc:(this.currentObservers=null,Me.push(ne),new w.w0(()=>{this.currentObservers=null,(0,I.P)(Me,ne)}))}_checkFinalizedStatuses(ne){const{hasError:de,thrownError:Le,isStopped:Me}=this;de?ne.error(Le):Me&&ne.complete()}asObservable(){const ne=new m.y;return ne.source=this,ne}}return se.create=(W,ne)=>new X(W,ne),se})();class X extends G{constructor(W,ne){super(),this.destination=W,this.source=ne}next(W){var ne,de;null===(de=null===(ne=this.destination)||void 0===ne?void 0:ne.next)||void 0===de||de.call(ne,W)}error(W){var ne,de;null===(de=null===(ne=this.destination)||void 0===ne?void 0:ne.error)||void 0===de||de.call(ne,W)}complete(){var W,ne;null===(ne=null===(W=this.destination)||void 0===W?void 0:W.complete)||void 0===ne||ne.call(W)}_subscribe(W){var ne,de;return null!==(de=null===(ne=this.source)||void 0===ne?void 0:ne.subscribe(W))&&void 0!==de?de:w.Lc}}},305:(Ye,oe,M)=>{M.d(oe,{Hp:()=>be,Lv:()=>de});var m=M(4674),w=M(7394),te=M(2653),x=M(3894),I=M(2420);const U=se("C",void 0,void 0);function se(F,he,ie){return{kind:F,value:he,error:ie}}var W=M(7599),ne=M(1441);class de extends w.w0{constructor(he){super(),this.isStopped=!1,he?(this.destination=he,(0,w.Nn)(he)&&he.add(this)):this.destination=Ce}static create(he,ie,ke){return new be(he,ie,ke)}next(he){this.isStopped?rt(function X(F){return se("N",F,void 0)}(he),this):this._next(he)}error(he){this.isStopped?rt(function G(F){return se("E",void 0,F)}(he),this):(this.isStopped=!0,this._error(he))}complete(){this.isStopped?rt(U,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(he){this.destination.next(he)}_error(he){try{this.destination.error(he)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const Le=Function.prototype.bind;function Me(F,he){return Le.call(F,he)}class Te{constructor(he){this.partialObserver=he}next(he){const{partialObserver:ie}=this;if(ie.next)try{ie.next(he)}catch(ke){Be(ke)}}error(he){const{partialObserver:ie}=this;if(ie.error)try{ie.error(he)}catch(ke){Be(ke)}else Be(he)}complete(){const{partialObserver:he}=this;if(he.complete)try{he.complete()}catch(ie){Be(ie)}}}class be extends de{constructor(he,ie,ke){let we;if(super(),(0,m.m)(he)||!he)we={next:he??void 0,error:ie??void 0,complete:ke??void 0};else{let Ae;this&&te.config.useDeprecatedNextContext?(Ae=Object.create(he),Ae.unsubscribe=()=>this.unsubscribe(),we={next:he.next&&Me(he.next,Ae),error:he.error&&Me(he.error,Ae),complete:he.complete&&Me(he.complete,Ae)}):we=he}this.destination=new Te(we)}}function Be(F){te.config.useDeprecatedSynchronousErrorHandling?(0,ne.O)(F):(0,x.h)(F)}function rt(F,he){const{onStoppedNotification:ie}=te.config;ie&&W.z.setTimeout(()=>ie(F,he))}const Ce={closed:!0,next:I.Z,error:function Xe(F){throw F},complete:I.Z}},7394:(Ye,oe,M)=>{M.d(oe,{Lc:()=>U,w0:()=>I,Nn:()=>G});var m=M(4674);const te=(0,M(2306).d)(se=>function(ne){se(this),this.message=ne?`${ne.length} errors occurred during unsubscription:\n${ne.map((de,Le)=>`${Le+1}) ${de.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=ne});var x=M(9039);class I{constructor(W){this.initialTeardown=W,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let W;if(!this.closed){this.closed=!0;const{_parentage:ne}=this;if(ne)if(this._parentage=null,Array.isArray(ne))for(const Me of ne)Me.remove(this);else ne.remove(this);const{initialTeardown:de}=this;if((0,m.m)(de))try{de()}catch(Me){W=Me instanceof te?Me.errors:[Me]}const{_finalizers:Le}=this;if(Le){this._finalizers=null;for(const Me of Le)try{X(Me)}catch(Te){W=W??[],Te instanceof te?W=[...W,...Te.errors]:W.push(Te)}}if(W)throw new te(W)}}add(W){var ne;if(W&&W!==this)if(this.closed)X(W);else{if(W instanceof I){if(W.closed||W._hasParent(this))return;W._addParent(this)}(this._finalizers=null!==(ne=this._finalizers)&&void 0!==ne?ne:[]).push(W)}}_hasParent(W){const{_parentage:ne}=this;return ne===W||Array.isArray(ne)&&ne.includes(W)}_addParent(W){const{_parentage:ne}=this;this._parentage=Array.isArray(ne)?(ne.push(W),ne):ne?[ne,W]:W}_removeParent(W){const{_parentage:ne}=this;ne===W?this._parentage=null:Array.isArray(ne)&&(0,x.P)(ne,W)}remove(W){const{_finalizers:ne}=this;ne&&(0,x.P)(ne,W),W instanceof I&&W._removeParent(this)}}I.EMPTY=(()=>{const se=new I;return se.closed=!0,se})();const U=I.EMPTY;function G(se){return se instanceof I||se&&"closed"in se&&(0,m.m)(se.remove)&&(0,m.m)(se.add)&&(0,m.m)(se.unsubscribe)}function X(se){(0,m.m)(se)?se():se.unsubscribe()}},2653:(Ye,oe,M)=>{M.d(oe,{config:()=>m});const m={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},3168:(Ye,oe,M)=>{M.d(oe,{c:()=>U});var m=M(5592),w=M(7394),te=M(6196),x=M(8251),I=M(9360);class U extends m.y{constructor(X,se){super(),this.source=X,this.subjectFactory=se,this._subject=null,this._refCount=0,this._connection=null,(0,I.A)(X)&&(this.lift=X.lift)}_subscribe(X){return this.getSubject().subscribe(X)}getSubject(){const X=this._subject;return(!X||X.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:X}=this;this._subject=this._connection=null,X?.unsubscribe()}connect(){let X=this._connection;if(!X){X=this._connection=new w.w0;const se=this.getSubject();X.add(this.source.subscribe((0,x.x)(se,void 0,()=>{this._teardown(),se.complete()},W=>{this._teardown(),se.error(W)},()=>this._teardown()))),X.closed&&(this._connection=null,X=w.w0.EMPTY)}return X}refCount(){return(0,te.x)()(this)}}},2572:(Ye,oe,M)=>{M.d(oe,{a:()=>W});var m=M(5592),w=M(7453),te=M(7715),x=M(2737),I=M(7400),U=M(9940),G=M(2714),X=M(8251),se=M(7103);function W(...Le){const Me=(0,U.yG)(Le),Te=(0,U.jO)(Le),{args:be,keys:Be}=(0,w.D)(Le);if(0===be.length)return(0,te.D)([],Me);const Xe=new m.y(function ne(Le,Me,Te=x.y){return be=>{de(Me,()=>{const{length:Be}=Le,Xe=new Array(Be);let rt=Be,Ce=Be;for(let F=0;F<Be;F++)de(Me,()=>{const he=(0,te.D)(Le[F],Me);let ie=!1;he.subscribe((0,X.x)(be,ke=>{Xe[F]=ke,ie||(ie=!0,Ce--),Ce||be.next(Te(Xe.slice()))},()=>{--rt||be.complete()}))},be)},be)}}(be,Me,Be?rt=>(0,G.n)(Be,rt):x.y));return Te?Xe.pipe((0,I.Z)(Te)):Xe}function de(Le,Me,Te){Le?(0,se.f)(Te,Le,Me):Me()}},5211:(Ye,oe,M)=>{M.d(oe,{z:()=>I});var m=M(7537),te=M(9940),x=M(7715);function I(...U){return function w(){return(0,m.J)(1)}()((0,x.D)(U,(0,te.yG)(U)))}},4911:(Ye,oe,M)=>{M.d(oe,{P:()=>te});var m=M(5592),w=M(4829);function te(x){return new m.y(I=>{(0,w.Xf)(x()).subscribe(I)})}},6232:(Ye,oe,M)=>{M.d(oe,{E:()=>w});const w=new(M(5592).y)(I=>I.complete())},7715:(Ye,oe,M)=>{M.d(oe,{D:()=>ke});var m=M(4829),w=M(7103),te=M(9360),x=M(8251);function I(we,Ae=0){return(0,te.e)(($e,tt)=>{$e.subscribe((0,x.x)(tt,Dt=>(0,w.f)(tt,we,()=>tt.next(Dt),Ae),()=>(0,w.f)(tt,we,()=>tt.complete(),Ae),Dt=>(0,w.f)(tt,we,()=>tt.error(Dt),Ae)))})}function U(we,Ae=0){return(0,te.e)(($e,tt)=>{tt.add(we.schedule(()=>$e.subscribe(tt),Ae))})}var se=M(5592),ne=M(4971),de=M(4674);function Me(we,Ae){if(!we)throw new Error("Iterable cannot be null");return new se.y($e=>{(0,w.f)($e,Ae,()=>{const tt=we[Symbol.asyncIterator]();(0,w.f)($e,Ae,()=>{tt.next().then(Dt=>{Dt.done?$e.complete():$e.next(Dt.value)})},0,!0)})})}var Te=M(8382),be=M(4026),Be=M(4266),Xe=M(3664),rt=M(5726),Ce=M(9853),F=M(541);function ke(we,Ae){return Ae?function ie(we,Ae){if(null!=we){if((0,Te.c)(we))return function G(we,Ae){return(0,m.Xf)(we).pipe(U(Ae),I(Ae))}(we,Ae);if((0,Be.z)(we))return function W(we,Ae){return new se.y($e=>{let tt=0;return Ae.schedule(function(){tt===we.length?$e.complete():($e.next(we[tt++]),$e.closed||this.schedule())})})}(we,Ae);if((0,be.t)(we))return function X(we,Ae){return(0,m.Xf)(we).pipe(U(Ae),I(Ae))}(we,Ae);if((0,rt.D)(we))return Me(we,Ae);if((0,Xe.T)(we))return function Le(we,Ae){return new se.y($e=>{let tt;return(0,w.f)($e,Ae,()=>{tt=we[ne.h](),(0,w.f)($e,Ae,()=>{let Dt,cn;try{({value:Dt,done:cn}=tt.next())}catch(_n){return void $e.error(_n)}cn?$e.complete():$e.next(Dt)},0,!0)}),()=>(0,de.m)(tt?.return)&&tt.return()})}(we,Ae);if((0,F.L)(we))return function he(we,Ae){return Me((0,F.Q)(we),Ae)}(we,Ae)}throw(0,Ce.z)(we)}(we,Ae):(0,m.Xf)(we)}},2438:(Ye,oe,M)=>{M.d(oe,{R:()=>W});var m=M(4829),w=M(5592),te=M(1631),x=M(4266),I=M(4674),U=M(7400);const G=["addListener","removeListener"],X=["addEventListener","removeEventListener"],se=["on","off"];function W(Te,be,Be,Xe){if((0,I.m)(Be)&&(Xe=Be,Be=void 0),Xe)return W(Te,be,Be).pipe((0,U.Z)(Xe));const[rt,Ce]=function Me(Te){return(0,I.m)(Te.addEventListener)&&(0,I.m)(Te.removeEventListener)}(Te)?X.map(F=>he=>Te[F](be,he,Be)):function de(Te){return(0,I.m)(Te.addListener)&&(0,I.m)(Te.removeListener)}(Te)?G.map(ne(Te,be)):function Le(Te){return(0,I.m)(Te.on)&&(0,I.m)(Te.off)}(Te)?se.map(ne(Te,be)):[];if(!rt&&(0,x.z)(Te))return(0,te.z)(F=>W(F,be,Be))((0,m.Xf)(Te));if(!rt)throw new TypeError("Invalid event target");return new w.y(F=>{const he=(...ie)=>F.next(1<ie.length?ie:ie[0]);return rt(he),()=>Ce(he)})}function ne(Te,be){return Be=>Xe=>Te[Be](be,Xe)}},4829:(Ye,oe,M)=>{M.d(oe,{Xf:()=>Le});var m=M(7582),w=M(4266),te=M(4026),x=M(5592),I=M(8382),U=M(5726),G=M(9853),X=M(3664),se=M(541),W=M(4674),ne=M(3894),de=M(4850);function Le(F){if(F instanceof x.y)return F;if(null!=F){if((0,I.c)(F))return function Me(F){return new x.y(he=>{const ie=F[de.L]();if((0,W.m)(ie.subscribe))return ie.subscribe(he);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(F);if((0,w.z)(F))return function Te(F){return new x.y(he=>{for(let ie=0;ie<F.length&&!he.closed;ie++)he.next(F[ie]);he.complete()})}(F);if((0,te.t)(F))return function be(F){return new x.y(he=>{F.then(ie=>{he.closed||(he.next(ie),he.complete())},ie=>he.error(ie)).then(null,ne.h)})}(F);if((0,U.D)(F))return Xe(F);if((0,X.T)(F))return function Be(F){return new x.y(he=>{for(const ie of F)if(he.next(ie),he.closed)return;he.complete()})}(F);if((0,se.L)(F))return function rt(F){return Xe((0,se.Q)(F))}(F)}throw(0,G.z)(F)}function Xe(F){return new x.y(he=>{(function Ce(F,he){var ie,ke,we,Ae;return(0,m.mG)(this,void 0,void 0,function*(){try{for(ie=(0,m.KL)(F);!(ke=yield ie.next()).done;)if(he.next(ke.value),he.closed)return}catch($e){we={error:$e}}finally{try{ke&&!ke.done&&(Ae=ie.return)&&(yield Ae.call(ie))}finally{if(we)throw we.error}}he.complete()})})(F,he).catch(ie=>he.error(ie))})}},3019:(Ye,oe,M)=>{M.d(oe,{T:()=>U});var m=M(7537),w=M(4829),te=M(6232),x=M(9940),I=M(7715);function U(...G){const X=(0,x.yG)(G),se=(0,x._6)(G,1/0),W=G;return W.length?1===W.length?(0,w.Xf)(W[0]):(0,m.J)(se)((0,I.D)(W,X)):te.E}},2096:(Ye,oe,M)=>{M.d(oe,{of:()=>te});var m=M(9940),w=M(7715);function te(...x){const I=(0,m.yG)(x);return(0,w.D)(x,I)}},8504:(Ye,oe,M)=>{M.d(oe,{_:()=>te});var m=M(5592),w=M(4674);function te(x,I){const U=(0,w.m)(x)?x:()=>x,G=X=>X.error(U());return new m.y(I?X=>I.schedule(G,0,X):G)}},9080:(Ye,oe,M)=>{M.d(oe,{H:()=>I});var m=M(5592),w=M(6321),te=M(671),x=M(93);function I(U=0,G,X=w.P){let se=-1;return null!=G&&((0,te.K)(G)?X=G:se=G),new m.y(W=>{let ne=(0,x.q)(U)?+U-X.now():U;ne<0&&(ne=0);let de=0;return X.schedule(function(){W.closed||(W.next(de++),0<=se?this.schedule(void 0,se):W.complete())},ne)})}},8251:(Ye,oe,M)=>{M.d(oe,{x:()=>w});var m=M(305);function w(x,I,U,G,X){return new te(x,I,U,G,X)}class te extends m.Lv{constructor(I,U,G,X,se,W){super(I),this.onFinalize=se,this.shouldUnsubscribe=W,this._next=U?function(ne){try{U(ne)}catch(de){I.error(de)}}:super._next,this._error=X?function(ne){try{X(ne)}catch(de){I.error(de)}finally{this.unsubscribe()}}:super._error,this._complete=G?function(){try{G()}catch(ne){I.error(ne)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var I;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:U}=this;super.unsubscribe(),!U&&(null===(I=this.onFinalize)||void 0===I||I.call(this))}}}},6306:(Ye,oe,M)=>{M.d(oe,{K:()=>x});var m=M(4829),w=M(8251),te=M(9360);function x(I){return(0,te.e)((U,G)=>{let W,X=null,se=!1;X=U.subscribe((0,w.x)(G,void 0,void 0,ne=>{W=(0,m.Xf)(I(ne,x(I)(U))),X?(X.unsubscribe(),X=null,W.subscribe(G)):se=!0})),se&&(X.unsubscribe(),X=null,W.subscribe(G))})}},6328:(Ye,oe,M)=>{M.d(oe,{b:()=>te});var m=M(1631),w=M(4674);function te(x,I){return(0,w.m)(I)?(0,m.z)(x,I,1):(0,m.z)(x,1)}},3997:(Ye,oe,M)=>{M.d(oe,{x:()=>x});var m=M(2737),w=M(9360),te=M(8251);function x(U,G=m.y){return U=U??I,(0,w.e)((X,se)=>{let W,ne=!0;X.subscribe((0,te.x)(se,de=>{const Le=G(de);(ne||!U(W,Le))&&(ne=!1,W=Le,se.next(de))}))})}function I(U,G){return U===G}},2181:(Ye,oe,M)=>{M.d(oe,{h:()=>te});var m=M(9360),w=M(8251);function te(x,I){return(0,m.e)((U,G)=>{let X=0;U.subscribe((0,w.x)(G,se=>x.call(I,se,X++)&&G.next(se)))})}},4716:(Ye,oe,M)=>{M.d(oe,{x:()=>w});var m=M(9360);function w(te){return(0,m.e)((x,I)=>{try{x.subscribe(I)}finally{I.add(te)}})}},7398:(Ye,oe,M)=>{M.d(oe,{U:()=>te});var m=M(9360),w=M(8251);function te(x,I){return(0,m.e)((U,G)=>{let X=0;U.subscribe((0,w.x)(G,se=>{G.next(x.call(I,se,X++))}))})}},975:(Ye,oe,M)=>{M.d(oe,{h:()=>w});var m=M(7398);function w(te){return(0,m.U)(()=>te)}},7537:(Ye,oe,M)=>{M.d(oe,{J:()=>te});var m=M(1631),w=M(2737);function te(x=1/0){return(0,m.z)(w.y,x)}},1631:(Ye,oe,M)=>{M.d(oe,{z:()=>X});var m=M(7398),w=M(4829),te=M(9360),x=M(7103),I=M(8251),G=M(4674);function X(se,W,ne=1/0){return(0,G.m)(W)?X((de,Le)=>(0,m.U)((Me,Te)=>W(de,Me,Le,Te))((0,w.Xf)(se(de,Le))),ne):("number"==typeof W&&(ne=W),(0,te.e)((de,Le)=>function U(se,W,ne,de,Le,Me,Te,be){const Be=[];let Xe=0,rt=0,Ce=!1;const F=()=>{Ce&&!Be.length&&!Xe&&W.complete()},he=ke=>Xe<de?ie(ke):Be.push(ke),ie=ke=>{Me&&W.next(ke),Xe++;let we=!1;(0,w.Xf)(ne(ke,rt++)).subscribe((0,I.x)(W,Ae=>{Le?.(Ae),Me?he(Ae):W.next(Ae)},()=>{we=!0},void 0,()=>{if(we)try{for(Xe--;Be.length&&Xe<de;){const Ae=Be.shift();Te?(0,x.f)(W,Te,()=>ie(Ae)):ie(Ae)}F()}catch(Ae){W.error(Ae)}}))};return se.subscribe((0,I.x)(W,he,()=>{Ce=!0,F()})),()=>{be?.()}}(de,Le,se,ne)))}},6196:(Ye,oe,M)=>{M.d(oe,{x:()=>te});var m=M(9360),w=M(8251);function te(){return(0,m.e)((x,I)=>{let U=null;x._refCount++;const G=(0,w.x)(I,void 0,void 0,void 0,()=>{if(!x||x._refCount<=0||0<--x._refCount)return void(U=null);const X=x._connection,se=U;U=null,X&&(!se||X===se)&&X.unsubscribe(),I.unsubscribe()});x.subscribe(G),G.closed||(U=x.connect())})}},3020:(Ye,oe,M)=>{M.d(oe,{B:()=>I});var m=M(4829),w=M(8645),te=M(305),x=M(9360);function I(G={}){const{connector:X=(()=>new w.x),resetOnError:se=!0,resetOnComplete:W=!0,resetOnRefCountZero:ne=!0}=G;return de=>{let Le,Me,Te,be=0,Be=!1,Xe=!1;const rt=()=>{Me?.unsubscribe(),Me=void 0},Ce=()=>{rt(),Le=Te=void 0,Be=Xe=!1},F=()=>{const he=Le;Ce(),he?.unsubscribe()};return(0,x.e)((he,ie)=>{be++,!Xe&&!Be&&rt();const ke=Te=Te??X();ie.add(()=>{be--,0===be&&!Xe&&!Be&&(Me=U(F,ne))}),ke.subscribe(ie),!Le&&be>0&&(Le=new te.Hp({next:we=>ke.next(we),error:we=>{Xe=!0,rt(),Me=U(Ce,se,we),ke.error(we)},complete:()=>{Be=!0,rt(),Me=U(Ce,W),ke.complete()}}),(0,m.Xf)(he).subscribe(Le))})(de)}}function U(G,X,...se){if(!0===X)return void G();if(!1===X)return;const W=new te.Hp({next:()=>{W.unsubscribe(),G()}});return(0,m.Xf)(X(...se)).subscribe(W)}},7921:(Ye,oe,M)=>{M.d(oe,{O:()=>x});var m=M(5211),w=M(9940),te=M(9360);function x(...I){const U=(0,w.yG)(I);return(0,te.e)((G,X)=>{(U?(0,m.z)(I,G,U):(0,m.z)(I,G)).subscribe(X)})}},4664:(Ye,oe,M)=>{M.d(oe,{w:()=>x});var m=M(4829),w=M(9360),te=M(8251);function x(I,U){return(0,w.e)((G,X)=>{let se=null,W=0,ne=!1;const de=()=>ne&&!se&&X.complete();G.subscribe((0,te.x)(X,Le=>{se?.unsubscribe();let Me=0;const Te=W++;(0,m.Xf)(I(Le,Te)).subscribe(se=(0,te.x)(X,be=>X.next(U?U(Le,be,Te,Me++):be),()=>{se=null,de()}))},()=>{ne=!0,de()}))})}},8180:(Ye,oe,M)=>{M.d(oe,{q:()=>x});var m=M(6232),w=M(9360),te=M(8251);function x(I){return I<=0?()=>m.E:(0,w.e)((U,G)=>{let X=0;U.subscribe((0,te.x)(G,se=>{++X<=I&&(G.next(se),I<=X&&G.complete())}))})}},9773:(Ye,oe,M)=>{M.d(oe,{R:()=>I});var m=M(9360),w=M(8251),te=M(4829),x=M(2420);function I(U){return(0,m.e)((G,X)=>{(0,te.Xf)(U).subscribe((0,w.x)(X,()=>X.complete(),x.Z)),!X.closed&&G.subscribe(X)})}},9397:(Ye,oe,M)=>{M.d(oe,{b:()=>I});var m=M(4674),w=M(9360),te=M(8251),x=M(2737);function I(U,G,X){const se=(0,m.m)(U)||G||X?{next:U,error:G,complete:X}:U;return se?(0,w.e)((W,ne)=>{var de;null===(de=se.subscribe)||void 0===de||de.call(se);let Le=!0;W.subscribe((0,te.x)(ne,Me=>{var Te;null===(Te=se.next)||void 0===Te||Te.call(se,Me),ne.next(Me)},()=>{var Me;Le=!1,null===(Me=se.complete)||void 0===Me||Me.call(se),ne.complete()},Me=>{var Te;Le=!1,null===(Te=se.error)||void 0===Te||Te.call(se,Me),ne.error(Me)},()=>{var Me,Te;Le&&(null===(Me=se.unsubscribe)||void 0===Me||Me.call(se)),null===(Te=se.finalize)||void 0===Te||Te.call(se)}))}):x.y}},1954:(Ye,oe,M)=>{M.d(oe,{o:()=>I});var m=M(7394);class w extends m.w0{constructor(G,X){super()}schedule(G,X=0){return this}}const te={setInterval(U,G,...X){const{delegate:se}=te;return se?.setInterval?se.setInterval(U,G,...X):setInterval(U,G,...X)},clearInterval(U){const{delegate:G}=te;return(G?.clearInterval||clearInterval)(U)},delegate:void 0};var x=M(9039);class I extends w{constructor(G,X){super(G,X),this.scheduler=G,this.work=X,this.pending=!1}schedule(G,X=0){var se;if(this.closed)return this;this.state=G;const W=this.id,ne=this.scheduler;return null!=W&&(this.id=this.recycleAsyncId(ne,W,X)),this.pending=!0,this.delay=X,this.id=null!==(se=this.id)&&void 0!==se?se:this.requestAsyncId(ne,this.id,X),this}requestAsyncId(G,X,se=0){return te.setInterval(G.flush.bind(G,this),se)}recycleAsyncId(G,X,se=0){if(null!=se&&this.delay===se&&!1===this.pending)return X;null!=X&&te.clearInterval(X)}execute(G,X){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const se=this._execute(G,X);if(se)return se;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(G,X){let W,se=!1;try{this.work(G)}catch(ne){se=!0,W=ne||new Error("Scheduled action threw falsy error")}if(se)return this.unsubscribe(),W}unsubscribe(){if(!this.closed){const{id:G,scheduler:X}=this,{actions:se}=X;this.work=this.state=this.scheduler=null,this.pending=!1,(0,x.P)(se,this),null!=G&&(this.id=this.recycleAsyncId(X,G,null)),this.delay=null,super.unsubscribe()}}}},2631:(Ye,oe,M)=>{M.d(oe,{v:()=>te});var m=M(4552);class w{constructor(I,U=w.now){this.schedulerActionCtor=I,this.now=U}schedule(I,U=0,G){return new this.schedulerActionCtor(this,I).schedule(G,U)}}w.now=m.l.now;class te extends w{constructor(I,U=w.now){super(I,U),this.actions=[],this._active=!1}flush(I){const{actions:U}=this;if(this._active)return void U.push(I);let G;this._active=!0;do{if(G=I.execute(I.state,I.delay))break}while(I=U.shift());if(this._active=!1,G){for(;I=U.shift();)I.unsubscribe();throw G}}}},6321:(Ye,oe,M)=>{M.d(oe,{P:()=>x,z:()=>te});var m=M(1954);const te=new(M(2631).v)(m.o),x=te},4552:(Ye,oe,M)=>{M.d(oe,{l:()=>m});const m={now:()=>(m.delegate||Date).now(),delegate:void 0}},7599:(Ye,oe,M)=>{M.d(oe,{z:()=>m});const m={setTimeout(w,te,...x){const{delegate:I}=m;return I?.setTimeout?I.setTimeout(w,te,...x):setTimeout(w,te,...x)},clearTimeout(w){const{delegate:te}=m;return(te?.clearTimeout||clearTimeout)(w)},delegate:void 0}},4971:(Ye,oe,M)=>{M.d(oe,{h:()=>w});const w=function m(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},4850:(Ye,oe,M)=>{M.d(oe,{L:()=>m});const m="function"==typeof Symbol&&Symbol.observable||"@@observable"},9940:(Ye,oe,M)=>{M.d(oe,{_6:()=>U,jO:()=>x,yG:()=>I});var m=M(4674),w=M(671);function te(G){return G[G.length-1]}function x(G){return(0,m.m)(te(G))?G.pop():void 0}function I(G){return(0,w.K)(te(G))?G.pop():void 0}function U(G,X){return"number"==typeof te(G)?G.pop():X}},7453:(Ye,oe,M)=>{M.d(oe,{D:()=>I});const{isArray:m}=Array,{getPrototypeOf:w,prototype:te,keys:x}=Object;function I(G){if(1===G.length){const X=G[0];if(m(X))return{args:X,keys:null};if(function U(G){return G&&"object"==typeof G&&w(G)===te}(X)){const se=x(X);return{args:se.map(W=>X[W]),keys:se}}}return{args:G,keys:null}}},9039:(Ye,oe,M)=>{function m(w,te){if(w){const x=w.indexOf(te);0<=x&&w.splice(x,1)}}M.d(oe,{P:()=>m})},2306:(Ye,oe,M)=>{function m(w){const x=w(I=>{Error.call(I),I.stack=(new Error).stack});return x.prototype=Object.create(Error.prototype),x.prototype.constructor=x,x}M.d(oe,{d:()=>m})},2714:(Ye,oe,M)=>{function m(w,te){return w.reduce((x,I,U)=>(x[I]=te[U],x),{})}M.d(oe,{n:()=>m})},1441:(Ye,oe,M)=>{M.d(oe,{O:()=>x,x:()=>te});var m=M(2653);let w=null;function te(I){if(m.config.useDeprecatedSynchronousErrorHandling){const U=!w;if(U&&(w={errorThrown:!1,error:null}),I(),U){const{errorThrown:G,error:X}=w;if(w=null,G)throw X}}else I()}function x(I){m.config.useDeprecatedSynchronousErrorHandling&&w&&(w.errorThrown=!0,w.error=I)}},7103:(Ye,oe,M)=>{function m(w,te,x,I=0,U=!1){const G=te.schedule(function(){x(),U?w.add(this.schedule(null,I)):this.unsubscribe()},I);if(w.add(G),!U)return G}M.d(oe,{f:()=>m})},2737:(Ye,oe,M)=>{function m(w){return w}M.d(oe,{y:()=>m})},4266:(Ye,oe,M)=>{M.d(oe,{z:()=>m});const m=w=>w&&"number"==typeof w.length&&"function"!=typeof w},5726:(Ye,oe,M)=>{M.d(oe,{D:()=>w});var m=M(4674);function w(te){return Symbol.asyncIterator&&(0,m.m)(te?.[Symbol.asyncIterator])}},93:(Ye,oe,M)=>{function m(w){return w instanceof Date&&!isNaN(w)}M.d(oe,{q:()=>m})},4674:(Ye,oe,M)=>{function m(w){return"function"==typeof w}M.d(oe,{m:()=>m})},8382:(Ye,oe,M)=>{M.d(oe,{c:()=>te});var m=M(4850),w=M(4674);function te(x){return(0,w.m)(x[m.L])}},3664:(Ye,oe,M)=>{M.d(oe,{T:()=>te});var m=M(4971),w=M(4674);function te(x){return(0,w.m)(x?.[m.h])}},4026:(Ye,oe,M)=>{M.d(oe,{t:()=>w});var m=M(4674);function w(te){return(0,m.m)(te?.then)}},541:(Ye,oe,M)=>{M.d(oe,{L:()=>x,Q:()=>te});var m=M(7582),w=M(4674);function te(I){return(0,m.FC)(this,arguments,function*(){const G=I.getReader();try{for(;;){const{value:X,done:se}=yield(0,m.qq)(G.read());if(se)return yield(0,m.qq)(void 0);yield yield(0,m.qq)(X)}}finally{G.releaseLock()}})}function x(I){return(0,w.m)(I?.getReader)}},671:(Ye,oe,M)=>{M.d(oe,{K:()=>w});var m=M(4674);function w(te){return te&&(0,m.m)(te.schedule)}},9360:(Ye,oe,M)=>{M.d(oe,{A:()=>w,e:()=>te});var m=M(4674);function w(x){return(0,m.m)(x?.lift)}function te(x){return I=>{if(w(I))return I.lift(function(U){try{return x(U,this)}catch(G){this.error(G)}});throw new TypeError("Unable to lift unknown Observable type")}}},7400:(Ye,oe,M)=>{M.d(oe,{Z:()=>x});var m=M(7398);const{isArray:w}=Array;function x(I){return(0,m.U)(U=>function te(I,U){return w(U)?I(...U):I(U)}(I,U))}},2420:(Ye,oe,M)=>{function m(){}M.d(oe,{Z:()=>m})},8407:(Ye,oe,M)=>{M.d(oe,{U:()=>te,z:()=>w});var m=M(2737);function w(...x){return te(x)}function te(x){return 0===x.length?m.y:1===x.length?x[0]:function(U){return x.reduce((G,X)=>X(G),U)}}},3894:(Ye,oe,M)=>{M.d(oe,{h:()=>te});var m=M(2653),w=M(7599);function te(x){w.z.setTimeout(()=>{const{onUnhandledError:I}=m.config;if(!I)throw x;I(x)})}},9853:(Ye,oe,M)=>{function m(w){return new TypeError(`You provided ${null!==w&&"object"==typeof w?"an invalid object":`'${w}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}M.d(oe,{z:()=>m})},6825:(Ye,oe,M)=>{M.d(oe,{F4:()=>W,IO:()=>Te,LC:()=>w,SB:()=>se,X$:()=>x,ZE:()=>Xe,ZN:()=>Be,_j:()=>m,eR:()=>ne,jt:()=>I,k1:()=>rt,l3:()=>te,oB:()=>X,pV:()=>Le,ru:()=>U,vP:()=>G});class m{}class w{}const te="*";function x(Ce,F){return{type:7,name:Ce,definitions:F,options:{}}}function I(Ce,F=null){return{type:4,styles:F,timings:Ce}}function U(Ce,F=null){return{type:3,steps:Ce,options:F}}function G(Ce,F=null){return{type:2,steps:Ce,options:F}}function X(Ce){return{type:6,styles:Ce,offset:null}}function se(Ce,F,he){return{type:0,name:Ce,styles:F,options:he}}function W(Ce){return{type:5,steps:Ce}}function ne(Ce,F,he=null){return{type:1,expr:Ce,animation:F,options:he}}function Le(Ce=null){return{type:9,options:Ce}}function Te(Ce,F,he=null){return{type:11,selector:Ce,animation:F,options:he}}class Be{constructor(F=0,he=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=F+he}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(F=>F()),this._onDoneFns=[])}onStart(F){this._originalOnStartFns.push(F),this._onStartFns.push(F)}onDone(F){this._originalOnDoneFns.push(F),this._onDoneFns.push(F)}onDestroy(F){this._onDestroyFns.push(F)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(F=>F()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(F=>F()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(F){this._position=this.totalTime?F*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(F){const he="start"==F?this._onStartFns:this._onDoneFns;he.forEach(ie=>ie()),he.length=0}}class Xe{constructor(F){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=F;let he=0,ie=0,ke=0;const we=this.players.length;0==we?queueMicrotask(()=>this._onFinish()):this.players.forEach(Ae=>{Ae.onDone(()=>{++he==we&&this._onFinish()}),Ae.onDestroy(()=>{++ie==we&&this._onDestroy()}),Ae.onStart(()=>{++ke==we&&this._onStart()})}),this.totalTime=this.players.reduce((Ae,$e)=>Math.max(Ae,$e.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(F=>F()),this._onDoneFns=[])}init(){this.players.forEach(F=>F.init())}onStart(F){this._onStartFns.push(F)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(F=>F()),this._onStartFns=[])}onDone(F){this._onDoneFns.push(F)}onDestroy(F){this._onDestroyFns.push(F)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(F=>F.play())}pause(){this.players.forEach(F=>F.pause())}restart(){this.players.forEach(F=>F.restart())}finish(){this._onFinish(),this.players.forEach(F=>F.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(F=>F.destroy()),this._onDestroyFns.forEach(F=>F()),this._onDestroyFns=[])}reset(){this.players.forEach(F=>F.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(F){const he=F*this.totalTime;this.players.forEach(ie=>{const ke=ie.totalTime?Math.min(1,he/ie.totalTime):1;ie.setPosition(ke)})}getPosition(){const F=this.players.reduce((he,ie)=>null===he||ie.totalTime>he.totalTime?ie:he,null);return null!=F?F.getPosition():0}beforeDestroy(){this.players.forEach(F=>{F.beforeDestroy&&F.beforeDestroy()})}triggerCallback(F){const he="start"==F?this._onStartFns:this._onDoneFns;he.forEach(ie=>ie()),he.length=0}}const rt="!"},6814:(Ye,oe,M)=>{M.d(oe,{$G:()=>Yt,Do:()=>be,ED:()=>$s,EM:()=>qn,HT:()=>x,JF:()=>Jr,JJ:()=>We,K0:()=>U,Mx:()=>Kn,NF:()=>ko,Nd:()=>fo,O5:()=>En,OU:()=>vn,Ov:()=>ys,PC:()=>ar,PM:()=>Ds,RF:()=>xr,S$:()=>Le,Ts:()=>Gs,V_:()=>X,Ye:()=>Be,b0:()=>Te,bD:()=>lr,ez:()=>sn,mk:()=>Ot,n9:()=>Er,q:()=>te,sg:()=>Jt,tP:()=>qr,uU:()=>jn,w_:()=>I});var m=M(5879);let w=null;function te(){return w}function x(d){w||(w=d)}class I{}const U=new m.OlP("DocumentToken");let G=(()=>{var d;class E{historyGo(_){throw new Error("Not implemented")}}return(d=E).\u0275fac=function(_){return new(_||d)},d.\u0275prov=m.Yz7({token:d,factory:function(){return(0,m.f3M)(se)},providedIn:"platform"}),E})();const X=new m.OlP("Location Initialized");let se=(()=>{var d;class E extends G{constructor(){super(),this._doc=(0,m.f3M)(U),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return te().getBaseHref(this._doc)}onPopState(_){const O=te().getGlobalEventTarget(this._doc,"window");return O.addEventListener("popstate",_,!1),()=>O.removeEventListener("popstate",_)}onHashChange(_){const O=te().getGlobalEventTarget(this._doc,"window");return O.addEventListener("hashchange",_,!1),()=>O.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(_,O,j){this._history.pushState(_,O,j)}replaceState(_,O,j){this._history.replaceState(_,O,j)}forward(){this._history.forward()}back(){this._history.back()}historyGo(_=0){this._history.go(_)}getState(){return this._history.state}}return(d=E).\u0275fac=function(_){return new(_||d)},d.\u0275prov=m.Yz7({token:d,factory:function(){return new d},providedIn:"platform"}),E})();function W(d,E){if(0==d.length)return E;if(0==E.length)return d;let R=0;return d.endsWith("/")&&R++,E.startsWith("/")&&R++,2==R?d+E.substring(1):1==R?d+E:d+"/"+E}function ne(d){const E=d.match(/#|\?|$/),R=E&&E.index||d.length;return d.slice(0,R-("/"===d[R-1]?1:0))+d.slice(R)}function de(d){return d&&"?"!==d[0]?"?"+d:d}let Le=(()=>{var d;class E{historyGo(_){throw new Error("Not implemented")}}return(d=E).\u0275fac=function(_){return new(_||d)},d.\u0275prov=m.Yz7({token:d,factory:function(){return(0,m.f3M)(Te)},providedIn:"root"}),E})();const Me=new m.OlP("appBaseHref");let Te=(()=>{var d;class E extends Le{constructor(_,O){super(),this._platformLocation=_,this._removeListenerFns=[],this._baseHref=O??this._platformLocation.getBaseHrefFromDOM()??(0,m.f3M)(U).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(_){this._removeListenerFns.push(this._platformLocation.onPopState(_),this._platformLocation.onHashChange(_))}getBaseHref(){return this._baseHref}prepareExternalUrl(_){return W(this._baseHref,_)}path(_=!1){const O=this._platformLocation.pathname+de(this._platformLocation.search),j=this._platformLocation.hash;return j&&_?`${O}${j}`:O}pushState(_,O,j,ve){const Ue=this.prepareExternalUrl(j+de(ve));this._platformLocation.pushState(_,O,Ue)}replaceState(_,O,j,ve){const Ue=this.prepareExternalUrl(j+de(ve));this._platformLocation.replaceState(_,O,Ue)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(_=0){this._platformLocation.historyGo?.(_)}}return(d=E).\u0275fac=function(_){return new(_||d)(m.LFG(G),m.LFG(Me,8))},d.\u0275prov=m.Yz7({token:d,factory:d.\u0275fac,providedIn:"root"}),E})(),be=(()=>{var d;class E extends Le{constructor(_,O){super(),this._platformLocation=_,this._baseHref="",this._removeListenerFns=[],null!=O&&(this._baseHref=O)}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 O=this._platformLocation.hash;return null==O&&(O="#"),O.length>0?O.substring(1):O}prepareExternalUrl(_){const O=W(this._baseHref,_);return O.length>0?"#"+O:O}pushState(_,O,j,ve){let Ue=this.prepareExternalUrl(j+de(ve));0==Ue.length&&(Ue=this._platformLocation.pathname),this._platformLocation.pushState(_,O,Ue)}replaceState(_,O,j,ve){let Ue=this.prepareExternalUrl(j+de(ve));0==Ue.length&&(Ue=this._platformLocation.pathname),this._platformLocation.replaceState(_,O,Ue)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(_=0){this._platformLocation.historyGo?.(_)}}return(d=E).\u0275fac=function(_){return new(_||d)(m.LFG(G),m.LFG(Me,8))},d.\u0275prov=m.Yz7({token:d,factory:d.\u0275fac}),E})(),Be=(()=>{var d;class E{constructor(_){this._subject=new m.vpe,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=_;const O=this._locationStrategy.getBaseHref();this._basePath=function F(d){if(new RegExp("^(https?:)?//").test(d)){const[,R]=d.split(/\/\/[^\/]+/);return R}return d}(ne(Ce(O))),this._locationStrategy.onPopState(j=>{this._subject.emit({url:this.path(!0),pop:!0,state:j.state,type:j.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(_=!1){return this.normalize(this._locationStrategy.path(_))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(_,O=""){return this.path()==this.normalize(_+de(O))}normalize(_){return E.stripTrailingSlash(function rt(d,E){if(!d||!E.startsWith(d))return E;const R=E.substring(d.length);return""===R||["/",";","?","#"].includes(R[0])?R:E}(this._basePath,Ce(_)))}prepareExternalUrl(_){return _&&"/"!==_[0]&&(_="/"+_),this._locationStrategy.prepareExternalUrl(_)}go(_,O="",j=null){this._locationStrategy.pushState(j,"",_,O),this._notifyUrlChangeListeners(this.prepareExternalUrl(_+de(O)),j)}replaceState(_,O="",j=null){this._locationStrategy.replaceState(j,"",_,O),this._notifyUrlChangeListeners(this.prepareExternalUrl(_+de(O)),j)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(_=0){this._locationStrategy.historyGo?.(_)}onUrlChange(_){return this._urlChangeListeners.push(_),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(O=>{this._notifyUrlChangeListeners(O.url,O.state)})),()=>{const O=this._urlChangeListeners.indexOf(_);this._urlChangeListeners.splice(O,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(_="",O){this._urlChangeListeners.forEach(j=>j(_,O))}subscribe(_,O,j){return this._subject.subscribe({next:_,error:O,complete:j})}}return(d=E).normalizeQueryParams=de,d.joinWithSlash=W,d.stripTrailingSlash=ne,d.\u0275fac=function(_){return new(_||d)(m.LFG(Le))},d.\u0275prov=m.Yz7({token:d,factory:function(){return function Xe(){return new Be((0,m.LFG)(Le))}()},providedIn:"root"}),E})();function Ce(d){return d.replace(/\/index.html$/,"")}var ie=function(d){return d[d.Decimal=0]="Decimal",d[d.Percent=1]="Percent",d[d.Currency=2]="Currency",d[d.Scientific=3]="Scientific",d}(ie||{}),we=function(d){return d[d.Format=0]="Format",d[d.Standalone=1]="Standalone",d}(we||{}),Ae=function(d){return d[d.Narrow=0]="Narrow",d[d.Abbreviated=1]="Abbreviated",d[d.Wide=2]="Wide",d[d.Short=3]="Short",d}(Ae||{}),$e=function(d){return d[d.Short=0]="Short",d[d.Medium=1]="Medium",d[d.Long=2]="Long",d[d.Full=3]="Full",d}($e||{}),tt=function(d){return d[d.Decimal=0]="Decimal",d[d.Group=1]="Group",d[d.List=2]="List",d[d.PercentSign=3]="PercentSign",d[d.PlusSign=4]="PlusSign",d[d.MinusSign=5]="MinusSign",d[d.Exponential=6]="Exponential",d[d.SuperscriptingExponent=7]="SuperscriptingExponent",d[d.PerMille=8]="PerMille",d[d.Infinity=9]="Infinity",d[d.NaN=10]="NaN",d[d.TimeSeparator=11]="TimeSeparator",d[d.CurrencyDecimal=12]="CurrencyDecimal",d[d.CurrencyGroup=13]="CurrencyGroup",d}(tt||{});function fe(d,E){return It((0,m.cg1)(d)[m.wAp.DateFormat],E)}function me(d,E){return It((0,m.cg1)(d)[m.wAp.TimeFormat],E)}function Ee(d,E){return It((0,m.cg1)(d)[m.wAp.DateTimeFormat],E)}function Ne(d,E){const R=(0,m.cg1)(d),_=R[m.wAp.NumberSymbols][E];if(typeof _>"u"){if(E===tt.CurrencyDecimal)return R[m.wAp.NumberSymbols][tt.Decimal];if(E===tt.CurrencyGroup)return R[m.wAp.NumberSymbols][tt.Group]}return _}function Z(d){if(!d[m.wAp.ExtraData])throw new Error(`Missing extra locale data for the locale "${d[m.wAp.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function It(d,E){for(let R=E;R>-1;R--)if(typeof d[R]<"u")return d[R];throw new Error("Locale data API: locale data undefined")}function Qe(d){const[E,R]=d.split(":");return{hours:+E,minutes:+R}}const Ar=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,zn={},In=/((?:[^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 lt=function(d){return d[d.Short=0]="Short",d[d.ShortGMT=1]="ShortGMT",d[d.Long=2]="Long",d[d.Extended=3]="Extended",d}(lt||{}),vt=function(d){return d[d.FullYear=0]="FullYear",d[d.Month=1]="Month",d[d.Date=2]="Date",d[d.Hours=3]="Hours",d[d.Minutes=4]="Minutes",d[d.Seconds=5]="Seconds",d[d.FractionalSeconds=6]="FractionalSeconds",d[d.Day=7]="Day",d}(vt||{}),bt=function(d){return d[d.DayPeriods=0]="DayPeriods",d[d.Days=1]="Days",d[d.Months=2]="Months",d[d.Eras=3]="Eras",d}(bt||{});function gn(d,E,R,_){let O=function pe(d){if(ue(d))return d;if("number"==typeof d&&!isNaN(d))return new Date(d);if("string"==typeof d){if(d=d.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(d)){const[O,j=1,ve=1]=d.split("-").map(Ue=>+Ue);return Or(O,j-1,ve)}const R=parseFloat(d);if(!isNaN(d-R))return new Date(R);let _;if(_=d.match(Ar))return function V(d){const E=new Date(0);let R=0,_=0;const O=d[8]?E.setUTCFullYear:E.setFullYear,j=d[8]?E.setUTCHours:E.setHours;d[9]&&(R=Number(d[9]+d[10]),_=Number(d[9]+d[11])),O.call(E,Number(d[1]),Number(d[2])-1,Number(d[3]));const ve=Number(d[4]||0)-R,Ue=Number(d[5]||0)-_,yt=Number(d[6]||0),Rt=Math.floor(1e3*parseFloat("0."+(d[7]||0)));return j.call(E,ve,Ue,yt,Rt),E}(_)}const E=new Date(d);if(!ue(E))throw new Error(`Unable to convert "${d}" into a date`);return E}(d);E=Bn(R,E)||E;let Ue,ve=[];for(;E;){if(Ue=In.exec(E),!Ue){ve.push(E);break}{ve=ve.concat(Ue.slice(1));const Pt=ve.pop();if(!Pt)break;E=Pt}}let yt=O.getTimezoneOffset();_&&(yt=Kr(_,yt),O=function uo(d,E,R){const _=R?-1:1,O=d.getTimezoneOffset();return function Hs(d,E){return(d=new Date(d.getTime())).setMinutes(d.getMinutes()+E),d}(d,_*(Kr(E,O)-O))}(O,_,!0));let Rt="";return ve.forEach(Pt=>{const Et=function Nr(d){if(Wn[d])return Wn[d];let E;switch(d){case"G":case"GG":case"GGG":E=Ft(bt.Eras,Ae.Abbreviated);break;case"GGGG":E=Ft(bt.Eras,Ae.Wide);break;case"GGGGG":E=Ft(bt.Eras,Ae.Narrow);break;case"y":E=zt(vt.FullYear,1,0,!1,!0);break;case"yy":E=zt(vt.FullYear,2,0,!0,!0);break;case"yyy":E=zt(vt.FullYear,3,0,!1,!0);break;case"yyyy":E=zt(vt.FullYear,4,0,!1,!0);break;case"Y":E=Ss(1);break;case"YY":E=Ss(2,!0);break;case"YYY":E=Ss(3);break;case"YYYY":E=Ss(4);break;case"M":case"L":E=zt(vt.Month,1,1);break;case"MM":case"LL":E=zt(vt.Month,2,1);break;case"MMM":E=Ft(bt.Months,Ae.Abbreviated);break;case"MMMM":E=Ft(bt.Months,Ae.Wide);break;case"MMMMM":E=Ft(bt.Months,Ae.Narrow);break;case"LLL":E=Ft(bt.Months,Ae.Abbreviated,we.Standalone);break;case"LLLL":E=Ft(bt.Months,Ae.Wide,we.Standalone);break;case"LLLLL":E=Ft(bt.Months,Ae.Narrow,we.Standalone);break;case"w":E=Wr(1);break;case"ww":E=Wr(2);break;case"W":E=Wr(1,!0);break;case"d":E=zt(vt.Date,1);break;case"dd":E=zt(vt.Date,2);break;case"c":case"cc":E=zt(vt.Day,1);break;case"ccc":E=Ft(bt.Days,Ae.Abbreviated,we.Standalone);break;case"cccc":E=Ft(bt.Days,Ae.Wide,we.Standalone);break;case"ccccc":E=Ft(bt.Days,Ae.Narrow,we.Standalone);break;case"cccccc":E=Ft(bt.Days,Ae.Short,we.Standalone);break;case"E":case"EE":case"EEE":E=Ft(bt.Days,Ae.Abbreviated);break;case"EEEE":E=Ft(bt.Days,Ae.Wide);break;case"EEEEE":E=Ft(bt.Days,Ae.Narrow);break;case"EEEEEE":E=Ft(bt.Days,Ae.Short);break;case"a":case"aa":case"aaa":E=Ft(bt.DayPeriods,Ae.Abbreviated);break;case"aaaa":E=Ft(bt.DayPeriods,Ae.Wide);break;case"aaaaa":E=Ft(bt.DayPeriods,Ae.Narrow);break;case"b":case"bb":case"bbb":E=Ft(bt.DayPeriods,Ae.Abbreviated,we.Standalone,!0);break;case"bbbb":E=Ft(bt.DayPeriods,Ae.Wide,we.Standalone,!0);break;case"bbbbb":E=Ft(bt.DayPeriods,Ae.Narrow,we.Standalone,!0);break;case"B":case"BB":case"BBB":E=Ft(bt.DayPeriods,Ae.Abbreviated,we.Format,!0);break;case"BBBB":E=Ft(bt.DayPeriods,Ae.Wide,we.Format,!0);break;case"BBBBB":E=Ft(bt.DayPeriods,Ae.Narrow,we.Format,!0);break;case"h":E=zt(vt.Hours,1,-12);break;case"hh":E=zt(vt.Hours,2,-12);break;case"H":E=zt(vt.Hours,1);break;case"HH":E=zt(vt.Hours,2);break;case"m":E=zt(vt.Minutes,1);break;case"mm":E=zt(vt.Minutes,2);break;case"s":E=zt(vt.Seconds,1);break;case"ss":E=zt(vt.Seconds,2);break;case"S":E=zt(vt.FractionalSeconds,1);break;case"SS":E=zt(vt.FractionalSeconds,2);break;case"SSS":E=zt(vt.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":E=Pr(lt.Short);break;case"ZZZZZ":E=Pr(lt.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":E=Pr(lt.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":E=Pr(lt.Long);break;default:return null}return Wn[d]=E,E}(Pt);Rt+=Et?Et(O,R,yt):"''"===Pt?"'":Pt.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),Rt}function Or(d,E,R){const _=new Date(0);return _.setFullYear(d,E,R),_.setHours(0,0,0),_}function Bn(d,E){const R=function cn(d){return(0,m.cg1)(d)[m.wAp.LocaleId]}(d);if(zn[R]=zn[R]||{},zn[R][E])return zn[R][E];let _="";switch(E){case"shortDate":_=fe(d,$e.Short);break;case"mediumDate":_=fe(d,$e.Medium);break;case"longDate":_=fe(d,$e.Long);break;case"fullDate":_=fe(d,$e.Full);break;case"shortTime":_=me(d,$e.Short);break;case"mediumTime":_=me(d,$e.Medium);break;case"longTime":_=me(d,$e.Long);break;case"fullTime":_=me(d,$e.Full);break;case"short":const O=Bn(d,"shortTime"),j=Bn(d,"shortDate");_=xt(Ee(d,$e.Short),[O,j]);break;case"medium":const ve=Bn(d,"mediumTime"),Ue=Bn(d,"mediumDate");_=xt(Ee(d,$e.Medium),[ve,Ue]);break;case"long":const yt=Bn(d,"longTime"),Rt=Bn(d,"longDate");_=xt(Ee(d,$e.Long),[yt,Rt]);break;case"full":const Pt=Bn(d,"fullTime"),Et=Bn(d,"fullDate");_=xt(Ee(d,$e.Full),[Pt,Et])}return _&&(zn[R][E]=_),_}function xt(d,E){return E&&(d=d.replace(/\{([^}]+)}/g,function(R,_){return null!=E&&_ in E?E[_]:R})),d}function mt(d,E,R="-",_,O){let j="";(d<0||O&&d<=0)&&(O?d=1-d:(d=-d,j=R));let ve=String(d);for(;ve.length<E;)ve="0"+ve;return _&&(ve=ve.slice(ve.length-E)),j+ve}function zt(d,E,R=0,_=!1,O=!1){return function(j,ve){let Ue=function sr(d,E){switch(d){case vt.FullYear:return E.getFullYear();case vt.Month:return E.getMonth();case vt.Date:return E.getDate();case vt.Hours:return E.getHours();case vt.Minutes:return E.getMinutes();case vt.Seconds:return E.getSeconds();case vt.FractionalSeconds:return E.getMilliseconds();case vt.Day:return E.getDay();default:throw new Error(`Unknown DateType value "${d}".`)}}(d,j);if((R>0||Ue>-R)&&(Ue+=R),d===vt.Hours)0===Ue&&-12===R&&(Ue=12);else if(d===vt.FractionalSeconds)return function os(d,E){return mt(d,3).substring(0,E)}(Ue,E);const yt=Ne(ve,tt.MinusSign);return mt(Ue,E,yt,_,O)}}function Ft(d,E,R=we.Format,_=!1){return function(O,j){return function pr(d,E,R,_,O,j){switch(R){case bt.Months:return function Wt(d,E,R){const _=(0,m.cg1)(d),j=It([_[m.wAp.MonthsFormat],_[m.wAp.MonthsStandalone]],E);return It(j,R)}(E,O,_)[d.getMonth()];case bt.Days:return function dn(d,E,R){const _=(0,m.cg1)(d),j=It([_[m.wAp.DaysFormat],_[m.wAp.DaysStandalone]],E);return It(j,R)}(E,O,_)[d.getDay()];case bt.DayPeriods:const ve=d.getHours(),Ue=d.getMinutes();if(j){const Rt=function Ze(d){const E=(0,m.cg1)(d);return Z(E),(E[m.wAp.ExtraData][2]||[]).map(_=>"string"==typeof _?Qe(_):[Qe(_[0]),Qe(_[1])])}(E),Pt=function ot(d,E,R){const _=(0,m.cg1)(d);Z(_);const j=It([_[m.wAp.ExtraData][0],_[m.wAp.ExtraData][1]],E)||[];return It(j,R)||[]}(E,O,_),Et=Rt.findIndex(ln=>{if(Array.isArray(ln)){const[$t,un]=ln,Xn=ve>=$t.hours&&Ue>=$t.minutes,mr=ve<un.hours||ve===un.hours&&Ue<un.minutes;if($t.hours<un.hours){if(Xn&&mr)return!0}else if(Xn||mr)return!0}else if(ln.hours===ve&&ln.minutes===Ue)return!0;return!1});if(-1!==Et)return Pt[Et]}return function _n(d,E,R){const _=(0,m.cg1)(d),j=It([_[m.wAp.DayPeriodsFormat],_[m.wAp.DayPeriodsStandalone]],E);return It(j,R)}(E,O,_)[ve<12?0:1];case bt.Eras:return function Vt(d,E){return It((0,m.cg1)(d)[m.wAp.Eras],E)}(E,_)[d.getFullYear()<=0?0:1];default:throw new Error(`unexpected translation type ${R}`)}}(O,j,d,E,R,_)}}function Pr(d){return function(E,R,_){const O=-1*_,j=Ne(R,tt.MinusSign),ve=O>0?Math.floor(O/60):Math.ceil(O/60);switch(d){case lt.Short:return(O>=0?"+":"")+mt(ve,2,j)+mt(Math.abs(O%60),2,j);case lt.ShortGMT:return"GMT"+(O>=0?"+":"")+mt(ve,1,j);case lt.Long:return"GMT"+(O>=0?"+":"")+mt(ve,2,j)+":"+mt(Math.abs(O%60),2,j);case lt.Extended:return 0===_?"Z":(O>=0?"+":"")+mt(ve,2,j)+":"+mt(Math.abs(O%60),2,j);default:throw new Error(`Unknown zone width "${d}"`)}}}const Gr=0,Rr=4;function Gn(d){return Or(d.getFullYear(),d.getMonth(),d.getDate()+(Rr-d.getDay()))}function Wr(d,E=!1){return function(R,_){let O;if(E){const j=new Date(R.getFullYear(),R.getMonth(),1).getDay()-1,ve=R.getDate();O=1+Math.floor((ve+j)/7)}else{const j=Gn(R),ve=function bn(d){const E=Or(d,Gr,1).getDay();return Or(d,0,1+(E<=Rr?Rr:Rr+7)-E)}(j.getFullYear()),Ue=j.getTime()-ve.getTime();O=1+Math.round(Ue/6048e5)}return mt(O,d,Ne(_,tt.MinusSign))}}function Ss(d,E=!1){return function(R,_){return mt(Gn(R).getFullYear(),d,Ne(_,tt.MinusSign),E)}}const Wn={};function Kr(d,E){d=d.replace(/:/g,"");const R=Date.parse("Jan 01, 1970 00:00:00 "+d)/6e4;return isNaN(R)?E:R}function ue(d){return d instanceof Date&&!isNaN(d.valueOf())}const H=/^(\d+)?\.((\d+)(-(\d+))?)?$/;function Lt(d){const E=parseInt(d);if(isNaN(E))throw new Error("Invalid integer literal when parsing "+d);return E}function Kn(d,E){E=encodeURIComponent(E);for(const R of d.split(";")){const _=R.indexOf("="),[O,j]=-1==_?[R,""]:[R.slice(0,_),R.slice(_+1)];if(O.trim()===E)return decodeURIComponent(j)}return null}const _r=/\s+/,Dr=[];let Ot=(()=>{var d;class E{constructor(_,O,j,ve){this._iterableDiffers=_,this._keyValueDiffers=O,this._ngEl=j,this._renderer=ve,this.initialClasses=Dr,this.stateMap=new Map}set klass(_){this.initialClasses=null!=_?_.trim().split(_r):Dr}set ngClass(_){this.rawClass="string"==typeof _?_.trim().split(_r):_}ngDoCheck(){for(const O of this.initialClasses)this._updateState(O,!0);const _=this.rawClass;if(Array.isArray(_)||_ instanceof Set)for(const O of _)this._updateState(O,!0);else if(null!=_)for(const O of Object.keys(_))this._updateState(O,!!_[O]);this._applyStateDiff()}_updateState(_,O){const j=this.stateMap.get(_);void 0!==j?(j.enabled!==O&&(j.changed=!0,j.enabled=O),j.touched=!0):this.stateMap.set(_,{enabled:O,changed:!0,touched:!0})}_applyStateDiff(){for(const _ of this.stateMap){const O=_[0],j=_[1];j.changed?(this._toggleClass(O,j.enabled),j.changed=!1):j.touched||(j.enabled&&this._toggleClass(O,!1),this.stateMap.delete(O)),j.touched=!1}}_toggleClass(_,O){(_=_.trim()).length>0&&_.split(_r).forEach(j=>{O?this._renderer.addClass(this._ngEl.nativeElement,j):this._renderer.removeClass(this._ngEl.nativeElement,j)})}}return(d=E).\u0275fac=function(_){return new(_||d)(m.Y36(m.ZZ4),m.Y36(m.aQg),m.Y36(m.SBq),m.Y36(m.Qsj))},d.\u0275dir=m.lG2({type:d,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"},standalone:!0}),E})(),Yt=(()=>{var d;class E{constructor(_){this._viewContainerRef=_,this.ngComponentOutlet=null,this._inputsUsed=new Map}_needToReCreateNgModuleInstance(_){return void 0!==_.ngComponentOutletNgModule||void 0!==_.ngComponentOutletNgModuleFactory}_needToReCreateComponentInstance(_){return void 0!==_.ngComponentOutlet||void 0!==_.ngComponentOutletContent||void 0!==_.ngComponentOutletInjector||this._needToReCreateNgModuleInstance(_)}ngOnChanges(_){if(this._needToReCreateComponentInstance(_)&&(this._viewContainerRef.clear(),this._inputsUsed.clear(),this._componentRef=void 0,this.ngComponentOutlet)){const O=this.ngComponentOutletInjector||this._viewContainerRef.parentInjector;this._needToReCreateNgModuleInstance(_)&&(this._moduleRef?.destroy(),this._moduleRef=this.ngComponentOutletNgModule?(0,m.Lck)(this.ngComponentOutletNgModule,On(O)):this.ngComponentOutletNgModuleFactory?this.ngComponentOutletNgModuleFactory.create(On(O)):void 0),this._componentRef=this._viewContainerRef.createComponent(this.ngComponentOutlet,{injector:O,ngModuleRef:this._moduleRef,projectableNodes:this.ngComponentOutletContent})}}ngDoCheck(){if(this._componentRef){if(this.ngComponentOutletInputs)for(const _ of Object.keys(this.ngComponentOutletInputs))this._inputsUsed.set(_,!0);this._applyInputStateDiff(this._componentRef)}}ngOnDestroy(){this._moduleRef?.destroy()}_applyInputStateDiff(_){for(const[O,j]of this._inputsUsed)j?(_.setInput(O,this.ngComponentOutletInputs[O]),this._inputsUsed.set(O,!1)):(_.setInput(O,void 0),this._inputsUsed.delete(O))}}return(d=E).\u0275fac=function(_){return new(_||d)(m.Y36(m.s_b))},d.\u0275dir=m.lG2({type:d,selectors:[["","ngComponentOutlet",""]],inputs:{ngComponentOutlet:"ngComponentOutlet",ngComponentOutletInputs:"ngComponentOutletInputs",ngComponentOutletInjector:"ngComponentOutletInjector",ngComponentOutletContent:"ngComponentOutletContent",ngComponentOutletNgModule:"ngComponentOutletNgModule",ngComponentOutletNgModuleFactory:"ngComponentOutletNgModuleFactory"},standalone:!0,features:[m.TTD]}),E})();function On(d){return d.get(m.h0i).injector}class or{constructor(E,R,_,O){this.$implicit=E,this.ngForOf=R,this.index=_,this.count=O}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 Jt=(()=>{var d;class E{set ngForOf(_){this._ngForOf=_,this._ngForOfDirty=!0}set ngForTrackBy(_){this._trackByFn=_}get ngForTrackBy(){return this._trackByFn}constructor(_,O,j){this._viewContainer=_,this._template=O,this._differs=j,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}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 O=this._viewContainer;_.forEachOperation((j,ve,Ue)=>{if(null==j.previousIndex)O.createEmbeddedView(this._template,new or(j.item,this._ngForOf,-1,-1),null===Ue?void 0:Ue);else if(null==Ue)O.remove(null===ve?void 0:ve);else if(null!==ve){const yt=O.get(ve);O.move(yt,Ue),ir(yt,j)}});for(let j=0,ve=O.length;j<ve;j++){const yt=O.get(j).context;yt.index=j,yt.count=ve,yt.ngForOf=this._ngForOf}_.forEachIdentityChange(j=>{ir(O.get(j.currentIndex),j)})}static ngTemplateContextGuard(_,O){return!0}}return(d=E).\u0275fac=function(_){return new(_||d)(m.Y36(m.s_b),m.Y36(m.Rgc),m.Y36(m.ZZ4))},d.\u0275dir=m.lG2({type:d,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0}),E})();function ir(d,E){d.context.$implicit=E.item}let En=(()=>{var d;class E{constructor(_,O){this._viewContainer=_,this._context=new Yn,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=O}set ngIf(_){this._context.$implicit=this._context.ngIf=_,this._updateView()}set ngIfThen(_){Zn("ngIfThen",_),this._thenTemplateRef=_,this._thenViewRef=null,this._updateView()}set ngIfElse(_){Zn("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(_,O){return!0}}return(d=E).\u0275fac=function(_){return new(_||d)(m.Y36(m.s_b),m.Y36(m.Rgc))},d.\u0275dir=m.lG2({type:d,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0}),E})();class Yn{constructor(){this.$implicit=null,this.ngIf=null}}function Zn(d,E){if(E&&!E.createEmbeddedView)throw new Error(`${d} must be a TemplateRef, but received '${(0,m.AaK)(E)}'.`)}class hn{constructor(E,R){this._viewContainerRef=E,this._templateRef=R,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(E){E&&!this._created?this.create():!E&&this._created&&this.destroy()}}let xr=(()=>{var d;class E{constructor(){this._defaultViews=[],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.push(_)}_matchCase(_){const O=_==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||O,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),O}_updateDefaultCases(_){if(this._defaultViews.length>0&&_!==this._defaultUsed){this._defaultUsed=_;for(const O of this._defaultViews)O.enforceState(_)}}}return(d=E).\u0275fac=function(_){return new(_||d)},d.\u0275dir=m.lG2({type:d,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"},standalone:!0}),E})(),Er=(()=>{var d;class E{constructor(_,O,j){this.ngSwitch=j,j._addCase(),this._view=new hn(_,O)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}return(d=E).\u0275fac=function(_){return new(_||d)(m.Y36(m.s_b),m.Y36(m.Rgc),m.Y36(xr,9))},d.\u0275dir=m.lG2({type:d,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"},standalone:!0}),E})(),$s=(()=>{var d;class E{constructor(_,O,j){j._addDefault(new hn(_,O))}}return(d=E).\u0275fac=function(_){return new(_||d)(m.Y36(m.s_b),m.Y36(m.Rgc),m.Y36(xr,9))},d.\u0275dir=m.lG2({type:d,selectors:[["","ngSwitchDefault",""]],standalone:!0}),E})(),ar=(()=>{var d;class E{constructor(_,O,j){this._ngEl=_,this._differs=O,this._renderer=j,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(_,O){const[j,ve]=_.split("."),Ue=-1===j.indexOf("-")?void 0:m.JOm.DashCase;null!=O?this._renderer.setStyle(this._ngEl.nativeElement,j,ve?`${O}${ve}`:O,Ue):this._renderer.removeStyle(this._ngEl.nativeElement,j,Ue)}_applyChanges(_){_.forEachRemovedItem(O=>this._setStyle(O.key,null)),_.forEachAddedItem(O=>this._setStyle(O.key,O.currentValue)),_.forEachChangedItem(O=>this._setStyle(O.key,O.currentValue))}}return(d=E).\u0275fac=function(_){return new(_||d)(m.Y36(m.SBq),m.Y36(m.aQg),m.Y36(m.Qsj))},d.\u0275dir=m.lG2({type:d,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0}),E})(),qr=(()=>{var d;class E{constructor(_){this._viewContainerRef=_,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(_){if(_.ngTemplateOutlet||_.ngTemplateOutletInjector){const O=this._viewContainerRef;if(this._viewRef&&O.remove(O.indexOf(this._viewRef)),this.ngTemplateOutlet){const{ngTemplateOutlet:j,ngTemplateOutletContext:ve,ngTemplateOutletInjector:Ue}=this;this._viewRef=O.createEmbeddedView(j,ve,Ue?{injector:Ue}:void 0)}else this._viewRef=null}else this._viewRef&&_.ngTemplateOutletContext&&this.ngTemplateOutletContext&&(this._viewRef.context=this.ngTemplateOutletContext)}}return(d=E).\u0275fac=function(_){return new(_||d)(m.Y36(m.s_b))},d.\u0275dir=m.lG2({type:d,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[m.TTD]}),E})();function gr(d,E){return new m.vHH(2100,!1)}class zs{createSubscription(E,R){return(0,m.rg0)(()=>E.subscribe({next:R,error:_=>{throw _}}))}dispose(E){(0,m.rg0)(()=>E.unsubscribe())}}class Ro{createSubscription(E,R){return E.then(R,_=>{throw _})}dispose(E){}}const Is=new Ro,As=new zs;let ys=(()=>{var d;class E{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(_,O=>this._updateLatestValue(_,O))}_selectStrategy(_){if((0,m.QGY)(_))return Is;if((0,m.F4k)(_))return As;throw gr()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(_,O){_===this._obj&&(this._latestValue=O,this._ref.markForCheck())}}return(d=E).\u0275fac=function(_){return new(_||d)(m.Y36(m.sBO,16))},d.\u0275pipe=m.Yjl({name:"async",type:d,pure:!1,standalone:!0}),E})();const pn=new m.OlP("DATE_PIPE_DEFAULT_TIMEZONE"),Mn=new m.OlP("DATE_PIPE_DEFAULT_OPTIONS");let jn=(()=>{var d;class E{constructor(_,O,j){this.locale=_,this.defaultTimezone=O,this.defaultOptions=j}transform(_,O,j,ve){if(null==_||""===_||_!=_)return null;try{return gn(_,O??this.defaultOptions?.dateFormat??"mediumDate",ve||this.locale,j??this.defaultOptions?.timezone??this.defaultTimezone??void 0)}catch(Ue){throw gr()}}}return(d=E).\u0275fac=function(_){return new(_||d)(m.Y36(m.soG,16),m.Y36(pn,24),m.Y36(Mn,24))},d.\u0275pipe=m.Yjl({name:"date",type:d,pure:!0,standalone:!0}),E})(),Gs=(()=>{var d;class E{transform(_){return JSON.stringify(_,null,2)}}return(d=E).\u0275fac=function(_){return new(_||d)},d.\u0275pipe=m.Yjl({name:"json",type:d,pure:!1,standalone:!0}),E})(),fo=(()=>{var d;class E{constructor(_){this.differs=_,this.keyValues=[],this.compareFn=Xt}transform(_,O=Xt){if(!_||!(_ instanceof Map)&&"object"!=typeof _)return null;this.differ||(this.differ=this.differs.find(_).create());const j=this.differ.diff(_),ve=O!==this.compareFn;return j&&(this.keyValues=[],j.forEachItem(Ue=>{this.keyValues.push(function Cr(d,E){return{key:d,value:E}}(Ue.key,Ue.currentValue))})),(j||ve)&&(this.keyValues.sort(O),this.compareFn=O),this.keyValues}}return(d=E).\u0275fac=function(_){return new(_||d)(m.Y36(m.aQg,16))},d.\u0275pipe=m.Yjl({name:"keyvalue",type:d,pure:!1,standalone:!0}),E})();function Xt(d,E){const R=d.key,_=E.key;if(R===_)return 0;if(void 0===R)return 1;if(void 0===_)return-1;if(null===R)return 1;if(null===_)return-1;if("string"==typeof R&&"string"==typeof _)return R<_?-1:1;if("number"==typeof R&&"number"==typeof _)return R-_;if("boolean"==typeof R&&"boolean"==typeof _)return R<_?-1:1;const O=String(R),j=String(_);return O==j?0:O<j?-1:1}let We=(()=>{var d;class E{constructor(_){this._locale=_}transform(_,O,j){if(!function Pn(d){return!(null==d||""===d||d!=d)}(_))return null;j=j||this._locale;try{return function re(d,E,R){return function z(d,E,R,_,O,j,ve=!1){let Ue="",yt=!1;if(isFinite(d)){let Rt=function Je(d){let _,O,j,ve,Ue,E=Math.abs(d)+"",R=0;for((O=E.indexOf("."))>-1&&(E=E.replace(".","")),(j=E.search(/e/i))>0?(O<0&&(O=j),O+=+E.slice(j+1),E=E.substring(0,j)):O<0&&(O=E.length),j=0;"0"===E.charAt(j);j++);if(j===(Ue=E.length))_=[0],O=1;else{for(Ue--;"0"===E.charAt(Ue);)Ue--;for(O-=j,_=[],ve=0;j<=Ue;j++,ve++)_[ve]=Number(E.charAt(j))}return O>22&&(_=_.splice(0,21),R=O-1,O=1),{digits:_,exponent:R,integerLen:O}}(d);ve&&(Rt=function Oe(d){if(0===d.digits[0])return d;const E=d.digits.length-d.integerLen;return d.exponent?d.exponent+=2:(0===E?d.digits.push(0,0):1===E&&d.digits.push(0),d.integerLen+=2),d}(Rt));let Pt=E.minInt,Et=E.minFrac,ln=E.maxFrac;if(j){const on=j.match(H);if(null===on)throw new Error(`${j} is not a valid digit info`);const Tn=on[1],Un=on[3],fs=on[5];null!=Tn&&(Pt=Lt(Tn)),null!=Un&&(Et=Lt(Un)),null!=fs?ln=Lt(fs):null!=Un&&Et>ln&&(ln=Et)}!function je(d,E,R){if(E>R)throw new Error(`The minimum number of digits after fraction (${E}) is higher than the maximum (${R}).`);let _=d.digits,O=_.length-d.integerLen;const j=Math.min(Math.max(E,O),R);let ve=j+d.integerLen,Ue=_[ve];if(ve>0){_.splice(Math.max(d.integerLen,ve));for(let Et=ve;Et<_.length;Et++)_[Et]=0}else{O=Math.max(0,O),d.integerLen=1,_.length=Math.max(1,ve=j+1),_[0]=0;for(let Et=1;Et<ve;Et++)_[Et]=0}if(Ue>=5)if(ve-1<0){for(let Et=0;Et>ve;Et--)_.unshift(0),d.integerLen++;_.unshift(1),d.integerLen++}else _[ve-1]++;for(;O<Math.max(0,j);O++)_.push(0);let yt=0!==j;const Rt=E+d.integerLen,Pt=_.reduceRight(function(Et,ln,$t,un){return un[$t]=(ln+=Et)<10?ln:ln-10,yt&&(0===un[$t]&&$t>=Rt?un.pop():yt=!1),ln>=10?1:0},0);Pt&&(_.unshift(Pt),d.integerLen++)}(Rt,Et,ln);let $t=Rt.digits,un=Rt.integerLen;const Xn=Rt.exponent;let mr=[];for(yt=$t.every(on=>!on);un<Pt;un++)$t.unshift(0);for(;un<0;un++)$t.unshift(0);un>0?mr=$t.splice(un,$t.length):(mr=$t,$t=[0]);const Ur=[];for($t.length>=E.lgSize&&Ur.unshift($t.splice(-E.lgSize,$t.length).join(""));$t.length>E.gSize;)Ur.unshift($t.splice(-E.gSize,$t.length).join(""));$t.length&&Ur.unshift($t.join("")),Ue=Ur.join(Ne(R,_)),mr.length&&(Ue+=Ne(R,O)+mr.join("")),Xn&&(Ue+=Ne(R,tt.Exponential)+"+"+Xn)}else Ue=Ne(R,tt.Infinity);return Ue=d<0&&!yt?E.negPre+Ue+E.negSuf:E.posPre+Ue+E.posSuf,Ue}(d,function He(d,E="-"){const R={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},_=d.split(";"),O=_[0],j=_[1],ve=-1!==O.indexOf(".")?O.split("."):[O.substring(0,O.lastIndexOf("0")+1),O.substring(O.lastIndexOf("0")+1)],Ue=ve[0],yt=ve[1]||"";R.posPre=Ue.substring(0,Ue.indexOf("#"));for(let Pt=0;Pt<yt.length;Pt++){const Et=yt.charAt(Pt);"0"===Et?R.minFrac=R.maxFrac=Pt+1:"#"===Et?R.maxFrac=Pt+1:R.posSuf+=Et}const Rt=Ue.split(",");if(R.gSize=Rt[1]?Rt[1].length:0,R.lgSize=Rt[2]||Rt[1]?(Rt[2]||Rt[1]).length:0,j){const Pt=O.length-R.posPre.length-R.posSuf.length,Et=j.indexOf("#");R.negPre=j.substring(0,Et).replace(/'/g,""),R.negSuf=j.slice(Et+Pt).replace(/'/g,"")}else R.negPre=E+R.posPre,R.negSuf=R.posSuf;return R}(function xe(d,E){return(0,m.cg1)(d)[m.wAp.NumberFormats][E]}(E,ie.Decimal),Ne(E,tt.MinusSign)),E,tt.Group,tt.Decimal,R)}(function wr(d){if("string"==typeof d&&!isNaN(Number(d)-parseFloat(d)))return Number(d);if("number"!=typeof d)throw new Error(`${d} is not a number`);return d}(_),j,O)}catch(ve){throw gr()}}}return(d=E).\u0275fac=function(_){return new(_||d)(m.Y36(m.soG,16))},d.\u0275pipe=m.Yjl({name:"number",type:d,pure:!0,standalone:!0}),E})();let vn=(()=>{var d;class E{transform(_,O,j){if(null==_)return null;if(!this.supports(_))throw gr();return _.slice(O,j)}supports(_){return"string"==typeof _||Array.isArray(_)}}return(d=E).\u0275fac=function(_){return new(_||d)},d.\u0275pipe=m.Yjl({name:"slice",type:d,pure:!1,standalone:!0}),E})(),sn=(()=>{var d;class E{}return(d=E).\u0275fac=function(_){return new(_||d)},d.\u0275mod=m.oAB({type:d}),d.\u0275inj=m.cJS({}),E})();const lr="browser",is="server";function ko(d){return d===lr}function Ds(d){return d===is}let qn=(()=>{var d;class E{}return(d=E).\u0275prov=(0,m.Yz7)({token:d,providedIn:"root",factory:()=>new Es((0,m.LFG)(U),window)}),E})();class Es{constructor(E,R){this.document=E,this.window=R,this.offset=()=>[0,0]}setOffset(E){this.offset=Array.isArray(E)?()=>E:E}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(E){this.supportsScrolling()&&this.window.scrollTo(E[0],E[1])}scrollToAnchor(E){if(!this.supportsScrolling())return;const R=function ho(d,E){const R=d.getElementById(E)||d.getElementsByName(E)[0];if(R)return R;if("function"==typeof d.createTreeWalker&&d.body&&"function"==typeof d.body.attachShadow){const _=d.createTreeWalker(d.body,NodeFilter.SHOW_ELEMENT);let O=_.currentNode;for(;O;){const j=O.shadowRoot;if(j){const ve=j.getElementById(E)||j.querySelector(`[name="${E}"]`);if(ve)return ve}O=_.nextNode()}}return null}(this.document,E);R&&(this.scrollToElement(R),R.focus())}setHistoryScrollRestoration(E){this.supportsScrolling()&&(this.window.history.scrollRestoration=E)}scrollToElement(E){const R=E.getBoundingClientRect(),_=R.left+this.window.pageXOffset,O=R.top+this.window.pageYOffset,j=this.offset();this.window.scrollTo(_-j[0],O-j[1])}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch{return!1}}}class Jr{}},9862:(Ye,oe,M)=>{M.d(oe,{JF:()=>H,TP:()=>Z,WM:()=>Le,eN:()=>le});var m=M(5879),w=M(2096),te=M(7715),x=M(5592),I=M(6328),U=M(2181),G=M(7398),X=M(4716),se=M(4664),W=M(6814);class ne{}class de{}class Le{constructor(L){this.normalizedNames=new Map,this.lazyUpdate=null,L?"string"==typeof L?this.lazyInit=()=>{this.headers=new Map,L.split("\n").forEach(ae=>{const re=ae.indexOf(":");if(re>0){const He=ae.slice(0,re),Oe=He.toLowerCase(),Je=ae.slice(re+1).trim();this.maybeSetNormalizedName(He,Oe),this.headers.has(Oe)?this.headers.get(Oe).push(Je):this.headers.set(Oe,[Je])}})}:typeof Headers<"u"&&L instanceof Headers?(this.headers=new Map,L.forEach((ae,re)=>{this.setHeaderEntries(re,ae)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(L).forEach(([ae,re])=>{this.setHeaderEntries(ae,re)})}:this.headers=new Map}has(L){return this.init(),this.headers.has(L.toLowerCase())}get(L){this.init();const ae=this.headers.get(L.toLowerCase());return ae&&ae.length>0?ae[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(L){return this.init(),this.headers.get(L.toLowerCase())||null}append(L,ae){return this.clone({name:L,value:ae,op:"a"})}set(L,ae){return this.clone({name:L,value:ae,op:"s"})}delete(L,ae){return this.clone({name:L,value:ae,op:"d"})}maybeSetNormalizedName(L,ae){this.normalizedNames.has(ae)||this.normalizedNames.set(ae,L)}init(){this.lazyInit&&(this.lazyInit instanceof Le?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(L=>this.applyUpdate(L)),this.lazyUpdate=null))}copyFrom(L){L.init(),Array.from(L.headers.keys()).forEach(ae=>{this.headers.set(ae,L.headers.get(ae)),this.normalizedNames.set(ae,L.normalizedNames.get(ae))})}clone(L){const ae=new Le;return ae.lazyInit=this.lazyInit&&this.lazyInit instanceof Le?this.lazyInit:this,ae.lazyUpdate=(this.lazyUpdate||[]).concat([L]),ae}applyUpdate(L){const ae=L.name.toLowerCase();switch(L.op){case"a":case"s":let re=L.value;if("string"==typeof re&&(re=[re]),0===re.length)return;this.maybeSetNormalizedName(L.name,ae);const He=("a"===L.op?this.headers.get(ae):void 0)||[];He.push(...re),this.headers.set(ae,He);break;case"d":const Oe=L.value;if(Oe){let Je=this.headers.get(ae);if(!Je)return;Je=Je.filter(je=>-1===Oe.indexOf(je)),0===Je.length?(this.headers.delete(ae),this.normalizedNames.delete(ae)):this.headers.set(ae,Je)}else this.headers.delete(ae),this.normalizedNames.delete(ae)}}setHeaderEntries(L,ae){const re=(Array.isArray(ae)?ae:[ae]).map(Oe=>Oe.toString()),He=L.toLowerCase();this.headers.set(He,re),this.maybeSetNormalizedName(L,He)}forEach(L){this.init(),Array.from(this.normalizedNames.keys()).forEach(ae=>L(this.normalizedNames.get(ae),this.headers.get(ae)))}}class Te{encodeKey(L){return rt(L)}encodeValue(L){return rt(L)}decodeKey(L){return decodeURIComponent(L)}decodeValue(L){return decodeURIComponent(L)}}const Be=/%(\d[a-f0-9])/gi,Xe={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function rt(z){return encodeURIComponent(z).replace(Be,(L,ae)=>Xe[ae]??L)}function Ce(z){return`${z}`}class F{constructor(L={}){if(this.updates=null,this.cloneFrom=null,this.encoder=L.encoder||new Te,L.fromString){if(L.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function be(z,L){const ae=new Map;return z.length>0&&z.replace(/^\?/,"").split("&").forEach(He=>{const Oe=He.indexOf("="),[Je,je]=-1==Oe?[L.decodeKey(He),""]:[L.decodeKey(He.slice(0,Oe)),L.decodeValue(He.slice(Oe+1))],Lt=ae.get(Je)||[];Lt.push(je),ae.set(Je,Lt)}),ae}(L.fromString,this.encoder)}else L.fromObject?(this.map=new Map,Object.keys(L.fromObject).forEach(ae=>{const re=L.fromObject[ae],He=Array.isArray(re)?re.map(Ce):[Ce(re)];this.map.set(ae,He)})):this.map=null}has(L){return this.init(),this.map.has(L)}get(L){this.init();const ae=this.map.get(L);return ae?ae[0]:null}getAll(L){return this.init(),this.map.get(L)||null}keys(){return this.init(),Array.from(this.map.keys())}append(L,ae){return this.clone({param:L,value:ae,op:"a"})}appendAll(L){const ae=[];return Object.keys(L).forEach(re=>{const He=L[re];Array.isArray(He)?He.forEach(Oe=>{ae.push({param:re,value:Oe,op:"a"})}):ae.push({param:re,value:He,op:"a"})}),this.clone(ae)}set(L,ae){return this.clone({param:L,value:ae,op:"s"})}delete(L,ae){return this.clone({param:L,value:ae,op:"d"})}toString(){return this.init(),this.keys().map(L=>{const ae=this.encoder.encodeKey(L);return this.map.get(L).map(re=>ae+"="+this.encoder.encodeValue(re)).join("&")}).filter(L=>""!==L).join("&")}clone(L){const ae=new F({encoder:this.encoder});return ae.cloneFrom=this.cloneFrom||this,ae.updates=(this.updates||[]).concat(L),ae}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(L=>this.map.set(L,this.cloneFrom.map.get(L))),this.updates.forEach(L=>{switch(L.op){case"a":case"s":const ae=("a"===L.op?this.map.get(L.param):void 0)||[];ae.push(Ce(L.value)),this.map.set(L.param,ae);break;case"d":if(void 0===L.value){this.map.delete(L.param);break}{let re=this.map.get(L.param)||[];const He=re.indexOf(Ce(L.value));-1!==He&&re.splice(He,1),re.length>0?this.map.set(L.param,re):this.map.delete(L.param)}}}),this.cloneFrom=this.updates=null)}}class ie{constructor(){this.map=new Map}set(L,ae){return this.map.set(L,ae),this}get(L){return this.map.has(L)||this.map.set(L,L.defaultValue()),this.map.get(L)}delete(L){return this.map.delete(L),this}has(L){return this.map.has(L)}keys(){return this.map.keys()}}function we(z){return typeof ArrayBuffer<"u"&&z instanceof ArrayBuffer}function Ae(z){return typeof Blob<"u"&&z instanceof Blob}function $e(z){return typeof FormData<"u"&&z instanceof FormData}class Dt{constructor(L,ae,re,He){let Oe;if(this.url=ae,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=L.toUpperCase(),function ke(z){switch(z){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||He?(this.body=void 0!==re?re:null,Oe=He):Oe=re,Oe&&(this.reportProgress=!!Oe.reportProgress,this.withCredentials=!!Oe.withCredentials,Oe.responseType&&(this.responseType=Oe.responseType),Oe.headers&&(this.headers=Oe.headers),Oe.context&&(this.context=Oe.context),Oe.params&&(this.params=Oe.params)),this.headers||(this.headers=new Le),this.context||(this.context=new ie),this.params){const Je=this.params.toString();if(0===Je.length)this.urlWithParams=ae;else{const je=ae.indexOf("?");this.urlWithParams=ae+(-1===je?"?":je<ae.length-1?"&":"")+Je}}else this.params=new F,this.urlWithParams=ae}serializeBody(){return null===this.body?null:we(this.body)||Ae(this.body)||$e(this.body)||function tt(z){return typeof URLSearchParams<"u"&&z instanceof URLSearchParams}(this.body)||"string"==typeof this.body?this.body:this.body instanceof F?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||$e(this.body)?null:Ae(this.body)?this.body.type||null:we(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof F?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||"boolean"==typeof this.body?"application/json":null}clone(L={}){const ae=L.method||this.method,re=L.url||this.url,He=L.responseType||this.responseType,Oe=void 0!==L.body?L.body:this.body,Je=void 0!==L.withCredentials?L.withCredentials:this.withCredentials,je=void 0!==L.reportProgress?L.reportProgress:this.reportProgress;let Lt=L.headers||this.headers,wt=L.params||this.params;const Cn=L.context??this.context;return void 0!==L.setHeaders&&(Lt=Object.keys(L.setHeaders).reduce((An,rn)=>An.set(rn,L.setHeaders[rn]),Lt)),L.setParams&&(wt=Object.keys(L.setParams).reduce((An,rn)=>An.set(rn,L.setParams[rn]),wt)),new Dt(ae,re,Oe,{params:wt,headers:Lt,context:Cn,reportProgress:je,responseType:He,withCredentials:Je})}}var cn=function(z){return z[z.Sent=0]="Sent",z[z.UploadProgress=1]="UploadProgress",z[z.ResponseHeader=2]="ResponseHeader",z[z.DownloadProgress=3]="DownloadProgress",z[z.Response=4]="Response",z[z.User=5]="User",z}(cn||{});class _n{constructor(L,ae=200,re="OK"){this.headers=L.headers||new Le,this.status=void 0!==L.status?L.status:ae,this.statusText=L.statusText||re,this.url=L.url||null,this.ok=this.status>=200&&this.status<300}}class dn extends _n{constructor(L={}){super(L),this.type=cn.ResponseHeader}clone(L={}){return new dn({headers:L.headers||this.headers,status:void 0!==L.status?L.status:this.status,statusText:L.statusText||this.statusText,url:L.url||this.url||void 0})}}class Wt extends _n{constructor(L={}){super(L),this.type=cn.Response,this.body=void 0!==L.body?L.body:null}clone(L={}){return new Wt({body:void 0!==L.body?L.body:this.body,headers:L.headers||this.headers,status:void 0!==L.status?L.status:this.status,statusText:L.statusText||this.statusText,url:L.url||this.url||void 0})}}class Vt extends _n{constructor(L){super(L,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${L.url||"(unknown url)"}`:`Http failure response for ${L.url||"(unknown url)"}: ${L.status} ${L.statusText}`,this.error=L.error||null}}function nn(z,L){return{body:L,headers:z.headers,context:z.context,observe:z.observe,params:z.params,reportProgress:z.reportProgress,responseType:z.responseType,withCredentials:z.withCredentials}}let le=(()=>{var z;class L{constructor(re){this.handler=re}request(re,He,Oe={}){let Je;if(re instanceof Dt)Je=re;else{let wt,Cn;wt=Oe.headers instanceof Le?Oe.headers:new Le(Oe.headers),Oe.params&&(Cn=Oe.params instanceof F?Oe.params:new F({fromObject:Oe.params})),Je=new Dt(re,He,void 0!==Oe.body?Oe.body:null,{headers:wt,context:Oe.context,params:Cn,reportProgress:Oe.reportProgress,responseType:Oe.responseType||"json",withCredentials:Oe.withCredentials})}const je=(0,w.of)(Je).pipe((0,I.b)(wt=>this.handler.handle(wt)));if(re instanceof Dt||"events"===Oe.observe)return je;const Lt=je.pipe((0,U.h)(wt=>wt instanceof Wt));switch(Oe.observe||"body"){case"body":switch(Je.responseType){case"arraybuffer":return Lt.pipe((0,G.U)(wt=>{if(null!==wt.body&&!(wt.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return wt.body}));case"blob":return Lt.pipe((0,G.U)(wt=>{if(null!==wt.body&&!(wt.body instanceof Blob))throw new Error("Response is not a Blob.");return wt.body}));case"text":return Lt.pipe((0,G.U)(wt=>{if(null!==wt.body&&"string"!=typeof wt.body)throw new Error("Response is not a string.");return wt.body}));default:return Lt.pipe((0,G.U)(wt=>wt.body))}case"response":return Lt;default:throw new Error(`Unreachable: unhandled observe type ${Oe.observe}}`)}}delete(re,He={}){return this.request("DELETE",re,He)}get(re,He={}){return this.request("GET",re,He)}head(re,He={}){return this.request("HEAD",re,He)}jsonp(re,He){return this.request("JSONP",re,{params:(new F).append(He,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(re,He={}){return this.request("OPTIONS",re,He)}patch(re,He,Oe={}){return this.request("PATCH",re,nn(Oe,He))}post(re,He,Oe={}){return this.request("POST",re,nn(Oe,He))}put(re,He,Oe={}){return this.request("PUT",re,nn(Oe,He))}}return(z=L).\u0275fac=function(re){return new(re||z)(m.LFG(ne))},z.\u0275prov=m.Yz7({token:z,factory:z.\u0275fac}),L})();function ye(z,L){return L(z)}function _e(z,L){return(ae,re)=>L.intercept(ae,{handle:He=>z(He,re)})}const Z=new m.OlP(""),Ze=new m.OlP(""),ot=new m.OlP("");function Kt(){let z=null;return(L,ae)=>{null===z&&(z=((0,m.f3M)(Z,{optional:!0})??[]).reduceRight(_e,ye));const re=(0,m.f3M)(m.HDt),He=re.add();return z(L,ae).pipe((0,X.x)(()=>re.remove(He)))}}let It=(()=>{var z;class L extends ne{constructor(re,He){super(),this.backend=re,this.injector=He,this.chain=null,this.pendingTasks=(0,m.f3M)(m.HDt)}handle(re){if(null===this.chain){const Oe=Array.from(new Set([...this.injector.get(Ze),...this.injector.get(ot,[])]));this.chain=Oe.reduceRight((Je,je)=>function K(z,L,ae){return(re,He)=>ae.runInContext(()=>L(re,Oe=>z(Oe,He)))}(Je,je,this.injector),ye)}const He=this.pendingTasks.add();return this.chain(re,Oe=>this.backend.handle(Oe)).pipe((0,X.x)(()=>this.pendingTasks.remove(He)))}}return(z=L).\u0275fac=function(re){return new(re||z)(m.LFG(de),m.LFG(m.lqb))},z.\u0275prov=m.Yz7({token:z,factory:z.\u0275fac}),L})();const Or=/^\)\]\}',?\n/;let xt=(()=>{var z;class L{constructor(re){this.xhrFactory=re}handle(re){if("JSONP"===re.method)throw new m.vHH(-2800,!1);const He=this.xhrFactory;return(He.\u0275loadImpl?(0,te.D)(He.\u0275loadImpl()):(0,w.of)(null)).pipe((0,se.w)(()=>new x.y(Je=>{const je=He.build();if(je.open(re.method,re.urlWithParams),re.withCredentials&&(je.withCredentials=!0),re.headers.forEach((Ot,Yt)=>je.setRequestHeader(Ot,Yt.join(","))),re.headers.has("Accept")||je.setRequestHeader("Accept","application/json, text/plain, */*"),!re.headers.has("Content-Type")){const Ot=re.detectContentTypeHeader();null!==Ot&&je.setRequestHeader("Content-Type",Ot)}if(re.responseType){const Ot=re.responseType.toLowerCase();je.responseType="json"!==Ot?Ot:"text"}const Lt=re.serializeBody();let wt=null;const Cn=()=>{if(null!==wt)return wt;const Ot=je.statusText||"OK",Yt=new Le(je.getAllResponseHeaders()),On=function Bn(z){return"responseURL"in z&&z.responseURL?z.responseURL:/^X-Request-URL:/m.test(z.getAllResponseHeaders())?z.getResponseHeader("X-Request-URL"):null}(je)||re.url;return wt=new dn({headers:Yt,status:je.status,statusText:Ot,url:On}),wt},An=()=>{let{headers:Ot,status:Yt,statusText:On,url:or}=Cn(),Jt=null;204!==Yt&&(Jt=typeof je.response>"u"?je.responseText:je.response),0===Yt&&(Yt=Jt?200:0);let ir=Yt>=200&&Yt<300;if("json"===re.responseType&&"string"==typeof Jt){const Yr=Jt;Jt=Jt.replace(Or,"");try{Jt=""!==Jt?JSON.parse(Jt):null}catch(En){Jt=Yr,ir&&(ir=!1,Jt={error:En,text:Jt})}}ir?(Je.next(new Wt({body:Jt,headers:Ot,status:Yt,statusText:On,url:or||void 0})),Je.complete()):Je.error(new Vt({error:Jt,headers:Ot,status:Yt,statusText:On,url:or||void 0}))},rn=Ot=>{const{url:Yt}=Cn(),On=new Vt({error:Ot,status:je.status||0,statusText:je.statusText||"Unknown Error",url:Yt||void 0});Je.error(On)};let Kn=!1;const _r=Ot=>{Kn||(Je.next(Cn()),Kn=!0);let Yt={type:cn.DownloadProgress,loaded:Ot.loaded};Ot.lengthComputable&&(Yt.total=Ot.total),"text"===re.responseType&&je.responseText&&(Yt.partialText=je.responseText),Je.next(Yt)},Dr=Ot=>{let Yt={type:cn.UploadProgress,loaded:Ot.loaded};Ot.lengthComputable&&(Yt.total=Ot.total),Je.next(Yt)};return je.addEventListener("load",An),je.addEventListener("error",rn),je.addEventListener("timeout",rn),je.addEventListener("abort",rn),re.reportProgress&&(je.addEventListener("progress",_r),null!==Lt&&je.upload&&je.upload.addEventListener("progress",Dr)),je.send(Lt),Je.next({type:cn.Sent}),()=>{je.removeEventListener("error",rn),je.removeEventListener("abort",rn),je.removeEventListener("load",An),je.removeEventListener("timeout",rn),re.reportProgress&&(je.removeEventListener("progress",_r),null!==Lt&&je.upload&&je.upload.removeEventListener("progress",Dr)),je.readyState!==je.DONE&&je.abort()}})))}}return(z=L).\u0275fac=function(re){return new(re||z)(m.LFG(W.JF))},z.\u0275prov=m.Yz7({token:z,factory:z.\u0275fac}),L})();const mt=new m.OlP("XSRF_ENABLED"),zt=new m.OlP("XSRF_COOKIE_NAME",{providedIn:"root",factory:()=>"XSRF-TOKEN"}),Ft=new m.OlP("XSRF_HEADER_NAME",{providedIn:"root",factory:()=>"X-XSRF-TOKEN"});class pr{}let Pr=(()=>{var z;class L{constructor(re,He,Oe){this.doc=re,this.platform=He,this.cookieName=Oe,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const re=this.doc.cookie||"";return re!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,W.Mx)(re,this.cookieName),this.lastCookieString=re),this.lastToken}}return(z=L).\u0275fac=function(re){return new(re||z)(m.LFG(W.K0),m.LFG(m.Lbi),m.LFG(zt))},z.\u0275prov=m.Yz7({token:z,factory:z.\u0275fac}),L})();function Gr(z,L){const ae=z.url.toLowerCase();if(!(0,m.f3M)(mt)||"GET"===z.method||"HEAD"===z.method||ae.startsWith("http://")||ae.startsWith("https://"))return L(z);const re=(0,m.f3M)(pr).getToken(),He=(0,m.f3M)(Ft);return null!=re&&!z.headers.has(He)&&(z=z.clone({headers:z.headers.set(He,re)})),L(z)}var bn=function(z){return z[z.Interceptors=0]="Interceptors",z[z.LegacyInterceptors=1]="LegacyInterceptors",z[z.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",z[z.NoXsrfProtection=3]="NoXsrfProtection",z[z.JsonpSupport=4]="JsonpSupport",z[z.RequestsMadeViaParent=5]="RequestsMadeViaParent",z[z.Fetch=6]="Fetch",z}(bn||{});function Gn(z,L){return{\u0275kind:z,\u0275providers:L}}function Wr(...z){const L=[le,xt,It,{provide:ne,useExisting:It},{provide:de,useExisting:xt},{provide:Ze,useValue:Gr,multi:!0},{provide:mt,useValue:!0},{provide:pr,useClass:Pr}];for(const ae of z)L.push(...ae.\u0275providers);return(0,m.MR2)(L)}const Wn=new m.OlP("LEGACY_INTERCEPTOR_FN");let H=(()=>{var z;class L{}return(z=L).\u0275fac=function(re){return new(re||z)},z.\u0275mod=m.oAB({type:z}),z.\u0275inj=m.cJS({providers:[Wr(Gn(bn.LegacyInterceptors,[{provide:Wn,useFactory:Kt},{provide:Ze,useExisting:Wn,multi:!0}]))]}),L})()},5879:(Ye,oe,M)=>{M.d(oe,{$8M:()=>$u,$WT:()=>jn,$Z:()=>sp,AFp:()=>bh,ALo:()=>Hm,AaK:()=>de,Akn:()=>Bs,AsE:()=>Ed,BQk:()=>gu,CHM:()=>Aa,CRH:()=>ov,DdM:()=>Om,Dn7:()=>zm,EJc:()=>wb,EiD:()=>hh,EpF:()=>qp,F$t:()=>ng,F4k:()=>Qp,FYo:()=>Ph,FiY:()=>Tl,G48:()=>sM,Gf:()=>rv,GfV:()=>Rh,GkF:()=>ud,Gpc:()=>Te,Gre:()=>Fg,HDt:()=>Iv,Hsn:()=>rg,Ikx:()=>Cd,JOm:()=>xl,JVY:()=>k_,JZr:()=>Ce,KtG:()=>ri,L6k:()=>L_,LAX:()=>j_,LFG:()=>Ge,LSH:()=>hc,Lbi:()=>Cc,Lck:()=>mw,MAs:()=>Kp,MGl:()=>mu,MMx:()=>Cm,MR2:()=>gc,NdJ:()=>dd,O4$:()=>at,Ojb:()=>fD,OlP:()=>Qt,Oqu:()=>Dd,P3R:()=>mh,PXZ:()=>qb,Q6J:()=>id,QGY:()=>cd,QbO:()=>dD,Qsj:()=>SD,R0b:()=>hr,RDi:()=>A_,Rgc:()=>dl,SBq:()=>Ka,Sil:()=>Tb,Suo:()=>sv,TTD:()=>Pt,TgZ:()=>fu,Tol:()=>_g,Udp:()=>vd,VKq:()=>Pm,VuI:()=>RM,W1O:()=>uv,WFA:()=>fd,WLB:()=>Rm,XFs:()=>lt,Xpm:()=>zs,Xq5:()=>Pp,Xts:()=>Va,Y36:()=>Ji,YKP:()=>Dm,YNc:()=>zp,Yjl:()=>_s,Yz7:()=>Z,Z0I:()=>It,ZZ4:()=>nf,_Bn:()=>_m,_UZ:()=>ld,_Vd:()=>Wa,_c5:()=>DM,_uU:()=>Tg,aQg:()=>rf,c2e:()=>Sv,cJS:()=>ot,cg1:()=>bd,d8E:()=>wd,dDg:()=>Wb,dqk:()=>xt,eBb:()=>B_,eFA:()=>Bv,eJc:()=>Ud,ekj:()=>yd,eoX:()=>xv,f3M:()=>st,g9A:()=>Mh,h0i:()=>hi,hGG:()=>EM,hij:()=>_u,iGM:()=>nv,ifc:()=>Oe,ip1:()=>Tv,jDz:()=>wm,kEZ:()=>Nm,kL8:()=>Gg,kcU:()=>Bt,l5B:()=>xm,lG2:()=>No,lcZ:()=>$m,lqb:()=>so,lri:()=>Rv,mCW:()=>Vl,n5z:()=>vf,n_E:()=>bu,oAB:()=>ys,oJD:()=>ph,oxw:()=>tg,pB0:()=>U_,q3G:()=>li,qFp:()=>xM,qLn:()=>Vo,qOj:()=>Jc,qZA:()=>hu,qbA:()=>Fm,qzn:()=>Gi,rWj:()=>Nv,rg0:()=>O,s9C:()=>hd,sBO:()=>oM,s_b:()=>Su,soG:()=>Au,tb:()=>qd,tp0:()=>Sl,uIk:()=>ed,vHH:()=>F,vpe:()=>oo,wAp:()=>da,xi3:()=>Vm,xp6:()=>np,ynx:()=>pu,z2F:()=>ga,z3N:()=>So,zSh:()=>yc,zs3:()=>Ls});var m=M(8645),w=M(7394),te=M(5592),x=M(3019),I=M(5619),U=M(2096),G=M(3020),X=M(4664),se=M(3997);function W(e){for(let t in e)if(e[t]===W)return t;throw Error("Could not find renamed property on target object.")}function ne(e,t){for(const n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function de(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(de).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 Le(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const Me=W({__forward_ref__:W});function Te(e){return e.__forward_ref__=Te,e.toString=function(){return de(this())},e}function be(e){return Be(e)?e():e}function Be(e){return"function"==typeof e&&e.hasOwnProperty(Me)&&e.__forward_ref__===Te}function Xe(e){return e&&!!e.\u0275providers}const Ce="https://g.co/ng/security#xss";class F extends Error{constructor(t,n){super(function he(e,t){return`NG0${Math.abs(e)}${t?": "+t:""}`}(t,n)),this.code=t}}function ie(e){return"string"==typeof e?e:null==e?"":String(e)}function tt(e,t){throw new F(-201,!1)}function et(e,t){null==e&&function Q(e,t,n,r){throw new Error(`ASSERTION ERROR: ${e}`+(null==r?"":` [Expected=> ${n} ${r} ${t} <=Actual]`))}(t,e,null,"!=")}function Z(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function ot(e){return{providers:e.providers||[],imports:e.imports||[]}}function Kt(e){return Qe(e,Dn)||Qe(e,zn)}function It(e){return null!==Kt(e)}function Qe(e,t){return e.hasOwnProperty(t)?e[t]:null}function Ln(e){return e&&(e.hasOwnProperty(Ar)||e.hasOwnProperty(In))?e[Ar]:null}const Dn=W({\u0275prov:W}),Ar=W({\u0275inj:W}),zn=W({ngInjectableDef:W}),In=W({ngInjectorDef:W});var lt=function(e){return e[e.Default=0]="Default",e[e.Host=1]="Host",e[e.Self=2]="Self",e[e.SkipSelf=4]="SkipSelf",e[e.Optional=8]="Optional",e}(lt||{});let vt;function gn(e){const t=vt;return vt=e,t}function Or(e,t,n){const r=Kt(e);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:n&lt.Optional?null:void 0!==t?t:void tt(de(e))}const xt=globalThis,Wn={},Nr="__NG_DI_FLAG__",Kr="ngTempTokenPath",uo=/\n/gm,V="__source";let ue;function ee(e){const t=ue;return ue=e,t}function Re(e,t=lt.Default){if(void 0===ue)throw new F(-203,!1);return null===ue?Or(e,void 0,t):ue.get(e,t&lt.Optional?null:void 0,t)}function Ge(e,t=lt.Default){return(function bt(){return vt}()||Re)(be(e),t)}function st(e,t=lt.Default){return Ge(e,jt(t))}function jt(e){return typeof e>"u"||"number"==typeof e?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function fn(e){const t=[];for(let n=0;n<e.length;n++){const r=be(e[n]);if(Array.isArray(r)){if(0===r.length)throw new F(900,!1);let s,o=lt.Default;for(let a=0;a<r.length;a++){const c=r[a],g=z(c);"number"==typeof g?-1===g?s=c.token:o|=g:s=c}t.push(Ge(s,o))}else t.push(Ge(r))}return t}function mn(e,t){return e[Nr]=t,e.prototype[Nr]=t,e}function z(e){return e[Nr]}function re(e){return{toString:e}.toString()}var He=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}(He||{}),Oe=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}(Oe||{});const Je={},je=[],Lt=W({\u0275cmp:W}),wt=W({\u0275dir:W}),Cn=W({\u0275pipe:W}),An=W({\u0275mod:W}),rn=W({\u0275fac:W}),Kn=W({__NG_ELEMENT_ID__:W}),_r=W({__NG_ENV_ID__:W});function Dr(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 o=t.length;if(s+o===r||e.charCodeAt(s+o)<=32)return s}n=s+1}}function Ot(e,t,n){let r=0;for(;r<n.length;){const s=n[r];if("number"==typeof s){if(0!==s)break;r++;const o=n[r++],a=n[r++],c=n[r++];e.setAttribute(t,a,c,o)}else{const o=s,a=n[++r];On(o)?e.setProperty(t,o,a):e.setAttribute(t,o,a),r++}}return r}function Yt(e){return 3===e||4===e||6===e}function On(e){return 64===e.charCodeAt(0)}function or(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||Jt(e,n,s,null,-1===n||2===n?t[++r]:null)}}return e}function Jt(e,t,n,r,s){let o=0,a=e.length;if(-1===t)a=-1;else for(;o<e.length;){const c=e[o++];if("number"==typeof c){if(c===t){a=-1;break}if(c>t){a=o-1;break}}}for(;o<e.length;){const c=e[o];if("number"==typeof c)break;if(c===n){if(null===r)return void(null!==s&&(e[o+1]=s));if(r===e[o+1])return void(e[o+2]=s)}o++,null!==r&&o++,null!==s&&o++}-1!==a&&(e.splice(a,0,t),o=a+1),e.splice(o++,0,n),null!==r&&e.splice(o++,0,r),null!==s&&e.splice(o++,0,s)}const ir="ng-template";function Yr(e,t,n){let r=0,s=!0;for(;r<e.length;){let o=e[r++];if("string"==typeof o&&s){const a=e[r++];if(n&&"class"===o&&-1!==Dr(a.toLowerCase(),t,0))return!0}else{if(1===o){for(;r<e.length&&"string"==typeof(o=e[r++]);)if(o.toLowerCase()===t)return!0;return!1}"number"==typeof o&&(s=!1)}}return!1}function En(e){return 4===e.type&&e.value!==ir}function Yn(e,t,n){return t===(4!==e.type||n?e.value:ir)}function Zn(e,t,n){let r=4;const s=e.attrs||[],o=function gi(e){for(let t=0;t<e.length;t++)if(Yt(e[t]))return t;return e.length}(s);let a=!1;for(let c=0;c<t.length;c++){const g=t[c];if("number"!=typeof g){if(!a)if(4&r){if(r=2|1&r,""!==g&&!Yn(e,g,n)||""===g&&1===t.length){if(hn(r))return!1;a=!0}}else{const b=8&r?g:t[++c];if(8&r&&null!==e.attrs){if(!Yr(e.attrs,b,n)){if(hn(r))return!1;a=!0}continue}const N=xr(8&r?"class":g,s,En(e),n);if(-1===N){if(hn(r))return!1;a=!0;continue}if(""!==b){let $;$=N>o?"":s[N+1].toLowerCase();const q=8&r?$:null;if(q&&-1!==Dr(q,b,0)||2&r&&b!==$){if(hn(r))return!1;a=!0}}}}else{if(!a&&!hn(r)&&!hn(g))return!1;if(a&&hn(g))continue;a=!1,r=g|1&r}}return hn(r)||a}function hn(e){return 0==(1&e)}function xr(e,t,n,r){if(null===t)return-1;let s=0;if(r||!n){let o=!1;for(;s<t.length;){const a=t[s];if(a===e)return s;if(3===a||6===a)o=!0;else{if(1===a||2===a){let c=t[++s];for(;"string"==typeof c;)c=t[++s];continue}if(4===a)break;if(0===a){s+=4;continue}}s+=o?1:2}return-1}return function co(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 Er(e,t,n=!1){for(let r=0;r<t.length;r++)if(Zn(e,t[r],n))return!0;return!1}function Zr(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 ar(e,t){return e?":not("+t.trim()+")":t}function qr(e){let t=e[0],n=1,r=2,s="",o=!1;for(;n<e.length;){let a=e[n];if("string"==typeof a)if(2&r){const c=e[++n];s+="["+a+(c.length>0?'="'+c+'"':"")+"]"}else 8&r?s+="."+a:4&r&&(s+=" "+a);else""!==s&&!hn(a)&&(t+=ar(o,s),s=""),r=a,o=o||!hn(r);n++}return""!==s&&(t+=ar(o,s)),t}function zs(e){return re(()=>{const t=xo(e),n={...t,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===He.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||Oe.Emulated,styles:e.styles||je,_:null,schemas:e.schemas||null,tView:null,id:""};Fo(n);const r=e.dependencies;return n.directiveDefs=Gs(r,!1),n.pipeDefs=Gs(r,!0),n.id=function fo(e){let t=0;const n=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,e.consts,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery].join("|");for(const s of n)t=Math.imul(31,t)+s.charCodeAt(0)<<0;return t+=2147483648,"c"+t}(n),n})}function Is(e){return ct(e)||pn(e)}function As(e){return null!==e}function ys(e){return re(()=>({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}))}function mi(e,t){if(null==e)return Je;const n={};for(const r in e)if(e.hasOwnProperty(r)){let s=e[r],o=s;Array.isArray(s)&&(o=s[1],s=s[0]),n[s]=r,t&&(t[s]=o)}return n}function No(e){return re(()=>{const t=xo(e);return Fo(t),t})}function _s(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 ct(e){return e[Lt]||null}function pn(e){return e[wt]||null}function Mn(e){return e[Cn]||null}function jn(e){const t=ct(e)||pn(e)||Mn(e);return null!==t&&t.standalone}function wn(e,t){const n=e[An]||null;if(!n&&!0===t)throw new Error(`Type ${de(e)} does not have '\u0275mod' property.`);return n}function xo(e){const t={};return{type:e.type,providersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputTransforms:null,inputConfig:e.inputs||Je,exportAs:e.exportAs||null,standalone:!0===e.standalone,signals:!0===e.signals,selectors:e.selectors||je,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:mi(e.inputs,t),outputs:mi(e.outputs)}}function Fo(e){e.features?.forEach(t=>t(e))}function Gs(e,t){if(!e)return null;const n=t?Mn:Is;return()=>("function"==typeof e?e():e).map(r=>n(r)).filter(As)}const Xt=0,We=1,dt=2,Ut=3,Pn=4,wr=5,vn=6,Fr=7,sn=8,lr=9,is=10,ht=11,kr=12,ko=13,Ds=14,Ht=15,as=16,Qr=17,qn=18,Es=19,ho=20,ls=21,Jr=22,po=23,Xr=24,Tt=25,Ws=1,Ps=2,Qn=7,Rn=9,en=11;function Jn(e){return Array.isArray(e)&&"object"==typeof e[Ws]}function Nn(e){return Array.isArray(e)&&!0===e[Ws]}function Rs(e){return 0!=(4&e.flags)}function ur(e){return e.componentOffset>-1}function Ys(e){return 1==(1&e.flags)}function Lr(e){return!!e.template}function es(e){return 0!=(512&e[dt])}function cs(e,t){return e.hasOwnProperty(rn)?e[rn]:null}let yn=null,Cs=!1;function xn(e){const t=yn;return yn=e,t}const Br={version:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{}};function dr(e){if(!ws(e)||e.dirty){if(!e.producerMustRecompute(e)&&!Eo(e))return void(e.dirty=!1);e.producerRecomputeValue(e),e.dirty=!1}}function _o(e){e.dirty=!0,function ds(e){if(void 0===e.liveConsumerNode)return;const t=Cs;Cs=!0;try{for(const n of e.liveConsumerNode)n.dirty||_o(n)}finally{Cs=t}}(e),e.consumerMarkedDirty?.(e)}function Do(e){return e&&(e.nextProducerIndex=0),xn(e)}function Qs(e,t){if(xn(t),e&&void 0!==e.producerNode&&void 0!==e.producerIndexOfThis&&void 0!==e.producerLastReadVersion){if(ws(e))for(let n=e.nextProducerIndex;n<e.producerNode.length;n++)Co(e.producerNode[n],e.producerIndexOfThis[n]);for(;e.producerNode.length>e.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function Eo(e){jr(e);for(let t=0;t<e.producerNode.length;t++){const n=e.producerNode[t],r=e.producerLastReadVersion[t];if(r!==n.version||(dr(n),r!==n.version))return!0}return!1}function Js(e){if(jr(e),ws(e))for(let t=0;t<e.producerNode.length;t++)Co(e.producerNode[t],e.producerIndexOfThis[t]);e.producerNode.length=e.producerLastReadVersion.length=e.producerIndexOfThis.length=0,e.liveConsumerNode&&(e.liveConsumerNode.length=e.liveConsumerIndexOfThis.length=0)}function Co(e,t){if(function jo(e){e.liveConsumerNode??=[],e.liveConsumerIndexOfThis??=[]}(e),jr(e),1===e.liveConsumerNode.length)for(let r=0;r<e.producerNode.length;r++)Co(e.producerNode[r],e.producerIndexOfThis[r]);const n=e.liveConsumerNode.length-1;if(e.liveConsumerNode[t]=e.liveConsumerNode[n],e.liveConsumerIndexOfThis[t]=e.liveConsumerIndexOfThis[n],e.liveConsumerNode.length--,e.liveConsumerIndexOfThis.length--,t<e.liveConsumerNode.length){const r=e.liveConsumerIndexOfThis[t],s=e.liveConsumerNode[t];jr(s),s.producerIndexOfThis[r]=t}}function ws(e){return e.consumerIsAlwaysLive||(e?.liveConsumerNode?.length??0)>0}function jr(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}let Xo=null;function O(e){const t=xn(null);try{return e()}finally{xn(t)}}const ve=()=>{},Ue=(()=>({...Br,consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!1,consumerMarkedDirty:e=>{e.schedule(e.ref)},hasRun:!1,cleanupFn:ve}))();class Rt{constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}}function Pt(){return Et}function Et(e){return e.type.prototype.ngOnChanges&&(e.setInput=$t),ln}function ln(){const e=Xn(this),t=e?.current;if(t){const n=e.previous;if(n===Je)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function $t(e,t,n,r){const s=this.declaredInputs[n],o=Xn(e)||function mr(e,t){return e[un]=t}(e,{previous:Je,current:null}),a=o.current||(o.current={}),c=o.previous,g=c[s];a[s]=new Rt(g&&g.currentValue,t,c===Je),e[r]=t}Pt.ngInherit=!0;const un="__ngSimpleChanges__";function Xn(e){return e[un]||null}const Tn=function(e,t,n){},Un="svg";function Zt(e){for(;Array.isArray(e);)e=e[Xt];return e}function Hn(e,t){return Zt(t[e])}function er(e,t){return Zt(t[e.index])}function Mo(e,t){return e.data[t]}function fr(e,t){return e[t]}function vr(e,t){const n=t[e];return Jn(n)?n:n[Xt]}function hs(e,t){return null==t?null:e[t]}function $o(e){e[Qr]=0}function eo(e){1024&e[dt]||(e[dt]|=1024,to(e,1))}function ba(e){1024&e[dt]&&(e[dt]&=-1025,to(e,-1))}function to(e,t){let n=e[Ut];if(null===n)return;n[wr]+=t;let r=n;for(n=n[Ut];null!==n&&(1===t&&1===r[wr]||-1===t&&0===r[wr]);)n[wr]+=t,r=n,n=n[Ut]}const ft={lFrame:nt(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function Si(){return ft.bindingsEnabled}function no(){return null!==ft.skipHydrationRootTNode}function Se(){return ft.lFrame.lView}function Nt(){return ft.lFrame.tView}function Aa(e){return ft.lFrame.contextLView=e,e[sn]}function ri(e){return ft.lFrame.contextLView=null,e}function Fn(){let e=Ai();for(;null!==e&&64===e.type;)e=e.parent;return e}function Ai(){return ft.lFrame.currentTNode}function i(e,t){const n=ft.lFrame;n.currentTNode=e,n.isParent=t}function l(){return ft.lFrame.isParent}function p(){ft.lFrame.isParent=!1}function k(){const e=ft.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function Ke(){return ft.lFrame.bindingIndex++}function Ve(e){const t=ft.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function u(e,t){const n=ft.lFrame;n.bindingIndex=n.bindingRootIndex=e,v(t)}function v(e){ft.lFrame.currentDirectiveIndex=e}function f(e){const t=ft.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}function D(){return ft.lFrame.currentQueryIndex}function S(e){ft.lFrame.currentQueryIndex=e}function P(e){const t=e[We];return 2===t.type?t.declTNode:1===t.type?e[vn]:null}function Y(e,t,n){if(n&lt.SkipSelf){let s=t,o=e;for(;!(s=s.parent,null!==s||n&lt.Host||(s=P(o),null===s||(o=o[Ds],10&s.type))););if(null===s)return!1;t=s,e=o}const r=ft.lFrame=ce();return r.currentTNode=t,r.lView=e,!0}function Pe(e){const t=ce(),n=e[We];ft.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function ce(){const e=ft.lFrame,t=null===e?null:e.child;return null===t?nt(e):t}function nt(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 pt(){const e=ft.lFrame;return ft.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const qt=pt;function kt(){const e=pt();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 Sn(){return ft.lFrame.selectedIndex}function yr(e){ft.lFrame.selectedIndex=e}function ze(){const e=ft.lFrame;return Mo(e.tView,e.selectedIndex)}function at(){ft.lFrame.currentNamespace=Un}function Bt(){!function $n(){ft.lFrame.currentNamespace=null}()}let Mr=!0;function gs(){return Mr}function Gt(e){Mr=e}function Oi(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n<r;n++){const o=e.data[n].type.prototype,{ngAfterContentInit:a,ngAfterContentChecked:c,ngAfterViewInit:g,ngAfterViewChecked:b,ngOnDestroy:T}=o;a&&(e.contentHooks??=[]).push(-n,a),c&&((e.contentHooks??=[]).push(n,c),(e.contentCheckHooks??=[]).push(n,c)),g&&(e.viewHooks??=[]).push(-n,g),b&&((e.viewHooks??=[]).push(n,b),(e.viewCheckHooks??=[]).push(n,b)),null!=T&&(e.destroyHooks??=[]).push(n,T)}}function kn(e,t,n){si(e,t,3,n)}function bs(e,t,n,r){(3&e[dt])===n&&si(e,t,n,r)}function Tr(e,t){let n=e[dt];(3&n)===t&&(n&=8191,n+=1,e[dt]=n)}function si(e,t,n,r){const o=r??-1,a=t.length-1;let c=0;for(let g=void 0!==r?65535&e[Qr]:0;g<a;g++)if("number"==typeof t[g+1]){if(c=t[g],null!=r&&c>=r)break}else t[g]<0&&(e[Qr]+=65536),(c<o||-1==o)&&(cy(e,n,t,g),e[Qr]=(4294901760&e[Qr])+g+2),g++}function Pi(e,t){Tn(4,e,t);const n=xn(null);try{t.call(e)}finally{xn(n),Tn(5,e,t)}}function cy(e,t,n,r){const s=n[r]<0,o=n[r+1],c=e[s?-n[r]:n[r]];s?e[dt]>>13<e[Qr]>>16&&(3&e[dt])===t&&(e[dt]+=8192,Pi(c,o)):Pi(c,o)}const Ri=-1;class Oa{constructor(t,n,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}}function Lu(e){return e!==Ri}function Pa(e){return 32767&e}function Ra(e,t){let n=function py(e){return e>>16}(e),r=t;for(;n>0;)r=r[Ds],n--;return r}let Bu=!0;function Dl(e){const t=Bu;return Bu=e,t}const lf=255,uf=5;let gy=0;const ro={};function El(e,t){const n=cf(e,t);if(-1!==n)return n;const r=t[We];r.firstCreatePass&&(e.injectorIndex=t.length,ju(r.data,e),ju(t,null),ju(r.blueprint,null));const s=Cl(e,t),o=e.injectorIndex;if(Lu(s)){const a=Pa(s),c=Ra(s,t),g=c[We].data;for(let b=0;b<8;b++)t[o+b]=c[a+b]|g[a+b]}return t[o+8]=s,o}function ju(e,t){e.push(0,0,0,0,0,0,0,0,t)}function cf(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function Cl(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=yf(s),null===r)return Ri;if(n++,s=s[Ds],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return Ri}function Uu(e,t,n){!function my(e,t,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(Kn)&&(r=n[Kn]),null==r&&(r=n[Kn]=gy++);const s=r&lf;t.data[e+(s>>uf)]|=1<<s}(e,t,n)}function df(e,t,n){if(n&lt.Optional||void 0!==e)return e;tt()}function ff(e,t,n,r){if(n&lt.Optional&&void 0===r&&(r=null),!(n&(lt.Self|lt.Host))){const s=e[lr],o=gn(void 0);try{return s?s.get(t,r,n&lt.Optional):Or(t,r,n&lt.Optional)}finally{gn(o)}}return df(r,0,n)}function hf(e,t,n,r=lt.Default,s){if(null!==e){if(2048&t[dt]&&!(r&lt.Self)){const a=function Cy(e,t,n,r,s){let o=e,a=t;for(;null!==o&&null!==a&&2048&a[dt]&&!(512&a[dt]);){const c=pf(o,a,n,r|lt.Self,ro);if(c!==ro)return c;let g=o.parent;if(!g){const b=a[ho];if(b){const T=b.get(n,ro,r);if(T!==ro)return T}g=yf(a),a=a[Ds]}o=g}return s}(e,t,n,r,ro);if(a!==ro)return a}const o=pf(e,t,n,r,ro);if(o!==ro)return o}return ff(t,n,r,s)}function pf(e,t,n,r,s){const o=function _y(e){if("string"==typeof e)return e.charCodeAt(0)||0;const t=e.hasOwnProperty(Kn)?e[Kn]:void 0;return"number"==typeof t?t>=0?t&lf:Ey:t}(n);if("function"==typeof o){if(!Y(t,e,r))return r&lt.Host?df(s,0,r):ff(t,n,r,s);try{let a;if(a=o(r),null!=a||r&lt.Optional)return a;tt()}finally{qt()}}else if("number"==typeof o){let a=null,c=cf(e,t),g=Ri,b=r&lt.Host?t[Ht][vn]:null;for((-1===c||r&lt.SkipSelf)&&(g=-1===c?Cl(e,t):t[c+8],g!==Ri&&mf(r,!1)?(a=t[We],c=Pa(g),t=Ra(g,t)):c=-1);-1!==c;){const T=t[We];if(gf(o,c,T.data)){const N=yy(c,t,n,a,r,b);if(N!==ro)return N}g=t[c+8],g!==Ri&&mf(r,t[We].data[c+8]===b)&&gf(o,c,t)?(a=T,c=Pa(g),t=Ra(g,t)):c=-1}}return s}function yy(e,t,n,r,s,o){const a=t[We],c=a.data[e+8],T=wl(c,a,n,null==r?ur(c)&&Bu:r!=a&&0!=(3&c.type),s&lt.Host&&o===c);return null!==T?oi(t,a,T,c):ro}function wl(e,t,n,r,s){const o=e.providerIndexes,a=t.data,c=1048575&o,g=e.directiveStart,T=o>>20,$=s?c+T:e.directiveEnd;for(let q=r?c:c+T;q<$;q++){const De=a[q];if(q<g&&n===De||q>=g&&De.type===n)return q}if(s){const q=a[g];if(q&&Lr(q)&&q.type===n)return g}return null}function oi(e,t,n,r){let s=e[n];const o=t.data;if(function dy(e){return e instanceof Oa}(s)){const a=s;a.resolving&&function we(e,t){const n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new F(-200,`Circular dependency in DI detected for ${e}${n}`)}(function ke(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():ie(e)}(o[n]));const c=Dl(a.canSeeViewProviders);a.resolving=!0;const b=a.injectImpl?gn(a.injectImpl):null;Y(e,r,lt.Default);try{s=e[n]=a.factory(void 0,o,e,r),t.firstCreatePass&&n>=r.directiveStart&&function _l(e,t,n){const{ngOnChanges:r,ngOnInit:s,ngDoCheck:o}=t.type.prototype;if(r){const a=Et(t);(n.preOrderHooks??=[]).push(e,a),(n.preOrderCheckHooks??=[]).push(e,a)}s&&(n.preOrderHooks??=[]).push(0-e,s),o&&((n.preOrderHooks??=[]).push(e,o),(n.preOrderCheckHooks??=[]).push(e,o))}(n,o[n],t)}finally{null!==b&&gn(b),Dl(c),a.resolving=!1,qt()}}return s}function gf(e,t,n){return!!(n[t+(e>>uf)]&1<<e)}function mf(e,t){return!(e&lt.Self||e&lt.Host&&t)}class Vr{constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return hf(this._tNode,this._lView,t,jt(r),n)}}function Ey(){return new Vr(Fn(),Se())}function vf(e){return re(()=>{const t=e.prototype.constructor,n=t[rn]||Hu(t),r=Object.prototype;let s=Object.getPrototypeOf(e.prototype).constructor;for(;s&&s!==r;){const o=s[rn]||Hu(s);if(o&&o!==n)return o;s=Object.getPrototypeOf(s)}return o=>new o})}function Hu(e){return Be(e)?()=>{const t=Hu(be(e));return t&&t()}:cs(e)}function yf(e){const t=e[We],n=t.type;return 2===n?t.declTNode:1===n?e[vn]:null}function $u(e){return function vy(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 o=n[s];if(Yt(o))break;if(0===o)s+=2;else if("number"==typeof o)for(s++;s<r&&"string"==typeof n[s];)s++;else{if(o===t)return n[s+1];s+=2}}}return null}(Fn(),e)}const xi="__parameters__";function ki(e,t,n){return re(()=>{const r=function Vu(e){return function(...n){if(e){const r=e(...n);for(const s in r)this[s]=r[s]}}}(t);function s(...o){if(this instanceof s)return r.apply(this,o),this;const a=new s(...o);return c.annotation=a,c;function c(g,b,T){const N=g.hasOwnProperty(xi)?g[xi]:Object.defineProperty(g,xi,{value:[]})[xi];for(;N.length<=T;)N.push(null);return(N[T]=N[T]||[]).push(a),g}}return n&&(s.prototype=Object.create(n.prototype)),s.prototype.ngMetadataName=e,s.annotationCls=s,s})}function Bi(e,t){e.forEach(n=>Array.isArray(n)?Bi(n,t):t(n))}function Df(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function bl(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function Fa(e,t){const n=[];for(let r=0;r<e;r++)n.push(t);return n}function ms(e,t,n){let r=ji(e,t);return r>=0?e[1|r]=n:(r=~r,function Ay(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 zu(e,t){const n=ji(e,t);if(n>=0)return e[1|n]}function ji(e,t){return function Ef(e,t,n){let r=0,s=e.length>>n;for(;s!==r;){const o=r+(s-r>>1),a=e[o<<n];if(t===a)return o<<n;a>t?s=o:r=o+1}return~(s<<n)}(e,t,1)}const Tl=mn(ki("Optional"),8),Sl=mn(ki("SkipSelf"),4);function Rl(e){return 128==(128&e.flags)}var xl=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(xl||{});const qy=/^>|^->|<!--|-->|--!>|<!-$/g,Qy=/(<|>)/g,Jy="\u200b$1\u200b";const Zu=new Map;let Xy=0;const Qu="__ngContext__";function Sr(e,t){Jn(t)?(e[Qu]=t[Es],function t_(e){Zu.set(e[Es],e)}(t)):e[Qu]=t}let Ju;function Xu(e,t){return Ju(e,t)}function Ba(e){const t=e[Ut];return Nn(t)?t[Ut]:t}function Hf(e){return Vf(e[kr])}function $f(e){return Vf(e[Pn])}function Vf(e){for(;null!==e&&!Nn(e);)e=e[Pn];return e}function $i(e,t,n,r,s){if(null!=r){let o,a=!1;Nn(r)?o=r:Jn(r)&&(a=!0,r=r[Xt]);const c=Zt(r);0===e&&null!==n?null==s?Kf(t,n,c):ii(t,n,c,s||null,!0):1===e&&null!==n?ii(t,n,c,s||null,!0):2===e?function Ul(e,t,n){const r=Bl(e,t);r&&function D_(e,t,n,r){e.removeChild(t,n,r)}(e,r,t,n)}(t,c,a):3===e&&t.destroyNode(c),null!=o&&function w_(e,t,n,r,s){const o=n[Qn];o!==Zt(n)&&$i(t,e,r,o,s);for(let c=en;c<n.length;c++){const g=n[c];Ua(g[We],g,e,t,r,o)}}(t,e,o,n,s)}}function ec(e,t){return e.createComment(function Nf(e){return e.replace(qy,t=>t.replace(Qy,Jy))}(t))}function kl(e,t,n){return e.createElement(t,n)}function Gf(e,t){const n=e[Rn],r=n.indexOf(t);ba(t),n.splice(r,1)}function Ll(e,t){if(e.length<=en)return;const n=en+t,r=e[n];if(r){const s=r[as];null!==s&&s!==e&&Gf(s,r),t>0&&(e[n-1][Pn]=r[Pn]);const o=bl(e,en+t);!function f_(e,t){Ua(e,t,t[ht],2,null,null),t[Xt]=null,t[vn]=null}(r[We],r);const a=o[qn];null!==a&&a.detachView(o[We]),r[Ut]=null,r[Pn]=null,r[dt]&=-129}return r}function tc(e,t){if(!(256&t[dt])){const n=t[ht];t[po]&&Js(t[po]),t[Xr]&&Js(t[Xr]),n.destroyNode&&Ua(e,t,n,3,null,null),function g_(e){let t=e[kr];if(!t)return nc(e[We],e);for(;t;){let n=null;if(Jn(t))n=t[kr];else{const r=t[en];r&&(n=r)}if(!n){for(;t&&!t[Pn]&&t!==e;)Jn(t)&&nc(t[We],t),t=t[Ut];null===t&&(t=e),Jn(t)&&nc(t[We],t),n=t&&t[Pn]}t=n}}(t)}}function nc(e,t){if(!(256&t[dt])){t[dt]&=-129,t[dt]|=256,function __(e,t){let n;if(null!=e&&null!=(n=e.destroyHooks))for(let r=0;r<n.length;r+=2){const s=t[n[r]];if(!(s instanceof Oa)){const o=n[r+1];if(Array.isArray(o))for(let a=0;a<o.length;a+=2){const c=s[o[a]],g=o[a+1];Tn(4,c,g);try{g.call(c)}finally{Tn(5,c,g)}}else{Tn(4,s,o);try{o.call(s)}finally{Tn(5,s,o)}}}}}(e,t),function y_(e,t){const n=e.cleanup,r=t[Fr];if(null!==n)for(let o=0;o<n.length-1;o+=2)if("string"==typeof n[o]){const a=n[o+3];a>=0?r[a]():r[-a].unsubscribe(),o+=2}else n[o].call(r[n[o+1]]);null!==r&&(t[Fr]=null);const s=t[ls];if(null!==s){t[ls]=null;for(let o=0;o<s.length;o++)(0,s[o])()}}(e,t),1===t[We].type&&t[ht].destroy();const n=t[as];if(null!==n&&Nn(t[Ut])){n!==t[Ut]&&Gf(n,t);const r=t[qn];null!==r&&r.detachView(e)}!function n_(e){Zu.delete(e[Es])}(t)}}function rc(e,t,n){return function Wf(e,t,n){let r=t;for(;null!==r&&40&r.type;)r=(t=r).parent;if(null===r)return n[Xt];{const{componentOffset:s}=r;if(s>-1){const{encapsulation:o}=e.data[r.directiveStart+s];if(o===Oe.None||o===Oe.Emulated)return null}return er(r,n)}}(e,t.parent,n)}function ii(e,t,n,r,s){e.insertBefore(t,n,r,s)}function Kf(e,t,n){e.appendChild(t,n)}function Yf(e,t,n,r,s){null!==r?ii(e,t,n,r,s):Kf(e,t,n)}function Bl(e,t){return e.parentNode(t)}function Zf(e,t,n){return Qf(e,t,n)}let sc,Hl,lc,$l,Qf=function qf(e,t,n){return 40&e.type?er(e,n):null};function jl(e,t,n,r){const s=rc(e,r,t),o=t[ht],c=Zf(r.parent||t[vn],r,t);if(null!=s)if(Array.isArray(n))for(let g=0;g<n.length;g++)Yf(o,s,n[g],c,!1);else Yf(o,s,n,c,!1);void 0!==sc&&sc(o,r,t,n,s)}function ja(e,t){if(null!==t){const n=t.type;if(3&n)return er(t,e);if(4&n)return oc(-1,e[t.index]);if(8&n){const r=t.child;if(null!==r)return ja(e,r);{const s=e[t.index];return Nn(s)?oc(-1,s):Zt(s)}}if(32&n)return Xu(t,e)()||Zt(e[t.index]);{const r=Xf(e,t);return null!==r?Array.isArray(r)?r[0]:ja(Ba(e[Ht]),r):ja(e,t.next)}}return null}function Xf(e,t){return null!==t?e[Ht][vn].projection[t.projection]:null}function oc(e,t){const n=en+e+1;if(n<t.length){const r=t[n],s=r[We].firstChild;if(null!==s)return ja(r,s)}return t[Qn]}function ic(e,t,n,r,s,o,a){for(;null!=n;){const c=r[n.index],g=n.type;if(a&&0===t&&(c&&Sr(Zt(c),r),n.flags|=2),32!=(32&n.flags))if(8&g)ic(e,t,n.child,r,s,o,!1),$i(t,e,s,c,o);else if(32&g){const b=Xu(n,r);let T;for(;T=b();)$i(t,e,s,T,o);$i(t,e,s,c,o)}else 16&g?th(e,t,r,n,s,o):$i(t,e,s,c,o);n=a?n.projectionNext:n.next}}function Ua(e,t,n,r,s,o){ic(n,r,e.firstChild,t,s,o,!1)}function th(e,t,n,r,s,o){const a=n[Ht],g=a[vn].projection[r.projection];if(Array.isArray(g))for(let b=0;b<g.length;b++)$i(t,e,s,g[b],o);else{let b=g;const T=a[Ut];Rl(r)&&(b.flags|=128),ic(e,t,b,T,s,o,!0)}}function nh(e,t,n){""===n?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function rh(e,t,n){const{mergedAttrs:r,classes:s,styles:o}=n;null!==r&&Ot(e,t,r),null!==s&&nh(e,t,s),null!==o&&function M_(e,t,n){e.setAttribute(t,"style",n)}(e,t,o)}function Vi(e){return function ac(){if(void 0===Hl&&(Hl=null,xt.trustedTypes))try{Hl=xt.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Hl}()?.createHTML(e)||e}function A_(e){lc=e}function zi(){if(void 0!==lc)return lc;if(typeof document<"u")return document;throw new F(210,!1)}function uc(){if(void 0===$l&&($l=null,xt.trustedTypes))try{$l=xt.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return $l}function sh(e){return uc()?.createHTML(e)||e}function ih(e){return uc()?.createScriptURL(e)||e}class ai{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Ce})`}}class O_ extends ai{getTypeName(){return"HTML"}}class P_ extends ai{getTypeName(){return"Style"}}class R_ extends ai{getTypeName(){return"Script"}}class N_ extends ai{getTypeName(){return"URL"}}class x_ extends ai{getTypeName(){return"ResourceURL"}}function So(e){return e instanceof ai?e.changingThisBreaksApplicationSecurity:e}function Gi(e,t){const n=function F_(e){return e instanceof ai&&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 ${Ce})`)}return n===t}function k_(e){return new O_(e)}function L_(e){return new P_(e)}function B_(e){return new R_(e)}function j_(e){return new N_(e)}function U_(e){return new x_(e)}class H_{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{const n=(new window.DOMParser).parseFromString(Vi(t),"text/html").body;return null===n?this.inertDocumentHelper.getInertBodyElement(t):(n.removeChild(n.firstChild),n)}catch{return null}}}class $_{constructor(t){this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(t){const n=this.inertDocument.createElement("template");return n.innerHTML=Vi(t),n}}const z_=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Vl(e){return(e=String(e)).match(z_)?e:"unsafe:"+e}function Io(e){const t={};for(const n of e.split(","))t[n]=!0;return t}function Ha(...e){const t={};for(const n of e)for(const r in n)n.hasOwnProperty(r)&&(t[r]=!0);return t}const lh=Io("area,br,col,hr,img,wbr"),uh=Io("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),ch=Io("rp,rt"),cc=Ha(lh,Ha(uh,Io("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")),Ha(ch,Io("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")),Ha(ch,uh)),dc=Io("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),dh=Ha(dc,Io("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,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),Io("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")),G_=Io("script,style,template");class W_{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(!cc.hasOwnProperty(n))return this.sanitizedSomething=!0,!G_.hasOwnProperty(n);this.buf.push("<"),this.buf.push(n);const r=t.attributes;for(let s=0;s<r.length;s++){const o=r.item(s),a=o.name,c=a.toLowerCase();if(!dh.hasOwnProperty(c)){this.sanitizedSomething=!0;continue}let g=o.value;dc[c]&&(g=Vl(g)),this.buf.push(" ",a,'="',fh(g),'"')}return this.buf.push(">"),!0}endElement(t){const n=t.nodeName.toLowerCase();cc.hasOwnProperty(n)&&!lh.hasOwnProperty(n)&&(this.buf.push("</"),this.buf.push(n),this.buf.push(">"))}chars(t){this.buf.push(fh(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 K_=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Y_=/([^\#-~ |!])/g;function fh(e){return e.replace(/&/g,"&amp;").replace(K_,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(Y_,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}let zl;function hh(e,t){let n=null;try{zl=zl||function ah(e){const t=new $_(e);return function V_(){try{return!!(new window.DOMParser).parseFromString(Vi(""),"text/html")}catch{return!1}}()?new H_(t):t}(e);let r=t?String(t):"";n=zl.getInertBodyElement(r);let s=5,o=r;do{if(0===s)throw new Error("Failed to sanitize html because the input is unstable");s--,r=o,o=n.innerHTML,n=zl.getInertBodyElement(r)}while(r!==o);return Vi((new W_).sanitizeChildren(fc(n)||n))}finally{if(n){const r=fc(n)||n;for(;r.firstChild;)r.removeChild(r.firstChild)}}}function fc(e){return"content"in e&&function Z_(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var li=function(e){return e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL",e}(li||{});function ph(e){const t=$a();return t?sh(t.sanitize(li.HTML,e)||""):Gi(e,"HTML")?sh(So(e)):hh(zi(),ie(e))}function hc(e){const t=$a();return t?t.sanitize(li.URL,e)||"":Gi(e,"URL")?So(e):Vl(ie(e))}function gh(e){const t=$a();if(t)return ih(t.sanitize(li.RESOURCE_URL,e)||"");if(Gi(e,"ResourceURL"))return ih(So(e));throw new F(904,!1)}function mh(e,t,n){return function eD(e,t){return"src"===t&&("embed"===e||"frame"===e||"iframe"===e||"media"===e||"script"===e)||"href"===t&&("base"===e||"link"===e)?gh:hc}(t,n)(e)}function $a(){const e=Se();return e&&e[is].sanitizer}class Qt{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=Z({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}const Va=new Qt("ENVIRONMENT_INITIALIZER"),vh=new Qt("INJECTOR",-1),yh=new Qt("INJECTOR_DEF_TYPES");class pc{get(t,n=Wn){if(n===Wn){const r=new Error(`NullInjectorError: No provider for ${de(t)}!`);throw r.name="NullInjectorError",r}return n}}function gc(e){return{\u0275providers:e}}function tD(...e){return{\u0275providers:_h(0,e),\u0275fromNgModule:!0}}function _h(e,...t){const n=[],r=new Set;let s;const o=a=>{n.push(a)};return Bi(t,a=>{const c=a;Gl(c,o,[],r)&&(s||=[],s.push(c))}),void 0!==s&&Dh(s,o),n}function Dh(e,t){for(let n=0;n<e.length;n++){const{ngModule:r,providers:s}=e[n];mc(s,o=>{t(o,r)})}}function Gl(e,t,n,r){if(!(e=be(e)))return!1;let s=null,o=Ln(e);const a=!o&&ct(e);if(o||a){if(a&&!a.standalone)return!1;s=e}else{const g=e.ngModule;if(o=Ln(g),!o)return!1;s=g}const c=r.has(s);if(a){if(c)return!1;if(r.add(s),a.dependencies){const g="function"==typeof a.dependencies?a.dependencies():a.dependencies;for(const b of g)Gl(b,t,n,r)}}else{if(!o)return!1;{if(null!=o.imports&&!c){let b;r.add(s);try{Bi(o.imports,T=>{Gl(T,t,n,r)&&(b||=[],b.push(T))})}finally{}void 0!==b&&Dh(b,t)}if(!c){const b=cs(s)||(()=>new s);t({provide:s,useFactory:b,deps:je},s),t({provide:yh,useValue:s,multi:!0},s),t({provide:Va,useValue:()=>Ge(s),multi:!0},s)}const g=o.providers;if(null!=g&&!c){const b=e;mc(g,T=>{t(T,b)})}}}return s!==e&&void 0!==e.providers}function mc(e,t){for(let n of e)Xe(n)&&(n=n.\u0275providers),Array.isArray(n)?mc(n,t):t(n)}const nD=W({provide:String,useValue:W});function vc(e){return null!==e&&"object"==typeof e&&nD in e}function ui(e){return"function"==typeof e}const yc=new Qt("Set Injector scope."),Wl={},sD={};let _c;function Kl(){return void 0===_c&&(_c=new pc),_c}class so{}class Yl extends so{get destroyed(){return this._destroyed}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,Ec(t,a=>this.processProvider(a)),this.records.set(vh,Wi(void 0,this)),s.has("environment")&&this.records.set(so,Wi(void 0,this));const o=this.records.get(yc);null!=o&&"string"==typeof o.value&&this.scopes.add(o.value),this.injectorDefTypes=new Set(this.get(yh.multi,je,lt.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const n of this._ngOnDestroyHooks)n.ngOnDestroy();const t=this._onDestroyHooks;this._onDestroyHooks=[];for(const n of t)n()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear()}}onDestroy(t){return this.assertNotDestroyed(),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){this.assertNotDestroyed();const n=ee(this),r=gn(void 0);try{return t()}finally{ee(n),gn(r)}}get(t,n=Wn,r=lt.Default){if(this.assertNotDestroyed(),t.hasOwnProperty(_r))return t[_r](this);r=jt(r);const o=ee(this),a=gn(void 0);try{if(!(r&lt.SkipSelf)){let g=this.records.get(t);if(void 0===g){const b=function uD(e){return"function"==typeof e||"object"==typeof e&&e instanceof Qt}(t)&&Kt(t);g=b&&this.injectableDefInScope(b)?Wi(Dc(t),Wl):null,this.records.set(t,g)}if(null!=g)return this.hydrate(t,g)}return(r&lt.Self?Kl():this.parent).get(t,n=r&lt.Optional&&n===Wn?null:n)}catch(c){if("NullInjectorError"===c.name){if((c[Kr]=c[Kr]||[]).unshift(de(t)),o)throw c;return function L(e,t,n,r){const s=e[Kr];throw t[V]&&s.unshift(t[V]),e.message=function ae(e,t,n,r=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let s=de(t);if(Array.isArray(t))s=t.map(de).join(" -> ");else if("object"==typeof t){let o=[];for(let a in t)if(t.hasOwnProperty(a)){let c=t[a];o.push(a+":"+("string"==typeof c?JSON.stringify(c):de(c)))}s=`{${o.join(", ")}}`}return`${n}${r?"("+r+")":""}[${s}]: ${e.replace(uo,"\n ")}`}("\n"+e.message,s,n,r),e.ngTokenPath=s,e[Kr]=null,e}(c,t,"R3InjectorError",this.source)}throw c}finally{gn(a),ee(o)}}resolveInjectorInitializers(){const t=ee(this),n=gn(void 0);try{const s=this.get(Va.multi,je,lt.Self);for(const o of s)o()}finally{ee(t),gn(n)}}toString(){const t=[],n=this.records;for(const r of n.keys())t.push(de(r));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new F(205,!1)}processProvider(t){let n=ui(t=be(t))?t:be(t&&t.provide);const r=function iD(e){return vc(e)?Wi(void 0,e.useValue):Wi(wh(e),Wl)}(t);if(ui(t)||!0!==t.multi)this.records.get(n);else{let s=this.records.get(n);s||(s=Wi(void 0,Wl,!0),s.factory=()=>fn(s.multi),this.records.set(n,s)),n=t,s.multi.push(t)}this.records.set(n,r)}hydrate(t,n){return n.value===Wl&&(n.value=sD,n.value=n.factory()),"object"==typeof n.value&&n.value&&function lD(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=be(t.providedIn);return"string"==typeof n?"any"===n||this.scopes.has(n):this.injectorDefTypes.has(n)}removeOnDestroy(t){const n=this._onDestroyHooks.indexOf(t);-1!==n&&this._onDestroyHooks.splice(n,1)}}function Dc(e){const t=Kt(e),n=null!==t?t.factory:cs(e);if(null!==n)return n;if(e instanceof Qt)throw new F(204,!1);if(e instanceof Function)return function oD(e){const t=e.length;if(t>0)throw Fa(t,"?"),new F(204,!1);const n=function Vn(e){return e&&(e[Dn]||e[zn])||null}(e);return null!==n?()=>n.factory(e):()=>new e}(e);throw new F(204,!1)}function wh(e,t,n){let r;if(ui(e)){const s=be(e);return cs(s)||Dc(s)}if(vc(e))r=()=>be(e.useValue);else if(function Ch(e){return!(!e||!e.useFactory)}(e))r=()=>e.useFactory(...fn(e.deps||[]));else if(function Eh(e){return!(!e||!e.useExisting)}(e))r=()=>Ge(be(e.useExisting));else{const s=be(e&&(e.useClass||e.provide));if(!function aD(e){return!!e.deps}(e))return cs(s)||Dc(s);r=()=>new s(...fn(e.deps))}return r}function Wi(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function Ec(e,t){for(const n of e)Array.isArray(n)?Ec(n,t):n&&Xe(n)?Ec(n.\u0275providers,t):t(n)}const bh=new Qt("AppId",{providedIn:"root",factory:()=>cD}),cD="ng",Mh=new Qt("Platform Initializer"),Cc=new Qt("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),dD=new Qt("AnimationModuleType"),fD=new Qt("CSP nonce",{providedIn:"root",factory:()=>zi().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});let Th=(e,t,n)=>null;function Oc(e,t,n=!1){return Th(e,t,n)}class CD{}class Ah{}class bD{resolveComponentFactory(t){throw function wD(e){const t=Error(`No component factory found for ${de(e)}.`);return t.ngComponent=e,t}(t)}}let Wa=(()=>{class t{}return t.NULL=new bD,t})();function MD(){return Zi(Fn(),Se())}function Zi(e,t){return new Ka(er(e,t))}let Ka=(()=>{class t{constructor(r){this.nativeElement=r}}return t.__NG_ELEMENT_ID__=MD,t})();function TD(e){return e instanceof Ka?e.nativeElement:e}class Ph{}let SD=(()=>{class t{constructor(){this.destroyNode=null}}return t.__NG_ELEMENT_ID__=()=>function ID(){const e=Se(),n=vr(Fn().index,e);return(Jn(n)?n:e)[ht]}(),t})(),AD=(()=>{var e;class t{}return(e=t).\u0275prov=Z({token:e,providedIn:"root",factory:()=>null}),t})();class Rh{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const OD=new Rh("16.2.6"),Nc={};function kh(e,t=null,n=null,r){const s=Lh(e,t,n,r);return s.resolveInjectorInitializers(),s}function Lh(e,t=null,n=null,r,s=new Set){const o=[n||je,tD(e)];return r=r||("object"==typeof e?void 0:de(e)),new Yl(o,t||Kl(),r||null,s)}let Ls=(()=>{var e;class t{static create(r,s){if(Array.isArray(r))return kh({name:""},s,r,"");{const o=r.name??"";return kh({name:o},r.parent,r.providers,o)}}}return(e=t).THROW_IF_NOT_FOUND=Wn,e.NULL=new pc,e.\u0275prov=Z({token:e,providedIn:"any",factory:()=>Ge(vh)}),e.__NG_ELEMENT_ID__=-1,t})();function Fc(e){return e.ngOriginalError}class Vo{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&&Fc(t);for(;n&&Fc(n);)n=Fc(n);return n||null}}function Lc(e){return t=>{setTimeout(e,void 0,t)}}const oo=class LD extends m.x{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,n,r){let s=t,o=n||(()=>null),a=r;if(t&&"object"==typeof t){const g=t;s=g.next?.bind(g),o=g.error?.bind(g),a=g.complete?.bind(g)}this.__isAsync&&(o=Lc(o),s&&(s=Lc(s)),a&&(a=Lc(a)));const c=super.subscribe({next:s,error:o,complete:a});return t instanceof w.w0&&t.add(c),c}};function jh(...e){}class hr{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new oo(!1),this.onMicrotaskEmpty=new oo(!1),this.onStable=new oo(!1),this.onError=new oo(!1),typeof Zone>"u")throw new F(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 BD(){const e="function"==typeof xt.requestAnimationFrame;let t=xt[e?"requestAnimationFrame":"setTimeout"],n=xt[e?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&t&&n){const r=t[Zone.__symbol__("OriginalDelegate")];r&&(t=r);const s=n[Zone.__symbol__("OriginalDelegate")];s&&(n=s)}return{nativeRequestAnimationFrame:t,nativeCancelAnimationFrame:n}}().nativeRequestAnimationFrame,function HD(e){const t=()=>{!function UD(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(xt,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,jc(e),e.isCheckStableRunning=!0,Bc(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),jc(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,s,o,a,c)=>{if(function VD(e){return!(!Array.isArray(e)||1!==e.length)&&!0===e[0].data?.__ignore_ng_zone__}(c))return n.invokeTask(s,o,a,c);try{return Uh(e),n.invokeTask(s,o,a,c)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===o.type||e.shouldCoalesceRunChangeDetection)&&t(),Hh(e)}},onInvoke:(n,r,s,o,a,c,g)=>{try{return Uh(e),n.invoke(s,o,a,c,g)}finally{e.shouldCoalesceRunChangeDetection&&t(),Hh(e)}},onHasTask:(n,r,s,o)=>{n.hasTask(s,o),r===s&&("microTask"==o.change?(e._hasPendingMicrotasks=o.microTask,jc(e),Bc(e)):"macroTask"==o.change&&(e.hasPendingMacrotasks=o.macroTask))},onHandleError:(n,r,s,o)=>(n.handleError(s,o),e.runOutsideAngular(()=>e.onError.emit(o)),!1)})}(s)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!hr.isInAngularZone())throw new F(909,!1)}static assertNotInAngularZone(){if(hr.isInAngularZone())throw new F(909,!1)}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,s){const o=this._inner,a=o.scheduleEventTask("NgZoneEvent: "+s,t,jD,jh,jh);try{return o.runTask(a,n,r)}finally{o.cancelTask(a)}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}}const jD={};function Bc(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 jc(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function Uh(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Hh(e){e._nesting--,Bc(e)}class $D{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new oo,this.onMicrotaskEmpty=new oo,this.onStable=new oo,this.onError=new oo}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 $h=new Qt("",{providedIn:"root",factory:Vh});function Vh(){const e=st(hr);let t=!0;const n=new te.y(s=>{t=e.isStable&&!e.hasPendingMacrotasks&&!e.hasPendingMicrotasks,e.runOutsideAngular(()=>{s.next(t),s.complete()})}),r=new te.y(s=>{let o;e.runOutsideAngular(()=>{o=e.onStable.subscribe(()=>{hr.assertNotInAngularZone(),queueMicrotask(()=>{!t&&!e.hasPendingMacrotasks&&!e.hasPendingMicrotasks&&(t=!0,s.next(!0))})})});const a=e.onUnstable.subscribe(()=>{hr.assertInAngularZone(),t&&(t=!1,e.runOutsideAngular(()=>{s.next(!1)}))});return()=>{o.unsubscribe(),a.unsubscribe()}});return(0,x.T)(n,r.pipe((0,G.B)()))}function Ao(e){return e instanceof Function?e():e}let Uc=(()=>{var e;class t{constructor(){this.renderDepth=0,this.handler=null}begin(){this.handler?.validateBegin(),this.renderDepth++}end(){this.renderDepth--,0===this.renderDepth&&this.handler?.execute()}ngOnDestroy(){this.handler?.destroy(),this.handler=null}}return(e=t).\u0275prov=Z({token:e,providedIn:"root",factory:()=>new e}),t})();function Ya(e){for(;e;){e[dt]|=64;const t=Ba(e);if(es(e)&&!t)return e;e=t}return null}const Yh=new Qt("",{providedIn:"root",factory:()=>!1});let tu=null;function Jh(e,t){return e[t]??tp()}function Xh(e,t){const n=tp();n.producerNode?.length&&(e[t]=tu,n.lView=e,tu=ep())}const XD={...Br,consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{Ya(e.lView)},lView:null};function ep(){return Object.create(XD)}function tp(){return tu??=ep(),tu}const Mt={};function np(e){rp(Nt(),Se(),Sn()+e,!1)}function rp(e,t,n,r){if(!r)if(3==(3&t[dt])){const o=e.preOrderCheckHooks;null!==o&&kn(t,o,n)}else{const o=e.preOrderHooks;null!==o&&bs(t,o,0,n)}yr(n)}function Ji(e,t=lt.Default){const n=Se();return null===n?Ge(e,t):hf(Fn(),n,be(e),t)}function sp(){throw new Error("invalid")}function nu(e,t,n,r,s,o,a,c,g,b,T){const N=t.blueprint.slice();return N[Xt]=s,N[dt]=140|r,(null!==b||e&&2048&e[dt])&&(N[dt]|=2048),$o(N),N[Ut]=N[Ds]=e,N[sn]=n,N[is]=a||e&&e[is],N[ht]=c||e&&e[ht],N[lr]=g||e&&e[lr]||null,N[vn]=o,N[Es]=function e_(){return Xy++}(),N[Jr]=T,N[ho]=b,N[Ht]=2==t.type?e[Ht]:N,N}function Xi(e,t,n,r,s){let o=e.data[t];if(null===o)o=function Hc(e,t,n,r,s){const o=Ai(),a=l(),g=e.data[t]=function aE(e,t,n,r,s,o){let a=t?t.injectorIndex:-1,c=0;return no()&&(c|=128),{type:n,index:r,insertBeforeIndex:null,injectorIndex:a,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:c,providerIndexes:0,value:s,attrs:o,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,a?o:o&&o.parent,n,t,r,s);return null===e.firstChild&&(e.firstChild=g),null!==o&&(a?null==o.child&&null!==g.parent&&(o.child=g):null===o.next&&(o.next=g,g.prev=o)),g}(e,t,n,r,s),function St(){return ft.lFrame.inI18n}()&&(o.flags|=32);else if(64&o.type){o.type=n,o.value=r,o.attrs=s;const a=function y(){const e=ft.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}();o.injectorIndex=null===a?-1:a.injectorIndex}return i(o,!0),o}function Za(e,t,n,r){if(0===n)return-1;const s=t.length;for(let o=0;o<n;o++)t.push(r),e.blueprint.push(r),e.data.push(null);return s}function op(e,t,n,r,s){const o=Jh(t,po),a=Sn(),c=2&r;try{yr(-1),c&&t.length>Tt&&rp(e,t,Tt,!1),Tn(c?2:0,s);const b=c?o:null,T=Do(b);try{null!==b&&(b.dirty=!1),n(r,s)}finally{Qs(b,T)}}finally{c&&null===t[po]&&Xh(t,po),yr(a),Tn(c?3:1,s)}}function $c(e,t,n){if(Rs(t)){const r=xn(null);try{const o=t.directiveEnd;for(let a=t.directiveStart;a<o;a++){const c=e.data[a];c.contentQueries&&c.contentQueries(1,n[a],a)}}finally{xn(r)}}}function Vc(e,t,n){Si()&&(function pE(e,t,n,r){const s=n.directiveStart,o=n.directiveEnd;ur(n)&&function EE(e,t,n){const r=er(t,e),s=ip(n);let a=16;n.signals?a=4096:n.onPush&&(a=64);const c=ru(e,nu(e,s,null,a,r,t,null,e[is].rendererFactory.createRenderer(r,n),null,null,null));e[t.index]=c}(t,n,e.data[s+n.componentOffset]),e.firstCreatePass||El(n,t),Sr(r,t);const a=n.initialInputs;for(let c=s;c<o;c++){const g=e.data[c],b=oi(t,e,c,n);Sr(b,t),null!==a&&CE(0,c-s,b,g,0,a),Lr(g)&&(vr(n.index,t)[sn]=oi(t,e,c,n))}}(e,t,n,er(n,t)),64==(64&n.flags)&&dp(e,t,n))}function zc(e,t,n=er){const r=t.localNames;if(null!==r){let s=t.index+1;for(let o=0;o<r.length;o+=2){const a=r[o+1],c=-1===a?n(t,e):e[a];e[s++]=c}}}function ip(e){const t=e.tView;return null===t||t.incompleteFirstPass?e.tView=Gc(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function Gc(e,t,n,r,s,o,a,c,g,b,T){const N=Tt+r,$=N+s,q=function tE(e,t){const n=[];for(let r=0;r<t;r++)n.push(r<e?null:Mt);return n}(N,$),De="function"==typeof b?b():b;return q[We]={type:e,blueprint:q,template:n,queries:null,viewQuery:c,declTNode:t,data:q.slice().fill(null,N),bindingStartIndex:N,expandoStartIndex:$,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 o?o():o,pipeRegistry:"function"==typeof a?a():a,firstChild:null,schemas:g,consts:De,incompleteFirstPass:!1,ssrId:T}}let ap=e=>null;function lp(e,t,n,r){for(let s in e)if(e.hasOwnProperty(s)){n=null===n?{}:n;const o=e[s];null===r?up(n,t,s,o):r.hasOwnProperty(s)&&up(n,t,r[s],o)}return n}function up(e,t,n,r){e.hasOwnProperty(n)?e[n].push(t,r):e[n]=[t,r]}function vs(e,t,n,r,s,o,a,c){const g=er(t,n);let T,b=t.inputs;!c&&null!=b&&(T=b[r])?(qc(e,n,T,r,s),ur(t)&&function cE(e,t){const n=vr(t,e);16&n[dt]||(n[dt]|=64)}(n,t.index)):3&t.type&&(r=function uE(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(r),s=null!=a?a(s,t.value||"",r):s,o.setProperty(g,r,s))}function Wc(e,t,n,r){if(Si()){const s=null===r?null:{"":-1},o=function mE(e,t){const n=e.directiveRegistry;let r=null,s=null;if(n)for(let o=0;o<n.length;o++){const a=n[o];if(Er(t,a.selectors,!1))if(r||(r=[]),Lr(a))if(null!==a.findHostDirectiveDefs){const c=[];s=s||new Map,a.findHostDirectiveDefs(a,c,s),r.unshift(...c,a),Kc(e,t,c.length)}else r.unshift(a),Kc(e,t,0);else s=s||new Map,a.findHostDirectiveDefs?.(a,r,s),r.push(a)}return null===r?null:[r,s]}(e,n);let a,c;null===o?a=c=null:[a,c]=o,null!==a&&cp(e,t,n,a,s,c),s&&function vE(e,t,n){if(t){const r=e.localNames=[];for(let s=0;s<t.length;s+=2){const o=n[t[s+1]];if(null==o)throw new F(-301,!1);r.push(t[s],o)}}}(n,r,s)}n.mergedAttrs=or(n.mergedAttrs,n.attrs)}function cp(e,t,n,r,s,o){for(let b=0;b<r.length;b++)Uu(El(n,t),e,r[b].type);!function _E(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}(n,e.data.length,r.length);for(let b=0;b<r.length;b++){const T=r[b];T.providersResolver&&T.providersResolver(T)}let a=!1,c=!1,g=Za(e,t,r.length,null);for(let b=0;b<r.length;b++){const T=r[b];n.mergedAttrs=or(n.mergedAttrs,T.hostAttrs),DE(e,n,t,g,T),yE(g,T,s),null!==T.contentQueries&&(n.flags|=4),(null!==T.hostBindings||null!==T.hostAttrs||0!==T.hostVars)&&(n.flags|=64);const N=T.type.prototype;!a&&(N.ngOnChanges||N.ngOnInit||N.ngDoCheck)&&((e.preOrderHooks??=[]).push(n.index),a=!0),!c&&(N.ngOnChanges||N.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(n.index),c=!0),g++}!function lE(e,t,n){const s=t.directiveEnd,o=e.data,a=t.attrs,c=[];let g=null,b=null;for(let T=t.directiveStart;T<s;T++){const N=o[T],$=n?n.get(N):null,De=$?$.outputs:null;g=lp(N.inputs,T,g,$?$.inputs:null),b=lp(N.outputs,T,b,De);const Fe=null===g||null===a||En(t)?null:wE(g,T,a);c.push(Fe)}null!==g&&(g.hasOwnProperty("class")&&(t.flags|=8),g.hasOwnProperty("style")&&(t.flags|=16)),t.initialInputs=c,t.inputs=g,t.outputs=b}(e,n,o)}function dp(e,t,n){const r=n.directiveStart,s=n.directiveEnd,o=n.index,a=function h(){return ft.lFrame.currentDirectiveIndex}();try{yr(o);for(let c=r;c<s;c++){const g=e.data[c],b=t[c];v(c),(null!==g.hostBindings||0!==g.hostVars||null!==g.hostAttrs)&&gE(g,b)}}finally{yr(-1),v(a)}}function gE(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function Kc(e,t,n){t.componentOffset=n,(e.components??=[]).push(t.index)}function yE(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;Lr(t)&&(n[""]=e)}}function DE(e,t,n,r,s){e.data[r]=s;const o=s.factory||(s.factory=cs(s.type)),a=new Oa(o,Lr(s),Ji);e.blueprint[r]=a,n[r]=a,function fE(e,t,n,r,s){const o=s.hostBindings;if(o){let a=e.hostBindingOpCodes;null===a&&(a=e.hostBindingOpCodes=[]);const c=~t.index;(function hE(e){let t=e.length;for(;t>0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(a)!=c&&a.push(c),a.push(n,r,o)}}(e,t,r,Za(e,n,s.hostVars,Mt),s)}function io(e,t,n,r,s,o){const a=er(e,t);!function Yc(e,t,n,r,s,o,a){if(null==o)e.removeAttribute(t,s,n);else{const c=null==a?ie(o):a(o,r||"",s);e.setAttribute(t,s,c,n)}}(t[ht],a,o,e.value,n,r,s)}function CE(e,t,n,r,s,o){const a=o[t];if(null!==a)for(let c=0;c<a.length;)fp(r,n,a[c++],a[c++],a[c++])}function fp(e,t,n,r,s){const o=xn(null);try{const a=e.inputTransforms;null!==a&&a.hasOwnProperty(r)&&(s=a[r].call(t,s)),null!==e.setInput?e.setInput(t,s,n,r):t[r]=s}finally{xn(o)}}function wE(e,t,n){let r=null,s=0;for(;s<n.length;){const o=n[s];if(0!==o)if(5!==o){if("number"==typeof o)break;if(e.hasOwnProperty(o)){null===r&&(r=[]);const a=e[o];for(let c=0;c<a.length;c+=2)if(a[c]===t){r.push(o,a[c+1],n[s+1]);break}}s+=2}else s+=2;else s+=4}return r}function hp(e,t,n,r){return[e,!0,!1,t,null,0,r,n,null,null,null]}function pp(e,t){const n=e.contentQueries;if(null!==n)for(let r=0;r<n.length;r+=2){const o=n[r+1];if(-1!==o){const a=e.data[o];S(n[r]),a.contentQueries(2,t[o],o)}}}function ru(e,t){return e[kr]?e[ko][Pn]=t:e[kr]=t,e[ko]=t,t}function Zc(e,t,n){S(0);const r=xn(null);try{t(e,n)}finally{xn(r)}}function gp(e){return e[Fr]||(e[Fr]=[])}function mp(e){return e.cleanup||(e.cleanup=[])}function vp(e,t,n){return(null===e||Lr(e))&&(n=function ti(e){for(;Array.isArray(e);){if("object"==typeof e[Ws])return e;e=e[Xt]}return null}(n[t.index])),n[ht]}function yp(e,t){const n=e[lr],r=n?n.get(Vo,null):null;r&&r.handleError(t)}function qc(e,t,n,r,s){for(let o=0;o<n.length;){const a=n[o++],c=n[o++];fp(e.data[a],t[a],r,c,s)}}function Oo(e,t,n){const r=Hn(t,e);!function zf(e,t,n){e.setValue(t,n)}(e[ht],r,n)}function bE(e,t){const n=vr(t,e),r=n[We];!function ME(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}(r,n);const s=n[Xt];null!==s&&null===n[Jr]&&(n[Jr]=Oc(s,n[lr])),Qc(r,n,n[sn])}function Qc(e,t,n){Pe(t);try{const r=e.viewQuery;null!==r&&Zc(1,r,n);const s=e.template;null!==s&&op(e,t,s,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),e.staticContentQueries&&pp(e,t),e.staticViewQueries&&Zc(2,e.viewQuery,n);const o=e.components;null!==o&&function TE(e,t){for(let n=0;n<t.length;n++)bE(e,t[n])}(t,o)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[dt]&=-5,kt()}}let _p=(()=>{var e;class t{constructor(){this.all=new Set,this.queue=new Map}create(r,s,o){const a=typeof Zone>"u"?null:Zone.current,c=function j(e,t,n){const r=Object.create(Ue);n&&(r.consumerAllowSignalWrites=!0),r.fn=e,r.schedule=t;const s=a=>{r.cleanupFn=a};return r.ref={notify:()=>_o(r),run:()=>{if(r.dirty=!1,r.hasRun&&!Eo(r))return;r.hasRun=!0;const a=Do(r);try{r.cleanupFn(),r.cleanupFn=ve,r.fn(s)}finally{Qs(r,a)}},cleanup:()=>r.cleanupFn()},r.ref}(r,T=>{this.all.has(T)&&this.queue.set(T,a)},o);let g;this.all.add(c),c.notify();const b=()=>{c.cleanup(),g?.(),this.all.delete(c),this.queue.delete(c)};return g=s?.onDestroy(b),{destroy:b}}flush(){if(0!==this.queue.size)for(const[r,s]of this.queue)this.queue.delete(r),s?s.run(()=>r.run()):r.run()}get isQueueEmpty(){return 0===this.queue.size}}return(e=t).\u0275prov=Z({token:e,providedIn:"root",factory:()=>new e}),t})();function su(e,t,n){let r=n?e.styles:null,s=n?e.classes:null,o=0;if(null!==t)for(let a=0;a<t.length;a++){const c=t[a];"number"==typeof c?o=c:1==o?s=Le(s,c):2==o&&(r=Le(r,c+": "+t[++a]+";"))}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=s:e.classesWithoutHost=s}function qa(e,t,n,r,s=!1){for(;null!==n;){const o=t[n.index];null!==o&&r.push(Zt(o)),Nn(o)&&Dp(o,r);const a=n.type;if(8&a)qa(e,t,n.child,r);else if(32&a){const c=Xu(n,t);let g;for(;g=c();)r.push(g)}else if(16&a){const c=Xf(t,n);if(Array.isArray(c))r.push(...c);else{const g=Ba(t[Ht]);qa(g[We],g,c,r,!0)}}n=s?n.projectionNext:n.next}return r}function Dp(e,t){for(let n=en;n<e.length;n++){const r=e[n],s=r[We].firstChild;null!==s&&qa(r[We],r,s,t)}e[Qn]!==e[Xt]&&t.push(e[Qn])}function ou(e,t,n,r=!0){const s=t[is],o=s.rendererFactory,a=s.afterRenderEventManager;o.begin?.(),a?.begin();try{Ep(e,t,e.template,n)}catch(g){throw r&&yp(t,g),g}finally{o.end?.(),s.effectManager?.flush(),a?.end()}}function Ep(e,t,n,r){const s=t[dt];if(256!=(256&s)){t[is].effectManager?.flush(),Pe(t);try{$o(t),function ge(e){return ft.lFrame.bindingIndex=e}(e.bindingStartIndex),null!==n&&op(e,t,n,2,r);const a=3==(3&s);if(a){const b=e.preOrderCheckHooks;null!==b&&kn(t,b,null)}else{const b=e.preOrderHooks;null!==b&&bs(t,b,0,null),Tr(t,0)}if(function AE(e){for(let t=Hf(e);null!==t;t=$f(t)){if(!t[Ps])continue;const n=t[Rn];for(let r=0;r<n.length;r++){eo(n[r])}}}(t),Cp(t,2),null!==e.contentQueries&&pp(e,t),a){const b=e.contentCheckHooks;null!==b&&kn(t,b)}else{const b=e.contentHooks;null!==b&&bs(t,b,1),Tr(t,1)}!function eE(e,t){const n=e.hostBindingOpCodes;if(null===n)return;const r=Jh(t,Xr);try{for(let s=0;s<n.length;s++){const o=n[s];if(o<0)yr(~o);else{const a=o,c=n[++s],g=n[++s];u(c,a),r.dirty=!1;const b=Do(r);try{g(2,t[a])}finally{Qs(r,b)}}}}finally{null===t[Xr]&&Xh(t,Xr),yr(-1)}}(e,t);const c=e.components;null!==c&&bp(t,c,0);const g=e.viewQuery;if(null!==g&&Zc(2,g,r),a){const b=e.viewCheckHooks;null!==b&&kn(t,b)}else{const b=e.viewHooks;null!==b&&bs(t,b,2),Tr(t,2)}!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),t[dt]&=-73,ba(t)}finally{kt()}}}function Cp(e,t){for(let n=Hf(e);null!==n;n=$f(n))for(let r=en;r<n.length;r++)wp(n[r],t)}function OE(e,t,n){wp(vr(t,e),n)}function wp(e,t){if(!function gl(e){return 128==(128&e[dt])}(e))return;const n=e[We],r=e[dt];if(80&r&&0===t||1024&r||2===t)Ep(n,e,n.template,e[sn]);else if(e[wr]>0){Cp(e,1);const s=n.components;null!==s&&bp(e,s,1)}}function bp(e,t,n){for(let r=0;r<t.length;r++)OE(e,t[r],n)}class Qa{get rootNodes(){const t=this._lView,n=t[We];return qa(n,t,n.firstChild,[])}constructor(t,n){this._lView=t,this._cdRefInjectingView=n,this._appRef=null,this._attachedToViewContainer=!1}get context(){return this._lView[sn]}set context(t){this._lView[sn]=t}get destroyed(){return 256==(256&this._lView[dt])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const t=this._lView[Ut];if(Nn(t)){const n=t[8],r=n?n.indexOf(this):-1;r>-1&&(Ll(t,r),bl(n,r))}this._attachedToViewContainer=!1}tc(this._lView[We],this._lView)}onDestroy(t){!function Hr(e,t){if(256==(256&e[dt]))throw new F(911,!1);null===e[ls]&&(e[ls]=[]),e[ls].push(t)}(this._lView,t)}markForCheck(){Ya(this._cdRefInjectingView||this._lView)}detach(){this._lView[dt]&=-129}reattach(){this._lView[dt]|=128}detectChanges(){ou(this._lView[We],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new F(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function p_(e,t){Ua(e,t,t[ht],2,null,null)}(this._lView[We],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new F(902,!1);this._appRef=t}}class PE extends Qa{constructor(t){super(t),this._view=t}detectChanges(){const t=this._view;ou(t[We],t,t[sn],!1)}checkNoChanges(){}get context(){return null}}class Mp extends Wa{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const n=ct(t);return new Ja(n,this.ngModule)}}function Tp(e){const t=[];for(let n in e)e.hasOwnProperty(n)&&t.push({propName:e[n],templateName:n});return t}class NE{constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){r=jt(r);const s=this.injector.get(t,Nc,r);return s!==Nc||n===Nc?s:this.parentInjector.get(t,n,r)}}class Ja extends Ah{get inputs(){const t=this.componentDef,n=t.inputTransforms,r=Tp(t.inputs);if(null!==n)for(const s of r)n.hasOwnProperty(s.propName)&&(s.transform=n[s.propName]);return r}get outputs(){return Tp(this.componentDef.outputs)}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=function Vs(e){return e.map(qr).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!n}create(t,n,r,s){let o=(s=s||this.ngModule)instanceof so?s:s?.injector;o&&null!==this.componentDef.getStandaloneInjector&&(o=this.componentDef.getStandaloneInjector(o)||o);const a=o?new NE(t,o):t,c=a.get(Ph,null);if(null===c)throw new F(407,!1);const N={rendererFactory:c,sanitizer:a.get(AD,null),effectManager:a.get(_p,null),afterRenderEventManager:a.get(Uc,null)},$=c.createRenderer(null,this.componentDef),q=this.componentDef.selectors[0][0]||"div",De=r?function nE(e,t,n,r){const o=r.get(Yh,!1)||n===Oe.ShadowDom,a=e.selectRootElement(t,o);return function rE(e){ap(e)}(a),a}($,r,this.componentDef.encapsulation,a):kl($,q,function RE(e){const t=e.toLowerCase();return"svg"===t?Un:"math"===t?"math":null}(q)),it=this.componentDef.signals?4608:this.componentDef.onPush?576:528;let Ie=null;null!==De&&(Ie=Oc(De,a,!0));const _t=Gc(0,null,null,1,0,null,null,null,null,null,null),At=nu(null,_t,null,it,null,null,N,$,a,null,Ie);let tn,ss;Pe(At);try{const Po=this.componentDef;let ma,af=null;Po.findHostDirectiveDefs?(ma=[],af=new Map,Po.findHostDirectiveDefs(Po,ma,af),ma.push(Po)):ma=[Po];const FM=function FE(e,t){const n=e[We],r=Tt;return e[r]=t,Xi(n,r,2,"#host",null)}(At,De),kM=function kE(e,t,n,r,s,o,a){const c=s[We];!function LE(e,t,n,r){for(const s of e)t.mergedAttrs=or(t.mergedAttrs,s.hostAttrs);null!==t.mergedAttrs&&(su(t,t.mergedAttrs,!0),null!==n&&rh(r,n,t))}(r,e,t,a);let g=null;null!==t&&(g=Oc(t,s[lr]));const b=o.rendererFactory.createRenderer(t,n);let T=16;n.signals?T=4096:n.onPush&&(T=64);const N=nu(s,ip(n),null,T,s[e.index],e,o,b,null,null,g);return c.firstCreatePass&&Kc(c,e,r.length-1),ru(s,N),s[e.index]=N}(FM,De,Po,ma,At,N,$);ss=Mo(_t,Tt),De&&function jE(e,t,n,r){if(r)Ot(e,n,["ng-version",OD.full]);else{const{attrs:s,classes:o}=function gr(e){const t=[],n=[];let r=1,s=2;for(;r<e.length;){let o=e[r];if("string"==typeof o)2===s?""!==o&&t.push(o,e[++r]):8===s&&n.push(o);else{if(!hn(s))break;s=o}r++}return{attrs:t,classes:n}}(t.selectors[0]);s&&Ot(e,n,s),o&&o.length>0&&nh(e,n,o.join(" "))}}($,Po,De,r),void 0!==n&&function UE(e,t,n){const r=e.projection=[];for(let s=0;s<t.length;s++){const o=n[s];r.push(null!=o?Array.from(o):null)}}(ss,this.ngContentSelectors,n),tn=function BE(e,t,n,r,s,o){const a=Fn(),c=s[We],g=er(a,s);cp(c,s,a,n,null,r);for(let T=0;T<n.length;T++)Sr(oi(s,c,a.directiveStart+T,a),s);dp(c,s,a),g&&Sr(g,s);const b=oi(s,c,a.directiveStart+a.componentOffset,a);if(e[sn]=s[sn]=b,null!==o)for(const T of o)T(b,t);return $c(c,a,e),b}(kM,Po,ma,af,At,[HE]),Qc(_t,At,null)}finally{kt()}return new xE(this.componentType,tn,Zi(ss,At),At,ss)}}class xE extends CD{constructor(t,n,r,s,o){super(),this.location=r,this._rootLView=s,this._tNode=o,this.previousInputValues=null,this.instance=n,this.hostView=this.changeDetectorRef=new PE(s),this.componentType=t}setInput(t,n){const r=this._tNode.inputs;let s;if(null!==r&&(s=r[t])){if(this.previousInputValues??=new Map,this.previousInputValues.has(t)&&Object.is(this.previousInputValues.get(t),n))return;const o=this._rootLView;qc(o[We],o,s,t,n),this.previousInputValues.set(t,n),Ya(vr(this._tNode.index,o))}}get injector(){return new Vr(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}}function HE(){const e=Fn();Oi(Se()[We],e)}function Jc(e){let t=function Sp(e){return Object.getPrototypeOf(e.prototype).constructor}(e.type),n=!0;const r=[e];for(;t;){let s;if(Lr(e))s=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new F(903,!1);s=t.\u0275dir}if(s){if(n){r.push(s);const a=e;a.inputs=iu(e.inputs),a.inputTransforms=iu(e.inputTransforms),a.declaredInputs=iu(e.declaredInputs),a.outputs=iu(e.outputs);const c=s.hostBindings;c&&GE(e,c);const g=s.viewQuery,b=s.contentQueries;if(g&&VE(e,g),b&&zE(e,b),ne(e.inputs,s.inputs),ne(e.declaredInputs,s.declaredInputs),ne(e.outputs,s.outputs),null!==s.inputTransforms&&(null===a.inputTransforms&&(a.inputTransforms={}),ne(a.inputTransforms,s.inputTransforms)),Lr(s)&&s.data.animation){const T=e.data;T.animation=(T.animation||[]).concat(s.data.animation)}}const o=s.features;if(o)for(let a=0;a<o.length;a++){const c=o[a];c&&c.ngInherit&&c(e),c===Jc&&(n=!1)}}t=Object.getPrototypeOf(t)}!function $E(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=or(s.hostAttrs,n=or(n,s.hostAttrs))}}(r)}function iu(e){return e===Je?{}:e===je?[]:e}function VE(e,t){const n=e.viewQuery;e.viewQuery=n?(r,s)=>{t(r,s),n(r,s)}:t}function zE(e,t){const n=e.contentQueries;e.contentQueries=n?(r,s,o)=>{t(r,s,o),n(r,s,o)}:t}function GE(e,t){const n=e.hostBindings;e.hostBindings=n?(r,s)=>{t(r,s),n(r,s)}:t}function Pp(e){const t=e.inputConfig,n={};for(const r in t)if(t.hasOwnProperty(r)){const s=t[r];Array.isArray(s)&&s[2]&&(n[r]=s[2])}e.inputTransforms=n}function au(e){return!!Xc(e)&&(Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e)}function Xc(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function ao(e,t,n){return e[t]=n}function Xa(e,t){return e[t]}function Ir(e,t,n){return!Object.is(e[t],n)&&(e[t]=n,!0)}function ci(e,t,n,r){const s=Ir(e,t,n);return Ir(e,t+1,r)||s}function Ts(e,t,n,r,s,o){const a=ci(e,t,n,r);return ci(e,t+2,s,o)||a}function ed(e,t,n,r){const s=Se();return Ir(s,Ke(),t)&&(Nt(),io(ze(),s,e,t,n,r)),ed}function ta(e,t,n,r){return Ir(e,Ke(),n)?t+ie(n)+r:Mt}function na(e,t,n,r,s,o){const c=ci(e,function J(){return ft.lFrame.bindingIndex}(),n,s);return Ve(2),c?t+ie(n)+r+ie(s)+o:Mt}function zp(e,t,n,r,s,o,a,c){const g=Se(),b=Nt(),T=e+Tt,N=b.firstCreatePass?function v0(e,t,n,r,s,o,a,c,g){const b=t.consts,T=Xi(t,e,4,a||null,hs(b,c));Wc(t,n,T,hs(b,g)),Oi(t,T);const N=T.tView=Gc(2,T,r,s,o,t.directiveRegistry,t.pipeRegistry,null,t.schemas,b,null);return null!==t.queries&&(t.queries.template(t,T),N.queries=t.queries.embeddedTView(T)),T}(T,b,g,t,n,r,s,o,a):b.data[T];i(N,!1);const $=Gp(b,g,N,e);gs()&&jl(b,g,$,N),Sr($,g),ru(g,g[T]=hp($,g,$,N)),Ys(N)&&Vc(b,g,N),null!=a&&zc(g,N,c)}let Gp=function Wp(e,t,n,r){return Gt(!0),t[ht].createComment("")};function Kp(e){return fr(function C(){return ft.lFrame.contextLView}(),Tt+e)}function id(e,t,n){const r=Se();return Ir(r,Ke(),t)&&vs(Nt(),ze(),r,e,t,r[ht],n,!1),id}function ad(e,t,n,r,s){const a=s?"class":"style";qc(e,n,t.inputs[a],a,r)}function fu(e,t,n,r){const s=Se(),o=Nt(),a=Tt+e,c=s[ht],g=o.firstCreatePass?function E0(e,t,n,r,s,o){const a=t.consts,g=Xi(t,e,2,r,hs(a,s));return Wc(t,n,g,hs(a,o)),null!==g.attrs&&su(g,g.attrs,!1),null!==g.mergedAttrs&&su(g,g.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,g),g}(a,o,s,t,n,r):o.data[a],b=Yp(o,s,g,c,t,e);s[a]=b;const T=Ys(g);return i(g,!0),rh(c,b,g),32!=(32&g.flags)&&gs()&&jl(o,s,b,g),0===function ni(){return ft.lFrame.elementDepthCount}()&&Sr(b,s),function Ti(){ft.lFrame.elementDepthCount++}(),T&&(Vc(o,s,g),$c(o,g,s)),null!==r&&zc(s,g),fu}function hu(){let e=Fn();l()?p():(e=e.parent,i(e,!1));const t=e;(function Ta(e){return ft.skipHydrationRootTNode===e})(t)&&function Ia(){ft.skipHydrationRootTNode=null}(),function To(){ft.lFrame.elementDepthCount--}();const n=Nt();return n.firstCreatePass&&(Oi(n,e),Rs(e)&&n.queries.elementEnd(e)),null!=t.classesWithoutHost&&function fy(e){return 0!=(8&e.flags)}(t)&&ad(n,t,Se(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function hy(e){return 0!=(16&e.flags)}(t)&&ad(n,t,Se(),t.stylesWithoutHost,!1),hu}function ld(e,t,n,r){return fu(e,t,n,r),hu(),ld}let Yp=(e,t,n,r,s,o)=>(Gt(!0),kl(r,s,function ps(){return ft.lFrame.currentNamespace}()));function pu(e,t,n){const r=Se(),s=Nt(),o=e+Tt,a=s.firstCreatePass?function b0(e,t,n,r,s){const o=t.consts,a=hs(o,r),c=Xi(t,e,8,"ng-container",a);return null!==a&&su(c,a,!0),Wc(t,n,c,hs(o,s)),null!==t.queries&&t.queries.elementStart(t,c),c}(o,s,r,t,n):s.data[o];i(a,!0);const c=Zp(s,r,a,e);return r[o]=c,gs()&&jl(s,r,c,a),Sr(c,r),Ys(a)&&(Vc(s,r,a),$c(s,a,r)),null!=n&&zc(r,a),pu}function gu(){let e=Fn();const t=Nt();return l()?p():(e=e.parent,i(e,!1)),t.firstCreatePass&&(Oi(t,e),Rs(e)&&t.queries.elementEnd(e)),gu}function ud(e,t,n){return pu(e,t,n),gu(),ud}let Zp=(e,t,n,r)=>(Gt(!0),ec(t[ht],""));function qp(){return Se()}function cd(e){return!!e&&"function"==typeof e.then}function Qp(e){return!!e&&"function"==typeof e.subscribe}function dd(e,t,n,r){const s=Se(),o=Nt(),a=Fn();return Jp(o,s,s[ht],a,e,t,r),dd}function fd(e,t){const n=Fn(),r=Se(),s=Nt();return Jp(s,r,vp(f(s.data),n,r),n,e,t),fd}function Jp(e,t,n,r,s,o,a){const c=Ys(r),b=e.firstCreatePass&&mp(e),T=t[sn],N=gp(t);let $=!0;if(3&r.type||a){const Fe=er(r,t),qe=a?a(Fe):Fe,it=N.length,Ie=a?At=>a(Zt(At[r.index])):r.index;let _t=null;if(!a&&c&&(_t=function S0(e,t,n,r){const s=e.cleanup;if(null!=s)for(let o=0;o<s.length-1;o+=2){const a=s[o];if(a===n&&s[o+1]===r){const c=t[Fr],g=s[o+2];return c.length>g?c[g]:null}"string"==typeof a&&(o+=2)}return null}(e,t,s,r.index)),null!==_t)(_t.__ngLastListenerFn__||_t).__ngNextListenerFn__=o,_t.__ngLastListenerFn__=o,$=!1;else{o=eg(r,t,T,o,!1);const At=n.listen(qe,s,o);N.push(o,At),b&&b.push(s,Ie,it,it+1)}}else o=eg(r,t,T,o,!1);const q=r.outputs;let De;if($&&null!==q&&(De=q[s])){const Fe=De.length;if(Fe)for(let qe=0;qe<Fe;qe+=2){const tn=t[De[qe]][De[qe+1]].subscribe(o),ss=N.length;N.push(o,tn),b&&b.push(s,r.index,ss,-(ss+1))}}}function Xp(e,t,n,r){try{return Tn(6,t,n),!1!==n(r)}catch(s){return yp(e,s),!1}finally{Tn(7,t,n)}}function eg(e,t,n,r,s){return function o(a){if(a===Function)return r;Ya(e.componentOffset>-1?vr(e.index,t):t);let g=Xp(t,n,r,a),b=o.__ngNextListenerFn__;for(;b;)g=Xp(t,n,b,a)&&g,b=b.__ngNextListenerFn__;return s&&!1===g&&a.preventDefault(),g}}function tg(e=1){return function tr(e){return(ft.lFrame.contextLView=function $r(e,t){for(;e>0;)t=t[Ds],e--;return t}(e,ft.lFrame.contextLView))[sn]}(e)}function I0(e,t){let n=null;const r=function $s(e){const t=e.attrs;if(null!=t){const n=t.indexOf(5);if(!(1&n))return t[n+1]}return null}(e);for(let s=0;s<t.length;s++){const o=t[s];if("*"!==o){if(null===r?Er(e,o,!0):Zr(r,o))return s}else n=s}return n}function ng(e){const t=Se()[Ht][vn];if(!t.projection){const r=t.projection=Fa(e?e.length:1,null),s=r.slice();let o=t.child;for(;null!==o;){const a=e?I0(o,e):0;null!==a&&(s[a]?s[a].projectionNext=o:r[a]=o,s[a]=o),o=o.next}}}function rg(e,t=0,n){const r=Se(),s=Nt(),o=Xi(s,Tt+e,16,null,n||null);null===o.projection&&(o.projection=t),p(),(!r[Jr]||no())&&32!=(32&o.flags)&&function C_(e,t,n){th(t[ht],0,t,n,rc(e,n,t),Zf(n.parent||t[vn],n,t))}(s,r,o)}function hd(e,t,n){return mu(e,"",t,"",n),hd}function mu(e,t,n,r,s){const o=Se(),a=ta(o,t,n,r);return a!==Mt&&vs(Nt(),ze(),o,e,a,o[ht],s,!1),mu}function vu(e,t){return e<<17|t<<2}function zo(e){return e>>17&32767}function pd(e){return 2|e}function di(e){return(131068&e)>>2}function gd(e,t){return-131069&e|t<<2}function md(e){return 1|e}function fg(e,t,n,r,s){const o=e[n+1],a=null===t;let c=r?zo(o):di(o),g=!1;for(;0!==c&&(!1===g||a);){const T=e[c+1];x0(e[c],t)&&(g=!0,e[c+1]=r?md(T):pd(T)),c=r?zo(T):di(T)}g&&(e[n+1]=r?pd(o):md(o))}function x0(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&ji(e,t)>=0}const rr={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function hg(e){return e.substring(rr.key,rr.keyEnd)}function F0(e){return e.substring(rr.value,rr.valueEnd)}function pg(e,t){const n=rr.textEnd;return n===t?-1:(t=rr.keyEnd=function B0(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}(e,rr.key=t,n),ua(e,t,n))}function gg(e,t){const n=rr.textEnd;let r=rr.key=ua(e,t,n);return n===r?-1:(r=rr.keyEnd=function j0(e,t,n){let r;for(;t<n&&(45===(r=e.charCodeAt(t))||95===r||(-33&r)>=65&&(-33&r)<=90||r>=48&&r<=57);)t++;return t}(e,r,n),r=vg(e,r,n),r=rr.value=ua(e,r,n),r=rr.valueEnd=function U0(e,t,n){let r=-1,s=-1,o=-1,a=t,c=a;for(;a<n;){const g=e.charCodeAt(a++);if(59===g)return c;34===g||39===g?c=a=yg(e,g,a,n):t===a-4&&85===o&&82===s&&76===r&&40===g?c=a=yg(e,41,a,n):g>32&&(c=a),o=s,s=r,r=-33&g}return c}(e,r,n),vg(e,r,n))}function mg(e){rr.key=0,rr.keyEnd=0,rr.value=0,rr.valueEnd=0,rr.textEnd=e.length}function ua(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function vg(e,t,n,r){return(t=ua(e,t,n))<n&&t++,t}function yg(e,t,n,r){let s=-1,o=n;for(;o<r;){const a=e.charCodeAt(o++);if(a==t&&92!==s)return o;s=92==a&&92===s?0:a}throw new Error}function vd(e,t,n){return js(e,t,n,!1),vd}function yd(e,t){return js(e,t,null,!0),yd}function Bs(e){Us(Cg,H0,e,!1)}function H0(e,t){for(let n=function L0(e){return mg(e),gg(e,ua(e,0,rr.textEnd))}(t);n>=0;n=gg(t,n))Cg(e,hg(t),F0(t))}function _g(e){Us(K0,lo,e,!0)}function lo(e,t){for(let n=function k0(e){return mg(e),pg(e,ua(e,0,rr.textEnd))}(t);n>=0;n=pg(t,n))ms(e,hg(t),!0)}function js(e,t,n,r){const s=Se(),o=Nt(),a=Ve(2);o.firstUpdatePass&&Eg(o,e,a,r),t!==Mt&&Ir(s,a,t)&&wg(o,o.data[Sn()],s,s[ht],e,s[a+1]=function Z0(e,t){return null==e||""===e||("string"==typeof t?e+=t:"object"==typeof e&&(e=de(So(e)))),e}(t,n),r,a)}function Us(e,t,n,r){const s=Nt(),o=Ve(2);s.firstUpdatePass&&Eg(s,null,o,r);const a=Se();if(n!==Mt&&Ir(a,o,n)){const c=s.data[Sn()];if(Mg(c,r)&&!Dg(s,o)){let g=r?c.classesWithoutHost:c.stylesWithoutHost;null!==g&&(n=Le(g,n||"")),ad(s,c,a,n,r)}else!function Y0(e,t,n,r,s,o,a,c){s===Mt&&(s=je);let g=0,b=0,T=0<s.length?s[0]:null,N=0<o.length?o[0]:null;for(;null!==T||null!==N;){const $=g<s.length?s[g+1]:void 0,q=b<o.length?o[b+1]:void 0;let Fe,De=null;T===N?(g+=2,b+=2,$!==q&&(De=N,Fe=q)):null===N||null!==T&&T<N?(g+=2,De=T):(b+=2,De=N,Fe=q),null!==De&&wg(e,t,n,r,De,Fe,a,c),T=g<s.length?s[g]:null,N=b<o.length?o[b]:null}}(s,c,a,a[ht],a[o+1],a[o+1]=function W0(e,t,n){if(null==n||""===n)return je;const r=[],s=So(n);if(Array.isArray(s))for(let o=0;o<s.length;o++)e(r,s[o],!0);else if("object"==typeof s)for(const o in s)s.hasOwnProperty(o)&&e(r,o,s[o]);else"string"==typeof s&&t(r,s);return r}(e,t,n),r,o)}}function Dg(e,t){return t>=e.expandoStartIndex}function Eg(e,t,n,r){const s=e.data;if(null===s[n+1]){const o=s[Sn()],a=Dg(e,n);Mg(o,r)&&null===t&&!a&&(t=!1),t=function $0(e,t,n,r){const s=f(e);let o=r?t.residualClasses:t.residualStyles;if(null===s)0===(r?t.classBindings:t.styleBindings)&&(n=rl(n=_d(null,e,t,n,r),t.attrs,r),o=null);else{const a=t.directiveStylingLast;if(-1===a||e[a]!==s)if(n=_d(s,e,t,n,r),null===o){let g=function V0(e,t,n){const r=n?t.classBindings:t.styleBindings;if(0!==di(r))return e[zo(r)]}(e,t,r);void 0!==g&&Array.isArray(g)&&(g=_d(null,e,t,g[1],r),g=rl(g,t.attrs,r),function z0(e,t,n,r){e[zo(n?t.classBindings:t.styleBindings)]=r}(e,t,r,g))}else o=function G0(e,t,n){let r;const s=t.directiveEnd;for(let o=1+t.directiveStylingLast;o<s;o++)r=rl(r,e[o].hostAttrs,n);return rl(r,t.attrs,n)}(e,t,r)}return void 0!==o&&(r?t.residualClasses=o:t.residualStyles=o),n}(s,o,t,r),function R0(e,t,n,r,s,o){let a=o?t.classBindings:t.styleBindings,c=zo(a),g=di(a);e[r]=n;let T,b=!1;if(Array.isArray(n)?(T=n[1],(null===T||ji(n,T)>0)&&(b=!0)):T=n,s)if(0!==g){const $=zo(e[c+1]);e[r+1]=vu($,c),0!==$&&(e[$+1]=gd(e[$+1],r)),e[c+1]=function O0(e,t){return 131071&e|t<<17}(e[c+1],r)}else e[r+1]=vu(c,0),0!==c&&(e[c+1]=gd(e[c+1],r)),c=r;else e[r+1]=vu(g,0),0===c?c=r:e[g+1]=gd(e[g+1],r),g=r;b&&(e[r+1]=pd(e[r+1])),fg(e,T,r,!0),fg(e,T,r,!1),function N0(e,t,n,r,s){const o=s?e.residualClasses:e.residualStyles;null!=o&&"string"==typeof t&&ji(o,t)>=0&&(n[r+1]=md(n[r+1]))}(t,T,e,r,o),a=vu(c,g),o?t.classBindings=a:t.styleBindings=a}(s,o,t,n,a,r)}}function _d(e,t,n,r,s){let o=null;const a=n.directiveEnd;let c=n.directiveStylingLast;for(-1===c?c=n.directiveStart:c++;c<a&&(o=t[c],r=rl(r,o.hostAttrs,s),o!==e);)c++;return null!==e&&(n.directiveStylingLast=c),r}function rl(e,t,n){const r=n?1:2;let s=-1;if(null!==t)for(let o=0;o<t.length;o++){const a=t[o];"number"==typeof a?s=a:s===r&&(Array.isArray(e)||(e=void 0===e?[]:["",e]),ms(e,a,!!n||t[++o]))}return void 0===e?null:e}function Cg(e,t,n){ms(e,t,So(n))}function K0(e,t,n){const r=String(t);""!==r&&!r.includes(" ")&&ms(e,r,n)}function wg(e,t,n,r,s,o,a,c){if(!(3&t.type))return;const g=e.data,b=g[c+1],T=function P0(e){return 1==(1&e)}(b)?bg(g,t,n,s,di(b),a):void 0;yu(T)||(yu(o)||function A0(e){return 2==(2&e)}(b)&&(o=bg(g,null,n,s,c,a)),function b_(e,t,n,r,s){if(t)s?e.addClass(n,r):e.removeClass(n,r);else{let o=-1===r.indexOf("-")?void 0:xl.DashCase;null==s?e.removeStyle(n,r,o):("string"==typeof s&&s.endsWith("!important")&&(s=s.slice(0,-10),o|=xl.Important),e.setStyle(n,r,s,o))}}(r,a,Hn(Sn(),n),s,o))}function bg(e,t,n,r,s,o){const a=null===t;let c;for(;s>0;){const g=e[s],b=Array.isArray(g),T=b?g[1]:g,N=null===T;let $=n[s+1];$===Mt&&($=N?je:void 0);let q=N?zu($,r):T===r?$:void 0;if(b&&!yu(q)&&(q=zu(g,r)),yu(q)&&(c=q,a))return c;const De=e[s+1];s=a?zo(De):di(De)}if(null!==t){let g=o?t.residualClasses:t.residualStyles;null!=g&&(c=zu(g,r))}return c}function yu(e){return void 0!==e}function Mg(e,t){return 0!=(e.flags&(t?8:16))}function Tg(e,t=""){const n=Se(),r=Nt(),s=e+Tt,o=r.firstCreatePass?Xi(r,s,1,t,null):r.data[s],a=Sg(r,n,o,t,e);n[s]=a,gs()&&jl(r,n,a,o),i(o,!1)}let Sg=(e,t,n,r,s)=>(Gt(!0),function Fl(e,t){return e.createText(t)}(t[ht],r));function Dd(e){return _u("",e,""),Dd}function _u(e,t,n){const r=Se(),s=ta(r,e,t,n);return s!==Mt&&Oo(r,Sn(),s),_u}function Ed(e,t,n,r,s){const o=Se(),a=na(o,e,t,n,r,s);return a!==Mt&&Oo(o,Sn(),a),Ed}function Fg(e,t,n){Us(ms,lo,ta(Se(),e,t,n),!0)}function Cd(e,t,n){const r=Se();return Ir(r,Ke(),t)&&vs(Nt(),ze(),r,e,t,r[ht],n,!0),Cd}function wd(e,t,n){const r=Se();if(Ir(r,Ke(),t)){const o=Nt(),a=ze();vs(o,a,r,e,t,vp(f(o.data),a,r),n,!0)}return wd}const fi=void 0;var mC=["en",[["a","p"],["AM","PM"],fi],[["AM","PM"],fi,fi],[["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"]],fi,[["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"]],fi,[["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}",fi,"{1} 'at' {0}",fi],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function gC(e){const n=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length;return 1===n&&0===r?1:5}];let ca={};function bd(e){const t=function vC(e){return e.toLowerCase().replace(/_/g,"-")}(e);let n=Wg(t);if(n)return n;const r=t.split("-")[0];if(n=Wg(r),n)return n;if("en"===r)return mC;throw new F(701,!1)}function Gg(e){return bd(e)[da.PluralCase]}function Wg(e){return e in ca||(ca[e]=xt.ng&&xt.ng.common&&xt.ng.common.locales&&xt.ng.common.locales[e]),ca[e]}var da=function(e){return e[e.LocaleId=0]="LocaleId",e[e.DayPeriodsFormat=1]="DayPeriodsFormat",e[e.DayPeriodsStandalone=2]="DayPeriodsStandalone",e[e.DaysFormat=3]="DaysFormat",e[e.DaysStandalone=4]="DaysStandalone",e[e.MonthsFormat=5]="MonthsFormat",e[e.MonthsStandalone=6]="MonthsStandalone",e[e.Eras=7]="Eras",e[e.FirstDayOfWeek=8]="FirstDayOfWeek",e[e.WeekendRange=9]="WeekendRange",e[e.DateFormat=10]="DateFormat",e[e.TimeFormat=11]="TimeFormat",e[e.DateTimeFormat=12]="DateTimeFormat",e[e.NumberSymbols=13]="NumberSymbols",e[e.NumberFormats=14]="NumberFormats",e[e.CurrencyCode=15]="CurrencyCode",e[e.CurrencySymbol=16]="CurrencySymbol",e[e.CurrencyName=17]="CurrencyName",e[e.Currencies=18]="Currencies",e[e.Directionality=19]="Directionality",e[e.PluralCase=20]="PluralCase",e[e.ExtraData=21]="ExtraData",e}(da||{});const fa="en-US";let Kg=fa;function Sd(e,t,n,r,s){if(e=be(e),Array.isArray(e))for(let o=0;o<e.length;o++)Sd(e[o],t,n,r,s);else{const o=Nt(),a=Se(),c=Fn();let g=ui(e)?e:be(e.provide);const b=wh(e),T=1048575&c.providerIndexes,N=c.directiveStart,$=c.providerIndexes>>20;if(ui(e)||!e.multi){const q=new Oa(b,s,Ji),De=Ad(g,t,s?T:T+$,N);-1===De?(Uu(El(c,a),o,g),Id(o,e,t.length),t.push(g),c.directiveStart++,c.directiveEnd++,s&&(c.providerIndexes+=1048576),n.push(q),a.push(q)):(n[De]=q,a[De]=q)}else{const q=Ad(g,t,T+$,N),De=Ad(g,t,T,T+$),qe=De>=0&&n[De];if(s&&!qe||!s&&!(q>=0&&n[q])){Uu(El(c,a),o,g);const it=function gw(e,t,n,r,s){const o=new Oa(e,n,Ji);return o.multi=[],o.index=t,o.componentProviders=0,ym(o,s,r&&!n),o}(s?pw:hw,n.length,s,r,b);!s&&qe&&(n[De].providerFactory=it),Id(o,e,t.length,0),t.push(g),c.directiveStart++,c.directiveEnd++,s&&(c.providerIndexes+=1048576),n.push(it),a.push(it)}else Id(o,e,q>-1?q:De,ym(n[s?De:q],b,!s&&r));!s&&r&&qe&&n[De].componentProviders++}}}function Id(e,t,n,r){const s=ui(t),o=function rD(e){return!!e.useClass}(t);if(s||o){const g=(o?be(t.useClass):t).prototype.ngOnDestroy;if(g){const b=e.destroyHooks||(e.destroyHooks=[]);if(!s&&t.multi){const T=b.indexOf(n);-1===T?b.push(n,[r,g]):b[T+1].push(r,g)}else b.push(n,g)}}}function ym(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function Ad(e,t,n,r){for(let s=n;s<r;s++)if(t[s]===e)return s;return-1}function hw(e,t,n,r){return Od(this.multi,[])}function pw(e,t,n,r){const s=this.multi;let o;if(this.providerFactory){const a=this.providerFactory.componentProviders,c=oi(n,n[We],this.providerFactory.index,r);o=c.slice(0,a),Od(s,o);for(let g=a;g<c.length;g++)o.push(c[g])}else o=[],Od(s,o);return o}function Od(e,t){for(let n=0;n<e.length;n++)t.push((0,e[n])());return t}function _m(e,t=[]){return n=>{n.providersResolver=(r,s)=>function fw(e,t,n){const r=Nt();if(r.firstCreatePass){const s=Lr(e);Sd(n,r.data,r.blueprint,s,!0),Sd(t,r.data,r.blueprint,s,!1)}}(r,s?s(e):e,t)}}class hi{}class Dm{}function mw(e,t){return new Pd(e,t??null,[])}class Pd extends hi{constructor(t,n,r){super(),this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new Mp(this);const s=wn(t);this._bootstrapComponents=Ao(s.bootstrap),this._r3Injector=Lh(t,n,[{provide:hi,useValue:this},{provide:Wa,useValue:this.componentFactoryResolver},...r],de(t),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(t)}get injector(){return this._r3Injector}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class Rd extends Dm{constructor(t){super(),this.moduleType=t}create(t){return new Pd(this.moduleType,t,[])}}class Em extends hi{constructor(t){super(),this.componentFactoryResolver=new Mp(this),this.instance=null;const n=new Yl([...t.providers,{provide:hi,useValue:this},{provide:Wa,useValue:this.componentFactoryResolver}],t.parent||Kl(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}}function Cm(e,t,n=null){return new Em({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}let yw=(()=>{var e;class t{constructor(r){this._injector=r,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(r){if(!r.standalone)return null;if(!this.cachedInjectors.has(r)){const s=_h(0,r.type),o=s.length>0?Cm([s],this._injector,`Standalone[${r.type.name}]`):null;this.cachedInjectors.set(r,o)}return this.cachedInjectors.get(r)}ngOnDestroy(){try{for(const r of this.cachedInjectors.values())null!==r&&r.destroy()}finally{this.cachedInjectors.clear()}}}return(e=t).\u0275prov=Z({token:e,providedIn:"environment",factory:()=>new e(Ge(so))}),t})();function wm(e){e.getStandaloneInjector=t=>t.get(yw).getOrCreateStandaloneInjector(e)}function Om(e,t,n){const r=k()+e,s=Se();return s[r]===Mt?ao(s,r,n?t.call(n):t()):Xa(s,r)}function Pm(e,t,n,r){return km(Se(),k(),e,t,n,r)}function Rm(e,t,n,r,s){return Lm(Se(),k(),e,t,n,r,s)}function Nm(e,t,n,r,s,o){return Bm(Se(),k(),e,t,n,r,s,o)}function xm(e,t,n,r,s,o,a){return function jm(e,t,n,r,s,o,a,c,g){const b=t+n;return Ts(e,b,s,o,a,c)?ao(e,b+4,g?r.call(g,s,o,a,c):r(s,o,a,c)):ul(e,b+4)}(Se(),k(),e,t,n,r,s,o,a)}function Fm(e,t,n,r,s,o,a,c){const g=k()+e,b=Se(),T=Ts(b,g,n,r,s,o);return Ir(b,g+4,a)||T?ao(b,g+5,c?t.call(c,n,r,s,o,a):t(n,r,s,o,a)):Xa(b,g+5)}function ul(e,t){const n=e[t];return n===Mt?void 0:n}function km(e,t,n,r,s,o){const a=t+n;return Ir(e,a,s)?ao(e,a+1,o?r.call(o,s):r(s)):ul(e,a+1)}function Lm(e,t,n,r,s,o,a){const c=t+n;return ci(e,c,s,o)?ao(e,c+2,a?r.call(a,s,o):r(s,o)):ul(e,c+2)}function Bm(e,t,n,r,s,o,a,c){const g=t+n;return function lu(e,t,n,r,s){const o=ci(e,t,n,r);return Ir(e,t+2,s)||o}(e,g,s,o,a)?ao(e,g+3,c?r.call(c,s,o,a):r(s,o,a)):ul(e,g+3)}function Hm(e,t){const n=Nt();let r;const s=e+Tt;n.firstCreatePass?(r=function Pw(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??=[]).push(s,r.onDestroy)):r=n.data[s];const o=r.factory||(r.factory=cs(r.type)),c=gn(Ji);try{const g=Dl(!1),b=o();return Dl(g),function D0(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}(n,Se(),s,b),b}finally{gn(c)}}function $m(e,t,n){const r=e+Tt,s=Se(),o=fr(s,r);return cl(s,r)?km(s,k(),t,o.transform,n,o):o.transform(n)}function Vm(e,t,n,r){const s=e+Tt,o=Se(),a=fr(o,s);return cl(o,s)?Lm(o,k(),t,a.transform,n,r,a):a.transform(n,r)}function zm(e,t,n,r,s){const o=e+Tt,a=Se(),c=fr(a,o);return cl(a,o)?Bm(a,k(),t,c.transform,n,r,s,c):c.transform(n,r,s)}function cl(e,t){return e[We].data[t].pure}function xw(){return this._results[Symbol.iterator]()}class bu{get changes(){return this._changes||(this._changes=new oo)}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=bu.prototype;n[Symbol.iterator]||(n[Symbol.iterator]=xw)}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=function Ms(e){return e.flat(Number.POSITIVE_INFINITY)}(t);(this._changesDetected=!function Sy(e,t,n){if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++){let s=e[r],o=t[r];if(n&&(s=n(s),o=n(o)),o!==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()}}function kw(e,t,n,r=!0){const s=t[We];if(function m_(e,t,n,r){const s=en+r,o=n.length;r>0&&(n[s-1][Pn]=t),r<o-en?(t[Pn]=n[s],Df(n,en+r,t)):(n.push(t),t[Pn]=null),t[Ut]=n;const a=t[as];null!==a&&n!==a&&function v_(e,t){const n=e[Rn];t[Ht]!==t[Ut][Ut][Ht]&&(e[Ps]=!0),null===n?e[Rn]=[t]:n.push(t)}(a,t);const c=t[qn];null!==c&&c.insertView(e),t[dt]|=128}(s,t,e,n),r){const o=oc(n,e),a=t[ht],c=Bl(a,e[Qn]);null!==c&&function h_(e,t,n,r,s,o){r[Xt]=s,r[vn]=t,Ua(e,r,n,1,s,o)}(s,e[vn],a,t,c,o)}}let dl=(()=>{class t{}return t.__NG_ELEMENT_ID__=jw,t})();const Lw=dl,Bw=class extends Lw{constructor(t,n,r){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=r}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(t,n){return this.createEmbeddedViewImpl(t,n)}createEmbeddedViewImpl(t,n,r){const s=function Fw(e,t,n,r){const s=t.tView,c=nu(e,s,n,4096&e[dt]?4096:16,null,t,null,null,null,r?.injector??null,r?.hydrationInfo??null);c[as]=e[t.index];const b=e[qn];return null!==b&&(c[qn]=b.createEmbeddedView(s)),Qc(s,c,n),c}(this._declarationLView,this._declarationTContainer,t,{injector:n,hydrationInfo:r});return new Qa(s)}};function jw(){return Mu(Fn(),Se())}function Mu(e,t){return 4&e.type?new Bw(t,e,Zi(e,t)):null}let Su=(()=>{class t{}return t.__NG_ELEMENT_ID__=Gw,t})();function Gw(){return Qm(Fn(),Se())}const Ww=Su,Zm=class extends Ww{constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return Zi(this._hostTNode,this._hostLView)}get injector(){return new Vr(this._hostTNode,this._hostLView)}get parentInjector(){const t=Cl(this._hostTNode,this._hostLView);if(Lu(t)){const n=Ra(t,this._hostLView),r=Pa(t);return new Vr(n[We].data[r+8],n)}return new Vr(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=qm(this._lContainer);return null!==n&&n[t]||null}get length(){return this._lContainer.length-en}createEmbeddedView(t,n,r){let s,o;"number"==typeof r?s=r:null!=r&&(s=r.index,o=r.injector);const c=t.createEmbeddedViewImpl(n||{},o,null);return this.insertImpl(c,s,false),c}createComponent(t,n,r,s,o){const a=t&&!function xa(e){return"function"==typeof e}(t);let c;if(a)c=n;else{const Fe=n||{};c=Fe.index,r=Fe.injector,s=Fe.projectableNodes,o=Fe.environmentInjector||Fe.ngModuleRef}const g=a?t:new Ja(ct(t)),b=r||this.parentInjector;if(!o&&null==g.ngModule){const qe=(a?b:this.parentInjector).get(so,null);qe&&(o=qe)}ct(g.componentType??{});const q=g.create(b,s,null,o);return this.insertImpl(q.hostView,c,false),q}insert(t,n){return this.insertImpl(t,n,!1)}insertImpl(t,n,r){const s=t._lView;if(function ml(e){return Nn(e[Ut])}(s)){const g=this.indexOf(t);if(-1!==g)this.detach(g);else{const b=s[Ut],T=new Zm(b,b[vn],b[Ut]);T.detach(T.indexOf(t))}}const a=this._adjustIndex(n),c=this._lContainer;return kw(c,s,a,!r),t.attachToViewContainerRef(),Df(xd(c),a,t),t}move(t,n){return this.insert(t,n)}indexOf(t){const n=qm(this._lContainer);return null!==n?n.indexOf(t):-1}remove(t){const n=this._adjustIndex(t,-1),r=Ll(this._lContainer,n);r&&(bl(xd(this._lContainer),n),tc(r[We],r))}detach(t){const n=this._adjustIndex(t,-1),r=Ll(this._lContainer,n);return r&&null!=bl(xd(this._lContainer),n)?new Qa(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function qm(e){return e[8]}function xd(e){return e[8]||(e[8]=[])}function Qm(e,t){let n;const r=t[e.index];return Nn(r)?n=r:(n=hp(r,t,null,e),t[e.index]=n,ru(t,n)),Jm(n,t,e,r),new Zm(n,e,t)}let Jm=function Xm(e,t,n,r){if(e[Qn])return;let s;s=8&n.type?Zt(r):function Kw(e,t){const n=e[ht],r=n.createComment(""),s=er(t,e);return ii(n,Bl(n,s),r,function E_(e,t){return e.nextSibling(t)}(n,s),!1),r}(t,n),e[Qn]=s};class Fd{constructor(t){this.queryList=t,this.matches=null}clone(){return new Fd(this.queryList)}setDirty(){this.queryList.setDirty()}}class kd{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 o=0;o<r;o++){const a=n.getByIndex(o);s.push(this.queries[a.indexInDeclarationView].clone())}return new kd(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!==lv(t,n).matches&&this.queries[n].setDirty()}}class ev{constructor(t,n,r=null){this.predicate=t,this.flags=n,this.read=r}}class Ld{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,o=this.getByIndex(r).embeddedTView(t,s);o&&(o.indexInDeclarationView=r,null!==n?n.push(o):n=[o])}return null!==n?new Ld(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 Bd{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 Bd(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 o=r[s];this.matchTNodeWithReadOption(t,n,qw(n,o)),this.matchTNodeWithReadOption(t,n,wl(n,t,o,!1,!1))}else r===dl?4&n.type&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,wl(n,t,r,!1,!1))}matchTNodeWithReadOption(t,n,r){if(null!==r){const s=this.metadata.read;if(null!==s)if(s===Ka||s===Su||s===dl&&4&n.type)this.addMatch(n.index,-2);else{const o=wl(n,t,s,!1,!1);null!==o&&this.addMatch(n.index,o)}else this.addMatch(n.index,r)}}addMatch(t,n){null===this.matches?this.matches=[t,n]:this.matches.push(t,n)}}function qw(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 Jw(e,t,n,r){return-1===n?function Qw(e,t){return 11&e.type?Zi(e,t):4&e.type?Mu(e,t):null}(t,e):-2===n?function Xw(e,t,n){return n===Ka?Zi(t,e):n===dl?Mu(t,e):n===Su?Qm(t,e):void 0}(e,t,r):oi(e,e[We],n,t)}function tv(e,t,n,r){const s=t[qn].queries[r];if(null===s.matches){const o=e.data,a=n.matches,c=[];for(let g=0;g<a.length;g+=2){const b=a[g];c.push(b<0?null:Jw(t,o[b],a[g+1],n.metadata.read))}s.matches=c}return s.matches}function jd(e,t,n,r){const s=e.queries.getByIndex(n),o=s.matches;if(null!==o){const a=tv(e,t,s,n);for(let c=0;c<o.length;c+=2){const g=o[c];if(g>0)r.push(a[c/2]);else{const b=o[c+1],T=t[-g];for(let N=en;N<T.length;N++){const $=T[N];$[as]===$[Ut]&&jd($[We],$,b,r)}if(null!==T[Rn]){const N=T[Rn];for(let $=0;$<N.length;$++){const q=N[$];jd(q[We],q,b,r)}}}}}return r}function nv(e){const t=Se(),n=Nt(),r=D();S(r+1);const s=lv(n,r);if(e.dirty&&function bi(e){return 4==(4&e[dt])}(t)===(2==(2&s.metadata.flags))){if(null===s.matches)e.reset([]);else{const o=s.crossesNgTemplate?jd(n,t,r,[]):tv(n,t,s,r);e.reset(o,TD),e.notifyOnChanges()}return!0}return!1}function rv(e,t,n){const r=Nt();r.firstCreatePass&&(av(r,new ev(e,t,n),-1),2==(2&t)&&(r.staticViewQueries=!0)),iv(r,Se(),t)}function sv(e,t,n,r){const s=Nt();if(s.firstCreatePass){const o=Fn();av(s,new ev(t,n,r),o.index),function tb(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)}iv(s,Se(),n)}function ov(){return function eb(e,t){return e[qn].queries[t].queryList}(Se(),D())}function iv(e,t,n){const r=new bu(4==(4&n));(function iE(e,t,n,r){const s=gp(t);s.push(n),e.firstCreatePass&&mp(e).push(r,s.length-1)})(e,t,r,r.destroy),null===t[qn]&&(t[qn]=new kd),t[qn].queries.push(new Fd(r))}function av(e,t,n){null===e.queries&&(e.queries=new Ld),e.queries.track(new Bd(t,n))}function lv(e,t){return e.queries.getByIndex(t)}function uv(e,t){return Mu(e,t)}function Ud(e){return!!wn(e)}const Tv=new Qt("Application Initializer");let Gd=(()=>{var e;class t{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((r,s)=>{this.resolve=r,this.reject=s}),this.appInits=st(Tv,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const r=[];for(const o of this.appInits){const a=o();if(cd(a))r.push(a);else if(Qp(a)){const c=new Promise((g,b)=>{a.subscribe({complete:g,error:b})});r.push(c)}}const s=()=>{this.done=!0,this.resolve()};Promise.all(r).then(()=>{s()}).catch(o=>{this.reject(o)}),0===r.length&&s(),this.initialized=!0}}return(e=t).\u0275fac=function(r){return new(r||e)},e.\u0275prov=Z({token:e,factory:e.\u0275fac,providedIn:"root"}),t})(),Sv=(()=>{var e;class t{log(r){console.log(r)}warn(r){console.warn(r)}}return(e=t).\u0275fac=function(r){return new(r||e)},e.\u0275prov=Z({token:e,factory:e.\u0275fac,providedIn:"platform"}),t})();const Au=new Qt("LocaleId",{providedIn:"root",factory:()=>st(Au,lt.Optional|lt.SkipSelf)||function Cb(){return typeof $localize<"u"&&$localize.locale||fa}()}),wb=new Qt("DefaultCurrencyCode",{providedIn:"root",factory:()=>"USD"});let Iv=(()=>{var e;class t{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new I.X(!1)}add(){this.hasPendingTasks.next(!0);const r=this.taskId++;return this.pendingTasks.add(r),r}remove(r){this.pendingTasks.delete(r),0===this.pendingTasks.size&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks.next(!1)}}return(e=t).\u0275fac=function(r){return new(r||e)},e.\u0275prov=Z({token:e,factory:e.\u0275fac,providedIn:"root"}),t})();class Mb{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}}let Tb=(()=>{var e;class t{compileModuleSync(r){return new Rd(r)}compileModuleAsync(r){return Promise.resolve(this.compileModuleSync(r))}compileModuleAndAllComponentsSync(r){const s=this.compileModuleSync(r),a=Ao(wn(r).declarations).reduce((c,g)=>{const b=ct(g);return b&&c.push(new Ja(b)),c},[]);return new Mb(s,a)}compileModuleAndAllComponentsAsync(r){return Promise.resolve(this.compileModuleAndAllComponentsSync(r))}clearCache(){}clearCacheFor(r){}getModuleId(r){}}return(e=t).\u0275fac=function(r){return new(r||e)},e.\u0275prov=Z({token:e,factory:e.\u0275fac,providedIn:"root"}),t})();const Rv=new Qt(""),Nv=new Qt("");let Yd,Wb=(()=>{var e;class t{constructor(r,s,o){this._ngZone=r,this.registry=s,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,Yd||(function Kb(e){Yd=e}(o),o.addToWindow(s)),this._watchAngularEvents(),r.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:()=>{hr.assertNotInAngularZone(),queueMicrotask(()=>{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())queueMicrotask(()=>{for(;0!==this._callbacks.length;){let r=this._callbacks.pop();clearTimeout(r.timeoutId),r.doneCb(this._didWork)}this._didWork=!1});else{let r=this.getPendingTasks();this._callbacks=this._callbacks.filter(s=>!s.updateCb||!s.updateCb(r)||(clearTimeout(s.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(r=>({source:r.source,creationLocation:r.creationLocation,data:r.data})):[]}addCallback(r,s,o){let a=-1;s&&s>0&&(a=setTimeout(()=>{this._callbacks=this._callbacks.filter(c=>c.timeoutId!==a),r(this._didWork,this.getPendingTasks())},s)),this._callbacks.push({doneCb:r,timeoutId:a,updateCb:o})}whenStable(r,s,o){if(o&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(r,s,o),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(r){this.registry.registerApplication(r,this)}unregisterApplication(r){this.registry.unregisterApplication(r)}findProviders(r,s,o){return[]}}return(e=t).\u0275fac=function(r){return new(r||e)(Ge(hr),Ge(xv),Ge(Nv))},e.\u0275prov=Z({token:e,factory:e.\u0275fac}),t})(),xv=(()=>{var e;class t{constructor(){this._applications=new Map}registerApplication(r,s){this._applications.set(r,s)}unregisterApplication(r){this._applications.delete(r)}unregisterAllApplications(){this._applications.clear()}getTestability(r){return this._applications.get(r)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(r,s=!0){return Yd?.findTestabilityInTree(this,r,s)??null}}return(e=t).\u0275fac=function(r){return new(r||e)},e.\u0275prov=Z({token:e,factory:e.\u0275fac,providedIn:"platform"}),t})(),Go=null;const Fv=new Qt("AllowMultipleToken"),Zd=new Qt("PlatformDestroyListeners"),qd=new Qt("appBootstrapListener");class qb{constructor(t,n){this.name=t,this.token=n}}function Bv(e,t,n=[]){const r=`Platform: ${t}`,s=new Qt(r);return(o=[])=>{let a=Qd();if(!a||a.injector.get(Fv,!1)){const c=[...n,...o,{provide:s,useValue:!0}];e?e(c):function Qb(e){if(Go&&!Go.get(Fv,!1))throw new F(400,!1);(function kv(){!function Uo(e){Xo=e}(()=>{throw new F(600,!1)})})(),Go=e;const t=e.get(Uv);(function Lv(e){e.get(Mh,null)?.forEach(n=>n())})(e)}(function jv(e=[],t){return Ls.create({name:t,providers:[{provide:yc,useValue:"platform"},{provide:Zd,useValue:new Set([()=>Go=null])},...e]})}(c,r))}return function Xb(e){const t=Qd();if(!t)throw new F(401,!1);return t}()}}function Qd(){return Go?.get(Uv)??null}let Uv=(()=>{var e;class t{constructor(r){this._injector=r,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(r,s){const o=function eM(e="zone.js",t){return"noop"===e?new $D:"zone.js"===e?new hr(t):e}(s?.ngZone,function Hv(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}({eventCoalescing:s?.ngZoneEventCoalescing,runCoalescing:s?.ngZoneRunCoalescing}));return o.run(()=>{const a=function vw(e,t,n){return new Pd(e,t,n)}(r.moduleType,this.injector,function Wv(e){return[{provide:hr,useFactory:e},{provide:Va,multi:!0,useFactory:()=>{const t=st(nM,{optional:!0});return()=>t.initialize()}},{provide:Gv,useFactory:tM},{provide:$h,useFactory:Vh}]}(()=>o)),c=a.injector.get(Vo,null);return o.runOutsideAngular(()=>{const g=o.onError.subscribe({next:b=>{c.handleError(b)}});a.onDestroy(()=>{Pu(this._modules,a),g.unsubscribe()})}),function $v(e,t,n){try{const r=n();return cd(r)?r.catch(s=>{throw t.runOutsideAngular(()=>e.handleError(s)),s}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}(c,o,()=>{const g=a.injector.get(Gd);return g.runInitializers(),g.donePromise.then(()=>(function Yg(e){et(e,"Expected localeId to be defined"),"string"==typeof e&&(Kg=e.toLowerCase().replace(/_/g,"-"))}(a.injector.get(Au,fa)||fa),this._moduleDoBootstrap(a),a))})})}bootstrapModule(r,s=[]){const o=Vv({},s);return function Yb(e,t,n){const r=new Rd(n);return Promise.resolve(r)}(0,0,r).then(a=>this.bootstrapModuleFactory(a,o))}_moduleDoBootstrap(r){const s=r.injector.get(ga);if(r._bootstrapComponents.length>0)r._bootstrapComponents.forEach(o=>s.bootstrap(o));else{if(!r.instance.ngDoBootstrap)throw new F(-403,!1);r.instance.ngDoBootstrap(s)}this._modules.push(r)}onDestroy(r){this._destroyListeners.push(r)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new F(404,!1);this._modules.slice().forEach(s=>s.destroy()),this._destroyListeners.forEach(s=>s());const r=this._injector.get(Zd,null);r&&(r.forEach(s=>s()),r.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}}return(e=t).\u0275fac=function(r){return new(r||e)(Ge(Ls))},e.\u0275prov=Z({token:e,factory:e.\u0275fac,providedIn:"platform"}),t})();function Vv(e,t){return Array.isArray(t)?t.reduce(Vv,e):{...e,...t}}let ga=(()=>{var e;class t{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=st(Gv),this.zoneIsStable=st($h),this.componentTypes=[],this.components=[],this.isStable=st(Iv).hasPendingTasks.pipe((0,X.w)(r=>r?(0,U.of)(!1):this.zoneIsStable),(0,se.x)(),(0,G.B)()),this._injector=st(so)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(r,s){const o=r instanceof Ah;if(!this._injector.get(Gd).done)throw!o&&jn(r),new F(405,!1);let c;c=o?r:this._injector.get(Wa).resolveComponentFactory(r),this.componentTypes.push(c.componentType);const g=function Zb(e){return e.isBoundToModule}(c)?void 0:this._injector.get(hi),T=c.create(Ls.NULL,[],s||c.selector,g),N=T.location.nativeElement,$=T.injector.get(Rv,null);return $?.registerApplication(N),T.onDestroy(()=>{this.detachView(T.hostView),Pu(this.components,T),$?.unregisterApplication(N)}),this._loadComponent(T),T}tick(){if(this._runningTick)throw new F(101,!1);try{this._runningTick=!0;for(let r of this._views)r.detectChanges()}catch(r){this.internalErrorHandler(r)}finally{this._runningTick=!1}}attachView(r){const s=r;this._views.push(s),s.attachToAppRef(this)}detachView(r){const s=r;Pu(this._views,s),s.detachFromAppRef()}_loadComponent(r){this.attachView(r.hostView),this.tick(),this.components.push(r);const s=this._injector.get(qd,[]);s.push(...this._bootstrapListeners),s.forEach(o=>o(r))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(r=>r()),this._views.slice().forEach(r=>r.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(r){return this._destroyListeners.push(r),()=>Pu(this._destroyListeners,r)}destroy(){if(this._destroyed)throw new F(406,!1);const r=this._injector;r.destroy&&!r.destroyed&&r.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}}return(e=t).\u0275fac=function(r){return new(r||e)},e.\u0275prov=Z({token:e,factory:e.\u0275fac,providedIn:"root"}),t})();function Pu(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}const Gv=new Qt("",{providedIn:"root",factory:()=>st(Vo).handleError.bind(void 0)});function tM(){const e=st(hr),t=st(Vo);return n=>e.runOutsideAngular(()=>t.handleError(n))}let nM=(()=>{var e;class t{constructor(){this.zone=st(hr),this.applicationRef=st(ga)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}}return(e=t).\u0275fac=function(r){return new(r||e)},e.\u0275prov=Z({token:e,factory:e.\u0275fac,providedIn:"root"}),t})();function sM(){}let oM=(()=>{class t{}return t.__NG_ELEMENT_ID__=iM,t})();function iM(e){return function aM(e,t,n){if(ur(e)&&!n){const r=vr(e.index,t);return new Qa(r,r)}return 47&e.type?new Qa(t[Ht],t):null}(Fn(),Se(),16==(16&e))}class qv{constructor(){}supports(t){return au(t)}create(t){return new hM(t)}}const fM=(e,t)=>t;class hM{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||fM}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,o=null;for(;n||r;){const a=!r||n&&n.currentIndex<Jv(r,s,o)?n:r,c=Jv(a,s,o),g=a.currentIndex;if(a===r)s--,r=r._nextRemoved;else if(n=n._next,null==a.previousIndex)s++;else{o||(o=[]);const b=c-s,T=g-s;if(b!=T){for(let $=0;$<b;$++){const q=$<o.length?o[$]:o[$]=0,De=q+$;T<=De&&De<b&&(o[$]=q+1)}o[a.previousIndex]=T-b}}c!==g&&t(a,c,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=[]),!au(t))throw new F(900,!1);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let s,o,a,n=this._itHead,r=!1;if(Array.isArray(t)){this.length=t.length;for(let c=0;c<this.length;c++)o=t[c],a=this._trackByFn(c,o),null!==n&&Object.is(n.trackById,a)?(r&&(n=this._verifyReinsertion(n,o,a,c)),Object.is(n.item,o)||this._addIdentityChange(n,o)):(n=this._mismatch(n,o,a,c),r=!0),n=n._next}else s=0,function JE(e,t){if(Array.isArray(e))for(let n=0;n<e.length;n++)t(e[n]);else{const n=e[Symbol.iterator]();let r;for(;!(r=n.next()).done;)t(r.value)}}(t,c=>{a=this._trackByFn(s,c),null!==n&&Object.is(n.trackById,a)?(r&&(n=this._verifyReinsertion(n,c,a,s)),Object.is(n.item,c)||this._addIdentityChange(n,c)):(n=this._mismatch(n,c,a,s),r=!0),n=n._next,s++}),this.length=s;return this._truncate(n),this.collection=t,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;null!==t;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;null!==t;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,n,r,s){let o;return null===t?o=this._itTail:(o=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,o,s)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(r,s))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,o,s)):t=this._addAfter(new pM(n,r),o,s),t}_verifyReinsertion(t,n,r,s){let o=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null);return null!==o?t=this._reinsertAfter(o,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,o=t._nextRemoved;return null===s?this._removalsHead=o:s._nextRemoved=o,null===o?this._removalsTail=s:o._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 Qv),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 Qv),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 pM{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 gM{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 Qv{constructor(){this.map=new Map}put(t){const n=t.trackById;let r=this.map.get(n);r||(r=new gM,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 Jv(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 Xv{constructor(){}supports(t){return t instanceof Map||Xc(t)}create(){return new mM}}class mM{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||Xc(t)))throw new F(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 o=this._getOrCreateRecordForKey(s,r);n=this._insertBeforeOrAppend(n,o)}}),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 o=s._prev,a=s._next;return o&&(o._next=a),a&&(a._prev=o),s._next=null,s._prev=null,s}const r=new vM(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 vM{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 ey(){return new nf([new qv])}let nf=(()=>{var e;class t{constructor(r){this.factories=r}static create(r,s){if(null!=s){const o=s.factories.slice();r=r.concat(o)}return new t(r)}static extend(r){return{provide:t,useFactory:s=>t.create(r,s||ey()),deps:[[t,new Sl,new Tl]]}}find(r){const s=this.factories.find(o=>o.supports(r));if(null!=s)return s;throw new F(901,!1)}}return(e=t).\u0275prov=Z({token:e,providedIn:"root",factory:ey}),t})();function ty(){return new rf([new Xv])}let rf=(()=>{var e;class t{constructor(r){this.factories=r}static create(r,s){if(s){const o=s.factories.slice();r=r.concat(o)}return new t(r)}static extend(r){return{provide:t,useFactory:s=>t.create(r,s||ty()),deps:[[t,new Sl,new Tl]]}}find(r){const s=this.factories.find(o=>o.supports(r));if(s)return s;throw new F(901,!1)}}return(e=t).\u0275prov=Z({token:e,providedIn:"root",factory:ty}),t})();const DM=Bv(null,"core",[]);let EM=(()=>{var e;class t{constructor(r){}}return(e=t).\u0275fac=function(r){return new(r||e)(Ge(ga))},e.\u0275mod=ys({type:e}),e.\u0275inj=ot({}),t})();function RM(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}function xM(e){const t=ct(e);if(!t)return null;const n=new Ja(t);return{get selector(){return n.selector},get type(){return n.componentType},get inputs(){return n.inputs},get outputs(){return n.outputs},get ngContentSelectors(){return n.ngContentSelectors},get isStandalone(){return t.standalone},get isSignal(){return t.signals}}}},6593:(Ye,oe,M)=>{M.d(oe,{Dx:()=>Ar,H7:()=>Gr,b2:()=>It,q6:()=>Z,se:()=>Ae});var m=M(5879),w=M(6814);class te extends w.w_{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class x extends te{static makeCurrent(){(0,w.HT)(new x)}onAndCancel(V,ue,H){return V.addEventListener(ue,H),()=>{V.removeEventListener(ue,H)}}dispatchEvent(V,ue){V.dispatchEvent(ue)}remove(V){V.parentNode&&V.parentNode.removeChild(V)}createElement(V,ue){return(ue=ue||this.getDefaultDocument()).createElement(V)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(V){return V.nodeType===Node.ELEMENT_NODE}isShadowRoot(V){return V instanceof DocumentFragment}getGlobalEventTarget(V,ue){return"window"===ue?window:"document"===ue?V:"body"===ue?V.body:null}getBaseHref(V){const ue=function U(){return I=I||document.querySelector("base"),I?I.getAttribute("href"):null}();return null==ue?null:function X(pe){G=G||document.createElement("a"),G.setAttribute("href",pe);const V=G.pathname;return"/"===V.charAt(0)?V:`/${V}`}(ue)}resetBaseElement(){I=null}getUserAgent(){return window.navigator.userAgent}getCookie(V){return(0,w.Mx)(document.cookie,V)}}let G,I=null,W=(()=>{var pe;class V{build(){return new XMLHttpRequest}}return(pe=V).\u0275fac=function(H){return new(H||pe)},pe.\u0275prov=m.Yz7({token:pe,factory:pe.\u0275fac}),V})();const ne=new m.OlP("EventManagerPlugins");let de=(()=>{var pe;class V{constructor(H,ee){this._zone=ee,this._eventNameToPlugin=new Map,H.forEach(Re=>{Re.manager=this}),this._plugins=H.slice().reverse()}addEventListener(H,ee,Re){return this._findPluginFor(ee).addEventListener(H,ee,Re)}getZone(){return this._zone}_findPluginFor(H){let ee=this._eventNameToPlugin.get(H);if(ee)return ee;if(ee=this._plugins.find(Ge=>Ge.supports(H)),!ee)throw new m.vHH(5101,!1);return this._eventNameToPlugin.set(H,ee),ee}}return(pe=V).\u0275fac=function(H){return new(H||pe)(m.LFG(ne),m.LFG(m.R0b))},pe.\u0275prov=m.Yz7({token:pe,factory:pe.\u0275fac}),V})();class Le{constructor(V){this._doc=V}}const Me="ng-app-id";let Te=(()=>{var pe;class V{constructor(H,ee,Re,Ge={}){this.doc=H,this.appId=ee,this.nonce=Re,this.platformId=Ge,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=(0,w.PM)(Ge),this.resetHostNodes()}addStyles(H){for(const ee of H)1===this.changeUsageCount(ee,1)&&this.onStyleAdded(ee)}removeStyles(H){for(const ee of H)this.changeUsageCount(ee,-1)<=0&&this.onStyleRemoved(ee)}ngOnDestroy(){const H=this.styleNodesInDOM;H&&(H.forEach(ee=>ee.remove()),H.clear());for(const ee of this.getAllStyles())this.onStyleRemoved(ee);this.resetHostNodes()}addHost(H){this.hostNodes.add(H);for(const ee of this.getAllStyles())this.addStyleToHost(H,ee)}removeHost(H){this.hostNodes.delete(H)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(H){for(const ee of this.hostNodes)this.addStyleToHost(ee,H)}onStyleRemoved(H){const ee=this.styleRef;ee.get(H)?.elements?.forEach(Re=>Re.remove()),ee.delete(H)}collectServerRenderedStyles(){const H=this.doc.head?.querySelectorAll(`style[${Me}="${this.appId}"]`);if(H?.length){const ee=new Map;return H.forEach(Re=>{null!=Re.textContent&&ee.set(Re.textContent,Re)}),ee}return null}changeUsageCount(H,ee){const Re=this.styleRef;if(Re.has(H)){const Ge=Re.get(H);return Ge.usage+=ee,Ge.usage}return Re.set(H,{usage:ee,elements:[]}),ee}getStyleElement(H,ee){const Re=this.styleNodesInDOM,Ge=Re?.get(ee);if(Ge?.parentNode===H)return Re.delete(ee),Ge.removeAttribute(Me),Ge;{const ut=this.doc.createElement("style");return this.nonce&&ut.setAttribute("nonce",this.nonce),ut.textContent=ee,this.platformIsServer&&ut.setAttribute(Me,this.appId),ut}}addStyleToHost(H,ee){const Re=this.getStyleElement(H,ee);H.appendChild(Re);const Ge=this.styleRef,ut=Ge.get(ee)?.elements;ut?ut.push(Re):Ge.set(ee,{elements:[Re],usage:1})}resetHostNodes(){const H=this.hostNodes;H.clear(),H.add(this.doc.head)}}return(pe=V).\u0275fac=function(H){return new(H||pe)(m.LFG(w.K0),m.LFG(m.AFp),m.LFG(m.Ojb,8),m.LFG(m.Lbi))},pe.\u0275prov=m.Yz7({token:pe,factory:pe.\u0275fac}),V})();const be={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/"},Be=/%COMP%/g,he=new m.OlP("RemoveStylesOnCompDestroy",{providedIn:"root",factory:()=>!1});function we(pe,V){return V.map(ue=>ue.replace(Be,pe))}let Ae=(()=>{var pe;class V{constructor(H,ee,Re,Ge,ut,st,jt,fn=null){this.eventManager=H,this.sharedStylesHost=ee,this.appId=Re,this.removeStylesOnCompDestroy=Ge,this.doc=ut,this.platformId=st,this.ngZone=jt,this.nonce=fn,this.rendererByCompId=new Map,this.platformIsServer=(0,w.PM)(st),this.defaultRenderer=new $e(H,ut,jt,this.platformIsServer)}createRenderer(H,ee){if(!H||!ee)return this.defaultRenderer;this.platformIsServer&&ee.encapsulation===m.ifc.ShadowDom&&(ee={...ee,encapsulation:m.ifc.Emulated});const Re=this.getOrCreateRenderer(H,ee);return Re instanceof Wt?Re.applyToHost(H):Re instanceof dn&&Re.applyStyles(),Re}getOrCreateRenderer(H,ee){const Re=this.rendererByCompId;let Ge=Re.get(ee.id);if(!Ge){const ut=this.doc,st=this.ngZone,jt=this.eventManager,fn=this.sharedStylesHost,mn=this.removeStylesOnCompDestroy,z=this.platformIsServer;switch(ee.encapsulation){case m.ifc.Emulated:Ge=new Wt(jt,fn,ee,this.appId,mn,ut,st,z);break;case m.ifc.ShadowDom:return new _n(jt,fn,H,ee,ut,st,this.nonce,z);default:Ge=new dn(jt,fn,ee,mn,ut,st,z)}Re.set(ee.id,Ge)}return Ge}ngOnDestroy(){this.rendererByCompId.clear()}}return(pe=V).\u0275fac=function(H){return new(H||pe)(m.LFG(de),m.LFG(Te),m.LFG(m.AFp),m.LFG(he),m.LFG(w.K0),m.LFG(m.Lbi),m.LFG(m.R0b),m.LFG(m.Ojb))},pe.\u0275prov=m.Yz7({token:pe,factory:pe.\u0275fac}),V})();class $e{constructor(V,ue,H,ee){this.eventManager=V,this.doc=ue,this.ngZone=H,this.platformIsServer=ee,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(V,ue){return ue?this.doc.createElementNS(be[ue]||ue,V):this.doc.createElement(V)}createComment(V){return this.doc.createComment(V)}createText(V){return this.doc.createTextNode(V)}appendChild(V,ue){(cn(V)?V.content:V).appendChild(ue)}insertBefore(V,ue,H){V&&(cn(V)?V.content:V).insertBefore(ue,H)}removeChild(V,ue){V&&V.removeChild(ue)}selectRootElement(V,ue){let H="string"==typeof V?this.doc.querySelector(V):V;if(!H)throw new m.vHH(-5104,!1);return ue||(H.textContent=""),H}parentNode(V){return V.parentNode}nextSibling(V){return V.nextSibling}setAttribute(V,ue,H,ee){if(ee){ue=ee+":"+ue;const Re=be[ee];Re?V.setAttributeNS(Re,ue,H):V.setAttribute(ue,H)}else V.setAttribute(ue,H)}removeAttribute(V,ue,H){if(H){const ee=be[H];ee?V.removeAttributeNS(ee,ue):V.removeAttribute(`${H}:${ue}`)}else V.removeAttribute(ue)}addClass(V,ue){V.classList.add(ue)}removeClass(V,ue){V.classList.remove(ue)}setStyle(V,ue,H,ee){ee&(m.JOm.DashCase|m.JOm.Important)?V.style.setProperty(ue,H,ee&m.JOm.Important?"important":""):V.style[ue]=H}removeStyle(V,ue,H){H&m.JOm.DashCase?V.style.removeProperty(ue):V.style[ue]=""}setProperty(V,ue,H){V[ue]=H}setValue(V,ue){V.nodeValue=ue}listen(V,ue,H){if("string"==typeof V&&!(V=(0,w.q)().getGlobalEventTarget(this.doc,V)))throw new Error(`Unsupported event target ${V} for event ${ue}`);return this.eventManager.addEventListener(V,ue,this.decoratePreventDefault(H))}decoratePreventDefault(V){return ue=>{if("__ngUnwrap__"===ue)return V;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>V(ue)):V(ue))&&ue.preventDefault()}}}function cn(pe){return"TEMPLATE"===pe.tagName&&void 0!==pe.content}class _n extends $e{constructor(V,ue,H,ee,Re,Ge,ut,st){super(V,Re,Ge,st),this.sharedStylesHost=ue,this.hostEl=H,this.shadowRoot=H.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const jt=we(ee.id,ee.styles);for(const fn of jt){const mn=document.createElement("style");ut&&mn.setAttribute("nonce",ut),mn.textContent=fn,this.shadowRoot.appendChild(mn)}}nodeOrShadowRoot(V){return V===this.hostEl?this.shadowRoot:V}appendChild(V,ue){return super.appendChild(this.nodeOrShadowRoot(V),ue)}insertBefore(V,ue,H){return super.insertBefore(this.nodeOrShadowRoot(V),ue,H)}removeChild(V,ue){return super.removeChild(this.nodeOrShadowRoot(V),ue)}parentNode(V){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(V)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class dn extends $e{constructor(V,ue,H,ee,Re,Ge,ut,st){super(V,Re,Ge,ut),this.sharedStylesHost=ue,this.removeStylesOnCompDestroy=ee,this.styles=st?we(st,H.styles):H.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class Wt extends dn{constructor(V,ue,H,ee,Re,Ge,ut,st){const jt=ee+"-"+H.id;super(V,ue,H,Re,Ge,ut,st,jt),this.contentAttr=function ie(pe){return"_ngcontent-%COMP%".replace(Be,pe)}(jt),this.hostAttr=function ke(pe){return"_nghost-%COMP%".replace(Be,pe)}(jt)}applyToHost(V){this.applyStyles(),this.setAttribute(V,this.hostAttr,"")}createElement(V,ue){const H=super.createElement(V,ue);return super.setAttribute(H,this.contentAttr,""),H}}let Vt=(()=>{var pe;class V extends Le{constructor(H){super(H)}supports(H){return!0}addEventListener(H,ee,Re){return H.addEventListener(ee,Re,!1),()=>this.removeEventListener(H,ee,Re)}removeEventListener(H,ee,Re){return H.removeEventListener(ee,Re)}}return(pe=V).\u0275fac=function(H){return new(H||pe)(m.LFG(w.K0))},pe.\u0275prov=m.Yz7({token:pe,factory:pe.\u0275fac}),V})();const nn=["alt","control","meta","shift"],le={"\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"},fe={alt:pe=>pe.altKey,control:pe=>pe.ctrlKey,meta:pe=>pe.metaKey,shift:pe=>pe.shiftKey};let me=(()=>{var pe;class V extends Le{constructor(H){super(H)}supports(H){return null!=V.parseEventName(H)}addEventListener(H,ee,Re){const Ge=V.parseEventName(ee),ut=V.eventCallback(Ge.fullKey,Re,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,w.q)().onAndCancel(H,Ge.domEventName,ut))}static parseEventName(H){const ee=H.toLowerCase().split("."),Re=ee.shift();if(0===ee.length||"keydown"!==Re&&"keyup"!==Re)return null;const Ge=V._normalizeKey(ee.pop());let ut="",st=ee.indexOf("code");if(st>-1&&(ee.splice(st,1),ut="code."),nn.forEach(fn=>{const mn=ee.indexOf(fn);mn>-1&&(ee.splice(mn,1),ut+=fn+".")}),ut+=Ge,0!=ee.length||0===Ge.length)return null;const jt={};return jt.domEventName=Re,jt.fullKey=ut,jt}static matchEventFullKeyCode(H,ee){let Re=le[H.key]||H.key,Ge="";return ee.indexOf("code.")>-1&&(Re=H.code,Ge="code."),!(null==Re||!Re)&&(Re=Re.toLowerCase()," "===Re?Re="space":"."===Re&&(Re="dot"),nn.forEach(ut=>{ut!==Re&&(0,fe[ut])(H)&&(Ge+=ut+".")}),Ge+=Re,Ge===ee)}static eventCallback(H,ee,Re){return Ge=>{V.matchEventFullKeyCode(Ge,H)&&Re.runGuarded(()=>ee(Ge))}}static _normalizeKey(H){return"esc"===H?"escape":H}}return(pe=V).\u0275fac=function(H){return new(H||pe)(m.LFG(w.K0))},pe.\u0275prov=m.Yz7({token:pe,factory:pe.\u0275fac}),V})();const Z=(0,m.eFA)(m._c5,"browser",[{provide:m.Lbi,useValue:w.bD},{provide:m.g9A,useValue:function Q(){x.makeCurrent()},multi:!0},{provide:w.K0,useFactory:function _e(){return(0,m.RDi)(document),document},deps:[]}]),Ze=new m.OlP(""),ot=[{provide:m.rWj,useClass:class se{addToWindow(V){m.dqk.getAngularTestability=(H,ee=!0)=>{const Re=V.findTestabilityInTree(H,ee);if(null==Re)throw new m.vHH(5103,!1);return Re},m.dqk.getAllAngularTestabilities=()=>V.getAllTestabilities(),m.dqk.getAllAngularRootElements=()=>V.getAllRootElements(),m.dqk.frameworkStabilizers||(m.dqk.frameworkStabilizers=[]),m.dqk.frameworkStabilizers.push(H=>{const ee=m.dqk.getAllAngularTestabilities();let Re=ee.length,Ge=!1;const ut=function(st){Ge=Ge||st,Re--,0==Re&&H(Ge)};ee.forEach(st=>{st.whenStable(ut)})})}findTestabilityInTree(V,ue,H){return null==ue?null:V.getTestability(ue)??(H?(0,w.q)().isShadowRoot(ue)?this.findTestabilityInTree(V,ue.host,!0):this.findTestabilityInTree(V,ue.parentElement,!0):null)}},deps:[]},{provide:m.lri,useClass:m.dDg,deps:[m.R0b,m.eoX,m.rWj]},{provide:m.dDg,useClass:m.dDg,deps:[m.R0b,m.eoX,m.rWj]}],Kt=[{provide:m.zSh,useValue:"root"},{provide:m.qLn,useFactory:function ye(){return new m.qLn},deps:[]},{provide:ne,useClass:Vt,multi:!0,deps:[w.K0,m.R0b,m.Lbi]},{provide:ne,useClass:me,multi:!0,deps:[w.K0]},Ae,Te,de,{provide:m.FYo,useExisting:Ae},{provide:w.JF,useClass:W,deps:[]},[]];let It=(()=>{var pe;class V{constructor(H){}static withServerTransition(H){return{ngModule:V,providers:[{provide:m.AFp,useValue:H.appId}]}}}return(pe=V).\u0275fac=function(H){return new(H||pe)(m.LFG(Ze,12))},pe.\u0275mod=m.oAB({type:pe}),pe.\u0275inj=m.cJS({providers:[...Kt,...ot],imports:[w.ez,m.hGG]}),V})(),Ar=(()=>{var pe;class V{constructor(H){this._doc=H}getTitle(){return this._doc.title}setTitle(H){this._doc.title=H||""}}return(pe=V).\u0275fac=function(H){return new(H||pe)(m.LFG(w.K0))},pe.\u0275prov=m.Yz7({token:pe,factory:function(H){let ee=null;return ee=H?new H:function Dn(){return new Ar((0,m.LFG)(w.K0))}(),ee},providedIn:"root"}),V})();typeof window<"u"&&window;let Gr=(()=>{var pe;class V{}return(pe=V).\u0275fac=function(H){return new(H||pe)},pe.\u0275prov=m.Yz7({token:pe,factory:function(H){let ee=null;return ee=H?new(H||pe):m.LFG(bn),ee},providedIn:"root"}),V})(),bn=(()=>{var pe;class V extends Gr{constructor(H){super(),this._doc=H}sanitize(H,ee){if(null==ee)return null;switch(H){case m.q3G.NONE:return ee;case m.q3G.HTML:return(0,m.qzn)(ee,"HTML")?(0,m.z3N)(ee):(0,m.EiD)(this._doc,String(ee)).toString();case m.q3G.STYLE:return(0,m.qzn)(ee,"Style")?(0,m.z3N)(ee):ee;case m.q3G.SCRIPT:if((0,m.qzn)(ee,"Script"))return(0,m.z3N)(ee);throw new m.vHH(5200,!1);case m.q3G.URL:return(0,m.qzn)(ee,"URL")?(0,m.z3N)(ee):(0,m.mCW)(String(ee));case m.q3G.RESOURCE_URL:if((0,m.qzn)(ee,"ResourceURL"))return(0,m.z3N)(ee);throw new m.vHH(5201,!1);default:throw new m.vHH(5202,!1)}}bypassSecurityTrustHtml(H){return(0,m.JVY)(H)}bypassSecurityTrustStyle(H){return(0,m.L6k)(H)}bypassSecurityTrustScript(H){return(0,m.eBb)(H)}bypassSecurityTrustUrl(H){return(0,m.LAX)(H)}bypassSecurityTrustResourceUrl(H){return(0,m.pB0)(H)}}return(pe=V).\u0275fac=function(H){return new(H||pe)(m.LFG(w.K0))},pe.\u0275prov=m.Yz7({token:pe,factory:function(H){let ee=null;return ee=H?new H:function Rr(pe){return new bn(pe.get(w.K0))}(m.LFG(m.zs3)),ee},providedIn:"root"}),V})()},4408:(Ye,oe,M)=>{M.d(oe,{gz:()=>Cr,m2:()=>Zn,F0:()=>Hn,rH:()=>Mo,Od:()=>fr,Bz:()=>y,lC:()=>Fr});var m=M(5879),w=M(5592),te=M(4674),I=M(7715),U=M(2096),G=M(5619),X=M(2572);const W=(0,M(2306).d)(u=>function(){u(this),this.name="EmptyError",this.message="no elements in sequence"});var ne=M(5211),de=M(4911),Le=M(8407),Me=M(8504),Te=M(6232),be=M(3168),Be=M(8645),Xe=M(7394),rt=M(6814),Ce=M(7398),F=M(4664),he=M(8180),ie=M(7921),ke=M(2181),we=M(1631),Ae=M(9360),$e=M(8251);function tt(u){return(0,Ae.e)((h,v)=>{let f=!1;h.subscribe((0,$e.x)(v,D=>{f=!0,v.next(D)},()=>{f||v.next(u),v.complete()}))})}function Dt(u=cn){return(0,Ae.e)((h,v)=>{let f=!1;h.subscribe((0,$e.x)(v,D=>{f=!0,v.next(D)},()=>f?v.complete():v.error(u())))})}function cn(){return new W}var _n=M(2737);function dn(u,h){const v=arguments.length>=2;return f=>f.pipe(u?(0,ke.h)((D,S)=>u(D,S,f)):_n.y,(0,he.q)(1),v?tt(h):Dt(()=>new W))}var Wt=M(6328),Vt=M(9397),nn=M(6306);function me(u){return u<=0?()=>Te.E:(0,Ae.e)((h,v)=>{let f=[];h.subscribe((0,$e.x)(v,D=>{f.push(D),u<f.length&&f.shift()},()=>{for(const D of f)v.next(D);v.complete()},void 0,()=>{f=null}))})}var Ne=M(975),xe=M(4716),et=M(6196),Q=M(9773),ye=M(7537),_e=M(6593);const K="primary",Z=Symbol("RouteTitle");class Ze{constructor(h){this.params=h||{}}has(h){return Object.prototype.hasOwnProperty.call(this.params,h)}get(h){if(this.has(h)){const v=this.params[h];return Array.isArray(v)?v[0]:v}return null}getAll(h){if(this.has(h)){const v=this.params[h];return Array.isArray(v)?v:[v]}return[]}get keys(){return Object.keys(this.params)}}function ot(u){return new Ze(u)}function Kt(u,h,v){const f=v.path.split("/");if(f.length>u.length||"full"===v.pathMatch&&(h.hasChildren()||f.length<u.length))return null;const D={};for(let S=0;S<f.length;S++){const P=f[S],Y=u[S];if(P.startsWith(":"))D[P.substring(1)]=Y;else if(P!==Y.path)return null}return{consumed:u.slice(0,f.length),posParams:D}}function Qe(u,h){const v=u?Object.keys(u):void 0,f=h?Object.keys(h):void 0;if(!v||!f||v.length!=f.length)return!1;let D;for(let S=0;S<v.length;S++)if(D=v[S],!Vn(u[D],h[D]))return!1;return!0}function Vn(u,h){if(Array.isArray(u)&&Array.isArray(h)){if(u.length!==h.length)return!1;const v=[...u].sort(),f=[...h].sort();return v.every((D,S)=>f[S]===D)}return u===h}function Ln(u){return u.length>0?u[u.length-1]:null}function Dn(u){return function x(u){return!!u&&(u instanceof w.y||(0,te.m)(u.lift)&&(0,te.m)(u.subscribe))}(u)?u:(0,m.QGY)(u)?(0,I.D)(Promise.resolve(u)):(0,U.of)(u)}const Ar={exact:function vt(u,h,v){if(!sr(u.segments,h.segments)||!Bn(u.segments,h.segments,v)||u.numberOfChildren!==h.numberOfChildren)return!1;for(const f in h.children)if(!u.children[f]||!vt(u.children[f],h.children[f],v))return!1;return!0},subset:gn},zn={exact:function lt(u,h){return Qe(u,h)},subset:function bt(u,h){return Object.keys(h).length<=Object.keys(u).length&&Object.keys(h).every(v=>Vn(u[v],h[v]))},ignored:()=>!0};function In(u,h,v){return Ar[v.paths](u.root,h.root,v.matrixParams)&&zn[v.queryParams](u.queryParams,h.queryParams)&&!("exact"===v.fragment&&u.fragment!==h.fragment)}function gn(u,h,v){return Or(u,h,h.segments,v)}function Or(u,h,v,f){if(u.segments.length>v.length){const D=u.segments.slice(0,v.length);return!(!sr(D,v)||h.hasChildren()||!Bn(D,v,f))}if(u.segments.length===v.length){if(!sr(u.segments,v)||!Bn(u.segments,v,f))return!1;for(const D in h.children)if(!u.children[D]||!gn(u.children[D],h.children[D],f))return!1;return!0}{const D=v.slice(0,u.segments.length),S=v.slice(u.segments.length);return!!(sr(u.segments,D)&&Bn(u.segments,D,f)&&u.children[K])&&Or(u.children[K],h,S,f)}}function Bn(u,h,v){return h.every((f,D)=>zn[v](u[D].parameters,f.parameters))}class xt{constructor(h=new mt([],{}),v={},f=null){this.root=h,this.queryParams=v,this.fragment=f}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=ot(this.queryParams)),this._queryParamMap}toString(){return Gr.serialize(this)}}class mt{constructor(h,v){this.segments=h,this.children=v,this.parent=null,Object.values(v).forEach(f=>f.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Rr(this)}}class os{constructor(h,v){this.path=h,this.parameters=v}get parameterMap(){return this._parameterMap||(this._parameterMap=ot(this.parameters)),this._parameterMap}toString(){return Hs(this)}}function sr(u,h){return u.length===h.length&&u.every((v,f)=>v.path===h[f].path)}let pr=(()=>{var u;class h{}return(u=h).\u0275fac=function(f){return new(f||u)},u.\u0275prov=m.Yz7({token:u,factory:function(){return new Pr},providedIn:"root"}),h})();class Pr{parse(h){const v=new jt(h);return new xt(v.parseRootSegment(),v.parseQueryParams(),v.parseFragment())}serialize(h){const v=`/${bn(h.root,!0)}`,f=function pe(u){const h=Object.keys(u).map(v=>{const f=u[v];return Array.isArray(f)?f.map(D=>`${Wr(v)}=${Wr(D)}`).join("&"):`${Wr(v)}=${Wr(f)}`}).filter(v=>!!v);return h.length?`?${h.join("&")}`:""}(h.queryParams);return`${v}${f}${"string"==typeof h.fragment?`#${function Ss(u){return encodeURI(u)}(h.fragment)}`:""}`}}const Gr=new Pr;function Rr(u){return u.segments.map(h=>Hs(h)).join("/")}function bn(u,h){if(!u.hasChildren())return Rr(u);if(h){const v=u.children[K]?bn(u.children[K],!1):"",f=[];return Object.entries(u.children).forEach(([D,S])=>{D!==K&&f.push(`${D}:${bn(S,!1)}`)}),f.length>0?`${v}(${f.join("//")})`:v}{const v=function Ft(u,h){let v=[];return Object.entries(u.children).forEach(([f,D])=>{f===K&&(v=v.concat(h(D,f)))}),Object.entries(u.children).forEach(([f,D])=>{f!==K&&(v=v.concat(h(D,f)))}),v}(u,(f,D)=>D===K?[bn(u.children[K],!1)]:[`${D}:${bn(f,!1)}`]);return 1===Object.keys(u.children).length&&null!=u.children[K]?`${Rr(u)}/${v[0]}`:`${Rr(u)}/(${v.join("//")})`}}function Gn(u){return encodeURIComponent(u).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Wr(u){return Gn(u).replace(/%3B/gi,";")}function Wn(u){return Gn(u).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Nr(u){return decodeURIComponent(u)}function Kr(u){return Nr(u.replace(/\+/g,"%20"))}function Hs(u){return`${Wn(u.path)}${function uo(u){return Object.keys(u).map(h=>`;${Wn(h)}=${Wn(u[h])}`).join("")}(u.parameters)}`}const V=/^[^\/()?;#]+/;function ue(u){const h=u.match(V);return h?h[0]:""}const H=/^[^\/()?;=#]+/,Re=/^[^=?&#]+/,ut=/^[^&#]+/;class jt{constructor(h){this.url=h,this.remaining=h}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new mt([],{}):new mt([],this.parseChildren())}parseQueryParams(){const h={};if(this.consumeOptional("?"))do{this.parseQueryParam(h)}while(this.consumeOptional("&"));return h}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const h=[];for(this.peekStartsWith("(")||h.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),h.push(this.parseSegment());let v={};this.peekStartsWith("/(")&&(this.capture("/"),v=this.parseParens(!0));let f={};return this.peekStartsWith("(")&&(f=this.parseParens(!1)),(h.length>0||Object.keys(v).length>0)&&(f[K]=new mt(h,v)),f}parseSegment(){const h=ue(this.remaining);if(""===h&&this.peekStartsWith(";"))throw new m.vHH(4009,!1);return this.capture(h),new os(Nr(h),this.parseMatrixParams())}parseMatrixParams(){const h={};for(;this.consumeOptional(";");)this.parseParam(h);return h}parseParam(h){const v=function ee(u){const h=u.match(H);return h?h[0]:""}(this.remaining);if(!v)return;this.capture(v);let f="";if(this.consumeOptional("=")){const D=ue(this.remaining);D&&(f=D,this.capture(f))}h[Nr(v)]=Nr(f)}parseQueryParam(h){const v=function Ge(u){const h=u.match(Re);return h?h[0]:""}(this.remaining);if(!v)return;this.capture(v);let f="";if(this.consumeOptional("=")){const P=function st(u){const h=u.match(ut);return h?h[0]:""}(this.remaining);P&&(f=P,this.capture(f))}const D=Kr(v),S=Kr(f);if(h.hasOwnProperty(D)){let P=h[D];Array.isArray(P)||(P=[P],h[D]=P),P.push(S)}else h[D]=S}parseParens(h){const v={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const f=ue(this.remaining),D=this.remaining[f.length];if("/"!==D&&")"!==D&&";"!==D)throw new m.vHH(4010,!1);let S;f.indexOf(":")>-1?(S=f.slice(0,f.indexOf(":")),this.capture(S),this.capture(":")):h&&(S=K);const P=this.parseChildren();v[S]=1===Object.keys(P).length?P[K]:new mt([],P),this.consumeOptional("//")}return v}peekStartsWith(h){return this.remaining.startsWith(h)}consumeOptional(h){return!!this.peekStartsWith(h)&&(this.remaining=this.remaining.substring(h.length),!0)}capture(h){if(!this.consumeOptional(h))throw new m.vHH(4011,!1)}}function fn(u){return u.segments.length>0?new mt([],{[K]:u}):u}function mn(u){const h={};for(const f of Object.keys(u.children)){const S=mn(u.children[f]);if(f===K&&0===S.segments.length&&S.hasChildren())for(const[P,Y]of Object.entries(S.children))h[P]=Y;else(S.segments.length>0||S.hasChildren())&&(h[f]=S)}return function z(u){if(1===u.numberOfChildren&&u.children[K]){const h=u.children[K];return new mt(u.segments.concat(h.segments),h.children)}return u}(new mt(u.segments,h))}function L(u){return u instanceof xt}function re(u){let h;const D=fn(function v(S){const P={};for(const Pe of S.children){const ce=v(Pe);P[Pe.outlet]=ce}const Y=new mt(S.url,P);return S===u&&(h=Y),Y}(u.root));return h??D}function He(u,h,v,f){let D=u;for(;D.parent;)D=D.parent;if(0===h.length)return je(D,D,D,v,f);const S=function Cn(u){if("string"==typeof u[0]&&1===u.length&&"/"===u[0])return new wt(!0,0,u);let h=0,v=!1;const f=u.reduce((D,S,P)=>{if("object"==typeof S&&null!=S){if(S.outlets){const Y={};return Object.entries(S.outlets).forEach(([Pe,ce])=>{Y[Pe]="string"==typeof ce?ce.split("/"):ce}),[...D,{outlets:Y}]}if(S.segmentPath)return[...D,S.segmentPath]}return"string"!=typeof S?[...D,S]:0===P?(S.split("/").forEach((Y,Pe)=>{0==Pe&&"."===Y||(0==Pe&&""===Y?v=!0:".."===Y?h++:""!=Y&&D.push(Y))}),D):[...D,S]},[]);return new wt(v,h,f)}(h);if(S.toRoot())return je(D,D,new mt([],{}),v,f);const P=function rn(u,h,v){if(u.isAbsolute)return new An(h,!0,0);if(!v)return new An(h,!1,NaN);if(null===v.parent)return new An(v,!0,0);const f=Oe(u.commands[0])?0:1;return function Kn(u,h,v){let f=u,D=h,S=v;for(;S>D;){if(S-=D,f=f.parent,!f)throw new m.vHH(4005,!1);D=f.segments.length}return new An(f,!1,D-S)}(v,v.segments.length-1+f,u.numberOfDoubleDots)}(S,D,u),Y=P.processChildren?Ot(P.segmentGroup,P.index,S.commands):Dr(P.segmentGroup,P.index,S.commands);return je(D,P.segmentGroup,Y,v,f)}function Oe(u){return"object"==typeof u&&null!=u&&!u.outlets&&!u.segmentPath}function Je(u){return"object"==typeof u&&null!=u&&u.outlets}function je(u,h,v,f,D){let P,S={};f&&Object.entries(f).forEach(([Pe,ce])=>{S[Pe]=Array.isArray(ce)?ce.map(nt=>`${nt}`):`${ce}`}),P=u===h?v:Lt(u,h,v);const Y=fn(mn(P));return new xt(Y,S,D)}function Lt(u,h,v){const f={};return Object.entries(u.children).forEach(([D,S])=>{f[D]=S===h?v:Lt(S,h,v)}),new mt(u.segments,f)}class wt{constructor(h,v,f){if(this.isAbsolute=h,this.numberOfDoubleDots=v,this.commands=f,h&&f.length>0&&Oe(f[0]))throw new m.vHH(4003,!1);const D=f.find(Je);if(D&&D!==Ln(f))throw new m.vHH(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class An{constructor(h,v,f){this.segmentGroup=h,this.processChildren=v,this.index=f}}function Dr(u,h,v){if(u||(u=new mt([],{})),0===u.segments.length&&u.hasChildren())return Ot(u,h,v);const f=function Yt(u,h,v){let f=0,D=h;const S={match:!1,pathIndex:0,commandIndex:0};for(;D<u.segments.length;){if(f>=v.length)return S;const P=u.segments[D],Y=v[f];if(Je(Y))break;const Pe=`${Y}`,ce=f<v.length-1?v[f+1]:null;if(D>0&&void 0===Pe)break;if(Pe&&ce&&"object"==typeof ce&&void 0===ce.outlets){if(!ir(Pe,ce,P))return S;f+=2}else{if(!ir(Pe,{},P))return S;f++}D++}return{match:!0,pathIndex:D,commandIndex:f}}(u,h,v),D=v.slice(f.commandIndex);if(f.match&&f.pathIndex<u.segments.length){const S=new mt(u.segments.slice(0,f.pathIndex),{});return S.children[K]=new mt(u.segments.slice(f.pathIndex),u.children),Ot(S,0,D)}return f.match&&0===D.length?new mt(u.segments,{}):f.match&&!u.hasChildren()?On(u,h,v):f.match?Ot(u,0,D):On(u,h,v)}function Ot(u,h,v){if(0===v.length)return new mt(u.segments,{});{const f=function _r(u){return Je(u[0])?u[0].outlets:{[K]:u}}(v),D={};if(Object.keys(f).some(S=>S!==K)&&u.children[K]&&1===u.numberOfChildren&&0===u.children[K].segments.length){const S=Ot(u.children[K],h,v);return new mt(u.segments,S.children)}return Object.entries(f).forEach(([S,P])=>{"string"==typeof P&&(P=[P]),null!==P&&(D[S]=Dr(u.children[S],h,P))}),Object.entries(u.children).forEach(([S,P])=>{void 0===f[S]&&(D[S]=P)}),new mt(u.segments,D)}}function On(u,h,v){const f=u.segments.slice(0,h);let D=0;for(;D<v.length;){const S=v[D];if(Je(S)){const Pe=or(S.outlets);return new mt(f,Pe)}if(0===D&&Oe(v[0])){f.push(new os(u.segments[h].path,Jt(v[0]))),D++;continue}const P=Je(S)?S.outlets[K]:`${S}`,Y=D<v.length-1?v[D+1]:null;P&&Y&&Oe(Y)?(f.push(new os(P,Jt(Y))),D+=2):(f.push(new os(P,{})),D++)}return new mt(f,{})}function or(u){const h={};return Object.entries(u).forEach(([v,f])=>{"string"==typeof f&&(f=[f]),null!==f&&(h[v]=On(new mt([],{}),0,f))}),h}function Jt(u){const h={};return Object.entries(u).forEach(([v,f])=>h[v]=`${f}`),h}function ir(u,h,v){return u==v.path&&Qe(h,v.parameters)}const Yr="imperative";class En{constructor(h,v){this.id=h,this.url=v}}class Yn extends En{constructor(h,v,f="imperative",D=null){super(h,v),this.type=0,this.navigationTrigger=f,this.restoredState=D}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class Zn extends En{constructor(h,v,f){super(h,v),this.urlAfterRedirects=f,this.type=1}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class hn extends En{constructor(h,v,f,D){super(h,v),this.reason=f,this.code=D,this.type=2}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class xr extends En{constructor(h,v,f,D){super(h,v),this.reason=f,this.code=D,this.type=16}}class Er extends En{constructor(h,v,f,D){super(h,v),this.error=f,this.target=D,this.type=3}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class $s extends En{constructor(h,v,f,D){super(h,v),this.urlAfterRedirects=f,this.state=D,this.type=4}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class gi extends En{constructor(h,v,f,D){super(h,v),this.urlAfterRedirects=f,this.state=D,this.type=7}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class co extends En{constructor(h,v,f,D,S){super(h,v),this.urlAfterRedirects=f,this.state=D,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 Zr extends En{constructor(h,v,f,D){super(h,v),this.urlAfterRedirects=f,this.state=D,this.type=5}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class ar extends En{constructor(h,v,f,D){super(h,v),this.urlAfterRedirects=f,this.state=D,this.type=6}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class qr{constructor(h){this.route=h,this.type=9}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class Vs{constructor(h){this.route=h,this.type=10}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class gr{constructor(h){this.snapshot=h,this.type=11}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class zs{constructor(h){this.snapshot=h,this.type=12}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Ro{constructor(h){this.snapshot=h,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Is{constructor(h){this.snapshot=h,this.type=14}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class As{constructor(h,v,f){this.routerEvent=h,this.position=v,this.anchor=f,this.type=15}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class ys{}class Os{constructor(h){this.url=h}}class No{constructor(){this.outlet=null,this.route=null,this.injector=null,this.children=new _s,this.attachRef=null}}let _s=(()=>{var u;class h{constructor(){this.contexts=new Map}onChildOutletCreated(f,D){const S=this.getOrCreateContext(f);S.outlet=D,this.contexts.set(f,S)}onChildOutletDestroyed(f){const D=this.getContext(f);D&&(D.outlet=null,D.attachRef=null)}onOutletDeactivated(){const f=this.contexts;return this.contexts=new Map,f}onOutletReAttached(f){this.contexts=f}getOrCreateContext(f){let D=this.getContext(f);return D||(D=new No,this.contexts.set(f,D)),D}getContext(f){return this.contexts.get(f)||null}}return(u=h).\u0275fac=function(f){return new(f||u)},u.\u0275prov=m.Yz7({token:u,factory:u.\u0275fac,providedIn:"root"}),h})();class ct{constructor(h){this._root=h}get root(){return this._root.value}parent(h){const v=this.pathFromRoot(h);return v.length>1?v[v.length-2]:null}children(h){const v=pn(h,this._root);return v?v.children.map(f=>f.value):[]}firstChild(h){const v=pn(h,this._root);return v&&v.children.length>0?v.children[0].value:null}siblings(h){const v=Mn(h,this._root);return v.length<2?[]:v[v.length-2].children.map(D=>D.value).filter(D=>D!==h)}pathFromRoot(h){return Mn(h,this._root).map(v=>v.value)}}function pn(u,h){if(u===h.value)return h;for(const v of h.children){const f=pn(u,v);if(f)return f}return null}function Mn(u,h){if(u===h.value)return[h];for(const v of h.children){const f=Mn(u,v);if(f.length)return f.unshift(h),f}return[]}class jn{constructor(h,v){this.value=h,this.children=v}toString(){return`TreeNode(${this.value})`}}function wn(u){const h={};return u&&u.children.forEach(v=>h[v.value.outlet]=v),h}class xo extends ct{constructor(h,v){super(h),this.snapshot=v,Ut(this,h)}toString(){return this.snapshot.toString()}}function Fo(u,h){const v=function Gs(u,h){const P=new We([],{},{},"",{},K,h,null,{});return new dt("",new jn(P,[]))}(0,h),f=new G.X([new os("",{})]),D=new G.X({}),S=new G.X({}),P=new G.X({}),Y=new G.X(""),Pe=new Cr(f,D,P,Y,S,K,h,v.root);return Pe.snapshot=v.root,new xo(new jn(Pe,[]),v)}class Cr{constructor(h,v,f,D,S,P,Y,Pe){this.urlSubject=h,this.paramsSubject=v,this.queryParamsSubject=f,this.fragmentSubject=D,this.dataSubject=S,this.outlet=P,this.component=Y,this._futureSnapshot=Pe,this.title=this.dataSubject?.pipe((0,Ce.U)(ce=>ce[Z]))??(0,U.of)(void 0),this.url=h,this.params=v,this.queryParams=f,this.fragment=D,this.data=S}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,Ce.U)(h=>ot(h)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe((0,Ce.U)(h=>ot(h)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function fo(u,h="emptyOnly"){const v=u.pathFromRoot;let f=0;if("always"!==h)for(f=v.length-1;f>=1;){const D=v[f],S=v[f-1];if(D.routeConfig&&""===D.routeConfig.path)f--;else{if(S.component)break;f--}}return function Xt(u){return u.reduce((h,v)=>({params:{...h.params,...v.params},data:{...h.data,...v.data},resolve:{...v.data,...h.resolve,...v.routeConfig?.data,...v._resolvedData}}),{params:{},data:{},resolve:{}})}(v.slice(f))}class We{get title(){return this.data?.[Z]}constructor(h,v,f,D,S,P,Y,Pe,ce){this.url=h,this.params=v,this.queryParams=f,this.fragment=D,this.data=S,this.outlet=P,this.component=Y,this.routeConfig=Pe,this._resolve=ce}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=ot(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=ot(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(f=>f.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class dt extends ct{constructor(h,v){super(v),this.url=h,Ut(this,v)}toString(){return Pn(this._root)}}function Ut(u,h){h.value._routerState=u,h.children.forEach(v=>Ut(u,v))}function Pn(u){const h=u.children.length>0?` { ${u.children.map(Pn).join(", ")} } `:"";return`${u.value}${h}`}function wr(u){if(u.snapshot){const h=u.snapshot,v=u._futureSnapshot;u.snapshot=v,Qe(h.queryParams,v.queryParams)||u.queryParamsSubject.next(v.queryParams),h.fragment!==v.fragment&&u.fragmentSubject.next(v.fragment),Qe(h.params,v.params)||u.paramsSubject.next(v.params),function It(u,h){if(u.length!==h.length)return!1;for(let v=0;v<u.length;++v)if(!Qe(u[v],h[v]))return!1;return!0}(h.url,v.url)||u.urlSubject.next(v.url),Qe(h.data,v.data)||u.dataSubject.next(v.data)}else u.snapshot=u._futureSnapshot,u.dataSubject.next(u._futureSnapshot.data)}function vn(u,h){const v=Qe(u.params,h.params)&&function zt(u,h){return sr(u,h)&&u.every((v,f)=>Qe(v.parameters,h[f].parameters))}(u.url,h.url);return v&&!(!u.parent!=!h.parent)&&(!u.parent||vn(u.parent,h.parent))}let Fr=(()=>{var u;class h{constructor(){this.activated=null,this._activatedRoute=null,this.name=K,this.activateEvents=new m.vpe,this.deactivateEvents=new m.vpe,this.attachEvents=new m.vpe,this.detachEvents=new m.vpe,this.parentContexts=(0,m.f3M)(_s),this.location=(0,m.f3M)(m.s_b),this.changeDetector=(0,m.f3M)(m.sBO),this.environmentInjector=(0,m.f3M)(m.lqb),this.inputBinder=(0,m.f3M)(lr,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(f){if(f.name){const{firstChange:D,previousValue:S}=f.name;if(D)return;this.isTrackedInParentContexts(S)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(S)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(f){return this.parentContexts.getContext(f)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const f=this.parentContexts.getContext(this.name);f?.route&&(f.attachRef?this.attach(f.attachRef,f.route):this.activateWith(f.route,f.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new m.vHH(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new m.vHH(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new m.vHH(4012,!1);this.location.detach();const f=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(f.instance),f}attach(f,D){this.activated=f,this._activatedRoute=D,this.location.insert(f.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(f.instance)}deactivate(){if(this.activated){const f=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(f)}}activateWith(f,D){if(this.isActivated)throw new m.vHH(4013,!1);this._activatedRoute=f;const S=this.location,Y=f.snapshot.component,Pe=this.parentContexts.getOrCreateContext(this.name).children,ce=new sn(f,Pe,S.injector);this.activated=S.createComponent(Y,{index:S.length,injector:ce,environmentInjector:D??this.environmentInjector}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}}return(u=h).\u0275fac=function(f){return new(f||u)},u.\u0275dir=m.lG2({type:u,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[m.TTD]}),h})();class sn{constructor(h,v,f){this.route=h,this.childContexts=v,this.parent=f}get(h,v){return h===Cr?this.route:h===_s?this.childContexts:this.parent.get(h,v)}}const lr=new m.OlP("");let is=(()=>{var u;class h{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(f){this.unsubscribeFromRouteData(f),this.subscribeToRouteData(f)}unsubscribeFromRouteData(f){this.outletDataSubscriptions.get(f)?.unsubscribe(),this.outletDataSubscriptions.delete(f)}subscribeToRouteData(f){const{activatedRoute:D}=f,S=(0,X.a)([D.queryParams,D.params,D.data]).pipe((0,F.w)(([P,Y,Pe],ce)=>(Pe={...P,...Y,...Pe},0===ce?(0,U.of)(Pe):Promise.resolve(Pe)))).subscribe(P=>{if(!f.isActivated||!f.activatedComponentRef||f.activatedRoute!==D||null===D.component)return void this.unsubscribeFromRouteData(f);const Y=(0,m.qFp)(D.component);if(Y)for(const{templateName:Pe}of Y.inputs)f.activatedComponentRef.setInput(Pe,P[Pe]);else this.unsubscribeFromRouteData(f)});this.outletDataSubscriptions.set(f,S)}}return(u=h).\u0275fac=function(f){return new(f||u)},u.\u0275prov=m.Yz7({token:u,factory:u.\u0275fac}),h})();function kr(u,h,v){if(v&&u.shouldReuseRoute(h.value,v.value.snapshot)){const f=v.value;f._futureSnapshot=h.value;const D=function ko(u,h,v){return h.children.map(f=>{for(const D of v.children)if(u.shouldReuseRoute(f.value,D.value.snapshot))return kr(u,f,D);return kr(u,f)})}(u,h,v);return new jn(f,D)}{if(u.shouldAttach(h.value)){const S=u.retrieve(h.value);if(null!==S){const P=S.route;return P.value._futureSnapshot=h.value,P.children=h.children.map(Y=>kr(u,Y)),P}}const f=function Ds(u){return new Cr(new G.X(u.url),new G.X(u.params),new G.X(u.queryParams),new G.X(u.fragment),new G.X(u.data),u.outlet,u.component,u)}(h.value),D=h.children.map(S=>kr(u,S));return new jn(f,D)}}const Ht="ngNavigationCancelingError";function as(u,h){const{redirectTo:v,navigationBehaviorOptions:f}=L(h)?{redirectTo:h,navigationBehaviorOptions:void 0}:h,D=Qr(!1,0,h);return D.url=v,D.navigationBehaviorOptions=f,D}function Qr(u,h,v){const f=new Error("NavigationCancelingError: "+(u||""));return f[Ht]=!0,f.cancellationCode=h,v&&(f.url=v),f}function Es(u){return u&&u[Ht]}let ho=(()=>{var u;class h{}return(u=h).\u0275fac=function(f){return new(f||u)},u.\u0275cmp=m.Xpm({type:u,selectors:[["ng-component"]],standalone:!0,features:[m.jDz],decls:1,vars:0,template:function(f,D){1&f&&m._UZ(0,"router-outlet")},dependencies:[Fr],encapsulation:2}),h})();function us(u){const h=u.children&&u.children.map(us),v=h?{...u,children:h}:{...u};return!v.component&&!v.loadComponent&&(h||v.loadChildren)&&v.outlet&&v.outlet!==K&&(v.component=ho),v}function Rn(u){return u.outlet||K}function en(u){if(!u)return null;if(u.routeConfig?._injector)return u.routeConfig._injector;for(let h=u.parent;h;h=h.parent){const v=h.routeConfig;if(v?._loadedInjector)return v._loadedInjector;if(v?._injector)return v._injector}return null}class Nn{constructor(h,v,f,D,S){this.routeReuseStrategy=h,this.futureState=v,this.currState=f,this.forwardEvent=D,this.inputBindingEnabled=S}activate(h){const v=this.futureState._root,f=this.currState?this.currState._root:null;this.deactivateChildRoutes(v,f,h),wr(this.futureState.root),this.activateChildRoutes(v,f,h)}deactivateChildRoutes(h,v,f){const D=wn(v);h.children.forEach(S=>{const P=S.value.outlet;this.deactivateRoutes(S,D[P],f),delete D[P]}),Object.values(D).forEach(S=>{this.deactivateRouteAndItsChildren(S,f)})}deactivateRoutes(h,v,f){const D=h.value,S=v?v.value:null;if(D===S)if(D.component){const P=f.getContext(D.outlet);P&&this.deactivateChildRoutes(h,v,P.children)}else this.deactivateChildRoutes(h,v,f);else S&&this.deactivateRouteAndItsChildren(v,f)}deactivateRouteAndItsChildren(h,v){h.value.component&&this.routeReuseStrategy.shouldDetach(h.value.snapshot)?this.detachAndStoreRouteSubtree(h,v):this.deactivateRouteAndOutlet(h,v)}detachAndStoreRouteSubtree(h,v){const f=v.getContext(h.value.outlet),D=f&&h.value.component?f.children:v,S=wn(h);for(const P of Object.keys(S))this.deactivateRouteAndItsChildren(S[P],D);if(f&&f.outlet){const P=f.outlet.detach(),Y=f.children.onOutletDeactivated();this.routeReuseStrategy.store(h.value.snapshot,{componentRef:P,route:h,contexts:Y})}}deactivateRouteAndOutlet(h,v){const f=v.getContext(h.value.outlet),D=f&&h.value.component?f.children:v,S=wn(h);for(const P of Object.keys(S))this.deactivateRouteAndItsChildren(S[P],D);f&&(f.outlet&&(f.outlet.deactivate(),f.children.onOutletDeactivated()),f.attachRef=null,f.route=null)}activateChildRoutes(h,v,f){const D=wn(v);h.children.forEach(S=>{this.activateRoutes(S,D[S.value.outlet],f),this.forwardEvent(new Is(S.value.snapshot))}),h.children.length&&this.forwardEvent(new zs(h.value.snapshot))}activateRoutes(h,v,f){const D=h.value,S=v?v.value:null;if(wr(D),D===S)if(D.component){const P=f.getOrCreateContext(D.outlet);this.activateChildRoutes(h,v,P.children)}else this.activateChildRoutes(h,v,f);else if(D.component){const P=f.getOrCreateContext(D.outlet);if(this.routeReuseStrategy.shouldAttach(D.snapshot)){const Y=this.routeReuseStrategy.retrieve(D.snapshot);this.routeReuseStrategy.store(D.snapshot,null),P.children.onOutletReAttached(Y.contexts),P.attachRef=Y.componentRef,P.route=Y.route.value,P.outlet&&P.outlet.attach(Y.componentRef,Y.route.value),wr(Y.route.value),this.activateChildRoutes(h,null,P.children)}else{const Y=en(D.snapshot);P.attachRef=null,P.route=D,P.injector=Y,P.outlet&&P.outlet.activateWith(D,P.injector),this.activateChildRoutes(h,null,P.children)}}else this.activateChildRoutes(h,null,f)}}class Rs{constructor(h){this.path=h,this.route=this.path[this.path.length-1]}}class ur{constructor(h,v){this.component=h,this.route=v}}function Ys(u,h,v){const f=u._root;return Ns(f,h?h._root:null,v,[f.value])}function es(u,h){const v=Symbol(),f=h.get(u,v);return f===v?"function"!=typeof u||(0,m.Z0I)(u)?h.get(u):u:f}function Ns(u,h,v,f,D={canDeactivateChecks:[],canActivateChecks:[]}){const S=wn(h);return u.children.forEach(P=>{(function Wo(u,h,v,f,D={canDeactivateChecks:[],canActivateChecks:[]}){const S=u.value,P=h?h.value:null,Y=v?v.getContext(u.value.outlet):null;if(P&&S.routeConfig===P.routeConfig){const Pe=function va(u,h,v){if("function"==typeof v)return v(u,h);switch(v){case"pathParamsChange":return!sr(u.url,h.url);case"pathParamsOrQueryParamsChange":return!sr(u.url,h.url)||!Qe(u.queryParams,h.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!vn(u,h)||!Qe(u.queryParams,h.queryParams);default:return!vn(u,h)}}(P,S,S.routeConfig.runGuardsAndResolvers);Pe?D.canActivateChecks.push(new Rs(f)):(S.data=P.data,S._resolvedData=P._resolvedData),Ns(u,h,S.component?Y?Y.children:null:v,f,D),Pe&&Y&&Y.outlet&&Y.outlet.isActivated&&D.canDeactivateChecks.push(new ur(Y.outlet.component,P))}else P&&Zs(h,Y,D),D.canActivateChecks.push(new Rs(f)),Ns(u,null,S.component?Y?Y.children:null:v,f,D)})(P,S[P.value.outlet],v,f.concat([P.value]),D),delete S[P.value.outlet]}),Object.entries(S).forEach(([P,Y])=>Zs(Y,v.getContext(P),D)),D}function Zs(u,h,v){const f=wn(u),D=u.value;Object.entries(f).forEach(([S,P])=>{Zs(P,D.component?h?h.children.getContext(S):null:h,v)}),v.canDeactivateChecks.push(new ur(D.component&&h&&h.outlet&&h.outlet.isActivated?h.outlet.component:null,D))}function xs(u){return"function"==typeof u}function _i(u){return u instanceof W||"EmptyError"===u?.name}const Lo=Symbol("INITIAL_VALUE");function Fs(){return(0,F.w)(u=>(0,X.a)(u.map(h=>h.pipe((0,he.q)(1),(0,ie.O)(Lo)))).pipe((0,Ce.U)(h=>{for(const v of h)if(!0!==v){if(v===Lo)return Lo;if(!1===v||v instanceof xt)return v}return!0}),(0,ke.h)(h=>h!==Lo),(0,he.q)(1)))}function ks(u){return(0,Le.z)((0,Vt.b)(h=>{if(L(h))throw as(0,h)}),(0,Ce.U)(h=>!0===h))}class Cs{constructor(h){this.segmentGroup=h||null}}class xn{constructor(h){this.urlTree=h}}function Br(u){return(0,Me._)(new Cs(u))}function yo(u){return(0,Me._)(new xn(u))}class qs{constructor(h,v){this.urlSerializer=h,this.urlTree=v}noMatchError(h){return new m.vHH(4002,!1)}lineralizeSegments(h,v){let f=[],D=v.root;for(;;){if(f=f.concat(D.segments),0===D.numberOfChildren)return(0,U.of)(f);if(D.numberOfChildren>1||!D.children[K])return(0,Me._)(new m.vHH(4e3,!1));D=D.children[K]}}applyRedirectCommands(h,v,f){return this.applyRedirectCreateUrlTree(v,this.urlSerializer.parse(v),h,f)}applyRedirectCreateUrlTree(h,v,f,D){const S=this.createSegmentGroup(h,v.root,f,D);return new xt(S,this.createQueryParams(v.queryParams,this.urlTree.queryParams),v.fragment)}createQueryParams(h,v){const f={};return Object.entries(h).forEach(([D,S])=>{if("string"==typeof S&&S.startsWith(":")){const Y=S.substring(1);f[D]=v[Y]}else f[D]=S}),f}createSegmentGroup(h,v,f,D){const S=this.createSegments(h,v.segments,f,D);let P={};return Object.entries(v.children).forEach(([Y,Pe])=>{P[Y]=this.createSegmentGroup(h,Pe,f,D)}),new mt(S,P)}createSegments(h,v,f,D){return v.map(S=>S.path.startsWith(":")?this.findPosParam(h,S,D):this.findOrReturn(S,f))}findPosParam(h,v,f){const D=f[v.path.substring(1)];if(!D)throw new m.vHH(4001,!1);return D}findOrReturn(h,v){let f=0;for(const D of v){if(D.path===h.path)return v.splice(f),D;f++}return h}}const _o={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function Do(u,h,v,f,D){const S=Qs(u,h,v);return S.matched?(f=function ls(u,h){return u.providers&&!u._injector&&(u._injector=(0,m.MMx)(u.providers,h,`Route: ${u.path}`)),u._injector??h}(h,f),function yn(u,h,v,f){const D=h.canMatch;if(!D||0===D.length)return(0,U.of)(!0);const S=D.map(P=>{const Y=es(P,u);return Dn(function Yo(u){return u&&xs(u.canMatch)}(Y)?Y.canMatch(h,v):u.runInContext(()=>Y(h,v)))});return(0,U.of)(S).pipe(Fs(),ks())}(f,h,v).pipe((0,Ce.U)(P=>!0===P?S:{..._o}))):(0,U.of)(S)}function Qs(u,h,v){if(""===h.path)return"full"===h.pathMatch&&(u.hasChildren()||v.length>0)?{..._o}:{matched:!0,consumedSegments:[],remainingSegments:v,parameters:{},positionalParamSegments:{}};const D=(h.matcher||Kt)(v,u,h);if(!D)return{..._o};const S={};Object.entries(D.posParams??{}).forEach(([Y,Pe])=>{S[Y]=Pe.path});const P=D.consumed.length>0?{...S,...D.consumed[D.consumed.length-1].parameters}:S;return{matched:!0,consumedSegments:D.consumed,remainingSegments:v.slice(D.consumed.length),parameters:P,positionalParamSegments:D.posParams??{}}}function Eo(u,h,v,f){return v.length>0&&function Co(u,h,v){return v.some(f=>jr(u,h,f)&&Rn(f)!==K)}(u,v,f)?{segmentGroup:new mt(h,Qo(f,new mt(v,u.children))),slicedSegments:[]}:0===v.length&&function ws(u,h,v){return v.some(f=>jr(u,h,f))}(u,v,f)?{segmentGroup:new mt(u.segments,Js(u,0,v,f,u.children)),slicedSegments:v}:{segmentGroup:new mt(u.segments,u.children),slicedSegments:v}}function Js(u,h,v,f,D){const S={};for(const P of f)if(jr(u,v,P)&&!D[Rn(P)]){const Y=new mt([],{});S[Rn(P)]=Y}return{...D,...S}}function Qo(u,h){const v={};v[K]=h;for(const f of u)if(""===f.path&&Rn(f)!==K){const D=new mt([],{});v[Rn(f)]=D}return v}function jr(u,h,v){return(!(u.hasChildren()||h.length>0)||"full"!==v.pathMatch)&&""===v.path}class Ea{constructor(h,v,f,D,S,P,Y){this.injector=h,this.configLoader=v,this.rootComponentType=f,this.config=D,this.urlTree=S,this.paramsInheritanceStrategy=P,this.urlSerializer=Y,this.allowRedirects=!0,this.applyRedirects=new qs(this.urlSerializer,this.urlTree)}noMatchError(h){return new m.vHH(4002,!1)}recognize(){const h=Eo(this.urlTree.root,[],[],this.config).segmentGroup;return this.processSegmentGroup(this.injector,this.config,h,K).pipe((0,nn.K)(v=>{if(v instanceof xn)return this.allowRedirects=!1,this.urlTree=v.urlTree,this.match(v.urlTree);throw v instanceof Cs?this.noMatchError(v):v}),(0,Ce.U)(v=>{const f=new We([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},K,this.rootComponentType,null,{}),D=new jn(f,v),S=new dt("",D),P=function ae(u,h,v=null,f=null){return He(re(u),h,v,f)}(f,[],this.urlTree.queryParams,this.urlTree.fragment);return P.queryParams=this.urlTree.queryParams,S.url=this.urlSerializer.serialize(P),this.inheritParamsAndData(S._root),{state:S,tree:P}}))}match(h){return this.processSegmentGroup(this.injector,this.config,h.root,K).pipe((0,nn.K)(f=>{throw f instanceof Cs?this.noMatchError(f):f}))}inheritParamsAndData(h){const v=h.value,f=fo(v,this.paramsInheritanceStrategy);v.params=Object.freeze(f.params),v.data=Object.freeze(f.data),h.children.forEach(D=>this.inheritParamsAndData(D))}processSegmentGroup(h,v,f,D){return 0===f.segments.length&&f.hasChildren()?this.processChildren(h,v,f):this.processSegment(h,v,f,f.segments,D,!0)}processChildren(h,v,f){const D=[];for(const S of Object.keys(f.children))"primary"===S?D.unshift(S):D.push(S);return(0,I.D)(D).pipe((0,Wt.b)(S=>{const P=f.children[S],Y=function Ks(u,h){const v=u.filter(f=>Rn(f)===h);return v.push(...u.filter(f=>Rn(f)!==h)),v}(v,S);return this.processSegmentGroup(h,Y,P,S)}),function fe(u,h){return(0,Ae.e)(function le(u,h,v,f,D){return(S,P)=>{let Y=v,Pe=h,ce=0;S.subscribe((0,$e.x)(P,nt=>{const pt=ce++;Pe=Y?u(Pe,nt,pt):(Y=!0,nt),f&&P.next(Pe)},D&&(()=>{Y&&P.next(Pe),P.complete()})))}}(u,h,arguments.length>=2,!0))}((S,P)=>(S.push(...P),S)),tt(null),function Ee(u,h){const v=arguments.length>=2;return f=>f.pipe(u?(0,ke.h)((D,S)=>u(D,S,f)):_n.y,me(1),v?tt(h):Dt(()=>new W))}(),(0,we.z)(S=>{if(null===S)return Br(f);const P=wo(S);return function Ci(u){u.sort((h,v)=>h.value.outlet===K?-1:v.value.outlet===K?1:h.value.outlet.localeCompare(v.value.outlet))}(P),(0,U.of)(P)}))}processSegment(h,v,f,D,S,P){return(0,I.D)(v).pipe((0,Wt.b)(Y=>this.processSegmentAgainstRoute(Y._injector??h,v,Y,f,D,S,P).pipe((0,nn.K)(Pe=>{if(Pe instanceof Cs)return(0,U.of)(null);throw Pe}))),dn(Y=>!!Y),(0,nn.K)(Y=>{if(_i(Y))return function Di(u,h,v){return 0===h.length&&!u.children[v]}(f,D,S)?(0,U.of)([]):Br(f);throw Y}))}processSegmentAgainstRoute(h,v,f,D,S,P,Y){return function jo(u,h,v,f){return!!(Rn(u)===f||f!==K&&jr(h,v,u))&&("**"===u.path||Qs(h,u,v).matched)}(f,D,S,P)?void 0===f.redirectTo?this.matchSegmentAgainstRoute(h,D,f,S,P,Y):Y&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(h,D,v,f,S,P):Br(D):Br(D)}expandSegmentAgainstRouteUsingRedirect(h,v,f,D,S,P){return"**"===D.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(h,f,D,P):this.expandRegularSegmentAgainstRouteUsingRedirect(h,v,f,D,S,P)}expandWildCardWithParamsAgainstRouteUsingRedirect(h,v,f,D){const S=this.applyRedirects.applyRedirectCommands([],f.redirectTo,{});return f.redirectTo.startsWith("/")?yo(S):this.applyRedirects.lineralizeSegments(f,S).pipe((0,we.z)(P=>{const Y=new mt(P,{});return this.processSegment(h,v,Y,P,D,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(h,v,f,D,S,P){const{matched:Y,consumedSegments:Pe,remainingSegments:ce,positionalParamSegments:nt}=Qs(v,D,S);if(!Y)return Br(v);const pt=this.applyRedirects.applyRedirectCommands(Pe,D.redirectTo,nt);return D.redirectTo.startsWith("/")?yo(pt):this.applyRedirects.lineralizeSegments(D,pt).pipe((0,we.z)(qt=>this.processSegment(h,f,v,qt.concat(ce),P,!1)))}matchSegmentAgainstRoute(h,v,f,D,S,P){let Y;if("**"===f.path){const Pe=D.length>0?Ln(D).parameters:{},ce=new We(D,Pe,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,bo(f),Rn(f),f.component??f._loadedComponent??null,f,Uo(f));Y=(0,U.of)({snapshot:ce,consumedSegments:[],remainingSegments:[]}),v.children={}}else Y=Do(v,f,D,h).pipe((0,Ce.U)(({matched:Pe,consumedSegments:ce,remainingSegments:nt,parameters:pt})=>Pe?{snapshot:new We(ce,pt,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,bo(f),Rn(f),f.component??f._loadedComponent??null,f,Uo(f)),consumedSegments:ce,remainingSegments:nt}:null));return Y.pipe((0,F.w)(Pe=>null===Pe?Br(v):this.getChildConfig(h=f._injector??h,f,D).pipe((0,F.w)(({routes:ce})=>{const nt=f._loadedInjector??h,{snapshot:pt,consumedSegments:qt,remainingSegments:kt}=Pe,{segmentGroup:tr,slicedSegments:$r}=Eo(v,qt,kt,ce);if(0===$r.length&&tr.hasChildren())return this.processChildren(nt,ce,tr).pipe((0,Ce.U)(yr=>null===yr?null:[new jn(pt,yr)]));if(0===ce.length&&0===$r.length)return(0,U.of)([new jn(pt,[])]);const Sn=Rn(f)===S;return this.processSegment(nt,ce,tr,$r,Sn?K:S,!0).pipe((0,Ce.U)(yr=>[new jn(pt,yr)]))}))))}getChildConfig(h,v,f){return v.children?(0,U.of)({routes:v.children,injector:h}):v.loadChildren?void 0!==v._loadedRoutes?(0,U.of)({routes:v._loadedRoutes,injector:v._loadedInjector}):function Bo(u,h,v,f){const D=h.canLoad;if(void 0===D||0===D.length)return(0,U.of)(!0);const S=D.map(P=>{const Y=es(P,u);return Dn(function vi(u){return u&&xs(u.canLoad)}(Y)?Y.canLoad(h,v):u.runInContext(()=>Y(h,v)))});return(0,U.of)(S).pipe(Fs(),ks())}(h,v,f).pipe((0,we.z)(D=>D?this.configLoader.loadChildren(h,v).pipe((0,Vt.b)(S=>{v._loadedRoutes=S.routes,v._loadedInjector=S.injector})):function ds(u){return(0,Me._)(Qr(!1,3))}())):(0,U.of)({routes:[],injector:h})}}function Jo(u){const h=u.value.routeConfig;return h&&""===h.path}function wo(u){const h=[],v=new Set;for(const f of u){if(!Jo(f)){h.push(f);continue}const D=h.find(S=>f.value.routeConfig===S.value.routeConfig);void 0!==D?(D.children.push(...f.children),v.add(D)):h.push(f)}for(const f of v){const D=wo(f.children);h.push(new jn(f.value,D))}return h.filter(f=>!v.has(f))}function bo(u){return u.data||{}}function Uo(u){return u.resolve||{}}function E(u){return"string"==typeof u.title||null===u.title}function R(u){return(0,F.w)(h=>{const v=u(h);return v?(0,I.D)(v).pipe((0,Ce.U)(()=>h)):(0,U.of)(h)})}const _=new m.OlP("ROUTES");let O=(()=>{var u;class h{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=(0,m.f3M)(m.Sil)}loadComponent(f){if(this.componentLoaders.get(f))return this.componentLoaders.get(f);if(f._loadedComponent)return(0,U.of)(f._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(f);const D=Dn(f.loadComponent()).pipe((0,Ce.U)(Ue),(0,Vt.b)(P=>{this.onLoadEndListener&&this.onLoadEndListener(f),f._loadedComponent=P}),(0,xe.x)(()=>{this.componentLoaders.delete(f)})),S=new be.c(D,()=>new Be.x).pipe((0,et.x)());return this.componentLoaders.set(f,S),S}loadChildren(f,D){if(this.childrenLoaders.get(D))return this.childrenLoaders.get(D);if(D._loadedRoutes)return(0,U.of)({routes:D._loadedRoutes,injector:D._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(D);const P=function j(u,h,v,f){return Dn(u.loadChildren()).pipe((0,Ce.U)(Ue),(0,we.z)(D=>D instanceof m.YKP||Array.isArray(D)?(0,U.of)(D):(0,I.D)(h.compileModuleAsync(D))),(0,Ce.U)(D=>{f&&f(u);let S,P,Y=!1;return Array.isArray(D)?(P=D,!0):(S=D.create(v).injector,P=S.get(_,[],{optional:!0,self:!0}).flat()),{routes:P.map(us),injector:S}}))}(D,this.compiler,f,this.onLoadEndListener).pipe((0,xe.x)(()=>{this.childrenLoaders.delete(D)})),Y=new be.c(P,()=>new Be.x).pipe((0,et.x)());return this.childrenLoaders.set(D,Y),Y}}return(u=h).\u0275fac=function(f){return new(f||u)},u.\u0275prov=m.Yz7({token:u,factory:u.\u0275fac,providedIn:"root"}),h})();function Ue(u){return function ve(u){return u&&"object"==typeof u&&"default"in u}(u)?u.default:u}let yt=(()=>{var u;class h{get hasRequestedNavigation(){return 0!==this.navigationId}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new Be.x,this.transitionAbortSubject=new Be.x,this.configLoader=(0,m.f3M)(O),this.environmentInjector=(0,m.f3M)(m.lqb),this.urlSerializer=(0,m.f3M)(pr),this.rootContexts=(0,m.f3M)(_s),this.inputBindingEnabled=null!==(0,m.f3M)(lr,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>(0,U.of)(void 0),this.rootComponentType=null,this.configLoader.onLoadEndListener=S=>this.events.next(new Vs(S)),this.configLoader.onLoadStartListener=S=>this.events.next(new qr(S))}complete(){this.transitions?.complete()}handleNavigationRequest(f){const D=++this.navigationId;this.transitions?.next({...this.transitions.value,...f,id:D})}setupNavigations(f,D,S){return this.transitions=new G.X({id:0,currentUrlTree:D,currentRawUrl:D,currentBrowserUrl:D,extractedUrl:f.urlHandlingStrategy.extract(D),urlAfterRedirects:f.urlHandlingStrategy.extract(D),rawUrl:D,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:Yr,restoredState:null,currentSnapshot:S.snapshot,targetSnapshot:null,currentRouterState:S,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe((0,ke.h)(P=>0!==P.id),(0,Ce.U)(P=>({...P,extractedUrl:f.urlHandlingStrategy.extract(P.rawUrl)})),(0,F.w)(P=>{this.currentTransition=P;let Y=!1,Pe=!1;return(0,U.of)(P).pipe((0,Vt.b)(ce=>{this.currentNavigation={id:ce.id,initialUrl:ce.rawUrl,extractedUrl:ce.extractedUrl,trigger:ce.source,extras:ce.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null}}),(0,F.w)(ce=>{const nt=ce.currentBrowserUrl.toString(),pt=!f.navigated||ce.extractedUrl.toString()!==nt||nt!==ce.currentUrlTree.toString();if(!pt&&"reload"!==(ce.extras.onSameUrlNavigation??f.onSameUrlNavigation)){const kt="";return this.events.next(new xr(ce.id,this.urlSerializer.serialize(ce.rawUrl),kt,0)),ce.resolve(null),Te.E}if(f.urlHandlingStrategy.shouldProcessUrl(ce.rawUrl))return(0,U.of)(ce).pipe((0,F.w)(kt=>{const tr=this.transitions?.getValue();return this.events.next(new Yn(kt.id,this.urlSerializer.serialize(kt.extractedUrl),kt.source,kt.restoredState)),tr!==this.transitions?.getValue()?Te.E:Promise.resolve(kt)}),function Ho(u,h,v,f,D,S){return(0,we.z)(P=>function Ei(u,h,v,f,D,S,P="emptyOnly"){return new Ea(u,h,v,f,D,P,S).recognize()}(u,h,v,f,P.extractedUrl,D,S).pipe((0,Ce.U)(({state:Y,tree:Pe})=>({...P,targetSnapshot:Y,urlAfterRedirects:Pe}))))}(this.environmentInjector,this.configLoader,this.rootComponentType,f.config,this.urlSerializer,f.paramsInheritanceStrategy),(0,Vt.b)(kt=>{P.targetSnapshot=kt.targetSnapshot,P.urlAfterRedirects=kt.urlAfterRedirects,this.currentNavigation={...this.currentNavigation,finalUrl:kt.urlAfterRedirects};const tr=new $s(kt.id,this.urlSerializer.serialize(kt.extractedUrl),this.urlSerializer.serialize(kt.urlAfterRedirects),kt.targetSnapshot);this.events.next(tr)}));if(pt&&f.urlHandlingStrategy.shouldProcessUrl(ce.currentRawUrl)){const{id:kt,extractedUrl:tr,source:$r,restoredState:Sn,extras:yr}=ce,ze=new Yn(kt,this.urlSerializer.serialize(tr),$r,Sn);this.events.next(ze);const at=Fo(0,this.rootComponentType).snapshot;return this.currentTransition=P={...ce,targetSnapshot:at,urlAfterRedirects:tr,extras:{...yr,skipLocationChange:!1,replaceUrl:!1}},(0,U.of)(P)}{const kt="";return this.events.next(new xr(ce.id,this.urlSerializer.serialize(ce.extractedUrl),kt,1)),ce.resolve(null),Te.E}}),(0,Vt.b)(ce=>{const nt=new gi(ce.id,this.urlSerializer.serialize(ce.extractedUrl),this.urlSerializer.serialize(ce.urlAfterRedirects),ce.targetSnapshot);this.events.next(nt)}),(0,Ce.U)(ce=>(this.currentTransition=P={...ce,guards:Ys(ce.targetSnapshot,ce.currentSnapshot,this.rootContexts)},P)),function Da(u,h){return(0,we.z)(v=>{const{targetSnapshot:f,currentSnapshot:D,guards:{canActivateChecks:S,canDeactivateChecks:P}}=v;return 0===P.length&&0===S.length?(0,U.of)({...v,guardsResult:!0}):function cr(u,h,v,f){return(0,I.D)(u).pipe((0,we.z)(D=>function br(u,h,v,f,D){const S=h&&h.routeConfig?h.routeConfig.canDeactivate:null;if(!S||0===S.length)return(0,U.of)(!0);const P=S.map(Y=>{const Pe=en(h)??D,ce=es(Y,Pe);return Dn(function an(u){return u&&xs(u.canDeactivate)}(ce)?ce.canDeactivate(u,h,v,f):Pe.runInContext(()=>ce(u,h,v,f))).pipe(dn())});return(0,U.of)(P).pipe(Fs())}(D.component,D.route,v,h,f)),dn(D=>!0!==D,!0))}(P,f,D,u).pipe((0,we.z)(Y=>Y&&function Ko(u){return"boolean"==typeof u}(Y)?function mo(u,h,v,f){return(0,I.D)(h).pipe((0,Wt.b)(D=>(0,ne.z)(function Zo(u,h){return null!==u&&h&&h(new gr(u)),(0,U.of)(!0)}(D.route.parent,f),function vo(u,h){return null!==u&&h&&h(new Ro(u)),(0,U.of)(!0)}(D.route,f),function cs(u,h,v){const f=h[h.length-1],S=h.slice(0,h.length-1).reverse().map(P=>function Lr(u){const h=u.routeConfig?u.routeConfig.canActivateChild:null;return h&&0!==h.length?{node:u,guards:h}:null}(P)).filter(P=>null!==P).map(P=>(0,de.P)(()=>{const Y=P.guards.map(Pe=>{const ce=en(P.node)??v,nt=es(Pe,ce);return Dn(function yi(u){return u&&xs(u.canActivateChild)}(nt)?nt.canActivateChild(f,u):ce.runInContext(()=>nt(f,u))).pipe(dn())});return(0,U.of)(Y).pipe(Fs())}));return(0,U.of)(S).pipe(Fs())}(u,D.path,v),function qo(u,h,v){const f=h.routeConfig?h.routeConfig.canActivate:null;if(!f||0===f.length)return(0,U.of)(!0);const D=f.map(S=>(0,de.P)(()=>{const P=en(h)??v,Y=es(S,P);return Dn(function ya(u){return u&&xs(u.canActivate)}(Y)?Y.canActivate(h,u):P.runInContext(()=>Y(h,u))).pipe(dn())}));return(0,U.of)(D).pipe(Fs())}(u,D.route,v))),dn(D=>!0!==D,!0))}(f,S,u,h):(0,U.of)(Y)),(0,Ce.U)(Y=>({...v,guardsResult:Y})))})}(this.environmentInjector,ce=>this.events.next(ce)),(0,Vt.b)(ce=>{if(P.guardsResult=ce.guardsResult,L(ce.guardsResult))throw as(0,ce.guardsResult);const nt=new co(ce.id,this.urlSerializer.serialize(ce.extractedUrl),this.urlSerializer.serialize(ce.urlAfterRedirects),ce.targetSnapshot,!!ce.guardsResult);this.events.next(nt)}),(0,ke.h)(ce=>!!ce.guardsResult||(this.cancelNavigationTransition(ce,"",3),!1)),R(ce=>{if(ce.guards.canActivateChecks.length)return(0,U.of)(ce).pipe((0,Vt.b)(nt=>{const pt=new Zr(nt.id,this.urlSerializer.serialize(nt.extractedUrl),this.urlSerializer.serialize(nt.urlAfterRedirects),nt.targetSnapshot);this.events.next(pt)}),(0,F.w)(nt=>{let pt=!1;return(0,U.of)(nt).pipe(function Ca(u,h){return(0,we.z)(v=>{const{targetSnapshot:f,guards:{canActivateChecks:D}}=v;if(!D.length)return(0,U.of)(v);let S=0;return(0,I.D)(D).pipe((0,Wt.b)(P=>function wa(u,h,v,f){const D=u.routeConfig,S=u._resolve;return void 0!==D?.title&&!E(D)&&(S[Z]=D.title),function Xs(u,h,v,f){const D=function ei(u){return[...Object.keys(u),...Object.getOwnPropertySymbols(u)]}(u);if(0===D.length)return(0,U.of)({});const S={};return(0,I.D)(D).pipe((0,we.z)(P=>function d(u,h,v,f){const D=en(h)??f,S=es(u,D);return Dn(S.resolve?S.resolve(h,v):D.runInContext(()=>S(h,v)))}(u[P],h,v,f).pipe(dn(),(0,Vt.b)(Y=>{S[P]=Y}))),me(1),(0,Ne.h)(S),(0,nn.K)(P=>_i(P)?Te.E:(0,Me._)(P)))}(S,u,h,f).pipe((0,Ce.U)(P=>(u._resolvedData=P,u.data=fo(u,v).resolve,D&&E(D)&&(u.data[Z]=D.title),null)))}(P.route,f,u,h)),(0,Vt.b)(()=>S++),me(1),(0,we.z)(P=>S===D.length?(0,U.of)(v):Te.E))})}(f.paramsInheritanceStrategy,this.environmentInjector),(0,Vt.b)({next:()=>pt=!0,complete:()=>{pt||this.cancelNavigationTransition(nt,"",2)}}))}),(0,Vt.b)(nt=>{const pt=new ar(nt.id,this.urlSerializer.serialize(nt.extractedUrl),this.urlSerializer.serialize(nt.urlAfterRedirects),nt.targetSnapshot);this.events.next(pt)}))}),R(ce=>{const nt=pt=>{const qt=[];pt.routeConfig?.loadComponent&&!pt.routeConfig._loadedComponent&&qt.push(this.configLoader.loadComponent(pt.routeConfig).pipe((0,Vt.b)(kt=>{pt.component=kt}),(0,Ce.U)(()=>{})));for(const kt of pt.children)qt.push(...nt(kt));return qt};return(0,X.a)(nt(ce.targetSnapshot.root)).pipe(tt(),(0,he.q)(1))}),R(()=>this.afterPreactivation()),(0,Ce.U)(ce=>{const nt=function ht(u,h,v){const f=kr(u,h._root,v?v._root:void 0);return new xo(f,h)}(f.routeReuseStrategy,ce.targetSnapshot,ce.currentRouterState);return this.currentTransition=P={...ce,targetRouterState:nt},P}),(0,Vt.b)(()=>{this.events.next(new ys)}),((u,h,v,f)=>(0,Ce.U)(D=>(new Nn(h,D.targetRouterState,D.currentRouterState,v,f).activate(u),D)))(this.rootContexts,f.routeReuseStrategy,ce=>this.events.next(ce),this.inputBindingEnabled),(0,he.q)(1),(0,Vt.b)({next:ce=>{Y=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new Zn(ce.id,this.urlSerializer.serialize(ce.extractedUrl),this.urlSerializer.serialize(ce.urlAfterRedirects))),f.titleStrategy?.updateTitle(ce.targetRouterState.snapshot),ce.resolve(!0)},complete:()=>{Y=!0}}),(0,Q.R)(this.transitionAbortSubject.pipe((0,Vt.b)(ce=>{throw ce}))),(0,xe.x)(()=>{Y||Pe||this.cancelNavigationTransition(P,"",1),this.currentNavigation?.id===P.id&&(this.currentNavigation=null)}),(0,nn.K)(ce=>{if(Pe=!0,Es(ce))this.events.next(new hn(P.id,this.urlSerializer.serialize(P.extractedUrl),ce.message,ce.cancellationCode)),function qn(u){return Es(u)&&L(u.url)}(ce)?this.events.next(new Os(ce.url)):P.resolve(!1);else{this.events.next(new Er(P.id,this.urlSerializer.serialize(P.extractedUrl),ce,P.targetSnapshot??void 0));try{P.resolve(f.errorHandler(ce))}catch(nt){P.reject(nt)}}return Te.E}))}))}cancelNavigationTransition(f,D,S){const P=new hn(f.id,this.urlSerializer.serialize(f.extractedUrl),D,S);this.events.next(P),f.resolve(!1)}}return(u=h).\u0275fac=function(f){return new(f||u)},u.\u0275prov=m.Yz7({token:u,factory:u.\u0275fac,providedIn:"root"}),h})();function Rt(u){return u!==Yr}let Pt=(()=>{var u;class h{buildTitle(f){let D,S=f.root;for(;void 0!==S;)D=this.getResolvedTitleForRoute(S)??D,S=S.children.find(P=>P.outlet===K);return D}getResolvedTitleForRoute(f){return f.data[Z]}}return(u=h).\u0275fac=function(f){return new(f||u)},u.\u0275prov=m.Yz7({token:u,factory:function(){return(0,m.f3M)(Et)},providedIn:"root"}),h})(),Et=(()=>{var u;class h extends Pt{constructor(f){super(),this.title=f}updateTitle(f){const D=this.buildTitle(f);void 0!==D&&this.title.setTitle(D)}}return(u=h).\u0275fac=function(f){return new(f||u)(m.LFG(_e.Dx))},u.\u0275prov=m.Yz7({token:u,factory:u.\u0275fac,providedIn:"root"}),h})(),ln=(()=>{var u;class h{}return(u=h).\u0275fac=function(f){return new(f||u)},u.\u0275prov=m.Yz7({token:u,factory:function(){return(0,m.f3M)(un)},providedIn:"root"}),h})();class $t{shouldDetach(h){return!1}store(h,v){}shouldAttach(h){return!1}retrieve(h){return null}shouldReuseRoute(h,v){return h.routeConfig===v.routeConfig}}let un=(()=>{var u;class h extends $t{}return(u=h).\u0275fac=function(){let v;return function(D){return(v||(v=m.n5z(u)))(D||u)}}(),u.\u0275prov=m.Yz7({token:u,factory:u.\u0275fac,providedIn:"root"}),h})();const Xn=new m.OlP("",{providedIn:"root",factory:()=>({})});let mr=(()=>{var u;class h{}return(u=h).\u0275fac=function(f){return new(f||u)},u.\u0275prov=m.Yz7({token:u,factory:function(){return(0,m.f3M)(Ur)},providedIn:"root"}),h})(),Ur=(()=>{var u;class h{shouldProcessUrl(f){return!0}extract(f){return f}merge(f,D){return f}}return(u=h).\u0275fac=function(f){return new(f||u)},u.\u0275prov=m.Yz7({token:u,factory:u.\u0275fac,providedIn:"root"}),h})();var on=function(u){return u[u.COMPLETE=0]="COMPLETE",u[u.FAILED=1]="FAILED",u[u.REDIRECTING=2]="REDIRECTING",u}(on||{});function Tn(u,h){u.events.pipe((0,ke.h)(v=>v instanceof Zn||v instanceof hn||v instanceof Er||v instanceof xr),(0,Ce.U)(v=>v instanceof Zn||v instanceof xr?on.COMPLETE:v instanceof hn&&(0===v.code||1===v.code)?on.REDIRECTING:on.FAILED),(0,ke.h)(v=>v!==on.REDIRECTING),(0,he.q)(1)).subscribe(()=>{h()})}function Un(u){throw u}function fs(u,h,v){return h.parse("/")}const Zt={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},ti={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let Hn=(()=>{var u;class h{get navigationId(){return this.navigationTransitions.navigationId}get browserPageId(){return"computed"!==this.canceledNavigationResolution?this.currentPageId:this.location.getState()?.\u0275routerPageId??this.currentPageId}get events(){return this._events}constructor(){this.disposed=!1,this.currentPageId=0,this.console=(0,m.f3M)(m.c2e),this.isNgZoneEnabled=!1,this._events=new Be.x,this.options=(0,m.f3M)(Xn,{optional:!0})||{},this.pendingTasks=(0,m.f3M)(m.HDt),this.errorHandler=this.options.errorHandler||Un,this.malformedUriErrorHandler=this.options.malformedUriErrorHandler||fs,this.navigated=!1,this.lastSuccessfulId=-1,this.urlHandlingStrategy=(0,m.f3M)(mr),this.routeReuseStrategy=(0,m.f3M)(ln),this.titleStrategy=(0,m.f3M)(Pt),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.config=(0,m.f3M)(_,{optional:!0})?.flat()??[],this.navigationTransitions=(0,m.f3M)(yt),this.urlSerializer=(0,m.f3M)(pr),this.location=(0,m.f3M)(rt.Ye),this.componentInputBindingEnabled=!!(0,m.f3M)(lr,{optional:!0}),this.eventsSubscription=new Xe.w0,this.isNgZoneEnabled=(0,m.f3M)(m.R0b)instanceof m.R0b&&m.R0b.isInAngularZone(),this.resetConfig(this.config),this.currentUrlTree=new xt,this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.routerState=Fo(0,null),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe(f=>{this.lastSuccessfulId=f.id,this.currentPageId=this.browserPageId},f=>{this.console.warn(`Unhandled Navigation Error: ${f}`)}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){const f=this.navigationTransitions.events.subscribe(D=>{try{const{currentTransition:S}=this.navigationTransitions;if(null===S)return void(wi(D)&&this._events.next(D));if(D instanceof Yn)Rt(S.source)&&(this.browserUrlTree=S.extractedUrl);else if(D instanceof xr)this.rawUrlTree=S.rawUrl;else if(D instanceof $s){if("eager"===this.urlUpdateStrategy){if(!S.extras.skipLocationChange){const P=this.urlHandlingStrategy.merge(S.urlAfterRedirects,S.rawUrl);this.setBrowserUrl(P,S)}this.browserUrlTree=S.urlAfterRedirects}}else if(D instanceof ys)this.currentUrlTree=S.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(S.urlAfterRedirects,S.rawUrl),this.routerState=S.targetRouterState,"deferred"===this.urlUpdateStrategy&&(S.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,S),this.browserUrlTree=S.urlAfterRedirects);else if(D instanceof hn)0!==D.code&&1!==D.code&&(this.navigated=!0),(3===D.code||2===D.code)&&this.restoreHistory(S);else if(D instanceof Os){const P=this.urlHandlingStrategy.merge(D.url,S.currentRawUrl),Y={skipLocationChange:S.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||Rt(S.source)};this.scheduleNavigation(P,Yr,null,Y,{resolve:S.resolve,reject:S.reject,promise:S.promise})}D instanceof Er&&this.restoreHistory(S,!0),D instanceof Zn&&(this.navigated=!0),wi(D)&&this._events.next(D)}catch(S){this.navigationTransitions.transitionAbortSubject.next(S)}});this.eventsSubscription.add(f)}resetRootComponentType(f){this.routerState.root.component=f,this.navigationTransitions.rootComponentType=f}initialNavigation(){if(this.setUpLocationChangeListener(),!this.navigationTransitions.hasRequestedNavigation){const f=this.location.getState();this.navigateToSyncWithBrowser(this.location.path(!0),Yr,f)}}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(f=>{const D="popstate"===f.type?"popstate":"hashchange";"popstate"===D&&setTimeout(()=>{this.navigateToSyncWithBrowser(f.url,D,f.state)},0)}))}navigateToSyncWithBrowser(f,D,S){const P={replaceUrl:!0},Y=S?.navigationId?S:null;if(S){const ce={...S};delete ce.navigationId,delete ce.\u0275routerPageId,0!==Object.keys(ce).length&&(P.state=ce)}const Pe=this.parseUrl(f);this.scheduleNavigation(Pe,D,Y,P)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(f){this.config=f.map(us),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(f,D={}){const{relativeTo:S,queryParams:P,fragment:Y,queryParamsHandling:Pe,preserveFragment:ce}=D,nt=ce?this.currentUrlTree.fragment:Y;let qt,pt=null;switch(Pe){case"merge":pt={...this.currentUrlTree.queryParams,...P};break;case"preserve":pt=this.currentUrlTree.queryParams;break;default:pt=P||null}null!==pt&&(pt=this.removeEmptyProps(pt));try{qt=re(S?S.snapshot:this.routerState.snapshot.root)}catch{("string"!=typeof f[0]||!f[0].startsWith("/"))&&(f=[]),qt=this.currentUrlTree.root}return He(qt,f,pt,nt??null)}navigateByUrl(f,D={skipLocationChange:!1}){const S=L(f)?f:this.parseUrl(f),P=this.urlHandlingStrategy.merge(S,this.rawUrlTree);return this.scheduleNavigation(P,Yr,null,D)}navigate(f,D={skipLocationChange:!1}){return function er(u){for(let h=0;h<u.length;h++)if(null==u[h])throw new m.vHH(4008,!1)}(f),this.navigateByUrl(this.createUrlTree(f,D),D)}serializeUrl(f){return this.urlSerializer.serialize(f)}parseUrl(f){let D;try{D=this.urlSerializer.parse(f)}catch(S){D=this.malformedUriErrorHandler(S,this.urlSerializer,f)}return D}isActive(f,D){let S;if(S=!0===D?{...Zt}:!1===D?{...ti}:D,L(f))return In(this.currentUrlTree,f,S);const P=this.parseUrl(f);return In(this.currentUrlTree,P,S)}removeEmptyProps(f){return Object.keys(f).reduce((D,S)=>{const P=f[S];return null!=P&&(D[S]=P),D},{})}scheduleNavigation(f,D,S,P,Y){if(this.disposed)return Promise.resolve(!1);let Pe,ce,nt;Y?(Pe=Y.resolve,ce=Y.reject,nt=Y.promise):nt=new Promise((qt,kt)=>{Pe=qt,ce=kt});const pt=this.pendingTasks.add();return Tn(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(pt))}),this.navigationTransitions.handleNavigationRequest({source:D,restoredState:S,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,currentBrowserUrl:this.browserUrlTree,rawUrl:f,extras:P,resolve:Pe,reject:ce,promise:nt,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),nt.catch(qt=>Promise.reject(qt))}setBrowserUrl(f,D){const S=this.urlSerializer.serialize(f);if(this.location.isCurrentPathEqualTo(S)||D.extras.replaceUrl){const Y={...D.extras.state,...this.generateNgRouterState(D.id,this.browserPageId)};this.location.replaceState(S,"",Y)}else{const P={...D.extras.state,...this.generateNgRouterState(D.id,this.browserPageId+1)};this.location.go(S,"",P)}}restoreHistory(f,D=!1){if("computed"===this.canceledNavigationResolution){const P=this.currentPageId-this.browserPageId;0!==P?this.location.historyGo(P):this.currentUrlTree===this.getCurrentNavigation()?.finalUrl&&0===P&&(this.resetState(f),this.browserUrlTree=f.currentUrlTree,this.resetUrlToCurrentUrlTree())}else"replace"===this.canceledNavigationResolution&&(D&&this.resetState(f),this.resetUrlToCurrentUrlTree())}resetState(f){this.routerState=f.currentRouterState,this.currentUrlTree=f.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,f.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(f,D){return"computed"===this.canceledNavigationResolution?{navigationId:f,\u0275routerPageId:D}:{navigationId:f}}}return(u=h).\u0275fac=function(f){return new(f||u)},u.\u0275prov=m.Yz7({token:u,factory:u.\u0275fac,providedIn:"root"}),h})();function wi(u){return!(u instanceof ys||u instanceof Os)}let Mo=(()=>{var u;class h{constructor(f,D,S,P,Y,Pe){this.router=f,this.route=D,this.tabIndexAttribute=S,this.renderer=P,this.el=Y,this.locationStrategy=Pe,this.href=null,this.commands=null,this.onChanges=new Be.x,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1;const ce=Y.nativeElement.tagName?.toLowerCase();this.isAnchorElement="a"===ce||"area"===ce,this.isAnchorElement?this.subscription=f.events.subscribe(nt=>{nt instanceof Zn&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(f){null!=this.tabIndexAttribute||this.isAnchorElement||this.applyAttributeValue("tabindex",f)}ngOnChanges(f){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(f){null!=f?(this.commands=Array.isArray(f)?f:[f],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(f,D,S,P,Y){return!!(null===this.urlTree||this.isAnchorElement&&(0!==f||D||S||P||Y||"string"==typeof this.target&&"_self"!=this.target))||(this.router.navigateByUrl(this.urlTree,{skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state}),!this.isAnchorElement)}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){this.href=null!==this.urlTree&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(this.urlTree)):null;const f=null===this.href?null:(0,m.P3R)(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",f)}applyAttributeValue(f,D){const S=this.renderer,P=this.el.nativeElement;null!==D?S.setAttribute(P,f,D):S.removeAttribute(P,f)}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:this.preserveFragment})}}return(u=h).\u0275fac=function(f){return new(f||u)(m.Y36(Hn),m.Y36(Cr),m.$8M("tabindex"),m.Y36(m.Qsj),m.Y36(m.SBq),m.Y36(rt.S$))},u.\u0275dir=m.lG2({type:u,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(f,D){1&f&&m.NdJ("click",function(P){return D.onClick(P.button,P.ctrlKey,P.shiftKey,P.altKey,P.metaKey)}),2&f&&m.uIk("target",D.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",relativeTo:"relativeTo",preserveFragment:["preserveFragment","preserveFragment",m.VuI],skipLocationChange:["skipLocationChange","skipLocationChange",m.VuI],replaceUrl:["replaceUrl","replaceUrl",m.VuI],routerLink:"routerLink"},standalone:!0,features:[m.Xq5,m.TTD]}),h})(),fr=(()=>{var u;class h{get isActive(){return this._isActive}constructor(f,D,S,P,Y){this.router=f,this.element=D,this.renderer=S,this.cdr=P,this.link=Y,this.classes=[],this._isActive=!1,this.routerLinkActiveOptions={exact:!1},this.isActiveChange=new m.vpe,this.routerEventsSubscription=f.events.subscribe(Pe=>{Pe instanceof Zn&&this.update()})}ngAfterContentInit(){(0,U.of)(this.links.changes,(0,U.of)(null)).pipe((0,ye.J)()).subscribe(f=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();const f=[...this.links.toArray(),this.link].filter(D=>!!D).map(D=>D.onChanges);this.linkInputChangesSubscription=(0,I.D)(f).pipe((0,ye.J)()).subscribe(D=>{this._isActive!==this.isLinkActive(this.router)(D)&&this.update()})}set routerLinkActive(f){const D=Array.isArray(f)?f:f.split(" ");this.classes=D.filter(S=>!!S)}ngOnChanges(f){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.router.navigated||queueMicrotask(()=>{const f=this.hasActiveLinks();this._isActive!==f&&(this._isActive=f,this.cdr.markForCheck(),this.classes.forEach(D=>{f?this.renderer.addClass(this.element.nativeElement,D):this.renderer.removeClass(this.element.nativeElement,D)}),f&&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(f))})}isLinkActive(f){const D=function vr(u){return!!u.paths}(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return S=>!!S.urlTree&&f.isActive(S.urlTree,D)}hasActiveLinks(){const f=this.isLinkActive(this.router);return this.link&&f(this.link)||this.links.some(f)}}return(u=h).\u0275fac=function(f){return new(f||u)(m.Y36(Hn),m.Y36(m.SBq),m.Y36(m.Qsj),m.Y36(m.sBO),m.Y36(Mo,8))},u.\u0275dir=m.lG2({type:u,selectors:[["","routerLinkActive",""]],contentQueries:function(f,D,S){if(1&f&&m.Suo(S,Mo,5),2&f){let P;m.iGM(P=m.CRH())&&(D.links=P)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],standalone:!0,features:[m.TTD]}),h})();class bi{}let hs=(()=>{var u;class h{constructor(f,D,S,P,Y){this.router=f,this.injector=S,this.preloadingStrategy=P,this.loader=Y}setUpPreloading(){this.subscription=this.router.events.pipe((0,ke.h)(f=>f instanceof Zn),(0,Wt.b)(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(f,D){const S=[];for(const P of D){P.providers&&!P._injector&&(P._injector=(0,m.MMx)(P.providers,f,`Route: ${P.path}`));const Y=P._injector??f,Pe=P._loadedInjector??Y;(P.loadChildren&&!P._loadedRoutes&&void 0===P.canLoad||P.loadComponent&&!P._loadedComponent)&&S.push(this.preloadConfig(Y,P)),(P.children||P._loadedRoutes)&&S.push(this.processRoutes(Pe,P.children??P._loadedRoutes))}return(0,I.D)(S).pipe((0,ye.J)())}preloadConfig(f,D){return this.preloadingStrategy.preload(D,()=>{let S;S=D.loadChildren&&void 0===D.canLoad?this.loader.loadChildren(f,D):(0,U.of)(null);const P=S.pipe((0,we.z)(Y=>null===Y?(0,U.of)(void 0):(D._loadedRoutes=Y.routes,D._loadedInjector=Y.injector,this.processRoutes(Y.injector??f,Y.routes))));if(D.loadComponent&&!D._loadedComponent){const Y=this.loader.loadComponent(D);return(0,I.D)([P,Y]).pipe((0,ye.J)())}return P})}}return(u=h).\u0275fac=function(f){return new(f||u)(m.LFG(Hn),m.LFG(m.Sil),m.LFG(m.lqb),m.LFG(bi),m.LFG(O))},u.\u0275prov=m.Yz7({token:u,factory:u.\u0275fac,providedIn:"root"}),h})();const $o=new m.OlP("");let eo=(()=>{var u;class h{constructor(f,D,S,P,Y={}){this.urlSerializer=f,this.transitions=D,this.viewportScroller=S,this.zone=P,this.options=Y,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},Y.scrollPositionRestoration=Y.scrollPositionRestoration||"disabled",Y.anchorScrolling=Y.anchorScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(f=>{f instanceof Yn?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=f.navigationTrigger,this.restoredId=f.restoredState?f.restoredState.navigationId:0):f instanceof Zn?(this.lastId=f.id,this.scheduleScrollEvent(f,this.urlSerializer.parse(f.urlAfterRedirects).fragment)):f instanceof xr&&0===f.code&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(f,this.urlSerializer.parse(f.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(f=>{f instanceof As&&(f.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(f.position):f.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(f.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(f,D){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new As(f,"popstate"===this.lastSource?this.store[this.restoredId]:null,D))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}}return(u=h).\u0275fac=function(f){m.$Z()},u.\u0275prov=m.Yz7({token:u,factory:u.\u0275fac}),h})();function Hr(u,h){return{\u0275kind:u,\u0275providers:h}}function ni(){const u=(0,m.f3M)(m.zs3);return h=>{const v=u.get(m.z2F);if(h!==v.components[0])return;const f=u.get(Hn),D=u.get(Ti);1===u.get(To)&&f.initialNavigation(),u.get(Ii,null,m.XFs.Optional)?.setUpPreloading(),u.get($o,null,m.XFs.Optional)?.init(),f.resetRootComponentType(v.componentTypes[0]),D.closed||(D.next(),D.complete(),D.unsubscribe())}}const Ti=new m.OlP("",{factory:()=>new Be.x}),To=new m.OlP("",{providedIn:"root",factory:()=>1}),Ii=new m.OlP("");function Sa(u){return Hr(0,[{provide:Ii,useExisting:hs},{provide:bi,useExisting:u}])}const ri=new m.OlP("ROUTER_FORROOT_GUARD"),Fn=[rt.Ye,{provide:pr,useClass:Pr},Hn,_s,{provide:Cr,useFactory:function to(u){return u.routerState.root},deps:[Hn]},O,[]];function Ai(){return new m.PXZ("Router",Hn)}let y=(()=>{var u;class h{constructor(f){}static forRoot(f,D){return{ngModule:h,providers:[Fn,[],{provide:_,multi:!0,useValue:f},{provide:ri,useFactory:C,deps:[[Hn,new m.FiY,new m.tp0]]},{provide:Xn,useValue:D||{}},D?.useHash?{provide:rt.S$,useClass:rt.Do}:{provide:rt.S$,useClass:rt.b0},{provide:$o,useFactory:()=>{const u=(0,m.f3M)(rt.EM),h=(0,m.f3M)(m.R0b),v=(0,m.f3M)(Xn),f=(0,m.f3M)(yt),D=(0,m.f3M)(pr);return v.scrollOffset&&u.setOffset(v.scrollOffset),new eo(D,f,u,h,v)}},D?.preloadingStrategy?Sa(D.preloadingStrategy).\u0275providers:[],{provide:m.PXZ,multi:!0,useFactory:Ai},D?.initialNavigation?A(D):[],D?.bindToComponentInputs?Hr(8,[is,{provide:lr,useExisting:is}]).\u0275providers:[],[{provide:B,useFactory:ni},{provide:m.tb,multi:!0,useExisting:B}]]}}static forChild(f){return{ngModule:h,providers:[{provide:_,multi:!0,useValue:f}]}}}return(u=h).\u0275fac=function(f){return new(f||u)(m.LFG(ri,8))},u.\u0275mod=m.oAB({type:u}),u.\u0275inj=m.cJS({}),h})();function C(u){return"guarded"}function A(u){return["disabled"===u.initialNavigation?Hr(3,[{provide:m.ip1,multi:!0,useFactory:()=>{const h=(0,m.f3M)(Hn);return()=>{h.setUpLocationChangeListener()}}},{provide:To,useValue:2}]).\u0275providers:[],"enabledBlocking"===u.initialNavigation?Hr(2,[{provide:To,useValue:0},{provide:m.ip1,multi:!0,deps:[m.zs3],useFactory:h=>{const v=h.get(rt.V_,Promise.resolve());return()=>v.then(()=>new Promise(f=>{const D=h.get(Hn),S=h.get(Ti);Tn(D,()=>{f(!0)}),h.get(yt).afterPreactivation=()=>(f(!0),S.closed?(0,U.of)(void 0):S),D.initialNavigation()}))}}]).\u0275providers:[]]}const B=new m.OlP("")},9229:(Ye,oe,M)=>{function m(Q){return(m="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(ye){return typeof ye}:function(ye){return ye&&"function"==typeof Symbol&&ye.constructor===Symbol&&ye!==Symbol.prototype?"symbol":typeof ye})(Q)}function x(Q,ye,_e){return(ye=function te(Q){var ye=function w(Q,ye){if("object"!==m(Q)||null===Q)return Q;var _e=Q[Symbol.toPrimitive];if(void 0!==_e){var K=_e.call(Q,ye||"default");if("object"!==m(K))return K;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===ye?String:Number)(Q)}(Q,"string");return"symbol"===m(ye)?ye:String(ye)}(ye))in Q?Object.defineProperty(Q,ye,{value:_e,enumerable:!0,configurable:!0,writable:!0}):Q[ye]=_e,Q}M.d(oe,{FN:()=>nn,PR:()=>$e,Rh:()=>me,_W:()=>Vt});var I=M(5879),U=M(6825),G=M(6814),X=M(8645),se=M(6593);const W=["toast-component",""];function ne(Q,ye){if(1&Q){const _e=I.EpF();I.TgZ(0,"button",5),I.NdJ("click",function(){I.CHM(_e);const Z=I.oxw();return I.KtG(Z.remove())}),I.TgZ(1,"span",6),I._uU(2,"\xd7"),I.qZA()()}}function de(Q,ye){if(1&Q&&(I.ynx(0),I._uU(1),I.BQk()),2&Q){const _e=I.oxw(2);I.xp6(1),I.hij("[",_e.duplicatesCount+1,"]")}}function Le(Q,ye){if(1&Q&&(I.TgZ(0,"div"),I._uU(1),I.YNc(2,de,2,1,"ng-container",4),I.qZA()),2&Q){const _e=I.oxw();I.Tol(_e.options.titleClass),I.uIk("aria-label",_e.title),I.xp6(1),I.hij(" ",_e.title," "),I.xp6(1),I.Q6J("ngIf",_e.duplicatesCount)}}function Me(Q,ye){if(1&Q&&I._UZ(0,"div",7),2&Q){const _e=I.oxw();I.Tol(_e.options.messageClass),I.Q6J("innerHTML",_e.message,I.oJD)}}function Te(Q,ye){if(1&Q&&(I.TgZ(0,"div",8),I._uU(1),I.qZA()),2&Q){const _e=I.oxw();I.Tol(_e.options.messageClass),I.uIk("aria-label",_e.message),I.xp6(1),I.hij(" ",_e.message," ")}}function be(Q,ye){if(1&Q&&(I.TgZ(0,"div"),I._UZ(1,"div",9),I.qZA()),2&Q){const _e=I.oxw();I.xp6(1),I.Udp("width",_e.width+"%")}}class ke{constructor(ye,_e){x(this,"_attachedHost",void 0),x(this,"component",void 0),x(this,"viewContainerRef",void 0),x(this,"injector",void 0),this.component=ye,this.injector=_e}attach(ye,_e){return this._attachedHost=ye,ye.attach(this,_e)}detach(){const ye=this._attachedHost;if(ye)return this._attachedHost=void 0,ye.detach()}get isAttached(){return null!=this._attachedHost}setAttachedHost(ye){this._attachedHost=ye}}class we{constructor(){x(this,"_attachedPortal",void 0),x(this,"_disposeFn",void 0)}attach(ye,_e){return this._attachedPortal=ye,this.attachComponentPortal(ye,_e)}detach(){this._attachedPortal&&this._attachedPortal.setAttachedHost(),this._attachedPortal=void 0,this._disposeFn&&(this._disposeFn(),this._disposeFn=void 0)}setDisposeFn(ye){this._disposeFn=ye}}class Ae{constructor(ye){x(this,"_overlayRef",void 0),x(this,"componentInstance",void 0),x(this,"duplicatesCount",0),x(this,"_afterClosed",new X.x),x(this,"_activate",new X.x),x(this,"_manualClose",new X.x),x(this,"_resetTimeout",new X.x),x(this,"_countDuplicate",new X.x),this._overlayRef=ye}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(ye,_e){ye&&this._resetTimeout.next(),_e&&this._countDuplicate.next(++this.duplicatesCount)}}class $e{constructor(ye,_e,K,Z,Ze,ot){x(this,"toastId",void 0),x(this,"config",void 0),x(this,"message",void 0),x(this,"title",void 0),x(this,"toastType",void 0),x(this,"toastRef",void 0),x(this,"_onTap",new X.x),x(this,"_onAction",new X.x),this.toastId=ye,this.config=_e,this.message=K,this.title=Z,this.toastType=Ze,this.toastRef=ot,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(ye){this._onAction.next(ye)}onAction(){return this._onAction.asObservable()}}const Dt=new I.OlP("ToastConfig");class cn extends we{constructor(ye,_e,K){super(),x(this,"_hostDomElement",void 0),x(this,"_componentFactoryResolver",void 0),x(this,"_appRef",void 0),this._hostDomElement=ye,this._componentFactoryResolver=_e,this._appRef=K}attachComponentPortal(ye,_e){const K=this._componentFactoryResolver.resolveComponentFactory(ye.component);let Z;return Z=K.create(ye.injector),this._appRef.attachView(Z.hostView),this.setDisposeFn(()=>{this._appRef.detachView(Z.hostView),Z.destroy()}),_e?this._hostDomElement.insertBefore(this._getComponentRootNode(Z),this._hostDomElement.firstChild):this._hostDomElement.appendChild(this._getComponentRootNode(Z)),Z}_getComponentRootNode(ye){return ye.hostView.rootNodes[0]}}let _n=(()=>{var Q;class ye{constructor(){x(this,"_document",(0,I.f3M)(G.K0)),x(this,"_containerElement",void 0)}ngOnDestroy(){this._containerElement&&this._containerElement.parentNode&&this._containerElement.parentNode.removeChild(this._containerElement)}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const K=this._document.createElement("div");K.classList.add("overlay-container"),K.setAttribute("aria-live","polite"),this._document.body.appendChild(K),this._containerElement=K}}return Q=ye,x(ye,"\u0275fac",function(K){return new(K||Q)}),x(ye,"\u0275prov",I.Yz7({token:Q,factory:Q.\u0275fac,providedIn:"root"})),ye})();class dn{constructor(ye){x(this,"_portalHost",void 0),this._portalHost=ye}attach(ye,_e=!0){return this._portalHost.attach(ye,_e)}detach(){return this._portalHost.detach()}}let Wt=(()=>{var Q;class ye{constructor(){x(this,"_overlayContainer",(0,I.f3M)(_n)),x(this,"_componentFactoryResolver",(0,I.f3M)(I._Vd)),x(this,"_appRef",(0,I.f3M)(I.z2F)),x(this,"_document",(0,I.f3M)(G.K0)),x(this,"_paneElements",new Map)}create(K,Z){return this._createOverlayRef(this.getPaneElement(K,Z))}getPaneElement(K="",Z){return this._paneElements.get(Z)||this._paneElements.set(Z,{}),this._paneElements.get(Z)[K]||(this._paneElements.get(Z)[K]=this._createPaneElement(K,Z)),this._paneElements.get(Z)[K]}_createPaneElement(K,Z){const Ze=this._document.createElement("div");return Ze.id="toast-container",Ze.classList.add(K),Ze.classList.add("toast-container"),Z?Z.getContainerElement().appendChild(Ze):this._overlayContainer.getContainerElement().appendChild(Ze),Ze}_createPortalHost(K){return new cn(K,this._componentFactoryResolver,this._appRef)}_createOverlayRef(K){return new dn(this._createPortalHost(K))}}return Q=ye,x(ye,"\u0275fac",function(K){return new(K||Q)}),x(ye,"\u0275prov",I.Yz7({token:Q,factory:Q.\u0275fac,providedIn:"root"})),ye})(),Vt=(()=>{var Q;class ye{constructor(K,Z,Ze,ot,Kt){x(this,"overlay",void 0),x(this,"_injector",void 0),x(this,"sanitizer",void 0),x(this,"ngZone",void 0),x(this,"toastrConfig",void 0),x(this,"currentlyActive",0),x(this,"toasts",[]),x(this,"overlayContainer",void 0),x(this,"previousToastMessage",void 0),x(this,"index",0),this.overlay=Z,this._injector=Ze,this.sanitizer=ot,this.ngZone=Kt,this.toastrConfig={...K.default,...K.config},K.config.iconClasses&&(this.toastrConfig.iconClasses={...K.default.iconClasses,...K.config.iconClasses})}show(K,Z,Ze={},ot=""){return this._preBuildNotification(ot,K,Z,this.applyConfig(Ze))}success(K,Z,Ze={}){return this._preBuildNotification(this.toastrConfig.iconClasses.success||"",K,Z,this.applyConfig(Ze))}error(K,Z,Ze={}){return this._preBuildNotification(this.toastrConfig.iconClasses.error||"",K,Z,this.applyConfig(Ze))}info(K,Z,Ze={}){return this._preBuildNotification(this.toastrConfig.iconClasses.info||"",K,Z,this.applyConfig(Ze))}warning(K,Z,Ze={}){return this._preBuildNotification(this.toastrConfig.iconClasses.warning||"",K,Z,this.applyConfig(Ze))}clear(K){for(const Z of this.toasts)if(void 0!==K){if(Z.toastId===K)return void Z.toastRef.manualClose()}else Z.toastRef.manualClose()}remove(K){const Z=this._findToast(K);if(!Z||(Z.activeToast.toastRef.close(),this.toasts.splice(Z.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 Ze=this.toasts[this.currentlyActive].toastRef;Ze.isInactive()||(this.currentlyActive=this.currentlyActive+1,Ze.activate())}return!0}findDuplicate(K="",Z="",Ze,ot){const{includeTitleDuplicates:Kt}=this.toastrConfig;for(const It of this.toasts)if((!Kt||Kt&&It.title===K)&&It.message===Z)return It.toastRef.onDuplicate(Ze,ot),It;return null}applyConfig(K={}){return{...this.toastrConfig,...K}}_findToast(K){for(let Z=0;Z<this.toasts.length;Z++)if(this.toasts[Z].toastId===K)return{index:Z,activeToast:this.toasts[Z]};return null}_preBuildNotification(K,Z,Ze,ot){return ot.onActivateTick?this.ngZone.run(()=>this._buildNotification(K,Z,Ze,ot)):this._buildNotification(K,Z,Ze,ot)}_buildNotification(K,Z,Ze,ot){if(!ot.toastComponent)throw new Error("toastComponent required");const Kt=this.findDuplicate(Ze,Z,this.toastrConfig.resetTimeoutOnDuplicate&&ot.timeOut>0,this.toastrConfig.countDuplicates);if((this.toastrConfig.includeTitleDuplicates&&Ze||Z)&&this.toastrConfig.preventDuplicates&&null!==Kt)return Kt;this.previousToastMessage=Z;let It=!1;this.toastrConfig.maxOpened&&this.currentlyActive>=this.toastrConfig.maxOpened&&(It=!0,this.toastrConfig.autoDismiss&&this.clear(this.toasts[0].toastId));const Qe=this.overlay.create(ot.positionClass,this.overlayContainer);this.index=this.index+1;let Vn=Z;Z&&ot.enableHtml&&(Vn=this.sanitizer.sanitize(I.q3G.HTML,Z));const Ln=new Ae(Qe),Dn=new $e(this.index,ot,Vn,Ze,K,Ln),zn=I.zs3.create({providers:[{provide:$e,useValue:Dn}],parent:this._injector}),In=new ke(ot.toastComponent,zn),lt=Qe.attach(In,ot.newestOnTop);Ln.componentInstance=lt.instance;const vt={toastId:this.index,title:Ze||"",message:Z||"",toastRef:Ln,onShown:Ln.afterActivate(),onHidden:Ln.afterClosed(),onTap:Dn.onTap(),onAction:Dn.onAction(),portal:lt};return It||(this.currentlyActive=this.currentlyActive+1,setTimeout(()=>{vt.toastRef.activate()})),this.toasts.push(vt),vt}}return Q=ye,x(ye,"\u0275fac",function(K){return new(K||Q)(I.LFG(Dt),I.LFG(Wt),I.LFG(I.zs3),I.LFG(se.H7),I.LFG(I.R0b))}),x(ye,"\u0275prov",I.Yz7({token:Q,factory:Q.\u0275fac,providedIn:"root"})),ye})(),nn=(()=>{var Q;class ye{get displayStyle(){if("inactive"===this.state.value)return"none"}constructor(K,Z,Ze){x(this,"toastrService",void 0),x(this,"toastPackage",void 0),x(this,"ngZone",void 0),x(this,"message",void 0),x(this,"title",void 0),x(this,"options",void 0),x(this,"duplicatesCount",void 0),x(this,"originalTimeout",void 0),x(this,"width",-1),x(this,"toastClasses",""),x(this,"state",void 0),x(this,"timeout",void 0),x(this,"intervalId",void 0),x(this,"hideTime",void 0),x(this,"sub",void 0),x(this,"sub1",void 0),x(this,"sub2",void 0),x(this,"sub3",void 0),this.toastrService=K,this.toastPackage=Z,this.ngZone=Ze,this.message=Z.message,this.title=Z.title,this.options=Z.config,this.originalTimeout=Z.config.timeOut,this.toastClasses=`${Z.toastType} ${Z.config.toastClass}`,this.sub=Z.toastRef.afterActivate().subscribe(()=>{this.activateToast()}),this.sub1=Z.toastRef.manualClosed().subscribe(()=>{this.remove()}),this.sub2=Z.toastRef.timeoutReset().subscribe(()=>{this.resetTimeout()}),this.sub3=Z.toastRef.countDuplicate().subscribe(ot=>{this.duplicatesCount=ot}),this.state={value:"inactive",params:{easeTime:this.toastPackage.config.easeTime,easing:"ease-in"}}}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 K=(new Date).getTime();this.width=(this.hideTime-K)/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&&"extendedTimeOut"!==this.options.disableTimeOut&&(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(K,Z){this.ngZone?this.ngZone.runOutsideAngular(()=>this.timeout=setTimeout(()=>this.runInsideAngular(K),Z)):this.timeout=setTimeout(()=>K(),Z)}outsideInterval(K,Z){this.ngZone?this.ngZone.runOutsideAngular(()=>this.intervalId=setInterval(()=>this.runInsideAngular(K),Z)):this.intervalId=setInterval(()=>K(),Z)}runInsideAngular(K){this.ngZone?this.ngZone.run(()=>K()):K()}}return Q=ye,x(ye,"\u0275fac",function(K){return new(K||Q)(I.Y36(Vt),I.Y36($e),I.Y36(I.R0b))}),x(ye,"\u0275cmp",I.Xpm({type:Q,selectors:[["","toast-component",""]],hostVars:5,hostBindings:function(K,Z){1&K&&I.NdJ("click",function(){return Z.tapToast()})("mouseenter",function(){return Z.stickAround()})("mouseleave",function(){return Z.delayedHideToast()}),2&K&&(I.d8E("@flyInOut",Z.state),I.Tol(Z.toastClasses),I.Udp("display",Z.displayStyle))},standalone:!0,features:[I.jDz],attrs:W,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(K,Z){1&K&&(I.YNc(0,ne,3,0,"button",0),I.YNc(1,Le,3,5,"div",1),I.YNc(2,Me,1,3,"div",2),I.YNc(3,Te,2,4,"div",3),I.YNc(4,be,2,2,"div",4)),2&K&&(I.Q6J("ngIf",Z.options.closeButton),I.xp6(1),I.Q6J("ngIf",Z.title),I.xp6(1),I.Q6J("ngIf",Z.message&&Z.options.enableHtml),I.xp6(1),I.Q6J("ngIf",Z.message&&!Z.options.enableHtml),I.xp6(1),I.Q6J("ngIf",Z.options.progressBar))},dependencies:[G.O5],encapsulation:2,data:{animation:[(0,U.X$)("flyInOut",[(0,U.SB)("inactive",(0,U.oB)({opacity:0})),(0,U.SB)("active",(0,U.oB)({opacity:1})),(0,U.SB)("removed",(0,U.oB)({opacity:0})),(0,U.eR)("inactive => active",(0,U.jt)("{{ easeTime }}ms {{ easing }}")),(0,U.eR)("active => removed",(0,U.jt)("{{ easeTime }}ms {{ easing }}"))])]}})),ye})();const le={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",toastComponent:nn},fe=(Q={})=>(0,I.MR2)([{provide:Dt,useValue:{default:le,config:Q}}]);let me=(()=>{var Q;class ye{static forRoot(K={}){return{ngModule:ye,providers:[fe(K)]}}}return Q=ye,x(ye,"\u0275fac",function(K){return new(K||Q)}),x(ye,"\u0275mod",I.oAB({type:Q})),x(ye,"\u0275inj",I.cJS({})),ye})()},7582:(Ye,oe,M)=>{function de(le,fe,me,Ee){return new(me||(me=Promise))(function(xe,et){function Q(K){try{_e(Ee.next(K))}catch(Z){et(Z)}}function ye(K){try{_e(Ee.throw(K))}catch(Z){et(Z)}}function _e(K){K.done?xe(K.value):function Ne(xe){return xe instanceof me?xe:new me(function(et){et(xe)})}(K.value).then(Q,ye)}_e((Ee=Ee.apply(le,fe||[])).next())})}function F(le){return this instanceof F?(this.v=le,this):new F(le)}function he(le,fe,me){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var Ne,Ee=me.apply(le,fe||[]),xe=[];return Ne={},et("next"),et("throw"),et("return"),Ne[Symbol.asyncIterator]=function(){return this},Ne;function et(Ze){Ee[Ze]&&(Ne[Ze]=function(ot){return new Promise(function(Kt,It){xe.push([Ze,ot,Kt,It])>1||Q(Ze,ot)})})}function Q(Ze,ot){try{!function ye(Ze){Ze.value instanceof F?Promise.resolve(Ze.value.v).then(_e,K):Z(xe[0][2],Ze)}(Ee[Ze](ot))}catch(Kt){Z(xe[0][3],Kt)}}function _e(Ze){Q("next",Ze)}function K(Ze){Q("throw",Ze)}function Z(Ze,ot){Ze(ot),xe.shift(),xe.length&&Q(xe[0][0],xe[0][1])}}function ke(le){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var me,fe=le[Symbol.asyncIterator];return fe?fe.call(le):(le=function be(le){var fe="function"==typeof Symbol&&Symbol.iterator,me=fe&&le[fe],Ee=0;if(me)return me.call(le);if(le&&"number"==typeof le.length)return{next:function(){return le&&Ee>=le.length&&(le=void 0),{value:le&&le[Ee++],done:!le}}};throw new TypeError(fe?"Object is not iterable.":"Symbol.iterator is not defined.")}(le),me={},Ee("next"),Ee("throw"),Ee("return"),me[Symbol.asyncIterator]=function(){return this},me);function Ee(xe){me[xe]=le[xe]&&function(et){return new Promise(function(Q,ye){!function Ne(xe,et,Q,ye){Promise.resolve(ye).then(function(_e){xe({value:_e,done:Q})},et)}(Q,ye,(et=le[xe](et)).done,et.value)})}}}M.d(oe,{FC:()=>he,KL:()=>ke,mG:()=>de,qq:()=>F}),"function"==typeof SuppressedError&&SuppressedError}},Ye=>{Ye(Ye.s=7548)}]);