dealpostools 2.1.0 → 2.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/tools/169.85e21854b045ed9d.js +1 -0
- package/tools/3rdpartylicenses.txt +89 -0
- package/tools/753.ba45812f6428d623.js +1 -0
- package/tools/index.html +3 -3
- package/tools/main.b6bde6291ac50f64.js +1 -0
- package/tools/runtime.758686181bb87b76.js +1 -0
- package/tools/642.5d39acadd5be978d.js +0 -1
- package/tools/main.eb9648348ee7f065.js +0 -1
- package/tools/runtime.94f1a5ff4dee13a8.js +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunkweb_tools=self.webpackChunkweb_tools||[]).push([[179],{5826:(Qe,pe,S)=>{S.d(pe,{a:()=>oe});var u=S(4650),y=S(7217),ne=S(6272);let oe=(()=>{class z{constructor(Y,ie){this._authService=Y,this._router=ie}canActivate(Y,ie){return!!this._authService.isAuthentication()||(this._router.navigate([""]),!1)}}return z.\u0275fac=function(Y){return new(Y||z)(u.LFG(y.$),u.LFG(ne.F0))},z.\u0275prov=u.Yz7({token:z,factory:z.\u0275fac}),z})()},7217:(Qe,pe,S)=>{S.d(pe,{$:()=>oe});var u=S(4650),y=S(6272),ne=S(7185);let oe=(()=>{class z{constructor(Y,ie){this._router=Y,this.toaster=ie}login(Y){this._router.navigate([Y])}logout(){localStorage.removeItem("Token"),localStorage.removeItem("Domain"),this._router.navigate([""])}isAuthentication(){return null!=localStorage.getItem("Token")&&!this.isTokenExpired()}isTokenExpired(){return!1}setLocalStorage(Y,ie){localStorage.setItem("posdomain",Y),localStorage.setItem("username",ie)}getUsernameLocalStorage(){return localStorage.getItem("username")}getDomainLocalStorage(){return localStorage.getItem("posdomain")}isLocalStorageExist(){let Y=localStorage.getItem("posdomain"),ie=localStorage.getItem("username"),le=!1;return Y&&ie&&(le=!0),le}}return z.\u0275fac=function(Y){return new(Y||z)(u.LFG(y.F0),u.LFG(ne._W))},z.\u0275prov=u.Yz7({token:z,factory:z.\u0275fac,providedIn:"root"}),z})()},381:(Qe,pe,S)=>{S.d(pe,{O:()=>_e});var u=S(529),y=S(9751),ne=S(4986),oe=S(1165),z=S(4482),J=S(8421),Y=S(3888),ie=S(5403),le=S(9672);const fe=(0,Y.d)(We=>function(Me=null){We(this),this.message="Timeout has occurred",this.name="TimeoutError",this.info=Me});function X(We){throw new fe(We)}var ve=S(4650),Ee=S(7185);let _e=(()=>{class We{constructor(Me,at){this.http=Me,this.toastr=at}delete(Me,at){let Ct=localStorage.getItem("Token"),De=new u.WM({"Content-Type":"application/json","Cache-Control":"no-cache"});return Ct&&(De=De.append("Authorization","Bearer "+Ct)),this.http.delete(Me,{body:at,headers:De})}post(Me,at,Ct=1e5){return new y.y(De=>{let W=localStorage.getItem("Token"),Se=new u.WM({"Content-Type":"application/json","Cache-Control":"no-cache"});W&&(Se=Se.append("Authorization","Bearer "+W)),this.http.post(Me,at,{headers:Se}).pipe(function de(We,be){const{first:Me,each:at,with:Ct=X,scheduler:De=be??ne.z,meta:W=null}=(0,oe.q)(We)?{first:We}:"number"==typeof We?{each:We}:We;if(null==Me&&null==at)throw new TypeError("No timeout provided.");return(0,z.e)((Se,qe)=>{let Ne,Re,ke=null,Q=0;const ee=ge=>{Re=(0,le.f)(qe,De,()=>{try{Ne.unsubscribe(),(0,J.Xf)(Ct({meta:W,lastValue:ke,seen:Q})).subscribe(qe)}catch(ae){qe.error(ae)}},ge)};Ne=Se.subscribe((0,ie.x)(qe,ge=>{Re?.unsubscribe(),Q++,qe.next(ke=ge),at>0&&ee(at)},void 0,void 0,()=>{Re?.closed||Re?.unsubscribe(),ke=null})),!Q&&ee(null!=Me?"number"==typeof Me?Me:+Me-De.now():at)})}(Ct)).subscribe(Ne=>{De.next(Ne),De.complete()},Ne=>{if(200==Ne.status)De.next(Ne.error.text),De.complete();else{if(!this.unauthorizedErrorHandling(Ne)){let ke=this.errorMessageHandling(Ne);this.toastr.error(""!=ke.message?ke.message:"An unknown error has occured!",ke.header)}De.error(Ne)}})})}unauthorizedErrorHandling(Me){let at=!1;return 401==Me.status&&(localStorage.getItem("Token")?window.location.href="/A/Unauthorized/Main/Unauthorized":window.location.href="/",at=!0),at}errorMessageHandling(Me){let at="API Error",Ct="Exception Message";return Me.error?(at="API Error - "+Me.status,Me.error.Message&&(Ct=Me.error.Message)):Me.message&&(at="API Error - "+Me.name,Ct=Me.message),{header:at,message:Ct}}}return We.\u0275fac=function(Me){return new(Me||We)(ve.LFG(u.eN),ve.LFG(Ee._W))},We.\u0275prov=ve.Yz7({token:We,factory:We.\u0275fac,providedIn:"root"}),We})()},8308:(Qe,pe,S)=>{var u=S(1481),y=S(4650),ne=S(6272);function oe(_){this.message=_}(oe.prototype=new Error).name="InvalidCharacterError";var z=typeof window<"u"&&window.atob&&window.atob.bind(window)||function(_){var s=String(_).replace(/=+$/,"");if(s.length%4==1)throw new oe("'atob' failed: The string to be decoded is not correctly encoded.");for(var a,p,T=0,R=0,B="";p=s.charAt(R++);~p&&(a=T%4?64*a+p:p,T++%4)?B+=String.fromCharCode(255&a>>(-2*T&6)):0)p="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".indexOf(p);return B};function Y(_){this.message=_}(Y.prototype=new Error).name="InvalidTokenError";var fe=S(381),de=S(7185),X=S(7217),ve=S(6895),Ee=S(433);const _e=["domainAutoFocus"],We=["passAutoFocus"],be=function(_,s){return{"fa-eye-slash":_,"fa-eye":s}};function Me(_,s){if(1&_){const a=y.EpF();y.TgZ(0,"i",35),y.NdJ("click",function(){y.CHM(a);const T=y.oxw();return y.KtG(T.hideShowPassword())}),y.qZA()}if(2&_){const a=y.oxw();y.Q6J("ngClass",y.WLB(1,be,"eye-off"==a.passwordIcon,"eye"==a.passwordIcon))}}const Ct=[{path:"",component:(()=>{class _{constructor(a,p,T,R,B){this._httpService=a,this.toastr=p,this.auth=T,this.elementRef=R,this.cdr=B,this.passwordType="password",this.passwordIcon="eye-off"}ngOnInit(){this.elementRef.nativeElement.ownerDocument.body.style.backgroundColor="#edefff"}ngAfterViewInit(){this.getLocalStorage()}ngOnDestroy(){this.elementRef.nativeElement.ownerDocument.body.style.backgroundColor="white"}getLocalStorage(){let a=this.auth.isLocalStorageExist();this.setAutoFocusDomain(),a&&(this.posDomain=this.auth.getDomainLocalStorage(),this.username=this.auth.getUsernameLocalStorage(),this.setAutoFocusPass(),this.cdr.detectChanges())}setAutoFocusDomain(){this.domainElementRef.nativeElement.focus()}setAutoFocusPass(){this.passElementRef.nativeElement.focus()}hideShowPassword(){this.passwordType="text"===this.passwordType?"password":"text",this.passwordIcon="eye-off"===this.passwordIcon?"eye":"eye-off"}login(){var a={client_id:this.username,client_secret:this.password},p="";this.posDomain.includes("http://")||(p="https://"+this.posDomain),this._httpService.post(p+"/api/v3/Token",JSON.stringify(a)).toPromise().then(T=>{null==T.access_token&&null==T.access_token||(localStorage.setItem("Domain",this.posDomain),localStorage.setItem("Token",T.access_token),"Tools"==function ie(_,s){if("string"!=typeof _)throw new Y("Invalid token specified");var a=!0===(s=s||{}).header?0:1;try{return JSON.parse(function J(_){var s=_.replace(/-/g,"+").replace(/_/g,"/");switch(s.length%4){case 0:break;case 2:s+="==";break;case 3:s+="=";break;default:throw"Illegal base64url string!"}try{return decodeURIComponent(z(s).replace(/(.)/g,function(p,T){var R=T.charCodeAt(0).toString(16).toUpperCase();return R.length<2&&(R="0"+R),"%"+R}))}catch{return z(s)}}(_.split(".")[a]))}catch(p){throw new Y("Invalid token specified: "+p.message)}}(T.access_token)["http://schemas.microsoft.com/ws/2008/06/identity/claims/role"].filter(re=>"Tools"==re)?(this.auth.login("/menu/product"),this.saveToLocalStorage()):this.toastr.error("Please check your role","Error"))}).catch(T=>{this.toastr.error(0==T.status?"Please check your domain name":T.error.Message,"Error")})}saveToLocalStorage(){this.auth.setLocalStorage(this.posDomain,this.username)}}return _.\u0275fac=function(a){return new(a||_)(y.Y36(fe.O),y.Y36(de._W),y.Y36(X.$),y.Y36(y.SBq),y.Y36(y.sBO))},_.\u0275cmp=y.Xpm({type:_,selectors:[["app-login"]],viewQuery:function(a,p){if(1&a&&(y.Gf(_e,5),y.Gf(We,5)),2&a){let T;y.iGM(T=y.CRH())&&(p.domainElementRef=T.first),y.iGM(T=y.CRH())&&(p.passElementRef=T.first)}},decls:53,vars:5,consts:[[1,"container"],[1,"row","mt-5","mt-md-0","align-self-center"],[1,"col-12","col-md-7","text-center"],[1,"big-display","my-5","py-5","robotoslab","d-none","d-md-block"],["src","https://res.cloudinary.com/pos/image/upload/w_200/v1614247725/Apps/Login/tools-dealpos-app.png","alt","integration-image",1,"img-fluid","mt-5","pt-5"],[1,"col-12","col-md-5","order-first","order-md-last"],[1,"big-display","text-center","my-5","py-5","robotoslab","d-block","d-md-none"],[1,"card"],[1,"card-body"],[1,"card-title"],[1,"ms-2","fw-normal","font-xl","robotoslab"],[1,""],[1,"form-label-group"],["type","text","name","inputPOSDomain","id","inputPOSDomain","placeholder","POS Domain (xyz.dealpos.com)","required","","pattern","(https:\\/\\/)?\\w+.dealpos(.com|.net|.co.id)(\\/)?",1,"form-control","text-start",3,"ngModel","ngModelChange"],["domainAutoFocus","","domain","ngModel"],["for","inputPOSDomain",1,"text-start"],["type","text","name","username","id","inputUsername","placeholder","Username","required","",1,"form-control","text-start",3,"ngModel","ngModelChange"],["for","inputUsername",1,"text-start"],[1,"form-label-group","mb-5","mb-md-2"],["name","something","id","inputPassword","placeholder","Password","required","",1,"form-control","text-start",3,"type","ngModel","ngModelChange"],["passAutoFocus",""],["for","inputPassword",1,"text-start"],["class","passwordIcon fas fa-lg",3,"ngClass","click",4,"ngIf"],[1,"row","justify-content-between","align-items-center"],[1,"col-12","col-lg-5","order-first","order-md-last"],["type","submit",1,"btn","btn-lg","btn-primary","btn-login","font125rem","robotoslab",3,"click"],[1,"col-12","d-block","d-md-none","text-center"],[1,"pt-1rem","me-3"],["target","_blank","href","https://www.dealpos.com"],["src","https://res.cloudinary.com/pos/image/upload/POS/Images/Login/dealpos.png","alt","dealpos-logo",1,"img-fluid"],[1,"pt-1rem","fst-italic"],[1,"mx-5","pb-5","mb-5","d-none","d-md-block"],[1,"col-auto","d-inline-flex"],[1,"col-auto"],["href","https://changelog.dealpos.com/?categories=cat_GkdUyaD9rSSIk&view=complete","target","_blank",1,"pt-1rem","fst-italic"],[1,"passwordIcon","fas","fa-lg",3,"ngClass","click"]],template:function(a,p){1&a&&(y.TgZ(0,"div",0)(1,"div",1)(2,"div",2)(3,"h1",3),y._uU(4,"DealPOS - Tools"),y.qZA(),y._UZ(5,"img",4),y.qZA(),y.TgZ(6,"div",5)(7,"h1",6),y._uU(8,"DealPOS Web Tools"),y.qZA(),y.TgZ(9,"div",7)(10,"div",8)(11,"div",9)(12,"h2",10),y._uU(13,"Sign in"),y.qZA()(),y.TgZ(14,"form",11)(15,"div",12)(16,"input",13,14),y.NdJ("ngModelChange",function(R){return p.posDomain=R}),y.qZA(),y.TgZ(19,"label",15),y._uU(20,"POS Domain (xyz.dealpos.com)"),y.qZA()(),y.TgZ(21,"div",12)(22,"input",16),y.NdJ("ngModelChange",function(R){return p.username=R}),y.qZA(),y.TgZ(23,"label",17),y._uU(24,"Username"),y.qZA()(),y.TgZ(25,"div",18)(26,"input",19,20),y.NdJ("ngModelChange",function(R){return p.password=R}),y.qZA(),y.TgZ(28,"label",21),y._uU(29,"Password"),y.qZA(),y.YNc(30,Me,1,4,"i",22),y.qZA(),y.TgZ(31,"div",23)(32,"div",24)(33,"button",25),y.NdJ("click",function(){return p.login()}),y._uU(34,"Log in"),y.qZA()()()()()()(),y.TgZ(35,"div",26)(36,"p",27),y._uU(37,"Powered by : "),y.qZA(),y.TgZ(38,"a",28),y._UZ(39,"img",29),y.qZA(),y.TgZ(40,"a")(41,"p",30),y._uU(42,"Version 2.0.7"),y.qZA()()()()(),y.TgZ(43,"footer",31)(44,"div",23)(45,"div",32)(46,"p",27),y._uU(47,"Powered by : "),y.qZA(),y.TgZ(48,"a",28),y._UZ(49,"img",29),y.qZA()(),y.TgZ(50,"div",33)(51,"a",34),y._uU(52,"Version 2.0.7"),y.qZA()()()()),2&a&&(y.xp6(16),y.Q6J("ngModel",p.posDomain),y.xp6(6),y.Q6J("ngModel",p.username),y.xp6(4),y.Q6J("type",p.passwordType)("ngModel",p.password),y.xp6(4),y.Q6J("ngIf",""!=p.password))},dependencies:[ve.mk,ve.O5,Ee._Y,Ee.Fj,Ee.JJ,Ee.JL,Ee.Q7,Ee.c5,Ee.On,Ee.F],styles:[".container[_ngcontent-%COMP%]{position:absolute;max-width:100%}.passwordIcon[_ngcontent-%COMP%]{top:1.5rem;right:.5rem;position:absolute;margin:0 auto!important;cursor:pointer}.big-display[_ngcontent-%COMP%]{font-size:2rem;font-weight:300;line-height:1.2}@media (min-width: 768px){.container[_ngcontent-%COMP%]{max-width:90%;top:50%;left:50%;transform:translate(-50%) translateY(-50%)}.big-display[_ngcontent-%COMP%]{font-size:2.5rem}}@media (min-width: 1200px){.container[_ngcontent-%COMP%]{max-width:70%}.big-display[_ngcontent-%COMP%]{font-size:3rem}}html[_ngcontent-%COMP%], body[_ngcontent-%COMP%]{height:100%}body[_ngcontent-%COMP%]{display:flex;align-items:center;padding-top:40px;padding-bottom:40px}footer[_ngcontent-%COMP%]{position:absolute;bottom:0;width:90%;left:3rem}.pt-1rem[_ngcontent-%COMP%]{padding-top:1rem}.form-label-group[_ngcontent-%COMP%] > label[_ngcontent-%COMP%]{color:#666}.font-xl[_ngcontent-%COMP%]{font-size:x-large}.font125rem[_ngcontent-%COMP%]{font-size:1.25rem}.robotoslab[_ngcontent-%COMP%]{font-family:Roboto Slab}.btn-login[_ngcontent-%COMP%]{width:145px}"]}),_})(),pathMatch:"full"},{path:"menu",loadChildren:()=>S.e(642).then(S.bind(S,1642)).then(_=>_.MenuModule)},{path:"**",redirectTo:"",pathMatch:"full"}];let De=(()=>{class _{}return _.\u0275fac=function(a){return new(a||_)},_.\u0275mod=y.oAB({type:_}),_.\u0275inj=y.cJS({imports:[ne.Bz.forRoot(Ct,{relativeLinkResolution:"legacy"}),ne.Bz]}),_})();var W=S(4707);function Se(_,s){return(a,p)=>!_.call(s,a,p)}var qe=S(9300),Ne=S(8421),ke=S(6451),Q=S(2805),ee=S(8746),ge=S(3900),ae=S(4482),He=S(5032),Le=S(5403);function gt(_){return(0,ae.e)((s,a)=>{let p=!1,T=null,R=null;const B=()=>{if(R?.unsubscribe(),R=null,p){p=!1;const H=T;T=null,a.next(H)}};s.subscribe((0,Le.x)(a,H=>{R?.unsubscribe(),p=!0,T=H,R=(0,Le.x)(a,B,He.Z),(0,Ne.Xf)(_(H)).subscribe(R)},()=>{B(),a.complete()},void 0,()=>{T=R=null}))})}var Xe=S(1884),It=S(8505),Ge=S(529);function Bt(_,s){1&_&&y.GkF(0)}function Pe(_,s){if(1&_&&y._UZ(0,"sk-cube-grid",4),2&_){const a=y.oxw(2);y.Q6J("backgroundColor",a.backgroundColor)}}function Oe(_,s){if(1&_&&y._UZ(0,"sk-chasing-dots",4),2&_){const a=y.oxw(2);y.Q6J("backgroundColor",a.backgroundColor)}}function K(_,s){if(1&_&&y._UZ(0,"sk-double-bounce",4),2&_){const a=y.oxw(2);y.Q6J("backgroundColor",a.backgroundColor)}}function me(_,s){if(1&_&&y._UZ(0,"sk-rotating-plane",4),2&_){const a=y.oxw(2);y.Q6J("backgroundColor",a.backgroundColor)}}function Be(_,s){if(1&_&&y._UZ(0,"sk-spinner-pulse",4),2&_){const a=y.oxw(2);y.Q6J("backgroundColor",a.backgroundColor)}}function Et(_,s){if(1&_&&y._UZ(0,"sk-three-bounce",4),2&_){const a=y.oxw(2);y.Q6J("backgroundColor",a.backgroundColor)}}function Cn(_,s){if(1&_&&y._UZ(0,"sk-wandering-cubes",4),2&_){const a=y.oxw(2);y.Q6J("backgroundColor",a.backgroundColor)}}function dt(_,s){if(1&_&&y._UZ(0,"sk-wave",4),2&_){const a=y.oxw(2);y.Q6J("backgroundColor",a.backgroundColor)}}const ur=function(_){return{"background-color":_}};function bn(_,s){if(1&_&&(y.TgZ(0,"div",1),y.YNc(1,Bt,1,0,"ng-container",2),y.YNc(2,Pe,1,1,"sk-cube-grid",3),y.YNc(3,Oe,1,1,"sk-chasing-dots",3),y.YNc(4,K,1,1,"sk-double-bounce",3),y.YNc(5,me,1,1,"sk-rotating-plane",3),y.YNc(6,Be,1,1,"sk-spinner-pulse",3),y.YNc(7,Et,1,1,"sk-three-bounce",3),y.YNc(8,Cn,1,1,"sk-wandering-cubes",3),y.YNc(9,dt,1,1,"sk-wave",3),y.qZA()),2&_){const a=y.oxw();y.Udp("opacity",a.opacity),y.ekj("backdrop",a.backdrop),y.Q6J("ngStyle",y.VKq(14,ur,a.backdrop?a.backdropBackgroundColor:"transparent")),y.xp6(1),y.Q6J("ngComponentOutlet",a.entryComponent),y.xp6(1),y.Q6J("ngIf",a.spinner===a.spinkit.skCubeGrid),y.xp6(1),y.Q6J("ngIf",a.spinner===a.spinkit.skChasingDots),y.xp6(1),y.Q6J("ngIf",a.spinner===a.spinkit.skDoubleBounce),y.xp6(1),y.Q6J("ngIf",a.spinner===a.spinkit.skRotatingPlane),y.xp6(1),y.Q6J("ngIf",a.spinner===a.spinkit.skSpinnerPulse),y.xp6(1),y.Q6J("ngIf",a.spinner===a.spinkit.skThreeBounce),y.xp6(1),y.Q6J("ngIf",a.spinner===a.spinkit.skWanderingCubes),y.xp6(1),y.Q6J("ngIf",a.spinner===a.spinkit.skWave)}}let Yt=(()=>{class _{}return _.\u0275fac=function(a){return new(a||_)},_.\u0275dir=y.lG2({type:_,inputs:{backgroundColor:"backgroundColor"}}),_})(),En=(()=>{class _ extends Yt{}return _.\u0275fac=function(){let s;return function(p){return(s||(s=y.n5z(_)))(p||_)}}(),_.\u0275cmp=y.Xpm({type:_,selectors:[["sk-chasing-dots"]],features:[y.qOj],decls:3,vars:6,consts:[[1,"sk-chasing-dots"],[1,"sk-child","sk-dot1"],[1,"sk-child","sk-dot2"]],template:function(a,p){1&a&&(y.TgZ(0,"div",0),y._UZ(1,"div",1)(2,"div",2),y.qZA()),2&a&&(y.ekj("colored",!p.backgroundColor),y.xp6(1),y.Udp("background-color",p.backgroundColor),y.xp6(1),y.Udp("background-color",p.backgroundColor))},styles:[".sk-chasing-dots[_ngcontent-%COMP%]{top:50%;margin:auto;width:40px;height:40px;position:relative;text-align:center;animation:sk-chasingDotsRotate 2s infinite linear}.sk-chasing-dots[_ngcontent-%COMP%] .sk-child[_ngcontent-%COMP%]{width:60%;height:60%;display:inline-block;position:absolute;top:0;border-radius:100%;animation:sk-chasingDotsBounce 2s infinite ease-in-out}.sk-chasing-dots[_ngcontent-%COMP%] .sk-dot2[_ngcontent-%COMP%]{top:auto;bottom:0;animation-delay:-1s}@keyframes sk-chasingDotsRotate{to{transform:rotate(360deg)}}@keyframes sk-chasingDotsBounce{0%,to{transform:scale(0)}50%{transform:scale(1)}}"]}),_})(),Xt=(()=>{class _ extends Yt{}return _.\u0275fac=function(){let s;return function(p){return(s||(s=y.n5z(_)))(p||_)}}(),_.\u0275cmp=y.Xpm({type:_,selectors:[["sk-cube-grid"]],features:[y.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(a,p){1&a&&(y.TgZ(0,"div",0),y._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),y.qZA()),2&a&&(y.ekj("colored",!p.backgroundColor),y.xp6(1),y.Udp("background-color",p.backgroundColor),y.xp6(1),y.Udp("background-color",p.backgroundColor),y.xp6(1),y.Udp("background-color",p.backgroundColor),y.xp6(1),y.Udp("background-color",p.backgroundColor),y.xp6(1),y.Udp("background-color",p.backgroundColor),y.xp6(1),y.Udp("background-color",p.backgroundColor),y.xp6(1),y.Udp("background-color",p.backgroundColor),y.xp6(1),y.Udp("background-color",p.backgroundColor),y.xp6(1),y.Udp("background-color",p.backgroundColor))},styles:[".sk-cube-grid[_ngcontent-%COMP%]{position:relative;top:50%;width:40px;height:40px;margin:auto}.sk-cube-grid[_ngcontent-%COMP%] .sk-cube[_ngcontent-%COMP%]{width:33.33%;height:33.33%;float:left;animation:sk-cubeGridScaleDelay 1.3s infinite ease-in-out}.sk-cube-grid[_ngcontent-%COMP%] .sk-cube1[_ngcontent-%COMP%]{animation-delay:.2s}.sk-cube-grid[_ngcontent-%COMP%] .sk-cube2[_ngcontent-%COMP%]{animation-delay:.3s}.sk-cube-grid[_ngcontent-%COMP%] .sk-cube3[_ngcontent-%COMP%]{animation-delay:.4s}.sk-cube-grid[_ngcontent-%COMP%] .sk-cube4[_ngcontent-%COMP%]{animation-delay:.1s}.sk-cube-grid[_ngcontent-%COMP%] .sk-cube5[_ngcontent-%COMP%]{animation-delay:.2s}.sk-cube-grid[_ngcontent-%COMP%] .sk-cube6[_ngcontent-%COMP%]{animation-delay:.3s}.sk-cube-grid[_ngcontent-%COMP%] .sk-cube7[_ngcontent-%COMP%]{animation-delay:0s}.sk-cube-grid[_ngcontent-%COMP%] .sk-cube8[_ngcontent-%COMP%]{animation-delay:.1s}.sk-cube-grid[_ngcontent-%COMP%] .sk-cube9[_ngcontent-%COMP%]{animation-delay:.2s}@keyframes sk-cubeGridScaleDelay{0%,70%,to{transform:scaleZ(1)}35%{transform:scale3D(0,0,1)}}"]}),_})(),Rn=(()=>{class _ extends Yt{}return _.\u0275fac=function(){let s;return function(p){return(s||(s=y.n5z(_)))(p||_)}}(),_.\u0275cmp=y.Xpm({type:_,selectors:[["sk-double-bounce"]],features:[y.qOj],decls:3,vars:6,consts:[[1,"sk-double-bounce"],[1,"sk-child","sk-double-bounce1"],[1,"sk-child","sk-double-bounce2"]],template:function(a,p){1&a&&(y.TgZ(0,"div",0),y._UZ(1,"div",1)(2,"div",2),y.qZA()),2&a&&(y.ekj("colored",!p.backgroundColor),y.xp6(1),y.Udp("background-color",p.backgroundColor),y.xp6(1),y.Udp("background-color",p.backgroundColor))},styles:[".sk-double-bounce[_ngcontent-%COMP%]{top:50%;width:40px;height:40px;position:relative;margin:auto}.sk-double-bounce[_ngcontent-%COMP%] .sk-child[_ngcontent-%COMP%]{width:100%;height:100%;border-radius:50%;background-color:#333;opacity:.6;position:absolute;top:0;left:0;animation:sk-doubleBounce 2s infinite ease-in-out}.sk-double-bounce[_ngcontent-%COMP%] .sk-double-bounce2[_ngcontent-%COMP%]{animation-delay:-1s}@keyframes sk-doubleBounce{0%,to{transform:scale(0)}50%{transform:scale(1)}}"]}),_})(),it=(()=>{class _ extends Yt{}return _.\u0275fac=function(){let s;return function(p){return(s||(s=y.n5z(_)))(p||_)}}(),_.\u0275cmp=y.Xpm({type:_,selectors:[["sk-rotating-plane"]],features:[y.qOj],decls:1,vars:2,consts:[[1,"sk-rotating-plane","colored-parent"]],template:function(a,p){1&a&&y._UZ(0,"div",0),2&a&&y.Udp("background-color",p.backgroundColor)},styles:[".sk-rotating-plane[_ngcontent-%COMP%]{position:relative;top:50%;width:40px;height:40px;margin:auto;animation:sk-rotatePlane 1.2s infinite ease-in-out}@keyframes sk-rotatePlane{0%{transform:perspective(120px) rotateX(0) rotateY(0)}50%{transform:perspective(120px) rotateX(-180.1deg) rotateY(0)}to{transform:perspective(120px) rotateX(-180deg) rotateY(-179.9deg)}}"]}),_})(),Wt=(()=>{class _ extends Yt{}return _.\u0275fac=function(){let s;return function(p){return(s||(s=y.n5z(_)))(p||_)}}(),_.\u0275cmp=y.Xpm({type:_,selectors:[["sk-spinner-pulse"]],features:[y.qOj],decls:1,vars:2,consts:[[1,"sk-spinner","sk-spinner-pulse","colored-parent"]],template:function(a,p){1&a&&y._UZ(0,"div",0),2&a&&y.Udp("background-color",p.backgroundColor)},styles:[".sk-spinner-pulse[_ngcontent-%COMP%]{position:relative;top:50%;width:40px;height:40px;margin:auto;border-radius:100%;animation:sk-pulseScaleOut 1s infinite ease-in-out}@keyframes sk-pulseScaleOut{0%{transform:scale(0)}to{transform:scale(1);opacity:0}}"]}),_})(),Hn=(()=>{class _ extends Yt{}return _.\u0275fac=function(){let s;return function(p){return(s||(s=y.n5z(_)))(p||_)}}(),_.\u0275cmp=y.Xpm({type:_,selectors:[["sk-three-bounce"]],features:[y.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(a,p){1&a&&(y.TgZ(0,"div",0),y._UZ(1,"div",1)(2,"div",2)(3,"div",3),y.qZA()),2&a&&(y.ekj("colored",!p.backgroundColor),y.xp6(1),y.Udp("background-color",p.backgroundColor),y.xp6(1),y.Udp("background-color",p.backgroundColor),y.xp6(1),y.Udp("background-color",p.backgroundColor))},styles:[".sk-three-bounce[_ngcontent-%COMP%]{top:50%;position:relative;margin:auto;width:80px;text-align:center}.sk-three-bounce[_ngcontent-%COMP%] .sk-child[_ngcontent-%COMP%]{width:20px;height:20px;border-radius:100%;display:inline-block;animation:sk-three-bounce 1.4s ease-in-out 0s infinite both}.sk-three-bounce[_ngcontent-%COMP%] .sk-bounce1[_ngcontent-%COMP%]{animation-delay:-.32s}.sk-three-bounce[_ngcontent-%COMP%] .sk-bounce2[_ngcontent-%COMP%]{animation-delay:-.16s}@keyframes sk-three-bounce{0%,80%,to{transform:scale(0)}40%{transform:scale(1)}}"]}),_})(),vt=(()=>{class _ extends Yt{}return _.\u0275fac=function(){let s;return function(p){return(s||(s=y.n5z(_)))(p||_)}}(),_.\u0275cmp=y.Xpm({type:_,selectors:[["sk-wandering-cubes"]],features:[y.qOj],decls:3,vars:6,consts:[[1,"sk-wandering-cubes"],[1,"sk-cube","sk-cube1"],[1,"sk-cube","sk-cube2"]],template:function(a,p){1&a&&(y.TgZ(0,"div",0),y._UZ(1,"div",1)(2,"div",2),y.qZA()),2&a&&(y.ekj("colored",!p.backgroundColor),y.xp6(1),y.Udp("background-color",p.backgroundColor),y.xp6(1),y.Udp("background-color",p.backgroundColor))},styles:[".sk-wandering-cubes[_ngcontent-%COMP%]{top:50%;margin:auto;width:40px;height:40px;position:relative}.sk-wandering-cubes[_ngcontent-%COMP%] .sk-cube[_ngcontent-%COMP%]{width:10px;height:10px;position:absolute;top:0;left:0;animation:sk-wanderingCube 1.8s ease-in-out -1.8s infinite both}.sk-wandering-cubes[_ngcontent-%COMP%] .sk-cube2[_ngcontent-%COMP%]{animation-delay:-.9s}@keyframes sk-wanderingCube{0%{transform:rotate(0)}25%{transform:translate(30px) rotate(-90deg) scale(.5)}50%{transform:translate(30px) translateY(30px) rotate(-179deg)}50.1%{transform:translate(30px) translateY(30px) rotate(-180deg)}75%{transform:translate(0) translateY(30px) rotate(-270deg) scale(.5)}to{transform:rotate(-360deg)}}"]}),_})(),qt=(()=>{class _ extends Yt{}return _.\u0275fac=function(){let s;return function(p){return(s||(s=y.n5z(_)))(p||_)}}(),_.\u0275cmp=y.Xpm({type:_,selectors:[["sk-wave"]],features:[y.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(a,p){1&a&&(y.TgZ(0,"div",0),y._UZ(1,"div",1)(2,"div",2)(3,"div",3)(4,"div",4)(5,"div",5),y.qZA()),2&a&&(y.ekj("colored",!p.backgroundColor),y.xp6(1),y.Udp("background-color",p.backgroundColor),y.xp6(1),y.Udp("background-color",p.backgroundColor),y.xp6(1),y.Udp("background-color",p.backgroundColor),y.xp6(1),y.Udp("background-color",p.backgroundColor),y.xp6(1),y.Udp("background-color",p.backgroundColor))},styles:[".sk-wave[_ngcontent-%COMP%]{position:relative;top:50%;margin:auto;width:50px;height:40px;text-align:center;font-size:10px}.sk-wave[_ngcontent-%COMP%] .sk-rect[_ngcontent-%COMP%]{float:left;margin-right:1px;height:100%;width:6px;display:inline-block;animation:sk-waveStretchDelay 1.2s infinite ease-in-out}.sk-wave[_ngcontent-%COMP%] .sk-rect1[_ngcontent-%COMP%]{animation-delay:-1.2s}.sk-wave[_ngcontent-%COMP%] .sk-rect2[_ngcontent-%COMP%]{animation-delay:-1.1s}.sk-wave[_ngcontent-%COMP%] .sk-rect3[_ngcontent-%COMP%]{animation-delay:-1s}.sk-wave[_ngcontent-%COMP%] .sk-rect4[_ngcontent-%COMP%]{animation-delay:-.9s}.sk-wave[_ngcontent-%COMP%] .sk-rect5[_ngcontent-%COMP%]{animation-delay:-.8s}@keyframes sk-waveStretchDelay{0%,40%,to{transform:scaleY(.4)}20%{transform:scaleY(1)}}"]}),_})();const Nr={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 dn=(()=>{class _{constructor(){this._pendingRequests=0,this._pendingRequestsStatus$=new W.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(a){this._filteredMethods=a}set filteredHeaders(a){this._filteredHeaders=a}set forceByPass(a){this._forceByPass=a}shouldBypassUrl(a){return this._filteredUrlPatterns.some(p=>p.test(a))}shouldBypassMethod(a){return this._filteredMethods.some(p=>p.toUpperCase()===a.method.toUpperCase())}shouldBypassHeader(a){return this._filteredHeaders.some(p=>a.headers.has(p))}shouldBypass(a){return this._forceByPass||this.shouldBypassUrl(a.urlWithParams)||this.shouldBypassMethod(a)||this.shouldBypassHeader(a)}intercept(a,p){const T=this.shouldBypass(a);return T||(this._pendingRequests++,1===this._pendingRequests&&this._pendingRequestsStatus$.next(!0)),p.handle(a).pipe((0,ee.x)(()=>{T||(this._pendingRequests--,0===this._pendingRequests&&this._pendingRequestsStatus$.next(!1))}))}}return _.\u0275fac=function(a){return new(a||_)},_.\u0275prov=y.Yz7({token:_,factory:_.\u0275fac,providedIn:"root"}),_})();const Ae=[{provide:Ge.TP,useExisting:dn,multi:!0}];let U=(()=>{class _{constructor(a){this.pendingRequestsInterceptor=a,this._visibility$=new W.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 _.\u0275fac=function(a){return new(a||_)(y.LFG(dn))},_.\u0275prov=y.Yz7({token:_,factory:_.\u0275fac,providedIn:"root"}),_})(),L=(()=>{class _{constructor(a,p){this.pendingRequestsInterceptor=a,this.spinnerVisibility=p,this.spinkit=Nr,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=Nr.skWave}ngOnInit(){this.initIsvisibleObservable(),this.nullifySpinnerIfEntryComponentIsDefined(),this.initFilters()}initIsvisibleObservable(){const[a,p]=function Re(_,s,a){return[(0,qe.h)(s,a)((0,Ne.Xf)(_)),(0,qe.h)(Se(s,a))((0,Ne.Xf)(_))]}(this.pendingRequestsInterceptor.pendingRequestsStatus$,T=>T);this.isVisible$=(0,ke.T)(this.pendingRequestsInterceptor.pendingRequestsStatus$.pipe((0,ge.w)(()=>a.pipe(gt(()=>(0,Q.H)(this.debounceDelay))))),a.pipe((0,ge.w)(()=>p.pipe(gt(()=>this.getVisibilityTimer$())))),this.spinnerVisibility.visibility$).pipe((0,Xe.x)(),(0,It.b)(T=>this.updateExpirationDelay(T)))}nullifySpinnerIfEntryComponentIsDefined(){this.entryComponent&&(this.spinner=null)}initFilters(){this.initFilteredUrlPatterns(),this.initFilteredMethods(),this.initFilteredHeaders()}initFilteredUrlPatterns(){this.filteredUrlPatterns.length&&this.filteredUrlPatterns.forEach(a=>this.pendingRequestsInterceptor.filteredUrlPatterns.push(new RegExp(a)))}initFilteredMethods(){this.pendingRequestsInterceptor.filteredMethods=this.filteredMethods}initFilteredHeaders(){this.pendingRequestsInterceptor.filteredHeaders=this.filteredHeaders}updateExpirationDelay(a){a&&(this.visibleUntil=Date.now()+this.minDuration)}getVisibilityTimer$(){return(0,Q.H)(Math.max(this.extraDuration,this.visibleUntil-Date.now()))}}return _.\u0275fac=function(a){return new(a||_)(y.Y36(dn),y.Y36(U))},_.\u0275cmp=y.Xpm({type:_,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(a,p){1&a&&(y.YNc(0,bn,10,16,"div",0),y.ALo(1,"async")),2&a&&y.Q6J("ngIf",y.lcZ(1,1,p.isVisible$))},dependencies:[ve.$G,ve.O5,ve.PC,Xt,En,Rn,it,Wt,Hn,vt,qt,ve.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}"]}),_})(),se=(()=>{class _{static forRoot(){return{ngModule:_,providers:[Ae]}}}return _.\u0275fac=function(a){return new(a||_)},_.\u0275mod=y.oAB({type:_}),_.\u0275inj=y.cJS({imports:[ve.ez]}),_})();var Fe=S(5826),je=S(7340);function Ze(_){return new y.vHH(3e3,!1)}function rn(){return typeof window<"u"&&typeof window.document<"u"}function Xn(){return typeof process<"u"&&"[object process]"==={}.toString.call(process)}function tn(_){switch(_.length){case 0:return new je.ZN;case 1:return _[0];default:return new je.ZE(_)}}function An(_,s,a,p,T=new Map,R=new Map){const B=[],H=[];let re=-1,we=null;if(p.forEach(ze=>{const Je=ze.get("offset"),xt=Je==re,yt=xt&&we||new Map;ze.forEach((mt,At)=>{let ht=At,nn=mt;if("offset"!==At)switch(ht=s.normalizePropertyName(ht,B),nn){case je.k1:nn=T.get(At);break;case je.l3:nn=R.get(At);break;default:nn=s.normalizeStyleValue(At,ht,nn,B)}yt.set(ht,nn)}),xt||H.push(yt),we=yt,re=Je}),B.length)throw function Ut(_){return new y.vHH(3502,!1)}();return H}function er(_,s,a,p){switch(s){case"start":_.onStart(()=>p(a&&Zr(a,"start",_)));break;case"done":_.onDone(()=>p(a&&Zr(a,"done",_)));break;case"destroy":_.onDestroy(()=>p(a&&Zr(a,"destroy",_)))}}function Zr(_,s,a){const R=Vt(_.element,_.triggerName,_.fromState,_.toState,s||_.phaseName,a.totalTime??_.totalTime,!!a.disabled),B=_._data;return null!=B&&(R._data=B),R}function Vt(_,s,a,p,T="",R=0,B){return{element:_,triggerName:s,fromState:a,toState:p,phaseName:T,totalTime:R,disabled:!!B}}function xn(_,s,a){let p=_.get(s);return p||_.set(s,p=a),p}function di(_){const s=_.indexOf(":");return[_.substring(1,s),_.slice(s+1)]}let xr=(_,s)=>!1,Fr=(_,s,a)=>[],yr=null;function tr(_){const s=_.parentNode||_.host;return s===yr?null:s}(Xn()||typeof Element<"u")&&(rn()?(yr=(()=>document.documentElement)(),xr=(_,s)=>{for(;s;){if(s===_)return!0;s=tr(s)}return!1}):xr=(_,s)=>_.contains(s),Fr=(_,s,a)=>{if(a)return Array.from(_.querySelectorAll(s));const p=_.querySelector(s);return p?[p]:[]});let zr=null,mn=!1;const In=xr,gn=Fr;let wo=(()=>{class _{validateStyleProperty(a){return function wn(_){zr||(zr=function _r(){return typeof document<"u"?document.body:null}()||{},mn=!!zr.style&&"WebkitAppearance"in zr.style);let s=!0;return zr.style&&!function ln(_){return"ebkit"==_.substring(1,6)}(_)&&(s=_ in zr.style,!s&&mn&&(s="Webkit"+_.charAt(0).toUpperCase()+_.slice(1)in zr.style)),s}(a)}matchesElement(a,p){return!1}containsElement(a,p){return In(a,p)}getParentElement(a){return tr(a)}query(a,p,T){return gn(a,p,T)}computeStyle(a,p,T){return T||""}animate(a,p,T,R,B,H=[],re){return new je.ZN(T,R)}}return _.\u0275fac=function(a){return new(a||_)},_.\u0275prov=y.Yz7({token:_,factory:_.\u0275fac}),_})(),Jr=(()=>{class _{}return _.NOOP=new wo,_})();const To="ng-enter",Fn="ng-leave",fi="ng-trigger",Ci=".ng-trigger",ki="ng-animating",hi=".ng-animating";function fr(_){if("number"==typeof _)return _;const s=_.match(/^(-?[\.\d]+)(m?s)/);return!s||s.length<2?0:Li(parseFloat(s[1]),s[2])}function Li(_,s){return"s"===s?1e3*_:_}function Wr(_,s,a){return _.hasOwnProperty("duration")?_:function Vi(_,s,a){let T,R=0,B="";if("string"==typeof _){const H=_.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===H)return s.push(Ze()),{duration:0,delay:0,easing:""};T=Li(parseFloat(H[1]),H[2]);const re=H[3];null!=re&&(R=Li(parseFloat(re),H[4]));const we=H[5];we&&(B=we)}else T=_;if(!a){let H=!1,re=s.length;T<0&&(s.push(function lt(){return new y.vHH(3100,!1)}()),H=!0),R<0&&(s.push(function ot(){return new y.vHH(3101,!1)}()),H=!0),H&&s.splice(re,0,Ze())}return{duration:T,delay:R,easing:B}}(_,s,a)}function Xr(_,s={}){return Object.keys(_).forEach(a=>{s[a]=_[a]}),s}function hr(_){const s=new Map;return Object.keys(_).forEach(a=>{s.set(a,_[a])}),s}function Sr(_,s=new Map,a){if(a)for(let[p,T]of a)s.set(p,T);for(let[p,T]of _)s.set(p,T);return s}function Bi(_,s,a){return a?s+":"+a+";":""}function Dr(_){let s="";for(let a=0;a<_.style.length;a++){const p=_.style.item(a);s+=Bi(0,p,_.style.getPropertyValue(p))}for(const a in _.style)_.style.hasOwnProperty(a)&&!a.startsWith("_")&&(s+=Bi(0,Hi(a),_.style[a]));_.setAttribute("style",s)}function yn(_,s,a){_.style&&(s.forEach((p,T)=>{const R=Ar(T);a&&!a.has(T)&&a.set(T,_.style[R]),_.style[R]=p}),Xn()&&Dr(_))}function Cr(_,s){_.style&&(s.forEach((a,p)=>{const T=Ar(p);_.style[T]=""}),Xn()&&Dr(_))}function nr(_){return Array.isArray(_)?1==_.length?_[0]:(0,je.vP)(_):_}const ei=new RegExp("{{\\s*(.+?)\\s*}}","g");function ti(_){let s=[];if("string"==typeof _){let a;for(;a=ei.exec(_);)s.push(a[1]);ei.lastIndex=0}return s}function Er(_,s,a){const p=_.toString(),T=p.replace(ei,(R,B)=>{let H=s[B];return null==H&&(a.push(function Un(_){return new y.vHH(3003,!1)}()),H=""),H.toString()});return T==p?_:T}function rr(_){const s=[];let a=_.next();for(;!a.done;)s.push(a.value),a=_.next();return s}const Ei=/-+([a-z0-9])/g;function Ar(_){return _.replace(Ei,(...s)=>s[1].toUpperCase())}function Hi(_){return _.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function Pn(_,s,a){switch(s.type){case 7:return _.visitTrigger(s,a);case 0:return _.visitState(s,a);case 1:return _.visitTransition(s,a);case 2:return _.visitSequence(s,a);case 3:return _.visitGroup(s,a);case 4:return _.visitAnimate(s,a);case 5:return _.visitKeyframes(s,a);case 6:return _.visitStyle(s,a);case 8:return _.visitReference(s,a);case 9:return _.visitAnimateChild(s,a);case 10:return _.visitAnimateRef(s,a);case 11:return _.visitQuery(s,a);case 12:return _.visitStagger(s,a);default:throw function ft(_){return new y.vHH(3004,!1)}()}}function Lr(_,s){return window.getComputedStyle(_)[s]}function ri(_,s){const a=[];return"string"==typeof _?_.split(/\s*,\s*/).forEach(p=>function jn(_,s,a){if(":"==_[0]){const re=function $n(_,s){switch(_){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(a,p)=>parseFloat(p)>parseFloat(a);case":decrement":return(a,p)=>parseFloat(p)<parseFloat(a);default:return s.push(function Sn(_){return new y.vHH(3016,!1)}()),"* => *"}}(_,a);if("function"==typeof re)return void s.push(re);_=re}const p=_.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==p||p.length<4)return a.push(function hn(_){return new y.vHH(3015,!1)}()),s;const T=p[1],R=p[2],B=p[3];s.push(w(T,B));"<"==R[0]&&!("*"==T&&"*"==B)&&s.push(w(B,T))}(p,a,s)):a.push(_),a}const E=new Set(["true","1"]),O=new Set(["false","0"]);function w(_,s){const a=E.has(_)||O.has(_),p=E.has(s)||O.has(s);return(T,R)=>{let B="*"==_||_==T,H="*"==s||s==R;return!B&&a&&"boolean"==typeof T&&(B=T?E.has(_):O.has(_)),!H&&p&&"boolean"==typeof R&&(H=R?E.has(s):O.has(s)),B&&H}}const N=":self",G=new RegExp(`s*${N}s*,?`,"g");function ye(_,s,a,p){return new et(_).build(s,a,p)}class et{constructor(s){this._driver=s}build(s,a,p){const T=new zt(a);return this._resetContextStyleTimingState(T),Pn(this,nr(s),T)}_resetContextStyleTimingState(s){s.currentQuerySelector="",s.collectedStyles=new Map,s.collectedStyles.set("",new Map),s.currentTime=0}visitTrigger(s,a){let p=a.queryCount=0,T=a.depCount=0;const R=[],B=[];return"@"==s.name.charAt(0)&&a.errors.push(function Gt(){return new y.vHH(3006,!1)}()),s.definitions.forEach(H=>{if(this._resetContextStyleTimingState(a),0==H.type){const re=H,we=re.name;we.toString().split(/\s*,\s*/).forEach(ze=>{re.name=ze,R.push(this.visitState(re,a))}),re.name=we}else if(1==H.type){const re=this.visitTransition(H,a);p+=re.queryCount,T+=re.depCount,B.push(re)}else a.errors.push(function Mn(){return new y.vHH(3007,!1)}())}),{type:7,name:s.name,states:R,transitions:B,queryCount:p,depCount:T,options:null}}visitState(s,a){const p=this.visitStyle(s.styles,a),T=s.options&&s.options.params||null;if(p.containsDynamicStyles){const R=new Set,B=T||{};p.styles.forEach(H=>{H instanceof Map&&H.forEach(re=>{ti(re).forEach(we=>{B.hasOwnProperty(we)||R.add(we)})})}),R.size&&(rr(R.values()),a.errors.push(function br(_,s){return new y.vHH(3008,!1)}()))}return{type:0,name:s.name,style:p,options:T?{params:T}:null}}visitTransition(s,a){a.queryCount=0,a.depCount=0;const p=Pn(this,nr(s.animation),a);return{type:1,matchers:ri(s.expr,a.errors),animation:p,queryCount:a.queryCount,depCount:a.depCount,options:Ht(s.options)}}visitSequence(s,a){return{type:2,steps:s.steps.map(p=>Pn(this,p,a)),options:Ht(s.options)}}visitGroup(s,a){const p=a.currentTime;let T=0;const R=s.steps.map(B=>{a.currentTime=p;const H=Pn(this,B,a);return T=Math.max(T,a.currentTime),H});return a.currentTime=T,{type:3,steps:R,options:Ht(s.options)}}visitAnimate(s,a){const p=function un(_,s){if(_.hasOwnProperty("duration"))return _;if("number"==typeof _)return Zt(Wr(_,s).duration,0,"");const a=_;if(a.split(/\s+/).some(R=>"{"==R.charAt(0)&&"{"==R.charAt(1))){const R=Zt(0,0,"");return R.dynamic=!0,R.strValue=a,R}const T=Wr(a,s);return Zt(T.duration,T.delay,T.easing)}(s.timings,a.errors);a.currentAnimateTimings=p;let T,R=s.styles?s.styles:(0,je.oB)({});if(5==R.type)T=this.visitKeyframes(R,a);else{let B=s.styles,H=!1;if(!B){H=!0;const we={};p.easing&&(we.easing=p.easing),B=(0,je.oB)(we)}a.currentTime+=p.duration+p.delay;const re=this.visitStyle(B,a);re.isEmptyStep=H,T=re}return a.currentAnimateTimings=null,{type:4,timings:p,style:T,options:null}}visitStyle(s,a){const p=this._makeStyleAst(s,a);return this._validateStyleAst(p,a),p}_makeStyleAst(s,a){const p=[],T=Array.isArray(s.styles)?s.styles:[s.styles];for(let H of T)"string"==typeof H?H===je.l3?p.push(H):a.errors.push(new y.vHH(3002,!1)):p.push(hr(H));let R=!1,B=null;return p.forEach(H=>{if(H instanceof Map&&(H.has("easing")&&(B=H.get("easing"),H.delete("easing")),!R))for(let re of H.values())if(re.toString().indexOf("{{")>=0){R=!0;break}}),{type:6,styles:p,easing:B,offset:s.offset,containsDynamicStyles:R,options:null}}_validateStyleAst(s,a){const p=a.currentAnimateTimings;let T=a.currentTime,R=a.currentTime;p&&R>0&&(R-=p.duration+p.delay),s.styles.forEach(B=>{"string"!=typeof B&&B.forEach((H,re)=>{const we=a.collectedStyles.get(a.currentQuerySelector),ze=we.get(re);let Je=!0;ze&&(R!=T&&R>=ze.startTime&&T<=ze.endTime&&(a.errors.push(function Zn(_,s,a,p,T){return new y.vHH(3010,!1)}()),Je=!1),R=ze.startTime),Je&&we.set(re,{startTime:R,endTime:T}),a.options&&function kr(_,s,a){const p=s.params||{},T=ti(_);T.length&&T.forEach(R=>{p.hasOwnProperty(R)||a.push(function Nt(_){return new y.vHH(3001,!1)}())})}(H,a.options,a.errors)})})}visitKeyframes(s,a){const p={type:5,styles:[],options:null};if(!a.currentAnimateTimings)return a.errors.push(function Tn(){return new y.vHH(3011,!1)}()),p;let R=0;const B=[];let H=!1,re=!1,we=0;const ze=s.steps.map(nn=>{const Vn=this._makeStyleAst(nn,a);let Kn=null!=Vn.offset?Vn.offset:function kt(_){if("string"==typeof _)return null;let s=null;if(Array.isArray(_))_.forEach(a=>{if(a instanceof Map&&a.has("offset")){const p=a;s=parseFloat(p.get("offset")),p.delete("offset")}});else if(_ instanceof Map&&_.has("offset")){const a=_;s=parseFloat(a.get("offset")),a.delete("offset")}return s}(Vn.styles),Yn=0;return null!=Kn&&(R++,Yn=Vn.offset=Kn),re=re||Yn<0||Yn>1,H=H||Yn<we,we=Yn,B.push(Yn),Vn});re&&a.errors.push(function mr(){return new y.vHH(3012,!1)}()),H&&a.errors.push(function cr(){return new y.vHH(3200,!1)}());const Je=s.steps.length;let xt=0;R>0&&R<Je?a.errors.push(function Jn(){return new y.vHH(3202,!1)}()):0==R&&(xt=1/(Je-1));const yt=Je-1,mt=a.currentTime,At=a.currentAnimateTimings,ht=At.duration;return ze.forEach((nn,Vn)=>{const Kn=xt>0?Vn==yt?1:xt*Vn:B[Vn],Yn=Kn*ht;a.currentTime=mt+At.delay+Yn,At.duration=Yn,this._validateStyleAst(nn,a),nn.offset=Kn,p.styles.push(nn)}),p}visitReference(s,a){return{type:8,animation:Pn(this,nr(s.animation),a),options:Ht(s.options)}}visitAnimateChild(s,a){return a.depCount++,{type:9,options:Ht(s.options)}}visitAnimateRef(s,a){return{type:10,animation:this.visitReference(s.animation,a),options:Ht(s.options)}}visitQuery(s,a){const p=a.currentQuerySelector,T=s.options||{};a.queryCount++,a.currentQuery=s;const[R,B]=function Rt(_){const s=!!_.split(/\s*,\s*/).find(a=>a==N);return s&&(_=_.replace(G,"")),_=_.replace(/@\*/g,Ci).replace(/@\w+/g,a=>Ci+"-"+a.slice(1)).replace(/:animating/g,hi),[_,s]}(s.selector);a.currentQuerySelector=p.length?p+" "+R:R,xn(a.collectedStyles,a.currentQuerySelector,new Map);const H=Pn(this,nr(s.animation),a);return a.currentQuery=null,a.currentQuerySelector=p,{type:11,selector:R,limit:T.limit||0,optional:!!T.optional,includeSelf:B,animation:H,originalSelector:s.selector,options:Ht(s.options)}}visitStagger(s,a){a.currentQuery||a.errors.push(function Ft(){return new y.vHH(3013,!1)}());const p="full"===s.timings?{duration:0,delay:0,easing:"full"}:Wr(s.timings,a.errors,!0);return{type:12,animation:Pn(this,nr(s.animation),a),timings:p,options:null}}}class zt{constructor(s){this.errors=s,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(_){return _?(_=Xr(_)).params&&(_.params=function Kt(_){return _?Xr(_):null}(_.params)):_={},_}function Zt(_,s,a){return{duration:_,delay:s,easing:a}}function Ie(_,s,a,p,T,R,B=null,H=!1){return{type:1,element:_,keyframes:s,preStyleProps:a,postStyleProps:p,duration:T,delay:R,totalTime:T+R,easing:B,subTimeline:H}}class St{constructor(){this._map=new Map}get(s){return this._map.get(s)||[]}append(s,a){let p=this._map.get(s);p||this._map.set(s,p=[]),p.push(...a)}has(s){return this._map.has(s)}clear(){this._map.clear()}}const sn=new RegExp(":enter","g"),pr=new RegExp(":leave","g");function Ln(_,s,a,p,T,R=new Map,B=new Map,H,re,we=[]){return(new So).buildKeyframes(_,s,a,p,T,R,B,H,re,we)}class So{buildKeyframes(s,a,p,T,R,B,H,re,we,ze=[]){we=we||new St;const Je=new Go(s,a,we,T,R,ze,[]);Je.options=re;const xt=re.delay?fr(re.delay):0;Je.currentTimeline.delayNextStep(xt),Je.currentTimeline.setStyles([B],null,Je.errors,re),Pn(this,p,Je);const yt=Je.timelines.filter(mt=>mt.containsAnimation());if(yt.length&&H.size){let mt;for(let At=yt.length-1;At>=0;At--){const ht=yt[At];if(ht.element===a){mt=ht;break}}mt&&!mt.allowOnlyTimelineStyles()&&mt.setStyles([H],null,Je.errors,re)}return yt.length?yt.map(mt=>mt.buildKeyframes()):[Ie(a,[],[],[],0,xt,"",!1)]}visitTrigger(s,a){}visitState(s,a){}visitTransition(s,a){}visitAnimateChild(s,a){const p=a.subInstructions.get(a.element);if(p){const T=a.createSubContext(s.options),R=a.currentTimeline.currentTime,B=this._visitSubInstructions(p,T,T.options);R!=B&&a.transformIntoNewTimeline(B)}a.previousNode=s}visitAnimateRef(s,a){const p=a.createSubContext(s.options);p.transformIntoNewTimeline(),this.visitReference(s.animation,p),a.transformIntoNewTimeline(p.currentTimeline.currentTime),a.previousNode=s}_visitSubInstructions(s,a,p){let R=a.currentTimeline.currentTime;const B=null!=p.duration?fr(p.duration):null,H=null!=p.delay?fr(p.delay):null;return 0!==B&&s.forEach(re=>{const we=a.appendInstructionToTimeline(re,B,H);R=Math.max(R,we.duration+we.delay)}),R}visitReference(s,a){a.updateOptions(s.options,!0),Pn(this,s.animation,a),a.previousNode=s}visitSequence(s,a){const p=a.subContextCount;let T=a;const R=s.options;if(R&&(R.params||R.delay)&&(T=a.createSubContext(R),T.transformIntoNewTimeline(),null!=R.delay)){6==T.previousNode.type&&(T.currentTimeline.snapshotCurrentStyles(),T.previousNode=bi);const B=fr(R.delay);T.delayNextStep(B)}s.steps.length&&(s.steps.forEach(B=>Pn(this,B,T)),T.currentTimeline.applyStylesToKeyframe(),T.subContextCount>p&&T.transformIntoNewTimeline()),a.previousNode=s}visitGroup(s,a){const p=[];let T=a.currentTimeline.currentTime;const R=s.options&&s.options.delay?fr(s.options.delay):0;s.steps.forEach(B=>{const H=a.createSubContext(s.options);R&&H.delayNextStep(R),Pn(this,B,H),T=Math.max(T,H.currentTimeline.currentTime),p.push(H.currentTimeline)}),p.forEach(B=>a.currentTimeline.mergeTimelineCollectedStyles(B)),a.transformIntoNewTimeline(T),a.previousNode=s}_visitTiming(s,a){if(s.dynamic){const p=s.strValue;return Wr(a.params?Er(p,a.params,a.errors):p,a.errors)}return{duration:s.duration,delay:s.delay,easing:s.easing}}visitAnimate(s,a){const p=a.currentAnimateTimings=this._visitTiming(s.timings,a),T=a.currentTimeline;p.delay&&(a.incrementTime(p.delay),T.snapshotCurrentStyles());const R=s.style;5==R.type?this.visitKeyframes(R,a):(a.incrementTime(p.duration),this.visitStyle(R,a),T.applyStylesToKeyframe()),a.currentAnimateTimings=null,a.previousNode=s}visitStyle(s,a){const p=a.currentTimeline,T=a.currentAnimateTimings;!T&&p.hasCurrentStyleProperties()&&p.forwardFrame();const R=T&&T.easing||s.easing;s.isEmptyStep?p.applyEmptyStep(R):p.setStyles(s.styles,R,a.errors,a.options),a.previousNode=s}visitKeyframes(s,a){const p=a.currentAnimateTimings,T=a.currentTimeline.duration,R=p.duration,H=a.createSubContext().currentTimeline;H.easing=p.easing,s.styles.forEach(re=>{H.forwardTime((re.offset||0)*R),H.setStyles(re.styles,re.easing,a.errors,a.options),H.applyStylesToKeyframe()}),a.currentTimeline.mergeTimelineCollectedStyles(H),a.transformIntoNewTimeline(T+R),a.previousNode=s}visitQuery(s,a){const p=a.currentTimeline.currentTime,T=s.options||{},R=T.delay?fr(T.delay):0;R&&(6===a.previousNode.type||0==p&&a.currentTimeline.hasCurrentStyleProperties())&&(a.currentTimeline.snapshotCurrentStyles(),a.previousNode=bi);let B=p;const H=a.invokeQuery(s.selector,s.originalSelector,s.limit,s.includeSelf,!!T.optional,a.errors);a.currentQueryTotal=H.length;let re=null;H.forEach((we,ze)=>{a.currentQueryIndex=ze;const Je=a.createSubContext(s.options,we);R&&Je.delayNextStep(R),we===a.element&&(re=Je.currentTimeline),Pn(this,s.animation,Je),Je.currentTimeline.applyStylesToKeyframe(),B=Math.max(B,Je.currentTimeline.currentTime)}),a.currentQueryIndex=0,a.currentQueryTotal=0,a.transformIntoNewTimeline(B),re&&(a.currentTimeline.mergeTimelineCollectedStyles(re),a.currentTimeline.snapshotCurrentStyles()),a.previousNode=s}visitStagger(s,a){const p=a.parentContext,T=a.currentTimeline,R=s.timings,B=Math.abs(R.duration),H=B*(a.currentQueryTotal-1);let re=B*a.currentQueryIndex;switch(R.duration<0?"reverse":R.easing){case"reverse":re=H-re;break;case"full":re=p.currentStaggerTime}const ze=a.currentTimeline;re&&ze.delayNextStep(re);const Je=ze.currentTime;Pn(this,s.animation,a),a.previousNode=s,p.currentStaggerTime=T.currentTime-Je+(T.startTime-p.currentTimeline.startTime)}}const bi={};class Go{constructor(s,a,p,T,R,B,H,re){this._driver=s,this.element=a,this.subInstructions=p,this._enterClassName=T,this._leaveClassName=R,this.errors=B,this.timelines=H,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=bi,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=re||new ao(this._driver,a,0),H.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(s,a){if(!s)return;const p=s;let T=this.options;null!=p.duration&&(T.duration=fr(p.duration)),null!=p.delay&&(T.delay=fr(p.delay));const R=p.params;if(R){let B=T.params;B||(B=this.options.params={}),Object.keys(R).forEach(H=>{(!a||!B.hasOwnProperty(H))&&(B[H]=Er(R[H],B,this.errors))})}}_copyOptions(){const s={};if(this.options){const a=this.options.params;if(a){const p=s.params={};Object.keys(a).forEach(T=>{p[T]=a[T]})}}return s}createSubContext(s=null,a,p){const T=a||this.element,R=new Go(this._driver,T,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(T,p||0));return R.previousNode=this.previousNode,R.currentAnimateTimings=this.currentAnimateTimings,R.options=this._copyOptions(),R.updateOptions(s),R.currentQueryIndex=this.currentQueryIndex,R.currentQueryTotal=this.currentQueryTotal,R.parentContext=this,this.subContextCount++,R}transformIntoNewTimeline(s){return this.previousNode=bi,this.currentTimeline=this.currentTimeline.fork(this.element,s),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(s,a,p){const T={duration:a??s.duration,delay:this.currentTimeline.currentTime+(p??0)+s.delay,easing:""},R=new Zs(this._driver,s.element,s.keyframes,s.preStyleProps,s.postStyleProps,T,s.stretchStartingKeyframe);return this.timelines.push(R),T}incrementTime(s){this.currentTimeline.forwardTime(this.currentTimeline.duration+s)}delayNextStep(s){s>0&&this.currentTimeline.delayNextStep(s)}invokeQuery(s,a,p,T,R,B){let H=[];if(T&&H.push(this.element),s.length>0){s=(s=s.replace(sn,"."+this._enterClassName)).replace(pr,"."+this._leaveClassName);let we=this._driver.query(this.element,s,1!=p);0!==p&&(we=p<0?we.slice(we.length+p,we.length):we.slice(0,p)),H.push(...we)}return!R&&0==H.length&&B.push(function fn(_){return new y.vHH(3014,!1)}()),H}}class ao{constructor(s,a,p,T){this._driver=s,this.element=a,this.startTime=p,this._elementTimelineStylesLookup=T,this.duration=0,this._previousKeyframe=new Map,this._currentKeyframe=new Map,this._keyframes=new Map,this._styleSummary=new Map,this._localTimelineStyles=new Map,this._pendingStyles=new Map,this._backFill=new Map,this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(a),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(a,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(s){const a=1===this._keyframes.size&&this._pendingStyles.size;this.duration||a?(this.forwardTime(this.currentTime+s),a&&this.snapshotCurrentStyles()):this.startTime+=s}fork(s,a){return this.applyStylesToKeyframe(),new ao(this._driver,s,a||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(s){this.applyStylesToKeyframe(),this.duration=s,this._loadKeyframe()}_updateStyle(s,a){this._localTimelineStyles.set(s,a),this._globalTimelineStyles.set(s,a),this._styleSummary.set(s,{time:this.currentTime,value:a})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(s){s&&this._previousKeyframe.set("easing",s);for(let[a,p]of this._globalTimelineStyles)this._backFill.set(a,p||je.l3),this._currentKeyframe.set(a,je.l3);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(s,a,p,T){a&&this._previousKeyframe.set("easing",a);const R=T&&T.params||{},B=function b(_,s){const a=new Map;let p;return _.forEach(T=>{if("*"===T){p=p||s.keys();for(let R of p)a.set(R,je.l3)}else Sr(T,a)}),a}(s,this._globalTimelineStyles);for(let[H,re]of B){const we=Er(re,R,p);this._pendingStyles.set(H,we),this._localTimelineStyles.has(H)||this._backFill.set(H,this._globalTimelineStyles.get(H)??je.l3),this._updateStyle(H,we)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach((s,a)=>{this._currentKeyframe.set(a,s)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((s,a)=>{this._currentKeyframe.has(a)||this._currentKeyframe.set(a,s)}))}snapshotCurrentStyles(){for(let[s,a]of this._localTimelineStyles)this._pendingStyles.set(s,a),this._updateStyle(s,a)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const s=[];for(let a in this._currentKeyframe)s.push(a);return s}mergeTimelineCollectedStyles(s){s._styleSummary.forEach((a,p)=>{const T=this._styleSummary.get(p);(!T||a.time>T.time)&&this._updateStyle(p,a.value)})}buildKeyframes(){this.applyStylesToKeyframe();const s=new Set,a=new Set,p=1===this._keyframes.size&&0===this.duration;let T=[];this._keyframes.forEach((H,re)=>{const we=Sr(H,new Map,this._backFill);we.forEach((ze,Je)=>{ze===je.k1?s.add(Je):ze===je.l3&&a.add(Je)}),p||we.set("offset",re/this.duration),T.push(we)});const R=s.size?rr(s.values()):[],B=a.size?rr(a.values()):[];if(p){const H=T[0],re=new Map(H);H.set("offset",0),re.set("offset",1),T=[H,re]}return Ie(this.element,T,R,B,this.duration,this.startTime,this.easing,!1)}}class Zs extends ao{constructor(s,a,p,T,R,B,H=!1){super(s,a,B.delay),this.keyframes=p,this.preStyleProps=T,this.postStyleProps=R,this._stretchStartingKeyframe=H,this.timings={duration:B.duration,delay:B.delay,easing:B.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let s=this.keyframes,{delay:a,duration:p,easing:T}=this.timings;if(this._stretchStartingKeyframe&&a){const R=[],B=p+a,H=a/B,re=Sr(s[0]);re.set("offset",0),R.push(re);const we=Sr(s[0]);we.set("offset",Ui(H)),R.push(we);const ze=s.length-1;for(let Je=1;Je<=ze;Je++){let xt=Sr(s[Je]);const yt=xt.get("offset");xt.set("offset",Ui((a+yt*p)/B)),R.push(xt)}p=B,a=0,T="",s=R}return Ie(this.element,s,this.preStyleProps,this.postStyleProps,p,a,T,!0)}}function Ui(_,s=3){const a=Math.pow(10,s-1);return Math.round(_*a)/a}class v{}const he=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 ut extends v{normalizePropertyName(s,a){return Ar(s)}normalizeStyleValue(s,a,p,T){let R="";const B=p.toString().trim();if(he.has(a)&&0!==p&&"0"!==p)if("number"==typeof p)R="px";else{const H=p.match(/^[+-]?[\d\.]+([a-z]*)$/);H&&0==H[1].length&&T.push(function jt(_,s){return new y.vHH(3005,!1)}())}return B+R}}function Jt(_,s,a,p,T,R,B,H,re,we,ze,Je,xt){return{type:0,element:_,triggerName:s,isRemovalTransition:T,fromState:a,fromStyles:R,toState:p,toStyles:B,timelines:H,queriedElements:re,preStyleProps:we,postStyleProps:ze,totalTime:Je,errors:xt}}const or={};class Qr{constructor(s,a,p){this._triggerName=s,this.ast=a,this._stateStyles=p}match(s,a,p,T){return function mi(_,s,a,p,T){return _.some(R=>R(s,a,p,T))}(this.ast.matchers,s,a,p,T)}buildStyles(s,a,p){let T=this._stateStyles.get("*");return void 0!==s&&(T=this._stateStyles.get(s?.toString())||T),T?T.buildStyles(a,p):new Map}build(s,a,p,T,R,B,H,re,we,ze){const Je=[],xt=this.ast.options&&this.ast.options.params||or,mt=this.buildStyles(p,H&&H.params||or,Je),At=re&&re.params||or,ht=this.buildStyles(T,At,Je),nn=new Set,Vn=new Map,Kn=new Map,Yn="void"===T,Qi={params:ji(At,xt),delay:this.ast.options?.delay},si=ze?[]:Ln(s,a,this.ast.animation,R,B,mt,ht,Qi,we,Je);let ar=0;if(si.forEach(ai=>{ar=Math.max(ai.duration+ai.delay,ar)}),Je.length)return Jt(a,this._triggerName,p,T,Yn,mt,ht,[],[],Vn,Kn,ar,Je);si.forEach(ai=>{const _i=ai.element,vn=xn(Vn,_i,new Set);ai.preStyleProps.forEach(jr=>vn.add(jr));const Ai=xn(Kn,_i,new Set);ai.postStyleProps.forEach(jr=>Ai.add(jr)),_i!==a&&nn.add(_i)});const wr=rr(nn.values());return Jt(a,this._triggerName,p,T,Yn,mt,ht,si,wr,Vn,Kn,ar)}}function ji(_,s){const a=Xr(s);for(const p in _)_.hasOwnProperty(p)&&null!=_[p]&&(a[p]=_[p]);return a}class lo{constructor(s,a,p){this.styles=s,this.defaultParams=a,this.normalizer=p}buildStyles(s,a){const p=new Map,T=Xr(this.defaultParams);return Object.keys(s).forEach(R=>{const B=s[R];null!==B&&(T[R]=B)}),this.styles.styles.forEach(R=>{"string"!=typeof R&&R.forEach((B,H)=>{B&&(B=Er(B,T,a));const re=this.normalizer.normalizePropertyName(H,a);B=this.normalizer.normalizeStyleValue(H,re,B,a),p.set(re,B)})}),p}}class zo{constructor(s,a,p){this.name=s,this.ast=a,this._normalizer=p,this.transitionFactories=[],this.states=new Map,a.states.forEach(T=>{this.states.set(T.name,new lo(T.style,T.options&&T.options.params||{},p))}),uo(this.states,"true","1"),uo(this.states,"false","0"),a.transitions.forEach(T=>{this.transitionFactories.push(new Qr(s,T,this.states))}),this.fallbackTransition=function Wo(_,s,a){return new Qr(_,{type:1,animation:{type:2,steps:[],options:null},matchers:[(B,H)=>!0],options:null,queryCount:0,depCount:0},s)}(s,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(s,a,p,T){return this.transitionFactories.find(B=>B.match(s,a,p,T))||null}matchStyles(s,a,p){return this.fallbackTransition.buildStyles(s,a,p)}}function uo(_,s,a){_.has(s)?_.has(a)||_.set(a,_.get(s)):_.has(a)&&_.set(s,_.get(a))}const Ko=new St;class Ao{constructor(s,a,p){this.bodyNode=s,this._driver=a,this._normalizer=p,this._animations=new Map,this._playersById=new Map,this.players=[]}register(s,a){const p=[],R=ye(this._driver,a,p,[]);if(p.length)throw function q(_){return new y.vHH(3503,!1)}();this._animations.set(s,R)}_buildPlayer(s,a,p){const T=s.element,R=An(0,this._normalizer,0,s.keyframes,a,p);return this._driver.animate(T,R,s.duration,s.delay,s.easing,[],!0)}create(s,a,p={}){const T=[],R=this._animations.get(s);let B;const H=new Map;if(R?(B=Ln(this._driver,a,R,To,Fn,new Map,new Map,p,Ko,T),B.forEach(ze=>{const Je=xn(H,ze.element,new Map);ze.postStyleProps.forEach(xt=>Je.set(xt,null))})):(T.push(function j(){return new y.vHH(3300,!1)}()),B=[]),T.length)throw function k(_){return new y.vHH(3504,!1)}();H.forEach((ze,Je)=>{ze.forEach((xt,yt)=>{ze.set(yt,this._driver.computeStyle(Je,yt,je.l3))})});const we=tn(B.map(ze=>{const Je=H.get(ze.element);return this._buildPlayer(ze,new Map,Je)}));return this._playersById.set(s,we),we.onDestroy(()=>this.destroy(s)),this.players.push(we),we}destroy(s){const a=this._getPlayer(s);a.destroy(),this._playersById.delete(s);const p=this.players.indexOf(a);p>=0&&this.players.splice(p,1)}_getPlayer(s){const a=this._playersById.get(s);if(!a)throw function Z(_){return new y.vHH(3301,!1)}();return a}listen(s,a,p,T){const R=Vt(a,"","","");return er(this._getPlayer(s),p,R,T),()=>{}}command(s,a,p,T){if("register"==p)return void this.register(s,T[0]);if("create"==p)return void this.create(s,a,T[0]||{});const R=this._getPlayer(s);switch(p){case"play":R.play();break;case"pause":R.pause();break;case"reset":R.reset();break;case"restart":R.restart();break;case"finish":R.finish();break;case"init":R.init();break;case"setPosition":R.setPosition(parseFloat(T[0]));break;case"destroy":this.destroy(s)}}}const $i="ng-animate-queued",qo="ng-animate-disabled",cn=[],Io={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Oo={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},zn="__ng_removed";class Po{constructor(s,a=""){this.namespaceId=a;const p=s&&s.hasOwnProperty("value");if(this.value=function fs(_){return _??null}(p?s.value:s),p){const R=Xr(s);delete R.value,this.options=R}else this.options={};this.options.params||(this.options.params={})}get params(){return this.options.params}absorbOptions(s){const a=s.params;if(a){const p=this.options.params;Object.keys(a).forEach(T=>{null==p[T]&&(p[T]=a[T])})}}}const oi="void",No=new Po(oi);class Ro{constructor(s,a,p){this.id=s,this.hostElement=a,this._engine=p,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+s,Wn(a,this._hostClassName)}listen(s,a,p,T){if(!this._triggers.has(a))throw function Ce(_,s){return new y.vHH(3302,!1)}();if(null==p||0==p.length)throw function ct(_){return new y.vHH(3303,!1)}();if(!function yi(_){return"start"==_||"done"==_}(p))throw function pt(_,s){return new y.vHH(3400,!1)}();const R=xn(this._elementListeners,s,[]),B={name:a,phase:p,callback:T};R.push(B);const H=xn(this._engine.statesByElement,s,new Map);return H.has(a)||(Wn(s,fi),Wn(s,fi+"-"+a),H.set(a,No)),()=>{this._engine.afterFlush(()=>{const re=R.indexOf(B);re>=0&&R.splice(re,1),this._triggers.has(a)||H.delete(a)})}}register(s,a){return!this._triggers.has(s)&&(this._triggers.set(s,a),!0)}_getTrigger(s){const a=this._triggers.get(s);if(!a)throw function tt(_){return new y.vHH(3401,!1)}();return a}trigger(s,a,p,T=!0){const R=this._getTrigger(a),B=new Gi(this.id,a,s);let H=this._engine.statesByElement.get(s);H||(Wn(s,fi),Wn(s,fi+"-"+a),this._engine.statesByElement.set(s,H=new Map));let re=H.get(a);const we=new Po(p,this.id);if(!(p&&p.hasOwnProperty("value"))&&re&&we.absorbOptions(re.options),H.set(a,we),re||(re=No),we.value!==oi&&re.value===we.value){if(!function na(_,s){const a=Object.keys(_),p=Object.keys(s);if(a.length!=p.length)return!1;for(let T=0;T<a.length;T++){const R=a[T];if(!s.hasOwnProperty(R)||_[R]!==s[R])return!1}return!0}(re.params,we.params)){const At=[],ht=R.matchStyles(re.value,re.params,At),nn=R.matchStyles(we.value,we.params,At);At.length?this._engine.reportError(At):this._engine.afterFlush(()=>{Cr(s,ht),yn(s,nn)})}return}const xt=xn(this._engine.playersByElement,s,[]);xt.forEach(At=>{At.namespaceId==this.id&&At.triggerName==a&&At.queued&&At.destroy()});let yt=R.matchTransition(re.value,we.value,s,we.params),mt=!1;if(!yt){if(!T)return;yt=R.fallbackTransition,mt=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:s,triggerName:a,transition:yt,fromState:re,toState:we,player:B,isFallbackTransition:mt}),mt||(Wn(s,$i),B.onStart(()=>{vi(s,$i)})),B.onDone(()=>{let At=this.players.indexOf(B);At>=0&&this.players.splice(At,1);const ht=this._engine.playersByElement.get(s);if(ht){let nn=ht.indexOf(B);nn>=0&&ht.splice(nn,1)}}),this.players.push(B),xt.push(B),B}deregister(s){this._triggers.delete(s),this._engine.statesByElement.forEach(a=>a.delete(s)),this._elementListeners.forEach((a,p)=>{this._elementListeners.set(p,a.filter(T=>T.name!=s))})}clearElementCache(s){this._engine.statesByElement.delete(s),this._elementListeners.delete(s);const a=this._engine.playersByElement.get(s);a&&(a.forEach(p=>p.destroy()),this._engine.playersByElement.delete(s))}_signalRemovalForInnerTriggers(s,a){const p=this._engine.driver.query(s,Ci,!0);p.forEach(T=>{if(T[zn])return;const R=this._engine.fetchNamespacesByElement(T);R.size?R.forEach(B=>B.triggerLeaveAnimation(T,a,!1,!0)):this.clearElementCache(T)}),this._engine.afterFlushAnimationsDone(()=>p.forEach(T=>this.clearElementCache(T)))}triggerLeaveAnimation(s,a,p,T){const R=this._engine.statesByElement.get(s),B=new Map;if(R){const H=[];if(R.forEach((re,we)=>{if(B.set(we,re.value),this._triggers.has(we)){const ze=this.trigger(s,we,oi,T);ze&&H.push(ze)}}),H.length)return this._engine.markElementAsRemoved(this.id,s,!0,a,B),p&&tn(H).onDone(()=>this._engine.processLeaveNode(s)),!0}return!1}prepareLeaveAnimationListeners(s){const a=this._elementListeners.get(s),p=this._engine.statesByElement.get(s);if(a&&p){const T=new Set;a.forEach(R=>{const B=R.name;if(T.has(B))return;T.add(B);const re=this._triggers.get(B).fallbackTransition,we=p.get(B)||No,ze=new Po(oi),Je=new Gi(this.id,B,s);this._engine.totalQueuedPlayers++,this._queue.push({element:s,triggerName:B,transition:re,fromState:we,toState:ze,player:Je,isFallbackTransition:!0})})}}removeNode(s,a){const p=this._engine;if(s.childElementCount&&this._signalRemovalForInnerTriggers(s,a),this.triggerLeaveAnimation(s,a,!0))return;let T=!1;if(p.totalAnimations){const R=p.players.length?p.playersByQueriedElement.get(s):[];if(R&&R.length)T=!0;else{let B=s;for(;B=B.parentNode;)if(p.statesByElement.get(B)){T=!0;break}}}if(this.prepareLeaveAnimationListeners(s),T)p.markElementAsRemoved(this.id,s,!1,a);else{const R=s[zn];(!R||R===Io)&&(p.afterFlush(()=>this.clearElementCache(s)),p.destroyInnerAnimations(s),p._onRemovalComplete(s,a))}}insertNode(s,a){Wn(s,this._hostClassName)}drainQueuedTransitions(s){const a=[];return this._queue.forEach(p=>{const T=p.player;if(T.destroyed)return;const R=p.element,B=this._elementListeners.get(R);B&&B.forEach(H=>{if(H.name==p.triggerName){const re=Vt(R,p.triggerName,p.fromState.value,p.toState.value);re._data=s,er(p.player,H.phase,re,H.callback)}}),T.markedForDestroy?this._engine.afterFlush(()=>{T.destroy()}):a.push(p)}),this._queue=[],a.sort((p,T)=>{const R=p.transition.ast.depCount,B=T.transition.ast.depCount;return 0==R||0==B?R-B:this._engine.driver.containsElement(p.element,T.element)?1:-1})}destroy(s){this.players.forEach(a=>a.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,s)}elementContainsData(s){let a=!1;return this._elementListeners.has(s)&&(a=!0),a=!!this._queue.find(p=>p.element===s)||a,a}}class xo{constructor(s,a,p){this.bodyNode=s,this.driver=a,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=(T,R)=>{}}_onRemovalComplete(s,a){this.onRemovalComplete(s,a)}get queuedPlayers(){const s=[];return this._namespaceList.forEach(a=>{a.players.forEach(p=>{p.queued&&s.push(p)})}),s}createNamespace(s,a){const p=new Ro(s,a,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,a)?this._balanceNamespaceList(p,a):(this.newHostElements.set(a,p),this.collectEnterElement(a)),this._namespaceLookup[s]=p}_balanceNamespaceList(s,a){const p=this._namespaceList,T=this.namespacesByHostElement;if(p.length-1>=0){let B=!1,H=this.driver.getParentElement(a);for(;H;){const re=T.get(H);if(re){const we=p.indexOf(re);p.splice(we+1,0,s),B=!0;break}H=this.driver.getParentElement(H)}B||p.unshift(s)}else p.push(s);return T.set(a,s),s}register(s,a){let p=this._namespaceLookup[s];return p||(p=this.createNamespace(s,a)),p}registerTrigger(s,a,p){let T=this._namespaceLookup[s];T&&T.register(a,p)&&this.totalAnimations++}destroy(s,a){if(!s)return;const p=this._fetchNamespace(s);this.afterFlush(()=>{this.namespacesByHostElement.delete(p.hostElement),delete this._namespaceLookup[s];const T=this._namespaceList.indexOf(p);T>=0&&this._namespaceList.splice(T,1)}),this.afterFlushAnimationsDone(()=>p.destroy(a))}_fetchNamespace(s){return this._namespaceLookup[s]}fetchNamespacesByElement(s){const a=new Set,p=this.statesByElement.get(s);if(p)for(let T of p.values())if(T.namespaceId){const R=this._fetchNamespace(T.namespaceId);R&&a.add(R)}return a}trigger(s,a,p,T){if(Mi(a)){const R=this._fetchNamespace(s);if(R)return R.trigger(a,p,T),!0}return!1}insertNode(s,a,p,T){if(!Mi(a))return;const R=a[zn];if(R&&R.setForRemoval){R.setForRemoval=!1,R.setForMove=!0;const B=this.collectedLeaveElements.indexOf(a);B>=0&&this.collectedLeaveElements.splice(B,1)}if(s){const B=this._fetchNamespace(s);B&&B.insertNode(a,p)}T&&this.collectEnterElement(a)}collectEnterElement(s){this.collectedEnterElements.push(s)}markElementAsDisabled(s,a){a?this.disabledNodes.has(s)||(this.disabledNodes.add(s),Wn(s,qo)):this.disabledNodes.has(s)&&(this.disabledNodes.delete(s),vi(s,qo))}removeNode(s,a,p,T){if(Mi(a)){const R=s?this._fetchNamespace(s):null;if(R?R.removeNode(a,T):this.markElementAsRemoved(s,a,!1,T),p){const B=this.namespacesByHostElement.get(a);B&&B.id!==s&&B.removeNode(a,T)}}else this._onRemovalComplete(a,T)}markElementAsRemoved(s,a,p,T,R){this.collectedLeaveElements.push(a),a[zn]={namespaceId:s,setForRemoval:T,hasAnimation:p,removedBeforeQueried:!1,previousTriggersValues:R}}listen(s,a,p,T,R){return Mi(a)?this._fetchNamespace(s).listen(a,p,T,R):()=>{}}_buildInstruction(s,a,p,T,R){return s.transition.build(this.driver,s.element,s.fromState.value,s.toState.value,p,T,s.fromState.options,s.toState.options,a,R)}destroyInnerAnimations(s){let a=this.driver.query(s,Ci,!0);a.forEach(p=>this.destroyActiveAnimationsForElement(p)),0!=this.playersByQueriedElement.size&&(a=this.driver.query(s,hi,!0),a.forEach(p=>this.finishActiveQueriedAnimationOnElement(p)))}destroyActiveAnimationsForElement(s){const a=this.playersByElement.get(s);a&&a.forEach(p=>{p.queued?p.markedForDestroy=!0:p.destroy()})}finishActiveQueriedAnimationOnElement(s){const a=this.playersByQueriedElement.get(s);a&&a.forEach(p=>p.finish())}whenRenderingDone(){return new Promise(s=>{if(this.players.length)return tn(this.players).onDone(()=>s());s()})}processLeaveNode(s){const a=s[zn];if(a&&a.setForRemoval){if(s[zn]=Io,a.namespaceId){this.destroyInnerAnimations(s);const p=this._fetchNamespace(a.namespaceId);p&&p.clearElementCache(s)}this._onRemovalComplete(s,a.setForRemoval)}s.classList?.contains(qo)&&this.markElementAsDisabled(s,!1),this.driver.query(s,".ng-animate-disabled",!0).forEach(p=>{this.markElementAsDisabled(p,!1)})}flush(s=-1){let a=[];if(this.newHostElements.size&&(this.newHostElements.forEach((p,T)=>this._balanceNamespaceList(p,T)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let p=0;p<this.collectedEnterElements.length;p++)Wn(this.collectedEnterElements[p],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){const p=[];try{a=this._flushAnimations(p,s)}finally{for(let T=0;T<p.length;T++)p[T]()}}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=[],a.length?tn(a).onDone(()=>{p.forEach(T=>T())}):p.forEach(T=>T())}}reportError(s){throw function pn(_){return new y.vHH(3402,!1)}()}_flushAnimations(s,a){const p=new St,T=[],R=new Map,B=[],H=new Map,re=new Map,we=new Map,ze=new Set;this.disabledNodes.forEach(Ke=>{ze.add(Ke);const st=this.driver.query(Ke,".ng-animate-queued",!0);for(let wt=0;wt<st.length;wt++)ze.add(st[wt])});const Je=this.bodyNode,xt=Array.from(this.statesByElement.keys()),yt=ps(xt,this.collectedEnterElements),mt=new Map;let At=0;yt.forEach((Ke,st)=>{const wt=To+At++;mt.set(st,wt),Ke.forEach(Lt=>Wn(Lt,wt))});const ht=[],nn=new Set,Vn=new Set;for(let Ke=0;Ke<this.collectedLeaveElements.length;Ke++){const st=this.collectedLeaveElements[Ke],wt=st[zn];wt&&wt.setForRemoval&&(ht.push(st),nn.add(st),wt.hasAnimation?this.driver.query(st,".ng-star-inserted",!0).forEach(Lt=>nn.add(Lt)):Vn.add(st))}const Kn=new Map,Yn=ps(xt,Array.from(nn));Yn.forEach((Ke,st)=>{const wt=Fn+At++;Kn.set(st,wt),Ke.forEach(Lt=>Wn(Lt,wt))}),s.push(()=>{yt.forEach((Ke,st)=>{const wt=mt.get(st);Ke.forEach(Lt=>vi(Lt,wt))}),Yn.forEach((Ke,st)=>{const wt=Kn.get(st);Ke.forEach(Lt=>vi(Lt,wt))}),ht.forEach(Ke=>{this.processLeaveNode(Ke)})});const Qi=[],si=[];for(let Ke=this._namespaceList.length-1;Ke>=0;Ke--)this._namespaceList[Ke].drainQueuedTransitions(a).forEach(wt=>{const Lt=wt.player,_n=wt.element;if(Qi.push(Lt),this.collectedEnterElements.length){const x=_n[zn];if(x&&x.setForMove){if(x.previousTriggersValues&&x.previousTriggersValues.has(wt.triggerName)){const V=x.previousTriggersValues.get(wt.triggerName),ce=this.statesByElement.get(wt.element);if(ce&&ce.has(wt.triggerName)){const $e=ce.get(wt.triggerName);$e.value=V,ce.set(wt.triggerName,$e)}}return void Lt.destroy()}}const d=!Je||!this.driver.containsElement(Je,_n),f=Kn.get(_n),c=mt.get(_n),g=this._buildInstruction(wt,p,c,f,d);if(g.errors&&g.errors.length)return void si.push(g);if(d)return Lt.onStart(()=>Cr(_n,g.fromStyles)),Lt.onDestroy(()=>yn(_n,g.toStyles)),void T.push(Lt);if(wt.isFallbackTransition)return Lt.onStart(()=>Cr(_n,g.fromStyles)),Lt.onDestroy(()=>yn(_n,g.toStyles)),void T.push(Lt);const C=[];g.timelines.forEach(x=>{x.stretchStartingKeyframe=!0,this.disabledNodes.has(x.element)||C.push(x)}),g.timelines=C,p.append(_n,g.timelines),B.push({instruction:g,player:Lt,element:_n}),g.queriedElements.forEach(x=>xn(H,x,[]).push(Lt)),g.preStyleProps.forEach((x,V)=>{if(x.size){let ce=re.get(V);ce||re.set(V,ce=new Set),x.forEach(($e,Ot)=>ce.add(Ot))}}),g.postStyleProps.forEach((x,V)=>{let ce=we.get(V);ce||we.set(V,ce=new Set),x.forEach(($e,Ot)=>ce.add(Ot))})});if(si.length){const Ke=[];si.forEach(st=>{Ke.push(function Rr(_,s){return new y.vHH(3505,!1)}())}),Qi.forEach(st=>st.destroy()),this.reportError(Ke)}const ar=new Map,wr=new Map;B.forEach(Ke=>{const st=Ke.element;p.has(st)&&(wr.set(st,st),this._beforeAnimationBuild(Ke.player.namespaceId,Ke.instruction,ar))}),T.forEach(Ke=>{const st=Ke.element;this._getPreviousPlayers(st,!1,Ke.namespaceId,Ke.triggerName,null).forEach(Lt=>{xn(ar,st,[]).push(Lt),Lt.destroy()})});const ai=ht.filter(Ke=>Wi(Ke,re,we)),_i=new Map;hs(_i,this.driver,Vn,we,je.l3).forEach(Ke=>{Wi(Ke,re,we)&&ai.push(Ke)});const Ai=new Map;yt.forEach((Ke,st)=>{hs(Ai,this.driver,new Set(Ke),re,je.k1)}),ai.forEach(Ke=>{const st=_i.get(Ke),wt=Ai.get(Ke);_i.set(Ke,new Map([...Array.from(st?.entries()??[]),...Array.from(wt?.entries()??[])]))});const jr=[],_s=[],Ds={};B.forEach(Ke=>{const{element:st,player:wt,instruction:Lt}=Ke;if(p.has(st)){if(ze.has(st))return wt.onDestroy(()=>yn(st,Lt.toStyles)),wt.disabled=!0,wt.overrideTotalTime(Lt.totalTime),void T.push(wt);let _n=Ds;if(wr.size>1){let f=st;const c=[];for(;f=f.parentNode;){const g=wr.get(f);if(g){_n=g;break}c.push(f)}c.forEach(g=>wr.set(g,_n))}const d=this._buildAnimation(wt.namespaceId,Lt,ar,R,Ai,_i);if(wt.setRealPlayer(d),_n===Ds)jr.push(wt);else{const f=this.playersByElement.get(_n);f&&f.length&&(wt.parentPlayer=tn(f)),T.push(wt)}}else Cr(st,Lt.fromStyles),wt.onDestroy(()=>yn(st,Lt.toStyles)),_s.push(wt),ze.has(st)&&T.push(wt)}),_s.forEach(Ke=>{const st=R.get(Ke.element);if(st&&st.length){const wt=tn(st);Ke.setRealPlayer(wt)}}),T.forEach(Ke=>{Ke.parentPlayer?Ke.syncPlayerEvents(Ke.parentPlayer):Ke.destroy()});for(let Ke=0;Ke<ht.length;Ke++){const st=ht[Ke],wt=st[zn];if(vi(st,Fn),wt&&wt.hasAnimation)continue;let Lt=[];if(H.size){let d=H.get(st);d&&d.length&&Lt.push(...d);let f=this.driver.query(st,hi,!0);for(let c=0;c<f.length;c++){let g=H.get(f[c]);g&&g.length&&Lt.push(...g)}}const _n=Lt.filter(d=>!d.destroyed);_n.length?ea(this,st,_n):this.processLeaveNode(st)}return ht.length=0,jr.forEach(Ke=>{this.players.push(Ke),Ke.onDone(()=>{Ke.destroy();const st=this.players.indexOf(Ke);this.players.splice(st,1)}),Ke.play()}),jr}elementContainsData(s,a){let p=!1;const T=a[zn];return T&&T.setForRemoval&&(p=!0),this.playersByElement.has(a)&&(p=!0),this.playersByQueriedElement.has(a)&&(p=!0),this.statesByElement.has(a)&&(p=!0),this._fetchNamespace(s).elementContainsData(a)||p}afterFlush(s){this._flushFns.push(s)}afterFlushAnimationsDone(s){this._whenQuietFns.push(s)}_getPreviousPlayers(s,a,p,T,R){let B=[];if(a){const H=this.playersByQueriedElement.get(s);H&&(B=H)}else{const H=this.playersByElement.get(s);if(H){const re=!R||R==oi;H.forEach(we=>{we.queued||!re&&we.triggerName!=T||B.push(we)})}}return(p||T)&&(B=B.filter(H=>!(p&&p!=H.namespaceId||T&&T!=H.triggerName))),B}_beforeAnimationBuild(s,a,p){const R=a.element,B=a.isRemovalTransition?void 0:s,H=a.isRemovalTransition?void 0:a.triggerName;for(const re of a.timelines){const we=re.element,ze=we!==R,Je=xn(p,we,[]);this._getPreviousPlayers(we,ze,B,H,a.toState).forEach(yt=>{const mt=yt.getRealPlayer();mt.beforeDestroy&&mt.beforeDestroy(),yt.destroy(),Je.push(yt)})}Cr(R,a.fromStyles)}_buildAnimation(s,a,p,T,R,B){const H=a.triggerName,re=a.element,we=[],ze=new Set,Je=new Set,xt=a.timelines.map(mt=>{const At=mt.element;ze.add(At);const ht=At[zn];if(ht&&ht.removedBeforeQueried)return new je.ZN(mt.duration,mt.delay);const nn=At!==re,Vn=function gs(_){const s=[];return ta(_,s),s}((p.get(At)||cn).map(ar=>ar.getRealPlayer())).filter(ar=>!!ar.element&&ar.element===At),Kn=R.get(At),Yn=B.get(At),Qi=An(0,this._normalizer,0,mt.keyframes,Kn,Yn),si=this._buildPlayer(mt,Qi,Vn);if(mt.subTimeline&&T&&Je.add(At),nn){const ar=new Gi(s,H,At);ar.setRealPlayer(si),we.push(ar)}return si});we.forEach(mt=>{xn(this.playersByQueriedElement,mt.element,[]).push(mt),mt.onDone(()=>function Qo(_,s,a){let p=_.get(s);if(p){if(p.length){const T=p.indexOf(a);p.splice(T,1)}0==p.length&&_.delete(s)}return p}(this.playersByQueriedElement,mt.element,mt))}),ze.forEach(mt=>Wn(mt,ki));const yt=tn(xt);return yt.onDestroy(()=>{ze.forEach(mt=>vi(mt,ki)),yn(re,a.toStyles)}),Je.forEach(mt=>{xn(T,mt,[]).push(yt)}),yt}_buildPlayer(s,a,p){return a.length>0?this.driver.animate(s.element,a,s.duration,s.delay,s.easing,p):new je.ZN(s.duration,s.delay)}}class Gi{constructor(s,a,p){this.namespaceId=s,this.triggerName=a,this.element=p,this._player=new je.ZN,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(s){this._containsRealPlayer||(this._player=s,this._queuedCallbacks.forEach((a,p)=>{a.forEach(T=>er(s,p,void 0,T))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(s.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(s){this.totalTime=s}syncPlayerEvents(s){const a=this._player;a.triggerCallback&&s.onStart(()=>a.triggerCallback("start")),s.onDone(()=>this.finish()),s.onDestroy(()=>this.destroy())}_queueEvent(s,a){xn(this._queuedCallbacks,s,[]).push(a)}onDone(s){this.queued&&this._queueEvent("done",s),this._player.onDone(s)}onStart(s){this.queued&&this._queueEvent("start",s),this._player.onStart(s)}onDestroy(s){this.queued&&this._queueEvent("destroy",s),this._player.onDestroy(s)}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(s){this.queued||this._player.setPosition(s)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(s){const a=this._player;a.triggerCallback&&a.triggerCallback(s)}}function Mi(_){return _&&1===_.nodeType}function zi(_,s){const a=_.style.display;return _.style.display=s??"none",a}function hs(_,s,a,p,T){const R=[];a.forEach(re=>R.push(zi(re)));const B=[];p.forEach((re,we)=>{const ze=new Map;re.forEach(Je=>{const xt=s.computeStyle(we,Je,T);ze.set(Je,xt),(!xt||0==xt.length)&&(we[zn]=Oo,B.push(we))}),_.set(we,ze)});let H=0;return a.forEach(re=>zi(re,R[H++])),B}function ps(_,s){const a=new Map;if(_.forEach(H=>a.set(H,[])),0==s.length)return a;const T=new Set(s),R=new Map;function B(H){if(!H)return 1;let re=R.get(H);if(re)return re;const we=H.parentNode;return re=a.has(we)?we:T.has(we)?1:B(we),R.set(H,re),re}return s.forEach(H=>{const re=B(H);1!==re&&a.get(re).push(H)}),a}function Wn(_,s){_.classList?.add(s)}function vi(_,s){_.classList?.remove(s)}function ea(_,s,a){tn(a).onDone(()=>_.processLeaveNode(s))}function ta(_,s){for(let a=0;a<_.length;a++){const p=_[a];p instanceof je.ZE?ta(p.players,s):s.push(p)}}function Wi(_,s,a){const p=a.get(_);if(!p)return!1;let T=s.get(_);return T?p.forEach(R=>T.add(R)):s.set(_,p),a.delete(_),!0}class Ki{constructor(s,a,p){this.bodyNode=s,this._driver=a,this._normalizer=p,this._triggerCache={},this.onRemovalComplete=(T,R)=>{},this._transitionEngine=new xo(s,a,p),this._timelineEngine=new Ao(s,a,p),this._transitionEngine.onRemovalComplete=(T,R)=>this.onRemovalComplete(T,R)}registerTrigger(s,a,p,T,R){const B=s+"-"+T;let H=this._triggerCache[B];if(!H){const re=[],ze=ye(this._driver,R,re,[]);if(re.length)throw function _t(_,s){return new y.vHH(3404,!1)}();H=function Js(_,s,a){return new zo(_,s,a)}(T,ze,this._normalizer),this._triggerCache[B]=H}this._transitionEngine.registerTrigger(a,T,H)}register(s,a){this._transitionEngine.register(s,a)}destroy(s,a){this._transitionEngine.destroy(s,a)}onInsert(s,a,p,T){this._transitionEngine.insertNode(s,a,p,T)}onRemove(s,a,p,T){this._transitionEngine.removeNode(s,a,T||!1,p)}disableAnimations(s,a){this._transitionEngine.markElementAsDisabled(s,a)}process(s,a,p,T){if("@"==p.charAt(0)){const[R,B]=di(p);this._timelineEngine.command(R,a,B,T)}else this._transitionEngine.trigger(s,a,p,T)}listen(s,a,p,T,R){if("@"==p.charAt(0)){const[B,H]=di(p);return this._timelineEngine.listen(B,a,H,R)}return this._transitionEngine.listen(s,a,p,T,R)}flush(s=-1){this._transitionEngine.flush(s)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}let co=(()=>{class _{constructor(a,p,T){this._element=a,this._startStyles=p,this._endStyles=T,this._state=0;let R=_.initialStylesByElement.get(a);R||_.initialStylesByElement.set(a,R=new Map),this._initialStyles=R}start(){this._state<1&&(this._startStyles&&yn(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(yn(this._element,this._initialStyles),this._endStyles&&(yn(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(_.initialStylesByElement.delete(this._element),this._startStyles&&(Cr(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Cr(this._element,this._endStyles),this._endStyles=null),yn(this._element,this._initialStyles),this._state=3)}}return _.initialStylesByElement=new WeakMap,_})();function Fo(_){let s=null;return _.forEach((a,p)=>{(function ko(_){return"display"===_||"position"===_})(p)&&(s=s||new Map,s.set(p,a))}),s}class Ti{constructor(s,a,p,T){this.element=s,this.keyframes=a,this.options=p,this._specialStyles=T,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(s=>s()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const s=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,s,this.options),this._finalKeyframe=s.length?s[s.length-1]:new Map,this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(s){const a=[];return s.forEach(p=>{a.push(Object.fromEntries(p))}),a}_triggerWebAnimation(s,a,p){return s.animate(this._convertKeyframesToObject(a),p)}onStart(s){this._originalOnStartFns.push(s),this._onStartFns.push(s)}onDone(s){this._originalOnDoneFns.push(s),this._onDoneFns.push(s)}onDestroy(s){this._onDestroyFns.push(s)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(s=>s()),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(s=>s()),this._onDestroyFns=[])}setPosition(s){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=s*this.time}getPosition(){return this.domPlayer.currentTime/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const s=new Map;this.hasStarted()&&this._finalKeyframe.forEach((p,T)=>{"offset"!==T&&s.set(T,this._finished?p:Lr(this.element,T))}),this.currentSnapshot=s}triggerCallback(s){const a="start"===s?this._onStartFns:this._onDoneFns;a.forEach(p=>p()),a.length=0}}class ra{validateStyleProperty(s){return!0}validateAnimatableStyleProperty(s){return!0}matchesElement(s,a){return!1}containsElement(s,a){return In(s,a)}getParentElement(s){return tr(s)}query(s,a,p){return gn(s,a,p)}computeStyle(s,a,p){return window.getComputedStyle(s)[a]}animate(s,a,p,T,R,B=[]){const re={duration:p,delay:T,fill:0==T?"both":"forwards"};R&&(re.easing=R);const we=new Map,ze=B.filter(yt=>yt instanceof Ti);(function kn(_,s){return 0===_||0===s})(p,T)&&ze.forEach(yt=>{yt.currentSnapshot.forEach((mt,At)=>we.set(At,mt))});let Je=function Tr(_){return _.length?_[0]instanceof Map?_:_.map(s=>hr(s)):[]}(a).map(yt=>Sr(yt));Je=function Yr(_,s,a){if(a.size&&s.length){let p=s[0],T=[];if(a.forEach((R,B)=>{p.has(B)||T.push(B),p.set(B,R)}),T.length)for(let R=1;R<s.length;R++){let B=s[R];T.forEach(H=>B.set(H,Lr(_,H)))}}return s}(s,Je,we);const xt=function Zo(_,s){let a=null,p=null;return Array.isArray(s)&&s.length?(a=Fo(s[0]),s.length>1&&(p=Fo(s[s.length-1]))):s instanceof Map&&(a=Fo(s)),a||p?new co(_,a,p):null}(s,Je);return new Ti(s,Je,re,xt)}}let Yi=(()=>{class _ extends je._j{constructor(a,p){super(),this._nextAnimationId=0,this._renderer=a.createRenderer(p.body,{id:"0",encapsulation:y.ifc.None,styles:[],data:{animation:[]}})}build(a){const p=this._nextAnimationId.toString();this._nextAnimationId++;const T=Array.isArray(a)?(0,je.vP)(a):a;return ms(this._renderer,null,p,"register",[T]),new Jo(p,this._renderer)}}return _.\u0275fac=function(a){return new(a||_)(y.LFG(y.FYo),y.LFG(ve.K0))},_.\u0275prov=y.Yz7({token:_,factory:_.\u0275fac}),_})();class Jo extends je.LC{constructor(s,a){super(),this._id=s,this._renderer=a}create(s,a){return new Lo(this._id,s,a||{},this._renderer)}}class Lo{constructor(s,a,p,T){this.id=s,this.element=a,this._renderer=T,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",p)}_listen(s,a){return this._renderer.listen(this.element,`@@${this.id}:${s}`,a)}_command(s,...a){return ms(this._renderer,this.element,this.id,s,a)}onDone(s){this._listen("done",s)}onStart(s){this._listen("start",s)}onDestroy(s){this._listen("destroy",s)}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(s){this._command("setPosition",s)}getPosition(){return this._renderer.engine.players[+this.id]?.getPosition()??0}}function ms(_,s,a,p,T){return _.setProperty(s,`@@${a}:${p}`,T)}const Vo="@.disabled";let ys=(()=>{class _{constructor(a,p,T){this.delegate=a,this.engine=p,this._zone=T,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),p.onRemovalComplete=(R,B)=>{const H=B?.parentNode(R);H&&B.removeChild(H,R)}}createRenderer(a,p){const R=this.delegate.createRenderer(a,p);if(!(a&&p&&p.data&&p.data.animation)){let ze=this._rendererCache.get(R);return ze||(ze=new Ur("",R,this.engine),this._rendererCache.set(R,ze)),ze}const B=p.id,H=p.id+"-"+this._currentId;this._currentId++,this.engine.register(H,a);const re=ze=>{Array.isArray(ze)?ze.forEach(re):this.engine.registerTrigger(B,H,a,ze.name,ze)};return p.data.animation.forEach(re),new ia(this,H,R,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then(()=>{this._microtaskId++})}scheduleListenerCallback(a,p,T){a>=0&&a<this._microtaskId?this._zone.run(()=>p(T)):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(R=>{const[B,H]=R;B(H)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([p,T]))}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 _.\u0275fac=function(a){return new(a||_)(y.LFG(y.FYo),y.LFG(Ki),y.LFG(y.R0b))},_.\u0275prov=y.Yz7({token:_,factory:_.\u0275fac}),_})();class Ur{constructor(s,a,p){this.namespaceId=s,this.delegate=a,this.engine=p,this.destroyNode=this.delegate.destroyNode?T=>a.destroyNode(T):null}get data(){return this.delegate.data}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy()}createElement(s,a){return this.delegate.createElement(s,a)}createComment(s){return this.delegate.createComment(s)}createText(s){return this.delegate.createText(s)}appendChild(s,a){this.delegate.appendChild(s,a),this.engine.onInsert(this.namespaceId,a,s,!1)}insertBefore(s,a,p,T=!0){this.delegate.insertBefore(s,a,p),this.engine.onInsert(this.namespaceId,a,s,T)}removeChild(s,a,p){this.engine.onRemove(this.namespaceId,a,this.delegate,p)}selectRootElement(s,a){return this.delegate.selectRootElement(s,a)}parentNode(s){return this.delegate.parentNode(s)}nextSibling(s){return this.delegate.nextSibling(s)}setAttribute(s,a,p,T){this.delegate.setAttribute(s,a,p,T)}removeAttribute(s,a,p){this.delegate.removeAttribute(s,a,p)}addClass(s,a){this.delegate.addClass(s,a)}removeClass(s,a){this.delegate.removeClass(s,a)}setStyle(s,a,p,T){this.delegate.setStyle(s,a,p,T)}removeStyle(s,a,p){this.delegate.removeStyle(s,a,p)}setProperty(s,a,p){"@"==a.charAt(0)&&a==Vo?this.disableAnimations(s,!!p):this.delegate.setProperty(s,a,p)}setValue(s,a){this.delegate.setValue(s,a)}listen(s,a,p){return this.delegate.listen(s,a,p)}disableAnimations(s,a){this.engine.disableAnimations(s,a)}}class ia extends Ur{constructor(s,a,p,T){super(a,p,T),this.factory=s,this.namespaceId=a}setProperty(s,a,p){"@"==a.charAt(0)?"."==a.charAt(1)&&a==Vo?this.disableAnimations(s,p=void 0===p||!!p):this.engine.process(this.namespaceId,s,a.slice(1),p):this.delegate.setProperty(s,a,p)}listen(s,a,p){if("@"==a.charAt(0)){const T=function fo(_){switch(_){case"body":return document.body;case"document":return document;case"window":return window;default:return _}}(s);let R=a.slice(1),B="";return"@"!=R.charAt(0)&&([R,B]=function Xo(_){const s=_.indexOf(".");return[_.substring(0,s),_.slice(s+1)]}(R)),this.engine.listen(this.namespaceId,T,R,B,H=>{this.factory.scheduleListenerCallback(H._data||-1,p,H)})}return this.delegate.listen(s,a,p)}}const Bo=[{provide:je._j,useClass:Yi},{provide:v,useFactory:function po(){return new ut}},{provide:Ki,useClass:(()=>{class _ extends Ki{constructor(a,p,T,R){super(a.body,p,T)}ngOnDestroy(){this.flush()}}return _.\u0275fac=function(a){return new(a||_)(y.LFG(ve.K0),y.LFG(Jr),y.LFG(v),y.LFG(y.z2F))},_.\u0275prov=y.Yz7({token:_,factory:_.\u0275fac}),_})()},{provide:y.FYo,useFactory:function qi(_,s,a){return new ys(_,s,a)},deps:[u.se,Ki,y.R0b]}],Ho=[{provide:Jr,useFactory:()=>new ra},{provide:y.QbO,useValue:"BrowserAnimations"},...Bo],es=[{provide:Jr,useClass:wo},{provide:y.QbO,useValue:"NoopAnimations"},...Bo];let go=(()=>{class _{static withConfig(a){return{ngModule:_,providers:a.disableAnimations?es:Ho}}}return _.\u0275fac=function(a){return new(a||_)},_.\u0275mod=y.oAB({type:_}),_.\u0275inj=y.cJS({providers:Ho,imports:[u.b2]}),_})(),mo=(()=>{class _{constructor(){this.title="web-tools"}}return _.\u0275fac=function(a){return new(a||_)},_.\u0275cmp=y.Xpm({type:_,selectors:[["app-root"]],decls:2,vars:0,template:function(a,p){1&a&&y._UZ(0,"ng-http-loader")(1,"router-outlet")},dependencies:[ne.lC,L]}),_})(),sa=(()=>{class _{}return _.\u0275fac=function(a){return new(a||_)},_.\u0275mod=y.oAB({type:_,bootstrap:[mo]}),_.\u0275inj=y.cJS({providers:[fe.O,Fe.a],imports:[u.b2,go,De,Ee.u5,ne.Bz,Ge.JF,se.forRoot(),de.Rh.forRoot({positionClass:"toast-bottom-right",preventDuplicates:!0,closeButton:!0,timeOut:5e3}),ne.Bz]}),_})();(0,y.G48)(),u.q6().bootstrapModule(sa).catch(_=>console.error(_))},1135:(Qe,pe,S)=>{S.d(pe,{X:()=>y});var u=S(7579);class y extends u.x{constructor(oe){super(),this._value=oe}get value(){return this.getValue()}_subscribe(oe){const z=super._subscribe(oe);return!z.closed&&oe.next(this._value),z}getValue(){const{hasError:oe,thrownError:z,_value:J}=this;if(oe)throw z;return this._throwIfClosed(),J}next(oe){super.next(this._value=oe)}}},9751:(Qe,pe,S)=>{S.d(pe,{y:()=>ie});var u=S(930),y=S(727),ne=S(8822),oe=S(9635),z=S(2416),J=S(576),Y=S(2806);let ie=(()=>{class X{constructor(Ee){Ee&&(this._subscribe=Ee)}lift(Ee){const _e=new X;return _e.source=this,_e.operator=Ee,_e}subscribe(Ee,_e,We){const be=function de(X){return X&&X instanceof u.Lv||function fe(X){return X&&(0,J.m)(X.next)&&(0,J.m)(X.error)&&(0,J.m)(X.complete)}(X)&&(0,y.Nn)(X)}(Ee)?Ee:new u.Hp(Ee,_e,We);return(0,Y.x)(()=>{const{operator:Me,source:at}=this;be.add(Me?Me.call(be,at):at?this._subscribe(be):this._trySubscribe(be))}),be}_trySubscribe(Ee){try{return this._subscribe(Ee)}catch(_e){Ee.error(_e)}}forEach(Ee,_e){return new(_e=le(_e))((We,be)=>{const Me=new u.Hp({next:at=>{try{Ee(at)}catch(Ct){be(Ct),Me.unsubscribe()}},error:be,complete:We});this.subscribe(Me)})}_subscribe(Ee){var _e;return null===(_e=this.source)||void 0===_e?void 0:_e.subscribe(Ee)}[ne.L](){return this}pipe(...Ee){return(0,oe.U)(Ee)(this)}toPromise(Ee){return new(Ee=le(Ee))((_e,We)=>{let be;this.subscribe(Me=>be=Me,Me=>We(Me),()=>_e(be))})}}return X.create=ve=>new X(ve),X})();function le(X){var ve;return null!==(ve=X??z.v.Promise)&&void 0!==ve?ve:Promise}},4707:(Qe,pe,S)=>{S.d(pe,{t:()=>ne});var u=S(7579),y=S(6063);class ne extends u.x{constructor(z=1/0,J=1/0,Y=y.l){super(),this._bufferSize=z,this._windowTime=J,this._timestampProvider=Y,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=J===1/0,this._bufferSize=Math.max(1,z),this._windowTime=Math.max(1,J)}next(z){const{isStopped:J,_buffer:Y,_infiniteTimeWindow:ie,_timestampProvider:le,_windowTime:fe}=this;J||(Y.push(z),!ie&&Y.push(le.now()+fe)),this._trimBuffer(),super.next(z)}_subscribe(z){this._throwIfClosed(),this._trimBuffer();const J=this._innerSubscribe(z),{_infiniteTimeWindow:Y,_buffer:ie}=this,le=ie.slice();for(let fe=0;fe<le.length&&!z.closed;fe+=Y?1:2)z.next(le[fe]);return this._checkFinalizedStatuses(z),J}_trimBuffer(){const{_bufferSize:z,_timestampProvider:J,_buffer:Y,_infiniteTimeWindow:ie}=this,le=(ie?1:2)*z;if(z<1/0&&le<Y.length&&Y.splice(0,Y.length-le),!ie){const fe=J.now();let de=0;for(let X=1;X<Y.length&&Y[X]<=fe;X+=2)de=X;de&&Y.splice(0,de+1)}}}},7579:(Qe,pe,S)=>{S.d(pe,{x:()=>Y});var u=S(9751),y=S(727);const oe=(0,S(3888).d)(le=>function(){le(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var z=S(8737),J=S(2806);let Y=(()=>{class le extends u.y{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(de){const X=new ie(this,this);return X.operator=de,X}_throwIfClosed(){if(this.closed)throw new oe}next(de){(0,J.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const X of this.currentObservers)X.next(de)}})}error(de){(0,J.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=de;const{observers:X}=this;for(;X.length;)X.shift().error(de)}})}complete(){(0,J.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:de}=this;for(;de.length;)de.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var de;return(null===(de=this.observers)||void 0===de?void 0:de.length)>0}_trySubscribe(de){return this._throwIfClosed(),super._trySubscribe(de)}_subscribe(de){return this._throwIfClosed(),this._checkFinalizedStatuses(de),this._innerSubscribe(de)}_innerSubscribe(de){const{hasError:X,isStopped:ve,observers:Ee}=this;return X||ve?y.Lc:(this.currentObservers=null,Ee.push(de),new y.w0(()=>{this.currentObservers=null,(0,z.P)(Ee,de)}))}_checkFinalizedStatuses(de){const{hasError:X,thrownError:ve,isStopped:Ee}=this;X?de.error(ve):Ee&&de.complete()}asObservable(){const de=new u.y;return de.source=this,de}}return le.create=(fe,de)=>new ie(fe,de),le})();class ie extends Y{constructor(fe,de){super(),this.destination=fe,this.source=de}next(fe){var de,X;null===(X=null===(de=this.destination)||void 0===de?void 0:de.next)||void 0===X||X.call(de,fe)}error(fe){var de,X;null===(X=null===(de=this.destination)||void 0===de?void 0:de.error)||void 0===X||X.call(de,fe)}complete(){var fe,de;null===(de=null===(fe=this.destination)||void 0===fe?void 0:fe.complete)||void 0===de||de.call(fe)}_subscribe(fe){var de,X;return null!==(X=null===(de=this.source)||void 0===de?void 0:de.subscribe(fe))&&void 0!==X?X:y.Lc}}},930:(Qe,pe,S)=>{S.d(pe,{Hp:()=>We,Lv:()=>X});var u=S(576),y=S(727),ne=S(2416),oe=S(7849),z=S(5032);const J=le("C",void 0,void 0);function le(De,W,Se){return{kind:De,value:W,error:Se}}var fe=S(3410),de=S(2806);class X extends y.w0{constructor(W){super(),this.isStopped=!1,W?(this.destination=W,(0,y.Nn)(W)&&W.add(this)):this.destination=Ct}static create(W,Se,qe){return new We(W,Se,qe)}next(W){this.isStopped?at(function ie(De){return le("N",De,void 0)}(W),this):this._next(W)}error(W){this.isStopped?at(function Y(De){return le("E",void 0,De)}(W),this):(this.isStopped=!0,this._error(W))}complete(){this.isStopped?at(J,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(W){this.destination.next(W)}_error(W){try{this.destination.error(W)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const ve=Function.prototype.bind;function Ee(De,W){return ve.call(De,W)}class _e{constructor(W){this.partialObserver=W}next(W){const{partialObserver:Se}=this;if(Se.next)try{Se.next(W)}catch(qe){be(qe)}}error(W){const{partialObserver:Se}=this;if(Se.error)try{Se.error(W)}catch(qe){be(qe)}else be(W)}complete(){const{partialObserver:W}=this;if(W.complete)try{W.complete()}catch(Se){be(Se)}}}class We extends X{constructor(W,Se,qe){let Ne;if(super(),(0,u.m)(W)||!W)Ne={next:W??void 0,error:Se??void 0,complete:qe??void 0};else{let Re;this&&ne.v.useDeprecatedNextContext?(Re=Object.create(W),Re.unsubscribe=()=>this.unsubscribe(),Ne={next:W.next&&Ee(W.next,Re),error:W.error&&Ee(W.error,Re),complete:W.complete&&Ee(W.complete,Re)}):Ne=W}this.destination=new _e(Ne)}}function be(De){ne.v.useDeprecatedSynchronousErrorHandling?(0,de.O)(De):(0,oe.h)(De)}function at(De,W){const{onStoppedNotification:Se}=ne.v;Se&&fe.z.setTimeout(()=>Se(De,W))}const Ct={closed:!0,next:z.Z,error:function Me(De){throw De},complete:z.Z}},727:(Qe,pe,S)=>{S.d(pe,{Lc:()=>J,w0:()=>z,Nn:()=>Y});var u=S(576);const ne=(0,S(3888).d)(le=>function(de){le(this),this.message=de?`${de.length} errors occurred during unsubscription:\n${de.map((X,ve)=>`${ve+1}) ${X.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=de});var oe=S(8737);class z{constructor(fe){this.initialTeardown=fe,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let fe;if(!this.closed){this.closed=!0;const{_parentage:de}=this;if(de)if(this._parentage=null,Array.isArray(de))for(const Ee of de)Ee.remove(this);else de.remove(this);const{initialTeardown:X}=this;if((0,u.m)(X))try{X()}catch(Ee){fe=Ee instanceof ne?Ee.errors:[Ee]}const{_finalizers:ve}=this;if(ve){this._finalizers=null;for(const Ee of ve)try{ie(Ee)}catch(_e){fe=fe??[],_e instanceof ne?fe=[...fe,..._e.errors]:fe.push(_e)}}if(fe)throw new ne(fe)}}add(fe){var de;if(fe&&fe!==this)if(this.closed)ie(fe);else{if(fe instanceof z){if(fe.closed||fe._hasParent(this))return;fe._addParent(this)}(this._finalizers=null!==(de=this._finalizers)&&void 0!==de?de:[]).push(fe)}}_hasParent(fe){const{_parentage:de}=this;return de===fe||Array.isArray(de)&&de.includes(fe)}_addParent(fe){const{_parentage:de}=this;this._parentage=Array.isArray(de)?(de.push(fe),de):de?[de,fe]:fe}_removeParent(fe){const{_parentage:de}=this;de===fe?this._parentage=null:Array.isArray(de)&&(0,oe.P)(de,fe)}remove(fe){const{_finalizers:de}=this;de&&(0,oe.P)(de,fe),fe instanceof z&&fe._removeParent(this)}}z.EMPTY=(()=>{const le=new z;return le.closed=!0,le})();const J=z.EMPTY;function Y(le){return le instanceof z||le&&"closed"in le&&(0,u.m)(le.remove)&&(0,u.m)(le.add)&&(0,u.m)(le.unsubscribe)}function ie(le){(0,u.m)(le)?le():le.unsubscribe()}},2416:(Qe,pe,S)=>{S.d(pe,{v:()=>u});const u={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},9841:(Qe,pe,S)=>{S.d(pe,{a:()=>fe});var u=S(9751),y=S(4742),ne=S(2076),oe=S(4671),z=S(3268),J=S(3269),Y=S(1810),ie=S(5403),le=S(9672);function fe(...ve){const Ee=(0,J.yG)(ve),_e=(0,J.jO)(ve),{args:We,keys:be}=(0,y.D)(ve);if(0===We.length)return(0,ne.D)([],Ee);const Me=new u.y(function de(ve,Ee,_e=oe.y){return We=>{X(Ee,()=>{const{length:be}=ve,Me=new Array(be);let at=be,Ct=be;for(let De=0;De<be;De++)X(Ee,()=>{const W=(0,ne.D)(ve[De],Ee);let Se=!1;W.subscribe((0,ie.x)(We,qe=>{Me[De]=qe,Se||(Se=!0,Ct--),Ct||We.next(_e(Me.slice()))},()=>{--at||We.complete()}))},We)},We)}}(We,Ee,be?at=>(0,Y.n)(be,at):oe.y));return _e?Me.pipe((0,z.Z)(_e)):Me}function X(ve,Ee,_e){ve?(0,le.f)(_e,ve,Ee):Ee()}},7272:(Qe,pe,S)=>{S.d(pe,{z:()=>z});var u=S(8189),ne=S(3269),oe=S(2076);function z(...J){return function y(){return(0,u.J)(1)}()((0,oe.D)(J,(0,ne.yG)(J)))}},9770:(Qe,pe,S)=>{S.d(pe,{P:()=>ne});var u=S(9751),y=S(8421);function ne(oe){return new u.y(z=>{(0,y.Xf)(oe()).subscribe(z)})}},515:(Qe,pe,S)=>{S.d(pe,{E:()=>y});const y=new(S(9751).y)(z=>z.complete())},2076:(Qe,pe,S)=>{S.d(pe,{D:()=>qe});var u=S(8421),y=S(9672),ne=S(4482),oe=S(5403);function z(Ne,Re=0){return(0,ne.e)((ke,Q)=>{ke.subscribe((0,oe.x)(Q,ee=>(0,y.f)(Q,Ne,()=>Q.next(ee),Re),()=>(0,y.f)(Q,Ne,()=>Q.complete(),Re),ee=>(0,y.f)(Q,Ne,()=>Q.error(ee),Re)))})}function J(Ne,Re=0){return(0,ne.e)((ke,Q)=>{Q.add(Ne.schedule(()=>ke.subscribe(Q),Re))})}var le=S(9751),de=S(2202),X=S(576);function Ee(Ne,Re){if(!Ne)throw new Error("Iterable cannot be null");return new le.y(ke=>{(0,y.f)(ke,Re,()=>{const Q=Ne[Symbol.asyncIterator]();(0,y.f)(ke,Re,()=>{Q.next().then(ee=>{ee.done?ke.complete():ke.next(ee.value)})},0,!0)})})}var _e=S(3670),We=S(8239),be=S(1144),Me=S(6495),at=S(2206),Ct=S(4532),De=S(3260);function qe(Ne,Re){return Re?function Se(Ne,Re){if(null!=Ne){if((0,_e.c)(Ne))return function Y(Ne,Re){return(0,u.Xf)(Ne).pipe(J(Re),z(Re))}(Ne,Re);if((0,be.z)(Ne))return function fe(Ne,Re){return new le.y(ke=>{let Q=0;return Re.schedule(function(){Q===Ne.length?ke.complete():(ke.next(Ne[Q++]),ke.closed||this.schedule())})})}(Ne,Re);if((0,We.t)(Ne))return function ie(Ne,Re){return(0,u.Xf)(Ne).pipe(J(Re),z(Re))}(Ne,Re);if((0,at.D)(Ne))return Ee(Ne,Re);if((0,Me.T)(Ne))return function ve(Ne,Re){return new le.y(ke=>{let Q;return(0,y.f)(ke,Re,()=>{Q=Ne[de.h](),(0,y.f)(ke,Re,()=>{let ee,ge;try{({value:ee,done:ge}=Q.next())}catch(ae){return void ke.error(ae)}ge?ke.complete():ke.next(ee)},0,!0)}),()=>(0,X.m)(Q?.return)&&Q.return()})}(Ne,Re);if((0,De.L)(Ne))return function W(Ne,Re){return Ee((0,De.Q)(Ne),Re)}(Ne,Re)}throw(0,Ct.z)(Ne)}(Ne,Re):(0,u.Xf)(Ne)}},8421:(Qe,pe,S)=>{S.d(pe,{Xf:()=>ve});var u=S(655),y=S(1144),ne=S(8239),oe=S(9751),z=S(3670),J=S(2206),Y=S(4532),ie=S(6495),le=S(3260),fe=S(576),de=S(7849),X=S(8822);function ve(De){if(De instanceof oe.y)return De;if(null!=De){if((0,z.c)(De))return function Ee(De){return new oe.y(W=>{const Se=De[X.L]();if((0,fe.m)(Se.subscribe))return Se.subscribe(W);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(De);if((0,y.z)(De))return function _e(De){return new oe.y(W=>{for(let Se=0;Se<De.length&&!W.closed;Se++)W.next(De[Se]);W.complete()})}(De);if((0,ne.t)(De))return function We(De){return new oe.y(W=>{De.then(Se=>{W.closed||(W.next(Se),W.complete())},Se=>W.error(Se)).then(null,de.h)})}(De);if((0,J.D)(De))return Me(De);if((0,ie.T)(De))return function be(De){return new oe.y(W=>{for(const Se of De)if(W.next(Se),W.closed)return;W.complete()})}(De);if((0,le.L)(De))return function at(De){return Me((0,le.Q)(De))}(De)}throw(0,Y.z)(De)}function Me(De){return new oe.y(W=>{(function Ct(De,W){var Se,qe,Ne,Re;return(0,u.mG)(this,void 0,void 0,function*(){try{for(Se=(0,u.KL)(De);!(qe=yield Se.next()).done;)if(W.next(qe.value),W.closed)return}catch(ke){Ne={error:ke}}finally{try{qe&&!qe.done&&(Re=Se.return)&&(yield Re.call(Se))}finally{if(Ne)throw Ne.error}}W.complete()})})(De,W).catch(Se=>W.error(Se))})}},6451:(Qe,pe,S)=>{S.d(pe,{T:()=>J});var u=S(8189),y=S(8421),ne=S(515),oe=S(3269),z=S(2076);function J(...Y){const ie=(0,oe.yG)(Y),le=(0,oe._6)(Y,1/0),fe=Y;return fe.length?1===fe.length?(0,y.Xf)(fe[0]):(0,u.J)(le)((0,z.D)(fe,ie)):ne.E}},9646:(Qe,pe,S)=>{S.d(pe,{of:()=>ne});var u=S(3269),y=S(2076);function ne(...oe){const z=(0,u.yG)(oe);return(0,y.D)(oe,z)}},2805:(Qe,pe,S)=>{S.d(pe,{H:()=>z});var u=S(9751),y=S(4986),ne=S(3532),oe=S(1165);function z(J=0,Y,ie=y.P){let le=-1;return null!=Y&&((0,ne.K)(Y)?ie=Y:le=Y),new u.y(fe=>{let de=(0,oe.q)(J)?+J-ie.now():J;de<0&&(de=0);let X=0;return ie.schedule(function(){fe.closed||(fe.next(X++),0<=le?this.schedule(void 0,le):fe.complete())},de)})}},5403:(Qe,pe,S)=>{S.d(pe,{x:()=>y});var u=S(930);function y(oe,z,J,Y,ie){return new ne(oe,z,J,Y,ie)}class ne extends u.Lv{constructor(z,J,Y,ie,le,fe){super(z),this.onFinalize=le,this.shouldUnsubscribe=fe,this._next=J?function(de){try{J(de)}catch(X){z.error(X)}}:super._next,this._error=ie?function(de){try{ie(de)}catch(X){z.error(X)}finally{this.unsubscribe()}}:super._error,this._complete=Y?function(){try{Y()}catch(de){z.error(de)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var z;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:J}=this;super.unsubscribe(),!J&&(null===(z=this.onFinalize)||void 0===z||z.call(this))}}}},4351:(Qe,pe,S)=>{S.d(pe,{b:()=>ne});var u=S(5577),y=S(576);function ne(oe,z){return(0,y.m)(z)?(0,u.z)(oe,z,1):(0,u.z)(oe,1)}},1884:(Qe,pe,S)=>{S.d(pe,{x:()=>oe});var u=S(4671),y=S(4482),ne=S(5403);function oe(J,Y=u.y){return J=J??z,(0,y.e)((ie,le)=>{let fe,de=!0;ie.subscribe((0,ne.x)(le,X=>{const ve=Y(X);(de||!J(fe,ve))&&(de=!1,fe=ve,le.next(X))}))})}function z(J,Y){return J===Y}},9300:(Qe,pe,S)=>{S.d(pe,{h:()=>ne});var u=S(4482),y=S(5403);function ne(oe,z){return(0,u.e)((J,Y)=>{let ie=0;J.subscribe((0,y.x)(Y,le=>oe.call(z,le,ie++)&&Y.next(le)))})}},8746:(Qe,pe,S)=>{S.d(pe,{x:()=>y});var u=S(4482);function y(ne){return(0,u.e)((oe,z)=>{try{oe.subscribe(z)}finally{z.add(ne)}})}},4004:(Qe,pe,S)=>{S.d(pe,{U:()=>ne});var u=S(4482),y=S(5403);function ne(oe,z){return(0,u.e)((J,Y)=>{let ie=0;J.subscribe((0,y.x)(Y,le=>{Y.next(oe.call(z,le,ie++))}))})}},9718:(Qe,pe,S)=>{S.d(pe,{h:()=>y});var u=S(4004);function y(ne){return(0,u.U)(()=>ne)}},8189:(Qe,pe,S)=>{S.d(pe,{J:()=>ne});var u=S(5577),y=S(4671);function ne(oe=1/0){return(0,u.z)(y.y,oe)}},5577:(Qe,pe,S)=>{S.d(pe,{z:()=>ie});var u=S(4004),y=S(8421),ne=S(4482),oe=S(9672),z=S(5403),Y=S(576);function ie(le,fe,de=1/0){return(0,Y.m)(fe)?ie((X,ve)=>(0,u.U)((Ee,_e)=>fe(X,Ee,ve,_e))((0,y.Xf)(le(X,ve))),de):("number"==typeof fe&&(de=fe),(0,ne.e)((X,ve)=>function J(le,fe,de,X,ve,Ee,_e,We){const be=[];let Me=0,at=0,Ct=!1;const De=()=>{Ct&&!be.length&&!Me&&fe.complete()},W=qe=>Me<X?Se(qe):be.push(qe),Se=qe=>{Ee&&fe.next(qe),Me++;let Ne=!1;(0,y.Xf)(de(qe,at++)).subscribe((0,z.x)(fe,Re=>{ve?.(Re),Ee?W(Re):fe.next(Re)},()=>{Ne=!0},void 0,()=>{if(Ne)try{for(Me--;be.length&&Me<X;){const Re=be.shift();_e?(0,oe.f)(fe,_e,()=>Se(Re)):Se(Re)}De()}catch(Re){fe.error(Re)}}))};return le.subscribe((0,z.x)(fe,W,()=>{Ct=!0,De()})),()=>{We?.()}}(X,ve,le,de)))}},3099:(Qe,pe,S)=>{S.d(pe,{B:()=>z});var u=S(8421),y=S(7579),ne=S(930),oe=S(4482);function z(Y={}){const{connector:ie=(()=>new y.x),resetOnError:le=!0,resetOnComplete:fe=!0,resetOnRefCountZero:de=!0}=Y;return X=>{let ve,Ee,_e,We=0,be=!1,Me=!1;const at=()=>{Ee?.unsubscribe(),Ee=void 0},Ct=()=>{at(),ve=_e=void 0,be=Me=!1},De=()=>{const W=ve;Ct(),W?.unsubscribe()};return(0,oe.e)((W,Se)=>{We++,!Me&&!be&&at();const qe=_e=_e??ie();Se.add(()=>{We--,0===We&&!Me&&!be&&(Ee=J(De,de))}),qe.subscribe(Se),!ve&&We>0&&(ve=new ne.Hp({next:Ne=>qe.next(Ne),error:Ne=>{Me=!0,at(),Ee=J(Ct,le,Ne),qe.error(Ne)},complete:()=>{be=!0,at(),Ee=J(Ct,fe),qe.complete()}}),(0,u.Xf)(W).subscribe(ve))})(X)}}function J(Y,ie,...le){if(!0===ie)return void Y();if(!1===ie)return;const fe=new ne.Hp({next:()=>{fe.unsubscribe(),Y()}});return ie(...le).subscribe(fe)}},8675:(Qe,pe,S)=>{S.d(pe,{O:()=>oe});var u=S(7272),y=S(3269),ne=S(4482);function oe(...z){const J=(0,y.yG)(z);return(0,ne.e)((Y,ie)=>{(J?(0,u.z)(z,Y,J):(0,u.z)(z,Y)).subscribe(ie)})}},3900:(Qe,pe,S)=>{S.d(pe,{w:()=>oe});var u=S(8421),y=S(4482),ne=S(5403);function oe(z,J){return(0,y.e)((Y,ie)=>{let le=null,fe=0,de=!1;const X=()=>de&&!le&&ie.complete();Y.subscribe((0,ne.x)(ie,ve=>{le?.unsubscribe();let Ee=0;const _e=fe++;(0,u.Xf)(z(ve,_e)).subscribe(le=(0,ne.x)(ie,We=>ie.next(J?J(ve,We,_e,Ee++):We),()=>{le=null,X()}))},()=>{de=!0,X()}))})}},5698:(Qe,pe,S)=>{S.d(pe,{q:()=>oe});var u=S(515),y=S(4482),ne=S(5403);function oe(z){return z<=0?()=>u.E:(0,y.e)((J,Y)=>{let ie=0;J.subscribe((0,ne.x)(Y,le=>{++ie<=z&&(Y.next(le),z<=ie&&Y.complete())}))})}},2529:(Qe,pe,S)=>{S.d(pe,{o:()=>ne});var u=S(4482),y=S(5403);function ne(oe,z=!1){return(0,u.e)((J,Y)=>{let ie=0;J.subscribe((0,y.x)(Y,le=>{const fe=oe(le,ie++);(fe||z)&&Y.next(le),!fe&&Y.complete()}))})}},8505:(Qe,pe,S)=>{S.d(pe,{b:()=>z});var u=S(576),y=S(4482),ne=S(5403),oe=S(4671);function z(J,Y,ie){const le=(0,u.m)(J)||Y||ie?{next:J,error:Y,complete:ie}:J;return le?(0,y.e)((fe,de)=>{var X;null===(X=le.subscribe)||void 0===X||X.call(le);let ve=!0;fe.subscribe((0,ne.x)(de,Ee=>{var _e;null===(_e=le.next)||void 0===_e||_e.call(le,Ee),de.next(Ee)},()=>{var Ee;ve=!1,null===(Ee=le.complete)||void 0===Ee||Ee.call(le),de.complete()},Ee=>{var _e;ve=!1,null===(_e=le.error)||void 0===_e||_e.call(le,Ee),de.error(Ee)},()=>{var Ee,_e;ve&&(null===(Ee=le.unsubscribe)||void 0===Ee||Ee.call(le)),null===(_e=le.finalize)||void 0===_e||_e.call(le)}))}):oe.y}},4408:(Qe,pe,S)=>{S.d(pe,{o:()=>z});var u=S(727);class y extends u.w0{constructor(Y,ie){super()}schedule(Y,ie=0){return this}}const ne={setInterval(J,Y,...ie){const{delegate:le}=ne;return le?.setInterval?le.setInterval(J,Y,...ie):setInterval(J,Y,...ie)},clearInterval(J){const{delegate:Y}=ne;return(Y?.clearInterval||clearInterval)(J)},delegate:void 0};var oe=S(8737);class z extends y{constructor(Y,ie){super(Y,ie),this.scheduler=Y,this.work=ie,this.pending=!1}schedule(Y,ie=0){var le;if(this.closed)return this;this.state=Y;const fe=this.id,de=this.scheduler;return null!=fe&&(this.id=this.recycleAsyncId(de,fe,ie)),this.pending=!0,this.delay=ie,this.id=null!==(le=this.id)&&void 0!==le?le:this.requestAsyncId(de,this.id,ie),this}requestAsyncId(Y,ie,le=0){return ne.setInterval(Y.flush.bind(Y,this),le)}recycleAsyncId(Y,ie,le=0){if(null!=le&&this.delay===le&&!1===this.pending)return ie;null!=ie&&ne.clearInterval(ie)}execute(Y,ie){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const le=this._execute(Y,ie);if(le)return le;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(Y,ie){let fe,le=!1;try{this.work(Y)}catch(de){le=!0,fe=de||new Error("Scheduled action threw falsy error")}if(le)return this.unsubscribe(),fe}unsubscribe(){if(!this.closed){const{id:Y,scheduler:ie}=this,{actions:le}=ie;this.work=this.state=this.scheduler=null,this.pending=!1,(0,oe.P)(le,this),null!=Y&&(this.id=this.recycleAsyncId(ie,Y,null)),this.delay=null,super.unsubscribe()}}}},7565:(Qe,pe,S)=>{S.d(pe,{v:()=>ne});var u=S(6063);class y{constructor(z,J=y.now){this.schedulerActionCtor=z,this.now=J}schedule(z,J=0,Y){return new this.schedulerActionCtor(this,z).schedule(Y,J)}}y.now=u.l.now;class ne extends y{constructor(z,J=y.now){super(z,J),this.actions=[],this._active=!1}flush(z){const{actions:J}=this;if(this._active)return void J.push(z);let Y;this._active=!0;do{if(Y=z.execute(z.state,z.delay))break}while(z=J.shift());if(this._active=!1,Y){for(;z=J.shift();)z.unsubscribe();throw Y}}}},4986:(Qe,pe,S)=>{S.d(pe,{P:()=>oe,z:()=>ne});var u=S(4408);const ne=new(S(7565).v)(u.o),oe=ne},6063:(Qe,pe,S)=>{S.d(pe,{l:()=>u});const u={now:()=>(u.delegate||Date).now(),delegate:void 0}},3410:(Qe,pe,S)=>{S.d(pe,{z:()=>u});const u={setTimeout(y,ne,...oe){const{delegate:z}=u;return z?.setTimeout?z.setTimeout(y,ne,...oe):setTimeout(y,ne,...oe)},clearTimeout(y){const{delegate:ne}=u;return(ne?.clearTimeout||clearTimeout)(y)},delegate:void 0}},2202:(Qe,pe,S)=>{S.d(pe,{h:()=>y});const y=function u(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},8822:(Qe,pe,S)=>{S.d(pe,{L:()=>u});const u="function"==typeof Symbol&&Symbol.observable||"@@observable"},3269:(Qe,pe,S)=>{S.d(pe,{_6:()=>J,jO:()=>oe,yG:()=>z});var u=S(576),y=S(3532);function ne(Y){return Y[Y.length-1]}function oe(Y){return(0,u.m)(ne(Y))?Y.pop():void 0}function z(Y){return(0,y.K)(ne(Y))?Y.pop():void 0}function J(Y,ie){return"number"==typeof ne(Y)?Y.pop():ie}},4742:(Qe,pe,S)=>{S.d(pe,{D:()=>z});const{isArray:u}=Array,{getPrototypeOf:y,prototype:ne,keys:oe}=Object;function z(Y){if(1===Y.length){const ie=Y[0];if(u(ie))return{args:ie,keys:null};if(function J(Y){return Y&&"object"==typeof Y&&y(Y)===ne}(ie)){const le=oe(ie);return{args:le.map(fe=>ie[fe]),keys:le}}}return{args:Y,keys:null}}},8737:(Qe,pe,S)=>{function u(y,ne){if(y){const oe=y.indexOf(ne);0<=oe&&y.splice(oe,1)}}S.d(pe,{P:()=>u})},3888:(Qe,pe,S)=>{function u(y){const oe=y(z=>{Error.call(z),z.stack=(new Error).stack});return oe.prototype=Object.create(Error.prototype),oe.prototype.constructor=oe,oe}S.d(pe,{d:()=>u})},1810:(Qe,pe,S)=>{function u(y,ne){return y.reduce((oe,z,J)=>(oe[z]=ne[J],oe),{})}S.d(pe,{n:()=>u})},2806:(Qe,pe,S)=>{S.d(pe,{O:()=>oe,x:()=>ne});var u=S(2416);let y=null;function ne(z){if(u.v.useDeprecatedSynchronousErrorHandling){const J=!y;if(J&&(y={errorThrown:!1,error:null}),z(),J){const{errorThrown:Y,error:ie}=y;if(y=null,Y)throw ie}}else z()}function oe(z){u.v.useDeprecatedSynchronousErrorHandling&&y&&(y.errorThrown=!0,y.error=z)}},9672:(Qe,pe,S)=>{function u(y,ne,oe,z=0,J=!1){const Y=ne.schedule(function(){oe(),J?y.add(this.schedule(null,z)):this.unsubscribe()},z);if(y.add(Y),!J)return Y}S.d(pe,{f:()=>u})},4671:(Qe,pe,S)=>{function u(y){return y}S.d(pe,{y:()=>u})},1144:(Qe,pe,S)=>{S.d(pe,{z:()=>u});const u=y=>y&&"number"==typeof y.length&&"function"!=typeof y},2206:(Qe,pe,S)=>{S.d(pe,{D:()=>y});var u=S(576);function y(ne){return Symbol.asyncIterator&&(0,u.m)(ne?.[Symbol.asyncIterator])}},1165:(Qe,pe,S)=>{function u(y){return y instanceof Date&&!isNaN(y)}S.d(pe,{q:()=>u})},576:(Qe,pe,S)=>{function u(y){return"function"==typeof y}S.d(pe,{m:()=>u})},3670:(Qe,pe,S)=>{S.d(pe,{c:()=>ne});var u=S(8822),y=S(576);function ne(oe){return(0,y.m)(oe[u.L])}},6495:(Qe,pe,S)=>{S.d(pe,{T:()=>ne});var u=S(2202),y=S(576);function ne(oe){return(0,y.m)(oe?.[u.h])}},8239:(Qe,pe,S)=>{S.d(pe,{t:()=>y});var u=S(576);function y(ne){return(0,u.m)(ne?.then)}},3260:(Qe,pe,S)=>{S.d(pe,{L:()=>oe,Q:()=>ne});var u=S(655),y=S(576);function ne(z){return(0,u.FC)(this,arguments,function*(){const Y=z.getReader();try{for(;;){const{value:ie,done:le}=yield(0,u.qq)(Y.read());if(le)return yield(0,u.qq)(void 0);yield yield(0,u.qq)(ie)}}finally{Y.releaseLock()}})}function oe(z){return(0,y.m)(z?.getReader)}},3532:(Qe,pe,S)=>{S.d(pe,{K:()=>y});var u=S(576);function y(ne){return ne&&(0,u.m)(ne.schedule)}},4482:(Qe,pe,S)=>{S.d(pe,{A:()=>y,e:()=>ne});var u=S(576);function y(oe){return(0,u.m)(oe?.lift)}function ne(oe){return z=>{if(y(z))return z.lift(function(J){try{return oe(J,this)}catch(Y){this.error(Y)}});throw new TypeError("Unable to lift unknown Observable type")}}},3268:(Qe,pe,S)=>{S.d(pe,{Z:()=>oe});var u=S(4004);const{isArray:y}=Array;function oe(z){return(0,u.U)(J=>function ne(z,J){return y(J)?z(...J):z(J)}(z,J))}},5032:(Qe,pe,S)=>{function u(){}S.d(pe,{Z:()=>u})},9635:(Qe,pe,S)=>{S.d(pe,{U:()=>ne,z:()=>y});var u=S(4671);function y(...oe){return ne(oe)}function ne(oe){return 0===oe.length?u.y:1===oe.length?oe[0]:function(J){return oe.reduce((Y,ie)=>ie(Y),J)}}},7849:(Qe,pe,S)=>{S.d(pe,{h:()=>ne});var u=S(2416),y=S(3410);function ne(oe){y.z.setTimeout(()=>{const{onUnhandledError:z}=u.v;if(!z)throw oe;z(oe)})}},4532:(Qe,pe,S)=>{function u(y){return new TypeError(`You provided ${null!==y&&"object"==typeof y?"an invalid object":`'${y}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}S.d(pe,{z:()=>u})},655:(Qe,pe,S)=>{function ie(Q,ee,ge,ae){return new(ge||(ge=Promise))(function(Le,gt){function Xe(Bt){try{Ge(ae.next(Bt))}catch(Pe){gt(Pe)}}function It(Bt){try{Ge(ae.throw(Bt))}catch(Pe){gt(Pe)}}function Ge(Bt){Bt.done?Le(Bt.value):function He(Le){return Le instanceof ge?Le:new ge(function(gt){gt(Le)})}(Bt.value).then(Xe,It)}Ge((ae=ae.apply(Q,ee||[])).next())})}function be(Q){return this instanceof be?(this.v=Q,this):new be(Q)}function Me(Q,ee,ge){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var He,ae=ge.apply(Q,ee||[]),Le=[];return He={},gt("next"),gt("throw"),gt("return"),He[Symbol.asyncIterator]=function(){return this},He;function gt(Oe){ae[Oe]&&(He[Oe]=function(K){return new Promise(function(me,Be){Le.push([Oe,K,me,Be])>1||Xe(Oe,K)})})}function Xe(Oe,K){try{!function It(Oe){Oe.value instanceof be?Promise.resolve(Oe.value.v).then(Ge,Bt):Pe(Le[0][2],Oe)}(ae[Oe](K))}catch(me){Pe(Le[0][3],me)}}function Ge(Oe){Xe("next",Oe)}function Bt(Oe){Xe("throw",Oe)}function Pe(Oe,K){Oe(K),Le.shift(),Le.length&&Xe(Le[0][0],Le[0][1])}}function Ct(Q){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var ge,ee=Q[Symbol.asyncIterator];return ee?ee.call(Q):(Q=function X(Q){var ee="function"==typeof Symbol&&Symbol.iterator,ge=ee&&Q[ee],ae=0;if(ge)return ge.call(Q);if(Q&&"number"==typeof Q.length)return{next:function(){return Q&&ae>=Q.length&&(Q=void 0),{value:Q&&Q[ae++],done:!Q}}};throw new TypeError(ee?"Object is not iterable.":"Symbol.iterator is not defined.")}(Q),ge={},ae("next"),ae("throw"),ae("return"),ge[Symbol.asyncIterator]=function(){return this},ge);function ae(Le){ge[Le]=Q[Le]&&function(gt){return new Promise(function(Xe,It){!function He(Le,gt,Xe,It){Promise.resolve(It).then(function(Ge){Le({value:Ge,done:Xe})},gt)}(Xe,It,(gt=Q[Le](gt)).done,gt.value)})}}}S.d(pe,{FC:()=>Me,KL:()=>Ct,mG:()=>ie,qq:()=>be})},7340:(Qe,pe,S)=>{S.d(pe,{F4:()=>fe,IO:()=>_e,LC:()=>y,SB:()=>le,X$:()=>oe,ZE:()=>at,ZN:()=>Me,_j:()=>u,eR:()=>de,jt:()=>z,k1:()=>Ct,l3:()=>ne,oB:()=>ie,pV:()=>ve,ru:()=>J,vP:()=>Y});class u{}class y{}const ne="*";function oe(De,W){return{type:7,name:De,definitions:W,options:{}}}function z(De,W=null){return{type:4,styles:W,timings:De}}function J(De,W=null){return{type:3,steps:De,options:W}}function Y(De,W=null){return{type:2,steps:De,options:W}}function ie(De){return{type:6,styles:De,offset:null}}function le(De,W,Se){return{type:0,name:De,styles:W,options:Se}}function fe(De){return{type:5,steps:De}}function de(De,W,Se=null){return{type:1,expr:De,animation:W,options:Se}}function ve(De=null){return{type:9,options:De}}function _e(De,W,Se=null){return{type:11,selector:De,animation:W,options:Se}}function be(De){Promise.resolve(null).then(De)}class Me{constructor(W=0,Se=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=W+Se}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(W=>W()),this._onDoneFns=[])}onStart(W){this._originalOnStartFns.push(W),this._onStartFns.push(W)}onDone(W){this._originalOnDoneFns.push(W),this._onDoneFns.push(W)}onDestroy(W){this._onDestroyFns.push(W)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){be(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(W=>W()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(W=>W()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(W){this._position=this.totalTime?W*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(W){const Se="start"==W?this._onStartFns:this._onDoneFns;Se.forEach(qe=>qe()),Se.length=0}}class at{constructor(W){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=W;let Se=0,qe=0,Ne=0;const Re=this.players.length;0==Re?be(()=>this._onFinish()):this.players.forEach(ke=>{ke.onDone(()=>{++Se==Re&&this._onFinish()}),ke.onDestroy(()=>{++qe==Re&&this._onDestroy()}),ke.onStart(()=>{++Ne==Re&&this._onStart()})}),this.totalTime=this.players.reduce((ke,Q)=>Math.max(ke,Q.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(W=>W()),this._onDoneFns=[])}init(){this.players.forEach(W=>W.init())}onStart(W){this._onStartFns.push(W)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(W=>W()),this._onStartFns=[])}onDone(W){this._onDoneFns.push(W)}onDestroy(W){this._onDestroyFns.push(W)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(W=>W.play())}pause(){this.players.forEach(W=>W.pause())}restart(){this.players.forEach(W=>W.restart())}finish(){this._onFinish(),this.players.forEach(W=>W.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(W=>W.destroy()),this._onDestroyFns.forEach(W=>W()),this._onDestroyFns=[])}reset(){this.players.forEach(W=>W.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(W){const Se=W*this.totalTime;this.players.forEach(qe=>{const Ne=qe.totalTime?Math.min(1,Se/qe.totalTime):1;qe.setPosition(Ne)})}getPosition(){const W=this.players.reduce((Se,qe)=>null===Se||qe.totalTime>Se.totalTime?qe:Se,null);return null!=W?W.getPosition():0}beforeDestroy(){this.players.forEach(W=>{W.beforeDestroy&&W.beforeDestroy()})}triggerCallback(W){const Se="start"==W?this._onStartFns:this._onDoneFns;Se.forEach(qe=>qe()),Se.length=0}}const Ct="!"},6895:(Qe,pe,S)=>{S.d(pe,{$G:()=>xr,Do:()=>Ct,ED:()=>Fi,EM:()=>Vr,HT:()=>z,JF:()=>$n,JJ:()=>kr,K0:()=>Y,Mx:()=>xn,NF:()=>ni,O5:()=>mn,OU:()=>Ei,Ov:()=>fr,PC:()=>oo,RF:()=>In,S$:()=>be,V_:()=>fe,Ye:()=>De,b0:()=>at,bD:()=>kn,ez:()=>Hi,mk:()=>di,n9:()=>gn,q:()=>ne,sg:()=>vr,tP:()=>Mo,uU:()=>Tr,w_:()=>J});var u=S(4650);let y=null;function ne(){return y}function z(E){y||(y=E)}class J{}const Y=new u.OlP("DocumentToken");let ie=(()=>{class E{historyGo(w){throw new Error("Not implemented")}}return E.\u0275fac=function(w){return new(w||E)},E.\u0275prov=u.Yz7({token:E,factory:function(){return function le(){return(0,u.LFG)(de)}()},providedIn:"platform"}),E})();const fe=new u.OlP("Location Initialized");let de=(()=>{class E extends ie{constructor(w){super(),this._doc=w,this._init()}_init(){this.location=window.location,this._history=window.history}getBaseHrefFromDOM(){return ne().getBaseHref(this._doc)}onPopState(w){const N=ne().getGlobalEventTarget(this._doc,"window");return N.addEventListener("popstate",w,!1),()=>N.removeEventListener("popstate",w)}onHashChange(w){const N=ne().getGlobalEventTarget(this._doc,"window");return N.addEventListener("hashchange",w,!1),()=>N.removeEventListener("hashchange",w)}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(w){this.location.pathname=w}pushState(w,N,G){X()?this._history.pushState(w,N,G):this.location.hash=G}replaceState(w,N,G){X()?this._history.replaceState(w,N,G):this.location.hash=G}forward(){this._history.forward()}back(){this._history.back()}historyGo(w=0){this._history.go(w)}getState(){return this._history.state}}return E.\u0275fac=function(w){return new(w||E)(u.LFG(Y))},E.\u0275prov=u.Yz7({token:E,factory:function(){return function ve(){return new de((0,u.LFG)(Y))}()},providedIn:"platform"}),E})();function X(){return!!window.history.pushState}function Ee(E,O){if(0==E.length)return O;if(0==O.length)return E;let w=0;return E.endsWith("/")&&w++,O.startsWith("/")&&w++,2==w?E+O.substring(1):1==w?E+O:E+"/"+O}function _e(E){const O=E.match(/#|\?|$/),w=O&&O.index||E.length;return E.slice(0,w-("/"===E[w-1]?1:0))+E.slice(w)}function We(E){return E&&"?"!==E[0]?"?"+E:E}let be=(()=>{class E{historyGo(w){throw new Error("Not implemented")}}return E.\u0275fac=function(w){return new(w||E)},E.\u0275prov=u.Yz7({token:E,factory:function(){return(0,u.f3M)(at)},providedIn:"root"}),E})();const Me=new u.OlP("appBaseHref");let at=(()=>{class E extends be{constructor(w,N){super(),this._platformLocation=w,this._removeListenerFns=[],this._baseHref=N??this._platformLocation.getBaseHrefFromDOM()??(0,u.f3M)(Y).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(w){this._removeListenerFns.push(this._platformLocation.onPopState(w),this._platformLocation.onHashChange(w))}getBaseHref(){return this._baseHref}prepareExternalUrl(w){return Ee(this._baseHref,w)}path(w=!1){const N=this._platformLocation.pathname+We(this._platformLocation.search),G=this._platformLocation.hash;return G&&w?`${N}${G}`:N}pushState(w,N,G,ye){const ue=this.prepareExternalUrl(G+We(ye));this._platformLocation.pushState(w,N,ue)}replaceState(w,N,G,ye){const ue=this.prepareExternalUrl(G+We(ye));this._platformLocation.replaceState(w,N,ue)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(w=0){this._platformLocation.historyGo?.(w)}}return E.\u0275fac=function(w){return new(w||E)(u.LFG(ie),u.LFG(Me,8))},E.\u0275prov=u.Yz7({token:E,factory:E.\u0275fac,providedIn:"root"}),E})(),Ct=(()=>{class E extends be{constructor(w,N){super(),this._platformLocation=w,this._baseHref="",this._removeListenerFns=[],null!=N&&(this._baseHref=N)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(w){this._removeListenerFns.push(this._platformLocation.onPopState(w),this._platformLocation.onHashChange(w))}getBaseHref(){return this._baseHref}path(w=!1){let N=this._platformLocation.hash;return null==N&&(N="#"),N.length>0?N.substring(1):N}prepareExternalUrl(w){const N=Ee(this._baseHref,w);return N.length>0?"#"+N:N}pushState(w,N,G,ye){let ue=this.prepareExternalUrl(G+We(ye));0==ue.length&&(ue=this._platformLocation.pathname),this._platformLocation.pushState(w,N,ue)}replaceState(w,N,G,ye){let ue=this.prepareExternalUrl(G+We(ye));0==ue.length&&(ue=this._platformLocation.pathname),this._platformLocation.replaceState(w,N,ue)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(w=0){this._platformLocation.historyGo?.(w)}}return E.\u0275fac=function(w){return new(w||E)(u.LFG(ie),u.LFG(Me,8))},E.\u0275prov=u.Yz7({token:E,factory:E.\u0275fac}),E})(),De=(()=>{class E{constructor(w){this._subject=new u.vpe,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=w;const N=this._locationStrategy.getBaseHref();this._baseHref=_e(qe(N)),this._locationStrategy.onPopState(G=>{this._subject.emit({url:this.path(!0),pop:!0,state:G.state,type:G.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(w=!1){return this.normalize(this._locationStrategy.path(w))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(w,N=""){return this.path()==this.normalize(w+We(N))}normalize(w){return E.stripTrailingSlash(function Se(E,O){return E&&O.startsWith(E)?O.substring(E.length):O}(this._baseHref,qe(w)))}prepareExternalUrl(w){return w&&"/"!==w[0]&&(w="/"+w),this._locationStrategy.prepareExternalUrl(w)}go(w,N="",G=null){this._locationStrategy.pushState(G,"",w,N),this._notifyUrlChangeListeners(this.prepareExternalUrl(w+We(N)),G)}replaceState(w,N="",G=null){this._locationStrategy.replaceState(G,"",w,N),this._notifyUrlChangeListeners(this.prepareExternalUrl(w+We(N)),G)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(w=0){this._locationStrategy.historyGo?.(w)}onUrlChange(w){return this._urlChangeListeners.push(w),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(N=>{this._notifyUrlChangeListeners(N.url,N.state)})),()=>{const N=this._urlChangeListeners.indexOf(w);this._urlChangeListeners.splice(N,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(w="",N){this._urlChangeListeners.forEach(G=>G(w,N))}subscribe(w,N,G){return this._subject.subscribe({next:w,error:N,complete:G})}}return E.normalizeQueryParams=We,E.joinWithSlash=Ee,E.stripTrailingSlash=_e,E.\u0275fac=function(w){return new(w||E)(u.LFG(be))},E.\u0275prov=u.Yz7({token:E,factory:function(){return function W(){return new De((0,u.LFG)(be))}()},providedIn:"root"}),E})();function qe(E){return E.replace(/\/index.html$/,"")}var Re=(()=>((Re=Re||{})[Re.Decimal=0]="Decimal",Re[Re.Percent=1]="Percent",Re[Re.Currency=2]="Currency",Re[Re.Scientific=3]="Scientific",Re))(),Q=(()=>((Q=Q||{})[Q.Format=0]="Format",Q[Q.Standalone=1]="Standalone",Q))(),ee=(()=>((ee=ee||{})[ee.Narrow=0]="Narrow",ee[ee.Abbreviated=1]="Abbreviated",ee[ee.Wide=2]="Wide",ee[ee.Short=3]="Short",ee))(),ge=(()=>((ge=ge||{})[ge.Short=0]="Short",ge[ge.Medium=1]="Medium",ge[ge.Long=2]="Long",ge[ge.Full=3]="Full",ge))(),ae=(()=>((ae=ae||{})[ae.Decimal=0]="Decimal",ae[ae.Group=1]="Group",ae[ae.List=2]="List",ae[ae.PercentSign=3]="PercentSign",ae[ae.PlusSign=4]="PlusSign",ae[ae.MinusSign=5]="MinusSign",ae[ae.Exponential=6]="Exponential",ae[ae.SuperscriptingExponent=7]="SuperscriptingExponent",ae[ae.PerMille=8]="PerMille",ae[ae.Infinity=9]="Infinity",ae[ae.NaN=10]="NaN",ae[ae.TimeSeparator=11]="TimeSeparator",ae[ae.CurrencyDecimal=12]="CurrencyDecimal",ae[ae.CurrencyGroup=13]="CurrencyGroup",ae))();function Oe(E,O){return Wt((0,u.cg1)(E)[u.wAp.DateFormat],O)}function K(E,O){return Wt((0,u.cg1)(E)[u.wAp.TimeFormat],O)}function me(E,O){return Wt((0,u.cg1)(E)[u.wAp.DateTimeFormat],O)}function Be(E,O){const w=(0,u.cg1)(E),N=w[u.wAp.NumberSymbols][O];if(typeof N>"u"){if(O===ae.CurrencyDecimal)return w[u.wAp.NumberSymbols][ae.Decimal];if(O===ae.CurrencyGroup)return w[u.wAp.NumberSymbols][ae.Group]}return N}function En(E){if(!E[u.wAp.ExtraData])throw new Error(`Missing extra locale data for the locale "${E[u.wAp.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function Wt(E,O){for(let w=O;w>-1;w--)if(typeof E[w]<"u")return E[w];throw new Error("Locale data API: locale data undefined")}function Hn(E){const[O,w]=E.split(":");return{hours:+O,minutes:+w}}const gr=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,dn={},Ae=/((?:[^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 U=(()=>((U=U||{})[U.Short=0]="Short",U[U.ShortGMT=1]="ShortGMT",U[U.Long=2]="Long",U[U.Extended=3]="Extended",U))(),L=(()=>((L=L||{})[L.FullYear=0]="FullYear",L[L.Month=1]="Month",L[L.Date=2]="Date",L[L.Hours=3]="Hours",L[L.Minutes=4]="Minutes",L[L.Seconds=5]="Seconds",L[L.FractionalSeconds=6]="FractionalSeconds",L[L.Day=7]="Day",L))(),se=(()=>((se=se||{})[se.DayPeriods=0]="DayPeriods",se[se.Days=1]="Days",se[se.Months=2]="Months",se[se.Eras=3]="Eras",se))();function Fe(E,O,w,N){let G=function hn(E){if(an(E))return E;if("number"==typeof E&&!isNaN(E))return new Date(E);if("string"==typeof E){if(E=E.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(E)){const[G,ye=1,ue=1]=E.split("-").map(et=>+et);return je(G,ye-1,ue)}const w=parseFloat(E);if(!isNaN(E-w))return new Date(w);let N;if(N=E.match(gr))return function Sn(E){const O=new Date(0);let w=0,N=0;const G=E[8]?O.setUTCFullYear:O.setFullYear,ye=E[8]?O.setUTCHours:O.setHours;E[9]&&(w=Number(E[9]+E[10]),N=Number(E[9]+E[11])),G.call(O,Number(E[1]),Number(E[2])-1,Number(E[3]));const ue=Number(E[4]||0)-w,et=Number(E[5]||0)-N,Rt=Number(E[6]||0),Kt=Math.floor(1e3*parseFloat("0."+(E[7]||0)));return ye.call(O,ue,et,Rt,Kt),O}(N)}const O=new Date(E);if(!an(O))throw new Error(`Unable to convert "${E}" into a date`);return O}(E);O=Mt(w,O)||O;let et,ue=[];for(;O;){if(et=Ae.exec(O),!et){ue.push(O);break}{ue=ue.concat(et.slice(1));const zt=ue.pop();if(!zt)break;O=zt}}let Rt=G.getTimezoneOffset();N&&(Rt=Jn(N,Rt),G=function fn(E,O,w){const N=w?-1:1,G=E.getTimezoneOffset();return function Ft(E,O){return(E=new Date(E.getTime())).setMinutes(E.getMinutes()+O),E}(E,N*(Jn(O,G)-G))}(G,N,!0));let Kt="";return ue.forEach(zt=>{const kt=function cr(E){if(mr[E])return mr[E];let O;switch(E){case"G":case"GG":case"GGG":O=ft(se.Eras,ee.Abbreviated);break;case"GGGG":O=ft(se.Eras,ee.Wide);break;case"GGGGG":O=ft(se.Eras,ee.Narrow);break;case"y":O=Nt(L.FullYear,1,0,!1,!0);break;case"yy":O=Nt(L.FullYear,2,0,!0,!0);break;case"yyy":O=Nt(L.FullYear,3,0,!1,!0);break;case"yyyy":O=Nt(L.FullYear,4,0,!1,!0);break;case"Y":O=Tn(1);break;case"YY":O=Tn(2,!0);break;case"YYY":O=Tn(3);break;case"YYYY":O=Tn(4);break;case"M":case"L":O=Nt(L.Month,1,1);break;case"MM":case"LL":O=Nt(L.Month,2,1);break;case"MMM":O=ft(se.Months,ee.Abbreviated);break;case"MMMM":O=ft(se.Months,ee.Wide);break;case"MMMMM":O=ft(se.Months,ee.Narrow);break;case"LLL":O=ft(se.Months,ee.Abbreviated,Q.Standalone);break;case"LLLL":O=ft(se.Months,ee.Wide,Q.Standalone);break;case"LLLLL":O=ft(se.Months,ee.Narrow,Q.Standalone);break;case"w":O=Zn(1);break;case"ww":O=Zn(2);break;case"W":O=Zn(1,!0);break;case"d":O=Nt(L.Date,1);break;case"dd":O=Nt(L.Date,2);break;case"c":case"cc":O=Nt(L.Day,1);break;case"ccc":O=ft(se.Days,ee.Abbreviated,Q.Standalone);break;case"cccc":O=ft(se.Days,ee.Wide,Q.Standalone);break;case"ccccc":O=ft(se.Days,ee.Narrow,Q.Standalone);break;case"cccccc":O=ft(se.Days,ee.Short,Q.Standalone);break;case"E":case"EE":case"EEE":O=ft(se.Days,ee.Abbreviated);break;case"EEEE":O=ft(se.Days,ee.Wide);break;case"EEEEE":O=ft(se.Days,ee.Narrow);break;case"EEEEEE":O=ft(se.Days,ee.Short);break;case"a":case"aa":case"aaa":O=ft(se.DayPeriods,ee.Abbreviated);break;case"aaaa":O=ft(se.DayPeriods,ee.Wide);break;case"aaaaa":O=ft(se.DayPeriods,ee.Narrow);break;case"b":case"bb":case"bbb":O=ft(se.DayPeriods,ee.Abbreviated,Q.Standalone,!0);break;case"bbbb":O=ft(se.DayPeriods,ee.Wide,Q.Standalone,!0);break;case"bbbbb":O=ft(se.DayPeriods,ee.Narrow,Q.Standalone,!0);break;case"B":case"BB":case"BBB":O=ft(se.DayPeriods,ee.Abbreviated,Q.Format,!0);break;case"BBBB":O=ft(se.DayPeriods,ee.Wide,Q.Format,!0);break;case"BBBBB":O=ft(se.DayPeriods,ee.Narrow,Q.Format,!0);break;case"h":O=Nt(L.Hours,1,-12);break;case"hh":O=Nt(L.Hours,2,-12);break;case"H":O=Nt(L.Hours,1);break;case"HH":O=Nt(L.Hours,2);break;case"m":O=Nt(L.Minutes,1);break;case"mm":O=Nt(L.Minutes,2);break;case"s":O=Nt(L.Seconds,1);break;case"ss":O=Nt(L.Seconds,2);break;case"S":O=Nt(L.FractionalSeconds,1);break;case"SS":O=Nt(L.FractionalSeconds,2);break;case"SSS":O=Nt(L.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":O=Gt(U.Short);break;case"ZZZZZ":O=Gt(U.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":O=Gt(U.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":O=Gt(U.Long);break;default:return null}return mr[E]=O,O}(zt);Kt+=kt?kt(G,w,Rt):"''"===zt?"'":zt.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),Kt}function je(E,O,w){const N=new Date(0);return N.setFullYear(E,O,w),N.setHours(0,0,0),N}function Mt(E,O){const w=function Le(E){return(0,u.cg1)(E)[u.wAp.LocaleId]}(E);if(dn[w]=dn[w]||{},dn[w][O])return dn[w][O];let N="";switch(O){case"shortDate":N=Oe(E,ge.Short);break;case"mediumDate":N=Oe(E,ge.Medium);break;case"longDate":N=Oe(E,ge.Long);break;case"fullDate":N=Oe(E,ge.Full);break;case"shortTime":N=K(E,ge.Short);break;case"mediumTime":N=K(E,ge.Medium);break;case"longTime":N=K(E,ge.Long);break;case"fullTime":N=K(E,ge.Full);break;case"short":const G=Mt(E,"shortTime"),ye=Mt(E,"shortDate");N=Ze(me(E,ge.Short),[G,ye]);break;case"medium":const ue=Mt(E,"mediumTime"),et=Mt(E,"mediumDate");N=Ze(me(E,ge.Medium),[ue,et]);break;case"long":const Rt=Mt(E,"longTime"),Kt=Mt(E,"longDate");N=Ze(me(E,ge.Long),[Rt,Kt]);break;case"full":const zt=Mt(E,"fullTime"),kt=Mt(E,"fullDate");N=Ze(me(E,ge.Full),[zt,kt])}return N&&(dn[w][O]=N),N}function Ze(E,O){return O&&(E=E.replace(/\{([^}]+)}/g,function(w,N){return null!=O&&N in O?O[N]:w})),E}function lt(E,O,w="-",N,G){let ye="";(E<0||G&&E<=0)&&(G?E=1-E:(E=-E,ye=w));let ue=String(E);for(;ue.length<O;)ue="0"+ue;return N&&(ue=ue.slice(ue.length-O)),ye+ue}function Nt(E,O,w=0,N=!1,G=!1){return function(ye,ue){let et=function Un(E,O){switch(E){case L.FullYear:return O.getFullYear();case L.Month:return O.getMonth();case L.Date:return O.getDate();case L.Hours:return O.getHours();case L.Minutes:return O.getMinutes();case L.Seconds:return O.getSeconds();case L.FractionalSeconds:return O.getMilliseconds();case L.Day:return O.getDay();default:throw new Error(`Unknown DateType value "${E}".`)}}(E,ye);if((w>0||et>-w)&&(et+=w),E===L.Hours)0===et&&-12===w&&(et=12);else if(E===L.FractionalSeconds)return function ot(E,O){return lt(E,3).substring(0,O)}(et,O);const Rt=Be(ue,ae.MinusSign);return lt(et,O,Rt,N,G)}}function ft(E,O,w=Q.Format,N=!1){return function(G,ye){return function jt(E,O,w,N,G,ye){switch(w){case se.Months:return function It(E,O,w){const N=(0,u.cg1)(E),ye=Wt([N[u.wAp.MonthsFormat],N[u.wAp.MonthsStandalone]],O);return Wt(ye,w)}(O,G,N)[E.getMonth()];case se.Days:return function Xe(E,O,w){const N=(0,u.cg1)(E),ye=Wt([N[u.wAp.DaysFormat],N[u.wAp.DaysStandalone]],O);return Wt(ye,w)}(O,G,N)[E.getDay()];case se.DayPeriods:const ue=E.getHours(),et=E.getMinutes();if(ye){const Kt=function Xt(E){const O=(0,u.cg1)(E);return En(O),(O[u.wAp.ExtraData][2]||[]).map(N=>"string"==typeof N?Hn(N):[Hn(N[0]),Hn(N[1])])}(O),zt=function Rn(E,O,w){const N=(0,u.cg1)(E);En(N);const ye=Wt([N[u.wAp.ExtraData][0],N[u.wAp.ExtraData][1]],O)||[];return Wt(ye,w)||[]}(O,G,N),kt=Kt.findIndex(un=>{if(Array.isArray(un)){const[Ht,Zt]=un,Ie=ue>=Ht.hours&&et>=Ht.minutes,St=ue<Zt.hours||ue===Zt.hours&&et<Zt.minutes;if(Ht.hours<Zt.hours){if(Ie&&St)return!0}else if(Ie||St)return!0}else if(un.hours===ue&&un.minutes===et)return!0;return!1});if(-1!==kt)return zt[kt]}return function gt(E,O,w){const N=(0,u.cg1)(E),ye=Wt([N[u.wAp.DayPeriodsFormat],N[u.wAp.DayPeriodsStandalone]],O);return Wt(ye,w)}(O,G,N)[ue<12?0:1];case se.Eras:return function Ge(E,O){return Wt((0,u.cg1)(E)[u.wAp.Eras],O)}(O,N)[E.getFullYear()<=0?0:1];default:throw new Error(`unexpected translation type ${w}`)}}(G,ye,E,O,w,N)}}function Gt(E){return function(O,w,N){const G=-1*N,ye=Be(w,ae.MinusSign),ue=G>0?Math.floor(G/60):Math.ceil(G/60);switch(E){case U.Short:return(G>=0?"+":"")+lt(ue,2,ye)+lt(Math.abs(G%60),2,ye);case U.ShortGMT:return"GMT"+(G>=0?"+":"")+lt(ue,1,ye);case U.Long:return"GMT"+(G>=0?"+":"")+lt(ue,2,ye)+":"+lt(Math.abs(G%60),2,ye);case U.Extended:return 0===N?"Z":(G>=0?"+":"")+lt(ue,2,ye)+":"+lt(Math.abs(G%60),2,ye);default:throw new Error(`Unknown zone width "${E}"`)}}}function Qn(E){return je(E.getFullYear(),E.getMonth(),E.getDate()+(4-E.getDay()))}function Zn(E,O=!1){return function(w,N){let G;if(O){const ye=new Date(w.getFullYear(),w.getMonth(),1).getDay()-1,ue=w.getDate();G=1+Math.floor((ue+ye)/7)}else{const ye=Qn(w),ue=function en(E){const O=je(E,0,1).getDay();return je(E,0,1+(O<=4?4:11)-O)}(ye.getFullYear()),et=ye.getTime()-ue.getTime();G=1+Math.round(et/6048e5)}return lt(G,E,Be(N,ae.MinusSign))}}function Tn(E,O=!1){return function(w,N){return lt(Qn(w).getFullYear(),E,Be(N,ae.MinusSign),O)}}const mr={};function Jn(E,O){E=E.replace(/:/g,"");const w=Date.parse("Jan 01, 1970 00:00:00 "+E)/6e4;return isNaN(w)?O:w}function an(E){return E instanceof Date&&!isNaN(E.valueOf())}const Ue=/^(\d+)?\.((\d+)(-(\d+))?)?$/,q="0";function tn(E){const O=parseInt(E);if(isNaN(O))throw new Error("Invalid integer literal when parsing "+E);return O}function xn(E,O){O=encodeURIComponent(O);for(const w of E.split(";")){const N=w.indexOf("="),[G,ye]=-1==N?[w,""]:[w.slice(0,N),w.slice(N+1)];if(G.trim()===O)return decodeURIComponent(ye)}return null}let di=(()=>{class E{constructor(w,N,G,ye){this._iterableDiffers=w,this._keyValueDiffers=N,this._ngEl=G,this._renderer=ye,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}set klass(w){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof w?w.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}set ngClass(w){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof w?w.split(/\s+/):w,this._rawClass&&((0,u.sIi)(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}ngDoCheck(){if(this._iterableDiffer){const w=this._iterableDiffer.diff(this._rawClass);w&&this._applyIterableChanges(w)}else if(this._keyValueDiffer){const w=this._keyValueDiffer.diff(this._rawClass);w&&this._applyKeyValueChanges(w)}}_applyKeyValueChanges(w){w.forEachAddedItem(N=>this._toggleClass(N.key,N.currentValue)),w.forEachChangedItem(N=>this._toggleClass(N.key,N.currentValue)),w.forEachRemovedItem(N=>{N.previousValue&&this._toggleClass(N.key,!1)})}_applyIterableChanges(w){w.forEachAddedItem(N=>{if("string"!=typeof N.item)throw new Error(`NgClass can only toggle CSS classes expressed as strings, got ${(0,u.AaK)(N.item)}`);this._toggleClass(N.item,!0)}),w.forEachRemovedItem(N=>this._toggleClass(N.item,!1))}_applyClasses(w){w&&(Array.isArray(w)||w instanceof Set?w.forEach(N=>this._toggleClass(N,!0)):Object.keys(w).forEach(N=>this._toggleClass(N,!!w[N])))}_removeClasses(w){w&&(Array.isArray(w)||w instanceof Set?w.forEach(N=>this._toggleClass(N,!1)):Object.keys(w).forEach(N=>this._toggleClass(N,!1)))}_toggleClass(w,N){(w=w.trim())&&w.split(/\s+/g).forEach(G=>{N?this._renderer.addClass(this._ngEl.nativeElement,G):this._renderer.removeClass(this._ngEl.nativeElement,G)})}}return E.\u0275fac=function(w){return new(w||E)(u.Y36(u.ZZ4),u.Y36(u.aQg),u.Y36(u.SBq),u.Y36(u.Qsj))},E.\u0275dir=u.lG2({type:E,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"},standalone:!0}),E})(),xr=(()=>{class E{constructor(w){this._viewContainerRef=w,this.ngComponentOutlet=null}ngOnChanges(w){const{_viewContainerRef:N,ngComponentOutletNgModule:G,ngComponentOutletNgModuleFactory:ye}=this;if(N.clear(),this._componentRef=void 0,this.ngComponentOutlet){const ue=this.ngComponentOutletInjector||N.parentInjector;(w.ngComponentOutletNgModule||w.ngComponentOutletNgModuleFactory)&&(this._moduleRef&&this._moduleRef.destroy(),this._moduleRef=G?(0,u.Lck)(G,Fr(ue)):ye?ye.create(Fr(ue)):void 0),this._componentRef=N.createComponent(this.ngComponentOutlet,{index:N.length,injector:ue,ngModuleRef:this._moduleRef,projectableNodes:this.ngComponentOutletContent})}}ngOnDestroy(){this._moduleRef&&this._moduleRef.destroy()}}return E.\u0275fac=function(w){return new(w||E)(u.Y36(u.s_b))},E.\u0275dir=u.lG2({type:E,selectors:[["","ngComponentOutlet",""]],inputs:{ngComponentOutlet:"ngComponentOutlet",ngComponentOutletInjector:"ngComponentOutletInjector",ngComponentOutletContent:"ngComponentOutletContent",ngComponentOutletNgModule:"ngComponentOutletNgModule",ngComponentOutletNgModuleFactory:"ngComponentOutletNgModuleFactory"},standalone:!0,features:[u.TTD]}),E})();function Fr(E){return E.get(u.h0i).injector}class tr{constructor(O,w,N,G){this.$implicit=O,this.ngForOf=w,this.index=N,this.count=G}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 vr=(()=>{class E{constructor(w,N,G){this._viewContainer=w,this._template=N,this._differs=G,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForOf(w){this._ngForOf=w,this._ngForOfDirty=!0}set ngForTrackBy(w){this._trackByFn=w}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(w){w&&(this._template=w)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const w=this._ngForOf;!this._differ&&w&&(this._differ=this._differs.find(w).create(this.ngForTrackBy))}if(this._differ){const w=this._differ.diff(this._ngForOf);w&&this._applyChanges(w)}}_applyChanges(w){const N=this._viewContainer;w.forEachOperation((G,ye,ue)=>{if(null==G.previousIndex)N.createEmbeddedView(this._template,new tr(G.item,this._ngForOf,-1,-1),null===ue?void 0:ue);else if(null==ue)N.remove(null===ye?void 0:ye);else if(null!==ye){const et=N.get(ye);N.move(et,ue),ln(et,G)}});for(let G=0,ye=N.length;G<ye;G++){const et=N.get(G).context;et.index=G,et.count=ye,et.ngForOf=this._ngForOf}w.forEachIdentityChange(G=>{ln(N.get(G.currentIndex),G)})}static ngTemplateContextGuard(w,N){return!0}}return E.\u0275fac=function(w){return new(w||E)(u.Y36(u.s_b),u.Y36(u.Rgc),u.Y36(u.ZZ4))},E.\u0275dir=u.lG2({type:E,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0}),E})();function ln(E,O){E.context.$implicit=O.item}let mn=(()=>{class E{constructor(w,N){this._viewContainer=w,this._context=new wn,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=N}set ngIf(w){this._context.$implicit=this._context.ngIf=w,this._updateView()}set ngIfThen(w){On("ngIfThen",w),this._thenTemplateRef=w,this._thenViewRef=null,this._updateView()}set ngIfElse(w){On("ngIfElse",w),this._elseTemplateRef=w,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(w,N){return!0}}return E.\u0275fac=function(w){return new(w||E)(u.Y36(u.s_b),u.Y36(u.Rgc))},E.\u0275dir=u.lG2({type:E,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0}),E})();class wn{constructor(){this.$implicit=null,this.ngIf=null}}function On(E,O){if(O&&!O.createEmbeddedView)throw new Error(`${E} must be a TemplateRef, but received '${(0,u.AaK)(O)}'.`)}class _r{constructor(O,w){this._viewContainerRef=O,this._templateRef=w,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(O){O&&!this._created?this.create():!O&&this._created&&this.destroy()}}let In=(()=>{class E{constructor(){this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(w){this._ngSwitch=w,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(w){this._defaultViews||(this._defaultViews=[]),this._defaultViews.push(w)}_matchCase(w){const N=w==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||N,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),N}_updateDefaultCases(w){if(this._defaultViews&&w!==this._defaultUsed){this._defaultUsed=w;for(let N=0;N<this._defaultViews.length;N++)this._defaultViews[N].enforceState(w)}}}return E.\u0275fac=function(w){return new(w||E)},E.\u0275dir=u.lG2({type:E,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"},standalone:!0}),E})(),gn=(()=>{class E{constructor(w,N,G){this.ngSwitch=G,G._addCase(),this._view=new _r(w,N)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}return E.\u0275fac=function(w){return new(w||E)(u.Y36(u.s_b),u.Y36(u.Rgc),u.Y36(In,9))},E.\u0275dir=u.lG2({type:E,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"},standalone:!0}),E})(),Fi=(()=>{class E{constructor(w,N,G){G._addDefault(new _r(w,N))}}return E.\u0275fac=function(w){return new(w||E)(u.Y36(u.s_b),u.Y36(u.Rgc),u.Y36(In,9))},E.\u0275dir=u.lG2({type:E,selectors:[["","ngSwitchDefault",""]],standalone:!0}),E})(),oo=(()=>{class E{constructor(w,N,G){this._ngEl=w,this._differs=N,this._renderer=G,this._ngStyle=null,this._differ=null}set ngStyle(w){this._ngStyle=w,!this._differ&&w&&(this._differ=this._differs.find(w).create())}ngDoCheck(){if(this._differ){const w=this._differ.diff(this._ngStyle);w&&this._applyChanges(w)}}_setStyle(w,N){const[G,ye]=w.split("."),ue=-1===G.indexOf("-")?void 0:u.JOm.DashCase;null!=N?this._renderer.setStyle(this._ngEl.nativeElement,G,ye?`${N}${ye}`:N,ue):this._renderer.removeStyle(this._ngEl.nativeElement,G,ue)}_applyChanges(w){w.forEachRemovedItem(N=>this._setStyle(N.key,null)),w.forEachAddedItem(N=>this._setStyle(N.key,N.currentValue)),w.forEachChangedItem(N=>this._setStyle(N.key,N.currentValue))}}return E.\u0275fac=function(w){return new(w||E)(u.Y36(u.SBq),u.Y36(u.aQg),u.Y36(u.Qsj))},E.\u0275dir=u.lG2({type:E,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0}),E})(),Mo=(()=>{class E{constructor(w){this._viewContainerRef=w,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(w){if(w.ngTemplateOutlet||w.ngTemplateOutletInjector){const N=this._viewContainerRef;if(this._viewRef&&N.remove(N.indexOf(this._viewRef)),this.ngTemplateOutlet){const{ngTemplateOutlet:G,ngTemplateOutletContext:ye,ngTemplateOutletInjector:ue}=this;this._viewRef=N.createEmbeddedView(G,ye,ue?{injector:ue}:void 0)}else this._viewRef=null}else this._viewRef&&w.ngTemplateOutletContext&&this.ngTemplateOutletContext&&(this._viewRef.context=this.ngTemplateOutletContext)}}return E.\u0275fac=function(w){return new(w||E)(u.Y36(u.s_b))},E.\u0275dir=u.lG2({type:E,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[u.TTD]}),E})();function Fn(E,O){return new u.vHH(2100,!1)}class fi{createSubscription(O,w){return O.subscribe({next:w,error:N=>{throw N}})}dispose(O){O.unsubscribe()}}class Ci{createSubscription(O,w){return O.then(w,N=>{throw N})}dispose(O){}}const ki=new Ci,hi=new fi;let fr=(()=>{class E{constructor(w){this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null,this._ref=w}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(w){return this._obj?w!==this._obj?(this._dispose(),this.transform(w)):this._latestValue:(w&&this._subscribe(w),this._latestValue)}_subscribe(w){this._obj=w,this._strategy=this._selectStrategy(w),this._subscription=this._strategy.createSubscription(w,N=>this._updateLatestValue(w,N))}_selectStrategy(w){if((0,u.QGY)(w))return ki;if((0,u.F4k)(w))return hi;throw Fn()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(w,N){w===this._obj&&(this._latestValue=N,this._ref.markForCheck())}}return E.\u0275fac=function(w){return new(w||E)(u.Y36(u.sBO,16))},E.\u0275pipe=u.Yjl({name:"async",type:E,pure:!1,standalone:!0}),E})();const hr=new u.OlP("DATE_PIPE_DEFAULT_TIMEZONE");let Tr=(()=>{class E{constructor(w,N){this.locale=w,this.defaultTimezone=N}transform(w,N="mediumDate",G,ye){if(null==w||""===w||w!=w)return null;try{return Fe(w,N,ye||this.locale,G??this.defaultTimezone??void 0)}catch(ue){throw Fn()}}}return E.\u0275fac=function(w){return new(w||E)(u.Y36(u.soG,16),u.Y36(hr,24))},E.\u0275pipe=u.Yjl({name:"date",type:E,pure:!0,standalone:!0}),E})(),kr=(()=>{class E{constructor(w){this._locale=w}transform(w,N,G){if(!function Er(E){return!(null==E||""===E||E!=E)}(w))return null;G=G||this._locale;try{return function Mr(E,O,w){return function pt(E,O,w,N,G,ye,ue=!1){let et="",Rt=!1;if(isFinite(E)){let Kt=function rn(E){let N,G,ye,ue,et,O=Math.abs(E)+"",w=0;for((G=O.indexOf("."))>-1&&(O=O.replace(".","")),(ye=O.search(/e/i))>0?(G<0&&(G=ye),G+=+O.slice(ye+1),O=O.substring(0,ye)):G<0&&(G=O.length),ye=0;O.charAt(ye)===q;ye++);if(ye===(et=O.length))N=[0],G=1;else{for(et--;O.charAt(et)===q;)et--;for(G-=ye,N=[],ue=0;ye<=et;ye++,ue++)N[ue]=Number(O.charAt(ye))}return G>22&&(N=N.splice(0,21),w=G-1,G=1),{digits:N,exponent:w,integerLen:G}}(E);ue&&(Kt=function dr(E){if(0===E.digits[0])return E;const O=E.digits.length-E.integerLen;return E.exponent?E.exponent+=2:(0===O?E.digits.push(0,0):1===O&&E.digits.push(0),E.integerLen+=2),E}(Kt));let zt=O.minInt,kt=O.minFrac,un=O.maxFrac;if(ye){const Gn=ye.match(Ue);if(null===Gn)throw new Error(`${ye} is not a valid digit info`);const sn=Gn[1],gi=Gn[3],pr=Gn[5];null!=sn&&(zt=tn(sn)),null!=gi&&(kt=tn(gi)),null!=pr?un=tn(pr):null!=gi&&kt>un&&(un=kt)}!function Xn(E,O,w){if(O>w)throw new Error(`The minimum number of digits after fraction (${O}) is higher than the maximum (${w}).`);let N=E.digits,G=N.length-E.integerLen;const ye=Math.min(Math.max(O,G),w);let ue=ye+E.integerLen,et=N[ue];if(ue>0){N.splice(Math.max(E.integerLen,ue));for(let kt=ue;kt<N.length;kt++)N[kt]=0}else{G=Math.max(0,G),E.integerLen=1,N.length=Math.max(1,ue=ye+1),N[0]=0;for(let kt=1;kt<ue;kt++)N[kt]=0}if(et>=5)if(ue-1<0){for(let kt=0;kt>ue;kt--)N.unshift(0),E.integerLen++;N.unshift(1),E.integerLen++}else N[ue-1]++;for(;G<Math.max(0,ye);G++)N.push(0);let Rt=0!==ye;const Kt=O+E.integerLen,zt=N.reduceRight(function(kt,un,Ht,Zt){return Zt[Ht]=(un+=kt)<10?un:un-10,Rt&&(0===Zt[Ht]&&Ht>=Kt?Zt.pop():Rt=!1),un>=10?1:0},0);zt&&(N.unshift(zt),E.integerLen++)}(Kt,kt,un);let Ht=Kt.digits,Zt=Kt.integerLen;const Ie=Kt.exponent;let St=[];for(Rt=Ht.every(Gn=>!Gn);Zt<zt;Zt++)Ht.unshift(0);for(;Zt<0;Zt++)Ht.unshift(0);Zt>0?St=Ht.splice(Zt,Ht.length):(St=Ht,Ht=[0]);const Br=[];for(Ht.length>=O.lgSize&&Br.unshift(Ht.splice(-O.lgSize,Ht.length).join(""));Ht.length>O.gSize;)Br.unshift(Ht.splice(-O.gSize,Ht.length).join(""));Ht.length&&Br.unshift(Ht.join("")),et=Br.join(Be(w,N)),St.length&&(et+=Be(w,G)+St.join("")),Ie&&(et+=Be(w,ae.Exponential)+"+"+Ie)}else et=Be(w,ae.Infinity);return et=E<0&&!Rt?O.negPre+et+O.negSuf:O.posPre+et+O.posSuf,et}(E,function Rr(E,O="-"){const w={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},N=E.split(";"),G=N[0],ye=N[1],ue=-1!==G.indexOf(".")?G.split("."):[G.substring(0,G.lastIndexOf(q)+1),G.substring(G.lastIndexOf(q)+1)],et=ue[0],Rt=ue[1]||"";w.posPre=et.substring(0,et.indexOf("#"));for(let zt=0;zt<Rt.length;zt++){const kt=Rt.charAt(zt);kt===q?w.minFrac=w.maxFrac=zt+1:"#"===kt?w.maxFrac=zt+1:w.posSuf+=kt}const Kt=et.split(",");if(w.gSize=Kt[1]?Kt[1].length:0,w.lgSize=Kt[2]||Kt[1]?(Kt[2]||Kt[1]).length:0,ye){const zt=G.length-w.posPre.length-w.posSuf.length,kt=ye.indexOf("#");w.negPre=ye.substring(0,kt).replace(/'/g,""),w.negSuf=ye.slice(kt+zt).replace(/'/g,"")}else w.negPre=O+w.posPre,w.negSuf=w.posSuf;return w}(function Et(E,O){return(0,u.cg1)(E)[u.wAp.NumberFormats][O]}(O,Re.Decimal),Be(O,ae.MinusSign)),O,ae.Group,ae.Decimal,w)}(function rr(E){if("string"==typeof E&&!isNaN(Number(E)-parseFloat(E)))return Number(E);if("number"!=typeof E)throw new Error(`${E} is not a number`);return E}(w),G,N)}catch(ye){throw Fn()}}}return E.\u0275fac=function(w){return new(w||E)(u.Y36(u.soG,16))},E.\u0275pipe=u.Yjl({name:"number",type:E,pure:!0,standalone:!0}),E})();let Ei=(()=>{class E{transform(w,N,G){if(null==w)return null;if(!this.supports(w))throw Fn();return w.slice(N,G)}supports(w){return"string"==typeof w||Array.isArray(w)}}return E.\u0275fac=function(w){return new(w||E)},E.\u0275pipe=u.Yjl({name:"slice",type:E,pure:!1,standalone:!0}),E})(),Hi=(()=>{class E{}return E.\u0275fac=function(w){return new(w||E)},E.\u0275mod=u.oAB({type:E}),E.\u0275inj=u.cJS({}),E})();const kn="browser";function ni(E){return E===kn}let Vr=(()=>{class E{}return E.\u0275prov=(0,u.Yz7)({token:E,providedIn:"root",factory:()=>new ir((0,u.LFG)(Y),window)}),E})();class ir{constructor(O,w){this.document=O,this.window=w,this.offset=()=>[0,0]}setOffset(O){this.offset=Array.isArray(O)?()=>O:O}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(O){this.supportsScrolling()&&this.window.scrollTo(O[0],O[1])}scrollToAnchor(O){if(!this.supportsScrolling())return;const w=function ri(E,O){const w=E.getElementById(O)||E.getElementsByName(O)[0];if(w)return w;if("function"==typeof E.createTreeWalker&&E.body&&(E.body.createShadowRoot||E.body.attachShadow)){const N=E.createTreeWalker(E.body,NodeFilter.SHOW_ELEMENT);let G=N.currentNode;for(;G;){const ye=G.shadowRoot;if(ye){const ue=ye.getElementById(O)||ye.querySelector(`[name="${O}"]`);if(ue)return ue}G=N.nextNode()}}return null}(this.document,O);w&&(this.scrollToElement(w),w.focus())}setHistoryScrollRestoration(O){if(this.supportScrollRestoration()){const w=this.window.history;w&&w.scrollRestoration&&(w.scrollRestoration=O)}}scrollToElement(O){const w=O.getBoundingClientRect(),N=w.left+this.window.pageXOffset,G=w.top+this.window.pageYOffset,ye=this.offset();this.window.scrollTo(N-ye[0],G-ye[1])}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const O=qr(this.window.history)||qr(Object.getPrototypeOf(this.window.history));return!(!O||!O.writable&&!O.set)}catch{return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch{return!1}}}function qr(E){return Object.getOwnPropertyDescriptor(E,"scrollRestoration")}class $n{}},529:(Qe,pe,S)=>{S.d(pe,{JF:()=>Nr,TP:()=>Xe,WM:()=>fe,eN:()=>Le});var u=S(6895),y=S(4650),ne=S(9646),oe=S(9751),z=S(4351),J=S(9300),Y=S(4004);class ie{}class le{}class fe{constructor(U){this.normalizedNames=new Map,this.lazyUpdate=null,U?this.lazyInit="string"==typeof U?()=>{this.headers=new Map,U.split("\n").forEach(L=>{const se=L.indexOf(":");if(se>0){const Fe=L.slice(0,se),je=Fe.toLowerCase(),Mt=L.slice(se+1).trim();this.maybeSetNormalizedName(Fe,je),this.headers.has(je)?this.headers.get(je).push(Mt):this.headers.set(je,[Mt])}})}:()=>{this.headers=new Map,Object.keys(U).forEach(L=>{let se=U[L];const Fe=L.toLowerCase();"string"==typeof se&&(se=[se]),se.length>0&&(this.headers.set(Fe,se),this.maybeSetNormalizedName(L,Fe))})}:this.headers=new Map}has(U){return this.init(),this.headers.has(U.toLowerCase())}get(U){this.init();const L=this.headers.get(U.toLowerCase());return L&&L.length>0?L[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(U){return this.init(),this.headers.get(U.toLowerCase())||null}append(U,L){return this.clone({name:U,value:L,op:"a"})}set(U,L){return this.clone({name:U,value:L,op:"s"})}delete(U,L){return this.clone({name:U,value:L,op:"d"})}maybeSetNormalizedName(U,L){this.normalizedNames.has(L)||this.normalizedNames.set(L,U)}init(){this.lazyInit&&(this.lazyInit instanceof fe?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(U=>this.applyUpdate(U)),this.lazyUpdate=null))}copyFrom(U){U.init(),Array.from(U.headers.keys()).forEach(L=>{this.headers.set(L,U.headers.get(L)),this.normalizedNames.set(L,U.normalizedNames.get(L))})}clone(U){const L=new fe;return L.lazyInit=this.lazyInit&&this.lazyInit instanceof fe?this.lazyInit:this,L.lazyUpdate=(this.lazyUpdate||[]).concat([U]),L}applyUpdate(U){const L=U.name.toLowerCase();switch(U.op){case"a":case"s":let se=U.value;if("string"==typeof se&&(se=[se]),0===se.length)return;this.maybeSetNormalizedName(U.name,L);const Fe=("a"===U.op?this.headers.get(L):void 0)||[];Fe.push(...se),this.headers.set(L,Fe);break;case"d":const je=U.value;if(je){let Mt=this.headers.get(L);if(!Mt)return;Mt=Mt.filter(Ze=>-1===je.indexOf(Ze)),0===Mt.length?(this.headers.delete(L),this.normalizedNames.delete(L)):this.headers.set(L,Mt)}else this.headers.delete(L),this.normalizedNames.delete(L)}}forEach(U){this.init(),Array.from(this.normalizedNames.keys()).forEach(L=>U(this.normalizedNames.get(L),this.headers.get(L)))}}class X{encodeKey(U){return We(U)}encodeValue(U){return We(U)}decodeKey(U){return decodeURIComponent(U)}decodeValue(U){return decodeURIComponent(U)}}const Ee=/%(\d[a-f0-9])/gi,_e={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function We(Ae){return encodeURIComponent(Ae).replace(Ee,(U,L)=>_e[L]??U)}function be(Ae){return`${Ae}`}class Me{constructor(U={}){if(this.updates=null,this.cloneFrom=null,this.encoder=U.encoder||new X,U.fromString){if(U.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function ve(Ae,U){const L=new Map;return Ae.length>0&&Ae.replace(/^\?/,"").split("&").forEach(Fe=>{const je=Fe.indexOf("="),[Mt,Ze]=-1==je?[U.decodeKey(Fe),""]:[U.decodeKey(Fe.slice(0,je)),U.decodeValue(Fe.slice(je+1))],lt=L.get(Mt)||[];lt.push(Ze),L.set(Mt,lt)}),L}(U.fromString,this.encoder)}else U.fromObject?(this.map=new Map,Object.keys(U.fromObject).forEach(L=>{const se=U.fromObject[L],Fe=Array.isArray(se)?se.map(be):[be(se)];this.map.set(L,Fe)})):this.map=null}has(U){return this.init(),this.map.has(U)}get(U){this.init();const L=this.map.get(U);return L?L[0]:null}getAll(U){return this.init(),this.map.get(U)||null}keys(){return this.init(),Array.from(this.map.keys())}append(U,L){return this.clone({param:U,value:L,op:"a"})}appendAll(U){const L=[];return Object.keys(U).forEach(se=>{const Fe=U[se];Array.isArray(Fe)?Fe.forEach(je=>{L.push({param:se,value:je,op:"a"})}):L.push({param:se,value:Fe,op:"a"})}),this.clone(L)}set(U,L){return this.clone({param:U,value:L,op:"s"})}delete(U,L){return this.clone({param:U,value:L,op:"d"})}toString(){return this.init(),this.keys().map(U=>{const L=this.encoder.encodeKey(U);return this.map.get(U).map(se=>L+"="+this.encoder.encodeValue(se)).join("&")}).filter(U=>""!==U).join("&")}clone(U){const L=new Me({encoder:this.encoder});return L.cloneFrom=this.cloneFrom||this,L.updates=(this.updates||[]).concat(U),L}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(U=>this.map.set(U,this.cloneFrom.map.get(U))),this.updates.forEach(U=>{switch(U.op){case"a":case"s":const L=("a"===U.op?this.map.get(U.param):void 0)||[];L.push(be(U.value)),this.map.set(U.param,L);break;case"d":if(void 0===U.value){this.map.delete(U.param);break}{let se=this.map.get(U.param)||[];const Fe=se.indexOf(be(U.value));-1!==Fe&&se.splice(Fe,1),se.length>0?this.map.set(U.param,se):this.map.delete(U.param)}}}),this.cloneFrom=this.updates=null)}}class Ct{constructor(){this.map=new Map}set(U,L){return this.map.set(U,L),this}get(U){return this.map.has(U)||this.map.set(U,U.defaultValue()),this.map.get(U)}delete(U){return this.map.delete(U),this}has(U){return this.map.has(U)}keys(){return this.map.keys()}}function W(Ae){return typeof ArrayBuffer<"u"&&Ae instanceof ArrayBuffer}function Se(Ae){return typeof Blob<"u"&&Ae instanceof Blob}function qe(Ae){return typeof FormData<"u"&&Ae instanceof FormData}class Re{constructor(U,L,se,Fe){let je;if(this.url=L,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=U.toUpperCase(),function De(Ae){switch(Ae){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||Fe?(this.body=void 0!==se?se:null,je=Fe):je=se,je&&(this.reportProgress=!!je.reportProgress,this.withCredentials=!!je.withCredentials,je.responseType&&(this.responseType=je.responseType),je.headers&&(this.headers=je.headers),je.context&&(this.context=je.context),je.params&&(this.params=je.params)),this.headers||(this.headers=new fe),this.context||(this.context=new Ct),this.params){const Mt=this.params.toString();if(0===Mt.length)this.urlWithParams=L;else{const Ze=L.indexOf("?");this.urlWithParams=L+(-1===Ze?"?":Ze<L.length-1?"&":"")+Mt}}else this.params=new Me,this.urlWithParams=L}serializeBody(){return null===this.body?null:W(this.body)||Se(this.body)||qe(this.body)||function Ne(Ae){return typeof URLSearchParams<"u"&&Ae instanceof URLSearchParams}(this.body)||"string"==typeof this.body?this.body:this.body instanceof Me?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||qe(this.body)?null:Se(this.body)?this.body.type||null:W(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof Me?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||"boolean"==typeof this.body?"application/json":null}clone(U={}){const L=U.method||this.method,se=U.url||this.url,Fe=U.responseType||this.responseType,je=void 0!==U.body?U.body:this.body,Mt=void 0!==U.withCredentials?U.withCredentials:this.withCredentials,Ze=void 0!==U.reportProgress?U.reportProgress:this.reportProgress;let lt=U.headers||this.headers,ot=U.params||this.params;const Nt=U.context??this.context;return void 0!==U.setHeaders&&(lt=Object.keys(U.setHeaders).reduce((Un,ft)=>Un.set(ft,U.setHeaders[ft]),lt)),U.setParams&&(ot=Object.keys(U.setParams).reduce((Un,ft)=>Un.set(ft,U.setParams[ft]),ot)),new Re(L,se,je,{params:ot,headers:lt,context:Nt,reportProgress:Ze,responseType:Fe,withCredentials:Mt})}}var ke=(()=>((ke=ke||{})[ke.Sent=0]="Sent",ke[ke.UploadProgress=1]="UploadProgress",ke[ke.ResponseHeader=2]="ResponseHeader",ke[ke.DownloadProgress=3]="DownloadProgress",ke[ke.Response=4]="Response",ke[ke.User=5]="User",ke))();class Q{constructor(U,L=200,se="OK"){this.headers=U.headers||new fe,this.status=void 0!==U.status?U.status:L,this.statusText=U.statusText||se,this.url=U.url||null,this.ok=this.status>=200&&this.status<300}}class ee extends Q{constructor(U={}){super(U),this.type=ke.ResponseHeader}clone(U={}){return new ee({headers:U.headers||this.headers,status:void 0!==U.status?U.status:this.status,statusText:U.statusText||this.statusText,url:U.url||this.url||void 0})}}class ge extends Q{constructor(U={}){super(U),this.type=ke.Response,this.body=void 0!==U.body?U.body:null}clone(U={}){return new ge({body:void 0!==U.body?U.body:this.body,headers:U.headers||this.headers,status:void 0!==U.status?U.status:this.status,statusText:U.statusText||this.statusText,url:U.url||this.url||void 0})}}class ae extends Q{constructor(U){super(U,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${U.url||"(unknown url)"}`:`Http failure response for ${U.url||"(unknown url)"}: ${U.status} ${U.statusText}`,this.error=U.error||null}}function He(Ae,U){return{body:U,headers:Ae.headers,context:Ae.context,observe:Ae.observe,params:Ae.params,reportProgress:Ae.reportProgress,responseType:Ae.responseType,withCredentials:Ae.withCredentials}}let Le=(()=>{class Ae{constructor(L){this.handler=L}request(L,se,Fe={}){let je;if(L instanceof Re)je=L;else{let lt,ot;lt=Fe.headers instanceof fe?Fe.headers:new fe(Fe.headers),Fe.params&&(ot=Fe.params instanceof Me?Fe.params:new Me({fromObject:Fe.params})),je=new Re(L,se,void 0!==Fe.body?Fe.body:null,{headers:lt,context:Fe.context,params:ot,reportProgress:Fe.reportProgress,responseType:Fe.responseType||"json",withCredentials:Fe.withCredentials})}const Mt=(0,ne.of)(je).pipe((0,z.b)(lt=>this.handler.handle(lt)));if(L instanceof Re||"events"===Fe.observe)return Mt;const Ze=Mt.pipe((0,J.h)(lt=>lt instanceof ge));switch(Fe.observe||"body"){case"body":switch(je.responseType){case"arraybuffer":return Ze.pipe((0,Y.U)(lt=>{if(null!==lt.body&&!(lt.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return lt.body}));case"blob":return Ze.pipe((0,Y.U)(lt=>{if(null!==lt.body&&!(lt.body instanceof Blob))throw new Error("Response is not a Blob.");return lt.body}));case"text":return Ze.pipe((0,Y.U)(lt=>{if(null!==lt.body&&"string"!=typeof lt.body)throw new Error("Response is not a string.");return lt.body}));default:return Ze.pipe((0,Y.U)(lt=>lt.body))}case"response":return Ze;default:throw new Error(`Unreachable: unhandled observe type ${Fe.observe}}`)}}delete(L,se={}){return this.request("DELETE",L,se)}get(L,se={}){return this.request("GET",L,se)}head(L,se={}){return this.request("HEAD",L,se)}jsonp(L,se){return this.request("JSONP",L,{params:(new Me).append(se,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(L,se={}){return this.request("OPTIONS",L,se)}patch(L,se,Fe={}){return this.request("PATCH",L,He(Fe,se))}post(L,se,Fe={}){return this.request("POST",L,He(Fe,se))}put(L,se,Fe={}){return this.request("PUT",L,He(Fe,se))}}return Ae.\u0275fac=function(L){return new(L||Ae)(y.LFG(ie))},Ae.\u0275prov=y.Yz7({token:Ae,factory:Ae.\u0275fac}),Ae})();class gt{constructor(U,L){this.next=U,this.interceptor=L}handle(U){return this.interceptor.intercept(U,this.next)}}const Xe=new y.OlP("HTTP_INTERCEPTORS");let It=(()=>{class Ae{intercept(L,se){return se.handle(L)}}return Ae.\u0275fac=function(L){return new(L||Ae)},Ae.\u0275prov=y.Yz7({token:Ae,factory:Ae.\u0275fac}),Ae})();const dt=/^\)\]\}',?\n/;let bn=(()=>{class Ae{constructor(L){this.xhrFactory=L}handle(L){if("JSONP"===L.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new oe.y(se=>{const Fe=this.xhrFactory.build();if(Fe.open(L.method,L.urlWithParams),L.withCredentials&&(Fe.withCredentials=!0),L.headers.forEach((jt,Gt)=>Fe.setRequestHeader(jt,Gt.join(","))),L.headers.has("Accept")||Fe.setRequestHeader("Accept","application/json, text/plain, */*"),!L.headers.has("Content-Type")){const jt=L.detectContentTypeHeader();null!==jt&&Fe.setRequestHeader("Content-Type",jt)}if(L.responseType){const jt=L.responseType.toLowerCase();Fe.responseType="json"!==jt?jt:"text"}const je=L.serializeBody();let Mt=null;const Ze=()=>{if(null!==Mt)return Mt;const jt=Fe.statusText||"OK",Gt=new fe(Fe.getAllResponseHeaders()),Mn=function ur(Ae){return"responseURL"in Ae&&Ae.responseURL?Ae.responseURL:/^X-Request-URL:/m.test(Ae.getAllResponseHeaders())?Ae.getResponseHeader("X-Request-URL"):null}(Fe)||L.url;return Mt=new ee({headers:Gt,status:Fe.status,statusText:jt,url:Mn}),Mt},lt=()=>{let{headers:jt,status:Gt,statusText:Mn,url:br}=Ze(),en=null;204!==Gt&&(en=typeof Fe.response>"u"?Fe.responseText:Fe.response),0===Gt&&(Gt=en?200:0);let Qn=Gt>=200&&Gt<300;if("json"===L.responseType&&"string"==typeof en){const Zn=en;en=en.replace(dt,"");try{en=""!==en?JSON.parse(en):null}catch(Tn){en=Zn,Qn&&(Qn=!1,en={error:Tn,text:en})}}Qn?(se.next(new ge({body:en,headers:jt,status:Gt,statusText:Mn,url:br||void 0})),se.complete()):se.error(new ae({error:en,headers:jt,status:Gt,statusText:Mn,url:br||void 0}))},ot=jt=>{const{url:Gt}=Ze(),Mn=new ae({error:jt,status:Fe.status||0,statusText:Fe.statusText||"Unknown Error",url:Gt||void 0});se.error(Mn)};let Nt=!1;const Un=jt=>{Nt||(se.next(Ze()),Nt=!0);let Gt={type:ke.DownloadProgress,loaded:jt.loaded};jt.lengthComputable&&(Gt.total=jt.total),"text"===L.responseType&&!!Fe.responseText&&(Gt.partialText=Fe.responseText),se.next(Gt)},ft=jt=>{let Gt={type:ke.UploadProgress,loaded:jt.loaded};jt.lengthComputable&&(Gt.total=jt.total),se.next(Gt)};return Fe.addEventListener("load",lt),Fe.addEventListener("error",ot),Fe.addEventListener("timeout",ot),Fe.addEventListener("abort",ot),L.reportProgress&&(Fe.addEventListener("progress",Un),null!==je&&Fe.upload&&Fe.upload.addEventListener("progress",ft)),Fe.send(je),se.next({type:ke.Sent}),()=>{Fe.removeEventListener("error",ot),Fe.removeEventListener("abort",ot),Fe.removeEventListener("load",lt),Fe.removeEventListener("timeout",ot),L.reportProgress&&(Fe.removeEventListener("progress",Un),null!==je&&Fe.upload&&Fe.upload.removeEventListener("progress",ft)),Fe.readyState!==Fe.DONE&&Fe.abort()}})}}return Ae.\u0275fac=function(L){return new(L||Ae)(y.LFG(u.JF))},Ae.\u0275prov=y.Yz7({token:Ae,factory:Ae.\u0275fac}),Ae})();const Yt=new y.OlP("XSRF_COOKIE_NAME"),En=new y.OlP("XSRF_HEADER_NAME");class Xt{}let Rn=(()=>{class Ae{constructor(L,se,Fe){this.doc=L,this.platform=se,this.cookieName=Fe,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const L=this.doc.cookie||"";return L!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,u.Mx)(L,this.cookieName),this.lastCookieString=L),this.lastToken}}return Ae.\u0275fac=function(L){return new(L||Ae)(y.LFG(u.K0),y.LFG(y.Lbi),y.LFG(Yt))},Ae.\u0275prov=y.Yz7({token:Ae,factory:Ae.\u0275fac}),Ae})(),it=(()=>{class Ae{constructor(L,se){this.tokenService=L,this.headerName=se}intercept(L,se){const Fe=L.url.toLowerCase();if("GET"===L.method||"HEAD"===L.method||Fe.startsWith("http://")||Fe.startsWith("https://"))return se.handle(L);const je=this.tokenService.getToken();return null!==je&&!L.headers.has(this.headerName)&&(L=L.clone({headers:L.headers.set(this.headerName,je)})),se.handle(L)}}return Ae.\u0275fac=function(L){return new(L||Ae)(y.LFG(Xt),y.LFG(En))},Ae.\u0275prov=y.Yz7({token:Ae,factory:Ae.\u0275fac}),Ae})(),Wt=(()=>{class Ae{constructor(L,se){this.backend=L,this.injector=se,this.chain=null}handle(L){if(null===this.chain){const se=this.injector.get(Xe,[]);this.chain=se.reduceRight((Fe,je)=>new gt(Fe,je),this.backend)}return this.chain.handle(L)}}return Ae.\u0275fac=function(L){return new(L||Ae)(y.LFG(le),y.LFG(y.zs3))},Ae.\u0275prov=y.Yz7({token:Ae,factory:Ae.\u0275fac}),Ae})(),qt=(()=>{class Ae{static disable(){return{ngModule:Ae,providers:[{provide:it,useClass:It}]}}static withOptions(L={}){return{ngModule:Ae,providers:[L.cookieName?{provide:Yt,useValue:L.cookieName}:[],L.headerName?{provide:En,useValue:L.headerName}:[]]}}}return Ae.\u0275fac=function(L){return new(L||Ae)},Ae.\u0275mod=y.oAB({type:Ae}),Ae.\u0275inj=y.cJS({providers:[it,{provide:Xe,useExisting:it,multi:!0},{provide:Xt,useClass:Rn},{provide:Yt,useValue:"XSRF-TOKEN"},{provide:En,useValue:"X-XSRF-TOKEN"}]}),Ae})(),Nr=(()=>{class Ae{}return Ae.\u0275fac=function(L){return new(L||Ae)},Ae.\u0275mod=y.oAB({type:Ae}),Ae.\u0275inj=y.cJS({providers:[Le,{provide:ie,useClass:Wt},bn,{provide:le,useExisting:bn}],imports:[qt.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]}),Ae})()},4650:(Qe,pe,S)=>{S.d(pe,{$8M:()=>H,$Z:()=>If,AFp:()=>zg,ALo:()=>lg,AaK:()=>ie,AsE:()=>ic,BQk:()=>cl,CHM:()=>Br,CRH:()=>Cg,CZH:()=>El,CqO:()=>Ch,D6c:()=>N0,DdM:()=>Zp,Dn7:()=>dg,EJc:()=>WE,EiD:()=>vd,EpF:()=>_h,F$t:()=>Th,F4k:()=>Dh,FYo:()=>Pd,FiY:()=>ca,G48:()=>p0,Gf:()=>_g,GfV:()=>Nd,GkF:()=>Yu,Gpc:()=>de,Gre:()=>ip,Hsn:()=>Sh,IIB:()=>BE,Ikx:()=>oc,JOm:()=>Xi,JVY:()=>Km,Jf7:()=>$d,KtG:()=>Gn,L6J:()=>UE,L6k:()=>Ym,LAX:()=>Qm,LFG:()=>qn,LSH:()=>Ll,Lbi:()=>jE,Lck:()=>UC,MAs:()=>vh,MMx:()=>gc,NdJ:()=>Qu,O4$:()=>Io,OlP:()=>ht,Oqu:()=>rc,PXZ:()=>l0,Q6J:()=>zu,QGY:()=>qu,QP$:()=>qs,QbO:()=>$E,Qsj:()=>Iy,R0b:()=>ci,RDi:()=>Vm,Rgc:()=>Fa,SBq:()=>va,Sil:()=>YE,Suo:()=>Dg,TTD:()=>nr,TgZ:()=>al,Tol:()=>$h,Udp:()=>ec,VKq:()=>Jp,W1O:()=>Mg,WFA:()=>Zu,WLB:()=>Xp,XFs:()=>it,Xpm:()=>Mn,Xts:()=>Vl,Y36:()=>Ps,YKP:()=>$p,YNc:()=>yh,Yjl:()=>Jn,Yz7:()=>K,ZZ4:()=>Bc,_Bn:()=>jp,_UZ:()=>Ku,_Vd:()=>ya,_c5:()=>O0,_uU:()=>Qh,aQ5:()=>Qi,aQg:()=>Hc,c2e:()=>GE,cJS:()=>Be,cg1:()=>ac,d8E:()=>sc,dDg:()=>r0,dqk:()=>se,eBb:()=>qm,eFA:()=>im,ekj:()=>tc,eoX:()=>tm,f3M:()=>Xc,g9A:()=>Kg,gM2:()=>fg,gxx:()=>Bl,h0i:()=>Ks,hGG:()=>P0,hij:()=>fl,i9L:()=>ar,iGM:()=>vg,ifc:()=>L,ip1:()=>Gg,kEZ:()=>eg,kL8:()=>pp,kYT:()=>Tn,kcU:()=>zn,l5B:()=>tg,lG2:()=>cr,lcZ:()=>ug,lqb:()=>is,lri:()=>Xg,mCW:()=>pa,n5z:()=>p,n_E:()=>yl,oAB:()=>Zn,oJD:()=>_d,oxw:()=>Mh,pB0:()=>Zm,q3G:()=>Bn,qLn:()=>_a,qOj:()=>Uu,qZA:()=>ll,qbA:()=>ng,qzn:()=>Ms,rWj:()=>em,r_U:()=>HE,s9C:()=>Ju,sBO:()=>g0,sIi:()=>Ta,s_b:()=>_l,soG:()=>wl,tBr:()=>Ba,tb:()=>Yg,tp0:()=>da,uIk:()=>Gu,vHH:()=>_e,vpe:()=>io,wAp:()=>bt,xi3:()=>cg,xp6:()=>mf,ynx:()=>ul,z2F:()=>bl,z3N:()=>vo,zSh:()=>jl,zs3:()=>ss});var u=S(7579),y=S(727),ne=S(9751),oe=S(6451),z=S(3099);function J(e){for(let t in e)if(e[t]===J)return t;throw Error("Could not find renamed property on target object.")}function Y(e,t){for(const n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function ie(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(ie).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 fe=J({__forward_ref__:J});function de(e){return e.__forward_ref__=de,e.toString=function(){return ie(this())},e}function X(e){return ve(e)?e():e}function ve(e){return"function"==typeof e&&e.hasOwnProperty(fe)&&e.__forward_ref__===de}class _e extends Error{constructor(t,n){super(function We(e,t){return`NG0${Math.abs(e)}${t?": "+t.trim():""}`}(t,n)),this.code=t}}function be(e){return"string"==typeof e?e:null==e?"":String(e)}function W(e,t){throw new _e(-201,!1)}function It(e,t){null==e&&function Ge(e,t,n,r){throw new Error(`ASSERTION ERROR: ${e}`+(null==r?"":` [Expected=> ${n} ${r} ${t} <=Actual]`))}(t,e,null,"!=")}function K(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Be(e){return{providers:e.providers||[],imports:e.imports||[]}}function Et(e){return Cn(e,Yt)||Cn(e,Xt)}function Cn(e,t){return e.hasOwnProperty(t)?e[t]:null}function bn(e){return e&&(e.hasOwnProperty(En)||e.hasOwnProperty(Rn))?e[En]:null}const Yt=J({\u0275prov:J}),En=J({\u0275inj:J}),Xt=J({ngInjectableDef:J}),Rn=J({ngInjectorDef:J});var it=(()=>((it=it||{})[it.Default=0]="Default",it[it.Host=1]="Host",it[it.Self=2]="Self",it[it.SkipSelf=4]="SkipSelf",it[it.Optional=8]="Optional",it))();let Wt;function vt(e){const t=Wt;return Wt=e,t}function qt(e,t,n){const r=Et(e);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:n&it.Optional?null:void 0!==t?t:void W(ie(e))}function gr(e){return{toString:e}.toString()}var dn=(()=>((dn=dn||{})[dn.OnPush=0]="OnPush",dn[dn.Default=1]="Default",dn))(),L=(()=>{return(e=L||(L={}))[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",L;var e})();const se=(()=>typeof globalThis<"u"&&globalThis||typeof global<"u"&&global||typeof window<"u"&&window||typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self)(),Mt={},Ze=[],lt=J({\u0275cmp:J}),ot=J({\u0275dir:J}),Nt=J({\u0275pipe:J}),Un=J({\u0275mod:J}),ft=J({\u0275fac:J}),jt=J({__NG_ELEMENT_ID__:J});let Gt=0;function Mn(e){return gr(()=>{const n=!0===e.standalone,r={},i={type:e.type,providersResolver:null,decls:e.decls,vars:e.vars,factory:null,template:e.template||null,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:r,inputs:null,outputs:null,exportAs:e.exportAs||null,onPush:e.changeDetection===dn.OnPush,directiveDefs:null,pipeDefs:null,standalone:n,dependencies:n&&e.dependencies||null,getStandaloneInjector:null,selectors:e.selectors||Ze,viewQuery:e.viewQuery||null,features:e.features||null,data:e.data||{},encapsulation:e.encapsulation||L.Emulated,id:"c"+Gt++,styles:e.styles||Ze,_:null,setInput:null,schemas:e.schemas||null,tView:null},o=e.dependencies,l=e.features;return i.inputs=mr(e.inputs,r),i.outputs=mr(e.outputs),l&&l.forEach(h=>h(i)),i.directiveDefs=o?()=>("function"==typeof o?o():o).map(en).filter(Qn):null,i.pipeDefs=o?()=>("function"==typeof o?o():o).map(hn).filter(Qn):null,i})}function en(e){return Ft(e)||fn(e)}function Qn(e){return null!==e}function Zn(e){return gr(()=>({type:e.type,bootstrap:e.bootstrap||Ze,declarations:e.declarations||Ze,imports:e.imports||Ze,exports:e.exports||Ze,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function Tn(e,t){return gr(()=>{const n=Sn(e,!0);n.declarations=t.declarations||Ze,n.imports=t.imports||Ze,n.exports=t.exports||Ze})}function mr(e,t){if(null==e)return Mt;const n={};for(const r in e)if(e.hasOwnProperty(r)){let i=e[r],o=i;Array.isArray(i)&&(o=i[1],i=i[0]),n[i]=r,t&&(t[i]=o)}return n}const cr=Mn;function Jn(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 Ft(e){return e[lt]||null}function fn(e){return e[ot]||null}function hn(e){return e[Nt]||null}function Sn(e,t){const n=e[Un]||null;if(!n&&!0===t)throw new Error(`Type ${ie(e)} does not have '\u0275mod' property.`);return n}function mn(e){return Array.isArray(e)&&"object"==typeof e[1]}function wn(e){return Array.isArray(e)&&!0===e[1]}function On(e){return 0!=(8&e.flags)}function _r(e){return 2==(2&e.flags)}function In(e){return 1==(1&e.flags)}function gn(e){return null!==e.template}function Fi(e){return 0!=(256&e[2])}function yn(e,t){return e.hasOwnProperty(ft)?e[ft]:null}class Cr{constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}}function nr(){return kr}function kr(e){return e.type.prototype.ngOnChanges&&(e.setInput=ti),ei}function ei(){const e=rr(this),t=e?.current;if(t){const n=e.previous;if(n===Mt)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function ti(e,t,n,r){const i=rr(e)||function Ei(e,t){return e[Er]=t}(e,{previous:Mt,current:null}),o=i.current||(i.current={}),l=i.previous,h=this.declaredInputs[n],m=l[h];o[h]=new Cr(m&&m.currentValue,t,l===Mt),e[r]=t}nr.ngInherit=!0;const Er="__ngSimpleChanges__";function rr(e){return e[Er]||null}function on(e){for(;Array.isArray(e);)e=e[0];return e}function Vr(e,t){return on(t[e])}function ir(e,t){return on(t[e.index])}function ri(e,t){return e.data[t]}function jn(e,t){return e[t]}function $n(e,t){const n=t[e];return mn(n)?n:n[0]}function E(e){return 4==(4&e[2])}function O(e){return 64==(64&e[2])}function N(e,t){return null==t?null:e[t]}function G(e){e[18]=0}function ye(e,t){e[5]+=t;let n=e,r=e[3];for(;null!==r&&(1===t&&1===n[5]||-1===t&&0===n[5]);)r[5]+=t,n=r,r=r[3]}const ue={lFrame:Ko(null),bindingsEnabled:!0};function un(){return ue.bindingsEnabled}function Ie(){return ue.lFrame.lView}function St(){return ue.lFrame.tView}function Br(e){return ue.lFrame.contextLView=e,e[8]}function Gn(e){return ue.lFrame.contextLView=null,e}function sn(){let e=gi();for(;null!==e&&64===e.type;)e=e.parent;return e}function gi(){return ue.lFrame.currentTNode}function Ln(e,t){const n=ue.lFrame;n.currentTNode=e,n.isParent=t}function So(){return ue.lFrame.isParent}function bi(){ue.lFrame.isParent=!1}function b(){const e=ue.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function P(){return ue.lFrame.bindingIndex++}function he(e){const t=ue.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function or(e,t){const n=ue.lFrame;n.bindingIndex=n.bindingRootIndex=e,ii(t)}function ii(e){ue.lFrame.currentDirectiveIndex=e}function mi(e){const t=ue.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}function ji(){return ue.lFrame.currentQueryIndex}function lo(e){ue.lFrame.currentQueryIndex=e}function Js(e){const t=e[1];return 2===t.type?t.declTNode:1===t.type?e[6]:null}function zo(e,t,n){if(n&it.SkipSelf){let i=t,o=e;for(;!(i=i.parent,null!==i||n&it.Host||(i=Js(o),null===i||(o=o[15],10&i.type))););if(null===i)return!1;t=i,e=o}const r=ue.lFrame=uo();return r.currentTNode=t,r.lView=e,!0}function Wo(e){const t=uo(),n=e[1];ue.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function uo(){const e=ue.lFrame,t=null===e?null:e.child;return null===t?Ko(e):t}function Ko(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 Ao(){const e=ue.lFrame;return ue.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const $i=Ao;function Yo(){const e=Ao();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 sr(){return ue.lFrame.selectedIndex}function Hr(e){ue.lFrame.selectedIndex=e}function cn(){const e=ue.lFrame;return ri(e.tView,e.selectedIndex)}function Io(){ue.lFrame.currentNamespace="svg"}function zn(){!function Po(){ue.lFrame.currentNamespace=null}()}function Ro(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n<r;n++){const o=e.data[n].type.prototype,{ngAfterContentInit:l,ngAfterContentChecked:h,ngAfterViewInit:m,ngAfterViewChecked:M,ngOnDestroy:I}=o;l&&(e.contentHooks||(e.contentHooks=[])).push(-n,l),h&&((e.contentHooks||(e.contentHooks=[])).push(n,h),(e.contentCheckHooks||(e.contentCheckHooks=[])).push(n,h)),m&&(e.viewHooks||(e.viewHooks=[])).push(-n,m),M&&((e.viewHooks||(e.viewHooks=[])).push(n,M),(e.viewCheckHooks||(e.viewCheckHooks=[])).push(n,M)),null!=I&&(e.destroyHooks||(e.destroyHooks=[])).push(n,I)}}function xo(e,t,n){fs(e,t,3,n)}function Gi(e,t,n,r){(3&e[2])===n&&fs(e,t,n,r)}function Qo(e,t){let n=e[2];(3&n)===t&&(n&=2047,n+=1,e[2]=n)}function fs(e,t,n,r){const o=r??-1,l=t.length-1;let h=0;for(let m=void 0!==r?65535&e[18]:0;m<l;m++)if("number"==typeof t[m+1]){if(h=t[m],null!=r&&h>=r)break}else t[m]<0&&(e[18]+=65536),(h<o||-1==o)&&(Mi(e,n,t,m),e[18]=(4294901760&e[18])+m+2),m++}function Mi(e,t,n,r){const i=n[r]<0,o=n[r+1],h=e[i?-n[r]:n[r]];if(i){if(e[2]>>11<e[18]>>16&&(3&e[2])===t){e[2]+=2048;try{o.call(h)}finally{}}}else try{o.call(h)}finally{}}class zi{constructor(t,n,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}}function Wi(e,t,n){let r=0;for(;r<n.length;){const i=n[r];if("number"==typeof i){if(0!==i)break;r++;const o=n[r++],l=n[r++],h=n[r++];e.setAttribute(t,l,h,o)}else{const o=i,l=n[++r];Zo(o)?e.setProperty(t,o,l):e.setAttribute(t,o,l),r++}}return r}function Ki(e){return 3===e||4===e||6===e}function Zo(e){return 64===e.charCodeAt(0)}function co(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 i=t[r];"number"==typeof i?n=i:0===n||Fo(e,n,i,null,-1===n||2===n?t[++r]:null)}}return e}function Fo(e,t,n,r,i){let o=0,l=e.length;if(-1===t)l=-1;else for(;o<e.length;){const h=e[o++];if("number"==typeof h){if(h===t){l=-1;break}if(h>t){l=o-1;break}}}for(;o<e.length;){const h=e[o];if("number"==typeof h)break;if(h===n){if(null===r)return void(null!==i&&(e[o+1]=i));if(r===e[o+1])return void(e[o+2]=i)}o++,null!==r&&o++,null!==i&&o++}-1!==l&&(e.splice(l,0,t),o=l+1),e.splice(o++,0,n),null!==r&&e.splice(o++,0,r),null!==i&&e.splice(o++,0,i)}function ko(e){return-1!==e}function Ti(e){return 32767&e}function Yi(e,t){let n=function ra(e){return e>>16}(e),r=t;for(;n>0;)r=r[15],n--;return r}let Jo=!0;function Lo(e){const t=Jo;return Jo=e,t}let ys=0;const Ur={};function fo(e,t){const n=ho(e,t);if(-1!==n)return n;const r=t[1];r.firstCreatePass&&(e.injectorIndex=t.length,Xo(r.data,e),Xo(t,null),Xo(r.blueprint,null));const i=po(e,t),o=e.injectorIndex;if(ko(i)){const l=Ti(i),h=Yi(i,t),m=h[1].data;for(let M=0;M<8;M++)t[o+M]=h[l+M]|m[l+M]}return t[o+8]=i,o}function Xo(e,t){e.push(0,0,0,0,0,0,0,0,t)}function ho(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function po(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=0,r=null,i=t;for(;null!==i;){if(r=B(i),null===r)return-1;if(n++,i=i[15],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return-1}function qi(e,t,n){!function ia(e,t,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(jt)&&(r=n[jt]),null==r&&(r=n[jt]=ys++);const i=255&r;t.data[e+(i>>5)]|=1<<i}(e,t,n)}function Ho(e,t,n){if(n&it.Optional)return e;W()}function es(e,t,n,r){if(n&it.Optional&&void 0===r&&(r=null),0==(n&(it.Self|it.Host))){const i=e[9],o=vt(void 0);try{return i?i.get(t,r,n&it.Optional):qt(t,r,n&it.Optional)}finally{vt(o)}}return Ho(r,0,n)}function go(e,t,n,r=it.Default,i){if(null!==e){if(1024&t[2]){const l=function R(e,t,n,r,i){let o=e,l=t;for(;null!==o&&null!==l&&1024&l[2]&&!(256&l[2]);){const h=oa(o,l,n,r|it.Self,Ur);if(h!==Ur)return h;let m=o.parent;if(!m){const M=l[21];if(M){const I=M.get(n,Ur,r);if(I!==Ur)return I}m=B(l),l=l[15]}o=m}return i}(e,t,n,r,Ur);if(l!==Ur)return l}const o=oa(e,t,n,r,Ur);if(o!==Ur)return o}return es(t,n,r,i)}function oa(e,t,n,r,i){const o=function sa(e){if("string"==typeof e)return e.charCodeAt(0)||0;const t=e.hasOwnProperty(jt)?e[jt]:void 0;return"number"==typeof t?t>=0?255&t:a:t}(n);if("function"==typeof o){if(!zo(t,e,r))return r&it.Host?Ho(i,0,r):es(t,n,r,i);try{const l=o(r);if(null!=l||r&it.Optional)return l;W()}finally{$i()}}else if("number"==typeof o){let l=null,h=ho(e,t),m=-1,M=r&it.Host?t[16][6]:null;for((-1===h||r&it.SkipSelf)&&(m=-1===h?po(e,t):t[h+8],-1!==m&&_(r,!1)?(l=t[1],h=Ti(m),t=Yi(m,t)):h=-1);-1!==h;){const I=t[1];if(vs(o,h,I.data)){const F=La(h,t,n,l,r,M);if(F!==Ur)return F}m=t[h+8],-1!==m&&_(r,t[1].data[h+8]===M)&&vs(o,h,t)?(l=I,h=Ti(m),t=Yi(m,t)):h=-1}}return i}function La(e,t,n,r,i,o){const l=t[1],h=l.data[e+8],I=ts(h,l,n,null==r?_r(h)&&Jo:r!=l&&0!=(3&h.type),i&it.Host&&o===h);return null!==I?mo(t,l,I,h):Ur}function ts(e,t,n,r,i){const o=e.providerIndexes,l=t.data,h=1048575&o,m=e.directiveStart,I=o>>20,$=i?h+I:e.directiveEnd;for(let te=r?h:h+I;te<$;te++){const Te=l[te];if(te<m&&n===Te||te>=m&&Te.type===n)return te}if(i){const te=l[m];if(te&&gn(te)&&te.type===n)return m}return null}function mo(e,t,n,r){let i=e[n];const o=t.data;if(function hs(e){return e instanceof zi}(i)){const l=i;l.resolving&&function at(e,t){const n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new _e(-200,`Circular dependency in DI detected for ${e}${n}`)}(function Me(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():be(e)}(o[n]));const h=Lo(l.canSeeViewProviders);l.resolving=!0;const m=l.injectImpl?vt(l.injectImpl):null;zo(e,r,it.Default);try{i=e[n]=l.factory(void 0,o,e,r),t.firstCreatePass&&n>=r.directiveStart&&function No(e,t,n){const{ngOnChanges:r,ngOnInit:i,ngDoCheck:o}=t.type.prototype;if(r){const l=kr(t);(n.preOrderHooks||(n.preOrderHooks=[])).push(e,l),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,l)}i&&(n.preOrderHooks||(n.preOrderHooks=[])).push(0-e,i),o&&((n.preOrderHooks||(n.preOrderHooks=[])).push(e,o),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,o))}(n,o[n],t)}finally{null!==m&&vt(m),Lo(h),l.resolving=!1,$i()}}return i}function vs(e,t,n){return!!(n[t+(e>>5)]&1<<e)}function _(e,t){return!(e&it.Self||e&it.Host&&t)}class s{constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return go(this._tNode,this._lView,t,r,n)}}function a(){return new s(sn(),Ie())}function p(e){return gr(()=>{const t=e.prototype.constructor,n=t[ft]||T(t),r=Object.prototype;let i=Object.getPrototypeOf(e.prototype).constructor;for(;i&&i!==r;){const o=i[ft]||T(i);if(o&&o!==n)return o;i=Object.getPrototypeOf(i)}return o=>new o})}function T(e){return ve(e)?()=>{const t=T(X(e));return t&&t()}:yn(e)}function B(e){const t=e[1],n=t.type;return 2===n?t.declTNode:1===n?e[6]:null}function H(e){return function Bo(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 i=0;for(;i<r;){const o=n[i];if(Ki(o))break;if(0===o)i+=2;else if("number"==typeof o)for(i++;i<r&&"string"==typeof n[i];)i++;else{if(o===t)return n[i+1];i+=2}}}return null}(sn(),e)}const we="__parameters__",ze="__prop__metadata__";function xt(e){return function(...n){if(e){const r=e(...n);for(const i in r)this[i]=r[i]}}}function yt(e,t,n){return gr(()=>{const r=xt(t);function i(...o){if(this instanceof i)return r.apply(this,o),this;const l=new i(...o);return h.annotation=l,h;function h(m,M,I){const F=m.hasOwnProperty(we)?m[we]:Object.defineProperty(m,we,{value:[]})[we];for(;F.length<=I;)F.push(null);return(F[I]=F[I]||[]).push(l),m}}return n&&(i.prototype=Object.create(n.prototype)),i.prototype.ngMetadataName=e,i.annotationCls=i,i})}function mt(e,t,n,r){return gr(()=>{const i=xt(t);function o(...l){if(this instanceof o)return i.apply(this,l),this;const h=new o(...l);return function m(M,I){const F=M.constructor,$=F.hasOwnProperty(ze)?F[ze]:Object.defineProperty(F,ze,{value:{}})[ze];$[I]=$.hasOwnProperty(I)&&$[I]||[],$[I].unshift(h),r&&r(M,I,...l)}}return n&&(o.prototype=Object.create(n.prototype)),o.prototype.ngMetadataName=e,o.annotationCls=o,o})}class ht{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=K({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}class Kn{}const Qi=mt("ContentChild",(e,t={})=>({selector:e,first:!0,isViewQuery:!1,descendants:!0,...t}),Kn),ar=mt("ViewChild",(e,t)=>({selector:e,first:!0,isViewQuery:!0,descendants:!0,...t}),Kn);function Ke(e,t){void 0===t&&(t=e);for(let n=0;n<e.length;n++){let r=e[n];Array.isArray(r)?(t===e&&(t=e.slice(0,n)),Ke(r,t)):t!==e&&t.push(r)}return t}function st(e,t){e.forEach(n=>Array.isArray(n)?st(n,t):t(n))}function wt(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function Lt(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function _n(e,t){const n=[];for(let r=0;r<e;r++)n.push(t);return n}function x(e,t,n){let r=ce(e,t);return r>=0?e[1|r]=n:(r=~r,function c(e,t,n,r){let i=e.length;if(i==t)e.push(n,r);else if(1===i)e.push(r,e[0]),e[0]=n;else{for(i--,e.push(e[i-1],e[i]);i>t;)e[i]=e[i-2],i--;e[t]=n,e[t+1]=r}}(e,r,t,n)),r}function V(e,t){const n=ce(e,t);if(n>=0)return e[1|n]}function ce(e,t){return function Ot(e,t,n){let r=0,i=e.length>>n;for(;i!==r;){const o=r+(i-r>>1),l=e[o<<n];if(t===l)return o<<n;l>t?i=o:r=o+1}return~(i<<n)}(e,t,1)}const aa={},Al="__NG_DI_FLAG__",Va="ngTempTokenPath",wm=/\n/gm,Zc="__source";let la;function Es(e){const t=la;return la=e,t}function Mm(e,t=it.Default){if(void 0===la)throw new _e(-203,!1);return null===la?qt(e,void 0,t):la.get(e,t&it.Optional?null:void 0,t)}function qn(e,t=it.Default){return(function Hn(){return Wt}()||Mm)(X(e),t)}function Xc(e,t=it.Default){return"number"!=typeof t&&(t=0|(t.optional&&8)|(t.host&&1)|(t.self&&2)|(t.skipSelf&&4)),qn(e,t)}function Il(e){const t=[];for(let n=0;n<e.length;n++){const r=X(e[n]);if(Array.isArray(r)){if(0===r.length)throw new _e(900,!1);let i,o=it.Default;for(let l=0;l<r.length;l++){const h=r[l],m=Tm(h);"number"==typeof m?-1===m?i=h.token:o|=m:i=h}t.push(qn(i,o))}else t.push(qn(r))}return t}function ua(e,t){return e[Al]=t,e.prototype[Al]=t,e}function Tm(e){return e[Al]}const Ba=ua(yt("Inject",e=>({token:e})),-1),ca=ua(yt("Optional"),8),da=ua(yt("SkipSelf"),4);let Ol,ja,$a;function Vm(e){Ol=e}function bs(e){return function Pl(){if(void 0===ja&&(ja=null,se.trustedTypes))try{ja=se.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return ja}()?.createHTML(e)||e}function ld(e){return function Nl(){if(void 0===$a&&($a=null,se.trustedTypes))try{$a=se.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return $a}()?.createHTML(e)||e}class ns{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see https://g.co/ng/security#xss)`}}class Um extends ns{getTypeName(){return"HTML"}}class jm extends ns{getTypeName(){return"Style"}}class $m extends ns{getTypeName(){return"Script"}}class Gm extends ns{getTypeName(){return"URL"}}class zm extends ns{getTypeName(){return"ResourceURL"}}function vo(e){return e instanceof ns?e.changingThisBreaksApplicationSecurity:e}function Ms(e,t){const n=function Wm(e){return e instanceof ns&&e.getTypeName()||null}(e);if(null!=n&&n!==t){if("ResourceURL"===n&&"URL"===t)return!0;throw new Error(`Required a safe ${t}, got a ${n} (see https://g.co/ng/security#xss)`)}return n===t}function Km(e){return new Um(e)}function Ym(e){return new jm(e)}function qm(e){return new $m(e)}function Qm(e){return new Gm(e)}function Zm(e){return new zm(e)}class Jm{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{const n=(new window.DOMParser).parseFromString(bs(t),"text/html").body;return null===n?this.inertDocumentHelper.getInertBodyElement(t):(n.removeChild(n.firstChild),n)}catch{return null}}}class Xm{constructor(t){if(this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),null==this.inertDocument.body){const n=this.inertDocument.createElement("html");this.inertDocument.appendChild(n);const r=this.inertDocument.createElement("body");n.appendChild(r)}}getInertBodyElement(t){const n=this.inertDocument.createElement("template");if("content"in n)return n.innerHTML=bs(t),n;const r=this.inertDocument.createElement("body");return r.innerHTML=bs(t),this.defaultDoc.documentMode&&this.stripCustomNsAttrs(r),r}stripCustomNsAttrs(t){const n=t.attributes;for(let i=n.length-1;0<i;i--){const l=n.item(i).name;("xmlns:ns1"===l||0===l.indexOf("ns1:"))&&t.removeAttribute(l)}let r=t.firstChild;for(;r;)r.nodeType===Node.ELEMENT_NODE&&this.stripCustomNsAttrs(r),r=r.nextSibling}}const ty=/^(?:(?:https?|mailto|ftp|tel|file|sms):|[^&:/?#]*(?:[/?#]|$))/gi,ny=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+\/]+=*$/i;function pa(e){return(e=String(e)).match(ty)||e.match(ny)?e:"unsafe:"+e}function Ji(e){const t={};for(const n of e.split(","))t[n]=!0;return t}function ga(...e){const t={};for(const n of e)for(const r in n)n.hasOwnProperty(r)&&(t[r]=!0);return t}const hd=Ji("area,br,col,hr,img,wbr"),pd=Ji("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),gd=Ji("rp,rt"),Rl=ga(hd,ga(pd,Ji("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),ga(gd,Ji("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),ga(gd,pd)),xl=Ji("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Fl=Ji("srcset"),md=ga(xl,Fl,Ji("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),Ji("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")),ry=Ji("script,style,template");class iy{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 i=this.checkClobberedElement(n,n.nextSibling);if(i){n=i;break}n=this.checkClobberedElement(n,n.parentNode)}return this.buf.join("")}startElement(t){const n=t.nodeName.toLowerCase();if(!Rl.hasOwnProperty(n))return this.sanitizedSomething=!0,!ry.hasOwnProperty(n);this.buf.push("<"),this.buf.push(n);const r=t.attributes;for(let i=0;i<r.length;i++){const o=r.item(i),l=o.name,h=l.toLowerCase();if(!md.hasOwnProperty(h)){this.sanitizedSomething=!0;continue}let m=o.value;xl[h]&&(m=pa(m)),Fl[h]&&(e=m,m=(e=String(e)).split(",").map(t=>pa(t.trim())).join(", ")),this.buf.push(" ",l,'="',yd(m),'"')}var e;return this.buf.push(">"),!0}endElement(t){const n=t.nodeName.toLowerCase();Rl.hasOwnProperty(n)&&!hd.hasOwnProperty(n)&&(this.buf.push("</"),this.buf.push(n),this.buf.push(">"))}chars(t){this.buf.push(yd(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 oy=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,sy=/([^\#-~ |!])/g;function yd(e){return e.replace(/&/g,"&").replace(oy,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(sy,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}let Ga;function vd(e,t){let n=null;try{Ga=Ga||function dd(e){const t=new Xm(e);return function ey(){try{return!!(new window.DOMParser).parseFromString(bs(""),"text/html")}catch{return!1}}()?new Jm(t):t}(e);let r=t?String(t):"";n=Ga.getInertBodyElement(r);let i=5,o=r;do{if(0===i)throw new Error("Failed to sanitize html because the input is unstable");i--,r=o,o=n.innerHTML,n=Ga.getInertBodyElement(r)}while(r!==o);return bs((new iy).sanitizeChildren(kl(n)||n))}finally{if(n){const r=kl(n)||n;for(;r.firstChild;)r.removeChild(r.firstChild)}}}function kl(e){return"content"in e&&function ay(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var Bn=(()=>((Bn=Bn||{})[Bn.NONE=0]="NONE",Bn[Bn.HTML=1]="HTML",Bn[Bn.STYLE=2]="STYLE",Bn[Bn.SCRIPT=3]="SCRIPT",Bn[Bn.URL=4]="URL",Bn[Bn.RESOURCE_URL=5]="RESOURCE_URL",Bn))();function _d(e){const t=ma();return t?ld(t.sanitize(Bn.HTML,e)||""):Ms(e,"HTML")?ld(vo(e)):vd(function ad(){return void 0!==Ol?Ol:typeof document<"u"?document:void 0}(),be(e))}function Ll(e){const t=ma();return t?t.sanitize(Bn.URL,e)||"":Ms(e,"URL")?vo(e):pa(be(e))}function ma(){const e=Ie();return e&&e[12]}const Vl=new ht("ENVIRONMENT_INITIALIZER"),Bl=new ht("INJECTOR",-1),Cd=new ht("INJECTOR_DEF_TYPES");class Ed{get(t,n=aa){if(n===aa){const r=new Error(`NullInjectorError: No provider for ${ie(t)}!`);throw r.name="NullInjectorError",r}return n}}function py(...e){return{\u0275providers:wd(0,e)}}function wd(e,...t){const n=[],r=new Set;let i;return st(t,o=>{const l=o;Hl(l,n,[],r)&&(i||(i=[]),i.push(l))}),void 0!==i&&bd(i,n),n}function bd(e,t){for(let n=0;n<e.length;n++){const{providers:i}=e[n];st(i,o=>{t.push(o)})}}function Hl(e,t,n,r){if(!(e=X(e)))return!1;let i=null,o=bn(e);const l=!o&&Ft(e);if(o||l){if(l&&!l.standalone)return!1;i=e}else{const m=e.ngModule;if(o=bn(m),!o)return!1;i=m}const h=r.has(i);if(l){if(h)return!1;if(r.add(i),l.dependencies){const m="function"==typeof l.dependencies?l.dependencies():l.dependencies;for(const M of m)Hl(M,t,n,r)}}else{if(!o)return!1;{if(null!=o.imports&&!h){let M;r.add(i);try{st(o.imports,I=>{Hl(I,t,n,r)&&(M||(M=[]),M.push(I))})}finally{}void 0!==M&&bd(M,t)}if(!h){const M=yn(i)||(()=>new i);t.push({provide:i,useFactory:M,deps:Ze},{provide:Cd,useValue:i,multi:!0},{provide:Vl,useValue:()=>qn(i),multi:!0})}const m=o.providers;null==m||h||st(m,I=>{t.push(I)})}}return i!==e&&void 0!==e.providers}const gy=J({provide:String,useValue:J});function Ul(e){return null!==e&&"object"==typeof e&&gy in e}function rs(e){return"function"==typeof e}const jl=new ht("Set Injector scope."),za={},yy={};let $l;function Wa(){return void 0===$l&&($l=new Ed),$l}class is{}class Sd extends is{constructor(t,n,r,i){super(),this.parent=n,this.source=r,this.scopes=i,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,zl(t,l=>this.processProvider(l)),this.records.set(Bl,Ts(void 0,this)),i.has("environment")&&this.records.set(is,Ts(void 0,this));const o=this.records.get(jl);null!=o&&"string"==typeof o.value&&this.scopes.add(o.value),this.injectorDefTypes=new Set(this.get(Cd.multi,Ze,it.Self))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const t of this._ngOnDestroyHooks)t.ngOnDestroy();for(const t of this._onDestroyHooks)t()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),this._onDestroyHooks.length=0}}onDestroy(t){this._onDestroyHooks.push(t)}runInContext(t){this.assertNotDestroyed();const n=Es(this),r=vt(void 0);try{return t()}finally{Es(n),vt(r)}}get(t,n=aa,r=it.Default){this.assertNotDestroyed();const i=Es(this),o=vt(void 0);try{if(!(r&it.SkipSelf)){let h=this.records.get(t);if(void 0===h){const m=function Ey(e){return"function"==typeof e||"object"==typeof e&&e instanceof ht}(t)&&Et(t);h=m&&this.injectableDefInScope(m)?Ts(Gl(t),za):null,this.records.set(t,h)}if(null!=h)return this.hydrate(t,h)}return(r&it.Self?Wa():this.parent).get(t,n=r&it.Optional&&n===aa?null:n)}catch(l){if("NullInjectorError"===l.name){if((l[Va]=l[Va]||[]).unshift(ie(t)),i)throw l;return function Sm(e,t,n,r){const i=e[Va];throw t[Zc]&&i.unshift(t[Zc]),e.message=function Am(e,t,n,r=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let i=ie(t);if(Array.isArray(t))i=t.map(ie).join(" -> ");else if("object"==typeof t){let o=[];for(let l in t)if(t.hasOwnProperty(l)){let h=t[l];o.push(l+":"+("string"==typeof h?JSON.stringify(h):ie(h)))}i=`{${o.join(", ")}}`}return`${n}${r?"("+r+")":""}[${i}]: ${e.replace(wm,"\n ")}`}("\n"+e.message,i,n,r),e.ngTokenPath=i,e[Va]=null,e}(l,t,"R3InjectorError",this.source)}throw l}finally{vt(o),Es(i)}}resolveInjectorInitializers(){const t=Es(this),n=vt(void 0);try{const r=this.get(Vl.multi,Ze,it.Self);for(const i of r)i()}finally{Es(t),vt(n)}}toString(){const t=[],n=this.records;for(const r of n.keys())t.push(ie(r));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new _e(205,!1)}processProvider(t){let n=rs(t=X(t))?t:X(t&&t.provide);const r=function _y(e){return Ul(e)?Ts(void 0,e.useValue):Ts(Ad(e),za)}(t);if(rs(t)||!0!==t.multi)this.records.get(n);else{let i=this.records.get(n);i||(i=Ts(void 0,za,!0),i.factory=()=>Il(i.multi),this.records.set(n,i)),n=t,i.multi.push(t)}this.records.set(n,r)}hydrate(t,n){return n.value===za&&(n.value=yy,n.value=n.factory()),"object"==typeof n.value&&n.value&&function Cy(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=X(t.providedIn);return"string"==typeof n?"any"===n||this.scopes.has(n):this.injectorDefTypes.has(n)}}function Gl(e){const t=Et(e),n=null!==t?t.factory:yn(e);if(null!==n)return n;if(e instanceof ht)throw new _e(204,!1);if(e instanceof Function)return function vy(e){const t=e.length;if(t>0)throw _n(t,"?"),new _e(204,!1);const n=function dt(e){const t=e&&(e[Yt]||e[Xt]);if(t){const n=function ur(e){if(e.hasOwnProperty("name"))return e.name;const t=(""+e).match(/^function\s*([^\s(]+)/);return null===t?"":t[1]}(e);return console.warn(`DEPRECATED: DI is instantiating a token "${n}" that inherits its @Injectable decorator but does not provide one itself.\nThis will become an error in a future version of Angular. Please add @Injectable() to the "${n}" class.`),t}return null}(e);return null!==n?()=>n.factory(e):()=>new e}(e);throw new _e(204,!1)}function Ad(e,t,n){let r;if(rs(e)){const i=X(e);return yn(i)||Gl(i)}if(Ul(e))r=()=>X(e.useValue);else if(function Td(e){return!(!e||!e.useFactory)}(e))r=()=>e.useFactory(...Il(e.deps||[]));else if(function Md(e){return!(!e||!e.useExisting)}(e))r=()=>qn(X(e.useExisting));else{const i=X(e&&(e.useClass||e.provide));if(!function Dy(e){return!!e.deps}(e))return yn(i)||Gl(i);r=()=>new i(...Il(e.deps))}return r}function Ts(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function wy(e){return!!e.\u0275providers}function zl(e,t){for(const n of e)Array.isArray(n)?zl(n,t):wy(n)?zl(n.\u0275providers,t):t(n)}class Id{}class Ty{resolveComponentFactory(t){throw function My(e){const t=Error(`No component factory found for ${ie(e)}. Did you add it to @NgModule.entryComponents?`);return t.ngComponent=e,t}(t)}}let ya=(()=>{class e{}return e.NULL=new Ty,e})();function Sy(){return Ss(sn(),Ie())}function Ss(e,t){return new va(ir(e,t))}let va=(()=>{class e{constructor(n){this.nativeElement=n}}return e.__NG_ELEMENT_ID__=Sy,e})();function Ay(e){return e instanceof va?e.nativeElement:e}class Pd{}let Iy=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>function Oy(){const e=Ie(),n=$n(sn().index,e);return(mn(n)?n:e)[11]}(),e})(),Py=(()=>{class e{}return e.\u0275prov=K({token:e,providedIn:"root",factory:()=>null}),e})();class Nd{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const Ny=new Nd("14.1.2"),Wl={};function Zl(e){return e.ngOriginalError}class _a{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&&Zl(t);for(;n&&Zl(n);)n=Zl(n);return n||null}}const Jl=new Map;let Gy=0;const eu="__ngContext__";function Or(e,t){mn(t)?(e[eu]=t[20],function Wy(e){Jl.set(e[20],e)}(t)):e[eu]=t}function Da(e){const t=e[eu];return"number"==typeof t?function Vd(e){return Jl.get(e)||null}(t):t||null}function tu(e){const t=Da(e);return t?mn(t)?t:t.lView:null}const tv=(()=>(typeof requestAnimationFrame<"u"&&requestAnimationFrame||setTimeout).bind(se))();function $d(e){return e.ownerDocument.defaultView}function _o(e){return e instanceof Function?e():e}var Xi=(()=>((Xi=Xi||{})[Xi.Important=1]="Important",Xi[Xi.DashCase=2]="DashCase",Xi))();function ru(e,t){return undefined(e,t)}function Ca(e){const t=e[3];return wn(t)?t[3]:t}function iu(e){return Kd(e[13])}function ou(e){return Kd(e[4])}function Kd(e){for(;null!==e&&!wn(e);)e=e[4];return e}function Is(e,t,n,r,i){if(null!=r){let o,l=!1;wn(r)?o=r:mn(r)&&(l=!0,r=r[0]);const h=on(r);0===e&&null!==n?null==i?Xd(t,n,h):os(t,n,h,i||null,!0):1===e&&null!==n?os(t,n,h,i||null,!0):2===e?function lf(e,t,n){const r=Ka(e,t);r&&function vv(e,t,n,r){e.removeChild(t,n,r)}(e,r,t,n)}(t,h,l):3===e&&t.destroyNode(h),null!=o&&function Cv(e,t,n,r,i){const o=n[7];o!==on(n)&&Is(t,e,r,o,i);for(let h=10;h<n.length;h++){const m=n[h];Ea(m[1],m,e,t,r,o)}}(t,e,o,n,i)}}function au(e,t,n){return e.createElement(t,n)}function qd(e,t){const n=e[9],r=n.indexOf(t),i=t[3];512&t[2]&&(t[2]&=-513,ye(i,-1)),n.splice(r,1)}function lu(e,t){if(e.length<=10)return;const n=10+t,r=e[n];if(r){const i=r[17];null!==i&&i!==e&&qd(i,r),t>0&&(e[n-1][4]=r[4]);const o=Lt(e,10+t);!function cv(e,t){Ea(e,t,t[11],2,null,null),t[0]=null,t[6]=null}(r[1],r);const l=o[19];null!==l&&l.detachView(o[1]),r[3]=null,r[4]=null,r[2]&=-65}return r}function Qd(e,t){if(!(128&t[2])){const n=t[11];n.destroyNode&&Ea(e,t,n,3,null,null),function hv(e){let t=e[13];if(!t)return uu(e[1],e);for(;t;){let n=null;if(mn(t))n=t[13];else{const r=t[10];r&&(n=r)}if(!n){for(;t&&!t[4]&&t!==e;)mn(t)&&uu(t[1],t),t=t[3];null===t&&(t=e),mn(t)&&uu(t[1],t),n=t&&t[4]}t=n}}(t)}}function uu(e,t){if(!(128&t[2])){t[2]&=-65,t[2]|=128,function yv(e,t){let n;if(null!=e&&null!=(n=e.destroyHooks))for(let r=0;r<n.length;r+=2){const i=t[n[r]];if(!(i instanceof zi)){const o=n[r+1];if(Array.isArray(o))for(let l=0;l<o.length;l+=2){const h=i[o[l]],m=o[l+1];try{m.call(h)}finally{}}else try{o.call(i)}finally{}}}}(e,t),function mv(e,t){const n=e.cleanup,r=t[7];let i=-1;if(null!==n)for(let o=0;o<n.length-1;o+=2)if("string"==typeof n[o]){const l=n[o+1],h="function"==typeof l?l(t):on(t[l]),m=r[i=n[o+2]],M=n[o+3];"boolean"==typeof M?h.removeEventListener(n[o],m,M):M>=0?r[i=M]():r[i=-M].unsubscribe(),o+=2}else{const l=r[i=n[o+1]];n[o].call(l)}if(null!==r){for(let o=i+1;o<r.length;o++)(0,r[o])();t[7]=null}}(e,t),1===t[1].type&&t[11].destroy();const n=t[17];if(null!==n&&wn(t[3])){n!==t[3]&&qd(n,t);const r=t[19];null!==r&&r.detachView(e)}!function Ky(e){Jl.delete(e[20])}(t)}}function Zd(e,t,n){return function Jd(e,t,n){let r=t;for(;null!==r&&40&r.type;)r=(t=r).parent;if(null===r)return n[0];if(2&r.flags){const i=e.data[r.directiveStart].encapsulation;if(i===L.None||i===L.Emulated)return null}return ir(r,n)}(e,t.parent,n)}function os(e,t,n,r,i){e.insertBefore(t,n,r,i)}function Xd(e,t,n){e.appendChild(t,n)}function ef(e,t,n,r,i){null!==r?os(e,t,n,r,i):Xd(e,t,n)}function Ka(e,t){return e.parentNode(t)}function tf(e,t,n){return rf(e,t,n)}let rf=function nf(e,t,n){return 40&e.type?ir(e,n):null};function Ya(e,t,n,r){const i=Zd(e,r,t),o=t[11],h=tf(r.parent||t[6],r,t);if(null!=i)if(Array.isArray(n))for(let m=0;m<n.length;m++)ef(o,i,n[m],h,!1);else ef(o,i,n,h,!1)}function qa(e,t){if(null!==t){const n=t.type;if(3&n)return ir(t,e);if(4&n)return du(-1,e[t.index]);if(8&n){const r=t.child;if(null!==r)return qa(e,r);{const i=e[t.index];return wn(i)?du(-1,i):on(i)}}if(32&n)return ru(t,e)()||on(e[t.index]);{const r=af(e,t);return null!==r?Array.isArray(r)?r[0]:qa(Ca(e[16]),r):qa(e,t.next)}}return null}function af(e,t){return null!==t?e[16][6].projection[t.projection]:null}function du(e,t){const n=10+e+1;if(n<t.length){const r=t[n],i=r[1].firstChild;if(null!==i)return qa(r,i)}return t[7]}function fu(e,t,n,r,i,o,l){for(;null!=n;){const h=r[n.index],m=n.type;if(l&&0===t&&(h&&Or(on(h),r),n.flags|=4),64!=(64&n.flags))if(8&m)fu(e,t,n.child,r,i,o,!1),Is(t,e,i,h,o);else if(32&m){const M=ru(n,r);let I;for(;I=M();)Is(t,e,i,I,o);Is(t,e,i,h,o)}else 16&m?uf(e,t,r,n,i,o):Is(t,e,i,h,o);n=l?n.projectionNext:n.next}}function Ea(e,t,n,r,i,o){fu(n,r,e.firstChild,t,i,o,!1)}function uf(e,t,n,r,i,o){const l=n[16],m=l[6].projection[r.projection];if(Array.isArray(m))for(let M=0;M<m.length;M++)Is(t,e,i,m[M],o);else fu(e,t,m,l[3],i,o,!0)}function cf(e,t,n){e.setAttribute(t,"style",n)}function hu(e,t,n){""===n?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function df(e,t,n){let r=e.length;for(;;){const i=e.indexOf(t,n);if(-1===i)return i;if(0===i||e.charCodeAt(i-1)<=32){const o=t.length;if(i+o===r||e.charCodeAt(i+o)<=32)return i}n=i+1}}const ff="ng-template";function wv(e,t,n){let r=0;for(;r<e.length;){let i=e[r++];if(n&&"class"===i){if(i=e[r],-1!==df(i.toLowerCase(),t,0))return!0}else if(1===i){for(;r<e.length&&"string"==typeof(i=e[r++]);)if(i.toLowerCase()===t)return!0;return!1}}return!1}function hf(e){return 4===e.type&&e.value!==ff}function bv(e,t,n){return t===(4!==e.type||n?e.value:ff)}function Mv(e,t,n){let r=4;const i=e.attrs||[],o=function Av(e){for(let t=0;t<e.length;t++)if(Ki(e[t]))return t;return e.length}(i);let l=!1;for(let h=0;h<t.length;h++){const m=t[h];if("number"!=typeof m){if(!l)if(4&r){if(r=2|1&r,""!==m&&!bv(e,m,n)||""===m&&1===t.length){if(Oi(r))return!1;l=!0}}else{const M=8&r?m:t[++h];if(8&r&&null!==e.attrs){if(!wv(e.attrs,M,n)){if(Oi(r))return!1;l=!0}continue}const F=Tv(8&r?"class":m,i,hf(e),n);if(-1===F){if(Oi(r))return!1;l=!0;continue}if(""!==M){let $;$=F>o?"":i[F+1].toLowerCase();const te=8&r?$:null;if(te&&-1!==df(te,M,0)||2&r&&M!==$){if(Oi(r))return!1;l=!0}}}}else{if(!l&&!Oi(r)&&!Oi(m))return!1;if(l&&Oi(m))continue;l=!1,r=m|1&r}}return Oi(r)||l}function Oi(e){return 0==(1&e)}function Tv(e,t,n,r){if(null===t)return-1;let i=0;if(r||!n){let o=!1;for(;i<t.length;){const l=t[i];if(l===e)return i;if(3===l||6===l)o=!0;else{if(1===l||2===l){let h=t[++i];for(;"string"==typeof h;)h=t[++i];continue}if(4===l)break;if(0===l){i+=4;continue}}i+=o?1:2}return-1}return function Iv(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 pf(e,t,n=!1){for(let r=0;r<t.length;r++)if(Mv(e,t[r],n))return!0;return!1}function Ov(e,t){e:for(let n=0;n<t.length;n++){const r=t[n];if(e.length===r.length){for(let i=0;i<e.length;i++)if(e[i]!==r[i])continue e;return!0}}return!1}function gf(e,t){return e?":not("+t.trim()+")":t}function Pv(e){let t=e[0],n=1,r=2,i="",o=!1;for(;n<e.length;){let l=e[n];if("string"==typeof l)if(2&r){const h=e[++n];i+="["+l+(h.length>0?'="'+h+'"':"")+"]"}else 8&r?i+="."+l:4&r&&(i+=" "+l);else""!==i&&!Oi(l)&&(t+=gf(o,i),i=""),r=l,o=o||!Oi(r);n++}return""!==i&&(t+=gf(o,i)),t}const Pt={};function mf(e){yf(St(),Ie(),sr()+e,!1)}function yf(e,t,n,r){if(!r)if(3==(3&t[2])){const o=e.preOrderCheckHooks;null!==o&&xo(t,o,n)}else{const o=e.preOrderHooks;null!==o&&Gi(t,o,0,n)}Hr(n)}function Cf(e,t=null,n=null,r){const i=Ef(e,t,n,r);return i.resolveInjectorInitializers(),i}function Ef(e,t=null,n=null,r,i=new Set){const o=[n||Ze,py(e)];return r=r||("object"==typeof e?void 0:ie(e)),new Sd(o,t||Wa(),r||null,i)}let ss=(()=>{class e{static create(n,r){if(Array.isArray(n))return Cf({name:""},r,n,"");{const i=n.name??"";return Cf({name:i},n.parent,n.providers,i)}}}return e.THROW_IF_NOT_FOUND=aa,e.NULL=new Ed,e.\u0275prov=K({token:e,providedIn:"any",factory:()=>qn(Bl)}),e.__NG_ELEMENT_ID__=-1,e})();function Ps(e,t=it.Default){const n=Ie();return null===n?qn(e,t):go(sn(),n,X(e),t)}function If(){throw new Error("invalid")}function Za(e,t){return e<<17|t<<2}function Pi(e){return e>>17&32767}function vu(e){return 2|e}function Do(e){return(131068&e)>>2}function _u(e,t){return-131069&e|t<<2}function Du(e){return 1|e}function Hf(e,t){const n=e.contentQueries;if(null!==n)for(let r=0;r<n.length;r+=2){const i=n[r],o=n[r+1];if(-1!==o){const l=e.data[o];lo(i),l.contentQueries(2,t[o],o)}}}function el(e,t,n,r,i,o,l,h,m,M,I){const F=t.blueprint.slice();return F[0]=i,F[2]=76|r,(null!==I||e&&1024&e[2])&&(F[2]|=1024),G(F),F[3]=F[15]=e,F[8]=n,F[10]=l||e&&e[10],F[11]=h||e&&e[11],F[12]=m||e&&e[12]||null,F[9]=M||e&&e[9]||null,F[6]=o,F[20]=function zy(){return Gy++}(),F[21]=I,F[16]=2==t.type?e[16]:F,F}function Ns(e,t,n,r,i){let o=e.data[t];if(null===o)o=function Iu(e,t,n,r,i){const o=gi(),l=So(),m=e.data[t]=function p_(e,t,n,r,i,o){return{type:n,index:r,insertBeforeIndex:null,injectorIndex:t?t.injectorIndex:-1,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,propertyBindings:null,flags:0,providerIndexes:0,value:i,attrs:o,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tViews:null,next:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,l?o:o&&o.parent,n,t,r,i);return null===e.firstChild&&(e.firstChild=m),null!==o&&(l?null==o.child&&null!==m.parent&&(o.child=m):null===o.next&&(o.next=m)),m}(e,t,n,r,i),function ut(){return ue.lFrame.inI18n}()&&(o.flags|=64);else if(64&o.type){o.type=n,o.value=r,o.attrs=i;const l=function pr(){const e=ue.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}();o.injectorIndex=null===l?-1:l.injectorIndex}return Ln(o,!0),o}function Rs(e,t,n,r){if(0===n)return-1;const i=t.length;for(let o=0;o<n;o++)t.push(r),e.blueprint.push(r),e.data.push(null);return i}function tl(e,t,n){Wo(t);try{const r=e.viewQuery;null!==r&&Vu(1,r,n);const i=e.template;null!==i&&Uf(e,t,i,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),e.staticContentQueries&&Hf(e,t),e.staticViewQueries&&Vu(2,e.viewQuery,n);const o=e.components;null!==o&&function c_(e,t){for(let n=0;n<t.length;n++)O_(e,t[n])}(t,o)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[2]&=-5,Yo()}}function wa(e,t,n,r){const i=t[2];if(128!=(128&i)){Wo(t);try{G(t),function v(e){return ue.lFrame.bindingIndex=e}(e.bindingStartIndex),null!==n&&Uf(e,t,n,2,r);const l=3==(3&i);if(l){const M=e.preOrderCheckHooks;null!==M&&xo(t,M,null)}else{const M=e.preOrderHooks;null!==M&&Gi(t,M,0,null),Qo(t,0)}if(function A_(e){for(let t=iu(e);null!==t;t=ou(t)){if(!t[2])continue;const n=t[9];for(let r=0;r<n.length;r++){const i=n[r],o=i[3];0==(512&i[2])&&ye(o,1),i[2]|=512}}}(t),function S_(e){for(let t=iu(e);null!==t;t=ou(t))for(let n=10;n<t.length;n++){const r=t[n],i=r[1];O(r)&&wa(i,r,i.template,r[8])}}(t),null!==e.contentQueries&&Hf(e,t),l){const M=e.contentCheckHooks;null!==M&&xo(t,M)}else{const M=e.contentHooks;null!==M&&Gi(t,M,1),Qo(t,1)}!function l_(e,t){const n=e.hostBindingOpCodes;if(null!==n)try{for(let r=0;r<n.length;r++){const i=n[r];if(i<0)Hr(~i);else{const o=i,l=n[++r],h=n[++r];or(l,o),h(2,t[o])}}}finally{Hr(-1)}}(e,t);const h=e.components;null!==h&&function u_(e,t){for(let n=0;n<t.length;n++)I_(e,t[n])}(t,h);const m=e.viewQuery;if(null!==m&&Vu(2,m,r),l){const M=e.viewCheckHooks;null!==M&&xo(t,M)}else{const M=e.viewHooks;null!==M&&Gi(t,M,2),Qo(t,2)}!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),t[2]&=-41,512&t[2]&&(t[2]&=-513,ye(t[3],-1))}finally{Yo()}}}function d_(e,t,n,r){const i=t[10],l=E(t);try{!l&&i.begin&&i.begin(),l&&tl(e,t,r),wa(e,t,n,r)}finally{!l&&i.end&&i.end()}}function Uf(e,t,n,r,i){const o=sr(),l=2&r;try{Hr(-1),l&&t.length>22&&yf(e,t,22,!1),n(r,i)}finally{Hr(o)}}function jf(e,t,n){if(On(t)){const i=t.directiveEnd;for(let o=t.directiveStart;o<i;o++){const l=e.data[o];l.contentQueries&&l.contentQueries(1,n[o],o)}}}function Ou(e,t,n){!un()||(function __(e,t,n,r){const i=n.directiveStart,o=n.directiveEnd;e.firstCreatePass||fo(n,t),Or(r,t);const l=n.initialInputs;for(let h=i;h<o;h++){const m=e.data[h],M=gn(m);M&&b_(t,n,m);const I=mo(t,e,h,n);Or(I,t),null!==l&&M_(0,h-i,I,m,0,l),M&&($n(n.index,t)[8]=I)}}(e,t,n,ir(n,t)),128==(128&n.flags)&&function D_(e,t,n){const r=n.directiveStart,i=n.directiveEnd,o=n.index,l=function Qr(){return ue.lFrame.currentDirectiveIndex}();try{Hr(o);for(let h=r;h<i;h++){const m=e.data[h],M=t[h];ii(h),(null!==m.hostBindings||0!==m.hostVars||null!==m.hostAttrs)&&qf(m,M)}}finally{Hr(-1),ii(l)}}(e,t,n))}function Pu(e,t,n=ir){const r=t.localNames;if(null!==r){let i=t.index+1;for(let o=0;o<r.length;o+=2){const l=r[o+1],h=-1===l?n(t,e):e[l];e[i++]=h}}}function $f(e){const t=e.tView;return null===t||t.incompleteFirstPass?e.tView=Nu(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts):t}function Nu(e,t,n,r,i,o,l,h,m,M){const I=22+r,F=I+i,$=function f_(e,t){const n=[];for(let r=0;r<t;r++)n.push(r<e?null:Pt);return n}(I,F),te="function"==typeof M?M():M;return $[1]={type:e,blueprint:$,template:n,queries:null,viewQuery:h,declTNode:t,data:$.slice().fill(null,I),bindingStartIndex:I,expandoStartIndex:F,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 l?l():l,firstChild:null,schemas:m,consts:te,incompleteFirstPass:!1}}function Gf(e,t,n,r){const i=nh(t);null===n?i.push(r):(i.push(n),e.firstCreatePass&&rh(e).push(r,i.length-1))}function zf(e,t,n){for(let r in e)if(e.hasOwnProperty(r)){const i=e[r];(n=null===n?{}:n).hasOwnProperty(r)?n[r].push(t,i):n[r]=[t,i]}return n}function Wf(e,t){const r=t.directiveEnd,i=e.data,o=t.attrs,l=[];let h=null,m=null;for(let M=t.directiveStart;M<r;M++){const I=i[M],F=I.inputs,$=null===o||hf(t)?null:T_(F,o);l.push($),h=zf(F,M,h),m=zf(I.outputs,M,m)}null!==h&&(h.hasOwnProperty("class")&&(t.flags|=16),h.hasOwnProperty("style")&&(t.flags|=32)),t.initialInputs=l,t.inputs=h,t.outputs=m}function ui(e,t,n,r,i,o,l,h){const m=ir(t,n);let I,M=t.inputs;!h&&null!=M&&(I=M[r])?(Bu(e,n,I,r,i),_r(t)&&Kf(n,t.index)):3&t.type&&(r=function g_(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(r),i=null!=l?l(i,t.value||"",r):i,o.setProperty(m,r,i))}function Kf(e,t){const n=$n(t,e);16&n[2]||(n[2]|=32)}function Ru(e,t,n,r){let i=!1;if(un()){const o=function C_(e,t,n){const r=e.directiveRegistry;let i=null;if(r)for(let o=0;o<r.length;o++){const l=r[o];pf(n,l.selectors,!1)&&(i||(i=[]),qi(fo(n,t),e,l.type),gn(l)?(Qf(e,n),i.unshift(l)):i.push(l))}return i}(e,t,n),l=null===r?null:{"":-1};if(null!==o){i=!0,Zf(n,e.data.length,o.length);for(let I=0;I<o.length;I++){const F=o[I];F.providersResolver&&F.providersResolver(F)}let h=!1,m=!1,M=Rs(e,t,o.length,null);for(let I=0;I<o.length;I++){const F=o[I];n.mergedAttrs=co(n.mergedAttrs,F.hostAttrs),Jf(e,n,t,M,F),w_(M,F,l),null!==F.contentQueries&&(n.flags|=8),(null!==F.hostBindings||null!==F.hostAttrs||0!==F.hostVars)&&(n.flags|=128);const $=F.type.prototype;!h&&($.ngOnChanges||$.ngOnInit||$.ngDoCheck)&&((e.preOrderHooks||(e.preOrderHooks=[])).push(n.index),h=!0),!m&&($.ngOnChanges||$.ngDoCheck)&&((e.preOrderCheckHooks||(e.preOrderCheckHooks=[])).push(n.index),m=!0),M++}Wf(e,n)}l&&function E_(e,t,n){if(t){const r=e.localNames=[];for(let i=0;i<t.length;i+=2){const o=n[t[i+1]];if(null==o)throw new _e(-301,!1);r.push(t[i],o)}}}(n,r,l)}return n.mergedAttrs=co(n.mergedAttrs,n.attrs),i}function Yf(e,t,n,r,i,o){const l=o.hostBindings;if(l){let h=e.hostBindingOpCodes;null===h&&(h=e.hostBindingOpCodes=[]);const m=~t.index;(function v_(e){let t=e.length;for(;t>0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(h)!=m&&h.push(m),h.push(r,i,l)}}function qf(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function Qf(e,t){t.flags|=2,(e.components||(e.components=[])).push(t.index)}function w_(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;gn(t)&&(n[""]=e)}}function Zf(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function Jf(e,t,n,r,i){e.data[r]=i;const o=i.factory||(i.factory=yn(i.type)),l=new zi(o,gn(i),Ps);e.blueprint[r]=l,n[r]=l,Yf(e,t,0,r,Rs(e,n,i.hostVars,Pt),i)}function b_(e,t,n){const r=ir(t,e),i=$f(n),o=e[10],l=nl(e,el(e,i,null,n.onPush?32:16,r,t,o,o.createRenderer(r,n),null,null,null));e[t.index]=l}function eo(e,t,n,r,i,o){const l=ir(e,t);!function xu(e,t,n,r,i,o,l){if(null==o)e.removeAttribute(t,i,n);else{const h=null==l?be(o):l(o,r||"",i);e.setAttribute(t,i,h,n)}}(t[11],l,o,e.value,n,r,i)}function M_(e,t,n,r,i,o){const l=o[t];if(null!==l){const h=r.setInput;for(let m=0;m<l.length;){const M=l[m++],I=l[m++],F=l[m++];null!==h?r.setInput(n,F,M,I):n[I]=F}}}function T_(e,t){let n=null,r=0;for(;r<t.length;){const i=t[r];if(0!==i)if(5!==i){if("number"==typeof i)break;e.hasOwnProperty(i)&&(null===n&&(n=[]),n.push(i,e[i],t[r+1])),r+=2}else r+=2;else r+=4}return n}function Xf(e,t,n,r){return new Array(e,!0,!1,t,null,0,r,n,null,null)}function I_(e,t){const n=$n(t,e);if(O(n)){const r=n[1];48&n[2]?wa(r,n,r.template,n[8]):n[5]>0&&Fu(n)}}function Fu(e){for(let r=iu(e);null!==r;r=ou(r))for(let i=10;i<r.length;i++){const o=r[i];if(O(o))if(512&o[2]){const l=o[1];wa(l,o,l.template,o[8])}else o[5]>0&&Fu(o)}const n=e[1].components;if(null!==n)for(let r=0;r<n.length;r++){const i=$n(n[r],e);O(i)&&i[5]>0&&Fu(i)}}function O_(e,t){const n=$n(t,e),r=n[1];(function P_(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])})(r,n),tl(r,n,n[8])}function nl(e,t){return e[13]?e[14][4]=t:e[13]=t,e[14]=t,t}function ku(e){for(;e;){e[2]|=32;const t=Ca(e);if(Fi(e)&&!t)return e;e=t}return null}function th(e){!function eh(e){for(let t=0;t<e.components.length;t++){const n=e.components[t],r=tu(n);if(null!==r){const i=r[1];d_(i,r,i.template,n)}}}(e[8])}function Vu(e,t,n){lo(0),t(e,n)}const R_=(()=>Promise.resolve(null))();function nh(e){return e[7]||(e[7]=[])}function rh(e){return e.cleanup||(e.cleanup=[])}function ih(e,t,n){return(null===e||gn(e))&&(n=function pi(e){for(;Array.isArray(e);){if("object"==typeof e[1])return e;e=e[0]}return null}(n[t.index])),n[11]}function oh(e,t){const n=e[9],r=n?n.get(_a,null):null;r&&r.handleError(t)}function Bu(e,t,n,r,i){for(let o=0;o<n.length;){const l=n[o++],h=n[o++],m=t[l],M=e.data[l];null!==M.setInput?M.setInput(m,i,r,h):m[h]=i}}function Co(e,t,n){const r=Vr(t,e);!function Yd(e,t,n){e.setValue(t,n)}(e[11],r,n)}function rl(e,t,n){let r=n?e.styles:null,i=n?e.classes:null,o=0;if(null!==t)for(let l=0;l<t.length;l++){const h=t[l];"number"==typeof h?o=h:1==o?i=le(i,h):2==o&&(r=le(r,h+": "+t[++l]+";"))}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=i:e.classesWithoutHost=i}function il(e,t,n,r,i=!1){for(;null!==n;){const o=t[n.index];if(null!==o&&r.push(on(o)),wn(o))for(let h=10;h<o.length;h++){const m=o[h],M=m[1].firstChild;null!==M&&il(m[1],m,M,r)}const l=n.type;if(8&l)il(e,t,n.child,r);else if(32&l){const h=ru(n,t);let m;for(;m=h();)r.push(m)}else if(16&l){const h=af(t,n);if(Array.isArray(h))r.push(...h);else{const m=Ca(t[16]);il(m[1],m,h,r,!0)}}n=i?n.projectionNext:n.next}return r}class ba{constructor(t,n){this._lView=t,this._cdRefInjectingView=n,this._appRef=null,this._attachedToViewContainer=!1}get rootNodes(){const t=this._lView,n=t[1];return il(n,t,n.firstChild,[])}get context(){return this._lView[8]}set context(t){this._lView[8]=t}get destroyed(){return 128==(128&this._lView[2])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const t=this._lView[3];if(wn(t)){const n=t[8],r=n?n.indexOf(this):-1;r>-1&&(lu(t,r),Lt(n,r))}this._attachedToViewContainer=!1}Qd(this._lView[1],this._lView)}onDestroy(t){Gf(this._lView[1],this._lView,null,t)}markForCheck(){ku(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-65}reattach(){this._lView[2]|=64}detectChanges(){!function Lu(e,t,n){const r=t[10];r.begin&&r.begin();try{wa(e,t,e.template,n)}catch(i){throw oh(t,i),i}finally{r.end&&r.end()}}(this._lView[1],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new _e(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function fv(e,t){Ea(e,t,t[11],2,null,null)}(this._lView[1],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new _e(902,!1);this._appRef=t}}class x_ extends ba{constructor(t){super(t),this._view=t}detectChanges(){th(this._view)}checkNoChanges(){}get context(){return null}}class Hu extends ya{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const n=Ft(t);return new Ma(n,this.ngModule)}}function sh(e){const t=[];for(let n in e)e.hasOwnProperty(n)&&t.push({propName:e[n],templateName:n});return t}class k_{constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){const i=this.injector.get(t,Wl,r);return i!==Wl||n===Wl?i:this.parentInjector.get(t,n,r)}}class Ma extends Id{constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=function Nv(e){return e.map(Pv).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!n}get inputs(){return sh(this.componentDef.inputs)}get outputs(){return sh(this.componentDef.outputs)}create(t,n,r,i){let o=(i=i||this.ngModule)instanceof is?i:i?.injector;o&&null!==this.componentDef.getStandaloneInjector&&(o=this.componentDef.getStandaloneInjector(o)||o);const l=o?new k_(t,o):t,h=l.get(Pd,null);if(null===h)throw new _e(407,!1);const m=l.get(Py,null),M=h.createRenderer(null,this.componentDef),I=this.componentDef.selectors[0][0]||"div",F=r?function h_(e,t,n){return e.selectRootElement(t,n===L.ShadowDom)}(M,r,this.componentDef.encapsulation):au(h.createRenderer(null,this.componentDef),I,function F_(e){const t=e.toLowerCase();return"svg"===t?"svg":"math"===t?"math":null}(I)),$=this.componentDef.onPush?288:272,te=function U_(e,t){return{components:[],scheduler:e||tv,clean:R_,playerHandler:t||null,flags:0}}(),Te=Nu(0,null,null,1,0,null,null,null,null,null),Ve=el(null,Te,te,$,null,null,h,M,m,l,null);let Ye,rt;Wo(Ve);try{const Tt=function B_(e,t,n,r,i,o){const l=n[1];n[22]=e;const m=Ns(l,22,2,"#host",null),M=m.mergedAttrs=t.hostAttrs;null!==M&&(rl(m,M,!0),null!==e&&(Wi(i,e,M),null!==m.classes&&hu(i,e,m.classes),null!==m.styles&&cf(i,e,m.styles)));const I=r.createRenderer(e,t),F=el(n,$f(t),null,t.onPush?32:16,n[22],m,r,I,o||null,null,null);return l.firstCreatePass&&(qi(fo(m,n),l,t.type),Qf(l,m),Zf(m,n.length,1)),nl(n,F),n[22]=F}(F,this.componentDef,Ve,h,M);if(F)if(r)Wi(M,F,["ng-version",Ny.full]);else{const{attrs:xe,classes:Dt}=function Rv(e){const t=[],n=[];let r=1,i=2;for(;r<e.length;){let o=e[r];if("string"==typeof o)2===i?""!==o&&t.push(o,e[++r]):8===i&&n.push(o);else{if(!Oi(i))break;i=o}r++}return{attrs:t,classes:n}}(this.componentDef.selectors[0]);xe&&Wi(M,F,xe),Dt&&Dt.length>0&&hu(M,F,Dt.join(" "))}if(rt=ri(Te,22),void 0!==n){const xe=rt.projection=[];for(let Dt=0;Dt<this.ngContentSelectors.length;Dt++){const $t=n[Dt];xe.push(null!=$t?Array.from($t):null)}}Ye=function H_(e,t,n,r,i){const o=n[1],l=function y_(e,t,n){const r=sn();e.firstCreatePass&&(n.providersResolver&&n.providersResolver(n),Jf(e,r,t,Rs(e,t,1,null),n),Wf(e,r));const i=mo(t,e,r.directiveStart,r);Or(i,t);const o=ir(r,t);return o&&Or(o,t),i}(o,n,t);if(r.components.push(l),e[8]=l,null!==i)for(const m of i)m(l,t);if(t.contentQueries){const m=sn();t.contentQueries(1,l,m.directiveStart)}const h=sn();return!o.firstCreatePass||null===t.hostBindings&&null===t.hostAttrs||(Hr(h.index),Yf(n[1],h,0,h.directiveStart,h.directiveEnd,t),qf(t,l)),l}(Tt,this.componentDef,Ve,te,[j_]),tl(Te,Ve,null)}finally{Yo()}return new V_(this.componentType,Ye,Ss(rt,Ve),Ve,rt)}}class V_ extends class by{}{constructor(t,n,r,i,o){super(),this.location=r,this._rootLView=i,this._tNode=o,this.instance=n,this.hostView=this.changeDetectorRef=new x_(i),this.componentType=t}setInput(t,n){const r=this._tNode.inputs;let i;if(null!==r&&(i=r[t])){const o=this._rootLView;Bu(o[1],o,i,t,n),Kf(o,this._tNode.index)}}get injector(){return new s(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}}function j_(){const e=sn();Ro(Ie()[1],e)}function Uu(e){let t=function ah(e){return Object.getPrototypeOf(e.prototype).constructor}(e.type),n=!0;const r=[e];for(;t;){let i;if(gn(e))i=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new _e(903,!1);i=t.\u0275dir}if(i){if(n){r.push(i);const l=e;l.inputs=ju(e.inputs),l.declaredInputs=ju(e.declaredInputs),l.outputs=ju(e.outputs);const h=i.hostBindings;h&&W_(e,h);const m=i.viewQuery,M=i.contentQueries;if(m&&G_(e,m),M&&z_(e,M),Y(e.inputs,i.inputs),Y(e.declaredInputs,i.declaredInputs),Y(e.outputs,i.outputs),gn(i)&&i.data.animation){const I=e.data;I.animation=(I.animation||[]).concat(i.data.animation)}}const o=i.features;if(o)for(let l=0;l<o.length;l++){const h=o[l];h&&h.ngInherit&&h(e),h===Uu&&(n=!1)}}t=Object.getPrototypeOf(t)}!function $_(e){let t=0,n=null;for(let r=e.length-1;r>=0;r--){const i=e[r];i.hostVars=t+=i.hostVars,i.hostAttrs=co(i.hostAttrs,n=co(n,i.hostAttrs))}}(r)}function ju(e){return e===Mt?{}:e===Ze?[]:e}function G_(e,t){const n=e.viewQuery;e.viewQuery=n?(r,i)=>{t(r,i),n(r,i)}:t}function z_(e,t){const n=e.contentQueries;e.contentQueries=n?(r,i,o)=>{t(r,i,o),n(r,i,o)}:t}function W_(e,t){const n=e.hostBindings;e.hostBindings=n?(r,i)=>{t(r,i),n(r,i)}:t}let ol=null;function as(){if(!ol){const e=se.Symbol;if(e&&e.iterator)ol=e.iterator;else{const t=Object.getOwnPropertyNames(Map.prototype);for(let n=0;n<t.length;++n){const r=t[n];"entries"!==r&&"size"!==r&&Map.prototype[r]===Map.prototype.entries&&(ol=r)}}}return ol}function Ta(e){return!!$u(e)&&(Array.isArray(e)||!(e instanceof Map)&&as()in e)}function $u(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function to(e,t,n){return e[t]=n}function Sa(e,t){return e[t]}function Pr(e,t,n){return!Object.is(e[t],n)&&(e[t]=n,!0)}function ls(e,t,n,r){const i=Pr(e,t,n);return Pr(e,t+1,r)||i}function Di(e,t,n,r,i,o){const l=ls(e,t,n,r);return ls(e,t+2,i,o)||l}function Gu(e,t,n,r){const i=Ie();return Pr(i,P(),t)&&(St(),eo(cn(),i,e,t,n,r)),Gu}function Fs(e,t,n,r){return Pr(e,P(),n)?t+be(n)+r:Pt}function ks(e,t,n,r,i,o){const h=ls(e,function D(){return ue.lFrame.bindingIndex}(),n,i);return he(2),h?t+be(n)+r+be(i)+o:Pt}function yh(e,t,n,r,i,o,l,h){const m=Ie(),M=St(),I=e+22,F=M.firstCreatePass?function tD(e,t,n,r,i,o,l,h,m){const M=t.consts,I=Ns(t,e,4,l||null,N(M,h));Ru(t,n,I,N(M,m)),Ro(t,I);const F=I.tViews=Nu(2,I,r,i,o,t.directiveRegistry,t.pipeRegistry,null,t.schemas,M);return null!==t.queries&&(t.queries.template(t,I),F.queries=t.queries.embeddedTView(I)),I}(I,M,m,t,n,r,i,o,l):M.data[I];Ln(F,!1);const $=m[11].createComment("");Ya(M,m,$,F),Or($,m),nl(m,m[I]=Xf($,m,$,F)),In(F)&&Ou(M,m,F),null!=l&&Pu(m,F,h)}function vh(e){return jn(function ao(){return ue.lFrame.contextLView}(),22+e)}function zu(e,t,n){const r=Ie();return Pr(r,P(),t)&&ui(St(),cn(),r,e,t,r[11],n,!1),zu}function Wu(e,t,n,r,i){const l=i?"class":"style";Bu(e,n,t.inputs[l],l,r)}function al(e,t,n,r){const i=Ie(),o=St(),l=22+e,h=i[11],m=i[l]=au(h,t,function oi(){return ue.lFrame.currentNamespace}()),M=o.firstCreatePass?function rD(e,t,n,r,i,o,l){const h=t.consts,M=Ns(t,e,2,i,N(h,o));return Ru(t,n,M,N(h,l)),null!==M.attrs&&rl(M,M.attrs,!1),null!==M.mergedAttrs&&rl(M,M.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,M),M}(l,o,i,0,t,n,r):o.data[l];Ln(M,!0);const I=M.mergedAttrs;null!==I&&Wi(h,m,I);const F=M.classes;null!==F&&hu(h,m,F);const $=M.styles;return null!==$&&cf(h,m,$),64!=(64&M.flags)&&Ya(o,i,m,M),0===function Kt(){return ue.lFrame.elementDepthCount}()&&Or(m,i),function zt(){ue.lFrame.elementDepthCount++}(),In(M)&&(Ou(o,i,M),jf(o,M,i)),null!==r&&Pu(i,M),al}function ll(){let e=sn();So()?bi():(e=e.parent,Ln(e,!1));const t=e;!function kt(){ue.lFrame.elementDepthCount--}();const n=St();return n.firstCreatePass&&(Ro(n,e),On(e)&&n.queries.elementEnd(e)),null!=t.classesWithoutHost&&function ea(e){return 0!=(16&e.flags)}(t)&&Wu(n,t,Ie(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function gs(e){return 0!=(32&e.flags)}(t)&&Wu(n,t,Ie(),t.stylesWithoutHost,!1),ll}function Ku(e,t,n,r){return al(e,t,n,r),ll(),Ku}function ul(e,t,n){const r=Ie(),i=St(),o=e+22,l=i.firstCreatePass?function iD(e,t,n,r,i){const o=t.consts,l=N(o,r),h=Ns(t,e,8,"ng-container",l);return null!==l&&rl(h,l,!0),Ru(t,n,h,N(o,i)),null!==t.queries&&t.queries.elementStart(t,h),h}(o,i,r,t,n):i.data[o];Ln(l,!0);const h=r[o]=r[11].createComment("");return Ya(i,r,h,l),Or(h,r),In(l)&&(Ou(i,r,l),jf(i,l,r)),null!=n&&Pu(r,l),ul}function cl(){let e=sn();const t=St();return So()?bi():(e=e.parent,Ln(e,!1)),t.firstCreatePass&&(Ro(t,e),On(e)&&t.queries.elementEnd(e)),cl}function Yu(e,t,n){return ul(e,t,n),cl(),Yu}function _h(){return Ie()}function qu(e){return!!e&&"function"==typeof e.then}function Dh(e){return!!e&&"function"==typeof e.subscribe}const Ch=Dh;function Qu(e,t,n,r){const i=Ie(),o=St(),l=sn();return Eh(o,i,i[11],l,e,t,0,r),Qu}function Zu(e,t){const n=sn(),r=Ie(),i=St();return Eh(i,r,ih(mi(i.data),n,r),n,e,t),Zu}function Eh(e,t,n,r,i,o,l,h){const m=In(r),I=e.firstCreatePass&&rh(e),F=t[8],$=nh(t);let te=!0;if(3&r.type||h){const Ye=ir(r,t),rt=h?h(Ye):Ye,Tt=$.length,xe=h?$t=>h(on($t[r.index])):r.index;let Dt=null;if(!h&&m&&(Dt=function oD(e,t,n,r){const i=e.cleanup;if(null!=i)for(let o=0;o<i.length-1;o+=2){const l=i[o];if(l===n&&i[o+1]===r){const h=t[7],m=i[o+2];return h.length>m?h[m]:null}"string"==typeof l&&(o+=2)}return null}(e,t,i,r.index)),null!==Dt)(Dt.__ngLastListenerFn__||Dt).__ngNextListenerFn__=o,Dt.__ngLastListenerFn__=o,te=!1;else{o=bh(r,t,F,o,!1);const $t=n.listen(rt,i,o);$.push(o,$t),I&&I.push(i,xe,Tt,Tt+1)}}else o=bh(r,t,F,o,!1);const Te=r.outputs;let Ve;if(te&&null!==Te&&(Ve=Te[i])){const Ye=Ve.length;if(Ye)for(let rt=0;rt<Ye;rt+=2){const Dn=t[Ve[rt]][Ve[rt+1]].subscribe(o),ds=$.length;$.push(o,Dn),I&&I.push(i,r.index,ds,-(ds+1))}}}function wh(e,t,n,r){try{return!1!==n(r)}catch(i){return oh(e,i),!1}}function bh(e,t,n,r,i){return function o(l){if(l===Function)return r;ku(2&e.flags?$n(e.index,t):t);let m=wh(t,0,r,l),M=o.__ngNextListenerFn__;for(;M;)m=wh(t,0,M,l)&&m,M=M.__ngNextListenerFn__;return i&&!1===m&&(l.preventDefault(),l.returnValue=!1),m}}function Mh(e=1){return function qo(e){return(ue.lFrame.contextLView=function Xs(e,t){for(;e>0;)t=t[15],e--;return t}(e,ue.lFrame.contextLView))[8]}(e)}function sD(e,t){let n=null;const r=function Sv(e){const t=e.attrs;if(null!=t){const n=t.indexOf(5);if(0==(1&n))return t[n+1]}return null}(e);for(let i=0;i<t.length;i++){const o=t[i];if("*"!==o){if(null===r?pf(e,o,!0):Ov(r,o))return i}else n=i}return n}function Th(e){const t=Ie()[16][6];if(!t.projection){const r=t.projection=_n(e?e.length:1,null),i=r.slice();let o=t.child;for(;null!==o;){const l=e?sD(o,e):0;null!==l&&(i[l]?i[l].projectionNext=o:r[l]=o,i[l]=o),o=o.next}}}function Sh(e,t=0,n){const r=Ie(),i=St(),o=Ns(i,22+e,16,null,n||null);null===o.projection&&(o.projection=t),bi(),64!=(64&o.flags)&&function Dv(e,t,n){uf(t[11],0,t,n,Zd(e,n,t),tf(n.parent||t[6],n,t))}(i,r,o)}function Ju(e,t,n){return Xu(e,"",t,"",n),Ju}function Xu(e,t,n,r,i){const o=Ie(),l=Fs(o,t,n,r);return l!==Pt&&ui(St(),cn(),o,e,l,o[11],i,!1),Xu}function kh(e,t,n,r,i){const o=e[n+1],l=null===t;let h=r?Pi(o):Do(o),m=!1;for(;0!==h&&(!1===m||l);){const I=e[h+1];uD(e[h],t)&&(m=!0,e[h+1]=r?Du(I):vu(I)),h=r?Pi(I):Do(I)}m&&(e[n+1]=r?vu(o):Du(o))}function uD(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&ce(e,t)>=0}const lr={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Lh(e){return e.substring(lr.key,lr.keyEnd)}function Vh(e,t){const n=lr.textEnd;return n===t?-1:(t=lr.keyEnd=function hD(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}(e,lr.key=t,n),$s(e,t,n))}function $s(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function ec(e,t,n){return Ni(e,t,n,!1),ec}function tc(e,t){return Ni(e,t,null,!0),tc}function $h(e){Ri(x,ro,e,!0)}function ro(e,t){for(let n=function dD(e){return function Hh(e){lr.key=0,lr.keyEnd=0,lr.value=0,lr.valueEnd=0,lr.textEnd=e.length}(e),Vh(e,$s(e,0,lr.textEnd))}(t);n>=0;n=Vh(t,n))x(e,Lh(t),!0)}function Ni(e,t,n,r){const i=Ie(),o=St(),l=he(2);o.firstUpdatePass&&zh(o,e,l,r),t!==Pt&&Pr(i,l,t)&&Kh(o,o.data[sr()],i,i[11],e,i[l+1]=function wD(e,t){return null==e||("string"==typeof t?e+=t:"object"==typeof e&&(e=ie(vo(e)))),e}(t,n),r,l)}function Ri(e,t,n,r){const i=St(),o=he(2);i.firstUpdatePass&&zh(i,null,o,r);const l=Ie();if(n!==Pt&&Pr(l,o,n)){const h=i.data[sr()];if(qh(h,r)&&!Gh(i,o)){let m=r?h.classesWithoutHost:h.stylesWithoutHost;null!==m&&(n=le(m,n||"")),Wu(i,h,l,n,r)}else!function ED(e,t,n,r,i,o,l,h){i===Pt&&(i=Ze);let m=0,M=0,I=0<i.length?i[0]:null,F=0<o.length?o[0]:null;for(;null!==I||null!==F;){const $=m<i.length?i[m+1]:void 0,te=M<o.length?o[M+1]:void 0;let Ve,Te=null;I===F?(m+=2,M+=2,$!==te&&(Te=F,Ve=te)):null===F||null!==I&&I<F?(m+=2,Te=I):(M+=2,Te=F,Ve=te),null!==Te&&Kh(e,t,n,r,Te,Ve,l,h),I=m<i.length?i[m]:null,F=M<o.length?o[M]:null}}(i,h,l,l[11],l[o+1],l[o+1]=function CD(e,t,n){if(null==n||""===n)return Ze;const r=[],i=vo(n);if(Array.isArray(i))for(let o=0;o<i.length;o++)e(r,i[o],!0);else if("object"==typeof i)for(const o in i)i.hasOwnProperty(o)&&e(r,o,i[o]);else"string"==typeof i&&t(r,i);return r}(e,t,n),r,o)}}function Gh(e,t){return t>=e.expandoStartIndex}function zh(e,t,n,r){const i=e.data;if(null===i[n+1]){const o=i[sr()],l=Gh(e,n);qh(o,r)&&null===t&&!l&&(t=!1),t=function yD(e,t,n,r){const i=mi(e);let o=r?t.residualClasses:t.residualStyles;if(null===i)0===(r?t.classBindings:t.styleBindings)&&(n=Aa(n=nc(null,e,t,n,r),t.attrs,r),o=null);else{const l=t.directiveStylingLast;if(-1===l||e[l]!==i)if(n=nc(i,e,t,n,r),null===o){let m=function vD(e,t,n){const r=n?t.classBindings:t.styleBindings;if(0!==Do(r))return e[Pi(r)]}(e,t,r);void 0!==m&&Array.isArray(m)&&(m=nc(null,e,t,m[1],r),m=Aa(m,t.attrs,r),function _D(e,t,n,r){e[Pi(n?t.classBindings:t.styleBindings)]=r}(e,t,r,m))}else o=function DD(e,t,n){let r;const i=t.directiveEnd;for(let o=1+t.directiveStylingLast;o<i;o++)r=Aa(r,e[o].hostAttrs,n);return Aa(r,t.attrs,n)}(e,t,r)}return void 0!==o&&(r?t.residualClasses=o:t.residualStyles=o),n}(i,o,t,r),function aD(e,t,n,r,i,o){let l=o?t.classBindings:t.styleBindings,h=Pi(l),m=Do(l);e[r]=n;let I,M=!1;if(Array.isArray(n)){const F=n;I=F[1],(null===I||ce(F,I)>0)&&(M=!0)}else I=n;if(i)if(0!==m){const $=Pi(e[h+1]);e[r+1]=Za($,h),0!==$&&(e[$+1]=_u(e[$+1],r)),e[h+1]=function Jv(e,t){return 131071&e|t<<17}(e[h+1],r)}else e[r+1]=Za(h,0),0!==h&&(e[h+1]=_u(e[h+1],r)),h=r;else e[r+1]=Za(m,0),0===h?h=r:e[m+1]=_u(e[m+1],r),m=r;M&&(e[r+1]=vu(e[r+1])),kh(e,I,r,!0),kh(e,I,r,!1),function lD(e,t,n,r,i){const o=i?e.residualClasses:e.residualStyles;null!=o&&"string"==typeof t&&ce(o,t)>=0&&(n[r+1]=Du(n[r+1]))}(t,I,e,r,o),l=Za(h,m),o?t.classBindings=l:t.styleBindings=l}(i,o,t,n,l,r)}}function nc(e,t,n,r,i){let o=null;const l=n.directiveEnd;let h=n.directiveStylingLast;for(-1===h?h=n.directiveStart:h++;h<l&&(o=t[h],r=Aa(r,o.hostAttrs,i),o!==e);)h++;return null!==e&&(n.directiveStylingLast=h),r}function Aa(e,t,n){const r=n?1:2;let i=-1;if(null!==t)for(let o=0;o<t.length;o++){const l=t[o];"number"==typeof l?i=l:i===r&&(Array.isArray(e)||(e=void 0===e?[]:["",e]),x(e,l,!!n||t[++o]))}return void 0===e?null:e}function Kh(e,t,n,r,i,o,l,h){if(!(3&t.type))return;const m=e.data,M=m[h+1];dl(function Nf(e){return 1==(1&e)}(M)?Yh(m,t,n,i,Do(M),l):void 0)||(dl(o)||function Pf(e){return 2==(2&e)}(M)&&(o=Yh(m,null,n,i,h,l)),function Ev(e,t,n,r,i){if(t)i?e.addClass(n,r):e.removeClass(n,r);else{let o=-1===r.indexOf("-")?void 0:Xi.DashCase;null==i?e.removeStyle(n,r,o):("string"==typeof i&&i.endsWith("!important")&&(i=i.slice(0,-10),o|=Xi.Important),e.setStyle(n,r,i,o))}}(r,l,Vr(sr(),n),i,o))}function Yh(e,t,n,r,i,o){const l=null===t;let h;for(;i>0;){const m=e[i],M=Array.isArray(m),I=M?m[1]:m,F=null===I;let $=n[i+1];$===Pt&&($=F?Ze:void 0);let te=F?V($,r):I===r?$:void 0;if(M&&!dl(te)&&(te=V(m,r)),dl(te)&&(h=te,l))return h;const Te=e[i+1];i=l?Pi(Te):Do(Te)}if(null!==t){let m=o?t.residualClasses:t.residualStyles;null!=m&&(h=V(m,r))}return h}function dl(e){return void 0!==e}function qh(e,t){return 0!=(e.flags&(t?16:32))}function Qh(e,t=""){const n=Ie(),r=St(),i=e+22,o=r.firstCreatePass?Ns(r,i,1,t,null):r.data[i],l=n[i]=function su(e,t){return e.createText(t)}(n[11],t);Ya(r,n,l,o),Ln(o,!1)}function rc(e){return fl("",e,""),rc}function fl(e,t,n){const r=Ie(),i=Fs(r,e,t,n);return i!==Pt&&Co(r,sr(),i),fl}function ic(e,t,n,r,i){const o=Ie(),l=ks(o,e,t,n,r,i);return l!==Pt&&Co(o,sr(),l),ic}function ip(e,t,n){Ri(x,ro,Fs(Ie(),e,t,n),!0)}function oc(e,t,n){const r=Ie();return Pr(r,P(),t)&&ui(St(),cn(),r,e,t,r[11],n,!0),oc}function sc(e,t,n){const r=Ie();if(Pr(r,P(),t)){const o=St(),l=cn();ui(o,l,r,e,t,ih(mi(o.data),l,r),n,!0)}return sc}const us=void 0;var jD=["en",[["a","p"],["AM","PM"],us],[["AM","PM"],us,us],[["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"]],us,[["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"]],us,[["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}",us,"{1} 'at' {0}",us],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function UD(e){const n=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length;return 1===n&&0===r?1:5}];let Gs={};function ac(e){const t=function $D(e){return e.toLowerCase().replace(/_/g,"-")}(e);let n=gp(t);if(n)return n;const r=t.split("-")[0];if(n=gp(r),n)return n;if("en"===r)return jD;throw new _e(701,!1)}function pp(e){return ac(e)[bt.PluralCase]}function gp(e){return e in Gs||(Gs[e]=se.ng&&se.ng.common&&se.ng.common.locales&&se.ng.common.locales[e]),Gs[e]}var bt=(()=>((bt=bt||{})[bt.LocaleId=0]="LocaleId",bt[bt.DayPeriodsFormat=1]="DayPeriodsFormat",bt[bt.DayPeriodsStandalone=2]="DayPeriodsStandalone",bt[bt.DaysFormat=3]="DaysFormat",bt[bt.DaysStandalone=4]="DaysStandalone",bt[bt.MonthsFormat=5]="MonthsFormat",bt[bt.MonthsStandalone=6]="MonthsStandalone",bt[bt.Eras=7]="Eras",bt[bt.FirstDayOfWeek=8]="FirstDayOfWeek",bt[bt.WeekendRange=9]="WeekendRange",bt[bt.DateFormat=10]="DateFormat",bt[bt.TimeFormat=11]="TimeFormat",bt[bt.DateTimeFormat=12]="DateTimeFormat",bt[bt.NumberSymbols=13]="NumberSymbols",bt[bt.NumberFormats=14]="NumberFormats",bt[bt.CurrencyCode=15]="CurrencyCode",bt[bt.CurrencySymbol=16]="CurrencySymbol",bt[bt.CurrencyName=17]="CurrencyName",bt[bt.Currencies=18]="Currencies",bt[bt.Directionality=19]="Directionality",bt[bt.PluralCase=20]="PluralCase",bt[bt.ExtraData=21]="ExtraData",bt))();const zs="en-US";let mp=zs;function cc(e,t,n,r,i){if(e=X(e),Array.isArray(e))for(let o=0;o<e.length;o++)cc(e[o],t,n,r,i);else{const o=St(),l=Ie();let h=rs(e)?e:X(e.provide),m=Ad(e);const M=sn(),I=1048575&M.providerIndexes,F=M.directiveStart,$=M.providerIndexes>>20;if(rs(e)||!e.multi){const te=new zi(m,i,Ps),Te=fc(h,t,i?I:I+$,F);-1===Te?(qi(fo(M,l),o,h),dc(o,e,t.length),t.push(h),M.directiveStart++,M.directiveEnd++,i&&(M.providerIndexes+=1048576),n.push(te),l.push(te)):(n[Te]=te,l[Te]=te)}else{const te=fc(h,t,I+$,F),Te=fc(h,t,I,I+$),Ve=te>=0&&n[te],Ye=Te>=0&&n[Te];if(i&&!Ye||!i&&!Ve){qi(fo(M,l),o,h);const rt=function HC(e,t,n,r,i){const o=new zi(e,n,Ps);return o.multi=[],o.index=t,o.componentProviders=0,Up(o,i,r&&!n),o}(i?BC:VC,n.length,i,r,m);!i&&Ye&&(n[Te].providerFactory=rt),dc(o,e,t.length,0),t.push(h),M.directiveStart++,M.directiveEnd++,i&&(M.providerIndexes+=1048576),n.push(rt),l.push(rt)}else dc(o,e,te>-1?te:Te,Up(n[i?Te:te],m,!i&&r));!i&&r&&Ye&&n[Te].componentProviders++}}}function dc(e,t,n,r){const i=rs(t),o=function my(e){return!!e.useClass}(t);if(i||o){const m=(o?X(t.useClass):t).prototype.ngOnDestroy;if(m){const M=e.destroyHooks||(e.destroyHooks=[]);if(!i&&t.multi){const I=M.indexOf(n);-1===I?M.push(n,[r,m]):M[I+1].push(r,m)}else M.push(n,m)}}}function Up(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function fc(e,t,n,r){for(let i=n;i<r;i++)if(t[i]===e)return i;return-1}function VC(e,t,n,r){return hc(this.multi,[])}function BC(e,t,n,r){const i=this.multi;let o;if(this.providerFactory){const l=this.providerFactory.componentProviders,h=mo(n,n[1],this.providerFactory.index,r);o=h.slice(0,l),hc(i,o);for(let m=l;m<h.length;m++)o.push(h[m])}else o=[],hc(i,o);return o}function hc(e,t){for(let n=0;n<e.length;n++)t.push((0,e[n])());return t}function jp(e,t=[]){return n=>{n.providersResolver=(r,i)=>function LC(e,t,n){const r=St();if(r.firstCreatePass){const i=gn(e);cc(n,r.data,r.blueprint,i,!0),cc(t,r.data,r.blueprint,i,!1)}}(r,i?i(e):e,t)}}class Ks{}class $p{}function UC(e,t){return new Gp(e,t??null)}class Gp extends Ks{constructor(t,n){super(),this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new Hu(this);const r=Sn(t);this._bootstrapComponents=_o(r.bootstrap),this._r3Injector=Ef(t,n,[{provide:Ks,useValue:this},{provide:ya,useValue:this.componentFactoryResolver}],ie(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 pc extends $p{constructor(t){super(),this.moduleType=t}create(t){return new Gp(this.moduleType,t)}}class jC extends Ks{constructor(t,n,r){super(),this.componentFactoryResolver=new Hu(this),this.instance=null;const i=new Sd([...t,{provide:Ks,useValue:this},{provide:ya,useValue:this.componentFactoryResolver}],n||Wa(),r,new Set(["environment"]));this.injector=i,i.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}}function gc(e,t,n=null){return new jC(e,t,n).injector}function Zp(e,t,n){const r=b()+e,i=Ie();return i[r]===Pt?to(i,r,n?t.call(n):t()):Sa(i,r)}function Jp(e,t,n,r){return rg(Ie(),b(),e,t,n,r)}function Xp(e,t,n,r,i){return ig(Ie(),b(),e,t,n,r,i)}function eg(e,t,n,r,i,o){return og(Ie(),b(),e,t,n,r,i,o)}function tg(e,t,n,r,i,o,l){return sg(Ie(),b(),e,t,n,r,i,o,l)}function ng(e,t,n,r,i,o,l,h){const m=b()+e,M=Ie(),I=Di(M,m,n,r,i,o);return Pr(M,m+4,l)||I?to(M,m+5,h?t.call(h,n,r,i,o,l):t(n,r,i,o,l)):Sa(M,m+5)}function Ra(e,t){const n=e[t];return n===Pt?void 0:n}function rg(e,t,n,r,i,o){const l=t+n;return Pr(e,l,i)?to(e,l+1,o?r.call(o,i):r(i)):Ra(e,l+1)}function ig(e,t,n,r,i,o,l){const h=t+n;return ls(e,h,i,o)?to(e,h+2,l?r.call(l,i,o):r(i,o)):Ra(e,h+2)}function og(e,t,n,r,i,o,l,h){const m=t+n;return function sl(e,t,n,r,i){const o=ls(e,t,n,r);return Pr(e,t+2,i)||o}(e,m,i,o,l)?to(e,m+3,h?r.call(h,i,o,l):r(i,o,l)):Ra(e,m+3)}function sg(e,t,n,r,i,o,l,h,m){const M=t+n;return Di(e,M,i,o,l,h)?to(e,M+4,m?r.call(m,i,o,l,h):r(i,o,l,h)):Ra(e,M+4)}function lg(e,t){const n=St();let r;const i=e+22;n.firstCreatePass?(r=function rE(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[i]=r,r.onDestroy&&(n.destroyHooks||(n.destroyHooks=[])).push(i,r.onDestroy)):r=n.data[i];const o=r.factory||(r.factory=yn(r.type)),l=vt(Ps);try{const h=Lo(!1),m=o();return Lo(h),function nD(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}(n,Ie(),i,m),m}finally{vt(l)}}function ug(e,t,n){const r=e+22,i=Ie(),o=jn(i,r);return xa(i,r)?rg(i,b(),t,o.transform,n,o):o.transform(n)}function cg(e,t,n,r){const i=e+22,o=Ie(),l=jn(o,i);return xa(o,i)?ig(o,b(),t,l.transform,n,r,l):l.transform(n,r)}function dg(e,t,n,r,i){const o=e+22,l=Ie(),h=jn(l,o);return xa(l,o)?og(l,b(),t,h.transform,n,r,i,h):h.transform(n,r,i)}function fg(e,t,n,r,i,o){const l=e+22,h=Ie(),m=jn(h,l);return xa(h,l)?sg(h,b(),t,m.transform,n,r,i,o,m):m.transform(n,r,i,o)}function xa(e,t){return e[1].data[t].pure}function yc(e){return t=>{setTimeout(e,void 0,t)}}const io=class oE extends u.x{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,n,r){let i=t,o=n||(()=>null),l=r;if(t&&"object"==typeof t){const m=t;i=m.next?.bind(m),o=m.error?.bind(m),l=m.complete?.bind(m)}this.__isAsync&&(o=yc(o),i&&(i=yc(i)),l&&(l=yc(l)));const h=super.subscribe({next:i,error:o,complete:l});return t instanceof y.w0&&t.add(h),h}};function sE(){return this._results[as()]()}class yl{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=as(),r=yl.prototype;r[n]||(r[n]=sE)}get changes(){return this._changes||(this._changes=new io)}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 i=Ke(t);(this._changesDetected=!function Ds(e,t,n){if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++){let i=e[r],o=t[r];if(n&&(i=n(i),o=n(o)),o!==i)return!1}return!0}(r._results,i,n))&&(r._results=i,r.length=i.length,r.last=i[this.length-1],r.first=i[0])}notifyOnChanges(){this._changes&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}setDirty(){this.dirty=!0}destroy(){this.changes.complete(),this.changes.unsubscribe()}}let Fa=(()=>{class e{}return e.__NG_ELEMENT_ID__=uE,e})();const aE=Fa,lE=class extends aE{constructor(t,n,r){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=r}createEmbeddedView(t,n){const r=this._declarationTContainer.tViews,i=el(this._declarationLView,r,t,16,null,r.declTNode,null,null,null,null,n||null);i[17]=this._declarationLView[this._declarationTContainer.index];const l=this._declarationLView[19];return null!==l&&(i[19]=l.createEmbeddedView(r)),tl(r,i,t),new ba(i)}};function uE(){return vl(sn(),Ie())}function vl(e,t){return 4&e.type?new lE(t,e,Ss(e,t)):null}let _l=(()=>{class e{}return e.__NG_ELEMENT_ID__=cE,e})();function cE(){return gg(sn(),Ie())}const dE=_l,hg=class extends dE{constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return Ss(this._hostTNode,this._hostLView)}get injector(){return new s(this._hostTNode,this._hostLView)}get parentInjector(){const t=po(this._hostTNode,this._hostLView);if(ko(t)){const n=Yi(t,this._hostLView),r=Ti(t);return new s(n[1].data[r+8],n)}return new s(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=pg(this._lContainer);return null!==n&&n[t]||null}get length(){return this._lContainer.length-10}createEmbeddedView(t,n,r){let i,o;"number"==typeof r?i=r:null!=r&&(i=r.index,o=r.injector);const l=t.createEmbeddedView(n||{},o);return this.insert(l,i),l}createComponent(t,n,r,i,o){const l=t&&!function jr(e){return"function"==typeof e}(t);let h;if(l)h=n;else{const F=n||{};h=F.index,r=F.injector,i=F.projectableNodes,o=F.environmentInjector||F.ngModuleRef}const m=l?t:new Ma(Ft(t)),M=r||this.parentInjector;if(!o&&null==m.ngModule){const $=(l?M:this.parentInjector).get(is,null);$&&(o=$)}const I=m.create(M,i,void 0,o);return this.insert(I.hostView,h),I}insert(t,n){const r=t._lView,i=r[1];if(function w(e){return wn(e[3])}(r)){const I=this.indexOf(t);if(-1!==I)this.detach(I);else{const F=r[3],$=new hg(F,F[6],F[3]);$.detach($.indexOf(t))}}const o=this._adjustIndex(n),l=this._lContainer;!function pv(e,t,n,r){const i=10+r,o=n.length;r>0&&(n[i-1][4]=t),r<o-10?(t[4]=n[i],wt(n,10+r,t)):(n.push(t),t[4]=null),t[3]=n;const l=t[17];null!==l&&n!==l&&function gv(e,t){const n=e[9];t[16]!==t[3][3][16]&&(e[2]=!0),null===n?e[9]=[t]:n.push(t)}(l,t);const h=t[19];null!==h&&h.insertView(e),t[2]|=64}(i,r,l,o);const h=du(o,l),m=r[11],M=Ka(m,l[7]);return null!==M&&function dv(e,t,n,r,i,o){r[0]=i,r[6]=t,Ea(e,r,n,1,i,o)}(i,l[6],m,r,M,h),t.attachToViewContainerRef(),wt(vc(l),o,t),t}move(t,n){return this.insert(t,n)}indexOf(t){const n=pg(this._lContainer);return null!==n?n.indexOf(t):-1}remove(t){const n=this._adjustIndex(t,-1),r=lu(this._lContainer,n);r&&(Lt(vc(this._lContainer),n),Qd(r[1],r))}detach(t){const n=this._adjustIndex(t,-1),r=lu(this._lContainer,n);return r&&null!=Lt(vc(this._lContainer),n)?new ba(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function pg(e){return e[8]}function vc(e){return e[8]||(e[8]=[])}function gg(e,t){let n;const r=t[e.index];if(wn(r))n=r;else{let i;if(8&e.type)i=on(r);else{const o=t[11];i=o.createComment("");const l=ir(e,t);os(o,Ka(o,l),i,function _v(e,t){return e.nextSibling(t)}(o,l),!1)}t[e.index]=n=Xf(r,t,i,e),nl(t,n)}return new hg(n,e,t)}class _c{constructor(t){this.queryList=t,this.matches=null}clone(){return new _c(this.queryList)}setDirty(){this.queryList.setDirty()}}class Dc{constructor(t=[]){this.queries=t}createEmbeddedView(t){const n=t.queries;if(null!==n){const r=null!==t.contentQueries?t.contentQueries[0]:n.length,i=[];for(let o=0;o<r;o++){const l=n.getByIndex(o);i.push(this.queries[l.indexInDeclarationView].clone())}return new Dc(i)}return null}insertView(t){this.dirtyQueriesWithMatches(t)}detachView(t){this.dirtyQueriesWithMatches(t)}dirtyQueriesWithMatches(t){for(let n=0;n<this.queries.length;n++)null!==bg(t,n).matches&&this.queries[n].setDirty()}}class mg{constructor(t,n,r=null){this.predicate=t,this.flags=n,this.read=r}}class Cc{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 i=null!==n?n.length:0,o=this.getByIndex(r).embeddedTView(t,i);o&&(o.indexInDeclarationView=r,null!==n?n.push(o):n=[o])}return null!==n?new Cc(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 Ec{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 Ec(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 i=0;i<r.length;i++){const o=r[i];this.matchTNodeWithReadOption(t,n,pE(n,o)),this.matchTNodeWithReadOption(t,n,ts(n,t,o,!1,!1))}else r===Fa?4&n.type&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,ts(n,t,r,!1,!1))}matchTNodeWithReadOption(t,n,r){if(null!==r){const i=this.metadata.read;if(null!==i)if(i===va||i===_l||i===Fa&&4&n.type)this.addMatch(n.index,-2);else{const o=ts(n,t,i,!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 pE(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 mE(e,t,n,r){return-1===n?function gE(e,t){return 11&e.type?Ss(e,t):4&e.type?vl(e,t):null}(t,e):-2===n?function yE(e,t,n){return n===va?Ss(t,e):n===Fa?vl(t,e):n===_l?gg(t,e):void 0}(e,t,r):mo(e,e[1],n,t)}function yg(e,t,n,r){const i=t[19].queries[r];if(null===i.matches){const o=e.data,l=n.matches,h=[];for(let m=0;m<l.length;m+=2){const M=l[m];h.push(M<0?null:mE(t,o[M],l[m+1],n.metadata.read))}i.matches=h}return i.matches}function wc(e,t,n,r){const i=e.queries.getByIndex(n),o=i.matches;if(null!==o){const l=yg(e,t,i,n);for(let h=0;h<o.length;h+=2){const m=o[h];if(m>0)r.push(l[h/2]);else{const M=o[h+1],I=t[-m];for(let F=10;F<I.length;F++){const $=I[F];$[17]===$[3]&&wc($[1],$,M,r)}if(null!==I[9]){const F=I[9];for(let $=0;$<F.length;$++){const te=F[$];wc(te[1],te,M,r)}}}}}return r}function vg(e){const t=Ie(),n=St(),r=ji();lo(r+1);const i=bg(n,r);if(e.dirty&&E(t)===(2==(2&i.metadata.flags))){if(null===i.matches)e.reset([]);else{const o=i.crossesNgTemplate?wc(n,t,r,[]):yg(n,t,i,r);e.reset(o,Ay),e.notifyOnChanges()}return!0}return!1}function _g(e,t,n){const r=St();r.firstCreatePass&&(wg(r,new mg(e,t,n),-1),2==(2&t)&&(r.staticViewQueries=!0)),Eg(r,Ie(),t)}function Dg(e,t,n,r){const i=St();if(i.firstCreatePass){const o=sn();wg(i,new mg(t,n,r),o.index),function _E(e,t){const n=e.contentQueries||(e.contentQueries=[]);t!==(n.length?n[n.length-1]:-1)&&n.push(e.queries.length-1,t)}(i,e),2==(2&n)&&(i.staticContentQueries=!0)}Eg(i,Ie(),n)}function Cg(){return function vE(e,t){return e[19].queries[t].queryList}(Ie(),ji())}function Eg(e,t,n){const r=new yl(4==(4&n));Gf(e,t,r,r.destroy),null===t[19]&&(t[19]=new Dc),t[19].queries.push(new _c(r))}function wg(e,t,n){null===e.queries&&(e.queries=new Cc),e.queries.track(new Ec(t,n))}function bg(e,t){return e.queries.getByIndex(t)}function Mg(e,t){return vl(e,t)}function qs(e){const t=Ft(e)||fn(e)||hn(e);return null!==t&&t.standalone}const BE=mt("Input",e=>({bindingPropertyName:e})),HE=mt("Output",e=>({bindingPropertyName:e})),UE=mt("HostListener",(e,t)=>({eventName:e,args:t}));function Cl(...e){}const Gg=new ht("Application Initializer");let El=(()=>{class e{constructor(n){this.appInits=n,this.resolve=Cl,this.reject=Cl,this.initialized=!1,this.done=!1,this.donePromise=new Promise((r,i)=>{this.resolve=r,this.reject=i})}runInitializers(){if(this.initialized)return;const n=[],r=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let i=0;i<this.appInits.length;i++){const o=this.appInits[i]();if(qu(o))n.push(o);else if(Ch(o)){const l=new Promise((h,m)=>{o.subscribe({complete:h,error:m})});n.push(l)}}Promise.all(n).then(()=>{r()}).catch(i=>{this.reject(i)}),0===n.length&&r(),this.initialized=!0}}return e.\u0275fac=function(n){return new(n||e)(qn(Gg,8))},e.\u0275prov=K({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const zg=new ht("AppId",{providedIn:"root",factory:function Wg(){return`${Ac()}${Ac()}${Ac()}`}});function Ac(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const Kg=new ht("Platform Initializer"),jE=new ht("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),Yg=new ht("appBootstrapListener"),$E=new ht("AnimationModuleType");let GE=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=K({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})();const wl=new ht("LocaleId",{providedIn:"root",factory:()=>Xc(wl,it.Optional|it.SkipSelf)||function zE(){return typeof $localize<"u"&&$localize.locale||zs}()}),WE=new ht("DefaultCurrencyCode",{providedIn:"root",factory:()=>"USD"});class KE{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}}let YE=(()=>{class e{compileModuleSync(n){return new pc(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){const r=this.compileModuleSync(n),o=_o(Sn(n).declarations).reduce((l,h)=>{const m=Ft(h);return m&&l.push(new Ma(m)),l},[]);return new KE(r,o)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=K({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const ZE=(()=>Promise.resolve(0))();function Ic(e){typeof Zone>"u"?ZE.then(()=>{e&&e.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}class ci{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new io(!1),this.onMicrotaskEmpty=new io(!1),this.onStable=new io(!1),this.onError=new io(!1),typeof Zone>"u")throw new _e(908,!1);Zone.assertZonePatched();const i=this;if(i._nesting=0,i._outer=i._inner=Zone.current,Zone.AsyncStackTaggingZoneSpec){const o=Zone.AsyncStackTaggingZoneSpec;i._inner=i._inner.fork(new o("Angular"))}Zone.TaskTrackingZoneSpec&&(i._inner=i._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(i._inner=i._inner.fork(Zone.longStackTraceZoneSpec)),i.shouldCoalesceEventChangeDetection=!r&&n,i.shouldCoalesceRunChangeDetection=r,i.lastRequestAnimationFrameId=-1,i.nativeRequestAnimationFrame=function JE(){let e=se.requestAnimationFrame,t=se.cancelAnimationFrame;if(typeof Zone<"u"&&e&&t){const n=e[Zone.__symbol__("OriginalDelegate")];n&&(e=n);const r=t[Zone.__symbol__("OriginalDelegate")];r&&(t=r)}return{nativeRequestAnimationFrame:e,nativeCancelAnimationFrame:t}}().nativeRequestAnimationFrame,function t0(e){const t=()=>{!function e0(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(se,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,Pc(e),e.isCheckStableRunning=!0,Oc(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),Pc(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,i,o,l,h)=>{try{return Zg(e),n.invokeTask(i,o,l,h)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===o.type||e.shouldCoalesceRunChangeDetection)&&t(),Jg(e)}},onInvoke:(n,r,i,o,l,h,m)=>{try{return Zg(e),n.invoke(i,o,l,h,m)}finally{e.shouldCoalesceRunChangeDetection&&t(),Jg(e)}},onHasTask:(n,r,i,o)=>{n.hasTask(i,o),r===i&&("microTask"==o.change?(e._hasPendingMicrotasks=o.microTask,Pc(e),Oc(e)):"macroTask"==o.change&&(e.hasPendingMacrotasks=o.macroTask))},onHandleError:(n,r,i,o)=>(n.handleError(i,o),e.runOutsideAngular(()=>e.onError.emit(o)),!1)})}(i)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!ci.isInAngularZone())throw new _e(909,!1)}static assertNotInAngularZone(){if(ci.isInAngularZone())throw new _e(909,!1)}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,i){const o=this._inner,l=o.scheduleEventTask("NgZoneEvent: "+i,t,XE,Cl,Cl);try{return o.runTask(l,n,r)}finally{o.cancelTask(l)}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}}const XE={};function Oc(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 Pc(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function Zg(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Jg(e){e._nesting--,Oc(e)}class n0{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new io,this.onMicrotaskEmpty=new io,this.onStable=new io,this.onError=new io}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,i){return t.apply(n,r)}}const Xg=new ht(""),em=new ht("");let Nc,r0=(()=>{class e{constructor(n,r,i){this._ngZone=n,this.registry=r,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,Nc||(function o0(e){Nc=e}(i),i.addToWindow(r)),this._watchAngularEvents(),n.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{ci.assertNotInAngularZone(),Ic(()=>{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())Ic(()=>{for(;0!==this._callbacks.length;){let n=this._callbacks.pop();clearTimeout(n.timeoutId),n.doneCb(this._didWork)}this._didWork=!1});else{let n=this.getPendingTasks();this._callbacks=this._callbacks.filter(r=>!r.updateCb||!r.updateCb(n)||(clearTimeout(r.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(n=>({source:n.source,creationLocation:n.creationLocation,data:n.data})):[]}addCallback(n,r,i){let o=-1;r&&r>0&&(o=setTimeout(()=>{this._callbacks=this._callbacks.filter(l=>l.timeoutId!==o),n(this._didWork,this.getPendingTasks())},r)),this._callbacks.push({doneCb:n,timeoutId:o,updateCb:i})}whenStable(n,r,i){if(i&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(n,r,i),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(n){this.registry.registerApplication(n,this)}unregisterApplication(n){this.registry.unregisterApplication(n)}findProviders(n,r,i){return[]}}return e.\u0275fac=function(n){return new(n||e)(qn(ci),qn(tm),qn(em))},e.\u0275prov=K({token:e,factory:e.\u0275fac}),e})(),tm=(()=>{class e{constructor(){this._applications=new Map}registerApplication(n,r){this._applications.set(n,r)}unregisterApplication(n){this._applications.delete(n)}unregisterAllApplications(){this._applications.clear()}getTestability(n){return this._applications.get(n)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(n,r=!0){return Nc?.findTestabilityInTree(this,n,r)??null}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=K({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})(),$o=null;const nm=new ht("AllowMultipleToken"),Rc=new ht("PlatformDestroyListeners");class l0{constructor(t,n){this.name=t,this.token=n}}function im(e,t,n=[]){const r=`Platform: ${t}`,i=new ht(r);return(o=[])=>{let l=xc();if(!l||l.injector.get(nm,!1)){const h=[...n,...o,{provide:i,useValue:!0}];e?e(h):function u0(e){if($o&&!$o.get(nm,!1))throw new _e(400,!1);$o=e;const t=e.get(sm);(function rm(e){const t=e.get(Kg,null);t&&t.forEach(n=>n())})(e)}(function om(e=[],t){return ss.create({name:t,providers:[{provide:jl,useValue:"platform"},{provide:Rc,useValue:new Set([()=>$o=null])},...e]})}(h,r))}return function d0(e){const t=xc();if(!t)throw new _e(401,!1);return t}()}}function xc(){return $o?.get(sm)??null}let sm=(()=>{class e{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,r){const i=function f0(e,t){let n;return n="noop"===e?new n0:("zone.js"===e?void 0:e)||new ci(t),n}(r?.ngZone,function am(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:!(!e||!e.ngZoneEventCoalescing)||!1,shouldCoalesceRunChangeDetection:!(!e||!e.ngZoneRunCoalescing)||!1}}(r)),o=[{provide:ci,useValue:i}];return i.run(()=>{const l=ss.create({providers:o,parent:this.injector,name:n.moduleType.name}),h=n.create(l),m=h.injector.get(_a,null);if(!m)throw new _e(402,!1);return i.runOutsideAngular(()=>{const M=i.onError.subscribe({next:I=>{m.handleError(I)}});h.onDestroy(()=>{Ml(this._modules,h),M.unsubscribe()})}),function lm(e,t,n){try{const r=n();return qu(r)?r.catch(i=>{throw t.runOutsideAngular(()=>e.handleError(i)),i}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}(m,i,()=>{const M=h.injector.get(El);return M.runInitializers(),M.donePromise.then(()=>(function yp(e){It(e,"Expected localeId to be defined"),"string"==typeof e&&(mp=e.toLowerCase().replace(/_/g,"-"))}(h.injector.get(wl,zs)||zs),this._moduleDoBootstrap(h),h))})})}bootstrapModule(n,r=[]){const i=um({},r);return function s0(e,t,n){const r=new pc(n);return Promise.resolve(r)}(0,0,n).then(o=>this.bootstrapModuleFactory(o,i))}_moduleDoBootstrap(n){const r=n.injector.get(bl);if(n._bootstrapComponents.length>0)n._bootstrapComponents.forEach(i=>r.bootstrap(i));else{if(!n.instance.ngDoBootstrap)throw new _e(403,!1);n.instance.ngDoBootstrap(r)}this._modules.push(n)}onDestroy(n){this._destroyListeners.push(n)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new _e(404,!1);this._modules.slice().forEach(r=>r.destroy()),this._destroyListeners.forEach(r=>r());const n=this._injector.get(Rc,null);n&&(n.forEach(r=>r()),n.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}}return e.\u0275fac=function(n){return new(n||e)(qn(ss))},e.\u0275prov=K({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})();function um(e,t){return Array.isArray(t)?t.reduce(um,e):{...e,...t}}let bl=(()=>{class e{constructor(n,r,i){this._zone=n,this._injector=r,this._exceptionHandler=i,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this._destroyed=!1,this._destroyListeners=[],this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const o=new ne.y(h=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{h.next(this._stable),h.complete()})}),l=new ne.y(h=>{let m;this._zone.runOutsideAngular(()=>{m=this._zone.onStable.subscribe(()=>{ci.assertNotInAngularZone(),Ic(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,h.next(!0))})})});const M=this._zone.onUnstable.subscribe(()=>{ci.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{h.next(!1)}))});return()=>{m.unsubscribe(),M.unsubscribe()}});this.isStable=(0,oe.T)(o,l.pipe((0,z.B)()))}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(n,r){const i=n instanceof Id;if(!this._injector.get(El).done)throw!i&&qs(n),new _e(405,false);let l;l=i?n:this._injector.get(ya).resolveComponentFactory(n),this.componentTypes.push(l.componentType);const h=function a0(e){return e.isBoundToModule}(l)?void 0:this._injector.get(Ks),M=l.create(ss.NULL,[],r||l.selector,h),I=M.location.nativeElement,F=M.injector.get(Xg,null);return F?.registerApplication(I),M.onDestroy(()=>{this.detachView(M.hostView),Ml(this.components,M),F?.unregisterApplication(I)}),this._loadComponent(M),M}tick(){if(this._runningTick)throw new _e(101,!1);try{this._runningTick=!0;for(let n of this._views)n.detectChanges()}catch(n){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(n))}finally{this._runningTick=!1}}attachView(n){const r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){const r=n;Ml(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n),this._injector.get(Yg,[]).concat(this._bootstrapListeners).forEach(i=>i(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>Ml(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new _e(406,!1);const n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}}return e.\u0275fac=function(n){return new(n||e)(qn(ci),qn(is),qn(_a))},e.\u0275prov=K({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function Ml(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}let dm=!0;function p0(){dm=!1}let g0=(()=>{class e{}return e.__NG_ELEMENT_ID__=m0,e})();function m0(e){return function y0(e,t,n){if(_r(e)&&!n){const r=$n(e.index,t);return new ba(r,r)}return 47&e.type?new ba(t[16],t):null}(sn(),Ie(),16==(16&e))}class mm{constructor(){}supports(t){return Ta(t)}create(t){return new w0(t)}}const E0=(e,t)=>t;class w0{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||E0}forEachItem(t){let n;for(n=this._itHead;null!==n;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,r=this._removalsHead,i=0,o=null;for(;n||r;){const l=!r||n&&n.currentIndex<vm(r,i,o)?n:r,h=vm(l,i,o),m=l.currentIndex;if(l===r)i--,r=r._nextRemoved;else if(n=n._next,null==l.previousIndex)i++;else{o||(o=[]);const M=h-i,I=m-i;if(M!=I){for(let $=0;$<M;$++){const te=$<o.length?o[$]:o[$]=0,Te=te+$;I<=Te&&Te<M&&(o[$]=te+1)}o[l.previousIndex]=I-M}}h!==m&&t(l,h,m)}}forEachPreviousItem(t){let n;for(n=this._previousItHead;null!==n;n=n._nextPrevious)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;null!==n;n=n._nextAdded)t(n)}forEachMovedItem(t){let n;for(n=this._movesHead;null!==n;n=n._nextMoved)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;null!==n;n=n._nextRemoved)t(n)}forEachIdentityChange(t){let n;for(n=this._identityChangesHead;null!==n;n=n._nextIdentityChange)t(n)}diff(t){if(null==t&&(t=[]),!Ta(t))throw new _e(900,!1);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let i,o,l,n=this._itHead,r=!1;if(Array.isArray(t)){this.length=t.length;for(let h=0;h<this.length;h++)o=t[h],l=this._trackByFn(h,o),null!==n&&Object.is(n.trackById,l)?(r&&(n=this._verifyReinsertion(n,o,l,h)),Object.is(n.item,o)||this._addIdentityChange(n,o)):(n=this._mismatch(n,o,l,h),r=!0),n=n._next}else i=0,function Z_(e,t){if(Array.isArray(e))for(let n=0;n<e.length;n++)t(e[n]);else{const n=e[as()]();let r;for(;!(r=n.next()).done;)t(r.value)}}(t,h=>{l=this._trackByFn(i,h),null!==n&&Object.is(n.trackById,l)?(r&&(n=this._verifyReinsertion(n,h,l,i)),Object.is(n.item,h)||this._addIdentityChange(n,h)):(n=this._mismatch(n,h,l,i),r=!0),n=n._next,i++}),this.length=i;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,i){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,i)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(r,i))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,o,i)):t=this._addAfter(new b0(n,r),o,i),t}_verifyReinsertion(t,n,r,i){let o=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null);return null!==o?t=this._reinsertAfter(o,t._prev,i):t.currentIndex!=i&&(t.currentIndex=i,this._addToMoves(t,i)),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 i=t._prevRemoved,o=t._nextRemoved;return null===i?this._removalsHead=o:i._nextRemoved=o,null===o?this._removalsTail=i:o._prevRemoved=i,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 i=null===n?this._itHead:n._next;return t._next=i,t._prev=n,null===i?this._itTail=t:i._prev=t,null===n?this._itHead=t:n._next=t,null===this._linkedRecords&&(this._linkedRecords=new ym),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 ym),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 b0{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 M0{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 ym{constructor(){this.map=new Map}put(t){const n=t.trackById;let r=this.map.get(n);r||(r=new M0,this.map.set(n,r)),r.add(t)}get(t,n){const i=this.map.get(t);return i?i.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 vm(e,t,n){const r=e.previousIndex;if(null===r)return r;let i=0;return n&&r<n.length&&(i=n[r]),r+t+i}class _m{constructor(){}supports(t){return t instanceof Map||$u(t)}create(){return new T0}}class T0{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||$u(t)))throw new _e(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,i)=>{if(n&&n.key===i)this._maybeAddToChanges(n,r),this._appendAfter=n,n=n._next;else{const o=this._getOrCreateRecordForKey(i,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 i=this._records.get(t);this._maybeAddToChanges(i,n);const o=i._prev,l=i._next;return o&&(o._next=l),l&&(l._prev=o),i._next=null,i._prev=null,i}const r=new S0(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 S0{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 Dm(){return new Bc([new mm])}let Bc=(()=>{class e{constructor(n){this.factories=n}static create(n,r){if(null!=r){const i=r.factories.slice();n=n.concat(i)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||Dm()),deps:[[e,new da,new ca]]}}find(n){const r=this.factories.find(i=>i.supports(n));if(null!=r)return r;throw new _e(901,!1)}}return e.\u0275prov=K({token:e,providedIn:"root",factory:Dm}),e})();function Cm(){return new Hc([new _m])}let Hc=(()=>{class e{constructor(n){this.factories=n}static create(n,r){if(r){const i=r.factories.slice();n=n.concat(i)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||Cm()),deps:[[e,new da,new ca]]}}find(n){const r=this.factories.find(i=>i.supports(n));if(r)return r;throw new _e(901,!1)}}return e.\u0275prov=K({token:e,providedIn:"root",factory:Cm}),e})();const O0=im(null,"core",[]);let P0=(()=>{class e{constructor(n){}}return e.\u0275fac=function(n){return new(n||e)(qn(bl))},e.\u0275mod=Zn({type:e}),e.\u0275inj=Be({}),e})();function N0(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}},433:(Qe,pe,S)=>{S.d(pe,{Wl:()=>be,Fj:()=>De,oH:()=>Cr,sg:()=>kr,u5:()=>sn,nD:()=>un,Cf:()=>Ne,JU:()=>_e,a5:()=>qt,JJ:()=>Ae,JL:()=>U,F:()=>On,On:()=>hi,wV:()=>Wr,c5:()=>Zt,UX:()=>gi,Q7:()=>ye,p4:()=>Fi,kI:()=>Q,_Y:()=>fr});var u=S(4650),y=S(6895),ne=S(9751),oe=S(4742),z=S(8421),J=S(3269),Y=S(5403),ie=S(3268),le=S(1810),de=S(2076),X=S(4004);let ve=(()=>{class b{constructor(v,P){this._renderer=v,this._elementRef=P,this.onChange=he=>{},this.onTouched=()=>{}}setProperty(v,P){this._renderer.setProperty(this._elementRef.nativeElement,v,P)}registerOnTouched(v){this.onTouched=v}registerOnChange(v){this.onChange=v}setDisabledState(v){this.setProperty("disabled",v)}}return b.\u0275fac=function(v){return new(v||b)(u.Y36(u.Qsj),u.Y36(u.SBq))},b.\u0275dir=u.lG2({type:b}),b})(),Ee=(()=>{class b extends ve{}return b.\u0275fac=function(){let D;return function(P){return(D||(D=u.n5z(b)))(P||b)}}(),b.\u0275dir=u.lG2({type:b,features:[u.qOj]}),b})();const _e=new u.OlP("NgValueAccessor"),We={provide:_e,useExisting:(0,u.Gpc)(()=>be),multi:!0};let be=(()=>{class b extends Ee{writeValue(v){this.setProperty("checked",v)}}return b.\u0275fac=function(){let D;return function(P){return(D||(D=u.n5z(b)))(P||b)}}(),b.\u0275dir=u.lG2({type:b,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(v,P){1&v&&u.NdJ("change",function(ut){return P.onChange(ut.target.checked)})("blur",function(){return P.onTouched()})},features:[u._Bn([We]),u.qOj]}),b})();const Me={provide:_e,useExisting:(0,u.Gpc)(()=>De),multi:!0},Ct=new u.OlP("CompositionEventMode");let De=(()=>{class b extends ve{constructor(v,P,he){super(v,P),this._compositionMode=he,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function at(){const b=(0,y.q)()?(0,y.q)().getUserAgent():"";return/android (\d+)/.test(b.toLowerCase())}())}writeValue(v){this.setProperty("value",v??"")}_handleInput(v){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(v)}_compositionStart(){this._composing=!0}_compositionEnd(v){this._composing=!1,this._compositionMode&&this.onChange(v)}}return b.\u0275fac=function(v){return new(v||b)(u.Y36(u.Qsj),u.Y36(u.SBq),u.Y36(Ct,8))},b.\u0275dir=u.lG2({type:b,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(v,P){1&v&&u.NdJ("input",function(ut){return P._handleInput(ut.target.value)})("blur",function(){return P.onTouched()})("compositionstart",function(){return P._compositionStart()})("compositionend",function(ut){return P._compositionEnd(ut.target.value)})},features:[u._Bn([Me]),u.qOj]}),b})();function Se(b){return null==b||("string"==typeof b||Array.isArray(b))&&0===b.length}function qe(b){return null!=b&&"number"==typeof b.length}const Ne=new u.OlP("NgValidators"),Re=new u.OlP("NgAsyncValidators"),ke=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;class Q{static min(D){return function ee(b){return D=>{if(Se(D.value)||Se(b))return null;const v=parseFloat(D.value);return!isNaN(v)&&v<b?{min:{min:b,actual:D.value}}:null}}(D)}static max(D){return function ge(b){return D=>{if(Se(D.value)||Se(b))return null;const v=parseFloat(D.value);return!isNaN(v)&&v>b?{max:{max:b,actual:D.value}}:null}}(D)}static required(D){return ae(D)}static requiredTrue(D){return function He(b){return!0===b.value?null:{required:!0}}(D)}static email(D){return function Le(b){return Se(b.value)||ke.test(b.value)?null:{email:!0}}(D)}static minLength(D){return function gt(b){return D=>Se(D.value)||!qe(D.value)?null:D.value.length<b?{minlength:{requiredLength:b,actualLength:D.value.length}}:null}(D)}static maxLength(D){return Xe(D)}static pattern(D){return It(D)}static nullValidator(D){return null}static compose(D){return Et(D)}static composeAsync(D){return dt(D)}}function ae(b){return Se(b.value)?{required:!0}:null}function Xe(b){return D=>qe(D.value)&&D.value.length>b?{maxlength:{requiredLength:b,actualLength:D.value.length}}:null}function It(b){if(!b)return Ge;let D,v;return"string"==typeof b?(v="","^"!==b.charAt(0)&&(v+="^"),v+=b,"$"!==b.charAt(b.length-1)&&(v+="$"),D=new RegExp(v)):(v=b.toString(),D=b),P=>{if(Se(P.value))return null;const he=P.value;return D.test(he)?null:{pattern:{requiredPattern:v,actualValue:he}}}}function Ge(b){return null}function Bt(b){return null!=b}function Pe(b){return(0,u.QGY)(b)?(0,de.D)(b):b}function Oe(b){let D={};return b.forEach(v=>{D=null!=v?{...D,...v}:D}),0===Object.keys(D).length?null:D}function K(b,D){return D.map(v=>v(b))}function Be(b){return b.map(D=>function me(b){return!b.validate}(D)?D:v=>D.validate(v))}function Et(b){if(!b)return null;const D=b.filter(Bt);return 0==D.length?null:function(v){return Oe(K(v,D))}}function Cn(b){return null!=b?Et(Be(b)):null}function dt(b){if(!b)return null;const D=b.filter(Bt);return 0==D.length?null:function(v){return function fe(...b){const D=(0,J.jO)(b),{args:v,keys:P}=(0,oe.D)(b),he=new ne.y(ut=>{const{length:Jt}=v;if(!Jt)return void ut.complete();const or=new Array(Jt);let Qr=Jt,ii=Jt;for(let mi=0;mi<Jt;mi++){let ji=!1;(0,z.Xf)(v[mi]).subscribe((0,Y.x)(ut,lo=>{ji||(ji=!0,ii--),or[mi]=lo},()=>Qr--,void 0,()=>{(!Qr||!ji)&&(ii||ut.next(P?(0,le.n)(P,or):or),ut.complete())}))}});return D?he.pipe((0,ie.Z)(D)):he}(K(v,D).map(Pe)).pipe((0,X.U)(Oe))}}function ur(b){return null!=b?dt(Be(b)):null}function bn(b,D){return null===b?[D]:Array.isArray(b)?[...b,D]:[b,D]}function Yt(b){return b._rawValidators}function En(b){return b._rawAsyncValidators}function Xt(b){return b?Array.isArray(b)?b:[b]:[]}function Rn(b,D){return Array.isArray(b)?b.includes(D):b===D}function it(b,D){const v=Xt(D);return Xt(b).forEach(he=>{Rn(v,he)||v.push(he)}),v}function Wt(b,D){return Xt(D).filter(v=>!Rn(b,v))}class Hn{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(D){this._rawValidators=D||[],this._composedValidatorFn=Cn(this._rawValidators)}_setAsyncValidators(D){this._rawAsyncValidators=D||[],this._composedAsyncValidatorFn=ur(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(D){this._onDestroyCallbacks.push(D)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(D=>D()),this._onDestroyCallbacks=[]}reset(D){this.control&&this.control.reset(D)}hasError(D,v){return!!this.control&&this.control.hasError(D,v)}getError(D,v){return this.control?this.control.getError(D,v):null}}class vt extends Hn{get formDirective(){return null}get path(){return null}}class qt extends Hn{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class Nr{constructor(D){this._cd=D}get isTouched(){return!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return!!this._cd?.submitted}}let Ae=(()=>{class b extends Nr{constructor(v){super(v)}}return b.\u0275fac=function(v){return new(v||b)(u.Y36(qt,2))},b.\u0275dir=u.lG2({type:b,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(v,P){2&v&&u.ekj("ng-untouched",P.isUntouched)("ng-touched",P.isTouched)("ng-pristine",P.isPristine)("ng-dirty",P.isDirty)("ng-valid",P.isValid)("ng-invalid",P.isInvalid)("ng-pending",P.isPending)},features:[u.qOj]}),b})(),U=(()=>{class b extends Nr{constructor(v){super(v)}}return b.\u0275fac=function(v){return new(v||b)(u.Y36(vt,10))},b.\u0275dir=u.lG2({type:b,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(v,P){2&v&&u.ekj("ng-untouched",P.isUntouched)("ng-touched",P.isTouched)("ng-pristine",P.isPristine)("ng-dirty",P.isDirty)("ng-valid",P.isValid)("ng-invalid",P.isInvalid)("ng-pending",P.isPending)("ng-submitted",P.isSubmitted)},features:[u.qOj]}),b})();const Tn="VALID",mr="INVALID",cr="PENDING",Jn="DISABLED";function Ft(b){return(an(b)?b.validators:b)||null}function fn(b){return Array.isArray(b)?Cn(b):b||null}function hn(b,D){return(an(D)?D.asyncValidators:b)||null}function Sn(b){return Array.isArray(b)?ur(b):b||null}function an(b){return null!=b&&!Array.isArray(b)&&"object"==typeof b}class Ut{constructor(D,v){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._rawValidators=D,this._rawAsyncValidators=v,this._composedValidatorFn=fn(this._rawValidators),this._composedAsyncValidatorFn=Sn(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn}set validator(D){this._rawValidators=this._composedValidatorFn=D}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(D){this._rawAsyncValidators=this._composedAsyncValidatorFn=D}get parent(){return this._parent}get valid(){return this.status===Tn}get invalid(){return this.status===mr}get pending(){return this.status==cr}get disabled(){return this.status===Jn}get enabled(){return this.status!==Jn}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(D){this._rawValidators=D,this._composedValidatorFn=fn(D)}setAsyncValidators(D){this._rawAsyncValidators=D,this._composedAsyncValidatorFn=Sn(D)}addValidators(D){this.setValidators(it(D,this._rawValidators))}addAsyncValidators(D){this.setAsyncValidators(it(D,this._rawAsyncValidators))}removeValidators(D){this.setValidators(Wt(D,this._rawValidators))}removeAsyncValidators(D){this.setAsyncValidators(Wt(D,this._rawAsyncValidators))}hasValidator(D){return Rn(this._rawValidators,D)}hasAsyncValidator(D){return Rn(this._rawAsyncValidators,D)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(D={}){this.touched=!0,this._parent&&!D.onlySelf&&this._parent.markAsTouched(D)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(D=>D.markAllAsTouched())}markAsUntouched(D={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(v=>{v.markAsUntouched({onlySelf:!0})}),this._parent&&!D.onlySelf&&this._parent._updateTouched(D)}markAsDirty(D={}){this.pristine=!1,this._parent&&!D.onlySelf&&this._parent.markAsDirty(D)}markAsPristine(D={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(v=>{v.markAsPristine({onlySelf:!0})}),this._parent&&!D.onlySelf&&this._parent._updatePristine(D)}markAsPending(D={}){this.status=cr,!1!==D.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!D.onlySelf&&this._parent.markAsPending(D)}disable(D={}){const v=this._parentMarkedDirty(D.onlySelf);this.status=Jn,this.errors=null,this._forEachChild(P=>{P.disable({...D,onlySelf:!0})}),this._updateValue(),!1!==D.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...D,skipPristineCheck:v}),this._onDisabledChange.forEach(P=>P(!0))}enable(D={}){const v=this._parentMarkedDirty(D.onlySelf);this.status=Tn,this._forEachChild(P=>{P.enable({...D,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:D.emitEvent}),this._updateAncestors({...D,skipPristineCheck:v}),this._onDisabledChange.forEach(P=>P(!1))}_updateAncestors(D){this._parent&&!D.onlySelf&&(this._parent.updateValueAndValidity(D),D.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(D){this._parent=D}getRawValue(){return this.value}updateValueAndValidity(D={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Tn||this.status===cr)&&this._runAsyncValidator(D.emitEvent)),!1!==D.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!D.onlySelf&&this._parent.updateValueAndValidity(D)}_updateTreeValidity(D={emitEvent:!0}){this._forEachChild(v=>v._updateTreeValidity(D)),this.updateValueAndValidity({onlySelf:!0,emitEvent:D.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Jn:Tn}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(D){if(this.asyncValidator){this.status=cr,this._hasOwnPendingAsyncValidator=!0;const v=Pe(this.asyncValidator(this));this._asyncValidationSubscription=v.subscribe(P=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(P,{emitEvent:D})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(D,v={}){this.errors=D,this._updateControlsErrors(!1!==v.emitEvent)}get(D){let v=D;return null==v||(Array.isArray(v)||(v=v.split(".")),0===v.length)?null:v.reduce((P,he)=>P&&P._find(he),this)}getError(D,v){const P=v?this.get(v):this;return P&&P.errors?P.errors[D]:null}hasError(D,v){return!!this.getError(D,v)}get root(){let D=this;for(;D._parent;)D=D._parent;return D}_updateControlsErrors(D){this.status=this._calculateStatus(),D&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(D)}_initObservables(){this.valueChanges=new u.vpe,this.statusChanges=new u.vpe}_calculateStatus(){return this._allControlsDisabled()?Jn:this.errors?mr:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(cr)?cr:this._anyControlsHaveStatus(mr)?mr:Tn}_anyControlsHaveStatus(D){return this._anyControls(v=>v.status===D)}_anyControlsDirty(){return this._anyControls(D=>D.dirty)}_anyControlsTouched(){return this._anyControls(D=>D.touched)}_updatePristine(D={}){this.pristine=!this._anyControlsDirty(),this._parent&&!D.onlySelf&&this._parent._updatePristine(D)}_updateTouched(D={}){this.touched=this._anyControlsTouched(),this._parent&&!D.onlySelf&&this._parent._updateTouched(D)}_registerOnCollectionChange(D){this._onCollectionChange=D}_setUpdateStrategy(D){an(D)&&null!=D.updateOn&&(this._updateOn=D.updateOn)}_parentMarkedDirty(D){return!D&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(D){return null}}class q extends Ut{constructor(D,v,P){super(Ft(v),hn(P,v)),this.controls=D,this._initObservables(),this._setUpdateStrategy(v),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(D,v){return this.controls[D]?this.controls[D]:(this.controls[D]=v,v.setParent(this),v._registerOnCollectionChange(this._onCollectionChange),v)}addControl(D,v,P={}){this.registerControl(D,v),this.updateValueAndValidity({emitEvent:P.emitEvent}),this._onCollectionChange()}removeControl(D,v={}){this.controls[D]&&this.controls[D]._registerOnCollectionChange(()=>{}),delete this.controls[D],this.updateValueAndValidity({emitEvent:v.emitEvent}),this._onCollectionChange()}setControl(D,v,P={}){this.controls[D]&&this.controls[D]._registerOnCollectionChange(()=>{}),delete this.controls[D],v&&this.registerControl(D,v),this.updateValueAndValidity({emitEvent:P.emitEvent}),this._onCollectionChange()}contains(D){return this.controls.hasOwnProperty(D)&&this.controls[D].enabled}setValue(D,v={}){(function _t(b,D,v){b._forEachChild((P,he)=>{if(void 0===v[he])throw new u.vHH(1002,"")})})(this,0,D),Object.keys(D).forEach(P=>{(function Ue(b,D,v){const P=b.controls;if(!(D?Object.keys(P):P).length)throw new u.vHH(1e3,"");if(!P[v])throw new u.vHH(1001,"")})(this,!0,P),this.controls[P].setValue(D[P],{onlySelf:!0,emitEvent:v.emitEvent})}),this.updateValueAndValidity(v)}patchValue(D,v={}){null!=D&&(Object.keys(D).forEach(P=>{const he=this.controls[P];he&&he.patchValue(D[P],{onlySelf:!0,emitEvent:v.emitEvent})}),this.updateValueAndValidity(v))}reset(D={},v={}){this._forEachChild((P,he)=>{P.reset(D[he],{onlySelf:!0,emitEvent:v.emitEvent})}),this._updatePristine(v),this._updateTouched(v),this.updateValueAndValidity(v)}getRawValue(){return this._reduceChildren({},(D,v,P)=>(D[P]=v.getRawValue(),D))}_syncPendingControls(){let D=this._reduceChildren(!1,(v,P)=>!!P._syncPendingControls()||v);return D&&this.updateValueAndValidity({onlySelf:!0}),D}_forEachChild(D){Object.keys(this.controls).forEach(v=>{const P=this.controls[v];P&&D(P,v)})}_setUpControls(){this._forEachChild(D=>{D.setParent(this),D._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(D){for(const[v,P]of Object.entries(this.controls))if(this.contains(v)&&D(P))return!0;return!1}_reduceValue(){return this._reduceChildren({},(v,P,he)=>((P.enabled||this.disabled)&&(v[he]=P.value),v))}_reduceChildren(D,v){let P=D;return this._forEachChild((he,ut)=>{P=v(P,he,ut)}),P}_allControlsDisabled(){for(const D of Object.keys(this.controls))if(this.controls[D].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(D){return this.controls.hasOwnProperty(D)?this.controls[D]:null}}function pt(b,D){Rr(b,D),D.valueAccessor.writeValue(b.value),b.disabled&&D.valueAccessor.setDisabledState?.(!0),function rn(b,D){D.valueAccessor.registerOnChange(v=>{b._pendingValue=v,b._pendingChange=!0,b._pendingDirty=!0,"change"===b.updateOn&&tn(b,D)})}(b,D),function An(b,D){const v=(P,he)=>{D.valueAccessor.writeValue(P),he&&D.viewToModelUpdate(P)};b.registerOnChange(v),D._registerOnDestroy(()=>{b._unregisterOnChange(v)})}(b,D),function Xn(b,D){D.valueAccessor.registerOnTouched(()=>{b._pendingTouched=!0,"blur"===b.updateOn&&b._pendingChange&&tn(b,D),"submit"!==b.updateOn&&b.markAsTouched()})}(b,D),function Mr(b,D){if(D.valueAccessor.setDisabledState){const v=P=>{D.valueAccessor.setDisabledState(P)};b.registerOnDisabledChange(v),D._registerOnDestroy(()=>{b._unregisterOnDisabledChange(v)})}}(b,D)}function tt(b,D,v=!0){const P=()=>{};D.valueAccessor&&(D.valueAccessor.registerOnChange(P),D.valueAccessor.registerOnTouched(P)),dr(b,D),b&&(D._invokeOnDestroyCallbacks(),b._registerOnCollectionChange(()=>{}))}function pn(b,D){b.forEach(v=>{v.registerOnValidatorChange&&v.registerOnValidatorChange(D)})}function Rr(b,D){const v=Yt(b);null!==D.validator?b.setValidators(bn(v,D.validator)):"function"==typeof v&&b.setValidators([v]);const P=En(b);null!==D.asyncValidator?b.setAsyncValidators(bn(P,D.asyncValidator)):"function"==typeof P&&b.setAsyncValidators([P]);const he=()=>b.updateValueAndValidity();pn(D._rawValidators,he),pn(D._rawAsyncValidators,he)}function dr(b,D){let v=!1;if(null!==b){if(null!==D.validator){const he=Yt(b);if(Array.isArray(he)&&he.length>0){const ut=he.filter(Jt=>Jt!==D.validator);ut.length!==he.length&&(v=!0,b.setValidators(ut))}}if(null!==D.asyncValidator){const he=En(b);if(Array.isArray(he)&&he.length>0){const ut=he.filter(Jt=>Jt!==D.asyncValidator);ut.length!==he.length&&(v=!0,b.setAsyncValidators(ut))}}}const P=()=>{};return pn(D._rawValidators,P),pn(D._rawAsyncValidators,P),v}function tn(b,D){b._pendingDirty&&b.markAsDirty(),b.setValue(b._pendingValue,{emitModelToViewChange:!1}),D.viewToModelUpdate(b._pendingValue),b._pendingChange=!1}function er(b,D){Rr(b,D)}function Fr(b,D){if(!b.hasOwnProperty("model"))return!1;const v=b.model;return!!v.isFirstChange()||!Object.is(D,v.currentValue)}function tr(b,D){b._syncPendingControls(),D.forEach(v=>{const P=v.control;"submit"===P.updateOn&&P._pendingChange&&(v.viewToModelUpdate(P._pendingValue),P._pendingChange=!1)})}function vr(b,D){if(!D)return null;let v,P,he;return Array.isArray(D),D.forEach(ut=>{ut.constructor===De?v=ut:function yr(b){return Object.getPrototypeOf(b.constructor)===Ee}(ut)?P=ut:he=ut}),he||P||v||null}const mn={provide:vt,useExisting:(0,u.Gpc)(()=>On)},wn=(()=>Promise.resolve(null))();let On=(()=>{class b extends vt{constructor(v,P){super(),this.submitted=!1,this._directives=new Set,this.ngSubmit=new u.vpe,this.form=new q({},Cn(v),ur(P))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(v){wn.then(()=>{const P=this._findContainer(v.path);v.control=P.registerControl(v.name,v.control),pt(v.control,v),v.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(v)})}getControl(v){return this.form.get(v.path)}removeControl(v){wn.then(()=>{const P=this._findContainer(v.path);P&&P.removeControl(v.name),this._directives.delete(v)})}addFormGroup(v){wn.then(()=>{const P=this._findContainer(v.path),he=new q({});er(he,v),P.registerControl(v.name,he),he.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(v){wn.then(()=>{const P=this._findContainer(v.path);P&&P.removeControl(v.name)})}getFormGroup(v){return this.form.get(v.path)}updateModel(v,P){wn.then(()=>{this.form.get(v.path).setValue(P)})}setValue(v){this.control.setValue(v)}onSubmit(v){return this.submitted=!0,tr(this.form,this._directives),this.ngSubmit.emit(v),!1}onReset(){this.resetForm()}resetForm(v){this.form.reset(v),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(v){return v.pop(),v.length?this.form.get(v):this.form}}return b.\u0275fac=function(v){return new(v||b)(u.Y36(Ne,10),u.Y36(Re,10))},b.\u0275dir=u.lG2({type:b,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(v,P){1&v&&u.NdJ("submit",function(ut){return P.onSubmit(ut)})("reset",function(){return P.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[u._Bn([mn]),u.qOj]}),b})();function _r(b,D){const v=b.indexOf(D);v>-1&&b.splice(v,1)}function In(b){return"object"==typeof b&&null!==b&&2===Object.keys(b).length&&"value"in b&&"disabled"in b}const gn=class extends Ut{constructor(D=null,v,P){super(Ft(v),hn(P,v)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(D),this._setUpdateStrategy(v),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),an(v)&&(v.nonNullable||v.initialValueIsDefault)&&(this.defaultValue=In(D)?D.value:D)}setValue(D,v={}){this.value=this._pendingValue=D,this._onChange.length&&!1!==v.emitModelToViewChange&&this._onChange.forEach(P=>P(this.value,!1!==v.emitViewToModelChange)),this.updateValueAndValidity(v)}patchValue(D,v={}){this.setValue(D,v)}reset(D=this.defaultValue,v={}){this._applyFormState(D),this.markAsPristine(v),this.markAsUntouched(v),this.setValue(this.value,v),this._pendingChange=!1}_updateValue(){}_anyControls(D){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(D){this._onChange.push(D)}_unregisterOnChange(D){_r(this._onChange,D)}registerOnDisabledChange(D){this._onDisabledChange.push(D)}_unregisterOnDisabledChange(D){_r(this._onDisabledChange,D)}_forEachChild(D){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(D){In(D)?(this.value=this._pendingValue=D.value,D.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=D}},Fi=gn,Ci={provide:qt,useExisting:(0,u.Gpc)(()=>hi)},ki=(()=>Promise.resolve(null))();let hi=(()=>{class b extends qt{constructor(v,P,he,ut,Jt){super(),this._changeDetectorRef=Jt,this.control=new gn,this._registered=!1,this.update=new u.vpe,this._parent=v,this._setValidators(P),this._setAsyncValidators(he),this.valueAccessor=vr(0,ut)}ngOnChanges(v){if(this._checkForErrors(),!this._registered||"name"in v){if(this._registered&&(this._checkName(),this.formDirective)){const P=v.name.previousValue;this.formDirective.removeControl({name:P,path:this._getPath(P)})}this._setUpControl()}"isDisabled"in v&&this._updateDisabled(v),Fr(v,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(v){this.viewModel=v,this.update.emit(v)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){pt(this.control,this),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(v){ki.then(()=>{this.control.setValue(v,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(v){const P=v.isDisabled.currentValue,he=0!==P&&(0,u.D6c)(P);ki.then(()=>{he&&!this.control.disabled?this.control.disable():!he&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(v){return this._parent?function ct(b,D){return[...D.path,b]}(v,this._parent):[v]}}return b.\u0275fac=function(v){return new(v||b)(u.Y36(vt,9),u.Y36(Ne,10),u.Y36(Re,10),u.Y36(_e,10),u.Y36(u.sBO,8))},b.\u0275dir=u.lG2({type:b,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[u._Bn([Ci]),u.qOj,u.TTD]}),b})(),fr=(()=>{class b{}return b.\u0275fac=function(v){return new(v||b)},b.\u0275dir=u.lG2({type:b,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),b})();const Li={provide:_e,useExisting:(0,u.Gpc)(()=>Wr),multi:!0};let Wr=(()=>{class b extends Ee{writeValue(v){this.setProperty("value",v??"")}registerOnChange(v){this.onChange=P=>{v(""==P?null:parseFloat(P))}}}return b.\u0275fac=function(){let D;return function(P){return(D||(D=u.n5z(b)))(P||b)}}(),b.\u0275dir=u.lG2({type:b,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(v,P){1&v&&u.NdJ("input",function(ut){return P.onChange(ut.target.value)})("blur",function(){return P.onTouched()})},features:[u._Bn([Li]),u.qOj]}),b})(),hr=(()=>{class b{}return b.\u0275fac=function(v){return new(v||b)},b.\u0275mod=u.oAB({type:b}),b.\u0275inj=u.cJS({}),b})();const Dr=new u.OlP("NgModelWithFormControlWarning"),yn={provide:qt,useExisting:(0,u.Gpc)(()=>Cr)};let Cr=(()=>{class b extends qt{constructor(v,P,he,ut){super(),this._ngModelWarningConfig=ut,this.update=new u.vpe,this._ngModelWarningSent=!1,this._setValidators(v),this._setAsyncValidators(P),this.valueAccessor=vr(0,he)}set isDisabled(v){}ngOnChanges(v){if(this._isControlChanged(v)){const P=v.form.previousValue;P&&tt(P,this,!1),pt(this.form,this),this.form.updateValueAndValidity({emitEvent:!1})}Fr(v,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&tt(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(v){this.viewModel=v,this.update.emit(v)}_isControlChanged(v){return v.hasOwnProperty("form")}}return b._ngModelWarningSentOnce=!1,b.\u0275fac=function(v){return new(v||b)(u.Y36(Ne,10),u.Y36(Re,10),u.Y36(_e,10),u.Y36(Dr,8))},b.\u0275dir=u.lG2({type:b,selectors:[["","formControl",""]],inputs:{form:["formControl","form"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[u._Bn([yn]),u.qOj,u.TTD]}),b})();const nr={provide:vt,useExisting:(0,u.Gpc)(()=>kr)};let kr=(()=>{class b extends vt{constructor(v,P){super(),this.validators=v,this.asyncValidators=P,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new u.vpe,this._setValidators(v),this._setAsyncValidators(P)}ngOnChanges(v){this._checkFormPresent(),v.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(dr(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(v){const P=this.form.get(v.path);return pt(P,v),P.updateValueAndValidity({emitEvent:!1}),this.directives.push(v),P}getControl(v){return this.form.get(v.path)}removeControl(v){tt(v.control||null,v,!1),function ln(b,D){const v=b.indexOf(D);v>-1&&b.splice(v,1)}(this.directives,v)}addFormGroup(v){this._setUpFormContainer(v)}removeFormGroup(v){this._cleanUpFormContainer(v)}getFormGroup(v){return this.form.get(v.path)}addFormArray(v){this._setUpFormContainer(v)}removeFormArray(v){this._cleanUpFormContainer(v)}getFormArray(v){return this.form.get(v.path)}updateModel(v,P){this.form.get(v.path).setValue(P)}onSubmit(v){return this.submitted=!0,tr(this.form,this.directives),this.ngSubmit.emit(v),!1}onReset(){this.resetForm()}resetForm(v){this.form.reset(v),this.submitted=!1}_updateDomValue(){this.directives.forEach(v=>{const P=v.control,he=this.form.get(v.path);P!==he&&(tt(P||null,v),(b=>b instanceof gn)(he)&&(pt(he,v),v.control=he))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(v){const P=this.form.get(v.path);er(P,v),P.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(v){if(this.form){const P=this.form.get(v.path);P&&function Zr(b,D){return dr(b,D)}(P,v)&&P.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){Rr(this.form,this),this._oldForm&&dr(this._oldForm,this)}_checkFormPresent(){}}return b.\u0275fac=function(v){return new(v||b)(u.Y36(Ne,10),u.Y36(Re,10))},b.\u0275dir=u.lG2({type:b,selectors:[["","formGroup",""]],hostBindings:function(v,P){1&v&&u.NdJ("submit",function(ut){return P.onSubmit(ut)})("reset",function(){return P.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[u._Bn([nr]),u.qOj,u.TTD]}),b})();let jn=(()=>{class b{constructor(){this._validator=Ge}ngOnChanges(v){if(this.inputName in v){const P=this.normalizeInput(v[this.inputName].currentValue);this._enabled=this.enabled(P),this._validator=this._enabled?this.createValidator(P):Ge,this._onChange&&this._onChange()}}validate(v){return this._validator(v)}registerOnValidatorChange(v){this._onChange=v}enabled(v){return null!=v}}return b.\u0275fac=function(v){return new(v||b)},b.\u0275dir=u.lG2({type:b,features:[u.TTD]}),b})();const N={provide:Ne,useExisting:(0,u.Gpc)(()=>ye),multi:!0};let ye=(()=>{class b extends jn{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=u.D6c,this.createValidator=v=>ae}enabled(v){return v}}return b.\u0275fac=function(){let D;return function(P){return(D||(D=u.n5z(b)))(P||b)}}(),b.\u0275dir=u.lG2({type:b,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(v,P){2&v&&u.uIk("required",P._enabled?"":null)},inputs:{required:"required"},features:[u._Bn([N]),u.qOj]}),b})();const kt={provide:Ne,useExisting:(0,u.Gpc)(()=>un),multi:!0};let un=(()=>{class b extends jn{constructor(){super(...arguments),this.inputName="maxlength",this.normalizeInput=v=>function qr(b){return"number"==typeof b?b:parseInt(b,10)}(v),this.createValidator=v=>Xe(v)}}return b.\u0275fac=function(){let D;return function(P){return(D||(D=u.n5z(b)))(P||b)}}(),b.\u0275dir=u.lG2({type:b,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(v,P){2&v&&u.uIk("maxlength",P._enabled?P.maxlength:null)},inputs:{maxlength:"maxlength"},features:[u._Bn([kt]),u.qOj]}),b})();const Ht={provide:Ne,useExisting:(0,u.Gpc)(()=>Zt),multi:!0};let Zt=(()=>{class b extends jn{constructor(){super(...arguments),this.inputName="pattern",this.normalizeInput=v=>v,this.createValidator=v=>It(v)}}return b.\u0275fac=function(){let D;return function(P){return(D||(D=u.n5z(b)))(P||b)}}(),b.\u0275dir=u.lG2({type:b,selectors:[["","pattern","","formControlName",""],["","pattern","","formControl",""],["","pattern","","ngModel",""]],hostVars:1,hostBindings:function(v,P){2&v&&u.uIk("pattern",P._enabled?P.pattern:null)},inputs:{pattern:"pattern"},features:[u._Bn([Ht]),u.qOj]}),b})(),Gn=(()=>{class b{}return b.\u0275fac=function(v){return new(v||b)},b.\u0275mod=u.oAB({type:b}),b.\u0275inj=u.cJS({imports:[hr]}),b})(),sn=(()=>{class b{}return b.\u0275fac=function(v){return new(v||b)},b.\u0275mod=u.oAB({type:b}),b.\u0275inj=u.cJS({imports:[Gn]}),b})(),gi=(()=>{class b{static withConfig(v){return{ngModule:b,providers:[{provide:Dr,useValue:v.warnOnNgModelWithFormControl}]}}}return b.\u0275fac=function(v){return new(v||b)},b.\u0275mod=u.oAB({type:b}),b.\u0275inj=u.cJS({imports:[Gn]}),b})()},1481:(Qe,pe,S)=>{S.d(pe,{Dx:()=>U,H7:()=>an,b2:()=>qt,q6:()=>it,se:()=>ae});var u=S(6895),y=S(4650);class ne extends u.w_{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class oe extends ne{static makeCurrent(){(0,u.HT)(new oe)}onAndCancel(j,k,Z){return j.addEventListener(k,Z,!1),()=>{j.removeEventListener(k,Z,!1)}}dispatchEvent(j,k){j.dispatchEvent(k)}remove(j){j.parentNode&&j.parentNode.removeChild(j)}createElement(j,k){return(k=k||this.getDefaultDocument()).createElement(j)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(j){return j.nodeType===Node.ELEMENT_NODE}isShadowRoot(j){return j instanceof DocumentFragment}getGlobalEventTarget(j,k){return"window"===k?window:"document"===k?j:"body"===k?j.body:null}getBaseHref(j){const k=function J(){return z=z||document.querySelector("base"),z?z.getAttribute("href"):null}();return null==k?null:function ie(q){Y=Y||document.createElement("a"),Y.setAttribute("href",q);const j=Y.pathname;return"/"===j.charAt(0)?j:`/${j}`}(k)}resetBaseElement(){z=null}getUserAgent(){return window.navigator.userAgent}getCookie(j){return(0,u.Mx)(document.cookie,j)}}let Y,z=null;const le=new y.OlP("TRANSITION_ID"),de=[{provide:y.ip1,useFactory:function fe(q,j,k){return()=>{k.get(y.CZH).donePromise.then(()=>{const Z=(0,u.q)(),Ce=j.querySelectorAll(`style[ng-transition="${q}"]`);for(let ct=0;ct<Ce.length;ct++)Z.remove(Ce[ct])})}},deps:[le,u.K0,y.zs3],multi:!0}];let ve=(()=>{class q{build(){return new XMLHttpRequest}}return q.\u0275fac=function(k){return new(k||q)},q.\u0275prov=y.Yz7({token:q,factory:q.\u0275fac}),q})();const Ee=new y.OlP("EventManagerPlugins");let _e=(()=>{class q{constructor(k,Z){this._zone=Z,this._eventNameToPlugin=new Map,k.forEach(Ce=>Ce.manager=this),this._plugins=k.slice().reverse()}addEventListener(k,Z,Ce){return this._findPluginFor(Z).addEventListener(k,Z,Ce)}addGlobalEventListener(k,Z,Ce){return this._findPluginFor(Z).addGlobalEventListener(k,Z,Ce)}getZone(){return this._zone}_findPluginFor(k){const Z=this._eventNameToPlugin.get(k);if(Z)return Z;const Ce=this._plugins;for(let ct=0;ct<Ce.length;ct++){const pt=Ce[ct];if(pt.supports(k))return this._eventNameToPlugin.set(k,pt),pt}throw new Error(`No event manager plugin found for event ${k}`)}}return q.\u0275fac=function(k){return new(k||q)(y.LFG(Ee),y.LFG(y.R0b))},q.\u0275prov=y.Yz7({token:q,factory:q.\u0275fac}),q})();class We{constructor(j){this._doc=j}addGlobalEventListener(j,k,Z){const Ce=(0,u.q)().getGlobalEventTarget(this._doc,j);if(!Ce)throw new Error(`Unsupported event target ${Ce} for event ${k}`);return this.addEventListener(Ce,k,Z)}}let be=(()=>{class q{constructor(){this._stylesSet=new Set}addStyles(k){const Z=new Set;k.forEach(Ce=>{this._stylesSet.has(Ce)||(this._stylesSet.add(Ce),Z.add(Ce))}),this.onStylesAdded(Z)}onStylesAdded(k){}getAllStyles(){return Array.from(this._stylesSet)}}return q.\u0275fac=function(k){return new(k||q)},q.\u0275prov=y.Yz7({token:q,factory:q.\u0275fac}),q})(),Me=(()=>{class q extends be{constructor(k){super(),this._doc=k,this._hostNodes=new Map,this._hostNodes.set(k.head,[])}_addStylesToHost(k,Z,Ce){k.forEach(ct=>{const pt=this._doc.createElement("style");pt.textContent=ct,Ce.push(Z.appendChild(pt))})}addHost(k){const Z=[];this._addStylesToHost(this._stylesSet,k,Z),this._hostNodes.set(k,Z)}removeHost(k){const Z=this._hostNodes.get(k);Z&&Z.forEach(at),this._hostNodes.delete(k)}onStylesAdded(k){this._hostNodes.forEach((Z,Ce)=>{this._addStylesToHost(k,Ce,Z)})}ngOnDestroy(){this._hostNodes.forEach(k=>k.forEach(at))}}return q.\u0275fac=function(k){return new(k||q)(y.LFG(u.K0))},q.\u0275prov=y.Yz7({token:q,factory:q.\u0275fac}),q})();function at(q){(0,u.q)().remove(q)}const Ct={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/"},De=/%COMP%/g;function Q(q,j,k){for(let Z=0;Z<j.length;Z++){let Ce=j[Z];Array.isArray(Ce)?Q(q,Ce,k):(Ce=Ce.replace(De,q),k.push(Ce))}return k}function ee(q){return j=>{if("__ngUnwrap__"===j)return q;!1===q(j)&&(j.preventDefault(),j.returnValue=!1)}}let ae=(()=>{class q{constructor(k,Z,Ce){this.eventManager=k,this.sharedStylesHost=Z,this.appId=Ce,this.rendererByCompId=new Map,this.defaultRenderer=new He(k)}createRenderer(k,Z){if(!k||!Z)return this.defaultRenderer;switch(Z.encapsulation){case y.ifc.Emulated:{let Ce=this.rendererByCompId.get(Z.id);return Ce||(Ce=new It(this.eventManager,this.sharedStylesHost,Z,this.appId),this.rendererByCompId.set(Z.id,Ce)),Ce.applyToHost(k),Ce}case 1:case y.ifc.ShadowDom:return new Ge(this.eventManager,this.sharedStylesHost,k,Z);default:if(!this.rendererByCompId.has(Z.id)){const Ce=Q(Z.id,Z.styles,[]);this.sharedStylesHost.addStyles(Ce),this.rendererByCompId.set(Z.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return q.\u0275fac=function(k){return new(k||q)(y.LFG(_e),y.LFG(Me),y.LFG(y.AFp))},q.\u0275prov=y.Yz7({token:q,factory:q.\u0275fac}),q})();class He{constructor(j){this.eventManager=j,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(j,k){return k?document.createElementNS(Ct[k]||k,j):document.createElement(j)}createComment(j){return document.createComment(j)}createText(j){return document.createTextNode(j)}appendChild(j,k){(Xe(j)?j.content:j).appendChild(k)}insertBefore(j,k,Z){j&&(Xe(j)?j.content:j).insertBefore(k,Z)}removeChild(j,k){j&&j.removeChild(k)}selectRootElement(j,k){let Z="string"==typeof j?document.querySelector(j):j;if(!Z)throw new Error(`The selector "${j}" did not match any elements`);return k||(Z.textContent=""),Z}parentNode(j){return j.parentNode}nextSibling(j){return j.nextSibling}setAttribute(j,k,Z,Ce){if(Ce){k=Ce+":"+k;const ct=Ct[Ce];ct?j.setAttributeNS(ct,k,Z):j.setAttribute(k,Z)}else j.setAttribute(k,Z)}removeAttribute(j,k,Z){if(Z){const Ce=Ct[Z];Ce?j.removeAttributeNS(Ce,k):j.removeAttribute(`${Z}:${k}`)}else j.removeAttribute(k)}addClass(j,k){j.classList.add(k)}removeClass(j,k){j.classList.remove(k)}setStyle(j,k,Z,Ce){Ce&(y.JOm.DashCase|y.JOm.Important)?j.style.setProperty(k,Z,Ce&y.JOm.Important?"important":""):j.style[k]=Z}removeStyle(j,k,Z){Z&y.JOm.DashCase?j.style.removeProperty(k):j.style[k]=""}setProperty(j,k,Z){j[k]=Z}setValue(j,k){j.nodeValue=k}listen(j,k,Z){return"string"==typeof j?this.eventManager.addGlobalEventListener(j,k,ee(Z)):this.eventManager.addEventListener(j,k,ee(Z))}}function Xe(q){return"TEMPLATE"===q.tagName&&void 0!==q.content}class It extends He{constructor(j,k,Z,Ce){super(j),this.component=Z;const ct=Q(Ce+"-"+Z.id,Z.styles,[]);k.addStyles(ct),this.contentAttr=function Re(q){return"_ngcontent-%COMP%".replace(De,q)}(Ce+"-"+Z.id),this.hostAttr=function ke(q){return"_nghost-%COMP%".replace(De,q)}(Ce+"-"+Z.id)}applyToHost(j){super.setAttribute(j,this.hostAttr,"")}createElement(j,k){const Z=super.createElement(j,k);return super.setAttribute(Z,this.contentAttr,""),Z}}class Ge extends He{constructor(j,k,Z,Ce){super(j),this.sharedStylesHost=k,this.hostEl=Z,this.shadowRoot=Z.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const ct=Q(Ce.id,Ce.styles,[]);for(let pt=0;pt<ct.length;pt++){const tt=document.createElement("style");tt.textContent=ct[pt],this.shadowRoot.appendChild(tt)}}nodeOrShadowRoot(j){return j===this.hostEl?this.shadowRoot:j}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}appendChild(j,k){return super.appendChild(this.nodeOrShadowRoot(j),k)}insertBefore(j,k,Z){return super.insertBefore(this.nodeOrShadowRoot(j),k,Z)}removeChild(j,k){return super.removeChild(this.nodeOrShadowRoot(j),k)}parentNode(j){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(j)))}}let Bt=(()=>{class q extends We{constructor(k){super(k)}supports(k){return!0}addEventListener(k,Z,Ce){return k.addEventListener(Z,Ce,!1),()=>this.removeEventListener(k,Z,Ce)}removeEventListener(k,Z,Ce){return k.removeEventListener(Z,Ce)}}return q.\u0275fac=function(k){return new(k||q)(y.LFG(u.K0))},q.\u0275prov=y.Yz7({token:q,factory:q.\u0275fac}),q})();const Pe=["alt","control","meta","shift"],K={"\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"},me={A:"1",B:"2",C:"3",D:"4",E:"5",F:"6",G:"7",H:"8",I:"9",J:"*",K:"+",M:"-",N:".",O:"/","`":"0","\x90":"NumLock"},Be={alt:q=>q.altKey,control:q=>q.ctrlKey,meta:q=>q.metaKey,shift:q=>q.shiftKey};let Et=(()=>{class q extends We{constructor(k){super(k)}supports(k){return null!=q.parseEventName(k)}addEventListener(k,Z,Ce){const ct=q.parseEventName(Z),pt=q.eventCallback(ct.fullKey,Ce,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,u.q)().onAndCancel(k,ct.domEventName,pt))}static parseEventName(k){const Z=k.toLowerCase().split("."),Ce=Z.shift();if(0===Z.length||"keydown"!==Ce&&"keyup"!==Ce)return null;const ct=q._normalizeKey(Z.pop());let pt="";if(Pe.forEach(pn=>{const Mr=Z.indexOf(pn);Mr>-1&&(Z.splice(Mr,1),pt+=pn+".")}),pt+=ct,0!=Z.length||0===ct.length)return null;const tt={};return tt.domEventName=Ce,tt.fullKey=pt,tt}static getEventFullKey(k){let Z="",Ce=function Cn(q){let j=q.key;if(null==j){if(j=q.keyIdentifier,null==j)return"Unidentified";j.startsWith("U+")&&(j=String.fromCharCode(parseInt(j.substring(2),16)),3===q.location&&me.hasOwnProperty(j)&&(j=me[j]))}return K[j]||j}(k);return Ce=Ce.toLowerCase()," "===Ce?Ce="space":"."===Ce&&(Ce="dot"),Pe.forEach(ct=>{ct!=Ce&&(0,Be[ct])(k)&&(Z+=ct+".")}),Z+=Ce,Z}static eventCallback(k,Z,Ce){return ct=>{q.getEventFullKey(ct)===k&&Ce.runGuarded(()=>Z(ct))}}static _normalizeKey(k){return"esc"===k?"escape":k}}return q.\u0275fac=function(k){return new(k||q)(y.LFG(u.K0))},q.\u0275prov=y.Yz7({token:q,factory:q.\u0275fac}),q})();const it=(0,y.eFA)(y._c5,"browser",[{provide:y.Lbi,useValue:u.bD},{provide:y.g9A,useValue:function Yt(){oe.makeCurrent()},multi:!0},{provide:u.K0,useFactory:function Xt(){return(0,y.RDi)(document),document},deps:[]}]),Wt=new y.OlP(""),Hn=[{provide:y.rWj,useClass:class X{addToWindow(j){y.dqk.getAngularTestability=(Z,Ce=!0)=>{const ct=j.findTestabilityInTree(Z,Ce);if(null==ct)throw new Error("Could not find testability for element.");return ct},y.dqk.getAllAngularTestabilities=()=>j.getAllTestabilities(),y.dqk.getAllAngularRootElements=()=>j.getAllRootElements(),y.dqk.frameworkStabilizers||(y.dqk.frameworkStabilizers=[]),y.dqk.frameworkStabilizers.push(Z=>{const Ce=y.dqk.getAllAngularTestabilities();let ct=Ce.length,pt=!1;const tt=function(pn){pt=pt||pn,ct--,0==ct&&Z(pt)};Ce.forEach(function(pn){pn.whenStable(tt)})})}findTestabilityInTree(j,k,Z){return null==k?null:j.getTestability(k)??(Z?(0,u.q)().isShadowRoot(k)?this.findTestabilityInTree(j,k.host,!0):this.findTestabilityInTree(j,k.parentElement,!0):null)}},deps:[]},{provide:y.lri,useClass:y.dDg,deps:[y.R0b,y.eoX,y.rWj]},{provide:y.dDg,useClass:y.dDg,deps:[y.R0b,y.eoX,y.rWj]}],vt=[{provide:y.zSh,useValue:"root"},{provide:y.qLn,useFactory:function En(){return new y.qLn},deps:[]},{provide:Ee,useClass:Bt,multi:!0,deps:[u.K0,y.R0b,y.Lbi]},{provide:Ee,useClass:Et,multi:!0,deps:[u.K0]},{provide:ae,useClass:ae,deps:[_e,Me,y.AFp]},{provide:y.FYo,useExisting:ae},{provide:be,useExisting:Me},{provide:Me,useClass:Me,deps:[u.K0]},{provide:_e,useClass:_e,deps:[Ee,y.R0b]},{provide:u.JF,useClass:ve,deps:[]},[]];let qt=(()=>{class q{constructor(k){}static withServerTransition(k){return{ngModule:q,providers:[{provide:y.AFp,useValue:k.appId},{provide:le,useExisting:y.AFp},de]}}}return q.\u0275fac=function(k){return new(k||q)(y.LFG(Wt,12))},q.\u0275mod=y.oAB({type:q}),q.\u0275inj=y.cJS({providers:[...vt,...Hn],imports:[u.ez,y.hGG]}),q})(),U=(()=>{class q{constructor(k){this._doc=k}getTitle(){return this._doc.title}setTitle(k){this._doc.title=k||""}}return q.\u0275fac=function(k){return new(k||q)(y.LFG(u.K0))},q.\u0275prov=y.Yz7({token:q,factory:function(k){let Z=null;return Z=k?new k:function Ae(){return new U((0,y.LFG)(u.K0))}(),Z},providedIn:"root"}),q})();typeof window<"u"&&window;let an=(()=>{class q{}return q.\u0275fac=function(k){return new(k||q)},q.\u0275prov=y.Yz7({token:q,factory:function(k){let Z=null;return Z=k?new(k||q):y.LFG(_t),Z},providedIn:"root"}),q})(),_t=(()=>{class q extends an{constructor(k){super(),this._doc=k}sanitize(k,Z){if(null==Z)return null;switch(k){case y.q3G.NONE:return Z;case y.q3G.HTML:return(0,y.qzn)(Z,"HTML")?(0,y.z3N)(Z):(0,y.EiD)(this._doc,String(Z)).toString();case y.q3G.STYLE:return(0,y.qzn)(Z,"Style")?(0,y.z3N)(Z):Z;case y.q3G.SCRIPT:if((0,y.qzn)(Z,"Script"))return(0,y.z3N)(Z);throw new Error("unsafe value used in a script context");case y.q3G.URL:return(0,y.qzn)(Z,"URL")?(0,y.z3N)(Z):(0,y.mCW)(String(Z));case y.q3G.RESOURCE_URL:if((0,y.qzn)(Z,"ResourceURL"))return(0,y.z3N)(Z);throw new Error("unsafe value used in a resource URL context (see https://g.co/ng/security#xss)");default:throw new Error(`Unexpected SecurityContext ${k} (see https://g.co/ng/security#xss)`)}}bypassSecurityTrustHtml(k){return(0,y.JVY)(k)}bypassSecurityTrustStyle(k){return(0,y.L6k)(k)}bypassSecurityTrustScript(k){return(0,y.eBb)(k)}bypassSecurityTrustUrl(k){return(0,y.LAX)(k)}bypassSecurityTrustResourceUrl(k){return(0,y.pB0)(k)}}return q.\u0275fac=function(k){return new(k||q)(y.LFG(u.K0))},q.\u0275prov=y.Yz7({token:q,factory:function(k){let Z=null;return Z=k?new k:function Ue(q){return new _t(q.get(u.K0))}(y.LFG(y.zs3)),Z},providedIn:"root"}),q})()},6272:(Qe,pe,S)=>{S.d(pe,{gz:()=>Dr,F0:()=>_,Od:()=>R,yS:()=>T,Bz:()=>Yn,lC:()=>Vr});var u=S(4650);const ne=(0,S(3888).d)(d=>function(){d(this),this.name="EmptyError",this.message="no elements in sequence"});var oe=S(9751),z=S(576);function J(d,f){const c=(0,z.m)(d)?d:()=>d,g=C=>C.error(c());return new oe.y(f?C=>f.schedule(g,0,C):g)}var Y=S(727),ie=S(4482),le=S(5403);function fe(){return(0,ie.e)((d,f)=>{let c=null;d._refCount++;const g=(0,le.x)(f,void 0,void 0,void 0,()=>{if(!d||d._refCount<=0||0<--d._refCount)return void(c=null);const C=d._connection,A=c;c=null,C&&(!A||C===A)&&C.unsubscribe(),f.unsubscribe()});d.subscribe(g),g.closed||(c=d.connect())})}class de extends oe.y{constructor(f,c){super(),this.source=f,this.subjectFactory=c,this._subject=null,this._refCount=0,this._connection=null,(0,ie.A)(f)&&(this.lift=f.lift)}_subscribe(f){return this.getSubject().subscribe(f)}getSubject(){const f=this._subject;return(!f||f.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:f}=this;this._subject=this._connection=null,f?.unsubscribe()}connect(){let f=this._connection;if(!f){f=this._connection=new Y.w0;const c=this.getSubject();f.add(this.source.subscribe((0,le.x)(c,void 0,()=>{this._teardown(),c.complete()},g=>{this._teardown(),c.error(g)},()=>this._teardown()))),f.closed&&(this._connection=null,f=Y.w0.EMPTY)}return f}refCount(){return fe()(this)}}var X=S(2076),ve=S(9646),Ee=S(1135),_e=S(9841),We=S(7272),be=S(9770),Me=S(9635),at=S(515),Ct=S(7579),De=S(6895),W=S(9300),Se=S(5698);function qe(d){return(0,ie.e)((f,c)=>{let g=!1;f.subscribe((0,le.x)(c,C=>{g=!0,c.next(C)},()=>{g||c.next(d),c.complete()}))})}function Ne(d=Re){return(0,ie.e)((f,c)=>{let g=!1;f.subscribe((0,le.x)(c,C=>{g=!0,c.next(C)},()=>g?c.complete():c.error(d())))})}function Re(){return new ne}var ke=S(4671);function Q(d,f){const c=arguments.length>=2;return g=>g.pipe(d?(0,W.h)((C,A)=>d(C,A,g)):ke.y,(0,Se.q)(1),c?qe(f):Ne(()=>new ne))}var ee=S(8421);function ge(d){return(0,ie.e)((f,c)=>{let A,g=null,C=!1;g=f.subscribe((0,le.x)(c,void 0,void 0,x=>{A=(0,ee.Xf)(d(x,ge(d)(f))),g?(g.unsubscribe(),g=null,A.subscribe(c)):C=!0})),C&&(g.unsubscribe(),g=null,A.subscribe(c))})}function ae(d,f,c,g,C){return(A,x)=>{let V=c,ce=f,$e=0;A.subscribe((0,le.x)(x,Ot=>{const nt=$e++;ce=V?d(ce,Ot,nt):(V=!0,Ot),g&&x.next(ce)},C&&(()=>{V&&x.next(ce),x.complete()})))}}function He(d,f){return(0,ie.e)(ae(d,f,arguments.length>=2,!0))}function Le(d){return d<=0?()=>at.E:(0,ie.e)((f,c)=>{let g=[];f.subscribe((0,le.x)(c,C=>{g.push(C),d<g.length&&g.shift()},()=>{for(const C of g)c.next(C);c.complete()},void 0,()=>{g=null}))})}function gt(d,f){const c=arguments.length>=2;return g=>g.pipe(d?(0,W.h)((C,A)=>d(C,A,g)):ke.y,Le(1),c?qe(f):Ne(()=>new ne))}var Xe=S(4004),It=S(3900),Ge=S(8675),Bt=S(5577),Pe=S(4351),Oe=S(8505),K=S(2529),me=S(9718),Be=S(8746),Et=S(8189),Cn=S(1481);const dt="primary";class ur{constructor(f){this.params=f||{}}has(f){return Object.prototype.hasOwnProperty.call(this.params,f)}get(f){if(this.has(f)){const c=this.params[f];return Array.isArray(c)?c[0]:c}return null}getAll(f){if(this.has(f)){const c=this.params[f];return Array.isArray(c)?c:[c]}return[]}get keys(){return Object.keys(this.params)}}function bn(d){return new ur(d)}function Yt(d,f,c){const g=c.path.split("/");if(g.length>d.length||"full"===c.pathMatch&&(f.hasChildren()||g.length<d.length))return null;const C={};for(let A=0;A<g.length;A++){const x=g[A],V=d[A];if(x.startsWith(":"))C[x.substring(1)]=V;else if(x!==V.path)return null}return{consumed:d.slice(0,g.length),posParams:C}}function Xt(d,f){const c=d?Object.keys(d):void 0,g=f?Object.keys(f):void 0;if(!c||!g||c.length!=g.length)return!1;let C;for(let A=0;A<c.length;A++)if(C=c[A],!Rn(d[C],f[C]))return!1;return!0}function Rn(d,f){if(Array.isArray(d)&&Array.isArray(f)){if(d.length!==f.length)return!1;const c=[...d].sort(),g=[...f].sort();return c.every((C,A)=>g[A]===C)}return d===f}function it(d){return Array.prototype.concat.apply([],d)}function Wt(d){return d.length>0?d[d.length-1]:null}function vt(d,f){for(const c in d)d.hasOwnProperty(c)&&f(d[c],c)}function qt(d){return(0,u.CqO)(d)?d:(0,u.QGY)(d)?(0,X.D)(Promise.resolve(d)):(0,ve.of)(d)}const dn={exact:function se(d,f,c){if(!ft(d.segments,f.segments)||!Ze(d.segments,f.segments,c)||d.numberOfChildren!==f.numberOfChildren)return!1;for(const g in f.children)if(!d.children[g]||!se(d.children[g],f.children[g],c))return!1;return!0},subset:je},Ae={exact:function L(d,f){return Xt(d,f)},subset:function Fe(d,f){return Object.keys(f).length<=Object.keys(d).length&&Object.keys(f).every(c=>Rn(d[c],f[c]))},ignored:()=>!0};function U(d,f,c){return dn[c.paths](d.root,f.root,c.matrixParams)&&Ae[c.queryParams](d.queryParams,f.queryParams)&&!("exact"===c.fragment&&d.fragment!==f.fragment)}function je(d,f,c){return Mt(d,f,f.segments,c)}function Mt(d,f,c,g){if(d.segments.length>c.length){const C=d.segments.slice(0,c.length);return!(!ft(C,c)||f.hasChildren()||!Ze(C,c,g))}if(d.segments.length===c.length){if(!ft(d.segments,c)||!Ze(d.segments,c,g))return!1;for(const C in f.children)if(!d.children[C]||!je(d.children[C],f.children[C],g))return!1;return!0}{const C=c.slice(0,d.segments.length),A=c.slice(d.segments.length);return!!(ft(d.segments,C)&&Ze(d.segments,C,g)&&d.children[dt])&&Mt(d.children[dt],f,A,g)}}function Ze(d,f,c){return f.every((g,C)=>Ae[c](d[C].parameters,g.parameters))}class lt{constructor(f,c,g){this.root=f,this.queryParams=c,this.fragment=g}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=bn(this.queryParams)),this._queryParamMap}toString(){return br.serialize(this)}}class ot{constructor(f,c){this.segments=f,this.children=c,this.parent=null,vt(c,(g,C)=>g.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return en(this)}}class Nt{constructor(f,c){this.path=f,this.parameters=c}get parameterMap(){return this._parameterMap||(this._parameterMap=bn(this.parameters)),this._parameterMap}toString(){return fn(this)}}function ft(d,f){return d.length===f.length&&d.every((c,g)=>c.path===f[g].path)}let Gt=(()=>{class d{}return d.\u0275fac=function(c){return new(c||d)},d.\u0275prov=u.Yz7({token:d,factory:function(){return new Mn},providedIn:"root"}),d})();class Mn{parse(f){const c=new k(f);return new lt(c.parseRootSegment(),c.parseQueryParams(),c.parseFragment())}serialize(f){const c=`/${Qn(f.root,!0)}`,g=function Sn(d){const f=Object.keys(d).map(c=>{const g=d[c];return Array.isArray(g)?g.map(C=>`${Tn(c)}=${Tn(C)}`).join("&"):`${Tn(c)}=${Tn(g)}`}).filter(c=>!!c);return f.length?`?${f.join("&")}`:""}(f.queryParams);return`${c}${g}${"string"==typeof f.fragment?`#${function mr(d){return encodeURI(d)}(f.fragment)}`:""}`}}const br=new Mn;function en(d){return d.segments.map(f=>fn(f)).join("/")}function Qn(d,f){if(!d.hasChildren())return en(d);if(f){const c=d.children[dt]?Qn(d.children[dt],!1):"",g=[];return vt(d.children,(C,A)=>{A!==dt&&g.push(`${A}:${Qn(C,!1)}`)}),g.length>0?`${c}(${g.join("//")})`:c}{const c=function jt(d,f){let c=[];return vt(d.children,(g,C)=>{C===dt&&(c=c.concat(f(g,C)))}),vt(d.children,(g,C)=>{C!==dt&&(c=c.concat(f(g,C)))}),c}(d,(g,C)=>C===dt?[Qn(d.children[dt],!1)]:[`${C}:${Qn(g,!1)}`]);return 1===Object.keys(d.children).length&&null!=d.children[dt]?`${en(d)}/${c[0]}`:`${en(d)}/(${c.join("//")})`}}function Zn(d){return encodeURIComponent(d).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Tn(d){return Zn(d).replace(/%3B/gi,";")}function cr(d){return Zn(d).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Jn(d){return decodeURIComponent(d)}function Ft(d){return Jn(d.replace(/\+/g,"%20"))}function fn(d){return`${cr(d.path)}${function hn(d){return Object.keys(d).map(f=>`;${cr(f)}=${cr(d[f])}`).join("")}(d.parameters)}`}const an=/^[^\/()?;=#]+/;function Ue(d){const f=d.match(an);return f?f[0]:""}const _t=/^[^=?&#]+/,q=/^[^&#]+/;class k{constructor(f){this.url=f,this.remaining=f}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new ot([],{}):new ot([],this.parseChildren())}parseQueryParams(){const f={};if(this.consumeOptional("?"))do{this.parseQueryParam(f)}while(this.consumeOptional("&"));return f}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const f=[];for(this.peekStartsWith("(")||f.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),f.push(this.parseSegment());let c={};this.peekStartsWith("/(")&&(this.capture("/"),c=this.parseParens(!0));let g={};return this.peekStartsWith("(")&&(g=this.parseParens(!1)),(f.length>0||Object.keys(c).length>0)&&(g[dt]=new ot(f,c)),g}parseSegment(){const f=Ue(this.remaining);if(""===f&&this.peekStartsWith(";"))throw new u.vHH(4009,!1);return this.capture(f),new Nt(Jn(f),this.parseMatrixParams())}parseMatrixParams(){const f={};for(;this.consumeOptional(";");)this.parseParam(f);return f}parseParam(f){const c=Ue(this.remaining);if(!c)return;this.capture(c);let g="";if(this.consumeOptional("=")){const C=Ue(this.remaining);C&&(g=C,this.capture(g))}f[Jn(c)]=Jn(g)}parseQueryParam(f){const c=function Ut(d){const f=d.match(_t);return f?f[0]:""}(this.remaining);if(!c)return;this.capture(c);let g="";if(this.consumeOptional("=")){const x=function j(d){const f=d.match(q);return f?f[0]:""}(this.remaining);x&&(g=x,this.capture(g))}const C=Ft(c),A=Ft(g);if(f.hasOwnProperty(C)){let x=f[C];Array.isArray(x)||(x=[x],f[C]=x),x.push(A)}else f[C]=A}parseParens(f){const c={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const g=Ue(this.remaining),C=this.remaining[g.length];if("/"!==C&&")"!==C&&";"!==C)throw new u.vHH(4010,!1);let A;g.indexOf(":")>-1?(A=g.slice(0,g.indexOf(":")),this.capture(A),this.capture(":")):f&&(A=dt);const x=this.parseChildren();c[A]=1===Object.keys(x).length?x[dt]:new ot([],x),this.consumeOptional("//")}return c}peekStartsWith(f){return this.remaining.startsWith(f)}consumeOptional(f){return!!this.peekStartsWith(f)&&(this.remaining=this.remaining.substring(f.length),!0)}capture(f){if(!this.consumeOptional(f))throw new u.vHH(4011,!1)}}function Z(d){return d.segments.length>0?new ot([],{[dt]:d}):d}function Ce(d){const f={};for(const g of Object.keys(d.children)){const A=Ce(d.children[g]);(A.segments.length>0||A.hasChildren())&&(f[g]=A)}return function ct(d){if(1===d.numberOfChildren&&d.children[dt]){const f=d.children[dt];return new ot(d.segments.concat(f.segments),f.children)}return d}(new ot(d.segments,f))}function pt(d){return d instanceof lt}function dr(d,f,c,g,C){if(0===c.length)return tn(f.root,f.root,f.root,g,C);const A=function Zr(d){if("string"==typeof d[0]&&1===d.length&&"/"===d[0])return new er(!0,0,d);let f=0,c=!1;const g=d.reduce((C,A,x)=>{if("object"==typeof A&&null!=A){if(A.outlets){const V={};return vt(A.outlets,(ce,$e)=>{V[$e]="string"==typeof ce?ce.split("/"):ce}),[...C,{outlets:V}]}if(A.segmentPath)return[...C,A.segmentPath]}return"string"!=typeof A?[...C,A]:0===x?(A.split("/").forEach((V,ce)=>{0==ce&&"."===V||(0==ce&&""===V?c=!0:".."===V?f++:""!=V&&C.push(V))}),C):[...C,A]},[]);return new er(c,f,g)}(c);return A.toRoot()?tn(f.root,f.root,new ot([],{}),g,C):function x(ce){const $e=function di(d,f,c,g){if(d.isAbsolute)return new Vt(f.root,!0,0);if(-1===g)return new Vt(c,c===f.root,0);return function xr(d,f,c){let g=d,C=f,A=c;for(;A>C;){if(A-=C,g=g.parent,!g)throw new u.vHH(4005,!1);C=g.segments.length}return new Vt(g,!1,C-A)}(c,g+(rn(d.commands[0])?0:1),d.numberOfDoubleDots)}(A,f,d.snapshot?._urlSegment,ce),Ot=$e.processChildren?tr($e.segmentGroup,$e.index,A.commands):yr($e.segmentGroup,$e.index,A.commands);return tn(f.root,$e.segmentGroup,Ot,g,C)}(d.snapshot?._lastPathIndex)}function rn(d){return"object"==typeof d&&null!=d&&!d.outlets&&!d.segmentPath}function Xn(d){return"object"==typeof d&&null!=d&&d.outlets}function tn(d,f,c,g,C){let x,A={};g&&vt(g,(ce,$e)=>{A[$e]=Array.isArray(ce)?ce.map(Ot=>`${Ot}`):`${ce}`}),x=d===f?c:An(d,f,c);const V=Z(Ce(x));return new lt(V,A,C)}function An(d,f,c){const g={};return vt(d.children,(C,A)=>{g[A]=C===f?c:An(C,f,c)}),new ot(d.segments,g)}class er{constructor(f,c,g){if(this.isAbsolute=f,this.numberOfDoubleDots=c,this.commands=g,f&&g.length>0&&rn(g[0]))throw new u.vHH(4003,!1);const C=g.find(Xn);if(C&&C!==Wt(g))throw new u.vHH(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class Vt{constructor(f,c,g){this.segmentGroup=f,this.processChildren=c,this.index=g}}function yr(d,f,c){if(d||(d=new ot([],{})),0===d.segments.length&&d.hasChildren())return tr(d,f,c);const g=function vr(d,f,c){let g=0,C=f;const A={match:!1,pathIndex:0,commandIndex:0};for(;C<d.segments.length;){if(g>=c.length)return A;const x=d.segments[C],V=c[g];if(Xn(V))break;const ce=`${V}`,$e=g<c.length-1?c[g+1]:null;if(C>0&&void 0===ce)break;if(ce&&$e&&"object"==typeof $e&&void 0===$e.outlets){if(!wn(ce,$e,x))return A;g+=2}else{if(!wn(ce,{},x))return A;g++}C++}return{match:!0,pathIndex:C,commandIndex:g}}(d,f,c),C=c.slice(g.commandIndex);if(g.match&&g.pathIndex<d.segments.length){const A=new ot(d.segments.slice(0,g.pathIndex),{});return A.children[dt]=new ot(d.segments.slice(g.pathIndex),d.children),tr(A,0,C)}return g.match&&0===C.length?new ot(d.segments,{}):g.match&&!d.hasChildren()?ln(d,f,c):g.match?tr(d,0,C):ln(d,f,c)}function tr(d,f,c){if(0===c.length)return new ot(d.segments,{});{const g=function Fr(d){return Xn(d[0])?d[0].outlets:{[dt]:d}}(c),C={};return vt(g,(A,x)=>{"string"==typeof A&&(A=[A]),null!==A&&(C[x]=yr(d.children[x],f,A))}),vt(d.children,(A,x)=>{void 0===g[x]&&(C[x]=A)}),new ot(d.segments,C)}}function ln(d,f,c){const g=d.segments.slice(0,f);let C=0;for(;C<c.length;){const A=c[C];if(Xn(A)){const ce=zr(A.outlets);return new ot(g,ce)}if(0===C&&rn(c[0])){g.push(new Nt(d.segments[f].path,mn(c[0]))),C++;continue}const x=Xn(A)?A.outlets[dt]:`${A}`,V=C<c.length-1?c[C+1]:null;x&&V&&rn(V)?(g.push(new Nt(x,mn(V))),C+=2):(g.push(new Nt(x,{})),C++)}return new ot(g,{})}function zr(d){const f={};return vt(d,(c,g)=>{"string"==typeof c&&(c=[c]),null!==c&&(f[g]=ln(new ot([],{}),0,c))}),f}function mn(d){const f={};return vt(d,(c,g)=>f[g]=`${c}`),f}function wn(d,f,c){return d==c.path&&Xt(f,c.parameters)}class On{constructor(f,c){this.id=f,this.url=c}}class _r extends On{constructor(f,c,g="imperative",C=null){super(f,c),this.type=0,this.navigationTrigger=g,this.restoredState=C}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class In extends On{constructor(f,c,g){super(f,c),this.urlAfterRedirects=g,this.type=1}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class gn extends On{constructor(f,c,g,C){super(f,c),this.reason=g,this.code=C,this.type=2}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class Fi extends On{constructor(f,c,g,C){super(f,c),this.error=g,this.target=C,this.type=3}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class wo extends On{constructor(f,c,g,C){super(f,c),this.urlAfterRedirects=g,this.state=C,this.type=4}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Jr extends On{constructor(f,c,g,C){super(f,c),this.urlAfterRedirects=g,this.state=C,this.type=7}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class bo extends On{constructor(f,c,g,C,A){super(f,c),this.urlAfterRedirects=g,this.state=C,this.shouldActivate=A,this.type=8}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class oo extends On{constructor(f,c,g,C){super(f,c),this.urlAfterRedirects=g,this.state=C,this.type=5}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Mo extends On{constructor(f,c,g,C){super(f,c),this.urlAfterRedirects=g,this.state=C,this.type=6}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class To{constructor(f){this.route=f,this.type=9}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class Fn{constructor(f){this.route=f,this.type=10}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class fi{constructor(f){this.snapshot=f,this.type=11}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Ci{constructor(f){this.snapshot=f,this.type=12}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class ki{constructor(f){this.snapshot=f,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class hi{constructor(f){this.snapshot=f,this.type=14}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class fr{constructor(f,c,g){this.routerEvent=f,this.position=c,this.anchor=g,this.type=15}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class Wr{constructor(f){this._root=f}get root(){return this._root.value}parent(f){const c=this.pathFromRoot(f);return c.length>1?c[c.length-2]:null}children(f){const c=Vi(f,this._root);return c?c.children.map(g=>g.value):[]}firstChild(f){const c=Vi(f,this._root);return c&&c.children.length>0?c.children[0].value:null}siblings(f){const c=Xr(f,this._root);return c.length<2?[]:c[c.length-2].children.map(C=>C.value).filter(C=>C!==f)}pathFromRoot(f){return Xr(f,this._root).map(c=>c.value)}}function Vi(d,f){if(d===f.value)return f;for(const c of f.children){const g=Vi(d,c);if(g)return g}return null}function Xr(d,f){if(d===f.value)return[f];for(const c of f.children){const g=Xr(d,c);if(g.length)return g.unshift(f),g}return[]}class hr{constructor(f,c){this.value=f,this.children=c}toString(){return`TreeNode(${this.value})`}}function Tr(d){const f={};return d&&d.children.forEach(c=>f[c.value.outlet]=c),f}class Kr extends Wr{constructor(f,c){super(f),this.snapshot=c,ei(this,f)}toString(){return this.snapshot.toString()}}function Sr(d,f){const c=function Bi(d,f){const x=new nr([],{},{},"",{},dt,f,null,d.root,-1,{});return new kr("",new hr(x,[]))}(d,f),g=new Ee.X([new Nt("",{})]),C=new Ee.X({}),A=new Ee.X({}),x=new Ee.X({}),V=new Ee.X(""),ce=new Dr(g,C,x,V,A,dt,f,c.root);return ce.snapshot=c.root,new Kr(new hr(ce,[]),c)}class Dr{constructor(f,c,g,C,A,x,V,ce){this.url=f,this.params=c,this.queryParams=g,this.fragment=C,this.data=A,this.outlet=x,this.component=V,this._futureSnapshot=ce}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,Xe.U)(f=>bn(f)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe((0,Xe.U)(f=>bn(f)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function yn(d,f="emptyOnly"){const c=d.pathFromRoot;let g=0;if("always"!==f)for(g=c.length-1;g>=1;){const C=c[g],A=c[g-1];if(C.routeConfig&&""===C.routeConfig.path)g--;else{if(A.component)break;g--}}return function Cr(d){return d.reduce((f,c)=>({params:{...f.params,...c.params},data:{...f.data,...c.data},resolve:{...c.data,...f.resolve,...c.routeConfig?.data,...c._resolvedData}}),{params:{},data:{},resolve:{}})}(c.slice(g))}class nr{constructor(f,c,g,C,A,x,V,ce,$e,Ot,nt,Qt){this.url=f,this.params=c,this.queryParams=g,this.fragment=C,this.data=A,this.outlet=x,this.component=V,this.routeConfig=ce,this._urlSegment=$e,this._lastPathIndex=Ot,this._correctedLastPathIndex=Qt??Ot,this._resolve=nt}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=bn(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=bn(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(g=>g.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class kr extends Wr{constructor(f,c){super(c),this.url=f,ei(this,c)}toString(){return ti(this._root)}}function ei(d,f){f.value._routerState=d,f.children.forEach(c=>ei(d,c))}function ti(d){const f=d.children.length>0?` { ${d.children.map(ti).join(", ")} } `:"";return`${d.value}${f}`}function Er(d){if(d.snapshot){const f=d.snapshot,c=d._futureSnapshot;d.snapshot=c,Xt(f.queryParams,c.queryParams)||d.queryParams.next(c.queryParams),f.fragment!==c.fragment&&d.fragment.next(c.fragment),Xt(f.params,c.params)||d.params.next(c.params),function En(d,f){if(d.length!==f.length)return!1;for(let c=0;c<d.length;++c)if(!Xt(d[c],f[c]))return!1;return!0}(f.url,c.url)||d.url.next(c.url),Xt(f.data,c.data)||d.data.next(c.data)}else d.snapshot=d._futureSnapshot,d.data.next(d._futureSnapshot.data)}function rr(d,f){const c=Xt(d.params,f.params)&&function Un(d,f){return ft(d,f)&&d.every((c,g)=>Xt(c.parameters,f[g].parameters))}(d.url,f.url);return c&&!(!d.parent!=!f.parent)&&(!d.parent||rr(d.parent,f.parent))}function Ar(d,f,c){if(c&&d.shouldReuseRoute(f.value,c.value.snapshot)){const g=c.value;g._futureSnapshot=f.value;const C=function Hi(d,f,c){return f.children.map(g=>{for(const C of c.children)if(d.shouldReuseRoute(g.value,C.value.snapshot))return Ar(d,g,C);return Ar(d,g)})}(d,f,c);return new hr(g,C)}{if(d.shouldAttach(f.value)){const A=d.retrieve(f.value);if(null!==A){const x=A.route;return x.value._futureSnapshot=f.value,x.children=f.children.map(V=>Ar(d,V)),x}}const g=function kn(d){return new Dr(new Ee.X(d.url),new Ee.X(d.params),new Ee.X(d.queryParams),new Ee.X(d.fragment),new Ee.X(d.data),d.outlet,d.component,d)}(f.value),C=f.children.map(A=>Ar(d,A));return new hr(g,C)}}const Yr="ngNavigationCancelingError";function Pn(d,f){const{redirectTo:c,navigationBehaviorOptions:g}=pt(f)?{redirectTo:f,navigationBehaviorOptions:void 0}:f,C=Lr(!1,0,f);return C.url=c,C.navigationBehaviorOptions=g,C}function Lr(d,f,c){const g=new Error("NavigationCancelingError: "+(d||""));return g[Yr]=!0,g.cancellationCode=f,c&&(g.url=c),g}function ni(d){return wi(d)&&pt(d.url)}function wi(d){return d&&d[Yr]}class on{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.injector=null,this.children=new pi,this.attachRef=null}}let pi=(()=>{class d{constructor(){this.contexts=new Map}onChildOutletCreated(c,g){const C=this.getOrCreateContext(c);C.outlet=g,this.contexts.set(c,C)}onChildOutletDestroyed(c){const g=this.getContext(c);g&&(g.outlet=null,g.attachRef=null)}onOutletDeactivated(){const c=this.contexts;return this.contexts=new Map,c}onOutletReAttached(c){this.contexts=c}getOrCreateContext(c){let g=this.getContext(c);return g||(g=new on,this.contexts.set(c,g)),g}getContext(c){return this.contexts.get(c)||null}}return d.\u0275fac=function(c){return new(c||d)},d.\u0275prov=u.Yz7({token:d,factory:d.\u0275fac,providedIn:"root"}),d})();const so=!1;let Vr=(()=>{class d{constructor(c,g,C,A,x){this.parentContexts=c,this.location=g,this.changeDetector=A,this.environmentInjector=x,this.activated=null,this._activatedRoute=null,this.activateEvents=new u.vpe,this.deactivateEvents=new u.vpe,this.attachEvents=new u.vpe,this.detachEvents=new u.vpe,this.name=C||dt,c.onChildOutletCreated(this.name,this)}ngOnDestroy(){this.parentContexts.getContext(this.name)?.outlet===this&&this.parentContexts.onChildOutletDestroyed(this.name)}ngOnInit(){if(!this.activated){const c=this.parentContexts.getContext(this.name);c&&c.route&&(c.attachRef?this.attach(c.attachRef,c.route):this.activateWith(c.route,c.injector))}}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new u.vHH(4012,so);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new u.vHH(4012,so);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new u.vHH(4012,so);this.location.detach();const c=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(c.instance),c}attach(c,g){this.activated=c,this._activatedRoute=g,this.location.insert(c.hostView),this.attachEvents.emit(c.instance)}deactivate(){if(this.activated){const c=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(c)}}activateWith(c,g){if(this.isActivated)throw new u.vHH(4013,so);this._activatedRoute=c;const C=this.location,x=c._futureSnapshot.component,V=this.parentContexts.getOrCreateContext(this.name).children,ce=new ir(c,V,C.injector);if(g&&function qr(d){return!!d.resolveComponentFactory}(g)){const $e=g.resolveComponentFactory(x);this.activated=C.createComponent($e,C.length,ce)}else this.activated=C.createComponent(x,{index:C.length,injector:ce,environmentInjector:g??this.environmentInjector});this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return d.\u0275fac=function(c){return new(c||d)(u.Y36(pi),u.Y36(u.s_b),u.$8M("name"),u.Y36(u.sBO),u.Y36(u.lqb))},d.\u0275dir=u.lG2({type:d,selectors:[["router-outlet"]],outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"]}),d})();class ir{constructor(f,c,g){this.route=f,this.childContexts=c,this.parent=g}get(f,c){return f===Dr?this.route:f===pi?this.childContexts:this.parent.get(f,c)}}let ri=(()=>{class d{}return d.\u0275fac=function(c){return new(c||d)},d.\u0275cmp=u.Xpm({type:d,selectors:[["ng-component"]],decls:1,vars:0,template:function(c,g){1&c&&u._UZ(0,"router-outlet")},dependencies:[Vr],encapsulation:2}),d})();function jn(d,f){return d.providers&&!d._injector&&(d._injector=(0,u.MMx)(d.providers,f,`Route: ${d.path}`)),d._injector??f}function et(d){const f=d.children&&d.children.map(et),c=f?{...d,children:f}:{...d};return!c.component&&!c.loadComponent&&(f||c.loadChildren)&&c.outlet&&c.outlet!==dt&&(c.component=ri),c}function Rt(d){return d.outlet||dt}function Kt(d,f){const c=d.filter(g=>Rt(g)===f);return c.push(...d.filter(g=>Rt(g)!==f)),c}function zt(d){if(!d)return null;if(d.routeConfig?._injector)return d.routeConfig._injector;for(let f=d.parent;f;f=f.parent){const c=f.routeConfig;if(c?._loadedInjector)return c._loadedInjector;if(c?._injector)return c._injector}return null}class un{constructor(f,c,g,C){this.routeReuseStrategy=f,this.futureState=c,this.currState=g,this.forwardEvent=C}activate(f){const c=this.futureState._root,g=this.currState?this.currState._root:null;this.deactivateChildRoutes(c,g,f),Er(this.futureState.root),this.activateChildRoutes(c,g,f)}deactivateChildRoutes(f,c,g){const C=Tr(c);f.children.forEach(A=>{const x=A.value.outlet;this.deactivateRoutes(A,C[x],g),delete C[x]}),vt(C,(A,x)=>{this.deactivateRouteAndItsChildren(A,g)})}deactivateRoutes(f,c,g){const C=f.value,A=c?c.value:null;if(C===A)if(C.component){const x=g.getContext(C.outlet);x&&this.deactivateChildRoutes(f,c,x.children)}else this.deactivateChildRoutes(f,c,g);else A&&this.deactivateRouteAndItsChildren(c,g)}deactivateRouteAndItsChildren(f,c){f.value.component&&this.routeReuseStrategy.shouldDetach(f.value.snapshot)?this.detachAndStoreRouteSubtree(f,c):this.deactivateRouteAndOutlet(f,c)}detachAndStoreRouteSubtree(f,c){const g=c.getContext(f.value.outlet),C=g&&f.value.component?g.children:c,A=Tr(f);for(const x of Object.keys(A))this.deactivateRouteAndItsChildren(A[x],C);if(g&&g.outlet){const x=g.outlet.detach(),V=g.children.onOutletDeactivated();this.routeReuseStrategy.store(f.value.snapshot,{componentRef:x,route:f,contexts:V})}}deactivateRouteAndOutlet(f,c){const g=c.getContext(f.value.outlet),C=g&&f.value.component?g.children:c,A=Tr(f);for(const x of Object.keys(A))this.deactivateRouteAndItsChildren(A[x],C);g&&g.outlet&&(g.outlet.deactivate(),g.children.onOutletDeactivated(),g.attachRef=null,g.resolver=null,g.route=null)}activateChildRoutes(f,c,g){const C=Tr(c);f.children.forEach(A=>{this.activateRoutes(A,C[A.value.outlet],g),this.forwardEvent(new hi(A.value.snapshot))}),f.children.length&&this.forwardEvent(new Ci(f.value.snapshot))}activateRoutes(f,c,g){const C=f.value,A=c?c.value:null;if(Er(C),C===A)if(C.component){const x=g.getOrCreateContext(C.outlet);this.activateChildRoutes(f,c,x.children)}else this.activateChildRoutes(f,c,g);else if(C.component){const x=g.getOrCreateContext(C.outlet);if(this.routeReuseStrategy.shouldAttach(C.snapshot)){const V=this.routeReuseStrategy.retrieve(C.snapshot);this.routeReuseStrategy.store(C.snapshot,null),x.children.onOutletReAttached(V.contexts),x.attachRef=V.componentRef,x.route=V.route.value,x.outlet&&x.outlet.attach(V.componentRef,V.route.value),Er(V.route.value),this.activateChildRoutes(f,null,x.children)}else{const V=zt(C.snapshot),ce=V?.get(u._Vd)??null;x.attachRef=null,x.route=C,x.resolver=ce,x.injector=V,x.outlet&&x.outlet.activateWith(C,x.injector),this.activateChildRoutes(f,null,x.children)}}else this.activateChildRoutes(f,null,g)}}class Ht{constructor(f){this.path=f,this.route=this.path[this.path.length-1]}}class Zt{constructor(f,c){this.component=f,this.route=c}}function Ie(d,f,c){const g=d._root;return Gn(g,f?f._root:null,c,[g.value])}function Br(d,f,c){return(zt(f)??c).get(d)}function Gn(d,f,c,g,C={canDeactivateChecks:[],canActivateChecks:[]}){const A=Tr(f);return d.children.forEach(x=>{(function sn(d,f,c,g,C={canDeactivateChecks:[],canActivateChecks:[]}){const A=d.value,x=f?f.value:null,V=c?c.getContext(d.value.outlet):null;if(x&&A.routeConfig===x.routeConfig){const ce=function gi(d,f,c){if("function"==typeof c)return c(d,f);switch(c){case"pathParamsChange":return!ft(d.url,f.url);case"pathParamsOrQueryParamsChange":return!ft(d.url,f.url)||!Xt(d.queryParams,f.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!rr(d,f)||!Xt(d.queryParams,f.queryParams);default:return!rr(d,f)}}(x,A,A.routeConfig.runGuardsAndResolvers);ce?C.canActivateChecks.push(new Ht(g)):(A.data=x.data,A._resolvedData=x._resolvedData),Gn(d,f,A.component?V?V.children:null:c,g,C),ce&&V&&V.outlet&&V.outlet.isActivated&&C.canDeactivateChecks.push(new Zt(V.outlet.component,x))}else x&&pr(f,V,C),C.canActivateChecks.push(new Ht(g)),Gn(d,null,A.component?V?V.children:null:c,g,C)})(x,A[x.value.outlet],c,g.concat([x.value]),C),delete A[x.value.outlet]}),vt(A,(x,V)=>pr(x,c.getContext(V),C)),C}function pr(d,f,c){const g=Tr(d),C=d.value;vt(g,(A,x)=>{pr(A,C.component?f?f.children.getContext(x):null:f,c)}),c.canDeactivateChecks.push(new Zt(C.component&&f&&f.outlet&&f.outlet.isActivated?f.outlet.component:null,C))}function Ln(d){return"function"==typeof d}function v(d){return d instanceof ne||"EmptyError"===d?.name}const P=Symbol("INITIAL_VALUE");function he(){return(0,It.w)(d=>(0,_e.a)(d.map(f=>f.pipe((0,Se.q)(1),(0,Ge.O)(P)))).pipe((0,Xe.U)(f=>{for(const c of f)if(!0!==c){if(c===P)return P;if(!1===c||c instanceof lt)return c}return!0}),(0,W.h)(f=>f!==P),(0,Se.q)(1)))}function zo(d){return(0,Me.z)((0,Oe.b)(f=>{if(pt(f))throw Pn(0,f)}),(0,Xe.U)(f=>!0===f))}const uo={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function Ko(d,f,c,g,C){const A=Ao(d,f,c);return A.matched?function Wo(d,f,c,g){const C=f.canMatch;if(!C||0===C.length)return(0,ve.of)(!0);const A=C.map(x=>{const V=d.get(x),ce=function Ui(d){return d&&Ln(d.canMatch)}(V)?V.canMatch(f,c):V(f,c);return qt(ce)});return(0,ve.of)(A).pipe(he(),zo())}(g=jn(f,g),f,c).pipe((0,Xe.U)(x=>!0===x?A:{...uo})):(0,ve.of)(A)}function Ao(d,f,c){if(""===f.path)return"full"===f.pathMatch&&(d.hasChildren()||c.length>0)?{...uo}:{matched:!0,consumedSegments:[],remainingSegments:c,parameters:{},positionalParamSegments:{}};const C=(f.matcher||Yt)(c,d,f);if(!C)return{...uo};const A={};vt(C.posParams,(V,ce)=>{A[ce]=V.path});const x=C.consumed.length>0?{...A,...C.consumed[C.consumed.length-1].parameters}:A;return{matched:!0,consumedSegments:C.consumed,remainingSegments:c.slice(C.consumed.length),parameters:x,positionalParamSegments:C.posParams??{}}}function $i(d,f,c,g,C="corrected"){if(c.length>0&&function Xs(d,f,c){return c.some(g=>Hr(d,f,g)&&Rt(g)!==dt)}(d,c,g)){const x=new ot(f,function qo(d,f,c,g){const C={};C[dt]=g,g._sourceSegment=d,g._segmentIndexShift=f.length;for(const A of c)if(""===A.path&&Rt(A)!==dt){const x=new ot([],{});x._sourceSegment=d,x._segmentIndexShift=f.length,C[Rt(A)]=x}return C}(d,f,g,new ot(c,d.children)));return x._sourceSegment=d,x._segmentIndexShift=f.length,{segmentGroup:x,slicedSegments:[]}}if(0===c.length&&function sr(d,f,c){return c.some(g=>Hr(d,f,g))}(d,c,g)){const x=new ot(d.segments,function Yo(d,f,c,g,C,A){const x={};for(const V of g)if(Hr(d,c,V)&&!C[Rt(V)]){const ce=new ot([],{});ce._sourceSegment=d,ce._segmentIndexShift="legacy"===A?d.segments.length:f.length,x[Rt(V)]=ce}return{...C,...x}}(d,f,c,g,d.children,C));return x._sourceSegment=d,x._segmentIndexShift=f.length,{segmentGroup:x,slicedSegments:c}}const A=new ot(d.segments,d.children);return A._sourceSegment=d,A._segmentIndexShift=f.length,{segmentGroup:A,slicedSegments:c}}function Hr(d,f,c){return(!(d.hasChildren()||f.length>0)||"full"!==c.pathMatch)&&""===c.path}function cn(d,f,c,g){return!!(Rt(d)===g||g!==dt&&Hr(f,c,d))&&("**"===d.path||Ao(f,d,c).matched)}function Io(d,f,c){return 0===f.length&&!d.children[c]}const Oo=!1;class zn{constructor(f){this.segmentGroup=f||null}}class Po{constructor(f){this.urlTree=f}}function oi(d){return J(new zn(d))}function No(d){return J(new Po(d))}class Qo{constructor(f,c,g,C,A){this.injector=f,this.configLoader=c,this.urlSerializer=g,this.urlTree=C,this.config=A,this.allowRedirects=!0}apply(){const f=$i(this.urlTree.root,[],[],this.config).segmentGroup,c=new ot(f.segments,f.children);return this.expandSegmentGroup(this.injector,this.config,c,dt).pipe((0,Xe.U)(A=>this.createUrlTree(Ce(A),this.urlTree.queryParams,this.urlTree.fragment))).pipe(ge(A=>{if(A instanceof Po)return this.allowRedirects=!1,this.match(A.urlTree);throw A instanceof zn?this.noMatchError(A):A}))}match(f){return this.expandSegmentGroup(this.injector,this.config,f.root,dt).pipe((0,Xe.U)(C=>this.createUrlTree(Ce(C),f.queryParams,f.fragment))).pipe(ge(C=>{throw C instanceof zn?this.noMatchError(C):C}))}noMatchError(f){return new u.vHH(4002,Oo)}createUrlTree(f,c,g){const C=Z(f);return new lt(C,c,g)}expandSegmentGroup(f,c,g,C){return 0===g.segments.length&&g.hasChildren()?this.expandChildren(f,c,g).pipe((0,Xe.U)(A=>new ot([],A))):this.expandSegment(f,g,c,g.segments,C,!0)}expandChildren(f,c,g){const C=[];for(const A of Object.keys(g.children))"primary"===A?C.unshift(A):C.push(A);return(0,X.D)(C).pipe((0,Pe.b)(A=>{const x=g.children[A],V=Kt(c,A);return this.expandSegmentGroup(f,V,x,A).pipe((0,Xe.U)(ce=>({segment:ce,outlet:A})))}),He((A,x)=>(A[x.outlet]=x.segment,A),{}),gt())}expandSegment(f,c,g,C,A,x){return(0,X.D)(g).pipe((0,Pe.b)(V=>this.expandSegmentAgainstRoute(f,c,g,V,C,A,x).pipe(ge($e=>{if($e instanceof zn)return(0,ve.of)(null);throw $e}))),Q(V=>!!V),ge((V,ce)=>{if(v(V))return Io(c,C,A)?(0,ve.of)(new ot([],{})):oi(c);throw V}))}expandSegmentAgainstRoute(f,c,g,C,A,x,V){return cn(C,c,A,x)?void 0===C.redirectTo?this.matchSegmentAgainstRoute(f,c,C,A,x):V&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(f,c,g,C,A,x):oi(c):oi(c)}expandSegmentAgainstRouteUsingRedirect(f,c,g,C,A,x){return"**"===C.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(f,g,C,x):this.expandRegularSegmentAgainstRouteUsingRedirect(f,c,g,C,A,x)}expandWildCardWithParamsAgainstRouteUsingRedirect(f,c,g,C){const A=this.applyRedirectCommands([],g.redirectTo,{});return g.redirectTo.startsWith("/")?No(A):this.lineralizeSegments(g,A).pipe((0,Bt.z)(x=>{const V=new ot(x,{});return this.expandSegment(f,V,c,x,C,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(f,c,g,C,A,x){const{matched:V,consumedSegments:ce,remainingSegments:$e,positionalParamSegments:Ot}=Ao(c,C,A);if(!V)return oi(c);const nt=this.applyRedirectCommands(ce,C.redirectTo,Ot);return C.redirectTo.startsWith("/")?No(nt):this.lineralizeSegments(C,nt).pipe((0,Bt.z)(Qt=>this.expandSegment(f,c,g,Qt.concat($e),x,!1)))}matchSegmentAgainstRoute(f,c,g,C,A){return"**"===g.path?(f=jn(g,f),g.loadChildren?(g._loadedRoutes?(0,ve.of)({routes:g._loadedRoutes,injector:g._loadedInjector}):this.configLoader.loadChildren(f,g)).pipe((0,Xe.U)(V=>(g._loadedRoutes=V.routes,g._loadedInjector=V.injector,new ot(C,{})))):(0,ve.of)(new ot(C,{}))):Ko(c,g,C,f).pipe((0,It.w)(({matched:x,consumedSegments:V,remainingSegments:ce})=>x?this.getChildConfig(f=g._injector??f,g,C).pipe((0,Bt.z)(Ot=>{const nt=Ot.injector??f,Qt=Ot.routes,{segmentGroup:Ir,slicedSegments:Ii}=$i(c,V,ce,Qt),yo=new ot(Ir.segments,Ir.children);if(0===Ii.length&&yo.hasChildren())return this.expandChildren(nt,Qt,yo).pipe((0,Xe.U)(Qc=>new ot(V,Qc)));if(0===Qt.length&&0===Ii.length)return(0,ve.of)(new ot(V,{}));const li=Rt(g)===A;return this.expandSegment(nt,yo,Qt,Ii,li?dt:A,!0).pipe((0,Xe.U)(Zi=>new ot(V.concat(Zi.segments),Zi.children)))})):oi(c)))}getChildConfig(f,c,g){return c.children?(0,ve.of)({routes:c.children,injector:f}):c.loadChildren?void 0!==c._loadedRoutes?(0,ve.of)({routes:c._loadedRoutes,injector:c._loadedInjector}):function Js(d,f,c,g){const C=f.canLoad;if(void 0===C||0===C.length)return(0,ve.of)(!0);const A=C.map(x=>{const V=d.get(x),ce=function bi(d){return d&&Ln(d.canLoad)}(V)?V.canLoad(f,c):V(f,c);return qt(ce)});return(0,ve.of)(A).pipe(he(),zo())}(f,c,g).pipe((0,Bt.z)(C=>C?this.configLoader.loadChildren(f,c).pipe((0,Oe.b)(A=>{c._loadedRoutes=A.routes,c._loadedInjector=A.injector})):function xo(d){return J(Lr(Oo,3))}())):(0,ve.of)({routes:[],injector:f})}lineralizeSegments(f,c){let g=[],C=c.root;for(;;){if(g=g.concat(C.segments),0===C.numberOfChildren)return(0,ve.of)(g);if(C.numberOfChildren>1||!C.children[dt])return J(new u.vHH(4e3,Oo));C=C.children[dt]}}applyRedirectCommands(f,c,g){return this.applyRedirectCreateUrlTree(c,this.urlSerializer.parse(c),f,g)}applyRedirectCreateUrlTree(f,c,g,C){const A=this.createSegmentGroup(f,c.root,g,C);return new lt(A,this.createQueryParams(c.queryParams,this.urlTree.queryParams),c.fragment)}createQueryParams(f,c){const g={};return vt(f,(C,A)=>{if("string"==typeof C&&C.startsWith(":")){const V=C.substring(1);g[A]=c[V]}else g[A]=C}),g}createSegmentGroup(f,c,g,C){const A=this.createSegments(f,c.segments,g,C);let x={};return vt(c.children,(V,ce)=>{x[ce]=this.createSegmentGroup(f,V,g,C)}),new ot(A,x)}createSegments(f,c,g,C){return c.map(A=>A.path.startsWith(":")?this.findPosParam(f,A,C):this.findOrReturn(A,g))}findPosParam(f,c,g){const C=g[c.path.substring(1)];if(!C)throw new u.vHH(4001,Oo);return C}findOrReturn(f,c){let g=0;for(const C of c){if(C.path===f.path)return c.splice(g),C;g++}return f}}class yi{}class ps{constructor(f,c,g,C,A,x,V,ce){this.injector=f,this.rootComponentType=c,this.config=g,this.urlTree=C,this.url=A,this.paramsInheritanceStrategy=x,this.relativeLinkResolution=V,this.urlSerializer=ce}recognize(){const f=$i(this.urlTree.root,[],[],this.config.filter(c=>void 0===c.redirectTo),this.relativeLinkResolution).segmentGroup;return this.processSegmentGroup(this.injector,this.config,f,dt).pipe((0,Xe.U)(c=>{if(null===c)return null;const g=new nr([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},dt,this.rootComponentType,null,this.urlTree.root,-1,{}),C=new hr(g,c),A=new kr(this.url,C);return this.inheritParamsAndData(A._root),A}))}inheritParamsAndData(f){const c=f.value,g=yn(c,this.paramsInheritanceStrategy);c.params=Object.freeze(g.params),c.data=Object.freeze(g.data),f.children.forEach(C=>this.inheritParamsAndData(C))}processSegmentGroup(f,c,g,C){return 0===g.segments.length&&g.hasChildren()?this.processChildren(f,c,g):this.processSegment(f,c,g,g.segments,C)}processChildren(f,c,g){return(0,X.D)(Object.keys(g.children)).pipe((0,Pe.b)(C=>{const A=g.children[C],x=Kt(c,C);return this.processSegmentGroup(f,x,A,C)}),He((C,A)=>C&&A?(C.push(...A),C):null),(0,K.o)(C=>null!==C),qe(null),gt(),(0,Xe.U)(C=>{if(null===C)return null;const A=gs(C);return function Wn(d){d.sort((f,c)=>f.value.outlet===dt?-1:c.value.outlet===dt?1:f.value.outlet.localeCompare(c.value.outlet))}(A),A}))}processSegment(f,c,g,C,A){return(0,X.D)(c).pipe((0,Pe.b)(x=>this.processSegmentAgainstRoute(x._injector??f,x,g,C,A)),Q(x=>!!x),ge(x=>{if(v(x))return Io(g,C,A)?(0,ve.of)([]):(0,ve.of)(null);throw x}))}processSegmentAgainstRoute(f,c,g,C,A){if(c.redirectTo||!cn(c,g,C,A))return(0,ve.of)(null);let x;if("**"===c.path){const V=C.length>0?Wt(C).parameters:{},ce=Wi(g)+C.length,$e=new nr(C,V,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Zo(c),Rt(c),c.component??c._loadedComponent??null,c,na(g),ce,co(c),ce);x=(0,ve.of)({snapshot:$e,consumedSegments:[],remainingSegments:[]})}else x=Ko(g,c,C,f).pipe((0,Xe.U)(({matched:V,consumedSegments:ce,remainingSegments:$e,parameters:Ot})=>{if(!V)return null;const nt=Wi(g)+ce.length;return{snapshot:new nr(ce,Ot,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Zo(c),Rt(c),c.component??c._loadedComponent??null,c,na(g),nt,co(c),nt),consumedSegments:ce,remainingSegments:$e}}));return x.pipe((0,It.w)(V=>{if(null===V)return(0,ve.of)(null);const{snapshot:ce,consumedSegments:$e,remainingSegments:Ot}=V;f=c._injector??f;const nt=c._loadedInjector??f,Qt=function vi(d){return d.children?d.children:d.loadChildren?d._loadedRoutes:[]}(c),{segmentGroup:Ir,slicedSegments:Ii}=$i(g,$e,Ot,Qt.filter(li=>void 0===li.redirectTo),this.relativeLinkResolution);if(0===Ii.length&&Ir.hasChildren())return this.processChildren(nt,Qt,Ir).pipe((0,Xe.U)(li=>null===li?null:[new hr(ce,li)]));if(0===Qt.length&&0===Ii.length)return(0,ve.of)([new hr(ce,[])]);const yo=Rt(c)===A;return this.processSegment(nt,Qt,Ir,Ii,yo?dt:A).pipe((0,Xe.U)(li=>null===li?null:[new hr(ce,li)]))}))}}function ea(d){const f=d.value.routeConfig;return f&&""===f.path&&void 0===f.redirectTo}function gs(d){const f=[],c=new Set;for(const g of d){if(!ea(g)){f.push(g);continue}const C=f.find(A=>g.value.routeConfig===A.value.routeConfig);void 0!==C?(C.children.push(...g.children),c.add(C)):f.push(g)}for(const g of c){const C=gs(g.children);f.push(new hr(g.value,C))}return f.filter(g=>!c.has(g))}function na(d){let f=d;for(;f._sourceSegment;)f=f._sourceSegment;return f}function Wi(d){let f=d,c=f._segmentIndexShift??0;for(;f._sourceSegment;)f=f._sourceSegment,c+=f._segmentIndexShift??0;return c-1}function Zo(d){return d.data||{}}function co(d){return d.resolve||{}}const ko=Symbol("RouteTitle");function ms(d){return"string"==typeof d.title||null===d.title}function Si(d){return(0,It.w)(f=>{const c=d(f);return c?(0,X.D)(c).pipe((0,Xe.U)(()=>f)):(0,ve.of)(f)})}let Vo=(()=>{class d{buildTitle(c){let g,C=c.root;for(;void 0!==C;)g=this.getResolvedTitleForRoute(C)??g,C=C.children.find(A=>A.outlet===dt);return g}getResolvedTitleForRoute(c){return c.data[ko]}}return d.\u0275fac=function(c){return new(c||d)},d.\u0275prov=u.Yz7({token:d,factory:function(){return(0,u.f3M)(ys)},providedIn:"root"}),d})(),ys=(()=>{class d extends Vo{constructor(c){super(),this.title=c}updateTitle(c){const g=this.buildTitle(c);void 0!==g&&this.title.setTitle(g)}}return d.\u0275fac=function(c){return new(c||d)(u.LFG(Cn.Dx))},d.\u0275prov=u.Yz7({token:d,factory:d.\u0275fac,providedIn:"root"}),d})();class Ur{}class fo extends class ia{shouldDetach(f){return!1}store(f,c){}shouldAttach(f){return!1}retrieve(f){return null}shouldReuseRoute(f,c){return f.routeConfig===c.routeConfig}}{}const ho=new u.OlP("",{providedIn:"root",factory:()=>({})}),qi=new u.OlP("ROUTES");let Bo=(()=>{class d{constructor(c,g){this.injector=c,this.compiler=g,this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap}loadComponent(c){if(this.componentLoaders.get(c))return this.componentLoaders.get(c);if(c._loadedComponent)return(0,ve.of)(c._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(c);const g=qt(c.loadComponent()).pipe((0,Oe.b)(A=>{this.onLoadEndListener&&this.onLoadEndListener(c),c._loadedComponent=A}),(0,Be.x)(()=>{this.componentLoaders.delete(c)})),C=new de(g,()=>new Ct.x).pipe(fe());return this.componentLoaders.set(c,C),C}loadChildren(c,g){if(this.childrenLoaders.get(g))return this.childrenLoaders.get(g);if(g._loadedRoutes)return(0,ve.of)({routes:g._loadedRoutes,injector:g._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(g);const A=this.loadModuleFactoryOrRoutes(g.loadChildren).pipe((0,Xe.U)(V=>{this.onLoadEndListener&&this.onLoadEndListener(g);let ce,$e,Ot=!1;Array.isArray(V)?$e=V:(ce=V.create(c).injector,$e=it(ce.get(qi,[],u.XFs.Self|u.XFs.Optional)));return{routes:$e.map(et),injector:ce}}),(0,Be.x)(()=>{this.childrenLoaders.delete(g)})),x=new de(A,()=>new Ct.x).pipe(fe());return this.childrenLoaders.set(g,x),x}loadModuleFactoryOrRoutes(c){return qt(c()).pipe((0,Bt.z)(g=>g instanceof u.YKP||Array.isArray(g)?(0,ve.of)(g):(0,X.D)(this.compiler.compileModuleAsync(g))))}}return d.\u0275fac=function(c){return new(c||d)(u.LFG(u.zs3),u.LFG(u.Sil))},d.\u0275prov=u.Yz7({token:d,factory:d.\u0275fac,providedIn:"root"}),d})();class Ho{}class es{shouldProcessUrl(f){return!0}extract(f){return f}merge(f,c){return f}}function oa(d){throw d}function La(d,f,c){return f.parse("/")}const ts={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},mo={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};function vs(){const d=(0,u.f3M)(Gt),f=(0,u.f3M)(pi),c=(0,u.f3M)(De.Ye),g=(0,u.f3M)(u.zs3),C=(0,u.f3M)(u.Sil),A=(0,u.f3M)(qi,{optional:!0})??[],x=(0,u.f3M)(ho,{optional:!0})??{},V=(0,u.f3M)(ys),ce=(0,u.f3M)(Vo,{optional:!0}),$e=(0,u.f3M)(Ho,{optional:!0}),Ot=(0,u.f3M)(Ur,{optional:!0}),nt=new _(null,d,f,c,g,C,it(A));return $e&&(nt.urlHandlingStrategy=$e),Ot&&(nt.routeReuseStrategy=Ot),nt.titleStrategy=ce??V,function sa(d,f){d.errorHandler&&(f.errorHandler=d.errorHandler),d.malformedUriErrorHandler&&(f.malformedUriErrorHandler=d.malformedUriErrorHandler),d.onSameUrlNavigation&&(f.onSameUrlNavigation=d.onSameUrlNavigation),d.paramsInheritanceStrategy&&(f.paramsInheritanceStrategy=d.paramsInheritanceStrategy),d.relativeLinkResolution&&(f.relativeLinkResolution=d.relativeLinkResolution),d.urlUpdateStrategy&&(f.urlUpdateStrategy=d.urlUpdateStrategy),d.canceledNavigationResolution&&(f.canceledNavigationResolution=d.canceledNavigationResolution)}(x,nt),nt}let _=(()=>{class d{constructor(c,g,C,A,x,V,ce){this.rootComponentType=c,this.urlSerializer=g,this.rootContexts=C,this.location=A,this.config=ce,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.disposed=!1,this.navigationId=0,this.currentPageId=0,this.isNgZoneEnabled=!1,this.events=new Ct.x,this.errorHandler=oa,this.malformedUriErrorHandler=La,this.navigated=!1,this.lastSuccessfulId=-1,this.afterPreactivation=()=>(0,ve.of)(void 0),this.urlHandlingStrategy=new es,this.routeReuseStrategy=new fo,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="corrected",this.canceledNavigationResolution="replace",this.configLoader=x.get(Bo),this.configLoader.onLoadEndListener=Qt=>this.triggerEvent(new Fn(Qt)),this.configLoader.onLoadStartListener=Qt=>this.triggerEvent(new To(Qt)),this.ngModule=x.get(u.h0i),this.console=x.get(u.c2e);const nt=x.get(u.R0b);this.isNgZoneEnabled=nt instanceof u.R0b&&u.R0b.isInAngularZone(),this.resetConfig(ce),this.currentUrlTree=function gr(){return new lt(new ot([],{}),{},null)}(),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.routerState=Sr(this.currentUrlTree,this.rootComponentType),this.transitions=new Ee.X({id:0,targetPageId:0,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,extractedUrl:this.urlHandlingStrategy.extract(this.currentUrlTree),urlAfterRedirects:this.urlHandlingStrategy.extract(this.currentUrlTree),rawUrl:this.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:"imperative",restoredState:null,currentSnapshot:this.routerState.snapshot,targetSnapshot:null,currentRouterState:this.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.navigations=this.setupNavigations(this.transitions),this.processNavigations()}get browserPageId(){return this.location.getState()?.\u0275routerPageId}setupNavigations(c){const g=this.events;return c.pipe((0,W.h)(C=>0!==C.id),(0,Xe.U)(C=>({...C,extractedUrl:this.urlHandlingStrategy.extract(C.rawUrl)})),(0,It.w)(C=>{let A=!1,x=!1;return(0,ve.of)(C).pipe((0,Oe.b)(V=>{this.currentNavigation={id:V.id,initialUrl:V.rawUrl,extractedUrl:V.extractedUrl,trigger:V.source,extras:V.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null}}),(0,It.w)(V=>{const ce=this.browserUrlTree.toString(),$e=!this.navigated||V.extractedUrl.toString()!==ce||ce!==this.currentUrlTree.toString();if(("reload"===this.onSameUrlNavigation||$e)&&this.urlHandlingStrategy.shouldProcessUrl(V.rawUrl))return a(V.source)&&(this.browserUrlTree=V.extractedUrl),(0,ve.of)(V).pipe((0,It.w)(nt=>{const Qt=this.transitions.getValue();return g.next(new _r(nt.id,this.serializeUrl(nt.extractedUrl),nt.source,nt.restoredState)),Qt!==this.transitions.getValue()?at.E:Promise.resolve(nt)}),function fs(d,f,c,g){return(0,It.w)(C=>function Gi(d,f,c,g,C){return new Qo(d,f,c,g,C).apply()}(d,f,c,C.extractedUrl,g).pipe((0,Xe.U)(A=>({...C,urlAfterRedirects:A}))))}(this.ngModule.injector,this.configLoader,this.urlSerializer,this.config),(0,Oe.b)(nt=>{this.currentNavigation={...this.currentNavigation,finalUrl:nt.urlAfterRedirects},C.urlAfterRedirects=nt.urlAfterRedirects}),function Fo(d,f,c,g,C,A){return(0,Bt.z)(x=>function hs(d,f,c,g,C,A,x="emptyOnly",V="legacy"){return new ps(d,f,c,g,C,x,V,A).recognize().pipe((0,It.w)(ce=>null===ce?function zi(d){return new oe.y(f=>f.error(d))}(new yi):(0,ve.of)(ce)))}(d,f,c,x.urlAfterRedirects,g.serialize(x.urlAfterRedirects),g,C,A).pipe((0,Xe.U)(V=>({...x,targetSnapshot:V}))))}(this.ngModule.injector,this.rootComponentType,this.config,this.urlSerializer,this.paramsInheritanceStrategy,this.relativeLinkResolution),(0,Oe.b)(nt=>{if(C.targetSnapshot=nt.targetSnapshot,"eager"===this.urlUpdateStrategy){if(!nt.extras.skipLocationChange){const Ir=this.urlHandlingStrategy.merge(nt.urlAfterRedirects,nt.rawUrl);this.setBrowserUrl(Ir,nt)}this.browserUrlTree=nt.urlAfterRedirects}const Qt=new wo(nt.id,this.serializeUrl(nt.extractedUrl),this.serializeUrl(nt.urlAfterRedirects),nt.targetSnapshot);g.next(Qt)}));if($e&&this.rawUrlTree&&this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree)){const{id:Qt,extractedUrl:Ir,source:Ii,restoredState:yo,extras:li}=V,Cs=new _r(Qt,this.serializeUrl(Ir),Ii,yo);g.next(Cs);const Zi=Sr(Ir,this.rootComponentType).snapshot;return C={...V,targetSnapshot:Zi,urlAfterRedirects:Ir,extras:{...li,skipLocationChange:!1,replaceUrl:!1}},(0,ve.of)(C)}return this.rawUrlTree=V.rawUrl,V.resolve(null),at.E}),(0,Oe.b)(V=>{const ce=new Jr(V.id,this.serializeUrl(V.extractedUrl),this.serializeUrl(V.urlAfterRedirects),V.targetSnapshot);this.triggerEvent(ce)}),(0,Xe.U)(V=>C={...V,guards:Ie(V.targetSnapshot,V.currentSnapshot,this.rootContexts)}),function ut(d,f){return(0,Bt.z)(c=>{const{targetSnapshot:g,currentSnapshot:C,guards:{canActivateChecks:A,canDeactivateChecks:x}}=c;return 0===x.length&&0===A.length?(0,ve.of)({...c,guardsResult:!0}):function Jt(d,f,c,g){return(0,X.D)(d).pipe((0,Bt.z)(C=>function lo(d,f,c,g,C){const A=f&&f.routeConfig?f.routeConfig.canDeactivate:null;if(!A||0===A.length)return(0,ve.of)(!0);const x=A.map(V=>{const ce=Br(V,f,C);return qt(function Zs(d){return d&&Ln(d.canDeactivate)}(ce)?ce.canDeactivate(d,f,c,g):ce(d,f,c,g)).pipe(Q())});return(0,ve.of)(x).pipe(he())}(C.component,C.route,c,f,g)),Q(C=>!0!==C,!0))}(x,g,C,d).pipe((0,Bt.z)(V=>V&&function So(d){return"boolean"==typeof d}(V)?function or(d,f,c,g){return(0,X.D)(f).pipe((0,Pe.b)(C=>(0,We.z)(function ii(d,f){return null!==d&&f&&f(new fi(d)),(0,ve.of)(!0)}(C.route.parent,g),function Qr(d,f){return null!==d&&f&&f(new ki(d)),(0,ve.of)(!0)}(C.route,g),function ji(d,f,c){const g=f[f.length-1],A=f.slice(0,f.length-1).reverse().map(x=>function St(d){const f=d.routeConfig?d.routeConfig.canActivateChild:null;return f&&0!==f.length?{node:d,guards:f}:null}(x)).filter(x=>null!==x).map(x=>(0,be.P)(()=>{const V=x.guards.map(ce=>{const $e=Br(ce,x.node,c);return qt(function ao(d){return d&&Ln(d.canActivateChild)}($e)?$e.canActivateChild(g,d):$e(g,d)).pipe(Q())});return(0,ve.of)(V).pipe(he())}));return(0,ve.of)(A).pipe(he())}(d,C.path,c),function mi(d,f,c){const g=f.routeConfig?f.routeConfig.canActivate:null;if(!g||0===g.length)return(0,ve.of)(!0);const C=g.map(A=>(0,be.P)(()=>{const x=Br(A,f,c);return qt(function Go(d){return d&&Ln(d.canActivate)}(x)?x.canActivate(f,d):x(f,d)).pipe(Q())}));return(0,ve.of)(C).pipe(he())}(d,C.route,c))),Q(C=>!0!==C,!0))}(g,A,d,f):(0,ve.of)(V)),(0,Xe.U)(V=>({...c,guardsResult:V})))})}(this.ngModule.injector,V=>this.triggerEvent(V)),(0,Oe.b)(V=>{if(C.guardsResult=V.guardsResult,pt(V.guardsResult))throw Pn(0,V.guardsResult);const ce=new bo(V.id,this.serializeUrl(V.extractedUrl),this.serializeUrl(V.urlAfterRedirects),V.targetSnapshot,!!V.guardsResult);this.triggerEvent(ce)}),(0,W.h)(V=>!!V.guardsResult||(this.restoreHistory(V),this.cancelNavigationTransition(V,"",3),!1)),Si(V=>{if(V.guards.canActivateChecks.length)return(0,ve.of)(V).pipe((0,Oe.b)(ce=>{const $e=new oo(ce.id,this.serializeUrl(ce.extractedUrl),this.serializeUrl(ce.urlAfterRedirects),ce.targetSnapshot);this.triggerEvent($e)}),(0,It.w)(ce=>{let $e=!1;return(0,ve.of)(ce).pipe(function Ti(d,f){return(0,Bt.z)(c=>{const{targetSnapshot:g,guards:{canActivateChecks:C}}=c;if(!C.length)return(0,ve.of)(c);let A=0;return(0,X.D)(C).pipe((0,Pe.b)(x=>function ra(d,f,c,g){const C=d.routeConfig,A=d._resolve;return void 0!==C?.title&&!ms(C)&&(A[ko]=C.title),function Yi(d,f,c,g){const C=function Jo(d){return[...Object.keys(d),...Object.getOwnPropertySymbols(d)]}(d);if(0===C.length)return(0,ve.of)({});const A={};return(0,X.D)(C).pipe((0,Bt.z)(x=>function Lo(d,f,c,g){const C=Br(d,f,g);return qt(C.resolve?C.resolve(f,c):C(f,c))}(d[x],f,c,g).pipe(Q(),(0,Oe.b)(V=>{A[x]=V}))),Le(1),(0,me.h)(A),ge(x=>v(x)?at.E:J(x)))}(A,d,f,g).pipe((0,Xe.U)(x=>(d._resolvedData=x,d.data=yn(d,c).resolve,C&&ms(C)&&(d.data[ko]=C.title),null)))}(x.route,g,d,f)),(0,Oe.b)(()=>A++),Le(1),(0,Bt.z)(x=>A===C.length?(0,ve.of)(c):at.E))})}(this.paramsInheritanceStrategy,this.ngModule.injector),(0,Oe.b)({next:()=>$e=!0,complete:()=>{$e||(this.restoreHistory(ce),this.cancelNavigationTransition(ce,"",2))}}))}),(0,Oe.b)(ce=>{const $e=new Mo(ce.id,this.serializeUrl(ce.extractedUrl),this.serializeUrl(ce.urlAfterRedirects),ce.targetSnapshot);this.triggerEvent($e)}))}),Si(V=>{const ce=$e=>{const Ot=[];$e.routeConfig?.loadComponent&&!$e.routeConfig._loadedComponent&&Ot.push(this.configLoader.loadComponent($e.routeConfig).pipe((0,Oe.b)(nt=>{$e.component=nt}),(0,Xe.U)(()=>{})));for(const nt of $e.children)Ot.push(...ce(nt));return Ot};return(0,_e.a)(ce(V.targetSnapshot.root)).pipe(qe(),(0,Se.q)(1))}),Si(()=>this.afterPreactivation()),(0,Xe.U)(V=>{const ce=function Ei(d,f,c){const g=Ar(d,f._root,c?c._root:void 0);return new Kr(g,f)}(this.routeReuseStrategy,V.targetSnapshot,V.currentRouterState);return C={...V,targetRouterState:ce}}),(0,Oe.b)(V=>{this.currentUrlTree=V.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(V.urlAfterRedirects,V.rawUrl),this.routerState=V.targetRouterState,"deferred"===this.urlUpdateStrategy&&(V.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,V),this.browserUrlTree=V.urlAfterRedirects)}),((d,f,c)=>(0,Xe.U)(g=>(new un(f,g.targetRouterState,g.currentRouterState,c).activate(d),g)))(this.rootContexts,this.routeReuseStrategy,V=>this.triggerEvent(V)),(0,Oe.b)({next(){A=!0},complete(){A=!0}}),(0,Be.x)(()=>{A||x||this.cancelNavigationTransition(C,"",1),this.currentNavigation?.id===C.id&&(this.currentNavigation=null)}),ge(V=>{if(x=!0,wi(V)){ni(V)||(this.navigated=!0,this.restoreHistory(C,!0));const ce=new gn(C.id,this.serializeUrl(C.extractedUrl),V.message,V.cancellationCode);if(g.next(ce),ni(V)){const $e=this.urlHandlingStrategy.merge(V.url,this.rawUrlTree),Ot={skipLocationChange:C.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||a(C.source)};this.scheduleNavigation($e,"imperative",null,Ot,{resolve:C.resolve,reject:C.reject,promise:C.promise})}else C.resolve(!1)}else{this.restoreHistory(C,!0);const ce=new Fi(C.id,this.serializeUrl(C.extractedUrl),V,C.targetSnapshot??void 0);g.next(ce);try{C.resolve(this.errorHandler(V))}catch($e){C.reject($e)}}return at.E}))}))}resetRootComponentType(c){this.rootComponentType=c,this.routerState.root.component=this.rootComponentType}setTransition(c){this.transitions.next({...this.transitions.value,...c})}initialNavigation(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(c=>{const g="popstate"===c.type?"popstate":"hashchange";"popstate"===g&&setTimeout(()=>{const C={replaceUrl:!0},A=c.state?.navigationId?c.state:null;if(A){const V={...A};delete V.navigationId,delete V.\u0275routerPageId,0!==Object.keys(V).length&&(C.state=V)}const x=this.parseUrl(c.url);this.scheduleNavigation(x,g,A,C)},0)}))}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.currentNavigation}triggerEvent(c){this.events.next(c)}resetConfig(c){this.config=c.map(et),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.transitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0}createUrlTree(c,g={}){const{relativeTo:C,queryParams:A,fragment:x,queryParamsHandling:V,preserveFragment:ce}=g,$e=C||this.routerState.root,Ot=ce?this.currentUrlTree.fragment:x;let nt=null;switch(V){case"merge":nt={...this.currentUrlTree.queryParams,...A};break;case"preserve":nt=this.currentUrlTree.queryParams;break;default:nt=A||null}return null!==nt&&(nt=this.removeEmptyProps(nt)),dr($e,this.currentUrlTree,c,nt,Ot??null)}navigateByUrl(c,g={skipLocationChange:!1}){const C=pt(c)?c:this.parseUrl(c),A=this.urlHandlingStrategy.merge(C,this.rawUrlTree);return this.scheduleNavigation(A,"imperative",null,g)}navigate(c,g={skipLocationChange:!1}){return function s(d){for(let f=0;f<d.length;f++){if(null==d[f])throw new u.vHH(4008,false)}}(c),this.navigateByUrl(this.createUrlTree(c,g),g)}serializeUrl(c){return this.urlSerializer.serialize(c)}parseUrl(c){let g;try{g=this.urlSerializer.parse(c)}catch(C){g=this.malformedUriErrorHandler(C,this.urlSerializer,c)}return g}isActive(c,g){let C;if(C=!0===g?{...ts}:!1===g?{...mo}:g,pt(c))return U(this.currentUrlTree,c,C);const A=this.parseUrl(c);return U(this.currentUrlTree,A,C)}removeEmptyProps(c){return Object.keys(c).reduce((g,C)=>{const A=c[C];return null!=A&&(g[C]=A),g},{})}processNavigations(){this.navigations.subscribe(c=>{this.navigated=!0,this.lastSuccessfulId=c.id,this.currentPageId=c.targetPageId,this.events.next(new In(c.id,this.serializeUrl(c.extractedUrl),this.serializeUrl(this.currentUrlTree))),this.lastSuccessfulNavigation=this.currentNavigation,this.titleStrategy?.updateTitle(this.routerState.snapshot),c.resolve(!0)},c=>{this.console.warn(`Unhandled Navigation Error: ${c}`)})}scheduleNavigation(c,g,C,A,x){if(this.disposed)return Promise.resolve(!1);let V,ce,$e;x?(V=x.resolve,ce=x.reject,$e=x.promise):$e=new Promise((Qt,Ir)=>{V=Qt,ce=Ir});const Ot=++this.navigationId;let nt;return"computed"===this.canceledNavigationResolution?(0===this.currentPageId&&(C=this.location.getState()),nt=C&&C.\u0275routerPageId?C.\u0275routerPageId:A.replaceUrl||A.skipLocationChange?this.browserPageId??0:(this.browserPageId??0)+1):nt=0,this.setTransition({id:Ot,targetPageId:nt,source:g,restoredState:C,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:c,extras:A,resolve:V,reject:ce,promise:$e,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),$e.catch(Qt=>Promise.reject(Qt))}setBrowserUrl(c,g){const C=this.urlSerializer.serialize(c),A={...g.extras.state,...this.generateNgRouterState(g.id,g.targetPageId)};this.location.isCurrentPathEqualTo(C)||g.extras.replaceUrl?this.location.replaceState(C,"",A):this.location.go(C,"",A)}restoreHistory(c,g=!1){if("computed"===this.canceledNavigationResolution){const C=this.currentPageId-c.targetPageId;"popstate"!==c.source&&"eager"!==this.urlUpdateStrategy&&this.currentUrlTree!==this.currentNavigation?.finalUrl||0===C?this.currentUrlTree===this.currentNavigation?.finalUrl&&0===C&&(this.resetState(c),this.browserUrlTree=c.currentUrlTree,this.resetUrlToCurrentUrlTree()):this.location.historyGo(C)}else"replace"===this.canceledNavigationResolution&&(g&&this.resetState(c),this.resetUrlToCurrentUrlTree())}resetState(c){this.routerState=c.currentRouterState,this.currentUrlTree=c.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,c.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}cancelNavigationTransition(c,g,C){const A=new gn(c.id,this.serializeUrl(c.extractedUrl),g,C);this.triggerEvent(A),c.resolve(!1)}generateNgRouterState(c,g){return"computed"===this.canceledNavigationResolution?{navigationId:c,\u0275routerPageId:g}:{navigationId:c}}}return d.\u0275fac=function(c){u.$Z()},d.\u0275prov=u.Yz7({token:d,factory:function(){return vs()},providedIn:"root"}),d})();function a(d){return"imperative"!==d}let p=(()=>{class d{constructor(c,g,C,A,x){this.router=c,this.route=g,this.tabIndexAttribute=C,this.renderer=A,this.el=x,this.commands=null,this.onChanges=new Ct.x,this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(c){if(null!=this.tabIndexAttribute)return;const g=this.renderer,C=this.el.nativeElement;null!==c?g.setAttribute(C,"tabindex",c):g.removeAttribute(C,"tabindex")}ngOnChanges(c){this.onChanges.next(this)}set routerLink(c){null!=c?(this.commands=Array.isArray(c)?c:[c],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(){if(null===this.urlTree)return!0;const c={skipLocationChange:(0,u.D6c)(this.skipLocationChange),replaceUrl:(0,u.D6c)(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,c),!0}get urlTree(){return null===this.commands?null:this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:(0,u.D6c)(this.preserveFragment)})}}return d.\u0275fac=function(c){return new(c||d)(u.Y36(_),u.Y36(Dr),u.$8M("tabindex"),u.Y36(u.Qsj),u.Y36(u.SBq))},d.\u0275dir=u.lG2({type:d,selectors:[["","routerLink","",5,"a",5,"area"]],hostBindings:function(c,g){1&c&&u.NdJ("click",function(){return g.onClick()})},inputs:{queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state",relativeTo:"relativeTo",routerLink:"routerLink"},features:[u.TTD]}),d})(),T=(()=>{class d{constructor(c,g,C){this.router=c,this.route=g,this.locationStrategy=C,this.commands=null,this.href=null,this.onChanges=new Ct.x,this.subscription=c.events.subscribe(A=>{A instanceof In&&this.updateTargetUrlAndHref()})}set routerLink(c){this.commands=null!=c?Array.isArray(c)?c:[c]:null}ngOnChanges(c){this.updateTargetUrlAndHref(),this.onChanges.next(this)}ngOnDestroy(){this.subscription.unsubscribe()}onClick(c,g,C,A,x){if(0!==c||g||C||A||x||"string"==typeof this.target&&"_self"!=this.target||null===this.urlTree)return!0;const V={skipLocationChange:(0,u.D6c)(this.skipLocationChange),replaceUrl:(0,u.D6c)(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,V),!1}updateTargetUrlAndHref(){this.href=null!==this.urlTree?this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(this.urlTree)):null}get urlTree(){return null===this.commands?null:this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:(0,u.D6c)(this.preserveFragment)})}}return d.\u0275fac=function(c){return new(c||d)(u.Y36(_),u.Y36(Dr),u.Y36(De.S$))},d.\u0275dir=u.lG2({type:d,selectors:[["a","routerLink",""],["area","routerLink",""]],hostVars:2,hostBindings:function(c,g){1&c&&u.NdJ("click",function(A){return g.onClick(A.button,A.ctrlKey,A.shiftKey,A.altKey,A.metaKey)}),2&c&&u.uIk("target",g.target)("href",g.href,u.LSH)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state",relativeTo:"relativeTo",routerLink:"routerLink"},features:[u.TTD]}),d})(),R=(()=>{class d{constructor(c,g,C,A,x,V){this.router=c,this.element=g,this.renderer=C,this.cdr=A,this.link=x,this.linkWithHref=V,this.classes=[],this.isActive=!1,this.routerLinkActiveOptions={exact:!1},this.isActiveChange=new u.vpe,this.routerEventsSubscription=c.events.subscribe(ce=>{ce instanceof In&&this.update()})}ngAfterContentInit(){(0,ve.of)(this.links.changes,this.linksWithHrefs.changes,(0,ve.of)(null)).pipe((0,Et.J)()).subscribe(c=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();const c=[...this.links.toArray(),...this.linksWithHrefs.toArray(),this.link,this.linkWithHref].filter(g=>!!g).map(g=>g.onChanges);this.linkInputChangesSubscription=(0,X.D)(c).pipe((0,Et.J)()).subscribe(g=>{this.isActive!==this.isLinkActive(this.router)(g)&&this.update()})}set routerLinkActive(c){const g=Array.isArray(c)?c:c.split(" ");this.classes=g.filter(C=>!!C)}ngOnChanges(c){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.linksWithHrefs||!this.router.navigated||Promise.resolve().then(()=>{const c=this.hasActiveLinks();this.isActive!==c&&(this.isActive=c,this.cdr.markForCheck(),this.classes.forEach(g=>{c?this.renderer.addClass(this.element.nativeElement,g):this.renderer.removeClass(this.element.nativeElement,g)}),c&&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(c))})}isLinkActive(c){const g=function B(d){return!!d.paths}(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return C=>!!C.urlTree&&c.isActive(C.urlTree,g)}hasActiveLinks(){const c=this.isLinkActive(this.router);return this.link&&c(this.link)||this.linkWithHref&&c(this.linkWithHref)||this.links.some(c)||this.linksWithHrefs.some(c)}}return d.\u0275fac=function(c){return new(c||d)(u.Y36(_),u.Y36(u.SBq),u.Y36(u.Qsj),u.Y36(u.sBO),u.Y36(p,8),u.Y36(T,8))},d.\u0275dir=u.lG2({type:d,selectors:[["","routerLinkActive",""]],contentQueries:function(c,g,C){if(1&c&&(u.Suo(C,p,5),u.Suo(C,T,5)),2&c){let A;u.iGM(A=u.CRH())&&(g.links=A),u.iGM(A=u.CRH())&&(g.linksWithHrefs=A)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],features:[u.TTD]}),d})();class H{}let ze=(()=>{class d{constructor(c,g,C,A,x){this.router=c,this.injector=C,this.preloadingStrategy=A,this.loader=x}setUpPreloading(){this.subscription=this.router.events.pipe((0,W.h)(c=>c instanceof In),(0,Pe.b)(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(c,g){const C=[];for(const A of g){A.providers&&!A._injector&&(A._injector=(0,u.MMx)(A.providers,c,`Route: ${A.path}`));const x=A._injector??c,V=A._loadedInjector??x;A.loadChildren&&!A._loadedRoutes&&void 0===A.canLoad||A.loadComponent&&!A._loadedComponent?C.push(this.preloadConfig(x,A)):(A.children||A._loadedRoutes)&&C.push(this.processRoutes(V,A.children??A._loadedRoutes))}return(0,X.D)(C).pipe((0,Et.J)())}preloadConfig(c,g){return this.preloadingStrategy.preload(g,()=>{let C;C=g.loadChildren&&void 0===g.canLoad?this.loader.loadChildren(c,g):(0,ve.of)(null);const A=C.pipe((0,Bt.z)(x=>null===x?(0,ve.of)(void 0):(g._loadedRoutes=x.routes,g._loadedInjector=x.injector,this.processRoutes(x.injector??c,x.routes))));if(g.loadComponent&&!g._loadedComponent){const x=this.loader.loadComponent(g);return(0,X.D)([A,x]).pipe((0,Et.J)())}return A})}}return d.\u0275fac=function(c){return new(c||d)(u.LFG(_),u.LFG(u.Sil),u.LFG(u.lqb),u.LFG(H),u.LFG(Bo))},d.\u0275prov=u.Yz7({token:d,factory:d.\u0275fac}),d})();const Je=new u.OlP("");let xt=(()=>{class d{constructor(c,g,C={}){this.router=c,this.viewportScroller=g,this.options=C,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},C.scrollPositionRestoration=C.scrollPositionRestoration||"disabled",C.anchorScrolling=C.anchorScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.router.events.subscribe(c=>{c instanceof _r?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=c.navigationTrigger,this.restoredId=c.restoredState?c.restoredState.navigationId:0):c instanceof In&&(this.lastId=c.id,this.scheduleScrollEvent(c,this.router.parseUrl(c.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.router.events.subscribe(c=>{c instanceof fr&&(c.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(c.position):c.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(c.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(c,g){this.router.triggerEvent(new fr(c,"popstate"===this.lastSource?this.store[this.restoredId]:null,g))}ngOnDestroy(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}return d.\u0275fac=function(c){u.$Z()},d.\u0275prov=u.Yz7({token:d,factory:d.\u0275fac}),d})();const At=new u.OlP("ROUTER_FORROOT_GUARD"),ht=new u.OlP(""),nn=[De.Ye,{provide:Gt,useClass:Mn},{provide:_,useFactory:vs},pi,{provide:Dr,useFactory:function Vn(d){return d.routerState.root},deps:[_]},Bo];function Kn(){return new u.PXZ("Router",_)}let Yn=(()=>{class d{constructor(c){}static forRoot(c,g){return{ngModule:d,providers:[nn,[],ai(c),{provide:At,useFactory:wr,deps:[[_,new u.FiY,new u.tp0]]},{provide:ho,useValue:g||{}},g?.useHash?{provide:De.S$,useClass:De.Do}:{provide:De.S$,useClass:De.b0},{provide:Je,useFactory:()=>{const d=(0,u.f3M)(_),f=(0,u.f3M)(De.EM),c=(0,u.f3M)(ho);return c.scrollOffset&&f.setOffset(c.scrollOffset),new xt(d,f,c)}},g?.preloadingStrategy?Lt(g.preloadingStrategy):[],{provide:u.PXZ,multi:!0,useFactory:Kn},g?.initialNavigation?Ai(g):[],[{provide:vn,useFactory:_i},{provide:u.tb,multi:!0,useExisting:vn}]]}}static forChild(c){return{ngModule:d,providers:[ai(c)]}}}return d.\u0275fac=function(c){return new(c||d)(u.LFG(At,8))},d.\u0275mod=u.oAB({type:d}),d.\u0275inj=u.cJS({}),d})();function wr(d){return"guarded"}function ai(d){return[{provide:qi,multi:!0,useValue:d}]}function _i(){const d=(0,u.f3M)(u.zs3);return f=>{const c=d.get(u.z2F);if(f!==c.components[0])return;const g=d.get(_),C=d.get(_s);1===d.get(Ke)&&g.initialNavigation(),d.get(ht,null,u.XFs.Optional)?.setUpPreloading(),d.get(Je,null,u.XFs.Optional)?.init(),g.resetRootComponentType(c.componentTypes[0]),C.next(),C.complete()}}const vn=new u.OlP("");function Ai(d){return["disabled"===d.initialNavigation?[{provide:u.ip1,multi:!0,useFactory:()=>{const d=(0,u.f3M)(_);return()=>{d.setUpLocationChangeListener()}}},{provide:Ke,useValue:2}]:[],"enabledBlocking"===d.initialNavigation?[{provide:Ke,useValue:0},{provide:u.ip1,multi:!0,deps:[u.zs3],useFactory:d=>{const f=d.get(De.V_,Promise.resolve(null));let c=!1;return()=>f.then(()=>new Promise(C=>{const A=d.get(_),x=d.get(_s);(function g(C){d.get(_).events.pipe((0,W.h)(x=>x instanceof In||x instanceof gn||x instanceof Fi),(0,Xe.U)(x=>x instanceof In||x instanceof gn&&(0===x.code||1===x.code)&&null),(0,W.h)(x=>null!==x),(0,Se.q)(1)).subscribe(()=>{C()})})(()=>{C(!0),c=!0}),A.afterPreactivation=()=>(C(!0),c||x.closed?(0,ve.of)(void 0):x),A.initialNavigation()}))}}]:[]]}const _s=new u.OlP("",{factory:()=>new Ct.x}),Ke=new u.OlP("",{providedIn:"root",factory:()=>1});function Lt(d){return[ze,{provide:ht,useExisting:ze},{provide:H,useExisting:d}]}},7185:(Qe,pe,S)=>{S.d(pe,{Rh:()=>gt,_W:()=>ae});var u=S(4650),y=S(7340),ne=S(7579),oe=S(6895),z=S(1481);const J=["toast-component",""];function Y(Pe,Oe){if(1&Pe){const K=u.EpF();u.TgZ(0,"button",5),u.NdJ("click",function(){u.CHM(K);const Be=u.oxw();return u.KtG(Be.remove())}),u.TgZ(1,"span",6),u._uU(2,"\xd7"),u.qZA()()}}function ie(Pe,Oe){if(1&Pe&&(u.ynx(0),u._uU(1),u.BQk()),2&Pe){const K=u.oxw(2);u.xp6(1),u.hij("[",K.duplicatesCount+1,"]")}}function le(Pe,Oe){if(1&Pe&&(u.TgZ(0,"div"),u._uU(1),u.YNc(2,ie,2,1,"ng-container",4),u.qZA()),2&Pe){const K=u.oxw();u.Tol(K.options.titleClass),u.uIk("aria-label",K.title),u.xp6(1),u.hij(" ",K.title," "),u.xp6(1),u.Q6J("ngIf",K.duplicatesCount)}}function fe(Pe,Oe){if(1&Pe&&u._UZ(0,"div",7),2&Pe){const K=u.oxw();u.Tol(K.options.messageClass),u.Q6J("innerHTML",K.message,u.oJD)}}function de(Pe,Oe){if(1&Pe&&(u.TgZ(0,"div",8),u._uU(1),u.qZA()),2&Pe){const K=u.oxw();u.Tol(K.options.messageClass),u.uIk("aria-label",K.message),u.xp6(1),u.hij(" ",K.message," ")}}function X(Pe,Oe){if(1&Pe&&(u.TgZ(0,"div"),u._UZ(1,"div",9),u.qZA()),2&Pe){const K=u.oxw();u.xp6(1),u.Udp("width",K.width+"%")}}class De{constructor(Oe,K){this.component=Oe,this.injector=K}attach(Oe,K){return this._attachedHost=Oe,Oe.attach(this,K)}detach(){const Oe=this._attachedHost;if(Oe)return this._attachedHost=void 0,Oe.detach()}get isAttached(){return null!=this._attachedHost}setAttachedHost(Oe){this._attachedHost=Oe}}class Se{constructor(Oe){this._overlayRef=Oe,this.duplicatesCount=0,this._afterClosed=new ne.x,this._activate=new ne.x,this._manualClose=new ne.x,this._resetTimeout=new ne.x,this._countDuplicate=new ne.x}manualClose(){this._manualClose.next(),this._manualClose.complete()}manualClosed(){return this._manualClose.asObservable()}timeoutReset(){return this._resetTimeout.asObservable()}countDuplicate(){return this._countDuplicate.asObservable()}close(){this._overlayRef.detach(),this._afterClosed.next(),this._manualClose.next(),this._afterClosed.complete(),this._manualClose.complete(),this._activate.complete(),this._resetTimeout.complete(),this._countDuplicate.complete()}afterClosed(){return this._afterClosed.asObservable()}isInactive(){return this._activate.isStopped}activate(){this._activate.next(),this._activate.complete()}afterActivate(){return this._activate.asObservable()}onDuplicate(Oe,K){Oe&&this._resetTimeout.next(),K&&this._countDuplicate.next(++this.duplicatesCount)}}class qe{constructor(Oe,K,me,Be,Et,Cn){this.toastId=Oe,this.config=K,this.message=me,this.title=Be,this.toastType=Et,this.toastRef=Cn,this._onTap=new ne.x,this._onAction=new ne.x,this.toastRef.afterClosed().subscribe(()=>{this._onAction.complete(),this._onTap.complete()})}triggerTap(){this._onTap.next(),this.config.tapToDismiss&&this._onTap.complete()}onTap(){return this._onTap.asObservable()}triggerAction(Oe){this._onAction.next(Oe)}onAction(){return this._onAction.asObservable()}}const Re=new u.OlP("ToastConfig");class ke extends class W{attach(Oe,K){return this._attachedPortal=Oe,this.attachComponentPortal(Oe,K)}detach(){this._attachedPortal&&this._attachedPortal.setAttachedHost(),this._attachedPortal=void 0,this._disposeFn&&(this._disposeFn(),this._disposeFn=void 0)}setDisposeFn(Oe){this._disposeFn=Oe}}{constructor(Oe,K,me){super(),this._hostDomElement=Oe,this._componentFactoryResolver=K,this._appRef=me}attachComponentPortal(Oe,K){const me=this._componentFactoryResolver.resolveComponentFactory(Oe.component);let Be;return Be=me.create(Oe.injector),this._appRef.attachView(Be.hostView),this.setDisposeFn(()=>{this._appRef.detachView(Be.hostView),Be.destroy()}),K?this._hostDomElement.insertBefore(this._getComponentRootNode(Be),this._hostDomElement.firstChild):this._hostDomElement.appendChild(this._getComponentRootNode(Be)),Be}_getComponentRootNode(Oe){return Oe.hostView.rootNodes[0]}}class Q{constructor(Oe){this._portalHost=Oe}attach(Oe,K=!0){return this._portalHost.attach(Oe,K)}detach(){return this._portalHost.detach()}}let ee=(()=>{class Pe{constructor(K){this._document=K}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 Pe.\u0275fac=function(K){return new(K||Pe)(u.LFG(oe.K0))},Pe.\u0275prov=u.Yz7({token:Pe,factory:Pe.\u0275fac,providedIn:"root"}),Pe})(),ge=(()=>{class Pe{constructor(K,me,Be,Et){this._overlayContainer=K,this._componentFactoryResolver=me,this._appRef=Be,this._document=Et,this._paneElements=new Map}create(K,me){return this._createOverlayRef(this.getPaneElement(K,me))}getPaneElement(K="",me){return this._paneElements.get(me)||this._paneElements.set(me,{}),this._paneElements.get(me)[K]||(this._paneElements.get(me)[K]=this._createPaneElement(K,me)),this._paneElements.get(me)[K]}_createPaneElement(K,me){const Be=this._document.createElement("div");return Be.id="toast-container",Be.classList.add(K),Be.classList.add("toast-container"),me?me.getContainerElement().appendChild(Be):this._overlayContainer.getContainerElement().appendChild(Be),Be}_createPortalHost(K){return new ke(K,this._componentFactoryResolver,this._appRef)}_createOverlayRef(K){return new Q(this._createPortalHost(K))}}return Pe.\u0275fac=function(K){return new(K||Pe)(u.LFG(ee),u.LFG(u._Vd),u.LFG(u.z2F),u.LFG(oe.K0))},Pe.\u0275prov=u.Yz7({token:Pe,factory:Pe.\u0275fac,providedIn:"root"}),Pe})(),ae=(()=>{class Pe{constructor(K,me,Be,Et,Cn){this.overlay=me,this._injector=Be,this.sanitizer=Et,this.ngZone=Cn,this.currentlyActive=0,this.toasts=[],this.index=0,this.toastrConfig={...K.default,...K.config},K.config.iconClasses&&(this.toastrConfig.iconClasses={...K.default.iconClasses,...K.config.iconClasses})}show(K,me,Be={},Et=""){return this._preBuildNotification(Et,K,me,this.applyConfig(Be))}success(K,me,Be={}){return this._preBuildNotification(this.toastrConfig.iconClasses.success||"",K,me,this.applyConfig(Be))}error(K,me,Be={}){return this._preBuildNotification(this.toastrConfig.iconClasses.error||"",K,me,this.applyConfig(Be))}info(K,me,Be={}){return this._preBuildNotification(this.toastrConfig.iconClasses.info||"",K,me,this.applyConfig(Be))}warning(K,me,Be={}){return this._preBuildNotification(this.toastrConfig.iconClasses.warning||"",K,me,this.applyConfig(Be))}clear(K){for(const me of this.toasts)if(void 0!==K){if(me.toastId===K)return void me.toastRef.manualClose()}else me.toastRef.manualClose()}remove(K){const me=this._findToast(K);if(!me||(me.activeToast.toastRef.close(),this.toasts.splice(me.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 Be=this.toasts[this.currentlyActive].toastRef;Be.isInactive()||(this.currentlyActive=this.currentlyActive+1,Be.activate())}return!0}findDuplicate(K="",me="",Be,Et){const{includeTitleDuplicates:Cn}=this.toastrConfig;for(const dt of this.toasts){const ur=Cn&&dt.title===K;if((!Cn||ur)&&dt.message===me)return dt.toastRef.onDuplicate(Be,Et),dt}return null}applyConfig(K={}){return{...this.toastrConfig,...K}}_findToast(K){for(let me=0;me<this.toasts.length;me++)if(this.toasts[me].toastId===K)return{index:me,activeToast:this.toasts[me]};return null}_preBuildNotification(K,me,Be,Et){return Et.onActivateTick?this.ngZone.run(()=>this._buildNotification(K,me,Be,Et)):this._buildNotification(K,me,Be,Et)}_buildNotification(K,me,Be,Et){if(!Et.toastComponent)throw new Error("toastComponent required");const Cn=this.findDuplicate(Be,me,this.toastrConfig.resetTimeoutOnDuplicate&&Et.timeOut>0,this.toastrConfig.countDuplicates);if((this.toastrConfig.includeTitleDuplicates&&Be||me)&&this.toastrConfig.preventDuplicates&&null!==Cn)return Cn;this.previousToastMessage=me;let dt=!1;this.toastrConfig.maxOpened&&this.currentlyActive>=this.toastrConfig.maxOpened&&(dt=!0,this.toastrConfig.autoDismiss&&this.clear(this.toasts[0].toastId));const ur=this.overlay.create(Et.positionClass,this.overlayContainer);this.index=this.index+1;let bn=me;me&&Et.enableHtml&&(bn=this.sanitizer.sanitize(u.q3G.HTML,me));const Yt=new Se(ur),En=new qe(this.index,Et,bn,Be,K,Yt),Rn=u.zs3.create({providers:[{provide:qe,useValue:En}],parent:this._injector}),it=new De(Et.toastComponent,Rn),Wt=ur.attach(it,Et.newestOnTop);Yt.componentInstance=Wt.instance;const Hn={toastId:this.index,title:Be||"",message:me||"",toastRef:Yt,onShown:Yt.afterActivate(),onHidden:Yt.afterClosed(),onTap:En.onTap(),onAction:En.onAction(),portal:Wt};return dt||(this.currentlyActive=this.currentlyActive+1,setTimeout(()=>{Hn.toastRef.activate()})),this.toasts.push(Hn),Hn}}return Pe.\u0275fac=function(K){return new(K||Pe)(u.LFG(Re),u.LFG(ge),u.LFG(u.zs3),u.LFG(z.H7),u.LFG(u.R0b))},Pe.\u0275prov=u.Yz7({token:Pe,factory:Pe.\u0275fac,providedIn:"root"}),Pe})();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",payload:null,toastComponent:(()=>{class Pe{constructor(K,me,Be){this.toastrService=K,this.toastPackage=me,this.ngZone=Be,this.width=-1,this.toastClasses="",this.state={value:"inactive",params:{easeTime:this.toastPackage.config.easeTime,easing:"ease-in"}},this.message=me.message,this.title=me.title,this.options=me.config,this.originalTimeout=me.config.timeOut,this.toastClasses=`${me.toastType} ${me.config.toastClass}`,this.sub=me.toastRef.afterActivate().subscribe(()=>{this.activateToast()}),this.sub1=me.toastRef.manualClosed().subscribe(()=>{this.remove()}),this.sub2=me.toastRef.timeoutReset().subscribe(()=>{this.resetTimeout()}),this.sub3=me.toastRef.countDuplicate().subscribe(Et=>{this.duplicatesCount=Et})}get displayStyle(){if("inactive"===this.state.value)return"none"}ngOnDestroy(){this.sub.unsubscribe(),this.sub1.unsubscribe(),this.sub2.unsubscribe(),this.sub3.unsubscribe(),clearInterval(this.intervalId),clearTimeout(this.timeout)}activateToast(){this.state={...this.state,value:"active"},!0!==this.options.disableTimeOut&&"timeOut"!==this.options.disableTimeOut&&this.options.timeOut&&(this.outsideTimeout(()=>this.remove(),this.options.timeOut),this.hideTime=(new Date).getTime()+this.options.timeOut,this.options.progressBar&&this.outsideInterval(()=>this.updateProgress(),10))}updateProgress(){if(0===this.width||100===this.width||!this.options.timeOut)return;const 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,me){this.ngZone?this.ngZone.runOutsideAngular(()=>this.timeout=setTimeout(()=>this.runInsideAngular(K),me)):this.timeout=setTimeout(()=>K(),me)}outsideInterval(K,me){this.ngZone?this.ngZone.runOutsideAngular(()=>this.intervalId=setInterval(()=>this.runInsideAngular(K),me)):this.intervalId=setInterval(()=>K(),me)}runInsideAngular(K){this.ngZone?this.ngZone.run(()=>K()):K()}}return Pe.\u0275fac=function(K){return new(K||Pe)(u.Y36(ae),u.Y36(qe),u.Y36(u.R0b))},Pe.\u0275cmp=u.Xpm({type:Pe,selectors:[["","toast-component",""]],hostVars:5,hostBindings:function(K,me){1&K&&u.NdJ("click",function(){return me.tapToast()})("mouseenter",function(){return me.stickAround()})("mouseleave",function(){return me.delayedHideToast()}),2&K&&(u.d8E("@flyInOut",me.state),u.Tol(me.toastClasses),u.Udp("display",me.displayStyle))},attrs:J,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,me){1&K&&(u.YNc(0,Y,3,0,"button",0),u.YNc(1,le,3,5,"div",1),u.YNc(2,fe,1,3,"div",2),u.YNc(3,de,2,4,"div",3),u.YNc(4,X,2,2,"div",4)),2&K&&(u.Q6J("ngIf",me.options.closeButton),u.xp6(1),u.Q6J("ngIf",me.title),u.xp6(1),u.Q6J("ngIf",me.message&&me.options.enableHtml),u.xp6(1),u.Q6J("ngIf",me.message&&!me.options.enableHtml),u.xp6(1),u.Q6J("ngIf",me.options.progressBar))},dependencies:[oe.O5],encapsulation:2,data:{animation:[(0,y.X$)("flyInOut",[(0,y.SB)("inactive",(0,y.oB)({opacity:0})),(0,y.SB)("active",(0,y.oB)({opacity:1})),(0,y.SB)("removed",(0,y.oB)({opacity:0})),(0,y.eR)("inactive => active",(0,y.jt)("{{ easeTime }}ms {{ easing }}")),(0,y.eR)("active => removed",(0,y.jt)("{{ easeTime }}ms {{ easing }}"))])]}}),Pe})()};let gt=(()=>{class Pe{static forRoot(K={}){return{ngModule:Pe,providers:[{provide:Re,useValue:{default:Le,config:K}}]}}}return Pe.\u0275fac=function(K){return new(K||Pe)},Pe.\u0275mod=u.oAB({type:Pe}),Pe.\u0275inj=u.cJS({imports:[oe.ez]}),Pe})()}},Qe=>{Qe(Qe.s=8308)}]);
|