dealposbarcode 1.3.8 → 1.3.9
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/barcode/3rdpartylicenses.txt +425 -0
- package/barcode/660.b1c2f3358551568d.js +1 -0
- package/barcode/index.html +23 -24
- package/barcode/main.71e908371e60089d.js +1 -0
- package/barcode/ngsw-worker.js +1845 -0
- package/barcode/ngsw.json +161 -0
- package/barcode/polyfills.dc4857163ebc6915.js +1 -0
- package/barcode/runtime.42ebd4cddf8ccc51.js +1 -0
- package/barcode/safety-worker.js +26 -0
- package/barcode/styles.076e6cb26a99c3ea.css +20 -0
- package/barcode/worker-basic.min.js +26 -0
- package/package.json +1 -1
- package/barcode/main.js +0 -1428
- package/barcode/main.js.map +0 -1
- package/barcode/polyfills.js +0 -3398
- package/barcode/polyfills.js.map +0 -1
- package/barcode/runtime.js +0 -304
- package/barcode/runtime.js.map +0 -1
- package/barcode/src_app_pages_pages_module_ts.js +0 -9694
- package/barcode/src_app_pages_pages_module_ts.js.map +0 -1
- package/barcode/styles.css +0 -15002
- package/barcode/styles.css.map +0 -1
- package/barcode/vendor.js +0 -114647
- package/barcode/vendor.js.map +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunkbarcode_app=self.webpackChunkbarcode_app||[]).push([[179],{3389:(dt,Ee,D)=>{D.d(Ee,{$:()=>z});var r=D(1135),d=D(1571),J=D(8729),G=D(7185);let z=(()=>{class K{constructor(ae,ie){this._router=ae,this.toaster=ie,this._roles$=new r.X([])}login(ae){this._router.navigate([ae])}logout(){this._roles$.next([]),localStorage.removeItem("Roles"),this._router.navigate([""])}setRoles(ae){localStorage.setItem("Roles",JSON.stringify(ae)),this._roles$.next(ae)}getRoles(){let ae=this._roles$.getValue();if(0==ae.length){let ie=localStorage.getItem("Roles");ae=JSON.parse(ie),this._roles$.next(ae)}return ae}isAuthentication(){return null!=localStorage.getItem("Token")&&!this.isTokenExpired()}isTokenExpired(){return!(new Date(localStorage.getItem("ExpireDate")).getTime()-(new Date).getTime()>0)}saveLoginForm(ae,ie){localStorage.setItem("Domain",ae),localStorage.setItem("Username",ie)}getUsername(){return localStorage.getItem("Username")}getDomain(){return localStorage.getItem("Domain")}isLoginFormExist(){let ae=this.getDomain(),ie=this.getUsername(),ee=!1;return ae&&ie&&(ee=!0),ee}}return K.\u0275fac=function(ae){return new(ae||K)(d.LFG(J.F0),d.LFG(G._W))},K.\u0275prov=d.Yz7({token:K,factory:K.\u0275fac,providedIn:"root"}),K})()},1104:(dt,Ee,D)=>{D.d(Ee,{O:()=>je});var r=D(9751),d=D(529),J=D(4986),G=D(1165),z=D(4482),K=D(8421),ve=D(3888),ae=D(5403),ie=D(9672);const ee=(0,ve.d)(Te=>function(Je=null){Te(this),this.message="Timeout has occurred",this.name="TimeoutError",this.info=Je});function he(Te,Ve){const{first:Je,each:Se,with:ht=_e,scheduler:le=Ve??J.z,meta:Z=null}=(0,G.q)(Te)?{first:Te}:"number"==typeof Te?{each:Te}:Te;if(null==Je&&null==Se)throw new TypeError("No timeout provided.");return(0,z.e)((Oe,Le)=>{let Ae,Ge,We=null,ye=0;const be=ke=>{Ge=(0,ie.f)(Le,le,()=>{try{Ae.unsubscribe(),(0,K.Xf)(ht({meta:Z,lastValue:We,seen:ye})).subscribe(Le)}catch(Ce){Le.error(Ce)}},ke)};Ae=Oe.subscribe((0,ae.x)(Le,ke=>{Ge?.unsubscribe(),ye++,Le.next(We=ke),Se>0&&be(Se)},void 0,void 0,()=>{Ge?.closed||Ge?.unsubscribe(),We=null})),!ye&&be(null!=Je?"number"==typeof Je?Je:+Je-le.now():Se)})}function _e(Te){throw new ee(Te)}var Ue=D(1571),Be=D(7185);let je=(()=>{class Te{constructor(Je,Se){this.http=Je,this.toastr=Se}postFormData(Je,Se){return new r.y(ht=>{let le=localStorage.getItem("Token"),Oe={headers:new d.WM({Authorization:"Bearer "+le})};this.http.post(Je,Se,Oe).pipe(he(1e5)).subscribe(Le=>{ht.next(Le),ht.complete()},Le=>{if(200==Le.status)ht.next(Le.error.text),ht.complete();else{let Ae=this.errorMessageHandling(Le);this.toastr.error(Ae.message,Ae.header),ht.error(Le)}})})}post(Je,Se,ht=1e5){return new r.y(le=>{let Z=localStorage.getItem("Token"),Oe=new d.WM({"Content-Type":"application/json","Cache-Control":"no-cache"});Z&&(Oe=new d.WM({"Content-Type":"application/json","Cache-Control":"no-cache",Authorization:"Bearer "+Z})),this.http.post(Je,Se,{headers:Oe}).pipe(he(ht)).subscribe(Ae=>{le.next(Ae),le.complete()},Ae=>{if(200==Ae.status)le.next(Ae.error.text),le.complete();else{if(!this.unauthorizedErrorHandling(Ae)){let We=this.errorMessageHandling(Ae);this.toastr.error(""!=We.message?We.message:"An unknown error has occured!",We.header)}le.error(Ae)}})})}unauthorizedErrorHandling(Je){let Se=!1;return 401==Je.status&&(this.toastr.error("We can't log you in because of authenctication error","Unauthorized"),Se=!0),Se}errorMessageHandling(Je){let Se="API Error",ht="Exception Message";return Je.error?(Se="API Error - "+Je.status,Je.error.Message&&(ht=Je.error.Message)):Je.message&&(Se="API Error - "+Je.name,ht=Je.message),{header:Se,message:ht}}}return Te.\u0275fac=function(Je){return new(Je||Te)(Ue.LFG(d.eN),Ue.LFG(Be._W))},Te.\u0275prov=Ue.Yz7({token:Te,factory:Te.\u0275fac,providedIn:"root"}),Te})()},5083:(dt,Ee,D)=>{D.d(Ee,{U:()=>J});var r=D(1135),d=D(1571);let J=(()=>{class G{constructor(){this.store=new r.X({ID:null,billNumber:null,outletName:null})}getState(){return this.store.asObservable()}setState(K){this.store.next(K)}}return G.\u0275fac=function(K){return new(K||G)},G.\u0275prov=d.Yz7({token:G,factory:G.\u0275fac,providedIn:"root"}),G})()},6985:(dt,Ee,D)=>{D.d(Ee,{O:()=>d});var r=D(512);class d{constructor(){this.title="New Modal",this.titleExtra="",this.okText="Ok (F2)",this.cancelText="Cancel",this.hideFooter=!1,this.hideCancel=!1,this.hideOk=!1,this.hideClose=!1,this.eMoney=!1,this.headerType=r.n.Success,this.validated=!0,this.customWidth="initial",this.bodyScrollable=!1,this.hideScrollbar=!1,this.disableKeyup=!1,this.hideMoreButton=!1}}},4405:(dt,Ee,D)=>{D.d(Ee,{M:()=>Je});var r=D(1571),d=D(512),J=D(6985),G=D(6895),z=D(5412);function K(Se,ht){if(1&Se){const le=r.EpF();r.TgZ(0,"div",8),r.NdJ("click",function(){r.CHM(le);const Oe=r.oxw();return r.KtG(Oe.onBack.emit())}),r.TgZ(1,"a",9),r._UZ(2,"i",10),r.qZA()()}}function ve(Se,ht){if(1&Se){const le=r.EpF();r.TgZ(0,"div")(1,"a",11),r.NdJ("click",function(){r.CHM(le);const Oe=r.oxw();return r.KtG(Oe.onCancel.emit())}),r._UZ(2,"i",12),r.qZA()()}}function ae(Se,ht){1&Se&&r.Hsn(0,2,["*ngIf","more"])}function ie(Se,ht){if(1&Se){const le=r.EpF();r.TgZ(0,"a",17),r.NdJ("click",function(){r.CHM(le);const Oe=r.oxw(2);return r.KtG(Oe.more=!Oe.more)}),r._uU(1,"More"),r.qZA()}}function ee(Se,ht){if(1&Se){const le=r.EpF();r.TgZ(0,"a",18),r.NdJ("click",function(){r.CHM(le);const Oe=r.oxw(2);return r.KtG(Oe.onCancel.emit())}),r._uU(1),r.qZA()}if(2&Se){const le=r.oxw(2);r.xp6(1),r.hij(" ",null!=le.config&&le.config.cancelText?null==le.config?null:le.config.cancelText:"Cancel","")}}function he(Se,ht){if(1&Se){const le=r.EpF();r.TgZ(0,"button",19),r.NdJ("click",function(){r.CHM(le);const Oe=r.oxw(2);return r.KtG(Oe.onOk.emit())}),r._uU(1),r.qZA()}if(2&Se){const le=r.oxw(2);r.Q6J("disabled",!(null!=le.config&&le.config.validated)),r.xp6(1),r.hij(" ",null!=le.config&&le.config.okText?null==le.config?null:le.config.okText:"Ok (F2)"," ")}}function _e(Se,ht){if(1&Se&&(r.TgZ(0,"mat-dialog-actions",13),r.YNc(1,ie,2,0,"a",14),r.Hsn(2,3),r.YNc(3,ee,2,1,"a",15),r.YNc(4,he,2,2,"button",16),r.qZA()),2&Se){const le=r.oxw();r.xp6(1),r.Q6J("ngIf",!(null!=le.config&&le.config.hideMoreButton)),r.xp6(2),r.Q6J("ngIf",!(null!=le.config&&le.config.hideCancel)),r.xp6(1),r.Q6J("ngIf",!(null!=le.config&&le.config.hideOk))}}const Ue=[[["header"]],[["content"]],[["more-content"]],[["footer"]]],Be=function(Se,ht){return{bodyScrollable:Se,hideScrollbar:ht}},je=function(Se){return{"mx-auto":Se}},Te=function(Se){return{"show-footer":Se}},Ve=["header","content","more-content","footer"];let Je=(()=>{class Se{constructor(){this.onOk=new r.vpe,this.onCancel=new r.vpe,this.onClose=new r.vpe,this.onBack=new r.vpe,this.onShowMore=new r.vpe,this.term="",this.background="",this.more=!1}ngOnInit(){switch(null==this.config&&(this.config=new J.O),this.config.headerType){case d.n.Success:this.background="bg-success";break;case d.n.Warning:case d.n.Info:this.background="bg-warning";break;case d.n.Error:this.background="bg-danger";break;default:this.background=""}}onKeyup(le){this.config&&(this.config.disableKeyup||"F2"==le.code&&this.onOk.emit())}}return Se.\u0275fac=function(le){return new(le||Se)},Se.\u0275cmp=r.Xpm({type:Se,selectors:[["modal-material"]],inputs:{config:"config"},outputs:{onOk:"onOk",onCancel:"onCancel",onClose:"onClose",onBack:"onBack",onShowMore:"onShowMore"},ngContentSelectors:Ve,decls:12,vars:20,consts:[[1,"modal-material","d-flex","align-items-start","flex-column","position-relative","maxHeight",3,"ngClass","keyup"],["mat-dialog-title",""],["class","back-button position-absolute pointer",3,"click",4,"ngIf"],[1,"d-flex","flex-row",3,"ngClass"],[1,"fw-normal"],[4,"ngIf"],[1,"modal-body","w-100",3,"ngClass"],["class","w-100 py-7 border-top d-flex justify-content-end",4,"ngIf"],[1,"back-button","position-absolute","pointer",3,"click"],[1,"btn","back-button"],[1,"fas","fa-arrow-left"],[1,"btn-light-blue","btn-sm","pointer","close",3,"click"],[1,"fa","fa-times","fa-lg","text-primary"],[1,"w-100","py-7","border-top","d-flex","justify-content-end"],["class","more clearfix",3,"click",4,"ngIf"],["class","btn btn-light-blue text-primary btn-lg fw-bold mx-3",3,"click",4,"ngIf"],["class","btn btn-light-blue me-6 text-primary btn-lg fw-bold mx-3",3,"disabled","click",4,"ngIf"],[1,"more","clearfix",3,"click"],[1,"btn","btn-light-blue","text-primary","btn-lg","fw-bold","mx-3",3,"click"],[1,"btn","btn-light-blue","me-6","text-primary","btn-lg","fw-bold","mx-3",3,"disabled","click"]],template:function(le,Z){1&le&&(r.F$t(Ue),r.TgZ(0,"div",0),r.NdJ("keyup",function(Le){return Z.onKeyup(Le)}),r.TgZ(1,"div",1),r.YNc(2,K,3,0,"div",2),r.TgZ(3,"div",3)(4,"h4",4),r._uU(5),r.qZA(),r.Hsn(6),r.qZA(),r.YNc(7,ve,3,0,"div",5),r.qZA(),r.TgZ(8,"mat-dialog-content",6),r.Hsn(9,1),r.YNc(10,ae,1,0,"ng-content",5),r.qZA(),r.YNc(11,_e,5,3,"mat-dialog-actions",7),r.qZA()),2&le&&(r.Udp("width",null==Z.config?null:Z.config.customWidth),r.Q6J("ngClass",r.WLB(13,Be,null==Z.config?null:Z.config.bodyScrollable,null==Z.config?null:Z.config.hideScrollbar)),r.xp6(1),r.Gre("d-flex w-100 justify-content-between modal-header position-relative ",Z.background,""),r.xp6(1),r.Q6J("ngIf",null==Z.config?null:Z.config.eMoney),r.xp6(1),r.Q6J("ngClass",r.VKq(16,je,null==Z.config?null:Z.config.eMoney)),r.xp6(2),r.Oqu(null==Z.config?null:Z.config.title),r.xp6(2),r.Q6J("ngIf",!(null!=Z.config&&Z.config.hideClose)),r.xp6(1),r.Q6J("ngClass",r.VKq(18,Te,!(null!=Z.config&&Z.config.hideFooter))),r.xp6(2),r.Q6J("ngIf",Z.more),r.xp6(1),r.Q6J("ngIf",!(null!=Z.config&&Z.config.hideFooter)))},dependencies:[G.mk,G.O5,z.uh,z.xY,z.H8],styles:["mat-dialog-actions[_ngcontent-%COMP%]{bottom:15px;margin-bottom:0}mat-dialog-actions[_ngcontent-%COMP%] a[_ngcontent-%COMP%], mat-dialog-actions[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{padding:15px!important;margin-right:12px}mat-dialog-actions[_ngcontent-%COMP%] .more[_ngcontent-%COMP%]{margin-right:auto;margin-top:-3.8rem;padding-top:.2rem!important;margin-left:1rem}.back-button[_ngcontent-%COMP%]{top:5px;left:0px}.close[_ngcontent-%COMP%]{padding:.4rem .5rem}.mat-dialog-content[_ngcontent-%COMP%]{margin:auto;padding-bottom:12px}h4[_ngcontent-%COMP%]{font-size:1rem;margin-bottom:0;margin-top:7px}input[type=radio][_ngcontent-%COMP%]{border:0px;width:100%;height:2em}"]}),Se})()},512:(dt,Ee,D)=>{D.d(Ee,{n:()=>r});var r=(()=>{return(d=r||(r={})).Success="Success",d.Info="Info",d.Warning="Warning",d.Error="Error",r;var d})()},4949:(dt,Ee,D)=>{D.d(Ee,{m:()=>ae});var r=D(6895),d=D(433),J=D(8796),G=D(5412),z=D(4120),K=D(1571);let ve=(()=>{class ie{}return ie.\u0275fac=function(he){return new(he||ie)},ie.\u0275mod=K.oAB({type:ie}),ie.\u0275inj=K.cJS({imports:[r.ez]}),ie})(),ae=(()=>{class ie{}return ie.\u0275fac=function(he){return new(he||ie)},ie.\u0275mod=K.oAB({type:ie}),ie.\u0275inj=K.cJS({imports:[r.ez,d.u5,J.A0,d.UX,G.Is,z.Bb,ve,d.u5,J.A0,d.UX,G.Is,z.Bb,ve]}),ie})()},776:(dt,Ee,D)=>{var r=D(1481),d=D(1571),J=D(6895),G=D(433),z=D(7340);function ve(y){return new d.vHH(3e3,!1)}function Ze(){return typeof window<"u"&&typeof window.document<"u"}function _t(){return typeof process<"u"&&"[object process]"==={}.toString.call(process)}function Wt(y){switch(y.length){case 0:return new z.ZN;case 1:return y[0];default:return new z.ZE(y)}}function rn(y,l,a,g,x=new Map,N=new Map){const ne=[],se=[];let Pe=-1,Xe=null;if(g.forEach(yt=>{const St=yt.get("offset"),sn=St==Pe,Zt=sn&&Xe||new Map;yt.forEach((jt,zt)=>{let bn=zt,Pn=jt;if("offset"!==zt)switch(bn=l.normalizePropertyName(bn,ne),Pn){case z.k1:Pn=x.get(zt);break;case z.l3:Pn=N.get(zt);break;default:Pn=l.normalizeStyleValue(zt,bn,Pn,ne)}Zt.set(bn,Pn)}),sn||se.push(Zt),Xe=Zt,Pe=St}),ne.length)throw function Ce(y){return new d.vHH(3502,!1)}();return se}function hn(y,l,a,g){switch(l){case"start":y.onStart(()=>g(a&&tn(a,"start",y)));break;case"done":y.onDone(()=>g(a&&tn(a,"done",y)));break;case"destroy":y.onDestroy(()=>g(a&&tn(a,"destroy",y)))}}function tn(y,l,a){const N=on(y.element,y.triggerName,y.fromState,y.toState,l||y.phaseName,a.totalTime??y.totalTime,!!a.disabled),ne=y._data;return null!=ne&&(N._data=ne),N}function on(y,l,a,g,x="",N=0,ne){return{element:y,triggerName:l,fromState:a,toState:g,phaseName:x,totalTime:N,disabled:!!ne}}function Kt(y,l,a){let g=y.get(l);return g||y.set(l,g=a),g}function gn(y){const l=y.indexOf(":");return[y.substring(1,l),y.slice(l+1)]}let mn=(y,l)=>!1,He=(y,l,a)=>[],V=null;function H(y){const l=y.parentNode||y.host;return l===V?null:l}(_t()||typeof Element<"u")&&(Ze()?(V=(()=>document.documentElement)(),mn=(y,l)=>{for(;l;){if(l===y)return!0;l=H(l)}return!1}):mn=(y,l)=>y.contains(l),He=(y,l,a)=>{if(a)return Array.from(y.querySelectorAll(l));const g=y.querySelector(l);return g?[g]:[]});let te=null,Me=!1;const fe=mn,$e=He;let mt=(()=>{class y{validateStyleProperty(a){return function de(y){te||(te=function W(){return typeof document<"u"?document.body:null}()||{},Me=!!te.style&&"WebkitAppearance"in te.style);let l=!0;return te.style&&!function $(y){return"ebkit"==y.substring(1,6)}(y)&&(l=y in te.style,!l&&Me&&(l="Webkit"+y.charAt(0).toUpperCase()+y.slice(1)in te.style)),l}(a)}matchesElement(a,g){return!1}containsElement(a,g){return fe(a,g)}getParentElement(a){return H(a)}query(a,g,x){return $e(a,g,x)}computeStyle(a,g,x){return x||""}animate(a,g,x,N,ne,se=[],Pe){return new z.ZN(x,N)}}return y.\u0275fac=function(a){return new(a||y)},y.\u0275prov=d.Yz7({token:y,factory:y.\u0275fac}),y})(),it=(()=>{class y{}return y.NOOP=new mt,y})();const Re="ng-enter",re="ng-leave",oe="ng-trigger",Ne=".ng-trigger",Dt="ng-animating",Ft=".ng-animating";function Bt(y){if("number"==typeof y)return y;const l=y.match(/^(-?[\.\d]+)(m?s)/);return!l||l.length<2?0:Tn(parseFloat(l[1]),l[2])}function Tn(y,l){return"s"===l?1e3*y:y}function Dn(y,l,a){return y.hasOwnProperty("duration")?y:function _n(y,l,a){let x,N=0,ne="";if("string"==typeof y){const se=y.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===se)return l.push(ve()),{duration:0,delay:0,easing:""};x=Tn(parseFloat(se[1]),se[2]);const Pe=se[3];null!=Pe&&(N=Tn(parseFloat(Pe),se[4]));const Xe=se[5];Xe&&(ne=Xe)}else x=y;if(!a){let se=!1,Pe=l.length;x<0&&(l.push(function ae(){return new d.vHH(3100,!1)}()),se=!0),N<0&&(l.push(function ie(){return new d.vHH(3101,!1)}()),se=!0),se&&l.splice(Pe,0,ve())}return{duration:x,delay:N,easing:ne}}(y,l,a)}function Xt(y,l={}){return Object.keys(y).forEach(a=>{l[a]=y[a]}),l}function In(y){const l=new Map;return Object.keys(y).forEach(a=>{l.set(a,y[a])}),l}function En(y,l=new Map,a){if(a)for(let[g,x]of a)l.set(g,x);for(let[g,x]of y)l.set(g,x);return l}function wn(y,l,a){return a?l+":"+a+";":""}function at(y){let l="";for(let a=0;a<y.style.length;a++){const g=y.style.item(a);l+=wn(0,g,y.style.getPropertyValue(g))}for(const a in y.style)y.style.hasOwnProperty(a)&&!a.startsWith("_")&&(l+=wn(0,st(a),y.style[a]));y.setAttribute("style",l)}function et(y,l,a){y.style&&(l.forEach((g,x)=>{const N=qe(x);a&&!a.has(x)&&a.set(x,y.style[N]),y.style[N]=g}),_t()&&at(y))}function F(y,l){y.style&&(l.forEach((a,g)=>{const x=qe(g);y.style[x]=""}),_t()&&at(y))}function B(y){return Array.isArray(y)?1==y.length?y[0]:(0,z.vP)(y):y}const v=new RegExp("{{\\s*(.+?)\\s*}}","g");function _(y){let l=[];if("string"==typeof y){let a;for(;a=v.exec(y);)l.push(a[1]);v.lastIndex=0}return l}function w(y,l,a){const g=y.toString(),x=g.replace(v,(N,ne)=>{let se=l[ne];return null==se&&(a.push(function he(y){return new d.vHH(3003,!1)}()),se=""),se.toString()});return x==g?y:x}function P(y){const l=[];let a=y.next();for(;!a.done;)l.push(a.value),a=y.next();return l}const ue=/-+([a-z0-9])/g;function qe(y){return y.replace(ue,(...l)=>l[1].toUpperCase())}function st(y){return y.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function Qt(y,l,a){switch(l.type){case 7:return y.visitTrigger(l,a);case 0:return y.visitState(l,a);case 1:return y.visitTransition(l,a);case 2:return y.visitSequence(l,a);case 3:return y.visitGroup(l,a);case 4:return y.visitAnimate(l,a);case 5:return y.visitKeyframes(l,a);case 6:return y.visitStyle(l,a);case 8:return y.visitReference(l,a);case 9:return y.visitAnimateChild(l,a);case 10:return y.visitAnimateRef(l,a);case 11:return y.visitQuery(l,a);case 12:return y.visitStagger(l,a);default:throw function _e(y){return new d.vHH(3004,!1)}()}}function Mn(y,l){return window.getComputedStyle(y)[l]}function qn(y,l){const a=[];return"string"==typeof y?y.split(/\s*,\s*/).forEach(g=>function pi(y,l,a){if(":"==y[0]){const Pe=function qi(y,l){switch(y){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(a,g)=>parseFloat(g)>parseFloat(a);case":decrement":return(a,g)=>parseFloat(g)<parseFloat(a);default:return l.push(function We(y){return new d.vHH(3016,!1)}()),"* => *"}}(y,a);if("function"==typeof Pe)return void l.push(Pe);y=Pe}const g=y.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==g||g.length<4)return a.push(function Ge(y){return new d.vHH(3015,!1)}()),l;const x=g[1],N=g[2],ne=g[3];l.push($i(x,ne));"<"==N[0]&&!("*"==x&&"*"==ne)&&l.push($i(ne,x))}(g,a,l)):a.push(y),a}const qt=new Set(["true","1"]),ji=new Set(["false","0"]);function $i(y,l){const a=qt.has(y)||ji.has(y),g=qt.has(l)||ji.has(l);return(x,N)=>{let ne="*"==y||y==x,se="*"==l||l==N;return!ne&&a&&"boolean"==typeof x&&(ne=x?qt.has(y):ji.has(y)),!se&&g&&"boolean"==typeof N&&(se=N?qt.has(l):ji.has(l)),ne&&se}}const Oi=new RegExp("s*:selfs*,?","g");function mi(y,l,a,g){return new Hn(y).build(l,a,g)}class Hn{constructor(l){this._driver=l}build(l,a,g){const x=new kn(a);return this._resetContextStyleTimingState(x),Qt(this,B(l),x)}_resetContextStyleTimingState(l){l.currentQuerySelector="",l.collectedStyles=new Map,l.collectedStyles.set("",new Map),l.currentTime=0}visitTrigger(l,a){let g=a.queryCount=0,x=a.depCount=0;const N=[],ne=[];return"@"==l.name.charAt(0)&&a.errors.push(function Be(){return new d.vHH(3006,!1)}()),l.definitions.forEach(se=>{if(this._resetContextStyleTimingState(a),0==se.type){const Pe=se,Xe=Pe.name;Xe.toString().split(/\s*,\s*/).forEach(yt=>{Pe.name=yt,N.push(this.visitState(Pe,a))}),Pe.name=Xe}else if(1==se.type){const Pe=this.visitTransition(se,a);g+=Pe.queryCount,x+=Pe.depCount,ne.push(Pe)}else a.errors.push(function je(){return new d.vHH(3007,!1)}())}),{type:7,name:l.name,states:N,transitions:ne,queryCount:g,depCount:x,options:null}}visitState(l,a){const g=this.visitStyle(l.styles,a),x=l.options&&l.options.params||null;if(g.containsDynamicStyles){const N=new Set,ne=x||{};g.styles.forEach(se=>{se instanceof Map&&se.forEach(Pe=>{_(Pe).forEach(Xe=>{ne.hasOwnProperty(Xe)||N.add(Xe)})})}),N.size&&(P(N.values()),a.errors.push(function Te(y,l){return new d.vHH(3008,!1)}()))}return{type:0,name:l.name,style:g,options:x?{params:x}:null}}visitTransition(l,a){a.queryCount=0,a.depCount=0;const g=Qt(this,B(l.animation),a);return{type:1,matchers:qn(l.expr,a.errors),animation:g,queryCount:a.queryCount,depCount:a.depCount,options:_i(l.options)}}visitSequence(l,a){return{type:2,steps:l.steps.map(g=>Qt(this,g,a)),options:_i(l.options)}}visitGroup(l,a){const g=a.currentTime;let x=0;const N=l.steps.map(ne=>{a.currentTime=g;const se=Qt(this,ne,a);return x=Math.max(x,a.currentTime),se});return a.currentTime=x,{type:3,steps:N,options:_i(l.options)}}visitAnimate(l,a){const g=function xr(y,l){if(y.hasOwnProperty("duration"))return y;if("number"==typeof y)return Ei(Dn(y,l).duration,0,"");const a=y;if(a.split(/\s+/).some(N=>"{"==N.charAt(0)&&"{"==N.charAt(1))){const N=Ei(0,0,"");return N.dynamic=!0,N.strValue=a,N}const x=Dn(a,l);return Ei(x.duration,x.delay,x.easing)}(l.timings,a.errors);a.currentAnimateTimings=g;let x,N=l.styles?l.styles:(0,z.oB)({});if(5==N.type)x=this.visitKeyframes(N,a);else{let ne=l.styles,se=!1;if(!ne){se=!0;const Xe={};g.easing&&(Xe.easing=g.easing),ne=(0,z.oB)(Xe)}a.currentTime+=g.duration+g.delay;const Pe=this.visitStyle(ne,a);Pe.isEmptyStep=se,x=Pe}return a.currentAnimateTimings=null,{type:4,timings:g,style:x,options:null}}visitStyle(l,a){const g=this._makeStyleAst(l,a);return this._validateStyleAst(g,a),g}_makeStyleAst(l,a){const g=[],x=Array.isArray(l.styles)?l.styles:[l.styles];for(let se of x)"string"==typeof se?se===z.l3?g.push(se):a.errors.push(new d.vHH(3002,!1)):g.push(In(se));let N=!1,ne=null;return g.forEach(se=>{if(se instanceof Map&&(se.has("easing")&&(ne=se.get("easing"),se.delete("easing")),!N))for(let Pe of se.values())if(Pe.toString().indexOf("{{")>=0){N=!0;break}}),{type:6,styles:g,easing:ne,offset:l.offset,containsDynamicStyles:N,options:null}}_validateStyleAst(l,a){const g=a.currentAnimateTimings;let x=a.currentTime,N=a.currentTime;g&&N>0&&(N-=g.duration+g.delay),l.styles.forEach(ne=>{"string"!=typeof ne&&ne.forEach((se,Pe)=>{const Xe=a.collectedStyles.get(a.currentQuerySelector),yt=Xe.get(Pe);let St=!0;yt&&(N!=x&&N>=yt.startTime&&x<=yt.endTime&&(a.errors.push(function Se(y,l,a,g,x){return new d.vHH(3010,!1)}()),St=!1),N=yt.startTime),St&&Xe.set(Pe,{startTime:N,endTime:x}),a.options&&function p(y,l,a){const g=l.params||{},x=_(y);x.length&&x.forEach(N=>{g.hasOwnProperty(N)||a.push(function ee(y){return new d.vHH(3001,!1)}())})}(se,a.options,a.errors)})})}visitKeyframes(l,a){const g={type:5,styles:[],options:null};if(!a.currentAnimateTimings)return a.errors.push(function ht(){return new d.vHH(3011,!1)}()),g;let N=0;const ne=[];let se=!1,Pe=!1,Xe=0;const yt=l.steps.map(Pn=>{const ai=this._makeStyleAst(Pn,a);let hi=null!=ai.offset?ai.offset:function Jn(y){if("string"==typeof y)return null;let l=null;if(Array.isArray(y))y.forEach(a=>{if(a instanceof Map&&a.has("offset")){const g=a;l=parseFloat(g.get("offset")),g.delete("offset")}});else if(y instanceof Map&&y.has("offset")){const a=y;l=parseFloat(a.get("offset")),a.delete("offset")}return l}(ai.styles),Gn=0;return null!=hi&&(N++,Gn=ai.offset=hi),Pe=Pe||Gn<0||Gn>1,se=se||Gn<Xe,Xe=Gn,ne.push(Gn),ai});Pe&&a.errors.push(function le(){return new d.vHH(3012,!1)}()),se&&a.errors.push(function Z(){return new d.vHH(3200,!1)}());const St=l.steps.length;let sn=0;N>0&&N<St?a.errors.push(function Oe(){return new d.vHH(3202,!1)}()):0==N&&(sn=1/(St-1));const Zt=St-1,jt=a.currentTime,zt=a.currentAnimateTimings,bn=zt.duration;return yt.forEach((Pn,ai)=>{const hi=sn>0?ai==Zt?1:sn*ai:ne[ai],Gn=hi*bn;a.currentTime=jt+zt.delay+Gn,zt.duration=Gn,this._validateStyleAst(Pn,a),Pn.offset=hi,g.styles.push(Pn)}),g}visitReference(l,a){return{type:8,animation:Qt(this,B(l.animation),a),options:_i(l.options)}}visitAnimateChild(l,a){return a.depCount++,{type:9,options:_i(l.options)}}visitAnimateRef(l,a){return{type:10,animation:this.visitReference(l.animation,a),options:_i(l.options)}}visitQuery(l,a){const g=a.currentQuerySelector,x=l.options||{};a.queryCount++,a.currentQuery=l;const[N,ne]=function ln(y){const l=!!y.split(/\s*,\s*/).find(a=>":self"==a);return l&&(y=y.replace(Oi,"")),y=y.replace(/@\*/g,Ne).replace(/@\w+/g,a=>Ne+"-"+a.slice(1)).replace(/:animating/g,Ft),[y,l]}(l.selector);a.currentQuerySelector=g.length?g+" "+N:N,Kt(a.collectedStyles,a.currentQuerySelector,new Map);const se=Qt(this,B(l.animation),a);return a.currentQuery=null,a.currentQuerySelector=g,{type:11,selector:N,limit:x.limit||0,optional:!!x.optional,includeSelf:ne,animation:se,originalSelector:l.selector,options:_i(l.options)}}visitStagger(l,a){a.currentQuery||a.errors.push(function Le(){return new d.vHH(3013,!1)}());const g="full"===l.timings?{duration:0,delay:0,easing:"full"}:Dn(l.timings,a.errors,!0);return{type:12,animation:Qt(this,B(l.animation),a),timings:g,options:null}}}class kn{constructor(l){this.errors=l,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles=new Map,this.options=null,this.unsupportedCSSPropertiesFound=new Set}}function _i(y){return y?(y=Xt(y)).params&&(y.params=function Ii(y){return y?Xt(y):null}(y.params)):y={},y}function Ei(y,l,a){return{duration:y,delay:l,easing:a}}function ri(y,l,a,g,x,N,ne=null,se=!1){return{type:1,element:y,keyframes:l,preStyleProps:a,postStyleProps:g,duration:x,delay:N,totalTime:x+N,easing:ne,subTimeline:se}}class pr{constructor(){this._map=new Map}get(l){return this._map.get(l)||[]}append(l,a){let g=this._map.get(l);g||this._map.set(l,g=[]),g.push(...a)}has(l){return this._map.has(l)}clear(){this._map.clear()}}const ci=new RegExp(":enter","g"),No=new RegExp(":leave","g");function gr(y,l,a,g,x,N=new Map,ne=new Map,se,Pe,Xe=[]){return(new Qr).buildKeyframes(y,l,a,g,x,N,ne,se,Pe,Xe)}class Qr{buildKeyframes(l,a,g,x,N,ne,se,Pe,Xe,yt=[]){Xe=Xe||new pr;const St=new mr(l,a,Xe,x,N,yt,[]);St.options=Pe;const sn=Pe.delay?Bt(Pe.delay):0;St.currentTimeline.delayNextStep(sn),St.currentTimeline.setStyles([ne],null,St.errors,Pe),Qt(this,g,St);const Zt=St.timelines.filter(jt=>jt.containsAnimation());if(Zt.length&&se.size){let jt;for(let zt=Zt.length-1;zt>=0;zt--){const bn=Zt[zt];if(bn.element===a){jt=bn;break}}jt&&!jt.allowOnlyTimelineStyles()&&jt.setStyles([se],null,St.errors,Pe)}return Zt.length?Zt.map(jt=>jt.buildKeyframes()):[ri(a,[],[],[],0,sn,"",!1)]}visitTrigger(l,a){}visitState(l,a){}visitTransition(l,a){}visitAnimateChild(l,a){const g=a.subInstructions.get(a.element);if(g){const x=a.createSubContext(l.options),N=a.currentTimeline.currentTime,ne=this._visitSubInstructions(g,x,x.options);N!=ne&&a.transformIntoNewTimeline(ne)}a.previousNode=l}visitAnimateRef(l,a){const g=a.createSubContext(l.options);g.transformIntoNewTimeline(),this.visitReference(l.animation,g),a.transformIntoNewTimeline(g.currentTimeline.currentTime),a.previousNode=l}_visitSubInstructions(l,a,g){let N=a.currentTimeline.currentTime;const ne=null!=g.duration?Bt(g.duration):null,se=null!=g.delay?Bt(g.delay):null;return 0!==ne&&l.forEach(Pe=>{const Xe=a.appendInstructionToTimeline(Pe,ne,se);N=Math.max(N,Xe.duration+Xe.delay)}),N}visitReference(l,a){a.updateOptions(l.options,!0),Qt(this,l.animation,a),a.previousNode=l}visitSequence(l,a){const g=a.subContextCount;let x=a;const N=l.options;if(N&&(N.params||N.delay)&&(x=a.createSubContext(N),x.transformIntoNewTimeline(),null!=N.delay)){6==x.previousNode.type&&(x.currentTimeline.snapshotCurrentStyles(),x.previousNode=Gi);const ne=Bt(N.delay);x.delayNextStep(ne)}l.steps.length&&(l.steps.forEach(ne=>Qt(this,ne,x)),x.currentTimeline.applyStylesToKeyframe(),x.subContextCount>g&&x.transformIntoNewTimeline()),a.previousNode=l}visitGroup(l,a){const g=[];let x=a.currentTimeline.currentTime;const N=l.options&&l.options.delay?Bt(l.options.delay):0;l.steps.forEach(ne=>{const se=a.createSubContext(l.options);N&&se.delayNextStep(N),Qt(this,ne,se),x=Math.max(x,se.currentTimeline.currentTime),g.push(se.currentTimeline)}),g.forEach(ne=>a.currentTimeline.mergeTimelineCollectedStyles(ne)),a.transformIntoNewTimeline(x),a.previousNode=l}_visitTiming(l,a){if(l.dynamic){const g=l.strValue;return Dn(a.params?w(g,a.params,a.errors):g,a.errors)}return{duration:l.duration,delay:l.delay,easing:l.easing}}visitAnimate(l,a){const g=a.currentAnimateTimings=this._visitTiming(l.timings,a),x=a.currentTimeline;g.delay&&(a.incrementTime(g.delay),x.snapshotCurrentStyles());const N=l.style;5==N.type?this.visitKeyframes(N,a):(a.incrementTime(g.duration),this.visitStyle(N,a),x.applyStylesToKeyframe()),a.currentAnimateTimings=null,a.previousNode=l}visitStyle(l,a){const g=a.currentTimeline,x=a.currentAnimateTimings;!x&&g.hasCurrentStyleProperties()&&g.forwardFrame();const N=x&&x.easing||l.easing;l.isEmptyStep?g.applyEmptyStep(N):g.setStyles(l.styles,N,a.errors,a.options),a.previousNode=l}visitKeyframes(l,a){const g=a.currentAnimateTimings,x=a.currentTimeline.duration,N=g.duration,se=a.createSubContext().currentTimeline;se.easing=g.easing,l.styles.forEach(Pe=>{se.forwardTime((Pe.offset||0)*N),se.setStyles(Pe.styles,Pe.easing,a.errors,a.options),se.applyStylesToKeyframe()}),a.currentTimeline.mergeTimelineCollectedStyles(se),a.transformIntoNewTimeline(x+N),a.previousNode=l}visitQuery(l,a){const g=a.currentTimeline.currentTime,x=l.options||{},N=x.delay?Bt(x.delay):0;N&&(6===a.previousNode.type||0==g&&a.currentTimeline.hasCurrentStyleProperties())&&(a.currentTimeline.snapshotCurrentStyles(),a.previousNode=Gi);let ne=g;const se=a.invokeQuery(l.selector,l.originalSelector,l.limit,l.includeSelf,!!x.optional,a.errors);a.currentQueryTotal=se.length;let Pe=null;se.forEach((Xe,yt)=>{a.currentQueryIndex=yt;const St=a.createSubContext(l.options,Xe);N&&St.delayNextStep(N),Xe===a.element&&(Pe=St.currentTimeline),Qt(this,l.animation,St),St.currentTimeline.applyStylesToKeyframe(),ne=Math.max(ne,St.currentTimeline.currentTime)}),a.currentQueryIndex=0,a.currentQueryTotal=0,a.transformIntoNewTimeline(ne),Pe&&(a.currentTimeline.mergeTimelineCollectedStyles(Pe),a.currentTimeline.snapshotCurrentStyles()),a.previousNode=l}visitStagger(l,a){const g=a.parentContext,x=a.currentTimeline,N=l.timings,ne=Math.abs(N.duration),se=ne*(a.currentQueryTotal-1);let Pe=ne*a.currentQueryIndex;switch(N.duration<0?"reverse":N.easing){case"reverse":Pe=se-Pe;break;case"full":Pe=g.currentStaggerTime}const yt=a.currentTimeline;Pe&&yt.delayNextStep(Pe);const St=yt.currentTime;Qt(this,l.animation,a),a.previousNode=l,g.currentStaggerTime=x.currentTime-St+(x.startTime-g.currentTimeline.startTime)}}const Gi={};class mr{constructor(l,a,g,x,N,ne,se,Pe){this._driver=l,this.element=a,this.subInstructions=g,this._enterClassName=x,this._leaveClassName=N,this.errors=ne,this.timelines=se,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=Gi,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=Pe||new xi(this._driver,a,0),se.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(l,a){if(!l)return;const g=l;let x=this.options;null!=g.duration&&(x.duration=Bt(g.duration)),null!=g.delay&&(x.delay=Bt(g.delay));const N=g.params;if(N){let ne=x.params;ne||(ne=this.options.params={}),Object.keys(N).forEach(se=>{(!a||!ne.hasOwnProperty(se))&&(ne[se]=w(N[se],ne,this.errors))})}}_copyOptions(){const l={};if(this.options){const a=this.options.params;if(a){const g=l.params={};Object.keys(a).forEach(x=>{g[x]=a[x]})}}return l}createSubContext(l=null,a,g){const x=a||this.element,N=new mr(this._driver,x,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(x,g||0));return N.previousNode=this.previousNode,N.currentAnimateTimings=this.currentAnimateTimings,N.options=this._copyOptions(),N.updateOptions(l),N.currentQueryIndex=this.currentQueryIndex,N.currentQueryTotal=this.currentQueryTotal,N.parentContext=this,this.subContextCount++,N}transformIntoNewTimeline(l){return this.previousNode=Gi,this.currentTimeline=this.currentTimeline.fork(this.element,l),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(l,a,g){const x={duration:a??l.duration,delay:this.currentTimeline.currentTime+(g??0)+l.delay,easing:""},N=new wi(this._driver,l.element,l.keyframes,l.preStyleProps,l.postStyleProps,x,l.stretchStartingKeyframe);return this.timelines.push(N),x}incrementTime(l){this.currentTimeline.forwardTime(this.currentTimeline.duration+l)}delayNextStep(l){l>0&&this.currentTimeline.delayNextStep(l)}invokeQuery(l,a,g,x,N,ne){let se=[];if(x&&se.push(this.element),l.length>0){l=(l=l.replace(ci,"."+this._enterClassName)).replace(No,"."+this._leaveClassName);let Xe=this._driver.query(this.element,l,1!=g);0!==g&&(Xe=g<0?Xe.slice(Xe.length+g,Xe.length):Xe.slice(0,g)),se.push(...Xe)}return!N&&0==se.length&&ne.push(function Ae(y){return new d.vHH(3014,!1)}()),se}}class xi{constructor(l,a,g,x){this._driver=l,this.element=a,this.startTime=g,this._elementTimelineStylesLookup=x,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(l){const a=1===this._keyframes.size&&this._pendingStyles.size;this.duration||a?(this.forwardTime(this.currentTime+l),a&&this.snapshotCurrentStyles()):this.startTime+=l}fork(l,a){return this.applyStylesToKeyframe(),new xi(this._driver,l,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(l){this.applyStylesToKeyframe(),this.duration=l,this._loadKeyframe()}_updateStyle(l,a){this._localTimelineStyles.set(l,a),this._globalTimelineStyles.set(l,a),this._styleSummary.set(l,{time:this.currentTime,value:a})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(l){l&&this._previousKeyframe.set("easing",l);for(let[a,g]of this._globalTimelineStyles)this._backFill.set(a,g||z.l3),this._currentKeyframe.set(a,z.l3);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(l,a,g,x){a&&this._previousKeyframe.set("easing",a);const N=x&&x.params||{},ne=function qr(y,l){const a=new Map;let g;return y.forEach(x=>{if("*"===x){g=g||l.keys();for(let N of g)a.set(N,z.l3)}else En(x,a)}),a}(l,this._globalTimelineStyles);for(let[se,Pe]of ne){const Xe=w(Pe,N,g);this._pendingStyles.set(se,Xe),this._localTimelineStyles.has(se)||this._backFill.set(se,this._globalTimelineStyles.get(se)??z.l3),this._updateStyle(se,Xe)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach((l,a)=>{this._currentKeyframe.set(a,l)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((l,a)=>{this._currentKeyframe.has(a)||this._currentKeyframe.set(a,l)}))}snapshotCurrentStyles(){for(let[l,a]of this._localTimelineStyles)this._pendingStyles.set(l,a),this._updateStyle(l,a)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const l=[];for(let a in this._currentKeyframe)l.push(a);return l}mergeTimelineCollectedStyles(l){l._styleSummary.forEach((a,g)=>{const x=this._styleSummary.get(g);(!x||a.time>x.time)&&this._updateStyle(g,a.value)})}buildKeyframes(){this.applyStylesToKeyframe();const l=new Set,a=new Set,g=1===this._keyframes.size&&0===this.duration;let x=[];this._keyframes.forEach((se,Pe)=>{const Xe=En(se,new Map,this._backFill);Xe.forEach((yt,St)=>{yt===z.k1?l.add(St):yt===z.l3&&a.add(St)}),g||Xe.set("offset",Pe/this.duration),x.push(Xe)});const N=l.size?P(l.values()):[],ne=a.size?P(a.values()):[];if(g){const se=x[0],Pe=new Map(se);se.set("offset",0),Pe.set("offset",1),x=[se,Pe]}return ri(this.element,x,N,ne,this.duration,this.startTime,this.easing,!1)}}class wi extends xi{constructor(l,a,g,x,N,ne,se=!1){super(l,a,ne.delay),this.keyframes=g,this.preStyleProps=x,this.postStyleProps=N,this._stretchStartingKeyframe=se,this.timings={duration:ne.duration,delay:ne.delay,easing:ne.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let l=this.keyframes,{delay:a,duration:g,easing:x}=this.timings;if(this._stretchStartingKeyframe&&a){const N=[],ne=g+a,se=a/ne,Pe=En(l[0]);Pe.set("offset",0),N.push(Pe);const Xe=En(l[0]);Xe.set("offset",Ji(se)),N.push(Xe);const yt=l.length-1;for(let St=1;St<=yt;St++){let sn=En(l[St]);const Zt=sn.get("offset");sn.set("offset",Ji((a+Zt*g)/ne)),N.push(sn)}g=ne,a=0,x="",l=N}return ri(this.element,l,this.preStyleProps,this.postStyleProps,g,a,x,!0)}}function Ji(y,l=3){const a=Math.pow(10,l-1);return Math.round(y*a)/a}class Fr{}const Jr=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 _r extends Fr{normalizePropertyName(l,a){return qe(l)}normalizeStyleValue(l,a,g,x){let N="";const ne=g.toString().trim();if(Jr.has(a)&&0!==g&&"0"!==g)if("number"==typeof g)N="px";else{const se=g.match(/^[+-]?[\d\.]+([a-z]*)$/);se&&0==se[1].length&&x.push(function Ue(y,l){return new d.vHH(3005,!1)}())}return ne+N}}function Fi(y,l,a,g,x,N,ne,se,Pe,Xe,yt,St,sn){return{type:0,element:y,triggerName:l,isRemovalTransition:x,fromState:a,fromStyles:N,toState:g,toStyles:ne,timelines:se,queriedElements:Pe,preStyleProps:Xe,postStyleProps:yt,totalTime:St,errors:sn}}const er={};class vr{constructor(l,a,g){this._triggerName=l,this.ast=a,this._stateStyles=g}match(l,a,g,x){return function vi(y,l,a,g,x){return y.some(N=>N(l,a,g,x))}(this.ast.matchers,l,a,g,x)}buildStyles(l,a,g){let x=this._stateStyles.get("*");return void 0!==l&&(x=this._stateStyles.get(l?.toString())||x),x?x.buildStyles(a,g):new Map}build(l,a,g,x,N,ne,se,Pe,Xe,yt){const St=[],sn=this.ast.options&&this.ast.options.params||er,jt=this.buildStyles(g,se&&se.params||er,St),zt=Pe&&Pe.params||er,bn=this.buildStyles(x,zt,St),Pn=new Set,ai=new Map,hi=new Map,Gn="void"===x,cr={params:tr(zt,sn),delay:this.ast.options?.delay},Sr=yt?[]:gr(l,a,this.ast.animation,N,ne,jt,bn,cr,Xe,St);let un=0;if(Sr.forEach(Or=>{un=Math.max(Or.duration+Or.delay,un)}),St.length)return Fi(a,this._triggerName,g,x,Gn,jt,bn,[],[],ai,hi,un,St);Sr.forEach(Or=>{const ur=Or.element,es=Kt(ai,ur,new Set);Or.preStyleProps.forEach(Ao=>es.add(Ao));const Es=Kt(hi,ur,new Set);Or.postStyleProps.forEach(Ao=>Es.add(Ao)),ur!==a&&Pn.add(ur)});const Ar=P(Pn.values());return Fi(a,this._triggerName,g,x,Gn,jt,bn,Sr,Ar,ai,hi,un)}}function tr(y,l){const a=Xt(l);for(const g in y)y.hasOwnProperty(g)&&null!=y[g]&&(a[g]=y[g]);return a}class nr{constructor(l,a,g){this.styles=l,this.defaultParams=a,this.normalizer=g}buildStyles(l,a){const g=new Map,x=Xt(this.defaultParams);return Object.keys(l).forEach(N=>{const ne=l[N];null!==ne&&(x[N]=ne)}),this.styles.styles.forEach(N=>{"string"!=typeof N&&N.forEach((ne,se)=>{ne&&(ne=w(ne,x,a));const Pe=this.normalizer.normalizePropertyName(se,a);ne=this.normalizer.normalizeStyleValue(se,Pe,ne,a),g.set(Pe,ne)})}),g}}class Rr{constructor(l,a,g){this.name=l,this.ast=a,this._normalizer=g,this.transitionFactories=[],this.states=new Map,a.states.forEach(x=>{this.states.set(x.name,new nr(x.style,x.options&&x.options.params||{},g))}),zi(this.states,"true","1"),zi(this.states,"false","0"),a.transitions.forEach(x=>{this.transitionFactories.push(new vr(l,x,this.states))}),this.fallbackTransition=function Bo(y,l,a){return new vr(y,{type:1,animation:{type:2,steps:[],options:null},matchers:[(ne,se)=>!0],options:null,queryCount:0,depCount:0},l)}(l,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(l,a,g,x){return this.transitionFactories.find(ne=>ne.match(l,a,g,x))||null}matchStyles(l,a,g){return this.fallbackTransition.buildStyles(l,a,g)}}function zi(y,l,a){y.has(l)?y.has(a)||y.set(a,y.get(l)):y.has(a)&&y.set(l,y.get(a))}const yr=new pr;class kr{constructor(l,a,g){this.bodyNode=l,this._driver=a,this._normalizer=g,this._animations=new Map,this._playersById=new Map,this.players=[]}register(l,a){const g=[],N=mi(this._driver,a,g,[]);if(g.length)throw function ut(y){return new d.vHH(3503,!1)}();this._animations.set(l,N)}_buildPlayer(l,a,g){const x=l.element,N=rn(0,this._normalizer,0,l.keyframes,a,g);return this._driver.animate(x,N,l.duration,l.delay,l.easing,[],!0)}create(l,a,g={}){const x=[],N=this._animations.get(l);let ne;const se=new Map;if(N?(ne=gr(this._driver,a,N,Re,re,new Map,new Map,g,yr,x),ne.forEach(yt=>{const St=Kt(se,yt.element,new Map);yt.postStyleProps.forEach(sn=>St.set(sn,null))})):(x.push(function Ke(){return new d.vHH(3300,!1)}()),ne=[]),x.length)throw function Et(y){return new d.vHH(3504,!1)}();se.forEach((yt,St)=>{yt.forEach((sn,Zt)=>{yt.set(Zt,this._driver.computeStyle(St,Zt,z.l3))})});const Xe=Wt(ne.map(yt=>{const St=se.get(yt.element);return this._buildPlayer(yt,new Map,St)}));return this._playersById.set(l,Xe),Xe.onDestroy(()=>this.destroy(l)),this.players.push(Xe),Xe}destroy(l){const a=this._getPlayer(l);a.destroy(),this._playersById.delete(l);const g=this.players.indexOf(a);g>=0&&this.players.splice(g,1)}_getPlayer(l){const a=this._playersById.get(l);if(!a)throw function Rt(y){return new d.vHH(3301,!1)}();return a}listen(l,a,g,x){const N=on(a,"","","");return hn(this._getPlayer(l),g,N,x),()=>{}}command(l,a,g,x){if("register"==g)return void this.register(l,x[0]);if("create"==g)return void this.create(l,a,x[0]||{});const N=this._getPlayer(l);switch(g){case"play":N.play();break;case"pause":N.pause();break;case"reset":N.reset();break;case"restart":N.restart();break;case"finish":N.finish();break;case"init":N.init();break;case"setPosition":N.setPosition(parseFloat(x[0]));break;case"destroy":this.destroy(l)}}}const ir="ng-animate-queued",zn="ng-animate-disabled",ss=[],Nr={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},An={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},jn="__ng_removed";class Xr{constructor(l,a=""){this.namespaceId=a;const g=l&&l.hasOwnProperty("value");if(this.value=function me(y){return y??null}(g?l.value:l),g){const N=Xt(l);delete N.value,this.options=N}else this.options={};this.options.params||(this.options.params={})}get params(){return this.options.params}absorbOptions(l){const a=l.params;if(a){const g=this.options.params;Object.keys(a).forEach(x=>{null==g[x]&&(g[x]=a[x])})}}}const oi="void",Xn=new Xr(oi);class A{constructor(l,a,g){this.id=l,this.hostElement=a,this._engine=g,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+l,gt(a,this._hostClassName)}listen(l,a,g,x){if(!this._triggers.has(a))throw function ft(y,l){return new d.vHH(3302,!1)}();if(null==g||0==g.length)throw function ot(y){return new d.vHH(3303,!1)}();if(!function tt(y){return"start"==y||"done"==y}(g))throw function we(y,l){return new d.vHH(3400,!1)}();const N=Kt(this._elementListeners,l,[]),ne={name:a,phase:g,callback:x};N.push(ne);const se=Kt(this._engine.statesByElement,l,new Map);return se.has(a)||(gt(l,oe),gt(l,oe+"-"+a),se.set(a,Xn)),()=>{this._engine.afterFlush(()=>{const Pe=N.indexOf(ne);Pe>=0&&N.splice(Pe,1),this._triggers.has(a)||se.delete(a)})}}register(l,a){return!this._triggers.has(l)&&(this._triggers.set(l,a),!0)}_getTrigger(l){const a=this._triggers.get(l);if(!a)throw function pt(y){return new d.vHH(3401,!1)}();return a}trigger(l,a,g,x=!0){const N=this._getTrigger(a),ne=new S(this.id,a,l);let se=this._engine.statesByElement.get(l);se||(gt(l,oe),gt(l,oe+"-"+a),this._engine.statesByElement.set(l,se=new Map));let Pe=se.get(a);const Xe=new Xr(g,this.id);if(!(g&&g.hasOwnProperty("value"))&&Pe&&Xe.absorbOptions(Pe.options),se.set(a,Xe),Pe||(Pe=Xn),Xe.value!==oi&&Pe.value===Xe.value){if(!function Pi(y,l){const a=Object.keys(y),g=Object.keys(l);if(a.length!=g.length)return!1;for(let x=0;x<a.length;x++){const N=a[x];if(!l.hasOwnProperty(N)||y[N]!==l[N])return!1}return!0}(Pe.params,Xe.params)){const zt=[],bn=N.matchStyles(Pe.value,Pe.params,zt),Pn=N.matchStyles(Xe.value,Xe.params,zt);zt.length?this._engine.reportError(zt):this._engine.afterFlush(()=>{F(l,bn),et(l,Pn)})}return}const sn=Kt(this._engine.playersByElement,l,[]);sn.forEach(zt=>{zt.namespaceId==this.id&&zt.triggerName==a&&zt.queued&&zt.destroy()});let Zt=N.matchTransition(Pe.value,Xe.value,l,Xe.params),jt=!1;if(!Zt){if(!x)return;Zt=N.fallbackTransition,jt=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:l,triggerName:a,transition:Zt,fromState:Pe,toState:Xe,player:ne,isFallbackTransition:jt}),jt||(gt(l,ir),ne.onStart(()=>{Yt(l,ir)})),ne.onDone(()=>{let zt=this.players.indexOf(ne);zt>=0&&this.players.splice(zt,1);const bn=this._engine.playersByElement.get(l);if(bn){let Pn=bn.indexOf(ne);Pn>=0&&bn.splice(Pn,1)}}),this.players.push(ne),sn.push(ne),ne}deregister(l){this._triggers.delete(l),this._engine.statesByElement.forEach(a=>a.delete(l)),this._elementListeners.forEach((a,g)=>{this._elementListeners.set(g,a.filter(x=>x.name!=l))})}clearElementCache(l){this._engine.statesByElement.delete(l),this._elementListeners.delete(l);const a=this._engine.playersByElement.get(l);a&&(a.forEach(g=>g.destroy()),this._engine.playersByElement.delete(l))}_signalRemovalForInnerTriggers(l,a){const g=this._engine.driver.query(l,Ne,!0);g.forEach(x=>{if(x[jn])return;const N=this._engine.fetchNamespacesByElement(x);N.size?N.forEach(ne=>ne.triggerLeaveAnimation(x,a,!1,!0)):this.clearElementCache(x)}),this._engine.afterFlushAnimationsDone(()=>g.forEach(x=>this.clearElementCache(x)))}triggerLeaveAnimation(l,a,g,x){const N=this._engine.statesByElement.get(l),ne=new Map;if(N){const se=[];if(N.forEach((Pe,Xe)=>{if(ne.set(Xe,Pe.value),this._triggers.has(Xe)){const yt=this.trigger(l,Xe,oi,x);yt&&se.push(yt)}}),se.length)return this._engine.markElementAsRemoved(this.id,l,!0,a,ne),g&&Wt(se).onDone(()=>this._engine.processLeaveNode(l)),!0}return!1}prepareLeaveAnimationListeners(l){const a=this._elementListeners.get(l),g=this._engine.statesByElement.get(l);if(a&&g){const x=new Set;a.forEach(N=>{const ne=N.name;if(x.has(ne))return;x.add(ne);const Pe=this._triggers.get(ne).fallbackTransition,Xe=g.get(ne)||Xn,yt=new Xr(oi),St=new S(this.id,ne,l);this._engine.totalQueuedPlayers++,this._queue.push({element:l,triggerName:ne,transition:Pe,fromState:Xe,toState:yt,player:St,isFallbackTransition:!0})})}}removeNode(l,a){const g=this._engine;if(l.childElementCount&&this._signalRemovalForInnerTriggers(l,a),this.triggerLeaveAnimation(l,a,!0))return;let x=!1;if(g.totalAnimations){const N=g.players.length?g.playersByQueriedElement.get(l):[];if(N&&N.length)x=!0;else{let ne=l;for(;ne=ne.parentNode;)if(g.statesByElement.get(ne)){x=!0;break}}}if(this.prepareLeaveAnimationListeners(l),x)g.markElementAsRemoved(this.id,l,!1,a);else{const N=l[jn];(!N||N===Nr)&&(g.afterFlush(()=>this.clearElementCache(l)),g.destroyInnerAnimations(l),g._onRemovalComplete(l,a))}}insertNode(l,a){gt(l,this._hostClassName)}drainQueuedTransitions(l){const a=[];return this._queue.forEach(g=>{const x=g.player;if(x.destroyed)return;const N=g.element,ne=this._elementListeners.get(N);ne&&ne.forEach(se=>{if(se.name==g.triggerName){const Pe=on(N,g.triggerName,g.fromState.value,g.toState.value);Pe._data=l,hn(g.player,se.phase,Pe,se.callback)}}),x.markedForDestroy?this._engine.afterFlush(()=>{x.destroy()}):a.push(g)}),this._queue=[],a.sort((g,x)=>{const N=g.transition.ast.depCount,ne=x.transition.ast.depCount;return 0==N||0==ne?N-ne:this._engine.driver.containsElement(g.element,x.element)?1:-1})}destroy(l){this.players.forEach(a=>a.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,l)}elementContainsData(l){let a=!1;return this._elementListeners.has(l)&&(a=!0),a=!!this._queue.find(g=>g.element===l)||a,a}}class L{constructor(l,a,g){this.bodyNode=l,this.driver=a,this._normalizer=g,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=(x,N)=>{}}_onRemovalComplete(l,a){this.onRemovalComplete(l,a)}get queuedPlayers(){const l=[];return this._namespaceList.forEach(a=>{a.players.forEach(g=>{g.queued&&l.push(g)})}),l}createNamespace(l,a){const g=new A(l,a,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,a)?this._balanceNamespaceList(g,a):(this.newHostElements.set(a,g),this.collectEnterElement(a)),this._namespaceLookup[l]=g}_balanceNamespaceList(l,a){const g=this._namespaceList,x=this.namespacesByHostElement;if(g.length-1>=0){let ne=!1,se=this.driver.getParentElement(a);for(;se;){const Pe=x.get(se);if(Pe){const Xe=g.indexOf(Pe);g.splice(Xe+1,0,l),ne=!0;break}se=this.driver.getParentElement(se)}ne||g.unshift(l)}else g.push(l);return x.set(a,l),l}register(l,a){let g=this._namespaceLookup[l];return g||(g=this.createNamespace(l,a)),g}registerTrigger(l,a,g){let x=this._namespaceLookup[l];x&&x.register(a,g)&&this.totalAnimations++}destroy(l,a){if(!l)return;const g=this._fetchNamespace(l);this.afterFlush(()=>{this.namespacesByHostElement.delete(g.hostElement),delete this._namespaceLookup[l];const x=this._namespaceList.indexOf(g);x>=0&&this._namespaceList.splice(x,1)}),this.afterFlushAnimationsDone(()=>g.destroy(a))}_fetchNamespace(l){return this._namespaceLookup[l]}fetchNamespacesByElement(l){const a=new Set,g=this.statesByElement.get(l);if(g)for(let x of g.values())if(x.namespaceId){const N=this._fetchNamespace(x.namespaceId);N&&a.add(N)}return a}trigger(l,a,g,x){if(Ye(a)){const N=this._fetchNamespace(l);if(N)return N.trigger(a,g,x),!0}return!1}insertNode(l,a,g,x){if(!Ye(a))return;const N=a[jn];if(N&&N.setForRemoval){N.setForRemoval=!1,N.setForMove=!0;const ne=this.collectedLeaveElements.indexOf(a);ne>=0&&this.collectedLeaveElements.splice(ne,1)}if(l){const ne=this._fetchNamespace(l);ne&&ne.insertNode(a,g)}x&&this.collectEnterElement(a)}collectEnterElement(l){this.collectedEnterElements.push(l)}markElementAsDisabled(l,a){a?this.disabledNodes.has(l)||(this.disabledNodes.add(l),gt(l,zn)):this.disabledNodes.has(l)&&(this.disabledNodes.delete(l),Yt(l,zn))}removeNode(l,a,g,x){if(Ye(a)){const N=l?this._fetchNamespace(l):null;if(N?N.removeNode(a,x):this.markElementAsRemoved(l,a,!1,x),g){const ne=this.namespacesByHostElement.get(a);ne&&ne.id!==l&&ne.removeNode(a,x)}}else this._onRemovalComplete(a,x)}markElementAsRemoved(l,a,g,x,N){this.collectedLeaveElements.push(a),a[jn]={namespaceId:l,setForRemoval:x,hasAnimation:g,removedBeforeQueried:!1,previousTriggersValues:N}}listen(l,a,g,x,N){return Ye(a)?this._fetchNamespace(l).listen(a,g,x,N):()=>{}}_buildInstruction(l,a,g,x,N){return l.transition.build(this.driver,l.element,l.fromState.value,l.toState.value,g,x,l.fromState.options,l.toState.options,a,N)}destroyInnerAnimations(l){let a=this.driver.query(l,Ne,!0);a.forEach(g=>this.destroyActiveAnimationsForElement(g)),0!=this.playersByQueriedElement.size&&(a=this.driver.query(l,Ft,!0),a.forEach(g=>this.finishActiveQueriedAnimationOnElement(g)))}destroyActiveAnimationsForElement(l){const a=this.playersByElement.get(l);a&&a.forEach(g=>{g.queued?g.markedForDestroy=!0:g.destroy()})}finishActiveQueriedAnimationOnElement(l){const a=this.playersByQueriedElement.get(l);a&&a.forEach(g=>g.finish())}whenRenderingDone(){return new Promise(l=>{if(this.players.length)return Wt(this.players).onDone(()=>l());l()})}processLeaveNode(l){const a=l[jn];if(a&&a.setForRemoval){if(l[jn]=Nr,a.namespaceId){this.destroyInnerAnimations(l);const g=this._fetchNamespace(a.namespaceId);g&&g.clearElementCache(l)}this._onRemovalComplete(l,a.setForRemoval)}l.classList?.contains(zn)&&this.markElementAsDisabled(l,!1),this.driver.query(l,".ng-animate-disabled",!0).forEach(g=>{this.markElementAsDisabled(g,!1)})}flush(l=-1){let a=[];if(this.newHostElements.size&&(this.newHostElements.forEach((g,x)=>this._balanceNamespaceList(g,x)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let g=0;g<this.collectedEnterElements.length;g++)gt(this.collectedEnterElements[g],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){const g=[];try{a=this._flushAnimations(g,l)}finally{for(let x=0;x<g.length;x++)g[x]()}}else for(let g=0;g<this.collectedLeaveElements.length;g++)this.processLeaveNode(this.collectedLeaveElements[g]);if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(g=>g()),this._flushFns=[],this._whenQuietFns.length){const g=this._whenQuietFns;this._whenQuietFns=[],a.length?Wt(a).onDone(()=>{g.forEach(x=>x())}):g.forEach(x=>x())}}reportError(l){throw function De(y){return new d.vHH(3402,!1)}()}_flushAnimations(l,a){const g=new pr,x=[],N=new Map,ne=[],se=new Map,Pe=new Map,Xe=new Map,yt=new Set;this.disabledNodes.forEach(xt=>{yt.add(xt);const Nt=this.driver.query(xt,".ng-animate-queued",!0);for(let Ht=0;Ht<Nt.length;Ht++)yt.add(Nt[Ht])});const St=this.bodyNode,sn=Array.from(this.statesByElement.keys()),Zt=fn(sn,this.collectedEnterElements),jt=new Map;let zt=0;Zt.forEach((xt,Nt)=>{const Ht=Re+zt++;jt.set(Nt,Ht),xt.forEach(pn=>gt(pn,Ht))});const bn=[],Pn=new Set,ai=new Set;for(let xt=0;xt<this.collectedLeaveElements.length;xt++){const Nt=this.collectedLeaveElements[xt],Ht=Nt[jn];Ht&&Ht.setForRemoval&&(bn.push(Nt),Pn.add(Nt),Ht.hasAnimation?this.driver.query(Nt,".ng-star-inserted",!0).forEach(pn=>Pn.add(pn)):ai.add(Nt))}const hi=new Map,Gn=fn(sn,Array.from(Pn));Gn.forEach((xt,Nt)=>{const Ht=re+zt++;hi.set(Nt,Ht),xt.forEach(pn=>gt(pn,Ht))}),l.push(()=>{Zt.forEach((xt,Nt)=>{const Ht=jt.get(Nt);xt.forEach(pn=>Yt(pn,Ht))}),Gn.forEach((xt,Nt)=>{const Ht=hi.get(Nt);xt.forEach(pn=>Yt(pn,Ht))}),bn.forEach(xt=>{this.processLeaveNode(xt)})});const cr=[],Sr=[];for(let xt=this._namespaceList.length-1;xt>=0;xt--)this._namespaceList[xt].drainQueuedTransitions(a).forEach(Ht=>{const pn=Ht.player,ni=Ht.element;if(cr.push(pn),this.collectedEnterElements.length){const Kn=ni[jn];if(Kn&&Kn.setForMove){if(Kn.previousTriggersValues&&Kn.previousTriggersValues.has(Ht.triggerName)){const Oo=Kn.previousTriggersValues.get(Ht.triggerName),dr=this.statesByElement.get(Ht.element);if(dr&&dr.has(Ht.triggerName)){const ws=dr.get(Ht.triggerName);ws.value=Oo,dr.set(Ht.triggerName,ws)}}return void pn.destroy()}}const Ti=!St||!this.driver.containsElement(St,ni),fi=hi.get(ni),Gr=jt.get(ni),Ln=this._buildInstruction(Ht,g,Gr,fi,Ti);if(Ln.errors&&Ln.errors.length)return void Sr.push(Ln);if(Ti)return pn.onStart(()=>F(ni,Ln.fromStyles)),pn.onDestroy(()=>et(ni,Ln.toStyles)),void x.push(pn);if(Ht.isFallbackTransition)return pn.onStart(()=>F(ni,Ln.fromStyles)),pn.onDestroy(()=>et(ni,Ln.toStyles)),void x.push(pn);const hl=[];Ln.timelines.forEach(Kn=>{Kn.stretchStartingKeyframe=!0,this.disabledNodes.has(Kn.element)||hl.push(Kn)}),Ln.timelines=hl,g.append(ni,Ln.timelines),ne.push({instruction:Ln,player:pn,element:ni}),Ln.queriedElements.forEach(Kn=>Kt(se,Kn,[]).push(pn)),Ln.preStyleProps.forEach((Kn,Oo)=>{if(Kn.size){let dr=Pe.get(Oo);dr||Pe.set(Oo,dr=new Set),Kn.forEach((ws,ka)=>dr.add(ka))}}),Ln.postStyleProps.forEach((Kn,Oo)=>{let dr=Xe.get(Oo);dr||Xe.set(Oo,dr=new Set),Kn.forEach((ws,ka)=>dr.add(ka))})});if(Sr.length){const xt=[];Sr.forEach(Nt=>{xt.push(function ge(y,l){return new d.vHH(3505,!1)}())}),cr.forEach(Nt=>Nt.destroy()),this.reportError(xt)}const un=new Map,Ar=new Map;ne.forEach(xt=>{const Nt=xt.element;g.has(Nt)&&(Ar.set(Nt,Nt),this._beforeAnimationBuild(xt.player.namespaceId,xt.instruction,un))}),x.forEach(xt=>{const Nt=xt.element;this._getPreviousPlayers(Nt,!1,xt.namespaceId,xt.triggerName,null).forEach(pn=>{Kt(un,Nt,[]).push(pn),pn.destroy()})});const Or=bn.filter(xt=>si(xt,Pe,Xe)),ur=new Map;cn(ur,this.driver,ai,Xe,z.l3).forEach(xt=>{si(xt,Pe,Xe)&&Or.push(xt)});const Es=new Map;Zt.forEach((xt,Nt)=>{cn(Es,this.driver,new Set(xt),Pe,z.k1)}),Or.forEach(xt=>{const Nt=ur.get(xt),Ht=Es.get(xt);ur.set(xt,new Map([...Array.from(Nt?.entries()??[]),...Array.from(Ht?.entries()??[])]))});const Ao=[],dl=[],Js={};ne.forEach(xt=>{const{element:Nt,player:Ht,instruction:pn}=xt;if(g.has(Nt)){if(yt.has(Nt))return Ht.onDestroy(()=>et(Nt,pn.toStyles)),Ht.disabled=!0,Ht.overrideTotalTime(pn.totalTime),void x.push(Ht);let ni=Js;if(Ar.size>1){let fi=Nt;const Gr=[];for(;fi=fi.parentNode;){const Ln=Ar.get(fi);if(Ln){ni=Ln;break}Gr.push(fi)}Gr.forEach(Ln=>Ar.set(Ln,ni))}const Ti=this._buildAnimation(Ht.namespaceId,pn,un,N,Es,ur);if(Ht.setRealPlayer(Ti),ni===Js)Ao.push(Ht);else{const fi=this.playersByElement.get(ni);fi&&fi.length&&(Ht.parentPlayer=Wt(fi)),x.push(Ht)}}else F(Nt,pn.fromStyles),Ht.onDestroy(()=>et(Nt,pn.toStyles)),dl.push(Ht),yt.has(Nt)&&x.push(Ht)}),dl.forEach(xt=>{const Nt=N.get(xt.element);if(Nt&&Nt.length){const Ht=Wt(Nt);xt.setRealPlayer(Ht)}}),x.forEach(xt=>{xt.parentPlayer?xt.syncPlayerEvents(xt.parentPlayer):xt.destroy()});for(let xt=0;xt<bn.length;xt++){const Nt=bn[xt],Ht=Nt[jn];if(Yt(Nt,re),Ht&&Ht.hasAnimation)continue;let pn=[];if(se.size){let Ti=se.get(Nt);Ti&&Ti.length&&pn.push(...Ti);let fi=this.driver.query(Nt,Ft,!0);for(let Gr=0;Gr<fi.length;Gr++){let Ln=se.get(fi[Gr]);Ln&&Ln.length&&pn.push(...Ln)}}const ni=pn.filter(Ti=>!Ti.destroyed);ni.length?Rn(this,Nt,ni):this.processLeaveNode(Nt)}return bn.length=0,Ao.forEach(xt=>{this.players.push(xt),xt.onDone(()=>{xt.destroy();const Nt=this.players.indexOf(xt);this.players.splice(Nt,1)}),xt.play()}),Ao}elementContainsData(l,a){let g=!1;const x=a[jn];return x&&x.setForRemoval&&(g=!0),this.playersByElement.has(a)&&(g=!0),this.playersByQueriedElement.has(a)&&(g=!0),this.statesByElement.has(a)&&(g=!0),this._fetchNamespace(l).elementContainsData(a)||g}afterFlush(l){this._flushFns.push(l)}afterFlushAnimationsDone(l){this._whenQuietFns.push(l)}_getPreviousPlayers(l,a,g,x,N){let ne=[];if(a){const se=this.playersByQueriedElement.get(l);se&&(ne=se)}else{const se=this.playersByElement.get(l);if(se){const Pe=!N||N==oi;se.forEach(Xe=>{Xe.queued||!Pe&&Xe.triggerName!=x||ne.push(Xe)})}}return(g||x)&&(ne=ne.filter(se=>!(g&&g!=se.namespaceId||x&&x!=se.triggerName))),ne}_beforeAnimationBuild(l,a,g){const N=a.element,ne=a.isRemovalTransition?void 0:l,se=a.isRemovalTransition?void 0:a.triggerName;for(const Pe of a.timelines){const Xe=Pe.element,yt=Xe!==N,St=Kt(g,Xe,[]);this._getPreviousPlayers(Xe,yt,ne,se,a.toState).forEach(Zt=>{const jt=Zt.getRealPlayer();jt.beforeDestroy&&jt.beforeDestroy(),Zt.destroy(),St.push(Zt)})}F(N,a.fromStyles)}_buildAnimation(l,a,g,x,N,ne){const se=a.triggerName,Pe=a.element,Xe=[],yt=new Set,St=new Set,sn=a.timelines.map(jt=>{const zt=jt.element;yt.add(zt);const bn=zt[jn];if(bn&&bn.removedBeforeQueried)return new z.ZN(jt.duration,jt.delay);const Pn=zt!==Pe,ai=function Cn(y){const l=[];return Nn(y,l),l}((g.get(zt)||ss).map(un=>un.getRealPlayer())).filter(un=>!!un.element&&un.element===zt),hi=N.get(zt),Gn=ne.get(zt),cr=rn(0,this._normalizer,0,jt.keyframes,hi,Gn),Sr=this._buildPlayer(jt,cr,ai);if(jt.subTimeline&&x&&St.add(zt),Pn){const un=new S(l,se,zt);un.setRealPlayer(Sr),Xe.push(un)}return Sr});Xe.forEach(jt=>{Kt(this.playersByQueriedElement,jt.element,[]).push(jt),jt.onDone(()=>function j(y,l,a){let g=y.get(l);if(g){if(g.length){const x=g.indexOf(a);g.splice(x,1)}0==g.length&&y.delete(l)}return g}(this.playersByQueriedElement,jt.element,jt))}),yt.forEach(jt=>gt(jt,Dt));const Zt=Wt(sn);return Zt.onDestroy(()=>{yt.forEach(jt=>Yt(jt,Dt)),et(Pe,a.toStyles)}),St.forEach(jt=>{Kt(x,jt,[]).push(Zt)}),Zt}_buildPlayer(l,a,g){return a.length>0?this.driver.animate(l.element,a,l.duration,l.delay,l.easing,g):new z.ZN(l.duration,l.delay)}}class S{constructor(l,a,g){this.namespaceId=l,this.triggerName=a,this.element=g,this._player=new z.ZN,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(l){this._containsRealPlayer||(this._player=l,this._queuedCallbacks.forEach((a,g)=>{a.forEach(x=>hn(l,g,void 0,x))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(l.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(l){this.totalTime=l}syncPlayerEvents(l){const a=this._player;a.triggerCallback&&l.onStart(()=>a.triggerCallback("start")),l.onDone(()=>this.finish()),l.onDestroy(()=>this.destroy())}_queueEvent(l,a){Kt(this._queuedCallbacks,l,[]).push(a)}onDone(l){this.queued&&this._queueEvent("done",l),this._player.onDone(l)}onStart(l){this.queued&&this._queueEvent("start",l),this._player.onStart(l)}onDestroy(l){this.queued&&this._queueEvent("destroy",l),this._player.onDestroy(l)}init(){this._player.init()}hasStarted(){return!this.queued&&this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(l){this.queued||this._player.setPosition(l)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(l){const a=this._player;a.triggerCallback&&a.triggerCallback(l)}}function Ye(y){return y&&1===y.nodeType}function Mt(y,l){const a=y.style.display;return y.style.display=l??"none",a}function cn(y,l,a,g,x){const N=[];a.forEach(Pe=>N.push(Mt(Pe)));const ne=[];g.forEach((Pe,Xe)=>{const yt=new Map;Pe.forEach(St=>{const sn=l.computeStyle(Xe,St,x);yt.set(St,sn),(!sn||0==sn.length)&&(Xe[jn]=An,ne.push(Xe))}),y.set(Xe,yt)});let se=0;return a.forEach(Pe=>Mt(Pe,N[se++])),ne}function fn(y,l){const a=new Map;if(y.forEach(se=>a.set(se,[])),0==l.length)return a;const x=new Set(l),N=new Map;function ne(se){if(!se)return 1;let Pe=N.get(se);if(Pe)return Pe;const Xe=se.parentNode;return Pe=a.has(Xe)?Xe:x.has(Xe)?1:ne(Xe),N.set(se,Pe),Pe}return l.forEach(se=>{const Pe=ne(se);1!==Pe&&a.get(Pe).push(se)}),a}function gt(y,l){y.classList?.add(l)}function Yt(y,l){y.classList?.remove(l)}function Rn(y,l,a){Wt(a).onDone(()=>y.processLeaveNode(l))}function Nn(y,l){for(let a=0;a<y.length;a++){const g=y[a];g instanceof z.ZE?Nn(g.players,l):l.push(g)}}function si(y,l,a){const g=a.get(y);if(!g)return!1;let x=l.get(y);return x?g.forEach(N=>x.add(N)):l.set(y,g),a.delete(y),!0}class Yi{constructor(l,a,g){this.bodyNode=l,this._driver=a,this._normalizer=g,this._triggerCache={},this.onRemovalComplete=(x,N)=>{},this._transitionEngine=new L(l,a,g),this._timelineEngine=new kr(l,a,g),this._transitionEngine.onRemovalComplete=(x,N)=>this.onRemovalComplete(x,N)}registerTrigger(l,a,g,x,N){const ne=l+"-"+x;let se=this._triggerCache[ne];if(!se){const Pe=[],yt=mi(this._driver,N,Pe,[]);if(Pe.length)throw function ke(y,l){return new d.vHH(3404,!1)}();se=function di(y,l,a){return new Rr(y,l,a)}(x,yt,this._normalizer),this._triggerCache[ne]=se}this._transitionEngine.registerTrigger(a,x,se)}register(l,a){this._transitionEngine.register(l,a)}destroy(l,a){this._transitionEngine.destroy(l,a)}onInsert(l,a,g,x){this._transitionEngine.insertNode(l,a,g,x)}onRemove(l,a,g,x){this._transitionEngine.removeNode(l,a,x||!1,g)}disableAnimations(l,a){this._transitionEngine.markElementAsDisabled(l,a)}process(l,a,g,x){if("@"==g.charAt(0)){const[N,ne]=gn(g);this._timelineEngine.command(N,a,ne,x)}else this._transitionEngine.trigger(l,a,g,x)}listen(l,a,g,x,N){if("@"==g.charAt(0)){const[ne,se]=gn(g);return this._timelineEngine.listen(ne,a,se,N)}return this._transitionEngine.listen(l,a,g,x,N)}flush(l=-1){this._transitionEngine.flush(l)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}let rt=(()=>{class y{constructor(a,g,x){this._element=a,this._startStyles=g,this._endStyles=x,this._state=0;let N=y.initialStylesByElement.get(a);N||y.initialStylesByElement.set(a,N=new Map),this._initialStyles=N}start(){this._state<1&&(this._startStyles&&et(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(et(this._element,this._initialStyles),this._endStyles&&(et(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(y.initialStylesByElement.delete(this._element),this._startStyles&&(F(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(F(this._element,this._endStyles),this._endStyles=null),et(this._element,this._initialStyles),this._state=3)}}return y.initialStylesByElement=new WeakMap,y})();function Gt(y){let l=null;return y.forEach((a,g)=>{(function Lr(y){return"display"===y||"position"===y})(g)&&(l=l||new Map,l.set(g,a))}),l}class Vo{constructor(l,a,g,x){this.element=l,this.keyframes=a,this.options=g,this._specialStyles=x,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=g.duration,this._delay=g.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(l=>l()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const l=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,l,this.options),this._finalKeyframe=l.length?l[l.length-1]:new Map,this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(l){const a=[];return l.forEach(g=>{a.push(Object.fromEntries(g))}),a}_triggerWebAnimation(l,a,g){return l.animate(this._convertKeyframesToObject(a),g)}onStart(l){this._originalOnStartFns.push(l),this._onStartFns.push(l)}onDone(l){this._originalOnDoneFns.push(l),this._onDoneFns.push(l)}onDestroy(l){this._onDestroyFns.push(l)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(l=>l()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1,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(l=>l()),this._onDestroyFns=[])}setPosition(l){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=l*this.time}getPosition(){return this.domPlayer.currentTime/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const l=new Map;this.hasStarted()&&this._finalKeyframe.forEach((g,x)=>{"offset"!==x&&l.set(x,this._finished?g:Mn(this.element,x))}),this.currentSnapshot=l}triggerCallback(l){const a="start"===l?this._onStartFns:this._onDoneFns;a.forEach(g=>g()),a.length=0}}class Un{validateStyleProperty(l){return!0}validateAnimatableStyleProperty(l){return!0}matchesElement(l,a){return!1}containsElement(l,a){return fe(l,a)}getParentElement(l){return H(l)}query(l,a,g){return $e(l,a,g)}computeStyle(l,a,g){return window.getComputedStyle(l)[a]}animate(l,a,g,x,N,ne=[]){const Pe={duration:g,delay:x,fill:0==x?"both":"forwards"};N&&(Pe.easing=N);const Xe=new Map,yt=ne.filter(Zt=>Zt instanceof Vo);(function Vt(y,l){return 0===y||0===l})(g,x)&&yt.forEach(Zt=>{Zt.currentSnapshot.forEach((jt,zt)=>Xe.set(zt,jt))});let St=function Sn(y){return y.length?y[0]instanceof Map?y:y.map(l=>In(l)):[]}(a).map(Zt=>En(Zt));St=function Tt(y,l,a){if(a.size&&l.length){let g=l[0],x=[];if(a.forEach((N,ne)=>{g.has(ne)||x.push(ne),g.set(ne,N)}),x.length)for(let N=1;N<l.length;N++){let ne=l[N];x.forEach(se=>ne.set(se,Mn(y,se)))}}return l}(l,St,Xe);const sn=function Ri(y,l){let a=null,g=null;return Array.isArray(l)&&l.length?(a=Gt(l[0]),l.length>1&&(g=Gt(l[l.length-1]))):l instanceof Map&&(a=Gt(l)),a||g?new rt(y,a,g):null}(l,St);return new Vo(l,St,Pe,sn)}}let as=(()=>{class y extends z._j{constructor(a,g){super(),this._nextAnimationId=0,this._renderer=a.createRenderer(g.body,{id:"0",encapsulation:d.ifc.None,styles:[],data:{animation:[]}})}build(a){const g=this._nextAnimationId.toString();this._nextAnimationId++;const x=Array.isArray(a)?(0,z.vP)(a):a;return Ho(this._renderer,null,g,"register",[x]),new eo(g,this._renderer)}}return y.\u0275fac=function(a){return new(a||y)(d.LFG(d.FYo),d.LFG(J.K0))},y.\u0275prov=d.Yz7({token:y,factory:y.\u0275fac}),y})();class eo extends z.LC{constructor(l,a){super(),this._id=l,this._renderer=a}create(l,a){return new ki(this._id,l,a||{},this._renderer)}}class ki{constructor(l,a,g,x){this.id=l,this.element=a,this._renderer=x,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",g)}_listen(l,a){return this._renderer.listen(this.element,`@@${this.id}:${l}`,a)}_command(l,...a){return Ho(this._renderer,this.element,this.id,l,a)}onDone(l){this._listen("done",l)}onStart(l){this._listen("start",l)}onDestroy(l){this._listen("destroy",l)}init(){this._command("init")}hasStarted(){return this._started}play(){this._command("play"),this._started=!0}pause(){this._command("pause")}restart(){this._command("restart")}finish(){this._command("finish")}destroy(){this._command("destroy")}reset(){this._command("reset"),this._started=!1}setPosition(l){this._command("setPosition",l)}getPosition(){return this._renderer.engine.players[+this.id]?.getPosition()??0}}function Ho(y,l,a,g,x){return y.setProperty(l,`@@${a}:${g}`,x)}const O="@.disabled";let M=(()=>{class y{constructor(a,g,x){this.delegate=a,this.engine=g,this._zone=x,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),g.onRemovalComplete=(N,ne)=>{const se=ne?.parentNode(N);se&&ne.removeChild(se,N)}}createRenderer(a,g){const N=this.delegate.createRenderer(a,g);if(!(a&&g&&g.data&&g.data.animation)){let yt=this._rendererCache.get(N);return yt||(yt=new E("",N,this.engine),this._rendererCache.set(N,yt)),yt}const ne=g.id,se=g.id+"-"+this._currentId;this._currentId++,this.engine.register(se,a);const Pe=yt=>{Array.isArray(yt)?yt.forEach(Pe):this.engine.registerTrigger(ne,se,a,yt.name,yt)};return g.data.animation.forEach(Pe),new U(this,se,N,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then(()=>{this._microtaskId++})}scheduleListenerCallback(a,g,x){a>=0&&a<this._microtaskId?this._zone.run(()=>g(x)):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(N=>{const[ne,se]=N;ne(se)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([g,x]))}end(){this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}}return y.\u0275fac=function(a){return new(a||y)(d.LFG(d.FYo),d.LFG(Yi),d.LFG(d.R0b))},y.\u0275prov=d.Yz7({token:y,factory:y.\u0275fac}),y})();class E{constructor(l,a,g){this.namespaceId=l,this.delegate=a,this.engine=g,this.destroyNode=this.delegate.destroyNode?x=>a.destroyNode(x):null}get data(){return this.delegate.data}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy()}createElement(l,a){return this.delegate.createElement(l,a)}createComment(l){return this.delegate.createComment(l)}createText(l){return this.delegate.createText(l)}appendChild(l,a){this.delegate.appendChild(l,a),this.engine.onInsert(this.namespaceId,a,l,!1)}insertBefore(l,a,g,x=!0){this.delegate.insertBefore(l,a,g),this.engine.onInsert(this.namespaceId,a,l,x)}removeChild(l,a,g){this.engine.onRemove(this.namespaceId,a,this.delegate,g)}selectRootElement(l,a){return this.delegate.selectRootElement(l,a)}parentNode(l){return this.delegate.parentNode(l)}nextSibling(l){return this.delegate.nextSibling(l)}setAttribute(l,a,g,x){this.delegate.setAttribute(l,a,g,x)}removeAttribute(l,a,g){this.delegate.removeAttribute(l,a,g)}addClass(l,a){this.delegate.addClass(l,a)}removeClass(l,a){this.delegate.removeClass(l,a)}setStyle(l,a,g,x){this.delegate.setStyle(l,a,g,x)}removeStyle(l,a,g){this.delegate.removeStyle(l,a,g)}setProperty(l,a,g){"@"==a.charAt(0)&&a==O?this.disableAnimations(l,!!g):this.delegate.setProperty(l,a,g)}setValue(l,a){this.delegate.setValue(l,a)}listen(l,a,g){return this.delegate.listen(l,a,g)}disableAnimations(l,a){this.engine.disableAnimations(l,a)}}class U extends E{constructor(l,a,g,x){super(a,g,x),this.factory=l,this.namespaceId=a}setProperty(l,a,g){"@"==a.charAt(0)?"."==a.charAt(1)&&a==O?this.disableAnimations(l,g=void 0===g||!!g):this.engine.process(this.namespaceId,l,a.slice(1),g):this.delegate.setProperty(l,a,g)}listen(l,a,g){if("@"==a.charAt(0)){const x=function ze(y){switch(y){case"body":return document.body;case"document":return document;case"window":return window;default:return y}}(l);let N=a.slice(1),ne="";return"@"!=N.charAt(0)&&([N,ne]=function At(y){const l=y.indexOf(".");return[y.substring(0,l),y.slice(l+1)]}(N)),this.engine.listen(this.namespaceId,x,N,ne,se=>{this.factory.scheduleListenerCallback(se._data||-1,g,se)})}return this.delegate.listen(l,a,g)}}const rr=[{provide:z._j,useClass:as},{provide:Fr,useFactory:function Wn(){return new _r}},{provide:Yi,useClass:(()=>{class y extends Yi{constructor(a,g,x,N){super(a.body,g,x)}ngOnDestroy(){this.flush()}}return y.\u0275fac=function(a){return new(a||y)(d.LFG(J.K0),d.LFG(it),d.LFG(Fr),d.LFG(d.z2F))},y.\u0275prov=d.Yz7({token:y,factory:y.\u0275fac}),y})()},{provide:d.FYo,useFactory:function ei(y,l,a){return new M(y,l,a)},deps:[r.se,Yi,d.R0b]}],or=[{provide:it,useFactory:()=>new Un},{provide:d.QbO,useValue:"BrowserAnimations"},...rr],to=[{provide:it,useClass:mt},{provide:d.QbO,useValue:"NoopAnimations"},...rr];let go=(()=>{class y{static withConfig(a){return{ngModule:y,providers:a.disableAnimations?to:or}}}return y.\u0275fac=function(a){return new(a||y)},y.\u0275mod=d.oAB({type:y}),y.\u0275inj=d.cJS({providers:or,imports:[r.b2]}),y})();var Ni=D(8729),Er=D(7579),ls=D(2722),cs=D(6985),jo=D(5412),Ls=D(4405);let mo=(()=>{class y{constructor(a){this.dialogRef=a,this.config=new cs.O,this.config.title="There is a new update available",this.config.hideMoreButton=!0}onOk(){document.location.reload()}}return y.\u0275fac=function(a){return new(a||y)(d.Y36(jo.so))},y.\u0275cmp=d.Xpm({type:y,selectors:[["app-modal-confirm-update"]],decls:5,vars:1,consts:[[3,"config","onOk","onCancel"],[1,"row","p-3"]],template:function(a,g){1&a&&(d.TgZ(0,"modal-material",0),d.NdJ("onOk",function(){return g.onOk()})("onCancel",function(){return g.dialogRef.close()}),d.TgZ(1,"content")(2,"div",1)(3,"h2"),d._uU(4,"Do you want to refresh your current app?"),d.qZA()()()()),2&a&&d.Q6J("config",g.config)},dependencies:[Ls.M]}),y})();var us=D(5083),_o=D(9770),$o=D(2843),vo=D(4968),Yn=D(9646),Mi=D(7272),Fn=D(9751),Bs=D(5032);const wr=new Fn.y(Bs.Z);var ds=D(6451),Vr=D(4004),Li=D(9300),sr=D(3900),Go=D(4033),yo=D(576),no=D(8421),hs=D(4482);const Mr={connector:()=>new Er.x};function Hr(y,l=Mr){const{connector:a}=l;return(0,hs.e)((g,x)=>{const N=a();(0,no.Xf)(y(function Ta(y){return new Fn.y(l=>y.subscribe(l))}(N))).subscribe(x),x.add(g.subscribe(N))})}var Bi=D(5698),Co=D(8505),Hs=D(1005);const io="Service workers are disabled or not supported by this browser";class bo{constructor(l){if(this.serviceWorker=l,l){const g=(0,vo.R)(l,"controllerchange").pipe((0,Vr.U)(()=>l.controller)),x=(0,_o.P)(()=>(0,Yn.of)(l.controller)),N=(0,Mi.z)(x,g);this.worker=N.pipe((0,Li.h)(yt=>!!yt)),this.registration=this.worker.pipe((0,sr.w)(()=>l.getRegistration()));const Xe=(0,vo.R)(l,"message").pipe((0,Vr.U)(yt=>yt.data)).pipe((0,Li.h)(yt=>yt&&yt.type)).pipe(function Vs(y){return y?l=>Hr(y)(l):l=>function Sa(y,l){const a=(0,yo.m)(y)?y:()=>y;return(0,yo.m)(l)?Hr(l,{connector:a}):g=>new Go.c(g,a)}(new Er.x)(l)}());Xe.connect(),this.events=Xe}else this.worker=this.events=this.registration=function sl(y){return(0,_o.P)(()=>(0,$o._)(new Error(y)))}(io)}postMessage(l,a){return this.worker.pipe((0,Bi.q)(1),(0,Co.b)(g=>{g.postMessage({action:l,...a})})).toPromise().then(()=>{})}postMessageWithOperation(l,a,g){const x=this.waitForOperationCompleted(g),N=this.postMessage(l,a);return Promise.all([N,x]).then(([,ne])=>ne)}generateNonce(){return Math.round(1e7*Math.random())}eventsOfType(l){let a;return a="string"==typeof l?g=>g.type===l:g=>l.includes(g.type),this.events.pipe((0,Li.h)(a))}nextEventOfType(l){return this.eventsOfType(l).pipe((0,Bi.q)(1))}waitForOperationCompleted(l){return this.eventsOfType("OPERATION_COMPLETED").pipe((0,Li.h)(a=>a.nonce===l),(0,Bi.q)(1),(0,Vr.U)(a=>{if(void 0!==a.result)return a.result;throw new Error(a.error)})).toPromise()}get isEnabled(){return!!this.serviceWorker}}let zo=(()=>{class y{constructor(a){if(this.sw=a,this.subscriptionChanges=new Er.x,!a.isEnabled)return this.messages=wr,this.notificationClicks=wr,void(this.subscription=wr);this.messages=this.sw.eventsOfType("PUSH").pipe((0,Vr.U)(x=>x.data)),this.notificationClicks=this.sw.eventsOfType("NOTIFICATION_CLICK").pipe((0,Vr.U)(x=>x.data)),this.pushManager=this.sw.registration.pipe((0,Vr.U)(x=>x.pushManager));const g=this.pushManager.pipe((0,sr.w)(x=>x.getSubscription()));this.subscription=(0,ds.T)(g,this.subscriptionChanges)}get isEnabled(){return this.sw.isEnabled}requestSubscription(a){if(!this.sw.isEnabled)return Promise.reject(new Error(io));const g={userVisibleOnly:!0};let x=this.decodeBase64(a.serverPublicKey.replace(/_/g,"/").replace(/-/g,"+")),N=new Uint8Array(new ArrayBuffer(x.length));for(let ne=0;ne<x.length;ne++)N[ne]=x.charCodeAt(ne);return g.applicationServerKey=N,this.pushManager.pipe((0,sr.w)(ne=>ne.subscribe(g)),(0,Bi.q)(1)).toPromise().then(ne=>(this.subscriptionChanges.next(ne),ne))}unsubscribe(){return this.sw.isEnabled?this.subscription.pipe((0,Bi.q)(1),(0,sr.w)(g=>{if(null===g)throw new Error("Not subscribed to push notifications.");return g.unsubscribe().then(x=>{if(!x)throw new Error("Unsubscribe failed!");this.subscriptionChanges.next(null)})})).toPromise():Promise.reject(new Error(io))}decodeBase64(a){return atob(a)}}return y.\u0275fac=function(a){return new(a||y)(d.LFG(bo))},y.\u0275prov=d.Yz7({token:y,factory:y.\u0275fac}),y})(),fs=(()=>{class y{constructor(a){if(this.sw=a,!a.isEnabled)return this.versionUpdates=wr,this.available=wr,this.activated=wr,void(this.unrecoverable=wr);this.versionUpdates=this.sw.eventsOfType(["VERSION_DETECTED","VERSION_INSTALLATION_FAILED","VERSION_READY","NO_NEW_VERSION_DETECTED"]),this.available=this.versionUpdates.pipe((0,Li.h)(g=>"VERSION_READY"===g.type),(0,Vr.U)(g=>({type:"UPDATE_AVAILABLE",current:g.currentVersion,available:g.latestVersion}))),this.activated=this.sw.eventsOfType("UPDATE_ACTIVATED"),this.unrecoverable=this.sw.eventsOfType("UNRECOVERABLE_STATE")}get isEnabled(){return this.sw.isEnabled}checkForUpdate(){if(!this.sw.isEnabled)return Promise.reject(new Error(io));const a=this.sw.generateNonce();return this.sw.postMessageWithOperation("CHECK_FOR_UPDATES",{nonce:a},a)}activateUpdate(){if(!this.sw.isEnabled)return Promise.reject(new Error(io));const a=this.sw.generateNonce();return this.sw.postMessageWithOperation("ACTIVATE_UPDATE",{nonce:a},a)}}return y.\u0275fac=function(a){return new(a||y)(d.LFG(bo))},y.\u0275prov=d.Yz7({token:y,factory:y.\u0275fac}),y})();class Wo{}const Do=new d.OlP("NGSW_REGISTER_SCRIPT");function Us(y,l,a,g){return()=>{if(!(0,J.NF)(g)||!("serviceWorker"in navigator)||!1===a.enabled)return;let N;if(navigator.serviceWorker.addEventListener("controllerchange",()=>{null!==navigator.serviceWorker.controller&&navigator.serviceWorker.controller.postMessage({action:"INITIALIZE"})}),"function"==typeof a.registrationStrategy)N=a.registrationStrategy();else{const[se,...Pe]=(a.registrationStrategy||"registerWhenStable:30000").split(":");switch(se){case"registerImmediately":N=(0,Yn.of)(null);break;case"registerWithDelay":N=Yo(+Pe[0]||0);break;case"registerWhenStable":N=Pe[0]?(0,ds.T)(ar(y),Yo(+Pe[0])):ar(y);break;default:throw new Error(`Unknown ServiceWorker registration strategy: ${a.registrationStrategy}`)}}y.get(d.R0b).runOutsideAngular(()=>N.pipe((0,Bi.q)(1)).subscribe(()=>navigator.serviceWorker.register(l,{scope:a.scope}).catch(se=>console.error("Service worker registration failed with:",se))))}}function Yo(y){return(0,Yn.of)(null).pipe((0,Hs.g)(y))}function ar(y){return y.get(d.z2F).isStable.pipe((0,Li.h)(a=>a))}function js(y,l){return new bo((0,J.NF)(l)&&!1!==y.enabled?navigator.serviceWorker:void 0)}let Ur=(()=>{class y{static register(a,g={}){return{ngModule:y,providers:[{provide:Do,useValue:a},{provide:Wo,useValue:g},{provide:bo,useFactory:js,deps:[Wo,d.Lbi]},{provide:d.ip1,useFactory:Us,deps:[d.zs3,Do,Wo,d.Lbi],multi:!0}]}}}return y.\u0275fac=function(a){return new(a||y)},y.\u0275mod=d.oAB({type:y}),y.\u0275inj=d.cJS({providers:[zo,fs]}),y})();var ps=D(6063);class Eo extends Er.x{constructor(l=1/0,a=1/0,g=ps.l){super(),this._bufferSize=l,this._windowTime=a,this._timestampProvider=g,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=a===1/0,this._bufferSize=Math.max(1,l),this._windowTime=Math.max(1,a)}next(l){const{isStopped:a,_buffer:g,_infiniteTimeWindow:x,_timestampProvider:N,_windowTime:ne}=this;a||(g.push(l),!x&&g.push(N.now()+ne)),this._trimBuffer(),super.next(l)}_subscribe(l){this._throwIfClosed(),this._trimBuffer();const a=this._innerSubscribe(l),{_infiniteTimeWindow:g,_buffer:x}=this,N=x.slice();for(let ne=0;ne<N.length&&!l.closed;ne+=g?1:2)l.next(N[ne]);return this._checkFinalizedStatuses(l),a}_trimBuffer(){const{_bufferSize:l,_timestampProvider:a,_buffer:g,_infiniteTimeWindow:x}=this,N=(x?1:2)*l;if(l<1/0&&N<g.length&&g.splice(0,g.length-N),!x){const ne=a.now();let se=0;for(let Pe=1;Pe<g.length&&g[Pe]<=ne;Pe+=2)se=Pe;se&&g.splice(0,se+1)}}}function al(y,l){return(a,g)=>!y.call(l,a,g)}var wo=D(2805),Gs=D(8746),yi=D(5403);function Ko(y){return(0,hs.e)((l,a)=>{let g=!1,x=null,N=null;const ne=()=>{if(N?.unsubscribe(),N=null,g){g=!1;const se=x;x=null,a.next(se)}};l.subscribe((0,yi.x)(a,se=>{N?.unsubscribe(),g=!0,x=se,N=(0,yi.x)(a,ne,Bs.Z),(0,no.Xf)(y(se)).subscribe(N)},()=>{ne(),a.complete()},void 0,()=>{x=N=null}))})}var Mo=D(1884),Zo=D(529);function ro(y,l){1&y&&d.GkF(0)}function Qo(y,l){if(1&y&&d._UZ(0,"sk-cube-grid",4),2&y){const a=d.oxw(2);d.Q6J("backgroundColor",a.backgroundColor)}}function qo(y,l){if(1&y&&d._UZ(0,"sk-chasing-dots",4),2&y){const a=d.oxw(2);d.Q6J("backgroundColor",a.backgroundColor)}}function Aa(y,l){if(1&y&&d._UZ(0,"sk-double-bounce",4),2&y){const a=d.oxw(2);d.Q6J("backgroundColor",a.backgroundColor)}}function zs(y,l){if(1&y&&d._UZ(0,"sk-rotating-plane",4),2&y){const a=d.oxw(2);d.Q6J("backgroundColor",a.backgroundColor)}}function Ws(y,l){if(1&y&&d._UZ(0,"sk-spinner-pulse",4),2&y){const a=d.oxw(2);d.Q6J("backgroundColor",a.backgroundColor)}}function gs(y,l){if(1&y&&d._UZ(0,"sk-three-bounce",4),2&y){const a=d.oxw(2);d.Q6J("backgroundColor",a.backgroundColor)}}function ti(y,l){if(1&y&&d._UZ(0,"sk-wandering-cubes",4),2&y){const a=d.oxw(2);d.Q6J("backgroundColor",a.backgroundColor)}}function Oa(y,l){if(1&y&&d._UZ(0,"sk-wave",4),2&y){const a=d.oxw(2);d.Q6J("backgroundColor",a.backgroundColor)}}const To=function(y){return{"background-color":y}};function jr(y,l){if(1&y&&(d.TgZ(0,"div",1),d.YNc(1,ro,1,0,"ng-container",2),d.YNc(2,Qo,1,1,"sk-cube-grid",3),d.YNc(3,qo,1,1,"sk-chasing-dots",3),d.YNc(4,Aa,1,1,"sk-double-bounce",3),d.YNc(5,zs,1,1,"sk-rotating-plane",3),d.YNc(6,Ws,1,1,"sk-spinner-pulse",3),d.YNc(7,gs,1,1,"sk-three-bounce",3),d.YNc(8,ti,1,1,"sk-wandering-cubes",3),d.YNc(9,Oa,1,1,"sk-wave",3),d.qZA()),2&y){const a=d.oxw();d.Udp("opacity",a.opacity),d.ekj("backdrop",a.backdrop),d.Q6J("ngStyle",d.VKq(14,To,a.backdrop?a.backdropBackgroundColor:"transparent")),d.xp6(1),d.Q6J("ngComponentOutlet",a.entryComponent),d.xp6(1),d.Q6J("ngIf",a.spinner===a.spinkit.skCubeGrid),d.xp6(1),d.Q6J("ngIf",a.spinner===a.spinkit.skChasingDots),d.xp6(1),d.Q6J("ngIf",a.spinner===a.spinkit.skDoubleBounce),d.xp6(1),d.Q6J("ngIf",a.spinner===a.spinkit.skRotatingPlane),d.xp6(1),d.Q6J("ngIf",a.spinner===a.spinkit.skSpinnerPulse),d.xp6(1),d.Q6J("ngIf",a.spinner===a.spinkit.skThreeBounce),d.xp6(1),d.Q6J("ngIf",a.spinner===a.spinkit.skWanderingCubes),d.xp6(1),d.Q6J("ngIf",a.spinner===a.spinkit.skWave)}}let Ki=(()=>{class y{}return y.\u0275fac=function(a){return new(a||y)},y.\u0275dir=d.lG2({type:y,inputs:{backgroundColor:"backgroundColor"}}),y})(),ms=(()=>{class y extends Ki{}return y.\u0275fac=function(){let l;return function(g){return(l||(l=d.n5z(y)))(g||y)}}(),y.\u0275cmp=d.Xpm({type:y,selectors:[["sk-chasing-dots"]],features:[d.qOj],decls:3,vars:6,consts:[[1,"sk-chasing-dots"],[1,"sk-child","sk-dot1"],[1,"sk-child","sk-dot2"]],template:function(a,g){1&a&&(d.TgZ(0,"div",0),d._UZ(1,"div",1)(2,"div",2),d.qZA()),2&a&&(d.ekj("colored",!g.backgroundColor),d.xp6(1),d.Udp("background-color",g.backgroundColor),d.xp6(1),d.Udp("background-color",g.backgroundColor))},styles:[".sk-chasing-dots[_ngcontent-%COMP%]{top:50%;margin:auto;width:40px;height:40px;position:relative;text-align:center;animation:sk-chasingDotsRotate 2s infinite linear}.sk-chasing-dots[_ngcontent-%COMP%] .sk-child[_ngcontent-%COMP%]{width:60%;height:60%;display:inline-block;position:absolute;top:0;border-radius:100%;animation:sk-chasingDotsBounce 2s infinite ease-in-out}.sk-chasing-dots[_ngcontent-%COMP%] .sk-dot2[_ngcontent-%COMP%]{top:auto;bottom:0;animation-delay:-1s}@keyframes sk-chasingDotsRotate{to{transform:rotate(360deg)}}@keyframes sk-chasingDotsBounce{0%,to{transform:scale(0)}50%{transform:scale(1)}}"]}),y})(),_s=(()=>{class y extends Ki{}return y.\u0275fac=function(){let l;return function(g){return(l||(l=d.n5z(y)))(g||y)}}(),y.\u0275cmp=d.Xpm({type:y,selectors:[["sk-cube-grid"]],features:[d.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,g){1&a&&(d.TgZ(0,"div",0),d._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),d.qZA()),2&a&&(d.ekj("colored",!g.backgroundColor),d.xp6(1),d.Udp("background-color",g.backgroundColor),d.xp6(1),d.Udp("background-color",g.backgroundColor),d.xp6(1),d.Udp("background-color",g.backgroundColor),d.xp6(1),d.Udp("background-color",g.backgroundColor),d.xp6(1),d.Udp("background-color",g.backgroundColor),d.xp6(1),d.Udp("background-color",g.backgroundColor),d.xp6(1),d.Udp("background-color",g.backgroundColor),d.xp6(1),d.Udp("background-color",g.backgroundColor),d.xp6(1),d.Udp("background-color",g.backgroundColor))},styles:[".sk-cube-grid[_ngcontent-%COMP%]{position:relative;top:50%;width:40px;height:40px;margin:auto}.sk-cube-grid[_ngcontent-%COMP%] .sk-cube[_ngcontent-%COMP%]{width:33.33%;height:33.33%;float:left;animation:sk-cubeGridScaleDelay 1.3s infinite ease-in-out}.sk-cube-grid[_ngcontent-%COMP%] .sk-cube1[_ngcontent-%COMP%]{animation-delay:.2s}.sk-cube-grid[_ngcontent-%COMP%] .sk-cube2[_ngcontent-%COMP%]{animation-delay:.3s}.sk-cube-grid[_ngcontent-%COMP%] .sk-cube3[_ngcontent-%COMP%]{animation-delay:.4s}.sk-cube-grid[_ngcontent-%COMP%] .sk-cube4[_ngcontent-%COMP%]{animation-delay:.1s}.sk-cube-grid[_ngcontent-%COMP%] .sk-cube5[_ngcontent-%COMP%]{animation-delay:.2s}.sk-cube-grid[_ngcontent-%COMP%] .sk-cube6[_ngcontent-%COMP%]{animation-delay:.3s}.sk-cube-grid[_ngcontent-%COMP%] .sk-cube7[_ngcontent-%COMP%]{animation-delay:0s}.sk-cube-grid[_ngcontent-%COMP%] .sk-cube8[_ngcontent-%COMP%]{animation-delay:.1s}.sk-cube-grid[_ngcontent-%COMP%] .sk-cube9[_ngcontent-%COMP%]{animation-delay:.2s}@keyframes sk-cubeGridScaleDelay{0%,70%,to{transform:scaleZ(1)}35%{transform:scale3D(0,0,1)}}"]}),y})(),Tr=(()=>{class y extends Ki{}return y.\u0275fac=function(){let l;return function(g){return(l||(l=d.n5z(y)))(g||y)}}(),y.\u0275cmp=d.Xpm({type:y,selectors:[["sk-double-bounce"]],features:[d.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,g){1&a&&(d.TgZ(0,"div",0),d._UZ(1,"div",1)(2,"div",2),d.qZA()),2&a&&(d.ekj("colored",!g.backgroundColor),d.xp6(1),d.Udp("background-color",g.backgroundColor),d.xp6(1),d.Udp("background-color",g.backgroundColor))},styles:[".sk-double-bounce[_ngcontent-%COMP%]{top:50%;width:40px;height:40px;position:relative;margin:auto}.sk-double-bounce[_ngcontent-%COMP%] .sk-child[_ngcontent-%COMP%]{width:100%;height:100%;border-radius:50%;background-color:#333;opacity:.6;position:absolute;top:0;left:0;animation:sk-doubleBounce 2s infinite ease-in-out}.sk-double-bounce[_ngcontent-%COMP%] .sk-double-bounce2[_ngcontent-%COMP%]{animation-delay:-1s}@keyframes sk-doubleBounce{0%,to{transform:scale(0)}50%{transform:scale(1)}}"]}),y})(),Ia=(()=>{class y extends Ki{}return y.\u0275fac=function(){let l;return function(g){return(l||(l=d.n5z(y)))(g||y)}}(),y.\u0275cmp=d.Xpm({type:y,selectors:[["sk-rotating-plane"]],features:[d.qOj],decls:1,vars:2,consts:[[1,"sk-rotating-plane","colored-parent"]],template:function(a,g){1&a&&d._UZ(0,"div",0),2&a&&d.Udp("background-color",g.backgroundColor)},styles:[".sk-rotating-plane[_ngcontent-%COMP%]{position:relative;top:50%;width:40px;height:40px;margin:auto;animation:sk-rotatePlane 1.2s infinite ease-in-out}@keyframes sk-rotatePlane{0%{transform:perspective(120px) rotateX(0) rotateY(0)}50%{transform:perspective(120px) rotateX(-180.1deg) rotateY(0)}to{transform:perspective(120px) rotateX(-180deg) rotateY(-179.9deg)}}"]}),y})(),Ys=(()=>{class y extends Ki{}return y.\u0275fac=function(){let l;return function(g){return(l||(l=d.n5z(y)))(g||y)}}(),y.\u0275cmp=d.Xpm({type:y,selectors:[["sk-spinner-pulse"]],features:[d.qOj],decls:1,vars:2,consts:[[1,"sk-spinner","sk-spinner-pulse","colored-parent"]],template:function(a,g){1&a&&d._UZ(0,"div",0),2&a&&d.Udp("background-color",g.backgroundColor)},styles:[".sk-spinner-pulse[_ngcontent-%COMP%]{position:relative;top:50%;width:40px;height:40px;margin:auto;border-radius:100%;animation:sk-pulseScaleOut 1s infinite ease-in-out}@keyframes sk-pulseScaleOut{0%{transform:scale(0)}to{transform:scale(1);opacity:0}}"]}),y})(),So=(()=>{class y extends Ki{}return y.\u0275fac=function(){let l;return function(g){return(l||(l=d.n5z(y)))(g||y)}}(),y.\u0275cmp=d.Xpm({type:y,selectors:[["sk-three-bounce"]],features:[d.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,g){1&a&&(d.TgZ(0,"div",0),d._UZ(1,"div",1)(2,"div",2)(3,"div",3),d.qZA()),2&a&&(d.ekj("colored",!g.backgroundColor),d.xp6(1),d.Udp("background-color",g.backgroundColor),d.xp6(1),d.Udp("background-color",g.backgroundColor),d.xp6(1),d.Udp("background-color",g.backgroundColor))},styles:[".sk-three-bounce[_ngcontent-%COMP%]{top:50%;position:relative;margin:auto;width:80px;text-align:center}.sk-three-bounce[_ngcontent-%COMP%] .sk-child[_ngcontent-%COMP%]{width:20px;height:20px;border-radius:100%;display:inline-block;animation:sk-three-bounce 1.4s ease-in-out 0s infinite both}.sk-three-bounce[_ngcontent-%COMP%] .sk-bounce1[_ngcontent-%COMP%]{animation-delay:-.32s}.sk-three-bounce[_ngcontent-%COMP%] .sk-bounce2[_ngcontent-%COMP%]{animation-delay:-.16s}@keyframes sk-three-bounce{0%,80%,to{transform:scale(0)}40%{transform:scale(1)}}"]}),y})(),vs=(()=>{class y extends Ki{}return y.\u0275fac=function(){let l;return function(g){return(l||(l=d.n5z(y)))(g||y)}}(),y.\u0275cmp=d.Xpm({type:y,selectors:[["sk-wandering-cubes"]],features:[d.qOj],decls:3,vars:6,consts:[[1,"sk-wandering-cubes"],[1,"sk-cube","sk-cube1"],[1,"sk-cube","sk-cube2"]],template:function(a,g){1&a&&(d.TgZ(0,"div",0),d._UZ(1,"div",1)(2,"div",2),d.qZA()),2&a&&(d.ekj("colored",!g.backgroundColor),d.xp6(1),d.Udp("background-color",g.backgroundColor),d.xp6(1),d.Udp("background-color",g.backgroundColor))},styles:[".sk-wandering-cubes[_ngcontent-%COMP%]{top:50%;margin:auto;width:40px;height:40px;position:relative}.sk-wandering-cubes[_ngcontent-%COMP%] .sk-cube[_ngcontent-%COMP%]{width:10px;height:10px;position:absolute;top:0;left:0;animation:sk-wanderingCube 1.8s ease-in-out -1.8s infinite both}.sk-wandering-cubes[_ngcontent-%COMP%] .sk-cube2[_ngcontent-%COMP%]{animation-delay:-.9s}@keyframes sk-wanderingCube{0%{transform:rotate(0)}25%{transform:translate(30px) rotate(-90deg) scale(.5)}50%{transform:translate(30px) translateY(30px) rotate(-179deg)}50.1%{transform:translate(30px) translateY(30px) rotate(-180deg)}75%{transform:translate(0) translateY(30px) rotate(-270deg) scale(.5)}to{transform:rotate(-360deg)}}"]}),y})(),ys=(()=>{class y extends Ki{}return y.\u0275fac=function(){let l;return function(g){return(l||(l=d.n5z(y)))(g||y)}}(),y.\u0275cmp=d.Xpm({type:y,selectors:[["sk-wave"]],features:[d.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,g){1&a&&(d.TgZ(0,"div",0),d._UZ(1,"div",1)(2,"div",2)(3,"div",3)(4,"div",4)(5,"div",5),d.qZA()),2&a&&(d.ekj("colored",!g.backgroundColor),d.xp6(1),d.Udp("background-color",g.backgroundColor),d.xp6(1),d.Udp("background-color",g.backgroundColor),d.xp6(1),d.Udp("background-color",g.backgroundColor),d.xp6(1),d.Udp("background-color",g.backgroundColor),d.xp6(1),d.Udp("background-color",g.backgroundColor))},styles:[".sk-wave[_ngcontent-%COMP%]{position:relative;top:50%;margin:auto;width:50px;height:40px;text-align:center;font-size:10px}.sk-wave[_ngcontent-%COMP%] .sk-rect[_ngcontent-%COMP%]{float:left;margin-right:1px;height:100%;width:6px;display:inline-block;animation:sk-waveStretchDelay 1.2s infinite ease-in-out}.sk-wave[_ngcontent-%COMP%] .sk-rect1[_ngcontent-%COMP%]{animation-delay:-1.2s}.sk-wave[_ngcontent-%COMP%] .sk-rect2[_ngcontent-%COMP%]{animation-delay:-1.1s}.sk-wave[_ngcontent-%COMP%] .sk-rect3[_ngcontent-%COMP%]{animation-delay:-1s}.sk-wave[_ngcontent-%COMP%] .sk-rect4[_ngcontent-%COMP%]{animation-delay:-.9s}.sk-wave[_ngcontent-%COMP%] .sk-rect5[_ngcontent-%COMP%]{animation-delay:-.8s}@keyframes sk-waveStretchDelay{0%,40%,to{transform:scaleY(.4)}20%{transform:scaleY(1)}}"]}),y})();const Vi={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 lr=(()=>{class y{constructor(){this._pendingRequests=0,this._pendingRequestsStatus$=new Eo(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(g=>g.test(a))}shouldBypassMethod(a){return this._filteredMethods.some(g=>g.toUpperCase()===a.method.toUpperCase())}shouldBypassHeader(a){return this._filteredHeaders.some(g=>a.headers.has(g))}shouldBypass(a){return this._forceByPass||this.shouldBypassUrl(a.urlWithParams)||this.shouldBypassMethod(a)||this.shouldBypassHeader(a)}intercept(a,g){const x=this.shouldBypass(a);return x||(this._pendingRequests++,1===this._pendingRequests&&this._pendingRequestsStatus$.next(!0)),g.handle(a).pipe((0,Gs.x)(()=>{x||(this._pendingRequests--,0===this._pendingRequests&&this._pendingRequestsStatus$.next(!1))}))}}return y.\u0275fac=function(a){return new(a||y)},y.\u0275prov=d.Yz7({token:y,factory:y.\u0275fac,providedIn:"root"}),y})();const $r=[{provide:Zo.TP,useExisting:lr,multi:!0}];let Ks=(()=>{class y{constructor(a){this.pendingRequestsInterceptor=a,this._visibility$=new Eo(1)}get visibility$(){return this._visibility$.asObservable()}show(){this.pendingRequestsInterceptor.forceByPass=!0,this._visibility$.next(!0)}hide(){this._visibility$.next(!1),this.pendingRequestsInterceptor.forceByPass=!1}}return y.\u0275fac=function(a){return new(a||y)(d.LFG(lr))},y.\u0275prov=d.Yz7({token:y,factory:y.\u0275fac,providedIn:"root"}),y})(),Cs=(()=>{class y{constructor(a,g){this.pendingRequestsInterceptor=a,this.spinnerVisibility=g,this.spinkit=Vi,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=Vi.skWave}ngOnInit(){this.initIsvisibleObservable(),this.nullifySpinnerIfEntryComponentIsDefined(),this.initFilters()}initIsvisibleObservable(){const[a,g]=function $s(y,l,a){return[(0,Li.h)(l,a)((0,no.Xf)(y)),(0,Li.h)(al(l,a))((0,no.Xf)(y))]}(this.pendingRequestsInterceptor.pendingRequestsStatus$,x=>x);this.isVisible$=(0,ds.T)(this.pendingRequestsInterceptor.pendingRequestsStatus$.pipe((0,sr.w)(()=>a.pipe(Ko(()=>(0,wo.H)(this.debounceDelay))))),a.pipe((0,sr.w)(()=>g.pipe(Ko(()=>this.getVisibilityTimer$())))),this.spinnerVisibility.visibility$).pipe((0,Mo.x)(),(0,Co.b)(x=>this.updateExpirationDelay(x)))}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,wo.H)(Math.max(this.extraDuration,this.visibleUntil-Date.now()))}}return y.\u0275fac=function(a){return new(a||y)(d.Y36(lr),d.Y36(Ks))},y.\u0275cmp=d.Xpm({type:y,selectors:[["ng-http-loader"]],inputs:{backdrop:"backdrop",backgroundColor:"backgroundColor",debounceDelay:"debounceDelay",entryComponent:"entryComponent",extraDuration:"extraDuration",filteredHeaders:"filteredHeaders",filteredMethods:"filteredMethods",filteredUrlPatterns:"filteredUrlPatterns",minDuration:"minDuration",opacity:"opacity",backdropBackgroundColor:"backdropBackgroundColor",spinner:"spinner"},decls:2,vars:3,consts:[["id","spinner",3,"backdrop","opacity","ngStyle",4,"ngIf"],["id","spinner",3,"ngStyle"],[4,"ngComponentOutlet"],[3,"backgroundColor",4,"ngIf"],[3,"backgroundColor"]],template:function(a,g){1&a&&(d.YNc(0,jr,10,16,"div",0),d.ALo(1,"async")),2&a&&d.Q6J("ngIf",d.lcZ(1,1,g.isVisible$))},dependencies:[J.$G,J.O5,J.PC,_s,ms,Tr,Ia,Ys,So,vs,ys,J.Ov],styles:["#spinner[_ngcontent-%COMP%]{top:50%;left:50%;transform:translate(-50%,-50%);position:fixed;z-index:9999}#spinner.backdrop[_ngcontent-%COMP%]{top:0;left:0;height:100%;width:100%;display:flex;align-items:center;justify-content:center;transform:none} .colored-parent, .colored>div{background-color:#333}"]}),y})(),oo=(()=>{class y{static forRoot(){return{ngModule:y,providers:[$r]}}}return y.\u0275fac=function(a){return new(a||y)},y.\u0275mod=d.oAB({type:y}),y.\u0275inj=d.cJS({imports:[J.ez]}),y})(),xa=(()=>{class y{constructor(a,g,x,N,ne){this.route=a,this.activateRoute=g,this.queryParamService=x,this.matDialog=ne,this.destroy$=new Er.x,N.versionUpdates.subscribe(se=>{N.activateUpdate().then(()=>this.updateApp(se))})}updateApp(a){"VERSION_READY"==a.type&&this.matDialog.open(mo,{disableClose:!0})}ngOnInit(){this.getLastRouteEvent()}getLastRouteEvent(){this.route.events.pipe((0,ls.R)(this.destroy$)).subscribe(a=>{a instanceof Ni.m2&&this.getParam()})}ngOnDestroy(){this.destroy$.next(!0),this.destroy$.complete()}getParam(){this.activateRoute.queryParamMap.pipe((0,ls.R)(this.destroy$)).subscribe(a=>{if(a){let g=a.get("ID"),x=a.get("Number"),N=a.get("Outlet");this.queryParamService.setState({ID:g,billNumber:x,outletName:N})}})}}return y.\u0275fac=function(a){return new(a||y)(d.Y36(Ni.F0),d.Y36(Ni.gz),d.Y36(us.U),d.Y36(fs),d.Y36(jo.uw))},y.\u0275cmp=d.Xpm({type:y,selectors:[["app-root"]],decls:2,vars:0,template:function(a,g){1&a&&d._UZ(0,"ng-http-loader")(1,"router-outlet")},dependencies:[Ni.lC,Cs]}),y})();var Zs=D(3389);let vn=(()=>{class y{constructor(a,g){this._authService=a,this._router=g}canActivate(a,g){return!!this._authService.isAuthentication()||(this._router.navigate([""]),!1)}}return y.\u0275fac=function(a){return new(a||y)(d.LFG(Zs.$),d.LFG(Ni.F0))},y.\u0275prov=d.Yz7({token:y,factory:y.\u0275fac}),y})();function Qs(y){this.message=y}(Qs.prototype=new Error).name="InvalidCharacterError";var Fa=typeof window<"u"&&window.atob&&window.atob.bind(window)||function(y){var l=String(y).replace(/=+$/,"");if(l.length%4==1)throw new Qs("'atob' failed: The string to be decoded is not correctly encoded.");for(var a,g,x=0,N=0,ne="";g=l.charAt(N++);~g&&(a=x%4?64*a+g:g,x++%4)?ne+=String.fromCharCode(255&a>>(-2*x&6)):0)g="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".indexOf(g);return ne};function bs(y){this.message=y}(bs.prototype=new Error).name="InvalidTokenError";var cl=D(1104),Zi=D(7185);const ul=["domainAutoFocus"],qs=["passAutoFocus"],$n=function(y,l){return{"fa-eye-slash":y,"fa-eye":l}};function Ds(y,l){if(1&y){const a=d.EpF();d.TgZ(0,"i",38),d.NdJ("click",function(){d.CHM(a);const x=d.oxw();return d.KtG(x.hideShowPassword())}),d.qZA()}if(2&y){const a=d.oxw();d.Q6J("ngClass",d.WLB(1,$n,"eye"==a.passwordIcon,"eye-off"==a.passwordIcon))}}const tc=[{path:"",component:xa,children:[{path:"",component:(()=>{class y{constructor(a,g,x,N,ne){this._httpService=a,this.toastr=g,this.auth=x,this.elementRef=N,this.cdr=ne,this.password="",this.passwordType="password",this.passwordIcon="eye-off"}ngOnInit(){this.elementRef.nativeElement.ownerDocument.body.style.backgroundColor="#edefff"}ngAfterViewInit(){this.initLoginForm()}ngOnDestroy(){this.elementRef.nativeElement.ownerDocument.body.style.backgroundColor="white"}initLoginForm(){let a=this.auth.isLoginFormExist();this.setAutoFocusDomain(),a&&(this.username=this.auth.getUsername(),this.posDomain=this.auth.getDomain(),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},x="";this.posDomain.includes("http://")||(x="https://"+this.posDomain),this._httpService.post(x+"/api/v3/Token",JSON.stringify(a)).subscribe(N=>{if(null!=N.access_token||null!=N.access_token){let ne=N.access_token,se=N.expiredAt;localStorage.setItem("Token",ne),localStorage.setItem("ExpireDate",se),this.auth.saveLoginForm(this.posDomain,this.username);let Xe=function Ra(y,l){if("string"!=typeof y)throw new bs("Invalid token specified");var a=!0===(l=l||{}).header?0:1;try{return JSON.parse(function Pa(y){var l=y.replace(/-/g,"+").replace(/_/g,"/");switch(l.length%4){case 0:break;case 2:l+="==";break;case 3:l+="=";break;default:throw"Illegal base64url string!"}try{return decodeURIComponent(Fa(l).replace(/(.)/g,function(g,x){var N=x.charCodeAt(0).toString(16).toUpperCase();return N.length<2&&(N="0"+N),"%"+N}))}catch{return Fa(l)}}(y.split(".")[a]))}catch(g){throw new bs("Invalid token specified: "+g.message)}}(ne)["http://schemas.microsoft.com/ws/2008/06/identity/claims/role"],yt=Xe?Xe.find(St=>"Products"==St||"Prod"==St):null;this.auth.setRoles(Xe),"Products"==yt||"Prod"==yt?this.auth.login("/pages"):this.toastr.error("Require products role to access this feature!","Error")}},N=>{console.error(N)})}}return y.\u0275fac=function(a){return new(a||y)(d.Y36(cl.O),d.Y36(Zi._W),d.Y36(Zs.$),d.Y36(d.SBq),d.Y36(d.sBO))},y.\u0275cmp=d.Xpm({type:y,selectors:[["app-login"]],viewQuery:function(a,g){if(1&a&&(d.Gf(ul,5),d.Gf(qs,5)),2&a){let x;d.iGM(x=d.CRH())&&(g.domainElementRef=x.first),d.iGM(x=d.CRH())&&(g.passElementRef=x.first)}},decls:55,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/dealpos/image/upload/w_300/v1615189586/Barcode/barcode.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","py-8"],[1,"card-title","mt-1"],[1,"ms-2","fw-normal","robotoslab"],[1,"mt-6"],[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-start","align-items-center"],[1,"col-12","col-lg-5","order-first","order-md-last"],["type","submit",1,"btn","btn-xl","btn-primary","btn-block","font125rem","robotoslab","px-10",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"],["href","https://changelog.dealpos.com/?categories=cat_IOl3P9ko0ayhv&view=complete","target","_blank"],[1,"pt-1rem","fst-italic"],[1,"mx-5","pb-5","mb-5","d-none","d-md-block"],[1,"row","justify-content-between","align-items-center"],[1,"col-auto","d-inline-flex"],[1,"col-auto"],[1,"fw-normal"],["href","https://changelog.dealpos.com/?categories=cat_IOl3P9ko0ayhv&view=complete","target","_blank",2,"text-decoration","none"],[1,"passwordIcon","fas","fa-lg",3,"ngClass","click"]],template:function(a,g){1&a&&(d.TgZ(0,"div",0)(1,"div",1)(2,"div",2)(3,"h1",3),d._uU(4,"DealPOS - Barcode"),d.qZA(),d._UZ(5,"img",4),d.qZA(),d.TgZ(6,"div",5)(7,"h1",6),d._uU(8,"DealPOS - Barcode"),d.qZA(),d.TgZ(9,"div",7)(10,"div",8)(11,"div",9)(12,"h2",10),d._uU(13,"Sign in"),d.qZA()(),d.TgZ(14,"form",11)(15,"div",12)(16,"input",13,14),d.NdJ("ngModelChange",function(N){return g.posDomain=N}),d.qZA(),d.TgZ(19,"label",15),d._uU(20,"POS Domain (xyz.dealpos.com)"),d.qZA()(),d.TgZ(21,"div",12)(22,"input",16),d.NdJ("ngModelChange",function(N){return g.username=N}),d.qZA(),d.TgZ(23,"label",17),d._uU(24,"Username"),d.qZA()(),d.TgZ(25,"div",18)(26,"input",19,20),d.NdJ("ngModelChange",function(N){return g.password=N}),d.qZA(),d.TgZ(28,"label",21),d._uU(29,"Password"),d.qZA(),d.YNc(30,Ds,1,4,"i",22),d.qZA(),d.TgZ(31,"div",23)(32,"div",24)(33,"button",25),d.NdJ("click",function(){return g.login()}),d._uU(34,"Log in"),d.qZA()()()()()()(),d.TgZ(35,"div",26)(36,"p",27),d._uU(37,"Powered by : "),d.qZA(),d.TgZ(38,"a",28),d._UZ(39,"img",29),d.qZA(),d.TgZ(40,"a",30)(41,"p",31),d._uU(42,"Version 1.3.9"),d.qZA()()()()(),d.TgZ(43,"footer",32)(44,"div",33)(45,"div",34)(46,"p",27),d._uU(47,"Powered by : "),d.qZA(),d.TgZ(48,"a",28),d._UZ(49,"img",29),d.qZA()(),d.TgZ(50,"div",35)(51,"h5",36)(52,"a",37)(53,"p",31),d._uU(54,"Version 1.3.9"),d.qZA()()()()()()),2&a&&(d.xp6(16),d.Q6J("ngModel",g.posDomain),d.xp6(6),d.Q6J("ngModel",g.username),d.xp6(4),d.Q6J("type",g.passwordType)("ngModel",g.password),d.xp6(4),d.Q6J("ngIf",""!=g.password))},dependencies:[J.mk,J.O5,G._Y,G.Fj,G.JJ,G.JL,G.Q7,G.c5,G.On,G.F],styles:[".container[_ngcontent-%COMP%]{position:absolute;max-width:100%}.passwordIcon[_ngcontent-%COMP%]{top:1.8rem;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:3.2rem}}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}"]}),y})()},{path:"pages",loadChildren:()=>D.e(660).then(D.bind(D,3660)).then(y=>y.PagesModule),canActivate:[vn]},{path:"",redirectTo:"",pathMatch:"full"}]}];let h=(()=>{class y{}return y.\u0275fac=function(a){return new(a||y)},y.\u0275mod=d.oAB({type:y}),y.\u0275inj=d.cJS({imports:[J.ez,G.u5,go,Ni.Bz.forRoot(tc),Ni.Bz]}),y})();const f=["custom-toast-component",""];function u(y,l){if(1&y){const a=d.EpF();d.TgZ(0,"a",10),d.NdJ("click",function(){d.CHM(a);const x=d.oxw(2);return d.KtG(x.remove())}),d._uU(1," x "),d.qZA()}}function b(y,l){if(1&y&&(d.TgZ(0,"div",6)(1,"div",7)(2,"div")(3,"h4"),d._uU(4),d.qZA()()(),d.TgZ(5,"div",8),d.YNc(6,u,2,0,"a",9),d.qZA()()),2&y){const a=d.oxw();d.Udp("display","inactive"===a.state.value?"none":""),d.xp6(2),d.Tol(a.options.titleClass),d.uIk("aria-label",a.title),d.xp6(2),d.Oqu(a.title),d.xp6(2),d.Q6J("ngIf",a.options.closeButton)}}const T=function(y){return{notitle:y}};function R(y,l){if(1&y&&d._UZ(0,"div",11),2&y){const a=d.oxw();d.Tol(a.options.messageClass),d.Q6J("ngClass",d.VKq(4,T,null==a.title))("innerHTML",a.message,d.oJD)}}function X(y,l){if(1&y&&(d.TgZ(0,"div",12),d._uU(1),d.qZA()),2&y){const a=d.oxw();d.Tol(a.options.messageClass),d.Q6J("ngClass",d.VKq(5,T,null==a.title)),d.uIk("aria-label",a.message),d.xp6(1),d.hij(" ",a.message," ")}}function ce(y,l){if(1&y){const a=d.EpF();d.TgZ(0,"a",10),d.NdJ("click",function(){d.CHM(a);const x=d.oxw();return d.KtG(x.remove())}),d._uU(1," x "),d.qZA()}}function Qe(y,l){if(1&y&&(d.TgZ(0,"div"),d._UZ(1,"div",13),d.qZA()),2&y){const a=d.oxw();d.xp6(1),d.Udp("width",a.width+"%")}}let Ct=(()=>{class y extends Zi.FN{constructor(a,g){super(a,g),this.toastrService=a,this.toastPackage=g}ngOnInit(){}action(a){return a.stopPropagation(),this.toastPackage.triggerAction(),!1}}return y.\u0275fac=function(a){return new(a||y)(d.Y36(Zi._W),d.Y36(Zi.PR))},y.\u0275cmp=d.Xpm({type:y,selectors:[["","custom-toast-component",""]],features:[d.qOj],attrs:f,decls:6,vars:5,consts:[[1,"toast-case"],["class","row toast-header",3,"display",4,"ngIf"],["class","row toast-body","role","alert","aria-live","polite",3,"ngClass","class","innerHTML",4,"ngIf"],["class","row toast-body","role","alert","aria-live","polite",3,"ngClass","class",4,"ngIf"],["class","btn toast-close-button btn-sm ",3,"click",4,"ngIf"],[4,"ngIf"],[1,"row","toast-header"],[1,"col-9","px-0"],[1,"col-auto","mt-5","pr-0"],["class","btn toast-close-button btn-sm",3,"click",4,"ngIf"],[1,"btn","toast-close-button","btn-sm",3,"click"],["role","alert","aria-live","polite",1,"row","toast-body",3,"ngClass","innerHTML"],["role","alert","aria-live","polite",1,"row","toast-body",3,"ngClass"],[1,"toast-progress"]],template:function(a,g){1&a&&(d.TgZ(0,"div",0),d.YNc(1,b,7,7,"div",1),d.YNc(2,R,1,6,"div",2),d.YNc(3,X,2,7,"div",3),d.YNc(4,ce,2,0,"a",4),d.YNc(5,Qe,2,2,"div",5),d.qZA()),2&a&&(d.xp6(1),d.Q6J("ngIf",g.title),d.xp6(1),d.Q6J("ngIf",g.message&&g.options.enableHtml),d.xp6(1),d.Q6J("ngIf",g.message&&!g.options.enableHtml),d.xp6(1),d.Q6J("ngIf",g.options.closeButton&&null==g.title),d.xp6(1),d.Q6J("ngIf",g.options.progressBar))},dependencies:[J.mk,J.O5],styles:["[_nghost-%COMP%]{background-color:#fff;position:relative;overflow:hidden;margin:0 0 6px;width:300px;border-radius:3px;color:#141414;pointer-events:all;cursor:pointer}.toast-success[_nghost-%COMP%]{border:1.8px solid rgb(81,163,81)}.toast-info[_nghost-%COMP%]{border:1.8px solid rgb(47,150,180)}.toast-error[_nghost-%COMP%]{border:1.8px solid rgb(189,54,47)}.toast-warning[_nghost-%COMP%]{border:1.8px solid rgb(248,148,6)}.toast-case[_ngcontent-%COMP%]{margin-left:10px}.toast-header[_ngcontent-%COMP%]{background-clip:padding-box;border-bottom:solid;border-width:1px;padding-bottom:0rem;padding-top:0rem;padding-right:0}.toast-title[_ngcontent-%COMP%]{color:#000}.toast-body[_ngcontent-%COMP%]{padding-top:.6rem}.notitle[_ngcontent-%COMP%]{margin-bottom:-1rem}.toast-close-button-custom[_ngcontent-%COMP%]{right:.2em!important;top:-1.3em!important}.toast-close-button-notitle[_ngcontent-%COMP%]{right:.1em!important;top:-1.3em!important}"],data:{animation:[(0,z.X$)("flyInOut",[(0,z.SB)("inactive",(0,z.oB)({opacity:0})),(0,z.eR)("inactive => active",(0,z.jt)("400ms ease-out",(0,z.F4)([(0,z.oB)({transform:"translate3d(100%, 0, 0) skewX(-30deg)",opacity:0}),(0,z.oB)({transform:"skewX(20deg)",opacity:1}),(0,z.oB)({transform:"skewX(-5deg)",opacity:1}),(0,z.oB)({transform:"none",opacity:1})]))),(0,z.eR)("active => removed",(0,z.jt)("400ms ease-out",(0,z.F4)([(0,z.oB)({opacity:1}),(0,z.oB)({transform:"translate3d(100%, 0, 0) skewX(30deg)",opacity:0})])))])]}}),y})();var It=D(4949);let Jt=(()=>{class y{}return y.\u0275fac=function(a){return new(a||y)},y.\u0275mod=d.oAB({type:y,bootstrap:[xa]}),y.\u0275inj=d.cJS({providers:[vn],imports:[r.b2,h,go,Zo.JF,Zi.Rh.forRoot({toastComponent:Ct,positionClass:"toast-bottom-right",closeButton:!0}),oo.forRoot(),Ur.register("ngsw-worker.js",{enabled:true,registrationStrategy:"registerImmediately"}),jo.Is,It.m]}),y})();(0,d.G48)(),r.q6().bootstrapModule(Jt).catch(y=>console.error(y))},1135:(dt,Ee,D)=>{D.d(Ee,{X:()=>d});var r=D(7579);class d extends r.x{constructor(G){super(),this._value=G}get value(){return this.getValue()}_subscribe(G){const z=super._subscribe(G);return!z.closed&&G.next(this._value),z}getValue(){const{hasError:G,thrownError:z,_value:K}=this;if(G)throw z;return this._throwIfClosed(),K}next(G){super.next(this._value=G)}}},9751:(dt,Ee,D)=>{D.d(Ee,{y:()=>ae});var r=D(930),d=D(727),J=D(8822),G=D(9635),z=D(2416),K=D(576),ve=D(2806);let ae=(()=>{class _e{constructor(Be){Be&&(this._subscribe=Be)}lift(Be){const je=new _e;return je.source=this,je.operator=Be,je}subscribe(Be,je,Te){const Ve=function he(_e){return _e&&_e instanceof r.Lv||function ee(_e){return _e&&(0,K.m)(_e.next)&&(0,K.m)(_e.error)&&(0,K.m)(_e.complete)}(_e)&&(0,d.Nn)(_e)}(Be)?Be:new r.Hp(Be,je,Te);return(0,ve.x)(()=>{const{operator:Je,source:Se}=this;Ve.add(Je?Je.call(Ve,Se):Se?this._subscribe(Ve):this._trySubscribe(Ve))}),Ve}_trySubscribe(Be){try{return this._subscribe(Be)}catch(je){Be.error(je)}}forEach(Be,je){return new(je=ie(je))((Te,Ve)=>{const Je=new r.Hp({next:Se=>{try{Be(Se)}catch(ht){Ve(ht),Je.unsubscribe()}},error:Ve,complete:Te});this.subscribe(Je)})}_subscribe(Be){var je;return null===(je=this.source)||void 0===je?void 0:je.subscribe(Be)}[J.L](){return this}pipe(...Be){return(0,G.U)(Be)(this)}toPromise(Be){return new(Be=ie(Be))((je,Te)=>{let Ve;this.subscribe(Je=>Ve=Je,Je=>Te(Je),()=>je(Ve))})}}return _e.create=Ue=>new _e(Ue),_e})();function ie(_e){var Ue;return null!==(Ue=_e??z.v.Promise)&&void 0!==Ue?Ue:Promise}},7579:(dt,Ee,D)=>{D.d(Ee,{x:()=>ve});var r=D(9751),d=D(727);const G=(0,D(3888).d)(ie=>function(){ie(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var z=D(8737),K=D(2806);let ve=(()=>{class ie extends r.y{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(he){const _e=new ae(this,this);return _e.operator=he,_e}_throwIfClosed(){if(this.closed)throw new G}next(he){(0,K.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const _e of this.currentObservers)_e.next(he)}})}error(he){(0,K.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=he;const{observers:_e}=this;for(;_e.length;)_e.shift().error(he)}})}complete(){(0,K.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:he}=this;for(;he.length;)he.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var he;return(null===(he=this.observers)||void 0===he?void 0:he.length)>0}_trySubscribe(he){return this._throwIfClosed(),super._trySubscribe(he)}_subscribe(he){return this._throwIfClosed(),this._checkFinalizedStatuses(he),this._innerSubscribe(he)}_innerSubscribe(he){const{hasError:_e,isStopped:Ue,observers:Be}=this;return _e||Ue?d.Lc:(this.currentObservers=null,Be.push(he),new d.w0(()=>{this.currentObservers=null,(0,z.P)(Be,he)}))}_checkFinalizedStatuses(he){const{hasError:_e,thrownError:Ue,isStopped:Be}=this;_e?he.error(Ue):Be&&he.complete()}asObservable(){const he=new r.y;return he.source=this,he}}return ie.create=(ee,he)=>new ae(ee,he),ie})();class ae extends ve{constructor(ee,he){super(),this.destination=ee,this.source=he}next(ee){var he,_e;null===(_e=null===(he=this.destination)||void 0===he?void 0:he.next)||void 0===_e||_e.call(he,ee)}error(ee){var he,_e;null===(_e=null===(he=this.destination)||void 0===he?void 0:he.error)||void 0===_e||_e.call(he,ee)}complete(){var ee,he;null===(he=null===(ee=this.destination)||void 0===ee?void 0:ee.complete)||void 0===he||he.call(ee)}_subscribe(ee){var he,_e;return null!==(_e=null===(he=this.source)||void 0===he?void 0:he.subscribe(ee))&&void 0!==_e?_e:d.Lc}}},930:(dt,Ee,D)=>{D.d(Ee,{Hp:()=>Te,Lv:()=>_e});var r=D(576),d=D(727),J=D(2416),G=D(7849),z=D(5032);const K=ie("C",void 0,void 0);function ie(le,Z,Oe){return{kind:le,value:Z,error:Oe}}var ee=D(3410),he=D(2806);class _e extends d.w0{constructor(Z){super(),this.isStopped=!1,Z?(this.destination=Z,(0,d.Nn)(Z)&&Z.add(this)):this.destination=ht}static create(Z,Oe,Le){return new Te(Z,Oe,Le)}next(Z){this.isStopped?Se(function ae(le){return ie("N",le,void 0)}(Z),this):this._next(Z)}error(Z){this.isStopped?Se(function ve(le){return ie("E",void 0,le)}(Z),this):(this.isStopped=!0,this._error(Z))}complete(){this.isStopped?Se(K,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(Z){this.destination.next(Z)}_error(Z){try{this.destination.error(Z)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const Ue=Function.prototype.bind;function Be(le,Z){return Ue.call(le,Z)}class je{constructor(Z){this.partialObserver=Z}next(Z){const{partialObserver:Oe}=this;if(Oe.next)try{Oe.next(Z)}catch(Le){Ve(Le)}}error(Z){const{partialObserver:Oe}=this;if(Oe.error)try{Oe.error(Z)}catch(Le){Ve(Le)}else Ve(Z)}complete(){const{partialObserver:Z}=this;if(Z.complete)try{Z.complete()}catch(Oe){Ve(Oe)}}}class Te extends _e{constructor(Z,Oe,Le){let Ae;if(super(),(0,r.m)(Z)||!Z)Ae={next:Z??void 0,error:Oe??void 0,complete:Le??void 0};else{let Ge;this&&J.v.useDeprecatedNextContext?(Ge=Object.create(Z),Ge.unsubscribe=()=>this.unsubscribe(),Ae={next:Z.next&&Be(Z.next,Ge),error:Z.error&&Be(Z.error,Ge),complete:Z.complete&&Be(Z.complete,Ge)}):Ae=Z}this.destination=new je(Ae)}}function Ve(le){J.v.useDeprecatedSynchronousErrorHandling?(0,he.O)(le):(0,G.h)(le)}function Se(le,Z){const{onStoppedNotification:Oe}=J.v;Oe&&ee.z.setTimeout(()=>Oe(le,Z))}const ht={closed:!0,next:z.Z,error:function Je(le){throw le},complete:z.Z}},727:(dt,Ee,D)=>{D.d(Ee,{Lc:()=>K,w0:()=>z,Nn:()=>ve});var r=D(576);const J=(0,D(3888).d)(ie=>function(he){ie(this),this.message=he?`${he.length} errors occurred during unsubscription:\n${he.map((_e,Ue)=>`${Ue+1}) ${_e.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=he});var G=D(8737);class z{constructor(ee){this.initialTeardown=ee,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let ee;if(!this.closed){this.closed=!0;const{_parentage:he}=this;if(he)if(this._parentage=null,Array.isArray(he))for(const Be of he)Be.remove(this);else he.remove(this);const{initialTeardown:_e}=this;if((0,r.m)(_e))try{_e()}catch(Be){ee=Be instanceof J?Be.errors:[Be]}const{_finalizers:Ue}=this;if(Ue){this._finalizers=null;for(const Be of Ue)try{ae(Be)}catch(je){ee=ee??[],je instanceof J?ee=[...ee,...je.errors]:ee.push(je)}}if(ee)throw new J(ee)}}add(ee){var he;if(ee&&ee!==this)if(this.closed)ae(ee);else{if(ee instanceof z){if(ee.closed||ee._hasParent(this))return;ee._addParent(this)}(this._finalizers=null!==(he=this._finalizers)&&void 0!==he?he:[]).push(ee)}}_hasParent(ee){const{_parentage:he}=this;return he===ee||Array.isArray(he)&&he.includes(ee)}_addParent(ee){const{_parentage:he}=this;this._parentage=Array.isArray(he)?(he.push(ee),he):he?[he,ee]:ee}_removeParent(ee){const{_parentage:he}=this;he===ee?this._parentage=null:Array.isArray(he)&&(0,G.P)(he,ee)}remove(ee){const{_finalizers:he}=this;he&&(0,G.P)(he,ee),ee instanceof z&&ee._removeParent(this)}}z.EMPTY=(()=>{const ie=new z;return ie.closed=!0,ie})();const K=z.EMPTY;function ve(ie){return ie instanceof z||ie&&"closed"in ie&&(0,r.m)(ie.remove)&&(0,r.m)(ie.add)&&(0,r.m)(ie.unsubscribe)}function ae(ie){(0,r.m)(ie)?ie():ie.unsubscribe()}},2416:(dt,Ee,D)=>{D.d(Ee,{v:()=>r});const r={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},4033:(dt,Ee,D)=>{D.d(Ee,{c:()=>K});var r=D(9751),d=D(727),J=D(8343),G=D(5403),z=D(4482);class K extends r.y{constructor(ae,ie){super(),this.source=ae,this.subjectFactory=ie,this._subject=null,this._refCount=0,this._connection=null,(0,z.A)(ae)&&(this.lift=ae.lift)}_subscribe(ae){return this.getSubject().subscribe(ae)}getSubject(){const ae=this._subject;return(!ae||ae.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:ae}=this;this._subject=this._connection=null,ae?.unsubscribe()}connect(){let ae=this._connection;if(!ae){ae=this._connection=new d.w0;const ie=this.getSubject();ae.add(this.source.subscribe((0,G.x)(ie,void 0,()=>{this._teardown(),ie.complete()},ee=>{this._teardown(),ie.error(ee)},()=>this._teardown()))),ae.closed&&(this._connection=null,ae=d.w0.EMPTY)}return ae}refCount(){return(0,J.x)()(this)}}},9841:(dt,Ee,D)=>{D.d(Ee,{a:()=>ee});var r=D(9751),d=D(4742),J=D(2076),G=D(4671),z=D(3268),K=D(3269),ve=D(1810),ae=D(5403),ie=D(9672);function ee(...Ue){const Be=(0,K.yG)(Ue),je=(0,K.jO)(Ue),{args:Te,keys:Ve}=(0,d.D)(Ue);if(0===Te.length)return(0,J.D)([],Be);const Je=new r.y(function he(Ue,Be,je=G.y){return Te=>{_e(Be,()=>{const{length:Ve}=Ue,Je=new Array(Ve);let Se=Ve,ht=Ve;for(let le=0;le<Ve;le++)_e(Be,()=>{const Z=(0,J.D)(Ue[le],Be);let Oe=!1;Z.subscribe((0,ae.x)(Te,Le=>{Je[le]=Le,Oe||(Oe=!0,ht--),ht||Te.next(je(Je.slice()))},()=>{--Se||Te.complete()}))},Te)},Te)}}(Te,Be,Ve?Se=>(0,ve.n)(Ve,Se):G.y));return je?Je.pipe((0,z.Z)(je)):Je}function _e(Ue,Be,je){Ue?(0,ie.f)(je,Ue,Be):Be()}},7272:(dt,Ee,D)=>{D.d(Ee,{z:()=>z});var r=D(8189),J=D(3269),G=D(2076);function z(...K){return function d(){return(0,r.J)(1)}()((0,G.D)(K,(0,J.yG)(K)))}},9770:(dt,Ee,D)=>{D.d(Ee,{P:()=>J});var r=D(9751),d=D(8421);function J(G){return new r.y(z=>{(0,d.Xf)(G()).subscribe(z)})}},515:(dt,Ee,D)=>{D.d(Ee,{E:()=>d});const d=new(D(9751).y)(z=>z.complete())},2076:(dt,Ee,D)=>{D.d(Ee,{D:()=>Le});var r=D(8421),d=D(9672),J=D(4482),G=D(5403);function z(Ae,Ge=0){return(0,J.e)((We,ye)=>{We.subscribe((0,G.x)(ye,be=>(0,d.f)(ye,Ae,()=>ye.next(be),Ge),()=>(0,d.f)(ye,Ae,()=>ye.complete(),Ge),be=>(0,d.f)(ye,Ae,()=>ye.error(be),Ge)))})}function K(Ae,Ge=0){return(0,J.e)((We,ye)=>{ye.add(Ae.schedule(()=>We.subscribe(ye),Ge))})}var ie=D(9751),he=D(2202),_e=D(576);function Be(Ae,Ge){if(!Ae)throw new Error("Iterable cannot be null");return new ie.y(We=>{(0,d.f)(We,Ge,()=>{const ye=Ae[Symbol.asyncIterator]();(0,d.f)(We,Ge,()=>{ye.next().then(be=>{be.done?We.complete():We.next(be.value)})},0,!0)})})}var je=D(3670),Te=D(8239),Ve=D(1144),Je=D(6495),Se=D(2206),ht=D(4532),le=D(3260);function Le(Ae,Ge){return Ge?function Oe(Ae,Ge){if(null!=Ae){if((0,je.c)(Ae))return function ve(Ae,Ge){return(0,r.Xf)(Ae).pipe(K(Ge),z(Ge))}(Ae,Ge);if((0,Ve.z)(Ae))return function ee(Ae,Ge){return new ie.y(We=>{let ye=0;return Ge.schedule(function(){ye===Ae.length?We.complete():(We.next(Ae[ye++]),We.closed||this.schedule())})})}(Ae,Ge);if((0,Te.t)(Ae))return function ae(Ae,Ge){return(0,r.Xf)(Ae).pipe(K(Ge),z(Ge))}(Ae,Ge);if((0,Se.D)(Ae))return Be(Ae,Ge);if((0,Je.T)(Ae))return function Ue(Ae,Ge){return new ie.y(We=>{let ye;return(0,d.f)(We,Ge,()=>{ye=Ae[he.h](),(0,d.f)(We,Ge,()=>{let be,ke;try{({value:be,done:ke}=ye.next())}catch(Ce){return void We.error(Ce)}ke?We.complete():We.next(be)},0,!0)}),()=>(0,_e.m)(ye?.return)&&ye.return()})}(Ae,Ge);if((0,le.L)(Ae))return function Z(Ae,Ge){return Be((0,le.Q)(Ae),Ge)}(Ae,Ge)}throw(0,ht.z)(Ae)}(Ae,Ge):(0,r.Xf)(Ae)}},4968:(dt,Ee,D)=>{D.d(Ee,{R:()=>ee});var r=D(8421),d=D(9751),J=D(5577),G=D(1144),z=D(576),K=D(3268);const ve=["addListener","removeListener"],ae=["addEventListener","removeEventListener"],ie=["on","off"];function ee(je,Te,Ve,Je){if((0,z.m)(Ve)&&(Je=Ve,Ve=void 0),Je)return ee(je,Te,Ve).pipe((0,K.Z)(Je));const[Se,ht]=function Be(je){return(0,z.m)(je.addEventListener)&&(0,z.m)(je.removeEventListener)}(je)?ae.map(le=>Z=>je[le](Te,Z,Ve)):function _e(je){return(0,z.m)(je.addListener)&&(0,z.m)(je.removeListener)}(je)?ve.map(he(je,Te)):function Ue(je){return(0,z.m)(je.on)&&(0,z.m)(je.off)}(je)?ie.map(he(je,Te)):[];if(!Se&&(0,G.z)(je))return(0,J.z)(le=>ee(le,Te,Ve))((0,r.Xf)(je));if(!Se)throw new TypeError("Invalid event target");return new d.y(le=>{const Z=(...Oe)=>le.next(1<Oe.length?Oe:Oe[0]);return Se(Z),()=>ht(Z)})}function he(je,Te){return Ve=>Je=>je[Ve](Te,Je)}},8421:(dt,Ee,D)=>{D.d(Ee,{Xf:()=>Ue});var r=D(655),d=D(1144),J=D(8239),G=D(9751),z=D(3670),K=D(2206),ve=D(4532),ae=D(6495),ie=D(3260),ee=D(576),he=D(7849),_e=D(8822);function Ue(le){if(le instanceof G.y)return le;if(null!=le){if((0,z.c)(le))return function Be(le){return new G.y(Z=>{const Oe=le[_e.L]();if((0,ee.m)(Oe.subscribe))return Oe.subscribe(Z);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(le);if((0,d.z)(le))return function je(le){return new G.y(Z=>{for(let Oe=0;Oe<le.length&&!Z.closed;Oe++)Z.next(le[Oe]);Z.complete()})}(le);if((0,J.t)(le))return function Te(le){return new G.y(Z=>{le.then(Oe=>{Z.closed||(Z.next(Oe),Z.complete())},Oe=>Z.error(Oe)).then(null,he.h)})}(le);if((0,K.D)(le))return Je(le);if((0,ae.T)(le))return function Ve(le){return new G.y(Z=>{for(const Oe of le)if(Z.next(Oe),Z.closed)return;Z.complete()})}(le);if((0,ie.L)(le))return function Se(le){return Je((0,ie.Q)(le))}(le)}throw(0,ve.z)(le)}function Je(le){return new G.y(Z=>{(function ht(le,Z){var Oe,Le,Ae,Ge;return(0,r.mG)(this,void 0,void 0,function*(){try{for(Oe=(0,r.KL)(le);!(Le=yield Oe.next()).done;)if(Z.next(Le.value),Z.closed)return}catch(We){Ae={error:We}}finally{try{Le&&!Le.done&&(Ge=Oe.return)&&(yield Ge.call(Oe))}finally{if(Ae)throw Ae.error}}Z.complete()})})(le,Z).catch(Oe=>Z.error(Oe))})}},6451:(dt,Ee,D)=>{D.d(Ee,{T:()=>K});var r=D(8189),d=D(8421),J=D(515),G=D(3269),z=D(2076);function K(...ve){const ae=(0,G.yG)(ve),ie=(0,G._6)(ve,1/0),ee=ve;return ee.length?1===ee.length?(0,d.Xf)(ee[0]):(0,r.J)(ie)((0,z.D)(ee,ae)):J.E}},9646:(dt,Ee,D)=>{D.d(Ee,{of:()=>J});var r=D(3269),d=D(2076);function J(...G){const z=(0,r.yG)(G);return(0,d.D)(G,z)}},2843:(dt,Ee,D)=>{D.d(Ee,{_:()=>J});var r=D(9751),d=D(576);function J(G,z){const K=(0,d.m)(G)?G:()=>G,ve=ae=>ae.error(K());return new r.y(z?ae=>z.schedule(ve,0,ae):ve)}},2805:(dt,Ee,D)=>{D.d(Ee,{H:()=>z});var r=D(9751),d=D(4986),J=D(3532),G=D(1165);function z(K=0,ve,ae=d.P){let ie=-1;return null!=ve&&((0,J.K)(ve)?ae=ve:ie=ve),new r.y(ee=>{let he=(0,G.q)(K)?+K-ae.now():K;he<0&&(he=0);let _e=0;return ae.schedule(function(){ee.closed||(ee.next(_e++),0<=ie?this.schedule(void 0,ie):ee.complete())},he)})}},5403:(dt,Ee,D)=>{D.d(Ee,{x:()=>d});var r=D(930);function d(G,z,K,ve,ae){return new J(G,z,K,ve,ae)}class J extends r.Lv{constructor(z,K,ve,ae,ie,ee){super(z),this.onFinalize=ie,this.shouldUnsubscribe=ee,this._next=K?function(he){try{K(he)}catch(_e){z.error(_e)}}:super._next,this._error=ae?function(he){try{ae(he)}catch(_e){z.error(_e)}finally{this.unsubscribe()}}:super._error,this._complete=ve?function(){try{ve()}catch(he){z.error(he)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var z;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:K}=this;super.unsubscribe(),!K&&(null===(z=this.onFinalize)||void 0===z||z.call(this))}}}},3601:(dt,Ee,D)=>{D.d(Ee,{e:()=>ve});var r=D(4986),d=D(4482),J=D(8421),G=D(5403),K=D(2805);function ve(ae,ie=r.z){return function z(ae){return(0,d.e)((ie,ee)=>{let he=!1,_e=null,Ue=null,Be=!1;const je=()=>{if(Ue?.unsubscribe(),Ue=null,he){he=!1;const Ve=_e;_e=null,ee.next(Ve)}Be&&ee.complete()},Te=()=>{Ue=null,Be&&ee.complete()};ie.subscribe((0,G.x)(ee,Ve=>{he=!0,_e=Ve,Ue||(0,J.Xf)(ae(Ve)).subscribe(Ue=(0,G.x)(ee,je,Te))},()=>{Be=!0,(!he||!Ue||Ue.closed)&&ee.complete()}))})}(()=>(0,K.H)(ae,ie))}},4351:(dt,Ee,D)=>{D.d(Ee,{b:()=>J});var r=D(5577),d=D(576);function J(G,z){return(0,d.m)(z)?(0,r.z)(G,z,1):(0,r.z)(G,1)}},8372:(dt,Ee,D)=>{D.d(Ee,{b:()=>G});var r=D(4986),d=D(4482),J=D(5403);function G(z,K=r.z){return(0,d.e)((ve,ae)=>{let ie=null,ee=null,he=null;const _e=()=>{if(ie){ie.unsubscribe(),ie=null;const Be=ee;ee=null,ae.next(Be)}};function Ue(){const Be=he+z,je=K.now();if(je<Be)return ie=this.schedule(void 0,Be-je),void ae.add(ie);_e()}ve.subscribe((0,J.x)(ae,Be=>{ee=Be,he=K.now(),ie||(ie=K.schedule(Ue,z),ae.add(ie))},()=>{_e(),ae.complete()},void 0,()=>{ee=ie=null}))})}},1005:(dt,Ee,D)=>{D.d(Ee,{g:()=>_e});var r=D(4986),d=D(7272),J=D(5698),G=D(4482),z=D(5403),K=D(5032),ae=D(9718),ie=D(5577);function ee(Ue,Be){return Be?je=>(0,d.z)(Be.pipe((0,J.q)(1),function ve(){return(0,G.e)((Ue,Be)=>{Ue.subscribe((0,z.x)(Be,K.Z))})}()),je.pipe(ee(Ue))):(0,ie.z)((je,Te)=>Ue(je,Te).pipe((0,J.q)(1),(0,ae.h)(je)))}var he=D(2805);function _e(Ue,Be=r.z){const je=(0,he.H)(Ue,Be);return ee(()=>je)}},1884:(dt,Ee,D)=>{D.d(Ee,{x:()=>G});var r=D(4671),d=D(4482),J=D(5403);function G(K,ve=r.y){return K=K??z,(0,d.e)((ae,ie)=>{let ee,he=!0;ae.subscribe((0,J.x)(ie,_e=>{const Ue=ve(_e);(he||!K(ee,Ue))&&(he=!1,ee=Ue,ie.next(_e))}))})}function z(K,ve){return K===ve}},9300:(dt,Ee,D)=>{D.d(Ee,{h:()=>J});var r=D(4482),d=D(5403);function J(G,z){return(0,r.e)((K,ve)=>{let ae=0;K.subscribe((0,d.x)(ve,ie=>G.call(z,ie,ae++)&&ve.next(ie)))})}},8746:(dt,Ee,D)=>{D.d(Ee,{x:()=>d});var r=D(4482);function d(J){return(0,r.e)((G,z)=>{try{G.subscribe(z)}finally{z.add(J)}})}},4004:(dt,Ee,D)=>{D.d(Ee,{U:()=>J});var r=D(4482),d=D(5403);function J(G,z){return(0,r.e)((K,ve)=>{let ae=0;K.subscribe((0,d.x)(ve,ie=>{ve.next(G.call(z,ie,ae++))}))})}},9718:(dt,Ee,D)=>{D.d(Ee,{h:()=>d});var r=D(4004);function d(J){return(0,r.U)(()=>J)}},8189:(dt,Ee,D)=>{D.d(Ee,{J:()=>J});var r=D(5577),d=D(4671);function J(G=1/0){return(0,r.z)(d.y,G)}},5577:(dt,Ee,D)=>{D.d(Ee,{z:()=>ae});var r=D(4004),d=D(8421),J=D(4482),G=D(9672),z=D(5403),ve=D(576);function ae(ie,ee,he=1/0){return(0,ve.m)(ee)?ae((_e,Ue)=>(0,r.U)((Be,je)=>ee(_e,Be,Ue,je))((0,d.Xf)(ie(_e,Ue))),he):("number"==typeof ee&&(he=ee),(0,J.e)((_e,Ue)=>function K(ie,ee,he,_e,Ue,Be,je,Te){const Ve=[];let Je=0,Se=0,ht=!1;const le=()=>{ht&&!Ve.length&&!Je&&ee.complete()},Z=Le=>Je<_e?Oe(Le):Ve.push(Le),Oe=Le=>{Be&&ee.next(Le),Je++;let Ae=!1;(0,d.Xf)(he(Le,Se++)).subscribe((0,z.x)(ee,Ge=>{Ue?.(Ge),Be?Z(Ge):ee.next(Ge)},()=>{Ae=!0},void 0,()=>{if(Ae)try{for(Je--;Ve.length&&Je<_e;){const Ge=Ve.shift();je?(0,G.f)(ee,je,()=>Oe(Ge)):Oe(Ge)}le()}catch(Ge){ee.error(Ge)}}))};return ie.subscribe((0,z.x)(ee,Z,()=>{ht=!0,le()})),()=>{Te?.()}}(_e,Ue,ie,he)))}},8343:(dt,Ee,D)=>{D.d(Ee,{x:()=>J});var r=D(4482),d=D(5403);function J(){return(0,r.e)((G,z)=>{let K=null;G._refCount++;const ve=(0,d.x)(z,void 0,void 0,void 0,()=>{if(!G||G._refCount<=0||0<--G._refCount)return void(K=null);const ae=G._connection,ie=K;K=null,ae&&(!ie||ae===ie)&&ae.unsubscribe(),z.unsubscribe()});G.subscribe(ve),ve.closed||(K=G.connect())})}},8675:(dt,Ee,D)=>{D.d(Ee,{O:()=>G});var r=D(7272),d=D(3269),J=D(4482);function G(...z){const K=(0,d.yG)(z);return(0,J.e)((ve,ae)=>{(K?(0,r.z)(z,ve,K):(0,r.z)(z,ve)).subscribe(ae)})}},3900:(dt,Ee,D)=>{D.d(Ee,{w:()=>G});var r=D(8421),d=D(4482),J=D(5403);function G(z,K){return(0,d.e)((ve,ae)=>{let ie=null,ee=0,he=!1;const _e=()=>he&&!ie&&ae.complete();ve.subscribe((0,J.x)(ae,Ue=>{ie?.unsubscribe();let Be=0;const je=ee++;(0,r.Xf)(z(Ue,je)).subscribe(ie=(0,J.x)(ae,Te=>ae.next(K?K(Ue,Te,je,Be++):Te),()=>{ie=null,_e()}))},()=>{he=!0,_e()}))})}},5698:(dt,Ee,D)=>{D.d(Ee,{q:()=>G});var r=D(515),d=D(4482),J=D(5403);function G(z){return z<=0?()=>r.E:(0,d.e)((K,ve)=>{let ae=0;K.subscribe((0,J.x)(ve,ie=>{++ae<=z&&(ve.next(ie),z<=ae&&ve.complete())}))})}},2722:(dt,Ee,D)=>{D.d(Ee,{R:()=>z});var r=D(4482),d=D(5403),J=D(8421),G=D(5032);function z(K){return(0,r.e)((ve,ae)=>{(0,J.Xf)(K).subscribe((0,d.x)(ae,()=>ae.complete(),G.Z)),!ae.closed&&ve.subscribe(ae)})}},8505:(dt,Ee,D)=>{D.d(Ee,{b:()=>z});var r=D(576),d=D(4482),J=D(5403),G=D(4671);function z(K,ve,ae){const ie=(0,r.m)(K)||ve||ae?{next:K,error:ve,complete:ae}:K;return ie?(0,d.e)((ee,he)=>{var _e;null===(_e=ie.subscribe)||void 0===_e||_e.call(ie);let Ue=!0;ee.subscribe((0,J.x)(he,Be=>{var je;null===(je=ie.next)||void 0===je||je.call(ie,Be),he.next(Be)},()=>{var Be;Ue=!1,null===(Be=ie.complete)||void 0===Be||Be.call(ie),he.complete()},Be=>{var je;Ue=!1,null===(je=ie.error)||void 0===je||je.call(ie,Be),he.error(Be)},()=>{var Be,je;Ue&&(null===(Be=ie.unsubscribe)||void 0===Be||Be.call(ie)),null===(je=ie.finalize)||void 0===je||je.call(ie)}))}):G.y}},4408:(dt,Ee,D)=>{D.d(Ee,{o:()=>z});var r=D(727);class d extends r.w0{constructor(ve,ae){super()}schedule(ve,ae=0){return this}}const J={setInterval(K,ve,...ae){const{delegate:ie}=J;return ie?.setInterval?ie.setInterval(K,ve,...ae):setInterval(K,ve,...ae)},clearInterval(K){const{delegate:ve}=J;return(ve?.clearInterval||clearInterval)(K)},delegate:void 0};var G=D(8737);class z extends d{constructor(ve,ae){super(ve,ae),this.scheduler=ve,this.work=ae,this.pending=!1}schedule(ve,ae=0){if(this.closed)return this;this.state=ve;const ie=this.id,ee=this.scheduler;return null!=ie&&(this.id=this.recycleAsyncId(ee,ie,ae)),this.pending=!0,this.delay=ae,this.id=this.id||this.requestAsyncId(ee,this.id,ae),this}requestAsyncId(ve,ae,ie=0){return J.setInterval(ve.flush.bind(ve,this),ie)}recycleAsyncId(ve,ae,ie=0){if(null!=ie&&this.delay===ie&&!1===this.pending)return ae;J.clearInterval(ae)}execute(ve,ae){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const ie=this._execute(ve,ae);if(ie)return ie;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(ve,ae){let ee,ie=!1;try{this.work(ve)}catch(he){ie=!0,ee=he||new Error("Scheduled action threw falsy error")}if(ie)return this.unsubscribe(),ee}unsubscribe(){if(!this.closed){const{id:ve,scheduler:ae}=this,{actions:ie}=ae;this.work=this.state=this.scheduler=null,this.pending=!1,(0,G.P)(ie,this),null!=ve&&(this.id=this.recycleAsyncId(ae,ve,null)),this.delay=null,super.unsubscribe()}}}},7565:(dt,Ee,D)=>{D.d(Ee,{v:()=>J});var r=D(6063);class d{constructor(z,K=d.now){this.schedulerActionCtor=z,this.now=K}schedule(z,K=0,ve){return new this.schedulerActionCtor(this,z).schedule(ve,K)}}d.now=r.l.now;class J extends d{constructor(z,K=d.now){super(z,K),this.actions=[],this._active=!1,this._scheduled=void 0}flush(z){const{actions:K}=this;if(this._active)return void K.push(z);let ve;this._active=!0;do{if(ve=z.execute(z.state,z.delay))break}while(z=K.shift());if(this._active=!1,ve){for(;z=K.shift();)z.unsubscribe();throw ve}}}},6406:(dt,Ee,D)=>{D.d(Ee,{Z:()=>ve});var r=D(4408),d=D(727);const J={schedule(ie){let ee=requestAnimationFrame,he=cancelAnimationFrame;const{delegate:_e}=J;_e&&(ee=_e.requestAnimationFrame,he=_e.cancelAnimationFrame);const Ue=ee(Be=>{he=void 0,ie(Be)});return new d.w0(()=>he?.(Ue))},requestAnimationFrame(...ie){const{delegate:ee}=J;return(ee?.requestAnimationFrame||requestAnimationFrame)(...ie)},cancelAnimationFrame(...ie){const{delegate:ee}=J;return(ee?.cancelAnimationFrame||cancelAnimationFrame)(...ie)},delegate:void 0};var z=D(7565);const ve=new class K extends z.v{flush(ee){this._active=!0;const he=this._scheduled;this._scheduled=void 0;const{actions:_e}=this;let Ue;ee=ee||_e.shift();do{if(Ue=ee.execute(ee.state,ee.delay))break}while((ee=_e[0])&&ee.id===he&&_e.shift());if(this._active=!1,Ue){for(;(ee=_e[0])&&ee.id===he&&_e.shift();)ee.unsubscribe();throw Ue}}}(class G extends r.o{constructor(ee,he){super(ee,he),this.scheduler=ee,this.work=he}requestAsyncId(ee,he,_e=0){return null!==_e&&_e>0?super.requestAsyncId(ee,he,_e):(ee.actions.push(this),ee._scheduled||(ee._scheduled=J.requestAnimationFrame(()=>ee.flush(void 0))))}recycleAsyncId(ee,he,_e=0){if(null!=_e&&_e>0||null==_e&&this.delay>0)return super.recycleAsyncId(ee,he,_e);ee.actions.some(Ue=>Ue.id===he)||(J.cancelAnimationFrame(he),ee._scheduled=void 0)}})},3101:(dt,Ee,D)=>{D.d(Ee,{E:()=>Be});var r=D(4408);let J,d=1;const G={};function z(Te){return Te in G&&(delete G[Te],!0)}const K={setImmediate(Te){const Ve=d++;return G[Ve]=!0,J||(J=Promise.resolve()),J.then(()=>z(Ve)&&Te()),Ve},clearImmediate(Te){z(Te)}},{setImmediate:ae,clearImmediate:ie}=K,ee={setImmediate(...Te){const{delegate:Ve}=ee;return(Ve?.setImmediate||ae)(...Te)},clearImmediate(Te){const{delegate:Ve}=ee;return(Ve?.clearImmediate||ie)(Te)},delegate:void 0};var _e=D(7565);const Be=new class Ue extends _e.v{flush(Ve){this._active=!0;const Je=this._scheduled;this._scheduled=void 0;const{actions:Se}=this;let ht;Ve=Ve||Se.shift();do{if(ht=Ve.execute(Ve.state,Ve.delay))break}while((Ve=Se[0])&&Ve.id===Je&&Se.shift());if(this._active=!1,ht){for(;(Ve=Se[0])&&Ve.id===Je&&Se.shift();)Ve.unsubscribe();throw ht}}}(class he extends r.o{constructor(Ve,Je){super(Ve,Je),this.scheduler=Ve,this.work=Je}requestAsyncId(Ve,Je,Se=0){return null!==Se&&Se>0?super.requestAsyncId(Ve,Je,Se):(Ve.actions.push(this),Ve._scheduled||(Ve._scheduled=ee.setImmediate(Ve.flush.bind(Ve,void 0))))}recycleAsyncId(Ve,Je,Se=0){if(null!=Se&&Se>0||null==Se&&this.delay>0)return super.recycleAsyncId(Ve,Je,Se);Ve.actions.some(ht=>ht.id===Je)||(ee.clearImmediate(Je),Ve._scheduled=void 0)}})},4986:(dt,Ee,D)=>{D.d(Ee,{P:()=>G,z:()=>J});var r=D(4408);const J=new(D(7565).v)(r.o),G=J},6063:(dt,Ee,D)=>{D.d(Ee,{l:()=>r});const r={now:()=>(r.delegate||Date).now(),delegate:void 0}},3410:(dt,Ee,D)=>{D.d(Ee,{z:()=>r});const r={setTimeout(d,J,...G){const{delegate:z}=r;return z?.setTimeout?z.setTimeout(d,J,...G):setTimeout(d,J,...G)},clearTimeout(d){const{delegate:J}=r;return(J?.clearTimeout||clearTimeout)(d)},delegate:void 0}},2202:(dt,Ee,D)=>{D.d(Ee,{h:()=>d});const d=function r(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},8822:(dt,Ee,D)=>{D.d(Ee,{L:()=>r});const r="function"==typeof Symbol&&Symbol.observable||"@@observable"},3269:(dt,Ee,D)=>{D.d(Ee,{_6:()=>K,jO:()=>G,yG:()=>z});var r=D(576),d=D(3532);function J(ve){return ve[ve.length-1]}function G(ve){return(0,r.m)(J(ve))?ve.pop():void 0}function z(ve){return(0,d.K)(J(ve))?ve.pop():void 0}function K(ve,ae){return"number"==typeof J(ve)?ve.pop():ae}},4742:(dt,Ee,D)=>{D.d(Ee,{D:()=>z});const{isArray:r}=Array,{getPrototypeOf:d,prototype:J,keys:G}=Object;function z(ve){if(1===ve.length){const ae=ve[0];if(r(ae))return{args:ae,keys:null};if(function K(ve){return ve&&"object"==typeof ve&&d(ve)===J}(ae)){const ie=G(ae);return{args:ie.map(ee=>ae[ee]),keys:ie}}}return{args:ve,keys:null}}},8737:(dt,Ee,D)=>{function r(d,J){if(d){const G=d.indexOf(J);0<=G&&d.splice(G,1)}}D.d(Ee,{P:()=>r})},3888:(dt,Ee,D)=>{function r(d){const G=d(z=>{Error.call(z),z.stack=(new Error).stack});return G.prototype=Object.create(Error.prototype),G.prototype.constructor=G,G}D.d(Ee,{d:()=>r})},1810:(dt,Ee,D)=>{function r(d,J){return d.reduce((G,z,K)=>(G[z]=J[K],G),{})}D.d(Ee,{n:()=>r})},2806:(dt,Ee,D)=>{D.d(Ee,{O:()=>G,x:()=>J});var r=D(2416);let d=null;function J(z){if(r.v.useDeprecatedSynchronousErrorHandling){const K=!d;if(K&&(d={errorThrown:!1,error:null}),z(),K){const{errorThrown:ve,error:ae}=d;if(d=null,ve)throw ae}}else z()}function G(z){r.v.useDeprecatedSynchronousErrorHandling&&d&&(d.errorThrown=!0,d.error=z)}},9672:(dt,Ee,D)=>{function r(d,J,G,z=0,K=!1){const ve=J.schedule(function(){G(),K?d.add(this.schedule(null,z)):this.unsubscribe()},z);if(d.add(ve),!K)return ve}D.d(Ee,{f:()=>r})},4671:(dt,Ee,D)=>{function r(d){return d}D.d(Ee,{y:()=>r})},1144:(dt,Ee,D)=>{D.d(Ee,{z:()=>r});const r=d=>d&&"number"==typeof d.length&&"function"!=typeof d},2206:(dt,Ee,D)=>{D.d(Ee,{D:()=>d});var r=D(576);function d(J){return Symbol.asyncIterator&&(0,r.m)(J?.[Symbol.asyncIterator])}},1165:(dt,Ee,D)=>{function r(d){return d instanceof Date&&!isNaN(d)}D.d(Ee,{q:()=>r})},576:(dt,Ee,D)=>{function r(d){return"function"==typeof d}D.d(Ee,{m:()=>r})},3670:(dt,Ee,D)=>{D.d(Ee,{c:()=>J});var r=D(8822),d=D(576);function J(G){return(0,d.m)(G[r.L])}},6495:(dt,Ee,D)=>{D.d(Ee,{T:()=>J});var r=D(2202),d=D(576);function J(G){return(0,d.m)(G?.[r.h])}},8239:(dt,Ee,D)=>{D.d(Ee,{t:()=>d});var r=D(576);function d(J){return(0,r.m)(J?.then)}},3260:(dt,Ee,D)=>{D.d(Ee,{L:()=>G,Q:()=>J});var r=D(655),d=D(576);function J(z){return(0,r.FC)(this,arguments,function*(){const ve=z.getReader();try{for(;;){const{value:ae,done:ie}=yield(0,r.qq)(ve.read());if(ie)return yield(0,r.qq)(void 0);yield yield(0,r.qq)(ae)}}finally{ve.releaseLock()}})}function G(z){return(0,d.m)(z?.getReader)}},3532:(dt,Ee,D)=>{D.d(Ee,{K:()=>d});var r=D(576);function d(J){return J&&(0,r.m)(J.schedule)}},4482:(dt,Ee,D)=>{D.d(Ee,{A:()=>d,e:()=>J});var r=D(576);function d(G){return(0,r.m)(G?.lift)}function J(G){return z=>{if(d(z))return z.lift(function(K){try{return G(K,this)}catch(ve){this.error(ve)}});throw new TypeError("Unable to lift unknown Observable type")}}},3268:(dt,Ee,D)=>{D.d(Ee,{Z:()=>G});var r=D(4004);const{isArray:d}=Array;function G(z){return(0,r.U)(K=>function J(z,K){return d(K)?z(...K):z(K)}(z,K))}},5032:(dt,Ee,D)=>{function r(){}D.d(Ee,{Z:()=>r})},9635:(dt,Ee,D)=>{D.d(Ee,{U:()=>J,z:()=>d});var r=D(4671);function d(...G){return J(G)}function J(G){return 0===G.length?r.y:1===G.length?G[0]:function(K){return G.reduce((ve,ae)=>ae(ve),K)}}},7849:(dt,Ee,D)=>{D.d(Ee,{h:()=>J});var r=D(2416),d=D(3410);function J(G){d.z.setTimeout(()=>{const{onUnhandledError:z}=r.v;if(!z)throw G;z(G)})}},4532:(dt,Ee,D)=>{function r(d){return new TypeError(`You provided ${null!==d&&"object"==typeof d?"an invalid object":`'${d}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}D.d(Ee,{z:()=>r})},655:(dt,Ee,D)=>{function ae(ye,be,ke,Ce){return new(ke||(ke=Promise))(function(Ke,Et){function Rt(we){try{ot(Ce.next(we))}catch(pt){Et(pt)}}function ft(we){try{ot(Ce.throw(we))}catch(pt){Et(pt)}}function ot(we){we.done?Ke(we.value):function ut(Ke){return Ke instanceof ke?Ke:new ke(function(Et){Et(Ke)})}(we.value).then(Rt,ft)}ot((Ce=Ce.apply(ye,be||[])).next())})}function Ve(ye){return this instanceof Ve?(this.v=ye,this):new Ve(ye)}function Je(ye,be,ke){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var ut,Ce=ke.apply(ye,be||[]),Ke=[];return ut={},Et("next"),Et("throw"),Et("return"),ut[Symbol.asyncIterator]=function(){return this},ut;function Et(De){Ce[De]&&(ut[De]=function(xe){return new Promise(function(ge,Fe){Ke.push([De,xe,ge,Fe])>1||Rt(De,xe)})})}function Rt(De,xe){try{!function ft(De){De.value instanceof Ve?Promise.resolve(De.value.v).then(ot,we):pt(Ke[0][2],De)}(Ce[De](xe))}catch(ge){pt(Ke[0][3],ge)}}function ot(De){Rt("next",De)}function we(De){Rt("throw",De)}function pt(De,xe){De(xe),Ke.shift(),Ke.length&&Rt(Ke[0][0],Ke[0][1])}}function ht(ye){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var ke,be=ye[Symbol.asyncIterator];return be?be.call(ye):(ye=function _e(ye){var be="function"==typeof Symbol&&Symbol.iterator,ke=be&&ye[be],Ce=0;if(ke)return ke.call(ye);if(ye&&"number"==typeof ye.length)return{next:function(){return ye&&Ce>=ye.length&&(ye=void 0),{value:ye&&ye[Ce++],done:!ye}}};throw new TypeError(be?"Object is not iterable.":"Symbol.iterator is not defined.")}(ye),ke={},Ce("next"),Ce("throw"),Ce("return"),ke[Symbol.asyncIterator]=function(){return this},ke);function Ce(Ke){ke[Ke]=ye[Ke]&&function(Et){return new Promise(function(Rt,ft){!function ut(Ke,Et,Rt,ft){Promise.resolve(ft).then(function(ot){Ke({value:ot,done:Rt})},Et)}(Rt,ft,(Et=ye[Ke](Et)).done,Et.value)})}}}D.d(Ee,{FC:()=>Je,KL:()=>ht,mG:()=>ae,qq:()=>Ve})},7340:(dt,Ee,D)=>{D.d(Ee,{F4:()=>ee,IO:()=>je,LC:()=>d,SB:()=>ie,X$:()=>G,ZE:()=>Se,ZN:()=>Je,_j:()=>r,eR:()=>he,jt:()=>z,k1:()=>ht,l3:()=>J,oB:()=>ae,pV:()=>Ue,ru:()=>K,vP:()=>ve});class r{}class d{}const J="*";function G(le,Z){return{type:7,name:le,definitions:Z,options:{}}}function z(le,Z=null){return{type:4,styles:Z,timings:le}}function K(le,Z=null){return{type:3,steps:le,options:Z}}function ve(le,Z=null){return{type:2,steps:le,options:Z}}function ae(le){return{type:6,styles:le,offset:null}}function ie(le,Z,Oe){return{type:0,name:le,styles:Z,options:Oe}}function ee(le){return{type:5,steps:le}}function he(le,Z,Oe=null){return{type:1,expr:le,animation:Z,options:Oe}}function Ue(le=null){return{type:9,options:le}}function je(le,Z,Oe=null){return{type:11,selector:le,animation:Z,options:Oe}}function Ve(le){Promise.resolve(null).then(le)}class Je{constructor(Z=0,Oe=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=Z+Oe}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(Z=>Z()),this._onDoneFns=[])}onStart(Z){this._originalOnStartFns.push(Z),this._onStartFns.push(Z)}onDone(Z){this._originalOnDoneFns.push(Z),this._onDoneFns.push(Z)}onDestroy(Z){this._onDestroyFns.push(Z)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){Ve(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(Z=>Z()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(Z=>Z()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(Z){this._position=this.totalTime?Z*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(Z){const Oe="start"==Z?this._onStartFns:this._onDoneFns;Oe.forEach(Le=>Le()),Oe.length=0}}class Se{constructor(Z){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=Z;let Oe=0,Le=0,Ae=0;const Ge=this.players.length;0==Ge?Ve(()=>this._onFinish()):this.players.forEach(We=>{We.onDone(()=>{++Oe==Ge&&this._onFinish()}),We.onDestroy(()=>{++Le==Ge&&this._onDestroy()}),We.onStart(()=>{++Ae==Ge&&this._onStart()})}),this.totalTime=this.players.reduce((We,ye)=>Math.max(We,ye.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(Z=>Z()),this._onDoneFns=[])}init(){this.players.forEach(Z=>Z.init())}onStart(Z){this._onStartFns.push(Z)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(Z=>Z()),this._onStartFns=[])}onDone(Z){this._onDoneFns.push(Z)}onDestroy(Z){this._onDestroyFns.push(Z)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(Z=>Z.play())}pause(){this.players.forEach(Z=>Z.pause())}restart(){this.players.forEach(Z=>Z.restart())}finish(){this._onFinish(),this.players.forEach(Z=>Z.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(Z=>Z.destroy()),this._onDestroyFns.forEach(Z=>Z()),this._onDestroyFns=[])}reset(){this.players.forEach(Z=>Z.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(Z){const Oe=Z*this.totalTime;this.players.forEach(Le=>{const Ae=Le.totalTime?Math.min(1,Oe/Le.totalTime):1;Le.setPosition(Ae)})}getPosition(){const Z=this.players.reduce((Oe,Le)=>null===Oe||Le.totalTime>Oe.totalTime?Le:Oe,null);return null!=Z?Z.getPosition():0}beforeDestroy(){this.players.forEach(Z=>{Z.beforeDestroy&&Z.beforeDestroy()})}triggerCallback(Z){const Oe="start"==Z?this._onStartFns:this._onDoneFns;Oe.forEach(Le=>Le()),Oe.length=0}}const ht="!"},7188:(dt,Ee,D)=>{D.d(Ee,{rt:()=>B,s1:()=>rn,tE:()=>Vn,qV:()=>fe,qm:()=>F,ic:()=>on,X6:()=>kt,yG:()=>Re});var r=D(6895),d=D(1571),J=D(3353),G=D(7579),z=D(727),K=D(1135),ve=D(9646),ae=D(9521),ie=D(9300);function ee(p){return(0,ie.h)((v,_)=>p<=_)}var he=D(8505),_e=D(8372),Ue=D(4004),Be=D(5698),je=D(1884),Te=D(2722),Ve=D(1281);let Je=(()=>{class p{create(_){return typeof MutationObserver>"u"?null:new MutationObserver(_)}}return p.\u0275fac=function(_){return new(_||p)},p.\u0275prov=d.Yz7({token:p,factory:p.\u0275fac,providedIn:"root"}),p})(),le=(()=>{class p{}return p.\u0275fac=function(_){return new(_||p)},p.\u0275mod=d.oAB({type:p}),p.\u0275inj=d.cJS({providers:[Je]}),p})();var Z=D(9841),Oe=D(7272),Le=D(9751),Ae=D(8675);const We=new Set;let ye,be=(()=>{class p{constructor(_){this._platform=_,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):Ce}matchMedia(_){return(this._platform.WEBKIT||this._platform.BLINK)&&function ke(p){if(!We.has(p))try{ye||(ye=document.createElement("style"),ye.setAttribute("type","text/css"),document.head.appendChild(ye)),ye.sheet&&(ye.sheet.insertRule(`@media ${p} {body{ }}`,0),We.add(p))}catch(v){console.error(v)}}(_),this._matchMedia(_)}}return p.\u0275fac=function(_){return new(_||p)(d.LFG(J.t4))},p.\u0275prov=d.Yz7({token:p,factory:p.\u0275fac,providedIn:"root"}),p})();function Ce(p){return{matches:"all"===p||""===p,media:p,addListener:()=>{},removeListener:()=>{}}}let ut=(()=>{class p{constructor(_,w){this._mediaMatcher=_,this._zone=w,this._queries=new Map,this._destroySubject=new G.x}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(_){return Ke((0,Ve.Eq)(_)).some(P=>this._registerQuery(P).mql.matches)}observe(_){const P=Ke((0,Ve.Eq)(_)).map(qe=>this._registerQuery(qe).observable);let ue=(0,Z.a)(P);return ue=(0,Oe.z)(ue.pipe((0,Be.q)(1)),ue.pipe(ee(1),(0,_e.b)(0))),ue.pipe((0,Ue.U)(qe=>{const st={matches:!1,breakpoints:{}};return qe.forEach(({matches:Vt,query:Tt})=>{st.matches=st.matches||Vt,st.breakpoints[Tt]=Vt}),st}))}_registerQuery(_){if(this._queries.has(_))return this._queries.get(_);const w=this._mediaMatcher.matchMedia(_),ue={observable:new Le.y(qe=>{const st=Vt=>this._zone.run(()=>qe.next(Vt));return w.addListener(st),()=>{w.removeListener(st)}}).pipe((0,Ae.O)(w),(0,Ue.U)(({matches:qe})=>({query:_,matches:qe})),(0,Te.R)(this._destroySubject)),mql:w};return this._queries.set(_,ue),ue}}return p.\u0275fac=function(_){return new(_||p)(d.LFG(be),d.LFG(d.R0b))},p.\u0275prov=d.Yz7({token:p,factory:p.\u0275fac,providedIn:"root"}),p})();function Ke(p){return p.map(v=>v.split(",")).reduce((v,_)=>v.concat(_)).map(v=>v.trim())}class rn extends class Wt{constructor(v){this._items=v,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new G.x,this._typeaheadSubscription=z.w0.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._skipPredicateFn=_=>_.disabled,this._pressedLetters=[],this.tabOut=new G.x,this.change=new G.x,v instanceof d.n_E&&v.changes.subscribe(_=>{if(this._activeItem){const P=_.toArray().indexOf(this._activeItem);P>-1&&P!==this._activeItemIndex&&(this._activeItemIndex=P)}})}skipPredicate(v){return this._skipPredicateFn=v,this}withWrap(v=!0){return this._wrap=v,this}withVerticalOrientation(v=!0){return this._vertical=v,this}withHorizontalOrientation(v){return this._horizontal=v,this}withAllowedModifierKeys(v){return this._allowedModifierKeys=v,this}withTypeAhead(v=200){return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe((0,he.b)(_=>this._pressedLetters.push(_)),(0,_e.b)(v),(0,ie.h)(()=>this._pressedLetters.length>0),(0,Ue.U)(()=>this._pressedLetters.join(""))).subscribe(_=>{const w=this._getItemsArray();for(let P=1;P<w.length+1;P++){const ue=(this._activeItemIndex+P)%w.length,qe=w[ue];if(!this._skipPredicateFn(qe)&&0===qe.getLabel().toUpperCase().trim().indexOf(_)){this.setActiveItem(ue);break}}this._pressedLetters=[]}),this}withHomeAndEnd(v=!0){return this._homeAndEnd=v,this}setActiveItem(v){const _=this._activeItem;this.updateActiveItem(v),this._activeItem!==_&&this.change.next(this._activeItemIndex)}onKeydown(v){const _=v.keyCode,P=["altKey","ctrlKey","metaKey","shiftKey"].every(ue=>!v[ue]||this._allowedModifierKeys.indexOf(ue)>-1);switch(_){case ae.Mf:return void this.tabOut.next();case ae.JH:if(this._vertical&&P){this.setNextItemActive();break}return;case ae.LH:if(this._vertical&&P){this.setPreviousItemActive();break}return;case ae.SV:if(this._horizontal&&P){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case ae.oh:if(this._horizontal&&P){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case ae.Sd:if(this._homeAndEnd&&P){this.setFirstItemActive();break}return;case ae.uR:if(this._homeAndEnd&&P){this.setLastItemActive();break}return;default:return void((P||(0,ae.Vb)(v,"shiftKey"))&&(v.key&&1===v.key.length?this._letterKeyStream.next(v.key.toLocaleUpperCase()):(_>=ae.A&&_<=ae.Z||_>=ae.xE&&_<=ae.aO)&&this._letterKeyStream.next(String.fromCharCode(_))))}this._pressedLetters=[],v.preventDefault()}get activeItemIndex(){return this._activeItemIndex}get activeItem(){return this._activeItem}isTyping(){return this._pressedLetters.length>0}setFirstItemActive(){this._setActiveItemByIndex(0,1)}setLastItemActive(){this._setActiveItemByIndex(this._items.length-1,-1)}setNextItemActive(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}setPreviousItemActive(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}updateActiveItem(v){const _=this._getItemsArray(),w="number"==typeof v?v:_.indexOf(v);this._activeItem=_[w]??null,this._activeItemIndex=w}_setActiveItemByDelta(v){this._wrap?this._setActiveInWrapMode(v):this._setActiveInDefaultMode(v)}_setActiveInWrapMode(v){const _=this._getItemsArray();for(let w=1;w<=_.length;w++){const P=(this._activeItemIndex+v*w+_.length)%_.length;if(!this._skipPredicateFn(_[P]))return void this.setActiveItem(P)}}_setActiveInDefaultMode(v){this._setActiveItemByIndex(this._activeItemIndex+v,v)}_setActiveItemByIndex(v,_){const w=this._getItemsArray();if(w[v]){for(;this._skipPredicateFn(w[v]);)if(!w[v+=_])return;this.setActiveItem(v)}}_getItemsArray(){return this._items instanceof d.n_E?this._items.toArray():this._items}}{setActiveItem(v){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(v),this.activeItem&&this.activeItem.setActiveStyles()}}let on=(()=>{class p{constructor(_){this._platform=_}isDisabled(_){return _.hasAttribute("disabled")}isVisible(_){return function gn(p){return!!(p.offsetWidth||p.offsetHeight||"function"==typeof p.getClientRects&&p.getClientRects().length)}(_)&&"visible"===getComputedStyle(_).visibility}isTabbable(_){if(!this._platform.isBrowser)return!1;const w=function Kt(p){try{return p.frameElement}catch{return null}}(function Q(p){return p.ownerDocument&&p.ownerDocument.defaultView||window}(_));if(w&&(-1===te(w)||!this.isVisible(w)))return!1;let P=_.nodeName.toLowerCase(),ue=te(_);return _.hasAttribute("contenteditable")?-1!==ue:!("iframe"===P||"object"===P||this._platform.WEBKIT&&this._platform.IOS&&!function Me(p){let v=p.nodeName.toLowerCase(),_="input"===v&&p.type;return"text"===_||"password"===_||"select"===v||"textarea"===v}(_))&&("audio"===P?!!_.hasAttribute("controls")&&-1!==ue:"video"===P?-1!==ue&&(null!==ue||this._platform.FIREFOX||_.hasAttribute("controls")):_.tabIndex>=0)}isFocusable(_,w){return function de(p){return!function He(p){return function H(p){return"input"==p.nodeName.toLowerCase()}(p)&&"hidden"==p.type}(p)&&(function mn(p){let v=p.nodeName.toLowerCase();return"input"===v||"select"===v||"button"===v||"textarea"===v}(p)||function V(p){return function Y(p){return"a"==p.nodeName.toLowerCase()}(p)&&p.hasAttribute("href")}(p)||p.hasAttribute("contenteditable")||$(p))}(_)&&!this.isDisabled(_)&&(w?.ignoreVisibility||this.isVisible(_))}}return p.\u0275fac=function(_){return new(_||p)(d.LFG(J.t4))},p.\u0275prov=d.Yz7({token:p,factory:p.\u0275fac,providedIn:"root"}),p})();function $(p){if(!p.hasAttribute("tabindex")||void 0===p.tabIndex)return!1;let v=p.getAttribute("tabindex");return!(!v||isNaN(parseInt(v,10)))}function te(p){if(!$(p))return null;const v=parseInt(p.getAttribute("tabindex")||"",10);return isNaN(v)?-1:v}class W{constructor(v,_,w,P,ue=!1){this._element=v,this._checker=_,this._ngZone=w,this._document=P,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,ue||this.attachAnchors()}get enabled(){return this._enabled}set enabled(v){this._enabled=v,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(v,this._startAnchor),this._toggleAnchorTabIndex(v,this._endAnchor))}destroy(){const v=this._startAnchor,_=this._endAnchor;v&&(v.removeEventListener("focus",this.startAnchorListener),v.remove()),_&&(_.removeEventListener("focus",this.endAnchorListener),_.remove()),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}attachAnchors(){return!!this._hasAttached||(this._ngZone.runOutsideAngular(()=>{this._startAnchor||(this._startAnchor=this._createAnchor(),this._startAnchor.addEventListener("focus",this.startAnchorListener)),this._endAnchor||(this._endAnchor=this._createAnchor(),this._endAnchor.addEventListener("focus",this.endAnchorListener))}),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}focusInitialElementWhenReady(v){return new Promise(_=>{this._executeOnStable(()=>_(this.focusInitialElement(v)))})}focusFirstTabbableElementWhenReady(v){return new Promise(_=>{this._executeOnStable(()=>_(this.focusFirstTabbableElement(v)))})}focusLastTabbableElementWhenReady(v){return new Promise(_=>{this._executeOnStable(()=>_(this.focusLastTabbableElement(v)))})}_getRegionBoundary(v){const _=this._element.querySelectorAll(`[cdk-focus-region-${v}], [cdkFocusRegion${v}], [cdk-focus-${v}]`);return"start"==v?_.length?_[0]:this._getFirstTabbableElement(this._element):_.length?_[_.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(v){const _=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(_){if(!this._checker.isFocusable(_)){const w=this._getFirstTabbableElement(_);return w?.focus(v),!!w}return _.focus(v),!0}return this.focusFirstTabbableElement(v)}focusFirstTabbableElement(v){const _=this._getRegionBoundary("start");return _&&_.focus(v),!!_}focusLastTabbableElement(v){const _=this._getRegionBoundary("end");return _&&_.focus(v),!!_}hasAttached(){return this._hasAttached}_getFirstTabbableElement(v){if(this._checker.isFocusable(v)&&this._checker.isTabbable(v))return v;const _=v.children;for(let w=0;w<_.length;w++){const P=_[w].nodeType===this._document.ELEMENT_NODE?this._getFirstTabbableElement(_[w]):null;if(P)return P}return null}_getLastTabbableElement(v){if(this._checker.isFocusable(v)&&this._checker.isTabbable(v))return v;const _=v.children;for(let w=_.length-1;w>=0;w--){const P=_[w].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(_[w]):null;if(P)return P}return null}_createAnchor(){const v=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,v),v.classList.add("cdk-visually-hidden"),v.classList.add("cdk-focus-trap-anchor"),v.setAttribute("aria-hidden","true"),v}_toggleAnchorTabIndex(v,_){v?_.setAttribute("tabindex","0"):_.removeAttribute("tabindex")}toggleAnchors(v){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(v,this._startAnchor),this._toggleAnchorTabIndex(v,this._endAnchor))}_executeOnStable(v){this._ngZone.isStable?v():this._ngZone.onStable.pipe((0,Be.q)(1)).subscribe(v)}}let fe=(()=>{class p{constructor(_,w,P){this._checker=_,this._ngZone=w,this._document=P}create(_,w=!1){return new W(_,this._checker,this._ngZone,this._document,w)}}return p.\u0275fac=function(_){return new(_||p)(d.LFG(on),d.LFG(d.R0b),d.LFG(r.K0))},p.\u0275prov=d.Yz7({token:p,factory:p.\u0275fac,providedIn:"root"}),p})();function kt(p){return 0===p.buttons||0===p.offsetX&&0===p.offsetY}function Re(p){const v=p.touches&&p.touches[0]||p.changedTouches&&p.changedTouches[0];return!(!v||-1!==v.identifier||null!=v.radiusX&&1!==v.radiusX||null!=v.radiusY&&1!==v.radiusY)}const re=new d.OlP("cdk-input-modality-detector-options"),oe={ignoreKeys:[ae.zL,ae.jx,ae.b2,ae.MW,ae.JU]},Dt=(0,J.i$)({passive:!0,capture:!0});let Ft=(()=>{class p{constructor(_,w,P,ue){this._platform=_,this._mostRecentTarget=null,this._modality=new K.X(null),this._lastTouchMs=0,this._onKeydown=qe=>{this._options?.ignoreKeys?.some(st=>st===qe.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=(0,J.sA)(qe))},this._onMousedown=qe=>{Date.now()-this._lastTouchMs<650||(this._modality.next(kt(qe)?"keyboard":"mouse"),this._mostRecentTarget=(0,J.sA)(qe))},this._onTouchstart=qe=>{Re(qe)?this._modality.next("keyboard"):(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=(0,J.sA)(qe))},this._options={...oe,...ue},this.modalityDetected=this._modality.pipe(ee(1)),this.modalityChanged=this.modalityDetected.pipe((0,je.x)()),_.isBrowser&&w.runOutsideAngular(()=>{P.addEventListener("keydown",this._onKeydown,Dt),P.addEventListener("mousedown",this._onMousedown,Dt),P.addEventListener("touchstart",this._onTouchstart,Dt)})}get mostRecentModality(){return this._modality.value}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,Dt),document.removeEventListener("mousedown",this._onMousedown,Dt),document.removeEventListener("touchstart",this._onTouchstart,Dt))}}return p.\u0275fac=function(_){return new(_||p)(d.LFG(J.t4),d.LFG(d.R0b),d.LFG(r.K0),d.LFG(re,8))},p.\u0275prov=d.Yz7({token:p,factory:p.\u0275fac,providedIn:"root"}),p})();const In=new d.OlP("cdk-focus-monitor-default-options"),Sn=(0,J.i$)({passive:!0,capture:!0});let Vn=(()=>{class p{constructor(_,w,P,ue,qe){this._ngZone=_,this._platform=w,this._inputModalityDetector=P,this._origin=null,this._windowFocused=!1,this._originFromTouchInteraction=!1,this._elementInfo=new Map,this._monitoredElementCount=0,this._rootNodeFocusListenerCount=new Map,this._windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=window.setTimeout(()=>this._windowFocused=!1)},this._stopInputModalityDetector=new G.x,this._rootNodeFocusAndBlurListener=st=>{for(let Tt=(0,J.sA)(st);Tt;Tt=Tt.parentElement)"focus"===st.type?this._onFocus(st,Tt):this._onBlur(st,Tt)},this._document=ue,this._detectionMode=qe?.detectionMode||0}monitor(_,w=!1){const P=(0,Ve.fI)(_);if(!this._platform.isBrowser||1!==P.nodeType)return(0,ve.of)(null);const ue=(0,J.kV)(P)||this._getDocument(),qe=this._elementInfo.get(P);if(qe)return w&&(qe.checkChildren=!0),qe.subject;const st={checkChildren:w,subject:new G.x,rootNode:ue};return this._elementInfo.set(P,st),this._registerGlobalListeners(st),st.subject}stopMonitoring(_){const w=(0,Ve.fI)(_),P=this._elementInfo.get(w);P&&(P.subject.complete(),this._setClasses(w),this._elementInfo.delete(w),this._removeGlobalListeners(P))}focusVia(_,w,P){const ue=(0,Ve.fI)(_);ue===this._getDocument().activeElement?this._getClosestElementsInfo(ue).forEach(([st,Vt])=>this._originChanged(st,w,Vt)):(this._setOrigin(w),"function"==typeof ue.focus&&ue.focus(P))}ngOnDestroy(){this._elementInfo.forEach((_,w)=>this.stopMonitoring(w))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(_){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(_)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:_&&this._isLastInteractionFromInputLabel(_)?"mouse":"program"}_shouldBeAttributedToTouch(_){return 1===this._detectionMode||!!_?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(_,w){_.classList.toggle("cdk-focused",!!w),_.classList.toggle("cdk-touch-focused","touch"===w),_.classList.toggle("cdk-keyboard-focused","keyboard"===w),_.classList.toggle("cdk-mouse-focused","mouse"===w),_.classList.toggle("cdk-program-focused","program"===w)}_setOrigin(_,w=!1){this._ngZone.runOutsideAngular(()=>{this._origin=_,this._originFromTouchInteraction="touch"===_&&w,0===this._detectionMode&&(clearTimeout(this._originTimeoutId),this._originTimeoutId=setTimeout(()=>this._origin=null,this._originFromTouchInteraction?650:1))})}_onFocus(_,w){const P=this._elementInfo.get(w),ue=(0,J.sA)(_);!P||!P.checkChildren&&w!==ue||this._originChanged(w,this._getFocusOrigin(ue),P)}_onBlur(_,w){const P=this._elementInfo.get(w);!P||P.checkChildren&&_.relatedTarget instanceof Node&&w.contains(_.relatedTarget)||(this._setClasses(w),this._emitOrigin(P,null))}_emitOrigin(_,w){_.subject.observers.length&&this._ngZone.run(()=>_.subject.next(w))}_registerGlobalListeners(_){if(!this._platform.isBrowser)return;const w=_.rootNode,P=this._rootNodeFocusListenerCount.get(w)||0;P||this._ngZone.runOutsideAngular(()=>{w.addEventListener("focus",this._rootNodeFocusAndBlurListener,Sn),w.addEventListener("blur",this._rootNodeFocusAndBlurListener,Sn)}),this._rootNodeFocusListenerCount.set(w,P+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe((0,Te.R)(this._stopInputModalityDetector)).subscribe(ue=>{this._setOrigin(ue,!0)}))}_removeGlobalListeners(_){const w=_.rootNode;if(this._rootNodeFocusListenerCount.has(w)){const P=this._rootNodeFocusListenerCount.get(w);P>1?this._rootNodeFocusListenerCount.set(w,P-1):(w.removeEventListener("focus",this._rootNodeFocusAndBlurListener,Sn),w.removeEventListener("blur",this._rootNodeFocusAndBlurListener,Sn),this._rootNodeFocusListenerCount.delete(w))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(_,w,P){this._setClasses(_,w),this._emitOrigin(P,w),this._lastFocusOrigin=w}_getClosestElementsInfo(_){const w=[];return this._elementInfo.forEach((P,ue)=>{(ue===_||P.checkChildren&&ue.contains(_))&&w.push([ue,P])}),w}_isLastInteractionFromInputLabel(_){const{_mostRecentTarget:w,mostRecentModality:P}=this._inputModalityDetector;if("mouse"!==P||!w||w===_||"INPUT"!==_.nodeName&&"TEXTAREA"!==_.nodeName||_.disabled)return!1;const ue=_.labels;if(ue)for(let qe=0;qe<ue.length;qe++)if(ue[qe].contains(w))return!0;return!1}}return p.\u0275fac=function(_){return new(_||p)(d.LFG(d.R0b),d.LFG(J.t4),d.LFG(Ft),d.LFG(r.K0,8),d.LFG(In,8))},p.\u0275prov=d.Yz7({token:p,factory:p.\u0275fac,providedIn:"root"}),p})();const wn="cdk-high-contrast-black-on-white",at="cdk-high-contrast-white-on-black",et="cdk-high-contrast-active";let F=(()=>{class p{constructor(_,w){this._platform=_,this._document=w,this._breakpointSubscription=(0,d.f3M)(ut).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return 0;const _=this._document.createElement("div");_.style.backgroundColor="rgb(1,2,3)",_.style.position="absolute",this._document.body.appendChild(_);const w=this._document.defaultView||window,P=w&&w.getComputedStyle?w.getComputedStyle(_):null,ue=(P&&P.backgroundColor||"").replace(/ /g,"");switch(_.remove(),ue){case"rgb(0,0,0)":return 2;case"rgb(255,255,255)":return 1}return 0}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){const _=this._document.body.classList;_.remove(et,wn,at),this._hasCheckedHighContrastMode=!0;const w=this.getHighContrastMode();1===w?_.add(et,wn):2===w&&_.add(et,at)}}}return p.\u0275fac=function(_){return new(_||p)(d.LFG(J.t4),d.LFG(r.K0))},p.\u0275prov=d.Yz7({token:p,factory:p.\u0275fac,providedIn:"root"}),p})(),B=(()=>{class p{constructor(_){_._applyBodyHighContrastModeCssClasses()}}return p.\u0275fac=function(_){return new(_||p)(d.LFG(F))},p.\u0275mod=d.oAB({type:p}),p.\u0275inj=d.cJS({imports:[le]}),p})()},445:(dt,Ee,D)=>{D.d(Ee,{Is:()=>ve,vT:()=>ie});var r=D(1571),d=D(6895);const J=new r.OlP("cdk-dir-doc",{providedIn:"root",factory:function G(){return(0,r.f3M)(d.K0)}}),z=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;let ve=(()=>{class ee{constructor(_e){if(this.value="ltr",this.change=new r.vpe,_e){const Be=_e.documentElement?_e.documentElement.dir:null;this.value=function K(ee){const he=ee?.toLowerCase()||"";return"auto"===he&&typeof navigator<"u"&&navigator?.language?z.test(navigator.language)?"rtl":"ltr":"rtl"===he?"rtl":"ltr"}((_e.body?_e.body.dir:null)||Be||"ltr")}}ngOnDestroy(){this.change.complete()}}return ee.\u0275fac=function(_e){return new(_e||ee)(r.LFG(J,8))},ee.\u0275prov=r.Yz7({token:ee,factory:ee.\u0275fac,providedIn:"root"}),ee})(),ie=(()=>{class ee{}return ee.\u0275fac=function(_e){return new(_e||ee)},ee.\u0275mod=r.oAB({type:ee}),ee.\u0275inj=r.cJS({}),ee})()},1281:(dt,Ee,D)=>{D.d(Ee,{Eq:()=>z,HM:()=>K,Ig:()=>d,du:()=>ae,fI:()=>ve,su:()=>J});var r=D(1571);function d(ie){return null!=ie&&"false"!=`${ie}`}function J(ie,ee=0){return function G(ie){return!isNaN(parseFloat(ie))&&!isNaN(Number(ie))}(ie)?Number(ie):ee}function z(ie){return Array.isArray(ie)?ie:[ie]}function K(ie){return null==ie?"":"string"==typeof ie?ie:`${ie}px`}function ve(ie){return ie instanceof r.SBq?ie.nativeElement:ie}function ae(ie,ee=/\s+/){const he=[];if(null!=ie){const _e=Array.isArray(ie)?ie:`${ie}`.split(ee);for(const Ue of _e){const Be=`${Ue}`.trim();Be&&he.push(Be)}}return he}},9521:(dt,Ee,D)=>{D.d(Ee,{A:()=>pt,JH:()=>ht,JU:()=>K,K5:()=>z,LH:()=>Je,L_:()=>_e,MW:()=>$e,Mf:()=>J,SV:()=>Se,Sd:()=>Te,Vb:()=>mi,Z:()=>fe,aO:()=>Et,b2:()=>Oi,hY:()=>he,jx:()=>ve,oh:()=>Ve,uR:()=>je,xE:()=>Ae,zL:()=>ae});const J=9,z=13,K=16,ve=17,ae=18,he=27,_e=32,je=35,Te=36,Ve=37,Je=38,Se=39,ht=40,Ae=48,Et=57,pt=65,fe=90,$e=91,Oi=224;function mi(xn,...Hn){return Hn.length?Hn.some(ln=>xn[ln]):xn.altKey||xn.shiftKey||xn.ctrlKey||xn.metaKey}},8184:(dt,Ee,D)=>{D.d(Ee,{Iu:()=>ut,U8:()=>gn,X_:()=>Z,Xj:()=>Ce,aV:()=>_t});var r=D(7376),d=D(6895),J=D(1571),G=D(1281),z=D(3353),K=D(445),ve=D(4080),ae=D(7579),ie=D(727),ee=D(6451),he=D(5698),_e=D(2722);const Ue=(0,z.Mq)();class Be{constructor(V,H){this._viewportRuler=V,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=H}attach(){}enable(){if(this._canBeEnabled()){const V=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=V.style.left||"",this._previousHTMLStyles.top=V.style.top||"",V.style.left=(0,G.HM)(-this._previousScrollPosition.left),V.style.top=(0,G.HM)(-this._previousScrollPosition.top),V.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const V=this._document.documentElement,Y=V.style,$=this._document.body.style,te=Y.scrollBehavior||"",Me=$.scrollBehavior||"";this._isEnabled=!1,Y.left=this._previousHTMLStyles.left,Y.top=this._previousHTMLStyles.top,V.classList.remove("cdk-global-scrollblock"),Ue&&(Y.scrollBehavior=$.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),Ue&&(Y.scrollBehavior=te,$.scrollBehavior=Me)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const H=this._document.body,Y=this._viewportRuler.getViewportSize();return H.scrollHeight>Y.height||H.scrollWidth>Y.width}}class Te{constructor(V,H,Y,$){this._scrollDispatcher=V,this._ngZone=H,this._viewportRuler=Y,this._config=$,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(V){this._overlayRef=V}enable(){if(this._scrollSubscription)return;const V=this._scrollDispatcher.scrolled(0);this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=V.subscribe(()=>{const H=this._viewportRuler.getViewportScrollPosition().top;Math.abs(H-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=V.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}class Ve{enable(){}disable(){}attach(){}}function Je(He,V){return V.some(H=>He.bottom<H.top||He.top>H.bottom||He.right<H.left||He.left>H.right)}function Se(He,V){return V.some(H=>He.top<H.top||He.bottom>H.bottom||He.left<H.left||He.right>H.right)}class ht{constructor(V,H,Y,$){this._scrollDispatcher=V,this._viewportRuler=H,this._ngZone=Y,this._config=$,this._scrollSubscription=null}attach(V){this._overlayRef=V}enable(){this._scrollSubscription||(this._scrollSubscription=this._scrollDispatcher.scrolled(this._config?this._config.scrollThrottle:0).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){const H=this._overlayRef.overlayElement.getBoundingClientRect(),{width:Y,height:$}=this._viewportRuler.getViewportSize();Je(H,[{width:Y,height:$,bottom:$,right:Y,top:0,left:0}])&&(this.disable(),this._ngZone.run(()=>this._overlayRef.detach()))}}))}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}let le=(()=>{class He{constructor(H,Y,$,te){this._scrollDispatcher=H,this._viewportRuler=Y,this._ngZone=$,this.noop=()=>new Ve,this.close=Me=>new Te(this._scrollDispatcher,this._ngZone,this._viewportRuler,Me),this.block=()=>new Be(this._viewportRuler,this._document),this.reposition=Me=>new ht(this._scrollDispatcher,this._viewportRuler,this._ngZone,Me),this._document=te}}return He.\u0275fac=function(H){return new(H||He)(J.LFG(r.mF),J.LFG(r.rL),J.LFG(J.R0b),J.LFG(d.K0))},He.\u0275prov=J.Yz7({token:He,factory:He.\u0275fac,providedIn:"root"}),He})();class Z{constructor(V){if(this.scrollStrategy=new Ve,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,V){const H=Object.keys(V);for(const Y of H)void 0!==V[Y]&&(this[Y]=V[Y])}}}class Ae{constructor(V,H){this.connectionPair=V,this.scrollableViewProperties=H}}let ye=(()=>{class He{constructor(H){this._attachedOverlays=[],this._document=H}ngOnDestroy(){this.detach()}add(H){this.remove(H),this._attachedOverlays.push(H)}remove(H){const Y=this._attachedOverlays.indexOf(H);Y>-1&&this._attachedOverlays.splice(Y,1),0===this._attachedOverlays.length&&this.detach()}}return He.\u0275fac=function(H){return new(H||He)(J.LFG(d.K0))},He.\u0275prov=J.Yz7({token:He,factory:He.\u0275fac,providedIn:"root"}),He})(),be=(()=>{class He extends ye{constructor(H,Y){super(H),this._ngZone=Y,this._keydownListener=$=>{const te=this._attachedOverlays;for(let Me=te.length-1;Me>-1;Me--)if(te[Me]._keydownEvents.observers.length>0){const de=te[Me]._keydownEvents;this._ngZone?this._ngZone.run(()=>de.next($)):de.next($);break}}}add(H){super.add(H),this._isAttached||(this._ngZone?this._ngZone.runOutsideAngular(()=>this._document.body.addEventListener("keydown",this._keydownListener)):this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}detach(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}}return He.\u0275fac=function(H){return new(H||He)(J.LFG(d.K0),J.LFG(J.R0b,8))},He.\u0275prov=J.Yz7({token:He,factory:He.\u0275fac,providedIn:"root"}),He})(),ke=(()=>{class He extends ye{constructor(H,Y,$){super(H),this._platform=Y,this._ngZone=$,this._cursorStyleIsSet=!1,this._pointerDownListener=te=>{this._pointerDownEventTarget=(0,z.sA)(te)},this._clickListener=te=>{const Me=(0,z.sA)(te),de="click"===te.type&&this._pointerDownEventTarget?this._pointerDownEventTarget:Me;this._pointerDownEventTarget=null;const Q=this._attachedOverlays.slice();for(let W=Q.length-1;W>-1;W--){const fe=Q[W];if(fe._outsidePointerEvents.observers.length<1||!fe.hasAttached())continue;if(fe.overlayElement.contains(Me)||fe.overlayElement.contains(de))break;const $e=fe._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>$e.next(te)):$e.next(te)}}}add(H){if(super.add(H),!this._isAttached){const Y=this._document.body;this._ngZone?this._ngZone.runOutsideAngular(()=>this._addEventListeners(Y)):this._addEventListeners(Y),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=Y.style.cursor,Y.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){const H=this._document.body;H.removeEventListener("pointerdown",this._pointerDownListener,!0),H.removeEventListener("click",this._clickListener,!0),H.removeEventListener("auxclick",this._clickListener,!0),H.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(H.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}_addEventListeners(H){H.addEventListener("pointerdown",this._pointerDownListener,!0),H.addEventListener("click",this._clickListener,!0),H.addEventListener("auxclick",this._clickListener,!0),H.addEventListener("contextmenu",this._clickListener,!0)}}return He.\u0275fac=function(H){return new(H||He)(J.LFG(d.K0),J.LFG(z.t4),J.LFG(J.R0b,8))},He.\u0275prov=J.Yz7({token:He,factory:He.\u0275fac,providedIn:"root"}),He})(),Ce=(()=>{class He{constructor(H,Y){this._platform=Y,this._document=H}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const H="cdk-overlay-container";if(this._platform.isBrowser||(0,z.Oy)()){const $=this._document.querySelectorAll(`.${H}[platform="server"], .${H}[platform="test"]`);for(let te=0;te<$.length;te++)$[te].remove()}const Y=this._document.createElement("div");Y.classList.add(H),(0,z.Oy)()?Y.setAttribute("platform","test"):this._platform.isBrowser||Y.setAttribute("platform","server"),this._document.body.appendChild(Y),this._containerElement=Y}}return He.\u0275fac=function(H){return new(H||He)(J.LFG(d.K0),J.LFG(z.t4))},He.\u0275prov=J.Yz7({token:He,factory:He.\u0275fac,providedIn:"root"}),He})();class ut{constructor(V,H,Y,$,te,Me,de,Q,W,fe=!1){this._portalOutlet=V,this._host=H,this._pane=Y,this._config=$,this._ngZone=te,this._keyboardDispatcher=Me,this._document=de,this._location=Q,this._outsideClickDispatcher=W,this._animationsDisabled=fe,this._backdropElement=null,this._backdropClick=new ae.x,this._attachments=new ae.x,this._detachments=new ae.x,this._locationChanges=ie.w0.EMPTY,this._backdropClickHandler=$e=>this._backdropClick.next($e),this._backdropTransitionendHandler=$e=>{this._disposeBackdrop($e.target)},this._keydownEvents=new ae.x,this._outsidePointerEvents=new ae.x,$.scrollStrategy&&(this._scrollStrategy=$.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=$.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(V){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);const H=this._portalOutlet.attach(V);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe((0,he.q)(1)).subscribe(()=>{this.hasAttached()&&this.updatePosition()}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),"function"==typeof H?.onDestroy&&H.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),H}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();const V=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),V}dispose(){const V=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._disposeBackdrop(this._backdropElement),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),this._host?.remove(),this._previousHostParent=this._pane=this._host=null,V&&this._detachments.next(),this._detachments.complete()}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick}attachments(){return this._attachments}detachments(){return this._detachments}keydownEvents(){return this._keydownEvents}outsidePointerEvents(){return this._outsidePointerEvents}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(V){V!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=V,this.hasAttached()&&(V.attach(this),this.updatePosition()))}updateSize(V){this._config={...this._config,...V},this._updateElementSize()}setDirection(V){this._config={...this._config,direction:V},this._updateElementDirection()}addPanelClass(V){this._pane&&this._toggleClasses(this._pane,V,!0)}removePanelClass(V){this._pane&&this._toggleClasses(this._pane,V,!1)}getDirection(){const V=this._config.direction;return V?"string"==typeof V?V:V.value:"ltr"}updateScrollStrategy(V){V!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=V,this.hasAttached()&&(V.attach(this),V.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const V=this._pane.style;V.width=(0,G.HM)(this._config.width),V.height=(0,G.HM)(this._config.height),V.minWidth=(0,G.HM)(this._config.minWidth),V.minHeight=(0,G.HM)(this._config.minHeight),V.maxWidth=(0,G.HM)(this._config.maxWidth),V.maxHeight=(0,G.HM)(this._config.maxHeight)}_togglePointerEvents(V){this._pane.style.pointerEvents=V?"":"none"}_attachBackdrop(){const V="cdk-overlay-backdrop-showing";this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),this._animationsDisabled&&this._backdropElement.classList.add("cdk-overlay-backdrop-noop-animation"),this._config.backdropClass&&this._toggleClasses(this._backdropElement,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropElement,this._host),this._backdropElement.addEventListener("click",this._backdropClickHandler),!this._animationsDisabled&&typeof requestAnimationFrame<"u"?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{this._backdropElement&&this._backdropElement.classList.add(V)})}):this._backdropElement.classList.add(V)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){const V=this._backdropElement;if(V){if(this._animationsDisabled)return void this._disposeBackdrop(V);V.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{V.addEventListener("transitionend",this._backdropTransitionendHandler)}),V.style.pointerEvents="none",this._backdropTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(()=>{this._disposeBackdrop(V)},500))}}_toggleClasses(V,H,Y){const $=(0,G.Eq)(H||[]).filter(te=>!!te);$.length&&(Y?V.classList.add(...$):V.classList.remove(...$))}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const V=this._ngZone.onStable.pipe((0,_e.R)((0,ee.T)(this._attachments,this._detachments))).subscribe(()=>{(!this._pane||!this._host||0===this._pane.children.length)&&(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._host.remove()),V.unsubscribe())})})}_disposeScrollStrategy(){const V=this._scrollStrategy;V&&(V.disable(),V.detach&&V.detach())}_disposeBackdrop(V){V&&(V.removeEventListener("click",this._backdropClickHandler),V.removeEventListener("transitionend",this._backdropTransitionendHandler),V.remove(),this._backdropElement===V&&(this._backdropElement=null)),this._backdropTimeout&&(clearTimeout(this._backdropTimeout),this._backdropTimeout=void 0)}}const Ke="cdk-overlay-connected-position-bounding-box",Et=/([A-Za-z%]+)$/;class Rt{constructor(V,H,Y,$,te){this._viewportRuler=H,this._document=Y,this._platform=$,this._overlayContainer=te,this._lastBoundingBoxSize={width:0,height:0},this._isPushed=!1,this._canPush=!0,this._growAfterOpen=!1,this._hasFlexibleDimensions=!0,this._positionLocked=!1,this._viewportMargin=0,this._scrollables=[],this._preferredPositions=[],this._positionChanges=new ae.x,this._resizeSubscription=ie.w0.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(V)}get positions(){return this._preferredPositions}attach(V){this._validatePositions(),V.hostElement.classList.add(Ke),this._overlayRef=V,this._boundingBox=V.hostElement,this._pane=V.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(()=>{this._isInitialRender=!0,this.apply()})}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition)return void this.reapplyLastPosition();this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const V=this._originRect,H=this._overlayRect,Y=this._viewportRect,$=this._containerRect,te=[];let Me;for(let de of this._preferredPositions){let Q=this._getOriginPoint(V,$,de),W=this._getOverlayPoint(Q,H,de),fe=this._getOverlayFit(W,H,Y,de);if(fe.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(de,Q);this._canFitWithFlexibleDimensions(fe,W,Y)?te.push({position:de,origin:Q,overlayRect:H,boundingBoxRect:this._calculateBoundingBoxRect(Q,de)}):(!Me||Me.overlayFit.visibleArea<fe.visibleArea)&&(Me={overlayFit:fe,overlayPoint:W,originPoint:Q,position:de,overlayRect:H})}if(te.length){let de=null,Q=-1;for(const W of te){const fe=W.boundingBoxRect.width*W.boundingBoxRect.height*(W.position.weight||1);fe>Q&&(Q=fe,de=W)}return this._isPushed=!1,void this._applyPosition(de.position,de.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(Me.position,Me.originPoint);this._applyPosition(Me.position,Me.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&ft(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(Ke),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;const V=this._lastPosition;if(V){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const H=this._getOriginPoint(this._originRect,this._containerRect,V);this._applyPosition(V,H)}else this.apply()}withScrollableContainers(V){return this._scrollables=V,this}withPositions(V){return this._preferredPositions=V,-1===V.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(V){return this._viewportMargin=V,this}withFlexibleDimensions(V=!0){return this._hasFlexibleDimensions=V,this}withGrowAfterOpen(V=!0){return this._growAfterOpen=V,this}withPush(V=!0){return this._canPush=V,this}withLockedPosition(V=!0){return this._positionLocked=V,this}setOrigin(V){return this._origin=V,this}withDefaultOffsetX(V){return this._offsetX=V,this}withDefaultOffsetY(V){return this._offsetY=V,this}withTransformOriginOn(V){return this._transformOriginSelector=V,this}_getOriginPoint(V,H,Y){let $,te;if("center"==Y.originX)$=V.left+V.width/2;else{const Me=this._isRtl()?V.right:V.left,de=this._isRtl()?V.left:V.right;$="start"==Y.originX?Me:de}return H.left<0&&($-=H.left),te="center"==Y.originY?V.top+V.height/2:"top"==Y.originY?V.top:V.bottom,H.top<0&&(te-=H.top),{x:$,y:te}}_getOverlayPoint(V,H,Y){let $,te;return $="center"==Y.overlayX?-H.width/2:"start"===Y.overlayX?this._isRtl()?-H.width:0:this._isRtl()?0:-H.width,te="center"==Y.overlayY?-H.height/2:"top"==Y.overlayY?0:-H.height,{x:V.x+$,y:V.y+te}}_getOverlayFit(V,H,Y,$){const te=we(H);let{x:Me,y:de}=V,Q=this._getOffset($,"x"),W=this._getOffset($,"y");Q&&(Me+=Q),W&&(de+=W);let vt=0-de,mt=de+te.height-Y.height,it=this._subtractOverflows(te.width,0-Me,Me+te.width-Y.width),wt=this._subtractOverflows(te.height,vt,mt),an=it*wt;return{visibleArea:an,isCompletelyWithinViewport:te.width*te.height===an,fitsInViewportVertically:wt===te.height,fitsInViewportHorizontally:it==te.width}}_canFitWithFlexibleDimensions(V,H,Y){if(this._hasFlexibleDimensions){const $=Y.bottom-H.y,te=Y.right-H.x,Me=ot(this._overlayRef.getConfig().minHeight),de=ot(this._overlayRef.getConfig().minWidth),W=V.fitsInViewportHorizontally||null!=de&&de<=te;return(V.fitsInViewportVertically||null!=Me&&Me<=$)&&W}return!1}_pushOverlayOnScreen(V,H,Y){if(this._previousPushAmount&&this._positionLocked)return{x:V.x+this._previousPushAmount.x,y:V.y+this._previousPushAmount.y};const $=we(H),te=this._viewportRect,Me=Math.max(V.x+$.width-te.width,0),de=Math.max(V.y+$.height-te.height,0),Q=Math.max(te.top-Y.top-V.y,0),W=Math.max(te.left-Y.left-V.x,0);let fe=0,$e=0;return fe=$.width<=te.width?W||-Me:V.x<this._viewportMargin?te.left-Y.left-V.x:0,$e=$.height<=te.height?Q||-de:V.y<this._viewportMargin?te.top-Y.top-V.y:0,this._previousPushAmount={x:fe,y:$e},{x:V.x+fe,y:V.y+$e}}_applyPosition(V,H){if(this._setTransformOrigin(V),this._setOverlayElementStyles(H,V),this._setBoundingBoxStyles(H,V),V.panelClass&&this._addPanelClasses(V.panelClass),this._lastPosition=V,this._positionChanges.observers.length){const Y=this._getScrollVisibility(),$=new Ae(V,Y);this._positionChanges.next($)}this._isInitialRender=!1}_setTransformOrigin(V){if(!this._transformOriginSelector)return;const H=this._boundingBox.querySelectorAll(this._transformOriginSelector);let Y,$=V.overlayY;Y="center"===V.overlayX?"center":this._isRtl()?"start"===V.overlayX?"right":"left":"start"===V.overlayX?"left":"right";for(let te=0;te<H.length;te++)H[te].style.transformOrigin=`${Y} ${$}`}_calculateBoundingBoxRect(V,H){const Y=this._viewportRect,$=this._isRtl();let te,Me,de,fe,$e,vt;if("top"===H.overlayY)Me=V.y,te=Y.height-Me+this._viewportMargin;else if("bottom"===H.overlayY)de=Y.height-V.y+2*this._viewportMargin,te=Y.height-de+this._viewportMargin;else{const mt=Math.min(Y.bottom-V.y+Y.top,V.y),it=this._lastBoundingBoxSize.height;te=2*mt,Me=V.y-mt,te>it&&!this._isInitialRender&&!this._growAfterOpen&&(Me=V.y-it/2)}if("end"===H.overlayX&&!$||"start"===H.overlayX&&$)vt=Y.width-V.x+this._viewportMargin,fe=V.x-this._viewportMargin;else if("start"===H.overlayX&&!$||"end"===H.overlayX&&$)$e=V.x,fe=Y.right-V.x;else{const mt=Math.min(Y.right-V.x+Y.left,V.x),it=this._lastBoundingBoxSize.width;fe=2*mt,$e=V.x-mt,fe>it&&!this._isInitialRender&&!this._growAfterOpen&&($e=V.x-it/2)}return{top:Me,left:$e,bottom:de,right:vt,width:fe,height:te}}_setBoundingBoxStyles(V,H){const Y=this._calculateBoundingBoxRect(V,H);!this._isInitialRender&&!this._growAfterOpen&&(Y.height=Math.min(Y.height,this._lastBoundingBoxSize.height),Y.width=Math.min(Y.width,this._lastBoundingBoxSize.width));const $={};if(this._hasExactPosition())$.top=$.left="0",$.bottom=$.right=$.maxHeight=$.maxWidth="",$.width=$.height="100%";else{const te=this._overlayRef.getConfig().maxHeight,Me=this._overlayRef.getConfig().maxWidth;$.height=(0,G.HM)(Y.height),$.top=(0,G.HM)(Y.top),$.bottom=(0,G.HM)(Y.bottom),$.width=(0,G.HM)(Y.width),$.left=(0,G.HM)(Y.left),$.right=(0,G.HM)(Y.right),$.alignItems="center"===H.overlayX?"center":"end"===H.overlayX?"flex-end":"flex-start",$.justifyContent="center"===H.overlayY?"center":"bottom"===H.overlayY?"flex-end":"flex-start",te&&($.maxHeight=(0,G.HM)(te)),Me&&($.maxWidth=(0,G.HM)(Me))}this._lastBoundingBoxSize=Y,ft(this._boundingBox.style,$)}_resetBoundingBoxStyles(){ft(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){ft(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(V,H){const Y={},$=this._hasExactPosition(),te=this._hasFlexibleDimensions,Me=this._overlayRef.getConfig();if($){const fe=this._viewportRuler.getViewportScrollPosition();ft(Y,this._getExactOverlayY(H,V,fe)),ft(Y,this._getExactOverlayX(H,V,fe))}else Y.position="static";let de="",Q=this._getOffset(H,"x"),W=this._getOffset(H,"y");Q&&(de+=`translateX(${Q}px) `),W&&(de+=`translateY(${W}px)`),Y.transform=de.trim(),Me.maxHeight&&($?Y.maxHeight=(0,G.HM)(Me.maxHeight):te&&(Y.maxHeight="")),Me.maxWidth&&($?Y.maxWidth=(0,G.HM)(Me.maxWidth):te&&(Y.maxWidth="")),ft(this._pane.style,Y)}_getExactOverlayY(V,H,Y){let $={top:"",bottom:""},te=this._getOverlayPoint(H,this._overlayRect,V);return this._isPushed&&(te=this._pushOverlayOnScreen(te,this._overlayRect,Y)),"bottom"===V.overlayY?$.bottom=this._document.documentElement.clientHeight-(te.y+this._overlayRect.height)+"px":$.top=(0,G.HM)(te.y),$}_getExactOverlayX(V,H,Y){let Me,$={left:"",right:""},te=this._getOverlayPoint(H,this._overlayRect,V);return this._isPushed&&(te=this._pushOverlayOnScreen(te,this._overlayRect,Y)),Me=this._isRtl()?"end"===V.overlayX?"left":"right":"end"===V.overlayX?"right":"left","right"===Me?$.right=this._document.documentElement.clientWidth-(te.x+this._overlayRect.width)+"px":$.left=(0,G.HM)(te.x),$}_getScrollVisibility(){const V=this._getOriginRect(),H=this._pane.getBoundingClientRect(),Y=this._scrollables.map($=>$.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:Se(V,Y),isOriginOutsideView:Je(V,Y),isOverlayClipped:Se(H,Y),isOverlayOutsideView:Je(H,Y)}}_subtractOverflows(V,...H){return H.reduce((Y,$)=>Y-Math.max($,0),V)}_getNarrowedViewportRect(){const V=this._document.documentElement.clientWidth,H=this._document.documentElement.clientHeight,Y=this._viewportRuler.getViewportScrollPosition();return{top:Y.top+this._viewportMargin,left:Y.left+this._viewportMargin,right:Y.left+V-this._viewportMargin,bottom:Y.top+H-this._viewportMargin,width:V-2*this._viewportMargin,height:H-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(V,H){return"x"===H?V.offsetX??this._offsetX:V.offsetY??this._offsetY}_validatePositions(){}_addPanelClasses(V){this._pane&&(0,G.Eq)(V).forEach(H=>{""!==H&&-1===this._appliedPanelClasses.indexOf(H)&&(this._appliedPanelClasses.push(H),this._pane.classList.add(H))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(V=>{this._pane.classList.remove(V)}),this._appliedPanelClasses=[])}_getOriginRect(){const V=this._origin;if(V instanceof J.SBq)return V.nativeElement.getBoundingClientRect();if(V instanceof Element)return V.getBoundingClientRect();const H=V.width||0,Y=V.height||0;return{top:V.y,bottom:V.y+Y,left:V.x,right:V.x+H,height:Y,width:H}}}function ft(He,V){for(let H in V)V.hasOwnProperty(H)&&(He[H]=V[H]);return He}function ot(He){if("number"!=typeof He&&null!=He){const[V,H]=He.split(Et);return H&&"px"!==H?null:parseFloat(V)}return He||null}function we(He){return{top:Math.floor(He.top),right:Math.floor(He.right),bottom:Math.floor(He.bottom),left:Math.floor(He.left),width:Math.floor(He.width),height:Math.floor(He.height)}}const xe="cdk-global-overlay-wrapper";class ge{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._alignItems="",this._xPosition="",this._xOffset="",this._width="",this._height="",this._isDisposed=!1}attach(V){const H=V.getConfig();this._overlayRef=V,this._width&&!H.width&&V.updateSize({width:this._width}),this._height&&!H.height&&V.updateSize({height:this._height}),V.hostElement.classList.add(xe),this._isDisposed=!1}top(V=""){return this._bottomOffset="",this._topOffset=V,this._alignItems="flex-start",this}left(V=""){return this._xOffset=V,this._xPosition="left",this}bottom(V=""){return this._topOffset="",this._bottomOffset=V,this._alignItems="flex-end",this}right(V=""){return this._xOffset=V,this._xPosition="right",this}start(V=""){return this._xOffset=V,this._xPosition="start",this}end(V=""){return this._xOffset=V,this._xPosition="end",this}width(V=""){return this._overlayRef?this._overlayRef.updateSize({width:V}):this._width=V,this}height(V=""){return this._overlayRef?this._overlayRef.updateSize({height:V}):this._height=V,this}centerHorizontally(V=""){return this.left(V),this._xPosition="center",this}centerVertically(V=""){return this.top(V),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const V=this._overlayRef.overlayElement.style,H=this._overlayRef.hostElement.style,Y=this._overlayRef.getConfig(),{width:$,height:te,maxWidth:Me,maxHeight:de}=Y,Q=!("100%"!==$&&"100vw"!==$||Me&&"100%"!==Me&&"100vw"!==Me),W=!("100%"!==te&&"100vh"!==te||de&&"100%"!==de&&"100vh"!==de),fe=this._xPosition,$e=this._xOffset,vt="rtl"===this._overlayRef.getConfig().direction;let mt="",it="",wt="";Q?wt="flex-start":"center"===fe?(wt="center",vt?it=$e:mt=$e):vt?"left"===fe||"end"===fe?(wt="flex-end",mt=$e):("right"===fe||"start"===fe)&&(wt="flex-start",it=$e):"left"===fe||"start"===fe?(wt="flex-start",mt=$e):("right"===fe||"end"===fe)&&(wt="flex-end",it=$e),V.position=this._cssPosition,V.marginLeft=Q?"0":mt,V.marginTop=W?"0":this._topOffset,V.marginBottom=this._bottomOffset,V.marginRight=Q?"0":it,H.justifyContent=wt,H.alignItems=W?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const V=this._overlayRef.overlayElement.style,H=this._overlayRef.hostElement,Y=H.style;H.classList.remove(xe),Y.justifyContent=Y.alignItems=V.marginTop=V.marginBottom=V.marginLeft=V.marginRight=V.position="",this._overlayRef=null,this._isDisposed=!0}}let Fe=(()=>{class He{constructor(H,Y,$,te){this._viewportRuler=H,this._document=Y,this._platform=$,this._overlayContainer=te}global(){return new ge}flexibleConnectedTo(H){return new Rt(H,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}return He.\u0275fac=function(H){return new(H||He)(J.LFG(r.rL),J.LFG(d.K0),J.LFG(z.t4),J.LFG(Ce))},He.\u0275prov=J.Yz7({token:He,factory:He.\u0275fac,providedIn:"root"}),He})(),Ze=0,_t=(()=>{class He{constructor(H,Y,$,te,Me,de,Q,W,fe,$e,vt,mt){this.scrollStrategies=H,this._overlayContainer=Y,this._componentFactoryResolver=$,this._positionBuilder=te,this._keyboardDispatcher=Me,this._injector=de,this._ngZone=Q,this._document=W,this._directionality=fe,this._location=$e,this._outsideClickDispatcher=vt,this._animationsModuleType=mt}create(H){const Y=this._createHostElement(),$=this._createPaneElement(Y),te=this._createPortalOutlet($),Me=new Z(H);return Me.direction=Me.direction||this._directionality.value,new ut(te,Y,$,Me,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,"NoopAnimations"===this._animationsModuleType)}position(){return this._positionBuilder}_createPaneElement(H){const Y=this._document.createElement("div");return Y.id="cdk-overlay-"+Ze++,Y.classList.add("cdk-overlay-pane"),H.appendChild(Y),Y}_createHostElement(){const H=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(H),H}_createPortalOutlet(H){return this._appRef||(this._appRef=this._injector.get(J.z2F)),new ve.u0(H,this._componentFactoryResolver,this._appRef,this._injector,this._document)}}return He.\u0275fac=function(H){return new(H||He)(J.LFG(le),J.LFG(Ce),J.LFG(J._Vd),J.LFG(Fe),J.LFG(be),J.LFG(J.zs3),J.LFG(J.R0b),J.LFG(d.K0),J.LFG(K.Is),J.LFG(d.Ye),J.LFG(ke),J.LFG(J.QbO,8))},He.\u0275prov=J.Yz7({token:He,factory:He.\u0275fac}),He})();const Kt={provide:new J.OlP("cdk-connected-overlay-scroll-strategy"),deps:[_t],useFactory:function on(He){return()=>He.scrollStrategies.reposition()}};let gn=(()=>{class He{}return He.\u0275fac=function(H){return new(H||He)},He.\u0275mod=J.oAB({type:He}),He.\u0275inj=J.cJS({providers:[_t,Kt],imports:[K.vT,ve.eL,r.Cl,r.Cl]}),He})()},3353:(dt,Ee,D)=>{D.d(Ee,{Mq:()=>Be,Oy:()=>le,ht:()=>Se,i$:()=>he,kV:()=>Je,sA:()=>ht,t4:()=>G});var r=D(1571),d=D(6895);let J;try{J=typeof Intl<"u"&&Intl.v8BreakIterator}catch{J=!1}let ie,Ue,Te,G=(()=>{class Z{constructor(Le){this._platformId=Le,this.isBrowser=this._platformId?(0,d.NF)(this._platformId):"object"==typeof document&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!(!window.chrome&&!J)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}}return Z.\u0275fac=function(Le){return new(Le||Z)(r.LFG(r.Lbi))},Z.\u0275prov=r.Yz7({token:Z,factory:Z.\u0275fac,providedIn:"root"}),Z})();function he(Z){return function ee(){if(null==ie&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>ie=!0}))}finally{ie=ie||!1}return ie}()?Z:!!Z.capture}function Be(){if(null==Ue){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return Ue=!1,Ue;if("scrollBehavior"in document.documentElement.style)Ue=!0;else{const Z=Element.prototype.scrollTo;Ue=!!Z&&!/\{\s*\[native code\]\s*\}/.test(Z.toString())}}return Ue}function Je(Z){if(function Ve(){if(null==Te){const Z=typeof document<"u"?document.head:null;Te=!(!Z||!Z.createShadowRoot&&!Z.attachShadow)}return Te}()){const Oe=Z.getRootNode?Z.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&Oe instanceof ShadowRoot)return Oe}return null}function Se(){let Z=typeof document<"u"&&document?document.activeElement:null;for(;Z&&Z.shadowRoot;){const Oe=Z.shadowRoot.activeElement;if(Oe===Z)break;Z=Oe}return Z}function ht(Z){return Z.composedPath?Z.composedPath()[0]:Z.target}function le(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}},4080:(dt,Ee,D)=>{D.d(Ee,{C5:()=>ee,Pl:()=>Se,UE:()=>he,eL:()=>le,en:()=>Ue,u0:()=>je});var r=D(1571),d=D(6895);class ie{attach(Le){return this._attachedHost=Le,Le.attach(this)}detach(){let Le=this._attachedHost;null!=Le&&(this._attachedHost=null,Le.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(Le){this._attachedHost=Le}}class ee extends ie{constructor(Le,Ae,Ge,We){super(),this.component=Le,this.viewContainerRef=Ae,this.injector=Ge,this.componentFactoryResolver=We}}class he extends ie{constructor(Le,Ae,Ge,We){super(),this.templateRef=Le,this.viewContainerRef=Ae,this.context=Ge,this.injector=We}get origin(){return this.templateRef.elementRef}attach(Le,Ae=this.context){return this.context=Ae,super.attach(Le)}detach(){return this.context=void 0,super.detach()}}class _e extends ie{constructor(Le){super(),this.element=Le instanceof r.SBq?Le.nativeElement:Le}}class Ue{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(Le){return Le instanceof ee?(this._attachedPortal=Le,this.attachComponentPortal(Le)):Le instanceof he?(this._attachedPortal=Le,this.attachTemplatePortal(Le)):this.attachDomPortal&&Le instanceof _e?(this._attachedPortal=Le,this.attachDomPortal(Le)):void 0}detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(Le){this._disposeFn=Le}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class je extends Ue{constructor(Le,Ae,Ge,We,ye){super(),this.outletElement=Le,this._componentFactoryResolver=Ae,this._appRef=Ge,this._defaultInjector=We,this.attachDomPortal=be=>{const ke=be.element,Ce=this._document.createComment("dom-portal");ke.parentNode.insertBefore(Ce,ke),this.outletElement.appendChild(ke),this._attachedPortal=be,super.setDisposeFn(()=>{Ce.parentNode&&Ce.parentNode.replaceChild(ke,Ce)})},this._document=ye}attachComponentPortal(Le){const Ge=(Le.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(Le.component);let We;return Le.viewContainerRef?(We=Le.viewContainerRef.createComponent(Ge,Le.viewContainerRef.length,Le.injector||Le.viewContainerRef.injector),this.setDisposeFn(()=>We.destroy())):(We=Ge.create(Le.injector||this._defaultInjector||r.zs3.NULL),this._appRef.attachView(We.hostView),this.setDisposeFn(()=>{this._appRef.viewCount>0&&this._appRef.detachView(We.hostView),We.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(We)),this._attachedPortal=Le,We}attachTemplatePortal(Le){let Ae=Le.viewContainerRef,Ge=Ae.createEmbeddedView(Le.templateRef,Le.context,{injector:Le.injector});return Ge.rootNodes.forEach(We=>this.outletElement.appendChild(We)),Ge.detectChanges(),this.setDisposeFn(()=>{let We=Ae.indexOf(Ge);-1!==We&&Ae.remove(We)}),this._attachedPortal=Le,Ge}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(Le){return Le.hostView.rootNodes[0]}}let Se=(()=>{class Oe extends Ue{constructor(Ae,Ge,We){super(),this._componentFactoryResolver=Ae,this._viewContainerRef=Ge,this._isInitialized=!1,this.attached=new r.vpe,this.attachDomPortal=ye=>{const be=ye.element,ke=this._document.createComment("dom-portal");ye.setAttachedHost(this),be.parentNode.insertBefore(ke,be),this._getRootNode().appendChild(be),this._attachedPortal=ye,super.setDisposeFn(()=>{ke.parentNode&&ke.parentNode.replaceChild(be,ke)})},this._document=We}get portal(){return this._attachedPortal}set portal(Ae){this.hasAttached()&&!Ae&&!this._isInitialized||(this.hasAttached()&&super.detach(),Ae&&super.attach(Ae),this._attachedPortal=Ae||null)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedPortal=null,this._attachedRef=null}attachComponentPortal(Ae){Ae.setAttachedHost(this);const Ge=null!=Ae.viewContainerRef?Ae.viewContainerRef:this._viewContainerRef,ye=(Ae.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(Ae.component),be=Ge.createComponent(ye,Ge.length,Ae.injector||Ge.injector);return Ge!==this._viewContainerRef&&this._getRootNode().appendChild(be.hostView.rootNodes[0]),super.setDisposeFn(()=>be.destroy()),this._attachedPortal=Ae,this._attachedRef=be,this.attached.emit(be),be}attachTemplatePortal(Ae){Ae.setAttachedHost(this);const Ge=this._viewContainerRef.createEmbeddedView(Ae.templateRef,Ae.context,{injector:Ae.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=Ae,this._attachedRef=Ge,this.attached.emit(Ge),Ge}_getRootNode(){const Ae=this._viewContainerRef.element.nativeElement;return Ae.nodeType===Ae.ELEMENT_NODE?Ae:Ae.parentNode}}return Oe.\u0275fac=function(Ae){return new(Ae||Oe)(r.Y36(r._Vd),r.Y36(r.s_b),r.Y36(d.K0))},Oe.\u0275dir=r.lG2({type:Oe,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:["cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[r.qOj]}),Oe})(),le=(()=>{class Oe{}return Oe.\u0275fac=function(Ae){return new(Ae||Oe)},Oe.\u0275mod=r.oAB({type:Oe}),Oe.\u0275inj=r.cJS({}),Oe})()},7376:(dt,Ee,D)=>{D.d(Ee,{Cl:()=>Rt,ZD:()=>Et,mF:()=>le,rL:()=>Le});var r=D(1281),d=D(1571),J=D(7579),G=D(9646),z=D(9751),K=D(4968),ie=(D(6406),D(3101),D(3601)),ee=D(9300),he=D(3353),_e=D(6895),Ue=D(445);let le=(()=>{class ft{constructor(we,pt,De){this._ngZone=we,this._platform=pt,this._scrolled=new J.x,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=De}register(we){this.scrollContainers.has(we)||this.scrollContainers.set(we,we.elementScrolled().subscribe(()=>this._scrolled.next(we)))}deregister(we){const pt=this.scrollContainers.get(we);pt&&(pt.unsubscribe(),this.scrollContainers.delete(we))}scrolled(we=20){return this._platform.isBrowser?new z.y(pt=>{this._globalSubscription||this._addGlobalListener();const De=we>0?this._scrolled.pipe((0,ie.e)(we)).subscribe(pt):this._scrolled.subscribe(pt);return this._scrolledCount++,()=>{De.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):(0,G.of)()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((we,pt)=>this.deregister(pt)),this._scrolled.complete()}ancestorScrolled(we,pt){const De=this.getAncestorScrollContainers(we);return this.scrolled(pt).pipe((0,ee.h)(xe=>!xe||De.indexOf(xe)>-1))}getAncestorScrollContainers(we){const pt=[];return this.scrollContainers.forEach((De,xe)=>{this._scrollableContainsElement(xe,we)&&pt.push(xe)}),pt}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(we,pt){let De=(0,r.fI)(pt),xe=we.getElementRef().nativeElement;do{if(De==xe)return!0}while(De=De.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>{const we=this._getWindow();return(0,K.R)(we.document,"scroll").subscribe(()=>this._scrolled.next())})}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}return ft.\u0275fac=function(we){return new(we||ft)(d.LFG(d.R0b),d.LFG(he.t4),d.LFG(_e.K0,8))},ft.\u0275prov=d.Yz7({token:ft,factory:ft.\u0275fac,providedIn:"root"}),ft})(),Le=(()=>{class ft{constructor(we,pt,De){this._platform=we,this._change=new J.x,this._changeListener=xe=>{this._change.next(xe)},this._document=De,pt.runOutsideAngular(()=>{if(we.isBrowser){const xe=this._getWindow();xe.addEventListener("resize",this._changeListener),xe.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){const we=this._getWindow();we.removeEventListener("resize",this._changeListener),we.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const we={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),we}getViewportRect(){const we=this.getViewportScrollPosition(),{width:pt,height:De}=this.getViewportSize();return{top:we.top,left:we.left,bottom:we.top+De,right:we.left+pt,height:De,width:pt}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const we=this._document,pt=this._getWindow(),De=we.documentElement,xe=De.getBoundingClientRect();return{top:-xe.top||we.body.scrollTop||pt.scrollY||De.scrollTop||0,left:-xe.left||we.body.scrollLeft||pt.scrollX||De.scrollLeft||0}}change(we=20){return we>0?this._change.pipe((0,ie.e)(we)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const we=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:we.innerWidth,height:we.innerHeight}:{width:0,height:0}}}return ft.\u0275fac=function(we){return new(we||ft)(d.LFG(he.t4),d.LFG(d.R0b),d.LFG(_e.K0,8))},ft.\u0275prov=d.Yz7({token:ft,factory:ft.\u0275fac,providedIn:"root"}),ft})(),Et=(()=>{class ft{}return ft.\u0275fac=function(we){return new(we||ft)},ft.\u0275mod=d.oAB({type:ft}),ft.\u0275inj=d.cJS({}),ft})(),Rt=(()=>{class ft{}return ft.\u0275fac=function(we){return new(we||ft)},ft.\u0275mod=d.oAB({type:ft}),ft.\u0275inj=d.cJS({imports:[Ue.vT,Et,Ue.vT,Et]}),ft})()},6895:(dt,Ee,D)=>{D.d(Ee,{$G:()=>qi,Do:()=>ht,EM:()=>Nr,HT:()=>z,JF:()=>Xn,JJ:()=>Pr,K0:()=>ve,Mx:()=>qn,NF:()=>zn,O5:()=>xn,OU:()=>Rr,Ov:()=>Gi,PC:()=>pr,S$:()=>Ve,V_:()=>ee,Ye:()=>le,b0:()=>Se,bD:()=>yr,ez:()=>zi,mk:()=>pi,q:()=>J,sg:()=>gi,tP:()=>ko,w_:()=>K});var r=D(1571);let d=null;function J(){return d}function z(A){d||(d=A)}class K{}const ve=new r.OlP("DocumentToken");let ae=(()=>{class A{historyGo(S){throw new Error("Not implemented")}}return A.\u0275fac=function(S){return new(S||A)},A.\u0275prov=r.Yz7({token:A,factory:function(){return function ie(){return(0,r.LFG)(he)}()},providedIn:"platform"}),A})();const ee=new r.OlP("Location Initialized");let he=(()=>{class A extends ae{constructor(S){super(),this._doc=S,this._init()}_init(){this.location=window.location,this._history=window.history}getBaseHrefFromDOM(){return J().getBaseHref(this._doc)}onPopState(S){const j=J().getGlobalEventTarget(this._doc,"window");return j.addEventListener("popstate",S,!1),()=>j.removeEventListener("popstate",S)}onHashChange(S){const j=J().getGlobalEventTarget(this._doc,"window");return j.addEventListener("hashchange",S,!1),()=>j.removeEventListener("hashchange",S)}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(S){this.location.pathname=S}pushState(S,j,me){_e()?this._history.pushState(S,j,me):this.location.hash=me}replaceState(S,j,me){_e()?this._history.replaceState(S,j,me):this.location.hash=me}forward(){this._history.forward()}back(){this._history.back()}historyGo(S=0){this._history.go(S)}getState(){return this._history.state}}return A.\u0275fac=function(S){return new(S||A)(r.LFG(ve))},A.\u0275prov=r.Yz7({token:A,factory:function(){return function Ue(){return new he((0,r.LFG)(ve))}()},providedIn:"platform"}),A})();function _e(){return!!window.history.pushState}function Be(A,L){if(0==A.length)return L;if(0==L.length)return A;let S=0;return A.endsWith("/")&&S++,L.startsWith("/")&&S++,2==S?A+L.substring(1):1==S?A+L:A+"/"+L}function je(A){const L=A.match(/#|\?|$/),S=L&&L.index||A.length;return A.slice(0,S-("/"===A[S-1]?1:0))+A.slice(S)}function Te(A){return A&&"?"!==A[0]?"?"+A:A}let Ve=(()=>{class A{historyGo(S){throw new Error("Not implemented")}}return A.\u0275fac=function(S){return new(S||A)},A.\u0275prov=r.Yz7({token:A,factory:function(){return(0,r.f3M)(Se)},providedIn:"root"}),A})();const Je=new r.OlP("appBaseHref");let Se=(()=>{class A extends Ve{constructor(S,j){super(),this._platformLocation=S,this._removeListenerFns=[],this._baseHref=j??this._platformLocation.getBaseHrefFromDOM()??(0,r.f3M)(ve).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(S){this._removeListenerFns.push(this._platformLocation.onPopState(S),this._platformLocation.onHashChange(S))}getBaseHref(){return this._baseHref}prepareExternalUrl(S){return Be(this._baseHref,S)}path(S=!1){const j=this._platformLocation.pathname+Te(this._platformLocation.search),me=this._platformLocation.hash;return me&&S?`${j}${me}`:j}pushState(S,j,me,Ye){const tt=this.prepareExternalUrl(me+Te(Ye));this._platformLocation.pushState(S,j,tt)}replaceState(S,j,me,Ye){const tt=this.prepareExternalUrl(me+Te(Ye));this._platformLocation.replaceState(S,j,tt)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(S=0){this._platformLocation.historyGo?.(S)}}return A.\u0275fac=function(S){return new(S||A)(r.LFG(ae),r.LFG(Je,8))},A.\u0275prov=r.Yz7({token:A,factory:A.\u0275fac,providedIn:"root"}),A})(),ht=(()=>{class A extends Ve{constructor(S,j){super(),this._platformLocation=S,this._baseHref="",this._removeListenerFns=[],null!=j&&(this._baseHref=j)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(S){this._removeListenerFns.push(this._platformLocation.onPopState(S),this._platformLocation.onHashChange(S))}getBaseHref(){return this._baseHref}path(S=!1){let j=this._platformLocation.hash;return null==j&&(j="#"),j.length>0?j.substring(1):j}prepareExternalUrl(S){const j=Be(this._baseHref,S);return j.length>0?"#"+j:j}pushState(S,j,me,Ye){let tt=this.prepareExternalUrl(me+Te(Ye));0==tt.length&&(tt=this._platformLocation.pathname),this._platformLocation.pushState(S,j,tt)}replaceState(S,j,me,Ye){let tt=this.prepareExternalUrl(me+Te(Ye));0==tt.length&&(tt=this._platformLocation.pathname),this._platformLocation.replaceState(S,j,tt)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(S=0){this._platformLocation.historyGo?.(S)}}return A.\u0275fac=function(S){return new(S||A)(r.LFG(ae),r.LFG(Je,8))},A.\u0275prov=r.Yz7({token:A,factory:A.\u0275fac}),A})(),le=(()=>{class A{constructor(S){this._subject=new r.vpe,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=S;const j=this._locationStrategy.getBaseHref();this._baseHref=je(Le(j)),this._locationStrategy.onPopState(me=>{this._subject.emit({url:this.path(!0),pop:!0,state:me.state,type:me.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(S=!1){return this.normalize(this._locationStrategy.path(S))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(S,j=""){return this.path()==this.normalize(S+Te(j))}normalize(S){return A.stripTrailingSlash(function Oe(A,L){return A&&L.startsWith(A)?L.substring(A.length):L}(this._baseHref,Le(S)))}prepareExternalUrl(S){return S&&"/"!==S[0]&&(S="/"+S),this._locationStrategy.prepareExternalUrl(S)}go(S,j="",me=null){this._locationStrategy.pushState(me,"",S,j),this._notifyUrlChangeListeners(this.prepareExternalUrl(S+Te(j)),me)}replaceState(S,j="",me=null){this._locationStrategy.replaceState(me,"",S,j),this._notifyUrlChangeListeners(this.prepareExternalUrl(S+Te(j)),me)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(S=0){this._locationStrategy.historyGo?.(S)}onUrlChange(S){return this._urlChangeListeners.push(S),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(j=>{this._notifyUrlChangeListeners(j.url,j.state)})),()=>{const j=this._urlChangeListeners.indexOf(S);this._urlChangeListeners.splice(j,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(S="",j){this._urlChangeListeners.forEach(me=>me(S,j))}subscribe(S,j,me){return this._subject.subscribe({next:S,error:j,complete:me})}}return A.normalizeQueryParams=Te,A.joinWithSlash=Be,A.stripTrailingSlash=je,A.\u0275fac=function(S){return new(S||A)(r.LFG(Ve))},A.\u0275prov=r.Yz7({token:A,factory:function(){return function Z(){return new le((0,r.LFG)(Ve))}()},providedIn:"root"}),A})();function Le(A){return A.replace(/\/index.html$/,"")}var Ge=(()=>((Ge=Ge||{})[Ge.Decimal=0]="Decimal",Ge[Ge.Percent=1]="Percent",Ge[Ge.Currency=2]="Currency",Ge[Ge.Scientific=3]="Scientific",Ge))(),Ce=(()=>((Ce=Ce||{})[Ce.Decimal=0]="Decimal",Ce[Ce.Group=1]="Group",Ce[Ce.List=2]="List",Ce[Ce.PercentSign=3]="PercentSign",Ce[Ce.PlusSign=4]="PlusSign",Ce[Ce.MinusSign=5]="MinusSign",Ce[Ce.Exponential=6]="Exponential",Ce[Ce.SuperscriptingExponent=7]="SuperscriptingExponent",Ce[Ce.PerMille=8]="PerMille",Ce[Ce.Infinity=9]="Infinity",Ce[Ce.NaN=10]="NaN",Ce[Ce.TimeSeparator=11]="TimeSeparator",Ce[Ce.CurrencyDecimal=12]="CurrencyDecimal",Ce[Ce.CurrencyGroup=13]="CurrencyGroup",Ce))();function Fe(A,L){const S=(0,r.cg1)(A),j=S[r.wAp.NumberSymbols][L];if(typeof j>"u"){if(L===Ce.CurrencyDecimal)return S[r.wAp.NumberSymbols][Ce.Decimal];if(L===Ce.CurrencyGroup)return S[r.wAp.NumberSymbols][Ce.Group]}return j}const F=/^(\d+)?\.((\d+)(-(\d+))?)?$/,p=".",v="0";function bi(A){const L=parseInt(A);if(isNaN(L))throw new Error("Invalid integer literal when parsing "+A);return L}function qn(A,L){L=encodeURIComponent(L);for(const S of A.split(";")){const j=S.indexOf("="),[me,Ye]=-1==j?[S,""]:[S.slice(0,j),S.slice(j+1)];if(me.trim()===L)return decodeURIComponent(Ye)}return null}let pi=(()=>{class A{constructor(S,j,me,Ye){this._iterableDiffers=S,this._keyValueDiffers=j,this._ngEl=me,this._renderer=Ye,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}set klass(S){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof S?S.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}set ngClass(S){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof S?S.split(/\s+/):S,this._rawClass&&((0,r.sIi)(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}ngDoCheck(){if(this._iterableDiffer){const S=this._iterableDiffer.diff(this._rawClass);S&&this._applyIterableChanges(S)}else if(this._keyValueDiffer){const S=this._keyValueDiffer.diff(this._rawClass);S&&this._applyKeyValueChanges(S)}}_applyKeyValueChanges(S){S.forEachAddedItem(j=>this._toggleClass(j.key,j.currentValue)),S.forEachChangedItem(j=>this._toggleClass(j.key,j.currentValue)),S.forEachRemovedItem(j=>{j.previousValue&&this._toggleClass(j.key,!1)})}_applyIterableChanges(S){S.forEachAddedItem(j=>{if("string"!=typeof j.item)throw new Error(`NgClass can only toggle CSS classes expressed as strings, got ${(0,r.AaK)(j.item)}`);this._toggleClass(j.item,!0)}),S.forEachRemovedItem(j=>this._toggleClass(j.item,!1))}_applyClasses(S){S&&(Array.isArray(S)||S instanceof Set?S.forEach(j=>this._toggleClass(j,!0)):Object.keys(S).forEach(j=>this._toggleClass(j,!!S[j])))}_removeClasses(S){S&&(Array.isArray(S)||S instanceof Set?S.forEach(j=>this._toggleClass(j,!1)):Object.keys(S).forEach(j=>this._toggleClass(j,!1)))}_toggleClass(S,j){(S=S.trim())&&S.split(/\s+/g).forEach(me=>{j?this._renderer.addClass(this._ngEl.nativeElement,me):this._renderer.removeClass(this._ngEl.nativeElement,me)})}}return A.\u0275fac=function(S){return new(S||A)(r.Y36(r.ZZ4),r.Y36(r.aQg),r.Y36(r.SBq),r.Y36(r.Qsj))},A.\u0275dir=r.lG2({type:A,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"},standalone:!0}),A})(),qi=(()=>{class A{constructor(S){this._viewContainerRef=S,this.ngComponentOutlet=null}ngOnChanges(S){const{_viewContainerRef:j,ngComponentOutletNgModule:me,ngComponentOutletNgModuleFactory:Ye}=this;if(j.clear(),this._componentRef=void 0,this.ngComponentOutlet){const tt=this.ngComponentOutletInjector||j.parentInjector;(S.ngComponentOutletNgModule||S.ngComponentOutletNgModuleFactory)&&(this._moduleRef&&this._moduleRef.destroy(),this._moduleRef=me?(0,r.Lck)(me,qt(tt)):Ye?Ye.create(qt(tt)):void 0),this._componentRef=j.createComponent(this.ngComponentOutlet,{index:j.length,injector:tt,ngModuleRef:this._moduleRef,projectableNodes:this.ngComponentOutletContent})}}ngOnDestroy(){this._moduleRef&&this._moduleRef.destroy()}}return A.\u0275fac=function(S){return new(S||A)(r.Y36(r.s_b))},A.\u0275dir=r.lG2({type:A,selectors:[["","ngComponentOutlet",""]],inputs:{ngComponentOutlet:"ngComponentOutlet",ngComponentOutletInjector:"ngComponentOutletInjector",ngComponentOutletContent:"ngComponentOutletContent",ngComponentOutletNgModule:"ngComponentOutletNgModule",ngComponentOutletNgModuleFactory:"ngComponentOutletNgModuleFactory"},standalone:!0,features:[r.TTD]}),A})();function qt(A){return A.get(r.h0i).injector}class $i{constructor(L,S,j,me){this.$implicit=L,this.ngForOf=S,this.index=j,this.count=me}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 gi=(()=>{class A{constructor(S,j,me){this._viewContainer=S,this._template=j,this._differs=me,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForOf(S){this._ngForOf=S,this._ngForOfDirty=!0}set ngForTrackBy(S){this._trackByFn=S}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(S){S&&(this._template=S)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const S=this._ngForOf;!this._differ&&S&&(this._differ=this._differs.find(S).create(this.ngForTrackBy))}if(this._differ){const S=this._differ.diff(this._ngForOf);S&&this._applyChanges(S)}}_applyChanges(S){const j=this._viewContainer;S.forEachOperation((me,Ye,tt)=>{if(null==me.previousIndex)j.createEmbeddedView(this._template,new $i(me.item,this._ngForOf,-1,-1),null===tt?void 0:tt);else if(null==tt)j.remove(null===Ye?void 0:Ye);else if(null!==Ye){const Mt=j.get(Ye);j.move(Mt,tt),Oi(Mt,me)}});for(let me=0,Ye=j.length;me<Ye;me++){const Mt=j.get(me).context;Mt.index=me,Mt.count=Ye,Mt.ngForOf=this._ngForOf}S.forEachIdentityChange(me=>{Oi(j.get(me.currentIndex),me)})}static ngTemplateContextGuard(S,j){return!0}}return A.\u0275fac=function(S){return new(S||A)(r.Y36(r.s_b),r.Y36(r.Rgc),r.Y36(r.ZZ4))},A.\u0275dir=r.lG2({type:A,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0}),A})();function Oi(A,L){A.context.$implicit=L.item}let xn=(()=>{class A{constructor(S,j){this._viewContainer=S,this._context=new Hn,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=j}set ngIf(S){this._context.$implicit=this._context.ngIf=S,this._updateView()}set ngIfThen(S){ln("ngIfThen",S),this._thenTemplateRef=S,this._thenViewRef=null,this._updateView()}set ngIfElse(S){ln("ngIfElse",S),this._elseTemplateRef=S,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(S,j){return!0}}return A.\u0275fac=function(S){return new(S||A)(r.Y36(r.s_b),r.Y36(r.Rgc))},A.\u0275dir=r.lG2({type:A,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0}),A})();class Hn{constructor(){this.$implicit=null,this.ngIf=null}}function ln(A,L){if(L&&!L.createEmbeddedView)throw new Error(`${A} must be a TemplateRef, but received '${(0,r.AaK)(L)}'.`)}let pr=(()=>{class A{constructor(S,j,me){this._ngEl=S,this._differs=j,this._renderer=me,this._ngStyle=null,this._differ=null}set ngStyle(S){this._ngStyle=S,!this._differ&&S&&(this._differ=this._differs.find(S).create())}ngDoCheck(){if(this._differ){const S=this._differ.diff(this._ngStyle);S&&this._applyChanges(S)}}_setStyle(S,j){const[me,Ye]=S.split("."),tt=-1===me.indexOf("-")?void 0:r.JOm.DashCase;null!=j?this._renderer.setStyle(this._ngEl.nativeElement,me,Ye?`${j}${Ye}`:j,tt):this._renderer.removeStyle(this._ngEl.nativeElement,me,tt)}_applyChanges(S){S.forEachRemovedItem(j=>this._setStyle(j.key,null)),S.forEachAddedItem(j=>this._setStyle(j.key,j.currentValue)),S.forEachChangedItem(j=>this._setStyle(j.key,j.currentValue))}}return A.\u0275fac=function(S){return new(S||A)(r.Y36(r.SBq),r.Y36(r.aQg),r.Y36(r.Qsj))},A.\u0275dir=r.lG2({type:A,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0}),A})(),ko=(()=>{class A{constructor(S){this._viewContainerRef=S,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(S){if(S.ngTemplateOutlet||S.ngTemplateOutletInjector){const j=this._viewContainerRef;if(this._viewRef&&j.remove(j.indexOf(this._viewRef)),this.ngTemplateOutlet){const{ngTemplateOutlet:me,ngTemplateOutletContext:Ye,ngTemplateOutletInjector:tt}=this;this._viewRef=j.createEmbeddedView(me,Ye,tt?{injector:tt}:void 0)}else this._viewRef=null}else this._viewRef&&S.ngTemplateOutletContext&&this.ngTemplateOutletContext&&(this._viewRef.context=this.ngTemplateOutletContext)}}return A.\u0275fac=function(S){return new(S||A)(r.Y36(r.s_b))},A.\u0275dir=r.lG2({type:A,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[r.TTD]}),A})();function ci(A,L){return new r.vHH(2100,!1)}class po{createSubscription(L,S){return L.subscribe({next:S,error:j=>{throw j}})}dispose(L){L.unsubscribe()}}class No{createSubscription(L,S){return L.then(S,j=>{throw j})}dispose(L){}}const gr=new No,Qr=new po;let Gi=(()=>{class A{constructor(S){this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null,this._ref=S}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(S){return this._obj?S!==this._obj?(this._dispose(),this.transform(S)):this._latestValue:(S&&this._subscribe(S),this._latestValue)}_subscribe(S){this._obj=S,this._strategy=this._selectStrategy(S),this._subscription=this._strategy.createSubscription(S,j=>this._updateLatestValue(S,j))}_selectStrategy(S){if((0,r.QGY)(S))return gr;if((0,r.F4k)(S))return Qr;throw ci()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(S,j){S===this._obj&&(this._latestValue=j,this._ref.markForCheck())}}return A.\u0275fac=function(S){return new(S||A)(r.Y36(r.sBO,16))},A.\u0275pipe=r.Yjl({name:"async",type:A,pure:!1,standalone:!0}),A})(),Pr=(()=>{class A{constructor(S){this._locale=S}transform(S,j,me){if(!function nr(A){return!(null==A||""===A||A!=A)}(S))return null;me=me||this._locale;try{return function Qt(A,L,S){return function st(A,L,S,j,me,Ye,tt=!1){let Mt="",cn=!1;if(isFinite(A)){let fn=function Qn(A){let j,me,Ye,tt,Mt,L=Math.abs(A)+"",S=0;for((me=L.indexOf(p))>-1&&(L=L.replace(p,"")),(Ye=L.search(/e/i))>0?(me<0&&(me=Ye),me+=+L.slice(Ye+1),L=L.substring(0,Ye)):me<0&&(me=L.length),Ye=0;L.charAt(Ye)===v;Ye++);if(Ye===(Mt=L.length))j=[0],me=1;else{for(Mt--;L.charAt(Mt)===v;)Mt--;for(me-=Ye,j=[],tt=0;Ye<=Mt;Ye++,tt++)j[tt]=Number(L.charAt(Ye))}return me>22&&(j=j.splice(0,21),S=me-1,me=1),{digits:j,exponent:S,integerLen:me}}(A);tt&&(fn=function Pt(A){if(0===A.digits[0])return A;const L=A.digits.length-A.integerLen;return A.exponent?A.exponent+=2:(0===L?A.digits.push(0,0):1===L&&A.digits.push(0),A.integerLen+=2),A}(fn));let gt=L.minInt,Yt=L.minFrac,Rn=L.maxFrac;if(Ye){const Ri=Ye.match(F);if(null===Ri)throw new Error(`${Ye} is not a valid digit info`);const rt=Ri[1],Gt=Ri[3],Lr=Ri[5];null!=rt&&(gt=bi(rt)),null!=Gt&&(Yt=bi(Gt)),null!=Lr?Rn=bi(Lr):null!=Gt&&Yt>Rn&&(Rn=Yt)}!function Ci(A,L,S){if(L>S)throw new Error(`The minimum number of digits after fraction (${L}) is higher than the maximum (${S}).`);let j=A.digits,me=j.length-A.integerLen;const Ye=Math.min(Math.max(L,me),S);let tt=Ye+A.integerLen,Mt=j[tt];if(tt>0){j.splice(Math.max(A.integerLen,tt));for(let Yt=tt;Yt<j.length;Yt++)j[Yt]=0}else{me=Math.max(0,me),A.integerLen=1,j.length=Math.max(1,tt=Ye+1),j[0]=0;for(let Yt=1;Yt<tt;Yt++)j[Yt]=0}if(Mt>=5)if(tt-1<0){for(let Yt=0;Yt>tt;Yt--)j.unshift(0),A.integerLen++;j.unshift(1),A.integerLen++}else j[tt-1]++;for(;me<Math.max(0,Ye);me++)j.push(0);let cn=0!==Ye;const fn=L+A.integerLen,gt=j.reduceRight(function(Yt,Rn,Cn,Nn){return Nn[Cn]=(Rn+=Yt)<10?Rn:Rn-10,cn&&(0===Nn[Cn]&&Cn>=fn?Nn.pop():cn=!1),Rn>=10?1:0},0);gt&&(j.unshift(gt),A.integerLen++)}(fn,Yt,Rn);let Cn=fn.digits,Nn=fn.integerLen;const Pi=fn.exponent;let si=[];for(cn=Cn.every(Ri=>!Ri);Nn<gt;Nn++)Cn.unshift(0);for(;Nn<0;Nn++)Cn.unshift(0);Nn>0?si=Cn.splice(Nn,Cn.length):(si=Cn,Cn=[0]);const Yi=[];for(Cn.length>=L.lgSize&&Yi.unshift(Cn.splice(-L.lgSize,Cn.length).join(""));Cn.length>L.gSize;)Yi.unshift(Cn.splice(-L.gSize,Cn.length).join(""));Cn.length&&Yi.unshift(Cn.join("")),Mt=Yi.join(Fe(S,j)),si.length&&(Mt+=Fe(S,me)+si.join("")),Pi&&(Mt+=Fe(S,Ce.Exponential)+"+"+Pi)}else Mt=Fe(S,Ce.Infinity);return Mt=A<0&&!cn?L.negPre+Mt+L.negSuf:L.posPre+Mt+L.posSuf,Mt}(A,function Mn(A,L="-"){const S={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},j=A.split(";"),me=j[0],Ye=j[1],tt=-1!==me.indexOf(p)?me.split(p):[me.substring(0,me.lastIndexOf(v)+1),me.substring(me.lastIndexOf(v)+1)],Mt=tt[0],cn=tt[1]||"";S.posPre=Mt.substring(0,Mt.indexOf("#"));for(let gt=0;gt<cn.length;gt++){const Yt=cn.charAt(gt);Yt===v?S.minFrac=S.maxFrac=gt+1:"#"===Yt?S.maxFrac=gt+1:S.posSuf+=Yt}const fn=Mt.split(",");if(S.gSize=fn[1]?fn[1].length:0,S.lgSize=fn[2]||fn[1]?(fn[2]||fn[1]).length:0,Ye){const gt=me.length-S.posPre.length-S.posSuf.length,Yt=Ye.indexOf("#");S.negPre=Ye.substring(0,Yt).replace(/'/g,""),S.negSuf=Ye.slice(Yt+gt).replace(/'/g,"")}else S.negPre=L+S.posPre,S.negSuf=S.posSuf;return S}(function Ze(A,L){return(0,r.cg1)(A)[r.wAp.NumberFormats][L]}(L,Ge.Decimal),Fe(L,Ce.MinusSign)),L,Ce.Group,Ce.Decimal,S)}(function di(A){if("string"==typeof A&&!isNaN(Number(A)-parseFloat(A)))return Number(A);if("number"!=typeof A)throw new Error(`${A} is not a number`);return A}(S),me,j)}catch(Ye){throw ci()}}}return A.\u0275fac=function(S){return new(S||A)(r.Y36(r.soG,16))},A.\u0275pipe=r.Yjl({name:"number",type:A,pure:!0,standalone:!0}),A})();let Rr=(()=>{class A{transform(S,j,me){if(null==S)return null;if(!this.supports(S))throw ci();return S.slice(j,me)}supports(S){return"string"==typeof S||Array.isArray(S)}}return A.\u0275fac=function(S){return new(S||A)},A.\u0275pipe=r.Yjl({name:"slice",type:A,pure:!1,standalone:!0}),A})(),zi=(()=>{class A{}return A.\u0275fac=function(S){return new(S||A)},A.\u0275mod=r.oAB({type:A}),A.\u0275inj=r.cJS({}),A})();const yr="browser";function zn(A){return A===yr}let Nr=(()=>{class A{}return A.\u0275prov=(0,r.Yz7)({token:A,providedIn:"root",factory:()=>new An((0,r.LFG)(ve),window)}),A})();class An{constructor(L,S){this.document=L,this.window=S,this.offset=()=>[0,0]}setOffset(L){this.offset=Array.isArray(L)?()=>L:L}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(L){this.supportsScrolling()&&this.window.scrollTo(L[0],L[1])}scrollToAnchor(L){if(!this.supportsScrolling())return;const S=function Xr(A,L){const S=A.getElementById(L)||A.getElementsByName(L)[0];if(S)return S;if("function"==typeof A.createTreeWalker&&A.body&&(A.body.createShadowRoot||A.body.attachShadow)){const j=A.createTreeWalker(A.body,NodeFilter.SHOW_ELEMENT);let me=j.currentNode;for(;me;){const Ye=me.shadowRoot;if(Ye){const tt=Ye.getElementById(L)||Ye.querySelector(`[name="${L}"]`);if(tt)return tt}me=j.nextNode()}}return null}(this.document,L);S&&(this.scrollToElement(S),S.focus())}setHistoryScrollRestoration(L){if(this.supportScrollRestoration()){const S=this.window.history;S&&S.scrollRestoration&&(S.scrollRestoration=L)}}scrollToElement(L){const S=L.getBoundingClientRect(),j=S.left+this.window.pageXOffset,me=S.top+this.window.pageYOffset,Ye=this.offset();this.window.scrollTo(j-Ye[0],me-Ye[1])}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const L=jn(this.window.history)||jn(Object.getPrototypeOf(this.window.history));return!(!L||!L.writable&&!L.set)}catch{return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch{return!1}}}function jn(A){return Object.getOwnPropertyDescriptor(A,"scrollRestoration")}class Xn{}},529:(dt,Ee,D)=>{D.d(Ee,{JF:()=>$,TP:()=>Rt,WM:()=>ee,eN:()=>Ke});var r=D(6895),d=D(1571),J=D(9646),G=D(9751),z=D(4351),K=D(9300),ve=D(4004);class ae{}class ie{}class ee{constructor(Q){this.normalizedNames=new Map,this.lazyUpdate=null,Q?this.lazyInit="string"==typeof Q?()=>{this.headers=new Map,Q.split("\n").forEach(W=>{const fe=W.indexOf(":");if(fe>0){const $e=W.slice(0,fe),vt=$e.toLowerCase(),mt=W.slice(fe+1).trim();this.maybeSetNormalizedName($e,vt),this.headers.has(vt)?this.headers.get(vt).push(mt):this.headers.set(vt,[mt])}})}:()=>{this.headers=new Map,Object.keys(Q).forEach(W=>{let fe=Q[W];const $e=W.toLowerCase();"string"==typeof fe&&(fe=[fe]),fe.length>0&&(this.headers.set($e,fe),this.maybeSetNormalizedName(W,$e))})}:this.headers=new Map}has(Q){return this.init(),this.headers.has(Q.toLowerCase())}get(Q){this.init();const W=this.headers.get(Q.toLowerCase());return W&&W.length>0?W[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(Q){return this.init(),this.headers.get(Q.toLowerCase())||null}append(Q,W){return this.clone({name:Q,value:W,op:"a"})}set(Q,W){return this.clone({name:Q,value:W,op:"s"})}delete(Q,W){return this.clone({name:Q,value:W,op:"d"})}maybeSetNormalizedName(Q,W){this.normalizedNames.has(W)||this.normalizedNames.set(W,Q)}init(){this.lazyInit&&(this.lazyInit instanceof ee?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(Q=>this.applyUpdate(Q)),this.lazyUpdate=null))}copyFrom(Q){Q.init(),Array.from(Q.headers.keys()).forEach(W=>{this.headers.set(W,Q.headers.get(W)),this.normalizedNames.set(W,Q.normalizedNames.get(W))})}clone(Q){const W=new ee;return W.lazyInit=this.lazyInit&&this.lazyInit instanceof ee?this.lazyInit:this,W.lazyUpdate=(this.lazyUpdate||[]).concat([Q]),W}applyUpdate(Q){const W=Q.name.toLowerCase();switch(Q.op){case"a":case"s":let fe=Q.value;if("string"==typeof fe&&(fe=[fe]),0===fe.length)return;this.maybeSetNormalizedName(Q.name,W);const $e=("a"===Q.op?this.headers.get(W):void 0)||[];$e.push(...fe),this.headers.set(W,$e);break;case"d":const vt=Q.value;if(vt){let mt=this.headers.get(W);if(!mt)return;mt=mt.filter(it=>-1===vt.indexOf(it)),0===mt.length?(this.headers.delete(W),this.normalizedNames.delete(W)):this.headers.set(W,mt)}else this.headers.delete(W),this.normalizedNames.delete(W)}}forEach(Q){this.init(),Array.from(this.normalizedNames.keys()).forEach(W=>Q(this.normalizedNames.get(W),this.headers.get(W)))}}class _e{encodeKey(Q){return Te(Q)}encodeValue(Q){return Te(Q)}decodeKey(Q){return decodeURIComponent(Q)}decodeValue(Q){return decodeURIComponent(Q)}}const Be=/%(\d[a-f0-9])/gi,je={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function Te(de){return encodeURIComponent(de).replace(Be,(Q,W)=>je[W]??Q)}function Ve(de){return`${de}`}class Je{constructor(Q={}){if(this.updates=null,this.cloneFrom=null,this.encoder=Q.encoder||new _e,Q.fromString){if(Q.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function Ue(de,Q){const W=new Map;return de.length>0&&de.replace(/^\?/,"").split("&").forEach($e=>{const vt=$e.indexOf("="),[mt,it]=-1==vt?[Q.decodeKey($e),""]:[Q.decodeKey($e.slice(0,vt)),Q.decodeValue($e.slice(vt+1))],wt=W.get(mt)||[];wt.push(it),W.set(mt,wt)}),W}(Q.fromString,this.encoder)}else Q.fromObject?(this.map=new Map,Object.keys(Q.fromObject).forEach(W=>{const fe=Q.fromObject[W],$e=Array.isArray(fe)?fe.map(Ve):[Ve(fe)];this.map.set(W,$e)})):this.map=null}has(Q){return this.init(),this.map.has(Q)}get(Q){this.init();const W=this.map.get(Q);return W?W[0]:null}getAll(Q){return this.init(),this.map.get(Q)||null}keys(){return this.init(),Array.from(this.map.keys())}append(Q,W){return this.clone({param:Q,value:W,op:"a"})}appendAll(Q){const W=[];return Object.keys(Q).forEach(fe=>{const $e=Q[fe];Array.isArray($e)?$e.forEach(vt=>{W.push({param:fe,value:vt,op:"a"})}):W.push({param:fe,value:$e,op:"a"})}),this.clone(W)}set(Q,W){return this.clone({param:Q,value:W,op:"s"})}delete(Q,W){return this.clone({param:Q,value:W,op:"d"})}toString(){return this.init(),this.keys().map(Q=>{const W=this.encoder.encodeKey(Q);return this.map.get(Q).map(fe=>W+"="+this.encoder.encodeValue(fe)).join("&")}).filter(Q=>""!==Q).join("&")}clone(Q){const W=new Je({encoder:this.encoder});return W.cloneFrom=this.cloneFrom||this,W.updates=(this.updates||[]).concat(Q),W}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(Q=>this.map.set(Q,this.cloneFrom.map.get(Q))),this.updates.forEach(Q=>{switch(Q.op){case"a":case"s":const W=("a"===Q.op?this.map.get(Q.param):void 0)||[];W.push(Ve(Q.value)),this.map.set(Q.param,W);break;case"d":if(void 0===Q.value){this.map.delete(Q.param);break}{let fe=this.map.get(Q.param)||[];const $e=fe.indexOf(Ve(Q.value));-1!==$e&&fe.splice($e,1),fe.length>0?this.map.set(Q.param,fe):this.map.delete(Q.param)}}}),this.cloneFrom=this.updates=null)}}class ht{constructor(){this.map=new Map}set(Q,W){return this.map.set(Q,W),this}get(Q){return this.map.has(Q)||this.map.set(Q,Q.defaultValue()),this.map.get(Q)}delete(Q){return this.map.delete(Q),this}has(Q){return this.map.has(Q)}keys(){return this.map.keys()}}function Z(de){return typeof ArrayBuffer<"u"&&de instanceof ArrayBuffer}function Oe(de){return typeof Blob<"u"&&de instanceof Blob}function Le(de){return typeof FormData<"u"&&de instanceof FormData}class Ge{constructor(Q,W,fe,$e){let vt;if(this.url=W,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=Q.toUpperCase(),function le(de){switch(de){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||$e?(this.body=void 0!==fe?fe:null,vt=$e):vt=fe,vt&&(this.reportProgress=!!vt.reportProgress,this.withCredentials=!!vt.withCredentials,vt.responseType&&(this.responseType=vt.responseType),vt.headers&&(this.headers=vt.headers),vt.context&&(this.context=vt.context),vt.params&&(this.params=vt.params)),this.headers||(this.headers=new ee),this.context||(this.context=new ht),this.params){const mt=this.params.toString();if(0===mt.length)this.urlWithParams=W;else{const it=W.indexOf("?");this.urlWithParams=W+(-1===it?"?":it<W.length-1?"&":"")+mt}}else this.params=new Je,this.urlWithParams=W}serializeBody(){return null===this.body?null:Z(this.body)||Oe(this.body)||Le(this.body)||function Ae(de){return typeof URLSearchParams<"u"&&de instanceof URLSearchParams}(this.body)||"string"==typeof this.body?this.body:this.body instanceof Je?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||Le(this.body)?null:Oe(this.body)?this.body.type||null:Z(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof Je?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||"boolean"==typeof this.body?"application/json":null}clone(Q={}){const W=Q.method||this.method,fe=Q.url||this.url,$e=Q.responseType||this.responseType,vt=void 0!==Q.body?Q.body:this.body,mt=void 0!==Q.withCredentials?Q.withCredentials:this.withCredentials,it=void 0!==Q.reportProgress?Q.reportProgress:this.reportProgress;let wt=Q.headers||this.headers,an=Q.params||this.params;const kt=Q.context??this.context;return void 0!==Q.setHeaders&&(wt=Object.keys(Q.setHeaders).reduce((Re,re)=>Re.set(re,Q.setHeaders[re]),wt)),Q.setParams&&(an=Object.keys(Q.setParams).reduce((Re,re)=>Re.set(re,Q.setParams[re]),an)),new Ge(W,fe,vt,{params:an,headers:wt,context:kt,reportProgress:it,responseType:$e,withCredentials:mt})}}var We=(()=>((We=We||{})[We.Sent=0]="Sent",We[We.UploadProgress=1]="UploadProgress",We[We.ResponseHeader=2]="ResponseHeader",We[We.DownloadProgress=3]="DownloadProgress",We[We.Response=4]="Response",We[We.User=5]="User",We))();class ye{constructor(Q,W=200,fe="OK"){this.headers=Q.headers||new ee,this.status=void 0!==Q.status?Q.status:W,this.statusText=Q.statusText||fe,this.url=Q.url||null,this.ok=this.status>=200&&this.status<300}}class be extends ye{constructor(Q={}){super(Q),this.type=We.ResponseHeader}clone(Q={}){return new be({headers:Q.headers||this.headers,status:void 0!==Q.status?Q.status:this.status,statusText:Q.statusText||this.statusText,url:Q.url||this.url||void 0})}}class ke extends ye{constructor(Q={}){super(Q),this.type=We.Response,this.body=void 0!==Q.body?Q.body:null}clone(Q={}){return new ke({body:void 0!==Q.body?Q.body:this.body,headers:Q.headers||this.headers,status:void 0!==Q.status?Q.status:this.status,statusText:Q.statusText||this.statusText,url:Q.url||this.url||void 0})}}class Ce extends ye{constructor(Q){super(Q,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${Q.url||"(unknown url)"}`:`Http failure response for ${Q.url||"(unknown url)"}: ${Q.status} ${Q.statusText}`,this.error=Q.error||null}}function ut(de,Q){return{body:Q,headers:de.headers,context:de.context,observe:de.observe,params:de.params,reportProgress:de.reportProgress,responseType:de.responseType,withCredentials:de.withCredentials}}let Ke=(()=>{class de{constructor(W){this.handler=W}request(W,fe,$e={}){let vt;if(W instanceof Ge)vt=W;else{let wt,an;wt=$e.headers instanceof ee?$e.headers:new ee($e.headers),$e.params&&(an=$e.params instanceof Je?$e.params:new Je({fromObject:$e.params})),vt=new Ge(W,fe,void 0!==$e.body?$e.body:null,{headers:wt,context:$e.context,params:an,reportProgress:$e.reportProgress,responseType:$e.responseType||"json",withCredentials:$e.withCredentials})}const mt=(0,J.of)(vt).pipe((0,z.b)(wt=>this.handler.handle(wt)));if(W instanceof Ge||"events"===$e.observe)return mt;const it=mt.pipe((0,K.h)(wt=>wt instanceof ke));switch($e.observe||"body"){case"body":switch(vt.responseType){case"arraybuffer":return it.pipe((0,ve.U)(wt=>{if(null!==wt.body&&!(wt.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return wt.body}));case"blob":return it.pipe((0,ve.U)(wt=>{if(null!==wt.body&&!(wt.body instanceof Blob))throw new Error("Response is not a Blob.");return wt.body}));case"text":return it.pipe((0,ve.U)(wt=>{if(null!==wt.body&&"string"!=typeof wt.body)throw new Error("Response is not a string.");return wt.body}));default:return it.pipe((0,ve.U)(wt=>wt.body))}case"response":return it;default:throw new Error(`Unreachable: unhandled observe type ${$e.observe}}`)}}delete(W,fe={}){return this.request("DELETE",W,fe)}get(W,fe={}){return this.request("GET",W,fe)}head(W,fe={}){return this.request("HEAD",W,fe)}jsonp(W,fe){return this.request("JSONP",W,{params:(new Je).append(fe,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(W,fe={}){return this.request("OPTIONS",W,fe)}patch(W,fe,$e={}){return this.request("PATCH",W,ut($e,fe))}post(W,fe,$e={}){return this.request("POST",W,ut($e,fe))}put(W,fe,$e={}){return this.request("PUT",W,ut($e,fe))}}return de.\u0275fac=function(W){return new(W||de)(d.LFG(ae))},de.\u0275prov=d.Yz7({token:de,factory:de.\u0275fac}),de})();class Et{constructor(Q,W){this.next=Q,this.interceptor=W}handle(Q){return this.interceptor.intercept(Q,this.next)}}const Rt=new d.OlP("HTTP_INTERCEPTORS");let ft=(()=>{class de{intercept(W,fe){return fe.handle(W)}}return de.\u0275fac=function(W){return new(W||de)},de.\u0275prov=d.Yz7({token:de,factory:de.\u0275fac}),de})();const Wt=/^\)\]\}',?\n/;let hn=(()=>{class de{constructor(W){this.xhrFactory=W}handle(W){if("JSONP"===W.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new G.y(fe=>{const $e=this.xhrFactory.build();if($e.open(W.method,W.urlWithParams),W.withCredentials&&($e.withCredentials=!0),W.headers.forEach((oe,Ne)=>$e.setRequestHeader(oe,Ne.join(","))),W.headers.has("Accept")||$e.setRequestHeader("Accept","application/json, text/plain, */*"),!W.headers.has("Content-Type")){const oe=W.detectContentTypeHeader();null!==oe&&$e.setRequestHeader("Content-Type",oe)}if(W.responseType){const oe=W.responseType.toLowerCase();$e.responseType="json"!==oe?oe:"text"}const vt=W.serializeBody();let mt=null;const it=()=>{if(null!==mt)return mt;const oe=$e.statusText||"OK",Ne=new ee($e.getAllResponseHeaders()),Dt=function rn(de){return"responseURL"in de&&de.responseURL?de.responseURL:/^X-Request-URL:/m.test(de.getAllResponseHeaders())?de.getResponseHeader("X-Request-URL"):null}($e)||W.url;return mt=new be({headers:Ne,status:$e.status,statusText:oe,url:Dt}),mt},wt=()=>{let{headers:oe,status:Ne,statusText:Dt,url:Ft}=it(),Bt=null;204!==Ne&&(Bt=typeof $e.response>"u"?$e.responseText:$e.response),0===Ne&&(Ne=Bt?200:0);let Tn=Ne>=200&&Ne<300;if("json"===W.responseType&&"string"==typeof Bt){const Dn=Bt;Bt=Bt.replace(Wt,"");try{Bt=""!==Bt?JSON.parse(Bt):null}catch(_n){Bt=Dn,Tn&&(Tn=!1,Bt={error:_n,text:Bt})}}Tn?(fe.next(new ke({body:Bt,headers:oe,status:Ne,statusText:Dt,url:Ft||void 0})),fe.complete()):fe.error(new Ce({error:Bt,headers:oe,status:Ne,statusText:Dt,url:Ft||void 0}))},an=oe=>{const{url:Ne}=it(),Dt=new Ce({error:oe,status:$e.status||0,statusText:$e.statusText||"Unknown Error",url:Ne||void 0});fe.error(Dt)};let kt=!1;const Re=oe=>{kt||(fe.next(it()),kt=!0);let Ne={type:We.DownloadProgress,loaded:oe.loaded};oe.lengthComputable&&(Ne.total=oe.total),"text"===W.responseType&&!!$e.responseText&&(Ne.partialText=$e.responseText),fe.next(Ne)},re=oe=>{let Ne={type:We.UploadProgress,loaded:oe.loaded};oe.lengthComputable&&(Ne.total=oe.total),fe.next(Ne)};return $e.addEventListener("load",wt),$e.addEventListener("error",an),$e.addEventListener("timeout",an),$e.addEventListener("abort",an),W.reportProgress&&($e.addEventListener("progress",Re),null!==vt&&$e.upload&&$e.upload.addEventListener("progress",re)),$e.send(vt),fe.next({type:We.Sent}),()=>{$e.removeEventListener("error",an),$e.removeEventListener("abort",an),$e.removeEventListener("load",wt),$e.removeEventListener("timeout",an),W.reportProgress&&($e.removeEventListener("progress",Re),null!==vt&&$e.upload&&$e.upload.removeEventListener("progress",re)),$e.readyState!==$e.DONE&&$e.abort()}})}}return de.\u0275fac=function(W){return new(W||de)(d.LFG(r.JF))},de.\u0275prov=d.Yz7({token:de,factory:de.\u0275fac}),de})();const tn=new d.OlP("XSRF_COOKIE_NAME"),on=new d.OlP("XSRF_HEADER_NAME");class Kt{}let gn=(()=>{class de{constructor(W,fe,$e){this.doc=W,this.platform=fe,this.cookieName=$e,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const W=this.doc.cookie||"";return W!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,r.Mx)(W,this.cookieName),this.lastCookieString=W),this.lastToken}}return de.\u0275fac=function(W){return new(W||de)(d.LFG(r.K0),d.LFG(d.Lbi),d.LFG(tn))},de.\u0275prov=d.Yz7({token:de,factory:de.\u0275fac}),de})(),mn=(()=>{class de{constructor(W,fe){this.tokenService=W,this.headerName=fe}intercept(W,fe){const $e=W.url.toLowerCase();if("GET"===W.method||"HEAD"===W.method||$e.startsWith("http://")||$e.startsWith("https://"))return fe.handle(W);const vt=this.tokenService.getToken();return null!==vt&&!W.headers.has(this.headerName)&&(W=W.clone({headers:W.headers.set(this.headerName,vt)})),fe.handle(W)}}return de.\u0275fac=function(W){return new(W||de)(d.LFG(Kt),d.LFG(on))},de.\u0275prov=d.Yz7({token:de,factory:de.\u0275fac}),de})(),He=(()=>{class de{constructor(W,fe){this.backend=W,this.injector=fe,this.chain=null}handle(W){if(null===this.chain){const fe=this.injector.get(Rt,[]);this.chain=fe.reduceRight(($e,vt)=>new Et($e,vt),this.backend)}return this.chain.handle(W)}}return de.\u0275fac=function(W){return new(W||de)(d.LFG(ie),d.LFG(d.zs3))},de.\u0275prov=d.Yz7({token:de,factory:de.\u0275fac}),de})(),Y=(()=>{class de{static disable(){return{ngModule:de,providers:[{provide:mn,useClass:ft}]}}static withOptions(W={}){return{ngModule:de,providers:[W.cookieName?{provide:tn,useValue:W.cookieName}:[],W.headerName?{provide:on,useValue:W.headerName}:[]]}}}return de.\u0275fac=function(W){return new(W||de)},de.\u0275mod=d.oAB({type:de}),de.\u0275inj=d.cJS({providers:[mn,{provide:Rt,useExisting:mn,multi:!0},{provide:Kt,useClass:gn},{provide:tn,useValue:"XSRF-TOKEN"},{provide:on,useValue:"X-XSRF-TOKEN"}]}),de})(),$=(()=>{class de{}return de.\u0275fac=function(W){return new(W||de)},de.\u0275mod=d.oAB({type:de}),de.\u0275inj=d.cJS({providers:[Ke,{provide:ae,useClass:He},hn,{provide:ie,useExisting:hn}],imports:[Y.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]}),de})()},1571:(dt,Ee,D)=>{D.d(Ee,{QbO:()=>Wb,tb:()=>am,AFp:()=>rm,ip1:()=>im,CZH:()=>Zl,hGG:()=>PD,z2F:()=>ql,sBO:()=>_D,Sil:()=>qb,_Vd:()=>Va,EJc:()=>Zb,Xts:()=>uc,SBq:()=>Ha,lqb:()=>Ss,qLn:()=>Ua,vpe:()=>fo,XFs:()=>Y,OlP:()=>vn,zs3:()=>Os,ZZ4:()=>cd,aQg:()=>ud,soG:()=>Ql,YKP:()=>og,h0i:()=>Da,PXZ:()=>uD,R0b:()=>fr,FiY:()=>xt,Lbi:()=>zb,g9A:()=>sm,n_E:()=>Gl,Qsj:()=>I_,FYo:()=>Kd,JOm:()=>ao,q3G:()=>ii,tp0:()=>Ht,Rgc:()=>il,dDg:()=>sD,eoX:()=>pm,GfV:()=>Zd,s_b:()=>Wl,ifc:()=>mt,MMx:()=>Vu,Lck:()=>GC,eFA:()=>_m,G48:()=>mD,Gpc:()=>je,f3M:()=>Or,_c5:()=>FD,c2e:()=>Yb,zSh:()=>fc,wAp:()=>$t,vHH:()=>Se,lri:()=>hm,rWj:()=>fm,EiD:()=>Rd,mCW:()=>Na,qzn:()=>ea,JVY:()=>Km,pB0:()=>Jm,eBb:()=>Qm,L6k:()=>Zm,LAX:()=>qm,D6c:()=>RD,cg1:()=>xu,kL8:()=>Ip,dqk:()=>it,sIi:()=>Ka,CqO:()=>Lf,QGY:()=>Cu,QP$:()=>wa,F4k:()=>Nf,RDi:()=>Vm,AaK:()=>_e,z3N:()=>Io,qOj:()=>hu,TTD:()=>nr,_Bn:()=>rg,xp6:()=>Ih,uIk:()=>gu,Tol:()=>op,Gre:()=>Cp,ekj:()=>Mu,Suo:()=>Pg,Xpm:()=>Dn,lG2:()=>wn,Yz7:()=>_t,cJS:()=>rn,oAB:()=>Sn,Yjl:()=>at,Y36:()=>sa,_UZ:()=>vu,GkF:()=>yu,BQk:()=>Nl,ynx:()=>kl,qZA:()=>Rl,TgZ:()=>Pl,EpF:()=>kf,n5z:()=>Ys,Ikx:()=>Ou,LFG:()=>un,$8M:()=>Vi,$Z:()=>$h,NdJ:()=>bu,CRH:()=>Rg,oxw:()=>Uf,ALo:()=>Dg,lcZ:()=>Eg,xi3:()=>wg,Dn7:()=>Mg,Hsn:()=>$f,F$t:()=>jf,Q6J:()=>mu,s9C:()=>Eu,MGl:()=>Ll,VKq:()=>fg,WLB:()=>pg,kEZ:()=>gg,l5B:()=>mg,iGM:()=>xg,MAs:()=>Rf,KtG:()=>Vo,CHM:()=>Lr,oJD:()=>kd,LSH:()=>cc,Udp:()=>wu,WFA:()=>Du,d8E:()=>Iu,YNc:()=>Pf,W1O:()=>Bg,_uU:()=>hp,Oqu:()=>Su,hij:()=>Vl,AsE:()=>Au,Gf:()=>Fg});var r=D(7579),d=D(727),J=D(9751),G=D(6451),z=D(8421),K=D(930),ve=D(4482);function ie(e,t,...n){if(!0===t)return void e();if(!1===t)return;const i=new K.Hp({next:()=>{i.unsubscribe(),e()}});return t(...n).subscribe(i)}function ee(e){for(let t in e)if(e[t]===ee)return t;throw Error("Could not find renamed property on target object.")}function he(e,t){for(const n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function _e(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(_e).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;const t=e.toString();if(null==t)return""+t;const n=t.indexOf("\n");return-1===n?t:t.substring(0,n)}function Ue(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const Be=ee({__forward_ref__:ee});function je(e){return e.__forward_ref__=je,e.toString=function(){return _e(this())},e}function Te(e){return Ve(e)?e():e}function Ve(e){return"function"==typeof e&&e.hasOwnProperty(Be)&&e.__forward_ref__===je}class Se extends Error{constructor(t,n){super(function ht(e,t){return`NG0${Math.abs(e)}${t?": "+t.trim():""}`}(t,n)),this.code=t}}function le(e){return"string"==typeof e?e:null==e?"":String(e)}function Ge(e,t){throw new Se(-201,!1)}function De(e,t){null==e&&function xe(e,t,n,i){throw new Error(`ASSERTION ERROR: ${e}`+(null==i?"":` [Expected=> ${n} ${i} ${t} <=Actual]`))}(t,e,null,"!=")}function _t(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function rn(e){return{providers:e.providers||[],imports:e.imports||[]}}function hn(e){return tn(e,mn)||tn(e,V)}function tn(e,t){return e.hasOwnProperty(t)?e[t]:null}function gn(e){return e&&(e.hasOwnProperty(He)||e.hasOwnProperty(H))?e[He]:null}const mn=ee({\u0275prov:ee}),He=ee({\u0275inj:ee}),V=ee({ngInjectableDef:ee}),H=ee({ngInjectorDef:ee});var Y=(()=>((Y=Y||{})[Y.Default=0]="Default",Y[Y.Host=1]="Host",Y[Y.Self=2]="Self",Y[Y.SkipSelf=4]="SkipSelf",Y[Y.Optional=8]="Optional",Y))();let $;function Me(e){const t=$;return $=e,t}function de(e,t,n){const i=hn(e);return i&&"root"==i.providedIn?void 0===i.value?i.value=i.factory():i.value:n&Y.Optional?null:void 0!==t?t:void Ge(_e(e))}function W(e){return{toString:e}.toString()}var fe=(()=>((fe=fe||{})[fe.OnPush=0]="OnPush",fe[fe.Default=1]="Default",fe))(),mt=(()=>{return(e=mt||(mt={}))[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",mt;var e})();const it=(()=>typeof globalThis<"u"&&globalThis||typeof global<"u"&&global||typeof window<"u"&&window||typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self)(),kt={},Re=[],re=ee({\u0275cmp:ee}),oe=ee({\u0275dir:ee}),Ne=ee({\u0275pipe:ee}),Dt=ee({\u0275mod:ee}),Ft=ee({\u0275fac:ee}),Bt=ee({__NG_ELEMENT_ID__:ee});let Tn=0;function Dn(e){return W(()=>{const n=!0===e.standalone,i={},o={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:i,inputs:null,outputs:null,exportAs:e.exportAs||null,onPush:e.changeDetection===fe.OnPush,directiveDefs:null,pipeDefs:null,standalone:n,dependencies:n&&e.dependencies||null,getStandaloneInjector:null,selectors:e.selectors||Re,viewQuery:e.viewQuery||null,features:e.features||null,data:e.data||{},encapsulation:e.encapsulation||mt.Emulated,id:"c"+Tn++,styles:e.styles||Re,_:null,setInput:null,schemas:e.schemas||null,tView:null},s=e.dependencies,c=e.features;return o.inputs=En(e.inputs,i),o.outputs=En(e.outputs),c&&c.forEach(m=>m(o)),o.directiveDefs=s?()=>("function"==typeof s?s():s).map(Xt).filter(In):null,o.pipeDefs=s?()=>("function"==typeof s?s():s).map(B).filter(In):null,o})}function Xt(e){return et(e)||F(e)}function In(e){return null!==e}function Sn(e){return W(()=>({type:e.type,bootstrap:e.bootstrap||Re,declarations:e.declarations||Re,imports:e.imports||Re,exports:e.exports||Re,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function En(e,t){if(null==e)return kt;const n={};for(const i in e)if(e.hasOwnProperty(i)){let o=e[i],s=o;Array.isArray(o)&&(s=o[1],o=o[0]),n[o]=i,t&&(t[o]=s)}return n}const wn=Dn;function at(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 et(e){return e[re]||null}function F(e){return e[oe]||null}function B(e){return e[Ne]||null}function p(e,t){const n=e[Dt]||null;if(!n&&!0===t)throw new Error(`Type ${_e(e)} does not have '\u0275mod' property.`);return n}function kn(e){return Array.isArray(e)&&"object"==typeof e[1]}function Jn(e){return Array.isArray(e)&&!0===e[1]}function xr(e){return 0!=(8&e.flags)}function _i(e){return 2==(2&e.flags)}function Ei(e){return 1==(1&e.flags)}function ri(e){return null!==e.template}function pr(e){return 0!=(256&e[2])}function vi(e,t){return e.hasOwnProperty(Ft)?e[Ft]:null}class tr{constructor(t,n,i){this.previousValue=t,this.currentValue=n,this.firstChange=i}isFirstChange(){return this.firstChange}}function nr(){return di}function di(e){return e.type.prototype.ngOnChanges&&(e.setInput=Bo),Rr}function Rr(){const e=yr(this),t=e?.current;if(t){const n=e.previous;if(n===kt)e.previous=t;else for(let i in t)n[i]=t[i];e.current=null,this.ngOnChanges(t)}}function Bo(e,t,n,i){const o=yr(e)||function kr(e,t){return e[zi]=t}(e,{previous:kt,current:null}),s=o.current||(o.current={}),c=o.previous,m=this.declaredInputs[n],C=c[m];s[m]=new tr(C&&C.currentValue,t,c===kt),e[i]=t}nr.ngInherit=!0;const zi="__ngSimpleChanges__";function yr(e){return e[zi]||null}function An(e){for(;Array.isArray(e);)e=e[0];return e}function oi(e,t){return An(t[e])}function Xn(e,t){return An(t[e.index])}function L(e,t){return e.data[t]}function S(e,t){return e[t]}function j(e,t){const n=t[e];return kn(n)?n:n[0]}function me(e){return 4==(4&e[2])}function Ye(e){return 64==(64&e[2])}function Mt(e,t){return null==t?null:e[t]}function cn(e){e[18]=0}function fn(e,t){e[5]+=t;let n=e,i=e[3];for(;null!==i&&(1===t&&1===n[5]||-1===t&&0===n[5]);)i[5]+=t,n=i,i=i[3]}const gt={lFrame:Ls(null),bindingsEnabled:!0};function si(){return gt.bindingsEnabled}function rt(){return gt.lFrame.lView}function Gt(){return gt.lFrame.tView}function Lr(e){return gt.lFrame.contextLView=e,e[8]}function Vo(e){return gt.lFrame.contextLView=null,e}function Un(){let e=as();for(;null!==e&&64===e.type;)e=e.parent;return e}function as(){return gt.lFrame.currentTNode}function ki(e,t){const n=gt.lFrame;n.currentTNode=e,n.isParent=t}function Ho(){return gt.lFrame.isParent}function Br(){gt.lFrame.isParent=!1}function ze(){const e=gt.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function Wn(){return gt.lFrame.bindingIndex++}function ei(e){const t=gt.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function to(e,t){const n=gt.lFrame;n.bindingIndex=n.bindingRootIndex=e,ks(t)}function ks(e){gt.lFrame.currentDirectiveIndex=e}function Uo(e){const t=gt.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}function Ns(){return gt.lFrame.currentQueryIndex}function Ni(e){gt.lFrame.currentQueryIndex=e}function Er(e){const t=e[1];return 2===t.type?t.declTNode:1===t.type?e[6]:null}function ls(e,t,n){if(n&Y.SkipSelf){let o=t,s=e;for(;!(o=o.parent,null!==o||n&Y.Host||(o=Er(s),null===o||(s=s[15],10&o.type))););if(null===o)return!1;t=o,e=s}const i=gt.lFrame=jo();return i.currentTNode=t,i.lView=e,!0}function cs(e){const t=jo(),n=e[1];gt.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function jo(){const e=gt.lFrame,t=null===e?null:e.child;return null===t?Ls(e):t}function Ls(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 mo(){const e=gt.lFrame;return gt.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const us=mo;function _o(){const e=mo();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 Yn(){return gt.lFrame.selectedIndex}function Mi(e){gt.lFrame.selectedIndex=e}function Fn(){const e=gt.lFrame;return L(e.tView,e.selectedIndex)}function sr(e,t){for(let n=t.directiveStart,i=t.directiveEnd;n<i;n++){const s=e.data[n].type.prototype,{ngAfterContentInit:c,ngAfterContentChecked:m,ngAfterViewInit:C,ngAfterViewChecked:I,ngOnDestroy:k}=s;c&&(e.contentHooks||(e.contentHooks=[])).push(-n,c),m&&((e.contentHooks||(e.contentHooks=[])).push(n,m),(e.contentCheckHooks||(e.contentCheckHooks=[])).push(n,m)),C&&(e.viewHooks||(e.viewHooks=[])).push(-n,C),I&&((e.viewHooks||(e.viewHooks=[])).push(n,I),(e.viewCheckHooks||(e.viewCheckHooks=[])).push(n,I)),null!=k&&(e.destroyHooks||(e.destroyHooks=[])).push(n,k)}}function Go(e,t,n){hs(e,t,3,n)}function yo(e,t,n,i){(3&e[2])===n&&hs(e,t,n,i)}function no(e,t){let n=e[2];(3&n)===t&&(n&=2047,n+=1,e[2]=n)}function hs(e,t,n,i){const s=i??-1,c=t.length-1;let m=0;for(let C=void 0!==i?65535&e[18]:0;C<c;C++)if("number"==typeof t[C+1]){if(m=t[C],null!=i&&m>=i)break}else t[C]<0&&(e[18]+=65536),(m<s||-1==s)&&(Ta(e,n,t,C),e[18]=(4294901760&e[18])+C+2),C++}function Ta(e,t,n,i){const o=n[i]<0,s=n[i+1],m=e[o?-n[i]:n[i]];if(o){if(e[2]>>11<e[18]>>16&&(3&e[2])===t){e[2]+=2048;try{s.call(m)}finally{}}}else try{s.call(m)}finally{}}class Hr{constructor(t,n,i){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=i}}function zo(e,t,n){let i=0;for(;i<n.length;){const o=n[i];if("number"==typeof o){if(0!==o)break;i++;const s=n[i++],c=n[i++],m=n[i++];e.setAttribute(t,c,m,s)}else{const s=o,c=n[++i];Wo(s)?e.setProperty(t,s,c):e.setAttribute(t,s,c),i++}}return i}function fs(e){return 3===e||4===e||6===e}function Wo(e){return 64===e.charCodeAt(0)}function Do(e,t){if(null!==t&&0!==t.length)if(null===e||0===e.length)e=t.slice();else{let n=-1;for(let i=0;i<t.length;i++){const o=t[i];"number"==typeof o?n=o:0===n||Us(e,n,o,null,-1===n||2===n?t[++i]:null)}}return e}function Us(e,t,n,i,o){let s=0,c=e.length;if(-1===t)c=-1;else for(;s<e.length;){const m=e[s++];if("number"==typeof m){if(m===t){c=-1;break}if(m>t){c=s-1;break}}}for(;s<e.length;){const m=e[s];if("number"==typeof m)break;if(m===n){if(null===i)return void(null!==o&&(e[s+1]=o));if(i===e[s+1])return void(e[s+2]=o)}s++,null!==i&&s++,null!==o&&s++}-1!==c&&(e.splice(c,0,t),s=c+1),e.splice(s++,0,n),null!==i&&e.splice(s++,0,i),null!==o&&e.splice(s++,0,o)}function Yo(e){return-1!==e}function ar(e){return 32767&e}function Ur(e,t){let n=function js(e){return e>>16}(e),i=t;for(;n>0;)i=i[15],n--;return i}let ps=!0;function Eo(e){const t=ps;return ps=e,t}let Gs=0;const yi={};function Mo(e,t){const n=ro(e,t);if(-1!==n)return n;const i=t[1];i.firstCreatePass&&(e.injectorIndex=t.length,Zo(i.data,e),Zo(t,null),Zo(i.blueprint,null));const o=Qo(e,t),s=e.injectorIndex;if(Yo(o)){const c=ar(o),m=Ur(o,t),C=m[1].data;for(let I=0;I<8;I++)t[s+I]=m[c+I]|C[c+I]}return t[s+8]=o,s}function Zo(e,t){e.push(0,0,0,0,0,0,0,0,t)}function ro(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function Qo(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=0,i=null,o=t;for(;null!==o;){if(i=ys(o),null===i)return-1;if(n++,o=o[15],-1!==i.injectorIndex)return i.injectorIndex|n<<16}return-1}function qo(e,t,n){!function Ko(e,t,n){let i;"string"==typeof n?i=n.charCodeAt(0)||0:n.hasOwnProperty(Bt)&&(i=n[Bt]),null==i&&(i=n[Bt]=Gs++);const o=255&i;t.data[e+(o>>5)]|=1<<o}(e,t,n)}function zs(e,t,n){if(n&Y.Optional)return e;Ge()}function Ws(e,t,n,i){if(n&Y.Optional&&void 0===i&&(i=null),0==(n&(Y.Self|Y.Host))){const o=e[9],s=Me(void 0);try{return o?o.get(t,i,n&Y.Optional):de(t,i,n&Y.Optional)}finally{Me(s)}}return zs(i,0,n)}function gs(e,t,n,i=Y.Default,o){if(null!==e){if(1024&t[2]){const c=function vs(e,t,n,i,o){let s=e,c=t;for(;null!==s&&null!==c&&1024&c[2]&&!(256&c[2]);){const m=ti(s,c,n,i|Y.Self,yi);if(m!==yi)return m;let C=s.parent;if(!C){const I=c[21];if(I){const k=I.get(n,yi,i);if(k!==yi)return k}C=ys(c),c=c[15]}s=C}return o}(e,t,n,i,yi);if(c!==yi)return c}const s=ti(e,t,n,i,yi);if(s!==yi)return s}return Ws(t,n,i,o)}function ti(e,t,n,i,o){const s=function Ki(e){if("string"==typeof e)return e.charCodeAt(0)||0;const t=e.hasOwnProperty(Bt)?e[Bt]:void 0;return"number"==typeof t?t>=0?255&t:Ia:t}(n);if("function"==typeof s){if(!ls(t,e,i))return i&Y.Host?zs(o,0,i):Ws(t,n,i,o);try{const c=s(i);if(null!=c||i&Y.Optional)return c;Ge()}finally{us()}}else if("number"==typeof s){let c=null,m=ro(e,t),C=-1,I=i&Y.Host?t[16][6]:null;for((-1===m||i&Y.SkipSelf)&&(C=-1===m?Qo(e,t):t[m+8],-1!==C&&_s(i,!1)?(c=t[1],m=ar(C),t=Ur(C,t)):m=-1);-1!==m;){const k=t[1];if(ms(s,m,k.data)){const q=Oa(m,t,n,c,i,I);if(q!==yi)return q}C=t[m+8],-1!==C&&_s(i,t[1].data[m+8]===I)&&ms(s,m,t)?(c=k,m=ar(C),t=Ur(C,t)):m=-1}}return o}function Oa(e,t,n,i,o,s){const c=t[1],m=c.data[e+8],k=To(m,c,n,null==i?_i(m)&&ps:i!=c&&0!=(3&m.type),o&Y.Host&&s===m);return null!==k?jr(t,c,k,m):yi}function To(e,t,n,i,o){const s=e.providerIndexes,c=t.data,m=1048575&s,C=e.directiveStart,k=s>>20,pe=o?m+k:e.directiveEnd;for(let Ie=i?m:m+k;Ie<pe;Ie++){const nt=c[Ie];if(Ie<C&&n===nt||Ie>=C&&nt.type===n)return Ie}if(o){const Ie=c[C];if(Ie&&ri(Ie)&&Ie.type===n)return C}return null}function jr(e,t,n,i){let o=e[n];const s=t.data;if(function Sa(e){return e instanceof Hr}(o)){const c=o;c.resolving&&function Oe(e,t){const n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new Se(-200,`Circular dependency in DI detected for ${e}${n}`)}(function Z(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():le(e)}(s[n]));const m=Eo(c.canSeeViewProviders);c.resolving=!0;const C=c.injectImpl?Me(c.injectImpl):null;ls(e,i,Y.Default);try{o=e[n]=c.factory(void 0,s,e,i),t.firstCreatePass&&n>=i.directiveStart&&function Li(e,t,n){const{ngOnChanges:i,ngOnInit:o,ngDoCheck:s}=t.type.prototype;if(i){const c=di(t);(n.preOrderHooks||(n.preOrderHooks=[])).push(e,c),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,c)}o&&(n.preOrderHooks||(n.preOrderHooks=[])).push(0-e,o),s&&((n.preOrderHooks||(n.preOrderHooks=[])).push(e,s),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,s))}(n,s[n],t)}finally{null!==C&&Me(C),Eo(m),c.resolving=!1,us()}}return o}function ms(e,t,n){return!!(n[t+(e>>5)]&1<<e)}function _s(e,t){return!(e&Y.Self||e&Y.Host&&t)}class Tr{constructor(t,n){this._tNode=t,this._lView=n}get(t,n,i){return gs(this._tNode,this._lView,t,i,n)}}function Ia(){return new Tr(Un(),rt())}function Ys(e){return W(()=>{const t=e.prototype.constructor,n=t[Ft]||So(t),i=Object.prototype;let o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==i;){const s=o[Ft]||So(o);if(s&&s!==n)return s;o=Object.getPrototypeOf(o)}return s=>new s})}function So(e){return Ve(e)?()=>{const t=So(Te(e));return t&&t()}:vi(e)}function ys(e){const t=e[1],n=t.type;return 2===n?t.declTNode:1===n?e[6]:null}function Vi(e){return function Aa(e,t){if("class"===t)return e.classes;if("style"===t)return e.styles;const n=e.attrs;if(n){const i=n.length;let o=0;for(;o<i;){const s=n[o];if(fs(s))break;if(0===s)o+=2;else if("number"==typeof s)for(o++;o<i&&"string"==typeof n[o];)o++;else{if(s===t)return n[o+1];o+=2}}}return null}(Un(),e)}const lr="__parameters__";function oo(e,t,n){return W(()=>{const i=function Cs(e){return function(...n){if(e){const i=e(...n);for(const o in i)this[o]=i[o]}}}(t);function o(...s){if(this instanceof o)return i.apply(this,s),this;const c=new o(...s);return m.annotation=c,m;function m(C,I,k){const q=C.hasOwnProperty(lr)?C[lr]:Object.defineProperty(C,lr,{value:[]})[lr];for(;q.length<=k;)q.push(null);return(q[k]=q[k]||[]).push(c),C}}return n&&(o.prototype=Object.create(n.prototype)),o.prototype.ngMetadataName=e,o.annotationCls=o,o})}class vn{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=_t({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}function f(e,t){void 0===t&&(t=e);for(let n=0;n<e.length;n++){let i=e[n];Array.isArray(i)?(t===e&&(t=e.slice(0,n)),f(i,t)):t!==e&&t.push(i)}return t}function u(e,t){e.forEach(n=>Array.isArray(n)?u(n,t):t(n))}function b(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function T(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function R(e,t){const n=[];for(let i=0;i<e;i++)n.push(t);return n}function Jt(e,t,n){let i=l(e,t);return i>=0?e[1|i]=n:(i=~i,function Qe(e,t,n,i){let o=e.length;if(o==t)e.push(n,i);else if(1===o)e.push(i,e[0]),e[0]=n;else{for(o--,e.push(e[o-1],e[o]);o>t;)e[o]=e[o-2],o--;e[t]=n,e[t+1]=i}}(e,i,t,n)),i}function y(e,t){const n=l(e,t);if(n>=0)return e[1|n]}function l(e,t){return function g(e,t,n){let i=0,o=e.length>>n;for(;o!==i;){const s=i+(o-i>>1),c=e[s<<n];if(t===c)return s<<n;c>t?o=s:i=s+1}return~(o<<n)}(e,t,1)}const Zt={},jt="__NG_DI_FLAG__",zt="ngTempTokenPath",Pn=/\n/gm,hi="__source";let Gn;function cr(e){const t=Gn;return Gn=e,t}function Sr(e,t=Y.Default){if(void 0===Gn)throw new Se(-203,!1);return null===Gn?de(e,void 0,t):Gn.get(e,t&Y.Optional?null:void 0,t)}function un(e,t=Y.Default){return(function te(){return $}()||Sr)(Te(e),t)}function Or(e,t=Y.Default){return"number"!=typeof t&&(t=0|(t.optional&&8)|(t.host&&1)|(t.self&&2)|(t.skipSelf&&4)),un(e,t)}function ur(e){const t=[];for(let n=0;n<e.length;n++){const i=Te(e[n]);if(Array.isArray(i)){if(0===i.length)throw new Se(900,!1);let o,s=Y.Default;for(let c=0;c<i.length;c++){const m=i[c],C=Es(m);"number"==typeof C?-1===C?o=m.token:s|=C:o=m}t.push(un(o,s))}else t.push(un(i))}return t}function es(e,t){return e[jt]=t,e.prototype[jt]=t,e}function Es(e){return e[jt]}const xt=es(oo("Optional"),8),Ht=es(oo("SkipSelf"),4);let nc,pl,gl;function Vm(e){nc=e}function Xs(e){return function ic(){if(void 0===pl&&(pl=null,it.trustedTypes))try{pl=it.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return pl}()?.createHTML(e)||e}function wd(e){return function rc(){if(void 0===gl&&(gl=null,it.trustedTypes))try{gl=it.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return gl}()?.createHTML(e)||e}class Ms{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see https://g.co/ng/security#xss)`}}class jm extends Ms{getTypeName(){return"HTML"}}class $m extends Ms{getTypeName(){return"Style"}}class Gm extends Ms{getTypeName(){return"Script"}}class zm extends Ms{getTypeName(){return"URL"}}class Wm extends Ms{getTypeName(){return"ResourceURL"}}function Io(e){return e instanceof Ms?e.changingThisBreaksApplicationSecurity:e}function ea(e,t){const n=function Ym(e){return e instanceof Ms&&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 jm(e)}function Zm(e){return new $m(e)}function Qm(e){return new Gm(e)}function qm(e){return new zm(e)}function Jm(e){return new Wm(e)}class Xm{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{const n=(new window.DOMParser).parseFromString(Xs(t),"text/html").body;return null===n?this.inertDocumentHelper.getInertBodyElement(t):(n.removeChild(n.firstChild),n)}catch{return null}}}class e_{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 i=this.inertDocument.createElement("body");n.appendChild(i)}}getInertBodyElement(t){const n=this.inertDocument.createElement("template");if("content"in n)return n.innerHTML=Xs(t),n;const i=this.inertDocument.createElement("body");return i.innerHTML=Xs(t),this.defaultDoc.documentMode&&this.stripCustomNsAttrs(i),i}stripCustomNsAttrs(t){const n=t.attributes;for(let o=n.length-1;0<o;o--){const c=n.item(o).name;("xmlns:ns1"===c||0===c.indexOf("ns1:"))&&t.removeAttribute(c)}let i=t.firstChild;for(;i;)i.nodeType===Node.ELEMENT_NODE&&this.stripCustomNsAttrs(i),i=i.nextSibling}}const n_=/^(?:(?:https?|mailto|ftp|tel|file|sms):|[^&:/?#]*(?:[/?#]|$))/gi,i_=/^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 Na(e){return(e=String(e)).match(n_)||e.match(i_)?e:"unsafe:"+e}function so(e){const t={};for(const n of e.split(","))t[n]=!0;return t}function La(...e){const t={};for(const n of e)for(const i in n)n.hasOwnProperty(i)&&(t[i]=!0);return t}const Od=so("area,br,col,hr,img,wbr"),Id=so("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),xd=so("rp,rt"),oc=La(Od,La(Id,so("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")),La(xd,so("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")),La(xd,Id)),sc=so("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),ac=so("srcset"),Fd=La(sc,ac,so("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"),so("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")),r_=so("script,style,template");class o_{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(t){let n=t.firstChild,i=!0;for(;n;)if(n.nodeType===Node.ELEMENT_NODE?i=this.startElement(n):n.nodeType===Node.TEXT_NODE?this.chars(n.nodeValue):this.sanitizedSomething=!0,i&&n.firstChild)n=n.firstChild;else for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let o=this.checkClobberedElement(n,n.nextSibling);if(o){n=o;break}n=this.checkClobberedElement(n,n.parentNode)}return this.buf.join("")}startElement(t){const n=t.nodeName.toLowerCase();if(!oc.hasOwnProperty(n))return this.sanitizedSomething=!0,!r_.hasOwnProperty(n);this.buf.push("<"),this.buf.push(n);const i=t.attributes;for(let o=0;o<i.length;o++){const s=i.item(o),c=s.name,m=c.toLowerCase();if(!Fd.hasOwnProperty(m)){this.sanitizedSomething=!0;continue}let C=s.value;sc[m]&&(C=Na(C)),ac[m]&&(e=C,C=(e=String(e)).split(",").map(t=>Na(t.trim())).join(", ")),this.buf.push(" ",c,'="',Pd(C),'"')}var e;return this.buf.push(">"),!0}endElement(t){const n=t.nodeName.toLowerCase();oc.hasOwnProperty(n)&&!Od.hasOwnProperty(n)&&(this.buf.push("</"),this.buf.push(n),this.buf.push(">"))}chars(t){this.buf.push(Pd(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 s_=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,a_=/([^\#-~ |!])/g;function Pd(e){return e.replace(/&/g,"&").replace(s_,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(a_,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}let ml;function Rd(e,t){let n=null;try{ml=ml||function Sd(e){const t=new e_(e);return function t_(){try{return!!(new window.DOMParser).parseFromString(Xs(""),"text/html")}catch{return!1}}()?new Xm(t):t}(e);let i=t?String(t):"";n=ml.getInertBodyElement(i);let o=5,s=i;do{if(0===o)throw new Error("Failed to sanitize html because the input is unstable");o--,i=s,s=n.innerHTML,n=ml.getInertBodyElement(i)}while(i!==s);return Xs((new o_).sanitizeChildren(lc(n)||n))}finally{if(n){const i=lc(n)||n;for(;i.firstChild;)i.removeChild(i.firstChild)}}}function lc(e){return"content"in e&&function l_(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var ii=(()=>((ii=ii||{})[ii.NONE=0]="NONE",ii[ii.HTML=1]="HTML",ii[ii.STYLE=2]="STYLE",ii[ii.SCRIPT=3]="SCRIPT",ii[ii.URL=4]="URL",ii[ii.RESOURCE_URL=5]="RESOURCE_URL",ii))();function kd(e){const t=Ba();return t?wd(t.sanitize(ii.HTML,e)||""):ea(e,"HTML")?wd(Io(e)):Rd(function Ed(){return void 0!==nc?nc:typeof document<"u"?document:void 0}(),le(e))}function cc(e){const t=Ba();return t?t.sanitize(ii.URL,e)||"":ea(e,"URL")?Io(e):Na(le(e))}function Ba(){const e=rt();return e&&e[12]}const uc=new vn("ENVIRONMENT_INITIALIZER"),Ld=new vn("INJECTOR",-1),Bd=new vn("INJECTOR_DEF_TYPES");class Vd{get(t,n=Zt){if(n===Zt){const i=new Error(`NullInjectorError: No provider for ${_e(t)}!`);throw i.name="NullInjectorError",i}return n}}function g_(...e){return{\u0275providers:Hd(0,e)}}function Hd(e,...t){const n=[],i=new Set;let o;return u(t,s=>{const c=s;dc(c,n,[],i)&&(o||(o=[]),o.push(c))}),void 0!==o&&Ud(o,n),n}function Ud(e,t){for(let n=0;n<e.length;n++){const{providers:o}=e[n];u(o,s=>{t.push(s)})}}function dc(e,t,n,i){if(!(e=Te(e)))return!1;let o=null,s=gn(e);const c=!s&&et(e);if(s||c){if(c&&!c.standalone)return!1;o=e}else{const C=e.ngModule;if(s=gn(C),!s)return!1;o=C}const m=i.has(o);if(c){if(m)return!1;if(i.add(o),c.dependencies){const C="function"==typeof c.dependencies?c.dependencies():c.dependencies;for(const I of C)dc(I,t,n,i)}}else{if(!s)return!1;{if(null!=s.imports&&!m){let I;i.add(o);try{u(s.imports,k=>{dc(k,t,n,i)&&(I||(I=[]),I.push(k))})}finally{}void 0!==I&&Ud(I,t)}if(!m){const I=vi(o)||(()=>new o);t.push({provide:o,useFactory:I,deps:Re},{provide:Bd,useValue:o,multi:!0},{provide:uc,useValue:()=>un(o),multi:!0})}const C=s.providers;null==C||m||u(C,k=>{t.push(k)})}}return o!==e&&void 0!==e.providers}const m_=ee({provide:String,useValue:ee});function hc(e){return null!==e&&"object"==typeof e&&m_ in e}function Ts(e){return"function"==typeof e}const fc=new vn("Set Injector scope."),_l={},v_={};let pc;function vl(){return void 0===pc&&(pc=new Vd),pc}class Ss{}class Gd extends Ss{constructor(t,n,i,o){super(),this.parent=n,this.source=i,this.scopes=o,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,mc(t,c=>this.processProvider(c)),this.records.set(Ld,ta(void 0,this)),o.has("environment")&&this.records.set(Ss,ta(void 0,this));const s=this.records.get(fc);null!=s&&"string"==typeof s.value&&this.scopes.add(s.value),this.injectorDefTypes=new Set(this.get(Bd.multi,Re,Y.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=cr(this),i=Me(void 0);try{return t()}finally{cr(n),Me(i)}}get(t,n=Zt,i=Y.Default){this.assertNotDestroyed();const o=cr(this),s=Me(void 0);try{if(!(i&Y.SkipSelf)){let m=this.records.get(t);if(void 0===m){const C=function E_(e){return"function"==typeof e||"object"==typeof e&&e instanceof vn}(t)&&hn(t);m=C&&this.injectableDefInScope(C)?ta(gc(t),_l):null,this.records.set(t,m)}if(null!=m)return this.hydrate(t,m)}return(i&Y.Self?vl():this.parent).get(t,n=i&Y.Optional&&n===Zt?null:n)}catch(c){if("NullInjectorError"===c.name){if((c[zt]=c[zt]||[]).unshift(_e(t)),o)throw c;return function Ao(e,t,n,i){const o=e[zt];throw t[hi]&&o.unshift(t[hi]),e.message=function dl(e,t,n,i=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let o=_e(t);if(Array.isArray(t))o=t.map(_e).join(" -> ");else if("object"==typeof t){let s=[];for(let c in t)if(t.hasOwnProperty(c)){let m=t[c];s.push(c+":"+("string"==typeof m?JSON.stringify(m):_e(m)))}o=`{${s.join(", ")}}`}return`${n}${i?"("+i+")":""}[${o}]: ${e.replace(Pn,"\n ")}`}("\n"+e.message,o,n,i),e.ngTokenPath=o,e[zt]=null,e}(c,t,"R3InjectorError",this.source)}throw c}finally{Me(s),cr(o)}}resolveInjectorInitializers(){const t=cr(this),n=Me(void 0);try{const i=this.get(uc.multi,Re,Y.Self);for(const o of i)o()}finally{cr(t),Me(n)}}toString(){const t=[],n=this.records;for(const i of n.keys())t.push(_e(i));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new Se(205,!1)}processProvider(t){let n=Ts(t=Te(t))?t:Te(t&&t.provide);const i=function C_(e){return hc(e)?ta(void 0,e.useValue):ta(zd(e),_l)}(t);if(Ts(t)||!0!==t.multi)this.records.get(n);else{let o=this.records.get(n);o||(o=ta(void 0,_l,!0),o.factory=()=>ur(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,i)}hydrate(t,n){return n.value===_l&&(n.value=v_,n.value=n.factory()),"object"==typeof n.value&&n.value&&function D_(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=Te(t.providedIn);return"string"==typeof n?"any"===n||this.scopes.has(n):this.injectorDefTypes.has(n)}}function gc(e){const t=hn(e),n=null!==t?t.factory:vi(e);if(null!==n)return n;if(e instanceof vn)throw new Se(204,!1);if(e instanceof Function)return function y_(e){const t=e.length;if(t>0)throw R(t,"?"),new Se(204,!1);const n=function on(e){const t=e&&(e[mn]||e[V]);if(t){const n=function Kt(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 Se(204,!1)}function zd(e,t,n){let i;if(Ts(e)){const o=Te(e);return vi(o)||gc(o)}if(hc(e))i=()=>Te(e.useValue);else if(function $d(e){return!(!e||!e.useFactory)}(e))i=()=>e.useFactory(...ur(e.deps||[]));else if(function jd(e){return!(!e||!e.useExisting)}(e))i=()=>un(Te(e.useExisting));else{const o=Te(e&&(e.useClass||e.provide));if(!function b_(e){return!!e.deps}(e))return vi(o)||gc(o);i=()=>new o(...ur(e.deps))}return i}function ta(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function w_(e){return!!e.\u0275providers}function mc(e,t){for(const n of e)Array.isArray(n)?mc(n,t):w_(n)?mc(n.\u0275providers,t):t(n)}class Wd{}class S_{resolveComponentFactory(t){throw function T_(e){const t=Error(`No component factory found for ${_e(e)}. Did you add it to @NgModule.entryComponents?`);return t.ngComponent=e,t}(t)}}let Va=(()=>{class e{}return e.NULL=new S_,e})();function A_(){return na(Un(),rt())}function na(e,t){return new Ha(Xn(e,t))}let Ha=(()=>{class e{constructor(n){this.nativeElement=n}}return e.__NG_ELEMENT_ID__=A_,e})();function O_(e){return e instanceof Ha?e.nativeElement:e}class Kd{}let I_=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>function x_(){const e=rt(),n=j(Un().index,e);return(kn(n)?n:e)[11]}(),e})(),F_=(()=>{class e{}return e.\u0275prov=_t({token:e,providedIn:"root",factory:()=>null}),e})();class Zd{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const P_=new Zd("14.1.2"),_c={};function Dc(e){return e.ngOriginalError}class Ua{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&&Dc(t);for(;n&&Dc(n);)n=Dc(n);return n||null}}const Ec=new Map;let z_=0;const Mc="__ngContext__";function Si(e,t){kn(t)?(e[Mc]=t[20],function Y_(e){Ec.set(e[20],e)}(t)):e[Mc]=t}function ja(e){const t=e[Mc];return"number"==typeof t?function th(e){return Ec.get(e)||null}(t):t||null}function Tc(e){const t=ja(e);return t?kn(t)?t:t.lView:null}const nv=(()=>(typeof requestAnimationFrame<"u"&&requestAnimationFrame||setTimeout).bind(it))();function xo(e){return e instanceof Function?e():e}var ao=(()=>((ao=ao||{})[ao.Important=1]="Important",ao[ao.DashCase=2]="DashCase",ao))();function Ac(e,t){return undefined(e,t)}function $a(e){const t=e[3];return Jn(t)?t[3]:t}function Oc(e){return ch(e[13])}function Ic(e){return ch(e[4])}function ch(e){for(;null!==e&&!Jn(e);)e=e[4];return e}function ra(e,t,n,i,o){if(null!=i){let s,c=!1;Jn(i)?s=i:kn(i)&&(c=!0,i=i[0]);const m=An(i);0===e&&null!==n?null==o?gh(t,n,m):As(t,n,m,o||null,!0):1===e&&null!==n?As(t,n,m,o||null,!0):2===e?function Dh(e,t,n){const i=yl(e,t);i&&function Cv(e,t,n,i){e.removeChild(t,n,i)}(e,i,t,n)}(t,m,c):3===e&&t.destroyNode(m),null!=s&&function Ev(e,t,n,i,o){const s=n[7];s!==An(n)&&ra(t,e,i,s,o);for(let m=10;m<n.length;m++){const C=n[m];Ga(C[1],C,e,t,i,s)}}(t,e,s,n,o)}}function Fc(e,t,n){return e.createElement(t,n)}function dh(e,t){const n=e[9],i=n.indexOf(t),o=t[3];512&t[2]&&(t[2]&=-513,fn(o,-1)),n.splice(i,1)}function Pc(e,t){if(e.length<=10)return;const n=10+t,i=e[n];if(i){const o=i[17];null!==o&&o!==e&&dh(o,i),t>0&&(e[n-1][4]=i[4]);const s=T(e,10+t);!function hv(e,t){Ga(e,t,t[11],2,null,null),t[0]=null,t[6]=null}(i[1],i);const c=s[19];null!==c&&c.detachView(s[1]),i[3]=null,i[4]=null,i[2]&=-65}return i}function hh(e,t){if(!(128&t[2])){const n=t[11];n.destroyNode&&Ga(e,t,n,3,null,null),function gv(e){let t=e[13];if(!t)return Rc(e[1],e);for(;t;){let n=null;if(kn(t))n=t[13];else{const i=t[10];i&&(n=i)}if(!n){for(;t&&!t[4]&&t!==e;)kn(t)&&Rc(t[1],t),t=t[3];null===t&&(t=e),kn(t)&&Rc(t[1],t),n=t&&t[4]}t=n}}(t)}}function Rc(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 i=0;i<n.length;i+=2){const o=t[n[i]];if(!(o instanceof Hr)){const s=n[i+1];if(Array.isArray(s))for(let c=0;c<s.length;c+=2){const m=o[s[c]],C=s[c+1];try{C.call(m)}finally{}}else try{s.call(o)}finally{}}}}(e,t),function vv(e,t){const n=e.cleanup,i=t[7];let o=-1;if(null!==n)for(let s=0;s<n.length-1;s+=2)if("string"==typeof n[s]){const c=n[s+1],m="function"==typeof c?c(t):An(t[c]),C=i[o=n[s+2]],I=n[s+3];"boolean"==typeof I?m.removeEventListener(n[s],C,I):I>=0?i[o=I]():i[o=-I].unsubscribe(),s+=2}else{const c=i[o=n[s+1]];n[s].call(c)}if(null!==i){for(let s=o+1;s<i.length;s++)(0,i[s])();t[7]=null}}(e,t),1===t[1].type&&t[11].destroy();const n=t[17];if(null!==n&&Jn(t[3])){n!==t[3]&&dh(n,t);const i=t[19];null!==i&&i.detachView(e)}!function K_(e){Ec.delete(e[20])}(t)}}function fh(e,t,n){return function ph(e,t,n){let i=t;for(;null!==i&&40&i.type;)i=(t=i).parent;if(null===i)return n[0];if(2&i.flags){const o=e.data[i.directiveStart].encapsulation;if(o===mt.None||o===mt.Emulated)return null}return Xn(i,n)}(e,t.parent,n)}function As(e,t,n,i,o){e.insertBefore(t,n,i,o)}function gh(e,t,n){e.appendChild(t,n)}function mh(e,t,n,i,o){null!==i?As(e,t,n,i,o):gh(e,t,n)}function yl(e,t){return e.parentNode(t)}function _h(e,t,n){return yh(e,t,n)}let yh=function vh(e,t,n){return 40&e.type?Xn(e,n):null};function Cl(e,t,n,i){const o=fh(e,i,t),s=t[11],m=_h(i.parent||t[6],i,t);if(null!=o)if(Array.isArray(n))for(let C=0;C<n.length;C++)mh(s,o,n[C],m,!1);else mh(s,o,n,m,!1)}function bl(e,t){if(null!==t){const n=t.type;if(3&n)return Xn(t,e);if(4&n)return Nc(-1,e[t.index]);if(8&n){const i=t.child;if(null!==i)return bl(e,i);{const o=e[t.index];return Jn(o)?Nc(-1,o):An(o)}}if(32&n)return Ac(t,e)()||An(e[t.index]);{const i=bh(e,t);return null!==i?Array.isArray(i)?i[0]:bl($a(e[16]),i):bl(e,t.next)}}return null}function bh(e,t){return null!==t?e[16][6].projection[t.projection]:null}function Nc(e,t){const n=10+e+1;if(n<t.length){const i=t[n],o=i[1].firstChild;if(null!==o)return bl(i,o)}return t[7]}function Lc(e,t,n,i,o,s,c){for(;null!=n;){const m=i[n.index],C=n.type;if(c&&0===t&&(m&&Si(An(m),i),n.flags|=4),64!=(64&n.flags))if(8&C)Lc(e,t,n.child,i,o,s,!1),ra(t,e,o,m,s);else if(32&C){const I=Ac(n,i);let k;for(;k=I();)ra(t,e,o,k,s);ra(t,e,o,m,s)}else 16&C?Eh(e,t,i,n,o,s):ra(t,e,o,m,s);n=c?n.projectionNext:n.next}}function Ga(e,t,n,i,o,s){Lc(n,i,e.firstChild,t,o,s,!1)}function Eh(e,t,n,i,o,s){const c=n[16],C=c[6].projection[i.projection];if(Array.isArray(C))for(let I=0;I<C.length;I++)ra(t,e,o,C[I],s);else Lc(e,t,C,c[3],o,s,!0)}function wh(e,t,n){e.setAttribute(t,"style",n)}function Bc(e,t,n){""===n?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function Mh(e,t,n){let i=e.length;for(;;){const o=e.indexOf(t,n);if(-1===o)return o;if(0===o||e.charCodeAt(o-1)<=32){const s=t.length;if(o+s===i||e.charCodeAt(o+s)<=32)return o}n=o+1}}const Th="ng-template";function Mv(e,t,n){let i=0;for(;i<e.length;){let o=e[i++];if(n&&"class"===o){if(o=e[i],-1!==Mh(o.toLowerCase(),t,0))return!0}else if(1===o){for(;i<e.length&&"string"==typeof(o=e[i++]);)if(o.toLowerCase()===t)return!0;return!1}}return!1}function Sh(e){return 4===e.type&&e.value!==Th}function Tv(e,t,n){return t===(4!==e.type||n?e.value:Th)}function Sv(e,t,n){let i=4;const o=e.attrs||[],s=function Iv(e){for(let t=0;t<e.length;t++)if(fs(e[t]))return t;return e.length}(o);let c=!1;for(let m=0;m<t.length;m++){const C=t[m];if("number"!=typeof C){if(!c)if(4&i){if(i=2|1&i,""!==C&&!Tv(e,C,n)||""===C&&1===t.length){if(zr(i))return!1;c=!0}}else{const I=8&i?C:t[++m];if(8&i&&null!==e.attrs){if(!Mv(e.attrs,I,n)){if(zr(i))return!1;c=!0}continue}const q=Av(8&i?"class":C,o,Sh(e),n);if(-1===q){if(zr(i))return!1;c=!0;continue}if(""!==I){let pe;pe=q>s?"":o[q+1].toLowerCase();const Ie=8&i?pe:null;if(Ie&&-1!==Mh(Ie,I,0)||2&i&&I!==pe){if(zr(i))return!1;c=!0}}}}else{if(!c&&!zr(i)&&!zr(C))return!1;if(c&&zr(C))continue;c=!1,i=C|1&i}}return zr(i)||c}function zr(e){return 0==(1&e)}function Av(e,t,n,i){if(null===t)return-1;let o=0;if(i||!n){let s=!1;for(;o<t.length;){const c=t[o];if(c===e)return o;if(3===c||6===c)s=!0;else{if(1===c||2===c){let m=t[++o];for(;"string"==typeof m;)m=t[++o];continue}if(4===c)break;if(0===c){o+=4;continue}}o+=s?1:2}return-1}return function xv(e,t){let n=e.indexOf(4);if(n>-1)for(n++;n<e.length;){const i=e[n];if("number"==typeof i)return-1;if(i===t)return n;n++}return-1}(t,e)}function Ah(e,t,n=!1){for(let i=0;i<t.length;i++)if(Sv(e,t[i],n))return!0;return!1}function Fv(e,t){e:for(let n=0;n<t.length;n++){const i=t[n];if(e.length===i.length){for(let o=0;o<e.length;o++)if(e[o]!==i[o])continue e;return!0}}return!1}function Oh(e,t){return e?":not("+t.trim()+")":t}function Pv(e){let t=e[0],n=1,i=2,o="",s=!1;for(;n<e.length;){let c=e[n];if("string"==typeof c)if(2&i){const m=e[++n];o+="["+c+(m.length>0?'="'+m+'"':"")+"]"}else 8&i?o+="."+c:4&i&&(o+=" "+c);else""!==o&&!zr(c)&&(t+=Oh(s,o),o=""),i=c,s=s||!zr(i);n++}return""!==o&&(t+=Oh(s,o)),t}const en={};function Ih(e){xh(Gt(),rt(),Yn()+e,!1)}function xh(e,t,n,i){if(!i)if(3==(3&t[2])){const s=e.preOrderCheckHooks;null!==s&&Go(t,s,n)}else{const s=e.preOrderHooks;null!==s&&yo(t,s,0,n)}Mi(n)}function kh(e,t=null,n=null,i){const o=Nh(e,t,n,i);return o.resolveInjectorInitializers(),o}function Nh(e,t=null,n=null,i,o=new Set){const s=[n||Re,g_(e)];return i=i||("object"==typeof e?void 0:_e(e)),new Gd(s,t||vl(),i||null,o)}let Os=(()=>{class e{static create(n,i){if(Array.isArray(n))return kh({name:""},i,n,"");{const o=n.name??"";return kh({name:o},n.parent,n.providers,o)}}}return e.THROW_IF_NOT_FOUND=Zt,e.NULL=new Vd,e.\u0275prov=_t({token:e,providedIn:"any",factory:()=>un(Ld)}),e.__NG_ELEMENT_ID__=-1,e})();function sa(e,t=Y.Default){const n=rt();return null===n?un(e,t):gs(Un(),n,Te(e),t)}function $h(){throw new Error("invalid")}function El(e,t){return e<<17|t<<2}function Wr(e){return e>>17&32767}function $c(e){return 2|e}function Fo(e){return(131068&e)>>2}function Gc(e,t){return-131069&e|t<<2}function zc(e){return 1|e}function ef(e,t){const n=e.contentQueries;if(null!==n)for(let i=0;i<n.length;i+=2){const o=n[i],s=n[i+1];if(-1!==s){const c=e.data[s];Ni(o),c.contentQueries(2,t[s],s)}}}function Tl(e,t,n,i,o,s,c,m,C,I,k){const q=t.blueprint.slice();return q[0]=o,q[2]=76|i,(null!==k||e&&1024&e[2])&&(q[2]|=1024),cn(q),q[3]=q[15]=e,q[8]=n,q[10]=c||e&&e[10],q[11]=m||e&&e[11],q[12]=C||e&&e[12]||null,q[9]=I||e&&e[9]||null,q[6]=s,q[20]=function W_(){return z_++}(),q[21]=k,q[16]=2==t.type?e[16]:q,q}function aa(e,t,n,i,o){let s=e.data[t];if(null===s)s=function eu(e,t,n,i,o){const s=as(),c=Ho(),C=e.data[t]=function my(e,t,n,i,o,s){return{type:n,index:i,insertBeforeIndex:null,injectorIndex:t?t.injectorIndex:-1,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,propertyBindings:null,flags:0,providerIndexes:0,value:o,attrs:s,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,c?s:s&&s.parent,n,t,i,o);return null===e.firstChild&&(e.firstChild=C),null!==s&&(c?null==s.child&&null!==C.parent&&(s.child=C):null===s.next&&(s.next=C)),C}(e,t,n,i,o),function rr(){return gt.lFrame.inI18n}()&&(s.flags|=64);else if(64&s.type){s.type=n,s.value=i,s.attrs=o;const c=function eo(){const e=gt.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}();s.injectorIndex=null===c?-1:c.injectorIndex}return ki(s,!0),s}function la(e,t,n,i){if(0===n)return-1;const o=t.length;for(let s=0;s<n;s++)t.push(i),e.blueprint.push(i),e.data.push(null);return o}function Sl(e,t,n){cs(t);try{const i=e.viewQuery;null!==i&&cu(1,i,n);const o=e.template;null!==o&&tf(e,t,o,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),e.staticContentQueries&&ef(e,t),e.staticViewQueries&&cu(2,e.viewQuery,n);const s=e.components;null!==s&&function hy(e,t){for(let n=0;n<t.length;n++)Fy(e,t[n])}(t,s)}catch(i){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),i}finally{t[2]&=-5,_o()}}function za(e,t,n,i){const o=t[2];if(128!=(128&o)){cs(t);try{cn(t),function On(e){return gt.lFrame.bindingIndex=e}(e.bindingStartIndex),null!==n&&tf(e,t,n,2,i);const c=3==(3&o);if(c){const I=e.preOrderCheckHooks;null!==I&&Go(t,I,null)}else{const I=e.preOrderHooks;null!==I&&yo(t,I,0,null),no(t,0)}if(function Iy(e){for(let t=Oc(e);null!==t;t=Ic(t)){if(!t[2])continue;const n=t[9];for(let i=0;i<n.length;i++){const o=n[i],s=o[3];0==(512&o[2])&&fn(s,1),o[2]|=512}}}(t),function Oy(e){for(let t=Oc(e);null!==t;t=Ic(t))for(let n=10;n<t.length;n++){const i=t[n],o=i[1];Ye(i)&&za(o,i,o.template,i[8])}}(t),null!==e.contentQueries&&ef(e,t),c){const I=e.contentCheckHooks;null!==I&&Go(t,I)}else{const I=e.contentHooks;null!==I&&yo(t,I,1),no(t,1)}!function uy(e,t){const n=e.hostBindingOpCodes;if(null!==n)try{for(let i=0;i<n.length;i++){const o=n[i];if(o<0)Mi(~o);else{const s=o,c=n[++i],m=n[++i];to(c,s),m(2,t[s])}}}finally{Mi(-1)}}(e,t);const m=e.components;null!==m&&function dy(e,t){for(let n=0;n<t.length;n++)xy(e,t[n])}(t,m);const C=e.viewQuery;if(null!==C&&cu(2,C,i),c){const I=e.viewCheckHooks;null!==I&&Go(t,I)}else{const I=e.viewHooks;null!==I&&yo(t,I,2),no(t,2)}!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),t[2]&=-41,512&t[2]&&(t[2]&=-513,fn(t[3],-1))}finally{_o()}}}function fy(e,t,n,i){const o=t[10],c=me(t);try{!c&&o.begin&&o.begin(),c&&Sl(e,t,i),za(e,t,n,i)}finally{!c&&o.end&&o.end()}}function tf(e,t,n,i,o){const s=Yn(),c=2&i;try{Mi(-1),c&&t.length>22&&xh(e,t,22,!1),n(i,o)}finally{Mi(s)}}function nf(e,t,n){if(xr(t)){const o=t.directiveEnd;for(let s=t.directiveStart;s<o;s++){const c=e.data[s];c.contentQueries&&c.contentQueries(1,n[s],s)}}}function tu(e,t,n){!si()||(function by(e,t,n,i){const o=n.directiveStart,s=n.directiveEnd;e.firstCreatePass||Mo(n,t),Si(i,t);const c=n.initialInputs;for(let m=o;m<s;m++){const C=e.data[m],I=ri(C);I&&Ty(t,n,C);const k=jr(t,e,m,n);Si(k,t),null!==c&&Sy(0,m-o,k,C,0,c),I&&(j(n.index,t)[8]=k)}}(e,t,n,Xn(n,t)),128==(128&n.flags)&&function Dy(e,t,n){const i=n.directiveStart,o=n.directiveEnd,s=n.index,c=function go(){return gt.lFrame.currentDirectiveIndex}();try{Mi(s);for(let m=i;m<o;m++){const C=e.data[m],I=t[m];ks(m),(null!==C.hostBindings||0!==C.hostVars||null!==C.hostAttrs)&&df(C,I)}}finally{Mi(-1),ks(c)}}(e,t,n))}function nu(e,t,n=Xn){const i=t.localNames;if(null!==i){let o=t.index+1;for(let s=0;s<i.length;s+=2){const c=i[s+1],m=-1===c?n(t,e):e[c];e[o++]=m}}}function rf(e){const t=e.tView;return null===t||t.incompleteFirstPass?e.tView=iu(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts):t}function iu(e,t,n,i,o,s,c,m,C,I){const k=22+i,q=k+o,pe=function py(e,t){const n=[];for(let i=0;i<t;i++)n.push(i<e?null:en);return n}(k,q),Ie="function"==typeof I?I():I;return pe[1]={type:e,blueprint:pe,template:n,queries:null,viewQuery:m,declTNode:t,data:pe.slice().fill(null,k),bindingStartIndex:k,expandoStartIndex:q,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 s?s():s,pipeRegistry:"function"==typeof c?c():c,firstChild:null,schemas:C,consts:Ie,incompleteFirstPass:!1}}function sf(e,t,n,i){const o=vf(t);null===n?o.push(i):(o.push(n),e.firstCreatePass&&yf(e).push(i,o.length-1))}function af(e,t,n){for(let i in e)if(e.hasOwnProperty(i)){const o=e[i];(n=null===n?{}:n).hasOwnProperty(i)?n[i].push(t,o):n[i]=[t,o]}return n}function lf(e,t){const i=t.directiveEnd,o=e.data,s=t.attrs,c=[];let m=null,C=null;for(let I=t.directiveStart;I<i;I++){const k=o[I],q=k.inputs,pe=null===s||Sh(t)?null:Ay(q,s);c.push(pe),m=af(q,I,m),C=af(k.outputs,I,C)}null!==m&&(m.hasOwnProperty("class")&&(t.flags|=16),m.hasOwnProperty("style")&&(t.flags|=32)),t.initialInputs=c,t.inputs=m,t.outputs=C}function hr(e,t,n,i,o,s,c,m){const C=Xn(t,n);let k,I=t.inputs;!m&&null!=I&&(k=I[i])?(uu(e,n,k,i,o),_i(t)&&cf(n,t.index)):3&t.type&&(i=function _y(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(i),o=null!=c?c(o,t.value||"",i):o,s.setProperty(C,i,o))}function cf(e,t){const n=j(t,e);16&n[2]||(n[2]|=32)}function ru(e,t,n,i){let o=!1;if(si()){const s=function Ey(e,t,n){const i=e.directiveRegistry;let o=null;if(i)for(let s=0;s<i.length;s++){const c=i[s];Ah(n,c.selectors,!1)&&(o||(o=[]),qo(Mo(n,t),e,c.type),ri(c)?(hf(e,n),o.unshift(c)):o.push(c))}return o}(e,t,n),c=null===i?null:{"":-1};if(null!==s){o=!0,ff(n,e.data.length,s.length);for(let k=0;k<s.length;k++){const q=s[k];q.providersResolver&&q.providersResolver(q)}let m=!1,C=!1,I=la(e,t,s.length,null);for(let k=0;k<s.length;k++){const q=s[k];n.mergedAttrs=Do(n.mergedAttrs,q.hostAttrs),pf(e,n,t,I,q),My(I,q,c),null!==q.contentQueries&&(n.flags|=8),(null!==q.hostBindings||null!==q.hostAttrs||0!==q.hostVars)&&(n.flags|=128);const pe=q.type.prototype;!m&&(pe.ngOnChanges||pe.ngOnInit||pe.ngDoCheck)&&((e.preOrderHooks||(e.preOrderHooks=[])).push(n.index),m=!0),!C&&(pe.ngOnChanges||pe.ngDoCheck)&&((e.preOrderCheckHooks||(e.preOrderCheckHooks=[])).push(n.index),C=!0),I++}lf(e,n)}c&&function wy(e,t,n){if(t){const i=e.localNames=[];for(let o=0;o<t.length;o+=2){const s=n[t[o+1]];if(null==s)throw new Se(-301,!1);i.push(t[o],s)}}}(n,i,c)}return n.mergedAttrs=Do(n.mergedAttrs,n.attrs),o}function uf(e,t,n,i,o,s){const c=s.hostBindings;if(c){let m=e.hostBindingOpCodes;null===m&&(m=e.hostBindingOpCodes=[]);const C=~t.index;(function Cy(e){let t=e.length;for(;t>0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(m)!=C&&m.push(C),m.push(i,o,c)}}function df(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function hf(e,t){t.flags|=2,(e.components||(e.components=[])).push(t.index)}function My(e,t,n){if(n){if(t.exportAs)for(let i=0;i<t.exportAs.length;i++)n[t.exportAs[i]]=e;ri(t)&&(n[""]=e)}}function ff(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function pf(e,t,n,i,o){e.data[i]=o;const s=o.factory||(o.factory=vi(o.type)),c=new Hr(s,ri(o),sa);e.blueprint[i]=c,n[i]=c,uf(e,t,0,i,la(e,n,o.hostVars,en),o)}function Ty(e,t,n){const i=Xn(t,e),o=rf(n),s=e[10],c=Al(e,Tl(e,o,null,n.onPush?32:16,i,t,s,s.createRenderer(i,n),null,null,null));e[t.index]=c}function lo(e,t,n,i,o,s){const c=Xn(e,t);!function ou(e,t,n,i,o,s,c){if(null==s)e.removeAttribute(t,o,n);else{const m=null==c?le(s):c(s,i||"",o);e.setAttribute(t,o,m,n)}}(t[11],c,s,e.value,n,i,o)}function Sy(e,t,n,i,o,s){const c=s[t];if(null!==c){const m=i.setInput;for(let C=0;C<c.length;){const I=c[C++],k=c[C++],q=c[C++];null!==m?i.setInput(n,q,I,k):n[k]=q}}}function Ay(e,t){let n=null,i=0;for(;i<t.length;){const o=t[i];if(0!==o)if(5!==o){if("number"==typeof o)break;e.hasOwnProperty(o)&&(null===n&&(n=[]),n.push(o,e[o],t[i+1])),i+=2}else i+=2;else i+=4}return n}function gf(e,t,n,i){return new Array(e,!0,!1,t,null,0,i,n,null,null)}function xy(e,t){const n=j(t,e);if(Ye(n)){const i=n[1];48&n[2]?za(i,n,i.template,n[8]):n[5]>0&&su(n)}}function su(e){for(let i=Oc(e);null!==i;i=Ic(i))for(let o=10;o<i.length;o++){const s=i[o];if(Ye(s))if(512&s[2]){const c=s[1];za(c,s,c.template,s[8])}else s[5]>0&&su(s)}const n=e[1].components;if(null!==n)for(let i=0;i<n.length;i++){const o=j(n[i],e);Ye(o)&&o[5]>0&&su(o)}}function Fy(e,t){const n=j(t,e),i=n[1];(function Py(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])})(i,n),Sl(i,n,n[8])}function Al(e,t){return e[13]?e[14][4]=t:e[13]=t,e[14]=t,t}function au(e){for(;e;){e[2]|=32;const t=$a(e);if(pr(e)&&!t)return e;e=t}return null}function _f(e){!function mf(e){for(let t=0;t<e.components.length;t++){const n=e.components[t],i=Tc(n);if(null!==i){const o=i[1];fy(o,i,o.template,n)}}}(e[8])}function cu(e,t,n){Ni(0),t(e,n)}const ky=(()=>Promise.resolve(null))();function vf(e){return e[7]||(e[7]=[])}function yf(e){return e.cleanup||(e.cleanup=[])}function Cf(e,t,n){return(null===e||ri(e))&&(n=function jn(e){for(;Array.isArray(e);){if("object"==typeof e[1])return e;e=e[0]}return null}(n[t.index])),n[11]}function bf(e,t){const n=e[9],i=n?n.get(Ua,null):null;i&&i.handleError(t)}function uu(e,t,n,i,o){for(let s=0;s<n.length;){const c=n[s++],m=n[s++],C=t[c],I=e.data[c];null!==I.setInput?I.setInput(C,o,i,m):C[m]=o}}function Po(e,t,n){const i=oi(t,e);!function uh(e,t,n){e.setValue(t,n)}(e[11],i,n)}function Ol(e,t,n){let i=n?e.styles:null,o=n?e.classes:null,s=0;if(null!==t)for(let c=0;c<t.length;c++){const m=t[c];"number"==typeof m?s=m:1==s?o=Ue(o,m):2==s&&(i=Ue(i,m+": "+t[++c]+";"))}n?e.styles=i:e.stylesWithoutHost=i,n?e.classes=o:e.classesWithoutHost=o}function Il(e,t,n,i,o=!1){for(;null!==n;){const s=t[n.index];if(null!==s&&i.push(An(s)),Jn(s))for(let m=10;m<s.length;m++){const C=s[m],I=C[1].firstChild;null!==I&&Il(C[1],C,I,i)}const c=n.type;if(8&c)Il(e,t,n.child,i);else if(32&c){const m=Ac(n,t);let C;for(;C=m();)i.push(C)}else if(16&c){const m=bh(t,n);if(Array.isArray(m))i.push(...m);else{const C=$a(t[16]);Il(C[1],C,m,i,!0)}}n=o?n.projectionNext:n.next}return i}class Wa{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(Jn(t)){const n=t[8],i=n?n.indexOf(this):-1;i>-1&&(Pc(t,i),T(n,i))}this._attachedToViewContainer=!1}hh(this._lView[1],this._lView)}onDestroy(t){sf(this._lView[1],this._lView,null,t)}markForCheck(){au(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-65}reattach(){this._lView[2]|=64}detectChanges(){!function lu(e,t,n){const i=t[10];i.begin&&i.begin();try{za(e,t,e.template,n)}catch(o){throw bf(t,o),o}finally{i.end&&i.end()}}(this._lView[1],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new Se(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function pv(e,t){Ga(e,t,t[11],2,null,null)}(this._lView[1],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new Se(902,!1);this._appRef=t}}class Ny extends Wa{constructor(t){super(t),this._view=t}detectChanges(){_f(this._view)}checkNoChanges(){}get context(){return null}}class du extends Va{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const n=et(t);return new Ya(n,this.ngModule)}}function Df(e){const t=[];for(let n in e)e.hasOwnProperty(n)&&t.push({propName:e[n],templateName:n});return t}class By{constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,i){const o=this.injector.get(t,_c,i);return o!==_c||n===_c?o:this.parentInjector.get(t,n,i)}}class Ya extends Wd{constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=function Rv(e){return e.map(Pv).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!n}get inputs(){return Df(this.componentDef.inputs)}get outputs(){return Df(this.componentDef.outputs)}create(t,n,i,o){let s=(o=o||this.ngModule)instanceof Ss?o:o?.injector;s&&null!==this.componentDef.getStandaloneInjector&&(s=this.componentDef.getStandaloneInjector(s)||s);const c=s?new By(t,s):t,m=c.get(Kd,null);if(null===m)throw new Se(407,!1);const C=c.get(F_,null),I=m.createRenderer(null,this.componentDef),k=this.componentDef.selectors[0][0]||"div",q=i?function gy(e,t,n){return e.selectRootElement(t,n===mt.ShadowDom)}(I,i,this.componentDef.encapsulation):Fc(m.createRenderer(null,this.componentDef),k,function Ly(e){const t=e.toLowerCase();return"svg"===t?"svg":"math"===t?"math":null}(k)),pe=this.componentDef.onPush?288:272,Ie=function $y(e,t){return{components:[],scheduler:e||nv,clean:ky,playerHandler:t||null,flags:0}}(),nt=iu(0,null,null,1,0,null,null,null,null,null),ct=Tl(null,nt,Ie,pe,null,null,m,I,C,c,null);let bt,Ot;cs(ct);try{const Lt=function Uy(e,t,n,i,o,s){const c=n[1];n[22]=e;const C=aa(c,22,2,"#host",null),I=C.mergedAttrs=t.hostAttrs;null!==I&&(Ol(C,I,!0),null!==e&&(zo(o,e,I),null!==C.classes&&Bc(o,e,C.classes),null!==C.styles&&wh(o,e,C.styles)));const k=i.createRenderer(e,t),q=Tl(n,rf(t),null,t.onPush?32:16,n[22],C,i,k,s||null,null,null);return c.firstCreatePass&&(qo(Mo(C,n),c,t.type),hf(c,C),ff(C,n.length,1)),Al(n,q),n[22]=q}(q,this.componentDef,ct,m,I);if(q)if(i)zo(I,q,["ng-version",P_.full]);else{const{attrs:lt,classes:Ut}=function kv(e){const t=[],n=[];let i=1,o=2;for(;i<e.length;){let s=e[i];if("string"==typeof s)2===o?""!==s&&t.push(s,e[++i]):8===o&&n.push(s);else{if(!zr(o))break;o=s}i++}return{attrs:t,classes:n}}(this.componentDef.selectors[0]);lt&&zo(I,q,lt),Ut&&Ut.length>0&&Bc(I,q,Ut.join(" "))}if(Ot=L(nt,22),void 0!==n){const lt=Ot.projection=[];for(let Ut=0;Ut<this.ngContentSelectors.length;Ut++){const dn=n[Ut];lt.push(null!=dn?Array.from(dn):null)}}bt=function jy(e,t,n,i,o){const s=n[1],c=function yy(e,t,n){const i=Un();e.firstCreatePass&&(n.providersResolver&&n.providersResolver(n),pf(e,i,t,la(e,t,1,null),n),lf(e,i));const o=jr(t,e,i.directiveStart,i);Si(o,t);const s=Xn(i,t);return s&&Si(s,t),o}(s,n,t);if(i.components.push(c),e[8]=c,null!==o)for(const C of o)C(c,t);if(t.contentQueries){const C=Un();t.contentQueries(1,c,C.directiveStart)}const m=Un();return!s.firstCreatePass||null===t.hostBindings&&null===t.hostAttrs||(Mi(m.index),uf(n[1],m,0,m.directiveStart,m.directiveEnd,t),df(t,c)),c}(Lt,this.componentDef,ct,Ie,[Gy]),Sl(nt,ct,null)}finally{_o()}return new Hy(this.componentType,bt,na(Ot,ct),ct,Ot)}}class Hy extends class M_{}{constructor(t,n,i,o,s){super(),this.location=i,this._rootLView=o,this._tNode=s,this.instance=n,this.hostView=this.changeDetectorRef=new Ny(o),this.componentType=t}setInput(t,n){const i=this._tNode.inputs;let o;if(null!==i&&(o=i[t])){const s=this._rootLView;uu(s[1],s,o,t,n),cf(s,this._tNode.index)}}get injector(){return new Tr(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}}function Gy(){const e=Un();sr(rt()[1],e)}function hu(e){let t=function Ef(e){return Object.getPrototypeOf(e.prototype).constructor}(e.type),n=!0;const i=[e];for(;t;){let o;if(ri(e))o=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new Se(903,!1);o=t.\u0275dir}if(o){if(n){i.push(o);const c=e;c.inputs=fu(e.inputs),c.declaredInputs=fu(e.declaredInputs),c.outputs=fu(e.outputs);const m=o.hostBindings;m&&Ky(e,m);const C=o.viewQuery,I=o.contentQueries;if(C&&Wy(e,C),I&&Yy(e,I),he(e.inputs,o.inputs),he(e.declaredInputs,o.declaredInputs),he(e.outputs,o.outputs),ri(o)&&o.data.animation){const k=e.data;k.animation=(k.animation||[]).concat(o.data.animation)}}const s=o.features;if(s)for(let c=0;c<s.length;c++){const m=s[c];m&&m.ngInherit&&m(e),m===hu&&(n=!1)}}t=Object.getPrototypeOf(t)}!function zy(e){let t=0,n=null;for(let i=e.length-1;i>=0;i--){const o=e[i];o.hostVars=t+=o.hostVars,o.hostAttrs=Do(o.hostAttrs,n=Do(n,o.hostAttrs))}}(i)}function fu(e){return e===kt?{}:e===Re?[]:e}function Wy(e,t){const n=e.viewQuery;e.viewQuery=n?(i,o)=>{t(i,o),n(i,o)}:t}function Yy(e,t){const n=e.contentQueries;e.contentQueries=n?(i,o,s)=>{t(i,o,s),n(i,o,s)}:t}function Ky(e,t){const n=e.hostBindings;e.hostBindings=n?(i,o)=>{t(i,o),n(i,o)}:t}let xl=null;function Is(){if(!xl){const e=it.Symbol;if(e&&e.iterator)xl=e.iterator;else{const t=Object.getOwnPropertyNames(Map.prototype);for(let n=0;n<t.length;++n){const i=t[n];"entries"!==i&&"size"!==i&&Map.prototype[i]===Map.prototype.entries&&(xl=i)}}}return xl}function Ka(e){return!!pu(e)&&(Array.isArray(e)||!(e instanceof Map)&&Is()in e)}function pu(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function co(e,t,n){return e[t]=n}function Ai(e,t,n){return!Object.is(e[t],n)&&(e[t]=n,!0)}function xs(e,t,n,i){const o=Ai(e,t,n);return Ai(e,t+1,i)||o}function gu(e,t,n,i){const o=rt();return Ai(o,Wn(),t)&&(Gt(),lo(Fn(),o,e,t,n,i)),gu}function ua(e,t,n,i){return Ai(e,Wn(),n)?t+le(n)+i:en}function da(e,t,n,i,o,s){const m=xs(e,function At(){return gt.lFrame.bindingIndex}(),n,o);return ei(2),m?t+le(n)+i+le(o)+s:en}function Pf(e,t,n,i,o,s,c,m){const C=rt(),I=Gt(),k=e+22,q=I.firstCreatePass?function r0(e,t,n,i,o,s,c,m,C){const I=t.consts,k=aa(t,e,4,c||null,Mt(I,m));ru(t,n,k,Mt(I,C)),sr(t,k);const q=k.tViews=iu(2,k,i,o,s,t.directiveRegistry,t.pipeRegistry,null,t.schemas,I);return null!==t.queries&&(t.queries.template(t,k),q.queries=t.queries.embeddedTView(k)),k}(k,I,C,t,n,i,o,s,c):I.data[k];ki(q,!1);const pe=C[11].createComment("");Cl(I,C,pe,q),Si(pe,C),Al(C,C[k]=gf(pe,C,pe,q)),Ei(q)&&tu(I,C,q),null!=c&&nu(C,q,m)}function Rf(e){return S(function M(){return gt.lFrame.contextLView}(),22+e)}function mu(e,t,n){const i=rt();return Ai(i,Wn(),t)&&hr(Gt(),Fn(),i,e,t,i[11],n,!1),mu}function _u(e,t,n,i,o){const c=o?"class":"style";uu(e,n,t.inputs[c],c,i)}function Pl(e,t,n,i){const o=rt(),s=Gt(),c=22+e,m=o[11],C=o[c]=Fc(m,t,function Vr(){return gt.lFrame.currentNamespace}()),I=s.firstCreatePass?function s0(e,t,n,i,o,s,c){const m=t.consts,I=aa(t,e,2,o,Mt(m,s));return ru(t,n,I,Mt(m,c)),null!==I.attrs&&Ol(I,I.attrs,!1),null!==I.mergedAttrs&&Ol(I,I.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,I),I}(c,s,o,0,t,n,i):s.data[c];ki(I,!0);const k=I.mergedAttrs;null!==k&&zo(m,C,k);const q=I.classes;null!==q&&Bc(m,C,q);const pe=I.styles;return null!==pe&&wh(m,C,pe),64!=(64&I.flags)&&Cl(s,o,C,I),0===function Cn(){return gt.lFrame.elementDepthCount}()&&Si(C,o),function Nn(){gt.lFrame.elementDepthCount++}(),Ei(I)&&(tu(s,o,I),nf(s,I,o)),null!==i&&nu(o,I),Pl}function Rl(){let e=Un();Ho()?Br():(e=e.parent,ki(e,!1));const t=e;!function Pi(){gt.lFrame.elementDepthCount--}();const n=Gt();return n.firstCreatePass&&(sr(n,e),xr(e)&&n.queries.elementEnd(e)),null!=t.classesWithoutHost&&function Hs(e){return 0!=(16&e.flags)}(t)&&_u(n,t,rt(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function io(e){return 0!=(32&e.flags)}(t)&&_u(n,t,rt(),t.stylesWithoutHost,!1),Rl}function vu(e,t,n,i){return Pl(e,t,n,i),Rl(),vu}function kl(e,t,n){const i=rt(),o=Gt(),s=e+22,c=o.firstCreatePass?function a0(e,t,n,i,o){const s=t.consts,c=Mt(s,i),m=aa(t,e,8,"ng-container",c);return null!==c&&Ol(m,c,!0),ru(t,n,m,Mt(s,o)),null!==t.queries&&t.queries.elementStart(t,m),m}(s,o,i,t,n):o.data[s];ki(c,!0);const m=i[s]=i[11].createComment("");return Cl(o,i,m,c),Si(m,i),Ei(c)&&(tu(o,i,c),nf(o,c,i)),null!=n&&nu(i,c),kl}function Nl(){let e=Un();const t=Gt();return Ho()?Br():(e=e.parent,ki(e,!1)),t.firstCreatePass&&(sr(t,e),xr(e)&&t.queries.elementEnd(e)),Nl}function yu(e,t,n){return kl(e,t,n),Nl(),yu}function kf(){return rt()}function Cu(e){return!!e&&"function"==typeof e.then}function Nf(e){return!!e&&"function"==typeof e.subscribe}const Lf=Nf;function bu(e,t,n,i){const o=rt(),s=Gt(),c=Un();return Bf(s,o,o[11],c,e,t,0,i),bu}function Du(e,t){const n=Un(),i=rt(),o=Gt();return Bf(o,i,Cf(Uo(o.data),n,i),n,e,t),Du}function Bf(e,t,n,i,o,s,c,m){const C=Ei(i),k=e.firstCreatePass&&yf(e),q=t[8],pe=vf(t);let Ie=!0;if(3&i.type||m){const bt=Xn(i,t),Ot=m?m(bt):bt,Lt=pe.length,lt=m?dn=>m(An(dn[i.index])):i.index;let Ut=null;if(!m&&C&&(Ut=function l0(e,t,n,i){const o=e.cleanup;if(null!=o)for(let s=0;s<o.length-1;s+=2){const c=o[s];if(c===n&&o[s+1]===i){const m=t[7],C=o[s+2];return m.length>C?m[C]:null}"string"==typeof c&&(s+=2)}return null}(e,t,o,i.index)),null!==Ut)(Ut.__ngLastListenerFn__||Ut).__ngNextListenerFn__=s,Ut.__ngLastListenerFn__=s,Ie=!1;else{s=Hf(i,t,q,s,!1);const dn=n.listen(Ot,o,s);pe.push(s,dn),k&&k.push(o,lt,Lt,Lt+1)}}else s=Hf(i,t,q,s,!1);const nt=i.outputs;let ct;if(Ie&&null!==nt&&(ct=nt[o])){const bt=ct.length;if(bt)for(let Ot=0;Ot<bt;Ot+=2){const Bn=t[ct[Ot]][ct[Ot+1]].subscribe(s),Rs=pe.length;pe.push(s,Bn),k&&k.push(o,i.index,Rs,-(Rs+1))}}}function Vf(e,t,n,i){try{return!1!==n(i)}catch(o){return bf(e,o),!1}}function Hf(e,t,n,i,o){return function s(c){if(c===Function)return i;au(2&e.flags?j(e.index,t):t);let C=Vf(t,0,i,c),I=s.__ngNextListenerFn__;for(;I;)C=Vf(t,0,I,c)&&C,I=I.__ngNextListenerFn__;return o&&!1===C&&(c.preventDefault(),c.returnValue=!1),C}}function Uf(e=1){return function $o(e){return(gt.lFrame.contextLView=function vo(e,t){for(;e>0;)t=t[15],e--;return t}(e,gt.lFrame.contextLView))[8]}(e)}function c0(e,t){let n=null;const i=function Ov(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 o=0;o<t.length;o++){const s=t[o];if("*"!==s){if(null===i?Ah(e,s,!0):Fv(i,s))return o}else n=o}return n}function jf(e){const t=rt()[16][6];if(!t.projection){const i=t.projection=R(e?e.length:1,null),o=i.slice();let s=t.child;for(;null!==s;){const c=e?c0(s,e):0;null!==c&&(o[c]?o[c].projectionNext=s:i[c]=s,o[c]=s),s=s.next}}}function $f(e,t=0,n){const i=rt(),o=Gt(),s=aa(o,22+e,16,null,n||null);null===s.projection&&(s.projection=t),Br(),64!=(64&s.flags)&&function Dv(e,t,n){Eh(t[11],0,t,n,fh(e,n,t),_h(n.parent||t[6],n,t))}(o,i,s)}function Eu(e,t,n){return Ll(e,"",t,"",n),Eu}function Ll(e,t,n,i,o){const s=rt(),c=ua(s,t,n,i);return c!==en&&hr(Gt(),Fn(),s,e,c,s[11],o,!1),Ll}function Jf(e,t,n,i,o){const s=e[n+1],c=null===t;let m=i?Wr(s):Fo(s),C=!1;for(;0!==m&&(!1===C||c);){const k=e[m+1];h0(e[m],t)&&(C=!0,e[m+1]=i?zc(k):$c(k)),m=i?Wr(k):Fo(k)}C&&(e[n+1]=i?$c(s):zc(s))}function h0(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&l(e,t)>=0}const ui={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Xf(e){return e.substring(ui.key,ui.keyEnd)}function ep(e,t){const n=ui.textEnd;return n===t?-1:(t=ui.keyEnd=function m0(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}(e,ui.key=t,n),va(e,t,n))}function va(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function wu(e,t,n){return Yr(e,t,n,!1),wu}function Mu(e,t){return Yr(e,t,null,!0),Mu}function op(e){Kr(Jt,ho,e,!0)}function ho(e,t){for(let n=function p0(e){return function np(e){ui.key=0,ui.keyEnd=0,ui.value=0,ui.valueEnd=0,ui.textEnd=e.length}(e),ep(e,va(e,0,ui.textEnd))}(t);n>=0;n=ep(t,n))Jt(e,Xf(t),!0)}function Yr(e,t,n,i){const o=rt(),s=Gt(),c=ei(2);s.firstUpdatePass&&ap(s,e,c,i),t!==en&&Ai(o,c,t)&&cp(s,s.data[Yn()],o,o[11],e,o[c+1]=function T0(e,t){return null==e||("string"==typeof t?e+=t:"object"==typeof e&&(e=_e(Io(e)))),e}(t,n),i,c)}function Kr(e,t,n,i){const o=Gt(),s=ei(2);o.firstUpdatePass&&ap(o,null,s,i);const c=rt();if(n!==en&&Ai(c,s,n)){const m=o.data[Yn()];if(dp(m,i)&&!sp(o,s)){let C=i?m.classesWithoutHost:m.stylesWithoutHost;null!==C&&(n=Ue(C,n||"")),_u(o,m,c,n,i)}else!function M0(e,t,n,i,o,s,c,m){o===en&&(o=Re);let C=0,I=0,k=0<o.length?o[0]:null,q=0<s.length?s[0]:null;for(;null!==k||null!==q;){const pe=C<o.length?o[C+1]:void 0,Ie=I<s.length?s[I+1]:void 0;let ct,nt=null;k===q?(C+=2,I+=2,pe!==Ie&&(nt=q,ct=Ie)):null===q||null!==k&&k<q?(C+=2,nt=k):(I+=2,nt=q,ct=Ie),null!==nt&&cp(e,t,n,i,nt,ct,c,m),k=C<o.length?o[C]:null,q=I<s.length?s[I]:null}}(o,m,c,c[11],c[s+1],c[s+1]=function w0(e,t,n){if(null==n||""===n)return Re;const i=[],o=Io(n);if(Array.isArray(o))for(let s=0;s<o.length;s++)e(i,o[s],!0);else if("object"==typeof o)for(const s in o)o.hasOwnProperty(s)&&e(i,s,o[s]);else"string"==typeof o&&t(i,o);return i}(e,t,n),i,s)}}function sp(e,t){return t>=e.expandoStartIndex}function ap(e,t,n,i){const o=e.data;if(null===o[n+1]){const s=o[Yn()],c=sp(e,n);dp(s,i)&&null===t&&!c&&(t=!1),t=function C0(e,t,n,i){const o=Uo(e);let s=i?t.residualClasses:t.residualStyles;if(null===o)0===(i?t.classBindings:t.styleBindings)&&(n=Qa(n=Tu(null,e,t,n,i),t.attrs,i),s=null);else{const c=t.directiveStylingLast;if(-1===c||e[c]!==o)if(n=Tu(o,e,t,n,i),null===s){let C=function b0(e,t,n){const i=n?t.classBindings:t.styleBindings;if(0!==Fo(i))return e[Wr(i)]}(e,t,i);void 0!==C&&Array.isArray(C)&&(C=Tu(null,e,t,C[1],i),C=Qa(C,t.attrs,i),function D0(e,t,n,i){e[Wr(n?t.classBindings:t.styleBindings)]=i}(e,t,i,C))}else s=function E0(e,t,n){let i;const o=t.directiveEnd;for(let s=1+t.directiveStylingLast;s<o;s++)i=Qa(i,e[s].hostAttrs,n);return Qa(i,t.attrs,n)}(e,t,i)}return void 0!==s&&(i?t.residualClasses=s:t.residualStyles=s),n}(o,s,t,i),function u0(e,t,n,i,o,s){let c=s?t.classBindings:t.styleBindings,m=Wr(c),C=Fo(c);e[i]=n;let k,I=!1;if(Array.isArray(n)){const q=n;k=q[1],(null===k||l(q,k)>0)&&(I=!0)}else k=n;if(o)if(0!==C){const pe=Wr(e[m+1]);e[i+1]=El(pe,m),0!==pe&&(e[pe+1]=Gc(e[pe+1],i)),e[m+1]=function ey(e,t){return 131071&e|t<<17}(e[m+1],i)}else e[i+1]=El(m,0),0!==m&&(e[m+1]=Gc(e[m+1],i)),m=i;else e[i+1]=El(C,0),0===m?m=i:e[C+1]=Gc(e[C+1],i),C=i;I&&(e[i+1]=$c(e[i+1])),Jf(e,k,i,!0),Jf(e,k,i,!1),function d0(e,t,n,i,o){const s=o?e.residualClasses:e.residualStyles;null!=s&&"string"==typeof t&&l(s,t)>=0&&(n[i+1]=zc(n[i+1]))}(t,k,e,i,s),c=El(m,C),s?t.classBindings=c:t.styleBindings=c}(o,s,t,n,c,i)}}function Tu(e,t,n,i,o){let s=null;const c=n.directiveEnd;let m=n.directiveStylingLast;for(-1===m?m=n.directiveStart:m++;m<c&&(s=t[m],i=Qa(i,s.hostAttrs,o),s!==e);)m++;return null!==e&&(n.directiveStylingLast=m),i}function Qa(e,t,n){const i=n?1:2;let o=-1;if(null!==t)for(let s=0;s<t.length;s++){const c=t[s];"number"==typeof c?o=c:o===i&&(Array.isArray(e)||(e=void 0===e?[]:["",e]),Jt(e,c,!!n||t[++s]))}return void 0===e?null:e}function cp(e,t,n,i,o,s,c,m){if(!(3&t.type))return;const C=e.data,I=C[m+1];Bl(function Wh(e){return 1==(1&e)}(I)?up(C,t,n,o,Fo(I),c):void 0)||(Bl(s)||function zh(e){return 2==(2&e)}(I)&&(s=up(C,null,n,o,m,c)),function wv(e,t,n,i,o){if(t)o?e.addClass(n,i):e.removeClass(n,i);else{let s=-1===i.indexOf("-")?void 0:ao.DashCase;null==o?e.removeStyle(n,i,s):("string"==typeof o&&o.endsWith("!important")&&(o=o.slice(0,-10),s|=ao.Important),e.setStyle(n,i,o,s))}}(i,c,oi(Yn(),n),o,s))}function up(e,t,n,i,o,s){const c=null===t;let m;for(;o>0;){const C=e[o],I=Array.isArray(C),k=I?C[1]:C,q=null===k;let pe=n[o+1];pe===en&&(pe=q?Re:void 0);let Ie=q?y(pe,i):k===i?pe:void 0;if(I&&!Bl(Ie)&&(Ie=y(C,i)),Bl(Ie)&&(m=Ie,c))return m;const nt=e[o+1];o=c?Wr(nt):Fo(nt)}if(null!==t){let C=s?t.residualClasses:t.residualStyles;null!=C&&(m=y(C,i))}return m}function Bl(e){return void 0!==e}function dp(e,t){return 0!=(e.flags&(t?16:32))}function hp(e,t=""){const n=rt(),i=Gt(),o=e+22,s=i.firstCreatePass?aa(i,o,1,t,null):i.data[o],c=n[o]=function xc(e,t){return e.createText(t)}(n[11],t);Cl(i,n,c,s),ki(s,!1)}function Su(e){return Vl("",e,""),Su}function Vl(e,t,n){const i=rt(),o=ua(i,e,t,n);return o!==en&&Po(i,Yn(),o),Vl}function Au(e,t,n,i,o){const s=rt(),c=da(s,e,t,n,i,o);return c!==en&&Po(s,Yn(),c),Au}function Cp(e,t,n){Kr(Jt,ho,ua(rt(),e,t,n),!0)}function Ou(e,t,n){const i=rt();return Ai(i,Wn(),t)&&hr(Gt(),Fn(),i,e,t,i[11],n,!0),Ou}function Iu(e,t,n){const i=rt();if(Ai(i,Wn(),t)){const s=Gt(),c=Fn();hr(s,c,i,e,t,Cf(Uo(s.data),c,i),n,!0)}return Iu}const Fs=void 0;var z0=["en",[["a","p"],["AM","PM"],Fs],[["AM","PM"],Fs,Fs],[["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"]],Fs,[["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"]],Fs,[["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}",Fs,"{1} 'at' {0}",Fs],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function G0(e){const n=Math.floor(Math.abs(e)),i=e.toString().replace(/^[^.]*\.?/,"").length;return 1===n&&0===i?1:5}];let ya={};function xu(e){const t=function W0(e){return e.toLowerCase().replace(/_/g,"-")}(e);let n=xp(t);if(n)return n;const i=t.split("-")[0];if(n=xp(i),n)return n;if("en"===i)return z0;throw new Se(701,!1)}function Ip(e){return xu(e)[$t.PluralCase]}function xp(e){return e in ya||(ya[e]=it.ng&&it.ng.common&&it.ng.common.locales&&it.ng.common.locales[e]),ya[e]}var $t=(()=>(($t=$t||{})[$t.LocaleId=0]="LocaleId",$t[$t.DayPeriodsFormat=1]="DayPeriodsFormat",$t[$t.DayPeriodsStandalone=2]="DayPeriodsStandalone",$t[$t.DaysFormat=3]="DaysFormat",$t[$t.DaysStandalone=4]="DaysStandalone",$t[$t.MonthsFormat=5]="MonthsFormat",$t[$t.MonthsStandalone=6]="MonthsStandalone",$t[$t.Eras=7]="Eras",$t[$t.FirstDayOfWeek=8]="FirstDayOfWeek",$t[$t.WeekendRange=9]="WeekendRange",$t[$t.DateFormat=10]="DateFormat",$t[$t.TimeFormat=11]="TimeFormat",$t[$t.DateTimeFormat=12]="DateTimeFormat",$t[$t.NumberSymbols=13]="NumberSymbols",$t[$t.NumberFormats=14]="NumberFormats",$t[$t.CurrencyCode=15]="CurrencyCode",$t[$t.CurrencySymbol=16]="CurrencySymbol",$t[$t.CurrencyName=17]="CurrencyName",$t[$t.Currencies=18]="Currencies",$t[$t.Directionality=19]="Directionality",$t[$t.PluralCase=20]="PluralCase",$t[$t.ExtraData=21]="ExtraData",$t))();const Ca="en-US";let Fp=Ca;function Ru(e,t,n,i,o){if(e=Te(e),Array.isArray(e))for(let s=0;s<e.length;s++)Ru(e[s],t,n,i,o);else{const s=Gt(),c=rt();let m=Ts(e)?e:Te(e.provide),C=zd(e);const I=Un(),k=1048575&I.providerIndexes,q=I.directiveStart,pe=I.providerIndexes>>20;if(Ts(e)||!e.multi){const Ie=new Hr(C,o,sa),nt=Nu(m,t,o?k:k+pe,q);-1===nt?(qo(Mo(I,c),s,m),ku(s,e,t.length),t.push(m),I.directiveStart++,I.directiveEnd++,o&&(I.providerIndexes+=1048576),n.push(Ie),c.push(Ie)):(n[nt]=Ie,c[nt]=Ie)}else{const Ie=Nu(m,t,k+pe,q),nt=Nu(m,t,k,k+pe),ct=Ie>=0&&n[Ie],bt=nt>=0&&n[nt];if(o&&!bt||!o&&!ct){qo(Mo(I,c),s,m);const Ot=function $C(e,t,n,i,o){const s=new Hr(e,n,sa);return s.multi=[],s.index=t,s.componentProviders=0,ig(s,o,i&&!n),s}(o?jC:UC,n.length,o,i,C);!o&&bt&&(n[nt].providerFactory=Ot),ku(s,e,t.length,0),t.push(m),I.directiveStart++,I.directiveEnd++,o&&(I.providerIndexes+=1048576),n.push(Ot),c.push(Ot)}else ku(s,e,Ie>-1?Ie:nt,ig(n[o?nt:Ie],C,!o&&i));!o&&i&&bt&&n[nt].componentProviders++}}}function ku(e,t,n,i){const o=Ts(t),s=function __(e){return!!e.useClass}(t);if(o||s){const C=(s?Te(t.useClass):t).prototype.ngOnDestroy;if(C){const I=e.destroyHooks||(e.destroyHooks=[]);if(!o&&t.multi){const k=I.indexOf(n);-1===k?I.push(n,[i,C]):I[k+1].push(i,C)}else I.push(n,C)}}}function ig(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function Nu(e,t,n,i){for(let o=n;o<i;o++)if(t[o]===e)return o;return-1}function UC(e,t,n,i){return Lu(this.multi,[])}function jC(e,t,n,i){const o=this.multi;let s;if(this.providerFactory){const c=this.providerFactory.componentProviders,m=jr(n,n[1],this.providerFactory.index,i);s=m.slice(0,c),Lu(o,s);for(let C=c;C<m.length;C++)s.push(m[C])}else s=[],Lu(o,s);return s}function Lu(e,t){for(let n=0;n<e.length;n++)t.push((0,e[n])());return t}function rg(e,t=[]){return n=>{n.providersResolver=(i,o)=>function HC(e,t,n){const i=Gt();if(i.firstCreatePass){const o=ri(e);Ru(n,i.data,i.blueprint,o,!0),Ru(t,i.data,i.blueprint,o,!1)}}(i,o?o(e):e,t)}}class Da{}class og{}function GC(e,t){return new sg(e,t??null)}class sg extends Da{constructor(t,n){super(),this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new du(this);const i=p(t);this._bootstrapComponents=xo(i.bootstrap),this._r3Injector=Nh(t,n,[{provide:Da,useValue:this},{provide:Va,useValue:this.componentFactoryResolver}],_e(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 Bu extends og{constructor(t){super(),this.moduleType=t}create(t){return new sg(this.moduleType,t)}}class zC extends Da{constructor(t,n,i){super(),this.componentFactoryResolver=new du(this),this.instance=null;const o=new Gd([...t,{provide:Da,useValue:this},{provide:Va,useValue:this.componentFactoryResolver}],n||vl(),i,new Set(["environment"]));this.injector=o,o.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}}function Vu(e,t,n=null){return new zC(e,t,n).injector}function fg(e,t,n,i){return _g(rt(),ze(),e,t,n,i)}function pg(e,t,n,i,o){return vg(rt(),ze(),e,t,n,i,o)}function gg(e,t,n,i,o,s){return yg(rt(),ze(),e,t,n,i,o,s)}function mg(e,t,n,i,o,s,c){return function Cg(e,t,n,i,o,s,c,m,C){const I=t+n;return function Ir(e,t,n,i,o,s){const c=xs(e,t,n,i);return xs(e,t+2,o,s)||c}(e,I,o,s,c,m)?co(e,I+4,C?i.call(C,o,s,c,m):i(o,s,c,m)):tl(e,I+4)}(rt(),ze(),e,t,n,i,o,s,c)}function tl(e,t){const n=e[t];return n===en?void 0:n}function _g(e,t,n,i,o,s){const c=t+n;return Ai(e,c,o)?co(e,c+1,s?i.call(s,o):i(o)):tl(e,c+1)}function vg(e,t,n,i,o,s,c){const m=t+n;return xs(e,m,o,s)?co(e,m+2,c?i.call(c,o,s):i(o,s)):tl(e,m+2)}function yg(e,t,n,i,o,s,c,m){const C=t+n;return function Fl(e,t,n,i,o){const s=xs(e,t,n,i);return Ai(e,t+2,o)||s}(e,C,o,s,c)?co(e,C+3,m?i.call(m,o,s,c):i(o,s,c)):tl(e,C+3)}function Dg(e,t){const n=Gt();let i;const o=e+22;n.firstCreatePass?(i=function lb(e,t){if(t)for(let n=t.length-1;n>=0;n--){const i=t[n];if(e===i.name)return i}}(t,n.pipeRegistry),n.data[o]=i,i.onDestroy&&(n.destroyHooks||(n.destroyHooks=[])).push(o,i.onDestroy)):i=n.data[o];const s=i.factory||(i.factory=vi(i.type)),c=Me(sa);try{const m=Eo(!1),C=s();return Eo(m),function o0(e,t,n,i){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=i}(n,rt(),o,C),C}finally{Me(c)}}function Eg(e,t,n){const i=e+22,o=rt(),s=S(o,i);return nl(o,i)?_g(o,ze(),t,s.transform,n,s):s.transform(n)}function wg(e,t,n,i){const o=e+22,s=rt(),c=S(s,o);return nl(s,o)?vg(s,ze(),t,c.transform,n,i,c):c.transform(n,i)}function Mg(e,t,n,i,o){const s=e+22,c=rt(),m=S(c,s);return nl(c,s)?yg(c,ze(),t,m.transform,n,i,o,m):m.transform(n,i,o)}function nl(e,t){return e[1].data[t].pure}function Uu(e){return t=>{setTimeout(e,void 0,t)}}const fo=class db extends r.x{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,n,i){let o=t,s=n||(()=>null),c=i;if(t&&"object"==typeof t){const C=t;o=C.next?.bind(C),s=C.error?.bind(C),c=C.complete?.bind(C)}this.__isAsync&&(s=Uu(s),o&&(o=Uu(o)),c&&(c=Uu(c)));const m=super.subscribe({next:o,error:s,complete:c});return t instanceof d.w0&&t.add(m),m}};function hb(){return this._results[Is()]()}class Gl{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=Is(),i=Gl.prototype;i[n]||(i[n]=hb)}get changes(){return this._changes||(this._changes=new fo)}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 i=this;i.dirty=!1;const o=f(t);(this._changesDetected=!function h(e,t,n){if(e.length!==t.length)return!1;for(let i=0;i<e.length;i++){let o=e[i],s=t[i];if(n&&(o=n(o),s=n(s)),s!==o)return!1}return!0}(i._results,o,n))&&(i._results=o,i.length=o.length,i.last=o[this.length-1],i.first=o[0])}notifyOnChanges(){this._changes&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}setDirty(){this.dirty=!0}destroy(){this.changes.complete(),this.changes.unsubscribe()}}let il=(()=>{class e{}return e.__NG_ELEMENT_ID__=gb,e})();const fb=il,pb=class extends fb{constructor(t,n,i){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=i}createEmbeddedView(t,n){const i=this._declarationTContainer.tViews,o=Tl(this._declarationLView,i,t,16,null,i.declTNode,null,null,null,null,n||null);o[17]=this._declarationLView[this._declarationTContainer.index];const c=this._declarationLView[19];return null!==c&&(o[19]=c.createEmbeddedView(i)),Sl(i,o,t),new Wa(o)}};function gb(){return zl(Un(),rt())}function zl(e,t){return 4&e.type?new pb(t,e,na(e,t)):null}let Wl=(()=>{class e{}return e.__NG_ELEMENT_ID__=mb,e})();function mb(){return Ag(Un(),rt())}const _b=Wl,Tg=class extends _b{constructor(t,n,i){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=i}get element(){return na(this._hostTNode,this._hostLView)}get injector(){return new Tr(this._hostTNode,this._hostLView)}get parentInjector(){const t=Qo(this._hostTNode,this._hostLView);if(Yo(t)){const n=Ur(t,this._hostLView),i=ar(t);return new Tr(n[1].data[i+8],n)}return new Tr(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=Sg(this._lContainer);return null!==n&&n[t]||null}get length(){return this._lContainer.length-10}createEmbeddedView(t,n,i){let o,s;"number"==typeof i?o=i:null!=i&&(o=i.index,s=i.injector);const c=t.createEmbeddedView(n||{},s);return this.insert(c,o),c}createComponent(t,n,i,o,s){const c=t&&!function Xo(e){return"function"==typeof e}(t);let m;if(c)m=n;else{const q=n||{};m=q.index,i=q.injector,o=q.projectableNodes,s=q.environmentInjector||q.ngModuleRef}const C=c?t:new Ya(et(t)),I=i||this.parentInjector;if(!s&&null==C.ngModule){const pe=(c?I:this.parentInjector).get(Ss,null);pe&&(s=pe)}const k=C.create(I,o,void 0,s);return this.insert(k.hostView,m),k}insert(t,n){const i=t._lView,o=i[1];if(function tt(e){return Jn(e[3])}(i)){const k=this.indexOf(t);if(-1!==k)this.detach(k);else{const q=i[3],pe=new Tg(q,q[6],q[3]);pe.detach(pe.indexOf(t))}}const s=this._adjustIndex(n),c=this._lContainer;!function mv(e,t,n,i){const o=10+i,s=n.length;i>0&&(n[o-1][4]=t),i<s-10?(t[4]=n[o],b(n,10+i,t)):(n.push(t),t[4]=null),t[3]=n;const c=t[17];null!==c&&n!==c&&function _v(e,t){const n=e[9];t[16]!==t[3][3][16]&&(e[2]=!0),null===n?e[9]=[t]:n.push(t)}(c,t);const m=t[19];null!==m&&m.insertView(e),t[2]|=64}(o,i,c,s);const m=Nc(s,c),C=i[11],I=yl(C,c[7]);return null!==I&&function fv(e,t,n,i,o,s){i[0]=o,i[6]=t,Ga(e,i,n,1,o,s)}(o,c[6],C,i,I,m),t.attachToViewContainerRef(),b(ju(c),s,t),t}move(t,n){return this.insert(t,n)}indexOf(t){const n=Sg(this._lContainer);return null!==n?n.indexOf(t):-1}remove(t){const n=this._adjustIndex(t,-1),i=Pc(this._lContainer,n);i&&(T(ju(this._lContainer),n),hh(i[1],i))}detach(t){const n=this._adjustIndex(t,-1),i=Pc(this._lContainer,n);return i&&null!=T(ju(this._lContainer),n)?new Wa(i):null}_adjustIndex(t,n=0){return t??this.length+n}};function Sg(e){return e[8]}function ju(e){return e[8]||(e[8]=[])}function Ag(e,t){let n;const i=t[e.index];if(Jn(i))n=i;else{let o;if(8&e.type)o=An(i);else{const s=t[11];o=s.createComment("");const c=Xn(e,t);As(s,yl(s,c),o,function bv(e,t){return e.nextSibling(t)}(s,c),!1)}t[e.index]=n=gf(i,t,o,e),Al(t,n)}return new Tg(n,e,t)}class $u{constructor(t){this.queryList=t,this.matches=null}clone(){return new $u(this.queryList)}setDirty(){this.queryList.setDirty()}}class Gu{constructor(t=[]){this.queries=t}createEmbeddedView(t){const n=t.queries;if(null!==n){const i=null!==t.contentQueries?t.contentQueries[0]:n.length,o=[];for(let s=0;s<i;s++){const c=n.getByIndex(s);o.push(this.queries[c.indexInDeclarationView].clone())}return new Gu(o)}return null}insertView(t){this.dirtyQueriesWithMatches(t)}detachView(t){this.dirtyQueriesWithMatches(t)}dirtyQueriesWithMatches(t){for(let n=0;n<this.queries.length;n++)null!==Lg(t,n).matches&&this.queries[n].setDirty()}}class Og{constructor(t,n,i=null){this.predicate=t,this.flags=n,this.read=i}}class zu{constructor(t=[]){this.queries=t}elementStart(t,n){for(let i=0;i<this.queries.length;i++)this.queries[i].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 i=0;i<this.length;i++){const o=null!==n?n.length:0,s=this.getByIndex(i).embeddedTView(t,o);s&&(s.indexInDeclarationView=i,null!==n?n.push(s):n=[s])}return null!==n?new zu(n):null}template(t,n){for(let i=0;i<this.queries.length;i++)this.queries[i].template(t,n)}getByIndex(t){return this.queries[t]}get length(){return this.queries.length}track(t){this.queries.push(t)}}class Wu{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 Wu(this.metadata)):null}isApplyingToNode(t){if(this._appliesToNextNode&&1!=(1&this.metadata.flags)){const n=this._declarationNodeIndex;let i=t.parent;for(;null!==i&&8&i.type&&i.index!==n;)i=i.parent;return n===(null!==i?i.index:-1)}return this._appliesToNextNode}matchTNode(t,n){const i=this.metadata.predicate;if(Array.isArray(i))for(let o=0;o<i.length;o++){const s=i[o];this.matchTNodeWithReadOption(t,n,Cb(n,s)),this.matchTNodeWithReadOption(t,n,To(n,t,s,!1,!1))}else i===il?4&n.type&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,To(n,t,i,!1,!1))}matchTNodeWithReadOption(t,n,i){if(null!==i){const o=this.metadata.read;if(null!==o)if(o===Ha||o===Wl||o===il&&4&n.type)this.addMatch(n.index,-2);else{const s=To(n,t,o,!1,!1);null!==s&&this.addMatch(n.index,s)}else this.addMatch(n.index,i)}}addMatch(t,n){null===this.matches?this.matches=[t,n]:this.matches.push(t,n)}}function Cb(e,t){const n=e.localNames;if(null!==n)for(let i=0;i<n.length;i+=2)if(n[i]===t)return n[i+1];return null}function Db(e,t,n,i){return-1===n?function bb(e,t){return 11&e.type?na(e,t):4&e.type?zl(e,t):null}(t,e):-2===n?function Eb(e,t,n){return n===Ha?na(t,e):n===il?zl(t,e):n===Wl?Ag(t,e):void 0}(e,t,i):jr(e,e[1],n,t)}function Ig(e,t,n,i){const o=t[19].queries[i];if(null===o.matches){const s=e.data,c=n.matches,m=[];for(let C=0;C<c.length;C+=2){const I=c[C];m.push(I<0?null:Db(t,s[I],c[C+1],n.metadata.read))}o.matches=m}return o.matches}function Yu(e,t,n,i){const o=e.queries.getByIndex(n),s=o.matches;if(null!==s){const c=Ig(e,t,o,n);for(let m=0;m<s.length;m+=2){const C=s[m];if(C>0)i.push(c[m/2]);else{const I=s[m+1],k=t[-C];for(let q=10;q<k.length;q++){const pe=k[q];pe[17]===pe[3]&&Yu(pe[1],pe,I,i)}if(null!==k[9]){const q=k[9];for(let pe=0;pe<q.length;pe++){const Ie=q[pe];Yu(Ie[1],Ie,I,i)}}}}}return i}function xg(e){const t=rt(),n=Gt(),i=Ns();Ni(i+1);const o=Lg(n,i);if(e.dirty&&me(t)===(2==(2&o.metadata.flags))){if(null===o.matches)e.reset([]);else{const s=o.crossesNgTemplate?Yu(n,t,i,[]):Ig(n,t,o,i);e.reset(s,O_),e.notifyOnChanges()}return!0}return!1}function Fg(e,t,n){const i=Gt();i.firstCreatePass&&(Ng(i,new Og(e,t,n),-1),2==(2&t)&&(i.staticViewQueries=!0)),kg(i,rt(),t)}function Pg(e,t,n,i){const o=Gt();if(o.firstCreatePass){const s=Un();Ng(o,new Og(t,n,i),s.index),function Mb(e,t){const n=e.contentQueries||(e.contentQueries=[]);t!==(n.length?n[n.length-1]:-1)&&n.push(e.queries.length-1,t)}(o,e),2==(2&n)&&(o.staticContentQueries=!0)}kg(o,rt(),n)}function Rg(){return function wb(e,t){return e[19].queries[t].queryList}(rt(),Ns())}function kg(e,t,n){const i=new Gl(4==(4&n));sf(e,t,i,i.destroy),null===t[19]&&(t[19]=new Gu),t[19].queries.push(new $u(i))}function Ng(e,t,n){null===e.queries&&(e.queries=new zu),e.queries.track(new Wu(t,n))}function Lg(e,t){return e.queries.getByIndex(t)}function Bg(e,t){return zl(e,t)}function wa(e){const t=et(e)||F(e)||B(e);return null!==t&&t.standalone}function Kl(...e){}const im=new vn("Application Initializer");let Zl=(()=>{class e{constructor(n){this.appInits=n,this.resolve=Kl,this.reject=Kl,this.initialized=!1,this.done=!1,this.donePromise=new Promise((i,o)=>{this.resolve=i,this.reject=o})}runInitializers(){if(this.initialized)return;const n=[],i=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let o=0;o<this.appInits.length;o++){const s=this.appInits[o]();if(Cu(s))n.push(s);else if(Lf(s)){const c=new Promise((m,C)=>{s.subscribe({complete:m,error:C})});n.push(c)}}Promise.all(n).then(()=>{i()}).catch(o=>{this.reject(o)}),0===n.length&&i(),this.initialized=!0}}return e.\u0275fac=function(n){return new(n||e)(un(im,8))},e.\u0275prov=_t({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const rm=new vn("AppId",{providedIn:"root",factory:function om(){return`${Ju()}${Ju()}${Ju()}`}});function Ju(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const sm=new vn("Platform Initializer"),zb=new vn("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),am=new vn("appBootstrapListener"),Wb=new vn("AnimationModuleType");let Yb=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=_t({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})();const Ql=new vn("LocaleId",{providedIn:"root",factory:()=>Or(Ql,Y.Optional|Y.SkipSelf)||function Kb(){return typeof $localize<"u"&&$localize.locale||Ca}()}),Zb=new vn("DefaultCurrencyCode",{providedIn:"root",factory:()=>"USD"});class Qb{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}}let qb=(()=>{class e{compileModuleSync(n){return new Bu(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){const i=this.compileModuleSync(n),s=xo(p(n).declarations).reduce((c,m)=>{const C=et(m);return C&&c.push(new Ya(C)),c},[]);return new Qb(i,s)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=_t({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const eD=(()=>Promise.resolve(0))();function Xu(e){typeof Zone>"u"?eD.then(()=>{e&&e.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}class fr{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:i=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new fo(!1),this.onMicrotaskEmpty=new fo(!1),this.onStable=new fo(!1),this.onError=new fo(!1),typeof Zone>"u")throw new Se(908,!1);Zone.assertZonePatched();const o=this;if(o._nesting=0,o._outer=o._inner=Zone.current,Zone.AsyncStackTaggingZoneSpec){const s=Zone.AsyncStackTaggingZoneSpec;o._inner=o._inner.fork(new s("Angular"))}Zone.TaskTrackingZoneSpec&&(o._inner=o._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(o._inner=o._inner.fork(Zone.longStackTraceZoneSpec)),o.shouldCoalesceEventChangeDetection=!i&&n,o.shouldCoalesceRunChangeDetection=i,o.lastRequestAnimationFrameId=-1,o.nativeRequestAnimationFrame=function tD(){let e=it.requestAnimationFrame,t=it.cancelAnimationFrame;if(typeof Zone<"u"&&e&&t){const n=e[Zone.__symbol__("OriginalDelegate")];n&&(e=n);const i=t[Zone.__symbol__("OriginalDelegate")];i&&(t=i)}return{nativeRequestAnimationFrame:e,nativeCancelAnimationFrame:t}}().nativeRequestAnimationFrame,function rD(e){const t=()=>{!function iD(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(it,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,td(e),e.isCheckStableRunning=!0,ed(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),td(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,i,o,s,c,m)=>{try{return um(e),n.invokeTask(o,s,c,m)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===s.type||e.shouldCoalesceRunChangeDetection)&&t(),dm(e)}},onInvoke:(n,i,o,s,c,m,C)=>{try{return um(e),n.invoke(o,s,c,m,C)}finally{e.shouldCoalesceRunChangeDetection&&t(),dm(e)}},onHasTask:(n,i,o,s)=>{n.hasTask(o,s),i===o&&("microTask"==s.change?(e._hasPendingMicrotasks=s.microTask,td(e),ed(e)):"macroTask"==s.change&&(e.hasPendingMacrotasks=s.macroTask))},onHandleError:(n,i,o,s)=>(n.handleError(o,s),e.runOutsideAngular(()=>e.onError.emit(s)),!1)})}(o)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!fr.isInAngularZone())throw new Se(909,!1)}static assertNotInAngularZone(){if(fr.isInAngularZone())throw new Se(909,!1)}run(t,n,i){return this._inner.run(t,n,i)}runTask(t,n,i,o){const s=this._inner,c=s.scheduleEventTask("NgZoneEvent: "+o,t,nD,Kl,Kl);try{return s.runTask(c,n,i)}finally{s.cancelTask(c)}}runGuarded(t,n,i){return this._inner.runGuarded(t,n,i)}runOutsideAngular(t){return this._outer.run(t)}}const nD={};function ed(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 td(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function um(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function dm(e){e._nesting--,ed(e)}class oD{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new fo,this.onMicrotaskEmpty=new fo,this.onStable=new fo,this.onError=new fo}run(t,n,i){return t.apply(n,i)}runGuarded(t,n,i){return t.apply(n,i)}runOutsideAngular(t){return t()}runTask(t,n,i,o){return t.apply(n,i)}}const hm=new vn(""),fm=new vn("");let nd,sD=(()=>{class e{constructor(n,i,o){this._ngZone=n,this.registry=i,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,nd||(function aD(e){nd=e}(o),o.addToWindow(i)),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:()=>{fr.assertNotInAngularZone(),Xu(()=>{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())Xu(()=>{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(i=>!i.updateCb||!i.updateCb(n)||(clearTimeout(i.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,i,o){let s=-1;i&&i>0&&(s=setTimeout(()=>{this._callbacks=this._callbacks.filter(c=>c.timeoutId!==s),n(this._didWork,this.getPendingTasks())},i)),this._callbacks.push({doneCb:n,timeoutId:s,updateCb:o})}whenStable(n,i,o){if(o&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(n,i,o),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(n){this.registry.registerApplication(n,this)}unregisterApplication(n){this.registry.unregisterApplication(n)}findProviders(n,i,o){return[]}}return e.\u0275fac=function(n){return new(n||e)(un(fr),un(pm),un(fm))},e.\u0275prov=_t({token:e,factory:e.\u0275fac}),e})(),pm=(()=>{class e{constructor(){this._applications=new Map}registerApplication(n,i){this._applications.set(n,i)}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,i=!0){return nd?.findTestabilityInTree(this,n,i)??null}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=_t({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})(),rs=null;const gm=new vn("AllowMultipleToken"),id=new vn("PlatformDestroyListeners");class uD{constructor(t,n){this.name=t,this.token=n}}function _m(e,t,n=[]){const i=`Platform: ${t}`,o=new vn(i);return(s=[])=>{let c=rd();if(!c||c.injector.get(gm,!1)){const m=[...n,...s,{provide:o,useValue:!0}];e?e(m):function dD(e){if(rs&&!rs.get(gm,!1))throw new Se(400,!1);rs=e;const t=e.get(ym);(function mm(e){const t=e.get(sm,null);t&&t.forEach(n=>n())})(e)}(function vm(e=[],t){return Os.create({name:t,providers:[{provide:fc,useValue:"platform"},{provide:id,useValue:new Set([()=>rs=null])},...e]})}(m,i))}return function fD(e){const t=rd();if(!t)throw new Se(401,!1);return t}()}}function rd(){return rs?.get(ym)??null}let ym=(()=>{class e{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,i){const o=function pD(e,t){let n;return n="noop"===e?new oD:("zone.js"===e?void 0:e)||new fr(t),n}(i?.ngZone,function Cm(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:!(!e||!e.ngZoneEventCoalescing)||!1,shouldCoalesceRunChangeDetection:!(!e||!e.ngZoneRunCoalescing)||!1}}(i)),s=[{provide:fr,useValue:o}];return o.run(()=>{const c=Os.create({providers:s,parent:this.injector,name:n.moduleType.name}),m=n.create(c),C=m.injector.get(Ua,null);if(!C)throw new Se(402,!1);return o.runOutsideAngular(()=>{const I=o.onError.subscribe({next:k=>{C.handleError(k)}});m.onDestroy(()=>{Jl(this._modules,m),I.unsubscribe()})}),function bm(e,t,n){try{const i=n();return Cu(i)?i.catch(o=>{throw t.runOutsideAngular(()=>e.handleError(o)),o}):i}catch(i){throw t.runOutsideAngular(()=>e.handleError(i)),i}}(C,o,()=>{const I=m.injector.get(Zl);return I.runInitializers(),I.donePromise.then(()=>(function Pp(e){De(e,"Expected localeId to be defined"),"string"==typeof e&&(Fp=e.toLowerCase().replace(/_/g,"-"))}(m.injector.get(Ql,Ca)||Ca),this._moduleDoBootstrap(m),m))})})}bootstrapModule(n,i=[]){const o=Dm({},i);return function lD(e,t,n){const i=new Bu(n);return Promise.resolve(i)}(0,0,n).then(s=>this.bootstrapModuleFactory(s,o))}_moduleDoBootstrap(n){const i=n.injector.get(ql);if(n._bootstrapComponents.length>0)n._bootstrapComponents.forEach(o=>i.bootstrap(o));else{if(!n.instance.ngDoBootstrap)throw new Se(403,!1);n.instance.ngDoBootstrap(i)}this._modules.push(n)}onDestroy(n){this._destroyListeners.push(n)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new Se(404,!1);this._modules.slice().forEach(i=>i.destroy()),this._destroyListeners.forEach(i=>i());const n=this._injector.get(id,null);n&&(n.forEach(i=>i()),n.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}}return e.\u0275fac=function(n){return new(n||e)(un(Os))},e.\u0275prov=_t({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})();function Dm(e,t){return Array.isArray(t)?t.reduce(Dm,e):{...e,...t}}let ql=(()=>{class e{constructor(n,i,o){this._zone=n,this._injector=i,this._exceptionHandler=o,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 s=new J.y(m=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{m.next(this._stable),m.complete()})}),c=new J.y(m=>{let C;this._zone.runOutsideAngular(()=>{C=this._zone.onStable.subscribe(()=>{fr.assertNotInAngularZone(),Xu(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,m.next(!0))})})});const I=this._zone.onUnstable.subscribe(()=>{fr.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{m.next(!1)}))});return()=>{C.unsubscribe(),I.unsubscribe()}});this.isStable=(0,G.T)(s,c.pipe(function ae(e={}){const{connector:t=(()=>new r.x),resetOnError:n=!0,resetOnComplete:i=!0,resetOnRefCountZero:o=!0}=e;return s=>{let c,m,C,I=0,k=!1,q=!1;const pe=()=>{m?.unsubscribe(),m=void 0},Ie=()=>{pe(),c=C=void 0,k=q=!1},nt=()=>{const ct=c;Ie(),ct?.unsubscribe()};return(0,ve.e)((ct,bt)=>{I++,!q&&!k&&pe();const Ot=C=C??t();bt.add(()=>{I--,0===I&&!q&&!k&&(m=ie(nt,o))}),Ot.subscribe(bt),!c&&I>0&&(c=new K.Hp({next:Lt=>Ot.next(Lt),error:Lt=>{q=!0,pe(),m=ie(Ie,n,Lt),Ot.error(Lt)},complete:()=>{k=!0,pe(),m=ie(Ie,i),Ot.complete()}}),(0,z.Xf)(ct).subscribe(c))})(s)}}()))}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(n,i){const o=n instanceof Wd;if(!this._injector.get(Zl).done)throw!o&&wa(n),new Se(405,false);let c;c=o?n:this._injector.get(Va).resolveComponentFactory(n),this.componentTypes.push(c.componentType);const m=function cD(e){return e.isBoundToModule}(c)?void 0:this._injector.get(Da),I=c.create(Os.NULL,[],i||c.selector,m),k=I.location.nativeElement,q=I.injector.get(hm,null);return q?.registerApplication(k),I.onDestroy(()=>{this.detachView(I.hostView),Jl(this.components,I),q?.unregisterApplication(k)}),this._loadComponent(I),I}tick(){if(this._runningTick)throw new Se(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 i=n;this._views.push(i),i.attachToAppRef(this)}detachView(n){const i=n;Jl(this._views,i),i.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n),this._injector.get(am,[]).concat(this._bootstrapListeners).forEach(o=>o(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),()=>Jl(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new Se(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)(un(fr),un(Ss),un(Ua))},e.\u0275prov=_t({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function Jl(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}let wm=!0;function mD(){wm=!1}let _D=(()=>{class e{}return e.__NG_ELEMENT_ID__=vD,e})();function vD(e){return function yD(e,t,n){if(_i(e)&&!n){const i=j(e.index,t);return new Wa(i,i)}return 47&e.type?new Wa(t[16],t):null}(Un(),rt(),16==(16&e))}class Om{constructor(){}supports(t){return Ka(t)}create(t){return new MD(t)}}const wD=(e,t)=>t;class MD{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||wD}forEachItem(t){let n;for(n=this._itHead;null!==n;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,i=this._removalsHead,o=0,s=null;for(;n||i;){const c=!i||n&&n.currentIndex<xm(i,o,s)?n:i,m=xm(c,o,s),C=c.currentIndex;if(c===i)o--,i=i._nextRemoved;else if(n=n._next,null==c.previousIndex)o++;else{s||(s=[]);const I=m-o,k=C-o;if(I!=k){for(let pe=0;pe<I;pe++){const Ie=pe<s.length?s[pe]:s[pe]=0,nt=Ie+pe;k<=nt&&nt<I&&(s[pe]=Ie+1)}s[c.previousIndex]=k-I}}m!==C&&t(c,m,C)}}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=[]),!Ka(t))throw new Se(900,!1);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let o,s,c,n=this._itHead,i=!1;if(Array.isArray(t)){this.length=t.length;for(let m=0;m<this.length;m++)s=t[m],c=this._trackByFn(m,s),null!==n&&Object.is(n.trackById,c)?(i&&(n=this._verifyReinsertion(n,s,c,m)),Object.is(n.item,s)||this._addIdentityChange(n,s)):(n=this._mismatch(n,s,c,m),i=!0),n=n._next}else o=0,function Xy(e,t){if(Array.isArray(e))for(let n=0;n<e.length;n++)t(e[n]);else{const n=e[Is()]();let i;for(;!(i=n.next()).done;)t(i.value)}}(t,m=>{c=this._trackByFn(o,m),null!==n&&Object.is(n.trackById,c)?(i&&(n=this._verifyReinsertion(n,m,c,o)),Object.is(n.item,m)||this._addIdentityChange(n,m)):(n=this._mismatch(n,m,c,o),i=!0),n=n._next,o++}),this.length=o;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,i,o){let s;return null===t?s=this._itTail:(s=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(i,null))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._reinsertAfter(t,s,o)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(i,o))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,s,o)):t=this._addAfter(new TD(n,i),s,o),t}_verifyReinsertion(t,n,i,o){let s=null===this._unlinkedRecords?null:this._unlinkedRecords.get(i,null);return null!==s?t=this._reinsertAfter(s,t._prev,o):t.currentIndex!=o&&(t.currentIndex=o,this._addToMoves(t,o)),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,i){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const o=t._prevRemoved,s=t._nextRemoved;return null===o?this._removalsHead=s:o._nextRemoved=s,null===s?this._removalsTail=o:s._prevRemoved=o,this._insertAfter(t,n,i),this._addToMoves(t,i),t}_moveAfter(t,n,i){return this._unlink(t),this._insertAfter(t,n,i),this._addToMoves(t,i),t}_addAfter(t,n,i){return this._insertAfter(t,n,i),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,n,i){const o=null===n?this._itHead:n._next;return t._next=o,t._prev=n,null===o?this._itTail=t:o._prev=t,null===n?this._itHead=t:n._next=t,null===this._linkedRecords&&(this._linkedRecords=new Im),this._linkedRecords.put(t),t.currentIndex=i,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const n=t._prev,i=t._next;return null===n?this._itHead=i:n._next=i,null===i?this._itTail=n:i._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 Im),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 TD{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 SD{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 i;for(i=this._head;null!==i;i=i._nextDup)if((null===n||n<=i.currentIndex)&&Object.is(i.trackById,t))return i;return null}remove(t){const n=t._prevDup,i=t._nextDup;return null===n?this._head=i:n._nextDup=i,null===i?this._tail=n:i._prevDup=n,null===this._head}}class Im{constructor(){this.map=new Map}put(t){const n=t.trackById;let i=this.map.get(n);i||(i=new SD,this.map.set(n,i)),i.add(t)}get(t,n){const o=this.map.get(t);return o?o.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 xm(e,t,n){const i=e.previousIndex;if(null===i)return i;let o=0;return n&&i<n.length&&(o=n[i]),i+t+o}class Fm{constructor(){}supports(t){return t instanceof Map||pu(t)}create(){return new AD}}class AD{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||pu(t)))throw new Se(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,(i,o)=>{if(n&&n.key===o)this._maybeAddToChanges(n,i),this._appendAfter=n,n=n._next;else{const s=this._getOrCreateRecordForKey(o,i);n=this._insertBeforeOrAppend(n,s)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(let i=n;null!==i;i=i._nextRemoved)i===this._mapHead&&(this._mapHead=null),this._records.delete(i.key),i._nextRemoved=i._next,i.previousValue=i.currentValue,i.currentValue=null,i._prev=null,i._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,n){if(t){const i=t._prev;return n._next=t,n._prev=i,t._prev=n,i&&(i._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 o=this._records.get(t);this._maybeAddToChanges(o,n);const s=o._prev,c=o._next;return s&&(s._next=c),c&&(c._prev=s),o._next=null,o._prev=null,o}const i=new OD(t);return this._records.set(t,i),i.currentValue=n,this._addToAdditions(i),i}_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(i=>n(t[i],i))}}class OD{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 Pm(){return new cd([new Om])}let cd=(()=>{class e{constructor(n){this.factories=n}static create(n,i){if(null!=i){const o=i.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:i=>e.create(n,i||Pm()),deps:[[e,new Ht,new xt]]}}find(n){const i=this.factories.find(o=>o.supports(n));if(null!=i)return i;throw new Se(901,!1)}}return e.\u0275prov=_t({token:e,providedIn:"root",factory:Pm}),e})();function Rm(){return new ud([new Fm])}let ud=(()=>{class e{constructor(n){this.factories=n}static create(n,i){if(i){const o=i.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:i=>e.create(n,i||Rm()),deps:[[e,new Ht,new xt]]}}find(n){const i=this.factories.find(o=>o.supports(n));if(i)return i;throw new Se(901,!1)}}return e.\u0275prov=_t({token:e,providedIn:"root",factory:Rm}),e})();const FD=_m(null,"core",[]);let PD=(()=>{class e{constructor(n){}}return e.\u0275fac=function(n){return new(n||e)(un(ql))},e.\u0275mod=Sn({type:e}),e.\u0275inj=rn({}),e})();function RD(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}},433:(dt,Ee,D)=>{D.d(Ee,{Fj:()=>le,oH:()=>er,u5:()=>rt,JU:()=>je,JJ:()=>de,JL:()=>Q,F:()=>ln,On:()=>Qr,wV:()=>xi,c5:()=>Nn,UX:()=>Gt,Q7:()=>Ye,p4:()=>xr,_Y:()=>Gi});var r=D(1571),d=D(6895),J=D(9751),G=D(4742),z=D(8421),K=D(3269),ve=D(5403),ae=D(3268),ie=D(1810),he=D(2076),_e=D(4004);let Ue=(()=>{class O{constructor(E,U){this._renderer=E,this._elementRef=U,this.onChange=ze=>{},this.onTouched=()=>{}}setProperty(E,U){this._renderer.setProperty(this._elementRef.nativeElement,E,U)}registerOnTouched(E){this.onTouched=E}registerOnChange(E){this.onChange=E}setDisabledState(E){this.setProperty("disabled",E)}}return O.\u0275fac=function(E){return new(E||O)(r.Y36(r.Qsj),r.Y36(r.SBq))},O.\u0275dir=r.lG2({type:O}),O})(),Be=(()=>{class O extends Ue{}return O.\u0275fac=function(){let M;return function(U){return(M||(M=r.n5z(O)))(U||O)}}(),O.\u0275dir=r.lG2({type:O,features:[r.qOj]}),O})();const je=new r.OlP("NgValueAccessor"),Je={provide:je,useExisting:(0,r.Gpc)(()=>le),multi:!0},ht=new r.OlP("CompositionEventMode");let le=(()=>{class O extends Ue{constructor(E,U,ze){super(E,U),this._compositionMode=ze,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function Se(){const O=(0,d.q)()?(0,d.q)().getUserAgent():"";return/android (\d+)/.test(O.toLowerCase())}())}writeValue(E){this.setProperty("value",E??"")}_handleInput(E){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(E)}_compositionStart(){this._composing=!0}_compositionEnd(E){this._composing=!1,this._compositionMode&&this.onChange(E)}}return O.\u0275fac=function(E){return new(E||O)(r.Y36(r.Qsj),r.Y36(r.SBq),r.Y36(ht,8))},O.\u0275dir=r.lG2({type:O,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(E,U){1&E&&r.NdJ("input",function(At){return U._handleInput(At.target.value)})("blur",function(){return U.onTouched()})("compositionstart",function(){return U._compositionStart()})("compositionend",function(At){return U._compositionEnd(At.target.value)})},features:[r._Bn([Je]),r.qOj]}),O})();function Oe(O){return null==O||("string"==typeof O||Array.isArray(O))&&0===O.length}const Ae=new r.OlP("NgValidators"),Ge=new r.OlP("NgAsyncValidators");function Ce(O){return Oe(O.value)?{required:!0}:null}function ot(O){return null}function we(O){return null!=O}function pt(O){return(0,r.QGY)(O)?(0,he.D)(O):O}function De(O){let M={};return O.forEach(E=>{M=null!=E?{...M,...E}:M}),0===Object.keys(M).length?null:M}function xe(O,M){return M.map(E=>E(O))}function Fe(O){return O.map(M=>function ge(O){return!O.validate}(M)?M:E=>M.validate(E))}function _t(O){return null!=O?function Ze(O){if(!O)return null;const M=O.filter(we);return 0==M.length?null:function(E){return De(xe(E,M))}}(Fe(O)):null}function rn(O){return null!=O?function Wt(O){if(!O)return null;const M=O.filter(we);return 0==M.length?null:function(E){return function ee(...O){const M=(0,K.jO)(O),{args:E,keys:U}=(0,G.D)(O),ze=new J.y(At=>{const{length:On}=E;if(!On)return void At.complete();const Wn=new Array(On);let ei=On,rr=On;for(let or=0;or<On;or++){let to=!1;(0,z.Xf)(E[or]).subscribe((0,ve.x)(At,go=>{to||(to=!0,rr--),Wn[or]=go},()=>ei--,void 0,()=>{(!ei||!to)&&(rr||At.next(U?(0,ie.n)(U,Wn):Wn),At.complete())}))}});return M?ze.pipe((0,ae.Z)(M)):ze}(xe(E,M).map(pt)).pipe((0,_e.U)(De))}}(Fe(O)):null}function hn(O,M){return null===O?[M]:Array.isArray(O)?[...O,M]:[O,M]}function tn(O){return O._rawValidators}function on(O){return O._rawAsyncValidators}function Kt(O){return O?Array.isArray(O)?O:[O]:[]}function gn(O,M){return Array.isArray(O)?O.includes(M):O===M}function mn(O,M){const E=Kt(M);return Kt(O).forEach(ze=>{gn(E,ze)||E.push(ze)}),E}function He(O,M){return Kt(M).filter(E=>!gn(O,E))}class V{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(M){this._rawValidators=M||[],this._composedValidatorFn=_t(this._rawValidators)}_setAsyncValidators(M){this._rawAsyncValidators=M||[],this._composedAsyncValidatorFn=rn(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(M){this._onDestroyCallbacks.push(M)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(M=>M()),this._onDestroyCallbacks=[]}reset(M){this.control&&this.control.reset(M)}hasError(M,E){return!!this.control&&this.control.hasError(M,E)}getError(M,E){return this.control?this.control.getError(M,E):null}}class H extends V{get formDirective(){return null}get path(){return null}}class Y extends V{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class ${constructor(M){this._cd=M}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 de=(()=>{class O extends ${constructor(E){super(E)}}return O.\u0275fac=function(E){return new(E||O)(r.Y36(Y,2))},O.\u0275dir=r.lG2({type:O,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(E,U){2&E&&r.ekj("ng-untouched",U.isUntouched)("ng-touched",U.isTouched)("ng-pristine",U.isPristine)("ng-dirty",U.isDirty)("ng-valid",U.isValid)("ng-invalid",U.isInvalid)("ng-pending",U.isPending)},features:[r.qOj]}),O})(),Q=(()=>{class O extends ${constructor(E){super(E)}}return O.\u0275fac=function(E){return new(E||O)(r.Y36(H,10))},O.\u0275dir=r.lG2({type:O,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(E,U){2&E&&r.ekj("ng-untouched",U.isUntouched)("ng-touched",U.isTouched)("ng-pristine",U.isPristine)("ng-dirty",U.isDirty)("ng-valid",U.isValid)("ng-invalid",U.isInvalid)("ng-pending",U.isPending)("ng-submitted",U.isSubmitted)},features:[r.qOj]}),O})();const _n="VALID",Xt="INVALID",In="PENDING",Sn="DISABLED";function Vn(O){return(et(O)?O.validators:O)||null}function En(O){return Array.isArray(O)?_t(O):O||null}function wn(O,M){return(et(M)?M.asyncValidators:O)||null}function at(O){return Array.isArray(O)?rn(O):O||null}function et(O){return null!=O&&!Array.isArray(O)&&"object"==typeof O}class p{constructor(M,E){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._rawValidators=M,this._rawAsyncValidators=E,this._composedValidatorFn=En(this._rawValidators),this._composedAsyncValidatorFn=at(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn}set validator(M){this._rawValidators=this._composedValidatorFn=M}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(M){this._rawAsyncValidators=this._composedAsyncValidatorFn=M}get parent(){return this._parent}get valid(){return this.status===_n}get invalid(){return this.status===Xt}get pending(){return this.status==In}get disabled(){return this.status===Sn}get enabled(){return this.status!==Sn}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(M){this._rawValidators=M,this._composedValidatorFn=En(M)}setAsyncValidators(M){this._rawAsyncValidators=M,this._composedAsyncValidatorFn=at(M)}addValidators(M){this.setValidators(mn(M,this._rawValidators))}addAsyncValidators(M){this.setAsyncValidators(mn(M,this._rawAsyncValidators))}removeValidators(M){this.setValidators(He(M,this._rawValidators))}removeAsyncValidators(M){this.setAsyncValidators(He(M,this._rawAsyncValidators))}hasValidator(M){return gn(this._rawValidators,M)}hasAsyncValidator(M){return gn(this._rawAsyncValidators,M)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(M={}){this.touched=!0,this._parent&&!M.onlySelf&&this._parent.markAsTouched(M)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(M=>M.markAllAsTouched())}markAsUntouched(M={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(E=>{E.markAsUntouched({onlySelf:!0})}),this._parent&&!M.onlySelf&&this._parent._updateTouched(M)}markAsDirty(M={}){this.pristine=!1,this._parent&&!M.onlySelf&&this._parent.markAsDirty(M)}markAsPristine(M={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(E=>{E.markAsPristine({onlySelf:!0})}),this._parent&&!M.onlySelf&&this._parent._updatePristine(M)}markAsPending(M={}){this.status=In,!1!==M.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!M.onlySelf&&this._parent.markAsPending(M)}disable(M={}){const E=this._parentMarkedDirty(M.onlySelf);this.status=Sn,this.errors=null,this._forEachChild(U=>{U.disable({...M,onlySelf:!0})}),this._updateValue(),!1!==M.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...M,skipPristineCheck:E}),this._onDisabledChange.forEach(U=>U(!0))}enable(M={}){const E=this._parentMarkedDirty(M.onlySelf);this.status=_n,this._forEachChild(U=>{U.enable({...M,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:M.emitEvent}),this._updateAncestors({...M,skipPristineCheck:E}),this._onDisabledChange.forEach(U=>U(!1))}_updateAncestors(M){this._parent&&!M.onlySelf&&(this._parent.updateValueAndValidity(M),M.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(M){this._parent=M}getRawValue(){return this.value}updateValueAndValidity(M={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===_n||this.status===In)&&this._runAsyncValidator(M.emitEvent)),!1!==M.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!M.onlySelf&&this._parent.updateValueAndValidity(M)}_updateTreeValidity(M={emitEvent:!0}){this._forEachChild(E=>E._updateTreeValidity(M)),this.updateValueAndValidity({onlySelf:!0,emitEvent:M.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Sn:_n}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(M){if(this.asyncValidator){this.status=In,this._hasOwnPendingAsyncValidator=!0;const E=pt(this.asyncValidator(this));this._asyncValidationSubscription=E.subscribe(U=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(U,{emitEvent:M})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(M,E={}){this.errors=M,this._updateControlsErrors(!1!==E.emitEvent)}get(M){let E=M;return null==E||(Array.isArray(E)||(E=E.split(".")),0===E.length)?null:E.reduce((U,ze)=>U&&U._find(ze),this)}getError(M,E){const U=E?this.get(E):this;return U&&U.errors?U.errors[M]:null}hasError(M,E){return!!this.getError(M,E)}get root(){let M=this;for(;M._parent;)M=M._parent;return M}_updateControlsErrors(M){this.status=this._calculateStatus(),M&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(M)}_initObservables(){this.valueChanges=new r.vpe,this.statusChanges=new r.vpe}_calculateStatus(){return this._allControlsDisabled()?Sn:this.errors?Xt:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(In)?In:this._anyControlsHaveStatus(Xt)?Xt:_n}_anyControlsHaveStatus(M){return this._anyControls(E=>E.status===M)}_anyControlsDirty(){return this._anyControls(M=>M.dirty)}_anyControlsTouched(){return this._anyControls(M=>M.touched)}_updatePristine(M={}){this.pristine=!this._anyControlsDirty(),this._parent&&!M.onlySelf&&this._parent._updatePristine(M)}_updateTouched(M={}){this.touched=this._anyControlsTouched(),this._parent&&!M.onlySelf&&this._parent._updateTouched(M)}_registerOnCollectionChange(M){this._onCollectionChange=M}_setUpdateStrategy(M){et(M)&&null!=M.updateOn&&(this._updateOn=M.updateOn)}_parentMarkedDirty(M){return!M&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(M){return null}}class v extends p{constructor(M,E,U){super(Vn(E),wn(U,E)),this.controls=M,this._initObservables(),this._setUpdateStrategy(E),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(M,E){return this.controls[M]?this.controls[M]:(this.controls[M]=E,E.setParent(this),E._registerOnCollectionChange(this._onCollectionChange),E)}addControl(M,E,U={}){this.registerControl(M,E),this.updateValueAndValidity({emitEvent:U.emitEvent}),this._onCollectionChange()}removeControl(M,E={}){this.controls[M]&&this.controls[M]._registerOnCollectionChange(()=>{}),delete this.controls[M],this.updateValueAndValidity({emitEvent:E.emitEvent}),this._onCollectionChange()}setControl(M,E,U={}){this.controls[M]&&this.controls[M]._registerOnCollectionChange(()=>{}),delete this.controls[M],E&&this.registerControl(M,E),this.updateValueAndValidity({emitEvent:U.emitEvent}),this._onCollectionChange()}contains(M){return this.controls.hasOwnProperty(M)&&this.controls[M].enabled}setValue(M,E={}){(function B(O,M,E){O._forEachChild((U,ze)=>{if(void 0===E[ze])throw new r.vHH(1002,"")})})(this,0,M),Object.keys(M).forEach(U=>{(function F(O,M,E){const U=O.controls;if(!(M?Object.keys(U):U).length)throw new r.vHH(1e3,"");if(!U[E])throw new r.vHH(1001,"")})(this,!0,U),this.controls[U].setValue(M[U],{onlySelf:!0,emitEvent:E.emitEvent})}),this.updateValueAndValidity(E)}patchValue(M,E={}){null!=M&&(Object.keys(M).forEach(U=>{const ze=this.controls[U];ze&&ze.patchValue(M[U],{onlySelf:!0,emitEvent:E.emitEvent})}),this.updateValueAndValidity(E))}reset(M={},E={}){this._forEachChild((U,ze)=>{U.reset(M[ze],{onlySelf:!0,emitEvent:E.emitEvent})}),this._updatePristine(E),this._updateTouched(E),this.updateValueAndValidity(E)}getRawValue(){return this._reduceChildren({},(M,E,U)=>(M[U]=E.getRawValue(),M))}_syncPendingControls(){let M=this._reduceChildren(!1,(E,U)=>!!U._syncPendingControls()||E);return M&&this.updateValueAndValidity({onlySelf:!0}),M}_forEachChild(M){Object.keys(this.controls).forEach(E=>{const U=this.controls[E];U&&M(U,E)})}_setUpControls(){this._forEachChild(M=>{M.setParent(this),M._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(M){for(const[E,U]of Object.entries(this.controls))if(this.contains(E)&&M(U))return!0;return!1}_reduceValue(){return this._reduceChildren({},(E,U,ze)=>((U.enabled||this.disabled)&&(E[ze]=U.value),E))}_reduceChildren(M,E){let U=M;return this._forEachChild((ze,At)=>{U=E(U,ze,At)}),U}_allControlsDisabled(){for(const M of Object.keys(this.controls))if(this.controls[M].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(M){return this.controls.hasOwnProperty(M)?this.controls[M]:null}}function st(O,M){Mn(O,M),M.valueAccessor.writeValue(O.value),O.disabled&&M.valueAccessor.setDisabledState?.(!0),function Qn(O,M){M.valueAccessor.registerOnChange(E=>{O._pendingValue=E,O._pendingChange=!0,O._pendingDirty=!0,"change"===O.updateOn&&bi(O,M)})}(O,M),function li(O,M){const E=(U,ze)=>{M.valueAccessor.writeValue(U),ze&&M.viewToModelUpdate(U)};O.registerOnChange(E),M._registerOnDestroy(()=>{O._unregisterOnChange(E)})}(O,M),function Ci(O,M){M.valueAccessor.registerOnTouched(()=>{O._pendingTouched=!0,"blur"===O.updateOn&&O._pendingChange&&bi(O,M),"submit"!==O.updateOn&&O.markAsTouched()})}(O,M),function Qt(O,M){if(M.valueAccessor.setDisabledState){const E=U=>{M.valueAccessor.setDisabledState(U)};O.registerOnDisabledChange(E),M._registerOnDestroy(()=>{O._unregisterOnDisabledChange(E)})}}(O,M)}function Vt(O,M,E=!0){const U=()=>{};M.valueAccessor&&(M.valueAccessor.registerOnChange(U),M.valueAccessor.registerOnTouched(U)),function Pt(O,M){let E=!1;if(null!==O){if(null!==M.validator){const ze=tn(O);if(Array.isArray(ze)&&ze.length>0){const At=ze.filter(On=>On!==M.validator);At.length!==ze.length&&(E=!0,O.setValidators(At))}}if(null!==M.asyncValidator){const ze=on(O);if(Array.isArray(ze)&&ze.length>0){const At=ze.filter(On=>On!==M.asyncValidator);At.length!==ze.length&&(E=!0,O.setAsyncValidators(At))}}}const U=()=>{};return Tt(M._rawValidators,U),Tt(M._rawAsyncValidators,U),E}(O,M),O&&(M._invokeOnDestroyCallbacks(),O._registerOnCollectionChange(()=>{}))}function Tt(O,M){O.forEach(E=>{E.registerOnValidatorChange&&E.registerOnValidatorChange(M)})}function Mn(O,M){const E=tn(O);null!==M.validator?O.setValidators(hn(E,M.validator)):"function"==typeof E&&O.setValidators([E]);const U=on(O);null!==M.asyncValidator?O.setAsyncValidators(hn(U,M.asyncValidator)):"function"==typeof U&&O.setAsyncValidators([U]);const ze=()=>O.updateValueAndValidity();Tt(M._rawValidators,ze),Tt(M._rawAsyncValidators,ze)}function bi(O,M){O._pendingDirty&&O.markAsDirty(),O.setValue(O._pendingValue,{emitModelToViewChange:!1}),M.viewToModelUpdate(O._pendingValue),O._pendingChange=!1}function qt(O,M){if(!O.hasOwnProperty("model"))return!1;const E=O.model;return!!E.isFirstChange()||!Object.is(M,E.currentValue)}function gi(O,M){if(!M)return null;let E,U,ze;return Array.isArray(M),M.forEach(At=>{At.constructor===le?E=At:function ji(O){return Object.getPrototypeOf(O.constructor)===Be}(At)?U=At:ze=At}),ze||U||E||null}const xn={provide:H,useExisting:(0,r.Gpc)(()=>ln)},Hn=(()=>Promise.resolve(null))();let ln=(()=>{class O extends H{constructor(E,U){super(),this.submitted=!1,this._directives=new Set,this.ngSubmit=new r.vpe,this.form=new v({},_t(E),rn(U))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(E){Hn.then(()=>{const U=this._findContainer(E.path);E.control=U.registerControl(E.name,E.control),st(E.control,E),E.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(E)})}getControl(E){return this.form.get(E.path)}removeControl(E){Hn.then(()=>{const U=this._findContainer(E.path);U&&U.removeControl(E.name),this._directives.delete(E)})}addFormGroup(E){Hn.then(()=>{const U=this._findContainer(E.path),ze=new v({});(function yn(O,M){Mn(O,M)})(ze,E),U.registerControl(E.name,ze),ze.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(E){Hn.then(()=>{const U=this._findContainer(E.path);U&&U.removeControl(E.name)})}getFormGroup(E){return this.form.get(E.path)}updateModel(E,U){Hn.then(()=>{this.form.get(E.path).setValue(U)})}setValue(E){this.control.setValue(E)}onSubmit(E){return this.submitted=!0,function $i(O,M){O._syncPendingControls(),M.forEach(E=>{const U=E.control;"submit"===U.updateOn&&U._pendingChange&&(E.viewToModelUpdate(U._pendingValue),U._pendingChange=!1)})}(this.form,this._directives),this.ngSubmit.emit(E),!1}onReset(){this.resetForm()}resetForm(E){this.form.reset(E),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(E){return E.pop(),E.length?this.form.get(E):this.form}}return O.\u0275fac=function(E){return new(E||O)(r.Y36(Ae,10),r.Y36(Ge,10))},O.\u0275dir=r.lG2({type:O,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(E,U){1&E&&r.NdJ("submit",function(At){return U.onSubmit(At)})("reset",function(){return U.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[r._Bn([xn]),r.qOj]}),O})();function Ii(O,M){const E=O.indexOf(M);E>-1&&O.splice(E,1)}function kn(O){return"object"==typeof O&&null!==O&&2===Object.keys(O).length&&"value"in O&&"disabled"in O}const Jn=class extends p{constructor(M=null,E,U){super(Vn(E),wn(U,E)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(M),this._setUpdateStrategy(E),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),et(E)&&(E.nonNullable||E.initialValueIsDefault)&&(this.defaultValue=kn(M)?M.value:M)}setValue(M,E={}){this.value=this._pendingValue=M,this._onChange.length&&!1!==E.emitModelToViewChange&&this._onChange.forEach(U=>U(this.value,!1!==E.emitViewToModelChange)),this.updateValueAndValidity(E)}patchValue(M,E={}){this.setValue(M,E)}reset(M=this.defaultValue,E={}){this._applyFormState(M),this.markAsPristine(E),this.markAsUntouched(E),this.setValue(this.value,E),this._pendingChange=!1}_updateValue(){}_anyControls(M){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(M){this._onChange.push(M)}_unregisterOnChange(M){Ii(this._onChange,M)}registerOnDisabledChange(M){this._onDisabledChange.push(M)}_unregisterOnDisabledChange(M){Ii(this._onDisabledChange,M)}_forEachChild(M){}_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(M){kn(M)?(this.value=this._pendingValue=M.value,M.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=M}},xr=Jn,No={provide:Y,useExisting:(0,r.Gpc)(()=>Qr)},gr=(()=>Promise.resolve(null))();let Qr=(()=>{class O extends Y{constructor(E,U,ze,At,On){super(),this._changeDetectorRef=On,this.control=new Jn,this._registered=!1,this.update=new r.vpe,this._parent=E,this._setValidators(U),this._setAsyncValidators(ze),this.valueAccessor=gi(0,At)}ngOnChanges(E){if(this._checkForErrors(),!this._registered||"name"in E){if(this._registered&&(this._checkName(),this.formDirective)){const U=E.name.previousValue;this.formDirective.removeControl({name:U,path:this._getPath(U)})}this._setUpControl()}"isDisabled"in E&&this._updateDisabled(E),qt(E,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(E){this.viewModel=E,this.update.emit(E)}_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(){st(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(E){gr.then(()=>{this.control.setValue(E,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(E){const U=E.isDisabled.currentValue,ze=0!==U&&(0,r.D6c)(U);gr.then(()=>{ze&&!this.control.disabled?this.control.disable():!ze&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(E){return this._parent?function qe(O,M){return[...M.path,O]}(E,this._parent):[E]}}return O.\u0275fac=function(E){return new(E||O)(r.Y36(H,9),r.Y36(Ae,10),r.Y36(Ge,10),r.Y36(je,10),r.Y36(r.sBO,8))},O.\u0275dir=r.lG2({type:O,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[r._Bn([No]),r.qOj,r.TTD]}),O})(),Gi=(()=>{class O{}return O.\u0275fac=function(E){return new(E||O)},O.\u0275dir=r.lG2({type:O,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),O})();const mr={provide:je,useExisting:(0,r.Gpc)(()=>xi),multi:!0};let xi=(()=>{class O extends Be{writeValue(E){this.setProperty("value",E??"")}registerOnChange(E){this.onChange=U=>{E(""==U?null:parseFloat(U))}}}return O.\u0275fac=function(){let M;return function(U){return(M||(M=r.n5z(O)))(U||O)}}(),O.\u0275dir=r.lG2({type:O,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(E,U){1&E&&r.NdJ("input",function(At){return U.onChange(At.target.value)})("blur",function(){return U.onTouched()})},features:[r._Bn([mr]),r.qOj]}),O})(),qr=(()=>{class O{}return O.\u0275fac=function(E){return new(E||O)},O.\u0275mod=r.oAB({type:O}),O.\u0275inj=r.cJS({}),O})();const _r=new r.OlP("NgModelWithFormControlWarning"),Fi={provide:Y,useExisting:(0,r.Gpc)(()=>er)};let er=(()=>{class O extends Y{constructor(E,U,ze,At){super(),this._ngModelWarningConfig=At,this.update=new r.vpe,this._ngModelWarningSent=!1,this._setValidators(E),this._setAsyncValidators(U),this.valueAccessor=gi(0,ze)}set isDisabled(E){}ngOnChanges(E){if(this._isControlChanged(E)){const U=E.form.previousValue;U&&Vt(U,this,!1),st(this.form,this),this.form.updateValueAndValidity({emitEvent:!1})}qt(E,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&Vt(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(E){this.viewModel=E,this.update.emit(E)}_isControlChanged(E){return E.hasOwnProperty("form")}}return O._ngModelWarningSentOnce=!1,O.\u0275fac=function(E){return new(E||O)(r.Y36(Ae,10),r.Y36(Ge,10),r.Y36(je,10),r.Y36(_r,8))},O.\u0275dir=r.lG2({type:O,selectors:[["","formControl",""]],inputs:{form:["formControl","form"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[r._Bn([Fi]),r.qOj,r.TTD]}),O})(),oi=(()=>{class O{constructor(){this._validator=ot}ngOnChanges(E){if(this.inputName in E){const U=this.normalizeInput(E[this.inputName].currentValue);this._enabled=this.enabled(U),this._validator=this._enabled?this.createValidator(U):ot,this._onChange&&this._onChange()}}validate(E){return this._validator(E)}registerOnValidatorChange(E){this._onChange=E}enabled(E){return null!=E}}return O.\u0275fac=function(E){return new(E||O)},O.\u0275dir=r.lG2({type:O,features:[r.TTD]}),O})();const j={provide:Ae,useExisting:(0,r.Gpc)(()=>Ye),multi:!0};let Ye=(()=>{class O extends oi{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=r.D6c,this.createValidator=E=>Ce}enabled(E){return E}}return O.\u0275fac=function(){let M;return function(U){return(M||(M=r.n5z(O)))(U||O)}}(),O.\u0275dir=r.lG2({type:O,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(E,U){2&E&&r.uIk("required",U._enabled?"":null)},inputs:{required:"required"},features:[r._Bn([j]),r.qOj]}),O})();const Cn={provide:Ae,useExisting:(0,r.Gpc)(()=>Nn),multi:!0};let Nn=(()=>{class O extends oi{constructor(){super(...arguments),this.inputName="pattern",this.normalizeInput=E=>E,this.createValidator=E=>function ft(O){if(!O)return ot;let M,E;return"string"==typeof O?(E="","^"!==O.charAt(0)&&(E+="^"),E+=O,"$"!==O.charAt(O.length-1)&&(E+="$"),M=new RegExp(E)):(E=O.toString(),M=O),U=>{if(Oe(U.value))return null;const ze=U.value;return M.test(ze)?null:{pattern:{requiredPattern:E,actualValue:ze}}}}(E)}}return O.\u0275fac=function(){let M;return function(U){return(M||(M=r.n5z(O)))(U||O)}}(),O.\u0275dir=r.lG2({type:O,selectors:[["","pattern","","formControlName",""],["","pattern","","formControl",""],["","pattern","","ngModel",""]],hostVars:1,hostBindings:function(E,U){2&E&&r.uIk("pattern",U._enabled?U.pattern:null)},inputs:{pattern:"pattern"},features:[r._Bn([Cn]),r.qOj]}),O})(),Ri=(()=>{class O{}return O.\u0275fac=function(E){return new(E||O)},O.\u0275mod=r.oAB({type:O}),O.\u0275inj=r.cJS({imports:[qr]}),O})(),rt=(()=>{class O{}return O.\u0275fac=function(E){return new(E||O)},O.\u0275mod=r.oAB({type:O}),O.\u0275inj=r.cJS({imports:[Ri]}),O})(),Gt=(()=>{class O{static withConfig(E){return{ngModule:O,providers:[{provide:_r,useValue:E.warnOnNgModelWithFormControl}]}}}return O.\u0275fac=function(E){return new(E||O)},O.\u0275mod=r.oAB({type:O}),O.\u0275inj=r.cJS({imports:[Ri]}),O})()},4120:(dt,Ee,D)=>{D.d(Ee,{XC:()=>Ft,Bb:()=>wn,ZL:()=>En});var r=D(7188),d=D(1281),J=D(3353),G=D(1571),z=D(3238),K=D(727),ve=D(7579),ae=D(9770),ie=D(6451),ee=D(9646),he=D(4968),_e=D(6895),Ue=D(8184),Be=D(7376),je=D(445),Te=D(9521),Ve=D(4080),Je=D(433);D(7340);const $=new G.OlP("MatFormField");var de=D(8675),Q=D(3900),W=D(5698),fe=D(9300),$e=D(4004),vt=D(8505),mt=D(1005);const it=["panel"];function wt(at,et){if(1&at&&(G.TgZ(0,"div",0,1),G.Hsn(2),G.qZA()),2&at){const F=et.id,B=G.oxw();G.Q6J("id",B.id)("ngClass",B._classList),G.uIk("aria-label",B.ariaLabel||null)("aria-labelledby",B._getPanelAriaLabelledby(F))}}const an=["*"];let kt=0;class Re{constructor(et,F){this.source=et,this.option=F}}const re=(0,z.Kr)(class{}),oe=new G.OlP("mat-autocomplete-default-options",{providedIn:"root",factory:function Ne(){return{autoActiveFirstOption:!1,autoSelectActiveOption:!1}}});let Dt=(()=>{class at extends re{constructor(F,B,p,v){super(),this._changeDetectorRef=F,this._elementRef=B,this._activeOptionChanges=K.w0.EMPTY,this.showPanel=!1,this._isOpen=!1,this.displayWith=null,this.optionSelected=new G.vpe,this.opened=new G.vpe,this.closed=new G.vpe,this.optionActivated=new G.vpe,this._classList={},this.id="mat-autocomplete-"+kt++,this.inertGroups=v?.SAFARI||!1,this._autoActiveFirstOption=!!p.autoActiveFirstOption,this._autoSelectActiveOption=!!p.autoSelectActiveOption}get isOpen(){return this._isOpen&&this.showPanel}get autoActiveFirstOption(){return this._autoActiveFirstOption}set autoActiveFirstOption(F){this._autoActiveFirstOption=(0,d.Ig)(F)}get autoSelectActiveOption(){return this._autoSelectActiveOption}set autoSelectActiveOption(F){this._autoSelectActiveOption=(0,d.Ig)(F)}set classList(F){this._classList=F&&F.length?(0,d.du)(F).reduce((B,p)=>(B[p]=!0,B),{}):{},this._setVisibilityClasses(this._classList),this._elementRef.nativeElement.className=""}ngAfterContentInit(){this._keyManager=new r.s1(this.options).withWrap(),this._activeOptionChanges=this._keyManager.change.subscribe(F=>{this.isOpen&&this.optionActivated.emit({source:this,option:this.options.toArray()[F]||null})}),this._setVisibility()}ngOnDestroy(){this._activeOptionChanges.unsubscribe()}_setScrollTop(F){this.panel&&(this.panel.nativeElement.scrollTop=F)}_getScrollTop(){return this.panel?this.panel.nativeElement.scrollTop:0}_setVisibility(){this.showPanel=!!this.options.length,this._setVisibilityClasses(this._classList),this._changeDetectorRef.markForCheck()}_emitSelectEvent(F){const B=new Re(this,F);this.optionSelected.emit(B)}_getPanelAriaLabelledby(F){return this.ariaLabel?null:this.ariaLabelledby?(F?F+" ":"")+this.ariaLabelledby:F}_setVisibilityClasses(F){F[this._visibleClass]=this.showPanel,F[this._hiddenClass]=!this.showPanel}}return at.\u0275fac=function(F){return new(F||at)(G.Y36(G.sBO),G.Y36(G.SBq),G.Y36(oe),G.Y36(J.t4))},at.\u0275dir=G.lG2({type:at,viewQuery:function(F,B){if(1&F&&(G.Gf(G.Rgc,7),G.Gf(it,5)),2&F){let p;G.iGM(p=G.CRH())&&(B.template=p.first),G.iGM(p=G.CRH())&&(B.panel=p.first)}},inputs:{ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],displayWith:"displayWith",autoActiveFirstOption:"autoActiveFirstOption",autoSelectActiveOption:"autoSelectActiveOption",panelWidth:"panelWidth",classList:["class","classList"]},outputs:{optionSelected:"optionSelected",opened:"opened",closed:"closed",optionActivated:"optionActivated"},features:[G.qOj]}),at})(),Ft=(()=>{class at extends Dt{constructor(){super(...arguments),this._visibleClass="mat-autocomplete-visible",this._hiddenClass="mat-autocomplete-hidden"}}return at.\u0275fac=function(){let et;return function(B){return(et||(et=G.n5z(at)))(B||at)}}(),at.\u0275cmp=G.Xpm({type:at,selectors:[["mat-autocomplete"]],contentQueries:function(F,B,p){if(1&F&&(G.Suo(p,z.K7,5),G.Suo(p,z.ey,5)),2&F){let v;G.iGM(v=G.CRH())&&(B.optionGroups=v),G.iGM(v=G.CRH())&&(B.options=v)}},hostAttrs:[1,"mat-autocomplete"],inputs:{disableRipple:"disableRipple"},exportAs:["matAutocomplete"],features:[G._Bn([{provide:z.HF,useExisting:at}]),G.qOj],ngContentSelectors:an,decls:1,vars:0,consts:[["role","listbox",1,"mat-autocomplete-panel",3,"id","ngClass"],["panel",""]],template:function(F,B){1&F&&(G.F$t(),G.YNc(0,wt,3,4,"ng-template"))},dependencies:[_e.mk],styles:[".mat-autocomplete-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;visibility:hidden;max-width:none;max-height:256px;position:relative;width:100%;border-bottom-left-radius:4px;border-bottom-right-radius:4px}.mat-autocomplete-panel.mat-autocomplete-visible{visibility:visible}.mat-autocomplete-panel.mat-autocomplete-hidden{visibility:hidden}.mat-autocomplete-panel-above .mat-autocomplete-panel{border-radius:0;border-top-left-radius:4px;border-top-right-radius:4px}.mat-autocomplete-panel .mat-divider-horizontal{margin-top:-1px}.cdk-high-contrast-active .mat-autocomplete-panel{outline:solid 1px}mat-autocomplete{display:none}"],encapsulation:2,changeDetection:0}),at})();const Dn=new G.OlP("mat-autocomplete-scroll-strategy"),Xt={provide:Dn,deps:[Ue.aV],useFactory:function _n(at){return()=>at.scrollStrategies.reposition()}},In={provide:Je.JU,useExisting:(0,G.Gpc)(()=>En),multi:!0};let Vn=(()=>{class at{constructor(F,B,p,v,_,w,P,ue,qe,st,Vt){this._element=F,this._overlay=B,this._viewContainerRef=p,this._zone=v,this._changeDetectorRef=_,this._dir=P,this._formField=ue,this._document=qe,this._viewportRuler=st,this._defaults=Vt,this._componentDestroyed=!1,this._autocompleteDisabled=!1,this._manuallyFloatingLabel=!1,this._viewportSubscription=K.w0.EMPTY,this._canOpenOnNextFocus=!0,this._closeKeyEventStream=new ve.x,this._windowBlurHandler=()=>{this._canOpenOnNextFocus=this._document.activeElement!==this._element.nativeElement||this.panelOpen},this._onChange=()=>{},this._onTouched=()=>{},this.position="auto",this.autocompleteAttribute="off",this._overlayAttached=!1,this.optionSelections=(0,ae.P)(()=>{const Tt=this.autocomplete?this.autocomplete.options:null;return Tt?Tt.changes.pipe((0,de.O)(Tt),(0,Q.w)(()=>(0,ie.T)(...Tt.map(Qt=>Qt.onSelectionChange)))):this._zone.onStable.pipe((0,W.q)(1),(0,Q.w)(()=>this.optionSelections))}),this._scrollStrategy=w}get autocompleteDisabled(){return this._autocompleteDisabled}set autocompleteDisabled(F){this._autocompleteDisabled=(0,d.Ig)(F)}ngAfterViewInit(){const F=this._getWindow();typeof F<"u"&&this._zone.runOutsideAngular(()=>F.addEventListener("blur",this._windowBlurHandler))}ngOnChanges(F){F.position&&this._positionStrategy&&(this._setStrategyPositions(this._positionStrategy),this.panelOpen&&this._overlayRef.updatePosition())}ngOnDestroy(){const F=this._getWindow();typeof F<"u"&&F.removeEventListener("blur",this._windowBlurHandler),this._viewportSubscription.unsubscribe(),this._componentDestroyed=!0,this._destroyPanel(),this._closeKeyEventStream.complete()}get panelOpen(){return this._overlayAttached&&this.autocomplete.showPanel}openPanel(){this._attachOverlay(),this._floatLabel()}closePanel(){this._resetLabel(),this._overlayAttached&&(this.panelOpen&&this._zone.run(()=>{this.autocomplete.closed.emit()}),this.autocomplete._isOpen=this._overlayAttached=!1,this._pendingAutoselectedOption=null,this._overlayRef&&this._overlayRef.hasAttached()&&(this._overlayRef.detach(),this._closingActionsSubscription.unsubscribe()),this._componentDestroyed||this._changeDetectorRef.detectChanges())}updatePosition(){this._overlayAttached&&this._overlayRef.updatePosition()}get panelClosingActions(){return(0,ie.T)(this.optionSelections,this.autocomplete._keyManager.tabOut.pipe((0,fe.h)(()=>this._overlayAttached)),this._closeKeyEventStream,this._getOutsideClickStream(),this._overlayRef?this._overlayRef.detachments().pipe((0,fe.h)(()=>this._overlayAttached)):(0,ee.of)()).pipe((0,$e.U)(F=>F instanceof z.rN?F:null))}get activeOption(){return this.autocomplete&&this.autocomplete._keyManager?this.autocomplete._keyManager.activeItem:null}_getOutsideClickStream(){return(0,ie.T)((0,he.R)(this._document,"click"),(0,he.R)(this._document,"auxclick"),(0,he.R)(this._document,"touchend")).pipe((0,fe.h)(F=>{const B=(0,J.sA)(F),p=this._formField?this._formField._elementRef.nativeElement:null,v=this.connectedTo?this.connectedTo.elementRef.nativeElement:null;return this._overlayAttached&&B!==this._element.nativeElement&&this._document.activeElement!==this._element.nativeElement&&(!p||!p.contains(B))&&(!v||!v.contains(B))&&!!this._overlayRef&&!this._overlayRef.overlayElement.contains(B)}))}writeValue(F){Promise.resolve(null).then(()=>this._assignOptionValue(F))}registerOnChange(F){this._onChange=F}registerOnTouched(F){this._onTouched=F}setDisabledState(F){this._element.nativeElement.disabled=F}_handleKeydown(F){const B=F.keyCode,p=(0,Te.Vb)(F);if(B===Te.hY&&!p&&F.preventDefault(),this.activeOption&&B===Te.K5&&this.panelOpen&&!p)this.activeOption._selectViaInteraction(),this._resetActiveItem(),F.preventDefault();else if(this.autocomplete){const v=this.autocomplete._keyManager.activeItem,_=B===Te.LH||B===Te.JH;B===Te.Mf||_&&!p&&this.panelOpen?this.autocomplete._keyManager.onKeydown(F):_&&this._canOpen()&&this.openPanel(),(_||this.autocomplete._keyManager.activeItem!==v)&&(this._scrollToOption(this.autocomplete._keyManager.activeItemIndex||0),this.autocomplete.autoSelectActiveOption&&this.activeOption&&(this._pendingAutoselectedOption||(this._valueBeforeAutoSelection=this._element.nativeElement.value),this._pendingAutoselectedOption=this.activeOption,this._assignOptionValue(this.activeOption.value)))}}_handleInput(F){let B=F.target,p=B.value;"number"===B.type&&(p=""==p?null:parseFloat(p)),this._previousValue!==p&&(this._previousValue=p,this._pendingAutoselectedOption=null,this._onChange(p),this._canOpen()&&this._document.activeElement===F.target&&this.openPanel())}_handleFocus(){this._canOpenOnNextFocus?this._canOpen()&&(this._previousValue=this._element.nativeElement.value,this._attachOverlay(),this._floatLabel(!0)):this._canOpenOnNextFocus=!0}_handleClick(){this._canOpen()&&!this.panelOpen&&this.openPanel()}_floatLabel(F=!1){this._formField&&"auto"===this._formField.floatLabel&&(F?this._formField._animateAndLockLabel():this._formField.floatLabel="always",this._manuallyFloatingLabel=!0)}_resetLabel(){this._manuallyFloatingLabel&&(this._formField.floatLabel="auto",this._manuallyFloatingLabel=!1)}_subscribeToClosingActions(){const F=this._zone.onStable.pipe((0,W.q)(1)),B=this.autocomplete.options.changes.pipe((0,vt.b)(()=>this._positionStrategy.reapplyLastPosition()),(0,mt.g)(0));return(0,ie.T)(F,B).pipe((0,Q.w)(()=>(this._zone.run(()=>{const p=this.panelOpen;this._resetActiveItem(),this.autocomplete._setVisibility(),this._changeDetectorRef.detectChanges(),this.panelOpen&&this._overlayRef.updatePosition(),p!==this.panelOpen&&(this.panelOpen?this.autocomplete.opened.emit():this.autocomplete.closed.emit())}),this.panelClosingActions)),(0,W.q)(1)).subscribe(p=>this._setValueAndClose(p))}_destroyPanel(){this._overlayRef&&(this.closePanel(),this._overlayRef.dispose(),this._overlayRef=null)}_assignOptionValue(F){const B=this.autocomplete&&this.autocomplete.displayWith?this.autocomplete.displayWith(F):F;this._updateNativeInputValue(B??"")}_updateNativeInputValue(F){this._formField?this._formField._control.value=F:this._element.nativeElement.value=F,this._previousValue=F}_setValueAndClose(F){const B=F?F.source:this._pendingAutoselectedOption;B&&(this._clearPreviousSelectedOption(B),this._assignOptionValue(B.value),this._onChange(B.value),this.autocomplete._emitSelectEvent(B),this._element.nativeElement.focus()),this.closePanel()}_clearPreviousSelectedOption(F){this.autocomplete.options.forEach(B=>{B!==F&&B.selected&&B.deselect()})}_attachOverlay(){let F=this._overlayRef;F?(this._positionStrategy.setOrigin(this._getConnectedElement()),F.updateSize({width:this._getPanelWidth()})):(this._portal=new Ve.UE(this.autocomplete.template,this._viewContainerRef,{id:this._formField?.getLabelId()}),F=this._overlay.create(this._getOverlayConfig()),this._overlayRef=F,this._handleOverlayEvents(F),this._viewportSubscription=this._viewportRuler.change().subscribe(()=>{this.panelOpen&&F&&F.updateSize({width:this._getPanelWidth()})})),F&&!F.hasAttached()&&(F.attach(this._portal),this._closingActionsSubscription=this._subscribeToClosingActions());const B=this.panelOpen;this.autocomplete._setVisibility(),this.autocomplete._isOpen=this._overlayAttached=!0,this.panelOpen&&B!==this.panelOpen&&this.autocomplete.opened.emit()}_getOverlayConfig(){return new Ue.X_({positionStrategy:this._getOverlayPosition(),scrollStrategy:this._scrollStrategy(),width:this._getPanelWidth(),direction:this._dir,panelClass:this._defaults?.overlayPanelClass})}_getOverlayPosition(){const F=this._overlay.position().flexibleConnectedTo(this._getConnectedElement()).withFlexibleDimensions(!1).withPush(!1);return this._setStrategyPositions(F),this._positionStrategy=F,F}_setStrategyPositions(F){const B=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],p=this._aboveClass,v=[{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:p},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",panelClass:p}];let _;_="above"===this.position?v:"below"===this.position?B:[...B,...v],F.withPositions(_)}_getConnectedElement(){return this.connectedTo?this.connectedTo.elementRef:this._formField?this._formField.getConnectedOverlayOrigin():this._element}_getPanelWidth(){return this.autocomplete.panelWidth||this._getHostWidth()}_getHostWidth(){return this._getConnectedElement().nativeElement.getBoundingClientRect().width}_resetActiveItem(){const F=this.autocomplete;F.autoActiveFirstOption?F._keyManager.setFirstItemActive():F._keyManager.setActiveItem(-1)}_canOpen(){const F=this._element.nativeElement;return!F.readOnly&&!F.disabled&&!this._autocompleteDisabled}_getWindow(){return this._document?.defaultView||window}_scrollToOption(F){const B=this.autocomplete,p=(0,z.CB)(F,B.options,B.optionGroups);if(0===F&&1===p)B._setScrollTop(0);else if(B.panel){const v=B.options.toArray()[F];if(v){const _=v._getHostElement(),w=(0,z.jH)(_.offsetTop,_.offsetHeight,B._getScrollTop(),B.panel.nativeElement.offsetHeight);B._setScrollTop(w)}}}_handleOverlayEvents(F){F.keydownEvents().subscribe(B=>{(B.keyCode===Te.hY&&!(0,Te.Vb)(B)||B.keyCode===Te.LH&&(0,Te.Vb)(B,"altKey"))&&(this._pendingAutoselectedOption&&(this._updateNativeInputValue(this._valueBeforeAutoSelection??""),this._pendingAutoselectedOption=null),this._closeKeyEventStream.next(),this._resetActiveItem(),B.stopPropagation(),B.preventDefault())}),F.outsidePointerEvents().subscribe()}}return at.\u0275fac=function(F){return new(F||at)(G.Y36(G.SBq),G.Y36(Ue.aV),G.Y36(G.s_b),G.Y36(G.R0b),G.Y36(G.sBO),G.Y36(Dn),G.Y36(je.Is,8),G.Y36($,9),G.Y36(_e.K0,8),G.Y36(Be.rL),G.Y36(oe,8))},at.\u0275dir=G.lG2({type:at,inputs:{autocomplete:["matAutocomplete","autocomplete"],position:["matAutocompletePosition","position"],connectedTo:["matAutocompleteConnectedTo","connectedTo"],autocompleteAttribute:["autocomplete","autocompleteAttribute"],autocompleteDisabled:["matAutocompleteDisabled","autocompleteDisabled"]},features:[G.TTD]}),at})(),En=(()=>{class at extends Vn{constructor(){super(...arguments),this._aboveClass="mat-autocomplete-panel-above"}}return at.\u0275fac=function(){let et;return function(B){return(et||(et=G.n5z(at)))(B||at)}}(),at.\u0275dir=G.lG2({type:at,selectors:[["input","matAutocomplete",""],["textarea","matAutocomplete",""]],hostAttrs:[1,"mat-autocomplete-trigger"],hostVars:7,hostBindings:function(F,B){1&F&&G.NdJ("focusin",function(){return B._handleFocus()})("blur",function(){return B._onTouched()})("input",function(v){return B._handleInput(v)})("keydown",function(v){return B._handleKeydown(v)})("click",function(){return B._handleClick()}),2&F&&G.uIk("autocomplete",B.autocompleteAttribute)("role",B.autocompleteDisabled?null:"combobox")("aria-autocomplete",B.autocompleteDisabled?null:"list")("aria-activedescendant",B.panelOpen&&B.activeOption?B.activeOption.id:null)("aria-expanded",B.autocompleteDisabled?null:B.panelOpen.toString())("aria-owns",B.autocompleteDisabled||!B.panelOpen||null==B.autocomplete?null:B.autocomplete.id)("aria-haspopup",B.autocompleteDisabled?null:"listbox")},exportAs:["matAutocompleteTrigger"],features:[G._Bn([In]),G.qOj]}),at})(),wn=(()=>{class at{}return at.\u0275fac=function(F){return new(F||at)},at.\u0275mod=G.oAB({type:at}),at.\u0275inj=G.cJS({providers:[Xt],imports:[Ue.U8,z.Ng,z.BQ,_e.ez,Be.ZD,z.Ng,z.BQ]}),at})()},3238:(dt,Ee,D)=>{D.d(Ee,{K7:()=>W,HF:()=>te,BQ:()=>ht,ey:()=>it,Ng:()=>kt,rN:()=>vt,wG:()=>V,si:()=>H,CB:()=>wt,jH:()=>an,Kr:()=>Ge,sb:()=>We});var r=D(1571),d=D(7188),J=D(445),z=D(6895),K=D(3353),ve=D(1281),ae=D(7579),ie=D(9521);function _e(Re,re){if(1&Re&&r._UZ(0,"mat-pseudo-checkbox",4),2&Re){const oe=r.oxw();r.Q6J("state",oe.selected?"checked":"unchecked")("disabled",oe.disabled)}}function Ue(Re,re){if(1&Re&&(r.TgZ(0,"span",5),r._uU(1),r.qZA()),2&Re){const oe=r.oxw();r.xp6(1),r.hij("(",oe.group.label,")")}}const Be=["*"],Se=new r.OlP("mat-sanity-checks",{providedIn:"root",factory:function Je(){return!0}});let ht=(()=>{class Re{constructor(oe,Ne,Dt){this._sanityChecks=Ne,this._document=Dt,this._hasDoneGlobalChecks=!1,oe._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(oe){return!(0,K.Oy)()&&("boolean"==typeof this._sanityChecks?this._sanityChecks:!!this._sanityChecks[oe])}}return Re.\u0275fac=function(oe){return new(oe||Re)(r.LFG(d.qm),r.LFG(Se,8),r.LFG(z.K0))},Re.\u0275mod=r.oAB({type:Re}),Re.\u0275inj=r.cJS({imports:[J.vT,J.vT]}),Re})();function Ge(Re){return class extends Re{constructor(...re){super(...re),this._disableRipple=!1}get disableRipple(){return this._disableRipple}set disableRipple(re){this._disableRipple=(0,ve.Ig)(re)}}}function We(Re,re=0){return class extends Re{constructor(...oe){super(...oe),this._tabIndex=re,this.defaultTabIndex=re}get tabIndex(){return this.disabled?-1:this._tabIndex}set tabIndex(oe){this._tabIndex=null!=oe?(0,ve.su)(oe):this.defaultTabIndex}}}class Wt{constructor(re,oe,Ne,Dt=!1){this._renderer=re,this.element=oe,this.config=Ne,this._animationForciblyDisabledThroughCss=Dt,this.state=3}fadeOut(){this._renderer.fadeOutRipple(this)}}const rn={enterDuration:225,exitDuration:150},tn=(0,K.i$)({passive:!0}),on=["mousedown","touchstart"],Kt=["mouseup","mouseleave","touchend","touchcancel"];class gn{constructor(re,oe,Ne,Dt){this._target=re,this._ngZone=oe,this._isPointerDown=!1,this._activeRipples=new Map,this._pointerUpEventsRegistered=!1,Dt.isBrowser&&(this._containerElement=(0,ve.fI)(Ne))}fadeInRipple(re,oe,Ne={}){const Dt=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),Ft={...rn,...Ne.animation};Ne.centered&&(re=Dt.left+Dt.width/2,oe=Dt.top+Dt.height/2);const Bt=Ne.radius||function mn(Re,re,oe){const Ne=Math.max(Math.abs(Re-oe.left),Math.abs(Re-oe.right)),Dt=Math.max(Math.abs(re-oe.top),Math.abs(re-oe.bottom));return Math.sqrt(Ne*Ne+Dt*Dt)}(re,oe,Dt),Tn=re-Dt.left,Dn=oe-Dt.top,_n=Ft.enterDuration,Xt=document.createElement("div");Xt.classList.add("mat-ripple-element"),Xt.style.left=Tn-Bt+"px",Xt.style.top=Dn-Bt+"px",Xt.style.height=2*Bt+"px",Xt.style.width=2*Bt+"px",null!=Ne.color&&(Xt.style.backgroundColor=Ne.color),Xt.style.transitionDuration=`${_n}ms`,this._containerElement.appendChild(Xt);const In=window.getComputedStyle(Xt),Vn=In.transitionDuration,En="none"===In.transitionProperty||"0s"===Vn||"0s, 0s"===Vn,wn=new Wt(this,Xt,Ne,En);Xt.style.transform="scale3d(1, 1, 1)",wn.state=0,Ne.persistent||(this._mostRecentTransientRipple=wn);let at=null;return!En&&(_n||Ft.exitDuration)&&this._ngZone.runOutsideAngular(()=>{const et=()=>this._finishRippleTransition(wn),F=()=>this._destroyRipple(wn);Xt.addEventListener("transitionend",et),Xt.addEventListener("transitioncancel",F),at={onTransitionEnd:et,onTransitionCancel:F}}),this._activeRipples.set(wn,at),(En||!_n)&&this._finishRippleTransition(wn),wn}fadeOutRipple(re){if(2===re.state||3===re.state)return;const oe=re.element,Ne={...rn,...re.config.animation};oe.style.transitionDuration=`${Ne.exitDuration}ms`,oe.style.opacity="0",re.state=2,(re._animationForciblyDisabledThroughCss||!Ne.exitDuration)&&this._finishRippleTransition(re)}fadeOutAll(){this._getActiveRipples().forEach(re=>re.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(re=>{re.config.persistent||re.fadeOut()})}setupTriggerEvents(re){const oe=(0,ve.fI)(re);!oe||oe===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=oe,this._registerEvents(on))}handleEvent(re){"mousedown"===re.type?this._onMousedown(re):"touchstart"===re.type?this._onTouchStart(re):this._onPointerUp(),this._pointerUpEventsRegistered||(this._registerEvents(Kt),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(re){0===re.state?this._startFadeOutTransition(re):2===re.state&&this._destroyRipple(re)}_startFadeOutTransition(re){const oe=re===this._mostRecentTransientRipple,{persistent:Ne}=re.config;re.state=1,!Ne&&(!oe||!this._isPointerDown)&&re.fadeOut()}_destroyRipple(re){const oe=this._activeRipples.get(re)??null;this._activeRipples.delete(re),this._activeRipples.size||(this._containerRect=null),re===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),re.state=3,null!==oe&&(re.element.removeEventListener("transitionend",oe.onTransitionEnd),re.element.removeEventListener("transitioncancel",oe.onTransitionCancel)),re.element.remove()}_onMousedown(re){const oe=(0,d.X6)(re),Ne=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+800;!this._target.rippleDisabled&&!oe&&!Ne&&(this._isPointerDown=!0,this.fadeInRipple(re.clientX,re.clientY,this._target.rippleConfig))}_onTouchStart(re){if(!this._target.rippleDisabled&&!(0,d.yG)(re)){this._lastTouchStartEvent=Date.now(),this._isPointerDown=!0;const oe=re.changedTouches;for(let Ne=0;Ne<oe.length;Ne++)this.fadeInRipple(oe[Ne].clientX,oe[Ne].clientY,this._target.rippleConfig)}}_onPointerUp(){!this._isPointerDown||(this._isPointerDown=!1,this._getActiveRipples().forEach(re=>{!re.config.persistent&&(1===re.state||re.config.terminateOnPointerUp&&0===re.state)&&re.fadeOut()}))}_registerEvents(re){this._ngZone.runOutsideAngular(()=>{re.forEach(oe=>{this._triggerElement.addEventListener(oe,this,tn)})})}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){this._triggerElement&&(on.forEach(re=>{this._triggerElement.removeEventListener(re,this,tn)}),this._pointerUpEventsRegistered&&Kt.forEach(re=>{this._triggerElement.removeEventListener(re,this,tn)}))}}const He=new r.OlP("mat-ripple-global-options");let V=(()=>{class Re{constructor(oe,Ne,Dt,Ft,Bt){this._elementRef=oe,this._animationMode=Bt,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=Ft||{},this._rippleRenderer=new gn(this,Ne,oe,Dt)}get disabled(){return this._disabled}set disabled(oe){oe&&this.fadeOutAllNonPersistent(),this._disabled=oe,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(oe){this._trigger=oe,this._setupTriggerEventsIfEnabled()}ngOnInit(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}ngOnDestroy(){this._rippleRenderer._removeTriggerEvents()}fadeOutAll(){this._rippleRenderer.fadeOutAll()}fadeOutAllNonPersistent(){this._rippleRenderer.fadeOutAllNonPersistent()}get rippleConfig(){return{centered:this.centered,radius:this.radius,color:this.color,animation:{...this._globalOptions.animation,..."NoopAnimations"===this._animationMode?{enterDuration:0,exitDuration:0}:{},...this.animation},terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}get rippleDisabled(){return this.disabled||!!this._globalOptions.disabled}_setupTriggerEventsIfEnabled(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}launch(oe,Ne=0,Dt){return"number"==typeof oe?this._rippleRenderer.fadeInRipple(oe,Ne,{...this.rippleConfig,...Dt}):this._rippleRenderer.fadeInRipple(0,0,{...this.rippleConfig,...oe})}}return Re.\u0275fac=function(oe){return new(oe||Re)(r.Y36(r.SBq),r.Y36(r.R0b),r.Y36(K.t4),r.Y36(He,8),r.Y36(r.QbO,8))},Re.\u0275dir=r.lG2({type:Re,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(oe,Ne){2&oe&&r.ekj("mat-ripple-unbounded",Ne.unbounded)},inputs:{color:["matRippleColor","color"],unbounded:["matRippleUnbounded","unbounded"],centered:["matRippleCentered","centered"],radius:["matRippleRadius","radius"],animation:["matRippleAnimation","animation"],disabled:["matRippleDisabled","disabled"],trigger:["matRippleTrigger","trigger"]},exportAs:["matRipple"]}),Re})(),H=(()=>{class Re{}return Re.\u0275fac=function(oe){return new(oe||Re)},Re.\u0275mod=r.oAB({type:Re}),Re.\u0275inj=r.cJS({imports:[ht,ht]}),Re})(),Y=(()=>{class Re{constructor(oe){this._animationMode=oe,this.state="unchecked",this.disabled=!1}}return Re.\u0275fac=function(oe){return new(oe||Re)(r.Y36(r.QbO,8))},Re.\u0275cmp=r.Xpm({type:Re,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:8,hostBindings:function(oe,Ne){2&oe&&r.ekj("mat-pseudo-checkbox-indeterminate","indeterminate"===Ne.state)("mat-pseudo-checkbox-checked","checked"===Ne.state)("mat-pseudo-checkbox-disabled",Ne.disabled)("_mat-animation-noopable","NoopAnimations"===Ne._animationMode)},inputs:{state:"state",disabled:"disabled"},decls:0,vars:0,template:function(oe,Ne){},styles:['.mat-pseudo-checkbox{width:16px;height:16px;border:2px solid;border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;flex-shrink:0;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1),background-color 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:"";border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox.mat-pseudo-checkbox-indeterminate{border-color:rgba(0,0,0,0)}.mat-pseudo-checkbox._mat-animation-noopable{transition:none !important;animation:none !important}.mat-pseudo-checkbox._mat-animation-noopable::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{top:5px;left:1px;width:10px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{top:2.4px;left:1px;width:8px;height:3px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}'],encapsulation:2,changeDetection:0}),Re})(),$=(()=>{class Re{}return Re.\u0275fac=function(oe){return new(oe||Re)},Re.\u0275mod=r.oAB({type:Re}),Re.\u0275inj=r.cJS({imports:[ht]}),Re})();const te=new r.OlP("MAT_OPTION_PARENT_COMPONENT"),W=new r.OlP("MatOptgroup");let $e=0;class vt{constructor(re,oe=!1){this.source=re,this.isUserInput=oe}}let mt=(()=>{class Re{constructor(oe,Ne,Dt,Ft){this._element=oe,this._changeDetectorRef=Ne,this._parent=Dt,this.group=Ft,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id="mat-option-"+$e++,this.onSelectionChange=new r.vpe,this._stateChanges=new ae.x}get multiple(){return this._parent&&this._parent.multiple}get selected(){return this._selected}get disabled(){return this.group&&this.group.disabled||this._disabled}set disabled(oe){this._disabled=(0,ve.Ig)(oe)}get disableRipple(){return!(!this._parent||!this._parent.disableRipple)}get active(){return this._active}get viewValue(){return(this._getHostElement().textContent||"").trim()}select(){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}deselect(){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}focus(oe,Ne){const Dt=this._getHostElement();"function"==typeof Dt.focus&&Dt.focus(Ne)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(oe){(oe.keyCode===ie.K5||oe.keyCode===ie.L_)&&!(0,ie.Vb)(oe)&&(this._selectViaInteraction(),oe.preventDefault())}_selectViaInteraction(){this.disabled||(this._selected=!this.multiple||!this._selected,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}_getAriaSelected(){return this.selected||!this.multiple&&null}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._element.nativeElement}ngAfterViewChecked(){if(this._selected){const oe=this.viewValue;oe!==this._mostRecentViewValue&&(this._mostRecentViewValue=oe,this._stateChanges.next())}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(oe=!1){this.onSelectionChange.emit(new vt(this,oe))}}return Re.\u0275fac=function(oe){r.$Z()},Re.\u0275dir=r.lG2({type:Re,inputs:{value:"value",id:"id",disabled:"disabled"},outputs:{onSelectionChange:"onSelectionChange"}}),Re})(),it=(()=>{class Re extends mt{constructor(oe,Ne,Dt,Ft){super(oe,Ne,Dt,Ft)}}return Re.\u0275fac=function(oe){return new(oe||Re)(r.Y36(r.SBq),r.Y36(r.sBO),r.Y36(te,8),r.Y36(W,8))},Re.\u0275cmp=r.Xpm({type:Re,selectors:[["mat-option"]],hostAttrs:["role","option",1,"mat-option","mat-focus-indicator"],hostVars:12,hostBindings:function(oe,Ne){1&oe&&r.NdJ("click",function(){return Ne._selectViaInteraction()})("keydown",function(Ft){return Ne._handleKeydown(Ft)}),2&oe&&(r.Ikx("id",Ne.id),r.uIk("tabindex",Ne._getTabIndex())("aria-selected",Ne._getAriaSelected())("aria-disabled",Ne.disabled.toString()),r.ekj("mat-selected",Ne.selected)("mat-option-multiple",Ne.multiple)("mat-active",Ne.active)("mat-option-disabled",Ne.disabled))},exportAs:["matOption"],features:[r.qOj],ngContentSelectors:Be,decls:5,vars:4,consts:[["class","mat-option-pseudo-checkbox",3,"state","disabled",4,"ngIf"],[1,"mat-option-text"],["class","cdk-visually-hidden",4,"ngIf"],["mat-ripple","",1,"mat-option-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-option-pseudo-checkbox",3,"state","disabled"],[1,"cdk-visually-hidden"]],template:function(oe,Ne){1&oe&&(r.F$t(),r.YNc(0,_e,1,2,"mat-pseudo-checkbox",0),r.TgZ(1,"span",1),r.Hsn(2),r.qZA(),r.YNc(3,Ue,2,1,"span",2),r._UZ(4,"div",3)),2&oe&&(r.Q6J("ngIf",Ne.multiple),r.xp6(3),r.Q6J("ngIf",Ne.group&&Ne.group._inert),r.xp6(1),r.Q6J("matRippleTrigger",Ne._getHostElement())("matRippleDisabled",Ne.disabled||Ne.disableRipple))},dependencies:[V,z.O5,Y],styles:['.mat-option{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative;cursor:pointer;outline:none;display:flex;flex-direction:row;max-width:100%;box-sizing:border-box;align-items:center;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-option[disabled]{cursor:default}[dir=rtl] .mat-option{text-align:right}.mat-option .mat-icon{margin-right:16px;vertical-align:middle}.mat-option .mat-icon svg{vertical-align:top}[dir=rtl] .mat-option .mat-icon{margin-left:16px;margin-right:0}.mat-option[aria-disabled=true]{-webkit-user-select:none;user-select:none;cursor:default}.mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:32px}[dir=rtl] .mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:16px;padding-right:32px}.mat-option.mat-active::before{content:""}.cdk-high-contrast-active .mat-option[aria-disabled=true]{opacity:.5}.cdk-high-contrast-active .mat-option.mat-selected:not(.mat-option-multiple)::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}[dir=rtl] .cdk-high-contrast-active .mat-option.mat-selected:not(.mat-option-multiple)::after{right:auto;left:16px}.mat-option-text{display:inline-block;flex-grow:1;overflow:hidden;text-overflow:ellipsis}.mat-option .mat-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-option-pseudo-checkbox{margin-right:8px}[dir=rtl] .mat-option-pseudo-checkbox{margin-left:8px;margin-right:0}'],encapsulation:2,changeDetection:0}),Re})();function wt(Re,re,oe){if(oe.length){let Ne=re.toArray(),Dt=oe.toArray(),Ft=0;for(let Bt=0;Bt<Re+1;Bt++)Ne[Bt].group&&Ne[Bt].group===Dt[Ft]&&Ft++;return Ft}return 0}function an(Re,re,oe,Ne){return Re<oe?Re:Re+re>oe+Ne?Math.max(0,Re-Ne+re):oe}let kt=(()=>{class Re{}return Re.\u0275fac=function(oe){return new(oe||Re)},Re.\u0275mod=r.oAB({type:Re}),Re.\u0275inj=r.cJS({imports:[H,z.ez,ht,$]}),Re})()},5412:(dt,Ee,D)=>{D.d(Ee,{WI:()=>De,uw:()=>hn,H8:()=>mn,xY:()=>gn,Is:()=>V,so:()=>we,uh:()=>Kt});var r=D(7188),d=D(8184),J=D(3353),G=D(4080),z=D(6895),K=D(1571),ve=D(9521),ae=D(7579),ie=D(9770),ee=D(9646),he=D(445),_e=D(8675);function Ue(H,Y){}class Be{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.ariaModal=!0,this.autoFocus="first-tabbable",this.restoreFocus=!0,this.closeOnNavigation=!0,this.closeOnDestroy=!0}}let Te=(()=>{class H extends G.en{constructor($,te,Me,de,Q,W,fe,$e){super(),this._elementRef=$,this._focusTrapFactory=te,this._config=de,this._interactivityChecker=Q,this._ngZone=W,this._overlayRef=fe,this._focusMonitor=$e,this._elementFocusedBeforeDialogWasOpened=null,this._closeInteractionType=null,this.attachDomPortal=vt=>{this._portalOutlet.hasAttached();const mt=this._portalOutlet.attachDomPortal(vt);return this._contentAttached(),mt},this._ariaLabelledBy=this._config.ariaLabelledBy||null,this._document=Me}_contentAttached(){this._initializeFocusTrap(),this._handleBackdropClicks(),this._captureInitialFocus()}_captureInitialFocus(){this._trapFocus()}ngOnDestroy(){this._restoreFocus()}attachComponentPortal($){this._portalOutlet.hasAttached();const te=this._portalOutlet.attachComponentPortal($);return this._contentAttached(),te}attachTemplatePortal($){this._portalOutlet.hasAttached();const te=this._portalOutlet.attachTemplatePortal($);return this._contentAttached(),te}_recaptureFocus(){this._containsFocus()||this._trapFocus()}_forceFocus($,te){this._interactivityChecker.isFocusable($)||($.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{const Me=()=>{$.removeEventListener("blur",Me),$.removeEventListener("mousedown",Me),$.removeAttribute("tabindex")};$.addEventListener("blur",Me),$.addEventListener("mousedown",Me)})),$.focus(te)}_focusByCssSelector($,te){let Me=this._elementRef.nativeElement.querySelector($);Me&&this._forceFocus(Me,te)}_trapFocus(){const $=this._elementRef.nativeElement;switch(this._config.autoFocus){case!1:case"dialog":this._containsFocus()||$.focus();break;case!0:case"first-tabbable":this._focusTrap.focusInitialElementWhenReady().then(te=>{te||this._focusDialogContainer()});break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]');break;default:this._focusByCssSelector(this._config.autoFocus)}}_restoreFocus(){const $=this._config.restoreFocus;let te=null;if("string"==typeof $?te=this._document.querySelector($):"boolean"==typeof $?te=$?this._elementFocusedBeforeDialogWasOpened:null:$&&(te=$),this._config.restoreFocus&&te&&"function"==typeof te.focus){const Me=(0,J.ht)(),de=this._elementRef.nativeElement;(!Me||Me===this._document.body||Me===de||de.contains(Me))&&(this._focusMonitor?(this._focusMonitor.focusVia(te,this._closeInteractionType),this._closeInteractionType=null):te.focus())}this._focusTrap&&this._focusTrap.destroy()}_focusDialogContainer(){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus()}_containsFocus(){const $=this._elementRef.nativeElement,te=(0,J.ht)();return $===te||$.contains(te)}_initializeFocusTrap(){this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._document&&(this._elementFocusedBeforeDialogWasOpened=(0,J.ht)())}_handleBackdropClicks(){this._overlayRef.backdropClick().subscribe(()=>{this._config.disableClose&&this._recaptureFocus()})}}return H.\u0275fac=function($){return new($||H)(K.Y36(K.SBq),K.Y36(r.qV),K.Y36(z.K0,8),K.Y36(Be),K.Y36(r.ic),K.Y36(K.R0b),K.Y36(d.Iu),K.Y36(r.tE))},H.\u0275cmp=K.Xpm({type:H,selectors:[["cdk-dialog-container"]],viewQuery:function($,te){if(1&$&&K.Gf(G.Pl,7),2&$){let Me;K.iGM(Me=K.CRH())&&(te._portalOutlet=Me.first)}},hostAttrs:["tabindex","-1",1,"cdk-dialog-container"],hostVars:6,hostBindings:function($,te){2&$&&K.uIk("id",te._config.id||null)("role",te._config.role)("aria-modal",te._config.ariaModal)("aria-labelledby",te._config.ariaLabel?null:te._ariaLabelledBy)("aria-label",te._config.ariaLabel)("aria-describedby",te._config.ariaDescribedBy||null)},features:[K.qOj],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function($,te){1&$&&K.YNc(0,Ue,0,0,"ng-template",0)},dependencies:[G.Pl],styles:[".cdk-dialog-container{display:block;width:100%;height:100%;min-height:inherit;max-height:inherit}"],encapsulation:2}),H})();class Ve{constructor(Y,$){this.overlayRef=Y,this.config=$,this.closed=new ae.x,this.disableClose=$.disableClose,this.backdropClick=Y.backdropClick(),this.keydownEvents=Y.keydownEvents(),this.outsidePointerEvents=Y.outsidePointerEvents(),this.id=$.id,this.keydownEvents.subscribe(te=>{te.keyCode===ve.hY&&!this.disableClose&&!(0,ve.Vb)(te)&&(te.preventDefault(),this.close(void 0,{focusOrigin:"keyboard"}))}),this.backdropClick.subscribe(()=>{this.disableClose||this.close(void 0,{focusOrigin:"mouse"})})}close(Y,$){if(this.containerInstance){const te=this.closed;this.containerInstance._closeInteractionType=$?.focusOrigin||"program",this.overlayRef.dispose(),te.next(Y),te.complete(),this.componentInstance=this.containerInstance=null}}updatePosition(){return this.overlayRef.updatePosition(),this}updateSize(Y="",$=""){return this.overlayRef.updateSize({width:Y,height:$}),this}addPanelClass(Y){return this.overlayRef.addPanelClass(Y),this}removePanelClass(Y){return this.overlayRef.removePanelClass(Y),this}}const Je=new K.OlP("DialogScrollStrategy"),Se=new K.OlP("DialogData"),ht=new K.OlP("DefaultDialogConfig"),Z={provide:Je,deps:[d.aV],useFactory:function le(H){return()=>H.scrollStrategies.block()}};let Oe=0,Le=(()=>{class H{constructor($,te,Me,de,Q,W){this._overlay=$,this._injector=te,this._defaultOptions=Me,this._parentDialog=de,this._overlayContainer=Q,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new ae.x,this._afterOpenedAtThisLevel=new ae.x,this._ariaHiddenElements=new Map,this.afterAllClosed=(0,ie.P)(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe((0,_e.O)(void 0))),this._scrollStrategy=W}get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}open($,te){(te={...this._defaultOptions||new Be,...te}).id=te.id||"cdk-dialog-"+Oe++,te.id&&this.getDialogById(te.id);const de=this._getOverlayConfig(te),Q=this._overlay.create(de),W=new Ve(Q,te),fe=this._attachContainer(Q,W,te);return W.containerInstance=fe,this._attachDialogContent($,W,fe,te),this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(W),W.closed.subscribe(()=>this._removeOpenDialog(W,!0)),this.afterOpened.next(W),W}closeAll(){Ae(this.openDialogs,$=>$.close())}getDialogById($){return this.openDialogs.find(te=>te.id===$)}ngOnDestroy(){Ae(this._openDialogsAtThisLevel,$=>{!1===$.config.closeOnDestroy&&this._removeOpenDialog($,!1)}),Ae(this._openDialogsAtThisLevel,$=>$.close()),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete(),this._openDialogsAtThisLevel=[]}_getOverlayConfig($){const te=new d.X_({positionStrategy:$.positionStrategy||this._overlay.position().global().centerHorizontally().centerVertically(),scrollStrategy:$.scrollStrategy||this._scrollStrategy(),panelClass:$.panelClass,hasBackdrop:$.hasBackdrop,direction:$.direction,minWidth:$.minWidth,minHeight:$.minHeight,maxWidth:$.maxWidth,maxHeight:$.maxHeight,width:$.width,height:$.height,disposeOnNavigation:$.closeOnNavigation});return $.backdropClass&&(te.backdropClass=$.backdropClass),te}_attachContainer($,te,Me){const de=Me.injector??Me.viewContainerRef?.injector,Q=[{provide:Be,useValue:Me},{provide:Ve,useValue:te},{provide:d.Iu,useValue:$}];let W;Me.container?"function"==typeof Me.container?W=Me.container:(W=Me.container.type,Q.push(...Me.container.providers(Me))):W=Te;const fe=new G.C5(W,Me.viewContainerRef,K.zs3.create({parent:de||this._injector,providers:Q}),Me.componentFactoryResolver);return $.attach(fe).instance}_attachDialogContent($,te,Me,de){const Q=this._createInjector(de,te,Me);if($ instanceof K.Rgc){let W={$implicit:de.data,dialogRef:te};de.templateContext&&(W={...W,..."function"==typeof de.templateContext?de.templateContext():de.templateContext}),Me.attachTemplatePortal(new G.UE($,null,W,Q))}else{const W=Me.attachComponentPortal(new G.C5($,de.viewContainerRef,Q,de.componentFactoryResolver));te.componentInstance=W.instance}}_createInjector($,te,Me){const de=$&&$.viewContainerRef&&$.viewContainerRef.injector,Q=[{provide:Se,useValue:$.data},{provide:Ve,useValue:te}];return $.providers&&("function"==typeof $.providers?Q.push(...$.providers(te,$,Me)):Q.push(...$.providers)),$.direction&&(!de||!de.get(he.Is,null,K.XFs.Optional))&&Q.push({provide:he.Is,useValue:{value:$.direction,change:(0,ee.of)()}}),K.zs3.create({parent:$.injector||de||this._injector,providers:Q})}_removeOpenDialog($,te){const Me=this.openDialogs.indexOf($);Me>-1&&(this.openDialogs.splice(Me,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((de,Q)=>{de?Q.setAttribute("aria-hidden",de):Q.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),te&&this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(){const $=this._overlayContainer.getContainerElement();if($.parentElement){const te=$.parentElement.children;for(let Me=te.length-1;Me>-1;Me--){const de=te[Me];de!==$&&"SCRIPT"!==de.nodeName&&"STYLE"!==de.nodeName&&!de.hasAttribute("aria-live")&&(this._ariaHiddenElements.set(de,de.getAttribute("aria-hidden")),de.setAttribute("aria-hidden","true"))}}}_getAfterAllClosed(){const $=this._parentDialog;return $?$._getAfterAllClosed():this._afterAllClosedAtThisLevel}}return H.\u0275fac=function($){return new($||H)(K.LFG(d.aV),K.LFG(K.zs3),K.LFG(ht,8),K.LFG(H,12),K.LFG(d.Xj),K.LFG(Je))},H.\u0275prov=K.Yz7({token:H,factory:H.\u0275fac}),H})();function Ae(H,Y){let $=H.length;for(;$--;)Y(H[$])}let Ge=(()=>{class H{}return H.\u0275fac=function($){return new($||H)},H.\u0275mod=K.oAB({type:H}),H.\u0275inj=K.cJS({providers:[Le,Z],imports:[d.U8,G.eL,r.rt,G.eL]}),H})();var We=D(3238),ye=D(6451),be=D(9300),ke=D(5698),Ce=D(7340);function ut(H,Y){}const Ke={params:{enterAnimationDuration:"150ms",exitAnimationDuration:"75ms"}},Et={dialogContainer:(0,Ce.X$)("dialogContainer",[(0,Ce.SB)("void, exit",(0,Ce.oB)({opacity:0,transform:"scale(0.7)"})),(0,Ce.SB)("enter",(0,Ce.oB)({transform:"none"})),(0,Ce.eR)("* => enter",(0,Ce.ru)([(0,Ce.jt)("{{enterAnimationDuration}} cubic-bezier(0, 0, 0.2, 1)",(0,Ce.oB)({transform:"none",opacity:1})),(0,Ce.IO)("@*",(0,Ce.pV)(),{optional:!0})]),Ke),(0,Ce.eR)("* => void, * => exit",(0,Ce.ru)([(0,Ce.jt)("{{exitAnimationDuration}} cubic-bezier(0.4, 0.0, 0.2, 1)",(0,Ce.oB)({opacity:0})),(0,Ce.IO)("@*",(0,Ce.pV)(),{optional:!0})]),Ke)])};class Rt{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.maxWidth="80vw",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.autoFocus="first-tabbable",this.restoreFocus=!0,this.delayFocusTrap=!0,this.closeOnNavigation=!0,this.enterAnimationDuration=Ke.params.enterAnimationDuration,this.exitAnimationDuration=Ke.params.exitAnimationDuration}}let ft=(()=>{class H extends Te{constructor($,te,Me,de,Q,W,fe,$e){super($,te,Me,de,Q,W,fe,$e),this._animationStateChanged=new K.vpe}_captureInitialFocus(){this._config.delayFocusTrap||this._trapFocus()}_openAnimationDone($){this._config.delayFocusTrap&&this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:$})}}return H.\u0275fac=function($){return new($||H)(K.Y36(K.SBq),K.Y36(r.qV),K.Y36(z.K0,8),K.Y36(Rt),K.Y36(r.ic),K.Y36(K.R0b),K.Y36(d.Iu),K.Y36(r.tE))},H.\u0275cmp=K.Xpm({type:H,selectors:[["ng-component"]],features:[K.qOj],decls:0,vars:0,template:function($,te){},encapsulation:2}),H})(),ot=(()=>{class H extends ft{constructor($,te,Me,de,Q,W,fe,$e,vt){super($,te,Me,de,Q,W,fe,vt),this._changeDetectorRef=$e,this._state="enter"}_onAnimationDone({toState:$,totalTime:te}){"enter"===$?this._openAnimationDone(te):"exit"===$&&this._animationStateChanged.next({state:"closed",totalTime:te})}_onAnimationStart({toState:$,totalTime:te}){"enter"===$?this._animationStateChanged.next({state:"opening",totalTime:te}):("exit"===$||"void"===$)&&this._animationStateChanged.next({state:"closing",totalTime:te})}_startExitAnimation(){this._state="exit",this._changeDetectorRef.markForCheck()}_getAnimationState(){return{value:this._state,params:{enterAnimationDuration:this._config.enterAnimationDuration||Ke.params.enterAnimationDuration,exitAnimationDuration:this._config.exitAnimationDuration||Ke.params.exitAnimationDuration}}}}return H.\u0275fac=function($){return new($||H)(K.Y36(K.SBq),K.Y36(r.qV),K.Y36(z.K0,8),K.Y36(Rt),K.Y36(r.ic),K.Y36(K.R0b),K.Y36(d.Iu),K.Y36(K.sBO),K.Y36(r.tE))},H.\u0275cmp=K.Xpm({type:H,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1",1,"mat-dialog-container"],hostVars:7,hostBindings:function($,te){1&$&&K.WFA("@dialogContainer.start",function(de){return te._onAnimationStart(de)})("@dialogContainer.done",function(de){return te._onAnimationDone(de)}),2&$&&(K.Ikx("id",te._config.id),K.uIk("aria-modal",te._config.ariaModal)("role",te._config.role)("aria-labelledby",te._config.ariaLabel?null:te._ariaLabelledBy)("aria-label",te._config.ariaLabel)("aria-describedby",te._config.ariaDescribedBy||null),K.d8E("@dialogContainer",te._getAnimationState()))},features:[K.qOj],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function($,te){1&$&&K.YNc(0,ut,0,0,"ng-template",0)},dependencies:[G.Pl],styles:[".mat-dialog-container{display:block;padding:24px;border-radius:4px;box-sizing:border-box;overflow:auto;outline:0;width:100%;height:100%;min-height:inherit;max-height:inherit}.cdk-high-contrast-active .mat-dialog-container{outline:solid 1px}.mat-dialog-content{display:block;margin:0 -24px;padding:0 24px;max-height:65vh;overflow:auto;-webkit-overflow-scrolling:touch}.mat-dialog-title{margin:0 0 20px;display:block}.mat-dialog-actions{padding:8px 0;display:flex;flex-wrap:wrap;min-height:52px;align-items:center;box-sizing:content-box;margin-bottom:-24px}.mat-dialog-actions.mat-dialog-actions-align-center,.mat-dialog-actions[align=center]{justify-content:center}.mat-dialog-actions.mat-dialog-actions-align-end,.mat-dialog-actions[align=end]{justify-content:flex-end}.mat-dialog-actions .mat-button-base+.mat-button-base,.mat-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-dialog-actions .mat-button-base+.mat-button-base,[dir=rtl] .mat-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:0;margin-right:8px}"],encapsulation:2,data:{animation:[Et.dialogContainer]}}),H})();class we{constructor(Y,$,te){this._ref=Y,this._containerInstance=te,this._afterOpened=new ae.x,this._beforeClosed=new ae.x,this._state=0,this.disableClose=$.disableClose,this.id=Y.id,te._animationStateChanged.pipe((0,be.h)(Me=>"opened"===Me.state),(0,ke.q)(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),te._animationStateChanged.pipe((0,be.h)(Me=>"closed"===Me.state),(0,ke.q)(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),Y.overlayRef.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._finishDialogClose()}),(0,ye.T)(this.backdropClick(),this.keydownEvents().pipe((0,be.h)(Me=>Me.keyCode===ve.hY&&!this.disableClose&&!(0,ve.Vb)(Me)))).subscribe(Me=>{this.disableClose||(Me.preventDefault(),function pt(H,Y,$){H._closeInteractionType=Y,H.close($)}(this,"keydown"===Me.type?"keyboard":"mouse"))})}close(Y){this._result=Y,this._containerInstance._animationStateChanged.pipe((0,be.h)($=>"closing"===$.state),(0,ke.q)(1)).subscribe($=>{this._beforeClosed.next(Y),this._beforeClosed.complete(),this._ref.overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),$.totalTime+100)}),this._state=1,this._containerInstance._startExitAnimation()}afterOpened(){return this._afterOpened}afterClosed(){return this._ref.closed}beforeClosed(){return this._beforeClosed}backdropClick(){return this._ref.backdropClick}keydownEvents(){return this._ref.keydownEvents}updatePosition(Y){let $=this._ref.config.positionStrategy;return Y&&(Y.left||Y.right)?Y.left?$.left(Y.left):$.right(Y.right):$.centerHorizontally(),Y&&(Y.top||Y.bottom)?Y.top?$.top(Y.top):$.bottom(Y.bottom):$.centerVertically(),this._ref.updatePosition(),this}updateSize(Y="",$=""){return this._ref.updateSize(Y,$),this}addPanelClass(Y){return this._ref.addPanelClass(Y),this}removePanelClass(Y){return this._ref.removePanelClass(Y),this}getState(){return this._state}_finishDialogClose(){this._state=2,this._ref.close(this._result,{focusOrigin:this._closeInteractionType}),this.componentInstance=null}}const De=new K.OlP("MatDialogData"),xe=new K.OlP("mat-dialog-default-options"),ge=new K.OlP("mat-dialog-scroll-strategy"),_t={provide:ge,deps:[d.aV],useFactory:function Ze(H){return()=>H.scrollStrategies.block()}};let Wt=0,rn=(()=>{class H{constructor($,te,Me,de,Q,W,fe,$e,vt,mt){this._overlay=$,this._defaultOptions=Me,this._parentDialog=de,this._dialogRefConstructor=fe,this._dialogContainerType=$e,this._dialogDataToken=vt,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new ae.x,this._afterOpenedAtThisLevel=new ae.x,this._idPrefix="mat-dialog-",this.afterAllClosed=(0,ie.P)(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe((0,_e.O)(void 0))),this._scrollStrategy=W,this._dialog=te.get(Le)}get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}_getAfterAllClosed(){const $=this._parentDialog;return $?$._getAfterAllClosed():this._afterAllClosedAtThisLevel}open($,te){let Me;(te={...this._defaultOptions||new Rt,...te}).id=te.id||`${this._idPrefix}${Wt++}`,te.scrollStrategy=te.scrollStrategy||this._scrollStrategy();const de=this._dialog.open($,{...te,positionStrategy:this._overlay.position().global().centerHorizontally().centerVertically(),disableClose:!0,closeOnDestroy:!1,container:{type:this._dialogContainerType,providers:()=>[{provide:Rt,useValue:te},{provide:Be,useValue:te}]},templateContext:()=>({dialogRef:Me}),providers:(Q,W,fe)=>(Me=new this._dialogRefConstructor(Q,te,fe),Me.updatePosition(te?.position),[{provide:this._dialogContainerType,useValue:fe},{provide:this._dialogDataToken,useValue:W.data},{provide:this._dialogRefConstructor,useValue:Me}])});return Me.componentInstance=de.componentInstance,this.openDialogs.push(Me),this.afterOpened.next(Me),Me.afterClosed().subscribe(()=>{const Q=this.openDialogs.indexOf(Me);Q>-1&&(this.openDialogs.splice(Q,1),this.openDialogs.length||this._getAfterAllClosed().next())}),Me}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById($){return this.openDialogs.find(te=>te.id===$)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}_closeDialogs($){let te=$.length;for(;te--;)$[te].close()}}return H.\u0275fac=function($){K.$Z()},H.\u0275prov=K.Yz7({token:H,factory:H.\u0275fac}),H})(),hn=(()=>{class H extends rn{constructor($,te,Me,de,Q,W,fe,$e){super($,te,de,W,fe,Q,we,ot,De,$e)}}return H.\u0275fac=function($){return new($||H)(K.LFG(d.aV),K.LFG(K.zs3),K.LFG(z.Ye,8),K.LFG(xe,8),K.LFG(ge),K.LFG(H,12),K.LFG(d.Xj),K.LFG(K.QbO,8))},H.\u0275prov=K.Yz7({token:H,factory:H.\u0275fac}),H})(),tn=0,Kt=(()=>{class H{constructor($,te,Me){this._dialogRef=$,this._elementRef=te,this._dialog=Me,this.id="mat-dialog-title-"+tn++}ngOnInit(){this._dialogRef||(this._dialogRef=function He(H,Y){let $=H.nativeElement.parentElement;for(;$&&!$.classList.contains("mat-dialog-container");)$=$.parentElement;return $?Y.find(te=>te.id===$.id):null}(this._elementRef,this._dialog.openDialogs)),this._dialogRef&&Promise.resolve().then(()=>{const $=this._dialogRef._containerInstance;$&&!$._ariaLabelledBy&&($._ariaLabelledBy=this.id)})}}return H.\u0275fac=function($){return new($||H)(K.Y36(we,8),K.Y36(K.SBq),K.Y36(hn))},H.\u0275dir=K.lG2({type:H,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-dialog-title"],hostVars:1,hostBindings:function($,te){2&$&&K.Ikx("id",te.id)},inputs:{id:"id"},exportAs:["matDialogTitle"]}),H})(),gn=(()=>{class H{}return H.\u0275fac=function($){return new($||H)},H.\u0275dir=K.lG2({type:H,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-dialog-content"]}),H})(),mn=(()=>{class H{constructor(){this.align="start"}}return H.\u0275fac=function($){return new($||H)},H.\u0275dir=K.lG2({type:H,selectors:[["","mat-dialog-actions",""],["mat-dialog-actions"],["","matDialogActions",""]],hostAttrs:[1,"mat-dialog-actions"],hostVars:4,hostBindings:function($,te){2&$&&K.ekj("mat-dialog-actions-align-center","center"===te.align)("mat-dialog-actions-align-end","end"===te.align)},inputs:{align:"align"}}),H})(),V=(()=>{class H{}return H.\u0275fac=function($){return new($||H)},H.\u0275mod=K.oAB({type:H}),H.\u0275inj=K.cJS({providers:[hn,_t],imports:[Ge,d.U8,G.eL,We.BQ,We.BQ]}),H})()},1481:(dt,Ee,D)=>{D.d(Ee,{Dx:()=>Q,H7:()=>et,b2:()=>Y,q6:()=>mn,se:()=>Ce});var r=D(6895),d=D(1571);class J extends r.w_{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class G extends J{static makeCurrent(){(0,r.HT)(new G)}onAndCancel(_,w,P){return _.addEventListener(w,P,!1),()=>{_.removeEventListener(w,P,!1)}}dispatchEvent(_,w){_.dispatchEvent(w)}remove(_){_.parentNode&&_.parentNode.removeChild(_)}createElement(_,w){return(w=w||this.getDefaultDocument()).createElement(_)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(_){return _.nodeType===Node.ELEMENT_NODE}isShadowRoot(_){return _ instanceof DocumentFragment}getGlobalEventTarget(_,w){return"window"===w?window:"document"===w?_:"body"===w?_.body:null}getBaseHref(_){const w=function K(){return z=z||document.querySelector("base"),z?z.getAttribute("href"):null}();return null==w?null:function ae(v){ve=ve||document.createElement("a"),ve.setAttribute("href",v);const _=ve.pathname;return"/"===_.charAt(0)?_:`/${_}`}(w)}resetBaseElement(){z=null}getUserAgent(){return window.navigator.userAgent}getCookie(_){return(0,r.Mx)(document.cookie,_)}}let ve,z=null;const ie=new d.OlP("TRANSITION_ID"),he=[{provide:d.ip1,useFactory:function ee(v,_,w){return()=>{w.get(d.CZH).donePromise.then(()=>{const P=(0,r.q)(),ue=_.querySelectorAll(`style[ng-transition="${v}"]`);for(let qe=0;qe<ue.length;qe++)P.remove(ue[qe])})}},deps:[ie,r.K0,d.zs3],multi:!0}];let Ue=(()=>{class v{build(){return new XMLHttpRequest}}return v.\u0275fac=function(w){return new(w||v)},v.\u0275prov=d.Yz7({token:v,factory:v.\u0275fac}),v})();const Be=new d.OlP("EventManagerPlugins");let je=(()=>{class v{constructor(w,P){this._zone=P,this._eventNameToPlugin=new Map,w.forEach(ue=>ue.manager=this),this._plugins=w.slice().reverse()}addEventListener(w,P,ue){return this._findPluginFor(P).addEventListener(w,P,ue)}addGlobalEventListener(w,P,ue){return this._findPluginFor(P).addGlobalEventListener(w,P,ue)}getZone(){return this._zone}_findPluginFor(w){const P=this._eventNameToPlugin.get(w);if(P)return P;const ue=this._plugins;for(let qe=0;qe<ue.length;qe++){const st=ue[qe];if(st.supports(w))return this._eventNameToPlugin.set(w,st),st}throw new Error(`No event manager plugin found for event ${w}`)}}return v.\u0275fac=function(w){return new(w||v)(d.LFG(Be),d.LFG(d.R0b))},v.\u0275prov=d.Yz7({token:v,factory:v.\u0275fac}),v})();class Te{constructor(_){this._doc=_}addGlobalEventListener(_,w,P){const ue=(0,r.q)().getGlobalEventTarget(this._doc,_);if(!ue)throw new Error(`Unsupported event target ${ue} for event ${w}`);return this.addEventListener(ue,w,P)}}let Ve=(()=>{class v{constructor(){this._stylesSet=new Set}addStyles(w){const P=new Set;w.forEach(ue=>{this._stylesSet.has(ue)||(this._stylesSet.add(ue),P.add(ue))}),this.onStylesAdded(P)}onStylesAdded(w){}getAllStyles(){return Array.from(this._stylesSet)}}return v.\u0275fac=function(w){return new(w||v)},v.\u0275prov=d.Yz7({token:v,factory:v.\u0275fac}),v})(),Je=(()=>{class v extends Ve{constructor(w){super(),this._doc=w,this._hostNodes=new Map,this._hostNodes.set(w.head,[])}_addStylesToHost(w,P,ue){w.forEach(qe=>{const st=this._doc.createElement("style");st.textContent=qe,ue.push(P.appendChild(st))})}addHost(w){const P=[];this._addStylesToHost(this._stylesSet,w,P),this._hostNodes.set(w,P)}removeHost(w){const P=this._hostNodes.get(w);P&&P.forEach(Se),this._hostNodes.delete(w)}onStylesAdded(w){this._hostNodes.forEach((P,ue)=>{this._addStylesToHost(w,ue,P)})}ngOnDestroy(){this._hostNodes.forEach(w=>w.forEach(Se))}}return v.\u0275fac=function(w){return new(w||v)(d.LFG(r.K0))},v.\u0275prov=d.Yz7({token:v,factory:v.\u0275fac}),v})();function Se(v){(0,r.q)().remove(v)}const ht={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/"},le=/%COMP%/g;function ye(v,_,w){for(let P=0;P<_.length;P++){let ue=_[P];Array.isArray(ue)?ye(v,ue,w):(ue=ue.replace(le,v),w.push(ue))}return w}function be(v){return _=>{if("__ngUnwrap__"===_)return v;!1===v(_)&&(_.preventDefault(),_.returnValue=!1)}}let Ce=(()=>{class v{constructor(w,P,ue){this.eventManager=w,this.sharedStylesHost=P,this.appId=ue,this.rendererByCompId=new Map,this.defaultRenderer=new ut(w)}createRenderer(w,P){if(!w||!P)return this.defaultRenderer;switch(P.encapsulation){case d.ifc.Emulated:{let ue=this.rendererByCompId.get(P.id);return ue||(ue=new ft(this.eventManager,this.sharedStylesHost,P,this.appId),this.rendererByCompId.set(P.id,ue)),ue.applyToHost(w),ue}case 1:case d.ifc.ShadowDom:return new ot(this.eventManager,this.sharedStylesHost,w,P);default:if(!this.rendererByCompId.has(P.id)){const ue=ye(P.id,P.styles,[]);this.sharedStylesHost.addStyles(ue),this.rendererByCompId.set(P.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return v.\u0275fac=function(w){return new(w||v)(d.LFG(je),d.LFG(Je),d.LFG(d.AFp))},v.\u0275prov=d.Yz7({token:v,factory:v.\u0275fac}),v})();class ut{constructor(_){this.eventManager=_,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(_,w){return w?document.createElementNS(ht[w]||w,_):document.createElement(_)}createComment(_){return document.createComment(_)}createText(_){return document.createTextNode(_)}appendChild(_,w){(Rt(_)?_.content:_).appendChild(w)}insertBefore(_,w,P){_&&(Rt(_)?_.content:_).insertBefore(w,P)}removeChild(_,w){_&&_.removeChild(w)}selectRootElement(_,w){let P="string"==typeof _?document.querySelector(_):_;if(!P)throw new Error(`The selector "${_}" did not match any elements`);return w||(P.textContent=""),P}parentNode(_){return _.parentNode}nextSibling(_){return _.nextSibling}setAttribute(_,w,P,ue){if(ue){w=ue+":"+w;const qe=ht[ue];qe?_.setAttributeNS(qe,w,P):_.setAttribute(w,P)}else _.setAttribute(w,P)}removeAttribute(_,w,P){if(P){const ue=ht[P];ue?_.removeAttributeNS(ue,w):_.removeAttribute(`${P}:${w}`)}else _.removeAttribute(w)}addClass(_,w){_.classList.add(w)}removeClass(_,w){_.classList.remove(w)}setStyle(_,w,P,ue){ue&(d.JOm.DashCase|d.JOm.Important)?_.style.setProperty(w,P,ue&d.JOm.Important?"important":""):_.style[w]=P}removeStyle(_,w,P){P&d.JOm.DashCase?_.style.removeProperty(w):_.style[w]=""}setProperty(_,w,P){_[w]=P}setValue(_,w){_.nodeValue=w}listen(_,w,P){return"string"==typeof _?this.eventManager.addGlobalEventListener(_,w,be(P)):this.eventManager.addEventListener(_,w,be(P))}}function Rt(v){return"TEMPLATE"===v.tagName&&void 0!==v.content}class ft extends ut{constructor(_,w,P,ue){super(_),this.component=P;const qe=ye(ue+"-"+P.id,P.styles,[]);w.addStyles(qe),this.contentAttr=function Ge(v){return"_ngcontent-%COMP%".replace(le,v)}(ue+"-"+P.id),this.hostAttr=function We(v){return"_nghost-%COMP%".replace(le,v)}(ue+"-"+P.id)}applyToHost(_){super.setAttribute(_,this.hostAttr,"")}createElement(_,w){const P=super.createElement(_,w);return super.setAttribute(P,this.contentAttr,""),P}}class ot extends ut{constructor(_,w,P,ue){super(_),this.sharedStylesHost=w,this.hostEl=P,this.shadowRoot=P.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const qe=ye(ue.id,ue.styles,[]);for(let st=0;st<qe.length;st++){const Vt=document.createElement("style");Vt.textContent=qe[st],this.shadowRoot.appendChild(Vt)}}nodeOrShadowRoot(_){return _===this.hostEl?this.shadowRoot:_}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}appendChild(_,w){return super.appendChild(this.nodeOrShadowRoot(_),w)}insertBefore(_,w,P){return super.insertBefore(this.nodeOrShadowRoot(_),w,P)}removeChild(_,w){return super.removeChild(this.nodeOrShadowRoot(_),w)}parentNode(_){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(_)))}}let we=(()=>{class v extends Te{constructor(w){super(w)}supports(w){return!0}addEventListener(w,P,ue){return w.addEventListener(P,ue,!1),()=>this.removeEventListener(w,P,ue)}removeEventListener(w,P,ue){return w.removeEventListener(P,ue)}}return v.\u0275fac=function(w){return new(w||v)(d.LFG(r.K0))},v.\u0275prov=d.Yz7({token:v,factory:v.\u0275fac}),v})();const pt=["alt","control","meta","shift"],xe={"\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"},ge={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"},Fe={alt:v=>v.altKey,control:v=>v.ctrlKey,meta:v=>v.metaKey,shift:v=>v.shiftKey};let Ze=(()=>{class v extends Te{constructor(w){super(w)}supports(w){return null!=v.parseEventName(w)}addEventListener(w,P,ue){const qe=v.parseEventName(P),st=v.eventCallback(qe.fullKey,ue,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,r.q)().onAndCancel(w,qe.domEventName,st))}static parseEventName(w){const P=w.toLowerCase().split("."),ue=P.shift();if(0===P.length||"keydown"!==ue&&"keyup"!==ue)return null;const qe=v._normalizeKey(P.pop());let st="";if(pt.forEach(Tt=>{const Qt=P.indexOf(Tt);Qt>-1&&(P.splice(Qt,1),st+=Tt+".")}),st+=qe,0!=P.length||0===qe.length)return null;const Vt={};return Vt.domEventName=ue,Vt.fullKey=st,Vt}static getEventFullKey(w){let P="",ue=function _t(v){let _=v.key;if(null==_){if(_=v.keyIdentifier,null==_)return"Unidentified";_.startsWith("U+")&&(_=String.fromCharCode(parseInt(_.substring(2),16)),3===v.location&&ge.hasOwnProperty(_)&&(_=ge[_]))}return xe[_]||_}(w);return ue=ue.toLowerCase()," "===ue?ue="space":"."===ue&&(ue="dot"),pt.forEach(qe=>{qe!=ue&&(0,Fe[qe])(w)&&(P+=qe+".")}),P+=ue,P}static eventCallback(w,P,ue){return qe=>{v.getEventFullKey(qe)===w&&ue.runGuarded(()=>P(qe))}}static _normalizeKey(w){return"esc"===w?"escape":w}}return v.\u0275fac=function(w){return new(w||v)(d.LFG(r.K0))},v.\u0275prov=d.Yz7({token:v,factory:v.\u0275fac}),v})();const mn=(0,d.eFA)(d._c5,"browser",[{provide:d.Lbi,useValue:r.bD},{provide:d.g9A,useValue:function tn(){G.makeCurrent()},multi:!0},{provide:r.K0,useFactory:function Kt(){return(0,d.RDi)(document),document},deps:[]}]),He=new d.OlP(""),V=[{provide:d.rWj,useClass:class _e{addToWindow(_){d.dqk.getAngularTestability=(P,ue=!0)=>{const qe=_.findTestabilityInTree(P,ue);if(null==qe)throw new Error("Could not find testability for element.");return qe},d.dqk.getAllAngularTestabilities=()=>_.getAllTestabilities(),d.dqk.getAllAngularRootElements=()=>_.getAllRootElements(),d.dqk.frameworkStabilizers||(d.dqk.frameworkStabilizers=[]),d.dqk.frameworkStabilizers.push(P=>{const ue=d.dqk.getAllAngularTestabilities();let qe=ue.length,st=!1;const Vt=function(Tt){st=st||Tt,qe--,0==qe&&P(st)};ue.forEach(function(Tt){Tt.whenStable(Vt)})})}findTestabilityInTree(_,w,P){return null==w?null:_.getTestability(w)??(P?(0,r.q)().isShadowRoot(w)?this.findTestabilityInTree(_,w.host,!0):this.findTestabilityInTree(_,w.parentElement,!0):null)}},deps:[]},{provide:d.lri,useClass:d.dDg,deps:[d.R0b,d.eoX,d.rWj]},{provide:d.dDg,useClass:d.dDg,deps:[d.R0b,d.eoX,d.rWj]}],H=[{provide:d.zSh,useValue:"root"},{provide:d.qLn,useFactory:function on(){return new d.qLn},deps:[]},{provide:Be,useClass:we,multi:!0,deps:[r.K0,d.R0b,d.Lbi]},{provide:Be,useClass:Ze,multi:!0,deps:[r.K0]},{provide:Ce,useClass:Ce,deps:[je,Je,d.AFp]},{provide:d.FYo,useExisting:Ce},{provide:Ve,useExisting:Je},{provide:Je,useClass:Je,deps:[r.K0]},{provide:je,useClass:je,deps:[Be,d.R0b]},{provide:r.JF,useClass:Ue,deps:[]},[]];let Y=(()=>{class v{constructor(w){}static withServerTransition(w){return{ngModule:v,providers:[{provide:d.AFp,useValue:w.appId},{provide:ie,useExisting:d.AFp},he]}}}return v.\u0275fac=function(w){return new(w||v)(d.LFG(He,12))},v.\u0275mod=d.oAB({type:v}),v.\u0275inj=d.cJS({providers:[...H,...V],imports:[r.ez,d.hGG]}),v})(),Q=(()=>{class v{constructor(w){this._doc=w}getTitle(){return this._doc.title}setTitle(w){this._doc.title=w||""}}return v.\u0275fac=function(w){return new(w||v)(d.LFG(r.K0))},v.\u0275prov=d.Yz7({token:v,factory:function(w){let P=null;return P=w?new w:function de(){return new Q((0,d.LFG)(r.K0))}(),P},providedIn:"root"}),v})();typeof window<"u"&&window;let et=(()=>{class v{}return v.\u0275fac=function(w){return new(w||v)},v.\u0275prov=d.Yz7({token:v,factory:function(w){let P=null;return P=w?new(w||v):d.LFG(B),P},providedIn:"root"}),v})(),B=(()=>{class v extends et{constructor(w){super(),this._doc=w}sanitize(w,P){if(null==P)return null;switch(w){case d.q3G.NONE:return P;case d.q3G.HTML:return(0,d.qzn)(P,"HTML")?(0,d.z3N)(P):(0,d.EiD)(this._doc,String(P)).toString();case d.q3G.STYLE:return(0,d.qzn)(P,"Style")?(0,d.z3N)(P):P;case d.q3G.SCRIPT:if((0,d.qzn)(P,"Script"))return(0,d.z3N)(P);throw new Error("unsafe value used in a script context");case d.q3G.URL:return(0,d.qzn)(P,"URL")?(0,d.z3N)(P):(0,d.mCW)(String(P));case d.q3G.RESOURCE_URL:if((0,d.qzn)(P,"ResourceURL"))return(0,d.z3N)(P);throw new Error("unsafe value used in a resource URL context (see https://g.co/ng/security#xss)");default:throw new Error(`Unexpected SecurityContext ${w} (see https://g.co/ng/security#xss)`)}}bypassSecurityTrustHtml(w){return(0,d.JVY)(w)}bypassSecurityTrustStyle(w){return(0,d.L6k)(w)}bypassSecurityTrustScript(w){return(0,d.eBb)(w)}bypassSecurityTrustUrl(w){return(0,d.LAX)(w)}bypassSecurityTrustResourceUrl(w){return(0,d.pB0)(w)}}return v.\u0275fac=function(w){return new(w||v)(d.LFG(r.K0))},v.\u0275prov=d.Yz7({token:v,factory:function(w){let P=null;return P=w?new w:function F(v){return new B(v.get(r.K0))}(d.LFG(d.zs3)),P},providedIn:"root"}),v})()},8729:(dt,Ee,D)=>{D.d(Ee,{gz:()=>Xi,m2:()=>ln,F0:()=>ti,Bz:()=>xa,lC:()=>Dr});var r=D(1571);const J=(0,D(3888).d)(h=>function(){h(this),this.name="EmptyError",this.message="no elements in sequence"});var G=D(2076),z=D(9646),K=D(1135),ve=D(9841),ae=D(7272),ie=D(9770),ee=D(9635),he=D(2843),_e=D(9751),Ue=D(515),Be=D(4033),je=D(7579),Te=D(6895),Ve=D(9300),Je=D(5698),Se=D(4482),ht=D(5403);function le(h){return(0,Se.e)((f,u)=>{let b=!1;f.subscribe((0,ht.x)(u,T=>{b=!0,u.next(T)},()=>{b||u.next(h),u.complete()}))})}function Z(h=Oe){return(0,Se.e)((f,u)=>{let b=!1;f.subscribe((0,ht.x)(u,T=>{b=!0,u.next(T)},()=>b?u.complete():u.error(h())))})}function Oe(){return new J}var Le=D(4671);function Ae(h,f){const u=arguments.length>=2;return b=>b.pipe(h?(0,Ve.h)((T,R)=>h(T,R,b)):Le.y,(0,Je.q)(1),u?le(f):Z(()=>new J))}var Ge=D(8421);function We(h){return(0,Se.e)((f,u)=>{let R,b=null,T=!1;b=f.subscribe((0,ht.x)(u,void 0,void 0,X=>{R=(0,Ge.Xf)(h(X,We(h)(f))),b?(b.unsubscribe(),b=null,R.subscribe(u)):T=!0})),T&&(b.unsubscribe(),b=null,R.subscribe(u))})}function ye(h,f,u,b,T){return(R,X)=>{let ce=u,Qe=f,Ct=0;R.subscribe((0,ht.x)(X,nn=>{const It=Ct++;Qe=ce?h(Qe,nn,It):(ce=!0,nn),b&&X.next(Qe)},T&&(()=>{ce&&X.next(Qe),X.complete()})))}}function be(h,f){return(0,Se.e)(ye(h,f,arguments.length>=2,!0))}function ke(h){return h<=0?()=>Ue.E:(0,Se.e)((f,u)=>{let b=[];f.subscribe((0,ht.x)(u,T=>{b.push(T),h<b.length&&b.shift()},()=>{for(const T of b)u.next(T);u.complete()},void 0,()=>{b=null}))})}function Ce(h,f){const u=arguments.length>=2;return b=>b.pipe(h?(0,Ve.h)((T,R)=>h(T,R,b)):Le.y,ke(1),u?le(f):Z(()=>new J))}var Ke=D(4004),Et=D(3900),Rt=D(8675),ft=D(5577),ot=D(4351),we=D(8505),pt=D(9718),De=D(8746),xe=D(8343),ge=D(8189),Fe=D(1481);const Ze="primary";class _t{constructor(f){this.params=f||{}}has(f){return Object.prototype.hasOwnProperty.call(this.params,f)}get(f){if(this.has(f)){const u=this.params[f];return Array.isArray(u)?u[0]:u}return null}getAll(f){if(this.has(f)){const u=this.params[f];return Array.isArray(u)?u:[u]}return[]}get keys(){return Object.keys(this.params)}}function Wt(h){return new _t(h)}function rn(h,f,u){const b=u.path.split("/");if(b.length>h.length||"full"===u.pathMatch&&(f.hasChildren()||b.length<h.length))return null;const T={};for(let R=0;R<b.length;R++){const X=b[R],ce=h[R];if(X.startsWith(":"))T[X.substring(1)]=ce;else if(X!==ce.path)return null}return{consumed:h.slice(0,b.length),posParams:T}}function tn(h,f){const u=h?Object.keys(h):void 0,b=f?Object.keys(f):void 0;if(!u||!b||u.length!=b.length)return!1;let T;for(let R=0;R<u.length;R++)if(T=u[R],!on(h[T],f[T]))return!1;return!0}function on(h,f){if(Array.isArray(h)&&Array.isArray(f)){if(h.length!==f.length)return!1;const u=[...h].sort(),b=[...f].sort();return u.every((T,R)=>b[R]===T)}return h===f}function Kt(h){return Array.prototype.concat.apply([],h)}function gn(h){return h.length>0?h[h.length-1]:null}function He(h,f){for(const u in h)h.hasOwnProperty(u)&&f(h[u],u)}function V(h){return(0,r.CqO)(h)?h:(0,r.QGY)(h)?(0,G.D)(Promise.resolve(h)):(0,z.of)(h)}const H=!1,$={exact:function Q(h,f,u){if(!kt(h.segments,f.segments)||!vt(h.segments,f.segments,u)||h.numberOfChildren!==f.numberOfChildren)return!1;for(const b in f.children)if(!h.children[b]||!Q(h.children[b],f.children[b],u))return!1;return!0},subset:fe},te={exact:function de(h,f){return tn(h,f)},subset:function W(h,f){return Object.keys(f).length<=Object.keys(h).length&&Object.keys(f).every(u=>on(h[u],f[u]))},ignored:()=>!0};function Me(h,f,u){return $[u.paths](h.root,f.root,u.matrixParams)&&te[u.queryParams](h.queryParams,f.queryParams)&&!("exact"===u.fragment&&h.fragment!==f.fragment)}function fe(h,f,u){return $e(h,f,f.segments,u)}function $e(h,f,u,b){if(h.segments.length>u.length){const T=h.segments.slice(0,u.length);return!(!kt(T,u)||f.hasChildren()||!vt(T,u,b))}if(h.segments.length===u.length){if(!kt(h.segments,u)||!vt(h.segments,u,b))return!1;for(const T in f.children)if(!h.children[T]||!fe(h.children[T],f.children[T],b))return!1;return!0}{const T=u.slice(0,h.segments.length),R=u.slice(h.segments.length);return!!(kt(h.segments,T)&&vt(h.segments,T,b)&&h.children[Ze])&&$e(h.children[Ze],f,R,b)}}function vt(h,f,u){return f.every((b,T)=>te[u](h[T].parameters,b.parameters))}class mt{constructor(f,u,b){this.root=f,this.queryParams=u,this.fragment=b}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Wt(this.queryParams)),this._queryParamMap}toString(){return Ne.serialize(this)}}class it{constructor(f,u){this.segments=f,this.children=u,this.parent=null,He(u,(b,T)=>b.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Dt(this)}}class wt{constructor(f,u){this.path=f,this.parameters=u}get parameterMap(){return this._parameterMap||(this._parameterMap=Wt(this.parameters)),this._parameterMap}toString(){return Sn(this)}}function kt(h,f){return h.length===f.length&&h.every((u,b)=>u.path===f[b].path)}let re=(()=>{class h{}return h.\u0275fac=function(u){return new(u||h)},h.\u0275prov=r.Yz7({token:h,factory:function(){return new oe},providedIn:"root"}),h})();class oe{parse(f){const u=new v(f);return new mt(u.parseRootSegment(),u.parseQueryParams(),u.parseFragment())}serialize(f){const u=`/${Ft(f.root,!0)}`,b=function En(h){const f=Object.keys(h).map(u=>{const b=h[u];return Array.isArray(b)?b.map(T=>`${Tn(u)}=${Tn(T)}`).join("&"):`${Tn(u)}=${Tn(b)}`}).filter(u=>!!u);return f.length?`?${f.join("&")}`:""}(f.queryParams);return`${u}${b}${"string"==typeof f.fragment?`#${function Dn(h){return encodeURI(h)}(f.fragment)}`:""}`}}const Ne=new oe;function Dt(h){return h.segments.map(f=>Sn(f)).join("/")}function Ft(h,f){if(!h.hasChildren())return Dt(h);if(f){const u=h.children[Ze]?Ft(h.children[Ze],!1):"",b=[];return He(h.children,(T,R)=>{R!==Ze&&b.push(`${R}:${Ft(T,!1)}`)}),b.length>0?`${u}(${b.join("//")})`:u}{const u=function Re(h,f){let u=[];return He(h.children,(b,T)=>{T===Ze&&(u=u.concat(f(b,T)))}),He(h.children,(b,T)=>{T!==Ze&&(u=u.concat(f(b,T)))}),u}(h,(b,T)=>T===Ze?[Ft(h.children[Ze],!1)]:[`${T}:${Ft(b,!1)}`]);return 1===Object.keys(h.children).length&&null!=h.children[Ze]?`${Dt(h)}/${u[0]}`:`${Dt(h)}/(${u.join("//")})`}}function Bt(h){return encodeURIComponent(h).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Tn(h){return Bt(h).replace(/%3B/gi,";")}function _n(h){return Bt(h).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Xt(h){return decodeURIComponent(h)}function In(h){return Xt(h.replace(/\+/g,"%20"))}function Sn(h){return`${_n(h.path)}${function Vn(h){return Object.keys(h).map(f=>`;${_n(f)}=${_n(h[f])}`).join("")}(h.parameters)}`}const wn=/^[^\/()?;=#]+/;function at(h){const f=h.match(wn);return f?f[0]:""}const et=/^[^=?&#]+/,B=/^[^&#]+/;class v{constructor(f){this.url=f,this.remaining=f}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new it([],{}):new it([],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 u={};this.peekStartsWith("/(")&&(this.capture("/"),u=this.parseParens(!0));let b={};return this.peekStartsWith("(")&&(b=this.parseParens(!1)),(f.length>0||Object.keys(u).length>0)&&(b[Ze]=new it(f,u)),b}parseSegment(){const f=at(this.remaining);if(""===f&&this.peekStartsWith(";"))throw new r.vHH(4009,H);return this.capture(f),new wt(Xt(f),this.parseMatrixParams())}parseMatrixParams(){const f={};for(;this.consumeOptional(";");)this.parseParam(f);return f}parseParam(f){const u=at(this.remaining);if(!u)return;this.capture(u);let b="";if(this.consumeOptional("=")){const T=at(this.remaining);T&&(b=T,this.capture(b))}f[Xt(u)]=Xt(b)}parseQueryParam(f){const u=function F(h){const f=h.match(et);return f?f[0]:""}(this.remaining);if(!u)return;this.capture(u);let b="";if(this.consumeOptional("=")){const X=function p(h){const f=h.match(B);return f?f[0]:""}(this.remaining);X&&(b=X,this.capture(b))}const T=In(u),R=In(b);if(f.hasOwnProperty(T)){let X=f[T];Array.isArray(X)||(X=[X],f[T]=X),X.push(R)}else f[T]=R}parseParens(f){const u={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const b=at(this.remaining),T=this.remaining[b.length];if("/"!==T&&")"!==T&&";"!==T)throw new r.vHH(4010,H);let R;b.indexOf(":")>-1?(R=b.slice(0,b.indexOf(":")),this.capture(R),this.capture(":")):f&&(R=Ze);const X=this.parseChildren();u[R]=1===Object.keys(X).length?X[Ze]:new it([],X),this.consumeOptional("//")}return u}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 r.vHH(4011,H)}}function _(h){return h.segments.length>0?new it([],{[Ze]:h}):h}function w(h){const f={};for(const b of Object.keys(h.children)){const R=w(h.children[b]);(R.segments.length>0||R.hasChildren())&&(f[b]=R)}return function P(h){if(1===h.numberOfChildren&&h.children[Ze]){const f=h.children[Ze];return new it(h.segments.concat(f.segments),f.children)}return h}(new it(h.segments,f))}function ue(h){return h instanceof mt}function Qt(h,f,u,b,T){if(0===u.length)return Qn(f.root,f.root,f.root,b,T);const R=function li(h){if("string"==typeof h[0]&&1===h.length&&"/"===h[0])return new bi(!0,0,h);let f=0,u=!1;const b=h.reduce((T,R,X)=>{if("object"==typeof R&&null!=R){if(R.outlets){const ce={};return He(R.outlets,(Qe,Ct)=>{ce[Ct]="string"==typeof Qe?Qe.split("/"):Qe}),[...T,{outlets:ce}]}if(R.segmentPath)return[...T,R.segmentPath]}return"string"!=typeof R?[...T,R]:0===X?(R.split("/").forEach((ce,Qe)=>{0==Qe&&"."===ce||(0==Qe&&""===ce?u=!0:".."===ce?f++:""!=ce&&T.push(ce))}),T):[...T,R]},[]);return new bi(u,f,b)}(u);return R.toRoot()?Qn(f.root,f.root,new it([],{}),b,T):function X(Qe){const Ct=function Di(h,f,u,b){if(h.isAbsolute)return new yn(f.root,!0,0);if(-1===b)return new yn(u,u===f.root,0);return function qn(h,f,u){let b=h,T=f,R=u;for(;R>T;){if(R-=T,b=b.parent,!b)throw new r.vHH(4005,!1);T=b.segments.length}return new yn(b,!1,T-R)}(u,b+(Mn(h.commands[0])?0:1),h.numberOfDoubleDots)}(R,f,h.snapshot?._urlSegment,Qe),nn=Ct.processChildren?qt(Ct.segmentGroup,Ct.index,R.commands):qi(Ct.segmentGroup,Ct.index,R.commands);return Qn(f.root,Ct.segmentGroup,nn,b,T)}(h.snapshot?._lastPathIndex)}function Mn(h){return"object"==typeof h&&null!=h&&!h.outlets&&!h.segmentPath}function Pt(h){return"object"==typeof h&&null!=h&&h.outlets}function Qn(h,f,u,b,T){let X,R={};b&&He(b,(Qe,Ct)=>{R[Ct]=Array.isArray(Qe)?Qe.map(nn=>`${nn}`):`${Qe}`}),X=h===f?u:Ci(h,f,u);const ce=_(w(X));return new mt(ce,R,T)}function Ci(h,f,u){const b={};return He(h.children,(T,R)=>{b[R]=T===f?u:Ci(T,f,u)}),new it(h.segments,b)}class bi{constructor(f,u,b){if(this.isAbsolute=f,this.numberOfDoubleDots=u,this.commands=b,f&&b.length>0&&Mn(b[0]))throw new r.vHH(4003,!1);const T=b.find(Pt);if(T&&T!==gn(b))throw new r.vHH(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class yn{constructor(f,u,b){this.segmentGroup=f,this.processChildren=u,this.index=b}}function qi(h,f,u){if(h||(h=new it([],{})),0===h.segments.length&&h.hasChildren())return qt(h,f,u);const b=function ji(h,f,u){let b=0,T=f;const R={match:!1,pathIndex:0,commandIndex:0};for(;T<h.segments.length;){if(b>=u.length)return R;const X=h.segments[T],ce=u[b];if(Pt(ce))break;const Qe=`${ce}`,Ct=b<u.length-1?u[b+1]:null;if(T>0&&void 0===Qe)break;if(Qe&&Ct&&"object"==typeof Ct&&void 0===Ct.outlets){if(!mi(Qe,Ct,X))return R;b+=2}else{if(!mi(Qe,{},X))return R;b++}T++}return{match:!0,pathIndex:T,commandIndex:b}}(h,f,u),T=u.slice(b.commandIndex);if(b.match&&b.pathIndex<h.segments.length){const R=new it(h.segments.slice(0,b.pathIndex),{});return R.children[Ze]=new it(h.segments.slice(b.pathIndex),h.children),qt(R,0,T)}return b.match&&0===T.length?new it(h.segments,{}):b.match&&!h.hasChildren()?$i(h,f,u):b.match?qt(h,0,T):$i(h,f,u)}function qt(h,f,u){if(0===u.length)return new it(h.segments,{});{const b=function pi(h){return Pt(h[0])?h[0].outlets:{[Ze]:h}}(u),T={};return He(b,(R,X)=>{"string"==typeof R&&(R=[R]),null!==R&&(T[X]=qi(h.children[X],f,R))}),He(h.children,(R,X)=>{void 0===b[X]&&(T[X]=R)}),new it(h.segments,T)}}function $i(h,f,u){const b=h.segments.slice(0,f);let T=0;for(;T<u.length;){const R=u[T];if(Pt(R)){const Qe=gi(R.outlets);return new it(b,Qe)}if(0===T&&Mn(u[0])){b.push(new wt(h.segments[f].path,Oi(u[0]))),T++;continue}const X=Pt(R)?R.outlets[Ze]:`${R}`,ce=T<u.length-1?u[T+1]:null;X&&ce&&Mn(ce)?(b.push(new wt(X,Oi(ce))),T+=2):(b.push(new wt(X,{})),T++)}return new it(b,{})}function gi(h){const f={};return He(h,(u,b)=>{"string"==typeof u&&(u=[u]),null!==u&&(f[b]=$i(new it([],{}),0,u))}),f}function Oi(h){const f={};return He(h,(u,b)=>f[b]=`${u}`),f}function mi(h,f,u){return h==u.path&&tn(f,u.parameters)}class xn{constructor(f,u){this.id=f,this.url=u}}class Hn extends xn{constructor(f,u,b="imperative",T=null){super(f,u),this.type=0,this.navigationTrigger=b,this.restoredState=T}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class ln extends xn{constructor(f,u,b){super(f,u),this.urlAfterRedirects=b,this.type=1}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class Ii extends xn{constructor(f,u,b,T){super(f,u),this.reason=b,this.code=T,this.type=2}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class kn extends xn{constructor(f,u,b,T){super(f,u),this.error=b,this.target=T,this.type=3}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class Jn extends xn{constructor(f,u,b,T){super(f,u),this.urlAfterRedirects=b,this.state=T,this.type=4}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class xr extends xn{constructor(f,u,b,T){super(f,u),this.urlAfterRedirects=b,this.state=T,this.type=7}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class _i extends xn{constructor(f,u,b,T,R){super(f,u),this.urlAfterRedirects=b,this.state=T,this.shouldActivate=R,this.type=8}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class Ei extends xn{constructor(f,u,b,T){super(f,u),this.urlAfterRedirects=b,this.state=T,this.type=5}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class ri extends xn{constructor(f,u,b,T){super(f,u),this.urlAfterRedirects=b,this.state=T,this.type=6}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class pr{constructor(f){this.route=f,this.type=9}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class ko{constructor(f){this.route=f,this.type=10}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class os{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 po{constructor(f){this.snapshot=f,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class No{constructor(f){this.snapshot=f,this.type=14}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class gr{constructor(f,u,b){this.routerEvent=f,this.position=u,this.anchor=b,this.type=15}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class Gi{constructor(f){this._root=f}get root(){return this._root.value}parent(f){const u=this.pathFromRoot(f);return u.length>1?u[u.length-2]:null}children(f){const u=mr(f,this._root);return u?u.children.map(b=>b.value):[]}firstChild(f){const u=mr(f,this._root);return u&&u.children.length>0?u.children[0].value:null}siblings(f){const u=xi(f,this._root);return u.length<2?[]:u[u.length-2].children.map(T=>T.value).filter(T=>T!==f)}pathFromRoot(f){return xi(f,this._root).map(u=>u.value)}}function mr(h,f){if(h===f.value)return f;for(const u of f.children){const b=mr(h,u);if(b)return b}return null}function xi(h,f){if(h===f.value)return[f];for(const u of f.children){const b=xi(h,u);if(b.length)return b.unshift(f),b}return[]}class wi{constructor(f,u){this.value=f,this.children=u}toString(){return`TreeNode(${this.value})`}}function Ji(h){const f={};return h&&h.children.forEach(u=>f[u.value.outlet]=u),f}class qr extends Gi{constructor(f,u){super(f),this.snapshot=u,vr(this,f)}toString(){return this.snapshot.toString()}}function Lo(h,f){const u=function Fr(h,f){const X=new Fi([],{},{},"",{},Ze,f,null,h.root,-1,{});return new er("",new wi(X,[]))}(h,f),b=new K.X([new wt("",{})]),T=new K.X({}),R=new K.X({}),X=new K.X({}),ce=new K.X(""),Qe=new Xi(b,T,X,ce,R,Ze,f,u.root);return Qe.snapshot=u.root,new qr(new wi(Qe,[]),u)}class Xi{constructor(f,u,b,T,R,X,ce,Qe){this.url=f,this.params=u,this.queryParams=b,this.fragment=T,this.data=R,this.outlet=X,this.component=ce,this._futureSnapshot=Qe}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,Ke.U)(f=>Wt(f)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe((0,Ke.U)(f=>Wt(f)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function Jr(h,f="emptyOnly"){const u=h.pathFromRoot;let b=0;if("always"!==f)for(b=u.length-1;b>=1;){const T=u[b],R=u[b-1];if(T.routeConfig&&""===T.routeConfig.path)b--;else{if(R.component)break;b--}}return function _r(h){return h.reduce((f,u)=>({params:{...f.params,...u.params},data:{...f.data,...u.data},resolve:{...u.data,...f.resolve,...u.routeConfig?.data,...u._resolvedData}}),{params:{},data:{},resolve:{}})}(u.slice(b))}class Fi{constructor(f,u,b,T,R,X,ce,Qe,Ct,nn,It,Jt){this.url=f,this.params=u,this.queryParams=b,this.fragment=T,this.data=R,this.outlet=X,this.component=ce,this.routeConfig=Qe,this._urlSegment=Ct,this._lastPathIndex=nn,this._correctedLastPathIndex=Jt??nn,this._resolve=It}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=Wt(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Wt(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(b=>b.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class er extends Gi{constructor(f,u){super(u),this.url=f,vr(this,u)}toString(){return Pr(this._root)}}function vr(h,f){f.value._routerState=h,f.children.forEach(u=>vr(h,u))}function Pr(h){const f=h.children.length>0?` { ${h.children.map(Pr).join(", ")} } `:"";return`${h.value}${f}`}function vi(h){if(h.snapshot){const f=h.snapshot,u=h._futureSnapshot;h.snapshot=u,tn(f.queryParams,u.queryParams)||h.queryParams.next(u.queryParams),f.fragment!==u.fragment&&h.fragment.next(u.fragment),tn(f.params,u.params)||h.params.next(u.params),function hn(h,f){if(h.length!==f.length)return!1;for(let u=0;u<h.length;++u)if(!tn(h[u],f[u]))return!1;return!0}(f.url,u.url)||h.url.next(u.url),tn(f.data,u.data)||h.data.next(u.data)}else h.snapshot=h._futureSnapshot,h.data.next(h._futureSnapshot.data)}function tr(h,f){const u=tn(h.params,f.params)&&function an(h,f){return kt(h,f)&&h.every((u,b)=>tn(u.parameters,f[b].parameters))}(h.url,f.url);return u&&!(!h.parent!=!f.parent)&&(!h.parent||tr(h.parent,f.parent))}function di(h,f,u){if(u&&h.shouldReuseRoute(f.value,u.value.snapshot)){const b=u.value;b._futureSnapshot=f.value;const T=function Rr(h,f,u){return f.children.map(b=>{for(const T of u.children)if(h.shouldReuseRoute(b.value,T.value.snapshot))return di(h,b,T);return di(h,b)})}(h,f,u);return new wi(b,T)}{if(h.shouldAttach(f.value)){const R=h.retrieve(f.value);if(null!==R){const X=R.route;return X.value._futureSnapshot=f.value,X.children=f.children.map(ce=>di(h,ce)),X}}const b=function Bo(h){return new Xi(new K.X(h.url),new K.X(h.params),new K.X(h.queryParams),new K.X(h.fragment),new K.X(h.data),h.outlet,h.component,h)}(f.value),T=f.children.map(R=>di(h,R));return new wi(b,T)}}const zi="ngNavigationCancelingError";function yr(h,f){const{redirectTo:u,navigationBehaviorOptions:b}=ue(f)?{redirectTo:f,navigationBehaviorOptions:void 0}:f,T=kr(!1,0,f);return T.url=u,T.navigationBehaviorOptions=b,T}function kr(h,f,u){const b=new Error("NavigationCancelingError: "+(h||""));return b[zi]=!0,b.cancellationCode=f,u&&(b.url=u),b}function ir(h){return Cr(h)&&ue(h.url)}function Cr(h){return h&&h[zi]}class zn{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.injector=null,this.children=new Wi,this.attachRef=null}}let Wi=(()=>{class h{constructor(){this.contexts=new Map}onChildOutletCreated(u,b){const T=this.getOrCreateContext(u);T.outlet=b,this.contexts.set(u,T)}onChildOutletDestroyed(u){const b=this.getContext(u);b&&(b.outlet=null,b.attachRef=null)}onOutletDeactivated(){const u=this.contexts;return this.contexts=new Map,u}onOutletReAttached(u){this.contexts=u}getOrCreateContext(u){let b=this.getContext(u);return b||(b=new zn,this.contexts.set(u,b)),b}getContext(u){return this.contexts.get(u)||null}}return h.\u0275fac=function(u){return new(u||h)},h.\u0275prov=r.Yz7({token:h,factory:h.\u0275fac,providedIn:"root"}),h})();const br=!1;let Dr=(()=>{class h{constructor(u,b,T,R,X){this.parentContexts=u,this.location=b,this.changeDetector=R,this.environmentInjector=X,this.activated=null,this._activatedRoute=null,this.activateEvents=new r.vpe,this.deactivateEvents=new r.vpe,this.attachEvents=new r.vpe,this.detachEvents=new r.vpe,this.name=T||Ze,u.onChildOutletCreated(this.name,this)}ngOnDestroy(){this.parentContexts.getContext(this.name)?.outlet===this&&this.parentContexts.onChildOutletDestroyed(this.name)}ngOnInit(){if(!this.activated){const u=this.parentContexts.getContext(this.name);u&&u.route&&(u.attachRef?this.attach(u.attachRef,u.route):this.activateWith(u.route,u.injector))}}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new r.vHH(4012,br);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new r.vHH(4012,br);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new r.vHH(4012,br);this.location.detach();const u=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(u.instance),u}attach(u,b){this.activated=u,this._activatedRoute=b,this.location.insert(u.hostView),this.attachEvents.emit(u.instance)}deactivate(){if(this.activated){const u=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(u)}}activateWith(u,b){if(this.isActivated)throw new r.vHH(4013,br);this._activatedRoute=u;const T=this.location,X=u._futureSnapshot.component,ce=this.parentContexts.getOrCreateContext(this.name).children,Qe=new ss(u,ce,T.injector);if(b&&function Nr(h){return!!h.resolveComponentFactory}(b)){const Ct=b.resolveComponentFactory(X);this.activated=T.createComponent(Ct,T.length,Qe)}else this.activated=T.createComponent(X,{index:T.length,injector:Qe,environmentInjector:b??this.environmentInjector});this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return h.\u0275fac=function(u){return new(u||h)(r.Y36(Wi),r.Y36(r.s_b),r.$8M("name"),r.Y36(r.sBO),r.Y36(r.lqb))},h.\u0275dir=r.lG2({type:h,selectors:[["router-outlet"]],outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"]}),h})();class ss{constructor(f,u,b){this.route=f,this.childContexts=u,this.parent=b}get(f,u){return f===Xi?this.route:f===Wi?this.childContexts:this.parent.get(f,u)}}let An=(()=>{class h{}return h.\u0275fac=function(u){return new(u||h)},h.\u0275cmp=r.Xpm({type:h,selectors:[["ng-component"]],decls:1,vars:0,template:function(u,b){1&u&&r._UZ(0,"router-outlet")},dependencies:[Dr],encapsulation:2}),h})();function jn(h,f){return h.providers&&!h._injector&&(h._injector=(0,r.MMx)(h.providers,f,`Route: ${h.path}`)),h._injector??f}function Ye(h){const f=h.children&&h.children.map(Ye),u=f?{...h,children:f}:{...h};return!u.component&&!u.loadComponent&&(f||u.loadChildren)&&u.outlet&&u.outlet!==Ze&&(u.component=An),u}function tt(h){return h.outlet||Ze}function Mt(h,f){const u=h.filter(b=>tt(b)===f);return u.push(...h.filter(b=>tt(b)!==f)),u}function cn(h){if(!h)return null;if(h.routeConfig?._injector)return h.routeConfig._injector;for(let f=h.parent;f;f=f.parent){const u=f.routeConfig;if(u?._loadedInjector)return u._loadedInjector;if(u?._injector)return u._injector}return null}class gt{constructor(f,u,b,T){this.routeReuseStrategy=f,this.futureState=u,this.currState=b,this.forwardEvent=T}activate(f){const u=this.futureState._root,b=this.currState?this.currState._root:null;this.deactivateChildRoutes(u,b,f),vi(this.futureState.root),this.activateChildRoutes(u,b,f)}deactivateChildRoutes(f,u,b){const T=Ji(u);f.children.forEach(R=>{const X=R.value.outlet;this.deactivateRoutes(R,T[X],b),delete T[X]}),He(T,(R,X)=>{this.deactivateRouteAndItsChildren(R,b)})}deactivateRoutes(f,u,b){const T=f.value,R=u?u.value:null;if(T===R)if(T.component){const X=b.getContext(T.outlet);X&&this.deactivateChildRoutes(f,u,X.children)}else this.deactivateChildRoutes(f,u,b);else R&&this.deactivateRouteAndItsChildren(u,b)}deactivateRouteAndItsChildren(f,u){f.value.component&&this.routeReuseStrategy.shouldDetach(f.value.snapshot)?this.detachAndStoreRouteSubtree(f,u):this.deactivateRouteAndOutlet(f,u)}detachAndStoreRouteSubtree(f,u){const b=u.getContext(f.value.outlet),T=b&&f.value.component?b.children:u,R=Ji(f);for(const X of Object.keys(R))this.deactivateRouteAndItsChildren(R[X],T);if(b&&b.outlet){const X=b.outlet.detach(),ce=b.children.onOutletDeactivated();this.routeReuseStrategy.store(f.value.snapshot,{componentRef:X,route:f,contexts:ce})}}deactivateRouteAndOutlet(f,u){const b=u.getContext(f.value.outlet),T=b&&f.value.component?b.children:u,R=Ji(f);for(const X of Object.keys(R))this.deactivateRouteAndItsChildren(R[X],T);b&&b.outlet&&(b.outlet.deactivate(),b.children.onOutletDeactivated(),b.attachRef=null,b.resolver=null,b.route=null)}activateChildRoutes(f,u,b){const T=Ji(u);f.children.forEach(R=>{this.activateRoutes(R,T[R.value.outlet],b),this.forwardEvent(new No(R.value.snapshot))}),f.children.length&&this.forwardEvent(new ci(f.value.snapshot))}activateRoutes(f,u,b){const T=f.value,R=u?u.value:null;if(vi(T),T===R)if(T.component){const X=b.getOrCreateContext(T.outlet);this.activateChildRoutes(f,u,X.children)}else this.activateChildRoutes(f,u,b);else if(T.component){const X=b.getOrCreateContext(T.outlet);if(this.routeReuseStrategy.shouldAttach(T.snapshot)){const ce=this.routeReuseStrategy.retrieve(T.snapshot);this.routeReuseStrategy.store(T.snapshot,null),X.children.onOutletReAttached(ce.contexts),X.attachRef=ce.componentRef,X.route=ce.route.value,X.outlet&&X.outlet.attach(ce.componentRef,ce.route.value),vi(ce.route.value),this.activateChildRoutes(f,null,X.children)}else{const ce=cn(T.snapshot),Qe=ce?.get(r._Vd)??null;X.attachRef=null,X.route=T,X.resolver=Qe,X.injector=ce,X.outlet&&X.outlet.activateWith(T,X.injector),this.activateChildRoutes(f,null,X.children)}}else this.activateChildRoutes(f,null,b)}}class Yt{constructor(f){this.path=f,this.route=this.path[this.path.length-1]}}class Rn{constructor(f,u){this.component=f,this.route=u}}function Cn(h,f,u){const b=h._root;return si(b,f?f._root:null,u,[b.value])}function Pi(h,f,u){return(cn(f)??u).get(h)}function si(h,f,u,b,T={canDeactivateChecks:[],canActivateChecks:[]}){const R=Ji(f);return h.children.forEach(X=>{(function Yi(h,f,u,b,T={canDeactivateChecks:[],canActivateChecks:[]}){const R=h.value,X=f?f.value:null,ce=u?u.getContext(h.value.outlet):null;if(X&&R.routeConfig===X.routeConfig){const Qe=function Ri(h,f,u){if("function"==typeof u)return u(h,f);switch(u){case"pathParamsChange":return!kt(h.url,f.url);case"pathParamsOrQueryParamsChange":return!kt(h.url,f.url)||!tn(h.queryParams,f.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!tr(h,f)||!tn(h.queryParams,f.queryParams);default:return!tr(h,f)}}(X,R,R.routeConfig.runGuardsAndResolvers);Qe?T.canActivateChecks.push(new Yt(b)):(R.data=X.data,R._resolvedData=X._resolvedData),si(h,f,R.component?ce?ce.children:null:u,b,T),Qe&&ce&&ce.outlet&&ce.outlet.isActivated&&T.canDeactivateChecks.push(new Rn(ce.outlet.component,X))}else X&&rt(f,ce,T),T.canActivateChecks.push(new Yt(b)),si(h,null,R.component?ce?ce.children:null:u,b,T)})(X,R[X.value.outlet],u,b.concat([X.value]),T),delete R[X.value.outlet]}),He(R,(X,ce)=>rt(X,u.getContext(ce),T)),T}function rt(h,f,u){const b=Ji(h),T=h.value;He(b,(R,X)=>{rt(R,T.component?f?f.children.getContext(X):null:f,u)}),u.canDeactivateChecks.push(new Rn(T.component&&f&&f.outlet&&f.outlet.isActivated?f.outlet.component:null,T))}function Gt(h){return"function"==typeof h}function O(h){return h instanceof J||"EmptyError"===h?.name}const M=Symbol("INITIAL_VALUE");function E(){return(0,Et.w)(h=>(0,ve.a)(h.map(f=>f.pipe((0,Je.q)(1),(0,Rt.O)(M)))).pipe((0,Ke.U)(f=>{for(const u of f)if(!0!==u){if(u===M)return M;if(!1===u||u instanceof mt)return u}return!0}),(0,Ve.h)(f=>f!==M),(0,Je.q)(1)))}function go(h){return(0,ee.z)((0,we.b)(f=>{if(ue(f))throw yr(0,f)}),(0,Ke.U)(f=>!0===f))}const Uo={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function Ns(h,f,u,b,T){const R=Ni(h,f,u);return R.matched?function ks(h,f,u,b){const T=f.canMatch;if(!T||0===T.length)return(0,z.of)(!0);const R=T.map(X=>{const ce=h.get(X),Qe=function ki(h){return h&&Gt(h.canMatch)}(ce)?ce.canMatch(f,u):ce(f,u);return V(Qe)});return(0,z.of)(R).pipe(E(),go())}(b=jn(f,b),f,u).pipe((0,Ke.U)(X=>!0===X?R:{...Uo})):(0,z.of)(R)}function Ni(h,f,u){if(""===f.path)return"full"===f.pathMatch&&(h.hasChildren()||u.length>0)?{...Uo}:{matched:!0,consumedSegments:[],remainingSegments:u,parameters:{},positionalParamSegments:{}};const T=(f.matcher||rn)(u,h,f);if(!T)return{...Uo};const R={};He(T.posParams,(ce,Qe)=>{R[Qe]=ce.path});const X=T.consumed.length>0?{...R,...T.consumed[T.consumed.length-1].parameters}:R;return{matched:!0,consumedSegments:T.consumed,remainingSegments:u.slice(T.consumed.length),parameters:X,positionalParamSegments:T.posParams??{}}}function Er(h,f,u,b,T="corrected"){if(u.length>0&&function jo(h,f,u){return u.some(b=>mo(h,f,b)&&tt(b)!==Ze)}(h,u,b)){const X=new it(f,function cs(h,f,u,b){const T={};T[Ze]=b,b._sourceSegment=h,b._segmentIndexShift=f.length;for(const R of u)if(""===R.path&&tt(R)!==Ze){const X=new it([],{});X._sourceSegment=h,X._segmentIndexShift=f.length,T[tt(R)]=X}return T}(h,f,b,new it(u,h.children)));return X._sourceSegment=h,X._segmentIndexShift=f.length,{segmentGroup:X,slicedSegments:[]}}if(0===u.length&&function Ls(h,f,u){return u.some(b=>mo(h,f,b))}(h,u,b)){const X=new it(h.segments,function ls(h,f,u,b,T,R){const X={};for(const ce of b)if(mo(h,u,ce)&&!T[tt(ce)]){const Qe=new it([],{});Qe._sourceSegment=h,Qe._segmentIndexShift="legacy"===R?h.segments.length:f.length,X[tt(ce)]=Qe}return{...T,...X}}(h,f,u,b,h.children,T));return X._sourceSegment=h,X._segmentIndexShift=f.length,{segmentGroup:X,slicedSegments:u}}const R=new it(h.segments,h.children);return R._sourceSegment=h,R._segmentIndexShift=f.length,{segmentGroup:R,slicedSegments:u}}function mo(h,f,u){return(!(h.hasChildren()||f.length>0)||"full"!==u.pathMatch)&&""===u.path}function us(h,f,u,b){return!!(tt(h)===b||b!==Ze&&mo(f,u,h))&&("**"===h.path||Ni(f,h,u).matched)}function _o(h,f,u){return 0===f.length&&!h.children[u]}const $o=!1;class vo{constructor(f){this.segmentGroup=f||null}}class Yn{constructor(f){this.urlTree=f}}function Mi(h){return(0,he._)(new vo(h))}function Fn(h){return(0,he._)(new Yn(h))}class ds{constructor(f,u,b,T,R){this.injector=f,this.configLoader=u,this.urlSerializer=b,this.urlTree=T,this.config=R,this.allowRedirects=!0}apply(){const f=Er(this.urlTree.root,[],[],this.config).segmentGroup,u=new it(f.segments,f.children);return this.expandSegmentGroup(this.injector,this.config,u,Ze).pipe((0,Ke.U)(R=>this.createUrlTree(w(R),this.urlTree.queryParams,this.urlTree.fragment))).pipe(We(R=>{if(R instanceof Yn)return this.allowRedirects=!1,this.match(R.urlTree);throw R instanceof vo?this.noMatchError(R):R}))}match(f){return this.expandSegmentGroup(this.injector,this.config,f.root,Ze).pipe((0,Ke.U)(T=>this.createUrlTree(w(T),f.queryParams,f.fragment))).pipe(We(T=>{throw T instanceof vo?this.noMatchError(T):T}))}noMatchError(f){return new r.vHH(4002,$o)}createUrlTree(f,u,b){const T=_(f);return new mt(T,u,b)}expandSegmentGroup(f,u,b,T){return 0===b.segments.length&&b.hasChildren()?this.expandChildren(f,u,b).pipe((0,Ke.U)(R=>new it([],R))):this.expandSegment(f,b,u,b.segments,T,!0)}expandChildren(f,u,b){const T=[];for(const R of Object.keys(b.children))"primary"===R?T.unshift(R):T.push(R);return(0,G.D)(T).pipe((0,ot.b)(R=>{const X=b.children[R],ce=Mt(u,R);return this.expandSegmentGroup(f,ce,X,R).pipe((0,Ke.U)(Qe=>({segment:Qe,outlet:R})))}),be((R,X)=>(R[X.outlet]=X.segment,R),{}),Ce())}expandSegment(f,u,b,T,R,X){return(0,G.D)(b).pipe((0,ot.b)(ce=>this.expandSegmentAgainstRoute(f,u,b,ce,T,R,X).pipe(We(Ct=>{if(Ct instanceof vo)return(0,z.of)(null);throw Ct}))),Ae(ce=>!!ce),We((ce,Qe)=>{if(O(ce))return _o(u,T,R)?(0,z.of)(new it([],{})):Mi(u);throw ce}))}expandSegmentAgainstRoute(f,u,b,T,R,X,ce){return us(T,u,R,X)?void 0===T.redirectTo?this.matchSegmentAgainstRoute(f,u,T,R,X):ce&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(f,u,b,T,R,X):Mi(u):Mi(u)}expandSegmentAgainstRouteUsingRedirect(f,u,b,T,R,X){return"**"===T.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(f,b,T,X):this.expandRegularSegmentAgainstRouteUsingRedirect(f,u,b,T,R,X)}expandWildCardWithParamsAgainstRouteUsingRedirect(f,u,b,T){const R=this.applyRedirectCommands([],b.redirectTo,{});return b.redirectTo.startsWith("/")?Fn(R):this.lineralizeSegments(b,R).pipe((0,ft.z)(X=>{const ce=new it(X,{});return this.expandSegment(f,ce,u,X,T,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(f,u,b,T,R,X){const{matched:ce,consumedSegments:Qe,remainingSegments:Ct,positionalParamSegments:nn}=Ni(u,T,R);if(!ce)return Mi(u);const It=this.applyRedirectCommands(Qe,T.redirectTo,nn);return T.redirectTo.startsWith("/")?Fn(It):this.lineralizeSegments(T,It).pipe((0,ft.z)(Jt=>this.expandSegment(f,u,b,Jt.concat(Ct),X,!1)))}matchSegmentAgainstRoute(f,u,b,T,R){return"**"===b.path?(f=jn(b,f),b.loadChildren?(b._loadedRoutes?(0,z.of)({routes:b._loadedRoutes,injector:b._loadedInjector}):this.configLoader.loadChildren(f,b)).pipe((0,Ke.U)(ce=>(b._loadedRoutes=ce.routes,b._loadedInjector=ce.injector,new it(T,{})))):(0,z.of)(new it(T,{}))):Ns(u,b,T,f).pipe((0,Et.w)(({matched:X,consumedSegments:ce,remainingSegments:Qe})=>X?this.getChildConfig(f=b._injector??f,b,T).pipe((0,ft.z)(nn=>{const It=nn.injector??f,Jt=nn.routes,{segmentGroup:y,slicedSegments:l}=Er(u,ce,Qe,Jt),a=new it(y.segments,y.children);if(0===l.length&&a.hasChildren())return this.expandChildren(It,Jt,a).pipe((0,Ke.U)(ne=>new it(ce,ne)));if(0===Jt.length&&0===l.length)return(0,z.of)(new it(ce,{}));const g=tt(b)===R;return this.expandSegment(It,a,Jt,l,g?Ze:R,!0).pipe((0,Ke.U)(N=>new it(ce.concat(N.segments),N.children)))})):Mi(u)))}getChildConfig(f,u,b){return u.children?(0,z.of)({routes:u.children,injector:f}):u.loadChildren?void 0!==u._loadedRoutes?(0,z.of)({routes:u._loadedRoutes,injector:u._loadedInjector}):function to(h,f,u,b){const T=f.canLoad;if(void 0===T||0===T.length)return(0,z.of)(!0);const R=T.map(X=>{const ce=h.get(X),Qe=function Vo(h){return h&&Gt(h.canLoad)}(ce)?ce.canLoad(f,u):ce(f,u);return V(Qe)});return(0,z.of)(R).pipe(E(),go())}(f,u,b).pipe((0,ft.z)(T=>T?this.configLoader.loadChildren(f,u).pipe((0,we.b)(R=>{u._loadedRoutes=R.routes,u._loadedInjector=R.injector})):function wr(h){return(0,he._)(kr($o,3))}())):(0,z.of)({routes:[],injector:f})}lineralizeSegments(f,u){let b=[],T=u.root;for(;;){if(b=b.concat(T.segments),0===T.numberOfChildren)return(0,z.of)(b);if(T.numberOfChildren>1||!T.children[Ze])return(0,he._)(new r.vHH(4e3,$o));T=T.children[Ze]}}applyRedirectCommands(f,u,b){return this.applyRedirectCreateUrlTree(u,this.urlSerializer.parse(u),f,b)}applyRedirectCreateUrlTree(f,u,b,T){const R=this.createSegmentGroup(f,u.root,b,T);return new mt(R,this.createQueryParams(u.queryParams,this.urlTree.queryParams),u.fragment)}createQueryParams(f,u){const b={};return He(f,(T,R)=>{if("string"==typeof T&&T.startsWith(":")){const ce=T.substring(1);b[R]=u[ce]}else b[R]=T}),b}createSegmentGroup(f,u,b,T){const R=this.createSegments(f,u.segments,b,T);let X={};return He(u.children,(ce,Qe)=>{X[Qe]=this.createSegmentGroup(f,ce,b,T)}),new it(R,X)}createSegments(f,u,b,T){return u.map(R=>R.path.startsWith(":")?this.findPosParam(f,R,T):this.findOrReturn(R,b))}findPosParam(f,u,b){const T=b[u.path.substring(1)];if(!T)throw new r.vHH(4001,$o);return T}findOrReturn(f,u){let b=0;for(const T of u){if(T.path===f.path)return u.splice(b),T;b++}return f}}class sr{}class no{constructor(f,u,b,T,R,X,ce,Qe){this.injector=f,this.rootComponentType=u,this.config=b,this.urlTree=T,this.url=R,this.paramsInheritanceStrategy=X,this.relativeLinkResolution=ce,this.urlSerializer=Qe}recognize(){const f=Er(this.urlTree.root,[],[],this.config.filter(u=>void 0===u.redirectTo),this.relativeLinkResolution).segmentGroup;return this.processSegmentGroup(this.injector,this.config,f,Ze).pipe((0,Ke.U)(u=>{if(null===u)return null;const b=new Fi([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},Ze,this.rootComponentType,null,this.urlTree.root,-1,{}),T=new wi(b,u),R=new er(this.url,T);return this.inheritParamsAndData(R._root),R}))}inheritParamsAndData(f){const u=f.value,b=Jr(u,this.paramsInheritanceStrategy);u.params=Object.freeze(b.params),u.data=Object.freeze(b.data),f.children.forEach(T=>this.inheritParamsAndData(T))}processSegmentGroup(f,u,b,T){return 0===b.segments.length&&b.hasChildren()?this.processChildren(f,u,b):this.processSegment(f,u,b,b.segments,T)}processChildren(f,u,b){return(0,G.D)(Object.keys(b.children)).pipe((0,ot.b)(T=>{const R=b.children[T],X=Mt(u,T);return this.processSegmentGroup(f,X,R,T)}),be((T,R)=>T&&R?(T.push(...R),T):null),function ut(h,f=!1){return(0,Se.e)((u,b)=>{let T=0;u.subscribe((0,ht.x)(b,R=>{const X=h(R,T++);(X||f)&&b.next(R),!X&&b.complete()}))})}(T=>null!==T),le(null),Ce(),(0,Ke.U)(T=>{if(null===T)return null;const R=Hr(T);return function hs(h){h.sort((f,u)=>f.value.outlet===Ze?-1:u.value.outlet===Ze?1:f.value.outlet.localeCompare(u.value.outlet))}(R),R}))}processSegment(f,u,b,T,R){return(0,G.D)(u).pipe((0,ot.b)(X=>this.processSegmentAgainstRoute(X._injector??f,X,b,T,R)),Ae(X=>!!X),We(X=>{if(O(X))return _o(b,T,R)?(0,z.of)([]):(0,z.of)(null);throw X}))}processSegmentAgainstRoute(f,u,b,T,R){if(u.redirectTo||!us(u,b,T,R))return(0,z.of)(null);let X;if("**"===u.path){const ce=T.length>0?gn(T).parameters:{},Qe=Bi(b)+T.length,Ct=new Fi(T,ce,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Hs(u),tt(u),u.component??u._loadedComponent??null,u,Vs(b),Qe,io(u),Qe);X=(0,z.of)({snapshot:Ct,consumedSegments:[],remainingSegments:[]})}else X=Ns(b,u,T,f).pipe((0,Ke.U)(({matched:ce,consumedSegments:Qe,remainingSegments:Ct,parameters:nn})=>{if(!ce)return null;const It=Bi(b)+Qe.length;return{snapshot:new Fi(Qe,nn,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Hs(u),tt(u),u.component??u._loadedComponent??null,u,Vs(b),It,io(u),It),consumedSegments:Qe,remainingSegments:Ct}}));return X.pipe((0,Et.w)(ce=>{if(null===ce)return(0,z.of)(null);const{snapshot:Qe,consumedSegments:Ct,remainingSegments:nn}=ce;f=u._injector??f;const It=u._loadedInjector??f,Jt=function Ta(h){return h.children?h.children:h.loadChildren?h._loadedRoutes:[]}(u),{segmentGroup:y,slicedSegments:l}=Er(b,Ct,nn,Jt.filter(g=>void 0===g.redirectTo),this.relativeLinkResolution);if(0===l.length&&y.hasChildren())return this.processChildren(It,Jt,y).pipe((0,Ke.U)(g=>null===g?null:[new wi(Qe,g)]));if(0===Jt.length&&0===l.length)return(0,z.of)([new wi(Qe,[])]);const a=tt(u)===R;return this.processSegment(It,Jt,y,l,a?Ze:R).pipe((0,Ke.U)(g=>null===g?null:[new wi(Qe,g)]))}))}}function Mr(h){const f=h.value.routeConfig;return f&&""===f.path&&void 0===f.redirectTo}function Hr(h){const f=[],u=new Set;for(const b of h){if(!Mr(b)){f.push(b);continue}const T=f.find(R=>b.value.routeConfig===R.value.routeConfig);void 0!==T?(T.children.push(...b.children),u.add(T)):f.push(b)}for(const b of u){const T=Hr(b.children);f.push(new wi(b.value,T))}return f.filter(b=>!u.has(b))}function Vs(h){let f=h;for(;f._sourceSegment;)f=f._sourceSegment;return f}function Bi(h){let f=h,u=f._segmentIndexShift??0;for(;f._sourceSegment;)f=f._sourceSegment,u+=f._segmentIndexShift??0;return u-1}function Hs(h){return h.data||{}}function io(h){return h.resolve||{}}const bo=Symbol("RouteTitle");function Yo(h){return"string"==typeof h.title||null===h.title}function ar(h){return(0,Et.w)(f=>{const u=h(f);return u?(0,G.D)(u).pipe((0,Ke.U)(()=>f)):(0,z.of)(f)})}let js=(()=>{class h{buildTitle(u){let b,T=u.root;for(;void 0!==T;)b=this.getResolvedTitleForRoute(T)??b,T=T.children.find(R=>R.outlet===Ze);return b}getResolvedTitleForRoute(u){return u.data[bo]}}return h.\u0275fac=function(u){return new(u||h)},h.\u0275prov=r.Yz7({token:h,factory:function(){return(0,r.f3M)(Ur)},providedIn:"root"}),h})(),Ur=(()=>{class h extends js{constructor(u){super(),this.title=u}updateTitle(u){const b=this.buildTitle(u);void 0!==b&&this.title.setTitle(b)}}return h.\u0275fac=function(u){return new(u||h)(r.LFG(Fe.Dx))},h.\u0275prov=r.Yz7({token:h,factory:h.\u0275fac,providedIn:"root"}),h})();class ps{}class al extends class Eo{shouldDetach(f){return!1}store(f,u){}shouldAttach(f){return!1}retrieve(f){return null}shouldReuseRoute(f,u){return f.routeConfig===u.routeConfig}}{}const wo=new r.OlP("",{providedIn:"root",factory:()=>({})}),yi=new r.OlP("ROUTES");let Ko=(()=>{class h{constructor(u,b){this.injector=u,this.compiler=b,this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap}loadComponent(u){if(this.componentLoaders.get(u))return this.componentLoaders.get(u);if(u._loadedComponent)return(0,z.of)(u._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(u);const b=V(u.loadComponent()).pipe((0,we.b)(R=>{this.onLoadEndListener&&this.onLoadEndListener(u),u._loadedComponent=R}),(0,De.x)(()=>{this.componentLoaders.delete(u)})),T=new Be.c(b,()=>new je.x).pipe((0,xe.x)());return this.componentLoaders.set(u,T),T}loadChildren(u,b){if(this.childrenLoaders.get(b))return this.childrenLoaders.get(b);if(b._loadedRoutes)return(0,z.of)({routes:b._loadedRoutes,injector:b._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(b);const R=this.loadModuleFactoryOrRoutes(b.loadChildren).pipe((0,Ke.U)(ce=>{this.onLoadEndListener&&this.onLoadEndListener(b);let Qe,Ct,nn=!1;Array.isArray(ce)?Ct=ce:(Qe=ce.create(u).injector,Ct=Kt(Qe.get(yi,[],r.XFs.Self|r.XFs.Optional)));return{routes:Ct.map(Ye),injector:Qe}}),(0,De.x)(()=>{this.childrenLoaders.delete(b)})),X=new Be.c(R,()=>new je.x).pipe((0,xe.x)());return this.childrenLoaders.set(b,X),X}loadModuleFactoryOrRoutes(u){return V(u()).pipe((0,ft.z)(b=>b instanceof r.YKP||Array.isArray(b)?(0,z.of)(b):(0,G.D)(this.compiler.compileModuleAsync(b))))}}return h.\u0275fac=function(u){return new(u||h)(r.LFG(r.zs3),r.LFG(r.Sil))},h.\u0275prov=r.Yz7({token:h,factory:h.\u0275fac,providedIn:"root"}),h})();class Mo{}class Zo{shouldProcessUrl(f){return!0}extract(f){return f}merge(f,u){return f}}function Qo(h){throw h}function qo(h,f,u){return f.parse("/")}const Aa={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},zs={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};function gs(){const h=(0,r.f3M)(re),f=(0,r.f3M)(Wi),u=(0,r.f3M)(Te.Ye),b=(0,r.f3M)(r.zs3),T=(0,r.f3M)(r.Sil),R=(0,r.f3M)(yi,{optional:!0})??[],X=(0,r.f3M)(wo,{optional:!0})??{},ce=(0,r.f3M)(Ur),Qe=(0,r.f3M)(js,{optional:!0}),Ct=(0,r.f3M)(Mo,{optional:!0}),nn=(0,r.f3M)(ps,{optional:!0}),It=new ti(null,h,f,u,b,T,Kt(R));return Ct&&(It.urlHandlingStrategy=Ct),nn&&(It.routeReuseStrategy=nn),It.titleStrategy=Qe??ce,function Ws(h,f){h.errorHandler&&(f.errorHandler=h.errorHandler),h.malformedUriErrorHandler&&(f.malformedUriErrorHandler=h.malformedUriErrorHandler),h.onSameUrlNavigation&&(f.onSameUrlNavigation=h.onSameUrlNavigation),h.paramsInheritanceStrategy&&(f.paramsInheritanceStrategy=h.paramsInheritanceStrategy),h.relativeLinkResolution&&(f.relativeLinkResolution=h.relativeLinkResolution),h.urlUpdateStrategy&&(f.urlUpdateStrategy=h.urlUpdateStrategy),h.canceledNavigationResolution&&(f.canceledNavigationResolution=h.canceledNavigationResolution)}(X,It),It}let ti=(()=>{class h{constructor(u,b,T,R,X,ce,Qe){this.rootComponentType=u,this.urlSerializer=b,this.rootContexts=T,this.location=R,this.config=Qe,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.disposed=!1,this.navigationId=0,this.currentPageId=0,this.isNgZoneEnabled=!1,this.events=new je.x,this.errorHandler=Qo,this.malformedUriErrorHandler=qo,this.navigated=!1,this.lastSuccessfulId=-1,this.afterPreactivation=()=>(0,z.of)(void 0),this.urlHandlingStrategy=new Zo,this.routeReuseStrategy=new al,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="corrected",this.canceledNavigationResolution="replace",this.configLoader=X.get(Ko),this.configLoader.onLoadEndListener=Jt=>this.triggerEvent(new ko(Jt)),this.configLoader.onLoadStartListener=Jt=>this.triggerEvent(new pr(Jt)),this.ngModule=X.get(r.h0i),this.console=X.get(r.c2e);const It=X.get(r.R0b);this.isNgZoneEnabled=It instanceof r.R0b&&r.R0b.isInAngularZone(),this.resetConfig(Qe),this.currentUrlTree=function Y(){return new mt(new it([],{}),{},null)}(),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.routerState=Lo(this.currentUrlTree,this.rootComponentType),this.transitions=new K.X({id:0,targetPageId:0,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,extractedUrl:this.urlHandlingStrategy.extract(this.currentUrlTree),urlAfterRedirects:this.urlHandlingStrategy.extract(this.currentUrlTree),rawUrl:this.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:"imperative",restoredState:null,currentSnapshot:this.routerState.snapshot,targetSnapshot:null,currentRouterState:this.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.navigations=this.setupNavigations(this.transitions),this.processNavigations()}get browserPageId(){return this.location.getState()?.\u0275routerPageId}setupNavigations(u){const b=this.events;return u.pipe((0,Ve.h)(T=>0!==T.id),(0,Ke.U)(T=>({...T,extractedUrl:this.urlHandlingStrategy.extract(T.rawUrl)})),(0,Et.w)(T=>{let R=!1,X=!1;return(0,z.of)(T).pipe((0,we.b)(ce=>{this.currentNavigation={id:ce.id,initialUrl:ce.rawUrl,extractedUrl:ce.extractedUrl,trigger:ce.source,extras:ce.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null}}),(0,Et.w)(ce=>{const Qe=this.browserUrlTree.toString(),Ct=!this.navigated||ce.extractedUrl.toString()!==Qe||Qe!==this.currentUrlTree.toString();if(("reload"===this.onSameUrlNavigation||Ct)&&this.urlHandlingStrategy.shouldProcessUrl(ce.rawUrl))return To(ce.source)&&(this.browserUrlTree=ce.extractedUrl),(0,z.of)(ce).pipe((0,Et.w)(It=>{const Jt=this.transitions.getValue();return b.next(new Hn(It.id,this.serializeUrl(It.extractedUrl),It.source,It.restoredState)),Jt!==this.transitions.getValue()?Ue.E:Promise.resolve(It)}),function Vr(h,f,u,b){return(0,Et.w)(T=>function ol(h,f,u,b,T){return new ds(h,f,u,b,T).apply()}(h,f,u,T.extractedUrl,b).pipe((0,Ke.U)(R=>({...T,urlAfterRedirects:R}))))}(this.ngModule.injector,this.configLoader,this.urlSerializer,this.config),(0,we.b)(It=>{this.currentNavigation={...this.currentNavigation,finalUrl:It.urlAfterRedirects},T.urlAfterRedirects=It.urlAfterRedirects}),function sl(h,f,u,b,T,R){return(0,ft.z)(X=>function yo(h,f,u,b,T,R,X="emptyOnly",ce="legacy"){return new no(h,f,u,b,T,X,ce,R).recognize().pipe((0,Et.w)(Qe=>null===Qe?function Go(h){return new _e.y(f=>f.error(h))}(new sr):(0,z.of)(Qe)))}(h,f,u,X.urlAfterRedirects,b.serialize(X.urlAfterRedirects),b,T,R).pipe((0,Ke.U)(ce=>({...X,targetSnapshot:ce}))))}(this.ngModule.injector,this.rootComponentType,this.config,this.urlSerializer,this.paramsInheritanceStrategy,this.relativeLinkResolution),(0,we.b)(It=>{if(T.targetSnapshot=It.targetSnapshot,"eager"===this.urlUpdateStrategy){if(!It.extras.skipLocationChange){const y=this.urlHandlingStrategy.merge(It.urlAfterRedirects,It.rawUrl);this.setBrowserUrl(y,It)}this.browserUrlTree=It.urlAfterRedirects}const Jt=new Jn(It.id,this.serializeUrl(It.extractedUrl),this.serializeUrl(It.urlAfterRedirects),It.targetSnapshot);b.next(Jt)}));if(Ct&&this.rawUrlTree&&this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree)){const{id:Jt,extractedUrl:y,source:l,restoredState:a,extras:g}=ce,x=new Hn(Jt,this.serializeUrl(y),l,a);b.next(x);const N=Lo(y,this.rootComponentType).snapshot;return T={...ce,targetSnapshot:N,urlAfterRedirects:y,extras:{...g,skipLocationChange:!1,replaceUrl:!1}},(0,z.of)(T)}return this.rawUrlTree=ce.rawUrl,ce.resolve(null),Ue.E}),(0,we.b)(ce=>{const Qe=new xr(ce.id,this.serializeUrl(ce.extractedUrl),this.serializeUrl(ce.urlAfterRedirects),ce.targetSnapshot);this.triggerEvent(Qe)}),(0,Ke.U)(ce=>T={...ce,guards:Cn(ce.targetSnapshot,ce.currentSnapshot,this.rootContexts)}),function U(h,f){return(0,ft.z)(u=>{const{targetSnapshot:b,currentSnapshot:T,guards:{canActivateChecks:R,canDeactivateChecks:X}}=u;return 0===X.length&&0===R.length?(0,z.of)({...u,guardsResult:!0}):function ze(h,f,u,b){return(0,G.D)(h).pipe((0,ft.z)(T=>function or(h,f,u,b,T){const R=f&&f.routeConfig?f.routeConfig.canDeactivate:null;if(!R||0===R.length)return(0,z.of)(!0);const X=R.map(ce=>{const Qe=Pi(ce,f,T);return V(function eo(h){return h&&Gt(h.canDeactivate)}(Qe)?Qe.canDeactivate(h,f,u,b):Qe(h,f,u,b)).pipe(Ae())});return(0,z.of)(X).pipe(E())}(T.component,T.route,u,f,b)),Ae(T=>!0!==T,!0))}(X,b,T,h).pipe((0,ft.z)(ce=>ce&&function Lr(h){return"boolean"==typeof h}(ce)?function At(h,f,u,b){return(0,G.D)(f).pipe((0,ot.b)(T=>(0,ae.z)(function Wn(h,f){return null!==h&&f&&f(new os(h)),(0,z.of)(!0)}(T.route.parent,b),function On(h,f){return null!==h&&f&&f(new po(h)),(0,z.of)(!0)}(T.route,b),function rr(h,f,u){const b=f[f.length-1],R=f.slice(0,f.length-1).reverse().map(X=>function Nn(h){const f=h.routeConfig?h.routeConfig.canActivateChild:null;return f&&0!==f.length?{node:h,guards:f}:null}(X)).filter(X=>null!==X).map(X=>(0,ie.P)(()=>{const ce=X.guards.map(Qe=>{const Ct=Pi(Qe,X.node,u);return V(function as(h){return h&&Gt(h.canActivateChild)}(Ct)?Ct.canActivateChild(b,h):Ct(b,h)).pipe(Ae())});return(0,z.of)(ce).pipe(E())}));return(0,z.of)(R).pipe(E())}(h,T.path,u),function ei(h,f,u){const b=f.routeConfig?f.routeConfig.canActivate:null;if(!b||0===b.length)return(0,z.of)(!0);const T=b.map(R=>(0,ie.P)(()=>{const X=Pi(R,f,u);return V(function Un(h){return h&&Gt(h.canActivate)}(X)?X.canActivate(f,h):X(f,h)).pipe(Ae())}));return(0,z.of)(T).pipe(E())}(h,T.route,u))),Ae(T=>!0!==T,!0))}(b,R,h,f):(0,z.of)(ce)),(0,Ke.U)(ce=>({...u,guardsResult:ce})))})}(this.ngModule.injector,ce=>this.triggerEvent(ce)),(0,we.b)(ce=>{if(T.guardsResult=ce.guardsResult,ue(ce.guardsResult))throw yr(0,ce.guardsResult);const Qe=new _i(ce.id,this.serializeUrl(ce.extractedUrl),this.serializeUrl(ce.urlAfterRedirects),ce.targetSnapshot,!!ce.guardsResult);this.triggerEvent(Qe)}),(0,Ve.h)(ce=>!!ce.guardsResult||(this.restoreHistory(ce),this.cancelNavigationTransition(ce,"",3),!1)),ar(ce=>{if(ce.guards.canActivateChecks.length)return(0,z.of)(ce).pipe((0,we.b)(Qe=>{const Ct=new Ei(Qe.id,this.serializeUrl(Qe.extractedUrl),this.serializeUrl(Qe.urlAfterRedirects),Qe.targetSnapshot);this.triggerEvent(Ct)}),(0,Et.w)(Qe=>{let Ct=!1;return(0,z.of)(Qe).pipe(function zo(h,f){return(0,ft.z)(u=>{const{targetSnapshot:b,guards:{canActivateChecks:T}}=u;if(!T.length)return(0,z.of)(u);let R=0;return(0,G.D)(T).pipe((0,ot.b)(X=>function fs(h,f,u,b){const T=h.routeConfig,R=h._resolve;return void 0!==T?.title&&!Yo(T)&&(R[bo]=T.title),function Wo(h,f,u,b){const T=function Do(h){return[...Object.keys(h),...Object.getOwnPropertySymbols(h)]}(h);if(0===T.length)return(0,z.of)({});const R={};return(0,G.D)(T).pipe((0,ft.z)(X=>function Us(h,f,u,b){const T=Pi(h,f,b);return V(T.resolve?T.resolve(f,u):T(f,u))}(h[X],f,u,b).pipe(Ae(),(0,we.b)(ce=>{R[X]=ce}))),ke(1),(0,pt.h)(R),We(X=>O(X)?Ue.E:(0,he._)(X)))}(R,h,f,b).pipe((0,Ke.U)(X=>(h._resolvedData=X,h.data=Jr(h,u).resolve,T&&Yo(T)&&(h.data[bo]=T.title),null)))}(X.route,b,h,f)),(0,we.b)(()=>R++),ke(1),(0,ft.z)(X=>R===T.length?(0,z.of)(u):Ue.E))})}(this.paramsInheritanceStrategy,this.ngModule.injector),(0,we.b)({next:()=>Ct=!0,complete:()=>{Ct||(this.restoreHistory(Qe),this.cancelNavigationTransition(Qe,"",2))}}))}),(0,we.b)(Qe=>{const Ct=new ri(Qe.id,this.serializeUrl(Qe.extractedUrl),this.serializeUrl(Qe.urlAfterRedirects),Qe.targetSnapshot);this.triggerEvent(Ct)}))}),ar(ce=>{const Qe=Ct=>{const nn=[];Ct.routeConfig?.loadComponent&&!Ct.routeConfig._loadedComponent&&nn.push(this.configLoader.loadComponent(Ct.routeConfig).pipe((0,we.b)(It=>{Ct.component=It}),(0,Ke.U)(()=>{})));for(const It of Ct.children)nn.push(...Qe(It));return nn};return(0,ve.a)(Qe(ce.targetSnapshot.root)).pipe(le(),(0,Je.q)(1))}),ar(()=>this.afterPreactivation()),(0,Ke.U)(ce=>{const Qe=function nr(h,f,u){const b=di(h,f._root,u?u._root:void 0);return new qr(b,f)}(this.routeReuseStrategy,ce.targetSnapshot,ce.currentRouterState);return T={...ce,targetRouterState:Qe}}),(0,we.b)(ce=>{this.currentUrlTree=ce.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(ce.urlAfterRedirects,ce.rawUrl),this.routerState=ce.targetRouterState,"deferred"===this.urlUpdateStrategy&&(ce.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,ce),this.browserUrlTree=ce.urlAfterRedirects)}),((h,f,u)=>(0,Ke.U)(b=>(new gt(f,b.targetRouterState,b.currentRouterState,u).activate(h),b)))(this.rootContexts,this.routeReuseStrategy,ce=>this.triggerEvent(ce)),(0,we.b)({next(){R=!0},complete(){R=!0}}),(0,De.x)(()=>{R||X||this.cancelNavigationTransition(T,"",1),this.currentNavigation?.id===T.id&&(this.currentNavigation=null)}),We(ce=>{if(X=!0,Cr(ce)){ir(ce)||(this.navigated=!0,this.restoreHistory(T,!0));const Qe=new Ii(T.id,this.serializeUrl(T.extractedUrl),ce.message,ce.cancellationCode);if(b.next(Qe),ir(ce)){const Ct=this.urlHandlingStrategy.merge(ce.url,this.rawUrlTree),nn={skipLocationChange:T.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||To(T.source)};this.scheduleNavigation(Ct,"imperative",null,nn,{resolve:T.resolve,reject:T.reject,promise:T.promise})}else T.resolve(!1)}else{this.restoreHistory(T,!0);const Qe=new kn(T.id,this.serializeUrl(T.extractedUrl),ce,T.targetSnapshot??void 0);b.next(Qe);try{T.resolve(this.errorHandler(ce))}catch(Ct){T.reject(Ct)}}return Ue.E}))}))}resetRootComponentType(u){this.rootComponentType=u,this.routerState.root.component=this.rootComponentType}setTransition(u){this.transitions.next({...this.transitions.value,...u})}initialNavigation(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(u=>{const b="popstate"===u.type?"popstate":"hashchange";"popstate"===b&&setTimeout(()=>{const T={replaceUrl:!0},R=u.state?.navigationId?u.state:null;if(R){const ce={...R};delete ce.navigationId,delete ce.\u0275routerPageId,0!==Object.keys(ce).length&&(T.state=ce)}const X=this.parseUrl(u.url);this.scheduleNavigation(X,b,R,T)},0)}))}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.currentNavigation}triggerEvent(u){this.events.next(u)}resetConfig(u){this.config=u.map(Ye),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.transitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0}createUrlTree(u,b={}){const{relativeTo:T,queryParams:R,fragment:X,queryParamsHandling:ce,preserveFragment:Qe}=b,Ct=T||this.routerState.root,nn=Qe?this.currentUrlTree.fragment:X;let It=null;switch(ce){case"merge":It={...this.currentUrlTree.queryParams,...R};break;case"preserve":It=this.currentUrlTree.queryParams;break;default:It=R||null}return null!==It&&(It=this.removeEmptyProps(It)),Qt(Ct,this.currentUrlTree,u,It,nn??null)}navigateByUrl(u,b={skipLocationChange:!1}){const T=ue(u)?u:this.parseUrl(u),R=this.urlHandlingStrategy.merge(T,this.rawUrlTree);return this.scheduleNavigation(R,"imperative",null,b)}navigate(u,b={skipLocationChange:!1}){return function Oa(h){for(let f=0;f<h.length;f++){if(null==h[f])throw new r.vHH(4008,false)}}(u),this.navigateByUrl(this.createUrlTree(u,b),b)}serializeUrl(u){return this.urlSerializer.serialize(u)}parseUrl(u){let b;try{b=this.urlSerializer.parse(u)}catch(T){b=this.malformedUriErrorHandler(T,this.urlSerializer,u)}return b}isActive(u,b){let T;if(T=!0===b?{...Aa}:!1===b?{...zs}:b,ue(u))return Me(this.currentUrlTree,u,T);const R=this.parseUrl(u);return Me(this.currentUrlTree,R,T)}removeEmptyProps(u){return Object.keys(u).reduce((b,T)=>{const R=u[T];return null!=R&&(b[T]=R),b},{})}processNavigations(){this.navigations.subscribe(u=>{this.navigated=!0,this.lastSuccessfulId=u.id,this.currentPageId=u.targetPageId,this.events.next(new ln(u.id,this.serializeUrl(u.extractedUrl),this.serializeUrl(this.currentUrlTree))),this.lastSuccessfulNavigation=this.currentNavigation,this.titleStrategy?.updateTitle(this.routerState.snapshot),u.resolve(!0)},u=>{this.console.warn(`Unhandled Navigation Error: ${u}`)})}scheduleNavigation(u,b,T,R,X){if(this.disposed)return Promise.resolve(!1);let ce,Qe,Ct;X?(ce=X.resolve,Qe=X.reject,Ct=X.promise):Ct=new Promise((Jt,y)=>{ce=Jt,Qe=y});const nn=++this.navigationId;let It;return"computed"===this.canceledNavigationResolution?(0===this.currentPageId&&(T=this.location.getState()),It=T&&T.\u0275routerPageId?T.\u0275routerPageId:R.replaceUrl||R.skipLocationChange?this.browserPageId??0:(this.browserPageId??0)+1):It=0,this.setTransition({id:nn,targetPageId:It,source:b,restoredState:T,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:u,extras:R,resolve:ce,reject:Qe,promise:Ct,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),Ct.catch(Jt=>Promise.reject(Jt))}setBrowserUrl(u,b){const T=this.urlSerializer.serialize(u),R={...b.extras.state,...this.generateNgRouterState(b.id,b.targetPageId)};this.location.isCurrentPathEqualTo(T)||b.extras.replaceUrl?this.location.replaceState(T,"",R):this.location.go(T,"",R)}restoreHistory(u,b=!1){if("computed"===this.canceledNavigationResolution){const T=this.currentPageId-u.targetPageId;"popstate"!==u.source&&"eager"!==this.urlUpdateStrategy&&this.currentUrlTree!==this.currentNavigation?.finalUrl||0===T?this.currentUrlTree===this.currentNavigation?.finalUrl&&0===T&&(this.resetState(u),this.browserUrlTree=u.currentUrlTree,this.resetUrlToCurrentUrlTree()):this.location.historyGo(T)}else"replace"===this.canceledNavigationResolution&&(b&&this.resetState(u),this.resetUrlToCurrentUrlTree())}resetState(u){this.routerState=u.currentRouterState,this.currentUrlTree=u.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,u.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}cancelNavigationTransition(u,b,T){const R=new Ii(u.id,this.serializeUrl(u.extractedUrl),b,T);this.triggerEvent(R),u.resolve(!1)}generateNgRouterState(u,b){return"computed"===this.canceledNavigationResolution?{navigationId:u,\u0275routerPageId:b}:{navigationId:u}}}return h.\u0275fac=function(u){r.$Z()},h.\u0275prov=r.Yz7({token:h,factory:function(){return gs()},providedIn:"root"}),h})();function To(h){return"imperative"!==h}class Tr{}let So=(()=>{class h{constructor(u,b,T,R,X){this.router=u,this.injector=T,this.preloadingStrategy=R,this.loader=X}setUpPreloading(){this.subscription=this.router.events.pipe((0,Ve.h)(u=>u instanceof ln),(0,ot.b)(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(u,b){const T=[];for(const R of b){R.providers&&!R._injector&&(R._injector=(0,r.MMx)(R.providers,u,`Route: ${R.path}`));const X=R._injector??u,ce=R._loadedInjector??X;R.loadChildren&&!R._loadedRoutes&&void 0===R.canLoad||R.loadComponent&&!R._loadedComponent?T.push(this.preloadConfig(X,R)):(R.children||R._loadedRoutes)&&T.push(this.processRoutes(ce,R.children??R._loadedRoutes))}return(0,G.D)(T).pipe((0,ge.J)())}preloadConfig(u,b){return this.preloadingStrategy.preload(b,()=>{let T;T=b.loadChildren&&void 0===b.canLoad?this.loader.loadChildren(u,b):(0,z.of)(null);const R=T.pipe((0,ft.z)(X=>null===X?(0,z.of)(void 0):(b._loadedRoutes=X.routes,b._loadedInjector=X.injector,this.processRoutes(X.injector??u,X.routes))));if(b.loadComponent&&!b._loadedComponent){const X=this.loader.loadComponent(b);return(0,G.D)([R,X]).pipe((0,ge.J)())}return R})}}return h.\u0275fac=function(u){return new(u||h)(r.LFG(ti),r.LFG(r.Sil),r.LFG(r.lqb),r.LFG(Tr),r.LFG(Ko))},h.\u0275prov=r.Yz7({token:h,factory:h.\u0275fac}),h})();const vs=new r.OlP("");let ys=(()=>{class h{constructor(u,b,T={}){this.router=u,this.viewportScroller=b,this.options=T,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},T.scrollPositionRestoration=T.scrollPositionRestoration||"disabled",T.anchorScrolling=T.anchorScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.router.events.subscribe(u=>{u instanceof Hn?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=u.navigationTrigger,this.restoredId=u.restoredState?u.restoredState.navigationId:0):u instanceof ln&&(this.lastId=u.id,this.scheduleScrollEvent(u,this.router.parseUrl(u.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.router.events.subscribe(u=>{u instanceof gr&&(u.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(u.position):u.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(u.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(u,b){this.router.triggerEvent(new gr(u,"popstate"===this.lastSource?this.store[this.restoredId]:null,b))}ngOnDestroy(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}return h.\u0275fac=function(u){r.$Z()},h.\u0275prov=r.Yz7({token:h,factory:h.\u0275fac}),h})();const lr=new r.OlP("ROUTER_FORROOT_GUARD"),$r=new r.OlP(""),Ks=[Te.Ye,{provide:re,useClass:oe},{provide:ti,useFactory:gs},Wi,{provide:Xi,useFactory:function Cs(h){return h.routerState.root},deps:[ti]},Ko];function oo(){return new r.PXZ("Router",ti)}let xa=(()=>{class h{constructor(u){}static forRoot(u,b){return{ngModule:h,providers:[Ks,[],Pa(u),{provide:lr,useFactory:Fa,deps:[[ti,new r.FiY,new r.tp0]]},{provide:wo,useValue:b||{}},b?.useHash?{provide:Te.S$,useClass:Te.Do}:{provide:Te.S$,useClass:Te.b0},{provide:vs,useFactory:()=>{const h=(0,r.f3M)(ti),f=(0,r.f3M)(Te.EM),u=(0,r.f3M)(wo);return u.scrollOffset&&f.setOffset(u.scrollOffset),new ys(h,f,u)}},b?.preloadingStrategy?Xo(b.preloadingStrategy):[],{provide:r.PXZ,multi:!0,useFactory:oo},b?.initialNavigation?ll(b):[],[{provide:Ra,useFactory:bs},{provide:r.tb,multi:!0,useExisting:Ra}]]}}static forChild(u){return{ngModule:h,providers:[Pa(u)]}}}return h.\u0275fac=function(u){return new(u||h)(r.LFG(lr,8))},h.\u0275mod=r.oAB({type:h}),h.\u0275inj=r.cJS({}),h})();function Fa(h){return"guarded"}function Pa(h){return[{provide:yi,multi:!0,useValue:h}]}function bs(){const h=(0,r.f3M)(r.zs3);return f=>{const u=h.get(r.z2F);if(f!==u.components[0])return;const b=h.get(ti),T=h.get(Zi);1===h.get(qs)&&b.initialNavigation(),h.get($r,null,r.XFs.Optional)?.setUpPreloading(),h.get(vs,null,r.XFs.Optional)?.init(),b.resetRootComponentType(u.componentTypes[0]),T.next(),T.complete()}}const Ra=new r.OlP("");function ll(h){return["disabled"===h.initialNavigation?[{provide:r.ip1,multi:!0,useFactory:()=>{const h=(0,r.f3M)(ti);return()=>{h.setUpLocationChangeListener()}}},{provide:qs,useValue:2}]:[],"enabledBlocking"===h.initialNavigation?[{provide:qs,useValue:0},{provide:r.ip1,multi:!0,deps:[r.zs3],useFactory:h=>{const f=h.get(Te.V_,Promise.resolve(null));let u=!1;return()=>f.then(()=>new Promise(T=>{const R=h.get(ti),X=h.get(Zi);(function b(T){h.get(ti).events.pipe((0,Ve.h)(X=>X instanceof ln||X instanceof Ii||X instanceof kn),(0,Ke.U)(X=>X instanceof ln||X instanceof Ii&&(0===X.code||1===X.code)&&null),(0,Ve.h)(X=>null!==X),(0,Je.q)(1)).subscribe(()=>{T()})})(()=>{T(!0),u=!0}),R.afterPreactivation=()=>(T(!0),u||X.closed?(0,z.of)(void 0):X),R.initialNavigation()}))}}]:[]]}const Zi=new r.OlP("",{factory:()=>new je.x}),qs=new r.OlP("",{providedIn:"root",factory:()=>1});function Xo(h){return[So,{provide:$r,useExisting:So},{provide:Tr,useExisting:h}]}},8796:(dt,Ee,D)=>{D.d(Ee,{A0:()=>et,w9:()=>En});var r=D(1571),d=D(433),J=D(2722),G=D(3601),z=D(8675),K=D(8505),ve=D(8372),ae=D(9300),ie=D(4004),ee=D(6406),he=D(3101),_e=D(7579),Ue=D(4968),Be=D(6451),je=D(6895);const Te=["content"],Ve=["scroll"],Je=["padding"],Se=function(F){return{searchTerm:F}};function ht(F,B){if(1&F&&(r.TgZ(0,"div",6),r.GkF(1,7),r.qZA()),2&F){const p=r.oxw();r.xp6(1),r.Q6J("ngTemplateOutlet",p.headerTemplate)("ngTemplateOutletContext",r.VKq(2,Se,p.filterValue))}}function le(F,B){if(1&F&&(r.TgZ(0,"div",8),r.GkF(1,7),r.qZA()),2&F){const p=r.oxw();r.xp6(1),r.Q6J("ngTemplateOutlet",p.footerTemplate)("ngTemplateOutletContext",r.VKq(2,Se,p.filterValue))}}const Z=["*"],Oe=["searchInput"];function Le(F,B){if(1&F){const p=r.EpF();r.TgZ(0,"span",15),r.NdJ("click",function(){r.CHM(p);const _=r.oxw().$implicit,w=r.oxw(2);return r.KtG(w.unselect(_))}),r._uU(1,"\xd7"),r.qZA(),r._UZ(2,"span",16)}if(2&F){const p=r.oxw().$implicit,v=r.oxw(2);r.xp6(2),r.Q6J("ngItemLabel",p.label)("escape",v.escapeHTML)}}function Ae(F,B){}const Ge=function(F,B,p){return{item:F,clear:B,label:p}};function We(F,B){if(1&F&&(r.TgZ(0,"div",12),r.YNc(1,Le,3,2,"ng-template",null,13,r.W1O),r.YNc(3,Ae,0,0,"ng-template",14),r.qZA()),2&F){const p=B.$implicit,v=r.MAs(2),_=r.oxw(2);r.ekj("ng-value-disabled",p.disabled),r.xp6(3),r.Q6J("ngTemplateOutlet",_.labelTemplate||v)("ngTemplateOutletContext",r.kEZ(4,Ge,p.value,_.clearItem,p.label))}}function ye(F,B){if(1&F&&(r.ynx(0),r.YNc(1,We,4,8,"div",11),r.BQk()),2&F){const p=r.oxw();r.xp6(1),r.Q6J("ngForOf",p.selectedItems)("ngForTrackBy",p.trackByOption)}}function be(F,B){}const ke=function(F,B){return{items:F,clear:B}};function Ce(F,B){if(1&F&&r.YNc(0,be,0,0,"ng-template",14),2&F){const p=r.oxw();r.Q6J("ngTemplateOutlet",p.multiLabelTemplate)("ngTemplateOutletContext",r.WLB(2,ke,p.selectedValues,p.clearItem))}}function ut(F,B){1&F&&r._UZ(0,"div",19)}function Ke(F,B){}function Et(F,B){if(1&F&&(r.ynx(0),r.YNc(1,ut,1,0,"ng-template",null,17,r.W1O),r.YNc(3,Ke,0,0,"ng-template",18),r.BQk()),2&F){const p=r.MAs(2),v=r.oxw();r.xp6(3),r.Q6J("ngTemplateOutlet",v.loadingSpinnerTemplate||p)}}function Rt(F,B){if(1&F&&(r.TgZ(0,"span",20)(1,"span",21),r._uU(2,"\xd7"),r.qZA()()),2&F){const p=r.oxw();r.s9C("title",p.clearAllText)}}function ft(F,B){if(1&F&&r._UZ(0,"span",27),2&F){const p=r.oxw().$implicit,v=r.oxw(2);r.Q6J("ngItemLabel",p.label)("escape",v.escapeHTML)}}function ot(F,B){}const we=function(F,B,p,v){return{item:F,item$:B,index:p,searchTerm:v}};function pt(F,B){if(1&F){const p=r.EpF();r.TgZ(0,"div",25),r.NdJ("click",function(){const w=r.CHM(p).$implicit,P=r.oxw(2);return r.KtG(P.toggleItem(w))})("mouseover",function(){const w=r.CHM(p).$implicit,P=r.oxw(2);return r.KtG(P.onItemHover(w))}),r.YNc(1,ft,1,2,"ng-template",null,26,r.W1O),r.YNc(3,ot,0,0,"ng-template",14),r.qZA()}if(2&F){const p=B.$implicit,v=r.MAs(2),_=r.oxw(2);r.ekj("ng-option-disabled",p.disabled)("ng-option-selected",p.selected)("ng-optgroup",p.children)("ng-option",!p.children)("ng-option-child",!!p.parent)("ng-option-marked",p===_.itemsList.markedItem),r.uIk("role",p.children?"group":"option")("aria-selected",p.selected)("id",null==p?null:p.htmlId),r.xp6(3),r.Q6J("ngTemplateOutlet",p.children?_.optgroupTemplate||v:_.optionTemplate||v)("ngTemplateOutletContext",r.l5B(17,we,p.value,p,p.index,_.searchTerm))}}function De(F,B){if(1&F&&(r.TgZ(0,"span")(1,"span",30),r._uU(2),r.qZA(),r._uU(3),r.qZA()),2&F){const p=r.oxw(3);r.xp6(2),r.Oqu(p.addTagText),r.xp6(1),r.hij('"',p.searchTerm,'"')}}function xe(F,B){}function ge(F,B){if(1&F){const p=r.EpF();r.TgZ(0,"div",28),r.NdJ("mouseover",function(){r.CHM(p);const _=r.oxw(2);return r.KtG(_.itemsList.unmarkItem())})("click",function(){r.CHM(p);const _=r.oxw(2);return r.KtG(_.selectTag())}),r.YNc(1,De,4,2,"ng-template",null,29,r.W1O),r.YNc(3,xe,0,0,"ng-template",14),r.qZA()}if(2&F){const p=r.MAs(2),v=r.oxw(2);r.ekj("ng-option-marked",!v.itemsList.markedItem),r.xp6(3),r.Q6J("ngTemplateOutlet",v.tagTemplate||p)("ngTemplateOutletContext",r.VKq(4,Se,v.searchTerm))}}function Fe(F,B){if(1&F&&(r.TgZ(0,"div",32),r._uU(1),r.qZA()),2&F){const p=r.oxw(3);r.xp6(1),r.Oqu(p.notFoundText)}}function Ze(F,B){}function _t(F,B){if(1&F&&(r.ynx(0),r.YNc(1,Fe,2,1,"ng-template",null,31,r.W1O),r.YNc(3,Ze,0,0,"ng-template",14),r.BQk()),2&F){const p=r.MAs(2),v=r.oxw(2);r.xp6(3),r.Q6J("ngTemplateOutlet",v.notFoundTemplate||p)("ngTemplateOutletContext",r.VKq(2,Se,v.searchTerm))}}function Wt(F,B){if(1&F&&(r.TgZ(0,"div",32),r._uU(1),r.qZA()),2&F){const p=r.oxw(3);r.xp6(1),r.Oqu(p.typeToSearchText)}}function rn(F,B){}function hn(F,B){if(1&F&&(r.ynx(0),r.YNc(1,Wt,2,1,"ng-template",null,33,r.W1O),r.YNc(3,rn,0,0,"ng-template",18),r.BQk()),2&F){const p=r.MAs(2),v=r.oxw(2);r.xp6(3),r.Q6J("ngTemplateOutlet",v.typeToSearchTemplate||p)}}function tn(F,B){if(1&F&&(r.TgZ(0,"div",32),r._uU(1),r.qZA()),2&F){const p=r.oxw(3);r.xp6(1),r.Oqu(p.loadingText)}}function on(F,B){}function Kt(F,B){if(1&F&&(r.ynx(0),r.YNc(1,tn,2,1,"ng-template",null,34,r.W1O),r.YNc(3,on,0,0,"ng-template",14),r.BQk()),2&F){const p=r.MAs(2),v=r.oxw(2);r.xp6(3),r.Q6J("ngTemplateOutlet",v.loadingTextTemplate||p)("ngTemplateOutletContext",r.VKq(2,Se,v.searchTerm))}}function gn(F,B){if(1&F){const p=r.EpF();r.TgZ(0,"ng-dropdown-panel",22),r.NdJ("update",function(_){r.CHM(p);const w=r.oxw();return r.KtG(w.viewPortItems=_)})("scroll",function(_){r.CHM(p);const w=r.oxw();return r.KtG(w.scroll.emit(_))})("scrollToEnd",function(_){r.CHM(p);const w=r.oxw();return r.KtG(w.scrollToEnd.emit(_))})("outsideClick",function(){r.CHM(p);const _=r.oxw();return r.KtG(_.close())}),r.ynx(1),r.YNc(2,pt,4,22,"div",23),r.YNc(3,ge,4,6,"div",24),r.BQk(),r.YNc(4,_t,4,4,"ng-container",3),r.YNc(5,hn,4,1,"ng-container",3),r.YNc(6,Kt,4,4,"ng-container",3),r.qZA()}if(2&F){const p=r.oxw();r.ekj("ng-select-multiple",p.multiple),r.Q6J("virtualScroll",p.virtualScroll)("bufferAmount",p.bufferAmount)("appendTo",p.appendTo)("position",p.dropdownPosition)("headerTemplate",p.headerTemplate)("footerTemplate",p.footerTemplate)("filterValue",p.searchTerm)("items",p.itemsList.filteredItems)("markedItem",p.itemsList.markedItem)("ngClass",p.appendTo?p.classes:null)("id",p.dropdownId),r.xp6(2),r.Q6J("ngForOf",p.viewPortItems)("ngForTrackBy",p.trackByOption),r.xp6(1),r.Q6J("ngIf",p.showAddTag),r.xp6(1),r.Q6J("ngIf",p.showNoItemsFound()),r.xp6(1),r.Q6J("ngIf",p.showTypeToSearch()),r.xp6(1),r.Q6J("ngIf",p.loading&&0===p.itemsList.filteredItems.length)}}const mn=/[&<>"']/g,He=RegExp(mn.source),V={"&":"&","<":"<",">":">",'"':""","'":"'"};function Y(F){return null!=F}function $(F){return"object"==typeof F&&Y(F)}function Me(F){return F instanceof Function}let de=(()=>{class F{constructor(p){this.element=p,this.escape=!0}ngOnChanges(p){this.element.nativeElement.innerHTML=this.escape?function H(F){return F&&He.test(F)?F.replace(mn,B=>V[B]):F}(this.ngItemLabel):this.ngItemLabel}}return F.\u0275fac=function(p){return new(p||F)(r.Y36(r.SBq))},F.\u0275dir=r.lG2({type:F,selectors:[["","ngItemLabel",""]],inputs:{ngItemLabel:"ngItemLabel",escape:"escape"},features:[r.TTD]}),F})(),Q=(()=>{class F{constructor(p){this.template=p}}return F.\u0275fac=function(p){return new(p||F)(r.Y36(r.Rgc))},F.\u0275dir=r.lG2({type:F,selectors:[["","ng-option-tmp",""]]}),F})(),W=(()=>{class F{constructor(p){this.template=p}}return F.\u0275fac=function(p){return new(p||F)(r.Y36(r.Rgc))},F.\u0275dir=r.lG2({type:F,selectors:[["","ng-optgroup-tmp",""]]}),F})(),fe=(()=>{class F{constructor(p){this.template=p}}return F.\u0275fac=function(p){return new(p||F)(r.Y36(r.Rgc))},F.\u0275dir=r.lG2({type:F,selectors:[["","ng-label-tmp",""]]}),F})(),$e=(()=>{class F{constructor(p){this.template=p}}return F.\u0275fac=function(p){return new(p||F)(r.Y36(r.Rgc))},F.\u0275dir=r.lG2({type:F,selectors:[["","ng-multi-label-tmp",""]]}),F})(),vt=(()=>{class F{constructor(p){this.template=p}}return F.\u0275fac=function(p){return new(p||F)(r.Y36(r.Rgc))},F.\u0275dir=r.lG2({type:F,selectors:[["","ng-header-tmp",""]]}),F})(),mt=(()=>{class F{constructor(p){this.template=p}}return F.\u0275fac=function(p){return new(p||F)(r.Y36(r.Rgc))},F.\u0275dir=r.lG2({type:F,selectors:[["","ng-footer-tmp",""]]}),F})(),it=(()=>{class F{constructor(p){this.template=p}}return F.\u0275fac=function(p){return new(p||F)(r.Y36(r.Rgc))},F.\u0275dir=r.lG2({type:F,selectors:[["","ng-notfound-tmp",""]]}),F})(),wt=(()=>{class F{constructor(p){this.template=p}}return F.\u0275fac=function(p){return new(p||F)(r.Y36(r.Rgc))},F.\u0275dir=r.lG2({type:F,selectors:[["","ng-typetosearch-tmp",""]]}),F})(),an=(()=>{class F{constructor(p){this.template=p}}return F.\u0275fac=function(p){return new(p||F)(r.Y36(r.Rgc))},F.\u0275dir=r.lG2({type:F,selectors:[["","ng-loadingtext-tmp",""]]}),F})(),kt=(()=>{class F{constructor(p){this.template=p}}return F.\u0275fac=function(p){return new(p||F)(r.Y36(r.Rgc))},F.\u0275dir=r.lG2({type:F,selectors:[["","ng-tag-tmp",""]]}),F})(),Re=(()=>{class F{constructor(p){this.template=p}}return F.\u0275fac=function(p){return new(p||F)(r.Y36(r.Rgc))},F.\u0275dir=r.lG2({type:F,selectors:[["","ng-loadingspinner-tmp",""]]}),F})();function re(){return"axxxxxxxxxxx".replace(/[x]/g,()=>(16*Math.random()|0).toString(16))}const oe={"\u24b6":"A",\uff21:"A",\u00c0:"A",\u00c1:"A",\u00c2:"A",\u1ea6:"A",\u1ea4:"A",\u1eaa:"A",\u1ea8:"A",\u00c3:"A",\u0100:"A",\u0102:"A",\u1eb0:"A",\u1eae:"A",\u1eb4:"A",\u1eb2:"A",\u0226:"A",\u01e0:"A",\u00c4:"A",\u01de:"A",\u1ea2:"A",\u00c5:"A",\u01fa:"A",\u01cd:"A",\u0200:"A",\u0202:"A",\u1ea0:"A",\u1eac:"A",\u1eb6:"A",\u1e00:"A",\u0104:"A",\u023a:"A",\u2c6f:"A",\ua732:"AA",\u00c6:"AE",\u01fc:"AE",\u01e2:"AE",\ua734:"AO",\ua736:"AU",\ua738:"AV",\ua73a:"AV",\ua73c:"AY","\u24b7":"B",\uff22:"B",\u1e02:"B",\u1e04:"B",\u1e06:"B",\u0243:"B",\u0182:"B",\u0181:"B","\u24b8":"C",\uff23:"C",\u0106:"C",\u0108:"C",\u010a:"C",\u010c:"C",\u00c7:"C",\u1e08:"C",\u0187:"C",\u023b:"C",\ua73e:"C","\u24b9":"D",\uff24:"D",\u1e0a:"D",\u010e:"D",\u1e0c:"D",\u1e10:"D",\u1e12:"D",\u1e0e:"D",\u0110:"D",\u018b:"D",\u018a:"D",\u0189:"D",\ua779:"D",\u01f1:"DZ",\u01c4:"DZ",\u01f2:"Dz",\u01c5:"Dz","\u24ba":"E",\uff25:"E",\u00c8:"E",\u00c9:"E",\u00ca:"E",\u1ec0:"E",\u1ebe:"E",\u1ec4:"E",\u1ec2:"E",\u1ebc:"E",\u0112:"E",\u1e14:"E",\u1e16:"E",\u0114:"E",\u0116:"E",\u00cb:"E",\u1eba:"E",\u011a:"E",\u0204:"E",\u0206:"E",\u1eb8:"E",\u1ec6:"E",\u0228:"E",\u1e1c:"E",\u0118:"E",\u1e18:"E",\u1e1a:"E",\u0190:"E",\u018e:"E","\u24bb":"F",\uff26:"F",\u1e1e:"F",\u0191:"F",\ua77b:"F","\u24bc":"G",\uff27:"G",\u01f4:"G",\u011c:"G",\u1e20:"G",\u011e:"G",\u0120:"G",\u01e6:"G",\u0122:"G",\u01e4:"G",\u0193:"G",\ua7a0:"G",\ua77d:"G",\ua77e:"G","\u24bd":"H",\uff28:"H",\u0124:"H",\u1e22:"H",\u1e26:"H",\u021e:"H",\u1e24:"H",\u1e28:"H",\u1e2a:"H",\u0126:"H",\u2c67:"H",\u2c75:"H",\ua78d:"H","\u24be":"I",\uff29:"I",\u00cc:"I",\u00cd:"I",\u00ce:"I",\u0128:"I",\u012a:"I",\u012c:"I",\u0130:"I",\u00cf:"I",\u1e2e:"I",\u1ec8:"I",\u01cf:"I",\u0208:"I",\u020a:"I",\u1eca:"I",\u012e:"I",\u1e2c:"I",\u0197:"I","\u24bf":"J",\uff2a:"J",\u0134:"J",\u0248:"J","\u24c0":"K",\uff2b:"K",\u1e30:"K",\u01e8:"K",\u1e32:"K",\u0136:"K",\u1e34:"K",\u0198:"K",\u2c69:"K",\ua740:"K",\ua742:"K",\ua744:"K",\ua7a2:"K","\u24c1":"L",\uff2c:"L",\u013f:"L",\u0139:"L",\u013d:"L",\u1e36:"L",\u1e38:"L",\u013b:"L",\u1e3c:"L",\u1e3a:"L",\u0141:"L",\u023d:"L",\u2c62:"L",\u2c60:"L",\ua748:"L",\ua746:"L",\ua780:"L",\u01c7:"LJ",\u01c8:"Lj","\u24c2":"M",\uff2d:"M",\u1e3e:"M",\u1e40:"M",\u1e42:"M",\u2c6e:"M",\u019c:"M","\u24c3":"N",\uff2e:"N",\u01f8:"N",\u0143:"N",\u00d1:"N",\u1e44:"N",\u0147:"N",\u1e46:"N",\u0145:"N",\u1e4a:"N",\u1e48:"N",\u0220:"N",\u019d:"N",\ua790:"N",\ua7a4:"N",\u01ca:"NJ",\u01cb:"Nj","\u24c4":"O",\uff2f:"O",\u00d2:"O",\u00d3:"O",\u00d4:"O",\u1ed2:"O",\u1ed0:"O",\u1ed6:"O",\u1ed4:"O",\u00d5:"O",\u1e4c:"O",\u022c:"O",\u1e4e:"O",\u014c:"O",\u1e50:"O",\u1e52:"O",\u014e:"O",\u022e:"O",\u0230:"O",\u00d6:"O",\u022a:"O",\u1ece:"O",\u0150:"O",\u01d1:"O",\u020c:"O",\u020e:"O",\u01a0:"O",\u1edc:"O",\u1eda:"O",\u1ee0:"O",\u1ede:"O",\u1ee2:"O",\u1ecc:"O",\u1ed8:"O",\u01ea:"O",\u01ec:"O",\u00d8:"O",\u01fe:"O",\u0186:"O",\u019f:"O",\ua74a:"O",\ua74c:"O",\u01a2:"OI",\ua74e:"OO",\u0222:"OU","\u24c5":"P",\uff30:"P",\u1e54:"P",\u1e56:"P",\u01a4:"P",\u2c63:"P",\ua750:"P",\ua752:"P",\ua754:"P","\u24c6":"Q",\uff31:"Q",\ua756:"Q",\ua758:"Q",\u024a:"Q","\u24c7":"R",\uff32:"R",\u0154:"R",\u1e58:"R",\u0158:"R",\u0210:"R",\u0212:"R",\u1e5a:"R",\u1e5c:"R",\u0156:"R",\u1e5e:"R",\u024c:"R",\u2c64:"R",\ua75a:"R",\ua7a6:"R",\ua782:"R","\u24c8":"S",\uff33:"S",\u1e9e:"S",\u015a:"S",\u1e64:"S",\u015c:"S",\u1e60:"S",\u0160:"S",\u1e66:"S",\u1e62:"S",\u1e68:"S",\u0218:"S",\u015e:"S",\u2c7e:"S",\ua7a8:"S",\ua784:"S","\u24c9":"T",\uff34:"T",\u1e6a:"T",\u0164:"T",\u1e6c:"T",\u021a:"T",\u0162:"T",\u1e70:"T",\u1e6e:"T",\u0166:"T",\u01ac:"T",\u01ae:"T",\u023e:"T",\ua786:"T",\ua728:"TZ","\u24ca":"U",\uff35:"U",\u00d9:"U",\u00da:"U",\u00db:"U",\u0168:"U",\u1e78:"U",\u016a:"U",\u1e7a:"U",\u016c:"U",\u00dc:"U",\u01db:"U",\u01d7:"U",\u01d5:"U",\u01d9:"U",\u1ee6:"U",\u016e:"U",\u0170:"U",\u01d3:"U",\u0214:"U",\u0216:"U",\u01af:"U",\u1eea:"U",\u1ee8:"U",\u1eee:"U",\u1eec:"U",\u1ef0:"U",\u1ee4:"U",\u1e72:"U",\u0172:"U",\u1e76:"U",\u1e74:"U",\u0244:"U","\u24cb":"V",\uff36:"V",\u1e7c:"V",\u1e7e:"V",\u01b2:"V",\ua75e:"V",\u0245:"V",\ua760:"VY","\u24cc":"W",\uff37:"W",\u1e80:"W",\u1e82:"W",\u0174:"W",\u1e86:"W",\u1e84:"W",\u1e88:"W",\u2c72:"W","\u24cd":"X",\uff38:"X",\u1e8a:"X",\u1e8c:"X","\u24ce":"Y",\uff39:"Y",\u1ef2:"Y",\u00dd:"Y",\u0176:"Y",\u1ef8:"Y",\u0232:"Y",\u1e8e:"Y",\u0178:"Y",\u1ef6:"Y",\u1ef4:"Y",\u01b3:"Y",\u024e:"Y",\u1efe:"Y","\u24cf":"Z",\uff3a:"Z",\u0179:"Z",\u1e90:"Z",\u017b:"Z",\u017d:"Z",\u1e92:"Z",\u1e94:"Z",\u01b5:"Z",\u0224:"Z",\u2c7f:"Z",\u2c6b:"Z",\ua762:"Z","\u24d0":"a",\uff41:"a",\u1e9a:"a",\u00e0:"a",\u00e1:"a",\u00e2:"a",\u1ea7:"a",\u1ea5:"a",\u1eab:"a",\u1ea9:"a",\u00e3:"a",\u0101:"a",\u0103:"a",\u1eb1:"a",\u1eaf:"a",\u1eb5:"a",\u1eb3:"a",\u0227:"a",\u01e1:"a",\u00e4:"a",\u01df:"a",\u1ea3:"a",\u00e5:"a",\u01fb:"a",\u01ce:"a",\u0201:"a",\u0203:"a",\u1ea1:"a",\u1ead:"a",\u1eb7:"a",\u1e01:"a",\u0105:"a",\u2c65:"a",\u0250:"a",\ua733:"aa",\u00e6:"ae",\u01fd:"ae",\u01e3:"ae",\ua735:"ao",\ua737:"au",\ua739:"av",\ua73b:"av",\ua73d:"ay","\u24d1":"b",\uff42:"b",\u1e03:"b",\u1e05:"b",\u1e07:"b",\u0180:"b",\u0183:"b",\u0253:"b","\u24d2":"c",\uff43:"c",\u0107:"c",\u0109:"c",\u010b:"c",\u010d:"c",\u00e7:"c",\u1e09:"c",\u0188:"c",\u023c:"c",\ua73f:"c",\u2184:"c","\u24d3":"d",\uff44:"d",\u1e0b:"d",\u010f:"d",\u1e0d:"d",\u1e11:"d",\u1e13:"d",\u1e0f:"d",\u0111:"d",\u018c:"d",\u0256:"d",\u0257:"d",\ua77a:"d",\u01f3:"dz",\u01c6:"dz","\u24d4":"e",\uff45:"e",\u00e8:"e",\u00e9:"e",\u00ea:"e",\u1ec1:"e",\u1ebf:"e",\u1ec5:"e",\u1ec3:"e",\u1ebd:"e",\u0113:"e",\u1e15:"e",\u1e17:"e",\u0115:"e",\u0117:"e",\u00eb:"e",\u1ebb:"e",\u011b:"e",\u0205:"e",\u0207:"e",\u1eb9:"e",\u1ec7:"e",\u0229:"e",\u1e1d:"e",\u0119:"e",\u1e19:"e",\u1e1b:"e",\u0247:"e",\u025b:"e",\u01dd:"e","\u24d5":"f",\uff46:"f",\u1e1f:"f",\u0192:"f",\ua77c:"f","\u24d6":"g",\uff47:"g",\u01f5:"g",\u011d:"g",\u1e21:"g",\u011f:"g",\u0121:"g",\u01e7:"g",\u0123:"g",\u01e5:"g",\u0260:"g",\ua7a1:"g",\u1d79:"g",\ua77f:"g","\u24d7":"h",\uff48:"h",\u0125:"h",\u1e23:"h",\u1e27:"h",\u021f:"h",\u1e25:"h",\u1e29:"h",\u1e2b:"h",\u1e96:"h",\u0127:"h",\u2c68:"h",\u2c76:"h",\u0265:"h",\u0195:"hv","\u24d8":"i",\uff49:"i",\u00ec:"i",\u00ed:"i",\u00ee:"i",\u0129:"i",\u012b:"i",\u012d:"i",\u00ef:"i",\u1e2f:"i",\u1ec9:"i",\u01d0:"i",\u0209:"i",\u020b:"i",\u1ecb:"i",\u012f:"i",\u1e2d:"i",\u0268:"i",\u0131:"i","\u24d9":"j",\uff4a:"j",\u0135:"j",\u01f0:"j",\u0249:"j","\u24da":"k",\uff4b:"k",\u1e31:"k",\u01e9:"k",\u1e33:"k",\u0137:"k",\u1e35:"k",\u0199:"k",\u2c6a:"k",\ua741:"k",\ua743:"k",\ua745:"k",\ua7a3:"k","\u24db":"l",\uff4c:"l",\u0140:"l",\u013a:"l",\u013e:"l",\u1e37:"l",\u1e39:"l",\u013c:"l",\u1e3d:"l",\u1e3b:"l",\u017f:"l",\u0142:"l",\u019a:"l",\u026b:"l",\u2c61:"l",\ua749:"l",\ua781:"l",\ua747:"l",\u01c9:"lj","\u24dc":"m",\uff4d:"m",\u1e3f:"m",\u1e41:"m",\u1e43:"m",\u0271:"m",\u026f:"m","\u24dd":"n",\uff4e:"n",\u01f9:"n",\u0144:"n",\u00f1:"n",\u1e45:"n",\u0148:"n",\u1e47:"n",\u0146:"n",\u1e4b:"n",\u1e49:"n",\u019e:"n",\u0272:"n",\u0149:"n",\ua791:"n",\ua7a5:"n",\u01cc:"nj","\u24de":"o",\uff4f:"o",\u00f2:"o",\u00f3:"o",\u00f4:"o",\u1ed3:"o",\u1ed1:"o",\u1ed7:"o",\u1ed5:"o",\u00f5:"o",\u1e4d:"o",\u022d:"o",\u1e4f:"o",\u014d:"o",\u1e51:"o",\u1e53:"o",\u014f:"o",\u022f:"o",\u0231:"o",\u00f6:"o",\u022b:"o",\u1ecf:"o",\u0151:"o",\u01d2:"o",\u020d:"o",\u020f:"o",\u01a1:"o",\u1edd:"o",\u1edb:"o",\u1ee1:"o",\u1edf:"o",\u1ee3:"o",\u1ecd:"o",\u1ed9:"o",\u01eb:"o",\u01ed:"o",\u00f8:"o",\u01ff:"o",\u0254:"o",\ua74b:"o",\ua74d:"o",\u0275:"o",\u01a3:"oi",\u0223:"ou",\ua74f:"oo","\u24df":"p",\uff50:"p",\u1e55:"p",\u1e57:"p",\u01a5:"p",\u1d7d:"p",\ua751:"p",\ua753:"p",\ua755:"p","\u24e0":"q",\uff51:"q",\u024b:"q",\ua757:"q",\ua759:"q","\u24e1":"r",\uff52:"r",\u0155:"r",\u1e59:"r",\u0159:"r",\u0211:"r",\u0213:"r",\u1e5b:"r",\u1e5d:"r",\u0157:"r",\u1e5f:"r",\u024d:"r",\u027d:"r",\ua75b:"r",\ua7a7:"r",\ua783:"r","\u24e2":"s",\uff53:"s",\u00df:"s",\u015b:"s",\u1e65:"s",\u015d:"s",\u1e61:"s",\u0161:"s",\u1e67:"s",\u1e63:"s",\u1e69:"s",\u0219:"s",\u015f:"s",\u023f:"s",\ua7a9:"s",\ua785:"s",\u1e9b:"s","\u24e3":"t",\uff54:"t",\u1e6b:"t",\u1e97:"t",\u0165:"t",\u1e6d:"t",\u021b:"t",\u0163:"t",\u1e71:"t",\u1e6f:"t",\u0167:"t",\u01ad:"t",\u0288:"t",\u2c66:"t",\ua787:"t",\ua729:"tz","\u24e4":"u",\uff55:"u",\u00f9:"u",\u00fa:"u",\u00fb:"u",\u0169:"u",\u1e79:"u",\u016b:"u",\u1e7b:"u",\u016d:"u",\u00fc:"u",\u01dc:"u",\u01d8:"u",\u01d6:"u",\u01da:"u",\u1ee7:"u",\u016f:"u",\u0171:"u",\u01d4:"u",\u0215:"u",\u0217:"u",\u01b0:"u",\u1eeb:"u",\u1ee9:"u",\u1eef:"u",\u1eed:"u",\u1ef1:"u",\u1ee5:"u",\u1e73:"u",\u0173:"u",\u1e77:"u",\u1e75:"u",\u0289:"u","\u24e5":"v",\uff56:"v",\u1e7d:"v",\u1e7f:"v",\u028b:"v",\ua75f:"v",\u028c:"v",\ua761:"vy","\u24e6":"w",\uff57:"w",\u1e81:"w",\u1e83:"w",\u0175:"w",\u1e87:"w",\u1e85:"w",\u1e98:"w",\u1e89:"w",\u2c73:"w","\u24e7":"x",\uff58:"x",\u1e8b:"x",\u1e8d:"x","\u24e8":"y",\uff59:"y",\u1ef3:"y",\u00fd:"y",\u0177:"y",\u1ef9:"y",\u0233:"y",\u1e8f:"y",\u00ff:"y",\u1ef7:"y",\u1e99:"y",\u1ef5:"y",\u01b4:"y",\u024f:"y",\u1eff:"y","\u24e9":"z",\uff5a:"z",\u017a:"z",\u1e91:"z",\u017c:"z",\u017e:"z",\u1e93:"z",\u1e95:"z",\u01b6:"z",\u0225:"z",\u0240:"z",\u2c6c:"z",\ua763:"z",\u0386:"\u0391",\u0388:"\u0395",\u0389:"\u0397",\u038a:"\u0399",\u03aa:"\u0399",\u038c:"\u039f",\u038e:"\u03a5",\u03ab:"\u03a5",\u038f:"\u03a9",\u03ac:"\u03b1",\u03ad:"\u03b5",\u03ae:"\u03b7",\u03af:"\u03b9",\u03ca:"\u03b9",\u0390:"\u03b9",\u03cc:"\u03bf",\u03cd:"\u03c5",\u03cb:"\u03c5",\u03b0:"\u03c5",\u03c9:"\u03c9",\u03c2:"\u03c3"};function Ne(F){return F.replace(/[^\u0000-\u007E]/g,p=>oe[p]||p)}class Dt{constructor(B,p){this._ngSelect=B,this._selectionModel=p,this._items=[],this._filteredItems=[],this._markedIndex=-1}get items(){return this._items}get filteredItems(){return this._filteredItems}get markedIndex(){return this._markedIndex}get selectedItems(){return this._selectionModel.value}get markedItem(){return this._filteredItems[this._markedIndex]}get noItemsToSelect(){return this._ngSelect.hideSelected&&this._items.length===this.selectedItems.length}get maxItemsSelected(){return this._ngSelect.multiple&&this._ngSelect.maxSelectedItems<=this.selectedItems.length}get lastSelectedItem(){let B=this.selectedItems.length-1;for(;B>=0;B--){const p=this.selectedItems[B];if(!p.disabled)return p}return null}setItems(B){this._items=B.map((p,v)=>this.mapItem(p,v)),this._ngSelect.groupBy?(this._groups=this._groupBy(this._items,this._ngSelect.groupBy),this._items=this._flatten(this._groups)):(this._groups=new Map,this._groups.set(void 0,this._items)),this._filteredItems=[...this._items]}select(B){if(B.selected||this.maxItemsSelected)return;const p=this._ngSelect.multiple;p||this.clearSelected(),this._selectionModel.select(B,p,this._ngSelect.selectableGroupAsModel),this._ngSelect.hideSelected&&this._hideSelected(B)}unselect(B){!B.selected||(this._selectionModel.unselect(B,this._ngSelect.multiple),this._ngSelect.hideSelected&&Y(B.index)&&this._ngSelect.multiple&&this._showSelected(B))}findItem(B){let p;return p=this._ngSelect.compareWith?v=>this._ngSelect.compareWith(v.value,B):this._ngSelect.bindValue?v=>!v.children&&this.resolveNested(v.value,this._ngSelect.bindValue)===B:v=>v.value===B||!v.children&&v.label&&v.label===this.resolveNested(B,this._ngSelect.bindLabel),this._items.find(v=>p(v))}addItem(B){const p=this.mapItem(B,this._items.length);return this._items.push(p),this._filteredItems.push(p),p}clearSelected(B=!1){this._selectionModel.clear(B),this._items.forEach(p=>{p.selected=B&&p.selected&&p.disabled,p.marked=!1}),this._ngSelect.hideSelected&&this.resetFilteredItems()}findByLabel(B){return B=Ne(B).toLocaleLowerCase(),this.filteredItems.find(p=>Ne(p.label).toLocaleLowerCase().substr(0,B.length)===B)}filter(B){if(!B)return void this.resetFilteredItems();this._filteredItems=[],B=this._ngSelect.searchFn?B:Ne(B).toLocaleLowerCase();const p=this._ngSelect.searchFn||this._defaultSearchFn,v=this._ngSelect.hideSelected;for(const _ of Array.from(this._groups.keys())){const w=[];for(const P of this._groups.get(_))v&&(P.parent&&P.parent.selected||P.selected)||p(B,this._ngSelect.searchFn?P.value:P)&&w.push(P);if(w.length>0){const[P]=w.slice(-1);if(P.parent){const ue=this._items.find(qe=>qe===P.parent);this._filteredItems.push(ue)}this._filteredItems.push(...w)}}}resetFilteredItems(){this._filteredItems.length!==this._items.length&&(this._filteredItems=this._ngSelect.hideSelected&&this.selectedItems.length>0?this._items.filter(B=>!B.selected):this._items)}unmarkItem(){this._markedIndex=-1}markNextItem(){this._stepToItem(1)}markPreviousItem(){this._stepToItem(-1)}markItem(B){this._markedIndex=this._filteredItems.indexOf(B)}markSelectedOrDefault(B){if(0===this._filteredItems.length)return;const p=this._getLastMarkedIndex();this._markedIndex=p>-1?p:B?this.filteredItems.findIndex(v=>!v.disabled):-1}resolveNested(B,p){if(!$(B))return B;if(-1===p.indexOf("."))return B[p];{const v=p.split(".");let _=B;for(let w=0,P=v.length;w<P;++w){if(null==_)return null;_=_[v[w]]}return _}}mapItem(B,p){const v=Y(B.$ngOptionLabel)?B.$ngOptionLabel:this.resolveNested(B,this._ngSelect.bindLabel),_=Y(B.$ngOptionValue)?B.$ngOptionValue:B;return{index:p,label:Y(v)?v.toString():"",value:_,disabled:B.disabled,htmlId:`${this._ngSelect.dropdownId}-${p}`}}mapSelectedItems(){const B=this._ngSelect.multiple;for(const p of this.selectedItems){const v=this._ngSelect.bindValue?this.resolveNested(p.value,this._ngSelect.bindValue):p.value,_=Y(v)?this.findItem(v):null;this._selectionModel.unselect(p,B),this._selectionModel.select(_||p,B,this._ngSelect.selectableGroupAsModel)}this._ngSelect.hideSelected&&(this._filteredItems=this.filteredItems.filter(p=>-1===this.selectedItems.indexOf(p)))}_showSelected(B){if(this._filteredItems.push(B),B.parent){const p=B.parent;this._filteredItems.find(_=>_===p)||this._filteredItems.push(p)}else if(B.children)for(const p of B.children)p.selected=!1,this._filteredItems.push(p);this._filteredItems=[...this._filteredItems.sort((p,v)=>p.index-v.index)]}_hideSelected(B){this._filteredItems=this._filteredItems.filter(p=>p!==B),B.parent?B.parent.children.every(v=>v.selected)&&(this._filteredItems=this._filteredItems.filter(v=>v!==B.parent)):B.children&&(this._filteredItems=this.filteredItems.filter(p=>p.parent!==B))}_defaultSearchFn(B,p){return Ne(p.label).toLocaleLowerCase().indexOf(B)>-1}_getNextItemIndex(B){return B>0?this._markedIndex>=this._filteredItems.length-1?0:this._markedIndex+1:this._markedIndex<=0?this._filteredItems.length-1:this._markedIndex-1}_stepToItem(B){0===this._filteredItems.length||this._filteredItems.every(p=>p.disabled)||(this._markedIndex=this._getNextItemIndex(B),this.markedItem.disabled&&this._stepToItem(B))}_getLastMarkedIndex(){if(this._ngSelect.hideSelected||this._markedIndex>-1&&void 0===this.markedItem)return-1;const B=this._filteredItems.indexOf(this.lastSelectedItem);return this.lastSelectedItem&&B<0?-1:Math.max(this.markedIndex,B)}_groupBy(B,p){const v=new Map;if(0===B.length)return v;if(Array.isArray(B[0].value[p])){for(const P of B){const ue=(P.value[p]||[]).map((qe,st)=>this.mapItem(qe,st));v.set(P,ue)}return v}const _=Me(this._ngSelect.groupBy),w=P=>{const ue=_?p(P.value):P.value[p];return Y(ue)?ue:void 0};for(const P of B){const ue=w(P),qe=v.get(ue);qe?qe.push(P):v.set(ue,[P])}return v}_flatten(B){const p=Me(this._ngSelect.groupBy),v=[];for(const _ of Array.from(B.keys())){let w=v.length;if(void 0===_){const Tt=B.get(void 0)||[];v.push(...Tt.map(Qt=>(Qt.index=w++,Qt)));continue}const P=$(_),ue={label:P?"":String(_),children:void 0,parent:null,index:w++,disabled:!this._ngSelect.selectableGroup,htmlId:re()},qe=p?this._ngSelect.bindLabel:this._ngSelect.groupBy,st=this._ngSelect.groupValue||(()=>P?_.value:{[qe]:_}),Vt=B.get(_).map(Tt=>(Tt.parent=ue,Tt.children=void 0,Tt.index=w++,Tt));ue.children=Vt,ue.value=st(_,Vt.map(Tt=>Tt.value)),v.push(ue),v.push(...Vt)}return v}}var Ft=(()=>{return(F=Ft||(Ft={}))[F.Tab=9]="Tab",F[F.Enter=13]="Enter",F[F.Esc=27]="Esc",F[F.Space=32]="Space",F[F.ArrowUp=38]="ArrowUp",F[F.ArrowDown=40]="ArrowDown",F[F.Backspace=8]="Backspace",Ft;var F})();let Bt=(()=>{class F{constructor(){this._dimensions={itemHeight:0,panelHeight:0,itemsPerViewport:0}}get dimensions(){return this._dimensions}calculateItems(p,v,_){const w=this._dimensions,P=w.itemHeight*v,qe=Math.max(0,p)/P*v;let st=Math.min(v,Math.ceil(qe)+(w.itemsPerViewport+1));const Tt=Math.max(0,st-w.itemsPerViewport);let Qt=Math.min(Tt,Math.floor(qe)),Mn=w.itemHeight*Math.ceil(Qt)-w.itemHeight*Math.min(Qt,_);return Mn=isNaN(Mn)?0:Mn,Qt=isNaN(Qt)?-1:Qt,st=isNaN(st)?-1:st,Qt-=_,Qt=Math.max(0,Qt),st+=_,st=Math.min(v,st),{topPadding:Mn,scrollHeight:P,start:Qt,end:st}}setDimensions(p,v){const _=Math.max(1,Math.floor(v/p));this._dimensions={itemHeight:p,panelHeight:v,itemsPerViewport:_}}getScrollTo(p,v,_){const{panelHeight:w}=this.dimensions,P=p+v,qe=_+w;return w>=P&&_===p?null:P>qe?_+P-qe:p<=_?p:null}}return F.\u0275fac=function(p){return new(p||F)},F.\u0275prov=r.Yz7({token:F,factory:F.\u0275fac}),F})();const Tn=["top","right","bottom","left"],Dn=typeof requestAnimationFrame<"u"?ee.Z:he.E;let _n=(()=>{class F{constructor(p,v,_,w,P){this._renderer=p,this._zone=v,this._panelService=_,this._document=P,this.items=[],this.position="auto",this.virtualScroll=!1,this.filterValue=null,this.update=new r.vpe,this.scroll=new r.vpe,this.scrollToEnd=new r.vpe,this.outsideClick=new r.vpe,this._destroy$=new _e.x,this._scrollToEndFired=!1,this._updateScrollHeight=!1,this._lastScrollPosition=0,this._dropdown=w.nativeElement}get currentPosition(){return this._currentPosition}get itemsLength(){return this._itemsLength}set itemsLength(p){p!==this._itemsLength&&(this._itemsLength=p,this._onItemsLengthChanged())}get _startOffset(){if(this.markedItem){const{itemHeight:p,panelHeight:v}=this._panelService.dimensions,_=this.markedItem.index*p;return v>_?0:_}return 0}ngOnInit(){this._select=this._dropdown.parentElement,this._virtualPadding=this.paddingElementRef.nativeElement,this._scrollablePanel=this.scrollElementRef.nativeElement,this._contentPanel=this.contentElementRef.nativeElement,this._handleScroll(),this._handleOutsideClick(),this._appendDropdown(),this._setupMousedownListener()}ngOnChanges(p){if(p.items){const v=p.items;this._onItemsChange(v.currentValue,v.firstChange)}}ngOnDestroy(){this._destroy$.next(),this._destroy$.complete(),this._destroy$.unsubscribe(),this.appendTo&&this._renderer.removeChild(this._dropdown.parentNode,this._dropdown)}scrollTo(p,v=!1){if(!p)return;const _=this.items.indexOf(p);if(_<0||_>=this.itemsLength)return;let w;if(this.virtualScroll){const P=this._panelService.dimensions.itemHeight;w=this._panelService.getScrollTo(_*P,P,this._lastScrollPosition)}else{const P=this._dropdown.querySelector(`#${p.htmlId}`);w=this._panelService.getScrollTo(P.offsetTop,P.clientHeight,v?P.offsetTop:this._lastScrollPosition)}Y(w)&&(this._scrollablePanel.scrollTop=w)}scrollToTag(){const p=this._scrollablePanel;p.scrollTop=p.scrollHeight-p.clientHeight}adjustPosition(){this._updateYPosition()}_handleDropdownPosition(){this._currentPosition=this._calculateCurrentPosition(this._dropdown),Tn.includes(this._currentPosition)?this._updateDropdownClass(this._currentPosition):this._updateDropdownClass("bottom"),this.appendTo&&this._updateYPosition(),this._dropdown.style.opacity="1"}_updateDropdownClass(p){Tn.forEach(_=>{const w=`ng-select-${_}`;this._renderer.removeClass(this._dropdown,w),this._renderer.removeClass(this._select,w)});const v=`ng-select-${p}`;this._renderer.addClass(this._dropdown,v),this._renderer.addClass(this._select,v)}_handleScroll(){this._zone.runOutsideAngular(()=>{(0,Ue.R)(this.scrollElementRef.nativeElement,"scroll").pipe((0,J.R)(this._destroy$),(0,G.e)(0,Dn)).subscribe(p=>{const v=p.path||p.composedPath&&p.composedPath();this._onContentScrolled(v&&0!==v.length?v[0].scrollTop:p.target.scrollTop)})})}_handleOutsideClick(){!this._document||this._zone.runOutsideAngular(()=>{(0,Be.T)((0,Ue.R)(this._document,"touchstart",{capture:!0}),(0,Ue.R)(this._document,"mousedown",{capture:!0})).pipe((0,J.R)(this._destroy$)).subscribe(p=>this._checkToClose(p))})}_checkToClose(p){if(this._select.contains(p.target)||this._dropdown.contains(p.target))return;const v=p.path||p.composedPath&&p.composedPath();p.target&&p.target.shadowRoot&&v&&v[0]&&this._select.contains(v[0])||this._zone.run(()=>this.outsideClick.emit())}_onItemsChange(p,v){this.items=p||[],this._scrollToEndFired=!1,this.itemsLength=p.length,this.virtualScroll?this._updateItemsRange(v):(this._setVirtualHeight(),this._updateItems(v))}_updateItems(p){this.update.emit(this.items),!1!==p&&this._zone.runOutsideAngular(()=>{Promise.resolve().then(()=>{this._panelService.setDimensions(0,this._scrollablePanel.clientHeight),this._handleDropdownPosition(),this.scrollTo(this.markedItem,p)})})}_updateItemsRange(p){this._zone.runOutsideAngular(()=>{this._measureDimensions().then(()=>{p?(this._renderItemsRange(this._startOffset),this._handleDropdownPosition()):this._renderItemsRange()})})}_onContentScrolled(p){this.virtualScroll&&this._renderItemsRange(p),this._lastScrollPosition=p,this._fireScrollToEnd(p)}_updateVirtualHeight(p){this._updateScrollHeight&&(this._virtualPadding.style.height=`${p}px`,this._updateScrollHeight=!1)}_setVirtualHeight(){!this._virtualPadding||(this._virtualPadding.style.height="0px")}_onItemsLengthChanged(){this._updateScrollHeight=!0}_renderItemsRange(p=null){if(p&&this._lastScrollPosition===p)return;const v=this._panelService.calculateItems(p=p||this._scrollablePanel.scrollTop,this.itemsLength,this.bufferAmount);this._updateVirtualHeight(v.scrollHeight),this._contentPanel.style.transform=`translateY(${v.topPadding}px)`,this._zone.run(()=>{this.update.emit(this.items.slice(v.start,v.end)),this.scroll.emit({start:v.start,end:v.end})}),Y(p)&&0===this._lastScrollPosition&&(this._scrollablePanel.scrollTop=p,this._lastScrollPosition=p)}_measureDimensions(){if(this._panelService.dimensions.itemHeight>0||0===this.itemsLength)return Promise.resolve(this._panelService.dimensions);const[p]=this.items;return this.update.emit([p]),Promise.resolve().then(()=>{const _=this._dropdown.querySelector(`#${p.htmlId}`).clientHeight;return this._virtualPadding.style.height=_*this.itemsLength+"px",this._panelService.setDimensions(_,this._scrollablePanel.clientHeight),this._panelService.dimensions})}_fireScrollToEnd(p){this._scrollToEndFired||0===p||p+this._dropdown.clientHeight>=(this.virtualScroll?this._virtualPadding:this._contentPanel).clientHeight-1&&(this._zone.run(()=>this.scrollToEnd.emit()),this._scrollToEndFired=!0)}_calculateCurrentPosition(p){if("auto"!==this.position)return this.position;const v=this._select.getBoundingClientRect(),_=document.documentElement.scrollTop||document.body.scrollTop;return v.top+window.pageYOffset+v.height+p.getBoundingClientRect().height>_+document.documentElement.clientHeight?"top":"bottom"}_appendDropdown(){if(this.appendTo){if(this._parent=document.querySelector(this.appendTo),!this._parent)throw new Error(`appendTo selector ${this.appendTo} did not found any parent element`);this._updateXPosition(),this._parent.appendChild(this._dropdown)}}_updateXPosition(){const p=this._select.getBoundingClientRect(),v=this._parent.getBoundingClientRect();this._dropdown.style.left=p.left-v.left+"px",this._dropdown.style.width=p.width+"px",this._dropdown.style.minWidth=p.width+"px"}_updateYPosition(){const p=this._select.getBoundingClientRect(),v=this._parent.getBoundingClientRect(),_=p.height;"top"===this._currentPosition?(this._dropdown.style.bottom=v.bottom-p.bottom+_+"px",this._dropdown.style.top="auto"):"bottom"===this._currentPosition&&(this._dropdown.style.top=p.top-v.top+_+"px",this._dropdown.style.bottom="auto")}_setupMousedownListener(){this._zone.runOutsideAngular(()=>{(0,Ue.R)(this._dropdown,"mousedown").pipe((0,J.R)(this._destroy$)).subscribe(p=>{"INPUT"!==p.target.tagName&&p.preventDefault()})})}}return F.\u0275fac=function(p){return new(p||F)(r.Y36(r.Qsj),r.Y36(r.R0b),r.Y36(Bt),r.Y36(r.SBq),r.Y36(je.K0,8))},F.\u0275cmp=r.Xpm({type:F,selectors:[["ng-dropdown-panel"]],viewQuery:function(p,v){if(1&p&&(r.Gf(Te,7,r.SBq),r.Gf(Ve,7,r.SBq),r.Gf(Je,7,r.SBq)),2&p){let _;r.iGM(_=r.CRH())&&(v.contentElementRef=_.first),r.iGM(_=r.CRH())&&(v.scrollElementRef=_.first),r.iGM(_=r.CRH())&&(v.paddingElementRef=_.first)}},inputs:{items:"items",markedItem:"markedItem",position:"position",appendTo:"appendTo",bufferAmount:"bufferAmount",virtualScroll:"virtualScroll",headerTemplate:"headerTemplate",footerTemplate:"footerTemplate",filterValue:"filterValue"},outputs:{update:"update",scroll:"scroll",scrollToEnd:"scrollToEnd",outsideClick:"outsideClick"},features:[r.TTD],ngContentSelectors:Z,decls:9,vars:6,consts:[["class","ng-dropdown-header",4,"ngIf"],[1,"ng-dropdown-panel-items","scroll-host"],["scroll",""],["padding",""],["content",""],["class","ng-dropdown-footer",4,"ngIf"],[1,"ng-dropdown-header"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"ng-dropdown-footer"]],template:function(p,v){1&p&&(r.F$t(),r.YNc(0,ht,2,4,"div",0),r.TgZ(1,"div",1,2),r._UZ(3,"div",null,3),r.TgZ(5,"div",null,4),r.Hsn(7),r.qZA()(),r.YNc(8,le,2,4,"div",5)),2&p&&(r.Q6J("ngIf",v.headerTemplate),r.xp6(3),r.ekj("total-padding",v.virtualScroll),r.xp6(2),r.ekj("scrollable-content",v.virtualScroll&&v.items.length),r.xp6(3),r.Q6J("ngIf",v.footerTemplate))},dependencies:[je.O5,je.tP],encapsulation:2,changeDetection:0}),F})(),Xt=(()=>{class F{constructor(p){this.elementRef=p,this.stateChange$=new _e.x,this._disabled=!1}get disabled(){return this._disabled}set disabled(p){this._disabled=this._isDisabled(p)}get label(){return(this.elementRef.nativeElement.textContent||"").trim()}ngOnChanges(p){p.disabled&&this.stateChange$.next({value:this.value,disabled:this._disabled})}ngAfterViewChecked(){this.label!==this._previousLabel&&(this._previousLabel=this.label,this.stateChange$.next({value:this.value,disabled:this._disabled,label:this.elementRef.nativeElement.innerHTML}))}ngOnDestroy(){this.stateChange$.complete()}_isDisabled(p){return null!=p&&"false"!=`${p}`}}return F.\u0275fac=function(p){return new(p||F)(r.Y36(r.SBq))},F.\u0275cmp=r.Xpm({type:F,selectors:[["ng-option"]],inputs:{value:"value",disabled:"disabled"},features:[r.TTD],ngContentSelectors:Z,decls:1,vars:0,template:function(p,v){1&p&&(r.F$t(),r.Hsn(0))},encapsulation:2,changeDetection:0}),F})(),In=(()=>{class F{constructor(){this.notFoundText="No items found",this.typeToSearchText="Type to search",this.addTagText="Add item",this.loadingText="Loading...",this.clearAllText="Clear all",this.disableVirtualScroll=!0,this.openOnEnter=!0,this.appearance="underline"}}return F.\u0275fac=function(p){return new(p||F)},F.\u0275prov=r.Yz7({token:F,factory:F.\u0275fac,providedIn:"root"}),F})(),Sn=(()=>{class F{warn(p){console.warn(p)}}return F.\u0275fac=function(p){return new(p||F)},F.\u0275prov=r.Yz7({token:F,factory:F.\u0275fac,providedIn:"root"}),F})();const Vn=new r.OlP("ng-select-selection-model");let En=(()=>{class F{constructor(p,v,_,w,P,ue,qe){this.classes=p,this.autoFocus=v,this.config=_,this._cd=ue,this._console=qe,this.markFirst=!0,this.dropdownPosition="auto",this.loading=!1,this.closeOnSelect=!0,this.hideSelected=!1,this.selectOnTab=!1,this.bufferAmount=4,this.selectableGroup=!1,this.selectableGroupAsModel=!0,this.searchFn=null,this.trackByFn=null,this.clearOnBackspace=!0,this.labelForId=null,this.inputAttrs={},this.readonly=!1,this.searchWhileComposing=!0,this.minTermLength=0,this.editableSearchTerm=!1,this.keyDownFn=st=>!0,this.multiple=!1,this.addTag=!1,this.searchable=!0,this.clearable=!0,this.isOpen=!1,this.blurEvent=new r.vpe,this.focusEvent=new r.vpe,this.changeEvent=new r.vpe,this.openEvent=new r.vpe,this.closeEvent=new r.vpe,this.searchEvent=new r.vpe,this.clearEvent=new r.vpe,this.addEvent=new r.vpe,this.removeEvent=new r.vpe,this.scroll=new r.vpe,this.scrollToEnd=new r.vpe,this.useDefaultClass=!0,this.viewPortItems=[],this.searchTerm=null,this.dropdownId=re(),this.escapeHTML=!0,this._items=[],this._defaultLabel="label",this._pressedKeys=[],this._isComposing=!1,this._destroy$=new _e.x,this._keyPress$=new _e.x,this._onChange=st=>{},this._onTouched=()=>{},this.clearItem=st=>{const Vt=this.selectedItems.find(Tt=>Tt.value===st);this.unselect(Vt)},this.trackByOption=(st,Vt)=>this.trackByFn?this.trackByFn(Vt.value):Vt,this._mergeGlobalConfig(_),this.itemsList=new Dt(this,w()),this.element=P.nativeElement}get items(){return this._items}set items(p){null===p&&(p=[]),this._itemsAreUsed=!0,this._items=p}get compareWith(){return this._compareWith}set compareWith(p){if(null!=p&&!Me(p))throw Error("`compareWith` must be a function.");this._compareWith=p}get clearSearchOnAdd(){return Y(this._clearSearchOnAdd)?this._clearSearchOnAdd:Y(this.config.clearSearchOnAdd)?this.config.clearSearchOnAdd:this.closeOnSelect}set clearSearchOnAdd(p){this._clearSearchOnAdd=p}get disabled(){return this.readonly||this._disabled}get filtered(){return!!this.searchTerm&&this.searchable||this._isComposing}get single(){return!this.multiple}get _editableSearchTerm(){return this.editableSearchTerm&&!this.multiple}get selectedItems(){return this.itemsList.selectedItems}get selectedValues(){return this.selectedItems.map(p=>p.value)}get hasValue(){return this.selectedItems.length>0}get currentPanelPosition(){if(this.dropdownPanel)return this.dropdownPanel.currentPosition}ngOnInit(){this._handleKeyPresses(),this._setInputAttributes()}ngOnChanges(p){p.multiple&&this.itemsList.clearSelected(),p.items&&this._setItems(p.items.currentValue||[]),p.isOpen&&(this._manualOpen=Y(p.isOpen.currentValue))}ngAfterViewInit(){this._itemsAreUsed||(this.escapeHTML=!1,this._setItemsFromNgOptions()),Y(this.autoFocus)&&this.focus()}ngOnDestroy(){this._destroy$.next(),this._destroy$.complete()}handleKeyDown(p){if(Ft[p.which]){if(!1===this.keyDownFn(p))return;this.handleKeyCode(p)}else p.key&&1===p.key.length&&this._keyPress$.next(p.key.toLocaleLowerCase())}handleKeyCode(p){switch(p.which){case Ft.ArrowDown:this._handleArrowDown(p);break;case Ft.ArrowUp:this._handleArrowUp(p);break;case Ft.Space:this._handleSpace(p);break;case Ft.Enter:this._handleEnter(p);break;case Ft.Tab:this._handleTab(p);break;case Ft.Esc:this.close(),p.preventDefault();break;case Ft.Backspace:this._handleBackspace()}}handleMousedown(p){const v=p.target;"INPUT"!==v.tagName&&p.preventDefault(),v.classList.contains("ng-clear-wrapper")?this.handleClearClick():v.classList.contains("ng-arrow-wrapper")?this.handleArrowClick():v.classList.contains("ng-value-icon")||(this.focused||this.focus(),this.searchable?this.open():this.toggle())}handleArrowClick(){this.isOpen?this.close():this.open()}handleClearClick(){this.hasValue&&(this.itemsList.clearSelected(!0),this._updateNgModel()),this._clearSearch(),this.focus(),this.clearEvent.emit(),this._onSelectionChanged()}clearModel(){!this.clearable||(this.itemsList.clearSelected(),this._updateNgModel())}writeValue(p){this.itemsList.clearSelected(),this._handleWriteValue(p),this._cd.markForCheck()}registerOnChange(p){this._onChange=p}registerOnTouched(p){this._onTouched=p}setDisabledState(p){this._disabled=p,this._cd.markForCheck()}toggle(){this.isOpen?this.close():this.open()}open(){this.disabled||this.isOpen||this._manualOpen||!this._isTypeahead&&!this.addTag&&this.itemsList.noItemsToSelect||(this.isOpen=!0,this.itemsList.markSelectedOrDefault(this.markFirst),this.openEvent.emit(),this.searchTerm||this.focus(),this.detectChanges())}close(){!this.isOpen||this._manualOpen||(this.isOpen=!1,this._isComposing=!1,this._editableSearchTerm?this.itemsList.resetFilteredItems():this._clearSearch(),this.itemsList.unmarkItem(),this._onTouched(),this.closeEvent.emit(),this._cd.markForCheck())}toggleItem(p){!p||p.disabled||this.disabled||(this.multiple&&p.selected?this.unselect(p):this.select(p),this._editableSearchTerm&&this._setSearchTermFromItems(),this._onSelectionChanged())}select(p){p.selected||(this.itemsList.select(p),this.clearSearchOnAdd&&!this._editableSearchTerm&&this._clearSearch(),this._updateNgModel(),this.multiple&&this.addEvent.emit(p.value)),(this.closeOnSelect||this.itemsList.noItemsToSelect)&&this.close()}focus(){this.searchInput.nativeElement.focus()}blur(){this.searchInput.nativeElement.blur()}unselect(p){!p||(this.itemsList.unselect(p),this.focus(),this._updateNgModel(),this.removeEvent.emit(p))}selectTag(){let p;p=Me(this.addTag)?this.addTag(this.searchTerm):this._primitive?this.searchTerm:{[this.bindLabel]:this.searchTerm};const v=_=>this._isTypeahead||!this.isOpen?this.itemsList.mapItem(_,null):this.itemsList.addItem(_);!function te(F){return F instanceof Promise}(p)?p&&this.select(v(p)):p.then(_=>this.select(v(_))).catch(()=>{})}showClear(){return this.clearable&&(this.hasValue||this.searchTerm)&&!this.disabled}get showAddTag(){if(!this._validTerm)return!1;const p=this.searchTerm.toLowerCase().trim();return this.addTag&&!this.itemsList.filteredItems.some(v=>v.label.toLowerCase()===p)&&(!this.hideSelected&&this.isOpen||!this.selectedItems.some(v=>v.label.toLowerCase()===p))&&!this.loading}showNoItemsFound(){const p=0===this.itemsList.filteredItems.length;return(p&&!this._isTypeahead&&!this.loading||p&&this._isTypeahead&&this._validTerm&&!this.loading)&&!this.showAddTag}showTypeToSearch(){return 0===this.itemsList.filteredItems.length&&this._isTypeahead&&!this._validTerm&&!this.loading}onCompositionStart(){this._isComposing=!0}onCompositionEnd(p){this._isComposing=!1,!this.searchWhileComposing&&this.filter(p)}filter(p){this._isComposing&&!this.searchWhileComposing||(this.searchTerm=p,this._isTypeahead&&(this._validTerm||0===this.minTermLength)&&this.typeahead.next(p),this._isTypeahead||(this.itemsList.filter(this.searchTerm),this.isOpen&&this.itemsList.markSelectedOrDefault(this.markFirst)),this.searchEvent.emit({term:p,items:this.itemsList.filteredItems.map(v=>v.value)}),this.open())}onInputFocus(p){this.focused||(this._editableSearchTerm&&this._setSearchTermFromItems(),this.element.classList.add("ng-select-focused"),this.focusEvent.emit(p),this.focused=!0)}onInputBlur(p){this.element.classList.remove("ng-select-focused"),this.blurEvent.emit(p),!this.isOpen&&!this.disabled&&this._onTouched(),this._editableSearchTerm&&this._setSearchTermFromItems(),this.focused=!1}onItemHover(p){p.disabled||this.itemsList.markItem(p)}detectChanges(){this._cd.destroyed||this._cd.detectChanges()}_setSearchTermFromItems(){const p=this.selectedItems&&this.selectedItems[0];this.searchTerm=p&&p.label||null}_setItems(p){const v=p[0];this.bindLabel=this.bindLabel||this._defaultLabel,this._primitive=Y(v)?!$(v):this._primitive||this.bindLabel===this._defaultLabel,this.itemsList.setItems(p),p.length>0&&this.hasValue&&this.itemsList.mapSelectedItems(),this.isOpen&&Y(this.searchTerm)&&!this._isTypeahead&&this.itemsList.filter(this.searchTerm),(this._isTypeahead||this.isOpen)&&this.itemsList.markSelectedOrDefault(this.markFirst)}_setItemsFromNgOptions(){const p=_=>{this.items=_.map(w=>({$ngOptionValue:w.value,$ngOptionLabel:w.elementRef.nativeElement.innerHTML,disabled:w.disabled})),this.itemsList.setItems(this.items),this.hasValue&&this.itemsList.mapSelectedItems(),this.detectChanges()},v=()=>{const _=(0,Be.T)(this.ngOptions.changes,this._destroy$);(0,Be.T)(...this.ngOptions.map(w=>w.stateChange$)).pipe((0,J.R)(_)).subscribe(w=>{const P=this.itemsList.findItem(w.value);P.disabled=w.disabled,P.label=w.label||P.label,this._cd.detectChanges()})};this.ngOptions.changes.pipe((0,z.O)(this.ngOptions),(0,J.R)(this._destroy$)).subscribe(_=>{this.bindLabel=this._defaultLabel,p(_),v()})}_isValidWriteValue(p){if(!Y(p)||this.multiple&&""===p||Array.isArray(p)&&0===p.length)return!1;const v=_=>!(!Y(this.compareWith)&&$(_)&&this.bindValue&&(this._console.warn(`Setting object(${JSON.stringify(_)}) as your model with bindValue is not allowed unless [compareWith] is used.`),1));return this.multiple?Array.isArray(p)?p.every(_=>v(_)):(this._console.warn("Multiple select ngModel should be array."),!1):v(p)}_handleWriteValue(p){if(!this._isValidWriteValue(p))return;const v=_=>{let w=this.itemsList.findItem(_);if(w)this.itemsList.select(w);else{const P=$(_),ue=!P&&!this.bindValue;P||ue?this.itemsList.select(this.itemsList.mapItem(_,null)):this.bindValue&&(w={[this.bindLabel]:null,[this.bindValue]:_},this.itemsList.select(this.itemsList.mapItem(w,null)))}};this.multiple?p.forEach(_=>v(_)):v(p)}_handleKeyPresses(){this.searchable||this._keyPress$.pipe((0,J.R)(this._destroy$),(0,K.b)(p=>this._pressedKeys.push(p)),(0,ve.b)(200),(0,ae.h)(()=>this._pressedKeys.length>0),(0,ie.U)(()=>this._pressedKeys.join(""))).subscribe(p=>{const v=this.itemsList.findByLabel(p);v&&(this.isOpen?(this.itemsList.markItem(v),this._scrollToMarked(),this._cd.markForCheck()):this.select(v)),this._pressedKeys=[]})}_setInputAttributes(){const p=this.searchInput.nativeElement,v={type:"text",autocorrect:"off",autocapitalize:"off",autocomplete:this.labelForId?"off":this.dropdownId,...this.inputAttrs};for(const _ of Object.keys(v))p.setAttribute(_,v[_])}_updateNgModel(){const p=[];for(const _ of this.selectedItems)if(this.bindValue){let w=null;w=_.children?_.value[(this.groupValue?this.bindValue:this.groupBy)||this.groupBy]:this.itemsList.resolveNested(_.value,this.bindValue),p.push(w)}else p.push(_.value);const v=this.selectedItems.map(_=>_.value);this.multiple?(this._onChange(p),this.changeEvent.emit(v)):(this._onChange(Y(p[0])?p[0]:null),this.changeEvent.emit(v[0])),this._cd.markForCheck()}_clearSearch(){!this.searchTerm||(this._changeSearch(null),this.itemsList.resetFilteredItems())}_changeSearch(p){this.searchTerm=p,this._isTypeahead&&this.typeahead.next(p)}_scrollToMarked(){!this.isOpen||!this.dropdownPanel||this.dropdownPanel.scrollTo(this.itemsList.markedItem)}_scrollToTag(){!this.isOpen||!this.dropdownPanel||this.dropdownPanel.scrollToTag()}_onSelectionChanged(){this.isOpen&&this.multiple&&this.appendTo&&(this._cd.detectChanges(),this.dropdownPanel.adjustPosition())}_handleTab(p){!1===this.isOpen&&!this.addTag||(this.selectOnTab?this.itemsList.markedItem?(this.toggleItem(this.itemsList.markedItem),p.preventDefault()):this.showAddTag?(this.selectTag(),p.preventDefault()):this.close():this.close())}_handleEnter(p){if(this.isOpen||this._manualOpen)this.itemsList.markedItem?this.toggleItem(this.itemsList.markedItem):this.showAddTag&&this.selectTag();else{if(!this.openOnEnter)return;this.open()}p.preventDefault()}_handleSpace(p){this.isOpen||this._manualOpen||(this.open(),p.preventDefault())}_handleArrowDown(p){this._nextItemIsTag(1)?(this.itemsList.unmarkItem(),this._scrollToTag()):(this.itemsList.markNextItem(),this._scrollToMarked()),this.open(),p.preventDefault()}_handleArrowUp(p){!this.isOpen||(this._nextItemIsTag(-1)?(this.itemsList.unmarkItem(),this._scrollToTag()):(this.itemsList.markPreviousItem(),this._scrollToMarked()),p.preventDefault())}_nextItemIsTag(p){const v=this.itemsList.markedIndex+p;return this.addTag&&this.searchTerm&&this.itemsList.markedItem&&(v<0||v===this.itemsList.filteredItems.length)}_handleBackspace(){this.searchTerm||!this.clearable||!this.clearOnBackspace||!this.hasValue||(this.multiple?this.unselect(this.itemsList.lastSelectedItem):this.clearModel())}get _isTypeahead(){return this.typeahead&&this.typeahead.observers.length>0}get _validTerm(){const p=this.searchTerm&&this.searchTerm.trim();return p&&p.length>=this.minTermLength}_mergeGlobalConfig(p){this.placeholder=this.placeholder||p.placeholder,this.notFoundText=this.notFoundText||p.notFoundText,this.typeToSearchText=this.typeToSearchText||p.typeToSearchText,this.addTagText=this.addTagText||p.addTagText,this.loadingText=this.loadingText||p.loadingText,this.clearAllText=this.clearAllText||p.clearAllText,this.virtualScroll=Y(this.virtualScroll)?this.virtualScroll:!!Y(p.disableVirtualScroll)&&!p.disableVirtualScroll,this.openOnEnter=Y(this.openOnEnter)?this.openOnEnter:p.openOnEnter,this.appendTo=this.appendTo||p.appendTo,this.bindValue=this.bindValue||p.bindValue,this.bindLabel=this.bindLabel||p.bindLabel,this.appearance=this.appearance||p.appearance}}return F.\u0275fac=function(p){return new(p||F)(r.$8M("class"),r.$8M("autofocus"),r.Y36(In),r.Y36(Vn),r.Y36(r.SBq),r.Y36(r.sBO),r.Y36(Sn))},F.\u0275cmp=r.Xpm({type:F,selectors:[["ng-select"]],contentQueries:function(p,v,_){if(1&p&&(r.Suo(_,Q,5,r.Rgc),r.Suo(_,W,5,r.Rgc),r.Suo(_,fe,5,r.Rgc),r.Suo(_,$e,5,r.Rgc),r.Suo(_,vt,5,r.Rgc),r.Suo(_,mt,5,r.Rgc),r.Suo(_,it,5,r.Rgc),r.Suo(_,wt,5,r.Rgc),r.Suo(_,an,5,r.Rgc),r.Suo(_,kt,5,r.Rgc),r.Suo(_,Re,5,r.Rgc),r.Suo(_,Xt,5)),2&p){let w;r.iGM(w=r.CRH())&&(v.optionTemplate=w.first),r.iGM(w=r.CRH())&&(v.optgroupTemplate=w.first),r.iGM(w=r.CRH())&&(v.labelTemplate=w.first),r.iGM(w=r.CRH())&&(v.multiLabelTemplate=w.first),r.iGM(w=r.CRH())&&(v.headerTemplate=w.first),r.iGM(w=r.CRH())&&(v.footerTemplate=w.first),r.iGM(w=r.CRH())&&(v.notFoundTemplate=w.first),r.iGM(w=r.CRH())&&(v.typeToSearchTemplate=w.first),r.iGM(w=r.CRH())&&(v.loadingTextTemplate=w.first),r.iGM(w=r.CRH())&&(v.tagTemplate=w.first),r.iGM(w=r.CRH())&&(v.loadingSpinnerTemplate=w.first),r.iGM(w=r.CRH())&&(v.ngOptions=w)}},viewQuery:function(p,v){if(1&p&&(r.Gf(_n,5),r.Gf(Oe,7)),2&p){let _;r.iGM(_=r.CRH())&&(v.dropdownPanel=_.first),r.iGM(_=r.CRH())&&(v.searchInput=_.first)}},hostVars:20,hostBindings:function(p,v){1&p&&r.NdJ("keydown",function(w){return v.handleKeyDown(w)}),2&p&&r.ekj("ng-select-typeahead",v.typeahead)("ng-select-multiple",v.multiple)("ng-select-taggable",v.addTag)("ng-select-searchable",v.searchable)("ng-select-clearable",v.clearable)("ng-select-opened",v.isOpen)("ng-select",v.useDefaultClass)("ng-select-disabled",v.disabled)("ng-select-filtered",v.filtered)("ng-select-single",v.single)},inputs:{bindLabel:"bindLabel",bindValue:"bindValue",markFirst:"markFirst",placeholder:"placeholder",notFoundText:"notFoundText",typeToSearchText:"typeToSearchText",addTagText:"addTagText",loadingText:"loadingText",clearAllText:"clearAllText",appearance:"appearance",dropdownPosition:"dropdownPosition",appendTo:"appendTo",loading:"loading",closeOnSelect:"closeOnSelect",hideSelected:"hideSelected",selectOnTab:"selectOnTab",openOnEnter:"openOnEnter",maxSelectedItems:"maxSelectedItems",groupBy:"groupBy",groupValue:"groupValue",bufferAmount:"bufferAmount",virtualScroll:"virtualScroll",selectableGroup:"selectableGroup",selectableGroupAsModel:"selectableGroupAsModel",searchFn:"searchFn",trackByFn:"trackByFn",clearOnBackspace:"clearOnBackspace",labelForId:"labelForId",inputAttrs:"inputAttrs",tabIndex:"tabIndex",readonly:"readonly",searchWhileComposing:"searchWhileComposing",minTermLength:"minTermLength",editableSearchTerm:"editableSearchTerm",keyDownFn:"keyDownFn",typeahead:"typeahead",multiple:"multiple",addTag:"addTag",searchable:"searchable",clearable:"clearable",isOpen:"isOpen",items:"items",compareWith:"compareWith",clearSearchOnAdd:"clearSearchOnAdd"},outputs:{blurEvent:"blur",focusEvent:"focus",changeEvent:"change",openEvent:"open",closeEvent:"close",searchEvent:"search",clearEvent:"clear",addEvent:"add",removeEvent:"remove",scroll:"scroll",scrollToEnd:"scrollToEnd"},features:[r._Bn([{provide:d.JU,useExisting:(0,r.Gpc)(()=>F),multi:!0},Bt]),r.TTD],decls:14,vars:19,consts:[[1,"ng-select-container",3,"mousedown"],[1,"ng-value-container"],[1,"ng-placeholder"],[4,"ngIf"],["role","combobox","aria-haspopup","listbox",1,"ng-input"],["aria-autocomplete","list",3,"readOnly","disabled","value","input","compositionstart","compositionend","focus","blur","change"],["searchInput",""],["class","ng-clear-wrapper",3,"title",4,"ngIf"],[1,"ng-arrow-wrapper"],[1,"ng-arrow"],["class","ng-dropdown-panel","role","listbox","aria-label","Options list",3,"virtualScroll","bufferAmount","appendTo","position","headerTemplate","footerTemplate","filterValue","items","markedItem","ng-select-multiple","ngClass","id","update","scroll","scrollToEnd","outsideClick",4,"ngIf"],["class","ng-value",3,"ng-value-disabled",4,"ngFor","ngForOf","ngForTrackBy"],[1,"ng-value"],["defaultLabelTemplate",""],[3,"ngTemplateOutlet","ngTemplateOutletContext"],["aria-hidden","true",1,"ng-value-icon","left",3,"click"],[1,"ng-value-label",3,"ngItemLabel","escape"],["defaultLoadingSpinnerTemplate",""],[3,"ngTemplateOutlet"],[1,"ng-spinner-loader"],[1,"ng-clear-wrapper",3,"title"],["aria-hidden","true",1,"ng-clear"],["role","listbox","aria-label","Options list",1,"ng-dropdown-panel",3,"virtualScroll","bufferAmount","appendTo","position","headerTemplate","footerTemplate","filterValue","items","markedItem","ngClass","id","update","scroll","scrollToEnd","outsideClick"],["class","ng-option",3,"ng-option-disabled","ng-option-selected","ng-optgroup","ng-option","ng-option-child","ng-option-marked","click","mouseover",4,"ngFor","ngForOf","ngForTrackBy"],["class","ng-option","role","option",3,"ng-option-marked","mouseover","click",4,"ngIf"],[1,"ng-option",3,"click","mouseover"],["defaultOptionTemplate",""],[1,"ng-option-label",3,"ngItemLabel","escape"],["role","option",1,"ng-option",3,"mouseover","click"],["defaultTagTemplate",""],[1,"ng-tag-label"],["defaultNotFoundTemplate",""],[1,"ng-option","ng-option-disabled"],["defaultTypeToSearchTemplate",""],["defaultLoadingTextTemplate",""]],template:function(p,v){if(1&p){const _=r.EpF();r.TgZ(0,"div",0),r.NdJ("mousedown",function(P){return v.handleMousedown(P)}),r.TgZ(1,"div",1)(2,"div",2),r._uU(3),r.qZA(),r.YNc(4,ye,2,2,"ng-container",3),r.YNc(5,Ce,1,5,null,3),r.TgZ(6,"div",4)(7,"input",5,6),r.NdJ("input",function(){r.CHM(_);const P=r.MAs(8);return r.KtG(v.filter(P.value))})("compositionstart",function(){return v.onCompositionStart()})("compositionend",function(){r.CHM(_);const P=r.MAs(8);return r.KtG(v.onCompositionEnd(P.value))})("focus",function(P){return v.onInputFocus(P)})("blur",function(P){return v.onInputBlur(P)})("change",function(P){return P.stopPropagation()}),r.qZA()()(),r.YNc(9,Et,4,1,"ng-container",3),r.YNc(10,Rt,3,1,"span",7),r.TgZ(11,"span",8),r._UZ(12,"span",9),r.qZA()(),r.YNc(13,gn,7,19,"ng-dropdown-panel",10)}2&p&&(r.ekj("ng-appearance-outline","outline"===v.appearance)("ng-has-value",v.hasValue),r.xp6(3),r.Oqu(v.placeholder),r.xp6(1),r.Q6J("ngIf",(!v.multiLabelTemplate||!v.multiple)&&v.selectedItems.length>0),r.xp6(1),r.Q6J("ngIf",v.multiple&&v.multiLabelTemplate&&v.selectedValues.length>0),r.xp6(1),r.uIk("aria-expanded",v.isOpen)("aria-owns",v.isOpen?v.dropdownId:null),r.xp6(1),r.Q6J("readOnly",!v.searchable||v.itemsList.maxItemsSelected)("disabled",v.disabled)("value",v.searchTerm?v.searchTerm:""),r.uIk("id",v.labelForId)("tabindex",v.tabIndex)("aria-activedescendant",v.isOpen?null==v.itemsList||null==v.itemsList.markedItem?null:v.itemsList.markedItem.htmlId:null)("aria-controls",v.isOpen?v.dropdownId:null),r.xp6(2),r.Q6J("ngIf",v.loading),r.xp6(1),r.Q6J("ngIf",v.showClear()),r.xp6(3),r.Q6J("ngIf",v.isOpen))},dependencies:[je.mk,je.sg,je.O5,je.tP,_n,de],styles:['@charset "UTF-8";.ng-select{position:relative;display:block;box-sizing:border-box}.ng-select div,.ng-select input,.ng-select span{box-sizing:border-box}.ng-select [hidden]{display:none}.ng-select.ng-select-searchable .ng-select-container .ng-value-container .ng-input{opacity:1}.ng-select.ng-select-opened .ng-select-container{z-index:1001}.ng-select.ng-select-disabled .ng-select-container .ng-value-container .ng-placeholder,.ng-select.ng-select-disabled .ng-select-container .ng-value-container .ng-value{-webkit-user-select:none;user-select:none;cursor:default}.ng-select.ng-select-disabled .ng-arrow-wrapper{cursor:default}.ng-select.ng-select-filtered .ng-placeholder{display:none}.ng-select .ng-select-container{cursor:default;display:flex;outline:none;overflow:hidden;position:relative;width:100%}.ng-select .ng-select-container .ng-value-container{display:flex;flex:1}.ng-select .ng-select-container .ng-value-container .ng-input{opacity:0}.ng-select .ng-select-container .ng-value-container .ng-input>input{box-sizing:content-box;background:none transparent;border:0 none;box-shadow:none;outline:none;padding:0;cursor:default;width:100%}.ng-select .ng-select-container .ng-value-container .ng-input>input::-ms-clear{display:none}.ng-select .ng-select-container .ng-value-container .ng-input>input[readonly]{-webkit-user-select:none;user-select:none;width:0;padding:0}.ng-select.ng-select-single.ng-select-filtered .ng-select-container .ng-value-container .ng-value{visibility:hidden}.ng-select.ng-select-single .ng-select-container .ng-value-container,.ng-select.ng-select-single .ng-select-container .ng-value-container .ng-value{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ng-select.ng-select-single .ng-select-container .ng-value-container .ng-value .ng-value-icon{display:none}.ng-select.ng-select-single .ng-select-container .ng-value-container .ng-input{position:absolute;left:0;width:100%}.ng-select.ng-select-multiple.ng-select-disabled>.ng-select-container .ng-value-container .ng-value .ng-value-icon{display:none}.ng-select.ng-select-multiple .ng-select-container .ng-value-container{flex-wrap:wrap}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-placeholder{position:absolute}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value{white-space:nowrap}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value.ng-value-disabled .ng-value-icon{display:none}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-icon{cursor:pointer}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-input{flex:1;z-index:2}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-placeholder{z-index:1}.ng-select .ng-clear-wrapper{cursor:pointer;position:relative;width:17px;-webkit-user-select:none;user-select:none}.ng-select .ng-clear-wrapper .ng-clear{display:inline-block;font-size:18px;line-height:1;pointer-events:none}.ng-select .ng-spinner-loader{border-radius:50%;width:17px;height:17px;margin-right:5px;font-size:10px;position:relative;text-indent:-9999em;border-top:2px solid rgba(66,66,66,.2);border-right:2px solid rgba(66,66,66,.2);border-bottom:2px solid rgba(66,66,66,.2);border-left:2px solid #424242;transform:translateZ(0);animation:load8 .8s infinite linear}.ng-select .ng-spinner-loader:after{border-radius:50%;width:17px;height:17px}@keyframes load8{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.ng-select .ng-arrow-wrapper{cursor:pointer;position:relative;text-align:center;-webkit-user-select:none;user-select:none}.ng-select .ng-arrow-wrapper .ng-arrow{pointer-events:none;display:inline-block;height:0;width:0;position:relative}.ng-dropdown-panel{box-sizing:border-box;position:absolute;opacity:0;width:100%;z-index:1050;-webkit-overflow-scrolling:touch}.ng-dropdown-panel .ng-dropdown-panel-items{display:block;height:auto;box-sizing:border-box;max-height:240px;overflow-y:auto}.ng-dropdown-panel .ng-dropdown-panel-items .ng-optgroup{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option{box-sizing:border-box;cursor:pointer;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option .ng-option-label:empty:before{content:"\\200b"}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option .highlighted{font-weight:700;text-decoration:underline}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option.disabled{cursor:default}.ng-dropdown-panel .scroll-host{overflow:hidden;overflow-y:auto;position:relative;display:block;-webkit-overflow-scrolling:touch}.ng-dropdown-panel .scrollable-content{top:0;left:0;width:100%;height:100%;position:absolute}.ng-dropdown-panel .total-padding{width:1px;opacity:0}\n'],encapsulation:2,changeDetection:0}),F})();function wn(){return new at}class at{constructor(){this._selected=[]}get value(){return this._selected}select(B,p,v){if(B.selected=!0,(!B.children||!p&&v)&&this._selected.push(B),p)if(B.parent){const _=B.parent.children.length,w=B.parent.children.filter(P=>P.selected).length;B.parent.selected=_===w}else B.children&&(this._setChildrenSelectedState(B.children,!0),this._removeChildren(B),this._selected=v&&this._activeChildren(B)?[...this._selected.filter(_=>_.parent!==B),B]:[...this._selected,...B.children.filter(_=>!_.disabled)])}unselect(B,p){if(this._selected=this._selected.filter(v=>v!==B),B.selected=!1,p)if(B.parent&&B.parent.selected){const v=B.parent.children;this._removeParent(B.parent),this._removeChildren(B.parent),this._selected.push(...v.filter(_=>_!==B&&!_.disabled)),B.parent.selected=!1}else B.children&&(this._setChildrenSelectedState(B.children,!1),this._removeChildren(B))}clear(B){this._selected=B?this._selected.filter(p=>p.disabled):[]}_setChildrenSelectedState(B,p){for(const v of B)v.disabled||(v.selected=p)}_removeChildren(B){this._selected=[...this._selected.filter(p=>p.parent!==B),...B.children.filter(p=>p.parent===B&&p.disabled&&p.selected)]}_removeParent(B){this._selected=this._selected.filter(p=>p!==B)}_activeChildren(B){return B.children.every(p=>!p.disabled||p.selected)}}let et=(()=>{class F{}return F.\u0275fac=function(p){return new(p||F)},F.\u0275mod=r.oAB({type:F}),F.\u0275inj=r.cJS({providers:[{provide:Vn,useValue:wn}],imports:[je.ez]}),F})()},7185:(dt,Ee,D)=>{D.d(Ee,{FN:()=>Ke,PR:()=>Oe,Rh:()=>Rt,_W:()=>ut});var r=D(1571),d=D(7340),J=D(7579),G=D(6895),z=D(1481);const K=["toast-component",""];function ve(De,xe){if(1&De){const ge=r.EpF();r.TgZ(0,"button",5),r.NdJ("click",function(){r.CHM(ge);const Ze=r.oxw();return r.KtG(Ze.remove())}),r.TgZ(1,"span",6),r._uU(2,"\xd7"),r.qZA()()}}function ae(De,xe){if(1&De&&(r.ynx(0),r._uU(1),r.BQk()),2&De){const ge=r.oxw(2);r.xp6(1),r.hij("[",ge.duplicatesCount+1,"]")}}function ie(De,xe){if(1&De&&(r.TgZ(0,"div"),r._uU(1),r.YNc(2,ae,2,1,"ng-container",4),r.qZA()),2&De){const ge=r.oxw();r.Tol(ge.options.titleClass),r.uIk("aria-label",ge.title),r.xp6(1),r.hij(" ",ge.title," "),r.xp6(1),r.Q6J("ngIf",ge.duplicatesCount)}}function ee(De,xe){if(1&De&&r._UZ(0,"div",7),2&De){const ge=r.oxw();r.Tol(ge.options.messageClass),r.Q6J("innerHTML",ge.message,r.oJD)}}function he(De,xe){if(1&De&&(r.TgZ(0,"div",8),r._uU(1),r.qZA()),2&De){const ge=r.oxw();r.Tol(ge.options.messageClass),r.uIk("aria-label",ge.message),r.xp6(1),r.hij(" ",ge.message," ")}}function _e(De,xe){if(1&De&&(r.TgZ(0,"div"),r._UZ(1,"div",9),r.qZA()),2&De){const ge=r.oxw();r.xp6(1),r.Udp("width",ge.width+"%")}}class le{constructor(xe,ge){this.component=xe,this.injector=ge}attach(xe,ge){return this._attachedHost=xe,xe.attach(this,ge)}detach(){const xe=this._attachedHost;if(xe)return this._attachedHost=void 0,xe.detach()}get isAttached(){return null!=this._attachedHost}setAttachedHost(xe){this._attachedHost=xe}}class Oe{constructor(xe,ge,Fe,Ze,_t,Wt){this.toastId=xe,this.config=ge,this.message=Fe,this.title=Ze,this.toastType=_t,this.toastRef=Wt,this._onTap=new J.x,this._onAction=new J.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(xe){this._onAction.next(xe)}onAction(){return this._onAction.asObservable()}}const Ae=new r.OlP("ToastConfig");class Ge{constructor(xe){this._overlayRef=xe,this.duplicatesCount=0,this._afterClosed=new J.x,this._activate=new J.x,this._manualClose=new J.x,this._resetTimeout=new J.x,this._countDuplicate=new J.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(xe,ge){xe&&this._resetTimeout.next(),ge&&this._countDuplicate.next(++this.duplicatesCount)}}class We{constructor(xe,ge){this._toastPackage=xe,this._parentInjector=ge}get(xe,ge,Fe){return xe===Oe?this._toastPackage:this._parentInjector.get(xe,ge,Fe)}}class ye extends class Z{attach(xe,ge){return this._attachedPortal=xe,this.attachComponentPortal(xe,ge)}detach(){this._attachedPortal&&this._attachedPortal.setAttachedHost(),this._attachedPortal=void 0,this._disposeFn&&(this._disposeFn(),this._disposeFn=void 0)}setDisposeFn(xe){this._disposeFn=xe}}{constructor(xe,ge,Fe){super(),this._hostDomElement=xe,this._componentFactoryResolver=ge,this._appRef=Fe}attachComponentPortal(xe,ge){const Fe=this._componentFactoryResolver.resolveComponentFactory(xe.component);let Ze;return Ze=Fe.create(xe.injector),this._appRef.attachView(Ze.hostView),this.setDisposeFn(()=>{this._appRef.detachView(Ze.hostView),Ze.destroy()}),ge?this._hostDomElement.insertBefore(this._getComponentRootNode(Ze),this._hostDomElement.firstChild):this._hostDomElement.appendChild(this._getComponentRootNode(Ze)),Ze}_getComponentRootNode(xe){return xe.hostView.rootNodes[0]}}class be{constructor(xe){this._portalHost=xe}attach(xe,ge=!0){return this._portalHost.attach(xe,ge)}detach(){return this._portalHost.detach()}}let ke=(()=>{class De{constructor(ge){this._document=ge}ngOnDestroy(){this._containerElement&&this._containerElement.parentNode&&this._containerElement.parentNode.removeChild(this._containerElement)}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const ge=this._document.createElement("div");ge.classList.add("overlay-container"),ge.setAttribute("aria-live","polite"),this._document.body.appendChild(ge),this._containerElement=ge}}return De.\u0275fac=function(ge){return new(ge||De)(r.LFG(G.K0))},De.\u0275prov=r.Yz7({token:De,factory:De.\u0275fac,providedIn:"root"}),De})(),Ce=(()=>{class De{constructor(ge,Fe,Ze,_t){this._overlayContainer=ge,this._componentFactoryResolver=Fe,this._appRef=Ze,this._document=_t,this._paneElements=new Map}create(ge,Fe){return this._createOverlayRef(this.getPaneElement(ge,Fe))}getPaneElement(ge="",Fe){return this._paneElements.get(Fe)||this._paneElements.set(Fe,{}),this._paneElements.get(Fe)[ge]||(this._paneElements.get(Fe)[ge]=this._createPaneElement(ge,Fe)),this._paneElements.get(Fe)[ge]}_createPaneElement(ge,Fe){const Ze=this._document.createElement("div");return Ze.id="toast-container",Ze.classList.add(ge),Ze.classList.add("toast-container"),Fe?Fe.getContainerElement().appendChild(Ze):this._overlayContainer.getContainerElement().appendChild(Ze),Ze}_createPortalHost(ge){return new ye(ge,this._componentFactoryResolver,this._appRef)}_createOverlayRef(ge){return new be(this._createPortalHost(ge))}}return De.\u0275fac=function(ge){return new(ge||De)(r.LFG(ke),r.LFG(r._Vd),r.LFG(r.z2F),r.LFG(G.K0))},De.\u0275prov=r.Yz7({token:De,factory:De.\u0275fac,providedIn:"root"}),De})(),ut=(()=>{class De{constructor(ge,Fe,Ze,_t,Wt){this.overlay=Fe,this._injector=Ze,this.sanitizer=_t,this.ngZone=Wt,this.currentlyActive=0,this.toasts=[],this.index=0,this.toastrConfig={...ge.default,...ge.config},ge.config.iconClasses&&(this.toastrConfig.iconClasses={...ge.default.iconClasses,...ge.config.iconClasses})}show(ge,Fe,Ze={},_t=""){return this._preBuildNotification(_t,ge,Fe,this.applyConfig(Ze))}success(ge,Fe,Ze={}){return this._preBuildNotification(this.toastrConfig.iconClasses.success||"",ge,Fe,this.applyConfig(Ze))}error(ge,Fe,Ze={}){return this._preBuildNotification(this.toastrConfig.iconClasses.error||"",ge,Fe,this.applyConfig(Ze))}info(ge,Fe,Ze={}){return this._preBuildNotification(this.toastrConfig.iconClasses.info||"",ge,Fe,this.applyConfig(Ze))}warning(ge,Fe,Ze={}){return this._preBuildNotification(this.toastrConfig.iconClasses.warning||"",ge,Fe,this.applyConfig(Ze))}clear(ge){for(const Fe of this.toasts)if(void 0!==ge){if(Fe.toastId===ge)return void Fe.toastRef.manualClose()}else Fe.toastRef.manualClose()}remove(ge){const Fe=this._findToast(ge);if(!Fe||(Fe.activeToast.toastRef.close(),this.toasts.splice(Fe.index,1),this.currentlyActive=this.currentlyActive-1,!this.toastrConfig.maxOpened||!this.toasts.length))return!1;if(this.currentlyActive<this.toastrConfig.maxOpened&&this.toasts[this.currentlyActive]){const Ze=this.toasts[this.currentlyActive].toastRef;Ze.isInactive()||(this.currentlyActive=this.currentlyActive+1,Ze.activate())}return!0}findDuplicate(ge="",Fe="",Ze,_t){const{includeTitleDuplicates:Wt}=this.toastrConfig;for(const rn of this.toasts){const hn=Wt&&rn.title===ge;if((!Wt||hn)&&rn.message===Fe)return rn.toastRef.onDuplicate(Ze,_t),rn}return null}applyConfig(ge={}){return{...this.toastrConfig,...ge}}_findToast(ge){for(let Fe=0;Fe<this.toasts.length;Fe++)if(this.toasts[Fe].toastId===ge)return{index:Fe,activeToast:this.toasts[Fe]};return null}_preBuildNotification(ge,Fe,Ze,_t){return _t.onActivateTick?this.ngZone.run(()=>this._buildNotification(ge,Fe,Ze,_t)):this._buildNotification(ge,Fe,Ze,_t)}_buildNotification(ge,Fe,Ze,_t){if(!_t.toastComponent)throw new Error("toastComponent required");const Wt=this.findDuplicate(Ze,Fe,this.toastrConfig.resetTimeoutOnDuplicate&&_t.timeOut>0,this.toastrConfig.countDuplicates);if((this.toastrConfig.includeTitleDuplicates&&Ze||Fe)&&this.toastrConfig.preventDuplicates&&null!==Wt)return Wt;this.previousToastMessage=Fe;let rn=!1;this.toastrConfig.maxOpened&&this.currentlyActive>=this.toastrConfig.maxOpened&&(rn=!0,this.toastrConfig.autoDismiss&&this.clear(this.toasts[0].toastId));const hn=this.overlay.create(_t.positionClass,this.overlayContainer);this.index=this.index+1;let tn=Fe;Fe&&_t.enableHtml&&(tn=this.sanitizer.sanitize(r.q3G.HTML,Fe));const on=new Ge(hn),Kt=new Oe(this.index,_t,tn,Ze,ge,on),gn=new We(Kt,this._injector),mn=new le(_t.toastComponent,gn),He=hn.attach(mn,this.toastrConfig.newestOnTop);on.componentInstance=He.instance;const V={toastId:this.index,title:Ze||"",message:Fe||"",toastRef:on,onShown:on.afterActivate(),onHidden:on.afterClosed(),onTap:Kt.onTap(),onAction:Kt.onAction(),portal:He};return rn||(this.currentlyActive=this.currentlyActive+1,setTimeout(()=>{V.toastRef.activate()})),this.toasts.push(V),V}}return De.\u0275fac=function(ge){return new(ge||De)(r.LFG(Ae),r.LFG(Ce),r.LFG(r.zs3),r.LFG(z.H7),r.LFG(r.R0b))},De.\u0275prov=r.Yz7({token:De,factory:De.\u0275fac,providedIn:"root"}),De})(),Ke=(()=>{class De{constructor(ge,Fe,Ze){this.toastrService=ge,this.toastPackage=Fe,this.ngZone=Ze,this.width=-1,this.toastClasses="",this.state={value:"inactive",params:{easeTime:this.toastPackage.config.easeTime,easing:"ease-in"}},this.message=Fe.message,this.title=Fe.title,this.options=Fe.config,this.originalTimeout=Fe.config.timeOut,this.toastClasses=`${Fe.toastType} ${Fe.config.toastClass}`,this.sub=Fe.toastRef.afterActivate().subscribe(()=>{this.activateToast()}),this.sub1=Fe.toastRef.manualClosed().subscribe(()=>{this.remove()}),this.sub2=Fe.toastRef.timeoutReset().subscribe(()=>{this.resetTimeout()}),this.sub3=Fe.toastRef.countDuplicate().subscribe(_t=>{this.duplicatesCount=_t})}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 ge=(new Date).getTime();this.width=(this.hideTime-ge)/this.options.timeOut*100,"increasing"===this.options.progressAnimation&&(this.width=100-this.width),this.width<=0&&(this.width=0),this.width>=100&&(this.width=100)}resetTimeout(){clearTimeout(this.timeout),clearInterval(this.intervalId),this.state={...this.state,value:"active"},this.outsideTimeout(()=>this.remove(),this.originalTimeout),this.options.timeOut=this.originalTimeout,this.hideTime=(new Date).getTime()+(this.options.timeOut||0),this.width=-1,this.options.progressBar&&this.outsideInterval(()=>this.updateProgress(),10)}remove(){"removed"!==this.state.value&&(clearTimeout(this.timeout),this.state={...this.state,value:"removed"},this.outsideTimeout(()=>this.toastrService.remove(this.toastPackage.toastId),+this.toastPackage.config.easeTime))}tapToast(){"removed"!==this.state.value&&(this.toastPackage.triggerTap(),this.options.tapToDismiss&&this.remove())}stickAround(){"removed"!==this.state.value&&(clearTimeout(this.timeout),this.options.timeOut=0,this.hideTime=0,clearInterval(this.intervalId),this.width=0)}delayedHideToast(){!0===this.options.disableTimeOut||"extendedTimeOut"===this.options.disableTimeOut||0===this.options.extendedTimeOut||"removed"===this.state.value||(this.outsideTimeout(()=>this.remove(),this.options.extendedTimeOut),this.options.timeOut=this.options.extendedTimeOut,this.hideTime=(new Date).getTime()+(this.options.timeOut||0),this.width=-1,this.options.progressBar&&this.outsideInterval(()=>this.updateProgress(),10))}outsideTimeout(ge,Fe){this.ngZone?this.ngZone.runOutsideAngular(()=>this.timeout=setTimeout(()=>this.runInsideAngular(ge),Fe)):this.timeout=setTimeout(()=>ge(),Fe)}outsideInterval(ge,Fe){this.ngZone?this.ngZone.runOutsideAngular(()=>this.intervalId=setInterval(()=>this.runInsideAngular(ge),Fe)):this.intervalId=setInterval(()=>ge(),Fe)}runInsideAngular(ge){this.ngZone?this.ngZone.run(()=>ge()):ge()}}return De.\u0275fac=function(ge){return new(ge||De)(r.Y36(ut),r.Y36(Oe),r.Y36(r.R0b))},De.\u0275cmp=r.Xpm({type:De,selectors:[["","toast-component",""]],hostVars:5,hostBindings:function(ge,Fe){1&ge&&r.NdJ("click",function(){return Fe.tapToast()})("mouseenter",function(){return Fe.stickAround()})("mouseleave",function(){return Fe.delayedHideToast()}),2&ge&&(r.d8E("@flyInOut",Fe.state),r.Tol(Fe.toastClasses),r.Udp("display",Fe.displayStyle))},attrs:K,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(ge,Fe){1&ge&&(r.YNc(0,ve,3,0,"button",0),r.YNc(1,ie,3,5,"div",1),r.YNc(2,ee,1,3,"div",2),r.YNc(3,he,2,4,"div",3),r.YNc(4,_e,2,2,"div",4)),2&ge&&(r.Q6J("ngIf",Fe.options.closeButton),r.xp6(1),r.Q6J("ngIf",Fe.title),r.xp6(1),r.Q6J("ngIf",Fe.message&&Fe.options.enableHtml),r.xp6(1),r.Q6J("ngIf",Fe.message&&!Fe.options.enableHtml),r.xp6(1),r.Q6J("ngIf",Fe.options.progressBar))},dependencies:[G.O5],encapsulation:2,data:{animation:[(0,d.X$)("flyInOut",[(0,d.SB)("inactive",(0,d.oB)({opacity:0})),(0,d.SB)("active",(0,d.oB)({opacity:1})),(0,d.SB)("removed",(0,d.oB)({opacity:0})),(0,d.eR)("inactive => active",(0,d.jt)("{{ easeTime }}ms {{ easing }}")),(0,d.eR)("active => removed",(0,d.jt)("{{ easeTime }}ms {{ easing }}"))])]}}),De})();const Et={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:Ke};let Rt=(()=>{class De{static forRoot(ge={}){return{ngModule:De,providers:[{provide:Ae,useValue:{default:Et,config:ge}}]}}}return De.\u0275fac=function(ge){return new(ge||De)},De.\u0275mod=r.oAB({type:De}),De.\u0275inj=r.cJS({imports:[G.ez]}),De})()}},dt=>{dt(dt.s=776)}]);
|