@ngageoint/mage.web-app 6.3.0-beta.8 → 6.3.0

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.
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[179],{82524:(rt,_e,_)=>{_.d(_e,{s:()=>R});var f=_(80529),v=_(96213),T=_(94650);let R=(()=>{class B{constructor(se){this.httpClient=se}getApi(){return this.httpClient.get("/api",{context:(new f.qT).set(v.h,!0)})}}return B.\u0275fac=function(se){return new(se||B)(T.LFG(f.eN))},B.\u0275prov=T.Yz7({token:B,factory:B.\u0275fac,providedIn:"root"}),B})()},38159:(rt,_e,_)=>{_.d(_e,{n:()=>v});var f=_(94650);let v=(()=>{class T{constructor(){this.tokenKey="token",this.pollingIntervalKey="pollingInterval",this.timeIntervalKey="timeInterval",this.teamsKey="teams",this.mapPositionKey="mapPosition",this.coordinateSystemViewKey="coordinateSystemView",this.coordinateSystemEditKey="coordinateSystemEdit",this.timeZoneViewKey="timeZoneView",this.timeZoneEditKey="timeZoneEdit",this.timeFormatKey="timeFormat"}getToken(){return this.getLocalItem(this.tokenKey)}setToken(B){return this.setLocalItem(this.tokenKey,B)}removeToken(){return this.removeLocalItem(this.tokenKey)}setPollingInterval(B){return this.setLocalItem(this.pollingIntervalKey,B)}getPollingInterval(){return this.getLocalItem(this.pollingIntervalKey)}setTimeInterval(B){return this.setLocalItem(this.timeIntervalKey,JSON.stringify(B))}getTimeInterval(){const B=this.getLocalItem(this.timeIntervalKey);if(B){const V=JSON.parse(B);return V&&V.options&&(V.options.startDate&&(V.options.startDate=new Date(V.options.startDate)),V.options.endDate&&(V.options.endDate=new Date(V.options.endDate))),V}}getTeams(){const B=this.getLocalItem(this.teamsKey);if(B)return JSON.parse(B)}setTeams(B){return this.setLocalItem(this.teamsKey,JSON.stringify(B))}removeTeams(){return this.removeLocalItem(this.teamsKey)}setMapPosition(B){return this.setLocalItem(this.mapPositionKey,JSON.stringify(B))}getMapPosition(){const B=this.getLocalItem(this.mapPositionKey);if(B)return JSON.parse(B)}getCoordinateSystemView(){return this.getLocalItem(this.coordinateSystemViewKey)||"wgs84"}setCoordinateSystemView(B){return this.setLocalItem(this.coordinateSystemViewKey,B)}getCoordinateSystemEdit(){return this.getLocalItem(this.coordinateSystemEditKey)||this.getCoordinateSystemView()}setCoordinateSystemEdit(B){return this.setLocalItem(this.coordinateSystemEditKey,B)}getTimeZoneView(){return this.getLocalItem(this.timeZoneViewKey)||"local"}setTimeZoneView(B){return this.setLocalItem(this.timeZoneViewKey,B)}getTimeZoneEdit(){return this.getLocalItem(this.timeZoneEditKey)||this.getTimeZoneView()}setTimeZoneEdit(B){return this.setLocalItem(this.timeZoneEditKey,B)}getTimeFormat(){return this.getLocalItem(this.timeFormatKey)||"absolute"}setTimeFormat(B){return this.setLocalItem(this.timeFormatKey,B)}getLocalItem(B){try{if("localStorage"in window&&null!==window.localStorage)return localStorage.getItem(B)}catch{return}}setLocalItem(B,V){try{if("localStorage"in window&&null!==window.localStorage)return localStorage.setItem(B,V)}catch{return}}removeLocalItem(B){try{if("localStorage"in window&&null!==window.localStorage)return localStorage.removeItem(B)}catch{return!1}}}return T.\u0275fac=function(B){return new(B||T)},T.\u0275prov=f.Yz7({token:T,factory:T.\u0275fac,providedIn:"root"}),T})()},96213:(rt,_e,_)=>{_.d(_e,{N:()=>H,h:()=>z});var f=_(80529),v=_(77579),T=_(70262),R=_(63900),B=_(62843),V=_(28383),se=_(94650),Q=_(65938),Y=_(1584),$=_(38159);const z=new f.Xk(()=>!1);let H=(()=>{class Se{constructor(he,Ee,ye){this.dialog=he,this.userService=Ee,this.localStorageService=ye,this.isRefreshingToken=!1,this.tokenSubject=new v.x}intercept(he,Ee){return!0===he.context.get(z)?Ee.handle(he):he.url.startsWith("/api/")?Ee.handle(this.tokenRequest(he)).pipe((0,T.K)(Ue=>Ue instanceof f.UA&&401===Ue.status?(this.userService.setUser(null),this.isRefreshingToken||(this.isRefreshingToken=!0,this.dialog.open(V.h,{width:"600px",disableClose:!0,autoFocus:!1}).afterClosed().subscribe(()=>{this.isRefreshingToken=!1,this.tokenSubject.next()})),this.tokenSubject.pipe((0,R.w)(()=>Ee.handle(this.tokenRequest(he))))):(0,B._)(()=>Ue))):Ee.handle(he)}tokenRequest(he){const Ee=this.localStorageService.getToken();return he.clone({headers:he.headers.set("Authorization",`Bearer ${Ee}`)})}}return Se.\u0275fac=function(he){return new(he||Se)(se.LFG(Q.uw),se.LFG(Y.K),se.LFG($.n))},Se.\u0275prov=se.Yz7({token:Se,factory:Se.\u0275fac,providedIn:"root"}),Se})()},28383:(rt,_e,_)=>{_.d(_e,{h:()=>R});var f=_(94650),v=_(82524),T=_(65938);let R=(()=>{class B{constructor(se,Q){this.apiService=se,this.dialogRef=Q}ngOnInit(){this.apiService.getApi().subscribe(se=>{this.api=se})}onIngress(){this.dialogRef.close()}}return B.\u0275fac=function(se){return new(se||B)(f.Y36(v.s),f.Y36(T.so))},B.\u0275cmp=f.Xpm({type:B,selectors:[["authentication-dialog"]],decls:6,vars:2,consts:[[1,"mat-dialog-title"],["mat-dialog-content",""],[1,"ingress"],[3,"landing","api","complete"]],template:function(se,Q){1&se&&(f.TgZ(0,"div")(1,"h3",0),f._uU(2,"Please signin to continue to Mage"),f.qZA(),f.TgZ(3,"div",1)(4,"div",2)(5,"ingress",3),f.NdJ("complete",function(){return Q.onIngress()}),f.qZA()()()()),2&se&&(f.xp6(5),f.Q6J("landing",!1)("api",Q.api))},styles:[".ingress[_ngcontent-%COMP%]{width:100%;height:100%}"]}),B})()},1584:(rt,_e,_)=>{_.d(_e,{K:()=>Q});var f=_(80529),v=_(61135),T=_(77579),R=_(18505),B=_(96213),V=_(94650),se=_(38159);let Q=(()=>{class Y{constructor(z,H){this.httpClient=z,this.localStorageService=H,this._myself=new v.X(null),this.myself$=this._myself.asObservable()}signup(z){return this.httpClient.post("/api/users/signups",{username:z},{context:(new f.qT).set(B.h,!0)})}signupVerify(z,H){return this.httpClient.post("/api/users/signups/verifications",z,{headers:{Authorization:`Bearer ${H}`},context:(new f.qT).set(B.h,!0)})}signin(z,H){return this.httpClient.post("/auth/local/signin",{username:z,password:H,appVersion:"Web Client"})}idpSignin(z){let H=new T.x;const Ie=window.open("/auth/"+z+"/signin","_blank");return window.addEventListener("message",function he(Ee){window.removeEventListener("message",he,!1),Ee.origin===window.location.origin&&(H.next(Ee.data),Ie.close())},!1),H.asObservable()}ldapSignin(z,H){return this.httpClient.post("/api/ldap/signin",{username:z,password:H,appVersion:"Web Client"},{context:(new f.qT).set(B.h,!0)})}authorize(z,H){return this.httpClient.post("/auth/token?createDevice=false",{uid:H,appVersion:"Web Client"},{headers:{Authorization:`Bearer ${z}`}}).pipe((0,R.b)(Se=>{this.setUser(Se.user)}))}getMyself(){return this.httpClient.get("/api/users/myself").pipe((0,R.b)(z=>{this.setUser(z)}))}setUser(z){this._myself.next(z),this.myself=z,this.amAdmin=this.myself&&this.myself.role&&("ADMIN_ROLE"===this.myself.role.name||"EVENT_MANAGER_ROLE"===this.myself.role.name)}getUser(z,H){const Se={};return(H=H||{}).populate&&(Se.populate=H.populate),this.httpClient.post(`/api/users/${z}`,{params:Se})}hasPermission(z){return this.myself.role.permissions.includes(z)}addRecentEvent(z){return this.httpClient.post(`/api/users/${this.myself.id}/events/${z.id}/recent`,{})}getRecentEventId(){var z=this.myself.recentEventIds;return z.length>0?z[0]:null}logout(){return this.httpClient.post("/api/logout",null,{responseType:"text"}).pipe((0,R.b)(()=>{this.clearUser()}))}saveProfile(z){const H=new FormData;for(var Se in z)null!=z[Se]&&H.append(Se,z[Se]);return this.httpClient.put("/api/users/myself",H,{reportProgress:!0,observe:"events"})}updatePassword(z,H){return this.httpClient.put("/api/users/myself/password",{username:this.myself.username,password:z,newPassword:H,newPasswordConfirm:H},{context:(new f.qT).set(B.h,!0),responseType:"text"})}clearUser(){this.myself=null,this.amAdmin=null,this.localStorageService.removeToken()}}return Y.\u0275fac=function(z){return new(z||Y)(V.LFG(f.eN),V.LFG(se.n))},Y.\u0275prov=V.Yz7({token:Y,factory:Y.\u0275fac,providedIn:"root"}),Y})()},53255:(rt,_e,_)=>{var f=_(11481),v=_(94650),T=_(37340);function B(w){return new v.vHH(3e3,!1)}function pe(){return typeof window<"u"&&typeof window.document<"u"}function Ce(){return typeof process<"u"&&"[object process]"==={}.toString.call(process)}function Ze(w){switch(w.length){case 0:return new T.ZN;case 1:return w[0];default:return new T.ZE(w)}}function Ct(w,a,c,D,M=new Map,x=new Map){const ae=[],le=[];let Le=-1,Qe=null;if(D.forEach(pt=>{const _t=pt.get("offset"),Xt=_t==Le,Gt=Xt&&Qe||new Map;pt.forEach((St,xt)=>{let cn=xt,dn=St;if("offset"!==xt)switch(cn=a.normalizePropertyName(cn,ae),dn){case T.k1:dn=M.get(xt);break;case T.l3:dn=x.get(xt);break;default:dn=a.normalizeStyleValue(xt,cn,dn,ae)}Gt.set(cn,dn)}),Xt||le.push(Gt),Qe=Gt,Le=_t}),ae.length)throw function De(w){return new v.vHH(3502,!1)}();return le}function Pt(w,a,c,D){switch(a){case"start":w.onStart(()=>D(c&&dt(c,"start",w)));break;case"done":w.onDone(()=>D(c&&dt(c,"done",w)));break;case"destroy":w.onDestroy(()=>D(c&&dt(c,"destroy",w)))}}function dt(w,a,c){const x=At(w.element,w.triggerName,w.fromState,w.toState,a||w.phaseName,c.totalTime??w.totalTime,!!c.disabled),ae=w._data;return null!=ae&&(x._data=ae),x}function At(w,a,c,D,M="",x=0,ae){return{element:w,triggerName:a,fromState:c,toState:D,phaseName:M,totalTime:x,disabled:!!ae}}function wt(w,a,c){let D=w.get(a);return D||w.set(a,D=c),D}function en(w){const a=w.indexOf(":");return[w.substring(1,a),w.slice(a+1)]}let Nt=(w,a)=>!1,kt=(w,a,c)=>[],Kt=null;function st(w){const a=w.parentNode||w.host;return a===Kt?null:a}(Ce()||typeof Element<"u")&&(pe()?(Kt=(()=>document.documentElement)(),Nt=(w,a)=>{for(;a;){if(a===w)return!0;a=st(a)}return!1}):Nt=(w,a)=>w.contains(a),kt=(w,a,c)=>{if(c)return Array.from(w.querySelectorAll(a));const D=w.querySelector(a);return D?[D]:[]});let O=null,G=!1;const F=Nt,k=kt;let Pe=(()=>{class w{validateStyleProperty(c){return function be(w){O||(O=function re(){return typeof document<"u"?document.body:null}()||{},G=!!O.style&&"WebkitAppearance"in O.style);let a=!0;return O.style&&!function Ye(w){return"ebkit"==w.substring(1,6)}(w)&&(a=w in O.style,!a&&G&&(a="Webkit"+w.charAt(0).toUpperCase()+w.slice(1)in O.style)),a}(c)}matchesElement(c,D){return!1}containsElement(c,D){return F(c,D)}getParentElement(c){return st(c)}query(c,D,M){return k(c,D,M)}computeStyle(c,D,M){return M||""}animate(c,D,M,x,ae,le=[],Le){return new T.ZN(M,x)}}return w.\u0275fac=function(c){return new(c||w)},w.\u0275prov=v.Yz7({token:w,factory:w.\u0275fac}),w})(),je=(()=>{class w{}return w.NOOP=new Pe,w})();const P="ng-enter",me="ng-leave",We="ng-trigger",He=".ng-trigger",oe="ng-animating",q=".ng-animating";function Z(w){if("number"==typeof w)return w;const a=w.match(/^(-?[\.\d]+)(m?s)/);return!a||a.length<2?0:L(parseFloat(a[1]),a[2])}function L(w,a){return"s"===a?1e3*w:w}function X(w,a,c){return w.hasOwnProperty("duration")?w:function N(w,a,c){let M,x=0,ae="";if("string"==typeof w){const le=w.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===le)return a.push(B()),{duration:0,delay:0,easing:""};M=L(parseFloat(le[1]),le[2]);const Le=le[3];null!=Le&&(x=L(parseFloat(Le),le[4]));const Qe=le[5];Qe&&(ae=Qe)}else M=w;if(!c){let le=!1,Le=a.length;M<0&&(a.push(function V(){return new v.vHH(3100,!1)}()),le=!0),x<0&&(a.push(function se(){return new v.vHH(3101,!1)}()),le=!0),le&&a.splice(Le,0,B())}return{duration:M,delay:x,easing:ae}}(w,a,c)}function de(w,a={}){return Object.keys(w).forEach(c=>{a[c]=w[c]}),a}function Fe(w){const a=new Map;return Object.keys(w).forEach(c=>{a.set(c,w[c])}),a}function Vt(w,a=new Map,c){if(c)for(let[D,M]of c)a.set(D,M);for(let[D,M]of w)a.set(D,M);return a}function Xn(w,a,c){return c?a+":"+c+";":""}function jt(w){let a="";for(let c=0;c<w.style.length;c++){const D=w.style.item(c);a+=Xn(0,D,w.style.getPropertyValue(D))}for(const c in w.style)w.style.hasOwnProperty(c)&&!c.startsWith("_")&&(a+=Xn(0,vt(c),w.style[c]));w.setAttribute("style",a)}function on(w,a,c){w.style&&(a.forEach((D,M)=>{const x=Xe(M);c&&!c.has(M)&&c.set(M,w.style[x]),w.style[x]=D}),Ce()&&jt(w))}function an(w,a){w.style&&(a.forEach((c,D)=>{const M=Xe(D);w.style[M]=""}),Ce()&&jt(w))}function En(w){return Array.isArray(w)?1==w.length?w[0]:(0,T.vP)(w):w}const Mn=new RegExp("{{\\s*(.+?)\\s*}}","g");function te(w){let a=[];if("string"==typeof w){let c;for(;c=Mn.exec(w);)a.push(c[1]);Mn.lastIndex=0}return a}function ne(w,a,c){const D=w.toString(),M=D.replace(Mn,(x,ae)=>{let le=a[ae];return null==le&&(c.push(function Y(w){return new v.vHH(3003,!1)}()),le=""),le.toString()});return M==D?w:M}function j(w){const a=[];let c=w.next();for(;!c.done;)a.push(c.value),c=w.next();return a}const we=/-+([a-z0-9])/g;function Xe(w){return w.replace(we,(...a)=>a[1].toUpperCase())}function vt(w){return w.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function nn(w,a,c){switch(a.type){case 7:return w.visitTrigger(a,c);case 0:return w.visitState(a,c);case 1:return w.visitTransition(a,c);case 2:return w.visitSequence(a,c);case 3:return w.visitGroup(a,c);case 4:return w.visitAnimate(a,c);case 5:return w.visitKeyframes(a,c);case 6:return w.visitStyle(a,c);case 8:return w.visitReference(a,c);case 9:return w.visitAnimateChild(a,c);case 10:return w.visitAnimateRef(a,c);case 11:return w.visitQuery(a,c);case 12:return w.visitStagger(a,c);default:throw function $(w){return new v.vHH(3004,!1)}()}}function Vn(w,a){return window.getComputedStyle(w)[a]}function Kn(w,a){const c=[];return"string"==typeof w?w.split(/\s*,\s*/).forEach(D=>function kr(w,a,c){if(":"==w[0]){const Le=function Jr(w,a){switch(w){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(c,D)=>parseFloat(D)>parseFloat(c);case":decrement":return(c,D)=>parseFloat(D)<parseFloat(c);default:return a.push(function Te(w){return new v.vHH(3016,!1)}()),"* => *"}}(w,c);if("function"==typeof Le)return void a.push(Le);w=Le}const D=w.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==D||D.length<4)return c.push(function ce(w){return new v.vHH(3015,!1)}()),a;const M=D[1],x=D[2],ae=D[3];a.push(Br(M,ae));"<"==x[0]&&!("*"==M&&"*"==ae)&&a.push(Br(ae,M))}(D,c,a)):c.push(w),c}const qt=new Set(["true","1"]),qr=new Set(["false","0"]);function Br(w,a){const c=qt.has(w)||qr.has(w),D=qt.has(a)||qr.has(a);return(M,x)=>{let ae="*"==w||w==M,le="*"==a||a==x;return!ae&&c&&"boolean"==typeof M&&(ae=M?qt.has(w):qr.has(w)),!le&&D&&"boolean"==typeof x&&(le=x?qt.has(a):qr.has(a)),ae&&le}}const ei=new RegExp("s*:selfs*,?","g");function rr(w,a,c,D){return new tr(w).build(a,c,D)}class tr{constructor(a){this._driver=a}build(a,c,D){const M=new An(c);return this._resetContextStyleTimingState(M),nn(this,En(a),M)}_resetContextStyleTimingState(a){a.currentQuerySelector="",a.collectedStyles=new Map,a.collectedStyles.set("",new Map),a.currentTime=0}visitTrigger(a,c){let D=c.queryCount=0,M=c.depCount=0;const x=[],ae=[];return"@"==a.name.charAt(0)&&c.errors.push(function H(){return new v.vHH(3006,!1)}()),a.definitions.forEach(le=>{if(this._resetContextStyleTimingState(c),0==le.type){const Le=le,Qe=Le.name;Qe.toString().split(/\s*,\s*/).forEach(pt=>{Le.name=pt,x.push(this.visitState(Le,c))}),Le.name=Qe}else if(1==le.type){const Le=this.visitTransition(le,c);D+=Le.queryCount,M+=Le.depCount,ae.push(Le)}else c.errors.push(function Se(){return new v.vHH(3007,!1)}())}),{type:7,name:a.name,states:x,transitions:ae,queryCount:D,depCount:M,options:null}}visitState(a,c){const D=this.visitStyle(a.styles,c),M=a.options&&a.options.params||null;if(D.containsDynamicStyles){const x=new Set,ae=M||{};D.styles.forEach(le=>{le instanceof Map&&le.forEach(Le=>{te(Le).forEach(Qe=>{ae.hasOwnProperty(Qe)||x.add(Qe)})})}),x.size&&(j(x.values()),c.errors.push(function Ie(w,a){return new v.vHH(3008,!1)}()))}return{type:0,name:a.name,style:D,options:M?{params:M}:null}}visitTransition(a,c){c.queryCount=0,c.depCount=0;const D=nn(this,En(a.animation),c);return{type:1,matchers:Kn(a.expr,c.errors),animation:D,queryCount:c.queryCount,depCount:c.depCount,options:nr(a.options)}}visitSequence(a,c){return{type:2,steps:a.steps.map(D=>nn(this,D,c)),options:nr(a.options)}}visitGroup(a,c){const D=c.currentTime;let M=0;const x=a.steps.map(ae=>{c.currentTime=D;const le=nn(this,ae,c);return M=Math.max(M,c.currentTime),le});return c.currentTime=M,{type:3,steps:x,options:nr(a.options)}}visitAnimate(a,c){const D=function Ur(w,a){if(w.hasOwnProperty("duration"))return w;if("number"==typeof w)return Ir(X(w,a).duration,0,"");const c=w;if(c.split(/\s+/).some(x=>"{"==x.charAt(0)&&"{"==x.charAt(1))){const x=Ir(0,0,"");return x.dynamic=!0,x.strValue=c,x}const M=X(c,a);return Ir(M.duration,M.delay,M.easing)}(a.timings,c.errors);c.currentAnimateTimings=D;let M,x=a.styles?a.styles:(0,T.oB)({});if(5==x.type)M=this.visitKeyframes(x,c);else{let ae=a.styles,le=!1;if(!ae){le=!0;const Qe={};D.easing&&(Qe.easing=D.easing),ae=(0,T.oB)(Qe)}c.currentTime+=D.duration+D.delay;const Le=this.visitStyle(ae,c);Le.isEmptyStep=le,M=Le}return c.currentAnimateTimings=null,{type:4,timings:D,style:M,options:null}}visitStyle(a,c){const D=this._makeStyleAst(a,c);return this._validateStyleAst(D,c),D}_makeStyleAst(a,c){const D=[],M=Array.isArray(a.styles)?a.styles:[a.styles];for(let le of M)"string"==typeof le?le===T.l3?D.push(le):c.errors.push(new v.vHH(3002,!1)):D.push(Fe(le));let x=!1,ae=null;return D.forEach(le=>{if(le instanceof Map&&(le.has("easing")&&(ae=le.get("easing"),le.delete("easing")),!x))for(let Le of le.values())if(Le.toString().indexOf("{{")>=0){x=!0;break}}),{type:6,styles:D,easing:ae,offset:a.offset,containsDynamicStyles:x,options:null}}_validateStyleAst(a,c){const D=c.currentAnimateTimings;let M=c.currentTime,x=c.currentTime;D&&x>0&&(x-=D.duration+D.delay),a.styles.forEach(ae=>{"string"!=typeof ae&&ae.forEach((le,Le)=>{const Qe=c.collectedStyles.get(c.currentQuerySelector),pt=Qe.get(Le);let _t=!0;pt&&(x!=M&&x>=pt.startTime&&M<=pt.endTime&&(c.errors.push(function ye(w,a,c,D,M){return new v.vHH(3010,!1)}()),_t=!1),x=pt.startTime),_t&&Qe.set(Le,{startTime:x,endTime:M}),c.options&&function wn(w,a,c){const D=a.params||{},M=te(w);M.length&&M.forEach(x=>{D.hasOwnProperty(x)||c.push(function Q(w){return new v.vHH(3001,!1)}())})}(le,c.options,c.errors)})})}visitKeyframes(a,c){const D={type:5,styles:[],options:null};if(!c.currentAnimateTimings)return c.errors.push(function Ue(){return new v.vHH(3011,!1)}()),D;let x=0;const ae=[];let le=!1,Le=!1,Qe=0;const pt=a.steps.map(dn=>{const Cn=this._makeStyleAst(dn,c);let Pn=null!=Cn.offset?Cn.offset:function Gn(w){if("string"==typeof w)return null;let a=null;if(Array.isArray(w))w.forEach(c=>{if(c instanceof Map&&c.has("offset")){const D=c;a=parseFloat(D.get("offset")),D.delete("offset")}});else if(w instanceof Map&&w.has("offset")){const c=w;a=parseFloat(c.get("offset")),c.delete("offset")}return a}(Cn.styles),Rn=0;return null!=Pn&&(x++,Rn=Cn.offset=Pn),Le=Le||Rn<0||Rn>1,le=le||Rn<Qe,Qe=Rn,ae.push(Rn),Cn});Le&&c.errors.push(function ht(){return new v.vHH(3012,!1)}()),le&&c.errors.push(function ut(){return new v.vHH(3200,!1)}());const _t=a.steps.length;let Xt=0;x>0&&x<_t?c.errors.push(function Oe(){return new v.vHH(3202,!1)}()):0==x&&(Xt=1/(_t-1));const Gt=_t-1,St=c.currentTime,xt=c.currentAnimateTimings,cn=xt.duration;return pt.forEach((dn,Cn)=>{const Pn=Xt>0?Cn==Gt?1:Xt*Cn:ae[Cn],Rn=Pn*cn;c.currentTime=St+xt.delay+Rn,xt.duration=Rn,this._validateStyleAst(dn,c),dn.offset=Pn,D.styles.push(dn)}),D}visitReference(a,c){return{type:8,animation:nn(this,En(a.animation),c),options:nr(a.options)}}visitAnimateChild(a,c){return c.depCount++,{type:9,options:nr(a.options)}}visitAnimateRef(a,c){return{type:10,animation:this.visitReference(a.animation,c),options:nr(a.options)}}visitQuery(a,c){const D=c.currentQuerySelector,M=a.options||{};c.queryCount++,c.currentQuery=a;const[x,ae]=function ln(w){const a=!!w.split(/\s*,\s*/).find(c=>":self"==c);return a&&(w=w.replace(ei,"")),w=w.replace(/@\*/g,He).replace(/@\w+/g,c=>He+"-"+c.slice(1)).replace(/:animating/g,q),[w,a]}(a.selector);c.currentQuerySelector=D.length?D+" "+x:x,wt(c.collectedStyles,c.currentQuerySelector,new Map);const le=nn(this,En(a.animation),c);return c.currentQuery=null,c.currentQuerySelector=D,{type:11,selector:x,limit:M.limit||0,optional:!!M.optional,includeSelf:ae,animation:le,originalSelector:a.selector,options:nr(a.options)}}visitStagger(a,c){c.currentQuery||c.errors.push(function K(){return new v.vHH(3013,!1)}());const D="full"===a.timings?{duration:0,delay:0,easing:"full"}:X(a.timings,c.errors,!0);return{type:12,animation:nn(this,En(a.animation),c),timings:D,options:null}}}class An{constructor(a){this.errors=a,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles=new Map,this.options=null,this.unsupportedCSSPropertiesFound=new Set}}function nr(w){return w?(w=de(w)).params&&(w.params=function Ar(w){return w?de(w):null}(w.params)):w={},w}function Ir(w,a,c){return{duration:w,delay:a,easing:c}}function qn(w,a,c,D,M,x,ae=null,le=!1){return{type:1,element:w,keyframes:a,preStyleProps:c,postStyleProps:D,duration:M,delay:x,totalTime:M+x,easing:ae,subTimeline:le}}class ti{constructor(){this._map=new Map}get(a){return this._map.get(a)||[]}append(a,c){let D=this._map.get(a);D||this._map.set(a,D=[]),D.push(...c)}has(a){return this._map.has(a)}clear(){this._map.clear()}}const as=new RegExp(":enter","g"),ir=new RegExp(":leave","g");function Li(w,a,c,D,M,x=new Map,ae=new Map,le,Le,Qe=[]){return(new Gs).buildKeyframes(w,a,c,D,M,x,ae,le,Le,Qe)}class Gs{buildKeyframes(a,c,D,M,x,ae,le,Le,Qe,pt=[]){Qe=Qe||new ti;const _t=new yi(a,c,Qe,M,x,pt,[]);_t.options=Le;const Xt=Le.delay?Z(Le.delay):0;_t.currentTimeline.delayNextStep(Xt),_t.currentTimeline.setStyles([ae],null,_t.errors,Le),nn(this,D,_t);const Gt=_t.timelines.filter(St=>St.containsAnimation());if(Gt.length&&le.size){let St;for(let xt=Gt.length-1;xt>=0;xt--){const cn=Gt[xt];if(cn.element===c){St=cn;break}}St&&!St.allowOnlyTimelineStyles()&&St.setStyles([le],null,_t.errors,Le)}return Gt.length?Gt.map(St=>St.buildKeyframes()):[qn(c,[],[],[],0,Xt,"",!1)]}visitTrigger(a,c){}visitState(a,c){}visitTransition(a,c){}visitAnimateChild(a,c){const D=c.subInstructions.get(c.element);if(D){const M=c.createSubContext(a.options),x=c.currentTimeline.currentTime,ae=this._visitSubInstructions(D,M,M.options);x!=ae&&c.transformIntoNewTimeline(ae)}c.previousNode=a}visitAnimateRef(a,c){const D=c.createSubContext(a.options);D.transformIntoNewTimeline(),this._applyAnimationRefDelays([a.options,a.animation.options],c,D),this.visitReference(a.animation,D),c.transformIntoNewTimeline(D.currentTimeline.currentTime),c.previousNode=a}_applyAnimationRefDelays(a,c,D){for(const M of a){const x=M?.delay;if(x){const ae="number"==typeof x?x:Z(ne(x,M?.params??{},c.errors));D.delayNextStep(ae)}}}_visitSubInstructions(a,c,D){let x=c.currentTimeline.currentTime;const ae=null!=D.duration?Z(D.duration):null,le=null!=D.delay?Z(D.delay):null;return 0!==ae&&a.forEach(Le=>{const Qe=c.appendInstructionToTimeline(Le,ae,le);x=Math.max(x,Qe.duration+Qe.delay)}),x}visitReference(a,c){c.updateOptions(a.options,!0),nn(this,a.animation,c),c.previousNode=a}visitSequence(a,c){const D=c.subContextCount;let M=c;const x=a.options;if(x&&(x.params||x.delay)&&(M=c.createSubContext(x),M.transformIntoNewTimeline(),null!=x.delay)){6==M.previousNode.type&&(M.currentTimeline.snapshotCurrentStyles(),M.previousNode=_i);const ae=Z(x.delay);M.delayNextStep(ae)}a.steps.length&&(a.steps.forEach(ae=>nn(this,ae,M)),M.currentTimeline.applyStylesToKeyframe(),M.subContextCount>D&&M.transformIntoNewTimeline()),c.previousNode=a}visitGroup(a,c){const D=[];let M=c.currentTimeline.currentTime;const x=a.options&&a.options.delay?Z(a.options.delay):0;a.steps.forEach(ae=>{const le=c.createSubContext(a.options);x&&le.delayNextStep(x),nn(this,ae,le),M=Math.max(M,le.currentTimeline.currentTime),D.push(le.currentTimeline)}),D.forEach(ae=>c.currentTimeline.mergeTimelineCollectedStyles(ae)),c.transformIntoNewTimeline(M),c.previousNode=a}_visitTiming(a,c){if(a.dynamic){const D=a.strValue;return X(c.params?ne(D,c.params,c.errors):D,c.errors)}return{duration:a.duration,delay:a.delay,easing:a.easing}}visitAnimate(a,c){const D=c.currentAnimateTimings=this._visitTiming(a.timings,c),M=c.currentTimeline;D.delay&&(c.incrementTime(D.delay),M.snapshotCurrentStyles());const x=a.style;5==x.type?this.visitKeyframes(x,c):(c.incrementTime(D.duration),this.visitStyle(x,c),M.applyStylesToKeyframe()),c.currentAnimateTimings=null,c.previousNode=a}visitStyle(a,c){const D=c.currentTimeline,M=c.currentAnimateTimings;!M&&D.hasCurrentStyleProperties()&&D.forwardFrame();const x=M&&M.easing||a.easing;a.isEmptyStep?D.applyEmptyStep(x):D.setStyles(a.styles,x,c.errors,c.options),c.previousNode=a}visitKeyframes(a,c){const D=c.currentAnimateTimings,M=c.currentTimeline.duration,x=D.duration,le=c.createSubContext().currentTimeline;le.easing=D.easing,a.styles.forEach(Le=>{le.forwardTime((Le.offset||0)*x),le.setStyles(Le.styles,Le.easing,c.errors,c.options),le.applyStylesToKeyframe()}),c.currentTimeline.mergeTimelineCollectedStyles(le),c.transformIntoNewTimeline(M+x),c.previousNode=a}visitQuery(a,c){const D=c.currentTimeline.currentTime,M=a.options||{},x=M.delay?Z(M.delay):0;x&&(6===c.previousNode.type||0==D&&c.currentTimeline.hasCurrentStyleProperties())&&(c.currentTimeline.snapshotCurrentStyles(),c.previousNode=_i);let ae=D;const le=c.invokeQuery(a.selector,a.originalSelector,a.limit,a.includeSelf,!!M.optional,c.errors);c.currentQueryTotal=le.length;let Le=null;le.forEach((Qe,pt)=>{c.currentQueryIndex=pt;const _t=c.createSubContext(a.options,Qe);x&&_t.delayNextStep(x),Qe===c.element&&(Le=_t.currentTimeline),nn(this,a.animation,_t),_t.currentTimeline.applyStylesToKeyframe(),ae=Math.max(ae,_t.currentTimeline.currentTime)}),c.currentQueryIndex=0,c.currentQueryTotal=0,c.transformIntoNewTimeline(ae),Le&&(c.currentTimeline.mergeTimelineCollectedStyles(Le),c.currentTimeline.snapshotCurrentStyles()),c.previousNode=a}visitStagger(a,c){const D=c.parentContext,M=c.currentTimeline,x=a.timings,ae=Math.abs(x.duration),le=ae*(c.currentQueryTotal-1);let Le=ae*c.currentQueryIndex;switch(x.duration<0?"reverse":x.easing){case"reverse":Le=le-Le;break;case"full":Le=D.currentStaggerTime}const pt=c.currentTimeline;Le&&pt.delayNextStep(Le);const _t=pt.currentTime;nn(this,a.animation,c),c.previousNode=a,D.currentStaggerTime=M.currentTime-_t+(M.startTime-D.currentTimeline.startTime)}}const _i={};class yi{constructor(a,c,D,M,x,ae,le,Le){this._driver=a,this.element=c,this.subInstructions=D,this._enterClassName=M,this._leaveClassName=x,this.errors=ae,this.timelines=le,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=_i,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=Le||new Vr(this._driver,c,0),le.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(a,c){if(!a)return;const D=a;let M=this.options;null!=D.duration&&(M.duration=Z(D.duration)),null!=D.delay&&(M.delay=Z(D.delay));const x=D.params;if(x){let ae=M.params;ae||(ae=this.options.params={}),Object.keys(x).forEach(le=>{(!c||!ae.hasOwnProperty(le))&&(ae[le]=ne(x[le],ae,this.errors))})}}_copyOptions(){const a={};if(this.options){const c=this.options.params;if(c){const D=a.params={};Object.keys(c).forEach(M=>{D[M]=c[M]})}}return a}createSubContext(a=null,c,D){const M=c||this.element,x=new yi(this._driver,M,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(M,D||0));return x.previousNode=this.previousNode,x.currentAnimateTimings=this.currentAnimateTimings,x.options=this._copyOptions(),x.updateOptions(a),x.currentQueryIndex=this.currentQueryIndex,x.currentQueryTotal=this.currentQueryTotal,x.parentContext=this,this.subContextCount++,x}transformIntoNewTimeline(a){return this.previousNode=_i,this.currentTimeline=this.currentTimeline.fork(this.element,a),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(a,c,D){const M={duration:c??a.duration,delay:this.currentTimeline.currentTime+(D??0)+a.delay,easing:""},x=new vr(this._driver,a.element,a.keyframes,a.preStyleProps,a.postStyleProps,M,a.stretchStartingKeyframe);return this.timelines.push(x),M}incrementTime(a){this.currentTimeline.forwardTime(this.currentTimeline.duration+a)}delayNextStep(a){a>0&&this.currentTimeline.delayNextStep(a)}invokeQuery(a,c,D,M,x,ae){let le=[];if(M&&le.push(this.element),a.length>0){a=(a=a.replace(as,"."+this._enterClassName)).replace(ir,"."+this._leaveClassName);let Qe=this._driver.query(this.element,a,1!=D);0!==D&&(Qe=D<0?Qe.slice(Qe.length+D,Qe.length):Qe.slice(0,D)),le.push(...Qe)}return!x&&0==le.length&&ae.push(function ve(w){return new v.vHH(3014,!1)}()),le}}class Vr{constructor(a,c,D,M){this._driver=a,this.element=c,this.startTime=D,this._elementTimelineStylesLookup=M,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(c),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(c,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.hasCurrentStyleProperties();default:return!0}}hasCurrentStyleProperties(){return this._currentKeyframe.size>0}get currentTime(){return this.startTime+this.duration}delayNextStep(a){const c=1===this._keyframes.size&&this._pendingStyles.size;this.duration||c?(this.forwardTime(this.currentTime+a),c&&this.snapshotCurrentStyles()):this.startTime+=a}fork(a,c){return this.applyStylesToKeyframe(),new Vr(this._driver,a,c||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=new Map,this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(a){this.applyStylesToKeyframe(),this.duration=a,this._loadKeyframe()}_updateStyle(a,c){this._localTimelineStyles.set(a,c),this._globalTimelineStyles.set(a,c),this._styleSummary.set(a,{time:this.currentTime,value:c})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(a){a&&this._previousKeyframe.set("easing",a);for(let[c,D]of this._globalTimelineStyles)this._backFill.set(c,D||T.l3),this._currentKeyframe.set(c,T.l3);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(a,c,D,M){c&&this._previousKeyframe.set("easing",c);const x=M&&M.params||{},ae=function Ss(w,a){const c=new Map;let D;return w.forEach(M=>{if("*"===M){D=D||a.keys();for(let x of D)c.set(x,T.l3)}else Vt(M,c)}),c}(a,this._globalTimelineStyles);for(let[le,Le]of ae){const Qe=ne(Le,x,D);this._pendingStyles.set(le,Qe),this._localTimelineStyles.has(le)||this._backFill.set(le,this._globalTimelineStyles.get(le)??T.l3),this._updateStyle(le,Qe)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach((a,c)=>{this._currentKeyframe.set(c,a)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((a,c)=>{this._currentKeyframe.has(c)||this._currentKeyframe.set(c,a)}))}snapshotCurrentStyles(){for(let[a,c]of this._localTimelineStyles)this._pendingStyles.set(a,c),this._updateStyle(a,c)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const a=[];for(let c in this._currentKeyframe)a.push(c);return a}mergeTimelineCollectedStyles(a){a._styleSummary.forEach((c,D)=>{const M=this._styleSummary.get(D);(!M||c.time>M.time)&&this._updateStyle(D,c.value)})}buildKeyframes(){this.applyStylesToKeyframe();const a=new Set,c=new Set,D=1===this._keyframes.size&&0===this.duration;let M=[];this._keyframes.forEach((le,Le)=>{const Qe=Vt(le,new Map,this._backFill);Qe.forEach((pt,_t)=>{pt===T.k1?a.add(_t):pt===T.l3&&c.add(_t)}),D||Qe.set("offset",Le/this.duration),M.push(Qe)});const x=a.size?j(a.values()):[],ae=c.size?j(c.values()):[];if(D){const le=M[0],Le=new Map(le);le.set("offset",0),Le.set("offset",1),M=[le,Le]}return qn(this.element,M,x,ae,this.duration,this.startTime,this.easing,!1)}}class vr extends Vr{constructor(a,c,D,M,x,ae,le=!1){super(a,c,ae.delay),this.keyframes=D,this.preStyleProps=M,this.postStyleProps=x,this._stretchStartingKeyframe=le,this.timings={duration:ae.duration,delay:ae.delay,easing:ae.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let a=this.keyframes,{delay:c,duration:D,easing:M}=this.timings;if(this._stretchStartingKeyframe&&c){const x=[],ae=D+c,le=c/ae,Le=Vt(a[0]);Le.set("offset",0),x.push(Le);const Qe=Vt(a[0]);Qe.set("offset",jr(le)),x.push(Qe);const pt=a.length-1;for(let _t=1;_t<=pt;_t++){let Xt=Vt(a[_t]);const Gt=Xt.get("offset");Xt.set("offset",jr((c+Gt*D)/ae)),x.push(Xt)}D=ae,c=0,M="",a=x}return qn(this.element,a,this.preStyleProps,this.postStyleProps,D,c,M,!0)}}function jr(w,a=3){const c=Math.pow(10,a-1);return Math.round(w*c)/c}class ls{}const Ts=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 cs extends ls{normalizePropertyName(a,c){return Xe(a)}normalizeStyleValue(a,c,D,M){let x="";const ae=D.toString().trim();if(Ts.has(c)&&0!==D&&"0"!==D)if("number"==typeof D)x="px";else{const le=D.match(/^[+-]?[\d\.]+([a-z]*)$/);le&&0==le[1].length&&M.push(function z(w,a){return new v.vHH(3005,!1)}())}return ae+x}}function Or(w,a,c,D,M,x,ae,le,Le,Qe,pt,_t,Xt){return{type:0,element:w,triggerName:a,isRemovalTransition:M,fromState:c,fromStyles:x,toState:D,toStyles:ae,timelines:le,queriedElements:Le,preStyleProps:Qe,postStyleProps:pt,totalTime:_t,errors:Xt}}const Fi={};class Ni{constructor(a,c,D){this._triggerName=a,this.ast=c,this._stateStyles=D}match(a,c,D,M){return function sr(w,a,c,D,M){return w.some(x=>x(a,c,D,M))}(this.ast.matchers,a,c,D,M)}buildStyles(a,c,D){let M=this._stateStyles.get("*");return void 0!==a&&(M=this._stateStyles.get(a?.toString())||M),M?M.buildStyles(c,D):new Map}build(a,c,D,M,x,ae,le,Le,Qe,pt){const _t=[],Xt=this.ast.options&&this.ast.options.params||Fi,St=this.buildStyles(D,le&&le.params||Fi,_t),xt=Le&&Le.params||Fi,cn=this.buildStyles(M,xt,_t),dn=new Set,Cn=new Map,Pn=new Map,Rn="void"===M,p={params:vi(xt,Xt),delay:this.ast.options?.delay},b=pt?[]:Li(a,c,this.ast.animation,x,ae,St,cn,p,Qe,_t);let m=0;if(b.forEach(ie=>{m=Math.max(ie.duration+ie.delay,m)}),_t.length)return Or(c,this._triggerName,D,M,Rn,St,cn,[],[],Cn,Pn,m,_t);b.forEach(ie=>{const Be=ie.element,Je=wt(Cn,Be,new Set);ie.preStyleProps.forEach(Yt=>Je.add(Yt));const yt=wt(Pn,Be,new Set);ie.postStyleProps.forEach(Yt=>yt.add(Yt)),Be!==c&&dn.add(Be)});const S=j(dn.values());return Or(c,this._triggerName,D,M,Rn,St,cn,b,S,Cn,Pn,m)}}function vi(w,a){const c=de(a);for(const D in w)w.hasOwnProperty(D)&&null!=w[D]&&(c[D]=w[D]);return c}class ki{constructor(a,c,D){this.styles=a,this.defaultParams=c,this.normalizer=D}buildStyles(a,c){const D=new Map,M=de(this.defaultParams);return Object.keys(a).forEach(x=>{const ae=a[x];null!==ae&&(M[x]=ae)}),this.styles.styles.forEach(x=>{"string"!=typeof x&&x.forEach((ae,le)=>{ae&&(ae=ne(ae,M,c));const Le=this.normalizer.normalizePropertyName(le,c);ae=this.normalizer.normalizeStyleValue(le,Le,ae,c),D.set(Le,ae)})}),D}}class Bi{constructor(a,c,D){this.name=a,this.ast=c,this._normalizer=D,this.transitionFactories=[],this.states=new Map,c.states.forEach(M=>{this.states.set(M.name,new ki(M.style,M.options&&M.options.params||{},D))}),ni(this.states,"true","1"),ni(this.states,"false","0"),c.transitions.forEach(M=>{this.transitionFactories.push(new Ni(a,M,this.states))}),this.fallbackTransition=function Ui(w,a,c){return new Ni(w,{type:1,animation:{type:2,steps:[],options:null},matchers:[(ae,le)=>!0],options:null,queryCount:0,depCount:0},a)}(a,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(a,c,D,M){return this.transitionFactories.find(ae=>ae.match(a,c,D,M))||null}matchStyles(a,c,D){return this.fallbackTransition.buildStyles(a,c,D)}}function ni(w,a,c){w.has(a)?w.has(c)||w.set(c,w.get(a)):w.has(c)&&w.set(a,w.get(c))}const us=new ti;class ds{constructor(a,c,D){this.bodyNode=a,this._driver=c,this._normalizer=D,this._animations=new Map,this._playersById=new Map,this.players=[]}register(a,c){const D=[],x=rr(this._driver,c,D,[]);if(D.length)throw function $e(w){return new v.vHH(3503,!1)}();this._animations.set(a,x)}_buildPlayer(a,c,D){const M=a.element,x=Ct(0,this._normalizer,0,a.keyframes,c,D);return this._driver.animate(M,x,a.duration,a.delay,a.easing,[],!0)}create(a,c,D={}){const M=[],x=this._animations.get(a);let ae;const le=new Map;if(x?(ae=Li(this._driver,c,x,P,me,new Map,new Map,D,us,M),ae.forEach(pt=>{const _t=wt(le,pt.element,new Map);pt.postStyleProps.forEach(Xt=>_t.set(Xt,null))})):(M.push(function Ke(){return new v.vHH(3300,!1)}()),ae=[]),M.length)throw function Et(w){return new v.vHH(3504,!1)}();le.forEach((pt,_t)=>{pt.forEach((Xt,Gt)=>{pt.set(Gt,this._driver.computeStyle(_t,Gt,T.l3))})});const Qe=Ze(ae.map(pt=>{const _t=le.get(pt.element);return this._buildPlayer(pt,new Map,_t)}));return this._playersById.set(a,Qe),Qe.onDestroy(()=>this.destroy(a)),this.players.push(Qe),Qe}destroy(a){const c=this._getPlayer(a);c.destroy(),this._playersById.delete(a);const D=this.players.indexOf(c);D>=0&&this.players.splice(D,1)}_getPlayer(a){const c=this._playersById.get(a);if(!c)throw function $t(w){return new v.vHH(3301,!1)}();return c}listen(a,c,D,M){const x=At(c,"","","");return Pt(this._getPlayer(a),D,x,M),()=>{}}command(a,c,D,M){if("register"==D)return void this.register(a,M[0]);if("create"==D)return void this.create(a,c,M[0]||{});const x=this._getPlayer(a);switch(D){case"play":x.play();break;case"pause":x.pause();break;case"reset":x.reset();break;case"restart":x.restart();break;case"finish":x.finish();break;case"init":x.init();break;case"setPosition":x.setPosition(parseFloat(M[0]));break;case"destroy":this.destroy(a)}}}const zr="ng-animate-queued",jn="ng-animate-disabled",Qs=[],Xs={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},bn={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Yn="__ng_removed";class As{constructor(a,c=""){this.namespaceId=c;const D=a&&a.hasOwnProperty("value");if(this.value=function Js(w){return w??null}(D?a.value:a),D){const x=de(a);delete x.value,this.options=x}else this.options={};this.options.params||(this.options.params={})}get params(){return this.options.params}absorbOptions(a){const c=a.params;if(c){const D=this.options.params;Object.keys(c).forEach(M=>{null==D[M]&&(D[M]=c[M])})}}}const Dr="void",Hn=new As(Dr);class xo{constructor(a,c,D){this.id=a,this.hostElement=c,this._engine=D,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+a,bt(c,this._hostClassName)}listen(a,c,D,M){if(!this._triggers.has(c))throw function Tt(w,a){return new v.vHH(3302,!1)}();if(null==D||0==D.length)throw function sn(w){return new v.vHH(3303,!1)}();if(!function er(w){return"start"==w||"done"==w}(D))throw function tn(w,a){return new v.vHH(3400,!1)}();const x=wt(this._elementListeners,a,[]),ae={name:c,phase:D,callback:M};x.push(ae);const le=wt(this._engine.statesByElement,a,new Map);return le.has(c)||(bt(a,We),bt(a,We+"-"+c),le.set(c,Hn)),()=>{this._engine.afterFlush(()=>{const Le=x.indexOf(ae);Le>=0&&x.splice(Le,1),this._triggers.has(c)||le.delete(c)})}}register(a,c){return!this._triggers.has(a)&&(this._triggers.set(a,c),!0)}_getTrigger(a){const c=this._triggers.get(a);if(!c)throw function Ot(w){return new v.vHH(3401,!1)}();return c}trigger(a,c,D,M=!0){const x=this._getTrigger(c),ae=new Rr(this.id,c,a);let le=this._engine.statesByElement.get(a);le||(bt(a,We),bt(a,We+"-"+c),this._engine.statesByElement.set(a,le=new Map));let Le=le.get(c);const Qe=new As(D,this.id);if(!(D&&D.hasOwnProperty("value"))&&Le&&Qe.absorbOptions(Le.options),le.set(c,Qe),Le||(Le=Hn),Qe.value!==Dr&&Le.value===Qe.value){if(!function Wr(w,a){const c=Object.keys(w),D=Object.keys(a);if(c.length!=D.length)return!1;for(let M=0;M<c.length;M++){const x=c[M];if(!a.hasOwnProperty(x)||w[x]!==a[x])return!1}return!0}(Le.params,Qe.params)){const xt=[],cn=x.matchStyles(Le.value,Le.params,xt),dn=x.matchStyles(Qe.value,Qe.params,xt);xt.length?this._engine.reportError(xt):this._engine.afterFlush(()=>{an(a,cn),on(a,dn)})}return}const Xt=wt(this._engine.playersByElement,a,[]);Xt.forEach(xt=>{xt.namespaceId==this.id&&xt.triggerName==c&&xt.queued&&xt.destroy()});let Gt=x.matchTransition(Le.value,Qe.value,a,Qe.params),St=!1;if(!Gt){if(!M)return;Gt=x.fallbackTransition,St=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:a,triggerName:c,transition:Gt,fromState:Le,toState:Qe,player:ae,isFallbackTransition:St}),St||(bt(a,zr),ae.onStart(()=>{Er(a,zr)})),ae.onDone(()=>{let xt=this.players.indexOf(ae);xt>=0&&this.players.splice(xt,1);const cn=this._engine.playersByElement.get(a);if(cn){let dn=cn.indexOf(ae);dn>=0&&cn.splice(dn,1)}}),this.players.push(ae),Xt.push(ae),ae}deregister(a){this._triggers.delete(a),this._engine.statesByElement.forEach(c=>c.delete(a)),this._elementListeners.forEach((c,D)=>{this._elementListeners.set(D,c.filter(M=>M.name!=a))})}clearElementCache(a){this._engine.statesByElement.delete(a),this._elementListeners.delete(a);const c=this._engine.playersByElement.get(a);c&&(c.forEach(D=>D.destroy()),this._engine.playersByElement.delete(a))}_signalRemovalForInnerTriggers(a,c){const D=this._engine.driver.query(a,He,!0);D.forEach(M=>{if(M[Yn])return;const x=this._engine.fetchNamespacesByElement(M);x.size?x.forEach(ae=>ae.triggerLeaveAnimation(M,c,!1,!0)):this.clearElementCache(M)}),this._engine.afterFlushAnimationsDone(()=>D.forEach(M=>this.clearElementCache(M)))}triggerLeaveAnimation(a,c,D,M){const x=this._engine.statesByElement.get(a),ae=new Map;if(x){const le=[];if(x.forEach((Le,Qe)=>{if(ae.set(Qe,Le.value),this._triggers.has(Qe)){const pt=this.trigger(a,Qe,Dr,M);pt&&le.push(pt)}}),le.length)return this._engine.markElementAsRemoved(this.id,a,!0,c,ae),D&&Ze(le).onDone(()=>this._engine.processLeaveNode(a)),!0}return!1}prepareLeaveAnimationListeners(a){const c=this._elementListeners.get(a),D=this._engine.statesByElement.get(a);if(c&&D){const M=new Set;c.forEach(x=>{const ae=x.name;if(M.has(ae))return;M.add(ae);const Le=this._triggers.get(ae).fallbackTransition,Qe=D.get(ae)||Hn,pt=new As(Dr),_t=new Rr(this.id,ae,a);this._engine.totalQueuedPlayers++,this._queue.push({element:a,triggerName:ae,transition:Le,fromState:Qe,toState:pt,player:_t,isFallbackTransition:!0})})}}removeNode(a,c){const D=this._engine;if(a.childElementCount&&this._signalRemovalForInnerTriggers(a,c),this.triggerLeaveAnimation(a,c,!0))return;let M=!1;if(D.totalAnimations){const x=D.players.length?D.playersByQueriedElement.get(a):[];if(x&&x.length)M=!0;else{let ae=a;for(;ae=ae.parentNode;)if(D.statesByElement.get(ae)){M=!0;break}}}if(this.prepareLeaveAnimationListeners(a),M)D.markElementAsRemoved(this.id,a,!1,c);else{const x=a[Yn];(!x||x===Xs)&&(D.afterFlush(()=>this.clearElementCache(a)),D.destroyInnerAnimations(a),D._onRemovalComplete(a,c))}}insertNode(a,c){bt(a,this._hostClassName)}drainQueuedTransitions(a){const c=[];return this._queue.forEach(D=>{const M=D.player;if(M.destroyed)return;const x=D.element,ae=this._elementListeners.get(x);ae&&ae.forEach(le=>{if(le.name==D.triggerName){const Le=At(x,D.triggerName,D.fromState.value,D.toState.value);Le._data=a,Pt(D.player,le.phase,Le,le.callback)}}),M.markedForDestroy?this._engine.afterFlush(()=>{M.destroy()}):c.push(D)}),this._queue=[],c.sort((D,M)=>{const x=D.transition.ast.depCount,ae=M.transition.ast.depCount;return 0==x||0==ae?x-ae:this._engine.driver.containsElement(D.element,M.element)?1:-1})}destroy(a){this.players.forEach(c=>c.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,a)}elementContainsData(a){let c=!1;return this._elementListeners.has(a)&&(c=!0),c=!!this._queue.find(D=>D.element===a)||c,c}}class ii{constructor(a,c,D){this.bodyNode=a,this.driver=c,this._normalizer=D,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=(M,x)=>{}}_onRemovalComplete(a,c){this.onRemovalComplete(a,c)}get queuedPlayers(){const a=[];return this._namespaceList.forEach(c=>{c.players.forEach(D=>{D.queued&&a.push(D)})}),a}createNamespace(a,c){const D=new xo(a,c,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,c)?this._balanceNamespaceList(D,c):(this.newHostElements.set(c,D),this.collectEnterElement(c)),this._namespaceLookup[a]=D}_balanceNamespaceList(a,c){const D=this._namespaceList,M=this.namespacesByHostElement;if(D.length-1>=0){let ae=!1,le=this.driver.getParentElement(c);for(;le;){const Le=M.get(le);if(Le){const Qe=D.indexOf(Le);D.splice(Qe+1,0,a),ae=!0;break}le=this.driver.getParentElement(le)}ae||D.unshift(a)}else D.push(a);return M.set(c,a),a}register(a,c){let D=this._namespaceLookup[a];return D||(D=this.createNamespace(a,c)),D}registerTrigger(a,c,D){let M=this._namespaceLookup[a];M&&M.register(c,D)&&this.totalAnimations++}destroy(a,c){if(!a)return;const D=this._fetchNamespace(a);this.afterFlush(()=>{this.namespacesByHostElement.delete(D.hostElement),delete this._namespaceLookup[a];const M=this._namespaceList.indexOf(D);M>=0&&this._namespaceList.splice(M,1)}),this.afterFlushAnimationsDone(()=>D.destroy(c))}_fetchNamespace(a){return this._namespaceLookup[a]}fetchNamespacesByElement(a){const c=new Set,D=this.statesByElement.get(a);if(D)for(let M of D.values())if(M.namespaceId){const x=this._fetchNamespace(M.namespaceId);x&&c.add(x)}return c}trigger(a,c,D,M){if(fr(c)){const x=this._fetchNamespace(a);if(x)return x.trigger(c,D,M),!0}return!1}insertNode(a,c,D,M){if(!fr(c))return;const x=c[Yn];if(x&&x.setForRemoval){x.setForRemoval=!1,x.setForMove=!0;const ae=this.collectedLeaveElements.indexOf(c);ae>=0&&this.collectedLeaveElements.splice(ae,1)}if(a){const ae=this._fetchNamespace(a);ae&&ae.insertNode(c,D)}M&&this.collectEnterElement(c)}collectEnterElement(a){this.collectedEnterElements.push(a)}markElementAsDisabled(a,c){c?this.disabledNodes.has(a)||(this.disabledNodes.add(a),bt(a,jn)):this.disabledNodes.has(a)&&(this.disabledNodes.delete(a),Er(a,jn))}removeNode(a,c,D,M){if(fr(c)){const x=a?this._fetchNamespace(a):null;if(x?x.removeNode(c,M):this.markElementAsRemoved(a,c,!1,M),D){const ae=this.namespacesByHostElement.get(c);ae&&ae.id!==a&&ae.removeNode(c,M)}}else this._onRemovalComplete(c,M)}markElementAsRemoved(a,c,D,M,x){this.collectedLeaveElements.push(c),c[Yn]={namespaceId:a,setForRemoval:M,hasAnimation:D,removedBeforeQueried:!1,previousTriggersValues:x}}listen(a,c,D,M,x){return fr(c)?this._fetchNamespace(a).listen(c,D,M,x):()=>{}}_buildInstruction(a,c,D,M,x){return a.transition.build(this.driver,a.element,a.fromState.value,a.toState.value,D,M,a.fromState.options,a.toState.options,c,x)}destroyInnerAnimations(a){let c=this.driver.query(a,He,!0);c.forEach(D=>this.destroyActiveAnimationsForElement(D)),0!=this.playersByQueriedElement.size&&(c=this.driver.query(a,q,!0),c.forEach(D=>this.finishActiveQueriedAnimationOnElement(D)))}destroyActiveAnimationsForElement(a){const c=this.playersByElement.get(a);c&&c.forEach(D=>{D.queued?D.markedForDestroy=!0:D.destroy()})}finishActiveQueriedAnimationOnElement(a){const c=this.playersByQueriedElement.get(a);c&&c.forEach(D=>D.finish())}whenRenderingDone(){return new Promise(a=>{if(this.players.length)return Ze(this.players).onDone(()=>a());a()})}processLeaveNode(a){const c=a[Yn];if(c&&c.setForRemoval){if(a[Yn]=Xs,c.namespaceId){this.destroyInnerAnimations(a);const D=this._fetchNamespace(c.namespaceId);D&&D.clearElementCache(a)}this._onRemovalComplete(a,c.setForRemoval)}a.classList?.contains(jn)&&this.markElementAsDisabled(a,!1),this.driver.query(a,".ng-animate-disabled",!0).forEach(D=>{this.markElementAsDisabled(D,!1)})}flush(a=-1){let c=[];if(this.newHostElements.size&&(this.newHostElements.forEach((D,M)=>this._balanceNamespaceList(D,M)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let D=0;D<this.collectedEnterElements.length;D++)bt(this.collectedEnterElements[D],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){const D=[];try{c=this._flushAnimations(D,a)}finally{for(let M=0;M<D.length;M++)D[M]()}}else for(let D=0;D<this.collectedLeaveElements.length;D++)this.processLeaveNode(this.collectedLeaveElements[D]);if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(D=>D()),this._flushFns=[],this._whenQuietFns.length){const D=this._whenQuietFns;this._whenQuietFns=[],c.length?Ze(c).onDone(()=>{D.forEach(M=>M())}):D.forEach(M=>M())}}reportError(a){throw function Ae(w){return new v.vHH(3402,!1)}()}_flushAnimations(a,c){const D=new ti,M=[],x=new Map,ae=[],le=new Map,Le=new Map,Qe=new Map,pt=new Set;this.disabledNodes.forEach(nt=>{pt.add(nt);const mt=this.driver.query(nt,".ng-animate-queued",!0);for(let ft=0;ft<mt.length;ft++)pt.add(mt[ft])});const _t=this.bodyNode,Xt=Array.from(this.statesByElement.keys()),Gt=Ei(Xt,this.collectedEnterElements),St=new Map;let xt=0;Gt.forEach((nt,mt)=>{const ft=P+xt++;St.set(mt,ft),nt.forEach(Lt=>bt(Lt,ft))});const cn=[],dn=new Set,Cn=new Set;for(let nt=0;nt<this.collectedLeaveElements.length;nt++){const mt=this.collectedLeaveElements[nt],ft=mt[Yn];ft&&ft.setForRemoval&&(cn.push(mt),dn.add(mt),ft.hasAnimation?this.driver.query(mt,".ng-star-inserted",!0).forEach(Lt=>dn.add(Lt)):Cn.add(mt))}const Pn=new Map,Rn=Ei(Xt,Array.from(dn));Rn.forEach((nt,mt)=>{const ft=me+xt++;Pn.set(mt,ft),nt.forEach(Lt=>bt(Lt,ft))}),a.push(()=>{Gt.forEach((nt,mt)=>{const ft=St.get(mt);nt.forEach(Lt=>Er(Lt,ft))}),Rn.forEach((nt,mt)=>{const ft=Pn.get(mt);nt.forEach(Lt=>Er(Lt,ft))}),cn.forEach(nt=>{this.processLeaveNode(nt)})});const p=[],b=[];for(let nt=this._namespaceList.length-1;nt>=0;nt--)this._namespaceList[nt].drainQueuedTransitions(c).forEach(ft=>{const Lt=ft.player,pn=ft.element;if(p.push(Lt),this.collectedEnterElements.length){const Tn=pn[Yn];if(Tn&&Tn.setForMove){if(Tn.previousTriggersValues&&Tn.previousTriggersValues.has(ft.triggerName)){const Mr=Tn.previousTriggersValues.get(ft.triggerName),Zn=this.statesByElement.get(ft.element);if(Zn&&Zn.has(ft.triggerName)){const vs=Zn.get(ft.triggerName);vs.value=Mr,Zn.set(ft.triggerName,vs)}}return void Lt.destroy()}}const vn=!_t||!this.driver.containsElement(_t,pn),Sn=Pn.get(pn),hn=St.get(pn),un=this._buildInstruction(ft,D,hn,Sn,vn);if(un.errors&&un.errors.length)return void b.push(un);if(vn)return Lt.onStart(()=>an(pn,un.fromStyles)),Lt.onDestroy(()=>on(pn,un.toStyles)),void M.push(Lt);if(ft.isFallbackTransition)return Lt.onStart(()=>an(pn,un.fromStyles)),Lt.onDestroy(()=>on(pn,un.toStyles)),void M.push(Lt);const wr=[];un.timelines.forEach(Tn=>{Tn.stretchStartingKeyframe=!0,this.disabledNodes.has(Tn.element)||wr.push(Tn)}),un.timelines=wr,D.append(pn,un.timelines),ae.push({instruction:un,player:Lt,element:pn}),un.queriedElements.forEach(Tn=>wt(le,Tn,[]).push(Lt)),un.preStyleProps.forEach((Tn,Mr)=>{if(Tn.size){let Zn=Le.get(Mr);Zn||Le.set(Mr,Zn=new Set),Tn.forEach((vs,Ds)=>Zn.add(Ds))}}),un.postStyleProps.forEach((Tn,Mr)=>{let Zn=Qe.get(Mr);Zn||Qe.set(Mr,Zn=new Set),Tn.forEach((vs,Ds)=>Zn.add(Ds))})});if(b.length){const nt=[];b.forEach(mt=>{nt.push(function fe(w,a){return new v.vHH(3505,!1)}())}),p.forEach(mt=>mt.destroy()),this.reportError(nt)}const m=new Map,S=new Map;ae.forEach(nt=>{const mt=nt.element;D.has(mt)&&(S.set(mt,mt),this._beforeAnimationBuild(nt.player.namespaceId,nt.instruction,m))}),M.forEach(nt=>{const mt=nt.element;this._getPreviousPlayers(mt,!1,nt.namespaceId,nt.triggerName,null).forEach(Lt=>{wt(m,mt,[]).push(Lt),Lt.destroy()})});const ie=cn.filter(nt=>xr(nt,Le,Qe)),Be=new Map;ar(Be,this.driver,Cn,Qe,T.l3).forEach(nt=>{xr(nt,Le,Qe)&&ie.push(nt)});const yt=new Map;Gt.forEach((nt,mt)=>{ar(yt,this.driver,new Set(nt),Le,T.k1)}),ie.forEach(nt=>{const mt=Be.get(nt),ft=yt.get(nt);Be.set(nt,new Map([...Array.from(mt?.entries()??[]),...Array.from(ft?.entries()??[])]))});const Yt=[],Jt=[],rn={};ae.forEach(nt=>{const{element:mt,player:ft,instruction:Lt}=nt;if(D.has(mt)){if(pt.has(mt))return ft.onDestroy(()=>on(mt,Lt.toStyles)),ft.disabled=!0,ft.overrideTotalTime(Lt.totalTime),void M.push(ft);let pn=rn;if(S.size>1){let Sn=mt;const hn=[];for(;Sn=Sn.parentNode;){const un=S.get(Sn);if(un){pn=un;break}hn.push(Sn)}hn.forEach(un=>S.set(un,pn))}const vn=this._buildAnimation(ft.namespaceId,Lt,m,x,yt,Be);if(ft.setRealPlayer(vn),pn===rn)Yt.push(ft);else{const Sn=this.playersByElement.get(pn);Sn&&Sn.length&&(ft.parentPlayer=Ze(Sn)),M.push(ft)}}else an(mt,Lt.fromStyles),ft.onDestroy(()=>on(mt,Lt.toStyles)),Jt.push(ft),pt.has(mt)&&M.push(ft)}),Jt.forEach(nt=>{const mt=x.get(nt.element);if(mt&&mt.length){const ft=Ze(mt);nt.setRealPlayer(ft)}}),M.forEach(nt=>{nt.parentPlayer?nt.syncPlayerEvents(nt.parentPlayer):nt.destroy()});for(let nt=0;nt<cn.length;nt++){const mt=cn[nt],ft=mt[Yn];if(Er(mt,me),ft&&ft.hasAnimation)continue;let Lt=[];if(le.size){let vn=le.get(mt);vn&&vn.length&&Lt.push(...vn);let Sn=this.driver.query(mt,q,!0);for(let hn=0;hn<Sn.length;hn++){let un=le.get(Sn[hn]);un&&un.length&&Lt.push(...un)}}const pn=Lt.filter(vn=>!vn.destroyed);pn.length?Vi(this,mt,pn):this.processLeaveNode(mt)}return cn.length=0,Yt.forEach(nt=>{this.players.push(nt),nt.onDone(()=>{nt.destroy();const mt=this.players.indexOf(nt);this.players.splice(mt,1)}),nt.play()}),Yt}elementContainsData(a,c){let D=!1;const M=c[Yn];return M&&M.setForRemoval&&(D=!0),this.playersByElement.has(c)&&(D=!0),this.playersByQueriedElement.has(c)&&(D=!0),this.statesByElement.has(c)&&(D=!0),this._fetchNamespace(a).elementContainsData(c)||D}afterFlush(a){this._flushFns.push(a)}afterFlushAnimationsDone(a){this._whenQuietFns.push(a)}_getPreviousPlayers(a,c,D,M,x){let ae=[];if(c){const le=this.playersByQueriedElement.get(a);le&&(ae=le)}else{const le=this.playersByElement.get(a);if(le){const Le=!x||x==Dr;le.forEach(Qe=>{Qe.queued||!Le&&Qe.triggerName!=M||ae.push(Qe)})}}return(D||M)&&(ae=ae.filter(le=>!(D&&D!=le.namespaceId||M&&M!=le.triggerName))),ae}_beforeAnimationBuild(a,c,D){const x=c.element,ae=c.isRemovalTransition?void 0:a,le=c.isRemovalTransition?void 0:c.triggerName;for(const Le of c.timelines){const Qe=Le.element,pt=Qe!==x,_t=wt(D,Qe,[]);this._getPreviousPlayers(Qe,pt,ae,le,c.toState).forEach(Gt=>{const St=Gt.getRealPlayer();St.beforeDestroy&&St.beforeDestroy(),Gt.destroy(),_t.push(Gt)})}an(x,c.fromStyles)}_buildAnimation(a,c,D,M,x,ae){const le=c.triggerName,Le=c.element,Qe=[],pt=new Set,_t=new Set,Xt=c.timelines.map(St=>{const xt=St.element;pt.add(xt);const cn=xt[Yn];if(cn&&cn.removedBeforeQueried)return new T.ZN(St.duration,St.delay);const dn=xt!==Le,Cn=function qs(w){const a=[];return fs(w,a),a}((D.get(xt)||Qs).map(m=>m.getRealPlayer())).filter(m=>!!m.element&&m.element===xt),Pn=x.get(xt),Rn=ae.get(xt),p=Ct(0,this._normalizer,0,St.keyframes,Pn,Rn),b=this._buildPlayer(St,p,Cn);if(St.subTimeline&&M&&_t.add(xt),dn){const m=new Rr(a,le,xt);m.setRealPlayer(b),Qe.push(m)}return b});Qe.forEach(St=>{wt(this.playersByQueriedElement,St.element,[]).push(St),St.onDone(()=>function Nn(w,a,c){let D=w.get(a);if(D){if(D.length){const M=D.indexOf(c);D.splice(M,1)}0==D.length&&w.delete(a)}return D}(this.playersByQueriedElement,St.element,St))}),pt.forEach(St=>bt(St,oe));const Gt=Ze(Xt);return Gt.onDestroy(()=>{pt.forEach(St=>Er(St,oe)),on(Le,c.toStyles)}),_t.forEach(St=>{wt(M,St,[]).push(Gt)}),Gt}_buildPlayer(a,c,D){return c.length>0?this.driver.animate(a.element,c,a.duration,a.delay,a.easing,D):new T.ZN(a.duration,a.delay)}}class Rr{constructor(a,c,D){this.namespaceId=a,this.triggerName=c,this.element=D,this._player=new T.ZN,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(a){this._containsRealPlayer||(this._player=a,this._queuedCallbacks.forEach((c,D)=>{c.forEach(M=>Pt(a,D,void 0,M))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(a.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(a){this.totalTime=a}syncPlayerEvents(a){const c=this._player;c.triggerCallback&&a.onStart(()=>c.triggerCallback("start")),a.onDone(()=>this.finish()),a.onDestroy(()=>this.destroy())}_queueEvent(a,c){wt(this._queuedCallbacks,a,[]).push(c)}onDone(a){this.queued&&this._queueEvent("done",a),this._player.onDone(a)}onStart(a){this.queued&&this._queueEvent("start",a),this._player.onStart(a)}onDestroy(a){this.queued&&this._queueEvent("destroy",a),this._player.onDestroy(a)}init(){this._player.init()}hasStarted(){return!this.queued&&this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(a){this.queued||this._player.setPosition(a)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(a){const c=this._player;c.triggerCallback&&c.triggerCallback(a)}}function fr(w){return w&&1===w.nodeType}function or(w,a){const c=w.style.display;return w.style.display=a??"none",c}function ar(w,a,c,D,M){const x=[];c.forEach(Le=>x.push(or(Le)));const ae=[];D.forEach((Le,Qe)=>{const pt=new Map;Le.forEach(_t=>{const Xt=a.computeStyle(Qe,_t,M);pt.set(_t,Xt),(!Xt||0==Xt.length)&&(Qe[Yn]=bn,ae.push(Qe))}),w.set(Qe,pt)});let le=0;return c.forEach(Le=>or(Le,x[le++])),ae}function Ei(w,a){const c=new Map;if(w.forEach(le=>c.set(le,[])),0==a.length)return c;const M=new Set(a),x=new Map;function ae(le){if(!le)return 1;let Le=x.get(le);if(Le)return Le;const Qe=le.parentNode;return Le=c.has(Qe)?Qe:M.has(Qe)?1:ae(Qe),x.set(le,Le),Le}return a.forEach(le=>{const Le=ae(le);1!==Le&&c.get(Le).push(le)}),c}function bt(w,a){w.classList?.add(a)}function Er(w,a){w.classList?.remove(a)}function Vi(w,a,c){Ze(c).onDone(()=>w.processLeaveNode(a))}function fs(w,a){for(let c=0;c<w.length;c++){const D=w[c];D instanceof T.ZE?fs(D.players,a):a.push(D)}}function xr(w,a,c){const D=c.get(w);if(!D)return!1;let M=a.get(w);return M?D.forEach(x=>M.add(x)):a.set(w,D),c.delete(w),!0}class Ci{constructor(a,c,D){this.bodyNode=a,this._driver=c,this._normalizer=D,this._triggerCache={},this.onRemovalComplete=(M,x)=>{},this._transitionEngine=new ii(a,c,D),this._timelineEngine=new ds(a,c,D),this._transitionEngine.onRemovalComplete=(M,x)=>this.onRemovalComplete(M,x)}registerTrigger(a,c,D,M,x){const ae=a+"-"+M;let le=this._triggerCache[ae];if(!le){const Le=[],pt=rr(this._driver,x,Le,[]);if(Le.length)throw function it(w,a){return new v.vHH(3404,!1)}();le=function $r(w,a,c){return new Bi(w,a,c)}(M,pt,this._normalizer),this._triggerCache[ae]=le}this._transitionEngine.registerTrigger(c,M,le)}register(a,c){this._transitionEngine.register(a,c)}destroy(a,c){this._transitionEngine.destroy(a,c)}onInsert(a,c,D,M){this._transitionEngine.insertNode(a,c,D,M)}onRemove(a,c,D,M){this._transitionEngine.removeNode(a,c,M||!1,D)}disableAnimations(a,c){this._transitionEngine.markElementAsDisabled(a,c)}process(a,c,D,M){if("@"==D.charAt(0)){const[x,ae]=en(D);this._timelineEngine.command(x,c,ae,M)}else this._transitionEngine.trigger(a,c,D,M)}listen(a,c,D,M,x){if("@"==D.charAt(0)){const[ae,le]=en(D);return this._timelineEngine.listen(ae,c,le,x)}return this._transitionEngine.listen(a,c,D,M,x)}flush(a=-1){this._transitionEngine.flush(a)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}let et=(()=>{class w{constructor(c,D,M){this._element=c,this._startStyles=D,this._endStyles=M,this._state=0;let x=w.initialStylesByElement.get(c);x||w.initialStylesByElement.set(c,x=new Map),this._initialStyles=x}start(){this._state<1&&(this._startStyles&&on(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(on(this._element,this._initialStyles),this._endStyles&&(on(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(w.initialStylesByElement.delete(this._element),this._startStyles&&(an(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(an(this._element,this._endStyles),this._endStyles=null),on(this._element,this._initialStyles),this._state=3)}}return w.initialStylesByElement=new WeakMap,w})();function Wt(w){let a=null;return w.forEach((c,D)=>{(function ps(w){return"display"===w||"position"===w})(D)&&(a=a||new Map,a.set(D,c))}),a}class ji{constructor(a,c,D,M){this.element=a,this.keyframes=c,this.options=D,this._specialStyles=M,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=D.duration,this._delay=D.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(a=>a()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const a=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,a,this.options),this._finalKeyframe=a.length?a[a.length-1]:new Map,this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(a){const c=[];return a.forEach(D=>{c.push(Object.fromEntries(D))}),c}_triggerWebAnimation(a,c,D){return a.animate(this._convertKeyframesToObject(c),D)}onStart(a){this._originalOnStartFns.push(a),this._onStartFns.push(a)}onDone(a){this._originalOnDoneFns.push(a),this._onDoneFns.push(a)}onDestroy(a){this._onDestroyFns.push(a)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(a=>a()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(a=>a()),this._onDestroyFns=[])}setPosition(a){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=a*this.time}getPosition(){return this.domPlayer.currentTime/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const a=new Map;this.hasStarted()&&this._finalKeyframe.forEach((D,M)=>{"offset"!==M&&a.set(M,this._finished?D:Vn(this.element,M))}),this.currentSnapshot=a}triggerCallback(a){const c="start"===a?this._onStartFns:this._onDoneFns;c.forEach(D=>D()),c.length=0}}class In{validateStyleProperty(a){return!0}validateAnimatableStyleProperty(a){return!0}matchesElement(a,c){return!1}containsElement(a,c){return F(a,c)}getParentElement(a){return st(a)}query(a,c,D){return k(a,c,D)}computeStyle(a,c,D){return window.getComputedStyle(a)[c]}animate(a,c,D,M,x,ae=[]){const Le={duration:D,delay:M,fill:0==M?"both":"forwards"};x&&(Le.easing=x);const Qe=new Map,pt=ae.filter(Gt=>Gt instanceof ji);(function Ht(w,a){return 0===w||0===a})(D,M)&&pt.forEach(Gt=>{Gt.currentSnapshot.forEach((St,xt)=>Qe.set(xt,St))});let _t=function ot(w){return w.length?w[0]instanceof Map?w:w.map(a=>Fe(a)):[]}(c).map(Gt=>Vt(Gt));_t=function zt(w,a,c){if(c.size&&a.length){let D=a[0],M=[];if(c.forEach((x,ae)=>{D.has(ae)||M.push(ae),D.set(ae,x)}),M.length)for(let x=1;x<a.length;x++){let ae=a[x];M.forEach(le=>ae.set(le,Vn(w,le)))}}return a}(a,_t,Qe);const Xt=function eo(w,a){let c=null,D=null;return Array.isArray(a)&&a.length?(c=Wt(a[0]),a.length>1&&(D=Wt(a[a.length-1]))):a instanceof Map&&(c=Wt(a)),c||D?new et(w,c,D):null}(a,_t);return new ji(a,_t,Le,Xt)}}var Kr=_(36895);let si=(()=>{class w extends T._j{constructor(c,D){super(),this._nextAnimationId=0,this._renderer=c.createRenderer(D.body,{id:"0",encapsulation:v.ifc.None,styles:[],data:{animation:[]}})}build(c){const D=this._nextAnimationId.toString();this._nextAnimationId++;const M=Array.isArray(c)?(0,T.vP)(c):c;return Hi(this._renderer,null,D,"register",[M]),new lr(D,this._renderer)}}return w.\u0275fac=function(c){return new(c||w)(v.LFG(v.FYo),v.LFG(Kr.K0))},w.\u0275prov=v.Yz7({token:w,factory:w.\u0275fac}),w})();class lr extends T.LC{constructor(a,c){super(),this._id=a,this._renderer=c}create(a,c){return new gs(this._id,a,c||{},this._renderer)}}class gs{constructor(a,c,D,M){this.id=a,this.element=c,this._renderer=M,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",D)}_listen(a,c){return this._renderer.listen(this.element,`@@${this.id}:${a}`,c)}_command(a,...c){return Hi(this._renderer,this.element,this.id,a,c)}onDone(a){this._listen("done",a)}onStart(a){this._listen("start",a)}onDestroy(a){this._listen("destroy",a)}init(){this._command("init")}hasStarted(){return this._started}play(){this._command("play"),this._started=!0}pause(){this._command("pause")}restart(){this._command("restart")}finish(){this._command("finish")}destroy(){this._command("destroy")}reset(){this._command("reset"),this._started=!1}setPosition(a){this._command("setPosition",a)}getPosition(){return this._renderer.engine.players[+this.id]?.getPosition()??0}}function Hi(w,a,c,D,M){return w.setProperty(a,`@@${c}:${D}`,M)}const fn="@.disabled";let bi=(()=>{class w{constructor(c,D,M){this.delegate=c,this.engine=D,this._zone=M,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),D.onRemovalComplete=(x,ae)=>{const le=ae?.parentNode(x);le&&ae.removeChild(le,x)}}createRenderer(c,D){const x=this.delegate.createRenderer(c,D);if(!(c&&D&&D.data&&D.data.animation)){let pt=this._rendererCache.get(x);return pt||(pt=new ms("",x,this.engine,()=>this._rendererCache.delete(x)),this._rendererCache.set(x,pt)),pt}const ae=D.id,le=D.id+"-"+this._currentId;this._currentId++,this.engine.register(le,c);const Le=pt=>{Array.isArray(pt)?pt.forEach(Le):this.engine.registerTrigger(ae,le,c,pt.name,pt)};return D.data.animation.forEach(Le),new $n(this,le,x,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then(()=>{this._microtaskId++})}scheduleListenerCallback(c,D,M){c>=0&&c<this._microtaskId?this._zone.run(()=>D(M)):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(x=>{const[ae,le]=x;ae(le)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([D,M]))}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 w.\u0275fac=function(c){return new(c||w)(v.LFG(v.FYo),v.LFG(Ci),v.LFG(v.R0b))},w.\u0275prov=v.Yz7({token:w,factory:w.\u0275fac}),w})();class ms{constructor(a,c,D,M){this.namespaceId=a,this.delegate=c,this.engine=D,this._onDestroy=M,this.destroyNode=this.delegate.destroyNode?x=>c.destroyNode(x):null}get data(){return this.delegate.data}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy(),this._onDestroy?.()}createElement(a,c){return this.delegate.createElement(a,c)}createComment(a){return this.delegate.createComment(a)}createText(a){return this.delegate.createText(a)}appendChild(a,c){this.delegate.appendChild(a,c),this.engine.onInsert(this.namespaceId,c,a,!1)}insertBefore(a,c,D,M=!0){this.delegate.insertBefore(a,c,D),this.engine.onInsert(this.namespaceId,c,a,M)}removeChild(a,c,D){this.engine.onRemove(this.namespaceId,c,this.delegate,D)}selectRootElement(a,c){return this.delegate.selectRootElement(a,c)}parentNode(a){return this.delegate.parentNode(a)}nextSibling(a){return this.delegate.nextSibling(a)}setAttribute(a,c,D,M){this.delegate.setAttribute(a,c,D,M)}removeAttribute(a,c,D){this.delegate.removeAttribute(a,c,D)}addClass(a,c){this.delegate.addClass(a,c)}removeClass(a,c){this.delegate.removeClass(a,c)}setStyle(a,c,D,M){this.delegate.setStyle(a,c,D,M)}removeStyle(a,c,D){this.delegate.removeStyle(a,c,D)}setProperty(a,c,D){"@"==c.charAt(0)&&c==fn?this.disableAnimations(a,!!D):this.delegate.setProperty(a,c,D)}setValue(a,c){this.delegate.setValue(a,c)}listen(a,c,D){return this.delegate.listen(a,c,D)}disableAnimations(a,c){this.engine.disableAnimations(a,c)}}class $n extends ms{constructor(a,c,D,M,x){super(c,D,M,x),this.factory=a,this.namespaceId=c}setProperty(a,c,D){"@"==c.charAt(0)?"."==c.charAt(1)&&c==fn?this.disableAnimations(a,D=void 0===D||!!D):this.engine.process(this.namespaceId,a,c.slice(1),D):this.delegate.setProperty(a,c,D)}listen(a,c,D){if("@"==c.charAt(0)){const M=function Cr(w){switch(w){case"body":return document.body;case"document":return document;case"window":return window;default:return w}}(a);let x=c.slice(1),ae="";return"@"!=x.charAt(0)&&([x,ae]=function Is(w){const a=w.indexOf(".");return[w.substring(0,a),w.slice(a+1)]}(x)),this.engine.listen(this.namespaceId,M,x,ae,le=>{this.factory.scheduleListenerCallback(le._data||-1,D,le)})}return this.delegate.listen(a,c,D)}}const _s=[{provide:T._j,useClass:si},{provide:ls,useFactory:function pr(){return new cs}},{provide:Ci,useClass:(()=>{class w extends Ci{constructor(c,D,M,x){super(c.body,D,M)}ngOnDestroy(){this.flush()}}return w.\u0275fac=function(c){return new(c||w)(v.LFG(Kr.K0),v.LFG(je),v.LFG(ls),v.LFG(v.z2F))},w.\u0275prov=v.Yz7({token:w,factory:w.\u0275fac}),w})()},{provide:v.FYo,useFactory:function to(w,a,c){return new bi(w,a,c)},deps:[f.se,Ci,v.R0b]}],ys=[{provide:je,useFactory:()=>new In},{provide:v.QbO,useValue:"BrowserAnimations"},..._s],wi=[{provide:je,useClass:Pe},{provide:v.QbO,useValue:"NoopAnimations"},..._s];let $i=(()=>{class w{static withConfig(c){return{ngModule:w,providers:c.disableAnimations?wi:ys}}}return w.\u0275fac=function(c){return new(c||w)},w.\u0275mod=v.oAB({type:w}),w.\u0275inj=v.cJS({providers:ys,imports:[f.b2]}),w})();var li=_(19132);let Os=(()=>{class w{}return w.\u0275fac=function(c){return new(c||w)},w.\u0275cmp=v.Xpm({type:w,selectors:[["app"]],decls:2,vars:0,consts:[[1,"application"]],template:function(c,D){1&c&&(v.TgZ(0,"div",0),v._UZ(1,"router-outlet"),v.qZA())},dependencies:[li.lC],styles:[".application[_ngcontent-%COMP%]{display:flex;flex-direction:column;height:100%}"]}),w})();var ci=_(80529),zi=_(65938);const Ps=[{path:"landing",loadChildren:()=>Promise.all([_.e(142),_.e(278),_.e(24),_.e(614)]).then(_.bind(_,9614)).then(w=>w.LandingModule)},{path:"home",loadChildren:()=>Promise.all([_.e(142),_.e(278),_.e(24),_.e(195),_.e(392)]).then(_.bind(_,62392)).then(w=>w.HomeModule)},{path:"about",loadChildren:()=>Promise.all([_.e(142),_.e(556)]).then(_.bind(_,31556)).then(w=>w.AboutModule)},{path:"profile",loadChildren:()=>Promise.all([_.e(142),_.e(278),_.e(195),_.e(943)]).then(_.bind(_,10943)).then(w=>w.ProfileModule)},{path:"swagger",loadChildren:()=>Promise.all([_.e(142),_.e(530)]).then(_.bind(_,52530)).then(w=>w.SwaggerModule)},{path:"",redirectTo:"landing",pathMatch:"full"},{path:"**",redirectTo:"landing"}];let Ti=(()=>{class w{}return w.\u0275fac=function(c){return new(c||w)},w.\u0275mod=v.oAB({type:w}),w.\u0275inj=v.cJS({imports:[li.Bz.forRoot(Ps),li.Bz]}),w})();var Wi=_(38159),Gr=_(96213),Ki=_(15497);let Gi=(()=>{class w{ngDoBootstrap(c){}}return w.\u0275fac=function(c){return new(c||w)},w.\u0275mod=v.oAB({type:w,bootstrap:[Os]}),w.\u0275inj=v.cJS({providers:[Wi.n,Gr.N,{provide:Kr.S$,useClass:Kr.Do},{provide:ci.TP,useClass:Gr.N,multi:!0}],imports:[Ti,Kr.ez,f.b2,$i,ci.JF,zi.Is,Ki.vs]}),w})();(0,v.G48)(),f.q6().bootstrapModule(Gi).catch(w=>console.error(w))},61135:(rt,_e,_)=>{_.d(_e,{X:()=>v});var f=_(77579);class v extends f.x{constructor(R){super(),this._value=R}get value(){return this.getValue()}_subscribe(R){const B=super._subscribe(R);return!B.closed&&R.next(this._value),B}getValue(){const{hasError:R,thrownError:B,_value:V}=this;if(R)throw B;return this._throwIfClosed(),V}next(R){super.next(this._value=R)}}},69751:(rt,_e,_)=>{_.d(_e,{y:()=>Q});var f=_(70930),v=_(50727),T=_(48822),R=_(89635),B=_(42416),V=_(30576),se=_(72806);let Q=(()=>{class H{constructor(Ie){Ie&&(this._subscribe=Ie)}lift(Ie){const he=new H;return he.source=this,he.operator=Ie,he}subscribe(Ie,he,Ee){const ye=function z(H){return H&&H instanceof f.Lv||function $(H){return H&&(0,V.m)(H.next)&&(0,V.m)(H.error)&&(0,V.m)(H.complete)}(H)&&(0,v.Nn)(H)}(Ie)?Ie:new f.Hp(Ie,he,Ee);return(0,se.x)(()=>{const{operator:Ue,source:ht}=this;ye.add(Ue?Ue.call(ye,ht):ht?this._subscribe(ye):this._trySubscribe(ye))}),ye}_trySubscribe(Ie){try{return this._subscribe(Ie)}catch(he){Ie.error(he)}}forEach(Ie,he){return new(he=Y(he))((Ee,ye)=>{const Ue=new f.Hp({next:ht=>{try{Ie(ht)}catch(ut){ye(ut),Ue.unsubscribe()}},error:ye,complete:Ee});this.subscribe(Ue)})}_subscribe(Ie){var he;return null===(he=this.source)||void 0===he?void 0:he.subscribe(Ie)}[T.L](){return this}pipe(...Ie){return(0,R.U)(Ie)(this)}toPromise(Ie){return new(Ie=Y(Ie))((he,Ee)=>{let ye;this.subscribe(Ue=>ye=Ue,Ue=>Ee(Ue),()=>he(ye))})}}return H.create=Se=>new H(Se),H})();function Y(H){var Se;return null!==(Se=H??B.v.Promise)&&void 0!==Se?Se:Promise}},77579:(rt,_e,_)=>{_.d(_e,{x:()=>se});var f=_(69751),v=_(50727);const R=(0,_(83888).d)(Y=>function(){Y(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var B=_(38737),V=_(72806);let se=(()=>{class Y extends f.y{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(z){const H=new Q(this,this);return H.operator=z,H}_throwIfClosed(){if(this.closed)throw new R}next(z){(0,V.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const H of this.currentObservers)H.next(z)}})}error(z){(0,V.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=z;const{observers:H}=this;for(;H.length;)H.shift().error(z)}})}complete(){(0,V.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:z}=this;for(;z.length;)z.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var z;return(null===(z=this.observers)||void 0===z?void 0:z.length)>0}_trySubscribe(z){return this._throwIfClosed(),super._trySubscribe(z)}_subscribe(z){return this._throwIfClosed(),this._checkFinalizedStatuses(z),this._innerSubscribe(z)}_innerSubscribe(z){const{hasError:H,isStopped:Se,observers:Ie}=this;return H||Se?v.Lc:(this.currentObservers=null,Ie.push(z),new v.w0(()=>{this.currentObservers=null,(0,B.P)(Ie,z)}))}_checkFinalizedStatuses(z){const{hasError:H,thrownError:Se,isStopped:Ie}=this;H?z.error(Se):Ie&&z.complete()}asObservable(){const z=new f.y;return z.source=this,z}}return Y.create=($,z)=>new Q($,z),Y})();class Q extends se{constructor($,z){super(),this.destination=$,this.source=z}next($){var z,H;null===(H=null===(z=this.destination)||void 0===z?void 0:z.next)||void 0===H||H.call(z,$)}error($){var z,H;null===(H=null===(z=this.destination)||void 0===z?void 0:z.error)||void 0===H||H.call(z,$)}complete(){var $,z;null===(z=null===($=this.destination)||void 0===$?void 0:$.complete)||void 0===z||z.call($)}_subscribe($){var z,H;return null!==(H=null===(z=this.source)||void 0===z?void 0:z.subscribe($))&&void 0!==H?H:v.Lc}}},70930:(rt,_e,_)=>{_.d(_e,{Hp:()=>Ee,Lv:()=>H});var f=_(30576),v=_(50727),T=_(42416),R=_(87849),B=_(25032);const V=Y("C",void 0,void 0);function Y(Oe,K,ve){return{kind:Oe,value:K,error:ve}}var $=_(43410),z=_(72806);class H extends v.w0{constructor(K){super(),this.isStopped=!1,K?(this.destination=K,(0,v.Nn)(K)&&K.add(this)):this.destination=ut}static create(K,ve,ce){return new Ee(K,ve,ce)}next(K){this.isStopped?ht(function Q(Oe){return Y("N",Oe,void 0)}(K),this):this._next(K)}error(K){this.isStopped?ht(function se(Oe){return Y("E",void 0,Oe)}(K),this):(this.isStopped=!0,this._error(K))}complete(){this.isStopped?ht(V,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(K){this.destination.next(K)}_error(K){try{this.destination.error(K)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const Se=Function.prototype.bind;function Ie(Oe,K){return Se.call(Oe,K)}class he{constructor(K){this.partialObserver=K}next(K){const{partialObserver:ve}=this;if(ve.next)try{ve.next(K)}catch(ce){ye(ce)}}error(K){const{partialObserver:ve}=this;if(ve.error)try{ve.error(K)}catch(ce){ye(ce)}else ye(K)}complete(){const{partialObserver:K}=this;if(K.complete)try{K.complete()}catch(ve){ye(ve)}}}class Ee extends H{constructor(K,ve,ce){let Te;if(super(),(0,f.m)(K)||!K)Te={next:K??void 0,error:ve??void 0,complete:ce??void 0};else{let Ge;this&&T.v.useDeprecatedNextContext?(Ge=Object.create(K),Ge.unsubscribe=()=>this.unsubscribe(),Te={next:K.next&&Ie(K.next,Ge),error:K.error&&Ie(K.error,Ge),complete:K.complete&&Ie(K.complete,Ge)}):Te=K}this.destination=new he(Te)}}function ye(Oe){T.v.useDeprecatedSynchronousErrorHandling?(0,z.O)(Oe):(0,R.h)(Oe)}function ht(Oe,K){const{onStoppedNotification:ve}=T.v;ve&&$.z.setTimeout(()=>ve(Oe,K))}const ut={closed:!0,next:B.Z,error:function Ue(Oe){throw Oe},complete:B.Z}},50727:(rt,_e,_)=>{_.d(_e,{Lc:()=>V,w0:()=>B,Nn:()=>se});var f=_(30576);const T=(0,_(83888).d)(Y=>function(z){Y(this),this.message=z?`${z.length} errors occurred during unsubscription:\n${z.map((H,Se)=>`${Se+1}) ${H.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=z});var R=_(38737);class B{constructor($){this.initialTeardown=$,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let $;if(!this.closed){this.closed=!0;const{_parentage:z}=this;if(z)if(this._parentage=null,Array.isArray(z))for(const Ie of z)Ie.remove(this);else z.remove(this);const{initialTeardown:H}=this;if((0,f.m)(H))try{H()}catch(Ie){$=Ie instanceof T?Ie.errors:[Ie]}const{_finalizers:Se}=this;if(Se){this._finalizers=null;for(const Ie of Se)try{Q(Ie)}catch(he){$=$??[],he instanceof T?$=[...$,...he.errors]:$.push(he)}}if($)throw new T($)}}add($){var z;if($&&$!==this)if(this.closed)Q($);else{if($ instanceof B){if($.closed||$._hasParent(this))return;$._addParent(this)}(this._finalizers=null!==(z=this._finalizers)&&void 0!==z?z:[]).push($)}}_hasParent($){const{_parentage:z}=this;return z===$||Array.isArray(z)&&z.includes($)}_addParent($){const{_parentage:z}=this;this._parentage=Array.isArray(z)?(z.push($),z):z?[z,$]:$}_removeParent($){const{_parentage:z}=this;z===$?this._parentage=null:Array.isArray(z)&&(0,R.P)(z,$)}remove($){const{_finalizers:z}=this;z&&(0,R.P)(z,$),$ instanceof B&&$._removeParent(this)}}B.EMPTY=(()=>{const Y=new B;return Y.closed=!0,Y})();const V=B.EMPTY;function se(Y){return Y instanceof B||Y&&"closed"in Y&&(0,f.m)(Y.remove)&&(0,f.m)(Y.add)&&(0,f.m)(Y.unsubscribe)}function Q(Y){(0,f.m)(Y)?Y():Y.unsubscribe()}},42416:(rt,_e,_)=>{_.d(_e,{v:()=>f});const f={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},94033:(rt,_e,_)=>{_.d(_e,{c:()=>V});var f=_(69751),v=_(50727),T=_(38343),R=_(25403),B=_(54482);class V extends f.y{constructor(Q,Y){super(),this.source=Q,this.subjectFactory=Y,this._subject=null,this._refCount=0,this._connection=null,(0,B.A)(Q)&&(this.lift=Q.lift)}_subscribe(Q){return this.getSubject().subscribe(Q)}getSubject(){const Q=this._subject;return(!Q||Q.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:Q}=this;this._subject=this._connection=null,Q?.unsubscribe()}connect(){let Q=this._connection;if(!Q){Q=this._connection=new v.w0;const Y=this.getSubject();Q.add(this.source.subscribe((0,R.x)(Y,void 0,()=>{this._teardown(),Y.complete()},$=>{this._teardown(),Y.error($)},()=>this._teardown()))),Q.closed&&(this._connection=null,Q=v.w0.EMPTY)}return Q}refCount(){return(0,T.x)()(this)}}},39841:(rt,_e,_)=>{_.d(_e,{a:()=>$});var f=_(69751),v=_(54742),T=_(80188),R=_(44671),B=_(83268),V=_(63269),se=_(31810),Q=_(25403),Y=_(39672);function $(...Se){const Ie=(0,V.yG)(Se),he=(0,V.jO)(Se),{args:Ee,keys:ye}=(0,v.D)(Se);if(0===Ee.length)return(0,T.D)([],Ie);const Ue=new f.y(function z(Se,Ie,he=R.y){return Ee=>{H(Ie,()=>{const{length:ye}=Se,Ue=new Array(ye);let ht=ye,ut=ye;for(let Oe=0;Oe<ye;Oe++)H(Ie,()=>{const K=(0,T.D)(Se[Oe],Ie);let ve=!1;K.subscribe((0,Q.x)(Ee,ce=>{Ue[Oe]=ce,ve||(ve=!0,ut--),ut||Ee.next(he(Ue.slice()))},()=>{--ht||Ee.complete()}))},Ee)},Ee)}}(Ee,Ie,ye?ht=>(0,se.n)(ye,ht):R.y));return he?Ue.pipe((0,B.Z)(he)):Ue}function H(Se,Ie,he){Se?(0,Y.f)(he,Se,Ie):Ie()}},97272:(rt,_e,_)=>{_.d(_e,{z:()=>B});var f=_(8189),T=_(63269),R=_(80188);function B(...V){return function v(){return(0,f.J)(1)}()((0,R.D)(V,(0,T.yG)(V)))}},49770:(rt,_e,_)=>{_.d(_e,{P:()=>T});var f=_(69751),v=_(38421);function T(R){return new f.y(B=>{(0,v.Xf)(R()).subscribe(B)})}},60515:(rt,_e,_)=>{_.d(_e,{E:()=>v});const v=new(_(69751).y)(B=>B.complete())},80188:(rt,_e,_)=>{_.d(_e,{D:()=>T});var f=_(19975),v=_(38421);function T(R,B){return B?(0,f.x)(R,B):(0,v.Xf)(R)}},54968:(rt,_e,_)=>{_.d(_e,{R:()=>$});var f=_(38421),v=_(69751),T=_(95577),R=_(81144),B=_(30576),V=_(83268);const se=["addListener","removeListener"],Q=["addEventListener","removeEventListener"],Y=["on","off"];function $(he,Ee,ye,Ue){if((0,B.m)(ye)&&(Ue=ye,ye=void 0),Ue)return $(he,Ee,ye).pipe((0,V.Z)(Ue));const[ht,ut]=function Ie(he){return(0,B.m)(he.addEventListener)&&(0,B.m)(he.removeEventListener)}(he)?Q.map(Oe=>K=>he[Oe](Ee,K,ye)):function H(he){return(0,B.m)(he.addListener)&&(0,B.m)(he.removeListener)}(he)?se.map(z(he,Ee)):function Se(he){return(0,B.m)(he.on)&&(0,B.m)(he.off)}(he)?Y.map(z(he,Ee)):[];if(!ht&&(0,R.z)(he))return(0,T.z)(Oe=>$(Oe,Ee,ye))((0,f.Xf)(he));if(!ht)throw new TypeError("Invalid event target");return new v.y(Oe=>{const K=(...ve)=>Oe.next(1<ve.length?ve:ve[0]);return ht(K),()=>ut(K)})}function z(he,Ee){return ye=>Ue=>he[ye](Ee,Ue)}},38421:(rt,_e,_)=>{_.d(_e,{Xf:()=>Se});var f=_(97582),v=_(81144),T=_(28239),R=_(69751),B=_(93670),V=_(12206),se=_(44532),Q=_(26495),Y=_(53260),$=_(30576),z=_(87849),H=_(48822);function Se(Oe){if(Oe instanceof R.y)return Oe;if(null!=Oe){if((0,B.c)(Oe))return function Ie(Oe){return new R.y(K=>{const ve=Oe[H.L]();if((0,$.m)(ve.subscribe))return ve.subscribe(K);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(Oe);if((0,v.z)(Oe))return function he(Oe){return new R.y(K=>{for(let ve=0;ve<Oe.length&&!K.closed;ve++)K.next(Oe[ve]);K.complete()})}(Oe);if((0,T.t)(Oe))return function Ee(Oe){return new R.y(K=>{Oe.then(ve=>{K.closed||(K.next(ve),K.complete())},ve=>K.error(ve)).then(null,z.h)})}(Oe);if((0,V.D)(Oe))return Ue(Oe);if((0,Q.T)(Oe))return function ye(Oe){return new R.y(K=>{for(const ve of Oe)if(K.next(ve),K.closed)return;K.complete()})}(Oe);if((0,Y.L)(Oe))return function ht(Oe){return Ue((0,Y.Q)(Oe))}(Oe)}throw(0,se.z)(Oe)}function Ue(Oe){return new R.y(K=>{(function ut(Oe,K){var ve,ce,Te,Ge;return(0,f.mG)(this,void 0,void 0,function*(){try{for(ve=(0,f.KL)(Oe);!(ce=yield ve.next()).done;)if(K.next(ce.value),K.closed)return}catch(xe){Te={error:xe}}finally{try{ce&&!ce.done&&(Ge=ve.return)&&(yield Ge.call(ve))}finally{if(Te)throw Te.error}}K.complete()})})(Oe,K).catch(ve=>K.error(ve))})}},56451:(rt,_e,_)=>{_.d(_e,{T:()=>V});var f=_(8189),v=_(38421),T=_(60515),R=_(63269),B=_(80188);function V(...se){const Q=(0,R.yG)(se),Y=(0,R._6)(se,1/0),$=se;return $.length?1===$.length?(0,v.Xf)($[0]):(0,f.J)(Y)((0,B.D)($,Q)):T.E}},39646:(rt,_e,_)=>{_.d(_e,{of:()=>T});var f=_(63269),v=_(80188);function T(...R){const B=(0,f.yG)(R);return(0,v.D)(R,B)}},62843:(rt,_e,_)=>{_.d(_e,{_:()=>T});var f=_(69751),v=_(30576);function T(R,B){const V=(0,v.m)(R)?R:()=>R,se=Q=>Q.error(V());return new f.y(B?Q=>B.schedule(se,0,Q):se)}},5963:(rt,_e,_)=>{_.d(_e,{H:()=>B});var f=_(69751),v=_(34986),T=_(93532);function B(V=0,se,Q=v.P){let Y=-1;return null!=se&&((0,T.K)(se)?Q=se:Y=se),new f.y($=>{let z=function R(V){return V instanceof Date&&!isNaN(V)}(V)?+V-Q.now():V;z<0&&(z=0);let H=0;return Q.schedule(function(){$.closed||($.next(H++),0<=Y?this.schedule(void 0,Y):$.complete())},z)})}},25403:(rt,_e,_)=>{_.d(_e,{x:()=>v});var f=_(70930);function v(R,B,V,se,Q){return new T(R,B,V,se,Q)}class T extends f.Lv{constructor(B,V,se,Q,Y,$){super(B),this.onFinalize=Y,this.shouldUnsubscribe=$,this._next=V?function(z){try{V(z)}catch(H){B.error(H)}}:super._next,this._error=Q?function(z){try{Q(z)}catch(H){B.error(H)}finally{this.unsubscribe()}}:super._error,this._complete=se?function(){try{se()}catch(z){B.error(z)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var B;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:V}=this;super.unsubscribe(),!V&&(null===(B=this.onFinalize)||void 0===B||B.call(this))}}}},70262:(rt,_e,_)=>{_.d(_e,{K:()=>R});var f=_(38421),v=_(25403),T=_(54482);function R(B){return(0,T.e)((V,se)=>{let $,Q=null,Y=!1;Q=V.subscribe((0,v.x)(se,void 0,void 0,z=>{$=(0,f.Xf)(B(z,R(B)(V))),Q?(Q.unsubscribe(),Q=null,$.subscribe(se)):Y=!0})),Y&&(Q.unsubscribe(),Q=null,$.subscribe(se))})}},24351:(rt,_e,_)=>{_.d(_e,{b:()=>T});var f=_(95577),v=_(30576);function T(R,B){return(0,v.m)(B)?(0,f.z)(R,B,1):(0,f.z)(R,1)}},78372:(rt,_e,_)=>{_.d(_e,{b:()=>R});var f=_(34986),v=_(54482),T=_(25403);function R(B,V=f.z){return(0,v.e)((se,Q)=>{let Y=null,$=null,z=null;const H=()=>{if(Y){Y.unsubscribe(),Y=null;const Ie=$;$=null,Q.next(Ie)}};function Se(){const Ie=z+B,he=V.now();if(he<Ie)return Y=this.schedule(void 0,Ie-he),void Q.add(Y);H()}se.subscribe((0,T.x)(Q,Ie=>{$=Ie,z=V.now(),Y||(Y=V.schedule(Se,B),Q.add(Y))},()=>{H(),Q.complete()},void 0,()=>{$=Y=null}))})}},46590:(rt,_e,_)=>{_.d(_e,{d:()=>T});var f=_(54482),v=_(25403);function T(R){return(0,f.e)((B,V)=>{let se=!1;B.subscribe((0,v.x)(V,Q=>{se=!0,V.next(Q)},()=>{se||V.next(R),V.complete()}))})}},71884:(rt,_e,_)=>{_.d(_e,{x:()=>R});var f=_(44671),v=_(54482),T=_(25403);function R(V,se=f.y){return V=V??B,(0,v.e)((Q,Y)=>{let $,z=!0;Q.subscribe((0,T.x)(Y,H=>{const Se=se(H);(z||!V($,Se))&&(z=!1,$=Se,Y.next(H))}))})}function B(V,se){return V===se}},39300:(rt,_e,_)=>{_.d(_e,{h:()=>T});var f=_(54482),v=_(25403);function T(R,B){return(0,f.e)((V,se)=>{let Q=0;V.subscribe((0,v.x)(se,Y=>R.call(B,Y,Q++)&&se.next(Y)))})}},28746:(rt,_e,_)=>{_.d(_e,{x:()=>v});var f=_(54482);function v(T){return(0,f.e)((R,B)=>{try{R.subscribe(B)}finally{B.add(T)}})}},50590:(rt,_e,_)=>{_.d(_e,{P:()=>se});var f=_(86805),v=_(39300),T=_(95698),R=_(46590),B=_(18068),V=_(44671);function se(Q,Y){const $=arguments.length>=2;return z=>z.pipe(Q?(0,v.h)((H,Se)=>Q(H,Se,z)):V.y,(0,T.q)(1),$?(0,R.d)(Y):(0,B.T)(()=>new f.K))}},54004:(rt,_e,_)=>{_.d(_e,{U:()=>T});var f=_(54482),v=_(25403);function T(R,B){return(0,f.e)((V,se)=>{let Q=0;V.subscribe((0,v.x)(se,Y=>{se.next(R.call(B,Y,Q++))}))})}},69718:(rt,_e,_)=>{_.d(_e,{h:()=>v});var f=_(54004);function v(T){return(0,f.U)(()=>T)}},8189:(rt,_e,_)=>{_.d(_e,{J:()=>T});var f=_(95577),v=_(44671);function T(R=1/0){return(0,f.z)(v.y,R)}},95577:(rt,_e,_)=>{_.d(_e,{z:()=>Q});var f=_(54004),v=_(38421),T=_(54482),R=_(39672),B=_(25403),se=_(30576);function Q(Y,$,z=1/0){return(0,se.m)($)?Q((H,Se)=>(0,f.U)((Ie,he)=>$(H,Ie,Se,he))((0,v.Xf)(Y(H,Se))),z):("number"==typeof $&&(z=$),(0,T.e)((H,Se)=>function V(Y,$,z,H,Se,Ie,he,Ee){const ye=[];let Ue=0,ht=0,ut=!1;const Oe=()=>{ut&&!ye.length&&!Ue&&$.complete()},K=ce=>Ue<H?ve(ce):ye.push(ce),ve=ce=>{Ie&&$.next(ce),Ue++;let Te=!1;(0,v.Xf)(z(ce,ht++)).subscribe((0,B.x)($,Ge=>{Se?.(Ge),Ie?K(Ge):$.next(Ge)},()=>{Te=!0},void 0,()=>{if(Te)try{for(Ue--;ye.length&&Ue<H;){const Ge=ye.shift();he?(0,R.f)($,he,()=>ve(Ge)):ve(Ge)}Oe()}catch(Ge){$.error(Ge)}}))};return Y.subscribe((0,B.x)($,K,()=>{ut=!0,Oe()})),()=>{Ee?.()}}(H,Se,Y,z)))}},38343:(rt,_e,_)=>{_.d(_e,{x:()=>T});var f=_(54482),v=_(25403);function T(){return(0,f.e)((R,B)=>{let V=null;R._refCount++;const se=(0,v.x)(B,void 0,void 0,void 0,()=>{if(!R||R._refCount<=0||0<--R._refCount)return void(V=null);const Q=R._connection,Y=V;V=null,Q&&(!Y||Q===Y)&&Q.unsubscribe(),B.unsubscribe()});R.subscribe(se),se.closed||(V=R.connect())})}},13099:(rt,_e,_)=>{_.d(_e,{B:()=>B});var f=_(38421),v=_(77579),T=_(70930),R=_(54482);function B(se={}){const{connector:Q=(()=>new v.x),resetOnError:Y=!0,resetOnComplete:$=!0,resetOnRefCountZero:z=!0}=se;return H=>{let Se,Ie,he,Ee=0,ye=!1,Ue=!1;const ht=()=>{Ie?.unsubscribe(),Ie=void 0},ut=()=>{ht(),Se=he=void 0,ye=Ue=!1},Oe=()=>{const K=Se;ut(),K?.unsubscribe()};return(0,R.e)((K,ve)=>{Ee++,!Ue&&!ye&&ht();const ce=he=he??Q();ve.add(()=>{Ee--,0===Ee&&!Ue&&!ye&&(Ie=V(Oe,z))}),ce.subscribe(ve),!Se&&Ee>0&&(Se=new T.Hp({next:Te=>ce.next(Te),error:Te=>{Ue=!0,ht(),Ie=V(ut,Y,Te),ce.error(Te)},complete:()=>{ye=!0,ht(),Ie=V(ut,$),ce.complete()}}),(0,f.Xf)(K).subscribe(Se))})(H)}}function V(se,Q,...Y){if(!0===Q)return void se();if(!1===Q)return;const $=new T.Hp({next:()=>{$.unsubscribe(),se()}});return(0,f.Xf)(Q(...Y)).subscribe($)}},35684:(rt,_e,_)=>{_.d(_e,{T:()=>v});var f=_(39300);function v(T){return(0,f.h)((R,B)=>T<=B)}},68675:(rt,_e,_)=>{_.d(_e,{O:()=>R});var f=_(97272),v=_(63269),T=_(54482);function R(...B){const V=(0,v.yG)(B);return(0,T.e)((se,Q)=>{(V?(0,f.z)(B,se,V):(0,f.z)(B,se)).subscribe(Q)})}},63900:(rt,_e,_)=>{_.d(_e,{w:()=>R});var f=_(38421),v=_(54482),T=_(25403);function R(B,V){return(0,v.e)((se,Q)=>{let Y=null,$=0,z=!1;const H=()=>z&&!Y&&Q.complete();se.subscribe((0,T.x)(Q,Se=>{Y?.unsubscribe();let Ie=0;const he=$++;(0,f.Xf)(B(Se,he)).subscribe(Y=(0,T.x)(Q,Ee=>Q.next(V?V(Se,Ee,he,Ie++):Ee),()=>{Y=null,H()}))},()=>{z=!0,H()}))})}},95698:(rt,_e,_)=>{_.d(_e,{q:()=>R});var f=_(60515),v=_(54482),T=_(25403);function R(B){return B<=0?()=>f.E:(0,v.e)((V,se)=>{let Q=0;V.subscribe((0,T.x)(se,Y=>{++Q<=B&&(se.next(Y),B<=Q&&se.complete())}))})}},82722:(rt,_e,_)=>{_.d(_e,{R:()=>B});var f=_(54482),v=_(25403),T=_(38421),R=_(25032);function B(V){return(0,f.e)((se,Q)=>{(0,T.Xf)(V).subscribe((0,v.x)(Q,()=>Q.complete(),R.Z)),!Q.closed&&se.subscribe(Q)})}},22529:(rt,_e,_)=>{_.d(_e,{o:()=>T});var f=_(54482),v=_(25403);function T(R,B=!1){return(0,f.e)((V,se)=>{let Q=0;V.subscribe((0,v.x)(se,Y=>{const $=R(Y,Q++);($||B)&&se.next(Y),!$&&se.complete()}))})}},18505:(rt,_e,_)=>{_.d(_e,{b:()=>B});var f=_(30576),v=_(54482),T=_(25403),R=_(44671);function B(V,se,Q){const Y=(0,f.m)(V)||se||Q?{next:V,error:se,complete:Q}:V;return Y?(0,v.e)(($,z)=>{var H;null===(H=Y.subscribe)||void 0===H||H.call(Y);let Se=!0;$.subscribe((0,T.x)(z,Ie=>{var he;null===(he=Y.next)||void 0===he||he.call(Y,Ie),z.next(Ie)},()=>{var Ie;Se=!1,null===(Ie=Y.complete)||void 0===Ie||Ie.call(Y),z.complete()},Ie=>{var he;Se=!1,null===(he=Y.error)||void 0===he||he.call(Y,Ie),z.error(Ie)},()=>{var Ie,he;Se&&(null===(Ie=Y.unsubscribe)||void 0===Ie||Ie.call(Y)),null===(he=Y.finalize)||void 0===he||he.call(Y)}))}):R.y}},18068:(rt,_e,_)=>{_.d(_e,{T:()=>R});var f=_(86805),v=_(54482),T=_(25403);function R(V=B){return(0,v.e)((se,Q)=>{let Y=!1;se.subscribe((0,T.x)(Q,$=>{Y=!0,Q.next($)},()=>Y?Q.complete():Q.error(V())))})}function B(){return new f.K}},19975:(rt,_e,_)=>{_.d(_e,{x:()=>ve});var f=_(38421),v=_(39672),T=_(54482),R=_(25403);function B(ce,Te=0){return(0,T.e)((Ge,xe)=>{Ge.subscribe((0,R.x)(xe,it=>(0,v.f)(xe,ce,()=>xe.next(it),Te),()=>(0,v.f)(xe,ce,()=>xe.complete(),Te),it=>(0,v.f)(xe,ce,()=>xe.error(it),Te)))})}function V(ce,Te=0){return(0,T.e)((Ge,xe)=>{xe.add(ce.schedule(()=>Ge.subscribe(xe),Te))})}var Y=_(69751),z=_(2202),H=_(30576);function Ie(ce,Te){if(!ce)throw new Error("Iterable cannot be null");return new Y.y(Ge=>{(0,v.f)(Ge,Te,()=>{const xe=ce[Symbol.asyncIterator]();(0,v.f)(Ge,Te,()=>{xe.next().then(it=>{it.done?Ge.complete():Ge.next(it.value)})},0,!0)})})}var he=_(93670),Ee=_(28239),ye=_(81144),Ue=_(26495),ht=_(12206),ut=_(44532),Oe=_(53260);function ve(ce,Te){if(null!=ce){if((0,he.c)(ce))return function se(ce,Te){return(0,f.Xf)(ce).pipe(V(Te),B(Te))}(ce,Te);if((0,ye.z)(ce))return function $(ce,Te){return new Y.y(Ge=>{let xe=0;return Te.schedule(function(){xe===ce.length?Ge.complete():(Ge.next(ce[xe++]),Ge.closed||this.schedule())})})}(ce,Te);if((0,Ee.t)(ce))return function Q(ce,Te){return(0,f.Xf)(ce).pipe(V(Te),B(Te))}(ce,Te);if((0,ht.D)(ce))return Ie(ce,Te);if((0,Ue.T)(ce))return function Se(ce,Te){return new Y.y(Ge=>{let xe;return(0,v.f)(Ge,Te,()=>{xe=ce[z.h](),(0,v.f)(Ge,Te,()=>{let it,De;try{({value:it,done:De}=xe.next())}catch($e){return void Ge.error($e)}De?Ge.complete():Ge.next(it)},0,!0)}),()=>(0,H.m)(xe?.return)&&xe.return()})}(ce,Te);if((0,Oe.L)(ce))return function K(ce,Te){return Ie((0,Oe.Q)(ce),Te)}(ce,Te)}throw(0,ut.z)(ce)}},84408:(rt,_e,_)=>{_.d(_e,{o:()=>B});var f=_(50727);class v extends f.w0{constructor(se,Q){super()}schedule(se,Q=0){return this}}const T={setInterval(V,se,...Q){const{delegate:Y}=T;return Y?.setInterval?Y.setInterval(V,se,...Q):setInterval(V,se,...Q)},clearInterval(V){const{delegate:se}=T;return(se?.clearInterval||clearInterval)(V)},delegate:void 0};var R=_(38737);class B extends v{constructor(se,Q){super(se,Q),this.scheduler=se,this.work=Q,this.pending=!1}schedule(se,Q=0){var Y;if(this.closed)return this;this.state=se;const $=this.id,z=this.scheduler;return null!=$&&(this.id=this.recycleAsyncId(z,$,Q)),this.pending=!0,this.delay=Q,this.id=null!==(Y=this.id)&&void 0!==Y?Y:this.requestAsyncId(z,this.id,Q),this}requestAsyncId(se,Q,Y=0){return T.setInterval(se.flush.bind(se,this),Y)}recycleAsyncId(se,Q,Y=0){if(null!=Y&&this.delay===Y&&!1===this.pending)return Q;null!=Q&&T.clearInterval(Q)}execute(se,Q){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const Y=this._execute(se,Q);if(Y)return Y;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(se,Q){let $,Y=!1;try{this.work(se)}catch(z){Y=!0,$=z||new Error("Scheduled action threw falsy error")}if(Y)return this.unsubscribe(),$}unsubscribe(){if(!this.closed){const{id:se,scheduler:Q}=this,{actions:Y}=Q;this.work=this.state=this.scheduler=null,this.pending=!1,(0,R.P)(Y,this),null!=se&&(this.id=this.recycleAsyncId(Q,se,null)),this.delay=null,super.unsubscribe()}}}},97565:(rt,_e,_)=>{_.d(_e,{v:()=>T});var f=_(26063);class v{constructor(B,V=v.now){this.schedulerActionCtor=B,this.now=V}schedule(B,V=0,se){return new this.schedulerActionCtor(this,B).schedule(se,V)}}v.now=f.l.now;class T extends v{constructor(B,V=v.now){super(B,V),this.actions=[],this._active=!1}flush(B){const{actions:V}=this;if(this._active)return void V.push(B);let se;this._active=!0;do{if(se=B.execute(B.state,B.delay))break}while(B=V.shift());if(this._active=!1,se){for(;B=V.shift();)B.unsubscribe();throw se}}}},66406:(rt,_e,_)=>{_.d(_e,{Z:()=>se});var f=_(84408),v=_(50727);const T={schedule(Y){let $=requestAnimationFrame,z=cancelAnimationFrame;const{delegate:H}=T;H&&($=H.requestAnimationFrame,z=H.cancelAnimationFrame);const Se=$(Ie=>{z=void 0,Y(Ie)});return new v.w0(()=>z?.(Se))},requestAnimationFrame(...Y){const{delegate:$}=T;return($?.requestAnimationFrame||requestAnimationFrame)(...Y)},cancelAnimationFrame(...Y){const{delegate:$}=T;return($?.cancelAnimationFrame||cancelAnimationFrame)(...Y)},delegate:void 0};var B=_(97565);const se=new class V extends B.v{flush($){let z;this._active=!0,$?z=$.id:(z=this._scheduled,this._scheduled=void 0);const{actions:H}=this;let Se;$=$||H.shift();do{if(Se=$.execute($.state,$.delay))break}while(($=H[0])&&$.id===z&&H.shift());if(this._active=!1,Se){for(;($=H[0])&&$.id===z&&H.shift();)$.unsubscribe();throw Se}}}(class R extends f.o{constructor($,z){super($,z),this.scheduler=$,this.work=z}requestAsyncId($,z,H=0){return null!==H&&H>0?super.requestAsyncId($,z,H):($.actions.push(this),$._scheduled||($._scheduled=T.requestAnimationFrame(()=>$.flush(void 0))))}recycleAsyncId($,z,H=0){var Se;if(null!=H?H>0:this.delay>0)return super.recycleAsyncId($,z,H);const{actions:Ie}=$;null!=z&&z===$._scheduled&&(null===(Se=Ie[Ie.length-1])||void 0===Se?void 0:Se.id)!==z&&(T.cancelAnimationFrame(z),$._scheduled=void 0)}})},34986:(rt,_e,_)=>{_.d(_e,{P:()=>R,z:()=>T});var f=_(84408);const T=new(_(97565).v)(f.o),R=T},26063:(rt,_e,_)=>{_.d(_e,{l:()=>f});const f={now:()=>(f.delegate||Date).now(),delegate:void 0}},43410:(rt,_e,_)=>{_.d(_e,{z:()=>f});const f={setTimeout(v,T,...R){const{delegate:B}=f;return B?.setTimeout?B.setTimeout(v,T,...R):setTimeout(v,T,...R)},clearTimeout(v){const{delegate:T}=f;return(T?.clearTimeout||clearTimeout)(v)},delegate:void 0}},2202:(rt,_e,_)=>{_.d(_e,{h:()=>v});const v=function f(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},48822:(rt,_e,_)=>{_.d(_e,{L:()=>f});const f="function"==typeof Symbol&&Symbol.observable||"@@observable"},86805:(rt,_e,_)=>{_.d(_e,{K:()=>v});const v=(0,_(83888).d)(T=>function(){T(this),this.name="EmptyError",this.message="no elements in sequence"})},63269:(rt,_e,_)=>{_.d(_e,{_6:()=>V,jO:()=>R,yG:()=>B});var f=_(30576),v=_(93532);function T(se){return se[se.length-1]}function R(se){return(0,f.m)(T(se))?se.pop():void 0}function B(se){return(0,v.K)(T(se))?se.pop():void 0}function V(se,Q){return"number"==typeof T(se)?se.pop():Q}},54742:(rt,_e,_)=>{_.d(_e,{D:()=>B});const{isArray:f}=Array,{getPrototypeOf:v,prototype:T,keys:R}=Object;function B(se){if(1===se.length){const Q=se[0];if(f(Q))return{args:Q,keys:null};if(function V(se){return se&&"object"==typeof se&&v(se)===T}(Q)){const Y=R(Q);return{args:Y.map($=>Q[$]),keys:Y}}}return{args:se,keys:null}}},38737:(rt,_e,_)=>{function f(v,T){if(v){const R=v.indexOf(T);0<=R&&v.splice(R,1)}}_.d(_e,{P:()=>f})},83888:(rt,_e,_)=>{function f(v){const R=v(B=>{Error.call(B),B.stack=(new Error).stack});return R.prototype=Object.create(Error.prototype),R.prototype.constructor=R,R}_.d(_e,{d:()=>f})},31810:(rt,_e,_)=>{function f(v,T){return v.reduce((R,B,V)=>(R[B]=T[V],R),{})}_.d(_e,{n:()=>f})},72806:(rt,_e,_)=>{_.d(_e,{O:()=>R,x:()=>T});var f=_(42416);let v=null;function T(B){if(f.v.useDeprecatedSynchronousErrorHandling){const V=!v;if(V&&(v={errorThrown:!1,error:null}),B(),V){const{errorThrown:se,error:Q}=v;if(v=null,se)throw Q}}else B()}function R(B){f.v.useDeprecatedSynchronousErrorHandling&&v&&(v.errorThrown=!0,v.error=B)}},39672:(rt,_e,_)=>{function f(v,T,R,B=0,V=!1){const se=T.schedule(function(){R(),V?v.add(this.schedule(null,B)):this.unsubscribe()},B);if(v.add(se),!V)return se}_.d(_e,{f:()=>f})},44671:(rt,_e,_)=>{function f(v){return v}_.d(_e,{y:()=>f})},81144:(rt,_e,_)=>{_.d(_e,{z:()=>f});const f=v=>v&&"number"==typeof v.length&&"function"!=typeof v},12206:(rt,_e,_)=>{_.d(_e,{D:()=>v});var f=_(30576);function v(T){return Symbol.asyncIterator&&(0,f.m)(T?.[Symbol.asyncIterator])}},30576:(rt,_e,_)=>{function f(v){return"function"==typeof v}_.d(_e,{m:()=>f})},93670:(rt,_e,_)=>{_.d(_e,{c:()=>T});var f=_(48822),v=_(30576);function T(R){return(0,v.m)(R[f.L])}},26495:(rt,_e,_)=>{_.d(_e,{T:()=>T});var f=_(2202),v=_(30576);function T(R){return(0,v.m)(R?.[f.h])}},45191:(rt,_e,_)=>{_.d(_e,{b:()=>T});var f=_(69751),v=_(30576);function T(R){return!!R&&(R instanceof f.y||(0,v.m)(R.lift)&&(0,v.m)(R.subscribe))}},28239:(rt,_e,_)=>{_.d(_e,{t:()=>v});var f=_(30576);function v(T){return(0,f.m)(T?.then)}},53260:(rt,_e,_)=>{_.d(_e,{L:()=>R,Q:()=>T});var f=_(97582),v=_(30576);function T(B){return(0,f.FC)(this,arguments,function*(){const se=B.getReader();try{for(;;){const{value:Q,done:Y}=yield(0,f.qq)(se.read());if(Y)return yield(0,f.qq)(void 0);yield yield(0,f.qq)(Q)}}finally{se.releaseLock()}})}function R(B){return(0,v.m)(B?.getReader)}},93532:(rt,_e,_)=>{_.d(_e,{K:()=>v});var f=_(30576);function v(T){return T&&(0,f.m)(T.schedule)}},54482:(rt,_e,_)=>{_.d(_e,{A:()=>v,e:()=>T});var f=_(30576);function v(R){return(0,f.m)(R?.lift)}function T(R){return B=>{if(v(B))return B.lift(function(V){try{return R(V,this)}catch(se){this.error(se)}});throw new TypeError("Unable to lift unknown Observable type")}}},83268:(rt,_e,_)=>{_.d(_e,{Z:()=>R});var f=_(54004);const{isArray:v}=Array;function R(B){return(0,f.U)(V=>function T(B,V){return v(V)?B(...V):B(V)}(B,V))}},25032:(rt,_e,_)=>{function f(){}_.d(_e,{Z:()=>f})},89635:(rt,_e,_)=>{_.d(_e,{U:()=>T,z:()=>v});var f=_(44671);function v(...R){return T(R)}function T(R){return 0===R.length?f.y:1===R.length?R[0]:function(V){return R.reduce((se,Q)=>Q(se),V)}}},87849:(rt,_e,_)=>{_.d(_e,{h:()=>T});var f=_(42416),v=_(43410);function T(R){v.z.setTimeout(()=>{const{onUnhandledError:B}=f.v;if(!B)throw R;B(R)})}},44532:(rt,_e,_)=>{function f(v){return new TypeError(`You provided ${null!==v&&"object"==typeof v?"an invalid object":`'${v}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}_.d(_e,{z:()=>f})},15497:(rt,_e,_)=>{_.d(_e,{Cv:()=>se,vs:()=>Q});var f=_(94650),v=_(80529),T=_(11481),R=_(36895);const V=new f.OlP("mage-xhr-img.objectUrlService");let se=(()=>{class Y{constructor(z,H,Se){this.objectUrlService=z,this.webClient=H,this.sanitizer=Se,this.sourceUrl=null,this.safeBlobUrl=null}ngOnChanges(z){!z.sourceUrl||z.sourceUrl.isFirstChange()&&!this.sourceUrl||(this.disposeCurrent(),this.sourceUrl&&(this.subscription=this.webClient.get(this.sourceUrl,{responseType:"blob"}).subscribe(H=>{this.objectUrlService.revokeObjectURL(this.blobUrl),this.blobUrl=this.objectUrlService.createObjectURL(H),this.safeBlobUrl=this.sanitizer.bypassSecurityTrustUrl(this.blobUrl)})))}ngOnDestroy(){this.disposeCurrent()}onImgLoad(){this.disposeCurrent()}disposeCurrent(){this.blobUrl&&this.objectUrlService.revokeObjectURL(this.blobUrl),this.subscription&&this.subscription.unsubscribe(),this.blobUrl=null}}return Y.\u0275fac=function(z){return new(z||Y)(f.Y36(V),f.Y36(v.eN),f.Y36(T.H7))},Y.\u0275cmp=f.Xpm({type:Y,selectors:[["mage-xhr-img"]],inputs:{sourceUrl:["src","sourceUrl"]},features:[f._Bn([{provide:V,useValue:URL}]),f.TTD],decls:1,vars:1,consts:[[3,"load"]],template:function(z,H){1&z&&(f.TgZ(0,"img",0),f.NdJ("load",function(){return H.onImgLoad()}),f.qZA()),2&z&&f.uIk("src",H.safeBlobUrl,f.LSH)},styles:["img[_ngcontent-%COMP%]{height:100%;width:100%}"]}),Y})(),Q=(()=>{class Y{}return Y.\u0275fac=function(z){return new(z||Y)},Y.\u0275mod=f.oAB({type:Y}),Y.\u0275inj=f.cJS({imports:[R.ez]}),Y})()},37340:(rt,_e,_)=>{_.d(_e,{F4:()=>$,IO:()=>he,LC:()=>v,SB:()=>Y,X$:()=>R,ZE:()=>ht,ZN:()=>Ue,_j:()=>f,eR:()=>z,jt:()=>B,k1:()=>ut,l3:()=>T,oB:()=>Q,pV:()=>Se,ru:()=>V,vP:()=>se});class f{}class v{}const T="*";function R(Oe,K){return{type:7,name:Oe,definitions:K,options:{}}}function B(Oe,K=null){return{type:4,styles:K,timings:Oe}}function V(Oe,K=null){return{type:3,steps:Oe,options:K}}function se(Oe,K=null){return{type:2,steps:Oe,options:K}}function Q(Oe){return{type:6,styles:Oe,offset:null}}function Y(Oe,K,ve){return{type:0,name:Oe,styles:K,options:ve}}function $(Oe){return{type:5,steps:Oe}}function z(Oe,K,ve=null){return{type:1,expr:Oe,animation:K,options:ve}}function Se(Oe=null){return{type:9,options:Oe}}function he(Oe,K,ve=null){return{type:11,selector:Oe,animation:K,options:ve}}function ye(Oe){Promise.resolve().then(Oe)}class Ue{constructor(K=0,ve=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=K+ve}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(K=>K()),this._onDoneFns=[])}onStart(K){this._originalOnStartFns.push(K),this._onStartFns.push(K)}onDone(K){this._originalOnDoneFns.push(K),this._onDoneFns.push(K)}onDestroy(K){this._onDestroyFns.push(K)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){ye(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(K=>K()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(K=>K()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(K){this._position=this.totalTime?K*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(K){const ve="start"==K?this._onStartFns:this._onDoneFns;ve.forEach(ce=>ce()),ve.length=0}}class ht{constructor(K){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=K;let ve=0,ce=0,Te=0;const Ge=this.players.length;0==Ge?ye(()=>this._onFinish()):this.players.forEach(xe=>{xe.onDone(()=>{++ve==Ge&&this._onFinish()}),xe.onDestroy(()=>{++ce==Ge&&this._onDestroy()}),xe.onStart(()=>{++Te==Ge&&this._onStart()})}),this.totalTime=this.players.reduce((xe,it)=>Math.max(xe,it.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(K=>K()),this._onDoneFns=[])}init(){this.players.forEach(K=>K.init())}onStart(K){this._onStartFns.push(K)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(K=>K()),this._onStartFns=[])}onDone(K){this._onDoneFns.push(K)}onDestroy(K){this._onDestroyFns.push(K)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(K=>K.play())}pause(){this.players.forEach(K=>K.pause())}restart(){this.players.forEach(K=>K.restart())}finish(){this._onFinish(),this.players.forEach(K=>K.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(K=>K.destroy()),this._onDestroyFns.forEach(K=>K()),this._onDestroyFns=[])}reset(){this.players.forEach(K=>K.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(K){const ve=K*this.totalTime;this.players.forEach(ce=>{const Te=ce.totalTime?Math.min(1,ve/ce.totalTime):1;ce.setPosition(Te)})}getPosition(){const K=this.players.reduce((ve,ce)=>null===ve||ce.totalTime>ve.totalTime?ce:ve,null);return null!=K?K.getPosition():0}beforeDestroy(){this.players.forEach(K=>{K.beforeDestroy&&K.beforeDestroy()})}triggerCallback(K){const ve="start"==K?this._onStartFns:this._onDoneFns;ve.forEach(ce=>ce()),ve.length=0}}const ut="!"},12687:(rt,_e,_)=>{_.d(_e,{$s:()=>it,Em:()=>$t,Kd:()=>je,X6:()=>Ye,ic:()=>sn,kH:()=>me,mK:()=>en,qV:()=>wt,qm:()=>q,rt:()=>Z,s1:()=>Et,tE:()=>P,yG:()=>O});var f=_(36895),v=_(94650),T=_(83353),R=_(77579),B=_(50727),V=_(61135),se=_(39646),Q=_(29521),Y=_(18505),$=_(78372),z=_(39300),H=_(54004),Se=_(95698),Ie=_(35684),he=_(71884),Ee=_(82722),ye=_(21281),Ue=_(49643),ht=_(62289);function ve(L,X){return(L.getAttribute(X)||"").match(/\S+/g)||[]}const Te="cdk-describedby-message",Ge="cdk-describedby-host";let xe=0,it=(()=>{class L{constructor(N,de){this._platform=de,this._messageRegistry=new Map,this._messagesContainer=null,this._id=""+xe++,this._document=N,this._id=(0,v.f3M)(v.AFp)+"-"+xe++}describe(N,de,Fe){if(!this._canBeDescribed(N,de))return;const ot=De(de,Fe);"string"!=typeof de?($e(de,this._id),this._messageRegistry.set(ot,{messageElement:de,referenceCount:0})):this._messageRegistry.has(ot)||this._createMessageElement(de,Fe),this._isElementDescribedByMessage(N,ot)||this._addMessageReference(N,ot)}removeDescription(N,de,Fe){if(!de||!this._isElementNode(N))return;const ot=De(de,Fe);if(this._isElementDescribedByMessage(N,ot)&&this._removeMessageReference(N,ot),"string"==typeof de){const Rt=this._messageRegistry.get(ot);Rt&&0===Rt.referenceCount&&this._deleteMessageElement(ot)}0===this._messagesContainer?.childNodes.length&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){const N=this._document.querySelectorAll(`[${Ge}="${this._id}"]`);for(let de=0;de<N.length;de++)this._removeCdkDescribedByReferenceIds(N[de]),N[de].removeAttribute(Ge);this._messagesContainer?.remove(),this._messagesContainer=null,this._messageRegistry.clear()}_createMessageElement(N,de){const Fe=this._document.createElement("div");$e(Fe,this._id),Fe.textContent=N,de&&Fe.setAttribute("role",de),this._createMessagesContainer(),this._messagesContainer.appendChild(Fe),this._messageRegistry.set(De(N,de),{messageElement:Fe,referenceCount:0})}_deleteMessageElement(N){this._messageRegistry.get(N)?.messageElement?.remove(),this._messageRegistry.delete(N)}_createMessagesContainer(){if(this._messagesContainer)return;const N="cdk-describedby-message-container",de=this._document.querySelectorAll(`.${N}[platform="server"]`);for(let ot=0;ot<de.length;ot++)de[ot].remove();const Fe=this._document.createElement("div");Fe.style.visibility="hidden",Fe.classList.add(N),Fe.classList.add("cdk-visually-hidden"),this._platform&&!this._platform.isBrowser&&Fe.setAttribute("platform","server"),this._document.body.appendChild(Fe),this._messagesContainer=Fe}_removeCdkDescribedByReferenceIds(N){const de=ve(N,"aria-describedby").filter(Fe=>0!=Fe.indexOf(Te));N.setAttribute("aria-describedby",de.join(" "))}_addMessageReference(N,de){const Fe=this._messageRegistry.get(de);(function Oe(L,X,N){const de=ve(L,X);de.some(Fe=>Fe.trim()==N.trim())||(de.push(N.trim()),L.setAttribute(X,de.join(" ")))})(N,"aria-describedby",Fe.messageElement.id),N.setAttribute(Ge,this._id),Fe.referenceCount++}_removeMessageReference(N,de){const Fe=this._messageRegistry.get(de);Fe.referenceCount--,function K(L,X,N){const Fe=ve(L,X).filter(ot=>ot!=N.trim());Fe.length?L.setAttribute(X,Fe.join(" ")):L.removeAttribute(X)}(N,"aria-describedby",Fe.messageElement.id),N.removeAttribute(Ge)}_isElementDescribedByMessage(N,de){const Fe=ve(N,"aria-describedby"),ot=this._messageRegistry.get(de),Rt=ot&&ot.messageElement.id;return!!Rt&&-1!=Fe.indexOf(Rt)}_canBeDescribed(N,de){if(!this._isElementNode(N))return!1;if(de&&"object"==typeof de)return!0;const Fe=null==de?"":`${de}`.trim(),ot=N.getAttribute("aria-label");return!(!Fe||ot&&ot.trim()===Fe)}_isElementNode(N){return N.nodeType===this._document.ELEMENT_NODE}}return L.\u0275fac=function(N){return new(N||L)(v.LFG(f.K0),v.LFG(T.t4))},L.\u0275prov=v.Yz7({token:L,factory:L.\u0275fac,providedIn:"root"}),L})();function De(L,X){return"string"==typeof L?`${X||""}/${L}`:L}function $e(L,X){L.id||(L.id=`${Te}-${X}-${xe++}`)}class Ke{constructor(X){this._items=X,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new R.x,this._typeaheadSubscription=B.w0.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._skipPredicateFn=N=>N.disabled,this._pressedLetters=[],this.tabOut=new R.x,this.change=new R.x,X instanceof v.n_E&&X.changes.subscribe(N=>{if(this._activeItem){const Fe=N.toArray().indexOf(this._activeItem);Fe>-1&&Fe!==this._activeItemIndex&&(this._activeItemIndex=Fe)}})}skipPredicate(X){return this._skipPredicateFn=X,this}withWrap(X=!0){return this._wrap=X,this}withVerticalOrientation(X=!0){return this._vertical=X,this}withHorizontalOrientation(X){return this._horizontal=X,this}withAllowedModifierKeys(X){return this._allowedModifierKeys=X,this}withTypeAhead(X=200){return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe((0,Y.b)(N=>this._pressedLetters.push(N)),(0,$.b)(X),(0,z.h)(()=>this._pressedLetters.length>0),(0,H.U)(()=>this._pressedLetters.join(""))).subscribe(N=>{const de=this._getItemsArray();for(let Fe=1;Fe<de.length+1;Fe++){const ot=(this._activeItemIndex+Fe)%de.length,Rt=de[ot];if(!this._skipPredicateFn(Rt)&&0===Rt.getLabel().toUpperCase().trim().indexOf(N)){this.setActiveItem(ot);break}}this._pressedLetters=[]}),this}withHomeAndEnd(X=!0){return this._homeAndEnd=X,this}setActiveItem(X){const N=this._activeItem;this.updateActiveItem(X),this._activeItem!==N&&this.change.next(this._activeItemIndex)}onKeydown(X){const N=X.keyCode,Fe=["altKey","ctrlKey","metaKey","shiftKey"].every(ot=>!X[ot]||this._allowedModifierKeys.indexOf(ot)>-1);switch(N){case Q.Mf:return void this.tabOut.next();case Q.JH:if(this._vertical&&Fe){this.setNextItemActive();break}return;case Q.LH:if(this._vertical&&Fe){this.setPreviousItemActive();break}return;case Q.SV:if(this._horizontal&&Fe){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case Q.oh:if(this._horizontal&&Fe){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case Q.Sd:if(this._homeAndEnd&&Fe){this.setFirstItemActive();break}return;case Q.uR:if(this._homeAndEnd&&Fe){this.setLastItemActive();break}return;default:return void((Fe||(0,Q.Vb)(X,"shiftKey"))&&(X.key&&1===X.key.length?this._letterKeyStream.next(X.key.toLocaleUpperCase()):(N>=Q.A&&N<=Q.Z||N>=Q.xE&&N<=Q.aO)&&this._letterKeyStream.next(String.fromCharCode(N))))}this._pressedLetters=[],X.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(X){const N=this._getItemsArray(),de="number"==typeof X?X:N.indexOf(X);this._activeItem=N[de]??null,this._activeItemIndex=de}_setActiveItemByDelta(X){this._wrap?this._setActiveInWrapMode(X):this._setActiveInDefaultMode(X)}_setActiveInWrapMode(X){const N=this._getItemsArray();for(let de=1;de<=N.length;de++){const Fe=(this._activeItemIndex+X*de+N.length)%N.length;if(!this._skipPredicateFn(N[Fe]))return void this.setActiveItem(Fe)}}_setActiveInDefaultMode(X){this._setActiveItemByIndex(this._activeItemIndex+X,X)}_setActiveItemByIndex(X,N){const de=this._getItemsArray();if(de[X]){for(;this._skipPredicateFn(de[X]);)if(!de[X+=N])return;this.setActiveItem(X)}}_getItemsArray(){return this._items instanceof v.n_E?this._items.toArray():this._items}}class Et extends Ke{setActiveItem(X){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(X),this.activeItem&&this.activeItem.setActiveStyles()}}class $t extends Ke{constructor(){super(...arguments),this._origin="program"}setFocusOrigin(X){return this._origin=X,this}setActiveItem(X){super.setActiveItem(X),this.activeItem&&this.activeItem.focus(this._origin)}}let sn=(()=>{class L{constructor(N){this._platform=N}isDisabled(N){return N.hasAttribute("disabled")}isVisible(N){return function Ot(L){return!!(L.offsetWidth||L.offsetHeight||"function"==typeof L.getClientRects&&L.getClientRects().length)}(N)&&"visible"===getComputedStyle(N).visibility}isTabbable(N){if(!this._platform.isBrowser)return!1;const de=function tn(L){try{return L.frameElement}catch{return null}}(function dt(L){return L.ownerDocument&&L.ownerDocument.defaultView||window}(N));if(de&&(-1===Ze(de)||!this.isVisible(de)))return!1;let Fe=N.nodeName.toLowerCase(),ot=Ze(N);return N.hasAttribute("contenteditable")?-1!==ot:!("iframe"===Fe||"object"===Fe||this._platform.WEBKIT&&this._platform.IOS&&!function Ct(L){let X=L.nodeName.toLowerCase(),N="input"===X&&L.type;return"text"===N||"password"===N||"select"===X||"textarea"===X}(N))&&("audio"===Fe?!!N.hasAttribute("controls")&&-1!==ot:"video"===Fe?-1!==ot&&(null!==ot||this._platform.FIREFOX||N.hasAttribute("controls")):N.tabIndex>=0)}isFocusable(N,de){return function Pt(L){return!function Ne(L){return function ee(L){return"input"==L.nodeName.toLowerCase()}(L)&&"hidden"==L.type}(L)&&(function Ae(L){let X=L.nodeName.toLowerCase();return"input"===X||"select"===X||"button"===X||"textarea"===X}(L)||function fe(L){return function pe(L){return"a"==L.nodeName.toLowerCase()}(L)&&L.hasAttribute("href")}(L)||L.hasAttribute("contenteditable")||Ce(L))}(N)&&!this.isDisabled(N)&&(de?.ignoreVisibility||this.isVisible(N))}}return L.\u0275fac=function(N){return new(N||L)(v.LFG(T.t4))},L.\u0275prov=v.Yz7({token:L,factory:L.\u0275fac,providedIn:"root"}),L})();function Ce(L){if(!L.hasAttribute("tabindex")||void 0===L.tabIndex)return!1;let X=L.getAttribute("tabindex");return!(!X||isNaN(parseInt(X,10)))}function Ze(L){if(!Ce(L))return null;const X=parseInt(L.getAttribute("tabindex")||"",10);return isNaN(X)?-1:X}class At{constructor(X,N,de,Fe,ot=!1){this._element=X,this._checker=N,this._ngZone=de,this._document=Fe,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,ot||this.attachAnchors()}get enabled(){return this._enabled}set enabled(X){this._enabled=X,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(X,this._startAnchor),this._toggleAnchorTabIndex(X,this._endAnchor))}destroy(){const X=this._startAnchor,N=this._endAnchor;X&&(X.removeEventListener("focus",this.startAnchorListener),X.remove()),N&&(N.removeEventListener("focus",this.endAnchorListener),N.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(X){return new Promise(N=>{this._executeOnStable(()=>N(this.focusInitialElement(X)))})}focusFirstTabbableElementWhenReady(X){return new Promise(N=>{this._executeOnStable(()=>N(this.focusFirstTabbableElement(X)))})}focusLastTabbableElementWhenReady(X){return new Promise(N=>{this._executeOnStable(()=>N(this.focusLastTabbableElement(X)))})}_getRegionBoundary(X){const N=this._element.querySelectorAll(`[cdk-focus-region-${X}], [cdkFocusRegion${X}], [cdk-focus-${X}]`);return"start"==X?N.length?N[0]:this._getFirstTabbableElement(this._element):N.length?N[N.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(X){const N=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(N){if(!this._checker.isFocusable(N)){const de=this._getFirstTabbableElement(N);return de?.focus(X),!!de}return N.focus(X),!0}return this.focusFirstTabbableElement(X)}focusFirstTabbableElement(X){const N=this._getRegionBoundary("start");return N&&N.focus(X),!!N}focusLastTabbableElement(X){const N=this._getRegionBoundary("end");return N&&N.focus(X),!!N}hasAttached(){return this._hasAttached}_getFirstTabbableElement(X){if(this._checker.isFocusable(X)&&this._checker.isTabbable(X))return X;const N=X.children;for(let de=0;de<N.length;de++){const Fe=N[de].nodeType===this._document.ELEMENT_NODE?this._getFirstTabbableElement(N[de]):null;if(Fe)return Fe}return null}_getLastTabbableElement(X){if(this._checker.isFocusable(X)&&this._checker.isTabbable(X))return X;const N=X.children;for(let de=N.length-1;de>=0;de--){const Fe=N[de].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(N[de]):null;if(Fe)return Fe}return null}_createAnchor(){const X=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,X),X.classList.add("cdk-visually-hidden"),X.classList.add("cdk-focus-trap-anchor"),X.setAttribute("aria-hidden","true"),X}_toggleAnchorTabIndex(X,N){X?N.setAttribute("tabindex","0"):N.removeAttribute("tabindex")}toggleAnchors(X){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(X,this._startAnchor),this._toggleAnchorTabIndex(X,this._endAnchor))}_executeOnStable(X){this._ngZone.isStable?X():this._ngZone.onStable.pipe((0,Se.q)(1)).subscribe(X)}}let wt=(()=>{class L{constructor(N,de,Fe){this._checker=N,this._ngZone=de,this._document=Fe}create(N,de=!1){return new At(N,this._checker,this._ngZone,this._document,de)}}return L.\u0275fac=function(N){return new(N||L)(v.LFG(sn),v.LFG(v.R0b),v.LFG(f.K0))},L.\u0275prov=v.Yz7({token:L,factory:L.\u0275fac,providedIn:"root"}),L})(),en=(()=>{class L{constructor(N,de,Fe){this._elementRef=N,this._focusTrapFactory=de,this._previouslyFocusedElement=null,this.focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement,!0)}get enabled(){return this.focusTrap.enabled}set enabled(N){this.focusTrap.enabled=(0,ye.Ig)(N)}get autoCapture(){return this._autoCapture}set autoCapture(N){this._autoCapture=(0,ye.Ig)(N)}ngOnDestroy(){this.focusTrap.destroy(),this._previouslyFocusedElement&&(this._previouslyFocusedElement.focus(),this._previouslyFocusedElement=null)}ngAfterContentInit(){this.focusTrap.attachAnchors(),this.autoCapture&&this._captureFocus()}ngDoCheck(){this.focusTrap.hasAttached()||this.focusTrap.attachAnchors()}ngOnChanges(N){const de=N.autoCapture;de&&!de.firstChange&&this.autoCapture&&this.focusTrap.hasAttached()&&this._captureFocus()}_captureFocus(){this._previouslyFocusedElement=(0,T.ht)(),this.focusTrap.focusInitialElementWhenReady()}}return L.\u0275fac=function(N){return new(N||L)(v.Y36(v.SBq),v.Y36(wt),v.Y36(f.K0))},L.\u0275dir=v.lG2({type:L,selectors:[["","cdkTrapFocus",""]],inputs:{enabled:["cdkTrapFocus","enabled"],autoCapture:["cdkTrapFocusAutoCapture","autoCapture"]},exportAs:["cdkTrapFocus"],features:[v.TTD]}),L})();function Ye(L){return 0===L.buttons||0===L.offsetX&&0===L.offsetY}function O(L){const X=L.touches&&L.touches[0]||L.changedTouches&&L.changedTouches[0];return!(!X||-1!==X.identifier||null!=X.radiusX&&1!==X.radiusX||null!=X.radiusY&&1!==X.radiusY)}const G=new v.OlP("cdk-input-modality-detector-options"),be={ignoreKeys:[Q.zL,Q.jx,Q.b2,Q.MW,Q.JU]},re=(0,T.i$)({passive:!0,capture:!0});let F=(()=>{class L{constructor(N,de,Fe,ot){this._platform=N,this._mostRecentTarget=null,this._modality=new V.X(null),this._lastTouchMs=0,this._onKeydown=Rt=>{this._options?.ignoreKeys?.some(Vt=>Vt===Rt.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=(0,T.sA)(Rt))},this._onMousedown=Rt=>{Date.now()-this._lastTouchMs<650||(this._modality.next(Ye(Rt)?"keyboard":"mouse"),this._mostRecentTarget=(0,T.sA)(Rt))},this._onTouchstart=Rt=>{O(Rt)?this._modality.next("keyboard"):(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=(0,T.sA)(Rt))},this._options={...be,...ot},this.modalityDetected=this._modality.pipe((0,Ie.T)(1)),this.modalityChanged=this.modalityDetected.pipe((0,he.x)()),N.isBrowser&&de.runOutsideAngular(()=>{Fe.addEventListener("keydown",this._onKeydown,re),Fe.addEventListener("mousedown",this._onMousedown,re),Fe.addEventListener("touchstart",this._onTouchstart,re)})}get mostRecentModality(){return this._modality.value}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,re),document.removeEventListener("mousedown",this._onMousedown,re),document.removeEventListener("touchstart",this._onTouchstart,re))}}return L.\u0275fac=function(N){return new(N||L)(v.LFG(T.t4),v.LFG(v.R0b),v.LFG(f.K0),v.LFG(G,8))},L.\u0275prov=v.Yz7({token:L,factory:L.\u0275fac,providedIn:"root"}),L})();const k=new v.OlP("liveAnnouncerElement",{providedIn:"root",factory:function Me(){return null}}),Pe=new v.OlP("LIVE_ANNOUNCER_DEFAULT_OPTIONS");let je=(()=>{class L{constructor(N,de,Fe,ot){this._ngZone=de,this._defaultOptions=ot,this._document=Fe,this._liveElement=N||this._createLiveElement()}announce(N,...de){const Fe=this._defaultOptions;let ot,Rt;return 1===de.length&&"number"==typeof de[0]?Rt=de[0]:[ot,Rt]=de,this.clear(),clearTimeout(this._previousTimeout),ot||(ot=Fe&&Fe.politeness?Fe.politeness:"polite"),null==Rt&&Fe&&(Rt=Fe.duration),this._liveElement.setAttribute("aria-live",ot),this._ngZone.runOutsideAngular(()=>(this._currentPromise||(this._currentPromise=new Promise(Vt=>this._currentResolve=Vt)),clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=N,"number"==typeof Rt&&(this._previousTimeout=setTimeout(()=>this.clear(),Rt)),this._currentResolve(),this._currentPromise=this._currentResolve=void 0},100),this._currentPromise))}clear(){this._liveElement&&(this._liveElement.textContent="")}ngOnDestroy(){clearTimeout(this._previousTimeout),this._liveElement?.remove(),this._liveElement=null,this._currentResolve?.(),this._currentPromise=this._currentResolve=void 0}_createLiveElement(){const N="cdk-live-announcer-element",de=this._document.getElementsByClassName(N),Fe=this._document.createElement("div");for(let ot=0;ot<de.length;ot++)de[ot].remove();return Fe.classList.add(N),Fe.classList.add("cdk-visually-hidden"),Fe.setAttribute("aria-atomic","true"),Fe.setAttribute("aria-live","polite"),this._document.body.appendChild(Fe),Fe}}return L.\u0275fac=function(N){return new(N||L)(v.LFG(k,8),v.LFG(v.R0b),v.LFG(f.K0),v.LFG(Pe,8))},L.\u0275prov=v.Yz7({token:L,factory:L.\u0275fac,providedIn:"root"}),L})();const Ve=new v.OlP("cdk-focus-monitor-default-options"),ue=(0,T.i$)({passive:!0,capture:!0});let P=(()=>{class L{constructor(N,de,Fe,ot,Rt){this._ngZone=N,this._platform=de,this._inputModalityDetector=Fe,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 R.x,this._rootNodeFocusAndBlurListener=Vt=>{for(let jt=(0,T.sA)(Vt);jt;jt=jt.parentElement)"focus"===Vt.type?this._onFocus(Vt,jt):this._onBlur(Vt,jt)},this._document=ot,this._detectionMode=Rt?.detectionMode||0}monitor(N,de=!1){const Fe=(0,ye.fI)(N);if(!this._platform.isBrowser||1!==Fe.nodeType)return(0,se.of)(null);const ot=(0,T.kV)(Fe)||this._getDocument(),Rt=this._elementInfo.get(Fe);if(Rt)return de&&(Rt.checkChildren=!0),Rt.subject;const Vt={checkChildren:de,subject:new R.x,rootNode:ot};return this._elementInfo.set(Fe,Vt),this._registerGlobalListeners(Vt),Vt.subject}stopMonitoring(N){const de=(0,ye.fI)(N),Fe=this._elementInfo.get(de);Fe&&(Fe.subject.complete(),this._setClasses(de),this._elementInfo.delete(de),this._removeGlobalListeners(Fe))}focusVia(N,de,Fe){const ot=(0,ye.fI)(N);ot===this._getDocument().activeElement?this._getClosestElementsInfo(ot).forEach(([Vt,Xn])=>this._originChanged(Vt,de,Xn)):(this._setOrigin(de),"function"==typeof ot.focus&&ot.focus(Fe))}ngOnDestroy(){this._elementInfo.forEach((N,de)=>this.stopMonitoring(de))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(N){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(N)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:N&&this._isLastInteractionFromInputLabel(N)?"mouse":"program"}_shouldBeAttributedToTouch(N){return 1===this._detectionMode||!!N?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(N,de){N.classList.toggle("cdk-focused",!!de),N.classList.toggle("cdk-touch-focused","touch"===de),N.classList.toggle("cdk-keyboard-focused","keyboard"===de),N.classList.toggle("cdk-mouse-focused","mouse"===de),N.classList.toggle("cdk-program-focused","program"===de)}_setOrigin(N,de=!1){this._ngZone.runOutsideAngular(()=>{this._origin=N,this._originFromTouchInteraction="touch"===N&&de,0===this._detectionMode&&(clearTimeout(this._originTimeoutId),this._originTimeoutId=setTimeout(()=>this._origin=null,this._originFromTouchInteraction?650:1))})}_onFocus(N,de){const Fe=this._elementInfo.get(de),ot=(0,T.sA)(N);!Fe||!Fe.checkChildren&&de!==ot||this._originChanged(de,this._getFocusOrigin(ot),Fe)}_onBlur(N,de){const Fe=this._elementInfo.get(de);!Fe||Fe.checkChildren&&N.relatedTarget instanceof Node&&de.contains(N.relatedTarget)||(this._setClasses(de),this._emitOrigin(Fe,null))}_emitOrigin(N,de){N.subject.observers.length&&this._ngZone.run(()=>N.subject.next(de))}_registerGlobalListeners(N){if(!this._platform.isBrowser)return;const de=N.rootNode,Fe=this._rootNodeFocusListenerCount.get(de)||0;Fe||this._ngZone.runOutsideAngular(()=>{de.addEventListener("focus",this._rootNodeFocusAndBlurListener,ue),de.addEventListener("blur",this._rootNodeFocusAndBlurListener,ue)}),this._rootNodeFocusListenerCount.set(de,Fe+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe((0,Ee.R)(this._stopInputModalityDetector)).subscribe(ot=>{this._setOrigin(ot,!0)}))}_removeGlobalListeners(N){const de=N.rootNode;if(this._rootNodeFocusListenerCount.has(de)){const Fe=this._rootNodeFocusListenerCount.get(de);Fe>1?this._rootNodeFocusListenerCount.set(de,Fe-1):(de.removeEventListener("focus",this._rootNodeFocusAndBlurListener,ue),de.removeEventListener("blur",this._rootNodeFocusAndBlurListener,ue),this._rootNodeFocusListenerCount.delete(de))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(N,de,Fe){this._setClasses(N,de),this._emitOrigin(Fe,de),this._lastFocusOrigin=de}_getClosestElementsInfo(N){const de=[];return this._elementInfo.forEach((Fe,ot)=>{(ot===N||Fe.checkChildren&&ot.contains(N))&&de.push([ot,Fe])}),de}_isLastInteractionFromInputLabel(N){const{_mostRecentTarget:de,mostRecentModality:Fe}=this._inputModalityDetector;if("mouse"!==Fe||!de||de===N||"INPUT"!==N.nodeName&&"TEXTAREA"!==N.nodeName||N.disabled)return!1;const ot=N.labels;if(ot)for(let Rt=0;Rt<ot.length;Rt++)if(ot[Rt].contains(de))return!0;return!1}}return L.\u0275fac=function(N){return new(N||L)(v.LFG(v.R0b),v.LFG(T.t4),v.LFG(F),v.LFG(f.K0,8),v.LFG(Ve,8))},L.\u0275prov=v.Yz7({token:L,factory:L.\u0275fac,providedIn:"root"}),L})(),me=(()=>{class L{constructor(N,de){this._elementRef=N,this._focusMonitor=de,this._focusOrigin=null,this.cdkFocusChange=new v.vpe}get focusOrigin(){return this._focusOrigin}ngAfterViewInit(){const N=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(N,1===N.nodeType&&N.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(de=>{this._focusOrigin=de,this.cdkFocusChange.emit(de)})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription&&this._monitorSubscription.unsubscribe()}}return L.\u0275fac=function(N){return new(N||L)(v.Y36(v.SBq),v.Y36(P))},L.\u0275dir=v.lG2({type:L,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"},exportAs:["cdkMonitorFocus"]}),L})();const We="cdk-high-contrast-black-on-white",He="cdk-high-contrast-white-on-black",oe="cdk-high-contrast-active";let q=(()=>{class L{constructor(N,de){this._platform=N,this._document=de,this._breakpointSubscription=(0,v.f3M)(ht.Yg).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return 0;const N=this._document.createElement("div");N.style.backgroundColor="rgb(1,2,3)",N.style.position="absolute",this._document.body.appendChild(N);const de=this._document.defaultView||window,Fe=de&&de.getComputedStyle?de.getComputedStyle(N):null,ot=(Fe&&Fe.backgroundColor||"").replace(/ /g,"");switch(N.remove(),ot){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return 2;case"rgb(255,255,255)":case"rgb(255,250,239)":return 1}return 0}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){const N=this._document.body.classList;N.remove(oe,We,He),this._hasCheckedHighContrastMode=!0;const de=this.getHighContrastMode();1===de?N.add(oe,We):2===de&&N.add(oe,He)}}}return L.\u0275fac=function(N){return new(N||L)(v.LFG(T.t4),v.LFG(f.K0))},L.\u0275prov=v.Yz7({token:L,factory:L.\u0275fac,providedIn:"root"}),L})(),Z=(()=>{class L{constructor(N){N._applyBodyHighContrastModeCssClasses()}}return L.\u0275fac=function(N){return new(N||L)(v.LFG(q))},L.\u0275mod=v.oAB({type:L}),L.\u0275inj=v.cJS({imports:[Ue.Q8]}),L})()},40445:(rt,_e,_)=>{_.d(_e,{Is:()=>se,vT:()=>Y});var f=_(94650),v=_(36895);const T=new f.OlP("cdk-dir-doc",{providedIn:"root",factory:function R(){return(0,f.f3M)(v.K0)}}),B=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;let se=(()=>{class ${constructor(H){if(this.value="ltr",this.change=new f.vpe,H){const Ie=H.documentElement?H.documentElement.dir:null;this.value=function V($){const z=$?.toLowerCase()||"";return"auto"===z&&typeof navigator<"u"&&navigator?.language?B.test(navigator.language)?"rtl":"ltr":"rtl"===z?"rtl":"ltr"}((H.body?H.body.dir:null)||Ie||"ltr")}}ngOnDestroy(){this.change.complete()}}return $.\u0275fac=function(H){return new(H||$)(f.LFG(T,8))},$.\u0275prov=f.Yz7({token:$,factory:$.\u0275fac,providedIn:"root"}),$})(),Y=(()=>{class ${}return $.\u0275fac=function(H){return new(H||$)},$.\u0275mod=f.oAB({type:$}),$.\u0275inj=f.cJS({}),$})()},21281:(rt,_e,_)=>{_.d(_e,{Eq:()=>B,HM:()=>V,Ig:()=>v,du:()=>Q,fI:()=>se,su:()=>T,t6:()=>R});var f=_(94650);function v(Y){return null!=Y&&"false"!=`${Y}`}function T(Y,$=0){return R(Y)?Number(Y):$}function R(Y){return!isNaN(parseFloat(Y))&&!isNaN(Number(Y))}function B(Y){return Array.isArray(Y)?Y:[Y]}function V(Y){return null==Y?"":"string"==typeof Y?Y:`${Y}px`}function se(Y){return Y instanceof f.SBq?Y.nativeElement:Y}function Q(Y,$=/\s+/){const z=[];if(null!=Y){const H=Array.isArray(Y)?Y:`${Y}`.split($);for(const Se of H){const Ie=`${Se}`.trim();Ie&&z.push(Ie)}}return z}},95017:(rt,_e,_)=>{_.d(_e,{A8:()=>Se,Ov:()=>z,P3:()=>Q,Z9:()=>se,eX:()=>$,k:()=>Ie,o2:()=>V,yy:()=>Y});var f=_(94033),v=_(45191),T=_(39646),R=_(77579),B=_(94650);class V{}function se(he){return he&&"function"==typeof he.connect&&!(he instanceof f.c)}class Q extends V{constructor(Ee){super(),this._data=Ee}connect(){return(0,v.b)(this._data)?this._data:(0,T.of)(this._data)}disconnect(){}}class Y{applyChanges(Ee,ye,Ue,ht,ut){Ee.forEachOperation((Oe,K,ve)=>{let ce,Te;if(null==Oe.previousIndex){const Ge=Ue(Oe,K,ve);ce=ye.createEmbeddedView(Ge.templateRef,Ge.context,Ge.index),Te=1}else null==ve?(ye.remove(K),Te=3):(ce=ye.get(K),ye.move(ce,ve),Te=2);ut&&ut({context:ce?.context,operation:Te,record:Oe})})}detach(){}}class ${constructor(){this.viewCacheSize=20,this._viewCache=[]}applyChanges(Ee,ye,Ue,ht,ut){Ee.forEachOperation((Oe,K,ve)=>{let ce,Te;null==Oe.previousIndex?(ce=this._insertView(()=>Ue(Oe,K,ve),ve,ye,ht(Oe)),Te=ce?1:0):null==ve?(this._detachAndCacheView(K,ye),Te=3):(ce=this._moveView(K,ve,ye,ht(Oe)),Te=2),ut&&ut({context:ce?.context,operation:Te,record:Oe})})}detach(){for(const Ee of this._viewCache)Ee.destroy();this._viewCache=[]}_insertView(Ee,ye,Ue,ht){const ut=this._insertViewFromCache(ye,Ue);if(ut)return void(ut.context.$implicit=ht);const Oe=Ee();return Ue.createEmbeddedView(Oe.templateRef,Oe.context,Oe.index)}_detachAndCacheView(Ee,ye){const Ue=ye.detach(Ee);this._maybeCacheView(Ue,ye)}_moveView(Ee,ye,Ue,ht){const ut=Ue.get(Ee);return Ue.move(ut,ye),ut.context.$implicit=ht,ut}_maybeCacheView(Ee,ye){if(this._viewCache.length<this.viewCacheSize)this._viewCache.push(Ee);else{const Ue=ye.indexOf(Ee);-1===Ue?Ee.destroy():ye.remove(Ue)}}_insertViewFromCache(Ee,ye){const Ue=this._viewCache.pop();return Ue&&ye.insert(Ue,Ee),Ue||null}}class z{constructor(Ee=!1,ye,Ue=!0,ht){this._multiple=Ee,this._emitChanges=Ue,this.compareWith=ht,this._selection=new Set,this._deselectedToEmit=[],this._selectedToEmit=[],this.changed=new R.x,ye&&ye.length&&(Ee?ye.forEach(ut=>this._markSelected(ut)):this._markSelected(ye[0]),this._selectedToEmit.length=0)}get selected(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}select(...Ee){this._verifyValueAssignment(Ee),Ee.forEach(Ue=>this._markSelected(Ue));const ye=this._hasQueuedChanges();return this._emitChangeEvent(),ye}deselect(...Ee){this._verifyValueAssignment(Ee),Ee.forEach(Ue=>this._unmarkSelected(Ue));const ye=this._hasQueuedChanges();return this._emitChangeEvent(),ye}setSelection(...Ee){this._verifyValueAssignment(Ee);const ye=this.selected,Ue=new Set(Ee);Ee.forEach(ut=>this._markSelected(ut)),ye.filter(ut=>!Ue.has(ut)).forEach(ut=>this._unmarkSelected(ut));const ht=this._hasQueuedChanges();return this._emitChangeEvent(),ht}toggle(Ee){return this.isSelected(Ee)?this.deselect(Ee):this.select(Ee)}clear(Ee=!0){this._unmarkAll();const ye=this._hasQueuedChanges();return Ee&&this._emitChangeEvent(),ye}isSelected(Ee){if(this.compareWith){for(const ye of this._selection)if(this.compareWith(ye,Ee))return!0;return!1}return this._selection.has(Ee)}isEmpty(){return 0===this._selection.size}hasValue(){return!this.isEmpty()}sort(Ee){this._multiple&&this.selected&&this._selected.sort(Ee)}isMultipleSelection(){return this._multiple}_emitChangeEvent(){this._selected=null,(this._selectedToEmit.length||this._deselectedToEmit.length)&&(this.changed.next({source:this,added:this._selectedToEmit,removed:this._deselectedToEmit}),this._deselectedToEmit=[],this._selectedToEmit=[])}_markSelected(Ee){this.isSelected(Ee)||(this._multiple||this._unmarkAll(),this.isSelected(Ee)||this._selection.add(Ee),this._emitChanges&&this._selectedToEmit.push(Ee))}_unmarkSelected(Ee){this.isSelected(Ee)&&(this._selection.delete(Ee),this._emitChanges&&this._deselectedToEmit.push(Ee))}_unmarkAll(){this.isEmpty()||this._selection.forEach(Ee=>this._unmarkSelected(Ee))}_verifyValueAssignment(Ee){}_hasQueuedChanges(){return!(!this._deselectedToEmit.length&&!this._selectedToEmit.length)}}let Se=(()=>{class he{constructor(){this._listeners=[]}notify(ye,Ue){for(let ht of this._listeners)ht(ye,Ue)}listen(ye){return this._listeners.push(ye),()=>{this._listeners=this._listeners.filter(Ue=>ye!==Ue)}}ngOnDestroy(){this._listeners=[]}}return he.\u0275fac=function(ye){return new(ye||he)},he.\u0275prov=B.Yz7({token:he,factory:he.\u0275fac,providedIn:"root"}),he})();const Ie=new B.OlP("_ViewRepeater")},97855:(rt,_e,_)=>{_.d(_e,{LL:()=>Ee,Su:()=>Ge,Vq:()=>ce,ib:()=>Ie});var f=_(12687),v=_(98184),T=_(83353),R=_(84080),B=_(36895),V=_(94650),se=_(29521),Q=_(77579),Y=_(49770),$=_(39646),z=_(40445),H=_(68675);function Se(xe,it){}class Ie{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 Ee=(()=>{class xe extends R.en{constructor(De,$e,Ke,Et,$t,Tt,sn,tn){super(),this._elementRef=De,this._focusTrapFactory=$e,this._config=Et,this._interactivityChecker=$t,this._ngZone=Tt,this._overlayRef=sn,this._focusMonitor=tn,this._elementFocusedBeforeDialogWasOpened=null,this._closeInteractionType=null,this.attachDomPortal=Ot=>{this._portalOutlet.hasAttached();const Ae=this._portalOutlet.attachDomPortal(Ot);return this._contentAttached(),Ae},this._ariaLabelledBy=this._config.ariaLabelledBy||null,this._document=Ke}_contentAttached(){this._initializeFocusTrap(),this._handleBackdropClicks(),this._captureInitialFocus()}_captureInitialFocus(){this._trapFocus()}ngOnDestroy(){this._restoreFocus()}attachComponentPortal(De){this._portalOutlet.hasAttached();const $e=this._portalOutlet.attachComponentPortal(De);return this._contentAttached(),$e}attachTemplatePortal(De){this._portalOutlet.hasAttached();const $e=this._portalOutlet.attachTemplatePortal(De);return this._contentAttached(),$e}_recaptureFocus(){this._containsFocus()||this._trapFocus()}_forceFocus(De,$e){this._interactivityChecker.isFocusable(De)||(De.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{const Ke=()=>{De.removeEventListener("blur",Ke),De.removeEventListener("mousedown",Ke),De.removeAttribute("tabindex")};De.addEventListener("blur",Ke),De.addEventListener("mousedown",Ke)})),De.focus($e)}_focusByCssSelector(De,$e){let Ke=this._elementRef.nativeElement.querySelector(De);Ke&&this._forceFocus(Ke,$e)}_trapFocus(){const De=this._elementRef.nativeElement;switch(this._config.autoFocus){case!1:case"dialog":this._containsFocus()||De.focus();break;case!0:case"first-tabbable":this._focusTrap.focusInitialElementWhenReady().then($e=>{$e||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 De=this._config.restoreFocus;let $e=null;if("string"==typeof De?$e=this._document.querySelector(De):"boolean"==typeof De?$e=De?this._elementFocusedBeforeDialogWasOpened:null:De&&($e=De),this._config.restoreFocus&&$e&&"function"==typeof $e.focus){const Ke=(0,T.ht)(),Et=this._elementRef.nativeElement;(!Ke||Ke===this._document.body||Ke===Et||Et.contains(Ke))&&(this._focusMonitor?(this._focusMonitor.focusVia($e,this._closeInteractionType),this._closeInteractionType=null):$e.focus())}this._focusTrap&&this._focusTrap.destroy()}_focusDialogContainer(){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus()}_containsFocus(){const De=this._elementRef.nativeElement,$e=(0,T.ht)();return De===$e||De.contains($e)}_initializeFocusTrap(){this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._document&&(this._elementFocusedBeforeDialogWasOpened=(0,T.ht)())}_handleBackdropClicks(){this._overlayRef.backdropClick().subscribe(()=>{this._config.disableClose&&this._recaptureFocus()})}}return xe.\u0275fac=function(De){return new(De||xe)(V.Y36(V.SBq),V.Y36(f.qV),V.Y36(B.K0,8),V.Y36(Ie),V.Y36(f.ic),V.Y36(V.R0b),V.Y36(v.Iu),V.Y36(f.tE))},xe.\u0275cmp=V.Xpm({type:xe,selectors:[["cdk-dialog-container"]],viewQuery:function(De,$e){if(1&De&&V.Gf(R.Pl,7),2&De){let Ke;V.iGM(Ke=V.CRH())&&($e._portalOutlet=Ke.first)}},hostAttrs:["tabindex","-1",1,"cdk-dialog-container"],hostVars:6,hostBindings:function(De,$e){2&De&&V.uIk("id",$e._config.id||null)("role",$e._config.role)("aria-modal",$e._config.ariaModal)("aria-labelledby",$e._config.ariaLabel?null:$e._ariaLabelledBy)("aria-label",$e._config.ariaLabel)("aria-describedby",$e._config.ariaDescribedBy||null)},features:[V.qOj],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(De,$e){1&De&&V.YNc(0,Se,0,0,"ng-template",0)},dependencies:[R.Pl],styles:[".cdk-dialog-container{display:block;width:100%;height:100%;min-height:inherit;max-height:inherit}"],encapsulation:2}),xe})();class ye{constructor(it,De){this.overlayRef=it,this.config=De,this.closed=new Q.x,this.disableClose=De.disableClose,this.backdropClick=it.backdropClick(),this.keydownEvents=it.keydownEvents(),this.outsidePointerEvents=it.outsidePointerEvents(),this.id=De.id,this.keydownEvents.subscribe($e=>{$e.keyCode===se.hY&&!this.disableClose&&!(0,se.Vb)($e)&&($e.preventDefault(),this.close(void 0,{focusOrigin:"keyboard"}))}),this.backdropClick.subscribe(()=>{this.disableClose||this.close(void 0,{focusOrigin:"mouse"})})}close(it,De){if(this.containerInstance){const $e=this.closed;this.containerInstance._closeInteractionType=De?.focusOrigin||"program",this.overlayRef.dispose(),$e.next(it),$e.complete(),this.componentInstance=this.containerInstance=null}}updatePosition(){return this.overlayRef.updatePosition(),this}updateSize(it="",De=""){return this.overlayRef.updateSize({width:it,height:De}),this}addPanelClass(it){return this.overlayRef.addPanelClass(it),this}removePanelClass(it){return this.overlayRef.removePanelClass(it),this}}const Ue=new V.OlP("DialogScrollStrategy"),ht=new V.OlP("DialogData"),ut=new V.OlP("DefaultDialogConfig"),K={provide:Ue,deps:[v.aV],useFactory:function Oe(xe){return()=>xe.scrollStrategies.block()}};let ve=0,ce=(()=>{class xe{constructor(De,$e,Ke,Et,$t,Tt){this._overlay=De,this._injector=$e,this._defaultOptions=Ke,this._parentDialog=Et,this._overlayContainer=$t,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new Q.x,this._afterOpenedAtThisLevel=new Q.x,this._ariaHiddenElements=new Map,this.afterAllClosed=(0,Y.P)(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe((0,H.O)(void 0))),this._scrollStrategy=Tt}get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}open(De,$e){($e={...this._defaultOptions||new Ie,...$e}).id=$e.id||"cdk-dialog-"+ve++,$e.id&&this.getDialogById($e.id);const Et=this._getOverlayConfig($e),$t=this._overlay.create(Et),Tt=new ye($t,$e),sn=this._attachContainer($t,Tt,$e);return Tt.containerInstance=sn,this._attachDialogContent(De,Tt,sn,$e),this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(Tt),Tt.closed.subscribe(()=>this._removeOpenDialog(Tt,!0)),this.afterOpened.next(Tt),Tt}closeAll(){Te(this.openDialogs,De=>De.close())}getDialogById(De){return this.openDialogs.find($e=>$e.id===De)}ngOnDestroy(){Te(this._openDialogsAtThisLevel,De=>{!1===De.config.closeOnDestroy&&this._removeOpenDialog(De,!1)}),Te(this._openDialogsAtThisLevel,De=>De.close()),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete(),this._openDialogsAtThisLevel=[]}_getOverlayConfig(De){const $e=new v.X_({positionStrategy:De.positionStrategy||this._overlay.position().global().centerHorizontally().centerVertically(),scrollStrategy:De.scrollStrategy||this._scrollStrategy(),panelClass:De.panelClass,hasBackdrop:De.hasBackdrop,direction:De.direction,minWidth:De.minWidth,minHeight:De.minHeight,maxWidth:De.maxWidth,maxHeight:De.maxHeight,width:De.width,height:De.height,disposeOnNavigation:De.closeOnNavigation});return De.backdropClass&&($e.backdropClass=De.backdropClass),$e}_attachContainer(De,$e,Ke){const Et=Ke.injector||Ke.viewContainerRef?.injector,$t=[{provide:Ie,useValue:Ke},{provide:ye,useValue:$e},{provide:v.Iu,useValue:De}];let Tt;Ke.container?"function"==typeof Ke.container?Tt=Ke.container:(Tt=Ke.container.type,$t.push(...Ke.container.providers(Ke))):Tt=Ee;const sn=new R.C5(Tt,Ke.viewContainerRef,V.zs3.create({parent:Et||this._injector,providers:$t}),Ke.componentFactoryResolver);return De.attach(sn).instance}_attachDialogContent(De,$e,Ke,Et){if(De instanceof V.Rgc){const $t=this._createInjector(Et,$e,Ke,void 0);let Tt={$implicit:Et.data,dialogRef:$e};Et.templateContext&&(Tt={...Tt,..."function"==typeof Et.templateContext?Et.templateContext():Et.templateContext}),Ke.attachTemplatePortal(new R.UE(De,null,Tt,$t))}else{const $t=this._createInjector(Et,$e,Ke,this._injector),Tt=Ke.attachComponentPortal(new R.C5(De,Et.viewContainerRef,$t,Et.componentFactoryResolver));$e.componentInstance=Tt.instance}}_createInjector(De,$e,Ke,Et){const $t=De.injector||De.viewContainerRef?.injector,Tt=[{provide:ht,useValue:De.data},{provide:ye,useValue:$e}];return De.providers&&("function"==typeof De.providers?Tt.push(...De.providers($e,De,Ke)):Tt.push(...De.providers)),De.direction&&(!$t||!$t.get(z.Is,null,V.XFs.Optional))&&Tt.push({provide:z.Is,useValue:{value:De.direction,change:(0,$.of)()}}),V.zs3.create({parent:$t||Et,providers:Tt})}_removeOpenDialog(De,$e){const Ke=this.openDialogs.indexOf(De);Ke>-1&&(this.openDialogs.splice(Ke,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((Et,$t)=>{Et?$t.setAttribute("aria-hidden",Et):$t.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),$e&&this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(){const De=this._overlayContainer.getContainerElement();if(De.parentElement){const $e=De.parentElement.children;for(let Ke=$e.length-1;Ke>-1;Ke--){const Et=$e[Ke];Et!==De&&"SCRIPT"!==Et.nodeName&&"STYLE"!==Et.nodeName&&!Et.hasAttribute("aria-live")&&(this._ariaHiddenElements.set(Et,Et.getAttribute("aria-hidden")),Et.setAttribute("aria-hidden","true"))}}}_getAfterAllClosed(){const De=this._parentDialog;return De?De._getAfterAllClosed():this._afterAllClosedAtThisLevel}}return xe.\u0275fac=function(De){return new(De||xe)(V.LFG(v.aV),V.LFG(V.zs3),V.LFG(ut,8),V.LFG(xe,12),V.LFG(v.Xj),V.LFG(Ue))},xe.\u0275prov=V.Yz7({token:xe,factory:xe.\u0275fac}),xe})();function Te(xe,it){let De=xe.length;for(;De--;)it(xe[De])}let Ge=(()=>{class xe{}return xe.\u0275fac=function(De){return new(De||xe)},xe.\u0275mod=V.oAB({type:xe}),xe.\u0275inj=V.cJS({providers:[ce,K],imports:[v.U8,R.eL,f.rt,R.eL]}),xe})()},29521:(rt,_e,_)=>{_.d(_e,{A:()=>Ne,JH:()=>ut,JU:()=>V,K5:()=>B,Ku:()=>Se,LH:()=>Ue,L_:()=>H,MW:()=>Pe,Mf:()=>T,OC:()=>Jn,SV:()=>ht,Sd:()=>Ee,VM:()=>Ie,Vb:()=>tr,Z:()=>Me,ZH:()=>v,aO:()=>Tt,b2:()=>xn,hY:()=>z,jx:()=>se,oh:()=>ye,uR:()=>he,xE:()=>Te,yY:()=>ce,zL:()=>Q});const v=8,T=9,B=13,V=16,se=17,Q=18,z=27,H=32,Se=33,Ie=34,he=35,Ee=36,ye=37,Ue=38,ht=39,ut=40,ce=46,Te=48,Tt=57,Ne=65,Me=90,Pe=91,Jn=188,xn=224;function tr(ln,...Ar){return Ar.length?Ar.some(An=>ln[An]):ln.altKey||ln.shiftKey||ln.ctrlKey||ln.metaKey}},62289:(rt,_e,_)=>{_.d(_e,{Yg:()=>ut,u3:()=>K});var f=_(94650),v=_(21281),T=_(77579),R=_(39841),B=_(97272),V=_(69751),se=_(95698),Q=_(35684),Y=_(78372),$=_(54004),z=_(68675),H=_(82722),Se=_(83353);const he=new Set;let Ee,ye=(()=>{class ve{constructor(Te){this._platform=Te,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):ht}matchMedia(Te){return(this._platform.WEBKIT||this._platform.BLINK)&&function Ue(ve){if(!he.has(ve))try{Ee||(Ee=document.createElement("style"),Ee.setAttribute("type","text/css"),document.head.appendChild(Ee)),Ee.sheet&&(Ee.sheet.insertRule(`@media ${ve} {body{ }}`,0),he.add(ve))}catch(ce){console.error(ce)}}(Te),this._matchMedia(Te)}}return ve.\u0275fac=function(Te){return new(Te||ve)(f.LFG(Se.t4))},ve.\u0275prov=f.Yz7({token:ve,factory:ve.\u0275fac,providedIn:"root"}),ve})();function ht(ve){return{matches:"all"===ve||""===ve,media:ve,addListener:()=>{},removeListener:()=>{}}}let ut=(()=>{class ve{constructor(Te,Ge){this._mediaMatcher=Te,this._zone=Ge,this._queries=new Map,this._destroySubject=new T.x}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(Te){return Oe((0,v.Eq)(Te)).some(xe=>this._registerQuery(xe).mql.matches)}observe(Te){const xe=Oe((0,v.Eq)(Te)).map(De=>this._registerQuery(De).observable);let it=(0,R.a)(xe);return it=(0,B.z)(it.pipe((0,se.q)(1)),it.pipe((0,Q.T)(1),(0,Y.b)(0))),it.pipe((0,$.U)(De=>{const $e={matches:!1,breakpoints:{}};return De.forEach(({matches:Ke,query:Et})=>{$e.matches=$e.matches||Ke,$e.breakpoints[Et]=Ke}),$e}))}_registerQuery(Te){if(this._queries.has(Te))return this._queries.get(Te);const Ge=this._mediaMatcher.matchMedia(Te),it={observable:new V.y(De=>{const $e=Ke=>this._zone.run(()=>De.next(Ke));return Ge.addListener($e),()=>{Ge.removeListener($e)}}).pipe((0,z.O)(Ge),(0,$.U)(({matches:De})=>({query:Te,matches:De})),(0,H.R)(this._destroySubject)),mql:Ge};return this._queries.set(Te,it),it}}return ve.\u0275fac=function(Te){return new(Te||ve)(f.LFG(ye),f.LFG(f.R0b))},ve.\u0275prov=f.Yz7({token:ve,factory:ve.\u0275fac,providedIn:"root"}),ve})();function Oe(ve){return ve.map(ce=>ce.split(",")).reduce((ce,Te)=>ce.concat(Te)).map(ce=>ce.trim())}const K={XSmall:"(max-width: 599.98px)",Small:"(min-width: 600px) and (max-width: 959.98px)",Medium:"(min-width: 960px) and (max-width: 1279.98px)",Large:"(min-width: 1280px) and (max-width: 1919.98px)",XLarge:"(min-width: 1920px)",Handset:"(max-width: 599.98px) and (orientation: portrait), (max-width: 959.98px) and (orientation: landscape)",Tablet:"(min-width: 600px) and (max-width: 839.98px) and (orientation: portrait), (min-width: 960px) and (max-width: 1279.98px) and (orientation: landscape)",Web:"(min-width: 840px) and (orientation: portrait), (min-width: 1280px) and (orientation: landscape)",HandsetPortrait:"(max-width: 599.98px) and (orientation: portrait)",TabletPortrait:"(min-width: 600px) and (max-width: 839.98px) and (orientation: portrait)",WebPortrait:"(min-width: 840px) and (orientation: portrait)",HandsetLandscape:"(max-width: 959.98px) and (orientation: landscape)",TabletLandscape:"(min-width: 960px) and (max-width: 1279.98px) and (orientation: landscape)",WebLandscape:"(min-width: 1280px) and (orientation: landscape)"}},49643:(rt,_e,_)=>{_.d(_e,{Q8:()=>Y,wD:()=>Q});var f=_(21281),v=_(94650),T=_(69751),R=_(77579),B=_(78372);let V=(()=>{class ${create(H){return typeof MutationObserver>"u"?null:new MutationObserver(H)}}return $.\u0275fac=function(H){return new(H||$)},$.\u0275prov=v.Yz7({token:$,factory:$.\u0275fac,providedIn:"root"}),$})(),se=(()=>{class ${constructor(H){this._mutationObserverFactory=H,this._observedElements=new Map}ngOnDestroy(){this._observedElements.forEach((H,Se)=>this._cleanupObserver(Se))}observe(H){const Se=(0,f.fI)(H);return new T.y(Ie=>{const Ee=this._observeElement(Se).subscribe(Ie);return()=>{Ee.unsubscribe(),this._unobserveElement(Se)}})}_observeElement(H){if(this._observedElements.has(H))this._observedElements.get(H).count++;else{const Se=new R.x,Ie=this._mutationObserverFactory.create(he=>Se.next(he));Ie&&Ie.observe(H,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(H,{observer:Ie,stream:Se,count:1})}return this._observedElements.get(H).stream}_unobserveElement(H){this._observedElements.has(H)&&(this._observedElements.get(H).count--,this._observedElements.get(H).count||this._cleanupObserver(H))}_cleanupObserver(H){if(this._observedElements.has(H)){const{observer:Se,stream:Ie}=this._observedElements.get(H);Se&&Se.disconnect(),Ie.complete(),this._observedElements.delete(H)}}}return $.\u0275fac=function(H){return new(H||$)(v.LFG(V))},$.\u0275prov=v.Yz7({token:$,factory:$.\u0275fac,providedIn:"root"}),$})(),Q=(()=>{class ${constructor(H,Se,Ie){this._contentObserver=H,this._elementRef=Se,this._ngZone=Ie,this.event=new v.vpe,this._disabled=!1,this._currentSubscription=null}get disabled(){return this._disabled}set disabled(H){this._disabled=(0,f.Ig)(H),this._disabled?this._unsubscribe():this._subscribe()}get debounce(){return this._debounce}set debounce(H){this._debounce=(0,f.su)(H),this._subscribe()}ngAfterContentInit(){!this._currentSubscription&&!this.disabled&&this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();const H=this._contentObserver.observe(this._elementRef);this._ngZone.runOutsideAngular(()=>{this._currentSubscription=(this.debounce?H.pipe((0,B.b)(this.debounce)):H).subscribe(this.event)})}_unsubscribe(){this._currentSubscription?.unsubscribe()}}return $.\u0275fac=function(H){return new(H||$)(v.Y36(se),v.Y36(v.SBq),v.Y36(v.R0b))},$.\u0275dir=v.lG2({type:$,selectors:[["","cdkObserveContent",""]],inputs:{disabled:["cdkObserveContentDisabled","disabled"],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]}),$})(),Y=(()=>{class ${}return $.\u0275fac=function(H){return new(H||$)},$.\u0275mod=v.oAB({type:$}),$.\u0275inj=v.cJS({providers:[V]}),$})()},98184:(rt,_e,_)=>{_.d(_e,{Iu:()=>Tt,U8:()=>st,X_:()=>ce,Xj:()=>$t,_G:()=>Ot,aV:()=>dt,pI:()=>Nt,xu:()=>en});var f=_(4409),v=_(36895),T=_(94650),R=_(21281),B=_(83353),V=_(40445),se=_(84080),Q=_(77579),Y=_(50727),$=_(56451),z=_(95698),H=_(82722),Se=_(22529),Ie=_(29521);const he=(0,B.Mq)();class Ee{constructor(O,G){this._viewportRuler=O,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=G}attach(){}enable(){if(this._canBeEnabled()){const O=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=O.style.left||"",this._previousHTMLStyles.top=O.style.top||"",O.style.left=(0,R.HM)(-this._previousScrollPosition.left),O.style.top=(0,R.HM)(-this._previousScrollPosition.top),O.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const O=this._document.documentElement,be=O.style,ke=this._document.body.style,re=be.scrollBehavior||"",F=ke.scrollBehavior||"";this._isEnabled=!1,be.left=this._previousHTMLStyles.left,be.top=this._previousHTMLStyles.top,O.classList.remove("cdk-global-scrollblock"),he&&(be.scrollBehavior=ke.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),he&&(be.scrollBehavior=re,ke.scrollBehavior=F)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const G=this._document.body,be=this._viewportRuler.getViewportSize();return G.scrollHeight>be.height||G.scrollWidth>be.width}}class Ue{constructor(O,G,be,ke){this._scrollDispatcher=O,this._ngZone=G,this._viewportRuler=be,this._config=ke,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(O){this._overlayRef=O}enable(){if(this._scrollSubscription)return;const O=this._scrollDispatcher.scrolled(0);this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=O.subscribe(()=>{const G=this._viewportRuler.getViewportScrollPosition().top;Math.abs(G-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=O.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}class ht{enable(){}disable(){}attach(){}}function ut(Ye,O){return O.some(G=>Ye.bottom<G.top||Ye.top>G.bottom||Ye.right<G.left||Ye.left>G.right)}function Oe(Ye,O){return O.some(G=>Ye.top<G.top||Ye.bottom>G.bottom||Ye.left<G.left||Ye.right>G.right)}class K{constructor(O,G,be,ke){this._scrollDispatcher=O,this._viewportRuler=G,this._ngZone=be,this._config=ke,this._scrollSubscription=null}attach(O){this._overlayRef=O}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 G=this._overlayRef.overlayElement.getBoundingClientRect(),{width:be,height:ke}=this._viewportRuler.getViewportSize();ut(G,[{width:be,height:ke,bottom:ke,right:be,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 ve=(()=>{class Ye{constructor(G,be,ke,re){this._scrollDispatcher=G,this._viewportRuler=be,this._ngZone=ke,this.noop=()=>new ht,this.close=F=>new Ue(this._scrollDispatcher,this._ngZone,this._viewportRuler,F),this.block=()=>new Ee(this._viewportRuler,this._document),this.reposition=F=>new K(this._scrollDispatcher,this._viewportRuler,this._ngZone,F),this._document=re}}return Ye.\u0275fac=function(G){return new(G||Ye)(T.LFG(f.mF),T.LFG(f.rL),T.LFG(T.R0b),T.LFG(v.K0))},Ye.\u0275prov=T.Yz7({token:Ye,factory:Ye.\u0275fac,providedIn:"root"}),Ye})();class ce{constructor(O){if(this.scrollStrategy=new ht,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,O){const G=Object.keys(O);for(const be of G)void 0!==O[be]&&(this[be]=O[be])}}}class xe{constructor(O,G){this.connectionPair=O,this.scrollableViewProperties=G}}let $e=(()=>{class Ye{constructor(G){this._attachedOverlays=[],this._document=G}ngOnDestroy(){this.detach()}add(G){this.remove(G),this._attachedOverlays.push(G)}remove(G){const be=this._attachedOverlays.indexOf(G);be>-1&&this._attachedOverlays.splice(be,1),0===this._attachedOverlays.length&&this.detach()}}return Ye.\u0275fac=function(G){return new(G||Ye)(T.LFG(v.K0))},Ye.\u0275prov=T.Yz7({token:Ye,factory:Ye.\u0275fac,providedIn:"root"}),Ye})(),Ke=(()=>{class Ye extends $e{constructor(G,be){super(G),this._ngZone=be,this._keydownListener=ke=>{const re=this._attachedOverlays;for(let F=re.length-1;F>-1;F--)if(re[F]._keydownEvents.observers.length>0){const k=re[F]._keydownEvents;this._ngZone?this._ngZone.run(()=>k.next(ke)):k.next(ke);break}}}add(G){super.add(G),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 Ye.\u0275fac=function(G){return new(G||Ye)(T.LFG(v.K0),T.LFG(T.R0b,8))},Ye.\u0275prov=T.Yz7({token:Ye,factory:Ye.\u0275fac,providedIn:"root"}),Ye})(),Et=(()=>{class Ye extends $e{constructor(G,be,ke){super(G),this._platform=be,this._ngZone=ke,this._cursorStyleIsSet=!1,this._pointerDownListener=re=>{this._pointerDownEventTarget=(0,B.sA)(re)},this._clickListener=re=>{const F=(0,B.sA)(re),k="click"===re.type&&this._pointerDownEventTarget?this._pointerDownEventTarget:F;this._pointerDownEventTarget=null;const Me=this._attachedOverlays.slice();for(let Pe=Me.length-1;Pe>-1;Pe--){const je=Me[Pe];if(je._outsidePointerEvents.observers.length<1||!je.hasAttached())continue;if(je.overlayElement.contains(F)||je.overlayElement.contains(k))break;const ct=je._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>ct.next(re)):ct.next(re)}}}add(G){if(super.add(G),!this._isAttached){const be=this._document.body;this._ngZone?this._ngZone.runOutsideAngular(()=>this._addEventListeners(be)):this._addEventListeners(be),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=be.style.cursor,be.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){const G=this._document.body;G.removeEventListener("pointerdown",this._pointerDownListener,!0),G.removeEventListener("click",this._clickListener,!0),G.removeEventListener("auxclick",this._clickListener,!0),G.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(G.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}_addEventListeners(G){G.addEventListener("pointerdown",this._pointerDownListener,!0),G.addEventListener("click",this._clickListener,!0),G.addEventListener("auxclick",this._clickListener,!0),G.addEventListener("contextmenu",this._clickListener,!0)}}return Ye.\u0275fac=function(G){return new(G||Ye)(T.LFG(v.K0),T.LFG(B.t4),T.LFG(T.R0b,8))},Ye.\u0275prov=T.Yz7({token:Ye,factory:Ye.\u0275fac,providedIn:"root"}),Ye})(),$t=(()=>{class Ye{constructor(G,be){this._platform=be,this._document=G}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const G="cdk-overlay-container";if(this._platform.isBrowser||(0,B.Oy)()){const ke=this._document.querySelectorAll(`.${G}[platform="server"], .${G}[platform="test"]`);for(let re=0;re<ke.length;re++)ke[re].remove()}const be=this._document.createElement("div");be.classList.add(G),(0,B.Oy)()?be.setAttribute("platform","test"):this._platform.isBrowser||be.setAttribute("platform","server"),this._document.body.appendChild(be),this._containerElement=be}}return Ye.\u0275fac=function(G){return new(G||Ye)(T.LFG(v.K0),T.LFG(B.t4))},Ye.\u0275prov=T.Yz7({token:Ye,factory:Ye.\u0275fac,providedIn:"root"}),Ye})();class Tt{constructor(O,G,be,ke,re,F,k,Me,Pe,je=!1){this._portalOutlet=O,this._host=G,this._pane=be,this._config=ke,this._ngZone=re,this._keyboardDispatcher=F,this._document=k,this._location=Me,this._outsideClickDispatcher=Pe,this._animationsDisabled=je,this._backdropElement=null,this._backdropClick=new Q.x,this._attachments=new Q.x,this._detachments=new Q.x,this._locationChanges=Y.w0.EMPTY,this._backdropClickHandler=ct=>this._backdropClick.next(ct),this._backdropTransitionendHandler=ct=>{this._disposeBackdrop(ct.target)},this._keydownEvents=new Q.x,this._outsidePointerEvents=new Q.x,ke.scrollStrategy&&(this._scrollStrategy=ke.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=ke.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(O){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);const G=this._portalOutlet.attach(O);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe((0,z.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 G?.onDestroy&&G.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),G}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();const O=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),O}dispose(){const O=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,O&&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(O){O!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=O,this.hasAttached()&&(O.attach(this),this.updatePosition()))}updateSize(O){this._config={...this._config,...O},this._updateElementSize()}setDirection(O){this._config={...this._config,direction:O},this._updateElementDirection()}addPanelClass(O){this._pane&&this._toggleClasses(this._pane,O,!0)}removePanelClass(O){this._pane&&this._toggleClasses(this._pane,O,!1)}getDirection(){const O=this._config.direction;return O?"string"==typeof O?O:O.value:"ltr"}updateScrollStrategy(O){O!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=O,this.hasAttached()&&(O.attach(this),O.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const O=this._pane.style;O.width=(0,R.HM)(this._config.width),O.height=(0,R.HM)(this._config.height),O.minWidth=(0,R.HM)(this._config.minWidth),O.minHeight=(0,R.HM)(this._config.minHeight),O.maxWidth=(0,R.HM)(this._config.maxWidth),O.maxHeight=(0,R.HM)(this._config.maxHeight)}_togglePointerEvents(O){this._pane.style.pointerEvents=O?"":"none"}_attachBackdrop(){const O="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(O)})}):this._backdropElement.classList.add(O)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){const O=this._backdropElement;if(O){if(this._animationsDisabled)return void this._disposeBackdrop(O);O.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{O.addEventListener("transitionend",this._backdropTransitionendHandler)}),O.style.pointerEvents="none",this._backdropTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(()=>{this._disposeBackdrop(O)},500))}}_toggleClasses(O,G,be){const ke=(0,R.Eq)(G||[]).filter(re=>!!re);ke.length&&(be?O.classList.add(...ke):O.classList.remove(...ke))}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const O=this._ngZone.onStable.pipe((0,H.R)((0,$.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()),O.unsubscribe())})})}_disposeScrollStrategy(){const O=this._scrollStrategy;O&&(O.disable(),O.detach&&O.detach())}_disposeBackdrop(O){O&&(O.removeEventListener("click",this._backdropClickHandler),O.removeEventListener("transitionend",this._backdropTransitionendHandler),O.remove(),this._backdropElement===O&&(this._backdropElement=null)),this._backdropTimeout&&(clearTimeout(this._backdropTimeout),this._backdropTimeout=void 0)}}const sn="cdk-overlay-connected-position-bounding-box",tn=/([A-Za-z%]+)$/;class Ot{constructor(O,G,be,ke,re){this._viewportRuler=G,this._document=be,this._platform=ke,this._overlayContainer=re,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 Q.x,this._resizeSubscription=Y.w0.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(O)}get positions(){return this._preferredPositions}attach(O){this._validatePositions(),O.hostElement.classList.add(sn),this._overlayRef=O,this._boundingBox=O.hostElement,this._pane=O.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 O=this._originRect,G=this._overlayRect,be=this._viewportRect,ke=this._containerRect,re=[];let F;for(let k of this._preferredPositions){let Me=this._getOriginPoint(O,ke,k),Pe=this._getOverlayPoint(Me,G,k),je=this._getOverlayFit(Pe,G,be,k);if(je.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(k,Me);this._canFitWithFlexibleDimensions(je,Pe,be)?re.push({position:k,origin:Me,overlayRect:G,boundingBoxRect:this._calculateBoundingBoxRect(Me,k)}):(!F||F.overlayFit.visibleArea<je.visibleArea)&&(F={overlayFit:je,overlayPoint:Pe,originPoint:Me,position:k,overlayRect:G})}if(re.length){let k=null,Me=-1;for(const Pe of re){const je=Pe.boundingBoxRect.width*Pe.boundingBoxRect.height*(Pe.position.weight||1);je>Me&&(Me=je,k=Pe)}return this._isPushed=!1,void this._applyPosition(k.position,k.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(F.position,F.originPoint);this._applyPosition(F.position,F.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&Ae(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(sn),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;const O=this._lastPosition;if(O){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const G=this._getOriginPoint(this._originRect,this._containerRect,O);this._applyPosition(O,G)}else this.apply()}withScrollableContainers(O){return this._scrollables=O,this}withPositions(O){return this._preferredPositions=O,-1===O.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(O){return this._viewportMargin=O,this}withFlexibleDimensions(O=!0){return this._hasFlexibleDimensions=O,this}withGrowAfterOpen(O=!0){return this._growAfterOpen=O,this}withPush(O=!0){return this._canPush=O,this}withLockedPosition(O=!0){return this._positionLocked=O,this}setOrigin(O){return this._origin=O,this}withDefaultOffsetX(O){return this._offsetX=O,this}withDefaultOffsetY(O){return this._offsetY=O,this}withTransformOriginOn(O){return this._transformOriginSelector=O,this}_getOriginPoint(O,G,be){let ke,re;if("center"==be.originX)ke=O.left+O.width/2;else{const F=this._isRtl()?O.right:O.left,k=this._isRtl()?O.left:O.right;ke="start"==be.originX?F:k}return G.left<0&&(ke-=G.left),re="center"==be.originY?O.top+O.height/2:"top"==be.originY?O.top:O.bottom,G.top<0&&(re-=G.top),{x:ke,y:re}}_getOverlayPoint(O,G,be){let ke,re;return ke="center"==be.overlayX?-G.width/2:"start"===be.overlayX?this._isRtl()?-G.width:0:this._isRtl()?0:-G.width,re="center"==be.overlayY?-G.height/2:"top"==be.overlayY?0:-G.height,{x:O.x+ke,y:O.y+re}}_getOverlayFit(O,G,be,ke){const re=fe(G);let{x:F,y:k}=O,Me=this._getOffset(ke,"x"),Pe=this._getOffset(ke,"y");Me&&(F+=Me),Pe&&(k+=Pe);let Ve=0-k,ue=k+re.height-be.height,P=this._subtractOverflows(re.width,0-F,F+re.width-be.width),me=this._subtractOverflows(re.height,Ve,ue),We=P*me;return{visibleArea:We,isCompletelyWithinViewport:re.width*re.height===We,fitsInViewportVertically:me===re.height,fitsInViewportHorizontally:P==re.width}}_canFitWithFlexibleDimensions(O,G,be){if(this._hasFlexibleDimensions){const ke=be.bottom-G.y,re=be.right-G.x,F=Ne(this._overlayRef.getConfig().minHeight),k=Ne(this._overlayRef.getConfig().minWidth),Pe=O.fitsInViewportHorizontally||null!=k&&k<=re;return(O.fitsInViewportVertically||null!=F&&F<=ke)&&Pe}return!1}_pushOverlayOnScreen(O,G,be){if(this._previousPushAmount&&this._positionLocked)return{x:O.x+this._previousPushAmount.x,y:O.y+this._previousPushAmount.y};const ke=fe(G),re=this._viewportRect,F=Math.max(O.x+ke.width-re.width,0),k=Math.max(O.y+ke.height-re.height,0),Me=Math.max(re.top-be.top-O.y,0),Pe=Math.max(re.left-be.left-O.x,0);let je=0,ct=0;return je=ke.width<=re.width?Pe||-F:O.x<this._viewportMargin?re.left-be.left-O.x:0,ct=ke.height<=re.height?Me||-k:O.y<this._viewportMargin?re.top-be.top-O.y:0,this._previousPushAmount={x:je,y:ct},{x:O.x+je,y:O.y+ct}}_applyPosition(O,G){if(this._setTransformOrigin(O),this._setOverlayElementStyles(G,O),this._setBoundingBoxStyles(G,O),O.panelClass&&this._addPanelClasses(O.panelClass),this._lastPosition=O,this._positionChanges.observers.length){const be=this._getScrollVisibility(),ke=new xe(O,be);this._positionChanges.next(ke)}this._isInitialRender=!1}_setTransformOrigin(O){if(!this._transformOriginSelector)return;const G=this._boundingBox.querySelectorAll(this._transformOriginSelector);let be,ke=O.overlayY;be="center"===O.overlayX?"center":this._isRtl()?"start"===O.overlayX?"right":"left":"start"===O.overlayX?"left":"right";for(let re=0;re<G.length;re++)G[re].style.transformOrigin=`${be} ${ke}`}_calculateBoundingBoxRect(O,G){const be=this._viewportRect,ke=this._isRtl();let re,F,k,je,ct,Ve;if("top"===G.overlayY)F=O.y,re=be.height-F+this._viewportMargin;else if("bottom"===G.overlayY)k=be.height-O.y+2*this._viewportMargin,re=be.height-k+this._viewportMargin;else{const ue=Math.min(be.bottom-O.y+be.top,O.y),P=this._lastBoundingBoxSize.height;re=2*ue,F=O.y-ue,re>P&&!this._isInitialRender&&!this._growAfterOpen&&(F=O.y-P/2)}if("end"===G.overlayX&&!ke||"start"===G.overlayX&&ke)Ve=be.width-O.x+this._viewportMargin,je=O.x-this._viewportMargin;else if("start"===G.overlayX&&!ke||"end"===G.overlayX&&ke)ct=O.x,je=be.right-O.x;else{const ue=Math.min(be.right-O.x+be.left,O.x),P=this._lastBoundingBoxSize.width;je=2*ue,ct=O.x-ue,je>P&&!this._isInitialRender&&!this._growAfterOpen&&(ct=O.x-P/2)}return{top:F,left:ct,bottom:k,right:Ve,width:je,height:re}}_setBoundingBoxStyles(O,G){const be=this._calculateBoundingBoxRect(O,G);!this._isInitialRender&&!this._growAfterOpen&&(be.height=Math.min(be.height,this._lastBoundingBoxSize.height),be.width=Math.min(be.width,this._lastBoundingBoxSize.width));const ke={};if(this._hasExactPosition())ke.top=ke.left="0",ke.bottom=ke.right=ke.maxHeight=ke.maxWidth="",ke.width=ke.height="100%";else{const re=this._overlayRef.getConfig().maxHeight,F=this._overlayRef.getConfig().maxWidth;ke.height=(0,R.HM)(be.height),ke.top=(0,R.HM)(be.top),ke.bottom=(0,R.HM)(be.bottom),ke.width=(0,R.HM)(be.width),ke.left=(0,R.HM)(be.left),ke.right=(0,R.HM)(be.right),ke.alignItems="center"===G.overlayX?"center":"end"===G.overlayX?"flex-end":"flex-start",ke.justifyContent="center"===G.overlayY?"center":"bottom"===G.overlayY?"flex-end":"flex-start",re&&(ke.maxHeight=(0,R.HM)(re)),F&&(ke.maxWidth=(0,R.HM)(F))}this._lastBoundingBoxSize=be,Ae(this._boundingBox.style,ke)}_resetBoundingBoxStyles(){Ae(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){Ae(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(O,G){const be={},ke=this._hasExactPosition(),re=this._hasFlexibleDimensions,F=this._overlayRef.getConfig();if(ke){const je=this._viewportRuler.getViewportScrollPosition();Ae(be,this._getExactOverlayY(G,O,je)),Ae(be,this._getExactOverlayX(G,O,je))}else be.position="static";let k="",Me=this._getOffset(G,"x"),Pe=this._getOffset(G,"y");Me&&(k+=`translateX(${Me}px) `),Pe&&(k+=`translateY(${Pe}px)`),be.transform=k.trim(),F.maxHeight&&(ke?be.maxHeight=(0,R.HM)(F.maxHeight):re&&(be.maxHeight="")),F.maxWidth&&(ke?be.maxWidth=(0,R.HM)(F.maxWidth):re&&(be.maxWidth="")),Ae(this._pane.style,be)}_getExactOverlayY(O,G,be){let ke={top:"",bottom:""},re=this._getOverlayPoint(G,this._overlayRect,O);return this._isPushed&&(re=this._pushOverlayOnScreen(re,this._overlayRect,be)),"bottom"===O.overlayY?ke.bottom=this._document.documentElement.clientHeight-(re.y+this._overlayRect.height)+"px":ke.top=(0,R.HM)(re.y),ke}_getExactOverlayX(O,G,be){let F,ke={left:"",right:""},re=this._getOverlayPoint(G,this._overlayRect,O);return this._isPushed&&(re=this._pushOverlayOnScreen(re,this._overlayRect,be)),F=this._isRtl()?"end"===O.overlayX?"left":"right":"end"===O.overlayX?"right":"left","right"===F?ke.right=this._document.documentElement.clientWidth-(re.x+this._overlayRect.width)+"px":ke.left=(0,R.HM)(re.x),ke}_getScrollVisibility(){const O=this._getOriginRect(),G=this._pane.getBoundingClientRect(),be=this._scrollables.map(ke=>ke.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:Oe(O,be),isOriginOutsideView:ut(O,be),isOverlayClipped:Oe(G,be),isOverlayOutsideView:ut(G,be)}}_subtractOverflows(O,...G){return G.reduce((be,ke)=>be-Math.max(ke,0),O)}_getNarrowedViewportRect(){const O=this._document.documentElement.clientWidth,G=this._document.documentElement.clientHeight,be=this._viewportRuler.getViewportScrollPosition();return{top:be.top+this._viewportMargin,left:be.left+this._viewportMargin,right:be.left+O-this._viewportMargin,bottom:be.top+G-this._viewportMargin,width:O-2*this._viewportMargin,height:G-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(O,G){return"x"===G?O.offsetX??this._offsetX:O.offsetY??this._offsetY}_validatePositions(){}_addPanelClasses(O){this._pane&&(0,R.Eq)(O).forEach(G=>{""!==G&&-1===this._appliedPanelClasses.indexOf(G)&&(this._appliedPanelClasses.push(G),this._pane.classList.add(G))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(O=>{this._pane.classList.remove(O)}),this._appliedPanelClasses=[])}_getOriginRect(){const O=this._origin;if(O instanceof T.SBq)return O.nativeElement.getBoundingClientRect();if(O instanceof Element)return O.getBoundingClientRect();const G=O.width||0,be=O.height||0;return{top:O.y,bottom:O.y+be,left:O.x,right:O.x+G,height:be,width:G}}}function Ae(Ye,O){for(let G in O)O.hasOwnProperty(G)&&(Ye[G]=O[G]);return Ye}function Ne(Ye){if("number"!=typeof Ye&&null!=Ye){const[O,G]=Ye.split(tn);return G&&"px"!==G?null:parseFloat(O)}return Ye||null}function fe(Ye){return{top:Math.floor(Ye.top),right:Math.floor(Ye.right),bottom:Math.floor(Ye.bottom),left:Math.floor(Ye.left),width:Math.floor(Ye.width),height:Math.floor(Ye.height)}}const Ce="cdk-global-overlay-wrapper";class Ze{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._alignItems="",this._xPosition="",this._xOffset="",this._width="",this._height="",this._isDisposed=!1}attach(O){const G=O.getConfig();this._overlayRef=O,this._width&&!G.width&&O.updateSize({width:this._width}),this._height&&!G.height&&O.updateSize({height:this._height}),O.hostElement.classList.add(Ce),this._isDisposed=!1}top(O=""){return this._bottomOffset="",this._topOffset=O,this._alignItems="flex-start",this}left(O=""){return this._xOffset=O,this._xPosition="left",this}bottom(O=""){return this._topOffset="",this._bottomOffset=O,this._alignItems="flex-end",this}right(O=""){return this._xOffset=O,this._xPosition="right",this}start(O=""){return this._xOffset=O,this._xPosition="start",this}end(O=""){return this._xOffset=O,this._xPosition="end",this}width(O=""){return this._overlayRef?this._overlayRef.updateSize({width:O}):this._width=O,this}height(O=""){return this._overlayRef?this._overlayRef.updateSize({height:O}):this._height=O,this}centerHorizontally(O=""){return this.left(O),this._xPosition="center",this}centerVertically(O=""){return this.top(O),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const O=this._overlayRef.overlayElement.style,G=this._overlayRef.hostElement.style,be=this._overlayRef.getConfig(),{width:ke,height:re,maxWidth:F,maxHeight:k}=be,Me=!("100%"!==ke&&"100vw"!==ke||F&&"100%"!==F&&"100vw"!==F),Pe=!("100%"!==re&&"100vh"!==re||k&&"100%"!==k&&"100vh"!==k),je=this._xPosition,ct=this._xOffset,Ve="rtl"===this._overlayRef.getConfig().direction;let ue="",P="",me="";Me?me="flex-start":"center"===je?(me="center",Ve?P=ct:ue=ct):Ve?"left"===je||"end"===je?(me="flex-end",ue=ct):("right"===je||"start"===je)&&(me="flex-start",P=ct):"left"===je||"start"===je?(me="flex-start",ue=ct):("right"===je||"end"===je)&&(me="flex-end",P=ct),O.position=this._cssPosition,O.marginLeft=Me?"0":ue,O.marginTop=Pe?"0":this._topOffset,O.marginBottom=this._bottomOffset,O.marginRight=Me?"0":P,G.justifyContent=me,G.alignItems=Pe?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const O=this._overlayRef.overlayElement.style,G=this._overlayRef.hostElement,be=G.style;G.classList.remove(Ce),be.justifyContent=be.alignItems=O.marginTop=O.marginBottom=O.marginLeft=O.marginRight=O.position="",this._overlayRef=null,this._isDisposed=!0}}let Ct=(()=>{class Ye{constructor(G,be,ke,re){this._viewportRuler=G,this._document=be,this._platform=ke,this._overlayContainer=re}global(){return new Ze}flexibleConnectedTo(G){return new Ot(G,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}return Ye.\u0275fac=function(G){return new(G||Ye)(T.LFG(f.rL),T.LFG(v.K0),T.LFG(B.t4),T.LFG($t))},Ye.\u0275prov=T.Yz7({token:Ye,factory:Ye.\u0275fac,providedIn:"root"}),Ye})(),Pt=0,dt=(()=>{class Ye{constructor(G,be,ke,re,F,k,Me,Pe,je,ct,Ve,ue){this.scrollStrategies=G,this._overlayContainer=be,this._componentFactoryResolver=ke,this._positionBuilder=re,this._keyboardDispatcher=F,this._injector=k,this._ngZone=Me,this._document=Pe,this._directionality=je,this._location=ct,this._outsideClickDispatcher=Ve,this._animationsModuleType=ue}create(G){const be=this._createHostElement(),ke=this._createPaneElement(be),re=this._createPortalOutlet(ke),F=new ce(G);return F.direction=F.direction||this._directionality.value,new Tt(re,be,ke,F,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,"NoopAnimations"===this._animationsModuleType)}position(){return this._positionBuilder}_createPaneElement(G){const be=this._document.createElement("div");return be.id="cdk-overlay-"+Pt++,be.classList.add("cdk-overlay-pane"),G.appendChild(be),be}_createHostElement(){const G=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(G),G}_createPortalOutlet(G){return this._appRef||(this._appRef=this._injector.get(T.z2F)),new se.u0(G,this._componentFactoryResolver,this._appRef,this._injector,this._document)}}return Ye.\u0275fac=function(G){return new(G||Ye)(T.LFG(ve),T.LFG($t),T.LFG(T._Vd),T.LFG(Ct),T.LFG(Ke),T.LFG(T.zs3),T.LFG(T.R0b),T.LFG(v.K0),T.LFG(V.Is),T.LFG(v.Ye),T.LFG(Et),T.LFG(T.QbO,8))},Ye.\u0275prov=T.Yz7({token:Ye,factory:Ye.\u0275fac}),Ye})();const At=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],wt=new T.OlP("cdk-connected-overlay-scroll-strategy");let en=(()=>{class Ye{constructor(G){this.elementRef=G}}return Ye.\u0275fac=function(G){return new(G||Ye)(T.Y36(T.SBq))},Ye.\u0275dir=T.lG2({type:Ye,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"]}),Ye})(),Nt=(()=>{class Ye{constructor(G,be,ke,re,F){this._overlay=G,this._dir=F,this._hasBackdrop=!1,this._lockPosition=!1,this._growAfterOpen=!1,this._flexibleDimensions=!1,this._push=!1,this._backdropSubscription=Y.w0.EMPTY,this._attachSubscription=Y.w0.EMPTY,this._detachSubscription=Y.w0.EMPTY,this._positionSubscription=Y.w0.EMPTY,this.viewportMargin=0,this.open=!1,this.disableClose=!1,this.backdropClick=new T.vpe,this.positionChange=new T.vpe,this.attach=new T.vpe,this.detach=new T.vpe,this.overlayKeydown=new T.vpe,this.overlayOutsideClick=new T.vpe,this._templatePortal=new se.UE(be,ke),this._scrollStrategyFactory=re,this.scrollStrategy=this._scrollStrategyFactory()}get offsetX(){return this._offsetX}set offsetX(G){this._offsetX=G,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(G){this._offsetY=G,this._position&&this._updatePositionStrategy(this._position)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(G){this._hasBackdrop=(0,R.Ig)(G)}get lockPosition(){return this._lockPosition}set lockPosition(G){this._lockPosition=(0,R.Ig)(G)}get flexibleDimensions(){return this._flexibleDimensions}set flexibleDimensions(G){this._flexibleDimensions=(0,R.Ig)(G)}get growAfterOpen(){return this._growAfterOpen}set growAfterOpen(G){this._growAfterOpen=(0,R.Ig)(G)}get push(){return this._push}set push(G){this._push=(0,R.Ig)(G)}get overlayRef(){return this._overlayRef}get dir(){return this._dir?this._dir.value:"ltr"}ngOnDestroy(){this._attachSubscription.unsubscribe(),this._detachSubscription.unsubscribe(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this._overlayRef&&this._overlayRef.dispose()}ngOnChanges(G){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),G.origin&&this.open&&this._position.apply()),G.open&&(this.open?this._attachOverlay():this._detachOverlay())}_createOverlay(){(!this.positions||!this.positions.length)&&(this.positions=At);const G=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=G.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=G.detachments().subscribe(()=>this.detach.emit()),G.keydownEvents().subscribe(be=>{this.overlayKeydown.next(be),be.keyCode===Ie.hY&&!this.disableClose&&!(0,Ie.Vb)(be)&&(be.preventDefault(),this._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(be=>{this.overlayOutsideClick.next(be)})}_buildConfig(){const G=this._position=this.positionStrategy||this._createPositionStrategy(),be=new ce({direction:this._dir,positionStrategy:G,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop});return(this.width||0===this.width)&&(be.width=this.width),(this.height||0===this.height)&&(be.height=this.height),(this.minWidth||0===this.minWidth)&&(be.minWidth=this.minWidth),(this.minHeight||0===this.minHeight)&&(be.minHeight=this.minHeight),this.backdropClass&&(be.backdropClass=this.backdropClass),this.panelClass&&(be.panelClass=this.panelClass),be}_updatePositionStrategy(G){const be=this.positions.map(ke=>({originX:ke.originX,originY:ke.originY,overlayX:ke.overlayX,overlayY:ke.overlayY,offsetX:ke.offsetX||this.offsetX,offsetY:ke.offsetY||this.offsetY,panelClass:ke.panelClass||void 0}));return G.setOrigin(this._getFlexibleConnectedPositionStrategyOrigin()).withPositions(be).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){const G=this._overlay.position().flexibleConnectedTo(this._getFlexibleConnectedPositionStrategyOrigin());return this._updatePositionStrategy(G),G}_getFlexibleConnectedPositionStrategyOrigin(){return this.origin instanceof en?this.origin.elementRef:this.origin}_attachOverlay(){this._overlayRef?this._overlayRef.getConfig().hasBackdrop=this.hasBackdrop:this._createOverlay(),this._overlayRef.hasAttached()||this._overlayRef.attach(this._templatePortal),this.hasBackdrop?this._backdropSubscription=this._overlayRef.backdropClick().subscribe(G=>{this.backdropClick.emit(G)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe((0,Se.o)(()=>this.positionChange.observers.length>0)).subscribe(G=>{this.positionChange.emit(G),0===this.positionChange.observers.length&&this._positionSubscription.unsubscribe()}))}_detachOverlay(){this._overlayRef&&this._overlayRef.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe()}}return Ye.\u0275fac=function(G){return new(G||Ye)(T.Y36(dt),T.Y36(T.Rgc),T.Y36(T.s_b),T.Y36(wt),T.Y36(V.Is,8))},Ye.\u0275dir=T.lG2({type:Ye,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{origin:["cdkConnectedOverlayOrigin","origin"],positions:["cdkConnectedOverlayPositions","positions"],positionStrategy:["cdkConnectedOverlayPositionStrategy","positionStrategy"],offsetX:["cdkConnectedOverlayOffsetX","offsetX"],offsetY:["cdkConnectedOverlayOffsetY","offsetY"],width:["cdkConnectedOverlayWidth","width"],height:["cdkConnectedOverlayHeight","height"],minWidth:["cdkConnectedOverlayMinWidth","minWidth"],minHeight:["cdkConnectedOverlayMinHeight","minHeight"],backdropClass:["cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:["cdkConnectedOverlayPanelClass","panelClass"],viewportMargin:["cdkConnectedOverlayViewportMargin","viewportMargin"],scrollStrategy:["cdkConnectedOverlayScrollStrategy","scrollStrategy"],open:["cdkConnectedOverlayOpen","open"],disableClose:["cdkConnectedOverlayDisableClose","disableClose"],transformOriginSelector:["cdkConnectedOverlayTransformOriginOn","transformOriginSelector"],hasBackdrop:["cdkConnectedOverlayHasBackdrop","hasBackdrop"],lockPosition:["cdkConnectedOverlayLockPosition","lockPosition"],flexibleDimensions:["cdkConnectedOverlayFlexibleDimensions","flexibleDimensions"],growAfterOpen:["cdkConnectedOverlayGrowAfterOpen","growAfterOpen"],push:["cdkConnectedOverlayPush","push"]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],features:[T.TTD]}),Ye})();const Kt={provide:wt,deps:[dt],useFactory:function kt(Ye){return()=>Ye.scrollStrategies.reposition()}};let st=(()=>{class Ye{}return Ye.\u0275fac=function(G){return new(G||Ye)},Ye.\u0275mod=T.oAB({type:Ye}),Ye.\u0275inj=T.cJS({providers:[dt,Kt],imports:[V.vT,se.eL,f.Cl,f.Cl]}),Ye})()},83353:(rt,_e,_)=>{_.d(_e,{Mq:()=>Ie,Oy:()=>Oe,_i:()=>he,ht:()=>ht,i$:()=>z,kV:()=>Ue,qK:()=>Q,sA:()=>ut,t4:()=>R});var f=_(94650),v=_(36895);let T;try{T=typeof Intl<"u"&&Intl.v8BreakIterator}catch{T=!1}let V,R=(()=>{class K{constructor(ce){this._platformId=ce,this.isBrowser=this._platformId?(0,v.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&&!T)&&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 K.\u0275fac=function(ce){return new(ce||K)(f.LFG(f.Lbi))},K.\u0275prov=f.Yz7({token:K,factory:K.\u0275fac,providedIn:"root"}),K})();const se=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function Q(){if(V)return V;if("object"!=typeof document||!document)return V=new Set(se),V;let K=document.createElement("input");return V=new Set(se.filter(ve=>(K.setAttribute("type",ve),K.type===ve))),V}let Y,H,Se,Ee;function z(K){return function $(){if(null==Y&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>Y=!0}))}finally{Y=Y||!1}return Y}()?K:!!K.capture}function Ie(){if(null==Se){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return Se=!1,Se;if("scrollBehavior"in document.documentElement.style)Se=!0;else{const K=Element.prototype.scrollTo;Se=!!K&&!/\{\s*\[native code\]\s*\}/.test(K.toString())}}return Se}function he(){if("object"!=typeof document||!document)return 0;if(null==H){const K=document.createElement("div"),ve=K.style;K.dir="rtl",ve.width="1px",ve.overflow="auto",ve.visibility="hidden",ve.pointerEvents="none",ve.position="absolute";const ce=document.createElement("div"),Te=ce.style;Te.width="2px",Te.height="1px",K.appendChild(ce),document.body.appendChild(K),H=0,0===K.scrollLeft&&(K.scrollLeft=1,H=0===K.scrollLeft?1:2),K.remove()}return H}function Ue(K){if(function ye(){if(null==Ee){const K=typeof document<"u"?document.head:null;Ee=!(!K||!K.createShadowRoot&&!K.attachShadow)}return Ee}()){const ve=K.getRootNode?K.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&ve instanceof ShadowRoot)return ve}return null}function ht(){let K=typeof document<"u"&&document?document.activeElement:null;for(;K&&K.shadowRoot;){const ve=K.shadowRoot.activeElement;if(ve===K)break;K=ve}return K}function ut(K){return K.composedPath?K.composedPath()[0]:K.target}function Oe(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}},84080:(rt,_e,_)=>{_.d(_e,{C5:()=>$,Pl:()=>ht,UE:()=>z,eL:()=>Oe,en:()=>Se,u0:()=>he});var f=_(94650),v=_(36895);class Y{attach(ce){return this._attachedHost=ce,ce.attach(this)}detach(){let ce=this._attachedHost;null!=ce&&(this._attachedHost=null,ce.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(ce){this._attachedHost=ce}}class $ extends Y{constructor(ce,Te,Ge,xe){super(),this.component=ce,this.viewContainerRef=Te,this.injector=Ge,this.componentFactoryResolver=xe}}class z extends Y{constructor(ce,Te,Ge,xe){super(),this.templateRef=ce,this.viewContainerRef=Te,this.context=Ge,this.injector=xe}get origin(){return this.templateRef.elementRef}attach(ce,Te=this.context){return this.context=Te,super.attach(ce)}detach(){return this.context=void 0,super.detach()}}class H extends Y{constructor(ce){super(),this.element=ce instanceof f.SBq?ce.nativeElement:ce}}class Se{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(ce){return ce instanceof $?(this._attachedPortal=ce,this.attachComponentPortal(ce)):ce instanceof z?(this._attachedPortal=ce,this.attachTemplatePortal(ce)):this.attachDomPortal&&ce instanceof H?(this._attachedPortal=ce,this.attachDomPortal(ce)):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(ce){this._disposeFn=ce}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class he extends Se{constructor(ce,Te,Ge,xe,it){super(),this.outletElement=ce,this._componentFactoryResolver=Te,this._appRef=Ge,this._defaultInjector=xe,this.attachDomPortal=De=>{const $e=De.element,Ke=this._document.createComment("dom-portal");$e.parentNode.insertBefore(Ke,$e),this.outletElement.appendChild($e),this._attachedPortal=De,super.setDisposeFn(()=>{Ke.parentNode&&Ke.parentNode.replaceChild($e,Ke)})},this._document=it}attachComponentPortal(ce){const Ge=(ce.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(ce.component);let xe;return ce.viewContainerRef?(xe=ce.viewContainerRef.createComponent(Ge,ce.viewContainerRef.length,ce.injector||ce.viewContainerRef.injector),this.setDisposeFn(()=>xe.destroy())):(xe=Ge.create(ce.injector||this._defaultInjector||f.zs3.NULL),this._appRef.attachView(xe.hostView),this.setDisposeFn(()=>{this._appRef.viewCount>0&&this._appRef.detachView(xe.hostView),xe.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(xe)),this._attachedPortal=ce,xe}attachTemplatePortal(ce){let Te=ce.viewContainerRef,Ge=Te.createEmbeddedView(ce.templateRef,ce.context,{injector:ce.injector});return Ge.rootNodes.forEach(xe=>this.outletElement.appendChild(xe)),Ge.detectChanges(),this.setDisposeFn(()=>{let xe=Te.indexOf(Ge);-1!==xe&&Te.remove(xe)}),this._attachedPortal=ce,Ge}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(ce){return ce.hostView.rootNodes[0]}}let ht=(()=>{class ve extends Se{constructor(Te,Ge,xe){super(),this._componentFactoryResolver=Te,this._viewContainerRef=Ge,this._isInitialized=!1,this.attached=new f.vpe,this.attachDomPortal=it=>{const De=it.element,$e=this._document.createComment("dom-portal");it.setAttachedHost(this),De.parentNode.insertBefore($e,De),this._getRootNode().appendChild(De),this._attachedPortal=it,super.setDisposeFn(()=>{$e.parentNode&&$e.parentNode.replaceChild(De,$e)})},this._document=xe}get portal(){return this._attachedPortal}set portal(Te){this.hasAttached()&&!Te&&!this._isInitialized||(this.hasAttached()&&super.detach(),Te&&super.attach(Te),this._attachedPortal=Te||null)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedPortal=null,this._attachedRef=null}attachComponentPortal(Te){Te.setAttachedHost(this);const Ge=null!=Te.viewContainerRef?Te.viewContainerRef:this._viewContainerRef,it=(Te.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(Te.component),De=Ge.createComponent(it,Ge.length,Te.injector||Ge.injector);return Ge!==this._viewContainerRef&&this._getRootNode().appendChild(De.hostView.rootNodes[0]),super.setDisposeFn(()=>De.destroy()),this._attachedPortal=Te,this._attachedRef=De,this.attached.emit(De),De}attachTemplatePortal(Te){Te.setAttachedHost(this);const Ge=this._viewContainerRef.createEmbeddedView(Te.templateRef,Te.context,{injector:Te.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=Te,this._attachedRef=Ge,this.attached.emit(Ge),Ge}_getRootNode(){const Te=this._viewContainerRef.element.nativeElement;return Te.nodeType===Te.ELEMENT_NODE?Te:Te.parentNode}}return ve.\u0275fac=function(Te){return new(Te||ve)(f.Y36(f._Vd),f.Y36(f.s_b),f.Y36(v.K0))},ve.\u0275dir=f.lG2({type:ve,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:["cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[f.qOj]}),ve})(),Oe=(()=>{class ve{}return ve.\u0275fac=function(Te){return new(Te||ve)},ve.\u0275mod=f.oAB({type:ve}),ve.\u0275inj=f.cJS({}),ve})()},4409:(rt,_e,_)=>{_.d(_e,{xd:()=>Nt,PQ:()=>st,ZD:()=>je,x0:()=>k,N7:()=>re,mF:()=>Kt,Cl:()=>ct,rL:()=>Ye});var f=_(21281),v=_(94650),T=_(77579),R=_(39646),B=_(69751),V=_(54968),se=_(66406),Q=_(84408);let $,Y=1;const z={};function H(Ve){return Ve in z&&(delete z[Ve],!0)}const Se={setImmediate(Ve){const ue=Y++;return z[ue]=!0,$||($=Promise.resolve()),$.then(()=>H(ue)&&Ve()),ue},clearImmediate(Ve){H(Ve)}},{setImmediate:he,clearImmediate:Ee}=Se,ye={setImmediate(...Ve){const{delegate:ue}=ye;return(ue?.setImmediate||he)(...Ve)},clearImmediate(Ve){const{delegate:ue}=ye;return(ue?.clearImmediate||Ee)(Ve)},delegate:void 0};var ht=_(97565);const Oe=new class ut extends ht.v{flush(ue){this._active=!0;const P=this._scheduled;this._scheduled=void 0;const{actions:me}=this;let We;ue=ue||me.shift();do{if(We=ue.execute(ue.state,ue.delay))break}while((ue=me[0])&&ue.id===P&&me.shift());if(this._active=!1,We){for(;(ue=me[0])&&ue.id===P&&me.shift();)ue.unsubscribe();throw We}}}(class Ue extends Q.o{constructor(ue,P){super(ue,P),this.scheduler=ue,this.work=P}requestAsyncId(ue,P,me=0){return null!==me&&me>0?super.requestAsyncId(ue,P,me):(ue.actions.push(this),ue._scheduled||(ue._scheduled=ye.setImmediate(ue.flush.bind(ue,void 0))))}recycleAsyncId(ue,P,me=0){var We;if(null!=me?me>0:this.delay>0)return super.recycleAsyncId(ue,P,me);const{actions:He}=ue;null!=P&&(null===(We=He[He.length-1])||void 0===We?void 0:We.id)!==P&&(ye.clearImmediate(P),ue._scheduled===P&&(ue._scheduled=void 0))}});var ve=_(50727),ce=_(45191),Te=_(71884),Ge=_(34986),xe=_(54482),it=_(38421),De=_(25403),Ke=_(5963);function Et(Ve,ue=Ge.z){return function $e(Ve){return(0,xe.e)((ue,P)=>{let me=!1,We=null,He=null,oe=!1;const q=()=>{if(He?.unsubscribe(),He=null,me){me=!1;const L=We;We=null,P.next(L)}oe&&P.complete()},Z=()=>{He=null,oe&&P.complete()};ue.subscribe((0,De.x)(P,L=>{me=!0,We=L,He||(0,it.Xf)(Ve(L)).subscribe(He=(0,De.x)(P,q,Z))},()=>{oe=!0,(!me||!He||He.closed)&&P.complete()}))})}(()=>(0,Ke.H)(Ve,ue))}var $t=_(39300),Tt=_(82722),sn=_(68675),Ot=_(63900),Ae=_(26063);class Ne extends T.x{constructor(ue=1/0,P=1/0,me=Ae.l){super(),this._bufferSize=ue,this._windowTime=P,this._timestampProvider=me,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=P===1/0,this._bufferSize=Math.max(1,ue),this._windowTime=Math.max(1,P)}next(ue){const{isStopped:P,_buffer:me,_infiniteTimeWindow:We,_timestampProvider:He,_windowTime:oe}=this;P||(me.push(ue),!We&&me.push(He.now()+oe)),this._trimBuffer(),super.next(ue)}_subscribe(ue){this._throwIfClosed(),this._trimBuffer();const P=this._innerSubscribe(ue),{_infiniteTimeWindow:me,_buffer:We}=this,He=We.slice();for(let oe=0;oe<He.length&&!ue.closed;oe+=me?1:2)ue.next(He[oe]);return this._checkFinalizedStatuses(ue),P}_trimBuffer(){const{_bufferSize:ue,_timestampProvider:P,_buffer:me,_infiniteTimeWindow:We}=this,He=(We?1:2)*ue;if(ue<1/0&&He<me.length&&me.splice(0,me.length-He),!We){const oe=P.now();let q=0;for(let Z=1;Z<me.length&&me[Z]<=oe;Z+=2)q=Z;q&&me.splice(0,q+1)}}}var fe=_(13099),pe=_(83353),Ce=_(36895),Ze=_(40445),Ct=_(95017);const Pt=["contentWrapper"],dt=["*"],At=new v.OlP("VIRTUAL_SCROLL_STRATEGY");class wt{constructor(ue,P,me){this._scrolledIndexChange=new T.x,this.scrolledIndexChange=this._scrolledIndexChange.pipe((0,Te.x)()),this._viewport=null,this._itemSize=ue,this._minBufferPx=P,this._maxBufferPx=me}attach(ue){this._viewport=ue,this._updateTotalContentSize(),this._updateRenderedRange()}detach(){this._scrolledIndexChange.complete(),this._viewport=null}updateItemAndBufferSize(ue,P,me){this._itemSize=ue,this._minBufferPx=P,this._maxBufferPx=me,this._updateTotalContentSize(),this._updateRenderedRange()}onContentScrolled(){this._updateRenderedRange()}onDataLengthChanged(){this._updateTotalContentSize(),this._updateRenderedRange()}onContentRendered(){}onRenderedOffsetChanged(){}scrollToIndex(ue,P){this._viewport&&this._viewport.scrollToOffset(ue*this._itemSize,P)}_updateTotalContentSize(){!this._viewport||this._viewport.setTotalContentSize(this._viewport.getDataLength()*this._itemSize)}_updateRenderedRange(){if(!this._viewport)return;const ue=this._viewport.getRenderedRange(),P={start:ue.start,end:ue.end},me=this._viewport.getViewportSize(),We=this._viewport.getDataLength();let He=this._viewport.measureScrollOffset(),oe=this._itemSize>0?He/this._itemSize:0;if(P.end>We){const Z=Math.ceil(me/this._itemSize),L=Math.max(0,Math.min(oe,We-Z));oe!=L&&(oe=L,He=L*this._itemSize,P.start=Math.floor(oe)),P.end=Math.max(0,Math.min(We,P.start+Z))}const q=He-P.start*this._itemSize;if(q<this._minBufferPx&&0!=P.start){const Z=Math.ceil((this._maxBufferPx-q)/this._itemSize);P.start=Math.max(0,P.start-Z),P.end=Math.min(We,Math.ceil(oe+(me+this._minBufferPx)/this._itemSize))}else{const Z=P.end*this._itemSize-(He+me);if(Z<this._minBufferPx&&P.end!=We){const L=Math.ceil((this._maxBufferPx-Z)/this._itemSize);L>0&&(P.end=Math.min(We,P.end+L),P.start=Math.max(0,Math.floor(oe-this._minBufferPx/this._itemSize)))}}this._viewport.setRenderedRange(P),this._viewport.setRenderedContentOffset(this._itemSize*P.start),this._scrolledIndexChange.next(Math.floor(oe))}}function en(Ve){return Ve._scrollStrategy}let Nt=(()=>{class Ve{constructor(){this._itemSize=20,this._minBufferPx=100,this._maxBufferPx=200,this._scrollStrategy=new wt(this.itemSize,this.minBufferPx,this.maxBufferPx)}get itemSize(){return this._itemSize}set itemSize(P){this._itemSize=(0,f.su)(P)}get minBufferPx(){return this._minBufferPx}set minBufferPx(P){this._minBufferPx=(0,f.su)(P)}get maxBufferPx(){return this._maxBufferPx}set maxBufferPx(P){this._maxBufferPx=(0,f.su)(P)}ngOnChanges(){this._scrollStrategy.updateItemAndBufferSize(this.itemSize,this.minBufferPx,this.maxBufferPx)}}return Ve.\u0275fac=function(P){return new(P||Ve)},Ve.\u0275dir=v.lG2({type:Ve,selectors:[["cdk-virtual-scroll-viewport","itemSize",""]],inputs:{itemSize:"itemSize",minBufferPx:"minBufferPx",maxBufferPx:"maxBufferPx"},features:[v._Bn([{provide:At,useFactory:en,deps:[(0,v.Gpc)(()=>Ve)]}]),v.TTD]}),Ve})(),Kt=(()=>{class Ve{constructor(P,me,We){this._ngZone=P,this._platform=me,this._scrolled=new T.x,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=We}register(P){this.scrollContainers.has(P)||this.scrollContainers.set(P,P.elementScrolled().subscribe(()=>this._scrolled.next(P)))}deregister(P){const me=this.scrollContainers.get(P);me&&(me.unsubscribe(),this.scrollContainers.delete(P))}scrolled(P=20){return this._platform.isBrowser?new B.y(me=>{this._globalSubscription||this._addGlobalListener();const We=P>0?this._scrolled.pipe(Et(P)).subscribe(me):this._scrolled.subscribe(me);return this._scrolledCount++,()=>{We.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):(0,R.of)()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((P,me)=>this.deregister(me)),this._scrolled.complete()}ancestorScrolled(P,me){const We=this.getAncestorScrollContainers(P);return this.scrolled(me).pipe((0,$t.h)(He=>!He||We.indexOf(He)>-1))}getAncestorScrollContainers(P){const me=[];return this.scrollContainers.forEach((We,He)=>{this._scrollableContainsElement(He,P)&&me.push(He)}),me}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(P,me){let We=(0,f.fI)(me),He=P.getElementRef().nativeElement;do{if(We==He)return!0}while(We=We.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>{const P=this._getWindow();return(0,V.R)(P.document,"scroll").subscribe(()=>this._scrolled.next())})}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}return Ve.\u0275fac=function(P){return new(P||Ve)(v.LFG(v.R0b),v.LFG(pe.t4),v.LFG(Ce.K0,8))},Ve.\u0275prov=v.Yz7({token:Ve,factory:Ve.\u0275fac,providedIn:"root"}),Ve})(),st=(()=>{class Ve{constructor(P,me,We,He){this.elementRef=P,this.scrollDispatcher=me,this.ngZone=We,this.dir=He,this._destroyed=new T.x,this._elementScrolled=new B.y(oe=>this.ngZone.runOutsideAngular(()=>(0,V.R)(this.elementRef.nativeElement,"scroll").pipe((0,Tt.R)(this._destroyed)).subscribe(oe)))}ngOnInit(){this.scrollDispatcher.register(this)}ngOnDestroy(){this.scrollDispatcher.deregister(this),this._destroyed.next(),this._destroyed.complete()}elementScrolled(){return this._elementScrolled}getElementRef(){return this.elementRef}scrollTo(P){const me=this.elementRef.nativeElement,We=this.dir&&"rtl"==this.dir.value;null==P.left&&(P.left=We?P.end:P.start),null==P.right&&(P.right=We?P.start:P.end),null!=P.bottom&&(P.top=me.scrollHeight-me.clientHeight-P.bottom),We&&0!=(0,pe._i)()?(null!=P.left&&(P.right=me.scrollWidth-me.clientWidth-P.left),2==(0,pe._i)()?P.left=P.right:1==(0,pe._i)()&&(P.left=P.right?-P.right:P.right)):null!=P.right&&(P.left=me.scrollWidth-me.clientWidth-P.right),this._applyScrollToOptions(P)}_applyScrollToOptions(P){const me=this.elementRef.nativeElement;(0,pe.Mq)()?me.scrollTo(P):(null!=P.top&&(me.scrollTop=P.top),null!=P.left&&(me.scrollLeft=P.left))}measureScrollOffset(P){const me="left",He=this.elementRef.nativeElement;if("top"==P)return He.scrollTop;if("bottom"==P)return He.scrollHeight-He.clientHeight-He.scrollTop;const oe=this.dir&&"rtl"==this.dir.value;return"start"==P?P=oe?"right":me:"end"==P&&(P=oe?me:"right"),oe&&2==(0,pe._i)()?P==me?He.scrollWidth-He.clientWidth-He.scrollLeft:He.scrollLeft:oe&&1==(0,pe._i)()?P==me?He.scrollLeft+He.scrollWidth-He.clientWidth:-He.scrollLeft:P==me?He.scrollLeft:He.scrollWidth-He.clientWidth-He.scrollLeft}}return Ve.\u0275fac=function(P){return new(P||Ve)(v.Y36(v.SBq),v.Y36(Kt),v.Y36(v.R0b),v.Y36(Ze.Is,8))},Ve.\u0275dir=v.lG2({type:Ve,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]]}),Ve})(),Ye=(()=>{class Ve{constructor(P,me,We){this._platform=P,this._change=new T.x,this._changeListener=He=>{this._change.next(He)},this._document=We,me.runOutsideAngular(()=>{if(P.isBrowser){const He=this._getWindow();He.addEventListener("resize",this._changeListener),He.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){const P=this._getWindow();P.removeEventListener("resize",this._changeListener),P.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const P={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),P}getViewportRect(){const P=this.getViewportScrollPosition(),{width:me,height:We}=this.getViewportSize();return{top:P.top,left:P.left,bottom:P.top+We,right:P.left+me,height:We,width:me}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const P=this._document,me=this._getWindow(),We=P.documentElement,He=We.getBoundingClientRect();return{top:-He.top||P.body.scrollTop||me.scrollY||We.scrollTop||0,left:-He.left||P.body.scrollLeft||me.scrollX||We.scrollLeft||0}}change(P=20){return P>0?this._change.pipe(Et(P)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const P=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:P.innerWidth,height:P.innerHeight}:{width:0,height:0}}}return Ve.\u0275fac=function(P){return new(P||Ve)(v.LFG(pe.t4),v.LFG(v.R0b),v.LFG(Ce.K0,8))},Ve.\u0275prov=v.Yz7({token:Ve,factory:Ve.\u0275fac,providedIn:"root"}),Ve})();const O=new v.OlP("VIRTUAL_SCROLLABLE");let G=(()=>{class Ve extends st{constructor(P,me,We,He){super(P,me,We,He)}measureViewportSize(P){const me=this.elementRef.nativeElement;return"horizontal"===P?me.clientWidth:me.clientHeight}}return Ve.\u0275fac=function(P){return new(P||Ve)(v.Y36(v.SBq),v.Y36(Kt),v.Y36(v.R0b),v.Y36(Ze.Is,8))},Ve.\u0275dir=v.lG2({type:Ve,features:[v.qOj]}),Ve})();const ke=typeof requestAnimationFrame<"u"?se.Z:Oe;let re=(()=>{class Ve extends G{constructor(P,me,We,He,oe,q,Z,L){super(P,q,We,oe),this.elementRef=P,this._changeDetectorRef=me,this._scrollStrategy=He,this.scrollable=L,this._platform=(0,v.f3M)(pe.t4),this._detachedSubject=new T.x,this._renderedRangeSubject=new T.x,this._orientation="vertical",this._appendOnly=!1,this.scrolledIndexChange=new B.y(X=>this._scrollStrategy.scrolledIndexChange.subscribe(N=>Promise.resolve().then(()=>this.ngZone.run(()=>X.next(N))))),this.renderedRangeStream=this._renderedRangeSubject,this._totalContentSize=0,this._totalContentWidth="",this._totalContentHeight="",this._renderedRange={start:0,end:0},this._dataLength=0,this._viewportSize=0,this._renderedContentOffset=0,this._renderedContentOffsetNeedsRewrite=!1,this._isChangeDetectionPending=!1,this._runAfterChangeDetection=[],this._viewportChanges=ve.w0.EMPTY,this._viewportChanges=Z.change().subscribe(()=>{this.checkViewportSize()}),this.scrollable||(this.elementRef.nativeElement.classList.add("cdk-virtual-scrollable"),this.scrollable=this)}get orientation(){return this._orientation}set orientation(P){this._orientation!==P&&(this._orientation=P,this._calculateSpacerSize())}get appendOnly(){return this._appendOnly}set appendOnly(P){this._appendOnly=(0,f.Ig)(P)}ngOnInit(){!this._platform.isBrowser||(this.scrollable===this&&super.ngOnInit(),this.ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>{this._measureViewportSize(),this._scrollStrategy.attach(this),this.scrollable.elementScrolled().pipe((0,sn.O)(null),Et(0,ke)).subscribe(()=>this._scrollStrategy.onContentScrolled()),this._markChangeDetectionNeeded()})))}ngOnDestroy(){this.detach(),this._scrollStrategy.detach(),this._renderedRangeSubject.complete(),this._detachedSubject.complete(),this._viewportChanges.unsubscribe(),super.ngOnDestroy()}attach(P){this.ngZone.runOutsideAngular(()=>{this._forOf=P,this._forOf.dataStream.pipe((0,Tt.R)(this._detachedSubject)).subscribe(me=>{const We=me.length;We!==this._dataLength&&(this._dataLength=We,this._scrollStrategy.onDataLengthChanged()),this._doChangeDetection()})})}detach(){this._forOf=null,this._detachedSubject.next()}getDataLength(){return this._dataLength}getViewportSize(){return this._viewportSize}getRenderedRange(){return this._renderedRange}measureBoundingClientRectWithScrollOffset(P){return this.getElementRef().nativeElement.getBoundingClientRect()[P]}setTotalContentSize(P){this._totalContentSize!==P&&(this._totalContentSize=P,this._calculateSpacerSize(),this._markChangeDetectionNeeded())}setRenderedRange(P){(function be(Ve,ue){return Ve.start==ue.start&&Ve.end==ue.end})(this._renderedRange,P)||(this.appendOnly&&(P={start:0,end:Math.max(this._renderedRange.end,P.end)}),this._renderedRangeSubject.next(this._renderedRange=P),this._markChangeDetectionNeeded(()=>this._scrollStrategy.onContentRendered()))}getOffsetToRenderedContentStart(){return this._renderedContentOffsetNeedsRewrite?null:this._renderedContentOffset}setRenderedContentOffset(P,me="to-start"){P=this.appendOnly&&"to-start"===me?0:P;const He="horizontal"==this.orientation,oe=He?"X":"Y";let Z=`translate${oe}(${Number((He&&this.dir&&"rtl"==this.dir.value?-1:1)*P)}px)`;this._renderedContentOffset=P,"to-end"===me&&(Z+=` translate${oe}(-100%)`,this._renderedContentOffsetNeedsRewrite=!0),this._renderedContentTransform!=Z&&(this._renderedContentTransform=Z,this._markChangeDetectionNeeded(()=>{this._renderedContentOffsetNeedsRewrite?(this._renderedContentOffset-=this.measureRenderedContentSize(),this._renderedContentOffsetNeedsRewrite=!1,this.setRenderedContentOffset(this._renderedContentOffset)):this._scrollStrategy.onRenderedOffsetChanged()}))}scrollToOffset(P,me="auto"){const We={behavior:me};"horizontal"===this.orientation?We.start=P:We.top=P,this.scrollable.scrollTo(We)}scrollToIndex(P,me="auto"){this._scrollStrategy.scrollToIndex(P,me)}measureScrollOffset(P){let me;return me=this.scrollable==this?We=>super.measureScrollOffset(We):We=>this.scrollable.measureScrollOffset(We),Math.max(0,me(P??("horizontal"===this.orientation?"start":"top"))-this.measureViewportOffset())}measureViewportOffset(P){let me;const oe="rtl"==this.dir?.value;me="start"==P?oe?"right":"left":"end"==P?oe?"left":"right":P||("horizontal"===this.orientation?"left":"top");const q=this.scrollable.measureBoundingClientRectWithScrollOffset(me);return this.elementRef.nativeElement.getBoundingClientRect()[me]-q}measureRenderedContentSize(){const P=this._contentWrapper.nativeElement;return"horizontal"===this.orientation?P.offsetWidth:P.offsetHeight}measureRangeSize(P){return this._forOf?this._forOf.measureRangeSize(P,this.orientation):0}checkViewportSize(){this._measureViewportSize(),this._scrollStrategy.onDataLengthChanged()}_measureViewportSize(){this._viewportSize=this.scrollable.measureViewportSize(this.orientation)}_markChangeDetectionNeeded(P){P&&this._runAfterChangeDetection.push(P),this._isChangeDetectionPending||(this._isChangeDetectionPending=!0,this.ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>{this._doChangeDetection()})))}_doChangeDetection(){this._isChangeDetectionPending=!1,this._contentWrapper.nativeElement.style.transform=this._renderedContentTransform,this.ngZone.run(()=>this._changeDetectorRef.markForCheck());const P=this._runAfterChangeDetection;this._runAfterChangeDetection=[];for(const me of P)me()}_calculateSpacerSize(){this._totalContentHeight="horizontal"===this.orientation?"":`${this._totalContentSize}px`,this._totalContentWidth="horizontal"===this.orientation?`${this._totalContentSize}px`:""}}return Ve.\u0275fac=function(P){return new(P||Ve)(v.Y36(v.SBq),v.Y36(v.sBO),v.Y36(v.R0b),v.Y36(At,8),v.Y36(Ze.Is,8),v.Y36(Kt),v.Y36(Ye),v.Y36(O,8))},Ve.\u0275cmp=v.Xpm({type:Ve,selectors:[["cdk-virtual-scroll-viewport"]],viewQuery:function(P,me){if(1&P&&v.Gf(Pt,7),2&P){let We;v.iGM(We=v.CRH())&&(me._contentWrapper=We.first)}},hostAttrs:[1,"cdk-virtual-scroll-viewport"],hostVars:4,hostBindings:function(P,me){2&P&&v.ekj("cdk-virtual-scroll-orientation-horizontal","horizontal"===me.orientation)("cdk-virtual-scroll-orientation-vertical","horizontal"!==me.orientation)},inputs:{orientation:"orientation",appendOnly:"appendOnly"},outputs:{scrolledIndexChange:"scrolledIndexChange"},features:[v._Bn([{provide:st,useFactory:(ue,P)=>ue||P,deps:[[new v.FiY,new v.tBr(O)],Ve]}]),v.qOj],ngContentSelectors:dt,decls:4,vars:4,consts:[[1,"cdk-virtual-scroll-content-wrapper"],["contentWrapper",""],[1,"cdk-virtual-scroll-spacer"]],template:function(P,me){1&P&&(v.F$t(),v.TgZ(0,"div",0,1),v.Hsn(2),v.qZA(),v._UZ(3,"div",2)),2&P&&(v.xp6(3),v.Udp("width",me._totalContentWidth)("height",me._totalContentHeight))},styles:["cdk-virtual-scroll-viewport{display:block;position:relative;transform:translateZ(0)}.cdk-virtual-scrollable{overflow:auto;will-change:scroll-position;contain:strict;-webkit-overflow-scrolling:touch}.cdk-virtual-scroll-content-wrapper{position:absolute;top:0;left:0;contain:content}[dir=rtl] .cdk-virtual-scroll-content-wrapper{right:0;left:auto}.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper{min-height:100%}.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>dl:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>ol:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>table:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>ul:not([cdkVirtualFor]){padding-left:0;padding-right:0;margin-left:0;margin-right:0;border-left-width:0;border-right-width:0;outline:none}.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper{min-width:100%}.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>dl:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>ol:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>table:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>ul:not([cdkVirtualFor]){padding-top:0;padding-bottom:0;margin-top:0;margin-bottom:0;border-top-width:0;border-bottom-width:0;outline:none}.cdk-virtual-scroll-spacer{height:1px;transform-origin:0 0;flex:0 0 auto}[dir=rtl] .cdk-virtual-scroll-spacer{transform-origin:100% 0}"],encapsulation:2,changeDetection:0}),Ve})();function F(Ve,ue,P){if(!P.getBoundingClientRect)return 0;const We=P.getBoundingClientRect();return"horizontal"===Ve?"start"===ue?We.left:We.right:"start"===ue?We.top:We.bottom}let k=(()=>{class Ve{constructor(P,me,We,He,oe,q){this._viewContainerRef=P,this._template=me,this._differs=We,this._viewRepeater=He,this._viewport=oe,this.viewChange=new T.x,this._dataSourceChanges=new T.x,this.dataStream=this._dataSourceChanges.pipe((0,sn.O)(null),function tn(){return(0,xe.e)((Ve,ue)=>{let P,me=!1;Ve.subscribe((0,De.x)(ue,We=>{const He=P;P=We,me&&ue.next([He,We]),me=!0}))})}(),(0,Ot.w)(([Z,L])=>this._changeDataSource(Z,L)),function ee(Ve,ue,P){let me,We=!1;return Ve&&"object"==typeof Ve?({bufferSize:me=1/0,windowTime:ue=1/0,refCount:We=!1,scheduler:P}=Ve):me=Ve??1/0,(0,fe.B)({connector:()=>new Ne(me,ue,P),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:We})}(1)),this._differ=null,this._needsUpdate=!1,this._destroyed=new T.x,this.dataStream.subscribe(Z=>{this._data=Z,this._onRenderedDataChange()}),this._viewport.renderedRangeStream.pipe((0,Tt.R)(this._destroyed)).subscribe(Z=>{this._renderedRange=Z,this.viewChange.observers.length&&q.run(()=>this.viewChange.next(this._renderedRange)),this._onRenderedDataChange()}),this._viewport.attach(this)}get cdkVirtualForOf(){return this._cdkVirtualForOf}set cdkVirtualForOf(P){this._cdkVirtualForOf=P,(0,Ct.Z9)(P)?this._dataSourceChanges.next(P):this._dataSourceChanges.next(new Ct.P3((0,ce.b)(P)?P:Array.from(P||[])))}get cdkVirtualForTrackBy(){return this._cdkVirtualForTrackBy}set cdkVirtualForTrackBy(P){this._needsUpdate=!0,this._cdkVirtualForTrackBy=P?(me,We)=>P(me+(this._renderedRange?this._renderedRange.start:0),We):void 0}set cdkVirtualForTemplate(P){P&&(this._needsUpdate=!0,this._template=P)}get cdkVirtualForTemplateCacheSize(){return this._viewRepeater.viewCacheSize}set cdkVirtualForTemplateCacheSize(P){this._viewRepeater.viewCacheSize=(0,f.su)(P)}measureRangeSize(P,me){if(P.start>=P.end)return 0;const We=P.start-this._renderedRange.start,He=P.end-P.start;let oe,q;for(let Z=0;Z<He;Z++){const L=this._viewContainerRef.get(Z+We);if(L&&L.rootNodes.length){oe=q=L.rootNodes[0];break}}for(let Z=He-1;Z>-1;Z--){const L=this._viewContainerRef.get(Z+We);if(L&&L.rootNodes.length){q=L.rootNodes[L.rootNodes.length-1];break}}return oe&&q?F(me,"end",q)-F(me,"start",oe):0}ngDoCheck(){if(this._differ&&this._needsUpdate){const P=this._differ.diff(this._renderedItems);P?this._applyChanges(P):this._updateContext(),this._needsUpdate=!1}}ngOnDestroy(){this._viewport.detach(),this._dataSourceChanges.next(void 0),this._dataSourceChanges.complete(),this.viewChange.complete(),this._destroyed.next(),this._destroyed.complete(),this._viewRepeater.detach()}_onRenderedDataChange(){!this._renderedRange||(this._renderedItems=this._data.slice(this._renderedRange.start,this._renderedRange.end),this._differ||(this._differ=this._differs.find(this._renderedItems).create((P,me)=>this.cdkVirtualForTrackBy?this.cdkVirtualForTrackBy(P,me):me)),this._needsUpdate=!0)}_changeDataSource(P,me){return P&&P.disconnect(this),this._needsUpdate=!0,me?me.connect(this):(0,R.of)()}_updateContext(){const P=this._data.length;let me=this._viewContainerRef.length;for(;me--;){const We=this._viewContainerRef.get(me);We.context.index=this._renderedRange.start+me,We.context.count=P,this._updateComputedContextProperties(We.context),We.detectChanges()}}_applyChanges(P){this._viewRepeater.applyChanges(P,this._viewContainerRef,(He,oe,q)=>this._getEmbeddedViewArgs(He,q),He=>He.item),P.forEachIdentityChange(He=>{this._viewContainerRef.get(He.currentIndex).context.$implicit=He.item});const me=this._data.length;let We=this._viewContainerRef.length;for(;We--;){const He=this._viewContainerRef.get(We);He.context.index=this._renderedRange.start+We,He.context.count=me,this._updateComputedContextProperties(He.context)}}_updateComputedContextProperties(P){P.first=0===P.index,P.last=P.index===P.count-1,P.even=P.index%2==0,P.odd=!P.even}_getEmbeddedViewArgs(P,me){return{templateRef:this._template,context:{$implicit:P.item,cdkVirtualForOf:this._cdkVirtualForOf,index:-1,count:-1,first:!1,last:!1,odd:!1,even:!1},index:me}}}return Ve.\u0275fac=function(P){return new(P||Ve)(v.Y36(v.s_b),v.Y36(v.Rgc),v.Y36(v.ZZ4),v.Y36(Ct.k),v.Y36(re,4),v.Y36(v.R0b))},Ve.\u0275dir=v.lG2({type:Ve,selectors:[["","cdkVirtualFor","","cdkVirtualForOf",""]],inputs:{cdkVirtualForOf:"cdkVirtualForOf",cdkVirtualForTrackBy:"cdkVirtualForTrackBy",cdkVirtualForTemplate:"cdkVirtualForTemplate",cdkVirtualForTemplateCacheSize:"cdkVirtualForTemplateCacheSize"},features:[v._Bn([{provide:Ct.k,useClass:Ct.eX}])]}),Ve})(),je=(()=>{class Ve{}return Ve.\u0275fac=function(P){return new(P||Ve)},Ve.\u0275mod=v.oAB({type:Ve}),Ve.\u0275inj=v.cJS({}),Ve})(),ct=(()=>{class Ve{}return Ve.\u0275fac=function(P){return new(P||Ve)},Ve.\u0275mod=v.oAB({type:Ve}),Ve.\u0275inj=v.cJS({imports:[Ze.vT,je,Ze.vT,je]}),Ve})()},36895:(rt,_e,_)=>{_.d(_e,{Do:()=>ut,ED:()=>Ir,EM:()=>Yn,HT:()=>B,JF:()=>ii,JJ:()=>vi,K0:()=>se,Mx:()=>Jr,NF:()=>Di,O5:()=>ln,Ov:()=>Vr,PC:()=>os,PM:()=>ri,RF:()=>Ur,S$:()=>ye,V_:()=>$,Ye:()=>Oe,b0:()=>ht,bD:()=>zr,ez:()=>ds,mk:()=>qt,n9:()=>nr,q:()=>T,sg:()=>rr,tP:()=>as,w_:()=>V});var f=_(94650);let v=null;function T(){return v}function B(p){v||(v=p)}class V{}const se=new f.OlP("DocumentToken");let Q=(()=>{class p{historyGo(m){throw new Error("Not implemented")}}return p.\u0275fac=function(m){return new(m||p)},p.\u0275prov=f.Yz7({token:p,factory:function(){return function Y(){return(0,f.LFG)(z)}()},providedIn:"platform"}),p})();const $=new f.OlP("Location Initialized");let z=(()=>{class p extends Q{constructor(m){super(),this._doc=m,this._init()}_init(){this.location=window.location,this._history=window.history}getBaseHrefFromDOM(){return T().getBaseHref(this._doc)}onPopState(m){const S=T().getGlobalEventTarget(this._doc,"window");return S.addEventListener("popstate",m,!1),()=>S.removeEventListener("popstate",m)}onHashChange(m){const S=T().getGlobalEventTarget(this._doc,"window");return S.addEventListener("hashchange",m,!1),()=>S.removeEventListener("hashchange",m)}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(m){this.location.pathname=m}pushState(m,S,ie){H()?this._history.pushState(m,S,ie):this.location.hash=ie}replaceState(m,S,ie){H()?this._history.replaceState(m,S,ie):this.location.hash=ie}forward(){this._history.forward()}back(){this._history.back()}historyGo(m=0){this._history.go(m)}getState(){return this._history.state}}return p.\u0275fac=function(m){return new(m||p)(f.LFG(se))},p.\u0275prov=f.Yz7({token:p,factory:function(){return function Se(){return new z((0,f.LFG)(se))}()},providedIn:"platform"}),p})();function H(){return!!window.history.pushState}function Ie(p,b){if(0==p.length)return b;if(0==b.length)return p;let m=0;return p.endsWith("/")&&m++,b.startsWith("/")&&m++,2==m?p+b.substring(1):1==m?p+b:p+"/"+b}function he(p){const b=p.match(/#|\?|$/),m=b&&b.index||p.length;return p.slice(0,m-("/"===p[m-1]?1:0))+p.slice(m)}function Ee(p){return p&&"?"!==p[0]?"?"+p:p}let ye=(()=>{class p{historyGo(m){throw new Error("Not implemented")}}return p.\u0275fac=function(m){return new(m||p)},p.\u0275prov=f.Yz7({token:p,factory:function(){return(0,f.f3M)(ht)},providedIn:"root"}),p})();const Ue=new f.OlP("appBaseHref");let ht=(()=>{class p extends ye{constructor(m,S){super(),this._platformLocation=m,this._removeListenerFns=[],this._baseHref=S??this._platformLocation.getBaseHrefFromDOM()??(0,f.f3M)(se).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(m){this._removeListenerFns.push(this._platformLocation.onPopState(m),this._platformLocation.onHashChange(m))}getBaseHref(){return this._baseHref}prepareExternalUrl(m){return Ie(this._baseHref,m)}path(m=!1){const S=this._platformLocation.pathname+Ee(this._platformLocation.search),ie=this._platformLocation.hash;return ie&&m?`${S}${ie}`:S}pushState(m,S,ie,Be){const Je=this.prepareExternalUrl(ie+Ee(Be));this._platformLocation.pushState(m,S,Je)}replaceState(m,S,ie,Be){const Je=this.prepareExternalUrl(ie+Ee(Be));this._platformLocation.replaceState(m,S,Je)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(m=0){this._platformLocation.historyGo?.(m)}}return p.\u0275fac=function(m){return new(m||p)(f.LFG(Q),f.LFG(Ue,8))},p.\u0275prov=f.Yz7({token:p,factory:p.\u0275fac,providedIn:"root"}),p})(),ut=(()=>{class p extends ye{constructor(m,S){super(),this._platformLocation=m,this._baseHref="",this._removeListenerFns=[],null!=S&&(this._baseHref=S)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(m){this._removeListenerFns.push(this._platformLocation.onPopState(m),this._platformLocation.onHashChange(m))}getBaseHref(){return this._baseHref}path(m=!1){let S=this._platformLocation.hash;return null==S&&(S="#"),S.length>0?S.substring(1):S}prepareExternalUrl(m){const S=Ie(this._baseHref,m);return S.length>0?"#"+S:S}pushState(m,S,ie,Be){let Je=this.prepareExternalUrl(ie+Ee(Be));0==Je.length&&(Je=this._platformLocation.pathname),this._platformLocation.pushState(m,S,Je)}replaceState(m,S,ie,Be){let Je=this.prepareExternalUrl(ie+Ee(Be));0==Je.length&&(Je=this._platformLocation.pathname),this._platformLocation.replaceState(m,S,Je)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(m=0){this._platformLocation.historyGo?.(m)}}return p.\u0275fac=function(m){return new(m||p)(f.LFG(Q),f.LFG(Ue,8))},p.\u0275prov=f.Yz7({token:p,factory:p.\u0275fac}),p})(),Oe=(()=>{class p{constructor(m){this._subject=new f.vpe,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=m;const S=this._locationStrategy.getBaseHref();this._baseHref=he(ce(S)),this._locationStrategy.onPopState(ie=>{this._subject.emit({url:this.path(!0),pop:!0,state:ie.state,type:ie.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(m=!1){return this.normalize(this._locationStrategy.path(m))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(m,S=""){return this.path()==this.normalize(m+Ee(S))}normalize(m){return p.stripTrailingSlash(function ve(p,b){return p&&b.startsWith(p)?b.substring(p.length):b}(this._baseHref,ce(m)))}prepareExternalUrl(m){return m&&"/"!==m[0]&&(m="/"+m),this._locationStrategy.prepareExternalUrl(m)}go(m,S="",ie=null){this._locationStrategy.pushState(ie,"",m,S),this._notifyUrlChangeListeners(this.prepareExternalUrl(m+Ee(S)),ie)}replaceState(m,S="",ie=null){this._locationStrategy.replaceState(ie,"",m,S),this._notifyUrlChangeListeners(this.prepareExternalUrl(m+Ee(S)),ie)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(m=0){this._locationStrategy.historyGo?.(m)}onUrlChange(m){return this._urlChangeListeners.push(m),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(S=>{this._notifyUrlChangeListeners(S.url,S.state)})),()=>{const S=this._urlChangeListeners.indexOf(m);this._urlChangeListeners.splice(S,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(m="",S){this._urlChangeListeners.forEach(ie=>ie(m,S))}subscribe(m,S,ie){return this._subject.subscribe({next:m,error:S,complete:ie})}}return p.normalizeQueryParams=Ee,p.joinWithSlash=Ie,p.stripTrailingSlash=he,p.\u0275fac=function(m){return new(m||p)(f.LFG(ye))},p.\u0275prov=f.Yz7({token:p,factory:function(){return function K(){return new Oe((0,f.LFG)(ye))}()},providedIn:"root"}),p})();function ce(p){return p.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))(),Ke=(()=>((Ke=Ke||{})[Ke.Decimal=0]="Decimal",Ke[Ke.Group=1]="Group",Ke[Ke.List=2]="List",Ke[Ke.PercentSign=3]="PercentSign",Ke[Ke.PlusSign=4]="PlusSign",Ke[Ke.MinusSign=5]="MinusSign",Ke[Ke.Exponential=6]="Exponential",Ke[Ke.SuperscriptingExponent=7]="SuperscriptingExponent",Ke[Ke.PerMille=8]="PerMille",Ke[Ke.Infinity=9]="Infinity",Ke[Ke.NaN=10]="NaN",Ke[Ke.TimeSeparator=11]="TimeSeparator",Ke[Ke.CurrencyDecimal=12]="CurrencyDecimal",Ke[Ke.CurrencyGroup=13]="CurrencyGroup",Ke))();function Ce(p,b){const m=(0,f.cg1)(p),S=m[f.wAp.NumberSymbols][b];if(typeof S>"u"){if(b===Ke.CurrencyDecimal)return m[f.wAp.NumberSymbols][Ke.Decimal];if(b===Ke.CurrencyGroup)return m[f.wAp.NumberSymbols][Ke.Group]}return S}const wn=/^(\d+)?\.((\d+)(-(\d+))?)?$/;function yn(p){const b=parseInt(p);if(isNaN(b))throw new Error("Invalid integer literal when parsing "+p);return b}function Jr(p,b){b=encodeURIComponent(b);for(const m of p.split(";")){const S=m.indexOf("="),[ie,Be]=-1==S?[m,""]:[m.slice(0,S),m.slice(S+1)];if(ie.trim()===b)return decodeURIComponent(Be)}return null}let qt=(()=>{class p{constructor(m,S,ie,Be){this._iterableDiffers=m,this._keyValueDiffers=S,this._ngEl=ie,this._renderer=Be,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}set klass(m){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof m?m.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}set ngClass(m){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof m?m.split(/\s+/):m,this._rawClass&&((0,f.sIi)(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}ngDoCheck(){if(this._iterableDiffer){const m=this._iterableDiffer.diff(this._rawClass);m&&this._applyIterableChanges(m)}else if(this._keyValueDiffer){const m=this._keyValueDiffer.diff(this._rawClass);m&&this._applyKeyValueChanges(m)}}_applyKeyValueChanges(m){m.forEachAddedItem(S=>this._toggleClass(S.key,S.currentValue)),m.forEachChangedItem(S=>this._toggleClass(S.key,S.currentValue)),m.forEachRemovedItem(S=>{S.previousValue&&this._toggleClass(S.key,!1)})}_applyIterableChanges(m){m.forEachAddedItem(S=>{if("string"!=typeof S.item)throw new Error(`NgClass can only toggle CSS classes expressed as strings, got ${(0,f.AaK)(S.item)}`);this._toggleClass(S.item,!0)}),m.forEachRemovedItem(S=>this._toggleClass(S.item,!1))}_applyClasses(m){m&&(Array.isArray(m)||m instanceof Set?m.forEach(S=>this._toggleClass(S,!0)):Object.keys(m).forEach(S=>this._toggleClass(S,!!m[S])))}_removeClasses(m){m&&(Array.isArray(m)||m instanceof Set?m.forEach(S=>this._toggleClass(S,!1)):Object.keys(m).forEach(S=>this._toggleClass(S,!1)))}_toggleClass(m,S){(m=m.trim())&&m.split(/\s+/g).forEach(ie=>{S?this._renderer.addClass(this._ngEl.nativeElement,ie):this._renderer.removeClass(this._ngEl.nativeElement,ie)})}}return p.\u0275fac=function(m){return new(m||p)(f.Y36(f.ZZ4),f.Y36(f.aQg),f.Y36(f.SBq),f.Y36(f.Qsj))},p.\u0275dir=f.lG2({type:p,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"},standalone:!0}),p})();class ei{constructor(b,m,S,ie){this.$implicit=b,this.ngForOf=m,this.index=S,this.count=ie}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 rr=(()=>{class p{constructor(m,S,ie){this._viewContainer=m,this._template=S,this._differs=ie,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForOf(m){this._ngForOf=m,this._ngForOfDirty=!0}set ngForTrackBy(m){this._trackByFn=m}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(m){m&&(this._template=m)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const m=this._ngForOf;!this._differ&&m&&(this._differ=this._differs.find(m).create(this.ngForTrackBy))}if(this._differ){const m=this._differ.diff(this._ngForOf);m&&this._applyChanges(m)}}_applyChanges(m){const S=this._viewContainer;m.forEachOperation((ie,Be,Je)=>{if(null==ie.previousIndex)S.createEmbeddedView(this._template,new ei(ie.item,this._ngForOf,-1,-1),null===Je?void 0:Je);else if(null==Je)S.remove(null===Be?void 0:Be);else if(null!==Be){const yt=S.get(Be);S.move(yt,Je),xn(yt,ie)}});for(let ie=0,Be=S.length;ie<Be;ie++){const yt=S.get(ie).context;yt.index=ie,yt.count=Be,yt.ngForOf=this._ngForOf}m.forEachIdentityChange(ie=>{xn(S.get(ie.currentIndex),ie)})}static ngTemplateContextGuard(m,S){return!0}}return p.\u0275fac=function(m){return new(m||p)(f.Y36(f.s_b),f.Y36(f.Rgc),f.Y36(f.ZZ4))},p.\u0275dir=f.lG2({type:p,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0}),p})();function xn(p,b){p.context.$implicit=b.item}let ln=(()=>{class p{constructor(m,S){this._viewContainer=m,this._context=new Ar,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=S}set ngIf(m){this._context.$implicit=this._context.ngIf=m,this._updateView()}set ngIfThen(m){An("ngIfThen",m),this._thenTemplateRef=m,this._thenViewRef=null,this._updateView()}set ngIfElse(m){An("ngIfElse",m),this._elseTemplateRef=m,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(m,S){return!0}}return p.\u0275fac=function(m){return new(m||p)(f.Y36(f.s_b),f.Y36(f.Rgc))},p.\u0275dir=f.lG2({type:p,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0}),p})();class Ar{constructor(){this.$implicit=null,this.ngIf=null}}function An(p,b){if(b&&!b.createEmbeddedView)throw new Error(`${p} must be a TemplateRef, but received '${(0,f.AaK)(b)}'.`)}class Gn{constructor(b,m){this._viewContainerRef=b,this._templateRef=m,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(b){b&&!this._created?this.create():!b&&this._created&&this.destroy()}}let Ur=(()=>{class p{constructor(){this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(m){this._ngSwitch=m,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(m){this._defaultViews||(this._defaultViews=[]),this._defaultViews.push(m)}_matchCase(m){const S=m==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||S,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),S}_updateDefaultCases(m){if(this._defaultViews&&m!==this._defaultUsed){this._defaultUsed=m;for(let S=0;S<this._defaultViews.length;S++)this._defaultViews[S].enforceState(m)}}}return p.\u0275fac=function(m){return new(m||p)},p.\u0275dir=f.lG2({type:p,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"},standalone:!0}),p})(),nr=(()=>{class p{constructor(m,S,ie){this.ngSwitch=ie,ie._addCase(),this._view=new Gn(m,S)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}return p.\u0275fac=function(m){return new(m||p)(f.Y36(f.s_b),f.Y36(f.Rgc),f.Y36(Ur,9))},p.\u0275dir=f.lG2({type:p,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"},standalone:!0}),p})(),Ir=(()=>{class p{constructor(m,S,ie){ie._addDefault(new Gn(m,S))}}return p.\u0275fac=function(m){return new(m||p)(f.Y36(f.s_b),f.Y36(f.Rgc),f.Y36(Ur,9))},p.\u0275dir=f.lG2({type:p,selectors:[["","ngSwitchDefault",""]],standalone:!0}),p})(),os=(()=>{class p{constructor(m,S,ie){this._ngEl=m,this._differs=S,this._renderer=ie,this._ngStyle=null,this._differ=null}set ngStyle(m){this._ngStyle=m,!this._differ&&m&&(this._differ=this._differs.find(m).create())}ngDoCheck(){if(this._differ){const m=this._differ.diff(this._ngStyle);m&&this._applyChanges(m)}}_setStyle(m,S){const[ie,Be]=m.split("."),Je=-1===ie.indexOf("-")?void 0:f.JOm.DashCase;null!=S?this._renderer.setStyle(this._ngEl.nativeElement,ie,Be?`${S}${Be}`:S,Je):this._renderer.removeStyle(this._ngEl.nativeElement,ie,Je)}_applyChanges(m){m.forEachRemovedItem(S=>this._setStyle(S.key,null)),m.forEachAddedItem(S=>this._setStyle(S.key,S.currentValue)),m.forEachChangedItem(S=>this._setStyle(S.key,S.currentValue))}}return p.\u0275fac=function(m){return new(m||p)(f.Y36(f.SBq),f.Y36(f.aQg),f.Y36(f.Qsj))},p.\u0275dir=f.lG2({type:p,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0}),p})(),as=(()=>{class p{constructor(m){this._viewContainerRef=m,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(m){if(m.ngTemplateOutlet||m.ngTemplateOutletInjector){const S=this._viewContainerRef;if(this._viewRef&&S.remove(S.indexOf(this._viewRef)),this.ngTemplateOutlet){const{ngTemplateOutlet:ie,ngTemplateOutletContext:Be,ngTemplateOutletInjector:Je}=this;this._viewRef=S.createEmbeddedView(ie,Be,Je?{injector:Je}:void 0)}else this._viewRef=null}else this._viewRef&&m.ngTemplateOutletContext&&this.ngTemplateOutletContext&&(this._viewRef.context=this.ngTemplateOutletContext)}}return p.\u0275fac=function(m){return new(m||p)(f.Y36(f.s_b))},p.\u0275dir=f.lG2({type:p,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[f.TTD]}),p})();function ir(p,b){return new f.vHH(2100,!1)}class Li{createSubscription(b,m){return b.subscribe({next:m,error:S=>{throw S}})}dispose(b){b.unsubscribe()}}class Gs{createSubscription(b,m){return b.then(m,S=>{throw S})}dispose(b){}}const _i=new Gs,yi=new Li;let Vr=(()=>{class p{constructor(m){this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null,this._ref=m}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(m){return this._obj?m!==this._obj?(this._dispose(),this.transform(m)):this._latestValue:(m&&this._subscribe(m),this._latestValue)}_subscribe(m){this._obj=m,this._strategy=this._selectStrategy(m),this._subscription=this._strategy.createSubscription(m,S=>this._updateLatestValue(m,S))}_selectStrategy(m){if((0,f.QGY)(m))return _i;if((0,f.F4k)(m))return yi;throw ir()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(m,S){m===this._obj&&(this._latestValue=S,this._ref.markForCheck())}}return p.\u0275fac=function(m){return new(m||p)(f.Y36(f.sBO,16))},p.\u0275pipe=f.Yjl({name:"async",type:p,pure:!1,standalone:!0}),p})(),vi=(()=>{class p{constructor(m){this._locale=m}transform(m,S,ie){if(!function Bi(p){return!(null==p||""===p||p!=p)}(m))return null;ie=ie||this._locale;try{return function It(p,b,m){return function zt(p,b,m,S,ie,Be,Je=!1){let yt="",Yt=!1;if(isFinite(p)){let Jt=function Xr(p){let S,ie,Be,Je,yt,b=Math.abs(p)+"",m=0;for((ie=b.indexOf("."))>-1&&(b=b.replace(".","")),(Be=b.search(/e/i))>0?(ie<0&&(ie=Be),ie+=+b.slice(Be+1),b=b.substring(0,Be)):ie<0&&(ie=b.length),Be=0;"0"===b.charAt(Be);Be++);if(Be===(yt=b.length))S=[0],ie=1;else{for(yt--;"0"===b.charAt(yt);)yt--;for(ie-=Be,S=[],Je=0;Be<=yt;Be++,Je++)S[Je]=Number(b.charAt(Be))}return ie>22&&(S=S.splice(0,21),m=ie-1,ie=1),{digits:S,exponent:m,integerLen:ie}}(p);Je&&(Jt=function yr(p){if(0===p.digits[0])return p;const b=p.digits.length-p.integerLen;return p.exponent?p.exponent+=2:(0===b?p.digits.push(0,0):1===b&&p.digits.push(0),p.integerLen+=2),p}(Jt));let rn=b.minInt,nt=b.minFrac,mt=b.maxFrac;if(Be){const hn=Be.match(wn);if(null===hn)throw new Error(`${Be} is not a valid digit info`);const un=hn[1],wr=hn[3],Ai=hn[5];null!=un&&(rn=yn(un)),null!=wr&&(nt=yn(wr)),null!=Ai?mt=yn(Ai):null!=wr&&nt>mt&&(mt=nt)}!function hr(p,b,m){if(b>m)throw new Error(`The minimum number of digits after fraction (${b}) is higher than the maximum (${m}).`);let S=p.digits,ie=S.length-p.integerLen;const Be=Math.min(Math.max(b,ie),m);let Je=Be+p.integerLen,yt=S[Je];if(Je>0){S.splice(Math.max(p.integerLen,Je));for(let nt=Je;nt<S.length;nt++)S[nt]=0}else{ie=Math.max(0,ie),p.integerLen=1,S.length=Math.max(1,Je=Be+1),S[0]=0;for(let nt=1;nt<Je;nt++)S[nt]=0}if(yt>=5)if(Je-1<0){for(let nt=0;nt>Je;nt--)S.unshift(0),p.integerLen++;S.unshift(1),p.integerLen++}else S[Je-1]++;for(;ie<Math.max(0,Be);ie++)S.push(0);let Yt=0!==Be;const Jt=b+p.integerLen,rn=S.reduceRight(function(nt,mt,ft,Lt){return Lt[ft]=(mt+=nt)<10?mt:mt-10,Yt&&(0===Lt[ft]&&ft>=Jt?Lt.pop():Yt=!1),mt>=10?1:0},0);rn&&(S.unshift(rn),p.integerLen++)}(Jt,nt,mt);let ft=Jt.digits,Lt=Jt.integerLen;const pn=Jt.exponent;let vn=[];for(Yt=ft.every(hn=>!hn);Lt<rn;Lt++)ft.unshift(0);for(;Lt<0;Lt++)ft.unshift(0);Lt>0?vn=ft.splice(Lt,ft.length):(vn=ft,ft=[0]);const Sn=[];for(ft.length>=b.lgSize&&Sn.unshift(ft.splice(-b.lgSize,ft.length).join(""));ft.length>b.gSize;)Sn.unshift(ft.splice(-b.gSize,ft.length).join(""));ft.length&&Sn.unshift(ft.join("")),yt=Sn.join(Ce(m,S)),vn.length&&(yt+=Ce(m,ie)+vn.join("")),pn&&(yt+=Ce(m,Ke.Exponential)+"+"+pn)}else yt=Ce(m,Ke.Infinity);return yt=p<0&&!Yt?b.negPre+yt+b.negSuf:b.posPre+yt+b.posSuf,yt}(p,function Fn(p,b="-"){const m={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},S=p.split(";"),ie=S[0],Be=S[1],Je=-1!==ie.indexOf(".")?ie.split("."):[ie.substring(0,ie.lastIndexOf("0")+1),ie.substring(ie.lastIndexOf("0")+1)],yt=Je[0],Yt=Je[1]||"";m.posPre=yt.substring(0,yt.indexOf("#"));for(let rn=0;rn<Yt.length;rn++){const nt=Yt.charAt(rn);"0"===nt?m.minFrac=m.maxFrac=rn+1:"#"===nt?m.maxFrac=rn+1:m.posSuf+=nt}const Jt=yt.split(",");if(m.gSize=Jt[1]?Jt[1].length:0,m.lgSize=Jt[2]||Jt[1]?(Jt[2]||Jt[1]).length:0,Be){const rn=ie.length-m.posPre.length-m.posSuf.length,nt=Be.indexOf("#");m.negPre=Be.substring(0,nt).replace(/'/g,""),m.negSuf=Be.slice(nt+rn).replace(/'/g,"")}else m.negPre=b+m.posPre,m.negSuf=m.posSuf;return m}(function Ze(p,b){return(0,f.cg1)(p)[f.wAp.NumberFormats][b]}(b,Ge.Decimal),Ce(b,Ke.MinusSign)),b,Ke.Group,Ke.Decimal,m)}(function Ui(p){if("string"==typeof p&&!isNaN(Number(p)-parseFloat(p)))return Number(p);if("number"!=typeof p)throw new Error(`${p} is not a number`);return p}(m),ie,S)}catch(Be){throw ir()}}}return p.\u0275fac=function(m){return new(m||p)(f.Y36(f.soG,16))},p.\u0275pipe=f.Yjl({name:"number",type:p,pure:!0,standalone:!0}),p})();let ds=(()=>{class p{}return p.\u0275fac=function(m){return new(m||p)},p.\u0275mod=f.oAB({type:p}),p.\u0275inj=f.cJS({}),p})();const zr="browser";function Di(p){return p===zr}function ri(p){return"server"===p}let Yn=(()=>{class p{}return p.\u0275prov=(0,f.Yz7)({token:p,providedIn:"root",factory:()=>new As((0,f.LFG)(se),window)}),p})();class As{constructor(b,m){this.document=b,this.window=m,this.offset=()=>[0,0]}setOffset(b){this.offset=Array.isArray(b)?()=>b:b}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(b){this.supportsScrolling()&&this.window.scrollTo(b[0],b[1])}scrollToAnchor(b){if(!this.supportsScrolling())return;const m=function Hn(p,b){const m=p.getElementById(b)||p.getElementsByName(b)[0];if(m)return m;if("function"==typeof p.createTreeWalker&&p.body&&(p.body.createShadowRoot||p.body.attachShadow)){const S=p.createTreeWalker(p.body,NodeFilter.SHOW_ELEMENT);let ie=S.currentNode;for(;ie;){const Be=ie.shadowRoot;if(Be){const Je=Be.getElementById(b)||Be.querySelector(`[name="${b}"]`);if(Je)return Je}ie=S.nextNode()}}return null}(this.document,b);m&&(this.scrollToElement(m),m.focus())}setHistoryScrollRestoration(b){if(this.supportScrollRestoration()){const m=this.window.history;m&&m.scrollRestoration&&(m.scrollRestoration=b)}}scrollToElement(b){const m=b.getBoundingClientRect(),S=m.left+this.window.pageXOffset,ie=m.top+this.window.pageYOffset,Be=this.offset();this.window.scrollTo(S-Be[0],ie-Be[1])}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const b=Dr(this.window.history)||Dr(Object.getPrototypeOf(this.window.history));return!(!b||!b.writable&&!b.set)}catch{return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch{return!1}}}function Dr(p){return Object.getOwnPropertyDescriptor(p,"scrollRestoration")}class ii{}},80529:(rt,_e,_)=>{_.d(_e,{JF:()=>G,LE:()=>Ue,TP:()=>sn,UA:()=>Ke,Xk:()=>ht,dt:()=>xe,eN:()=>$t,qT:()=>ut});var f=_(36895),v=_(94650),T=_(39646),R=_(69751),B=_(24351),V=_(39300),se=_(54004);class Q{}class Y{}class ${constructor(F){this.normalizedNames=new Map,this.lazyUpdate=null,F?this.lazyInit="string"==typeof F?()=>{this.headers=new Map,F.split("\n").forEach(k=>{const Me=k.indexOf(":");if(Me>0){const Pe=k.slice(0,Me),je=Pe.toLowerCase(),ct=k.slice(Me+1).trim();this.maybeSetNormalizedName(Pe,je),this.headers.has(je)?this.headers.get(je).push(ct):this.headers.set(je,[ct])}})}:()=>{this.headers=new Map,Object.keys(F).forEach(k=>{let Me=F[k];const Pe=k.toLowerCase();"string"==typeof Me&&(Me=[Me]),Me.length>0&&(this.headers.set(Pe,Me),this.maybeSetNormalizedName(k,Pe))})}:this.headers=new Map}has(F){return this.init(),this.headers.has(F.toLowerCase())}get(F){this.init();const k=this.headers.get(F.toLowerCase());return k&&k.length>0?k[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(F){return this.init(),this.headers.get(F.toLowerCase())||null}append(F,k){return this.clone({name:F,value:k,op:"a"})}set(F,k){return this.clone({name:F,value:k,op:"s"})}delete(F,k){return this.clone({name:F,value:k,op:"d"})}maybeSetNormalizedName(F,k){this.normalizedNames.has(k)||this.normalizedNames.set(k,F)}init(){this.lazyInit&&(this.lazyInit instanceof $?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(F=>this.applyUpdate(F)),this.lazyUpdate=null))}copyFrom(F){F.init(),Array.from(F.headers.keys()).forEach(k=>{this.headers.set(k,F.headers.get(k)),this.normalizedNames.set(k,F.normalizedNames.get(k))})}clone(F){const k=new $;return k.lazyInit=this.lazyInit&&this.lazyInit instanceof $?this.lazyInit:this,k.lazyUpdate=(this.lazyUpdate||[]).concat([F]),k}applyUpdate(F){const k=F.name.toLowerCase();switch(F.op){case"a":case"s":let Me=F.value;if("string"==typeof Me&&(Me=[Me]),0===Me.length)return;this.maybeSetNormalizedName(F.name,k);const Pe=("a"===F.op?this.headers.get(k):void 0)||[];Pe.push(...Me),this.headers.set(k,Pe);break;case"d":const je=F.value;if(je){let ct=this.headers.get(k);if(!ct)return;ct=ct.filter(Ve=>-1===je.indexOf(Ve)),0===ct.length?(this.headers.delete(k),this.normalizedNames.delete(k)):this.headers.set(k,ct)}else this.headers.delete(k),this.normalizedNames.delete(k)}}forEach(F){this.init(),Array.from(this.normalizedNames.keys()).forEach(k=>F(this.normalizedNames.get(k),this.headers.get(k)))}}class H{encodeKey(F){return Ee(F)}encodeValue(F){return Ee(F)}decodeKey(F){return decodeURIComponent(F)}decodeValue(F){return decodeURIComponent(F)}}const Ie=/%(\d[a-f0-9])/gi,he={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function Ee(re){return encodeURIComponent(re).replace(Ie,(F,k)=>he[k]??F)}function ye(re){return`${re}`}class Ue{constructor(F={}){if(this.updates=null,this.cloneFrom=null,this.encoder=F.encoder||new H,F.fromString){if(F.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function Se(re,F){const k=new Map;return re.length>0&&re.replace(/^\?/,"").split("&").forEach(Pe=>{const je=Pe.indexOf("="),[ct,Ve]=-1==je?[F.decodeKey(Pe),""]:[F.decodeKey(Pe.slice(0,je)),F.decodeValue(Pe.slice(je+1))],ue=k.get(ct)||[];ue.push(Ve),k.set(ct,ue)}),k}(F.fromString,this.encoder)}else F.fromObject?(this.map=new Map,Object.keys(F.fromObject).forEach(k=>{const Me=F.fromObject[k],Pe=Array.isArray(Me)?Me.map(ye):[ye(Me)];this.map.set(k,Pe)})):this.map=null}has(F){return this.init(),this.map.has(F)}get(F){this.init();const k=this.map.get(F);return k?k[0]:null}getAll(F){return this.init(),this.map.get(F)||null}keys(){return this.init(),Array.from(this.map.keys())}append(F,k){return this.clone({param:F,value:k,op:"a"})}appendAll(F){const k=[];return Object.keys(F).forEach(Me=>{const Pe=F[Me];Array.isArray(Pe)?Pe.forEach(je=>{k.push({param:Me,value:je,op:"a"})}):k.push({param:Me,value:Pe,op:"a"})}),this.clone(k)}set(F,k){return this.clone({param:F,value:k,op:"s"})}delete(F,k){return this.clone({param:F,value:k,op:"d"})}toString(){return this.init(),this.keys().map(F=>{const k=this.encoder.encodeKey(F);return this.map.get(F).map(Me=>k+"="+this.encoder.encodeValue(Me)).join("&")}).filter(F=>""!==F).join("&")}clone(F){const k=new Ue({encoder:this.encoder});return k.cloneFrom=this.cloneFrom||this,k.updates=(this.updates||[]).concat(F),k}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(F=>this.map.set(F,this.cloneFrom.map.get(F))),this.updates.forEach(F=>{switch(F.op){case"a":case"s":const k=("a"===F.op?this.map.get(F.param):void 0)||[];k.push(ye(F.value)),this.map.set(F.param,k);break;case"d":if(void 0===F.value){this.map.delete(F.param);break}{let Me=this.map.get(F.param)||[];const Pe=Me.indexOf(ye(F.value));-1!==Pe&&Me.splice(Pe,1),Me.length>0?this.map.set(F.param,Me):this.map.delete(F.param)}}}),this.cloneFrom=this.updates=null)}}class ht{constructor(F){this.defaultValue=F}}class ut{constructor(){this.map=new Map}set(F,k){return this.map.set(F,k),this}get(F){return this.map.has(F)||this.map.set(F,F.defaultValue()),this.map.get(F)}delete(F){return this.map.delete(F),this}has(F){return this.map.has(F)}keys(){return this.map.keys()}}function K(re){return typeof ArrayBuffer<"u"&&re instanceof ArrayBuffer}function ve(re){return typeof Blob<"u"&&re instanceof Blob}function ce(re){return typeof FormData<"u"&&re instanceof FormData}class Ge{constructor(F,k,Me,Pe){let je;if(this.url=k,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=F.toUpperCase(),function Oe(re){switch(re){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||Pe?(this.body=void 0!==Me?Me:null,je=Pe):je=Me,je&&(this.reportProgress=!!je.reportProgress,this.withCredentials=!!je.withCredentials,je.responseType&&(this.responseType=je.responseType),je.headers&&(this.headers=je.headers),je.context&&(this.context=je.context),je.params&&(this.params=je.params)),this.headers||(this.headers=new $),this.context||(this.context=new ut),this.params){const ct=this.params.toString();if(0===ct.length)this.urlWithParams=k;else{const Ve=k.indexOf("?");this.urlWithParams=k+(-1===Ve?"?":Ve<k.length-1?"&":"")+ct}}else this.params=new Ue,this.urlWithParams=k}serializeBody(){return null===this.body?null:K(this.body)||ve(this.body)||ce(this.body)||function Te(re){return typeof URLSearchParams<"u"&&re instanceof URLSearchParams}(this.body)||"string"==typeof this.body?this.body:this.body instanceof Ue?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||ce(this.body)?null:ve(this.body)?this.body.type||null:K(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof Ue?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||"boolean"==typeof this.body?"application/json":null}clone(F={}){const k=F.method||this.method,Me=F.url||this.url,Pe=F.responseType||this.responseType,je=void 0!==F.body?F.body:this.body,ct=void 0!==F.withCredentials?F.withCredentials:this.withCredentials,Ve=void 0!==F.reportProgress?F.reportProgress:this.reportProgress;let ue=F.headers||this.headers,P=F.params||this.params;const me=F.context??this.context;return void 0!==F.setHeaders&&(ue=Object.keys(F.setHeaders).reduce((We,He)=>We.set(He,F.setHeaders[He]),ue)),F.setParams&&(P=Object.keys(F.setParams).reduce((We,He)=>We.set(He,F.setParams[He]),P)),new Ge(k,Me,je,{params:P,headers:ue,context:me,reportProgress:Ve,responseType:Pe,withCredentials:ct})}}var xe=(()=>((xe=xe||{})[xe.Sent=0]="Sent",xe[xe.UploadProgress=1]="UploadProgress",xe[xe.ResponseHeader=2]="ResponseHeader",xe[xe.DownloadProgress=3]="DownloadProgress",xe[xe.Response=4]="Response",xe[xe.User=5]="User",xe))();class it{constructor(F,k=200,Me="OK"){this.headers=F.headers||new $,this.status=void 0!==F.status?F.status:k,this.statusText=F.statusText||Me,this.url=F.url||null,this.ok=this.status>=200&&this.status<300}}class De extends it{constructor(F={}){super(F),this.type=xe.ResponseHeader}clone(F={}){return new De({headers:F.headers||this.headers,status:void 0!==F.status?F.status:this.status,statusText:F.statusText||this.statusText,url:F.url||this.url||void 0})}}class $e extends it{constructor(F={}){super(F),this.type=xe.Response,this.body=void 0!==F.body?F.body:null}clone(F={}){return new $e({body:void 0!==F.body?F.body:this.body,headers:F.headers||this.headers,status:void 0!==F.status?F.status:this.status,statusText:F.statusText||this.statusText,url:F.url||this.url||void 0})}}class Ke extends it{constructor(F){super(F,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${F.url||"(unknown url)"}`:`Http failure response for ${F.url||"(unknown url)"}: ${F.status} ${F.statusText}`,this.error=F.error||null}}function Et(re,F){return{body:F,headers:re.headers,context:re.context,observe:re.observe,params:re.params,reportProgress:re.reportProgress,responseType:re.responseType,withCredentials:re.withCredentials}}let $t=(()=>{class re{constructor(k){this.handler=k}request(k,Me,Pe={}){let je;if(k instanceof Ge)je=k;else{let ue,P;ue=Pe.headers instanceof $?Pe.headers:new $(Pe.headers),Pe.params&&(P=Pe.params instanceof Ue?Pe.params:new Ue({fromObject:Pe.params})),je=new Ge(k,Me,void 0!==Pe.body?Pe.body:null,{headers:ue,context:Pe.context,params:P,reportProgress:Pe.reportProgress,responseType:Pe.responseType||"json",withCredentials:Pe.withCredentials})}const ct=(0,T.of)(je).pipe((0,B.b)(ue=>this.handler.handle(ue)));if(k instanceof Ge||"events"===Pe.observe)return ct;const Ve=ct.pipe((0,V.h)(ue=>ue instanceof $e));switch(Pe.observe||"body"){case"body":switch(je.responseType){case"arraybuffer":return Ve.pipe((0,se.U)(ue=>{if(null!==ue.body&&!(ue.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return ue.body}));case"blob":return Ve.pipe((0,se.U)(ue=>{if(null!==ue.body&&!(ue.body instanceof Blob))throw new Error("Response is not a Blob.");return ue.body}));case"text":return Ve.pipe((0,se.U)(ue=>{if(null!==ue.body&&"string"!=typeof ue.body)throw new Error("Response is not a string.");return ue.body}));default:return Ve.pipe((0,se.U)(ue=>ue.body))}case"response":return Ve;default:throw new Error(`Unreachable: unhandled observe type ${Pe.observe}}`)}}delete(k,Me={}){return this.request("DELETE",k,Me)}get(k,Me={}){return this.request("GET",k,Me)}head(k,Me={}){return this.request("HEAD",k,Me)}jsonp(k,Me){return this.request("JSONP",k,{params:(new Ue).append(Me,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(k,Me={}){return this.request("OPTIONS",k,Me)}patch(k,Me,Pe={}){return this.request("PATCH",k,Et(Pe,Me))}post(k,Me,Pe={}){return this.request("POST",k,Et(Pe,Me))}put(k,Me,Pe={}){return this.request("PUT",k,Et(Pe,Me))}}return re.\u0275fac=function(k){return new(k||re)(v.LFG(Q))},re.\u0275prov=v.Yz7({token:re,factory:re.\u0275fac}),re})();class Tt{constructor(F,k){this.next=F,this.interceptor=k}handle(F){return this.interceptor.intercept(F,this.next)}}const sn=new v.OlP("HTTP_INTERCEPTORS");let tn=(()=>{class re{intercept(k,Me){return Me.handle(k)}}return re.\u0275fac=function(k){return new(k||re)},re.\u0275prov=v.Yz7({token:re,factory:re.\u0275fac}),re})();const Pt=/^\)\]\}',?\n/;let At=(()=>{class re{constructor(k){this.xhrFactory=k}handle(k){if("JSONP"===k.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new R.y(Me=>{const Pe=this.xhrFactory.build();if(Pe.open(k.method,k.urlWithParams),k.withCredentials&&(Pe.withCredentials=!0),k.headers.forEach((oe,q)=>Pe.setRequestHeader(oe,q.join(","))),k.headers.has("Accept")||Pe.setRequestHeader("Accept","application/json, text/plain, */*"),!k.headers.has("Content-Type")){const oe=k.detectContentTypeHeader();null!==oe&&Pe.setRequestHeader("Content-Type",oe)}if(k.responseType){const oe=k.responseType.toLowerCase();Pe.responseType="json"!==oe?oe:"text"}const je=k.serializeBody();let ct=null;const Ve=()=>{if(null!==ct)return ct;const oe=Pe.statusText||"OK",q=new $(Pe.getAllResponseHeaders()),Z=function dt(re){return"responseURL"in re&&re.responseURL?re.responseURL:/^X-Request-URL:/m.test(re.getAllResponseHeaders())?re.getResponseHeader("X-Request-URL"):null}(Pe)||k.url;return ct=new De({headers:q,status:Pe.status,statusText:oe,url:Z}),ct},ue=()=>{let{headers:oe,status:q,statusText:Z,url:L}=Ve(),X=null;204!==q&&(X=typeof Pe.response>"u"?Pe.responseText:Pe.response),0===q&&(q=X?200:0);let N=q>=200&&q<300;if("json"===k.responseType&&"string"==typeof X){const de=X;X=X.replace(Pt,"");try{X=""!==X?JSON.parse(X):null}catch(Fe){X=de,N&&(N=!1,X={error:Fe,text:X})}}N?(Me.next(new $e({body:X,headers:oe,status:q,statusText:Z,url:L||void 0})),Me.complete()):Me.error(new Ke({error:X,headers:oe,status:q,statusText:Z,url:L||void 0}))},P=oe=>{const{url:q}=Ve(),Z=new Ke({error:oe,status:Pe.status||0,statusText:Pe.statusText||"Unknown Error",url:q||void 0});Me.error(Z)};let me=!1;const We=oe=>{me||(Me.next(Ve()),me=!0);let q={type:xe.DownloadProgress,loaded:oe.loaded};oe.lengthComputable&&(q.total=oe.total),"text"===k.responseType&&!!Pe.responseText&&(q.partialText=Pe.responseText),Me.next(q)},He=oe=>{let q={type:xe.UploadProgress,loaded:oe.loaded};oe.lengthComputable&&(q.total=oe.total),Me.next(q)};return Pe.addEventListener("load",ue),Pe.addEventListener("error",P),Pe.addEventListener("timeout",P),Pe.addEventListener("abort",P),k.reportProgress&&(Pe.addEventListener("progress",We),null!==je&&Pe.upload&&Pe.upload.addEventListener("progress",He)),Pe.send(je),Me.next({type:xe.Sent}),()=>{Pe.removeEventListener("error",P),Pe.removeEventListener("abort",P),Pe.removeEventListener("load",ue),Pe.removeEventListener("timeout",P),k.reportProgress&&(Pe.removeEventListener("progress",We),null!==je&&Pe.upload&&Pe.upload.removeEventListener("progress",He)),Pe.readyState!==Pe.DONE&&Pe.abort()}})}}return re.\u0275fac=function(k){return new(k||re)(v.LFG(f.JF))},re.\u0275prov=v.Yz7({token:re,factory:re.\u0275fac}),re})();const wt=new v.OlP("XSRF_COOKIE_NAME"),en=new v.OlP("XSRF_HEADER_NAME");class Nt{}let kt=(()=>{class re{constructor(k,Me,Pe){this.doc=k,this.platform=Me,this.cookieName=Pe,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const k=this.doc.cookie||"";return k!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,f.Mx)(k,this.cookieName),this.lastCookieString=k),this.lastToken}}return re.\u0275fac=function(k){return new(k||re)(v.LFG(f.K0),v.LFG(v.Lbi),v.LFG(wt))},re.\u0275prov=v.Yz7({token:re,factory:re.\u0275fac}),re})(),Kt=(()=>{class re{constructor(k,Me){this.tokenService=k,this.headerName=Me}intercept(k,Me){const Pe=k.url.toLowerCase();if("GET"===k.method||"HEAD"===k.method||Pe.startsWith("http://")||Pe.startsWith("https://"))return Me.handle(k);const je=this.tokenService.getToken();return null!==je&&!k.headers.has(this.headerName)&&(k=k.clone({headers:k.headers.set(this.headerName,je)})),Me.handle(k)}}return re.\u0275fac=function(k){return new(k||re)(v.LFG(Nt),v.LFG(en))},re.\u0275prov=v.Yz7({token:re,factory:re.\u0275fac}),re})(),st=(()=>{class re{constructor(k,Me){this.backend=k,this.injector=Me,this.chain=null}handle(k){if(null===this.chain){const Me=this.injector.get(sn,[]);this.chain=Me.reduceRight((Pe,je)=>new Tt(Pe,je),this.backend)}return this.chain.handle(k)}}return re.\u0275fac=function(k){return new(k||re)(v.LFG(Y),v.LFG(v.zs3))},re.\u0275prov=v.Yz7({token:re,factory:re.\u0275fac}),re})(),O=(()=>{class re{static disable(){return{ngModule:re,providers:[{provide:Kt,useClass:tn}]}}static withOptions(k={}){return{ngModule:re,providers:[k.cookieName?{provide:wt,useValue:k.cookieName}:[],k.headerName?{provide:en,useValue:k.headerName}:[]]}}}return re.\u0275fac=function(k){return new(k||re)},re.\u0275mod=v.oAB({type:re}),re.\u0275inj=v.cJS({providers:[Kt,{provide:sn,useExisting:Kt,multi:!0},{provide:Nt,useClass:kt},{provide:wt,useValue:"XSRF-TOKEN"},{provide:en,useValue:"X-XSRF-TOKEN"}]}),re})(),G=(()=>{class re{}return re.\u0275fac=function(k){return new(k||re)},re.\u0275mod=v.oAB({type:re}),re.\u0275inj=v.cJS({providers:[$t,{provide:Q,useClass:st},At,{provide:Y,useExisting:At}],imports:[O.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]}),re})()},94650:(rt,_e,_)=>{_.d(_e,{$8M:()=>Es,$Z:()=>Mh,AFp:()=>Rg,ALo:()=>Xp,AaK:()=>Q,Akn:()=>fi,AsE:()=>Qc,B6R:()=>X,BQk:()=>Xa,CHM:()=>ps,CRH:()=>lg,CZH:()=>ul,CqO:()=>_f,D6c:()=>v0,DdM:()=>$p,EJc:()=>xC,EiD:()=>$d,EpF:()=>gf,F$t:()=>Cf,F4k:()=>mf,FAE:()=>Wc,FYo:()=>rh,FiY:()=>Wo,G48:()=>e0,Gf:()=>og,GfV:()=>ih,GkF:()=>Bc,Gpc:()=>z,Gre:()=>Zf,Hsn:()=>bf,Ikx:()=>Jc,JOm:()=>Ii,JVY:()=>v_,Jf7:()=>sh,KtG:()=>ji,L6k:()=>D_,LAX:()=>C_,LFG:()=>Wn,LSH:()=>Yl,Lbi:()=>IC,Lck:()=>TE,MAs:()=>pf,MGl:()=>Ja,MMx:()=>lu,NdJ:()=>Vc,O4$:()=>c,OlP:()=>Dn,Oqu:()=>Zc,PXZ:()=>YC,Q6J:()=>Fc,QGY:()=>Uc,QP$:()=>En,QbO:()=>OC,Qsj:()=>ey,R0b:()=>Qr,RDi:()=>h_,Rgc:()=>ga,SBq:()=>ta,Sil:()=>FC,Suo:()=>ag,TTD:()=>ki,TgZ:()=>Ya,Udp:()=>Kc,VKq:()=>zp,W1O:()=>hg,WFA:()=>jc,WLB:()=>Wp,X6Q:()=>qC,XFs:()=>st,Xpm:()=>L,Xts:()=>Zl,Y36:()=>po,YKP:()=>Lp,YNc:()=>ff,Yjl:()=>Xn,Yz7:()=>ee,Z0I:()=>Ct,ZZ4:()=>Ru,_Bn:()=>xp,_UZ:()=>kc,_Vd:()=>ea,_c5:()=>_0,_uU:()=>Hf,aQg:()=>xu,c2e:()=>PC,cJS:()=>Ce,cQ8:()=>zc,cg1:()=>eu,d8E:()=>qc,dDg:()=>zC,dqk:()=>Pe,eBb:()=>E_,eFA:()=>Wg,ekj:()=>Gc,eoX:()=>Hg,f3M:()=>Ju,g9A:()=>Lg,h0i:()=>Io,hGG:()=>y0,hYB:()=>$c,hij:()=>el,iGM:()=>sg,ifc:()=>Me,ip1:()=>Pg,jDz:()=>Np,kL8:()=>sp,kYT:()=>ot,kcU:()=>M,lG2:()=>Vt,lcZ:()=>Jp,lnq:()=>Xc,lqb:()=>Us,lri:()=>Vg,mCW:()=>Ra,n5z:()=>_l,n_E:()=>sl,oAB:()=>Fe,oJD:()=>zd,oxw:()=>Ef,pB0:()=>b_,q3G:()=>Un,qLn:()=>na,qOj:()=>Pc,qZA:()=>Za,qzn:()=>lo,rWj:()=>jg,s9C:()=>Hc,sBO:()=>t0,sIi:()=>sa,s_b:()=>al,soG:()=>dl,tBr:()=>wa,tb:()=>Fg,tp0:()=>Ko,uIk:()=>Lc,vHH:()=>he,vpe:()=>xi,wAp:()=>Bt,xi3:()=>qp,xp6:()=>hh,ynx:()=>Qa,z2F:()=>hl,z3N:()=>es,zSh:()=>Jl,zs3:()=>Vs});var f=_(77579),v=_(50727),T=_(69751),R=_(56451),B=_(13099);function V(e){for(let t in e)if(e[t]===V)return t;throw Error("Could not find renamed property on target object.")}function se(e,t){for(const n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function Q(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(Q).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 Y(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const $=V({__forward_ref__:V});function z(e){return e.__forward_ref__=z,e.toString=function(){return Q(this())},e}function H(e){return Se(e)?e():e}function Se(e){return"function"==typeof e&&e.hasOwnProperty($)&&e.__forward_ref__===z}class he extends Error{constructor(t,n){super(function Ee(e,t){return`NG0${Math.abs(e)}${t?": "+t.trim():""}`}(t,n)),this.code=t}}function ye(e){return"string"==typeof e?e:null==e?"":String(e)}function K(e,t){throw new he(-201,!1)}function tn(e,t){null==e&&function Ot(e,t,n,r){throw new Error(`ASSERTION ERROR: ${e}`+(null==r?"":` [Expected=> ${n} ${r} ${t} <=Actual]`))}(t,e,null,"!=")}function ee(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Ce(e){return{providers:e.providers||[],imports:e.imports||[]}}function Ze(e){return Pt(e,en)||Pt(e,kt)}function Ct(e){return null!==Ze(e)}function Pt(e,t){return e.hasOwnProperty(t)?e[t]:null}function wt(e){return e&&(e.hasOwnProperty(Nt)||e.hasOwnProperty(Kt))?e[Nt]:null}const en=V({\u0275prov:V}),Nt=V({\u0275inj:V}),kt=V({ngInjectableDef:V}),Kt=V({ngInjectorDef:V});var st=(()=>((st=st||{})[st.Default=0]="Default",st[st.Host=1]="Host",st[st.Self=2]="Self",st[st.SkipSelf=4]="SkipSelf",st[st.Optional=8]="Optional",st))();let _n;function O(e){const t=_n;return _n=e,t}function G(e,t,n){const r=Ze(e);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:n&st.Optional?null:void 0!==t?t:void K(Q(e))}function ke(e){return{toString:e}.toString()}var re=(()=>((re=re||{})[re.OnPush=0]="OnPush",re[re.Default=1]="Default",re))(),Me=(()=>{return(e=Me||(Me={}))[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",Me;var e})();const Pe=(()=>typeof globalThis<"u"&&globalThis||typeof global<"u"&&global||typeof window<"u"&&window||typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self)(),Ve={},ue=[],P=V({\u0275cmp:V}),me=V({\u0275dir:V}),We=V({\u0275pipe:V}),He=V({\u0275mod:V}),oe=V({\u0275fac:V}),q=V({__NG_ELEMENT_ID__:V});let Z=0;function L(e){return ke(()=>{const n=!0===e.standalone,r={},i={type:e.type,providersResolver:null,decls:e.decls,vars:e.vars,factory:null,template:e.template||null,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:r,inputs:null,outputs:null,exportAs:e.exportAs||null,onPush:e.changeDetection===re.OnPush,directiveDefs:null,pipeDefs:null,standalone:n,dependencies:n&&e.dependencies||null,getStandaloneInjector:null,selectors:e.selectors||ue,viewQuery:e.viewQuery||null,features:e.features||null,data:e.data||{},encapsulation:e.encapsulation||Me.Emulated,id:"c"+Z++,styles:e.styles||ue,_:null,setInput:null,schemas:e.schemas||null,tView:null},s=e.dependencies,o=e.features;return i.inputs=Rt(e.inputs,r),i.outputs=Rt(e.outputs),o&&o.forEach(h=>h(i)),i.directiveDefs=s?()=>("function"==typeof s?s():s).map(N).filter(de):null,i.pipeDefs=s?()=>("function"==typeof s?s():s).map(an).filter(de):null,i})}function X(e,t,n){const r=e.\u0275cmp;r.directiveDefs=()=>("function"==typeof t?t():t).map(N),r.pipeDefs=()=>("function"==typeof n?n():n).map(an)}function N(e){return jt(e)||on(e)}function de(e){return null!==e}function Fe(e){return ke(()=>({type:e.type,bootstrap:e.bootstrap||ue,declarations:e.declarations||ue,imports:e.imports||ue,exports:e.exports||ue,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function ot(e,t){return ke(()=>{const n=wn(e,!0);n.declarations=t.declarations||ue,n.imports=t.imports||ue,n.exports=t.exports||ue})}function Rt(e,t){if(null==e)return Ve;const n={};for(const r in e)if(e.hasOwnProperty(r)){let i=e[r],s=i;Array.isArray(i)&&(s=i[1],i=i[0]),n[i]=r,t&&(t[i]=s)}return n}const Vt=L;function Xn(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 jt(e){return e[P]||null}function on(e){return e[me]||null}function an(e){return e[We]||null}function En(e){const t=jt(e)||on(e)||an(e);return null!==t&&t.standalone}function wn(e,t){const n=e[He]||null;if(!n&&!0===t)throw new Error(`Type ${Q(e)} does not have '\u0275mod' property.`);return n}function An(e){return Array.isArray(e)&&"object"==typeof e[1]}function Gn(e){return Array.isArray(e)&&!0===e[1]}function Ur(e){return 0!=(8&e.flags)}function nr(e){return 2==(2&e.flags)}function Ir(e){return 1==(1&e.flags)}function qn(e){return null!==e.template}function ti(e){return 0!=(256&e[2])}function sr(e,t){return e.hasOwnProperty(oe)?e[oe]:null}class vi{constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}}function ki(){return $r}function $r(e){return e.type.prototype.ngOnChanges&&(e.setInput=Ui),Bi}function Bi(){const e=us(this),t=e?.current;if(t){const n=e.previous;if(n===Ve)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function Ui(e,t,n,r){const i=us(e)||function ds(e,t){return e[ni]=t}(e,{previous:Ve,current:null}),s=i.current||(i.current={}),o=i.previous,h=this.declaredInputs[n],g=o[h];s[h]=new vi(g&&g.currentValue,t,o===Ve),e[r]=t}ki.ngInherit=!0;const ni="__ngSimpleChanges__";function us(e){return e[ni]||null}function bn(e){for(;Array.isArray(e);)e=e[0];return e}function Dr(e,t){return bn(t[e])}function Hn(e,t){return bn(t[e.index])}function ii(e,t){return e.data[t]}function Rr(e,t){return e[t]}function Nn(e,t){const n=t[e];return An(n)?n:n[0]}function fr(e){return 64==(64&e[2])}function or(e,t){return null==t?null:e[t]}function ar(e){e[18]=0}function Ei(e,t){e[5]+=t;let n=e,r=e[3];for(;null!==r&&(1===t&&1===n[5]||-1===t&&0===n[5]);)r[5]+=t,n=r,r=r[3]}const bt={lFrame:Ps(null),bindingsEnabled:!0};function xr(){return bt.bindingsEnabled}function et(){return bt.lFrame.lView}function Wt(){return bt.lFrame.tView}function ps(e){return bt.lFrame.contextLView=e,e[8]}function ji(e){return bt.lFrame.contextLView=null,e}function In(){let e=Kr();for(;null!==e&&64===e.type;)e=e.parent;return e}function Kr(){return bt.lFrame.currentTNode}function lr(e,t){const n=bt.lFrame;n.currentTNode=e,n.isParent=t}function gs(){return bt.lFrame.isParent}function Hi(){bt.lFrame.isParent=!1}function $n(){const e=bt.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function Cr(){return bt.lFrame.bindingIndex}function ai(){return bt.lFrame.bindingIndex++}function pr(e){const t=bt.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function ys(e,t){const n=bt.lFrame;n.bindingIndex=n.bindingRootIndex=e,$i(t)}function $i(e){bt.lFrame.currentDirectiveIndex=e}function Mi(e){const t=bt.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}function Si(){return bt.lFrame.currentQueryIndex}function br(e){bt.lFrame.currentQueryIndex=e}function li(e){const t=e[1];return 2===t.type?t.declTNode:1===t.type?e[6]:null}function Os(e,t,n){if(n&st.SkipSelf){let i=t,s=e;for(;!(i=i.parent,null!==i||n&st.Host||(i=li(s),null===i||(s=s[15],10&i.type))););if(null===i)return!1;t=i,e=s}const r=bt.lFrame=zi();return r.currentTNode=t,r.lView=e,!0}function ci(e){const t=zi(),n=e[1];bt.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function zi(){const e=bt.lFrame,t=null===e?null:e.child;return null===t?Ps(e):t}function Ps(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 Ti(){const e=bt.lFrame;return bt.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const Wi=Ti;function Gr(){const e=Ti();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 zn(){return bt.lFrame.selectedIndex}function w(e){bt.lFrame.selectedIndex=e}function a(){const e=bt.lFrame;return ii(e.tView,e.selectedIndex)}function c(){bt.lFrame.currentNamespace="svg"}function M(){!function x(){bt.lFrame.currentNamespace=null}()}function Le(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n<r;n++){const s=e.data[n].type.prototype,{ngAfterContentInit:o,ngAfterContentChecked:h,ngAfterViewInit:g,ngAfterViewChecked:C,ngOnDestroy:A}=s;o&&(e.contentHooks||(e.contentHooks=[])).push(-n,o),h&&((e.contentHooks||(e.contentHooks=[])).push(n,h),(e.contentCheckHooks||(e.contentCheckHooks=[])).push(n,h)),g&&(e.viewHooks||(e.viewHooks=[])).push(-n,g),C&&((e.viewHooks||(e.viewHooks=[])).push(n,C),(e.viewCheckHooks||(e.viewCheckHooks=[])).push(n,C)),null!=A&&(e.destroyHooks||(e.destroyHooks=[])).push(n,A)}}function Qe(e,t,n){Xt(e,t,3,n)}function pt(e,t,n,r){(3&e[2])===n&&Xt(e,t,n,r)}function _t(e,t){let n=e[2];(3&n)===t&&(n&=2047,n+=1,e[2]=n)}function Xt(e,t,n,r){const s=r??-1,o=t.length-1;let h=0;for(let g=void 0!==r?65535&e[18]:0;g<o;g++)if("number"==typeof t[g+1]){if(h=t[g],null!=r&&h>=r)break}else t[g]<0&&(e[18]+=65536),(h<s||-1==s)&&(Gt(e,n,t,g),e[18]=(4294901760&e[18])+g+2),g++}function Gt(e,t,n,r){const i=n[r]<0,s=n[r+1],h=e[i?-n[r]:n[r]];if(i){if(e[2]>>11<e[18]>>16&&(3&e[2])===t){e[2]+=2048;try{s.call(h)}finally{}}}else try{s.call(h)}finally{}}class xt{constructor(t,n,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}}function S(e,t,n){let r=0;for(;r<n.length;){const i=n[r];if("number"==typeof i){if(0!==i)break;r++;const s=n[r++],o=n[r++],h=n[r++];e.setAttribute(t,o,h,s)}else{const s=i,o=n[++r];Be(s)?e.setProperty(t,s,o):e.setAttribute(t,s,o),r++}}return r}function ie(e){return 3===e||4===e||6===e}function Be(e){return 64===e.charCodeAt(0)}function Je(e,t){if(null!==t&&0!==t.length)if(null===e||0===e.length)e=t.slice();else{let n=-1;for(let r=0;r<t.length;r++){const i=t[r];"number"==typeof i?n=i:0===n||yt(e,n,i,null,-1===n||2===n?t[++r]:null)}}return e}function yt(e,t,n,r,i){let s=0,o=e.length;if(-1===t)o=-1;else for(;s<e.length;){const h=e[s++];if("number"==typeof h){if(h===t){o=-1;break}if(h>t){o=s-1;break}}}for(;s<e.length;){const h=e[s];if("number"==typeof h)break;if(h===n){if(null===r)return void(null!==i&&(e[s+1]=i));if(r===e[s+1])return void(e[s+2]=i)}s++,null!==r&&s++,null!==i&&s++}-1!==o&&(e.splice(o,0,t),s=o+1),e.splice(s++,0,n),null!==r&&e.splice(s++,0,r),null!==i&&e.splice(s++,0,i)}function Yt(e){return-1!==e}function Jt(e){return 32767&e}function nt(e,t){let n=function rn(e){return e>>16}(e),r=t;for(;n>0;)r=r[15],n--;return r}let mt=!0;function ft(e){const t=mt;return mt=e,t}let Sn=0;const hn={};function wr(e,t){const n=Tn(e,t);if(-1!==n)return n;const r=t[1];r.firstCreatePass&&(e.injectorIndex=t.length,Ai(r.data,e),Ai(t,null),Ai(r.blueprint,null));const i=Mr(e,t),s=e.injectorIndex;if(Yt(i)){const o=Jt(i),h=nt(i,t),g=h[1].data;for(let C=0;C<8;C++)t[s+C]=h[o+C]|g[o+C]}return t[s+8]=i,s}function Ai(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Tn(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function Mr(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=0,r=null,i=t;for(;null!==i;){if(r=ko(i),null===r)return-1;if(n++,i=i[15],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return-1}function Zn(e,t,n){!function un(e,t,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(q)&&(r=n[q]),null==r&&(r=n[q]=Sn++);const i=255&r;t.data[e+(i>>5)]|=1<<i}(e,t,n)}function Ds(e,t,n){if(n&st.Optional||void 0!==e)return e;K()}function _a(e,t,n,r){if(n&st.Optional&&void 0===r&&(r=null),0==(n&(st.Self|st.Host))){const i=e[9],s=O(void 0);try{return i?i.get(t,r,n&st.Optional):G(t,r,n&st.Optional)}finally{O(s)}}return Ds(r,0,n)}function Lo(e,t,n,r=st.Default,i){if(null!==e){if(1024&t[2]){const o=function No(e,t,n,r,i){let s=e,o=t;for(;null!==s&&null!==o&&1024&o[2]&&!(256&o[2]);){const h=kn(s,o,n,r|st.Self,hn);if(h!==hn)return h;let g=s.parent;if(!g){const C=o[21];if(C){const A=C.get(n,hn,r);if(A!==hn)return A}g=ko(o),o=o[15]}s=g}return i}(e,t,n,r,hn);if(o!==hn)return o}const s=kn(e,t,n,r,hn);if(s!==hn)return s}return _a(t,n,r,i)}function kn(e,t,n,r,i){const s=function no(e){if("string"==typeof e)return e.charCodeAt(0)||0;const t=e.hasOwnProperty(q)?e[q]:void 0;return"number"==typeof t?t>=0?255&t:$u:t}(n);if("function"==typeof s){if(!Os(t,e,r))return r&st.Host?Ds(i,0,r):_a(t,n,r,i);try{const o=s(r);if(null!=o||r&st.Optional)return o;K()}finally{Wi()}}else if("number"==typeof s){let o=null,h=Tn(e,t),g=-1,C=r&st.Host?t[16][6]:null;for((-1===h||r&st.SkipSelf)&&(g=-1===h?Mr(e,t):t[h+8],-1!==g&&va(r,!1)?(o=t[1],h=Jt(g),t=nt(g,t)):h=-1);-1!==h;){const A=t[1];if(ya(s,h,A.data)){const U=ml(h,t,n,o,r,C);if(U!==hn)return U}g=t[h+8],-1!==g&&va(r,t[1].data[h+8]===C)&&ya(s,h,t)?(o=A,h=Jt(g),t=nt(g,t)):h=-1}}return i}function ml(e,t,n,r,i,s){const o=t[1],h=o.data[e+8],A=Rs(h,o,n,null==r?nr(h)&&mt:r!=o&&0!=(3&h.type),i&st.Host&&s===h);return null!==A?Yi(t,o,A,h):hn}function Rs(e,t,n,r,i){const s=e.providerIndexes,o=t.data,h=1048575&s,g=e.directiveStart,A=s>>20,ge=i?h+A:e.directiveEnd;for(let Re=r?h:h+A;Re<ge;Re++){const qe=o[Re];if(Re<g&&n===qe||Re>=g&&qe.type===n)return Re}if(i){const Re=o[g];if(Re&&qn(Re)&&Re.type===n)return g}return null}function Yi(e,t,n,r){let i=e[n];const s=t.data;if(function cn(e){return e instanceof xt}(i)){const o=i;o.resolving&&function ht(e,t){const n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new he(-200,`Circular dependency in DI detected for ${e}${n}`)}(function Ue(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():ye(e)}(s[n]));const h=ft(o.canSeeViewProviders);o.resolving=!0;const g=o.injectImpl?O(o.injectImpl):null;Os(e,r,st.Default);try{i=e[n]=o.factory(void 0,s,e,r),t.firstCreatePass&&n>=r.directiveStart&&function le(e,t,n){const{ngOnChanges:r,ngOnInit:i,ngDoCheck:s}=t.type.prototype;if(r){const o=$r(t);(n.preOrderHooks||(n.preOrderHooks=[])).push(e,o),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,o)}i&&(n.preOrderHooks||(n.preOrderHooks=[])).push(0-e,i),s&&((n.preOrderHooks||(n.preOrderHooks=[])).push(e,s),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,s))}(n,s[n],t)}finally{null!==g&&O(g),ft(h),o.resolving=!1,Wi()}}return i}function ya(e,t,n){return!!(n[t+(e>>5)]&1<<e)}function va(e,t){return!(e&st.Self||e&st.Host&&t)}class Zi{constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return Lo(this._tNode,this._lView,t,r,n)}}function $u(){return new Zi(In(),et())}function _l(e){return ke(()=>{const t=e.prototype.constructor,n=t[oe]||Fo(t),r=Object.prototype;let i=Object.getPrototypeOf(e.prototype).constructor;for(;i&&i!==r;){const s=i[oe]||Fo(i);if(s&&s!==n)return s;i=Object.getPrototypeOf(i)}return s=>new s})}function Fo(e){return Se(e)?()=>{const t=Fo(H(e));return t&&t()}:sr(e)}function ko(e){const t=e[1],n=t.type;return 2===n?t.declTNode:1===n?e[6]:null}function Es(e){return function vs(e,t){if("class"===t)return e.classes;if("style"===t)return e.styles;const n=e.attrs;if(n){const r=n.length;let i=0;for(;i<r;){const s=n[i];if(ie(s))break;if(0===s)i+=2;else if("number"==typeof s)for(i++;i<r&&"string"==typeof n[i];)i++;else{if(s===t)return n[i+1];i+=2}}}return null}(In(),e)}const Qi="__parameters__";function Xi(e,t,n){return ke(()=>{const r=function Da(e){return function(...n){if(e){const r=e(...n);for(const i in r)this[i]=r[i]}}}(t);function i(...s){if(this instanceof i)return r.apply(this,s),this;const o=new i(...s);return h.annotation=o,h;function h(g,C,A){const U=g.hasOwnProperty(Qi)?g[Qi]:Object.defineProperty(g,Qi,{value:[]})[Qi];for(;U.length<=A;)U.push(null);return(U[A]=U[A]||[]).push(o),g}}return n&&(i.prototype=Object.create(n.prototype)),i.prototype.ngMetadataName=e,i.annotationCls=i,i})}class Dn{constructor(t,n){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof n?this.__NG_ELEMENT_ID__=n:void 0!==n&&(this.\u0275prov=ee({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}function gr(e,t){void 0===t&&(t=e);for(let n=0;n<e.length;n++){let r=e[n];Array.isArray(r)?(t===e&&(t=e.slice(0,n)),gr(r,t)):t!==e&&t.push(r)}return t}function Yr(e,t){e.forEach(n=>Array.isArray(n)?Yr(n,t):t(n))}function Ea(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function jo(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function u(e,t){const n=[];for(let r=0;r<e;r++)n.push(t);return n}function J(e,t,n){let r=lt(e,t);return r>=0?e[1|r]=n:(r=~r,function y(e,t,n,r){let i=e.length;if(i==t)e.push(n,r);else if(1===i)e.push(r,e[0]),e[0]=n;else{for(i--,e.push(e[i-1],e[i]);i>t;)e[i]=e[i-2],i--;e[t]=n,e[t+1]=r}}(e,r,t,n)),r}function ze(e,t){const n=lt(e,t);if(n>=0)return e[1|n]}function lt(e,t){return function Dt(e,t,n){let r=0,i=e.length>>n;for(;i!==r;){const s=r+(i-r>>1),o=e[s<<n];if(t===o)return s<<n;o>t?i=s:r=s+1}return~(i<<n)}(e,t,1)}const Ho={},El="__NG_DI_FLAG__",ba="ngTempTokenPath",fm=/\n/gm,Qu="__source";let $o;function so(e){const t=$o;return $o=e,t}function gm(e,t=st.Default){if(void 0===$o)throw new he(-203,!1);return null===$o?G(e,void 0,t):$o.get(e,t&st.Optional?null:void 0,t)}function Wn(e,t=st.Default){return(function Ye(){return _n}()||gm)(H(e),t)}function Ju(e,t=st.Default){return"number"!=typeof t&&(t=0|(t.optional&&8)|(t.host&&1)|(t.self&&2)|(t.skipSelf&&4)),Wn(e,t)}function Cl(e){const t=[];for(let n=0;n<e.length;n++){const r=H(e[n]);if(Array.isArray(r)){if(0===r.length)throw new he(900,!1);let i,s=st.Default;for(let o=0;o<r.length;o++){const h=r[o],g=mm(h);"number"==typeof g?-1===g?i=h.token:s|=g:i=h}t.push(Wn(i,s))}else t.push(Wn(r))}return t}function zo(e,t){return e[El]=t,e.prototype[El]=t,e}function mm(e){return e[El]}const wa=zo(Xi("Inject",e=>({token:e})),-1),Wo=zo(Xi("Optional"),8),Ko=zo(Xi("SkipSelf"),4);var Ii=(()=>((Ii=Ii||{})[Ii.Important=1]="Important",Ii[Ii.DashCase=2]="DashCase",Ii))();const Sl=new Map;let Lm=0;const Al="__ngContext__";function ur(e,t){An(t)?(e[Al]=t[20],function Nm(e){Sl.set(e[20],e)}(t)):e[Al]=t}function Ol(e,t){return undefined(e,t)}function Qo(e){const t=e[3];return Gn(t)?t[3]:t}function Pl(e){return yd(e[13])}function Rl(e){return yd(e[4])}function yd(e){for(;null!==e&&!Gn(e);)e=e[4];return e}function ao(e,t,n,r,i){if(null!=r){let s,o=!1;Gn(r)?s=r:An(r)&&(o=!0,r=r[0]);const h=bn(r);0===e&&null!==n?null==i?wd(t,n,h):Fs(t,n,h,i||null,!0):1===e&&null!==n?Fs(t,n,h,i||null,!0):2===e?function Ul(e,t,n){const r=Ta(e,t);r&&function i_(e,t,n,r){e.removeChild(t,n,r)}(e,r,t,n)}(t,h,o):3===e&&t.destroyNode(h),null!=s&&function a_(e,t,n,r,i){const s=n[7];s!==bn(n)&&ao(t,e,r,s,i);for(let h=10;h<n.length;h++){const g=n[h];Xo(g[1],g,e,t,r,s)}}(t,e,s,n,i)}}function Ll(e,t,n){return e.createElement(t,n)}function Dd(e,t){const n=e[9],r=n.indexOf(t),i=t[3];512&t[2]&&(t[2]&=-513,Ei(i,-1)),n.splice(r,1)}function Fl(e,t){if(e.length<=10)return;const n=10+t,r=e[n];if(r){const i=r[17];null!==i&&i!==e&&Dd(i,r),t>0&&(e[n-1][4]=r[4]);const s=jo(e,10+t);!function Qm(e,t){Xo(e,t,t[11],2,null,null),t[0]=null,t[6]=null}(r[1],r);const o=s[19];null!==o&&o.detachView(s[1]),r[3]=null,r[4]=null,r[2]&=-65}return r}function Ed(e,t){if(!(128&t[2])){const n=t[11];n.destroyNode&&Xo(e,t,n,3,null,null),function qm(e){let t=e[13];if(!t)return Nl(e[1],e);for(;t;){let n=null;if(An(t))n=t[13];else{const r=t[10];r&&(n=r)}if(!n){for(;t&&!t[4]&&t!==e;)An(t)&&Nl(t[1],t),t=t[3];null===t&&(t=e),An(t)&&Nl(t[1],t),n=t&&t[4]}t=n}}(t)}}function Nl(e,t){if(!(128&t[2])){t[2]&=-65,t[2]|=128,function r_(e,t){let n;if(null!=e&&null!=(n=e.destroyHooks))for(let r=0;r<n.length;r+=2){const i=t[n[r]];if(!(i instanceof xt)){const s=n[r+1];if(Array.isArray(s))for(let o=0;o<s.length;o+=2){const h=i[s[o]],g=s[o+1];try{g.call(h)}finally{}}else try{s.call(i)}finally{}}}}(e,t),function n_(e,t){const n=e.cleanup,r=t[7];let i=-1;if(null!==n)for(let s=0;s<n.length-1;s+=2)if("string"==typeof n[s]){const o=n[s+1],h="function"==typeof o?o(t):bn(t[o]),g=r[i=n[s+2]],C=n[s+3];"boolean"==typeof C?h.removeEventListener(n[s],g,C):C>=0?r[i=C]():r[i=-C].unsubscribe(),s+=2}else{const o=r[i=n[s+1]];n[s].call(o)}if(null!==r){for(let s=i+1;s<r.length;s++)(0,r[s])();t[7]=null}}(e,t),1===t[1].type&&t[11].destroy();const n=t[17];if(null!==n&&Gn(t[3])){n!==t[3]&&Dd(n,t);const r=t[19];null!==r&&r.detachView(e)}!function km(e){Sl.delete(e[20])}(t)}}function Cd(e,t,n){return function bd(e,t,n){let r=t;for(;null!==r&&40&r.type;)r=(t=r).parent;if(null===r)return n[0];if(2&r.flags){const i=e.data[r.directiveStart].encapsulation;if(i===Me.None||i===Me.Emulated)return null}return Hn(r,n)}(e,t.parent,n)}function Fs(e,t,n,r,i){e.insertBefore(t,n,r,i)}function wd(e,t,n){e.appendChild(t,n)}function Md(e,t,n,r,i){null!==r?Fs(e,t,n,r,i):wd(e,t,n)}function Ta(e,t){return e.parentNode(t)}function Sd(e,t,n){return Ad(e,t,n)}let Oa,$l,Pa,Ad=function Td(e,t,n){return 40&e.type?Hn(e,n):null};function Aa(e,t,n,r){const i=Cd(e,r,t),s=t[11],h=Sd(r.parent||t[6],r,t);if(null!=i)if(Array.isArray(n))for(let g=0;g<n.length;g++)Md(s,i,n[g],h,!1);else Md(s,i,n,h,!1)}function Ia(e,t){if(null!==t){const n=t.type;if(3&n)return Hn(t,e);if(4&n)return Bl(-1,e[t.index]);if(8&n){const r=t.child;if(null!==r)return Ia(e,r);{const i=e[t.index];return Gn(i)?Bl(-1,i):bn(i)}}if(32&n)return Ol(t,e)()||bn(e[t.index]);{const r=Od(e,t);return null!==r?Array.isArray(r)?r[0]:Ia(Qo(e[16]),r):Ia(e,t.next)}}return null}function Od(e,t){return null!==t?e[16][6].projection[t.projection]:null}function Bl(e,t){const n=10+e+1;if(n<t.length){const r=t[n],i=r[1].firstChild;if(null!==i)return Ia(r,i)}return t[7]}function Vl(e,t,n,r,i,s,o){for(;null!=n;){const h=r[n.index],g=n.type;if(o&&0===t&&(h&&ur(bn(h),r),n.flags|=4),64!=(64&n.flags))if(8&g)Vl(e,t,n.child,r,i,s,!1),ao(t,e,i,h,s);else if(32&g){const C=Ol(n,r);let A;for(;A=C();)ao(t,e,i,A,s);ao(t,e,i,h,s)}else 16&g?Pd(e,t,r,n,i,s):ao(t,e,i,h,s);n=o?n.projectionNext:n.next}}function Xo(e,t,n,r,i,s){Vl(n,r,e.firstChild,t,i,s,!1)}function Pd(e,t,n,r,i,s){const o=n[16],g=o[6].projection[r.projection];if(Array.isArray(g))for(let C=0;C<g.length;C++)ao(t,e,i,g[C],s);else Vl(e,t,g,o[3],i,s,!0)}function Rd(e,t,n){e.setAttribute(t,"style",n)}function jl(e,t,n){""===n?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function Ns(e){return function Hl(){if(void 0===Oa&&(Oa=null,Pe.trustedTypes))try{Oa=Pe.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Oa}()?.createHTML(e)||e}function h_(e){$l=e}function Ld(e){return function zl(){if(void 0===Pa&&(Pa=null,Pe.trustedTypes))try{Pa=Pe.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Pa}()?.createHTML(e)||e}class ks{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see https://g.co/ng/security#xss)`}}class f_ extends ks{getTypeName(){return"HTML"}}class p_ extends ks{getTypeName(){return"Style"}}class g_ extends ks{getTypeName(){return"Script"}}class m_ extends ks{getTypeName(){return"URL"}}class __ extends ks{getTypeName(){return"ResourceURL"}}function es(e){return e instanceof ks?e.changingThisBreaksApplicationSecurity:e}function lo(e,t){const n=function y_(e){return e instanceof ks&&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 v_(e){return new f_(e)}function D_(e){return new p_(e)}function E_(e){return new g_(e)}function C_(e){return new m_(e)}function b_(e){return new __(e)}class w_{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{const n=(new window.DOMParser).parseFromString(Ns(t),"text/html").body;return null===n?this.inertDocumentHelper.getInertBodyElement(t):(n.removeChild(n.firstChild),n)}catch{return null}}}class M_{constructor(t){if(this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),null==this.inertDocument.body){const n=this.inertDocument.createElement("html");this.inertDocument.appendChild(n);const r=this.inertDocument.createElement("body");n.appendChild(r)}}getInertBodyElement(t){const n=this.inertDocument.createElement("template");if("content"in n)return n.innerHTML=Ns(t),n;const r=this.inertDocument.createElement("body");return r.innerHTML=Ns(t),this.defaultDoc.documentMode&&this.stripCustomNsAttrs(r),r}stripCustomNsAttrs(t){const n=t.attributes;for(let i=n.length-1;0<i;i--){const o=n.item(i).name;("xmlns:ns1"===o||0===o.indexOf("ns1:"))&&t.removeAttribute(o)}let r=t.firstChild;for(;r;)r.nodeType===Node.ELEMENT_NODE&&this.stripCustomNsAttrs(r),r=r.nextSibling}}const T_=/^(?:(?:https?|mailto|data|ftp|tel|file|sms):|[^&:/?#]*(?:[/?#]|$))/gi;function Ra(e){return(e=String(e)).match(T_)?e:"unsafe:"+e}function ts(e){const t={};for(const n of e.split(","))t[n]=!0;return t}function Jo(...e){const t={};for(const n of e)for(const r in n)n.hasOwnProperty(r)&&(t[r]=!0);return t}const Bd=ts("area,br,col,hr,img,wbr"),Ud=ts("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Vd=ts("rp,rt"),Wl=Jo(Bd,Jo(Ud,ts("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")),Jo(Vd,ts("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")),Jo(Vd,Ud)),Kl=ts("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),jd=Jo(Kl,ts("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),ts("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")),A_=ts("script,style,template");class I_{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(t){let n=t.firstChild,r=!0;for(;n;)if(n.nodeType===Node.ELEMENT_NODE?r=this.startElement(n):n.nodeType===Node.TEXT_NODE?this.chars(n.nodeValue):this.sanitizedSomething=!0,r&&n.firstChild)n=n.firstChild;else for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let i=this.checkClobberedElement(n,n.nextSibling);if(i){n=i;break}n=this.checkClobberedElement(n,n.parentNode)}return this.buf.join("")}startElement(t){const n=t.nodeName.toLowerCase();if(!Wl.hasOwnProperty(n))return this.sanitizedSomething=!0,!A_.hasOwnProperty(n);this.buf.push("<"),this.buf.push(n);const r=t.attributes;for(let i=0;i<r.length;i++){const s=r.item(i),o=s.name,h=o.toLowerCase();if(!jd.hasOwnProperty(h)){this.sanitizedSomething=!0;continue}let g=s.value;Kl[h]&&(g=Ra(g)),this.buf.push(" ",o,'="',Hd(g),'"')}return this.buf.push(">"),!0}endElement(t){const n=t.nodeName.toLowerCase();Wl.hasOwnProperty(n)&&!Bd.hasOwnProperty(n)&&(this.buf.push("</"),this.buf.push(n),this.buf.push(">"))}chars(t){this.buf.push(Hd(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 O_=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,P_=/([^\#-~ |!])/g;function Hd(e){return e.replace(/&/g,"&amp;").replace(O_,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(P_,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}let xa;function $d(e,t){let n=null;try{xa=xa||function kd(e){const t=new M_(e);return function S_(){try{return!!(new window.DOMParser).parseFromString(Ns(""),"text/html")}catch{return!1}}()?new w_(t):t}(e);let r=t?String(t):"";n=xa.getInertBodyElement(r);let i=5,s=r;do{if(0===i)throw new Error("Failed to sanitize html because the input is unstable");i--,r=s,s=n.innerHTML,n=xa.getInertBodyElement(r)}while(r!==s);return Ns((new I_).sanitizeChildren(Gl(n)||n))}finally{if(n){const r=Gl(n)||n;for(;r.firstChild;)r.removeChild(r.firstChild)}}}function Gl(e){return"content"in e&&function R_(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var Un=(()=>((Un=Un||{})[Un.NONE=0]="NONE",Un[Un.HTML=1]="HTML",Un[Un.STYLE=2]="STYLE",Un[Un.SCRIPT=3]="SCRIPT",Un[Un.URL=4]="URL",Un[Un.RESOURCE_URL=5]="RESOURCE_URL",Un))();function zd(e){const t=qo();return t?Ld(t.sanitize(Un.HTML,e)||""):lo(e,"HTML")?Ld(es(e)):$d(function xd(){return void 0!==$l?$l:typeof document<"u"?document:void 0}(),ye(e))}function Yl(e){const t=qo();return t?t.sanitize(Un.URL,e)||"":lo(e,"URL")?es(e):Ra(ye(e))}function qo(){const e=et();return e&&e[12]}const Zl=new Dn("ENVIRONMENT_INITIALIZER"),Kd=new Dn("INJECTOR",-1),Gd=new Dn("INJECTOR_DEF_TYPES");class Yd{get(t,n=Ho){if(n===Ho){const r=new Error(`NullInjectorError: No provider for ${Q(t)}!`);throw r.name="NullInjectorError",r}return n}}function U_(...e){return{\u0275providers:Zd(0,e)}}function Zd(e,...t){const n=[],r=new Set;let i;return Yr(t,s=>{const o=s;Ql(o,n,[],r)&&(i||(i=[]),i.push(o))}),void 0!==i&&Qd(i,n),n}function Qd(e,t){for(let n=0;n<e.length;n++){const{providers:i}=e[n];Yr(i,s=>{t.push(s)})}}function Ql(e,t,n,r){if(!(e=H(e)))return!1;let i=null,s=wt(e);const o=!s&&jt(e);if(s||o){if(o&&!o.standalone)return!1;i=e}else{const g=e.ngModule;if(s=wt(g),!s)return!1;i=g}const h=r.has(i);if(o){if(h)return!1;if(r.add(i),o.dependencies){const g="function"==typeof o.dependencies?o.dependencies():o.dependencies;for(const C of g)Ql(C,t,n,r)}}else{if(!s)return!1;{if(null!=s.imports&&!h){let C;r.add(i);try{Yr(s.imports,A=>{Ql(A,t,n,r)&&(C||(C=[]),C.push(A))})}finally{}void 0!==C&&Qd(C,t)}if(!h){const C=sr(i)||(()=>new i);t.push({provide:i,useFactory:C,deps:ue},{provide:Gd,useValue:i,multi:!0},{provide:Zl,useValue:()=>Wn(i),multi:!0})}const g=s.providers;null==g||h||Yr(g,A=>{t.push(A)})}}return i!==e&&void 0!==e.providers}const V_=V({provide:String,useValue:V});function Xl(e){return null!==e&&"object"==typeof e&&V_ in e}function Bs(e){return"function"==typeof e}const Jl=new Dn("Set Injector scope."),La={},H_={};let ql;function Fa(){return void 0===ql&&(ql=new Yd),ql}class Us{}class qd extends Us{constructor(t,n,r,i){super(),this.parent=n,this.source=r,this.scopes=i,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,tc(t,o=>this.processProvider(o)),this.records.set(Kd,co(void 0,this)),i.has("environment")&&this.records.set(Us,co(void 0,this));const s=this.records.get(Jl);null!=s&&"string"==typeof s.value&&this.scopes.add(s.value),this.injectorDefTypes=new Set(this.get(Gd.multi,ue,st.Self))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const t of this._ngOnDestroyHooks)t.ngOnDestroy();for(const t of this._onDestroyHooks)t()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),this._onDestroyHooks.length=0}}onDestroy(t){this._onDestroyHooks.push(t)}runInContext(t){this.assertNotDestroyed();const n=so(this),r=O(void 0);try{return t()}finally{so(n),O(r)}}get(t,n=Ho,r=st.Default){this.assertNotDestroyed();const i=so(this),s=O(void 0);try{if(!(r&st.SkipSelf)){let h=this.records.get(t);if(void 0===h){const g=function G_(e){return"function"==typeof e||"object"==typeof e&&e instanceof Dn}(t)&&Ze(t);h=g&&this.injectableDefInScope(g)?co(ec(t),La):null,this.records.set(t,h)}if(null!=h)return this.hydrate(t,h)}return(r&st.Self?Fa():this.parent).get(t,n=r&st.Optional&&n===Ho?null:n)}catch(o){if("NullInjectorError"===o.name){if((o[ba]=o[ba]||[]).unshift(Q(t)),i)throw o;return function _m(e,t,n,r){const i=e[ba];throw t[Qu]&&i.unshift(t[Qu]),e.message=function ym(e,t,n,r=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let i=Q(t);if(Array.isArray(t))i=t.map(Q).join(" -> ");else if("object"==typeof t){let s=[];for(let o in t)if(t.hasOwnProperty(o)){let h=t[o];s.push(o+":"+("string"==typeof h?JSON.stringify(h):Q(h)))}i=`{${s.join(", ")}}`}return`${n}${r?"("+r+")":""}[${i}]: ${e.replace(fm,"\n ")}`}("\n"+e.message,i,n,r),e.ngTokenPath=i,e[ba]=null,e}(o,t,"R3InjectorError",this.source)}throw o}finally{O(s),so(i)}}resolveInjectorInitializers(){const t=so(this),n=O(void 0);try{const r=this.get(Zl.multi,ue,st.Self);for(const i of r)i()}finally{so(t),O(n)}}toString(){const t=[],n=this.records;for(const r of n.keys())t.push(Q(r));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new he(205,!1)}processProvider(t){let n=Bs(t=H(t))?t:H(t&&t.provide);const r=function z_(e){return Xl(e)?co(void 0,e.useValue):co(eh(e),La)}(t);if(Bs(t)||!0!==t.multi)this.records.get(n);else{let i=this.records.get(n);i||(i=co(void 0,La,!0),i.factory=()=>Cl(i.multi),this.records.set(n,i)),n=t,i.multi.push(t)}this.records.set(n,r)}hydrate(t,n){return n.value===La&&(n.value=H_,n.value=n.factory()),"object"==typeof n.value&&n.value&&function K_(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=H(t.providedIn);return"string"==typeof n?"any"===n||this.scopes.has(n):this.injectorDefTypes.has(n)}}function ec(e){const t=Ze(e),n=null!==t?t.factory:sr(e);if(null!==n)return n;if(e instanceof Dn)throw new he(204,!1);if(e instanceof Function)return function $_(e){const t=e.length;if(t>0)throw u(t,"?"),new he(204,!1);const n=function dt(e){const t=e&&(e[en]||e[kt]);if(t){const n=function At(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 he(204,!1)}function eh(e,t,n){let r;if(Bs(e)){const i=H(e);return sr(i)||ec(i)}if(Xl(e))r=()=>H(e.useValue);else if(function Jd(e){return!(!e||!e.useFactory)}(e))r=()=>e.useFactory(...Cl(e.deps||[]));else if(function Xd(e){return!(!e||!e.useExisting)}(e))r=()=>Wn(H(e.useExisting));else{const i=H(e&&(e.useClass||e.provide));if(!function W_(e){return!!e.deps}(e))return sr(i)||ec(i);r=()=>new i(...Cl(e.deps))}return r}function co(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function Y_(e){return!!e.\u0275providers}function tc(e,t){for(const n of e)Array.isArray(n)?tc(n,t):Y_(n)?tc(n.\u0275providers,t):t(n)}class th{}class X_{resolveComponentFactory(t){throw function Q_(e){const t=Error(`No component factory found for ${Q(e)}. Did you add it to @NgModule.entryComponents?`);return t.ngComponent=e,t}(t)}}let ea=(()=>{class e{}return e.NULL=new X_,e})();function J_(){return uo(In(),et())}function uo(e,t){return new ta(Hn(e,t))}let ta=(()=>{class e{constructor(n){this.nativeElement=n}}return e.__NG_ELEMENT_ID__=J_,e})();function q_(e){return e instanceof ta?e.nativeElement:e}class rh{}let ey=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>function ty(){const e=et(),n=Nn(In().index,e);return(An(n)?n:e)[11]}(),e})(),ny=(()=>{class e{}return e.\u0275prov=ee({token:e,providedIn:"root",factory:()=>null}),e})();class ih{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const ry=new ih("14.3.0"),nc={};function ic(e){return e.ngOriginalError}class na{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&&ic(t);for(;n&&ic(n);)n=ic(n);return n||null}}function sh(e){return e.ownerDocument.defaultView}function ns(e){return e instanceof Function?e():e}function ah(e,t,n){let r=e.length;for(;;){const i=e.indexOf(t,n);if(-1===i)return i;if(0===i||e.charCodeAt(i-1)<=32){const s=t.length;if(i+s===r||e.charCodeAt(i+s)<=32)return i}n=i+1}}const lh="ng-template";function fy(e,t,n){let r=0;for(;r<e.length;){let i=e[r++];if(n&&"class"===i){if(i=e[r],-1!==ah(i.toLowerCase(),t,0))return!0}else if(1===i){for(;r<e.length&&"string"==typeof(i=e[r++]);)if(i.toLowerCase()===t)return!0;return!1}}return!1}function ch(e){return 4===e.type&&e.value!==lh}function py(e,t,n){return t===(4!==e.type||n?e.value:lh)}function gy(e,t,n){let r=4;const i=e.attrs||[],s=function yy(e){for(let t=0;t<e.length;t++)if(ie(e[t]))return t;return e.length}(i);let o=!1;for(let h=0;h<t.length;h++){const g=t[h];if("number"!=typeof g){if(!o)if(4&r){if(r=2|1&r,""!==g&&!py(e,g,n)||""===g&&1===t.length){if(di(r))return!1;o=!0}}else{const C=8&r?g:t[++h];if(8&r&&null!==e.attrs){if(!fy(e.attrs,C,n)){if(di(r))return!1;o=!0}continue}const U=my(8&r?"class":g,i,ch(e),n);if(-1===U){if(di(r))return!1;o=!0;continue}if(""!==C){let ge;ge=U>s?"":i[U+1].toLowerCase();const Re=8&r?ge:null;if(Re&&-1!==ah(Re,C,0)||2&r&&C!==ge){if(di(r))return!1;o=!0}}}}else{if(!o&&!di(r)&&!di(g))return!1;if(o&&di(g))continue;o=!1,r=g|1&r}}return di(r)||o}function di(e){return 0==(1&e)}function my(e,t,n,r){if(null===t)return-1;let i=0;if(r||!n){let s=!1;for(;i<t.length;){const o=t[i];if(o===e)return i;if(3===o||6===o)s=!0;else{if(1===o||2===o){let h=t[++i];for(;"string"==typeof h;)h=t[++i];continue}if(4===o)break;if(0===o){i+=4;continue}}i+=s?1:2}return-1}return function vy(e,t){let n=e.indexOf(4);if(n>-1)for(n++;n<e.length;){const r=e[n];if("number"==typeof r)return-1;if(r===t)return n;n++}return-1}(t,e)}function uh(e,t,n=!1){for(let r=0;r<t.length;r++)if(gy(e,t[r],n))return!0;return!1}function Dy(e,t){e:for(let n=0;n<t.length;n++){const r=t[n];if(e.length===r.length){for(let i=0;i<e.length;i++)if(e[i]!==r[i])continue e;return!0}}return!1}function dh(e,t){return e?":not("+t.trim()+")":t}function Ey(e){let t=e[0],n=1,r=2,i="",s=!1;for(;n<e.length;){let o=e[n];if("string"==typeof o)if(2&r){const h=e[++n];i+="["+o+(h.length>0?'="'+h+'"':"")+"]"}else 8&r?i+="."+o:4&r&&(i+=" "+o);else""!==i&&!di(o)&&(t+=dh(s,i),i=""),r=o,s=s||!di(r);n++}return""!==i&&(t+=dh(s,i)),t}const Qt={};function hh(e){fh(Wt(),et(),zn()+e,!1)}function fh(e,t,n,r){if(!r)if(3==(3&t[2])){const s=e.preOrderCheckHooks;null!==s&&Qe(t,s,n)}else{const s=e.preOrderHooks;null!==s&&pt(t,s,0,n)}w(n)}function _h(e,t=null,n=null,r){const i=yh(e,t,n,r);return i.resolveInjectorInitializers(),i}function yh(e,t=null,n=null,r,i=new Set){const s=[n||ue,U_(e)];return r=r||("object"==typeof e?void 0:Q(e)),new qd(s,t||Fa(),r||null,i)}let Vs=(()=>{class e{static create(n,r){if(Array.isArray(n))return _h({name:""},r,n,"");{const i=n.name??"";return _h({name:i},n.parent,n.providers,i)}}}return e.THROW_IF_NOT_FOUND=Ho,e.NULL=new Yd,e.\u0275prov=ee({token:e,providedIn:"any",factory:()=>Wn(Kd)}),e.__NG_ELEMENT_ID__=-1,e})();function po(e,t=st.Default){const n=et();return null===n?Wn(e,t):Lo(In(),n,H(e),t)}function Mh(){throw new Error("invalid")}function ka(e,t){return e<<17|t<<2}function hi(e){return e>>17&32767}function cc(e){return 2|e}function rs(e){return(131068&e)>>2}function uc(e,t){return-131069&e|t<<2}function dc(e){return 1|e}function Nh(e,t){const n=e.contentQueries;if(null!==n)for(let r=0;r<n.length;r+=2){const i=n[r],s=n[r+1];if(-1!==s){const o=e.data[s];br(i),o.contentQueries(2,t[s],s)}}}function Va(e,t,n,r,i,s,o,h,g,C,A){const U=t.blueprint.slice();return U[0]=i,U[2]=76|r,(null!==A||e&&1024&e[2])&&(U[2]|=1024),ar(U),U[3]=U[15]=e,U[8]=n,U[10]=o||e&&e[10],U[11]=h||e&&e[11],U[12]=g||e&&e[12]||null,U[9]=C||e&&e[9]||null,U[6]=s,U[20]=function Fm(){return Lm++}(),U[21]=A,U[16]=2==t.type?e[16]:U,U}function go(e,t,n,r,i){let s=e.data[t];if(null===s)s=function vc(e,t,n,r,i){const s=Kr(),o=gs(),g=e.data[t]=function rv(e,t,n,r,i,s){return{type:n,index:r,insertBeforeIndex:null,injectorIndex:t?t.injectorIndex:-1,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,propertyBindings:null,flags:0,providerIndexes:0,value:i,attrs: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,o?s:s&&s.parent,n,t,r,i);return null===e.firstChild&&(e.firstChild=g),null!==s&&(o?null==s.child&&null!==g.parent&&(s.child=g):null===s.next&&(s.next=g)),g}(e,t,n,r,i),function to(){return bt.lFrame.inI18n}()&&(s.flags|=64);else if(64&s.type){s.type=n,s.value=r,s.attrs=i;const o=function si(){const e=bt.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}();s.injectorIndex=null===o?-1:o.injectorIndex}return lr(s,!0),s}function mo(e,t,n,r){if(0===n)return-1;const i=t.length;for(let s=0;s<n;s++)t.push(r),e.blueprint.push(r),e.data.push(null);return i}function Dc(e,t,n){ci(t);try{const r=e.viewQuery;null!==r&&Ac(1,r,n);const i=e.template;null!==i&&kh(e,t,i,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),e.staticContentQueries&&Nh(e,t),e.staticViewQueries&&Ac(2,e.viewQuery,n);const s=e.components;null!==s&&function ev(e,t){for(let n=0;n<t.length;n++)vv(e,t[n])}(t,s)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[2]&=-5,Gr()}}function ja(e,t,n,r){const i=t[2];if(128!=(128&i)){ci(t);try{ar(t),function Is(e){return bt.lFrame.bindingIndex=e}(e.bindingStartIndex),null!==n&&kh(e,t,n,2,r);const o=3==(3&i);if(o){const C=e.preOrderCheckHooks;null!==C&&Qe(t,C,null)}else{const C=e.preOrderHooks;null!==C&&pt(t,C,0,null),_t(t,0)}if(function _v(e){for(let t=Pl(e);null!==t;t=Rl(t)){if(!t[2])continue;const n=t[9];for(let r=0;r<n.length;r++){const i=n[r],s=i[3];0==(512&i[2])&&Ei(s,1),i[2]|=512}}}(t),function mv(e){for(let t=Pl(e);null!==t;t=Rl(t))for(let n=10;n<t.length;n++){const r=t[n],i=r[1];fr(r)&&ja(i,r,i.template,r[8])}}(t),null!==e.contentQueries&&Nh(e,t),o){const C=e.contentCheckHooks;null!==C&&Qe(t,C)}else{const C=e.contentHooks;null!==C&&pt(t,C,1),_t(t,1)}!function Jy(e,t){const n=e.hostBindingOpCodes;if(null!==n)try{for(let r=0;r<n.length;r++){const i=n[r];if(i<0)w(~i);else{const s=i,o=n[++r],h=n[++r];ys(o,s),h(2,t[s])}}}finally{w(-1)}}(e,t);const h=e.components;null!==h&&function qy(e,t){for(let n=0;n<t.length;n++)yv(e,t[n])}(t,h);const g=e.viewQuery;if(null!==g&&Ac(2,g,r),o){const C=e.viewCheckHooks;null!==C&&Qe(t,C)}else{const C=e.viewHooks;null!==C&&pt(t,C,2),_t(t,2)}!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),t[2]&=-41,512&t[2]&&(t[2]&=-513,Ei(t[3],-1))}finally{Gr()}}}function kh(e,t,n,r,i){const s=zn(),o=2&r;try{w(-1),o&&t.length>22&&fh(e,t,22,!1),n(r,i)}finally{w(s)}}function Bh(e,t,n){if(Ur(t)){const i=t.directiveEnd;for(let s=t.directiveStart;s<i;s++){const o=e.data[s];o.contentQueries&&o.contentQueries(1,n[s],s)}}}function Ec(e,t,n){!xr()||(function lv(e,t,n,r){const i=n.directiveStart,s=n.directiveEnd;e.firstCreatePass||wr(n,t),ur(r,t);const o=n.initialInputs;for(let h=i;h<s;h++){const g=e.data[h],C=qn(g);C&&fv(t,n,g);const A=Yi(t,e,h,n);ur(A,t),null!==o&&pv(0,h-i,A,g,0,o),C&&(Nn(n.index,t)[8]=A)}}(e,t,n,Hn(n,t)),128==(128&n.flags)&&function cv(e,t,n){const r=n.directiveStart,i=n.directiveEnd,s=n.index,o=function wi(){return bt.lFrame.currentDirectiveIndex}();try{w(s);for(let h=r;h<i;h++){const g=e.data[h],C=t[h];$i(h),(null!==g.hostBindings||0!==g.hostVars||null!==g.hostAttrs)&&Wh(g,C)}}finally{w(-1),$i(o)}}(e,t,n))}function Cc(e,t,n=Hn){const r=t.localNames;if(null!==r){let i=t.index+1;for(let s=0;s<r.length;s+=2){const o=r[s+1],h=-1===o?n(t,e):e[o];e[i++]=h}}}function Uh(e){const t=e.tView;return null===t||t.incompleteFirstPass?e.tView=bc(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts):t}function bc(e,t,n,r,i,s,o,h,g,C){const A=22+r,U=A+i,ge=function tv(e,t){const n=[];for(let r=0;r<t;r++)n.push(r<e?null:Qt);return n}(A,U),Re="function"==typeof C?C():C;return ge[1]={type:e,blueprint:ge,template:n,queries:null,viewQuery:h,declTNode:t,data:ge.slice().fill(null,A),bindingStartIndex:A,expandoStartIndex:U,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 o?o():o,firstChild:null,schemas:g,consts:Re,incompleteFirstPass:!1}}function Vh(e,t,n,r){const i=Qh(t);null===n?i.push(r):(i.push(n),e.firstCreatePass&&Xh(e).push(r,i.length-1))}function jh(e,t,n){for(let r in e)if(e.hasOwnProperty(r)){const i=e[r];(n=null===n?{}:n).hasOwnProperty(r)?n[r].push(t,i):n[r]=[t,i]}return n}function Hh(e,t){const r=t.directiveEnd,i=e.data,s=t.attrs,o=[];let h=null,g=null;for(let C=t.directiveStart;C<r;C++){const A=i[C],U=A.inputs,ge=null===s||ch(t)?null:gv(U,s);o.push(ge),h=jh(U,C,h),g=jh(A.outputs,C,g)}null!==h&&(h.hasOwnProperty("class")&&(t.flags|=16),h.hasOwnProperty("style")&&(t.flags|=32)),t.initialInputs=o,t.inputs=h,t.outputs=g}function Nr(e,t,n,r,i,s,o,h){const g=Hn(t,n);let A,C=t.inputs;!h&&null!=C&&(A=C[r])?(Ic(e,n,A,r,i),nr(t)&&$h(n,t.index)):3&t.type&&(r=function iv(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(r),i=null!=o?o(i,t.value||"",r):i,s.setProperty(g,r,i))}function $h(e,t){const n=Nn(t,e);16&n[2]||(n[2]|=32)}function wc(e,t,n,r){let i=!1;if(xr()){const s=function uv(e,t,n){const r=e.directiveRegistry;let i=null;if(r)for(let s=0;s<r.length;s++){const o=r[s];uh(n,o.selectors,!1)&&(i||(i=[]),Zn(wr(n,t),e,o.type),qn(o)?(Kh(e,n),i.unshift(o)):i.push(o))}return i}(e,t,n),o=null===r?null:{"":-1};if(null!==s){i=!0,Gh(n,e.data.length,s.length);for(let A=0;A<s.length;A++){const U=s[A];U.providersResolver&&U.providersResolver(U)}let h=!1,g=!1,C=mo(e,t,s.length,null);for(let A=0;A<s.length;A++){const U=s[A];n.mergedAttrs=Je(n.mergedAttrs,U.hostAttrs),Yh(e,n,t,C,U),hv(C,U,o),null!==U.contentQueries&&(n.flags|=8),(null!==U.hostBindings||null!==U.hostAttrs||0!==U.hostVars)&&(n.flags|=128);const ge=U.type.prototype;!h&&(ge.ngOnChanges||ge.ngOnInit||ge.ngDoCheck)&&((e.preOrderHooks||(e.preOrderHooks=[])).push(n.index),h=!0),!g&&(ge.ngOnChanges||ge.ngDoCheck)&&((e.preOrderCheckHooks||(e.preOrderCheckHooks=[])).push(n.index),g=!0),C++}Hh(e,n)}o&&function dv(e,t,n){if(t){const r=e.localNames=[];for(let i=0;i<t.length;i+=2){const s=n[t[i+1]];if(null==s)throw new he(-301,!1);r.push(t[i],s)}}}(n,r,o)}return n.mergedAttrs=Je(n.mergedAttrs,n.attrs),i}function zh(e,t,n,r,i,s){const o=s.hostBindings;if(o){let h=e.hostBindingOpCodes;null===h&&(h=e.hostBindingOpCodes=[]);const g=~t.index;(function av(e){let t=e.length;for(;t>0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(h)!=g&&h.push(g),h.push(r,i,o)}}function Wh(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function Kh(e,t){t.flags|=2,(e.components||(e.components=[])).push(t.index)}function hv(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;qn(t)&&(n[""]=e)}}function Gh(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function Yh(e,t,n,r,i){e.data[r]=i;const s=i.factory||(i.factory=sr(i.type)),o=new xt(s,qn(i),po);e.blueprint[r]=o,n[r]=o,zh(e,t,0,r,mo(e,n,i.hostVars,Qt),i)}function fv(e,t,n){const r=Hn(t,e),i=Uh(n),s=e[10],o=Ha(e,Va(e,i,null,n.onPush?32:16,r,t,s,s.createRenderer(r,n),null,null,null));e[t.index]=o}function Oi(e,t,n,r,i,s){const o=Hn(e,t);!function Mc(e,t,n,r,i,s,o){if(null==s)e.removeAttribute(t,i,n);else{const h=null==o?ye(s):o(s,r||"",i);e.setAttribute(t,i,h,n)}}(t[11],o,s,e.value,n,r,i)}function pv(e,t,n,r,i,s){const o=s[t];if(null!==o){const h=r.setInput;for(let g=0;g<o.length;){const C=o[g++],A=o[g++],U=o[g++];null!==h?r.setInput(n,U,C,A):n[A]=U}}}function gv(e,t){let n=null,r=0;for(;r<t.length;){const i=t[r];if(0!==i)if(5!==i){if("number"==typeof i)break;e.hasOwnProperty(i)&&(null===n&&(n=[]),n.push(i,e[i],t[r+1])),r+=2}else r+=2;else r+=4}return n}function Zh(e,t,n,r){return new Array(e,!0,!1,t,null,0,r,n,null,null)}function yv(e,t){const n=Nn(t,e);if(fr(n)){const r=n[1];48&n[2]?ja(r,n,r.template,n[8]):n[5]>0&&Sc(n)}}function Sc(e){for(let r=Pl(e);null!==r;r=Rl(r))for(let i=10;i<r.length;i++){const s=r[i];if(fr(s))if(512&s[2]){const o=s[1];ja(o,s,o.template,s[8])}else s[5]>0&&Sc(s)}const n=e[1].components;if(null!==n)for(let r=0;r<n.length;r++){const i=Nn(n[r],e);fr(i)&&i[5]>0&&Sc(i)}}function vv(e,t){const n=Nn(t,e),r=n[1];(function Dv(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])})(r,n),Dc(r,n,n[8])}function Ha(e,t){return e[13]?e[14][4]=t:e[13]=t,e[14]=t,t}function Tc(e){for(;e;){e[2]|=32;const t=Qo(e);if(ti(e)&&!t)return e;e=t}return null}function $a(e,t,n,r=!0){const i=t[10];i.begin&&i.begin();try{ja(e,t,e.template,n)}catch(o){throw r&&qh(t,o),o}finally{i.end&&i.end()}}function Ac(e,t,n){br(0),t(e,n)}function Qh(e){return e[7]||(e[7]=[])}function Xh(e){return e.cleanup||(e.cleanup=[])}function Jh(e,t,n){return(null===e||qn(e))&&(n=function Yn(e){for(;Array.isArray(e);){if("object"==typeof e[1])return e;e=e[0]}return null}(n[t.index])),n[11]}function qh(e,t){const n=e[9],r=n?n.get(na,null):null;r&&r.handleError(t)}function Ic(e,t,n,r,i){for(let s=0;s<n.length;){const o=n[s++],h=n[s++],g=t[o],C=e.data[o];null!==C.setInput?C.setInput(g,i,r,h):g[h]=i}}function is(e,t,n){const r=Dr(t,e);!function vd(e,t,n){e.setValue(t,n)}(e[11],r,n)}function za(e,t,n){let r=n?e.styles:null,i=n?e.classes:null,s=0;if(null!==t)for(let o=0;o<t.length;o++){const h=t[o];"number"==typeof h?s=h:1==s?i=Y(i,h):2==s&&(r=Y(r,h+": "+t[++o]+";"))}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=i:e.classesWithoutHost=i}function Wa(e,t,n,r,i=!1){for(;null!==n;){const s=t[n.index];if(null!==s&&r.push(bn(s)),Gn(s))for(let h=10;h<s.length;h++){const g=s[h],C=g[1].firstChild;null!==C&&Wa(g[1],g,C,r)}const o=n.type;if(8&o)Wa(e,t,n.child,r);else if(32&o){const h=Ol(n,t);let g;for(;g=h();)r.push(g)}else if(16&o){const h=Od(t,n);if(Array.isArray(h))r.push(...h);else{const g=Qo(t[16]);Wa(g[1],g,h,r,!0)}}n=i?n.projectionNext:n.next}return r}class ra{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 Wa(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(Gn(t)){const n=t[8],r=n?n.indexOf(this):-1;r>-1&&(Fl(t,r),jo(n,r))}this._attachedToViewContainer=!1}Ed(this._lView[1],this._lView)}onDestroy(t){Vh(this._lView[1],this._lView,null,t)}markForCheck(){Tc(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-65}reattach(){this._lView[2]|=64}detectChanges(){$a(this._lView[1],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new he(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function Jm(e,t){Xo(e,t,t[11],2,null,null)}(this._lView[1],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new he(902,!1);this._appRef=t}}class Ev extends ra{constructor(t){super(t),this._view=t}detectChanges(){const t=this._view;$a(t[1],t,t[8],!1)}checkNoChanges(){}get context(){return null}}class Oc extends ea{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const n=jt(t);return new ia(n,this.ngModule)}}function ef(e){const t=[];for(let n in e)e.hasOwnProperty(n)&&t.push({propName:e[n],templateName:n});return t}class bv{constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){const i=this.injector.get(t,nc,r);return i!==nc||n===nc?i:this.parentInjector.get(t,n,r)}}class ia extends th{constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=function Cy(e){return e.map(Ey).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!n}get inputs(){return ef(this.componentDef.inputs)}get outputs(){return ef(this.componentDef.outputs)}create(t,n,r,i){let s=(i=i||this.ngModule)instanceof Us?i:i?.injector;s&&null!==this.componentDef.getStandaloneInjector&&(s=this.componentDef.getStandaloneInjector(s)||s);const o=s?new bv(t,s):t,h=o.get(rh,null);if(null===h)throw new he(407,!1);const g=o.get(ny,null),C=h.createRenderer(null,this.componentDef),A=this.componentDef.selectors[0][0]||"div",U=r?function nv(e,t,n){return e.selectRootElement(t,n===Me.ShadowDom)}(C,r,this.componentDef.encapsulation):Ll(C,A,function Cv(e){const t=e.toLowerCase();return"svg"===t?"svg":"math"===t?"math":null}(A)),ge=this.componentDef.onPush?288:272,Re=bc(0,null,null,1,0,null,null,null,null,null),qe=Va(null,Re,null,ge,null,null,h,C,g,o,null);let at,gt;ci(qe);try{const Mt=function Sv(e,t,n,r,i,s){const o=n[1];n[22]=e;const g=go(o,22,2,"#host",null),C=g.mergedAttrs=t.hostAttrs;null!==C&&(za(g,C,!0),null!==e&&(S(i,e,C),null!==g.classes&&jl(i,e,g.classes),null!==g.styles&&Rd(i,e,g.styles)));const A=r.createRenderer(e,t),U=Va(n,Uh(t),null,t.onPush?32:16,n[22],g,r,A,s||null,null,null);return o.firstCreatePass&&(Zn(wr(g,n),o,t.type),Kh(o,g),Gh(g,n.length,1)),Ha(n,U),n[22]=U}(U,this.componentDef,qe,h,C);if(U)if(r)S(C,U,["ng-version",ry.full]);else{const{attrs:Ft,classes:tt}=function by(e){const t=[],n=[];let r=1,i=2;for(;r<e.length;){let s=e[r];if("string"==typeof s)2===i?""!==s&&t.push(s,e[++r]):8===i&&n.push(s);else{if(!di(i))break;i=s}r++}return{attrs:t,classes:n}}(this.componentDef.selectors[0]);Ft&&S(C,U,Ft),tt&&tt.length>0&&jl(C,U,tt.join(" "))}if(gt=ii(Re,22),void 0!==n){const Ft=gt.projection=[];for(let tt=0;tt<this.ngContentSelectors.length;tt++){const Ut=n[tt];Ft.push(null!=Ut?Array.from(Ut):null)}}at=function Tv(e,t,n,r){const i=n[1],s=function ov(e,t,n){const r=In();e.firstCreatePass&&(n.providersResolver&&n.providersResolver(n),Yh(e,r,t,mo(e,t,1,null),n),Hh(e,r));const i=Yi(t,e,r.directiveStart,r);ur(i,t);const s=Hn(r,t);return s&&ur(s,t),i}(i,n,t);if(e[8]=n[8]=s,null!==r)for(const h of r)h(s,t);if(t.contentQueries){const h=In();t.contentQueries(1,s,h.directiveStart)}const o=In();return!i.firstCreatePass||null===t.hostBindings&&null===t.hostAttrs||(w(o.index),zh(n[1],o,0,o.directiveStart,o.directiveEnd,t),Wh(t,s)),s}(Mt,this.componentDef,qe,[Av]),Dc(Re,qe,null)}finally{Gr()}return new Mv(this.componentType,at,uo(gt,qe),qe,gt)}}class Mv extends class Z_{}{constructor(t,n,r,i,s){super(),this.location=r,this._rootLView=i,this._tNode=s,this.instance=n,this.hostView=this.changeDetectorRef=new Ev(i),this.componentType=t}setInput(t,n){const r=this._tNode.inputs;let i;if(null!==r&&(i=r[t])){const s=this._rootLView;Ic(s[1],s,i,t,n),$h(s,this._tNode.index)}}get injector(){return new Zi(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}}function Av(){const e=In();Le(et()[1],e)}function Pc(e){let t=function tf(e){return Object.getPrototypeOf(e.prototype).constructor}(e.type),n=!0;const r=[e];for(;t;){let i;if(qn(e))i=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new he(903,!1);i=t.\u0275dir}if(i){if(n){r.push(i);const o=e;o.inputs=Rc(e.inputs),o.declaredInputs=Rc(e.declaredInputs),o.outputs=Rc(e.outputs);const h=i.hostBindings;h&&Rv(e,h);const g=i.viewQuery,C=i.contentQueries;if(g&&Ov(e,g),C&&Pv(e,C),se(e.inputs,i.inputs),se(e.declaredInputs,i.declaredInputs),se(e.outputs,i.outputs),qn(i)&&i.data.animation){const A=e.data;A.animation=(A.animation||[]).concat(i.data.animation)}}const s=i.features;if(s)for(let o=0;o<s.length;o++){const h=s[o];h&&h.ngInherit&&h(e),h===Pc&&(n=!1)}}t=Object.getPrototypeOf(t)}!function Iv(e){let t=0,n=null;for(let r=e.length-1;r>=0;r--){const i=e[r];i.hostVars=t+=i.hostVars,i.hostAttrs=Je(i.hostAttrs,n=Je(n,i.hostAttrs))}}(r)}function Rc(e){return e===Ve?{}:e===ue?[]:e}function Ov(e,t){const n=e.viewQuery;e.viewQuery=n?(r,i)=>{t(r,i),n(r,i)}:t}function Pv(e,t){const n=e.contentQueries;e.contentQueries=n?(r,i,s)=>{t(r,i,s),n(r,i,s)}:t}function Rv(e,t){const n=e.hostBindings;e.hostBindings=n?(r,i)=>{t(r,i),n(r,i)}:t}let Ka=null;function js(){if(!Ka){const e=Pe.Symbol;if(e&&e.iterator)Ka=e.iterator;else{const t=Object.getOwnPropertyNames(Map.prototype);for(let n=0;n<t.length;++n){const r=t[n];"entries"!==r&&"size"!==r&&Map.prototype[r]===Map.prototype.entries&&(Ka=r)}}}return Ka}function sa(e){return!!xc(e)&&(Array.isArray(e)||!(e instanceof Map)&&js()in e)}function xc(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function Pi(e,t,n){return e[t]=n}function dr(e,t,n){return!Object.is(e[t],n)&&(e[t]=n,!0)}function Hs(e,t,n,r){const i=dr(e,t,n);return dr(e,t+1,r)||i}function Lc(e,t,n,r){const i=et();return dr(i,ai(),t)&&(Wt(),Oi(a(),i,e,t,n,r)),Lc}function yo(e,t,n,r){return dr(e,ai(),n)?t+ye(n)+r:Qt}function vo(e,t,n,r,i,s){const h=Hs(e,Cr(),n,i);return pr(2),h?t+ye(n)+r+ye(i)+s:Qt}function Do(e,t,n,r,i,s,o,h){const C=function Ga(e,t,n,r,i){const s=Hs(e,t,n,r);return dr(e,t+2,i)||s}(e,Cr(),n,i,o);return pr(3),C?t+ye(n)+r+ye(i)+s+ye(o)+h:Qt}function Eo(e,t,n,r,i,s,o,h,g,C){const U=function Zr(e,t,n,r,i,s){const o=Hs(e,t,n,r);return Hs(e,t+2,i,s)||o}(e,Cr(),n,i,o,g);return pr(4),U?t+ye(n)+r+ye(i)+s+ye(o)+h+ye(g)+C:Qt}function ff(e,t,n,r,i,s,o,h){const g=et(),C=Wt(),A=e+22,U=C.firstCreatePass?function Vv(e,t,n,r,i,s,o,h,g){const C=t.consts,A=go(t,e,4,o||null,or(C,h));wc(t,n,A,or(C,g)),Le(t,A);const U=A.tViews=bc(2,A,r,i,s,t.directiveRegistry,t.pipeRegistry,null,t.schemas,C);return null!==t.queries&&(t.queries.template(t,A),U.queries=t.queries.embeddedTView(A)),A}(A,C,g,t,n,r,i,s,o):C.data[A];lr(U,!1);const ge=g[11].createComment("");Aa(C,g,ge,U),ur(ge,g),Ha(g,g[A]=Zh(ge,g,ge,U)),Ir(U)&&Ec(C,g,U),null!=o&&Cc(g,U,h)}function pf(e){return Rr(function fn(){return bt.lFrame.contextLView}(),22+e)}function Fc(e,t,n){const r=et();return dr(r,ai(),t)&&Nr(Wt(),a(),r,e,t,r[11],n,!1),Fc}function Nc(e,t,n,r,i){const o=i?"class":"style";Ic(e,n,t.inputs[o],o,r)}function Ya(e,t,n,r){const i=et(),s=Wt(),o=22+e,h=i[11],g=i[o]=Ll(h,t,function ae(){return bt.lFrame.currentNamespace}()),C=s.firstCreatePass?function Hv(e,t,n,r,i,s,o){const h=t.consts,C=go(t,e,2,i,or(h,s));return wc(t,n,C,or(h,o)),null!==C.attrs&&za(C,C.attrs,!1),null!==C.mergedAttrs&&za(C,C.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,C),C}(o,s,i,0,t,n,r):s.data[o];lr(C,!0);const A=C.mergedAttrs;null!==A&&S(h,g,A);const U=C.classes;null!==U&&jl(h,g,U);const ge=C.styles;return null!==ge&&Rd(h,g,ge),64!=(64&C.flags)&&Aa(s,i,g,C),0===function qs(){return bt.lFrame.elementDepthCount}()&&ur(g,i),function fs(){bt.lFrame.elementDepthCount++}(),Ir(C)&&(Ec(s,i,C),Bh(s,C,i)),null!==r&&Cc(i,C),Ya}function Za(){let e=In();gs()?Hi():(e=e.parent,lr(e,!1));const t=e;!function Wr(){bt.lFrame.elementDepthCount--}();const n=Wt();return n.firstCreatePass&&(Le(n,e),Ur(e)&&n.queries.elementEnd(e)),null!=t.classesWithoutHost&&function Rn(e){return 0!=(16&e.flags)}(t)&&Nc(n,t,et(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function p(e){return 0!=(32&e.flags)}(t)&&Nc(n,t,et(),t.stylesWithoutHost,!1),Za}function kc(e,t,n,r){return Ya(e,t,n,r),Za(),kc}function Qa(e,t,n){const r=et(),i=Wt(),s=e+22,o=i.firstCreatePass?function $v(e,t,n,r,i){const s=t.consts,o=or(s,r),h=go(t,e,8,"ng-container",o);return null!==o&&za(h,o,!0),wc(t,n,h,or(s,i)),null!==t.queries&&t.queries.elementStart(t,h),h}(s,i,r,t,n):i.data[s];lr(o,!0);const h=r[s]=r[11].createComment("");return Aa(i,r,h,o),ur(h,r),Ir(o)&&(Ec(i,r,o),Bh(i,o,r)),null!=n&&Cc(r,o),Qa}function Xa(){let e=In();const t=Wt();return gs()?Hi():(e=e.parent,lr(e,!1)),t.firstCreatePass&&(Le(t,e),Ur(e)&&t.queries.elementEnd(e)),Xa}function Bc(e,t,n){return Qa(e,t,n),Xa(),Bc}function gf(){return et()}function Uc(e){return!!e&&"function"==typeof e.then}function mf(e){return!!e&&"function"==typeof e.subscribe}const _f=mf;function Vc(e,t,n,r){const i=et(),s=Wt(),o=In();return yf(s,i,i[11],o,e,t,0,r),Vc}function jc(e,t){const n=In(),r=et(),i=Wt();return yf(i,r,Jh(Mi(i.data),n,r),n,e,t),jc}function yf(e,t,n,r,i,s,o,h){const g=Ir(r),A=e.firstCreatePass&&Xh(e),U=t[8],ge=Qh(t);let Re=!0;if(3&r.type||h){const gt=Hn(r,t),Mt=h?h(gt):gt,Ft=ge.length,tt=h?mn=>h(bn(mn[r.index])):r.index;let Ut=null;if(!h&&g&&(Ut=function zv(e,t,n,r){const i=e.cleanup;if(null!=i)for(let s=0;s<i.length-1;s+=2){const o=i[s];if(o===n&&i[s+1]===r){const h=t[7],g=i[s+2];return h.length>g?h[g]:null}"string"==typeof o&&(s+=2)}return null}(e,t,i,r.index)),null!==Ut)(Ut.__ngLastListenerFn__||Ut).__ngNextListenerFn__=s,Ut.__ngLastListenerFn__=s,Re=!1;else{s=Df(r,t,U,s,!1);const mn=n.listen(Mt,i,s);ge.push(s,mn),A&&A.push(i,tt,Ft,Ft+1)}}else s=Df(r,t,U,s,!1);const qe=r.outputs;let at;if(Re&&null!==qe&&(at=qe[i])){const gt=at.length;if(gt)for(let Mt=0;Mt<gt;Mt+=2){const On=t[at[Mt]][at[Mt+1]].subscribe(s),Ws=ge.length;ge.push(s,On),A&&A.push(i,r.index,Ws,-(Ws+1))}}}function vf(e,t,n,r){try{return!1!==n(r)}catch(i){return qh(e,i),!1}}function Df(e,t,n,r,i){return function s(o){if(o===Function)return r;Tc(2&e.flags?Nn(e.index,t):t);let g=vf(t,0,r,o),C=s.__ngNextListenerFn__;for(;C;)g=vf(t,0,C,o)&&g,C=C.__ngNextListenerFn__;return i&&!1===g&&(o.preventDefault(),o.returnValue=!1),g}}function Ef(e=1){return function Ki(e){return(bt.lFrame.contextLView=function Gi(e,t){for(;e>0;)t=t[15],e--;return t}(e,bt.lFrame.contextLView))[8]}(e)}function Wv(e,t){let n=null;const r=function _y(e){const t=e.attrs;if(null!=t){const n=t.indexOf(5);if(0==(1&n))return t[n+1]}return null}(e);for(let i=0;i<t.length;i++){const s=t[i];if("*"!==s){if(null===r?uh(e,s,!0):Dy(r,s))return i}else n=i}return n}function Cf(e){const t=et()[16][6];if(!t.projection){const r=t.projection=u(e?e.length:1,null),i=r.slice();let s=t.child;for(;null!==s;){const o=e?Wv(s,e):0;null!==o&&(i[o]?i[o].projectionNext=s:r[o]=s,i[o]=s),s=s.next}}}function bf(e,t=0,n){const r=et(),i=Wt(),s=go(i,22+e,16,null,n||null);null===s.projection&&(s.projection=t),Hi(),64!=(64&s.flags)&&function o_(e,t,n){Pd(t[11],0,t,n,Cd(e,n,t),Sd(n.parent||t[6],n,t))}(i,r,s)}function Hc(e,t,n){return Ja(e,"",t,"",n),Hc}function Ja(e,t,n,r,i){const s=et(),o=yo(s,t,n,r);return o!==Qt&&Nr(Wt(),a(),s,e,o,s[11],i,!1),Ja}function $c(e,t,n,r,i,s,o){const h=et(),g=vo(h,t,n,r,i,s);return g!==Qt&&Nr(Wt(),a(),h,e,g,h[11],o,!1),$c}function zc(e,t,n,r,i,s,o,h,g){const C=et(),A=Do(C,t,n,r,i,s,o,h);return A!==Qt&&Nr(Wt(),a(),C,e,A,C[11],g,!1),zc}function Wc(e,t,n,r,i,s,o,h,g,C,A){const U=et(),ge=Eo(U,t,n,r,i,s,o,h,g,C);return ge!==Qt&&Nr(Wt(),a(),U,e,ge,U[11],A,!1),Wc}function If(e,t,n,r,i){const s=e[n+1],o=null===t;let h=r?hi(s):rs(s),g=!1;for(;0!==h&&(!1===g||o);){const A=e[h+1];Yv(e[h],t)&&(g=!0,e[h+1]=r?dc(A):cc(A)),h=r?hi(A):rs(A)}g&&(e[n+1]=r?cc(s):dc(s))}function Yv(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&lt(e,t)>=0}const Qn={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Of(e){return e.substring(Qn.key,Qn.keyEnd)}function Zv(e){return e.substring(Qn.value,Qn.valueEnd)}function Pf(e,t){const n=Qn.textEnd;return n===t?-1:(t=Qn.keyEnd=function Jv(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}(e,Qn.key=t,n),So(e,t,n))}function Rf(e,t){const n=Qn.textEnd;let r=Qn.key=So(e,t,n);return n===r?-1:(r=Qn.keyEnd=function qv(e,t,n){let r;for(;t<n&&(45===(r=e.charCodeAt(t))||95===r||(-33&r)>=65&&(-33&r)<=90||r>=48&&r<=57);)t++;return t}(e,r,n),r=Lf(e,r,n),r=Qn.value=So(e,r,n),r=Qn.valueEnd=function eD(e,t,n){let r=-1,i=-1,s=-1,o=t,h=o;for(;o<n;){const g=e.charCodeAt(o++);if(59===g)return h;34===g||39===g?h=o=Ff(e,g,o,n):t===o-4&&85===s&&82===i&&76===r&&40===g?h=o=Ff(e,41,o,n):g>32&&(h=o),s=i,i=r,r=-33&g}return h}(e,r,n),Lf(e,r,n))}function xf(e){Qn.key=0,Qn.keyEnd=0,Qn.value=0,Qn.valueEnd=0,Qn.textEnd=e.length}function So(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function Lf(e,t,n,r){return(t=So(e,t,n))<n&&t++,t}function Ff(e,t,n,r){let i=-1,s=n;for(;s<r;){const o=e.charCodeAt(s++);if(o==t&&92!==i)return s;i=92==o&&92===i?0:o}throw new Error}function Kc(e,t,n){return pi(e,t,n,!1),Kc}function Gc(e,t){return pi(e,t,null,!0),Gc}function fi(e){gi(Bf,tD,e,!1)}function tD(e,t){for(let n=function Xv(e){return xf(e),Rf(e,So(e,0,Qn.textEnd))}(t);n>=0;n=Rf(t,n))Bf(e,Of(t),Zv(t))}function Ri(e,t){for(let n=function Qv(e){return xf(e),Pf(e,So(e,0,Qn.textEnd))}(t);n>=0;n=Pf(t,n))J(e,Of(t),!0)}function pi(e,t,n,r){const i=et(),s=Wt(),o=pr(2);s.firstUpdatePass&&kf(s,e,o,r),t!==Qt&&dr(i,o,t)&&Uf(s,s.data[zn()],i,i[11],e,i[o+1]=function cD(e,t){return null==e||("string"==typeof t?e+=t:"object"==typeof e&&(e=Q(es(e)))),e}(t,n),r,o)}function gi(e,t,n,r){const i=Wt(),s=pr(2);i.firstUpdatePass&&kf(i,null,s,r);const o=et();if(n!==Qt&&dr(o,s,n)){const h=i.data[zn()];if(jf(h,r)&&!Nf(i,s)){let g=r?h.classesWithoutHost:h.stylesWithoutHost;null!==g&&(n=Y(g,n||"")),Nc(i,h,o,n,r)}else!function lD(e,t,n,r,i,s,o,h){i===Qt&&(i=ue);let g=0,C=0,A=0<i.length?i[0]:null,U=0<s.length?s[0]:null;for(;null!==A||null!==U;){const ge=g<i.length?i[g+1]:void 0,Re=C<s.length?s[C+1]:void 0;let at,qe=null;A===U?(g+=2,C+=2,ge!==Re&&(qe=U,at=Re)):null===U||null!==A&&A<U?(g+=2,qe=A):(C+=2,qe=U,at=Re),null!==qe&&Uf(e,t,n,r,qe,at,o,h),A=g<i.length?i[g]:null,U=C<s.length?s[C]:null}}(i,h,o,o[11],o[s+1],o[s+1]=function aD(e,t,n){if(null==n||""===n)return ue;const r=[],i=es(n);if(Array.isArray(i))for(let s=0;s<i.length;s++)e(r,i[s],!0);else if("object"==typeof i)for(const s in i)i.hasOwnProperty(s)&&e(r,s,i[s]);else"string"==typeof i&&t(r,i);return r}(e,t,n),r,s)}}function Nf(e,t){return t>=e.expandoStartIndex}function kf(e,t,n,r){const i=e.data;if(null===i[n+1]){const s=i[zn()],o=Nf(e,n);jf(s,r)&&null===t&&!o&&(t=!1),t=function rD(e,t,n,r){const i=Mi(e);let s=r?t.residualClasses:t.residualStyles;if(null===i)0===(r?t.classBindings:t.styleBindings)&&(n=aa(n=Yc(null,e,t,n,r),t.attrs,r),s=null);else{const o=t.directiveStylingLast;if(-1===o||e[o]!==i)if(n=Yc(i,e,t,n,r),null===s){let g=function iD(e,t,n){const r=n?t.classBindings:t.styleBindings;if(0!==rs(r))return e[hi(r)]}(e,t,r);void 0!==g&&Array.isArray(g)&&(g=Yc(null,e,t,g[1],r),g=aa(g,t.attrs,r),function sD(e,t,n,r){e[hi(n?t.classBindings:t.styleBindings)]=r}(e,t,r,g))}else s=function oD(e,t,n){let r;const i=t.directiveEnd;for(let s=1+t.directiveStylingLast;s<i;s++)r=aa(r,e[s].hostAttrs,n);return aa(r,t.attrs,n)}(e,t,r)}return void 0!==s&&(r?t.residualClasses=s:t.residualStyles=s),n}(i,s,t,r),function Kv(e,t,n,r,i,s){let o=s?t.classBindings:t.styleBindings,h=hi(o),g=rs(o);e[r]=n;let A,C=!1;if(Array.isArray(n)){const U=n;A=U[1],(null===A||lt(U,A)>0)&&(C=!0)}else A=n;if(i)if(0!==g){const ge=hi(e[h+1]);e[r+1]=ka(ge,h),0!==ge&&(e[ge+1]=uc(e[ge+1],r)),e[h+1]=function Hy(e,t){return 131071&e|t<<17}(e[h+1],r)}else e[r+1]=ka(h,0),0!==h&&(e[h+1]=uc(e[h+1],r)),h=r;else e[r+1]=ka(g,0),0===h?h=r:e[g+1]=uc(e[g+1],r),g=r;C&&(e[r+1]=cc(e[r+1])),If(e,A,r,!0),If(e,A,r,!1),function Gv(e,t,n,r,i){const s=i?e.residualClasses:e.residualStyles;null!=s&&"string"==typeof t&&lt(s,t)>=0&&(n[r+1]=dc(n[r+1]))}(t,A,e,r,s),o=ka(h,g),s?t.classBindings=o:t.styleBindings=o}(i,s,t,n,o,r)}}function Yc(e,t,n,r,i){let s=null;const o=n.directiveEnd;let h=n.directiveStylingLast;for(-1===h?h=n.directiveStart:h++;h<o&&(s=t[h],r=aa(r,s.hostAttrs,i),s!==e);)h++;return null!==e&&(n.directiveStylingLast=h),r}function aa(e,t,n){const r=n?1:2;let i=-1;if(null!==t)for(let s=0;s<t.length;s++){const o=t[s];"number"==typeof o?i=o:i===r&&(Array.isArray(e)||(e=void 0===e?[]:["",e]),J(e,o,!!n||t[++s]))}return void 0===e?null:e}function Bf(e,t,n){J(e,t,es(n))}function Uf(e,t,n,r,i,s,o,h){if(!(3&t.type))return;const g=e.data,C=g[h+1];qa(function Ah(e){return 1==(1&e)}(C)?Vf(g,t,n,i,rs(C),o):void 0)||(qa(s)||function Th(e){return 2==(2&e)}(C)&&(s=Vf(g,null,n,i,h,o)),function l_(e,t,n,r,i){if(t)i?e.addClass(n,r):e.removeClass(n,r);else{let s=-1===r.indexOf("-")?void 0:Ii.DashCase;null==i?e.removeStyle(n,r,s):("string"==typeof i&&i.endsWith("!important")&&(i=i.slice(0,-10),s|=Ii.Important),e.setStyle(n,r,i,s))}}(r,o,Dr(zn(),n),i,s))}function Vf(e,t,n,r,i,s){const o=null===t;let h;for(;i>0;){const g=e[i],C=Array.isArray(g),A=C?g[1]:g,U=null===A;let ge=n[i+1];ge===Qt&&(ge=U?ue:void 0);let Re=U?ze(ge,r):A===r?ge:void 0;if(C&&!qa(Re)&&(Re=ze(g,r)),qa(Re)&&(h=Re,o))return h;const qe=e[i+1];i=o?hi(qe):rs(qe)}if(null!==t){let g=s?t.residualClasses:t.residualStyles;null!=g&&(h=ze(g,r))}return h}function qa(e){return void 0!==e}function jf(e,t){return 0!=(e.flags&(t?16:32))}function Hf(e,t=""){const n=et(),r=Wt(),i=e+22,s=r.firstCreatePass?go(r,i,1,t,null):r.data[i],o=n[i]=function xl(e,t){return e.createText(t)}(n[11],t);Aa(r,n,o,s),lr(s,!1)}function Zc(e){return el("",e,""),Zc}function el(e,t,n){const r=et(),i=yo(r,e,t,n);return i!==Qt&&is(r,zn(),i),el}function Qc(e,t,n,r,i){const s=et(),o=vo(s,e,t,n,r,i);return o!==Qt&&is(s,zn(),o),Qc}function Xc(e,t,n,r,i,s,o){const h=et(),g=Do(h,e,t,n,r,i,s,o);return g!==Qt&&is(h,zn(),g),Xc}function Zf(e,t,n){gi(J,Ri,yo(et(),e,t,n),!0)}function Jc(e,t,n){const r=et();return dr(r,ai(),t)&&Nr(Wt(),a(),r,e,t,r[11],n,!0),Jc}function qc(e,t,n){const r=et();if(dr(r,ai(),t)){const s=Wt(),o=a();Nr(s,o,r,e,t,Jh(Mi(s.data),o,r),n,!0)}return qc}const $s=void 0;var AD=["en",[["a","p"],["AM","PM"],$s],[["AM","PM"],$s,$s],[["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"]],$s,[["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"]],$s,[["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}",$s,"{1} 'at' {0}",$s],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function TD(e){const n=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length;return 1===n&&0===r?1:5}];let To={};function eu(e){const t=function ID(e){return e.toLowerCase().replace(/_/g,"-")}(e);let n=op(t);if(n)return n;const r=t.split("-")[0];if(n=op(r),n)return n;if("en"===r)return AD;throw new he(701,!1)}function sp(e){return eu(e)[Bt.PluralCase]}function op(e){return e in To||(To[e]=Pe.ng&&Pe.ng.common&&Pe.ng.common.locales&&Pe.ng.common.locales[e]),To[e]}var Bt=(()=>((Bt=Bt||{})[Bt.LocaleId=0]="LocaleId",Bt[Bt.DayPeriodsFormat=1]="DayPeriodsFormat",Bt[Bt.DayPeriodsStandalone=2]="DayPeriodsStandalone",Bt[Bt.DaysFormat=3]="DaysFormat",Bt[Bt.DaysStandalone=4]="DaysStandalone",Bt[Bt.MonthsFormat=5]="MonthsFormat",Bt[Bt.MonthsStandalone=6]="MonthsStandalone",Bt[Bt.Eras=7]="Eras",Bt[Bt.FirstDayOfWeek=8]="FirstDayOfWeek",Bt[Bt.WeekendRange=9]="WeekendRange",Bt[Bt.DateFormat=10]="DateFormat",Bt[Bt.TimeFormat=11]="TimeFormat",Bt[Bt.DateTimeFormat=12]="DateTimeFormat",Bt[Bt.NumberSymbols=13]="NumberSymbols",Bt[Bt.NumberFormats=14]="NumberFormats",Bt[Bt.CurrencyCode=15]="CurrencyCode",Bt[Bt.CurrencySymbol=16]="CurrencySymbol",Bt[Bt.CurrencyName=17]="CurrencyName",Bt[Bt.Currencies=18]="Currencies",Bt[Bt.Directionality=19]="Directionality",Bt[Bt.PluralCase=20]="PluralCase",Bt[Bt.ExtraData=21]="ExtraData",Bt))();const Ao="en-US";let ap=Ao;function ru(e,t,n,r,i){if(e=H(e),Array.isArray(e))for(let s=0;s<e.length;s++)ru(e[s],t,n,r,i);else{const s=Wt(),o=et();let h=Bs(e)?e:H(e.provide),g=eh(e);const C=In(),A=1048575&C.providerIndexes,U=C.directiveStart,ge=C.providerIndexes>>20;if(Bs(e)||!e.multi){const Re=new xt(g,i,po),qe=su(h,t,i?A:A+ge,U);-1===qe?(Zn(wr(C,o),s,h),iu(s,e,t.length),t.push(h),C.directiveStart++,C.directiveEnd++,i&&(C.providerIndexes+=1048576),n.push(Re),o.push(Re)):(n[qe]=Re,o[qe]=Re)}else{const Re=su(h,t,A+ge,U),qe=su(h,t,A,A+ge),at=Re>=0&&n[Re],gt=qe>=0&&n[qe];if(i&&!gt||!i&&!at){Zn(wr(C,o),s,h);const Mt=function SE(e,t,n,r,i){const s=new xt(e,n,po);return s.multi=[],s.index=t,s.componentProviders=0,Rp(s,i,r&&!n),s}(i?ME:wE,n.length,i,r,g);!i&&gt&&(n[qe].providerFactory=Mt),iu(s,e,t.length,0),t.push(h),C.directiveStart++,C.directiveEnd++,i&&(C.providerIndexes+=1048576),n.push(Mt),o.push(Mt)}else iu(s,e,Re>-1?Re:qe,Rp(n[i?qe:Re],g,!i&&r));!i&&r&&gt&&n[qe].componentProviders++}}}function iu(e,t,n,r){const i=Bs(t),s=function j_(e){return!!e.useClass}(t);if(i||s){const g=(s?H(t.useClass):t).prototype.ngOnDestroy;if(g){const C=e.destroyHooks||(e.destroyHooks=[]);if(!i&&t.multi){const A=C.indexOf(n);-1===A?C.push(n,[r,g]):C[A+1].push(r,g)}else C.push(n,g)}}}function Rp(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function su(e,t,n,r){for(let i=n;i<r;i++)if(t[i]===e)return i;return-1}function wE(e,t,n,r){return ou(this.multi,[])}function ME(e,t,n,r){const i=this.multi;let s;if(this.providerFactory){const o=this.providerFactory.componentProviders,h=Yi(n,n[1],this.providerFactory.index,r);s=h.slice(0,o),ou(i,s);for(let g=o;g<h.length;g++)s.push(h[g])}else s=[],ou(i,s);return s}function ou(e,t){for(let n=0;n<e.length;n++)t.push((0,e[n])());return t}function xp(e,t=[]){return n=>{n.providersResolver=(r,i)=>function bE(e,t,n){const r=Wt();if(r.firstCreatePass){const i=qn(e);ru(n,r.data,r.blueprint,i,!0),ru(t,r.data,r.blueprint,i,!1)}}(r,i?i(e):e,t)}}class Io{}class Lp{}function TE(e,t){return new Fp(e,t??null)}class Fp extends Io{constructor(t,n){super(),this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new Oc(this);const r=wn(t);this._bootstrapComponents=ns(r.bootstrap),this._r3Injector=yh(t,n,[{provide:Io,useValue:this},{provide:ea,useValue:this.componentFactoryResolver}],Q(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 au extends Lp{constructor(t){super(),this.moduleType=t}create(t){return new Fp(this.moduleType,t)}}class AE extends Io{constructor(t,n,r){super(),this.componentFactoryResolver=new Oc(this),this.instance=null;const i=new qd([...t,{provide:Io,useValue:this},{provide:ea,useValue:this.componentFactoryResolver}],n||Fa(),r,new Set(["environment"]));this.injector=i,i.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}}function lu(e,t,n=null){return new AE(e,t,n).injector}let IE=(()=>{class e{constructor(n){this._injector=n,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n.id)){const r=Zd(0,n.type),i=r.length>0?lu([r],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n.id,i)}return this.cachedInjectors.get(n.id)}ngOnDestroy(){try{for(const n of this.cachedInjectors.values())null!==n&&n.destroy()}finally{this.cachedInjectors.clear()}}}return e.\u0275prov=ee({token:e,providedIn:"environment",factory:()=>new e(Wn(Us))}),e})();function Np(e){e.getStandaloneInjector=t=>t.get(IE).getOrCreateStandaloneInjector(e)}function $p(e,t,n){const r=$n()+e,i=et();return i[r]===Qt?Pi(i,r,n?t.call(n):t()):function oa(e,t){return e[t]}(i,r)}function zp(e,t,n,r){return Kp(et(),$n(),e,t,n,r)}function Wp(e,t,n,r,i){return Gp(et(),$n(),e,t,n,r,i)}function fa(e,t){const n=e[t];return n===Qt?void 0:n}function Kp(e,t,n,r,i,s){const o=t+n;return dr(e,o,i)?Pi(e,o+1,s?r.call(s,i):r(i)):fa(e,o+1)}function Gp(e,t,n,r,i,s,o){const h=t+n;return Hs(e,h,i,s)?Pi(e,h+2,o?r.call(o,i,s):r(i,s)):fa(e,h+2)}function Xp(e,t){const n=Wt();let r;const i=e+22;n.firstCreatePass?(r=function WE(e,t){if(t)for(let n=t.length-1;n>=0;n--){const r=t[n];if(e===r.name)return r}}(t,n.pipeRegistry),n.data[i]=r,r.onDestroy&&(n.destroyHooks||(n.destroyHooks=[])).push(i,r.onDestroy)):r=n.data[i];const s=r.factory||(r.factory=sr(r.type)),o=O(po);try{const h=ft(!1),g=s();return ft(h),function jv(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}(n,et(),i,g),g}finally{O(o)}}function Jp(e,t,n){const r=e+22,i=et(),s=Rr(i,r);return pa(i,r)?Kp(i,$n(),t,s.transform,n,s):s.transform(n)}function qp(e,t,n,r){const i=e+22,s=et(),o=Rr(s,i);return pa(s,i)?Gp(s,$n(),t,o.transform,n,r,o):o.transform(n,r)}function pa(e,t){return e[1].data[t].pure}function uu(e){return t=>{setTimeout(e,void 0,t)}}const xi=class ZE extends f.x{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,n,r){let i=t,s=n||(()=>null),o=r;if(t&&"object"==typeof t){const g=t;i=g.next?.bind(g),s=g.error?.bind(g),o=g.complete?.bind(g)}this.__isAsync&&(s=uu(s),i&&(i=uu(i)),o&&(o=uu(o)));const h=super.subscribe({next:i,error:s,complete:o});return t instanceof v.w0&&t.add(h),h}};function QE(){return this._results[js()]()}class sl{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=js(),r=sl.prototype;r[n]||(r[n]=QE)}get changes(){return this._changes||(this._changes=new xi)}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,n){return this._results.reduce(t,n)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,n){const r=this;r.dirty=!1;const i=gr(t);(this._changesDetected=!function Dl(e,t,n){if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++){let i=e[r],s=t[r];if(n&&(i=n(i),s=n(s)),s!==i)return!1}return!0}(r._results,i,n))&&(r._results=i,r.length=i.length,r.last=i[this.length-1],r.first=i[0])}notifyOnChanges(){this._changes&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}setDirty(){this.dirty=!0}destroy(){this.changes.complete(),this.changes.unsubscribe()}}let ga=(()=>{class e{}return e.__NG_ELEMENT_ID__=qE,e})();const XE=ga,JE=class extends XE{constructor(t,n,r){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=r}createEmbeddedView(t,n){const r=this._declarationTContainer.tViews,i=Va(this._declarationLView,r,t,16,null,r.declTNode,null,null,null,null,n||null);i[17]=this._declarationLView[this._declarationTContainer.index];const o=this._declarationLView[19];return null!==o&&(i[19]=o.createEmbeddedView(r)),Dc(r,i,t),new ra(i)}};function qE(){return ol(In(),et())}function ol(e,t){return 4&e.type?new JE(t,e,uo(e,t)):null}let al=(()=>{class e{}return e.__NG_ELEMENT_ID__=eC,e})();function eC(){return ng(In(),et())}const tC=al,eg=class extends tC{constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return uo(this._hostTNode,this._hostLView)}get injector(){return new Zi(this._hostTNode,this._hostLView)}get parentInjector(){const t=Mr(this._hostTNode,this._hostLView);if(Yt(t)){const n=nt(t,this._hostLView),r=Jt(t);return new Zi(n[1].data[r+8],n)}return new Zi(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=tg(this._lContainer);return null!==n&&n[t]||null}get length(){return this._lContainer.length-10}createEmbeddedView(t,n,r){let i,s;"number"==typeof r?i=r:null!=r&&(i=r.index,s=r.injector);const o=t.createEmbeddedView(n||{},s);return this.insert(o,i),o}createComponent(t,n,r,i,s){const o=t&&!function Ls(e){return"function"==typeof e}(t);let h;if(o)h=n;else{const U=n||{};h=U.index,r=U.injector,i=U.projectableNodes,s=U.environmentInjector||U.ngModuleRef}const g=o?t:new ia(jt(t)),C=r||this.parentInjector;if(!s&&null==g.ngModule){const ge=(o?C:this.parentInjector).get(Us,null);ge&&(s=ge)}const A=g.create(C,i,void 0,s);return this.insert(A.hostView,h),A}insert(t,n){const r=t._lView,i=r[1];if(function er(e){return Gn(e[3])}(r)){const A=this.indexOf(t);if(-1!==A)this.detach(A);else{const U=r[3],ge=new eg(U,U[6],U[3]);ge.detach(ge.indexOf(t))}}const s=this._adjustIndex(n),o=this._lContainer;!function e_(e,t,n,r){const i=10+r,s=n.length;r>0&&(n[i-1][4]=t),r<s-10?(t[4]=n[i],Ea(n,10+r,t)):(n.push(t),t[4]=null),t[3]=n;const o=t[17];null!==o&&n!==o&&function t_(e,t){const n=e[9];t[16]!==t[3][3][16]&&(e[2]=!0),null===n?e[9]=[t]:n.push(t)}(o,t);const h=t[19];null!==h&&h.insertView(e),t[2]|=64}(i,r,o,s);const h=Bl(s,o),g=r[11],C=Ta(g,o[7]);return null!==C&&function Xm(e,t,n,r,i,s){r[0]=i,r[6]=t,Xo(e,r,n,1,i,s)}(i,o[6],g,r,C,h),t.attachToViewContainerRef(),Ea(du(o),s,t),t}move(t,n){return this.insert(t,n)}indexOf(t){const n=tg(this._lContainer);return null!==n?n.indexOf(t):-1}remove(t){const n=this._adjustIndex(t,-1),r=Fl(this._lContainer,n);r&&(jo(du(this._lContainer),n),Ed(r[1],r))}detach(t){const n=this._adjustIndex(t,-1),r=Fl(this._lContainer,n);return r&&null!=jo(du(this._lContainer),n)?new ra(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function tg(e){return e[8]}function du(e){return e[8]||(e[8]=[])}function ng(e,t){let n;const r=t[e.index];if(Gn(r))n=r;else{let i;if(8&e.type)i=bn(r);else{const s=t[11];i=s.createComment("");const o=Hn(e,t);Fs(s,Ta(s,o),i,function s_(e,t){return e.nextSibling(t)}(s,o),!1)}t[e.index]=n=Zh(r,t,i,e),Ha(t,n)}return new eg(n,e,t)}class hu{constructor(t){this.queryList=t,this.matches=null}clone(){return new hu(this.queryList)}setDirty(){this.queryList.setDirty()}}class fu{constructor(t=[]){this.queries=t}createEmbeddedView(t){const n=t.queries;if(null!==n){const r=null!==t.contentQueries?t.contentQueries[0]:n.length,i=[];for(let s=0;s<r;s++){const o=n.getByIndex(s);i.push(this.queries[o.indexInDeclarationView].clone())}return new fu(i)}return null}insertView(t){this.dirtyQueriesWithMatches(t)}detachView(t){this.dirtyQueriesWithMatches(t)}dirtyQueriesWithMatches(t){for(let n=0;n<this.queries.length;n++)null!==dg(t,n).matches&&this.queries[n].setDirty()}}class rg{constructor(t,n,r=null){this.predicate=t,this.flags=n,this.read=r}}class pu{constructor(t=[]){this.queries=t}elementStart(t,n){for(let r=0;r<this.queries.length;r++)this.queries[r].elementStart(t,n)}elementEnd(t){for(let n=0;n<this.queries.length;n++)this.queries[n].elementEnd(t)}embeddedTView(t){let n=null;for(let r=0;r<this.length;r++){const i=null!==n?n.length:0,s=this.getByIndex(r).embeddedTView(t,i);s&&(s.indexInDeclarationView=r,null!==n?n.push(s):n=[s])}return null!==n?new pu(n):null}template(t,n){for(let r=0;r<this.queries.length;r++)this.queries[r].template(t,n)}getByIndex(t){return this.queries[t]}get length(){return this.queries.length}track(t){this.queries.push(t)}}class gu{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 gu(this.metadata)):null}isApplyingToNode(t){if(this._appliesToNextNode&&1!=(1&this.metadata.flags)){const n=this._declarationNodeIndex;let r=t.parent;for(;null!==r&&8&r.type&&r.index!==n;)r=r.parent;return n===(null!==r?r.index:-1)}return this._appliesToNextNode}matchTNode(t,n){const r=this.metadata.predicate;if(Array.isArray(r))for(let i=0;i<r.length;i++){const s=r[i];this.matchTNodeWithReadOption(t,n,iC(n,s)),this.matchTNodeWithReadOption(t,n,Rs(n,t,s,!1,!1))}else r===ga?4&n.type&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,Rs(n,t,r,!1,!1))}matchTNodeWithReadOption(t,n,r){if(null!==r){const i=this.metadata.read;if(null!==i)if(i===ta||i===al||i===ga&&4&n.type)this.addMatch(n.index,-2);else{const s=Rs(n,t,i,!1,!1);null!==s&&this.addMatch(n.index,s)}else this.addMatch(n.index,r)}}addMatch(t,n){null===this.matches?this.matches=[t,n]:this.matches.push(t,n)}}function iC(e,t){const n=e.localNames;if(null!==n)for(let r=0;r<n.length;r+=2)if(n[r]===t)return n[r+1];return null}function oC(e,t,n,r){return-1===n?function sC(e,t){return 11&e.type?uo(e,t):4&e.type?ol(e,t):null}(t,e):-2===n?function aC(e,t,n){return n===ta?uo(t,e):n===ga?ol(t,e):n===al?ng(t,e):void 0}(e,t,r):Yi(e,e[1],n,t)}function ig(e,t,n,r){const i=t[19].queries[r];if(null===i.matches){const s=e.data,o=n.matches,h=[];for(let g=0;g<o.length;g+=2){const C=o[g];h.push(C<0?null:oC(t,s[C],o[g+1],n.metadata.read))}i.matches=h}return i.matches}function mu(e,t,n,r){const i=e.queries.getByIndex(n),s=i.matches;if(null!==s){const o=ig(e,t,i,n);for(let h=0;h<s.length;h+=2){const g=s[h];if(g>0)r.push(o[h/2]);else{const C=s[h+1],A=t[-g];for(let U=10;U<A.length;U++){const ge=A[U];ge[17]===ge[3]&&mu(ge[1],ge,C,r)}if(null!==A[9]){const U=A[9];for(let ge=0;ge<U.length;ge++){const Re=U[ge];mu(Re[1],Re,C,r)}}}}}return r}function sg(e){const t=et(),n=Wt(),r=Si();br(r+1);const i=dg(n,r);if(e.dirty&&function Js(e){return 4==(4&e[2])}(t)===(2==(2&i.metadata.flags))){if(null===i.matches)e.reset([]);else{const s=i.crossesNgTemplate?mu(n,t,r,[]):ig(n,t,i,r);e.reset(s,q_),e.notifyOnChanges()}return!0}return!1}function og(e,t,n){const r=Wt();r.firstCreatePass&&(ug(r,new rg(e,t,n),-1),2==(2&t)&&(r.staticViewQueries=!0)),cg(r,et(),t)}function ag(e,t,n,r){const i=Wt();if(i.firstCreatePass){const s=In();ug(i,new rg(t,n,r),s.index),function cC(e,t){const n=e.contentQueries||(e.contentQueries=[]);t!==(n.length?n[n.length-1]:-1)&&n.push(e.queries.length-1,t)}(i,e),2==(2&n)&&(i.staticContentQueries=!0)}cg(i,et(),n)}function lg(){return function lC(e,t){return e[19].queries[t].queryList}(et(),Si())}function cg(e,t,n){const r=new sl(4==(4&n));Vh(e,t,r,r.destroy),null===t[19]&&(t[19]=new fu),t[19].queries.push(new hu(r))}function ug(e,t,n){null===e.queries&&(e.queries=new pu),e.queries.track(new gu(t,n))}function dg(e,t){return e.queries.getByIndex(t)}function hg(e,t){return ol(e,t)}function cl(...e){}const Pg=new Dn("Application Initializer");let ul=(()=>{class e{constructor(n){this.appInits=n,this.resolve=cl,this.reject=cl,this.initialized=!1,this.done=!1,this.donePromise=new Promise((r,i)=>{this.resolve=r,this.reject=i})}runInitializers(){if(this.initialized)return;const n=[],r=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let i=0;i<this.appInits.length;i++){const s=this.appInits[i]();if(Uc(s))n.push(s);else if(_f(s)){const o=new Promise((h,g)=>{s.subscribe({complete:h,error:g})});n.push(o)}}Promise.all(n).then(()=>{r()}).catch(i=>{this.reject(i)}),0===n.length&&r(),this.initialized=!0}}return e.\u0275fac=function(n){return new(n||e)(Wn(Pg,8))},e.\u0275prov=ee({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const Rg=new Dn("AppId",{providedIn:"root",factory:function xg(){return`${Eu()}${Eu()}${Eu()}`}});function Eu(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const Lg=new Dn("Platform Initializer"),IC=new Dn("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),Fg=new Dn("appBootstrapListener"),OC=new Dn("AnimationModuleType");let PC=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=ee({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})();const dl=new Dn("LocaleId",{providedIn:"root",factory:()=>Ju(dl,st.Optional|st.SkipSelf)||function RC(){return typeof $localize<"u"&&$localize.locale||Ao}()}),xC=new Dn("DefaultCurrencyCode",{providedIn:"root",factory:()=>"USD"});class LC{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}}let FC=(()=>{class e{compileModuleSync(n){return new au(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){const r=this.compileModuleSync(n),s=ns(wn(n).declarations).reduce((o,h)=>{const g=jt(h);return g&&o.push(new ia(g)),o},[]);return new LC(r,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=ee({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const BC=(()=>Promise.resolve(0))();function Cu(e){typeof Zone>"u"?BC.then(()=>{e&&e.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}class Qr{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new xi(!1),this.onMicrotaskEmpty=new xi(!1),this.onStable=new xi(!1),this.onError=new xi(!1),typeof Zone>"u")throw new he(908,!1);Zone.assertZonePatched();const i=this;if(i._nesting=0,i._outer=i._inner=Zone.current,Zone.AsyncStackTaggingZoneSpec){const s=Zone.AsyncStackTaggingZoneSpec;i._inner=i._inner.fork(new s("Angular"))}Zone.TaskTrackingZoneSpec&&(i._inner=i._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(i._inner=i._inner.fork(Zone.longStackTraceZoneSpec)),i.shouldCoalesceEventChangeDetection=!r&&n,i.shouldCoalesceRunChangeDetection=r,i.lastRequestAnimationFrameId=-1,i.nativeRequestAnimationFrame=function UC(){let e=Pe.requestAnimationFrame,t=Pe.cancelAnimationFrame;if(typeof Zone<"u"&&e&&t){const n=e[Zone.__symbol__("OriginalDelegate")];n&&(e=n);const r=t[Zone.__symbol__("OriginalDelegate")];r&&(t=r)}return{nativeRequestAnimationFrame:e,nativeCancelAnimationFrame:t}}().nativeRequestAnimationFrame,function HC(e){const t=()=>{!function jC(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(Pe,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,wu(e),e.isCheckStableRunning=!0,bu(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),wu(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,i,s,o,h)=>{try{return Bg(e),n.invokeTask(i,s,o,h)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===s.type||e.shouldCoalesceRunChangeDetection)&&t(),Ug(e)}},onInvoke:(n,r,i,s,o,h,g)=>{try{return Bg(e),n.invoke(i,s,o,h,g)}finally{e.shouldCoalesceRunChangeDetection&&t(),Ug(e)}},onHasTask:(n,r,i,s)=>{n.hasTask(i,s),r===i&&("microTask"==s.change?(e._hasPendingMicrotasks=s.microTask,wu(e),bu(e)):"macroTask"==s.change&&(e.hasPendingMacrotasks=s.macroTask))},onHandleError:(n,r,i,s)=>(n.handleError(i,s),e.runOutsideAngular(()=>e.onError.emit(s)),!1)})}(i)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!Qr.isInAngularZone())throw new he(909,!1)}static assertNotInAngularZone(){if(Qr.isInAngularZone())throw new he(909,!1)}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,i){const s=this._inner,o=s.scheduleEventTask("NgZoneEvent: "+i,t,VC,cl,cl);try{return s.runTask(o,n,r)}finally{s.cancelTask(o)}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}}const VC={};function bu(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 wu(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function Bg(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Ug(e){e._nesting--,bu(e)}class $C{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new xi,this.onMicrotaskEmpty=new xi,this.onStable=new xi,this.onError=new xi}run(t,n,r){return t.apply(n,r)}runGuarded(t,n,r){return t.apply(n,r)}runOutsideAngular(t){return t()}runTask(t,n,r,i){return t.apply(n,r)}}const Vg=new Dn(""),jg=new Dn("");let Mu,zC=(()=>{class e{constructor(n,r,i){this._ngZone=n,this.registry=r,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,Mu||(function WC(e){Mu=e}(i),i.addToWindow(r)),this._watchAngularEvents(),n.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{Qr.assertNotInAngularZone(),Cu(()=>{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())Cu(()=>{for(;0!==this._callbacks.length;){let n=this._callbacks.pop();clearTimeout(n.timeoutId),n.doneCb(this._didWork)}this._didWork=!1});else{let n=this.getPendingTasks();this._callbacks=this._callbacks.filter(r=>!r.updateCb||!r.updateCb(n)||(clearTimeout(r.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(n=>({source:n.source,creationLocation:n.creationLocation,data:n.data})):[]}addCallback(n,r,i){let s=-1;r&&r>0&&(s=setTimeout(()=>{this._callbacks=this._callbacks.filter(o=>o.timeoutId!==s),n(this._didWork,this.getPendingTasks())},r)),this._callbacks.push({doneCb:n,timeoutId:s,updateCb:i})}whenStable(n,r,i){if(i&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(n,r,i),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(n){this.registry.registerApplication(n,this)}unregisterApplication(n){this.registry.unregisterApplication(n)}findProviders(n,r,i){return[]}}return e.\u0275fac=function(n){return new(n||e)(Wn(Qr),Wn(Hg),Wn(jg))},e.\u0275prov=ee({token:e,factory:e.\u0275fac}),e})(),Hg=(()=>{class e{constructor(){this._applications=new Map}registerApplication(n,r){this._applications.set(n,r)}unregisterApplication(n){this._applications.delete(n)}unregisterAllApplications(){this._applications.clear()}getTestability(n){return this._applications.get(n)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(n,r=!0){return Mu?.findTestabilityInTree(this,n,r)??null}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=ee({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})(),Ms=null;const $g=new Dn("AllowMultipleToken"),Su=new Dn("PlatformDestroyListeners");class YC{constructor(t,n){this.name=t,this.token=n}}function Wg(e,t,n=[]){const r=`Platform: ${t}`,i=new Dn(r);return(s=[])=>{let o=Tu();if(!o||o.injector.get($g,!1)){const h=[...n,...s,{provide:i,useValue:!0}];e?e(h):function ZC(e){if(Ms&&!Ms.get($g,!1))throw new he(400,!1);Ms=e;const t=e.get(Gg);(function zg(e){const t=e.get(Lg,null);t&&t.forEach(n=>n())})(e)}(function Kg(e=[],t){return Vs.create({name:t,providers:[{provide:Jl,useValue:"platform"},{provide:Su,useValue:new Set([()=>Ms=null])},...e]})}(h,r))}return function XC(e){const t=Tu();if(!t)throw new he(401,!1);return t}()}}function Tu(){return Ms?.get(Gg)??null}let Gg=(()=>{class e{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,r){const i=function Zg(e,t){let n;return n="noop"===e?new $C:("zone.js"===e?void 0:e)||new Qr(t),n}(r?.ngZone,function Yg(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:!(!e||!e.ngZoneEventCoalescing)||!1,shouldCoalesceRunChangeDetection:!(!e||!e.ngZoneRunCoalescing)||!1}}(r)),s=[{provide:Qr,useValue:i}];return i.run(()=>{const o=Vs.create({providers:s,parent:this.injector,name:n.moduleType.name}),h=n.create(o),g=h.injector.get(na,null);if(!g)throw new he(402,!1);return i.runOutsideAngular(()=>{const C=i.onError.subscribe({next:A=>{g.handleError(A)}});h.onDestroy(()=>{fl(this._modules,h),C.unsubscribe()})}),function Qg(e,t,n){try{const r=n();return Uc(r)?r.catch(i=>{throw t.runOutsideAngular(()=>e.handleError(i)),i}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}(g,i,()=>{const C=h.injector.get(ul);return C.runInitializers(),C.donePromise.then(()=>(function lp(e){tn(e,"Expected localeId to be defined"),"string"==typeof e&&(ap=e.toLowerCase().replace(/_/g,"-"))}(h.injector.get(dl,Ao)||Ao),this._moduleDoBootstrap(h),h))})})}bootstrapModule(n,r=[]){const i=Xg({},r);return function KC(e,t,n){const r=new au(n);return Promise.resolve(r)}(0,0,n).then(s=>this.bootstrapModuleFactory(s,i))}_moduleDoBootstrap(n){const r=n.injector.get(hl);if(n._bootstrapComponents.length>0)n._bootstrapComponents.forEach(i=>r.bootstrap(i));else{if(!n.instance.ngDoBootstrap)throw new he(403,!1);n.instance.ngDoBootstrap(r)}this._modules.push(n)}onDestroy(n){this._destroyListeners.push(n)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new he(404,!1);this._modules.slice().forEach(r=>r.destroy()),this._destroyListeners.forEach(r=>r());const n=this._injector.get(Su,null);n&&(n.forEach(r=>r()),n.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}}return e.\u0275fac=function(n){return new(n||e)(Wn(Vs))},e.\u0275prov=ee({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})();function Xg(e,t){return Array.isArray(t)?t.reduce(Xg,e):{...e,...t}}let hl=(()=>{class e{constructor(n,r,i){this._zone=n,this._injector=r,this._exceptionHandler=i,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this._destroyed=!1,this._destroyListeners=[],this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const s=new T.y(h=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{h.next(this._stable),h.complete()})}),o=new T.y(h=>{let g;this._zone.runOutsideAngular(()=>{g=this._zone.onStable.subscribe(()=>{Qr.assertNotInAngularZone(),Cu(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,h.next(!0))})})});const C=this._zone.onUnstable.subscribe(()=>{Qr.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{h.next(!1)}))});return()=>{g.unsubscribe(),C.unsubscribe()}});this.isStable=(0,R.T)(s,o.pipe((0,B.B)()))}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(n,r){const i=n instanceof th;if(!this._injector.get(ul).done)throw!i&&En(n),new he(405,false);let o;o=i?n:this._injector.get(ea).resolveComponentFactory(n),this.componentTypes.push(o.componentType);const h=function GC(e){return e.isBoundToModule}(o)?void 0:this._injector.get(Io),C=o.create(Vs.NULL,[],r||o.selector,h),A=C.location.nativeElement,U=C.injector.get(Vg,null);return U?.registerApplication(A),C.onDestroy(()=>{this.detachView(C.hostView),fl(this.components,C),U?.unregisterApplication(A)}),this._loadComponent(C),C}tick(){if(this._runningTick)throw new he(101,!1);try{this._runningTick=!0;for(let n of this._views)n.detectChanges()}catch(n){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(n))}finally{this._runningTick=!1}}attachView(n){const r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){const r=n;fl(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n),this._injector.get(Fg,[]).concat(this._bootstrapListeners).forEach(i=>i(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>fl(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new he(406,!1);const n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}}return e.\u0275fac=function(n){return new(n||e)(Wn(Qr),Wn(Us),Wn(na))},e.\u0275prov=ee({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function fl(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}let qg=!0,em=!1;function qC(){return em=!0,qg}function e0(){if(em)throw new Error("Cannot enable prod mode after platform setup.");qg=!1}let t0=(()=>{class e{}return e.__NG_ELEMENT_ID__=n0,e})();function n0(e){return function r0(e,t,n){if(nr(e)&&!n){const r=Nn(e.index,t);return new ra(r,r)}return 47&e.type?new ra(t[16],t):null}(In(),et(),16==(16&e))}class im{constructor(){}supports(t){return sa(t)}create(t){return new u0(t)}}const c0=(e,t)=>t;class u0{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||c0}forEachItem(t){let n;for(n=this._itHead;null!==n;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,r=this._removalsHead,i=0,s=null;for(;n||r;){const o=!r||n&&n.currentIndex<om(r,i,s)?n:r,h=om(o,i,s),g=o.currentIndex;if(o===r)i--,r=r._nextRemoved;else if(n=n._next,null==o.previousIndex)i++;else{s||(s=[]);const C=h-i,A=g-i;if(C!=A){for(let ge=0;ge<C;ge++){const Re=ge<s.length?s[ge]:s[ge]=0,qe=Re+ge;A<=qe&&qe<C&&(s[ge]=Re+1)}s[o.previousIndex]=A-C}}h!==g&&t(o,h,g)}}forEachPreviousItem(t){let n;for(n=this._previousItHead;null!==n;n=n._nextPrevious)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;null!==n;n=n._nextAdded)t(n)}forEachMovedItem(t){let n;for(n=this._movesHead;null!==n;n=n._nextMoved)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;null!==n;n=n._nextRemoved)t(n)}forEachIdentityChange(t){let n;for(n=this._identityChangesHead;null!==n;n=n._nextIdentityChange)t(n)}diff(t){if(null==t&&(t=[]),!sa(t))throw new he(900,!1);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let i,s,o,n=this._itHead,r=!1;if(Array.isArray(t)){this.length=t.length;for(let h=0;h<this.length;h++)s=t[h],o=this._trackByFn(h,s),null!==n&&Object.is(n.trackById,o)?(r&&(n=this._verifyReinsertion(n,s,o,h)),Object.is(n.item,s)||this._addIdentityChange(n,s)):(n=this._mismatch(n,s,o,h),r=!0),n=n._next}else i=0,function kv(e,t){if(Array.isArray(e))for(let n=0;n<e.length;n++)t(e[n]);else{const n=e[js()]();let r;for(;!(r=n.next()).done;)t(r.value)}}(t,h=>{o=this._trackByFn(i,h),null!==n&&Object.is(n.trackById,o)?(r&&(n=this._verifyReinsertion(n,h,o,i)),Object.is(n.item,h)||this._addIdentityChange(n,h)):(n=this._mismatch(n,h,o,i),r=!0),n=n._next,i++}),this.length=i;return this._truncate(n),this.collection=t,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;null!==t;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;null!==t;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,n,r,i){let s;return null===t?s=this._itTail:(s=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._reinsertAfter(t,s,i)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(r,i))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,s,i)):t=this._addAfter(new d0(n,r),s,i),t}_verifyReinsertion(t,n,r,i){let s=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null);return null!==s?t=this._reinsertAfter(s,t._prev,i):t.currentIndex!=i&&(t.currentIndex=i,this._addToMoves(t,i)),t}_truncate(t){for(;null!==t;){const n=t._next;this._addToRemovals(this._unlink(t)),t=n}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,n,r){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const i=t._prevRemoved,s=t._nextRemoved;return null===i?this._removalsHead=s:i._nextRemoved=s,null===s?this._removalsTail=i:s._prevRemoved=i,this._insertAfter(t,n,r),this._addToMoves(t,r),t}_moveAfter(t,n,r){return this._unlink(t),this._insertAfter(t,n,r),this._addToMoves(t,r),t}_addAfter(t,n,r){return this._insertAfter(t,n,r),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,n,r){const i=null===n?this._itHead:n._next;return t._next=i,t._prev=n,null===i?this._itTail=t:i._prev=t,null===n?this._itHead=t:n._next=t,null===this._linkedRecords&&(this._linkedRecords=new sm),this._linkedRecords.put(t),t.currentIndex=r,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const n=t._prev,r=t._next;return null===n?this._itHead=r:n._next=r,null===r?this._itTail=n:r._prev=n,t}_addToMoves(t,n){return t.previousIndex===n||(this._movesTail=null===this._movesTail?this._movesHead=t:this._movesTail._nextMoved=t),t}_addToRemovals(t){return null===this._unlinkedRecords&&(this._unlinkedRecords=new sm),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 d0{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 h0{constructor(){this._head=null,this._tail=null}add(t){null===this._head?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,n){let r;for(r=this._head;null!==r;r=r._nextDup)if((null===n||n<=r.currentIndex)&&Object.is(r.trackById,t))return r;return null}remove(t){const n=t._prevDup,r=t._nextDup;return null===n?this._head=r:n._nextDup=r,null===r?this._tail=n:r._prevDup=n,null===this._head}}class sm{constructor(){this.map=new Map}put(t){const n=t.trackById;let r=this.map.get(n);r||(r=new h0,this.map.set(n,r)),r.add(t)}get(t,n){const i=this.map.get(t);return i?i.get(t,n):null}remove(t){const n=t.trackById;return this.map.get(n).remove(t)&&this.map.delete(n),t}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function om(e,t,n){const r=e.previousIndex;if(null===r)return r;let i=0;return n&&r<n.length&&(i=n[r]),r+t+i}class am{constructor(){}supports(t){return t instanceof Map||xc(t)}create(){return new f0}}class f0{constructor(){this._records=new Map,this._mapHead=null,this._appendAfter=null,this._previousMapHead=null,this._changesHead=null,this._changesTail=null,this._additionsHead=null,this._additionsTail=null,this._removalsHead=null,this._removalsTail=null}get isDirty(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead}forEachItem(t){let n;for(n=this._mapHead;null!==n;n=n._next)t(n)}forEachPreviousItem(t){let n;for(n=this._previousMapHead;null!==n;n=n._nextPrevious)t(n)}forEachChangedItem(t){let n;for(n=this._changesHead;null!==n;n=n._nextChanged)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;null!==n;n=n._nextAdded)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;null!==n;n=n._nextRemoved)t(n)}diff(t){if(t){if(!(t instanceof Map||xc(t)))throw new he(900,!1)}else t=new Map;return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let n=this._mapHead;if(this._appendAfter=null,this._forEach(t,(r,i)=>{if(n&&n.key===i)this._maybeAddToChanges(n,r),this._appendAfter=n,n=n._next;else{const s=this._getOrCreateRecordForKey(i,r);n=this._insertBeforeOrAppend(n,s)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(let r=n;null!==r;r=r._nextRemoved)r===this._mapHead&&(this._mapHead=null),this._records.delete(r.key),r._nextRemoved=r._next,r.previousValue=r.currentValue,r.currentValue=null,r._prev=null,r._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,n){if(t){const r=t._prev;return n._next=t,n._prev=r,t._prev=n,r&&(r._next=n),t===this._mapHead&&(this._mapHead=n),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=n,n._prev=this._appendAfter):this._mapHead=n,this._appendAfter=n,null}_getOrCreateRecordForKey(t,n){if(this._records.has(t)){const i=this._records.get(t);this._maybeAddToChanges(i,n);const s=i._prev,o=i._next;return s&&(s._next=o),o&&(o._prev=s),i._next=null,i._prev=null,i}const r=new p0(t);return this._records.set(t,r),r.currentValue=n,this._addToAdditions(r),r}_reset(){if(this.isDirty){let t;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;null!==t;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;null!=t;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(t,n){Object.is(n,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=n,this._addToChanges(t))}_addToAdditions(t){null===this._additionsHead?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}_addToChanges(t){null===this._changesHead?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)}_forEach(t,n){t instanceof Map?t.forEach(n):Object.keys(t).forEach(r=>n(t[r],r))}}class p0{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 lm(){return new Ru([new im])}let Ru=(()=>{class e{constructor(n){this.factories=n}static create(n,r){if(null!=r){const i=r.factories.slice();n=n.concat(i)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||lm()),deps:[[e,new Ko,new Wo]]}}find(n){const r=this.factories.find(i=>i.supports(n));if(null!=r)return r;throw new he(901,!1)}}return e.\u0275prov=ee({token:e,providedIn:"root",factory:lm}),e})();function cm(){return new xu([new am])}let xu=(()=>{class e{constructor(n){this.factories=n}static create(n,r){if(r){const i=r.factories.slice();n=n.concat(i)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||cm()),deps:[[e,new Ko,new Wo]]}}find(n){const r=this.factories.find(i=>i.supports(n));if(r)return r;throw new he(901,!1)}}return e.\u0275prov=ee({token:e,providedIn:"root",factory:cm}),e})();const _0=Wg(null,"core",[]);let y0=(()=>{class e{constructor(n){}}return e.\u0275fac=function(n){return new(n||e)(Wn(hl))},e.\u0275mod=Fe({type:e}),e.\u0275inj=Ce({}),e})();function v0(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}},3238:(rt,_e,_)=>{_.d(_e,{yN:()=>Ue,mZ:()=>ht,_A:()=>Tt,rD:()=>Ce,sG:()=>sn,Ad:()=>Et,K7:()=>Pe,HF:()=>re,Y2:()=>Ye,BQ:()=>K,X2:()=>Ze,uc:()=>dt,ey:()=>P,Ng:()=>He,rN:()=>Ve,nP:()=>be,us:()=>ke,wG:()=>O,si:()=>G,IR:()=>st,CB:()=>me,jH:()=>We,pj:()=>xe,Kr:()=>it,Id:()=>Ge,FD:()=>$e,dB:()=>Ke,sb:()=>De,E0:()=>Ct});var f=_(94650),v=_(12687),T=_(40445),B=_(36895),V=_(83353),se=_(21281),Q=_(69751),Y=_(77579),$=_(68675),z=_(29521);function Ie(oe,q){if(1&oe&&f._UZ(0,"mat-pseudo-checkbox",4),2&oe){const Z=f.oxw();f.Q6J("state",Z.selected?"checked":"unchecked")("disabled",Z.disabled)}}function he(oe,q){if(1&oe&&(f.TgZ(0,"span",5),f._uU(1),f.qZA()),2&oe){const Z=f.oxw();f.xp6(1),f.hij("(",Z.group.label,")")}}const Ee=["*"];let Ue=(()=>{class oe{}return oe.STANDARD_CURVE="cubic-bezier(0.4,0.0,0.2,1)",oe.DECELERATION_CURVE="cubic-bezier(0.0,0.0,0.2,1)",oe.ACCELERATION_CURVE="cubic-bezier(0.4,0.0,1,1)",oe.SHARP_CURVE="cubic-bezier(0.4,0.0,0.6,1)",oe})(),ht=(()=>{class oe{}return oe.COMPLEX="375ms",oe.ENTERING="225ms",oe.EXITING="195ms",oe})();const Oe=new f.OlP("mat-sanity-checks",{providedIn:"root",factory:function ut(){return!0}});let K=(()=>{class oe{constructor(Z,L,X){this._sanityChecks=L,this._document=X,this._hasDoneGlobalChecks=!1,Z._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(Z){return!(0,V.Oy)()&&("boolean"==typeof this._sanityChecks?this._sanityChecks:!!this._sanityChecks[Z])}}return oe.\u0275fac=function(Z){return new(Z||oe)(f.LFG(v.qm),f.LFG(Oe,8),f.LFG(B.K0))},oe.\u0275mod=f.oAB({type:oe}),oe.\u0275inj=f.cJS({imports:[T.vT,T.vT]}),oe})();function Ge(oe){return class extends oe{constructor(...q){super(...q),this._disabled=!1}get disabled(){return this._disabled}set disabled(q){this._disabled=(0,se.Ig)(q)}}}function xe(oe,q){return class extends oe{constructor(...Z){super(...Z),this.defaultColor=q,this.color=q}get color(){return this._color}set color(Z){const L=Z||this.defaultColor;L!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove(`mat-${this._color}`),L&&this._elementRef.nativeElement.classList.add(`mat-${L}`),this._color=L)}}}function it(oe){return class extends oe{constructor(...q){super(...q),this._disableRipple=!1}get disableRipple(){return this._disableRipple}set disableRipple(q){this._disableRipple=(0,se.Ig)(q)}}}function De(oe,q=0){return class extends oe{constructor(...Z){super(...Z),this._tabIndex=q,this.defaultTabIndex=q}get tabIndex(){return this.disabled?-1:this._tabIndex}set tabIndex(Z){this._tabIndex=null!=Z?(0,se.su)(Z):this.defaultTabIndex}}}function $e(oe){return class extends oe{constructor(...q){super(...q),this.errorState=!1}updateErrorState(){const q=this.errorState,N=(this.errorStateMatcher||this._defaultErrorStateMatcher).isErrorState(this.ngControl?this.ngControl.control:null,this._parentFormGroup||this._parentForm);N!==q&&(this.errorState=N,this.stateChanges.next())}}}function Ke(oe){return class extends oe{constructor(...q){super(...q),this._isInitialized=!1,this._pendingSubscribers=[],this.initialized=new Q.y(Z=>{this._isInitialized?this._notifySubscriber(Z):this._pendingSubscribers.push(Z)})}_markInitialized(){this._isInitialized=!0,this._pendingSubscribers.forEach(this._notifySubscriber),this._pendingSubscribers=null}_notifySubscriber(q){q.next(),q.complete()}}}const Et=new f.OlP("MAT_DATE_LOCALE",{providedIn:"root",factory:function $t(){return(0,f.f3M)(f.soG)}});class Tt{constructor(){this._localeChanges=new Y.x,this.localeChanges=this._localeChanges}getValidDateOrNull(q){return this.isDateInstance(q)&&this.isValid(q)?q:null}deserialize(q){return null==q||this.isDateInstance(q)&&this.isValid(q)?q:this.invalid()}setLocale(q){this.locale=q,this._localeChanges.next()}compareDate(q,Z){return this.getYear(q)-this.getYear(Z)||this.getMonth(q)-this.getMonth(Z)||this.getDate(q)-this.getDate(Z)}sameDate(q,Z){if(q&&Z){let L=this.isValid(q),X=this.isValid(Z);return L&&X?!this.compareDate(q,Z):L==X}return q==Z}clampDate(q,Z,L){return Z&&this.compareDate(q,Z)<0?Z:L&&this.compareDate(q,L)>0?L:q}}const sn=new f.OlP("mat-date-formats");let Ce=(()=>{class oe{isErrorState(Z,L){return!!(Z&&Z.invalid&&(Z.touched||L&&L.submitted))}}return oe.\u0275fac=function(Z){return new(Z||oe)},oe.\u0275prov=f.Yz7({token:oe,factory:oe.\u0275fac,providedIn:"root"}),oe})(),Ze=(()=>{class oe{}return oe.\u0275fac=function(Z){return new(Z||oe)},oe.\u0275dir=f.lG2({type:oe,selectors:[["","mat-line",""],["","matLine",""]],hostAttrs:[1,"mat-line"]}),oe})();function Ct(oe,q,Z="mat"){oe.changes.pipe((0,$.O)(oe)).subscribe(({length:L})=>{Pt(q,`${Z}-2-line`,!1),Pt(q,`${Z}-3-line`,!1),Pt(q,`${Z}-multi-line`,!1),2===L||3===L?Pt(q,`${Z}-${L}-line`,!0):L>3&&Pt(q,`${Z}-multi-line`,!0)})}function Pt(oe,q,Z){oe.nativeElement.classList.toggle(q,Z)}let dt=(()=>{class oe{}return oe.\u0275fac=function(Z){return new(Z||oe)},oe.\u0275mod=f.oAB({type:oe}),oe.\u0275inj=f.cJS({imports:[K,K]}),oe})();class At{constructor(q,Z,L,X=!1){this._renderer=q,this.element=Z,this.config=L,this._animationForciblyDisabledThroughCss=X,this.state=3}fadeOut(){this._renderer.fadeOutRipple(this)}}const wt={enterDuration:225,exitDuration:150},Nt=(0,V.i$)({passive:!0}),kt=["mousedown","touchstart"],Kt=["mouseup","mouseleave","touchend","touchcancel"];class st{constructor(q,Z,L,X){this._target=q,this._ngZone=Z,this._isPointerDown=!1,this._activeRipples=new Map,this._pointerUpEventsRegistered=!1,X.isBrowser&&(this._containerElement=(0,se.fI)(L))}fadeInRipple(q,Z,L={}){const X=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),N={...wt,...L.animation};L.centered&&(q=X.left+X.width/2,Z=X.top+X.height/2);const de=L.radius||function _n(oe,q,Z){const L=Math.max(Math.abs(oe-Z.left),Math.abs(oe-Z.right)),X=Math.max(Math.abs(q-Z.top),Math.abs(q-Z.bottom));return Math.sqrt(L*L+X*X)}(q,Z,X),Fe=q-X.left,ot=Z-X.top,Rt=N.enterDuration,Vt=document.createElement("div");Vt.classList.add("mat-ripple-element"),Vt.style.left=Fe-de+"px",Vt.style.top=ot-de+"px",Vt.style.height=2*de+"px",Vt.style.width=2*de+"px",null!=L.color&&(Vt.style.backgroundColor=L.color),Vt.style.transitionDuration=`${Rt}ms`,this._containerElement.appendChild(Vt);const Xn=window.getComputedStyle(Vt),on=Xn.transitionDuration,an="none"===Xn.transitionProperty||"0s"===on||"0s, 0s"===on,En=new At(this,Vt,L,an);Vt.style.transform="scale3d(1, 1, 1)",En.state=0,L.persistent||(this._mostRecentTransientRipple=En);let wn=null;return!an&&(Rt||N.exitDuration)&&this._ngZone.runOutsideAngular(()=>{const Mn=()=>this._finishRippleTransition(En),te=()=>this._destroyRipple(En);Vt.addEventListener("transitionend",Mn),Vt.addEventListener("transitioncancel",te),wn={onTransitionEnd:Mn,onTransitionCancel:te}}),this._activeRipples.set(En,wn),(an||!Rt)&&this._finishRippleTransition(En),En}fadeOutRipple(q){if(2===q.state||3===q.state)return;const Z=q.element,L={...wt,...q.config.animation};Z.style.transitionDuration=`${L.exitDuration}ms`,Z.style.opacity="0",q.state=2,(q._animationForciblyDisabledThroughCss||!L.exitDuration)&&this._finishRippleTransition(q)}fadeOutAll(){this._getActiveRipples().forEach(q=>q.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(q=>{q.config.persistent||q.fadeOut()})}setupTriggerEvents(q){const Z=(0,se.fI)(q);!Z||Z===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=Z,this._registerEvents(kt))}handleEvent(q){"mousedown"===q.type?this._onMousedown(q):"touchstart"===q.type?this._onTouchStart(q):this._onPointerUp(),this._pointerUpEventsRegistered||(this._registerEvents(Kt),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(q){0===q.state?this._startFadeOutTransition(q):2===q.state&&this._destroyRipple(q)}_startFadeOutTransition(q){const Z=q===this._mostRecentTransientRipple,{persistent:L}=q.config;q.state=1,!L&&(!Z||!this._isPointerDown)&&q.fadeOut()}_destroyRipple(q){const Z=this._activeRipples.get(q)??null;this._activeRipples.delete(q),this._activeRipples.size||(this._containerRect=null),q===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),q.state=3,null!==Z&&(q.element.removeEventListener("transitionend",Z.onTransitionEnd),q.element.removeEventListener("transitioncancel",Z.onTransitionCancel)),q.element.remove()}_onMousedown(q){const Z=(0,v.X6)(q),L=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+800;!this._target.rippleDisabled&&!Z&&!L&&(this._isPointerDown=!0,this.fadeInRipple(q.clientX,q.clientY,this._target.rippleConfig))}_onTouchStart(q){if(!this._target.rippleDisabled&&!(0,v.yG)(q)){this._lastTouchStartEvent=Date.now(),this._isPointerDown=!0;const Z=q.changedTouches;for(let L=0;L<Z.length;L++)this.fadeInRipple(Z[L].clientX,Z[L].clientY,this._target.rippleConfig)}}_onPointerUp(){!this._isPointerDown||(this._isPointerDown=!1,this._getActiveRipples().forEach(q=>{!q.config.persistent&&(1===q.state||q.config.terminateOnPointerUp&&0===q.state)&&q.fadeOut()}))}_registerEvents(q){this._ngZone.runOutsideAngular(()=>{q.forEach(Z=>{this._triggerElement.addEventListener(Z,this,Nt)})})}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){this._triggerElement&&(kt.forEach(q=>{this._triggerElement.removeEventListener(q,this,Nt)}),this._pointerUpEventsRegistered&&Kt.forEach(q=>{this._triggerElement.removeEventListener(q,this,Nt)}))}}const Ye=new f.OlP("mat-ripple-global-options");let O=(()=>{class oe{constructor(Z,L,X,N,de){this._elementRef=Z,this._animationMode=de,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=N||{},this._rippleRenderer=new st(this,L,Z,X)}get disabled(){return this._disabled}set disabled(Z){Z&&this.fadeOutAllNonPersistent(),this._disabled=Z,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(Z){this._trigger=Z,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(Z,L=0,X){return"number"==typeof Z?this._rippleRenderer.fadeInRipple(Z,L,{...this.rippleConfig,...X}):this._rippleRenderer.fadeInRipple(0,0,{...this.rippleConfig,...Z})}}return oe.\u0275fac=function(Z){return new(Z||oe)(f.Y36(f.SBq),f.Y36(f.R0b),f.Y36(V.t4),f.Y36(Ye,8),f.Y36(f.QbO,8))},oe.\u0275dir=f.lG2({type:oe,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(Z,L){2&Z&&f.ekj("mat-ripple-unbounded",L.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"]}),oe})(),G=(()=>{class oe{}return oe.\u0275fac=function(Z){return new(Z||oe)},oe.\u0275mod=f.oAB({type:oe}),oe.\u0275inj=f.cJS({imports:[K,K]}),oe})(),be=(()=>{class oe{constructor(Z){this._animationMode=Z,this.state="unchecked",this.disabled=!1}}return oe.\u0275fac=function(Z){return new(Z||oe)(f.Y36(f.QbO,8))},oe.\u0275cmp=f.Xpm({type:oe,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:8,hostBindings:function(Z,L){2&Z&&f.ekj("mat-pseudo-checkbox-indeterminate","indeterminate"===L.state)("mat-pseudo-checkbox-checked","checked"===L.state)("mat-pseudo-checkbox-disabled",L.disabled)("_mat-animation-noopable","NoopAnimations"===L._animationMode)},inputs:{state:"state",disabled:"disabled"},decls:0,vars:0,template:function(Z,L){},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}),oe})(),ke=(()=>{class oe{}return oe.\u0275fac=function(Z){return new(Z||oe)},oe.\u0275mod=f.oAB({type:oe}),oe.\u0275inj=f.cJS({imports:[K]}),oe})();const re=new f.OlP("MAT_OPTION_PARENT_COMPONENT"),Pe=new f.OlP("MatOptgroup");let ct=0;class Ve{constructor(q,Z=!1){this.source=q,this.isUserInput=Z}}let ue=(()=>{class oe{constructor(Z,L,X,N){this._element=Z,this._changeDetectorRef=L,this._parent=X,this.group=N,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id="mat-option-"+ct++,this.onSelectionChange=new f.vpe,this._stateChanges=new Y.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(Z){this._disabled=(0,se.Ig)(Z)}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(Z,L){const X=this._getHostElement();"function"==typeof X.focus&&X.focus(L)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(Z){(Z.keyCode===z.K5||Z.keyCode===z.L_)&&!(0,z.Vb)(Z)&&(this._selectViaInteraction(),Z.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 Z=this.viewValue;Z!==this._mostRecentViewValue&&(this._mostRecentViewValue=Z,this._stateChanges.next())}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(Z=!1){this.onSelectionChange.emit(new Ve(this,Z))}}return oe.\u0275fac=function(Z){f.$Z()},oe.\u0275dir=f.lG2({type:oe,inputs:{value:"value",id:"id",disabled:"disabled"},outputs:{onSelectionChange:"onSelectionChange"}}),oe})(),P=(()=>{class oe extends ue{constructor(Z,L,X,N){super(Z,L,X,N)}}return oe.\u0275fac=function(Z){return new(Z||oe)(f.Y36(f.SBq),f.Y36(f.sBO),f.Y36(re,8),f.Y36(Pe,8))},oe.\u0275cmp=f.Xpm({type:oe,selectors:[["mat-option"]],hostAttrs:["role","option",1,"mat-option","mat-focus-indicator"],hostVars:12,hostBindings:function(Z,L){1&Z&&f.NdJ("click",function(){return L._selectViaInteraction()})("keydown",function(N){return L._handleKeydown(N)}),2&Z&&(f.Ikx("id",L.id),f.uIk("tabindex",L._getTabIndex())("aria-selected",L._getAriaSelected())("aria-disabled",L.disabled.toString()),f.ekj("mat-selected",L.selected)("mat-option-multiple",L.multiple)("mat-active",L.active)("mat-option-disabled",L.disabled))},exportAs:["matOption"],features:[f.qOj],ngContentSelectors:Ee,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(Z,L){1&Z&&(f.F$t(),f.YNc(0,Ie,1,2,"mat-pseudo-checkbox",0),f.TgZ(1,"span",1),f.Hsn(2),f.qZA(),f.YNc(3,he,2,1,"span",2),f._UZ(4,"div",3)),2&Z&&(f.Q6J("ngIf",L.multiple),f.xp6(3),f.Q6J("ngIf",L.group&&L.group._inert),f.xp6(1),f.Q6J("matRippleTrigger",L._getHostElement())("matRippleDisabled",L.disabled||L.disableRipple))},dependencies:[O,B.O5,be],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}),oe})();function me(oe,q,Z){if(Z.length){let L=q.toArray(),X=Z.toArray(),N=0;for(let de=0;de<oe+1;de++)L[de].group&&L[de].group===X[N]&&N++;return N}return 0}function We(oe,q,Z,L){return oe<Z?oe:oe+q>Z+L?Math.max(0,oe-L+q):Z}let He=(()=>{class oe{}return oe.\u0275fac=function(Z){return new(Z||oe)},oe.\u0275mod=f.oAB({type:oe}),oe.\u0275inj=f.cJS({imports:[G,B.ez,K,ke]}),oe})()},65938:(rt,_e,_)=>{_.d(_e,{H8:()=>Ot,Is:()=>Ne,WI:()=>ce,ZT:()=>Tt,so:()=>K,uh:()=>sn,uw:()=>Et,xY:()=>tn});var f=_(97855),v=_(98184),T=_(84080),R=_(94650),B=_(3238),V=_(36895),se=_(77579),Q=_(56451),Y=_(49770),$=_(39300),z=_(95698),H=_(68675),Se=_(37340),Ie=_(12687),he=_(29521);function Ee(fe,ee){}const ye={params:{enterAnimationDuration:"150ms",exitAnimationDuration:"75ms"}},Ue={dialogContainer:(0,Se.X$)("dialogContainer",[(0,Se.SB)("void, exit",(0,Se.oB)({opacity:0,transform:"scale(0.7)"})),(0,Se.SB)("enter",(0,Se.oB)({transform:"none"})),(0,Se.eR)("* => enter",(0,Se.ru)([(0,Se.jt)("{{enterAnimationDuration}} cubic-bezier(0, 0, 0.2, 1)",(0,Se.oB)({transform:"none",opacity:1})),(0,Se.IO)("@*",(0,Se.pV)(),{optional:!0})]),ye),(0,Se.eR)("* => void, * => exit",(0,Se.ru)([(0,Se.jt)("{{exitAnimationDuration}} cubic-bezier(0.4, 0.0, 0.2, 1)",(0,Se.oB)({opacity:0})),(0,Se.IO)("@*",(0,Se.pV)(),{optional:!0})]),ye)])};class ht{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.ariaModal=!0,this.autoFocus="first-tabbable",this.restoreFocus=!0,this.delayFocusTrap=!0,this.closeOnNavigation=!0,this.enterAnimationDuration=ye.params.enterAnimationDuration,this.exitAnimationDuration=ye.params.exitAnimationDuration}}let ut=(()=>{class fe extends f.LL{constructor(pe,Ce,Ze,Ct,Pt,dt,At,wt){super(pe,Ce,Ze,Ct,Pt,dt,At,wt),this._animationStateChanged=new R.vpe}_captureInitialFocus(){this._config.delayFocusTrap||this._trapFocus()}_openAnimationDone(pe){this._config.delayFocusTrap&&this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:pe})}}return fe.\u0275fac=function(pe){return new(pe||fe)(R.Y36(R.SBq),R.Y36(Ie.qV),R.Y36(V.K0,8),R.Y36(ht),R.Y36(Ie.ic),R.Y36(R.R0b),R.Y36(v.Iu),R.Y36(Ie.tE))},fe.\u0275cmp=R.Xpm({type:fe,selectors:[["ng-component"]],features:[R.qOj],decls:0,vars:0,template:function(pe,Ce){},encapsulation:2}),fe})(),Oe=(()=>{class fe extends ut{constructor(pe,Ce,Ze,Ct,Pt,dt,At,wt,en){super(pe,Ce,Ze,Ct,Pt,dt,At,en),this._changeDetectorRef=wt,this._state="enter"}_onAnimationDone({toState:pe,totalTime:Ce}){"enter"===pe?this._openAnimationDone(Ce):"exit"===pe&&this._animationStateChanged.next({state:"closed",totalTime:Ce})}_onAnimationStart({toState:pe,totalTime:Ce}){"enter"===pe?this._animationStateChanged.next({state:"opening",totalTime:Ce}):("exit"===pe||"void"===pe)&&this._animationStateChanged.next({state:"closing",totalTime:Ce})}_startExitAnimation(){this._state="exit",this._changeDetectorRef.markForCheck()}_getAnimationState(){return{value:this._state,params:{enterAnimationDuration:this._config.enterAnimationDuration||ye.params.enterAnimationDuration,exitAnimationDuration:this._config.exitAnimationDuration||ye.params.exitAnimationDuration}}}}return fe.\u0275fac=function(pe){return new(pe||fe)(R.Y36(R.SBq),R.Y36(Ie.qV),R.Y36(V.K0,8),R.Y36(ht),R.Y36(Ie.ic),R.Y36(R.R0b),R.Y36(v.Iu),R.Y36(R.sBO),R.Y36(Ie.tE))},fe.\u0275cmp=R.Xpm({type:fe,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1",1,"mat-dialog-container"],hostVars:7,hostBindings:function(pe,Ce){1&pe&&R.WFA("@dialogContainer.start",function(Ct){return Ce._onAnimationStart(Ct)})("@dialogContainer.done",function(Ct){return Ce._onAnimationDone(Ct)}),2&pe&&(R.Ikx("id",Ce._config.id),R.uIk("aria-modal",Ce._config.ariaModal)("role",Ce._config.role)("aria-labelledby",Ce._config.ariaLabel?null:Ce._ariaLabelledBy)("aria-label",Ce._config.ariaLabel)("aria-describedby",Ce._config.ariaDescribedBy||null),R.d8E("@dialogContainer",Ce._getAnimationState()))},features:[R.qOj],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(pe,Ce){1&pe&&R.YNc(0,Ee,0,0,"ng-template",0)},dependencies:[T.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:[Ue.dialogContainer]}}),fe})();class K{constructor(ee,pe,Ce){this._ref=ee,this._containerInstance=Ce,this._afterOpened=new se.x,this._beforeClosed=new se.x,this._state=0,this.disableClose=pe.disableClose,this.id=ee.id,Ce._animationStateChanged.pipe((0,$.h)(Ze=>"opened"===Ze.state),(0,z.q)(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),Ce._animationStateChanged.pipe((0,$.h)(Ze=>"closed"===Ze.state),(0,z.q)(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),ee.overlayRef.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._finishDialogClose()}),(0,Q.T)(this.backdropClick(),this.keydownEvents().pipe((0,$.h)(Ze=>Ze.keyCode===he.hY&&!this.disableClose&&!(0,he.Vb)(Ze)))).subscribe(Ze=>{this.disableClose||(Ze.preventDefault(),ve(this,"keydown"===Ze.type?"keyboard":"mouse"))})}close(ee){this._result=ee,this._containerInstance._animationStateChanged.pipe((0,$.h)(pe=>"closing"===pe.state),(0,z.q)(1)).subscribe(pe=>{this._beforeClosed.next(ee),this._beforeClosed.complete(),this._ref.overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),pe.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(ee){let pe=this._ref.config.positionStrategy;return ee&&(ee.left||ee.right)?ee.left?pe.left(ee.left):pe.right(ee.right):pe.centerHorizontally(),ee&&(ee.top||ee.bottom)?ee.top?pe.top(ee.top):pe.bottom(ee.bottom):pe.centerVertically(),this._ref.updatePosition(),this}updateSize(ee="",pe=""){return this._ref.updateSize(ee,pe),this}addPanelClass(ee){return this._ref.addPanelClass(ee),this}removePanelClass(ee){return this._ref.removePanelClass(ee),this}getState(){return this._state}_finishDialogClose(){this._state=2,this._ref.close(this._result,{focusOrigin:this._closeInteractionType}),this.componentInstance=null}}function ve(fe,ee,pe){return fe._closeInteractionType=ee,fe.close(pe)}const ce=new R.OlP("MatDialogData"),Te=new R.OlP("mat-dialog-default-options"),Ge=new R.OlP("mat-dialog-scroll-strategy"),De={provide:Ge,deps:[v.aV],useFactory:function it(fe){return()=>fe.scrollStrategies.block()}};let $e=0,Ke=(()=>{class fe{constructor(pe,Ce,Ze,Ct,Pt,dt,At,wt,en,Nt){this._overlay=pe,this._defaultOptions=Ze,this._parentDialog=Ct,this._dialogRefConstructor=At,this._dialogContainerType=wt,this._dialogDataToken=en,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new se.x,this._afterOpenedAtThisLevel=new se.x,this._idPrefix="mat-dialog-",this.afterAllClosed=(0,Y.P)(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe((0,H.O)(void 0))),this._scrollStrategy=dt,this._dialog=Ce.get(f.Vq)}get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}_getAfterAllClosed(){const pe=this._parentDialog;return pe?pe._getAfterAllClosed():this._afterAllClosedAtThisLevel}open(pe,Ce){let Ze;(Ce={...this._defaultOptions||new ht,...Ce}).id=Ce.id||`${this._idPrefix}${$e++}`,Ce.scrollStrategy=Ce.scrollStrategy||this._scrollStrategy();const Ct=this._dialog.open(pe,{...Ce,positionStrategy:this._overlay.position().global().centerHorizontally().centerVertically(),disableClose:!0,closeOnDestroy:!1,container:{type:this._dialogContainerType,providers:()=>[{provide:ht,useValue:Ce},{provide:f.ib,useValue:Ce}]},templateContext:()=>({dialogRef:Ze}),providers:(Pt,dt,At)=>(Ze=new this._dialogRefConstructor(Pt,Ce,At),Ze.updatePosition(Ce?.position),[{provide:this._dialogContainerType,useValue:At},{provide:this._dialogDataToken,useValue:dt.data},{provide:this._dialogRefConstructor,useValue:Ze}])});return Ze.componentInstance=Ct.componentInstance,this.openDialogs.push(Ze),this.afterOpened.next(Ze),Ze.afterClosed().subscribe(()=>{const Pt=this.openDialogs.indexOf(Ze);Pt>-1&&(this.openDialogs.splice(Pt,1),this.openDialogs.length||this._getAfterAllClosed().next())}),Ze}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(pe){return this.openDialogs.find(Ce=>Ce.id===pe)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}_closeDialogs(pe){let Ce=pe.length;for(;Ce--;)pe[Ce].close()}}return fe.\u0275fac=function(pe){R.$Z()},fe.\u0275prov=R.Yz7({token:fe,factory:fe.\u0275fac}),fe})(),Et=(()=>{class fe extends Ke{constructor(pe,Ce,Ze,Ct,Pt,dt,At,wt){super(pe,Ce,Ct,dt,At,Pt,K,Oe,ce,wt)}}return fe.\u0275fac=function(pe){return new(pe||fe)(R.LFG(v.aV),R.LFG(R.zs3),R.LFG(V.Ye,8),R.LFG(Te,8),R.LFG(Ge),R.LFG(fe,12),R.LFG(v.Xj),R.LFG(R.QbO,8))},fe.\u0275prov=R.Yz7({token:fe,factory:fe.\u0275fac}),fe})(),$t=0,Tt=(()=>{class fe{constructor(pe,Ce,Ze){this.dialogRef=pe,this._elementRef=Ce,this._dialog=Ze,this.type="button"}ngOnInit(){this.dialogRef||(this.dialogRef=Ae(this._elementRef,this._dialog.openDialogs))}ngOnChanges(pe){const Ce=pe._matDialogClose||pe._matDialogCloseResult;Ce&&(this.dialogResult=Ce.currentValue)}_onButtonClick(pe){ve(this.dialogRef,0===pe.screenX&&0===pe.screenY?"keyboard":"mouse",this.dialogResult)}}return fe.\u0275fac=function(pe){return new(pe||fe)(R.Y36(K,8),R.Y36(R.SBq),R.Y36(Et))},fe.\u0275dir=R.lG2({type:fe,selectors:[["","mat-dialog-close",""],["","matDialogClose",""]],hostVars:2,hostBindings:function(pe,Ce){1&pe&&R.NdJ("click",function(Ct){return Ce._onButtonClick(Ct)}),2&pe&&R.uIk("aria-label",Ce.ariaLabel||null)("type",Ce.type)},inputs:{ariaLabel:["aria-label","ariaLabel"],type:"type",dialogResult:["mat-dialog-close","dialogResult"],_matDialogClose:["matDialogClose","_matDialogClose"]},exportAs:["matDialogClose"],features:[R.TTD]}),fe})(),sn=(()=>{class fe{constructor(pe,Ce,Ze){this._dialogRef=pe,this._elementRef=Ce,this._dialog=Ze,this.id="mat-dialog-title-"+$t++}ngOnInit(){this._dialogRef||(this._dialogRef=Ae(this._elementRef,this._dialog.openDialogs)),this._dialogRef&&Promise.resolve().then(()=>{const pe=this._dialogRef._containerInstance;pe&&!pe._ariaLabelledBy&&(pe._ariaLabelledBy=this.id)})}}return fe.\u0275fac=function(pe){return new(pe||fe)(R.Y36(K,8),R.Y36(R.SBq),R.Y36(Et))},fe.\u0275dir=R.lG2({type:fe,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-dialog-title"],hostVars:1,hostBindings:function(pe,Ce){2&pe&&R.Ikx("id",Ce.id)},inputs:{id:"id"},exportAs:["matDialogTitle"]}),fe})(),tn=(()=>{class fe{}return fe.\u0275fac=function(pe){return new(pe||fe)},fe.\u0275dir=R.lG2({type:fe,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-dialog-content"]}),fe})(),Ot=(()=>{class fe{constructor(){this.align="start"}}return fe.\u0275fac=function(pe){return new(pe||fe)},fe.\u0275dir=R.lG2({type:fe,selectors:[["","mat-dialog-actions",""],["mat-dialog-actions"],["","matDialogActions",""]],hostAttrs:[1,"mat-dialog-actions"],hostVars:4,hostBindings:function(pe,Ce){2&pe&&R.ekj("mat-dialog-actions-align-center","center"===Ce.align)("mat-dialog-actions-align-end","end"===Ce.align)},inputs:{align:"align"}}),fe})();function Ae(fe,ee){let pe=fe.nativeElement.parentElement;for(;pe&&!pe.classList.contains("mat-dialog-container");)pe=pe.parentElement;return pe?ee.find(Ce=>Ce.id===pe.id):null}let Ne=(()=>{class fe{}return fe.\u0275fac=function(pe){return new(pe||fe)},fe.\u0275mod=R.oAB({type:fe}),fe.\u0275inj=R.cJS({providers:[Et,De],imports:[f.Su,v.U8,T.eL,B.BQ,B.BQ]}),fe})()},11481:(rt,_e,_)=>{_.d(_e,{Dx:()=>re,H7:()=>an,b2:()=>Ye,q6:()=>kt,se:()=>Ke});var f=_(36895),v=_(94650);class T extends f.w_{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class R extends T{static makeCurrent(){(0,f.HT)(new R)}onAndCancel(ne,j,we){return ne.addEventListener(j,we,!1),()=>{ne.removeEventListener(j,we,!1)}}dispatchEvent(ne,j){ne.dispatchEvent(j)}remove(ne){ne.parentNode&&ne.parentNode.removeChild(ne)}createElement(ne,j){return(j=j||this.getDefaultDocument()).createElement(ne)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(ne){return ne.nodeType===Node.ELEMENT_NODE}isShadowRoot(ne){return ne instanceof DocumentFragment}getGlobalEventTarget(ne,j){return"window"===j?window:"document"===j?ne:"body"===j?ne.body:null}getBaseHref(ne){const j=function V(){return B=B||document.querySelector("base"),B?B.getAttribute("href"):null}();return null==j?null:function Q(te){se=se||document.createElement("a"),se.setAttribute("href",te);const ne=se.pathname;return"/"===ne.charAt(0)?ne:`/${ne}`}(j)}resetBaseElement(){B=null}getUserAgent(){return window.navigator.userAgent}getCookie(ne){return(0,f.Mx)(document.cookie,ne)}}let se,B=null;const Y=new v.OlP("TRANSITION_ID"),z=[{provide:v.ip1,useFactory:function $(te,ne,j){return()=>{j.get(v.CZH).donePromise.then(()=>{const we=(0,f.q)(),Xe=ne.querySelectorAll(`style[ng-transition="${te}"]`);for(let vt=0;vt<Xe.length;vt++)we.remove(Xe[vt])})}},deps:[Y,f.K0,v.zs3],multi:!0}];let Se=(()=>{class te{build(){return new XMLHttpRequest}}return te.\u0275fac=function(j){return new(j||te)},te.\u0275prov=v.Yz7({token:te,factory:te.\u0275fac}),te})();const Ie=new v.OlP("EventManagerPlugins");let he=(()=>{class te{constructor(j,we){this._zone=we,this._eventNameToPlugin=new Map,j.forEach(Xe=>Xe.manager=this),this._plugins=j.slice().reverse()}addEventListener(j,we,Xe){return this._findPluginFor(we).addEventListener(j,we,Xe)}addGlobalEventListener(j,we,Xe){return this._findPluginFor(we).addGlobalEventListener(j,we,Xe)}getZone(){return this._zone}_findPluginFor(j){const we=this._eventNameToPlugin.get(j);if(we)return we;const Xe=this._plugins;for(let vt=0;vt<Xe.length;vt++){const Ht=Xe[vt];if(Ht.supports(j))return this._eventNameToPlugin.set(j,Ht),Ht}throw new Error(`No event manager plugin found for event ${j}`)}}return te.\u0275fac=function(j){return new(j||te)(v.LFG(Ie),v.LFG(v.R0b))},te.\u0275prov=v.Yz7({token:te,factory:te.\u0275fac}),te})();class Ee{constructor(ne){this._doc=ne}addGlobalEventListener(ne,j,we){const Xe=(0,f.q)().getGlobalEventTarget(this._doc,ne);if(!Xe)throw new Error(`Unsupported event target ${Xe} for event ${j}`);return this.addEventListener(Xe,j,we)}}let ye=(()=>{class te{constructor(){this._stylesSet=new Set}addStyles(j){const we=new Set;j.forEach(Xe=>{this._stylesSet.has(Xe)||(this._stylesSet.add(Xe),we.add(Xe))}),this.onStylesAdded(we)}onStylesAdded(j){}getAllStyles(){return Array.from(this._stylesSet)}}return te.\u0275fac=function(j){return new(j||te)},te.\u0275prov=v.Yz7({token:te,factory:te.\u0275fac}),te})(),Ue=(()=>{class te extends ye{constructor(j){super(),this._doc=j,this._hostNodes=new Map,this._hostNodes.set(j.head,[])}_addStylesToHost(j,we,Xe){j.forEach(vt=>{const Ht=this._doc.createElement("style");Ht.textContent=vt,Xe.push(we.appendChild(Ht))})}addHost(j){const we=[];this._addStylesToHost(this._stylesSet,j,we),this._hostNodes.set(j,we)}removeHost(j){const we=this._hostNodes.get(j);we&&we.forEach(ht),this._hostNodes.delete(j)}onStylesAdded(j){this._hostNodes.forEach((we,Xe)=>{this._addStylesToHost(j,Xe,we)})}ngOnDestroy(){this._hostNodes.forEach(j=>j.forEach(ht))}}return te.\u0275fac=function(j){return new(j||te)(v.LFG(f.K0))},te.\u0275prov=v.Yz7({token:te,factory:te.\u0275fac}),te})();function ht(te){(0,f.q)().remove(te)}const ut={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/"},Oe=/%COMP%/g;function it(te,ne,j){for(let we=0;we<ne.length;we++){let Xe=ne[we];Array.isArray(Xe)?it(te,Xe,j):(Xe=Xe.replace(Oe,te),j.push(Xe))}return j}function De(te){return ne=>{if("__ngUnwrap__"===ne)return te;!1===te(ne)&&(ne.preventDefault(),ne.returnValue=!1)}}let Ke=(()=>{class te{constructor(j,we,Xe){this.eventManager=j,this.sharedStylesHost=we,this.appId=Xe,this.rendererByCompId=new Map,this.defaultRenderer=new Et(j)}createRenderer(j,we){if(!j||!we)return this.defaultRenderer;switch(we.encapsulation){case v.ifc.Emulated:{let Xe=this.rendererByCompId.get(we.id);return Xe||(Xe=new tn(this.eventManager,this.sharedStylesHost,we,this.appId),this.rendererByCompId.set(we.id,Xe)),Xe.applyToHost(j),Xe}case 1:case v.ifc.ShadowDom:return new Ot(this.eventManager,this.sharedStylesHost,j,we);default:if(!this.rendererByCompId.has(we.id)){const Xe=it(we.id,we.styles,[]);this.sharedStylesHost.addStyles(Xe),this.rendererByCompId.set(we.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return te.\u0275fac=function(j){return new(j||te)(v.LFG(he),v.LFG(Ue),v.LFG(v.AFp))},te.\u0275prov=v.Yz7({token:te,factory:te.\u0275fac}),te})();class Et{constructor(ne){this.eventManager=ne,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(ne,j){return j?document.createElementNS(ut[j]||j,ne):document.createElement(ne)}createComment(ne){return document.createComment(ne)}createText(ne){return document.createTextNode(ne)}appendChild(ne,j){(sn(ne)?ne.content:ne).appendChild(j)}insertBefore(ne,j,we){ne&&(sn(ne)?ne.content:ne).insertBefore(j,we)}removeChild(ne,j){ne&&ne.removeChild(j)}selectRootElement(ne,j){let we="string"==typeof ne?document.querySelector(ne):ne;if(!we)throw new Error(`The selector "${ne}" did not match any elements`);return j||(we.textContent=""),we}parentNode(ne){return ne.parentNode}nextSibling(ne){return ne.nextSibling}setAttribute(ne,j,we,Xe){if(Xe){j=Xe+":"+j;const vt=ut[Xe];vt?ne.setAttributeNS(vt,j,we):ne.setAttribute(j,we)}else ne.setAttribute(j,we)}removeAttribute(ne,j,we){if(we){const Xe=ut[we];Xe?ne.removeAttributeNS(Xe,j):ne.removeAttribute(`${we}:${j}`)}else ne.removeAttribute(j)}addClass(ne,j){ne.classList.add(j)}removeClass(ne,j){ne.classList.remove(j)}setStyle(ne,j,we,Xe){Xe&(v.JOm.DashCase|v.JOm.Important)?ne.style.setProperty(j,we,Xe&v.JOm.Important?"important":""):ne.style[j]=we}removeStyle(ne,j,we){we&v.JOm.DashCase?ne.style.removeProperty(j):ne.style[j]=""}setProperty(ne,j,we){ne[j]=we}setValue(ne,j){ne.nodeValue=j}listen(ne,j,we){return"string"==typeof ne?this.eventManager.addGlobalEventListener(ne,j,De(we)):this.eventManager.addEventListener(ne,j,De(we))}}function sn(te){return"TEMPLATE"===te.tagName&&void 0!==te.content}class tn extends Et{constructor(ne,j,we,Xe){super(ne),this.component=we;const vt=it(Xe+"-"+we.id,we.styles,[]);j.addStyles(vt),this.contentAttr=function Ge(te){return"_ngcontent-%COMP%".replace(Oe,te)}(Xe+"-"+we.id),this.hostAttr=function xe(te){return"_nghost-%COMP%".replace(Oe,te)}(Xe+"-"+we.id)}applyToHost(ne){super.setAttribute(ne,this.hostAttr,"")}createElement(ne,j){const we=super.createElement(ne,j);return super.setAttribute(we,this.contentAttr,""),we}}class Ot extends Et{constructor(ne,j,we,Xe){super(ne),this.sharedStylesHost=j,this.hostEl=we,this.shadowRoot=we.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const vt=it(Xe.id,Xe.styles,[]);for(let Ht=0;Ht<vt.length;Ht++){const zt=document.createElement("style");zt.textContent=vt[Ht],this.shadowRoot.appendChild(zt)}}nodeOrShadowRoot(ne){return ne===this.hostEl?this.shadowRoot:ne}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}appendChild(ne,j){return super.appendChild(this.nodeOrShadowRoot(ne),j)}insertBefore(ne,j,we){return super.insertBefore(this.nodeOrShadowRoot(ne),j,we)}removeChild(ne,j){return super.removeChild(this.nodeOrShadowRoot(ne),j)}parentNode(ne){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(ne)))}}let Ae=(()=>{class te extends Ee{constructor(j){super(j)}supports(j){return!0}addEventListener(j,we,Xe){return j.addEventListener(we,Xe,!1),()=>this.removeEventListener(j,we,Xe)}removeEventListener(j,we,Xe){return j.removeEventListener(we,Xe)}}return te.\u0275fac=function(j){return new(j||te)(v.LFG(f.K0))},te.\u0275prov=v.Yz7({token:te,factory:te.\u0275fac}),te})();const Ne=["alt","control","meta","shift"],fe={"\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"},ee={alt:te=>te.altKey,control:te=>te.ctrlKey,meta:te=>te.metaKey,shift:te=>te.shiftKey};let pe=(()=>{class te extends Ee{constructor(j){super(j)}supports(j){return null!=te.parseEventName(j)}addEventListener(j,we,Xe){const vt=te.parseEventName(we),Ht=te.eventCallback(vt.fullKey,Xe,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,f.q)().onAndCancel(j,vt.domEventName,Ht))}static parseEventName(j){const we=j.toLowerCase().split("."),Xe=we.shift();if(0===we.length||"keydown"!==Xe&&"keyup"!==Xe)return null;const vt=te._normalizeKey(we.pop());let Ht="",zt=we.indexOf("code");if(zt>-1&&(we.splice(zt,1),Ht="code."),Ne.forEach(Vn=>{const It=we.indexOf(Vn);It>-1&&(we.splice(It,1),Ht+=Vn+".")}),Ht+=vt,0!=we.length||0===vt.length)return null;const nn={};return nn.domEventName=Xe,nn.fullKey=Ht,nn}static matchEventFullKeyCode(j,we){let Xe=fe[j.key]||j.key,vt="";return we.indexOf("code.")>-1&&(Xe=j.code,vt="code."),!(null==Xe||!Xe)&&(Xe=Xe.toLowerCase()," "===Xe?Xe="space":"."===Xe&&(Xe="dot"),Ne.forEach(Ht=>{Ht!==Xe&&(0,ee[Ht])(j)&&(vt+=Ht+".")}),vt+=Xe,vt===we)}static eventCallback(j,we,Xe){return vt=>{te.matchEventFullKeyCode(vt,j)&&Xe.runGuarded(()=>we(vt))}}static _normalizeKey(j){return"esc"===j?"escape":j}}return te.\u0275fac=function(j){return new(j||te)(v.LFG(f.K0))},te.\u0275prov=v.Yz7({token:te,factory:te.\u0275fac}),te})();const kt=(0,v.eFA)(v._c5,"browser",[{provide:v.Lbi,useValue:f.bD},{provide:v.g9A,useValue:function At(){R.makeCurrent()},multi:!0},{provide:f.K0,useFactory:function en(){return(0,v.RDi)(document),document},deps:[]}]),Kt=new v.OlP(""),st=[{provide:v.rWj,useClass:class H{addToWindow(ne){v.dqk.getAngularTestability=(we,Xe=!0)=>{const vt=ne.findTestabilityInTree(we,Xe);if(null==vt)throw new Error("Could not find testability for element.");return vt},v.dqk.getAllAngularTestabilities=()=>ne.getAllTestabilities(),v.dqk.getAllAngularRootElements=()=>ne.getAllRootElements(),v.dqk.frameworkStabilizers||(v.dqk.frameworkStabilizers=[]),v.dqk.frameworkStabilizers.push(we=>{const Xe=v.dqk.getAllAngularTestabilities();let vt=Xe.length,Ht=!1;const zt=function(nn){Ht=Ht||nn,vt--,0==vt&&we(Ht)};Xe.forEach(function(nn){nn.whenStable(zt)})})}findTestabilityInTree(ne,j,we){return null==j?null:ne.getTestability(j)??(we?(0,f.q)().isShadowRoot(j)?this.findTestabilityInTree(ne,j.host,!0):this.findTestabilityInTree(ne,j.parentElement,!0):null)}},deps:[]},{provide:v.lri,useClass:v.dDg,deps:[v.R0b,v.eoX,v.rWj]},{provide:v.dDg,useClass:v.dDg,deps:[v.R0b,v.eoX,v.rWj]}],_n=[{provide:v.zSh,useValue:"root"},{provide:v.qLn,useFactory:function wt(){return new v.qLn},deps:[]},{provide:Ie,useClass:Ae,multi:!0,deps:[f.K0,v.R0b,v.Lbi]},{provide:Ie,useClass:pe,multi:!0,deps:[f.K0]},{provide:Ke,useClass:Ke,deps:[he,Ue,v.AFp]},{provide:v.FYo,useExisting:Ke},{provide:ye,useExisting:Ue},{provide:Ue,useClass:Ue,deps:[f.K0]},{provide:he,useClass:he,deps:[Ie,v.R0b]},{provide:f.JF,useClass:Se,deps:[]},[]];let Ye=(()=>{class te{constructor(j){}static withServerTransition(j){return{ngModule:te,providers:[{provide:v.AFp,useValue:j.appId},{provide:Y,useExisting:v.AFp},z]}}}return te.\u0275fac=function(j){return new(j||te)(v.LFG(Kt,12))},te.\u0275mod=v.oAB({type:te}),te.\u0275inj=v.cJS({providers:[..._n,...st],imports:[f.ez,v.hGG]}),te})(),re=(()=>{class te{constructor(j){this._doc=j}getTitle(){return this._doc.title}setTitle(j){this._doc.title=j||""}}return te.\u0275fac=function(j){return new(j||te)(v.LFG(f.K0))},te.\u0275prov=v.Yz7({token:te,factory:function(j){let we=null;return we=j?new j:function ke(){return new re((0,v.LFG)(f.K0))}(),we},providedIn:"root"}),te})();typeof window<"u"&&window;let an=(()=>{class te{}return te.\u0275fac=function(j){return new(j||te)},te.\u0275prov=v.Yz7({token:te,factory:function(j){let we=null;return we=j?new(j||te):v.LFG(wn),we},providedIn:"root"}),te})(),wn=(()=>{class te extends an{constructor(j){super(),this._doc=j}sanitize(j,we){if(null==we)return null;switch(j){case v.q3G.NONE:return we;case v.q3G.HTML:return(0,v.qzn)(we,"HTML")?(0,v.z3N)(we):(0,v.EiD)(this._doc,String(we)).toString();case v.q3G.STYLE:return(0,v.qzn)(we,"Style")?(0,v.z3N)(we):we;case v.q3G.SCRIPT:if((0,v.qzn)(we,"Script"))return(0,v.z3N)(we);throw new Error("unsafe value used in a script context");case v.q3G.URL:return(0,v.qzn)(we,"URL")?(0,v.z3N)(we):(0,v.mCW)(String(we));case v.q3G.RESOURCE_URL:if((0,v.qzn)(we,"ResourceURL"))return(0,v.z3N)(we);throw new Error("unsafe value used in a resource URL context (see https://g.co/ng/security#xss)");default:throw new Error(`Unexpected SecurityContext ${j} (see https://g.co/ng/security#xss)`)}}bypassSecurityTrustHtml(j){return(0,v.JVY)(j)}bypassSecurityTrustStyle(j){return(0,v.L6k)(j)}bypassSecurityTrustScript(j){return(0,v.eBb)(j)}bypassSecurityTrustUrl(j){return(0,v.LAX)(j)}bypassSecurityTrustResourceUrl(j){return(0,v.pB0)(j)}}return te.\u0275fac=function(j){return new(j||te)(v.LFG(f.K0))},te.\u0275prov=v.Yz7({token:te,factory:function(j){let we=null;return we=j?new j:function En(te){return new wn(te.get(f.K0))}(v.LFG(v.zs3)),we},providedIn:"root"}),te})()},19132:(rt,_e,_)=>{_.d(_e,{gz:()=>Hr,F0:()=>kn,yS:()=>no,Bz:()=>Bn,lC:()=>ri});var f=_(94650),v=_(80188),T=_(39646),R=_(61135),B=_(86805),V=_(39841),se=_(97272),Q=_(49770),Y=_(89635),$=_(62843),z=_(69751),H=_(60515),Se=_(94033),Ie=_(77579),he=_(36895),Ee=_(54004),ye=_(63900),Ue=_(95698),ht=_(68675),ut=_(39300),Oe=_(95577),K=_(50590),ve=_(24351),ce=_(18505),Te=_(70262),Ge=_(54482),xe=_(25403);function it(u,d,l,y,E){return(I,W)=>{let J=l,ze=d,lt=0;I.subscribe((0,xe.x)(W,Zt=>{const Dt=lt++;ze=J?u(ze,Zt,Dt):(J=!0,Zt),y&&W.next(ze)},E&&(()=>{J&&W.next(ze),W.complete()})))}}function De(u,d){return(0,Ge.e)(it(u,d,arguments.length>=2,!0))}function $e(u){return u<=0?()=>H.E:(0,Ge.e)((d,l)=>{let y=[];d.subscribe((0,xe.x)(l,E=>{y.push(E),u<y.length&&y.shift()},()=>{for(const E of y)l.next(E);l.complete()},void 0,()=>{y=null}))})}var Ke=_(18068),Et=_(46590),$t=_(44671);function Tt(u,d){const l=arguments.length>=2;return y=>y.pipe(u?(0,ut.h)((E,I)=>u(E,I,y)):$t.y,$e(1),l?(0,Et.d)(d):(0,Ke.T)(()=>new B.K))}var sn=_(22529),tn=_(69718),Ot=_(28746),Ae=_(38343),Ne=_(8189),fe=_(11481);const ee="primary",pe=Symbol("RouteTitle");class Ce{constructor(d){this.params=d||{}}has(d){return Object.prototype.hasOwnProperty.call(this.params,d)}get(d){if(this.has(d)){const l=this.params[d];return Array.isArray(l)?l[0]:l}return null}getAll(d){if(this.has(d)){const l=this.params[d];return Array.isArray(l)?l:[l]}return[]}get keys(){return Object.keys(this.params)}}function Ze(u){return new Ce(u)}function Ct(u,d,l){const y=l.path.split("/");if(y.length>u.length||"full"===l.pathMatch&&(d.hasChildren()||y.length<u.length))return null;const E={};for(let I=0;I<y.length;I++){const W=y[I],J=u[I];if(W.startsWith(":"))E[W.substring(1)]=J;else if(W!==J.path)return null}return{consumed:u.slice(0,y.length),posParams:E}}function dt(u,d){const l=u?Object.keys(u):void 0,y=d?Object.keys(d):void 0;if(!l||!y||l.length!=y.length)return!1;let E;for(let I=0;I<l.length;I++)if(E=l[I],!At(u[E],d[E]))return!1;return!0}function At(u,d){if(Array.isArray(u)&&Array.isArray(d)){if(u.length!==d.length)return!1;const l=[...u].sort(),y=[...d].sort();return l.every((E,I)=>y[I]===E)}return u===d}function wt(u){return Array.prototype.concat.apply([],u)}function en(u){return u.length>0?u[u.length-1]:null}function kt(u,d){for(const l in u)u.hasOwnProperty(l)&&d(u[l],l)}function Kt(u){return(0,f.CqO)(u)?u:(0,f.QGY)(u)?(0,v.D)(Promise.resolve(u)):(0,T.of)(u)}const Ye={exact:function ke(u,d,l){if(!ue(u.segments,d.segments)||!Me(u.segments,d.segments,l)||u.numberOfChildren!==d.numberOfChildren)return!1;for(const y in d.children)if(!u.children[y]||!ke(u.children[y],d.children[y],l))return!1;return!0},subset:F},O={exact:function be(u,d){return dt(u,d)},subset:function re(u,d){return Object.keys(d).length<=Object.keys(u).length&&Object.keys(d).every(l=>At(u[l],d[l]))},ignored:()=>!0};function G(u,d,l){return Ye[l.paths](u.root,d.root,l.matrixParams)&&O[l.queryParams](u.queryParams,d.queryParams)&&!("exact"===l.fragment&&u.fragment!==d.fragment)}function F(u,d,l){return k(u,d,d.segments,l)}function k(u,d,l,y){if(u.segments.length>l.length){const E=u.segments.slice(0,l.length);return!(!ue(E,l)||d.hasChildren()||!Me(E,l,y))}if(u.segments.length===l.length){if(!ue(u.segments,l)||!Me(u.segments,l,y))return!1;for(const E in d.children)if(!u.children[E]||!F(u.children[E],d.children[E],y))return!1;return!0}{const E=l.slice(0,u.segments.length),I=l.slice(u.segments.length);return!!(ue(u.segments,E)&&Me(u.segments,E,y)&&u.children[ee])&&k(u.children[ee],d,I,y)}}function Me(u,d,l){return d.every((y,E)=>O[l](u[E].parameters,y.parameters))}class Pe{constructor(d,l,y){this.root=d,this.queryParams=l,this.fragment=y}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Ze(this.queryParams)),this._queryParamMap}toString(){return He.serialize(this)}}class je{constructor(d,l){this.segments=d,this.children=l,this.parent=null,kt(l,(y,E)=>y.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return oe(this)}}class ct{constructor(d,l){this.path=d,this.parameters=l}get parameterMap(){return this._parameterMap||(this._parameterMap=Ze(this.parameters)),this._parameterMap}toString(){return ot(this)}}function ue(u,d){return u.length===d.length&&u.every((l,y)=>l.path===d[y].path)}let me=(()=>{class u{}return u.\u0275fac=function(l){return new(l||u)},u.\u0275prov=f.Yz7({token:u,factory:function(){return new We},providedIn:"root"}),u})();class We{parse(d){const l=new Mn(d);return new Pe(l.parseRootSegment(),l.parseQueryParams(),l.parseFragment())}serialize(d){const l=`/${q(d.root,!0)}`,y=function Vt(u){const d=Object.keys(u).map(l=>{const y=u[l];return Array.isArray(y)?y.map(E=>`${L(l)}=${L(E)}`).join("&"):`${L(l)}=${L(y)}`}).filter(l=>!!l);return d.length?`?${d.join("&")}`:""}(d.queryParams);return`${l}${y}${"string"==typeof d.fragment?`#${function X(u){return encodeURI(u)}(d.fragment)}`:""}`}}const He=new We;function oe(u){return u.segments.map(d=>ot(d)).join("/")}function q(u,d){if(!u.hasChildren())return oe(u);if(d){const l=u.children[ee]?q(u.children[ee],!1):"",y=[];return kt(u.children,(E,I)=>{I!==ee&&y.push(`${I}:${q(E,!1)}`)}),y.length>0?`${l}(${y.join("//")})`:l}{const l=function P(u,d){let l=[];return kt(u.children,(y,E)=>{E===ee&&(l=l.concat(d(y,E)))}),kt(u.children,(y,E)=>{E!==ee&&(l=l.concat(d(y,E)))}),l}(u,(y,E)=>E===ee?[q(u.children[ee],!1)]:[`${E}:${q(y,!1)}`]);return 1===Object.keys(u.children).length&&null!=u.children[ee]?`${oe(u)}/${l[0]}`:`${oe(u)}/(${l.join("//")})`}}function Z(u){return encodeURIComponent(u).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function L(u){return Z(u).replace(/%3B/gi,";")}function N(u){return Z(u).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function de(u){return decodeURIComponent(u)}function Fe(u){return de(u.replace(/\+/g,"%20"))}function ot(u){return`${N(u.path)}${function Rt(u){return Object.keys(u).map(d=>`;${N(d)}=${N(u[d])}`).join("")}(u.parameters)}`}const Xn=/^[^\/()?;=#]+/;function jt(u){const d=u.match(Xn);return d?d[0]:""}const on=/^[^=?&#]+/,En=/^[^&#]+/;class Mn{constructor(d){this.url=d,this.remaining=d}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new je([],{}):new je([],this.parseChildren())}parseQueryParams(){const d={};if(this.consumeOptional("?"))do{this.parseQueryParam(d)}while(this.consumeOptional("&"));return d}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const d=[];for(this.peekStartsWith("(")||d.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),d.push(this.parseSegment());let l={};this.peekStartsWith("/(")&&(this.capture("/"),l=this.parseParens(!0));let y={};return this.peekStartsWith("(")&&(y=this.parseParens(!1)),(d.length>0||Object.keys(l).length>0)&&(y[ee]=new je(d,l)),y}parseSegment(){const d=jt(this.remaining);if(""===d&&this.peekStartsWith(";"))throw new f.vHH(4009,!1);return this.capture(d),new ct(de(d),this.parseMatrixParams())}parseMatrixParams(){const d={};for(;this.consumeOptional(";");)this.parseParam(d);return d}parseParam(d){const l=jt(this.remaining);if(!l)return;this.capture(l);let y="";if(this.consumeOptional("=")){const E=jt(this.remaining);E&&(y=E,this.capture(y))}d[de(l)]=de(y)}parseQueryParam(d){const l=function an(u){const d=u.match(on);return d?d[0]:""}(this.remaining);if(!l)return;this.capture(l);let y="";if(this.consumeOptional("=")){const W=function wn(u){const d=u.match(En);return d?d[0]:""}(this.remaining);W&&(y=W,this.capture(y))}const E=Fe(l),I=Fe(y);if(d.hasOwnProperty(E)){let W=d[E];Array.isArray(W)||(W=[W],d[E]=W),W.push(I)}else d[E]=I}parseParens(d){const l={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const y=jt(this.remaining),E=this.remaining[y.length];if("/"!==E&&")"!==E&&";"!==E)throw new f.vHH(4010,!1);let I;y.indexOf(":")>-1?(I=y.slice(0,y.indexOf(":")),this.capture(I),this.capture(":")):d&&(I=ee);const W=this.parseChildren();l[I]=1===Object.keys(W).length?W[ee]:new je([],W),this.consumeOptional("//")}return l}peekStartsWith(d){return this.remaining.startsWith(d)}consumeOptional(d){return!!this.peekStartsWith(d)&&(this.remaining=this.remaining.substring(d.length),!0)}capture(d){if(!this.consumeOptional(d))throw new f.vHH(4011,!1)}}function te(u){return u.segments.length>0?new je([],{[ee]:u}):u}function ne(u){const d={};for(const y of Object.keys(u.children)){const I=ne(u.children[y]);(I.segments.length>0||I.hasChildren())&&(d[y]=I)}return function j(u){if(1===u.numberOfChildren&&u.children[ee]){const d=u.children[ee];return new je(u.segments.concat(d.segments),d.children)}return u}(new je(u.segments,d))}function we(u){return u instanceof Pe}function nn(u,d,l,y,E){if(0===l.length)return Fn(d.root,d.root,d.root,y,E);const I=function hr(u){if("string"==typeof u[0]&&1===u.length&&"/"===u[0])return new Xr(!0,0,u);let d=0,l=!1;const y=u.reduce((E,I,W)=>{if("object"==typeof I&&null!=I){if(I.outlets){const J={};return kt(I.outlets,(ze,lt)=>{J[lt]="string"==typeof ze?ze.split("/"):ze}),[...E,{outlets:J}]}if(I.segmentPath)return[...E,I.segmentPath]}return"string"!=typeof I?[...E,I]:0===W?(I.split("/").forEach((J,ze)=>{0==ze&&"."===J||(0==ze&&""===J?l=!0:".."===J?d++:""!=J&&E.push(J))}),E):[...E,I]},[]);return new Xr(l,d,y)}(l);return I.toRoot()?Fn(d.root,d.root,new je([],{}),y,E):function W(ze){const lt=function Jn(u,d,l,y){if(u.isAbsolute)return new yn(d.root,!0,0);if(-1===y)return new yn(l,l===d.root,0);return function Kn(u,d,l){let y=u,E=d,I=l;for(;I>E;){if(I-=E,y=y.parent,!y)throw new f.vHH(4005,!1);E=y.segments.length}return new yn(y,!1,E-I)}(l,y+(Vn(u.commands[0])?0:1),u.numberOfDoubleDots)}(I,d,u.snapshot?._urlSegment,ze),Zt=lt.processChildren?qt(lt.segmentGroup,lt.index,I.commands):Jr(lt.segmentGroup,lt.index,I.commands);return Fn(d.root,lt.segmentGroup,Zt,y,E)}(u.snapshot?._lastPathIndex)}function Vn(u){return"object"==typeof u&&null!=u&&!u.outlets&&!u.segmentPath}function It(u){return"object"==typeof u&&null!=u&&u.outlets}function Fn(u,d,l,y,E){let W,I={};y&&kt(y,(ze,lt)=>{I[lt]=Array.isArray(ze)?ze.map(Zt=>`${Zt}`):`${ze}`}),W=u===d?l:yr(u,d,l);const J=te(ne(W));return new Pe(J,I,E)}function yr(u,d,l){const y={};return kt(u.children,(E,I)=>{y[I]=E===d?l:yr(E,d,l)}),new je(u.segments,y)}class Xr{constructor(d,l,y){if(this.isAbsolute=d,this.numberOfDoubleDots=l,this.commands=y,d&&y.length>0&&Vn(y[0]))throw new f.vHH(4003,!1);const E=y.find(It);if(E&&E!==en(y))throw new f.vHH(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class yn{constructor(d,l,y){this.segmentGroup=d,this.processChildren=l,this.index=y}}function Jr(u,d,l){if(u||(u=new je([],{})),0===u.segments.length&&u.hasChildren())return qt(u,d,l);const y=function qr(u,d,l){let y=0,E=d;const I={match:!1,pathIndex:0,commandIndex:0};for(;E<u.segments.length;){if(y>=l.length)return I;const W=u.segments[E],J=l[y];if(It(J))break;const ze=`${J}`,lt=y<l.length-1?l[y+1]:null;if(E>0&&void 0===ze)break;if(ze&&lt&&"object"==typeof lt&&void 0===lt.outlets){if(!rr(ze,lt,W))return I;y+=2}else{if(!rr(ze,{},W))return I;y++}E++}return{match:!0,pathIndex:E,commandIndex:y}}(u,d,l),E=l.slice(y.commandIndex);if(y.match&&y.pathIndex<u.segments.length){const I=new je(u.segments.slice(0,y.pathIndex),{});return I.children[ee]=new je(u.segments.slice(y.pathIndex),u.children),qt(I,0,E)}return y.match&&0===E.length?new je(u.segments,{}):y.match&&!u.hasChildren()?Br(u,d,l):y.match?qt(u,0,E):Br(u,d,l)}function qt(u,d,l){if(0===l.length)return new je(u.segments,{});{const y=function kr(u){return It(u[0])?u[0].outlets:{[ee]:u}}(l),E={};return kt(y,(I,W)=>{"string"==typeof I&&(I=[I]),null!==I&&(E[W]=Jr(u.children[W],d,I))}),kt(u.children,(I,W)=>{void 0===y[W]&&(E[W]=I)}),new je(u.segments,E)}}function Br(u,d,l){const y=u.segments.slice(0,d);let E=0;for(;E<l.length;){const I=l[E];if(It(I)){const ze=Tr(I.outlets);return new je(y,ze)}if(0===E&&Vn(l[0])){y.push(new ct(u.segments[d].path,ei(l[0]))),E++;continue}const W=It(I)?I.outlets[ee]:`${I}`,J=E<l.length-1?l[E+1]:null;W&&J&&Vn(J)?(y.push(new ct(W,ei(J))),E+=2):(y.push(new ct(W,{})),E++)}return new je(y,{})}function Tr(u){const d={};return kt(u,(l,y)=>{"string"==typeof l&&(l=[l]),null!==l&&(d[y]=Br(new je([],{}),0,l))}),d}function ei(u){const d={};return kt(u,(l,y)=>d[y]=`${l}`),d}function rr(u,d,l){return u==l.path&&dt(d,l.parameters)}class xn{constructor(d,l){this.id=d,this.url=l}}class tr extends xn{constructor(d,l,y="imperative",E=null){super(d,l),this.type=0,this.navigationTrigger=y,this.restoredState=E}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class ln extends xn{constructor(d,l,y){super(d,l),this.urlAfterRedirects=y,this.type=1}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class Ar extends xn{constructor(d,l,y,E){super(d,l),this.reason=y,this.code=E,this.type=2}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class An extends xn{constructor(d,l,y,E){super(d,l),this.error=y,this.target=E,this.type=3}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class Gn extends xn{constructor(d,l,y,E){super(d,l),this.urlAfterRedirects=y,this.state=E,this.type=4}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Ur extends xn{constructor(d,l,y,E){super(d,l),this.urlAfterRedirects=y,this.state=E,this.type=7}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class nr extends xn{constructor(d,l,y,E,I){super(d,l),this.urlAfterRedirects=y,this.state=E,this.shouldActivate=I,this.type=8}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class Ir extends xn{constructor(d,l,y,E){super(d,l),this.urlAfterRedirects=y,this.state=E,this.type=5}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class qn extends xn{constructor(d,l,y,E){super(d,l),this.urlAfterRedirects=y,this.state=E,this.type=6}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class ti{constructor(d){this.route=d,this.type=9}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class Ks{constructor(d){this.route=d,this.type=10}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class os{constructor(d){this.snapshot=d,this.type=11}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class as{constructor(d){this.snapshot=d,this.type=12}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Ro{constructor(d){this.snapshot=d,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class ir{constructor(d){this.snapshot=d,this.type=14}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Li{constructor(d,l,y){this.routerEvent=d,this.position=l,this.anchor=y,this.type=15}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class _i{constructor(d){this._root=d}get root(){return this._root.value}parent(d){const l=this.pathFromRoot(d);return l.length>1?l[l.length-2]:null}children(d){const l=yi(d,this._root);return l?l.children.map(y=>y.value):[]}firstChild(d){const l=yi(d,this._root);return l&&l.children.length>0?l.children[0].value:null}siblings(d){const l=Vr(d,this._root);return l.length<2?[]:l[l.length-2].children.map(E=>E.value).filter(E=>E!==d)}pathFromRoot(d){return Vr(d,this._root).map(l=>l.value)}}function yi(u,d){if(u===d.value)return d;for(const l of d.children){const y=yi(u,l);if(y)return y}return null}function Vr(u,d){if(u===d.value)return[d];for(const l of d.children){const y=Vr(u,l);if(y.length)return y.unshift(d),y}return[]}class vr{constructor(d,l){this.value=d,this.children=l}toString(){return`TreeNode(${this.value})`}}function jr(u){const d={};return u&&u.children.forEach(l=>d[l.value.outlet]=l),d}class Ss extends _i{constructor(d,l){super(d),this.snapshot=l,Ni(this,d)}toString(){return this.snapshot.toString()}}function Ys(u,d){const l=function ls(u,d){const W=new Or([],{},{},"",{},ee,d,null,u.root,-1,{});return new Fi("",new vr(W,[]))}(u,d),y=new R.X([new ct("",{})]),E=new R.X({}),I=new R.X({}),W=new R.X({}),J=new R.X(""),ze=new Hr(y,E,W,J,I,ee,d,l.root);return ze.snapshot=l.root,new Ss(new vr(ze,[]),l)}class Hr{constructor(d,l,y,E,I,W,J,ze){this.url=d,this.params=l,this.queryParams=y,this.fragment=E,this.data=I,this.outlet=W,this.component=J,this.title=this.data?.pipe((0,Ee.U)(lt=>lt[pe]))??(0,T.of)(void 0),this._futureSnapshot=ze}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,Ee.U)(d=>Ze(d)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe((0,Ee.U)(d=>Ze(d)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function Ts(u,d="emptyOnly"){const l=u.pathFromRoot;let y=0;if("always"!==d)for(y=l.length-1;y>=1;){const E=l[y],I=l[y-1];if(E.routeConfig&&""===E.routeConfig.path)y--;else{if(I.component)break;y--}}return function cs(u){return u.reduce((d,l)=>({params:{...d.params,...l.params},data:{...d.data,...l.data},resolve:{...l.data,...d.resolve,...l.routeConfig?.data,...l._resolvedData}}),{params:{},data:{},resolve:{}})}(l.slice(y))}class Or{constructor(d,l,y,E,I,W,J,ze,lt,Zt,Dt,gn){this.url=d,this.params=l,this.queryParams=y,this.fragment=E,this.data=I,this.outlet=W,this.component=J,this.title=this.data?.[pe],this.routeConfig=ze,this._urlSegment=lt,this._lastPathIndex=Zt,this._correctedLastPathIndex=gn??Zt,this._resolve=Dt}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=Ze(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Ze(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(y=>y.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class Fi extends _i{constructor(d,l){super(l),this.url=d,Ni(this,l)}toString(){return Zs(this._root)}}function Ni(u,d){d.value._routerState=u,d.children.forEach(l=>Ni(u,l))}function Zs(u){const d=u.children.length>0?` { ${u.children.map(Zs).join(", ")} } `:"";return`${u.value}${d}`}function sr(u){if(u.snapshot){const d=u.snapshot,l=u._futureSnapshot;u.snapshot=l,dt(d.queryParams,l.queryParams)||u.queryParams.next(l.queryParams),d.fragment!==l.fragment&&u.fragment.next(l.fragment),dt(d.params,l.params)||u.params.next(l.params),function Pt(u,d){if(u.length!==d.length)return!1;for(let l=0;l<u.length;++l)if(!dt(u[l],d[l]))return!1;return!0}(d.url,l.url)||u.url.next(l.url),dt(d.data,l.data)||u.data.next(l.data)}else u.snapshot=u._futureSnapshot,u.data.next(u._futureSnapshot.data)}function vi(u,d){const l=dt(u.params,d.params)&&function Ve(u,d){return ue(u,d)&&u.every((l,y)=>dt(l.parameters,d[y].parameters))}(u.url,d.url);return l&&!(!u.parent!=!d.parent)&&(!u.parent||vi(u.parent,d.parent))}function $r(u,d,l){if(l&&u.shouldReuseRoute(d.value,l.value.snapshot)){const y=l.value;y._futureSnapshot=d.value;const E=function Bi(u,d,l){return d.children.map(y=>{for(const E of l.children)if(u.shouldReuseRoute(y.value,E.value.snapshot))return $r(u,y,E);return $r(u,y)})}(u,d,l);return new vr(y,E)}{if(u.shouldAttach(d.value)){const I=u.retrieve(d.value);if(null!==I){const W=I.route;return W.value._futureSnapshot=d.value,W.children=d.children.map(J=>$r(u,J)),W}}const y=function Ui(u){return new Hr(new R.X(u.url),new R.X(u.params),new R.X(u.queryParams),new R.X(u.fragment),new R.X(u.data),u.outlet,u.component,u)}(d.value),E=d.children.map(I=>$r(u,I));return new vr(y,E)}}const ni="ngNavigationCancelingError";function us(u,d){const{redirectTo:l,navigationBehaviorOptions:y}=we(d)?{redirectTo:d,navigationBehaviorOptions:void 0}:d,E=ds(!1,0,d);return E.url=l,E.navigationBehaviorOptions=y,E}function ds(u,d,l){const y=new Error("NavigationCancelingError: "+(u||""));return y[ni]=!0,y.cancellationCode=d,l&&(y.url=l),y}function zr(u){return hs(u)&&we(u.url)}function hs(u){return u&&u[ni]}class jn{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.injector=null,this.children=new Pr,this.attachRef=null}}let Pr=(()=>{class u{constructor(){this.contexts=new Map}onChildOutletCreated(l,y){const E=this.getOrCreateContext(l);E.outlet=y,this.contexts.set(l,E)}onChildOutletDestroyed(l){const y=this.getContext(l);y&&(y.outlet=null,y.attachRef=null)}onOutletDeactivated(){const l=this.contexts;return this.contexts=new Map,l}onOutletReAttached(l){this.contexts=l}getOrCreateContext(l){let y=this.getContext(l);return y||(y=new jn,this.contexts.set(l,y)),y}getContext(l){return this.contexts.get(l)||null}}return u.\u0275fac=function(l){return new(l||u)},u.\u0275prov=f.Yz7({token:u,factory:u.\u0275fac,providedIn:"root"}),u})();const Di=!1;let ri=(()=>{class u{constructor(l,y,E,I,W){this.parentContexts=l,this.location=y,this.changeDetector=I,this.environmentInjector=W,this.activated=null,this._activatedRoute=null,this.activateEvents=new f.vpe,this.deactivateEvents=new f.vpe,this.attachEvents=new f.vpe,this.detachEvents=new f.vpe,this.name=E||ee,l.onChildOutletCreated(this.name,this)}ngOnDestroy(){this.parentContexts.getContext(this.name)?.outlet===this&&this.parentContexts.onChildOutletDestroyed(this.name)}ngOnInit(){if(!this.activated){const l=this.parentContexts.getContext(this.name);l&&l.route&&(l.attachRef?this.attach(l.attachRef,l.route):this.activateWith(l.route,l.injector))}}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new f.vHH(4012,Di);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new f.vHH(4012,Di);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new f.vHH(4012,Di);this.location.detach();const l=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(l.instance),l}attach(l,y){this.activated=l,this._activatedRoute=y,this.location.insert(l.hostView),this.attachEvents.emit(l.instance)}deactivate(){if(this.activated){const l=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(l)}}activateWith(l,y){if(this.isActivated)throw new f.vHH(4013,Di);this._activatedRoute=l;const E=this.location,W=l._futureSnapshot.component,J=this.parentContexts.getOrCreateContext(this.name).children,ze=new Qs(l,J,E.injector);if(y&&function Xs(u){return!!u.resolveComponentFactory}(y)){const lt=y.resolveComponentFactory(W);this.activated=E.createComponent(lt,E.length,ze)}else this.activated=E.createComponent(W,{index:E.length,injector:ze,environmentInjector:y??this.environmentInjector});this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return u.\u0275fac=function(l){return new(l||u)(f.Y36(Pr),f.Y36(f.s_b),f.$8M("name"),f.Y36(f.sBO),f.Y36(f.lqb))},u.\u0275dir=f.lG2({type:u,selectors:[["router-outlet"]],outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0}),u})();class Qs{constructor(d,l,y){this.route=d,this.childContexts=l,this.parent=y}get(d,l){return d===Hr?this.route:d===Pr?this.childContexts:this.parent.get(d,l)}}let bn=(()=>{class u{}return u.\u0275fac=function(l){return new(l||u)},u.\u0275cmp=f.Xpm({type:u,selectors:[["ng-component"]],standalone:!0,features:[f.jDz],decls:1,vars:0,template:function(l,y){1&l&&f._UZ(0,"router-outlet")},dependencies:[ri],encapsulation:2}),u})();function Yn(u,d){return u.providers&&!u._injector&&(u._injector=(0,f.MMx)(u.providers,d,`Route: ${u.path}`)),u._injector??d}function fr(u){const d=u.children&&u.children.map(fr),l=d?{...u,children:d}:{...u};return!l.component&&!l.loadComponent&&(d||l.loadChildren)&&l.outlet&&l.outlet!==ee&&(l.component=bn),l}function er(u){return u.outlet||ee}function or(u,d){const l=u.filter(y=>er(y)===d);return l.push(...u.filter(y=>er(y)!==d)),l}function ar(u){if(!u)return null;if(u.routeConfig?._injector)return u.routeConfig._injector;for(let d=u.parent;d;d=d.parent){const l=d.routeConfig;if(l?._loadedInjector)return l._loadedInjector;if(l?._injector)return l._injector}return null}class bt{constructor(d,l,y,E){this.routeReuseStrategy=d,this.futureState=l,this.currState=y,this.forwardEvent=E}activate(d){const l=this.futureState._root,y=this.currState?this.currState._root:null;this.deactivateChildRoutes(l,y,d),sr(this.futureState.root),this.activateChildRoutes(l,y,d)}deactivateChildRoutes(d,l,y){const E=jr(l);d.children.forEach(I=>{const W=I.value.outlet;this.deactivateRoutes(I,E[W],y),delete E[W]}),kt(E,(I,W)=>{this.deactivateRouteAndItsChildren(I,y)})}deactivateRoutes(d,l,y){const E=d.value,I=l?l.value:null;if(E===I)if(E.component){const W=y.getContext(E.outlet);W&&this.deactivateChildRoutes(d,l,W.children)}else this.deactivateChildRoutes(d,l,y);else I&&this.deactivateRouteAndItsChildren(l,y)}deactivateRouteAndItsChildren(d,l){d.value.component&&this.routeReuseStrategy.shouldDetach(d.value.snapshot)?this.detachAndStoreRouteSubtree(d,l):this.deactivateRouteAndOutlet(d,l)}detachAndStoreRouteSubtree(d,l){const y=l.getContext(d.value.outlet),E=y&&d.value.component?y.children:l,I=jr(d);for(const W of Object.keys(I))this.deactivateRouteAndItsChildren(I[W],E);if(y&&y.outlet){const W=y.outlet.detach(),J=y.children.onOutletDeactivated();this.routeReuseStrategy.store(d.value.snapshot,{componentRef:W,route:d,contexts:J})}}deactivateRouteAndOutlet(d,l){const y=l.getContext(d.value.outlet),E=y&&d.value.component?y.children:l,I=jr(d);for(const W of Object.keys(I))this.deactivateRouteAndItsChildren(I[W],E);y&&y.outlet&&(y.outlet.deactivate(),y.children.onOutletDeactivated(),y.attachRef=null,y.resolver=null,y.route=null)}activateChildRoutes(d,l,y){const E=jr(l);d.children.forEach(I=>{this.activateRoutes(I,E[I.value.outlet],y),this.forwardEvent(new ir(I.value.snapshot))}),d.children.length&&this.forwardEvent(new as(d.value.snapshot))}activateRoutes(d,l,y){const E=d.value,I=l?l.value:null;if(sr(E),E===I)if(E.component){const W=y.getOrCreateContext(E.outlet);this.activateChildRoutes(d,l,W.children)}else this.activateChildRoutes(d,l,y);else if(E.component){const W=y.getOrCreateContext(E.outlet);if(this.routeReuseStrategy.shouldAttach(E.snapshot)){const J=this.routeReuseStrategy.retrieve(E.snapshot);this.routeReuseStrategy.store(E.snapshot,null),W.children.onOutletReAttached(J.contexts),W.attachRef=J.componentRef,W.route=J.route.value,W.outlet&&W.outlet.attach(J.componentRef,J.route.value),sr(J.route.value),this.activateChildRoutes(d,null,W.children)}else{const J=ar(E.snapshot),ze=J?.get(f._Vd)??null;W.attachRef=null,W.route=E,W.resolver=ze,W.injector=J,W.outlet&&W.outlet.activateWith(E,W.injector),this.activateChildRoutes(d,null,W.children)}}else this.activateChildRoutes(d,null,y)}}class Er{constructor(d){this.path=d,this.route=this.path[this.path.length-1]}}class Vi{constructor(d,l){this.component=d,this.route=l}}function qs(u,d,l){const y=u._root;return xr(y,d?d._root:null,l,[y.value])}function Wr(u,d){const l=Symbol(),y=d.get(u,l);return y===l?"function"!=typeof u||(0,f.Z0I)(u)?d.get(u):u:y}function xr(u,d,l,y,E={canDeactivateChecks:[],canActivateChecks:[]}){const I=jr(d);return u.children.forEach(W=>{(function Ci(u,d,l,y,E={canDeactivateChecks:[],canActivateChecks:[]}){const I=u.value,W=d?d.value:null,J=l?l.getContext(u.value.outlet):null;if(W&&I.routeConfig===W.routeConfig){const ze=function eo(u,d,l){if("function"==typeof l)return l(u,d);switch(l){case"pathParamsChange":return!ue(u.url,d.url);case"pathParamsOrQueryParamsChange":return!ue(u.url,d.url)||!dt(u.queryParams,d.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!vi(u,d)||!dt(u.queryParams,d.queryParams);default:return!vi(u,d)}}(W,I,I.routeConfig.runGuardsAndResolvers);ze?E.canActivateChecks.push(new Er(y)):(I.data=W.data,I._resolvedData=W._resolvedData),xr(u,d,I.component?J?J.children:null:l,y,E),ze&&J&&J.outlet&&J.outlet.isActivated&&E.canDeactivateChecks.push(new Vi(J.outlet.component,W))}else W&&et(d,J,E),E.canActivateChecks.push(new Er(y)),xr(u,null,I.component?J?J.children:null:l,y,E)})(W,I[W.value.outlet],l,y.concat([W.value]),E),delete I[W.value.outlet]}),kt(I,(W,J)=>et(W,l.getContext(J),E)),E}function et(u,d,l){const y=jr(u),E=u.value;kt(y,(I,W)=>{et(I,E.component?d?d.children.getContext(W):null:d,l)}),l.canDeactivateChecks.push(new Vi(E.component&&d&&d.outlet&&d.outlet.isActivated?d.outlet.component:null,E))}function Wt(u){return"function"==typeof u}function oi(u){return u instanceof B.K||"EmptyError"===u?.name}const fn=Symbol("INITIAL_VALUE");function bi(){return(0,ye.w)(u=>(0,V.a)(u.map(d=>d.pipe((0,Ue.q)(1),(0,ht.O)(fn)))).pipe((0,Ee.U)(d=>{for(const l of d)if(!0!==l){if(l===fn)return fn;if(!1===l||l instanceof Pe)return l}return!0}),(0,ut.h)(d=>d!==fn),(0,Ue.q)(1)))}function wi(u){return(0,Y.z)((0,ce.b)(d=>{if(we(d))throw us(0,d)}),(0,Ee.U)(d=>!0===d))}const Mi={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function Si(u,d,l,y,E){const I=br(u,d,l);return I.matched?function $i(u,d,l,y){const E=d.canMatch;if(!E||0===E.length)return(0,T.of)(!0);const I=E.map(W=>{const J=Wr(W,u);return Kt(function lr(u){return u&&Wt(u.canMatch)}(J)?J.canMatch(d,l):u.runInContext(()=>J(d,l)))});return(0,T.of)(I).pipe(bi(),wi())}(y=Yn(d,y),d,l).pipe((0,Ee.U)(W=>!0===W?I:{...Mi})):(0,T.of)(I)}function br(u,d,l){if(""===d.path)return"full"===d.pathMatch&&(u.hasChildren()||l.length>0)?{...Mi}:{matched:!0,consumedSegments:[],remainingSegments:l,parameters:{},positionalParamSegments:{}};const E=(d.matcher||Ct)(l,u,d);if(!E)return{...Mi};const I={};kt(E.posParams,(J,ze)=>{I[ze]=J.path});const W=E.consumed.length>0?{...I,...E.consumed[E.consumed.length-1].parameters}:I;return{matched:!0,consumedSegments:E.consumed,remainingSegments:l.slice(E.consumed.length),parameters:W,positionalParamSegments:E.posParams??{}}}function li(u,d,l,y,E="corrected"){if(l.length>0&&function zi(u,d,l){return l.some(y=>Ti(u,d,y)&&er(y)!==ee)}(u,l,y)){const W=new je(d,function ci(u,d,l,y){const E={};E[ee]=y,y._sourceSegment=u,y._segmentIndexShift=d.length;for(const I of l)if(""===I.path&&er(I)!==ee){const W=new je([],{});W._sourceSegment=u,W._segmentIndexShift=d.length,E[er(I)]=W}return E}(u,d,y,new je(l,u.children)));return W._sourceSegment=u,W._segmentIndexShift=d.length,{segmentGroup:W,slicedSegments:[]}}if(0===l.length&&function Ps(u,d,l){return l.some(y=>Ti(u,d,y))}(u,l,y)){const W=new je(u.segments,function Os(u,d,l,y,E,I){const W={};for(const J of y)if(Ti(u,l,J)&&!E[er(J)]){const ze=new je([],{});ze._sourceSegment=u,ze._segmentIndexShift="legacy"===I?u.segments.length:d.length,W[er(J)]=ze}return{...E,...W}}(u,d,l,y,u.children,E));return W._sourceSegment=u,W._segmentIndexShift=d.length,{segmentGroup:W,slicedSegments:l}}const I=new je(u.segments,u.children);return I._sourceSegment=u,I._segmentIndexShift=d.length,{segmentGroup:I,slicedSegments:l}}function Ti(u,d,l){return(!(u.hasChildren()||d.length>0)||"full"!==l.pathMatch)&&""===l.path}function Wi(u,d,l,y){return!!(er(u)===y||y!==ee&&Ti(d,l,u))&&("**"===u.path||br(d,u,l).matched)}function Gr(u,d,l){return 0===d.length&&!u.children[l]}const Ki=!1;class Gi{constructor(d){this.segmentGroup=d||null}}class zn{constructor(d){this.urlTree=d}}function w(u){return(0,$._)(new Gi(u))}function a(u){return(0,$._)(new zn(u))}class x{constructor(d,l,y,E,I){this.injector=d,this.configLoader=l,this.urlSerializer=y,this.urlTree=E,this.config=I,this.allowRedirects=!0}apply(){const d=li(this.urlTree.root,[],[],this.config).segmentGroup,l=new je(d.segments,d.children);return this.expandSegmentGroup(this.injector,this.config,l,ee).pipe((0,Ee.U)(I=>this.createUrlTree(ne(I),this.urlTree.queryParams,this.urlTree.fragment))).pipe((0,Te.K)(I=>{if(I instanceof zn)return this.allowRedirects=!1,this.match(I.urlTree);throw I instanceof Gi?this.noMatchError(I):I}))}match(d){return this.expandSegmentGroup(this.injector,this.config,d.root,ee).pipe((0,Ee.U)(E=>this.createUrlTree(ne(E),d.queryParams,d.fragment))).pipe((0,Te.K)(E=>{throw E instanceof Gi?this.noMatchError(E):E}))}noMatchError(d){return new f.vHH(4002,Ki)}createUrlTree(d,l,y){const E=te(d);return new Pe(E,l,y)}expandSegmentGroup(d,l,y,E){return 0===y.segments.length&&y.hasChildren()?this.expandChildren(d,l,y).pipe((0,Ee.U)(I=>new je([],I))):this.expandSegment(d,y,l,y.segments,E,!0)}expandChildren(d,l,y){const E=[];for(const I of Object.keys(y.children))"primary"===I?E.unshift(I):E.push(I);return(0,v.D)(E).pipe((0,ve.b)(I=>{const W=y.children[I],J=or(l,I);return this.expandSegmentGroup(d,J,W,I).pipe((0,Ee.U)(ze=>({segment:ze,outlet:I})))}),De((I,W)=>(I[W.outlet]=W.segment,I),{}),Tt())}expandSegment(d,l,y,E,I,W){return(0,v.D)(y).pipe((0,ve.b)(J=>this.expandSegmentAgainstRoute(d,l,y,J,E,I,W).pipe((0,Te.K)(lt=>{if(lt instanceof Gi)return(0,T.of)(null);throw lt}))),(0,K.P)(J=>!!J),(0,Te.K)((J,ze)=>{if(oi(J))return Gr(l,E,I)?(0,T.of)(new je([],{})):w(l);throw J}))}expandSegmentAgainstRoute(d,l,y,E,I,W,J){return Wi(E,l,I,W)?void 0===E.redirectTo?this.matchSegmentAgainstRoute(d,l,E,I,W):J&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(d,l,y,E,I,W):w(l):w(l)}expandSegmentAgainstRouteUsingRedirect(d,l,y,E,I,W){return"**"===E.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(d,y,E,W):this.expandRegularSegmentAgainstRouteUsingRedirect(d,l,y,E,I,W)}expandWildCardWithParamsAgainstRouteUsingRedirect(d,l,y,E){const I=this.applyRedirectCommands([],y.redirectTo,{});return y.redirectTo.startsWith("/")?a(I):this.lineralizeSegments(y,I).pipe((0,Oe.z)(W=>{const J=new je(W,{});return this.expandSegment(d,J,l,W,E,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(d,l,y,E,I,W){const{matched:J,consumedSegments:ze,remainingSegments:lt,positionalParamSegments:Zt}=br(l,E,I);if(!J)return w(l);const Dt=this.applyRedirectCommands(ze,E.redirectTo,Zt);return E.redirectTo.startsWith("/")?a(Dt):this.lineralizeSegments(E,Dt).pipe((0,Oe.z)(gn=>this.expandSegment(d,l,y,gn.concat(lt),W,!1)))}matchSegmentAgainstRoute(d,l,y,E,I){return"**"===y.path?(d=Yn(y,d),y.loadChildren?(y._loadedRoutes?(0,T.of)({routes:y._loadedRoutes,injector:y._loadedInjector}):this.configLoader.loadChildren(d,y)).pipe((0,Ee.U)(J=>(y._loadedRoutes=J.routes,y._loadedInjector=J.injector,new je(E,{})))):(0,T.of)(new je(E,{}))):Si(l,y,E,d).pipe((0,ye.w)(({matched:W,consumedSegments:J,remainingSegments:ze})=>W?this.getChildConfig(d=y._injector??d,y,E).pipe((0,Oe.z)(Zt=>{const Dt=Zt.injector??d,gn=Zt.routes,{segmentGroup:cr,slicedSegments:ui}=li(l,J,ze,gn),Ji=new je(cr.segments,cr.children);if(0===ui.length&&Ji.hasChildren())return this.expandChildren(Dt,gn,Ji).pipe((0,Ee.U)(io=>new je(J,io)));if(0===gn.length&&0===ui.length)return(0,T.of)(new je(J,{}));const Fr=er(y)===I;return this.expandSegment(Dt,Ji,gn,ui,Fr?ee:I,!0).pipe((0,Ee.U)(qi=>new je(J.concat(qi.segments),qi.children)))})):w(l)))}getChildConfig(d,l,y){return l.children?(0,T.of)({routes:l.children,injector:d}):l.loadChildren?void 0!==l._loadedRoutes?(0,T.of)({routes:l._loadedRoutes,injector:l._loadedInjector}):function ys(u,d,l,y){const E=d.canLoad;if(void 0===E||0===E.length)return(0,T.of)(!0);const I=E.map(W=>{const J=Wr(W,u);return Kt(function ji(u){return u&&Wt(u.canLoad)}(J)?J.canLoad(d,l):u.runInContext(()=>J(d,l)))});return(0,T.of)(I).pipe(bi(),wi())}(d,l,y).pipe((0,Oe.z)(E=>E?this.configLoader.loadChildren(d,l).pipe((0,ce.b)(I=>{l._loadedRoutes=I.routes,l._loadedInjector=I.injector})):function D(u){return(0,$._)(ds(Ki,3))}())):(0,T.of)({routes:[],injector:d})}lineralizeSegments(d,l){let y=[],E=l.root;for(;;){if(y=y.concat(E.segments),0===E.numberOfChildren)return(0,T.of)(y);if(E.numberOfChildren>1||!E.children[ee])return(0,$._)(new f.vHH(4e3,Ki));E=E.children[ee]}}applyRedirectCommands(d,l,y){return this.applyRedirectCreateUrlTree(l,this.urlSerializer.parse(l),d,y)}applyRedirectCreateUrlTree(d,l,y,E){const I=this.createSegmentGroup(d,l.root,y,E);return new Pe(I,this.createQueryParams(l.queryParams,this.urlTree.queryParams),l.fragment)}createQueryParams(d,l){const y={};return kt(d,(E,I)=>{if("string"==typeof E&&E.startsWith(":")){const J=E.substring(1);y[I]=l[J]}else y[I]=E}),y}createSegmentGroup(d,l,y,E){const I=this.createSegments(d,l.segments,y,E);let W={};return kt(l.children,(J,ze)=>{W[ze]=this.createSegmentGroup(d,J,y,E)}),new je(I,W)}createSegments(d,l,y,E){return l.map(I=>I.path.startsWith(":")?this.findPosParam(d,I,E):this.findOrReturn(I,y))}findPosParam(d,l,y){const E=y[l.path.substring(1)];if(!E)throw new f.vHH(4001,Ki);return E}findOrReturn(d,l){let y=0;for(const E of l){if(E.path===d.path)return l.splice(y),E;y++}return d}}class Le{}class _t{constructor(d,l,y,E,I,W,J,ze){this.injector=d,this.rootComponentType=l,this.config=y,this.urlTree=E,this.url=I,this.paramsInheritanceStrategy=W,this.relativeLinkResolution=J,this.urlSerializer=ze}recognize(){const d=li(this.urlTree.root,[],[],this.config.filter(l=>void 0===l.redirectTo),this.relativeLinkResolution).segmentGroup;return this.processSegmentGroup(this.injector,this.config,d,ee).pipe((0,Ee.U)(l=>{if(null===l)return null;const y=new Or([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},ee,this.rootComponentType,null,this.urlTree.root,-1,{}),E=new vr(y,l),I=new Fi(this.url,E);return this.inheritParamsAndData(I._root),I}))}inheritParamsAndData(d){const l=d.value,y=Ts(l,this.paramsInheritanceStrategy);l.params=Object.freeze(y.params),l.data=Object.freeze(y.data),d.children.forEach(E=>this.inheritParamsAndData(E))}processSegmentGroup(d,l,y,E){return 0===y.segments.length&&y.hasChildren()?this.processChildren(d,l,y):this.processSegment(d,l,y,y.segments,E)}processChildren(d,l,y){return(0,v.D)(Object.keys(y.children)).pipe((0,ve.b)(E=>{const I=y.children[E],W=or(l,E);return this.processSegmentGroup(d,W,I,E)}),De((E,I)=>E&&I?(E.push(...I),E):null),(0,sn.o)(E=>null!==E),(0,Et.d)(null),Tt(),(0,Ee.U)(E=>{if(null===E)return null;const I=xt(E);return function Xt(u){u.sort((d,l)=>d.value.outlet===ee?-1:l.value.outlet===ee?1:d.value.outlet.localeCompare(l.value.outlet))}(I),I}))}processSegment(d,l,y,E,I){return(0,v.D)(l).pipe((0,ve.b)(W=>this.processSegmentAgainstRoute(W._injector??d,W,y,E,I)),(0,K.P)(W=>!!W),(0,Te.K)(W=>{if(oi(W))return Gr(y,E,I)?(0,T.of)([]):(0,T.of)(null);throw W}))}processSegmentAgainstRoute(d,l,y,E,I){if(l.redirectTo||!Wi(l,y,E,I))return(0,T.of)(null);let W;if("**"===l.path){const J=E.length>0?en(E).parameters:{},ze=Cn(y)+E.length,lt=new Or(E,J,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Rn(l),er(l),l.component??l._loadedComponent??null,l,dn(y),ze,p(l),ze);W=(0,T.of)({snapshot:lt,consumedSegments:[],remainingSegments:[]})}else W=Si(y,l,E,d).pipe((0,Ee.U)(({matched:J,consumedSegments:ze,remainingSegments:lt,parameters:Zt})=>{if(!J)return null;const Dt=Cn(y)+ze.length;return{snapshot:new Or(ze,Zt,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Rn(l),er(l),l.component??l._loadedComponent??null,l,dn(y),Dt,p(l),Dt),consumedSegments:ze,remainingSegments:lt}}));return W.pipe((0,ye.w)(J=>{if(null===J)return(0,T.of)(null);const{snapshot:ze,consumedSegments:lt,remainingSegments:Zt}=J;d=l._injector??d;const Dt=l._loadedInjector??d,gn=function Gt(u){return u.children?u.children:u.loadChildren?u._loadedRoutes:[]}(l),{segmentGroup:cr,slicedSegments:ui}=li(y,lt,Zt,gn.filter(Fr=>void 0===Fr.redirectTo),this.relativeLinkResolution);if(0===ui.length&&cr.hasChildren())return this.processChildren(Dt,gn,cr).pipe((0,Ee.U)(Fr=>null===Fr?null:[new vr(ze,Fr)]));if(0===gn.length&&0===ui.length)return(0,T.of)([new vr(ze,[])]);const Ji=er(l)===I;return this.processSegment(Dt,gn,cr,ui,Ji?ee:I).pipe((0,Ee.U)(Fr=>null===Fr?null:[new vr(ze,Fr)]))}))}}function St(u){const d=u.value.routeConfig;return d&&""===d.path&&void 0===d.redirectTo}function xt(u){const d=[],l=new Set;for(const y of u){if(!St(y)){d.push(y);continue}const E=d.find(I=>y.value.routeConfig===I.value.routeConfig);void 0!==E?(E.children.push(...y.children),l.add(E)):d.push(y)}for(const y of l){const E=xt(y.children);d.push(new vr(y.value,E))}return d.filter(y=>!l.has(y))}function dn(u){let d=u;for(;d._sourceSegment;)d=d._sourceSegment;return d}function Cn(u){let d=u,l=d._segmentIndexShift??0;for(;d._sourceSegment;)d=d._sourceSegment,l+=d._segmentIndexShift??0;return l-1}function Rn(u){return u.data||{}}function p(u){return u.resolve||{}}function yt(u){return"string"==typeof u.title||null===u.title}function Yt(u){return(0,ye.w)(d=>{const l=u(d);return l?(0,v.D)(l).pipe((0,Ee.U)(()=>d)):(0,T.of)(d)})}let Jt=(()=>{class u{buildTitle(l){let y,E=l.root;for(;void 0!==E;)y=this.getResolvedTitleForRoute(E)??y,E=E.children.find(I=>I.outlet===ee);return y}getResolvedTitleForRoute(l){return l.data[pe]}}return u.\u0275fac=function(l){return new(l||u)},u.\u0275prov=f.Yz7({token:u,factory:function(){return(0,f.f3M)(rn)},providedIn:"root"}),u})(),rn=(()=>{class u extends Jt{constructor(l){super(),this.title=l}updateTitle(l){const y=this.buildTitle(l);void 0!==y&&this.title.setTitle(y)}}return u.\u0275fac=function(l){return new(l||u)(f.LFG(fe.Dx))},u.\u0275prov=f.Yz7({token:u,factory:u.\u0275fac,providedIn:"root"}),u})();class mt{}class Lt extends class ft{shouldDetach(d){return!1}store(d,l){}shouldAttach(d){return!1}retrieve(d){return null}shouldReuseRoute(d,l){return d.routeConfig===l.routeConfig}}{}const vn=new f.OlP("",{providedIn:"root",factory:()=>({})}),hn=new f.OlP("ROUTES");let un=(()=>{class u{constructor(l,y){this.injector=l,this.compiler=y,this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap}loadComponent(l){if(this.componentLoaders.get(l))return this.componentLoaders.get(l);if(l._loadedComponent)return(0,T.of)(l._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(l);const y=Kt(l.loadComponent()).pipe((0,ce.b)(I=>{this.onLoadEndListener&&this.onLoadEndListener(l),l._loadedComponent=I}),(0,Ot.x)(()=>{this.componentLoaders.delete(l)})),E=new Se.c(y,()=>new Ie.x).pipe((0,Ae.x)());return this.componentLoaders.set(l,E),E}loadChildren(l,y){if(this.childrenLoaders.get(y))return this.childrenLoaders.get(y);if(y._loadedRoutes)return(0,T.of)({routes:y._loadedRoutes,injector:y._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(y);const I=this.loadModuleFactoryOrRoutes(y.loadChildren).pipe((0,Ee.U)(J=>{this.onLoadEndListener&&this.onLoadEndListener(y);let ze,lt,Zt=!1;Array.isArray(J)?lt=J:(ze=J.create(l).injector,lt=wt(ze.get(hn,[],f.XFs.Self|f.XFs.Optional)));return{routes:lt.map(fr),injector:ze}}),(0,Ot.x)(()=>{this.childrenLoaders.delete(y)})),W=new Se.c(I,()=>new Ie.x).pipe((0,Ae.x)());return this.childrenLoaders.set(y,W),W}loadModuleFactoryOrRoutes(l){return Kt(l()).pipe((0,Oe.z)(y=>y instanceof f.YKP||Array.isArray(y)?(0,T.of)(y):(0,v.D)(this.compiler.compileModuleAsync(y))))}}return u.\u0275fac=function(l){return new(l||u)(f.LFG(f.zs3),f.LFG(f.Sil))},u.\u0275prov=f.Yz7({token:u,factory:u.\u0275fac,providedIn:"root"}),u})();class wr{}class Ai{shouldProcessUrl(d){return!0}extract(d){return d}merge(d,l){return d}}function Mr(u){throw u}function Zn(u,d,l){return d.parse("/")}const vs={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Ds={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};function Lo(){const u=(0,f.f3M)(me),d=(0,f.f3M)(Pr),l=(0,f.f3M)(he.Ye),y=(0,f.f3M)(f.zs3),E=(0,f.f3M)(f.Sil),I=(0,f.f3M)(hn,{optional:!0})??[],W=(0,f.f3M)(vn,{optional:!0})??{},J=(0,f.f3M)(rn),ze=(0,f.f3M)(Jt,{optional:!0}),lt=(0,f.f3M)(wr,{optional:!0}),Zt=(0,f.f3M)(mt,{optional:!0}),Dt=new kn(null,u,d,l,y,E,wt(I));return lt&&(Dt.urlHandlingStrategy=lt),Zt&&(Dt.routeReuseStrategy=Zt),Dt.titleStrategy=ze??J,function _a(u,d){u.errorHandler&&(d.errorHandler=u.errorHandler),u.malformedUriErrorHandler&&(d.malformedUriErrorHandler=u.malformedUriErrorHandler),u.onSameUrlNavigation&&(d.onSameUrlNavigation=u.onSameUrlNavigation),u.paramsInheritanceStrategy&&(d.paramsInheritanceStrategy=u.paramsInheritanceStrategy),u.relativeLinkResolution&&(d.relativeLinkResolution=u.relativeLinkResolution),u.urlUpdateStrategy&&(d.urlUpdateStrategy=u.urlUpdateStrategy),u.canceledNavigationResolution&&(d.canceledNavigationResolution=u.canceledNavigationResolution)}(W,Dt),Dt}let kn=(()=>{class u{constructor(l,y,E,I,W,J,ze){this.rootComponentType=l,this.urlSerializer=y,this.rootContexts=E,this.location=I,this.config=ze,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.disposed=!1,this.navigationId=0,this.currentPageId=0,this.isNgZoneEnabled=!1,this.events=new Ie.x,this.errorHandler=Mr,this.malformedUriErrorHandler=Zn,this.navigated=!1,this.lastSuccessfulId=-1,this.afterPreactivation=()=>(0,T.of)(void 0),this.urlHandlingStrategy=new Ai,this.routeReuseStrategy=new Lt,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="corrected",this.canceledNavigationResolution="replace",this.configLoader=W.get(un),this.configLoader.onLoadEndListener=gn=>this.triggerEvent(new Ks(gn)),this.configLoader.onLoadStartListener=gn=>this.triggerEvent(new ti(gn)),this.ngModule=W.get(f.h0i),this.console=W.get(f.c2e);const Dt=W.get(f.R0b);this.isNgZoneEnabled=Dt instanceof f.R0b&&f.R0b.isInAngularZone(),this.resetConfig(ze),this.currentUrlTree=function _n(){return new Pe(new je([],{}),{},null)}(),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.routerState=Ys(this.currentUrlTree,this.rootComponentType),this.transitions=new R.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(l){const y=this.events;return l.pipe((0,ut.h)(E=>0!==E.id),(0,Ee.U)(E=>({...E,extractedUrl:this.urlHandlingStrategy.extract(E.rawUrl)})),(0,ye.w)(E=>{let I=!1,W=!1;return(0,T.of)(E).pipe((0,ce.b)(J=>{this.currentNavigation={id:J.id,initialUrl:J.rawUrl,extractedUrl:J.extractedUrl,trigger:J.source,extras:J.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null}}),(0,ye.w)(J=>{const ze=this.browserUrlTree.toString(),lt=!this.navigated||J.extractedUrl.toString()!==ze||ze!==this.currentUrlTree.toString();if(("reload"===this.onSameUrlNavigation||lt)&&this.urlHandlingStrategy.shouldProcessUrl(J.rawUrl))return Rs(J.source)&&(this.browserUrlTree=J.extractedUrl),(0,T.of)(J).pipe((0,ye.w)(Dt=>{const gn=this.transitions.getValue();return y.next(new tr(Dt.id,this.serializeUrl(Dt.extractedUrl),Dt.source,Dt.restoredState)),gn!==this.transitions.getValue()?H.E:Promise.resolve(Dt)}),function ae(u,d,l,y){return(0,ye.w)(E=>function M(u,d,l,y,E){return new x(u,d,l,y,E).apply()}(u,d,l,E.extractedUrl,y).pipe((0,Ee.U)(I=>({...E,urlAfterRedirects:I}))))}(this.ngModule.injector,this.configLoader,this.urlSerializer,this.config),(0,ce.b)(Dt=>{this.currentNavigation={...this.currentNavigation,finalUrl:Dt.urlAfterRedirects},E.urlAfterRedirects=Dt.urlAfterRedirects}),function b(u,d,l,y,E,I){return(0,Oe.z)(W=>function pt(u,d,l,y,E,I,W="emptyOnly",J="legacy"){return new _t(u,d,l,y,E,W,J,I).recognize().pipe((0,ye.w)(ze=>null===ze?function Qe(u){return new z.y(d=>d.error(u))}(new Le):(0,T.of)(ze)))}(u,d,l,W.urlAfterRedirects,y.serialize(W.urlAfterRedirects),y,E,I).pipe((0,Ee.U)(J=>({...W,targetSnapshot:J}))))}(this.ngModule.injector,this.rootComponentType,this.config,this.urlSerializer,this.paramsInheritanceStrategy,this.relativeLinkResolution),(0,ce.b)(Dt=>{if(E.targetSnapshot=Dt.targetSnapshot,"eager"===this.urlUpdateStrategy){if(!Dt.extras.skipLocationChange){const cr=this.urlHandlingStrategy.merge(Dt.urlAfterRedirects,Dt.rawUrl);this.setBrowserUrl(cr,Dt)}this.browserUrlTree=Dt.urlAfterRedirects}const gn=new Gn(Dt.id,this.serializeUrl(Dt.extractedUrl),this.serializeUrl(Dt.urlAfterRedirects),Dt.targetSnapshot);y.next(gn)}));if(lt&&this.rawUrlTree&&this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree)){const{id:gn,extractedUrl:cr,source:ui,restoredState:Ji,extras:Fr}=J,Ca=new tr(gn,this.serializeUrl(cr),ui,Ji);y.next(Ca);const qi=Ys(cr,this.rootComponentType).snapshot;return E={...J,targetSnapshot:qi,urlAfterRedirects:cr,extras:{...Fr,skipLocationChange:!1,replaceUrl:!1}},(0,T.of)(E)}return this.rawUrlTree=J.rawUrl,J.resolve(null),H.E}),(0,ce.b)(J=>{const ze=new Ur(J.id,this.serializeUrl(J.extractedUrl),this.serializeUrl(J.urlAfterRedirects),J.targetSnapshot);this.triggerEvent(ze)}),(0,Ee.U)(J=>E={...J,guards:qs(J.targetSnapshot,J.currentSnapshot,this.rootContexts)}),function ms(u,d){return(0,Oe.z)(l=>{const{targetSnapshot:y,currentSnapshot:E,guards:{canActivateChecks:I,canDeactivateChecks:W}}=l;return 0===W.length&&0===I.length?(0,T.of)({...l,guardsResult:!0}):function $n(u,d,l,y){return(0,v.D)(u).pipe((0,Oe.z)(E=>function _s(u,d,l,y,E){const I=d&&d.routeConfig?d.routeConfig.canDeactivate:null;if(!I||0===I.length)return(0,T.of)(!0);const W=I.map(J=>{const ze=ar(d)??E,lt=Wr(J,ze);return Kt(function si(u){return u&&Wt(u.canDeactivate)}(lt)?lt.canDeactivate(u,d,l,y):ze.runInContext(()=>lt(u,d,l,y))).pipe((0,K.P)())});return(0,T.of)(W).pipe(bi())}(E.component,E.route,l,d,y)),(0,K.P)(E=>!0!==E,!0))}(W,y,E,u).pipe((0,Oe.z)(J=>J&&function ps(u){return"boolean"==typeof u}(J)?function Cr(u,d,l,y){return(0,v.D)(d).pipe((0,ve.b)(E=>(0,se.z)(function ai(u,d){return null!==u&&d&&d(new os(u)),(0,T.of)(!0)}(E.route.parent,y),function Is(u,d){return null!==u&&d&&d(new Ro(u)),(0,T.of)(!0)}(E.route,y),function to(u,d,l){const y=d[d.length-1],I=d.slice(0,d.length-1).reverse().map(W=>function fs(u){const d=u.routeConfig?u.routeConfig.canActivateChild:null;return d&&0!==d.length?{node:u,guards:d}:null}(W)).filter(W=>null!==W).map(W=>(0,Q.P)(()=>{const J=W.guards.map(ze=>{const lt=ar(W.node)??l,Zt=Wr(ze,lt);return Kt(function Kr(u){return u&&Wt(u.canActivateChild)}(Zt)?Zt.canActivateChild(y,u):lt.runInContext(()=>Zt(y,u))).pipe((0,K.P)())});return(0,T.of)(J).pipe(bi())}));return(0,T.of)(I).pipe(bi())}(u,E.path,l),function pr(u,d,l){const y=d.routeConfig?d.routeConfig.canActivate:null;if(!y||0===y.length)return(0,T.of)(!0);const E=y.map(I=>(0,Q.P)(()=>{const W=ar(d)??l,J=Wr(I,W);return Kt(function In(u){return u&&Wt(u.canActivate)}(J)?J.canActivate(d,u):W.runInContext(()=>J(d,u))).pipe((0,K.P)())}));return(0,T.of)(E).pipe(bi())}(u,E.route,l))),(0,K.P)(E=>!0!==E,!0))}(y,I,u,d):(0,T.of)(J)),(0,Ee.U)(J=>({...l,guardsResult:J})))})}(this.ngModule.injector,J=>this.triggerEvent(J)),(0,ce.b)(J=>{if(E.guardsResult=J.guardsResult,we(J.guardsResult))throw us(0,J.guardsResult);const ze=new nr(J.id,this.serializeUrl(J.extractedUrl),this.serializeUrl(J.urlAfterRedirects),J.targetSnapshot,!!J.guardsResult);this.triggerEvent(ze)}),(0,ut.h)(J=>!!J.guardsResult||(this.restoreHistory(J),this.cancelNavigationTransition(J,"",3),!1)),Yt(J=>{if(J.guards.canActivateChecks.length)return(0,T.of)(J).pipe((0,ce.b)(ze=>{const lt=new Ir(ze.id,this.serializeUrl(ze.extractedUrl),this.serializeUrl(ze.urlAfterRedirects),ze.targetSnapshot);this.triggerEvent(lt)}),(0,ye.w)(ze=>{let lt=!1;return(0,T.of)(ze).pipe(function m(u,d){return(0,Oe.z)(l=>{const{targetSnapshot:y,guards:{canActivateChecks:E}}=l;if(!E.length)return(0,T.of)(l);let I=0;return(0,v.D)(E).pipe((0,ve.b)(W=>function S(u,d,l,y){const E=u.routeConfig,I=u._resolve;return void 0!==E?.title&&!yt(E)&&(I[pe]=E.title),function ie(u,d,l,y){const E=function Be(u){return[...Object.keys(u),...Object.getOwnPropertySymbols(u)]}(u);if(0===E.length)return(0,T.of)({});const I={};return(0,v.D)(E).pipe((0,Oe.z)(W=>function Je(u,d,l,y){const E=ar(d)??y,I=Wr(u,E);return Kt(I.resolve?I.resolve(d,l):E.runInContext(()=>I(d,l)))}(u[W],d,l,y).pipe((0,K.P)(),(0,ce.b)(J=>{I[W]=J}))),$e(1),(0,tn.h)(I),(0,Te.K)(W=>oi(W)?H.E:(0,$._)(W)))}(I,u,d,y).pipe((0,Ee.U)(W=>(u._resolvedData=W,u.data=Ts(u,l).resolve,E&&yt(E)&&(u.data[pe]=E.title),null)))}(W.route,y,u,d)),(0,ce.b)(()=>I++),$e(1),(0,Oe.z)(W=>I===E.length?(0,T.of)(l):H.E))})}(this.paramsInheritanceStrategy,this.ngModule.injector),(0,ce.b)({next:()=>lt=!0,complete:()=>{lt||(this.restoreHistory(ze),this.cancelNavigationTransition(ze,"",2))}}))}),(0,ce.b)(ze=>{const lt=new qn(ze.id,this.serializeUrl(ze.extractedUrl),this.serializeUrl(ze.urlAfterRedirects),ze.targetSnapshot);this.triggerEvent(lt)}))}),Yt(J=>{const ze=lt=>{const Zt=[];lt.routeConfig?.loadComponent&&!lt.routeConfig._loadedComponent&&Zt.push(this.configLoader.loadComponent(lt.routeConfig).pipe((0,ce.b)(Dt=>{lt.component=Dt}),(0,Ee.U)(()=>{})));for(const Dt of lt.children)Zt.push(...ze(Dt));return Zt};return(0,V.a)(ze(J.targetSnapshot.root)).pipe((0,Et.d)(),(0,Ue.q)(1))}),Yt(()=>this.afterPreactivation()),(0,Ee.U)(J=>{const ze=function ki(u,d,l){const y=$r(u,d._root,l?l._root:void 0);return new Ss(y,d)}(this.routeReuseStrategy,J.targetSnapshot,J.currentRouterState);return E={...J,targetRouterState:ze}}),(0,ce.b)(J=>{this.currentUrlTree=J.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(J.urlAfterRedirects,J.rawUrl),this.routerState=J.targetRouterState,"deferred"===this.urlUpdateStrategy&&(J.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,J),this.browserUrlTree=J.urlAfterRedirects)}),((u,d,l)=>(0,Ee.U)(y=>(new bt(d,y.targetRouterState,y.currentRouterState,l).activate(u),y)))(this.rootContexts,this.routeReuseStrategy,J=>this.triggerEvent(J)),(0,ce.b)({next(){I=!0},complete(){I=!0}}),(0,Ot.x)(()=>{I||W||this.cancelNavigationTransition(E,"",1),this.currentNavigation?.id===E.id&&(this.currentNavigation=null)}),(0,Te.K)(J=>{if(W=!0,hs(J)){zr(J)||(this.navigated=!0,this.restoreHistory(E,!0));const ze=new Ar(E.id,this.serializeUrl(E.extractedUrl),J.message,J.cancellationCode);if(y.next(ze),zr(J)){const lt=this.urlHandlingStrategy.merge(J.url,this.rawUrlTree),Zt={skipLocationChange:E.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||Rs(E.source)};this.scheduleNavigation(lt,"imperative",null,Zt,{resolve:E.resolve,reject:E.reject,promise:E.promise})}else E.resolve(!1)}else{this.restoreHistory(E,!0);const ze=new An(E.id,this.serializeUrl(E.extractedUrl),J,E.targetSnapshot??void 0);y.next(ze);try{E.resolve(this.errorHandler(J))}catch(lt){E.reject(lt)}}return H.E}))}))}resetRootComponentType(l){this.rootComponentType=l,this.routerState.root.component=this.rootComponentType}setTransition(l){this.transitions.next({...this.transitions.value,...l})}initialNavigation(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(l=>{const y="popstate"===l.type?"popstate":"hashchange";"popstate"===y&&setTimeout(()=>{const E={replaceUrl:!0},I=l.state?.navigationId?l.state:null;if(I){const J={...I};delete J.navigationId,delete J.\u0275routerPageId,0!==Object.keys(J).length&&(E.state=J)}const W=this.parseUrl(l.url);this.scheduleNavigation(W,y,I,E)},0)}))}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.currentNavigation}triggerEvent(l){this.events.next(l)}resetConfig(l){this.config=l.map(fr),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(l,y={}){const{relativeTo:E,queryParams:I,fragment:W,queryParamsHandling:J,preserveFragment:ze}=y,lt=E||this.routerState.root,Zt=ze?this.currentUrlTree.fragment:W;let Dt=null;switch(J){case"merge":Dt={...this.currentUrlTree.queryParams,...I};break;case"preserve":Dt=this.currentUrlTree.queryParams;break;default:Dt=I||null}return null!==Dt&&(Dt=this.removeEmptyProps(Dt)),nn(lt,this.currentUrlTree,l,Dt,Zt??null)}navigateByUrl(l,y={skipLocationChange:!1}){const E=we(l)?l:this.parseUrl(l),I=this.urlHandlingStrategy.merge(E,this.rawUrlTree);return this.scheduleNavigation(I,"imperative",null,y)}navigate(l,y={skipLocationChange:!1}){return function ml(u){for(let d=0;d<u.length;d++){if(null==u[d])throw new f.vHH(4008,false)}}(l),this.navigateByUrl(this.createUrlTree(l,y),y)}serializeUrl(l){return this.urlSerializer.serialize(l)}parseUrl(l){let y;try{y=this.urlSerializer.parse(l)}catch(E){y=this.malformedUriErrorHandler(E,this.urlSerializer,l)}return y}isActive(l,y){let E;if(E=!0===y?{...vs}:!1===y?{...Ds}:y,we(l))return G(this.currentUrlTree,l,E);const I=this.parseUrl(l);return G(this.currentUrlTree,I,E)}removeEmptyProps(l){return Object.keys(l).reduce((y,E)=>{const I=l[E];return null!=I&&(y[E]=I),y},{})}processNavigations(){this.navigations.subscribe(l=>{this.navigated=!0,this.lastSuccessfulId=l.id,this.currentPageId=l.targetPageId,this.events.next(new ln(l.id,this.serializeUrl(l.extractedUrl),this.serializeUrl(this.currentUrlTree))),this.lastSuccessfulNavigation=this.currentNavigation,this.titleStrategy?.updateTitle(this.routerState.snapshot),l.resolve(!0)},l=>{this.console.warn(`Unhandled Navigation Error: ${l}`)})}scheduleNavigation(l,y,E,I,W){if(this.disposed)return Promise.resolve(!1);let J,ze,lt;W?(J=W.resolve,ze=W.reject,lt=W.promise):lt=new Promise((gn,cr)=>{J=gn,ze=cr});const Zt=++this.navigationId;let Dt;return"computed"===this.canceledNavigationResolution?(0===this.currentPageId&&(E=this.location.getState()),Dt=E&&E.\u0275routerPageId?E.\u0275routerPageId:I.replaceUrl||I.skipLocationChange?this.browserPageId??0:(this.browserPageId??0)+1):Dt=0,this.setTransition({id:Zt,targetPageId:Dt,source:y,restoredState:E,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:l,extras:I,resolve:J,reject:ze,promise:lt,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),lt.catch(gn=>Promise.reject(gn))}setBrowserUrl(l,y){const E=this.urlSerializer.serialize(l),I={...y.extras.state,...this.generateNgRouterState(y.id,y.targetPageId)};this.location.isCurrentPathEqualTo(E)||y.extras.replaceUrl?this.location.replaceState(E,"",I):this.location.go(E,"",I)}restoreHistory(l,y=!1){if("computed"===this.canceledNavigationResolution){const E=this.currentPageId-l.targetPageId;"popstate"!==l.source&&"eager"!==this.urlUpdateStrategy&&this.currentUrlTree!==this.currentNavigation?.finalUrl||0===E?this.currentUrlTree===this.currentNavigation?.finalUrl&&0===E&&(this.resetState(l),this.browserUrlTree=l.currentUrlTree,this.resetUrlToCurrentUrlTree()):this.location.historyGo(E)}else"replace"===this.canceledNavigationResolution&&(y&&this.resetState(l),this.resetUrlToCurrentUrlTree())}resetState(l){this.routerState=l.currentRouterState,this.currentUrlTree=l.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,l.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}cancelNavigationTransition(l,y,E){const I=new Ar(l.id,this.serializeUrl(l.extractedUrl),y,E);this.triggerEvent(I),l.resolve(!1)}generateNgRouterState(l,y){return"computed"===this.canceledNavigationResolution?{navigationId:l,\u0275routerPageId:y}:{navigationId:l}}}return u.\u0275fac=function(l){f.$Z()},u.\u0275prov=f.Yz7({token:u,factory:function(){return Lo()},providedIn:"root"}),u})();function Rs(u){return"imperative"!==u}let no=(()=>{class u{constructor(l,y,E){this.router=l,this.route=y,this.locationStrategy=E,this._preserveFragment=!1,this._skipLocationChange=!1,this._replaceUrl=!1,this.commands=null,this.href=null,this.onChanges=new Ie.x,this.subscription=l.events.subscribe(I=>{I instanceof ln&&this.updateTargetUrlAndHref()})}set preserveFragment(l){this._preserveFragment=(0,f.D6c)(l)}get preserveFragment(){return this._preserveFragment}set skipLocationChange(l){this._skipLocationChange=(0,f.D6c)(l)}get skipLocationChange(){return this._skipLocationChange}set replaceUrl(l){this._replaceUrl=(0,f.D6c)(l)}get replaceUrl(){return this._replaceUrl}set routerLink(l){this.commands=null!=l?Array.isArray(l)?l:[l]:null}ngOnChanges(l){this.updateTargetUrlAndHref(),this.onChanges.next(this)}ngOnDestroy(){this.subscription.unsubscribe()}onClick(l,y,E,I,W){return!!(0!==l||y||E||I||W||"string"==typeof this.target&&"_self"!=this.target||null===this.urlTree)||(this.router.navigateByUrl(this.urlTree,{skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state}),!1)}updateTargetUrlAndHref(){this.href=null!==this.urlTree?this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(this.urlTree)):null}get urlTree(){return null===this.commands?null:this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}}return u.\u0275fac=function(l){return new(l||u)(f.Y36(kn),f.Y36(Hr),f.Y36(he.S$))},u.\u0275dir=f.lG2({type:u,selectors:[["a","routerLink",""],["area","routerLink",""]],hostVars:2,hostBindings:function(l,y){1&l&&f.NdJ("click",function(I){return y.onClick(I.button,I.ctrlKey,I.shiftKey,I.altKey,I.metaKey)}),2&l&&f.uIk("target",y.target)("href",y.href,f.LSH)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",relativeTo:"relativeTo",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",routerLink:"routerLink"},standalone:!0,features:[f.TTD]}),u})();class Zi{}let Fo=(()=>{class u{constructor(l,y,E,I,W){this.router=l,this.injector=E,this.preloadingStrategy=I,this.loader=W}setUpPreloading(){this.subscription=this.router.events.pipe((0,ut.h)(l=>l instanceof ln),(0,ve.b)(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(l,y){const E=[];for(const I of y){I.providers&&!I._injector&&(I._injector=(0,f.MMx)(I.providers,l,`Route: ${I.path}`));const W=I._injector??l,J=I._loadedInjector??W;I.loadChildren&&!I._loadedRoutes&&void 0===I.canLoad||I.loadComponent&&!I._loadedComponent?E.push(this.preloadConfig(W,I)):(I.children||I._loadedRoutes)&&E.push(this.processRoutes(J,I.children??I._loadedRoutes))}return(0,v.D)(E).pipe((0,Ne.J)())}preloadConfig(l,y){return this.preloadingStrategy.preload(y,()=>{let E;E=y.loadChildren&&void 0===y.canLoad?this.loader.loadChildren(l,y):(0,T.of)(null);const I=E.pipe((0,Oe.z)(W=>null===W?(0,T.of)(void 0):(y._loadedRoutes=W.routes,y._loadedInjector=W.injector,this.processRoutes(W.injector??l,W.routes))));if(y.loadComponent&&!y._loadedComponent){const W=this.loader.loadComponent(y);return(0,v.D)([I,W]).pipe((0,Ne.J)())}return I})}}return u.\u0275fac=function(l){return new(l||u)(f.LFG(kn),f.LFG(f.Sil),f.LFG(f.lqb),f.LFG(Zi),f.LFG(un))},u.\u0275prov=f.Yz7({token:u,factory:u.\u0275fac,providedIn:"root"}),u})();const No=new f.OlP("");let ko=(()=>{class u{constructor(l,y,E={}){this.router=l,this.viewportScroller=y,this.options=E,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},E.scrollPositionRestoration=E.scrollPositionRestoration||"disabled",E.anchorScrolling=E.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(l=>{l instanceof tr?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=l.navigationTrigger,this.restoredId=l.restoredState?l.restoredState.navigationId:0):l instanceof ln&&(this.lastId=l.id,this.scheduleScrollEvent(l,this.router.parseUrl(l.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.router.events.subscribe(l=>{l instanceof Li&&(l.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(l.position):l.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(l.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(l,y){this.router.triggerEvent(new Li(l,"popstate"===this.lastSource?this.store[this.restoredId]:null,y))}ngOnDestroy(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}return u.\u0275fac=function(l){f.$Z()},u.\u0275prov=f.Yz7({token:u,factory:u.\u0275fac}),u})();function Lr(u,d){return{\u0275kind:u,\u0275providers:d}}function ro(u){return[{provide:hn,multi:!0,useValue:u}]}function Xi(){const u=(0,f.f3M)(f.zs3);return d=>{const l=u.get(f.z2F);if(d!==l.components[0])return;const y=u.get(kn),E=u.get(yl);1===u.get(Bo)&&y.initialNavigation(),u.get(vl,null,f.XFs.Optional)?.setUpPreloading(),u.get(No,null,f.XFs.Optional)?.init(),y.resetRootComponentType(l.componentTypes[0]),E.closed||(E.next(),E.unsubscribe())}}const yl=new f.OlP("",{factory:()=>new Ie.x}),Bo=new f.OlP("",{providedIn:"root",factory:()=>1});const vl=new f.OlP("");function Ku(u){return Lr(0,[{provide:vl,useExisting:Fo},{provide:Zi,useExisting:u}])}const Cs=new f.OlP("ROUTER_FORROOT_GUARD"),Gu=[he.Ye,{provide:me,useClass:We},{provide:kn,useFactory:Lo},Pr,{provide:Hr,useFactory:function Qi(u){return u.routerState.root},deps:[kn]},un];function Yu(){return new f.PXZ("Router",kn)}let Bn=(()=>{class u{constructor(l){}static forRoot(l,y){return{ngModule:u,providers:[Gu,[],ro(l),{provide:Cs,useFactory:Dl,deps:[[kn,new f.FiY,new f.tp0]]},{provide:vn,useValue:y||{}},y?.useHash?{provide:he.S$,useClass:he.Do}:{provide:he.S$,useClass:he.b0},{provide:No,useFactory:()=>{const u=(0,f.f3M)(kn),d=(0,f.f3M)(he.EM),l=(0,f.f3M)(vn);return l.scrollOffset&&d.setOffset(l.scrollOffset),new ko(u,d,l)}},y?.preloadingStrategy?Ku(y.preloadingStrategy).\u0275providers:[],{provide:f.PXZ,multi:!0,useFactory:Yu},y?.initialNavigation?gr(y):[],[{provide:Yr,useFactory:Xi},{provide:f.tb,multi:!0,useExisting:Yr}]]}}static forChild(l){return{ngModule:u,providers:[ro(l)]}}}return u.\u0275fac=function(l){return new(l||u)(f.LFG(Cs,8))},u.\u0275mod=f.oAB({type:u}),u.\u0275inj=f.cJS({imports:[bn]}),u})();function Dl(u){return"guarded"}function gr(u){return["disabled"===u.initialNavigation?Lr(3,[{provide:f.ip1,multi:!0,useFactory:()=>{const d=(0,f.f3M)(kn);return()=>{d.setUpLocationChangeListener()}}},{provide:Bo,useValue:2}]).\u0275providers:[],"enabledBlocking"===u.initialNavigation?Lr(2,[{provide:Bo,useValue:0},{provide:f.ip1,multi:!0,deps:[f.zs3],useFactory:d=>{const l=d.get(he.V_,Promise.resolve());let y=!1;return()=>l.then(()=>new Promise(I=>{const W=d.get(kn),J=d.get(yl);(function E(I){d.get(kn).events.pipe((0,ut.h)(J=>J instanceof ln||J instanceof Ar||J instanceof An),(0,Ee.U)(J=>J instanceof ln||J instanceof Ar&&(0===J.code||1===J.code)&&null),(0,ut.h)(J=>null!==J),(0,Ue.q)(1)).subscribe(()=>{I()})})(()=>{I(!0),y=!0}),W.afterPreactivation=()=>(I(!0),y||J.closed?(0,T.of)(void 0):J),W.initialNavigation()}))}}]).\u0275providers:[]]}const Yr=new f.OlP("")},97582:(rt,_e,_)=>{function H(Ae,Ne,fe,ee){return new(fe||(fe=Promise))(function(Ce,Ze){function Ct(At){try{dt(ee.next(At))}catch(wt){Ze(wt)}}function Pt(At){try{dt(ee.throw(At))}catch(wt){Ze(wt)}}function dt(At){At.done?Ce(At.value):function pe(Ce){return Ce instanceof fe?Ce:new fe(function(Ze){Ze(Ce)})}(At.value).then(Ct,Pt)}dt((ee=ee.apply(Ae,Ne||[])).next())})}function Oe(Ae){return this instanceof Oe?(this.v=Ae,this):new Oe(Ae)}function K(Ae,Ne,fe){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var pe,ee=fe.apply(Ae,Ne||[]),Ce=[];return pe=Object.create(("function"==typeof AsyncIterator?AsyncIterator:Object).prototype),Ct("next"),Ct("throw"),Ct("return",function Ze(Nt){return function(kt){return Promise.resolve(kt).then(Nt,wt)}}),pe[Symbol.asyncIterator]=function(){return this},pe;function Ct(Nt,kt){ee[Nt]&&(pe[Nt]=function(Kt){return new Promise(function(st,_n){Ce.push([Nt,Kt,st,_n])>1||Pt(Nt,Kt)})},kt&&(pe[Nt]=kt(pe[Nt])))}function Pt(Nt,kt){try{!function dt(Nt){Nt.value instanceof Oe?Promise.resolve(Nt.value.v).then(At,wt):en(Ce[0][2],Nt)}(ee[Nt](kt))}catch(Kt){en(Ce[0][3],Kt)}}function At(Nt){Pt("next",Nt)}function wt(Nt){Pt("throw",Nt)}function en(Nt,kt){Nt(kt),Ce.shift(),Ce.length&&Pt(Ce[0][0],Ce[0][1])}}function ce(Ae){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var fe,Ne=Ae[Symbol.asyncIterator];return Ne?Ne.call(Ae):(Ae=function Ee(Ae){var Ne="function"==typeof Symbol&&Symbol.iterator,fe=Ne&&Ae[Ne],ee=0;if(fe)return fe.call(Ae);if(Ae&&"number"==typeof Ae.length)return{next:function(){return Ae&&ee>=Ae.length&&(Ae=void 0),{value:Ae&&Ae[ee++],done:!Ae}}};throw new TypeError(Ne?"Object is not iterable.":"Symbol.iterator is not defined.")}(Ae),fe={},ee("next"),ee("throw"),ee("return"),fe[Symbol.asyncIterator]=function(){return this},fe);function ee(Ce){fe[Ce]=Ae[Ce]&&function(Ze){return new Promise(function(Ct,Pt){!function pe(Ce,Ze,Ct,Pt){Promise.resolve(Pt).then(function(dt){Ce({value:dt,done:Ct})},Ze)}(Ct,Pt,(Ze=Ae[Ce](Ze)).done,Ze.value)})}}}_.d(_e,{FC:()=>K,KL:()=>ce,mG:()=>H,qq:()=>Oe}),"function"==typeof SuppressedError&&SuppressedError}},rt=>{rt(rt.s=53255)}]);