From 7a295f2f5de794f1e818f44ed1365309b293aa62 Mon Sep 17 00:00:00 2001 From: BenjaminHofstetter Date: Thu, 20 Jul 2023 12:09:04 +0000 Subject: [PATCH] =?UTF-8?q?Deploying=20to=20gh-pages=20from=20@=20zazuko/l?= =?UTF-8?q?d-widget@3a19619b22c21d5bcc16a77c2d3d5300c6ed73e9=20?= =?UTF-8?q?=F0=9F=9A=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 404.html | 2 +- index.html | 2 +- main.0ad38df2cbef2953.js | 1 - main.afb7f95606645b73.js | 1 + 4 files changed, 3 insertions(+), 3 deletions(-) delete mode 100644 main.0ad38df2cbef2953.js create mode 100644 main.afb7f95606645b73.js diff --git a/404.html b/404.html index 6764367..38a1781 100644 --- a/404.html +++ b/404.html @@ -9,5 +9,5 @@ - + diff --git a/index.html b/index.html index 6764367..38a1781 100644 --- a/index.html +++ b/index.html @@ -9,5 +9,5 @@ - + diff --git a/main.0ad38df2cbef2953.js b/main.0ad38df2cbef2953.js deleted file mode 100644 index 15c37e2..0000000 --- a/main.0ad38df2cbef2953.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkld_widget=self.webpackChunkld_widget||[]).push([[179],{6631:(Xe,fe,A)=>{var l=A(4946),$=A(6593),se=A(4670);let Q=(()=>{class be{}return be.\u0275fac=function(Le){return new(Le||be)},be.\u0275cmp=l.Xpm({type:be,selectors:[["app-root"]],standalone:!0,features:[l.jDz],decls:1,vars:0,template:function(Le,st){1&Le&&l._UZ(0,"router-outlet")},dependencies:[se.lC]}),be})();(0,$.Cg)(Q);var z=A(6814),Z=A(9862),le=A(95);function Ge(be,Ke){if(1&be&&(l.TgZ(0,"p"),l._uU(1),l.qZA()),2&be){const Le=Ke.$implicit;l.xp6(1),l.Oqu(Le)}}function Ne(be,Ke){1&be&&(l.TgZ(0,"p"),l._uU(1,"0 results"),l.qZA())}function ge(be,Ke){if(1&be&&(l.TgZ(0,"div"),l.YNc(1,Ge,2,1,"p",6),l.YNc(2,Ne,2,0,"p",4),l.qZA()),2&be){const Le=l.oxw();l.xp6(1),l.Q6J("ngForOf",Le.result),l.xp6(1),l.Q6J("ngIf",0===Le.result.length)}}function K(be,Ke){if(1&be&&(l.TgZ(0,"div",7)(1,"h4"),l._uU(2,"Http Response Error"),l.qZA(),l.TgZ(3,"pre"),l._uU(4),l.qZA()()),2&be){const Le=l.oxw();l.xp6(4),l.Oqu(Le.error)}}let he=(()=>{class be{constructor(Le){this.http=Le,this.sparqlTemplate="",this.endpoint="",this.result=[],this.error="",this.sparqlVariableForm=new le.cw({variable:new le.NI("",le.kI.required)})}onSubmit(){if(!this.sparqlVariableForm.valid)return;const Le=this._escapeSparql(this.sparqlVariableForm.controls.variable.value??"");this._executeQuery(Le)}_executeQuery(Le){if(!this.endpoint||0===this.endpoint.length)return void console.error("Endpoint is invalid",this.endpoint);if(!this.sparqlTemplate||0===this.sparqlTemplate.length)return void console.error("SPARQL Template is invalid",this.sparqlTemplate);const st=`\n ${this.sparqlTemplate}\n ${this.getValues(Le)}\n`,te=(new Z.LE).set("query",st),ce=(new Z.WM).set("Content-Type","application/x-www-form-urlencoded").set("Accept","application/sparql-results+json");this.error="",this.http.post(this.endpoint,te.toString(),{headers:ce,observe:"response"}).subscribe({next:me=>{if(!me.headers.get("Content-Type")?.startsWith("application/sparql-results+json"))return this.result=[],void(this.error=JSON.stringify(me,null,4));const ye=me.body?.head.vars??[],ie=me.body?.results.bindings.map(ee=>{const ve=[];return ye.forEach(ht=>{ve.push(ee[ht]?.value??"")}),ve})??[];this.result=ie.map(ee=>ee.join(" "))},error:me=>{this.result=[],this.error=JSON.stringify(me,null,4)}})}getValues(Le){return`VALUES ?varBind { '${Le}' }`}_escapeSparql(Le){return Le.replace(/[|\\{}()[\]^$+*?.]/g,"\\\\$&").replace(/-/g,"\\\\x2d")}}return be.\u0275fac=function(Le){return new(Le||be)(l.Y36(Z.eN))},be.\u0275cmp=l.Xpm({type:be,selectors:[["ld-widget"]],inputs:{sparqlTemplate:"sparqlTemplate",endpoint:"endpoint"},standalone:!0,features:[l.jDz],decls:7,vars:4,consts:[[3,"formGroup","ngSubmit"],["for","name"],["id","name","type","text","formControlName","variable",2,"margin-right","4px"],["type","submit",3,"disabled"],[4,"ngIf"],["style","color: red",4,"ngIf"],[4,"ngFor","ngForOf"],[2,"color","red"]],template:function(Le,st){1&Le&&(l.TgZ(0,"form",0),l.NdJ("ngSubmit",function(){return st.onSubmit()}),l._UZ(1,"label",1)(2,"input",2),l.TgZ(3,"button",3),l._uU(4,"Suche"),l.qZA()(),l.YNc(5,ge,3,2,"div",4),l.YNc(6,K,5,1,"div",5)),2&Le&&(l.Q6J("formGroup",st.sparqlVariableForm),l.xp6(3),l.Q6J("disabled",!st.sparqlVariableForm.valid),l.xp6(2),l.Q6J("ngIf",0===st.error.length),l.xp6(1),l.Q6J("ngIf",st.error.length>0))},dependencies:[le.u5,le._Y,le.Fj,le.JJ,le.JL,le.UX,le.sg,le.u,Z.JF,z.O5,z.ax]}),be})();function Pe(be,Ke){if(1&be&&(l.TgZ(0,"p"),l._uU(1),l.qZA()),2&be){const Le=l.oxw();l.xp6(1),l.Oqu(Le.error)}}function Re(be,Ke){if(1&be&&l._UZ(0,"ld-widget",2),2&be){const Le=l.oxw();l.Q6J("endpoint",Le.endpoint)("sparqlTemplate",Le.sparqlQuery)}}const ft=[{path:"",component:(()=>{class be{constructor(Le){this.route=Le,this.error=null,this.sparqlQuery="",this.endpoint=""}ngOnInit(){this.route.queryParamMap.subscribe(Le=>{this.error=null,this.endpoint=Le.get("e")??"",this.sparqlQuery=Le.get("q")??"",(this.endpoint.length<1||this.sparqlQuery.length<1)&&(this.error=`Not enough information to proceed: ${0===this.endpoint.length?"\nendpoint missing":""} ${0===this.sparqlQuery.length?"\nsparql query missing":""}`)})}}return be.\u0275fac=function(Le){return new(Le||be)(l.Y36(se.gz))},be.\u0275cmp=l.Xpm({type:be,selectors:[["ng-component"]],standalone:!0,features:[l.jDz],decls:2,vars:2,consts:[[4,"ngIf"],[3,"endpoint","sparqlTemplate",4,"ngIf"],[3,"endpoint","sparqlTemplate"]],template:function(Le,st){1&Le&&(l.YNc(0,Pe,2,1,"p",0),l.YNc(1,Re,1,2,"ld-widget",1)),2&Le&&(l.Q6J("ngIf",st.error),l.xp6(1),l.Q6J("ngIf",!st.error))},dependencies:[se.Bz,z.O5,he]}),be})()},{path:"config",loadComponent:()=>A.e(583).then(A.bind(A,2583)).then(be=>be.ConfigComponent)}];(0,$.Cg)(Q,{providers:[(0,l.RIp)(),(0,se.bU)(ft)]})},5619:(Xe,fe,A)=>{A.d(fe,{X:()=>$});var l=A(8645);class $ extends l.x{constructor(Q){super(),this._value=Q}get value(){return this.getValue()}_subscribe(Q){const z=super._subscribe(Q);return!z.closed&&Q.next(this._value),z}getValue(){const{hasError:Q,thrownError:z,_value:Z}=this;if(Q)throw z;return this._throwIfClosed(),Z}next(Q){super.next(this._value=Q)}}},5592:(Xe,fe,A)=>{A.d(fe,{y:()=>Ge});var l=A(305),$=A(7394),se=A(4850),Q=A(8407),z=A(2653),Z=A(4674),le=A(1441);let Ge=(()=>{class he{constructor(Re){Re&&(this._subscribe=Re)}lift(Re){const Ue=new he;return Ue.source=this,Ue.operator=Re,Ue}subscribe(Re,Ue,ft){const be=function K(he){return he&&he instanceof l.Lv||function ge(he){return he&&(0,Z.m)(he.next)&&(0,Z.m)(he.error)&&(0,Z.m)(he.complete)}(he)&&(0,$.Nn)(he)}(Re)?Re:new l.Hp(Re,Ue,ft);return(0,le.x)(()=>{const{operator:Ke,source:Le}=this;be.add(Ke?Ke.call(be,Le):Le?this._subscribe(be):this._trySubscribe(be))}),be}_trySubscribe(Re){try{return this._subscribe(Re)}catch(Ue){Re.error(Ue)}}forEach(Re,Ue){return new(Ue=Ne(Ue))((ft,be)=>{const Ke=new l.Hp({next:Le=>{try{Re(Le)}catch(st){be(st),Ke.unsubscribe()}},error:be,complete:ft});this.subscribe(Ke)})}_subscribe(Re){var Ue;return null===(Ue=this.source)||void 0===Ue?void 0:Ue.subscribe(Re)}[se.L](){return this}pipe(...Re){return(0,Q.U)(Re)(this)}toPromise(Re){return new(Re=Ne(Re))((Ue,ft)=>{let be;this.subscribe(Ke=>be=Ke,Ke=>ft(Ke),()=>Ue(be))})}}return he.create=Pe=>new he(Pe),he})();function Ne(he){var Pe;return null!==(Pe=he??z.config.Promise)&&void 0!==Pe?Pe:Promise}},8645:(Xe,fe,A)=>{A.d(fe,{x:()=>le});var l=A(5592),$=A(7394);const Q=(0,A(2306).d)(Ne=>function(){Ne(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var z=A(9039),Z=A(1441);let le=(()=>{class Ne extends l.y{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(K){const he=new Ge(this,this);return he.operator=K,he}_throwIfClosed(){if(this.closed)throw new Q}next(K){(0,Z.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const he of this.currentObservers)he.next(K)}})}error(K){(0,Z.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=K;const{observers:he}=this;for(;he.length;)he.shift().error(K)}})}complete(){(0,Z.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:K}=this;for(;K.length;)K.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var K;return(null===(K=this.observers)||void 0===K?void 0:K.length)>0}_trySubscribe(K){return this._throwIfClosed(),super._trySubscribe(K)}_subscribe(K){return this._throwIfClosed(),this._checkFinalizedStatuses(K),this._innerSubscribe(K)}_innerSubscribe(K){const{hasError:he,isStopped:Pe,observers:Re}=this;return he||Pe?$.Lc:(this.currentObservers=null,Re.push(K),new $.w0(()=>{this.currentObservers=null,(0,z.P)(Re,K)}))}_checkFinalizedStatuses(K){const{hasError:he,thrownError:Pe,isStopped:Re}=this;he?K.error(Pe):Re&&K.complete()}asObservable(){const K=new l.y;return K.source=this,K}}return Ne.create=(ge,K)=>new Ge(ge,K),Ne})();class Ge extends le{constructor(ge,K){super(),this.destination=ge,this.source=K}next(ge){var K,he;null===(he=null===(K=this.destination)||void 0===K?void 0:K.next)||void 0===he||he.call(K,ge)}error(ge){var K,he;null===(he=null===(K=this.destination)||void 0===K?void 0:K.error)||void 0===he||he.call(K,ge)}complete(){var ge,K;null===(K=null===(ge=this.destination)||void 0===ge?void 0:ge.complete)||void 0===K||K.call(ge)}_subscribe(ge){var K,he;return null!==(he=null===(K=this.source)||void 0===K?void 0:K.subscribe(ge))&&void 0!==he?he:$.Lc}}},305:(Xe,fe,A)=>{A.d(fe,{Hp:()=>ft,Lv:()=>he});var l=A(4674),$=A(7394),se=A(2653),Q=A(3894),z=A(2420);const Z=Ne("C",void 0,void 0);function Ne(te,ce,me){return{kind:te,value:ce,error:me}}var ge=A(7599),K=A(1441);class he extends $.w0{constructor(ce){super(),this.isStopped=!1,ce?(this.destination=ce,(0,$.Nn)(ce)&&ce.add(this)):this.destination=st}static create(ce,me,Oe){return new ft(ce,me,Oe)}next(ce){this.isStopped?Le(function Ge(te){return Ne("N",te,void 0)}(ce),this):this._next(ce)}error(ce){this.isStopped?Le(function le(te){return Ne("E",void 0,te)}(ce),this):(this.isStopped=!0,this._error(ce))}complete(){this.isStopped?Le(Z,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(ce){this.destination.next(ce)}_error(ce){try{this.destination.error(ce)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const Pe=Function.prototype.bind;function Re(te,ce){return Pe.call(te,ce)}class Ue{constructor(ce){this.partialObserver=ce}next(ce){const{partialObserver:me}=this;if(me.next)try{me.next(ce)}catch(Oe){be(Oe)}}error(ce){const{partialObserver:me}=this;if(me.error)try{me.error(ce)}catch(Oe){be(Oe)}else be(ce)}complete(){const{partialObserver:ce}=this;if(ce.complete)try{ce.complete()}catch(me){be(me)}}}class ft extends he{constructor(ce,me,Oe){let ye;if(super(),(0,l.m)(ce)||!ce)ye={next:ce??void 0,error:me??void 0,complete:Oe??void 0};else{let ie;this&&se.config.useDeprecatedNextContext?(ie=Object.create(ce),ie.unsubscribe=()=>this.unsubscribe(),ye={next:ce.next&&Re(ce.next,ie),error:ce.error&&Re(ce.error,ie),complete:ce.complete&&Re(ce.complete,ie)}):ye=ce}this.destination=new Ue(ye)}}function be(te){se.config.useDeprecatedSynchronousErrorHandling?(0,K.O)(te):(0,Q.h)(te)}function Le(te,ce){const{onStoppedNotification:me}=se.config;me&&ge.z.setTimeout(()=>me(te,ce))}const st={closed:!0,next:z.Z,error:function Ke(te){throw te},complete:z.Z}},7394:(Xe,fe,A)=>{A.d(fe,{Lc:()=>Z,w0:()=>z,Nn:()=>le});var l=A(4674);const se=(0,A(2306).d)(Ne=>function(K){Ne(this),this.message=K?`${K.length} errors occurred during unsubscription:\n${K.map((he,Pe)=>`${Pe+1}) ${he.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=K});var Q=A(9039);class z{constructor(ge){this.initialTeardown=ge,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let ge;if(!this.closed){this.closed=!0;const{_parentage:K}=this;if(K)if(this._parentage=null,Array.isArray(K))for(const Re of K)Re.remove(this);else K.remove(this);const{initialTeardown:he}=this;if((0,l.m)(he))try{he()}catch(Re){ge=Re instanceof se?Re.errors:[Re]}const{_finalizers:Pe}=this;if(Pe){this._finalizers=null;for(const Re of Pe)try{Ge(Re)}catch(Ue){ge=ge??[],Ue instanceof se?ge=[...ge,...Ue.errors]:ge.push(Ue)}}if(ge)throw new se(ge)}}add(ge){var K;if(ge&&ge!==this)if(this.closed)Ge(ge);else{if(ge instanceof z){if(ge.closed||ge._hasParent(this))return;ge._addParent(this)}(this._finalizers=null!==(K=this._finalizers)&&void 0!==K?K:[]).push(ge)}}_hasParent(ge){const{_parentage:K}=this;return K===ge||Array.isArray(K)&&K.includes(ge)}_addParent(ge){const{_parentage:K}=this;this._parentage=Array.isArray(K)?(K.push(ge),K):K?[K,ge]:ge}_removeParent(ge){const{_parentage:K}=this;K===ge?this._parentage=null:Array.isArray(K)&&(0,Q.P)(K,ge)}remove(ge){const{_finalizers:K}=this;K&&(0,Q.P)(K,ge),ge instanceof z&&ge._removeParent(this)}}z.EMPTY=(()=>{const Ne=new z;return Ne.closed=!0,Ne})();const Z=z.EMPTY;function le(Ne){return Ne instanceof z||Ne&&"closed"in Ne&&(0,l.m)(Ne.remove)&&(0,l.m)(Ne.add)&&(0,l.m)(Ne.unsubscribe)}function Ge(Ne){(0,l.m)(Ne)?Ne():Ne.unsubscribe()}},2653:(Xe,fe,A)=>{A.d(fe,{config:()=>l});const l={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},6232:(Xe,fe,A)=>{A.d(fe,{E:()=>$});const $=new(A(5592).y)(z=>z.complete())},7715:(Xe,fe,A)=>{A.d(fe,{D:()=>Oe});var l=A(4829),$=A(7103),se=A(9360),Q=A(8251);function z(ye,ie=0){return(0,se.e)((ee,ve)=>{ee.subscribe((0,Q.x)(ve,ht=>(0,$.f)(ve,ye,()=>ve.next(ht),ie),()=>(0,$.f)(ve,ye,()=>ve.complete(),ie),ht=>(0,$.f)(ve,ye,()=>ve.error(ht),ie)))})}function Z(ye,ie=0){return(0,se.e)((ee,ve)=>{ve.add(ye.schedule(()=>ee.subscribe(ve),ie))})}var Ne=A(5592),K=A(4971),he=A(4674);function Re(ye,ie){if(!ye)throw new Error("Iterable cannot be null");return new Ne.y(ee=>{(0,$.f)(ee,ie,()=>{const ve=ye[Symbol.asyncIterator]();(0,$.f)(ee,ie,()=>{ve.next().then(ht=>{ht.done?ee.complete():ee.next(ht.value)})},0,!0)})})}var Ue=A(8382),ft=A(4026),be=A(4266),Ke=A(3664),Le=A(5726),st=A(9853),te=A(541);function Oe(ye,ie){return ie?function me(ye,ie){if(null!=ye){if((0,Ue.c)(ye))return function le(ye,ie){return(0,l.Xf)(ye).pipe(Z(ie),z(ie))}(ye,ie);if((0,be.z)(ye))return function ge(ye,ie){return new Ne.y(ee=>{let ve=0;return ie.schedule(function(){ve===ye.length?ee.complete():(ee.next(ye[ve++]),ee.closed||this.schedule())})})}(ye,ie);if((0,ft.t)(ye))return function Ge(ye,ie){return(0,l.Xf)(ye).pipe(Z(ie),z(ie))}(ye,ie);if((0,Le.D)(ye))return Re(ye,ie);if((0,Ke.T)(ye))return function Pe(ye,ie){return new Ne.y(ee=>{let ve;return(0,$.f)(ee,ie,()=>{ve=ye[K.h](),(0,$.f)(ee,ie,()=>{let ht,mt;try{({value:ht,done:mt}=ve.next())}catch(gn){return void ee.error(gn)}mt?ee.complete():ee.next(ht)},0,!0)}),()=>(0,he.m)(ve?.return)&&ve.return()})}(ye,ie);if((0,te.L)(ye))return function ce(ye,ie){return Re((0,te.Q)(ye),ie)}(ye,ie)}throw(0,st.z)(ye)}(ye,ie):(0,l.Xf)(ye)}},4829:(Xe,fe,A)=>{A.d(fe,{Xf:()=>Pe});var l=A(7582),$=A(4266),se=A(4026),Q=A(5592),z=A(8382),Z=A(5726),le=A(9853),Ge=A(3664),Ne=A(541),ge=A(4674),K=A(3894),he=A(4850);function Pe(te){if(te instanceof Q.y)return te;if(null!=te){if((0,z.c)(te))return function Re(te){return new Q.y(ce=>{const me=te[he.L]();if((0,ge.m)(me.subscribe))return me.subscribe(ce);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(te);if((0,$.z)(te))return function Ue(te){return new Q.y(ce=>{for(let me=0;me{te.then(me=>{ce.closed||(ce.next(me),ce.complete())},me=>ce.error(me)).then(null,K.h)})}(te);if((0,Z.D)(te))return Ke(te);if((0,Ge.T)(te))return function be(te){return new Q.y(ce=>{for(const me of te)if(ce.next(me),ce.closed)return;ce.complete()})}(te);if((0,Ne.L)(te))return function Le(te){return Ke((0,Ne.Q)(te))}(te)}throw(0,le.z)(te)}function Ke(te){return new Q.y(ce=>{(function st(te,ce){var me,Oe,ye,ie;return(0,l.mG)(this,void 0,void 0,function*(){try{for(me=(0,l.KL)(te);!(Oe=yield me.next()).done;)if(ce.next(Oe.value),ce.closed)return}catch(ee){ye={error:ee}}finally{try{Oe&&!Oe.done&&(ie=me.return)&&(yield ie.call(me))}finally{if(ye)throw ye.error}}ce.complete()})})(te,ce).catch(me=>ce.error(me))})}},2096:(Xe,fe,A)=>{A.d(fe,{of:()=>se});var l=A(4564),$=A(7715);function se(...Q){const z=(0,l.yG)(Q);return(0,$.D)(Q,z)}},8251:(Xe,fe,A)=>{A.d(fe,{x:()=>$});var l=A(305);function $(Q,z,Z,le,Ge){return new se(Q,z,Z,le,Ge)}class se extends l.Lv{constructor(z,Z,le,Ge,Ne,ge){super(z),this.onFinalize=Ne,this.shouldUnsubscribe=ge,this._next=Z?function(K){try{Z(K)}catch(he){z.error(he)}}:super._next,this._error=Ge?function(K){try{Ge(K)}catch(he){z.error(he)}finally{this.unsubscribe()}}:super._error,this._complete=le?function(){try{le()}catch(K){z.error(K)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var z;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:Z}=this;super.unsubscribe(),!Z&&(null===(z=this.onFinalize)||void 0===z||z.call(this))}}}},6328:(Xe,fe,A)=>{A.d(fe,{b:()=>se});var l=A(1631),$=A(4674);function se(Q,z){return(0,$.m)(z)?(0,l.z)(Q,z,1):(0,l.z)(Q,1)}},2181:(Xe,fe,A)=>{A.d(fe,{h:()=>se});var l=A(9360),$=A(8251);function se(Q,z){return(0,l.e)((Z,le)=>{let Ge=0;Z.subscribe((0,$.x)(le,Ne=>Q.call(z,Ne,Ge++)&&le.next(Ne)))})}},4716:(Xe,fe,A)=>{A.d(fe,{x:()=>$});var l=A(9360);function $(se){return(0,l.e)((Q,z)=>{try{Q.subscribe(z)}finally{z.add(se)}})}},7398:(Xe,fe,A)=>{A.d(fe,{U:()=>se});var l=A(9360),$=A(8251);function se(Q,z){return(0,l.e)((Z,le)=>{let Ge=0;Z.subscribe((0,$.x)(le,Ne=>{le.next(Q.call(z,Ne,Ge++))}))})}},7537:(Xe,fe,A)=>{A.d(fe,{J:()=>se});var l=A(1631),$=A(2737);function se(Q=1/0){return(0,l.z)($.y,Q)}},1631:(Xe,fe,A)=>{A.d(fe,{z:()=>Ge});var l=A(7398),$=A(4829),se=A(9360),Q=A(7103),z=A(8251),le=A(4674);function Ge(Ne,ge,K=1/0){return(0,le.m)(ge)?Ge((he,Pe)=>(0,l.U)((Re,Ue)=>ge(he,Re,Pe,Ue))((0,$.Xf)(Ne(he,Pe))),K):("number"==typeof ge&&(K=ge),(0,se.e)((he,Pe)=>function Z(Ne,ge,K,he,Pe,Re,Ue,ft){const be=[];let Ke=0,Le=0,st=!1;const te=()=>{st&&!be.length&&!Ke&&ge.complete()},ce=Oe=>Ke{Re&&ge.next(Oe),Ke++;let ye=!1;(0,$.Xf)(K(Oe,Le++)).subscribe((0,z.x)(ge,ie=>{Pe?.(ie),Re?ce(ie):ge.next(ie)},()=>{ye=!0},void 0,()=>{if(ye)try{for(Ke--;be.length&&Keme(ie)):me(ie)}te()}catch(ie){ge.error(ie)}}))};return Ne.subscribe((0,z.x)(ge,ce,()=>{st=!0,te()})),()=>{ft?.()}}(he,Pe,Ne,K)))}},4664:(Xe,fe,A)=>{A.d(fe,{w:()=>Q});var l=A(4829),$=A(9360),se=A(8251);function Q(z,Z){return(0,$.e)((le,Ge)=>{let Ne=null,ge=0,K=!1;const he=()=>K&&!Ne&&Ge.complete();le.subscribe((0,se.x)(Ge,Pe=>{Ne?.unsubscribe();let Re=0;const Ue=ge++;(0,l.Xf)(z(Pe,Ue)).subscribe(Ne=(0,se.x)(Ge,ft=>Ge.next(Z?Z(Pe,ft,Ue,Re++):ft),()=>{Ne=null,he()}))},()=>{K=!0,he()}))})}},7599:(Xe,fe,A)=>{A.d(fe,{z:()=>l});const l={setTimeout($,se,...Q){const{delegate:z}=l;return z?.setTimeout?z.setTimeout($,se,...Q):setTimeout($,se,...Q)},clearTimeout($){const{delegate:se}=l;return(se?.clearTimeout||clearTimeout)($)},delegate:void 0}},4971:(Xe,fe,A)=>{A.d(fe,{h:()=>$});const $=function l(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},4850:(Xe,fe,A)=>{A.d(fe,{L:()=>l});const l="function"==typeof Symbol&&Symbol.observable||"@@observable"},4564:(Xe,fe,A)=>{A.d(fe,{_6:()=>Z,jO:()=>Q,yG:()=>z});var l=A(4674);function se(le){return le[le.length-1]}function Q(le){return(0,l.m)(se(le))?le.pop():void 0}function z(le){return function $(le){return le&&(0,l.m)(le.schedule)}(se(le))?le.pop():void 0}function Z(le,Ge){return"number"==typeof se(le)?le.pop():Ge}},7453:(Xe,fe,A)=>{A.d(fe,{D:()=>z});const{isArray:l}=Array,{getPrototypeOf:$,prototype:se,keys:Q}=Object;function z(le){if(1===le.length){const Ge=le[0];if(l(Ge))return{args:Ge,keys:null};if(function Z(le){return le&&"object"==typeof le&&$(le)===se}(Ge)){const Ne=Q(Ge);return{args:Ne.map(ge=>Ge[ge]),keys:Ne}}}return{args:le,keys:null}}},9039:(Xe,fe,A)=>{function l($,se){if($){const Q=$.indexOf(se);0<=Q&&$.splice(Q,1)}}A.d(fe,{P:()=>l})},2306:(Xe,fe,A)=>{function l($){const Q=$(z=>{Error.call(z),z.stack=(new Error).stack});return Q.prototype=Object.create(Error.prototype),Q.prototype.constructor=Q,Q}A.d(fe,{d:()=>l})},2714:(Xe,fe,A)=>{function l($,se){return $.reduce((Q,z,Z)=>(Q[z]=se[Z],Q),{})}A.d(fe,{n:()=>l})},1441:(Xe,fe,A)=>{A.d(fe,{O:()=>Q,x:()=>se});var l=A(2653);let $=null;function se(z){if(l.config.useDeprecatedSynchronousErrorHandling){const Z=!$;if(Z&&($={errorThrown:!1,error:null}),z(),Z){const{errorThrown:le,error:Ge}=$;if($=null,le)throw Ge}}else z()}function Q(z){l.config.useDeprecatedSynchronousErrorHandling&&$&&($.errorThrown=!0,$.error=z)}},7103:(Xe,fe,A)=>{function l($,se,Q,z=0,Z=!1){const le=se.schedule(function(){Q(),Z?$.add(this.schedule(null,z)):this.unsubscribe()},z);if($.add(le),!Z)return le}A.d(fe,{f:()=>l})},2737:(Xe,fe,A)=>{function l($){return $}A.d(fe,{y:()=>l})},4266:(Xe,fe,A)=>{A.d(fe,{z:()=>l});const l=$=>$&&"number"==typeof $.length&&"function"!=typeof $},5726:(Xe,fe,A)=>{A.d(fe,{D:()=>$});var l=A(4674);function $(se){return Symbol.asyncIterator&&(0,l.m)(se?.[Symbol.asyncIterator])}},4674:(Xe,fe,A)=>{function l($){return"function"==typeof $}A.d(fe,{m:()=>l})},8382:(Xe,fe,A)=>{A.d(fe,{c:()=>se});var l=A(4850),$=A(4674);function se(Q){return(0,$.m)(Q[l.L])}},3664:(Xe,fe,A)=>{A.d(fe,{T:()=>se});var l=A(4971),$=A(4674);function se(Q){return(0,$.m)(Q?.[l.h])}},4026:(Xe,fe,A)=>{A.d(fe,{t:()=>$});var l=A(4674);function $(se){return(0,l.m)(se?.then)}},541:(Xe,fe,A)=>{A.d(fe,{L:()=>Q,Q:()=>se});var l=A(7582),$=A(4674);function se(z){return(0,l.FC)(this,arguments,function*(){const le=z.getReader();try{for(;;){const{value:Ge,done:Ne}=yield(0,l.qq)(le.read());if(Ne)return yield(0,l.qq)(void 0);yield yield(0,l.qq)(Ge)}}finally{le.releaseLock()}})}function Q(z){return(0,$.m)(z?.getReader)}},9360:(Xe,fe,A)=>{A.d(fe,{A:()=>$,e:()=>se});var l=A(4674);function $(Q){return(0,l.m)(Q?.lift)}function se(Q){return z=>{if($(z))return z.lift(function(Z){try{return Q(Z,this)}catch(le){this.error(le)}});throw new TypeError("Unable to lift unknown Observable type")}}},7400:(Xe,fe,A)=>{A.d(fe,{Z:()=>Q});var l=A(7398);const{isArray:$}=Array;function Q(z){return(0,l.U)(Z=>function se(z,Z){return $(Z)?z(...Z):z(Z)}(z,Z))}},2420:(Xe,fe,A)=>{function l(){}A.d(fe,{Z:()=>l})},8407:(Xe,fe,A)=>{A.d(fe,{U:()=>se,z:()=>$});var l=A(2737);function $(...Q){return se(Q)}function se(Q){return 0===Q.length?l.y:1===Q.length?Q[0]:function(Z){return Q.reduce((le,Ge)=>Ge(le),Z)}}},3894:(Xe,fe,A)=>{A.d(fe,{h:()=>se});var l=A(2653),$=A(7599);function se(Q){$.z.setTimeout(()=>{const{onUnhandledError:z}=l.config;if(!z)throw Q;z(Q)})}},9853:(Xe,fe,A)=>{function l($){return new TypeError(`You provided ${null!==$&&"object"==typeof $?"an invalid object":`'${$}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}A.d(fe,{z:()=>l})},6814:(Xe,fe,A)=>{A.d(fe,{Do:()=>ft,EM:()=>ir,HT:()=>Q,JF:()=>dn,K0:()=>Z,Mx:()=>sn,O5:()=>Nr,PM:()=>ko,S$:()=>Pe,V_:()=>Ge,Ye:()=>be,ax:()=>An,b0:()=>Ue,bD:()=>Rt,q:()=>se,w_:()=>z});var l=A(4946);let $=null;function se(){return $}function Q(p){$||($=p)}class z{}const Z=new l.OlP("DocumentToken");let le=(()=>{class p{historyGo(m){throw new Error("Not implemented")}}return p.\u0275fac=function(m){return new(m||p)},p.\u0275prov=l.Yz7({token:p,factory:function(){return(0,l.f3M)(Ne)},providedIn:"platform"}),p})();const Ge=new l.OlP("Location Initialized");let Ne=(()=>{class p extends le{constructor(){super(),this._doc=(0,l.f3M)(Z),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return se().getBaseHref(this._doc)}onPopState(m){const w=se().getGlobalEventTarget(this._doc,"window");return w.addEventListener("popstate",m,!1),()=>w.removeEventListener("popstate",m)}onHashChange(m){const w=se().getGlobalEventTarget(this._doc,"window");return w.addEventListener("hashchange",m,!1),()=>w.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,w,T){this._history.pushState(m,w,T)}replaceState(m,w,T){this._history.replaceState(m,w,T)}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)},p.\u0275prov=l.Yz7({token:p,factory:function(){return new p},providedIn:"platform"}),p})();function ge(p,_){if(0==p.length)return _;if(0==_.length)return p;let m=0;return p.endsWith("/")&&m++,_.startsWith("/")&&m++,2==m?p+_.substring(1):1==m?p+_:p+"/"+_}function K(p){const _=p.match(/#|\?|$/),m=_&&_.index||p.length;return p.slice(0,m-("/"===p[m-1]?1:0))+p.slice(m)}function he(p){return p&&"?"!==p[0]?"?"+p:p}let Pe=(()=>{class p{historyGo(m){throw new Error("Not implemented")}}return p.\u0275fac=function(m){return new(m||p)},p.\u0275prov=l.Yz7({token:p,factory:function(){return(0,l.f3M)(Ue)},providedIn:"root"}),p})();const Re=new l.OlP("appBaseHref");let Ue=(()=>{class p extends Pe{constructor(m,w){super(),this._platformLocation=m,this._removeListenerFns=[],this._baseHref=w??this._platformLocation.getBaseHrefFromDOM()??(0,l.f3M)(Z).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 ge(this._baseHref,m)}path(m=!1){const w=this._platformLocation.pathname+he(this._platformLocation.search),T=this._platformLocation.hash;return T&&m?`${w}${T}`:w}pushState(m,w,T,U){const W=this.prepareExternalUrl(T+he(U));this._platformLocation.pushState(m,w,W)}replaceState(m,w,T,U){const W=this.prepareExternalUrl(T+he(U));this._platformLocation.replaceState(m,w,W)}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)(l.LFG(le),l.LFG(Re,8))},p.\u0275prov=l.Yz7({token:p,factory:p.\u0275fac,providedIn:"root"}),p})(),ft=(()=>{class p extends Pe{constructor(m,w){super(),this._platformLocation=m,this._baseHref="",this._removeListenerFns=[],null!=w&&(this._baseHref=w)}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 w=this._platformLocation.hash;return null==w&&(w="#"),w.length>0?w.substring(1):w}prepareExternalUrl(m){const w=ge(this._baseHref,m);return w.length>0?"#"+w:w}pushState(m,w,T,U){let W=this.prepareExternalUrl(T+he(U));0==W.length&&(W=this._platformLocation.pathname),this._platformLocation.pushState(m,w,W)}replaceState(m,w,T,U){let W=this.prepareExternalUrl(T+he(U));0==W.length&&(W=this._platformLocation.pathname),this._platformLocation.replaceState(m,w,W)}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)(l.LFG(le),l.LFG(Re,8))},p.\u0275prov=l.Yz7({token:p,factory:p.\u0275fac}),p})(),be=(()=>{class p{constructor(m){this._subject=new l.vpe,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=m;const w=this._locationStrategy.getBaseHref();this._basePath=function te(p){if(new RegExp("^(https?:)?//").test(p)){const[,m]=p.split(/\/\/[^\/]+/);return m}return p}(K(st(w))),this._locationStrategy.onPopState(T=>{this._subject.emit({url:this.path(!0),pop:!0,state:T.state,type:T.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(m=!1){return this.normalize(this._locationStrategy.path(m))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(m,w=""){return this.path()==this.normalize(m+he(w))}normalize(m){return p.stripTrailingSlash(function Le(p,_){if(!p||!_.startsWith(p))return _;const m=_.substring(p.length);return""===m||["/",";","?","#"].includes(m[0])?m:_}(this._basePath,st(m)))}prepareExternalUrl(m){return m&&"/"!==m[0]&&(m="/"+m),this._locationStrategy.prepareExternalUrl(m)}go(m,w="",T=null){this._locationStrategy.pushState(T,"",m,w),this._notifyUrlChangeListeners(this.prepareExternalUrl(m+he(w)),T)}replaceState(m,w="",T=null){this._locationStrategy.replaceState(T,"",m,w),this._notifyUrlChangeListeners(this.prepareExternalUrl(m+he(w)),T)}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(w=>{this._notifyUrlChangeListeners(w.url,w.state)})),()=>{const w=this._urlChangeListeners.indexOf(m);this._urlChangeListeners.splice(w,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(m="",w){this._urlChangeListeners.forEach(T=>T(m,w))}subscribe(m,w,T){return this._subject.subscribe({next:m,error:w,complete:T})}}return p.normalizeQueryParams=he,p.joinWithSlash=ge,p.stripTrailingSlash=K,p.\u0275fac=function(m){return new(m||p)(l.LFG(Pe))},p.\u0275prov=l.Yz7({token:p,factory:function(){return function Ke(){return new be((0,l.LFG)(Pe))}()},providedIn:"root"}),p})();function st(p){return p.replace(/\/index.html$/,"")}function sn(p,_){_=encodeURIComponent(_);for(const m of p.split(";")){const w=m.indexOf("="),[T,U]=-1==w?[m,""]:[m.slice(0,w),m.slice(w+1)];if(T.trim()===_)return decodeURIComponent(U)}return null}class Wt{constructor(_,m,w,T){this.$implicit=_,this.ngForOf=m,this.index=w,this.count=T}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 An=(()=>{class p{set ngForOf(m){this._ngForOf=m,this._ngForOfDirty=!0}set ngForTrackBy(m){this._trackByFn=m}get ngForTrackBy(){return this._trackByFn}constructor(m,w,T){this._viewContainer=m,this._template=w,this._differs=T,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}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 w=this._viewContainer;m.forEachOperation((T,U,W)=>{if(null==T.previousIndex)w.createEmbeddedView(this._template,new Wt(T.item,this._ngForOf,-1,-1),null===W?void 0:W);else if(null==W)w.remove(null===U?void 0:U);else if(null!==U){const He=w.get(U);w.move(He,W),Ar(He,T)}});for(let T=0,U=w.length;T{Ar(w.get(T.currentIndex),T)})}static ngTemplateContextGuard(m,w){return!0}}return p.\u0275fac=function(m){return new(m||p)(l.Y36(l.s_b),l.Y36(l.Rgc),l.Y36(l.ZZ4))},p.\u0275dir=l.lG2({type:p,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0}),p})();function Ar(p,_){p.context.$implicit=_.item}let Nr=(()=>{class p{constructor(m,w){this._viewContainer=m,this._context=new Rr,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=w}set ngIf(m){this._context.$implicit=this._context.ngIf=m,this._updateView()}set ngIfThen(m){Xo("ngIfThen",m),this._thenTemplateRef=m,this._thenViewRef=null,this._updateView()}set ngIfElse(m){Xo("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,w){return!0}}return p.\u0275fac=function(m){return new(m||p)(l.Y36(l.s_b),l.Y36(l.Rgc))},p.\u0275dir=l.lG2({type:p,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0}),p})();class Rr{constructor(){this.$implicit=null,this.ngIf=null}}function Xo(p,_){if(_&&!_.createEmbeddedView)throw new Error(`${p} must be a TemplateRef, but received '${(0,l.AaK)(_)}'.`)}const Rt="browser",Mr="server";function ko(p){return p===Mr}let ir=(()=>{class p{}return p.\u0275prov=(0,l.Yz7)({token:p,providedIn:"root",factory:()=>new Ln((0,l.LFG)(Z),window)}),p})();class Ln{constructor(_,m){this.document=_,this.window=m,this.offset=()=>[0,0]}setOffset(_){this.offset=Array.isArray(_)?()=>_:_}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(_){this.supportsScrolling()&&this.window.scrollTo(_[0],_[1])}scrollToAnchor(_){if(!this.supportsScrolling())return;const m=function zr(p,_){const m=p.getElementById(_)||p.getElementsByName(_)[0];if(m)return m;if("function"==typeof p.createTreeWalker&&p.body&&"function"==typeof p.body.attachShadow){const w=p.createTreeWalker(p.body,NodeFilter.SHOW_ELEMENT);let T=w.currentNode;for(;T;){const U=T.shadowRoot;if(U){const W=U.getElementById(_)||U.querySelector(`[name="${_}"]`);if(W)return W}T=w.nextNode()}}return null}(this.document,_);m&&(this.scrollToElement(m),m.focus())}setHistoryScrollRestoration(_){if(this.supportScrollRestoration()){const m=this.window.history;m&&m.scrollRestoration&&(m.scrollRestoration=_)}}scrollToElement(_){const m=_.getBoundingClientRect(),w=m.left+this.window.pageXOffset,T=m.top+this.window.pageYOffset,U=this.offset();this.window.scrollTo(w-U[0],T-U[1])}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const _=Lr(this.window.history)||Lr(Object.getPrototypeOf(this.window.history));return!(!_||!_.writable&&!_.set)}catch{return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch{return!1}}}function Lr(p){return Object.getOwnPropertyDescriptor(p,"scrollRestoration")}class dn{}},9862:(Xe,fe,A)=>{A.d(fe,{JF:()=>V,LE:()=>te,WM:()=>Pe,eN:()=>re});var l=A(4946),$=A(2096),se=A(7715),Q=A(5592),z=A(6328),Z=A(2181),le=A(7398),Ge=A(4716),Ne=A(4664),ge=A(6814);class K{}class he{}class Pe{constructor(R){this.normalizedNames=new Map,this.lazyUpdate=null,R?"string"==typeof R?this.lazyInit=()=>{this.headers=new Map,R.split("\n").forEach(O=>{const ae=O.indexOf(":");if(ae>0){const pe=O.slice(0,ae),_e=pe.toLowerCase(),De=O.slice(ae+1).trim();this.maybeSetNormalizedName(pe,_e),this.headers.has(_e)?this.headers.get(_e).push(De):this.headers.set(_e,[De])}})}:typeof Headers<"u"&&R instanceof Headers?(this.headers=new Map,R.forEach((O,ae)=>{this.setHeaderEntries(ae,O)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(R).forEach(([O,ae])=>{this.setHeaderEntries(O,ae)})}:this.headers=new Map}has(R){return this.init(),this.headers.has(R.toLowerCase())}get(R){this.init();const O=this.headers.get(R.toLowerCase());return O&&O.length>0?O[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(R){return this.init(),this.headers.get(R.toLowerCase())||null}append(R,O){return this.clone({name:R,value:O,op:"a"})}set(R,O){return this.clone({name:R,value:O,op:"s"})}delete(R,O){return this.clone({name:R,value:O,op:"d"})}maybeSetNormalizedName(R,O){this.normalizedNames.has(O)||this.normalizedNames.set(O,R)}init(){this.lazyInit&&(this.lazyInit instanceof Pe?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(R=>this.applyUpdate(R)),this.lazyUpdate=null))}copyFrom(R){R.init(),Array.from(R.headers.keys()).forEach(O=>{this.headers.set(O,R.headers.get(O)),this.normalizedNames.set(O,R.normalizedNames.get(O))})}clone(R){const O=new Pe;return O.lazyInit=this.lazyInit&&this.lazyInit instanceof Pe?this.lazyInit:this,O.lazyUpdate=(this.lazyUpdate||[]).concat([R]),O}applyUpdate(R){const O=R.name.toLowerCase();switch(R.op){case"a":case"s":let ae=R.value;if("string"==typeof ae&&(ae=[ae]),0===ae.length)return;this.maybeSetNormalizedName(R.name,O);const pe=("a"===R.op?this.headers.get(O):void 0)||[];pe.push(...ae),this.headers.set(O,pe);break;case"d":const _e=R.value;if(_e){let De=this.headers.get(O);if(!De)return;De=De.filter(lt=>-1===_e.indexOf(lt)),0===De.length?(this.headers.delete(O),this.normalizedNames.delete(O)):this.headers.set(O,De)}else this.headers.delete(O),this.normalizedNames.delete(O)}}setHeaderEntries(R,O){const ae=(Array.isArray(O)?O:[O]).map(_e=>_e.toString()),pe=R.toLowerCase();this.headers.set(pe,ae),this.maybeSetNormalizedName(R,pe)}forEach(R){this.init(),Array.from(this.normalizedNames.keys()).forEach(O=>R(this.normalizedNames.get(O),this.headers.get(O)))}}class Ue{encodeKey(R){return Le(R)}encodeValue(R){return Le(R)}decodeKey(R){return decodeURIComponent(R)}decodeValue(R){return decodeURIComponent(R)}}const be=/%(\d[a-f0-9])/gi,Ke={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function Le(H){return encodeURIComponent(H).replace(be,(R,O)=>Ke[O]??R)}function st(H){return`${H}`}class te{constructor(R={}){if(this.updates=null,this.cloneFrom=null,this.encoder=R.encoder||new Ue,R.fromString){if(R.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function ft(H,R){const O=new Map;return H.length>0&&H.replace(/^\?/,"").split("&").forEach(pe=>{const _e=pe.indexOf("="),[De,lt]=-1==_e?[R.decodeKey(pe),""]:[R.decodeKey(pe.slice(0,_e)),R.decodeValue(pe.slice(_e+1))],we=O.get(De)||[];we.push(lt),O.set(De,we)}),O}(R.fromString,this.encoder)}else R.fromObject?(this.map=new Map,Object.keys(R.fromObject).forEach(O=>{const ae=R.fromObject[O],pe=Array.isArray(ae)?ae.map(st):[st(ae)];this.map.set(O,pe)})):this.map=null}has(R){return this.init(),this.map.has(R)}get(R){this.init();const O=this.map.get(R);return O?O[0]:null}getAll(R){return this.init(),this.map.get(R)||null}keys(){return this.init(),Array.from(this.map.keys())}append(R,O){return this.clone({param:R,value:O,op:"a"})}appendAll(R){const O=[];return Object.keys(R).forEach(ae=>{const pe=R[ae];Array.isArray(pe)?pe.forEach(_e=>{O.push({param:ae,value:_e,op:"a"})}):O.push({param:ae,value:pe,op:"a"})}),this.clone(O)}set(R,O){return this.clone({param:R,value:O,op:"s"})}delete(R,O){return this.clone({param:R,value:O,op:"d"})}toString(){return this.init(),this.keys().map(R=>{const O=this.encoder.encodeKey(R);return this.map.get(R).map(ae=>O+"="+this.encoder.encodeValue(ae)).join("&")}).filter(R=>""!==R).join("&")}clone(R){const O=new te({encoder:this.encoder});return O.cloneFrom=this.cloneFrom||this,O.updates=(this.updates||[]).concat(R),O}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(R=>this.map.set(R,this.cloneFrom.map.get(R))),this.updates.forEach(R=>{switch(R.op){case"a":case"s":const O=("a"===R.op?this.map.get(R.param):void 0)||[];O.push(st(R.value)),this.map.set(R.param,O);break;case"d":if(void 0===R.value){this.map.delete(R.param);break}{let ae=this.map.get(R.param)||[];const pe=ae.indexOf(st(R.value));-1!==pe&&ae.splice(pe,1),ae.length>0?this.map.set(R.param,ae):this.map.delete(R.param)}}}),this.cloneFrom=this.updates=null)}}class me{constructor(){this.map=new Map}set(R,O){return this.map.set(R,O),this}get(R){return this.map.has(R)||this.map.set(R,R.defaultValue()),this.map.get(R)}delete(R){return this.map.delete(R),this}has(R){return this.map.has(R)}keys(){return this.map.keys()}}function ye(H){return typeof ArrayBuffer<"u"&&H instanceof ArrayBuffer}function ie(H){return typeof Blob<"u"&&H instanceof Blob}function ee(H){return typeof FormData<"u"&&H instanceof FormData}class ht{constructor(R,O,ae,pe){let _e;if(this.url=O,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=R.toUpperCase(),function Oe(H){switch(H){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||pe?(this.body=void 0!==ae?ae:null,_e=pe):_e=ae,_e&&(this.reportProgress=!!_e.reportProgress,this.withCredentials=!!_e.withCredentials,_e.responseType&&(this.responseType=_e.responseType),_e.headers&&(this.headers=_e.headers),_e.context&&(this.context=_e.context),_e.params&&(this.params=_e.params)),this.headers||(this.headers=new Pe),this.context||(this.context=new me),this.params){const De=this.params.toString();if(0===De.length)this.urlWithParams=O;else{const lt=O.indexOf("?");this.urlWithParams=O+(-1===lt?"?":lten.set(pn,R.setHeaders[pn]),we)),R.setParams&&(Nt=Object.keys(R.setParams).reduce((en,pn)=>en.set(pn,R.setParams[pn]),Nt)),new ht(O,ae,_e,{params:Nt,headers:we,context:Wn,reportProgress:lt,responseType:pe,withCredentials:De})}}var mt=(()=>((mt=mt||{})[mt.Sent=0]="Sent",mt[mt.UploadProgress=1]="UploadProgress",mt[mt.ResponseHeader=2]="ResponseHeader",mt[mt.DownloadProgress=3]="DownloadProgress",mt[mt.Response=4]="Response",mt[mt.User=5]="User",mt))();class gn{constructor(R,O=200,ae="OK"){this.headers=R.headers||new Pe,this.status=void 0!==R.status?R.status:O,this.statusText=R.statusText||ae,this.url=R.url||null,this.ok=this.status>=200&&this.status<300}}class Se extends gn{constructor(R={}){super(R),this.type=mt.ResponseHeader}clone(R={}){return new Se({headers:R.headers||this.headers,status:void 0!==R.status?R.status:this.status,statusText:R.statusText||this.statusText,url:R.url||this.url||void 0})}}class j extends gn{constructor(R={}){super(R),this.type=mt.Response,this.body=void 0!==R.body?R.body:null}clone(R={}){return new j({body:void 0!==R.body?R.body:this.body,headers:R.headers||this.headers,status:void 0!==R.status?R.status:this.status,statusText:R.statusText||this.statusText,url:R.url||this.url||void 0})}}class P extends gn{constructor(R){super(R,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${R.url||"(unknown url)"}`:`Http failure response for ${R.url||"(unknown url)"}: ${R.status} ${R.statusText}`,this.error=R.error||null}}function B(H,R){return{body:R,headers:H.headers,context:H.context,observe:H.observe,params:H.params,reportProgress:H.reportProgress,responseType:H.responseType,withCredentials:H.withCredentials}}let re=(()=>{class H{constructor(O){this.handler=O}request(O,ae,pe={}){let _e;if(O instanceof ht)_e=O;else{let we,Nt;we=pe.headers instanceof Pe?pe.headers:new Pe(pe.headers),pe.params&&(Nt=pe.params instanceof te?pe.params:new te({fromObject:pe.params})),_e=new ht(O,ae,void 0!==pe.body?pe.body:null,{headers:we,context:pe.context,params:Nt,reportProgress:pe.reportProgress,responseType:pe.responseType||"json",withCredentials:pe.withCredentials})}const De=(0,$.of)(_e).pipe((0,z.b)(we=>this.handler.handle(we)));if(O instanceof ht||"events"===pe.observe)return De;const lt=De.pipe((0,Z.h)(we=>we instanceof j));switch(pe.observe||"body"){case"body":switch(_e.responseType){case"arraybuffer":return lt.pipe((0,le.U)(we=>{if(null!==we.body&&!(we.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return we.body}));case"blob":return lt.pipe((0,le.U)(we=>{if(null!==we.body&&!(we.body instanceof Blob))throw new Error("Response is not a Blob.");return we.body}));case"text":return lt.pipe((0,le.U)(we=>{if(null!==we.body&&"string"!=typeof we.body)throw new Error("Response is not a string.");return we.body}));default:return lt.pipe((0,le.U)(we=>we.body))}case"response":return lt;default:throw new Error(`Unreachable: unhandled observe type ${pe.observe}}`)}}delete(O,ae={}){return this.request("DELETE",O,ae)}get(O,ae={}){return this.request("GET",O,ae)}head(O,ae={}){return this.request("HEAD",O,ae)}jsonp(O,ae){return this.request("JSONP",O,{params:(new te).append(ae,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(O,ae={}){return this.request("OPTIONS",O,ae)}patch(O,ae,pe={}){return this.request("PATCH",O,B(pe,ae))}post(O,ae,pe={}){return this.request("POST",O,B(pe,ae))}put(O,ae,pe={}){return this.request("PUT",O,B(pe,ae))}}return H.\u0275fac=function(O){return new(O||H)(l.LFG(K))},H.\u0275prov=l.Yz7({token:H,factory:H.\u0275fac}),H})();function dt(H,R){return R(H)}function it(H,R){return(O,ae)=>R.intercept(O,{handle:pe=>H(pe,ae)})}const mn=new l.OlP(""),nn=new l.OlP(""),rn=new l.OlP("");function Un(){let H=null;return(R,O)=>{null===H&&(H=((0,l.f3M)(mn,{optional:!0})??[]).reduceRight(it,dt));const ae=(0,l.f3M)(l.HDt),pe=ae.add();return H(R,O).pipe((0,Ge.x)(()=>ae.remove(pe)))}}let Xt=(()=>{class H extends K{constructor(O,ae){super(),this.backend=O,this.injector=ae,this.chain=null,this.pendingTasks=(0,l.f3M)(l.HDt)}handle(O){if(null===this.chain){const pe=Array.from(new Set([...this.injector.get(nn),...this.injector.get(rn,[])]));this.chain=pe.reduceRight((_e,De)=>function Ht(H,R,O){return(ae,pe)=>O.runInContext(()=>R(ae,_e=>H(_e,pe)))}(_e,De,this.injector),dt)}const ae=this.pendingTasks.add();return this.chain(O,pe=>this.backend.handle(pe)).pipe((0,Ge.x)(()=>this.pendingTasks.remove(ae)))}}return H.\u0275fac=function(O){return new(O||H)(l.LFG(he),l.LFG(l.lqb))},H.\u0275prov=l.Yz7({token:H,factory:H.\u0275fac}),H})();const Qt=/^\)\]\}',?\n/;let Pn=(()=>{class H{constructor(O){this.xhrFactory=O}handle(O){if("JSONP"===O.method)throw new l.vHH(-2800,!1);const ae=this.xhrFactory;return(ae.\u0275loadImpl?(0,se.D)(ae.\u0275loadImpl()):(0,$.of)(null)).pipe((0,Ne.w)(()=>new Q.y(_e=>{const De=ae.build();if(De.open(O.method,O.urlWithParams),O.withCredentials&&(De.withCredentials=!0),O.headers.forEach((At,xt)=>De.setRequestHeader(At,xt.join(","))),O.headers.has("Accept")||De.setRequestHeader("Accept","application/json, text/plain, */*"),!O.headers.has("Content-Type")){const At=O.detectContentTypeHeader();null!==At&&De.setRequestHeader("Content-Type",At)}if(O.responseType){const At=O.responseType.toLowerCase();De.responseType="json"!==At?At:"text"}const lt=O.serializeBody();let we=null;const Nt=()=>{if(null!==we)return we;const At=De.statusText||"OK",xt=new Pe(De.getAllResponseHeaders()),Dn=function xn(H){return"responseURL"in H&&H.responseURL?H.responseURL:/^X-Request-URL:/m.test(H.getAllResponseHeaders())?H.getResponseHeader("X-Request-URL"):null}(De)||O.url;return we=new Se({headers:xt,status:De.status,statusText:At,url:Dn}),we},Wn=()=>{let{headers:At,status:xt,statusText:Dn,url:Ir}=Nt(),Wt=null;204!==xt&&(Wt=typeof De.response>"u"?De.responseText:De.response),0===xt&&(xt=Wt?200:0);let An=xt>=200&&xt<300;if("json"===O.responseType&&"string"==typeof Wt){const Ar=Wt;Wt=Wt.replace(Qt,"");try{Wt=""!==Wt?JSON.parse(Wt):null}catch(Tr){Wt=Ar,An&&(An=!1,Wt={error:Tr,text:Wt})}}An?(_e.next(new j({body:Wt,headers:At,status:xt,statusText:Dn,url:Ir||void 0})),_e.complete()):_e.error(new P({error:Wt,headers:At,status:xt,statusText:Dn,url:Ir||void 0}))},en=At=>{const{url:xt}=Nt(),Dn=new P({error:At,status:De.status||0,statusText:De.statusText||"Unknown Error",url:xt||void 0});_e.error(Dn)};let pn=!1;const sn=At=>{pn||(_e.next(Nt()),pn=!0);let xt={type:mt.DownloadProgress,loaded:At.loaded};At.lengthComputable&&(xt.total=At.total),"text"===O.responseType&&De.responseText&&(xt.partialText=De.responseText),_e.next(xt)},an=At=>{let xt={type:mt.UploadProgress,loaded:At.loaded};At.lengthComputable&&(xt.total=At.total),_e.next(xt)};return De.addEventListener("load",Wn),De.addEventListener("error",en),De.addEventListener("timeout",en),De.addEventListener("abort",en),O.reportProgress&&(De.addEventListener("progress",sn),null!==lt&&De.upload&&De.upload.addEventListener("progress",an)),De.send(lt),_e.next({type:mt.Sent}),()=>{De.removeEventListener("error",en),De.removeEventListener("abort",en),De.removeEventListener("load",Wn),De.removeEventListener("timeout",en),O.reportProgress&&(De.removeEventListener("progress",sn),null!==lt&&De.upload&&De.upload.removeEventListener("progress",an)),De.readyState!==De.DONE&&De.abort()}})))}}return H.\u0275fac=function(O){return new(O||H)(l.LFG(ge.JF))},H.\u0275prov=l.Yz7({token:H,factory:H.\u0275fac}),H})();const $t=new l.OlP("XSRF_ENABLED"),Ot=new l.OlP("XSRF_COOKIE_NAME",{providedIn:"root",factory:()=>"XSRF-TOKEN"}),Me=new l.OlP("XSRF_HEADER_NAME",{providedIn:"root",factory:()=>"X-XSRF-TOKEN"});class wr{}let Yn=(()=>{class H{constructor(O,ae,pe){this.doc=O,this.platform=ae,this.cookieName=pe,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const O=this.doc.cookie||"";return O!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,ge.Mx)(O,this.cookieName),this.lastCookieString=O),this.lastToken}}return H.\u0275fac=function(O){return new(O||H)(l.LFG(ge.K0),l.LFG(l.Lbi),l.LFG(Ot))},H.\u0275prov=l.Yz7({token:H,factory:H.\u0275fac}),H})();function Gt(H,R){const O=H.url.toLowerCase();if(!(0,l.f3M)($t)||"GET"===H.method||"HEAD"===H.method||O.startsWith("http://")||O.startsWith("https://"))return R(H);const ae=(0,l.f3M)(wr).getToken(),pe=(0,l.f3M)(Me);return null!=ae&&!H.headers.has(pe)&&(H=H.clone({headers:H.headers.set(pe,ae)})),R(H)}var yt=(()=>((yt=yt||{})[yt.Interceptors=0]="Interceptors",yt[yt.LegacyInterceptors=1]="LegacyInterceptors",yt[yt.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",yt[yt.NoXsrfProtection=3]="NoXsrfProtection",yt[yt.JsonpSupport=4]="JsonpSupport",yt[yt.RequestsMadeViaParent=5]="RequestsMadeViaParent",yt[yt.Fetch=6]="Fetch",yt))();function vt(H,R){return{\u0275kind:H,\u0275providers:R}}function Kn(...H){const R=[re,Pn,Xt,{provide:K,useExisting:Xt},{provide:he,useExisting:Pn},{provide:nn,useValue:Gt,multi:!0},{provide:$t,useValue:!0},{provide:wr,useClass:Yn}];for(const O of H)R.push(...O.\u0275providers);return(0,l.MR2)(R)}const vn=new l.OlP("LEGACY_INTERCEPTOR_FN");let V=(()=>{class H{}return H.\u0275fac=function(O){return new(O||H)},H.\u0275mod=l.oAB({type:H}),H.\u0275inj=l.cJS({providers:[Kn(vt(yt.LegacyInterceptors,[{provide:vn,useFactory:Un},{provide:nn,useExisting:vn,multi:!0}]))]}),H})()},4946:(Xe,fe,A)=>{A.d(fe,{tb:()=>ad,AFp:()=>Wf,ip1:()=>Tm,z2F:()=>ds,Ojb:()=>aD,sBO:()=>K0,Sil:()=>A0,EJc:()=>S0,Xts:()=>$s,SBq:()=>qs,lqb:()=>hi,qLn:()=>Wi,vpe:()=>Co,XFs:()=>Me,OlP:()=>Lt,zs3:()=>Yo,ZZ4:()=>hd,aQg:()=>pd,soG:()=>Fu,YKP:()=>Lg,h0i:()=>us,PXZ:()=>B0,R0b:()=>fr,FiY:()=>$a,Lbi:()=>Vl,g9A:()=>qf,Qsj:()=>_D,FYo:()=>th,JOm:()=>go,tp0:()=>Ga,Rgc:()=>da,dDg:()=>L0,eoX:()=>jm,GfV:()=>nh,s_b:()=>xu,ifc:()=>De,VuI:()=>vM,MMx:()=>Vg,Lck:()=>sw,Gpc:()=>ie,RIp:()=>Bf,f3M:()=>nt,$WT:()=>xr,MR2:()=>Tl,qFp:()=>CM,rg0:()=>Da,c2e:()=>Nm,zSh:()=>xl,HDt:()=>Rm,wAp:()=>Qe,vHH:()=>Se,lri:()=>Hm,rWj:()=>Bm,cg1:()=>Oc,kL8:()=>ag,dqk:()=>vt,iPO:()=>$0,Z0I:()=>hr,eJc:()=>Xc,QGY:()=>_c,F4k:()=>fp,RDi:()=>Tv,AaK:()=>me,qOj:()=>uc,Xq5:()=>qh,TTD:()=>Ti,_Bn:()=>Fg,jDz:()=>Hg,xp6:()=>ph,uIk:()=>cc,ekj:()=>Ic,Suo:()=>um,Xpm:()=>Qo,lG2:()=>Lo,Yz7:()=>St,cJS:()=>ke,oAB:()=>io,Yjl:()=>Mo,Y36:()=>Yi,_UZ:()=>vc,qZA:()=>bu,TgZ:()=>Mu,n5z:()=>Fd,LFG:()=>Ze,$8M:()=>nl,$Z:()=>_h,NdJ:()=>Ec,CRH:()=>lm,oxw:()=>yp,Q6J:()=>mc,iGM:()=>am,LSH:()=>Al,P3R:()=>Lf,YNc:()=>sp,_uU:()=>jp,Oqu:()=>Tc,AsE:()=>Rc});var l=A(8645),$=A(7394),se=A(5619),Q=A(5592),z=A(7537),Z=A(4829),le=A(6232),Ge=A(4564),Ne=A(7715),K=A(2096),he=A(305),Pe=A(9360);function Re(e={}){const{connector:t=(()=>new l.x),resetOnError:n=!0,resetOnComplete:r=!0,resetOnRefCountZero:o=!0}=e;return i=>{let s,c,h,D=0,E=!1,I=!1;const x=()=>{c?.unsubscribe(),c=void 0},k=()=>{x(),s=h=void 0,E=I=!1},X=()=>{const ue=s;k(),ue?.unsubscribe()};return(0,Pe.e)((ue,Te)=>{D++,!I&&!E&&x();const je=h=h??t();Te.add(()=>{D--,0===D&&!I&&!E&&(c=Ue(X,o))}),je.subscribe(Te),!s&&D>0&&(s=new he.Hp({next:J=>je.next(J),error:J=>{I=!0,x(),c=Ue(k,n,J),je.error(J)},complete:()=>{E=!0,x(),c=Ue(k,r),je.complete()}}),(0,Z.Xf)(ue).subscribe(s))})(i)}}function Ue(e,t,...n){if(!0===t)return void e();if(!1===t)return;const r=new he.Hp({next:()=>{r.unsubscribe(),e()}});return t(...n).subscribe(r)}var ft=A(4664),be=A(2737),Ke=A(8251);function st(e,t){return e===t}function te(e){for(let t in e)if(e[t]===te)return t;throw Error("Could not find renamed property on target object.")}function ce(e,t){for(const n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function me(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(me).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 Oe(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const ye=te({__forward_ref__:te});function ie(e){return e.__forward_ref__=ie,e.toString=function(){return me(this())},e}function ee(e){return ve(e)?e():e}function ve(e){return"function"==typeof e&&e.hasOwnProperty(ye)&&e.__forward_ref__===ie}function ht(e){return e&&!!e.\u0275providers}const gn="https://g.co/ng/security#xss";class Se extends Error{constructor(t,n){super(function j(e,t){return`NG0${Math.abs(e)}${t?": "+t:""}`}(t,n)),this.code=t}}function P(e){return"string"==typeof e?e:null==e?"":String(e)}function Fe(e,t){throw new Se(-201,!1)}function ln(e,t){null==e&&function Ie(e,t,n,r){throw new Error(`ASSERTION ERROR: ${e}`+(null==r?"":` [Expected=> ${n} ${r} ${t} <=Actual]`))}(t,e,null,"!=")}function St(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function ke(e){return{providers:e.providers||[],imports:e.imports||[]}}function We(e){return Qt(e,$t)||Qt(e,Ot)}function hr(e){return null!==We(e)}function Qt(e,t){return e.hasOwnProperty(t)?e[t]:null}function Pn(e){return e&&(e.hasOwnProperty(Br)||e.hasOwnProperty(_o))?e[Br]:null}const $t=te({\u0275prov:te}),Br=te({\u0275inj:te}),Ot=te({ngInjectableDef:te}),_o=te({ngInjectorDef:te});var Me=(()=>((Me=Me||{})[Me.Default=0]="Default",Me[Me.Host=1]="Host",Me[Me.Self=2]="Self",Me[Me.SkipSelf=4]="SkipSelf",Me[Me.Optional=8]="Optional",Me))();let wr;function Gt(e){const t=wr;return wr=e,t}function ct(e,t,n){const r=We(e);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:n&Me.Optional?null:void 0!==t?t:void Fe(me(e))}const vt=(()=>typeof globalThis<"u"&&globalThis||typeof global<"u"&&global||typeof window<"u"&&window||typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self)(),Sn={},Gn="__NG_DI_FLAG__",In="ngTempTokenPath",Y=/\n/gm,N="__source";let V;function Ee(e){const t=V;return V=e,t}function ze(e,t=Me.Default){if(void 0===V)throw new Se(-203,!1);return null===V?ct(e,void 0,t):V.get(e,t&Me.Optional?null:void 0,t)}function Ze(e,t=Me.Default){return(function Yn(){return wr}()||ze)(ee(e),t)}function nt(e,t=Me.Default){return Ze(e,on(t))}function on(e){return typeof e>"u"||"number"==typeof e?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function zn(e){const t=[];for(let n=0;n((_e=_e||{})[_e.OnPush=0]="OnPush",_e[_e.Default=1]="Default",_e))(),De=(()=>{return(e=De||(De={}))[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",De;var e})();const lt={},we=[],Nt=te({\u0275cmp:te}),Wn=te({\u0275dir:te}),en=te({\u0275pipe:te}),pn=te({\u0275mod:te}),sn=te({\u0275fac:te}),an=te({__NG_ELEMENT_ID__:te}),At=te({__NG_ENV_ID__:te});function xt(e,t,n){let r=e.length;for(;;){const o=e.indexOf(t,n);if(-1===o)return o;if(0===o||e.charCodeAt(o-1)<=32){const i=t.length;if(o+i===r||e.charCodeAt(o+i)<=32)return o}n=o+1}}function Dn(e,t,n){let r=0;for(;rt){s=i-1;break}}}for(;ii?"":o[I+1].toLowerCase();const k=8&r?x:null;if(k&&-1!==xt(k,D,0)||2&r&&D!==x){if(un(r))return!1;s=!0}}}}else{if(!s&&!un(r)&&!un(h))return!1;if(s&&un(h))continue;s=!1,r=h|1&r}}return un(r)||s}function un(e){return 0==(1&e)}function ro(e,t,n,r){if(null===t)return-1;let o=0;if(r||!n){let i=!1;for(;o-1)for(n++;n0?'="'+c+'"':"")+"]"}else 8&r?o+="."+s:4&r&&(o+=" "+s);else""!==o&&!un(s)&&(t+=$r(i,o),o=""),r=s,i=i||!un(r);n++}return""!==o&&(t+=$r(i,o)),t}function Qo(e){return pe(()=>{const t=bo(e),n={...t,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===_e.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||De.Emulated,styles:e.styles||we,_:null,schemas:e.schemas||null,tView:null,id:""};Gr(n);const r=e.dependencies;return n.directiveDefs=pr(r,!1),n.pipeDefs=pr(r,!0),n.id=function gr(e){let t=0;const n=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,e.consts,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery].join("|");for(const o of n)t=Math.imul(31,t)+o.charCodeAt(0)<<0;return t+=2147483648,"c"+t}(n),n})}function Po(e){return _t(e)||cn(e)}function ti(e){return null!==e}function io(e){return pe(()=>({type:e.type,bootstrap:e.bootstrap||we,declarations:e.declarations||we,imports:e.imports||we,exports:e.exports||we,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function wo(e,t){if(null==e)return lt;const n={};for(const r in e)if(e.hasOwnProperty(r)){let o=e[r],i=o;Array.isArray(o)&&(i=o[1],o=o[0]),n[o]=r,t&&(t[o]=i)}return n}function Lo(e){return pe(()=>{const t=bo(e);return Gr(t),t})}function Mo(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 _t(e){return e[Nt]||null}function cn(e){return e[Wn]||null}function Cn(e){return e[en]||null}function xr(e){const t=_t(e)||cn(e)||Cn(e);return null!==t&&t.standalone}function tn(e,t){const n=e[pn]||null;if(!n&&!0===t)throw new Error(`Type ${me(e)} does not have '\u0275mod' property.`);return n}function bo(e){const t={};return{type:e.type,providersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputTransforms:null,inputConfig:e.inputs||lt,exportAs:e.exportAs||null,standalone:!0===e.standalone,signals:!0===e.signals,selectors:e.selectors||we,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:wo(e.inputs,t),outputs:wo(e.outputs)}}function Gr(e){e.features?.forEach(t=>t(e))}function pr(e,t){if(!e)return null;const n=t?Cn:Po;return()=>("function"==typeof e?e():e).map(r=>n(r)).filter(ti)}const qt=0,Ae=1,et=2,pt=3,_n=4,Pr=5,Jt=6,Fr=7,Rt=8,Mr=9,Zn=10,Je=11,mr=12,ko=13,yr=14,Bt=15,so=16,ir=17,Ln=18,Lr=19,zr=20,sr=21,dn=22,ao=23,vr=24,ut=25,Vo=1,ri=2,En=7,Wr=9,fn=11;function wn(e){return Array.isArray(e)&&"object"==typeof e[Vo]}function Pt(e){return Array.isArray(e)&&!0===e[Vo]}function So(e){return 0!=(4&e.flags)}function kn(e){return e.componentOffset>-1}function oi(e){return 1==(1&e.flags)}function ar(e){return!!e.template}function Ho(e){return 0!=(512&e[et])}function ur(e,t){return e.hasOwnProperty(sn)?e[sn]:null}let Ei=vt.WeakRef??class _i{constructor(t){this.ref=t}deref(){return this.ref}},ms=0,Vn=null,Uo=!1;function Yt(e){const t=Vn;return Vn=e,t}class wi{constructor(){this.id=ms++,this.ref=function ga(e){return new Ei(e)}(this),this.producers=new Map,this.consumers=new Map,this.trackingVersion=0,this.valueVersion=0}consumerPollProducersForChange(){for(const[t,n]of this.producers){const r=n.producerNode.deref();if(null!=r&&n.atTrackingVersion===this.trackingVersion){if(r.producerPollStatus(n.seenValueVersion))return!0}else this.producers.delete(t),r?.consumers.delete(this.id)}return!1}producerMayHaveChanged(){const t=Uo;Uo=!0;try{for(const[n,r]of this.consumers){const o=r.consumerNode.deref();null!=o&&o.trackingVersion===r.atTrackingVersion?o.onConsumerDependencyMayHaveChanged():(this.consumers.delete(n),o?.producers.delete(this.id))}}finally{Uo=t}}producerAccessed(){if(Uo)throw new Error("");if(null===Vn)return;let t=Vn.producers.get(this.id);void 0===t?(t={consumerNode:Vn.ref,producerNode:this.ref,seenValueVersion:this.valueVersion,atTrackingVersion:Vn.trackingVersion},Vn.producers.set(this.id,t),this.consumers.set(Vn.id,t)):(t.seenValueVersion=this.valueVersion,t.atTrackingVersion=Vn.trackingVersion)}get hasProducers(){return this.producers.size>0}get producerUpdatesAllowed(){return!1!==Vn?.consumerAllowSignalWrites}producerPollStatus(t){return this.valueVersion!==t||(this.onProducerUpdateValueVersion(),this.valueVersion!==t)}}let Ii=null;function Da(e){const t=Yt(null);try{return e()}finally{Yt(t)}}const vs=()=>{};class Ca extends wi{constructor(t,n,r){super(),this.watch=t,this.schedule=n,this.dirty=!1,this.cleanupFn=vs,this.registerOnCleanup=o=>{this.cleanupFn=o},this.consumerAllowSignalWrites=r}notify(){this.dirty||this.schedule(this),this.dirty=!0}onConsumerDependencyMayHaveChanged(){this.notify()}onProducerUpdateValueVersion(){}run(){if(this.dirty=!1,0!==this.trackingVersion&&!this.consumerPollProducersForChange())return;const t=Yt(this);this.trackingVersion++;try{this.cleanupFn(),this.cleanupFn=vs,this.watch(this.registerOnCleanup)}finally{Yt(t)}}cleanup(){this.cleanupFn()}}class _a{constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}}function Ti(){return Ni}function Ni(e){return e.type.prototype.ngOnChanges&&(e.setInput=p),ai}function ai(){const e=m(this),t=e?.current;if(t){const n=e.previous;if(n===lt)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function p(e,t,n,r){const o=this.declaredInputs[n],i=m(e)||function w(e,t){return e[_]=t}(e,{previous:lt,current:null}),s=i.current||(i.current={}),c=i.previous,h=c[o];s[o]=new _a(h&&h.currentValue,t,c===lt),e[r]=t}Ti.ngInherit=!0;const _="__ngSimpleChanges__";function m(e){return e[_]||null}const W=function(e,t,n){};function qe(e){for(;Array.isArray(e);)e=e[qt];return e}function rt(e,t){return qe(t[e])}function Dt(e,t){return qe(t[e.index])}function Kt(e,t){return e.data[t]}function Zt(e,t){const n=t[e];return wn(n)?n:n[qt]}function Bn(e,t){return null==t?null:e[t]}function Cr(e){e[ir]=0}function $u(e){1024&e[et]||(e[et]|=1024,Xn(e,1))}function Ea(e){1024&e[et]&&(e[et]&=-1025,Xn(e,-1))}function Xn(e,t){let n=e[pt];if(null===n)return;n[Pr]+=t;let r=n;for(n=n[pt];null!==n&&(1===t&&1===r[Pr]||-1===t&&0===r[Pr]);)n[Pr]+=t,r=n,n=n[pt]}const tt={lFrame:Is(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function Ma(){return tt.bindingsEnabled}function oe(){return tt.lFrame.lView}function Mt(){return tt.lFrame.tView}function Nn(){let e=qu();for(;null!==e&&64===e.type;)e=e.parent;return e}function qu(){return tt.lFrame.currentTNode}function Xr(e,t){const n=tt.lFrame;n.currentTNode=e,n.isParent=t}function Oi(){return tt.lFrame.isParent}function ui(){return tt.lFrame.bindingIndex++}function ho(e){const t=tt.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function Ed(e,t){const n=tt.lFrame;n.bindingIndex=n.bindingRootIndex=e,ws(t)}function ws(e){tt.lFrame.currentDirectiveIndex=e}function Ra(){return tt.lFrame.currentQueryIndex}function bs(e){tt.lFrame.currentQueryIndex=e}function Yu(e){const t=e[Ae];return 2===t.type?t.declTNode:1===t.type?e[Jt]:null}function Oa(e,t,n){if(n&Me.SkipSelf){let o=t,i=e;for(;!(o=o.parent,null!==o||n&Me.Host||(o=Yu(i),null===o||(i=i[yr],10&o.type))););if(null===o)return!1;t=o,e=i}const r=tt.lFrame=xa();return r.currentTNode=t,r.lView=e,!0}function Ss(e){const t=xa(),n=e[Ae];tt.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function xa(){const e=tt.lFrame,t=null===e?null:e.child;return null===t?Is(e):t}function Is(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 Pa(){const e=tt.lFrame;return tt.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const Ku=Pa;function Fa(){const e=Pa();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 Qn(){return tt.lFrame.selectedIndex}function Go(e){tt.lFrame.selectedIndex=e}function u(){const e=tt.lFrame;return Kt(e.tView,e.selectedIndex)}let S=!0;function L(){return S}function q(e){S=e}function Be(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n=r)break}else t[h]<0&&(e[ir]+=65536),(c>13>16&&(3&e[et])===t&&(e[et]+=8192,Wo(c,i)):Wo(c,i)}const Jr=-1;class Ts{constructor(t,n,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}}function bd(e){return e!==Jr}function La(e){return 32767&e}function ka(e,t){let n=function yy(e){return e>>16}(e),r=t;for(;n>0;)r=r[yr],n--;return r}let Xu=!0;function Va(e){const t=Xu;return Xu=e,t}const Sd=255,Id=5;let vy=0;const po={};function Ha(e,t){const n=Ad(e,t);if(-1!==n)return n;const r=t[Ae];r.firstCreatePass&&(e.injectorIndex=t.length,Ju(r.data,e),Ju(t,null),Ju(r.blueprint,null));const o=Qu(e,t),i=e.injectorIndex;if(bd(o)){const s=La(o),c=ka(o,t),h=c[Ae].data;for(let D=0;D<8;D++)t[i+D]=c[s+D]|h[s+D]}return t[i+8]=o,i}function Ju(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Ad(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function Qu(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=0,r=null,o=t;for(;null!==o;){if(r=Ld(o),null===r)return Jr;if(n++,o=o[yr],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return Jr}function el(e,t,n){!function Dy(e,t,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(an)&&(r=n[an]),null==r&&(r=n[an]=vy++);const o=r&Sd;t.data[e+(o>>Id)]|=1<=0?t&Sd:wy:t}(n);if("function"==typeof i){if(!Oa(t,e,r))return r&Me.Host?Td(o,0,r):Nd(t,n,r,o);try{const s=i(r);if(null!=s||r&Me.Optional)return s;Fe()}finally{Ku()}}else if("number"==typeof i){let s=null,c=Ad(e,t),h=Jr,D=r&Me.Host?t[Bt][Jt]:null;for((-1===c||r&Me.SkipSelf)&&(h=-1===c?Qu(e,t):t[c+8],h!==Jr&&Pd(r,!1)?(s=t[Ae],c=La(h),t=ka(h,t)):c=-1);-1!==c;){const E=t[Ae];if(xd(i,c,E.data)){const I=_y(c,t,n,s,r,D);if(I!==po)return I}h=t[c+8],h!==Jr&&Pd(r,t[Ae].data[c+8]===D)&&xd(i,c,t)?(s=E,c=La(h),t=ka(h,t)):c=-1}}return o}function _y(e,t,n,r,o,i){const s=t[Ae],c=s.data[e+8],E=Ba(c,s,n,null==r?kn(c)&&Xu:r!=s&&0!=(3&c.type),o&Me.Host&&i===c);return null!==E?ci(t,s,E,c):po}function Ba(e,t,n,r,o){const i=e.providerIndexes,s=t.data,c=1048575&i,h=e.directiveStart,E=i>>20,x=o?c+E:e.directiveEnd;for(let k=r?c:c+E;k=h&&X.type===n)return k}if(o){const k=s[h];if(k&&ar(k)&&k.type===n)return h}return null}function ci(e,t,n,r){let o=e[n];const i=t.data;if(function py(e){return e instanceof Ts}(o)){const s=o;s.resolving&&function re(e,t){const n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new Se(-200,`Circular dependency in DI detected for ${e}${n}`)}(function B(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():P(e)}(i[n]));const c=Va(s.canSeeViewProviders);s.resolving=!0;const h=s.injectImpl?Gt(s.injectImpl):null;Oa(e,r,Me.Default);try{o=e[n]=s.factory(void 0,i,e,r),t.firstCreatePass&&n>=r.directiveStart&&function xe(e,t,n){const{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){const s=Ni(t);(n.preOrderHooks??=[]).push(e,s),(n.preOrderCheckHooks??=[]).push(e,s)}o&&(n.preOrderHooks??=[]).push(0-e,o),i&&((n.preOrderHooks??=[]).push(e,i),(n.preOrderCheckHooks??=[]).push(e,i))}(n,i[n],t)}finally{null!==h&&Gt(h),Va(c),s.resolving=!1,Ku()}}return o}function xd(e,t,n){return!!(n[t+(e>>Id)]&1<{const t=e.prototype.constructor,n=t[sn]||tl(t),r=Object.prototype;let o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){const i=o[sn]||tl(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function tl(e){return ve(e)?()=>{const t=tl(ee(e));return t&&t()}:ur(e)}function Ld(e){const t=e[Ae],n=t.type;return 2===n?t.declTNode:1===n?e[Jt]:null}function nl(e){return function Cy(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 o=0;for(;o{const r=function rl(e){return function(...n){if(e){const r=e(...n);for(const o in r)this[o]=r[o]}}}(t);function o(...i){if(this instanceof o)return r.apply(this,i),this;const s=new o(...i);return c.annotation=s,c;function c(h,D,E){const I=h.hasOwnProperty(Li)?h[Li]:Object.defineProperty(h,Li,{value:[]})[Li];for(;I.length<=E;)I.push(null);return(I[E]=I[E]||[]).push(s),h}}return n&&(o.prototype=Object.create(n.prototype)),o.prototype.ngMetadataName=e,o.annotationCls=o,o})}function Os(e,t){e.forEach(n=>Array.isArray(n)?Os(n,t):t(n))}function Vd(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function ja(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function br(e,t,n){let r=Hi(e,t);return r>=0?e[1|r]=n:(r=~r,function Ty(e,t,n,r){let o=e.length;if(o==t)e.push(n,r);else if(1===o)e.push(r,e[0]),e[0]=n;else{for(o--,e.push(e[o-1],e[o]);o>t;)e[o]=e[o-2],o--;e[t]=n,e[t+1]=r}}(e,r,t,n)),r}function ol(e,t){const n=Hi(e,t);if(n>=0)return e[1|n]}function Hi(e,t){return function Hd(e,t,n){let r=0,o=e.length>>n;for(;o!==r;){const i=r+(o-r>>1),s=e[i<t?o=i:r=i+1}return~(o<((go=go||{})[go.Important=1]="Important",go[go.DashCase=2]="DashCase",go))();const ll=new Map;let Qy=0;const dl="__ngContext__";function er(e,t){wn(t)?(e[dl]=t[Lr],function tv(e){ll.set(e[Lr],e)}(t)):e[dl]=t}let fl;function hl(e,t){return fl(e,t)}function Ls(e){const t=e[pt];return Pt(t)?t[pt]:t}function af(e){return lf(e[mr])}function uf(e){return lf(e[_n])}function lf(e){for(;null!==e&&!Pt(e);)e=e[_n];return e}function Ui(e,t,n,r,o){if(null!=r){let i,s=!1;Pt(r)?i=r:wn(r)&&(s=!0,r=r[qt]);const c=qe(r);0===e&&null!==n?null==o?pf(t,n,c):di(t,n,c,o||null,!0):1===e&&null!==n?di(t,n,c,o||null,!0):2===e?function tu(e,t,n){const r=Qa(e,t);r&&function Cv(e,t,n,r){e.removeChild(t,n,r)}(e,r,t,n)}(t,c,s):3===e&&t.destroyNode(c),null!=i&&function wv(e,t,n,r,o){const i=n[En];i!==qe(n)&&Ui(t,e,r,i,o);for(let c=fn;c0&&(e[n-1][_n]=r[_n]);const i=ja(e,fn+t);!function fv(e,t){Vs(e,t,t[Je],2,null,null),t[qt]=null,t[Jt]=null}(r[Ae],r);const s=i[Ln];null!==s&&s.detachView(i[Ae]),r[pt]=null,r[_n]=null,r[et]&=-129}return r}function ff(e,t){if(!(256&t[et])){const n=t[Je];t[ao]?.destroy(),t[vr]?.destroy(),n.destroyNode&&Vs(e,t,n,3,null,null),function gv(e){let t=e[mr];if(!t)return ml(e[Ae],e);for(;t;){let n=null;if(wn(t))n=t[mr];else{const r=t[fn];r&&(n=r)}if(!n){for(;t&&!t[_n]&&t!==e;)wn(t)&&ml(t[Ae],t),t=t[pt];null===t&&(t=e),wn(t)&&ml(t[Ae],t),n=t&&t[_n]}t=n}}(t)}}function ml(e,t){if(!(256&t[et])){t[et]&=-129,t[et]|=256,function Dv(e,t){let n;if(null!=e&&null!=(n=e.destroyHooks))for(let r=0;r=0?r[s]():r[-s].unsubscribe(),i+=2}else n[i].call(r[n[i+1]]);null!==r&&(t[Fr]=null);const o=t[sr];if(null!==o){t[sr]=null;for(let i=0;i-1){const{encapsulation:i}=e.data[r.directiveStart+o];if(i===De.None||i===De.Emulated)return null}return Dt(r,n)}}(e,t.parent,n)}function di(e,t,n,r,o){e.insertBefore(t,n,r,o)}function pf(e,t,n){e.appendChild(t,n)}function gf(e,t,n,r,o){null!==r?di(e,t,n,r,o):pf(e,t,n)}function Qa(e,t){return e.parentNode(t)}let vl,El,ru,vf=function yf(e,t,n){return 40&e.type?Dt(e,n):null};function eu(e,t,n,r){const o=yl(e,r,t),i=t[Je],c=function mf(e,t,n){return vf(e,t,n)}(r.parent||t[Jt],r,t);if(null!=o)if(Array.isArray(n))for(let h=0;he,createScript:e=>e,createScriptURL:e=>e})}catch{}return ru}()?.createScriptURL(e)||e}class Af{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${gn})`}}function qo(e){return e instanceof Af?e.changingThisBreaksApplicationSecurity:e}function Bs(e,t){const n=function Fv(e){return e instanceof Af&&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 ${gn})`)}return n===t}const Hv=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;var bn=(()=>((bn=bn||{})[bn.NONE=0]="NONE",bn[bn.HTML=1]="HTML",bn[bn.STYLE=2]="STYLE",bn[bn.SCRIPT=3]="SCRIPT",bn[bn.URL=4]="URL",bn[bn.RESOURCE_URL=5]="RESOURCE_URL",bn))();function Al(e){const t=Us();return t?t.sanitize(bn.URL,e)||"":Bs(e,"URL")?qo(e):function Ml(e){return(e=String(e)).match(Hv)?e:"unsafe:"+e}(P(e))}function Ff(e){const t=Us();if(t)return If(t.sanitize(bn.RESOURCE_URL,e)||"");if(Bs(e,"ResourceURL"))return If(qo(e));throw new Se(904,!1)}function Lf(e,t,n){return function Xv(e,t){return"src"===t&&("embed"===e||"frame"===e||"iframe"===e||"media"===e||"script"===e)||"href"===t&&("base"===e||"link"===e)?Ff:Al}(t,n)(e)}function Us(){const e=oe();return e&&e[Zn].sanitizer}class Lt{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=St({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}const $s=new Lt("ENVIRONMENT_INITIALIZER"),kf=new Lt("INJECTOR",-1),Vf=new Lt("INJECTOR_DEF_TYPES");class Hf{get(t,n=Sn){if(n===Sn){const r=new Error(`NullInjectorError: No provider for ${me(t)}!`);throw r.name="NullInjectorError",r}return n}}function Tl(e){return{\u0275providers:e}}function Bf(...e){return{\u0275providers:jf(0,e),\u0275fromNgModule:!0}}function jf(e,...t){const n=[],r=new Set;let o;return Os(t,i=>{const s=i;Nl(s,n,[],r)&&(o||=[],o.push(s))}),void 0!==o&&Uf(o,n),n}function Uf(e,t){for(let n=0;n{t.push(i)})}}function Nl(e,t,n,r){if(!(e=ee(e)))return!1;let o=null,i=Pn(e);const s=!i&&_t(e);if(i||s){if(s&&!s.standalone)return!1;o=e}else{const h=e.ngModule;if(i=Pn(h),!i)return!1;o=h}const c=r.has(o);if(s){if(c)return!1;if(r.add(o),s.dependencies){const h="function"==typeof s.dependencies?s.dependencies():s.dependencies;for(const D of h)Nl(D,t,n,r)}}else{if(!i)return!1;{if(null!=i.imports&&!c){let D;r.add(o);try{Os(i.imports,E=>{Nl(E,t,n,r)&&(D||=[],D.push(E))})}finally{}void 0!==D&&Uf(D,t)}if(!c){const D=ur(o)||(()=>new o);t.push({provide:o,useFactory:D,deps:we},{provide:Vf,useValue:o,multi:!0},{provide:$s,useValue:()=>Ze(o),multi:!0})}const h=i.providers;null==h||c||Rl(h,E=>{t.push(E)})}}return o!==e&&void 0!==e.providers}function Rl(e,t){for(let n of e)ht(n)&&(n=n.\u0275providers),Array.isArray(n)?Rl(n,t):t(n)}const Jv=te({provide:String,useValue:te});function Ol(e){return null!==e&&"object"==typeof e&&Jv in e}function fi(e){return"function"==typeof e}const xl=new Lt("Set Injector scope."),iu={},eD={};let Pl;function su(){return void 0===Pl&&(Pl=new Hf),Pl}class hi{}class Fl extends hi{get destroyed(){return this._destroyed}constructor(t,n,r,o){super(),this.parent=n,this.source=r,this.scopes=o,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,kl(t,s=>this.processProvider(s)),this.records.set(kf,Gi(void 0,this)),o.has("environment")&&this.records.set(hi,Gi(void 0,this));const i=this.records.get(xl);null!=i&&"string"==typeof i.value&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(Vf.multi,we,Me.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const n of this._ngOnDestroyHooks)n.ngOnDestroy();const t=this._onDestroyHooks;this._onDestroyHooks=[];for(const n of t)n()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear()}}onDestroy(t){return this.assertNotDestroyed(),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){this.assertNotDestroyed();const n=Ee(this),r=Gt(void 0);try{return t()}finally{Ee(n),Gt(r)}}get(t,n=Sn,r=Me.Default){if(this.assertNotDestroyed(),t.hasOwnProperty(At))return t[At](this);r=on(r);const o=Ee(this),i=Gt(void 0);try{if(!(r&Me.SkipSelf)){let c=this.records.get(t);if(void 0===c){const h=function iD(e){return"function"==typeof e||"object"==typeof e&&e instanceof Lt}(t)&&We(t);c=h&&this.injectableDefInScope(h)?Gi(Ll(t),iu):null,this.records.set(t,c)}if(null!=c)return this.hydrate(t,c)}return(r&Me.Self?su():this.parent).get(t,n=r&Me.Optional&&n===Sn?null:n)}catch(s){if("NullInjectorError"===s.name){if((s[In]=s[In]||[]).unshift(me(t)),o)throw s;return function O(e,t,n,r){const o=e[In];throw t[N]&&o.unshift(t[N]),e.message=function ae(e,t,n,r=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let o=me(t);if(Array.isArray(t))o=t.map(me).join(" -> ");else if("object"==typeof t){let i=[];for(let s in t)if(t.hasOwnProperty(s)){let c=t[s];i.push(s+":"+("string"==typeof c?JSON.stringify(c):me(c)))}o=`{${i.join(", ")}}`}return`${n}${r?"("+r+")":""}[${o}]: ${e.replace(Y,"\n ")}`}("\n"+e.message,o,n,r),e.ngTokenPath=o,e[In]=null,e}(s,t,"R3InjectorError",this.source)}throw s}finally{Gt(i),Ee(o)}}resolveInjectorInitializers(){const t=Ee(this),n=Gt(void 0);try{const r=this.get($s.multi,we,Me.Self);for(const o of r)o()}finally{Ee(t),Gt(n)}}toString(){const t=[],n=this.records;for(const r of n.keys())t.push(me(r));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new Se(205,!1)}processProvider(t){let n=fi(t=ee(t))?t:ee(t&&t.provide);const r=function nD(e){return Ol(e)?Gi(void 0,e.useValue):Gi(zf(e),iu)}(t);if(fi(t)||!0!==t.multi)this.records.get(n);else{let o=this.records.get(n);o||(o=Gi(void 0,iu,!0),o.factory=()=>zn(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n){return n.value===iu&&(n.value=eD,n.value=n.factory()),"object"==typeof n.value&&n.value&&function oD(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=ee(t.providedIn);return"string"==typeof n?"any"===n||this.scopes.has(n):this.injectorDefTypes.has(n)}removeOnDestroy(t){const n=this._onDestroyHooks.indexOf(t);-1!==n&&this._onDestroyHooks.splice(n,1)}}function Ll(e){const t=We(e),n=null!==t?t.factory:ur(e);if(null!==n)return n;if(e instanceof Lt)throw new Se(204,!1);if(e instanceof Function)return function tD(e){const t=e.length;if(t>0)throw function xs(e,t){const n=[];for(let r=0;rn.factory(e):()=>new e}(e);throw new Se(204,!1)}function zf(e,t,n){let r;if(fi(e)){const o=ee(e);return ur(o)||Ll(o)}if(Ol(e))r=()=>ee(e.useValue);else if(function Gf(e){return!(!e||!e.useFactory)}(e))r=()=>e.useFactory(...zn(e.deps||[]));else if(function $f(e){return!(!e||!e.useExisting)}(e))r=()=>Ze(ee(e.useExisting));else{const o=ee(e&&(e.useClass||e.provide));if(!function rD(e){return!!e.deps}(e))return ur(o)||Ll(o);r=()=>new o(...zn(e.deps))}return r}function Gi(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function kl(e,t){for(const n of e)Array.isArray(n)?kl(n,t):n&&ht(n)?kl(n.\u0275providers,t):t(n)}const Wf=new Lt("AppId",{providedIn:"root",factory:()=>sD}),sD="ng",qf=new Lt("Platform Initializer"),Vl=new Lt("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),aD=new Lt("CSP nonce",{providedIn:"root",factory:()=>function Hs(){if(void 0!==El)return El;if(typeof document<"u")return document;throw new Se(210,!1)}().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});let Kf=(e,t)=>null;function Zf(e,t){return Kf(e,t)}class mD{}class Qf{}class vD{resolveComponentFactory(t){throw function yD(e){const t=Error(`No component factory found for ${me(e)}.`);return t.ngComponent=e,t}(t)}}let du=(()=>{class e{}return e.NULL=new vD,e})();function DD(){return zi(Nn(),oe())}function zi(e,t){return new qs(Dt(e,t))}let qs=(()=>{class e{constructor(n){this.nativeElement=n}}return e.__NG_ELEMENT_ID__=DD,e})();function CD(e){return e instanceof qs?e.nativeElement:e}class th{}let _D=(()=>{class e{constructor(){this.destroyNode=null}}return e.__NG_ELEMENT_ID__=()=>function ED(){const e=oe(),n=Zt(Nn().index,e);return(wn(n)?n:e)[Je]}(),e})(),wD=(()=>{class e{}return e.\u0275prov=St({token:e,providedIn:"root",factory:()=>null}),e})();class nh{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const MD=new nh("16.1.6"),Kl={};function Ys(e){for(;e;){e[et]|=64;const t=Ls(e);if(Ho(e)&&!t)return e;e=t}return null}function Zl(e){return e.ngOriginalError}class Wi{constructor(){this._console=console}handleError(t){const n=this._findOriginalError(t);this._console.error("ERROR",t),n&&this._console.error("ORIGINAL ERROR",n)}_findOriginalError(t){let n=t&&Zl(t);for(;n&&Zl(n);)n=Zl(n);return n||null}}const ih=new Lt("",{providedIn:"root",factory:()=>!1});function Oo(e){return e instanceof Function?e():e}class ch extends wi{constructor(){super(...arguments),this.consumerAllowSignalWrites=!1,this._lView=null}set lView(t){this._lView=t}onConsumerDependencyMayHaveChanged(){Ys(this._lView)}onProducerUpdateValueVersion(){}get hasReadASignal(){return this.hasProducers}runInContext(t,n,r){const o=Yt(this);this.trackingVersion++;try{t(n,r)}finally{Yt(o)}}destroy(){this.trackingVersion++}}let hu=null;function dh(){return hu??=new ch,hu}function fh(e,t){return e[t]??dh()}function hh(e,t){const n=dh();n.hasReadASignal&&(e[t]=hu,n.lView=e,hu=new ch)}const at={};function ph(e){gh(Mt(),oe(),Qn()+e,!1)}function gh(e,t,n,r){if(!r)if(3==(3&t[et])){const i=e.preOrderCheckHooks;null!==i&&bt(t,i,n)}else{const i=e.preOrderHooks;null!==i&&jn(t,i,0,n)}Go(n)}function Dh(e,t=null,n=null,r){const o=Ch(e,t,n,r);return o.resolveInjectorInitializers(),o}function Ch(e,t=null,n=null,r,o=new Set){const i=[n||we,Bf(e)];return r=r||("object"==typeof e?void 0:me(e)),new Fl(i,t||su(),r||null,o)}let Yo=(()=>{class e{static create(n,r){if(Array.isArray(n))return Dh({name:""},r,n,"");{const o=n.name??"";return Dh({name:o},n.parent,n.providers,o)}}}return e.THROW_IF_NOT_FOUND=Sn,e.NULL=new Hf,e.\u0275prov=St({token:e,providedIn:"any",factory:()=>Ze(kf)}),e.__NG_ELEMENT_ID__=-1,e})();function Yi(e,t=Me.Default){const n=oe();return null===n?Ze(e,t):Rd(Nn(),n,ee(e),t)}function _h(){throw new Error("invalid")}function pu(e,t,n,r,o,i,s,c,h,D,E){const I=t.blueprint.slice();return I[qt]=o,I[et]=140|r,(null!==D||e&&2048&e[et])&&(I[et]|=2048),Cr(I),I[pt]=I[yr]=e,I[Rt]=n,I[Zn]=s||e&&e[Zn],I[Je]=c||e&&e[Je],I[Mr]=h||e&&e[Mr]||null,I[Jt]=i,I[Lr]=function ev(){return Qy++}(),I[dn]=E,I[zr]=D,I[Bt]=2==t.type?e[Bt]:I,I}function Ki(e,t,n,r,o){let i=e.data[t];if(null===i)i=function Xl(e,t,n,r,o){const i=qu(),s=Oi(),h=e.data[t]=function zD(e,t,n,r,o,i){let s=t?t.injectorIndex:-1,c=0;return function $o(){return null!==tt.skipHydrationRootTNode}()&&(c|=128),{type:n,index:r,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:c,providerIndexes:0,value:o,attrs:i,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,s?i:i&&i.parent,n,t,r,o);return null===e.firstChild&&(e.firstChild=h),null!==i&&(s?null==i.child&&null!==h.parent&&(i.child=h):null===i.next&&(i.next=h,h.prev=i)),h}(e,t,n,r,o),function _d(){return tt.lFrame.inI18n}()&&(i.flags|=32);else if(64&i.type){i.type=n,i.value=r,i.attrs=o;const s=function Ri(){const e=tt.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}();i.injectorIndex=null===s?-1:s.injectorIndex}return Xr(i,!0),i}function Ks(e,t,n,r){if(0===n)return-1;const o=t.length;for(let i=0;iut&&gh(e,t,ut,!1),W(c?2:0,o),c)i.runInContext(n,r,o);else{const D=Yt(null);try{n(r,o)}finally{Yt(D)}}}finally{c&&null===t[ao]&&hh(t,ao),Go(s),W(c?3:1,o)}}function Jl(e,t,n){if(So(t)){const r=Yt(null);try{const i=t.directiveEnd;for(let s=t.directiveStart;snull;function bh(e,t,n,r){for(let o in e)if(e.hasOwnProperty(o)){n=null===n?{}:n;const i=e[o];null===r?Sh(n,t,o,i):r.hasOwnProperty(o)&&Sh(n,t,r[o],i)}return n}function Sh(e,t,n,r){e.hasOwnProperty(n)?e[n].push(t,r):e[n]=[t,r]}function nc(e,t,n,r){if(Ma()){const o=null===r?null:{"":-1},i=function eC(e,t){const n=e.directiveRegistry;let r=null,o=null;if(n)for(let i=0;i0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(s)!=c&&s.push(c),s.push(n,r,i)}}(e,t,r,Ks(e,n,o.hostVars,at),o)}function mo(e,t,n,r,o,i){const s=Dt(e,t);!function oc(e,t,n,r,o,i,s){if(null==i)e.removeAttribute(t,o,n);else{const c=null==s?P(i):s(i,r||"",o);e.setAttribute(t,o,c,n)}}(t[Je],s,i,e.value,n,r,o)}function sC(e,t,n,r,o,i){const s=i[t];if(null!==s)for(let c=0;c{class e{constructor(){this.all=new Set,this.queue=new Map}create(n,r,o){const i=typeof Zone>"u"?null:Zone.current,s=new Ca(n,D=>{this.all.has(D)&&this.queue.set(D,i)},o);let c;this.all.add(s),s.notify();const h=()=>{s.cleanup(),c?.(),this.all.delete(s),this.queue.delete(s)};return c=r?.onDestroy(h),{destroy:h}}flush(){if(0!==this.queue.size)for(const[n,r]of this.queue)this.queue.delete(n),r?r.run(()=>n.run()):n.run()}get isQueueEmpty(){return 0===this.queue.size}}return e.\u0275prov=St({token:e,providedIn:"root",factory:()=>new e}),e})();function mu(e,t,n){let r=n?e.styles:null,o=n?e.classes:null,i=0;if(null!==t)for(let s=0;s0){Vh(e,1);const o=e[Ae].components;null!==o&&Bh(e,o,1)}}function Bh(e,t,n){for(let r=0;r-1&&(gl(t,r),ja(n,r))}this._attachedToViewContainer=!1}ff(this._lView[Ae],this._lView)}onDestroy(t){!function Ds(e,t){if(256==(256&e[et]))throw new Se(911,!1);null===e[sr]&&(e[sr]=[]),e[sr].push(t)}(this._lView,t)}markForCheck(){Ys(this._cdRefInjectingView||this._lView)}detach(){this._lView[et]&=-129}reattach(){this._lView[et]|=128}detectChanges(){yu(this._lView[Ae],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new Se(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function pv(e,t){Vs(e,t,t[Je],2,null,null)}(this._lView[Ae],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new Se(902,!1);this._appRef=t}}class yC extends Xs{constructor(t){super(t),this._view=t}detectChanges(){const t=this._view;yu(t[Ae],t,t[Rt],!1)}checkNoChanges(){}get context(){return null}}class jh extends du{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const n=_t(t);return new Js(n,this.ngModule)}}function Uh(e){const t=[];for(let n in e)e.hasOwnProperty(n)&&t.push({propName:e[n],templateName:n});return t}class DC{constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){r=on(r);const o=this.injector.get(t,Kl,r);return o!==Kl||n===Kl?o:this.parentInjector.get(t,n,r)}}class Js extends Qf{get inputs(){const t=this.componentDef,n=t.inputTransforms,r=Uh(t.inputs);if(null!==n)for(const o of r)n.hasOwnProperty(o.propName)&&(o.transform=n[o.propName]);return r}get outputs(){return Uh(this.componentDef.outputs)}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=function Fn(e){return e.map(Eo).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!n}create(t,n,r,o){let i=(o=o||this.ngModule)instanceof hi?o:o?.injector;i&&null!==this.componentDef.getStandaloneInjector&&(i=this.componentDef.getStandaloneInjector(i)||i);const s=i?new DC(t,i):t,c=s.get(th,null);if(null===c)throw new Se(407,!1);const E={rendererFactory:c,sanitizer:s.get(wD,null),effectManager:s.get(Lh,null)},I=c.createRenderer(null,this.componentDef),x=this.componentDef.selectors[0][0]||"div",k=r?function BD(e,t,n,r){const i=r.get(ih,!1)||n===De.ShadowDom,s=e.selectRootElement(t,i);return function jD(e){Mh(e)}(s),s}(I,r,this.componentDef.encapsulation,s):Ja(I,x,function vC(e){const t=e.toLowerCase();return"svg"===t?"svg":"math"===t?"math":null}(x)),Te=this.componentDef.signals?4608:this.componentDef.onPush?576:528,je=tc(0,null,null,1,0,null,null,null,null,null,null),J=pu(null,je,null,Te,null,null,E,I,s,null,null);let ot,Et;Ss(J);try{const It=this.componentDef;let nr,Bu=null;It.findHostDirectiveDefs?(nr=[],Bu=new Map,It.findHostDirectiveDefs(It,nr,Bu),nr.push(It)):nr=[It];const _M=function _C(e,t){const n=e[Ae],r=ut;return e[r]=t,Ki(n,r,2,"#host",null)}(J,k),EM=function EC(e,t,n,r,o,i,s){const c=o[Ae];!function wC(e,t,n,r){for(const o of e)t.mergedAttrs=An(t.mergedAttrs,o.hostAttrs);null!==t.mergedAttrs&&(mu(t,t.mergedAttrs,!0),null!==n&&Mf(r,n,t))}(r,e,t,s);let h=null;null!==t&&(h=Zf(t,o[Mr]));const D=i.rendererFactory.createRenderer(t,n);let E=16;n.signals?E=4096:n.onPush&&(E=64);const I=pu(o,wh(n),null,E,o[e.index],e,i,D,null,null,h);return c.firstCreatePass&&rc(c,e,r.length-1),gu(o,I),o[e.index]=I}(_M,k,It,nr,J,E,I);Et=Kt(je,ut),k&&function bC(e,t,n,r){if(r)Dn(e,n,["ng-version",MD.full]);else{const{attrs:o,classes:i}=function vi(e){const t=[],n=[];let r=1,o=2;for(;r0&&wf(e,n,i.join(" "))}}(I,It,k,r),void 0!==n&&function SC(e,t,n){const r=e.projection=[];for(let o=0;o=0;r--){const o=e[r];o.hostVars=t+=o.hostVars,o.hostAttrs=An(o.hostAttrs,n=An(n,o.hostAttrs))}}(r)}function vu(e){return e===lt?{}:e===we?[]:e}function TC(e,t){const n=e.viewQuery;e.viewQuery=n?(r,o)=>{t(r,o),n(r,o)}:t}function NC(e,t){const n=e.contentQueries;e.contentQueries=n?(r,o,i)=>{t(r,o,i),n(r,o,i)}:t}function RC(e,t){const n=e.hostBindings;e.hostBindings=n?(r,o)=>{t(r,o),n(r,o)}:t}function qh(e){const t=e.inputConfig,n={};for(const r in t)if(t.hasOwnProperty(r)){const o=t[r];Array.isArray(o)&&o[2]&&(n[r]=o[2])}e.inputTransforms=n}function Du(e){return!!lc(e)&&(Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e)}function lc(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function tr(e,t,n){return!Object.is(e[t],n)&&(e[t]=n,!0)}function cc(e,t,n,r){const o=oe();return tr(o,ui(),t)&&(Mt(),mo(u(),o,e,t,n,r)),cc}function Ji(e,t,n,r,o,i){const c=function pi(e,t,n,r){const o=tr(e,t,n);return tr(e,t+1,r)||o}(e,function kr(){return tt.lFrame.bindingIndex}(),n,o);return ho(2),c?t+P(n)+r+P(o)+i:at}function sp(e,t,n,r,o,i,s,c){const h=oe(),D=Mt(),E=e+ut,I=D.firstCreatePass?function n_(e,t,n,r,o,i,s,c,h){const D=t.consts,E=Ki(t,e,4,s||null,Bn(D,c));nc(t,n,E,Bn(D,h)),Be(t,E);const I=E.tView=tc(2,E,r,o,i,t.directiveRegistry,t.pipeRegistry,null,t.schemas,D,null);return null!==t.queries&&(t.queries.template(t,E),I.queries=t.queries.embeddedTView(E)),E}(E,D,h,t,n,r,o,i,s):D.data[E];Xr(I,!1);const x=ap(D,h,I,e);L()&&eu(D,h,x,I),er(x,h),gu(h,h[E]=Nh(x,h,x,I)),oi(I)&&Ql(D,h,I),null!=s&&ec(h,I,c)}let ap=function up(e,t,n,r){return q(!0),t[Je].createComment("")};function mc(e,t,n){const r=oe();return tr(r,ui(),t)&&function Sr(e,t,n,r,o,i,s,c){const h=Dt(t,n);let E,D=t.inputs;!c&&null!=D&&(E=D[r])?(sc(e,n,E,r,o),kn(t)&&function YD(e,t){const n=Zt(t,e);16&n[et]||(n[et]|=64)}(n,t.index)):3&t.type&&(r=function qD(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(r),o=null!=s?s(o,t.value||"",r):o,i.setProperty(h,r,o))}(Mt(),u(),r,e,t,r[Je],n,!1),mc}function yc(e,t,n,r,o){const s=o?"class":"style";sc(e,n,t.inputs[s],s,r)}function Mu(e,t,n,r){const o=oe(),i=Mt(),s=ut+e,c=o[Je],h=i.firstCreatePass?function a_(e,t,n,r,o,i){const s=t.consts,h=Ki(t,e,2,r,Bn(s,o));return nc(t,n,h,Bn(s,i)),null!==h.attrs&&mu(h,h.attrs,!1),null!==h.mergedAttrs&&mu(h,h.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,h),h}(s,i,o,t,n,r):i.data[s],D=lp(i,o,h,c,t,e);o[s]=D;const E=oi(h);return Xr(h,!0),Mf(c,D,h),32!=(32&h.flags)&&L()&&eu(i,o,D,h),0===function cr(){return tt.lFrame.elementDepthCount}()&&er(D,o),function zu(){tt.lFrame.elementDepthCount++}(),E&&(Ql(i,o,h),Jl(i,h,o)),null!==r&&ec(o,h),Mu}function bu(){let e=Nn();Oi()?function xi(){tt.lFrame.isParent=!1}():(e=e.parent,Xr(e,!1));const t=e;(function ba(e){return tt.skipHydrationRootTNode===e})(t)&&function _s(){tt.skipHydrationRootTNode=null}(),function Cs(){tt.lFrame.elementDepthCount--}();const n=Mt();return n.firstCreatePass&&(Be(n,e),So(e)&&n.queries.elementEnd(e)),null!=t.classesWithoutHost&&function gy(e){return 0!=(8&e.flags)}(t)&&yc(n,t,oe(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function my(e){return 0!=(16&e.flags)}(t)&&yc(n,t,oe(),t.stylesWithoutHost,!1),bu}function vc(e,t,n,r){return Mu(e,t,n,r),bu(),vc}let lp=(e,t,n,r,o,i)=>(q(!0),Ja(r,o,function M(){return tt.lFrame.currentNamespace}()));function _c(e){return!!e&&"function"==typeof e.then}function fp(e){return!!e&&"function"==typeof e.subscribe}function Ec(e,t,n,r){const o=oe(),i=Mt(),s=Nn();return function pp(e,t,n,r,o,i,s){const c=oi(r),D=e.firstCreatePass&&xh(e),E=t[Rt],I=Oh(t);let x=!0;if(3&r.type||s){const ue=Dt(r,t),Te=s?s(ue):ue,je=I.length,J=s?Et=>s(qe(Et[r.index])):r.index;let ot=null;if(!s&&c&&(ot=function p_(e,t,n,r){const o=e.cleanup;if(null!=o)for(let i=0;ih?c[h]:null}"string"==typeof s&&(i+=2)}return null}(e,t,o,r.index)),null!==ot)(ot.__ngLastListenerFn__||ot).__ngNextListenerFn__=i,ot.__ngLastListenerFn__=i,x=!1;else{i=mp(r,t,E,i,!1);const Et=n.listen(Te,o,i);I.push(i,Et),D&&D.push(o,J,je,je+1)}}else i=mp(r,t,E,i,!1);const k=r.outputs;let X;if(x&&null!==k&&(X=k[o])){const ue=X.length;if(ue)for(let Te=0;Te-1?Zt(e.index,t):t);let h=gp(t,n,r,s),D=i.__ngNextListenerFn__;for(;D;)h=gp(t,n,D,s)&&h,D=D.__ngNextListenerFn__;return o&&!1===h&&s.preventDefault(),h}}function yp(e=1){return function wd(e){return(tt.lFrame.contextLView=function Md(e,t){for(;e>0;)t=t[yr],e--;return t}(e,tt.lFrame.contextLView))[Rt]}(e)}function Su(e,t){return e<<17|t<<2}function Ko(e){return e>>17&32767}function Mc(e){return 2|e}function gi(e){return(131068&e)>>2}function bc(e,t){return-131069&e|t<<2}function Sc(e){return 1|e}function Ip(e,t,n,r,o){const i=e[n+1],s=null===t;let c=r?Ko(i):gi(i),h=!1;for(;0!==c&&(!1===h||s);){const E=e[c+1];w_(e[c],t)&&(h=!0,e[c+1]=r?Sc(E):Mc(E)),c=r?Ko(E):gi(E)}h&&(e[n+1]=r?Mc(i):Sc(i))}function w_(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&Hi(e,t)>=0}function Ic(e,t){return function Qr(e,t,n,r){const o=oe(),i=Mt(),s=ho(2);i.firstUpdatePass&&function Lp(e,t,n,r){const o=e.data;if(null===o[n+1]){const i=o[Qn()],s=function Fp(e,t){return t>=e.expandoStartIndex}(e,n);(function Bp(e,t){return 0!=(e.flags&(t?8:16))})(i,r)&&null===t&&!s&&(t=!1),t=function O_(e,t,n,r){const o=function Ms(e){const t=tt.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}(e);let i=r?t.residualClasses:t.residualStyles;if(null===o)0===(r?t.classBindings:t.styleBindings)&&(n=ra(n=Ac(null,e,t,n,r),t.attrs,r),i=null);else{const s=t.directiveStylingLast;if(-1===s||e[s]!==o)if(n=Ac(o,e,t,n,r),null===i){let h=function x_(e,t,n){const r=n?t.classBindings:t.styleBindings;if(0!==gi(r))return e[Ko(r)]}(e,t,r);void 0!==h&&Array.isArray(h)&&(h=Ac(null,e,t,h[1],r),h=ra(h,t.attrs,r),function P_(e,t,n,r){e[Ko(n?t.classBindings:t.styleBindings)]=r}(e,t,r,h))}else i=function F_(e,t,n){let r;const o=t.directiveEnd;for(let i=1+t.directiveStylingLast;i0)&&(D=!0)):E=n,o)if(0!==h){const x=Ko(e[c+1]);e[r+1]=Su(x,c),0!==x&&(e[x+1]=bc(e[x+1],r)),e[c+1]=function D_(e,t){return 131071&e|t<<17}(e[c+1],r)}else e[r+1]=Su(c,0),0!==c&&(e[c+1]=bc(e[c+1],r)),c=r;else e[r+1]=Su(h,0),0===c?c=r:e[h+1]=bc(e[h+1],r),h=r;D&&(e[r+1]=Mc(e[r+1])),Ip(e,E,r,!0),Ip(e,E,r,!1),function E_(e,t,n,r,o){const i=o?e.residualClasses:e.residualStyles;null!=i&&"string"==typeof t&&Hi(i,t)>=0&&(n[r+1]=Sc(n[r+1]))}(t,E,e,r,i),s=Su(c,h),i?t.classBindings=s:t.styleBindings=s}(o,i,t,n,s,r)}}(i,e,s,r),t!==at&&tr(o,s,t)&&function Vp(e,t,n,r,o,i,s,c){if(!(3&t.type))return;const h=e.data,D=h[c+1],E=function C_(e){return 1==(1&e)}(D)?Hp(h,t,n,o,gi(D),s):void 0;Iu(E)||(Iu(i)||function v_(e){return 2==(2&e)}(D)&&(i=Hp(h,null,n,o,c,s)),function Mv(e,t,n,r,o){if(t)o?e.addClass(n,r):e.removeClass(n,r);else{let i=-1===r.indexOf("-")?void 0:go.DashCase;null==o?e.removeStyle(n,r,i):("string"==typeof o&&o.endsWith("!important")&&(o=o.slice(0,-10),i|=go.Important),e.setStyle(n,r,o,i))}}(r,s,rt(Qn(),n),o,i))}(i,i.data[Qn()],o,o[Je],e,o[s+1]=function H_(e,t){return null==e||""===e||("string"==typeof t?e+=t:"object"==typeof e&&(e=me(qo(e)))),e}(t,n),r,s)}(e,t,null,!0),Ic}function Ac(e,t,n,r,o){let i=null;const s=n.directiveEnd;let c=n.directiveStylingLast;for(-1===c?c=n.directiveStart:c++;c0;){const h=e[o],D=Array.isArray(h),E=D?h[1]:h,I=null===E;let x=n[o+1];x===at&&(x=I?we:void 0);let k=I?ol(x,r):E===r?x:void 0;if(D&&!Iu(k)&&(k=ol(h,r)),Iu(k)&&(c=k,s))return c;const X=e[o+1];o=s?Ko(X):gi(X)}if(null!==t){let h=i?t.residualClasses:t.residualStyles;null!=h&&(c=ol(h,r))}return c}function Iu(e){return void 0!==e}function jp(e,t=""){const n=oe(),r=Mt(),o=e+ut,i=r.firstCreatePass?Ki(r,o,1,t,null):r.data[o],s=Up(r,n,i,t,e);n[o]=s,L()&&eu(r,n,s,i),Xr(i,!1)}let Up=(e,t,n,r,o)=>(q(!0),function Xa(e,t){return e.createText(t)}(t[Je],r));function Tc(e){return Nc("",e,""),Tc}function Nc(e,t,n){const r=oe(),o=function Xi(e,t,n,r){return tr(e,ui(),n)?t+P(n)+r:at}(r,e,t,n);return o!==at&&xo(r,Qn(),o),Nc}function Rc(e,t,n,r,o){const i=oe(),s=Ji(i,e,t,n,r,o);return s!==at&&xo(i,Qn(),s),Rc}const mi=void 0;var aE=["en",[["a","p"],["AM","PM"],mi],[["AM","PM"],mi,mi],[["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"]],mi,[["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"]],mi,[["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}",mi,"{1} 'at' {0}",mi],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function sE(e){const n=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length;return 1===n&&0===r?1:5}];let ss={};function Oc(e){const t=function uE(e){return e.toLowerCase().replace(/_/g,"-")}(e);let n=ug(t);if(n)return n;const r=t.split("-")[0];if(n=ug(r),n)return n;if("en"===r)return aE;throw new Se(701,!1)}function ag(e){return Oc(e)[Qe.PluralCase]}function ug(e){return e in ss||(ss[e]=vt.ng&&vt.ng.common&&vt.ng.common.locales&&vt.ng.common.locales[e]),ss[e]}var Qe=(()=>((Qe=Qe||{})[Qe.LocaleId=0]="LocaleId",Qe[Qe.DayPeriodsFormat=1]="DayPeriodsFormat",Qe[Qe.DayPeriodsStandalone=2]="DayPeriodsStandalone",Qe[Qe.DaysFormat=3]="DaysFormat",Qe[Qe.DaysStandalone=4]="DaysStandalone",Qe[Qe.MonthsFormat=5]="MonthsFormat",Qe[Qe.MonthsStandalone=6]="MonthsStandalone",Qe[Qe.Eras=7]="Eras",Qe[Qe.FirstDayOfWeek=8]="FirstDayOfWeek",Qe[Qe.WeekendRange=9]="WeekendRange",Qe[Qe.DateFormat=10]="DateFormat",Qe[Qe.TimeFormat=11]="TimeFormat",Qe[Qe.DateTimeFormat=12]="DateTimeFormat",Qe[Qe.NumberSymbols=13]="NumberSymbols",Qe[Qe.NumberFormats=14]="NumberFormats",Qe[Qe.CurrencyCode=15]="CurrencyCode",Qe[Qe.CurrencySymbol=16]="CurrencySymbol",Qe[Qe.CurrencyName=17]="CurrencyName",Qe[Qe.Currencies=18]="Currencies",Qe[Qe.Directionality=19]="Directionality",Qe[Qe.PluralCase=20]="PluralCase",Qe[Qe.ExtraData=21]="ExtraData",Qe))();const as="en-US";let lg=as;function Fc(e,t,n,r,o){if(e=ee(e),Array.isArray(e))for(let i=0;i>20;if(fi(e)||!e.multi){const k=new Ts(h,o,Yi),X=kc(c,t,o?E:E+x,I);-1===X?(el(Ha(D,s),i,c),Lc(i,e,t.length),t.push(c),D.directiveStart++,D.directiveEnd++,o&&(D.providerIndexes+=1048576),n.push(k),s.push(k)):(n[X]=k,s[X]=k)}else{const k=kc(c,t,E+x,I),X=kc(c,t,E,E+x),Te=X>=0&&n[X];if(o&&!Te||!o&&!(k>=0&&n[k])){el(Ha(D,s),i,c);const je=function iw(e,t,n,r,o){const i=new Ts(e,n,Yi);return i.multi=[],i.index=t,i.componentProviders=0,Pg(i,o,r&&!n),i}(o?ow:rw,n.length,o,r,h);!o&&Te&&(n[X].providerFactory=je),Lc(i,e,t.length,0),t.push(c),D.directiveStart++,D.directiveEnd++,o&&(D.providerIndexes+=1048576),n.push(je),s.push(je)}else Lc(i,e,k>-1?k:X,Pg(n[o?X:k],h,!o&&r));!o&&r&&Te&&n[X].componentProviders++}}}function Lc(e,t,n,r){const o=fi(t),i=function Qv(e){return!!e.useClass}(t);if(o||i){const h=(i?ee(t.useClass):t).prototype.ngOnDestroy;if(h){const D=e.destroyHooks||(e.destroyHooks=[]);if(!o&&t.multi){const E=D.indexOf(n);-1===E?D.push(n,[r,h]):D[E+1].push(r,h)}else D.push(n,h)}}}function Pg(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function kc(e,t,n,r){for(let o=n;o{n.providersResolver=(r,o)=>function nw(e,t,n){const r=Mt();if(r.firstCreatePass){const o=ar(e);Fc(n,r.data,r.blueprint,o,!0),Fc(t,r.data,r.blueprint,o,!1)}}(r,o?o(e):e,t)}}class us{}class Lg{}function sw(e,t){return new Hc(e,t??null,[])}class Hc extends us{constructor(t,n,r){super(),this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new jh(this);const o=tn(t);this._bootstrapComponents=Oo(o.bootstrap),this._r3Injector=Ch(t,n,[{provide:us,useValue:this},{provide:du,useValue:this.componentFactoryResolver},...r],me(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 Bc extends Lg{constructor(t){super(),this.moduleType=t}create(t){return new Hc(this.moduleType,t,[])}}class kg extends us{constructor(t){super(),this.componentFactoryResolver=new jh(this),this.instance=null;const n=new Fl([...t.providers,{provide:us,useValue:this},{provide:du,useValue:this.componentFactoryResolver}],t.parent||su(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}}function Vg(e,t,n=null){return new kg({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}let uw=(()=>{class e{constructor(n){this._injector=n,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){const r=jf(0,n.type),o=r.length>0?Vg([r],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n,o)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(const n of this.cachedInjectors.values())null!==n&&n.destroy()}finally{this.cachedInjectors.clear()}}}return e.\u0275prov=St({token:e,providedIn:"environment",factory:()=>new e(Ze(hi))}),e})();function Hg(e){e.getStandaloneInjector=t=>t.get(uw).getOrCreateStandaloneInjector(e)}function Uc(e){return t=>{setTimeout(e,void 0,t)}}const Co=class Pw extends l.x{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,n,r){let o=t,i=n||(()=>null),s=r;if(t&&"object"==typeof t){const h=t;o=h.next?.bind(h),i=h.error?.bind(h),s=h.complete?.bind(h)}this.__isAsync&&(i=Uc(i),o&&(o=Uc(o)),s&&(s=Uc(s)));const c=super.subscribe({next:o,error:i,complete:s});return t instanceof $.w0&&t.add(c),c}};function Fw(){return this._results[Symbol.iterator]()}class $c{get changes(){return this._changes||(this._changes=new Co)}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=$c.prototype;n[Symbol.iterator]||(n[Symbol.iterator]=Fw)}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 o=function Vr(e){return e.flat(Number.POSITIVE_INFINITY)}(t);(this._changesDetected=!function Iy(e,t,n){if(e.length!==t.length)return!1;for(let r=0;r{class e{}return e.__NG_ELEMENT_ID__=Vw,e})();const Lw=da,kw=class extends Lw{constructor(t,n,r){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=r}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(t,n){return this.createEmbeddedViewImpl(t,n,null)}createEmbeddedViewImpl(t,n,r){const s=this._declarationTContainer.tView,c=pu(this._declarationLView,s,t,4096&this._declarationLView[et]?4096:16,null,s.declTNode,null,null,null,n||null,r||null);c[so]=this._declarationLView[this._declarationTContainer.index];const D=this._declarationLView[Ln];return null!==D&&(c[Ln]=D.createEmbeddedView(s)),ac(s,c,t),new Xs(c)}};function Vw(){return Ou(Nn(),oe())}function Ou(e,t){return 4&e.type?new kw(t,e,zi(e,t)):null}let xu=(()=>{class e{}return e.__NG_ELEMENT_ID__=zw,e})();function zw(){return nm(Nn(),oe())}const Ww=xu,em=class extends Ww{constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return zi(this._hostTNode,this._hostLView)}get injector(){return new Pi(this._hostTNode,this._hostLView)}get parentInjector(){const t=Qu(this._hostTNode,this._hostLView);if(bd(t)){const n=ka(t,this._hostLView),r=La(t);return new Pi(n[Ae].data[r+8],n)}return new Pi(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=tm(this._lContainer);return null!==n&&n[t]||null}get length(){return this._lContainer.length-fn}createEmbeddedView(t,n,r){let o,i;"number"==typeof r?o=r:null!=r&&(o=r.index,i=r.injector);const c=t.createEmbeddedViewImpl(n||{},i,null);return this.insertImpl(c,o,false),c}createComponent(t,n,r,o,i){const s=t&&!function Rs(e){return"function"==typeof e}(t);let c;if(s)c=n;else{const ue=n||{};c=ue.index,r=ue.injector,o=ue.projectableNodes,i=ue.environmentInjector||ue.ngModuleRef}const h=s?t:new Js(_t(t)),D=r||this.parentInjector;if(!i&&null==h.ngModule){const Te=(s?D:this.parentInjector).get(hi,null);Te&&(i=Te)}_t(h.componentType??{});const k=h.create(D,o,null,i);return this.insertImpl(k.hostView,c,false),k}insert(t,n){return this.insertImpl(t,n,!1)}insertImpl(t,n,r){const o=t._lView,i=o[Ae];if(function Kr(e){return Pt(e[pt])}(o)){const h=this.indexOf(t);if(-1!==h)this.detach(h);else{const D=o[pt],E=new em(D,D[Jt],D[pt]);E.detach(E.indexOf(t))}}const s=this._adjustIndex(n),c=this._lContainer;if(function mv(e,t,n,r){const o=fn+r,i=n.length;r>0&&(n[o-1][_n]=t),r0)r.push(s[c/2]);else{const D=i[c+1],E=t[-h];for(let I=fn;I{class e{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r}),this.appInits=nt(Tm,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const n=[];for(const o of this.appInits){const i=o();if(_c(i))n.push(i);else if(fp(i)){const s=new Promise((c,h)=>{i.subscribe({complete:c,error:h})});n.push(s)}}const r=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{r()}).catch(o=>{this.reject(o)}),0===n.length&&r(),this.initialized=!0}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=St({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),Nm=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=St({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})();const Fu=new Lt("LocaleId",{providedIn:"root",factory:()=>nt(Fu,Me.Optional|Me.SkipSelf)||function b0(){return typeof $localize<"u"&&$localize.locale||as}()}),S0=new Lt("DefaultCurrencyCode",{providedIn:"root",factory:()=>"USD"});let Rm=(()=>{class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new se.X(!1)}add(){this.hasPendingTasks.next(!0);const n=this.taskId++;return this.pendingTasks.add(n),n}remove(n){this.pendingTasks.delete(n),0===this.pendingTasks.size&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks.next(!1)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=St({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();class I0{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}}let A0=(()=>{class e{compileModuleSync(n){return new Bc(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){const r=this.compileModuleSync(n),i=Oo(tn(n).declarations).reduce((s,c)=>{const h=_t(c);return h&&s.push(new Js(h)),s},[]);return new I0(r,i)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=St({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function Pm(...e){}class fr{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Co(!1),this.onMicrotaskEmpty=new Co(!1),this.onStable=new Co(!1),this.onError=new Co(!1),typeof Zone>"u")throw new Se(908,!1);Zone.assertZonePatched();const o=this;o._nesting=0,o._outer=o._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(o._inner=o._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(o._inner=o._inner.fork(Zone.longStackTraceZoneSpec)),o.shouldCoalesceEventChangeDetection=!r&&n,o.shouldCoalesceRunChangeDetection=r,o.lastRequestAnimationFrameId=-1,o.nativeRequestAnimationFrame=function R0(){const e="function"==typeof vt.requestAnimationFrame;let t=vt[e?"requestAnimationFrame":"setTimeout"],n=vt[e?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&t&&n){const r=t[Zone.__symbol__("OriginalDelegate")];r&&(t=r);const o=n[Zone.__symbol__("OriginalDelegate")];o&&(n=o)}return{nativeRequestAnimationFrame:t,nativeCancelAnimationFrame:n}}().nativeRequestAnimationFrame,function P0(e){const t=()=>{!function x0(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(vt,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,od(e),e.isCheckStableRunning=!0,rd(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),od(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,o,i,s,c)=>{try{return Fm(e),n.invokeTask(o,i,s,c)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===i.type||e.shouldCoalesceRunChangeDetection)&&t(),Lm(e)}},onInvoke:(n,r,o,i,s,c,h)=>{try{return Fm(e),n.invoke(o,i,s,c,h)}finally{e.shouldCoalesceRunChangeDetection&&t(),Lm(e)}},onHasTask:(n,r,o,i)=>{n.hasTask(o,i),r===o&&("microTask"==i.change?(e._hasPendingMicrotasks=i.microTask,od(e),rd(e)):"macroTask"==i.change&&(e.hasPendingMacrotasks=i.macroTask))},onHandleError:(n,r,o,i)=>(n.handleError(o,i),e.runOutsideAngular(()=>e.onError.emit(i)),!1)})}(o)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!fr.isInAngularZone())throw new Se(909,!1)}static assertNotInAngularZone(){if(fr.isInAngularZone())throw new Se(909,!1)}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,o){const i=this._inner,s=i.scheduleEventTask("NgZoneEvent: "+o,t,O0,Pm,Pm);try{return i.runTask(s,n,r)}finally{i.cancelTask(s)}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}}const O0={};function rd(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 od(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function Fm(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Lm(e){e._nesting--,rd(e)}const km=new Lt("",{providedIn:"root",factory:Vm});function Vm(){const e=nt(fr);let t=!0;return function ge(...e){const t=(0,Ge.yG)(e),n=(0,Ge._6)(e,1/0),r=e;return r.length?1===r.length?(0,Z.Xf)(r[0]):(0,z.J)(n)((0,Ne.D)(r,t)):le.E}(new Q.y(o=>{t=e.isStable&&!e.hasPendingMacrotasks&&!e.hasPendingMicrotasks,e.runOutsideAngular(()=>{o.next(t),o.complete()})}),new Q.y(o=>{let i;e.runOutsideAngular(()=>{i=e.onStable.subscribe(()=>{fr.assertNotInAngularZone(),queueMicrotask(()=>{!t&&!e.hasPendingMacrotasks&&!e.hasPendingMicrotasks&&(t=!0,o.next(!0))})})});const s=e.onUnstable.subscribe(()=>{fr.assertInAngularZone(),t&&(t=!1,e.runOutsideAngular(()=>{o.next(!1)}))});return()=>{i.unsubscribe(),s.unsubscribe()}}).pipe(Re()))}const Hm=new Lt(""),Bm=new Lt("");let id,L0=(()=>{class e{constructor(n,r,o){this._ngZone=n,this.registry=r,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,id||(function k0(e){id=e}(o),o.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:()=>{fr.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;0!==this._callbacks.length;){let 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,o){let i=-1;r&&r>0&&(i=setTimeout(()=>{this._callbacks=this._callbacks.filter(s=>s.timeoutId!==i),n(this._didWork,this.getPendingTasks())},r)),this._callbacks.push({doneCb:n,timeoutId:i,updateCb:o})}whenStable(n,r,o){if(o&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(n,r,o),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(n){this.registry.registerApplication(n,this)}unregisterApplication(n){this.registry.unregisterApplication(n)}findProviders(n,r,o){return[]}}return e.\u0275fac=function(n){return new(n||e)(Ze(fr),Ze(jm),Ze(Bm))},e.\u0275prov=St({token:e,factory:e.\u0275fac}),e})(),jm=(()=>{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 id?.findTestabilityInTree(this,n,r)??null}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=St({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})(),Zo=null;const sd=new Lt("PlatformDestroyListeners"),ad=new Lt("appBootstrapListener");class B0{constructor(t,n){this.name=t,this.token=n}}function $0(e){try{const{rootComponent:t,appProviders:n,platformProviders:r}=e,o=function U0(e=[]){if(Zo)return Zo;const t=function zm(e=[],t){return Yo.create({name:t,providers:[{provide:xl,useValue:"platform"},{provide:sd,useValue:new Set([()=>Zo=null])},...e]})}(e);return Zo=t,function $m(){!function ys(e){Ii=e}(()=>{throw new Se(600,!1)})}(),function Gm(e){e.get(qf,null)?.forEach(n=>n())}(t),t}(r),i=[Y0(),...n||[]],c=new kg({providers:i,parent:o,debugName:"",runEnvironmentInitializers:!1}).injector,h=c.get(fr);return h.run(()=>{c.resolveInjectorInitializers();const D=c.get(Wi,null);let E;h.runOutsideAngular(()=>{E=h.onError.subscribe({next:k=>{D.handleError(k)}})});const I=()=>c.destroy(),x=o.get(sd);return x.add(I),c.onDestroy(()=>{E.unsubscribe(),x.delete(I)}),function Ym(e,t,n){try{const r=n();return _c(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e.handleError(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}(D,h,()=>{const k=c.get(nd);return k.runInitializers(),k.donePromise.then(()=>{!function cg(e){ln(e,"Expected localeId to be defined"),"string"==typeof e&&(lg=e.toLowerCase().replace(/_/g,"-"))}(c.get(Fu,as)||as);const ue=c.get(ds);return void 0!==t&&ue.bootstrap(t),ue})})})}catch(t){return Promise.reject(t)}}let ds=(()=>{class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=nt(Xm),this.zoneIsStable=nt(km),this.componentTypes=[],this.components=[],this.isStable=nt(Rm).hasPendingTasks.pipe((0,ft.w)(n=>n?(0,K.of)(!1):this.zoneIsStable),function Le(e,t=be.y){return e=e??st,(0,Pe.e)((n,r)=>{let o,i=!0;n.subscribe((0,Ke.x)(r,s=>{const c=t(s);(i||!e(o,c))&&(i=!1,o=c,r.next(s))}))})}(),Re()),this._injector=nt(hi)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(n,r){const o=n instanceof Qf;if(!this._injector.get(nd).done)throw!o&&xr(n),new Se(405,!1);let s;s=o?n:this._injector.get(du).resolveComponentFactory(n),this.componentTypes.push(s.componentType);const c=function H0(e){return e.isBoundToModule}(s)?void 0:this._injector.get(us),D=s.create(Yo.NULL,[],r||s.selector,c),E=D.location.nativeElement,I=D.injector.get(Hm,null);return I?.registerApplication(E),D.onDestroy(()=>{this.detachView(D.hostView),Lu(this.components,D),I?.unregisterApplication(E)}),this._loadComponent(D),D}tick(){if(this._runningTick)throw new Se(101,!1);try{this._runningTick=!0;for(let n of this._views)n.detectChanges()}catch(n){this.internalErrorHandler(n)}finally{this._runningTick=!1}}attachView(n){const r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){const r=n;Lu(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n);const r=this._injector.get(ad,[]);r.push(...this._bootstrapListeners),r.forEach(o=>o(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>Lu(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new Se(406,!1);const n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=St({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function Lu(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}const Xm=new Lt("",{providedIn:"root",factory:()=>nt(Wi).handleError.bind(void 0)});function W0(){const e=nt(fr),t=nt(Wi);return n=>e.runOutsideAngular(()=>t.handleError(n))}let q0=(()=>{class e{constructor(){this.zone=nt(fr),this.applicationRef=nt(ds)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=St({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function Jm(e){return[{provide:fr,useFactory:e},{provide:$s,multi:!0,useFactory:()=>{const t=nt(q0,{optional:!0});return()=>t.initialize()}},{provide:Xm,useFactory:W0},{provide:km,useFactory:Vm}]}function Y0(e){return Tl([[],Jm(()=>new fr(function qm(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}(e)))])}let K0=(()=>{class e{}return e.__NG_ELEMENT_ID__=Z0,e})();function Z0(e){return function X0(e,t,n){if(kn(e)&&!n){const r=Zt(e.index,t);return new Xs(r,r)}return 47&e.type?new Xs(t[Bt],t):null}(Nn(),oe(),16==(16&e))}class ny{constructor(){}supports(t){return Du(t)}create(t){return new rM(t)}}const nM=(e,t)=>t;class rM{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||nM}forEachItem(t){let n;for(n=this._itHead;null!==n;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,r=this._removalsHead,o=0,i=null;for(;n||r;){const s=!r||n&&n.currentIndex{s=this._trackByFn(o,c),null!==n&&Object.is(n.trackById,s)?(r&&(n=this._verifyReinsertion(n,c,s,o)),Object.is(n.item,c)||this._addIdentityChange(n,c)):(n=this._mismatch(n,c,s,o),r=!0),n=n._next,o++}),this.length=o;return this._truncate(n),this.collection=t,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;null!==t;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;null!==t;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,n,r,o){let i;return null===t?i=this._itTail:(i=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._reinsertAfter(t,i,o)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(r,o))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,i,o)):t=this._addAfter(new oM(n,r),i,o),t}_verifyReinsertion(t,n,r,o){let i=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null);return null!==i?t=this._reinsertAfter(i,t._prev,o):t.currentIndex!=o&&(t.currentIndex=o,this._addToMoves(t,o)),t}_truncate(t){for(;null!==t;){const n=t._next;this._addToRemovals(this._unlink(t)),t=n}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,n,r){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const o=t._prevRemoved,i=t._nextRemoved;return null===o?this._removalsHead=i:o._nextRemoved=i,null===i?this._removalsTail=o:i._prevRemoved=o,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 o=null===n?this._itHead:n._next;return t._next=o,t._prev=n,null===o?this._itTail=t:o._prev=t,null===n?this._itHead=t:n._next=t,null===this._linkedRecords&&(this._linkedRecords=new ry),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 ry),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 oM{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 iM{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 ry{constructor(){this.map=new Map}put(t){const n=t.trackById;let r=this.map.get(n);r||(r=new iM,this.map.set(n,r)),r.add(t)}get(t,n){const o=this.map.get(t);return o?o.get(t,n):null}remove(t){const n=t.trackById;return this.map.get(n).remove(t)&&this.map.delete(n),t}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function oy(e,t,n){const r=e.previousIndex;if(null===r)return r;let o=0;return n&&r{if(n&&n.key===o)this._maybeAddToChanges(n,r),this._appendAfter=n,n=n._next;else{const i=this._getOrCreateRecordForKey(o,r);n=this._insertBeforeOrAppend(n,i)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(let r=n;null!==r;r=r._nextRemoved)r===this._mapHead&&(this._mapHead=null),this._records.delete(r.key),r._nextRemoved=r._next,r.previousValue=r.currentValue,r.currentValue=null,r._prev=null,r._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,n){if(t){const r=t._prev;return n._next=t,n._prev=r,t._prev=n,r&&(r._next=n),t===this._mapHead&&(this._mapHead=n),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=n,n._prev=this._appendAfter):this._mapHead=n,this._appendAfter=n,null}_getOrCreateRecordForKey(t,n){if(this._records.has(t)){const o=this._records.get(t);this._maybeAddToChanges(o,n);const i=o._prev,s=o._next;return i&&(i._next=s),s&&(s._prev=i),o._next=null,o._prev=null,o}const r=new aM(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 aM{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 sy(){return new hd([new ny])}let hd=(()=>{class e{constructor(n){this.factories=n}static create(n,r){if(null!=r){const o=r.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||sy()),deps:[[e,new Ga,new $a]]}}find(n){const r=this.factories.find(o=>o.supports(n));if(null!=r)return r;throw new Se(901,!1)}}return e.\u0275prov=St({token:e,providedIn:"root",factory:sy}),e})();function ay(){return new pd([new iy])}let pd=(()=>{class e{constructor(n){this.factories=n}static create(n,r){if(r){const o=r.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||ay()),deps:[[e,new Ga,new $a]]}}find(n){const r=this.factories.find(o=>o.supports(n));if(r)return r;throw new Se(901,!1)}}return e.\u0275prov=St({token:e,providedIn:"root",factory:ay}),e})();function vM(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}function CM(e){const t=_t(e);if(!t)return null;const n=new Js(t);return{get selector(){return n.selector},get type(){return n.componentType},get inputs(){return n.inputs},get outputs(){return n.outputs},get ngContentSelectors(){return n.ngContentSelectors},get isStandalone(){return t.standalone},get isSignal(){return t.signals}}}},95:(Xe,fe,A)=>{A.d(fe,{Fj:()=>te,NI:()=>Tn,u:()=>Rt,cw:()=>Ze,sg:()=>Ae,u5:()=>kt,JJ:()=>ke,JL:()=>We,UX:()=>ps,kI:()=>ee,_Y:()=>wo});var l=A(4946),$=A(6814),se=A(7715),Q=A(5592),z=A(7453),Z=A(4829),le=A(4564),Ge=A(8251),Ne=A(7400),ge=A(2714),he=A(7398);let Pe=(()=>{class v{constructor(g,b){this._renderer=g,this._elementRef=b,this.onChange=G=>{},this.onTouched=()=>{}}setProperty(g,b){this._renderer.setProperty(this._elementRef.nativeElement,g,b)}registerOnTouched(g){this.onTouched=g}registerOnChange(g){this.onChange=g}setDisabledState(g){this.setProperty("disabled",g)}}return v.\u0275fac=function(g){return new(g||v)(l.Y36(l.Qsj),l.Y36(l.SBq))},v.\u0275dir=l.lG2({type:v}),v})(),Re=(()=>{class v extends Pe{}return v.\u0275fac=function(){let y;return function(b){return(y||(y=l.n5z(v)))(b||v)}}(),v.\u0275dir=l.lG2({type:v,features:[l.qOj]}),v})();const Ue=new l.OlP("NgValueAccessor"),Ke={provide:Ue,useExisting:(0,l.Gpc)(()=>te),multi:!0},st=new l.OlP("CompositionEventMode");let te=(()=>{class v extends Pe{constructor(g,b,G){super(g,b),this._compositionMode=G,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function Le(){const v=(0,$.q)()?(0,$.q)().getUserAgent():"";return/android (\d+)/.test(v.toLowerCase())}())}writeValue(g){this.setProperty("value",g??"")}_handleInput(g){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(g)}_compositionStart(){this._composing=!0}_compositionEnd(g){this._composing=!1,this._compositionMode&&this.onChange(g)}}return v.\u0275fac=function(g){return new(g||v)(l.Y36(l.Qsj),l.Y36(l.SBq),l.Y36(st,8))},v.\u0275dir=l.lG2({type:v,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(g,b){1&g&&l.NdJ("input",function($e){return b._handleInput($e.target.value)})("blur",function(){return b.onTouched()})("compositionstart",function(){return b._compositionStart()})("compositionend",function($e){return b._compositionEnd($e.target.value)})},features:[l._Bn([Ke]),l.qOj]}),v})();function ce(v){return null==v||("string"==typeof v||Array.isArray(v))&&0===v.length}function me(v){return null!=v&&"number"==typeof v.length}const Oe=new l.OlP("NgValidators"),ye=new l.OlP("NgAsyncValidators"),ie=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;class ee{static min(y){return function ve(v){return y=>{if(ce(y.value)||ce(v))return null;const g=parseFloat(y.value);return!isNaN(g)&&g{if(ce(y.value)||ce(v))return null;const g=parseFloat(y.value);return!isNaN(g)&&g>v?{max:{max:v,actual:y.value}}:null}}(y)}static required(y){return function mt(v){return ce(v.value)?{required:!0}:null}(y)}static requiredTrue(y){return function gn(v){return!0===v.value?null:{required:!0}}(y)}static email(y){return function Se(v){return ce(v.value)||ie.test(v.value)?null:{email:!0}}(y)}static minLength(y){return function j(v){return y=>ce(y.value)||!me(y.value)?null:y.value.lengthme(y.value)&&y.value.length>v?{maxlength:{requiredLength:v,actualLength:y.value.length}}:null}(y)}static pattern(y){return function B(v){if(!v)return re;let y,g;return"string"==typeof v?(g="","^"!==v.charAt(0)&&(g+="^"),g+=v,"$"!==v.charAt(v.length-1)&&(g+="$"),y=new RegExp(g)):(g=v.toString(),y=v),b=>{if(ce(b.value))return null;const G=b.value;return y.test(G)?null:{pattern:{requiredPattern:g,actualValue:G}}}}(y)}static nullValidator(y){return null}static compose(y){return Ct(y)}static composeAsync(y){return it(y)}}function re(v){return null}function Ce(v){return null!=v}function de(v){return(0,l.QGY)(v)?(0,se.D)(v):v}function Fe(v){let y={};return v.forEach(g=>{y=null!=g?{...y,...g}:y}),0===Object.keys(y).length?null:y}function Ve(v,y){return y.map(g=>g(v))}function Ye(v){return v.map(y=>function zt(v){return!v.validate}(y)?y:g=>y.validate(g))}function Ct(v){if(!v)return null;const y=v.filter(Ce);return 0==y.length?null:function(g){return Fe(Ve(g,y))}}function dt(v){return null!=v?Ct(Ye(v)):null}function it(v){if(!v)return null;const y=v.filter(Ce);return 0==y.length?null:function(g){return function K(...v){const y=(0,le.jO)(v),{args:g,keys:b}=(0,z.D)(v),G=new Q.y($e=>{const{length:Vt}=g;if(!Vt)return void $e.complete();const Mn=new Array(Vt);let Dr=Vt,qn=Vt;for(let To=0;To{ur||(ur=!0,qn--),Mn[To]=co},()=>Dr--,void 0,()=>{(!Dr||!ur)&&(qn||$e.next(b?(0,ge.n)(b,Mn):Mn),$e.complete())}))}});return y?G.pipe((0,Ne.Z)(y)):G}(Ve(g,y).map(de)).pipe((0,he.U)(Fe))}}function Ht(v){return null!=v?it(Ye(v)):null}function mn(v,y){return null===v?[y]:Array.isArray(v)?[...v,y]:[v,y]}function nn(v){return v._rawValidators}function rn(v){return v._rawAsyncValidators}function Un(v){return v?Array.isArray(v)?v:[v]:[]}function Xt(v,y){return Array.isArray(v)?v.includes(y):v===y}function Er(v,y){const g=Un(y);return Un(v).forEach(G=>{Xt(g,G)||g.push(G)}),g}function ln(v,y){return Un(y).filter(g=>!Xt(v,g))}class Ie{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(y){this._rawValidators=y||[],this._composedValidatorFn=dt(this._rawValidators)}_setAsyncValidators(y){this._rawAsyncValidators=y||[],this._composedAsyncValidatorFn=Ht(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(y){this._onDestroyCallbacks.push(y)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(y=>y()),this._onDestroyCallbacks=[]}reset(y=void 0){this.control&&this.control.reset(y)}hasError(y,g){return!!this.control&&this.control.hasError(y,g)}getError(y,g){return this.control?this.control.getError(y,g):null}}class jt extends Ie{get formDirective(){return null}get path(){return null}}class $n extends Ie{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class yn{constructor(y){this._cd=y}get isTouched(){return!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return!!this._cd?.submitted}}let ke=(()=>{class v extends yn{constructor(g){super(g)}}return v.\u0275fac=function(g){return new(g||v)(l.Y36($n,2))},v.\u0275dir=l.lG2({type:v,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(g,b){2&g&&l.ekj("ng-untouched",b.isUntouched)("ng-touched",b.isTouched)("ng-pristine",b.isPristine)("ng-dirty",b.isDirty)("ng-valid",b.isValid)("ng-invalid",b.isInvalid)("ng-pending",b.isPending)},features:[l.qOj]}),v})(),We=(()=>{class v extends yn{constructor(g){super(g)}}return v.\u0275fac=function(g){return new(g||v)(l.Y36(jt,10))},v.\u0275dir=l.lG2({type:v,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(g,b){2&g&&l.ekj("ng-untouched",b.isUntouched)("ng-touched",b.isTouched)("ng-pristine",b.isPristine)("ng-dirty",b.isDirty)("ng-valid",b.isValid)("ng-invalid",b.isInvalid)("ng-pending",b.isPending)("ng-submitted",b.isSubmitted)},features:[l.qOj]}),v})();const vn="VALID",Sn="INVALID",Gn="PENDING",In="DISABLED";function rr(v){return(V(v)?v.validators:v)||null}function F(v,y){return(V(y)?y.asyncValidators:v)||null}function V(v){return null!=v&&!Array.isArray(v)&&"object"==typeof v}class ze{constructor(y,g){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(y),this._assignAsyncValidators(g)}get validator(){return this._composedValidatorFn}set validator(y){this._rawValidators=this._composedValidatorFn=y}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(y){this._rawAsyncValidators=this._composedAsyncValidatorFn=y}get parent(){return this._parent}get valid(){return this.status===vn}get invalid(){return this.status===Sn}get pending(){return this.status==Gn}get disabled(){return this.status===In}get enabled(){return this.status!==In}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(y){this._assignValidators(y)}setAsyncValidators(y){this._assignAsyncValidators(y)}addValidators(y){this.setValidators(Er(y,this._rawValidators))}addAsyncValidators(y){this.setAsyncValidators(Er(y,this._rawAsyncValidators))}removeValidators(y){this.setValidators(ln(y,this._rawValidators))}removeAsyncValidators(y){this.setAsyncValidators(ln(y,this._rawAsyncValidators))}hasValidator(y){return Xt(this._rawValidators,y)}hasAsyncValidator(y){return Xt(this._rawAsyncValidators,y)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(y={}){this.touched=!0,this._parent&&!y.onlySelf&&this._parent.markAsTouched(y)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(y=>y.markAllAsTouched())}markAsUntouched(y={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(g=>{g.markAsUntouched({onlySelf:!0})}),this._parent&&!y.onlySelf&&this._parent._updateTouched(y)}markAsDirty(y={}){this.pristine=!1,this._parent&&!y.onlySelf&&this._parent.markAsDirty(y)}markAsPristine(y={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(g=>{g.markAsPristine({onlySelf:!0})}),this._parent&&!y.onlySelf&&this._parent._updatePristine(y)}markAsPending(y={}){this.status=Gn,!1!==y.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!y.onlySelf&&this._parent.markAsPending(y)}disable(y={}){const g=this._parentMarkedDirty(y.onlySelf);this.status=In,this.errors=null,this._forEachChild(b=>{b.disable({...y,onlySelf:!0})}),this._updateValue(),!1!==y.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...y,skipPristineCheck:g}),this._onDisabledChange.forEach(b=>b(!0))}enable(y={}){const g=this._parentMarkedDirty(y.onlySelf);this.status=vn,this._forEachChild(b=>{b.enable({...y,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:y.emitEvent}),this._updateAncestors({...y,skipPristineCheck:g}),this._onDisabledChange.forEach(b=>b(!1))}_updateAncestors(y){this._parent&&!y.onlySelf&&(this._parent.updateValueAndValidity(y),y.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(y){this._parent=y}getRawValue(){return this.value}updateValueAndValidity(y={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===vn||this.status===Gn)&&this._runAsyncValidator(y.emitEvent)),!1!==y.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!y.onlySelf&&this._parent.updateValueAndValidity(y)}_updateTreeValidity(y={emitEvent:!0}){this._forEachChild(g=>g._updateTreeValidity(y)),this.updateValueAndValidity({onlySelf:!0,emitEvent:y.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?In:vn}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(y){if(this.asyncValidator){this.status=Gn,this._hasOwnPendingAsyncValidator=!0;const g=de(this.asyncValidator(this));this._asyncValidationSubscription=g.subscribe(b=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(b,{emitEvent:y})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(y,g={}){this.errors=y,this._updateControlsErrors(!1!==g.emitEvent)}get(y){let g=y;return null==g||(Array.isArray(g)||(g=g.split(".")),0===g.length)?null:g.reduce((b,G)=>b&&b._find(G),this)}getError(y,g){const b=g?this.get(g):this;return b&&b.errors?b.errors[y]:null}hasError(y,g){return!!this.getError(y,g)}get root(){let y=this;for(;y._parent;)y=y._parent;return y}_updateControlsErrors(y){this.status=this._calculateStatus(),y&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(y)}_initObservables(){this.valueChanges=new l.vpe,this.statusChanges=new l.vpe}_calculateStatus(){return this._allControlsDisabled()?In:this.errors?Sn:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Gn)?Gn:this._anyControlsHaveStatus(Sn)?Sn:vn}_anyControlsHaveStatus(y){return this._anyControls(g=>g.status===y)}_anyControlsDirty(){return this._anyControls(y=>y.dirty)}_anyControlsTouched(){return this._anyControls(y=>y.touched)}_updatePristine(y={}){this.pristine=!this._anyControlsDirty(),this._parent&&!y.onlySelf&&this._parent._updatePristine(y)}_updateTouched(y={}){this.touched=this._anyControlsTouched(),this._parent&&!y.onlySelf&&this._parent._updateTouched(y)}_registerOnCollectionChange(y){this._onCollectionChange=y}_setUpdateStrategy(y){V(y)&&null!=y.updateOn&&(this._updateOn=y.updateOn)}_parentMarkedDirty(y){return!y&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(y){return null}_assignValidators(y){this._rawValidators=Array.isArray(y)?y.slice():y,this._composedValidatorFn=function Y(v){return Array.isArray(v)?dt(v):v||null}(this._rawValidators)}_assignAsyncValidators(y){this._rawAsyncValidators=Array.isArray(y)?y.slice():y,this._composedAsyncValidatorFn=function N(v){return Array.isArray(v)?Ht(v):v||null}(this._rawAsyncValidators)}}class Ze extends ze{constructor(y,g,b){super(rr(g),F(b,g)),this.controls=y,this._initObservables(),this._setUpdateStrategy(g),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(y,g){return this.controls[y]?this.controls[y]:(this.controls[y]=g,g.setParent(this),g._registerOnCollectionChange(this._onCollectionChange),g)}addControl(y,g,b={}){this.registerControl(y,g),this.updateValueAndValidity({emitEvent:b.emitEvent}),this._onCollectionChange()}removeControl(y,g={}){this.controls[y]&&this.controls[y]._registerOnCollectionChange(()=>{}),delete this.controls[y],this.updateValueAndValidity({emitEvent:g.emitEvent}),this._onCollectionChange()}setControl(y,g,b={}){this.controls[y]&&this.controls[y]._registerOnCollectionChange(()=>{}),delete this.controls[y],g&&this.registerControl(y,g),this.updateValueAndValidity({emitEvent:b.emitEvent}),this._onCollectionChange()}contains(y){return this.controls.hasOwnProperty(y)&&this.controls[y].enabled}setValue(y,g={}){(function Ee(v,y,g){v._forEachChild((b,G)=>{if(void 0===g[G])throw new l.vHH(1002,"")})})(this,0,y),Object.keys(y).forEach(b=>{(function ne(v,y,g){const b=v.controls;if(!(y?Object.keys(b):b).length)throw new l.vHH(1e3,"");if(!b[g])throw new l.vHH(1001,"")})(this,!0,b),this.controls[b].setValue(y[b],{onlySelf:!0,emitEvent:g.emitEvent})}),this.updateValueAndValidity(g)}patchValue(y,g={}){null!=y&&(Object.keys(y).forEach(b=>{const G=this.controls[b];G&&G.patchValue(y[b],{onlySelf:!0,emitEvent:g.emitEvent})}),this.updateValueAndValidity(g))}reset(y={},g={}){this._forEachChild((b,G)=>{b.reset(y[G],{onlySelf:!0,emitEvent:g.emitEvent})}),this._updatePristine(g),this._updateTouched(g),this.updateValueAndValidity(g)}getRawValue(){return this._reduceChildren({},(y,g,b)=>(y[b]=g.getRawValue(),y))}_syncPendingControls(){let y=this._reduceChildren(!1,(g,b)=>!!b._syncPendingControls()||g);return y&&this.updateValueAndValidity({onlySelf:!0}),y}_forEachChild(y){Object.keys(this.controls).forEach(g=>{const b=this.controls[g];b&&y(b,g)})}_setUpControls(){this._forEachChild(y=>{y.setParent(this),y._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(y){for(const[g,b]of Object.entries(this.controls))if(this.contains(g)&&y(b))return!0;return!1}_reduceValue(){return this._reduceChildren({},(g,b,G)=>((b.enabled||this.disabled)&&(g[G]=b.value),g))}_reduceChildren(y,g){let b=y;return this._forEachChild((G,$e)=>{b=g(b,G,$e)}),b}_allControlsDisabled(){for(const y of Object.keys(this.controls))if(this.controls[y].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(y){return this.controls.hasOwnProperty(y)?this.controls[y]:null}}const H=new l.OlP("CallSetDisabledState",{providedIn:"root",factory:()=>R}),R="always";function ae(v,y,g=R){lt(v,y),y.valueAccessor.writeValue(v.value),(v.disabled||"always"===g)&&y.valueAccessor.setDisabledState?.(v.disabled),function Nt(v,y){y.valueAccessor.registerOnChange(g=>{v._pendingValue=g,v._pendingChange=!0,v._pendingDirty=!0,"change"===v.updateOn&&en(v,y)})}(v,y),function pn(v,y){const g=(b,G)=>{y.valueAccessor.writeValue(b),G&&y.viewToModelUpdate(b)};v.registerOnChange(g),y._registerOnDestroy(()=>{v._unregisterOnChange(g)})}(v,y),function Wn(v,y){y.valueAccessor.registerOnTouched(()=>{v._pendingTouched=!0,"blur"===v.updateOn&&v._pendingChange&&en(v,y),"submit"!==v.updateOn&&v.markAsTouched()})}(v,y),function De(v,y){if(y.valueAccessor.setDisabledState){const g=b=>{y.valueAccessor.setDisabledState(b)};v.registerOnDisabledChange(g),y._registerOnDestroy(()=>{v._unregisterOnDisabledChange(g)})}}(v,y)}function pe(v,y,g=!0){const b=()=>{};y.valueAccessor&&(y.valueAccessor.registerOnChange(b),y.valueAccessor.registerOnTouched(b)),we(v,y),v&&(y._invokeOnDestroyCallbacks(),v._registerOnCollectionChange(()=>{}))}function _e(v,y){v.forEach(g=>{g.registerOnValidatorChange&&g.registerOnValidatorChange(y)})}function lt(v,y){const g=nn(v);null!==y.validator?v.setValidators(mn(g,y.validator)):"function"==typeof g&&v.setValidators([g]);const b=rn(v);null!==y.asyncValidator?v.setAsyncValidators(mn(b,y.asyncValidator)):"function"==typeof b&&v.setAsyncValidators([b]);const G=()=>v.updateValueAndValidity();_e(y._rawValidators,G),_e(y._rawAsyncValidators,G)}function we(v,y){let g=!1;if(null!==v){if(null!==y.validator){const G=nn(v);if(Array.isArray(G)&&G.length>0){const $e=G.filter(Vt=>Vt!==y.validator);$e.length!==G.length&&(g=!0,v.setValidators($e))}}if(null!==y.asyncValidator){const G=rn(v);if(Array.isArray(G)&&G.length>0){const $e=G.filter(Vt=>Vt!==y.asyncValidator);$e.length!==G.length&&(g=!0,v.setAsyncValidators($e))}}}const b=()=>{};return _e(y._rawValidators,b),_e(y._rawAsyncValidators,b),g}function en(v,y){v._pendingDirty&&v.markAsDirty(),v.setValue(v._pendingValue,{emitModelToViewChange:!1}),y.viewToModelUpdate(v._pendingValue),v._pendingChange=!1}function oo(v,y){const g=v.indexOf(y);g>-1&&v.splice(g,1)}function Ur(v){return"object"==typeof v&&null!==v&&2===Object.keys(v).length&&"value"in v&&"disabled"in v}const Tn=class extends ze{constructor(y=null,g,b){super(rr(g),F(b,g)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(y),this._setUpdateStrategy(g),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),V(g)&&(g.nonNullable||g.initialValueIsDefault)&&(this.defaultValue=Ur(y)?y.value:y)}setValue(y,g={}){this.value=this._pendingValue=y,this._onChange.length&&!1!==g.emitModelToViewChange&&this._onChange.forEach(b=>b(this.value,!1!==g.emitViewToModelChange)),this.updateValueAndValidity(g)}patchValue(y,g={}){this.setValue(y,g)}reset(y=this.defaultValue,g={}){this._applyFormState(y),this.markAsPristine(g),this.markAsUntouched(g),this.setValue(this.value,g),this._pendingChange=!1}_updateValue(){}_anyControls(y){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(y){this._onChange.push(y)}_unregisterOnChange(y){oo(this._onChange,y)}registerOnDisabledChange(y){this._onDisabledChange.push(y)}_unregisterOnDisabledChange(y){oo(this._onDisabledChange,y)}_forEachChild(y){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(y){Ur(y)?(this.value=this._pendingValue=y.value,y.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=y}};let wo=(()=>{class v{}return v.\u0275fac=function(g){return new(g||v)},v.\u0275dir=l.lG2({type:v,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),v})(),Cn=(()=>{class v{}return v.\u0275fac=function(g){return new(g||v)},v.\u0275mod=l.oAB({type:v}),v.\u0275inj=l.cJS({}),v})();const pr=new l.OlP("NgModelWithFormControlWarning"),qt={provide:jt,useExisting:(0,l.Gpc)(()=>Ae)};let Ae=(()=>{class v extends jt{constructor(g,b,G){super(),this.callSetDisabledState=G,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new l.vpe,this._setValidators(g),this._setAsyncValidators(b)}ngOnChanges(g){this._checkFormPresent(),g.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(we(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(g){const b=this.form.get(g.path);return ae(b,g,this.callSetDisabledState),b.updateValueAndValidity({emitEvent:!1}),this.directives.push(g),b}getControl(g){return this.form.get(g.path)}removeControl(g){pe(g.control||null,g,!1),function Rr(v,y){const g=v.indexOf(y);g>-1&&v.splice(g,1)}(this.directives,g)}addFormGroup(g){this._setUpFormContainer(g)}removeFormGroup(g){this._cleanUpFormContainer(g)}getFormGroup(g){return this.form.get(g.path)}addFormArray(g){this._setUpFormContainer(g)}removeFormArray(g){this._cleanUpFormContainer(g)}getFormArray(g){return this.form.get(g.path)}updateModel(g,b){this.form.get(g.path).setValue(b)}onSubmit(g){return this.submitted=!0,function Tr(v,y){v._syncPendingControls(),y.forEach(g=>{const b=g.control;"submit"===b.updateOn&&b._pendingChange&&(g.viewToModelUpdate(b._pendingValue),b._pendingChange=!1)})}(this.form,this.directives),this.ngSubmit.emit(g),"dialog"===g?.target?.method}onReset(){this.resetForm()}resetForm(g=void 0){this.form.reset(g),this.submitted=!1}_updateDomValue(){this.directives.forEach(g=>{const b=g.control,G=this.form.get(g.path);b!==G&&(pe(b||null,g),(v=>v instanceof Tn)(G)&&(ae(G,g,this.callSetDisabledState),g.control=G))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(g){const b=this.form.get(g.path);(function sn(v,y){lt(v,y)})(b,g),b.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(g){if(this.form){const b=this.form.get(g.path);b&&function an(v,y){return we(v,y)}(b,g)&&b.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){lt(this.form,this),this._oldForm&&we(this._oldForm,this)}_checkFormPresent(){}}return v.\u0275fac=function(g){return new(g||v)(l.Y36(Oe,10),l.Y36(ye,10),l.Y36(H,8))},v.\u0275dir=l.lG2({type:v,selectors:[["","formGroup",""]],hostBindings:function(g,b){1&g&&l.NdJ("submit",function($e){return b.onSubmit($e)})("reset",function(){return b.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[l._Bn([qt]),l.qOj,l.TTD]}),v})();const Fr={provide:$n,useExisting:(0,l.Gpc)(()=>Rt)};let Rt=(()=>{class v extends $n{set isDisabled(g){}constructor(g,b,G,$e,Vt){super(),this._ngModelWarningConfig=Vt,this._added=!1,this.name=null,this.update=new l.vpe,this._ngModelWarningSent=!1,this._parent=g,this._setValidators(b),this._setAsyncValidators(G),this.valueAccessor=function Nr(v,y){if(!y)return null;let g,b,G;return Array.isArray(y),y.forEach($e=>{$e.constructor===te?g=$e:function Ar(v){return Object.getPrototypeOf(v.constructor)===Re}($e)?b=$e:G=$e}),G||b||g||null}(0,$e)}ngOnChanges(g){this._added||this._setUpControl(),function An(v,y){if(!v.hasOwnProperty("model"))return!1;const g=v.model;return!!g.isFirstChange()||!Object.is(y,g.currentValue)}(g,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(g){this.viewModel=g,this.update.emit(g)}get path(){return function O(v,y){return[...y.path,v]}(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this._added=!0}}return v._ngModelWarningSentOnce=!1,v.\u0275fac=function(g){return new(g||v)(l.Y36(jt,13),l.Y36(Oe,10),l.Y36(ye,10),l.Y36(Ue,10),l.Y36(pr,8))},v.\u0275dir=l.lG2({type:v,selectors:[["","formControlName",""]],inputs:{name:["formControlName","name"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[l._Bn([Fr]),l.qOj,l.TTD]}),v})(),Io=(()=>{class v{}return v.\u0275fac=function(g){return new(g||v)},v.\u0275mod=l.oAB({type:v}),v.\u0275inj=l.cJS({imports:[Cn]}),v})(),kt=(()=>{class v{static withConfig(g){return{ngModule:v,providers:[{provide:H,useValue:g.callSetDisabledState??R}]}}}return v.\u0275fac=function(g){return new(g||v)},v.\u0275mod=l.oAB({type:v}),v.\u0275inj=l.cJS({imports:[Io]}),v})(),ps=(()=>{class v{static withConfig(g){return{ngModule:v,providers:[{provide:pr,useValue:g.warnOnNgModelWithFormControl??"always"},{provide:H,useValue:g.callSetDisabledState??R}]}}}return v.\u0275fac=function(g){return new(g||v)},v.\u0275mod=l.oAB({type:v}),v.\u0275inj=l.cJS({imports:[Io]}),v})()},6593:(Xe,fe,A)=>{A.d(fe,{Cg:()=>Fe,Dx:()=>$n});var l=A(4946),$=A(6814);class se extends $.w_{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class Q extends se{static makeCurrent(){(0,$.HT)(new Q)}onAndCancel(F,N,V){return F.addEventListener(N,V),()=>{F.removeEventListener(N,V)}}dispatchEvent(F,N){F.dispatchEvent(N)}remove(F){F.parentNode&&F.parentNode.removeChild(F)}createElement(F,N){return(N=N||this.getDefaultDocument()).createElement(F)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(F){return F.nodeType===Node.ELEMENT_NODE}isShadowRoot(F){return F instanceof DocumentFragment}getGlobalEventTarget(F,N){return"window"===N?window:"document"===N?F:"body"===N?F.body:null}getBaseHref(F){const N=function Z(){return z=z||document.querySelector("base"),z?z.getAttribute("href"):null}();return null==N?null:function Ge(Y){le=le||document.createElement("a"),le.setAttribute("href",Y);const F=le.pathname;return"/"===F.charAt(0)?F:`/${F}`}(N)}resetBaseElement(){z=null}getUserAgent(){return window.navigator.userAgent}getCookie(F){return(0,$.Mx)(document.cookie,F)}}let le,z=null,ge=(()=>{class Y{build(){return new XMLHttpRequest}}return Y.\u0275fac=function(N){return new(N||Y)},Y.\u0275prov=l.Yz7({token:Y,factory:Y.\u0275fac}),Y})();const K=new l.OlP("EventManagerPlugins");let he=(()=>{class Y{constructor(N,V){this._zone=V,this._eventNameToPlugin=new Map,N.forEach(ne=>{ne.manager=this}),this._plugins=N.slice().reverse()}addEventListener(N,V,ne){return this._findPluginFor(V).addEventListener(N,V,ne)}getZone(){return this._zone}_findPluginFor(N){let V=this._eventNameToPlugin.get(N);if(V)return V;if(V=this._plugins.find(Ee=>Ee.supports(N)),!V)throw new l.vHH(5101,!1);return this._eventNameToPlugin.set(N,V),V}}return Y.\u0275fac=function(N){return new(N||Y)(l.LFG(K),l.LFG(l.R0b))},Y.\u0275prov=l.Yz7({token:Y,factory:Y.\u0275fac}),Y})();class Pe{constructor(F){this._doc=F}}const Re="ng-app-id";let Ue=(()=>{class Y{constructor(N,V,ne,Ee={}){this.doc=N,this.appId=V,this.nonce=ne,this.platformId=Ee,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=(0,$.PM)(Ee),this.resetHostNodes()}addStyles(N){for(const V of N)1===this.changeUsageCount(V,1)&&this.onStyleAdded(V)}removeStyles(N){for(const V of N)this.changeUsageCount(V,-1)<=0&&this.onStyleRemoved(V)}ngOnDestroy(){const N=this.styleNodesInDOM;N&&(N.forEach(V=>V.remove()),N.clear());for(const V of this.getAllStyles())this.onStyleRemoved(V);this.resetHostNodes()}addHost(N){this.hostNodes.add(N);for(const V of this.getAllStyles())this.addStyleToHost(N,V)}removeHost(N){this.hostNodes.delete(N)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(N){for(const V of this.hostNodes)this.addStyleToHost(V,N)}onStyleRemoved(N){const V=this.styleRef;V.get(N)?.elements?.forEach(ne=>ne.remove()),V.delete(N)}collectServerRenderedStyles(){const N=this.doc.head?.querySelectorAll(`style[${Re}="${this.appId}"]`);if(N?.length){const V=new Map;return N.forEach(ne=>{null!=ne.textContent&&V.set(ne.textContent,ne)}),V}return null}changeUsageCount(N,V){const ne=this.styleRef;if(ne.has(N)){const Ee=ne.get(N);return Ee.usage+=V,Ee.usage}return ne.set(N,{usage:V,elements:[]}),V}getStyleElement(N,V){const ne=this.styleNodesInDOM,Ee=ne?.get(V);if(Ee?.parentNode===N)return ne.delete(V),Ee.removeAttribute(Re),Ee;{const ze=this.doc.createElement("style");return this.nonce&&ze.setAttribute("nonce",this.nonce),ze.textContent=V,this.platformIsServer&&ze.setAttribute(Re,this.appId),ze}}addStyleToHost(N,V){const ne=this.getStyleElement(N,V);N.appendChild(ne);const Ee=this.styleRef,ze=Ee.get(V)?.elements;ze?ze.push(ne):Ee.set(V,{elements:[ne],usage:1})}resetHostNodes(){const N=this.hostNodes;N.clear(),N.add(this.doc.head)}}return Y.\u0275fac=function(N){return new(N||Y)(l.LFG($.K0),l.LFG(l.AFp),l.LFG(l.Ojb,8),l.LFG(l.Lbi))},Y.\u0275prov=l.Yz7({token:Y,factory:Y.\u0275fac}),Y})();const ft={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/MathML/"},be=/%COMP%/g,ce=new l.OlP("RemoveStylesOnCompDestroy",{providedIn:"root",factory:()=>!1});function ye(Y,F){return F.map(N=>N.replace(be,Y))}let ie=(()=>{class Y{constructor(N,V,ne,Ee,ze,Ze,wt,nt=null){this.eventManager=N,this.sharedStylesHost=V,this.appId=ne,this.removeStylesOnCompDestroy=Ee,this.doc=ze,this.platformId=Ze,this.ngZone=wt,this.nonce=nt,this.rendererByCompId=new Map,this.platformIsServer=(0,$.PM)(Ze),this.defaultRenderer=new ee(N,ze,wt,this.platformIsServer)}createRenderer(N,V){if(!N||!V)return this.defaultRenderer;this.platformIsServer&&V.encapsulation===l.ifc.ShadowDom&&(V={...V,encapsulation:l.ifc.Emulated});const ne=this.getOrCreateRenderer(N,V);return ne instanceof j?ne.applyToHost(N):ne instanceof Se&&ne.applyStyles(),ne}getOrCreateRenderer(N,V){const ne=this.rendererByCompId;let Ee=ne.get(V.id);if(!Ee){const ze=this.doc,Ze=this.ngZone,wt=this.eventManager,nt=this.sharedStylesHost,on=this.removeStylesOnCompDestroy,zn=this.platformIsServer;switch(V.encapsulation){case l.ifc.Emulated:Ee=new j(wt,nt,V,this.appId,on,ze,Ze,zn);break;case l.ifc.ShadowDom:return new gn(wt,nt,N,V,ze,Ze,this.nonce,zn);default:Ee=new Se(wt,nt,V,on,ze,Ze,zn)}ne.set(V.id,Ee)}return Ee}ngOnDestroy(){this.rendererByCompId.clear()}}return Y.\u0275fac=function(N){return new(N||Y)(l.LFG(he),l.LFG(Ue),l.LFG(l.AFp),l.LFG(ce),l.LFG($.K0),l.LFG(l.Lbi),l.LFG(l.R0b),l.LFG(l.Ojb))},Y.\u0275prov=l.Yz7({token:Y,factory:Y.\u0275fac}),Y})();class ee{constructor(F,N,V,ne){this.eventManager=F,this.doc=N,this.ngZone=V,this.platformIsServer=ne,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(F,N){return N?this.doc.createElementNS(ft[N]||N,F):this.doc.createElement(F)}createComment(F){return this.doc.createComment(F)}createText(F){return this.doc.createTextNode(F)}appendChild(F,N){(mt(F)?F.content:F).appendChild(N)}insertBefore(F,N,V){F&&(mt(F)?F.content:F).insertBefore(N,V)}removeChild(F,N){F&&F.removeChild(N)}selectRootElement(F,N){let V="string"==typeof F?this.doc.querySelector(F):F;if(!V)throw new l.vHH(-5104,!1);return N||(V.textContent=""),V}parentNode(F){return F.parentNode}nextSibling(F){return F.nextSibling}setAttribute(F,N,V,ne){if(ne){N=ne+":"+N;const Ee=ft[ne];Ee?F.setAttributeNS(Ee,N,V):F.setAttribute(N,V)}else F.setAttribute(N,V)}removeAttribute(F,N,V){if(V){const ne=ft[V];ne?F.removeAttributeNS(ne,N):F.removeAttribute(`${V}:${N}`)}else F.removeAttribute(N)}addClass(F,N){F.classList.add(N)}removeClass(F,N){F.classList.remove(N)}setStyle(F,N,V,ne){ne&(l.JOm.DashCase|l.JOm.Important)?F.style.setProperty(N,V,ne&l.JOm.Important?"important":""):F.style[N]=V}removeStyle(F,N,V){V&l.JOm.DashCase?F.style.removeProperty(N):F.style[N]=""}setProperty(F,N,V){F[N]=V}setValue(F,N){F.nodeValue=N}listen(F,N,V){if("string"==typeof F&&!(F=(0,$.q)().getGlobalEventTarget(this.doc,F)))throw new Error(`Unsupported event target ${F} for event ${N}`);return this.eventManager.addEventListener(F,N,this.decoratePreventDefault(V))}decoratePreventDefault(F){return N=>{if("__ngUnwrap__"===N)return F;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>F(N)):F(N))&&N.preventDefault()}}}function mt(Y){return"TEMPLATE"===Y.tagName&&void 0!==Y.content}class gn extends ee{constructor(F,N,V,ne,Ee,ze,Ze,wt){super(F,Ee,ze,wt),this.sharedStylesHost=N,this.hostEl=V,this.shadowRoot=V.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const nt=ye(ne.id,ne.styles);for(const on of nt){const zn=document.createElement("style");Ze&&zn.setAttribute("nonce",Ze),zn.textContent=on,this.shadowRoot.appendChild(zn)}}nodeOrShadowRoot(F){return F===this.hostEl?this.shadowRoot:F}appendChild(F,N){return super.appendChild(this.nodeOrShadowRoot(F),N)}insertBefore(F,N,V){return super.insertBefore(this.nodeOrShadowRoot(F),N,V)}removeChild(F,N){return super.removeChild(this.nodeOrShadowRoot(F),N)}parentNode(F){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(F)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class Se extends ee{constructor(F,N,V,ne,Ee,ze,Ze,wt){super(F,Ee,ze,Ze),this.sharedStylesHost=N,this.removeStylesOnCompDestroy=ne,this.styles=wt?ye(wt,V.styles):V.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class j extends Se{constructor(F,N,V,ne,Ee,ze,Ze,wt){const nt=ne+"-"+V.id;super(F,N,V,Ee,ze,Ze,wt,nt),this.contentAttr=function me(Y){return"_ngcontent-%COMP%".replace(be,Y)}(nt),this.hostAttr=function Oe(Y){return"_nghost-%COMP%".replace(be,Y)}(nt)}applyToHost(F){this.applyStyles(),this.setAttribute(F,this.hostAttr,"")}createElement(F,N){const V=super.createElement(F,N);return super.setAttribute(V,this.contentAttr,""),V}}let P=(()=>{class Y extends Pe{constructor(N){super(N)}supports(N){return!0}addEventListener(N,V,ne){return N.addEventListener(V,ne,!1),()=>this.removeEventListener(N,V,ne)}removeEventListener(N,V,ne){return N.removeEventListener(V,ne)}}return Y.\u0275fac=function(N){return new(N||Y)(l.LFG($.K0))},Y.\u0275prov=l.Yz7({token:Y,factory:Y.\u0275fac}),Y})();const B=["alt","control","meta","shift"],re={"\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"},Ce={alt:Y=>Y.altKey,control:Y=>Y.ctrlKey,meta:Y=>Y.metaKey,shift:Y=>Y.shiftKey};let de=(()=>{class Y extends Pe{constructor(N){super(N)}supports(N){return null!=Y.parseEventName(N)}addEventListener(N,V,ne){const Ee=Y.parseEventName(V),ze=Y.eventCallback(Ee.fullKey,ne,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,$.q)().onAndCancel(N,Ee.domEventName,ze))}static parseEventName(N){const V=N.toLowerCase().split("."),ne=V.shift();if(0===V.length||"keydown"!==ne&&"keyup"!==ne)return null;const Ee=Y._normalizeKey(V.pop());let ze="",Ze=V.indexOf("code");if(Ze>-1&&(V.splice(Ze,1),ze="code."),B.forEach(nt=>{const on=V.indexOf(nt);on>-1&&(V.splice(on,1),ze+=nt+".")}),ze+=Ee,0!=V.length||0===Ee.length)return null;const wt={};return wt.domEventName=ne,wt.fullKey=ze,wt}static matchEventFullKeyCode(N,V){let ne=re[N.key]||N.key,Ee="";return V.indexOf("code.")>-1&&(ne=N.code,Ee="code."),!(null==ne||!ne)&&(ne=ne.toLowerCase()," "===ne?ne="space":"."===ne&&(ne="dot"),B.forEach(ze=>{ze!==ne&&(0,Ce[ze])(N)&&(Ee+=ze+".")}),Ee+=ne,Ee===V)}static eventCallback(N,V,ne){return Ee=>{Y.matchEventFullKeyCode(Ee,N)&&ne.runGuarded(()=>V(Ee))}}static _normalizeKey(N){return"esc"===N?"escape":N}}return Y.\u0275fac=function(N){return new(N||Y)(l.LFG($.K0))},Y.\u0275prov=l.Yz7({token:Y,factory:Y.\u0275fac}),Y})();function Fe(Y,F){return(0,l.iPO)({rootComponent:Y,...zt(F)})}function zt(Y){return{appProviders:[...Un,...Y?.providers??[]],platformProviders:Ht}}const Ht=[{provide:l.Lbi,useValue:$.bD},{provide:l.g9A,useValue:function Ct(){Q.makeCurrent()},multi:!0},{provide:$.K0,useFactory:function it(){return(0,l.RDi)(document),document},deps:[]}],Un=[{provide:l.zSh,useValue:"root"},{provide:l.qLn,useFactory:function dt(){return new l.qLn},deps:[]},{provide:K,useClass:P,multi:!0,deps:[$.K0,l.R0b,l.Lbi]},{provide:K,useClass:de,multi:!0,deps:[$.K0]},ie,Ue,he,{provide:l.FYo,useExisting:ie},{provide:$.JF,useClass:ge,deps:[]},[]];let $n=(()=>{class Y{constructor(N){this._doc=N}getTitle(){return this._doc.title}setTitle(N){this._doc.title=N||""}}return Y.\u0275fac=function(N){return new(N||Y)(l.LFG($.K0))},Y.\u0275prov=l.Yz7({token:Y,factory:function(N){let V=null;return V=N?new N:function jt(){return new $n((0,l.LFG)($.K0))}(),V},providedIn:"root"}),Y})();typeof window<"u"&&window},4670:(Xe,fe,A)=>{A.d(fe,{gz:()=>pt,F0:()=>cr,Bz:()=>Ra,lC:()=>mr,bU:()=>Mt});var l=A(4946),$=A(5592),se=A(4674),z=A(7715),Z=A(2096),le=A(5619),Ge=A(7453),Ne=A(2737),ge=A(7400),K=A(4564),he=A(2714),Pe=A(8251),Re=A(7103);function Ue(...u){const d=(0,K.yG)(u),a=(0,K.jO)(u),{args:f,keys:C}=(0,Ge.D)(u);if(0===f.length)return(0,z.D)([],d);const M=new $.y(function ft(u,d,a=Ne.y){return f=>{be(d,()=>{const{length:C}=u,M=new Array(C);let S=C,L=C;for(let q=0;q{const xe=(0,z.D)(u[q],d);let Be=!1;xe.subscribe((0,Pe.x)(f,bt=>{M[q]=bt,Be||(Be=!0,L--),L||f.next(a(M.slice()))},()=>{--S||f.complete()}))},f)},f)}}(f,d,C?S=>(0,he.n)(C,S):Ne.y));return a?M.pipe((0,ge.Z)(a)):M}function be(u,d,a){u?(0,Re.f)(a,u,d):d()}const Le=(0,A(2306).d)(u=>function(){u(this),this.name="EmptyError",this.message="no elements in sequence"});var st=A(7537);function ce(...u){return function te(){return(0,st.J)(1)}()((0,z.D)(u,(0,K.yG)(u)))}var me=A(4829);function Oe(u){return new $.y(d=>{(0,me.Xf)(u()).subscribe(d)})}var ye=A(8407);function ie(u,d){const a=(0,se.m)(u)?u:()=>u,f=C=>C.error(a());return new $.y(d?C=>d.schedule(f,0,C):f)}var ee=A(6232),ve=A(7394),ht=A(9360);function mt(){return(0,ht.e)((u,d)=>{let a=null;u._refCount++;const f=(0,Pe.x)(d,void 0,void 0,void 0,()=>{if(!u||u._refCount<=0||0<--u._refCount)return void(a=null);const C=u._connection,M=a;a=null,C&&(!M||C===M)&&C.unsubscribe(),d.unsubscribe()});u.subscribe(f),f.closed||(a=u.connect())})}class gn extends $.y{constructor(d,a){super(),this.source=d,this.subjectFactory=a,this._subject=null,this._refCount=0,this._connection=null,(0,ht.A)(d)&&(this.lift=d.lift)}_subscribe(d){return this.getSubject().subscribe(d)}getSubject(){const d=this._subject;return(!d||d.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:d}=this;this._subject=this._connection=null,d?.unsubscribe()}connect(){let d=this._connection;if(!d){d=this._connection=new ve.w0;const a=this.getSubject();d.add(this.source.subscribe((0,Pe.x)(a,void 0,()=>{this._teardown(),a.complete()},f=>{this._teardown(),a.error(f)},()=>this._teardown()))),d.closed&&(this._connection=null,d=ve.w0.EMPTY)}return d}refCount(){return mt()(this)}}var Se=A(8645),j=A(6814),P=A(7398),B=A(4664);function re(u){return u<=0?()=>ee.E:(0,ht.e)((d,a)=>{let f=0;d.subscribe((0,Pe.x)(a,C=>{++f<=u&&(a.next(C),u<=f&&a.complete())}))})}var de=A(2181),Fe=A(1631);function Ve(u){return(0,ht.e)((d,a)=>{let f=!1;d.subscribe((0,Pe.x)(a,C=>{f=!0,a.next(C)},()=>{f||a.next(u),a.complete()}))})}function zt(u=Ye){return(0,ht.e)((d,a)=>{let f=!1;d.subscribe((0,Pe.x)(a,C=>{f=!0,a.next(C)},()=>f?a.complete():a.error(u())))})}function Ye(){return new Le}function Ct(u,d){const a=arguments.length>=2;return f=>f.pipe(u?(0,de.h)((C,M)=>u(C,M,f)):Ne.y,re(1),a?Ve(d):zt(()=>new Le))}var dt=A(6328);function it(u,d,a){const f=(0,se.m)(u)||d||a?{next:u,error:d,complete:a}:u;return f?(0,ht.e)((C,M)=>{var S;null===(S=f.subscribe)||void 0===S||S.call(f);let L=!0;C.subscribe((0,Pe.x)(M,q=>{var xe;null===(xe=f.next)||void 0===xe||xe.call(f,q),M.next(q)},()=>{var q;L=!1,null===(q=f.complete)||void 0===q||q.call(f),M.complete()},q=>{var xe;L=!1,null===(xe=f.error)||void 0===xe||xe.call(f,q),M.error(q)},()=>{var q,xe;L&&(null===(q=f.unsubscribe)||void 0===q||q.call(f)),null===(xe=f.finalize)||void 0===xe||xe.call(f)}))}):Ne.y}function Ht(u){return(0,ht.e)((d,a)=>{let M,f=null,C=!1;f=d.subscribe((0,Pe.x)(a,void 0,void 0,S=>{M=(0,me.Xf)(u(S,Ht(u)(d))),f?(f.unsubscribe(),f=null,M.subscribe(a)):C=!0})),C&&(f.unsubscribe(),f=null,M.subscribe(a))})}function rn(u){return u<=0?()=>ee.E:(0,ht.e)((d,a)=>{let f=[];d.subscribe((0,Pe.x)(a,C=>{f.push(C),u{for(const C of f)a.next(C);a.complete()},void 0,()=>{f=null}))})}var Er=A(4716),ln=A(6593);const Ie="primary",jt=Symbol("RouteTitle");class $n{constructor(d){this.params=d||{}}has(d){return Object.prototype.hasOwnProperty.call(this.params,d)}get(d){if(this.has(d)){const a=this.params[d];return Array.isArray(a)?a[0]:a}return null}getAll(d){if(this.has(d)){const a=this.params[d];return Array.isArray(a)?a:[a]}return[]}get keys(){return Object.keys(this.params)}}function yn(u){return new $n(u)}function St(u,d,a){const f=a.path.split("/");if(f.length>u.length||"full"===a.pathMatch&&(d.hasChildren()||f.lengthf[M]===C)}return u===d}function hr(u){return u.length>0?u[u.length-1]:null}function Qt(u){return function Q(u){return!!u&&(u instanceof $.y||(0,se.m)(u.lift)&&(0,se.m)(u.subscribe))}(u)?u:(0,l.QGY)(u)?(0,z.D)(Promise.resolve(u)):(0,Z.of)(u)}const xn={exact:function Ot(u,d,a){if(!Kn(u.segments,d.segments)||!Yn(u.segments,d.segments,a)||u.numberOfChildren!==d.numberOfChildren)return!1;for(const f in d.children)if(!u.children[f]||!Ot(u.children[f],d.children[f],a))return!1;return!0},subset:Me},Pn={exact:function Br(u,d){return ke(u,d)},subset:function _o(u,d){return Object.keys(d).length<=Object.keys(u).length&&Object.keys(d).every(a=>We(u[a],d[a]))},ignored:()=>!0};function $t(u,d,a){return xn[a.paths](u.root,d.root,a.matrixParams)&&Pn[a.queryParams](u.queryParams,d.queryParams)&&!("exact"===a.fragment&&u.fragment!==d.fragment)}function Me(u,d,a){return wr(u,d,d.segments,a)}function wr(u,d,a,f){if(u.segments.length>a.length){const C=u.segments.slice(0,a.length);return!(!Kn(C,a)||d.hasChildren()||!Yn(C,a,f))}if(u.segments.length===a.length){if(!Kn(u.segments,a)||!Yn(u.segments,a,f))return!1;for(const C in d.children)if(!u.children[C]||!Me(u.children[C],d.children[C],f))return!1;return!0}{const C=a.slice(0,u.segments.length),M=a.slice(u.segments.length);return!!(Kn(u.segments,C)&&Yn(u.segments,C,f)&&u.children[Ie])&&wr(u.children[Ie],d,M,f)}}function Yn(u,d,a){return d.every((f,C)=>Pn[a](u[C].parameters,f.parameters))}class Gt{constructor(d=new ct([],{}),a={},f=null){this.root=d,this.queryParams=a,this.fragment=f}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=yn(this.queryParams)),this._queryParamMap}toString(){return Gn.serialize(this)}}class ct{constructor(d,a){this.segments=d,this.children=a,this.parent=null,Object.values(a).forEach(f=>f.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return In(this)}}class yt{constructor(d,a){this.path=d,this.parameters=a}get parameterMap(){return this._parameterMap||(this._parameterMap=yn(this.parameters)),this._parameterMap}toString(){return ze(this)}}function Kn(u,d){return u.length===d.length&&u.every((a,f)=>a.path===d[f].path)}let vn=(()=>{class u{}return u.\u0275fac=function(a){return new(a||u)},u.\u0275prov=l.Yz7({token:u,factory:function(){return new Sn},providedIn:"root"}),u})();class Sn{parse(d){const a=new _e(d);return new Gt(a.parseRootSegment(),a.parseQueryParams(),a.parseFragment())}serialize(d){const a=`/${rr(d.root,!0)}`,f=function wt(u){const d=Object.keys(u).map(a=>{const f=u[a];return Array.isArray(f)?f.map(C=>`${F(a)}=${F(C)}`).join("&"):`${F(a)}=${F(f)}`}).filter(a=>!!a);return d.length?`?${d.join("&")}`:""}(d.queryParams);return`${a}${f}${"string"==typeof d.fragment?`#${function N(u){return encodeURI(u)}(d.fragment)}`:""}`}}const Gn=new Sn;function In(u){return u.segments.map(d=>ze(d)).join("/")}function rr(u,d){if(!u.hasChildren())return In(u);if(d){const a=u.children[Ie]?rr(u.children[Ie],!1):"",f=[];return Object.entries(u.children).forEach(([C,M])=>{C!==Ie&&f.push(`${C}:${rr(M,!1)}`)}),f.length>0?`${a}(${f.join("//")})`:a}{const a=function no(u,d){let a=[];return Object.entries(u.children).forEach(([f,C])=>{f===Ie&&(a=a.concat(d(C,f)))}),Object.entries(u.children).forEach(([f,C])=>{f!==Ie&&(a=a.concat(d(C,f)))}),a}(u,(f,C)=>C===Ie?[rr(u.children[Ie],!1)]:[`${C}:${rr(f,!1)}`]);return 1===Object.keys(u.children).length&&null!=u.children[Ie]?`${In(u)}/${a[0]}`:`${In(u)}/(${a.join("//")})`}}function Y(u){return encodeURIComponent(u).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function F(u){return Y(u).replace(/%3B/gi,";")}function V(u){return Y(u).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function ne(u){return decodeURIComponent(u)}function Ee(u){return ne(u.replace(/\+/g,"%20"))}function ze(u){return`${V(u.path)}${function Ze(u){return Object.keys(u).map(d=>`;${V(d)}=${V(u[d])}`).join("")}(u.parameters)}`}const nt=/^[^\/()?;#]+/;function on(u){const d=u.match(nt);return d?d[0]:""}const zn=/^[^\/()?;=#]+/,R=/^[^=?&#]+/,ae=/^[^&#]+/;class _e{constructor(d){this.url=d,this.remaining=d}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new ct([],{}):new ct([],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 a={};this.peekStartsWith("/(")&&(this.capture("/"),a=this.parseParens(!0));let f={};return this.peekStartsWith("(")&&(f=this.parseParens(!1)),(d.length>0||Object.keys(a).length>0)&&(f[Ie]=new ct(d,a)),f}parseSegment(){const d=on(this.remaining);if(""===d&&this.peekStartsWith(";"))throw new l.vHH(4009,!1);return this.capture(d),new yt(ne(d),this.parseMatrixParams())}parseMatrixParams(){const d={};for(;this.consumeOptional(";");)this.parseParam(d);return d}parseParam(d){const a=function H(u){const d=u.match(zn);return d?d[0]:""}(this.remaining);if(!a)return;this.capture(a);let f="";if(this.consumeOptional("=")){const C=on(this.remaining);C&&(f=C,this.capture(f))}d[ne(a)]=ne(f)}parseQueryParam(d){const a=function O(u){const d=u.match(R);return d?d[0]:""}(this.remaining);if(!a)return;this.capture(a);let f="";if(this.consumeOptional("=")){const S=function pe(u){const d=u.match(ae);return d?d[0]:""}(this.remaining);S&&(f=S,this.capture(f))}const C=Ee(a),M=Ee(f);if(d.hasOwnProperty(C)){let S=d[C];Array.isArray(S)||(S=[S],d[C]=S),S.push(M)}else d[C]=M}parseParens(d){const a={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const f=on(this.remaining),C=this.remaining[f.length];if("/"!==C&&")"!==C&&";"!==C)throw new l.vHH(4010,!1);let M;f.indexOf(":")>-1?(M=f.slice(0,f.indexOf(":")),this.capture(M),this.capture(":")):d&&(M=Ie);const S=this.parseChildren();a[M]=1===Object.keys(S).length?S[Ie]:new ct([],S),this.consumeOptional("//")}return a}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 l.vHH(4011,!1)}}function De(u){return u.segments.length>0?new ct([],{[Ie]:u}):u}function lt(u){const d={};for(const f of Object.keys(u.children)){const M=lt(u.children[f]);if(f===Ie&&0===M.segments.length&&M.hasChildren())for(const[S,L]of Object.entries(M.children))d[S]=L;else(M.segments.length>0||M.hasChildren())&&(d[f]=M)}return function we(u){if(1===u.numberOfChildren&&u.children[Ie]){const d=u.children[Ie];return new ct(u.segments.concat(d.segments),d.children)}return u}(new ct(u.segments,d))}function Nt(u){return u instanceof Gt}function en(u){let d;const C=De(function a(M){const S={};for(const q of M.children){const xe=a(q);S[q.outlet]=xe}const L=new ct(M.url,S);return M===u&&(d=L),L}(u.root));return d??C}function pn(u,d,a,f){let C=u;for(;C.parent;)C=C.parent;if(0===d.length)return At(C,C,C,a,f);const M=function Ir(u){if("string"==typeof u[0]&&1===u.length&&"/"===u[0])return new Dn(!0,0,u);let d=0,a=!1;const f=u.reduce((C,M,S)=>{if("object"==typeof M&&null!=M){if(M.outlets){const L={};return Object.entries(M.outlets).forEach(([q,xe])=>{L[q]="string"==typeof xe?xe.split("/"):xe}),[...C,{outlets:L}]}if(M.segmentPath)return[...C,M.segmentPath]}return"string"!=typeof M?[...C,M]:0===S?(M.split("/").forEach((L,q)=>{0==q&&"."===L||(0==q&&""===L?a=!0:".."===L?d++:""!=L&&C.push(L))}),C):[...C,M]},[]);return new Dn(a,d,f)}(d);if(M.toRoot())return At(C,C,new ct([],{}),a,f);const S=function An(u,d,a){if(u.isAbsolute)return new Wt(d,!0,0);if(!a)return new Wt(d,!1,NaN);if(null===a.parent)return new Wt(a,!0,0);const f=sn(u.commands[0])?0:1;return function Ar(u,d,a){let f=u,C=d,M=a;for(;M>C;){if(M-=C,f=f.parent,!f)throw new l.vHH(4005,!1);C=f.segments.length}return new Wt(f,!1,C-M)}(a,a.segments.length-1+f,u.numberOfDoubleDots)}(M,C,u),L=S.processChildren?Rr(S.segmentGroup,S.index,M.commands):Nr(S.segmentGroup,S.index,M.commands);return At(C,S.segmentGroup,L,a,f)}function sn(u){return"object"==typeof u&&null!=u&&!u.outlets&&!u.segmentPath}function an(u){return"object"==typeof u&&null!=u&&u.outlets}function At(u,d,a,f,C){let S,M={};f&&Object.entries(f).forEach(([q,xe])=>{M[q]=Array.isArray(xe)?xe.map(Be=>`${Be}`):`${xe}`}),S=u===d?a:xt(u,d,a);const L=De(lt(S));return new Gt(L,M,C)}function xt(u,d,a){const f={};return Object.entries(u.children).forEach(([C,M])=>{f[C]=M===d?a:xt(M,d,a)}),new ct(u.segments,f)}class Dn{constructor(d,a,f){if(this.isAbsolute=d,this.numberOfDoubleDots=a,this.commands=f,d&&f.length>0&&sn(f[0]))throw new l.vHH(4003,!1);const C=f.find(an);if(C&&C!==hr(f))throw new l.vHH(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class Wt{constructor(d,a,f){this.segmentGroup=d,this.processChildren=a,this.index=f}}function Nr(u,d,a){if(u||(u=new ct([],{})),0===u.segments.length&&u.hasChildren())return Rr(u,d,a);const f=function Xo(u,d,a){let f=0,C=d;const M={match:!1,pathIndex:0,commandIndex:0};for(;C=a.length)return M;const S=u.segments[C],L=a[f];if(an(L))break;const q=`${L}`,xe=f0&&void 0===q)break;if(q&&xe&&"object"==typeof xe&&void 0===xe.outlets){if(!oo(q,xe,S))return M;f+=2}else{if(!oo(q,{},S))return M;f++}C++}return{match:!0,pathIndex:C,commandIndex:f}}(u,d,a),C=a.slice(f.commandIndex);if(f.match&&f.pathIndex{"string"==typeof S&&(S=[S]),null!==S&&(C[M]=Nr(u.children[M],d,S))}),Object.entries(u.children).forEach(([M,S])=>{void 0===f[M]&&(C[M]=S)}),new ct(u.segments,C)}}function jr(u,d,a){const f=u.segments.slice(0,d);let C=0;for(;C{"string"==typeof f&&(f=[f]),null!==f&&(d[a]=jr(new ct([],{}),0,f))}),d}function ro(u){const d={};return Object.entries(u).forEach(([a,f])=>d[a]=`${f}`),d}function oo(u,d,a){return u==a.path&&ke(d,a.parameters)}const Ur="imperative";class Tn{constructor(d,a){this.id=d,this.url=a}}class Jo extends Tn{constructor(d,a,f="imperative",C=null){super(d,a),this.type=0,this.navigationTrigger=f,this.restoredState=C}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class Or extends Tn{constructor(d,a,f){super(d,a),this.urlAfterRedirects=f,this.type=1}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class $r extends Tn{constructor(d,a,f,C){super(d,a),this.reason=f,this.code=C,this.type=2}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class Eo extends Tn{constructor(d,a,f,C){super(d,a),this.reason=f,this.code=C,this.type=16}}class Fn extends Tn{constructor(d,a,f,C){super(d,a),this.error=f,this.target=C,this.type=3}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class vi extends Tn{constructor(d,a,f,C){super(d,a),this.urlAfterRedirects=f,this.state=C,this.type=4}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Qo extends Tn{constructor(d,a,f,C){super(d,a),this.urlAfterRedirects=f,this.state=C,this.type=7}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class ei extends Tn{constructor(d,a,f,C,M){super(d,a),this.urlAfterRedirects=f,this.state=C,this.shouldActivate=M,this.type=8}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class Po extends Tn{constructor(d,a,f,C){super(d,a),this.urlAfterRedirects=f,this.state=C,this.type=5}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class ti extends Tn{constructor(d,a,f,C){super(d,a),this.urlAfterRedirects=f,this.state=C,this.type=6}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class io{constructor(d){this.route=d,this.type=9}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class Fo{constructor(d){this.route=d,this.type=10}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class wo{constructor(d){this.snapshot=d,this.type=11}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Lo{constructor(d){this.snapshot=d,this.type=12}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Mo{constructor(d){this.snapshot=d,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class _t{constructor(d){this.snapshot=d,this.type=14}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class cn{constructor(d,a,f){this.routerEvent=d,this.position=a,this.anchor=f,this.type=15}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class xr{constructor(){this.outlet=null,this.route=null,this.injector=null,this.children=new tn,this.attachRef=null}}let tn=(()=>{class u{constructor(){this.contexts=new Map}onChildOutletCreated(a,f){const C=this.getOrCreateContext(a);C.outlet=f,this.contexts.set(a,C)}onChildOutletDestroyed(a){const f=this.getContext(a);f&&(f.outlet=null,f.attachRef=null)}onOutletDeactivated(){const a=this.contexts;return this.contexts=new Map,a}onOutletReAttached(a){this.contexts=a}getOrCreateContext(a){let f=this.getContext(a);return f||(f=new xr,this.contexts.set(a,f)),f}getContext(a){return this.contexts.get(a)||null}}return u.\u0275fac=function(a){return new(a||u)},u.\u0275prov=l.Yz7({token:u,factory:u.\u0275fac,providedIn:"root"}),u})();class bo{constructor(d){this._root=d}get root(){return this._root.value}parent(d){const a=this.pathFromRoot(d);return a.length>1?a[a.length-2]:null}children(d){const a=Gr(d,this._root);return a?a.children.map(f=>f.value):[]}firstChild(d){const a=Gr(d,this._root);return a&&a.children.length>0?a.children[0].value:null}siblings(d){const a=pr(d,this._root);return a.length<2?[]:a[a.length-2].children.map(C=>C.value).filter(C=>C!==d)}pathFromRoot(d){return pr(d,this._root).map(a=>a.value)}}function Gr(u,d){if(u===d.value)return d;for(const a of d.children){const f=Gr(u,a);if(f)return f}return null}function pr(u,d){if(u===d.value)return[d];for(const a of d.children){const f=pr(u,a);if(f.length)return f.unshift(d),f}return[]}class or{constructor(d,a){this.value=d,this.children=a}toString(){return`TreeNode(${this.value})`}}function gr(u){const d={};return u&&u.children.forEach(a=>d[a.value.outlet]=a),d}class qt extends bo{constructor(d,a){super(d),this.snapshot=a,Rt(this,d)}toString(){return this.snapshot.toString()}}function Ae(u,d){const a=function et(u,d){const S=new Jt([],{},{},"",{},Ie,d,null,{});return new Fr("",new or(S,[]))}(0,d),f=new le.X([new yt("",{})]),C=new le.X({}),M=new le.X({}),S=new le.X({}),L=new le.X(""),q=new pt(f,C,S,L,M,Ie,d,a.root);return q.snapshot=a.root,new qt(new or(q,[]),a)}class pt{constructor(d,a,f,C,M,S,L,q){this.urlSubject=d,this.paramsSubject=a,this.queryParamsSubject=f,this.fragmentSubject=C,this.dataSubject=M,this.outlet=S,this.component=L,this._futureSnapshot=q,this.title=this.dataSubject?.pipe((0,P.U)(xe=>xe[jt]))??(0,Z.of)(void 0),this.url=d,this.params=a,this.queryParams=f,this.fragment=C,this.data=M}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,P.U)(d=>yn(d)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe((0,P.U)(d=>yn(d)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function _n(u,d="emptyOnly"){const a=u.pathFromRoot;let f=0;if("always"!==d)for(f=a.length-1;f>=1;){const C=a[f],M=a[f-1];if(C.routeConfig&&""===C.routeConfig.path)f--;else{if(M.component)break;f--}}return function Pr(u){return u.reduce((d,a)=>({params:{...d.params,...a.params},data:{...d.data,...a.data},resolve:{...a.data,...d.resolve,...a.routeConfig?.data,...a._resolvedData}}),{params:{},data:{},resolve:{}})}(a.slice(f))}class Jt{get title(){return this.data?.[jt]}constructor(d,a,f,C,M,S,L,q,xe){this.url=d,this.params=a,this.queryParams=f,this.fragment=C,this.data=M,this.outlet=S,this.component=L,this.routeConfig=q,this._resolve=xe}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=yn(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=yn(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(f=>f.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class Fr extends bo{constructor(d,a){super(a),this.url=d,Rt(this,a)}toString(){return Mr(this._root)}}function Rt(u,d){d.value._routerState=u,d.children.forEach(a=>Rt(u,a))}function Mr(u){const d=u.children.length>0?` { ${u.children.map(Mr).join(", ")} } `:"";return`${u.value}${d}`}function Zn(u){if(u.snapshot){const d=u.snapshot,a=u._futureSnapshot;u.snapshot=a,ke(d.queryParams,a.queryParams)||u.queryParamsSubject.next(a.queryParams),d.fragment!==a.fragment&&u.fragmentSubject.next(a.fragment),ke(d.params,a.params)||u.paramsSubject.next(a.params),function Ut(u,d){if(u.length!==d.length)return!1;for(let a=0;ake(a.parameters,d[f].parameters))}(u.url,d.url);return a&&!(!u.parent!=!d.parent)&&(!u.parent||Je(u.parent,d.parent))}let mr=(()=>{class u{constructor(){this.activated=null,this._activatedRoute=null,this.name=Ie,this.activateEvents=new l.vpe,this.deactivateEvents=new l.vpe,this.attachEvents=new l.vpe,this.detachEvents=new l.vpe,this.parentContexts=(0,l.f3M)(tn),this.location=(0,l.f3M)(l.s_b),this.changeDetector=(0,l.f3M)(l.sBO),this.environmentInjector=(0,l.f3M)(l.lqb),this.inputBinder=(0,l.f3M)(yr,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(a){if(a.name){const{firstChange:f,previousValue:C}=a.name;if(f)return;this.isTrackedInParentContexts(C)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(C)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(a){return this.parentContexts.getContext(a)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const a=this.parentContexts.getContext(this.name);a?.route&&(a.attachRef?this.attach(a.attachRef,a.route):this.activateWith(a.route,a.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new l.vHH(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new l.vHH(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new l.vHH(4012,!1);this.location.detach();const a=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(a.instance),a}attach(a,f){this.activated=a,this._activatedRoute=f,this.location.insert(a.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(a.instance)}deactivate(){if(this.activated){const a=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(a)}}activateWith(a,f){if(this.isActivated)throw new l.vHH(4013,!1);this._activatedRoute=a;const C=this.location,S=a.snapshot.component,L=this.parentContexts.getOrCreateContext(this.name).children,q=new ko(a,L,C.injector);this.activated=C.createComponent(S,{index:C.length,injector:q,environmentInjector:f??this.environmentInjector}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}}return u.\u0275fac=function(a){return new(a||u)},u.\u0275dir=l.lG2({type:u,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[l.TTD]}),u})();class ko{constructor(d,a,f){this.route=d,this.childContexts=a,this.parent=f}get(d,a){return d===pt?this.route:d===tn?this.childContexts:this.parent.get(d,a)}}const yr=new l.OlP("");let Bt=(()=>{class u{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(a){this.unsubscribeFromRouteData(a),this.subscribeToRouteData(a)}unsubscribeFromRouteData(a){this.outletDataSubscriptions.get(a)?.unsubscribe(),this.outletDataSubscriptions.delete(a)}subscribeToRouteData(a){const{activatedRoute:f}=a,C=Ue([f.queryParams,f.params,f.data]).pipe((0,B.w)(([M,S,L],q)=>(L={...M,...S,...L},0===q?(0,Z.of)(L):Promise.resolve(L)))).subscribe(M=>{if(!a.isActivated||!a.activatedComponentRef||a.activatedRoute!==f||null===f.component)return void this.unsubscribeFromRouteData(a);const S=(0,l.qFp)(f.component);if(S)for(const{templateName:L}of S.inputs)a.activatedComponentRef.setInput(L,M[L]);else this.unsubscribeFromRouteData(a)});this.outletDataSubscriptions.set(a,C)}}return u.\u0275fac=function(a){return new(a||u)},u.\u0275prov=l.Yz7({token:u,factory:u.\u0275fac}),u})();function ir(u,d,a){if(a&&u.shouldReuseRoute(d.value,a.value.snapshot)){const f=a.value;f._futureSnapshot=d.value;const C=function Ln(u,d,a){return d.children.map(f=>{for(const C of a.children)if(u.shouldReuseRoute(f.value,C.value.snapshot))return ir(u,f,C);return ir(u,f)})}(u,d,a);return new or(f,C)}{if(u.shouldAttach(d.value)){const M=u.retrieve(d.value);if(null!==M){const S=M.route;return S.value._futureSnapshot=d.value,S.children=d.children.map(L=>ir(u,L)),S}}const f=function Lr(u){return new pt(new le.X(u.url),new le.X(u.params),new le.X(u.queryParams),new le.X(u.fragment),new le.X(u.data),u.outlet,u.component,u)}(d.value),C=d.children.map(M=>ir(u,M));return new or(f,C)}}const zr="ngNavigationCancelingError";function sr(u,d){const{redirectTo:a,navigationBehaviorOptions:f}=Nt(d)?{redirectTo:d,navigationBehaviorOptions:void 0}:d,C=dn(!1,0,d);return C.url=a,C.navigationBehaviorOptions=f,C}function dn(u,d,a){const f=new Error("NavigationCancelingError: "+(u||""));return f[zr]=!0,f.cancellationCode=d,a&&(f.url=a),f}function ao(u){return vr(u)&&Nt(u.url)}function vr(u){return u&&u[zr]}let ut=(()=>{class u{}return u.\u0275fac=function(a){return new(a||u)},u.\u0275cmp=l.Xpm({type:u,selectors:[["ng-component"]],standalone:!0,features:[l.jDz],decls:1,vars:0,template:function(a,f){1&a&&l._UZ(0,"router-outlet")},dependencies:[mr],encapsulation:2}),u})();function wn(u){const d=u.children&&u.children.map(wn),a=d?{...u,children:d}:{...u};return!a.component&&!a.loadComponent&&(d||a.loadChildren)&&a.outlet&&a.outlet!==Ie&&(a.component=ut),a}function Pt(u){return u.outlet||Ie}function kn(u){if(!u)return null;if(u.routeConfig?._injector)return u.routeConfig._injector;for(let d=u.parent;d;d=d.parent){const a=d.routeConfig;if(a?._loadedInjector)return a._loadedInjector;if(a?._injector)return a._injector}return null}class Ho{constructor(d,a,f,C,M){this.routeReuseStrategy=d,this.futureState=a,this.currState=f,this.forwardEvent=C,this.inputBindingEnabled=M}activate(d){const a=this.futureState._root,f=this.currState?this.currState._root:null;this.deactivateChildRoutes(a,f,d),Zn(this.futureState.root),this.activateChildRoutes(a,f,d)}deactivateChildRoutes(d,a,f){const C=gr(a);d.children.forEach(M=>{const S=M.value.outlet;this.deactivateRoutes(M,C[S],f),delete C[S]}),Object.values(C).forEach(M=>{this.deactivateRouteAndItsChildren(M,f)})}deactivateRoutes(d,a,f){const C=d.value,M=a?a.value:null;if(C===M)if(C.component){const S=f.getContext(C.outlet);S&&this.deactivateChildRoutes(d,a,S.children)}else this.deactivateChildRoutes(d,a,f);else M&&this.deactivateRouteAndItsChildren(a,f)}deactivateRouteAndItsChildren(d,a){d.value.component&&this.routeReuseStrategy.shouldDetach(d.value.snapshot)?this.detachAndStoreRouteSubtree(d,a):this.deactivateRouteAndOutlet(d,a)}detachAndStoreRouteSubtree(d,a){const f=a.getContext(d.value.outlet),C=f&&d.value.component?f.children:a,M=gr(d);for(const S of Object.keys(M))this.deactivateRouteAndItsChildren(M[S],C);if(f&&f.outlet){const S=f.outlet.detach(),L=f.children.onOutletDeactivated();this.routeReuseStrategy.store(d.value.snapshot,{componentRef:S,route:d,contexts:L})}}deactivateRouteAndOutlet(d,a){const f=a.getContext(d.value.outlet),C=f&&d.value.component?f.children:a,M=gr(d);for(const S of Object.keys(M))this.deactivateRouteAndItsChildren(M[S],C);f&&(f.outlet&&(f.outlet.deactivate(),f.children.onOutletDeactivated()),f.attachRef=null,f.route=null)}activateChildRoutes(d,a,f){const C=gr(a);d.children.forEach(M=>{this.activateRoutes(M,C[M.value.outlet],f),this.forwardEvent(new _t(M.value.snapshot))}),d.children.length&&this.forwardEvent(new Lo(d.value.snapshot))}activateRoutes(d,a,f){const C=d.value,M=a?a.value:null;if(Zn(C),C===M)if(C.component){const S=f.getOrCreateContext(C.outlet);this.activateChildRoutes(d,a,S.children)}else this.activateChildRoutes(d,a,f);else if(C.component){const S=f.getOrCreateContext(C.outlet);if(this.routeReuseStrategy.shouldAttach(C.snapshot)){const L=this.routeReuseStrategy.retrieve(C.snapshot);this.routeReuseStrategy.store(C.snapshot,null),S.children.onOutletReAttached(L.contexts),S.attachRef=L.componentRef,S.route=L.route.value,S.outlet&&S.outlet.attach(L.componentRef,L.route.value),Zn(L.route.value),this.activateChildRoutes(d,null,S.children)}else{const L=kn(C.snapshot);S.attachRef=null,S.route=C,S.injector=L,S.outlet&&S.outlet.activateWith(C,S.injector),this.activateChildRoutes(d,null,S.children)}}else this.activateChildRoutes(d,null,f)}}class Io{constructor(d){this.path=d,this.route=this.path[this.path.length-1]}}class lo{constructor(d,a){this.component=d,this.route=a}}function ha(u,d,a){const f=u._root;return Ao(f,d?d._root:null,a,[f.value])}function Yr(u,d){const a=Symbol(),f=d.get(u,a);return f===a?"function"!=typeof u||(0,l.Z0I)(u)?d.get(u):u:f}function Ao(u,d,a,f,C={canDeactivateChecks:[],canActivateChecks:[]}){const M=gr(d);return u.children.forEach(S=>{(function hs(u,d,a,f,C={canDeactivateChecks:[],canActivateChecks:[]}){const M=u.value,S=d?d.value:null,L=a?a.getContext(u.value.outlet):null;if(S&&M.routeConfig===S.routeConfig){const q=function pa(u,d,a){if("function"==typeof a)return a(u,d);switch(a){case"pathParamsChange":return!Kn(u.url,d.url);case"pathParamsOrQueryParamsChange":return!Kn(u.url,d.url)||!ke(u.queryParams,d.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Je(u,d)||!ke(u.queryParams,d.queryParams);default:return!Je(u,d)}}(S,M,M.routeConfig.runGuardsAndResolvers);q?C.canActivateChecks.push(new Io(f)):(M.data=S.data,M._resolvedData=S._resolvedData),Ao(u,d,M.component?L?L.children:null:a,f,C),q&&L&&L.outlet&&L.outlet.isActivated&&C.canDeactivateChecks.push(new lo(L.outlet.component,S))}else S&&Bo(d,L,C),C.canActivateChecks.push(new Io(f)),Ao(u,null,M.component?L?L.children:null:a,f,C)})(S,M[S.value.outlet],a,f.concat([S.value]),C),delete M[S.value.outlet]}),Object.entries(M).forEach(([S,L])=>Bo(L,a.getContext(S),C)),C}function Bo(u,d,a){const f=gr(u),C=u.value;Object.entries(f).forEach(([M,S])=>{Bo(S,C.component?d?d.children.getContext(M):null:d,a)}),a.canDeactivateChecks.push(new lo(C.component&&d&&d.outlet&&d.outlet.isActivated?d.outlet.component:null,C))}function kt(u){return"function"==typeof u}function Mn(u){return u instanceof Le||"EmptyError"===u?.name}const Dr=Symbol("INITIAL_VALUE");function qn(){return(0,B.w)(u=>Ue(u.map(d=>d.pipe(re(1),function Ce(...u){const d=(0,K.yG)(u);return(0,ht.e)((a,f)=>{(d?ce(u,a,d):ce(u,a)).subscribe(f)})}(Dr)))).pipe((0,P.U)(d=>{for(const a of d)if(!0!==a){if(a===Dr)return Dr;if(!1===a||a instanceof Gt)return a}return!0}),(0,de.h)(d=>d!==Dr),re(1)))}function ma(u){return(0,ye.z)(it(d=>{if(Nt(d))throw sr(0,d)}),(0,P.U)(d=>!0===d))}class Vn{constructor(d){this.segmentGroup=d||null}}class Uo{constructor(d){this.urlTree=d}}function Yt(u){return ie(new Vn(u))}function wi(u){return ie(new Uo(u))}class bi{constructor(d,a){this.urlSerializer=d,this.urlTree=a}noMatchError(d){return new l.vHH(4002,!1)}lineralizeSegments(d,a){let f=[],C=a.root;for(;;){if(f=f.concat(C.segments),0===C.numberOfChildren)return(0,Z.of)(f);if(C.numberOfChildren>1||!C.children[Ie])return ie(new l.vHH(4e3,!1));C=C.children[Ie]}}applyRedirectCommands(d,a,f){return this.applyRedirectCreateUrlTree(a,this.urlSerializer.parse(a),d,f)}applyRedirectCreateUrlTree(d,a,f,C){const M=this.createSegmentGroup(d,a.root,f,C);return new Gt(M,this.createQueryParams(a.queryParams,this.urlTree.queryParams),a.fragment)}createQueryParams(d,a){const f={};return Object.entries(d).forEach(([C,M])=>{if("string"==typeof M&&M.startsWith(":")){const L=M.substring(1);f[C]=a[L]}else f[C]=M}),f}createSegmentGroup(d,a,f,C){const M=this.createSegments(d,a.segments,f,C);let S={};return Object.entries(a.children).forEach(([L,q])=>{S[L]=this.createSegmentGroup(d,q,f,C)}),new ct(M,S)}createSegments(d,a,f,C){return a.map(M=>M.path.startsWith(":")?this.findPosParam(d,M,C):this.findOrReturn(M,f))}findPosParam(d,a,f){const C=f[a.path.substring(1)];if(!C)throw new l.vHH(4001,!1);return C}findOrReturn(d,a){let f=0;for(const C of a){if(C.path===d.path)return a.splice(f),C;f++}return d}}const No={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function ya(u,d,a,f,C){const M=Si(u,d,a);return M.matched?(f=function ni(u,d){return u.providers&&!u._injector&&(u._injector=(0,l.MMx)(u.providers,d,`Route: ${u.path}`)),u._injector??d}(d,f),function ms(u,d,a,f){const C=d.canMatch;if(!C||0===C.length)return(0,Z.of)(!0);const M=C.map(S=>{const L=Yr(S,u);return Qt(function G(u){return u&&kt(u.canMatch)}(L)?L.canMatch(d,a):u.runInContext(()=>L(d,a)))});return(0,Z.of)(M).pipe(qn(),ma())}(f,d,a).pipe((0,P.U)(S=>!0===S?M:{...No}))):(0,Z.of)(M)}function Si(u,d,a){if(""===d.path)return"full"===d.pathMatch&&(u.hasChildren()||a.length>0)?{...No}:{matched:!0,consumedSegments:[],remainingSegments:a,parameters:{},positionalParamSegments:{}};const C=(d.matcher||St)(a,u,d);if(!C)return{...No};const M={};Object.entries(C.posParams??{}).forEach(([L,q])=>{M[L]=q.path});const S=C.consumed.length>0?{...M,...C.consumed[C.consumed.length-1].parameters}:M;return{matched:!0,consumedSegments:C.consumed,remainingSegments:a.slice(C.consumed.length),parameters:S,positionalParamSegments:C.posParams??{}}}function Ii(u,d,a,f){return a.length>0&&function si(u,d,a){return a.some(f=>Ai(u,d,f)&&Pt(f)!==Ie)}(u,a,f)?{segmentGroup:new ct(d,ys(f,new ct(a,u.children))),slicedSegments:[]}:0===a.length&&function va(u,d,a){return a.some(f=>Ai(u,d,f))}(u,a,f)?{segmentGroup:new ct(u.segments,ii(u,0,a,f,u.children)),slicedSegments:a}:{segmentGroup:new ct(u.segments,u.children),slicedSegments:a}}function ii(u,d,a,f,C){const M={};for(const S of f)if(Ai(u,a,S)&&!C[Pt(S)]){const L=new ct([],{});M[Pt(S)]=L}return{...C,...M}}function ys(u,d){const a={};a[Ie]=d;for(const f of u)if(""===f.path&&Pt(f)!==Ie){const C=new ct([],{});a[Pt(f)]=C}return a}function Ai(u,d,a){return(!(u.hasChildren()||d.length>0)||"full"!==a.pathMatch)&&""===a.path}class Ca{constructor(d,a,f,C,M,S,L){this.injector=d,this.configLoader=a,this.rootComponentType=f,this.config=C,this.urlTree=M,this.paramsInheritanceStrategy=S,this.urlSerializer=L,this.allowRedirects=!0,this.applyRedirects=new bi(this.urlSerializer,this.urlTree)}noMatchError(d){return new l.vHH(4002,!1)}recognize(){const d=Ii(this.urlTree.root,[],[],this.config).segmentGroup;return this.processSegmentGroup(this.injector,this.config,d,Ie).pipe(Ht(a=>{if(a instanceof Uo)return this.allowRedirects=!1,this.urlTree=a.urlTree,this.match(a.urlTree);throw a instanceof Vn?this.noMatchError(a):a}),(0,P.U)(a=>{const f=new Jt([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},Ie,this.rootComponentType,null,{}),C=new or(f,a),M=new Fr("",C),S=function Wn(u,d,a=null,f=null){return pn(en(u),d,a,f)}(f,[],this.urlTree.queryParams,this.urlTree.fragment);return S.queryParams=this.urlTree.queryParams,M.url=this.urlSerializer.serialize(S),this.inheritParamsAndData(M._root),{state:M,tree:S}}))}match(d){return this.processSegmentGroup(this.injector,this.config,d.root,Ie).pipe(Ht(f=>{throw f instanceof Vn?this.noMatchError(f):f}))}inheritParamsAndData(d){const a=d.value,f=_n(a,this.paramsInheritanceStrategy);a.params=Object.freeze(f.params),a.data=Object.freeze(f.data),d.children.forEach(C=>this.inheritParamsAndData(C))}processSegmentGroup(d,a,f,C){return 0===f.segments.length&&f.hasChildren()?this.processChildren(d,a,f):this.processSegment(d,a,f,f.segments,C,!0)}processChildren(d,a,f){const C=[];for(const M of Object.keys(f.children))"primary"===M?C.unshift(M):C.push(M);return(0,z.D)(C).pipe((0,dt.b)(M=>{const S=f.children[M],L=function So(u,d){const a=u.filter(f=>Pt(f)===d);return a.push(...u.filter(f=>Pt(f)!==d)),a}(a,M);return this.processSegmentGroup(d,L,S,M)}),function nn(u,d){return(0,ht.e)(function mn(u,d,a,f,C){return(M,S)=>{let L=a,q=d,xe=0;M.subscribe((0,Pe.x)(S,Be=>{const bt=xe++;q=L?u(q,Be,bt):(L=!0,Be),f&&S.next(q)},C&&(()=>{L&&S.next(q),S.complete()})))}}(u,d,arguments.length>=2,!0))}((M,S)=>(M.push(...S),M)),Ve(null),function Un(u,d){const a=arguments.length>=2;return f=>f.pipe(u?(0,de.h)((C,M)=>u(C,M,f)):Ne.y,rn(1),a?Ve(d):zt(()=>new Le))}(),(0,Fe.z)(M=>{if(null===M)return Yt(f);const S=Ni(M);return function _a(u){u.sort((d,a)=>d.value.outlet===Ie?-1:a.value.outlet===Ie?1:d.value.outlet.localeCompare(a.value.outlet))}(S),(0,Z.of)(S)}))}processSegment(d,a,f,C,M,S){return(0,z.D)(a).pipe((0,dt.b)(L=>this.processSegmentAgainstRoute(L._injector??d,a,L,f,C,M,S).pipe(Ht(q=>{if(q instanceof Vn)return(0,Z.of)(null);throw q}))),Ct(L=>!!L),Ht(L=>{if(Mn(L))return function Da(u,d,a){return 0===d.length&&!u.children[a]}(f,C,M)?(0,Z.of)([]):Yt(f);throw L}))}processSegmentAgainstRoute(d,a,f,C,M,S,L){return function Uu(u,d,a,f){return!!(Pt(u)===f||f!==Ie&&Ai(d,a,u))&&("**"===u.path||Si(d,u,a).matched)}(f,C,M,S)?void 0===f.redirectTo?this.matchSegmentAgainstRoute(d,C,f,M,S,L):L&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(d,C,a,f,M,S):Yt(C):Yt(C)}expandSegmentAgainstRouteUsingRedirect(d,a,f,C,M,S){return"**"===C.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(d,f,C,S):this.expandRegularSegmentAgainstRouteUsingRedirect(d,a,f,C,M,S)}expandWildCardWithParamsAgainstRouteUsingRedirect(d,a,f,C){const M=this.applyRedirects.applyRedirectCommands([],f.redirectTo,{});return f.redirectTo.startsWith("/")?wi(M):this.applyRedirects.lineralizeSegments(f,M).pipe((0,Fe.z)(S=>{const L=new ct(S,{});return this.processSegment(d,a,L,S,C,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(d,a,f,C,M,S){const{matched:L,consumedSegments:q,remainingSegments:xe,positionalParamSegments:Be}=Si(a,C,M);if(!L)return Yt(a);const bt=this.applyRedirects.applyRedirectCommands(q,C.redirectTo,Be);return C.redirectTo.startsWith("/")?wi(bt):this.applyRedirects.lineralizeSegments(C,bt).pipe((0,Fe.z)(jn=>this.processSegment(d,f,a,jn.concat(xe),S,!1)))}matchSegmentAgainstRoute(d,a,f,C,M,S){let L;if("**"===f.path){const q=C.length>0?hr(C).parameters:{},xe=new Jt(C,q,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,p(f),Pt(f),f.component??f._loadedComponent??null,f,_(f));L=(0,Z.of)({snapshot:xe,consumedSegments:[],remainingSegments:[]}),a.children={}}else L=ya(a,f,C,d).pipe((0,P.U)(({matched:q,consumedSegments:xe,remainingSegments:Be,parameters:bt})=>q?{snapshot:new Jt(xe,bt,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,p(f),Pt(f),f.component??f._loadedComponent??null,f,_(f)),consumedSegments:xe,remainingSegments:Be}:null));return L.pipe((0,B.w)(q=>null===q?Yt(a):this.getChildConfig(d=f._injector??d,f,C).pipe((0,B.w)(({routes:xe})=>{const Be=f._loadedInjector??d,{snapshot:bt,consumedSegments:jn,remainingSegments:li}=q,{segmentGroup:zo,slicedSegments:Wo}=Ii(a,jn,li,xe);if(0===Wo.length&&zo.hasChildren())return this.processChildren(Be,xe,zo).pipe((0,P.U)(Jr=>null===Jr?null:[new or(bt,Jr)]));if(0===xe.length&&0===Wo.length)return(0,Z.of)([new or(bt,[])]);const As=Pt(f)===M;return this.processSegment(Be,xe,zo,Wo,As?Ie:M,!0).pipe((0,P.U)(Jr=>[new or(bt,Jr)]))}))))}getChildConfig(d,a,f){return a.children?(0,Z.of)({routes:a.children,injector:d}):a.loadChildren?void 0!==a._loadedRoutes?(0,Z.of)({routes:a._loadedRoutes,injector:a._loadedInjector}):function ga(u,d,a,f){const C=d.canLoad;if(void 0===C||0===C.length)return(0,Z.of)(!0);const M=C.map(S=>{const L=Yr(S,u);return Qt(function v(u){return u&&kt(u.canLoad)}(L)?L.canLoad(d,a):u.runInContext(()=>L(d,a)))});return(0,Z.of)(M).pipe(qn(),ma())}(d,a,f).pipe((0,Fe.z)(C=>C?this.configLoader.loadChildren(d,a).pipe(it(M=>{a._loadedRoutes=M.routes,a._loadedInjector=M.injector})):function Mi(u){return ie(dn(!1,3))}())):(0,Z.of)({routes:[],injector:d})}}function Ti(u){const d=u.value.routeConfig;return d&&""===d.path}function Ni(u){const d=[],a=new Set;for(const f of u){if(!Ti(f)){d.push(f);continue}const C=d.find(M=>f.value.routeConfig===M.value.routeConfig);void 0!==C?(C.children.push(...f.children),a.add(C)):d.push(f)}for(const f of a){const C=Ni(f.children);d.push(new or(f.value,C))}return d.filter(f=>!a.has(f))}function p(u){return u.data||{}}function _(u){return u.resolve||{}}function Tt(u){return"string"==typeof u.title||null===u.title}function qe(u){return(0,B.w)(d=>{const a=u(d);return a?(0,z.D)(a).pipe((0,P.U)(()=>d)):(0,Z.of)(d)})}const gt=new l.OlP("ROUTES");let rt=(()=>{class u{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=(0,l.f3M)(l.Sil)}loadComponent(a){if(this.componentLoaders.get(a))return this.componentLoaders.get(a);if(a._loadedComponent)return(0,Z.of)(a._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(a);const f=Qt(a.loadComponent()).pipe((0,P.U)(Ft),it(M=>{this.onLoadEndListener&&this.onLoadEndListener(a),a._loadedComponent=M}),(0,Er.x)(()=>{this.componentLoaders.delete(a)})),C=new gn(f,()=>new Se.x).pipe(mt());return this.componentLoaders.set(a,C),C}loadChildren(a,f){if(this.childrenLoaders.get(f))return this.childrenLoaders.get(f);if(f._loadedRoutes)return(0,Z.of)({routes:f._loadedRoutes,injector:f._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(f);const M=this.loadModuleFactoryOrRoutes(f.loadChildren).pipe((0,P.U)(L=>{this.onLoadEndListener&&this.onLoadEndListener(f);let q,xe;return Array.isArray(L)?xe=L:(q=L.create(a).injector,xe=q.get(gt,[],l.XFs.Self|l.XFs.Optional).flat()),{routes:xe.map(wn),injector:q}}),(0,Er.x)(()=>{this.childrenLoaders.delete(f)})),S=new gn(M,()=>new Se.x).pipe(mt());return this.childrenLoaders.set(f,S),S}loadModuleFactoryOrRoutes(a){return Qt(a()).pipe((0,P.U)(Ft),(0,Fe.z)(f=>f instanceof l.YKP||Array.isArray(f)?(0,Z.of)(f):(0,z.D)(this.compiler.compileModuleAsync(f))))}}return u.\u0275fac=function(a){return new(a||u)},u.\u0275prov=l.Yz7({token:u,factory:u.\u0275fac,providedIn:"root"}),u})();function Ft(u){return function Dt(u){return u&&"object"==typeof u&&"default"in u}(u)?u.default:u}let Kt=(()=>{class u{get hasRequestedNavigation(){return 0!==this.navigationId}constructor(){this.currentNavigation=null,this.lastSuccessfulNavigation=null,this.events=new Se.x,this.configLoader=(0,l.f3M)(rt),this.environmentInjector=(0,l.f3M)(l.lqb),this.urlSerializer=(0,l.f3M)(vn),this.rootContexts=(0,l.f3M)(tn),this.inputBindingEnabled=null!==(0,l.f3M)(yr,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>(0,Z.of)(void 0),this.rootComponentType=null,this.configLoader.onLoadEndListener=C=>this.events.next(new Fo(C)),this.configLoader.onLoadStartListener=C=>this.events.next(new io(C))}complete(){this.transitions?.complete()}handleNavigationRequest(a){const f=++this.navigationId;this.transitions?.next({...this.transitions.value,...a,id:f})}setupNavigations(a){return this.transitions=new le.X({id:0,currentUrlTree:a.currentUrlTree,currentRawUrl:a.currentUrlTree,extractedUrl:a.urlHandlingStrategy.extract(a.currentUrlTree),urlAfterRedirects:a.urlHandlingStrategy.extract(a.currentUrlTree),rawUrl:a.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:Ur,restoredState:null,currentSnapshot:a.routerState.snapshot,targetSnapshot:null,currentRouterState:a.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe((0,de.h)(f=>0!==f.id),(0,P.U)(f=>({...f,extractedUrl:a.urlHandlingStrategy.extract(f.rawUrl)})),(0,B.w)(f=>{let C=!1,M=!1;return(0,Z.of)(f).pipe(it(S=>{this.currentNavigation={id:S.id,initialUrl:S.rawUrl,extractedUrl:S.extractedUrl,trigger:S.source,extras:S.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null}}),(0,B.w)(S=>{const L=a.browserUrlTree.toString(),q=!a.navigated||S.extractedUrl.toString()!==L||L!==a.currentUrlTree.toString();if(!q&&"reload"!==(S.extras.onSameUrlNavigation??a.onSameUrlNavigation)){const Be="";return this.events.next(new Eo(S.id,a.serializeUrl(f.rawUrl),Be,0)),a.rawUrlTree=S.rawUrl,S.resolve(null),ee.E}if(a.urlHandlingStrategy.shouldProcessUrl(S.rawUrl))return Hn(S.source)&&(a.browserUrlTree=S.extractedUrl),(0,Z.of)(S).pipe((0,B.w)(Be=>{const bt=this.transitions?.getValue();return this.events.next(new Jo(Be.id,this.urlSerializer.serialize(Be.extractedUrl),Be.source,Be.restoredState)),bt!==this.transitions?.getValue()?ee.E:Promise.resolve(Be)}),function m(u,d,a,f,C,M){return(0,Fe.z)(S=>function vs(u,d,a,f,C,M,S="emptyOnly"){return new Ca(u,d,a,f,C,S,M).recognize()}(u,d,a,f,S.extractedUrl,C,M).pipe((0,P.U)(({state:L,tree:q})=>({...S,targetSnapshot:L,urlAfterRedirects:q}))))}(this.environmentInjector,this.configLoader,this.rootComponentType,a.config,this.urlSerializer,a.paramsInheritanceStrategy),it(Be=>{if(f.targetSnapshot=Be.targetSnapshot,f.urlAfterRedirects=Be.urlAfterRedirects,this.currentNavigation={...this.currentNavigation,finalUrl:Be.urlAfterRedirects},"eager"===a.urlUpdateStrategy){if(!Be.extras.skipLocationChange){const jn=a.urlHandlingStrategy.merge(Be.urlAfterRedirects,Be.rawUrl);a.setBrowserUrl(jn,Be)}a.browserUrlTree=Be.urlAfterRedirects}const bt=new vi(Be.id,this.urlSerializer.serialize(Be.extractedUrl),this.urlSerializer.serialize(Be.urlAfterRedirects),Be.targetSnapshot);this.events.next(bt)}));if(q&&a.urlHandlingStrategy.shouldProcessUrl(a.rawUrlTree)){const{id:Be,extractedUrl:bt,source:jn,restoredState:li,extras:zo}=S,Wo=new Jo(Be,this.urlSerializer.serialize(bt),jn,li);this.events.next(Wo);const As=Ae(0,this.rootComponentType).snapshot;return f={...S,targetSnapshot:As,urlAfterRedirects:bt,extras:{...zo,skipLocationChange:!1,replaceUrl:!1}},(0,Z.of)(f)}{const Be="";return this.events.next(new Eo(S.id,a.serializeUrl(f.extractedUrl),Be,1)),a.rawUrlTree=S.rawUrl,S.resolve(null),ee.E}}),it(S=>{const L=new Qo(S.id,this.urlSerializer.serialize(S.extractedUrl),this.urlSerializer.serialize(S.urlAfterRedirects),S.targetSnapshot);this.events.next(L)}),(0,P.U)(S=>f={...S,guards:ha(S.targetSnapshot,S.currentSnapshot,this.rootContexts)}),function To(u,d){return(0,Fe.z)(a=>{const{targetSnapshot:f,currentSnapshot:C,guards:{canActivateChecks:M,canDeactivateChecks:S}}=a;return 0===S.length&&0===M.length?(0,Z.of)({...a,guardsResult:!0}):function ur(u,d,a,f){return(0,z.D)(u).pipe((0,Fe.z)(C=>function Ei(u,d,a,f,C){const M=d&&d.routeConfig?d.routeConfig.canDeactivate:null;if(!M||0===M.length)return(0,Z.of)(!0);const S=M.map(L=>{const q=kn(d)??C,xe=Yr(L,q);return Qt(function b(u){return u&&kt(u.canDeactivate)}(xe)?xe.canDeactivate(u,d,a,f):q.runInContext(()=>xe(u,d,a,f))).pipe(Ct())});return(0,Z.of)(S).pipe(qn())}(C.component,C.route,a,d,f)),Ct(C=>!0!==C,!0))}(S,f,C,u).pipe((0,Fe.z)(L=>L&&function ps(u){return"boolean"==typeof u}(L)?function co(u,d,a,f){return(0,z.D)(d).pipe((0,dt.b)(C=>ce(function Ci(u,d){return null!==u&&d&&d(new wo(u)),(0,Z.of)(!0)}(C.route.parent,f),function jo(u,d){return null!==u&&d&&d(new Mo(u)),(0,Z.of)(!0)}(C.route,f),function _i(u,d,a){const f=d[d.length-1],M=d.slice(0,d.length-1).reverse().map(S=>function fs(u){const d=u.routeConfig?u.routeConfig.canActivateChild:null;return d&&0!==d.length?{node:u,guards:d}:null}(S)).filter(S=>null!==S).map(S=>Oe(()=>{const L=S.guards.map(q=>{const xe=kn(S.node)??a,Be=Yr(q,xe);return Qt(function g(u){return u&&kt(u.canActivateChild)}(Be)?Be.canActivateChild(f,u):xe.runInContext(()=>Be(f,u))).pipe(Ct())});return(0,Z.of)(L).pipe(qn())}));return(0,Z.of)(M).pipe(qn())}(u,C.path,a),function gs(u,d,a){const f=d.routeConfig?d.routeConfig.canActivate:null;if(!f||0===f.length)return(0,Z.of)(!0);const C=f.map(M=>Oe(()=>{const S=kn(d)??a,L=Yr(M,S);return Qt(function y(u){return u&&kt(u.canActivate)}(L)?L.canActivate(d,u):S.runInContext(()=>L(d,u))).pipe(Ct())}));return(0,Z.of)(C).pipe(qn())}(u,C.route,a))),Ct(C=>!0!==C,!0))}(f,M,u,d):(0,Z.of)(L)),(0,P.U)(L=>({...a,guardsResult:L})))})}(this.environmentInjector,S=>this.events.next(S)),it(S=>{if(f.guardsResult=S.guardsResult,Nt(S.guardsResult))throw sr(0,S.guardsResult);const L=new ei(S.id,this.urlSerializer.serialize(S.extractedUrl),this.urlSerializer.serialize(S.urlAfterRedirects),S.targetSnapshot,!!S.guardsResult);this.events.next(L)}),(0,de.h)(S=>!!S.guardsResult||(a.restoreHistory(S),this.cancelNavigationTransition(S,"",3),!1)),qe(S=>{if(S.guards.canActivateChecks.length)return(0,Z.of)(S).pipe(it(L=>{const q=new Po(L.id,this.urlSerializer.serialize(L.extractedUrl),this.urlSerializer.serialize(L.urlAfterRedirects),L.targetSnapshot);this.events.next(q)}),(0,B.w)(L=>{let q=!1;return(0,Z.of)(L).pipe(function w(u,d){return(0,Fe.z)(a=>{const{targetSnapshot:f,guards:{canActivateChecks:C}}=a;if(!C.length)return(0,Z.of)(a);let M=0;return(0,z.D)(C).pipe((0,dt.b)(S=>function T(u,d,a,f){const C=u.routeConfig,M=u._resolve;return void 0!==C?.title&&!Tt(C)&&(M[jt]=C.title),function U(u,d,a,f){const C=function W(u){return[...Object.keys(u),...Object.getOwnPropertySymbols(u)]}(u);if(0===C.length)return(0,Z.of)({});const M={};return(0,z.D)(C).pipe((0,Fe.z)(S=>function He(u,d,a,f){const C=kn(d)??f,M=Yr(u,C);return Qt(M.resolve?M.resolve(d,a):C.runInContext(()=>M(d,a)))}(u[S],d,a,f).pipe(Ct(),it(L=>{M[S]=L}))),rn(1),function Xt(u){return(0,P.U)(()=>u)}(M),Ht(S=>Mn(S)?ee.E:ie(S)))}(M,u,d,f).pipe((0,P.U)(S=>(u._resolvedData=S,u.data=_n(u,a).resolve,C&&Tt(C)&&(u.data[jt]=C.title),null)))}(S.route,f,u,d)),it(()=>M++),rn(1),(0,Fe.z)(S=>M===C.length?(0,Z.of)(a):ee.E))})}(a.paramsInheritanceStrategy,this.environmentInjector),it({next:()=>q=!0,complete:()=>{q||(a.restoreHistory(L),this.cancelNavigationTransition(L,"",2))}}))}),it(L=>{const q=new ti(L.id,this.urlSerializer.serialize(L.extractedUrl),this.urlSerializer.serialize(L.urlAfterRedirects),L.targetSnapshot);this.events.next(q)}))}),qe(S=>{const L=q=>{const xe=[];q.routeConfig?.loadComponent&&!q.routeConfig._loadedComponent&&xe.push(this.configLoader.loadComponent(q.routeConfig).pipe(it(Be=>{q.component=Be}),(0,P.U)(()=>{})));for(const Be of q.children)xe.push(...L(Be));return xe};return Ue(L(S.targetSnapshot.root)).pipe(Ve(),re(1))}),qe(()=>this.afterPreactivation()),(0,P.U)(S=>{const L=function so(u,d,a){const f=ir(u,d._root,a?a._root:void 0);return new qt(f,d)}(a.routeReuseStrategy,S.targetSnapshot,S.currentRouterState);return f={...S,targetRouterState:L}}),it(S=>{a.currentUrlTree=S.urlAfterRedirects,a.rawUrlTree=a.urlHandlingStrategy.merge(S.urlAfterRedirects,S.rawUrl),a.routerState=S.targetRouterState,"deferred"===a.urlUpdateStrategy&&(S.extras.skipLocationChange||a.setBrowserUrl(a.rawUrlTree,S),a.browserUrlTree=S.urlAfterRedirects)}),((u,d,a,f)=>(0,P.U)(C=>(new Ho(d,C.targetRouterState,C.currentRouterState,a,f).activate(u),C)))(this.rootContexts,a.routeReuseStrategy,S=>this.events.next(S),this.inputBindingEnabled),re(1),it({next:S=>{C=!0,this.lastSuccessfulNavigation=this.currentNavigation,a.navigated=!0,this.events.next(new Or(S.id,this.urlSerializer.serialize(S.extractedUrl),this.urlSerializer.serialize(a.currentUrlTree))),a.titleStrategy?.updateTitle(S.targetRouterState.snapshot),S.resolve(!0)},complete:()=>{C=!0}}),(0,Er.x)(()=>{C||M||this.cancelNavigationTransition(f,"",1),this.currentNavigation?.id===f.id&&(this.currentNavigation=null)}),Ht(S=>{if(M=!0,vr(S)){ao(S)||(a.navigated=!0,a.restoreHistory(f,!0));const L=new $r(f.id,this.urlSerializer.serialize(f.extractedUrl),S.message,S.cancellationCode);if(this.events.next(L),ao(S)){const q=a.urlHandlingStrategy.merge(S.url,a.rawUrlTree),xe={skipLocationChange:f.extras.skipLocationChange,replaceUrl:"eager"===a.urlUpdateStrategy||Hn(f.source)};a.scheduleNavigation(q,Ur,null,xe,{resolve:f.resolve,reject:f.reject,promise:f.promise})}else f.resolve(!1)}else{a.restoreHistory(f,!0);const L=new Fn(f.id,this.urlSerializer.serialize(f.extractedUrl),S,f.targetSnapshot??void 0);this.events.next(L);try{f.resolve(a.errorHandler(S))}catch(q){f.reject(q)}}return ee.E}))}))}cancelNavigationTransition(a,f,C){const M=new $r(a.id,this.urlSerializer.serialize(a.extractedUrl),f,C);this.events.next(M),a.resolve(!1)}}return u.\u0275fac=function(a){return new(a||u)},u.\u0275prov=l.Yz7({token:u,factory:u.\u0275fac,providedIn:"root"}),u})();function Hn(u){return u!==Ur}let Zt=(()=>{class u{buildTitle(a){let f,C=a.root;for(;void 0!==C;)f=this.getResolvedTitleForRoute(C)??f,C=C.children.find(M=>M.outlet===Ie);return f}getResolvedTitleForRoute(a){return a.data[jt]}}return u.\u0275fac=function(a){return new(a||u)},u.\u0275prov=l.Yz7({token:u,factory:function(){return(0,l.f3M)(fo)},providedIn:"root"}),u})(),fo=(()=>{class u extends Zt{constructor(a){super(),this.title=a}updateTitle(a){const f=this.buildTitle(a);void 0!==f&&this.title.setTitle(f)}}return u.\u0275fac=function(a){return new(a||u)(l.LFG(ln.Dx))},u.\u0275prov=l.Yz7({token:u,factory:u.\u0275fac,providedIn:"root"}),u})(),lr=(()=>{class u{}return u.\u0275fac=function(a){return new(a||u)},u.\u0275prov=l.Yz7({token:u,factory:function(){return(0,l.f3M)(Bn)},providedIn:"root"}),u})();class Kr{shouldDetach(d){return!1}store(d,a){}shouldAttach(d){return!1}retrieve(d){return null}shouldReuseRoute(d,a){return d.routeConfig===a.routeConfig}}let Bn=(()=>{class u extends Kr{}return u.\u0275fac=function(){let d;return function(f){return(d||(d=l.n5z(u)))(f||u)}}(),u.\u0275prov=l.Yz7({token:u,factory:u.\u0275fac,providedIn:"root"}),u})();const Cr=new l.OlP("",{providedIn:"root",factory:()=>({})});let $u=(()=>{class u{}return u.\u0275fac=function(a){return new(a||u)},u.\u0275prov=l.Yz7({token:u,factory:function(){return(0,l.f3M)(Ea)},providedIn:"root"}),u})(),Ea=(()=>{class u{shouldProcessUrl(a){return!0}extract(a){return a}merge(a,f){return a}}return u.\u0275fac=function(a){return new(a||u)},u.\u0275prov=l.Yz7({token:u,factory:u.\u0275fac,providedIn:"root"}),u})();var Xn=(()=>((Xn=Xn||{})[Xn.COMPLETE=0]="COMPLETE",Xn[Xn.FAILED=1]="FAILED",Xn[Xn.REDIRECTING=2]="REDIRECTING",Xn))();function Ds(u,d){u.events.pipe((0,de.h)(a=>a instanceof Or||a instanceof $r||a instanceof Fn||a instanceof Eo),(0,P.U)(a=>a instanceof Or||a instanceof Eo?Xn.COMPLETE:a instanceof $r&&(0===a.code||1===a.code)?Xn.REDIRECTING:Xn.FAILED),(0,de.h)(a=>a!==Xn.REDIRECTING),re(1)).subscribe(()=>{d()})}function Gu(u){throw u}function tt(u,d,a){return d.parse("/")}const wa={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},yd={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let cr=(()=>{class u{get navigationId(){return this.navigationTransitions.navigationId}get browserPageId(){if("computed"===this.canceledNavigationResolution)return this.location.getState()?.\u0275routerPageId}get events(){return this.navigationTransitions.events}constructor(){this.disposed=!1,this.currentPageId=0,this.console=(0,l.f3M)(l.c2e),this.isNgZoneEnabled=!1,this.options=(0,l.f3M)(Cr,{optional:!0})||{},this.pendingTasks=(0,l.f3M)(l.HDt),this.errorHandler=this.options.errorHandler||Gu,this.malformedUriErrorHandler=this.options.malformedUriErrorHandler||tt,this.navigated=!1,this.lastSuccessfulId=-1,this.urlHandlingStrategy=(0,l.f3M)($u),this.routeReuseStrategy=(0,l.f3M)(lr),this.titleStrategy=(0,l.f3M)(Zt),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.config=(0,l.f3M)(gt,{optional:!0})?.flat()??[],this.navigationTransitions=(0,l.f3M)(Kt),this.urlSerializer=(0,l.f3M)(vn),this.location=(0,l.f3M)(j.Ye),this.componentInputBindingEnabled=!!(0,l.f3M)(yr,{optional:!0}),this.isNgZoneEnabled=(0,l.f3M)(l.R0b)instanceof l.R0b&&l.R0b.isInAngularZone(),this.resetConfig(this.config),this.currentUrlTree=new Gt,this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.routerState=Ae(0,null),this.navigationTransitions.setupNavigations(this).subscribe(a=>{this.lastSuccessfulId=a.id,this.currentPageId=this.browserPageId??0},a=>{this.console.warn(`Unhandled Navigation Error: ${a}`)})}resetRootComponentType(a){this.routerState.root.component=a,this.navigationTransitions.rootComponentType=a}initialNavigation(){if(this.setUpLocationChangeListener(),!this.navigationTransitions.hasRequestedNavigation){const a=this.location.getState();this.navigateToSyncWithBrowser(this.location.path(!0),Ur,a)}}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(a=>{const f="popstate"===a.type?"popstate":"hashchange";"popstate"===f&&setTimeout(()=>{this.navigateToSyncWithBrowser(a.url,f,a.state)},0)}))}navigateToSyncWithBrowser(a,f,C){const M={replaceUrl:!0},S=C?.navigationId?C:null;if(C){const q={...C};delete q.navigationId,delete q.\u0275routerPageId,0!==Object.keys(q).length&&(M.state=q)}const L=this.parseUrl(a);this.scheduleNavigation(L,f,S,M)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(a){this.config=a.map(wn),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0}createUrlTree(a,f={}){const{relativeTo:C,queryParams:M,fragment:S,queryParamsHandling:L,preserveFragment:q}=f,xe=q?this.currentUrlTree.fragment:S;let bt,Be=null;switch(L){case"merge":Be={...this.currentUrlTree.queryParams,...M};break;case"preserve":Be=this.currentUrlTree.queryParams;break;default:Be=M||null}null!==Be&&(Be=this.removeEmptyProps(Be));try{bt=en(C?C.snapshot:this.routerState.snapshot.root)}catch{("string"!=typeof a[0]||!a[0].startsWith("/"))&&(a=[]),bt=this.currentUrlTree.root}return pn(bt,a,Be,xe??null)}navigateByUrl(a,f={skipLocationChange:!1}){const C=Nt(a)?a:this.parseUrl(a),M=this.urlHandlingStrategy.merge(C,this.rawUrlTree);return this.scheduleNavigation(M,Ur,null,f)}navigate(a,f={skipLocationChange:!1}){return function zu(u){for(let d=0;d{const M=a[C];return null!=M&&(f[C]=M),f},{})}scheduleNavigation(a,f,C,M,S){if(this.disposed)return Promise.resolve(!1);let L,q,xe;S?(L=S.resolve,q=S.reject,xe=S.promise):xe=new Promise((bt,jn)=>{L=bt,q=jn});const Be=this.pendingTasks.add();return Ds(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(Be))}),this.navigationTransitions.handleNavigationRequest({source:f,restoredState:C,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:a,extras:M,resolve:L,reject:q,promise:xe,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),xe.catch(bt=>Promise.reject(bt))}setBrowserUrl(a,f){const C=this.urlSerializer.serialize(a);if(this.location.isCurrentPathEqualTo(C)||f.extras.replaceUrl){const S={...f.extras.state,...this.generateNgRouterState(f.id,this.browserPageId)};this.location.replaceState(C,"",S)}else{const M={...f.extras.state,...this.generateNgRouterState(f.id,(this.browserPageId??0)+1)};this.location.go(C,"",M)}}restoreHistory(a,f=!1){if("computed"===this.canceledNavigationResolution){const M=this.currentPageId-(this.browserPageId??this.currentPageId);0!==M?this.location.historyGo(M):this.currentUrlTree===this.getCurrentNavigation()?.finalUrl&&0===M&&(this.resetState(a),this.browserUrlTree=a.currentUrlTree,this.resetUrlToCurrentUrlTree())}else"replace"===this.canceledNavigationResolution&&(f&&this.resetState(a),this.resetUrlToCurrentUrlTree())}resetState(a){this.routerState=a.currentRouterState,this.currentUrlTree=a.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,a.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(a,f){return"computed"===this.canceledNavigationResolution?{navigationId:a,\u0275routerPageId:f}:{navigationId:a}}}return u.\u0275fac=function(a){return new(a||u)},u.\u0275prov=l.Yz7({token:u,factory:u.\u0275fac,providedIn:"root"}),u})();class ba{}let Wu=(()=>{class u{constructor(a,f,C,M,S){this.router=a,this.injector=C,this.preloadingStrategy=M,this.loader=S}setUpPreloading(){this.subscription=this.router.events.pipe((0,de.h)(a=>a instanceof Or),(0,dt.b)(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(a,f){const C=[];for(const M of f){M.providers&&!M._injector&&(M._injector=(0,l.MMx)(M.providers,a,`Route: ${M.path}`));const S=M._injector??a,L=M._loadedInjector??S;(M.loadChildren&&!M._loadedRoutes&&void 0===M.canLoad||M.loadComponent&&!M._loadedComponent)&&C.push(this.preloadConfig(S,M)),(M.children||M._loadedRoutes)&&C.push(this.processRoutes(L,M.children??M._loadedRoutes))}return(0,z.D)(C).pipe((0,st.J)())}preloadConfig(a,f){return this.preloadingStrategy.preload(f,()=>{let C;C=f.loadChildren&&void 0===f.canLoad?this.loader.loadChildren(a,f):(0,Z.of)(null);const M=C.pipe((0,Fe.z)(S=>null===S?(0,Z.of)(void 0):(f._loadedRoutes=S.routes,f._loadedInjector=S.injector,this.processRoutes(S.injector??a,S.routes))));if(f.loadComponent&&!f._loadedComponent){const S=this.loader.loadComponent(f);return(0,z.D)([M,S]).pipe((0,st.J)())}return M})}}return u.\u0275fac=function(a){return new(a||u)(l.LFG(cr),l.LFG(l.Sil),l.LFG(l.lqb),l.LFG(ba),l.LFG(rt))},u.\u0275prov=l.Yz7({token:u,factory:u.\u0275fac,providedIn:"root"}),u})();const _s=new l.OlP("");let oe=(()=>{class u{constructor(a,f,C,M,S={}){this.urlSerializer=a,this.transitions=f,this.viewportScroller=C,this.zone=M,this.options=S,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},S.scrollPositionRestoration=S.scrollPositionRestoration||"disabled",S.anchorScrolling=S.anchorScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(a=>{a instanceof Jo?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=a.navigationTrigger,this.restoredId=a.restoredState?a.restoredState.navigationId:0):a instanceof Or?(this.lastId=a.id,this.scheduleScrollEvent(a,this.urlSerializer.parse(a.urlAfterRedirects).fragment)):a instanceof Eo&&0===a.code&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(a,this.urlSerializer.parse(a.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(a=>{a instanceof cn&&(a.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(a.position):a.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(a.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(a,f){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new cn(a,"popstate"===this.lastSource?this.store[this.restoredId]:null,f))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}}return u.\u0275fac=function(a){l.$Z()},u.\u0275prov=l.Yz7({token:u,factory:u.\u0275fac}),u})();function Mt(u,...d){return(0,l.MR2)([{provide:gt,multi:!0,useValue:u},[],{provide:pt,useFactory:Sa,deps:[cr]},{provide:l.tb,multi:!0,useFactory:Oi},d.map(a=>a.\u0275providers)])}function Sa(u){return u.routerState.root}function Zr(u,d){return{\u0275kind:u,\u0275providers:d}}function Oi(){const u=(0,l.f3M)(l.zs3);return d=>{const a=u.get(l.z2F);if(d!==a.components[0])return;const f=u.get(cr),C=u.get(xi);1===u.get(Es)&&f.initialNavigation(),u.get(kr,null,l.XFs.Optional)?.setUpPreloading(),u.get(_s,null,l.XFs.Optional)?.init(),f.resetRootComponentType(a.componentTypes[0]),C.closed||(C.next(),C.complete(),C.unsubscribe())}}const xi=new l.OlP("",{factory:()=>new Se.x}),Es=new l.OlP("",{providedIn:"root",factory:()=>1}),kr=new l.OlP("");function Aa(u){return Zr(0,[{provide:kr,useExisting:Wu},{provide:ba,useExisting:u}])}const Na=new l.OlP("ROUTER_FORROOT_GUARD"),ws=[j.Ye,{provide:vn,useClass:Sn},cr,tn,{provide:pt,useFactory:Sa,deps:[cr]},rt,[]];function Ms(){return new l.PXZ("Router",cr)}let Ra=(()=>{class u{constructor(a){}static forRoot(a,f){return{ngModule:u,providers:[ws,[],{provide:gt,multi:!0,useValue:a},{provide:Na,useFactory:Ss,deps:[[cr,new l.FiY,new l.tp0]]},{provide:Cr,useValue:f||{}},f?.useHash?{provide:j.S$,useClass:j.Do}:{provide:j.S$,useClass:j.b0},{provide:_s,useFactory:()=>{const u=(0,l.f3M)(j.EM),d=(0,l.f3M)(l.R0b),a=(0,l.f3M)(Cr),f=(0,l.f3M)(Kt),C=(0,l.f3M)(vn);return a.scrollOffset&&u.setOffset(a.scrollOffset),new oe(C,f,u,d,a)}},f?.preloadingStrategy?Aa(f.preloadingStrategy).\u0275providers:[],{provide:l.PXZ,multi:!0,useFactory:Ms},f?.initialNavigation?xa(f):[],f?.bindToComponentInputs?Zr(8,[Bt,{provide:yr,useExisting:Bt}]).\u0275providers:[],[{provide:Is,useFactory:Oi},{provide:l.tb,multi:!0,useExisting:Is}]]}}static forChild(a){return{ngModule:u,providers:[{provide:gt,multi:!0,useValue:a}]}}}return u.\u0275fac=function(a){return new(a||u)(l.LFG(Na,8))},u.\u0275mod=l.oAB({type:u}),u.\u0275inj=l.cJS({}),u})();function Ss(u){return"guarded"}function xa(u){return["disabled"===u.initialNavigation?Zr(3,[{provide:l.ip1,multi:!0,useFactory:()=>{const d=(0,l.f3M)(cr);return()=>{d.setUpLocationChangeListener()}}},{provide:Es,useValue:2}]).\u0275providers:[],"enabledBlocking"===u.initialNavigation?Zr(2,[{provide:Es,useValue:0},{provide:l.ip1,multi:!0,deps:[l.zs3],useFactory:d=>{const a=d.get(j.V_,Promise.resolve());return()=>a.then(()=>new Promise(f=>{const C=d.get(cr),M=d.get(xi);Ds(C,()=>{f(!0)}),d.get(Kt).afterPreactivation=()=>(f(!0),M.closed?(0,Z.of)(void 0):M),C.initialNavigation()}))}}]).\u0275providers:[]]}const Is=new l.OlP("")},7582:(Xe,fe,A)=>{function he(j,P,B,re){return new(B||(B=Promise))(function(de,Fe){function Ve(Ct){try{Ye(re.next(Ct))}catch(dt){Fe(dt)}}function zt(Ct){try{Ye(re.throw(Ct))}catch(dt){Fe(dt)}}function Ye(Ct){Ct.done?de(Ct.value):function Ce(de){return de instanceof B?de:new B(function(Fe){Fe(de)})}(Ct.value).then(Ve,zt)}Ye((re=re.apply(j,P||[])).next())})}function te(j){return this instanceof te?(this.v=j,this):new te(j)}function ce(j,P,B){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var Ce,re=B.apply(j,P||[]),de=[];return Ce={},Fe("next"),Fe("throw"),Fe("return"),Ce[Symbol.asyncIterator]=function(){return this},Ce;function Fe(it){re[it]&&(Ce[it]=function(Ht){return new Promise(function(mn,nn){de.push([it,Ht,mn,nn])>1||Ve(it,Ht)})})}function Ve(it,Ht){try{!function zt(it){it.value instanceof te?Promise.resolve(it.value.v).then(Ye,Ct):dt(de[0][2],it)}(re[it](Ht))}catch(mn){dt(de[0][3],mn)}}function Ye(it){Ve("next",it)}function Ct(it){Ve("throw",it)}function dt(it,Ht){it(Ht),de.shift(),de.length&&Ve(de[0][0],de[0][1])}}function Oe(j){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var B,P=j[Symbol.asyncIterator];return P?P.call(j):(j=function ft(j){var P="function"==typeof Symbol&&Symbol.iterator,B=P&&j[P],re=0;if(B)return B.call(j);if(j&&"number"==typeof j.length)return{next:function(){return j&&re>=j.length&&(j=void 0),{value:j&&j[re++],done:!j}}};throw new TypeError(P?"Object is not iterable.":"Symbol.iterator is not defined.")}(j),B={},re("next"),re("throw"),re("return"),B[Symbol.asyncIterator]=function(){return this},B);function re(de){B[de]=j[de]&&function(Fe){return new Promise(function(Ve,zt){!function Ce(de,Fe,Ve,zt){Promise.resolve(zt).then(function(Ye){de({value:Ye,done:Ve})},Fe)}(Ve,zt,(Fe=j[de](Fe)).done,Fe.value)})}}}A.d(fe,{FC:()=>ce,KL:()=>Oe,mG:()=>he,qq:()=>te})}},Xe=>{Xe(Xe.s=6631)}]); \ No newline at end of file diff --git a/main.afb7f95606645b73.js b/main.afb7f95606645b73.js new file mode 100644 index 0000000..4c22df1 --- /dev/null +++ b/main.afb7f95606645b73.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkld_widget=self.webpackChunkld_widget||[]).push([[179],{6631:(Xe,fe,A)=>{var l=A(4946),$=A(6593),se=A(4670);let Q=(()=>{class be{}return be.\u0275fac=function(Le){return new(Le||be)},be.\u0275cmp=l.Xpm({type:be,selectors:[["app-root"]],standalone:!0,features:[l.jDz],decls:1,vars:0,template:function(Le,st){1&Le&&l._UZ(0,"router-outlet")},dependencies:[se.lC]}),be})();(0,$.Cg)(Q);var z=A(6814),Z=A(9862),le=A(95);function Ge(be,Ke){if(1&be&&(l.TgZ(0,"p"),l._uU(1),l.qZA()),2&be){const Le=Ke.$implicit;l.xp6(1),l.Oqu(Le)}}function Ne(be,Ke){1&be&&(l.TgZ(0,"p"),l._uU(1,"0 results"),l.qZA())}function ge(be,Ke){if(1&be&&(l.TgZ(0,"div"),l.YNc(1,Ge,2,1,"p",6),l.YNc(2,Ne,2,0,"p",4),l.qZA()),2&be){const Le=l.oxw();l.xp6(1),l.Q6J("ngForOf",Le.result),l.xp6(1),l.Q6J("ngIf",0===Le.result.length)}}function K(be,Ke){if(1&be&&(l.TgZ(0,"div",7)(1,"h4"),l._uU(2,"Http Response Error"),l.qZA(),l.TgZ(3,"pre"),l._uU(4),l.qZA()()),2&be){const Le=l.oxw();l.xp6(4),l.Oqu(Le.error)}}let he=(()=>{class be{constructor(Le){this.http=Le,this.sparqlTemplate="",this.endpoint="",this.result=[],this.error="",this.sparqlVariableForm=new le.cw({variable:new le.NI("",le.kI.required)})}onSubmit(){if(!this.sparqlVariableForm.valid)return;const Le=this._escapeSparql(this.sparqlVariableForm.controls.variable.value??"");this._executeQuery(Le)}_executeQuery(Le){if(!this.endpoint||0===this.endpoint.length)return void console.error("Endpoint is invalid",this.endpoint);if(!this.sparqlTemplate||0===this.sparqlTemplate.length)return void console.error("SPARQL Template is invalid",this.sparqlTemplate);const st=`\n ${this.sparqlTemplate}\n ${this.getValues(Le)}\n`,te=(new Z.LE).set("query",st),ce=(new Z.WM).set("Content-Type","application/x-www-form-urlencoded").set("Accept","application/sparql-results+json");this.error="",this.http.post(this.endpoint,te.toString(),{headers:ce,observe:"response"}).subscribe({next:me=>{if(!me.headers.get("Content-Type")?.startsWith("application/sparql-results+json"))return this.result=[],void(this.error=JSON.stringify(me,null,4));const ye=me.body?.head.vars??[],ie=me.body?.results.bindings.map(ee=>{const ve=[];return ye.forEach(ht=>{ve.push(ee[ht]?.value??"")}),ve})??[];this.result=ie.map(ee=>ee.join(" "))},error:me=>{this.result=[],this.error=JSON.stringify(me,null,4)}})}getValues(Le){return`VALUES ?varBind { '${Le}' }`}_escapeSparql(Le){return Le.replace(/[|\\{}()[\]^$+*?.]/g,"\\\\$&").replace(/-/g,"\\\\x2d")}}return be.\u0275fac=function(Le){return new(Le||be)(l.Y36(Z.eN))},be.\u0275cmp=l.Xpm({type:be,selectors:[["ld-widget"]],inputs:{sparqlTemplate:"sparqlTemplate",endpoint:"endpoint"},standalone:!0,features:[l.jDz],decls:7,vars:4,consts:[[3,"formGroup","ngSubmit"],["for","name"],["id","name","type","text","formControlName","variable","autocomplete","on",2,"margin-right","4px"],["type","submit",3,"disabled"],[4,"ngIf"],["style","color: red",4,"ngIf"],[4,"ngFor","ngForOf"],[2,"color","red"]],template:function(Le,st){1&Le&&(l.TgZ(0,"form",0),l.NdJ("ngSubmit",function(){return st.onSubmit()}),l._UZ(1,"label",1)(2,"input",2),l.TgZ(3,"button",3),l._uU(4,"Suche"),l.qZA()(),l.YNc(5,ge,3,2,"div",4),l.YNc(6,K,5,1,"div",5)),2&Le&&(l.Q6J("formGroup",st.sparqlVariableForm),l.xp6(3),l.Q6J("disabled",!st.sparqlVariableForm.valid),l.xp6(2),l.Q6J("ngIf",0===st.error.length),l.xp6(1),l.Q6J("ngIf",st.error.length>0))},dependencies:[le.u5,le._Y,le.Fj,le.JJ,le.JL,le.UX,le.sg,le.u,Z.JF,z.O5,z.ax]}),be})();function Pe(be,Ke){if(1&be&&(l.TgZ(0,"p"),l._uU(1),l.qZA()),2&be){const Le=l.oxw();l.xp6(1),l.Oqu(Le.error)}}function Re(be,Ke){if(1&be&&l._UZ(0,"ld-widget",2),2&be){const Le=l.oxw();l.Q6J("endpoint",Le.endpoint)("sparqlTemplate",Le.sparqlQuery)}}const ft=[{path:"",component:(()=>{class be{constructor(Le){this.route=Le,this.error=null,this.sparqlQuery="",this.endpoint=""}ngOnInit(){this.route.queryParamMap.subscribe(Le=>{this.error=null,this.endpoint=Le.get("e")??"",this.sparqlQuery=Le.get("q")??"",(this.endpoint.length<1||this.sparqlQuery.length<1)&&(this.error=`Not enough information to proceed: ${0===this.endpoint.length?"\nendpoint missing":""} ${0===this.sparqlQuery.length?"\nsparql query missing":""}`)})}}return be.\u0275fac=function(Le){return new(Le||be)(l.Y36(se.gz))},be.\u0275cmp=l.Xpm({type:be,selectors:[["ng-component"]],standalone:!0,features:[l.jDz],decls:2,vars:2,consts:[[4,"ngIf"],[3,"endpoint","sparqlTemplate",4,"ngIf"],[3,"endpoint","sparqlTemplate"]],template:function(Le,st){1&Le&&(l.YNc(0,Pe,2,1,"p",0),l.YNc(1,Re,1,2,"ld-widget",1)),2&Le&&(l.Q6J("ngIf",st.error),l.xp6(1),l.Q6J("ngIf",!st.error))},dependencies:[se.Bz,z.O5,he]}),be})()},{path:"config",loadComponent:()=>A.e(583).then(A.bind(A,2583)).then(be=>be.ConfigComponent)}];(0,$.Cg)(Q,{providers:[(0,l.RIp)(),(0,se.bU)(ft)]})},5619:(Xe,fe,A)=>{A.d(fe,{X:()=>$});var l=A(8645);class $ extends l.x{constructor(Q){super(),this._value=Q}get value(){return this.getValue()}_subscribe(Q){const z=super._subscribe(Q);return!z.closed&&Q.next(this._value),z}getValue(){const{hasError:Q,thrownError:z,_value:Z}=this;if(Q)throw z;return this._throwIfClosed(),Z}next(Q){super.next(this._value=Q)}}},5592:(Xe,fe,A)=>{A.d(fe,{y:()=>Ge});var l=A(305),$=A(7394),se=A(4850),Q=A(8407),z=A(2653),Z=A(4674),le=A(1441);let Ge=(()=>{class he{constructor(Re){Re&&(this._subscribe=Re)}lift(Re){const Ue=new he;return Ue.source=this,Ue.operator=Re,Ue}subscribe(Re,Ue,ft){const be=function K(he){return he&&he instanceof l.Lv||function ge(he){return he&&(0,Z.m)(he.next)&&(0,Z.m)(he.error)&&(0,Z.m)(he.complete)}(he)&&(0,$.Nn)(he)}(Re)?Re:new l.Hp(Re,Ue,ft);return(0,le.x)(()=>{const{operator:Ke,source:Le}=this;be.add(Ke?Ke.call(be,Le):Le?this._subscribe(be):this._trySubscribe(be))}),be}_trySubscribe(Re){try{return this._subscribe(Re)}catch(Ue){Re.error(Ue)}}forEach(Re,Ue){return new(Ue=Ne(Ue))((ft,be)=>{const Ke=new l.Hp({next:Le=>{try{Re(Le)}catch(st){be(st),Ke.unsubscribe()}},error:be,complete:ft});this.subscribe(Ke)})}_subscribe(Re){var Ue;return null===(Ue=this.source)||void 0===Ue?void 0:Ue.subscribe(Re)}[se.L](){return this}pipe(...Re){return(0,Q.U)(Re)(this)}toPromise(Re){return new(Re=Ne(Re))((Ue,ft)=>{let be;this.subscribe(Ke=>be=Ke,Ke=>ft(Ke),()=>Ue(be))})}}return he.create=Pe=>new he(Pe),he})();function Ne(he){var Pe;return null!==(Pe=he??z.config.Promise)&&void 0!==Pe?Pe:Promise}},8645:(Xe,fe,A)=>{A.d(fe,{x:()=>le});var l=A(5592),$=A(7394);const Q=(0,A(2306).d)(Ne=>function(){Ne(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var z=A(9039),Z=A(1441);let le=(()=>{class Ne extends l.y{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(K){const he=new Ge(this,this);return he.operator=K,he}_throwIfClosed(){if(this.closed)throw new Q}next(K){(0,Z.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const he of this.currentObservers)he.next(K)}})}error(K){(0,Z.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=K;const{observers:he}=this;for(;he.length;)he.shift().error(K)}})}complete(){(0,Z.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:K}=this;for(;K.length;)K.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var K;return(null===(K=this.observers)||void 0===K?void 0:K.length)>0}_trySubscribe(K){return this._throwIfClosed(),super._trySubscribe(K)}_subscribe(K){return this._throwIfClosed(),this._checkFinalizedStatuses(K),this._innerSubscribe(K)}_innerSubscribe(K){const{hasError:he,isStopped:Pe,observers:Re}=this;return he||Pe?$.Lc:(this.currentObservers=null,Re.push(K),new $.w0(()=>{this.currentObservers=null,(0,z.P)(Re,K)}))}_checkFinalizedStatuses(K){const{hasError:he,thrownError:Pe,isStopped:Re}=this;he?K.error(Pe):Re&&K.complete()}asObservable(){const K=new l.y;return K.source=this,K}}return Ne.create=(ge,K)=>new Ge(ge,K),Ne})();class Ge extends le{constructor(ge,K){super(),this.destination=ge,this.source=K}next(ge){var K,he;null===(he=null===(K=this.destination)||void 0===K?void 0:K.next)||void 0===he||he.call(K,ge)}error(ge){var K,he;null===(he=null===(K=this.destination)||void 0===K?void 0:K.error)||void 0===he||he.call(K,ge)}complete(){var ge,K;null===(K=null===(ge=this.destination)||void 0===ge?void 0:ge.complete)||void 0===K||K.call(ge)}_subscribe(ge){var K,he;return null!==(he=null===(K=this.source)||void 0===K?void 0:K.subscribe(ge))&&void 0!==he?he:$.Lc}}},305:(Xe,fe,A)=>{A.d(fe,{Hp:()=>ft,Lv:()=>he});var l=A(4674),$=A(7394),se=A(2653),Q=A(3894),z=A(2420);const Z=Ne("C",void 0,void 0);function Ne(te,ce,me){return{kind:te,value:ce,error:me}}var ge=A(7599),K=A(1441);class he extends $.w0{constructor(ce){super(),this.isStopped=!1,ce?(this.destination=ce,(0,$.Nn)(ce)&&ce.add(this)):this.destination=st}static create(ce,me,Oe){return new ft(ce,me,Oe)}next(ce){this.isStopped?Le(function Ge(te){return Ne("N",te,void 0)}(ce),this):this._next(ce)}error(ce){this.isStopped?Le(function le(te){return Ne("E",void 0,te)}(ce),this):(this.isStopped=!0,this._error(ce))}complete(){this.isStopped?Le(Z,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(ce){this.destination.next(ce)}_error(ce){try{this.destination.error(ce)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const Pe=Function.prototype.bind;function Re(te,ce){return Pe.call(te,ce)}class Ue{constructor(ce){this.partialObserver=ce}next(ce){const{partialObserver:me}=this;if(me.next)try{me.next(ce)}catch(Oe){be(Oe)}}error(ce){const{partialObserver:me}=this;if(me.error)try{me.error(ce)}catch(Oe){be(Oe)}else be(ce)}complete(){const{partialObserver:ce}=this;if(ce.complete)try{ce.complete()}catch(me){be(me)}}}class ft extends he{constructor(ce,me,Oe){let ye;if(super(),(0,l.m)(ce)||!ce)ye={next:ce??void 0,error:me??void 0,complete:Oe??void 0};else{let ie;this&&se.config.useDeprecatedNextContext?(ie=Object.create(ce),ie.unsubscribe=()=>this.unsubscribe(),ye={next:ce.next&&Re(ce.next,ie),error:ce.error&&Re(ce.error,ie),complete:ce.complete&&Re(ce.complete,ie)}):ye=ce}this.destination=new Ue(ye)}}function be(te){se.config.useDeprecatedSynchronousErrorHandling?(0,K.O)(te):(0,Q.h)(te)}function Le(te,ce){const{onStoppedNotification:me}=se.config;me&&ge.z.setTimeout(()=>me(te,ce))}const st={closed:!0,next:z.Z,error:function Ke(te){throw te},complete:z.Z}},7394:(Xe,fe,A)=>{A.d(fe,{Lc:()=>Z,w0:()=>z,Nn:()=>le});var l=A(4674);const se=(0,A(2306).d)(Ne=>function(K){Ne(this),this.message=K?`${K.length} errors occurred during unsubscription:\n${K.map((he,Pe)=>`${Pe+1}) ${he.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=K});var Q=A(9039);class z{constructor(ge){this.initialTeardown=ge,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let ge;if(!this.closed){this.closed=!0;const{_parentage:K}=this;if(K)if(this._parentage=null,Array.isArray(K))for(const Re of K)Re.remove(this);else K.remove(this);const{initialTeardown:he}=this;if((0,l.m)(he))try{he()}catch(Re){ge=Re instanceof se?Re.errors:[Re]}const{_finalizers:Pe}=this;if(Pe){this._finalizers=null;for(const Re of Pe)try{Ge(Re)}catch(Ue){ge=ge??[],Ue instanceof se?ge=[...ge,...Ue.errors]:ge.push(Ue)}}if(ge)throw new se(ge)}}add(ge){var K;if(ge&&ge!==this)if(this.closed)Ge(ge);else{if(ge instanceof z){if(ge.closed||ge._hasParent(this))return;ge._addParent(this)}(this._finalizers=null!==(K=this._finalizers)&&void 0!==K?K:[]).push(ge)}}_hasParent(ge){const{_parentage:K}=this;return K===ge||Array.isArray(K)&&K.includes(ge)}_addParent(ge){const{_parentage:K}=this;this._parentage=Array.isArray(K)?(K.push(ge),K):K?[K,ge]:ge}_removeParent(ge){const{_parentage:K}=this;K===ge?this._parentage=null:Array.isArray(K)&&(0,Q.P)(K,ge)}remove(ge){const{_finalizers:K}=this;K&&(0,Q.P)(K,ge),ge instanceof z&&ge._removeParent(this)}}z.EMPTY=(()=>{const Ne=new z;return Ne.closed=!0,Ne})();const Z=z.EMPTY;function le(Ne){return Ne instanceof z||Ne&&"closed"in Ne&&(0,l.m)(Ne.remove)&&(0,l.m)(Ne.add)&&(0,l.m)(Ne.unsubscribe)}function Ge(Ne){(0,l.m)(Ne)?Ne():Ne.unsubscribe()}},2653:(Xe,fe,A)=>{A.d(fe,{config:()=>l});const l={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},6232:(Xe,fe,A)=>{A.d(fe,{E:()=>$});const $=new(A(5592).y)(z=>z.complete())},7715:(Xe,fe,A)=>{A.d(fe,{D:()=>Oe});var l=A(4829),$=A(7103),se=A(9360),Q=A(8251);function z(ye,ie=0){return(0,se.e)((ee,ve)=>{ee.subscribe((0,Q.x)(ve,ht=>(0,$.f)(ve,ye,()=>ve.next(ht),ie),()=>(0,$.f)(ve,ye,()=>ve.complete(),ie),ht=>(0,$.f)(ve,ye,()=>ve.error(ht),ie)))})}function Z(ye,ie=0){return(0,se.e)((ee,ve)=>{ve.add(ye.schedule(()=>ee.subscribe(ve),ie))})}var Ne=A(5592),K=A(4971),he=A(4674);function Re(ye,ie){if(!ye)throw new Error("Iterable cannot be null");return new Ne.y(ee=>{(0,$.f)(ee,ie,()=>{const ve=ye[Symbol.asyncIterator]();(0,$.f)(ee,ie,()=>{ve.next().then(ht=>{ht.done?ee.complete():ee.next(ht.value)})},0,!0)})})}var Ue=A(8382),ft=A(4026),be=A(4266),Ke=A(3664),Le=A(5726),st=A(9853),te=A(541);function Oe(ye,ie){return ie?function me(ye,ie){if(null!=ye){if((0,Ue.c)(ye))return function le(ye,ie){return(0,l.Xf)(ye).pipe(Z(ie),z(ie))}(ye,ie);if((0,be.z)(ye))return function ge(ye,ie){return new Ne.y(ee=>{let ve=0;return ie.schedule(function(){ve===ye.length?ee.complete():(ee.next(ye[ve++]),ee.closed||this.schedule())})})}(ye,ie);if((0,ft.t)(ye))return function Ge(ye,ie){return(0,l.Xf)(ye).pipe(Z(ie),z(ie))}(ye,ie);if((0,Le.D)(ye))return Re(ye,ie);if((0,Ke.T)(ye))return function Pe(ye,ie){return new Ne.y(ee=>{let ve;return(0,$.f)(ee,ie,()=>{ve=ye[K.h](),(0,$.f)(ee,ie,()=>{let ht,mt;try{({value:ht,done:mt}=ve.next())}catch(gn){return void ee.error(gn)}mt?ee.complete():ee.next(ht)},0,!0)}),()=>(0,he.m)(ve?.return)&&ve.return()})}(ye,ie);if((0,te.L)(ye))return function ce(ye,ie){return Re((0,te.Q)(ye),ie)}(ye,ie)}throw(0,st.z)(ye)}(ye,ie):(0,l.Xf)(ye)}},4829:(Xe,fe,A)=>{A.d(fe,{Xf:()=>Pe});var l=A(7582),$=A(4266),se=A(4026),Q=A(5592),z=A(8382),Z=A(5726),le=A(9853),Ge=A(3664),Ne=A(541),ge=A(4674),K=A(3894),he=A(4850);function Pe(te){if(te instanceof Q.y)return te;if(null!=te){if((0,z.c)(te))return function Re(te){return new Q.y(ce=>{const me=te[he.L]();if((0,ge.m)(me.subscribe))return me.subscribe(ce);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(te);if((0,$.z)(te))return function Ue(te){return new Q.y(ce=>{for(let me=0;me{te.then(me=>{ce.closed||(ce.next(me),ce.complete())},me=>ce.error(me)).then(null,K.h)})}(te);if((0,Z.D)(te))return Ke(te);if((0,Ge.T)(te))return function be(te){return new Q.y(ce=>{for(const me of te)if(ce.next(me),ce.closed)return;ce.complete()})}(te);if((0,Ne.L)(te))return function Le(te){return Ke((0,Ne.Q)(te))}(te)}throw(0,le.z)(te)}function Ke(te){return new Q.y(ce=>{(function st(te,ce){var me,Oe,ye,ie;return(0,l.mG)(this,void 0,void 0,function*(){try{for(me=(0,l.KL)(te);!(Oe=yield me.next()).done;)if(ce.next(Oe.value),ce.closed)return}catch(ee){ye={error:ee}}finally{try{Oe&&!Oe.done&&(ie=me.return)&&(yield ie.call(me))}finally{if(ye)throw ye.error}}ce.complete()})})(te,ce).catch(me=>ce.error(me))})}},2096:(Xe,fe,A)=>{A.d(fe,{of:()=>se});var l=A(4564),$=A(7715);function se(...Q){const z=(0,l.yG)(Q);return(0,$.D)(Q,z)}},8251:(Xe,fe,A)=>{A.d(fe,{x:()=>$});var l=A(305);function $(Q,z,Z,le,Ge){return new se(Q,z,Z,le,Ge)}class se extends l.Lv{constructor(z,Z,le,Ge,Ne,ge){super(z),this.onFinalize=Ne,this.shouldUnsubscribe=ge,this._next=Z?function(K){try{Z(K)}catch(he){z.error(he)}}:super._next,this._error=Ge?function(K){try{Ge(K)}catch(he){z.error(he)}finally{this.unsubscribe()}}:super._error,this._complete=le?function(){try{le()}catch(K){z.error(K)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var z;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:Z}=this;super.unsubscribe(),!Z&&(null===(z=this.onFinalize)||void 0===z||z.call(this))}}}},6328:(Xe,fe,A)=>{A.d(fe,{b:()=>se});var l=A(1631),$=A(4674);function se(Q,z){return(0,$.m)(z)?(0,l.z)(Q,z,1):(0,l.z)(Q,1)}},2181:(Xe,fe,A)=>{A.d(fe,{h:()=>se});var l=A(9360),$=A(8251);function se(Q,z){return(0,l.e)((Z,le)=>{let Ge=0;Z.subscribe((0,$.x)(le,Ne=>Q.call(z,Ne,Ge++)&&le.next(Ne)))})}},4716:(Xe,fe,A)=>{A.d(fe,{x:()=>$});var l=A(9360);function $(se){return(0,l.e)((Q,z)=>{try{Q.subscribe(z)}finally{z.add(se)}})}},7398:(Xe,fe,A)=>{A.d(fe,{U:()=>se});var l=A(9360),$=A(8251);function se(Q,z){return(0,l.e)((Z,le)=>{let Ge=0;Z.subscribe((0,$.x)(le,Ne=>{le.next(Q.call(z,Ne,Ge++))}))})}},7537:(Xe,fe,A)=>{A.d(fe,{J:()=>se});var l=A(1631),$=A(2737);function se(Q=1/0){return(0,l.z)($.y,Q)}},1631:(Xe,fe,A)=>{A.d(fe,{z:()=>Ge});var l=A(7398),$=A(4829),se=A(9360),Q=A(7103),z=A(8251),le=A(4674);function Ge(Ne,ge,K=1/0){return(0,le.m)(ge)?Ge((he,Pe)=>(0,l.U)((Re,Ue)=>ge(he,Re,Pe,Ue))((0,$.Xf)(Ne(he,Pe))),K):("number"==typeof ge&&(K=ge),(0,se.e)((he,Pe)=>function Z(Ne,ge,K,he,Pe,Re,Ue,ft){const be=[];let Ke=0,Le=0,st=!1;const te=()=>{st&&!be.length&&!Ke&&ge.complete()},ce=Oe=>Ke{Re&&ge.next(Oe),Ke++;let ye=!1;(0,$.Xf)(K(Oe,Le++)).subscribe((0,z.x)(ge,ie=>{Pe?.(ie),Re?ce(ie):ge.next(ie)},()=>{ye=!0},void 0,()=>{if(ye)try{for(Ke--;be.length&&Keme(ie)):me(ie)}te()}catch(ie){ge.error(ie)}}))};return Ne.subscribe((0,z.x)(ge,ce,()=>{st=!0,te()})),()=>{ft?.()}}(he,Pe,Ne,K)))}},4664:(Xe,fe,A)=>{A.d(fe,{w:()=>Q});var l=A(4829),$=A(9360),se=A(8251);function Q(z,Z){return(0,$.e)((le,Ge)=>{let Ne=null,ge=0,K=!1;const he=()=>K&&!Ne&&Ge.complete();le.subscribe((0,se.x)(Ge,Pe=>{Ne?.unsubscribe();let Re=0;const Ue=ge++;(0,l.Xf)(z(Pe,Ue)).subscribe(Ne=(0,se.x)(Ge,ft=>Ge.next(Z?Z(Pe,ft,Ue,Re++):ft),()=>{Ne=null,he()}))},()=>{K=!0,he()}))})}},7599:(Xe,fe,A)=>{A.d(fe,{z:()=>l});const l={setTimeout($,se,...Q){const{delegate:z}=l;return z?.setTimeout?z.setTimeout($,se,...Q):setTimeout($,se,...Q)},clearTimeout($){const{delegate:se}=l;return(se?.clearTimeout||clearTimeout)($)},delegate:void 0}},4971:(Xe,fe,A)=>{A.d(fe,{h:()=>$});const $=function l(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},4850:(Xe,fe,A)=>{A.d(fe,{L:()=>l});const l="function"==typeof Symbol&&Symbol.observable||"@@observable"},4564:(Xe,fe,A)=>{A.d(fe,{_6:()=>Z,jO:()=>Q,yG:()=>z});var l=A(4674);function se(le){return le[le.length-1]}function Q(le){return(0,l.m)(se(le))?le.pop():void 0}function z(le){return function $(le){return le&&(0,l.m)(le.schedule)}(se(le))?le.pop():void 0}function Z(le,Ge){return"number"==typeof se(le)?le.pop():Ge}},7453:(Xe,fe,A)=>{A.d(fe,{D:()=>z});const{isArray:l}=Array,{getPrototypeOf:$,prototype:se,keys:Q}=Object;function z(le){if(1===le.length){const Ge=le[0];if(l(Ge))return{args:Ge,keys:null};if(function Z(le){return le&&"object"==typeof le&&$(le)===se}(Ge)){const Ne=Q(Ge);return{args:Ne.map(ge=>Ge[ge]),keys:Ne}}}return{args:le,keys:null}}},9039:(Xe,fe,A)=>{function l($,se){if($){const Q=$.indexOf(se);0<=Q&&$.splice(Q,1)}}A.d(fe,{P:()=>l})},2306:(Xe,fe,A)=>{function l($){const Q=$(z=>{Error.call(z),z.stack=(new Error).stack});return Q.prototype=Object.create(Error.prototype),Q.prototype.constructor=Q,Q}A.d(fe,{d:()=>l})},2714:(Xe,fe,A)=>{function l($,se){return $.reduce((Q,z,Z)=>(Q[z]=se[Z],Q),{})}A.d(fe,{n:()=>l})},1441:(Xe,fe,A)=>{A.d(fe,{O:()=>Q,x:()=>se});var l=A(2653);let $=null;function se(z){if(l.config.useDeprecatedSynchronousErrorHandling){const Z=!$;if(Z&&($={errorThrown:!1,error:null}),z(),Z){const{errorThrown:le,error:Ge}=$;if($=null,le)throw Ge}}else z()}function Q(z){l.config.useDeprecatedSynchronousErrorHandling&&$&&($.errorThrown=!0,$.error=z)}},7103:(Xe,fe,A)=>{function l($,se,Q,z=0,Z=!1){const le=se.schedule(function(){Q(),Z?$.add(this.schedule(null,z)):this.unsubscribe()},z);if($.add(le),!Z)return le}A.d(fe,{f:()=>l})},2737:(Xe,fe,A)=>{function l($){return $}A.d(fe,{y:()=>l})},4266:(Xe,fe,A)=>{A.d(fe,{z:()=>l});const l=$=>$&&"number"==typeof $.length&&"function"!=typeof $},5726:(Xe,fe,A)=>{A.d(fe,{D:()=>$});var l=A(4674);function $(se){return Symbol.asyncIterator&&(0,l.m)(se?.[Symbol.asyncIterator])}},4674:(Xe,fe,A)=>{function l($){return"function"==typeof $}A.d(fe,{m:()=>l})},8382:(Xe,fe,A)=>{A.d(fe,{c:()=>se});var l=A(4850),$=A(4674);function se(Q){return(0,$.m)(Q[l.L])}},3664:(Xe,fe,A)=>{A.d(fe,{T:()=>se});var l=A(4971),$=A(4674);function se(Q){return(0,$.m)(Q?.[l.h])}},4026:(Xe,fe,A)=>{A.d(fe,{t:()=>$});var l=A(4674);function $(se){return(0,l.m)(se?.then)}},541:(Xe,fe,A)=>{A.d(fe,{L:()=>Q,Q:()=>se});var l=A(7582),$=A(4674);function se(z){return(0,l.FC)(this,arguments,function*(){const le=z.getReader();try{for(;;){const{value:Ge,done:Ne}=yield(0,l.qq)(le.read());if(Ne)return yield(0,l.qq)(void 0);yield yield(0,l.qq)(Ge)}}finally{le.releaseLock()}})}function Q(z){return(0,$.m)(z?.getReader)}},9360:(Xe,fe,A)=>{A.d(fe,{A:()=>$,e:()=>se});var l=A(4674);function $(Q){return(0,l.m)(Q?.lift)}function se(Q){return z=>{if($(z))return z.lift(function(Z){try{return Q(Z,this)}catch(le){this.error(le)}});throw new TypeError("Unable to lift unknown Observable type")}}},7400:(Xe,fe,A)=>{A.d(fe,{Z:()=>Q});var l=A(7398);const{isArray:$}=Array;function Q(z){return(0,l.U)(Z=>function se(z,Z){return $(Z)?z(...Z):z(Z)}(z,Z))}},2420:(Xe,fe,A)=>{function l(){}A.d(fe,{Z:()=>l})},8407:(Xe,fe,A)=>{A.d(fe,{U:()=>se,z:()=>$});var l=A(2737);function $(...Q){return se(Q)}function se(Q){return 0===Q.length?l.y:1===Q.length?Q[0]:function(Z){return Q.reduce((le,Ge)=>Ge(le),Z)}}},3894:(Xe,fe,A)=>{A.d(fe,{h:()=>se});var l=A(2653),$=A(7599);function se(Q){$.z.setTimeout(()=>{const{onUnhandledError:z}=l.config;if(!z)throw Q;z(Q)})}},9853:(Xe,fe,A)=>{function l($){return new TypeError(`You provided ${null!==$&&"object"==typeof $?"an invalid object":`'${$}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}A.d(fe,{z:()=>l})},6814:(Xe,fe,A)=>{A.d(fe,{Do:()=>ft,EM:()=>ir,HT:()=>Q,JF:()=>dn,K0:()=>Z,Mx:()=>sn,O5:()=>Nr,PM:()=>ko,S$:()=>Pe,V_:()=>Ge,Ye:()=>be,ax:()=>An,b0:()=>Ue,bD:()=>Rt,q:()=>se,w_:()=>z});var l=A(4946);let $=null;function se(){return $}function Q(p){$||($=p)}class z{}const Z=new l.OlP("DocumentToken");let le=(()=>{class p{historyGo(m){throw new Error("Not implemented")}}return p.\u0275fac=function(m){return new(m||p)},p.\u0275prov=l.Yz7({token:p,factory:function(){return(0,l.f3M)(Ne)},providedIn:"platform"}),p})();const Ge=new l.OlP("Location Initialized");let Ne=(()=>{class p extends le{constructor(){super(),this._doc=(0,l.f3M)(Z),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return se().getBaseHref(this._doc)}onPopState(m){const w=se().getGlobalEventTarget(this._doc,"window");return w.addEventListener("popstate",m,!1),()=>w.removeEventListener("popstate",m)}onHashChange(m){const w=se().getGlobalEventTarget(this._doc,"window");return w.addEventListener("hashchange",m,!1),()=>w.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,w,T){this._history.pushState(m,w,T)}replaceState(m,w,T){this._history.replaceState(m,w,T)}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)},p.\u0275prov=l.Yz7({token:p,factory:function(){return new p},providedIn:"platform"}),p})();function ge(p,_){if(0==p.length)return _;if(0==_.length)return p;let m=0;return p.endsWith("/")&&m++,_.startsWith("/")&&m++,2==m?p+_.substring(1):1==m?p+_:p+"/"+_}function K(p){const _=p.match(/#|\?|$/),m=_&&_.index||p.length;return p.slice(0,m-("/"===p[m-1]?1:0))+p.slice(m)}function he(p){return p&&"?"!==p[0]?"?"+p:p}let Pe=(()=>{class p{historyGo(m){throw new Error("Not implemented")}}return p.\u0275fac=function(m){return new(m||p)},p.\u0275prov=l.Yz7({token:p,factory:function(){return(0,l.f3M)(Ue)},providedIn:"root"}),p})();const Re=new l.OlP("appBaseHref");let Ue=(()=>{class p extends Pe{constructor(m,w){super(),this._platformLocation=m,this._removeListenerFns=[],this._baseHref=w??this._platformLocation.getBaseHrefFromDOM()??(0,l.f3M)(Z).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 ge(this._baseHref,m)}path(m=!1){const w=this._platformLocation.pathname+he(this._platformLocation.search),T=this._platformLocation.hash;return T&&m?`${w}${T}`:w}pushState(m,w,T,U){const W=this.prepareExternalUrl(T+he(U));this._platformLocation.pushState(m,w,W)}replaceState(m,w,T,U){const W=this.prepareExternalUrl(T+he(U));this._platformLocation.replaceState(m,w,W)}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)(l.LFG(le),l.LFG(Re,8))},p.\u0275prov=l.Yz7({token:p,factory:p.\u0275fac,providedIn:"root"}),p})(),ft=(()=>{class p extends Pe{constructor(m,w){super(),this._platformLocation=m,this._baseHref="",this._removeListenerFns=[],null!=w&&(this._baseHref=w)}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 w=this._platformLocation.hash;return null==w&&(w="#"),w.length>0?w.substring(1):w}prepareExternalUrl(m){const w=ge(this._baseHref,m);return w.length>0?"#"+w:w}pushState(m,w,T,U){let W=this.prepareExternalUrl(T+he(U));0==W.length&&(W=this._platformLocation.pathname),this._platformLocation.pushState(m,w,W)}replaceState(m,w,T,U){let W=this.prepareExternalUrl(T+he(U));0==W.length&&(W=this._platformLocation.pathname),this._platformLocation.replaceState(m,w,W)}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)(l.LFG(le),l.LFG(Re,8))},p.\u0275prov=l.Yz7({token:p,factory:p.\u0275fac}),p})(),be=(()=>{class p{constructor(m){this._subject=new l.vpe,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=m;const w=this._locationStrategy.getBaseHref();this._basePath=function te(p){if(new RegExp("^(https?:)?//").test(p)){const[,m]=p.split(/\/\/[^\/]+/);return m}return p}(K(st(w))),this._locationStrategy.onPopState(T=>{this._subject.emit({url:this.path(!0),pop:!0,state:T.state,type:T.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(m=!1){return this.normalize(this._locationStrategy.path(m))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(m,w=""){return this.path()==this.normalize(m+he(w))}normalize(m){return p.stripTrailingSlash(function Le(p,_){if(!p||!_.startsWith(p))return _;const m=_.substring(p.length);return""===m||["/",";","?","#"].includes(m[0])?m:_}(this._basePath,st(m)))}prepareExternalUrl(m){return m&&"/"!==m[0]&&(m="/"+m),this._locationStrategy.prepareExternalUrl(m)}go(m,w="",T=null){this._locationStrategy.pushState(T,"",m,w),this._notifyUrlChangeListeners(this.prepareExternalUrl(m+he(w)),T)}replaceState(m,w="",T=null){this._locationStrategy.replaceState(T,"",m,w),this._notifyUrlChangeListeners(this.prepareExternalUrl(m+he(w)),T)}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(w=>{this._notifyUrlChangeListeners(w.url,w.state)})),()=>{const w=this._urlChangeListeners.indexOf(m);this._urlChangeListeners.splice(w,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(m="",w){this._urlChangeListeners.forEach(T=>T(m,w))}subscribe(m,w,T){return this._subject.subscribe({next:m,error:w,complete:T})}}return p.normalizeQueryParams=he,p.joinWithSlash=ge,p.stripTrailingSlash=K,p.\u0275fac=function(m){return new(m||p)(l.LFG(Pe))},p.\u0275prov=l.Yz7({token:p,factory:function(){return function Ke(){return new be((0,l.LFG)(Pe))}()},providedIn:"root"}),p})();function st(p){return p.replace(/\/index.html$/,"")}function sn(p,_){_=encodeURIComponent(_);for(const m of p.split(";")){const w=m.indexOf("="),[T,U]=-1==w?[m,""]:[m.slice(0,w),m.slice(w+1)];if(T.trim()===_)return decodeURIComponent(U)}return null}class Wt{constructor(_,m,w,T){this.$implicit=_,this.ngForOf=m,this.index=w,this.count=T}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 An=(()=>{class p{set ngForOf(m){this._ngForOf=m,this._ngForOfDirty=!0}set ngForTrackBy(m){this._trackByFn=m}get ngForTrackBy(){return this._trackByFn}constructor(m,w,T){this._viewContainer=m,this._template=w,this._differs=T,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}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 w=this._viewContainer;m.forEachOperation((T,U,W)=>{if(null==T.previousIndex)w.createEmbeddedView(this._template,new Wt(T.item,this._ngForOf,-1,-1),null===W?void 0:W);else if(null==W)w.remove(null===U?void 0:U);else if(null!==U){const He=w.get(U);w.move(He,W),Ar(He,T)}});for(let T=0,U=w.length;T{Ar(w.get(T.currentIndex),T)})}static ngTemplateContextGuard(m,w){return!0}}return p.\u0275fac=function(m){return new(m||p)(l.Y36(l.s_b),l.Y36(l.Rgc),l.Y36(l.ZZ4))},p.\u0275dir=l.lG2({type:p,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0}),p})();function Ar(p,_){p.context.$implicit=_.item}let Nr=(()=>{class p{constructor(m,w){this._viewContainer=m,this._context=new Rr,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=w}set ngIf(m){this._context.$implicit=this._context.ngIf=m,this._updateView()}set ngIfThen(m){Xo("ngIfThen",m),this._thenTemplateRef=m,this._thenViewRef=null,this._updateView()}set ngIfElse(m){Xo("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,w){return!0}}return p.\u0275fac=function(m){return new(m||p)(l.Y36(l.s_b),l.Y36(l.Rgc))},p.\u0275dir=l.lG2({type:p,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0}),p})();class Rr{constructor(){this.$implicit=null,this.ngIf=null}}function Xo(p,_){if(_&&!_.createEmbeddedView)throw new Error(`${p} must be a TemplateRef, but received '${(0,l.AaK)(_)}'.`)}const Rt="browser",Mr="server";function ko(p){return p===Mr}let ir=(()=>{class p{}return p.\u0275prov=(0,l.Yz7)({token:p,providedIn:"root",factory:()=>new Ln((0,l.LFG)(Z),window)}),p})();class Ln{constructor(_,m){this.document=_,this.window=m,this.offset=()=>[0,0]}setOffset(_){this.offset=Array.isArray(_)?()=>_:_}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(_){this.supportsScrolling()&&this.window.scrollTo(_[0],_[1])}scrollToAnchor(_){if(!this.supportsScrolling())return;const m=function zr(p,_){const m=p.getElementById(_)||p.getElementsByName(_)[0];if(m)return m;if("function"==typeof p.createTreeWalker&&p.body&&"function"==typeof p.body.attachShadow){const w=p.createTreeWalker(p.body,NodeFilter.SHOW_ELEMENT);let T=w.currentNode;for(;T;){const U=T.shadowRoot;if(U){const W=U.getElementById(_)||U.querySelector(`[name="${_}"]`);if(W)return W}T=w.nextNode()}}return null}(this.document,_);m&&(this.scrollToElement(m),m.focus())}setHistoryScrollRestoration(_){if(this.supportScrollRestoration()){const m=this.window.history;m&&m.scrollRestoration&&(m.scrollRestoration=_)}}scrollToElement(_){const m=_.getBoundingClientRect(),w=m.left+this.window.pageXOffset,T=m.top+this.window.pageYOffset,U=this.offset();this.window.scrollTo(w-U[0],T-U[1])}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const _=Lr(this.window.history)||Lr(Object.getPrototypeOf(this.window.history));return!(!_||!_.writable&&!_.set)}catch{return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch{return!1}}}function Lr(p){return Object.getOwnPropertyDescriptor(p,"scrollRestoration")}class dn{}},9862:(Xe,fe,A)=>{A.d(fe,{JF:()=>V,LE:()=>te,WM:()=>Pe,eN:()=>re});var l=A(4946),$=A(2096),se=A(7715),Q=A(5592),z=A(6328),Z=A(2181),le=A(7398),Ge=A(4716),Ne=A(4664),ge=A(6814);class K{}class he{}class Pe{constructor(R){this.normalizedNames=new Map,this.lazyUpdate=null,R?"string"==typeof R?this.lazyInit=()=>{this.headers=new Map,R.split("\n").forEach(O=>{const ae=O.indexOf(":");if(ae>0){const pe=O.slice(0,ae),_e=pe.toLowerCase(),De=O.slice(ae+1).trim();this.maybeSetNormalizedName(pe,_e),this.headers.has(_e)?this.headers.get(_e).push(De):this.headers.set(_e,[De])}})}:typeof Headers<"u"&&R instanceof Headers?(this.headers=new Map,R.forEach((O,ae)=>{this.setHeaderEntries(ae,O)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(R).forEach(([O,ae])=>{this.setHeaderEntries(O,ae)})}:this.headers=new Map}has(R){return this.init(),this.headers.has(R.toLowerCase())}get(R){this.init();const O=this.headers.get(R.toLowerCase());return O&&O.length>0?O[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(R){return this.init(),this.headers.get(R.toLowerCase())||null}append(R,O){return this.clone({name:R,value:O,op:"a"})}set(R,O){return this.clone({name:R,value:O,op:"s"})}delete(R,O){return this.clone({name:R,value:O,op:"d"})}maybeSetNormalizedName(R,O){this.normalizedNames.has(O)||this.normalizedNames.set(O,R)}init(){this.lazyInit&&(this.lazyInit instanceof Pe?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(R=>this.applyUpdate(R)),this.lazyUpdate=null))}copyFrom(R){R.init(),Array.from(R.headers.keys()).forEach(O=>{this.headers.set(O,R.headers.get(O)),this.normalizedNames.set(O,R.normalizedNames.get(O))})}clone(R){const O=new Pe;return O.lazyInit=this.lazyInit&&this.lazyInit instanceof Pe?this.lazyInit:this,O.lazyUpdate=(this.lazyUpdate||[]).concat([R]),O}applyUpdate(R){const O=R.name.toLowerCase();switch(R.op){case"a":case"s":let ae=R.value;if("string"==typeof ae&&(ae=[ae]),0===ae.length)return;this.maybeSetNormalizedName(R.name,O);const pe=("a"===R.op?this.headers.get(O):void 0)||[];pe.push(...ae),this.headers.set(O,pe);break;case"d":const _e=R.value;if(_e){let De=this.headers.get(O);if(!De)return;De=De.filter(lt=>-1===_e.indexOf(lt)),0===De.length?(this.headers.delete(O),this.normalizedNames.delete(O)):this.headers.set(O,De)}else this.headers.delete(O),this.normalizedNames.delete(O)}}setHeaderEntries(R,O){const ae=(Array.isArray(O)?O:[O]).map(_e=>_e.toString()),pe=R.toLowerCase();this.headers.set(pe,ae),this.maybeSetNormalizedName(R,pe)}forEach(R){this.init(),Array.from(this.normalizedNames.keys()).forEach(O=>R(this.normalizedNames.get(O),this.headers.get(O)))}}class Ue{encodeKey(R){return Le(R)}encodeValue(R){return Le(R)}decodeKey(R){return decodeURIComponent(R)}decodeValue(R){return decodeURIComponent(R)}}const be=/%(\d[a-f0-9])/gi,Ke={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function Le(H){return encodeURIComponent(H).replace(be,(R,O)=>Ke[O]??R)}function st(H){return`${H}`}class te{constructor(R={}){if(this.updates=null,this.cloneFrom=null,this.encoder=R.encoder||new Ue,R.fromString){if(R.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function ft(H,R){const O=new Map;return H.length>0&&H.replace(/^\?/,"").split("&").forEach(pe=>{const _e=pe.indexOf("="),[De,lt]=-1==_e?[R.decodeKey(pe),""]:[R.decodeKey(pe.slice(0,_e)),R.decodeValue(pe.slice(_e+1))],we=O.get(De)||[];we.push(lt),O.set(De,we)}),O}(R.fromString,this.encoder)}else R.fromObject?(this.map=new Map,Object.keys(R.fromObject).forEach(O=>{const ae=R.fromObject[O],pe=Array.isArray(ae)?ae.map(st):[st(ae)];this.map.set(O,pe)})):this.map=null}has(R){return this.init(),this.map.has(R)}get(R){this.init();const O=this.map.get(R);return O?O[0]:null}getAll(R){return this.init(),this.map.get(R)||null}keys(){return this.init(),Array.from(this.map.keys())}append(R,O){return this.clone({param:R,value:O,op:"a"})}appendAll(R){const O=[];return Object.keys(R).forEach(ae=>{const pe=R[ae];Array.isArray(pe)?pe.forEach(_e=>{O.push({param:ae,value:_e,op:"a"})}):O.push({param:ae,value:pe,op:"a"})}),this.clone(O)}set(R,O){return this.clone({param:R,value:O,op:"s"})}delete(R,O){return this.clone({param:R,value:O,op:"d"})}toString(){return this.init(),this.keys().map(R=>{const O=this.encoder.encodeKey(R);return this.map.get(R).map(ae=>O+"="+this.encoder.encodeValue(ae)).join("&")}).filter(R=>""!==R).join("&")}clone(R){const O=new te({encoder:this.encoder});return O.cloneFrom=this.cloneFrom||this,O.updates=(this.updates||[]).concat(R),O}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(R=>this.map.set(R,this.cloneFrom.map.get(R))),this.updates.forEach(R=>{switch(R.op){case"a":case"s":const O=("a"===R.op?this.map.get(R.param):void 0)||[];O.push(st(R.value)),this.map.set(R.param,O);break;case"d":if(void 0===R.value){this.map.delete(R.param);break}{let ae=this.map.get(R.param)||[];const pe=ae.indexOf(st(R.value));-1!==pe&&ae.splice(pe,1),ae.length>0?this.map.set(R.param,ae):this.map.delete(R.param)}}}),this.cloneFrom=this.updates=null)}}class me{constructor(){this.map=new Map}set(R,O){return this.map.set(R,O),this}get(R){return this.map.has(R)||this.map.set(R,R.defaultValue()),this.map.get(R)}delete(R){return this.map.delete(R),this}has(R){return this.map.has(R)}keys(){return this.map.keys()}}function ye(H){return typeof ArrayBuffer<"u"&&H instanceof ArrayBuffer}function ie(H){return typeof Blob<"u"&&H instanceof Blob}function ee(H){return typeof FormData<"u"&&H instanceof FormData}class ht{constructor(R,O,ae,pe){let _e;if(this.url=O,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=R.toUpperCase(),function Oe(H){switch(H){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||pe?(this.body=void 0!==ae?ae:null,_e=pe):_e=ae,_e&&(this.reportProgress=!!_e.reportProgress,this.withCredentials=!!_e.withCredentials,_e.responseType&&(this.responseType=_e.responseType),_e.headers&&(this.headers=_e.headers),_e.context&&(this.context=_e.context),_e.params&&(this.params=_e.params)),this.headers||(this.headers=new Pe),this.context||(this.context=new me),this.params){const De=this.params.toString();if(0===De.length)this.urlWithParams=O;else{const lt=O.indexOf("?");this.urlWithParams=O+(-1===lt?"?":lten.set(pn,R.setHeaders[pn]),we)),R.setParams&&(Nt=Object.keys(R.setParams).reduce((en,pn)=>en.set(pn,R.setParams[pn]),Nt)),new ht(O,ae,_e,{params:Nt,headers:we,context:Wn,reportProgress:lt,responseType:pe,withCredentials:De})}}var mt=(()=>((mt=mt||{})[mt.Sent=0]="Sent",mt[mt.UploadProgress=1]="UploadProgress",mt[mt.ResponseHeader=2]="ResponseHeader",mt[mt.DownloadProgress=3]="DownloadProgress",mt[mt.Response=4]="Response",mt[mt.User=5]="User",mt))();class gn{constructor(R,O=200,ae="OK"){this.headers=R.headers||new Pe,this.status=void 0!==R.status?R.status:O,this.statusText=R.statusText||ae,this.url=R.url||null,this.ok=this.status>=200&&this.status<300}}class Se extends gn{constructor(R={}){super(R),this.type=mt.ResponseHeader}clone(R={}){return new Se({headers:R.headers||this.headers,status:void 0!==R.status?R.status:this.status,statusText:R.statusText||this.statusText,url:R.url||this.url||void 0})}}class j extends gn{constructor(R={}){super(R),this.type=mt.Response,this.body=void 0!==R.body?R.body:null}clone(R={}){return new j({body:void 0!==R.body?R.body:this.body,headers:R.headers||this.headers,status:void 0!==R.status?R.status:this.status,statusText:R.statusText||this.statusText,url:R.url||this.url||void 0})}}class P extends gn{constructor(R){super(R,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${R.url||"(unknown url)"}`:`Http failure response for ${R.url||"(unknown url)"}: ${R.status} ${R.statusText}`,this.error=R.error||null}}function B(H,R){return{body:R,headers:H.headers,context:H.context,observe:H.observe,params:H.params,reportProgress:H.reportProgress,responseType:H.responseType,withCredentials:H.withCredentials}}let re=(()=>{class H{constructor(O){this.handler=O}request(O,ae,pe={}){let _e;if(O instanceof ht)_e=O;else{let we,Nt;we=pe.headers instanceof Pe?pe.headers:new Pe(pe.headers),pe.params&&(Nt=pe.params instanceof te?pe.params:new te({fromObject:pe.params})),_e=new ht(O,ae,void 0!==pe.body?pe.body:null,{headers:we,context:pe.context,params:Nt,reportProgress:pe.reportProgress,responseType:pe.responseType||"json",withCredentials:pe.withCredentials})}const De=(0,$.of)(_e).pipe((0,z.b)(we=>this.handler.handle(we)));if(O instanceof ht||"events"===pe.observe)return De;const lt=De.pipe((0,Z.h)(we=>we instanceof j));switch(pe.observe||"body"){case"body":switch(_e.responseType){case"arraybuffer":return lt.pipe((0,le.U)(we=>{if(null!==we.body&&!(we.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return we.body}));case"blob":return lt.pipe((0,le.U)(we=>{if(null!==we.body&&!(we.body instanceof Blob))throw new Error("Response is not a Blob.");return we.body}));case"text":return lt.pipe((0,le.U)(we=>{if(null!==we.body&&"string"!=typeof we.body)throw new Error("Response is not a string.");return we.body}));default:return lt.pipe((0,le.U)(we=>we.body))}case"response":return lt;default:throw new Error(`Unreachable: unhandled observe type ${pe.observe}}`)}}delete(O,ae={}){return this.request("DELETE",O,ae)}get(O,ae={}){return this.request("GET",O,ae)}head(O,ae={}){return this.request("HEAD",O,ae)}jsonp(O,ae){return this.request("JSONP",O,{params:(new te).append(ae,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(O,ae={}){return this.request("OPTIONS",O,ae)}patch(O,ae,pe={}){return this.request("PATCH",O,B(pe,ae))}post(O,ae,pe={}){return this.request("POST",O,B(pe,ae))}put(O,ae,pe={}){return this.request("PUT",O,B(pe,ae))}}return H.\u0275fac=function(O){return new(O||H)(l.LFG(K))},H.\u0275prov=l.Yz7({token:H,factory:H.\u0275fac}),H})();function dt(H,R){return R(H)}function it(H,R){return(O,ae)=>R.intercept(O,{handle:pe=>H(pe,ae)})}const mn=new l.OlP(""),nn=new l.OlP(""),rn=new l.OlP("");function Un(){let H=null;return(R,O)=>{null===H&&(H=((0,l.f3M)(mn,{optional:!0})??[]).reduceRight(it,dt));const ae=(0,l.f3M)(l.HDt),pe=ae.add();return H(R,O).pipe((0,Ge.x)(()=>ae.remove(pe)))}}let Xt=(()=>{class H extends K{constructor(O,ae){super(),this.backend=O,this.injector=ae,this.chain=null,this.pendingTasks=(0,l.f3M)(l.HDt)}handle(O){if(null===this.chain){const pe=Array.from(new Set([...this.injector.get(nn),...this.injector.get(rn,[])]));this.chain=pe.reduceRight((_e,De)=>function Ht(H,R,O){return(ae,pe)=>O.runInContext(()=>R(ae,_e=>H(_e,pe)))}(_e,De,this.injector),dt)}const ae=this.pendingTasks.add();return this.chain(O,pe=>this.backend.handle(pe)).pipe((0,Ge.x)(()=>this.pendingTasks.remove(ae)))}}return H.\u0275fac=function(O){return new(O||H)(l.LFG(he),l.LFG(l.lqb))},H.\u0275prov=l.Yz7({token:H,factory:H.\u0275fac}),H})();const Qt=/^\)\]\}',?\n/;let Pn=(()=>{class H{constructor(O){this.xhrFactory=O}handle(O){if("JSONP"===O.method)throw new l.vHH(-2800,!1);const ae=this.xhrFactory;return(ae.\u0275loadImpl?(0,se.D)(ae.\u0275loadImpl()):(0,$.of)(null)).pipe((0,Ne.w)(()=>new Q.y(_e=>{const De=ae.build();if(De.open(O.method,O.urlWithParams),O.withCredentials&&(De.withCredentials=!0),O.headers.forEach((At,xt)=>De.setRequestHeader(At,xt.join(","))),O.headers.has("Accept")||De.setRequestHeader("Accept","application/json, text/plain, */*"),!O.headers.has("Content-Type")){const At=O.detectContentTypeHeader();null!==At&&De.setRequestHeader("Content-Type",At)}if(O.responseType){const At=O.responseType.toLowerCase();De.responseType="json"!==At?At:"text"}const lt=O.serializeBody();let we=null;const Nt=()=>{if(null!==we)return we;const At=De.statusText||"OK",xt=new Pe(De.getAllResponseHeaders()),Dn=function xn(H){return"responseURL"in H&&H.responseURL?H.responseURL:/^X-Request-URL:/m.test(H.getAllResponseHeaders())?H.getResponseHeader("X-Request-URL"):null}(De)||O.url;return we=new Se({headers:xt,status:De.status,statusText:At,url:Dn}),we},Wn=()=>{let{headers:At,status:xt,statusText:Dn,url:Ir}=Nt(),Wt=null;204!==xt&&(Wt=typeof De.response>"u"?De.responseText:De.response),0===xt&&(xt=Wt?200:0);let An=xt>=200&&xt<300;if("json"===O.responseType&&"string"==typeof Wt){const Ar=Wt;Wt=Wt.replace(Qt,"");try{Wt=""!==Wt?JSON.parse(Wt):null}catch(Tr){Wt=Ar,An&&(An=!1,Wt={error:Tr,text:Wt})}}An?(_e.next(new j({body:Wt,headers:At,status:xt,statusText:Dn,url:Ir||void 0})),_e.complete()):_e.error(new P({error:Wt,headers:At,status:xt,statusText:Dn,url:Ir||void 0}))},en=At=>{const{url:xt}=Nt(),Dn=new P({error:At,status:De.status||0,statusText:De.statusText||"Unknown Error",url:xt||void 0});_e.error(Dn)};let pn=!1;const sn=At=>{pn||(_e.next(Nt()),pn=!0);let xt={type:mt.DownloadProgress,loaded:At.loaded};At.lengthComputable&&(xt.total=At.total),"text"===O.responseType&&De.responseText&&(xt.partialText=De.responseText),_e.next(xt)},an=At=>{let xt={type:mt.UploadProgress,loaded:At.loaded};At.lengthComputable&&(xt.total=At.total),_e.next(xt)};return De.addEventListener("load",Wn),De.addEventListener("error",en),De.addEventListener("timeout",en),De.addEventListener("abort",en),O.reportProgress&&(De.addEventListener("progress",sn),null!==lt&&De.upload&&De.upload.addEventListener("progress",an)),De.send(lt),_e.next({type:mt.Sent}),()=>{De.removeEventListener("error",en),De.removeEventListener("abort",en),De.removeEventListener("load",Wn),De.removeEventListener("timeout",en),O.reportProgress&&(De.removeEventListener("progress",sn),null!==lt&&De.upload&&De.upload.removeEventListener("progress",an)),De.readyState!==De.DONE&&De.abort()}})))}}return H.\u0275fac=function(O){return new(O||H)(l.LFG(ge.JF))},H.\u0275prov=l.Yz7({token:H,factory:H.\u0275fac}),H})();const $t=new l.OlP("XSRF_ENABLED"),Ot=new l.OlP("XSRF_COOKIE_NAME",{providedIn:"root",factory:()=>"XSRF-TOKEN"}),Me=new l.OlP("XSRF_HEADER_NAME",{providedIn:"root",factory:()=>"X-XSRF-TOKEN"});class wr{}let Yn=(()=>{class H{constructor(O,ae,pe){this.doc=O,this.platform=ae,this.cookieName=pe,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const O=this.doc.cookie||"";return O!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,ge.Mx)(O,this.cookieName),this.lastCookieString=O),this.lastToken}}return H.\u0275fac=function(O){return new(O||H)(l.LFG(ge.K0),l.LFG(l.Lbi),l.LFG(Ot))},H.\u0275prov=l.Yz7({token:H,factory:H.\u0275fac}),H})();function Gt(H,R){const O=H.url.toLowerCase();if(!(0,l.f3M)($t)||"GET"===H.method||"HEAD"===H.method||O.startsWith("http://")||O.startsWith("https://"))return R(H);const ae=(0,l.f3M)(wr).getToken(),pe=(0,l.f3M)(Me);return null!=ae&&!H.headers.has(pe)&&(H=H.clone({headers:H.headers.set(pe,ae)})),R(H)}var yt=(()=>((yt=yt||{})[yt.Interceptors=0]="Interceptors",yt[yt.LegacyInterceptors=1]="LegacyInterceptors",yt[yt.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",yt[yt.NoXsrfProtection=3]="NoXsrfProtection",yt[yt.JsonpSupport=4]="JsonpSupport",yt[yt.RequestsMadeViaParent=5]="RequestsMadeViaParent",yt[yt.Fetch=6]="Fetch",yt))();function vt(H,R){return{\u0275kind:H,\u0275providers:R}}function Kn(...H){const R=[re,Pn,Xt,{provide:K,useExisting:Xt},{provide:he,useExisting:Pn},{provide:nn,useValue:Gt,multi:!0},{provide:$t,useValue:!0},{provide:wr,useClass:Yn}];for(const O of H)R.push(...O.\u0275providers);return(0,l.MR2)(R)}const vn=new l.OlP("LEGACY_INTERCEPTOR_FN");let V=(()=>{class H{}return H.\u0275fac=function(O){return new(O||H)},H.\u0275mod=l.oAB({type:H}),H.\u0275inj=l.cJS({providers:[Kn(vt(yt.LegacyInterceptors,[{provide:vn,useFactory:Un},{provide:nn,useExisting:vn,multi:!0}]))]}),H})()},4946:(Xe,fe,A)=>{A.d(fe,{tb:()=>ad,AFp:()=>Wf,ip1:()=>Tm,z2F:()=>ds,Ojb:()=>aD,sBO:()=>K0,Sil:()=>A0,EJc:()=>S0,Xts:()=>$s,SBq:()=>qs,lqb:()=>hi,qLn:()=>Wi,vpe:()=>Co,XFs:()=>Me,OlP:()=>Lt,zs3:()=>Yo,ZZ4:()=>hd,aQg:()=>pd,soG:()=>Fu,YKP:()=>Lg,h0i:()=>us,PXZ:()=>B0,R0b:()=>fr,FiY:()=>$a,Lbi:()=>Vl,g9A:()=>qf,Qsj:()=>_D,FYo:()=>th,JOm:()=>go,tp0:()=>Ga,Rgc:()=>da,dDg:()=>L0,eoX:()=>jm,GfV:()=>nh,s_b:()=>xu,ifc:()=>De,VuI:()=>vM,MMx:()=>Vg,Lck:()=>sw,Gpc:()=>ie,RIp:()=>Bf,f3M:()=>nt,$WT:()=>xr,MR2:()=>Tl,qFp:()=>CM,rg0:()=>Da,c2e:()=>Nm,zSh:()=>xl,HDt:()=>Rm,wAp:()=>Qe,vHH:()=>Se,lri:()=>Hm,rWj:()=>Bm,cg1:()=>Oc,kL8:()=>ag,dqk:()=>vt,iPO:()=>$0,Z0I:()=>hr,eJc:()=>Xc,QGY:()=>_c,F4k:()=>fp,RDi:()=>Tv,AaK:()=>me,qOj:()=>uc,Xq5:()=>qh,TTD:()=>Ti,_Bn:()=>Fg,jDz:()=>Hg,xp6:()=>ph,uIk:()=>cc,ekj:()=>Ic,Suo:()=>um,Xpm:()=>Qo,lG2:()=>Lo,Yz7:()=>St,cJS:()=>ke,oAB:()=>io,Yjl:()=>Mo,Y36:()=>Yi,_UZ:()=>vc,qZA:()=>bu,TgZ:()=>Mu,n5z:()=>Fd,LFG:()=>Ze,$8M:()=>nl,$Z:()=>_h,NdJ:()=>Ec,CRH:()=>lm,oxw:()=>yp,Q6J:()=>mc,iGM:()=>am,LSH:()=>Al,P3R:()=>Lf,YNc:()=>sp,_uU:()=>jp,Oqu:()=>Tc,AsE:()=>Rc});var l=A(8645),$=A(7394),se=A(5619),Q=A(5592),z=A(7537),Z=A(4829),le=A(6232),Ge=A(4564),Ne=A(7715),K=A(2096),he=A(305),Pe=A(9360);function Re(e={}){const{connector:t=(()=>new l.x),resetOnError:n=!0,resetOnComplete:r=!0,resetOnRefCountZero:o=!0}=e;return i=>{let s,c,h,D=0,E=!1,I=!1;const x=()=>{c?.unsubscribe(),c=void 0},k=()=>{x(),s=h=void 0,E=I=!1},X=()=>{const ue=s;k(),ue?.unsubscribe()};return(0,Pe.e)((ue,Te)=>{D++,!I&&!E&&x();const je=h=h??t();Te.add(()=>{D--,0===D&&!I&&!E&&(c=Ue(X,o))}),je.subscribe(Te),!s&&D>0&&(s=new he.Hp({next:J=>je.next(J),error:J=>{I=!0,x(),c=Ue(k,n,J),je.error(J)},complete:()=>{E=!0,x(),c=Ue(k,r),je.complete()}}),(0,Z.Xf)(ue).subscribe(s))})(i)}}function Ue(e,t,...n){if(!0===t)return void e();if(!1===t)return;const r=new he.Hp({next:()=>{r.unsubscribe(),e()}});return t(...n).subscribe(r)}var ft=A(4664),be=A(2737),Ke=A(8251);function st(e,t){return e===t}function te(e){for(let t in e)if(e[t]===te)return t;throw Error("Could not find renamed property on target object.")}function ce(e,t){for(const n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function me(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(me).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 Oe(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const ye=te({__forward_ref__:te});function ie(e){return e.__forward_ref__=ie,e.toString=function(){return me(this())},e}function ee(e){return ve(e)?e():e}function ve(e){return"function"==typeof e&&e.hasOwnProperty(ye)&&e.__forward_ref__===ie}function ht(e){return e&&!!e.\u0275providers}const gn="https://g.co/ng/security#xss";class Se extends Error{constructor(t,n){super(function j(e,t){return`NG0${Math.abs(e)}${t?": "+t:""}`}(t,n)),this.code=t}}function P(e){return"string"==typeof e?e:null==e?"":String(e)}function Fe(e,t){throw new Se(-201,!1)}function ln(e,t){null==e&&function Ie(e,t,n,r){throw new Error(`ASSERTION ERROR: ${e}`+(null==r?"":` [Expected=> ${n} ${r} ${t} <=Actual]`))}(t,e,null,"!=")}function St(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function ke(e){return{providers:e.providers||[],imports:e.imports||[]}}function We(e){return Qt(e,$t)||Qt(e,Ot)}function hr(e){return null!==We(e)}function Qt(e,t){return e.hasOwnProperty(t)?e[t]:null}function Pn(e){return e&&(e.hasOwnProperty(Br)||e.hasOwnProperty(_o))?e[Br]:null}const $t=te({\u0275prov:te}),Br=te({\u0275inj:te}),Ot=te({ngInjectableDef:te}),_o=te({ngInjectorDef:te});var Me=(()=>((Me=Me||{})[Me.Default=0]="Default",Me[Me.Host=1]="Host",Me[Me.Self=2]="Self",Me[Me.SkipSelf=4]="SkipSelf",Me[Me.Optional=8]="Optional",Me))();let wr;function Gt(e){const t=wr;return wr=e,t}function ct(e,t,n){const r=We(e);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:n&Me.Optional?null:void 0!==t?t:void Fe(me(e))}const vt=(()=>typeof globalThis<"u"&&globalThis||typeof global<"u"&&global||typeof window<"u"&&window||typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self)(),Sn={},Gn="__NG_DI_FLAG__",In="ngTempTokenPath",Y=/\n/gm,N="__source";let V;function Ee(e){const t=V;return V=e,t}function ze(e,t=Me.Default){if(void 0===V)throw new Se(-203,!1);return null===V?ct(e,void 0,t):V.get(e,t&Me.Optional?null:void 0,t)}function Ze(e,t=Me.Default){return(function Yn(){return wr}()||ze)(ee(e),t)}function nt(e,t=Me.Default){return Ze(e,on(t))}function on(e){return typeof e>"u"||"number"==typeof e?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function zn(e){const t=[];for(let n=0;n((_e=_e||{})[_e.OnPush=0]="OnPush",_e[_e.Default=1]="Default",_e))(),De=(()=>{return(e=De||(De={}))[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",De;var e})();const lt={},we=[],Nt=te({\u0275cmp:te}),Wn=te({\u0275dir:te}),en=te({\u0275pipe:te}),pn=te({\u0275mod:te}),sn=te({\u0275fac:te}),an=te({__NG_ELEMENT_ID__:te}),At=te({__NG_ENV_ID__:te});function xt(e,t,n){let r=e.length;for(;;){const o=e.indexOf(t,n);if(-1===o)return o;if(0===o||e.charCodeAt(o-1)<=32){const i=t.length;if(o+i===r||e.charCodeAt(o+i)<=32)return o}n=o+1}}function Dn(e,t,n){let r=0;for(;rt){s=i-1;break}}}for(;ii?"":o[I+1].toLowerCase();const k=8&r?x:null;if(k&&-1!==xt(k,D,0)||2&r&&D!==x){if(un(r))return!1;s=!0}}}}else{if(!s&&!un(r)&&!un(h))return!1;if(s&&un(h))continue;s=!1,r=h|1&r}}return un(r)||s}function un(e){return 0==(1&e)}function ro(e,t,n,r){if(null===t)return-1;let o=0;if(r||!n){let i=!1;for(;o-1)for(n++;n0?'="'+c+'"':"")+"]"}else 8&r?o+="."+s:4&r&&(o+=" "+s);else""!==o&&!un(s)&&(t+=$r(i,o),o=""),r=s,i=i||!un(r);n++}return""!==o&&(t+=$r(i,o)),t}function Qo(e){return pe(()=>{const t=bo(e),n={...t,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===_e.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||De.Emulated,styles:e.styles||we,_:null,schemas:e.schemas||null,tView:null,id:""};Gr(n);const r=e.dependencies;return n.directiveDefs=pr(r,!1),n.pipeDefs=pr(r,!0),n.id=function gr(e){let t=0;const n=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,e.consts,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery].join("|");for(const o of n)t=Math.imul(31,t)+o.charCodeAt(0)<<0;return t+=2147483648,"c"+t}(n),n})}function Po(e){return _t(e)||cn(e)}function ti(e){return null!==e}function io(e){return pe(()=>({type:e.type,bootstrap:e.bootstrap||we,declarations:e.declarations||we,imports:e.imports||we,exports:e.exports||we,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function wo(e,t){if(null==e)return lt;const n={};for(const r in e)if(e.hasOwnProperty(r)){let o=e[r],i=o;Array.isArray(o)&&(i=o[1],o=o[0]),n[o]=r,t&&(t[o]=i)}return n}function Lo(e){return pe(()=>{const t=bo(e);return Gr(t),t})}function Mo(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 _t(e){return e[Nt]||null}function cn(e){return e[Wn]||null}function Cn(e){return e[en]||null}function xr(e){const t=_t(e)||cn(e)||Cn(e);return null!==t&&t.standalone}function tn(e,t){const n=e[pn]||null;if(!n&&!0===t)throw new Error(`Type ${me(e)} does not have '\u0275mod' property.`);return n}function bo(e){const t={};return{type:e.type,providersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputTransforms:null,inputConfig:e.inputs||lt,exportAs:e.exportAs||null,standalone:!0===e.standalone,signals:!0===e.signals,selectors:e.selectors||we,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:wo(e.inputs,t),outputs:wo(e.outputs)}}function Gr(e){e.features?.forEach(t=>t(e))}function pr(e,t){if(!e)return null;const n=t?Cn:Po;return()=>("function"==typeof e?e():e).map(r=>n(r)).filter(ti)}const qt=0,Ae=1,et=2,pt=3,_n=4,Pr=5,Jt=6,Fr=7,Rt=8,Mr=9,Zn=10,Je=11,mr=12,ko=13,yr=14,Bt=15,so=16,ir=17,Ln=18,Lr=19,zr=20,sr=21,dn=22,ao=23,vr=24,ut=25,Vo=1,ri=2,En=7,Wr=9,fn=11;function wn(e){return Array.isArray(e)&&"object"==typeof e[Vo]}function Pt(e){return Array.isArray(e)&&!0===e[Vo]}function So(e){return 0!=(4&e.flags)}function kn(e){return e.componentOffset>-1}function oi(e){return 1==(1&e.flags)}function ar(e){return!!e.template}function Ho(e){return 0!=(512&e[et])}function ur(e,t){return e.hasOwnProperty(sn)?e[sn]:null}let Ei=vt.WeakRef??class _i{constructor(t){this.ref=t}deref(){return this.ref}},ms=0,Vn=null,Uo=!1;function Yt(e){const t=Vn;return Vn=e,t}class wi{constructor(){this.id=ms++,this.ref=function ga(e){return new Ei(e)}(this),this.producers=new Map,this.consumers=new Map,this.trackingVersion=0,this.valueVersion=0}consumerPollProducersForChange(){for(const[t,n]of this.producers){const r=n.producerNode.deref();if(null!=r&&n.atTrackingVersion===this.trackingVersion){if(r.producerPollStatus(n.seenValueVersion))return!0}else this.producers.delete(t),r?.consumers.delete(this.id)}return!1}producerMayHaveChanged(){const t=Uo;Uo=!0;try{for(const[n,r]of this.consumers){const o=r.consumerNode.deref();null!=o&&o.trackingVersion===r.atTrackingVersion?o.onConsumerDependencyMayHaveChanged():(this.consumers.delete(n),o?.producers.delete(this.id))}}finally{Uo=t}}producerAccessed(){if(Uo)throw new Error("");if(null===Vn)return;let t=Vn.producers.get(this.id);void 0===t?(t={consumerNode:Vn.ref,producerNode:this.ref,seenValueVersion:this.valueVersion,atTrackingVersion:Vn.trackingVersion},Vn.producers.set(this.id,t),this.consumers.set(Vn.id,t)):(t.seenValueVersion=this.valueVersion,t.atTrackingVersion=Vn.trackingVersion)}get hasProducers(){return this.producers.size>0}get producerUpdatesAllowed(){return!1!==Vn?.consumerAllowSignalWrites}producerPollStatus(t){return this.valueVersion!==t||(this.onProducerUpdateValueVersion(),this.valueVersion!==t)}}let Ii=null;function Da(e){const t=Yt(null);try{return e()}finally{Yt(t)}}const vs=()=>{};class Ca extends wi{constructor(t,n,r){super(),this.watch=t,this.schedule=n,this.dirty=!1,this.cleanupFn=vs,this.registerOnCleanup=o=>{this.cleanupFn=o},this.consumerAllowSignalWrites=r}notify(){this.dirty||this.schedule(this),this.dirty=!0}onConsumerDependencyMayHaveChanged(){this.notify()}onProducerUpdateValueVersion(){}run(){if(this.dirty=!1,0!==this.trackingVersion&&!this.consumerPollProducersForChange())return;const t=Yt(this);this.trackingVersion++;try{this.cleanupFn(),this.cleanupFn=vs,this.watch(this.registerOnCleanup)}finally{Yt(t)}}cleanup(){this.cleanupFn()}}class _a{constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}}function Ti(){return Ni}function Ni(e){return e.type.prototype.ngOnChanges&&(e.setInput=p),ai}function ai(){const e=m(this),t=e?.current;if(t){const n=e.previous;if(n===lt)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function p(e,t,n,r){const o=this.declaredInputs[n],i=m(e)||function w(e,t){return e[_]=t}(e,{previous:lt,current:null}),s=i.current||(i.current={}),c=i.previous,h=c[o];s[o]=new _a(h&&h.currentValue,t,c===lt),e[r]=t}Ti.ngInherit=!0;const _="__ngSimpleChanges__";function m(e){return e[_]||null}const W=function(e,t,n){};function qe(e){for(;Array.isArray(e);)e=e[qt];return e}function rt(e,t){return qe(t[e])}function Dt(e,t){return qe(t[e.index])}function Kt(e,t){return e.data[t]}function Zt(e,t){const n=t[e];return wn(n)?n:n[qt]}function Bn(e,t){return null==t?null:e[t]}function Cr(e){e[ir]=0}function $u(e){1024&e[et]||(e[et]|=1024,Xn(e,1))}function Ea(e){1024&e[et]&&(e[et]&=-1025,Xn(e,-1))}function Xn(e,t){let n=e[pt];if(null===n)return;n[Pr]+=t;let r=n;for(n=n[pt];null!==n&&(1===t&&1===r[Pr]||-1===t&&0===r[Pr]);)n[Pr]+=t,r=n,n=n[pt]}const tt={lFrame:Is(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function Ma(){return tt.bindingsEnabled}function oe(){return tt.lFrame.lView}function Mt(){return tt.lFrame.tView}function Nn(){let e=qu();for(;null!==e&&64===e.type;)e=e.parent;return e}function qu(){return tt.lFrame.currentTNode}function Xr(e,t){const n=tt.lFrame;n.currentTNode=e,n.isParent=t}function Oi(){return tt.lFrame.isParent}function ui(){return tt.lFrame.bindingIndex++}function ho(e){const t=tt.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function Ed(e,t){const n=tt.lFrame;n.bindingIndex=n.bindingRootIndex=e,ws(t)}function ws(e){tt.lFrame.currentDirectiveIndex=e}function Ra(){return tt.lFrame.currentQueryIndex}function bs(e){tt.lFrame.currentQueryIndex=e}function Yu(e){const t=e[Ae];return 2===t.type?t.declTNode:1===t.type?e[Jt]:null}function Oa(e,t,n){if(n&Me.SkipSelf){let o=t,i=e;for(;!(o=o.parent,null!==o||n&Me.Host||(o=Yu(i),null===o||(i=i[yr],10&o.type))););if(null===o)return!1;t=o,e=i}const r=tt.lFrame=xa();return r.currentTNode=t,r.lView=e,!0}function Ss(e){const t=xa(),n=e[Ae];tt.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function xa(){const e=tt.lFrame,t=null===e?null:e.child;return null===t?Is(e):t}function Is(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 Pa(){const e=tt.lFrame;return tt.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const Ku=Pa;function Fa(){const e=Pa();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 Qn(){return tt.lFrame.selectedIndex}function Go(e){tt.lFrame.selectedIndex=e}function u(){const e=tt.lFrame;return Kt(e.tView,e.selectedIndex)}let S=!0;function L(){return S}function q(e){S=e}function Be(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n=r)break}else t[h]<0&&(e[ir]+=65536),(c>13>16&&(3&e[et])===t&&(e[et]+=8192,Wo(c,i)):Wo(c,i)}const Jr=-1;class Ts{constructor(t,n,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}}function bd(e){return e!==Jr}function La(e){return 32767&e}function ka(e,t){let n=function yy(e){return e>>16}(e),r=t;for(;n>0;)r=r[yr],n--;return r}let Xu=!0;function Va(e){const t=Xu;return Xu=e,t}const Sd=255,Id=5;let vy=0;const po={};function Ha(e,t){const n=Ad(e,t);if(-1!==n)return n;const r=t[Ae];r.firstCreatePass&&(e.injectorIndex=t.length,Ju(r.data,e),Ju(t,null),Ju(r.blueprint,null));const o=Qu(e,t),i=e.injectorIndex;if(bd(o)){const s=La(o),c=ka(o,t),h=c[Ae].data;for(let D=0;D<8;D++)t[i+D]=c[s+D]|h[s+D]}return t[i+8]=o,i}function Ju(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Ad(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function Qu(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=0,r=null,o=t;for(;null!==o;){if(r=Ld(o),null===r)return Jr;if(n++,o=o[yr],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return Jr}function el(e,t,n){!function Dy(e,t,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(an)&&(r=n[an]),null==r&&(r=n[an]=vy++);const o=r&Sd;t.data[e+(o>>Id)]|=1<=0?t&Sd:wy:t}(n);if("function"==typeof i){if(!Oa(t,e,r))return r&Me.Host?Td(o,0,r):Nd(t,n,r,o);try{const s=i(r);if(null!=s||r&Me.Optional)return s;Fe()}finally{Ku()}}else if("number"==typeof i){let s=null,c=Ad(e,t),h=Jr,D=r&Me.Host?t[Bt][Jt]:null;for((-1===c||r&Me.SkipSelf)&&(h=-1===c?Qu(e,t):t[c+8],h!==Jr&&Pd(r,!1)?(s=t[Ae],c=La(h),t=ka(h,t)):c=-1);-1!==c;){const E=t[Ae];if(xd(i,c,E.data)){const I=_y(c,t,n,s,r,D);if(I!==po)return I}h=t[c+8],h!==Jr&&Pd(r,t[Ae].data[c+8]===D)&&xd(i,c,t)?(s=E,c=La(h),t=ka(h,t)):c=-1}}return o}function _y(e,t,n,r,o,i){const s=t[Ae],c=s.data[e+8],E=Ba(c,s,n,null==r?kn(c)&&Xu:r!=s&&0!=(3&c.type),o&Me.Host&&i===c);return null!==E?ci(t,s,E,c):po}function Ba(e,t,n,r,o){const i=e.providerIndexes,s=t.data,c=1048575&i,h=e.directiveStart,E=i>>20,x=o?c+E:e.directiveEnd;for(let k=r?c:c+E;k=h&&X.type===n)return k}if(o){const k=s[h];if(k&&ar(k)&&k.type===n)return h}return null}function ci(e,t,n,r){let o=e[n];const i=t.data;if(function py(e){return e instanceof Ts}(o)){const s=o;s.resolving&&function re(e,t){const n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new Se(-200,`Circular dependency in DI detected for ${e}${n}`)}(function B(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():P(e)}(i[n]));const c=Va(s.canSeeViewProviders);s.resolving=!0;const h=s.injectImpl?Gt(s.injectImpl):null;Oa(e,r,Me.Default);try{o=e[n]=s.factory(void 0,i,e,r),t.firstCreatePass&&n>=r.directiveStart&&function xe(e,t,n){const{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){const s=Ni(t);(n.preOrderHooks??=[]).push(e,s),(n.preOrderCheckHooks??=[]).push(e,s)}o&&(n.preOrderHooks??=[]).push(0-e,o),i&&((n.preOrderHooks??=[]).push(e,i),(n.preOrderCheckHooks??=[]).push(e,i))}(n,i[n],t)}finally{null!==h&&Gt(h),Va(c),s.resolving=!1,Ku()}}return o}function xd(e,t,n){return!!(n[t+(e>>Id)]&1<{const t=e.prototype.constructor,n=t[sn]||tl(t),r=Object.prototype;let o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){const i=o[sn]||tl(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function tl(e){return ve(e)?()=>{const t=tl(ee(e));return t&&t()}:ur(e)}function Ld(e){const t=e[Ae],n=t.type;return 2===n?t.declTNode:1===n?e[Jt]:null}function nl(e){return function Cy(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 o=0;for(;o{const r=function rl(e){return function(...n){if(e){const r=e(...n);for(const o in r)this[o]=r[o]}}}(t);function o(...i){if(this instanceof o)return r.apply(this,i),this;const s=new o(...i);return c.annotation=s,c;function c(h,D,E){const I=h.hasOwnProperty(Li)?h[Li]:Object.defineProperty(h,Li,{value:[]})[Li];for(;I.length<=E;)I.push(null);return(I[E]=I[E]||[]).push(s),h}}return n&&(o.prototype=Object.create(n.prototype)),o.prototype.ngMetadataName=e,o.annotationCls=o,o})}function Os(e,t){e.forEach(n=>Array.isArray(n)?Os(n,t):t(n))}function Vd(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function ja(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function br(e,t,n){let r=Hi(e,t);return r>=0?e[1|r]=n:(r=~r,function Ty(e,t,n,r){let o=e.length;if(o==t)e.push(n,r);else if(1===o)e.push(r,e[0]),e[0]=n;else{for(o--,e.push(e[o-1],e[o]);o>t;)e[o]=e[o-2],o--;e[t]=n,e[t+1]=r}}(e,r,t,n)),r}function ol(e,t){const n=Hi(e,t);if(n>=0)return e[1|n]}function Hi(e,t){return function Hd(e,t,n){let r=0,o=e.length>>n;for(;o!==r;){const i=r+(o-r>>1),s=e[i<t?o=i:r=i+1}return~(o<((go=go||{})[go.Important=1]="Important",go[go.DashCase=2]="DashCase",go))();const ll=new Map;let Qy=0;const dl="__ngContext__";function er(e,t){wn(t)?(e[dl]=t[Lr],function tv(e){ll.set(e[Lr],e)}(t)):e[dl]=t}let fl;function hl(e,t){return fl(e,t)}function Ls(e){const t=e[pt];return Pt(t)?t[pt]:t}function af(e){return lf(e[mr])}function uf(e){return lf(e[_n])}function lf(e){for(;null!==e&&!Pt(e);)e=e[_n];return e}function Ui(e,t,n,r,o){if(null!=r){let i,s=!1;Pt(r)?i=r:wn(r)&&(s=!0,r=r[qt]);const c=qe(r);0===e&&null!==n?null==o?pf(t,n,c):di(t,n,c,o||null,!0):1===e&&null!==n?di(t,n,c,o||null,!0):2===e?function tu(e,t,n){const r=Qa(e,t);r&&function Cv(e,t,n,r){e.removeChild(t,n,r)}(e,r,t,n)}(t,c,s):3===e&&t.destroyNode(c),null!=i&&function wv(e,t,n,r,o){const i=n[En];i!==qe(n)&&Ui(t,e,r,i,o);for(let c=fn;c0&&(e[n-1][_n]=r[_n]);const i=ja(e,fn+t);!function fv(e,t){Vs(e,t,t[Je],2,null,null),t[qt]=null,t[Jt]=null}(r[Ae],r);const s=i[Ln];null!==s&&s.detachView(i[Ae]),r[pt]=null,r[_n]=null,r[et]&=-129}return r}function ff(e,t){if(!(256&t[et])){const n=t[Je];t[ao]?.destroy(),t[vr]?.destroy(),n.destroyNode&&Vs(e,t,n,3,null,null),function gv(e){let t=e[mr];if(!t)return ml(e[Ae],e);for(;t;){let n=null;if(wn(t))n=t[mr];else{const r=t[fn];r&&(n=r)}if(!n){for(;t&&!t[_n]&&t!==e;)wn(t)&&ml(t[Ae],t),t=t[pt];null===t&&(t=e),wn(t)&&ml(t[Ae],t),n=t&&t[_n]}t=n}}(t)}}function ml(e,t){if(!(256&t[et])){t[et]&=-129,t[et]|=256,function Dv(e,t){let n;if(null!=e&&null!=(n=e.destroyHooks))for(let r=0;r=0?r[s]():r[-s].unsubscribe(),i+=2}else n[i].call(r[n[i+1]]);null!==r&&(t[Fr]=null);const o=t[sr];if(null!==o){t[sr]=null;for(let i=0;i-1){const{encapsulation:i}=e.data[r.directiveStart+o];if(i===De.None||i===De.Emulated)return null}return Dt(r,n)}}(e,t.parent,n)}function di(e,t,n,r,o){e.insertBefore(t,n,r,o)}function pf(e,t,n){e.appendChild(t,n)}function gf(e,t,n,r,o){null!==r?di(e,t,n,r,o):pf(e,t,n)}function Qa(e,t){return e.parentNode(t)}let vl,El,ru,vf=function yf(e,t,n){return 40&e.type?Dt(e,n):null};function eu(e,t,n,r){const o=yl(e,r,t),i=t[Je],c=function mf(e,t,n){return vf(e,t,n)}(r.parent||t[Jt],r,t);if(null!=o)if(Array.isArray(n))for(let h=0;he,createScript:e=>e,createScriptURL:e=>e})}catch{}return ru}()?.createScriptURL(e)||e}class Af{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${gn})`}}function qo(e){return e instanceof Af?e.changingThisBreaksApplicationSecurity:e}function Bs(e,t){const n=function Fv(e){return e instanceof Af&&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 ${gn})`)}return n===t}const Hv=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;var bn=(()=>((bn=bn||{})[bn.NONE=0]="NONE",bn[bn.HTML=1]="HTML",bn[bn.STYLE=2]="STYLE",bn[bn.SCRIPT=3]="SCRIPT",bn[bn.URL=4]="URL",bn[bn.RESOURCE_URL=5]="RESOURCE_URL",bn))();function Al(e){const t=Us();return t?t.sanitize(bn.URL,e)||"":Bs(e,"URL")?qo(e):function Ml(e){return(e=String(e)).match(Hv)?e:"unsafe:"+e}(P(e))}function Ff(e){const t=Us();if(t)return If(t.sanitize(bn.RESOURCE_URL,e)||"");if(Bs(e,"ResourceURL"))return If(qo(e));throw new Se(904,!1)}function Lf(e,t,n){return function Xv(e,t){return"src"===t&&("embed"===e||"frame"===e||"iframe"===e||"media"===e||"script"===e)||"href"===t&&("base"===e||"link"===e)?Ff:Al}(t,n)(e)}function Us(){const e=oe();return e&&e[Zn].sanitizer}class Lt{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=St({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}const $s=new Lt("ENVIRONMENT_INITIALIZER"),kf=new Lt("INJECTOR",-1),Vf=new Lt("INJECTOR_DEF_TYPES");class Hf{get(t,n=Sn){if(n===Sn){const r=new Error(`NullInjectorError: No provider for ${me(t)}!`);throw r.name="NullInjectorError",r}return n}}function Tl(e){return{\u0275providers:e}}function Bf(...e){return{\u0275providers:jf(0,e),\u0275fromNgModule:!0}}function jf(e,...t){const n=[],r=new Set;let o;return Os(t,i=>{const s=i;Nl(s,n,[],r)&&(o||=[],o.push(s))}),void 0!==o&&Uf(o,n),n}function Uf(e,t){for(let n=0;n{t.push(i)})}}function Nl(e,t,n,r){if(!(e=ee(e)))return!1;let o=null,i=Pn(e);const s=!i&&_t(e);if(i||s){if(s&&!s.standalone)return!1;o=e}else{const h=e.ngModule;if(i=Pn(h),!i)return!1;o=h}const c=r.has(o);if(s){if(c)return!1;if(r.add(o),s.dependencies){const h="function"==typeof s.dependencies?s.dependencies():s.dependencies;for(const D of h)Nl(D,t,n,r)}}else{if(!i)return!1;{if(null!=i.imports&&!c){let D;r.add(o);try{Os(i.imports,E=>{Nl(E,t,n,r)&&(D||=[],D.push(E))})}finally{}void 0!==D&&Uf(D,t)}if(!c){const D=ur(o)||(()=>new o);t.push({provide:o,useFactory:D,deps:we},{provide:Vf,useValue:o,multi:!0},{provide:$s,useValue:()=>Ze(o),multi:!0})}const h=i.providers;null==h||c||Rl(h,E=>{t.push(E)})}}return o!==e&&void 0!==e.providers}function Rl(e,t){for(let n of e)ht(n)&&(n=n.\u0275providers),Array.isArray(n)?Rl(n,t):t(n)}const Jv=te({provide:String,useValue:te});function Ol(e){return null!==e&&"object"==typeof e&&Jv in e}function fi(e){return"function"==typeof e}const xl=new Lt("Set Injector scope."),iu={},eD={};let Pl;function su(){return void 0===Pl&&(Pl=new Hf),Pl}class hi{}class Fl extends hi{get destroyed(){return this._destroyed}constructor(t,n,r,o){super(),this.parent=n,this.source=r,this.scopes=o,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,kl(t,s=>this.processProvider(s)),this.records.set(kf,Gi(void 0,this)),o.has("environment")&&this.records.set(hi,Gi(void 0,this));const i=this.records.get(xl);null!=i&&"string"==typeof i.value&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(Vf.multi,we,Me.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const n of this._ngOnDestroyHooks)n.ngOnDestroy();const t=this._onDestroyHooks;this._onDestroyHooks=[];for(const n of t)n()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear()}}onDestroy(t){return this.assertNotDestroyed(),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){this.assertNotDestroyed();const n=Ee(this),r=Gt(void 0);try{return t()}finally{Ee(n),Gt(r)}}get(t,n=Sn,r=Me.Default){if(this.assertNotDestroyed(),t.hasOwnProperty(At))return t[At](this);r=on(r);const o=Ee(this),i=Gt(void 0);try{if(!(r&Me.SkipSelf)){let c=this.records.get(t);if(void 0===c){const h=function iD(e){return"function"==typeof e||"object"==typeof e&&e instanceof Lt}(t)&&We(t);c=h&&this.injectableDefInScope(h)?Gi(Ll(t),iu):null,this.records.set(t,c)}if(null!=c)return this.hydrate(t,c)}return(r&Me.Self?su():this.parent).get(t,n=r&Me.Optional&&n===Sn?null:n)}catch(s){if("NullInjectorError"===s.name){if((s[In]=s[In]||[]).unshift(me(t)),o)throw s;return function O(e,t,n,r){const o=e[In];throw t[N]&&o.unshift(t[N]),e.message=function ae(e,t,n,r=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let o=me(t);if(Array.isArray(t))o=t.map(me).join(" -> ");else if("object"==typeof t){let i=[];for(let s in t)if(t.hasOwnProperty(s)){let c=t[s];i.push(s+":"+("string"==typeof c?JSON.stringify(c):me(c)))}o=`{${i.join(", ")}}`}return`${n}${r?"("+r+")":""}[${o}]: ${e.replace(Y,"\n ")}`}("\n"+e.message,o,n,r),e.ngTokenPath=o,e[In]=null,e}(s,t,"R3InjectorError",this.source)}throw s}finally{Gt(i),Ee(o)}}resolveInjectorInitializers(){const t=Ee(this),n=Gt(void 0);try{const r=this.get($s.multi,we,Me.Self);for(const o of r)o()}finally{Ee(t),Gt(n)}}toString(){const t=[],n=this.records;for(const r of n.keys())t.push(me(r));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new Se(205,!1)}processProvider(t){let n=fi(t=ee(t))?t:ee(t&&t.provide);const r=function nD(e){return Ol(e)?Gi(void 0,e.useValue):Gi(zf(e),iu)}(t);if(fi(t)||!0!==t.multi)this.records.get(n);else{let o=this.records.get(n);o||(o=Gi(void 0,iu,!0),o.factory=()=>zn(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n){return n.value===iu&&(n.value=eD,n.value=n.factory()),"object"==typeof n.value&&n.value&&function oD(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=ee(t.providedIn);return"string"==typeof n?"any"===n||this.scopes.has(n):this.injectorDefTypes.has(n)}removeOnDestroy(t){const n=this._onDestroyHooks.indexOf(t);-1!==n&&this._onDestroyHooks.splice(n,1)}}function Ll(e){const t=We(e),n=null!==t?t.factory:ur(e);if(null!==n)return n;if(e instanceof Lt)throw new Se(204,!1);if(e instanceof Function)return function tD(e){const t=e.length;if(t>0)throw function xs(e,t){const n=[];for(let r=0;rn.factory(e):()=>new e}(e);throw new Se(204,!1)}function zf(e,t,n){let r;if(fi(e)){const o=ee(e);return ur(o)||Ll(o)}if(Ol(e))r=()=>ee(e.useValue);else if(function Gf(e){return!(!e||!e.useFactory)}(e))r=()=>e.useFactory(...zn(e.deps||[]));else if(function $f(e){return!(!e||!e.useExisting)}(e))r=()=>Ze(ee(e.useExisting));else{const o=ee(e&&(e.useClass||e.provide));if(!function rD(e){return!!e.deps}(e))return ur(o)||Ll(o);r=()=>new o(...zn(e.deps))}return r}function Gi(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function kl(e,t){for(const n of e)Array.isArray(n)?kl(n,t):n&&ht(n)?kl(n.\u0275providers,t):t(n)}const Wf=new Lt("AppId",{providedIn:"root",factory:()=>sD}),sD="ng",qf=new Lt("Platform Initializer"),Vl=new Lt("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),aD=new Lt("CSP nonce",{providedIn:"root",factory:()=>function Hs(){if(void 0!==El)return El;if(typeof document<"u")return document;throw new Se(210,!1)}().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});let Kf=(e,t)=>null;function Zf(e,t){return Kf(e,t)}class mD{}class Qf{}class vD{resolveComponentFactory(t){throw function yD(e){const t=Error(`No component factory found for ${me(e)}.`);return t.ngComponent=e,t}(t)}}let du=(()=>{class e{}return e.NULL=new vD,e})();function DD(){return zi(Nn(),oe())}function zi(e,t){return new qs(Dt(e,t))}let qs=(()=>{class e{constructor(n){this.nativeElement=n}}return e.__NG_ELEMENT_ID__=DD,e})();function CD(e){return e instanceof qs?e.nativeElement:e}class th{}let _D=(()=>{class e{constructor(){this.destroyNode=null}}return e.__NG_ELEMENT_ID__=()=>function ED(){const e=oe(),n=Zt(Nn().index,e);return(wn(n)?n:e)[Je]}(),e})(),wD=(()=>{class e{}return e.\u0275prov=St({token:e,providedIn:"root",factory:()=>null}),e})();class nh{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const MD=new nh("16.1.6"),Kl={};function Ys(e){for(;e;){e[et]|=64;const t=Ls(e);if(Ho(e)&&!t)return e;e=t}return null}function Zl(e){return e.ngOriginalError}class Wi{constructor(){this._console=console}handleError(t){const n=this._findOriginalError(t);this._console.error("ERROR",t),n&&this._console.error("ORIGINAL ERROR",n)}_findOriginalError(t){let n=t&&Zl(t);for(;n&&Zl(n);)n=Zl(n);return n||null}}const ih=new Lt("",{providedIn:"root",factory:()=>!1});function Oo(e){return e instanceof Function?e():e}class ch extends wi{constructor(){super(...arguments),this.consumerAllowSignalWrites=!1,this._lView=null}set lView(t){this._lView=t}onConsumerDependencyMayHaveChanged(){Ys(this._lView)}onProducerUpdateValueVersion(){}get hasReadASignal(){return this.hasProducers}runInContext(t,n,r){const o=Yt(this);this.trackingVersion++;try{t(n,r)}finally{Yt(o)}}destroy(){this.trackingVersion++}}let hu=null;function dh(){return hu??=new ch,hu}function fh(e,t){return e[t]??dh()}function hh(e,t){const n=dh();n.hasReadASignal&&(e[t]=hu,n.lView=e,hu=new ch)}const at={};function ph(e){gh(Mt(),oe(),Qn()+e,!1)}function gh(e,t,n,r){if(!r)if(3==(3&t[et])){const i=e.preOrderCheckHooks;null!==i&&bt(t,i,n)}else{const i=e.preOrderHooks;null!==i&&jn(t,i,0,n)}Go(n)}function Dh(e,t=null,n=null,r){const o=Ch(e,t,n,r);return o.resolveInjectorInitializers(),o}function Ch(e,t=null,n=null,r,o=new Set){const i=[n||we,Bf(e)];return r=r||("object"==typeof e?void 0:me(e)),new Fl(i,t||su(),r||null,o)}let Yo=(()=>{class e{static create(n,r){if(Array.isArray(n))return Dh({name:""},r,n,"");{const o=n.name??"";return Dh({name:o},n.parent,n.providers,o)}}}return e.THROW_IF_NOT_FOUND=Sn,e.NULL=new Hf,e.\u0275prov=St({token:e,providedIn:"any",factory:()=>Ze(kf)}),e.__NG_ELEMENT_ID__=-1,e})();function Yi(e,t=Me.Default){const n=oe();return null===n?Ze(e,t):Rd(Nn(),n,ee(e),t)}function _h(){throw new Error("invalid")}function pu(e,t,n,r,o,i,s,c,h,D,E){const I=t.blueprint.slice();return I[qt]=o,I[et]=140|r,(null!==D||e&&2048&e[et])&&(I[et]|=2048),Cr(I),I[pt]=I[yr]=e,I[Rt]=n,I[Zn]=s||e&&e[Zn],I[Je]=c||e&&e[Je],I[Mr]=h||e&&e[Mr]||null,I[Jt]=i,I[Lr]=function ev(){return Qy++}(),I[dn]=E,I[zr]=D,I[Bt]=2==t.type?e[Bt]:I,I}function Ki(e,t,n,r,o){let i=e.data[t];if(null===i)i=function Xl(e,t,n,r,o){const i=qu(),s=Oi(),h=e.data[t]=function zD(e,t,n,r,o,i){let s=t?t.injectorIndex:-1,c=0;return function $o(){return null!==tt.skipHydrationRootTNode}()&&(c|=128),{type:n,index:r,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:c,providerIndexes:0,value:o,attrs:i,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,s?i:i&&i.parent,n,t,r,o);return null===e.firstChild&&(e.firstChild=h),null!==i&&(s?null==i.child&&null!==h.parent&&(i.child=h):null===i.next&&(i.next=h,h.prev=i)),h}(e,t,n,r,o),function _d(){return tt.lFrame.inI18n}()&&(i.flags|=32);else if(64&i.type){i.type=n,i.value=r,i.attrs=o;const s=function Ri(){const e=tt.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}();i.injectorIndex=null===s?-1:s.injectorIndex}return Xr(i,!0),i}function Ks(e,t,n,r){if(0===n)return-1;const o=t.length;for(let i=0;iut&&gh(e,t,ut,!1),W(c?2:0,o),c)i.runInContext(n,r,o);else{const D=Yt(null);try{n(r,o)}finally{Yt(D)}}}finally{c&&null===t[ao]&&hh(t,ao),Go(s),W(c?3:1,o)}}function Jl(e,t,n){if(So(t)){const r=Yt(null);try{const i=t.directiveEnd;for(let s=t.directiveStart;snull;function bh(e,t,n,r){for(let o in e)if(e.hasOwnProperty(o)){n=null===n?{}:n;const i=e[o];null===r?Sh(n,t,o,i):r.hasOwnProperty(o)&&Sh(n,t,r[o],i)}return n}function Sh(e,t,n,r){e.hasOwnProperty(n)?e[n].push(t,r):e[n]=[t,r]}function nc(e,t,n,r){if(Ma()){const o=null===r?null:{"":-1},i=function eC(e,t){const n=e.directiveRegistry;let r=null,o=null;if(n)for(let i=0;i0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(s)!=c&&s.push(c),s.push(n,r,i)}}(e,t,r,Ks(e,n,o.hostVars,at),o)}function mo(e,t,n,r,o,i){const s=Dt(e,t);!function oc(e,t,n,r,o,i,s){if(null==i)e.removeAttribute(t,o,n);else{const c=null==s?P(i):s(i,r||"",o);e.setAttribute(t,o,c,n)}}(t[Je],s,i,e.value,n,r,o)}function sC(e,t,n,r,o,i){const s=i[t];if(null!==s)for(let c=0;c{class e{constructor(){this.all=new Set,this.queue=new Map}create(n,r,o){const i=typeof Zone>"u"?null:Zone.current,s=new Ca(n,D=>{this.all.has(D)&&this.queue.set(D,i)},o);let c;this.all.add(s),s.notify();const h=()=>{s.cleanup(),c?.(),this.all.delete(s),this.queue.delete(s)};return c=r?.onDestroy(h),{destroy:h}}flush(){if(0!==this.queue.size)for(const[n,r]of this.queue)this.queue.delete(n),r?r.run(()=>n.run()):n.run()}get isQueueEmpty(){return 0===this.queue.size}}return e.\u0275prov=St({token:e,providedIn:"root",factory:()=>new e}),e})();function mu(e,t,n){let r=n?e.styles:null,o=n?e.classes:null,i=0;if(null!==t)for(let s=0;s0){Vh(e,1);const o=e[Ae].components;null!==o&&Bh(e,o,1)}}function Bh(e,t,n){for(let r=0;r-1&&(gl(t,r),ja(n,r))}this._attachedToViewContainer=!1}ff(this._lView[Ae],this._lView)}onDestroy(t){!function Ds(e,t){if(256==(256&e[et]))throw new Se(911,!1);null===e[sr]&&(e[sr]=[]),e[sr].push(t)}(this._lView,t)}markForCheck(){Ys(this._cdRefInjectingView||this._lView)}detach(){this._lView[et]&=-129}reattach(){this._lView[et]|=128}detectChanges(){yu(this._lView[Ae],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new Se(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function pv(e,t){Vs(e,t,t[Je],2,null,null)}(this._lView[Ae],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new Se(902,!1);this._appRef=t}}class yC extends Xs{constructor(t){super(t),this._view=t}detectChanges(){const t=this._view;yu(t[Ae],t,t[Rt],!1)}checkNoChanges(){}get context(){return null}}class jh extends du{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const n=_t(t);return new Js(n,this.ngModule)}}function Uh(e){const t=[];for(let n in e)e.hasOwnProperty(n)&&t.push({propName:e[n],templateName:n});return t}class DC{constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){r=on(r);const o=this.injector.get(t,Kl,r);return o!==Kl||n===Kl?o:this.parentInjector.get(t,n,r)}}class Js extends Qf{get inputs(){const t=this.componentDef,n=t.inputTransforms,r=Uh(t.inputs);if(null!==n)for(const o of r)n.hasOwnProperty(o.propName)&&(o.transform=n[o.propName]);return r}get outputs(){return Uh(this.componentDef.outputs)}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=function Fn(e){return e.map(Eo).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!n}create(t,n,r,o){let i=(o=o||this.ngModule)instanceof hi?o:o?.injector;i&&null!==this.componentDef.getStandaloneInjector&&(i=this.componentDef.getStandaloneInjector(i)||i);const s=i?new DC(t,i):t,c=s.get(th,null);if(null===c)throw new Se(407,!1);const E={rendererFactory:c,sanitizer:s.get(wD,null),effectManager:s.get(Lh,null)},I=c.createRenderer(null,this.componentDef),x=this.componentDef.selectors[0][0]||"div",k=r?function BD(e,t,n,r){const i=r.get(ih,!1)||n===De.ShadowDom,s=e.selectRootElement(t,i);return function jD(e){Mh(e)}(s),s}(I,r,this.componentDef.encapsulation,s):Ja(I,x,function vC(e){const t=e.toLowerCase();return"svg"===t?"svg":"math"===t?"math":null}(x)),Te=this.componentDef.signals?4608:this.componentDef.onPush?576:528,je=tc(0,null,null,1,0,null,null,null,null,null,null),J=pu(null,je,null,Te,null,null,E,I,s,null,null);let ot,Et;Ss(J);try{const It=this.componentDef;let nr,Bu=null;It.findHostDirectiveDefs?(nr=[],Bu=new Map,It.findHostDirectiveDefs(It,nr,Bu),nr.push(It)):nr=[It];const _M=function _C(e,t){const n=e[Ae],r=ut;return e[r]=t,Ki(n,r,2,"#host",null)}(J,k),EM=function EC(e,t,n,r,o,i,s){const c=o[Ae];!function wC(e,t,n,r){for(const o of e)t.mergedAttrs=An(t.mergedAttrs,o.hostAttrs);null!==t.mergedAttrs&&(mu(t,t.mergedAttrs,!0),null!==n&&Mf(r,n,t))}(r,e,t,s);let h=null;null!==t&&(h=Zf(t,o[Mr]));const D=i.rendererFactory.createRenderer(t,n);let E=16;n.signals?E=4096:n.onPush&&(E=64);const I=pu(o,wh(n),null,E,o[e.index],e,i,D,null,null,h);return c.firstCreatePass&&rc(c,e,r.length-1),gu(o,I),o[e.index]=I}(_M,k,It,nr,J,E,I);Et=Kt(je,ut),k&&function bC(e,t,n,r){if(r)Dn(e,n,["ng-version",MD.full]);else{const{attrs:o,classes:i}=function vi(e){const t=[],n=[];let r=1,o=2;for(;r0&&wf(e,n,i.join(" "))}}(I,It,k,r),void 0!==n&&function SC(e,t,n){const r=e.projection=[];for(let o=0;o=0;r--){const o=e[r];o.hostVars=t+=o.hostVars,o.hostAttrs=An(o.hostAttrs,n=An(n,o.hostAttrs))}}(r)}function vu(e){return e===lt?{}:e===we?[]:e}function TC(e,t){const n=e.viewQuery;e.viewQuery=n?(r,o)=>{t(r,o),n(r,o)}:t}function NC(e,t){const n=e.contentQueries;e.contentQueries=n?(r,o,i)=>{t(r,o,i),n(r,o,i)}:t}function RC(e,t){const n=e.hostBindings;e.hostBindings=n?(r,o)=>{t(r,o),n(r,o)}:t}function qh(e){const t=e.inputConfig,n={};for(const r in t)if(t.hasOwnProperty(r)){const o=t[r];Array.isArray(o)&&o[2]&&(n[r]=o[2])}e.inputTransforms=n}function Du(e){return!!lc(e)&&(Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e)}function lc(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function tr(e,t,n){return!Object.is(e[t],n)&&(e[t]=n,!0)}function cc(e,t,n,r){const o=oe();return tr(o,ui(),t)&&(Mt(),mo(u(),o,e,t,n,r)),cc}function Ji(e,t,n,r,o,i){const c=function pi(e,t,n,r){const o=tr(e,t,n);return tr(e,t+1,r)||o}(e,function kr(){return tt.lFrame.bindingIndex}(),n,o);return ho(2),c?t+P(n)+r+P(o)+i:at}function sp(e,t,n,r,o,i,s,c){const h=oe(),D=Mt(),E=e+ut,I=D.firstCreatePass?function n_(e,t,n,r,o,i,s,c,h){const D=t.consts,E=Ki(t,e,4,s||null,Bn(D,c));nc(t,n,E,Bn(D,h)),Be(t,E);const I=E.tView=tc(2,E,r,o,i,t.directiveRegistry,t.pipeRegistry,null,t.schemas,D,null);return null!==t.queries&&(t.queries.template(t,E),I.queries=t.queries.embeddedTView(E)),E}(E,D,h,t,n,r,o,i,s):D.data[E];Xr(I,!1);const x=ap(D,h,I,e);L()&&eu(D,h,x,I),er(x,h),gu(h,h[E]=Nh(x,h,x,I)),oi(I)&&Ql(D,h,I),null!=s&&ec(h,I,c)}let ap=function up(e,t,n,r){return q(!0),t[Je].createComment("")};function mc(e,t,n){const r=oe();return tr(r,ui(),t)&&function Sr(e,t,n,r,o,i,s,c){const h=Dt(t,n);let E,D=t.inputs;!c&&null!=D&&(E=D[r])?(sc(e,n,E,r,o),kn(t)&&function YD(e,t){const n=Zt(t,e);16&n[et]||(n[et]|=64)}(n,t.index)):3&t.type&&(r=function qD(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(r),o=null!=s?s(o,t.value||"",r):o,i.setProperty(h,r,o))}(Mt(),u(),r,e,t,r[Je],n,!1),mc}function yc(e,t,n,r,o){const s=o?"class":"style";sc(e,n,t.inputs[s],s,r)}function Mu(e,t,n,r){const o=oe(),i=Mt(),s=ut+e,c=o[Je],h=i.firstCreatePass?function a_(e,t,n,r,o,i){const s=t.consts,h=Ki(t,e,2,r,Bn(s,o));return nc(t,n,h,Bn(s,i)),null!==h.attrs&&mu(h,h.attrs,!1),null!==h.mergedAttrs&&mu(h,h.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,h),h}(s,i,o,t,n,r):i.data[s],D=lp(i,o,h,c,t,e);o[s]=D;const E=oi(h);return Xr(h,!0),Mf(c,D,h),32!=(32&h.flags)&&L()&&eu(i,o,D,h),0===function cr(){return tt.lFrame.elementDepthCount}()&&er(D,o),function zu(){tt.lFrame.elementDepthCount++}(),E&&(Ql(i,o,h),Jl(i,h,o)),null!==r&&ec(o,h),Mu}function bu(){let e=Nn();Oi()?function xi(){tt.lFrame.isParent=!1}():(e=e.parent,Xr(e,!1));const t=e;(function ba(e){return tt.skipHydrationRootTNode===e})(t)&&function _s(){tt.skipHydrationRootTNode=null}(),function Cs(){tt.lFrame.elementDepthCount--}();const n=Mt();return n.firstCreatePass&&(Be(n,e),So(e)&&n.queries.elementEnd(e)),null!=t.classesWithoutHost&&function gy(e){return 0!=(8&e.flags)}(t)&&yc(n,t,oe(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function my(e){return 0!=(16&e.flags)}(t)&&yc(n,t,oe(),t.stylesWithoutHost,!1),bu}function vc(e,t,n,r){return Mu(e,t,n,r),bu(),vc}let lp=(e,t,n,r,o,i)=>(q(!0),Ja(r,o,function M(){return tt.lFrame.currentNamespace}()));function _c(e){return!!e&&"function"==typeof e.then}function fp(e){return!!e&&"function"==typeof e.subscribe}function Ec(e,t,n,r){const o=oe(),i=Mt(),s=Nn();return function pp(e,t,n,r,o,i,s){const c=oi(r),D=e.firstCreatePass&&xh(e),E=t[Rt],I=Oh(t);let x=!0;if(3&r.type||s){const ue=Dt(r,t),Te=s?s(ue):ue,je=I.length,J=s?Et=>s(qe(Et[r.index])):r.index;let ot=null;if(!s&&c&&(ot=function p_(e,t,n,r){const o=e.cleanup;if(null!=o)for(let i=0;ih?c[h]:null}"string"==typeof s&&(i+=2)}return null}(e,t,o,r.index)),null!==ot)(ot.__ngLastListenerFn__||ot).__ngNextListenerFn__=i,ot.__ngLastListenerFn__=i,x=!1;else{i=mp(r,t,E,i,!1);const Et=n.listen(Te,o,i);I.push(i,Et),D&&D.push(o,J,je,je+1)}}else i=mp(r,t,E,i,!1);const k=r.outputs;let X;if(x&&null!==k&&(X=k[o])){const ue=X.length;if(ue)for(let Te=0;Te-1?Zt(e.index,t):t);let h=gp(t,n,r,s),D=i.__ngNextListenerFn__;for(;D;)h=gp(t,n,D,s)&&h,D=D.__ngNextListenerFn__;return o&&!1===h&&s.preventDefault(),h}}function yp(e=1){return function wd(e){return(tt.lFrame.contextLView=function Md(e,t){for(;e>0;)t=t[yr],e--;return t}(e,tt.lFrame.contextLView))[Rt]}(e)}function Su(e,t){return e<<17|t<<2}function Ko(e){return e>>17&32767}function Mc(e){return 2|e}function gi(e){return(131068&e)>>2}function bc(e,t){return-131069&e|t<<2}function Sc(e){return 1|e}function Ip(e,t,n,r,o){const i=e[n+1],s=null===t;let c=r?Ko(i):gi(i),h=!1;for(;0!==c&&(!1===h||s);){const E=e[c+1];w_(e[c],t)&&(h=!0,e[c+1]=r?Sc(E):Mc(E)),c=r?Ko(E):gi(E)}h&&(e[n+1]=r?Mc(i):Sc(i))}function w_(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&Hi(e,t)>=0}function Ic(e,t){return function Qr(e,t,n,r){const o=oe(),i=Mt(),s=ho(2);i.firstUpdatePass&&function Lp(e,t,n,r){const o=e.data;if(null===o[n+1]){const i=o[Qn()],s=function Fp(e,t){return t>=e.expandoStartIndex}(e,n);(function Bp(e,t){return 0!=(e.flags&(t?8:16))})(i,r)&&null===t&&!s&&(t=!1),t=function O_(e,t,n,r){const o=function Ms(e){const t=tt.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}(e);let i=r?t.residualClasses:t.residualStyles;if(null===o)0===(r?t.classBindings:t.styleBindings)&&(n=ra(n=Ac(null,e,t,n,r),t.attrs,r),i=null);else{const s=t.directiveStylingLast;if(-1===s||e[s]!==o)if(n=Ac(o,e,t,n,r),null===i){let h=function x_(e,t,n){const r=n?t.classBindings:t.styleBindings;if(0!==gi(r))return e[Ko(r)]}(e,t,r);void 0!==h&&Array.isArray(h)&&(h=Ac(null,e,t,h[1],r),h=ra(h,t.attrs,r),function P_(e,t,n,r){e[Ko(n?t.classBindings:t.styleBindings)]=r}(e,t,r,h))}else i=function F_(e,t,n){let r;const o=t.directiveEnd;for(let i=1+t.directiveStylingLast;i0)&&(D=!0)):E=n,o)if(0!==h){const x=Ko(e[c+1]);e[r+1]=Su(x,c),0!==x&&(e[x+1]=bc(e[x+1],r)),e[c+1]=function D_(e,t){return 131071&e|t<<17}(e[c+1],r)}else e[r+1]=Su(c,0),0!==c&&(e[c+1]=bc(e[c+1],r)),c=r;else e[r+1]=Su(h,0),0===c?c=r:e[h+1]=bc(e[h+1],r),h=r;D&&(e[r+1]=Mc(e[r+1])),Ip(e,E,r,!0),Ip(e,E,r,!1),function E_(e,t,n,r,o){const i=o?e.residualClasses:e.residualStyles;null!=i&&"string"==typeof t&&Hi(i,t)>=0&&(n[r+1]=Sc(n[r+1]))}(t,E,e,r,i),s=Su(c,h),i?t.classBindings=s:t.styleBindings=s}(o,i,t,n,s,r)}}(i,e,s,r),t!==at&&tr(o,s,t)&&function Vp(e,t,n,r,o,i,s,c){if(!(3&t.type))return;const h=e.data,D=h[c+1],E=function C_(e){return 1==(1&e)}(D)?Hp(h,t,n,o,gi(D),s):void 0;Iu(E)||(Iu(i)||function v_(e){return 2==(2&e)}(D)&&(i=Hp(h,null,n,o,c,s)),function Mv(e,t,n,r,o){if(t)o?e.addClass(n,r):e.removeClass(n,r);else{let i=-1===r.indexOf("-")?void 0:go.DashCase;null==o?e.removeStyle(n,r,i):("string"==typeof o&&o.endsWith("!important")&&(o=o.slice(0,-10),i|=go.Important),e.setStyle(n,r,o,i))}}(r,s,rt(Qn(),n),o,i))}(i,i.data[Qn()],o,o[Je],e,o[s+1]=function H_(e,t){return null==e||""===e||("string"==typeof t?e+=t:"object"==typeof e&&(e=me(qo(e)))),e}(t,n),r,s)}(e,t,null,!0),Ic}function Ac(e,t,n,r,o){let i=null;const s=n.directiveEnd;let c=n.directiveStylingLast;for(-1===c?c=n.directiveStart:c++;c0;){const h=e[o],D=Array.isArray(h),E=D?h[1]:h,I=null===E;let x=n[o+1];x===at&&(x=I?we:void 0);let k=I?ol(x,r):E===r?x:void 0;if(D&&!Iu(k)&&(k=ol(h,r)),Iu(k)&&(c=k,s))return c;const X=e[o+1];o=s?Ko(X):gi(X)}if(null!==t){let h=i?t.residualClasses:t.residualStyles;null!=h&&(c=ol(h,r))}return c}function Iu(e){return void 0!==e}function jp(e,t=""){const n=oe(),r=Mt(),o=e+ut,i=r.firstCreatePass?Ki(r,o,1,t,null):r.data[o],s=Up(r,n,i,t,e);n[o]=s,L()&&eu(r,n,s,i),Xr(i,!1)}let Up=(e,t,n,r,o)=>(q(!0),function Xa(e,t){return e.createText(t)}(t[Je],r));function Tc(e){return Nc("",e,""),Tc}function Nc(e,t,n){const r=oe(),o=function Xi(e,t,n,r){return tr(e,ui(),n)?t+P(n)+r:at}(r,e,t,n);return o!==at&&xo(r,Qn(),o),Nc}function Rc(e,t,n,r,o){const i=oe(),s=Ji(i,e,t,n,r,o);return s!==at&&xo(i,Qn(),s),Rc}const mi=void 0;var aE=["en",[["a","p"],["AM","PM"],mi],[["AM","PM"],mi,mi],[["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"]],mi,[["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"]],mi,[["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}",mi,"{1} 'at' {0}",mi],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function sE(e){const n=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length;return 1===n&&0===r?1:5}];let ss={};function Oc(e){const t=function uE(e){return e.toLowerCase().replace(/_/g,"-")}(e);let n=ug(t);if(n)return n;const r=t.split("-")[0];if(n=ug(r),n)return n;if("en"===r)return aE;throw new Se(701,!1)}function ag(e){return Oc(e)[Qe.PluralCase]}function ug(e){return e in ss||(ss[e]=vt.ng&&vt.ng.common&&vt.ng.common.locales&&vt.ng.common.locales[e]),ss[e]}var Qe=(()=>((Qe=Qe||{})[Qe.LocaleId=0]="LocaleId",Qe[Qe.DayPeriodsFormat=1]="DayPeriodsFormat",Qe[Qe.DayPeriodsStandalone=2]="DayPeriodsStandalone",Qe[Qe.DaysFormat=3]="DaysFormat",Qe[Qe.DaysStandalone=4]="DaysStandalone",Qe[Qe.MonthsFormat=5]="MonthsFormat",Qe[Qe.MonthsStandalone=6]="MonthsStandalone",Qe[Qe.Eras=7]="Eras",Qe[Qe.FirstDayOfWeek=8]="FirstDayOfWeek",Qe[Qe.WeekendRange=9]="WeekendRange",Qe[Qe.DateFormat=10]="DateFormat",Qe[Qe.TimeFormat=11]="TimeFormat",Qe[Qe.DateTimeFormat=12]="DateTimeFormat",Qe[Qe.NumberSymbols=13]="NumberSymbols",Qe[Qe.NumberFormats=14]="NumberFormats",Qe[Qe.CurrencyCode=15]="CurrencyCode",Qe[Qe.CurrencySymbol=16]="CurrencySymbol",Qe[Qe.CurrencyName=17]="CurrencyName",Qe[Qe.Currencies=18]="Currencies",Qe[Qe.Directionality=19]="Directionality",Qe[Qe.PluralCase=20]="PluralCase",Qe[Qe.ExtraData=21]="ExtraData",Qe))();const as="en-US";let lg=as;function Fc(e,t,n,r,o){if(e=ee(e),Array.isArray(e))for(let i=0;i>20;if(fi(e)||!e.multi){const k=new Ts(h,o,Yi),X=kc(c,t,o?E:E+x,I);-1===X?(el(Ha(D,s),i,c),Lc(i,e,t.length),t.push(c),D.directiveStart++,D.directiveEnd++,o&&(D.providerIndexes+=1048576),n.push(k),s.push(k)):(n[X]=k,s[X]=k)}else{const k=kc(c,t,E+x,I),X=kc(c,t,E,E+x),Te=X>=0&&n[X];if(o&&!Te||!o&&!(k>=0&&n[k])){el(Ha(D,s),i,c);const je=function iw(e,t,n,r,o){const i=new Ts(e,n,Yi);return i.multi=[],i.index=t,i.componentProviders=0,Pg(i,o,r&&!n),i}(o?ow:rw,n.length,o,r,h);!o&&Te&&(n[X].providerFactory=je),Lc(i,e,t.length,0),t.push(c),D.directiveStart++,D.directiveEnd++,o&&(D.providerIndexes+=1048576),n.push(je),s.push(je)}else Lc(i,e,k>-1?k:X,Pg(n[o?X:k],h,!o&&r));!o&&r&&Te&&n[X].componentProviders++}}}function Lc(e,t,n,r){const o=fi(t),i=function Qv(e){return!!e.useClass}(t);if(o||i){const h=(i?ee(t.useClass):t).prototype.ngOnDestroy;if(h){const D=e.destroyHooks||(e.destroyHooks=[]);if(!o&&t.multi){const E=D.indexOf(n);-1===E?D.push(n,[r,h]):D[E+1].push(r,h)}else D.push(n,h)}}}function Pg(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function kc(e,t,n,r){for(let o=n;o{n.providersResolver=(r,o)=>function nw(e,t,n){const r=Mt();if(r.firstCreatePass){const o=ar(e);Fc(n,r.data,r.blueprint,o,!0),Fc(t,r.data,r.blueprint,o,!1)}}(r,o?o(e):e,t)}}class us{}class Lg{}function sw(e,t){return new Hc(e,t??null,[])}class Hc extends us{constructor(t,n,r){super(),this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new jh(this);const o=tn(t);this._bootstrapComponents=Oo(o.bootstrap),this._r3Injector=Ch(t,n,[{provide:us,useValue:this},{provide:du,useValue:this.componentFactoryResolver},...r],me(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 Bc extends Lg{constructor(t){super(),this.moduleType=t}create(t){return new Hc(this.moduleType,t,[])}}class kg extends us{constructor(t){super(),this.componentFactoryResolver=new jh(this),this.instance=null;const n=new Fl([...t.providers,{provide:us,useValue:this},{provide:du,useValue:this.componentFactoryResolver}],t.parent||su(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}}function Vg(e,t,n=null){return new kg({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}let uw=(()=>{class e{constructor(n){this._injector=n,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){const r=jf(0,n.type),o=r.length>0?Vg([r],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n,o)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(const n of this.cachedInjectors.values())null!==n&&n.destroy()}finally{this.cachedInjectors.clear()}}}return e.\u0275prov=St({token:e,providedIn:"environment",factory:()=>new e(Ze(hi))}),e})();function Hg(e){e.getStandaloneInjector=t=>t.get(uw).getOrCreateStandaloneInjector(e)}function Uc(e){return t=>{setTimeout(e,void 0,t)}}const Co=class Pw extends l.x{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,n,r){let o=t,i=n||(()=>null),s=r;if(t&&"object"==typeof t){const h=t;o=h.next?.bind(h),i=h.error?.bind(h),s=h.complete?.bind(h)}this.__isAsync&&(i=Uc(i),o&&(o=Uc(o)),s&&(s=Uc(s)));const c=super.subscribe({next:o,error:i,complete:s});return t instanceof $.w0&&t.add(c),c}};function Fw(){return this._results[Symbol.iterator]()}class $c{get changes(){return this._changes||(this._changes=new Co)}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=$c.prototype;n[Symbol.iterator]||(n[Symbol.iterator]=Fw)}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 o=function Vr(e){return e.flat(Number.POSITIVE_INFINITY)}(t);(this._changesDetected=!function Iy(e,t,n){if(e.length!==t.length)return!1;for(let r=0;r{class e{}return e.__NG_ELEMENT_ID__=Vw,e})();const Lw=da,kw=class extends Lw{constructor(t,n,r){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=r}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(t,n){return this.createEmbeddedViewImpl(t,n,null)}createEmbeddedViewImpl(t,n,r){const s=this._declarationTContainer.tView,c=pu(this._declarationLView,s,t,4096&this._declarationLView[et]?4096:16,null,s.declTNode,null,null,null,n||null,r||null);c[so]=this._declarationLView[this._declarationTContainer.index];const D=this._declarationLView[Ln];return null!==D&&(c[Ln]=D.createEmbeddedView(s)),ac(s,c,t),new Xs(c)}};function Vw(){return Ou(Nn(),oe())}function Ou(e,t){return 4&e.type?new kw(t,e,zi(e,t)):null}let xu=(()=>{class e{}return e.__NG_ELEMENT_ID__=zw,e})();function zw(){return nm(Nn(),oe())}const Ww=xu,em=class extends Ww{constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return zi(this._hostTNode,this._hostLView)}get injector(){return new Pi(this._hostTNode,this._hostLView)}get parentInjector(){const t=Qu(this._hostTNode,this._hostLView);if(bd(t)){const n=ka(t,this._hostLView),r=La(t);return new Pi(n[Ae].data[r+8],n)}return new Pi(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=tm(this._lContainer);return null!==n&&n[t]||null}get length(){return this._lContainer.length-fn}createEmbeddedView(t,n,r){let o,i;"number"==typeof r?o=r:null!=r&&(o=r.index,i=r.injector);const c=t.createEmbeddedViewImpl(n||{},i,null);return this.insertImpl(c,o,false),c}createComponent(t,n,r,o,i){const s=t&&!function Rs(e){return"function"==typeof e}(t);let c;if(s)c=n;else{const ue=n||{};c=ue.index,r=ue.injector,o=ue.projectableNodes,i=ue.environmentInjector||ue.ngModuleRef}const h=s?t:new Js(_t(t)),D=r||this.parentInjector;if(!i&&null==h.ngModule){const Te=(s?D:this.parentInjector).get(hi,null);Te&&(i=Te)}_t(h.componentType??{});const k=h.create(D,o,null,i);return this.insertImpl(k.hostView,c,false),k}insert(t,n){return this.insertImpl(t,n,!1)}insertImpl(t,n,r){const o=t._lView,i=o[Ae];if(function Kr(e){return Pt(e[pt])}(o)){const h=this.indexOf(t);if(-1!==h)this.detach(h);else{const D=o[pt],E=new em(D,D[Jt],D[pt]);E.detach(E.indexOf(t))}}const s=this._adjustIndex(n),c=this._lContainer;if(function mv(e,t,n,r){const o=fn+r,i=n.length;r>0&&(n[o-1][_n]=t),r0)r.push(s[c/2]);else{const D=i[c+1],E=t[-h];for(let I=fn;I{class e{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r}),this.appInits=nt(Tm,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const n=[];for(const o of this.appInits){const i=o();if(_c(i))n.push(i);else if(fp(i)){const s=new Promise((c,h)=>{i.subscribe({complete:c,error:h})});n.push(s)}}const r=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{r()}).catch(o=>{this.reject(o)}),0===n.length&&r(),this.initialized=!0}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=St({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),Nm=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=St({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})();const Fu=new Lt("LocaleId",{providedIn:"root",factory:()=>nt(Fu,Me.Optional|Me.SkipSelf)||function b0(){return typeof $localize<"u"&&$localize.locale||as}()}),S0=new Lt("DefaultCurrencyCode",{providedIn:"root",factory:()=>"USD"});let Rm=(()=>{class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new se.X(!1)}add(){this.hasPendingTasks.next(!0);const n=this.taskId++;return this.pendingTasks.add(n),n}remove(n){this.pendingTasks.delete(n),0===this.pendingTasks.size&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks.next(!1)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=St({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();class I0{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}}let A0=(()=>{class e{compileModuleSync(n){return new Bc(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){const r=this.compileModuleSync(n),i=Oo(tn(n).declarations).reduce((s,c)=>{const h=_t(c);return h&&s.push(new Js(h)),s},[]);return new I0(r,i)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=St({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function Pm(...e){}class fr{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Co(!1),this.onMicrotaskEmpty=new Co(!1),this.onStable=new Co(!1),this.onError=new Co(!1),typeof Zone>"u")throw new Se(908,!1);Zone.assertZonePatched();const o=this;o._nesting=0,o._outer=o._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(o._inner=o._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(o._inner=o._inner.fork(Zone.longStackTraceZoneSpec)),o.shouldCoalesceEventChangeDetection=!r&&n,o.shouldCoalesceRunChangeDetection=r,o.lastRequestAnimationFrameId=-1,o.nativeRequestAnimationFrame=function R0(){const e="function"==typeof vt.requestAnimationFrame;let t=vt[e?"requestAnimationFrame":"setTimeout"],n=vt[e?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&t&&n){const r=t[Zone.__symbol__("OriginalDelegate")];r&&(t=r);const o=n[Zone.__symbol__("OriginalDelegate")];o&&(n=o)}return{nativeRequestAnimationFrame:t,nativeCancelAnimationFrame:n}}().nativeRequestAnimationFrame,function P0(e){const t=()=>{!function x0(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(vt,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,od(e),e.isCheckStableRunning=!0,rd(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),od(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,o,i,s,c)=>{try{return Fm(e),n.invokeTask(o,i,s,c)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===i.type||e.shouldCoalesceRunChangeDetection)&&t(),Lm(e)}},onInvoke:(n,r,o,i,s,c,h)=>{try{return Fm(e),n.invoke(o,i,s,c,h)}finally{e.shouldCoalesceRunChangeDetection&&t(),Lm(e)}},onHasTask:(n,r,o,i)=>{n.hasTask(o,i),r===o&&("microTask"==i.change?(e._hasPendingMicrotasks=i.microTask,od(e),rd(e)):"macroTask"==i.change&&(e.hasPendingMacrotasks=i.macroTask))},onHandleError:(n,r,o,i)=>(n.handleError(o,i),e.runOutsideAngular(()=>e.onError.emit(i)),!1)})}(o)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!fr.isInAngularZone())throw new Se(909,!1)}static assertNotInAngularZone(){if(fr.isInAngularZone())throw new Se(909,!1)}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,o){const i=this._inner,s=i.scheduleEventTask("NgZoneEvent: "+o,t,O0,Pm,Pm);try{return i.runTask(s,n,r)}finally{i.cancelTask(s)}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}}const O0={};function rd(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 od(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function Fm(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Lm(e){e._nesting--,rd(e)}const km=new Lt("",{providedIn:"root",factory:Vm});function Vm(){const e=nt(fr);let t=!0;return function ge(...e){const t=(0,Ge.yG)(e),n=(0,Ge._6)(e,1/0),r=e;return r.length?1===r.length?(0,Z.Xf)(r[0]):(0,z.J)(n)((0,Ne.D)(r,t)):le.E}(new Q.y(o=>{t=e.isStable&&!e.hasPendingMacrotasks&&!e.hasPendingMicrotasks,e.runOutsideAngular(()=>{o.next(t),o.complete()})}),new Q.y(o=>{let i;e.runOutsideAngular(()=>{i=e.onStable.subscribe(()=>{fr.assertNotInAngularZone(),queueMicrotask(()=>{!t&&!e.hasPendingMacrotasks&&!e.hasPendingMicrotasks&&(t=!0,o.next(!0))})})});const s=e.onUnstable.subscribe(()=>{fr.assertInAngularZone(),t&&(t=!1,e.runOutsideAngular(()=>{o.next(!1)}))});return()=>{i.unsubscribe(),s.unsubscribe()}}).pipe(Re()))}const Hm=new Lt(""),Bm=new Lt("");let id,L0=(()=>{class e{constructor(n,r,o){this._ngZone=n,this.registry=r,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,id||(function k0(e){id=e}(o),o.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:()=>{fr.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;0!==this._callbacks.length;){let 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,o){let i=-1;r&&r>0&&(i=setTimeout(()=>{this._callbacks=this._callbacks.filter(s=>s.timeoutId!==i),n(this._didWork,this.getPendingTasks())},r)),this._callbacks.push({doneCb:n,timeoutId:i,updateCb:o})}whenStable(n,r,o){if(o&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(n,r,o),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(n){this.registry.registerApplication(n,this)}unregisterApplication(n){this.registry.unregisterApplication(n)}findProviders(n,r,o){return[]}}return e.\u0275fac=function(n){return new(n||e)(Ze(fr),Ze(jm),Ze(Bm))},e.\u0275prov=St({token:e,factory:e.\u0275fac}),e})(),jm=(()=>{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 id?.findTestabilityInTree(this,n,r)??null}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=St({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})(),Zo=null;const sd=new Lt("PlatformDestroyListeners"),ad=new Lt("appBootstrapListener");class B0{constructor(t,n){this.name=t,this.token=n}}function $0(e){try{const{rootComponent:t,appProviders:n,platformProviders:r}=e,o=function U0(e=[]){if(Zo)return Zo;const t=function zm(e=[],t){return Yo.create({name:t,providers:[{provide:xl,useValue:"platform"},{provide:sd,useValue:new Set([()=>Zo=null])},...e]})}(e);return Zo=t,function $m(){!function ys(e){Ii=e}(()=>{throw new Se(600,!1)})}(),function Gm(e){e.get(qf,null)?.forEach(n=>n())}(t),t}(r),i=[Y0(),...n||[]],c=new kg({providers:i,parent:o,debugName:"",runEnvironmentInitializers:!1}).injector,h=c.get(fr);return h.run(()=>{c.resolveInjectorInitializers();const D=c.get(Wi,null);let E;h.runOutsideAngular(()=>{E=h.onError.subscribe({next:k=>{D.handleError(k)}})});const I=()=>c.destroy(),x=o.get(sd);return x.add(I),c.onDestroy(()=>{E.unsubscribe(),x.delete(I)}),function Ym(e,t,n){try{const r=n();return _c(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e.handleError(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}(D,h,()=>{const k=c.get(nd);return k.runInitializers(),k.donePromise.then(()=>{!function cg(e){ln(e,"Expected localeId to be defined"),"string"==typeof e&&(lg=e.toLowerCase().replace(/_/g,"-"))}(c.get(Fu,as)||as);const ue=c.get(ds);return void 0!==t&&ue.bootstrap(t),ue})})})}catch(t){return Promise.reject(t)}}let ds=(()=>{class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=nt(Xm),this.zoneIsStable=nt(km),this.componentTypes=[],this.components=[],this.isStable=nt(Rm).hasPendingTasks.pipe((0,ft.w)(n=>n?(0,K.of)(!1):this.zoneIsStable),function Le(e,t=be.y){return e=e??st,(0,Pe.e)((n,r)=>{let o,i=!0;n.subscribe((0,Ke.x)(r,s=>{const c=t(s);(i||!e(o,c))&&(i=!1,o=c,r.next(s))}))})}(),Re()),this._injector=nt(hi)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(n,r){const o=n instanceof Qf;if(!this._injector.get(nd).done)throw!o&&xr(n),new Se(405,!1);let s;s=o?n:this._injector.get(du).resolveComponentFactory(n),this.componentTypes.push(s.componentType);const c=function H0(e){return e.isBoundToModule}(s)?void 0:this._injector.get(us),D=s.create(Yo.NULL,[],r||s.selector,c),E=D.location.nativeElement,I=D.injector.get(Hm,null);return I?.registerApplication(E),D.onDestroy(()=>{this.detachView(D.hostView),Lu(this.components,D),I?.unregisterApplication(E)}),this._loadComponent(D),D}tick(){if(this._runningTick)throw new Se(101,!1);try{this._runningTick=!0;for(let n of this._views)n.detectChanges()}catch(n){this.internalErrorHandler(n)}finally{this._runningTick=!1}}attachView(n){const r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){const r=n;Lu(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n);const r=this._injector.get(ad,[]);r.push(...this._bootstrapListeners),r.forEach(o=>o(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>Lu(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new Se(406,!1);const n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=St({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function Lu(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}const Xm=new Lt("",{providedIn:"root",factory:()=>nt(Wi).handleError.bind(void 0)});function W0(){const e=nt(fr),t=nt(Wi);return n=>e.runOutsideAngular(()=>t.handleError(n))}let q0=(()=>{class e{constructor(){this.zone=nt(fr),this.applicationRef=nt(ds)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=St({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function Jm(e){return[{provide:fr,useFactory:e},{provide:$s,multi:!0,useFactory:()=>{const t=nt(q0,{optional:!0});return()=>t.initialize()}},{provide:Xm,useFactory:W0},{provide:km,useFactory:Vm}]}function Y0(e){return Tl([[],Jm(()=>new fr(function qm(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}(e)))])}let K0=(()=>{class e{}return e.__NG_ELEMENT_ID__=Z0,e})();function Z0(e){return function X0(e,t,n){if(kn(e)&&!n){const r=Zt(e.index,t);return new Xs(r,r)}return 47&e.type?new Xs(t[Bt],t):null}(Nn(),oe(),16==(16&e))}class ny{constructor(){}supports(t){return Du(t)}create(t){return new rM(t)}}const nM=(e,t)=>t;class rM{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||nM}forEachItem(t){let n;for(n=this._itHead;null!==n;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,r=this._removalsHead,o=0,i=null;for(;n||r;){const s=!r||n&&n.currentIndex{s=this._trackByFn(o,c),null!==n&&Object.is(n.trackById,s)?(r&&(n=this._verifyReinsertion(n,c,s,o)),Object.is(n.item,c)||this._addIdentityChange(n,c)):(n=this._mismatch(n,c,s,o),r=!0),n=n._next,o++}),this.length=o;return this._truncate(n),this.collection=t,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;null!==t;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;null!==t;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,n,r,o){let i;return null===t?i=this._itTail:(i=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._reinsertAfter(t,i,o)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(r,o))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,i,o)):t=this._addAfter(new oM(n,r),i,o),t}_verifyReinsertion(t,n,r,o){let i=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null);return null!==i?t=this._reinsertAfter(i,t._prev,o):t.currentIndex!=o&&(t.currentIndex=o,this._addToMoves(t,o)),t}_truncate(t){for(;null!==t;){const n=t._next;this._addToRemovals(this._unlink(t)),t=n}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,n,r){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const o=t._prevRemoved,i=t._nextRemoved;return null===o?this._removalsHead=i:o._nextRemoved=i,null===i?this._removalsTail=o:i._prevRemoved=o,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 o=null===n?this._itHead:n._next;return t._next=o,t._prev=n,null===o?this._itTail=t:o._prev=t,null===n?this._itHead=t:n._next=t,null===this._linkedRecords&&(this._linkedRecords=new ry),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 ry),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 oM{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 iM{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 ry{constructor(){this.map=new Map}put(t){const n=t.trackById;let r=this.map.get(n);r||(r=new iM,this.map.set(n,r)),r.add(t)}get(t,n){const o=this.map.get(t);return o?o.get(t,n):null}remove(t){const n=t.trackById;return this.map.get(n).remove(t)&&this.map.delete(n),t}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function oy(e,t,n){const r=e.previousIndex;if(null===r)return r;let o=0;return n&&r{if(n&&n.key===o)this._maybeAddToChanges(n,r),this._appendAfter=n,n=n._next;else{const i=this._getOrCreateRecordForKey(o,r);n=this._insertBeforeOrAppend(n,i)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(let r=n;null!==r;r=r._nextRemoved)r===this._mapHead&&(this._mapHead=null),this._records.delete(r.key),r._nextRemoved=r._next,r.previousValue=r.currentValue,r.currentValue=null,r._prev=null,r._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,n){if(t){const r=t._prev;return n._next=t,n._prev=r,t._prev=n,r&&(r._next=n),t===this._mapHead&&(this._mapHead=n),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=n,n._prev=this._appendAfter):this._mapHead=n,this._appendAfter=n,null}_getOrCreateRecordForKey(t,n){if(this._records.has(t)){const o=this._records.get(t);this._maybeAddToChanges(o,n);const i=o._prev,s=o._next;return i&&(i._next=s),s&&(s._prev=i),o._next=null,o._prev=null,o}const r=new aM(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 aM{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 sy(){return new hd([new ny])}let hd=(()=>{class e{constructor(n){this.factories=n}static create(n,r){if(null!=r){const o=r.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||sy()),deps:[[e,new Ga,new $a]]}}find(n){const r=this.factories.find(o=>o.supports(n));if(null!=r)return r;throw new Se(901,!1)}}return e.\u0275prov=St({token:e,providedIn:"root",factory:sy}),e})();function ay(){return new pd([new iy])}let pd=(()=>{class e{constructor(n){this.factories=n}static create(n,r){if(r){const o=r.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||ay()),deps:[[e,new Ga,new $a]]}}find(n){const r=this.factories.find(o=>o.supports(n));if(r)return r;throw new Se(901,!1)}}return e.\u0275prov=St({token:e,providedIn:"root",factory:ay}),e})();function vM(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}function CM(e){const t=_t(e);if(!t)return null;const n=new Js(t);return{get selector(){return n.selector},get type(){return n.componentType},get inputs(){return n.inputs},get outputs(){return n.outputs},get ngContentSelectors(){return n.ngContentSelectors},get isStandalone(){return t.standalone},get isSignal(){return t.signals}}}},95:(Xe,fe,A)=>{A.d(fe,{Fj:()=>te,NI:()=>Tn,u:()=>Rt,cw:()=>Ze,sg:()=>Ae,u5:()=>kt,JJ:()=>ke,JL:()=>We,UX:()=>ps,kI:()=>ee,_Y:()=>wo});var l=A(4946),$=A(6814),se=A(7715),Q=A(5592),z=A(7453),Z=A(4829),le=A(4564),Ge=A(8251),Ne=A(7400),ge=A(2714),he=A(7398);let Pe=(()=>{class v{constructor(g,b){this._renderer=g,this._elementRef=b,this.onChange=G=>{},this.onTouched=()=>{}}setProperty(g,b){this._renderer.setProperty(this._elementRef.nativeElement,g,b)}registerOnTouched(g){this.onTouched=g}registerOnChange(g){this.onChange=g}setDisabledState(g){this.setProperty("disabled",g)}}return v.\u0275fac=function(g){return new(g||v)(l.Y36(l.Qsj),l.Y36(l.SBq))},v.\u0275dir=l.lG2({type:v}),v})(),Re=(()=>{class v extends Pe{}return v.\u0275fac=function(){let y;return function(b){return(y||(y=l.n5z(v)))(b||v)}}(),v.\u0275dir=l.lG2({type:v,features:[l.qOj]}),v})();const Ue=new l.OlP("NgValueAccessor"),Ke={provide:Ue,useExisting:(0,l.Gpc)(()=>te),multi:!0},st=new l.OlP("CompositionEventMode");let te=(()=>{class v extends Pe{constructor(g,b,G){super(g,b),this._compositionMode=G,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function Le(){const v=(0,$.q)()?(0,$.q)().getUserAgent():"";return/android (\d+)/.test(v.toLowerCase())}())}writeValue(g){this.setProperty("value",g??"")}_handleInput(g){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(g)}_compositionStart(){this._composing=!0}_compositionEnd(g){this._composing=!1,this._compositionMode&&this.onChange(g)}}return v.\u0275fac=function(g){return new(g||v)(l.Y36(l.Qsj),l.Y36(l.SBq),l.Y36(st,8))},v.\u0275dir=l.lG2({type:v,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(g,b){1&g&&l.NdJ("input",function($e){return b._handleInput($e.target.value)})("blur",function(){return b.onTouched()})("compositionstart",function(){return b._compositionStart()})("compositionend",function($e){return b._compositionEnd($e.target.value)})},features:[l._Bn([Ke]),l.qOj]}),v})();function ce(v){return null==v||("string"==typeof v||Array.isArray(v))&&0===v.length}function me(v){return null!=v&&"number"==typeof v.length}const Oe=new l.OlP("NgValidators"),ye=new l.OlP("NgAsyncValidators"),ie=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;class ee{static min(y){return function ve(v){return y=>{if(ce(y.value)||ce(v))return null;const g=parseFloat(y.value);return!isNaN(g)&&g{if(ce(y.value)||ce(v))return null;const g=parseFloat(y.value);return!isNaN(g)&&g>v?{max:{max:v,actual:y.value}}:null}}(y)}static required(y){return function mt(v){return ce(v.value)?{required:!0}:null}(y)}static requiredTrue(y){return function gn(v){return!0===v.value?null:{required:!0}}(y)}static email(y){return function Se(v){return ce(v.value)||ie.test(v.value)?null:{email:!0}}(y)}static minLength(y){return function j(v){return y=>ce(y.value)||!me(y.value)?null:y.value.lengthme(y.value)&&y.value.length>v?{maxlength:{requiredLength:v,actualLength:y.value.length}}:null}(y)}static pattern(y){return function B(v){if(!v)return re;let y,g;return"string"==typeof v?(g="","^"!==v.charAt(0)&&(g+="^"),g+=v,"$"!==v.charAt(v.length-1)&&(g+="$"),y=new RegExp(g)):(g=v.toString(),y=v),b=>{if(ce(b.value))return null;const G=b.value;return y.test(G)?null:{pattern:{requiredPattern:g,actualValue:G}}}}(y)}static nullValidator(y){return null}static compose(y){return Ct(y)}static composeAsync(y){return it(y)}}function re(v){return null}function Ce(v){return null!=v}function de(v){return(0,l.QGY)(v)?(0,se.D)(v):v}function Fe(v){let y={};return v.forEach(g=>{y=null!=g?{...y,...g}:y}),0===Object.keys(y).length?null:y}function Ve(v,y){return y.map(g=>g(v))}function Ye(v){return v.map(y=>function zt(v){return!v.validate}(y)?y:g=>y.validate(g))}function Ct(v){if(!v)return null;const y=v.filter(Ce);return 0==y.length?null:function(g){return Fe(Ve(g,y))}}function dt(v){return null!=v?Ct(Ye(v)):null}function it(v){if(!v)return null;const y=v.filter(Ce);return 0==y.length?null:function(g){return function K(...v){const y=(0,le.jO)(v),{args:g,keys:b}=(0,z.D)(v),G=new Q.y($e=>{const{length:Vt}=g;if(!Vt)return void $e.complete();const Mn=new Array(Vt);let Dr=Vt,qn=Vt;for(let To=0;To{ur||(ur=!0,qn--),Mn[To]=co},()=>Dr--,void 0,()=>{(!Dr||!ur)&&(qn||$e.next(b?(0,ge.n)(b,Mn):Mn),$e.complete())}))}});return y?G.pipe((0,Ne.Z)(y)):G}(Ve(g,y).map(de)).pipe((0,he.U)(Fe))}}function Ht(v){return null!=v?it(Ye(v)):null}function mn(v,y){return null===v?[y]:Array.isArray(v)?[...v,y]:[v,y]}function nn(v){return v._rawValidators}function rn(v){return v._rawAsyncValidators}function Un(v){return v?Array.isArray(v)?v:[v]:[]}function Xt(v,y){return Array.isArray(v)?v.includes(y):v===y}function Er(v,y){const g=Un(y);return Un(v).forEach(G=>{Xt(g,G)||g.push(G)}),g}function ln(v,y){return Un(y).filter(g=>!Xt(v,g))}class Ie{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(y){this._rawValidators=y||[],this._composedValidatorFn=dt(this._rawValidators)}_setAsyncValidators(y){this._rawAsyncValidators=y||[],this._composedAsyncValidatorFn=Ht(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(y){this._onDestroyCallbacks.push(y)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(y=>y()),this._onDestroyCallbacks=[]}reset(y=void 0){this.control&&this.control.reset(y)}hasError(y,g){return!!this.control&&this.control.hasError(y,g)}getError(y,g){return this.control?this.control.getError(y,g):null}}class jt extends Ie{get formDirective(){return null}get path(){return null}}class $n extends Ie{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class yn{constructor(y){this._cd=y}get isTouched(){return!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return!!this._cd?.submitted}}let ke=(()=>{class v extends yn{constructor(g){super(g)}}return v.\u0275fac=function(g){return new(g||v)(l.Y36($n,2))},v.\u0275dir=l.lG2({type:v,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(g,b){2&g&&l.ekj("ng-untouched",b.isUntouched)("ng-touched",b.isTouched)("ng-pristine",b.isPristine)("ng-dirty",b.isDirty)("ng-valid",b.isValid)("ng-invalid",b.isInvalid)("ng-pending",b.isPending)},features:[l.qOj]}),v})(),We=(()=>{class v extends yn{constructor(g){super(g)}}return v.\u0275fac=function(g){return new(g||v)(l.Y36(jt,10))},v.\u0275dir=l.lG2({type:v,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(g,b){2&g&&l.ekj("ng-untouched",b.isUntouched)("ng-touched",b.isTouched)("ng-pristine",b.isPristine)("ng-dirty",b.isDirty)("ng-valid",b.isValid)("ng-invalid",b.isInvalid)("ng-pending",b.isPending)("ng-submitted",b.isSubmitted)},features:[l.qOj]}),v})();const vn="VALID",Sn="INVALID",Gn="PENDING",In="DISABLED";function rr(v){return(V(v)?v.validators:v)||null}function F(v,y){return(V(y)?y.asyncValidators:v)||null}function V(v){return null!=v&&!Array.isArray(v)&&"object"==typeof v}class ze{constructor(y,g){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(y),this._assignAsyncValidators(g)}get validator(){return this._composedValidatorFn}set validator(y){this._rawValidators=this._composedValidatorFn=y}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(y){this._rawAsyncValidators=this._composedAsyncValidatorFn=y}get parent(){return this._parent}get valid(){return this.status===vn}get invalid(){return this.status===Sn}get pending(){return this.status==Gn}get disabled(){return this.status===In}get enabled(){return this.status!==In}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(y){this._assignValidators(y)}setAsyncValidators(y){this._assignAsyncValidators(y)}addValidators(y){this.setValidators(Er(y,this._rawValidators))}addAsyncValidators(y){this.setAsyncValidators(Er(y,this._rawAsyncValidators))}removeValidators(y){this.setValidators(ln(y,this._rawValidators))}removeAsyncValidators(y){this.setAsyncValidators(ln(y,this._rawAsyncValidators))}hasValidator(y){return Xt(this._rawValidators,y)}hasAsyncValidator(y){return Xt(this._rawAsyncValidators,y)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(y={}){this.touched=!0,this._parent&&!y.onlySelf&&this._parent.markAsTouched(y)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(y=>y.markAllAsTouched())}markAsUntouched(y={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(g=>{g.markAsUntouched({onlySelf:!0})}),this._parent&&!y.onlySelf&&this._parent._updateTouched(y)}markAsDirty(y={}){this.pristine=!1,this._parent&&!y.onlySelf&&this._parent.markAsDirty(y)}markAsPristine(y={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(g=>{g.markAsPristine({onlySelf:!0})}),this._parent&&!y.onlySelf&&this._parent._updatePristine(y)}markAsPending(y={}){this.status=Gn,!1!==y.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!y.onlySelf&&this._parent.markAsPending(y)}disable(y={}){const g=this._parentMarkedDirty(y.onlySelf);this.status=In,this.errors=null,this._forEachChild(b=>{b.disable({...y,onlySelf:!0})}),this._updateValue(),!1!==y.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...y,skipPristineCheck:g}),this._onDisabledChange.forEach(b=>b(!0))}enable(y={}){const g=this._parentMarkedDirty(y.onlySelf);this.status=vn,this._forEachChild(b=>{b.enable({...y,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:y.emitEvent}),this._updateAncestors({...y,skipPristineCheck:g}),this._onDisabledChange.forEach(b=>b(!1))}_updateAncestors(y){this._parent&&!y.onlySelf&&(this._parent.updateValueAndValidity(y),y.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(y){this._parent=y}getRawValue(){return this.value}updateValueAndValidity(y={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===vn||this.status===Gn)&&this._runAsyncValidator(y.emitEvent)),!1!==y.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!y.onlySelf&&this._parent.updateValueAndValidity(y)}_updateTreeValidity(y={emitEvent:!0}){this._forEachChild(g=>g._updateTreeValidity(y)),this.updateValueAndValidity({onlySelf:!0,emitEvent:y.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?In:vn}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(y){if(this.asyncValidator){this.status=Gn,this._hasOwnPendingAsyncValidator=!0;const g=de(this.asyncValidator(this));this._asyncValidationSubscription=g.subscribe(b=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(b,{emitEvent:y})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(y,g={}){this.errors=y,this._updateControlsErrors(!1!==g.emitEvent)}get(y){let g=y;return null==g||(Array.isArray(g)||(g=g.split(".")),0===g.length)?null:g.reduce((b,G)=>b&&b._find(G),this)}getError(y,g){const b=g?this.get(g):this;return b&&b.errors?b.errors[y]:null}hasError(y,g){return!!this.getError(y,g)}get root(){let y=this;for(;y._parent;)y=y._parent;return y}_updateControlsErrors(y){this.status=this._calculateStatus(),y&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(y)}_initObservables(){this.valueChanges=new l.vpe,this.statusChanges=new l.vpe}_calculateStatus(){return this._allControlsDisabled()?In:this.errors?Sn:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Gn)?Gn:this._anyControlsHaveStatus(Sn)?Sn:vn}_anyControlsHaveStatus(y){return this._anyControls(g=>g.status===y)}_anyControlsDirty(){return this._anyControls(y=>y.dirty)}_anyControlsTouched(){return this._anyControls(y=>y.touched)}_updatePristine(y={}){this.pristine=!this._anyControlsDirty(),this._parent&&!y.onlySelf&&this._parent._updatePristine(y)}_updateTouched(y={}){this.touched=this._anyControlsTouched(),this._parent&&!y.onlySelf&&this._parent._updateTouched(y)}_registerOnCollectionChange(y){this._onCollectionChange=y}_setUpdateStrategy(y){V(y)&&null!=y.updateOn&&(this._updateOn=y.updateOn)}_parentMarkedDirty(y){return!y&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(y){return null}_assignValidators(y){this._rawValidators=Array.isArray(y)?y.slice():y,this._composedValidatorFn=function Y(v){return Array.isArray(v)?dt(v):v||null}(this._rawValidators)}_assignAsyncValidators(y){this._rawAsyncValidators=Array.isArray(y)?y.slice():y,this._composedAsyncValidatorFn=function N(v){return Array.isArray(v)?Ht(v):v||null}(this._rawAsyncValidators)}}class Ze extends ze{constructor(y,g,b){super(rr(g),F(b,g)),this.controls=y,this._initObservables(),this._setUpdateStrategy(g),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(y,g){return this.controls[y]?this.controls[y]:(this.controls[y]=g,g.setParent(this),g._registerOnCollectionChange(this._onCollectionChange),g)}addControl(y,g,b={}){this.registerControl(y,g),this.updateValueAndValidity({emitEvent:b.emitEvent}),this._onCollectionChange()}removeControl(y,g={}){this.controls[y]&&this.controls[y]._registerOnCollectionChange(()=>{}),delete this.controls[y],this.updateValueAndValidity({emitEvent:g.emitEvent}),this._onCollectionChange()}setControl(y,g,b={}){this.controls[y]&&this.controls[y]._registerOnCollectionChange(()=>{}),delete this.controls[y],g&&this.registerControl(y,g),this.updateValueAndValidity({emitEvent:b.emitEvent}),this._onCollectionChange()}contains(y){return this.controls.hasOwnProperty(y)&&this.controls[y].enabled}setValue(y,g={}){(function Ee(v,y,g){v._forEachChild((b,G)=>{if(void 0===g[G])throw new l.vHH(1002,"")})})(this,0,y),Object.keys(y).forEach(b=>{(function ne(v,y,g){const b=v.controls;if(!(y?Object.keys(b):b).length)throw new l.vHH(1e3,"");if(!b[g])throw new l.vHH(1001,"")})(this,!0,b),this.controls[b].setValue(y[b],{onlySelf:!0,emitEvent:g.emitEvent})}),this.updateValueAndValidity(g)}patchValue(y,g={}){null!=y&&(Object.keys(y).forEach(b=>{const G=this.controls[b];G&&G.patchValue(y[b],{onlySelf:!0,emitEvent:g.emitEvent})}),this.updateValueAndValidity(g))}reset(y={},g={}){this._forEachChild((b,G)=>{b.reset(y[G],{onlySelf:!0,emitEvent:g.emitEvent})}),this._updatePristine(g),this._updateTouched(g),this.updateValueAndValidity(g)}getRawValue(){return this._reduceChildren({},(y,g,b)=>(y[b]=g.getRawValue(),y))}_syncPendingControls(){let y=this._reduceChildren(!1,(g,b)=>!!b._syncPendingControls()||g);return y&&this.updateValueAndValidity({onlySelf:!0}),y}_forEachChild(y){Object.keys(this.controls).forEach(g=>{const b=this.controls[g];b&&y(b,g)})}_setUpControls(){this._forEachChild(y=>{y.setParent(this),y._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(y){for(const[g,b]of Object.entries(this.controls))if(this.contains(g)&&y(b))return!0;return!1}_reduceValue(){return this._reduceChildren({},(g,b,G)=>((b.enabled||this.disabled)&&(g[G]=b.value),g))}_reduceChildren(y,g){let b=y;return this._forEachChild((G,$e)=>{b=g(b,G,$e)}),b}_allControlsDisabled(){for(const y of Object.keys(this.controls))if(this.controls[y].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(y){return this.controls.hasOwnProperty(y)?this.controls[y]:null}}const H=new l.OlP("CallSetDisabledState",{providedIn:"root",factory:()=>R}),R="always";function ae(v,y,g=R){lt(v,y),y.valueAccessor.writeValue(v.value),(v.disabled||"always"===g)&&y.valueAccessor.setDisabledState?.(v.disabled),function Nt(v,y){y.valueAccessor.registerOnChange(g=>{v._pendingValue=g,v._pendingChange=!0,v._pendingDirty=!0,"change"===v.updateOn&&en(v,y)})}(v,y),function pn(v,y){const g=(b,G)=>{y.valueAccessor.writeValue(b),G&&y.viewToModelUpdate(b)};v.registerOnChange(g),y._registerOnDestroy(()=>{v._unregisterOnChange(g)})}(v,y),function Wn(v,y){y.valueAccessor.registerOnTouched(()=>{v._pendingTouched=!0,"blur"===v.updateOn&&v._pendingChange&&en(v,y),"submit"!==v.updateOn&&v.markAsTouched()})}(v,y),function De(v,y){if(y.valueAccessor.setDisabledState){const g=b=>{y.valueAccessor.setDisabledState(b)};v.registerOnDisabledChange(g),y._registerOnDestroy(()=>{v._unregisterOnDisabledChange(g)})}}(v,y)}function pe(v,y,g=!0){const b=()=>{};y.valueAccessor&&(y.valueAccessor.registerOnChange(b),y.valueAccessor.registerOnTouched(b)),we(v,y),v&&(y._invokeOnDestroyCallbacks(),v._registerOnCollectionChange(()=>{}))}function _e(v,y){v.forEach(g=>{g.registerOnValidatorChange&&g.registerOnValidatorChange(y)})}function lt(v,y){const g=nn(v);null!==y.validator?v.setValidators(mn(g,y.validator)):"function"==typeof g&&v.setValidators([g]);const b=rn(v);null!==y.asyncValidator?v.setAsyncValidators(mn(b,y.asyncValidator)):"function"==typeof b&&v.setAsyncValidators([b]);const G=()=>v.updateValueAndValidity();_e(y._rawValidators,G),_e(y._rawAsyncValidators,G)}function we(v,y){let g=!1;if(null!==v){if(null!==y.validator){const G=nn(v);if(Array.isArray(G)&&G.length>0){const $e=G.filter(Vt=>Vt!==y.validator);$e.length!==G.length&&(g=!0,v.setValidators($e))}}if(null!==y.asyncValidator){const G=rn(v);if(Array.isArray(G)&&G.length>0){const $e=G.filter(Vt=>Vt!==y.asyncValidator);$e.length!==G.length&&(g=!0,v.setAsyncValidators($e))}}}const b=()=>{};return _e(y._rawValidators,b),_e(y._rawAsyncValidators,b),g}function en(v,y){v._pendingDirty&&v.markAsDirty(),v.setValue(v._pendingValue,{emitModelToViewChange:!1}),y.viewToModelUpdate(v._pendingValue),v._pendingChange=!1}function oo(v,y){const g=v.indexOf(y);g>-1&&v.splice(g,1)}function Ur(v){return"object"==typeof v&&null!==v&&2===Object.keys(v).length&&"value"in v&&"disabled"in v}const Tn=class extends ze{constructor(y=null,g,b){super(rr(g),F(b,g)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(y),this._setUpdateStrategy(g),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),V(g)&&(g.nonNullable||g.initialValueIsDefault)&&(this.defaultValue=Ur(y)?y.value:y)}setValue(y,g={}){this.value=this._pendingValue=y,this._onChange.length&&!1!==g.emitModelToViewChange&&this._onChange.forEach(b=>b(this.value,!1!==g.emitViewToModelChange)),this.updateValueAndValidity(g)}patchValue(y,g={}){this.setValue(y,g)}reset(y=this.defaultValue,g={}){this._applyFormState(y),this.markAsPristine(g),this.markAsUntouched(g),this.setValue(this.value,g),this._pendingChange=!1}_updateValue(){}_anyControls(y){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(y){this._onChange.push(y)}_unregisterOnChange(y){oo(this._onChange,y)}registerOnDisabledChange(y){this._onDisabledChange.push(y)}_unregisterOnDisabledChange(y){oo(this._onDisabledChange,y)}_forEachChild(y){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(y){Ur(y)?(this.value=this._pendingValue=y.value,y.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=y}};let wo=(()=>{class v{}return v.\u0275fac=function(g){return new(g||v)},v.\u0275dir=l.lG2({type:v,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),v})(),Cn=(()=>{class v{}return v.\u0275fac=function(g){return new(g||v)},v.\u0275mod=l.oAB({type:v}),v.\u0275inj=l.cJS({}),v})();const pr=new l.OlP("NgModelWithFormControlWarning"),qt={provide:jt,useExisting:(0,l.Gpc)(()=>Ae)};let Ae=(()=>{class v extends jt{constructor(g,b,G){super(),this.callSetDisabledState=G,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new l.vpe,this._setValidators(g),this._setAsyncValidators(b)}ngOnChanges(g){this._checkFormPresent(),g.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(we(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(g){const b=this.form.get(g.path);return ae(b,g,this.callSetDisabledState),b.updateValueAndValidity({emitEvent:!1}),this.directives.push(g),b}getControl(g){return this.form.get(g.path)}removeControl(g){pe(g.control||null,g,!1),function Rr(v,y){const g=v.indexOf(y);g>-1&&v.splice(g,1)}(this.directives,g)}addFormGroup(g){this._setUpFormContainer(g)}removeFormGroup(g){this._cleanUpFormContainer(g)}getFormGroup(g){return this.form.get(g.path)}addFormArray(g){this._setUpFormContainer(g)}removeFormArray(g){this._cleanUpFormContainer(g)}getFormArray(g){return this.form.get(g.path)}updateModel(g,b){this.form.get(g.path).setValue(b)}onSubmit(g){return this.submitted=!0,function Tr(v,y){v._syncPendingControls(),y.forEach(g=>{const b=g.control;"submit"===b.updateOn&&b._pendingChange&&(g.viewToModelUpdate(b._pendingValue),b._pendingChange=!1)})}(this.form,this.directives),this.ngSubmit.emit(g),"dialog"===g?.target?.method}onReset(){this.resetForm()}resetForm(g=void 0){this.form.reset(g),this.submitted=!1}_updateDomValue(){this.directives.forEach(g=>{const b=g.control,G=this.form.get(g.path);b!==G&&(pe(b||null,g),(v=>v instanceof Tn)(G)&&(ae(G,g,this.callSetDisabledState),g.control=G))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(g){const b=this.form.get(g.path);(function sn(v,y){lt(v,y)})(b,g),b.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(g){if(this.form){const b=this.form.get(g.path);b&&function an(v,y){return we(v,y)}(b,g)&&b.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){lt(this.form,this),this._oldForm&&we(this._oldForm,this)}_checkFormPresent(){}}return v.\u0275fac=function(g){return new(g||v)(l.Y36(Oe,10),l.Y36(ye,10),l.Y36(H,8))},v.\u0275dir=l.lG2({type:v,selectors:[["","formGroup",""]],hostBindings:function(g,b){1&g&&l.NdJ("submit",function($e){return b.onSubmit($e)})("reset",function(){return b.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[l._Bn([qt]),l.qOj,l.TTD]}),v})();const Fr={provide:$n,useExisting:(0,l.Gpc)(()=>Rt)};let Rt=(()=>{class v extends $n{set isDisabled(g){}constructor(g,b,G,$e,Vt){super(),this._ngModelWarningConfig=Vt,this._added=!1,this.name=null,this.update=new l.vpe,this._ngModelWarningSent=!1,this._parent=g,this._setValidators(b),this._setAsyncValidators(G),this.valueAccessor=function Nr(v,y){if(!y)return null;let g,b,G;return Array.isArray(y),y.forEach($e=>{$e.constructor===te?g=$e:function Ar(v){return Object.getPrototypeOf(v.constructor)===Re}($e)?b=$e:G=$e}),G||b||g||null}(0,$e)}ngOnChanges(g){this._added||this._setUpControl(),function An(v,y){if(!v.hasOwnProperty("model"))return!1;const g=v.model;return!!g.isFirstChange()||!Object.is(y,g.currentValue)}(g,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(g){this.viewModel=g,this.update.emit(g)}get path(){return function O(v,y){return[...y.path,v]}(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this._added=!0}}return v._ngModelWarningSentOnce=!1,v.\u0275fac=function(g){return new(g||v)(l.Y36(jt,13),l.Y36(Oe,10),l.Y36(ye,10),l.Y36(Ue,10),l.Y36(pr,8))},v.\u0275dir=l.lG2({type:v,selectors:[["","formControlName",""]],inputs:{name:["formControlName","name"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[l._Bn([Fr]),l.qOj,l.TTD]}),v})(),Io=(()=>{class v{}return v.\u0275fac=function(g){return new(g||v)},v.\u0275mod=l.oAB({type:v}),v.\u0275inj=l.cJS({imports:[Cn]}),v})(),kt=(()=>{class v{static withConfig(g){return{ngModule:v,providers:[{provide:H,useValue:g.callSetDisabledState??R}]}}}return v.\u0275fac=function(g){return new(g||v)},v.\u0275mod=l.oAB({type:v}),v.\u0275inj=l.cJS({imports:[Io]}),v})(),ps=(()=>{class v{static withConfig(g){return{ngModule:v,providers:[{provide:pr,useValue:g.warnOnNgModelWithFormControl??"always"},{provide:H,useValue:g.callSetDisabledState??R}]}}}return v.\u0275fac=function(g){return new(g||v)},v.\u0275mod=l.oAB({type:v}),v.\u0275inj=l.cJS({imports:[Io]}),v})()},6593:(Xe,fe,A)=>{A.d(fe,{Cg:()=>Fe,Dx:()=>$n});var l=A(4946),$=A(6814);class se extends $.w_{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class Q extends se{static makeCurrent(){(0,$.HT)(new Q)}onAndCancel(F,N,V){return F.addEventListener(N,V),()=>{F.removeEventListener(N,V)}}dispatchEvent(F,N){F.dispatchEvent(N)}remove(F){F.parentNode&&F.parentNode.removeChild(F)}createElement(F,N){return(N=N||this.getDefaultDocument()).createElement(F)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(F){return F.nodeType===Node.ELEMENT_NODE}isShadowRoot(F){return F instanceof DocumentFragment}getGlobalEventTarget(F,N){return"window"===N?window:"document"===N?F:"body"===N?F.body:null}getBaseHref(F){const N=function Z(){return z=z||document.querySelector("base"),z?z.getAttribute("href"):null}();return null==N?null:function Ge(Y){le=le||document.createElement("a"),le.setAttribute("href",Y);const F=le.pathname;return"/"===F.charAt(0)?F:`/${F}`}(N)}resetBaseElement(){z=null}getUserAgent(){return window.navigator.userAgent}getCookie(F){return(0,$.Mx)(document.cookie,F)}}let le,z=null,ge=(()=>{class Y{build(){return new XMLHttpRequest}}return Y.\u0275fac=function(N){return new(N||Y)},Y.\u0275prov=l.Yz7({token:Y,factory:Y.\u0275fac}),Y})();const K=new l.OlP("EventManagerPlugins");let he=(()=>{class Y{constructor(N,V){this._zone=V,this._eventNameToPlugin=new Map,N.forEach(ne=>{ne.manager=this}),this._plugins=N.slice().reverse()}addEventListener(N,V,ne){return this._findPluginFor(V).addEventListener(N,V,ne)}getZone(){return this._zone}_findPluginFor(N){let V=this._eventNameToPlugin.get(N);if(V)return V;if(V=this._plugins.find(Ee=>Ee.supports(N)),!V)throw new l.vHH(5101,!1);return this._eventNameToPlugin.set(N,V),V}}return Y.\u0275fac=function(N){return new(N||Y)(l.LFG(K),l.LFG(l.R0b))},Y.\u0275prov=l.Yz7({token:Y,factory:Y.\u0275fac}),Y})();class Pe{constructor(F){this._doc=F}}const Re="ng-app-id";let Ue=(()=>{class Y{constructor(N,V,ne,Ee={}){this.doc=N,this.appId=V,this.nonce=ne,this.platformId=Ee,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=(0,$.PM)(Ee),this.resetHostNodes()}addStyles(N){for(const V of N)1===this.changeUsageCount(V,1)&&this.onStyleAdded(V)}removeStyles(N){for(const V of N)this.changeUsageCount(V,-1)<=0&&this.onStyleRemoved(V)}ngOnDestroy(){const N=this.styleNodesInDOM;N&&(N.forEach(V=>V.remove()),N.clear());for(const V of this.getAllStyles())this.onStyleRemoved(V);this.resetHostNodes()}addHost(N){this.hostNodes.add(N);for(const V of this.getAllStyles())this.addStyleToHost(N,V)}removeHost(N){this.hostNodes.delete(N)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(N){for(const V of this.hostNodes)this.addStyleToHost(V,N)}onStyleRemoved(N){const V=this.styleRef;V.get(N)?.elements?.forEach(ne=>ne.remove()),V.delete(N)}collectServerRenderedStyles(){const N=this.doc.head?.querySelectorAll(`style[${Re}="${this.appId}"]`);if(N?.length){const V=new Map;return N.forEach(ne=>{null!=ne.textContent&&V.set(ne.textContent,ne)}),V}return null}changeUsageCount(N,V){const ne=this.styleRef;if(ne.has(N)){const Ee=ne.get(N);return Ee.usage+=V,Ee.usage}return ne.set(N,{usage:V,elements:[]}),V}getStyleElement(N,V){const ne=this.styleNodesInDOM,Ee=ne?.get(V);if(Ee?.parentNode===N)return ne.delete(V),Ee.removeAttribute(Re),Ee;{const ze=this.doc.createElement("style");return this.nonce&&ze.setAttribute("nonce",this.nonce),ze.textContent=V,this.platformIsServer&&ze.setAttribute(Re,this.appId),ze}}addStyleToHost(N,V){const ne=this.getStyleElement(N,V);N.appendChild(ne);const Ee=this.styleRef,ze=Ee.get(V)?.elements;ze?ze.push(ne):Ee.set(V,{elements:[ne],usage:1})}resetHostNodes(){const N=this.hostNodes;N.clear(),N.add(this.doc.head)}}return Y.\u0275fac=function(N){return new(N||Y)(l.LFG($.K0),l.LFG(l.AFp),l.LFG(l.Ojb,8),l.LFG(l.Lbi))},Y.\u0275prov=l.Yz7({token:Y,factory:Y.\u0275fac}),Y})();const ft={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/MathML/"},be=/%COMP%/g,ce=new l.OlP("RemoveStylesOnCompDestroy",{providedIn:"root",factory:()=>!1});function ye(Y,F){return F.map(N=>N.replace(be,Y))}let ie=(()=>{class Y{constructor(N,V,ne,Ee,ze,Ze,wt,nt=null){this.eventManager=N,this.sharedStylesHost=V,this.appId=ne,this.removeStylesOnCompDestroy=Ee,this.doc=ze,this.platformId=Ze,this.ngZone=wt,this.nonce=nt,this.rendererByCompId=new Map,this.platformIsServer=(0,$.PM)(Ze),this.defaultRenderer=new ee(N,ze,wt,this.platformIsServer)}createRenderer(N,V){if(!N||!V)return this.defaultRenderer;this.platformIsServer&&V.encapsulation===l.ifc.ShadowDom&&(V={...V,encapsulation:l.ifc.Emulated});const ne=this.getOrCreateRenderer(N,V);return ne instanceof j?ne.applyToHost(N):ne instanceof Se&&ne.applyStyles(),ne}getOrCreateRenderer(N,V){const ne=this.rendererByCompId;let Ee=ne.get(V.id);if(!Ee){const ze=this.doc,Ze=this.ngZone,wt=this.eventManager,nt=this.sharedStylesHost,on=this.removeStylesOnCompDestroy,zn=this.platformIsServer;switch(V.encapsulation){case l.ifc.Emulated:Ee=new j(wt,nt,V,this.appId,on,ze,Ze,zn);break;case l.ifc.ShadowDom:return new gn(wt,nt,N,V,ze,Ze,this.nonce,zn);default:Ee=new Se(wt,nt,V,on,ze,Ze,zn)}ne.set(V.id,Ee)}return Ee}ngOnDestroy(){this.rendererByCompId.clear()}}return Y.\u0275fac=function(N){return new(N||Y)(l.LFG(he),l.LFG(Ue),l.LFG(l.AFp),l.LFG(ce),l.LFG($.K0),l.LFG(l.Lbi),l.LFG(l.R0b),l.LFG(l.Ojb))},Y.\u0275prov=l.Yz7({token:Y,factory:Y.\u0275fac}),Y})();class ee{constructor(F,N,V,ne){this.eventManager=F,this.doc=N,this.ngZone=V,this.platformIsServer=ne,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(F,N){return N?this.doc.createElementNS(ft[N]||N,F):this.doc.createElement(F)}createComment(F){return this.doc.createComment(F)}createText(F){return this.doc.createTextNode(F)}appendChild(F,N){(mt(F)?F.content:F).appendChild(N)}insertBefore(F,N,V){F&&(mt(F)?F.content:F).insertBefore(N,V)}removeChild(F,N){F&&F.removeChild(N)}selectRootElement(F,N){let V="string"==typeof F?this.doc.querySelector(F):F;if(!V)throw new l.vHH(-5104,!1);return N||(V.textContent=""),V}parentNode(F){return F.parentNode}nextSibling(F){return F.nextSibling}setAttribute(F,N,V,ne){if(ne){N=ne+":"+N;const Ee=ft[ne];Ee?F.setAttributeNS(Ee,N,V):F.setAttribute(N,V)}else F.setAttribute(N,V)}removeAttribute(F,N,V){if(V){const ne=ft[V];ne?F.removeAttributeNS(ne,N):F.removeAttribute(`${V}:${N}`)}else F.removeAttribute(N)}addClass(F,N){F.classList.add(N)}removeClass(F,N){F.classList.remove(N)}setStyle(F,N,V,ne){ne&(l.JOm.DashCase|l.JOm.Important)?F.style.setProperty(N,V,ne&l.JOm.Important?"important":""):F.style[N]=V}removeStyle(F,N,V){V&l.JOm.DashCase?F.style.removeProperty(N):F.style[N]=""}setProperty(F,N,V){F[N]=V}setValue(F,N){F.nodeValue=N}listen(F,N,V){if("string"==typeof F&&!(F=(0,$.q)().getGlobalEventTarget(this.doc,F)))throw new Error(`Unsupported event target ${F} for event ${N}`);return this.eventManager.addEventListener(F,N,this.decoratePreventDefault(V))}decoratePreventDefault(F){return N=>{if("__ngUnwrap__"===N)return F;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>F(N)):F(N))&&N.preventDefault()}}}function mt(Y){return"TEMPLATE"===Y.tagName&&void 0!==Y.content}class gn extends ee{constructor(F,N,V,ne,Ee,ze,Ze,wt){super(F,Ee,ze,wt),this.sharedStylesHost=N,this.hostEl=V,this.shadowRoot=V.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const nt=ye(ne.id,ne.styles);for(const on of nt){const zn=document.createElement("style");Ze&&zn.setAttribute("nonce",Ze),zn.textContent=on,this.shadowRoot.appendChild(zn)}}nodeOrShadowRoot(F){return F===this.hostEl?this.shadowRoot:F}appendChild(F,N){return super.appendChild(this.nodeOrShadowRoot(F),N)}insertBefore(F,N,V){return super.insertBefore(this.nodeOrShadowRoot(F),N,V)}removeChild(F,N){return super.removeChild(this.nodeOrShadowRoot(F),N)}parentNode(F){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(F)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class Se extends ee{constructor(F,N,V,ne,Ee,ze,Ze,wt){super(F,Ee,ze,Ze),this.sharedStylesHost=N,this.removeStylesOnCompDestroy=ne,this.styles=wt?ye(wt,V.styles):V.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class j extends Se{constructor(F,N,V,ne,Ee,ze,Ze,wt){const nt=ne+"-"+V.id;super(F,N,V,Ee,ze,Ze,wt,nt),this.contentAttr=function me(Y){return"_ngcontent-%COMP%".replace(be,Y)}(nt),this.hostAttr=function Oe(Y){return"_nghost-%COMP%".replace(be,Y)}(nt)}applyToHost(F){this.applyStyles(),this.setAttribute(F,this.hostAttr,"")}createElement(F,N){const V=super.createElement(F,N);return super.setAttribute(V,this.contentAttr,""),V}}let P=(()=>{class Y extends Pe{constructor(N){super(N)}supports(N){return!0}addEventListener(N,V,ne){return N.addEventListener(V,ne,!1),()=>this.removeEventListener(N,V,ne)}removeEventListener(N,V,ne){return N.removeEventListener(V,ne)}}return Y.\u0275fac=function(N){return new(N||Y)(l.LFG($.K0))},Y.\u0275prov=l.Yz7({token:Y,factory:Y.\u0275fac}),Y})();const B=["alt","control","meta","shift"],re={"\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"},Ce={alt:Y=>Y.altKey,control:Y=>Y.ctrlKey,meta:Y=>Y.metaKey,shift:Y=>Y.shiftKey};let de=(()=>{class Y extends Pe{constructor(N){super(N)}supports(N){return null!=Y.parseEventName(N)}addEventListener(N,V,ne){const Ee=Y.parseEventName(V),ze=Y.eventCallback(Ee.fullKey,ne,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,$.q)().onAndCancel(N,Ee.domEventName,ze))}static parseEventName(N){const V=N.toLowerCase().split("."),ne=V.shift();if(0===V.length||"keydown"!==ne&&"keyup"!==ne)return null;const Ee=Y._normalizeKey(V.pop());let ze="",Ze=V.indexOf("code");if(Ze>-1&&(V.splice(Ze,1),ze="code."),B.forEach(nt=>{const on=V.indexOf(nt);on>-1&&(V.splice(on,1),ze+=nt+".")}),ze+=Ee,0!=V.length||0===Ee.length)return null;const wt={};return wt.domEventName=ne,wt.fullKey=ze,wt}static matchEventFullKeyCode(N,V){let ne=re[N.key]||N.key,Ee="";return V.indexOf("code.")>-1&&(ne=N.code,Ee="code."),!(null==ne||!ne)&&(ne=ne.toLowerCase()," "===ne?ne="space":"."===ne&&(ne="dot"),B.forEach(ze=>{ze!==ne&&(0,Ce[ze])(N)&&(Ee+=ze+".")}),Ee+=ne,Ee===V)}static eventCallback(N,V,ne){return Ee=>{Y.matchEventFullKeyCode(Ee,N)&&ne.runGuarded(()=>V(Ee))}}static _normalizeKey(N){return"esc"===N?"escape":N}}return Y.\u0275fac=function(N){return new(N||Y)(l.LFG($.K0))},Y.\u0275prov=l.Yz7({token:Y,factory:Y.\u0275fac}),Y})();function Fe(Y,F){return(0,l.iPO)({rootComponent:Y,...zt(F)})}function zt(Y){return{appProviders:[...Un,...Y?.providers??[]],platformProviders:Ht}}const Ht=[{provide:l.Lbi,useValue:$.bD},{provide:l.g9A,useValue:function Ct(){Q.makeCurrent()},multi:!0},{provide:$.K0,useFactory:function it(){return(0,l.RDi)(document),document},deps:[]}],Un=[{provide:l.zSh,useValue:"root"},{provide:l.qLn,useFactory:function dt(){return new l.qLn},deps:[]},{provide:K,useClass:P,multi:!0,deps:[$.K0,l.R0b,l.Lbi]},{provide:K,useClass:de,multi:!0,deps:[$.K0]},ie,Ue,he,{provide:l.FYo,useExisting:ie},{provide:$.JF,useClass:ge,deps:[]},[]];let $n=(()=>{class Y{constructor(N){this._doc=N}getTitle(){return this._doc.title}setTitle(N){this._doc.title=N||""}}return Y.\u0275fac=function(N){return new(N||Y)(l.LFG($.K0))},Y.\u0275prov=l.Yz7({token:Y,factory:function(N){let V=null;return V=N?new N:function jt(){return new $n((0,l.LFG)($.K0))}(),V},providedIn:"root"}),Y})();typeof window<"u"&&window},4670:(Xe,fe,A)=>{A.d(fe,{gz:()=>pt,F0:()=>cr,Bz:()=>Ra,lC:()=>mr,bU:()=>Mt});var l=A(4946),$=A(5592),se=A(4674),z=A(7715),Z=A(2096),le=A(5619),Ge=A(7453),Ne=A(2737),ge=A(7400),K=A(4564),he=A(2714),Pe=A(8251),Re=A(7103);function Ue(...u){const d=(0,K.yG)(u),a=(0,K.jO)(u),{args:f,keys:C}=(0,Ge.D)(u);if(0===f.length)return(0,z.D)([],d);const M=new $.y(function ft(u,d,a=Ne.y){return f=>{be(d,()=>{const{length:C}=u,M=new Array(C);let S=C,L=C;for(let q=0;q{const xe=(0,z.D)(u[q],d);let Be=!1;xe.subscribe((0,Pe.x)(f,bt=>{M[q]=bt,Be||(Be=!0,L--),L||f.next(a(M.slice()))},()=>{--S||f.complete()}))},f)},f)}}(f,d,C?S=>(0,he.n)(C,S):Ne.y));return a?M.pipe((0,ge.Z)(a)):M}function be(u,d,a){u?(0,Re.f)(a,u,d):d()}const Le=(0,A(2306).d)(u=>function(){u(this),this.name="EmptyError",this.message="no elements in sequence"});var st=A(7537);function ce(...u){return function te(){return(0,st.J)(1)}()((0,z.D)(u,(0,K.yG)(u)))}var me=A(4829);function Oe(u){return new $.y(d=>{(0,me.Xf)(u()).subscribe(d)})}var ye=A(8407);function ie(u,d){const a=(0,se.m)(u)?u:()=>u,f=C=>C.error(a());return new $.y(d?C=>d.schedule(f,0,C):f)}var ee=A(6232),ve=A(7394),ht=A(9360);function mt(){return(0,ht.e)((u,d)=>{let a=null;u._refCount++;const f=(0,Pe.x)(d,void 0,void 0,void 0,()=>{if(!u||u._refCount<=0||0<--u._refCount)return void(a=null);const C=u._connection,M=a;a=null,C&&(!M||C===M)&&C.unsubscribe(),d.unsubscribe()});u.subscribe(f),f.closed||(a=u.connect())})}class gn extends $.y{constructor(d,a){super(),this.source=d,this.subjectFactory=a,this._subject=null,this._refCount=0,this._connection=null,(0,ht.A)(d)&&(this.lift=d.lift)}_subscribe(d){return this.getSubject().subscribe(d)}getSubject(){const d=this._subject;return(!d||d.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:d}=this;this._subject=this._connection=null,d?.unsubscribe()}connect(){let d=this._connection;if(!d){d=this._connection=new ve.w0;const a=this.getSubject();d.add(this.source.subscribe((0,Pe.x)(a,void 0,()=>{this._teardown(),a.complete()},f=>{this._teardown(),a.error(f)},()=>this._teardown()))),d.closed&&(this._connection=null,d=ve.w0.EMPTY)}return d}refCount(){return mt()(this)}}var Se=A(8645),j=A(6814),P=A(7398),B=A(4664);function re(u){return u<=0?()=>ee.E:(0,ht.e)((d,a)=>{let f=0;d.subscribe((0,Pe.x)(a,C=>{++f<=u&&(a.next(C),u<=f&&a.complete())}))})}var de=A(2181),Fe=A(1631);function Ve(u){return(0,ht.e)((d,a)=>{let f=!1;d.subscribe((0,Pe.x)(a,C=>{f=!0,a.next(C)},()=>{f||a.next(u),a.complete()}))})}function zt(u=Ye){return(0,ht.e)((d,a)=>{let f=!1;d.subscribe((0,Pe.x)(a,C=>{f=!0,a.next(C)},()=>f?a.complete():a.error(u())))})}function Ye(){return new Le}function Ct(u,d){const a=arguments.length>=2;return f=>f.pipe(u?(0,de.h)((C,M)=>u(C,M,f)):Ne.y,re(1),a?Ve(d):zt(()=>new Le))}var dt=A(6328);function it(u,d,a){const f=(0,se.m)(u)||d||a?{next:u,error:d,complete:a}:u;return f?(0,ht.e)((C,M)=>{var S;null===(S=f.subscribe)||void 0===S||S.call(f);let L=!0;C.subscribe((0,Pe.x)(M,q=>{var xe;null===(xe=f.next)||void 0===xe||xe.call(f,q),M.next(q)},()=>{var q;L=!1,null===(q=f.complete)||void 0===q||q.call(f),M.complete()},q=>{var xe;L=!1,null===(xe=f.error)||void 0===xe||xe.call(f,q),M.error(q)},()=>{var q,xe;L&&(null===(q=f.unsubscribe)||void 0===q||q.call(f)),null===(xe=f.finalize)||void 0===xe||xe.call(f)}))}):Ne.y}function Ht(u){return(0,ht.e)((d,a)=>{let M,f=null,C=!1;f=d.subscribe((0,Pe.x)(a,void 0,void 0,S=>{M=(0,me.Xf)(u(S,Ht(u)(d))),f?(f.unsubscribe(),f=null,M.subscribe(a)):C=!0})),C&&(f.unsubscribe(),f=null,M.subscribe(a))})}function rn(u){return u<=0?()=>ee.E:(0,ht.e)((d,a)=>{let f=[];d.subscribe((0,Pe.x)(a,C=>{f.push(C),u{for(const C of f)a.next(C);a.complete()},void 0,()=>{f=null}))})}var Er=A(4716),ln=A(6593);const Ie="primary",jt=Symbol("RouteTitle");class $n{constructor(d){this.params=d||{}}has(d){return Object.prototype.hasOwnProperty.call(this.params,d)}get(d){if(this.has(d)){const a=this.params[d];return Array.isArray(a)?a[0]:a}return null}getAll(d){if(this.has(d)){const a=this.params[d];return Array.isArray(a)?a:[a]}return[]}get keys(){return Object.keys(this.params)}}function yn(u){return new $n(u)}function St(u,d,a){const f=a.path.split("/");if(f.length>u.length||"full"===a.pathMatch&&(d.hasChildren()||f.lengthf[M]===C)}return u===d}function hr(u){return u.length>0?u[u.length-1]:null}function Qt(u){return function Q(u){return!!u&&(u instanceof $.y||(0,se.m)(u.lift)&&(0,se.m)(u.subscribe))}(u)?u:(0,l.QGY)(u)?(0,z.D)(Promise.resolve(u)):(0,Z.of)(u)}const xn={exact:function Ot(u,d,a){if(!Kn(u.segments,d.segments)||!Yn(u.segments,d.segments,a)||u.numberOfChildren!==d.numberOfChildren)return!1;for(const f in d.children)if(!u.children[f]||!Ot(u.children[f],d.children[f],a))return!1;return!0},subset:Me},Pn={exact:function Br(u,d){return ke(u,d)},subset:function _o(u,d){return Object.keys(d).length<=Object.keys(u).length&&Object.keys(d).every(a=>We(u[a],d[a]))},ignored:()=>!0};function $t(u,d,a){return xn[a.paths](u.root,d.root,a.matrixParams)&&Pn[a.queryParams](u.queryParams,d.queryParams)&&!("exact"===a.fragment&&u.fragment!==d.fragment)}function Me(u,d,a){return wr(u,d,d.segments,a)}function wr(u,d,a,f){if(u.segments.length>a.length){const C=u.segments.slice(0,a.length);return!(!Kn(C,a)||d.hasChildren()||!Yn(C,a,f))}if(u.segments.length===a.length){if(!Kn(u.segments,a)||!Yn(u.segments,a,f))return!1;for(const C in d.children)if(!u.children[C]||!Me(u.children[C],d.children[C],f))return!1;return!0}{const C=a.slice(0,u.segments.length),M=a.slice(u.segments.length);return!!(Kn(u.segments,C)&&Yn(u.segments,C,f)&&u.children[Ie])&&wr(u.children[Ie],d,M,f)}}function Yn(u,d,a){return d.every((f,C)=>Pn[a](u[C].parameters,f.parameters))}class Gt{constructor(d=new ct([],{}),a={},f=null){this.root=d,this.queryParams=a,this.fragment=f}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=yn(this.queryParams)),this._queryParamMap}toString(){return Gn.serialize(this)}}class ct{constructor(d,a){this.segments=d,this.children=a,this.parent=null,Object.values(a).forEach(f=>f.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return In(this)}}class yt{constructor(d,a){this.path=d,this.parameters=a}get parameterMap(){return this._parameterMap||(this._parameterMap=yn(this.parameters)),this._parameterMap}toString(){return ze(this)}}function Kn(u,d){return u.length===d.length&&u.every((a,f)=>a.path===d[f].path)}let vn=(()=>{class u{}return u.\u0275fac=function(a){return new(a||u)},u.\u0275prov=l.Yz7({token:u,factory:function(){return new Sn},providedIn:"root"}),u})();class Sn{parse(d){const a=new _e(d);return new Gt(a.parseRootSegment(),a.parseQueryParams(),a.parseFragment())}serialize(d){const a=`/${rr(d.root,!0)}`,f=function wt(u){const d=Object.keys(u).map(a=>{const f=u[a];return Array.isArray(f)?f.map(C=>`${F(a)}=${F(C)}`).join("&"):`${F(a)}=${F(f)}`}).filter(a=>!!a);return d.length?`?${d.join("&")}`:""}(d.queryParams);return`${a}${f}${"string"==typeof d.fragment?`#${function N(u){return encodeURI(u)}(d.fragment)}`:""}`}}const Gn=new Sn;function In(u){return u.segments.map(d=>ze(d)).join("/")}function rr(u,d){if(!u.hasChildren())return In(u);if(d){const a=u.children[Ie]?rr(u.children[Ie],!1):"",f=[];return Object.entries(u.children).forEach(([C,M])=>{C!==Ie&&f.push(`${C}:${rr(M,!1)}`)}),f.length>0?`${a}(${f.join("//")})`:a}{const a=function no(u,d){let a=[];return Object.entries(u.children).forEach(([f,C])=>{f===Ie&&(a=a.concat(d(C,f)))}),Object.entries(u.children).forEach(([f,C])=>{f!==Ie&&(a=a.concat(d(C,f)))}),a}(u,(f,C)=>C===Ie?[rr(u.children[Ie],!1)]:[`${C}:${rr(f,!1)}`]);return 1===Object.keys(u.children).length&&null!=u.children[Ie]?`${In(u)}/${a[0]}`:`${In(u)}/(${a.join("//")})`}}function Y(u){return encodeURIComponent(u).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function F(u){return Y(u).replace(/%3B/gi,";")}function V(u){return Y(u).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function ne(u){return decodeURIComponent(u)}function Ee(u){return ne(u.replace(/\+/g,"%20"))}function ze(u){return`${V(u.path)}${function Ze(u){return Object.keys(u).map(d=>`;${V(d)}=${V(u[d])}`).join("")}(u.parameters)}`}const nt=/^[^\/()?;#]+/;function on(u){const d=u.match(nt);return d?d[0]:""}const zn=/^[^\/()?;=#]+/,R=/^[^=?&#]+/,ae=/^[^&#]+/;class _e{constructor(d){this.url=d,this.remaining=d}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new ct([],{}):new ct([],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 a={};this.peekStartsWith("/(")&&(this.capture("/"),a=this.parseParens(!0));let f={};return this.peekStartsWith("(")&&(f=this.parseParens(!1)),(d.length>0||Object.keys(a).length>0)&&(f[Ie]=new ct(d,a)),f}parseSegment(){const d=on(this.remaining);if(""===d&&this.peekStartsWith(";"))throw new l.vHH(4009,!1);return this.capture(d),new yt(ne(d),this.parseMatrixParams())}parseMatrixParams(){const d={};for(;this.consumeOptional(";");)this.parseParam(d);return d}parseParam(d){const a=function H(u){const d=u.match(zn);return d?d[0]:""}(this.remaining);if(!a)return;this.capture(a);let f="";if(this.consumeOptional("=")){const C=on(this.remaining);C&&(f=C,this.capture(f))}d[ne(a)]=ne(f)}parseQueryParam(d){const a=function O(u){const d=u.match(R);return d?d[0]:""}(this.remaining);if(!a)return;this.capture(a);let f="";if(this.consumeOptional("=")){const S=function pe(u){const d=u.match(ae);return d?d[0]:""}(this.remaining);S&&(f=S,this.capture(f))}const C=Ee(a),M=Ee(f);if(d.hasOwnProperty(C)){let S=d[C];Array.isArray(S)||(S=[S],d[C]=S),S.push(M)}else d[C]=M}parseParens(d){const a={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const f=on(this.remaining),C=this.remaining[f.length];if("/"!==C&&")"!==C&&";"!==C)throw new l.vHH(4010,!1);let M;f.indexOf(":")>-1?(M=f.slice(0,f.indexOf(":")),this.capture(M),this.capture(":")):d&&(M=Ie);const S=this.parseChildren();a[M]=1===Object.keys(S).length?S[Ie]:new ct([],S),this.consumeOptional("//")}return a}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 l.vHH(4011,!1)}}function De(u){return u.segments.length>0?new ct([],{[Ie]:u}):u}function lt(u){const d={};for(const f of Object.keys(u.children)){const M=lt(u.children[f]);if(f===Ie&&0===M.segments.length&&M.hasChildren())for(const[S,L]of Object.entries(M.children))d[S]=L;else(M.segments.length>0||M.hasChildren())&&(d[f]=M)}return function we(u){if(1===u.numberOfChildren&&u.children[Ie]){const d=u.children[Ie];return new ct(u.segments.concat(d.segments),d.children)}return u}(new ct(u.segments,d))}function Nt(u){return u instanceof Gt}function en(u){let d;const C=De(function a(M){const S={};for(const q of M.children){const xe=a(q);S[q.outlet]=xe}const L=new ct(M.url,S);return M===u&&(d=L),L}(u.root));return d??C}function pn(u,d,a,f){let C=u;for(;C.parent;)C=C.parent;if(0===d.length)return At(C,C,C,a,f);const M=function Ir(u){if("string"==typeof u[0]&&1===u.length&&"/"===u[0])return new Dn(!0,0,u);let d=0,a=!1;const f=u.reduce((C,M,S)=>{if("object"==typeof M&&null!=M){if(M.outlets){const L={};return Object.entries(M.outlets).forEach(([q,xe])=>{L[q]="string"==typeof xe?xe.split("/"):xe}),[...C,{outlets:L}]}if(M.segmentPath)return[...C,M.segmentPath]}return"string"!=typeof M?[...C,M]:0===S?(M.split("/").forEach((L,q)=>{0==q&&"."===L||(0==q&&""===L?a=!0:".."===L?d++:""!=L&&C.push(L))}),C):[...C,M]},[]);return new Dn(a,d,f)}(d);if(M.toRoot())return At(C,C,new ct([],{}),a,f);const S=function An(u,d,a){if(u.isAbsolute)return new Wt(d,!0,0);if(!a)return new Wt(d,!1,NaN);if(null===a.parent)return new Wt(a,!0,0);const f=sn(u.commands[0])?0:1;return function Ar(u,d,a){let f=u,C=d,M=a;for(;M>C;){if(M-=C,f=f.parent,!f)throw new l.vHH(4005,!1);C=f.segments.length}return new Wt(f,!1,C-M)}(a,a.segments.length-1+f,u.numberOfDoubleDots)}(M,C,u),L=S.processChildren?Rr(S.segmentGroup,S.index,M.commands):Nr(S.segmentGroup,S.index,M.commands);return At(C,S.segmentGroup,L,a,f)}function sn(u){return"object"==typeof u&&null!=u&&!u.outlets&&!u.segmentPath}function an(u){return"object"==typeof u&&null!=u&&u.outlets}function At(u,d,a,f,C){let S,M={};f&&Object.entries(f).forEach(([q,xe])=>{M[q]=Array.isArray(xe)?xe.map(Be=>`${Be}`):`${xe}`}),S=u===d?a:xt(u,d,a);const L=De(lt(S));return new Gt(L,M,C)}function xt(u,d,a){const f={};return Object.entries(u.children).forEach(([C,M])=>{f[C]=M===d?a:xt(M,d,a)}),new ct(u.segments,f)}class Dn{constructor(d,a,f){if(this.isAbsolute=d,this.numberOfDoubleDots=a,this.commands=f,d&&f.length>0&&sn(f[0]))throw new l.vHH(4003,!1);const C=f.find(an);if(C&&C!==hr(f))throw new l.vHH(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class Wt{constructor(d,a,f){this.segmentGroup=d,this.processChildren=a,this.index=f}}function Nr(u,d,a){if(u||(u=new ct([],{})),0===u.segments.length&&u.hasChildren())return Rr(u,d,a);const f=function Xo(u,d,a){let f=0,C=d;const M={match:!1,pathIndex:0,commandIndex:0};for(;C=a.length)return M;const S=u.segments[C],L=a[f];if(an(L))break;const q=`${L}`,xe=f0&&void 0===q)break;if(q&&xe&&"object"==typeof xe&&void 0===xe.outlets){if(!oo(q,xe,S))return M;f+=2}else{if(!oo(q,{},S))return M;f++}C++}return{match:!0,pathIndex:C,commandIndex:f}}(u,d,a),C=a.slice(f.commandIndex);if(f.match&&f.pathIndex{"string"==typeof S&&(S=[S]),null!==S&&(C[M]=Nr(u.children[M],d,S))}),Object.entries(u.children).forEach(([M,S])=>{void 0===f[M]&&(C[M]=S)}),new ct(u.segments,C)}}function jr(u,d,a){const f=u.segments.slice(0,d);let C=0;for(;C{"string"==typeof f&&(f=[f]),null!==f&&(d[a]=jr(new ct([],{}),0,f))}),d}function ro(u){const d={};return Object.entries(u).forEach(([a,f])=>d[a]=`${f}`),d}function oo(u,d,a){return u==a.path&&ke(d,a.parameters)}const Ur="imperative";class Tn{constructor(d,a){this.id=d,this.url=a}}class Jo extends Tn{constructor(d,a,f="imperative",C=null){super(d,a),this.type=0,this.navigationTrigger=f,this.restoredState=C}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class Or extends Tn{constructor(d,a,f){super(d,a),this.urlAfterRedirects=f,this.type=1}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class $r extends Tn{constructor(d,a,f,C){super(d,a),this.reason=f,this.code=C,this.type=2}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class Eo extends Tn{constructor(d,a,f,C){super(d,a),this.reason=f,this.code=C,this.type=16}}class Fn extends Tn{constructor(d,a,f,C){super(d,a),this.error=f,this.target=C,this.type=3}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class vi extends Tn{constructor(d,a,f,C){super(d,a),this.urlAfterRedirects=f,this.state=C,this.type=4}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Qo extends Tn{constructor(d,a,f,C){super(d,a),this.urlAfterRedirects=f,this.state=C,this.type=7}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class ei extends Tn{constructor(d,a,f,C,M){super(d,a),this.urlAfterRedirects=f,this.state=C,this.shouldActivate=M,this.type=8}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class Po extends Tn{constructor(d,a,f,C){super(d,a),this.urlAfterRedirects=f,this.state=C,this.type=5}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class ti extends Tn{constructor(d,a,f,C){super(d,a),this.urlAfterRedirects=f,this.state=C,this.type=6}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class io{constructor(d){this.route=d,this.type=9}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class Fo{constructor(d){this.route=d,this.type=10}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class wo{constructor(d){this.snapshot=d,this.type=11}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Lo{constructor(d){this.snapshot=d,this.type=12}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Mo{constructor(d){this.snapshot=d,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class _t{constructor(d){this.snapshot=d,this.type=14}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class cn{constructor(d,a,f){this.routerEvent=d,this.position=a,this.anchor=f,this.type=15}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class xr{constructor(){this.outlet=null,this.route=null,this.injector=null,this.children=new tn,this.attachRef=null}}let tn=(()=>{class u{constructor(){this.contexts=new Map}onChildOutletCreated(a,f){const C=this.getOrCreateContext(a);C.outlet=f,this.contexts.set(a,C)}onChildOutletDestroyed(a){const f=this.getContext(a);f&&(f.outlet=null,f.attachRef=null)}onOutletDeactivated(){const a=this.contexts;return this.contexts=new Map,a}onOutletReAttached(a){this.contexts=a}getOrCreateContext(a){let f=this.getContext(a);return f||(f=new xr,this.contexts.set(a,f)),f}getContext(a){return this.contexts.get(a)||null}}return u.\u0275fac=function(a){return new(a||u)},u.\u0275prov=l.Yz7({token:u,factory:u.\u0275fac,providedIn:"root"}),u})();class bo{constructor(d){this._root=d}get root(){return this._root.value}parent(d){const a=this.pathFromRoot(d);return a.length>1?a[a.length-2]:null}children(d){const a=Gr(d,this._root);return a?a.children.map(f=>f.value):[]}firstChild(d){const a=Gr(d,this._root);return a&&a.children.length>0?a.children[0].value:null}siblings(d){const a=pr(d,this._root);return a.length<2?[]:a[a.length-2].children.map(C=>C.value).filter(C=>C!==d)}pathFromRoot(d){return pr(d,this._root).map(a=>a.value)}}function Gr(u,d){if(u===d.value)return d;for(const a of d.children){const f=Gr(u,a);if(f)return f}return null}function pr(u,d){if(u===d.value)return[d];for(const a of d.children){const f=pr(u,a);if(f.length)return f.unshift(d),f}return[]}class or{constructor(d,a){this.value=d,this.children=a}toString(){return`TreeNode(${this.value})`}}function gr(u){const d={};return u&&u.children.forEach(a=>d[a.value.outlet]=a),d}class qt extends bo{constructor(d,a){super(d),this.snapshot=a,Rt(this,d)}toString(){return this.snapshot.toString()}}function Ae(u,d){const a=function et(u,d){const S=new Jt([],{},{},"",{},Ie,d,null,{});return new Fr("",new or(S,[]))}(0,d),f=new le.X([new yt("",{})]),C=new le.X({}),M=new le.X({}),S=new le.X({}),L=new le.X(""),q=new pt(f,C,S,L,M,Ie,d,a.root);return q.snapshot=a.root,new qt(new or(q,[]),a)}class pt{constructor(d,a,f,C,M,S,L,q){this.urlSubject=d,this.paramsSubject=a,this.queryParamsSubject=f,this.fragmentSubject=C,this.dataSubject=M,this.outlet=S,this.component=L,this._futureSnapshot=q,this.title=this.dataSubject?.pipe((0,P.U)(xe=>xe[jt]))??(0,Z.of)(void 0),this.url=d,this.params=a,this.queryParams=f,this.fragment=C,this.data=M}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,P.U)(d=>yn(d)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe((0,P.U)(d=>yn(d)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function _n(u,d="emptyOnly"){const a=u.pathFromRoot;let f=0;if("always"!==d)for(f=a.length-1;f>=1;){const C=a[f],M=a[f-1];if(C.routeConfig&&""===C.routeConfig.path)f--;else{if(M.component)break;f--}}return function Pr(u){return u.reduce((d,a)=>({params:{...d.params,...a.params},data:{...d.data,...a.data},resolve:{...a.data,...d.resolve,...a.routeConfig?.data,...a._resolvedData}}),{params:{},data:{},resolve:{}})}(a.slice(f))}class Jt{get title(){return this.data?.[jt]}constructor(d,a,f,C,M,S,L,q,xe){this.url=d,this.params=a,this.queryParams=f,this.fragment=C,this.data=M,this.outlet=S,this.component=L,this.routeConfig=q,this._resolve=xe}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=yn(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=yn(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(f=>f.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class Fr extends bo{constructor(d,a){super(a),this.url=d,Rt(this,a)}toString(){return Mr(this._root)}}function Rt(u,d){d.value._routerState=u,d.children.forEach(a=>Rt(u,a))}function Mr(u){const d=u.children.length>0?` { ${u.children.map(Mr).join(", ")} } `:"";return`${u.value}${d}`}function Zn(u){if(u.snapshot){const d=u.snapshot,a=u._futureSnapshot;u.snapshot=a,ke(d.queryParams,a.queryParams)||u.queryParamsSubject.next(a.queryParams),d.fragment!==a.fragment&&u.fragmentSubject.next(a.fragment),ke(d.params,a.params)||u.paramsSubject.next(a.params),function Ut(u,d){if(u.length!==d.length)return!1;for(let a=0;ake(a.parameters,d[f].parameters))}(u.url,d.url);return a&&!(!u.parent!=!d.parent)&&(!u.parent||Je(u.parent,d.parent))}let mr=(()=>{class u{constructor(){this.activated=null,this._activatedRoute=null,this.name=Ie,this.activateEvents=new l.vpe,this.deactivateEvents=new l.vpe,this.attachEvents=new l.vpe,this.detachEvents=new l.vpe,this.parentContexts=(0,l.f3M)(tn),this.location=(0,l.f3M)(l.s_b),this.changeDetector=(0,l.f3M)(l.sBO),this.environmentInjector=(0,l.f3M)(l.lqb),this.inputBinder=(0,l.f3M)(yr,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(a){if(a.name){const{firstChange:f,previousValue:C}=a.name;if(f)return;this.isTrackedInParentContexts(C)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(C)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(a){return this.parentContexts.getContext(a)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const a=this.parentContexts.getContext(this.name);a?.route&&(a.attachRef?this.attach(a.attachRef,a.route):this.activateWith(a.route,a.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new l.vHH(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new l.vHH(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new l.vHH(4012,!1);this.location.detach();const a=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(a.instance),a}attach(a,f){this.activated=a,this._activatedRoute=f,this.location.insert(a.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(a.instance)}deactivate(){if(this.activated){const a=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(a)}}activateWith(a,f){if(this.isActivated)throw new l.vHH(4013,!1);this._activatedRoute=a;const C=this.location,S=a.snapshot.component,L=this.parentContexts.getOrCreateContext(this.name).children,q=new ko(a,L,C.injector);this.activated=C.createComponent(S,{index:C.length,injector:q,environmentInjector:f??this.environmentInjector}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}}return u.\u0275fac=function(a){return new(a||u)},u.\u0275dir=l.lG2({type:u,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[l.TTD]}),u})();class ko{constructor(d,a,f){this.route=d,this.childContexts=a,this.parent=f}get(d,a){return d===pt?this.route:d===tn?this.childContexts:this.parent.get(d,a)}}const yr=new l.OlP("");let Bt=(()=>{class u{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(a){this.unsubscribeFromRouteData(a),this.subscribeToRouteData(a)}unsubscribeFromRouteData(a){this.outletDataSubscriptions.get(a)?.unsubscribe(),this.outletDataSubscriptions.delete(a)}subscribeToRouteData(a){const{activatedRoute:f}=a,C=Ue([f.queryParams,f.params,f.data]).pipe((0,B.w)(([M,S,L],q)=>(L={...M,...S,...L},0===q?(0,Z.of)(L):Promise.resolve(L)))).subscribe(M=>{if(!a.isActivated||!a.activatedComponentRef||a.activatedRoute!==f||null===f.component)return void this.unsubscribeFromRouteData(a);const S=(0,l.qFp)(f.component);if(S)for(const{templateName:L}of S.inputs)a.activatedComponentRef.setInput(L,M[L]);else this.unsubscribeFromRouteData(a)});this.outletDataSubscriptions.set(a,C)}}return u.\u0275fac=function(a){return new(a||u)},u.\u0275prov=l.Yz7({token:u,factory:u.\u0275fac}),u})();function ir(u,d,a){if(a&&u.shouldReuseRoute(d.value,a.value.snapshot)){const f=a.value;f._futureSnapshot=d.value;const C=function Ln(u,d,a){return d.children.map(f=>{for(const C of a.children)if(u.shouldReuseRoute(f.value,C.value.snapshot))return ir(u,f,C);return ir(u,f)})}(u,d,a);return new or(f,C)}{if(u.shouldAttach(d.value)){const M=u.retrieve(d.value);if(null!==M){const S=M.route;return S.value._futureSnapshot=d.value,S.children=d.children.map(L=>ir(u,L)),S}}const f=function Lr(u){return new pt(new le.X(u.url),new le.X(u.params),new le.X(u.queryParams),new le.X(u.fragment),new le.X(u.data),u.outlet,u.component,u)}(d.value),C=d.children.map(M=>ir(u,M));return new or(f,C)}}const zr="ngNavigationCancelingError";function sr(u,d){const{redirectTo:a,navigationBehaviorOptions:f}=Nt(d)?{redirectTo:d,navigationBehaviorOptions:void 0}:d,C=dn(!1,0,d);return C.url=a,C.navigationBehaviorOptions=f,C}function dn(u,d,a){const f=new Error("NavigationCancelingError: "+(u||""));return f[zr]=!0,f.cancellationCode=d,a&&(f.url=a),f}function ao(u){return vr(u)&&Nt(u.url)}function vr(u){return u&&u[zr]}let ut=(()=>{class u{}return u.\u0275fac=function(a){return new(a||u)},u.\u0275cmp=l.Xpm({type:u,selectors:[["ng-component"]],standalone:!0,features:[l.jDz],decls:1,vars:0,template:function(a,f){1&a&&l._UZ(0,"router-outlet")},dependencies:[mr],encapsulation:2}),u})();function wn(u){const d=u.children&&u.children.map(wn),a=d?{...u,children:d}:{...u};return!a.component&&!a.loadComponent&&(d||a.loadChildren)&&a.outlet&&a.outlet!==Ie&&(a.component=ut),a}function Pt(u){return u.outlet||Ie}function kn(u){if(!u)return null;if(u.routeConfig?._injector)return u.routeConfig._injector;for(let d=u.parent;d;d=d.parent){const a=d.routeConfig;if(a?._loadedInjector)return a._loadedInjector;if(a?._injector)return a._injector}return null}class Ho{constructor(d,a,f,C,M){this.routeReuseStrategy=d,this.futureState=a,this.currState=f,this.forwardEvent=C,this.inputBindingEnabled=M}activate(d){const a=this.futureState._root,f=this.currState?this.currState._root:null;this.deactivateChildRoutes(a,f,d),Zn(this.futureState.root),this.activateChildRoutes(a,f,d)}deactivateChildRoutes(d,a,f){const C=gr(a);d.children.forEach(M=>{const S=M.value.outlet;this.deactivateRoutes(M,C[S],f),delete C[S]}),Object.values(C).forEach(M=>{this.deactivateRouteAndItsChildren(M,f)})}deactivateRoutes(d,a,f){const C=d.value,M=a?a.value:null;if(C===M)if(C.component){const S=f.getContext(C.outlet);S&&this.deactivateChildRoutes(d,a,S.children)}else this.deactivateChildRoutes(d,a,f);else M&&this.deactivateRouteAndItsChildren(a,f)}deactivateRouteAndItsChildren(d,a){d.value.component&&this.routeReuseStrategy.shouldDetach(d.value.snapshot)?this.detachAndStoreRouteSubtree(d,a):this.deactivateRouteAndOutlet(d,a)}detachAndStoreRouteSubtree(d,a){const f=a.getContext(d.value.outlet),C=f&&d.value.component?f.children:a,M=gr(d);for(const S of Object.keys(M))this.deactivateRouteAndItsChildren(M[S],C);if(f&&f.outlet){const S=f.outlet.detach(),L=f.children.onOutletDeactivated();this.routeReuseStrategy.store(d.value.snapshot,{componentRef:S,route:d,contexts:L})}}deactivateRouteAndOutlet(d,a){const f=a.getContext(d.value.outlet),C=f&&d.value.component?f.children:a,M=gr(d);for(const S of Object.keys(M))this.deactivateRouteAndItsChildren(M[S],C);f&&(f.outlet&&(f.outlet.deactivate(),f.children.onOutletDeactivated()),f.attachRef=null,f.route=null)}activateChildRoutes(d,a,f){const C=gr(a);d.children.forEach(M=>{this.activateRoutes(M,C[M.value.outlet],f),this.forwardEvent(new _t(M.value.snapshot))}),d.children.length&&this.forwardEvent(new Lo(d.value.snapshot))}activateRoutes(d,a,f){const C=d.value,M=a?a.value:null;if(Zn(C),C===M)if(C.component){const S=f.getOrCreateContext(C.outlet);this.activateChildRoutes(d,a,S.children)}else this.activateChildRoutes(d,a,f);else if(C.component){const S=f.getOrCreateContext(C.outlet);if(this.routeReuseStrategy.shouldAttach(C.snapshot)){const L=this.routeReuseStrategy.retrieve(C.snapshot);this.routeReuseStrategy.store(C.snapshot,null),S.children.onOutletReAttached(L.contexts),S.attachRef=L.componentRef,S.route=L.route.value,S.outlet&&S.outlet.attach(L.componentRef,L.route.value),Zn(L.route.value),this.activateChildRoutes(d,null,S.children)}else{const L=kn(C.snapshot);S.attachRef=null,S.route=C,S.injector=L,S.outlet&&S.outlet.activateWith(C,S.injector),this.activateChildRoutes(d,null,S.children)}}else this.activateChildRoutes(d,null,f)}}class Io{constructor(d){this.path=d,this.route=this.path[this.path.length-1]}}class lo{constructor(d,a){this.component=d,this.route=a}}function ha(u,d,a){const f=u._root;return Ao(f,d?d._root:null,a,[f.value])}function Yr(u,d){const a=Symbol(),f=d.get(u,a);return f===a?"function"!=typeof u||(0,l.Z0I)(u)?d.get(u):u:f}function Ao(u,d,a,f,C={canDeactivateChecks:[],canActivateChecks:[]}){const M=gr(d);return u.children.forEach(S=>{(function hs(u,d,a,f,C={canDeactivateChecks:[],canActivateChecks:[]}){const M=u.value,S=d?d.value:null,L=a?a.getContext(u.value.outlet):null;if(S&&M.routeConfig===S.routeConfig){const q=function pa(u,d,a){if("function"==typeof a)return a(u,d);switch(a){case"pathParamsChange":return!Kn(u.url,d.url);case"pathParamsOrQueryParamsChange":return!Kn(u.url,d.url)||!ke(u.queryParams,d.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Je(u,d)||!ke(u.queryParams,d.queryParams);default:return!Je(u,d)}}(S,M,M.routeConfig.runGuardsAndResolvers);q?C.canActivateChecks.push(new Io(f)):(M.data=S.data,M._resolvedData=S._resolvedData),Ao(u,d,M.component?L?L.children:null:a,f,C),q&&L&&L.outlet&&L.outlet.isActivated&&C.canDeactivateChecks.push(new lo(L.outlet.component,S))}else S&&Bo(d,L,C),C.canActivateChecks.push(new Io(f)),Ao(u,null,M.component?L?L.children:null:a,f,C)})(S,M[S.value.outlet],a,f.concat([S.value]),C),delete M[S.value.outlet]}),Object.entries(M).forEach(([S,L])=>Bo(L,a.getContext(S),C)),C}function Bo(u,d,a){const f=gr(u),C=u.value;Object.entries(f).forEach(([M,S])=>{Bo(S,C.component?d?d.children.getContext(M):null:d,a)}),a.canDeactivateChecks.push(new lo(C.component&&d&&d.outlet&&d.outlet.isActivated?d.outlet.component:null,C))}function kt(u){return"function"==typeof u}function Mn(u){return u instanceof Le||"EmptyError"===u?.name}const Dr=Symbol("INITIAL_VALUE");function qn(){return(0,B.w)(u=>Ue(u.map(d=>d.pipe(re(1),function Ce(...u){const d=(0,K.yG)(u);return(0,ht.e)((a,f)=>{(d?ce(u,a,d):ce(u,a)).subscribe(f)})}(Dr)))).pipe((0,P.U)(d=>{for(const a of d)if(!0!==a){if(a===Dr)return Dr;if(!1===a||a instanceof Gt)return a}return!0}),(0,de.h)(d=>d!==Dr),re(1)))}function ma(u){return(0,ye.z)(it(d=>{if(Nt(d))throw sr(0,d)}),(0,P.U)(d=>!0===d))}class Vn{constructor(d){this.segmentGroup=d||null}}class Uo{constructor(d){this.urlTree=d}}function Yt(u){return ie(new Vn(u))}function wi(u){return ie(new Uo(u))}class bi{constructor(d,a){this.urlSerializer=d,this.urlTree=a}noMatchError(d){return new l.vHH(4002,!1)}lineralizeSegments(d,a){let f=[],C=a.root;for(;;){if(f=f.concat(C.segments),0===C.numberOfChildren)return(0,Z.of)(f);if(C.numberOfChildren>1||!C.children[Ie])return ie(new l.vHH(4e3,!1));C=C.children[Ie]}}applyRedirectCommands(d,a,f){return this.applyRedirectCreateUrlTree(a,this.urlSerializer.parse(a),d,f)}applyRedirectCreateUrlTree(d,a,f,C){const M=this.createSegmentGroup(d,a.root,f,C);return new Gt(M,this.createQueryParams(a.queryParams,this.urlTree.queryParams),a.fragment)}createQueryParams(d,a){const f={};return Object.entries(d).forEach(([C,M])=>{if("string"==typeof M&&M.startsWith(":")){const L=M.substring(1);f[C]=a[L]}else f[C]=M}),f}createSegmentGroup(d,a,f,C){const M=this.createSegments(d,a.segments,f,C);let S={};return Object.entries(a.children).forEach(([L,q])=>{S[L]=this.createSegmentGroup(d,q,f,C)}),new ct(M,S)}createSegments(d,a,f,C){return a.map(M=>M.path.startsWith(":")?this.findPosParam(d,M,C):this.findOrReturn(M,f))}findPosParam(d,a,f){const C=f[a.path.substring(1)];if(!C)throw new l.vHH(4001,!1);return C}findOrReturn(d,a){let f=0;for(const C of a){if(C.path===d.path)return a.splice(f),C;f++}return d}}const No={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function ya(u,d,a,f,C){const M=Si(u,d,a);return M.matched?(f=function ni(u,d){return u.providers&&!u._injector&&(u._injector=(0,l.MMx)(u.providers,d,`Route: ${u.path}`)),u._injector??d}(d,f),function ms(u,d,a,f){const C=d.canMatch;if(!C||0===C.length)return(0,Z.of)(!0);const M=C.map(S=>{const L=Yr(S,u);return Qt(function G(u){return u&&kt(u.canMatch)}(L)?L.canMatch(d,a):u.runInContext(()=>L(d,a)))});return(0,Z.of)(M).pipe(qn(),ma())}(f,d,a).pipe((0,P.U)(S=>!0===S?M:{...No}))):(0,Z.of)(M)}function Si(u,d,a){if(""===d.path)return"full"===d.pathMatch&&(u.hasChildren()||a.length>0)?{...No}:{matched:!0,consumedSegments:[],remainingSegments:a,parameters:{},positionalParamSegments:{}};const C=(d.matcher||St)(a,u,d);if(!C)return{...No};const M={};Object.entries(C.posParams??{}).forEach(([L,q])=>{M[L]=q.path});const S=C.consumed.length>0?{...M,...C.consumed[C.consumed.length-1].parameters}:M;return{matched:!0,consumedSegments:C.consumed,remainingSegments:a.slice(C.consumed.length),parameters:S,positionalParamSegments:C.posParams??{}}}function Ii(u,d,a,f){return a.length>0&&function si(u,d,a){return a.some(f=>Ai(u,d,f)&&Pt(f)!==Ie)}(u,a,f)?{segmentGroup:new ct(d,ys(f,new ct(a,u.children))),slicedSegments:[]}:0===a.length&&function va(u,d,a){return a.some(f=>Ai(u,d,f))}(u,a,f)?{segmentGroup:new ct(u.segments,ii(u,0,a,f,u.children)),slicedSegments:a}:{segmentGroup:new ct(u.segments,u.children),slicedSegments:a}}function ii(u,d,a,f,C){const M={};for(const S of f)if(Ai(u,a,S)&&!C[Pt(S)]){const L=new ct([],{});M[Pt(S)]=L}return{...C,...M}}function ys(u,d){const a={};a[Ie]=d;for(const f of u)if(""===f.path&&Pt(f)!==Ie){const C=new ct([],{});a[Pt(f)]=C}return a}function Ai(u,d,a){return(!(u.hasChildren()||d.length>0)||"full"!==a.pathMatch)&&""===a.path}class Ca{constructor(d,a,f,C,M,S,L){this.injector=d,this.configLoader=a,this.rootComponentType=f,this.config=C,this.urlTree=M,this.paramsInheritanceStrategy=S,this.urlSerializer=L,this.allowRedirects=!0,this.applyRedirects=new bi(this.urlSerializer,this.urlTree)}noMatchError(d){return new l.vHH(4002,!1)}recognize(){const d=Ii(this.urlTree.root,[],[],this.config).segmentGroup;return this.processSegmentGroup(this.injector,this.config,d,Ie).pipe(Ht(a=>{if(a instanceof Uo)return this.allowRedirects=!1,this.urlTree=a.urlTree,this.match(a.urlTree);throw a instanceof Vn?this.noMatchError(a):a}),(0,P.U)(a=>{const f=new Jt([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},Ie,this.rootComponentType,null,{}),C=new or(f,a),M=new Fr("",C),S=function Wn(u,d,a=null,f=null){return pn(en(u),d,a,f)}(f,[],this.urlTree.queryParams,this.urlTree.fragment);return S.queryParams=this.urlTree.queryParams,M.url=this.urlSerializer.serialize(S),this.inheritParamsAndData(M._root),{state:M,tree:S}}))}match(d){return this.processSegmentGroup(this.injector,this.config,d.root,Ie).pipe(Ht(f=>{throw f instanceof Vn?this.noMatchError(f):f}))}inheritParamsAndData(d){const a=d.value,f=_n(a,this.paramsInheritanceStrategy);a.params=Object.freeze(f.params),a.data=Object.freeze(f.data),d.children.forEach(C=>this.inheritParamsAndData(C))}processSegmentGroup(d,a,f,C){return 0===f.segments.length&&f.hasChildren()?this.processChildren(d,a,f):this.processSegment(d,a,f,f.segments,C,!0)}processChildren(d,a,f){const C=[];for(const M of Object.keys(f.children))"primary"===M?C.unshift(M):C.push(M);return(0,z.D)(C).pipe((0,dt.b)(M=>{const S=f.children[M],L=function So(u,d){const a=u.filter(f=>Pt(f)===d);return a.push(...u.filter(f=>Pt(f)!==d)),a}(a,M);return this.processSegmentGroup(d,L,S,M)}),function nn(u,d){return(0,ht.e)(function mn(u,d,a,f,C){return(M,S)=>{let L=a,q=d,xe=0;M.subscribe((0,Pe.x)(S,Be=>{const bt=xe++;q=L?u(q,Be,bt):(L=!0,Be),f&&S.next(q)},C&&(()=>{L&&S.next(q),S.complete()})))}}(u,d,arguments.length>=2,!0))}((M,S)=>(M.push(...S),M)),Ve(null),function Un(u,d){const a=arguments.length>=2;return f=>f.pipe(u?(0,de.h)((C,M)=>u(C,M,f)):Ne.y,rn(1),a?Ve(d):zt(()=>new Le))}(),(0,Fe.z)(M=>{if(null===M)return Yt(f);const S=Ni(M);return function _a(u){u.sort((d,a)=>d.value.outlet===Ie?-1:a.value.outlet===Ie?1:d.value.outlet.localeCompare(a.value.outlet))}(S),(0,Z.of)(S)}))}processSegment(d,a,f,C,M,S){return(0,z.D)(a).pipe((0,dt.b)(L=>this.processSegmentAgainstRoute(L._injector??d,a,L,f,C,M,S).pipe(Ht(q=>{if(q instanceof Vn)return(0,Z.of)(null);throw q}))),Ct(L=>!!L),Ht(L=>{if(Mn(L))return function Da(u,d,a){return 0===d.length&&!u.children[a]}(f,C,M)?(0,Z.of)([]):Yt(f);throw L}))}processSegmentAgainstRoute(d,a,f,C,M,S,L){return function Uu(u,d,a,f){return!!(Pt(u)===f||f!==Ie&&Ai(d,a,u))&&("**"===u.path||Si(d,u,a).matched)}(f,C,M,S)?void 0===f.redirectTo?this.matchSegmentAgainstRoute(d,C,f,M,S,L):L&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(d,C,a,f,M,S):Yt(C):Yt(C)}expandSegmentAgainstRouteUsingRedirect(d,a,f,C,M,S){return"**"===C.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(d,f,C,S):this.expandRegularSegmentAgainstRouteUsingRedirect(d,a,f,C,M,S)}expandWildCardWithParamsAgainstRouteUsingRedirect(d,a,f,C){const M=this.applyRedirects.applyRedirectCommands([],f.redirectTo,{});return f.redirectTo.startsWith("/")?wi(M):this.applyRedirects.lineralizeSegments(f,M).pipe((0,Fe.z)(S=>{const L=new ct(S,{});return this.processSegment(d,a,L,S,C,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(d,a,f,C,M,S){const{matched:L,consumedSegments:q,remainingSegments:xe,positionalParamSegments:Be}=Si(a,C,M);if(!L)return Yt(a);const bt=this.applyRedirects.applyRedirectCommands(q,C.redirectTo,Be);return C.redirectTo.startsWith("/")?wi(bt):this.applyRedirects.lineralizeSegments(C,bt).pipe((0,Fe.z)(jn=>this.processSegment(d,f,a,jn.concat(xe),S,!1)))}matchSegmentAgainstRoute(d,a,f,C,M,S){let L;if("**"===f.path){const q=C.length>0?hr(C).parameters:{},xe=new Jt(C,q,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,p(f),Pt(f),f.component??f._loadedComponent??null,f,_(f));L=(0,Z.of)({snapshot:xe,consumedSegments:[],remainingSegments:[]}),a.children={}}else L=ya(a,f,C,d).pipe((0,P.U)(({matched:q,consumedSegments:xe,remainingSegments:Be,parameters:bt})=>q?{snapshot:new Jt(xe,bt,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,p(f),Pt(f),f.component??f._loadedComponent??null,f,_(f)),consumedSegments:xe,remainingSegments:Be}:null));return L.pipe((0,B.w)(q=>null===q?Yt(a):this.getChildConfig(d=f._injector??d,f,C).pipe((0,B.w)(({routes:xe})=>{const Be=f._loadedInjector??d,{snapshot:bt,consumedSegments:jn,remainingSegments:li}=q,{segmentGroup:zo,slicedSegments:Wo}=Ii(a,jn,li,xe);if(0===Wo.length&&zo.hasChildren())return this.processChildren(Be,xe,zo).pipe((0,P.U)(Jr=>null===Jr?null:[new or(bt,Jr)]));if(0===xe.length&&0===Wo.length)return(0,Z.of)([new or(bt,[])]);const As=Pt(f)===M;return this.processSegment(Be,xe,zo,Wo,As?Ie:M,!0).pipe((0,P.U)(Jr=>[new or(bt,Jr)]))}))))}getChildConfig(d,a,f){return a.children?(0,Z.of)({routes:a.children,injector:d}):a.loadChildren?void 0!==a._loadedRoutes?(0,Z.of)({routes:a._loadedRoutes,injector:a._loadedInjector}):function ga(u,d,a,f){const C=d.canLoad;if(void 0===C||0===C.length)return(0,Z.of)(!0);const M=C.map(S=>{const L=Yr(S,u);return Qt(function v(u){return u&&kt(u.canLoad)}(L)?L.canLoad(d,a):u.runInContext(()=>L(d,a)))});return(0,Z.of)(M).pipe(qn(),ma())}(d,a,f).pipe((0,Fe.z)(C=>C?this.configLoader.loadChildren(d,a).pipe(it(M=>{a._loadedRoutes=M.routes,a._loadedInjector=M.injector})):function Mi(u){return ie(dn(!1,3))}())):(0,Z.of)({routes:[],injector:d})}}function Ti(u){const d=u.value.routeConfig;return d&&""===d.path}function Ni(u){const d=[],a=new Set;for(const f of u){if(!Ti(f)){d.push(f);continue}const C=d.find(M=>f.value.routeConfig===M.value.routeConfig);void 0!==C?(C.children.push(...f.children),a.add(C)):d.push(f)}for(const f of a){const C=Ni(f.children);d.push(new or(f.value,C))}return d.filter(f=>!a.has(f))}function p(u){return u.data||{}}function _(u){return u.resolve||{}}function Tt(u){return"string"==typeof u.title||null===u.title}function qe(u){return(0,B.w)(d=>{const a=u(d);return a?(0,z.D)(a).pipe((0,P.U)(()=>d)):(0,Z.of)(d)})}const gt=new l.OlP("ROUTES");let rt=(()=>{class u{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=(0,l.f3M)(l.Sil)}loadComponent(a){if(this.componentLoaders.get(a))return this.componentLoaders.get(a);if(a._loadedComponent)return(0,Z.of)(a._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(a);const f=Qt(a.loadComponent()).pipe((0,P.U)(Ft),it(M=>{this.onLoadEndListener&&this.onLoadEndListener(a),a._loadedComponent=M}),(0,Er.x)(()=>{this.componentLoaders.delete(a)})),C=new gn(f,()=>new Se.x).pipe(mt());return this.componentLoaders.set(a,C),C}loadChildren(a,f){if(this.childrenLoaders.get(f))return this.childrenLoaders.get(f);if(f._loadedRoutes)return(0,Z.of)({routes:f._loadedRoutes,injector:f._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(f);const M=this.loadModuleFactoryOrRoutes(f.loadChildren).pipe((0,P.U)(L=>{this.onLoadEndListener&&this.onLoadEndListener(f);let q,xe;return Array.isArray(L)?xe=L:(q=L.create(a).injector,xe=q.get(gt,[],l.XFs.Self|l.XFs.Optional).flat()),{routes:xe.map(wn),injector:q}}),(0,Er.x)(()=>{this.childrenLoaders.delete(f)})),S=new gn(M,()=>new Se.x).pipe(mt());return this.childrenLoaders.set(f,S),S}loadModuleFactoryOrRoutes(a){return Qt(a()).pipe((0,P.U)(Ft),(0,Fe.z)(f=>f instanceof l.YKP||Array.isArray(f)?(0,Z.of)(f):(0,z.D)(this.compiler.compileModuleAsync(f))))}}return u.\u0275fac=function(a){return new(a||u)},u.\u0275prov=l.Yz7({token:u,factory:u.\u0275fac,providedIn:"root"}),u})();function Ft(u){return function Dt(u){return u&&"object"==typeof u&&"default"in u}(u)?u.default:u}let Kt=(()=>{class u{get hasRequestedNavigation(){return 0!==this.navigationId}constructor(){this.currentNavigation=null,this.lastSuccessfulNavigation=null,this.events=new Se.x,this.configLoader=(0,l.f3M)(rt),this.environmentInjector=(0,l.f3M)(l.lqb),this.urlSerializer=(0,l.f3M)(vn),this.rootContexts=(0,l.f3M)(tn),this.inputBindingEnabled=null!==(0,l.f3M)(yr,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>(0,Z.of)(void 0),this.rootComponentType=null,this.configLoader.onLoadEndListener=C=>this.events.next(new Fo(C)),this.configLoader.onLoadStartListener=C=>this.events.next(new io(C))}complete(){this.transitions?.complete()}handleNavigationRequest(a){const f=++this.navigationId;this.transitions?.next({...this.transitions.value,...a,id:f})}setupNavigations(a){return this.transitions=new le.X({id:0,currentUrlTree:a.currentUrlTree,currentRawUrl:a.currentUrlTree,extractedUrl:a.urlHandlingStrategy.extract(a.currentUrlTree),urlAfterRedirects:a.urlHandlingStrategy.extract(a.currentUrlTree),rawUrl:a.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:Ur,restoredState:null,currentSnapshot:a.routerState.snapshot,targetSnapshot:null,currentRouterState:a.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe((0,de.h)(f=>0!==f.id),(0,P.U)(f=>({...f,extractedUrl:a.urlHandlingStrategy.extract(f.rawUrl)})),(0,B.w)(f=>{let C=!1,M=!1;return(0,Z.of)(f).pipe(it(S=>{this.currentNavigation={id:S.id,initialUrl:S.rawUrl,extractedUrl:S.extractedUrl,trigger:S.source,extras:S.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null}}),(0,B.w)(S=>{const L=a.browserUrlTree.toString(),q=!a.navigated||S.extractedUrl.toString()!==L||L!==a.currentUrlTree.toString();if(!q&&"reload"!==(S.extras.onSameUrlNavigation??a.onSameUrlNavigation)){const Be="";return this.events.next(new Eo(S.id,a.serializeUrl(f.rawUrl),Be,0)),a.rawUrlTree=S.rawUrl,S.resolve(null),ee.E}if(a.urlHandlingStrategy.shouldProcessUrl(S.rawUrl))return Hn(S.source)&&(a.browserUrlTree=S.extractedUrl),(0,Z.of)(S).pipe((0,B.w)(Be=>{const bt=this.transitions?.getValue();return this.events.next(new Jo(Be.id,this.urlSerializer.serialize(Be.extractedUrl),Be.source,Be.restoredState)),bt!==this.transitions?.getValue()?ee.E:Promise.resolve(Be)}),function m(u,d,a,f,C,M){return(0,Fe.z)(S=>function vs(u,d,a,f,C,M,S="emptyOnly"){return new Ca(u,d,a,f,C,S,M).recognize()}(u,d,a,f,S.extractedUrl,C,M).pipe((0,P.U)(({state:L,tree:q})=>({...S,targetSnapshot:L,urlAfterRedirects:q}))))}(this.environmentInjector,this.configLoader,this.rootComponentType,a.config,this.urlSerializer,a.paramsInheritanceStrategy),it(Be=>{if(f.targetSnapshot=Be.targetSnapshot,f.urlAfterRedirects=Be.urlAfterRedirects,this.currentNavigation={...this.currentNavigation,finalUrl:Be.urlAfterRedirects},"eager"===a.urlUpdateStrategy){if(!Be.extras.skipLocationChange){const jn=a.urlHandlingStrategy.merge(Be.urlAfterRedirects,Be.rawUrl);a.setBrowserUrl(jn,Be)}a.browserUrlTree=Be.urlAfterRedirects}const bt=new vi(Be.id,this.urlSerializer.serialize(Be.extractedUrl),this.urlSerializer.serialize(Be.urlAfterRedirects),Be.targetSnapshot);this.events.next(bt)}));if(q&&a.urlHandlingStrategy.shouldProcessUrl(a.rawUrlTree)){const{id:Be,extractedUrl:bt,source:jn,restoredState:li,extras:zo}=S,Wo=new Jo(Be,this.urlSerializer.serialize(bt),jn,li);this.events.next(Wo);const As=Ae(0,this.rootComponentType).snapshot;return f={...S,targetSnapshot:As,urlAfterRedirects:bt,extras:{...zo,skipLocationChange:!1,replaceUrl:!1}},(0,Z.of)(f)}{const Be="";return this.events.next(new Eo(S.id,a.serializeUrl(f.extractedUrl),Be,1)),a.rawUrlTree=S.rawUrl,S.resolve(null),ee.E}}),it(S=>{const L=new Qo(S.id,this.urlSerializer.serialize(S.extractedUrl),this.urlSerializer.serialize(S.urlAfterRedirects),S.targetSnapshot);this.events.next(L)}),(0,P.U)(S=>f={...S,guards:ha(S.targetSnapshot,S.currentSnapshot,this.rootContexts)}),function To(u,d){return(0,Fe.z)(a=>{const{targetSnapshot:f,currentSnapshot:C,guards:{canActivateChecks:M,canDeactivateChecks:S}}=a;return 0===S.length&&0===M.length?(0,Z.of)({...a,guardsResult:!0}):function ur(u,d,a,f){return(0,z.D)(u).pipe((0,Fe.z)(C=>function Ei(u,d,a,f,C){const M=d&&d.routeConfig?d.routeConfig.canDeactivate:null;if(!M||0===M.length)return(0,Z.of)(!0);const S=M.map(L=>{const q=kn(d)??C,xe=Yr(L,q);return Qt(function b(u){return u&&kt(u.canDeactivate)}(xe)?xe.canDeactivate(u,d,a,f):q.runInContext(()=>xe(u,d,a,f))).pipe(Ct())});return(0,Z.of)(S).pipe(qn())}(C.component,C.route,a,d,f)),Ct(C=>!0!==C,!0))}(S,f,C,u).pipe((0,Fe.z)(L=>L&&function ps(u){return"boolean"==typeof u}(L)?function co(u,d,a,f){return(0,z.D)(d).pipe((0,dt.b)(C=>ce(function Ci(u,d){return null!==u&&d&&d(new wo(u)),(0,Z.of)(!0)}(C.route.parent,f),function jo(u,d){return null!==u&&d&&d(new Mo(u)),(0,Z.of)(!0)}(C.route,f),function _i(u,d,a){const f=d[d.length-1],M=d.slice(0,d.length-1).reverse().map(S=>function fs(u){const d=u.routeConfig?u.routeConfig.canActivateChild:null;return d&&0!==d.length?{node:u,guards:d}:null}(S)).filter(S=>null!==S).map(S=>Oe(()=>{const L=S.guards.map(q=>{const xe=kn(S.node)??a,Be=Yr(q,xe);return Qt(function g(u){return u&&kt(u.canActivateChild)}(Be)?Be.canActivateChild(f,u):xe.runInContext(()=>Be(f,u))).pipe(Ct())});return(0,Z.of)(L).pipe(qn())}));return(0,Z.of)(M).pipe(qn())}(u,C.path,a),function gs(u,d,a){const f=d.routeConfig?d.routeConfig.canActivate:null;if(!f||0===f.length)return(0,Z.of)(!0);const C=f.map(M=>Oe(()=>{const S=kn(d)??a,L=Yr(M,S);return Qt(function y(u){return u&&kt(u.canActivate)}(L)?L.canActivate(d,u):S.runInContext(()=>L(d,u))).pipe(Ct())}));return(0,Z.of)(C).pipe(qn())}(u,C.route,a))),Ct(C=>!0!==C,!0))}(f,M,u,d):(0,Z.of)(L)),(0,P.U)(L=>({...a,guardsResult:L})))})}(this.environmentInjector,S=>this.events.next(S)),it(S=>{if(f.guardsResult=S.guardsResult,Nt(S.guardsResult))throw sr(0,S.guardsResult);const L=new ei(S.id,this.urlSerializer.serialize(S.extractedUrl),this.urlSerializer.serialize(S.urlAfterRedirects),S.targetSnapshot,!!S.guardsResult);this.events.next(L)}),(0,de.h)(S=>!!S.guardsResult||(a.restoreHistory(S),this.cancelNavigationTransition(S,"",3),!1)),qe(S=>{if(S.guards.canActivateChecks.length)return(0,Z.of)(S).pipe(it(L=>{const q=new Po(L.id,this.urlSerializer.serialize(L.extractedUrl),this.urlSerializer.serialize(L.urlAfterRedirects),L.targetSnapshot);this.events.next(q)}),(0,B.w)(L=>{let q=!1;return(0,Z.of)(L).pipe(function w(u,d){return(0,Fe.z)(a=>{const{targetSnapshot:f,guards:{canActivateChecks:C}}=a;if(!C.length)return(0,Z.of)(a);let M=0;return(0,z.D)(C).pipe((0,dt.b)(S=>function T(u,d,a,f){const C=u.routeConfig,M=u._resolve;return void 0!==C?.title&&!Tt(C)&&(M[jt]=C.title),function U(u,d,a,f){const C=function W(u){return[...Object.keys(u),...Object.getOwnPropertySymbols(u)]}(u);if(0===C.length)return(0,Z.of)({});const M={};return(0,z.D)(C).pipe((0,Fe.z)(S=>function He(u,d,a,f){const C=kn(d)??f,M=Yr(u,C);return Qt(M.resolve?M.resolve(d,a):C.runInContext(()=>M(d,a)))}(u[S],d,a,f).pipe(Ct(),it(L=>{M[S]=L}))),rn(1),function Xt(u){return(0,P.U)(()=>u)}(M),Ht(S=>Mn(S)?ee.E:ie(S)))}(M,u,d,f).pipe((0,P.U)(S=>(u._resolvedData=S,u.data=_n(u,a).resolve,C&&Tt(C)&&(u.data[jt]=C.title),null)))}(S.route,f,u,d)),it(()=>M++),rn(1),(0,Fe.z)(S=>M===C.length?(0,Z.of)(a):ee.E))})}(a.paramsInheritanceStrategy,this.environmentInjector),it({next:()=>q=!0,complete:()=>{q||(a.restoreHistory(L),this.cancelNavigationTransition(L,"",2))}}))}),it(L=>{const q=new ti(L.id,this.urlSerializer.serialize(L.extractedUrl),this.urlSerializer.serialize(L.urlAfterRedirects),L.targetSnapshot);this.events.next(q)}))}),qe(S=>{const L=q=>{const xe=[];q.routeConfig?.loadComponent&&!q.routeConfig._loadedComponent&&xe.push(this.configLoader.loadComponent(q.routeConfig).pipe(it(Be=>{q.component=Be}),(0,P.U)(()=>{})));for(const Be of q.children)xe.push(...L(Be));return xe};return Ue(L(S.targetSnapshot.root)).pipe(Ve(),re(1))}),qe(()=>this.afterPreactivation()),(0,P.U)(S=>{const L=function so(u,d,a){const f=ir(u,d._root,a?a._root:void 0);return new qt(f,d)}(a.routeReuseStrategy,S.targetSnapshot,S.currentRouterState);return f={...S,targetRouterState:L}}),it(S=>{a.currentUrlTree=S.urlAfterRedirects,a.rawUrlTree=a.urlHandlingStrategy.merge(S.urlAfterRedirects,S.rawUrl),a.routerState=S.targetRouterState,"deferred"===a.urlUpdateStrategy&&(S.extras.skipLocationChange||a.setBrowserUrl(a.rawUrlTree,S),a.browserUrlTree=S.urlAfterRedirects)}),((u,d,a,f)=>(0,P.U)(C=>(new Ho(d,C.targetRouterState,C.currentRouterState,a,f).activate(u),C)))(this.rootContexts,a.routeReuseStrategy,S=>this.events.next(S),this.inputBindingEnabled),re(1),it({next:S=>{C=!0,this.lastSuccessfulNavigation=this.currentNavigation,a.navigated=!0,this.events.next(new Or(S.id,this.urlSerializer.serialize(S.extractedUrl),this.urlSerializer.serialize(a.currentUrlTree))),a.titleStrategy?.updateTitle(S.targetRouterState.snapshot),S.resolve(!0)},complete:()=>{C=!0}}),(0,Er.x)(()=>{C||M||this.cancelNavigationTransition(f,"",1),this.currentNavigation?.id===f.id&&(this.currentNavigation=null)}),Ht(S=>{if(M=!0,vr(S)){ao(S)||(a.navigated=!0,a.restoreHistory(f,!0));const L=new $r(f.id,this.urlSerializer.serialize(f.extractedUrl),S.message,S.cancellationCode);if(this.events.next(L),ao(S)){const q=a.urlHandlingStrategy.merge(S.url,a.rawUrlTree),xe={skipLocationChange:f.extras.skipLocationChange,replaceUrl:"eager"===a.urlUpdateStrategy||Hn(f.source)};a.scheduleNavigation(q,Ur,null,xe,{resolve:f.resolve,reject:f.reject,promise:f.promise})}else f.resolve(!1)}else{a.restoreHistory(f,!0);const L=new Fn(f.id,this.urlSerializer.serialize(f.extractedUrl),S,f.targetSnapshot??void 0);this.events.next(L);try{f.resolve(a.errorHandler(S))}catch(q){f.reject(q)}}return ee.E}))}))}cancelNavigationTransition(a,f,C){const M=new $r(a.id,this.urlSerializer.serialize(a.extractedUrl),f,C);this.events.next(M),a.resolve(!1)}}return u.\u0275fac=function(a){return new(a||u)},u.\u0275prov=l.Yz7({token:u,factory:u.\u0275fac,providedIn:"root"}),u})();function Hn(u){return u!==Ur}let Zt=(()=>{class u{buildTitle(a){let f,C=a.root;for(;void 0!==C;)f=this.getResolvedTitleForRoute(C)??f,C=C.children.find(M=>M.outlet===Ie);return f}getResolvedTitleForRoute(a){return a.data[jt]}}return u.\u0275fac=function(a){return new(a||u)},u.\u0275prov=l.Yz7({token:u,factory:function(){return(0,l.f3M)(fo)},providedIn:"root"}),u})(),fo=(()=>{class u extends Zt{constructor(a){super(),this.title=a}updateTitle(a){const f=this.buildTitle(a);void 0!==f&&this.title.setTitle(f)}}return u.\u0275fac=function(a){return new(a||u)(l.LFG(ln.Dx))},u.\u0275prov=l.Yz7({token:u,factory:u.\u0275fac,providedIn:"root"}),u})(),lr=(()=>{class u{}return u.\u0275fac=function(a){return new(a||u)},u.\u0275prov=l.Yz7({token:u,factory:function(){return(0,l.f3M)(Bn)},providedIn:"root"}),u})();class Kr{shouldDetach(d){return!1}store(d,a){}shouldAttach(d){return!1}retrieve(d){return null}shouldReuseRoute(d,a){return d.routeConfig===a.routeConfig}}let Bn=(()=>{class u extends Kr{}return u.\u0275fac=function(){let d;return function(f){return(d||(d=l.n5z(u)))(f||u)}}(),u.\u0275prov=l.Yz7({token:u,factory:u.\u0275fac,providedIn:"root"}),u})();const Cr=new l.OlP("",{providedIn:"root",factory:()=>({})});let $u=(()=>{class u{}return u.\u0275fac=function(a){return new(a||u)},u.\u0275prov=l.Yz7({token:u,factory:function(){return(0,l.f3M)(Ea)},providedIn:"root"}),u})(),Ea=(()=>{class u{shouldProcessUrl(a){return!0}extract(a){return a}merge(a,f){return a}}return u.\u0275fac=function(a){return new(a||u)},u.\u0275prov=l.Yz7({token:u,factory:u.\u0275fac,providedIn:"root"}),u})();var Xn=(()=>((Xn=Xn||{})[Xn.COMPLETE=0]="COMPLETE",Xn[Xn.FAILED=1]="FAILED",Xn[Xn.REDIRECTING=2]="REDIRECTING",Xn))();function Ds(u,d){u.events.pipe((0,de.h)(a=>a instanceof Or||a instanceof $r||a instanceof Fn||a instanceof Eo),(0,P.U)(a=>a instanceof Or||a instanceof Eo?Xn.COMPLETE:a instanceof $r&&(0===a.code||1===a.code)?Xn.REDIRECTING:Xn.FAILED),(0,de.h)(a=>a!==Xn.REDIRECTING),re(1)).subscribe(()=>{d()})}function Gu(u){throw u}function tt(u,d,a){return d.parse("/")}const wa={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},yd={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let cr=(()=>{class u{get navigationId(){return this.navigationTransitions.navigationId}get browserPageId(){if("computed"===this.canceledNavigationResolution)return this.location.getState()?.\u0275routerPageId}get events(){return this.navigationTransitions.events}constructor(){this.disposed=!1,this.currentPageId=0,this.console=(0,l.f3M)(l.c2e),this.isNgZoneEnabled=!1,this.options=(0,l.f3M)(Cr,{optional:!0})||{},this.pendingTasks=(0,l.f3M)(l.HDt),this.errorHandler=this.options.errorHandler||Gu,this.malformedUriErrorHandler=this.options.malformedUriErrorHandler||tt,this.navigated=!1,this.lastSuccessfulId=-1,this.urlHandlingStrategy=(0,l.f3M)($u),this.routeReuseStrategy=(0,l.f3M)(lr),this.titleStrategy=(0,l.f3M)(Zt),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.config=(0,l.f3M)(gt,{optional:!0})?.flat()??[],this.navigationTransitions=(0,l.f3M)(Kt),this.urlSerializer=(0,l.f3M)(vn),this.location=(0,l.f3M)(j.Ye),this.componentInputBindingEnabled=!!(0,l.f3M)(yr,{optional:!0}),this.isNgZoneEnabled=(0,l.f3M)(l.R0b)instanceof l.R0b&&l.R0b.isInAngularZone(),this.resetConfig(this.config),this.currentUrlTree=new Gt,this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.routerState=Ae(0,null),this.navigationTransitions.setupNavigations(this).subscribe(a=>{this.lastSuccessfulId=a.id,this.currentPageId=this.browserPageId??0},a=>{this.console.warn(`Unhandled Navigation Error: ${a}`)})}resetRootComponentType(a){this.routerState.root.component=a,this.navigationTransitions.rootComponentType=a}initialNavigation(){if(this.setUpLocationChangeListener(),!this.navigationTransitions.hasRequestedNavigation){const a=this.location.getState();this.navigateToSyncWithBrowser(this.location.path(!0),Ur,a)}}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(a=>{const f="popstate"===a.type?"popstate":"hashchange";"popstate"===f&&setTimeout(()=>{this.navigateToSyncWithBrowser(a.url,f,a.state)},0)}))}navigateToSyncWithBrowser(a,f,C){const M={replaceUrl:!0},S=C?.navigationId?C:null;if(C){const q={...C};delete q.navigationId,delete q.\u0275routerPageId,0!==Object.keys(q).length&&(M.state=q)}const L=this.parseUrl(a);this.scheduleNavigation(L,f,S,M)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(a){this.config=a.map(wn),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0}createUrlTree(a,f={}){const{relativeTo:C,queryParams:M,fragment:S,queryParamsHandling:L,preserveFragment:q}=f,xe=q?this.currentUrlTree.fragment:S;let bt,Be=null;switch(L){case"merge":Be={...this.currentUrlTree.queryParams,...M};break;case"preserve":Be=this.currentUrlTree.queryParams;break;default:Be=M||null}null!==Be&&(Be=this.removeEmptyProps(Be));try{bt=en(C?C.snapshot:this.routerState.snapshot.root)}catch{("string"!=typeof a[0]||!a[0].startsWith("/"))&&(a=[]),bt=this.currentUrlTree.root}return pn(bt,a,Be,xe??null)}navigateByUrl(a,f={skipLocationChange:!1}){const C=Nt(a)?a:this.parseUrl(a),M=this.urlHandlingStrategy.merge(C,this.rawUrlTree);return this.scheduleNavigation(M,Ur,null,f)}navigate(a,f={skipLocationChange:!1}){return function zu(u){for(let d=0;d{const M=a[C];return null!=M&&(f[C]=M),f},{})}scheduleNavigation(a,f,C,M,S){if(this.disposed)return Promise.resolve(!1);let L,q,xe;S?(L=S.resolve,q=S.reject,xe=S.promise):xe=new Promise((bt,jn)=>{L=bt,q=jn});const Be=this.pendingTasks.add();return Ds(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(Be))}),this.navigationTransitions.handleNavigationRequest({source:f,restoredState:C,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:a,extras:M,resolve:L,reject:q,promise:xe,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),xe.catch(bt=>Promise.reject(bt))}setBrowserUrl(a,f){const C=this.urlSerializer.serialize(a);if(this.location.isCurrentPathEqualTo(C)||f.extras.replaceUrl){const S={...f.extras.state,...this.generateNgRouterState(f.id,this.browserPageId)};this.location.replaceState(C,"",S)}else{const M={...f.extras.state,...this.generateNgRouterState(f.id,(this.browserPageId??0)+1)};this.location.go(C,"",M)}}restoreHistory(a,f=!1){if("computed"===this.canceledNavigationResolution){const M=this.currentPageId-(this.browserPageId??this.currentPageId);0!==M?this.location.historyGo(M):this.currentUrlTree===this.getCurrentNavigation()?.finalUrl&&0===M&&(this.resetState(a),this.browserUrlTree=a.currentUrlTree,this.resetUrlToCurrentUrlTree())}else"replace"===this.canceledNavigationResolution&&(f&&this.resetState(a),this.resetUrlToCurrentUrlTree())}resetState(a){this.routerState=a.currentRouterState,this.currentUrlTree=a.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,a.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(a,f){return"computed"===this.canceledNavigationResolution?{navigationId:a,\u0275routerPageId:f}:{navigationId:a}}}return u.\u0275fac=function(a){return new(a||u)},u.\u0275prov=l.Yz7({token:u,factory:u.\u0275fac,providedIn:"root"}),u})();class ba{}let Wu=(()=>{class u{constructor(a,f,C,M,S){this.router=a,this.injector=C,this.preloadingStrategy=M,this.loader=S}setUpPreloading(){this.subscription=this.router.events.pipe((0,de.h)(a=>a instanceof Or),(0,dt.b)(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(a,f){const C=[];for(const M of f){M.providers&&!M._injector&&(M._injector=(0,l.MMx)(M.providers,a,`Route: ${M.path}`));const S=M._injector??a,L=M._loadedInjector??S;(M.loadChildren&&!M._loadedRoutes&&void 0===M.canLoad||M.loadComponent&&!M._loadedComponent)&&C.push(this.preloadConfig(S,M)),(M.children||M._loadedRoutes)&&C.push(this.processRoutes(L,M.children??M._loadedRoutes))}return(0,z.D)(C).pipe((0,st.J)())}preloadConfig(a,f){return this.preloadingStrategy.preload(f,()=>{let C;C=f.loadChildren&&void 0===f.canLoad?this.loader.loadChildren(a,f):(0,Z.of)(null);const M=C.pipe((0,Fe.z)(S=>null===S?(0,Z.of)(void 0):(f._loadedRoutes=S.routes,f._loadedInjector=S.injector,this.processRoutes(S.injector??a,S.routes))));if(f.loadComponent&&!f._loadedComponent){const S=this.loader.loadComponent(f);return(0,z.D)([M,S]).pipe((0,st.J)())}return M})}}return u.\u0275fac=function(a){return new(a||u)(l.LFG(cr),l.LFG(l.Sil),l.LFG(l.lqb),l.LFG(ba),l.LFG(rt))},u.\u0275prov=l.Yz7({token:u,factory:u.\u0275fac,providedIn:"root"}),u})();const _s=new l.OlP("");let oe=(()=>{class u{constructor(a,f,C,M,S={}){this.urlSerializer=a,this.transitions=f,this.viewportScroller=C,this.zone=M,this.options=S,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},S.scrollPositionRestoration=S.scrollPositionRestoration||"disabled",S.anchorScrolling=S.anchorScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(a=>{a instanceof Jo?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=a.navigationTrigger,this.restoredId=a.restoredState?a.restoredState.navigationId:0):a instanceof Or?(this.lastId=a.id,this.scheduleScrollEvent(a,this.urlSerializer.parse(a.urlAfterRedirects).fragment)):a instanceof Eo&&0===a.code&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(a,this.urlSerializer.parse(a.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(a=>{a instanceof cn&&(a.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(a.position):a.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(a.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(a,f){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new cn(a,"popstate"===this.lastSource?this.store[this.restoredId]:null,f))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}}return u.\u0275fac=function(a){l.$Z()},u.\u0275prov=l.Yz7({token:u,factory:u.\u0275fac}),u})();function Mt(u,...d){return(0,l.MR2)([{provide:gt,multi:!0,useValue:u},[],{provide:pt,useFactory:Sa,deps:[cr]},{provide:l.tb,multi:!0,useFactory:Oi},d.map(a=>a.\u0275providers)])}function Sa(u){return u.routerState.root}function Zr(u,d){return{\u0275kind:u,\u0275providers:d}}function Oi(){const u=(0,l.f3M)(l.zs3);return d=>{const a=u.get(l.z2F);if(d!==a.components[0])return;const f=u.get(cr),C=u.get(xi);1===u.get(Es)&&f.initialNavigation(),u.get(kr,null,l.XFs.Optional)?.setUpPreloading(),u.get(_s,null,l.XFs.Optional)?.init(),f.resetRootComponentType(a.componentTypes[0]),C.closed||(C.next(),C.complete(),C.unsubscribe())}}const xi=new l.OlP("",{factory:()=>new Se.x}),Es=new l.OlP("",{providedIn:"root",factory:()=>1}),kr=new l.OlP("");function Aa(u){return Zr(0,[{provide:kr,useExisting:Wu},{provide:ba,useExisting:u}])}const Na=new l.OlP("ROUTER_FORROOT_GUARD"),ws=[j.Ye,{provide:vn,useClass:Sn},cr,tn,{provide:pt,useFactory:Sa,deps:[cr]},rt,[]];function Ms(){return new l.PXZ("Router",cr)}let Ra=(()=>{class u{constructor(a){}static forRoot(a,f){return{ngModule:u,providers:[ws,[],{provide:gt,multi:!0,useValue:a},{provide:Na,useFactory:Ss,deps:[[cr,new l.FiY,new l.tp0]]},{provide:Cr,useValue:f||{}},f?.useHash?{provide:j.S$,useClass:j.Do}:{provide:j.S$,useClass:j.b0},{provide:_s,useFactory:()=>{const u=(0,l.f3M)(j.EM),d=(0,l.f3M)(l.R0b),a=(0,l.f3M)(Cr),f=(0,l.f3M)(Kt),C=(0,l.f3M)(vn);return a.scrollOffset&&u.setOffset(a.scrollOffset),new oe(C,f,u,d,a)}},f?.preloadingStrategy?Aa(f.preloadingStrategy).\u0275providers:[],{provide:l.PXZ,multi:!0,useFactory:Ms},f?.initialNavigation?xa(f):[],f?.bindToComponentInputs?Zr(8,[Bt,{provide:yr,useExisting:Bt}]).\u0275providers:[],[{provide:Is,useFactory:Oi},{provide:l.tb,multi:!0,useExisting:Is}]]}}static forChild(a){return{ngModule:u,providers:[{provide:gt,multi:!0,useValue:a}]}}}return u.\u0275fac=function(a){return new(a||u)(l.LFG(Na,8))},u.\u0275mod=l.oAB({type:u}),u.\u0275inj=l.cJS({}),u})();function Ss(u){return"guarded"}function xa(u){return["disabled"===u.initialNavigation?Zr(3,[{provide:l.ip1,multi:!0,useFactory:()=>{const d=(0,l.f3M)(cr);return()=>{d.setUpLocationChangeListener()}}},{provide:Es,useValue:2}]).\u0275providers:[],"enabledBlocking"===u.initialNavigation?Zr(2,[{provide:Es,useValue:0},{provide:l.ip1,multi:!0,deps:[l.zs3],useFactory:d=>{const a=d.get(j.V_,Promise.resolve());return()=>a.then(()=>new Promise(f=>{const C=d.get(cr),M=d.get(xi);Ds(C,()=>{f(!0)}),d.get(Kt).afterPreactivation=()=>(f(!0),M.closed?(0,Z.of)(void 0):M),C.initialNavigation()}))}}]).\u0275providers:[]]}const Is=new l.OlP("")},7582:(Xe,fe,A)=>{function he(j,P,B,re){return new(B||(B=Promise))(function(de,Fe){function Ve(Ct){try{Ye(re.next(Ct))}catch(dt){Fe(dt)}}function zt(Ct){try{Ye(re.throw(Ct))}catch(dt){Fe(dt)}}function Ye(Ct){Ct.done?de(Ct.value):function Ce(de){return de instanceof B?de:new B(function(Fe){Fe(de)})}(Ct.value).then(Ve,zt)}Ye((re=re.apply(j,P||[])).next())})}function te(j){return this instanceof te?(this.v=j,this):new te(j)}function ce(j,P,B){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var Ce,re=B.apply(j,P||[]),de=[];return Ce={},Fe("next"),Fe("throw"),Fe("return"),Ce[Symbol.asyncIterator]=function(){return this},Ce;function Fe(it){re[it]&&(Ce[it]=function(Ht){return new Promise(function(mn,nn){de.push([it,Ht,mn,nn])>1||Ve(it,Ht)})})}function Ve(it,Ht){try{!function zt(it){it.value instanceof te?Promise.resolve(it.value.v).then(Ye,Ct):dt(de[0][2],it)}(re[it](Ht))}catch(mn){dt(de[0][3],mn)}}function Ye(it){Ve("next",it)}function Ct(it){Ve("throw",it)}function dt(it,Ht){it(Ht),de.shift(),de.length&&Ve(de[0][0],de[0][1])}}function Oe(j){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var B,P=j[Symbol.asyncIterator];return P?P.call(j):(j=function ft(j){var P="function"==typeof Symbol&&Symbol.iterator,B=P&&j[P],re=0;if(B)return B.call(j);if(j&&"number"==typeof j.length)return{next:function(){return j&&re>=j.length&&(j=void 0),{value:j&&j[re++],done:!j}}};throw new TypeError(P?"Object is not iterable.":"Symbol.iterator is not defined.")}(j),B={},re("next"),re("throw"),re("return"),B[Symbol.asyncIterator]=function(){return this},B);function re(de){B[de]=j[de]&&function(Fe){return new Promise(function(Ve,zt){!function Ce(de,Fe,Ve,zt){Promise.resolve(zt).then(function(Ye){de({value:Ye,done:Ve})},Fe)}(Ve,zt,(Fe=j[de](Fe)).done,Fe.value)})}}}A.d(fe,{FC:()=>ce,KL:()=>Oe,mG:()=>he,qq:()=>te})}},Xe=>{Xe(Xe.s=6631)}]); \ No newline at end of file