@ngageoint/mage.web-app 6.5.16 → 6.6.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[179],{54121:(et,me,m)=>{m.d(me,{X:()=>v});var f=m(38023);class v extends f.x{constructor(P){super(),this._value=P}get value(){return this.getValue()}_subscribe(P){const x=super._subscribe(P);return!x.closed&&P.next(this._value),x}getValue(){const{hasError:P,thrownError:x,_value:N}=this;if(P)throw x;return this._throwIfClosed(),N}next(P){super.next(this._value=P)}}},87241:(et,me,m)=>{m.d(me,{y:()=>G});var f=m(94021),v=m(14813),T=m(43122),P=m(17824),x=m(42046),N=m(35975),te=m(1519);let G=(()=>{class U{constructor(Me){Me&&(this._subscribe=Me)}lift(Me){const ye=new U;return ye.source=this,ye.operator=Me,ye}subscribe(Me,ye,he){const ie=function z(U){return U&&U instanceof f.Lv||function H(U){return U&&(0,N.m)(U.next)&&(0,N.m)(U.error)&&(0,N.m)(U.complete)}(U)&&(0,v.Nn)(U)}(Me)?Me:new f.Hp(Me,ye,he);return(0,te.x)(()=>{const{operator:Ie,source:rt}=this;ie.add(Ie?Ie.call(ie,rt):rt?this._subscribe(ie):this._trySubscribe(ie))}),ie}_trySubscribe(Me){try{return this._subscribe(Me)}catch(ye){Me.error(ye)}}forEach(Me,ye){return new(ye=Y(ye))((he,ie)=>{const Ie=new f.Hp({next:rt=>{try{Me(rt)}catch(it){ie(it),Ie.unsubscribe()}},error:ie,complete:he});this.subscribe(Ie)})}_subscribe(Me){var ye;return null===(ye=this.source)||void 0===ye?void 0:ye.subscribe(Me)}[T.L](){return this}pipe(...Me){return(0,P.U)(Me)(this)}toPromise(Me){return new(Me=Y(Me))((ye,he)=>{let ie;this.subscribe(Ie=>ie=Ie,Ie=>he(Ie),()=>ye(ie))})}}return U.create=Ae=>new U(Ae),U})();function Y(U){var Ae;return null!==(Ae=U??x.v.Promise)&&void 0!==Ae?Ae:Promise}},5557:(et,me,m)=>{m.d(me,{t:()=>T});var f=m(38023),v=m(32069);class T extends f.x{constructor(x=1/0,N=1/0,te=v.l){super(),this._bufferSize=x,this._windowTime=N,this._timestampProvider=te,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=N===1/0,this._bufferSize=Math.max(1,x),this._windowTime=Math.max(1,N)}next(x){const{isStopped:N,_buffer:te,_infiniteTimeWindow:G,_timestampProvider:Y,_windowTime:H}=this;N||(te.push(x),!G&&te.push(Y.now()+H)),this._trimBuffer(),super.next(x)}_subscribe(x){this._throwIfClosed(),this._trimBuffer();const N=this._innerSubscribe(x),{_infiniteTimeWindow:te,_buffer:G}=this,Y=G.slice();for(let H=0;H<Y.length&&!x.closed;H+=te?1:2)x.next(Y[H]);return this._checkFinalizedStatuses(x),N}_trimBuffer(){const{_bufferSize:x,_timestampProvider:N,_buffer:te,_infiniteTimeWindow:G}=this,Y=(G?1:2)*x;if(x<1/0&&Y<te.length&&te.splice(0,te.length-Y),!G){const H=N.now();let z=0;for(let U=1;U<te.length&&te[U]<=H;U+=2)z=U;z&&te.splice(0,z+1)}}}},38023:(et,me,m)=>{m.d(me,{x:()=>te});var f=m(87241),v=m(14813);const P=(0,m(95776).d)(Y=>function(){Y(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var x=m(78308),N=m(1519);let te=(()=>{class Y extends f.y{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(z){const U=new G(this,this);return U.operator=z,U}_throwIfClosed(){if(this.closed)throw new P}next(z){(0,N.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const U of this.currentObservers)U.next(z)}})}error(z){(0,N.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=z;const{observers:U}=this;for(;U.length;)U.shift().error(z)}})}complete(){(0,N.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:z}=this;for(;z.length;)z.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var z;return(null===(z=this.observers)||void 0===z?void 0:z.length)>0}_trySubscribe(z){return this._throwIfClosed(),super._trySubscribe(z)}_subscribe(z){return this._throwIfClosed(),this._checkFinalizedStatuses(z),this._innerSubscribe(z)}_innerSubscribe(z){const{hasError:U,isStopped:Ae,observers:Me}=this;return U||Ae?v.Lc:(this.currentObservers=null,Me.push(z),new v.w0(()=>{this.currentObservers=null,(0,x.P)(Me,z)}))}_checkFinalizedStatuses(z){const{hasError:U,thrownError:Ae,isStopped:Me}=this;U?z.error(Ae):Me&&z.complete()}asObservable(){const z=new f.y;return z.source=this,z}}return Y.create=(H,z)=>new G(H,z),Y})();class G extends te{constructor(H,z){super(),this.destination=H,this.source=z}next(H){var z,U;null===(U=null===(z=this.destination)||void 0===z?void 0:z.next)||void 0===U||U.call(z,H)}error(H){var z,U;null===(U=null===(z=this.destination)||void 0===z?void 0:z.error)||void 0===U||U.call(z,H)}complete(){var H,z;null===(z=null===(H=this.destination)||void 0===H?void 0:H.complete)||void 0===z||z.call(H)}_subscribe(H){var z,U;return null!==(U=null===(z=this.source)||void 0===z?void 0:z.subscribe(H))&&void 0!==U?U:v.Lc}}},94021:(et,me,m)=>{m.d(me,{Hp:()=>he,Lv:()=>U});var f=m(35975),v=m(14813),T=m(42046),P=m(34922),x=m(408);const N=Y("C",void 0,void 0);function Y(Pe,Q,ve){return{kind:Pe,value:Q,error:ve}}var H=m(84146),z=m(1519);class U extends v.w0{constructor(Q){super(),this.isStopped=!1,Q?(this.destination=Q,(0,v.Nn)(Q)&&Q.add(this)):this.destination=it}static create(Q,ve,de){return new he(Q,ve,de)}next(Q){this.isStopped?rt(function G(Pe){return Y("N",Pe,void 0)}(Q),this):this._next(Q)}error(Q){this.isStopped?rt(function te(Pe){return Y("E",void 0,Pe)}(Q),this):(this.isStopped=!0,this._error(Q))}complete(){this.isStopped?rt(N,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(Q){this.destination.next(Q)}_error(Q){try{this.destination.error(Q)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const Ae=Function.prototype.bind;function Me(Pe,Q){return Ae.call(Pe,Q)}class ye{constructor(Q){this.partialObserver=Q}next(Q){const{partialObserver:ve}=this;if(ve.next)try{ve.next(Q)}catch(de){ie(de)}}error(Q){const{partialObserver:ve}=this;if(ve.error)try{ve.error(Q)}catch(de){ie(de)}else ie(Q)}complete(){const{partialObserver:Q}=this;if(Q.complete)try{Q.complete()}catch(ve){ie(ve)}}}class he extends U{constructor(Q,ve,de){let Oe;if(super(),(0,f.m)(Q)||!Q)Oe={next:Q??void 0,error:ve??void 0,complete:de??void 0};else{let ze;this&&T.v.useDeprecatedNextContext?(ze=Object.create(Q),ze.unsubscribe=()=>this.unsubscribe(),Oe={next:Q.next&&Me(Q.next,ze),error:Q.error&&Me(Q.error,ze),complete:Q.complete&&Me(Q.complete,ze)}):Oe=Q}this.destination=new ye(Oe)}}function ie(Pe){T.v.useDeprecatedSynchronousErrorHandling?(0,z.O)(Pe):(0,P.h)(Pe)}function rt(Pe,Q){const{onStoppedNotification:ve}=T.v;ve&&H.z.setTimeout(()=>ve(Pe,Q))}const it={closed:!0,next:x.Z,error:function Ie(Pe){throw Pe},complete:x.Z}},14813:(et,me,m)=>{m.d(me,{Lc:()=>N,w0:()=>x,Nn:()=>te});var f=m(35975);const T=(0,m(95776).d)(Y=>function(z){Y(this),this.message=z?`${z.length} errors occurred during unsubscription:\n${z.map((U,Ae)=>`${Ae+1}) ${U.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=z});var P=m(78308);class x{constructor(H){this.initialTeardown=H,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let H;if(!this.closed){this.closed=!0;const{_parentage:z}=this;if(z)if(this._parentage=null,Array.isArray(z))for(const Me of z)Me.remove(this);else z.remove(this);const{initialTeardown:U}=this;if((0,f.m)(U))try{U()}catch(Me){H=Me instanceof T?Me.errors:[Me]}const{_finalizers:Ae}=this;if(Ae){this._finalizers=null;for(const Me of Ae)try{G(Me)}catch(ye){H=H??[],ye instanceof T?H=[...H,...ye.errors]:H.push(ye)}}if(H)throw new T(H)}}add(H){var z;if(H&&H!==this)if(this.closed)G(H);else{if(H instanceof x){if(H.closed||H._hasParent(this))return;H._addParent(this)}(this._finalizers=null!==(z=this._finalizers)&&void 0!==z?z:[]).push(H)}}_hasParent(H){const{_parentage:z}=this;return z===H||Array.isArray(z)&&z.includes(H)}_addParent(H){const{_parentage:z}=this;this._parentage=Array.isArray(z)?(z.push(H),z):z?[z,H]:H}_removeParent(H){const{_parentage:z}=this;z===H?this._parentage=null:Array.isArray(z)&&(0,P.P)(z,H)}remove(H){const{_finalizers:z}=this;z&&(0,P.P)(z,H),H instanceof x&&H._removeParent(this)}}x.EMPTY=(()=>{const Y=new x;return Y.closed=!0,Y})();const N=x.EMPTY;function te(Y){return Y instanceof x||Y&&"closed"in Y&&(0,f.m)(Y.remove)&&(0,f.m)(Y.add)&&(0,f.m)(Y.unsubscribe)}function G(Y){(0,f.m)(Y)?Y():Y.unsubscribe()}},42046:(et,me,m)=>{m.d(me,{v:()=>f});const f={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},50561:(et,me,m)=>{m.d(me,{c:()=>N});var f=m(87241),v=m(14813),T=m(34601),P=m(28499),x=m(32085);class N extends f.y{constructor(G,Y){super(),this.source=G,this.subjectFactory=Y,this._subject=null,this._refCount=0,this._connection=null,(0,x.A)(G)&&(this.lift=G.lift)}_subscribe(G){return this.getSubject().subscribe(G)}getSubject(){const G=this._subject;return(!G||G.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:G}=this;this._subject=this._connection=null,G?.unsubscribe()}connect(){let G=this._connection;if(!G){G=this._connection=new v.w0;const Y=this.getSubject();G.add(this.source.subscribe((0,P.x)(Y,void 0,()=>{this._teardown(),Y.complete()},H=>{this._teardown(),Y.error(H)},()=>this._teardown()))),G.closed&&(this._connection=null,G=v.w0.EMPTY)}return G}refCount(){return(0,T.x)()(this)}}},15696:(et,me,m)=>{m.d(me,{a:()=>H});var f=m(87241),v=m(20447),T=m(66393),P=m(68330),x=m(52692),N=m(46651),te=m(89299),G=m(28499),Y=m(16903);function H(...Ae){const Me=(0,N.yG)(Ae),ye=(0,N.jO)(Ae),{args:he,keys:ie}=(0,v.D)(Ae);if(0===he.length)return(0,T.D)([],Me);const Ie=new f.y(function z(Ae,Me,ye=P.y){return he=>{U(Me,()=>{const{length:ie}=Ae,Ie=new Array(ie);let rt=ie,it=ie;for(let Pe=0;Pe<ie;Pe++)U(Me,()=>{const Q=(0,T.D)(Ae[Pe],Me);let ve=!1;Q.subscribe((0,G.x)(he,de=>{Ie[Pe]=de,ve||(ve=!0,it--),it||he.next(ye(Ie.slice()))},()=>{--rt||he.complete()}))},he)},he)}}(he,Me,ie?rt=>(0,te.n)(ie,rt):P.y));return ye?Ie.pipe((0,x.Z)(ye)):Ie}function U(Ae,Me,ye){Ae?(0,Y.f)(ye,Ae,Me):Me()}},83729:(et,me,m)=>{m.d(me,{z:()=>x});var f=m(70549),T=m(46651),P=m(66393);function x(...N){return function v(){return(0,f.J)(1)}()((0,P.D)(N,(0,T.yG)(N)))}},33072:(et,me,m)=>{m.d(me,{P:()=>T});var f=m(87241),v=m(75955);function T(P){return new f.y(x=>{(0,v.Xf)(P()).subscribe(x)})}},9018:(et,me,m)=>{m.d(me,{E:()=>v});const v=new(m(87241).y)(x=>x.complete())},66393:(et,me,m)=>{m.d(me,{D:()=>T});var f=m(16855),v=m(75955);function T(P,x){return x?(0,f.x)(P,x):(0,v.Xf)(P)}},14581:(et,me,m)=>{m.d(me,{R:()=>H});var f=m(75955),v=m(87241),T=m(54882),P=m(56602),x=m(35975),N=m(52692);const te=["addListener","removeListener"],G=["addEventListener","removeEventListener"],Y=["on","off"];function H(ye,he,ie,Ie){if((0,x.m)(ie)&&(Ie=ie,ie=void 0),Ie)return H(ye,he,ie).pipe((0,N.Z)(Ie));const[rt,it]=function Me(ye){return(0,x.m)(ye.addEventListener)&&(0,x.m)(ye.removeEventListener)}(ye)?G.map(Pe=>Q=>ye[Pe](he,Q,ie)):function U(ye){return(0,x.m)(ye.addListener)&&(0,x.m)(ye.removeListener)}(ye)?te.map(z(ye,he)):function Ae(ye){return(0,x.m)(ye.on)&&(0,x.m)(ye.off)}(ye)?Y.map(z(ye,he)):[];if(!rt&&(0,P.z)(ye))return(0,T.z)(Pe=>H(Pe,he,ie))((0,f.Xf)(ye));if(!rt)throw new TypeError("Invalid event target");return new v.y(Pe=>{const Q=(...ve)=>Pe.next(1<ve.length?ve:ve[0]);return rt(Q),()=>it(Q)})}function z(ye,he){return ie=>Ie=>ye[ie](he,Ie)}},75955:(et,me,m)=>{m.d(me,{Xf:()=>Ae});var f=m(84911),v=m(56602),T=m(29450),P=m(87241),x=m(82021),N=m(82604),te=m(5626),G=m(76920),Y=m(51559),H=m(35975),z=m(34922),U=m(43122);function Ae(Pe){if(Pe instanceof P.y)return Pe;if(null!=Pe){if((0,x.c)(Pe))return function Me(Pe){return new P.y(Q=>{const ve=Pe[U.L]();if((0,H.m)(ve.subscribe))return ve.subscribe(Q);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(Pe);if((0,v.z)(Pe))return function ye(Pe){return new P.y(Q=>{for(let ve=0;ve<Pe.length&&!Q.closed;ve++)Q.next(Pe[ve]);Q.complete()})}(Pe);if((0,T.t)(Pe))return function he(Pe){return new P.y(Q=>{Pe.then(ve=>{Q.closed||(Q.next(ve),Q.complete())},ve=>Q.error(ve)).then(null,z.h)})}(Pe);if((0,N.D)(Pe))return Ie(Pe);if((0,G.T)(Pe))return function ie(Pe){return new P.y(Q=>{for(const ve of Pe)if(Q.next(ve),Q.closed)return;Q.complete()})}(Pe);if((0,Y.L)(Pe))return function rt(Pe){return Ie((0,Y.Q)(Pe))}(Pe)}throw(0,te.z)(Pe)}function Ie(Pe){return new P.y(Q=>{(function it(Pe,Q){var ve,de,Oe,ze;return(0,f.mG)(this,void 0,void 0,function*(){try{for(ve=(0,f.KL)(Pe);!(de=yield ve.next()).done;)if(Q.next(de.value),Q.closed)return}catch(Re){Oe={error:Re}}finally{try{de&&!de.done&&(ze=ve.return)&&(yield ze.call(ve))}finally{if(Oe)throw Oe.error}}Q.complete()})})(Pe,Q).catch(ve=>Q.error(ve))})}},21860:(et,me,m)=>{m.d(me,{T:()=>N});var f=m(70549),v=m(75955),T=m(9018),P=m(46651),x=m(66393);function N(...te){const G=(0,P.yG)(te),Y=(0,P._6)(te,1/0),H=te;return H.length?1===H.length?(0,v.Xf)(H[0]):(0,f.J)(Y)((0,x.D)(H,G)):T.E}},84945:(et,me,m)=>{m.d(me,{of:()=>T});var f=m(46651),v=m(66393);function T(...P){const x=(0,f.yG)(P);return(0,v.D)(P,x)}},83787:(et,me,m)=>{m.d(me,{_:()=>T});var f=m(87241),v=m(35975);function T(P,x){const N=(0,v.m)(P)?P:()=>P,te=G=>G.error(N());return new f.y(x?G=>x.schedule(te,0,G):te)}},1995:(et,me,m)=>{m.d(me,{H:()=>x});var f=m(87241),v=m(46523),T=m(1830);function x(N=0,te,G=v.P){let Y=-1;return null!=te&&((0,T.K)(te)?G=te:Y=te),new f.y(H=>{let z=function P(N){return N instanceof Date&&!isNaN(N)}(N)?+N-G.now():N;z<0&&(z=0);let U=0;return G.schedule(function(){H.closed||(H.next(U++),0<=Y?this.schedule(void 0,Y):H.complete())},z)})}},28499:(et,me,m)=>{m.d(me,{x:()=>v});var f=m(94021);function v(P,x,N,te,G){return new T(P,x,N,te,G)}class T extends f.Lv{constructor(x,N,te,G,Y,H){super(x),this.onFinalize=Y,this.shouldUnsubscribe=H,this._next=N?function(z){try{N(z)}catch(U){x.error(U)}}:super._next,this._error=G?function(z){try{G(z)}catch(U){x.error(U)}finally{this.unsubscribe()}}:super._error,this._complete=te?function(){try{te()}catch(z){x.error(z)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var x;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:N}=this;super.unsubscribe(),!N&&(null===(x=this.onFinalize)||void 0===x||x.call(this))}}}},33568:(et,me,m)=>{m.d(me,{K:()=>P});var f=m(75955),v=m(28499),T=m(32085);function P(x){return(0,T.e)((N,te)=>{let H,G=null,Y=!1;G=N.subscribe((0,v.x)(te,void 0,void 0,z=>{H=(0,f.Xf)(x(z,P(x)(N))),G?(G.unsubscribe(),G=null,H.subscribe(te)):Y=!0})),Y&&(G.unsubscribe(),G=null,H.subscribe(te))})}},44551:(et,me,m)=>{m.d(me,{b:()=>T});var f=m(54882),v=m(35975);function T(P,x){return(0,v.m)(x)?(0,f.z)(P,x,1):(0,f.z)(P,1)}},83151:(et,me,m)=>{m.d(me,{b:()=>P});var f=m(46523),v=m(32085),T=m(28499);function P(x,N=f.z){return(0,v.e)((te,G)=>{let Y=null,H=null,z=null;const U=()=>{if(Y){Y.unsubscribe(),Y=null;const Me=H;H=null,G.next(Me)}};function Ae(){const Me=z+x,ye=N.now();if(ye<Me)return Y=this.schedule(void 0,Me-ye),void G.add(Y);U()}te.subscribe((0,T.x)(G,Me=>{H=Me,z=N.now(),Y||(Y=N.schedule(Ae,x),G.add(Y))},()=>{U(),G.complete()},void 0,()=>{H=Y=null}))})}},22686:(et,me,m)=>{m.d(me,{d:()=>T});var f=m(32085),v=m(28499);function T(P){return(0,f.e)((x,N)=>{let te=!1;x.subscribe((0,v.x)(N,G=>{te=!0,N.next(G)},()=>{te||N.next(P),N.complete()}))})}},42147:(et,me,m)=>{m.d(me,{x:()=>P});var f=m(68330),v=m(32085),T=m(28499);function P(N,te=f.y){return N=N??x,(0,v.e)((G,Y)=>{let H,z=!0;G.subscribe((0,T.x)(Y,U=>{const Ae=te(U);(z||!N(H,Ae))&&(z=!1,H=Ae,Y.next(U))}))})}function x(N,te){return N===te}},74970:(et,me,m)=>{m.d(me,{h:()=>T});var f=m(32085),v=m(28499);function T(P,x){return(0,f.e)((N,te)=>{let G=0;N.subscribe((0,v.x)(te,Y=>P.call(x,Y,G++)&&te.next(Y)))})}},5490:(et,me,m)=>{m.d(me,{x:()=>v});var f=m(32085);function v(T){return(0,f.e)((P,x)=>{try{P.subscribe(x)}finally{x.add(T)}})}},79676:(et,me,m)=>{m.d(me,{P:()=>te});var f=m(87472),v=m(74970),T=m(65598),P=m(22686),x=m(18623),N=m(68330);function te(G,Y){const H=arguments.length>=2;return z=>z.pipe(G?(0,v.h)((U,Ae)=>G(U,Ae,z)):N.y,(0,T.q)(1),H?(0,P.d)(Y):(0,x.T)(()=>new f.K))}},27969:(et,me,m)=>{m.d(me,{U:()=>T});var f=m(32085),v=m(28499);function T(P,x){return(0,f.e)((N,te)=>{let G=0;N.subscribe((0,v.x)(te,Y=>{te.next(P.call(x,Y,G++))}))})}},10116:(et,me,m)=>{m.d(me,{h:()=>v});var f=m(27969);function v(T){return(0,f.U)(()=>T)}},70549:(et,me,m)=>{m.d(me,{J:()=>T});var f=m(54882),v=m(68330);function T(P=1/0){return(0,f.z)(v.y,P)}},54882:(et,me,m)=>{m.d(me,{z:()=>G});var f=m(27969),v=m(75955),T=m(32085),P=m(16903),x=m(28499),te=m(35975);function G(Y,H,z=1/0){return(0,te.m)(H)?G((U,Ae)=>(0,f.U)((Me,ye)=>H(U,Me,Ae,ye))((0,v.Xf)(Y(U,Ae))),z):("number"==typeof H&&(z=H),(0,T.e)((U,Ae)=>function N(Y,H,z,U,Ae,Me,ye,he){const ie=[];let Ie=0,rt=0,it=!1;const Pe=()=>{it&&!ie.length&&!Ie&&H.complete()},Q=de=>Ie<U?ve(de):ie.push(de),ve=de=>{Me&&H.next(de),Ie++;let Oe=!1;(0,v.Xf)(z(de,rt++)).subscribe((0,x.x)(H,ze=>{Ae?.(ze),Me?Q(ze):H.next(ze)},()=>{Oe=!0},void 0,()=>{if(Oe)try{for(Ie--;ie.length&&Ie<U;){const ze=ie.shift();ye?(0,P.f)(H,ye,()=>ve(ze)):ve(ze)}Pe()}catch(ze){H.error(ze)}}))};return Y.subscribe((0,x.x)(H,Q,()=>{it=!0,Pe()})),()=>{he?.()}}(U,Ae,Y,z)))}},34601:(et,me,m)=>{m.d(me,{x:()=>T});var f=m(32085),v=m(28499);function T(){return(0,f.e)((P,x)=>{let N=null;P._refCount++;const te=(0,v.x)(x,void 0,void 0,void 0,()=>{if(!P||P._refCount<=0||0<--P._refCount)return void(N=null);const G=P._connection,Y=N;N=null,G&&(!Y||G===Y)&&G.unsubscribe(),x.unsubscribe()});P.subscribe(te),te.closed||(N=P.connect())})}},26903:(et,me,m)=>{m.d(me,{B:()=>x});var f=m(75955),v=m(38023),T=m(94021),P=m(32085);function x(te={}){const{connector:G=(()=>new v.x),resetOnError:Y=!0,resetOnComplete:H=!0,resetOnRefCountZero:z=!0}=te;return U=>{let Ae,Me,ye,he=0,ie=!1,Ie=!1;const rt=()=>{Me?.unsubscribe(),Me=void 0},it=()=>{rt(),Ae=ye=void 0,ie=Ie=!1},Pe=()=>{const Q=Ae;it(),Q?.unsubscribe()};return(0,P.e)((Q,ve)=>{he++,!Ie&&!ie&&rt();const de=ye=ye??G();ve.add(()=>{he--,0===he&&!Ie&&!ie&&(Me=N(Pe,z))}),de.subscribe(ve),!Ae&&he>0&&(Ae=new T.Hp({next:Oe=>de.next(Oe),error:Oe=>{Ie=!0,rt(),Me=N(it,Y,Oe),de.error(Oe)},complete:()=>{ie=!0,rt(),Me=N(it,H),de.complete()}}),(0,f.Xf)(Q).subscribe(Ae))})(U)}}function N(te,G,...Y){if(!0===G)return void te();if(!1===G)return;const H=new T.Hp({next:()=>{H.unsubscribe(),te()}});return(0,f.Xf)(G(...Y)).subscribe(H)}},11588:(et,me,m)=>{m.d(me,{T:()=>v});var f=m(74970);function v(T){return(0,f.h)((P,x)=>T<=x)}},51927:(et,me,m)=>{m.d(me,{O:()=>P});var f=m(83729),v=m(46651),T=m(32085);function P(...x){const N=(0,v.yG)(x);return(0,T.e)((te,G)=>{(N?(0,f.z)(x,te,N):(0,f.z)(x,te)).subscribe(G)})}},61528:(et,me,m)=>{m.d(me,{w:()=>P});var f=m(75955),v=m(32085),T=m(28499);function P(x,N){return(0,v.e)((te,G)=>{let Y=null,H=0,z=!1;const U=()=>z&&!Y&&G.complete();te.subscribe((0,T.x)(G,Ae=>{Y?.unsubscribe();let Me=0;const ye=H++;(0,f.Xf)(x(Ae,ye)).subscribe(Y=(0,T.x)(G,he=>G.next(N?N(Ae,he,ye,Me++):he),()=>{Y=null,U()}))},()=>{z=!0,U()}))})}},65598:(et,me,m)=>{m.d(me,{q:()=>P});var f=m(9018),v=m(32085),T=m(28499);function P(x){return x<=0?()=>f.E:(0,v.e)((N,te)=>{let G=0;N.subscribe((0,T.x)(te,Y=>{++G<=x&&(te.next(Y),x<=G&&te.complete())}))})}},13528:(et,me,m)=>{m.d(me,{R:()=>x});var f=m(32085),v=m(28499),T=m(75955),P=m(408);function x(N){return(0,f.e)((te,G)=>{(0,T.Xf)(N).subscribe((0,v.x)(G,()=>G.complete(),P.Z)),!G.closed&&te.subscribe(G)})}},65857:(et,me,m)=>{m.d(me,{o:()=>T});var f=m(32085),v=m(28499);function T(P,x=!1){return(0,f.e)((N,te)=>{let G=0;N.subscribe((0,v.x)(te,Y=>{const H=P(Y,G++);(H||x)&&te.next(Y),!H&&te.complete()}))})}},98168:(et,me,m)=>{m.d(me,{b:()=>x});var f=m(35975),v=m(32085),T=m(28499),P=m(68330);function x(N,te,G){const Y=(0,f.m)(N)||te||G?{next:N,error:te,complete:G}:N;return Y?(0,v.e)((H,z)=>{var U;null===(U=Y.subscribe)||void 0===U||U.call(Y);let Ae=!0;H.subscribe((0,T.x)(z,Me=>{var ye;null===(ye=Y.next)||void 0===ye||ye.call(Y,Me),z.next(Me)},()=>{var Me;Ae=!1,null===(Me=Y.complete)||void 0===Me||Me.call(Y),z.complete()},Me=>{var ye;Ae=!1,null===(ye=Y.error)||void 0===ye||ye.call(Y,Me),z.error(Me)},()=>{var Me,ye;Ae&&(null===(Me=Y.unsubscribe)||void 0===Me||Me.call(Y)),null===(ye=Y.finalize)||void 0===ye||ye.call(Y)}))}):P.y}},18623:(et,me,m)=>{m.d(me,{T:()=>P});var f=m(87472),v=m(32085),T=m(28499);function P(N=x){return(0,v.e)((te,G)=>{let Y=!1;te.subscribe((0,T.x)(G,H=>{Y=!0,G.next(H)},()=>Y?G.complete():G.error(N())))})}function x(){return new f.K}},16855:(et,me,m)=>{m.d(me,{x:()=>ve});var f=m(75955),v=m(16903),T=m(32085),P=m(28499);function x(de,Oe=0){return(0,T.e)((ze,Re)=>{ze.subscribe((0,P.x)(Re,nt=>(0,v.f)(Re,de,()=>Re.next(nt),Oe),()=>(0,v.f)(Re,de,()=>Re.complete(),Oe),nt=>(0,v.f)(Re,de,()=>Re.error(nt),Oe)))})}function N(de,Oe=0){return(0,T.e)((ze,Re)=>{Re.add(de.schedule(()=>ze.subscribe(Re),Oe))})}var Y=m(87241),z=m(44565),U=m(35975);function Me(de,Oe){if(!de)throw new Error("Iterable cannot be null");return new Y.y(ze=>{(0,v.f)(ze,Oe,()=>{const Re=de[Symbol.asyncIterator]();(0,v.f)(ze,Oe,()=>{Re.next().then(nt=>{nt.done?ze.complete():ze.next(nt.value)})},0,!0)})})}var ye=m(82021),he=m(29450),ie=m(56602),Ie=m(76920),rt=m(82604),it=m(5626),Pe=m(51559);function ve(de,Oe){if(null!=de){if((0,ye.c)(de))return function te(de,Oe){return(0,f.Xf)(de).pipe(N(Oe),x(Oe))}(de,Oe);if((0,ie.z)(de))return function H(de,Oe){return new Y.y(ze=>{let Re=0;return Oe.schedule(function(){Re===de.length?ze.complete():(ze.next(de[Re++]),ze.closed||this.schedule())})})}(de,Oe);if((0,he.t)(de))return function G(de,Oe){return(0,f.Xf)(de).pipe(N(Oe),x(Oe))}(de,Oe);if((0,rt.D)(de))return Me(de,Oe);if((0,Ie.T)(de))return function Ae(de,Oe){return new Y.y(ze=>{let Re;return(0,v.f)(ze,Oe,()=>{Re=de[z.h](),(0,v.f)(ze,Oe,()=>{let nt,De;try{({value:nt,done:De}=Re.next())}catch(Ue){return void ze.error(Ue)}De?ze.complete():ze.next(nt)},0,!0)}),()=>(0,U.m)(Re?.return)&&Re.return()})}(de,Oe);if((0,Pe.L)(de))return function Q(de,Oe){return Me((0,Pe.Q)(de),Oe)}(de,Oe)}throw(0,it.z)(de)}},43466:(et,me,m)=>{m.d(me,{o:()=>x});var f=m(14813);class v extends f.w0{constructor(te,G){super()}schedule(te,G=0){return this}}const T={setInterval(N,te,...G){const{delegate:Y}=T;return Y?.setInterval?Y.setInterval(N,te,...G):setInterval(N,te,...G)},clearInterval(N){const{delegate:te}=T;return(te?.clearInterval||clearInterval)(N)},delegate:void 0};var P=m(78308);class x extends v{constructor(te,G){super(te,G),this.scheduler=te,this.work=G,this.pending=!1}schedule(te,G=0){var Y;if(this.closed)return this;this.state=te;const H=this.id,z=this.scheduler;return null!=H&&(this.id=this.recycleAsyncId(z,H,G)),this.pending=!0,this.delay=G,this.id=null!==(Y=this.id)&&void 0!==Y?Y:this.requestAsyncId(z,this.id,G),this}requestAsyncId(te,G,Y=0){return T.setInterval(te.flush.bind(te,this),Y)}recycleAsyncId(te,G,Y=0){if(null!=Y&&this.delay===Y&&!1===this.pending)return G;null!=G&&T.clearInterval(G)}execute(te,G){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const Y=this._execute(te,G);if(Y)return Y;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(te,G){let H,Y=!1;try{this.work(te)}catch(z){Y=!0,H=z||new Error("Scheduled action threw falsy error")}if(Y)return this.unsubscribe(),H}unsubscribe(){if(!this.closed){const{id:te,scheduler:G}=this,{actions:Y}=G;this.work=this.state=this.scheduler=null,this.pending=!1,(0,P.P)(Y,this),null!=te&&(this.id=this.recycleAsyncId(G,te,null)),this.delay=null,super.unsubscribe()}}}},40474:(et,me,m)=>{m.d(me,{v:()=>T});var f=m(32069);class v{constructor(x,N=v.now){this.schedulerActionCtor=x,this.now=N}schedule(x,N=0,te){return new this.schedulerActionCtor(this,x).schedule(te,N)}}v.now=f.l.now;class T extends v{constructor(x,N=v.now){super(x,N),this.actions=[],this._active=!1}flush(x){const{actions:N}=this;if(this._active)return void N.push(x);let te;this._active=!0;do{if(te=x.execute(x.state,x.delay))break}while(x=N.shift());if(this._active=!1,te){for(;x=N.shift();)x.unsubscribe();throw te}}}},79239:(et,me,m)=>{m.d(me,{Z:()=>te});var f=m(43466),v=m(14813);const T={schedule(Y){let H=requestAnimationFrame,z=cancelAnimationFrame;const{delegate:U}=T;U&&(H=U.requestAnimationFrame,z=U.cancelAnimationFrame);const Ae=H(Me=>{z=void 0,Y(Me)});return new v.w0(()=>z?.(Ae))},requestAnimationFrame(...Y){const{delegate:H}=T;return(H?.requestAnimationFrame||requestAnimationFrame)(...Y)},cancelAnimationFrame(...Y){const{delegate:H}=T;return(H?.cancelAnimationFrame||cancelAnimationFrame)(...Y)},delegate:void 0};var x=m(40474);const te=new class N extends x.v{flush(H){let z;this._active=!0,H?z=H.id:(z=this._scheduled,this._scheduled=void 0);const{actions:U}=this;let Ae;H=H||U.shift();do{if(Ae=H.execute(H.state,H.delay))break}while((H=U[0])&&H.id===z&&U.shift());if(this._active=!1,Ae){for(;(H=U[0])&&H.id===z&&U.shift();)H.unsubscribe();throw Ae}}}(class P extends f.o{constructor(H,z){super(H,z),this.scheduler=H,this.work=z}requestAsyncId(H,z,U=0){return null!==U&&U>0?super.requestAsyncId(H,z,U):(H.actions.push(this),H._scheduled||(H._scheduled=T.requestAnimationFrame(()=>H.flush(void 0))))}recycleAsyncId(H,z,U=0){var Ae;if(null!=U?U>0:this.delay>0)return super.recycleAsyncId(H,z,U);const{actions:Me}=H;null!=z&&z===H._scheduled&&(null===(Ae=Me[Me.length-1])||void 0===Ae?void 0:Ae.id)!==z&&(T.cancelAnimationFrame(z),H._scheduled=void 0)}})},36401:(et,me,m)=>{m.d(me,{E:()=>Me});var f=m(43466);let T,v=1;const P={};function x(he){return he in P&&(delete P[he],!0)}const N={setImmediate(he){const ie=v++;return P[ie]=!0,T||(T=Promise.resolve()),T.then(()=>x(ie)&&he()),ie},clearImmediate(he){x(he)}},{setImmediate:G,clearImmediate:Y}=N,H={setImmediate(...he){const{delegate:ie}=H;return(ie?.setImmediate||G)(...he)},clearImmediate(he){const{delegate:ie}=H;return(ie?.clearImmediate||Y)(he)},delegate:void 0};var U=m(40474);const Me=new class Ae extends U.v{flush(ie){this._active=!0;const Ie=this._scheduled;this._scheduled=void 0;const{actions:rt}=this;let it;ie=ie||rt.shift();do{if(it=ie.execute(ie.state,ie.delay))break}while((ie=rt[0])&&ie.id===Ie&&rt.shift());if(this._active=!1,it){for(;(ie=rt[0])&&ie.id===Ie&&rt.shift();)ie.unsubscribe();throw it}}}(class z extends f.o{constructor(ie,Ie){super(ie,Ie),this.scheduler=ie,this.work=Ie}requestAsyncId(ie,Ie,rt=0){return null!==rt&&rt>0?super.requestAsyncId(ie,Ie,rt):(ie.actions.push(this),ie._scheduled||(ie._scheduled=H.setImmediate(ie.flush.bind(ie,void 0))))}recycleAsyncId(ie,Ie,rt=0){var it;if(null!=rt?rt>0:this.delay>0)return super.recycleAsyncId(ie,Ie,rt);const{actions:Pe}=ie;null!=Ie&&(null===(it=Pe[Pe.length-1])||void 0===it?void 0:it.id)!==Ie&&(H.clearImmediate(Ie),ie._scheduled===Ie&&(ie._scheduled=void 0))}})},46523:(et,me,m)=>{m.d(me,{P:()=>P,z:()=>T});var f=m(43466);const T=new(m(40474).v)(f.o),P=T},32069:(et,me,m)=>{m.d(me,{l:()=>f});const f={now:()=>(f.delegate||Date).now(),delegate:void 0}},84146:(et,me,m)=>{m.d(me,{z:()=>f});const f={setTimeout(v,T,...P){const{delegate:x}=f;return x?.setTimeout?x.setTimeout(v,T,...P):setTimeout(v,T,...P)},clearTimeout(v){const{delegate:T}=f;return(T?.clearTimeout||clearTimeout)(v)},delegate:void 0}},44565:(et,me,m)=>{m.d(me,{h:()=>v});const v=function f(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},43122:(et,me,m)=>{m.d(me,{L:()=>f});const f="function"==typeof Symbol&&Symbol.observable||"@@observable"},87472:(et,me,m)=>{m.d(me,{K:()=>v});const v=(0,m(95776).d)(T=>function(){T(this),this.name="EmptyError",this.message="no elements in sequence"})},46651:(et,me,m)=>{m.d(me,{_6:()=>N,jO:()=>P,yG:()=>x});var f=m(35975),v=m(1830);function T(te){return te[te.length-1]}function P(te){return(0,f.m)(T(te))?te.pop():void 0}function x(te){return(0,v.K)(T(te))?te.pop():void 0}function N(te,G){return"number"==typeof T(te)?te.pop():G}},20447:(et,me,m)=>{m.d(me,{D:()=>x});const{isArray:f}=Array,{getPrototypeOf:v,prototype:T,keys:P}=Object;function x(te){if(1===te.length){const G=te[0];if(f(G))return{args:G,keys:null};if(function N(te){return te&&"object"==typeof te&&v(te)===T}(G)){const Y=P(G);return{args:Y.map(H=>G[H]),keys:Y}}}return{args:te,keys:null}}},78308:(et,me,m)=>{function f(v,T){if(v){const P=v.indexOf(T);0<=P&&v.splice(P,1)}}m.d(me,{P:()=>f})},95776:(et,me,m)=>{function f(v){const P=v(x=>{Error.call(x),x.stack=(new Error).stack});return P.prototype=Object.create(Error.prototype),P.prototype.constructor=P,P}m.d(me,{d:()=>f})},89299:(et,me,m)=>{function f(v,T){return v.reduce((P,x,N)=>(P[x]=T[N],P),{})}m.d(me,{n:()=>f})},1519:(et,me,m)=>{m.d(me,{O:()=>P,x:()=>T});var f=m(42046);let v=null;function T(x){if(f.v.useDeprecatedSynchronousErrorHandling){const N=!v;if(N&&(v={errorThrown:!1,error:null}),x(),N){const{errorThrown:te,error:G}=v;if(v=null,te)throw G}}else x()}function P(x){f.v.useDeprecatedSynchronousErrorHandling&&v&&(v.errorThrown=!0,v.error=x)}},16903:(et,me,m)=>{function f(v,T,P,x=0,N=!1){const te=T.schedule(function(){P(),N?v.add(this.schedule(null,x)):this.unsubscribe()},x);if(v.add(te),!N)return te}m.d(me,{f:()=>f})},68330:(et,me,m)=>{function f(v){return v}m.d(me,{y:()=>f})},56602:(et,me,m)=>{m.d(me,{z:()=>f});const f=v=>v&&"number"==typeof v.length&&"function"!=typeof v},82604:(et,me,m)=>{m.d(me,{D:()=>v});var f=m(35975);function v(T){return Symbol.asyncIterator&&(0,f.m)(T?.[Symbol.asyncIterator])}},35975:(et,me,m)=>{function f(v){return"function"==typeof v}m.d(me,{m:()=>f})},82021:(et,me,m)=>{m.d(me,{c:()=>T});var f=m(43122),v=m(35975);function T(P){return(0,v.m)(P[f.L])}},76920:(et,me,m)=>{m.d(me,{T:()=>T});var f=m(44565),v=m(35975);function T(P){return(0,v.m)(P?.[f.h])}},97:(et,me,m)=>{m.d(me,{b:()=>T});var f=m(87241),v=m(35975);function T(P){return!!P&&(P instanceof f.y||(0,v.m)(P.lift)&&(0,v.m)(P.subscribe))}},29450:(et,me,m)=>{m.d(me,{t:()=>v});var f=m(35975);function v(T){return(0,f.m)(T?.then)}},51559:(et,me,m)=>{m.d(me,{L:()=>P,Q:()=>T});var f=m(84911),v=m(35975);function T(x){return(0,f.FC)(this,arguments,function*(){const te=x.getReader();try{for(;;){const{value:G,done:Y}=yield(0,f.qq)(te.read());if(Y)return yield(0,f.qq)(void 0);yield yield(0,f.qq)(G)}}finally{te.releaseLock()}})}function P(x){return(0,v.m)(x?.getReader)}},1830:(et,me,m)=>{m.d(me,{K:()=>v});var f=m(35975);function v(T){return T&&(0,f.m)(T.schedule)}},32085:(et,me,m)=>{m.d(me,{A:()=>v,e:()=>T});var f=m(35975);function v(P){return(0,f.m)(P?.lift)}function T(P){return x=>{if(v(x))return x.lift(function(N){try{return P(N,this)}catch(te){this.error(te)}});throw new TypeError("Unable to lift unknown Observable type")}}},52692:(et,me,m)=>{m.d(me,{Z:()=>P});var f=m(27969);const{isArray:v}=Array;function P(x){return(0,f.U)(N=>function T(x,N){return v(N)?x(...N):x(N)}(x,N))}},408:(et,me,m)=>{function f(){}m.d(me,{Z:()=>f})},17824:(et,me,m)=>{m.d(me,{U:()=>T,z:()=>v});var f=m(68330);function v(...P){return T(P)}function T(P){return 0===P.length?f.y:1===P.length?P[0]:function(N){return P.reduce((te,G)=>G(te),N)}}},34922:(et,me,m)=>{m.d(me,{h:()=>T});var f=m(42046),v=m(84146);function T(P){v.z.setTimeout(()=>{const{onUnhandledError:x}=f.v;if(!x)throw P;x(P)})}},5626:(et,me,m)=>{function f(v){return new TypeError(`You provided ${null!==v&&"object"==typeof v?"an invalid object":`'${v}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}m.d(me,{z:()=>f})},82524:(et,me,m)=>{m.d(me,{s:()=>P});var f=m(35732),v=m(96213),T=m(64537);let P=(()=>{class x{constructor(te){this.httpClient=te}getApi(){return this.httpClient.get("/api",{context:(new f.qT).set(v.h,!0)})}}return x.\u0275fac=function(te){return new(te||x)(T.LFG(f.eN))},x.\u0275prov=T.Yz7({token:x,factory:x.\u0275fac,providedIn:"root"}),x})()},38159:(et,me,m)=>{m.d(me,{n:()=>v});var f=m(64537);let v=(()=>{class T{constructor(){this.tokenKey="token",this.pollingIntervalKey="pollingInterval",this.timeIntervalKey="timeInterval",this.teamsKey="teams",this.usersKey="users",this.formsKey="forms",this.mapPositionKey="mapPosition",this.coordinateSystemViewKey="coordinateSystemView",this.coordinateSystemEditKey="coordinateSystemEdit",this.timeZoneViewKey="timeZoneView",this.timeZoneEditKey="timeZoneEdit",this.timeFormatKey="timeFormat"}getToken(){return this.getLocalItem(this.tokenKey)}setToken(x){return this.setLocalItem(this.tokenKey,x)}removeToken(){return this.removeLocalItem(this.tokenKey)}setPollingInterval(x){return this.setLocalItem(this.pollingIntervalKey,x)}getPollingInterval(){return this.getLocalItem(this.pollingIntervalKey)}setTimeInterval(x){return this.setLocalItem(this.timeIntervalKey,JSON.stringify(x))}getTimeInterval(){const x=this.getLocalItem(this.timeIntervalKey);if(x){const N=JSON.parse(x);return N&&N.options&&(N.options.startDate&&(N.options.startDate=new Date(N.options.startDate)),N.options.endDate&&(N.options.endDate=new Date(N.options.endDate))),N}}getTeams(){const x=this.getLocalItem(this.teamsKey);if(x)return JSON.parse(x)}setTeams(x){return this.setLocalItem(this.teamsKey,JSON.stringify(x))}getUsers(){const x=this.getLocalItem(this.usersKey);if(x)return JSON.parse(x)}setUsers(x){return this.setLocalItem(this.usersKey,JSON.stringify(x))}getForms(){const x=this.getLocalItem(this.formsKey);if(x)return JSON.parse(x)}setForms(x){return this.setLocalItem(this.formsKey,JSON.stringify(x))}removeTeams(){return this.removeLocalItem(this.teamsKey)}setMapPosition(x){return this.setLocalItem(this.mapPositionKey,JSON.stringify(x))}getMapPosition(){const x=this.getLocalItem(this.mapPositionKey);if(x)return JSON.parse(x)}getCoordinateSystemView(){return this.getLocalItem(this.coordinateSystemViewKey)||"wgs84"}setCoordinateSystemView(x){return this.setLocalItem(this.coordinateSystemViewKey,x)}getCoordinateSystemEdit(){return this.getLocalItem(this.coordinateSystemEditKey)||this.getCoordinateSystemView()}setCoordinateSystemEdit(x){return this.setLocalItem(this.coordinateSystemEditKey,x)}getTimeZoneView(){return this.getLocalItem(this.timeZoneViewKey)||"local"}setTimeZoneView(x){return this.setLocalItem(this.timeZoneViewKey,x)}getTimeZoneEdit(){return this.getLocalItem(this.timeZoneEditKey)||this.getTimeZoneView()}setTimeZoneEdit(x){return this.setLocalItem(this.timeZoneEditKey,x)}getTimeFormat(){return this.getLocalItem(this.timeFormatKey)||"absolute"}setTimeFormat(x){return this.setLocalItem(this.timeFormatKey,x)}getLocalItem(x){try{if("localStorage"in window&&null!==window.localStorage)return localStorage.getItem(x)}catch{return}}setLocalItem(x,N){try{if("localStorage"in window&&null!==window.localStorage)return localStorage.setItem(x,N)}catch{return}}removeLocalItem(x){try{if("localStorage"in window&&null!==window.localStorage)return localStorage.removeItem(x)}catch{return!1}}}return T.\u0275fac=function(x){return new(x||T)},T.\u0275prov=f.Yz7({token:T,factory:T.\u0275fac,providedIn:"root"}),T})()},96213:(et,me,m)=>{m.d(me,{N:()=>Ae,h:()=>U});var f=m(35732),v=m(5557),T=m(33568),P=m(65598),x=m(61528),N=m(83787),te=m(28383),G=m(64537),Y=m(88696),H=m(1584),z=m(38159);const U=new f.Xk(()=>!1);let Ae=(()=>{class Me{constructor(he,ie,Ie){this.dialog=he,this.userService=ie,this.localStorageService=Ie,this.isRefreshingToken=!1,this.tokenSubject=new v.t(1)}intercept(he,ie){return!0===he.context.get(U)||!he.url.startsWith("/api/")&&!he.url.startsWith("/plugins/")?ie.handle(he):ie.handle(this.tokenRequest(he)).pipe((0,T.K)(Ie=>Ie instanceof f.UA&&401===Ie.status?(this.userService.setUser(null),this.isRefreshingToken||(this.isRefreshingToken=!0,this.tokenSubject=new v.t(1),this.dialog.open(te.h,{width:"600px",disableClose:!0,autoFocus:!1}).afterClosed().subscribe(()=>{this.isRefreshingToken=!1,this.tokenSubject.next(),this.tokenSubject.complete()})),this.tokenSubject.pipe((0,P.q)(1),(0,x.w)(()=>ie.handle(this.tokenRequest(he))))):(0,N._)(()=>Ie)))}tokenRequest(he){const ie=this.localStorageService.getToken();return ie?he.clone({headers:he.headers.set("Authorization",`Bearer ${ie}`)}):he}}return Me.\u0275fac=function(he){return new(he||Me)(G.LFG(Y.uw),G.LFG(H.K),G.LFG(z.n))},Me.\u0275prov=G.Yz7({token:Me,factory:Me.\u0275fac,providedIn:"root"}),Me})()},28383:(et,me,m)=>{m.d(me,{h:()=>P});var f=m(64537),v=m(82524),T=m(88696);let P=(()=>{class x{constructor(te,G){this.apiService=te,this.dialogRef=G}ngOnInit(){this.apiService.getApi().subscribe(te=>{this.api=te})}onIngress(){this.dialogRef.close()}}return x.\u0275fac=function(te){return new(te||x)(f.Y36(v.s),f.Y36(T.so))},x.\u0275cmp=f.Xpm({type:x,selectors:[["authentication-dialog"]],decls:6,vars:2,consts:[[1,"mat-dialog-title"],["mat-dialog-content",""],[1,"ingress"],[3,"landing","api","complete"]],template:function(te,G){1&te&&(f.TgZ(0,"div")(1,"h3",0),f._uU(2,"Please signin to continue to Mage"),f.qZA(),f.TgZ(3,"div",1)(4,"div",2)(5,"ingress",3),f.NdJ("complete",function(){return G.onIngress()}),f.qZA()()()()),2&te&&(f.xp6(5),f.Q6J("landing",!1)("api",G.api))},styles:[".ingress[_ngcontent-%COMP%]{width:100%;height:100%}"]}),x})()},1584:(et,me,m)=>{m.d(me,{K:()=>G});var f=m(35732),v=m(54121),T=m(38023),P=m(98168),x=m(96213),N=m(64537),te=m(38159);let G=(()=>{class Y{constructor(z,U){this.httpClient=z,this.localStorageService=U,this._myself=new v.X(null),this.myself$=this._myself.asObservable(),this._userEvent=new T.x,this.userEvent$=this._userEvent.asObservable()}signup(z){return this.httpClient.post("/api/users/signups",{username:z},{context:(new f.qT).set(x.h,!0)})}signupVerify(z,U){return this.httpClient.post("/api/users/signups/verifications",z,{headers:{Authorization:`Bearer ${U}`},context:(new f.qT).set(x.h,!0)})}signin(z,U){return this.httpClient.post("/auth/local/signin",{username:z,password:U,appVersion:"Web Client"})}idpSignin(z){const U=new T.x,Me=window.open("/auth/"+z+"/signin","_blank");return window.addEventListener("message",function ye(he){window.removeEventListener("message",ye,!1),he.origin===window.location.origin&&(U.next(he.data),U.complete(),Me?.close())},!1),U.asObservable()}ldapSignin(z,U){return this.httpClient.post("/auth/ldap/signin",{username:z,password:U,appVersion:"Web Client"},{context:(new f.qT).set(x.h,!0)})}authorize(z,U){return this.httpClient.post("/auth/token?createDevice=false",{uid:U,appVersion:"Web Client"},{headers:{Authorization:`Bearer ${z}`}}).pipe((0,P.b)(Ae=>{Ae?.token&&this.localStorageService.setToken(Ae.token),this.setUser(Ae?.user)}))}getMyself(){return this.httpClient.get("/api/users/myself").pipe((0,P.b)(z=>{this.setUser(z)}))}setUser(z){this._myself.next(z),this.myself=z,this.amAdmin=!(!this.myself?.role||"ADMIN_ROLE"!==this.myself.role.name&&"EVENT_MANAGER_ROLE"!==this.myself.role.name)}getUser(z,U){const Ae={};return(U=U||{}).populate&&(Ae.populate=U.populate),this.httpClient.get(`/api/users/${z}`,{params:Ae})}hasPermission(z){return!!this.myself?.role?.permissions?.includes(z)}addRecentEvent(z){return this.httpClient.post(`/api/users/${this.myself.id}/events/${z.id}/recent`,{})}getRecentEventId(){const z=this.myself?.recentEventIds??[];return z.length>0?z[0]:null}logout(){return this.httpClient.post("/api/logout",null,{responseType:"text"}).pipe((0,P.b)(()=>{this.clearUser()}))}saveProfile(z){const U=new FormData;for(const Ae in z)null!=z[Ae]&&U.append(Ae,z[Ae]);return this.httpClient.put("/api/users/myself",U,{reportProgress:!0,observe:"events"})}updatePassword(z,U){return this.httpClient.put("/api/users/myself/password",{username:this.myself.username,password:z,newPassword:U,newPasswordConfirm:U},{context:(new f.qT).set(x.h,!0),responseType:"text"})}acceptDisclaimer(){const z=this.myself;!z||this._userEvent.next({user:z,token:this.localStorageService.getToken?.()??null,isAdmin:!!this.amAdmin})}clearUser(){this.myself=null,this.amAdmin=null,this._myself.next(null),this.localStorageService.removeToken()}}return Y.\u0275fac=function(z){return new(z||Y)(N.LFG(f.eN),N.LFG(te.n))},Y.\u0275prov=N.Yz7({token:Y,factory:Y.\u0275fac,providedIn:"root"}),Y})()},46078:(et,me,m)=>{var f=m(5998),v=m(64537),T=m(14091);function x(M){return new v.vHH(3e3,!1)}function _e(){return typeof window<"u"&&typeof window.document<"u"}function Ee(){return typeof process<"u"&&"[object process]"==={}.toString.call(process)}function Ze(M){switch(M.length){case 0:return new T.ZN;case 1:return M[0];default:return new T.ZE(M)}}function Ct(M,a,c,D,S=new Map,F=new Map){const le=[],ce=[];let Fe=-1,We=null;if(D.forEach(dt=>{const pt=dt.get("offset"),Xt=pt==Fe,Gt=Xt&&We||new Map;dt.forEach((bt,Rt)=>{let cn=Rt,hn=bt;if("offset"!==Rt)switch(cn=a.normalizePropertyName(cn,le),hn){case T.k1:hn=S.get(Rt);break;case T.l3:hn=F.get(Rt);break;default:hn=a.normalizeStyleValue(Rt,cn,hn,le)}Gt.set(cn,hn)}),Xt||ce.push(Gt),We=Gt,Fe=pt}),le.length)throw function De(M){return new v.vHH(3502,!1)}();return ce}function At(M,a,c,D){switch(a){case"start":M.onStart(()=>D(c&&lt(c,"start",M)));break;case"done":M.onDone(()=>D(c&&lt(c,"done",M)));break;case"destroy":M.onDestroy(()=>D(c&&lt(c,"destroy",M)))}}function lt(M,a,c){const F=St(M.element,M.triggerName,M.fromState,M.toState,a||M.phaseName,c.totalTime??M.totalTime,!!c.disabled),le=M._data;return null!=le&&(F._data=le),F}function St(M,a,c,D,S="",F=0,le){return{element:M,triggerName:a,fromState:c,toState:D,phaseName:S,totalTime:F,disabled:!!le}}function Et(M,a,c){let D=M.get(a);return D||M.set(a,D=c),D}function tn(M){const a=M.indexOf(":");return[M.substring(1,a),M.slice(a+1)]}let xt=(M,a)=>!1,kt=(M,a,c)=>[],Qe=null;function Ve(M){const a=M.parentNode||M.host;return a===Qe?null:a}(Ee()||typeof Element<"u")&&(_e()?(Qe=(()=>document.documentElement)(),xt=(M,a)=>{for(;a;){if(a===M)return!0;a=Ve(a)}return!1}):xt=(M,a)=>M.contains(a),kt=(M,a,c)=>{if(c)return Array.from(M.querySelectorAll(a));const D=M.querySelector(a);return D?[D]:[]});let w=null,R=!1;const L=xt,k=kt;let xe=(()=>{class M{validateStyleProperty(c){return function ae(M){w||(w=function K(){return typeof document<"u"?document.body:null}()||{},R=!!w.style&&"WebkitAppearance"in w.style);let a=!0;return w.style&&!function X(M){return"ebkit"==M.substring(1,6)}(M)&&(a=M in w.style,!a&&R&&(a="Webkit"+M.charAt(0).toUpperCase()+M.slice(1)in w.style)),a}(c)}matchesElement(c,D){return!1}containsElement(c,D){return L(c,D)}getParentElement(c){return Ve(c)}query(c,D,S){return k(c,D,S)}computeStyle(c,D,S){return S||""}animate(c,D,S,F,le,ce=[],Fe){return new T.ZN(S,F)}}return M.\u0275fac=function(c){return new(c||M)},M.\u0275prov=v.Yz7({token:M,factory:M.\u0275fac}),M})(),je=(()=>{class M{}return M.NOOP=new xe,M})();const Bt="ng-enter",Tt="ng-leave",dn="ng-trigger",Ot=".ng-trigger",we="ng-animating",oe=".ng-animating";function ue(M){if("number"==typeof M)return M;const a=M.match(/^(-?[\.\d]+)(m?s)/);return!a||a.length<2?0:W(parseFloat(a[1]),a[2])}function W(M,a){return"s"===a?1e3*M:M}function ee(M,a,c){return M.hasOwnProperty("duration")?M:function B(M,a,c){let S,F=0,le="";if("string"==typeof M){const ce=M.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===ce)return a.push(x()),{duration:0,delay:0,easing:""};S=W(parseFloat(ce[1]),ce[2]);const Fe=ce[3];null!=Fe&&(F=W(parseFloat(Fe),ce[4]));const We=ce[5];We&&(le=We)}else S=M;if(!c){let ce=!1,Fe=a.length;S<0&&(a.push(function N(){return new v.vHH(3100,!1)}()),ce=!0),F<0&&(a.push(function te(){return new v.vHH(3101,!1)}()),ce=!0),ce&&a.splice(Fe,0,x())}return{duration:S,delay:F,easing:le}}(M,a,c)}function fe(M,a={}){return Object.keys(M).forEach(c=>{a[c]=M[c]}),a}function Ne(M){const a=new Map;return Object.keys(M).forEach(c=>{a.set(c,M[c])}),a}function jt(M,a=new Map,c){if(c)for(let[D,S]of c)a.set(D,S);for(let[D,S]of M)a.set(D,S);return a}function Xn(M,a,c){return c?a+":"+c+";":""}function Ht(M){let a="";for(let c=0;c<M.style.length;c++){const D=M.style.item(c);a+=Xn(0,D,M.style.getPropertyValue(D))}for(const c in M.style)M.style.hasOwnProperty(c)&&!c.startsWith("_")&&(a+=Xn(0,mt(c),M.style[c]));M.setAttribute("style",a)}function on(M,a,c){M.style&&(a.forEach((D,S)=>{const F=Ke(S);c&&!c.has(S)&&c.set(S,M.style[F]),M.style[F]=D}),Ee()&&Ht(M))}function an(M,a){M.style&&(a.forEach((c,D)=>{const S=Ke(D);M.style[S]=""}),Ee()&&Ht(M))}function En(M){return Array.isArray(M)?1==M.length?M[0]:(0,T.vP)(M):M}const Mn=new RegExp("{{\\s*(.+?)\\s*}}","g");function ne(M){let a=[];if("string"==typeof M){let c;for(;c=Mn.exec(M);)a.push(c[1]);Mn.lastIndex=0}return a}function re(M,a,c){const D=M.toString(),S=D.replace(Mn,(F,le)=>{let ce=a[le];return null==ce&&(c.push(function Y(M){return new v.vHH(3003,!1)}()),ce=""),ce.toString()});return S==D?M:S}function $(M){const a=[];let c=M.next();for(;!c.done;)a.push(c.value),c=M.next();return a}const Ce=/-+([a-z0-9])/g;function Ke(M){return M.replace(Ce,(...a)=>a[1].toUpperCase())}function mt(M){return M.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function nn(M,a,c){switch(a.type){case 7:return M.visitTrigger(a,c);case 0:return M.visitState(a,c);case 1:return M.visitTransition(a,c);case 2:return M.visitSequence(a,c);case 3:return M.visitGroup(a,c);case 4:return M.visitAnimate(a,c);case 5:return M.visitKeyframes(a,c);case 6:return M.visitStyle(a,c);case 8:return M.visitReference(a,c);case 9:return M.visitAnimateChild(a,c);case 10:return M.visitAnimateRef(a,c);case 11:return M.visitQuery(a,c);case 12:return M.visitStagger(a,c);default:throw function H(M){return new v.vHH(3004,!1)}()}}function Vn(M,a){return window.getComputedStyle(M)[a]}function Kn(M,a){const c=[];return"string"==typeof M?M.split(/\s*,\s*/).forEach(D=>function kr(M,a,c){if(":"==M[0]){const Fe=function Jr(M,a){switch(M){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(c,D)=>parseFloat(D)>parseFloat(c);case":decrement":return(c,D)=>parseFloat(D)<parseFloat(c);default:return a.push(function Oe(M){return new v.vHH(3016,!1)}()),"* => *"}}(M,c);if("function"==typeof Fe)return void a.push(Fe);M=Fe}const D=M.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==D||D.length<4)return c.push(function de(M){return new v.vHH(3015,!1)}()),a;const S=D[1],F=D[2],le=D[3];a.push(Br(S,le));"<"==F[0]&&!("*"==S&&"*"==le)&&a.push(Br(le,S))}(D,c,a)):c.push(M),c}const qt=new Set(["true","1"]),qr=new Set(["false","0"]);function Br(M,a){const c=qt.has(M)||qr.has(M),D=qt.has(a)||qr.has(a);return(S,F)=>{let le="*"==M||M==S,ce="*"==a||a==F;return!le&&c&&"boolean"==typeof S&&(le=S?qt.has(M):qr.has(M)),!ce&&D&&"boolean"==typeof F&&(ce=F?qt.has(a):qr.has(a)),le&&ce}}const ei=new RegExp("s*:selfs*,?","g");function rr(M,a,c,D){return new tr(M).build(a,c,D)}class tr{constructor(a){this._driver=a}build(a,c,D){const S=new An(c);return this._resetContextStyleTimingState(S),nn(this,En(a),S)}_resetContextStyleTimingState(a){a.currentQuerySelector="",a.collectedStyles=new Map,a.collectedStyles.set("",new Map),a.currentTime=0}visitTrigger(a,c){let D=c.queryCount=0,S=c.depCount=0;const F=[],le=[];return"@"==a.name.charAt(0)&&c.errors.push(function U(){return new v.vHH(3006,!1)}()),a.definitions.forEach(ce=>{if(this._resetContextStyleTimingState(c),0==ce.type){const Fe=ce,We=Fe.name;We.toString().split(/\s*,\s*/).forEach(dt=>{Fe.name=dt,F.push(this.visitState(Fe,c))}),Fe.name=We}else if(1==ce.type){const Fe=this.visitTransition(ce,c);D+=Fe.queryCount,S+=Fe.depCount,le.push(Fe)}else c.errors.push(function Ae(){return new v.vHH(3007,!1)}())}),{type:7,name:a.name,states:F,transitions:le,queryCount:D,depCount:S,options:null}}visitState(a,c){const D=this.visitStyle(a.styles,c),S=a.options&&a.options.params||null;if(D.containsDynamicStyles){const F=new Set,le=S||{};D.styles.forEach(ce=>{ce instanceof Map&&ce.forEach(Fe=>{ne(Fe).forEach(We=>{le.hasOwnProperty(We)||F.add(We)})})}),F.size&&($(F.values()),c.errors.push(function Me(M,a){return new v.vHH(3008,!1)}()))}return{type:0,name:a.name,style:D,options:S?{params:S}:null}}visitTransition(a,c){c.queryCount=0,c.depCount=0;const D=nn(this,En(a.animation),c);return{type:1,matchers:Kn(a.expr,c.errors),animation:D,queryCount:c.queryCount,depCount:c.depCount,options:nr(a.options)}}visitSequence(a,c){return{type:2,steps:a.steps.map(D=>nn(this,D,c)),options:nr(a.options)}}visitGroup(a,c){const D=c.currentTime;let S=0;const F=a.steps.map(le=>{c.currentTime=D;const ce=nn(this,le,c);return S=Math.max(S,c.currentTime),ce});return c.currentTime=S,{type:3,steps:F,options:nr(a.options)}}visitAnimate(a,c){const D=function Ur(M,a){if(M.hasOwnProperty("duration"))return M;if("number"==typeof M)return Ir(ee(M,a).duration,0,"");const c=M;if(c.split(/\s+/).some(F=>"{"==F.charAt(0)&&"{"==F.charAt(1))){const F=Ir(0,0,"");return F.dynamic=!0,F.strValue=c,F}const S=ee(c,a);return Ir(S.duration,S.delay,S.easing)}(a.timings,c.errors);c.currentAnimateTimings=D;let S,F=a.styles?a.styles:(0,T.oB)({});if(5==F.type)S=this.visitKeyframes(F,c);else{let le=a.styles,ce=!1;if(!le){ce=!0;const We={};D.easing&&(We.easing=D.easing),le=(0,T.oB)(We)}c.currentTime+=D.duration+D.delay;const Fe=this.visitStyle(le,c);Fe.isEmptyStep=ce,S=Fe}return c.currentAnimateTimings=null,{type:4,timings:D,style:S,options:null}}visitStyle(a,c){const D=this._makeStyleAst(a,c);return this._validateStyleAst(D,c),D}_makeStyleAst(a,c){const D=[],S=Array.isArray(a.styles)?a.styles:[a.styles];for(let ce of S)"string"==typeof ce?ce===T.l3?D.push(ce):c.errors.push(new v.vHH(3002,!1)):D.push(Ne(ce));let F=!1,le=null;return D.forEach(ce=>{if(ce instanceof Map&&(ce.has("easing")&&(le=ce.get("easing"),ce.delete("easing")),!F))for(let Fe of ce.values())if(Fe.toString().indexOf("{{")>=0){F=!0;break}}),{type:6,styles:D,easing:le,offset:a.offset,containsDynamicStyles:F,options:null}}_validateStyleAst(a,c){const D=c.currentAnimateTimings;let S=c.currentTime,F=c.currentTime;D&&F>0&&(F-=D.duration+D.delay),a.styles.forEach(le=>{"string"!=typeof le&&le.forEach((ce,Fe)=>{const We=c.collectedStyles.get(c.currentQuerySelector),dt=We.get(Fe);let pt=!0;dt&&(F!=S&&F>=dt.startTime&&S<=dt.endTime&&(c.errors.push(function ie(M,a,c,D,S){return new v.vHH(3010,!1)}()),pt=!1),F=dt.startTime),pt&&We.set(Fe,{startTime:F,endTime:S}),c.options&&function wn(M,a,c){const D=a.params||{},S=ne(M);S.length&&S.forEach(F=>{D.hasOwnProperty(F)||c.push(function G(M){return new v.vHH(3001,!1)}())})}(ce,c.options,c.errors)})})}visitKeyframes(a,c){const D={type:5,styles:[],options:null};if(!c.currentAnimateTimings)return c.errors.push(function Ie(){return new v.vHH(3011,!1)}()),D;let F=0;const le=[];let ce=!1,Fe=!1,We=0;const dt=a.steps.map(hn=>{const Cn=this._makeStyleAst(hn,c);let Pn=null!=Cn.offset?Cn.offset:function Gn(M){if("string"==typeof M)return null;let a=null;if(Array.isArray(M))M.forEach(c=>{if(c instanceof Map&&c.has("offset")){const D=c;a=parseFloat(D.get("offset")),D.delete("offset")}});else if(M instanceof Map&&M.has("offset")){const c=M;a=parseFloat(c.get("offset")),c.delete("offset")}return a}(Cn.styles),Rn=0;return null!=Pn&&(F++,Rn=Cn.offset=Pn),Fe=Fe||Rn<0||Rn>1,ce=ce||Rn<We,We=Rn,le.push(Rn),Cn});Fe&&c.errors.push(function rt(){return new v.vHH(3012,!1)}()),ce&&c.errors.push(function it(){return new v.vHH(3200,!1)}());const pt=a.steps.length;let Xt=0;F>0&&F<pt?c.errors.push(function Pe(){return new v.vHH(3202,!1)}()):0==F&&(Xt=1/(pt-1));const Gt=pt-1,bt=c.currentTime,Rt=c.currentAnimateTimings,cn=Rt.duration;return dt.forEach((hn,Cn)=>{const Pn=Xt>0?Cn==Gt?1:Xt*Cn:le[Cn],Rn=Pn*cn;c.currentTime=bt+Rt.delay+Rn,Rt.duration=Rn,this._validateStyleAst(hn,c),hn.offset=Pn,D.styles.push(hn)}),D}visitReference(a,c){return{type:8,animation:nn(this,En(a.animation),c),options:nr(a.options)}}visitAnimateChild(a,c){return c.depCount++,{type:9,options:nr(a.options)}}visitAnimateRef(a,c){return{type:10,animation:this.visitReference(a.animation,c),options:nr(a.options)}}visitQuery(a,c){const D=c.currentQuerySelector,S=a.options||{};c.queryCount++,c.currentQuery=a;const[F,le]=function ln(M){const a=!!M.split(/\s*,\s*/).find(c=>":self"==c);return a&&(M=M.replace(ei,"")),M=M.replace(/@\*/g,Ot).replace(/@\w+/g,c=>Ot+"-"+c.slice(1)).replace(/:animating/g,oe),[M,a]}(a.selector);c.currentQuerySelector=D.length?D+" "+F:F,Et(c.collectedStyles,c.currentQuerySelector,new Map);const ce=nn(this,En(a.animation),c);return c.currentQuery=null,c.currentQuerySelector=D,{type:11,selector:F,limit:S.limit||0,optional:!!S.optional,includeSelf:le,animation:ce,originalSelector:a.selector,options:nr(a.options)}}visitStagger(a,c){c.currentQuery||c.errors.push(function Q(){return new v.vHH(3013,!1)}());const D="full"===a.timings?{duration:0,delay:0,easing:"full"}:ee(a.timings,c.errors,!0);return{type:12,animation:nn(this,En(a.animation),c),timings:D,options:null}}}class An{constructor(a){this.errors=a,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles=new Map,this.options=null,this.unsupportedCSSPropertiesFound=new Set}}function nr(M){return M?(M=fe(M)).params&&(M.params=function Ar(M){return M?fe(M):null}(M.params)):M={},M}function Ir(M,a,c){return{duration:M,delay:a,easing:c}}function qn(M,a,c,D,S,F,le=null,ce=!1){return{type:1,element:M,keyframes:a,preStyleProps:c,postStyleProps:D,duration:S,delay:F,totalTime:S+F,easing:le,subTimeline:ce}}class ti{constructor(){this._map=new Map}get(a){return this._map.get(a)||[]}append(a,c){let D=this._map.get(a);D||this._map.set(a,D=[]),D.push(...c)}has(a){return this._map.has(a)}clear(){this._map.clear()}}const as=new RegExp(":enter","g"),ir=new RegExp(":leave","g");function Li(M,a,c,D,S,F=new Map,le=new Map,ce,Fe,We=[]){return(new Gs).buildKeyframes(M,a,c,D,S,F,le,ce,Fe,We)}class Gs{buildKeyframes(a,c,D,S,F,le,ce,Fe,We,dt=[]){We=We||new ti;const pt=new yi(a,c,We,S,F,dt,[]);pt.options=Fe;const Xt=Fe.delay?ue(Fe.delay):0;pt.currentTimeline.delayNextStep(Xt),pt.currentTimeline.setStyles([le],null,pt.errors,Fe),nn(this,D,pt);const Gt=pt.timelines.filter(bt=>bt.containsAnimation());if(Gt.length&&ce.size){let bt;for(let Rt=Gt.length-1;Rt>=0;Rt--){const cn=Gt[Rt];if(cn.element===c){bt=cn;break}}bt&&!bt.allowOnlyTimelineStyles()&&bt.setStyles([ce],null,pt.errors,Fe)}return Gt.length?Gt.map(bt=>bt.buildKeyframes()):[qn(c,[],[],[],0,Xt,"",!1)]}visitTrigger(a,c){}visitState(a,c){}visitTransition(a,c){}visitAnimateChild(a,c){const D=c.subInstructions.get(c.element);if(D){const S=c.createSubContext(a.options),F=c.currentTimeline.currentTime,le=this._visitSubInstructions(D,S,S.options);F!=le&&c.transformIntoNewTimeline(le)}c.previousNode=a}visitAnimateRef(a,c){const D=c.createSubContext(a.options);D.transformIntoNewTimeline(),this._applyAnimationRefDelays([a.options,a.animation.options],c,D),this.visitReference(a.animation,D),c.transformIntoNewTimeline(D.currentTimeline.currentTime),c.previousNode=a}_applyAnimationRefDelays(a,c,D){for(const S of a){const F=S?.delay;if(F){const le="number"==typeof F?F:ue(re(F,S?.params??{},c.errors));D.delayNextStep(le)}}}_visitSubInstructions(a,c,D){let F=c.currentTimeline.currentTime;const le=null!=D.duration?ue(D.duration):null,ce=null!=D.delay?ue(D.delay):null;return 0!==le&&a.forEach(Fe=>{const We=c.appendInstructionToTimeline(Fe,le,ce);F=Math.max(F,We.duration+We.delay)}),F}visitReference(a,c){c.updateOptions(a.options,!0),nn(this,a.animation,c),c.previousNode=a}visitSequence(a,c){const D=c.subContextCount;let S=c;const F=a.options;if(F&&(F.params||F.delay)&&(S=c.createSubContext(F),S.transformIntoNewTimeline(),null!=F.delay)){6==S.previousNode.type&&(S.currentTimeline.snapshotCurrentStyles(),S.previousNode=_i);const le=ue(F.delay);S.delayNextStep(le)}a.steps.length&&(a.steps.forEach(le=>nn(this,le,S)),S.currentTimeline.applyStylesToKeyframe(),S.subContextCount>D&&S.transformIntoNewTimeline()),c.previousNode=a}visitGroup(a,c){const D=[];let S=c.currentTimeline.currentTime;const F=a.options&&a.options.delay?ue(a.options.delay):0;a.steps.forEach(le=>{const ce=c.createSubContext(a.options);F&&ce.delayNextStep(F),nn(this,le,ce),S=Math.max(S,ce.currentTimeline.currentTime),D.push(ce.currentTimeline)}),D.forEach(le=>c.currentTimeline.mergeTimelineCollectedStyles(le)),c.transformIntoNewTimeline(S),c.previousNode=a}_visitTiming(a,c){if(a.dynamic){const D=a.strValue;return ee(c.params?re(D,c.params,c.errors):D,c.errors)}return{duration:a.duration,delay:a.delay,easing:a.easing}}visitAnimate(a,c){const D=c.currentAnimateTimings=this._visitTiming(a.timings,c),S=c.currentTimeline;D.delay&&(c.incrementTime(D.delay),S.snapshotCurrentStyles());const F=a.style;5==F.type?this.visitKeyframes(F,c):(c.incrementTime(D.duration),this.visitStyle(F,c),S.applyStylesToKeyframe()),c.currentAnimateTimings=null,c.previousNode=a}visitStyle(a,c){const D=c.currentTimeline,S=c.currentAnimateTimings;!S&&D.hasCurrentStyleProperties()&&D.forwardFrame();const F=S&&S.easing||a.easing;a.isEmptyStep?D.applyEmptyStep(F):D.setStyles(a.styles,F,c.errors,c.options),c.previousNode=a}visitKeyframes(a,c){const D=c.currentAnimateTimings,S=c.currentTimeline.duration,F=D.duration,ce=c.createSubContext().currentTimeline;ce.easing=D.easing,a.styles.forEach(Fe=>{ce.forwardTime((Fe.offset||0)*F),ce.setStyles(Fe.styles,Fe.easing,c.errors,c.options),ce.applyStylesToKeyframe()}),c.currentTimeline.mergeTimelineCollectedStyles(ce),c.transformIntoNewTimeline(S+F),c.previousNode=a}visitQuery(a,c){const D=c.currentTimeline.currentTime,S=a.options||{},F=S.delay?ue(S.delay):0;F&&(6===c.previousNode.type||0==D&&c.currentTimeline.hasCurrentStyleProperties())&&(c.currentTimeline.snapshotCurrentStyles(),c.previousNode=_i);let le=D;const ce=c.invokeQuery(a.selector,a.originalSelector,a.limit,a.includeSelf,!!S.optional,c.errors);c.currentQueryTotal=ce.length;let Fe=null;ce.forEach((We,dt)=>{c.currentQueryIndex=dt;const pt=c.createSubContext(a.options,We);F&&pt.delayNextStep(F),We===c.element&&(Fe=pt.currentTimeline),nn(this,a.animation,pt),pt.currentTimeline.applyStylesToKeyframe(),le=Math.max(le,pt.currentTimeline.currentTime)}),c.currentQueryIndex=0,c.currentQueryTotal=0,c.transformIntoNewTimeline(le),Fe&&(c.currentTimeline.mergeTimelineCollectedStyles(Fe),c.currentTimeline.snapshotCurrentStyles()),c.previousNode=a}visitStagger(a,c){const D=c.parentContext,S=c.currentTimeline,F=a.timings,le=Math.abs(F.duration),ce=le*(c.currentQueryTotal-1);let Fe=le*c.currentQueryIndex;switch(F.duration<0?"reverse":F.easing){case"reverse":Fe=ce-Fe;break;case"full":Fe=D.currentStaggerTime}const dt=c.currentTimeline;Fe&&dt.delayNextStep(Fe);const pt=dt.currentTime;nn(this,a.animation,c),c.previousNode=a,D.currentStaggerTime=S.currentTime-pt+(S.startTime-D.currentTimeline.startTime)}}const _i={};class yi{constructor(a,c,D,S,F,le,ce,Fe){this._driver=a,this.element=c,this.subInstructions=D,this._enterClassName=S,this._leaveClassName=F,this.errors=le,this.timelines=ce,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=_i,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=Fe||new Vr(this._driver,c,0),ce.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(a,c){if(!a)return;const D=a;let S=this.options;null!=D.duration&&(S.duration=ue(D.duration)),null!=D.delay&&(S.delay=ue(D.delay));const F=D.params;if(F){let le=S.params;le||(le=this.options.params={}),Object.keys(F).forEach(ce=>{(!c||!le.hasOwnProperty(ce))&&(le[ce]=re(F[ce],le,this.errors))})}}_copyOptions(){const a={};if(this.options){const c=this.options.params;if(c){const D=a.params={};Object.keys(c).forEach(S=>{D[S]=c[S]})}}return a}createSubContext(a=null,c,D){const S=c||this.element,F=new yi(this._driver,S,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(S,D||0));return F.previousNode=this.previousNode,F.currentAnimateTimings=this.currentAnimateTimings,F.options=this._copyOptions(),F.updateOptions(a),F.currentQueryIndex=this.currentQueryIndex,F.currentQueryTotal=this.currentQueryTotal,F.parentContext=this,this.subContextCount++,F}transformIntoNewTimeline(a){return this.previousNode=_i,this.currentTimeline=this.currentTimeline.fork(this.element,a),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(a,c,D){const S={duration:c??a.duration,delay:this.currentTimeline.currentTime+(D??0)+a.delay,easing:""},F=new vr(this._driver,a.element,a.keyframes,a.preStyleProps,a.postStyleProps,S,a.stretchStartingKeyframe);return this.timelines.push(F),S}incrementTime(a){this.currentTimeline.forwardTime(this.currentTimeline.duration+a)}delayNextStep(a){a>0&&this.currentTimeline.delayNextStep(a)}invokeQuery(a,c,D,S,F,le){let ce=[];if(S&&ce.push(this.element),a.length>0){a=(a=a.replace(as,"."+this._enterClassName)).replace(ir,"."+this._leaveClassName);let We=this._driver.query(this.element,a,1!=D);0!==D&&(We=D<0?We.slice(We.length+D,We.length):We.slice(0,D)),ce.push(...We)}return!F&&0==ce.length&&le.push(function ve(M){return new v.vHH(3014,!1)}()),ce}}class Vr{constructor(a,c,D,S){this._driver=a,this.element=c,this.startTime=D,this._elementTimelineStylesLookup=S,this.duration=0,this._previousKeyframe=new Map,this._currentKeyframe=new Map,this._keyframes=new Map,this._styleSummary=new Map,this._localTimelineStyles=new Map,this._pendingStyles=new Map,this._backFill=new Map,this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(c),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(c,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.hasCurrentStyleProperties();default:return!0}}hasCurrentStyleProperties(){return this._currentKeyframe.size>0}get currentTime(){return this.startTime+this.duration}delayNextStep(a){const c=1===this._keyframes.size&&this._pendingStyles.size;this.duration||c?(this.forwardTime(this.currentTime+a),c&&this.snapshotCurrentStyles()):this.startTime+=a}fork(a,c){return this.applyStylesToKeyframe(),new Vr(this._driver,a,c||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=new Map,this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(a){this.applyStylesToKeyframe(),this.duration=a,this._loadKeyframe()}_updateStyle(a,c){this._localTimelineStyles.set(a,c),this._globalTimelineStyles.set(a,c),this._styleSummary.set(a,{time:this.currentTime,value:c})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(a){a&&this._previousKeyframe.set("easing",a);for(let[c,D]of this._globalTimelineStyles)this._backFill.set(c,D||T.l3),this._currentKeyframe.set(c,T.l3);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(a,c,D,S){c&&this._previousKeyframe.set("easing",c);const F=S&&S.params||{},le=function Ss(M,a){const c=new Map;let D;return M.forEach(S=>{if("*"===S){D=D||a.keys();for(let F of D)c.set(F,T.l3)}else jt(S,c)}),c}(a,this._globalTimelineStyles);for(let[ce,Fe]of le){const We=re(Fe,F,D);this._pendingStyles.set(ce,We),this._localTimelineStyles.has(ce)||this._backFill.set(ce,this._globalTimelineStyles.get(ce)??T.l3),this._updateStyle(ce,We)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach((a,c)=>{this._currentKeyframe.set(c,a)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((a,c)=>{this._currentKeyframe.has(c)||this._currentKeyframe.set(c,a)}))}snapshotCurrentStyles(){for(let[a,c]of this._localTimelineStyles)this._pendingStyles.set(a,c),this._updateStyle(a,c)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const a=[];for(let c in this._currentKeyframe)a.push(c);return a}mergeTimelineCollectedStyles(a){a._styleSummary.forEach((c,D)=>{const S=this._styleSummary.get(D);(!S||c.time>S.time)&&this._updateStyle(D,c.value)})}buildKeyframes(){this.applyStylesToKeyframe();const a=new Set,c=new Set,D=1===this._keyframes.size&&0===this.duration;let S=[];this._keyframes.forEach((ce,Fe)=>{const We=jt(ce,new Map,this._backFill);We.forEach((dt,pt)=>{dt===T.k1?a.add(pt):dt===T.l3&&c.add(pt)}),D||We.set("offset",Fe/this.duration),S.push(We)});const F=a.size?$(a.values()):[],le=c.size?$(c.values()):[];if(D){const ce=S[0],Fe=new Map(ce);ce.set("offset",0),Fe.set("offset",1),S=[ce,Fe]}return qn(this.element,S,F,le,this.duration,this.startTime,this.easing,!1)}}class vr extends Vr{constructor(a,c,D,S,F,le,ce=!1){super(a,c,le.delay),this.keyframes=D,this.preStyleProps=S,this.postStyleProps=F,this._stretchStartingKeyframe=ce,this.timings={duration:le.duration,delay:le.delay,easing:le.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let a=this.keyframes,{delay:c,duration:D,easing:S}=this.timings;if(this._stretchStartingKeyframe&&c){const F=[],le=D+c,ce=c/le,Fe=jt(a[0]);Fe.set("offset",0),F.push(Fe);const We=jt(a[0]);We.set("offset",jr(ce)),F.push(We);const dt=a.length-1;for(let pt=1;pt<=dt;pt++){let Xt=jt(a[pt]);const Gt=Xt.get("offset");Xt.set("offset",jr((c+Gt*D)/le)),F.push(Xt)}D=le,c=0,S="",a=F}return qn(this.element,a,this.preStyleProps,this.postStyleProps,D,c,S,!0)}}function jr(M,a=3){const c=Math.pow(10,a-1);return Math.round(M*c)/c}class ls{}const Ts=new Set(["width","height","minWidth","minHeight","maxWidth","maxHeight","left","top","bottom","right","fontSize","outlineWidth","outlineOffset","paddingTop","paddingLeft","paddingBottom","paddingRight","marginTop","marginLeft","marginBottom","marginRight","borderRadius","borderWidth","borderTopWidth","borderLeftWidth","borderRightWidth","borderBottomWidth","textIndent","perspective"]);class cs extends ls{normalizePropertyName(a,c){return Ke(a)}normalizeStyleValue(a,c,D,S){let F="";const le=D.toString().trim();if(Ts.has(c)&&0!==D&&"0"!==D)if("number"==typeof D)F="px";else{const ce=D.match(/^[+-]?[\d\.]+([a-z]*)$/);ce&&0==ce[1].length&&S.push(function z(M,a){return new v.vHH(3005,!1)}())}return le+F}}function Or(M,a,c,D,S,F,le,ce,Fe,We,dt,pt,Xt){return{type:0,element:M,triggerName:a,isRemovalTransition:S,fromState:c,fromStyles:F,toState:D,toStyles:le,timelines:ce,queriedElements:Fe,preStyleProps:We,postStyleProps:dt,totalTime:pt,errors:Xt}}const Fi={};class Ni{constructor(a,c,D){this._triggerName=a,this.ast=c,this._stateStyles=D}match(a,c,D,S){return function sr(M,a,c,D,S){return M.some(F=>F(a,c,D,S))}(this.ast.matchers,a,c,D,S)}buildStyles(a,c,D){let S=this._stateStyles.get("*");return void 0!==a&&(S=this._stateStyles.get(a?.toString())||S),S?S.buildStyles(c,D):new Map}build(a,c,D,S,F,le,ce,Fe,We,dt){const pt=[],Xt=this.ast.options&&this.ast.options.params||Fi,bt=this.buildStyles(D,ce&&ce.params||Fi,pt),Rt=Fe&&Fe.params||Fi,cn=this.buildStyles(S,Rt,pt),hn=new Set,Cn=new Map,Pn=new Map,Rn="void"===S,p={params:vi(Rt,Xt),delay:this.ast.options?.delay},b=dt?[]:Li(a,c,this.ast.animation,F,le,bt,cn,p,We,pt);let _=0;if(b.forEach(se=>{_=Math.max(se.duration+se.delay,_)}),pt.length)return Or(c,this._triggerName,D,S,Rn,bt,cn,[],[],Cn,Pn,_,pt);b.forEach(se=>{const Be=se.element,Ge=Et(Cn,Be,new Set);se.preStyleProps.forEach(Yt=>Ge.add(Yt));const gt=Et(Pn,Be,new Set);se.postStyleProps.forEach(Yt=>gt.add(Yt)),Be!==c&&hn.add(Be)});const A=$(hn.values());return Or(c,this._triggerName,D,S,Rn,bt,cn,b,A,Cn,Pn,_)}}function vi(M,a){const c=fe(a);for(const D in M)M.hasOwnProperty(D)&&null!=M[D]&&(c[D]=M[D]);return c}class ki{constructor(a,c,D){this.styles=a,this.defaultParams=c,this.normalizer=D}buildStyles(a,c){const D=new Map,S=fe(this.defaultParams);return Object.keys(a).forEach(F=>{const le=a[F];null!==le&&(S[F]=le)}),this.styles.styles.forEach(F=>{"string"!=typeof F&&F.forEach((le,ce)=>{le&&(le=re(le,S,c));const Fe=this.normalizer.normalizePropertyName(ce,c);le=this.normalizer.normalizeStyleValue(ce,Fe,le,c),D.set(Fe,le)})}),D}}class Bi{constructor(a,c,D){this.name=a,this.ast=c,this._normalizer=D,this.transitionFactories=[],this.states=new Map,c.states.forEach(S=>{this.states.set(S.name,new ki(S.style,S.options&&S.options.params||{},D))}),ni(this.states,"true","1"),ni(this.states,"false","0"),c.transitions.forEach(S=>{this.transitionFactories.push(new Ni(a,S,this.states))}),this.fallbackTransition=function Ui(M,a,c){return new Ni(M,{type:1,animation:{type:2,steps:[],options:null},matchers:[(le,ce)=>!0],options:null,queryCount:0,depCount:0},a)}(a,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(a,c,D,S){return this.transitionFactories.find(le=>le.match(a,c,D,S))||null}matchStyles(a,c,D){return this.fallbackTransition.buildStyles(a,c,D)}}function ni(M,a,c){M.has(a)?M.has(c)||M.set(c,M.get(a)):M.has(c)&&M.set(a,M.get(c))}const us=new ti;class ds{constructor(a,c,D){this.bodyNode=a,this._driver=c,this._normalizer=D,this._animations=new Map,this._playersById=new Map,this.players=[]}register(a,c){const D=[],F=rr(this._driver,c,D,[]);if(D.length)throw function Ue(M){return new v.vHH(3503,!1)}();this._animations.set(a,F)}_buildPlayer(a,c,D){const S=a.element,F=Ct(0,this._normalizer,0,a.keyframes,c,D);return this._driver.animate(S,F,a.duration,a.delay,a.easing,[],!0)}create(a,c,D={}){const S=[],F=this._animations.get(a);let le;const ce=new Map;if(F?(le=Li(this._driver,c,F,Bt,Tt,new Map,new Map,D,us,S),le.forEach(dt=>{const pt=Et(ce,dt.element,new Map);dt.postStyleProps.forEach(Xt=>pt.set(Xt,null))})):(S.push(function $e(){return new v.vHH(3300,!1)}()),le=[]),S.length)throw function yt(M){return new v.vHH(3504,!1)}();ce.forEach((dt,pt)=>{dt.forEach((Xt,Gt)=>{dt.set(Gt,this._driver.computeStyle(pt,Gt,T.l3))})});const We=Ze(le.map(dt=>{const pt=ce.get(dt.element);return this._buildPlayer(dt,new Map,pt)}));return this._playersById.set(a,We),We.onDestroy(()=>this.destroy(a)),this.players.push(We),We}destroy(a){const c=this._getPlayer(a);c.destroy(),this._playersById.delete(a);const D=this.players.indexOf(c);D>=0&&this.players.splice(D,1)}_getPlayer(a){const c=this._playersById.get(a);if(!c)throw function zt(M){return new v.vHH(3301,!1)}();return c}listen(a,c,D,S){const F=St(c,"","","");return At(this._getPlayer(a),D,F,S),()=>{}}command(a,c,D,S){if("register"==D)return void this.register(a,S[0]);if("create"==D)return void this.create(a,c,S[0]||{});const F=this._getPlayer(a);switch(D){case"play":F.play();break;case"pause":F.pause();break;case"reset":F.reset();break;case"restart":F.restart();break;case"finish":F.finish();break;case"init":F.init();break;case"setPosition":F.setPosition(parseFloat(S[0]));break;case"destroy":this.destroy(a)}}}const zr="ng-animate-queued",jn="ng-animate-disabled",Qs=[],Xs={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},bn={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Yn="__ng_removed";class As{constructor(a,c=""){this.namespaceId=c;const D=a&&a.hasOwnProperty("value");if(this.value=function Js(M){return M??null}(D?a.value:a),D){const F=fe(a);delete F.value,this.options=F}else this.options={};this.options.params||(this.options.params={})}get params(){return this.options.params}absorbOptions(a){const c=a.params;if(c){const D=this.options.params;Object.keys(c).forEach(S=>{null==D[S]&&(D[S]=c[S])})}}}const Dr="void",Hn=new As(Dr);class xo{constructor(a,c,D){this.id=a,this.hostElement=c,this._engine=D,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+a,vt(c,this._hostClassName)}listen(a,c,D,S){if(!this._triggers.has(c))throw function Mt(M,a){return new v.vHH(3302,!1)}();if(null==D||0==D.length)throw function sn(M){return new v.vHH(3303,!1)}();if(!function er(M){return"start"==M||"done"==M}(D))throw function en(M,a){return new v.vHH(3400,!1)}();const F=Et(this._elementListeners,a,[]),le={name:c,phase:D,callback:S};F.push(le);const ce=Et(this._engine.statesByElement,a,new Map);return ce.has(c)||(vt(a,dn),vt(a,dn+"-"+c),ce.set(c,Hn)),()=>{this._engine.afterFlush(()=>{const Fe=F.indexOf(le);Fe>=0&&F.splice(Fe,1),this._triggers.has(c)||ce.delete(c)})}}register(a,c){return!this._triggers.has(a)&&(this._triggers.set(a,c),!0)}_getTrigger(a){const c=this._triggers.get(a);if(!c)throw function It(M){return new v.vHH(3401,!1)}();return c}trigger(a,c,D,S=!0){const F=this._getTrigger(c),le=new Rr(this.id,c,a);let ce=this._engine.statesByElement.get(a);ce||(vt(a,dn),vt(a,dn+"-"+c),this._engine.statesByElement.set(a,ce=new Map));let Fe=ce.get(c);const We=new As(D,this.id);if(!(D&&D.hasOwnProperty("value"))&&Fe&&We.absorbOptions(Fe.options),ce.set(c,We),Fe||(Fe=Hn),We.value!==Dr&&Fe.value===We.value){if(!function Wr(M,a){const c=Object.keys(M),D=Object.keys(a);if(c.length!=D.length)return!1;for(let S=0;S<c.length;S++){const F=c[S];if(!a.hasOwnProperty(F)||M[F]!==a[F])return!1}return!0}(Fe.params,We.params)){const Rt=[],cn=F.matchStyles(Fe.value,Fe.params,Rt),hn=F.matchStyles(We.value,We.params,Rt);Rt.length?this._engine.reportError(Rt):this._engine.afterFlush(()=>{an(a,cn),on(a,hn)})}return}const Xt=Et(this._engine.playersByElement,a,[]);Xt.forEach(Rt=>{Rt.namespaceId==this.id&&Rt.triggerName==c&&Rt.queued&&Rt.destroy()});let Gt=F.matchTransition(Fe.value,We.value,a,We.params),bt=!1;if(!Gt){if(!S)return;Gt=F.fallbackTransition,bt=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:a,triggerName:c,transition:Gt,fromState:Fe,toState:We,player:le,isFallbackTransition:bt}),bt||(vt(a,zr),le.onStart(()=>{Er(a,zr)})),le.onDone(()=>{let Rt=this.players.indexOf(le);Rt>=0&&this.players.splice(Rt,1);const cn=this._engine.playersByElement.get(a);if(cn){let hn=cn.indexOf(le);hn>=0&&cn.splice(hn,1)}}),this.players.push(le),Xt.push(le),le}deregister(a){this._triggers.delete(a),this._engine.statesByElement.forEach(c=>c.delete(a)),this._elementListeners.forEach((c,D)=>{this._elementListeners.set(D,c.filter(S=>S.name!=a))})}clearElementCache(a){this._engine.statesByElement.delete(a),this._elementListeners.delete(a);const c=this._engine.playersByElement.get(a);c&&(c.forEach(D=>D.destroy()),this._engine.playersByElement.delete(a))}_signalRemovalForInnerTriggers(a,c){const D=this._engine.driver.query(a,Ot,!0);D.forEach(S=>{if(S[Yn])return;const F=this._engine.fetchNamespacesByElement(S);F.size?F.forEach(le=>le.triggerLeaveAnimation(S,c,!1,!0)):this.clearElementCache(S)}),this._engine.afterFlushAnimationsDone(()=>D.forEach(S=>this.clearElementCache(S)))}triggerLeaveAnimation(a,c,D,S){const F=this._engine.statesByElement.get(a),le=new Map;if(F){const ce=[];if(F.forEach((Fe,We)=>{if(le.set(We,Fe.value),this._triggers.has(We)){const dt=this.trigger(a,We,Dr,S);dt&&ce.push(dt)}}),ce.length)return this._engine.markElementAsRemoved(this.id,a,!0,c,le),D&&Ze(ce).onDone(()=>this._engine.processLeaveNode(a)),!0}return!1}prepareLeaveAnimationListeners(a){const c=this._elementListeners.get(a),D=this._engine.statesByElement.get(a);if(c&&D){const S=new Set;c.forEach(F=>{const le=F.name;if(S.has(le))return;S.add(le);const Fe=this._triggers.get(le).fallbackTransition,We=D.get(le)||Hn,dt=new As(Dr),pt=new Rr(this.id,le,a);this._engine.totalQueuedPlayers++,this._queue.push({element:a,triggerName:le,transition:Fe,fromState:We,toState:dt,player:pt,isFallbackTransition:!0})})}}removeNode(a,c){const D=this._engine;if(a.childElementCount&&this._signalRemovalForInnerTriggers(a,c),this.triggerLeaveAnimation(a,c,!0))return;let S=!1;if(D.totalAnimations){const F=D.players.length?D.playersByQueriedElement.get(a):[];if(F&&F.length)S=!0;else{let le=a;for(;le=le.parentNode;)if(D.statesByElement.get(le)){S=!0;break}}}if(this.prepareLeaveAnimationListeners(a),S)D.markElementAsRemoved(this.id,a,!1,c);else{const F=a[Yn];(!F||F===Xs)&&(D.afterFlush(()=>this.clearElementCache(a)),D.destroyInnerAnimations(a),D._onRemovalComplete(a,c))}}insertNode(a,c){vt(a,this._hostClassName)}drainQueuedTransitions(a){const c=[];return this._queue.forEach(D=>{const S=D.player;if(S.destroyed)return;const F=D.element,le=this._elementListeners.get(F);le&&le.forEach(ce=>{if(ce.name==D.triggerName){const Fe=St(F,D.triggerName,D.fromState.value,D.toState.value);Fe._data=a,At(D.player,ce.phase,Fe,ce.callback)}}),S.markedForDestroy?this._engine.afterFlush(()=>{S.destroy()}):c.push(D)}),this._queue=[],c.sort((D,S)=>{const F=D.transition.ast.depCount,le=S.transition.ast.depCount;return 0==F||0==le?F-le:this._engine.driver.containsElement(D.element,S.element)?1:-1})}destroy(a){this.players.forEach(c=>c.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,a)}elementContainsData(a){let c=!1;return this._elementListeners.has(a)&&(c=!0),c=!!this._queue.find(D=>D.element===a)||c,c}}class ii{constructor(a,c,D){this.bodyNode=a,this.driver=c,this._normalizer=D,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(S,F)=>{}}_onRemovalComplete(a,c){this.onRemovalComplete(a,c)}get queuedPlayers(){const a=[];return this._namespaceList.forEach(c=>{c.players.forEach(D=>{D.queued&&a.push(D)})}),a}createNamespace(a,c){const D=new xo(a,c,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,c)?this._balanceNamespaceList(D,c):(this.newHostElements.set(c,D),this.collectEnterElement(c)),this._namespaceLookup[a]=D}_balanceNamespaceList(a,c){const D=this._namespaceList,S=this.namespacesByHostElement;if(D.length-1>=0){let le=!1,ce=this.driver.getParentElement(c);for(;ce;){const Fe=S.get(ce);if(Fe){const We=D.indexOf(Fe);D.splice(We+1,0,a),le=!0;break}ce=this.driver.getParentElement(ce)}le||D.unshift(a)}else D.push(a);return S.set(c,a),a}register(a,c){let D=this._namespaceLookup[a];return D||(D=this.createNamespace(a,c)),D}registerTrigger(a,c,D){let S=this._namespaceLookup[a];S&&S.register(c,D)&&this.totalAnimations++}destroy(a,c){if(!a)return;const D=this._fetchNamespace(a);this.afterFlush(()=>{this.namespacesByHostElement.delete(D.hostElement),delete this._namespaceLookup[a];const S=this._namespaceList.indexOf(D);S>=0&&this._namespaceList.splice(S,1)}),this.afterFlushAnimationsDone(()=>D.destroy(c))}_fetchNamespace(a){return this._namespaceLookup[a]}fetchNamespacesByElement(a){const c=new Set,D=this.statesByElement.get(a);if(D)for(let S of D.values())if(S.namespaceId){const F=this._fetchNamespace(S.namespaceId);F&&c.add(F)}return c}trigger(a,c,D,S){if(fr(c)){const F=this._fetchNamespace(a);if(F)return F.trigger(c,D,S),!0}return!1}insertNode(a,c,D,S){if(!fr(c))return;const F=c[Yn];if(F&&F.setForRemoval){F.setForRemoval=!1,F.setForMove=!0;const le=this.collectedLeaveElements.indexOf(c);le>=0&&this.collectedLeaveElements.splice(le,1)}if(a){const le=this._fetchNamespace(a);le&&le.insertNode(c,D)}S&&this.collectEnterElement(c)}collectEnterElement(a){this.collectedEnterElements.push(a)}markElementAsDisabled(a,c){c?this.disabledNodes.has(a)||(this.disabledNodes.add(a),vt(a,jn)):this.disabledNodes.has(a)&&(this.disabledNodes.delete(a),Er(a,jn))}removeNode(a,c,D,S){if(fr(c)){const F=a?this._fetchNamespace(a):null;if(F?F.removeNode(c,S):this.markElementAsRemoved(a,c,!1,S),D){const le=this.namespacesByHostElement.get(c);le&&le.id!==a&&le.removeNode(c,S)}}else this._onRemovalComplete(c,S)}markElementAsRemoved(a,c,D,S,F){this.collectedLeaveElements.push(c),c[Yn]={namespaceId:a,setForRemoval:S,hasAnimation:D,removedBeforeQueried:!1,previousTriggersValues:F}}listen(a,c,D,S,F){return fr(c)?this._fetchNamespace(a).listen(c,D,S,F):()=>{}}_buildInstruction(a,c,D,S,F){return a.transition.build(this.driver,a.element,a.fromState.value,a.toState.value,D,S,a.fromState.options,a.toState.options,c,F)}destroyInnerAnimations(a){let c=this.driver.query(a,Ot,!0);c.forEach(D=>this.destroyActiveAnimationsForElement(D)),0!=this.playersByQueriedElement.size&&(c=this.driver.query(a,oe,!0),c.forEach(D=>this.finishActiveQueriedAnimationOnElement(D)))}destroyActiveAnimationsForElement(a){const c=this.playersByElement.get(a);c&&c.forEach(D=>{D.queued?D.markedForDestroy=!0:D.destroy()})}finishActiveQueriedAnimationOnElement(a){const c=this.playersByQueriedElement.get(a);c&&c.forEach(D=>D.finish())}whenRenderingDone(){return new Promise(a=>{if(this.players.length)return Ze(this.players).onDone(()=>a());a()})}processLeaveNode(a){const c=a[Yn];if(c&&c.setForRemoval){if(a[Yn]=Xs,c.namespaceId){this.destroyInnerAnimations(a);const D=this._fetchNamespace(c.namespaceId);D&&D.clearElementCache(a)}this._onRemovalComplete(a,c.setForRemoval)}a.classList?.contains(jn)&&this.markElementAsDisabled(a,!1),this.driver.query(a,".ng-animate-disabled",!0).forEach(D=>{this.markElementAsDisabled(D,!1)})}flush(a=-1){let c=[];if(this.newHostElements.size&&(this.newHostElements.forEach((D,S)=>this._balanceNamespaceList(D,S)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let D=0;D<this.collectedEnterElements.length;D++)vt(this.collectedEnterElements[D],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){const D=[];try{c=this._flushAnimations(D,a)}finally{for(let S=0;S<D.length;S++)D[S]()}}else for(let D=0;D<this.collectedLeaveElements.length;D++)this.processLeaveNode(this.collectedLeaveElements[D]);if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(D=>D()),this._flushFns=[],this._whenQuietFns.length){const D=this._whenQuietFns;this._whenQuietFns=[],c.length?Ze(c).onDone(()=>{D.forEach(S=>S())}):D.forEach(S=>S())}}reportError(a){throw function Se(M){return new v.vHH(3402,!1)}()}_flushAnimations(a,c){const D=new ti,S=[],F=new Map,le=[],ce=new Map,Fe=new Map,We=new Map,dt=new Set;this.disabledNodes.forEach(tt=>{dt.add(tt);const ft=this.driver.query(tt,".ng-animate-queued",!0);for(let ut=0;ut<ft.length;ut++)dt.add(ft[ut])});const pt=this.bodyNode,Xt=Array.from(this.statesByElement.keys()),Gt=Ei(Xt,this.collectedEnterElements),bt=new Map;let Rt=0;Gt.forEach((tt,ft)=>{const ut=Bt+Rt++;bt.set(ft,ut),tt.forEach(Ft=>vt(Ft,ut))});const cn=[],hn=new Set,Cn=new Set;for(let tt=0;tt<this.collectedLeaveElements.length;tt++){const ft=this.collectedLeaveElements[tt],ut=ft[Yn];ut&&ut.setForRemoval&&(cn.push(ft),hn.add(ft),ut.hasAnimation?this.driver.query(ft,".ng-star-inserted",!0).forEach(Ft=>hn.add(Ft)):Cn.add(ft))}const Pn=new Map,Rn=Ei(Xt,Array.from(hn));Rn.forEach((tt,ft)=>{const ut=Tt+Rt++;Pn.set(ft,ut),tt.forEach(Ft=>vt(Ft,ut))}),a.push(()=>{Gt.forEach((tt,ft)=>{const ut=bt.get(ft);tt.forEach(Ft=>Er(Ft,ut))}),Rn.forEach((tt,ft)=>{const ut=Pn.get(ft);tt.forEach(Ft=>Er(Ft,ut))}),cn.forEach(tt=>{this.processLeaveNode(tt)})});const p=[],b=[];for(let tt=this._namespaceList.length-1;tt>=0;tt--)this._namespaceList[tt].drainQueuedTransitions(c).forEach(ut=>{const Ft=ut.player,gn=ut.element;if(p.push(Ft),this.collectedEnterElements.length){const Tn=gn[Yn];if(Tn&&Tn.setForMove){if(Tn.previousTriggersValues&&Tn.previousTriggersValues.has(ut.triggerName)){const Mr=Tn.previousTriggersValues.get(ut.triggerName),Zn=this.statesByElement.get(ut.element);if(Zn&&Zn.has(ut.triggerName)){const vs=Zn.get(ut.triggerName);vs.value=Mr,Zn.set(ut.triggerName,vs)}}return void Ft.destroy()}}const vn=!pt||!this.driver.containsElement(pt,gn),Sn=Pn.get(gn),fn=bt.get(gn),un=this._buildInstruction(ut,D,fn,Sn,vn);if(un.errors&&un.errors.length)return void b.push(un);if(vn)return Ft.onStart(()=>an(gn,un.fromStyles)),Ft.onDestroy(()=>on(gn,un.toStyles)),void S.push(Ft);if(ut.isFallbackTransition)return Ft.onStart(()=>an(gn,un.fromStyles)),Ft.onDestroy(()=>on(gn,un.toStyles)),void S.push(Ft);const wr=[];un.timelines.forEach(Tn=>{Tn.stretchStartingKeyframe=!0,this.disabledNodes.has(Tn.element)||wr.push(Tn)}),un.timelines=wr,D.append(gn,un.timelines),le.push({instruction:un,player:Ft,element:gn}),un.queriedElements.forEach(Tn=>Et(ce,Tn,[]).push(Ft)),un.preStyleProps.forEach((Tn,Mr)=>{if(Tn.size){let Zn=Fe.get(Mr);Zn||Fe.set(Mr,Zn=new Set),Tn.forEach((vs,Ds)=>Zn.add(Ds))}}),un.postStyleProps.forEach((Tn,Mr)=>{let Zn=We.get(Mr);Zn||We.set(Mr,Zn=new Set),Tn.forEach((vs,Ds)=>Zn.add(Ds))})});if(b.length){const tt=[];b.forEach(ft=>{tt.push(function pe(M,a){return new v.vHH(3505,!1)}())}),p.forEach(ft=>ft.destroy()),this.reportError(tt)}const _=new Map,A=new Map;le.forEach(tt=>{const ft=tt.element;D.has(ft)&&(A.set(ft,ft),this._beforeAnimationBuild(tt.player.namespaceId,tt.instruction,_))}),S.forEach(tt=>{const ft=tt.element;this._getPreviousPlayers(ft,!1,tt.namespaceId,tt.triggerName,null).forEach(Ft=>{Et(_,ft,[]).push(Ft),Ft.destroy()})});const se=cn.filter(tt=>xr(tt,Fe,We)),Be=new Map;ar(Be,this.driver,Cn,We,T.l3).forEach(tt=>{xr(tt,Fe,We)&&se.push(tt)});const gt=new Map;Gt.forEach((tt,ft)=>{ar(gt,this.driver,new Set(tt),Fe,T.k1)}),se.forEach(tt=>{const ft=Be.get(tt),ut=gt.get(tt);Be.set(tt,new Map([...Array.from(ft?.entries()??[]),...Array.from(ut?.entries()??[])]))});const Yt=[],Jt=[],rn={};le.forEach(tt=>{const{element:ft,player:ut,instruction:Ft}=tt;if(D.has(ft)){if(dt.has(ft))return ut.onDestroy(()=>on(ft,Ft.toStyles)),ut.disabled=!0,ut.overrideTotalTime(Ft.totalTime),void S.push(ut);let gn=rn;if(A.size>1){let Sn=ft;const fn=[];for(;Sn=Sn.parentNode;){const un=A.get(Sn);if(un){gn=un;break}fn.push(Sn)}fn.forEach(un=>A.set(un,gn))}const vn=this._buildAnimation(ut.namespaceId,Ft,_,F,gt,Be);if(ut.setRealPlayer(vn),gn===rn)Yt.push(ut);else{const Sn=this.playersByElement.get(gn);Sn&&Sn.length&&(ut.parentPlayer=Ze(Sn)),S.push(ut)}}else an(ft,Ft.fromStyles),ut.onDestroy(()=>on(ft,Ft.toStyles)),Jt.push(ut),dt.has(ft)&&S.push(ut)}),Jt.forEach(tt=>{const ft=F.get(tt.element);if(ft&&ft.length){const ut=Ze(ft);tt.setRealPlayer(ut)}}),S.forEach(tt=>{tt.parentPlayer?tt.syncPlayerEvents(tt.parentPlayer):tt.destroy()});for(let tt=0;tt<cn.length;tt++){const ft=cn[tt],ut=ft[Yn];if(Er(ft,Tt),ut&&ut.hasAnimation)continue;let Ft=[];if(ce.size){let vn=ce.get(ft);vn&&vn.length&&Ft.push(...vn);let Sn=this.driver.query(ft,oe,!0);for(let fn=0;fn<Sn.length;fn++){let un=ce.get(Sn[fn]);un&&un.length&&Ft.push(...un)}}const gn=Ft.filter(vn=>!vn.destroyed);gn.length?Vi(this,ft,gn):this.processLeaveNode(ft)}return cn.length=0,Yt.forEach(tt=>{this.players.push(tt),tt.onDone(()=>{tt.destroy();const ft=this.players.indexOf(tt);this.players.splice(ft,1)}),tt.play()}),Yt}elementContainsData(a,c){let D=!1;const S=c[Yn];return S&&S.setForRemoval&&(D=!0),this.playersByElement.has(c)&&(D=!0),this.playersByQueriedElement.has(c)&&(D=!0),this.statesByElement.has(c)&&(D=!0),this._fetchNamespace(a).elementContainsData(c)||D}afterFlush(a){this._flushFns.push(a)}afterFlushAnimationsDone(a){this._whenQuietFns.push(a)}_getPreviousPlayers(a,c,D,S,F){let le=[];if(c){const ce=this.playersByQueriedElement.get(a);ce&&(le=ce)}else{const ce=this.playersByElement.get(a);if(ce){const Fe=!F||F==Dr;ce.forEach(We=>{We.queued||!Fe&&We.triggerName!=S||le.push(We)})}}return(D||S)&&(le=le.filter(ce=>!(D&&D!=ce.namespaceId||S&&S!=ce.triggerName))),le}_beforeAnimationBuild(a,c,D){const F=c.element,le=c.isRemovalTransition?void 0:a,ce=c.isRemovalTransition?void 0:c.triggerName;for(const Fe of c.timelines){const We=Fe.element,dt=We!==F,pt=Et(D,We,[]);this._getPreviousPlayers(We,dt,le,ce,c.toState).forEach(Gt=>{const bt=Gt.getRealPlayer();bt.beforeDestroy&&bt.beforeDestroy(),Gt.destroy(),pt.push(Gt)})}an(F,c.fromStyles)}_buildAnimation(a,c,D,S,F,le){const ce=c.triggerName,Fe=c.element,We=[],dt=new Set,pt=new Set,Xt=c.timelines.map(bt=>{const Rt=bt.element;dt.add(Rt);const cn=Rt[Yn];if(cn&&cn.removedBeforeQueried)return new T.ZN(bt.duration,bt.delay);const hn=Rt!==Fe,Cn=function qs(M){const a=[];return fs(M,a),a}((D.get(Rt)||Qs).map(_=>_.getRealPlayer())).filter(_=>!!_.element&&_.element===Rt),Pn=F.get(Rt),Rn=le.get(Rt),p=Ct(0,this._normalizer,0,bt.keyframes,Pn,Rn),b=this._buildPlayer(bt,p,Cn);if(bt.subTimeline&&S&&pt.add(Rt),hn){const _=new Rr(a,ce,Rt);_.setRealPlayer(b),We.push(_)}return b});We.forEach(bt=>{Et(this.playersByQueriedElement,bt.element,[]).push(bt),bt.onDone(()=>function Nn(M,a,c){let D=M.get(a);if(D){if(D.length){const S=D.indexOf(c);D.splice(S,1)}0==D.length&&M.delete(a)}return D}(this.playersByQueriedElement,bt.element,bt))}),dt.forEach(bt=>vt(bt,we));const Gt=Ze(Xt);return Gt.onDestroy(()=>{dt.forEach(bt=>Er(bt,we)),on(Fe,c.toStyles)}),pt.forEach(bt=>{Et(S,bt,[]).push(Gt)}),Gt}_buildPlayer(a,c,D){return c.length>0?this.driver.animate(a.element,c,a.duration,a.delay,a.easing,D):new T.ZN(a.duration,a.delay)}}class Rr{constructor(a,c,D){this.namespaceId=a,this.triggerName=c,this.element=D,this._player=new T.ZN,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(a){this._containsRealPlayer||(this._player=a,this._queuedCallbacks.forEach((c,D)=>{c.forEach(S=>At(a,D,void 0,S))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(a.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(a){this.totalTime=a}syncPlayerEvents(a){const c=this._player;c.triggerCallback&&a.onStart(()=>c.triggerCallback("start")),a.onDone(()=>this.finish()),a.onDestroy(()=>this.destroy())}_queueEvent(a,c){Et(this._queuedCallbacks,a,[]).push(c)}onDone(a){this.queued&&this._queueEvent("done",a),this._player.onDone(a)}onStart(a){this.queued&&this._queueEvent("start",a),this._player.onStart(a)}onDestroy(a){this.queued&&this._queueEvent("destroy",a),this._player.onDestroy(a)}init(){this._player.init()}hasStarted(){return!this.queued&&this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(a){this.queued||this._player.setPosition(a)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(a){const c=this._player;c.triggerCallback&&c.triggerCallback(a)}}function fr(M){return M&&1===M.nodeType}function or(M,a){const c=M.style.display;return M.style.display=a??"none",c}function ar(M,a,c,D,S){const F=[];c.forEach(Fe=>F.push(or(Fe)));const le=[];D.forEach((Fe,We)=>{const dt=new Map;Fe.forEach(pt=>{const Xt=a.computeStyle(We,pt,S);dt.set(pt,Xt),(!Xt||0==Xt.length)&&(We[Yn]=bn,le.push(We))}),M.set(We,dt)});let ce=0;return c.forEach(Fe=>or(Fe,F[ce++])),le}function Ei(M,a){const c=new Map;if(M.forEach(ce=>c.set(ce,[])),0==a.length)return c;const S=new Set(a),F=new Map;function le(ce){if(!ce)return 1;let Fe=F.get(ce);if(Fe)return Fe;const We=ce.parentNode;return Fe=c.has(We)?We:S.has(We)?1:le(We),F.set(ce,Fe),Fe}return a.forEach(ce=>{const Fe=le(ce);1!==Fe&&c.get(Fe).push(ce)}),c}function vt(M,a){M.classList?.add(a)}function Er(M,a){M.classList?.remove(a)}function Vi(M,a,c){Ze(c).onDone(()=>M.processLeaveNode(a))}function fs(M,a){for(let c=0;c<M.length;c++){const D=M[c];D instanceof T.ZE?fs(D.players,a):a.push(D)}}function xr(M,a,c){const D=c.get(M);if(!D)return!1;let S=a.get(M);return S?D.forEach(F=>S.add(F)):a.set(M,D),c.delete(M),!0}class Ci{constructor(a,c,D){this.bodyNode=a,this._driver=c,this._normalizer=D,this._triggerCache={},this.onRemovalComplete=(S,F)=>{},this._transitionEngine=new ii(a,c,D),this._timelineEngine=new ds(a,c,D),this._transitionEngine.onRemovalComplete=(S,F)=>this.onRemovalComplete(S,F)}registerTrigger(a,c,D,S,F){const le=a+"-"+S;let ce=this._triggerCache[le];if(!ce){const Fe=[],dt=rr(this._driver,F,Fe,[]);if(Fe.length)throw function nt(M,a){return new v.vHH(3404,!1)}();ce=function $r(M,a,c){return new Bi(M,a,c)}(S,dt,this._normalizer),this._triggerCache[le]=ce}this._transitionEngine.registerTrigger(c,S,ce)}register(a,c){this._transitionEngine.register(a,c)}destroy(a,c){this._transitionEngine.destroy(a,c)}onInsert(a,c,D,S){this._transitionEngine.insertNode(a,c,D,S)}onRemove(a,c,D,S){this._transitionEngine.removeNode(a,c,S||!1,D)}disableAnimations(a,c){this._transitionEngine.markElementAsDisabled(a,c)}process(a,c,D,S){if("@"==D.charAt(0)){const[F,le]=tn(D);this._timelineEngine.command(F,c,le,S)}else this._transitionEngine.trigger(a,c,D,S)}listen(a,c,D,S,F){if("@"==D.charAt(0)){const[le,ce]=tn(D);return this._timelineEngine.listen(le,c,ce,F)}return this._transitionEngine.listen(a,c,D,S,F)}flush(a=-1){this._transitionEngine.flush(a)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}let Xe=(()=>{class M{constructor(c,D,S){this._element=c,this._startStyles=D,this._endStyles=S,this._state=0;let F=M.initialStylesByElement.get(c);F||M.initialStylesByElement.set(c,F=new Map),this._initialStyles=F}start(){this._state<1&&(this._startStyles&&on(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(on(this._element,this._initialStyles),this._endStyles&&(on(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(M.initialStylesByElement.delete(this._element),this._startStyles&&(an(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(an(this._element,this._endStyles),this._endStyles=null),on(this._element,this._initialStyles),this._state=3)}}return M.initialStylesByElement=new WeakMap,M})();function Kt(M){let a=null;return M.forEach((c,D)=>{(function ps(M){return"display"===M||"position"===M})(D)&&(a=a||new Map,a.set(D,c))}),a}class ji{constructor(a,c,D,S){this.element=a,this.keyframes=c,this.options=D,this._specialStyles=S,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this._originalOnDoneFns=[],this._originalOnStartFns=[],this.time=0,this.parentPlayer=null,this.currentSnapshot=new Map,this._duration=D.duration,this._delay=D.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(a=>a()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const a=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,a,this.options),this._finalKeyframe=a.length?a[a.length-1]:new Map,this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(a){const c=[];return a.forEach(D=>{c.push(Object.fromEntries(D))}),c}_triggerWebAnimation(a,c,D){return a.animate(this._convertKeyframesToObject(c),D)}onStart(a){this._originalOnStartFns.push(a),this._onStartFns.push(a)}onDone(a){this._originalOnDoneFns.push(a),this._onDoneFns.push(a)}onDestroy(a){this._onDestroyFns.push(a)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(a=>a()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(a=>a()),this._onDestroyFns=[])}setPosition(a){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=a*this.time}getPosition(){return this.domPlayer.currentTime/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const a=new Map;this.hasStarted()&&this._finalKeyframe.forEach((D,S)=>{"offset"!==S&&a.set(S,this._finished?D:Vn(this.element,S))}),this.currentSnapshot=a}triggerCallback(a){const c="start"===a?this._onStartFns:this._onDoneFns;c.forEach(D=>D()),c.length=0}}class In{validateStyleProperty(a){return!0}validateAnimatableStyleProperty(a){return!0}matchesElement(a,c){return!1}containsElement(a,c){return L(a,c)}getParentElement(a){return Ve(a)}query(a,c,D){return k(a,c,D)}computeStyle(a,c,D){return window.getComputedStyle(a)[c]}animate(a,c,D,S,F,le=[]){const Fe={duration:D,delay:S,fill:0==S?"both":"forwards"};F&&(Fe.easing=F);const We=new Map,dt=le.filter(Gt=>Gt instanceof ji);(function $t(M,a){return 0===M||0===a})(D,S)&&dt.forEach(Gt=>{Gt.currentSnapshot.forEach((bt,Rt)=>We.set(Rt,bt))});let pt=function st(M){return M.length?M[0]instanceof Map?M:M.map(a=>Ne(a)):[]}(c).map(Gt=>jt(Gt));pt=function Wt(M,a,c){if(c.size&&a.length){let D=a[0],S=[];if(c.forEach((F,le)=>{D.has(le)||S.push(le),D.set(le,F)}),S.length)for(let F=1;F<a.length;F++){let le=a[F];S.forEach(ce=>le.set(ce,Vn(M,ce)))}}return a}(a,pt,We);const Xt=function eo(M,a){let c=null,D=null;return Array.isArray(a)&&a.length?(c=Kt(a[0]),a.length>1&&(D=Kt(a[a.length-1]))):a instanceof Map&&(c=Kt(a)),c||D?new Xe(M,c,D):null}(a,pt);return new ji(a,pt,Fe,Xt)}}var Kr=m(88692);let si=(()=>{class M extends T._j{constructor(c,D){super(),this._nextAnimationId=0,this._renderer=c.createRenderer(D.body,{id:"0",encapsulation:v.ifc.None,styles:[],data:{animation:[]}})}build(c){const D=this._nextAnimationId.toString();this._nextAnimationId++;const S=Array.isArray(c)?(0,T.vP)(c):c;return Hi(this._renderer,null,D,"register",[S]),new lr(D,this._renderer)}}return M.\u0275fac=function(c){return new(c||M)(v.LFG(v.FYo),v.LFG(Kr.K0))},M.\u0275prov=v.Yz7({token:M,factory:M.\u0275fac}),M})();class lr extends T.LC{constructor(a,c){super(),this._id=a,this._renderer=c}create(a,c){return new gs(this._id,a,c||{},this._renderer)}}class gs{constructor(a,c,D,S){this.id=a,this.element=c,this._renderer=S,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",D)}_listen(a,c){return this._renderer.listen(this.element,`@@${this.id}:${a}`,c)}_command(a,...c){return Hi(this._renderer,this.element,this.id,a,c)}onDone(a){this._listen("done",a)}onStart(a){this._listen("start",a)}onDestroy(a){this._listen("destroy",a)}init(){this._command("init")}hasStarted(){return this._started}play(){this._command("play"),this._started=!0}pause(){this._command("pause")}restart(){this._command("restart")}finish(){this._command("finish")}destroy(){this._command("destroy")}reset(){this._command("reset"),this._started=!1}setPosition(a){this._command("setPosition",a)}getPosition(){return this._renderer.engine.players[+this.id]?.getPosition()??0}}function Hi(M,a,c,D,S){return M.setProperty(a,`@@${c}:${D}`,S)}const pn="@.disabled";let bi=(()=>{class M{constructor(c,D,S){this.delegate=c,this.engine=D,this._zone=S,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),D.onRemovalComplete=(F,le)=>{const ce=le?.parentNode(F);ce&&le.removeChild(ce,F)}}createRenderer(c,D){const F=this.delegate.createRenderer(c,D);if(!(c&&D&&D.data&&D.data.animation)){let dt=this._rendererCache.get(F);return dt||(dt=new ms("",F,this.engine,()=>this._rendererCache.delete(F)),this._rendererCache.set(F,dt)),dt}const le=D.id,ce=D.id+"-"+this._currentId;this._currentId++,this.engine.register(ce,c);const Fe=dt=>{Array.isArray(dt)?dt.forEach(Fe):this.engine.registerTrigger(le,ce,c,dt.name,dt)};return D.data.animation.forEach(Fe),new $n(this,ce,F,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then(()=>{this._microtaskId++})}scheduleListenerCallback(c,D,S){c>=0&&c<this._microtaskId?this._zone.run(()=>D(S)):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(F=>{const[le,ce]=F;le(ce)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([D,S]))}end(){this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}}return M.\u0275fac=function(c){return new(c||M)(v.LFG(v.FYo),v.LFG(Ci),v.LFG(v.R0b))},M.\u0275prov=v.Yz7({token:M,factory:M.\u0275fac}),M})();class ms{constructor(a,c,D,S){this.namespaceId=a,this.delegate=c,this.engine=D,this._onDestroy=S,this.destroyNode=this.delegate.destroyNode?F=>c.destroyNode(F):null}get data(){return this.delegate.data}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy(),this._onDestroy?.()}createElement(a,c){return this.delegate.createElement(a,c)}createComment(a){return this.delegate.createComment(a)}createText(a){return this.delegate.createText(a)}appendChild(a,c){this.delegate.appendChild(a,c),this.engine.onInsert(this.namespaceId,c,a,!1)}insertBefore(a,c,D,S=!0){this.delegate.insertBefore(a,c,D),this.engine.onInsert(this.namespaceId,c,a,S)}removeChild(a,c,D){this.engine.onRemove(this.namespaceId,c,this.delegate,D)}selectRootElement(a,c){return this.delegate.selectRootElement(a,c)}parentNode(a){return this.delegate.parentNode(a)}nextSibling(a){return this.delegate.nextSibling(a)}setAttribute(a,c,D,S){this.delegate.setAttribute(a,c,D,S)}removeAttribute(a,c,D){this.delegate.removeAttribute(a,c,D)}addClass(a,c){this.delegate.addClass(a,c)}removeClass(a,c){this.delegate.removeClass(a,c)}setStyle(a,c,D,S){this.delegate.setStyle(a,c,D,S)}removeStyle(a,c,D){this.delegate.removeStyle(a,c,D)}setProperty(a,c,D){"@"==c.charAt(0)&&c==pn?this.disableAnimations(a,!!D):this.delegate.setProperty(a,c,D)}setValue(a,c){this.delegate.setValue(a,c)}listen(a,c,D){return this.delegate.listen(a,c,D)}disableAnimations(a,c){this.engine.disableAnimations(a,c)}}class $n extends ms{constructor(a,c,D,S,F){super(c,D,S,F),this.factory=a,this.namespaceId=c}setProperty(a,c,D){"@"==c.charAt(0)?"."==c.charAt(1)&&c==pn?this.disableAnimations(a,D=void 0===D||!!D):this.engine.process(this.namespaceId,a,c.slice(1),D):this.delegate.setProperty(a,c,D)}listen(a,c,D){if("@"==c.charAt(0)){const S=function Cr(M){switch(M){case"body":return document.body;case"document":return document;case"window":return window;default:return M}}(a);let F=c.slice(1),le="";return"@"!=F.charAt(0)&&([F,le]=function Is(M){const a=M.indexOf(".");return[M.substring(0,a),M.slice(a+1)]}(F)),this.engine.listen(this.namespaceId,S,F,le,ce=>{this.factory.scheduleListenerCallback(ce._data||-1,D,ce)})}return this.delegate.listen(a,c,D)}}const _s=[{provide:T._j,useClass:si},{provide:ls,useFactory:function pr(){return new cs}},{provide:Ci,useClass:(()=>{class M extends Ci{constructor(c,D,S,F){super(c.body,D,S)}ngOnDestroy(){this.flush()}}return M.\u0275fac=function(c){return new(c||M)(v.LFG(Kr.K0),v.LFG(je),v.LFG(ls),v.LFG(v.z2F))},M.\u0275prov=v.Yz7({token:M,factory:M.\u0275fac}),M})()},{provide:v.FYo,useFactory:function to(M,a,c){return new bi(M,a,c)},deps:[f.se,Ci,v.R0b]}],ys=[{provide:je,useFactory:()=>new In},{provide:v.QbO,useValue:"BrowserAnimations"},..._s],wi=[{provide:je,useClass:xe},{provide:v.QbO,useValue:"NoopAnimations"},..._s];let $i=(()=>{class M{static withConfig(c){return{ngModule:M,providers:c.disableAnimations?wi:ys}}}return M.\u0275fac=function(c){return new(c||M)},M.\u0275mod=v.oAB({type:M}),M.\u0275inj=v.cJS({providers:ys,imports:[f.b2]}),M})();var li=m(94032);let Os=(()=>{class M{}return M.\u0275fac=function(c){return new(c||M)},M.\u0275cmp=v.Xpm({type:M,selectors:[["app"]],decls:2,vars:0,consts:[[1,"application"]],template:function(c,D){1&c&&(v.TgZ(0,"div",0),v._UZ(1,"router-outlet"),v.qZA())},dependencies:[li.lC],styles:[".application[_ngcontent-%COMP%]{display:flex;flex-direction:column;height:100%}"]}),M})();var ci=m(35732),zi=m(88696);const Ps=[{path:"landing",loadChildren:()=>Promise.all([m.e(452),m.e(203),m.e(24),m.e(614)]).then(m.bind(m,9614)).then(M=>M.LandingModule)},{path:"home",loadChildren:()=>Promise.all([m.e(452),m.e(203),m.e(24),m.e(211),m.e(440)]).then(m.bind(m,74440)).then(M=>M.HomeModule)},{path:"about",loadChildren:()=>Promise.all([m.e(452),m.e(556)]).then(m.bind(m,31556)).then(M=>M.AboutModule)},{path:"profile",loadChildren:()=>Promise.all([m.e(452),m.e(203),m.e(211),m.e(943)]).then(m.bind(m,10943)).then(M=>M.ProfileModule)},{path:"swagger",loadChildren:()=>Promise.all([m.e(452),m.e(530)]).then(m.bind(m,52530)).then(M=>M.SwaggerModule)},{path:"",redirectTo:"landing",pathMatch:"full"},{path:"**",redirectTo:"landing"}];let Ti=(()=>{class M{}return M.\u0275fac=function(c){return new(c||M)},M.\u0275mod=v.oAB({type:M}),M.\u0275inj=v.cJS({imports:[li.Bz.forRoot(Ps,{enableTracing:!0}),li.Bz]}),M})();var Wi=m(38159),Gr=m(96213),Ki=m(38618);let Gi=(()=>{class M{ngDoBootstrap(c){}}return M.\u0275fac=function(c){return new(c||M)},M.\u0275mod=v.oAB({type:M,bootstrap:[Os]}),M.\u0275inj=v.cJS({providers:[Wi.n,Gr.N,{provide:Kr.S$,useClass:Kr.Do},{provide:ci.TP,useClass:Gr.N,multi:!0}],imports:[Ti,Kr.ez,f.b2,$i,ci.JF,zi.Is,Ki.vs]}),M})();(0,v.G48)(),f.q6().bootstrapModule(Gi).catch(M=>console.error(M))},38618:(et,me,m)=>{m.d(me,{Cv:()=>te,vs:()=>G});var f=m(64537),v=m(35732),T=m(5998),P=m(88692);const N=new f.OlP("mage-xhr-img.objectUrlService");let te=(()=>{class Y{constructor(z,U,Ae){this.objectUrlService=z,this.webClient=U,this.sanitizer=Ae,this.sourceUrl=null,this.safeBlobUrl=null}ngOnChanges(z){!z.sourceUrl||z.sourceUrl.isFirstChange()&&!this.sourceUrl||(this.disposeCurrent(),this.sourceUrl&&(this.subscription=this.webClient.get(this.sourceUrl,{responseType:"blob"}).subscribe(U=>{this.objectUrlService.revokeObjectURL(this.blobUrl),this.blobUrl=this.objectUrlService.createObjectURL(U),this.safeBlobUrl=this.sanitizer.bypassSecurityTrustUrl(this.blobUrl)})))}ngOnDestroy(){this.disposeCurrent()}onImgLoad(){this.disposeCurrent()}disposeCurrent(){this.blobUrl&&this.objectUrlService.revokeObjectURL(this.blobUrl),this.subscription&&this.subscription.unsubscribe(),this.blobUrl=null}}return Y.\u0275fac=function(z){return new(z||Y)(f.Y36(N),f.Y36(v.eN),f.Y36(T.H7))},Y.\u0275cmp=f.Xpm({type:Y,selectors:[["mage-xhr-img"]],inputs:{sourceUrl:["src","sourceUrl"]},features:[f._Bn([{provide:N,useValue:URL}]),f.TTD],decls:1,vars:1,consts:[[3,"load"]],template:function(z,U){1&z&&(f.TgZ(0,"img",0),f.NdJ("load",function(){return U.onImgLoad()}),f.qZA()),2&z&&f.uIk("src",U.safeBlobUrl,f.LSH)},styles:["img[_ngcontent-%COMP%]{height:100%;width:100%}"]}),Y})(),G=(()=>{class Y{}return Y.\u0275fac=function(z){return new(z||Y)},Y.\u0275mod=f.oAB({type:Y}),Y.\u0275inj=f.cJS({imports:[P.ez]}),Y})()},14091:(et,me,m)=>{m.d(me,{F4:()=>H,IO:()=>ye,LC:()=>v,SB:()=>Y,X$:()=>P,ZE:()=>rt,ZN:()=>Ie,_j:()=>f,eR:()=>z,jt:()=>x,k1:()=>it,l3:()=>T,oB:()=>G,pV:()=>Ae,ru:()=>N,vP:()=>te});class f{}class v{}const T="*";function P(Pe,Q){return{type:7,name:Pe,definitions:Q,options:{}}}function x(Pe,Q=null){return{type:4,styles:Q,timings:Pe}}function N(Pe,Q=null){return{type:3,steps:Pe,options:Q}}function te(Pe,Q=null){return{type:2,steps:Pe,options:Q}}function G(Pe){return{type:6,styles:Pe,offset:null}}function Y(Pe,Q,ve){return{type:0,name:Pe,styles:Q,options:ve}}function H(Pe){return{type:5,steps:Pe}}function z(Pe,Q,ve=null){return{type:1,expr:Pe,animation:Q,options:ve}}function Ae(Pe=null){return{type:9,options:Pe}}function ye(Pe,Q,ve=null){return{type:11,selector:Pe,animation:Q,options:ve}}function ie(Pe){Promise.resolve().then(Pe)}class Ie{constructor(Q=0,ve=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._originalOnDoneFns=[],this._originalOnStartFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=Q+ve}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(Q=>Q()),this._onDoneFns=[])}onStart(Q){this._originalOnStartFns.push(Q),this._onStartFns.push(Q)}onDone(Q){this._originalOnDoneFns.push(Q),this._onDoneFns.push(Q)}onDestroy(Q){this._onDestroyFns.push(Q)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){ie(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(Q=>Q()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(Q=>Q()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(Q){this._position=this.totalTime?Q*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(Q){const ve="start"==Q?this._onStartFns:this._onDoneFns;ve.forEach(de=>de()),ve.length=0}}class rt{constructor(Q){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=Q;let ve=0,de=0,Oe=0;const ze=this.players.length;0==ze?ie(()=>this._onFinish()):this.players.forEach(Re=>{Re.onDone(()=>{++ve==ze&&this._onFinish()}),Re.onDestroy(()=>{++de==ze&&this._onDestroy()}),Re.onStart(()=>{++Oe==ze&&this._onStart()})}),this.totalTime=this.players.reduce((Re,nt)=>Math.max(Re,nt.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(Q=>Q()),this._onDoneFns=[])}init(){this.players.forEach(Q=>Q.init())}onStart(Q){this._onStartFns.push(Q)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(Q=>Q()),this._onStartFns=[])}onDone(Q){this._onDoneFns.push(Q)}onDestroy(Q){this._onDestroyFns.push(Q)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(Q=>Q.play())}pause(){this.players.forEach(Q=>Q.pause())}restart(){this.players.forEach(Q=>Q.restart())}finish(){this._onFinish(),this.players.forEach(Q=>Q.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(Q=>Q.destroy()),this._onDestroyFns.forEach(Q=>Q()),this._onDestroyFns=[])}reset(){this.players.forEach(Q=>Q.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(Q){const ve=Q*this.totalTime;this.players.forEach(de=>{const Oe=de.totalTime?Math.min(1,ve/de.totalTime):1;de.setPosition(Oe)})}getPosition(){const Q=this.players.reduce((ve,de)=>null===ve||de.totalTime>ve.totalTime?de:ve,null);return null!=Q?Q.getPosition():0}beforeDestroy(){this.players.forEach(Q=>{Q.beforeDestroy&&Q.beforeDestroy()})}triggerCallback(Q){const ve="start"==Q?this._onStartFns:this._onDoneFns;ve.forEach(de=>de()),ve.length=0}}const it="!"},38954:(et,me,m)=>{m.d(me,{$s:()=>nt,Em:()=>zt,Kd:()=>je,X6:()=>X,ic:()=>sn,kH:()=>Tt,mK:()=>tn,qV:()=>Et,qm:()=>oe,rt:()=>ue,s1:()=>yt,tE:()=>Bt,yG:()=>w});var f=m(88692),v=m(64537),T=m(36321),P=m(38023),x=m(14813),N=m(54121),te=m(84945),G=m(35436),Y=m(98168),H=m(83151),z=m(74970),U=m(27969),Ae=m(65598),Me=m(11588),ye=m(42147),he=m(13528),ie=m(74929),Ie=m(37723),rt=m(21444);function ve(W,ee){return(W.getAttribute(ee)||"").match(/\S+/g)||[]}const Oe="cdk-describedby-message",ze="cdk-describedby-host";let Re=0,nt=(()=>{class W{constructor(B,fe){this._platform=fe,this._messageRegistry=new Map,this._messagesContainer=null,this._id=""+Re++,this._document=B,this._id=(0,v.f3M)(v.AFp)+"-"+Re++}describe(B,fe,Ne){if(!this._canBeDescribed(B,fe))return;const st=De(fe,Ne);"string"!=typeof fe?(Ue(fe,this._id),this._messageRegistry.set(st,{messageElement:fe,referenceCount:0})):this._messageRegistry.has(st)||this._createMessageElement(fe,Ne),this._isElementDescribedByMessage(B,st)||this._addMessageReference(B,st)}removeDescription(B,fe,Ne){if(!fe||!this._isElementNode(B))return;const st=De(fe,Ne);if(this._isElementDescribedByMessage(B,st)&&this._removeMessageReference(B,st),"string"==typeof fe){const Pt=this._messageRegistry.get(st);Pt&&0===Pt.referenceCount&&this._deleteMessageElement(st)}0===this._messagesContainer?.childNodes.length&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){const B=this._document.querySelectorAll(`[${ze}="${this._id}"]`);for(let fe=0;fe<B.length;fe++)this._removeCdkDescribedByReferenceIds(B[fe]),B[fe].removeAttribute(ze);this._messagesContainer?.remove(),this._messagesContainer=null,this._messageRegistry.clear()}_createMessageElement(B,fe){const Ne=this._document.createElement("div");Ue(Ne,this._id),Ne.textContent=B,fe&&Ne.setAttribute("role",fe),this._createMessagesContainer(),this._messagesContainer.appendChild(Ne),this._messageRegistry.set(De(B,fe),{messageElement:Ne,referenceCount:0})}_deleteMessageElement(B){this._messageRegistry.get(B)?.messageElement?.remove(),this._messageRegistry.delete(B)}_createMessagesContainer(){if(this._messagesContainer)return;const B="cdk-describedby-message-container",fe=this._document.querySelectorAll(`.${B}[platform="server"]`);for(let st=0;st<fe.length;st++)fe[st].remove();const Ne=this._document.createElement("div");Ne.style.visibility="hidden",Ne.classList.add(B),Ne.classList.add("cdk-visually-hidden"),this._platform&&!this._platform.isBrowser&&Ne.setAttribute("platform","server"),this._document.body.appendChild(Ne),this._messagesContainer=Ne}_removeCdkDescribedByReferenceIds(B){const fe=ve(B,"aria-describedby").filter(Ne=>0!=Ne.indexOf(Oe));B.setAttribute("aria-describedby",fe.join(" "))}_addMessageReference(B,fe){const Ne=this._messageRegistry.get(fe);(function Pe(W,ee,B){const fe=ve(W,ee);fe.some(Ne=>Ne.trim()==B.trim())||(fe.push(B.trim()),W.setAttribute(ee,fe.join(" ")))})(B,"aria-describedby",Ne.messageElement.id),B.setAttribute(ze,this._id),Ne.referenceCount++}_removeMessageReference(B,fe){const Ne=this._messageRegistry.get(fe);Ne.referenceCount--,function Q(W,ee,B){const Ne=ve(W,ee).filter(st=>st!=B.trim());Ne.length?W.setAttribute(ee,Ne.join(" ")):W.removeAttribute(ee)}(B,"aria-describedby",Ne.messageElement.id),B.removeAttribute(ze)}_isElementDescribedByMessage(B,fe){const Ne=ve(B,"aria-describedby"),st=this._messageRegistry.get(fe),Pt=st&&st.messageElement.id;return!!Pt&&-1!=Ne.indexOf(Pt)}_canBeDescribed(B,fe){if(!this._isElementNode(B))return!1;if(fe&&"object"==typeof fe)return!0;const Ne=null==fe?"":`${fe}`.trim(),st=B.getAttribute("aria-label");return!(!Ne||st&&st.trim()===Ne)}_isElementNode(B){return B.nodeType===this._document.ELEMENT_NODE}}return W.\u0275fac=function(B){return new(B||W)(v.LFG(f.K0),v.LFG(T.t4))},W.\u0275prov=v.Yz7({token:W,factory:W.\u0275fac,providedIn:"root"}),W})();function De(W,ee){return"string"==typeof W?`${ee||""}/${W}`:W}function Ue(W,ee){W.id||(W.id=`${Oe}-${ee}-${Re++}`)}class $e{constructor(ee){this._items=ee,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new P.x,this._typeaheadSubscription=x.w0.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._skipPredicateFn=B=>B.disabled,this._pressedLetters=[],this.tabOut=new P.x,this.change=new P.x,ee instanceof v.n_E&&ee.changes.subscribe(B=>{if(this._activeItem){const Ne=B.toArray().indexOf(this._activeItem);Ne>-1&&Ne!==this._activeItemIndex&&(this._activeItemIndex=Ne)}})}skipPredicate(ee){return this._skipPredicateFn=ee,this}withWrap(ee=!0){return this._wrap=ee,this}withVerticalOrientation(ee=!0){return this._vertical=ee,this}withHorizontalOrientation(ee){return this._horizontal=ee,this}withAllowedModifierKeys(ee){return this._allowedModifierKeys=ee,this}withTypeAhead(ee=200){return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe((0,Y.b)(B=>this._pressedLetters.push(B)),(0,H.b)(ee),(0,z.h)(()=>this._pressedLetters.length>0),(0,U.U)(()=>this._pressedLetters.join(""))).subscribe(B=>{const fe=this._getItemsArray();for(let Ne=1;Ne<fe.length+1;Ne++){const st=(this._activeItemIndex+Ne)%fe.length,Pt=fe[st];if(!this._skipPredicateFn(Pt)&&0===Pt.getLabel().toUpperCase().trim().indexOf(B)){this.setActiveItem(st);break}}this._pressedLetters=[]}),this}withHomeAndEnd(ee=!0){return this._homeAndEnd=ee,this}setActiveItem(ee){const B=this._activeItem;this.updateActiveItem(ee),this._activeItem!==B&&this.change.next(this._activeItemIndex)}onKeydown(ee){const B=ee.keyCode,Ne=["altKey","ctrlKey","metaKey","shiftKey"].every(st=>!ee[st]||this._allowedModifierKeys.indexOf(st)>-1);switch(B){case G.Mf:return void this.tabOut.next();case G.JH:if(this._vertical&&Ne){this.setNextItemActive();break}return;case G.LH:if(this._vertical&&Ne){this.setPreviousItemActive();break}return;case G.SV:if(this._horizontal&&Ne){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case G.oh:if(this._horizontal&&Ne){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case G.Sd:if(this._homeAndEnd&&Ne){this.setFirstItemActive();break}return;case G.uR:if(this._homeAndEnd&&Ne){this.setLastItemActive();break}return;default:return void((Ne||(0,G.Vb)(ee,"shiftKey"))&&(ee.key&&1===ee.key.length?this._letterKeyStream.next(ee.key.toLocaleUpperCase()):(B>=G.A&&B<=G.Z||B>=G.xE&&B<=G.aO)&&this._letterKeyStream.next(String.fromCharCode(B))))}this._pressedLetters=[],ee.preventDefault()}get activeItemIndex(){return this._activeItemIndex}get activeItem(){return this._activeItem}isTyping(){return this._pressedLetters.length>0}setFirstItemActive(){this._setActiveItemByIndex(0,1)}setLastItemActive(){this._setActiveItemByIndex(this._items.length-1,-1)}setNextItemActive(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}setPreviousItemActive(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}updateActiveItem(ee){const B=this._getItemsArray(),fe="number"==typeof ee?ee:B.indexOf(ee);this._activeItem=B[fe]??null,this._activeItemIndex=fe}_setActiveItemByDelta(ee){this._wrap?this._setActiveInWrapMode(ee):this._setActiveInDefaultMode(ee)}_setActiveInWrapMode(ee){const B=this._getItemsArray();for(let fe=1;fe<=B.length;fe++){const Ne=(this._activeItemIndex+ee*fe+B.length)%B.length;if(!this._skipPredicateFn(B[Ne]))return void this.setActiveItem(Ne)}}_setActiveInDefaultMode(ee){this._setActiveItemByIndex(this._activeItemIndex+ee,ee)}_setActiveItemByIndex(ee,B){const fe=this._getItemsArray();if(fe[ee]){for(;this._skipPredicateFn(fe[ee]);)if(!fe[ee+=B])return;this.setActiveItem(ee)}}_getItemsArray(){return this._items instanceof v.n_E?this._items.toArray():this._items}}class yt extends $e{setActiveItem(ee){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(ee),this.activeItem&&this.activeItem.setActiveStyles()}}class zt extends $e{constructor(){super(...arguments),this._origin="program"}setFocusOrigin(ee){return this._origin=ee,this}setActiveItem(ee){super.setActiveItem(ee),this.activeItem&&this.activeItem.focus(this._origin)}}let sn=(()=>{class W{constructor(B){this._platform=B}isDisabled(B){return B.hasAttribute("disabled")}isVisible(B){return function It(W){return!!(W.offsetWidth||W.offsetHeight||"function"==typeof W.getClientRects&&W.getClientRects().length)}(B)&&"visible"===getComputedStyle(B).visibility}isTabbable(B){if(!this._platform.isBrowser)return!1;const fe=function en(W){try{return W.frameElement}catch{return null}}(function lt(W){return W.ownerDocument&&W.ownerDocument.defaultView||window}(B));if(fe&&(-1===Ze(fe)||!this.isVisible(fe)))return!1;let Ne=B.nodeName.toLowerCase(),st=Ze(B);return B.hasAttribute("contenteditable")?-1!==st:!("iframe"===Ne||"object"===Ne||this._platform.WEBKIT&&this._platform.IOS&&!function Ct(W){let ee=W.nodeName.toLowerCase(),B="input"===ee&&W.type;return"text"===B||"password"===B||"select"===ee||"textarea"===ee}(B))&&("audio"===Ne?!!B.hasAttribute("controls")&&-1!==st:"video"===Ne?-1!==st&&(null!==st||this._platform.FIREFOX||B.hasAttribute("controls")):B.tabIndex>=0)}isFocusable(B,fe){return function At(W){return!function ke(W){return function q(W){return"input"==W.nodeName.toLowerCase()}(W)&&"hidden"==W.type}(W)&&(function Se(W){let ee=W.nodeName.toLowerCase();return"input"===ee||"select"===ee||"button"===ee||"textarea"===ee}(W)||function pe(W){return function _e(W){return"a"==W.nodeName.toLowerCase()}(W)&&W.hasAttribute("href")}(W)||W.hasAttribute("contenteditable")||Ee(W))}(B)&&!this.isDisabled(B)&&(fe?.ignoreVisibility||this.isVisible(B))}}return W.\u0275fac=function(B){return new(B||W)(v.LFG(T.t4))},W.\u0275prov=v.Yz7({token:W,factory:W.\u0275fac,providedIn:"root"}),W})();function Ee(W){if(!W.hasAttribute("tabindex")||void 0===W.tabIndex)return!1;let ee=W.getAttribute("tabindex");return!(!ee||isNaN(parseInt(ee,10)))}function Ze(W){if(!Ee(W))return null;const ee=parseInt(W.getAttribute("tabindex")||"",10);return isNaN(ee)?-1:ee}class St{constructor(ee,B,fe,Ne,st=!1){this._element=ee,this._checker=B,this._ngZone=fe,this._document=Ne,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,st||this.attachAnchors()}get enabled(){return this._enabled}set enabled(ee){this._enabled=ee,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(ee,this._startAnchor),this._toggleAnchorTabIndex(ee,this._endAnchor))}destroy(){const ee=this._startAnchor,B=this._endAnchor;ee&&(ee.removeEventListener("focus",this.startAnchorListener),ee.remove()),B&&(B.removeEventListener("focus",this.endAnchorListener),B.remove()),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}attachAnchors(){return!!this._hasAttached||(this._ngZone.runOutsideAngular(()=>{this._startAnchor||(this._startAnchor=this._createAnchor(),this._startAnchor.addEventListener("focus",this.startAnchorListener)),this._endAnchor||(this._endAnchor=this._createAnchor(),this._endAnchor.addEventListener("focus",this.endAnchorListener))}),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}focusInitialElementWhenReady(ee){return new Promise(B=>{this._executeOnStable(()=>B(this.focusInitialElement(ee)))})}focusFirstTabbableElementWhenReady(ee){return new Promise(B=>{this._executeOnStable(()=>B(this.focusFirstTabbableElement(ee)))})}focusLastTabbableElementWhenReady(ee){return new Promise(B=>{this._executeOnStable(()=>B(this.focusLastTabbableElement(ee)))})}_getRegionBoundary(ee){const B=this._element.querySelectorAll(`[cdk-focus-region-${ee}], [cdkFocusRegion${ee}], [cdk-focus-${ee}]`);return"start"==ee?B.length?B[0]:this._getFirstTabbableElement(this._element):B.length?B[B.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(ee){const B=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(B){if(!this._checker.isFocusable(B)){const fe=this._getFirstTabbableElement(B);return fe?.focus(ee),!!fe}return B.focus(ee),!0}return this.focusFirstTabbableElement(ee)}focusFirstTabbableElement(ee){const B=this._getRegionBoundary("start");return B&&B.focus(ee),!!B}focusLastTabbableElement(ee){const B=this._getRegionBoundary("end");return B&&B.focus(ee),!!B}hasAttached(){return this._hasAttached}_getFirstTabbableElement(ee){if(this._checker.isFocusable(ee)&&this._checker.isTabbable(ee))return ee;const B=ee.children;for(let fe=0;fe<B.length;fe++){const Ne=B[fe].nodeType===this._document.ELEMENT_NODE?this._getFirstTabbableElement(B[fe]):null;if(Ne)return Ne}return null}_getLastTabbableElement(ee){if(this._checker.isFocusable(ee)&&this._checker.isTabbable(ee))return ee;const B=ee.children;for(let fe=B.length-1;fe>=0;fe--){const Ne=B[fe].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(B[fe]):null;if(Ne)return Ne}return null}_createAnchor(){const ee=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,ee),ee.classList.add("cdk-visually-hidden"),ee.classList.add("cdk-focus-trap-anchor"),ee.setAttribute("aria-hidden","true"),ee}_toggleAnchorTabIndex(ee,B){ee?B.setAttribute("tabindex","0"):B.removeAttribute("tabindex")}toggleAnchors(ee){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(ee,this._startAnchor),this._toggleAnchorTabIndex(ee,this._endAnchor))}_executeOnStable(ee){this._ngZone.isStable?ee():this._ngZone.onStable.pipe((0,Ae.q)(1)).subscribe(ee)}}let Et=(()=>{class W{constructor(B,fe,Ne){this._checker=B,this._ngZone=fe,this._document=Ne}create(B,fe=!1){return new St(B,this._checker,this._ngZone,this._document,fe)}}return W.\u0275fac=function(B){return new(B||W)(v.LFG(sn),v.LFG(v.R0b),v.LFG(f.K0))},W.\u0275prov=v.Yz7({token:W,factory:W.\u0275fac,providedIn:"root"}),W})(),tn=(()=>{class W{constructor(B,fe,Ne){this._elementRef=B,this._focusTrapFactory=fe,this._previouslyFocusedElement=null,this.focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement,!0)}get enabled(){return this.focusTrap.enabled}set enabled(B){this.focusTrap.enabled=(0,ie.Ig)(B)}get autoCapture(){return this._autoCapture}set autoCapture(B){this._autoCapture=(0,ie.Ig)(B)}ngOnDestroy(){this.focusTrap.destroy(),this._previouslyFocusedElement&&(this._previouslyFocusedElement.focus(),this._previouslyFocusedElement=null)}ngAfterContentInit(){this.focusTrap.attachAnchors(),this.autoCapture&&this._captureFocus()}ngDoCheck(){this.focusTrap.hasAttached()||this.focusTrap.attachAnchors()}ngOnChanges(B){const fe=B.autoCapture;fe&&!fe.firstChange&&this.autoCapture&&this.focusTrap.hasAttached()&&this._captureFocus()}_captureFocus(){this._previouslyFocusedElement=(0,T.ht)(),this.focusTrap.focusInitialElementWhenReady()}}return W.\u0275fac=function(B){return new(B||W)(v.Y36(v.SBq),v.Y36(Et),v.Y36(f.K0))},W.\u0275dir=v.lG2({type:W,selectors:[["","cdkTrapFocus",""]],inputs:{enabled:["cdkTrapFocus","enabled"],autoCapture:["cdkTrapFocusAutoCapture","autoCapture"]},exportAs:["cdkTrapFocus"],features:[v.TTD]}),W})();function X(W){return 0===W.buttons||0===W.offsetX&&0===W.offsetY}function w(W){const ee=W.touches&&W.touches[0]||W.changedTouches&&W.changedTouches[0];return!(!ee||-1!==ee.identifier||null!=ee.radiusX&&1!==ee.radiusX||null!=ee.radiusY&&1!==ee.radiusY)}const R=new v.OlP("cdk-input-modality-detector-options"),ae={ignoreKeys:[G.zL,G.jx,G.b2,G.MW,G.JU]},K=(0,T.i$)({passive:!0,capture:!0});let L=(()=>{class W{constructor(B,fe,Ne,st){this._platform=B,this._mostRecentTarget=null,this._modality=new N.X(null),this._lastTouchMs=0,this._onKeydown=Pt=>{this._options?.ignoreKeys?.some(jt=>jt===Pt.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=(0,T.sA)(Pt))},this._onMousedown=Pt=>{Date.now()-this._lastTouchMs<650||(this._modality.next(X(Pt)?"keyboard":"mouse"),this._mostRecentTarget=(0,T.sA)(Pt))},this._onTouchstart=Pt=>{w(Pt)?this._modality.next("keyboard"):(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=(0,T.sA)(Pt))},this._options={...ae,...st},this.modalityDetected=this._modality.pipe((0,Me.T)(1)),this.modalityChanged=this.modalityDetected.pipe((0,ye.x)()),B.isBrowser&&fe.runOutsideAngular(()=>{Ne.addEventListener("keydown",this._onKeydown,K),Ne.addEventListener("mousedown",this._onMousedown,K),Ne.addEventListener("touchstart",this._onTouchstart,K)})}get mostRecentModality(){return this._modality.value}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,K),document.removeEventListener("mousedown",this._onMousedown,K),document.removeEventListener("touchstart",this._onTouchstart,K))}}return W.\u0275fac=function(B){return new(B||W)(v.LFG(T.t4),v.LFG(v.R0b),v.LFG(f.K0),v.LFG(R,8))},W.\u0275prov=v.Yz7({token:W,factory:W.\u0275fac,providedIn:"root"}),W})();const k=new v.OlP("liveAnnouncerElement",{providedIn:"root",factory:function be(){return null}}),xe=new v.OlP("LIVE_ANNOUNCER_DEFAULT_OPTIONS");let je=(()=>{class W{constructor(B,fe,Ne,st){this._ngZone=fe,this._defaultOptions=st,this._document=Ne,this._liveElement=B||this._createLiveElement()}announce(B,...fe){const Ne=this._defaultOptions;let st,Pt;return 1===fe.length&&"number"==typeof fe[0]?Pt=fe[0]:[st,Pt]=fe,this.clear(),clearTimeout(this._previousTimeout),st||(st=Ne&&Ne.politeness?Ne.politeness:"polite"),null==Pt&&Ne&&(Pt=Ne.duration),this._liveElement.setAttribute("aria-live",st),this._ngZone.runOutsideAngular(()=>(this._currentPromise||(this._currentPromise=new Promise(jt=>this._currentResolve=jt)),clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=B,"number"==typeof Pt&&(this._previousTimeout=setTimeout(()=>this.clear(),Pt)),this._currentResolve(),this._currentPromise=this._currentResolve=void 0},100),this._currentPromise))}clear(){this._liveElement&&(this._liveElement.textContent="")}ngOnDestroy(){clearTimeout(this._previousTimeout),this._liveElement?.remove(),this._liveElement=null,this._currentResolve?.(),this._currentPromise=this._currentResolve=void 0}_createLiveElement(){const B="cdk-live-announcer-element",fe=this._document.getElementsByClassName(B),Ne=this._document.createElement("div");for(let st=0;st<fe.length;st++)fe[st].remove();return Ne.classList.add(B),Ne.classList.add("cdk-visually-hidden"),Ne.setAttribute("aria-atomic","true"),Ne.setAttribute("aria-live","polite"),this._document.body.appendChild(Ne),Ne}}return W.\u0275fac=function(B){return new(B||W)(v.LFG(k,8),v.LFG(v.R0b),v.LFG(f.K0),v.LFG(xe,8))},W.\u0275prov=v.Yz7({token:W,factory:W.\u0275fac,providedIn:"root"}),W})();const Lt=new v.OlP("cdk-focus-monitor-default-options"),Je=(0,T.i$)({passive:!0,capture:!0});let Bt=(()=>{class W{constructor(B,fe,Ne,st,Pt){this._ngZone=B,this._platform=fe,this._inputModalityDetector=Ne,this._origin=null,this._windowFocused=!1,this._originFromTouchInteraction=!1,this._elementInfo=new Map,this._monitoredElementCount=0,this._rootNodeFocusListenerCount=new Map,this._windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=window.setTimeout(()=>this._windowFocused=!1)},this._stopInputModalityDetector=new P.x,this._rootNodeFocusAndBlurListener=jt=>{for(let Ht=(0,T.sA)(jt);Ht;Ht=Ht.parentElement)"focus"===jt.type?this._onFocus(jt,Ht):this._onBlur(jt,Ht)},this._document=st,this._detectionMode=Pt?.detectionMode||0}monitor(B,fe=!1){const Ne=(0,ie.fI)(B);if(!this._platform.isBrowser||1!==Ne.nodeType)return(0,te.of)(null);const st=(0,T.kV)(Ne)||this._getDocument(),Pt=this._elementInfo.get(Ne);if(Pt)return fe&&(Pt.checkChildren=!0),Pt.subject;const jt={checkChildren:fe,subject:new P.x,rootNode:st};return this._elementInfo.set(Ne,jt),this._registerGlobalListeners(jt),jt.subject}stopMonitoring(B){const fe=(0,ie.fI)(B),Ne=this._elementInfo.get(fe);Ne&&(Ne.subject.complete(),this._setClasses(fe),this._elementInfo.delete(fe),this._removeGlobalListeners(Ne))}focusVia(B,fe,Ne){const st=(0,ie.fI)(B);st===this._getDocument().activeElement?this._getClosestElementsInfo(st).forEach(([jt,Xn])=>this._originChanged(jt,fe,Xn)):(this._setOrigin(fe),"function"==typeof st.focus&&st.focus(Ne))}ngOnDestroy(){this._elementInfo.forEach((B,fe)=>this.stopMonitoring(fe))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(B){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(B)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:B&&this._isLastInteractionFromInputLabel(B)?"mouse":"program"}_shouldBeAttributedToTouch(B){return 1===this._detectionMode||!!B?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(B,fe){B.classList.toggle("cdk-focused",!!fe),B.classList.toggle("cdk-touch-focused","touch"===fe),B.classList.toggle("cdk-keyboard-focused","keyboard"===fe),B.classList.toggle("cdk-mouse-focused","mouse"===fe),B.classList.toggle("cdk-program-focused","program"===fe)}_setOrigin(B,fe=!1){this._ngZone.runOutsideAngular(()=>{this._origin=B,this._originFromTouchInteraction="touch"===B&&fe,0===this._detectionMode&&(clearTimeout(this._originTimeoutId),this._originTimeoutId=setTimeout(()=>this._origin=null,this._originFromTouchInteraction?650:1))})}_onFocus(B,fe){const Ne=this._elementInfo.get(fe),st=(0,T.sA)(B);!Ne||!Ne.checkChildren&&fe!==st||this._originChanged(fe,this._getFocusOrigin(st),Ne)}_onBlur(B,fe){const Ne=this._elementInfo.get(fe);!Ne||Ne.checkChildren&&B.relatedTarget instanceof Node&&fe.contains(B.relatedTarget)||(this._setClasses(fe),this._emitOrigin(Ne,null))}_emitOrigin(B,fe){B.subject.observers.length&&this._ngZone.run(()=>B.subject.next(fe))}_registerGlobalListeners(B){if(!this._platform.isBrowser)return;const fe=B.rootNode,Ne=this._rootNodeFocusListenerCount.get(fe)||0;Ne||this._ngZone.runOutsideAngular(()=>{fe.addEventListener("focus",this._rootNodeFocusAndBlurListener,Je),fe.addEventListener("blur",this._rootNodeFocusAndBlurListener,Je)}),this._rootNodeFocusListenerCount.set(fe,Ne+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe((0,he.R)(this._stopInputModalityDetector)).subscribe(st=>{this._setOrigin(st,!0)}))}_removeGlobalListeners(B){const fe=B.rootNode;if(this._rootNodeFocusListenerCount.has(fe)){const Ne=this._rootNodeFocusListenerCount.get(fe);Ne>1?this._rootNodeFocusListenerCount.set(fe,Ne-1):(fe.removeEventListener("focus",this._rootNodeFocusAndBlurListener,Je),fe.removeEventListener("blur",this._rootNodeFocusAndBlurListener,Je),this._rootNodeFocusListenerCount.delete(fe))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(B,fe,Ne){this._setClasses(B,fe),this._emitOrigin(Ne,fe),this._lastFocusOrigin=fe}_getClosestElementsInfo(B){const fe=[];return this._elementInfo.forEach((Ne,st)=>{(st===B||Ne.checkChildren&&st.contains(B))&&fe.push([st,Ne])}),fe}_isLastInteractionFromInputLabel(B){const{_mostRecentTarget:fe,mostRecentModality:Ne}=this._inputModalityDetector;if("mouse"!==Ne||!fe||fe===B||"INPUT"!==B.nodeName&&"TEXTAREA"!==B.nodeName||B.disabled)return!1;const st=B.labels;if(st)for(let Pt=0;Pt<st.length;Pt++)if(st[Pt].contains(fe))return!0;return!1}}return W.\u0275fac=function(B){return new(B||W)(v.LFG(v.R0b),v.LFG(T.t4),v.LFG(L),v.LFG(f.K0,8),v.LFG(Lt,8))},W.\u0275prov=v.Yz7({token:W,factory:W.\u0275fac,providedIn:"root"}),W})(),Tt=(()=>{class W{constructor(B,fe){this._elementRef=B,this._focusMonitor=fe,this._focusOrigin=null,this.cdkFocusChange=new v.vpe}get focusOrigin(){return this._focusOrigin}ngAfterViewInit(){const B=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(B,1===B.nodeType&&B.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(fe=>{this._focusOrigin=fe,this.cdkFocusChange.emit(fe)})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription&&this._monitorSubscription.unsubscribe()}}return W.\u0275fac=function(B){return new(B||W)(v.Y36(v.SBq),v.Y36(Bt))},W.\u0275dir=v.lG2({type:W,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"},exportAs:["cdkMonitorFocus"]}),W})();const dn="cdk-high-contrast-black-on-white",Ot="cdk-high-contrast-white-on-black",we="cdk-high-contrast-active";let oe=(()=>{class W{constructor(B,fe){this._platform=B,this._document=fe,this._breakpointSubscription=(0,v.f3M)(rt.Yg).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return 0;const B=this._document.createElement("div");B.style.backgroundColor="rgb(1,2,3)",B.style.position="absolute",this._document.body.appendChild(B);const fe=this._document.defaultView||window,Ne=fe&&fe.getComputedStyle?fe.getComputedStyle(B):null,st=(Ne&&Ne.backgroundColor||"").replace(/ /g,"");switch(B.remove(),st){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return 2;case"rgb(255,255,255)":case"rgb(255,250,239)":return 1}return 0}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){const B=this._document.body.classList;B.remove(we,dn,Ot),this._hasCheckedHighContrastMode=!0;const fe=this.getHighContrastMode();1===fe?B.add(we,dn):2===fe&&B.add(we,Ot)}}}return W.\u0275fac=function(B){return new(B||W)(v.LFG(T.t4),v.LFG(f.K0))},W.\u0275prov=v.Yz7({token:W,factory:W.\u0275fac,providedIn:"root"}),W})(),ue=(()=>{class W{constructor(B){B._applyBodyHighContrastModeCssClasses()}}return W.\u0275fac=function(B){return new(B||W)(v.LFG(oe))},W.\u0275mod=v.oAB({type:W}),W.\u0275inj=v.cJS({imports:[Ie.Q8]}),W})()},65875:(et,me,m)=>{m.d(me,{Is:()=>te,vT:()=>Y});var f=m(64537),v=m(88692);const T=new f.OlP("cdk-dir-doc",{providedIn:"root",factory:function P(){return(0,f.f3M)(v.K0)}}),x=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;let te=(()=>{class H{constructor(U){if(this.value="ltr",this.change=new f.vpe,U){const Me=U.documentElement?U.documentElement.dir:null;this.value=function N(H){const z=H?.toLowerCase()||"";return"auto"===z&&typeof navigator<"u"&&navigator?.language?x.test(navigator.language)?"rtl":"ltr":"rtl"===z?"rtl":"ltr"}((U.body?U.body.dir:null)||Me||"ltr")}}ngOnDestroy(){this.change.complete()}}return H.\u0275fac=function(U){return new(U||H)(f.LFG(T,8))},H.\u0275prov=f.Yz7({token:H,factory:H.\u0275fac,providedIn:"root"}),H})(),Y=(()=>{class H{}return H.\u0275fac=function(U){return new(U||H)},H.\u0275mod=f.oAB({type:H}),H.\u0275inj=f.cJS({}),H})()},74929:(et,me,m)=>{m.d(me,{Eq:()=>x,HM:()=>N,Ig:()=>v,du:()=>G,fI:()=>te,su:()=>T,t6:()=>P});var f=m(64537);function v(Y){return null!=Y&&"false"!=`${Y}`}function T(Y,H=0){return P(Y)?Number(Y):H}function P(Y){return!isNaN(parseFloat(Y))&&!isNaN(Number(Y))}function x(Y){return Array.isArray(Y)?Y:[Y]}function N(Y){return null==Y?"":"string"==typeof Y?Y:`${Y}px`}function te(Y){return Y instanceof f.SBq?Y.nativeElement:Y}function G(Y,H=/\s+/){const z=[];if(null!=Y){const U=Array.isArray(Y)?Y:`${Y}`.split(H);for(const Ae of U){const Me=`${Ae}`.trim();Me&&z.push(Me)}}return z}},95834:(et,me,m)=>{m.d(me,{A8:()=>Ae,Ov:()=>z,P3:()=>G,Z9:()=>te,eX:()=>H,k:()=>Me,o2:()=>N,yy:()=>Y});var f=m(50561),v=m(97),T=m(84945),P=m(38023),x=m(64537);class N{}function te(ye){return ye&&"function"==typeof ye.connect&&!(ye instanceof f.c)}class G extends N{constructor(he){super(),this._data=he}connect(){return(0,v.b)(this._data)?this._data:(0,T.of)(this._data)}disconnect(){}}class Y{applyChanges(he,ie,Ie,rt,it){he.forEachOperation((Pe,Q,ve)=>{let de,Oe;if(null==Pe.previousIndex){const ze=Ie(Pe,Q,ve);de=ie.createEmbeddedView(ze.templateRef,ze.context,ze.index),Oe=1}else null==ve?(ie.remove(Q),Oe=3):(de=ie.get(Q),ie.move(de,ve),Oe=2);it&&it({context:de?.context,operation:Oe,record:Pe})})}detach(){}}class H{constructor(){this.viewCacheSize=20,this._viewCache=[]}applyChanges(he,ie,Ie,rt,it){he.forEachOperation((Pe,Q,ve)=>{let de,Oe;null==Pe.previousIndex?(de=this._insertView(()=>Ie(Pe,Q,ve),ve,ie,rt(Pe)),Oe=de?1:0):null==ve?(this._detachAndCacheView(Q,ie),Oe=3):(de=this._moveView(Q,ve,ie,rt(Pe)),Oe=2),it&&it({context:de?.context,operation:Oe,record:Pe})})}detach(){for(const he of this._viewCache)he.destroy();this._viewCache=[]}_insertView(he,ie,Ie,rt){const it=this._insertViewFromCache(ie,Ie);if(it)return void(it.context.$implicit=rt);const Pe=he();return Ie.createEmbeddedView(Pe.templateRef,Pe.context,Pe.index)}_detachAndCacheView(he,ie){const Ie=ie.detach(he);this._maybeCacheView(Ie,ie)}_moveView(he,ie,Ie,rt){const it=Ie.get(he);return Ie.move(it,ie),it.context.$implicit=rt,it}_maybeCacheView(he,ie){if(this._viewCache.length<this.viewCacheSize)this._viewCache.push(he);else{const Ie=ie.indexOf(he);-1===Ie?he.destroy():ie.remove(Ie)}}_insertViewFromCache(he,ie){const Ie=this._viewCache.pop();return Ie&&ie.insert(Ie,he),Ie||null}}class z{constructor(he=!1,ie,Ie=!0,rt){this._multiple=he,this._emitChanges=Ie,this.compareWith=rt,this._selection=new Set,this._deselectedToEmit=[],this._selectedToEmit=[],this.changed=new P.x,ie&&ie.length&&(he?ie.forEach(it=>this._markSelected(it)):this._markSelected(ie[0]),this._selectedToEmit.length=0)}get selected(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}select(...he){this._verifyValueAssignment(he),he.forEach(Ie=>this._markSelected(Ie));const ie=this._hasQueuedChanges();return this._emitChangeEvent(),ie}deselect(...he){this._verifyValueAssignment(he),he.forEach(Ie=>this._unmarkSelected(Ie));const ie=this._hasQueuedChanges();return this._emitChangeEvent(),ie}setSelection(...he){this._verifyValueAssignment(he);const ie=this.selected,Ie=new Set(he);he.forEach(it=>this._markSelected(it)),ie.filter(it=>!Ie.has(it)).forEach(it=>this._unmarkSelected(it));const rt=this._hasQueuedChanges();return this._emitChangeEvent(),rt}toggle(he){return this.isSelected(he)?this.deselect(he):this.select(he)}clear(he=!0){this._unmarkAll();const ie=this._hasQueuedChanges();return he&&this._emitChangeEvent(),ie}isSelected(he){if(this.compareWith){for(const ie of this._selection)if(this.compareWith(ie,he))return!0;return!1}return this._selection.has(he)}isEmpty(){return 0===this._selection.size}hasValue(){return!this.isEmpty()}sort(he){this._multiple&&this.selected&&this._selected.sort(he)}isMultipleSelection(){return this._multiple}_emitChangeEvent(){this._selected=null,(this._selectedToEmit.length||this._deselectedToEmit.length)&&(this.changed.next({source:this,added:this._selectedToEmit,removed:this._deselectedToEmit}),this._deselectedToEmit=[],this._selectedToEmit=[])}_markSelected(he){this.isSelected(he)||(this._multiple||this._unmarkAll(),this.isSelected(he)||this._selection.add(he),this._emitChanges&&this._selectedToEmit.push(he))}_unmarkSelected(he){this.isSelected(he)&&(this._selection.delete(he),this._emitChanges&&this._deselectedToEmit.push(he))}_unmarkAll(){this.isEmpty()||this._selection.forEach(he=>this._unmarkSelected(he))}_verifyValueAssignment(he){}_hasQueuedChanges(){return!(!this._deselectedToEmit.length&&!this._selectedToEmit.length)}}let Ae=(()=>{class ye{constructor(){this._listeners=[]}notify(ie,Ie){for(let rt of this._listeners)rt(ie,Ie)}listen(ie){return this._listeners.push(ie),()=>{this._listeners=this._listeners.filter(Ie=>ie!==Ie)}}ngOnDestroy(){this._listeners=[]}}return ye.\u0275fac=function(ie){return new(ie||ye)},ye.\u0275prov=x.Yz7({token:ye,factory:ye.\u0275fac,providedIn:"root"}),ye})();const Me=new x.OlP("_ViewRepeater")},95122:(et,me,m)=>{m.d(me,{LL:()=>he,Su:()=>ze,Vq:()=>de,ib:()=>Me});var f=m(38954),v=m(19596),T=m(36321),P=m(18632),x=m(88692),N=m(64537),te=m(35436),G=m(38023),Y=m(33072),H=m(84945),z=m(65875),U=m(51927);function Ae(Re,nt){}class Me{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.ariaModal=!0,this.autoFocus="first-tabbable",this.restoreFocus=!0,this.closeOnNavigation=!0,this.closeOnDestroy=!0}}let he=(()=>{class Re extends P.en{constructor(De,Ue,$e,yt,zt,Mt,sn,en){super(),this._elementRef=De,this._focusTrapFactory=Ue,this._config=yt,this._interactivityChecker=zt,this._ngZone=Mt,this._overlayRef=sn,this._focusMonitor=en,this._elementFocusedBeforeDialogWasOpened=null,this._closeInteractionType=null,this.attachDomPortal=It=>{this._portalOutlet.hasAttached();const Se=this._portalOutlet.attachDomPortal(It);return this._contentAttached(),Se},this._ariaLabelledBy=this._config.ariaLabelledBy||null,this._document=$e}_contentAttached(){this._initializeFocusTrap(),this._handleBackdropClicks(),this._captureInitialFocus()}_captureInitialFocus(){this._trapFocus()}ngOnDestroy(){this._restoreFocus()}attachComponentPortal(De){this._portalOutlet.hasAttached();const Ue=this._portalOutlet.attachComponentPortal(De);return this._contentAttached(),Ue}attachTemplatePortal(De){this._portalOutlet.hasAttached();const Ue=this._portalOutlet.attachTemplatePortal(De);return this._contentAttached(),Ue}_recaptureFocus(){this._containsFocus()||this._trapFocus()}_forceFocus(De,Ue){this._interactivityChecker.isFocusable(De)||(De.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{const $e=()=>{De.removeEventListener("blur",$e),De.removeEventListener("mousedown",$e),De.removeAttribute("tabindex")};De.addEventListener("blur",$e),De.addEventListener("mousedown",$e)})),De.focus(Ue)}_focusByCssSelector(De,Ue){let $e=this._elementRef.nativeElement.querySelector(De);$e&&this._forceFocus($e,Ue)}_trapFocus(){const De=this._elementRef.nativeElement;switch(this._config.autoFocus){case!1:case"dialog":this._containsFocus()||De.focus();break;case!0:case"first-tabbable":this._focusTrap.focusInitialElementWhenReady().then(Ue=>{Ue||this._focusDialogContainer()});break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]');break;default:this._focusByCssSelector(this._config.autoFocus)}}_restoreFocus(){const De=this._config.restoreFocus;let Ue=null;if("string"==typeof De?Ue=this._document.querySelector(De):"boolean"==typeof De?Ue=De?this._elementFocusedBeforeDialogWasOpened:null:De&&(Ue=De),this._config.restoreFocus&&Ue&&"function"==typeof Ue.focus){const $e=(0,T.ht)(),yt=this._elementRef.nativeElement;(!$e||$e===this._document.body||$e===yt||yt.contains($e))&&(this._focusMonitor?(this._focusMonitor.focusVia(Ue,this._closeInteractionType),this._closeInteractionType=null):Ue.focus())}this._focusTrap&&this._focusTrap.destroy()}_focusDialogContainer(){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus()}_containsFocus(){const De=this._elementRef.nativeElement,Ue=(0,T.ht)();return De===Ue||De.contains(Ue)}_initializeFocusTrap(){this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._document&&(this._elementFocusedBeforeDialogWasOpened=(0,T.ht)())}_handleBackdropClicks(){this._overlayRef.backdropClick().subscribe(()=>{this._config.disableClose&&this._recaptureFocus()})}}return Re.\u0275fac=function(De){return new(De||Re)(N.Y36(N.SBq),N.Y36(f.qV),N.Y36(x.K0,8),N.Y36(Me),N.Y36(f.ic),N.Y36(N.R0b),N.Y36(v.Iu),N.Y36(f.tE))},Re.\u0275cmp=N.Xpm({type:Re,selectors:[["cdk-dialog-container"]],viewQuery:function(De,Ue){if(1&De&&N.Gf(P.Pl,7),2&De){let $e;N.iGM($e=N.CRH())&&(Ue._portalOutlet=$e.first)}},hostAttrs:["tabindex","-1",1,"cdk-dialog-container"],hostVars:6,hostBindings:function(De,Ue){2&De&&N.uIk("id",Ue._config.id||null)("role",Ue._config.role)("aria-modal",Ue._config.ariaModal)("aria-labelledby",Ue._config.ariaLabel?null:Ue._ariaLabelledBy)("aria-label",Ue._config.ariaLabel)("aria-describedby",Ue._config.ariaDescribedBy||null)},features:[N.qOj],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(De,Ue){1&De&&N.YNc(0,Ae,0,0,"ng-template",0)},dependencies:[P.Pl],styles:[".cdk-dialog-container{display:block;width:100%;height:100%;min-height:inherit;max-height:inherit}"],encapsulation:2}),Re})();class ie{constructor(nt,De){this.overlayRef=nt,this.config=De,this.closed=new G.x,this.disableClose=De.disableClose,this.backdropClick=nt.backdropClick(),this.keydownEvents=nt.keydownEvents(),this.outsidePointerEvents=nt.outsidePointerEvents(),this.id=De.id,this.keydownEvents.subscribe(Ue=>{Ue.keyCode===te.hY&&!this.disableClose&&!(0,te.Vb)(Ue)&&(Ue.preventDefault(),this.close(void 0,{focusOrigin:"keyboard"}))}),this.backdropClick.subscribe(()=>{this.disableClose||this.close(void 0,{focusOrigin:"mouse"})})}close(nt,De){if(this.containerInstance){const Ue=this.closed;this.containerInstance._closeInteractionType=De?.focusOrigin||"program",this.overlayRef.dispose(),Ue.next(nt),Ue.complete(),this.componentInstance=this.containerInstance=null}}updatePosition(){return this.overlayRef.updatePosition(),this}updateSize(nt="",De=""){return this.overlayRef.updateSize({width:nt,height:De}),this}addPanelClass(nt){return this.overlayRef.addPanelClass(nt),this}removePanelClass(nt){return this.overlayRef.removePanelClass(nt),this}}const Ie=new N.OlP("DialogScrollStrategy"),rt=new N.OlP("DialogData"),it=new N.OlP("DefaultDialogConfig"),Q={provide:Ie,deps:[v.aV],useFactory:function Pe(Re){return()=>Re.scrollStrategies.block()}};let ve=0,de=(()=>{class Re{constructor(De,Ue,$e,yt,zt,Mt){this._overlay=De,this._injector=Ue,this._defaultOptions=$e,this._parentDialog=yt,this._overlayContainer=zt,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new G.x,this._afterOpenedAtThisLevel=new G.x,this._ariaHiddenElements=new Map,this.afterAllClosed=(0,Y.P)(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe((0,U.O)(void 0))),this._scrollStrategy=Mt}get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}open(De,Ue){(Ue={...this._defaultOptions||new Me,...Ue}).id=Ue.id||"cdk-dialog-"+ve++,Ue.id&&this.getDialogById(Ue.id);const yt=this._getOverlayConfig(Ue),zt=this._overlay.create(yt),Mt=new ie(zt,Ue),sn=this._attachContainer(zt,Mt,Ue);return Mt.containerInstance=sn,this._attachDialogContent(De,Mt,sn,Ue),this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(Mt),Mt.closed.subscribe(()=>this._removeOpenDialog(Mt,!0)),this.afterOpened.next(Mt),Mt}closeAll(){Oe(this.openDialogs,De=>De.close())}getDialogById(De){return this.openDialogs.find(Ue=>Ue.id===De)}ngOnDestroy(){Oe(this._openDialogsAtThisLevel,De=>{!1===De.config.closeOnDestroy&&this._removeOpenDialog(De,!1)}),Oe(this._openDialogsAtThisLevel,De=>De.close()),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete(),this._openDialogsAtThisLevel=[]}_getOverlayConfig(De){const Ue=new v.X_({positionStrategy:De.positionStrategy||this._overlay.position().global().centerHorizontally().centerVertically(),scrollStrategy:De.scrollStrategy||this._scrollStrategy(),panelClass:De.panelClass,hasBackdrop:De.hasBackdrop,direction:De.direction,minWidth:De.minWidth,minHeight:De.minHeight,maxWidth:De.maxWidth,maxHeight:De.maxHeight,width:De.width,height:De.height,disposeOnNavigation:De.closeOnNavigation});return De.backdropClass&&(Ue.backdropClass=De.backdropClass),Ue}_attachContainer(De,Ue,$e){const yt=$e.injector||$e.viewContainerRef?.injector,zt=[{provide:Me,useValue:$e},{provide:ie,useValue:Ue},{provide:v.Iu,useValue:De}];let Mt;$e.container?"function"==typeof $e.container?Mt=$e.container:(Mt=$e.container.type,zt.push(...$e.container.providers($e))):Mt=he;const sn=new P.C5(Mt,$e.viewContainerRef,N.zs3.create({parent:yt||this._injector,providers:zt}),$e.componentFactoryResolver);return De.attach(sn).instance}_attachDialogContent(De,Ue,$e,yt){if(De instanceof N.Rgc){const zt=this._createInjector(yt,Ue,$e,void 0);let Mt={$implicit:yt.data,dialogRef:Ue};yt.templateContext&&(Mt={...Mt,..."function"==typeof yt.templateContext?yt.templateContext():yt.templateContext}),$e.attachTemplatePortal(new P.UE(De,null,Mt,zt))}else{const zt=this._createInjector(yt,Ue,$e,this._injector),Mt=$e.attachComponentPortal(new P.C5(De,yt.viewContainerRef,zt,yt.componentFactoryResolver));Ue.componentInstance=Mt.instance}}_createInjector(De,Ue,$e,yt){const zt=De.injector||De.viewContainerRef?.injector,Mt=[{provide:rt,useValue:De.data},{provide:ie,useValue:Ue}];return De.providers&&("function"==typeof De.providers?Mt.push(...De.providers(Ue,De,$e)):Mt.push(...De.providers)),De.direction&&(!zt||!zt.get(z.Is,null,N.XFs.Optional))&&Mt.push({provide:z.Is,useValue:{value:De.direction,change:(0,H.of)()}}),N.zs3.create({parent:zt||yt,providers:Mt})}_removeOpenDialog(De,Ue){const $e=this.openDialogs.indexOf(De);$e>-1&&(this.openDialogs.splice($e,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((yt,zt)=>{yt?zt.setAttribute("aria-hidden",yt):zt.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),Ue&&this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(){const De=this._overlayContainer.getContainerElement();if(De.parentElement){const Ue=De.parentElement.children;for(let $e=Ue.length-1;$e>-1;$e--){const yt=Ue[$e];yt!==De&&"SCRIPT"!==yt.nodeName&&"STYLE"!==yt.nodeName&&!yt.hasAttribute("aria-live")&&(this._ariaHiddenElements.set(yt,yt.getAttribute("aria-hidden")),yt.setAttribute("aria-hidden","true"))}}}_getAfterAllClosed(){const De=this._parentDialog;return De?De._getAfterAllClosed():this._afterAllClosedAtThisLevel}}return Re.\u0275fac=function(De){return new(De||Re)(N.LFG(v.aV),N.LFG(N.zs3),N.LFG(it,8),N.LFG(Re,12),N.LFG(v.Xj),N.LFG(Ie))},Re.\u0275prov=N.Yz7({token:Re,factory:Re.\u0275fac}),Re})();function Oe(Re,nt){let De=Re.length;for(;De--;)nt(Re[De])}let ze=(()=>{class Re{}return Re.\u0275fac=function(De){return new(De||Re)},Re.\u0275mod=N.oAB({type:Re}),Re.\u0275inj=N.cJS({providers:[de,Q],imports:[v.U8,P.eL,f.rt,P.eL]}),Re})()},35436:(et,me,m)=>{m.d(me,{A:()=>ke,JH:()=>it,JU:()=>N,K5:()=>x,Ku:()=>Ae,LH:()=>Ie,L_:()=>U,MW:()=>xe,Mf:()=>T,OC:()=>Jn,SV:()=>rt,Sd:()=>he,VM:()=>Me,Vb:()=>tr,Z:()=>be,ZH:()=>v,aO:()=>Mt,b2:()=>xn,hY:()=>z,jx:()=>te,oh:()=>ie,uR:()=>ye,xE:()=>Oe,yY:()=>de,zL:()=>G});const v=8,T=9,x=13,N=16,te=17,G=18,z=27,U=32,Ae=33,Me=34,ye=35,he=36,ie=37,Ie=38,rt=39,it=40,de=46,Oe=48,Mt=57,ke=65,be=90,xe=91,Jn=188,xn=224;function tr(ln,...Ar){return Ar.length?Ar.some(An=>ln[An]):ln.altKey||ln.shiftKey||ln.ctrlKey||ln.metaKey}},21444:(et,me,m)=>{m.d(me,{Yg:()=>it,u3:()=>Q});var f=m(64537),v=m(74929),T=m(38023),P=m(15696),x=m(83729),N=m(87241),te=m(65598),G=m(11588),Y=m(83151),H=m(27969),z=m(51927),U=m(13528),Ae=m(36321);const ye=new Set;let he,ie=(()=>{class ve{constructor(Oe){this._platform=Oe,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):rt}matchMedia(Oe){return(this._platform.WEBKIT||this._platform.BLINK)&&function Ie(ve){if(!ye.has(ve))try{he||(he=document.createElement("style"),he.setAttribute("type","text/css"),document.head.appendChild(he)),he.sheet&&(he.sheet.insertRule(`@media ${ve} {body{ }}`,0),ye.add(ve))}catch(de){console.error(de)}}(Oe),this._matchMedia(Oe)}}return ve.\u0275fac=function(Oe){return new(Oe||ve)(f.LFG(Ae.t4))},ve.\u0275prov=f.Yz7({token:ve,factory:ve.\u0275fac,providedIn:"root"}),ve})();function rt(ve){return{matches:"all"===ve||""===ve,media:ve,addListener:()=>{},removeListener:()=>{}}}let it=(()=>{class ve{constructor(Oe,ze){this._mediaMatcher=Oe,this._zone=ze,this._queries=new Map,this._destroySubject=new T.x}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(Oe){return Pe((0,v.Eq)(Oe)).some(Re=>this._registerQuery(Re).mql.matches)}observe(Oe){const Re=Pe((0,v.Eq)(Oe)).map(De=>this._registerQuery(De).observable);let nt=(0,P.a)(Re);return nt=(0,x.z)(nt.pipe((0,te.q)(1)),nt.pipe((0,G.T)(1),(0,Y.b)(0))),nt.pipe((0,H.U)(De=>{const Ue={matches:!1,breakpoints:{}};return De.forEach(({matches:$e,query:yt})=>{Ue.matches=Ue.matches||$e,Ue.breakpoints[yt]=$e}),Ue}))}_registerQuery(Oe){if(this._queries.has(Oe))return this._queries.get(Oe);const ze=this._mediaMatcher.matchMedia(Oe),nt={observable:new N.y(De=>{const Ue=$e=>this._zone.run(()=>De.next($e));return ze.addListener(Ue),()=>{ze.removeListener(Ue)}}).pipe((0,z.O)(ze),(0,H.U)(({matches:De})=>({query:Oe,matches:De})),(0,U.R)(this._destroySubject)),mql:ze};return this._queries.set(Oe,nt),nt}}return ve.\u0275fac=function(Oe){return new(Oe||ve)(f.LFG(ie),f.LFG(f.R0b))},ve.\u0275prov=f.Yz7({token:ve,factory:ve.\u0275fac,providedIn:"root"}),ve})();function Pe(ve){return ve.map(de=>de.split(",")).reduce((de,Oe)=>de.concat(Oe)).map(de=>de.trim())}const Q={XSmall:"(max-width: 599.98px)",Small:"(min-width: 600px) and (max-width: 959.98px)",Medium:"(min-width: 960px) and (max-width: 1279.98px)",Large:"(min-width: 1280px) and (max-width: 1919.98px)",XLarge:"(min-width: 1920px)",Handset:"(max-width: 599.98px) and (orientation: portrait), (max-width: 959.98px) and (orientation: landscape)",Tablet:"(min-width: 600px) and (max-width: 839.98px) and (orientation: portrait), (min-width: 960px) and (max-width: 1279.98px) and (orientation: landscape)",Web:"(min-width: 840px) and (orientation: portrait), (min-width: 1280px) and (orientation: landscape)",HandsetPortrait:"(max-width: 599.98px) and (orientation: portrait)",TabletPortrait:"(min-width: 600px) and (max-width: 839.98px) and (orientation: portrait)",WebPortrait:"(min-width: 840px) and (orientation: portrait)",HandsetLandscape:"(max-width: 959.98px) and (orientation: landscape)",TabletLandscape:"(min-width: 960px) and (max-width: 1279.98px) and (orientation: landscape)",WebLandscape:"(min-width: 1280px) and (orientation: landscape)"}},37723:(et,me,m)=>{m.d(me,{Q8:()=>Y,wD:()=>G});var f=m(74929),v=m(64537),T=m(87241),P=m(38023),x=m(83151);let N=(()=>{class H{create(U){return typeof MutationObserver>"u"?null:new MutationObserver(U)}}return H.\u0275fac=function(U){return new(U||H)},H.\u0275prov=v.Yz7({token:H,factory:H.\u0275fac,providedIn:"root"}),H})(),te=(()=>{class H{constructor(U){this._mutationObserverFactory=U,this._observedElements=new Map}ngOnDestroy(){this._observedElements.forEach((U,Ae)=>this._cleanupObserver(Ae))}observe(U){const Ae=(0,f.fI)(U);return new T.y(Me=>{const he=this._observeElement(Ae).subscribe(Me);return()=>{he.unsubscribe(),this._unobserveElement(Ae)}})}_observeElement(U){if(this._observedElements.has(U))this._observedElements.get(U).count++;else{const Ae=new P.x,Me=this._mutationObserverFactory.create(ye=>Ae.next(ye));Me&&Me.observe(U,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(U,{observer:Me,stream:Ae,count:1})}return this._observedElements.get(U).stream}_unobserveElement(U){this._observedElements.has(U)&&(this._observedElements.get(U).count--,this._observedElements.get(U).count||this._cleanupObserver(U))}_cleanupObserver(U){if(this._observedElements.has(U)){const{observer:Ae,stream:Me}=this._observedElements.get(U);Ae&&Ae.disconnect(),Me.complete(),this._observedElements.delete(U)}}}return H.\u0275fac=function(U){return new(U||H)(v.LFG(N))},H.\u0275prov=v.Yz7({token:H,factory:H.\u0275fac,providedIn:"root"}),H})(),G=(()=>{class H{constructor(U,Ae,Me){this._contentObserver=U,this._elementRef=Ae,this._ngZone=Me,this.event=new v.vpe,this._disabled=!1,this._currentSubscription=null}get disabled(){return this._disabled}set disabled(U){this._disabled=(0,f.Ig)(U),this._disabled?this._unsubscribe():this._subscribe()}get debounce(){return this._debounce}set debounce(U){this._debounce=(0,f.su)(U),this._subscribe()}ngAfterContentInit(){!this._currentSubscription&&!this.disabled&&this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();const U=this._contentObserver.observe(this._elementRef);this._ngZone.runOutsideAngular(()=>{this._currentSubscription=(this.debounce?U.pipe((0,x.b)(this.debounce)):U).subscribe(this.event)})}_unsubscribe(){this._currentSubscription?.unsubscribe()}}return H.\u0275fac=function(U){return new(U||H)(v.Y36(te),v.Y36(v.SBq),v.Y36(v.R0b))},H.\u0275dir=v.lG2({type:H,selectors:[["","cdkObserveContent",""]],inputs:{disabled:["cdkObserveContentDisabled","disabled"],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]}),H})(),Y=(()=>{class H{}return H.\u0275fac=function(U){return new(U||H)},H.\u0275mod=v.oAB({type:H}),H.\u0275inj=v.cJS({providers:[N]}),H})()},19596:(et,me,m)=>{m.d(me,{Iu:()=>Mt,U8:()=>Ve,X_:()=>de,Xj:()=>zt,_G:()=>It,aV:()=>lt,pI:()=>xt,xu:()=>tn});var f=m(92237),v=m(88692),T=m(64537),P=m(74929),x=m(36321),N=m(65875),te=m(18632),G=m(38023),Y=m(14813),H=m(21860),z=m(65598),U=m(13528),Ae=m(65857),Me=m(35436);const ye=(0,x.Mq)();class he{constructor(w,R){this._viewportRuler=w,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=R}attach(){}enable(){if(this._canBeEnabled()){const w=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=w.style.left||"",this._previousHTMLStyles.top=w.style.top||"",w.style.left=(0,P.HM)(-this._previousScrollPosition.left),w.style.top=(0,P.HM)(-this._previousScrollPosition.top),w.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const w=this._document.documentElement,ae=w.style,Te=this._document.body.style,K=ae.scrollBehavior||"",L=Te.scrollBehavior||"";this._isEnabled=!1,ae.left=this._previousHTMLStyles.left,ae.top=this._previousHTMLStyles.top,w.classList.remove("cdk-global-scrollblock"),ye&&(ae.scrollBehavior=Te.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),ye&&(ae.scrollBehavior=K,Te.scrollBehavior=L)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const R=this._document.body,ae=this._viewportRuler.getViewportSize();return R.scrollHeight>ae.height||R.scrollWidth>ae.width}}class Ie{constructor(w,R,ae,Te){this._scrollDispatcher=w,this._ngZone=R,this._viewportRuler=ae,this._config=Te,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(w){this._overlayRef=w}enable(){if(this._scrollSubscription)return;const w=this._scrollDispatcher.scrolled(0);this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=w.subscribe(()=>{const R=this._viewportRuler.getViewportScrollPosition().top;Math.abs(R-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=w.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}class rt{enable(){}disable(){}attach(){}}function it(X,w){return w.some(R=>X.bottom<R.top||X.top>R.bottom||X.right<R.left||X.left>R.right)}function Pe(X,w){return w.some(R=>X.top<R.top||X.bottom>R.bottom||X.left<R.left||X.right>R.right)}class Q{constructor(w,R,ae,Te){this._scrollDispatcher=w,this._viewportRuler=R,this._ngZone=ae,this._config=Te,this._scrollSubscription=null}attach(w){this._overlayRef=w}enable(){this._scrollSubscription||(this._scrollSubscription=this._scrollDispatcher.scrolled(this._config?this._config.scrollThrottle:0).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){const R=this._overlayRef.overlayElement.getBoundingClientRect(),{width:ae,height:Te}=this._viewportRuler.getViewportSize();it(R,[{width:ae,height:Te,bottom:Te,right:ae,top:0,left:0}])&&(this.disable(),this._ngZone.run(()=>this._overlayRef.detach()))}}))}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}let ve=(()=>{class X{constructor(R,ae,Te,K){this._scrollDispatcher=R,this._viewportRuler=ae,this._ngZone=Te,this.noop=()=>new rt,this.close=L=>new Ie(this._scrollDispatcher,this._ngZone,this._viewportRuler,L),this.block=()=>new he(this._viewportRuler,this._document),this.reposition=L=>new Q(this._scrollDispatcher,this._viewportRuler,this._ngZone,L),this._document=K}}return X.\u0275fac=function(R){return new(R||X)(T.LFG(f.mF),T.LFG(f.rL),T.LFG(T.R0b),T.LFG(v.K0))},X.\u0275prov=T.Yz7({token:X,factory:X.\u0275fac,providedIn:"root"}),X})();class de{constructor(w){if(this.scrollStrategy=new rt,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,w){const R=Object.keys(w);for(const ae of R)void 0!==w[ae]&&(this[ae]=w[ae])}}}class Re{constructor(w,R){this.connectionPair=w,this.scrollableViewProperties=R}}let Ue=(()=>{class X{constructor(R){this._attachedOverlays=[],this._document=R}ngOnDestroy(){this.detach()}add(R){this.remove(R),this._attachedOverlays.push(R)}remove(R){const ae=this._attachedOverlays.indexOf(R);ae>-1&&this._attachedOverlays.splice(ae,1),0===this._attachedOverlays.length&&this.detach()}}return X.\u0275fac=function(R){return new(R||X)(T.LFG(v.K0))},X.\u0275prov=T.Yz7({token:X,factory:X.\u0275fac,providedIn:"root"}),X})(),$e=(()=>{class X extends Ue{constructor(R,ae){super(R),this._ngZone=ae,this._keydownListener=Te=>{const K=this._attachedOverlays;for(let L=K.length-1;L>-1;L--)if(K[L]._keydownEvents.observers.length>0){const k=K[L]._keydownEvents;this._ngZone?this._ngZone.run(()=>k.next(Te)):k.next(Te);break}}}add(R){super.add(R),this._isAttached||(this._ngZone?this._ngZone.runOutsideAngular(()=>this._document.body.addEventListener("keydown",this._keydownListener)):this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}detach(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}}return X.\u0275fac=function(R){return new(R||X)(T.LFG(v.K0),T.LFG(T.R0b,8))},X.\u0275prov=T.Yz7({token:X,factory:X.\u0275fac,providedIn:"root"}),X})(),yt=(()=>{class X extends Ue{constructor(R,ae,Te){super(R),this._platform=ae,this._ngZone=Te,this._cursorStyleIsSet=!1,this._pointerDownListener=K=>{this._pointerDownEventTarget=(0,x.sA)(K)},this._clickListener=K=>{const L=(0,x.sA)(K),k="click"===K.type&&this._pointerDownEventTarget?this._pointerDownEventTarget:L;this._pointerDownEventTarget=null;const be=this._attachedOverlays.slice();for(let xe=be.length-1;xe>-1;xe--){const je=be[xe];if(je._outsidePointerEvents.observers.length<1||!je.hasAttached())continue;if(je.overlayElement.contains(L)||je.overlayElement.contains(k))break;const ct=je._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>ct.next(K)):ct.next(K)}}}add(R){if(super.add(R),!this._isAttached){const ae=this._document.body;this._ngZone?this._ngZone.runOutsideAngular(()=>this._addEventListeners(ae)):this._addEventListeners(ae),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=ae.style.cursor,ae.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){const R=this._document.body;R.removeEventListener("pointerdown",this._pointerDownListener,!0),R.removeEventListener("click",this._clickListener,!0),R.removeEventListener("auxclick",this._clickListener,!0),R.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(R.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}_addEventListeners(R){R.addEventListener("pointerdown",this._pointerDownListener,!0),R.addEventListener("click",this._clickListener,!0),R.addEventListener("auxclick",this._clickListener,!0),R.addEventListener("contextmenu",this._clickListener,!0)}}return X.\u0275fac=function(R){return new(R||X)(T.LFG(v.K0),T.LFG(x.t4),T.LFG(T.R0b,8))},X.\u0275prov=T.Yz7({token:X,factory:X.\u0275fac,providedIn:"root"}),X})(),zt=(()=>{class X{constructor(R,ae){this._platform=ae,this._document=R}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const R="cdk-overlay-container";if(this._platform.isBrowser||(0,x.Oy)()){const Te=this._document.querySelectorAll(`.${R}[platform="server"], .${R}[platform="test"]`);for(let K=0;K<Te.length;K++)Te[K].remove()}const ae=this._document.createElement("div");ae.classList.add(R),(0,x.Oy)()?ae.setAttribute("platform","test"):this._platform.isBrowser||ae.setAttribute("platform","server"),this._document.body.appendChild(ae),this._containerElement=ae}}return X.\u0275fac=function(R){return new(R||X)(T.LFG(v.K0),T.LFG(x.t4))},X.\u0275prov=T.Yz7({token:X,factory:X.\u0275fac,providedIn:"root"}),X})();class Mt{constructor(w,R,ae,Te,K,L,k,be,xe,je=!1){this._portalOutlet=w,this._host=R,this._pane=ae,this._config=Te,this._ngZone=K,this._keyboardDispatcher=L,this._document=k,this._location=be,this._outsideClickDispatcher=xe,this._animationsDisabled=je,this._backdropElement=null,this._backdropClick=new G.x,this._attachments=new G.x,this._detachments=new G.x,this._locationChanges=Y.w0.EMPTY,this._backdropClickHandler=ct=>this._backdropClick.next(ct),this._backdropTransitionendHandler=ct=>{this._disposeBackdrop(ct.target)},this._keydownEvents=new G.x,this._outsidePointerEvents=new G.x,Te.scrollStrategy&&(this._scrollStrategy=Te.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=Te.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(w){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);const R=this._portalOutlet.attach(w);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe((0,z.q)(1)).subscribe(()=>{this.hasAttached()&&this.updatePosition()}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),"function"==typeof R?.onDestroy&&R.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),R}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();const w=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),w}dispose(){const w=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._disposeBackdrop(this._backdropElement),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),this._host?.remove(),this._previousHostParent=this._pane=this._host=null,w&&this._detachments.next(),this._detachments.complete()}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick}attachments(){return this._attachments}detachments(){return this._detachments}keydownEvents(){return this._keydownEvents}outsidePointerEvents(){return this._outsidePointerEvents}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(w){w!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=w,this.hasAttached()&&(w.attach(this),this.updatePosition()))}updateSize(w){this._config={...this._config,...w},this._updateElementSize()}setDirection(w){this._config={...this._config,direction:w},this._updateElementDirection()}addPanelClass(w){this._pane&&this._toggleClasses(this._pane,w,!0)}removePanelClass(w){this._pane&&this._toggleClasses(this._pane,w,!1)}getDirection(){const w=this._config.direction;return w?"string"==typeof w?w:w.value:"ltr"}updateScrollStrategy(w){w!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=w,this.hasAttached()&&(w.attach(this),w.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const w=this._pane.style;w.width=(0,P.HM)(this._config.width),w.height=(0,P.HM)(this._config.height),w.minWidth=(0,P.HM)(this._config.minWidth),w.minHeight=(0,P.HM)(this._config.minHeight),w.maxWidth=(0,P.HM)(this._config.maxWidth),w.maxHeight=(0,P.HM)(this._config.maxHeight)}_togglePointerEvents(w){this._pane.style.pointerEvents=w?"":"none"}_attachBackdrop(){const w="cdk-overlay-backdrop-showing";this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),this._animationsDisabled&&this._backdropElement.classList.add("cdk-overlay-backdrop-noop-animation"),this._config.backdropClass&&this._toggleClasses(this._backdropElement,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropElement,this._host),this._backdropElement.addEventListener("click",this._backdropClickHandler),!this._animationsDisabled&&typeof requestAnimationFrame<"u"?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{this._backdropElement&&this._backdropElement.classList.add(w)})}):this._backdropElement.classList.add(w)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){const w=this._backdropElement;if(w){if(this._animationsDisabled)return void this._disposeBackdrop(w);w.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{w.addEventListener("transitionend",this._backdropTransitionendHandler)}),w.style.pointerEvents="none",this._backdropTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(()=>{this._disposeBackdrop(w)},500))}}_toggleClasses(w,R,ae){const Te=(0,P.Eq)(R||[]).filter(K=>!!K);Te.length&&(ae?w.classList.add(...Te):w.classList.remove(...Te))}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const w=this._ngZone.onStable.pipe((0,U.R)((0,H.T)(this._attachments,this._detachments))).subscribe(()=>{(!this._pane||!this._host||0===this._pane.children.length)&&(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._host.remove()),w.unsubscribe())})})}_disposeScrollStrategy(){const w=this._scrollStrategy;w&&(w.disable(),w.detach&&w.detach())}_disposeBackdrop(w){w&&(w.removeEventListener("click",this._backdropClickHandler),w.removeEventListener("transitionend",this._backdropTransitionendHandler),w.remove(),this._backdropElement===w&&(this._backdropElement=null)),this._backdropTimeout&&(clearTimeout(this._backdropTimeout),this._backdropTimeout=void 0)}}const sn="cdk-overlay-connected-position-bounding-box",en=/([A-Za-z%]+)$/;class It{constructor(w,R,ae,Te,K){this._viewportRuler=R,this._document=ae,this._platform=Te,this._overlayContainer=K,this._lastBoundingBoxSize={width:0,height:0},this._isPushed=!1,this._canPush=!0,this._growAfterOpen=!1,this._hasFlexibleDimensions=!0,this._positionLocked=!1,this._viewportMargin=0,this._scrollables=[],this._preferredPositions=[],this._positionChanges=new G.x,this._resizeSubscription=Y.w0.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(w)}get positions(){return this._preferredPositions}attach(w){this._validatePositions(),w.hostElement.classList.add(sn),this._overlayRef=w,this._boundingBox=w.hostElement,this._pane=w.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(()=>{this._isInitialRender=!0,this.apply()})}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition)return void this.reapplyLastPosition();this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const w=this._originRect,R=this._overlayRect,ae=this._viewportRect,Te=this._containerRect,K=[];let L;for(let k of this._preferredPositions){let be=this._getOriginPoint(w,Te,k),xe=this._getOverlayPoint(be,R,k),je=this._getOverlayFit(xe,R,ae,k);if(je.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(k,be);this._canFitWithFlexibleDimensions(je,xe,ae)?K.push({position:k,origin:be,overlayRect:R,boundingBoxRect:this._calculateBoundingBoxRect(be,k)}):(!L||L.overlayFit.visibleArea<je.visibleArea)&&(L={overlayFit:je,overlayPoint:xe,originPoint:be,position:k,overlayRect:R})}if(K.length){let k=null,be=-1;for(const xe of K){const je=xe.boundingBoxRect.width*xe.boundingBoxRect.height*(xe.position.weight||1);je>be&&(be=je,k=xe)}return this._isPushed=!1,void this._applyPosition(k.position,k.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(L.position,L.originPoint);this._applyPosition(L.position,L.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&Se(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(sn),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;const w=this._lastPosition;if(w){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const R=this._getOriginPoint(this._originRect,this._containerRect,w);this._applyPosition(w,R)}else this.apply()}withScrollableContainers(w){return this._scrollables=w,this}withPositions(w){return this._preferredPositions=w,-1===w.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(w){return this._viewportMargin=w,this}withFlexibleDimensions(w=!0){return this._hasFlexibleDimensions=w,this}withGrowAfterOpen(w=!0){return this._growAfterOpen=w,this}withPush(w=!0){return this._canPush=w,this}withLockedPosition(w=!0){return this._positionLocked=w,this}setOrigin(w){return this._origin=w,this}withDefaultOffsetX(w){return this._offsetX=w,this}withDefaultOffsetY(w){return this._offsetY=w,this}withTransformOriginOn(w){return this._transformOriginSelector=w,this}_getOriginPoint(w,R,ae){let Te,K;if("center"==ae.originX)Te=w.left+w.width/2;else{const L=this._isRtl()?w.right:w.left,k=this._isRtl()?w.left:w.right;Te="start"==ae.originX?L:k}return R.left<0&&(Te-=R.left),K="center"==ae.originY?w.top+w.height/2:"top"==ae.originY?w.top:w.bottom,R.top<0&&(K-=R.top),{x:Te,y:K}}_getOverlayPoint(w,R,ae){let Te,K;return Te="center"==ae.overlayX?-R.width/2:"start"===ae.overlayX?this._isRtl()?-R.width:0:this._isRtl()?0:-R.width,K="center"==ae.overlayY?-R.height/2:"top"==ae.overlayY?0:-R.height,{x:w.x+Te,y:w.y+K}}_getOverlayFit(w,R,ae,Te){const K=pe(R);let{x:L,y:k}=w,be=this._getOffset(Te,"x"),xe=this._getOffset(Te,"y");be&&(L+=be),xe&&(k+=xe);let Lt=0-k,Je=k+K.height-ae.height,Bt=this._subtractOverflows(K.width,0-L,L+K.width-ae.width),Tt=this._subtractOverflows(K.height,Lt,Je),dn=Bt*Tt;return{visibleArea:dn,isCompletelyWithinViewport:K.width*K.height===dn,fitsInViewportVertically:Tt===K.height,fitsInViewportHorizontally:Bt==K.width}}_canFitWithFlexibleDimensions(w,R,ae){if(this._hasFlexibleDimensions){const Te=ae.bottom-R.y,K=ae.right-R.x,L=ke(this._overlayRef.getConfig().minHeight),k=ke(this._overlayRef.getConfig().minWidth),xe=w.fitsInViewportHorizontally||null!=k&&k<=K;return(w.fitsInViewportVertically||null!=L&&L<=Te)&&xe}return!1}_pushOverlayOnScreen(w,R,ae){if(this._previousPushAmount&&this._positionLocked)return{x:w.x+this._previousPushAmount.x,y:w.y+this._previousPushAmount.y};const Te=pe(R),K=this._viewportRect,L=Math.max(w.x+Te.width-K.width,0),k=Math.max(w.y+Te.height-K.height,0),be=Math.max(K.top-ae.top-w.y,0),xe=Math.max(K.left-ae.left-w.x,0);let je=0,ct=0;return je=Te.width<=K.width?xe||-L:w.x<this._viewportMargin?K.left-ae.left-w.x:0,ct=Te.height<=K.height?be||-k:w.y<this._viewportMargin?K.top-ae.top-w.y:0,this._previousPushAmount={x:je,y:ct},{x:w.x+je,y:w.y+ct}}_applyPosition(w,R){if(this._setTransformOrigin(w),this._setOverlayElementStyles(R,w),this._setBoundingBoxStyles(R,w),w.panelClass&&this._addPanelClasses(w.panelClass),this._lastPosition=w,this._positionChanges.observers.length){const ae=this._getScrollVisibility(),Te=new Re(w,ae);this._positionChanges.next(Te)}this._isInitialRender=!1}_setTransformOrigin(w){if(!this._transformOriginSelector)return;const R=this._boundingBox.querySelectorAll(this._transformOriginSelector);let ae,Te=w.overlayY;ae="center"===w.overlayX?"center":this._isRtl()?"start"===w.overlayX?"right":"left":"start"===w.overlayX?"left":"right";for(let K=0;K<R.length;K++)R[K].style.transformOrigin=`${ae} ${Te}`}_calculateBoundingBoxRect(w,R){const ae=this._viewportRect,Te=this._isRtl();let K,L,k,je,ct,Lt;if("top"===R.overlayY)L=w.y,K=ae.height-L+this._viewportMargin;else if("bottom"===R.overlayY)k=ae.height-w.y+2*this._viewportMargin,K=ae.height-k+this._viewportMargin;else{const Je=Math.min(ae.bottom-w.y+ae.top,w.y),Bt=this._lastBoundingBoxSize.height;K=2*Je,L=w.y-Je,K>Bt&&!this._isInitialRender&&!this._growAfterOpen&&(L=w.y-Bt/2)}if("end"===R.overlayX&&!Te||"start"===R.overlayX&&Te)Lt=ae.width-w.x+this._viewportMargin,je=w.x-this._viewportMargin;else if("start"===R.overlayX&&!Te||"end"===R.overlayX&&Te)ct=w.x,je=ae.right-w.x;else{const Je=Math.min(ae.right-w.x+ae.left,w.x),Bt=this._lastBoundingBoxSize.width;je=2*Je,ct=w.x-Je,je>Bt&&!this._isInitialRender&&!this._growAfterOpen&&(ct=w.x-Bt/2)}return{top:L,left:ct,bottom:k,right:Lt,width:je,height:K}}_setBoundingBoxStyles(w,R){const ae=this._calculateBoundingBoxRect(w,R);!this._isInitialRender&&!this._growAfterOpen&&(ae.height=Math.min(ae.height,this._lastBoundingBoxSize.height),ae.width=Math.min(ae.width,this._lastBoundingBoxSize.width));const Te={};if(this._hasExactPosition())Te.top=Te.left="0",Te.bottom=Te.right=Te.maxHeight=Te.maxWidth="",Te.width=Te.height="100%";else{const K=this._overlayRef.getConfig().maxHeight,L=this._overlayRef.getConfig().maxWidth;Te.height=(0,P.HM)(ae.height),Te.top=(0,P.HM)(ae.top),Te.bottom=(0,P.HM)(ae.bottom),Te.width=(0,P.HM)(ae.width),Te.left=(0,P.HM)(ae.left),Te.right=(0,P.HM)(ae.right),Te.alignItems="center"===R.overlayX?"center":"end"===R.overlayX?"flex-end":"flex-start",Te.justifyContent="center"===R.overlayY?"center":"bottom"===R.overlayY?"flex-end":"flex-start",K&&(Te.maxHeight=(0,P.HM)(K)),L&&(Te.maxWidth=(0,P.HM)(L))}this._lastBoundingBoxSize=ae,Se(this._boundingBox.style,Te)}_resetBoundingBoxStyles(){Se(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){Se(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(w,R){const ae={},Te=this._hasExactPosition(),K=this._hasFlexibleDimensions,L=this._overlayRef.getConfig();if(Te){const je=this._viewportRuler.getViewportScrollPosition();Se(ae,this._getExactOverlayY(R,w,je)),Se(ae,this._getExactOverlayX(R,w,je))}else ae.position="static";let k="",be=this._getOffset(R,"x"),xe=this._getOffset(R,"y");be&&(k+=`translateX(${be}px) `),xe&&(k+=`translateY(${xe}px)`),ae.transform=k.trim(),L.maxHeight&&(Te?ae.maxHeight=(0,P.HM)(L.maxHeight):K&&(ae.maxHeight="")),L.maxWidth&&(Te?ae.maxWidth=(0,P.HM)(L.maxWidth):K&&(ae.maxWidth="")),Se(this._pane.style,ae)}_getExactOverlayY(w,R,ae){let Te={top:"",bottom:""},K=this._getOverlayPoint(R,this._overlayRect,w);return this._isPushed&&(K=this._pushOverlayOnScreen(K,this._overlayRect,ae)),"bottom"===w.overlayY?Te.bottom=this._document.documentElement.clientHeight-(K.y+this._overlayRect.height)+"px":Te.top=(0,P.HM)(K.y),Te}_getExactOverlayX(w,R,ae){let L,Te={left:"",right:""},K=this._getOverlayPoint(R,this._overlayRect,w);return this._isPushed&&(K=this._pushOverlayOnScreen(K,this._overlayRect,ae)),L=this._isRtl()?"end"===w.overlayX?"left":"right":"end"===w.overlayX?"right":"left","right"===L?Te.right=this._document.documentElement.clientWidth-(K.x+this._overlayRect.width)+"px":Te.left=(0,P.HM)(K.x),Te}_getScrollVisibility(){const w=this._getOriginRect(),R=this._pane.getBoundingClientRect(),ae=this._scrollables.map(Te=>Te.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:Pe(w,ae),isOriginOutsideView:it(w,ae),isOverlayClipped:Pe(R,ae),isOverlayOutsideView:it(R,ae)}}_subtractOverflows(w,...R){return R.reduce((ae,Te)=>ae-Math.max(Te,0),w)}_getNarrowedViewportRect(){const w=this._document.documentElement.clientWidth,R=this._document.documentElement.clientHeight,ae=this._viewportRuler.getViewportScrollPosition();return{top:ae.top+this._viewportMargin,left:ae.left+this._viewportMargin,right:ae.left+w-this._viewportMargin,bottom:ae.top+R-this._viewportMargin,width:w-2*this._viewportMargin,height:R-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(w,R){return"x"===R?w.offsetX??this._offsetX:w.offsetY??this._offsetY}_validatePositions(){}_addPanelClasses(w){this._pane&&(0,P.Eq)(w).forEach(R=>{""!==R&&-1===this._appliedPanelClasses.indexOf(R)&&(this._appliedPanelClasses.push(R),this._pane.classList.add(R))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(w=>{this._pane.classList.remove(w)}),this._appliedPanelClasses=[])}_getOriginRect(){const w=this._origin;if(w instanceof T.SBq)return w.nativeElement.getBoundingClientRect();if(w instanceof Element)return w.getBoundingClientRect();const R=w.width||0,ae=w.height||0;return{top:w.y,bottom:w.y+ae,left:w.x,right:w.x+R,height:ae,width:R}}}function Se(X,w){for(let R in w)w.hasOwnProperty(R)&&(X[R]=w[R]);return X}function ke(X){if("number"!=typeof X&&null!=X){const[w,R]=X.split(en);return R&&"px"!==R?null:parseFloat(w)}return X||null}function pe(X){return{top:Math.floor(X.top),right:Math.floor(X.right),bottom:Math.floor(X.bottom),left:Math.floor(X.left),width:Math.floor(X.width),height:Math.floor(X.height)}}const Ee="cdk-global-overlay-wrapper";class Ze{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._alignItems="",this._xPosition="",this._xOffset="",this._width="",this._height="",this._isDisposed=!1}attach(w){const R=w.getConfig();this._overlayRef=w,this._width&&!R.width&&w.updateSize({width:this._width}),this._height&&!R.height&&w.updateSize({height:this._height}),w.hostElement.classList.add(Ee),this._isDisposed=!1}top(w=""){return this._bottomOffset="",this._topOffset=w,this._alignItems="flex-start",this}left(w=""){return this._xOffset=w,this._xPosition="left",this}bottom(w=""){return this._topOffset="",this._bottomOffset=w,this._alignItems="flex-end",this}right(w=""){return this._xOffset=w,this._xPosition="right",this}start(w=""){return this._xOffset=w,this._xPosition="start",this}end(w=""){return this._xOffset=w,this._xPosition="end",this}width(w=""){return this._overlayRef?this._overlayRef.updateSize({width:w}):this._width=w,this}height(w=""){return this._overlayRef?this._overlayRef.updateSize({height:w}):this._height=w,this}centerHorizontally(w=""){return this.left(w),this._xPosition="center",this}centerVertically(w=""){return this.top(w),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const w=this._overlayRef.overlayElement.style,R=this._overlayRef.hostElement.style,ae=this._overlayRef.getConfig(),{width:Te,height:K,maxWidth:L,maxHeight:k}=ae,be=!("100%"!==Te&&"100vw"!==Te||L&&"100%"!==L&&"100vw"!==L),xe=!("100%"!==K&&"100vh"!==K||k&&"100%"!==k&&"100vh"!==k),je=this._xPosition,ct=this._xOffset,Lt="rtl"===this._overlayRef.getConfig().direction;let Je="",Bt="",Tt="";be?Tt="flex-start":"center"===je?(Tt="center",Lt?Bt=ct:Je=ct):Lt?"left"===je||"end"===je?(Tt="flex-end",Je=ct):("right"===je||"start"===je)&&(Tt="flex-start",Bt=ct):"left"===je||"start"===je?(Tt="flex-start",Je=ct):("right"===je||"end"===je)&&(Tt="flex-end",Bt=ct),w.position=this._cssPosition,w.marginLeft=be?"0":Je,w.marginTop=xe?"0":this._topOffset,w.marginBottom=this._bottomOffset,w.marginRight=be?"0":Bt,R.justifyContent=Tt,R.alignItems=xe?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const w=this._overlayRef.overlayElement.style,R=this._overlayRef.hostElement,ae=R.style;R.classList.remove(Ee),ae.justifyContent=ae.alignItems=w.marginTop=w.marginBottom=w.marginLeft=w.marginRight=w.position="",this._overlayRef=null,this._isDisposed=!0}}let Ct=(()=>{class X{constructor(R,ae,Te,K){this._viewportRuler=R,this._document=ae,this._platform=Te,this._overlayContainer=K}global(){return new Ze}flexibleConnectedTo(R){return new It(R,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}return X.\u0275fac=function(R){return new(R||X)(T.LFG(f.rL),T.LFG(v.K0),T.LFG(x.t4),T.LFG(zt))},X.\u0275prov=T.Yz7({token:X,factory:X.\u0275fac,providedIn:"root"}),X})(),At=0,lt=(()=>{class X{constructor(R,ae,Te,K,L,k,be,xe,je,ct,Lt,Je){this.scrollStrategies=R,this._overlayContainer=ae,this._componentFactoryResolver=Te,this._positionBuilder=K,this._keyboardDispatcher=L,this._injector=k,this._ngZone=be,this._document=xe,this._directionality=je,this._location=ct,this._outsideClickDispatcher=Lt,this._animationsModuleType=Je}create(R){const ae=this._createHostElement(),Te=this._createPaneElement(ae),K=this._createPortalOutlet(Te),L=new de(R);return L.direction=L.direction||this._directionality.value,new Mt(K,ae,Te,L,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,"NoopAnimations"===this._animationsModuleType)}position(){return this._positionBuilder}_createPaneElement(R){const ae=this._document.createElement("div");return ae.id="cdk-overlay-"+At++,ae.classList.add("cdk-overlay-pane"),R.appendChild(ae),ae}_createHostElement(){const R=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(R),R}_createPortalOutlet(R){return this._appRef||(this._appRef=this._injector.get(T.z2F)),new te.u0(R,this._componentFactoryResolver,this._appRef,this._injector,this._document)}}return X.\u0275fac=function(R){return new(R||X)(T.LFG(ve),T.LFG(zt),T.LFG(T._Vd),T.LFG(Ct),T.LFG($e),T.LFG(T.zs3),T.LFG(T.R0b),T.LFG(v.K0),T.LFG(N.Is),T.LFG(v.Ye),T.LFG(yt),T.LFG(T.QbO,8))},X.\u0275prov=T.Yz7({token:X,factory:X.\u0275fac}),X})();const St=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],Et=new T.OlP("cdk-connected-overlay-scroll-strategy");let tn=(()=>{class X{constructor(R){this.elementRef=R}}return X.\u0275fac=function(R){return new(R||X)(T.Y36(T.SBq))},X.\u0275dir=T.lG2({type:X,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"]}),X})(),xt=(()=>{class X{constructor(R,ae,Te,K,L){this._overlay=R,this._dir=L,this._hasBackdrop=!1,this._lockPosition=!1,this._growAfterOpen=!1,this._flexibleDimensions=!1,this._push=!1,this._backdropSubscription=Y.w0.EMPTY,this._attachSubscription=Y.w0.EMPTY,this._detachSubscription=Y.w0.EMPTY,this._positionSubscription=Y.w0.EMPTY,this.viewportMargin=0,this.open=!1,this.disableClose=!1,this.backdropClick=new T.vpe,this.positionChange=new T.vpe,this.attach=new T.vpe,this.detach=new T.vpe,this.overlayKeydown=new T.vpe,this.overlayOutsideClick=new T.vpe,this._templatePortal=new te.UE(ae,Te),this._scrollStrategyFactory=K,this.scrollStrategy=this._scrollStrategyFactory()}get offsetX(){return this._offsetX}set offsetX(R){this._offsetX=R,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(R){this._offsetY=R,this._position&&this._updatePositionStrategy(this._position)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(R){this._hasBackdrop=(0,P.Ig)(R)}get lockPosition(){return this._lockPosition}set lockPosition(R){this._lockPosition=(0,P.Ig)(R)}get flexibleDimensions(){return this._flexibleDimensions}set flexibleDimensions(R){this._flexibleDimensions=(0,P.Ig)(R)}get growAfterOpen(){return this._growAfterOpen}set growAfterOpen(R){this._growAfterOpen=(0,P.Ig)(R)}get push(){return this._push}set push(R){this._push=(0,P.Ig)(R)}get overlayRef(){return this._overlayRef}get dir(){return this._dir?this._dir.value:"ltr"}ngOnDestroy(){this._attachSubscription.unsubscribe(),this._detachSubscription.unsubscribe(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this._overlayRef&&this._overlayRef.dispose()}ngOnChanges(R){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),R.origin&&this.open&&this._position.apply()),R.open&&(this.open?this._attachOverlay():this._detachOverlay())}_createOverlay(){(!this.positions||!this.positions.length)&&(this.positions=St);const R=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=R.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=R.detachments().subscribe(()=>this.detach.emit()),R.keydownEvents().subscribe(ae=>{this.overlayKeydown.next(ae),ae.keyCode===Me.hY&&!this.disableClose&&!(0,Me.Vb)(ae)&&(ae.preventDefault(),this._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(ae=>{this.overlayOutsideClick.next(ae)})}_buildConfig(){const R=this._position=this.positionStrategy||this._createPositionStrategy(),ae=new de({direction:this._dir,positionStrategy:R,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop});return(this.width||0===this.width)&&(ae.width=this.width),(this.height||0===this.height)&&(ae.height=this.height),(this.minWidth||0===this.minWidth)&&(ae.minWidth=this.minWidth),(this.minHeight||0===this.minHeight)&&(ae.minHeight=this.minHeight),this.backdropClass&&(ae.backdropClass=this.backdropClass),this.panelClass&&(ae.panelClass=this.panelClass),ae}_updatePositionStrategy(R){const ae=this.positions.map(Te=>({originX:Te.originX,originY:Te.originY,overlayX:Te.overlayX,overlayY:Te.overlayY,offsetX:Te.offsetX||this.offsetX,offsetY:Te.offsetY||this.offsetY,panelClass:Te.panelClass||void 0}));return R.setOrigin(this._getFlexibleConnectedPositionStrategyOrigin()).withPositions(ae).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){const R=this._overlay.position().flexibleConnectedTo(this._getFlexibleConnectedPositionStrategyOrigin());return this._updatePositionStrategy(R),R}_getFlexibleConnectedPositionStrategyOrigin(){return this.origin instanceof tn?this.origin.elementRef:this.origin}_attachOverlay(){this._overlayRef?this._overlayRef.getConfig().hasBackdrop=this.hasBackdrop:this._createOverlay(),this._overlayRef.hasAttached()||this._overlayRef.attach(this._templatePortal),this.hasBackdrop?this._backdropSubscription=this._overlayRef.backdropClick().subscribe(R=>{this.backdropClick.emit(R)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe((0,Ae.o)(()=>this.positionChange.observers.length>0)).subscribe(R=>{this.positionChange.emit(R),0===this.positionChange.observers.length&&this._positionSubscription.unsubscribe()}))}_detachOverlay(){this._overlayRef&&this._overlayRef.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe()}}return X.\u0275fac=function(R){return new(R||X)(T.Y36(lt),T.Y36(T.Rgc),T.Y36(T.s_b),T.Y36(Et),T.Y36(N.Is,8))},X.\u0275dir=T.lG2({type:X,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{origin:["cdkConnectedOverlayOrigin","origin"],positions:["cdkConnectedOverlayPositions","positions"],positionStrategy:["cdkConnectedOverlayPositionStrategy","positionStrategy"],offsetX:["cdkConnectedOverlayOffsetX","offsetX"],offsetY:["cdkConnectedOverlayOffsetY","offsetY"],width:["cdkConnectedOverlayWidth","width"],height:["cdkConnectedOverlayHeight","height"],minWidth:["cdkConnectedOverlayMinWidth","minWidth"],minHeight:["cdkConnectedOverlayMinHeight","minHeight"],backdropClass:["cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:["cdkConnectedOverlayPanelClass","panelClass"],viewportMargin:["cdkConnectedOverlayViewportMargin","viewportMargin"],scrollStrategy:["cdkConnectedOverlayScrollStrategy","scrollStrategy"],open:["cdkConnectedOverlayOpen","open"],disableClose:["cdkConnectedOverlayDisableClose","disableClose"],transformOriginSelector:["cdkConnectedOverlayTransformOriginOn","transformOriginSelector"],hasBackdrop:["cdkConnectedOverlayHasBackdrop","hasBackdrop"],lockPosition:["cdkConnectedOverlayLockPosition","lockPosition"],flexibleDimensions:["cdkConnectedOverlayFlexibleDimensions","flexibleDimensions"],growAfterOpen:["cdkConnectedOverlayGrowAfterOpen","growAfterOpen"],push:["cdkConnectedOverlayPush","push"]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],features:[T.TTD]}),X})();const Qe={provide:Et,deps:[lt],useFactory:function kt(X){return()=>X.scrollStrategies.reposition()}};let Ve=(()=>{class X{}return X.\u0275fac=function(R){return new(R||X)},X.\u0275mod=T.oAB({type:X}),X.\u0275inj=T.cJS({providers:[lt,Qe],imports:[N.vT,te.eL,f.Cl,f.Cl]}),X})()},36321:(et,me,m)=>{m.d(me,{Mq:()=>Me,Oy:()=>Pe,_i:()=>ye,ht:()=>rt,i$:()=>z,kV:()=>Ie,qK:()=>G,sA:()=>it,t4:()=>P});var f=m(64537),v=m(88692);let T;try{T=typeof Intl<"u"&&Intl.v8BreakIterator}catch{T=!1}let N,P=(()=>{class Q{constructor(de){this._platformId=de,this.isBrowser=this._platformId?(0,v.NF)(this._platformId):"object"==typeof document&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!(!window.chrome&&!T)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}}return Q.\u0275fac=function(de){return new(de||Q)(f.LFG(f.Lbi))},Q.\u0275prov=f.Yz7({token:Q,factory:Q.\u0275fac,providedIn:"root"}),Q})();const te=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function G(){if(N)return N;if("object"!=typeof document||!document)return N=new Set(te),N;let Q=document.createElement("input");return N=new Set(te.filter(ve=>(Q.setAttribute("type",ve),Q.type===ve))),N}let Y,U,Ae,he;function z(Q){return function H(){if(null==Y&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>Y=!0}))}finally{Y=Y||!1}return Y}()?Q:!!Q.capture}function Me(){if(null==Ae){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return Ae=!1,Ae;if("scrollBehavior"in document.documentElement.style)Ae=!0;else{const Q=Element.prototype.scrollTo;Ae=!!Q&&!/\{\s*\[native code\]\s*\}/.test(Q.toString())}}return Ae}function ye(){if("object"!=typeof document||!document)return 0;if(null==U){const Q=document.createElement("div"),ve=Q.style;Q.dir="rtl",ve.width="1px",ve.overflow="auto",ve.visibility="hidden",ve.pointerEvents="none",ve.position="absolute";const de=document.createElement("div"),Oe=de.style;Oe.width="2px",Oe.height="1px",Q.appendChild(de),document.body.appendChild(Q),U=0,0===Q.scrollLeft&&(Q.scrollLeft=1,U=0===Q.scrollLeft?1:2),Q.remove()}return U}function Ie(Q){if(function ie(){if(null==he){const Q=typeof document<"u"?document.head:null;he=!(!Q||!Q.createShadowRoot&&!Q.attachShadow)}return he}()){const ve=Q.getRootNode?Q.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&ve instanceof ShadowRoot)return ve}return null}function rt(){let Q=typeof document<"u"&&document?document.activeElement:null;for(;Q&&Q.shadowRoot;){const ve=Q.shadowRoot.activeElement;if(ve===Q)break;Q=ve}return Q}function it(Q){return Q.composedPath?Q.composedPath()[0]:Q.target}function Pe(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}},18632:(et,me,m)=>{m.d(me,{C5:()=>H,Pl:()=>rt,UE:()=>z,eL:()=>Pe,en:()=>Ae,u0:()=>ye});var f=m(64537),v=m(88692);class Y{attach(de){return this._attachedHost=de,de.attach(this)}detach(){let de=this._attachedHost;null!=de&&(this._attachedHost=null,de.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(de){this._attachedHost=de}}class H extends Y{constructor(de,Oe,ze,Re){super(),this.component=de,this.viewContainerRef=Oe,this.injector=ze,this.componentFactoryResolver=Re}}class z extends Y{constructor(de,Oe,ze,Re){super(),this.templateRef=de,this.viewContainerRef=Oe,this.context=ze,this.injector=Re}get origin(){return this.templateRef.elementRef}attach(de,Oe=this.context){return this.context=Oe,super.attach(de)}detach(){return this.context=void 0,super.detach()}}class U extends Y{constructor(de){super(),this.element=de instanceof f.SBq?de.nativeElement:de}}class Ae{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(de){return de instanceof H?(this._attachedPortal=de,this.attachComponentPortal(de)):de instanceof z?(this._attachedPortal=de,this.attachTemplatePortal(de)):this.attachDomPortal&&de instanceof U?(this._attachedPortal=de,this.attachDomPortal(de)):void 0}detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(de){this._disposeFn=de}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class ye extends Ae{constructor(de,Oe,ze,Re,nt){super(),this.outletElement=de,this._componentFactoryResolver=Oe,this._appRef=ze,this._defaultInjector=Re,this.attachDomPortal=De=>{const Ue=De.element,$e=this._document.createComment("dom-portal");Ue.parentNode.insertBefore($e,Ue),this.outletElement.appendChild(Ue),this._attachedPortal=De,super.setDisposeFn(()=>{$e.parentNode&&$e.parentNode.replaceChild(Ue,$e)})},this._document=nt}attachComponentPortal(de){const ze=(de.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(de.component);let Re;return de.viewContainerRef?(Re=de.viewContainerRef.createComponent(ze,de.viewContainerRef.length,de.injector||de.viewContainerRef.injector),this.setDisposeFn(()=>Re.destroy())):(Re=ze.create(de.injector||this._defaultInjector||f.zs3.NULL),this._appRef.attachView(Re.hostView),this.setDisposeFn(()=>{this._appRef.viewCount>0&&this._appRef.detachView(Re.hostView),Re.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(Re)),this._attachedPortal=de,Re}attachTemplatePortal(de){let Oe=de.viewContainerRef,ze=Oe.createEmbeddedView(de.templateRef,de.context,{injector:de.injector});return ze.rootNodes.forEach(Re=>this.outletElement.appendChild(Re)),ze.detectChanges(),this.setDisposeFn(()=>{let Re=Oe.indexOf(ze);-1!==Re&&Oe.remove(Re)}),this._attachedPortal=de,ze}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(de){return de.hostView.rootNodes[0]}}let rt=(()=>{class ve extends Ae{constructor(Oe,ze,Re){super(),this._componentFactoryResolver=Oe,this._viewContainerRef=ze,this._isInitialized=!1,this.attached=new f.vpe,this.attachDomPortal=nt=>{const De=nt.element,Ue=this._document.createComment("dom-portal");nt.setAttachedHost(this),De.parentNode.insertBefore(Ue,De),this._getRootNode().appendChild(De),this._attachedPortal=nt,super.setDisposeFn(()=>{Ue.parentNode&&Ue.parentNode.replaceChild(De,Ue)})},this._document=Re}get portal(){return this._attachedPortal}set portal(Oe){this.hasAttached()&&!Oe&&!this._isInitialized||(this.hasAttached()&&super.detach(),Oe&&super.attach(Oe),this._attachedPortal=Oe||null)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedPortal=null,this._attachedRef=null}attachComponentPortal(Oe){Oe.setAttachedHost(this);const ze=null!=Oe.viewContainerRef?Oe.viewContainerRef:this._viewContainerRef,nt=(Oe.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(Oe.component),De=ze.createComponent(nt,ze.length,Oe.injector||ze.injector);return ze!==this._viewContainerRef&&this._getRootNode().appendChild(De.hostView.rootNodes[0]),super.setDisposeFn(()=>De.destroy()),this._attachedPortal=Oe,this._attachedRef=De,this.attached.emit(De),De}attachTemplatePortal(Oe){Oe.setAttachedHost(this);const ze=this._viewContainerRef.createEmbeddedView(Oe.templateRef,Oe.context,{injector:Oe.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=Oe,this._attachedRef=ze,this.attached.emit(ze),ze}_getRootNode(){const Oe=this._viewContainerRef.element.nativeElement;return Oe.nodeType===Oe.ELEMENT_NODE?Oe:Oe.parentNode}}return ve.\u0275fac=function(Oe){return new(Oe||ve)(f.Y36(f._Vd),f.Y36(f.s_b),f.Y36(v.K0))},ve.\u0275dir=f.lG2({type:ve,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:["cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[f.qOj]}),ve})(),Pe=(()=>{class ve{}return ve.\u0275fac=function(Oe){return new(Oe||ve)},ve.\u0275mod=f.oAB({type:ve}),ve.\u0275inj=f.cJS({}),ve})()},92237:(et,me,m)=>{m.d(me,{xd:()=>en,PQ:()=>ke,ZD:()=>xt,x0:()=>St,N7:()=>At,mF:()=>Se,Cl:()=>kt,rL:()=>q});var f=m(74929),v=m(64537),T=m(38023),P=m(84945),x=m(87241),N=m(14581),te=m(79239),G=m(36401),Y=m(14813),H=m(97),z=m(42147),U=m(46523),Ae=m(32085),Me=m(75955),ye=m(28499),ie=m(1995);function Ie(Qe,Ve=U.z){return function he(Qe){return(0,Ae.e)((Ve,V)=>{let X=!1,w=null,R=null,ae=!1;const Te=()=>{if(R?.unsubscribe(),R=null,X){X=!1;const L=w;w=null,V.next(L)}ae&&V.complete()},K=()=>{R=null,ae&&V.complete()};Ve.subscribe((0,ye.x)(V,L=>{X=!0,w=L,R||(0,Me.Xf)(Qe(L)).subscribe(R=(0,ye.x)(V,Te,K))},()=>{ae=!0,(!X||!R||R.closed)&&V.complete()}))})}(()=>(0,ie.H)(Qe,Ve))}var rt=m(74970),it=m(13528),Pe=m(51927),ve=m(61528),de=m(5557),Oe=m(26903),Re=m(36321),nt=m(88692),De=m(65875),Ue=m(95834);const $e=["contentWrapper"],yt=["*"],zt=new v.OlP("VIRTUAL_SCROLL_STRATEGY");class Mt{constructor(Ve,V,X){this._scrolledIndexChange=new T.x,this.scrolledIndexChange=this._scrolledIndexChange.pipe((0,z.x)()),this._viewport=null,this._itemSize=Ve,this._minBufferPx=V,this._maxBufferPx=X}attach(Ve){this._viewport=Ve,this._updateTotalContentSize(),this._updateRenderedRange()}detach(){this._scrolledIndexChange.complete(),this._viewport=null}updateItemAndBufferSize(Ve,V,X){this._itemSize=Ve,this._minBufferPx=V,this._maxBufferPx=X,this._updateTotalContentSize(),this._updateRenderedRange()}onContentScrolled(){this._updateRenderedRange()}onDataLengthChanged(){this._updateTotalContentSize(),this._updateRenderedRange()}onContentRendered(){}onRenderedOffsetChanged(){}scrollToIndex(Ve,V){this._viewport&&this._viewport.scrollToOffset(Ve*this._itemSize,V)}_updateTotalContentSize(){!this._viewport||this._viewport.setTotalContentSize(this._viewport.getDataLength()*this._itemSize)}_updateRenderedRange(){if(!this._viewport)return;const Ve=this._viewport.getRenderedRange(),V={start:Ve.start,end:Ve.end},X=this._viewport.getViewportSize(),w=this._viewport.getDataLength();let R=this._viewport.measureScrollOffset(),ae=this._itemSize>0?R/this._itemSize:0;if(V.end>w){const K=Math.ceil(X/this._itemSize),L=Math.max(0,Math.min(ae,w-K));ae!=L&&(ae=L,R=L*this._itemSize,V.start=Math.floor(ae)),V.end=Math.max(0,Math.min(w,V.start+K))}const Te=R-V.start*this._itemSize;if(Te<this._minBufferPx&&0!=V.start){const K=Math.ceil((this._maxBufferPx-Te)/this._itemSize);V.start=Math.max(0,V.start-K),V.end=Math.min(w,Math.ceil(ae+(X+this._minBufferPx)/this._itemSize))}else{const K=V.end*this._itemSize-(R+X);if(K<this._minBufferPx&&V.end!=w){const L=Math.ceil((this._maxBufferPx-K)/this._itemSize);L>0&&(V.end=Math.min(w,V.end+L),V.start=Math.max(0,Math.floor(ae-this._minBufferPx/this._itemSize)))}}this._viewport.setRenderedRange(V),this._viewport.setRenderedContentOffset(this._itemSize*V.start),this._scrolledIndexChange.next(Math.floor(ae))}}function sn(Qe){return Qe._scrollStrategy}let en=(()=>{class Qe{constructor(){this._itemSize=20,this._minBufferPx=100,this._maxBufferPx=200,this._scrollStrategy=new Mt(this.itemSize,this.minBufferPx,this.maxBufferPx)}get itemSize(){return this._itemSize}set itemSize(V){this._itemSize=(0,f.su)(V)}get minBufferPx(){return this._minBufferPx}set minBufferPx(V){this._minBufferPx=(0,f.su)(V)}get maxBufferPx(){return this._maxBufferPx}set maxBufferPx(V){this._maxBufferPx=(0,f.su)(V)}ngOnChanges(){this._scrollStrategy.updateItemAndBufferSize(this.itemSize,this.minBufferPx,this.maxBufferPx)}}return Qe.\u0275fac=function(V){return new(V||Qe)},Qe.\u0275dir=v.lG2({type:Qe,selectors:[["cdk-virtual-scroll-viewport","itemSize",""]],inputs:{itemSize:"itemSize",minBufferPx:"minBufferPx",maxBufferPx:"maxBufferPx"},features:[v._Bn([{provide:zt,useFactory:sn,deps:[(0,v.Gpc)(()=>Qe)]}]),v.TTD]}),Qe})(),Se=(()=>{class Qe{constructor(V,X,w){this._ngZone=V,this._platform=X,this._scrolled=new T.x,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=w}register(V){this.scrollContainers.has(V)||this.scrollContainers.set(V,V.elementScrolled().subscribe(()=>this._scrolled.next(V)))}deregister(V){const X=this.scrollContainers.get(V);X&&(X.unsubscribe(),this.scrollContainers.delete(V))}scrolled(V=20){return this._platform.isBrowser?new x.y(X=>{this._globalSubscription||this._addGlobalListener();const w=V>0?this._scrolled.pipe(Ie(V)).subscribe(X):this._scrolled.subscribe(X);return this._scrolledCount++,()=>{w.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):(0,P.of)()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((V,X)=>this.deregister(X)),this._scrolled.complete()}ancestorScrolled(V,X){const w=this.getAncestorScrollContainers(V);return this.scrolled(X).pipe((0,rt.h)(R=>!R||w.indexOf(R)>-1))}getAncestorScrollContainers(V){const X=[];return this.scrollContainers.forEach((w,R)=>{this._scrollableContainsElement(R,V)&&X.push(R)}),X}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(V,X){let w=(0,f.fI)(X),R=V.getElementRef().nativeElement;do{if(w==R)return!0}while(w=w.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>{const V=this._getWindow();return(0,N.R)(V.document,"scroll").subscribe(()=>this._scrolled.next())})}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}return Qe.\u0275fac=function(V){return new(V||Qe)(v.LFG(v.R0b),v.LFG(Re.t4),v.LFG(nt.K0,8))},Qe.\u0275prov=v.Yz7({token:Qe,factory:Qe.\u0275fac,providedIn:"root"}),Qe})(),ke=(()=>{class Qe{constructor(V,X,w,R){this.elementRef=V,this.scrollDispatcher=X,this.ngZone=w,this.dir=R,this._destroyed=new T.x,this._elementScrolled=new x.y(ae=>this.ngZone.runOutsideAngular(()=>(0,N.R)(this.elementRef.nativeElement,"scroll").pipe((0,it.R)(this._destroyed)).subscribe(ae)))}ngOnInit(){this.scrollDispatcher.register(this)}ngOnDestroy(){this.scrollDispatcher.deregister(this),this._destroyed.next(),this._destroyed.complete()}elementScrolled(){return this._elementScrolled}getElementRef(){return this.elementRef}scrollTo(V){const X=this.elementRef.nativeElement,w=this.dir&&"rtl"==this.dir.value;null==V.left&&(V.left=w?V.end:V.start),null==V.right&&(V.right=w?V.start:V.end),null!=V.bottom&&(V.top=X.scrollHeight-X.clientHeight-V.bottom),w&&0!=(0,Re._i)()?(null!=V.left&&(V.right=X.scrollWidth-X.clientWidth-V.left),2==(0,Re._i)()?V.left=V.right:1==(0,Re._i)()&&(V.left=V.right?-V.right:V.right)):null!=V.right&&(V.left=X.scrollWidth-X.clientWidth-V.right),this._applyScrollToOptions(V)}_applyScrollToOptions(V){const X=this.elementRef.nativeElement;(0,Re.Mq)()?X.scrollTo(V):(null!=V.top&&(X.scrollTop=V.top),null!=V.left&&(X.scrollLeft=V.left))}measureScrollOffset(V){const X="left",w="right",R=this.elementRef.nativeElement;if("top"==V)return R.scrollTop;if("bottom"==V)return R.scrollHeight-R.clientHeight-R.scrollTop;const ae=this.dir&&"rtl"==this.dir.value;return"start"==V?V=ae?w:X:"end"==V&&(V=ae?X:w),ae&&2==(0,Re._i)()?V==X?R.scrollWidth-R.clientWidth-R.scrollLeft:R.scrollLeft:ae&&1==(0,Re._i)()?V==X?R.scrollLeft+R.scrollWidth-R.clientWidth:-R.scrollLeft:V==X?R.scrollLeft:R.scrollWidth-R.clientWidth-R.scrollLeft}}return Qe.\u0275fac=function(V){return new(V||Qe)(v.Y36(v.SBq),v.Y36(Se),v.Y36(v.R0b),v.Y36(De.Is,8))},Qe.\u0275dir=v.lG2({type:Qe,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]]}),Qe})(),q=(()=>{class Qe{constructor(V,X,w){this._platform=V,this._change=new T.x,this._changeListener=R=>{this._change.next(R)},this._document=w,X.runOutsideAngular(()=>{if(V.isBrowser){const R=this._getWindow();R.addEventListener("resize",this._changeListener),R.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){const V=this._getWindow();V.removeEventListener("resize",this._changeListener),V.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const V={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),V}getViewportRect(){const V=this.getViewportScrollPosition(),{width:X,height:w}=this.getViewportSize();return{top:V.top,left:V.left,bottom:V.top+w,right:V.left+X,height:w,width:X}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const V=this._document,X=this._getWindow(),w=V.documentElement,R=w.getBoundingClientRect();return{top:-R.top||V.body.scrollTop||X.scrollY||w.scrollTop||0,left:-R.left||V.body.scrollLeft||X.scrollX||w.scrollLeft||0}}change(V=20){return V>0?this._change.pipe(Ie(V)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const V=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:V.innerWidth,height:V.innerHeight}:{width:0,height:0}}}return Qe.\u0275fac=function(V){return new(V||Qe)(v.LFG(Re.t4),v.LFG(v.R0b),v.LFG(nt.K0,8))},Qe.\u0275prov=v.Yz7({token:Qe,factory:Qe.\u0275fac,providedIn:"root"}),Qe})();const _e=new v.OlP("VIRTUAL_SCROLLABLE");let Ee=(()=>{class Qe extends ke{constructor(V,X,w,R){super(V,X,w,R)}measureViewportSize(V){const X=this.elementRef.nativeElement;return"horizontal"===V?X.clientWidth:X.clientHeight}}return Qe.\u0275fac=function(V){return new(V||Qe)(v.Y36(v.SBq),v.Y36(Se),v.Y36(v.R0b),v.Y36(De.Is,8))},Qe.\u0275dir=v.lG2({type:Qe,features:[v.qOj]}),Qe})();const Ct=typeof requestAnimationFrame<"u"?te.Z:G.E;let At=(()=>{class Qe extends Ee{constructor(V,X,w,R,ae,Te,K,L){super(V,Te,w,ae),this.elementRef=V,this._changeDetectorRef=X,this._scrollStrategy=R,this.scrollable=L,this._platform=(0,v.f3M)(Re.t4),this._detachedSubject=new T.x,this._renderedRangeSubject=new T.x,this._orientation="vertical",this._appendOnly=!1,this.scrolledIndexChange=new x.y(k=>this._scrollStrategy.scrolledIndexChange.subscribe(be=>Promise.resolve().then(()=>this.ngZone.run(()=>k.next(be))))),this.renderedRangeStream=this._renderedRangeSubject,this._totalContentSize=0,this._totalContentWidth="",this._totalContentHeight="",this._renderedRange={start:0,end:0},this._dataLength=0,this._viewportSize=0,this._renderedContentOffset=0,this._renderedContentOffsetNeedsRewrite=!1,this._isChangeDetectionPending=!1,this._runAfterChangeDetection=[],this._viewportChanges=Y.w0.EMPTY,this._viewportChanges=K.change().subscribe(()=>{this.checkViewportSize()}),this.scrollable||(this.elementRef.nativeElement.classList.add("cdk-virtual-scrollable"),this.scrollable=this)}get orientation(){return this._orientation}set orientation(V){this._orientation!==V&&(this._orientation=V,this._calculateSpacerSize())}get appendOnly(){return this._appendOnly}set appendOnly(V){this._appendOnly=(0,f.Ig)(V)}ngOnInit(){!this._platform.isBrowser||(this.scrollable===this&&super.ngOnInit(),this.ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>{this._measureViewportSize(),this._scrollStrategy.attach(this),this.scrollable.elementScrolled().pipe((0,Pe.O)(null),Ie(0,Ct)).subscribe(()=>this._scrollStrategy.onContentScrolled()),this._markChangeDetectionNeeded()})))}ngOnDestroy(){this.detach(),this._scrollStrategy.detach(),this._renderedRangeSubject.complete(),this._detachedSubject.complete(),this._viewportChanges.unsubscribe(),super.ngOnDestroy()}attach(V){this.ngZone.runOutsideAngular(()=>{this._forOf=V,this._forOf.dataStream.pipe((0,it.R)(this._detachedSubject)).subscribe(X=>{const w=X.length;w!==this._dataLength&&(this._dataLength=w,this._scrollStrategy.onDataLengthChanged()),this._doChangeDetection()})})}detach(){this._forOf=null,this._detachedSubject.next()}getDataLength(){return this._dataLength}getViewportSize(){return this._viewportSize}getRenderedRange(){return this._renderedRange}measureBoundingClientRectWithScrollOffset(V){return this.getElementRef().nativeElement.getBoundingClientRect()[V]}setTotalContentSize(V){this._totalContentSize!==V&&(this._totalContentSize=V,this._calculateSpacerSize(),this._markChangeDetectionNeeded())}setRenderedRange(V){(function Ze(Qe,Ve){return Qe.start==Ve.start&&Qe.end==Ve.end})(this._renderedRange,V)||(this.appendOnly&&(V={start:0,end:Math.max(this._renderedRange.end,V.end)}),this._renderedRangeSubject.next(this._renderedRange=V),this._markChangeDetectionNeeded(()=>this._scrollStrategy.onContentRendered()))}getOffsetToRenderedContentStart(){return this._renderedContentOffsetNeedsRewrite?null:this._renderedContentOffset}setRenderedContentOffset(V,X="to-start"){V=this.appendOnly&&"to-start"===X?0:V;const R="horizontal"==this.orientation,ae=R?"X":"Y";let K=`translate${ae}(${Number((R&&this.dir&&"rtl"==this.dir.value?-1:1)*V)}px)`;this._renderedContentOffset=V,"to-end"===X&&(K+=` translate${ae}(-100%)`,this._renderedContentOffsetNeedsRewrite=!0),this._renderedContentTransform!=K&&(this._renderedContentTransform=K,this._markChangeDetectionNeeded(()=>{this._renderedContentOffsetNeedsRewrite?(this._renderedContentOffset-=this.measureRenderedContentSize(),this._renderedContentOffsetNeedsRewrite=!1,this.setRenderedContentOffset(this._renderedContentOffset)):this._scrollStrategy.onRenderedOffsetChanged()}))}scrollToOffset(V,X="auto"){const w={behavior:X};"horizontal"===this.orientation?w.start=V:w.top=V,this.scrollable.scrollTo(w)}scrollToIndex(V,X="auto"){this._scrollStrategy.scrollToIndex(V,X)}measureScrollOffset(V){let X;return X=this.scrollable==this?w=>super.measureScrollOffset(w):w=>this.scrollable.measureScrollOffset(w),Math.max(0,X(V??("horizontal"===this.orientation?"start":"top"))-this.measureViewportOffset())}measureViewportOffset(V){let X;const w="left",R="right",ae="rtl"==this.dir?.value;X="start"==V?ae?R:w:"end"==V?ae?w:R:V||("horizontal"===this.orientation?"left":"top");const Te=this.scrollable.measureBoundingClientRectWithScrollOffset(X);return this.elementRef.nativeElement.getBoundingClientRect()[X]-Te}measureRenderedContentSize(){const V=this._contentWrapper.nativeElement;return"horizontal"===this.orientation?V.offsetWidth:V.offsetHeight}measureRangeSize(V){return this._forOf?this._forOf.measureRangeSize(V,this.orientation):0}checkViewportSize(){this._measureViewportSize(),this._scrollStrategy.onDataLengthChanged()}_measureViewportSize(){this._viewportSize=this.scrollable.measureViewportSize(this.orientation)}_markChangeDetectionNeeded(V){V&&this._runAfterChangeDetection.push(V),this._isChangeDetectionPending||(this._isChangeDetectionPending=!0,this.ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>{this._doChangeDetection()})))}_doChangeDetection(){this._isChangeDetectionPending=!1,this._contentWrapper.nativeElement.style.transform=this._renderedContentTransform,this.ngZone.run(()=>this._changeDetectorRef.markForCheck());const V=this._runAfterChangeDetection;this._runAfterChangeDetection=[];for(const X of V)X()}_calculateSpacerSize(){this._totalContentHeight="horizontal"===this.orientation?"":`${this._totalContentSize}px`,this._totalContentWidth="horizontal"===this.orientation?`${this._totalContentSize}px`:""}}return Qe.\u0275fac=function(V){return new(V||Qe)(v.Y36(v.SBq),v.Y36(v.sBO),v.Y36(v.R0b),v.Y36(zt,8),v.Y36(De.Is,8),v.Y36(Se),v.Y36(q),v.Y36(_e,8))},Qe.\u0275cmp=v.Xpm({type:Qe,selectors:[["cdk-virtual-scroll-viewport"]],viewQuery:function(V,X){if(1&V&&v.Gf($e,7),2&V){let w;v.iGM(w=v.CRH())&&(X._contentWrapper=w.first)}},hostAttrs:[1,"cdk-virtual-scroll-viewport"],hostVars:4,hostBindings:function(V,X){2&V&&v.ekj("cdk-virtual-scroll-orientation-horizontal","horizontal"===X.orientation)("cdk-virtual-scroll-orientation-vertical","horizontal"!==X.orientation)},inputs:{orientation:"orientation",appendOnly:"appendOnly"},outputs:{scrolledIndexChange:"scrolledIndexChange"},features:[v._Bn([{provide:ke,useFactory:(Ve,V)=>Ve||V,deps:[[new v.FiY,new v.tBr(_e)],Qe]}]),v.qOj],ngContentSelectors:yt,decls:4,vars:4,consts:[[1,"cdk-virtual-scroll-content-wrapper"],["contentWrapper",""],[1,"cdk-virtual-scroll-spacer"]],template:function(V,X){1&V&&(v.F$t(),v.TgZ(0,"div",0,1),v.Hsn(2),v.qZA(),v._UZ(3,"div",2)),2&V&&(v.xp6(3),v.Udp("width",X._totalContentWidth)("height",X._totalContentHeight))},styles:["cdk-virtual-scroll-viewport{display:block;position:relative;transform:translateZ(0)}.cdk-virtual-scrollable{overflow:auto;will-change:scroll-position;contain:strict;-webkit-overflow-scrolling:touch}.cdk-virtual-scroll-content-wrapper{position:absolute;top:0;left:0;contain:content}[dir=rtl] .cdk-virtual-scroll-content-wrapper{right:0;left:auto}.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper{min-height:100%}.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>dl:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>ol:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>table:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>ul:not([cdkVirtualFor]){padding-left:0;padding-right:0;margin-left:0;margin-right:0;border-left-width:0;border-right-width:0;outline:none}.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper{min-width:100%}.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>dl:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>ol:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>table:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>ul:not([cdkVirtualFor]){padding-top:0;padding-bottom:0;margin-top:0;margin-bottom:0;border-top-width:0;border-bottom-width:0;outline:none}.cdk-virtual-scroll-spacer{height:1px;transform-origin:0 0;flex:0 0 auto}[dir=rtl] .cdk-virtual-scroll-spacer{transform-origin:100% 0}"],encapsulation:2,changeDetection:0}),Qe})();function lt(Qe,Ve,V){if(!V.getBoundingClientRect)return 0;const w=V.getBoundingClientRect();return"horizontal"===Qe?"start"===Ve?w.left:w.right:"start"===Ve?w.top:w.bottom}let St=(()=>{class Qe{constructor(V,X,w,R,ae,Te){this._viewContainerRef=V,this._template=X,this._differs=w,this._viewRepeater=R,this._viewport=ae,this.viewChange=new T.x,this._dataSourceChanges=new T.x,this.dataStream=this._dataSourceChanges.pipe((0,Pe.O)(null),function Q(){return(0,Ae.e)((Qe,Ve)=>{let V,X=!1;Qe.subscribe((0,ye.x)(Ve,w=>{const R=V;V=w,X&&Ve.next([R,w]),X=!0}))})}(),(0,ve.w)(([K,L])=>this._changeDataSource(K,L)),function ze(Qe,Ve,V){let X,w=!1;return Qe&&"object"==typeof Qe?({bufferSize:X=1/0,windowTime:Ve=1/0,refCount:w=!1,scheduler:V}=Qe):X=Qe??1/0,(0,Oe.B)({connector:()=>new de.t(X,Ve,V),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:w})}(1)),this._differ=null,this._needsUpdate=!1,this._destroyed=new T.x,this.dataStream.subscribe(K=>{this._data=K,this._onRenderedDataChange()}),this._viewport.renderedRangeStream.pipe((0,it.R)(this._destroyed)).subscribe(K=>{this._renderedRange=K,this.viewChange.observers.length&&Te.run(()=>this.viewChange.next(this._renderedRange)),this._onRenderedDataChange()}),this._viewport.attach(this)}get cdkVirtualForOf(){return this._cdkVirtualForOf}set cdkVirtualForOf(V){this._cdkVirtualForOf=V,(0,Ue.Z9)(V)?this._dataSourceChanges.next(V):this._dataSourceChanges.next(new Ue.P3((0,H.b)(V)?V:Array.from(V||[])))}get cdkVirtualForTrackBy(){return this._cdkVirtualForTrackBy}set cdkVirtualForTrackBy(V){this._needsUpdate=!0,this._cdkVirtualForTrackBy=V?(X,w)=>V(X+(this._renderedRange?this._renderedRange.start:0),w):void 0}set cdkVirtualForTemplate(V){V&&(this._needsUpdate=!0,this._template=V)}get cdkVirtualForTemplateCacheSize(){return this._viewRepeater.viewCacheSize}set cdkVirtualForTemplateCacheSize(V){this._viewRepeater.viewCacheSize=(0,f.su)(V)}measureRangeSize(V,X){if(V.start>=V.end)return 0;const w=V.start-this._renderedRange.start,R=V.end-V.start;let ae,Te;for(let K=0;K<R;K++){const L=this._viewContainerRef.get(K+w);if(L&&L.rootNodes.length){ae=Te=L.rootNodes[0];break}}for(let K=R-1;K>-1;K--){const L=this._viewContainerRef.get(K+w);if(L&&L.rootNodes.length){Te=L.rootNodes[L.rootNodes.length-1];break}}return ae&&Te?lt(X,"end",Te)-lt(X,"start",ae):0}ngDoCheck(){if(this._differ&&this._needsUpdate){const V=this._differ.diff(this._renderedItems);V?this._applyChanges(V):this._updateContext(),this._needsUpdate=!1}}ngOnDestroy(){this._viewport.detach(),this._dataSourceChanges.next(void 0),this._dataSourceChanges.complete(),this.viewChange.complete(),this._destroyed.next(),this._destroyed.complete(),this._viewRepeater.detach()}_onRenderedDataChange(){!this._renderedRange||(this._renderedItems=this._data.slice(this._renderedRange.start,this._renderedRange.end),this._differ||(this._differ=this._differs.find(this._renderedItems).create((V,X)=>this.cdkVirtualForTrackBy?this.cdkVirtualForTrackBy(V,X):X)),this._needsUpdate=!0)}_changeDataSource(V,X){return V&&V.disconnect(this),this._needsUpdate=!0,X?X.connect(this):(0,P.of)()}_updateContext(){const V=this._data.length;let X=this._viewContainerRef.length;for(;X--;){const w=this._viewContainerRef.get(X);w.context.index=this._renderedRange.start+X,w.context.count=V,this._updateComputedContextProperties(w.context),w.detectChanges()}}_applyChanges(V){this._viewRepeater.applyChanges(V,this._viewContainerRef,(R,ae,Te)=>this._getEmbeddedViewArgs(R,Te),R=>R.item),V.forEachIdentityChange(R=>{this._viewContainerRef.get(R.currentIndex).context.$implicit=R.item});const X=this._data.length;let w=this._viewContainerRef.length;for(;w--;){const R=this._viewContainerRef.get(w);R.context.index=this._renderedRange.start+w,R.context.count=X,this._updateComputedContextProperties(R.context)}}_updateComputedContextProperties(V){V.first=0===V.index,V.last=V.index===V.count-1,V.even=V.index%2==0,V.odd=!V.even}_getEmbeddedViewArgs(V,X){return{templateRef:this._template,context:{$implicit:V.item,cdkVirtualForOf:this._cdkVirtualForOf,index:-1,count:-1,first:!1,last:!1,odd:!1,even:!1},index:X}}}return Qe.\u0275fac=function(V){return new(V||Qe)(v.Y36(v.s_b),v.Y36(v.Rgc),v.Y36(v.ZZ4),v.Y36(Ue.k),v.Y36(At,4),v.Y36(v.R0b))},Qe.\u0275dir=v.lG2({type:Qe,selectors:[["","cdkVirtualFor","","cdkVirtualForOf",""]],inputs:{cdkVirtualForOf:"cdkVirtualForOf",cdkVirtualForTrackBy:"cdkVirtualForTrackBy",cdkVirtualForTemplate:"cdkVirtualForTemplate",cdkVirtualForTemplateCacheSize:"cdkVirtualForTemplateCacheSize"},features:[v._Bn([{provide:Ue.k,useClass:Ue.eX}])]}),Qe})(),xt=(()=>{class Qe{}return Qe.\u0275fac=function(V){return new(V||Qe)},Qe.\u0275mod=v.oAB({type:Qe}),Qe.\u0275inj=v.cJS({}),Qe})(),kt=(()=>{class Qe{}return Qe.\u0275fac=function(V){return new(V||Qe)},Qe.\u0275mod=v.oAB({type:Qe}),Qe.\u0275inj=v.cJS({imports:[De.vT,xt,De.vT,xt]}),Qe})()},88692:(et,me,m)=>{m.d(me,{Do:()=>it,ED:()=>Ir,EM:()=>Yn,HT:()=>x,JF:()=>ii,JJ:()=>vi,K0:()=>te,Mx:()=>Jr,NF:()=>Di,O5:()=>ln,Ov:()=>Vr,PC:()=>os,PM:()=>ri,RF:()=>Ur,S$:()=>ie,V_:()=>H,Ye:()=>Pe,b0:()=>rt,bD:()=>zr,ez:()=>ds,mk:()=>qt,n9:()=>nr,q:()=>T,sg:()=>rr,tP:()=>as,w_:()=>N});var f=m(64537);let v=null;function T(){return v}function x(p){v||(v=p)}class N{}const te=new f.OlP("DocumentToken");let G=(()=>{class p{historyGo(_){throw new Error("Not implemented")}}return p.\u0275fac=function(_){return new(_||p)},p.\u0275prov=f.Yz7({token:p,factory:function(){return function Y(){return(0,f.LFG)(z)}()},providedIn:"platform"}),p})();const H=new f.OlP("Location Initialized");let z=(()=>{class p extends G{constructor(_){super(),this._doc=_,this._init()}_init(){this.location=window.location,this._history=window.history}getBaseHrefFromDOM(){return T().getBaseHref(this._doc)}onPopState(_){const A=T().getGlobalEventTarget(this._doc,"window");return A.addEventListener("popstate",_,!1),()=>A.removeEventListener("popstate",_)}onHashChange(_){const A=T().getGlobalEventTarget(this._doc,"window");return A.addEventListener("hashchange",_,!1),()=>A.removeEventListener("hashchange",_)}get href(){return this.location.href}get protocol(){return this.location.protocol}get hostname(){return this.location.hostname}get port(){return this.location.port}get pathname(){return this.location.pathname}get search(){return this.location.search}get hash(){return this.location.hash}set pathname(_){this.location.pathname=_}pushState(_,A,se){U()?this._history.pushState(_,A,se):this.location.hash=se}replaceState(_,A,se){U()?this._history.replaceState(_,A,se):this.location.hash=se}forward(){this._history.forward()}back(){this._history.back()}historyGo(_=0){this._history.go(_)}getState(){return this._history.state}}return p.\u0275fac=function(_){return new(_||p)(f.LFG(te))},p.\u0275prov=f.Yz7({token:p,factory:function(){return function Ae(){return new z((0,f.LFG)(te))}()},providedIn:"platform"}),p})();function U(){return!!window.history.pushState}function Me(p,b){if(0==p.length)return b;if(0==b.length)return p;let _=0;return p.endsWith("/")&&_++,b.startsWith("/")&&_++,2==_?p+b.substring(1):1==_?p+b:p+"/"+b}function ye(p){const b=p.match(/#|\?|$/),_=b&&b.index||p.length;return p.slice(0,_-("/"===p[_-1]?1:0))+p.slice(_)}function he(p){return p&&"?"!==p[0]?"?"+p:p}let ie=(()=>{class p{historyGo(_){throw new Error("Not implemented")}}return p.\u0275fac=function(_){return new(_||p)},p.\u0275prov=f.Yz7({token:p,factory:function(){return(0,f.f3M)(rt)},providedIn:"root"}),p})();const Ie=new f.OlP("appBaseHref");let rt=(()=>{class p extends ie{constructor(_,A){super(),this._platformLocation=_,this._removeListenerFns=[],this._baseHref=A??this._platformLocation.getBaseHrefFromDOM()??(0,f.f3M)(te).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(_){this._removeListenerFns.push(this._platformLocation.onPopState(_),this._platformLocation.onHashChange(_))}getBaseHref(){return this._baseHref}prepareExternalUrl(_){return Me(this._baseHref,_)}path(_=!1){const A=this._platformLocation.pathname+he(this._platformLocation.search),se=this._platformLocation.hash;return se&&_?`${A}${se}`:A}pushState(_,A,se,Be){const Ge=this.prepareExternalUrl(se+he(Be));this._platformLocation.pushState(_,A,Ge)}replaceState(_,A,se,Be){const Ge=this.prepareExternalUrl(se+he(Be));this._platformLocation.replaceState(_,A,Ge)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(_=0){this._platformLocation.historyGo?.(_)}}return p.\u0275fac=function(_){return new(_||p)(f.LFG(G),f.LFG(Ie,8))},p.\u0275prov=f.Yz7({token:p,factory:p.\u0275fac,providedIn:"root"}),p})(),it=(()=>{class p extends ie{constructor(_,A){super(),this._platformLocation=_,this._baseHref="",this._removeListenerFns=[],null!=A&&(this._baseHref=A)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(_){this._removeListenerFns.push(this._platformLocation.onPopState(_),this._platformLocation.onHashChange(_))}getBaseHref(){return this._baseHref}path(_=!1){let A=this._platformLocation.hash;return null==A&&(A="#"),A.length>0?A.substring(1):A}prepareExternalUrl(_){const A=Me(this._baseHref,_);return A.length>0?"#"+A:A}pushState(_,A,se,Be){let Ge=this.prepareExternalUrl(se+he(Be));0==Ge.length&&(Ge=this._platformLocation.pathname),this._platformLocation.pushState(_,A,Ge)}replaceState(_,A,se,Be){let Ge=this.prepareExternalUrl(se+he(Be));0==Ge.length&&(Ge=this._platformLocation.pathname),this._platformLocation.replaceState(_,A,Ge)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(_=0){this._platformLocation.historyGo?.(_)}}return p.\u0275fac=function(_){return new(_||p)(f.LFG(G),f.LFG(Ie,8))},p.\u0275prov=f.Yz7({token:p,factory:p.\u0275fac}),p})(),Pe=(()=>{class p{constructor(_){this._subject=new f.vpe,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=_;const A=this._locationStrategy.getBaseHref();this._baseHref=ye(de(A)),this._locationStrategy.onPopState(se=>{this._subject.emit({url:this.path(!0),pop:!0,state:se.state,type:se.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(_=!1){return this.normalize(this._locationStrategy.path(_))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(_,A=""){return this.path()==this.normalize(_+he(A))}normalize(_){return p.stripTrailingSlash(function ve(p,b){return p&&b.startsWith(p)?b.substring(p.length):b}(this._baseHref,de(_)))}prepareExternalUrl(_){return _&&"/"!==_[0]&&(_="/"+_),this._locationStrategy.prepareExternalUrl(_)}go(_,A="",se=null){this._locationStrategy.pushState(se,"",_,A),this._notifyUrlChangeListeners(this.prepareExternalUrl(_+he(A)),se)}replaceState(_,A="",se=null){this._locationStrategy.replaceState(se,"",_,A),this._notifyUrlChangeListeners(this.prepareExternalUrl(_+he(A)),se)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(_=0){this._locationStrategy.historyGo?.(_)}onUrlChange(_){return this._urlChangeListeners.push(_),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(A=>{this._notifyUrlChangeListeners(A.url,A.state)})),()=>{const A=this._urlChangeListeners.indexOf(_);this._urlChangeListeners.splice(A,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(_="",A){this._urlChangeListeners.forEach(se=>se(_,A))}subscribe(_,A,se){return this._subject.subscribe({next:_,error:A,complete:se})}}return p.normalizeQueryParams=he,p.joinWithSlash=Me,p.stripTrailingSlash=ye,p.\u0275fac=function(_){return new(_||p)(f.LFG(ie))},p.\u0275prov=f.Yz7({token:p,factory:function(){return function Q(){return new Pe((0,f.LFG)(ie))}()},providedIn:"root"}),p})();function de(p){return p.replace(/\/index.html$/,"")}var ze=(()=>((ze=ze||{})[ze.Decimal=0]="Decimal",ze[ze.Percent=1]="Percent",ze[ze.Currency=2]="Currency",ze[ze.Scientific=3]="Scientific",ze))(),$e=(()=>(($e=$e||{})[$e.Decimal=0]="Decimal",$e[$e.Group=1]="Group",$e[$e.List=2]="List",$e[$e.PercentSign=3]="PercentSign",$e[$e.PlusSign=4]="PlusSign",$e[$e.MinusSign=5]="MinusSign",$e[$e.Exponential=6]="Exponential",$e[$e.SuperscriptingExponent=7]="SuperscriptingExponent",$e[$e.PerMille=8]="PerMille",$e[$e.Infinity=9]="Infinity",$e[$e.NaN=10]="NaN",$e[$e.TimeSeparator=11]="TimeSeparator",$e[$e.CurrencyDecimal=12]="CurrencyDecimal",$e[$e.CurrencyGroup=13]="CurrencyGroup",$e))();function Ee(p,b){const _=(0,f.cg1)(p),A=_[f.wAp.NumberSymbols][b];if(typeof A>"u"){if(b===$e.CurrencyDecimal)return _[f.wAp.NumberSymbols][$e.Decimal];if(b===$e.CurrencyGroup)return _[f.wAp.NumberSymbols][$e.Group]}return A}const wn=/^(\d+)?\.((\d+)(-(\d+))?)?$/;function yn(p){const b=parseInt(p);if(isNaN(b))throw new Error("Invalid integer literal when parsing "+p);return b}function Jr(p,b){b=encodeURIComponent(b);for(const _ of p.split(";")){const A=_.indexOf("="),[se,Be]=-1==A?[_,""]:[_.slice(0,A),_.slice(A+1)];if(se.trim()===b)return decodeURIComponent(Be)}return null}let qt=(()=>{class p{constructor(_,A,se,Be){this._iterableDiffers=_,this._keyValueDiffers=A,this._ngEl=se,this._renderer=Be,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}set klass(_){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof _?_.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}set ngClass(_){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof _?_.split(/\s+/):_,this._rawClass&&((0,f.sIi)(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}ngDoCheck(){if(this._iterableDiffer){const _=this._iterableDiffer.diff(this._rawClass);_&&this._applyIterableChanges(_)}else if(this._keyValueDiffer){const _=this._keyValueDiffer.diff(this._rawClass);_&&this._applyKeyValueChanges(_)}}_applyKeyValueChanges(_){_.forEachAddedItem(A=>this._toggleClass(A.key,A.currentValue)),_.forEachChangedItem(A=>this._toggleClass(A.key,A.currentValue)),_.forEachRemovedItem(A=>{A.previousValue&&this._toggleClass(A.key,!1)})}_applyIterableChanges(_){_.forEachAddedItem(A=>{if("string"!=typeof A.item)throw new Error(`NgClass can only toggle CSS classes expressed as strings, got ${(0,f.AaK)(A.item)}`);this._toggleClass(A.item,!0)}),_.forEachRemovedItem(A=>this._toggleClass(A.item,!1))}_applyClasses(_){_&&(Array.isArray(_)||_ instanceof Set?_.forEach(A=>this._toggleClass(A,!0)):Object.keys(_).forEach(A=>this._toggleClass(A,!!_[A])))}_removeClasses(_){_&&(Array.isArray(_)||_ instanceof Set?_.forEach(A=>this._toggleClass(A,!1)):Object.keys(_).forEach(A=>this._toggleClass(A,!1)))}_toggleClass(_,A){(_=_.trim())&&_.split(/\s+/g).forEach(se=>{A?this._renderer.addClass(this._ngEl.nativeElement,se):this._renderer.removeClass(this._ngEl.nativeElement,se)})}}return p.\u0275fac=function(_){return new(_||p)(f.Y36(f.ZZ4),f.Y36(f.aQg),f.Y36(f.SBq),f.Y36(f.Qsj))},p.\u0275dir=f.lG2({type:p,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"},standalone:!0}),p})();class ei{constructor(b,_,A,se){this.$implicit=b,this.ngForOf=_,this.index=A,this.count=se}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let rr=(()=>{class p{constructor(_,A,se){this._viewContainer=_,this._template=A,this._differs=se,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForOf(_){this._ngForOf=_,this._ngForOfDirty=!0}set ngForTrackBy(_){this._trackByFn=_}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(_){_&&(this._template=_)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const _=this._ngForOf;!this._differ&&_&&(this._differ=this._differs.find(_).create(this.ngForTrackBy))}if(this._differ){const _=this._differ.diff(this._ngForOf);_&&this._applyChanges(_)}}_applyChanges(_){const A=this._viewContainer;_.forEachOperation((se,Be,Ge)=>{if(null==se.previousIndex)A.createEmbeddedView(this._template,new ei(se.item,this._ngForOf,-1,-1),null===Ge?void 0:Ge);else if(null==Ge)A.remove(null===Be?void 0:Be);else if(null!==Be){const gt=A.get(Be);A.move(gt,Ge),xn(gt,se)}});for(let se=0,Be=A.length;se<Be;se++){const gt=A.get(se).context;gt.index=se,gt.count=Be,gt.ngForOf=this._ngForOf}_.forEachIdentityChange(se=>{xn(A.get(se.currentIndex),se)})}static ngTemplateContextGuard(_,A){return!0}}return p.\u0275fac=function(_){return new(_||p)(f.Y36(f.s_b),f.Y36(f.Rgc),f.Y36(f.ZZ4))},p.\u0275dir=f.lG2({type:p,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0}),p})();function xn(p,b){p.context.$implicit=b.item}let ln=(()=>{class p{constructor(_,A){this._viewContainer=_,this._context=new Ar,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=A}set ngIf(_){this._context.$implicit=this._context.ngIf=_,this._updateView()}set ngIfThen(_){An("ngIfThen",_),this._thenTemplateRef=_,this._thenViewRef=null,this._updateView()}set ngIfElse(_){An("ngIfElse",_),this._elseTemplateRef=_,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(_,A){return!0}}return p.\u0275fac=function(_){return new(_||p)(f.Y36(f.s_b),f.Y36(f.Rgc))},p.\u0275dir=f.lG2({type:p,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0}),p})();class Ar{constructor(){this.$implicit=null,this.ngIf=null}}function An(p,b){if(b&&!b.createEmbeddedView)throw new Error(`${p} must be a TemplateRef, but received '${(0,f.AaK)(b)}'.`)}class Gn{constructor(b,_){this._viewContainerRef=b,this._templateRef=_,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(b){b&&!this._created?this.create():!b&&this._created&&this.destroy()}}let Ur=(()=>{class p{constructor(){this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(_){this._ngSwitch=_,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(_){this._defaultViews||(this._defaultViews=[]),this._defaultViews.push(_)}_matchCase(_){const A=_==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||A,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),A}_updateDefaultCases(_){if(this._defaultViews&&_!==this._defaultUsed){this._defaultUsed=_;for(let A=0;A<this._defaultViews.length;A++)this._defaultViews[A].enforceState(_)}}}return p.\u0275fac=function(_){return new(_||p)},p.\u0275dir=f.lG2({type:p,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"},standalone:!0}),p})(),nr=(()=>{class p{constructor(_,A,se){this.ngSwitch=se,se._addCase(),this._view=new Gn(_,A)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}return p.\u0275fac=function(_){return new(_||p)(f.Y36(f.s_b),f.Y36(f.Rgc),f.Y36(Ur,9))},p.\u0275dir=f.lG2({type:p,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"},standalone:!0}),p})(),Ir=(()=>{class p{constructor(_,A,se){se._addDefault(new Gn(_,A))}}return p.\u0275fac=function(_){return new(_||p)(f.Y36(f.s_b),f.Y36(f.Rgc),f.Y36(Ur,9))},p.\u0275dir=f.lG2({type:p,selectors:[["","ngSwitchDefault",""]],standalone:!0}),p})(),os=(()=>{class p{constructor(_,A,se){this._ngEl=_,this._differs=A,this._renderer=se,this._ngStyle=null,this._differ=null}set ngStyle(_){this._ngStyle=_,!this._differ&&_&&(this._differ=this._differs.find(_).create())}ngDoCheck(){if(this._differ){const _=this._differ.diff(this._ngStyle);_&&this._applyChanges(_)}}_setStyle(_,A){const[se,Be]=_.split("."),Ge=-1===se.indexOf("-")?void 0:f.JOm.DashCase;null!=A?this._renderer.setStyle(this._ngEl.nativeElement,se,Be?`${A}${Be}`:A,Ge):this._renderer.removeStyle(this._ngEl.nativeElement,se,Ge)}_applyChanges(_){_.forEachRemovedItem(A=>this._setStyle(A.key,null)),_.forEachAddedItem(A=>this._setStyle(A.key,A.currentValue)),_.forEachChangedItem(A=>this._setStyle(A.key,A.currentValue))}}return p.\u0275fac=function(_){return new(_||p)(f.Y36(f.SBq),f.Y36(f.aQg),f.Y36(f.Qsj))},p.\u0275dir=f.lG2({type:p,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0}),p})(),as=(()=>{class p{constructor(_){this._viewContainerRef=_,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(_){if(_.ngTemplateOutlet||_.ngTemplateOutletInjector){const A=this._viewContainerRef;if(this._viewRef&&A.remove(A.indexOf(this._viewRef)),this.ngTemplateOutlet){const{ngTemplateOutlet:se,ngTemplateOutletContext:Be,ngTemplateOutletInjector:Ge}=this;this._viewRef=A.createEmbeddedView(se,Be,Ge?{injector:Ge}:void 0)}else this._viewRef=null}else this._viewRef&&_.ngTemplateOutletContext&&this.ngTemplateOutletContext&&(this._viewRef.context=this.ngTemplateOutletContext)}}return p.\u0275fac=function(_){return new(_||p)(f.Y36(f.s_b))},p.\u0275dir=f.lG2({type:p,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[f.TTD]}),p})();function ir(p,b){return new f.vHH(2100,!1)}class Li{createSubscription(b,_){return b.subscribe({next:_,error:A=>{throw A}})}dispose(b){b.unsubscribe()}}class Gs{createSubscription(b,_){return b.then(_,A=>{throw A})}dispose(b){}}const _i=new Gs,yi=new Li;let Vr=(()=>{class p{constructor(_){this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null,this._ref=_}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(_){return this._obj?_!==this._obj?(this._dispose(),this.transform(_)):this._latestValue:(_&&this._subscribe(_),this._latestValue)}_subscribe(_){this._obj=_,this._strategy=this._selectStrategy(_),this._subscription=this._strategy.createSubscription(_,A=>this._updateLatestValue(_,A))}_selectStrategy(_){if((0,f.QGY)(_))return _i;if((0,f.F4k)(_))return yi;throw ir()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(_,A){_===this._obj&&(this._latestValue=A,this._ref.markForCheck())}}return p.\u0275fac=function(_){return new(_||p)(f.Y36(f.sBO,16))},p.\u0275pipe=f.Yjl({name:"async",type:p,pure:!1,standalone:!0}),p})(),vi=(()=>{class p{constructor(_){this._locale=_}transform(_,A,se){if(!function Bi(p){return!(null==p||""===p||p!=p)}(_))return null;se=se||this._locale;try{return function wt(p,b,_){return function Wt(p,b,_,A,se,Be,Ge=!1){let gt="",Yt=!1;if(isFinite(p)){let Jt=function Xr(p){let A,se,Be,Ge,gt,b=Math.abs(p)+"",_=0;for((se=b.indexOf("."))>-1&&(b=b.replace(".","")),(Be=b.search(/e/i))>0?(se<0&&(se=Be),se+=+b.slice(Be+1),b=b.substring(0,Be)):se<0&&(se=b.length),Be=0;"0"===b.charAt(Be);Be++);if(Be===(gt=b.length))A=[0],se=1;else{for(gt--;"0"===b.charAt(gt);)gt--;for(se-=Be,A=[],Ge=0;Be<=gt;Be++,Ge++)A[Ge]=Number(b.charAt(Be))}return se>22&&(A=A.splice(0,21),_=se-1,se=1),{digits:A,exponent:_,integerLen:se}}(p);Ge&&(Jt=function yr(p){if(0===p.digits[0])return p;const b=p.digits.length-p.integerLen;return p.exponent?p.exponent+=2:(0===b?p.digits.push(0,0):1===b&&p.digits.push(0),p.integerLen+=2),p}(Jt));let rn=b.minInt,tt=b.minFrac,ft=b.maxFrac;if(Be){const fn=Be.match(wn);if(null===fn)throw new Error(`${Be} is not a valid digit info`);const un=fn[1],wr=fn[3],Ai=fn[5];null!=un&&(rn=yn(un)),null!=wr&&(tt=yn(wr)),null!=Ai?ft=yn(Ai):null!=wr&&tt>ft&&(ft=tt)}!function hr(p,b,_){if(b>_)throw new Error(`The minimum number of digits after fraction (${b}) is higher than the maximum (${_}).`);let A=p.digits,se=A.length-p.integerLen;const Be=Math.min(Math.max(b,se),_);let Ge=Be+p.integerLen,gt=A[Ge];if(Ge>0){A.splice(Math.max(p.integerLen,Ge));for(let tt=Ge;tt<A.length;tt++)A[tt]=0}else{se=Math.max(0,se),p.integerLen=1,A.length=Math.max(1,Ge=Be+1),A[0]=0;for(let tt=1;tt<Ge;tt++)A[tt]=0}if(gt>=5)if(Ge-1<0){for(let tt=0;tt>Ge;tt--)A.unshift(0),p.integerLen++;A.unshift(1),p.integerLen++}else A[Ge-1]++;for(;se<Math.max(0,Be);se++)A.push(0);let Yt=0!==Be;const Jt=b+p.integerLen,rn=A.reduceRight(function(tt,ft,ut,Ft){return Ft[ut]=(ft+=tt)<10?ft:ft-10,Yt&&(0===Ft[ut]&&ut>=Jt?Ft.pop():Yt=!1),ft>=10?1:0},0);rn&&(A.unshift(rn),p.integerLen++)}(Jt,tt,ft);let ut=Jt.digits,Ft=Jt.integerLen;const gn=Jt.exponent;let vn=[];for(Yt=ut.every(fn=>!fn);Ft<rn;Ft++)ut.unshift(0);for(;Ft<0;Ft++)ut.unshift(0);Ft>0?vn=ut.splice(Ft,ut.length):(vn=ut,ut=[0]);const Sn=[];for(ut.length>=b.lgSize&&Sn.unshift(ut.splice(-b.lgSize,ut.length).join(""));ut.length>b.gSize;)Sn.unshift(ut.splice(-b.gSize,ut.length).join(""));ut.length&&Sn.unshift(ut.join("")),gt=Sn.join(Ee(_,A)),vn.length&&(gt+=Ee(_,se)+vn.join("")),gn&&(gt+=Ee(_,$e.Exponential)+"+"+gn)}else gt=Ee(_,$e.Infinity);return gt=p<0&&!Yt?b.negPre+gt+b.negSuf:b.posPre+gt+b.posSuf,gt}(p,function Fn(p,b="-"){const _={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},A=p.split(";"),se=A[0],Be=A[1],Ge=-1!==se.indexOf(".")?se.split("."):[se.substring(0,se.lastIndexOf("0")+1),se.substring(se.lastIndexOf("0")+1)],gt=Ge[0],Yt=Ge[1]||"";_.posPre=gt.substring(0,gt.indexOf("#"));for(let rn=0;rn<Yt.length;rn++){const tt=Yt.charAt(rn);"0"===tt?_.minFrac=_.maxFrac=rn+1:"#"===tt?_.maxFrac=rn+1:_.posSuf+=tt}const Jt=gt.split(",");if(_.gSize=Jt[1]?Jt[1].length:0,_.lgSize=Jt[2]||Jt[1]?(Jt[2]||Jt[1]).length:0,Be){const rn=se.length-_.posPre.length-_.posSuf.length,tt=Be.indexOf("#");_.negPre=Be.substring(0,tt).replace(/'/g,""),_.negSuf=Be.slice(tt+rn).replace(/'/g,"")}else _.negPre=b+_.posPre,_.negSuf=_.posSuf;return _}(function Ze(p,b){return(0,f.cg1)(p)[f.wAp.NumberFormats][b]}(b,ze.Decimal),Ee(b,$e.MinusSign)),b,$e.Group,$e.Decimal,_)}(function Ui(p){if("string"==typeof p&&!isNaN(Number(p)-parseFloat(p)))return Number(p);if("number"!=typeof p)throw new Error(`${p} is not a number`);return p}(_),se,A)}catch(Be){throw ir()}}}return p.\u0275fac=function(_){return new(_||p)(f.Y36(f.soG,16))},p.\u0275pipe=f.Yjl({name:"number",type:p,pure:!0,standalone:!0}),p})();let ds=(()=>{class p{}return p.\u0275fac=function(_){return new(_||p)},p.\u0275mod=f.oAB({type:p}),p.\u0275inj=f.cJS({}),p})();const zr="browser";function Di(p){return p===zr}function ri(p){return"server"===p}let Yn=(()=>{class p{}return p.\u0275prov=(0,f.Yz7)({token:p,providedIn:"root",factory:()=>new As((0,f.LFG)(te),window)}),p})();class As{constructor(b,_){this.document=b,this.window=_,this.offset=()=>[0,0]}setOffset(b){this.offset=Array.isArray(b)?()=>b:b}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(b){this.supportsScrolling()&&this.window.scrollTo(b[0],b[1])}scrollToAnchor(b){if(!this.supportsScrolling())return;const _=function Hn(p,b){const _=p.getElementById(b)||p.getElementsByName(b)[0];if(_)return _;if("function"==typeof p.createTreeWalker&&p.body&&(p.body.createShadowRoot||p.body.attachShadow)){const A=p.createTreeWalker(p.body,NodeFilter.SHOW_ELEMENT);let se=A.currentNode;for(;se;){const Be=se.shadowRoot;if(Be){const Ge=Be.getElementById(b)||Be.querySelector(`[name="${b}"]`);if(Ge)return Ge}se=A.nextNode()}}return null}(this.document,b);_&&(this.scrollToElement(_),_.focus())}setHistoryScrollRestoration(b){if(this.supportScrollRestoration()){const _=this.window.history;_&&_.scrollRestoration&&(_.scrollRestoration=b)}}scrollToElement(b){const _=b.getBoundingClientRect(),A=_.left+this.window.pageXOffset,se=_.top+this.window.pageYOffset,Be=this.offset();this.window.scrollTo(A-Be[0],se-Be[1])}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const b=Dr(this.window.history)||Dr(Object.getPrototypeOf(this.window.history));return!(!b||!b.writable&&!b.set)}catch{return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch{return!1}}}function Dr(p){return Object.getOwnPropertyDescriptor(p,"scrollRestoration")}class ii{}},35732:(et,me,m)=>{m.d(me,{JF:()=>R,LE:()=>Ie,TP:()=>sn,UA:()=>$e,Xk:()=>rt,dt:()=>Re,eN:()=>zt,qT:()=>it});var f=m(88692),v=m(64537),T=m(84945),P=m(87241),x=m(44551),N=m(74970),te=m(27969);class G{}class Y{}class H{constructor(L){this.normalizedNames=new Map,this.lazyUpdate=null,L?this.lazyInit="string"==typeof L?()=>{this.headers=new Map,L.split("\n").forEach(k=>{const be=k.indexOf(":");if(be>0){const xe=k.slice(0,be),je=xe.toLowerCase(),ct=k.slice(be+1).trim();this.maybeSetNormalizedName(xe,je),this.headers.has(je)?this.headers.get(je).push(ct):this.headers.set(je,[ct])}})}:()=>{this.headers=new Map,Object.keys(L).forEach(k=>{let be=L[k];const xe=k.toLowerCase();"string"==typeof be&&(be=[be]),be.length>0&&(this.headers.set(xe,be),this.maybeSetNormalizedName(k,xe))})}:this.headers=new Map}has(L){return this.init(),this.headers.has(L.toLowerCase())}get(L){this.init();const k=this.headers.get(L.toLowerCase());return k&&k.length>0?k[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(L){return this.init(),this.headers.get(L.toLowerCase())||null}append(L,k){return this.clone({name:L,value:k,op:"a"})}set(L,k){return this.clone({name:L,value:k,op:"s"})}delete(L,k){return this.clone({name:L,value:k,op:"d"})}maybeSetNormalizedName(L,k){this.normalizedNames.has(k)||this.normalizedNames.set(k,L)}init(){this.lazyInit&&(this.lazyInit instanceof H?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(L=>this.applyUpdate(L)),this.lazyUpdate=null))}copyFrom(L){L.init(),Array.from(L.headers.keys()).forEach(k=>{this.headers.set(k,L.headers.get(k)),this.normalizedNames.set(k,L.normalizedNames.get(k))})}clone(L){const k=new H;return k.lazyInit=this.lazyInit&&this.lazyInit instanceof H?this.lazyInit:this,k.lazyUpdate=(this.lazyUpdate||[]).concat([L]),k}applyUpdate(L){const k=L.name.toLowerCase();switch(L.op){case"a":case"s":let be=L.value;if("string"==typeof be&&(be=[be]),0===be.length)return;this.maybeSetNormalizedName(L.name,k);const xe=("a"===L.op?this.headers.get(k):void 0)||[];xe.push(...be),this.headers.set(k,xe);break;case"d":const je=L.value;if(je){let ct=this.headers.get(k);if(!ct)return;ct=ct.filter(Lt=>-1===je.indexOf(Lt)),0===ct.length?(this.headers.delete(k),this.normalizedNames.delete(k)):this.headers.set(k,ct)}else this.headers.delete(k),this.normalizedNames.delete(k)}}forEach(L){this.init(),Array.from(this.normalizedNames.keys()).forEach(k=>L(this.normalizedNames.get(k),this.headers.get(k)))}}class U{encodeKey(L){return he(L)}encodeValue(L){return he(L)}decodeKey(L){return decodeURIComponent(L)}decodeValue(L){return decodeURIComponent(L)}}const Me=/%(\d[a-f0-9])/gi,ye={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function he(K){return encodeURIComponent(K).replace(Me,(L,k)=>ye[k]??L)}function ie(K){return`${K}`}class Ie{constructor(L={}){if(this.updates=null,this.cloneFrom=null,this.encoder=L.encoder||new U,L.fromString){if(L.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function Ae(K,L){const k=new Map;return K.length>0&&K.replace(/^\?/,"").split("&").forEach(xe=>{const je=xe.indexOf("="),[ct,Lt]=-1==je?[L.decodeKey(xe),""]:[L.decodeKey(xe.slice(0,je)),L.decodeValue(xe.slice(je+1))],Je=k.get(ct)||[];Je.push(Lt),k.set(ct,Je)}),k}(L.fromString,this.encoder)}else L.fromObject?(this.map=new Map,Object.keys(L.fromObject).forEach(k=>{const be=L.fromObject[k],xe=Array.isArray(be)?be.map(ie):[ie(be)];this.map.set(k,xe)})):this.map=null}has(L){return this.init(),this.map.has(L)}get(L){this.init();const k=this.map.get(L);return k?k[0]:null}getAll(L){return this.init(),this.map.get(L)||null}keys(){return this.init(),Array.from(this.map.keys())}append(L,k){return this.clone({param:L,value:k,op:"a"})}appendAll(L){const k=[];return Object.keys(L).forEach(be=>{const xe=L[be];Array.isArray(xe)?xe.forEach(je=>{k.push({param:be,value:je,op:"a"})}):k.push({param:be,value:xe,op:"a"})}),this.clone(k)}set(L,k){return this.clone({param:L,value:k,op:"s"})}delete(L,k){return this.clone({param:L,value:k,op:"d"})}toString(){return this.init(),this.keys().map(L=>{const k=this.encoder.encodeKey(L);return this.map.get(L).map(be=>k+"="+this.encoder.encodeValue(be)).join("&")}).filter(L=>""!==L).join("&")}clone(L){const k=new Ie({encoder:this.encoder});return k.cloneFrom=this.cloneFrom||this,k.updates=(this.updates||[]).concat(L),k}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(L=>this.map.set(L,this.cloneFrom.map.get(L))),this.updates.forEach(L=>{switch(L.op){case"a":case"s":const k=("a"===L.op?this.map.get(L.param):void 0)||[];k.push(ie(L.value)),this.map.set(L.param,k);break;case"d":if(void 0===L.value){this.map.delete(L.param);break}{let be=this.map.get(L.param)||[];const xe=be.indexOf(ie(L.value));-1!==xe&&be.splice(xe,1),be.length>0?this.map.set(L.param,be):this.map.delete(L.param)}}}),this.cloneFrom=this.updates=null)}}class rt{constructor(L){this.defaultValue=L}}class it{constructor(){this.map=new Map}set(L,k){return this.map.set(L,k),this}get(L){return this.map.has(L)||this.map.set(L,L.defaultValue()),this.map.get(L)}delete(L){return this.map.delete(L),this}has(L){return this.map.has(L)}keys(){return this.map.keys()}}function Q(K){return typeof ArrayBuffer<"u"&&K instanceof ArrayBuffer}function ve(K){return typeof Blob<"u"&&K instanceof Blob}function de(K){return typeof FormData<"u"&&K instanceof FormData}class ze{constructor(L,k,be,xe){let je;if(this.url=k,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=L.toUpperCase(),function Pe(K){switch(K){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||xe?(this.body=void 0!==be?be:null,je=xe):je=be,je&&(this.reportProgress=!!je.reportProgress,this.withCredentials=!!je.withCredentials,je.responseType&&(this.responseType=je.responseType),je.headers&&(this.headers=je.headers),je.context&&(this.context=je.context),je.params&&(this.params=je.params)),this.headers||(this.headers=new H),this.context||(this.context=new it),this.params){const ct=this.params.toString();if(0===ct.length)this.urlWithParams=k;else{const Lt=k.indexOf("?");this.urlWithParams=k+(-1===Lt?"?":Lt<k.length-1?"&":"")+ct}}else this.params=new Ie,this.urlWithParams=k}serializeBody(){return null===this.body?null:Q(this.body)||ve(this.body)||de(this.body)||function Oe(K){return typeof URLSearchParams<"u"&&K instanceof URLSearchParams}(this.body)||"string"==typeof this.body?this.body:this.body instanceof Ie?this.body.toString():"object"==typeof this.body||"boolean"==typeof this.body||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return null===this.body||de(this.body)?null:ve(this.body)?this.body.type||null:Q(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof Ie?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||"boolean"==typeof this.body?"application/json":null}clone(L={}){const k=L.method||this.method,be=L.url||this.url,xe=L.responseType||this.responseType,je=void 0!==L.body?L.body:this.body,ct=void 0!==L.withCredentials?L.withCredentials:this.withCredentials,Lt=void 0!==L.reportProgress?L.reportProgress:this.reportProgress;let Je=L.headers||this.headers,Bt=L.params||this.params;const Tt=L.context??this.context;return void 0!==L.setHeaders&&(Je=Object.keys(L.setHeaders).reduce((dn,Ot)=>dn.set(Ot,L.setHeaders[Ot]),Je)),L.setParams&&(Bt=Object.keys(L.setParams).reduce((dn,Ot)=>dn.set(Ot,L.setParams[Ot]),Bt)),new ze(k,be,je,{params:Bt,headers:Je,context:Tt,reportProgress:Lt,responseType:xe,withCredentials:ct})}}var Re=(()=>((Re=Re||{})[Re.Sent=0]="Sent",Re[Re.UploadProgress=1]="UploadProgress",Re[Re.ResponseHeader=2]="ResponseHeader",Re[Re.DownloadProgress=3]="DownloadProgress",Re[Re.Response=4]="Response",Re[Re.User=5]="User",Re))();class nt{constructor(L,k=200,be="OK"){this.headers=L.headers||new H,this.status=void 0!==L.status?L.status:k,this.statusText=L.statusText||be,this.url=L.url||null,this.ok=this.status>=200&&this.status<300}}class De extends nt{constructor(L={}){super(L),this.type=Re.ResponseHeader}clone(L={}){return new De({headers:L.headers||this.headers,status:void 0!==L.status?L.status:this.status,statusText:L.statusText||this.statusText,url:L.url||this.url||void 0})}}class Ue extends nt{constructor(L={}){super(L),this.type=Re.Response,this.body=void 0!==L.body?L.body:null}clone(L={}){return new Ue({body:void 0!==L.body?L.body:this.body,headers:L.headers||this.headers,status:void 0!==L.status?L.status:this.status,statusText:L.statusText||this.statusText,url:L.url||this.url||void 0})}}class $e extends nt{constructor(L){super(L,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${L.url||"(unknown url)"}`:`Http failure response for ${L.url||"(unknown url)"}: ${L.status} ${L.statusText}`,this.error=L.error||null}}function yt(K,L){return{body:L,headers:K.headers,context:K.context,observe:K.observe,params:K.params,reportProgress:K.reportProgress,responseType:K.responseType,withCredentials:K.withCredentials}}let zt=(()=>{class K{constructor(k){this.handler=k}request(k,be,xe={}){let je;if(k instanceof ze)je=k;else{let Je,Bt;Je=xe.headers instanceof H?xe.headers:new H(xe.headers),xe.params&&(Bt=xe.params instanceof Ie?xe.params:new Ie({fromObject:xe.params})),je=new ze(k,be,void 0!==xe.body?xe.body:null,{headers:Je,context:xe.context,params:Bt,reportProgress:xe.reportProgress,responseType:xe.responseType||"json",withCredentials:xe.withCredentials})}const ct=(0,T.of)(je).pipe((0,x.b)(Je=>this.handler.handle(Je)));if(k instanceof ze||"events"===xe.observe)return ct;const Lt=ct.pipe((0,N.h)(Je=>Je instanceof Ue));switch(xe.observe||"body"){case"body":switch(je.responseType){case"arraybuffer":return Lt.pipe((0,te.U)(Je=>{if(null!==Je.body&&!(Je.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return Je.body}));case"blob":return Lt.pipe((0,te.U)(Je=>{if(null!==Je.body&&!(Je.body instanceof Blob))throw new Error("Response is not a Blob.");return Je.body}));case"text":return Lt.pipe((0,te.U)(Je=>{if(null!==Je.body&&"string"!=typeof Je.body)throw new Error("Response is not a string.");return Je.body}));default:return Lt.pipe((0,te.U)(Je=>Je.body))}case"response":return Lt;default:throw new Error(`Unreachable: unhandled observe type ${xe.observe}}`)}}delete(k,be={}){return this.request("DELETE",k,be)}get(k,be={}){return this.request("GET",k,be)}head(k,be={}){return this.request("HEAD",k,be)}jsonp(k,be){return this.request("JSONP",k,{params:(new Ie).append(be,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(k,be={}){return this.request("OPTIONS",k,be)}patch(k,be,xe={}){return this.request("PATCH",k,yt(xe,be))}post(k,be,xe={}){return this.request("POST",k,yt(xe,be))}put(k,be,xe={}){return this.request("PUT",k,yt(xe,be))}}return K.\u0275fac=function(k){return new(k||K)(v.LFG(G))},K.\u0275prov=v.Yz7({token:K,factory:K.\u0275fac}),K})();class Mt{constructor(L,k){this.next=L,this.interceptor=k}handle(L){return this.interceptor.intercept(L,this.next)}}const sn=new v.OlP("HTTP_INTERCEPTORS");let en=(()=>{class K{intercept(k,be){return be.handle(k)}}return K.\u0275fac=function(k){return new(k||K)},K.\u0275prov=v.Yz7({token:K,factory:K.\u0275fac}),K})();const At=/^\)\]\}',?\n/;let St=(()=>{class K{constructor(k){this.xhrFactory=k}handle(k){if("JSONP"===k.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new P.y(be=>{const xe=this.xhrFactory.build();if(xe.open(k.method,k.urlWithParams),k.withCredentials&&(xe.withCredentials=!0),k.headers.forEach((we,oe)=>xe.setRequestHeader(we,oe.join(","))),k.headers.has("Accept")||xe.setRequestHeader("Accept","application/json, text/plain, */*"),!k.headers.has("Content-Type")){const we=k.detectContentTypeHeader();null!==we&&xe.setRequestHeader("Content-Type",we)}if(k.responseType){const we=k.responseType.toLowerCase();xe.responseType="json"!==we?we:"text"}const je=k.serializeBody();let ct=null;const Lt=()=>{if(null!==ct)return ct;const we=xe.statusText||"OK",oe=new H(xe.getAllResponseHeaders()),ue=function lt(K){return"responseURL"in K&&K.responseURL?K.responseURL:/^X-Request-URL:/m.test(K.getAllResponseHeaders())?K.getResponseHeader("X-Request-URL"):null}(xe)||k.url;return ct=new De({headers:oe,status:xe.status,statusText:we,url:ue}),ct},Je=()=>{let{headers:we,status:oe,statusText:ue,url:W}=Lt(),ee=null;204!==oe&&(ee=typeof xe.response>"u"?xe.responseText:xe.response),0===oe&&(oe=ee?200:0);let B=oe>=200&&oe<300;if("json"===k.responseType&&"string"==typeof ee){const fe=ee;ee=ee.replace(At,"");try{ee=""!==ee?JSON.parse(ee):null}catch(Ne){ee=fe,B&&(B=!1,ee={error:Ne,text:ee})}}B?(be.next(new Ue({body:ee,headers:we,status:oe,statusText:ue,url:W||void 0})),be.complete()):be.error(new $e({error:ee,headers:we,status:oe,statusText:ue,url:W||void 0}))},Bt=we=>{const{url:oe}=Lt(),ue=new $e({error:we,status:xe.status||0,statusText:xe.statusText||"Unknown Error",url:oe||void 0});be.error(ue)};let Tt=!1;const dn=we=>{Tt||(be.next(Lt()),Tt=!0);let oe={type:Re.DownloadProgress,loaded:we.loaded};we.lengthComputable&&(oe.total=we.total),"text"===k.responseType&&!!xe.responseText&&(oe.partialText=xe.responseText),be.next(oe)},Ot=we=>{let oe={type:Re.UploadProgress,loaded:we.loaded};we.lengthComputable&&(oe.total=we.total),be.next(oe)};return xe.addEventListener("load",Je),xe.addEventListener("error",Bt),xe.addEventListener("timeout",Bt),xe.addEventListener("abort",Bt),k.reportProgress&&(xe.addEventListener("progress",dn),null!==je&&xe.upload&&xe.upload.addEventListener("progress",Ot)),xe.send(je),be.next({type:Re.Sent}),()=>{xe.removeEventListener("error",Bt),xe.removeEventListener("abort",Bt),xe.removeEventListener("load",Je),xe.removeEventListener("timeout",Bt),k.reportProgress&&(xe.removeEventListener("progress",dn),null!==je&&xe.upload&&xe.upload.removeEventListener("progress",Ot)),xe.readyState!==xe.DONE&&xe.abort()}})}}return K.\u0275fac=function(k){return new(k||K)(v.LFG(f.JF))},K.\u0275prov=v.Yz7({token:K,factory:K.\u0275fac}),K})();const Et=new v.OlP("XSRF_COOKIE_NAME"),tn=new v.OlP("XSRF_HEADER_NAME");class xt{}let kt=(()=>{class K{constructor(k,be,xe){this.doc=k,this.platform=be,this.cookieName=xe,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const k=this.doc.cookie||"";return k!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,f.Mx)(k,this.cookieName),this.lastCookieString=k),this.lastToken}}return K.\u0275fac=function(k){return new(k||K)(v.LFG(f.K0),v.LFG(v.Lbi),v.LFG(Et))},K.\u0275prov=v.Yz7({token:K,factory:K.\u0275fac}),K})(),Qe=(()=>{class K{constructor(k,be){this.tokenService=k,this.headerName=be}intercept(k,be){const xe=k.url.toLowerCase();if("GET"===k.method||"HEAD"===k.method||xe.startsWith("http://")||xe.startsWith("https://"))return be.handle(k);const je=this.tokenService.getToken();return null!==je&&!k.headers.has(this.headerName)&&(k=k.clone({headers:k.headers.set(this.headerName,je)})),be.handle(k)}}return K.\u0275fac=function(k){return new(k||K)(v.LFG(xt),v.LFG(tn))},K.\u0275prov=v.Yz7({token:K,factory:K.\u0275fac}),K})(),Ve=(()=>{class K{constructor(k,be){this.backend=k,this.injector=be,this.chain=null}handle(k){if(null===this.chain){const be=this.injector.get(sn,[]);this.chain=be.reduceRight((xe,je)=>new Mt(xe,je),this.backend)}return this.chain.handle(k)}}return K.\u0275fac=function(k){return new(k||K)(v.LFG(Y),v.LFG(v.zs3))},K.\u0275prov=v.Yz7({token:K,factory:K.\u0275fac}),K})(),w=(()=>{class K{static disable(){return{ngModule:K,providers:[{provide:Qe,useClass:en}]}}static withOptions(k={}){return{ngModule:K,providers:[k.cookieName?{provide:Et,useValue:k.cookieName}:[],k.headerName?{provide:tn,useValue:k.headerName}:[]]}}}return K.\u0275fac=function(k){return new(k||K)},K.\u0275mod=v.oAB({type:K}),K.\u0275inj=v.cJS({providers:[Qe,{provide:sn,useExisting:Qe,multi:!0},{provide:xt,useClass:kt},{provide:Et,useValue:"XSRF-TOKEN"},{provide:tn,useValue:"X-XSRF-TOKEN"}]}),K})(),R=(()=>{class K{}return K.\u0275fac=function(k){return new(k||K)},K.\u0275mod=v.oAB({type:K}),K.\u0275inj=v.cJS({providers:[zt,{provide:G,useClass:Ve},St,{provide:Y,useExisting:St}],imports:[w.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]}),K})()},64537:(et,me,m)=>{m.d(me,{$8M:()=>Es,$Z:()=>Mh,AFp:()=>Rg,ALo:()=>Xp,AaK:()=>G,Akn:()=>fi,AsE:()=>Qc,B6R:()=>ee,BQk:()=>Xa,CHM:()=>ps,CRH:()=>lg,CZH:()=>ul,CqO:()=>_f,D6c:()=>yb,DdM:()=>$p,EJc:()=>xC,EiD:()=>$d,EpF:()=>gf,F$t:()=>Cf,F4k:()=>mf,FAE:()=>Wc,FYo:()=>rh,FiY:()=>Wo,G48:()=>eb,Gf:()=>og,GfV:()=>ih,GkF:()=>Bc,Gpc:()=>z,Gre:()=>Zf,Hsn:()=>bf,Ikx:()=>Jc,JOm:()=>Ii,JVY:()=>v_,Jf7:()=>sh,KtG:()=>ji,L6k:()=>D_,LAX:()=>C_,LFG:()=>Wn,LSH:()=>Yl,Lbi:()=>IC,Lck:()=>TE,MAs:()=>pf,MGl:()=>Ja,MMx:()=>lu,NdJ:()=>Vc,O4$:()=>c,OlP:()=>Dn,Oqu:()=>Zc,PXZ:()=>YC,Q6J:()=>Fc,QGY:()=>Uc,QP$:()=>En,QbO:()=>OC,Qsj:()=>ey,R0b:()=>Qr,RDi:()=>h_,Rgc:()=>ga,SBq:()=>ta,Sil:()=>FC,Suo:()=>ag,TTD:()=>ki,TgZ:()=>Ya,Udp:()=>Kc,VKq:()=>zp,W1O:()=>hg,WFA:()=>jc,WLB:()=>Wp,X6Q:()=>qC,XFs:()=>Ve,Xpm:()=>W,Xts:()=>Zl,Y36:()=>po,YKP:()=>Lp,YNc:()=>ff,Yjl:()=>Xn,Yz7:()=>q,Z0I:()=>Ct,ZZ4:()=>Ru,_Bn:()=>xp,_UZ:()=>kc,_Vd:()=>ea,_c5:()=>mb,_uU:()=>Hf,aQg:()=>xu,c2e:()=>PC,cJS:()=>Ee,cQ8:()=>zc,cg1:()=>eu,d8E:()=>qc,dDg:()=>zC,dqk:()=>xe,eBb:()=>E_,eFA:()=>Wg,ekj:()=>Gc,eoX:()=>Hg,f3M:()=>Ju,g9A:()=>Lg,h0i:()=>Io,hGG:()=>_b,hYB:()=>$c,hij:()=>el,iGM:()=>sg,ifc:()=>be,ip1:()=>Pg,jDz:()=>Np,kL8:()=>sp,kYT:()=>st,kcU:()=>S,lG2:()=>jt,lcZ:()=>Jp,lnq:()=>Xc,lqb:()=>Us,lri:()=>Vg,mCW:()=>Ra,n5z:()=>_l,n_E:()=>sl,oAB:()=>Ne,oJD:()=>zd,oxw:()=>Ef,pB0:()=>b_,q3G:()=>Un,qLn:()=>na,qOj:()=>Pc,qZA:()=>Za,qzn:()=>lo,rWj:()=>jg,s9C:()=>Hc,sBO:()=>tb,sIi:()=>sa,s_b:()=>al,soG:()=>dl,tBr:()=>wa,tb:()=>Fg,tp0:()=>Ko,uIk:()=>Lc,vHH:()=>ye,vpe:()=>xi,wAp:()=>Ut,xi3:()=>qp,xp6:()=>hh,ynx:()=>Qa,z2F:()=>hl,z3N:()=>es,zSh:()=>Jl,zs3:()=>Vs});var f=m(38023),v=m(14813),T=m(87241),P=m(21860),x=m(26903);function N(e){for(let t in e)if(e[t]===N)return t;throw Error("Could not find renamed property on target object.")}function te(e,t){for(const n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function G(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(G).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;const t=e.toString();if(null==t)return""+t;const n=t.indexOf("\n");return-1===n?t:t.substring(0,n)}function Y(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const H=N({__forward_ref__:N});function z(e){return e.__forward_ref__=z,e.toString=function(){return G(this())},e}function U(e){return Ae(e)?e():e}function Ae(e){return"function"==typeof e&&e.hasOwnProperty(H)&&e.__forward_ref__===z}class ye extends Error{constructor(t,n){super(function he(e,t){return`NG0${Math.abs(e)}${t?": "+t.trim():""}`}(t,n)),this.code=t}}function ie(e){return"string"==typeof e?e:null==e?"":String(e)}function Q(e,t){throw new ye(-201,!1)}function en(e,t){null==e&&function It(e,t,n,r){throw new Error(`ASSERTION ERROR: ${e}`+(null==r?"":` [Expected=> ${n} ${r} ${t} <=Actual]`))}(t,e,null,"!=")}function q(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Ee(e){return{providers:e.providers||[],imports:e.imports||[]}}function Ze(e){return At(e,tn)||At(e,kt)}function Ct(e){return null!==Ze(e)}function At(e,t){return e.hasOwnProperty(t)?e[t]:null}function Et(e){return e&&(e.hasOwnProperty(xt)||e.hasOwnProperty(Qe))?e[xt]:null}const tn=N({\u0275prov:N}),xt=N({\u0275inj:N}),kt=N({ngInjectableDef:N}),Qe=N({ngInjectorDef:N});var Ve=(()=>((Ve=Ve||{})[Ve.Default=0]="Default",Ve[Ve.Host=1]="Host",Ve[Ve.Self=2]="Self",Ve[Ve.SkipSelf=4]="SkipSelf",Ve[Ve.Optional=8]="Optional",Ve))();let V;function w(e){const t=V;return V=e,t}function R(e,t,n){const r=Ze(e);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:n&Ve.Optional?null:void 0!==t?t:void Q(G(e))}function Te(e){return{toString:e}.toString()}var K=(()=>((K=K||{})[K.OnPush=0]="OnPush",K[K.Default=1]="Default",K))(),be=(()=>{return(e=be||(be={}))[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",be;var e})();const xe=(()=>typeof globalThis<"u"&&globalThis||typeof global<"u"&&global||typeof window<"u"&&window||typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self)(),Lt={},Je=[],Bt=N({\u0275cmp:N}),Tt=N({\u0275dir:N}),dn=N({\u0275pipe:N}),Ot=N({\u0275mod:N}),we=N({\u0275fac:N}),oe=N({__NG_ELEMENT_ID__:N});let ue=0;function W(e){return Te(()=>{const n=!0===e.standalone,r={},i={type:e.type,providersResolver:null,decls:e.decls,vars:e.vars,factory:null,template:e.template||null,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:r,inputs:null,outputs:null,exportAs:e.exportAs||null,onPush:e.changeDetection===K.OnPush,directiveDefs:null,pipeDefs:null,standalone:n,dependencies:n&&e.dependencies||null,getStandaloneInjector:null,selectors:e.selectors||Je,viewQuery:e.viewQuery||null,features:e.features||null,data:e.data||{},encapsulation:e.encapsulation||be.Emulated,id:"c"+ue++,styles:e.styles||Je,_:null,setInput:null,schemas:e.schemas||null,tView:null},s=e.dependencies,o=e.features;return i.inputs=Pt(e.inputs,r),i.outputs=Pt(e.outputs),o&&o.forEach(h=>h(i)),i.directiveDefs=s?()=>("function"==typeof s?s():s).map(B).filter(fe):null,i.pipeDefs=s?()=>("function"==typeof s?s():s).map(an).filter(fe):null,i})}function ee(e,t,n){const r=e.\u0275cmp;r.directiveDefs=()=>("function"==typeof t?t():t).map(B),r.pipeDefs=()=>("function"==typeof n?n():n).map(an)}function B(e){return Ht(e)||on(e)}function fe(e){return null!==e}function Ne(e){return Te(()=>({type:e.type,bootstrap:e.bootstrap||Je,declarations:e.declarations||Je,imports:e.imports||Je,exports:e.exports||Je,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function st(e,t){return Te(()=>{const n=wn(e,!0);n.declarations=t.declarations||Je,n.imports=t.imports||Je,n.exports=t.exports||Je})}function Pt(e,t){if(null==e)return Lt;const n={};for(const r in e)if(e.hasOwnProperty(r)){let i=e[r],s=i;Array.isArray(i)&&(s=i[1],i=i[0]),n[i]=r,t&&(t[i]=s)}return n}const jt=W;function Xn(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,standalone:!0===e.standalone,onDestroy:e.type.prototype.ngOnDestroy||null}}function Ht(e){return e[Bt]||null}function on(e){return e[Tt]||null}function an(e){return e[dn]||null}function En(e){const t=Ht(e)||on(e)||an(e);return null!==t&&t.standalone}function wn(e,t){const n=e[Ot]||null;if(!n&&!0===t)throw new Error(`Type ${G(e)} does not have '\u0275mod' property.`);return n}function An(e){return Array.isArray(e)&&"object"==typeof e[1]}function Gn(e){return Array.isArray(e)&&!0===e[1]}function Ur(e){return 0!=(8&e.flags)}function nr(e){return 2==(2&e.flags)}function Ir(e){return 1==(1&e.flags)}function qn(e){return null!==e.template}function ti(e){return 0!=(256&e[2])}function sr(e,t){return e.hasOwnProperty(we)?e[we]:null}class vi{constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}}function ki(){return $r}function $r(e){return e.type.prototype.ngOnChanges&&(e.setInput=Ui),Bi}function Bi(){const e=us(this),t=e?.current;if(t){const n=e.previous;if(n===Lt)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function Ui(e,t,n,r){const i=us(e)||function ds(e,t){return e[ni]=t}(e,{previous:Lt,current:null}),s=i.current||(i.current={}),o=i.previous,h=this.declaredInputs[n],g=o[h];s[h]=new vi(g&&g.currentValue,t,o===Lt),e[r]=t}ki.ngInherit=!0;const ni="__ngSimpleChanges__";function us(e){return e[ni]||null}function bn(e){for(;Array.isArray(e);)e=e[0];return e}function Dr(e,t){return bn(t[e])}function Hn(e,t){return bn(t[e.index])}function ii(e,t){return e.data[t]}function Rr(e,t){return e[t]}function Nn(e,t){const n=t[e];return An(n)?n:n[0]}function fr(e){return 64==(64&e[2])}function or(e,t){return null==t?null:e[t]}function ar(e){e[18]=0}function Ei(e,t){e[5]+=t;let n=e,r=e[3];for(;null!==r&&(1===t&&1===n[5]||-1===t&&0===n[5]);)r[5]+=t,n=r,r=r[3]}const vt={lFrame:Ps(null),bindingsEnabled:!0};function xr(){return vt.bindingsEnabled}function Xe(){return vt.lFrame.lView}function Kt(){return vt.lFrame.tView}function ps(e){return vt.lFrame.contextLView=e,e[8]}function ji(e){return vt.lFrame.contextLView=null,e}function In(){let e=Kr();for(;null!==e&&64===e.type;)e=e.parent;return e}function Kr(){return vt.lFrame.currentTNode}function lr(e,t){const n=vt.lFrame;n.currentTNode=e,n.isParent=t}function gs(){return vt.lFrame.isParent}function Hi(){vt.lFrame.isParent=!1}function $n(){const e=vt.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function Cr(){return vt.lFrame.bindingIndex}function ai(){return vt.lFrame.bindingIndex++}function pr(e){const t=vt.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function ys(e,t){const n=vt.lFrame;n.bindingIndex=n.bindingRootIndex=e,$i(t)}function $i(e){vt.lFrame.currentDirectiveIndex=e}function Mi(e){const t=vt.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}function Si(){return vt.lFrame.currentQueryIndex}function br(e){vt.lFrame.currentQueryIndex=e}function li(e){const t=e[1];return 2===t.type?t.declTNode:1===t.type?e[6]:null}function Os(e,t,n){if(n&Ve.SkipSelf){let i=t,s=e;for(;!(i=i.parent,null!==i||n&Ve.Host||(i=li(s),null===i||(s=s[15],10&i.type))););if(null===i)return!1;t=i,e=s}const r=vt.lFrame=zi();return r.currentTNode=t,r.lView=e,!0}function ci(e){const t=zi(),n=e[1];vt.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function zi(){const e=vt.lFrame,t=null===e?null:e.child;return null===t?Ps(e):t}function Ps(e){const t={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null,inI18n:!1};return null!==e&&(e.child=t),t}function Ti(){const e=vt.lFrame;return vt.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const Wi=Ti;function Gr(){const e=Ti();e.isParent=!0,e.tView=null,e.selectedIndex=-1,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function zn(){return vt.lFrame.selectedIndex}function M(e){vt.lFrame.selectedIndex=e}function a(){const e=vt.lFrame;return ii(e.tView,e.selectedIndex)}function c(){vt.lFrame.currentNamespace="svg"}function S(){!function F(){vt.lFrame.currentNamespace=null}()}function Fe(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n<r;n++){const s=e.data[n].type.prototype,{ngAfterContentInit:o,ngAfterContentChecked:h,ngAfterViewInit:g,ngAfterViewChecked:C,ngOnDestroy:I}=s;o&&(e.contentHooks||(e.contentHooks=[])).push(-n,o),h&&((e.contentHooks||(e.contentHooks=[])).push(n,h),(e.contentCheckHooks||(e.contentCheckHooks=[])).push(n,h)),g&&(e.viewHooks||(e.viewHooks=[])).push(-n,g),C&&((e.viewHooks||(e.viewHooks=[])).push(n,C),(e.viewCheckHooks||(e.viewCheckHooks=[])).push(n,C)),null!=I&&(e.destroyHooks||(e.destroyHooks=[])).push(n,I)}}function We(e,t,n){Xt(e,t,3,n)}function dt(e,t,n,r){(3&e[2])===n&&Xt(e,t,n,r)}function pt(e,t){let n=e[2];(3&n)===t&&(n&=2047,n+=1,e[2]=n)}function Xt(e,t,n,r){const s=r??-1,o=t.length-1;let h=0;for(let g=void 0!==r?65535&e[18]:0;g<o;g++)if("number"==typeof t[g+1]){if(h=t[g],null!=r&&h>=r)break}else t[g]<0&&(e[18]+=65536),(h<s||-1==s)&&(Gt(e,n,t,g),e[18]=(4294901760&e[18])+g+2),g++}function Gt(e,t,n,r){const i=n[r]<0,s=n[r+1],h=e[i?-n[r]:n[r]];if(i){if(e[2]>>11<e[18]>>16&&(3&e[2])===t){e[2]+=2048;try{s.call(h)}finally{}}}else try{s.call(h)}finally{}}class Rt{constructor(t,n,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}}function A(e,t,n){let r=0;for(;r<n.length;){const i=n[r];if("number"==typeof i){if(0!==i)break;r++;const s=n[r++],o=n[r++],h=n[r++];e.setAttribute(t,o,h,s)}else{const s=i,o=n[++r];Be(s)?e.setProperty(t,s,o):e.setAttribute(t,s,o),r++}}return r}function se(e){return 3===e||4===e||6===e}function Be(e){return 64===e.charCodeAt(0)}function Ge(e,t){if(null!==t&&0!==t.length)if(null===e||0===e.length)e=t.slice();else{let n=-1;for(let r=0;r<t.length;r++){const i=t[r];"number"==typeof i?n=i:0===n||gt(e,n,i,null,-1===n||2===n?t[++r]:null)}}return e}function gt(e,t,n,r,i){let s=0,o=e.length;if(-1===t)o=-1;else for(;s<e.length;){const h=e[s++];if("number"==typeof h){if(h===t){o=-1;break}if(h>t){o=s-1;break}}}for(;s<e.length;){const h=e[s];if("number"==typeof h)break;if(h===n){if(null===r)return void(null!==i&&(e[s+1]=i));if(r===e[s+1])return void(e[s+2]=i)}s++,null!==r&&s++,null!==i&&s++}-1!==o&&(e.splice(o,0,t),s=o+1),e.splice(s++,0,n),null!==r&&e.splice(s++,0,r),null!==i&&e.splice(s++,0,i)}function Yt(e){return-1!==e}function Jt(e){return 32767&e}function tt(e,t){let n=function rn(e){return e>>16}(e),r=t;for(;n>0;)r=r[15],n--;return r}let ft=!0;function ut(e){const t=ft;return ft=e,t}let Sn=0;const fn={};function wr(e,t){const n=Tn(e,t);if(-1!==n)return n;const r=t[1];r.firstCreatePass&&(e.injectorIndex=t.length,Ai(r.data,e),Ai(t,null),Ai(r.blueprint,null));const i=Mr(e,t),s=e.injectorIndex;if(Yt(i)){const o=Jt(i),h=tt(i,t),g=h[1].data;for(let C=0;C<8;C++)t[s+C]=h[o+C]|g[o+C]}return t[s+8]=i,s}function Ai(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Tn(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function Mr(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=0,r=null,i=t;for(;null!==i;){if(r=ko(i),null===r)return-1;if(n++,i=i[15],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return-1}function Zn(e,t,n){!function un(e,t,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(oe)&&(r=n[oe]),null==r&&(r=n[oe]=Sn++);const i=255&r;t.data[e+(i>>5)]|=1<<i}(e,t,n)}function Ds(e,t,n){if(n&Ve.Optional||void 0!==e)return e;Q()}function _a(e,t,n,r){if(n&Ve.Optional&&void 0===r&&(r=null),0==(n&(Ve.Self|Ve.Host))){const i=e[9],s=w(void 0);try{return i?i.get(t,r,n&Ve.Optional):R(t,r,n&Ve.Optional)}finally{w(s)}}return Ds(r,0,n)}function Lo(e,t,n,r=Ve.Default,i){if(null!==e){if(1024&t[2]){const o=function No(e,t,n,r,i){let s=e,o=t;for(;null!==s&&null!==o&&1024&o[2]&&!(256&o[2]);){const h=kn(s,o,n,r|Ve.Self,fn);if(h!==fn)return h;let g=s.parent;if(!g){const C=o[21];if(C){const I=C.get(n,fn,r);if(I!==fn)return I}g=ko(o),o=o[15]}s=g}return i}(e,t,n,r,fn);if(o!==fn)return o}const s=kn(e,t,n,r,fn);if(s!==fn)return s}return _a(t,n,r,i)}function kn(e,t,n,r,i){const s=function no(e){if("string"==typeof e)return e.charCodeAt(0)||0;const t=e.hasOwnProperty(oe)?e[oe]:void 0;return"number"==typeof t?t>=0?255&t:$u:t}(n);if("function"==typeof s){if(!Os(t,e,r))return r&Ve.Host?Ds(i,0,r):_a(t,n,r,i);try{const o=s(r);if(null!=o||r&Ve.Optional)return o;Q()}finally{Wi()}}else if("number"==typeof s){let o=null,h=Tn(e,t),g=-1,C=r&Ve.Host?t[16][6]:null;for((-1===h||r&Ve.SkipSelf)&&(g=-1===h?Mr(e,t):t[h+8],-1!==g&&va(r,!1)?(o=t[1],h=Jt(g),t=tt(g,t)):h=-1);-1!==h;){const I=t[1];if(ya(s,h,I.data)){const j=ml(h,t,n,o,r,C);if(j!==fn)return j}g=t[h+8],-1!==g&&va(r,t[1].data[h+8]===C)&&ya(s,h,t)?(o=I,h=Jt(g),t=tt(g,t)):h=-1}}return i}function ml(e,t,n,r,i,s){const o=t[1],h=o.data[e+8],I=Rs(h,o,n,null==r?nr(h)&&ft:r!=o&&0!=(3&h.type),i&Ve.Host&&s===h);return null!==I?Yi(t,o,I,h):fn}function Rs(e,t,n,r,i){const s=e.providerIndexes,o=t.data,h=1048575&s,g=e.directiveStart,I=s>>20,ge=i?h+I:e.directiveEnd;for(let Le=r?h:h+I;Le<ge;Le++){const Ye=o[Le];if(Le<g&&n===Ye||Le>=g&&Ye.type===n)return Le}if(i){const Le=o[g];if(Le&&qn(Le)&&Le.type===n)return g}return null}function Yi(e,t,n,r){let i=e[n];const s=t.data;if(function cn(e){return e instanceof Rt}(i)){const o=i;o.resolving&&function rt(e,t){const n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new ye(-200,`Circular dependency in DI detected for ${e}${n}`)}(function Ie(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():ie(e)}(s[n]));const h=ut(o.canSeeViewProviders);o.resolving=!0;const g=o.injectImpl?w(o.injectImpl):null;Os(e,r,Ve.Default);try{i=e[n]=o.factory(void 0,s,e,r),t.firstCreatePass&&n>=r.directiveStart&&function ce(e,t,n){const{ngOnChanges:r,ngOnInit:i,ngDoCheck:s}=t.type.prototype;if(r){const o=$r(t);(n.preOrderHooks||(n.preOrderHooks=[])).push(e,o),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,o)}i&&(n.preOrderHooks||(n.preOrderHooks=[])).push(0-e,i),s&&((n.preOrderHooks||(n.preOrderHooks=[])).push(e,s),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,s))}(n,s[n],t)}finally{null!==g&&w(g),ut(h),o.resolving=!1,Wi()}}return i}function ya(e,t,n){return!!(n[t+(e>>5)]&1<<e)}function va(e,t){return!(e&Ve.Self||e&Ve.Host&&t)}class Zi{constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return Lo(this._tNode,this._lView,t,r,n)}}function $u(){return new Zi(In(),Xe())}function _l(e){return Te(()=>{const t=e.prototype.constructor,n=t[we]||Fo(t),r=Object.prototype;let i=Object.getPrototypeOf(e.prototype).constructor;for(;i&&i!==r;){const s=i[we]||Fo(i);if(s&&s!==n)return s;i=Object.getPrototypeOf(i)}return s=>new s})}function Fo(e){return Ae(e)?()=>{const t=Fo(U(e));return t&&t()}:sr(e)}function ko(e){const t=e[1],n=t.type;return 2===n?t.declTNode:1===n?e[6]:null}function Es(e){return function vs(e,t){if("class"===t)return e.classes;if("style"===t)return e.styles;const n=e.attrs;if(n){const r=n.length;let i=0;for(;i<r;){const s=n[i];if(se(s))break;if(0===s)i+=2;else if("number"==typeof s)for(i++;i<r&&"string"==typeof n[i];)i++;else{if(s===t)return n[i+1];i+=2}}}return null}(In(),e)}const Qi="__parameters__";function Xi(e,t,n){return Te(()=>{const r=function Da(e){return function(...n){if(e){const r=e(...n);for(const i in r)this[i]=r[i]}}}(t);function i(...s){if(this instanceof i)return r.apply(this,s),this;const o=new i(...s);return h.annotation=o,h;function h(g,C,I){const j=g.hasOwnProperty(Qi)?g[Qi]:Object.defineProperty(g,Qi,{value:[]})[Qi];for(;j.length<=I;)j.push(null);return(j[I]=j[I]||[]).push(o),g}}return n&&(i.prototype=Object.create(n.prototype)),i.prototype.ngMetadataName=e,i.annotationCls=i,i})}class Dn{constructor(t,n){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof n?this.__NG_ELEMENT_ID__=n:void 0!==n&&(this.\u0275prov=q({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}function gr(e,t){void 0===t&&(t=e);for(let n=0;n<e.length;n++){let r=e[n];Array.isArray(r)?(t===e&&(t=e.slice(0,n)),gr(r,t)):t!==e&&t.push(r)}return t}function Yr(e,t){e.forEach(n=>Array.isArray(n)?Yr(n,t):t(n))}function Ea(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function jo(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function u(e,t){const n=[];for(let r=0;r<e;r++)n.push(t);return n}function J(e,t,n){let r=at(e,t);return r>=0?e[1|r]=n:(r=~r,function y(e,t,n,r){let i=e.length;if(i==t)e.push(n,r);else if(1===i)e.push(r,e[0]),e[0]=n;else{for(i--,e.push(e[i-1],e[i]);i>t;)e[i]=e[i-2],i--;e[t]=n,e[t+1]=r}}(e,r,t,n)),r}function He(e,t){const n=at(e,t);if(n>=0)return e[1|n]}function at(e,t){return function _t(e,t,n){let r=0,i=e.length>>n;for(;i!==r;){const s=r+(i-r>>1),o=e[s<<n];if(t===o)return s<<n;o>t?i=s:r=s+1}return~(i<<n)}(e,t,1)}const Ho={},El="__NG_DI_FLAG__",ba="ngTempTokenPath",fm=/\n/gm,Qu="__source";let $o;function so(e){const t=$o;return $o=e,t}function gm(e,t=Ve.Default){if(void 0===$o)throw new ye(-203,!1);return null===$o?R(e,void 0,t):$o.get(e,t&Ve.Optional?null:void 0,t)}function Wn(e,t=Ve.Default){return(function X(){return V}()||gm)(U(e),t)}function Ju(e,t=Ve.Default){return"number"!=typeof t&&(t=0|(t.optional&&8)|(t.host&&1)|(t.self&&2)|(t.skipSelf&&4)),Wn(e,t)}function Cl(e){const t=[];for(let n=0;n<e.length;n++){const r=U(e[n]);if(Array.isArray(r)){if(0===r.length)throw new ye(900,!1);let i,s=Ve.Default;for(let o=0;o<r.length;o++){const h=r[o],g=mm(h);"number"==typeof g?-1===g?i=h.token:s|=g:i=h}t.push(Wn(i,s))}else t.push(Wn(r))}return t}function zo(e,t){return e[El]=t,e.prototype[El]=t,e}function mm(e){return e[El]}const wa=zo(Xi("Inject",e=>({token:e})),-1),Wo=zo(Xi("Optional"),8),Ko=zo(Xi("SkipSelf"),4);var Ii=(()=>((Ii=Ii||{})[Ii.Important=1]="Important",Ii[Ii.DashCase=2]="DashCase",Ii))();const Sl=new Map;let Lm=0;const Al="__ngContext__";function ur(e,t){An(t)?(e[Al]=t[20],function Nm(e){Sl.set(e[20],e)}(t)):e[Al]=t}function Ol(e,t){return undefined(e,t)}function Qo(e){const t=e[3];return Gn(t)?t[3]:t}function Pl(e){return yd(e[13])}function Rl(e){return yd(e[4])}function yd(e){for(;null!==e&&!Gn(e);)e=e[4];return e}function ao(e,t,n,r,i){if(null!=r){let s,o=!1;Gn(r)?s=r:An(r)&&(o=!0,r=r[0]);const h=bn(r);0===e&&null!==n?null==i?wd(t,n,h):Fs(t,n,h,i||null,!0):1===e&&null!==n?Fs(t,n,h,i||null,!0):2===e?function Ul(e,t,n){const r=Ta(e,t);r&&function i_(e,t,n,r){e.removeChild(t,n,r)}(e,r,t,n)}(t,h,o):3===e&&t.destroyNode(h),null!=s&&function a_(e,t,n,r,i){const s=n[7];s!==bn(n)&&ao(t,e,r,s,i);for(let h=10;h<n.length;h++){const g=n[h];Xo(g[1],g,e,t,r,s)}}(t,e,s,n,i)}}function Ll(e,t,n){return e.createElement(t,n)}function Dd(e,t){const n=e[9],r=n.indexOf(t),i=t[3];512&t[2]&&(t[2]&=-513,Ei(i,-1)),n.splice(r,1)}function Fl(e,t){if(e.length<=10)return;const n=10+t,r=e[n];if(r){const i=r[17];null!==i&&i!==e&&Dd(i,r),t>0&&(e[n-1][4]=r[4]);const s=jo(e,10+t);!function Qm(e,t){Xo(e,t,t[11],2,null,null),t[0]=null,t[6]=null}(r[1],r);const o=s[19];null!==o&&o.detachView(s[1]),r[3]=null,r[4]=null,r[2]&=-65}return r}function Ed(e,t){if(!(128&t[2])){const n=t[11];n.destroyNode&&Xo(e,t,n,3,null,null),function qm(e){let t=e[13];if(!t)return Nl(e[1],e);for(;t;){let n=null;if(An(t))n=t[13];else{const r=t[10];r&&(n=r)}if(!n){for(;t&&!t[4]&&t!==e;)An(t)&&Nl(t[1],t),t=t[3];null===t&&(t=e),An(t)&&Nl(t[1],t),n=t&&t[4]}t=n}}(t)}}function Nl(e,t){if(!(128&t[2])){t[2]&=-65,t[2]|=128,function r_(e,t){let n;if(null!=e&&null!=(n=e.destroyHooks))for(let r=0;r<n.length;r+=2){const i=t[n[r]];if(!(i instanceof Rt)){const s=n[r+1];if(Array.isArray(s))for(let o=0;o<s.length;o+=2){const h=i[s[o]],g=s[o+1];try{g.call(h)}finally{}}else try{s.call(i)}finally{}}}}(e,t),function n_(e,t){const n=e.cleanup,r=t[7];let i=-1;if(null!==n)for(let s=0;s<n.length-1;s+=2)if("string"==typeof n[s]){const o=n[s+1],h="function"==typeof o?o(t):bn(t[o]),g=r[i=n[s+2]],C=n[s+3];"boolean"==typeof C?h.removeEventListener(n[s],g,C):C>=0?r[i=C]():r[i=-C].unsubscribe(),s+=2}else{const o=r[i=n[s+1]];n[s].call(o)}if(null!==r){for(let s=i+1;s<r.length;s++)(0,r[s])();t[7]=null}}(e,t),1===t[1].type&&t[11].destroy();const n=t[17];if(null!==n&&Gn(t[3])){n!==t[3]&&Dd(n,t);const r=t[19];null!==r&&r.detachView(e)}!function km(e){Sl.delete(e[20])}(t)}}function Cd(e,t,n){return function bd(e,t,n){let r=t;for(;null!==r&&40&r.type;)r=(t=r).parent;if(null===r)return n[0];if(2&r.flags){const i=e.data[r.directiveStart].encapsulation;if(i===be.None||i===be.Emulated)return null}return Hn(r,n)}(e,t.parent,n)}function Fs(e,t,n,r,i){e.insertBefore(t,n,r,i)}function wd(e,t,n){e.appendChild(t,n)}function Md(e,t,n,r,i){null!==r?Fs(e,t,n,r,i):wd(e,t,n)}function Ta(e,t){return e.parentNode(t)}function Sd(e,t,n){return Ad(e,t,n)}let Oa,$l,Pa,Ad=function Td(e,t,n){return 40&e.type?Hn(e,n):null};function Aa(e,t,n,r){const i=Cd(e,r,t),s=t[11],h=Sd(r.parent||t[6],r,t);if(null!=i)if(Array.isArray(n))for(let g=0;g<n.length;g++)Md(s,i,n[g],h,!1);else Md(s,i,n,h,!1)}function Ia(e,t){if(null!==t){const n=t.type;if(3&n)return Hn(t,e);if(4&n)return Bl(-1,e[t.index]);if(8&n){const r=t.child;if(null!==r)return Ia(e,r);{const i=e[t.index];return Gn(i)?Bl(-1,i):bn(i)}}if(32&n)return Ol(t,e)()||bn(e[t.index]);{const r=Od(e,t);return null!==r?Array.isArray(r)?r[0]:Ia(Qo(e[16]),r):Ia(e,t.next)}}return null}function Od(e,t){return null!==t?e[16][6].projection[t.projection]:null}function Bl(e,t){const n=10+e+1;if(n<t.length){const r=t[n],i=r[1].firstChild;if(null!==i)return Ia(r,i)}return t[7]}function Vl(e,t,n,r,i,s,o){for(;null!=n;){const h=r[n.index],g=n.type;if(o&&0===t&&(h&&ur(bn(h),r),n.flags|=4),64!=(64&n.flags))if(8&g)Vl(e,t,n.child,r,i,s,!1),ao(t,e,i,h,s);else if(32&g){const C=Ol(n,r);let I;for(;I=C();)ao(t,e,i,I,s);ao(t,e,i,h,s)}else 16&g?Pd(e,t,r,n,i,s):ao(t,e,i,h,s);n=o?n.projectionNext:n.next}}function Xo(e,t,n,r,i,s){Vl(n,r,e.firstChild,t,i,s,!1)}function Pd(e,t,n,r,i,s){const o=n[16],g=o[6].projection[r.projection];if(Array.isArray(g))for(let C=0;C<g.length;C++)ao(t,e,i,g[C],s);else Vl(e,t,g,o[3],i,s,!0)}function Rd(e,t,n){e.setAttribute(t,"style",n)}function jl(e,t,n){""===n?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function Ns(e){return function Hl(){if(void 0===Oa&&(Oa=null,xe.trustedTypes))try{Oa=xe.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Oa}()?.createHTML(e)||e}function h_(e){$l=e}function Ld(e){return function zl(){if(void 0===Pa&&(Pa=null,xe.trustedTypes))try{Pa=xe.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Pa}()?.createHTML(e)||e}class ks{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see https://g.co/ng/security#xss)`}}class f_ extends ks{getTypeName(){return"HTML"}}class p_ extends ks{getTypeName(){return"Style"}}class g_ extends ks{getTypeName(){return"Script"}}class m_ extends ks{getTypeName(){return"URL"}}class __ extends ks{getTypeName(){return"ResourceURL"}}function es(e){return e instanceof ks?e.changingThisBreaksApplicationSecurity:e}function lo(e,t){const n=function y_(e){return e instanceof ks&&e.getTypeName()||null}(e);if(null!=n&&n!==t){if("ResourceURL"===n&&"URL"===t)return!0;throw new Error(`Required a safe ${t}, got a ${n} (see https://g.co/ng/security#xss)`)}return n===t}function v_(e){return new f_(e)}function D_(e){return new p_(e)}function E_(e){return new g_(e)}function C_(e){return new m_(e)}function b_(e){return new __(e)}class w_{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{const n=(new window.DOMParser).parseFromString(Ns(t),"text/html").body;return null===n?this.inertDocumentHelper.getInertBodyElement(t):(n.removeChild(n.firstChild),n)}catch{return null}}}class M_{constructor(t){if(this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),null==this.inertDocument.body){const n=this.inertDocument.createElement("html");this.inertDocument.appendChild(n);const r=this.inertDocument.createElement("body");n.appendChild(r)}}getInertBodyElement(t){const n=this.inertDocument.createElement("template");if("content"in n)return n.innerHTML=Ns(t),n;const r=this.inertDocument.createElement("body");return r.innerHTML=Ns(t),this.defaultDoc.documentMode&&this.stripCustomNsAttrs(r),r}stripCustomNsAttrs(t){const n=t.attributes;for(let i=n.length-1;0<i;i--){const o=n.item(i).name;("xmlns:ns1"===o||0===o.indexOf("ns1:"))&&t.removeAttribute(o)}let r=t.firstChild;for(;r;)r.nodeType===Node.ELEMENT_NODE&&this.stripCustomNsAttrs(r),r=r.nextSibling}}const T_=/^(?:(?:https?|mailto|data|ftp|tel|file|sms):|[^&:/?#]*(?:[/?#]|$))/gi;function Ra(e){return(e=String(e)).match(T_)?e:"unsafe:"+e}function ts(e){const t={};for(const n of e.split(","))t[n]=!0;return t}function Jo(...e){const t={};for(const n of e)for(const r in n)n.hasOwnProperty(r)&&(t[r]=!0);return t}const Bd=ts("area,br,col,hr,img,wbr"),Ud=ts("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Vd=ts("rp,rt"),Wl=Jo(Bd,Jo(Ud,ts("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),Jo(Vd,ts("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),Jo(Vd,Ud)),Kl=ts("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),jd=Jo(Kl,ts("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),ts("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext")),A_=ts("script,style,template");class I_{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(t){let n=t.firstChild,r=!0;for(;n;)if(n.nodeType===Node.ELEMENT_NODE?r=this.startElement(n):n.nodeType===Node.TEXT_NODE?this.chars(n.nodeValue):this.sanitizedSomething=!0,r&&n.firstChild)n=n.firstChild;else for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let i=this.checkClobberedElement(n,n.nextSibling);if(i){n=i;break}n=this.checkClobberedElement(n,n.parentNode)}return this.buf.join("")}startElement(t){const n=t.nodeName.toLowerCase();if(!Wl.hasOwnProperty(n))return this.sanitizedSomething=!0,!A_.hasOwnProperty(n);this.buf.push("<"),this.buf.push(n);const r=t.attributes;for(let i=0;i<r.length;i++){const s=r.item(i),o=s.name,h=o.toLowerCase();if(!jd.hasOwnProperty(h)){this.sanitizedSomething=!0;continue}let g=s.value;Kl[h]&&(g=Ra(g)),this.buf.push(" ",o,'="',Hd(g),'"')}return this.buf.push(">"),!0}endElement(t){const n=t.nodeName.toLowerCase();Wl.hasOwnProperty(n)&&!Bd.hasOwnProperty(n)&&(this.buf.push("</"),this.buf.push(n),this.buf.push(">"))}chars(t){this.buf.push(Hd(t))}checkClobberedElement(t,n){if(n&&(t.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${t.outerHTML}`);return n}}const O_=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,P_=/([^\#-~ |!])/g;function Hd(e){return e.replace(/&/g,"&amp;").replace(O_,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(P_,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}let xa;function $d(e,t){let n=null;try{xa=xa||function kd(e){const t=new M_(e);return function S_(){try{return!!(new window.DOMParser).parseFromString(Ns(""),"text/html")}catch{return!1}}()?new w_(t):t}(e);let r=t?String(t):"";n=xa.getInertBodyElement(r);let i=5,s=r;do{if(0===i)throw new Error("Failed to sanitize html because the input is unstable");i--,r=s,s=n.innerHTML,n=xa.getInertBodyElement(r)}while(r!==s);return Ns((new I_).sanitizeChildren(Gl(n)||n))}finally{if(n){const r=Gl(n)||n;for(;r.firstChild;)r.removeChild(r.firstChild)}}}function Gl(e){return"content"in e&&function R_(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var Un=(()=>((Un=Un||{})[Un.NONE=0]="NONE",Un[Un.HTML=1]="HTML",Un[Un.STYLE=2]="STYLE",Un[Un.SCRIPT=3]="SCRIPT",Un[Un.URL=4]="URL",Un[Un.RESOURCE_URL=5]="RESOURCE_URL",Un))();function zd(e){const t=qo();return t?Ld(t.sanitize(Un.HTML,e)||""):lo(e,"HTML")?Ld(es(e)):$d(function xd(){return void 0!==$l?$l:typeof document<"u"?document:void 0}(),ie(e))}function Yl(e){const t=qo();return t?t.sanitize(Un.URL,e)||"":lo(e,"URL")?es(e):Ra(ie(e))}function qo(){const e=Xe();return e&&e[12]}const Zl=new Dn("ENVIRONMENT_INITIALIZER"),Kd=new Dn("INJECTOR",-1),Gd=new Dn("INJECTOR_DEF_TYPES");class Yd{get(t,n=Ho){if(n===Ho){const r=new Error(`NullInjectorError: No provider for ${G(t)}!`);throw r.name="NullInjectorError",r}return n}}function U_(...e){return{\u0275providers:Zd(0,e)}}function Zd(e,...t){const n=[],r=new Set;let i;return Yr(t,s=>{const o=s;Ql(o,n,[],r)&&(i||(i=[]),i.push(o))}),void 0!==i&&Qd(i,n),n}function Qd(e,t){for(let n=0;n<e.length;n++){const{providers:i}=e[n];Yr(i,s=>{t.push(s)})}}function Ql(e,t,n,r){if(!(e=U(e)))return!1;let i=null,s=Et(e);const o=!s&&Ht(e);if(s||o){if(o&&!o.standalone)return!1;i=e}else{const g=e.ngModule;if(s=Et(g),!s)return!1;i=g}const h=r.has(i);if(o){if(h)return!1;if(r.add(i),o.dependencies){const g="function"==typeof o.dependencies?o.dependencies():o.dependencies;for(const C of g)Ql(C,t,n,r)}}else{if(!s)return!1;{if(null!=s.imports&&!h){let C;r.add(i);try{Yr(s.imports,I=>{Ql(I,t,n,r)&&(C||(C=[]),C.push(I))})}finally{}void 0!==C&&Qd(C,t)}if(!h){const C=sr(i)||(()=>new i);t.push({provide:i,useFactory:C,deps:Je},{provide:Gd,useValue:i,multi:!0},{provide:Zl,useValue:()=>Wn(i),multi:!0})}const g=s.providers;null==g||h||Yr(g,I=>{t.push(I)})}}return i!==e&&void 0!==e.providers}const V_=N({provide:String,useValue:N});function Xl(e){return null!==e&&"object"==typeof e&&V_ in e}function Bs(e){return"function"==typeof e}const Jl=new Dn("Set Injector scope."),La={},H_={};let ql;function Fa(){return void 0===ql&&(ql=new Yd),ql}class Us{}class qd extends Us{constructor(t,n,r,i){super(),this.parent=n,this.source=r,this.scopes=i,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,tc(t,o=>this.processProvider(o)),this.records.set(Kd,co(void 0,this)),i.has("environment")&&this.records.set(Us,co(void 0,this));const s=this.records.get(Jl);null!=s&&"string"==typeof s.value&&this.scopes.add(s.value),this.injectorDefTypes=new Set(this.get(Gd.multi,Je,Ve.Self))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const t of this._ngOnDestroyHooks)t.ngOnDestroy();for(const t of this._onDestroyHooks)t()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),this._onDestroyHooks.length=0}}onDestroy(t){this._onDestroyHooks.push(t)}runInContext(t){this.assertNotDestroyed();const n=so(this),r=w(void 0);try{return t()}finally{so(n),w(r)}}get(t,n=Ho,r=Ve.Default){this.assertNotDestroyed();const i=so(this),s=w(void 0);try{if(!(r&Ve.SkipSelf)){let h=this.records.get(t);if(void 0===h){const g=function G_(e){return"function"==typeof e||"object"==typeof e&&e instanceof Dn}(t)&&Ze(t);h=g&&this.injectableDefInScope(g)?co(ec(t),La):null,this.records.set(t,h)}if(null!=h)return this.hydrate(t,h)}return(r&Ve.Self?Fa():this.parent).get(t,n=r&Ve.Optional&&n===Ho?null:n)}catch(o){if("NullInjectorError"===o.name){if((o[ba]=o[ba]||[]).unshift(G(t)),i)throw o;return function _m(e,t,n,r){const i=e[ba];throw t[Qu]&&i.unshift(t[Qu]),e.message=function ym(e,t,n,r=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let i=G(t);if(Array.isArray(t))i=t.map(G).join(" -> ");else if("object"==typeof t){let s=[];for(let o in t)if(t.hasOwnProperty(o)){let h=t[o];s.push(o+":"+("string"==typeof h?JSON.stringify(h):G(h)))}i=`{${s.join(", ")}}`}return`${n}${r?"("+r+")":""}[${i}]: ${e.replace(fm,"\n ")}`}("\n"+e.message,i,n,r),e.ngTokenPath=i,e[ba]=null,e}(o,t,"R3InjectorError",this.source)}throw o}finally{w(s),so(i)}}resolveInjectorInitializers(){const t=so(this),n=w(void 0);try{const r=this.get(Zl.multi,Je,Ve.Self);for(const i of r)i()}finally{so(t),w(n)}}toString(){const t=[],n=this.records;for(const r of n.keys())t.push(G(r));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new ye(205,!1)}processProvider(t){let n=Bs(t=U(t))?t:U(t&&t.provide);const r=function z_(e){return Xl(e)?co(void 0,e.useValue):co(eh(e),La)}(t);if(Bs(t)||!0!==t.multi)this.records.get(n);else{let i=this.records.get(n);i||(i=co(void 0,La,!0),i.factory=()=>Cl(i.multi),this.records.set(n,i)),n=t,i.multi.push(t)}this.records.set(n,r)}hydrate(t,n){return n.value===La&&(n.value=H_,n.value=n.factory()),"object"==typeof n.value&&n.value&&function K_(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}injectableDefInScope(t){if(!t.providedIn)return!1;const n=U(t.providedIn);return"string"==typeof n?"any"===n||this.scopes.has(n):this.injectorDefTypes.has(n)}}function ec(e){const t=Ze(e),n=null!==t?t.factory:sr(e);if(null!==n)return n;if(e instanceof Dn)throw new ye(204,!1);if(e instanceof Function)return function $_(e){const t=e.length;if(t>0)throw u(t,"?"),new ye(204,!1);const n=function lt(e){const t=e&&(e[tn]||e[kt]);if(t){const n=function St(e){if(e.hasOwnProperty("name"))return e.name;const t=(""+e).match(/^function\s*([^\s(]+)/);return null===t?"":t[1]}(e);return console.warn(`DEPRECATED: DI is instantiating a token "${n}" that inherits its @Injectable decorator but does not provide one itself.\nThis will become an error in a future version of Angular. Please add @Injectable() to the "${n}" class.`),t}return null}(e);return null!==n?()=>n.factory(e):()=>new e}(e);throw new ye(204,!1)}function eh(e,t,n){let r;if(Bs(e)){const i=U(e);return sr(i)||ec(i)}if(Xl(e))r=()=>U(e.useValue);else if(function Jd(e){return!(!e||!e.useFactory)}(e))r=()=>e.useFactory(...Cl(e.deps||[]));else if(function Xd(e){return!(!e||!e.useExisting)}(e))r=()=>Wn(U(e.useExisting));else{const i=U(e&&(e.useClass||e.provide));if(!function W_(e){return!!e.deps}(e))return sr(i)||ec(i);r=()=>new i(...Cl(e.deps))}return r}function co(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function Y_(e){return!!e.\u0275providers}function tc(e,t){for(const n of e)Array.isArray(n)?tc(n,t):Y_(n)?tc(n.\u0275providers,t):t(n)}class th{}class X_{resolveComponentFactory(t){throw function Q_(e){const t=Error(`No component factory found for ${G(e)}. Did you add it to @NgModule.entryComponents?`);return t.ngComponent=e,t}(t)}}let ea=(()=>{class e{}return e.NULL=new X_,e})();function J_(){return uo(In(),Xe())}function uo(e,t){return new ta(Hn(e,t))}let ta=(()=>{class e{constructor(n){this.nativeElement=n}}return e.__NG_ELEMENT_ID__=J_,e})();function q_(e){return e instanceof ta?e.nativeElement:e}class rh{}let ey=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>function ty(){const e=Xe(),n=Nn(In().index,e);return(An(n)?n:e)[11]}(),e})(),ny=(()=>{class e{}return e.\u0275prov=q({token:e,providedIn:"root",factory:()=>null}),e})();class ih{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const ry=new ih("14.3.0"),nc={};function ic(e){return e.ngOriginalError}class na{constructor(){this._console=console}handleError(t){const n=this._findOriginalError(t);this._console.error("ERROR",t),n&&this._console.error("ORIGINAL ERROR",n)}_findOriginalError(t){let n=t&&ic(t);for(;n&&ic(n);)n=ic(n);return n||null}}function sh(e){return e.ownerDocument.defaultView}function ns(e){return e instanceof Function?e():e}function ah(e,t,n){let r=e.length;for(;;){const i=e.indexOf(t,n);if(-1===i)return i;if(0===i||e.charCodeAt(i-1)<=32){const s=t.length;if(i+s===r||e.charCodeAt(i+s)<=32)return i}n=i+1}}const lh="ng-template";function fy(e,t,n){let r=0;for(;r<e.length;){let i=e[r++];if(n&&"class"===i){if(i=e[r],-1!==ah(i.toLowerCase(),t,0))return!0}else if(1===i){for(;r<e.length&&"string"==typeof(i=e[r++]);)if(i.toLowerCase()===t)return!0;return!1}}return!1}function ch(e){return 4===e.type&&e.value!==lh}function py(e,t,n){return t===(4!==e.type||n?e.value:lh)}function gy(e,t,n){let r=4;const i=e.attrs||[],s=function yy(e){for(let t=0;t<e.length;t++)if(se(e[t]))return t;return e.length}(i);let o=!1;for(let h=0;h<t.length;h++){const g=t[h];if("number"!=typeof g){if(!o)if(4&r){if(r=2|1&r,""!==g&&!py(e,g,n)||""===g&&1===t.length){if(di(r))return!1;o=!0}}else{const C=8&r?g:t[++h];if(8&r&&null!==e.attrs){if(!fy(e.attrs,C,n)){if(di(r))return!1;o=!0}continue}const j=my(8&r?"class":g,i,ch(e),n);if(-1===j){if(di(r))return!1;o=!0;continue}if(""!==C){let ge;ge=j>s?"":i[j+1].toLowerCase();const Le=8&r?ge:null;if(Le&&-1!==ah(Le,C,0)||2&r&&C!==ge){if(di(r))return!1;o=!0}}}}else{if(!o&&!di(r)&&!di(g))return!1;if(o&&di(g))continue;o=!1,r=g|1&r}}return di(r)||o}function di(e){return 0==(1&e)}function my(e,t,n,r){if(null===t)return-1;let i=0;if(r||!n){let s=!1;for(;i<t.length;){const o=t[i];if(o===e)return i;if(3===o||6===o)s=!0;else{if(1===o||2===o){let h=t[++i];for(;"string"==typeof h;)h=t[++i];continue}if(4===o)break;if(0===o){i+=4;continue}}i+=s?1:2}return-1}return function vy(e,t){let n=e.indexOf(4);if(n>-1)for(n++;n<e.length;){const r=e[n];if("number"==typeof r)return-1;if(r===t)return n;n++}return-1}(t,e)}function uh(e,t,n=!1){for(let r=0;r<t.length;r++)if(gy(e,t[r],n))return!0;return!1}function Dy(e,t){e:for(let n=0;n<t.length;n++){const r=t[n];if(e.length===r.length){for(let i=0;i<e.length;i++)if(e[i]!==r[i])continue e;return!0}}return!1}function dh(e,t){return e?":not("+t.trim()+")":t}function Ey(e){let t=e[0],n=1,r=2,i="",s=!1;for(;n<e.length;){let o=e[n];if("string"==typeof o)if(2&r){const h=e[++n];i+="["+o+(h.length>0?'="'+h+'"':"")+"]"}else 8&r?i+="."+o:4&r&&(i+=" "+o);else""!==i&&!di(o)&&(t+=dh(s,i),i=""),r=o,s=s||!di(r);n++}return""!==i&&(t+=dh(s,i)),t}const Qt={};function hh(e){fh(Kt(),Xe(),zn()+e,!1)}function fh(e,t,n,r){if(!r)if(3==(3&t[2])){const s=e.preOrderCheckHooks;null!==s&&We(t,s,n)}else{const s=e.preOrderHooks;null!==s&&dt(t,s,0,n)}M(n)}function _h(e,t=null,n=null,r){const i=yh(e,t,n,r);return i.resolveInjectorInitializers(),i}function yh(e,t=null,n=null,r,i=new Set){const s=[n||Je,U_(e)];return r=r||("object"==typeof e?void 0:G(e)),new qd(s,t||Fa(),r||null,i)}let Vs=(()=>{class e{static create(n,r){if(Array.isArray(n))return _h({name:""},r,n,"");{const i=n.name??"";return _h({name:i},n.parent,n.providers,i)}}}return e.THROW_IF_NOT_FOUND=Ho,e.NULL=new Yd,e.\u0275prov=q({token:e,providedIn:"any",factory:()=>Wn(Kd)}),e.__NG_ELEMENT_ID__=-1,e})();function po(e,t=Ve.Default){const n=Xe();return null===n?Wn(e,t):Lo(In(),n,U(e),t)}function Mh(){throw new Error("invalid")}function ka(e,t){return e<<17|t<<2}function hi(e){return e>>17&32767}function cc(e){return 2|e}function rs(e){return(131068&e)>>2}function uc(e,t){return-131069&e|t<<2}function dc(e){return 1|e}function Nh(e,t){const n=e.contentQueries;if(null!==n)for(let r=0;r<n.length;r+=2){const i=n[r],s=n[r+1];if(-1!==s){const o=e.data[s];br(i),o.contentQueries(2,t[s],s)}}}function Va(e,t,n,r,i,s,o,h,g,C,I){const j=t.blueprint.slice();return j[0]=i,j[2]=76|r,(null!==I||e&&1024&e[2])&&(j[2]|=1024),ar(j),j[3]=j[15]=e,j[8]=n,j[10]=o||e&&e[10],j[11]=h||e&&e[11],j[12]=g||e&&e[12]||null,j[9]=C||e&&e[9]||null,j[6]=s,j[20]=function Fm(){return Lm++}(),j[21]=I,j[16]=2==t.type?e[16]:j,j}function go(e,t,n,r,i){let s=e.data[t];if(null===s)s=function vc(e,t,n,r,i){const s=Kr(),o=gs(),g=e.data[t]=function rv(e,t,n,r,i,s){return{type:n,index:r,insertBeforeIndex:null,injectorIndex:t?t.injectorIndex:-1,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,propertyBindings:null,flags:0,providerIndexes:0,value:i,attrs:s,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tViews:null,next:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,o?s:s&&s.parent,n,t,r,i);return null===e.firstChild&&(e.firstChild=g),null!==s&&(o?null==s.child&&null!==g.parent&&(s.child=g):null===s.next&&(s.next=g)),g}(e,t,n,r,i),function to(){return vt.lFrame.inI18n}()&&(s.flags|=64);else if(64&s.type){s.type=n,s.value=r,s.attrs=i;const o=function si(){const e=vt.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}();s.injectorIndex=null===o?-1:o.injectorIndex}return lr(s,!0),s}function mo(e,t,n,r){if(0===n)return-1;const i=t.length;for(let s=0;s<n;s++)t.push(r),e.blueprint.push(r),e.data.push(null);return i}function Dc(e,t,n){ci(t);try{const r=e.viewQuery;null!==r&&Ac(1,r,n);const i=e.template;null!==i&&kh(e,t,i,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),e.staticContentQueries&&Nh(e,t),e.staticViewQueries&&Ac(2,e.viewQuery,n);const s=e.components;null!==s&&function ev(e,t){for(let n=0;n<t.length;n++)vv(e,t[n])}(t,s)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[2]&=-5,Gr()}}function ja(e,t,n,r){const i=t[2];if(128!=(128&i)){ci(t);try{ar(t),function Is(e){return vt.lFrame.bindingIndex=e}(e.bindingStartIndex),null!==n&&kh(e,t,n,2,r);const o=3==(3&i);if(o){const C=e.preOrderCheckHooks;null!==C&&We(t,C,null)}else{const C=e.preOrderHooks;null!==C&&dt(t,C,0,null),pt(t,0)}if(function _v(e){for(let t=Pl(e);null!==t;t=Rl(t)){if(!t[2])continue;const n=t[9];for(let r=0;r<n.length;r++){const i=n[r],s=i[3];0==(512&i[2])&&Ei(s,1),i[2]|=512}}}(t),function mv(e){for(let t=Pl(e);null!==t;t=Rl(t))for(let n=10;n<t.length;n++){const r=t[n],i=r[1];fr(r)&&ja(i,r,i.template,r[8])}}(t),null!==e.contentQueries&&Nh(e,t),o){const C=e.contentCheckHooks;null!==C&&We(t,C)}else{const C=e.contentHooks;null!==C&&dt(t,C,1),pt(t,1)}!function Jy(e,t){const n=e.hostBindingOpCodes;if(null!==n)try{for(let r=0;r<n.length;r++){const i=n[r];if(i<0)M(~i);else{const s=i,o=n[++r],h=n[++r];ys(o,s),h(2,t[s])}}}finally{M(-1)}}(e,t);const h=e.components;null!==h&&function qy(e,t){for(let n=0;n<t.length;n++)yv(e,t[n])}(t,h);const g=e.viewQuery;if(null!==g&&Ac(2,g,r),o){const C=e.viewCheckHooks;null!==C&&We(t,C)}else{const C=e.viewHooks;null!==C&&dt(t,C,2),pt(t,2)}!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),t[2]&=-41,512&t[2]&&(t[2]&=-513,Ei(t[3],-1))}finally{Gr()}}}function kh(e,t,n,r,i){const s=zn(),o=2&r;try{M(-1),o&&t.length>22&&fh(e,t,22,!1),n(r,i)}finally{M(s)}}function Bh(e,t,n){if(Ur(t)){const i=t.directiveEnd;for(let s=t.directiveStart;s<i;s++){const o=e.data[s];o.contentQueries&&o.contentQueries(1,n[s],s)}}}function Ec(e,t,n){!xr()||(function lv(e,t,n,r){const i=n.directiveStart,s=n.directiveEnd;e.firstCreatePass||wr(n,t),ur(r,t);const o=n.initialInputs;for(let h=i;h<s;h++){const g=e.data[h],C=qn(g);C&&fv(t,n,g);const I=Yi(t,e,h,n);ur(I,t),null!==o&&pv(0,h-i,I,g,0,o),C&&(Nn(n.index,t)[8]=I)}}(e,t,n,Hn(n,t)),128==(128&n.flags)&&function cv(e,t,n){const r=n.directiveStart,i=n.directiveEnd,s=n.index,o=function wi(){return vt.lFrame.currentDirectiveIndex}();try{M(s);for(let h=r;h<i;h++){const g=e.data[h],C=t[h];$i(h),(null!==g.hostBindings||0!==g.hostVars||null!==g.hostAttrs)&&Wh(g,C)}}finally{M(-1),$i(o)}}(e,t,n))}function Cc(e,t,n=Hn){const r=t.localNames;if(null!==r){let i=t.index+1;for(let s=0;s<r.length;s+=2){const o=r[s+1],h=-1===o?n(t,e):e[o];e[i++]=h}}}function Uh(e){const t=e.tView;return null===t||t.incompleteFirstPass?e.tView=bc(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts):t}function bc(e,t,n,r,i,s,o,h,g,C){const I=22+r,j=I+i,ge=function tv(e,t){const n=[];for(let r=0;r<t;r++)n.push(r<e?null:Qt);return n}(I,j),Le="function"==typeof C?C():C;return ge[1]={type:e,blueprint:ge,template:n,queries:null,viewQuery:h,declTNode:t,data:ge.slice().fill(null,I),bindingStartIndex:I,expandoStartIndex:j,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:"function"==typeof s?s():s,pipeRegistry:"function"==typeof o?o():o,firstChild:null,schemas:g,consts:Le,incompleteFirstPass:!1}}function Vh(e,t,n,r){const i=Qh(t);null===n?i.push(r):(i.push(n),e.firstCreatePass&&Xh(e).push(r,i.length-1))}function jh(e,t,n){for(let r in e)if(e.hasOwnProperty(r)){const i=e[r];(n=null===n?{}:n).hasOwnProperty(r)?n[r].push(t,i):n[r]=[t,i]}return n}function Hh(e,t){const r=t.directiveEnd,i=e.data,s=t.attrs,o=[];let h=null,g=null;for(let C=t.directiveStart;C<r;C++){const I=i[C],j=I.inputs,ge=null===s||ch(t)?null:gv(j,s);o.push(ge),h=jh(j,C,h),g=jh(I.outputs,C,g)}null!==h&&(h.hasOwnProperty("class")&&(t.flags|=16),h.hasOwnProperty("style")&&(t.flags|=32)),t.initialInputs=o,t.inputs=h,t.outputs=g}function Nr(e,t,n,r,i,s,o,h){const g=Hn(t,n);let I,C=t.inputs;!h&&null!=C&&(I=C[r])?(Ic(e,n,I,r,i),nr(t)&&$h(n,t.index)):3&t.type&&(r=function iv(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(r),i=null!=o?o(i,t.value||"",r):i,s.setProperty(g,r,i))}function $h(e,t){const n=Nn(t,e);16&n[2]||(n[2]|=32)}function wc(e,t,n,r){let i=!1;if(xr()){const s=function uv(e,t,n){const r=e.directiveRegistry;let i=null;if(r)for(let s=0;s<r.length;s++){const o=r[s];uh(n,o.selectors,!1)&&(i||(i=[]),Zn(wr(n,t),e,o.type),qn(o)?(Kh(e,n),i.unshift(o)):i.push(o))}return i}(e,t,n),o=null===r?null:{"":-1};if(null!==s){i=!0,Gh(n,e.data.length,s.length);for(let I=0;I<s.length;I++){const j=s[I];j.providersResolver&&j.providersResolver(j)}let h=!1,g=!1,C=mo(e,t,s.length,null);for(let I=0;I<s.length;I++){const j=s[I];n.mergedAttrs=Ge(n.mergedAttrs,j.hostAttrs),Yh(e,n,t,C,j),hv(C,j,o),null!==j.contentQueries&&(n.flags|=8),(null!==j.hostBindings||null!==j.hostAttrs||0!==j.hostVars)&&(n.flags|=128);const ge=j.type.prototype;!h&&(ge.ngOnChanges||ge.ngOnInit||ge.ngDoCheck)&&((e.preOrderHooks||(e.preOrderHooks=[])).push(n.index),h=!0),!g&&(ge.ngOnChanges||ge.ngDoCheck)&&((e.preOrderCheckHooks||(e.preOrderCheckHooks=[])).push(n.index),g=!0),C++}Hh(e,n)}o&&function dv(e,t,n){if(t){const r=e.localNames=[];for(let i=0;i<t.length;i+=2){const s=n[t[i+1]];if(null==s)throw new ye(-301,!1);r.push(t[i],s)}}}(n,r,o)}return n.mergedAttrs=Ge(n.mergedAttrs,n.attrs),i}function zh(e,t,n,r,i,s){const o=s.hostBindings;if(o){let h=e.hostBindingOpCodes;null===h&&(h=e.hostBindingOpCodes=[]);const g=~t.index;(function av(e){let t=e.length;for(;t>0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(h)!=g&&h.push(g),h.push(r,i,o)}}function Wh(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function Kh(e,t){t.flags|=2,(e.components||(e.components=[])).push(t.index)}function hv(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;qn(t)&&(n[""]=e)}}function Gh(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function Yh(e,t,n,r,i){e.data[r]=i;const s=i.factory||(i.factory=sr(i.type)),o=new Rt(s,qn(i),po);e.blueprint[r]=o,n[r]=o,zh(e,t,0,r,mo(e,n,i.hostVars,Qt),i)}function fv(e,t,n){const r=Hn(t,e),i=Uh(n),s=e[10],o=Ha(e,Va(e,i,null,n.onPush?32:16,r,t,s,s.createRenderer(r,n),null,null,null));e[t.index]=o}function Oi(e,t,n,r,i,s){const o=Hn(e,t);!function Mc(e,t,n,r,i,s,o){if(null==s)e.removeAttribute(t,i,n);else{const h=null==o?ie(s):o(s,r||"",i);e.setAttribute(t,i,h,n)}}(t[11],o,s,e.value,n,r,i)}function pv(e,t,n,r,i,s){const o=s[t];if(null!==o){const h=r.setInput;for(let g=0;g<o.length;){const C=o[g++],I=o[g++],j=o[g++];null!==h?r.setInput(n,j,C,I):n[I]=j}}}function gv(e,t){let n=null,r=0;for(;r<t.length;){const i=t[r];if(0!==i)if(5!==i){if("number"==typeof i)break;e.hasOwnProperty(i)&&(null===n&&(n=[]),n.push(i,e[i],t[r+1])),r+=2}else r+=2;else r+=4}return n}function Zh(e,t,n,r){return new Array(e,!0,!1,t,null,0,r,n,null,null)}function yv(e,t){const n=Nn(t,e);if(fr(n)){const r=n[1];48&n[2]?ja(r,n,r.template,n[8]):n[5]>0&&Sc(n)}}function Sc(e){for(let r=Pl(e);null!==r;r=Rl(r))for(let i=10;i<r.length;i++){const s=r[i];if(fr(s))if(512&s[2]){const o=s[1];ja(o,s,o.template,s[8])}else s[5]>0&&Sc(s)}const n=e[1].components;if(null!==n)for(let r=0;r<n.length;r++){const i=Nn(n[r],e);fr(i)&&i[5]>0&&Sc(i)}}function vv(e,t){const n=Nn(t,e),r=n[1];(function Dv(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])})(r,n),Dc(r,n,n[8])}function Ha(e,t){return e[13]?e[14][4]=t:e[13]=t,e[14]=t,t}function Tc(e){for(;e;){e[2]|=32;const t=Qo(e);if(ti(e)&&!t)return e;e=t}return null}function $a(e,t,n,r=!0){const i=t[10];i.begin&&i.begin();try{ja(e,t,e.template,n)}catch(o){throw r&&qh(t,o),o}finally{i.end&&i.end()}}function Ac(e,t,n){br(0),t(e,n)}function Qh(e){return e[7]||(e[7]=[])}function Xh(e){return e.cleanup||(e.cleanup=[])}function Jh(e,t,n){return(null===e||qn(e))&&(n=function Yn(e){for(;Array.isArray(e);){if("object"==typeof e[1])return e;e=e[0]}return null}(n[t.index])),n[11]}function qh(e,t){const n=e[9],r=n?n.get(na,null):null;r&&r.handleError(t)}function Ic(e,t,n,r,i){for(let s=0;s<n.length;){const o=n[s++],h=n[s++],g=t[o],C=e.data[o];null!==C.setInput?C.setInput(g,i,r,h):g[h]=i}}function is(e,t,n){const r=Dr(t,e);!function vd(e,t,n){e.setValue(t,n)}(e[11],r,n)}function za(e,t,n){let r=n?e.styles:null,i=n?e.classes:null,s=0;if(null!==t)for(let o=0;o<t.length;o++){const h=t[o];"number"==typeof h?s=h:1==s?i=Y(i,h):2==s&&(r=Y(r,h+": "+t[++o]+";"))}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=i:e.classesWithoutHost=i}function Wa(e,t,n,r,i=!1){for(;null!==n;){const s=t[n.index];if(null!==s&&r.push(bn(s)),Gn(s))for(let h=10;h<s.length;h++){const g=s[h],C=g[1].firstChild;null!==C&&Wa(g[1],g,C,r)}const o=n.type;if(8&o)Wa(e,t,n.child,r);else if(32&o){const h=Ol(n,t);let g;for(;g=h();)r.push(g)}else if(16&o){const h=Od(t,n);if(Array.isArray(h))r.push(...h);else{const g=Qo(t[16]);Wa(g[1],g,h,r,!0)}}n=i?n.projectionNext:n.next}return r}class ra{constructor(t,n){this._lView=t,this._cdRefInjectingView=n,this._appRef=null,this._attachedToViewContainer=!1}get rootNodes(){const t=this._lView,n=t[1];return Wa(n,t,n.firstChild,[])}get context(){return this._lView[8]}set context(t){this._lView[8]=t}get destroyed(){return 128==(128&this._lView[2])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const t=this._lView[3];if(Gn(t)){const n=t[8],r=n?n.indexOf(this):-1;r>-1&&(Fl(t,r),jo(n,r))}this._attachedToViewContainer=!1}Ed(this._lView[1],this._lView)}onDestroy(t){Vh(this._lView[1],this._lView,null,t)}markForCheck(){Tc(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-65}reattach(){this._lView[2]|=64}detectChanges(){$a(this._lView[1],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new ye(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function Jm(e,t){Xo(e,t,t[11],2,null,null)}(this._lView[1],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new ye(902,!1);this._appRef=t}}class Ev extends ra{constructor(t){super(t),this._view=t}detectChanges(){const t=this._view;$a(t[1],t,t[8],!1)}checkNoChanges(){}get context(){return null}}class Oc extends ea{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const n=Ht(t);return new ia(n,this.ngModule)}}function ef(e){const t=[];for(let n in e)e.hasOwnProperty(n)&&t.push({propName:e[n],templateName:n});return t}class bv{constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){const i=this.injector.get(t,nc,r);return i!==nc||n===nc?i:this.parentInjector.get(t,n,r)}}class ia extends th{constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=function Cy(e){return e.map(Ey).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!n}get inputs(){return ef(this.componentDef.inputs)}get outputs(){return ef(this.componentDef.outputs)}create(t,n,r,i){let s=(i=i||this.ngModule)instanceof Us?i:i?.injector;s&&null!==this.componentDef.getStandaloneInjector&&(s=this.componentDef.getStandaloneInjector(s)||s);const o=s?new bv(t,s):t,h=o.get(rh,null);if(null===h)throw new ye(407,!1);const g=o.get(ny,null),C=h.createRenderer(null,this.componentDef),I=this.componentDef.selectors[0][0]||"div",j=r?function nv(e,t,n){return e.selectRootElement(t,n===be.ShadowDom)}(C,r,this.componentDef.encapsulation):Ll(C,I,function Cv(e){const t=e.toLowerCase();return"svg"===t?"svg":"math"===t?"math":null}(I)),ge=this.componentDef.onPush?288:272,Le=bc(0,null,null,1,0,null,null,null,null,null),Ye=Va(null,Le,null,ge,null,null,h,C,g,o,null);let ot,ht;ci(Ye);try{const Dt=function Sv(e,t,n,r,i,s){const o=n[1];n[22]=e;const g=go(o,22,2,"#host",null),C=g.mergedAttrs=t.hostAttrs;null!==C&&(za(g,C,!0),null!==e&&(A(i,e,C),null!==g.classes&&jl(i,e,g.classes),null!==g.styles&&Rd(i,e,g.styles)));const I=r.createRenderer(e,t),j=Va(n,Uh(t),null,t.onPush?32:16,n[22],g,r,I,s||null,null,null);return o.firstCreatePass&&(Zn(wr(g,n),o,t.type),Kh(o,g),Gh(g,n.length,1)),Ha(n,j),n[22]=j}(j,this.componentDef,Ye,h,C);if(j)if(r)A(C,j,["ng-version",ry.full]);else{const{attrs:Nt,classes:qe}=function by(e){const t=[],n=[];let r=1,i=2;for(;r<e.length;){let s=e[r];if("string"==typeof s)2===i?""!==s&&t.push(s,e[++r]):8===i&&n.push(s);else{if(!di(i))break;i=s}r++}return{attrs:t,classes:n}}(this.componentDef.selectors[0]);Nt&&A(C,j,Nt),qe&&qe.length>0&&jl(C,j,qe.join(" "))}if(ht=ii(Le,22),void 0!==n){const Nt=ht.projection=[];for(let qe=0;qe<this.ngContentSelectors.length;qe++){const Vt=n[qe];Nt.push(null!=Vt?Array.from(Vt):null)}}ot=function Tv(e,t,n,r){const i=n[1],s=function ov(e,t,n){const r=In();e.firstCreatePass&&(n.providersResolver&&n.providersResolver(n),Yh(e,r,t,mo(e,t,1,null),n),Hh(e,r));const i=Yi(t,e,r.directiveStart,r);ur(i,t);const s=Hn(r,t);return s&&ur(s,t),i}(i,n,t);if(e[8]=n[8]=s,null!==r)for(const h of r)h(s,t);if(t.contentQueries){const h=In();t.contentQueries(1,s,h.directiveStart)}const o=In();return!i.firstCreatePass||null===t.hostBindings&&null===t.hostAttrs||(M(o.index),zh(n[1],o,0,o.directiveStart,o.directiveEnd,t),Wh(t,s)),s}(Dt,this.componentDef,Ye,[Av]),Dc(Le,Ye,null)}finally{Gr()}return new Mv(this.componentType,ot,uo(ht,Ye),Ye,ht)}}class Mv extends class Z_{}{constructor(t,n,r,i,s){super(),this.location=r,this._rootLView=i,this._tNode=s,this.instance=n,this.hostView=this.changeDetectorRef=new Ev(i),this.componentType=t}setInput(t,n){const r=this._tNode.inputs;let i;if(null!==r&&(i=r[t])){const s=this._rootLView;Ic(s[1],s,i,t,n),$h(s,this._tNode.index)}}get injector(){return new Zi(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}}function Av(){const e=In();Fe(Xe()[1],e)}function Pc(e){let t=function tf(e){return Object.getPrototypeOf(e.prototype).constructor}(e.type),n=!0;const r=[e];for(;t;){let i;if(qn(e))i=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new ye(903,!1);i=t.\u0275dir}if(i){if(n){r.push(i);const o=e;o.inputs=Rc(e.inputs),o.declaredInputs=Rc(e.declaredInputs),o.outputs=Rc(e.outputs);const h=i.hostBindings;h&&Rv(e,h);const g=i.viewQuery,C=i.contentQueries;if(g&&Ov(e,g),C&&Pv(e,C),te(e.inputs,i.inputs),te(e.declaredInputs,i.declaredInputs),te(e.outputs,i.outputs),qn(i)&&i.data.animation){const I=e.data;I.animation=(I.animation||[]).concat(i.data.animation)}}const s=i.features;if(s)for(let o=0;o<s.length;o++){const h=s[o];h&&h.ngInherit&&h(e),h===Pc&&(n=!1)}}t=Object.getPrototypeOf(t)}!function Iv(e){let t=0,n=null;for(let r=e.length-1;r>=0;r--){const i=e[r];i.hostVars=t+=i.hostVars,i.hostAttrs=Ge(i.hostAttrs,n=Ge(n,i.hostAttrs))}}(r)}function Rc(e){return e===Lt?{}:e===Je?[]:e}function Ov(e,t){const n=e.viewQuery;e.viewQuery=n?(r,i)=>{t(r,i),n(r,i)}:t}function Pv(e,t){const n=e.contentQueries;e.contentQueries=n?(r,i,s)=>{t(r,i,s),n(r,i,s)}:t}function Rv(e,t){const n=e.hostBindings;e.hostBindings=n?(r,i)=>{t(r,i),n(r,i)}:t}let Ka=null;function js(){if(!Ka){const e=xe.Symbol;if(e&&e.iterator)Ka=e.iterator;else{const t=Object.getOwnPropertyNames(Map.prototype);for(let n=0;n<t.length;++n){const r=t[n];"entries"!==r&&"size"!==r&&Map.prototype[r]===Map.prototype.entries&&(Ka=r)}}}return Ka}function sa(e){return!!xc(e)&&(Array.isArray(e)||!(e instanceof Map)&&js()in e)}function xc(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function Pi(e,t,n){return e[t]=n}function dr(e,t,n){return!Object.is(e[t],n)&&(e[t]=n,!0)}function Hs(e,t,n,r){const i=dr(e,t,n);return dr(e,t+1,r)||i}function Lc(e,t,n,r){const i=Xe();return dr(i,ai(),t)&&(Kt(),Oi(a(),i,e,t,n,r)),Lc}function yo(e,t,n,r){return dr(e,ai(),n)?t+ie(n)+r:Qt}function vo(e,t,n,r,i,s){const h=Hs(e,Cr(),n,i);return pr(2),h?t+ie(n)+r+ie(i)+s:Qt}function Do(e,t,n,r,i,s,o,h){const C=function Ga(e,t,n,r,i){const s=Hs(e,t,n,r);return dr(e,t+2,i)||s}(e,Cr(),n,i,o);return pr(3),C?t+ie(n)+r+ie(i)+s+ie(o)+h:Qt}function Eo(e,t,n,r,i,s,o,h,g,C){const j=function Zr(e,t,n,r,i,s){const o=Hs(e,t,n,r);return Hs(e,t+2,i,s)||o}(e,Cr(),n,i,o,g);return pr(4),j?t+ie(n)+r+ie(i)+s+ie(o)+h+ie(g)+C:Qt}function ff(e,t,n,r,i,s,o,h){const g=Xe(),C=Kt(),I=e+22,j=C.firstCreatePass?function Vv(e,t,n,r,i,s,o,h,g){const C=t.consts,I=go(t,e,4,o||null,or(C,h));wc(t,n,I,or(C,g)),Fe(t,I);const j=I.tViews=bc(2,I,r,i,s,t.directiveRegistry,t.pipeRegistry,null,t.schemas,C);return null!==t.queries&&(t.queries.template(t,I),j.queries=t.queries.embeddedTView(I)),I}(I,C,g,t,n,r,i,s,o):C.data[I];lr(j,!1);const ge=g[11].createComment("");Aa(C,g,ge,j),ur(ge,g),Ha(g,g[I]=Zh(ge,g,ge,j)),Ir(j)&&Ec(C,g,j),null!=o&&Cc(g,j,h)}function pf(e){return Rr(function pn(){return vt.lFrame.contextLView}(),22+e)}function Fc(e,t,n){const r=Xe();return dr(r,ai(),t)&&Nr(Kt(),a(),r,e,t,r[11],n,!1),Fc}function Nc(e,t,n,r,i){const o=i?"class":"style";Ic(e,n,t.inputs[o],o,r)}function Ya(e,t,n,r){const i=Xe(),s=Kt(),o=22+e,h=i[11],g=i[o]=Ll(h,t,function le(){return vt.lFrame.currentNamespace}()),C=s.firstCreatePass?function Hv(e,t,n,r,i,s,o){const h=t.consts,C=go(t,e,2,i,or(h,s));return wc(t,n,C,or(h,o)),null!==C.attrs&&za(C,C.attrs,!1),null!==C.mergedAttrs&&za(C,C.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,C),C}(o,s,i,0,t,n,r):s.data[o];lr(C,!0);const I=C.mergedAttrs;null!==I&&A(h,g,I);const j=C.classes;null!==j&&jl(h,g,j);const ge=C.styles;return null!==ge&&Rd(h,g,ge),64!=(64&C.flags)&&Aa(s,i,g,C),0===function qs(){return vt.lFrame.elementDepthCount}()&&ur(g,i),function fs(){vt.lFrame.elementDepthCount++}(),Ir(C)&&(Ec(s,i,C),Bh(s,C,i)),null!==r&&Cc(i,C),Ya}function Za(){let e=In();gs()?Hi():(e=e.parent,lr(e,!1));const t=e;!function Wr(){vt.lFrame.elementDepthCount--}();const n=Kt();return n.firstCreatePass&&(Fe(n,e),Ur(e)&&n.queries.elementEnd(e)),null!=t.classesWithoutHost&&function Rn(e){return 0!=(16&e.flags)}(t)&&Nc(n,t,Xe(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function p(e){return 0!=(32&e.flags)}(t)&&Nc(n,t,Xe(),t.stylesWithoutHost,!1),Za}function kc(e,t,n,r){return Ya(e,t,n,r),Za(),kc}function Qa(e,t,n){const r=Xe(),i=Kt(),s=e+22,o=i.firstCreatePass?function $v(e,t,n,r,i){const s=t.consts,o=or(s,r),h=go(t,e,8,"ng-container",o);return null!==o&&za(h,o,!0),wc(t,n,h,or(s,i)),null!==t.queries&&t.queries.elementStart(t,h),h}(s,i,r,t,n):i.data[s];lr(o,!0);const h=r[s]=r[11].createComment("");return Aa(i,r,h,o),ur(h,r),Ir(o)&&(Ec(i,r,o),Bh(i,o,r)),null!=n&&Cc(r,o),Qa}function Xa(){let e=In();const t=Kt();return gs()?Hi():(e=e.parent,lr(e,!1)),t.firstCreatePass&&(Fe(t,e),Ur(e)&&t.queries.elementEnd(e)),Xa}function Bc(e,t,n){return Qa(e,t,n),Xa(),Bc}function gf(){return Xe()}function Uc(e){return!!e&&"function"==typeof e.then}function mf(e){return!!e&&"function"==typeof e.subscribe}const _f=mf;function Vc(e,t,n,r){const i=Xe(),s=Kt(),o=In();return yf(s,i,i[11],o,e,t,0,r),Vc}function jc(e,t){const n=In(),r=Xe(),i=Kt();return yf(i,r,Jh(Mi(i.data),n,r),n,e,t),jc}function yf(e,t,n,r,i,s,o,h){const g=Ir(r),I=e.firstCreatePass&&Xh(e),j=t[8],ge=Qh(t);let Le=!0;if(3&r.type||h){const ht=Hn(r,t),Dt=h?h(ht):ht,Nt=ge.length,qe=h?_n=>h(bn(_n[r.index])):r.index;let Vt=null;if(!h&&g&&(Vt=function zv(e,t,n,r){const i=e.cleanup;if(null!=i)for(let s=0;s<i.length-1;s+=2){const o=i[s];if(o===n&&i[s+1]===r){const h=t[7],g=i[s+2];return h.length>g?h[g]:null}"string"==typeof o&&(s+=2)}return null}(e,t,i,r.index)),null!==Vt)(Vt.__ngLastListenerFn__||Vt).__ngNextListenerFn__=s,Vt.__ngLastListenerFn__=s,Le=!1;else{s=Df(r,t,j,s,!1);const _n=n.listen(Dt,i,s);ge.push(s,_n),I&&I.push(i,qe,Nt,Nt+1)}}else s=Df(r,t,j,s,!1);const Ye=r.outputs;let ot;if(Le&&null!==Ye&&(ot=Ye[i])){const ht=ot.length;if(ht)for(let Dt=0;Dt<ht;Dt+=2){const On=t[ot[Dt]][ot[Dt+1]].subscribe(s),Ws=ge.length;ge.push(s,On),I&&I.push(i,r.index,Ws,-(Ws+1))}}}function vf(e,t,n,r){try{return!1!==n(r)}catch(i){return qh(e,i),!1}}function Df(e,t,n,r,i){return function s(o){if(o===Function)return r;Tc(2&e.flags?Nn(e.index,t):t);let g=vf(t,0,r,o),C=s.__ngNextListenerFn__;for(;C;)g=vf(t,0,C,o)&&g,C=C.__ngNextListenerFn__;return i&&!1===g&&(o.preventDefault(),o.returnValue=!1),g}}function Ef(e=1){return function Ki(e){return(vt.lFrame.contextLView=function Gi(e,t){for(;e>0;)t=t[15],e--;return t}(e,vt.lFrame.contextLView))[8]}(e)}function Wv(e,t){let n=null;const r=function _y(e){const t=e.attrs;if(null!=t){const n=t.indexOf(5);if(0==(1&n))return t[n+1]}return null}(e);for(let i=0;i<t.length;i++){const s=t[i];if("*"!==s){if(null===r?uh(e,s,!0):Dy(r,s))return i}else n=i}return n}function Cf(e){const t=Xe()[16][6];if(!t.projection){const r=t.projection=u(e?e.length:1,null),i=r.slice();let s=t.child;for(;null!==s;){const o=e?Wv(s,e):0;null!==o&&(i[o]?i[o].projectionNext=s:r[o]=s,i[o]=s),s=s.next}}}function bf(e,t=0,n){const r=Xe(),i=Kt(),s=go(i,22+e,16,null,n||null);null===s.projection&&(s.projection=t),Hi(),64!=(64&s.flags)&&function o_(e,t,n){Pd(t[11],0,t,n,Cd(e,n,t),Sd(n.parent||t[6],n,t))}(i,r,s)}function Hc(e,t,n){return Ja(e,"",t,"",n),Hc}function Ja(e,t,n,r,i){const s=Xe(),o=yo(s,t,n,r);return o!==Qt&&Nr(Kt(),a(),s,e,o,s[11],i,!1),Ja}function $c(e,t,n,r,i,s,o){const h=Xe(),g=vo(h,t,n,r,i,s);return g!==Qt&&Nr(Kt(),a(),h,e,g,h[11],o,!1),$c}function zc(e,t,n,r,i,s,o,h,g){const C=Xe(),I=Do(C,t,n,r,i,s,o,h);return I!==Qt&&Nr(Kt(),a(),C,e,I,C[11],g,!1),zc}function Wc(e,t,n,r,i,s,o,h,g,C,I){const j=Xe(),ge=Eo(j,t,n,r,i,s,o,h,g,C);return ge!==Qt&&Nr(Kt(),a(),j,e,ge,j[11],I,!1),Wc}function If(e,t,n,r,i){const s=e[n+1],o=null===t;let h=r?hi(s):rs(s),g=!1;for(;0!==h&&(!1===g||o);){const I=e[h+1];Yv(e[h],t)&&(g=!0,e[h+1]=r?dc(I):cc(I)),h=r?hi(I):rs(I)}g&&(e[n+1]=r?cc(s):dc(s))}function Yv(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&at(e,t)>=0}const Qn={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Of(e){return e.substring(Qn.key,Qn.keyEnd)}function Zv(e){return e.substring(Qn.value,Qn.valueEnd)}function Pf(e,t){const n=Qn.textEnd;return n===t?-1:(t=Qn.keyEnd=function Jv(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}(e,Qn.key=t,n),So(e,t,n))}function Rf(e,t){const n=Qn.textEnd;let r=Qn.key=So(e,t,n);return n===r?-1:(r=Qn.keyEnd=function qv(e,t,n){let r;for(;t<n&&(45===(r=e.charCodeAt(t))||95===r||(-33&r)>=65&&(-33&r)<=90||r>=48&&r<=57);)t++;return t}(e,r,n),r=Lf(e,r,n),r=Qn.value=So(e,r,n),r=Qn.valueEnd=function eD(e,t,n){let r=-1,i=-1,s=-1,o=t,h=o;for(;o<n;){const g=e.charCodeAt(o++);if(59===g)return h;34===g||39===g?h=o=Ff(e,g,o,n):t===o-4&&85===s&&82===i&&76===r&&40===g?h=o=Ff(e,41,o,n):g>32&&(h=o),s=i,i=r,r=-33&g}return h}(e,r,n),Lf(e,r,n))}function xf(e){Qn.key=0,Qn.keyEnd=0,Qn.value=0,Qn.valueEnd=0,Qn.textEnd=e.length}function So(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function Lf(e,t,n,r){return(t=So(e,t,n))<n&&t++,t}function Ff(e,t,n,r){let i=-1,s=n;for(;s<r;){const o=e.charCodeAt(s++);if(o==t&&92!==i)return s;i=92==o&&92===i?0:o}throw new Error}function Kc(e,t,n){return pi(e,t,n,!1),Kc}function Gc(e,t){return pi(e,t,null,!0),Gc}function fi(e){gi(Bf,tD,e,!1)}function tD(e,t){for(let n=function Xv(e){return xf(e),Rf(e,So(e,0,Qn.textEnd))}(t);n>=0;n=Rf(t,n))Bf(e,Of(t),Zv(t))}function Ri(e,t){for(let n=function Qv(e){return xf(e),Pf(e,So(e,0,Qn.textEnd))}(t);n>=0;n=Pf(t,n))J(e,Of(t),!0)}function pi(e,t,n,r){const i=Xe(),s=Kt(),o=pr(2);s.firstUpdatePass&&kf(s,e,o,r),t!==Qt&&dr(i,o,t)&&Uf(s,s.data[zn()],i,i[11],e,i[o+1]=function cD(e,t){return null==e||("string"==typeof t?e+=t:"object"==typeof e&&(e=G(es(e)))),e}(t,n),r,o)}function gi(e,t,n,r){const i=Kt(),s=pr(2);i.firstUpdatePass&&kf(i,null,s,r);const o=Xe();if(n!==Qt&&dr(o,s,n)){const h=i.data[zn()];if(jf(h,r)&&!Nf(i,s)){let g=r?h.classesWithoutHost:h.stylesWithoutHost;null!==g&&(n=Y(g,n||"")),Nc(i,h,o,n,r)}else!function lD(e,t,n,r,i,s,o,h){i===Qt&&(i=Je);let g=0,C=0,I=0<i.length?i[0]:null,j=0<s.length?s[0]:null;for(;null!==I||null!==j;){const ge=g<i.length?i[g+1]:void 0,Le=C<s.length?s[C+1]:void 0;let ot,Ye=null;I===j?(g+=2,C+=2,ge!==Le&&(Ye=j,ot=Le)):null===j||null!==I&&I<j?(g+=2,Ye=I):(C+=2,Ye=j,ot=Le),null!==Ye&&Uf(e,t,n,r,Ye,ot,o,h),I=g<i.length?i[g]:null,j=C<s.length?s[C]:null}}(i,h,o,o[11],o[s+1],o[s+1]=function aD(e,t,n){if(null==n||""===n)return Je;const r=[],i=es(n);if(Array.isArray(i))for(let s=0;s<i.length;s++)e(r,i[s],!0);else if("object"==typeof i)for(const s in i)i.hasOwnProperty(s)&&e(r,s,i[s]);else"string"==typeof i&&t(r,i);return r}(e,t,n),r,s)}}function Nf(e,t){return t>=e.expandoStartIndex}function kf(e,t,n,r){const i=e.data;if(null===i[n+1]){const s=i[zn()],o=Nf(e,n);jf(s,r)&&null===t&&!o&&(t=!1),t=function rD(e,t,n,r){const i=Mi(e);let s=r?t.residualClasses:t.residualStyles;if(null===i)0===(r?t.classBindings:t.styleBindings)&&(n=aa(n=Yc(null,e,t,n,r),t.attrs,r),s=null);else{const o=t.directiveStylingLast;if(-1===o||e[o]!==i)if(n=Yc(i,e,t,n,r),null===s){let g=function iD(e,t,n){const r=n?t.classBindings:t.styleBindings;if(0!==rs(r))return e[hi(r)]}(e,t,r);void 0!==g&&Array.isArray(g)&&(g=Yc(null,e,t,g[1],r),g=aa(g,t.attrs,r),function sD(e,t,n,r){e[hi(n?t.classBindings:t.styleBindings)]=r}(e,t,r,g))}else s=function oD(e,t,n){let r;const i=t.directiveEnd;for(let s=1+t.directiveStylingLast;s<i;s++)r=aa(r,e[s].hostAttrs,n);return aa(r,t.attrs,n)}(e,t,r)}return void 0!==s&&(r?t.residualClasses=s:t.residualStyles=s),n}(i,s,t,r),function Kv(e,t,n,r,i,s){let o=s?t.classBindings:t.styleBindings,h=hi(o),g=rs(o);e[r]=n;let I,C=!1;if(Array.isArray(n)){const j=n;I=j[1],(null===I||at(j,I)>0)&&(C=!0)}else I=n;if(i)if(0!==g){const ge=hi(e[h+1]);e[r+1]=ka(ge,h),0!==ge&&(e[ge+1]=uc(e[ge+1],r)),e[h+1]=function Hy(e,t){return 131071&e|t<<17}(e[h+1],r)}else e[r+1]=ka(h,0),0!==h&&(e[h+1]=uc(e[h+1],r)),h=r;else e[r+1]=ka(g,0),0===h?h=r:e[g+1]=uc(e[g+1],r),g=r;C&&(e[r+1]=cc(e[r+1])),If(e,I,r,!0),If(e,I,r,!1),function Gv(e,t,n,r,i){const s=i?e.residualClasses:e.residualStyles;null!=s&&"string"==typeof t&&at(s,t)>=0&&(n[r+1]=dc(n[r+1]))}(t,I,e,r,s),o=ka(h,g),s?t.classBindings=o:t.styleBindings=o}(i,s,t,n,o,r)}}function Yc(e,t,n,r,i){let s=null;const o=n.directiveEnd;let h=n.directiveStylingLast;for(-1===h?h=n.directiveStart:h++;h<o&&(s=t[h],r=aa(r,s.hostAttrs,i),s!==e);)h++;return null!==e&&(n.directiveStylingLast=h),r}function aa(e,t,n){const r=n?1:2;let i=-1;if(null!==t)for(let s=0;s<t.length;s++){const o=t[s];"number"==typeof o?i=o:i===r&&(Array.isArray(e)||(e=void 0===e?[]:["",e]),J(e,o,!!n||t[++s]))}return void 0===e?null:e}function Bf(e,t,n){J(e,t,es(n))}function Uf(e,t,n,r,i,s,o,h){if(!(3&t.type))return;const g=e.data,C=g[h+1];qa(function Ah(e){return 1==(1&e)}(C)?Vf(g,t,n,i,rs(C),o):void 0)||(qa(s)||function Th(e){return 2==(2&e)}(C)&&(s=Vf(g,null,n,i,h,o)),function l_(e,t,n,r,i){if(t)i?e.addClass(n,r):e.removeClass(n,r);else{let s=-1===r.indexOf("-")?void 0:Ii.DashCase;null==i?e.removeStyle(n,r,s):("string"==typeof i&&i.endsWith("!important")&&(i=i.slice(0,-10),s|=Ii.Important),e.setStyle(n,r,i,s))}}(r,o,Dr(zn(),n),i,s))}function Vf(e,t,n,r,i,s){const o=null===t;let h;for(;i>0;){const g=e[i],C=Array.isArray(g),I=C?g[1]:g,j=null===I;let ge=n[i+1];ge===Qt&&(ge=j?Je:void 0);let Le=j?He(ge,r):I===r?ge:void 0;if(C&&!qa(Le)&&(Le=He(g,r)),qa(Le)&&(h=Le,o))return h;const Ye=e[i+1];i=o?hi(Ye):rs(Ye)}if(null!==t){let g=s?t.residualClasses:t.residualStyles;null!=g&&(h=He(g,r))}return h}function qa(e){return void 0!==e}function jf(e,t){return 0!=(e.flags&(t?16:32))}function Hf(e,t=""){const n=Xe(),r=Kt(),i=e+22,s=r.firstCreatePass?go(r,i,1,t,null):r.data[i],o=n[i]=function xl(e,t){return e.createText(t)}(n[11],t);Aa(r,n,o,s),lr(s,!1)}function Zc(e){return el("",e,""),Zc}function el(e,t,n){const r=Xe(),i=yo(r,e,t,n);return i!==Qt&&is(r,zn(),i),el}function Qc(e,t,n,r,i){const s=Xe(),o=vo(s,e,t,n,r,i);return o!==Qt&&is(s,zn(),o),Qc}function Xc(e,t,n,r,i,s,o){const h=Xe(),g=Do(h,e,t,n,r,i,s,o);return g!==Qt&&is(h,zn(),g),Xc}function Zf(e,t,n){gi(J,Ri,yo(Xe(),e,t,n),!0)}function Jc(e,t,n){const r=Xe();return dr(r,ai(),t)&&Nr(Kt(),a(),r,e,t,r[11],n,!0),Jc}function qc(e,t,n){const r=Xe();if(dr(r,ai(),t)){const s=Kt(),o=a();Nr(s,o,r,e,t,Jh(Mi(s.data),o,r),n,!0)}return qc}const $s=void 0;var AD=["en",[["a","p"],["AM","PM"],$s],[["AM","PM"],$s,$s],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],$s,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],$s,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",$s,"{1} 'at' {0}",$s],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function TD(e){const n=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length;return 1===n&&0===r?1:5}];let To={};function eu(e){const t=function ID(e){return e.toLowerCase().replace(/_/g,"-")}(e);let n=op(t);if(n)return n;const r=t.split("-")[0];if(n=op(r),n)return n;if("en"===r)return AD;throw new ye(701,!1)}function sp(e){return eu(e)[Ut.PluralCase]}function op(e){return e in To||(To[e]=xe.ng&&xe.ng.common&&xe.ng.common.locales&&xe.ng.common.locales[e]),To[e]}var Ut=(()=>((Ut=Ut||{})[Ut.LocaleId=0]="LocaleId",Ut[Ut.DayPeriodsFormat=1]="DayPeriodsFormat",Ut[Ut.DayPeriodsStandalone=2]="DayPeriodsStandalone",Ut[Ut.DaysFormat=3]="DaysFormat",Ut[Ut.DaysStandalone=4]="DaysStandalone",Ut[Ut.MonthsFormat=5]="MonthsFormat",Ut[Ut.MonthsStandalone=6]="MonthsStandalone",Ut[Ut.Eras=7]="Eras",Ut[Ut.FirstDayOfWeek=8]="FirstDayOfWeek",Ut[Ut.WeekendRange=9]="WeekendRange",Ut[Ut.DateFormat=10]="DateFormat",Ut[Ut.TimeFormat=11]="TimeFormat",Ut[Ut.DateTimeFormat=12]="DateTimeFormat",Ut[Ut.NumberSymbols=13]="NumberSymbols",Ut[Ut.NumberFormats=14]="NumberFormats",Ut[Ut.CurrencyCode=15]="CurrencyCode",Ut[Ut.CurrencySymbol=16]="CurrencySymbol",Ut[Ut.CurrencyName=17]="CurrencyName",Ut[Ut.Currencies=18]="Currencies",Ut[Ut.Directionality=19]="Directionality",Ut[Ut.PluralCase=20]="PluralCase",Ut[Ut.ExtraData=21]="ExtraData",Ut))();const Ao="en-US";let ap=Ao;function ru(e,t,n,r,i){if(e=U(e),Array.isArray(e))for(let s=0;s<e.length;s++)ru(e[s],t,n,r,i);else{const s=Kt(),o=Xe();let h=Bs(e)?e:U(e.provide),g=eh(e);const C=In(),I=1048575&C.providerIndexes,j=C.directiveStart,ge=C.providerIndexes>>20;if(Bs(e)||!e.multi){const Le=new Rt(g,i,po),Ye=su(h,t,i?I:I+ge,j);-1===Ye?(Zn(wr(C,o),s,h),iu(s,e,t.length),t.push(h),C.directiveStart++,C.directiveEnd++,i&&(C.providerIndexes+=1048576),n.push(Le),o.push(Le)):(n[Ye]=Le,o[Ye]=Le)}else{const Le=su(h,t,I+ge,j),Ye=su(h,t,I,I+ge),ot=Le>=0&&n[Le],ht=Ye>=0&&n[Ye];if(i&&!ht||!i&&!ot){Zn(wr(C,o),s,h);const Dt=function SE(e,t,n,r,i){const s=new Rt(e,n,po);return s.multi=[],s.index=t,s.componentProviders=0,Rp(s,i,r&&!n),s}(i?ME:wE,n.length,i,r,g);!i&&ht&&(n[Ye].providerFactory=Dt),iu(s,e,t.length,0),t.push(h),C.directiveStart++,C.directiveEnd++,i&&(C.providerIndexes+=1048576),n.push(Dt),o.push(Dt)}else iu(s,e,Le>-1?Le:Ye,Rp(n[i?Ye:Le],g,!i&&r));!i&&r&&ht&&n[Ye].componentProviders++}}}function iu(e,t,n,r){const i=Bs(t),s=function j_(e){return!!e.useClass}(t);if(i||s){const g=(s?U(t.useClass):t).prototype.ngOnDestroy;if(g){const C=e.destroyHooks||(e.destroyHooks=[]);if(!i&&t.multi){const I=C.indexOf(n);-1===I?C.push(n,[r,g]):C[I+1].push(r,g)}else C.push(n,g)}}}function Rp(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function su(e,t,n,r){for(let i=n;i<r;i++)if(t[i]===e)return i;return-1}function wE(e,t,n,r){return ou(this.multi,[])}function ME(e,t,n,r){const i=this.multi;let s;if(this.providerFactory){const o=this.providerFactory.componentProviders,h=Yi(n,n[1],this.providerFactory.index,r);s=h.slice(0,o),ou(i,s);for(let g=o;g<h.length;g++)s.push(h[g])}else s=[],ou(i,s);return s}function ou(e,t){for(let n=0;n<e.length;n++)t.push((0,e[n])());return t}function xp(e,t=[]){return n=>{n.providersResolver=(r,i)=>function bE(e,t,n){const r=Kt();if(r.firstCreatePass){const i=qn(e);ru(n,r.data,r.blueprint,i,!0),ru(t,r.data,r.blueprint,i,!1)}}(r,i?i(e):e,t)}}class Io{}class Lp{}function TE(e,t){return new Fp(e,t??null)}class Fp extends Io{constructor(t,n){super(),this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new Oc(this);const r=wn(t);this._bootstrapComponents=ns(r.bootstrap),this._r3Injector=yh(t,n,[{provide:Io,useValue:this},{provide:ea,useValue:this.componentFactoryResolver}],G(t),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(t)}get injector(){return this._r3Injector}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class au extends Lp{constructor(t){super(),this.moduleType=t}create(t){return new Fp(this.moduleType,t)}}class AE extends Io{constructor(t,n,r){super(),this.componentFactoryResolver=new Oc(this),this.instance=null;const i=new qd([...t,{provide:Io,useValue:this},{provide:ea,useValue:this.componentFactoryResolver}],n||Fa(),r,new Set(["environment"]));this.injector=i,i.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}}function lu(e,t,n=null){return new AE(e,t,n).injector}let IE=(()=>{class e{constructor(n){this._injector=n,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n.id)){const r=Zd(0,n.type),i=r.length>0?lu([r],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n.id,i)}return this.cachedInjectors.get(n.id)}ngOnDestroy(){try{for(const n of this.cachedInjectors.values())null!==n&&n.destroy()}finally{this.cachedInjectors.clear()}}}return e.\u0275prov=q({token:e,providedIn:"environment",factory:()=>new e(Wn(Us))}),e})();function Np(e){e.getStandaloneInjector=t=>t.get(IE).getOrCreateStandaloneInjector(e)}function $p(e,t,n){const r=$n()+e,i=Xe();return i[r]===Qt?Pi(i,r,n?t.call(n):t()):function oa(e,t){return e[t]}(i,r)}function zp(e,t,n,r){return Kp(Xe(),$n(),e,t,n,r)}function Wp(e,t,n,r,i){return Gp(Xe(),$n(),e,t,n,r,i)}function fa(e,t){const n=e[t];return n===Qt?void 0:n}function Kp(e,t,n,r,i,s){const o=t+n;return dr(e,o,i)?Pi(e,o+1,s?r.call(s,i):r(i)):fa(e,o+1)}function Gp(e,t,n,r,i,s,o){const h=t+n;return Hs(e,h,i,s)?Pi(e,h+2,o?r.call(o,i,s):r(i,s)):fa(e,h+2)}function Xp(e,t){const n=Kt();let r;const i=e+22;n.firstCreatePass?(r=function WE(e,t){if(t)for(let n=t.length-1;n>=0;n--){const r=t[n];if(e===r.name)return r}}(t,n.pipeRegistry),n.data[i]=r,r.onDestroy&&(n.destroyHooks||(n.destroyHooks=[])).push(i,r.onDestroy)):r=n.data[i];const s=r.factory||(r.factory=sr(r.type)),o=w(po);try{const h=ut(!1),g=s();return ut(h),function jv(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}(n,Xe(),i,g),g}finally{w(o)}}function Jp(e,t,n){const r=e+22,i=Xe(),s=Rr(i,r);return pa(i,r)?Kp(i,$n(),t,s.transform,n,s):s.transform(n)}function qp(e,t,n,r){const i=e+22,s=Xe(),o=Rr(s,i);return pa(s,i)?Gp(s,$n(),t,o.transform,n,r,o):o.transform(n,r)}function pa(e,t){return e[1].data[t].pure}function uu(e){return t=>{setTimeout(e,void 0,t)}}const xi=class ZE extends f.x{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,n,r){let i=t,s=n||(()=>null),o=r;if(t&&"object"==typeof t){const g=t;i=g.next?.bind(g),s=g.error?.bind(g),o=g.complete?.bind(g)}this.__isAsync&&(s=uu(s),i&&(i=uu(i)),o&&(o=uu(o)));const h=super.subscribe({next:i,error:s,complete:o});return t instanceof v.w0&&t.add(h),h}};function QE(){return this._results[js()]()}class sl{constructor(t=!1){this._emitDistinctChangesOnly=t,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const n=js(),r=sl.prototype;r[n]||(r[n]=QE)}get changes(){return this._changes||(this._changes=new xi)}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,n){return this._results.reduce(t,n)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,n){const r=this;r.dirty=!1;const i=gr(t);(this._changesDetected=!function Dl(e,t,n){if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++){let i=e[r],s=t[r];if(n&&(i=n(i),s=n(s)),s!==i)return!1}return!0}(r._results,i,n))&&(r._results=i,r.length=i.length,r.last=i[this.length-1],r.first=i[0])}notifyOnChanges(){this._changes&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}setDirty(){this.dirty=!0}destroy(){this.changes.complete(),this.changes.unsubscribe()}}let ga=(()=>{class e{}return e.__NG_ELEMENT_ID__=qE,e})();const XE=ga,JE=class extends XE{constructor(t,n,r){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=r}createEmbeddedView(t,n){const r=this._declarationTContainer.tViews,i=Va(this._declarationLView,r,t,16,null,r.declTNode,null,null,null,null,n||null);i[17]=this._declarationLView[this._declarationTContainer.index];const o=this._declarationLView[19];return null!==o&&(i[19]=o.createEmbeddedView(r)),Dc(r,i,t),new ra(i)}};function qE(){return ol(In(),Xe())}function ol(e,t){return 4&e.type?new JE(t,e,uo(e,t)):null}let al=(()=>{class e{}return e.__NG_ELEMENT_ID__=eC,e})();function eC(){return ng(In(),Xe())}const tC=al,eg=class extends tC{constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return uo(this._hostTNode,this._hostLView)}get injector(){return new Zi(this._hostTNode,this._hostLView)}get parentInjector(){const t=Mr(this._hostTNode,this._hostLView);if(Yt(t)){const n=tt(t,this._hostLView),r=Jt(t);return new Zi(n[1].data[r+8],n)}return new Zi(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=tg(this._lContainer);return null!==n&&n[t]||null}get length(){return this._lContainer.length-10}createEmbeddedView(t,n,r){let i,s;"number"==typeof r?i=r:null!=r&&(i=r.index,s=r.injector);const o=t.createEmbeddedView(n||{},s);return this.insert(o,i),o}createComponent(t,n,r,i,s){const o=t&&!function Ls(e){return"function"==typeof e}(t);let h;if(o)h=n;else{const j=n||{};h=j.index,r=j.injector,i=j.projectableNodes,s=j.environmentInjector||j.ngModuleRef}const g=o?t:new ia(Ht(t)),C=r||this.parentInjector;if(!s&&null==g.ngModule){const ge=(o?C:this.parentInjector).get(Us,null);ge&&(s=ge)}const I=g.create(C,i,void 0,s);return this.insert(I.hostView,h),I}insert(t,n){const r=t._lView,i=r[1];if(function er(e){return Gn(e[3])}(r)){const I=this.indexOf(t);if(-1!==I)this.detach(I);else{const j=r[3],ge=new eg(j,j[6],j[3]);ge.detach(ge.indexOf(t))}}const s=this._adjustIndex(n),o=this._lContainer;!function e_(e,t,n,r){const i=10+r,s=n.length;r>0&&(n[i-1][4]=t),r<s-10?(t[4]=n[i],Ea(n,10+r,t)):(n.push(t),t[4]=null),t[3]=n;const o=t[17];null!==o&&n!==o&&function t_(e,t){const n=e[9];t[16]!==t[3][3][16]&&(e[2]=!0),null===n?e[9]=[t]:n.push(t)}(o,t);const h=t[19];null!==h&&h.insertView(e),t[2]|=64}(i,r,o,s);const h=Bl(s,o),g=r[11],C=Ta(g,o[7]);return null!==C&&function Xm(e,t,n,r,i,s){r[0]=i,r[6]=t,Xo(e,r,n,1,i,s)}(i,o[6],g,r,C,h),t.attachToViewContainerRef(),Ea(du(o),s,t),t}move(t,n){return this.insert(t,n)}indexOf(t){const n=tg(this._lContainer);return null!==n?n.indexOf(t):-1}remove(t){const n=this._adjustIndex(t,-1),r=Fl(this._lContainer,n);r&&(jo(du(this._lContainer),n),Ed(r[1],r))}detach(t){const n=this._adjustIndex(t,-1),r=Fl(this._lContainer,n);return r&&null!=jo(du(this._lContainer),n)?new ra(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function tg(e){return e[8]}function du(e){return e[8]||(e[8]=[])}function ng(e,t){let n;const r=t[e.index];if(Gn(r))n=r;else{let i;if(8&e.type)i=bn(r);else{const s=t[11];i=s.createComment("");const o=Hn(e,t);Fs(s,Ta(s,o),i,function s_(e,t){return e.nextSibling(t)}(s,o),!1)}t[e.index]=n=Zh(r,t,i,e),Ha(t,n)}return new eg(n,e,t)}class hu{constructor(t){this.queryList=t,this.matches=null}clone(){return new hu(this.queryList)}setDirty(){this.queryList.setDirty()}}class fu{constructor(t=[]){this.queries=t}createEmbeddedView(t){const n=t.queries;if(null!==n){const r=null!==t.contentQueries?t.contentQueries[0]:n.length,i=[];for(let s=0;s<r;s++){const o=n.getByIndex(s);i.push(this.queries[o.indexInDeclarationView].clone())}return new fu(i)}return null}insertView(t){this.dirtyQueriesWithMatches(t)}detachView(t){this.dirtyQueriesWithMatches(t)}dirtyQueriesWithMatches(t){for(let n=0;n<this.queries.length;n++)null!==dg(t,n).matches&&this.queries[n].setDirty()}}class rg{constructor(t,n,r=null){this.predicate=t,this.flags=n,this.read=r}}class pu{constructor(t=[]){this.queries=t}elementStart(t,n){for(let r=0;r<this.queries.length;r++)this.queries[r].elementStart(t,n)}elementEnd(t){for(let n=0;n<this.queries.length;n++)this.queries[n].elementEnd(t)}embeddedTView(t){let n=null;for(let r=0;r<this.length;r++){const i=null!==n?n.length:0,s=this.getByIndex(r).embeddedTView(t,i);s&&(s.indexInDeclarationView=r,null!==n?n.push(s):n=[s])}return null!==n?new pu(n):null}template(t,n){for(let r=0;r<this.queries.length;r++)this.queries[r].template(t,n)}getByIndex(t){return this.queries[t]}get length(){return this.queries.length}track(t){this.queries.push(t)}}class gu{constructor(t,n=-1){this.metadata=t,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=n}elementStart(t,n){this.isApplyingToNode(n)&&this.matchTNode(t,n)}elementEnd(t){this._declarationNodeIndex===t.index&&(this._appliesToNextNode=!1)}template(t,n){this.elementStart(t,n)}embeddedTView(t,n){return this.isApplyingToNode(t)?(this.crossesNgTemplate=!0,this.addMatch(-t.index,n),new gu(this.metadata)):null}isApplyingToNode(t){if(this._appliesToNextNode&&1!=(1&this.metadata.flags)){const n=this._declarationNodeIndex;let r=t.parent;for(;null!==r&&8&r.type&&r.index!==n;)r=r.parent;return n===(null!==r?r.index:-1)}return this._appliesToNextNode}matchTNode(t,n){const r=this.metadata.predicate;if(Array.isArray(r))for(let i=0;i<r.length;i++){const s=r[i];this.matchTNodeWithReadOption(t,n,iC(n,s)),this.matchTNodeWithReadOption(t,n,Rs(n,t,s,!1,!1))}else r===ga?4&n.type&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,Rs(n,t,r,!1,!1))}matchTNodeWithReadOption(t,n,r){if(null!==r){const i=this.metadata.read;if(null!==i)if(i===ta||i===al||i===ga&&4&n.type)this.addMatch(n.index,-2);else{const s=Rs(n,t,i,!1,!1);null!==s&&this.addMatch(n.index,s)}else this.addMatch(n.index,r)}}addMatch(t,n){null===this.matches?this.matches=[t,n]:this.matches.push(t,n)}}function iC(e,t){const n=e.localNames;if(null!==n)for(let r=0;r<n.length;r+=2)if(n[r]===t)return n[r+1];return null}function oC(e,t,n,r){return-1===n?function sC(e,t){return 11&e.type?uo(e,t):4&e.type?ol(e,t):null}(t,e):-2===n?function aC(e,t,n){return n===ta?uo(t,e):n===ga?ol(t,e):n===al?ng(t,e):void 0}(e,t,r):Yi(e,e[1],n,t)}function ig(e,t,n,r){const i=t[19].queries[r];if(null===i.matches){const s=e.data,o=n.matches,h=[];for(let g=0;g<o.length;g+=2){const C=o[g];h.push(C<0?null:oC(t,s[C],o[g+1],n.metadata.read))}i.matches=h}return i.matches}function mu(e,t,n,r){const i=e.queries.getByIndex(n),s=i.matches;if(null!==s){const o=ig(e,t,i,n);for(let h=0;h<s.length;h+=2){const g=s[h];if(g>0)r.push(o[h/2]);else{const C=s[h+1],I=t[-g];for(let j=10;j<I.length;j++){const ge=I[j];ge[17]===ge[3]&&mu(ge[1],ge,C,r)}if(null!==I[9]){const j=I[9];for(let ge=0;ge<j.length;ge++){const Le=j[ge];mu(Le[1],Le,C,r)}}}}}return r}function sg(e){const t=Xe(),n=Kt(),r=Si();br(r+1);const i=dg(n,r);if(e.dirty&&function Js(e){return 4==(4&e[2])}(t)===(2==(2&i.metadata.flags))){if(null===i.matches)e.reset([]);else{const s=i.crossesNgTemplate?mu(n,t,r,[]):ig(n,t,i,r);e.reset(s,q_),e.notifyOnChanges()}return!0}return!1}function og(e,t,n){const r=Kt();r.firstCreatePass&&(ug(r,new rg(e,t,n),-1),2==(2&t)&&(r.staticViewQueries=!0)),cg(r,Xe(),t)}function ag(e,t,n,r){const i=Kt();if(i.firstCreatePass){const s=In();ug(i,new rg(t,n,r),s.index),function cC(e,t){const n=e.contentQueries||(e.contentQueries=[]);t!==(n.length?n[n.length-1]:-1)&&n.push(e.queries.length-1,t)}(i,e),2==(2&n)&&(i.staticContentQueries=!0)}cg(i,Xe(),n)}function lg(){return function lC(e,t){return e[19].queries[t].queryList}(Xe(),Si())}function cg(e,t,n){const r=new sl(4==(4&n));Vh(e,t,r,r.destroy),null===t[19]&&(t[19]=new fu),t[19].queries.push(new hu(r))}function ug(e,t,n){null===e.queries&&(e.queries=new pu),e.queries.track(new gu(t,n))}function dg(e,t){return e.queries.getByIndex(t)}function hg(e,t){return ol(e,t)}function cl(...e){}const Pg=new Dn("Application Initializer");let ul=(()=>{class e{constructor(n){this.appInits=n,this.resolve=cl,this.reject=cl,this.initialized=!1,this.done=!1,this.donePromise=new Promise((r,i)=>{this.resolve=r,this.reject=i})}runInitializers(){if(this.initialized)return;const n=[],r=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let i=0;i<this.appInits.length;i++){const s=this.appInits[i]();if(Uc(s))n.push(s);else if(_f(s)){const o=new Promise((h,g)=>{s.subscribe({complete:h,error:g})});n.push(o)}}Promise.all(n).then(()=>{r()}).catch(i=>{this.reject(i)}),0===n.length&&r(),this.initialized=!0}}return e.\u0275fac=function(n){return new(n||e)(Wn(Pg,8))},e.\u0275prov=q({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const Rg=new Dn("AppId",{providedIn:"root",factory:function xg(){return`${Eu()}${Eu()}${Eu()}`}});function Eu(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const Lg=new Dn("Platform Initializer"),IC=new Dn("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),Fg=new Dn("appBootstrapListener"),OC=new Dn("AnimationModuleType");let PC=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=q({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})();const dl=new Dn("LocaleId",{providedIn:"root",factory:()=>Ju(dl,Ve.Optional|Ve.SkipSelf)||function RC(){return typeof $localize<"u"&&$localize.locale||Ao}()}),xC=new Dn("DefaultCurrencyCode",{providedIn:"root",factory:()=>"USD"});class LC{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}}let FC=(()=>{class e{compileModuleSync(n){return new au(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){const r=this.compileModuleSync(n),s=ns(wn(n).declarations).reduce((o,h)=>{const g=Ht(h);return g&&o.push(new ia(g)),o},[]);return new LC(r,s)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=q({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const BC=(()=>Promise.resolve(0))();function Cu(e){typeof Zone>"u"?BC.then(()=>{e&&e.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}class Qr{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new xi(!1),this.onMicrotaskEmpty=new xi(!1),this.onStable=new xi(!1),this.onError=new xi(!1),typeof Zone>"u")throw new ye(908,!1);Zone.assertZonePatched();const i=this;if(i._nesting=0,i._outer=i._inner=Zone.current,Zone.AsyncStackTaggingZoneSpec){const s=Zone.AsyncStackTaggingZoneSpec;i._inner=i._inner.fork(new s("Angular"))}Zone.TaskTrackingZoneSpec&&(i._inner=i._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(i._inner=i._inner.fork(Zone.longStackTraceZoneSpec)),i.shouldCoalesceEventChangeDetection=!r&&n,i.shouldCoalesceRunChangeDetection=r,i.lastRequestAnimationFrameId=-1,i.nativeRequestAnimationFrame=function UC(){let e=xe.requestAnimationFrame,t=xe.cancelAnimationFrame;if(typeof Zone<"u"&&e&&t){const n=e[Zone.__symbol__("OriginalDelegate")];n&&(e=n);const r=t[Zone.__symbol__("OriginalDelegate")];r&&(t=r)}return{nativeRequestAnimationFrame:e,nativeCancelAnimationFrame:t}}().nativeRequestAnimationFrame,function HC(e){const t=()=>{!function jC(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(xe,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,wu(e),e.isCheckStableRunning=!0,bu(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),wu(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,i,s,o,h)=>{try{return Bg(e),n.invokeTask(i,s,o,h)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===s.type||e.shouldCoalesceRunChangeDetection)&&t(),Ug(e)}},onInvoke:(n,r,i,s,o,h,g)=>{try{return Bg(e),n.invoke(i,s,o,h,g)}finally{e.shouldCoalesceRunChangeDetection&&t(),Ug(e)}},onHasTask:(n,r,i,s)=>{n.hasTask(i,s),r===i&&("microTask"==s.change?(e._hasPendingMicrotasks=s.microTask,wu(e),bu(e)):"macroTask"==s.change&&(e.hasPendingMacrotasks=s.macroTask))},onHandleError:(n,r,i,s)=>(n.handleError(i,s),e.runOutsideAngular(()=>e.onError.emit(s)),!1)})}(i)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!Qr.isInAngularZone())throw new ye(909,!1)}static assertNotInAngularZone(){if(Qr.isInAngularZone())throw new ye(909,!1)}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,i){const s=this._inner,o=s.scheduleEventTask("NgZoneEvent: "+i,t,VC,cl,cl);try{return s.runTask(o,n,r)}finally{s.cancelTask(o)}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}}const VC={};function bu(e){if(0==e._nesting&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(()=>e.onStable.emit(null))}finally{e.isStable=!0}}}function wu(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function Bg(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Ug(e){e._nesting--,bu(e)}class $C{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new xi,this.onMicrotaskEmpty=new xi,this.onStable=new xi,this.onError=new xi}run(t,n,r){return t.apply(n,r)}runGuarded(t,n,r){return t.apply(n,r)}runOutsideAngular(t){return t()}runTask(t,n,r,i){return t.apply(n,r)}}const Vg=new Dn(""),jg=new Dn("");let Mu,zC=(()=>{class e{constructor(n,r,i){this._ngZone=n,this.registry=r,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,Mu||(function WC(e){Mu=e}(i),i.addToWindow(r)),this._watchAngularEvents(),n.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{Qr.assertNotInAngularZone(),Cu(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())Cu(()=>{for(;0!==this._callbacks.length;){let n=this._callbacks.pop();clearTimeout(n.timeoutId),n.doneCb(this._didWork)}this._didWork=!1});else{let n=this.getPendingTasks();this._callbacks=this._callbacks.filter(r=>!r.updateCb||!r.updateCb(n)||(clearTimeout(r.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(n=>({source:n.source,creationLocation:n.creationLocation,data:n.data})):[]}addCallback(n,r,i){let s=-1;r&&r>0&&(s=setTimeout(()=>{this._callbacks=this._callbacks.filter(o=>o.timeoutId!==s),n(this._didWork,this.getPendingTasks())},r)),this._callbacks.push({doneCb:n,timeoutId:s,updateCb:i})}whenStable(n,r,i){if(i&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(n,r,i),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(n){this.registry.registerApplication(n,this)}unregisterApplication(n){this.registry.unregisterApplication(n)}findProviders(n,r,i){return[]}}return e.\u0275fac=function(n){return new(n||e)(Wn(Qr),Wn(Hg),Wn(jg))},e.\u0275prov=q({token:e,factory:e.\u0275fac}),e})(),Hg=(()=>{class e{constructor(){this._applications=new Map}registerApplication(n,r){this._applications.set(n,r)}unregisterApplication(n){this._applications.delete(n)}unregisterAllApplications(){this._applications.clear()}getTestability(n){return this._applications.get(n)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(n,r=!0){return Mu?.findTestabilityInTree(this,n,r)??null}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=q({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})(),Ms=null;const $g=new Dn("AllowMultipleToken"),Su=new Dn("PlatformDestroyListeners");class YC{constructor(t,n){this.name=t,this.token=n}}function Wg(e,t,n=[]){const r=`Platform: ${t}`,i=new Dn(r);return(s=[])=>{let o=Tu();if(!o||o.injector.get($g,!1)){const h=[...n,...s,{provide:i,useValue:!0}];e?e(h):function ZC(e){if(Ms&&!Ms.get($g,!1))throw new ye(400,!1);Ms=e;const t=e.get(Gg);(function zg(e){const t=e.get(Lg,null);t&&t.forEach(n=>n())})(e)}(function Kg(e=[],t){return Vs.create({name:t,providers:[{provide:Jl,useValue:"platform"},{provide:Su,useValue:new Set([()=>Ms=null])},...e]})}(h,r))}return function XC(e){const t=Tu();if(!t)throw new ye(401,!1);return t}()}}function Tu(){return Ms?.get(Gg)??null}let Gg=(()=>{class e{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,r){const i=function Zg(e,t){let n;return n="noop"===e?new $C:("zone.js"===e?void 0:e)||new Qr(t),n}(r?.ngZone,function Yg(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:!(!e||!e.ngZoneEventCoalescing)||!1,shouldCoalesceRunChangeDetection:!(!e||!e.ngZoneRunCoalescing)||!1}}(r)),s=[{provide:Qr,useValue:i}];return i.run(()=>{const o=Vs.create({providers:s,parent:this.injector,name:n.moduleType.name}),h=n.create(o),g=h.injector.get(na,null);if(!g)throw new ye(402,!1);return i.runOutsideAngular(()=>{const C=i.onError.subscribe({next:I=>{g.handleError(I)}});h.onDestroy(()=>{fl(this._modules,h),C.unsubscribe()})}),function Qg(e,t,n){try{const r=n();return Uc(r)?r.catch(i=>{throw t.runOutsideAngular(()=>e.handleError(i)),i}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}(g,i,()=>{const C=h.injector.get(ul);return C.runInitializers(),C.donePromise.then(()=>(function lp(e){en(e,"Expected localeId to be defined"),"string"==typeof e&&(ap=e.toLowerCase().replace(/_/g,"-"))}(h.injector.get(dl,Ao)||Ao),this._moduleDoBootstrap(h),h))})})}bootstrapModule(n,r=[]){const i=Xg({},r);return function KC(e,t,n){const r=new au(n);return Promise.resolve(r)}(0,0,n).then(s=>this.bootstrapModuleFactory(s,i))}_moduleDoBootstrap(n){const r=n.injector.get(hl);if(n._bootstrapComponents.length>0)n._bootstrapComponents.forEach(i=>r.bootstrap(i));else{if(!n.instance.ngDoBootstrap)throw new ye(403,!1);n.instance.ngDoBootstrap(r)}this._modules.push(n)}onDestroy(n){this._destroyListeners.push(n)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new ye(404,!1);this._modules.slice().forEach(r=>r.destroy()),this._destroyListeners.forEach(r=>r());const n=this._injector.get(Su,null);n&&(n.forEach(r=>r()),n.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}}return e.\u0275fac=function(n){return new(n||e)(Wn(Vs))},e.\u0275prov=q({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})();function Xg(e,t){return Array.isArray(t)?t.reduce(Xg,e):{...e,...t}}let hl=(()=>{class e{constructor(n,r,i){this._zone=n,this._injector=r,this._exceptionHandler=i,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this._destroyed=!1,this._destroyListeners=[],this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const s=new T.y(h=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{h.next(this._stable),h.complete()})}),o=new T.y(h=>{let g;this._zone.runOutsideAngular(()=>{g=this._zone.onStable.subscribe(()=>{Qr.assertNotInAngularZone(),Cu(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,h.next(!0))})})});const C=this._zone.onUnstable.subscribe(()=>{Qr.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{h.next(!1)}))});return()=>{g.unsubscribe(),C.unsubscribe()}});this.isStable=(0,P.T)(s,o.pipe((0,x.B)()))}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(n,r){const i=n instanceof th;if(!this._injector.get(ul).done)throw!i&&En(n),new ye(405,false);let o;o=i?n:this._injector.get(ea).resolveComponentFactory(n),this.componentTypes.push(o.componentType);const h=function GC(e){return e.isBoundToModule}(o)?void 0:this._injector.get(Io),C=o.create(Vs.NULL,[],r||o.selector,h),I=C.location.nativeElement,j=C.injector.get(Vg,null);return j?.registerApplication(I),C.onDestroy(()=>{this.detachView(C.hostView),fl(this.components,C),j?.unregisterApplication(I)}),this._loadComponent(C),C}tick(){if(this._runningTick)throw new ye(101,!1);try{this._runningTick=!0;for(let n of this._views)n.detectChanges()}catch(n){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(n))}finally{this._runningTick=!1}}attachView(n){const r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){const r=n;fl(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n),this._injector.get(Fg,[]).concat(this._bootstrapListeners).forEach(i=>i(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>fl(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new ye(406,!1);const n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}}return e.\u0275fac=function(n){return new(n||e)(Wn(Qr),Wn(Us),Wn(na))},e.\u0275prov=q({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function fl(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}let qg=!0,em=!1;function qC(){return em=!0,qg}function eb(){if(em)throw new Error("Cannot enable prod mode after platform setup.");qg=!1}let tb=(()=>{class e{}return e.__NG_ELEMENT_ID__=nb,e})();function nb(e){return function rb(e,t,n){if(nr(e)&&!n){const r=Nn(e.index,t);return new ra(r,r)}return 47&e.type?new ra(t[16],t):null}(In(),Xe(),16==(16&e))}class im{constructor(){}supports(t){return sa(t)}create(t){return new cb(t)}}const lb=(e,t)=>t;class cb{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||lb}forEachItem(t){let n;for(n=this._itHead;null!==n;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,r=this._removalsHead,i=0,s=null;for(;n||r;){const o=!r||n&&n.currentIndex<om(r,i,s)?n:r,h=om(o,i,s),g=o.currentIndex;if(o===r)i--,r=r._nextRemoved;else if(n=n._next,null==o.previousIndex)i++;else{s||(s=[]);const C=h-i,I=g-i;if(C!=I){for(let ge=0;ge<C;ge++){const Le=ge<s.length?s[ge]:s[ge]=0,Ye=Le+ge;I<=Ye&&Ye<C&&(s[ge]=Le+1)}s[o.previousIndex]=I-C}}h!==g&&t(o,h,g)}}forEachPreviousItem(t){let n;for(n=this._previousItHead;null!==n;n=n._nextPrevious)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;null!==n;n=n._nextAdded)t(n)}forEachMovedItem(t){let n;for(n=this._movesHead;null!==n;n=n._nextMoved)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;null!==n;n=n._nextRemoved)t(n)}forEachIdentityChange(t){let n;for(n=this._identityChangesHead;null!==n;n=n._nextIdentityChange)t(n)}diff(t){if(null==t&&(t=[]),!sa(t))throw new ye(900,!1);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let i,s,o,n=this._itHead,r=!1;if(Array.isArray(t)){this.length=t.length;for(let h=0;h<this.length;h++)s=t[h],o=this._trackByFn(h,s),null!==n&&Object.is(n.trackById,o)?(r&&(n=this._verifyReinsertion(n,s,o,h)),Object.is(n.item,s)||this._addIdentityChange(n,s)):(n=this._mismatch(n,s,o,h),r=!0),n=n._next}else i=0,function kv(e,t){if(Array.isArray(e))for(let n=0;n<e.length;n++)t(e[n]);else{const n=e[js()]();let r;for(;!(r=n.next()).done;)t(r.value)}}(t,h=>{o=this._trackByFn(i,h),null!==n&&Object.is(n.trackById,o)?(r&&(n=this._verifyReinsertion(n,h,o,i)),Object.is(n.item,h)||this._addIdentityChange(n,h)):(n=this._mismatch(n,h,o,i),r=!0),n=n._next,i++}),this.length=i;return this._truncate(n),this.collection=t,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;null!==t;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;null!==t;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,n,r,i){let s;return null===t?s=this._itTail:(s=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._reinsertAfter(t,s,i)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(r,i))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,s,i)):t=this._addAfter(new ub(n,r),s,i),t}_verifyReinsertion(t,n,r,i){let s=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null);return null!==s?t=this._reinsertAfter(s,t._prev,i):t.currentIndex!=i&&(t.currentIndex=i,this._addToMoves(t,i)),t}_truncate(t){for(;null!==t;){const n=t._next;this._addToRemovals(this._unlink(t)),t=n}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,n,r){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const i=t._prevRemoved,s=t._nextRemoved;return null===i?this._removalsHead=s:i._nextRemoved=s,null===s?this._removalsTail=i:s._prevRemoved=i,this._insertAfter(t,n,r),this._addToMoves(t,r),t}_moveAfter(t,n,r){return this._unlink(t),this._insertAfter(t,n,r),this._addToMoves(t,r),t}_addAfter(t,n,r){return this._insertAfter(t,n,r),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,n,r){const i=null===n?this._itHead:n._next;return t._next=i,t._prev=n,null===i?this._itTail=t:i._prev=t,null===n?this._itHead=t:n._next=t,null===this._linkedRecords&&(this._linkedRecords=new sm),this._linkedRecords.put(t),t.currentIndex=r,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const n=t._prev,r=t._next;return null===n?this._itHead=r:n._next=r,null===r?this._itTail=n:r._prev=n,t}_addToMoves(t,n){return t.previousIndex===n||(this._movesTail=null===this._movesTail?this._movesHead=t:this._movesTail._nextMoved=t),t}_addToRemovals(t){return null===this._unlinkedRecords&&(this._unlinkedRecords=new sm),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,n){return t.item=n,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=t:this._identityChangesTail._nextIdentityChange=t,t}}class ub{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 db{constructor(){this._head=null,this._tail=null}add(t){null===this._head?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,n){let r;for(r=this._head;null!==r;r=r._nextDup)if((null===n||n<=r.currentIndex)&&Object.is(r.trackById,t))return r;return null}remove(t){const n=t._prevDup,r=t._nextDup;return null===n?this._head=r:n._nextDup=r,null===r?this._tail=n:r._prevDup=n,null===this._head}}class sm{constructor(){this.map=new Map}put(t){const n=t.trackById;let r=this.map.get(n);r||(r=new db,this.map.set(n,r)),r.add(t)}get(t,n){const i=this.map.get(t);return i?i.get(t,n):null}remove(t){const n=t.trackById;return this.map.get(n).remove(t)&&this.map.delete(n),t}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function om(e,t,n){const r=e.previousIndex;if(null===r)return r;let i=0;return n&&r<n.length&&(i=n[r]),r+t+i}class am{constructor(){}supports(t){return t instanceof Map||xc(t)}create(){return new hb}}class hb{constructor(){this._records=new Map,this._mapHead=null,this._appendAfter=null,this._previousMapHead=null,this._changesHead=null,this._changesTail=null,this._additionsHead=null,this._additionsTail=null,this._removalsHead=null,this._removalsTail=null}get isDirty(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead}forEachItem(t){let n;for(n=this._mapHead;null!==n;n=n._next)t(n)}forEachPreviousItem(t){let n;for(n=this._previousMapHead;null!==n;n=n._nextPrevious)t(n)}forEachChangedItem(t){let n;for(n=this._changesHead;null!==n;n=n._nextChanged)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;null!==n;n=n._nextAdded)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;null!==n;n=n._nextRemoved)t(n)}diff(t){if(t){if(!(t instanceof Map||xc(t)))throw new ye(900,!1)}else t=new Map;return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let n=this._mapHead;if(this._appendAfter=null,this._forEach(t,(r,i)=>{if(n&&n.key===i)this._maybeAddToChanges(n,r),this._appendAfter=n,n=n._next;else{const s=this._getOrCreateRecordForKey(i,r);n=this._insertBeforeOrAppend(n,s)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(let r=n;null!==r;r=r._nextRemoved)r===this._mapHead&&(this._mapHead=null),this._records.delete(r.key),r._nextRemoved=r._next,r.previousValue=r.currentValue,r.currentValue=null,r._prev=null,r._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,n){if(t){const r=t._prev;return n._next=t,n._prev=r,t._prev=n,r&&(r._next=n),t===this._mapHead&&(this._mapHead=n),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=n,n._prev=this._appendAfter):this._mapHead=n,this._appendAfter=n,null}_getOrCreateRecordForKey(t,n){if(this._records.has(t)){const i=this._records.get(t);this._maybeAddToChanges(i,n);const s=i._prev,o=i._next;return s&&(s._next=o),o&&(o._prev=s),i._next=null,i._prev=null,i}const r=new fb(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 fb{constructor(t){this.key=t,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}function lm(){return new Ru([new im])}let Ru=(()=>{class e{constructor(n){this.factories=n}static create(n,r){if(null!=r){const i=r.factories.slice();n=n.concat(i)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||lm()),deps:[[e,new Ko,new Wo]]}}find(n){const r=this.factories.find(i=>i.supports(n));if(null!=r)return r;throw new ye(901,!1)}}return e.\u0275prov=q({token:e,providedIn:"root",factory:lm}),e})();function cm(){return new xu([new am])}let xu=(()=>{class e{constructor(n){this.factories=n}static create(n,r){if(r){const i=r.factories.slice();n=n.concat(i)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||cm()),deps:[[e,new Ko,new Wo]]}}find(n){const r=this.factories.find(i=>i.supports(n));if(r)return r;throw new ye(901,!1)}}return e.\u0275prov=q({token:e,providedIn:"root",factory:cm}),e})();const mb=Wg(null,"core",[]);let _b=(()=>{class e{constructor(n){}}return e.\u0275fac=function(n){return new(n||e)(Wn(hl))},e.\u0275mod=Ne({type:e}),e.\u0275inj=Ee({}),e})();function yb(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}},1379:(et,me,m)=>{m.d(me,{yN:()=>Ie,mZ:()=>rt,_A:()=>Mt,rD:()=>Ee,sG:()=>sn,Ad:()=>yt,K7:()=>xe,HF:()=>K,Y2:()=>X,BQ:()=>Q,X2:()=>Ze,uc:()=>lt,ey:()=>Bt,Ng:()=>Ot,rN:()=>Lt,nP:()=>ae,us:()=>Te,wG:()=>w,si:()=>R,IR:()=>Ve,CB:()=>Tt,jH:()=>dn,pj:()=>Re,Kr:()=>nt,Id:()=>ze,FD:()=>Ue,dB:()=>$e,sb:()=>De,E0:()=>Ct});var f=m(64537),v=m(38954),T=m(65875),x=m(88692),N=m(36321),te=m(74929),G=m(87241),Y=m(38023),H=m(51927),z=m(35436);function Me(we,oe){if(1&we&&f._UZ(0,"mat-pseudo-checkbox",4),2&we){const ue=f.oxw();f.Q6J("state",ue.selected?"checked":"unchecked")("disabled",ue.disabled)}}function ye(we,oe){if(1&we&&(f.TgZ(0,"span",5),f._uU(1),f.qZA()),2&we){const ue=f.oxw();f.xp6(1),f.hij("(",ue.group.label,")")}}const he=["*"];let Ie=(()=>{class we{}return we.STANDARD_CURVE="cubic-bezier(0.4,0.0,0.2,1)",we.DECELERATION_CURVE="cubic-bezier(0.0,0.0,0.2,1)",we.ACCELERATION_CURVE="cubic-bezier(0.4,0.0,1,1)",we.SHARP_CURVE="cubic-bezier(0.4,0.0,0.6,1)",we})(),rt=(()=>{class we{}return we.COMPLEX="375ms",we.ENTERING="225ms",we.EXITING="195ms",we})();const Pe=new f.OlP("mat-sanity-checks",{providedIn:"root",factory:function it(){return!0}});let Q=(()=>{class we{constructor(ue,W,ee){this._sanityChecks=W,this._document=ee,this._hasDoneGlobalChecks=!1,ue._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(ue){return!(0,N.Oy)()&&("boolean"==typeof this._sanityChecks?this._sanityChecks:!!this._sanityChecks[ue])}}return we.\u0275fac=function(ue){return new(ue||we)(f.LFG(v.qm),f.LFG(Pe,8),f.LFG(x.K0))},we.\u0275mod=f.oAB({type:we}),we.\u0275inj=f.cJS({imports:[T.vT,T.vT]}),we})();function ze(we){return class extends we{constructor(...oe){super(...oe),this._disabled=!1}get disabled(){return this._disabled}set disabled(oe){this._disabled=(0,te.Ig)(oe)}}}function Re(we,oe){return class extends we{constructor(...ue){super(...ue),this.defaultColor=oe,this.color=oe}get color(){return this._color}set color(ue){const W=ue||this.defaultColor;W!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove(`mat-${this._color}`),W&&this._elementRef.nativeElement.classList.add(`mat-${W}`),this._color=W)}}}function nt(we){return class extends we{constructor(...oe){super(...oe),this._disableRipple=!1}get disableRipple(){return this._disableRipple}set disableRipple(oe){this._disableRipple=(0,te.Ig)(oe)}}}function De(we,oe=0){return class extends we{constructor(...ue){super(...ue),this._tabIndex=oe,this.defaultTabIndex=oe}get tabIndex(){return this.disabled?-1:this._tabIndex}set tabIndex(ue){this._tabIndex=null!=ue?(0,te.su)(ue):this.defaultTabIndex}}}function Ue(we){return class extends we{constructor(...oe){super(...oe),this.errorState=!1}updateErrorState(){const oe=this.errorState,B=(this.errorStateMatcher||this._defaultErrorStateMatcher).isErrorState(this.ngControl?this.ngControl.control:null,this._parentFormGroup||this._parentForm);B!==oe&&(this.errorState=B,this.stateChanges.next())}}}function $e(we){return class extends we{constructor(...oe){super(...oe),this._isInitialized=!1,this._pendingSubscribers=[],this.initialized=new G.y(ue=>{this._isInitialized?this._notifySubscriber(ue):this._pendingSubscribers.push(ue)})}_markInitialized(){this._isInitialized=!0,this._pendingSubscribers.forEach(this._notifySubscriber),this._pendingSubscribers=null}_notifySubscriber(oe){oe.next(),oe.complete()}}}const yt=new f.OlP("MAT_DATE_LOCALE",{providedIn:"root",factory:function zt(){return(0,f.f3M)(f.soG)}});class Mt{constructor(){this._localeChanges=new Y.x,this.localeChanges=this._localeChanges}getValidDateOrNull(oe){return this.isDateInstance(oe)&&this.isValid(oe)?oe:null}deserialize(oe){return null==oe||this.isDateInstance(oe)&&this.isValid(oe)?oe:this.invalid()}setLocale(oe){this.locale=oe,this._localeChanges.next()}compareDate(oe,ue){return this.getYear(oe)-this.getYear(ue)||this.getMonth(oe)-this.getMonth(ue)||this.getDate(oe)-this.getDate(ue)}sameDate(oe,ue){if(oe&&ue){let W=this.isValid(oe),ee=this.isValid(ue);return W&&ee?!this.compareDate(oe,ue):W==ee}return oe==ue}clampDate(oe,ue,W){return ue&&this.compareDate(oe,ue)<0?ue:W&&this.compareDate(oe,W)>0?W:oe}}const sn=new f.OlP("mat-date-formats");let Ee=(()=>{class we{isErrorState(ue,W){return!!(ue&&ue.invalid&&(ue.touched||W&&W.submitted))}}return we.\u0275fac=function(ue){return new(ue||we)},we.\u0275prov=f.Yz7({token:we,factory:we.\u0275fac,providedIn:"root"}),we})(),Ze=(()=>{class we{}return we.\u0275fac=function(ue){return new(ue||we)},we.\u0275dir=f.lG2({type:we,selectors:[["","mat-line",""],["","matLine",""]],hostAttrs:[1,"mat-line"]}),we})();function Ct(we,oe,ue="mat"){we.changes.pipe((0,H.O)(we)).subscribe(({length:W})=>{At(oe,`${ue}-2-line`,!1),At(oe,`${ue}-3-line`,!1),At(oe,`${ue}-multi-line`,!1),2===W||3===W?At(oe,`${ue}-${W}-line`,!0):W>3&&At(oe,`${ue}-multi-line`,!0)})}function At(we,oe,ue){we.nativeElement.classList.toggle(oe,ue)}let lt=(()=>{class we{}return we.\u0275fac=function(ue){return new(ue||we)},we.\u0275mod=f.oAB({type:we}),we.\u0275inj=f.cJS({imports:[Q,Q]}),we})();class St{constructor(oe,ue,W,ee=!1){this._renderer=oe,this.element=ue,this.config=W,this._animationForciblyDisabledThroughCss=ee,this.state=3}fadeOut(){this._renderer.fadeOutRipple(this)}}const Et={enterDuration:225,exitDuration:150},xt=(0,N.i$)({passive:!0}),kt=["mousedown","touchstart"],Qe=["mouseup","mouseleave","touchend","touchcancel"];class Ve{constructor(oe,ue,W,ee){this._target=oe,this._ngZone=ue,this._isPointerDown=!1,this._activeRipples=new Map,this._pointerUpEventsRegistered=!1,ee.isBrowser&&(this._containerElement=(0,te.fI)(W))}fadeInRipple(oe,ue,W={}){const ee=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),B={...Et,...W.animation};W.centered&&(oe=ee.left+ee.width/2,ue=ee.top+ee.height/2);const fe=W.radius||function V(we,oe,ue){const W=Math.max(Math.abs(we-ue.left),Math.abs(we-ue.right)),ee=Math.max(Math.abs(oe-ue.top),Math.abs(oe-ue.bottom));return Math.sqrt(W*W+ee*ee)}(oe,ue,ee),Ne=oe-ee.left,st=ue-ee.top,Pt=B.enterDuration,jt=document.createElement("div");jt.classList.add("mat-ripple-element"),jt.style.left=Ne-fe+"px",jt.style.top=st-fe+"px",jt.style.height=2*fe+"px",jt.style.width=2*fe+"px",null!=W.color&&(jt.style.backgroundColor=W.color),jt.style.transitionDuration=`${Pt}ms`,this._containerElement.appendChild(jt);const Xn=window.getComputedStyle(jt),on=Xn.transitionDuration,an="none"===Xn.transitionProperty||"0s"===on||"0s, 0s"===on,En=new St(this,jt,W,an);jt.style.transform="scale3d(1, 1, 1)",En.state=0,W.persistent||(this._mostRecentTransientRipple=En);let wn=null;return!an&&(Pt||B.exitDuration)&&this._ngZone.runOutsideAngular(()=>{const Mn=()=>this._finishRippleTransition(En),ne=()=>this._destroyRipple(En);jt.addEventListener("transitionend",Mn),jt.addEventListener("transitioncancel",ne),wn={onTransitionEnd:Mn,onTransitionCancel:ne}}),this._activeRipples.set(En,wn),(an||!Pt)&&this._finishRippleTransition(En),En}fadeOutRipple(oe){if(2===oe.state||3===oe.state)return;const ue=oe.element,W={...Et,...oe.config.animation};ue.style.transitionDuration=`${W.exitDuration}ms`,ue.style.opacity="0",oe.state=2,(oe._animationForciblyDisabledThroughCss||!W.exitDuration)&&this._finishRippleTransition(oe)}fadeOutAll(){this._getActiveRipples().forEach(oe=>oe.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(oe=>{oe.config.persistent||oe.fadeOut()})}setupTriggerEvents(oe){const ue=(0,te.fI)(oe);!ue||ue===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=ue,this._registerEvents(kt))}handleEvent(oe){"mousedown"===oe.type?this._onMousedown(oe):"touchstart"===oe.type?this._onTouchStart(oe):this._onPointerUp(),this._pointerUpEventsRegistered||(this._registerEvents(Qe),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(oe){0===oe.state?this._startFadeOutTransition(oe):2===oe.state&&this._destroyRipple(oe)}_startFadeOutTransition(oe){const ue=oe===this._mostRecentTransientRipple,{persistent:W}=oe.config;oe.state=1,!W&&(!ue||!this._isPointerDown)&&oe.fadeOut()}_destroyRipple(oe){const ue=this._activeRipples.get(oe)??null;this._activeRipples.delete(oe),this._activeRipples.size||(this._containerRect=null),oe===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),oe.state=3,null!==ue&&(oe.element.removeEventListener("transitionend",ue.onTransitionEnd),oe.element.removeEventListener("transitioncancel",ue.onTransitionCancel)),oe.element.remove()}_onMousedown(oe){const ue=(0,v.X6)(oe),W=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+800;!this._target.rippleDisabled&&!ue&&!W&&(this._isPointerDown=!0,this.fadeInRipple(oe.clientX,oe.clientY,this._target.rippleConfig))}_onTouchStart(oe){if(!this._target.rippleDisabled&&!(0,v.yG)(oe)){this._lastTouchStartEvent=Date.now(),this._isPointerDown=!0;const ue=oe.changedTouches;for(let W=0;W<ue.length;W++)this.fadeInRipple(ue[W].clientX,ue[W].clientY,this._target.rippleConfig)}}_onPointerUp(){!this._isPointerDown||(this._isPointerDown=!1,this._getActiveRipples().forEach(oe=>{!oe.config.persistent&&(1===oe.state||oe.config.terminateOnPointerUp&&0===oe.state)&&oe.fadeOut()}))}_registerEvents(oe){this._ngZone.runOutsideAngular(()=>{oe.forEach(ue=>{this._triggerElement.addEventListener(ue,this,xt)})})}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){this._triggerElement&&(kt.forEach(oe=>{this._triggerElement.removeEventListener(oe,this,xt)}),this._pointerUpEventsRegistered&&Qe.forEach(oe=>{this._triggerElement.removeEventListener(oe,this,xt)}))}}const X=new f.OlP("mat-ripple-global-options");let w=(()=>{class we{constructor(ue,W,ee,B,fe){this._elementRef=ue,this._animationMode=fe,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=B||{},this._rippleRenderer=new Ve(this,W,ue,ee)}get disabled(){return this._disabled}set disabled(ue){ue&&this.fadeOutAllNonPersistent(),this._disabled=ue,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(ue){this._trigger=ue,this._setupTriggerEventsIfEnabled()}ngOnInit(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}ngOnDestroy(){this._rippleRenderer._removeTriggerEvents()}fadeOutAll(){this._rippleRenderer.fadeOutAll()}fadeOutAllNonPersistent(){this._rippleRenderer.fadeOutAllNonPersistent()}get rippleConfig(){return{centered:this.centered,radius:this.radius,color:this.color,animation:{...this._globalOptions.animation,..."NoopAnimations"===this._animationMode?{enterDuration:0,exitDuration:0}:{},...this.animation},terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}get rippleDisabled(){return this.disabled||!!this._globalOptions.disabled}_setupTriggerEventsIfEnabled(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}launch(ue,W=0,ee){return"number"==typeof ue?this._rippleRenderer.fadeInRipple(ue,W,{...this.rippleConfig,...ee}):this._rippleRenderer.fadeInRipple(0,0,{...this.rippleConfig,...ue})}}return we.\u0275fac=function(ue){return new(ue||we)(f.Y36(f.SBq),f.Y36(f.R0b),f.Y36(N.t4),f.Y36(X,8),f.Y36(f.QbO,8))},we.\u0275dir=f.lG2({type:we,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(ue,W){2&ue&&f.ekj("mat-ripple-unbounded",W.unbounded)},inputs:{color:["matRippleColor","color"],unbounded:["matRippleUnbounded","unbounded"],centered:["matRippleCentered","centered"],radius:["matRippleRadius","radius"],animation:["matRippleAnimation","animation"],disabled:["matRippleDisabled","disabled"],trigger:["matRippleTrigger","trigger"]},exportAs:["matRipple"]}),we})(),R=(()=>{class we{}return we.\u0275fac=function(ue){return new(ue||we)},we.\u0275mod=f.oAB({type:we}),we.\u0275inj=f.cJS({imports:[Q,Q]}),we})(),ae=(()=>{class we{constructor(ue){this._animationMode=ue,this.state="unchecked",this.disabled=!1}}return we.\u0275fac=function(ue){return new(ue||we)(f.Y36(f.QbO,8))},we.\u0275cmp=f.Xpm({type:we,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:8,hostBindings:function(ue,W){2&ue&&f.ekj("mat-pseudo-checkbox-indeterminate","indeterminate"===W.state)("mat-pseudo-checkbox-checked","checked"===W.state)("mat-pseudo-checkbox-disabled",W.disabled)("_mat-animation-noopable","NoopAnimations"===W._animationMode)},inputs:{state:"state",disabled:"disabled"},decls:0,vars:0,template:function(ue,W){},styles:['.mat-pseudo-checkbox{width:16px;height:16px;border:2px solid;border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;flex-shrink:0;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1),background-color 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:"";border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox.mat-pseudo-checkbox-indeterminate{border-color:rgba(0,0,0,0)}.mat-pseudo-checkbox._mat-animation-noopable{transition:none !important;animation:none !important}.mat-pseudo-checkbox._mat-animation-noopable::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{top:5px;left:1px;width:10px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{top:2.4px;left:1px;width:8px;height:3px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}'],encapsulation:2,changeDetection:0}),we})(),Te=(()=>{class we{}return we.\u0275fac=function(ue){return new(ue||we)},we.\u0275mod=f.oAB({type:we}),we.\u0275inj=f.cJS({imports:[Q]}),we})();const K=new f.OlP("MAT_OPTION_PARENT_COMPONENT"),xe=new f.OlP("MatOptgroup");let ct=0;class Lt{constructor(oe,ue=!1){this.source=oe,this.isUserInput=ue}}let Je=(()=>{class we{constructor(ue,W,ee,B){this._element=ue,this._changeDetectorRef=W,this._parent=ee,this.group=B,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id="mat-option-"+ct++,this.onSelectionChange=new f.vpe,this._stateChanges=new Y.x}get multiple(){return this._parent&&this._parent.multiple}get selected(){return this._selected}get disabled(){return this.group&&this.group.disabled||this._disabled}set disabled(ue){this._disabled=(0,te.Ig)(ue)}get disableRipple(){return!(!this._parent||!this._parent.disableRipple)}get active(){return this._active}get viewValue(){return(this._getHostElement().textContent||"").trim()}select(){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}deselect(){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}focus(ue,W){const ee=this._getHostElement();"function"==typeof ee.focus&&ee.focus(W)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(ue){(ue.keyCode===z.K5||ue.keyCode===z.L_)&&!(0,z.Vb)(ue)&&(this._selectViaInteraction(),ue.preventDefault())}_selectViaInteraction(){this.disabled||(this._selected=!this.multiple||!this._selected,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}_getAriaSelected(){return this.selected||!this.multiple&&null}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._element.nativeElement}ngAfterViewChecked(){if(this._selected){const ue=this.viewValue;ue!==this._mostRecentViewValue&&(this._mostRecentViewValue=ue,this._stateChanges.next())}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(ue=!1){this.onSelectionChange.emit(new Lt(this,ue))}}return we.\u0275fac=function(ue){f.$Z()},we.\u0275dir=f.lG2({type:we,inputs:{value:"value",id:"id",disabled:"disabled"},outputs:{onSelectionChange:"onSelectionChange"}}),we})(),Bt=(()=>{class we extends Je{constructor(ue,W,ee,B){super(ue,W,ee,B)}}return we.\u0275fac=function(ue){return new(ue||we)(f.Y36(f.SBq),f.Y36(f.sBO),f.Y36(K,8),f.Y36(xe,8))},we.\u0275cmp=f.Xpm({type:we,selectors:[["mat-option"]],hostAttrs:["role","option",1,"mat-option","mat-focus-indicator"],hostVars:12,hostBindings:function(ue,W){1&ue&&f.NdJ("click",function(){return W._selectViaInteraction()})("keydown",function(B){return W._handleKeydown(B)}),2&ue&&(f.Ikx("id",W.id),f.uIk("tabindex",W._getTabIndex())("aria-selected",W._getAriaSelected())("aria-disabled",W.disabled.toString()),f.ekj("mat-selected",W.selected)("mat-option-multiple",W.multiple)("mat-active",W.active)("mat-option-disabled",W.disabled))},exportAs:["matOption"],features:[f.qOj],ngContentSelectors:he,decls:5,vars:4,consts:[["class","mat-option-pseudo-checkbox",3,"state","disabled",4,"ngIf"],[1,"mat-option-text"],["class","cdk-visually-hidden",4,"ngIf"],["mat-ripple","",1,"mat-option-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-option-pseudo-checkbox",3,"state","disabled"],[1,"cdk-visually-hidden"]],template:function(ue,W){1&ue&&(f.F$t(),f.YNc(0,Me,1,2,"mat-pseudo-checkbox",0),f.TgZ(1,"span",1),f.Hsn(2),f.qZA(),f.YNc(3,ye,2,1,"span",2),f._UZ(4,"div",3)),2&ue&&(f.Q6J("ngIf",W.multiple),f.xp6(3),f.Q6J("ngIf",W.group&&W.group._inert),f.xp6(1),f.Q6J("matRippleTrigger",W._getHostElement())("matRippleDisabled",W.disabled||W.disableRipple))},dependencies:[w,x.O5,ae],styles:['.mat-option{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative;cursor:pointer;outline:none;display:flex;flex-direction:row;max-width:100%;box-sizing:border-box;align-items:center;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-option[disabled]{cursor:default}[dir=rtl] .mat-option{text-align:right}.mat-option .mat-icon{margin-right:16px;vertical-align:middle}.mat-option .mat-icon svg{vertical-align:top}[dir=rtl] .mat-option .mat-icon{margin-left:16px;margin-right:0}.mat-option[aria-disabled=true]{-webkit-user-select:none;user-select:none;cursor:default}.mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:32px}[dir=rtl] .mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:16px;padding-right:32px}.mat-option.mat-active::before{content:""}.cdk-high-contrast-active .mat-option[aria-disabled=true]{opacity:.5}.cdk-high-contrast-active .mat-option.mat-selected:not(.mat-option-multiple)::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}[dir=rtl] .cdk-high-contrast-active .mat-option.mat-selected:not(.mat-option-multiple)::after{right:auto;left:16px}.mat-option-text{display:inline-block;flex-grow:1;overflow:hidden;text-overflow:ellipsis}.mat-option .mat-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-option-pseudo-checkbox{margin-right:8px}[dir=rtl] .mat-option-pseudo-checkbox{margin-left:8px;margin-right:0}'],encapsulation:2,changeDetection:0}),we})();function Tt(we,oe,ue){if(ue.length){let W=oe.toArray(),ee=ue.toArray(),B=0;for(let fe=0;fe<we+1;fe++)W[fe].group&&W[fe].group===ee[B]&&B++;return B}return 0}function dn(we,oe,ue,W){return we<ue?we:we+oe>ue+W?Math.max(0,we-W+oe):ue}let Ot=(()=>{class we{}return we.\u0275fac=function(ue){return new(ue||we)},we.\u0275mod=f.oAB({type:we}),we.\u0275inj=f.cJS({imports:[R,x.ez,Q,Te]}),we})()},88696:(et,me,m)=>{m.d(me,{H8:()=>It,Is:()=>ke,WI:()=>de,ZT:()=>Mt,so:()=>Q,uh:()=>sn,uw:()=>yt,xY:()=>en});var f=m(95122),v=m(19596),T=m(18632),P=m(64537),x=m(1379),N=m(88692),te=m(38023),G=m(21860),Y=m(33072),H=m(74970),z=m(65598),U=m(51927),Ae=m(14091),Me=m(38954),ye=m(35436);function he(pe,q){}const ie={params:{enterAnimationDuration:"150ms",exitAnimationDuration:"75ms"}},Ie={dialogContainer:(0,Ae.X$)("dialogContainer",[(0,Ae.SB)("void, exit",(0,Ae.oB)({opacity:0,transform:"scale(0.7)"})),(0,Ae.SB)("enter",(0,Ae.oB)({transform:"none"})),(0,Ae.eR)("* => enter",(0,Ae.ru)([(0,Ae.jt)("{{enterAnimationDuration}} cubic-bezier(0, 0, 0.2, 1)",(0,Ae.oB)({transform:"none",opacity:1})),(0,Ae.IO)("@*",(0,Ae.pV)(),{optional:!0})]),ie),(0,Ae.eR)("* => void, * => exit",(0,Ae.ru)([(0,Ae.jt)("{{exitAnimationDuration}} cubic-bezier(0.4, 0.0, 0.2, 1)",(0,Ae.oB)({opacity:0})),(0,Ae.IO)("@*",(0,Ae.pV)(),{optional:!0})]),ie)])};class rt{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.maxWidth="80vw",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.ariaModal=!0,this.autoFocus="first-tabbable",this.restoreFocus=!0,this.delayFocusTrap=!0,this.closeOnNavigation=!0,this.enterAnimationDuration=ie.params.enterAnimationDuration,this.exitAnimationDuration=ie.params.exitAnimationDuration}}let it=(()=>{class pe extends f.LL{constructor(_e,Ee,Ze,Ct,At,lt,St,Et){super(_e,Ee,Ze,Ct,At,lt,St,Et),this._animationStateChanged=new P.vpe}_captureInitialFocus(){this._config.delayFocusTrap||this._trapFocus()}_openAnimationDone(_e){this._config.delayFocusTrap&&this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:_e})}}return pe.\u0275fac=function(_e){return new(_e||pe)(P.Y36(P.SBq),P.Y36(Me.qV),P.Y36(N.K0,8),P.Y36(rt),P.Y36(Me.ic),P.Y36(P.R0b),P.Y36(v.Iu),P.Y36(Me.tE))},pe.\u0275cmp=P.Xpm({type:pe,selectors:[["ng-component"]],features:[P.qOj],decls:0,vars:0,template:function(_e,Ee){},encapsulation:2}),pe})(),Pe=(()=>{class pe extends it{constructor(_e,Ee,Ze,Ct,At,lt,St,Et,tn){super(_e,Ee,Ze,Ct,At,lt,St,tn),this._changeDetectorRef=Et,this._state="enter"}_onAnimationDone({toState:_e,totalTime:Ee}){"enter"===_e?this._openAnimationDone(Ee):"exit"===_e&&this._animationStateChanged.next({state:"closed",totalTime:Ee})}_onAnimationStart({toState:_e,totalTime:Ee}){"enter"===_e?this._animationStateChanged.next({state:"opening",totalTime:Ee}):("exit"===_e||"void"===_e)&&this._animationStateChanged.next({state:"closing",totalTime:Ee})}_startExitAnimation(){this._state="exit",this._changeDetectorRef.markForCheck()}_getAnimationState(){return{value:this._state,params:{enterAnimationDuration:this._config.enterAnimationDuration||ie.params.enterAnimationDuration,exitAnimationDuration:this._config.exitAnimationDuration||ie.params.exitAnimationDuration}}}}return pe.\u0275fac=function(_e){return new(_e||pe)(P.Y36(P.SBq),P.Y36(Me.qV),P.Y36(N.K0,8),P.Y36(rt),P.Y36(Me.ic),P.Y36(P.R0b),P.Y36(v.Iu),P.Y36(P.sBO),P.Y36(Me.tE))},pe.\u0275cmp=P.Xpm({type:pe,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1",1,"mat-dialog-container"],hostVars:7,hostBindings:function(_e,Ee){1&_e&&P.WFA("@dialogContainer.start",function(Ct){return Ee._onAnimationStart(Ct)})("@dialogContainer.done",function(Ct){return Ee._onAnimationDone(Ct)}),2&_e&&(P.Ikx("id",Ee._config.id),P.uIk("aria-modal",Ee._config.ariaModal)("role",Ee._config.role)("aria-labelledby",Ee._config.ariaLabel?null:Ee._ariaLabelledBy)("aria-label",Ee._config.ariaLabel)("aria-describedby",Ee._config.ariaDescribedBy||null),P.d8E("@dialogContainer",Ee._getAnimationState()))},features:[P.qOj],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(_e,Ee){1&_e&&P.YNc(0,he,0,0,"ng-template",0)},dependencies:[T.Pl],styles:[".mat-dialog-container{display:block;padding:24px;border-radius:4px;box-sizing:border-box;overflow:auto;outline:0;width:100%;height:100%;min-height:inherit;max-height:inherit}.cdk-high-contrast-active .mat-dialog-container{outline:solid 1px}.mat-dialog-content{display:block;margin:0 -24px;padding:0 24px;max-height:65vh;overflow:auto;-webkit-overflow-scrolling:touch}.mat-dialog-title{margin:0 0 20px;display:block}.mat-dialog-actions{padding:8px 0;display:flex;flex-wrap:wrap;min-height:52px;align-items:center;box-sizing:content-box;margin-bottom:-24px}.mat-dialog-actions.mat-dialog-actions-align-center,.mat-dialog-actions[align=center]{justify-content:center}.mat-dialog-actions.mat-dialog-actions-align-end,.mat-dialog-actions[align=end]{justify-content:flex-end}.mat-dialog-actions .mat-button-base+.mat-button-base,.mat-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-dialog-actions .mat-button-base+.mat-button-base,[dir=rtl] .mat-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:0;margin-right:8px}"],encapsulation:2,data:{animation:[Ie.dialogContainer]}}),pe})();class Q{constructor(q,_e,Ee){this._ref=q,this._containerInstance=Ee,this._afterOpened=new te.x,this._beforeClosed=new te.x,this._state=0,this.disableClose=_e.disableClose,this.id=q.id,Ee._animationStateChanged.pipe((0,H.h)(Ze=>"opened"===Ze.state),(0,z.q)(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),Ee._animationStateChanged.pipe((0,H.h)(Ze=>"closed"===Ze.state),(0,z.q)(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),q.overlayRef.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._finishDialogClose()}),(0,G.T)(this.backdropClick(),this.keydownEvents().pipe((0,H.h)(Ze=>Ze.keyCode===ye.hY&&!this.disableClose&&!(0,ye.Vb)(Ze)))).subscribe(Ze=>{this.disableClose||(Ze.preventDefault(),ve(this,"keydown"===Ze.type?"keyboard":"mouse"))})}close(q){this._result=q,this._containerInstance._animationStateChanged.pipe((0,H.h)(_e=>"closing"===_e.state),(0,z.q)(1)).subscribe(_e=>{this._beforeClosed.next(q),this._beforeClosed.complete(),this._ref.overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),_e.totalTime+100)}),this._state=1,this._containerInstance._startExitAnimation()}afterOpened(){return this._afterOpened}afterClosed(){return this._ref.closed}beforeClosed(){return this._beforeClosed}backdropClick(){return this._ref.backdropClick}keydownEvents(){return this._ref.keydownEvents}updatePosition(q){let _e=this._ref.config.positionStrategy;return q&&(q.left||q.right)?q.left?_e.left(q.left):_e.right(q.right):_e.centerHorizontally(),q&&(q.top||q.bottom)?q.top?_e.top(q.top):_e.bottom(q.bottom):_e.centerVertically(),this._ref.updatePosition(),this}updateSize(q="",_e=""){return this._ref.updateSize(q,_e),this}addPanelClass(q){return this._ref.addPanelClass(q),this}removePanelClass(q){return this._ref.removePanelClass(q),this}getState(){return this._state}_finishDialogClose(){this._state=2,this._ref.close(this._result,{focusOrigin:this._closeInteractionType}),this.componentInstance=null}}function ve(pe,q,_e){return pe._closeInteractionType=q,pe.close(_e)}const de=new P.OlP("MatDialogData"),Oe=new P.OlP("mat-dialog-default-options"),ze=new P.OlP("mat-dialog-scroll-strategy"),De={provide:ze,deps:[v.aV],useFactory:function nt(pe){return()=>pe.scrollStrategies.block()}};let Ue=0,$e=(()=>{class pe{constructor(_e,Ee,Ze,Ct,At,lt,St,Et,tn,xt){this._overlay=_e,this._defaultOptions=Ze,this._parentDialog=Ct,this._dialogRefConstructor=St,this._dialogContainerType=Et,this._dialogDataToken=tn,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new te.x,this._afterOpenedAtThisLevel=new te.x,this._idPrefix="mat-dialog-",this.afterAllClosed=(0,Y.P)(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe((0,U.O)(void 0))),this._scrollStrategy=lt,this._dialog=Ee.get(f.Vq)}get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}_getAfterAllClosed(){const _e=this._parentDialog;return _e?_e._getAfterAllClosed():this._afterAllClosedAtThisLevel}open(_e,Ee){let Ze;(Ee={...this._defaultOptions||new rt,...Ee}).id=Ee.id||`${this._idPrefix}${Ue++}`,Ee.scrollStrategy=Ee.scrollStrategy||this._scrollStrategy();const Ct=this._dialog.open(_e,{...Ee,positionStrategy:this._overlay.position().global().centerHorizontally().centerVertically(),disableClose:!0,closeOnDestroy:!1,container:{type:this._dialogContainerType,providers:()=>[{provide:rt,useValue:Ee},{provide:f.ib,useValue:Ee}]},templateContext:()=>({dialogRef:Ze}),providers:(At,lt,St)=>(Ze=new this._dialogRefConstructor(At,Ee,St),Ze.updatePosition(Ee?.position),[{provide:this._dialogContainerType,useValue:St},{provide:this._dialogDataToken,useValue:lt.data},{provide:this._dialogRefConstructor,useValue:Ze}])});return Ze.componentInstance=Ct.componentInstance,this.openDialogs.push(Ze),this.afterOpened.next(Ze),Ze.afterClosed().subscribe(()=>{const At=this.openDialogs.indexOf(Ze);At>-1&&(this.openDialogs.splice(At,1),this.openDialogs.length||this._getAfterAllClosed().next())}),Ze}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(_e){return this.openDialogs.find(Ee=>Ee.id===_e)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}_closeDialogs(_e){let Ee=_e.length;for(;Ee--;)_e[Ee].close()}}return pe.\u0275fac=function(_e){P.$Z()},pe.\u0275prov=P.Yz7({token:pe,factory:pe.\u0275fac}),pe})(),yt=(()=>{class pe extends $e{constructor(_e,Ee,Ze,Ct,At,lt,St,Et){super(_e,Ee,Ct,lt,St,At,Q,Pe,de,Et)}}return pe.\u0275fac=function(_e){return new(_e||pe)(P.LFG(v.aV),P.LFG(P.zs3),P.LFG(N.Ye,8),P.LFG(Oe,8),P.LFG(ze),P.LFG(pe,12),P.LFG(v.Xj),P.LFG(P.QbO,8))},pe.\u0275prov=P.Yz7({token:pe,factory:pe.\u0275fac}),pe})(),zt=0,Mt=(()=>{class pe{constructor(_e,Ee,Ze){this.dialogRef=_e,this._elementRef=Ee,this._dialog=Ze,this.type="button"}ngOnInit(){this.dialogRef||(this.dialogRef=Se(this._elementRef,this._dialog.openDialogs))}ngOnChanges(_e){const Ee=_e._matDialogClose||_e._matDialogCloseResult;Ee&&(this.dialogResult=Ee.currentValue)}_onButtonClick(_e){ve(this.dialogRef,0===_e.screenX&&0===_e.screenY?"keyboard":"mouse",this.dialogResult)}}return pe.\u0275fac=function(_e){return new(_e||pe)(P.Y36(Q,8),P.Y36(P.SBq),P.Y36(yt))},pe.\u0275dir=P.lG2({type:pe,selectors:[["","mat-dialog-close",""],["","matDialogClose",""]],hostVars:2,hostBindings:function(_e,Ee){1&_e&&P.NdJ("click",function(Ct){return Ee._onButtonClick(Ct)}),2&_e&&P.uIk("aria-label",Ee.ariaLabel||null)("type",Ee.type)},inputs:{ariaLabel:["aria-label","ariaLabel"],type:"type",dialogResult:["mat-dialog-close","dialogResult"],_matDialogClose:["matDialogClose","_matDialogClose"]},exportAs:["matDialogClose"],features:[P.TTD]}),pe})(),sn=(()=>{class pe{constructor(_e,Ee,Ze){this._dialogRef=_e,this._elementRef=Ee,this._dialog=Ze,this.id="mat-dialog-title-"+zt++}ngOnInit(){this._dialogRef||(this._dialogRef=Se(this._elementRef,this._dialog.openDialogs)),this._dialogRef&&Promise.resolve().then(()=>{const _e=this._dialogRef._containerInstance;_e&&!_e._ariaLabelledBy&&(_e._ariaLabelledBy=this.id)})}}return pe.\u0275fac=function(_e){return new(_e||pe)(P.Y36(Q,8),P.Y36(P.SBq),P.Y36(yt))},pe.\u0275dir=P.lG2({type:pe,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-dialog-title"],hostVars:1,hostBindings:function(_e,Ee){2&_e&&P.Ikx("id",Ee.id)},inputs:{id:"id"},exportAs:["matDialogTitle"]}),pe})(),en=(()=>{class pe{}return pe.\u0275fac=function(_e){return new(_e||pe)},pe.\u0275dir=P.lG2({type:pe,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-dialog-content"]}),pe})(),It=(()=>{class pe{constructor(){this.align="start"}}return pe.\u0275fac=function(_e){return new(_e||pe)},pe.\u0275dir=P.lG2({type:pe,selectors:[["","mat-dialog-actions",""],["mat-dialog-actions"],["","matDialogActions",""]],hostAttrs:[1,"mat-dialog-actions"],hostVars:4,hostBindings:function(_e,Ee){2&_e&&P.ekj("mat-dialog-actions-align-center","center"===Ee.align)("mat-dialog-actions-align-end","end"===Ee.align)},inputs:{align:"align"}}),pe})();function Se(pe,q){let _e=pe.nativeElement.parentElement;for(;_e&&!_e.classList.contains("mat-dialog-container");)_e=_e.parentElement;return _e?q.find(Ee=>Ee.id===_e.id):null}let ke=(()=>{class pe{}return pe.\u0275fac=function(_e){return new(_e||pe)},pe.\u0275mod=P.oAB({type:pe}),pe.\u0275inj=P.cJS({providers:[yt,De],imports:[f.Su,v.U8,T.eL,x.BQ,x.BQ]}),pe})()},5998:(et,me,m)=>{m.d(me,{Dx:()=>K,H7:()=>an,b2:()=>X,q6:()=>kt,se:()=>$e});var f=m(88692),v=m(64537);class T extends f.w_{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class P extends T{static makeCurrent(){(0,f.HT)(new P)}onAndCancel(re,$,Ce){return re.addEventListener($,Ce,!1),()=>{re.removeEventListener($,Ce,!1)}}dispatchEvent(re,$){re.dispatchEvent($)}remove(re){re.parentNode&&re.parentNode.removeChild(re)}createElement(re,$){return($=$||this.getDefaultDocument()).createElement(re)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(re){return re.nodeType===Node.ELEMENT_NODE}isShadowRoot(re){return re instanceof DocumentFragment}getGlobalEventTarget(re,$){return"window"===$?window:"document"===$?re:"body"===$?re.body:null}getBaseHref(re){const $=function N(){return x=x||document.querySelector("base"),x?x.getAttribute("href"):null}();return null==$?null:function G(ne){te=te||document.createElement("a"),te.setAttribute("href",ne);const re=te.pathname;return"/"===re.charAt(0)?re:`/${re}`}($)}resetBaseElement(){x=null}getUserAgent(){return window.navigator.userAgent}getCookie(re){return(0,f.Mx)(document.cookie,re)}}let te,x=null;const Y=new v.OlP("TRANSITION_ID"),z=[{provide:v.ip1,useFactory:function H(ne,re,$){return()=>{$.get(v.CZH).donePromise.then(()=>{const Ce=(0,f.q)(),Ke=re.querySelectorAll(`style[ng-transition="${ne}"]`);for(let mt=0;mt<Ke.length;mt++)Ce.remove(Ke[mt])})}},deps:[Y,f.K0,v.zs3],multi:!0}];let Ae=(()=>{class ne{build(){return new XMLHttpRequest}}return ne.\u0275fac=function($){return new($||ne)},ne.\u0275prov=v.Yz7({token:ne,factory:ne.\u0275fac}),ne})();const Me=new v.OlP("EventManagerPlugins");let ye=(()=>{class ne{constructor($,Ce){this._zone=Ce,this._eventNameToPlugin=new Map,$.forEach(Ke=>Ke.manager=this),this._plugins=$.slice().reverse()}addEventListener($,Ce,Ke){return this._findPluginFor(Ce).addEventListener($,Ce,Ke)}addGlobalEventListener($,Ce,Ke){return this._findPluginFor(Ce).addGlobalEventListener($,Ce,Ke)}getZone(){return this._zone}_findPluginFor($){const Ce=this._eventNameToPlugin.get($);if(Ce)return Ce;const Ke=this._plugins;for(let mt=0;mt<Ke.length;mt++){const $t=Ke[mt];if($t.supports($))return this._eventNameToPlugin.set($,$t),$t}throw new Error(`No event manager plugin found for event ${$}`)}}return ne.\u0275fac=function($){return new($||ne)(v.LFG(Me),v.LFG(v.R0b))},ne.\u0275prov=v.Yz7({token:ne,factory:ne.\u0275fac}),ne})();class he{constructor(re){this._doc=re}addGlobalEventListener(re,$,Ce){const Ke=(0,f.q)().getGlobalEventTarget(this._doc,re);if(!Ke)throw new Error(`Unsupported event target ${Ke} for event ${$}`);return this.addEventListener(Ke,$,Ce)}}let ie=(()=>{class ne{constructor(){this._stylesSet=new Set}addStyles($){const Ce=new Set;$.forEach(Ke=>{this._stylesSet.has(Ke)||(this._stylesSet.add(Ke),Ce.add(Ke))}),this.onStylesAdded(Ce)}onStylesAdded($){}getAllStyles(){return Array.from(this._stylesSet)}}return ne.\u0275fac=function($){return new($||ne)},ne.\u0275prov=v.Yz7({token:ne,factory:ne.\u0275fac}),ne})(),Ie=(()=>{class ne extends ie{constructor($){super(),this._doc=$,this._hostNodes=new Map,this._hostNodes.set($.head,[])}_addStylesToHost($,Ce,Ke){$.forEach(mt=>{const $t=this._doc.createElement("style");$t.textContent=mt,Ke.push(Ce.appendChild($t))})}addHost($){const Ce=[];this._addStylesToHost(this._stylesSet,$,Ce),this._hostNodes.set($,Ce)}removeHost($){const Ce=this._hostNodes.get($);Ce&&Ce.forEach(rt),this._hostNodes.delete($)}onStylesAdded($){this._hostNodes.forEach((Ce,Ke)=>{this._addStylesToHost($,Ke,Ce)})}ngOnDestroy(){this._hostNodes.forEach($=>$.forEach(rt))}}return ne.\u0275fac=function($){return new($||ne)(v.LFG(f.K0))},ne.\u0275prov=v.Yz7({token:ne,factory:ne.\u0275fac}),ne})();function rt(ne){(0,f.q)().remove(ne)}const it={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/"},Pe=/%COMP%/g;function nt(ne,re,$){for(let Ce=0;Ce<re.length;Ce++){let Ke=re[Ce];Array.isArray(Ke)?nt(ne,Ke,$):(Ke=Ke.replace(Pe,ne),$.push(Ke))}return $}function De(ne){return re=>{if("__ngUnwrap__"===re)return ne;!1===ne(re)&&(re.preventDefault(),re.returnValue=!1)}}let $e=(()=>{class ne{constructor($,Ce,Ke){this.eventManager=$,this.sharedStylesHost=Ce,this.appId=Ke,this.rendererByCompId=new Map,this.defaultRenderer=new yt($)}createRenderer($,Ce){if(!$||!Ce)return this.defaultRenderer;switch(Ce.encapsulation){case v.ifc.Emulated:{let Ke=this.rendererByCompId.get(Ce.id);return Ke||(Ke=new en(this.eventManager,this.sharedStylesHost,Ce,this.appId),this.rendererByCompId.set(Ce.id,Ke)),Ke.applyToHost($),Ke}case 1:case v.ifc.ShadowDom:return new It(this.eventManager,this.sharedStylesHost,$,Ce);default:if(!this.rendererByCompId.has(Ce.id)){const Ke=nt(Ce.id,Ce.styles,[]);this.sharedStylesHost.addStyles(Ke),this.rendererByCompId.set(Ce.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return ne.\u0275fac=function($){return new($||ne)(v.LFG(ye),v.LFG(Ie),v.LFG(v.AFp))},ne.\u0275prov=v.Yz7({token:ne,factory:ne.\u0275fac}),ne})();class yt{constructor(re){this.eventManager=re,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(re,$){return $?document.createElementNS(it[$]||$,re):document.createElement(re)}createComment(re){return document.createComment(re)}createText(re){return document.createTextNode(re)}appendChild(re,$){(sn(re)?re.content:re).appendChild($)}insertBefore(re,$,Ce){re&&(sn(re)?re.content:re).insertBefore($,Ce)}removeChild(re,$){re&&re.removeChild($)}selectRootElement(re,$){let Ce="string"==typeof re?document.querySelector(re):re;if(!Ce)throw new Error(`The selector "${re}" did not match any elements`);return $||(Ce.textContent=""),Ce}parentNode(re){return re.parentNode}nextSibling(re){return re.nextSibling}setAttribute(re,$,Ce,Ke){if(Ke){$=Ke+":"+$;const mt=it[Ke];mt?re.setAttributeNS(mt,$,Ce):re.setAttribute($,Ce)}else re.setAttribute($,Ce)}removeAttribute(re,$,Ce){if(Ce){const Ke=it[Ce];Ke?re.removeAttributeNS(Ke,$):re.removeAttribute(`${Ce}:${$}`)}else re.removeAttribute($)}addClass(re,$){re.classList.add($)}removeClass(re,$){re.classList.remove($)}setStyle(re,$,Ce,Ke){Ke&(v.JOm.DashCase|v.JOm.Important)?re.style.setProperty($,Ce,Ke&v.JOm.Important?"important":""):re.style[$]=Ce}removeStyle(re,$,Ce){Ce&v.JOm.DashCase?re.style.removeProperty($):re.style[$]=""}setProperty(re,$,Ce){re[$]=Ce}setValue(re,$){re.nodeValue=$}listen(re,$,Ce){return"string"==typeof re?this.eventManager.addGlobalEventListener(re,$,De(Ce)):this.eventManager.addEventListener(re,$,De(Ce))}}function sn(ne){return"TEMPLATE"===ne.tagName&&void 0!==ne.content}class en extends yt{constructor(re,$,Ce,Ke){super(re),this.component=Ce;const mt=nt(Ke+"-"+Ce.id,Ce.styles,[]);$.addStyles(mt),this.contentAttr=function ze(ne){return"_ngcontent-%COMP%".replace(Pe,ne)}(Ke+"-"+Ce.id),this.hostAttr=function Re(ne){return"_nghost-%COMP%".replace(Pe,ne)}(Ke+"-"+Ce.id)}applyToHost(re){super.setAttribute(re,this.hostAttr,"")}createElement(re,$){const Ce=super.createElement(re,$);return super.setAttribute(Ce,this.contentAttr,""),Ce}}class It extends yt{constructor(re,$,Ce,Ke){super(re),this.sharedStylesHost=$,this.hostEl=Ce,this.shadowRoot=Ce.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const mt=nt(Ke.id,Ke.styles,[]);for(let $t=0;$t<mt.length;$t++){const Wt=document.createElement("style");Wt.textContent=mt[$t],this.shadowRoot.appendChild(Wt)}}nodeOrShadowRoot(re){return re===this.hostEl?this.shadowRoot:re}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}appendChild(re,$){return super.appendChild(this.nodeOrShadowRoot(re),$)}insertBefore(re,$,Ce){return super.insertBefore(this.nodeOrShadowRoot(re),$,Ce)}removeChild(re,$){return super.removeChild(this.nodeOrShadowRoot(re),$)}parentNode(re){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(re)))}}let Se=(()=>{class ne extends he{constructor($){super($)}supports($){return!0}addEventListener($,Ce,Ke){return $.addEventListener(Ce,Ke,!1),()=>this.removeEventListener($,Ce,Ke)}removeEventListener($,Ce,Ke){return $.removeEventListener(Ce,Ke)}}return ne.\u0275fac=function($){return new($||ne)(v.LFG(f.K0))},ne.\u0275prov=v.Yz7({token:ne,factory:ne.\u0275fac}),ne})();const ke=["alt","control","meta","shift"],pe={"\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"},q={alt:ne=>ne.altKey,control:ne=>ne.ctrlKey,meta:ne=>ne.metaKey,shift:ne=>ne.shiftKey};let _e=(()=>{class ne extends he{constructor($){super($)}supports($){return null!=ne.parseEventName($)}addEventListener($,Ce,Ke){const mt=ne.parseEventName(Ce),$t=ne.eventCallback(mt.fullKey,Ke,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,f.q)().onAndCancel($,mt.domEventName,$t))}static parseEventName($){const Ce=$.toLowerCase().split("."),Ke=Ce.shift();if(0===Ce.length||"keydown"!==Ke&&"keyup"!==Ke)return null;const mt=ne._normalizeKey(Ce.pop());let $t="",Wt=Ce.indexOf("code");if(Wt>-1&&(Ce.splice(Wt,1),$t="code."),ke.forEach(Vn=>{const wt=Ce.indexOf(Vn);wt>-1&&(Ce.splice(wt,1),$t+=Vn+".")}),$t+=mt,0!=Ce.length||0===mt.length)return null;const nn={};return nn.domEventName=Ke,nn.fullKey=$t,nn}static matchEventFullKeyCode($,Ce){let Ke=pe[$.key]||$.key,mt="";return Ce.indexOf("code.")>-1&&(Ke=$.code,mt="code."),!(null==Ke||!Ke)&&(Ke=Ke.toLowerCase()," "===Ke?Ke="space":"."===Ke&&(Ke="dot"),ke.forEach($t=>{$t!==Ke&&(0,q[$t])($)&&(mt+=$t+".")}),mt+=Ke,mt===Ce)}static eventCallback($,Ce,Ke){return mt=>{ne.matchEventFullKeyCode(mt,$)&&Ke.runGuarded(()=>Ce(mt))}}static _normalizeKey($){return"esc"===$?"escape":$}}return ne.\u0275fac=function($){return new($||ne)(v.LFG(f.K0))},ne.\u0275prov=v.Yz7({token:ne,factory:ne.\u0275fac}),ne})();const kt=(0,v.eFA)(v._c5,"browser",[{provide:v.Lbi,useValue:f.bD},{provide:v.g9A,useValue:function St(){P.makeCurrent()},multi:!0},{provide:f.K0,useFactory:function tn(){return(0,v.RDi)(document),document},deps:[]}]),Qe=new v.OlP(""),Ve=[{provide:v.rWj,useClass:class U{addToWindow(re){v.dqk.getAngularTestability=(Ce,Ke=!0)=>{const mt=re.findTestabilityInTree(Ce,Ke);if(null==mt)throw new Error("Could not find testability for element.");return mt},v.dqk.getAllAngularTestabilities=()=>re.getAllTestabilities(),v.dqk.getAllAngularRootElements=()=>re.getAllRootElements(),v.dqk.frameworkStabilizers||(v.dqk.frameworkStabilizers=[]),v.dqk.frameworkStabilizers.push(Ce=>{const Ke=v.dqk.getAllAngularTestabilities();let mt=Ke.length,$t=!1;const Wt=function(nn){$t=$t||nn,mt--,0==mt&&Ce($t)};Ke.forEach(function(nn){nn.whenStable(Wt)})})}findTestabilityInTree(re,$,Ce){return null==$?null:re.getTestability($)??(Ce?(0,f.q)().isShadowRoot($)?this.findTestabilityInTree(re,$.host,!0):this.findTestabilityInTree(re,$.parentElement,!0):null)}},deps:[]},{provide:v.lri,useClass:v.dDg,deps:[v.R0b,v.eoX,v.rWj]},{provide:v.dDg,useClass:v.dDg,deps:[v.R0b,v.eoX,v.rWj]}],V=[{provide:v.zSh,useValue:"root"},{provide:v.qLn,useFactory:function Et(){return new v.qLn},deps:[]},{provide:Me,useClass:Se,multi:!0,deps:[f.K0,v.R0b,v.Lbi]},{provide:Me,useClass:_e,multi:!0,deps:[f.K0]},{provide:$e,useClass:$e,deps:[ye,Ie,v.AFp]},{provide:v.FYo,useExisting:$e},{provide:ie,useExisting:Ie},{provide:Ie,useClass:Ie,deps:[f.K0]},{provide:ye,useClass:ye,deps:[Me,v.R0b]},{provide:f.JF,useClass:Ae,deps:[]},[]];let X=(()=>{class ne{constructor($){}static withServerTransition($){return{ngModule:ne,providers:[{provide:v.AFp,useValue:$.appId},{provide:Y,useExisting:v.AFp},z]}}}return ne.\u0275fac=function($){return new($||ne)(v.LFG(Qe,12))},ne.\u0275mod=v.oAB({type:ne}),ne.\u0275inj=v.cJS({providers:[...V,...Ve],imports:[f.ez,v.hGG]}),ne})(),K=(()=>{class ne{constructor($){this._doc=$}getTitle(){return this._doc.title}setTitle($){this._doc.title=$||""}}return ne.\u0275fac=function($){return new($||ne)(v.LFG(f.K0))},ne.\u0275prov=v.Yz7({token:ne,factory:function($){let Ce=null;return Ce=$?new $:function Te(){return new K((0,v.LFG)(f.K0))}(),Ce},providedIn:"root"}),ne})();typeof window<"u"&&window;let an=(()=>{class ne{}return ne.\u0275fac=function($){return new($||ne)},ne.\u0275prov=v.Yz7({token:ne,factory:function($){let Ce=null;return Ce=$?new($||ne):v.LFG(wn),Ce},providedIn:"root"}),ne})(),wn=(()=>{class ne extends an{constructor($){super(),this._doc=$}sanitize($,Ce){if(null==Ce)return null;switch($){case v.q3G.NONE:return Ce;case v.q3G.HTML:return(0,v.qzn)(Ce,"HTML")?(0,v.z3N)(Ce):(0,v.EiD)(this._doc,String(Ce)).toString();case v.q3G.STYLE:return(0,v.qzn)(Ce,"Style")?(0,v.z3N)(Ce):Ce;case v.q3G.SCRIPT:if((0,v.qzn)(Ce,"Script"))return(0,v.z3N)(Ce);throw new Error("unsafe value used in a script context");case v.q3G.URL:return(0,v.qzn)(Ce,"URL")?(0,v.z3N)(Ce):(0,v.mCW)(String(Ce));case v.q3G.RESOURCE_URL:if((0,v.qzn)(Ce,"ResourceURL"))return(0,v.z3N)(Ce);throw new Error("unsafe value used in a resource URL context (see https://g.co/ng/security#xss)");default:throw new Error(`Unexpected SecurityContext ${$} (see https://g.co/ng/security#xss)`)}}bypassSecurityTrustHtml($){return(0,v.JVY)($)}bypassSecurityTrustStyle($){return(0,v.L6k)($)}bypassSecurityTrustScript($){return(0,v.eBb)($)}bypassSecurityTrustUrl($){return(0,v.LAX)($)}bypassSecurityTrustResourceUrl($){return(0,v.pB0)($)}}return ne.\u0275fac=function($){return new($||ne)(v.LFG(f.K0))},ne.\u0275prov=v.Yz7({token:ne,factory:function($){let Ce=null;return Ce=$?new $:function En(ne){return new wn(ne.get(f.K0))}(v.LFG(v.zs3)),Ce},providedIn:"root"}),ne})()},94032:(et,me,m)=>{m.d(me,{gz:()=>Hr,F0:()=>kn,yS:()=>no,Bz:()=>Bn,lC:()=>ri});var f=m(64537),v=m(66393),T=m(84945),P=m(54121),x=m(87472),N=m(15696),te=m(83729),G=m(33072),Y=m(17824),H=m(83787),z=m(87241),U=m(9018),Ae=m(50561),Me=m(38023),ye=m(88692),he=m(27969),ie=m(61528),Ie=m(65598),rt=m(51927),it=m(74970),Pe=m(54882),Q=m(79676),ve=m(44551),de=m(98168),Oe=m(33568),ze=m(32085),Re=m(28499);function nt(u,d,l,y,E){return(O,Z)=>{let J=l,He=d,at=0;O.subscribe((0,Re.x)(Z,Zt=>{const _t=at++;He=J?u(He,Zt,_t):(J=!0,Zt),y&&Z.next(He)},E&&(()=>{J&&Z.next(He),Z.complete()})))}}function De(u,d){return(0,ze.e)(nt(u,d,arguments.length>=2,!0))}function Ue(u){return u<=0?()=>U.E:(0,ze.e)((d,l)=>{let y=[];d.subscribe((0,Re.x)(l,E=>{y.push(E),u<y.length&&y.shift()},()=>{for(const E of y)l.next(E);l.complete()},void 0,()=>{y=null}))})}var $e=m(18623),yt=m(22686),zt=m(68330);function Mt(u,d){const l=arguments.length>=2;return y=>y.pipe(u?(0,it.h)((E,O)=>u(E,O,y)):zt.y,Ue(1),l?(0,yt.d)(d):(0,$e.T)(()=>new x.K))}var sn=m(65857),en=m(10116),It=m(5490),Se=m(34601),ke=m(70549),pe=m(5998);const q="primary",_e=Symbol("RouteTitle");class Ee{constructor(d){this.params=d||{}}has(d){return Object.prototype.hasOwnProperty.call(this.params,d)}get(d){if(this.has(d)){const l=this.params[d];return Array.isArray(l)?l[0]:l}return null}getAll(d){if(this.has(d)){const l=this.params[d];return Array.isArray(l)?l:[l]}return[]}get keys(){return Object.keys(this.params)}}function Ze(u){return new Ee(u)}function Ct(u,d,l){const y=l.path.split("/");if(y.length>u.length||"full"===l.pathMatch&&(d.hasChildren()||y.length<u.length))return null;const E={};for(let O=0;O<y.length;O++){const Z=y[O],J=u[O];if(Z.startsWith(":"))E[Z.substring(1)]=J;else if(Z!==J.path)return null}return{consumed:u.slice(0,y.length),posParams:E}}function lt(u,d){const l=u?Object.keys(u):void 0,y=d?Object.keys(d):void 0;if(!l||!y||l.length!=y.length)return!1;let E;for(let O=0;O<l.length;O++)if(E=l[O],!St(u[E],d[E]))return!1;return!0}function St(u,d){if(Array.isArray(u)&&Array.isArray(d)){if(u.length!==d.length)return!1;const l=[...u].sort(),y=[...d].sort();return l.every((E,O)=>y[O]===E)}return u===d}function Et(u){return Array.prototype.concat.apply([],u)}function tn(u){return u.length>0?u[u.length-1]:null}function kt(u,d){for(const l in u)u.hasOwnProperty(l)&&d(u[l],l)}function Qe(u){return(0,f.CqO)(u)?u:(0,f.QGY)(u)?(0,v.D)(Promise.resolve(u)):(0,T.of)(u)}const X={exact:function Te(u,d,l){if(!Je(u.segments,d.segments)||!be(u.segments,d.segments,l)||u.numberOfChildren!==d.numberOfChildren)return!1;for(const y in d.children)if(!u.children[y]||!Te(u.children[y],d.children[y],l))return!1;return!0},subset:L},w={exact:function ae(u,d){return lt(u,d)},subset:function K(u,d){return Object.keys(d).length<=Object.keys(u).length&&Object.keys(d).every(l=>St(u[l],d[l]))},ignored:()=>!0};function R(u,d,l){return X[l.paths](u.root,d.root,l.matrixParams)&&w[l.queryParams](u.queryParams,d.queryParams)&&!("exact"===l.fragment&&u.fragment!==d.fragment)}function L(u,d,l){return k(u,d,d.segments,l)}function k(u,d,l,y){if(u.segments.length>l.length){const E=u.segments.slice(0,l.length);return!(!Je(E,l)||d.hasChildren()||!be(E,l,y))}if(u.segments.length===l.length){if(!Je(u.segments,l)||!be(u.segments,l,y))return!1;for(const E in d.children)if(!u.children[E]||!L(u.children[E],d.children[E],y))return!1;return!0}{const E=l.slice(0,u.segments.length),O=l.slice(u.segments.length);return!!(Je(u.segments,E)&&be(u.segments,E,y)&&u.children[q])&&k(u.children[q],d,O,y)}}function be(u,d,l){return d.every((y,E)=>w[l](u[E].parameters,y.parameters))}class xe{constructor(d,l,y){this.root=d,this.queryParams=l,this.fragment=y}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Ze(this.queryParams)),this._queryParamMap}toString(){return Ot.serialize(this)}}class je{constructor(d,l){this.segments=d,this.children=l,this.parent=null,kt(l,(y,E)=>y.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return we(this)}}class ct{constructor(d,l){this.path=d,this.parameters=l}get parameterMap(){return this._parameterMap||(this._parameterMap=Ze(this.parameters)),this._parameterMap}toString(){return st(this)}}function Je(u,d){return u.length===d.length&&u.every((l,y)=>l.path===d[y].path)}let Tt=(()=>{class u{}return u.\u0275fac=function(l){return new(l||u)},u.\u0275prov=f.Yz7({token:u,factory:function(){return new dn},providedIn:"root"}),u})();class dn{parse(d){const l=new Mn(d);return new xe(l.parseRootSegment(),l.parseQueryParams(),l.parseFragment())}serialize(d){const l=`/${oe(d.root,!0)}`,y=function jt(u){const d=Object.keys(u).map(l=>{const y=u[l];return Array.isArray(y)?y.map(E=>`${W(l)}=${W(E)}`).join("&"):`${W(l)}=${W(y)}`}).filter(l=>!!l);return d.length?`?${d.join("&")}`:""}(d.queryParams);return`${l}${y}${"string"==typeof d.fragment?`#${function ee(u){return encodeURI(u)}(d.fragment)}`:""}`}}const Ot=new dn;function we(u){return u.segments.map(d=>st(d)).join("/")}function oe(u,d){if(!u.hasChildren())return we(u);if(d){const l=u.children[q]?oe(u.children[q],!1):"",y=[];return kt(u.children,(E,O)=>{O!==q&&y.push(`${O}:${oe(E,!1)}`)}),y.length>0?`${l}(${y.join("//")})`:l}{const l=function Bt(u,d){let l=[];return kt(u.children,(y,E)=>{E===q&&(l=l.concat(d(y,E)))}),kt(u.children,(y,E)=>{E!==q&&(l=l.concat(d(y,E)))}),l}(u,(y,E)=>E===q?[oe(u.children[q],!1)]:[`${E}:${oe(y,!1)}`]);return 1===Object.keys(u.children).length&&null!=u.children[q]?`${we(u)}/${l[0]}`:`${we(u)}/(${l.join("//")})`}}function ue(u){return encodeURIComponent(u).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function W(u){return ue(u).replace(/%3B/gi,";")}function B(u){return ue(u).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function fe(u){return decodeURIComponent(u)}function Ne(u){return fe(u.replace(/\+/g,"%20"))}function st(u){return`${B(u.path)}${function Pt(u){return Object.keys(u).map(d=>`;${B(d)}=${B(u[d])}`).join("")}(u.parameters)}`}const Xn=/^[^\/()?;=#]+/;function Ht(u){const d=u.match(Xn);return d?d[0]:""}const on=/^[^=?&#]+/,En=/^[^&#]+/;class Mn{constructor(d){this.url=d,this.remaining=d}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new je([],{}):new je([],this.parseChildren())}parseQueryParams(){const d={};if(this.consumeOptional("?"))do{this.parseQueryParam(d)}while(this.consumeOptional("&"));return d}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const d=[];for(this.peekStartsWith("(")||d.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),d.push(this.parseSegment());let l={};this.peekStartsWith("/(")&&(this.capture("/"),l=this.parseParens(!0));let y={};return this.peekStartsWith("(")&&(y=this.parseParens(!1)),(d.length>0||Object.keys(l).length>0)&&(y[q]=new je(d,l)),y}parseSegment(){const d=Ht(this.remaining);if(""===d&&this.peekStartsWith(";"))throw new f.vHH(4009,!1);return this.capture(d),new ct(fe(d),this.parseMatrixParams())}parseMatrixParams(){const d={};for(;this.consumeOptional(";");)this.parseParam(d);return d}parseParam(d){const l=Ht(this.remaining);if(!l)return;this.capture(l);let y="";if(this.consumeOptional("=")){const E=Ht(this.remaining);E&&(y=E,this.capture(y))}d[fe(l)]=fe(y)}parseQueryParam(d){const l=function an(u){const d=u.match(on);return d?d[0]:""}(this.remaining);if(!l)return;this.capture(l);let y="";if(this.consumeOptional("=")){const Z=function wn(u){const d=u.match(En);return d?d[0]:""}(this.remaining);Z&&(y=Z,this.capture(y))}const E=Ne(l),O=Ne(y);if(d.hasOwnProperty(E)){let Z=d[E];Array.isArray(Z)||(Z=[Z],d[E]=Z),Z.push(O)}else d[E]=O}parseParens(d){const l={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const y=Ht(this.remaining),E=this.remaining[y.length];if("/"!==E&&")"!==E&&";"!==E)throw new f.vHH(4010,!1);let O;y.indexOf(":")>-1?(O=y.slice(0,y.indexOf(":")),this.capture(O),this.capture(":")):d&&(O=q);const Z=this.parseChildren();l[O]=1===Object.keys(Z).length?Z[q]:new je([],Z),this.consumeOptional("//")}return l}peekStartsWith(d){return this.remaining.startsWith(d)}consumeOptional(d){return!!this.peekStartsWith(d)&&(this.remaining=this.remaining.substring(d.length),!0)}capture(d){if(!this.consumeOptional(d))throw new f.vHH(4011,!1)}}function ne(u){return u.segments.length>0?new je([],{[q]:u}):u}function re(u){const d={};for(const y of Object.keys(u.children)){const O=re(u.children[y]);(O.segments.length>0||O.hasChildren())&&(d[y]=O)}return function $(u){if(1===u.numberOfChildren&&u.children[q]){const d=u.children[q];return new je(u.segments.concat(d.segments),d.children)}return u}(new je(u.segments,d))}function Ce(u){return u instanceof xe}function nn(u,d,l,y,E){if(0===l.length)return Fn(d.root,d.root,d.root,y,E);const O=function hr(u){if("string"==typeof u[0]&&1===u.length&&"/"===u[0])return new Xr(!0,0,u);let d=0,l=!1;const y=u.reduce((E,O,Z)=>{if("object"==typeof O&&null!=O){if(O.outlets){const J={};return kt(O.outlets,(He,at)=>{J[at]="string"==typeof He?He.split("/"):He}),[...E,{outlets:J}]}if(O.segmentPath)return[...E,O.segmentPath]}return"string"!=typeof O?[...E,O]:0===Z?(O.split("/").forEach((J,He)=>{0==He&&"."===J||(0==He&&""===J?l=!0:".."===J?d++:""!=J&&E.push(J))}),E):[...E,O]},[]);return new Xr(l,d,y)}(l);return O.toRoot()?Fn(d.root,d.root,new je([],{}),y,E):function Z(He){const at=function Jn(u,d,l,y){if(u.isAbsolute)return new yn(d.root,!0,0);if(-1===y)return new yn(l,l===d.root,0);return function Kn(u,d,l){let y=u,E=d,O=l;for(;O>E;){if(O-=E,y=y.parent,!y)throw new f.vHH(4005,!1);E=y.segments.length}return new yn(y,!1,E-O)}(l,y+(Vn(u.commands[0])?0:1),u.numberOfDoubleDots)}(O,d,u.snapshot?._urlSegment,He),Zt=at.processChildren?qt(at.segmentGroup,at.index,O.commands):Jr(at.segmentGroup,at.index,O.commands);return Fn(d.root,at.segmentGroup,Zt,y,E)}(u.snapshot?._lastPathIndex)}function Vn(u){return"object"==typeof u&&null!=u&&!u.outlets&&!u.segmentPath}function wt(u){return"object"==typeof u&&null!=u&&u.outlets}function Fn(u,d,l,y,E){let Z,O={};y&&kt(y,(He,at)=>{O[at]=Array.isArray(He)?He.map(Zt=>`${Zt}`):`${He}`}),Z=u===d?l:yr(u,d,l);const J=ne(re(Z));return new xe(J,O,E)}function yr(u,d,l){const y={};return kt(u.children,(E,O)=>{y[O]=E===d?l:yr(E,d,l)}),new je(u.segments,y)}class Xr{constructor(d,l,y){if(this.isAbsolute=d,this.numberOfDoubleDots=l,this.commands=y,d&&y.length>0&&Vn(y[0]))throw new f.vHH(4003,!1);const E=y.find(wt);if(E&&E!==tn(y))throw new f.vHH(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class yn{constructor(d,l,y){this.segmentGroup=d,this.processChildren=l,this.index=y}}function Jr(u,d,l){if(u||(u=new je([],{})),0===u.segments.length&&u.hasChildren())return qt(u,d,l);const y=function qr(u,d,l){let y=0,E=d;const O={match:!1,pathIndex:0,commandIndex:0};for(;E<u.segments.length;){if(y>=l.length)return O;const Z=u.segments[E],J=l[y];if(wt(J))break;const He=`${J}`,at=y<l.length-1?l[y+1]:null;if(E>0&&void 0===He)break;if(He&&at&&"object"==typeof at&&void 0===at.outlets){if(!rr(He,at,Z))return O;y+=2}else{if(!rr(He,{},Z))return O;y++}E++}return{match:!0,pathIndex:E,commandIndex:y}}(u,d,l),E=l.slice(y.commandIndex);if(y.match&&y.pathIndex<u.segments.length){const O=new je(u.segments.slice(0,y.pathIndex),{});return O.children[q]=new je(u.segments.slice(y.pathIndex),u.children),qt(O,0,E)}return y.match&&0===E.length?new je(u.segments,{}):y.match&&!u.hasChildren()?Br(u,d,l):y.match?qt(u,0,E):Br(u,d,l)}function qt(u,d,l){if(0===l.length)return new je(u.segments,{});{const y=function kr(u){return wt(u[0])?u[0].outlets:{[q]:u}}(l),E={};return kt(y,(O,Z)=>{"string"==typeof O&&(O=[O]),null!==O&&(E[Z]=Jr(u.children[Z],d,O))}),kt(u.children,(O,Z)=>{void 0===y[Z]&&(E[Z]=O)}),new je(u.segments,E)}}function Br(u,d,l){const y=u.segments.slice(0,d);let E=0;for(;E<l.length;){const O=l[E];if(wt(O)){const He=Tr(O.outlets);return new je(y,He)}if(0===E&&Vn(l[0])){y.push(new ct(u.segments[d].path,ei(l[0]))),E++;continue}const Z=wt(O)?O.outlets[q]:`${O}`,J=E<l.length-1?l[E+1]:null;Z&&J&&Vn(J)?(y.push(new ct(Z,ei(J))),E+=2):(y.push(new ct(Z,{})),E++)}return new je(y,{})}function Tr(u){const d={};return kt(u,(l,y)=>{"string"==typeof l&&(l=[l]),null!==l&&(d[y]=Br(new je([],{}),0,l))}),d}function ei(u){const d={};return kt(u,(l,y)=>d[y]=`${l}`),d}function rr(u,d,l){return u==l.path&&lt(d,l.parameters)}class xn{constructor(d,l){this.id=d,this.url=l}}class tr extends xn{constructor(d,l,y="imperative",E=null){super(d,l),this.type=0,this.navigationTrigger=y,this.restoredState=E}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class ln extends xn{constructor(d,l,y){super(d,l),this.urlAfterRedirects=y,this.type=1}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class Ar extends xn{constructor(d,l,y,E){super(d,l),this.reason=y,this.code=E,this.type=2}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class An extends xn{constructor(d,l,y,E){super(d,l),this.error=y,this.target=E,this.type=3}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class Gn extends xn{constructor(d,l,y,E){super(d,l),this.urlAfterRedirects=y,this.state=E,this.type=4}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Ur extends xn{constructor(d,l,y,E){super(d,l),this.urlAfterRedirects=y,this.state=E,this.type=7}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class nr extends xn{constructor(d,l,y,E,O){super(d,l),this.urlAfterRedirects=y,this.state=E,this.shouldActivate=O,this.type=8}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class Ir extends xn{constructor(d,l,y,E){super(d,l),this.urlAfterRedirects=y,this.state=E,this.type=5}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class qn extends xn{constructor(d,l,y,E){super(d,l),this.urlAfterRedirects=y,this.state=E,this.type=6}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class ti{constructor(d){this.route=d,this.type=9}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class Ks{constructor(d){this.route=d,this.type=10}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class os{constructor(d){this.snapshot=d,this.type=11}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class as{constructor(d){this.snapshot=d,this.type=12}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Ro{constructor(d){this.snapshot=d,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class ir{constructor(d){this.snapshot=d,this.type=14}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Li{constructor(d,l,y){this.routerEvent=d,this.position=l,this.anchor=y,this.type=15}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class _i{constructor(d){this._root=d}get root(){return this._root.value}parent(d){const l=this.pathFromRoot(d);return l.length>1?l[l.length-2]:null}children(d){const l=yi(d,this._root);return l?l.children.map(y=>y.value):[]}firstChild(d){const l=yi(d,this._root);return l&&l.children.length>0?l.children[0].value:null}siblings(d){const l=Vr(d,this._root);return l.length<2?[]:l[l.length-2].children.map(E=>E.value).filter(E=>E!==d)}pathFromRoot(d){return Vr(d,this._root).map(l=>l.value)}}function yi(u,d){if(u===d.value)return d;for(const l of d.children){const y=yi(u,l);if(y)return y}return null}function Vr(u,d){if(u===d.value)return[d];for(const l of d.children){const y=Vr(u,l);if(y.length)return y.unshift(d),y}return[]}class vr{constructor(d,l){this.value=d,this.children=l}toString(){return`TreeNode(${this.value})`}}function jr(u){const d={};return u&&u.children.forEach(l=>d[l.value.outlet]=l),d}class Ss extends _i{constructor(d,l){super(d),this.snapshot=l,Ni(this,d)}toString(){return this.snapshot.toString()}}function Ys(u,d){const l=function ls(u,d){const Z=new Or([],{},{},"",{},q,d,null,u.root,-1,{});return new Fi("",new vr(Z,[]))}(u,d),y=new P.X([new ct("",{})]),E=new P.X({}),O=new P.X({}),Z=new P.X({}),J=new P.X(""),He=new Hr(y,E,Z,J,O,q,d,l.root);return He.snapshot=l.root,new Ss(new vr(He,[]),l)}class Hr{constructor(d,l,y,E,O,Z,J,He){this.url=d,this.params=l,this.queryParams=y,this.fragment=E,this.data=O,this.outlet=Z,this.component=J,this.title=this.data?.pipe((0,he.U)(at=>at[_e]))??(0,T.of)(void 0),this._futureSnapshot=He}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,he.U)(d=>Ze(d)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe((0,he.U)(d=>Ze(d)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function Ts(u,d="emptyOnly"){const l=u.pathFromRoot;let y=0;if("always"!==d)for(y=l.length-1;y>=1;){const E=l[y],O=l[y-1];if(E.routeConfig&&""===E.routeConfig.path)y--;else{if(O.component)break;y--}}return function cs(u){return u.reduce((d,l)=>({params:{...d.params,...l.params},data:{...d.data,...l.data},resolve:{...l.data,...d.resolve,...l.routeConfig?.data,...l._resolvedData}}),{params:{},data:{},resolve:{}})}(l.slice(y))}class Or{constructor(d,l,y,E,O,Z,J,He,at,Zt,_t,mn){this.url=d,this.params=l,this.queryParams=y,this.fragment=E,this.data=O,this.outlet=Z,this.component=J,this.title=this.data?.[_e],this.routeConfig=He,this._urlSegment=at,this._lastPathIndex=Zt,this._correctedLastPathIndex=mn??Zt,this._resolve=_t}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=Ze(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Ze(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(y=>y.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class Fi extends _i{constructor(d,l){super(l),this.url=d,Ni(this,l)}toString(){return Zs(this._root)}}function Ni(u,d){d.value._routerState=u,d.children.forEach(l=>Ni(u,l))}function Zs(u){const d=u.children.length>0?` { ${u.children.map(Zs).join(", ")} } `:"";return`${u.value}${d}`}function sr(u){if(u.snapshot){const d=u.snapshot,l=u._futureSnapshot;u.snapshot=l,lt(d.queryParams,l.queryParams)||u.queryParams.next(l.queryParams),d.fragment!==l.fragment&&u.fragment.next(l.fragment),lt(d.params,l.params)||u.params.next(l.params),function At(u,d){if(u.length!==d.length)return!1;for(let l=0;l<u.length;++l)if(!lt(u[l],d[l]))return!1;return!0}(d.url,l.url)||u.url.next(l.url),lt(d.data,l.data)||u.data.next(l.data)}else u.snapshot=u._futureSnapshot,u.data.next(u._futureSnapshot.data)}function vi(u,d){const l=lt(u.params,d.params)&&function Lt(u,d){return Je(u,d)&&u.every((l,y)=>lt(l.parameters,d[y].parameters))}(u.url,d.url);return l&&!(!u.parent!=!d.parent)&&(!u.parent||vi(u.parent,d.parent))}function $r(u,d,l){if(l&&u.shouldReuseRoute(d.value,l.value.snapshot)){const y=l.value;y._futureSnapshot=d.value;const E=function Bi(u,d,l){return d.children.map(y=>{for(const E of l.children)if(u.shouldReuseRoute(y.value,E.value.snapshot))return $r(u,y,E);return $r(u,y)})}(u,d,l);return new vr(y,E)}{if(u.shouldAttach(d.value)){const O=u.retrieve(d.value);if(null!==O){const Z=O.route;return Z.value._futureSnapshot=d.value,Z.children=d.children.map(J=>$r(u,J)),Z}}const y=function Ui(u){return new Hr(new P.X(u.url),new P.X(u.params),new P.X(u.queryParams),new P.X(u.fragment),new P.X(u.data),u.outlet,u.component,u)}(d.value),E=d.children.map(O=>$r(u,O));return new vr(y,E)}}const ni="ngNavigationCancelingError";function us(u,d){const{redirectTo:l,navigationBehaviorOptions:y}=Ce(d)?{redirectTo:d,navigationBehaviorOptions:void 0}:d,E=ds(!1,0,d);return E.url=l,E.navigationBehaviorOptions=y,E}function ds(u,d,l){const y=new Error("NavigationCancelingError: "+(u||""));return y[ni]=!0,y.cancellationCode=d,l&&(y.url=l),y}function zr(u){return hs(u)&&Ce(u.url)}function hs(u){return u&&u[ni]}class jn{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.injector=null,this.children=new Pr,this.attachRef=null}}let Pr=(()=>{class u{constructor(){this.contexts=new Map}onChildOutletCreated(l,y){const E=this.getOrCreateContext(l);E.outlet=y,this.contexts.set(l,E)}onChildOutletDestroyed(l){const y=this.getContext(l);y&&(y.outlet=null,y.attachRef=null)}onOutletDeactivated(){const l=this.contexts;return this.contexts=new Map,l}onOutletReAttached(l){this.contexts=l}getOrCreateContext(l){let y=this.getContext(l);return y||(y=new jn,this.contexts.set(l,y)),y}getContext(l){return this.contexts.get(l)||null}}return u.\u0275fac=function(l){return new(l||u)},u.\u0275prov=f.Yz7({token:u,factory:u.\u0275fac,providedIn:"root"}),u})();const Di=!1;let ri=(()=>{class u{constructor(l,y,E,O,Z){this.parentContexts=l,this.location=y,this.changeDetector=O,this.environmentInjector=Z,this.activated=null,this._activatedRoute=null,this.activateEvents=new f.vpe,this.deactivateEvents=new f.vpe,this.attachEvents=new f.vpe,this.detachEvents=new f.vpe,this.name=E||q,l.onChildOutletCreated(this.name,this)}ngOnDestroy(){this.parentContexts.getContext(this.name)?.outlet===this&&this.parentContexts.onChildOutletDestroyed(this.name)}ngOnInit(){if(!this.activated){const l=this.parentContexts.getContext(this.name);l&&l.route&&(l.attachRef?this.attach(l.attachRef,l.route):this.activateWith(l.route,l.injector))}}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new f.vHH(4012,Di);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new f.vHH(4012,Di);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new f.vHH(4012,Di);this.location.detach();const l=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(l.instance),l}attach(l,y){this.activated=l,this._activatedRoute=y,this.location.insert(l.hostView),this.attachEvents.emit(l.instance)}deactivate(){if(this.activated){const l=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(l)}}activateWith(l,y){if(this.isActivated)throw new f.vHH(4013,Di);this._activatedRoute=l;const E=this.location,Z=l._futureSnapshot.component,J=this.parentContexts.getOrCreateContext(this.name).children,He=new Qs(l,J,E.injector);if(y&&function Xs(u){return!!u.resolveComponentFactory}(y)){const at=y.resolveComponentFactory(Z);this.activated=E.createComponent(at,E.length,He)}else this.activated=E.createComponent(Z,{index:E.length,injector:He,environmentInjector:y??this.environmentInjector});this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return u.\u0275fac=function(l){return new(l||u)(f.Y36(Pr),f.Y36(f.s_b),f.$8M("name"),f.Y36(f.sBO),f.Y36(f.lqb))},u.\u0275dir=f.lG2({type:u,selectors:[["router-outlet"]],outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0}),u})();class Qs{constructor(d,l,y){this.route=d,this.childContexts=l,this.parent=y}get(d,l){return d===Hr?this.route:d===Pr?this.childContexts:this.parent.get(d,l)}}let bn=(()=>{class u{}return u.\u0275fac=function(l){return new(l||u)},u.\u0275cmp=f.Xpm({type:u,selectors:[["ng-component"]],standalone:!0,features:[f.jDz],decls:1,vars:0,template:function(l,y){1&l&&f._UZ(0,"router-outlet")},dependencies:[ri],encapsulation:2}),u})();function Yn(u,d){return u.providers&&!u._injector&&(u._injector=(0,f.MMx)(u.providers,d,`Route: ${u.path}`)),u._injector??d}function fr(u){const d=u.children&&u.children.map(fr),l=d?{...u,children:d}:{...u};return!l.component&&!l.loadComponent&&(d||l.loadChildren)&&l.outlet&&l.outlet!==q&&(l.component=bn),l}function er(u){return u.outlet||q}function or(u,d){const l=u.filter(y=>er(y)===d);return l.push(...u.filter(y=>er(y)!==d)),l}function ar(u){if(!u)return null;if(u.routeConfig?._injector)return u.routeConfig._injector;for(let d=u.parent;d;d=d.parent){const l=d.routeConfig;if(l?._loadedInjector)return l._loadedInjector;if(l?._injector)return l._injector}return null}class vt{constructor(d,l,y,E){this.routeReuseStrategy=d,this.futureState=l,this.currState=y,this.forwardEvent=E}activate(d){const l=this.futureState._root,y=this.currState?this.currState._root:null;this.deactivateChildRoutes(l,y,d),sr(this.futureState.root),this.activateChildRoutes(l,y,d)}deactivateChildRoutes(d,l,y){const E=jr(l);d.children.forEach(O=>{const Z=O.value.outlet;this.deactivateRoutes(O,E[Z],y),delete E[Z]}),kt(E,(O,Z)=>{this.deactivateRouteAndItsChildren(O,y)})}deactivateRoutes(d,l,y){const E=d.value,O=l?l.value:null;if(E===O)if(E.component){const Z=y.getContext(E.outlet);Z&&this.deactivateChildRoutes(d,l,Z.children)}else this.deactivateChildRoutes(d,l,y);else O&&this.deactivateRouteAndItsChildren(l,y)}deactivateRouteAndItsChildren(d,l){d.value.component&&this.routeReuseStrategy.shouldDetach(d.value.snapshot)?this.detachAndStoreRouteSubtree(d,l):this.deactivateRouteAndOutlet(d,l)}detachAndStoreRouteSubtree(d,l){const y=l.getContext(d.value.outlet),E=y&&d.value.component?y.children:l,O=jr(d);for(const Z of Object.keys(O))this.deactivateRouteAndItsChildren(O[Z],E);if(y&&y.outlet){const Z=y.outlet.detach(),J=y.children.onOutletDeactivated();this.routeReuseStrategy.store(d.value.snapshot,{componentRef:Z,route:d,contexts:J})}}deactivateRouteAndOutlet(d,l){const y=l.getContext(d.value.outlet),E=y&&d.value.component?y.children:l,O=jr(d);for(const Z of Object.keys(O))this.deactivateRouteAndItsChildren(O[Z],E);y&&y.outlet&&(y.outlet.deactivate(),y.children.onOutletDeactivated(),y.attachRef=null,y.resolver=null,y.route=null)}activateChildRoutes(d,l,y){const E=jr(l);d.children.forEach(O=>{this.activateRoutes(O,E[O.value.outlet],y),this.forwardEvent(new ir(O.value.snapshot))}),d.children.length&&this.forwardEvent(new as(d.value.snapshot))}activateRoutes(d,l,y){const E=d.value,O=l?l.value:null;if(sr(E),E===O)if(E.component){const Z=y.getOrCreateContext(E.outlet);this.activateChildRoutes(d,l,Z.children)}else this.activateChildRoutes(d,l,y);else if(E.component){const Z=y.getOrCreateContext(E.outlet);if(this.routeReuseStrategy.shouldAttach(E.snapshot)){const J=this.routeReuseStrategy.retrieve(E.snapshot);this.routeReuseStrategy.store(E.snapshot,null),Z.children.onOutletReAttached(J.contexts),Z.attachRef=J.componentRef,Z.route=J.route.value,Z.outlet&&Z.outlet.attach(J.componentRef,J.route.value),sr(J.route.value),this.activateChildRoutes(d,null,Z.children)}else{const J=ar(E.snapshot),He=J?.get(f._Vd)??null;Z.attachRef=null,Z.route=E,Z.resolver=He,Z.injector=J,Z.outlet&&Z.outlet.activateWith(E,Z.injector),this.activateChildRoutes(d,null,Z.children)}}else this.activateChildRoutes(d,null,y)}}class Er{constructor(d){this.path=d,this.route=this.path[this.path.length-1]}}class Vi{constructor(d,l){this.component=d,this.route=l}}function qs(u,d,l){const y=u._root;return xr(y,d?d._root:null,l,[y.value])}function Wr(u,d){const l=Symbol(),y=d.get(u,l);return y===l?"function"!=typeof u||(0,f.Z0I)(u)?d.get(u):u:y}function xr(u,d,l,y,E={canDeactivateChecks:[],canActivateChecks:[]}){const O=jr(d);return u.children.forEach(Z=>{(function Ci(u,d,l,y,E={canDeactivateChecks:[],canActivateChecks:[]}){const O=u.value,Z=d?d.value:null,J=l?l.getContext(u.value.outlet):null;if(Z&&O.routeConfig===Z.routeConfig){const He=function eo(u,d,l){if("function"==typeof l)return l(u,d);switch(l){case"pathParamsChange":return!Je(u.url,d.url);case"pathParamsOrQueryParamsChange":return!Je(u.url,d.url)||!lt(u.queryParams,d.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!vi(u,d)||!lt(u.queryParams,d.queryParams);default:return!vi(u,d)}}(Z,O,O.routeConfig.runGuardsAndResolvers);He?E.canActivateChecks.push(new Er(y)):(O.data=Z.data,O._resolvedData=Z._resolvedData),xr(u,d,O.component?J?J.children:null:l,y,E),He&&J&&J.outlet&&J.outlet.isActivated&&E.canDeactivateChecks.push(new Vi(J.outlet.component,Z))}else Z&&Xe(d,J,E),E.canActivateChecks.push(new Er(y)),xr(u,null,O.component?J?J.children:null:l,y,E)})(Z,O[Z.value.outlet],l,y.concat([Z.value]),E),delete O[Z.value.outlet]}),kt(O,(Z,J)=>Xe(Z,l.getContext(J),E)),E}function Xe(u,d,l){const y=jr(u),E=u.value;kt(y,(O,Z)=>{Xe(O,E.component?d?d.children.getContext(Z):null:d,l)}),l.canDeactivateChecks.push(new Vi(E.component&&d&&d.outlet&&d.outlet.isActivated?d.outlet.component:null,E))}function Kt(u){return"function"==typeof u}function oi(u){return u instanceof x.K||"EmptyError"===u?.name}const pn=Symbol("INITIAL_VALUE");function bi(){return(0,ie.w)(u=>(0,N.a)(u.map(d=>d.pipe((0,Ie.q)(1),(0,rt.O)(pn)))).pipe((0,he.U)(d=>{for(const l of d)if(!0!==l){if(l===pn)return pn;if(!1===l||l instanceof xe)return l}return!0}),(0,it.h)(d=>d!==pn),(0,Ie.q)(1)))}function wi(u){return(0,Y.z)((0,de.b)(d=>{if(Ce(d))throw us(0,d)}),(0,he.U)(d=>!0===d))}const Mi={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function Si(u,d,l,y,E){const O=br(u,d,l);return O.matched?function $i(u,d,l,y){const E=d.canMatch;if(!E||0===E.length)return(0,T.of)(!0);const O=E.map(Z=>{const J=Wr(Z,u);return Qe(function lr(u){return u&&Kt(u.canMatch)}(J)?J.canMatch(d,l):u.runInContext(()=>J(d,l)))});return(0,T.of)(O).pipe(bi(),wi())}(y=Yn(d,y),d,l).pipe((0,he.U)(Z=>!0===Z?O:{...Mi})):(0,T.of)(O)}function br(u,d,l){if(""===d.path)return"full"===d.pathMatch&&(u.hasChildren()||l.length>0)?{...Mi}:{matched:!0,consumedSegments:[],remainingSegments:l,parameters:{},positionalParamSegments:{}};const E=(d.matcher||Ct)(l,u,d);if(!E)return{...Mi};const O={};kt(E.posParams,(J,He)=>{O[He]=J.path});const Z=E.consumed.length>0?{...O,...E.consumed[E.consumed.length-1].parameters}:O;return{matched:!0,consumedSegments:E.consumed,remainingSegments:l.slice(E.consumed.length),parameters:Z,positionalParamSegments:E.posParams??{}}}function li(u,d,l,y,E="corrected"){if(l.length>0&&function zi(u,d,l){return l.some(y=>Ti(u,d,y)&&er(y)!==q)}(u,l,y)){const Z=new je(d,function ci(u,d,l,y){const E={};E[q]=y,y._sourceSegment=u,y._segmentIndexShift=d.length;for(const O of l)if(""===O.path&&er(O)!==q){const Z=new je([],{});Z._sourceSegment=u,Z._segmentIndexShift=d.length,E[er(O)]=Z}return E}(u,d,y,new je(l,u.children)));return Z._sourceSegment=u,Z._segmentIndexShift=d.length,{segmentGroup:Z,slicedSegments:[]}}if(0===l.length&&function Ps(u,d,l){return l.some(y=>Ti(u,d,y))}(u,l,y)){const Z=new je(u.segments,function Os(u,d,l,y,E,O){const Z={};for(const J of y)if(Ti(u,l,J)&&!E[er(J)]){const He=new je([],{});He._sourceSegment=u,He._segmentIndexShift="legacy"===O?u.segments.length:d.length,Z[er(J)]=He}return{...E,...Z}}(u,d,l,y,u.children,E));return Z._sourceSegment=u,Z._segmentIndexShift=d.length,{segmentGroup:Z,slicedSegments:l}}const O=new je(u.segments,u.children);return O._sourceSegment=u,O._segmentIndexShift=d.length,{segmentGroup:O,slicedSegments:l}}function Ti(u,d,l){return(!(u.hasChildren()||d.length>0)||"full"!==l.pathMatch)&&""===l.path}function Wi(u,d,l,y){return!!(er(u)===y||y!==q&&Ti(d,l,u))&&("**"===u.path||br(d,u,l).matched)}function Gr(u,d,l){return 0===d.length&&!u.children[l]}const Ki=!1;class Gi{constructor(d){this.segmentGroup=d||null}}class zn{constructor(d){this.urlTree=d}}function M(u){return(0,H._)(new Gi(u))}function a(u){return(0,H._)(new zn(u))}class F{constructor(d,l,y,E,O){this.injector=d,this.configLoader=l,this.urlSerializer=y,this.urlTree=E,this.config=O,this.allowRedirects=!0}apply(){const d=li(this.urlTree.root,[],[],this.config).segmentGroup,l=new je(d.segments,d.children);return this.expandSegmentGroup(this.injector,this.config,l,q).pipe((0,he.U)(O=>this.createUrlTree(re(O),this.urlTree.queryParams,this.urlTree.fragment))).pipe((0,Oe.K)(O=>{if(O instanceof zn)return this.allowRedirects=!1,this.match(O.urlTree);throw O instanceof Gi?this.noMatchError(O):O}))}match(d){return this.expandSegmentGroup(this.injector,this.config,d.root,q).pipe((0,he.U)(E=>this.createUrlTree(re(E),d.queryParams,d.fragment))).pipe((0,Oe.K)(E=>{throw E instanceof Gi?this.noMatchError(E):E}))}noMatchError(d){return new f.vHH(4002,Ki)}createUrlTree(d,l,y){const E=ne(d);return new xe(E,l,y)}expandSegmentGroup(d,l,y,E){return 0===y.segments.length&&y.hasChildren()?this.expandChildren(d,l,y).pipe((0,he.U)(O=>new je([],O))):this.expandSegment(d,y,l,y.segments,E,!0)}expandChildren(d,l,y){const E=[];for(const O of Object.keys(y.children))"primary"===O?E.unshift(O):E.push(O);return(0,v.D)(E).pipe((0,ve.b)(O=>{const Z=y.children[O],J=or(l,O);return this.expandSegmentGroup(d,J,Z,O).pipe((0,he.U)(He=>({segment:He,outlet:O})))}),De((O,Z)=>(O[Z.outlet]=Z.segment,O),{}),Mt())}expandSegment(d,l,y,E,O,Z){return(0,v.D)(y).pipe((0,ve.b)(J=>this.expandSegmentAgainstRoute(d,l,y,J,E,O,Z).pipe((0,Oe.K)(at=>{if(at instanceof Gi)return(0,T.of)(null);throw at}))),(0,Q.P)(J=>!!J),(0,Oe.K)((J,He)=>{if(oi(J))return Gr(l,E,O)?(0,T.of)(new je([],{})):M(l);throw J}))}expandSegmentAgainstRoute(d,l,y,E,O,Z,J){return Wi(E,l,O,Z)?void 0===E.redirectTo?this.matchSegmentAgainstRoute(d,l,E,O,Z):J&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(d,l,y,E,O,Z):M(l):M(l)}expandSegmentAgainstRouteUsingRedirect(d,l,y,E,O,Z){return"**"===E.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(d,y,E,Z):this.expandRegularSegmentAgainstRouteUsingRedirect(d,l,y,E,O,Z)}expandWildCardWithParamsAgainstRouteUsingRedirect(d,l,y,E){const O=this.applyRedirectCommands([],y.redirectTo,{});return y.redirectTo.startsWith("/")?a(O):this.lineralizeSegments(y,O).pipe((0,Pe.z)(Z=>{const J=new je(Z,{});return this.expandSegment(d,J,l,Z,E,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(d,l,y,E,O,Z){const{matched:J,consumedSegments:He,remainingSegments:at,positionalParamSegments:Zt}=br(l,E,O);if(!J)return M(l);const _t=this.applyRedirectCommands(He,E.redirectTo,Zt);return E.redirectTo.startsWith("/")?a(_t):this.lineralizeSegments(E,_t).pipe((0,Pe.z)(mn=>this.expandSegment(d,l,y,mn.concat(at),Z,!1)))}matchSegmentAgainstRoute(d,l,y,E,O){return"**"===y.path?(d=Yn(y,d),y.loadChildren?(y._loadedRoutes?(0,T.of)({routes:y._loadedRoutes,injector:y._loadedInjector}):this.configLoader.loadChildren(d,y)).pipe((0,he.U)(J=>(y._loadedRoutes=J.routes,y._loadedInjector=J.injector,new je(E,{})))):(0,T.of)(new je(E,{}))):Si(l,y,E,d).pipe((0,ie.w)(({matched:Z,consumedSegments:J,remainingSegments:He})=>Z?this.getChildConfig(d=y._injector??d,y,E).pipe((0,Pe.z)(Zt=>{const _t=Zt.injector??d,mn=Zt.routes,{segmentGroup:cr,slicedSegments:ui}=li(l,J,He,mn),Ji=new je(cr.segments,cr.children);if(0===ui.length&&Ji.hasChildren())return this.expandChildren(_t,mn,Ji).pipe((0,he.U)(io=>new je(J,io)));if(0===mn.length&&0===ui.length)return(0,T.of)(new je(J,{}));const Fr=er(y)===O;return this.expandSegment(_t,Ji,mn,ui,Fr?q:O,!0).pipe((0,he.U)(qi=>new je(J.concat(qi.segments),qi.children)))})):M(l)))}getChildConfig(d,l,y){return l.children?(0,T.of)({routes:l.children,injector:d}):l.loadChildren?void 0!==l._loadedRoutes?(0,T.of)({routes:l._loadedRoutes,injector:l._loadedInjector}):function ys(u,d,l,y){const E=d.canLoad;if(void 0===E||0===E.length)return(0,T.of)(!0);const O=E.map(Z=>{const J=Wr(Z,u);return Qe(function ji(u){return u&&Kt(u.canLoad)}(J)?J.canLoad(d,l):u.runInContext(()=>J(d,l)))});return(0,T.of)(O).pipe(bi(),wi())}(d,l,y).pipe((0,Pe.z)(E=>E?this.configLoader.loadChildren(d,l).pipe((0,de.b)(O=>{l._loadedRoutes=O.routes,l._loadedInjector=O.injector})):function D(u){return(0,H._)(ds(Ki,3))}())):(0,T.of)({routes:[],injector:d})}lineralizeSegments(d,l){let y=[],E=l.root;for(;;){if(y=y.concat(E.segments),0===E.numberOfChildren)return(0,T.of)(y);if(E.numberOfChildren>1||!E.children[q])return(0,H._)(new f.vHH(4e3,Ki));E=E.children[q]}}applyRedirectCommands(d,l,y){return this.applyRedirectCreateUrlTree(l,this.urlSerializer.parse(l),d,y)}applyRedirectCreateUrlTree(d,l,y,E){const O=this.createSegmentGroup(d,l.root,y,E);return new xe(O,this.createQueryParams(l.queryParams,this.urlTree.queryParams),l.fragment)}createQueryParams(d,l){const y={};return kt(d,(E,O)=>{if("string"==typeof E&&E.startsWith(":")){const J=E.substring(1);y[O]=l[J]}else y[O]=E}),y}createSegmentGroup(d,l,y,E){const O=this.createSegments(d,l.segments,y,E);let Z={};return kt(l.children,(J,He)=>{Z[He]=this.createSegmentGroup(d,J,y,E)}),new je(O,Z)}createSegments(d,l,y,E){return l.map(O=>O.path.startsWith(":")?this.findPosParam(d,O,E):this.findOrReturn(O,y))}findPosParam(d,l,y){const E=y[l.path.substring(1)];if(!E)throw new f.vHH(4001,Ki);return E}findOrReturn(d,l){let y=0;for(const E of l){if(E.path===d.path)return l.splice(y),E;y++}return d}}class Fe{}class pt{constructor(d,l,y,E,O,Z,J,He){this.injector=d,this.rootComponentType=l,this.config=y,this.urlTree=E,this.url=O,this.paramsInheritanceStrategy=Z,this.relativeLinkResolution=J,this.urlSerializer=He}recognize(){const d=li(this.urlTree.root,[],[],this.config.filter(l=>void 0===l.redirectTo),this.relativeLinkResolution).segmentGroup;return this.processSegmentGroup(this.injector,this.config,d,q).pipe((0,he.U)(l=>{if(null===l)return null;const y=new Or([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},q,this.rootComponentType,null,this.urlTree.root,-1,{}),E=new vr(y,l),O=new Fi(this.url,E);return this.inheritParamsAndData(O._root),O}))}inheritParamsAndData(d){const l=d.value,y=Ts(l,this.paramsInheritanceStrategy);l.params=Object.freeze(y.params),l.data=Object.freeze(y.data),d.children.forEach(E=>this.inheritParamsAndData(E))}processSegmentGroup(d,l,y,E){return 0===y.segments.length&&y.hasChildren()?this.processChildren(d,l,y):this.processSegment(d,l,y,y.segments,E)}processChildren(d,l,y){return(0,v.D)(Object.keys(y.children)).pipe((0,ve.b)(E=>{const O=y.children[E],Z=or(l,E);return this.processSegmentGroup(d,Z,O,E)}),De((E,O)=>E&&O?(E.push(...O),E):null),(0,sn.o)(E=>null!==E),(0,yt.d)(null),Mt(),(0,he.U)(E=>{if(null===E)return null;const O=Rt(E);return function Xt(u){u.sort((d,l)=>d.value.outlet===q?-1:l.value.outlet===q?1:d.value.outlet.localeCompare(l.value.outlet))}(O),O}))}processSegment(d,l,y,E,O){return(0,v.D)(l).pipe((0,ve.b)(Z=>this.processSegmentAgainstRoute(Z._injector??d,Z,y,E,O)),(0,Q.P)(Z=>!!Z),(0,Oe.K)(Z=>{if(oi(Z))return Gr(y,E,O)?(0,T.of)([]):(0,T.of)(null);throw Z}))}processSegmentAgainstRoute(d,l,y,E,O){if(l.redirectTo||!Wi(l,y,E,O))return(0,T.of)(null);let Z;if("**"===l.path){const J=E.length>0?tn(E).parameters:{},He=Cn(y)+E.length,at=new Or(E,J,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Rn(l),er(l),l.component??l._loadedComponent??null,l,hn(y),He,p(l),He);Z=(0,T.of)({snapshot:at,consumedSegments:[],remainingSegments:[]})}else Z=Si(y,l,E,d).pipe((0,he.U)(({matched:J,consumedSegments:He,remainingSegments:at,parameters:Zt})=>{if(!J)return null;const _t=Cn(y)+He.length;return{snapshot:new Or(He,Zt,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Rn(l),er(l),l.component??l._loadedComponent??null,l,hn(y),_t,p(l),_t),consumedSegments:He,remainingSegments:at}}));return Z.pipe((0,ie.w)(J=>{if(null===J)return(0,T.of)(null);const{snapshot:He,consumedSegments:at,remainingSegments:Zt}=J;d=l._injector??d;const _t=l._loadedInjector??d,mn=function Gt(u){return u.children?u.children:u.loadChildren?u._loadedRoutes:[]}(l),{segmentGroup:cr,slicedSegments:ui}=li(y,at,Zt,mn.filter(Fr=>void 0===Fr.redirectTo),this.relativeLinkResolution);if(0===ui.length&&cr.hasChildren())return this.processChildren(_t,mn,cr).pipe((0,he.U)(Fr=>null===Fr?null:[new vr(He,Fr)]));if(0===mn.length&&0===ui.length)return(0,T.of)([new vr(He,[])]);const Ji=er(l)===O;return this.processSegment(_t,mn,cr,ui,Ji?q:O).pipe((0,he.U)(Fr=>null===Fr?null:[new vr(He,Fr)]))}))}}function bt(u){const d=u.value.routeConfig;return d&&""===d.path&&void 0===d.redirectTo}function Rt(u){const d=[],l=new Set;for(const y of u){if(!bt(y)){d.push(y);continue}const E=d.find(O=>y.value.routeConfig===O.value.routeConfig);void 0!==E?(E.children.push(...y.children),l.add(E)):d.push(y)}for(const y of l){const E=Rt(y.children);d.push(new vr(y.value,E))}return d.filter(y=>!l.has(y))}function hn(u){let d=u;for(;d._sourceSegment;)d=d._sourceSegment;return d}function Cn(u){let d=u,l=d._segmentIndexShift??0;for(;d._sourceSegment;)d=d._sourceSegment,l+=d._segmentIndexShift??0;return l-1}function Rn(u){return u.data||{}}function p(u){return u.resolve||{}}function gt(u){return"string"==typeof u.title||null===u.title}function Yt(u){return(0,ie.w)(d=>{const l=u(d);return l?(0,v.D)(l).pipe((0,he.U)(()=>d)):(0,T.of)(d)})}let Jt=(()=>{class u{buildTitle(l){let y,E=l.root;for(;void 0!==E;)y=this.getResolvedTitleForRoute(E)??y,E=E.children.find(O=>O.outlet===q);return y}getResolvedTitleForRoute(l){return l.data[_e]}}return u.\u0275fac=function(l){return new(l||u)},u.\u0275prov=f.Yz7({token:u,factory:function(){return(0,f.f3M)(rn)},providedIn:"root"}),u})(),rn=(()=>{class u extends Jt{constructor(l){super(),this.title=l}updateTitle(l){const y=this.buildTitle(l);void 0!==y&&this.title.setTitle(y)}}return u.\u0275fac=function(l){return new(l||u)(f.LFG(pe.Dx))},u.\u0275prov=f.Yz7({token:u,factory:u.\u0275fac,providedIn:"root"}),u})();class ft{}class Ft extends class ut{shouldDetach(d){return!1}store(d,l){}shouldAttach(d){return!1}retrieve(d){return null}shouldReuseRoute(d,l){return d.routeConfig===l.routeConfig}}{}const vn=new f.OlP("",{providedIn:"root",factory:()=>({})}),fn=new f.OlP("ROUTES");let un=(()=>{class u{constructor(l,y){this.injector=l,this.compiler=y,this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap}loadComponent(l){if(this.componentLoaders.get(l))return this.componentLoaders.get(l);if(l._loadedComponent)return(0,T.of)(l._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(l);const y=Qe(l.loadComponent()).pipe((0,de.b)(O=>{this.onLoadEndListener&&this.onLoadEndListener(l),l._loadedComponent=O}),(0,It.x)(()=>{this.componentLoaders.delete(l)})),E=new Ae.c(y,()=>new Me.x).pipe((0,Se.x)());return this.componentLoaders.set(l,E),E}loadChildren(l,y){if(this.childrenLoaders.get(y))return this.childrenLoaders.get(y);if(y._loadedRoutes)return(0,T.of)({routes:y._loadedRoutes,injector:y._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(y);const O=this.loadModuleFactoryOrRoutes(y.loadChildren).pipe((0,he.U)(J=>{this.onLoadEndListener&&this.onLoadEndListener(y);let He,at,Zt=!1;Array.isArray(J)?at=J:(He=J.create(l).injector,at=Et(He.get(fn,[],f.XFs.Self|f.XFs.Optional)));return{routes:at.map(fr),injector:He}}),(0,It.x)(()=>{this.childrenLoaders.delete(y)})),Z=new Ae.c(O,()=>new Me.x).pipe((0,Se.x)());return this.childrenLoaders.set(y,Z),Z}loadModuleFactoryOrRoutes(l){return Qe(l()).pipe((0,Pe.z)(y=>y instanceof f.YKP||Array.isArray(y)?(0,T.of)(y):(0,v.D)(this.compiler.compileModuleAsync(y))))}}return u.\u0275fac=function(l){return new(l||u)(f.LFG(f.zs3),f.LFG(f.Sil))},u.\u0275prov=f.Yz7({token:u,factory:u.\u0275fac,providedIn:"root"}),u})();class wr{}class Ai{shouldProcessUrl(d){return!0}extract(d){return d}merge(d,l){return d}}function Mr(u){throw u}function Zn(u,d,l){return d.parse("/")}const vs={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Ds={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};function Lo(){const u=(0,f.f3M)(Tt),d=(0,f.f3M)(Pr),l=(0,f.f3M)(ye.Ye),y=(0,f.f3M)(f.zs3),E=(0,f.f3M)(f.Sil),O=(0,f.f3M)(fn,{optional:!0})??[],Z=(0,f.f3M)(vn,{optional:!0})??{},J=(0,f.f3M)(rn),He=(0,f.f3M)(Jt,{optional:!0}),at=(0,f.f3M)(wr,{optional:!0}),Zt=(0,f.f3M)(ft,{optional:!0}),_t=new kn(null,u,d,l,y,E,Et(O));return at&&(_t.urlHandlingStrategy=at),Zt&&(_t.routeReuseStrategy=Zt),_t.titleStrategy=He??J,function _a(u,d){u.errorHandler&&(d.errorHandler=u.errorHandler),u.malformedUriErrorHandler&&(d.malformedUriErrorHandler=u.malformedUriErrorHandler),u.onSameUrlNavigation&&(d.onSameUrlNavigation=u.onSameUrlNavigation),u.paramsInheritanceStrategy&&(d.paramsInheritanceStrategy=u.paramsInheritanceStrategy),u.relativeLinkResolution&&(d.relativeLinkResolution=u.relativeLinkResolution),u.urlUpdateStrategy&&(d.urlUpdateStrategy=u.urlUpdateStrategy),u.canceledNavigationResolution&&(d.canceledNavigationResolution=u.canceledNavigationResolution)}(Z,_t),_t}let kn=(()=>{class u{constructor(l,y,E,O,Z,J,He){this.rootComponentType=l,this.urlSerializer=y,this.rootContexts=E,this.location=O,this.config=He,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.disposed=!1,this.navigationId=0,this.currentPageId=0,this.isNgZoneEnabled=!1,this.events=new Me.x,this.errorHandler=Mr,this.malformedUriErrorHandler=Zn,this.navigated=!1,this.lastSuccessfulId=-1,this.afterPreactivation=()=>(0,T.of)(void 0),this.urlHandlingStrategy=new Ai,this.routeReuseStrategy=new Ft,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="corrected",this.canceledNavigationResolution="replace",this.configLoader=Z.get(un),this.configLoader.onLoadEndListener=mn=>this.triggerEvent(new Ks(mn)),this.configLoader.onLoadStartListener=mn=>this.triggerEvent(new ti(mn)),this.ngModule=Z.get(f.h0i),this.console=Z.get(f.c2e);const _t=Z.get(f.R0b);this.isNgZoneEnabled=_t instanceof f.R0b&&f.R0b.isInAngularZone(),this.resetConfig(He),this.currentUrlTree=function V(){return new xe(new je([],{}),{},null)}(),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.routerState=Ys(this.currentUrlTree,this.rootComponentType),this.transitions=new P.X({id:0,targetPageId:0,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,extractedUrl:this.urlHandlingStrategy.extract(this.currentUrlTree),urlAfterRedirects:this.urlHandlingStrategy.extract(this.currentUrlTree),rawUrl:this.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:"imperative",restoredState:null,currentSnapshot:this.routerState.snapshot,targetSnapshot:null,currentRouterState:this.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.navigations=this.setupNavigations(this.transitions),this.processNavigations()}get browserPageId(){return this.location.getState()?.\u0275routerPageId}setupNavigations(l){const y=this.events;return l.pipe((0,it.h)(E=>0!==E.id),(0,he.U)(E=>({...E,extractedUrl:this.urlHandlingStrategy.extract(E.rawUrl)})),(0,ie.w)(E=>{let O=!1,Z=!1;return(0,T.of)(E).pipe((0,de.b)(J=>{this.currentNavigation={id:J.id,initialUrl:J.rawUrl,extractedUrl:J.extractedUrl,trigger:J.source,extras:J.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null}}),(0,ie.w)(J=>{const He=this.browserUrlTree.toString(),at=!this.navigated||J.extractedUrl.toString()!==He||He!==this.currentUrlTree.toString();if(("reload"===this.onSameUrlNavigation||at)&&this.urlHandlingStrategy.shouldProcessUrl(J.rawUrl))return Rs(J.source)&&(this.browserUrlTree=J.extractedUrl),(0,T.of)(J).pipe((0,ie.w)(_t=>{const mn=this.transitions.getValue();return y.next(new tr(_t.id,this.serializeUrl(_t.extractedUrl),_t.source,_t.restoredState)),mn!==this.transitions.getValue()?U.E:Promise.resolve(_t)}),function le(u,d,l,y){return(0,ie.w)(E=>function S(u,d,l,y,E){return new F(u,d,l,y,E).apply()}(u,d,l,E.extractedUrl,y).pipe((0,he.U)(O=>({...E,urlAfterRedirects:O}))))}(this.ngModule.injector,this.configLoader,this.urlSerializer,this.config),(0,de.b)(_t=>{this.currentNavigation={...this.currentNavigation,finalUrl:_t.urlAfterRedirects},E.urlAfterRedirects=_t.urlAfterRedirects}),function b(u,d,l,y,E,O){return(0,Pe.z)(Z=>function dt(u,d,l,y,E,O,Z="emptyOnly",J="legacy"){return new pt(u,d,l,y,E,Z,J,O).recognize().pipe((0,ie.w)(He=>null===He?function We(u){return new z.y(d=>d.error(u))}(new Fe):(0,T.of)(He)))}(u,d,l,Z.urlAfterRedirects,y.serialize(Z.urlAfterRedirects),y,E,O).pipe((0,he.U)(J=>({...Z,targetSnapshot:J}))))}(this.ngModule.injector,this.rootComponentType,this.config,this.urlSerializer,this.paramsInheritanceStrategy,this.relativeLinkResolution),(0,de.b)(_t=>{if(E.targetSnapshot=_t.targetSnapshot,"eager"===this.urlUpdateStrategy){if(!_t.extras.skipLocationChange){const cr=this.urlHandlingStrategy.merge(_t.urlAfterRedirects,_t.rawUrl);this.setBrowserUrl(cr,_t)}this.browserUrlTree=_t.urlAfterRedirects}const mn=new Gn(_t.id,this.serializeUrl(_t.extractedUrl),this.serializeUrl(_t.urlAfterRedirects),_t.targetSnapshot);y.next(mn)}));if(at&&this.rawUrlTree&&this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree)){const{id:mn,extractedUrl:cr,source:ui,restoredState:Ji,extras:Fr}=J,Ca=new tr(mn,this.serializeUrl(cr),ui,Ji);y.next(Ca);const qi=Ys(cr,this.rootComponentType).snapshot;return E={...J,targetSnapshot:qi,urlAfterRedirects:cr,extras:{...Fr,skipLocationChange:!1,replaceUrl:!1}},(0,T.of)(E)}return this.rawUrlTree=J.rawUrl,J.resolve(null),U.E}),(0,de.b)(J=>{const He=new Ur(J.id,this.serializeUrl(J.extractedUrl),this.serializeUrl(J.urlAfterRedirects),J.targetSnapshot);this.triggerEvent(He)}),(0,he.U)(J=>E={...J,guards:qs(J.targetSnapshot,J.currentSnapshot,this.rootContexts)}),function ms(u,d){return(0,Pe.z)(l=>{const{targetSnapshot:y,currentSnapshot:E,guards:{canActivateChecks:O,canDeactivateChecks:Z}}=l;return 0===Z.length&&0===O.length?(0,T.of)({...l,guardsResult:!0}):function $n(u,d,l,y){return(0,v.D)(u).pipe((0,Pe.z)(E=>function _s(u,d,l,y,E){const O=d&&d.routeConfig?d.routeConfig.canDeactivate:null;if(!O||0===O.length)return(0,T.of)(!0);const Z=O.map(J=>{const He=ar(d)??E,at=Wr(J,He);return Qe(function si(u){return u&&Kt(u.canDeactivate)}(at)?at.canDeactivate(u,d,l,y):He.runInContext(()=>at(u,d,l,y))).pipe((0,Q.P)())});return(0,T.of)(Z).pipe(bi())}(E.component,E.route,l,d,y)),(0,Q.P)(E=>!0!==E,!0))}(Z,y,E,u).pipe((0,Pe.z)(J=>J&&function ps(u){return"boolean"==typeof u}(J)?function Cr(u,d,l,y){return(0,v.D)(d).pipe((0,ve.b)(E=>(0,te.z)(function ai(u,d){return null!==u&&d&&d(new os(u)),(0,T.of)(!0)}(E.route.parent,y),function Is(u,d){return null!==u&&d&&d(new Ro(u)),(0,T.of)(!0)}(E.route,y),function to(u,d,l){const y=d[d.length-1],O=d.slice(0,d.length-1).reverse().map(Z=>function fs(u){const d=u.routeConfig?u.routeConfig.canActivateChild:null;return d&&0!==d.length?{node:u,guards:d}:null}(Z)).filter(Z=>null!==Z).map(Z=>(0,G.P)(()=>{const J=Z.guards.map(He=>{const at=ar(Z.node)??l,Zt=Wr(He,at);return Qe(function Kr(u){return u&&Kt(u.canActivateChild)}(Zt)?Zt.canActivateChild(y,u):at.runInContext(()=>Zt(y,u))).pipe((0,Q.P)())});return(0,T.of)(J).pipe(bi())}));return(0,T.of)(O).pipe(bi())}(u,E.path,l),function pr(u,d,l){const y=d.routeConfig?d.routeConfig.canActivate:null;if(!y||0===y.length)return(0,T.of)(!0);const E=y.map(O=>(0,G.P)(()=>{const Z=ar(d)??l,J=Wr(O,Z);return Qe(function In(u){return u&&Kt(u.canActivate)}(J)?J.canActivate(d,u):Z.runInContext(()=>J(d,u))).pipe((0,Q.P)())}));return(0,T.of)(E).pipe(bi())}(u,E.route,l))),(0,Q.P)(E=>!0!==E,!0))}(y,O,u,d):(0,T.of)(J)),(0,he.U)(J=>({...l,guardsResult:J})))})}(this.ngModule.injector,J=>this.triggerEvent(J)),(0,de.b)(J=>{if(E.guardsResult=J.guardsResult,Ce(J.guardsResult))throw us(0,J.guardsResult);const He=new nr(J.id,this.serializeUrl(J.extractedUrl),this.serializeUrl(J.urlAfterRedirects),J.targetSnapshot,!!J.guardsResult);this.triggerEvent(He)}),(0,it.h)(J=>!!J.guardsResult||(this.restoreHistory(J),this.cancelNavigationTransition(J,"",3),!1)),Yt(J=>{if(J.guards.canActivateChecks.length)return(0,T.of)(J).pipe((0,de.b)(He=>{const at=new Ir(He.id,this.serializeUrl(He.extractedUrl),this.serializeUrl(He.urlAfterRedirects),He.targetSnapshot);this.triggerEvent(at)}),(0,ie.w)(He=>{let at=!1;return(0,T.of)(He).pipe(function _(u,d){return(0,Pe.z)(l=>{const{targetSnapshot:y,guards:{canActivateChecks:E}}=l;if(!E.length)return(0,T.of)(l);let O=0;return(0,v.D)(E).pipe((0,ve.b)(Z=>function A(u,d,l,y){const E=u.routeConfig,O=u._resolve;return void 0!==E?.title&&!gt(E)&&(O[_e]=E.title),function se(u,d,l,y){const E=function Be(u){return[...Object.keys(u),...Object.getOwnPropertySymbols(u)]}(u);if(0===E.length)return(0,T.of)({});const O={};return(0,v.D)(E).pipe((0,Pe.z)(Z=>function Ge(u,d,l,y){const E=ar(d)??y,O=Wr(u,E);return Qe(O.resolve?O.resolve(d,l):E.runInContext(()=>O(d,l)))}(u[Z],d,l,y).pipe((0,Q.P)(),(0,de.b)(J=>{O[Z]=J}))),Ue(1),(0,en.h)(O),(0,Oe.K)(Z=>oi(Z)?U.E:(0,H._)(Z)))}(O,u,d,y).pipe((0,he.U)(Z=>(u._resolvedData=Z,u.data=Ts(u,l).resolve,E&&gt(E)&&(u.data[_e]=E.title),null)))}(Z.route,y,u,d)),(0,de.b)(()=>O++),Ue(1),(0,Pe.z)(Z=>O===E.length?(0,T.of)(l):U.E))})}(this.paramsInheritanceStrategy,this.ngModule.injector),(0,de.b)({next:()=>at=!0,complete:()=>{at||(this.restoreHistory(He),this.cancelNavigationTransition(He,"",2))}}))}),(0,de.b)(He=>{const at=new qn(He.id,this.serializeUrl(He.extractedUrl),this.serializeUrl(He.urlAfterRedirects),He.targetSnapshot);this.triggerEvent(at)}))}),Yt(J=>{const He=at=>{const Zt=[];at.routeConfig?.loadComponent&&!at.routeConfig._loadedComponent&&Zt.push(this.configLoader.loadComponent(at.routeConfig).pipe((0,de.b)(_t=>{at.component=_t}),(0,he.U)(()=>{})));for(const _t of at.children)Zt.push(...He(_t));return Zt};return(0,N.a)(He(J.targetSnapshot.root)).pipe((0,yt.d)(),(0,Ie.q)(1))}),Yt(()=>this.afterPreactivation()),(0,he.U)(J=>{const He=function ki(u,d,l){const y=$r(u,d._root,l?l._root:void 0);return new Ss(y,d)}(this.routeReuseStrategy,J.targetSnapshot,J.currentRouterState);return E={...J,targetRouterState:He}}),(0,de.b)(J=>{this.currentUrlTree=J.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(J.urlAfterRedirects,J.rawUrl),this.routerState=J.targetRouterState,"deferred"===this.urlUpdateStrategy&&(J.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,J),this.browserUrlTree=J.urlAfterRedirects)}),((u,d,l)=>(0,he.U)(y=>(new vt(d,y.targetRouterState,y.currentRouterState,l).activate(u),y)))(this.rootContexts,this.routeReuseStrategy,J=>this.triggerEvent(J)),(0,de.b)({next(){O=!0},complete(){O=!0}}),(0,It.x)(()=>{O||Z||this.cancelNavigationTransition(E,"",1),this.currentNavigation?.id===E.id&&(this.currentNavigation=null)}),(0,Oe.K)(J=>{if(Z=!0,hs(J)){zr(J)||(this.navigated=!0,this.restoreHistory(E,!0));const He=new Ar(E.id,this.serializeUrl(E.extractedUrl),J.message,J.cancellationCode);if(y.next(He),zr(J)){const at=this.urlHandlingStrategy.merge(J.url,this.rawUrlTree),Zt={skipLocationChange:E.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||Rs(E.source)};this.scheduleNavigation(at,"imperative",null,Zt,{resolve:E.resolve,reject:E.reject,promise:E.promise})}else E.resolve(!1)}else{this.restoreHistory(E,!0);const He=new An(E.id,this.serializeUrl(E.extractedUrl),J,E.targetSnapshot??void 0);y.next(He);try{E.resolve(this.errorHandler(J))}catch(at){E.reject(at)}}return U.E}))}))}resetRootComponentType(l){this.rootComponentType=l,this.routerState.root.component=this.rootComponentType}setTransition(l){this.transitions.next({...this.transitions.value,...l})}initialNavigation(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(l=>{const y="popstate"===l.type?"popstate":"hashchange";"popstate"===y&&setTimeout(()=>{const E={replaceUrl:!0},O=l.state?.navigationId?l.state:null;if(O){const J={...O};delete J.navigationId,delete J.\u0275routerPageId,0!==Object.keys(J).length&&(E.state=J)}const Z=this.parseUrl(l.url);this.scheduleNavigation(Z,y,O,E)},0)}))}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.currentNavigation}triggerEvent(l){this.events.next(l)}resetConfig(l){this.config=l.map(fr),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.transitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0}createUrlTree(l,y={}){const{relativeTo:E,queryParams:O,fragment:Z,queryParamsHandling:J,preserveFragment:He}=y,at=E||this.routerState.root,Zt=He?this.currentUrlTree.fragment:Z;let _t=null;switch(J){case"merge":_t={...this.currentUrlTree.queryParams,...O};break;case"preserve":_t=this.currentUrlTree.queryParams;break;default:_t=O||null}return null!==_t&&(_t=this.removeEmptyProps(_t)),nn(at,this.currentUrlTree,l,_t,Zt??null)}navigateByUrl(l,y={skipLocationChange:!1}){const E=Ce(l)?l:this.parseUrl(l),O=this.urlHandlingStrategy.merge(E,this.rawUrlTree);return this.scheduleNavigation(O,"imperative",null,y)}navigate(l,y={skipLocationChange:!1}){return function ml(u){for(let d=0;d<u.length;d++){if(null==u[d])throw new f.vHH(4008,false)}}(l),this.navigateByUrl(this.createUrlTree(l,y),y)}serializeUrl(l){return this.urlSerializer.serialize(l)}parseUrl(l){let y;try{y=this.urlSerializer.parse(l)}catch(E){y=this.malformedUriErrorHandler(E,this.urlSerializer,l)}return y}isActive(l,y){let E;if(E=!0===y?{...vs}:!1===y?{...Ds}:y,Ce(l))return R(this.currentUrlTree,l,E);const O=this.parseUrl(l);return R(this.currentUrlTree,O,E)}removeEmptyProps(l){return Object.keys(l).reduce((y,E)=>{const O=l[E];return null!=O&&(y[E]=O),y},{})}processNavigations(){this.navigations.subscribe(l=>{this.navigated=!0,this.lastSuccessfulId=l.id,this.currentPageId=l.targetPageId,this.events.next(new ln(l.id,this.serializeUrl(l.extractedUrl),this.serializeUrl(this.currentUrlTree))),this.lastSuccessfulNavigation=this.currentNavigation,this.titleStrategy?.updateTitle(this.routerState.snapshot),l.resolve(!0)},l=>{this.console.warn(`Unhandled Navigation Error: ${l}`)})}scheduleNavigation(l,y,E,O,Z){if(this.disposed)return Promise.resolve(!1);let J,He,at;Z?(J=Z.resolve,He=Z.reject,at=Z.promise):at=new Promise((mn,cr)=>{J=mn,He=cr});const Zt=++this.navigationId;let _t;return"computed"===this.canceledNavigationResolution?(0===this.currentPageId&&(E=this.location.getState()),_t=E&&E.\u0275routerPageId?E.\u0275routerPageId:O.replaceUrl||O.skipLocationChange?this.browserPageId??0:(this.browserPageId??0)+1):_t=0,this.setTransition({id:Zt,targetPageId:_t,source:y,restoredState:E,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:l,extras:O,resolve:J,reject:He,promise:at,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),at.catch(mn=>Promise.reject(mn))}setBrowserUrl(l,y){const E=this.urlSerializer.serialize(l),O={...y.extras.state,...this.generateNgRouterState(y.id,y.targetPageId)};this.location.isCurrentPathEqualTo(E)||y.extras.replaceUrl?this.location.replaceState(E,"",O):this.location.go(E,"",O)}restoreHistory(l,y=!1){if("computed"===this.canceledNavigationResolution){const E=this.currentPageId-l.targetPageId;"popstate"!==l.source&&"eager"!==this.urlUpdateStrategy&&this.currentUrlTree!==this.currentNavigation?.finalUrl||0===E?this.currentUrlTree===this.currentNavigation?.finalUrl&&0===E&&(this.resetState(l),this.browserUrlTree=l.currentUrlTree,this.resetUrlToCurrentUrlTree()):this.location.historyGo(E)}else"replace"===this.canceledNavigationResolution&&(y&&this.resetState(l),this.resetUrlToCurrentUrlTree())}resetState(l){this.routerState=l.currentRouterState,this.currentUrlTree=l.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,l.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}cancelNavigationTransition(l,y,E){const O=new Ar(l.id,this.serializeUrl(l.extractedUrl),y,E);this.triggerEvent(O),l.resolve(!1)}generateNgRouterState(l,y){return"computed"===this.canceledNavigationResolution?{navigationId:l,\u0275routerPageId:y}:{navigationId:l}}}return u.\u0275fac=function(l){f.$Z()},u.\u0275prov=f.Yz7({token:u,factory:function(){return Lo()},providedIn:"root"}),u})();function Rs(u){return"imperative"!==u}let no=(()=>{class u{constructor(l,y,E){this.router=l,this.route=y,this.locationStrategy=E,this._preserveFragment=!1,this._skipLocationChange=!1,this._replaceUrl=!1,this.commands=null,this.href=null,this.onChanges=new Me.x,this.subscription=l.events.subscribe(O=>{O instanceof ln&&this.updateTargetUrlAndHref()})}set preserveFragment(l){this._preserveFragment=(0,f.D6c)(l)}get preserveFragment(){return this._preserveFragment}set skipLocationChange(l){this._skipLocationChange=(0,f.D6c)(l)}get skipLocationChange(){return this._skipLocationChange}set replaceUrl(l){this._replaceUrl=(0,f.D6c)(l)}get replaceUrl(){return this._replaceUrl}set routerLink(l){this.commands=null!=l?Array.isArray(l)?l:[l]:null}ngOnChanges(l){this.updateTargetUrlAndHref(),this.onChanges.next(this)}ngOnDestroy(){this.subscription.unsubscribe()}onClick(l,y,E,O,Z){return!!(0!==l||y||E||O||Z||"string"==typeof this.target&&"_self"!=this.target||null===this.urlTree)||(this.router.navigateByUrl(this.urlTree,{skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state}),!1)}updateTargetUrlAndHref(){this.href=null!==this.urlTree?this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(this.urlTree)):null}get urlTree(){return null===this.commands?null:this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}}return u.\u0275fac=function(l){return new(l||u)(f.Y36(kn),f.Y36(Hr),f.Y36(ye.S$))},u.\u0275dir=f.lG2({type:u,selectors:[["a","routerLink",""],["area","routerLink",""]],hostVars:2,hostBindings:function(l,y){1&l&&f.NdJ("click",function(O){return y.onClick(O.button,O.ctrlKey,O.shiftKey,O.altKey,O.metaKey)}),2&l&&f.uIk("target",y.target)("href",y.href,f.LSH)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",relativeTo:"relativeTo",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",routerLink:"routerLink"},standalone:!0,features:[f.TTD]}),u})();class Zi{}let Fo=(()=>{class u{constructor(l,y,E,O,Z){this.router=l,this.injector=E,this.preloadingStrategy=O,this.loader=Z}setUpPreloading(){this.subscription=this.router.events.pipe((0,it.h)(l=>l instanceof ln),(0,ve.b)(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(l,y){const E=[];for(const O of y){O.providers&&!O._injector&&(O._injector=(0,f.MMx)(O.providers,l,`Route: ${O.path}`));const Z=O._injector??l,J=O._loadedInjector??Z;O.loadChildren&&!O._loadedRoutes&&void 0===O.canLoad||O.loadComponent&&!O._loadedComponent?E.push(this.preloadConfig(Z,O)):(O.children||O._loadedRoutes)&&E.push(this.processRoutes(J,O.children??O._loadedRoutes))}return(0,v.D)(E).pipe((0,ke.J)())}preloadConfig(l,y){return this.preloadingStrategy.preload(y,()=>{let E;E=y.loadChildren&&void 0===y.canLoad?this.loader.loadChildren(l,y):(0,T.of)(null);const O=E.pipe((0,Pe.z)(Z=>null===Z?(0,T.of)(void 0):(y._loadedRoutes=Z.routes,y._loadedInjector=Z.injector,this.processRoutes(Z.injector??l,Z.routes))));if(y.loadComponent&&!y._loadedComponent){const Z=this.loader.loadComponent(y);return(0,v.D)([O,Z]).pipe((0,ke.J)())}return O})}}return u.\u0275fac=function(l){return new(l||u)(f.LFG(kn),f.LFG(f.Sil),f.LFG(f.lqb),f.LFG(Zi),f.LFG(un))},u.\u0275prov=f.Yz7({token:u,factory:u.\u0275fac,providedIn:"root"}),u})();const No=new f.OlP("");let ko=(()=>{class u{constructor(l,y,E={}){this.router=l,this.viewportScroller=y,this.options=E,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},E.scrollPositionRestoration=E.scrollPositionRestoration||"disabled",E.anchorScrolling=E.anchorScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.router.events.subscribe(l=>{l instanceof tr?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=l.navigationTrigger,this.restoredId=l.restoredState?l.restoredState.navigationId:0):l instanceof ln&&(this.lastId=l.id,this.scheduleScrollEvent(l,this.router.parseUrl(l.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.router.events.subscribe(l=>{l instanceof Li&&(l.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(l.position):l.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(l.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(l,y){this.router.triggerEvent(new Li(l,"popstate"===this.lastSource?this.store[this.restoredId]:null,y))}ngOnDestroy(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}return u.\u0275fac=function(l){f.$Z()},u.\u0275prov=f.Yz7({token:u,factory:u.\u0275fac}),u})();function Lr(u,d){return{\u0275kind:u,\u0275providers:d}}function ro(u){return[{provide:fn,multi:!0,useValue:u}]}function Xi(){const u=(0,f.f3M)(f.zs3);return d=>{const l=u.get(f.z2F);if(d!==l.components[0])return;const y=u.get(kn),E=u.get(yl);1===u.get(Bo)&&y.initialNavigation(),u.get(vl,null,f.XFs.Optional)?.setUpPreloading(),u.get(No,null,f.XFs.Optional)?.init(),y.resetRootComponentType(l.componentTypes[0]),E.closed||(E.next(),E.unsubscribe())}}const yl=new f.OlP("",{factory:()=>new Me.x}),Bo=new f.OlP("",{providedIn:"root",factory:()=>1});const vl=new f.OlP("");function Ku(u){return Lr(0,[{provide:vl,useExisting:Fo},{provide:Zi,useExisting:u}])}const Cs=new f.OlP("ROUTER_FORROOT_GUARD"),Gu=[ye.Ye,{provide:Tt,useClass:dn},{provide:kn,useFactory:Lo},Pr,{provide:Hr,useFactory:function Qi(u){return u.routerState.root},deps:[kn]},un];function Yu(){return new f.PXZ("Router",kn)}let Bn=(()=>{class u{constructor(l){}static forRoot(l,y){return{ngModule:u,providers:[Gu,[],ro(l),{provide:Cs,useFactory:Dl,deps:[[kn,new f.FiY,new f.tp0]]},{provide:vn,useValue:y||{}},y?.useHash?{provide:ye.S$,useClass:ye.Do}:{provide:ye.S$,useClass:ye.b0},{provide:No,useFactory:()=>{const u=(0,f.f3M)(kn),d=(0,f.f3M)(ye.EM),l=(0,f.f3M)(vn);return l.scrollOffset&&d.setOffset(l.scrollOffset),new ko(u,d,l)}},y?.preloadingStrategy?Ku(y.preloadingStrategy).\u0275providers:[],{provide:f.PXZ,multi:!0,useFactory:Yu},y?.initialNavigation?gr(y):[],[{provide:Yr,useFactory:Xi},{provide:f.tb,multi:!0,useExisting:Yr}]]}}static forChild(l){return{ngModule:u,providers:[ro(l)]}}}return u.\u0275fac=function(l){return new(l||u)(f.LFG(Cs,8))},u.\u0275mod=f.oAB({type:u}),u.\u0275inj=f.cJS({imports:[bn]}),u})();function Dl(u){return"guarded"}function gr(u){return["disabled"===u.initialNavigation?Lr(3,[{provide:f.ip1,multi:!0,useFactory:()=>{const d=(0,f.f3M)(kn);return()=>{d.setUpLocationChangeListener()}}},{provide:Bo,useValue:2}]).\u0275providers:[],"enabledBlocking"===u.initialNavigation?Lr(2,[{provide:Bo,useValue:0},{provide:f.ip1,multi:!0,deps:[f.zs3],useFactory:d=>{const l=d.get(ye.V_,Promise.resolve());let y=!1;return()=>l.then(()=>new Promise(O=>{const Z=d.get(kn),J=d.get(yl);(function E(O){d.get(kn).events.pipe((0,it.h)(J=>J instanceof ln||J instanceof Ar||J instanceof An),(0,he.U)(J=>J instanceof ln||J instanceof Ar&&(0===J.code||1===J.code)&&null),(0,it.h)(J=>null!==J),(0,Ie.q)(1)).subscribe(()=>{O()})})(()=>{O(!0),y=!0}),Z.afterPreactivation=()=>(O(!0),y||J.closed?(0,T.of)(void 0):J),Z.initialNavigation()}))}}]).\u0275providers:[]]}const Yr=new f.OlP("")},84911:(et,me,m)=>{function U(Se,ke,pe,q){return new(pe||(pe=Promise))(function(Ee,Ze){function Ct(St){try{lt(q.next(St))}catch(Et){Ze(Et)}}function At(St){try{lt(q.throw(St))}catch(Et){Ze(Et)}}function lt(St){St.done?Ee(St.value):function _e(Ee){return Ee instanceof pe?Ee:new pe(function(Ze){Ze(Ee)})}(St.value).then(Ct,At)}lt((q=q.apply(Se,ke||[])).next())})}function Pe(Se){return this instanceof Pe?(this.v=Se,this):new Pe(Se)}function Q(Se,ke,pe){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var _e,q=pe.apply(Se,ke||[]),Ee=[];return _e=Object.create(("function"==typeof AsyncIterator?AsyncIterator:Object).prototype),Ct("next"),Ct("throw"),Ct("return",function Ze(xt){return function(kt){return Promise.resolve(kt).then(xt,Et)}}),_e[Symbol.asyncIterator]=function(){return this},_e;function Ct(xt,kt){q[xt]&&(_e[xt]=function(Qe){return new Promise(function(Ve,V){Ee.push([xt,Qe,Ve,V])>1||At(xt,Qe)})},kt&&(_e[xt]=kt(_e[xt])))}function At(xt,kt){try{!function lt(xt){xt.value instanceof Pe?Promise.resolve(xt.value.v).then(St,Et):tn(Ee[0][2],xt)}(q[xt](kt))}catch(Qe){tn(Ee[0][3],Qe)}}function St(xt){At("next",xt)}function Et(xt){At("throw",xt)}function tn(xt,kt){xt(kt),Ee.shift(),Ee.length&&At(Ee[0][0],Ee[0][1])}}function de(Se){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var pe,ke=Se[Symbol.asyncIterator];return ke?ke.call(Se):(Se=function he(Se){var ke="function"==typeof Symbol&&Symbol.iterator,pe=ke&&Se[ke],q=0;if(pe)return pe.call(Se);if(Se&&"number"==typeof Se.length)return{next:function(){return Se&&q>=Se.length&&(Se=void 0),{value:Se&&Se[q++],done:!Se}}};throw new TypeError(ke?"Object is not iterable.":"Symbol.iterator is not defined.")}(Se),pe={},q("next"),q("throw"),q("return"),pe[Symbol.asyncIterator]=function(){return this},pe);function q(Ee){pe[Ee]=Se[Ee]&&function(Ze){return new Promise(function(Ct,At){!function _e(Ee,Ze,Ct,At){Promise.resolve(At).then(function(lt){Ee({value:lt,done:Ct})},Ze)}(Ct,At,(Ze=Se[Ee](Ze)).done,Ze.value)})}}}m.d(me,{FC:()=>Q,KL:()=>de,mG:()=>U,qq:()=>Pe}),"function"==typeof SuppressedError&&SuppressedError}},et=>{et(et.s=46078)}]);