PageSourceSearch

https://www.volksbank-vor-ort.de/services_cloud/portal/vendor.20c16dde666debb6.js

js volksbank-vor-ort.de collected 2026-10-04 16:05:34 UTC 1,097,830 bytes, 1 lines download raw bytes

1(self.webpackChunkportal_ui=self.webpackChunkportal_ui||[]).push([[121],{8415(Yt,ve){ve.q=function I(Pe,L){if("string"!=typeof Pe)throw new TypeError("argument str must be a string");var ne={},Ve=Pe.length;if(Ve<2)return ne;var Fe=L&&L.decode||B,tt=0,nt=0,Rt=0;do{if(-1===(nt=Pe.indexOf("=",tt)))break;if(-1===(Rt=Pe.indexOf(";",tt)))Rt=Ve;else if(nt>Rt){tt=Pe.lastIndexOf(";",nt-1)+1;continue}var Oe=E(Pe,tt,nt),xe=O(Pe,nt,Oe),it=Pe.slice(Oe,xe);if(!ne.hasOwnProperty(it)){var q=E(Pe,nt+1,Rt),F=O(Pe,Rt,q);34===Pe.charCodeAt(q)&&34===Pe.charCodeAt(F-1)&&(q++,F--);var N=Pe.slice(q,F);ne[it]=j(N,Fe)}tt=Rt+1}while(tt<Ve);return ne};function E(Pe,L,ne){do{var Ve=Pe.charCodeAt(L);if(32!==Ve&&9!==Ve)return L}while(++L<ne);return ne}function O(Pe,L,ne){for(;L>ne;){var Ve=Pe.charCodeAt(--L);if(32!==Ve&&9!==Ve)return L+1}return ne}function B(Pe){return-1!==Pe.indexOf("%")?decodeURIComponent(Pe):Pe}function j(Pe,L){try{return L(Pe)}catch{return Pe}}},4847(Yt,ve,a){const u=a(9410);function h(I,E,O){return"function"==typeof O.join?O.join(I):I[0]+E+I[1]}function Q(I,E,O){return"function"!=typeof O.isValid||O.isValid(I,E)}function D(I){return u(I)||Array.isArray(I)||"function"==typeof I}Yt.exports=function(I,E,O){if(u(O)||(O={default:O}),!D(I))return typeof O.default<"u"?O.default:I;"number"==typeof E&&(E=String(E));const X=Array.isArray(E),B="string"==typeof E,K=O.separator||".",j=O.joinChar||("string"==typeof K?K:".");if(!B&&!X)return I;if(B&&E in I)return Q(E,I,O)?I[E]:O.default;let Pe=X?E:function g(I,E,O){return"function"==typeof O.split?O.split(I):I.split(E)}(E,K,O),L=Pe.length,ne=0;do{let Ve=Pe[ne];for("number"==typeof Ve&&(Ve=String(Ve));Ve&&"\\"===Ve.slice(-1);)Ve=h([Ve.slice(0,-1),Pe[++ne]||""],j,O);if(Ve in I){if(!Q(Ve,I,O))return O.default;I=I[Ve]}else{let Fe=!1,tt=ne+1;for(;tt<L;)if(Ve=h([Ve,Pe[tt++]],j,O),Fe=Ve in I){if(!Q(Ve,I,O))return O.default;I=I[Ve],ne=tt-1;break}if(!Fe)return O.default}}while(++ne<L&&D(I));return ne===L?I:O.default}},9410(Yt){Yt.exports=function(a){return null!=a&&"object"==typeof a&&!1===Array.isArray(a)}},5797(Yt,ve,a){a.d(ve,{t:()=>h});var u=a(4205);class h extends u.B{constructor(Q){super(),this._value=Q}get value(){return this.getValue()}_subscribe(Q){const D=super._subscribe(Q);return!D.closed&&Q.next(this._value),D}getValue(){const{hasError:Q,thrownError:D,_value:I}=this;if(Q)throw D;return this._throwIfClosed(),I}next(Q){super.next(this._value=Q)}}},3942(Yt,ve,a){a.d(ve,{c:()=>O});var u=a(9931),h=a(7092),g=a(4127),Q=a(5682),D=a(2213),I=a(1530),E=a(23);let O=(()=>{class j{constructor(L){L&&(this._subscribe=L)}lift(L){const ne=new j;return ne.source=this,ne.operator=L,ne}subscribe(L,ne,Ve){const Fe=function K(j){return j&&j instanceof u.vU||function B(j){return j&&(0,I.T)(j.next)&&(0,I.T)(j.error)&&(0,I.T)(j.complete)}(j)&&(0,h.Uv)(j)}(L)?L:new u.Ms(L,ne,Ve);return(0,E.Y)(()=>{const{operator:tt,source:nt}=this;Fe.add(tt?tt.call(Fe,nt):nt?this._subscribe(Fe):this._trySubscribe(Fe))}),Fe}_trySubscribe(L){try{return this._subscribe(L)}catch(ne){L.error(ne)}}forEach(L,ne){return new(ne=X(ne))((Ve,Fe)=>{const tt=new u.Ms({next:nt=>{try{L(nt)}catch(Rt){Fe(Rt),tt.unsubscribe()}},error:Fe,complete:Ve});this.subscribe(tt)})}_subscribe(L){var ne;return null===(ne=this.source)||void 0===ne?void 0:ne.subscribe(L)}[g.s](){return this}pipe(...L){return(0,Q.m)(L)(this)}toPromise(L){return new(L=X(L))((ne,Ve)=>{let Fe;this.subscribe(tt=>Fe=tt,tt=>Ve(tt),()=>ne(Fe))})}}return j.create=Pe=>new j(Pe),j})();function X(j){var Pe;return null!==(Pe=j??D.$.Promise)&&void 0!==Pe?Pe:Promise}},6042(Yt,ve,a){a.d(ve,{m:()=>g});var u=a(4205),h=a(5152);class g extends u.B{constructor(D=1/0,I=1/0,E=h.U){super(),this._bufferSize=D,this._windowTime=I,this._timestampProvider=E,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=I===1/0,this._bufferSize=Math.max(1,D),this._windowTime=Math.max(1,I)}next(D){const{isStopped:I,_buffer:E,_infiniteTimeWindow:O,_timestampProvider:X,_windowTime:B}=this;I||(E.push(D),!O&&E.push(X.now()+B)),this._trimBuffer(),super.next(D)}_subscribe(D){this._throwIfClosed(),this._trimBuffer();const I=this._innerSubscribe(D),{_infiniteTimeWindow:E,_buffer:O}=this,X=O.slice();for(let B=0;B<X.length&&!D.closed;B+=E?1:2)D.next(X[B]);return this._checkFinalizedStatuses(D),I}_trimBuffer(){const{_bufferSize:D,_timestampProvider:I,_buffer:E,_infiniteTimeWindow:O}=this,X=(O?1:2)*D;if(D<1/0&&X<E.length&&E.splice(0,E.length-X),!O){const B=I.now();let K=0;for(let j=1;j<E.length&&E[j]<=B;j+=2)K=j;K&&E.splice(0,K+1)}}}},4205(Yt,ve,a){a.d(ve,{B:()=>E});var u=a(3942),h=a(7092);const Q=(0,a(2384).L)(X=>function(){X(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var D=a(967),I=a(23);let E=(()=>{class X extends u.c{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(K){const j=new O(this,this);return j.operator=K,j}_throwIfClosed(){if(this.closed)throw new Q}next(K){(0,I.Y)(()=>
vendor: 5,247 bytes, line 1
1{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const j of this.currentObservers)j.next(K)}})}error(K){(0,I.Y)(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=K;const{observers:j}=this;for(;j.length;)j.shift().error(K)}})}complete(){(0,I.Y)(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:K}=this;for(;K.length;)K.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var K;return(null===(K=this.observers)||void 0===K?void 0:K.length)>0}_trySubscribe(K){return this._throwIfClosed(),super._trySubscribe(K)}_subscribe(K){return this._throwIfClosed(),this._checkFinalizedStatuses(K),this._innerSubscribe(K)}_innerSubscribe(K){const{hasError:j,isStopped:Pe,observers:L}=this;return j||Pe?h.Kn:(this.currentObservers=null,L.push(K),new h.yU(()=>{this.currentObservers=null,(0,D.o)(L,K)}))}_checkFinalizedStatuses(K){const{hasError:j,thrownError:Pe,isStopped:L}=this;j?K.error(Pe):L&&K.complete()}asObservable(){const K=new u.c;return K.source=this,K}}return X.create=(B,K)=>new O(B,K),X})();class O extends E{constructor(B,K){super(),this.destination=B,this.source=K}next(B){var K,j;null===(j=null===(K=this.destination)||void 0===K?void 0:K.next)||void 0===j||j.call(K,B)}error(B){var K,j;null===(j=null===(K=this.destination)||void 0===K?void 0:K.error)||void 0===j||j.call(K,B)}complete(){var B,K;null===(K=null===(B=this.destination)||void 0===B?void 0:B.complete)||void 0===K||K.call(B)}_subscribe(B){var K,j;return null!==(j=null===(K=this.source)||void 0===K?void 0:K.subscribe(B))&&void 0!==j?j:h.Kn}}},9931(Yt,ve,a){a.d(ve,{Ms:()=>Ve,vU:()=>j});var u=a(1530),h=a(7092),g=a(2213),Q=a(1411),D=a(4318);const I=X("C",void 0,void 0);function X(Oe,xe,it){return{kind:Oe,value:xe,error:it}}var B=a(9603),K=a(23);class j extends h.yU{constructor(xe){super(),this.isStopped=!1,xe?(this.destination=xe,(0,h.Uv)(xe)&&xe.add(this)):this.destination=Rt}static create(xe,it,q){return new Ve(xe,it,q)}next(xe){this.isStopped?nt(function O(Oe){return X("N",Oe,void 0)}(xe),this):this._next(xe)}error(xe){this.isStopped?nt(function E(Oe){return X("E",void 0,Oe)}(xe),this):(this.isStopped=!0,this._error(xe))}complete(){this.isStopped?nt(I,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(xe){this.destination.next(xe)}_error(xe){try{this.destination.error(xe)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const Pe=Function.prototype.bind;function L(Oe,xe){return Pe.call(Oe,xe)}class ne{constructor(xe){this.partialObserver=xe}next(xe){const{partialObserver:it}=this;if(it.next)try{it.next(xe)}catch(q){Fe(q)}}error(xe){const{partialObserver:it}=this;if(it.error)try{it.error(xe)}catch(q){Fe(q)}else Fe(xe)}complete(){const{partialObserver:xe}=this;if(xe.complete)try{xe.complete()}catch(it){Fe(it)}}}class Ve extends j{constructor(xe,it,q){let F;if(super(),(0,u.T)(xe)||!xe)F={next:xe??void 0,error:it??void 0,complete:q??void 0};else{let N;this&&g.$.useDeprecatedNextContext?(N=Object.create(xe),N.unsubscribe=()=>this.unsubscribe(),F={next:xe.next&&L(xe.next,N),error:xe.error&&L(xe.error,N),complete:xe.complete&&L(xe.complete,N)}):F=xe}this.destination=new ne(F)}}function Fe(Oe){g.$.useDeprecatedSynchronousErrorHandling?(0,K.l)(Oe):(0,Q.m)(Oe)}function nt(Oe,xe){const{onStoppedNotification:it}=g.$;it&&B.f.setTimeout(()=>it(Oe,xe))}const Rt={closed:!0,next:D.l,error:function tt(Oe){throw Oe},complete:D.l}},7092(Yt,ve,a){a.d(ve,{Kn:()=>I,yU:()=>D,Uv:()=>E});var u=a(1530);const g=(0,a(2384).L)(X=>function(K){X(this),this.message=K?`${K.length} errors occurred during unsubscription:\n${K.map((j,Pe)=>`${Pe+1}) ${j.toString()}`).join("\n  ")}`:"",this.name="UnsubscriptionError",this.errors=K});var Q=a(967);class D{constructor(B){this.initialTeardown=B,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let B;if(!this.closed){this.closed=!0;const{_parentage:K}=this;if(K)if(this._parentage=null,Array.isArray(K))for(const L of K)L.remove(this);else K.remove(this);const{initialTeardown:j}=this;if((0,u.T)(j))try{j()}catch(L){B=L instanceof g?L.errors:[L]}const{_finalizers:Pe}=this;if(Pe){this._finalizers=null;for(const L of Pe)try{O(L)}catch(ne){B=B??[],ne instanceof g?B=[...B,...ne.errors]:B.push(ne)}}if(B)throw new g(B)}}add(B){var K;if(B&&B!==this)if(this.closed)O(B);else{if(B instanceof D){if(B.closed||B._hasParent(this))return;B._addParent(this)}(this._finalizers=null!==(K=this._finalizers)&&void 0!==K?K:[]).push(B)}}_hasParent(B){const{_parentage:K}=this;return K===B||Array.isArray(K)&&K.includes(B)}_addParent(B){const{_parentage:K}=this;this._parentage=Array.isArray(K)?(K.push(B),K):K?[K,B]:B}_removeParent(B){const{_parentage:K}=this;K===B?this._parentage=null:Array.isArray(K)&&(0,Q.o)(K,B)}remove(B){const{_finalizers:K}=this;K&&(0,Q.o)(K,B),B instanceof D&&B._removeParent(this)}}D.EMPTY=(()=>{const X=new D;return X.closed=!0,X})();const I=D.EMPTY;function E(X){return X instanceof D||X&&"closed"in X&&(0,u.T)(X.remove)&&(0,u.T)(X.add
1)&&(0,u.T)(X.unsubscribe)}function O(X){(0,u.T)(X)?X():X.unsubscribe()}},2213(Yt,ve,a){a.d(ve,{$:()=>u});const u={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},6196(Yt,ve,a){a.d(ve,{_:()=>g});var u=a(3335),h=a(9931);function g(Q,D){const I="object"==typeof D;return new Promise((E,O)=>{const X=new h.Ms({next:B=>{E(B),X.unsubscribe()},error:O,complete:()=>{I?E(D.defaultValue):O(new u.G)}});Q.subscribe(X)})}},9999(Yt,ve,a){a.d(ve,{z:()=>B});var u=a(3942),h=a(7808),g=a(4600),Q=a(1440),D=a(8067),I=a(4083),E=a(6813),O=a(1687),X=a(310);function B(...Pe){const L=(0,I.lI)(Pe),ne=(0,I.ms)(Pe),{args:Ve,keys:Fe}=(0,h.D)(Pe);if(0===Ve.length)return(0,g.H)([],L);const tt=new u.c(function K(Pe,L,ne=Q.D){return Ve=>{j(L,()=>{const{length:Fe}=Pe,tt=new Array(Fe);let nt=Fe,Rt=Fe;for(let Oe=0;Oe<Fe;Oe++)j(L,()=>{const xe=(0,g.H)(Pe[Oe],L);let it=!1;xe.subscribe((0,O._)(Ve,q=>{tt[Oe]=q,it||(it=!0,Rt--),Rt||Ve.next(ne(tt.slice()))},()=>{--nt||Ve.complete()}))},Ve)},Ve)}}(Ve,L,Fe?nt=>(0,E.e)(Fe,nt):Q.D));return ne?tt.pipe((0,D.I)(ne)):tt}function j(Pe,L,ne){Pe?(0,X.N)(ne,Pe,L):L()}},3513(Yt,ve,a){a.d(ve,{x:()=>D});var u=a(3222),g=a(4083),Q=a(4600);function D(...I){return function h(){return(0,u.U)(1)}()((0,Q.H)(I,(0,g.lI)(I)))}},137(Yt,ve,a){a.d(ve,{v:()=>g});var u=a(3942),h=a(2645);function g(Q){return new u.c(D=>{(0,h.Tg)(Q()).subscribe(D)})}},9400(Yt,ve,a){a.d(ve,{I:()=>g,w:()=>h});var u=a(3942);const h=new u.c(D=>D.complete());function g(D){return D?function Q(D){return new u.c(I=>D.schedule(()=>I.complete()))}(D):h}},1873(Yt,ve,a){a.d(ve,{p:()=>O});var u=a(3942),h=a(7808),g=a(2645),Q=a(4083),D=a(1687),I=a(8067),E=a(6813);function O(...X){const B=(0,Q.ms)(X),{args:K,keys:j}=(0,h.D)(X),Pe=new u.c(L=>{const{length:ne}=K;if(!ne)return void L.complete();const Ve=new Array(ne);let Fe=ne,tt=ne;for(let nt=0;nt<ne;nt++){let Rt=!1;(0,g.Tg)(K[nt]).subscribe((0,D._)(L,Oe=>{Rt||(Rt=!0,tt--),Ve[nt]=Oe},()=>Fe--,void 0,()=>{(!Fe||!Rt)&&(tt||L.next(j?(0,E.e)(j,Ve):Ve),L.complete())}))}});return B?Pe.pipe((0,I.I)(B)):Pe}},4600(Yt,ve,a){a.d(ve,{H:()=>q});var u=a(2645),h=a(310),g=a(819),Q=a(1687);function D(F,N=0){return(0,g.N)((U,ce)=>{U.subscribe((0,Q._)(ce,ie=>(0,h.N)(ce,F,()=>ce.next(ie),N),()=>(0,h.N)(ce,F,()=>ce.complete(),N),ie=>(0,h.N)(ce,F,()=>ce.error(ie),N)))})}function I(F,N=0){return(0,g.N)((U,ce)=>{ce.add(F.schedule(()=>U.subscribe(ce),N))})}var X=a(3942),K=a(2476),j=a(1530);function L(F,N){if(!F)throw new Error("Iterable cannot be null");return new X.c(U=>{(0,h.N)(U,N,()=>{const ce=F[Symbol.asyncIterator]();(0,h.N)(U,N,()=>{ce.next().then(ie=>{ie.done?U.complete():U.next(ie.value)})},0,!0)})})}var ne=a(1516),Ve=a(1117),Fe=a(8830),tt=a(528),nt=a(4558),Rt=a(1374),Oe=a(3233);function q(F,N){return N?function it(F,N){if(null!=F){if((0,ne.l)(F))return function E(F,N){return(0,u.Tg)(F).pipe(I(N),D(N))}(F,N);if((0,Fe.X)(F))return function B(F,N){return new X.c(U=>{let ce=0;return N.schedule(function(){ce===F.length?U.complete():(U.next(F[ce++]),U.closed||this.schedule())})})}(F,N);if((0,Ve.y)(F))return function O(F,N){return(0,u.Tg)(F).pipe(I(N),D(N))}(F,N);if((0,nt.T)(F))return L(F,N);if((0,tt.x)(F))return function Pe(F,N){return new X.c(U=>{let ce;return(0,h.N)(U,N,()=>{ce=F[K.l](),(0,h.N)(U,N,()=>{let ie,we;try{({value:ie,done:we}=ce.next())}catch(oe){return void U.error(oe)}we?U.complete():U.next(ie)},0,!0)}),()=>(0,j.T)(ce?.return)&&ce.return()})}(F,N);if((0,Oe.U)(F))return function xe(F,N){return L((0,Oe.C)(F),N)}(F,N)}throw(0,Rt.L)(F)}(F,N):(0,u.Tg)(F)}},8537(Yt,ve,a){a.d(ve,{R:()=>B});var u=a(2645),h=a(3942),g=a(1365),Q=a(8830),D=a(1530),I=a(8067);const E=["addListener","removeListener"],O=["addEventListener","removeEventListener"],X=["on","off"];function B(ne,Ve,Fe,tt){if((0,D.T)(Fe)&&(tt=Fe,Fe=void 0),tt)return B(ne,Ve,Fe).pipe((0,I.I)(tt));const[nt,Rt]=function L(ne){return(0,D.T)(ne.addEventListener)&&(0,D.T)(ne.removeEventListener)}(ne)?O.map(Oe=>xe=>ne[Oe](Ve,xe,Fe)):function j(ne){return(0,D.T)(ne.addListener)&&(0,D.T)(ne.removeListener)}(ne)?E.map(K(ne,Ve)):function Pe(ne){return(0,D.T)(ne.on)&&(0,D.T)(ne.off)}(ne)?X.map(K(ne,Ve)):[];
1if(!nt&&(0,Q.X)(ne))return(0,g.Z)(Oe=>B(Oe,Ve,Fe))((0,u.Tg)(ne));if(!nt)throw new TypeError("Invalid event target");return new h.c(Oe=>{const xe=(...it)=>Oe.next(1<it.length?it:it[0]);return nt(xe),()=>Rt(xe)})}function K(ne,Ve){return Fe=>tt=>ne[Fe](Ve,tt)}},7697(Yt,ve,a){a.d(ve,{T:()=>h});var u=a(137);function h(g,Q,D){return(0,u.v)(()=>g()?Q:D)}},2645(Yt,ve,a){a.d(ve,{Tg:()=>Pe});var u=a(7824),h=a(8830),g=a(1117),Q=a(3942),D=a(1516),I=a(4558),E=a(1374),O=a(528),X=a(3233),B=a(1530),K=a(1411),j=a(4127);function Pe(Oe){if(Oe instanceof Q.c)return Oe;if(null!=Oe){if((0,D.l)(Oe))return function L(Oe){return new Q.c(xe=>{const it=Oe[j.s]();if((0,B.T)(it.subscribe))return it.subscribe(xe);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(Oe);if((0,h.X)(Oe))return function ne(Oe){return new Q.c(xe=>{for(let it=0;it<Oe.length&&!xe.closed;it++)xe.next(Oe[it]);xe.complete()})}(Oe);if((0,g.y)(Oe))return function Ve(Oe){return new Q.c(xe=>{Oe.then(it=>{xe.closed||(xe.next(it),xe.complete())},it=>xe.error(it)).then(null,K.m)})}(Oe);if((0,I.T)(Oe))return tt(Oe);if((0,O.x)(Oe))return function Fe(Oe){return new Q.c(xe=>{for(const it of Oe)if(xe.next(it),xe.closed)return;xe.complete()})}(Oe);if((0,X.U)(Oe))return function nt(Oe){return tt((0,X.C)(Oe))}(Oe)}throw(0,E.L)(Oe)}function tt(Oe){return new Q.c(xe=>{(function Rt(Oe,xe){var it,q,F,N;return(0,u.sH)(this,void 0,void 0,function*(){try{for(it=(0,u.xN)(Oe);!(q=yield it.next()).done;)if(xe.next(q.value),xe.closed)return}catch(U){F={error:U}}finally{try{q&&!q.done&&(N=it.return)&&(yield N.call(it))}finally{if(F)throw F.error}}xe.complete()})})(Oe,xe).catch(it=>xe.error(it))})}},9240(Yt,ve,a){a.d(ve,{Y:()=>g});var u=a(8473),h=a(4876);function g(Q=0,D=u.E){return Q<0&&(Q=0),(0,h.O)(Q,Q,D)}},3617(Yt,ve,a){a.d(ve,{h:()=>I});var u=a(3222),h=a(2645),g=a(9400),Q=a(4083),D=a(4600);function I(...E){const O=(0,Q.lI)(E),X=(0,Q.R0)(E,1/0),B=E;return B.length?1===B.length?(0,h.Tg)(B[0]):(0,u.U)(X)((0,D.H)(B,O)):g.w}},9452(Yt,ve,a){a.d(ve,{of:()=>g});var u=a(4083),h=a(4600);function g(...Q){const D=(0,u.lI)(Q);return(0,h.H)(Q,D)}},7919(Yt,ve,a){a.d(ve,{$:()=>g});var u=a(3942),h=a(1530);function g(Q,D){const I=(0,h.T)(Q)?Q:()=>Q,E=O=>O.error(I());return new u.c(D?O=>D.schedule(E,0,O):E)}},4876(Yt,ve,a){a.d(ve,{O:()=>D});var u=a(3942),h=a(8473),g=a(9397),Q=a(5602);function D(I=0,E,O=h.b){let X=-1;return null!=E&&((0,g.m)(E)?O=E:X=E),new u.c(B=>{let K=(0,Q.v)(I)?+I-O.now():I;K<0&&(K=0);let j=0;return O.schedule(function(){B.closed||(B.next(j++),0<=X?this.schedule(void 0,X):B.complete())},K)})}},1687(Yt,ve,a){a.d(ve,{_:()=>h});var u=a(9931);function h(Q,D,I,E,O){return new g(Q,D,I,E,O)}class g extends u.vU{constructor(D,I,E,O,X,B){super(D),this.onFinalize=X,this.shouldUnsubscribe=B,this._next=I?function(K){try{I(K)}catch(j){D.error(j)}}:super._next,this._error=O?function(K){try{O(K)}catch(j){D.error(j)}finally{this.unsubscribe()}}:super._error,this._complete=E?function(){try{E()}catch(K){D.error(K)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var D;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:I}=this;super.unsubscribe(),!I&&(null===(D=this.onFinalize)||void 0===D||D.call(this))}}}},8799(Yt,ve,a){a.d(ve,{r:()=>D});var u=a(819),h=a(4318),g=a(1687),Q=a(2645);function D(I){return(0,u.N)((E,O)=>{let X=[];return E.subscribe((0,g._)(O,B=>X.push(B),()=>{O.next(X),O.complete()})),(0,Q.Tg)(I).subscribe((0,g._)(O,()=>{const B=X;X=[],O.next(B)},h.l)),()=>{X=null}})}},1318(Yt,ve,a){a.d(ve,{W:()=>Q});var u=a(2645),h=a(1687),g=a(819);function Q(D){return(0,g.N)((I,E)=>{let B,O=null,X=!1;O=I.subscribe((0,h._)(E,void 0,void 0,K=>{B=(0,u.Tg)(D(K,Q(D)(I))),O?(O.unsubscribe(),O=null,B.subscribe(E)):X=!0})),X&&(O.unsubscribe(),O=null,B.subscribe(E))})}},1903(Yt,ve,a){a.d(ve,{H:()=>g});var u=a(1365),h=a(1530);function g(Q,D){return(0,h.T)(D)?(0,u.Z)(Q,D,1):(0,u.Z)(Q,1)}},2575(Yt,ve,a){a.d(ve,{B:()=>Q});var u=a(8473),h=a(819),g=a(1687);function Q(D,I=u.E){return(0,h.N)((E,O)=>{let X=null,B=null,K=null;const j=()=>
1{if(X){X.unsubscribe(),X=null;const L=B;B=null,O.next(L)}};function Pe(){const L=K+D,ne=I.now();if(ne<L)return X=this.schedule(void 0,L-ne),void O.add(X);j()}E.subscribe((0,g._)(O,L=>{B=L,K=I.now(),X||(X=I.schedule(Pe,D),O.add(X))},()=>{j(),O.complete()},void 0,()=>{B=X=null}))})}},778(Yt,ve,a){a.d(ve,{U:()=>g});var u=a(819),h=a(1687);function g(Q){return(0,u.N)((D,I)=>{let E=!1;D.subscribe((0,h._)(I,O=>{E=!0,I.next(O)},()=>{E||I.next(Q),I.complete()}))})}},591(Yt,ve,a){a.d(ve,{c:()=>Pe});var u=a(8473),h=a(3513),g=a(4334),Q=a(819),D=a(1687),I=a(4318),O=a(7378),X=a(1365),B=a(2645);function K(L,ne){return ne?Ve=>(0,h.x)(ne.pipe((0,g.s)(1),function E(){return(0,Q.N)((L,ne)=>{L.subscribe((0,D._)(ne,I.l))})}()),Ve.pipe(K(L))):(0,X.Z)((Ve,Fe)=>(0,B.Tg)(L(Ve,Fe)).pipe((0,g.s)(1),(0,O.u)(Ve)))}var j=a(4876);function Pe(L,ne=u.E){const Ve=(0,j.O)(L,ne);return K(()=>Ve)}},1817(Yt,ve,a){a.d(ve,{F:()=>Q});var u=a(1440),h=a(819),g=a(1687);function Q(I,E=u.D){return I=I??D,(0,h.N)((O,X)=>{let B,K=!0;O.subscribe((0,g._)(X,j=>{const Pe=E(j);(K||!I(B,Pe))&&(K=!1,B=Pe,X.next(j))}))})}function D(I,E){return I===E}},7953(Yt,ve,a){a.d(ve,{p:()=>D});var u=a(271),h=a(2645),g=a(819),Q=a(1687);function D(I,E){return E?O=>O.pipe(D((X,B)=>(0,h.Tg)(I(X,B)).pipe((0,u.T)((K,j)=>E(X,K,B,j))))):(0,g.N)((O,X)=>{let B=0,K=null,j=!1;O.subscribe((0,Q._)(X,Pe=>{K||(K=(0,Q._)(X,void 0,()=>{K=null,j&&X.complete()}),(0,h.Tg)(I(Pe,B++)).subscribe(K))},()=>{j=!0,!K&&X.complete()}))})}},1567(Yt,ve,a){a.d(ve,{p:()=>g});var u=a(819),h=a(1687);function g(Q,D){return(0,u.N)((I,E)=>{let O=0;I.subscribe((0,h._)(E,X=>Q.call(D,X,O++)&&E.next(X)))})}},9475(Yt,ve,a){a.d(ve,{j:()=>h});var u=a(819);function h(g){return(0,u.N)((Q,D)=>{try{Q.subscribe(D)}finally{D.add(g)}})}},2435(Yt,ve,a){a.d(ve,{$:()=>E});var u=a(3335),h=a(1567),g=a(4334),Q=a(778),D=a(9365),I=a(1440);function E(O,X){const B=arguments.length>=2;return K=>K.pipe(O?(0,h.p)((j,Pe)=>O(j,Pe,K)):I.D,(0,g.s)(1),B?(0,Q.U)(X):(0,D.v)(()=>new u.G))}},271(Yt,ve,a){a.d(ve,{T:()=>g});var u=a(819),h=a(1687);function g(Q,D){return(0,u.N)((I,E)=>{let O=0;I.subscribe((0,h._)(E,X=>{E.next(Q.call(D,X,O++))}))})}},7378(Yt,ve,a){a.d(ve,{u:()=>h});var u=a(271);function h(g){return(0,u.T)(()=>g)}},3222(Yt,ve,a){a.d(ve,{U:()=>g});var u=a(1365),h=a(1440);function g(Q=1/0){return(0,u.Z)(h.D,Q)}},1365(Yt,ve,a){a.d(ve,{Z:()=>O});var u=a(271),h=a(2645),g=a(819),Q=a(310),D=a(1687),E=a(1530);function O(X,B,K=1/0){return(0,E.T)(B)?O((j,Pe)=>(0,u.T)((L,ne)=>B(j,L,Pe,ne))((0,h.Tg)(X(j,Pe))),K):("number"==typeof B&&(K=B),(0,g.N)((j,Pe)=>function I(X,B,K,j,Pe,L,ne,Ve){const Fe=[];let tt=0,nt=0,Rt=!1;const Oe=()=>{Rt&&!Fe.length&&!tt&&B.complete()},xe=q=>tt<j?it(q):Fe.push(q),it=q=>{L&&B.next(q),tt++;let F=!1;(0,h.Tg)(K(q,nt++)).subscribe((0,D._)(B,N=>{Pe?.(N),L?xe(N):B.next(N)},()=>{F=!0},void 0,()=>{if(F)try{for(tt--;Fe.length&&tt<j;){const N=Fe.shift();ne?(0,Q.N)(B,ne,()=>it(N)):it(N)}Oe()}catch(N){B.error(N)}}))};return X.subscribe((0,D._)(B,xe,()=>{Rt=!0,Oe()})),()=>{Ve?.()}}(j,Pe,X,K)))}},5424(Yt,ve,a){a.d(ve,{E:()=>h});var u=a(271);function h(...g){const Q=g.length;if(0===Q)throw new Error("list of properties cannot be empty.");return(0,u.T)(D=>{let I=D;for(let E=0;E<Q;E++){const O=I?.[g[E]];if(!(typeof O<"u"))return;I=O}return I})}},6882(Yt,ve,a){a.d(ve,{T:()=>Q});var u=a(1687),g=a(819);function Q(D,I){return(0,g.N)(function h(D,I,E,O,X){return(B,K)=>{let j=E,Pe=I,L=0;B.subscribe((0,u._)(K,ne=>{const Ve=L++;Pe=j?D(Pe,ne,Ve):(j=!0,ne),O&&K.next(Pe)},X&&(()=>{j&&K.next(Pe),K.complete()})))}}(D,I,arguments.length>=2,!1,!0))}},1995(Yt,ve,a){a.d(ve,{L:()=>I});var u=a(819),h=a(1687),g=a(1440),Q=a(4876),D=a(2645);function I(E=1/0){let O;O=E&&"object"==typeof E?E:{count:E};const{count:X=1/0,delay:B,resetOnSuccess:K=!1}=O;return X<=0?g.D:(0,u.N)((j,Pe)=>{let ne,L=0;const Ve=()=>{let Fe=!1;ne=j.subscribe((0,h._)(Pe,tt=>{K&&(L=0),Pe.next(tt)},void 0,tt=>{if(L++<X){const nt=()=>{ne?(ne.unsubscribe(),ne=null,Ve()):Fe=!0};if(null!=B){const Rt="number"==typeof B?(0,Q.O)(B):(0,D.Tg)(B(tt,L)),Oe=(0,h._)(Pe,()=>{Oe.unsubscribe(),nt()},()=>{Pe.complete()});Rt.subscribe(Oe)}else nt()}else Pe.error(tt)})),Fe&&(ne.unsubscribe(),ne=null,Ve())};Ve()})}},2611(Yt,ve,a){a.d(ve,{l:()=>D});var u=a(2645),h=a(4205),g=a(819),Q=a(1687);function D(I){return(0,g.N)((E,O)=>{let X,K,B=!1;const j=()=>{X=E.subscribe((0,Q._)(O,void 0,void 0,Pe=>{K||(K=new h.B,(0,u.Tg)(I(K)).subscribe((0,Q._)(O,()=>X?j():B=!0))),K&&K.next(Pe)})),B&&(X.unsubscribe(),X=null,B=!1,j())};j()})}},1870(Yt,ve,a){a.d(ve,{u:()=>D});var u=a(2645),h=a(4205),g=a(9931),Q=a(819);function D(E={}){const{connector:O=()=>new h.B,resetOnError:X=!0,resetOnComplete:B=!0,resetOnRefCountZero:K=!0}=E;return j=>{let Pe,L,ne,Ve=0,Fe=!1,tt=!1;const nt=()=>{L?.unsubscribe(),L=void 0},Rt=()=>{nt(),Pe=ne=void 0,Fe=tt=!1},Oe=()=>{const xe=Pe;Rt(),xe?.unsubscribe()};return(0,Q.N)((xe,it)=>{Ve++,!tt&&!Fe&&nt();const q=ne=ne??O();it.add(()=>{Ve--,0===Ve&&!tt&&!Fe&&(L=I(Oe,K))}),q.subscribe(it),!Pe&&Ve>0&&(Pe=new g.Ms({next:F=>q.next(F),error:F=>{tt=!0,nt(),L=I(Rt,X,F),q.error(F)},complete:()=>{Fe=!0,nt(),L=I(Rt,B),q.complete()}}),(0,u.Tg)(xe).subscribe(Pe))})(j)}}
1function I(E,O,...X){if(!0===O)return void E();if(!1===O)return;const B=new g.Ms({next:()=>{B.unsubscribe(),E()}});return(0,u.Tg)(O(...X)).subscribe(B)}},6301(Yt,ve,a){a.d(ve,{t:()=>g});var u=a(6042),h=a(1870);function g(Q,D,I){let E,O=!1;return Q&&"object"==typeof Q?({bufferSize:E=1/0,windowTime:D=1/0,refCount:O=!1,scheduler:I}=Q):E=Q??1/0,(0,h.u)({connector:()=>new u.m(E,D,I),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:O})}},7470(Yt,ve,a){a.d(ve,{i:()=>h});var u=a(1567);function h(g){return(0,u.p)((Q,D)=>g<=D)}},3037(Yt,ve,a){a.d(ve,{Z:()=>Q});var u=a(3513),h=a(4083),g=a(819);function Q(...D){const I=(0,h.lI)(D);return(0,g.N)((E,O)=>{(I?(0,u.x)(D,E,I):(0,u.x)(D,E)).subscribe(O)})}},6647(Yt,ve,a){a.d(ve,{n:()=>Q});var u=a(2645),h=a(819),g=a(1687);function Q(D,I){return(0,h.N)((E,O)=>{let X=null,B=0,K=!1;const j=()=>K&&!X&&O.complete();E.subscribe((0,g._)(O,Pe=>{X?.unsubscribe();let L=0;const ne=B++;(0,u.Tg)(D(Pe,ne)).subscribe(X=(0,g._)(O,Ve=>O.next(I?I(Pe,Ve,ne,L++):Ve),()=>{X=null,j()}))},()=>{K=!0,j()}))})}},4334(Yt,ve,a){a.d(ve,{s:()=>Q});var u=a(9400),h=a(819),g=a(1687);function Q(D){return D<=0?()=>u.w:(0,h.N)((I,E)=>{let O=0;I.subscribe((0,g._)(E,X=>{++O<=D&&(E.next(X),D<=O&&E.complete())}))})}},602(Yt,ve,a){a.d(ve,{o:()=>Q});var u=a(9400),h=a(819),g=a(1687);function Q(D){return D<=0?()=>u.w:(0,h.N)((I,E)=>{let O=[];I.subscribe((0,g._)(E,X=>{O.push(X),D<O.length&&O.shift()},()=>{for(const X of O)E.next(X);E.complete()},void 0,()=>{O=null}))})}},3900(Yt,ve,a){a.d(ve,{Q:()=>D});var u=a(819),h=a(1687),g=a(2645),Q=a(4318);function D(I){return(0,u.N)((E,O)=>{(0,g.Tg)(I).subscribe((0,h._)(O,()=>O.complete(),Q.l)),!O.closed&&E.subscribe(O)})}},8764(Yt,ve,a){a.d(ve,{M:()=>D});var u=a(1530),h=a(819),g=a(1687),Q=a(1440);function D(I,E,O){const X=(0,u.T)(I)||E||O?{next:I,error:E,complete:O}:I;return X?(0,h.N)((B,K)=>{var j;null===(j=X.subscribe)||void 0===j||j.call(X);let Pe=!0;B.subscribe((0,g._)(K,L=>{var ne;null===(ne=X.next)||void 0===ne||ne.call(X,L),K.next(L)},()=>{var L;Pe=!1,null===(L=X.complete)||void 0===L||L.call(X),K.complete()},L=>{var ne;Pe=!1,null===(ne=X.error)||void 0===ne||ne.call(X,L),K.error(L)},()=>{var L,ne;Pe&&(null===(L=X.unsubscribe)||void 0===L||L.call(X)),null===(ne=X.finalize)||void 0===ne||ne.call(X)}))}):Q.D}},3674(Yt,ve,a){a.d(ve,{c:()=>E});var u=a(8473),h=a(819),g=a(1687),Q=a(2645),I=a(4876);function E(O,X=u.E,B){const K=(0,I.O)(O,X);return function D(O,X){return(0,h.N)((B,K)=>{const{leading:j=!0,trailing:Pe=!1}=X??{};let L=!1,ne=null,Ve=null,Fe=!1;const tt=()=>{Ve?.unsubscribe(),Ve=null,Pe&&(Oe(),Fe&&K.complete())},nt=()=>{Ve=null,Fe&&K.complete()},Rt=xe=>Ve=(0,Q.Tg)(O(xe)).subscribe((0,g._)(K,tt,nt)),Oe=()=>{if(L){L=!1;const xe=ne;ne=null,K.next(xe),!Fe&&Rt(xe)}};B.subscribe((0,g._)(K,xe=>{L=!0,ne=xe,(!Ve||Ve.closed)&&(j?Oe():Rt(xe))},()=>{Fe=!0,(!(Pe&&L&&Ve)||Ve.closed)&&K.complete()}))})}(()=>K,B)}},9365(Yt,ve,a){a.d(ve,{v:()=>Q});var u=a(3335),h=a(819),g=a(1687);function Q(I=D){return(0,h.N)((E,O)=>{let X=!1;E.subscribe((0,g._)(O,B=>{X=!0,O.next(B)},()=>X?O.complete():O.error(I())))})}function D(){return new u.G}},2354(Yt,ve,a){a.d(ve,{w:()=>X});var u=a(8473),h=a(5602),g=a(819),Q=a(2645),D=a(2384),I=a(1687),E=a(310);const O=(0,D.L)(K=>function(Pe=null){K(this),this.message="Timeout has occurred",this.name="TimeoutError",this.info=Pe});function X(K,j){const{first:Pe,each:L,with:ne=B,scheduler:Ve=j??u.E,meta:Fe=null}=(0,h.v)(K)?{first:K}:"number"==typeof K?{each:K}:K;if(null==Pe&&null==L)throw new TypeError("No timeout provided.");return(0,g.N)((tt,nt)=>{let Rt,Oe,xe=null,it=0;const q=F=>{Oe=(0,E.N)(nt,Ve,()=>{try{Rt.unsubscribe(),(0,Q.Tg)(ne({meta:Fe,lastValue:xe,seen:it})).subscribe(nt)}catch(N){nt.error(N)}},F)};Rt=tt.subscribe((0,I._)(nt,F=>{Oe?.unsubscribe(),it++,nt.next(xe=F),L>0&&q(L)},void 0,void 0,()=>{Oe?.closed||Oe?.unsubscribe(),xe=null})),!it&&q(null!=Pe?"number"==typeof Pe?Pe:+Pe-Ve.now():L)})}function B(K){throw new O(K)}},5842(Yt,ve,a){a.d(ve,{E:()=>E});var u=a(819),h=a(1687),g=a(2645),Q=a(1440),D=a(4318),I=a(4083);function E(...O){const X=(0,I.ms)(O);return(0,u.N)((B,K)=>{const j=O.length,Pe=new Array(j);let L=O.map(()=>!1),ne=!1;for(let Ve=0;Ve<j;Ve++)(0,g.Tg)(O[Ve]).subscribe((0,h._)(K,Fe=>{Pe[Ve]=Fe,!ne&&!L[Ve]&&(L[Ve]=!0,(ne=L.every(Q.D))&&(L=null))},D.l));B.subscribe((0,h._)(K,Ve=>{if(ne){const Fe=[Ve,...Pe];K.next(X?X(...Fe):Fe)}}))})}},428(Yt,ve,a){a.d(ve,{R:()=>D});var u=a(7092);class h extends u.yU{constructor(E,O){super()}schedule(E,O=0){return this}}const g={setInterval(I,E,...O){const{delegate:X}=g;return X?.setInterval?X.setInterval(I,E,...O):setInterval(I,E,...O)},clearInterval(I){const{delegate:E}=g;return(E?.clearInterval||clearInterval)(I)},delegate:void 0};var Q=a(967);
vendor: 7,382 bytes, line 1
1class D extends h{constructor(E,O){super(E,O),this.scheduler=E,this.work=O,this.pending=!1}schedule(E,O=0){var X;if(this.closed)return this;this.state=E;const B=this.id,K=this.scheduler;return null!=B&&(this.id=this.recycleAsyncId(K,B,O)),this.pending=!0,this.delay=O,this.id=null!==(X=this.id)&&void 0!==X?X:this.requestAsyncId(K,this.id,O),this}requestAsyncId(E,O,X=0){return g.setInterval(E.flush.bind(E,this),X)}recycleAsyncId(E,O,X=0){if(null!=X&&this.delay===X&&!1===this.pending)return O;null!=O&&g.clearInterval(O)}execute(E,O){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const X=this._execute(E,O);if(X)return X;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(E,O){let B,X=!1;try{this.work(E)}catch(K){X=!0,B=K||new Error("Scheduled action threw falsy error")}if(X)return this.unsubscribe(),B}unsubscribe(){if(!this.closed){const{id:E,scheduler:O}=this,{actions:X}=O;this.work=this.state=this.scheduler=null,this.pending=!1,(0,Q.o)(X,this),null!=E&&(this.id=this.recycleAsyncId(O,E,null)),this.delay=null,super.unsubscribe()}}}},9576(Yt,ve,a){a.d(ve,{q:()=>g});var u=a(5152);class h{constructor(D,I=h.now){this.schedulerActionCtor=D,this.now=I}schedule(D,I=0,E){return new this.schedulerActionCtor(this,D).schedule(E,I)}}h.now=u.U.now;class g extends h{constructor(D,I=h.now){super(D,I),this.actions=[],this._active=!1}flush(D){const{actions:I}=this;if(this._active)return void I.push(D);let E;this._active=!0;do{if(E=D.execute(D.state,D.delay))break}while(D=I.shift());if(this._active=!1,E){for(;D=I.shift();)D.unsubscribe();throw E}}}},3762(Yt,ve,a){a.d(ve,{X:()=>E});var u=a(428),h=a(7092);const g={schedule(X){let B=requestAnimationFrame,K=cancelAnimationFrame;const{delegate:j}=g;j&&(B=j.requestAnimationFrame,K=j.cancelAnimationFrame);const Pe=B(L=>{K=void 0,X(L)});return new h.yU(()=>K?.(Pe))},requestAnimationFrame(...X){const{delegate:B}=g;return(B?.requestAnimationFrame||requestAnimationFrame)(...X)},cancelAnimationFrame(...X){const{delegate:B}=g;return(B?.cancelAnimationFrame||cancelAnimationFrame)(...X)},delegate:void 0};var D=a(9576);const E=new class I extends D.q{flush(B){let K;this._active=!0,B?K=B.id:(K=this._scheduled,this._scheduled=void 0);const{actions:j}=this;let Pe;B=B||j.shift();do{if(Pe=B.execute(B.state,B.delay))break}while((B=j[0])&&B.id===K&&j.shift());if(this._active=!1,Pe){for(;(B=j[0])&&B.id===K&&j.shift();)B.unsubscribe();throw Pe}}}(class Q extends u.R{constructor(B,K){super(B,K),this.scheduler=B,this.work=K}requestAsyncId(B,K,j=0){return null!==j&&j>0?super.requestAsyncId(B,K,j):(B.actions.push(this),B._scheduled||(B._scheduled=g.requestAnimationFrame(()=>B.flush(void 0))))}recycleAsyncId(B,K,j=0){var Pe;if(null!=j?j>0:this.delay>0)return super.recycleAsyncId(B,K,j);const{actions:L}=B;null!=K&&K===B._scheduled&&(null===(Pe=L[L.length-1])||void 0===Pe?void 0:Pe.id)!==K&&(g.cancelAnimationFrame(K),B._scheduled=void 0)}})},8473(Yt,ve,a){a.d(ve,{E:()=>g,b:()=>Q});var u=a(428);const g=new(a(9576).q)(u.R),Q=g},5152(Yt,ve,a){a.d(ve,{U:()=>u});const u={now:()=>(u.delegate||Date).now(),delegate:void 0}},9603(Yt,ve,a){a.d(ve,{f:()=>u});const u={setTimeout(h,g,...Q){const{delegate:D}=u;return D?.setTimeout?D.setTimeout(h,g,...Q):setTimeout(h,g,...Q)},clearTimeout(h){const{delegate:g}=u;return(g?.clearTimeout||clearTimeout)(h)},delegate:void 0}},2476(Yt,ve,a){a.d(ve,{l:()=>h});const h=function u(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},4127(Yt,ve,a){a.d(ve,{s:()=>u});const u="function"==typeof Symbol&&Symbol.observable||"@@observable"},3335(Yt,ve,a){a.d(ve,{G:()=>h});const h=(0,a(2384).L)(g=>function(){g(this),this.name="EmptyError",this.message="no elements in sequence"})},4083(Yt,ve,a){a.d(ve,{R0:()=>I,lI:()=>D,ms:()=>Q});var u=a(1530),h=a(9397);function g(E){return E[E.length-1]}function Q(E){return(0,u.T)(g(E))?E.pop():void 0}function D(E){return(0,h.m)(g(E))?E.pop():void 0}function I(E,O){return"number"==typeof g(E)?E.pop():O}},7808(Yt,ve,a){a.d(ve,{D:()=>D});const{isArray:u}=Array,{getPrototypeOf:h,prototype:g,keys:Q}=Object;function D(E){if(1===E.length){const O=E[0];if(u(O))return{args:O,keys:null};if(function I(E){return E&&"object"==typeof E&&h(E)===g}(O)){const X=Q(O);return{args:X.map(B=>O[B]),keys:X}}}return{args:E,keys:null}}},967(Yt,ve,a){function u(h,g){if(h){const Q=h.indexOf(g);0<=Q&&h.splice(Q,1)}}a.d(ve,{o:()=>u})},2384(Yt,ve,a){function u(h){const Q=h(D=>{Error.call(D),D.stack=(new Error).stack});return Q.prototype=Object.create(Error.prototype),Q.prototype.constructor=Q,Q}a.d(ve,{L:()=>u})},6813(Yt,ve,a){function u(h,g){return h.reduce((Q,D,I)=>(Q[D]=g[I],Q),{})}a.d(ve,{e:()=>u})},23(Yt,ve,a){a.d(ve,{Y:()=>g,l:()=>Q});var u=a(2213);let h=null;function g(D){if(u.$.useDeprecatedSynchronousErrorHandling){const I=!h;if(I&&(h={errorThrown:!1,error:null}),D(),I){const{errorThrown:E,error:O}=h;if(h=null,E)throw O}}else D()}function Q(D){u.$.useDeprecatedSynchronousErrorHandling&&h&&(h.errorThrown=!0,h.error=D)}},310(Yt,ve,a){function u(h,g,Q,D=0,I=!1){const E=g.schedule(function(){Q(),I?h.add(this.schedule(null,D)):this.unsubscribe()},D);if(h.add(E),!I)return E}a.d(ve,{N:()=>u})},1440(Yt,ve,a){function u(h){return h}a.d(ve,{D:()=>u})},8830(Yt,ve,a){a.d(ve,{X:()=>u});const u=h=>h&&"number"==typeof h.length&&"function"!=typeof h},4558(Yt,ve,a){a.d(ve,{T:()=>h});var u=a(1530);function h(g){return Symbol.asyncIterator&&(0,u.T)(g?.[Symbol.asyncIterator])}},5602(Yt,ve,a){function u(h){return h instanceof Date&&!isNaN(h)}a.d(ve,{v:()=>u})},1530(Yt,ve,a){function u(h){return"function"==typeof h}a.d(ve,{T:()=>u})},1516(Yt,ve,a){a.d(ve,{l:()=>g});var u=a(4127),h=a(1530);function g(Q){return(0,h.T)(Q[u.s])}},528(Yt,ve,a){a.d(ve,{x:()=>g});var u=a(2476),h=a(1530);function g(Q){return(0,h.T)(Q?.[u.l])}},2551(Yt,ve,a){a.d(ve,{A:()=>g});var u=a(3942),h=a(1530);function g(Q){return!!Q&&(Q instanceof u.c||(0,h.T)(Q.lift)&&(0,h.T)(Q.subscribe))}},1117(Yt,ve,a){a.d(ve,{y:()=>h});var u=a(1530);function h(g){return(0,u.T)(g?.then)}},3233(Yt,ve,a){a.d(ve,{C:()=>g,U:()=>Q});var u=a(7824),h=a(1530);function g(D){return(0,u.AQ)(this,arguments,function*(){const E=D.getReader();try{for(;;){const{value:O,done:X}=yield(0,u.N3)(E.read());if(X)return yield(0,u.N3)(void 0);yield yield(0,u.N3)(O)}}finally{E.releaseLock()}})}function Q(D){return(0,h.T)(D?.getReader)}},9397(Yt,ve,a){a.d(ve,{m:()=>h});var u=a(1530);function h(g){return g&&(0,u.T)(g.schedule)}},819(Yt,ve,a){a.d(ve,{N:()=>g,S:()=>h});var u=a(1530);function h(Q){return(0,u.T)(Q?.lift)}function g(Q){return D=>{if(h(D))return D.lift(function(I){try{return Q(I,this)}catch(E){this.error(E)}});throw new TypeError("Unable to lift unknown Observable type")}}},8067(Yt,ve,a){a.d(ve,{I:()=>Q});var u=a(271);const{isArray:h}=Array;function Q(D){return(0,u.T)(I=>function g(D,I){return h(I)?D(...I):D(I)}(D,I))}},4318(Yt,ve,a){function u(){}a.d(ve,{l:()=>u})},5682(Yt,ve,a){a.d(ve,{F:()=>h,m:()=>g});var u=a(1440);function h(...Q){return g(Q)}function g(Q){return 0===Q.length?u.D:1===Q.length?Q[0]:function(I){return Q.reduce((E,O)=>O(E),I)}}},1411(Yt,ve,a){a.d(ve,{m:()=>g});var u=a(2213),h=a(9603);function g(Q){h.f.setTimeout(()=>{const{onUnhandledError:D}=u.$;if(!D)throw Q;D(Q)})}},1374(Yt,ve,a){function u(h){return new TypeError(`You provided ${null!==h&&"object"==typeof h?"an invali
1d object":`'${h}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}a.d(ve,{L:()=>u})},2789(Yt,ve){var a;ve=Yt.exports=Oe,a="object"==typeof process&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?function(){var P=Array.prototype.slice.call(arguments,0);P.unshift("SEMVER"),console.log.apply(console,P)}:function(){},ve.SEMVER_SPEC_VERSION="2.0.0";var h=Number.MAX_SAFE_INTEGER||9007199254740991,D=ve.re=[],I=ve.safeRe=[],E=ve.src=[],O=ve.tokens={},X=0;function B(P){O[P]=X++}var K="[a-zA-Z0-9-]",j=[["\\s",1],["\\d",256],[K,250]];function Pe(P){for(var Ae=0;Ae<j.length;Ae++){var mt=j[Ae][0],wt=j[Ae][1];P=P.split(mt+"*").join(mt+"{0,"+wt+"}").split(mt+"+").join(mt+"{1,"+wt+"}")}return P}B("NUMERICIDENTIFIER"),E[O.NUMERICIDENTIFIER]="0|[1-9]\\d*",B("NUMERICIDENTIFIERLOOSE"),E[O.NUMERICIDENTIFIERLOOSE]="\\d+",B("NONNUMERICIDENTIFIER"),E[O.NONNUMERICIDENTIFIER]="\\d*[a-zA-Z-]"+K+"*",B("MAINVERSION"),E[O.MAINVERSION]="("+E[O.NUMERICIDENTIFIER]+")\\.("+E[O.NUMERICIDENTIFIER]+")\\.("+E[O.NUMERICIDENTIFIER]+")",B("MAINVERSIONLOOSE"),E[O.MAINVERSIONLOOSE]="("+E[O.NUMERICIDENTIFIERLOOSE]+")\\.("+E[O.NUMERICIDENTIFIERLOOSE]+")\\.("+E[O.NUMERICIDENTIFIERLOOSE]+")",B("PRERELEASEIDENTIFIER"),E[O.PRERELEASEIDENTIFIER]="(?:"+E[O.NUMERICIDENTIFIER]+"|"+E[O.NONNUMERICIDENTIFIER]+")",B("PRERELEASEIDENTIFIERLOOSE"),E[O.PRERELEASEIDENTIFIERLOOSE]="(?:"+E[O.NUMERICIDENTIFIERLOOSE]+"|"+E[O.NONNUMERICIDENTIFIER]+")",B("PRERELEASE"),E[O.PRERELEASE]="(?:-("+E[O.PRERELEASEIDENTIFIER]+"(?:\\."+E[O.PRERELEASEIDENTIFIER]+")*))",B("PRERELEASELOOSE"),E[O.PRERELEASELOOSE]="(?:-?("+E[O.PRERELEASEIDENTIFIERLOOSE]+"(?:\\."+E[O.PRERELEASEIDENTIFIERLOOSE]+")*))",B("BUILDIDENTIFIER"),E[O.BUILDIDENTIFIER]=K+"+",B("BUILD"),E[O.BUILD]="(?:\\+("+E[O.BUILDIDENTIFIER]+"(?:\\."+E[O.BUILDIDENTIFIER]+")*))",B("FULL"),B("FULLPLAIN"),E[O.FULLPLAIN]="v?"+E[O.MAINVERSION]+E[O.PRERELEASE]+"?"+E[O.BUILD]+"?",E[O.FULL]="^"+E[O.FULLPLAIN]+"$",B("LOOSEPLAIN"),E[O.LOOSEPLAIN]="[v=\\s]*"+E[O.MAINVERSIONLOOSE]+E[O.PRERELEASELOOSE]+"?"+E[O.BUILD]+"?",B("LOOSE"),E[O.LOOSE]="^"+E[O.LOOSEPLAIN]+"$",B("GTLT"),E[O.GTLT]="((?:<|>)?=?)",B("XRANGEIDENTIFIERLOOSE"),E[O.XRANGEIDENTIFIERLOOSE]=E[O.NUMERICIDENTIFIERLOOSE]+"|x|X|\\*",B("XRANGEIDENTIFIER"),E[O.XRANGEIDENTIFIER]=E[O.NUMERICIDENTIFIER]+"|x|X|\\*",B("XRANGEPLAIN"),E[O.XRANGEPLAIN]="[v=\\s]*("+E[O.XRANGEIDENTIFIER]+")(?:\\.("+E[O.XRANGEIDENTIFIER]+")(?:\\.("+E[O.XRANGEIDENTIFIER]+")(?:"+E[O.PRERELEASE]+")?"+E[O.BUILD]+"?)?)?",B("XRANGEPLAINLOOSE"),E[O.XRANGEPLAINLOOSE]="[v=\\s]*("+E[O.XRANGEIDENTIFIERLOOSE]+")(?:\\.("+E[O.XRANGEIDENTIFIERLOOSE]+")(?:\\.("+E[O.XRANGEIDENTIFIERLOOSE]+")(?:"+E[O.PRERELEASELOOSE]+")?"+E[O.BUILD]+"?)?)?",B("XRANGE"),E[O.XRANGE]="^"+E[O.GTLT]+"\\s*"+E[O.XRANGEPLAIN]+"$",B("XRANGELOOSE"),E[O.XRANGELOOSE]="^"+E[O.GTLT]+"\\s*"+E[O.XRANGEPLAINLOOSE]+"$",B("COERCE"),E[O.COERCE]="(^|[^\\d])(\\d{1,16})(?:\\.(\\d{1,16}))?(?:\\.(\\d{1,16}))?(?:$|[^\\d])",B("COERCERTL"),D[O.COERCERTL]=new RegExp(E[O.COERCE],"g"),I[O.COERCERTL]=new RegExp(Pe(E[O.COERCE]),"g"),B("LONETILDE"),E[O.LONETILDE]="(?:~>?)",B("TILDETRIM"),E[O.TILDETRIM]="(\\s*)"+E[O.LONETILDE]+"\\s+",D[O.TILDETRIM]=new RegExp(E[O.TILDETRIM],"g"),I[O.TILDETRIM]=new RegExp(Pe(E[O.TILDETRIM]),"g"),B("TILDE"),E[O.TILDE]="^"+E[O.LONETILDE]+E[O.XRANGEPLAIN]+"$",B("TILDELOOSE"),E[O.TILDELOOSE]="^"+E[O.LONETILDE]+E[O.XRANGEPLAINLOOSE]+"$",B("LONECARET"),E[O.LONECARET]="(?:\\^)",B("CARETTRIM"),E[O.CARETTRIM]="(\\s*)"+E[O.LONECARET]+"\\s+",D[O.CARETTRIM]=new RegExp(E[O.CARETTRIM],"g"),I[O.CARETTRIM]=new RegExp(Pe(E[O.CARETTRIM]),"g"),B("CARET"),E[O.CARET]="^"+E[O.LONECARET]+E[O.XRANGEPLAIN]+"$",B("CARETLOOSE"),E[O.CARETLOOSE]="^"+E[O.LONECARET]+E[O.XRANGEPLAINLOOSE]+"$",B("COMPARATORLOOSE"),E[O.COMPARATORLOOSE]="^"+E[O.GTLT]+"\\s*("+E[O.LOOSEPLAIN]+")$|^$",B("COMPARATOR"),E[O.COMPARATOR]="^"+E[O.GTLT]+"\\s*("+E[O.FULLPLAIN]+")$|^$",B("COMPARATORTRIM"),E[O.COMPARATORTRIM]="(\\s*)"+E[O.GTLT]+"\\s*("+E[O.LOOSEPLAIN]+"|"+E[O.XRANGEPLAIN]+")",D[O.COMPARATORTRIM]=new RegExp(E[O.COMPARATORTRIM],"g"),I[O.COMPARATORTRIM]=new RegExp(Pe(E[O.COMPARATORTRIM]),"g"),B("HYPHENRANGE"),E[O.HYPHENRANGE]="^\\s*("+E[O.XRANGEPLAIN]+")\\s+-\\s+("+E[O.XRANGEPLAIN]+")\\s*$",B("HYPHENRANGELOOSE"),E[O.HYPHENRANGELOOSE]="^\\s*("+E[O.XRANGEPLAINLOOSE]+")\\s+-\\s+("+E[O.XRANGEPLAINLOOSE]+")\\s*$",B("STAR"),E[O.STAR]="(<|>)?=?\\s*\\*";
vendor: 7,659 bytes, line 1
1for(var Fe=0;Fe<X;Fe++)a(Fe,E[Fe]),D[Fe]||(D[Fe]=new RegExp(E[Fe]),I[Fe]=new RegExp(Pe(E[Fe])));function tt(P,Ae){if((!Ae||"object"!=typeof Ae)&&(Ae={loose:!!Ae,includePrerelease:!1}),P instanceof Oe)return P;if("string"!=typeof P||P.length>256)return null;if(!(Ae.loose?I[O.LOOSE]:I[O.FULL]).test(P))return null;try{return new Oe(P,Ae)}catch{return null}}function Oe(P,Ae){if((!Ae||"object"!=typeof Ae)&&(Ae={loose:!!Ae,includePrerelease:!1}),P instanceof Oe){if(P.loose===Ae.loose)return P;P=P.version}else if("string"!=typeof P)throw new TypeError("Invalid Version: "+P);if(P.length>256)throw new TypeError("version is longer than 256 characters");if(!(this instanceof Oe))return new Oe(P,Ae);a("SemVer",P,Ae),this.options=Ae,this.loose=!!Ae.loose;var mt=P.trim().match(Ae.loose?I[O.LOOSE]:I[O.FULL]);if(!mt)throw new TypeError("Invalid Version: "+P);if(this.raw=P,this.major=+mt[1],this.minor=+mt[2],this.patch=+mt[3],this.major>h||this.major<0)throw new TypeError("Invalid major version");if(this.minor>h||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>h||this.patch<0)throw new TypeError("Invalid patch version");this.prerelease=mt[4]?mt[4].split(".").map(function(wt){if(/^[0-9]+$/.test(wt)){var Mt=+wt;if(Mt>=0&&Mt<h)return Mt}return wt}):[],this.build=mt[5]?mt[5].split("."):[],this.format()}ve.parse=tt,ve.valid=function nt(P,Ae){var mt=tt(P,Ae);return mt?mt.version:null},ve.clean=function Rt(P,Ae){var mt=tt(P.trim().replace(/^[=v]+/,""),Ae);return mt?mt.version:null},ve.SemVer=Oe,Oe.prototype.format=function(){return this.version=this.major+"."+this.minor+"."+this.patch,this.prerelease.length&&(this.version+="-"+this.prerelease.join(".")),this.version},Oe.prototype.toString=function(){return this.version},Oe.prototype.compare=function(P){return a("SemVer.compare",this.version,this.options,P),P instanceof Oe||(P=new Oe(P,this.options)),this.compareMain(P)||this.comparePre(P)},Oe.prototype.compareMain=function(P){return P instanceof Oe||(P=new Oe(P,this.options)),F(this.major,P.major)||F(this.minor,P.minor)||F(this.patch,P.patch)},Oe.prototype.comparePre=function(P){if(P instanceof Oe||(P=new Oe(P,this.options)),this.prerelease.length&&!P.prerelease.length)return-1;if(!this.prerelease.length&&P.prerelease.length)return 1;if(!this.prerelease.length&&!P.prerelease.length)return 0;var Ae=0;do{var mt=this.prerelease[Ae],wt=P.prerelease[Ae];if(a("prerelease compare",Ae,mt,wt),void 0===mt&&void 0===wt)return 0;if(void 0===wt)return 1;if(void 0===mt)return-1;if(mt!==wt)return F(mt,wt)}while(++Ae)},Oe.prototype.compareBuild=function(P){P instanceof Oe||(P=new Oe(P,this.options));var Ae=0;do{var mt=this.build[Ae],wt=P.build[Ae];if(a("prerelease compare",Ae,mt,wt),void 0===mt&&void 0===wt)return 0;if(void 0===wt)return 1;if(void 0===mt)return-1;if(mt!==wt)return F(mt,wt)}while(++Ae)},Oe.prototype.inc=function(P,Ae){switch(P){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",Ae);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",Ae);break;case"prepatch":this.prerelease.length=0,this.inc("patch",Ae),this.inc("pre",Ae);break;case"prerelease":0===this.prerelease.length&&this.inc("patch",Ae),this.inc("pre",Ae);break;case"major":(0!==this.minor||0!==this.patch||0===this.prerelease.length)&&this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":(0!==this.patch||0===this.prerelease.length)&&this.minor++,this.patch=0,this.prerelease=[];break;case"patch":0===this.prerelease.length&&this.patch++,this.prerelease=[];break;case"pre":if(0===this.prerelease.length)this.prerelease=[0];else{for(var mt=this.prerelease.length;--mt>=0;)"number"==typeof this.prerelease[mt]&&(this.prerelease[mt]++,mt=-2);-1===mt&&this.prerelease.push(0)}Ae&&(this.prerelease[0]===Ae?isNaN(this.prerelease[1])&&(this.prerelease=[Ae,0]):this.prerelease=[Ae,0]);break;default:throw new Error("invalid increment argument: "+P)}return this.format(),this.raw=this.version,this},ve.inc=function xe(P,Ae,mt,wt){"string"==typeof mt&&(wt=mt,mt=void 0);try{return new Oe(P,mt).inc(Ae,wt).version}catch{return null}},ve.diff=function it(P,Ae){if(pt(P,Ae))return null;var mt=tt(P),wt=tt(Ae),Mt="";if(mt.prerelease.length||wt.prerelease.length){Mt="pre";var jt="prerelease"}for(var Ge in mt)if(("major"===Ge||"minor"===Ge||"patch"===Ge)&&mt[Ge]!==wt[Ge])return Mt+Ge;return jt},ve.compareIdentifiers=F;var q=/^[0-9]+$/;function F(P,Ae){var mt=q.test(P),wt=q.test(Ae);return mt&&wt&&(P=+P,Ae=+Ae),P===Ae?0:mt&&!wt?-1:wt&&!mt?1:P<Ae?-1:1}function we(P,Ae,mt){return new Oe(P,mt).compare(new Oe(Ae,mt))}function Te(P,Ae,mt){return we(P,Ae,mt)>0}function le(P,Ae,mt){return we(P,Ae,mt)<0}function pt(P,Ae,mt){return 0===we(P,Ae,mt)}function Ie(P,Ae,mt){return 0!==we(P,Ae,mt)}function ze(P,Ae,mt){return we(P,Ae,mt)>=0}function Qe(P,Ae,mt){return we(P,Ae,mt)<=0}function _t(P,Ae,mt,wt){switch(Ae){case"===":return"object"==typeof P&&(P=P.version),"object"==typeof mt&&(mt=mt.version),P===mt;case"!==":return"object"==typeof P&&(P=P.version),"object"==typeof mt&&(mt=mt.version),P!==mt;case"":case"=":case"==":return pt(P,mt,wt);case"!=":return Ie(P,mt,wt);case">":return Te(P,mt,wt);case">=":return ze(P,mt,wt);case"<":return le(P,mt,wt);case"<=":return Qe(P,mt,wt);default:throw new TypeError("Invalid operator: "+Ae)}}function Re(P,Ae){if((!Ae||"object"!=typeof Ae)&&(Ae={loose:!!Ae,includePrerelease:!1}),P instanceof Re){if(P.loose===!!Ae.loose)return P;P=P.value}if(!(this instanceof Re))return new Re(P,Ae);P=P.trim().split(/\s+/).join(" "),a("comparator",P,Ae),this.options=Ae,this.loose=!!Ae.loose,this.parse(P),this.value=this.semver===Et?"":this.operator+this.semver.version,a("comp",this)}ve.rcompareIdentifiers=function N(P,Ae){return F(Ae,P)},ve.major=function U(P,Ae){return new Oe(P,Ae).major},ve.minor=function ce(P,Ae){return new Oe(P,Ae).minor},ve.patch=function ie(P,Ae){return new Oe(P,Ae).patch},ve.compare=we,ve.compareLoose=function oe(P,Ae){return we(P,Ae,!0)},ve.compareBuild=function de(P,Ae,mt){var wt=new Oe(P,mt),Mt=new Oe(Ae,mt);return wt.compare(Mt)||wt.compareBuild(Mt)},ve.rcompare=function He(P,Ae,mt){return we(Ae,P,mt)},ve.sort=function Be(P,Ae){return P.sort(function(mt,wt){return ve.compareBuild(mt,wt,Ae)})},ve.rsort=function $e(P,Ae){return P.sort(function(mt,wt){return ve.compareBuild(wt,mt,Ae)})},ve.gt=Te,ve.lt=le,ve.eq=pt,ve.neq=Ie,ve.gte=ze,ve.lte=Qe,ve.cmp=_t,ve.Comparator=Re;var Et={};function kt(P,Ae){if((!Ae||"object"!=typeof Ae)&&(Ae={loose:!!Ae,includePrerelease:!1}),P instanceof kt)return P.loose===!!Ae.loose&&P.includePrerelease===!!Ae.includePrerelease?P:new kt(P.raw,Ae);if(P instanceof Re)return new kt(P.value,Ae);if(!(this instanceof kt))return new kt(P,Ae);if(this.options=Ae,this.loose=!!Ae.loose,this.includePrerelease=!!Ae.includePrerelease,this.raw=P.trim().split(/\s+/).join(" "),this.set=this.raw.split("||").map(function(mt){return this.parseRange(mt.trim())},this).filter(function(mt){return mt.length}),!this.set.length)throw new TypeError("Invalid SemVer Range: "+this.raw);this.format()}function ht(P,Ae){for(var mt=!0,wt=P.slice(),Mt=wt.pop();mt&&wt.length;)mt=wt.every(function(jt){return Mt.intersects(jt,Ae)}),Mt=wt.pop();return mt}function Lt(P){return!P||"x"===P.toLowerCase()||"*"===P}function Me(P,Ae,mt,wt,Mt,jt,Ge,qe,M,$,w,ue,lt){return((Ae=Lt(mt)?"":Lt(wt)?">="+mt+".0.0":Lt(Mt)?">="+mt+"."+wt+".0":">="+Ae)+" "+(qe=Lt(M)?"":Lt($)?"<"+(+M+1)+".0.0":Lt(w)?"<"+M+"."+(+$+1)+".0":ue?"<="+M+"."+$+"."+w+"-"+ue:"<="+qe)).trim()}function De(P,Ae,mt){for(var wt=0;wt<P.length;wt++)if(!P[wt].test(Ae))return!1;if(Ae.prerelease.length&&!mt.includePrerelease){for(wt=0;
1wt<P.length;wt++)if(a(P[wt].semver),P[wt].semver!==Et&&P[wt].semver.prerelease.length>0){var Mt=P[wt].semver;if(Mt.major===Ae.major&&Mt.minor===Ae.minor&&Mt.patch===Ae.patch)return!0}return!1}return!0}function Ee(P,Ae,mt){try{Ae=new kt(Ae,mt)}catch{return!1}return Ae.test(P)}function Se(P,Ae,mt,wt){var Mt,jt,Ge,qe,M;switch(P=new Oe(P,wt),Ae=new kt(Ae,wt),mt){case">":Mt=Te,jt=Qe,Ge=le,qe=">",M=">=";break;case"<":Mt=le,jt=ze,Ge=Te,qe="<",M="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(Ee(P,Ae,wt))return!1;for(var $=0;$<Ae.set.length;++$){var ue=null,lt=null;if(Ae.set[$].forEach(function(xt){xt.semver===Et&&(xt=new Re(">=0.0.0")),lt=lt||xt,Mt(xt.semver,(ue=ue||xt).semver,wt)?ue=xt:Ge(xt.semver,lt.semver,wt)&&(lt=xt)}),ue.operator===qe||ue.operator===M||(!lt.operator||lt.operator===qe)&&jt(P,lt.semver))return!1;if(lt.operator===M&&Ge(P,lt.semver))return!1}return!0}Re.prototype.parse=function(P){var mt=P.match(this.options.loose?I[O.COMPARATORLOOSE]:I[O.COMPARATOR]);if(!mt)throw new TypeError("Invalid comparator: "+P);this.operator=void 0!==mt[1]?mt[1]:"","="===this.operator&&(this.operator=""),this.semver=mt[2]?new Oe(mt[2],this.options.loose):Et},Re.prototype.toString=function(){return this.value},Re.prototype.test=function(P){if(a("Comparator.test",P,this.options.loose),this.semver===Et||P===Et)return!0;if("string"==typeof P)try{P=new Oe(P,this.options)}catch{return!1}return _t(P,this.operator,this.semver,this.options)},Re.prototype.intersects=function(P,Ae){if(!(P instanceof Re))throw new TypeError("a Comparator is required");var mt;if((!Ae||"object"!=typeof Ae)&&(Ae={loose:!!Ae,includePrerelease:!1}),""===this.operator)return""===this.value||(mt=new kt(P.value,Ae),Ee(this.value,mt,Ae));if(""===P.operator)return""===P.value||(mt=new kt(this.value,Ae),Ee(P.semver,mt,Ae));var wt=!(">="!==this.operator&&">"!==this.operator||">="!==P.operator&&">"!==P.operator),Mt=!("<="!==this.operator&&"<"!==this.operator||"<="!==P.operator&&"<"!==P.operator),jt=this.semver.version===P.semver.version,Ge=!(">="!==this.operator&&"<="!==this.operator||">="!==P.operator&&"<="!==P.operator),qe=_t(this.semver,"<",P.semver,Ae)&&(">="===this.operator||">"===this.operator)&&("<="===P.operator||"<"===P.operator),M=_t(this.semver,">",P.semver,Ae)&&("<="===this.operator||"<"===this.operator)&&(">="===P.operator||">"===P.operator);return wt||Mt||jt&&Ge||qe||M},ve.Range=kt,kt.prototype.format=function(){return this.range=this.set.map(function(P){return P.join(" ").trim()}).join("||").trim(),this.range},kt.prototype.toString=function(){return this.range},kt.prototype.parseRange=function(P){var Ae=this.options.loose;P=P.replace(Ae?I[O.HYPHENRANGELOOSE]:I[O.HYPHENRANGE],Me),a("hyphen replace",P),P=P.replace(I[O.COMPARATORTRIM],"$1$2$3"),a("comparator trim",P,I[O.COMPARATORTRIM]),P=(P=(P=P.replace(I[O.TILDETRIM],"$1~")).replace(I[O.CARETTRIM],"$1^")).split(/\s+/).join(" ");var wt=Ae?I[O.COMPARATORLOOSE]:I[O.COMPARATOR],Mt=P.split(" ").map(function(jt){return function Ot(P,Ae){return a("comp",P,Ae),P=function Qt(P,Ae){return P.trim().split(/\s+/).map(function(mt){return function Kt(P,Ae){return a("caret",P,Ae),P.replace(Ae.loose?I[O.CARETLOOSE]:I[O.CARET],function(wt,Mt,jt,Ge,qe){var M;return a("caret",P,wt,Mt,jt,Ge,qe),Lt(Mt)?M="":Lt(jt)?M=">="+Mt+".0.0 <"+(+Mt+1)+".0.0":Lt(Ge)?M="0"===Mt?">="+Mt+"."+jt+".0 <"+Mt+"."+(+jt+1)+".0":">="+Mt+"."+jt+".0 <"+(+Mt+1)+".0.0":qe?(a("replaceCaret pr",qe),M="0"===Mt?"0"===jt?">="+Mt+"."+jt+"."+Ge+"-"+qe+" <"+Mt+"."+jt+"."+(+Ge+1):">="+Mt+"."+jt+"."+Ge+"-"+qe+" <"+Mt+"."+(+jt+1)+".0":">="+Mt+"."+jt+"."+Ge+"-"+qe+" <"+(+Mt+1)+".0.0"):(a("no pr"),M="0"===Mt?"0"===jt?">="+Mt+"."+jt+"."+Ge+" <"+Mt+"."+jt+"."+(+Ge+1):">="+Mt+"."+jt+"."+Ge+" <"+Mt+"."+(+jt+1)+".0":">="+Mt+"."+jt+"."+Ge+" <"+(+Mt+1)+".0.0"),a("caret return",M),M})}(mt,Ae)}).join(" ")}(P,Ae),a("caret",P),P=function zt(P,Ae){return P.trim().split(/\s+/).map(function(mt){return function rt(P,Ae){return P.replace(Ae.loose?I[O.TILDELOOSE]:I[O.TILDE],function(wt,Mt,jt,Ge,qe){var M;return a("tilde",P,wt,Mt,jt,Ge,qe),Lt(Mt)?M="":Lt(jt)?M=">="+Mt+".0.0 <"+(+Mt+1)+".0.0":Lt(Ge)?M=">="+Mt+"."+jt+".0 <"+Mt+"."+(+jt+1)+".0":qe?(a("replaceTilde pr",qe),M=">="+Mt+"."+jt+"."+Ge+"-"+qe+" <"+Mt+"."+(+jt+1)+".0"):M=">="+Mt+"."+jt+"."+Ge+" <"+Mt+"."+(+jt+1)+".0",a("tilde return",M),M})}(mt,Ae)}).join(" ")}(P,Ae),a("tildes",P),P=function ut(P,Ae){return a("replaceXRanges",P,Ae),P.split(/\s+/).map(function(mt){return function St(P,Ae){return(P=P.trim()).replace(Ae.loose?I[O.XRANGELOOSE]:I[O.XRANGE],function(wt,Mt,jt,Ge,qe,M){a("xRange",P,wt,Mt,jt,Ge,qe,M);var $=Lt(jt),w=$||Lt(Ge),ue=w||Lt(qe);return"="===Mt&&ue&&(Mt=""),M=Ae.includePrerelease?"-0":"",$?wt=">"===Mt||"<"===Mt?"<0.0.0-0":"*":Mt&&ue?(w&&(Ge=0),qe=0,">"===Mt?(Mt=">=",w?(jt=+jt+1,Ge=0,qe=0):(Ge=+Ge+1,qe=0)):"<="===Mt&&(Mt="<",w?jt=+jt+1:Ge=+Ge+1),wt=Mt+jt+"."+Ge+"."+qe+M):w?wt=">="+jt+".0.0"+M+" <"+(+jt+1)+".0.0"+M:ue&&(wt=">="+jt+"."+Ge+".0"+M+" <"+jt+"."+(+Ge+1)+".0"+M),a("xRange return",wt),wt})}(mt,Ae)}).join(" ")}(P,Ae),a("xrange",P),P=function yt(P,Ae){return a("replaceStars",P,Ae),P.trim().replace(I[O.STAR],"")}(P,Ae),a("stars",P),P}(jt,this.options)},this).join(" ").split(/\s+/);return this.options.loose&&(Mt=Mt.filter(function(jt){return!!jt.match(wt)})),Mt.map(function(jt){return new Re(jt,this.options)},this)},kt.prototype.intersects=function(P,Ae){if(!(P instanceof kt))throw new TypeError("a Range is required");return this.set.some(function(mt){return ht(mt,Ae)&&P.set.some(function(wt){return ht(wt,Ae)&&mt.every(function(Mt){return wt.every(function(jt){return Mt.intersects(jt,Ae)})})})})},ve.toComparators=function Ne(P,Ae){return new kt(P,Ae).set.map(function(mt){return mt.map(function(wt){return wt.value}).join(" ").trim().split(" ")})},kt.prototype.test=function(P){if(!P)return!1;if("string"==typeof P)try{P=new Oe(P,this.options)}catch{return!1}for(var Ae=0;Ae<this.set.length;Ae++)if(De(this.set[Ae],P,this.options))return!0;return!1},ve.satisfies=Ee,ve.maxSatisfying=function i(P,Ae,mt){var wt=null,Mt=null;try{var jt=new kt(Ae,mt)}catch{return null}return P.forEach(function(Ge){jt.test(Ge)&&(!wt||-1===Mt.compare(Ge))&&(Mt=new Oe(wt=Ge,mt))}),wt},ve.minSatisfying=function ke(P,Ae,mt){var wt=null,Mt=null;try{var jt=new kt(Ae,mt)}catch{return null}return P.forEach(function(Ge){jt.test(Ge)&&(!wt||1===Mt.compare(Ge))&&(Mt=new Oe(wt=Ge,mt))}),wt},ve.minVersion=function ot(P,Ae){P=new kt(P,Ae);var mt=new Oe("0.0.0");if(P.test(mt)||(mt=new Oe("0.0.0-0"),P.test(mt)))return mt;mt=null;for(var wt=0;wt<P.set.length;++wt)P.set[wt].forEach(function(jt){var Ge=new Oe(jt.semver.version);switch(jt.operator){case">":0===Ge.prerelease.length?Ge.patch++:Ge.prerelease.push(0),Ge.raw=Ge.format();case"":case">=":(!mt||Te(mt,Ge))&&(mt=Ge);break;case"<":case"<=":break;default:throw new Error("Unexpected operation: "+jt.operator)}});return mt&&P.test(mt)?mt:null},ve.validRange=function Xe(P,Ae){try{return new kt(P,Ae).range||"*"}catch{return null}},ve.ltr=function fe(P,Ae,mt){return Se(P,Ae,"<",mt)},ve.gtr=function Y(P,Ae,mt){return Se(P,Ae,">",mt)},ve.outside=Se,ve.prerelease=function Ce(P,Ae){var mt=tt(P,Ae);return mt&&mt.prerelease.length?mt.prerelease:null},ve.intersects=function ct(P,Ae,mt){return P=new kt(P,mt),Ae=new kt(Ae,mt),P.intersects(Ae)},ve.coerce=function _e(P,Ae){if(P instanceof Oe)return P;if("number"==typeof P&&(P=String(P)),"string"!=typeof P)return null;var mt=null;if((Ae=Ae||{}).rtl){for(var wt;(wt=I[O.COERCERTL].exec(P))&&(!mt||mt.index+mt[0].length!==P.length);)(!mt||wt.index+wt[0].length!==mt.index+mt[0].length)&&(mt=wt),I[O.COERCERTL].lastIndex=wt.index+wt[1].length+wt[2].length;I[O.COERCERTL].lastIndex=-1}else mt=P.match(I[O.COERCE]);return null===mt?null:tt(mt[2]+"."+(mt[3]||"0")+"."+(mt[4]||"0"),Ae)}},2776(Yt,ve,a){var u=a(6335),h=u.bind,g=u.each,Q=u.create,D=u.slice;
1Yt.exports=function I(){var X=function E(){return Q(O,{_id:0,_subSignals:{},_subCallbacks:{}})}();return{watch:function B(Ve,Fe,tt){return X.on(Fe,h(this,tt))},unwatch:function K(Ve,Fe){X.off(Fe)},once:function j(Ve,Fe,tt){X.once(Fe,h(this,tt))},set:function Pe(Ve,Fe,tt){var nt=this.get(Fe);Ve(),X.fire(Fe,tt,nt)},remove:function L(Ve,Fe){var tt=this.get(Fe);Ve(),X.fire(Fe,void 0,tt)},clearAll:function ne(Ve){var Fe={};this.each(function(tt,nt){Fe[nt]=tt}),Ve(),g(Fe,function(tt,nt){X.fire(nt,void 0,tt)})}}};var O={_id:null,_subCallbacks:null,_subSignals:null,on:function(X,B){return this._subCallbacks[X]||(this._subCallbacks[X]={}),this._id+=1,this._subCallbacks[X][this._id]=B,this._subSignals[this._id]=X,this._id},off:function(X){delete this._subCallbacks[this._subSignals[X]][X],delete this._subSignals[X]},once:function(X,B){var K=this.on(X,h(this,function(){B.apply(this,arguments),this.off(K)}))},fire:function(X){var B=D(arguments,1);g(this._subCallbacks[X],function(K){K.apply(this,B)})}}},8397(Yt,ve,a){var u=a(2776);Yt.exports=[u,function h(){return{observe:function g(D,I,E){var O=this.watch(I,E);return E(this.get(I)),O},unobserve:function Q(D,I){this.unwatch(I)}}}]},2725(Yt,ve,a){var u=a(6335),h=u.slice,g=u.pluck,Q=u.each,D=u.bind,I=u.create,E=u.isList,O=u.isFunction,X=u.isObject;Yt.exports={createStore:j};var B={version:"2.0.12",enabled:!1,get:function(Pe,L){var ne=this.storage.read(this._namespacePrefix+Pe);return this._deserialize(ne,L)},set:function(Pe,L){return void 0===L?this.remove(Pe):(this.storage.write(this._namespacePrefix+Pe,this._serialize(L)),L)},remove:function(Pe){this.storage.remove(this._namespacePrefix+Pe)},each:function(Pe){var L=this;this.storage.each(function(ne,Ve){Pe.call(L,L._deserialize(ne),(Ve||"").replace(L._namespaceRegexp,""))})},clearAll:function(){this.storage.clearAll()},hasNamespace:function(Pe){return this._namespacePrefix=="__storejs_"+Pe+"_"},createStore:function(){return j.apply(this,arguments)},addPlugin:function(Pe){this._addPlugin(Pe)},namespace:function(Pe){return j(this.storage,this.plugins,Pe)}};function j(Pe,L,ne){ne||(ne=""),Pe&&!E(Pe)&&(Pe=[Pe]),L&&!E(L)&&(L=[L]);var Ve=ne?"__storejs_"+ne+"_":"",Fe=ne?new RegExp("^"+Ve):null;if(!/^[a-zA-Z0-9_\-]*$/.test(ne))throw new Error("store.js namespaces can only have alphanumerics + underscores and dashes");var nt={_namespacePrefix:Ve,_namespaceRegexp:Fe,_testStorage:function(Oe){try{var xe="__storejs__test__";Oe.write(xe,xe);var it=Oe.read(xe)===xe;return Oe.remove(xe),it}catch{return!1}},_assignPluginFnProp:function(Oe,xe){var it=this[xe];this[xe]=function(){var F=h(arguments,0),N=this,ce=[function U(){if(it)return Q(arguments,function(ie,we){F[we]=ie}),it.apply(N,F)}].concat(F);return Oe.apply(N,ce)}},_serialize:function(Oe){return JSON.stringify(Oe)},_deserialize:function(Oe,xe){if(!Oe)return xe;var it="";try{it=JSON.parse(Oe)}catch{it=Oe}return void 0!==it?it:xe},_addStorage:function(Oe){this.enabled||this._testStorage(Oe)&&(this.storage=Oe,this.enabled=!0)},_addPlugin:function(Oe){var xe=this;if(E(Oe))Q(Oe,function(F){xe._addPlugin(F)});else if(!g(this.plugins,function(F){return Oe===F})){if(this.plugins.push(Oe),!O(Oe))throw new Error("Plugins must be function values that return objects");var q=Oe.call(this);if(!X(q))throw new Error("Plugins must return an object of function properties");Q(q,function(F,N){if(!O(F))throw new Error("Bad plugin property: "+N+" from plugin "+Oe.name+". Plugins should only return functions.");xe._assignPluginFnProp(F,N)})}},addStorage:function(Oe){(function K(){var Pe=typeof console>"u"?null:console;Pe&&(Pe.warn?Pe.warn:Pe.log).apply(Pe,arguments)})("store.addStorage(storage) is deprecated. Use createStore([storages])"),this._addStorage(Oe)}},Rt=I(nt,B,{plugins:[]});return Rt.raw={},Q(Rt,function(Oe,xe){O(Oe)&&(Rt.raw[xe]=D(Rt,Oe))}),Q(Pe,function(Oe){Rt._addStorage(Oe)}),Q(L,function(Oe){Rt._addPlugin(Oe)}),Rt}},6335(Yt){var ve=function g(){return Object.assign?Object.assign:function(ne,Ve,Fe,tt){for(var nt=1;nt<arguments.length;nt++)O(Object(arguments[nt]),function(Rt,Oe){ne[Oe]=Rt});return ne}}(),a=function Q(){if(Object.create)return function(Ve,Fe,tt,nt){var Rt=E(arguments,1
1);return ve.apply(this,[Object.create(Ve)].concat(Rt))};{let ne=function(){};return function(Fe,tt,nt,Rt){var Oe=E(arguments,1);return ne.prototype=Fe,ve.apply(this,[new ne].concat(Oe))}}}(),u=function D(){return String.prototype.trim?function(ne){return String.prototype.trim.call(ne)}:function(ne){return ne.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}}(),h=typeof window<"u"?window:global;function E(L,ne){return Array.prototype.slice.call(L,ne||0)}function O(L,ne){B(L,function(Ve,Fe){return ne(Ve,Fe),!1})}function B(L,ne){if(K(L)){for(var Ve=0;Ve<L.length;Ve++)if(ne(L[Ve],Ve))return L[Ve]}else for(var Fe in L)if(L.hasOwnProperty(Fe)&&ne(L[Fe],Fe))return L[Fe]}function K(L){return null!=L&&"function"!=typeof L&&"number"==typeof L.length}Yt.exports={assign:ve,create:a,trim:u,bind:function I(L,ne){return function(){return ne.apply(L,Array.prototype.slice.call(arguments,0))}},slice:E,each:O,map:function X(L,ne){var Ve=K(L)?[]:{};return B(L,function(Fe,tt){return Ve[tt]=ne(Fe,tt),!1}),Ve},pluck:B,isList:K,isFunction:function j(L){return L&&"[object Function]"==={}.toString.call(L)},isObject:function Pe(L){return L&&"[object Object]"==={}.toString.call(L)},Global:h}},1700(Yt,ve,a){var h=a(6335).Global;function g(){return h.sessionStorage}function Q(X){return g().getItem(X)}Yt.exports={name:"sessionStorage",read:Q,write:function D(X,B){return g().setItem(X,B)},each:function I(X){for(var B=g().length-1;B>=0;B--){var K=g().key(B);X(Q(K),K)}},remove:function E(X){return g().removeItem(X)},clearAll:function O(){return g().clear()}}},8768(Yt,ve,a){a.d(ve,{R:()=>ce});var u=a(4205),h=a(3617),g=a(9400),Q=a(9452),D=a(591),I=a(9475),E=a(8764),O=a(6042),X=a(3942),B=a(7092),K=a(819),j=a(1687);function Pe(){return(0,K.N)((ie,we)=>{let oe=null;ie._refCount++;const de=(0,j._)(we,void 0,void 0,void 0,()=>{if(!ie||ie._refCount<=0||0<--ie._refCount)return void(oe=null);const He=ie._connection,Be=oe;oe=null,He&&(!Be||He===Be)&&He.unsubscribe(),we.unsubscribe()});ie.subscribe(de),de.closed||(oe=ie.connect())})}class L extends X.c{constructor(we,oe){super(),this.source=we,this.subjectFactory=oe,this._subject=null,this._refCount=0,this._connection=null,(0,K.S)(we)&&(this.lift=we.lift)}_subscribe(we){return this.getSubject().subscribe(we)}getSubject(){const we=this._subject;return(!we||we.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:we}=this;this._subject=this._connection=null,we?.unsubscribe()}connect(){let we=this._connection;if(!we){we=this._connection=new B.yU;const oe=this.getSubject();we.add(this.source.subscribe((0,j._)(oe,void 0,()=>{this._teardown(),oe.complete()},de=>{this._teardown(),oe.error(de)},()=>this._teardown()))),we.closed&&(this._connection=null,we=B.yU.EMPTY)}return we}refCount(){return Pe()(this)}}var ne=a(1530),Ve=a(2645);const tt={connector:()=>new u.B};function Oe(ie,we,oe,de){oe&&!(0,ne.T)(oe)&&(de=oe);const He=(0,ne.T)(oe)?oe:void 0;return Be=>function Rt(ie,we){const oe=(0,ne.T)(ie)?ie:()=>ie;return(0,ne.T)(we)?function nt(ie,we=tt){const{connector:oe}=we;return(0,K.N)((de,He)=>{const Be=oe();
1(0,Ve.Tg)(ie(function Fe(ie){return new X.c(we=>ie.subscribe(we))}(Be))).subscribe(He),He.add(de.subscribe(Be))})}(we,{connector:oe}):de=>new L(de,oe)}(new O.m(ie,we,de),He)(Be)}class xe{}const q=(ie,we)=>JSON.stringify(ie)===JSON.stringify(we),F=ie=>ie.map(we=>void 0!==we?JSON.parse(JSON.stringify(we)):we),N={storageStrategy:class it extends xe{constructor(){super(...arguments),this.cachePairs=[]}add(we,oe,de){this.cachePairs.push(we)}addMany(we){this.cachePairs=we}updateAtIndex(we,oe){Object.assign(this.cachePairs[we],oe)}update(we,oe){Object.assign(this.cachePairs[we],oe)}getAll(){return this.cachePairs}removeAtIndex(we){this.cachePairs.splice(we,1)}remove(we){this.cachePairs.splice(we,1)}removeAll(){this.cachePairs.length=0}},globalCacheKey:"CACHE_STORAGE",promiseImplementation:Promise},U=new u.B;function ce(ie={}){return function(we,oe,de){const He=ie.cacheKey||we.constructor.name+"#"+oe,Be=de.value;if(de&&de.value){let $e=ie.storageStrategy?new ie.storageStrategy:new N.storageStrategy;const Te=[];ie.cacheModifier&&ie.cacheModifier.subscribe(Ie=>$e.addMany(Ie($e.getAll(He,this)),He,this)),(0,h.h)(U.asObservable(),ie.cacheBusterObserver?ie.cacheBusterObserver:(0,g.I)()).subscribe(Ie=>{$e.removeAll(He,this),Te.length=0}),ie.cacheResolver=ie.cacheResolver||N.cacheResolver||q,ie.cacheHasher=ie.cacheHasher||N.cacheHasher||F,de.value=function(...Ie){const ze=$e.getAll(He,this);let Qe=ie.cacheHasher(Ie),_t=ze.find(Et=>ie.cacheResolver(Et.parameters,Qe));const Re=Te.find(Et=>ie.cacheResolver(Et.parameters,Qe));if((ie.maxAge||N.maxAge)&&_t&&_t.created&&((new Date).getTime()-new Date(_t.created).getTime()>(ie.maxAge||N.maxAge)?($e.remove?$e.remove(ze.indexOf(_t),_t,He,this):$e.removeAtIndex(ze.indexOf(_t),He,this),_t=null):(ie.slidingExpiration||N.slidingExpiration)&&(_t.created=new Date,$e.update?$e.update(ze.indexOf(_t),_t,He,this):$e.updateAtIndex(ze.indexOf(_t),_t,He,this))),_t){const Et=(0,Q.of)(_t.response);return ie.async?Et.pipe((0,D.c)(0)):Et}if(Re)return Re.response;{const Et=Be.call(this,...Ie).pipe((0,I.j)(()=>{const kt=Te.find(ht=>ie.cacheResolver(ht.parameters,Qe));Te.splice(Te.indexOf(kt),1)}),(0,E.M)(kt=>{(!ie.shouldCacheDecider||ie.shouldCacheDecider(kt))&&((!(ie.maxCacheCount||N.maxCacheCount)||1===(ie.maxCacheCount||N.maxCacheCount)||(ie.maxCacheCount||N.maxCacheCount)&&(ie.maxCacheCount||N.maxCacheCount)<ze.length+1)&&($e.remove?$e.remove(0,ze[0],He,this):$e.removeAtIndex(0,He,this)),$e.add({parameters:Qe,response:kt,created:ie.maxAge||N.maxAge?new Date:null},He,this))}),Oe(1),Pe());return Te.push({parameters:Qe,response:Et,created:new Date}),Et}}}return de}}},4124(){var Yt=Object.defineProperty,ve=Object.defineProperties,a=Object.getOwnPropertyDescriptors,u=Object.getOwnPropertySymbols,h=Object.prototype.hasOwnProperty,g=Object.prototype.propertyIsEnumerable,Q=(M,$,w)=>$ in M?Yt(M,$,{enumerable:!0,configurable:!0,writable:!0,value:w}):M[$]=w,D=(M,$)=>{for(var w in $||($={}))h.call($,w)&&Q(M,w,$[w]);if(u)for(var w of u($))g.call($,w)&&Q(M,w,$[w]);return M},E=(M,$,w)=>(Q(M,"symbol"!=typeof $?$+"":$,w),w),O=globalThis;function X(M){return(O.__Zone_symbol_prefix||"__zone_symbol__")+M}var j=Object.getOwnPropertyDescriptor,Pe=Object.defineProperty,L=Object.getPrototypeOf,ne=Object.create,Ve=Array.prototype.slice,Fe="addEventListener",tt="removeEventListener",nt=X(Fe),Rt=X(tt),Oe="true",xe="false",it=X("");function q(M,$){return Zone.current.wrap(M,$)}function F(M,$,w,ue,lt){return Zone.current.scheduleMacroTask(M,$,w,ue,lt)}var N=X,U=typeof window<"u",ce=U?window:void 0,ie=U&&ce||globalThis;function oe(M,$){for(let w=M.length-1;w>=0;w--)"function"==typeof M[w]&&(M[w]=q(M[w],$+"_"+w));return M}function He(M){return!M||!1!==M.writable&&!("function"==typeof M.get&&typeof M.set>"u")}var Be=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope,$e=!("nw"in ie)&&typeof ie.process<"u"&&"[object process]"===ie.process.toString(),Te=!$e&&!Be&&!(!U||!ce.HTMLElement),le=typeof ie.process<"u"&&"[object process]"===ie.process.toString()&&!Be&&!(!U||!ce.HTMLElement),pt={},Ie=N("enable_beforeunload"),ze=function(M){if(!(M=M||ie.event))return;let $=pt[M.type];$||($=pt[M.type]=N("ON_PROPERTY"+M.type));const w=this||M.target||ie,ue=w[$];let lt;return Te&&w===ce&&"error"===M.type?(lt=ue&&ue.call(this,M.message,M.filename,M.lineno,M.colno,M.error),!0===lt&&M.preventDefault()):(lt=ue&&ue.apply(this,arguments),"beforeunload"===M.type&&ie[Ie]&&"string"==typeof lt?M.returnValue=lt:null!=lt&&!lt&&M.preventDefault()),lt};function Qe(M,$,w){let ue=j(M,$);
vendor: 8,311 bytes, line 1
1if(!ue&&w&&j(w,$)&&(ue={enumerable:!0,configurable:!0}),!ue||!ue.configurable)return;const lt=N("on"+$+"patched");if(M.hasOwnProperty(lt)&&M[lt])return;delete ue.writable,delete ue.value;const xt=ue.get,cn=ue.set,en=$.slice(2);let st=pt[en];st||(st=pt[en]=N("ON_PROPERTY"+en)),ue.set=function(se){let Ye=this;!Ye&&M===ie&&(Ye=ie),Ye&&("function"==typeof Ye[st]&&Ye.removeEventListener(en,ze),cn?.call(Ye,null),Ye[st]=se,"function"==typeof se&&Ye.addEventListener(en,ze,!1))},ue.get=function(){let se=this;if(!se&&M===ie&&(se=ie),!se)return null;const Ye=se[st];if(Ye)return Ye;if(xt){let at=xt.call(this);if(at)return ue.set.call(this,at),"function"==typeof se.removeAttribute&&se.removeAttribute($),at}return null},Pe(M,$,ue),M[lt]=!0}function _t(M,$,w){if($)for(let ue=0;ue<$.length;ue++)Qe(M,"on"+$[ue],w);else{const ue=[];for(const lt in M)"on"==lt.slice(0,2)&&ue.push(lt);for(let lt=0;lt<ue.length;lt++)Qe(M,ue[lt],w)}}var Re=N("originalInstance");function Et(M){const $=ie[M];if(!$)return;ie[N(M)]=$,ie[M]=function(){const lt=oe(arguments,M);switch(lt.length){case 0:this[Re]=new $;break;case 1:this[Re]=new $(lt[0]);break;case 2:this[Re]=new $(lt[0],lt[1]);break;case 3:this[Re]=new $(lt[0],lt[1],lt[2]);break;case 4:this[Re]=new $(lt[0],lt[1],lt[2],lt[3]);break;default:throw new Error("Arg list too long.")}},Lt(ie[M],$);const w=new $(function(){});let ue;for(ue in w)"XMLHttpRequest"===M&&"responseBlob"===ue||function(lt){"function"==typeof w[lt]?ie[M].prototype[lt]=function(){return this[Re][lt].apply(this[Re],arguments)}:Pe(ie[M].prototype,lt,{set:function(xt){"function"==typeof xt?(this[Re][lt]=q(xt,M+"."+lt),Lt(this[Re][lt],xt)):this[Re][lt]=xt},get:function(){return this[Re][lt]}})}(ue);for(ue in $)"prototype"!==ue&&$.hasOwnProperty(ue)&&(ie[M][ue]=$[ue])}function Ne(M,$,w){let ue=M;for(;ue&&!ue.hasOwnProperty($);)ue=L(ue);!ue&&M[$]&&(ue=M);const lt=N($);let xt=null;if(ue&&(!(xt=ue[lt])||!ue.hasOwnProperty(lt))&&(xt=ue[lt]=ue[$],He(ue&&j(ue,$)))){const en=w(xt,lt,$);ue[$]=function(){return en(this,arguments)},Lt(ue[$],xt)}return xt}function Ot(M,$,w){let ue=null;function lt(xt){const cn=xt.data;return cn.args[cn.cbIdx]=function(){xt.invoke.apply(this,arguments)},ue.apply(cn.target,cn.args),xt}ue=Ne(M,$,xt=>function(cn,en){const st=w(cn,en);return st.cbIdx>=0&&"function"==typeof en[st.cbIdx]?F(st.name,en[st.cbIdx],st,lt):xt.apply(cn,en)})}function Lt(M,$){M[N("OriginalDelegate")]=$}function zt(M){return"function"==typeof M}function rt(M){return"number"==typeof M}var Qt={useG:!0},Kt={},ut={},St=new RegExp("^"+it+"(\\w+)(true|false)$"),yt=N("propagationStopped");function Me(M,$){const w=($?$(M):M)+xe,ue=($?$(M):M)+Oe,lt=it+w,xt=it+ue;Kt[M]={},Kt[M][xe]=lt,Kt[M][Oe]=xt}function De(M,$,w,ue){const lt=ue&&ue.add||Fe,xt=ue&&ue.rm||tt,cn=ue&&ue.listeners||"eventListeners",en=ue&&ue.rmAll||"removeAllListeners",st=N(lt),se="."+lt+":",Ye="prependListener",at="."+Ye+":",Wt=function(k,ye,Nt){if(k.isRemoved)return;const qt=k.callback;let bn;"object"==typeof qt&&qt.handleEvent&&(k.callback=pn=>qt.handleEvent(pn),k.originalDelegate=qt);try{k.invoke(k,ye,[Nt])}catch(pn){bn=pn}const Rn=k.options;return Rn&&"object"==typeof Rn&&Rn.once&&ye[xt].call(ye,Nt.type,k.originalDelegate?k.originalDelegate:k.callback,Rn),bn};function Xt(k,ye,Nt){if(!(ye=ye||M.event))return;const qt=k||ye.target||M,bn=qt[Kt[ye.type][Nt?Oe:xe]];if(bn){const Rn=[];if(1===bn.length){const pn=Wt(bn[0],qt,ye);pn&&Rn.push(pn)}else{const pn=bn.slice();for(let An=0;An<pn.length&&(!ye||!0!==ye[yt]);An++){const fn=Wt(pn[An],qt,ye);fn&&Rn.push(fn)}}if(1===Rn.length)throw Rn[0];for(let pn=0;pn<Rn.length;pn++){const An=Rn[pn];$.nativeScheduleMicroTask(()=>{throw An})}}}const Mn=function(k){return Xt(this,k,!1)},It=function(k){return Xt(this,k,!0)};function Zt(k,ye){if(!k)return!1;let Nt=!0;ye&&void 0!==ye.useG&&(Nt=ye.useG);const qt=ye&&ye.vh;let bn=!0;ye&&void 0!==ye.chkDup&&(bn=ye.chkDup);let Rn=!1;ye&&void 0!==ye.rt&&(Rn=ye.rt);let pn=k;for(;pn&&!pn.hasOwnProperty(lt);)pn=L(pn);if(!pn&&k[lt]&&(pn=k),!pn||pn[st])return!1;const An=ye&&ye.eventNameToString,fn={},Xn=pn[st]=pn[lt],qn=pn[N(xt)]=pn[xt],Zn=pn[N(cn)]=pn[cn],Dr=pn[N(en)]=pn[en];let vr;ye&&ye.prepend&&(vr=pn[N(ye.prepend)]=pn[ye.prepend]);const Ke=Nt?function(Ut){if(!fn.isExisting)return Xn.call(fn.target,fn.eventName,fn.capture?It:Mn,fn.options)}:function(Ut){return Xn.call(fn.target,fn.eventName,Ut.invoke,fn.options)},ft=Nt?function(Ut){if(!Ut.isRemoved){const _n=Kt[Ut.eventName];let Wn;_n&&(Wn=_n[Ut.capture?Oe:xe]);const Kn=Wn&&Ut.target[Wn];if(Kn)for(let kn=0;kn<Kn.length;kn++)if(Kn[kn]===Ut){Kn.splice(kn,1),Ut.isRemoved=!0,Ut.removeAbortListener&&(Ut.removeAbortListener(),Ut.removeAbortListener=null),0===Kn.length&&(Ut.allRemoved=!0,Ut.target[Wn]=null);break}}if(Ut.allRemoved)return qn.call(Ut.target,Ut.eventName,Ut.capture?It:Mn,Ut.options)}:function(Ut){return qn.call(Ut.target,Ut.eventName,Ut.invoke,Ut.options)},on=ye?.diff||function(Ut,_n){const Wn=typeof _n;return"function"===Wn&&Ut.callback===_n||"object"===Wn&&Ut.originalDelegate===_n},wn=Zone[N("UNPATCHED_EVENTS")],jn=M[N("PASSIVE_EVENTS")],gn=function(Ut,_n,Wn,Kn,kn=!1,Pn=!1){return function(){const On=this||M;let Qn=arguments[0];ye&&ye.transferEventName&&(Qn=ye.transferEventName(Qn));let tr=arguments[1];if(!tr)return Ut.apply(this,arguments);if($e&&"uncaughtException"===Qn)return Ut.apply(this,arguments);let ir=!1;if("function"!=typeof tr){if(!tr.handleEvent)return Ut.apply(this,arguments);ir=!0}if(qt&&!qt(Ut,tr,On,arguments))return;const Ar=!!jn&&-1!==jn.indexOf(Qn),Ir=function Cn(Ut){if("object"==typeof Ut&&null!==Ut){const _n=D({},Ut);return Ut.signal&&(_n.signal=Ut.signal),_n}return Ut}(function gr(Ut,_n){return _n?"boolean"==typeof Ut?{capture:Ut,passive:!0}:Ut?"object"==typeof Ut&&!1!==Ut.passive?(M=>ve(M,a({passive:!0})))(D({},Ut)):Ut:{passive:!0}:Ut}(arguments[2],Ar)),Ct=Ir?.signal;if(Ct?.aborted)return;if(wn)for(let br=0;br<wn.length;br++)if(Qn===wn[br])return Ar?Ut.call(On,Qn,tr,Ir):Ut.apply(this,arguments);const $t=!!Ir&&("boolean"==typeof Ir||Ir.capture),ln=!(!Ir||"object"!=typeof Ir)&&Ir.once,Dn=Zone.current;let bt=Kt[Qn];bt||(Me(Qn,An),bt=Kt[Qn]);const dn=bt[$t?Oe:xe];let lr,un=On[dn],Fn=!1;if(un){if(Fn=!0,bn)for(let br=0;br<un.length;br++)if(on(un[br],tr))return}else un=On[dn]=[];const Cr=On.constructor.name,Sr=ut[Cr];Sr&&(lr=Sr[Qn]),lr||(lr=Cr+_n+(An?An(Qn):Qn)),fn.options=Ir,ln&&(fn.options.once=!1),fn.target=On,fn.capture=$t,fn.eventName=Qn,fn.isExisting=Fn;const Or=Nt?Qt:void 0;Or&&(Or.taskData=fn),Ct&&(fn.options.signal=void 0);const Er=Dn.scheduleEventTask(lr,tr,Or,Wn,Kn);if(Ct){fn.options.signal=Ct;const br=()=>Er.zone.cancelTask(Er);Ut.call(Ct,"abort",br,{once:!0}),Er.removeAbortListener=()=>Ct.removeEventListener("abort",br)}return fn.target=null,Or&&(Or.taskData=null),ln&&(fn.options.once=!0),"boolean"!=typeof Er.options&&(Er.options=Ir),Er.target=On,Er.capture=$t,Er.eventName=Qn,ir&&(Er.originalDelegate=tr),Pn?un.unshift(Er):un.push(Er),kn?On:void 0}};return pn[lt]=gn(Xn,se,Ke,ft,Rn),vr&&(pn[Ye]=gn(vr,at,function(Ut){return vr.call(fn.target,fn.eventName,Ut.invoke,fn.options)},ft,Rn,!0)),pn[xt]=function(){const Ut=this||M;let _n=arguments[0];ye&&ye.transferEventName&&(_n=ye.transferEventName(_n));const Wn=arguments[2],Kn=!!Wn&&("boolean"==typeof Wn||Wn.capture),kn=arguments[1];if(!kn)return qn.apply(this,arguments);if(qt&&!qt(qn,kn,Ut,arguments))return;const Pn=Kt[_n];let On;Pn&&(On=Pn[Kn?Oe:xe]);const Qn=On&&Ut[On];if(Qn)for(let tr=0;tr<Qn.length;tr++){const ir=Qn[tr];if(on(ir,kn))return Qn.splice(tr,1),ir.isRemoved=!0,0!==Qn.length||(ir.allRemoved=!0,Ut[On]=null,Kn||"string"!=typeof _n)||(Ut[it+"ON_PROPERTY"+_n]=null),ir.zone.cancelTask(ir),Rn?Ut:void 0}return qn.apply(this,arguments)},pn[cn]=function(){const Ut=this||M;let _n=arguments[0];ye&&ye.transferEventName&&(_n=ye.transferEventName(_n));const Wn=[],Kn=Ee(Ut,An?An(_n):_n);for(let kn=0;kn<Kn.length;kn++){const Pn=Kn[kn];Wn.push(Pn.originalDelegate?Pn.originalDelegate:Pn.callback)}return Wn},pn[en]=function(){const Ut=this||M;let _n=arguments[0];if(_n){ye&&ye.transferEventName&&(_n=ye.transferEventName(_n));const Wn=Kt[_n];if(Wn){const Pn=Ut[Wn[xe]],On=Ut[Wn[Oe]];if(Pn){const Qn=Pn.slice();for(let tr=0;tr<Qn.length;tr++){const ir=Qn[tr];this[xt].call(this,_n,ir.originalDelegate?ir.originalDelegate:ir.callback,ir.o
1ptions)}}if(On){const Qn=On.slice();for(let tr=0;tr<Qn.length;tr++){const ir=Qn[tr];this[xt].call(this,_n,ir.originalDelegate?ir.originalDelegate:ir.callback,ir.options)}}}}else{const Wn=Object.keys(Ut);for(let Kn=0;Kn<Wn.length;Kn++){const Pn=St.exec(Wn[Kn]);let On=Pn&&Pn[1];On&&"removeListener"!==On&&this[en].call(this,On)}this[en].call(this,"removeListener")}if(Rn)return this},Lt(pn[lt],Xn),Lt(pn[xt],qn),Dr&&Lt(pn[en],Dr),Zn&&Lt(pn[cn],Zn),!0}let R=[];for(let k=0;k<w.length;k++)R[k]=Zt(w[k],ue);return R}function Ee(M,$){if(!$){const xt=[];for(let cn in M){const en=St.exec(cn);let st=en&&en[1];if(st&&(!$||st===$)){const se=M[cn];if(se)for(let Ye=0;Ye<se.length;Ye++)xt.push(se[Ye])}}return xt}let w=Kt[$];w||(Me($),w=Kt[$]);const ue=M[w[xe]],lt=M[w[Oe]];return ue?lt?ue.concat(lt):ue.slice():lt?lt.slice():[]}function i(M,$){const w=M.Event;w&&w.prototype&&$.patchMethod(w.prototype,"stopImmediatePropagation",ue=>function(lt,xt){lt[yt]=!0,ue&&ue.apply(lt,xt)})}var ot=N("zoneTask");function Xe(M,$,w,ue){let lt=null,xt=null;w+=ue;const cn={};function en(se){const Ye=se.data;Ye.args[0]=function(){return se.invoke.apply(this,arguments)};const at=lt.apply(M,Ye.args);return rt(at)?Ye.handleId=at:(Ye.handle=at,Ye.isRefreshable=zt(at.refresh)),se}function st(se){const{handle:Ye,handleId:at}=se.data;return xt.call(M,Ye??at)}lt=Ne(M,$+=ue,se=>function(Ye,at){var Wt;if(zt(at[0])){const Xt={isRefreshable:!1,isPeriodic:"Interval"===ue,delay:"Timeout"===ue||"Interval"===ue?at[1]||0:void 0,args:at},Mn=at[0];at[0]=function(){try{return Mn.apply(this,arguments)}finally{const{handle:qt,handleId:bn,isPeriodic:Rn,isRefreshable:pn}=Xt;!Rn&&!pn&&(bn?delete cn[bn]:qt&&(qt[ot]=null))}};const It=F($,at[0],Xt,en,st);if(!It)return It;const{handleId:Zt,handle:R,isRefreshable:k,isPeriodic:ye}=It.data;if(Zt)cn[Zt]=It;else if(R&&(R[ot]=It,k&&!ye)){const Nt=R.refresh;R.refresh=function(){const{zone:qt,state:bn}=It;return"notScheduled"===bn?(It._state="scheduled",qt._updateTaskCount(It,1)):"running"===bn&&(It._state="scheduling"),Nt.call(this)}}return null!=(Wt=R??Zt)?Wt:It}return se.apply(M,at)}),xt=Ne(M,w,se=>function(Ye,at){const Wt=at[0];let Xt;rt(Wt)?(Xt=cn[Wt],delete cn[Wt]):(Xt=Wt?.[ot],Xt?Wt[ot]=null:Xt=Wt),Xt?.type?Xt.cancelFn&&Xt.zone.cancelTask(Xt):se.apply(M,at)})}function Ce(M,$,w){if(!w||0===w.length)return $;const ue=w.filter(xt=>xt.target===M);if(0===ue.length)return $;const lt=ue[0].ignoreProperties;return $.filter(xt=>-1===lt.indexOf(xt))}function ct(M,$,w,ue){M&&_t(M,Ce(M,$,w),ue)}function _e(M){return Object.getOwnPropertyNames(M).filter($=>$.startsWith("on")&&$.length>2).map($=>$.substring(2))}function Mt(M,$,w,ue,lt){const xt=Zone.__symbol__(ue);if($[xt])return;const cn=$[xt]=$[ue];$[ue]=function(en,st,se){return st&&st.prototype&&lt.forEach(function(Ye){const at=`${w}.${ue}::`+Ye,Wt=st.prototype;try{if(Wt.hasOwnProperty(Ye)){const Xt=M.ObjectGetOwnPropertyDescriptor(Wt,Ye);Xt&&Xt.value?(Xt.value=M.wrapWithCurrentZone(Xt.value,at),M._redefineProperty(st.prototype,Ye,Xt)):Wt[Ye]&&(Wt[Ye]=M.wrapWithCurrentZone(Wt[Ye],at))}else Wt[Ye]&&(Wt[Ye]=M.wrapWithCurrentZone(Wt[Ye],at))}catch{}}),cn.call($,en,st,se)},M.attachOriginToPatched($[ue],cn)}var qe=function K(){const $=globalThis,w=!0===$[X("forceDuplicateZoneCheck")];if($.Zone&&(w||"function"!=typeof $.Zone.__symbol__))throw new Error("Zone already loaded.");return null!=$.Zone||($.Zone=function B(){const M=O.performance;function $(ar){M&&M.mark&&M.mark(ar)}function w(ar,rn){M&&M.measure&&M.measure(ar,rn)}$("Zone");const ue=class oh{constructor(rn,J){E(this,"_parent"),E(this,"_name"),E(this,"_properties"),E(this,"_zoneDelegate"),this._parent=rn,this._name=J?J.name||"unnamed":"<root>",this._properties=J&&J.properties||{},this._zoneDelegate=new cn(this,this._parent&&this._parent._zoneDelegate,J)}static assertZonePatched(){if(O.Promise!==Xn.ZoneAwarePromise)throw new Error("Zone.js has detected that ZoneAwarePromise `(window|global).Promise` has been overwritten.\nMost likely cause is that a Promise polyfill has been loaded after Zone.js (Polyfilling Promise api is not necessary when zone.js is loaded. If you must load one, do so before loading zone.js.)")}static get root(){let rn=oh.current;for(;rn.parent;)rn=rn.parent;return rn}static get current(){return Zn.zone}static get currentTask(){return Dr}static __load_patch(rn,J,ee=!1){if(Xn.hasOwnProperty(rn)){const We=!0===O[X("forceDuplicateZoneCheck")];if(!ee&&We)throw Error("Already loaded patch: "+rn)}else if(!O["__Zone_disable_"+rn]){const We="Zone:"+rn;$(We),Xn[rn]=J(O,oh,qn),w(We,We)}}get parent(){return this._parent}get name(){return this._name}get(rn){const J=this.getZoneWith(rn);if(J)return J._properties[rn]}getZoneWith(rn){let J=this;for(;J;){if(J._properties.hasOwnProperty(rn))return J;J=J._parent}return null}fork(rn){if(!rn)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,rn)}wrap(rn,J){if("function"!=typeof rn)throw new Error("Expecting function got: "+rn);const ee=this._zoneDelegate.intercept(this,rn,J),We=this;return function(){return We.runGuarded(ee,this,arguments,J)}}run(rn,J,ee,We){Zn={parent:Zn,zone:this};try{return this._zoneDelegate.invoke(this,rn,J,ee,We)}finally{Zn=Zn.parent}}runGuarded(rn,J=null,ee,We){Zn={parent:Zn,zone:this};try{try{return this._zoneDelegate.invoke(this,rn,J,ee,We)}catch(Ke){if(this._zoneDelegate.handleError(this,Ke))throw Ke}}finally{Zn=Zn.parent}}runTask(rn,J,ee){if(rn.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(rn.zone||R).name+"; Execution: "+this.name+")");const We=rn,{type:Ke,data:{isPeriodic:ft=!1,isRefreshable:Jt=!1}={}}=rn;if(rn.state===k&&(Ke===fn||Ke===An))return;const on=rn.state!=qt;on&&We._transitionTo(qt,Nt);const wn=Dr;Dr=We,Zn={parent:Zn,zone:this};try{Ke==An&&rn.data&&!ft&&!Jt&&(rn.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,We,J,ee)}catch(jn){if(this._zoneDelegate.handleError(this,jn))throw jn}}finally{const jn=rn.state;if(jn!==k&&jn!==Rn)if(Ke==fn||ft||Jt&&jn===ye)on&&We._transitionTo(Nt,qt,ye);else{const Cn=We._zoneDelegates;this._updateTaskCount(We,-1),on&&We._transitionTo(k,qt,k),Jt&&(We._zoneDelegates=Cn)}Zn=Zn.parent,Dr=wn}}
vendor: 23,909 bytes, line 1
1scheduleTask(rn){if(rn.zone&&rn.zone!==this){let ee=this;for(;ee;){if(ee===rn.zone)throw Error(`can not reschedule task to ${this.name} which is descendants of the original zone ${rn.zone.name}`);ee=ee.parent}}rn._transitionTo(ye,k);const J=[];rn._zoneDelegates=J,rn._zone=this;try{rn=this._zoneDelegate.scheduleTask(this,rn)}catch(ee){throw rn._transitionTo(Rn,ye,k),this._zoneDelegate.handleError(this,ee),ee}return rn._zoneDelegates===J&&this._updateTaskCount(rn,1),rn.state==ye&&rn._transitionTo(Nt,ye),rn}scheduleMicroTask(rn,J,ee,We){return this.scheduleTask(new en(pn,rn,J,ee,We,void 0))}scheduleMacroTask(rn,J,ee,We,Ke){return this.scheduleTask(new en(An,rn,J,ee,We,Ke))}scheduleEventTask(rn,J,ee,We,Ke){return this.scheduleTask(new en(fn,rn,J,ee,We,Ke))}cancelTask(rn){if(rn.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(rn.zone||R).name+"; Execution: "+this.name+")");if(rn.state===Nt||rn.state===qt){rn._transitionTo(bn,Nt,qt);try{this._zoneDelegate.cancelTask(this,rn)}catch(J){throw rn._transitionTo(Rn,bn),this._zoneDelegate.handleError(this,J),J}return this._updateTaskCount(rn,-1),rn._transitionTo(k,bn),rn.runCount=-1,rn}}_updateTaskCount(rn,J){const ee=rn._zoneDelegates;-1==J&&(rn._zoneDelegates=null);for(let We=0;We<ee.length;We++)ee[We]._updateTaskCount(rn.type,J)}};E(ue,"__symbol__",X);let lt=ue;const xt={name:"",onHasTask:(ar,rn,J,ee)=>ar.hasTask(J,ee),onScheduleTask:(ar,rn,J,ee)=>ar.scheduleTask(J,ee),onInvokeTask:(ar,rn,J,ee,We,Ke)=>ar.invokeTask(J,ee,We,Ke),onCancelTask:(ar,rn,J,ee)=>ar.cancelTask(J,ee)};class cn{constructor(rn,J,ee){E(this,"_zone"),E(this,"_taskCounts",{microTask:0,macroTask:0,eventTask:0}),E(this,"_parentDelegate"),E(this,"_forkDlgt"),E(this,"_forkZS"),E(this,"_forkCurrZone"),E(this,"_interceptDlgt"),E(this,"_interceptZS"),E(this,"_interceptCurrZone"),E(this,"_invokeDlgt"),E(this,"_invokeZS"),E(this,"_invokeCurrZone"),E(this,"_handleErrorDlgt"),E(this,"_handleErrorZS"),E(this,"_handleErrorCurrZone"),E(this,"_scheduleTaskDlgt"),E(this,"_scheduleTaskZS"),E(this,"_scheduleTaskCurrZone"),E(this,"_invokeTaskDlgt"),E(this,"_invokeTaskZS"),E(this,"_invokeTaskCurrZone"),E(this,"_cancelTaskDlgt"),E(this,"_cancelTaskZS"),E(this,"_cancelTaskCurrZone"),E(this,"_hasTaskDlgt"),E(this,"_hasTaskDlgtOwner"),E(this,"_hasTaskZS"),E(this,"_hasTaskCurrZone"),this._zone=rn,this._parentDelegate=J,this._forkZS=ee&&(ee&&ee.onFork?ee:J._forkZS),this._forkDlgt=ee&&(ee.onFork?J:J._forkDlgt),this._forkCurrZone=ee&&(ee.onFork?this._zone:J._forkCurrZone),this._interceptZS=ee&&(ee.onIntercept?ee:J._interceptZS),this._interceptDlgt=ee&&(ee.onIntercept?J:J._interceptDlgt),this._interceptCurrZone=ee&&(ee.onIntercept?this._zone:J._interceptCurrZone),this._invokeZS=ee&&(ee.onInvoke?ee:J._invokeZS),this._invokeDlgt=ee&&(ee.onInvoke?J:J._invokeDlgt),this._invokeCurrZone=ee&&(ee.onInvoke?this._zone:J._invokeCurrZone),this._handleErrorZS=ee&&(ee.onHandleError?ee:J._handleErrorZS),this._handleErrorDlgt=ee&&(ee.onHandleError?J:J._handleErrorDlgt),this._handleErrorCurrZone=ee&&(ee.onHandleError?this._zone:J._handleErrorCurrZone),this._scheduleTaskZS=ee&&(ee.onScheduleTask?ee:J._scheduleTaskZS),this._scheduleTaskDlgt=ee&&(ee.onScheduleTask?J:J._scheduleTaskDlgt),this._scheduleTaskCurrZone=ee&&(ee.onScheduleTask?this._zone:J._scheduleTaskCurrZone),this._invokeTaskZS=ee&&(ee.onInvokeTask?ee:J._invokeTaskZS),this._invokeTaskDlgt=ee&&(ee.onInvokeTask?J:J._invokeTaskDlgt),this._invokeTaskCurrZone=ee&&(ee.onInvokeTask?this._zone:J._invokeTaskCurrZone),this._cancelTaskZS=ee&&(ee.onCancelTask?ee:J._cancelTaskZS),this._cancelTaskDlgt=ee&&(ee.onCancelTask?J:J._cancelTaskDlgt),this._cancelTaskCurrZone=ee&&(ee.onCancelTask?this._zone:J._cancelTaskCurrZone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;const We=ee&&ee.onHasTask;(We||J&&J._hasTaskZS)&&(this._hasTaskZS=We?ee:xt,this._hasTaskDlgt=J,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=this._zone,ee.onScheduleTask||(this._scheduleTaskZS=xt,this._scheduleTaskDlgt=J,this._scheduleTaskCurrZone=this._zone),ee.onInvokeTask||(this._invokeTaskZS=xt,this._invokeTaskDlgt=J,this._invokeTaskCurrZone=this._zone),ee.onCancelTask||(this._cancelTaskZS=xt,this._cancelTaskDlgt=J,this._cancelTaskCurrZone=this._zone))}get zone(){return this._zone}fork(rn,J){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,rn,J):new lt(rn,J)}intercept(rn,J,ee){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,rn,J,ee):J}invoke(rn,J,ee,We,Ke){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,rn,J,ee,We,Ke):J.apply(ee,We)}handleError(rn,J){return!this._handleErrorZS||this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,rn,J)}scheduleTask(rn,J){let ee=J;if(this._scheduleTaskZS)this._hasTaskZS&&ee._zoneDelegates.push(this._hasTaskDlgtOwner),ee=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,rn,J),ee||(ee=J);else if(J.scheduleFn)J.scheduleFn(J);else{if(J.type!=pn)throw new Error("Task is missing scheduleFn.");It(J)}return ee}invokeTask(rn,J,ee,We){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,rn,J,ee,We):J.callback.apply(ee,We)}cancelTask(rn,J){let ee;if(this._cancelTaskZS)ee=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,rn,J);else{if(!J.cancelFn)throw Error("Task is not cancelable");ee=J.cancelFn(J)}return ee}hasTask(rn,J){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,rn,J)}catch(ee){this.handleError(rn,ee)}}_updateTaskCount(rn,J){const ee=this._taskCounts,We=ee[rn],Ke=ee[rn]=We+J;if(Ke<0)throw new Error("More tasks executed then were scheduled.");0!=We&&0!=Ke||this.hasTask(this._zone,{microTask:ee.microTask>0,macroTask:ee.macroTask>0,eventTask:ee.eventTask>0,change:rn})}}class en{constructor(rn,J,ee,We,Ke,ft){if(E(this,"type"),E(this,"source"),E(this,"invoke"),E(this,"callback"),E(this,"data"),E(this,"scheduleFn"),E(this,"cancelFn"),E(this,"_zone",null),E(this,"runCount",0),E(this,"_zoneDelegates",null),E(this,"_state","notScheduled"),this.type=rn,this.source=J,this.data=We,this.scheduleFn=Ke,this.cancelFn=ft,!ee)throw new Error("callback is not defined");this.callback=ee;const Jt=this;this.invoke=rn===fn&&We&&We.useG?en.invokeTask:function(){return en.invokeTask.call(O,Jt,this,arguments)}}static invokeTask(rn,J,ee){rn||(rn=this),vr++;try{return rn.runCount++,rn.zone.runTask(rn,J,ee)}finally{1==vr&&Zt(),vr--}}get zone(){return this._zone}get state(){return this._state}cancelScheduleRequest(){this._transitionTo(k,ye)}_transitionTo(rn,J,ee){if(this._state!==J&&this._state!==ee)throw new Error(`${this.type} '${this.source}': can not transition to '${rn}', expecting state '${J}'${ee?" or '"+ee+"'":""}, was '${this._state}'.`);this._state=rn,rn==k&&(this._zoneDelegates=null)}toString(){return this.data&&typeof this.data.handleId<"u"?this.data.handleId.toString():Object.prototype.toString.call(this)}toJSON(){return{type:this.type,state:this.state,source:this.source,zone:this.zone.name,runCount:this.runCount}}}const st=X("setTimeout"),se=X("Promise"),Ye=X("then");let Xt,at=[],Wt=!1;function Mn(ar){if(Xt||O[se]&&(Xt=O[se].resolve(0)),Xt){let rn=Xt[Ye];rn||(rn=Xt.then),rn.call(Xt,ar)}else O[st](ar,0)}function It(ar){0===vr&&0===at.length&&Mn(Zt),ar&&at.push(ar)}function Zt(){if(!Wt){for(Wt=!0;at.length;){const ar=at;at=[];for(let rn=0;rn<ar.length;rn++){const J=ar[rn];try{J.zone.runTask(J,null,null)}catch(ee){qn.onUnhandledError(ee)}}}qn.microtaskDrainDone(),Wt=!1}}const R={name:"NO ZONE"},k="notScheduled",ye="scheduling",Nt="scheduled",qt="running",bn="canceling",Rn="unknown",pn="microTask",An="macroTask",fn="eventTask",Xn={},qn={symbol:X,currentZoneFrame:()=>Zn,onUnhandledError:gr,microtaskDrainDone:gr,scheduleMicroTask:It,showUncaughtError:()=>!lt[X("ignoreConsoleErrorUncaughtError")],patchEventTarget:()=>[],patchOnProperties:gr,patchMethod:()=>gr,bindArguments:()=>[],patchThen:()=>gr,patchMacroTask:()=>gr,patchEventPrototype:()=>gr,getGlobalObjects:()=>{},ObjectDefineProperty:()=>gr,ObjectGetOwnPropertyDescriptor:()=>{},ObjectCreate:()=>{},ArraySlice:()=>[],patchClass:()=>gr,wrapWithCurrentZone:()=>gr,filterProperties:()=>[],attachOriginToPatched:()=>gr,_redefineProperty:()=>gr,patchCallbacks:()=>gr,nativeScheduleMicroTask:Mn};let Zn={parent:null,zone:new lt(null,null)},Dr=null,vr=0;function gr(){}return w("Zone","Zone"),lt}()),$.Zone}();(function Ge(M){(function mt(M){M.__load_patch("ZoneAwarePromise",($,w,ue)=>{const lt=Object.getOwnPropertyDescriptor,xt=Object.defineProperty,en=ue.symbol,st=[],se=!1!==$[en("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")],Ye=en("Promise"),at=en("then");ue.onUnhandledError=Cn=>{if(ue.showUncaughtError()){const gn=Cn&&Cn.rejection;gn?console.error("Unhandled Promise rejection:",gn instanceof Error?gn.message:gn,"; Zone:",Cn.zone.name,"; Task:",Cn.task&&Cn.task.source,"; Value:",gn,gn instanceof Error?gn.stack:void 0):console.error(Cn)}},ue.microtaskDrainDone=()=>{for(;st.length;){const Cn=st.shift();try{Cn.zone.runGuarded(()=>{throw Cn.throwOriginal?Cn.rejection:Cn})}catch(gn){Mn(gn)}}};const Xt=en("unhandledPromiseRejectionHandler");function Mn(Cn){ue.onUnhandledError(Cn);try{const gn=w[Xt];"function"==typeof gn&&gn.call(this,Cn)}catch{}}function It(Cn){return Cn&&"function"==typeof Cn.then}function Zt(Cn){return Cn}function R(Cn){return ft.reject(Cn)}const k=en("state"),ye=en("value"),Nt=en("finally"),qt=en("parentPromiseValue"),bn=en("parentPromiseState"),pn=null,fn=!1;function qn(Cn,gn){return Ut=>{try{gr(Cn,gn,Ut)}catch(_n){gr(Cn,!1,_n)}}}const Zn=function(){let Cn=!1;return function(Ut){return function(){Cn||(Cn=!0,Ut.apply(null,arguments))}}},Dr="Promise resolved with itself",vr=en("currentTaskTrace");function gr(Cn,gn,Ut){const _n=Zn();if(Cn===Ut)throw new TypeError(Dr);if(Cn[k]===pn){let Wn=null;try{("object"==typeof Ut||"function"==typeof Ut)&&(Wn=Ut&&Ut.then)}catch(Kn){return _n(()=>{gr(Cn,!1,Kn)})(),Cn}if(gn!==fn&&Ut instanceof ft&&Ut.hasOwnProperty(k)&&Ut.hasOwnProperty(ye)&&Ut[k]!==pn)rn(Ut),gr(Cn,Ut[k],Ut[ye]);else if(gn!==fn&&"function"==typeof Wn)try{Wn.call(Ut,_n(qn(Cn,gn)),_n(qn(Cn,!1)))}catch(Kn){_n(()=>{gr(Cn,!1,Kn)})()}else{Cn[k]=gn;const Kn=Cn[ye];if(Cn[ye]=Ut,Cn[Nt]===Nt&&!0===gn&&(Cn[k]=Cn[bn],Cn[ye]=Cn[qt]),gn===fn&&Ut instanceof Error){const kn=w.currentTask&&w.currentTask.data&&w.currentTask.data.__creationTrace__;kn&&xt(Ut,vr,{configurable:!0,enumerable:!1,writable:!0,value:kn})}for(let kn=0;kn<Kn.length;)J(Cn,Kn[kn++],Kn[kn++],Kn[kn++],Kn[kn++]);if(0==Kn.length&&gn==fn){Cn[k]=0;let kn=Ut;try{throw new Error("Uncaught (in promise): "+function cn(Cn){return Cn&&Cn.toString===Object.prototype.toString?(Cn.constructor&&Cn.constructor.name||"")+": "+JSON.stringify(Cn):Cn?Cn.toString():Object.prototype.toString.call(Cn)}(Ut)+(Ut&&Ut.stack?"\n"+Ut.stack:""))}catch(Pn){kn=Pn}se&&(kn.throwOriginal=!0),kn.rejection=Ut,kn.promise=Cn,kn.zone=w.current,kn.task=w.currentTask,st.push(kn),ue.scheduleMicroTask()}}}return Cn}const ar=en("rejectionHandledHandler");function rn(Cn){if(0===Cn[k]){try{const gn=w[ar];gn&&"function"==typeof gn&&gn.call(this,{rejection:Cn[ye],promise:Cn})}catch{}Cn[k]=fn;for(let gn=0;gn<st.length;gn++)Cn===st[gn].promise&&st.splice(gn,1)}}function J(Cn,gn,Ut,_n,Wn){rn(Cn);const Kn=Cn[k],kn=Kn?"function"==typeof _n?_n:Zt:"function"==typeof Wn?Wn:R;gn.scheduleMicroTask("Promise.then",()=>{try{const Pn=Cn[ye],On=!!Ut&&Nt===Ut[Nt];On&&(Ut[qt]=Pn,Ut[bn]=Kn);const Qn=gn.run(kn,void 0,On&&kn!==R&&kn!==Zt?[]:[Pn]);gr(Ut,!0,Qn)}catch(Pn){gr(Ut,!1,Pn)}},Ut)}const We=function(){},Ke=$.AggregateError;class ft{static toString(){return"function ZoneAwarePromise() { [native code] }"}static resolve(gn){return gn instanceof ft?gn:gr(new this(null),!0,gn)}static reject(gn){return gr(new this(null),fn,gn)}static withResolvers(){const gn={};return gn.promise=new ft((Ut,_n)=>{gn.resolve=Ut,gn.reject=_n}),gn}static any(gn){if(!gn||"function"!=typeof gn[Symbol.iterator])return Promise.reject(new Ke([],"All promises were rejected"));const Ut=[];let _n=0;try{for(let kn of gn)_n++,Ut.push(ft.resolve(kn))}catch{return Promise.reject(new Ke([],"All promises were rejected"))}if(0===_n)return Promise.reject(new Ke([],"All promises were rejected"));let Wn=!1;const Kn=[];return new ft((kn,Pn)=>{for(let On=0;On<Ut.length;On++)Ut[On].then(Qn=>{Wn||(Wn=!0,kn(Qn))},Qn=>{Kn.push(Qn),_n--,0===_n&&(Wn=!0,Pn(new Ke(Kn,"All promises were rejected")))})})}static race(gn){let Ut,_n,Wn=new this((Pn,On)=>{Ut=Pn,_n=On});function Kn(Pn){Ut(Pn)}function kn(Pn){_n(Pn)}for(let Pn of gn)It(Pn)||(Pn=this.resolve(Pn)),Pn.then(Kn,kn);return Wn}static all(gn){return ft.allWithCallback(gn)}static allSettled(gn){return(this&&this.prototype instanceof ft?this:ft).allWithCallback(gn,{thenCallback:_n=>({status:"fulfilled",value:_n}),errorCallback:_n=>({status:"rejected",reason:_n})})}static allWithCallback(gn,Ut){let _n,Wn,Kn=new this((Qn,tr)=>{_n=Qn,Wn=tr}),kn=2,Pn=0;const On=[];for(let Qn of gn){It(Qn)||(Qn=this.resolve(Qn));const tr=Pn;try{Qn.then(ir=>{On[tr]=Ut?Ut.thenCallback(ir):ir,kn--,0===kn&&_n(On)},ir=>{Ut?(On[tr]=Ut.errorCallback(ir),kn--,0===kn&&_n(On)):Wn(ir)})}catch(ir){Wn(ir)}kn++,Pn++}return kn-=2,0===kn&&_n(On),Kn}constructor(gn){const Ut=this;if(!(Ut instanceof ft))throw new Error("Must be an instanceof Promise.");Ut[k]=pn,Ut[ye]=[];try{const _n=Zn();gn&&gn(_n(qn(Ut,!0)),_n(qn(Ut,fn)))}catch(_n){gr(Ut,!1,_n)}}get[Symbol.toStringTag](){return"Promise"}get[Symbol.species](){return ft}then(gn,Ut){var _n;let Wn=null==(_n=this.constructor)?void 0:_n[Symbol.species];(!Wn||"function"!=typeof Wn)&&(Wn=this.constructor||ft);const Kn=new Wn(We),kn=w.current;return this[k]==pn?this[ye].push(kn,Kn,gn,Ut):J(this,kn,Kn,gn,Ut),Kn}catch(gn){return this.then(null,gn)}finally(gn){var Ut;let _n=null==(Ut=this.constructor)?void 0:Ut[Symbol.species];(!_n||"function"!=typeof _n)&&(_n=ft);const Wn=new _n(We);Wn[Nt]=Nt;const Kn=w.current;return this[k]==pn?this[ye].push(Kn,Wn,gn,gn):J(this,Kn,Wn,gn,gn),Wn}}ft.resolve=ft.resolve,ft.reject=ft.reject,ft.race=ft.race,ft.all=ft.all;const Jt=$[Ye]=$.Promise;$.Promise=ft;const on=en("thenPatched");function wn(Cn){const gn=Cn.prototype,Ut=lt(gn,"then");if(Ut&&(!1===Ut.writable||!Ut.configurable))return;const _n=gn.then;gn[at]=_n,Cn.prototype.then=function(Wn,Kn){return new ft((Pn,On)=>{_n.call(this,Pn,On)}).then(Wn,Kn)},Cn[on]=!0}return ue.patchThen=wn,Jt&&(wn(Jt),Ne($,"fetch",Cn=>function jn(Cn){return function(gn,Ut){let _n=Cn.apply(gn,Ut);if(_n instanceof ft)return _n;let Wn=_n.constructor;return Wn[on]||wn(Wn),_n}}(Cn))),Promise[w.__symbol__("uncaughtPromiseErrors")]=st,ft})})(M),function wt(M){M.__load_patch("toString",$=>{const w=Function.prototype.toString,ue=N("OriginalDelegate"),lt=N("Promise"),xt=N("Error"),cn=function(){if("function"==typeof this){const Ye=this[ue];if(Ye)return"function"==typeof Ye?w.call(Ye):Object.prototype.toString.call(Ye);if(this===Promise){const at=$[lt];if(at)return w.call(at)}if(this===Error){const at=$[xt];if(at)return w.call(at)}}return w.call(this)};cn[ue]=w,Function.prototype.toString=cn;const en=Object.prototype.toString;Object.prototype.toString=function(){return"function"==typeof Promise&&this instanceof Promise?"[object Promise]":en.call(this)}})}(M),function jt(M){M.__load_patch("util",($,w,ue)=>{const lt=_e($);ue.patchOnProperties=_t,ue.patchMethod=Ne,ue.bindArguments=oe,ue.patchMacroTask=Ot;const xt=w.__symbol__("BLACK_LISTED_EVENTS"),cn=w.__symbol__("UNPATCHED_EVENTS");$[cn]&&($[xt]=$[cn]),$[xt]&&(w[xt]=w[cn]=$[xt]),ue.patchEventPrototype=i,ue.patchEventTarget=De,ue.ObjectDefineProperty=Pe,ue.ObjectGetOwnPropertyDescriptor=j,ue.ObjectCreate=ne,ue.ArraySlice=Ve,ue.patchClass=Et,ue.wrapWithCurrentZone=q,ue.filterProperties=Ce,ue.attachOriginToPatched=Lt,ue._redefineProperty=Object.defineProperty,ue.patchCallbacks=Mt,ue.getGlobalObjects=()=>({globalSources:ut,zoneSymbolEventNames:Kt,eventNames:lt,isBrowser:Te,isMix:le,isNode:$e,TRUE_STR:Oe,FALSE_STR:xe,ZONE_SYMBOL_PREFIX:it,ADD_EVENT_LISTENER_STR:Fe,REMOVE_EVENT_LISTENER_STR:tt})})}(M)})(qe),function Ae(M){M.__load_patch("timers",$=>{const ue="clear";Xe($,"set",ue,"Timeout"),Xe($,"set",ue,"Interval"),Xe($,"set",ue,"Immediate")}),M.__load_patch("requestAnimationFrame",$=>{Xe($,"request","cancel","AnimationFrame"),Xe($,"mozRequest","mozCancel","AnimationFrame"),Xe($,"webkitRequest","webkitCancel","AnimationFrame")}),M.__load_patch("blocking",($,w)=>{const ue=["alert","prompt","confirm"];for(let lt=0;lt<ue.length;lt++)Ne($,ue[lt],(cn,en,st)=>function(se,Ye){return w.current.run(cn,$,Ye,st)})}),M.__load_patch("EventTarget",($,w,ue)=>{(function Se(M,$){$.patchEventPrototype(M,$)})($,ue),function Y(M,$){if(Zone[$.symbol("patchEventTarget")])return;const{eventNames:w,zoneSymbolEventNames:ue,TRUE_STR:lt,FALSE_STR:xt,ZONE_SYMBOL_PREFIX:cn}=$.getGlobalObjects();for(let st=0;st<w.length;st++){const se=w[st],Wt=cn+(se+xt),Xt=cn+(se+lt);ue[se]={},ue[se][xt]=Wt,ue[se][lt]=Xt}const en=M.EventTarget;en&&en.prototype&&$.patchEventTarget(M,$,[en&&en.prototype])}($,ue);const lt=$.XMLHttpRequestEventTarget;lt&&lt.prototype&&ue.patchEventTarget($,ue,[lt.prototype])}),M.__load_patch("MutationObserver",($,w,ue)=>{Et("MutationObserver"),Et("WebKitMutationObserver")}),M.__load_patch("IntersectionObserver",($,w,ue)=>{Et("IntersectionObserver")}),M.__load_patch("FileReader",($,w,ue)=>{Et("FileReader")}),M.__load_patch("on_property",($,w,ue)=>{!function P(M,$){if($e&&!le||Zone[M.symbol("patchEvents")])return;const w=$.__Zone_ignore_on_properties;let ue=[];if(Te){const lt=window;ue=ue.concat(["Document","SVGElement","Element","HTMLElement","HTMLBodyElement","HTMLMediaElement","HTMLFrameSetElement","HTMLFrameElement","HTMLIFrameElement","HTMLMarqueeElement","Worker"]),ct(lt,_e(lt),w,L(lt))}ue=ue.concat(["XMLHttpRequest","XMLHttpRequestEventTarget","IDBIndex","IDBRequest","IDBOpenDBRequest","IDBDatabase","IDBTransaction","IDBCursor","WebSocket"]);for(let lt=0;lt<ue.length;lt++){const xt=$[ue[lt]];xt?.prototype&&ct(xt.prototype,_e(xt.prototype),w)}}(ue,$)}),M.__load_patch("customElements",($,w,ue)=>{!function fe(M,$){const{isBrowser:w,isMix:ue}=$.getGlobalObjects();(w||ue)&&M.customElements&&"customElements"in M&&$.patchCallbacks($,M.customElements,"customElements","define",["connectedCallback","disconnectedCallback","adoptedCallback","attributeChangedCallback","formAssociatedCallback","formDisabledCallback","formResetCallback","formStateRestoreCallback"])}($,ue)}),M.__load_patch("XHR",($,w)=>{!function se(Ye){const at=Ye.XMLHttpRequest;if(!at)return;const Wt=at.prototype;let Mn=Wt[nt],It=Wt[Rt];if(!Mn){const Xn=Ye.XMLHttpRequestEventTarget;if(Xn){const qn=Xn.prototype;Mn=qn[nt],It=qn[Rt]}}const Zt="readystatechange",R="scheduled";function k(Xn){const qn=Xn.data,Zn=qn.target;Zn[cn]=!1,Zn[st]=!1;const Dr=Zn[xt];Mn||(Mn=Zn[nt],It=Zn[Rt]),Dr&&It.call(Zn,Zt,Dr);const vr=Zn[xt]=()=>{if(Zn.readyState===Zn.DONE)if(!qn.aborted&&Zn[cn]&&Xn.state===R){const ar=Zn[w.__symbol__("loadfalse")];if(0!==Zn.status&&ar&&ar.length>0){const rn=Xn.invoke;Xn.invoke=function(){const J=Zn[w.__symbol__("loadfalse")];for(let ee=0;ee<J.length;ee++)J[ee]===Xn&&J.splice(ee,1);!qn.aborted&&Xn.state===R&&rn.call(Xn)},ar.push(Xn)}else Xn.invoke()}else!qn.aborted&&!1===Zn[cn]&&(Zn[st]=!0)};return Mn.call(Zn,Zt,vr),Zn[ue]||(Zn[ue]=Xn),An.apply(Zn,qn.args),Zn[cn]=!0,Xn}function ye(){}function Nt(Xn){const qn=Xn.data;return qn.aborted=!0,fn.apply(qn.target,qn.args)}const qt=Ne(Wt,"open",()=>function(Xn,qn){return Xn[lt]=0==qn[2],Xn[en]=qn[1],qt.apply(Xn,qn)}),Rn=N("fetchTaskAborting"),pn=N("fetchTaskScheduling"),An=Ne(Wt,"send",()=>function(Xn,qn){if(!0===w.current[pn]||Xn[lt])return An.apply(Xn,qn);{const Zn={target:Xn,url:Xn[en],isPeriodic:!1,args:qn,aborted:!1},Dr=F("XMLHttpRequest.send",ye,Zn,k,Nt);Xn&&!0===Xn[st]&&!Zn.aborted&&Dr.state===R&&Dr.invoke()}}),fn=Ne(Wt,"abort",()=>function(Xn,qn){const Zn=function Xt(Xn){return Xn[ue]}(Xn);if(Zn&&"string"==typeof Zn.type){if(null==Zn.cancelFn||Zn.data&&Zn.data.aborted)return;Zn.zone.cancelTask(Zn)}else if(!0===w.current[Rn])return fn.apply(Xn,qn)})}($);const ue=N("xhrTask"),lt=N("xhrSync"),xt=N("xhrListener"),cn=N("xhrScheduled"),en=N("xhrURL"),st=N("xhrErrorBeforeScheduled")}),M.__load_patch("geolocation",$=>{$.navigator&&$.navigator.geolocation&&function de(M,$){const w=M.constructor.name;for(let ue=0;ue<$.length;ue++){const lt=$[ue],xt=M[lt];if(xt){if(!He(j(M,lt)))continue;M[lt]=(en=>{const st=function(){return en.apply(this,oe(arguments,w+"."+lt))};return Lt(st,en),st})(xt)}}}($.navigator.geolocation,["getCurrentPosition","watchPosition"])}),M.__load_patch("PromiseRejectionEvent",($,w)=>{function ue(lt){return function(xt){Ee($,lt).forEach(en=>{const st=$.PromiseRejectionEvent;if(st){const se=new st(lt,{promise:xt.promise,reason:xt.rejection});en.invoke(se)}})}}$.PromiseRejectionEvent&&(w[N("unhandledPromiseRejectionHandler")]=ue("unhandledrejection"),w[N("rejectionHandledHandler")]=ue("rejectionhandled"))}),M.__load_patch("queueMicrotask",($,w,ue)=>{!function ke(M,$){$.patchMethod(M,"queueMicrotask",w=>function(ue,lt){Zone.current.scheduleMicroTask("queueMicrotask",lt[0])})}($,ue)})}(qe)},7824(Yt,ve,a){function D(U,ce,ie,we){var He,oe=arguments.length,de=oe<3?ce:null===we?we=Object.getOwnPropertyDescriptor(ce,ie):we;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)de=Reflect.decorate(U,ce,ie,we);else for(var Be=U.length-1;Be>=0;Be--)(He=U[Be])&&(de=(oe<3?He(de):oe>3?He(ce,ie,de):He(ce,ie))||de);return oe>3&&de&&Object.defineProperty(ce,ie,de),de}function E(U,ce){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(U,ce)}function O(U,ce,ie,we){return new(ie||(ie=Promise))(function(de,He){function Be(le){try{Te(we.next(le))}catch(pt){He(pt)}}function $e(le){try{Te(we.throw(le))}catch(pt){He(pt)}}function Te(le){le.done?de(le.value):function oe(de){return de instanceof ie?de:new ie(function(He){He(de)})}(le.value).then(Be,$e)}Te((we=we.apply(U,ce||[])).next())})}function Fe(U){return this instanceof Fe?(this.v=U,this):new Fe(U)}function tt(U,ce,ie){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var oe,we=ie.apply(U,ce||[]),de=[];return oe={},He("next"),He("throw"),He("return"),oe[Symbol.asyncIterator]=function(){return this},oe;function He(Ie){we[Ie]&&(oe[Ie]=function(ze){return new Promise(function(Qe,_t){de.push([Ie,ze,Qe,_t])>1||Be(Ie,ze)})})}function Be(Ie,ze){try{!function $e(Ie){Ie.value instanceof Fe?Promise.resolve(Ie.value.v).then(Te,le):pt(de[0][2],Ie)}(we[Ie](ze))}catch(Qe){pt(de[0][3],Qe)}}function Te(Ie){Be("next",Ie)}function le(Ie){Be("throw",Ie)}function pt(Ie,ze){Ie(ze),de.shift(),de.length&&Be(de[0][0],de[0][1])}}function Rt(U){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var ie,ce=U[Symbol.asyncIterator];return ce?ce.call(U):(U=function j(U){var ce="function"==typeof Symbol&&Symbol.iterator,ie=ce&&U[ce],we=0;if(ie)return ie.call(U);if(U&&"number"==typeof U.length)return{next:function(){return U&&we>=U.length&&(U=void 0),{value:U&&U[we++],done:!U}}};throw new TypeError(ce?"Object is not iterable.":"Symbol.iterator is not defined.")}(U),ie={},we("next"),we("throw"),we("return"),ie[Symbol.asyncIterator]=function(){return this},ie);function we(de){ie[de]=U[de]&&function(He){return new Promise(function(Be,$e){!function oe(de,He,Be,$e){Promise.resolve($e).then(function(Te){de({value:Te,done:Be})},He)}(Be,$e,(He=U[de](He)).done,He.value)})}}}a.d(ve,{AQ:()=>tt,Cg:()=>D,N3:()=>Fe,Sn:()=>E,sH:()=>O,xN:()=>Rt})},9015(Yt,ve,a){a.d(ve,{Iv:()=>F,KJ:()=>oe,jo:()=>ie,qg:()=>He,sO:()=>U});var Q=a(9204),D=a(6124),I=a(6563),E=a(7580),O=a(316),X=a(9074),B=a(3762),K=a(4600),j=a(9400),Pe=a(1318),L=a(2575),ne=a(1365),Ve=
1a(6647),Fe=a(8764);const tt=new I.nKC("LAZY_ELEMENT_CONFIGS"),nt=new I.nKC("LAZY_ELEMENT_ROOT_OPTIONS"),Rt=new I.nKC("LAZY_ELEMENT_ROOT_GUARD"),Oe=new I.nKC("LAZY_ELEMENTS_REGISTRY",{providedIn:"root",factory:()=>new Map});let xe;class F{static controller=new AbortController;#e=(0,I.WQX)(I.zcH);#t=(0,I.WQX)(Oe);options=(0,I.WQX)(nt,{optional:!0})??{};configs=[];ngOnDestroy(){F.controller?.abort(),F.controller=null}addConfigs(Te){Te.forEach(le=>{this.getElementConfig(le.tag)||(le.isAdded=!0,this.configs.push(le),(void 0!==le.preload?le.preload:this.options.preload)&&this.loadElement(le.url,le.tag,le.isModule,le.importMap,le.hooks))})}getElementConfig(Te){return this.configs.find(le=>le.tag===Te)}preload(Te){let le=this.configs;Te&&(le=this.configs.filter(pt=>Te.includes(pt.tag))),le.forEach(pt=>this.loadElement(pt.url,pt.tag,pt.isModule,pt.importMap,pt.hooks))}loadElement(Te,le,pt,Ie,ze){var Qe=this;return(0,Q.A)(function*(){const _t=Qe.getElementConfig(le);if(pt??=_t?.isModule??Qe.options.isModule,Ie??=_t?.importMap??Qe.options.importMap,Te||(Te=Ie?le:_t.url),!Qe.#r(Te)){let zt=function(){Ne.removeEventListener("load",Ot),Ne.removeEventListener("error",Lt)};const Et=Qe.#n(Te),kt=ze?.beforeLoad??_t?.hooks?.beforeLoad??Qe.options?.hooks?.beforeLoad,ht=ze?.afterLoad??_t?.hooks?.afterLoad??Qe.options?.hooks?.afterLoad;Ie&&(Te=yield Qe.#s(Te));const Ne=document.createElement("script");pt&&(Ne.type="module"),Ne.src=function it(){if(void 0===xe&&(xe=null,typeof window<"u")){const $e=window;void 0!==$e.trustedTypes&&(xe=$e.trustedTypes.createPolicy("angular-extensions#elements",{createScriptURL:Te=>Te}))}return xe}()?.createScriptURL(Te)??Te;const Ot=()=>{ht?Qe.#o(ht,le).then(Et.resolve).catch(Et.reject):Et.resolve(),zt()},Lt=rt=>{Et.reject(rt),zt(),Qe.#e.handleError(rt)};Ne.addEventListener("load",Ot,{signal:F.controller?.signal}),Ne.addEventListener("error",Lt,{signal:F.controller?.signal}),kt?Qe.#o(kt,le).then(()=>document.body.appendChild(Ne)).catch(Et.reject):document.body.appendChild(Ne)}return Qe.#t.get(Qe.#i(Te))})()}#n(Te){let le;return this.#t.set(this.#i(Te),new Promise((pt,Ie)=>le={resolve:pt,reject:Ie})),le}#r(Te){return this.#t.has(this.#i(Te))}#i(Te){return Te.replace(/https?:\/\//,"")}#o(Te,le){try{return Promise.resolve(Te(le))}catch(pt){return Promise.reject(pt)}}#s(Te){return(0,Q.A)(function*(){const le=window.System;return le&&(yield le.prepareImport(),Te=le.resolve(Te)),Te})()}static \u0275fac=function(le){return new(le||F)};static \u0275prov=I.jDH({token:F,factory:F.\u0275fac,providedIn:"root"})}let U=(()=>{class $e{#e=(0,I.WQX)(D.Agw);#t=(0,I.WQX)(I.abz);#n=(0,I.WQX)(D.c1b);#r=(0,I.WQX)(E.gRc);#i=(0,I.WQX)(D.C4Q);#o=(0,I.WQX)(F);url=(0,E.hFB)(null,{alias:"axLazyElement"});loadingTemplateRef=(0,E.hFB)(null,{alias:"axLazyElementLoadingTemplate"});errorTemplateRef=(0,E.hFB)(null,{alias:"axLazyElementErrorTemplate"});isModule=(0,E.hFB)(void 0,{alias:"axLazyElementModule"});importMap=(0,E.hFB)(!1,{alias:"axLazyElementImportMap"});loadingSuccess=(0,E.hFB)(void 0,{alias:"axLazyElementLoadingSuccess"});loadingError=(0,E.hFB)(void 0,{alias:"axLazyElementLoadingError"});#s=null;#a=(0,X.br)(this.url);ngOnInit(){(0,O.Vy)(this.#e)||this.#c()}destroyEmbeddedView(){this.#s&&!this.#s.destroyed&&(this.#s.detach(),this.#s.destroy(),this.#s=null)}#c(){const le=this.#i,pt=le._declarationTContainer?le._declarationTContainer.tagName||le._declarationTContainer.value:le._def.element.#i.nodes[0].element.name,Ie=this.#o.getElementConfig(pt)||{},ze=this.#o.options,Qe=Ie.loadingComponent||ze.loadingComponent;this.#a.pipe((0,L.B)(0,B.X),(0,Ve.n)(_t=>{const Re=this.loadingTemplateRef();return Re?this.#n.createEmbeddedView(Re):Qe&&this.#n.createComponent(Qe),(0,K.H)(this.#o.loadElement(_t,pt,this.isModule(),this.importMap(),Ie?.hooks)).pipe((0,Pe.W)(Et=>{this.loadingError()?.(Et),this.#n.clear();const kt=Ie.errorComponent||ze.errorComponent,ht=this.errorTemplateRef();return ht?(this.#n.createEmbeddedView(ht),this.#r.markForCheck()):kt&&(this.#n.createComponent(kt),this.#r.markForCheck()),j.w}))}),(0,Fe.M)(()=>this.loadingSuccess()?.()),(0,ne.Z)(()=>customElements.whenDefined(pt)),(0,X.pQ)(this.#t)).subscribe({next:()=>{this.#n.clear(),this.#s=this.#n.createEmbeddedView(this.#i),this.#r.markForCheck()}})}static \u0275fac=function(pt){return new(pt||$e)};static \u0275dir=D.FsC({type:$e,selectors:[["","axLazyElement",""]],inputs:{url:[1,"axLazyElement","url"],loadingTemplateRef:[1,"axLazyElementLoadingTemplate","loadingTemplateRef"],errorTemplateRef:[1,"axLazyElementErrorTemplate","errorTemplateRef"],isModule:[1,"axLazyElementModule","isModule"],importMap:[1,"axLazyElementImportMap","importMap"],loadingSuccess:[1,"axLazyElementLoadingSuccess","loadingSuccess"],loadingError:[1,"axLazyElementLoadingError","loadingError"]}})}return $e})(),ie=(()=>{class $e{tag=(0,E.hFB)(null,{alias:"axLazyElementDynamic"});url=(0,E.hFB)(null,{alias:"axLazyElementDynamicUrl"});loadingTemplateRef=(0,E.hFB)(null,{alias:"axLazyElementDynamicLoadingTemplate"});errorTemplateRef=(0,E.hFB)(null,{alias:"axLazyElementDynamicErrorTemplate"});isModule=(0,E.hFB)(!1,{alias:"axLazyElementDynamicModule"});importMap=(0,E.hFB)(!1,{alias:"axLazyElementDynamicImportMap"});loadingSuccess=(0,E.hFB)(void 0,{alias:"axLazyElementLoadingSuccess"});loadingError=(0,E.hFB)(void 0,{alias:"axLazyElementLoadingError"});#e=null;#t=(0,I.WQX)(I.abz);#n=(0,I.WQX)(D.Agw);#r=(0,I.WQX)(I.qQL);#i=(0,I.WQX)(D.sFG);#o=(0,I.WQX)(D.c1b);#s=(0,I.WQX)(E.gRc);#a=(0,I.WQX)(D.C4Q);#c=(0,I.WQX)(F);ngOnInit(){if((0,O.Vy)(this.#n))return;const pt=this.tag(),Ie=this.#c.getElementConfig(pt)||{},ze=this.#c.options,Qe=Ie.loadingComponent||ze.loadingComponent,_t=this.loadingTemplateRef();_t?this.#o.createEmbeddedView(_t):Qe&&this.#o.createComponent(Qe),(0,K.H)(this.#c.loadElement(this.url(),pt,this.isModule(),this.importMap(),Ie?.hooks)).pipe((0,ne.Z)(()=>customElements.whenDefined(pt)),(0,X.pQ)(this.#t)).subscribe({next:()=>{this.loadingSuccess()?.(),this.#o.clear();const Et=this.#i.createElement;this.#i.createElement=(kt,ht)=>("ax-lazy-element"===kt&&(kt=pt),this.#r.createElement(kt)),this.#e=this.#o.createEmbeddedView(this.#a),this.#i.createElement=Et,this.#s.markForCheck()},error:Et=>{this.loadingError()?.(Et);const kt=Ie.errorComponent||ze.errorComponent;this.#o.clear();const ht=this.errorTemplateRef();ht?(this.#o.createEmbeddedView(ht),this.#s.markForCheck()):kt&&(this.#o.createComponent(kt),this.#s.markForCheck())}})}destroyEmbeddedView(){this.#e&&!this.#e.destroyed&&(this.#e.detach(),this.#e.destroy(),this.#e=null)}static \u0275fac=function(pt){return new(pt||$e)};static \u0275dir=D.FsC({type:$e,selectors:[["","axLazyElementDynamic",""]],inputs:{tag:[1,"axLazyElementDynamic","tag"],url:[1,"axLazyElementDynamicUrl","url"],loadingTemplateRef:[1,"axLazyElementDynamicLoadingTemplate","loadingTemplateRef"],errorTemplateRef:[1,"axLazyElementDynamicErrorTemplate","errorTemplateRef"],isModule:[1,"axLazyElementDynamicModule","isModule"],importMap:[1,"axLazyElementDynamicImportMap","importMap"],loadingSuccess:[1,"axLazyElementLoadingSuccess","loadingSuccess"],loadingError:[1,"axLazyElementLoadingError","loadingError"]}})}return $e})();function we($e){return"LazyElementsModule.forRoot() multiple execution guard"}let oe=(()=>{class $e{static forRoot(le){return{ngModule:$e,providers:[{provide:tt,useValue:le&&le.elementConfigs?le.elementConfigs:[],multi:!0},{provide:nt,useValue:le.rootOptions?le.rootOptions:{}},{provide:Rt,useFactory:we,deps:[[nt,new D.Xx1,new D.kdw]]}]}}
1static forFeature(le){return{ngModule:$e,providers:[{provide:tt,useValue:le&&le.elementConfigs?le.elementConfigs:[],multi:!0}]}}lazyElementsLoaderService=(0,I.WQX)(F);elementConfigsMultiProvider=(0,I.WQX)(tt,{optional:!0});guard=(0,I.WQX)(Rt,{optional:!0});constructor(){this.elementConfigsMultiProvider&&this.elementConfigsMultiProvider.length&&this.elementConfigsMultiProvider.filter(le=>le.some(pt=>!pt.isAdded)).forEach(le=>this.lazyElementsLoaderService.addConfigs(le))}static \u0275fac=function(pt){return new(pt||$e)};static \u0275mod=D.$C({type:$e});static \u0275inj=I.G2t({})}return $e})();function de($e){return"provideAxLazyElements() multiple execution guard"}function He($e={}){return(0,I.EmA)([{provide:tt,useValue:$e&&$e.elementConfigs?$e.elementConfigs:[],multi:!0},{provide:nt,useValue:$e.rootOptions?$e.rootOptions:{}},{provide:Rt,useFactory:de,deps:[[nt,new D.Xx1,new D.kdw]]},{multi:!0,provide:I.Z63,useValue:()=>{(0,I.WQX)(Rt,{optional:!0});const Te=(0,I.WQX)(F),le=(0,I.WQX)(tt,{optional:!0});le&&le.length&&le.filter(pt=>pt.some(Ie=>!Ie.isAdded)).forEach(pt=>Te.addConfigs(pt))}}])}},8012(Yt,ve,a){a.d(ve,{Pd:()=>ot,kB:()=>rt,sp:()=>Lt,GX:()=>zt,Z7:()=>Te,Ai:()=>St});var u=a(6563),h=a(6124),g=a(7580),Q=a(8508),D=a(8310),I=a(9504),E=a(9227),O=a(8438),X=a(436);let q=(()=>{class Xe{create(Y){return typeof MutationObserver>"u"?null:new MutationObserver(Y)}static \u0275fac=function(Se){return new(Se||Xe)};static \u0275prov=u.jDH({token:Xe,factory:Xe.\u0275fac,providedIn:"root"})}return Xe})(),U=(()=>{class Xe{static \u0275fac=function(Se){return new(Se||Xe)};static \u0275mod=h.$C({type:Xe});static \u0275inj=u.G2t({providers:[q]})}return Xe})(),Te=(()=>{class Xe{_platform=(0,u.WQX)(Q.O);constructor(){}isDisabled(Y){return Y.hasAttribute("disabled")}isVisible(Y){return function pt(Xe){return!!(Xe.offsetWidth||Xe.offsetHeight||"function"==typeof Xe.getClientRects&&Xe.getClientRects().length)}(Y)&&"visible"===getComputedStyle(Y).visibility}isTabbable(Y){if(!this._platform.isBrowser)return!1;const Se=function le(Xe){try{return Xe.frameElement}catch{return null}}(function Ot(Xe){return Xe.ownerDocument&&Xe.ownerDocument.defaultView||window}(Y));if(Se&&(-1===kt(Se)||!this.isVisible(Se)))return!1;let Ce=Y.nodeName.toLowerCase(),ct=kt(Y);return Y.hasAttribute("contenteditable")?-1!==ct:!("iframe"===Ce||"object"===Ce||this._platform.WEBKIT&&this._platform.IOS&&!function ht(Xe){let fe=Xe.nodeName.toLowerCase(),Y="input"===fe&&Xe.type;return"text"===Y||"password"===Y||"select"===fe||"textarea"===fe}(Y))&&("audio"===Ce?!!Y.hasAttribute("controls")&&-1!==ct:"video"===Ce?-1!==ct&&(null!==ct||this._platform.FIREFOX||Y.hasAttribute("controls")):Y.tabIndex>=0)}isFocusable(Y,Se){return function Ne(Xe){return!function ze(Xe){return function _t(Xe){return"input"==Xe.nodeName.toLowerCase()}(Xe)&&"hidden"==Xe.type}(Xe)&&(function Ie(Xe){let fe=Xe.nodeName.toLowerCase();return"input"===fe||"select"===fe||"button"===fe||"textarea"===fe}(Xe)||function Qe(Xe){return function Re(Xe){return"a"==Xe.nodeName.toLowerCase()}(Xe)&&Xe.hasAttribute("href")}(Xe)||Xe.hasAttribute("contenteditable")||Et(Xe))}(Y)&&!this.isDisabled(Y)&&(Se?.ignoreVisibility||this.isVisible(Y))}static \u0275fac=function(Se){return new(Se||Xe)};static \u0275prov=u.jDH({token:Xe,factory:Xe.\u0275fac,providedIn:"root"})}return Xe})();function Et(Xe){if(!Xe.hasAttribute("tabindex")||void 0===Xe.tabIndex)return!1;let fe=Xe.getAttribute("tabindex");return!(!fe||isNaN(parseInt(fe,10)))}function kt(Xe){if(!Et(Xe))return null;const fe=parseInt(Xe.getAttribute("tabindex")||"",10);return isNaN(fe)?-1:fe}class Lt{_element;_checker;_ngZone;_document;_injector;_startAnchor=null;_endAnchor=null;_hasAttached=!1;startAnchorListener=()=>this.focusLastTabbableElement();endAnchorListener=()=>this.focusFirstTabbableElement();get enabled(){return this._enabled}set enabled(fe){this._enabled=fe,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(fe,this._startAnchor),this._toggleAnchorTabIndex(fe,this._endAnchor))}_enabled=!0;constructor(fe,Y,Se,Ce,ct=!1,_e){this._element=fe,this._checker=Y,this._ngZone=Se,this._document=Ce,this._injector=_e,ct||this.attachAnchors()}destroy(){const fe=this._startAnchor,Y=this._endAnchor;fe&&(fe.removeEventListener("focus",this.startAnchorListener),fe.remove()),Y&&(Y.removeEventListener("focus",this.endAnchorListener),Y.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(fe){return new Promise(Y=>{this._executeOnStable(()=>Y(this.focusInitialElement(fe)))})}focusFirstTabbableElementWhenReady(fe){return new Promise(Y=>{this._executeOnStable(()=>Y(this.focusFirstTabbableElement(fe)))})}focusLastTabbableElementWhenReady(fe){return new Promise(Y=>{this._executeOnStable(()=>Y(this.focusLastTabbableElement(fe)))})}_getRegionBoundary(fe){const Y=this._element.querySelectorAll(`[cdk-focus-region-${fe}], [cdkFocusRegion${fe}], [cdk-focus-${fe}]`);return"start"==fe?Y.length?Y[0]:this._getFirstTabbableElement(this._element):Y.length?Y[Y.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(fe){const Y=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(Y){if(!this._checker.isFocusable(Y)){const Se=this._getFirstTabbableElement(Y);return Se?.focus(fe),!!Se}return Y.focus(fe),!0}return this.focusFirstTabbableElement(fe)}focusFirstTabbableElement(fe){const Y=this._getRegionBoundary("start");return Y&&Y.focus(fe),!!Y}focusLastTabbableElement(fe){const Y=this._getRegionBoundary("end");return Y&&Y.focus(fe),!!Y}hasAttached(){return this._hasAttached}_getFirstTabbableElement(fe){if(this._checker.isFocusable(fe)&&this._checker.isTabbable(fe))return fe;const Y=fe.children;for(let Se=0;Se<Y.length;Se++){const Ce=Y[Se].nodeType===this._document.ELEMENT_NODE?this._getFirstTabbableElement(Y[Se]):null;if(Ce)return Ce}return null}_getLastTabbableElement(fe){if(this._checker.isFocusable(fe)&&this._checker.isTabbable(fe))return fe;const Y=fe.children;for(let Se=Y.length-1;Se>=0;Se--){const Ce=Y[Se].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(Y[Se]):null;if(Ce)return Ce}return null}_createAnchor(){const fe=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,fe),fe.classList.add("cdk-visually-hidden"),fe.classList.add("cdk-focus-trap-anchor"),fe.setAttribute("aria-hidden","true"),fe}_toggleAnchorTabIndex(fe,Y){fe?Y.setAttribute("tabindex","0"):Y.removeAttribute("tabindex")}toggleAnchors(fe){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(fe,this._startAnchor),this._toggleAnchorTabIndex(fe,this._endAnchor))}_executeOnStable(fe){this._injector?(0,h.mal)(fe,{injector:this._injector}):setTimeout(fe)}}let zt=(()=>{class Xe{_checker=(0,u.WQX)(Te);_ngZone=(0,u.WQX)(u.SKi);_document=(0,u.WQX)(u.qQL);_injector=(0,u.WQX)(u.zZn);constructor(){(0,u.WQX)(I.l).load(E.Yc)}create(Y,Se=!1){return new Lt(Y,this._checker,this._ngZone,this._document,Se,this._injector)}static \u0275fac=function(Se){return new(Se||Xe)};static \u0275prov=u.jDH({token:Xe,factory:Xe.\u0275fac,providedIn:"root"})}return Xe})(),rt=(()=>{class Xe{_elementRef=(0,u.WQX)(h.aKT);_focusTrapFactory=(0,u.WQX)(zt);focusTrap=void 0;_previouslyFocusedElement=null;get enabled(){return this.focusTrap?.enabled||!1}set enabled(Y){this.focusTrap&&(this.focusTrap.enabled=Y)}autoCapture=!1;constructor(){(0,u.WQX)(Q.O).isBrowser&&(this.focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement,!0))}ngOnDestroy(){this.focusTrap?.destroy(),this._previouslyFocusedElement&&(this._previouslyFocusedElement.focus(),this._previouslyFocusedElement=null)}ngAfterContentInit(){this.focusTrap?.attachAnchors(),this.autoCapture&&this._captureFocus()}ngDoCheck(){this.focusTrap&&!this.focusTrap.hasAttached()&&this.focusTrap.attachAnchors()}ngOnChanges(Y){const Se=Y.autoCapture;Se&&!Se.firstChange&&this.autoCapture&&this.focusTrap?.hasAttached()&&this._captureFocus()}_captureFocus(){this._previouslyFocusedElement=(0,D.vc)(),this.focusTrap?.focusInitialElementWhenReady()}static \u0275fac=function(Se){return new(Se||Xe)};static \u0275dir=h.FsC({type:Xe,selectors:[["","cdkTrapFocus",""]],inputs:{enabled:[2,"cdkTrapFocus","enabled",g.L39],autoCapture:[2,"cdkTrapFocusAutoCapture","autoCapture",g.L39]},exportAs:["cdkTrapFocus"],features:[h.OA$]})}return Xe})();const Qt=new u.nKC("liveAnnouncerElement",{providedIn:"root",factory:()=>null}
vendor: 5,373 bytes, line 1
1),Kt=new u.nKC("LIVE_ANNOUNCER_DEFAULT_OPTIONS");let ut=0,St=(()=>{class Xe{_ngZone=(0,u.WQX)(u.SKi);_defaultOptions=(0,u.WQX)(Kt,{optional:!0});_liveElement;_document=(0,u.WQX)(u.qQL);_sanitizer=(0,u.WQX)(X.up);_previousTimeout;_currentPromise;_currentResolve;constructor(){const Y=(0,u.WQX)(Qt,{optional:!0});this._liveElement=Y||this._createLiveElement()}announce(Y,...Se){const Ce=this._defaultOptions;let ct,_e;return 1===Se.length&&"number"==typeof Se[0]?_e=Se[0]:[ct,_e]=Se,this.clear(),clearTimeout(this._previousTimeout),ct||(ct=Ce&&Ce.politeness?Ce.politeness:"polite"),null==_e&&Ce&&(_e=Ce.duration),this._liveElement.setAttribute("aria-live",ct),this._liveElement.id&&this._exposeAnnouncerToModals(this._liveElement.id),this._ngZone.runOutsideAngular(()=>(this._currentPromise||(this._currentPromise=new Promise(P=>this._currentResolve=P)),clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{Y&&"string"!=typeof Y?(0,E.Z9)(this._liveElement,Y,this._sanitizer):this._liveElement.textContent=Y,"number"==typeof _e&&(this._previousTimeout=setTimeout(()=>this.clear(),_e)),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 Y="cdk-live-announcer-element",Se=this._document.getElementsByClassName(Y),Ce=this._document.createElement("div");for(let ct=0;ct<Se.length;ct++)Se[ct].remove();return Ce.classList.add(Y),Ce.classList.add("cdk-visually-hidden"),Ce.setAttribute("aria-atomic","true"),Ce.setAttribute("aria-live","polite"),Ce.id="cdk-live-announcer-"+ut++,this._document.body.appendChild(Ce),Ce}_exposeAnnouncerToModals(Y){const Se=this._document.querySelectorAll('body > .cdk-overlay-container [aria-modal="true"]');for(let Ce=0;Ce<Se.length;Ce++){const ct=Se[Ce],_e=ct.getAttribute("aria-owns");_e?-1===_e.indexOf(Y)&&ct.setAttribute("aria-owns",_e+" "+Y):ct.setAttribute("aria-owns",Y)}}static \u0275fac=function(Se){return new(Se||Xe)};static \u0275prov=u.jDH({token:Xe,factory:Xe.\u0275fac,providedIn:"root"})}return Xe})();var Me=function(Xe){return Xe[Xe.NONE=0]="NONE",Xe[Xe.BLACK_ON_WHITE=1]="BLACK_ON_WHITE",Xe[Xe.WHITE_ON_BLACK=2]="WHITE_ON_BLACK",Xe}(Me||{});const De="cdk-high-contrast-black-on-white",Ee="cdk-high-contrast-white-on-black",i="cdk-high-contrast-active";let ke=(()=>{class Xe{_platform=(0,u.WQX)(Q.O);_hasCheckedHighContrastMode=!1;_document=(0,u.WQX)(u.qQL);_breakpointSubscription;constructor(){this._breakpointSubscription=(0,u.WQX)(O.Q).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return Me.NONE;const Y=this._document.createElement("div");Y.style.backgroundColor="rgb(1,2,3)",Y.style.position="absolute",this._document.body.appendChild(Y);const Se=this._document.defaultView||window,Ce=Se&&Se.getComputedStyle?Se.getComputedStyle(Y):null,ct=(Ce&&Ce.backgroundColor||"").replace(/ /g,"");switch(Y.remove(),ct){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return Me.WHITE_ON_BLACK;case"rgb(255,255,255)":case"rgb(255,250,239)":return Me.BLACK_ON_WHITE}return Me.NONE}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){const Y=this._document.body.classList;Y.remove(i,De,Ee),this._hasCheckedHighContrastMode=!0;const Se=this.getHighContrastMode();Se===Me.BLACK_ON_WHITE?Y.add(i,De):Se===Me.WHITE_ON_BLACK&&Y.add(i,Ee)}}static \u0275fac=function(Se){return new(Se||Xe)};static \u0275prov=u.jDH({token:Xe,factory:Xe.\u0275fac,providedIn:"root"})}return Xe})(),ot=(()=>{class Xe{constructor(){(0,u.WQX)(ke)._applyBodyHighContrastModeCssClasses()}static \u0275fac=function(Se){return new(Se||Xe)};static \u0275mod=h.$C({type:Xe});static \u0275inj=u.G2t({imports:[U]})}return Xe})()},9059(Yt,ve,a){function u(h){return Array.isArray(h)?h:[h]}a.d(ve,{F:()=>u})},8438(Yt,ve,a){a.d(ve,{D:()=>Fe,Q:()=>Rt});var u=a(6563),h=a(6124),g=a(3942),Q=a(4205),D=a(9999),I=a(3513),E=a(2575),O=a(271),X=a(7470),B=a(3037),K=a(4334),j=a(3900),Pe=a(8508),L=a(9059);const ne=new Set;let Ve,Fe=(()=>{class xe{_platform=(0,u.WQX)(Pe.O);_nonce=(0,u.WQX)(h.BIS,{optional:!0});_matchMedia;constructor(){this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):nt}matchMedia(q){return(this._platform.WEBKIT||this._platform.BLINK)&&function tt(xe,it){if(!ne.has(xe))try{Ve||(Ve=document.createElement("style"),it&&Ve.setAttribute("nonce",it),Ve.setAttribute("type","text/css"),document.head.appendChild(Ve)),Ve.sheet&&(Ve.sheet.insertRule(`@media ${xe} {body{ }}`,0),ne.add(xe))}catch(q){console.error(q)}}(q,this._nonce),this._matchMedia(q)}static \u0275fac=function(F){return new(F||xe)};static \u0275prov=u.jDH({token:xe,factory:xe.\u0275fac,providedIn:"root"})}return xe})();function nt(xe){return{matches:"all"===xe||""===xe,media:xe,addListener:()=>{},removeListener:()=>{}}}let Rt=(()=>{class xe{_mediaMatcher=(0,u.WQX)(Fe);_zone=(0,u.WQX)(u.SKi);_queries=new Map;
1_destroySubject=new Q.B;constructor(){}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(q){return Oe((0,L.F)(q)).some(N=>this._registerQuery(N).mql.matches)}observe(q){const N=Oe((0,L.F)(q)).map(ce=>this._registerQuery(ce).observable);let U=(0,D.z)(N);return U=(0,I.x)(U.pipe((0,K.s)(1)),U.pipe((0,X.i)(1),(0,E.B)(0))),U.pipe((0,O.T)(ce=>{const ie={matches:!1,breakpoints:{}};return ce.forEach(({matches:we,query:oe})=>{ie.matches=ie.matches||we,ie.breakpoints[oe]=we}),ie}))}_registerQuery(q){if(this._queries.has(q))return this._queries.get(q);const F=this._mediaMatcher.matchMedia(q),U={observable:new g.c(ce=>{const ie=we=>this._zone.run(()=>ce.next(we));return F.addListener(ie),()=>{F.removeListener(ie)}}).pipe((0,B.Z)(F),(0,O.T)(({matches:ce})=>({query:q,matches:ce})),(0,j.Q)(this._destroySubject)),mql:F};return this._queries.set(q,U),U}static \u0275fac=function(F){return new(F||xe)};static \u0275prov=u.jDH({token:xe,factory:xe.\u0275fac,providedIn:"root"})}return xe})();function Oe(xe){return xe.map(it=>it.split(",")).reduce((it,q)=>it.concat(q)).map(it=>it.trim())}},3433(Yt,ve,a){a.d(ve,{dS:()=>D});var u=a(6563);const h=new u.nKC("cdk-dir-doc",{providedIn:"root",factory:()=>(0,u.WQX)(u.qQL)}),g=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;let D=(()=>{class I{get value(){return this.valueSignal()}valueSignal=(0,u.vPA)("ltr");change=new u.bkB;constructor(){const O=(0,u.WQX)(h,{optional:!0});O&&this.valueSignal.set(function Q(I){const E=I?.toLowerCase()||"";return"auto"===E&&typeof navigator<"u"&&navigator?.language?g.test(navigator.language)?"rtl":"ltr":"rtl"===E?"rtl":"ltr"}((O.body?O.body.dir:null)||(O.documentElement?O.documentElement.dir:null)||"ltr"))}ngOnDestroy(){this.change.complete()}static \u0275fac=function(X){return new(X||I)};static \u0275prov=u.jDH({token:I,factory:I.\u0275fac,providedIn:"root"})}return I})()},6075(Yt,ve,a){a.d(ve,{OE:()=>h,i8:()=>Q});var u=a(6124);function h(D,I=0){return function g(D){return!isNaN(parseFloat(D))&&!isNaN(Number(D))}(D)?Number(D):2===arguments.length?I:0}function Q(D){return D instanceof u.aKT?D.nativeElement:D}},603(Yt,ve,a){function u(g){return 0===g.buttons||0===g.detail}function h(g){const Q=g.touches&&g.touches[0]||g.changedTouches&&g.changedTouches[0];return!(!Q||-1!==Q.identifier||null!=Q.radiusX&&1!==Q.radiusX||null!=Q.radiusY&&1!==Q.radiusY)}a.d(ve,{_:()=>u,w:()=>h})},6522(Yt,ve,a){a.d(ve,{FN:()=>U});var D=a(6563),I=a(6124),E=a(4205),O=a(5797),X=a(9452),B=a(1817),K=a(7470),j=a(3900),Pe=a(603),L=a(7552),ne=a(8310),Ve=a(8508),Fe=a(2548),tt=a(6075);const nt=new D.nKC("cdk-input-modality-detector-options"),Rt={ignoreKeys:[L.A$,L.W3,L.eg,L.Ge,L.FX]},xe={passive:!0,capture:!0};let it=(()=>{class ie{_platform=(0,D.WQX)(Ve.O);_listenerCleanups;modalityDetected;modalityChanged;get mostRecentModality(){return this._modality.value}_mostRecentTarget=null;_modality=new O.t(null);_options;_lastTouchMs=0;_onKeydown=oe=>{this._options?.ignoreKeys?.some(de=>de===oe.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=(0,ne.Fb)(oe))};_onMousedown=oe=>{Date.now()-this._lastTouchMs<650||(this._modality.next((0,Pe._)(oe)?"keyboard":"mouse"),this._mostRecentTarget=(0,ne.Fb)(oe))};_onTouchstart=oe=>{(0,Pe.w)(oe)?this._modality.next("keyboard"):(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=(0,ne.Fb)(oe))};constructor(){const oe=(0,D.WQX)(D.SKi),de=(0,D.WQX)(D.qQL),He=(0,D.WQX)(nt,{optional:!0});if(this._options={...Rt,...He},this.modalityDetected=this._modality.pipe((0,K.i)(1)),this.modalityChanged=this.modalityDetected.pipe((0,B.F)()),this._platform.isBrowser){const Be=(0,D.WQX)(I._9s).createRenderer(null,null);this._listenerCleanups=oe.runOutsideAngular(()=>[Be.listen(de,"keydown",this._onKeydown,xe),Be.listen(de,"mousedown",this._onMousedown,xe),Be.listen(de,"touchstart",this._onTouchstart,xe)])}}ngOnDestroy(){this._modality.complete(),this._listenerCleanups?.forEach(oe=>oe())}static \u0275fac=function(de){return new(de||ie)};static \u0275prov=D.jDH({token:ie,factory:ie.\u0275fac,providedIn:"root"})}return ie})();
vendor: 6,231 bytes, line 1
1var q=function(ie){return ie[ie.IMMEDIATE=0]="IMMEDIATE",ie[ie.EVENTUAL=1]="EVENTUAL",ie}(q||{});const F=new D.nKC("cdk-focus-monitor-default-options"),N=(0,Fe.B)({passive:!0,capture:!0});let U=(()=>{class ie{_ngZone=(0,D.WQX)(D.SKi);_platform=(0,D.WQX)(Ve.O);_inputModalityDetector=(0,D.WQX)(it);_origin=null;_lastFocusOrigin=null;_windowFocused=!1;_windowFocusTimeoutId;_originTimeoutId;_originFromTouchInteraction=!1;_elementInfo=new Map;_monitoredElementCount=0;_rootNodeFocusListenerCount=new Map;_detectionMode;_windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=setTimeout(()=>this._windowFocused=!1)};_document=(0,D.WQX)(D.qQL);_stopInputModalityDetector=new E.B;constructor(){const oe=(0,D.WQX)(F,{optional:!0});this._detectionMode=oe?.detectionMode||q.IMMEDIATE}_rootNodeFocusAndBlurListener=oe=>{for(let He=(0,ne.Fb)(oe);He;He=He.parentElement)"focus"===oe.type?this._onFocus(oe,He):this._onBlur(oe,He)};monitor(oe,de=!1){const He=(0,tt.i8)(oe);if(!this._platform.isBrowser||1!==He.nodeType)return(0,X.of)();const Be=(0,ne.KT)(He)||this._document,$e=this._elementInfo.get(He);if($e)return de&&($e.checkChildren=!0),$e.subject;const Te={checkChildren:de,subject:new E.B,rootNode:Be};return this._elementInfo.set(He,Te),this._registerGlobalListeners(Te),Te.subject}stopMonitoring(oe){const de=(0,tt.i8)(oe),He=this._elementInfo.get(de);He&&(He.subject.complete(),this._setClasses(de),this._elementInfo.delete(de),this._removeGlobalListeners(He))}focusVia(oe,de,He){const Be=(0,tt.i8)(oe);Be===this._document.activeElement?this._getClosestElementsInfo(Be).forEach(([Te,le])=>this._originChanged(Te,de,le)):(this._setOrigin(de),"function"==typeof Be.focus&&Be.focus(He))}ngOnDestroy(){this._elementInfo.forEach((oe,de)=>this.stopMonitoring(de))}_getWindow(){return this._document.defaultView||window}_getFocusOrigin(oe){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(oe)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:oe&&this._isLastInteractionFromInputLabel(oe)?"mouse":"program"}_shouldBeAttributedToTouch(oe){return this._detectionMode===q.EVENTUAL||!!oe?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(oe,de){oe.classList.toggle("cdk-focused",!!de),oe.classList.toggle("cdk-touch-focused","touch"===de),oe.classList.toggle("cdk-keyboard-focused","keyboard"===de),oe.classList.toggle("cdk-mouse-focused","mouse"===de),oe.classList.toggle("cdk-program-focused","program"===de)}_setOrigin(oe,de=!1){this._ngZone.runOutsideAngular(()=>{this._origin=oe,this._originFromTouchInteraction="touch"===oe&&de,this._detectionMode===q.IMMEDIATE&&(clearTimeout(this._originTimeoutId),this._originTimeoutId=setTimeout(()=>this._origin=null,this._originFromTouchInteraction?650:1))})}_onFocus(oe,de){const He=this._elementInfo.get(de),Be=(0,ne.Fb)(oe);!He||!He.checkChildren&&de!==Be||this._originChanged(de,this._getFocusOrigin(Be),He)}_onBlur(oe,de){const He=this._elementInfo.get(de);!He||He.checkChildren&&oe.relatedTarget instanceof Node&&de.contains(oe.relatedTarget)||(this._setClasses(de),this._emitOrigin(He,null))}_emitOrigin(oe,de){oe.subject.observers.length&&this._ngZone.run(()=>oe.subject.next(de))}_registerGlobalListeners(oe){if(!this._platform.isBrowser)return;const de=oe.rootNode,He=this._rootNodeFocusListenerCount.get(de)||0;He||this._ngZone.runOutsideAngular(()=>{de.addEventListener("focus",this._rootNodeFocusAndBlurListener,N),de.addEventListener("blur",this._rootNodeFocusAndBlurListener,N)}),this._rootNodeFocusListenerCount.set(de,He+1),1===++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe((0,j.Q)(this._stopInputModalityDetector)).subscribe(Be=>{this._setOrigin(Be,!0)}))}_removeGlobalListeners(oe){const de=oe.rootNode;if(this._rootNodeFocusListenerCount.has(de)){const He=this._rootNodeFocusListenerCount.get(de);He>1?this._rootNodeFocusListenerCount.set(de,He-1):(de.removeEventListener("focus",this._rootNodeFocusAndBlurListener,N),de.removeEventListener("blur",this._rootNodeFocusAndBlurListener,N),this._rootNodeFocusListenerCount.delete(de))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(oe,de,He){this._setClasses(oe,de),this._emitOrigin(He,de),this._lastFocusOrigin=de}_getClosestElementsInfo(oe){const de=[];return this._elementInfo.forEach((He,Be)=>{(Be===oe||He.checkChildren&&Be.contains(oe))&&de.push([Be,He])}),de}_isLastInteractionFromInputLabel(oe){const{_mostRecentTarget:de,mostRecentModality:He}=this._inputModalityDetector;if("mouse"!==He||!de||de===oe||"INPUT"!==oe.nodeName&&"TEXTAREA"!==oe.nodeName||oe.disabled)return!1;const Be=oe.labels;if(Be)for(let $e=0;$e<Be.length;$e++)if(Be[$e].contains(de))return!0;return!1}static \u0275fac=function(de){return new(de||ie)};static \u0275prov=D.jDH({token:ie,factory:ie.\u0275fac,providedIn:"root"})}return ie})()},6306(Yt,ve,a){a.d(ve,{g:()=>Q});var u=a(6563),h=a(6124);const g={};class Q{_appId=(0,u.WQX)(h.sZ2);static _infix=`a${Math.floor(1e5*Math.random()).toString()}`;getId(I,E=!1){return"ng"!==this._appId&&(I+=this._appId),g.hasOwnProperty(I)||(g[I]=0),`${I}${E?Q._infix+"-":""}${g[I]++}`}static \u0275fac=function(E){return new(E||Q)};static \u0275prov=u.jDH({token:Q,factory:Q.\u0275fac,providedIn:"root"})}},7552(Yt,ve,a){a.d(ve,{A:()=>Ie,A$:()=>O,FX:()=>I,Fm:()=>D,Ge:()=>Y,Kp:()=>ne,LE:()=>nt,UQ:()=>Fe,W3:()=>E,Z:()=>fe,_f:()=>K,bn:()=>Be,dB:()=>L,eg:()=>on,f2:()=>F,i7:()=>tt,n6:()=>Rt,t6:()=>j,w_:()=>Pe,wn:()=>g,yZ:()=>Ve});const g=9,D=13,I=16,E=17,O=18,K=27,j=32,Pe=33,L=34,ne=35,Ve=36,Fe=37,tt=38,nt=39,Rt=40,F=48,Be=57,Ie=65,fe=90,Y=91,on=224},6019(Yt,ve,a){a.d(ve,{hJ:()=>$,rR:()=>Ot,Sf:()=>Ee,z_:()=>en,yY:()=>ot,gA:()=>Te,$M:()=>Y,uA:()=>Mt,Y$:()=>M,RH:()=>kt});var u=a(6563),h=a(6124),g=a(6223),Q=a(8508),D=a(8310);function I(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Moc
vendor: 10,327 bytes, line 1
1ha}var E=a(9504),O=a(4205),X=a(7092);function B(st){return null==st?"":"string"==typeof st?st:`${st}px`}var K=a(9059),j=a(4344),Pe=a(6186),L=a(1567),ne=a(6306),Ve=a(3433),Fe=a(9168),tt=a(3680);const $e=(0,Pe.CZ)();function Te(st){return new le(st.get(j.Xj),st.get(u.qQL))}class le{_viewportRuler;_previousHTMLStyles={top:"",left:""};_previousScrollPosition;_isEnabled=!1;_document;constructor(se,Ye){this._viewportRuler=se,this._document=Ye}attach(){}enable(){if(this._canBeEnabled()){const se=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=se.style.left||"",this._previousHTMLStyles.top=se.style.top||"",se.style.left=B(-this._previousScrollPosition.left),se.style.top=B(-this._previousScrollPosition.top),se.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const se=this._document.documentElement,at=se.style,Wt=this._document.body.style,Xt=at.scrollBehavior||"",Mn=Wt.scrollBehavior||"";this._isEnabled=!1,at.left=this._previousHTMLStyles.left,at.top=this._previousHTMLStyles.top,se.classList.remove("cdk-global-scrollblock"),$e&&(at.scrollBehavior=Wt.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),$e&&(at.scrollBehavior=Xt,Wt.scrollBehavior=Mn)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const Ye=this._document.documentElement,at=this._viewportRuler.getViewportSize();return Ye.scrollHeight>at.height||Ye.scrollWidth>at.width}}class ze{_scrollDispatcher;_ngZone;_viewportRuler;_config;_scrollSubscription=null;_overlayRef;_initialScrollPosition;constructor(se,Ye,at,Wt){this._scrollDispatcher=se,this._ngZone=Ye,this._viewportRuler=at,this._config=Wt}attach(se){this._overlayRef=se}enable(){if(this._scrollSubscription)return;const se=this._scrollDispatcher.scrolled(0).pipe((0,L.p)(Ye=>!Ye||!this._overlayRef.overlayElement.contains(Ye.getElementRef().nativeElement)));this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=se.subscribe(()=>{const Ye=this._viewportRuler.getViewportScrollPosition().top;Math.abs(Ye-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=se.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}_detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}class _t{enable(){}disable(){}attach(){}}function Re(st,se){return se.some(Ye=>st.bottom<Ye.top||st.top>Ye.bottom||st.right<Ye.left||st.left>Ye.right)}function Et(st,se){return se.some(Ye=>st.top<Ye.top||st.bottom>Ye.bottom||st.left<Ye.left||st.right>Ye.right)}function kt(st,se){return new ht(st.get(j.R),st.get(j.Xj),st.get(u.SKi),se)}class ht{_scrollDispatcher;_viewportRuler;_ngZone;_config;_scrollSubscription=null;_overlayRef;constructor(se,Ye,at,Wt){this._scrollDispatcher=se,this._viewportRuler=Ye,this._ngZone=at,this._config=Wt}attach(se){this._overlayRef=se}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 Ye=this._overlayRef.overlayElement.getBoundingClientRect(),{width:at,height:Wt}=this._viewportRuler.getViewportSize();Re(Ye,[{width:at,height:Wt,bottom:Wt,right:at,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 Ne=(()=>{class st{_injector=(0,u.WQX)(u.zZn);constructor(){}noop=()=>new _t;close=Ye=>function Ie(st,se){return new ze(st.get(j.R),st.get(u.SKi),st.get(j.Xj),se)}(this._injector,Ye);block=()=>Te(this._injector);reposition=Ye=>kt(this._injector,Ye);static \u0275fac=function(at){return new(at||st)};static \u0275prov=u.jDH({token:st,factory:st.\u0275fac,providedIn:"root"})}return st})();class Ot{positionStrategy;scrollStrategy=new _t;panelClass="";hasBackdrop=!1;backdropClass="cdk-overlay-dark-backdrop";disableAnimations;width;height;minWidth;minHeight;maxWidth;maxHeight;direction;disposeOnNavigation=!1;usePopover;eventPredicate;constructor(se){if(se){const Ye=Object.keys(se);for(const at of Ye)void 0!==se[at]&&(this[at]=se[at])}}}class rt{connectionPair;scrollableViewProperties;constructor(se,Ye){this.connectionPair=se,this.scrollableViewProperties=Ye}}let ut=(()=>{class st{_attachedOverlays=[];_document=(0,u.WQX)(u.qQL);_isAttached=!1;constructor(){}ngOnDestroy(){this.detach()}add(Ye){this.remove(Ye),this._attachedOverlays.push(Ye)}remove(Ye){const at=this._attachedOverlays.indexOf(Ye);at>-1&&this._attachedOverlays.splice(at,1),0===this._attachedOverlays.length&&this.detach()}canReceiveEvent(Ye,at,Wt){return!(Wt.observers.length<1)&&(!Ye.eventPredicate||Ye.eventPredicate(at))}static \u0275fac=function(at){return new(at||st)};static \u0275prov=u.jDH({token:st,factory:st.\u0275fac,providedIn:"root"})}return st})(),St=(()=>{class st extends ut{_ngZone=(0,u.WQX)(u.SKi);_renderer=(0,u.WQX)(h._9s).createRenderer(null,null);_cleanupKeydown;add(Ye){super.add(Ye),this._isAttached||(this._ngZone.runOutsideAngular(()=>{this._cleanupKeydown=this._renderer.listen("body","keydown",this._keydownListener)}),this._isAttached=!0)}detach(){this._isAttached&&(this._cleanupKeydown?.(),this._isAttached=!1)}_keydownListener=Ye=>{const at=this._attachedOverlays;for(let Wt=at.length-1;Wt>-1;Wt--){const Xt=at[Wt];if(this.canReceiveEvent(Xt,Ye,Xt._keydownEvents)){this._ngZone.run(()=>Xt._keydownEvents.next(Ye));break}}};static \u0275fac=(()=>{let Ye;return function(Wt){return(Ye||(Ye=h.xGo(st)))(Wt||st)}})();static \u0275prov=u.jDH({token:st,factory:st.\u0275fac,providedIn:"root"})}return st})(),yt=(()=>{class st extends ut{_platform=(0,u.WQX)(Q.O);_ngZone=(0,u.WQX)(u.SKi);_renderer=(0,u.WQX)(h._9s).createRenderer(null,null);_cursorOriginalValue;_cursorStyleIsSet=!1;_pointerDownEventTarget=null;_cleanups;add(Ye){if(super.add(Ye),!this._isAttached){const at=this._document.body,Wt={capture:!0},Xt=this._renderer;this._cleanups=this._ngZone.runOutsideAngular(()=>[Xt.listen(at,"pointerdown",this._pointerDownListener,Wt),Xt.listen(at,"click",this._clickListener,Wt),Xt.listen(at,"auxclick",this._clickListener,Wt),Xt.listen(at,"contextmenu",this._clickListener,Wt)]),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=at.style.cursor,at.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){this._isAttached&&(this._cleanups?.forEach(Ye=>Ye()),this._cleanups=void 0,this._platform.IOS&&this._cursorStyleIsSet&&(this._document.body.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1)}_pointerDownListener=Ye=>{this._pointerDownEventTarget=(0,D.Fb)(Ye)};_clickListener=Ye=>{const at=(0,D.Fb)(Ye),Wt="click"===Ye.type&&this._pointerDownEventTarget?this._pointerDownEventTarget:at;this._pointerDownEventTarget=null;const Xt=this._attachedOverlays.slice();for(let Mn=Xt.length-1;Mn>-1;Mn--){const It=Xt[Mn],Zt=It._outsidePointerEvents;if(It.hasAttached()&&this.canReceiveEvent(It,Ye,Zt)){if(Me(It.overlayElement,at)||Me(It.overlayElement,Wt))break;this._ngZone?this._ngZone.run(()=>Zt.next(Ye)):Zt.next(Ye)}}};static \u0275fac=(()=>{let Ye;return function(Wt){return(Ye||(Ye=h.xGo(st)))(Wt||st)}})();static \u0275prov=u.jDH({token:st,factory:st.\u0275fac,providedIn:"root"})}return st})();function Me(st,se){const Ye=typeof ShadowRoot<"u"&&ShadowRoot;let at=se;for(;at;){if(at===st)return!0;at=Ye&&at instanceof ShadowRoot?at.host:at.parentNode}return!1}let De=(()=>{class st{static \u0275fac=function(at){return new(at||st)};static \u0275cmp=h.VBU({type:st,selectors:[["ng-component"]],hostAttrs:["cdk-overlay-style-loader",""],decls:0,vars:0,template:function(at,Wt){},styles:[".cdk-overlay-container, .cdk-global-overlay-wrapper {\n  pointer-events: none;\n  top: 0;\n  left: 0;\n  height: 100%;\n  width: 100%;\n}\n\n.cdk-overlay-container {\n  position: fixed;\n}\n@layer cdk-overlay {\n  .cdk-overlay-container {\n    z-index: 1000;\n  }\n}\n.cdk-overlay-container:empty {\n  display: none;\n}\n\n.cdk-global-overlay-wrapper {\n  display: flex;\n  position: absolute;\n}\n@layer cdk-overlay {\n  .cdk-global-overlay-wrapper {\n    z-index: 1000;\n  }\n}\n\n.cdk-overlay-pane {\n  position: absolute;\n  pointer-events: auto;\n  box-sizing: border-box;\n  display: flex;\n  max-width: 100%;\n  max-height: 100%;\n}\n@layer cdk-overlay {\n  .cdk-overlay-pane {\n    z-index: 1000;\n  }\n}\n\n.cdk-overlay-backdrop {\n  position: absolute;\n  top: 0;\n  bottom: 0;\n  left: 0;\n  right: 0;\n  pointer-events: auto;\n  -webkit-tap-highlight-color: transparent;\n  opacity: 0;\n  touch-action: manipulation;\n}\n@layer cdk-overlay {\n  .cdk-overlay-backdrop {\n    z-index: 1000;\n    transition: opacity 400ms cubic-bezier(0.25, 0.8, 0.25, 1);\n  }\n}\n@media (prefers-reduced-motion) {\n  .cdk-overlay-backdrop {\n    transition-duration: 1ms;\n  }\n}\n\n.cdk-overlay-backdrop-showing {\n  opacity: 1;\n}\n@media (forced-colors: active) {\n  .cdk-overlay-backdrop-showing {\n    opacity: 0.6;\n  }\n}\n\n@layer cdk-overlay {\n  .cdk-overlay-dark-backdrop {\n    background: rgba(0, 0, 0, 0.32);\n  }\n}\n\n.cdk-overlay-transparent-backdrop {\n  transition: visibility 1ms linear, opacity 1ms linear;\n  visibility: hidden;\n  opacity: 1;\n}\n.cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing, .cdk-high-contrast-active .cdk-overlay-transparent-backdrop {\n  opacity: 0;\n  visibility: visible;\n}\n\n.cdk-overlay-backdrop-noop-animation {\n  transition: none;\n}\n\n.cdk-overlay-connected-position-bounding-box {\n  position: absolute;\n  display: flex;\n  flex-direction: column;\n  min-width: 1px;\n  min-height: 1px;\n}\n@layer cdk-overlay {\n  .cdk-overlay-connected-position-bounding-box {\n    z-index: 1000;\n  }\n}\n\n.cdk-global-scrollblock {\n  position: fixed;\n  width: 100%;
1\n  overflow-y: scroll;\n}\n\n.cdk-overlay-popover {\n  background: none;\n  border: none;\n  padding: 0;\n  outline: 0;\n  overflow: visible;\n  position: fixed;\n  pointer-events: none;\n  white-space: normal;\n  color: inherit;\n  text-decoration: none;\n  width: 100%;\n  height: 100%;\n  inset: auto;\n  top: 0;\n  left: 0;\n}\n.cdk-overlay-popover::backdrop {\n  display: none;\n}\n.cdk-overlay-popover .cdk-overlay-backdrop {\n  position: fixed;\n  z-index: auto;\n}\n"],encapsulation:2,changeDetection:0})}return st})(),Ee=(()=>{class st{_platform=(0,u.WQX)(Q.O);_containerElement;_document=(0,u.WQX)(u.qQL);_styleLoader=(0,u.WQX)(E.l);constructor(){}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._loadStyles(),this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const Ye="cdk-overlay-container";if(this._platform.isBrowser||I()){const Wt=this._document.querySelectorAll(`.${Ye}[platform="server"], .${Ye}[platform="test"]`);for(let Xt=0;Xt<Wt.length;Xt++)Wt[Xt].remove()}const at=this._document.createElement("div");at.classList.add(Ye),I()?at.setAttribute("platform","test"):this._platform.isBrowser||at.setAttribute("platform","server"),this._document.body.appendChild(at),this._containerElement=at}_loadStyles(){this._styleLoader.load(De)}static \u0275fac=function(at){return new(at||st)};static \u0275prov=u.jDH({token:st,factory:st.\u0275fac,providedIn:"root"})}return st})();class i{_renderer;_ngZone;element;_cleanupClick;_cleanupTransitionEnd;_fallbackTimeout;constructor(se,Ye,at,Wt){this._renderer=Ye,this._ngZone=at,this.element=se.createElement("div"),this.element.classList.add("cdk-overlay-backdrop"),this._cleanupClick=Ye.listen(this.element,"click",Wt)}detach(){this._ngZone.runOutsideAngular(()=>{const se=this.element;clearTimeout(this._fallbackTimeout),this._cleanupTransitionEnd?.(),this._cleanupTransitionEnd=this._renderer.listen(se,"transitionend",this.dispose),this._fallbackTimeout=setTimeout(this.dispose,500),se.style.pointerEvents="none",se.classList.remove("cdk-overlay-backdrop-showing")})}dispose=()=>{clearTimeout(this._fallbackTimeout),this._cleanupClick?.(),this._cleanupTransitionEnd?.(),this._cleanupClick=this._cleanupTransitionEnd=this._fallbackTimeout=void 0,this.element.remove()}}function ke(st){return st&&1===st.nodeType}class ot{_portalOutlet;_host;_pane;_config;_ngZone;_keyboardDispatcher;_document;_location;_outsideClickDispatcher;_animationsDisabled;_injector;_renderer;_backdropClick=new O.B;_attachments=new O.B;_detachments=new O.B;_positionStrategy;_scrollStrategy;_locationChanges=X.yU.EMPTY;_backdropRef=null;_detachContentMutationObserver;_detachContentAfterRenderRef;_disposed=!1;_previousHostParent;_keydownEvents=new O.B;_outsidePointerEvents=new O.B;_afterNextRenderRef;constructor(se,Ye,at,Wt,Xt,Mn,It,Zt,R,k=!1,ye,Nt){this._portalOutlet=se,this._host=Ye,this._pane=at,this._config=Wt,this._ngZone=Xt,this._keyboardDispatcher=Mn,this._document=It,this._location=Zt,this._outsideClickDispatcher=R,this._animationsDisabled=k,this._injector=ye,this._renderer=Nt,Wt.scrollStrategy&&(this._scrollStrategy=Wt.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=Wt.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropRef?.element||null}get hostElement(){return this._host}get eventPredicate(){return this._config?.eventPredicate||null}attach(se){if(this._disposed)return null;this._attachHost();const Ye=this._portalOutlet.attach(se);return this._positionStrategy?.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._afterNextRenderRef?.destroy(),this._afterNextRenderRef=(0,h.mal)(()=>{this.hasAttached()&&this.updatePosition()},{injector:this._injector}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._completeDetachContent(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),"function"==typeof Ye?.onDestroy&&Ye.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),Ye}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();const se=this._portalOutlet.detach();return this._detachments.next(),this._completeDetachContent(),this._keyboardDispatcher.remove(this),this._detachContentWhenEmpty(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),se}dispose(){if(this._disposed)return;const se=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._backdropRef?.dispose(),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dis
vendor: 8,963 bytes, line 1
1pose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),this._host?.remove(),this._afterNextRenderRef?.destroy(),this._previousHostParent=this._pane=this._host=this._backdropRef=null,se&&this._detachments.next(),this._detachments.complete(),this._completeDetachContent(),this._disposed=!0}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(se){se!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=se,this.hasAttached()&&(se.attach(this),this.updatePosition()))}updateSize(se){this._config={...this._config,...se},this._updateElementSize()}setDirection(se){this._config={...this._config,direction:se},this._updateElementDirection()}addPanelClass(se){this._pane&&this._toggleClasses(this._pane,se,!0)}removePanelClass(se){this._pane&&this._toggleClasses(this._pane,se,!1)}getDirection(){const se=this._config.direction;return se?"string"==typeof se?se:se.value:"ltr"}updateScrollStrategy(se){se!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=se,this.hasAttached()&&(se.attach(this),se.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const se=this._pane.style;se.width=B(this._config.width),se.height=B(this._config.height),se.minWidth=B(this._config.minWidth),se.minHeight=B(this._config.minHeight),se.maxWidth=B(this._config.maxWidth),se.maxHeight=B(this._config.maxHeight)}_togglePointerEvents(se){this._pane.style.pointerEvents=se?"":"none"}_attachHost(){if(!this._host.parentElement){const se=this._config.usePopover?this._positionStrategy?.getPopoverInsertionPoint?.():null;ke(se)?se.after(this._host):"parent"===se?.type?se.element.appendChild(this._host):this._previousHostParent?.appendChild(this._host)}if(this._config.usePopover)try{this._host.showPopover()}catch{}}_attachBackdrop(){const se="cdk-overlay-backdrop-showing";this._backdropRef?.dispose(),this._backdropRef=new i(this._document,this._renderer,this._ngZone,Ye=>{this._backdropClick.next(Ye)}),this._animationsDisabled&&this._backdropRef.element.classList.add("cdk-overlay-backdrop-noop-animation"),this._config.backdropClass&&this._toggleClasses(this._backdropRef.element,this._config.backdropClass,!0),this._config.usePopover?this._host.prepend(this._backdropRef.element):this._host.parentElement.insertBefore(this._backdropRef.element,this._host),!this._animationsDisabled&&typeof requestAnimationFrame<"u"?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>this._backdropRef?.element.classList.add(se))}):this._backdropRef.element.classList.add(se)}_updateStackingOrder(){!this._config.usePopover&&this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){this._animationsDisabled?(this._backdropRef?.dispose(),this._backdropRef=null):this._backdropRef?.detach()}_toggleClasses(se,Ye,at){const Wt=(0,K.F)(Ye||[]).filter(Xt=>!!Xt);Wt.length&&(at?se.classList.add(...Wt):se.classList.remove(...Wt))}_detachContentWhenEmpty(){let se=!1;try{this._detachContentAfterRenderRef=(0,h.mal)(()=>{se=!0,this._detachContent()},{injector:this._injector})}catch(Ye){if(se)throw Ye;this._detachContent()}globalThis.MutationObserver&&this._pane&&(this._detachContentMutationObserver||=new globalThis.MutationObserver(()=>{this._detachContent()}),this._detachContentMutationObserver.observe(this._pane,{childList:!0}))}_detachContent(){(!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()),this._completeDetachContent())}_completeDetachContent(){this._detachContentAfterRenderRef?.destroy(),this._detachContentAfterRenderRef=void 0,this._detachContentMutationObserver?.disconnect()}_disposeScrollStrategy(){const se=this._scrollStrategy;se?.disable(),se?.detach?.()}}const Xe="cdk-overlay-connected-position-bounding-box",fe=/([A-Za-z%]+)$/;function Y(st,se){return new Se(se,st.get(j.Xj),st.get(u.qQL),st.get(Q.O),st.get(Ee))}class Se{_viewportRuler;_document;_platform;_overlayContainer;_overlayRef;_isInitialRender=!1;_lastBoundingBoxSize={width:0,height:0};_isPushed=!1;_canPush=!0;_growAfterOpen=!1;_hasFlexibleDimensions=!0;_positionLocked=!1;_originRect;_overlayRect;_viewportRect;_containerRect;_viewportMargin=0;_scrollables=[];_preferredPositions=[];_origin;_pane;_isDisposed=!1;_boundingBox=null;_lastPosition=null;_lastScrollVisibility=null;_positionChanges=new O.B;_resizeSubscription=X.yU.EMPTY;_offsetX=0;_offsetY=0;_transformOriginSelector;_appliedPanelClasses=[];_previousPushAmount=null;_popoverLocation="global";positionChanges=this._positionChanges;get positions(){return this._preferredPositions}constructor(se,Ye,at,Wt,Xt){this._viewportRuler=Ye,this._document=at,this._platform=Wt,this._overlayContainer=Xt,this.setOrigin(se)}attach(se){this._validatePositions(),se.hostElement.classList.add(Xe),this._overlayRef=se,this._boundingBox=se.hostElement,this._pane=se.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._getContainerRect();const se=this._originRect,Ye=this._overlayRect,at=this._viewportRect,Wt=this._containerRect,Xt=[];let Mn;for(let It of this._preferredPositions){let Zt=this._getOriginPoint(se,Wt,It),R=this._getOverlayPoint(Zt,Ye,It),k=this._getOverlayFit(R,Ye,at,It);if(k.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(It,Zt);this._canFitWithFlexibleDimensions(k,R,at)?Xt.push({position:It,origin:Zt,overlayRect:Ye,boundingBoxRect:this._calculateBoundingBoxRect(Zt,It)}):(!Mn||Mn.overlayFit.visibleArea<k.visibleArea)&&(Mn={overlayFit:k,overlayPoint:R,originPoint:Zt,position:It,overlayRect:Ye})}if(Xt.length){let It=null,Zt=-1;for(const R of Xt){const k=R.boundingBoxRect.width*R.boundingBoxRect.height*(R.position.weight||1);k>Zt&&(Zt=k,It=R)}return this._isPushed=!1,void this._applyPosition(It.position,It.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(Mn.position,Mn.originPoint);this._applyPosition(Mn.position,Mn.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&Ce(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(Xe),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;const se=this._lastPosition;se?(this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._getContainerRect(),this._applyPosition(se,this._getOriginPoint(this._originRect,this._containerRect,se))):this.apply()}withScrollableContainers(se){return this._scrollables=se,this}withPositions(se){return this._preferredPositions=se,-1===se.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(se){return this._viewportMargin=se,this}withFlexibleDimensions(se=!0){return this._hasFlexibleDimensions=se,this}withGrowAfterOpen(se=!0){return this._growAfterOpen=se,this}withPush(se=!0){return this._canPush=se,this}withLockedPosition(se=!0){return this._positionLocked=se,this}setOrigin(se){return this._origin=se,this}withDefaultOffsetX(se){return this._offsetX=se,this}withDefaultOffsetY(se){return this._offsetY=se,this}withTransformOriginOn(se){return this._transformOriginSelector=se,this}withPopoverLocation(se){return this._popoverLocation=se,this}getPopoverInsertionPoint(){return"global"===this._popoverLocation?null:"inl
1ine"!==this._popoverLocation?this._popoverLocation:this._origin instanceof h.aKT?this._origin.nativeElement:ke(this._origin)?this._origin:null}_getOriginPoint(se,Ye,at){let Wt,Xt;if("center"==at.originX)Wt=se.left+se.width/2;else{const Mn=this._isRtl()?se.right:se.left,It=this._isRtl()?se.left:se.right;Wt="start"==at.originX?Mn:It}return Ye.left<0&&(Wt-=Ye.left),Xt="center"==at.originY?se.top+se.height/2:"top"==at.originY?se.top:se.bottom,Ye.top<0&&(Xt-=Ye.top),{x:Wt,y:Xt}}_getOverlayPoint(se,Ye,at){let Wt,Xt;return Wt="center"==at.overlayX?-Ye.width/2:"start"===at.overlayX?this._isRtl()?-Ye.width:0:this._isRtl()?0:-Ye.width,Xt="center"==at.overlayY?-Ye.height/2:"top"==at.overlayY?0:-Ye.height,{x:se.x+Wt,y:se.y+Xt}}_getOverlayFit(se,Ye,at,Wt){const Xt=_e(Ye);let{x:Mn,y:It}=se,Zt=this._getOffset(Wt,"x"),R=this._getOffset(Wt,"y");Zt&&(Mn+=Zt),R&&(It+=R);let Nt=0-It,qt=It+Xt.height-at.height,bn=this._subtractOverflows(Xt.width,0-Mn,Mn+Xt.width-at.width),Rn=this._subtractOverflows(Xt.height,Nt,qt),pn=bn*Rn;return{visibleArea:pn,isCompletelyWithinViewport:Xt.width*Xt.height===pn,fitsInViewportVertically:Rn===Xt.height,fitsInViewportHorizontally:bn==Xt.width}}_canFitWithFlexibleDimensions(se,Ye,at){if(this._hasFlexibleDimensions){const Wt=at.bottom-Ye.y,Xt=at.right-Ye.x,Mn=ct(this._overlayRef.getConfig().minHeight),It=ct(this._overlayRef.getConfig().minWidth);return(se.fitsInViewportVertically||null!=Mn&&Mn<=Wt)&&(se.fitsInViewportHorizontally||null!=It&&It<=Xt)}return!1}_pushOverlayOnScreen(se,Ye,at){if(this._previousPushAmount&&this._positionLocked)return{x:se.x+this._previousPushAmount.x,y:se.y+this._previousPushAmount.y};const Wt=_e(Ye),Xt=this._viewportRect,Mn=Math.max(se.x+Wt.width-Xt.width,0),It=Math.max(se.y+Wt.height-Xt.height,0),Zt=Math.max(Xt.top-at.top-se.y,0),R=Math.max(Xt.left-at.left-se.x,0);let k=0,ye=0;return k=Wt.width<=Xt.width?R||-Mn:se.x<this._getViewportMarginStart()?Xt.left-at.left-se.x:0,ye=Wt.height<=Xt.height?Zt||-It:se.y<this._getViewportMarginTop()?Xt.top-at.top-se.y:0,this._previousPushAmount={x:k,y:ye},{x:se.x+k,y:se.y+ye}}_applyPosition(se,Ye){if(this._setTransformOrigin(se),this._setOverlayElementStyles(Ye,se),this._setBoundingBoxStyles(Ye,se),se.panelClass&&this._addPanelClasses(se.panelClass),this._positionChanges.observers.length){const at=this._getScrollVisibility();if(se!==this._lastPosition||!this._lastScrollVisibility||!function P(st,se){return st===se||st.isOriginClipped===se.isOriginClipped&&st.isOriginOutsideView===se.isOriginOutsideView&&st.isOverlayClipped===se.isOverlayClipped&&st.isOverlayOutsideView===se.isOverlayOutsideView}(this._lastScrollVisibility,at)){const Wt=new rt(se,at);this._positionChanges.next(Wt)}this._lastScrollVisibility=at}this._lastPosition=se,this._isInitialRender=!1}_setTransformOrigin(se){if(!this._transformOriginSelector)return;const Ye=this._boundingBox.querySelectorAll(this._transformOriginSelector);let at,Wt=se.overlayY;at="center"===se.overlayX?"center":this._isRtl()?"start"===se.overlayX?"right":"left":"start"===se.overlayX?"left":"right";for(let Xt=0;Xt<Ye.length;Xt++)Ye[Xt].style.transformOrigin=`${at} ${Wt}`}_calculateBoundingBoxRect(se,Ye){const at=this._viewportRect,Wt=this._isRtl();let Xt,Mn,It;if("top"===Ye.overlayY)Mn=se.y,Xt=at.height-Mn+this._getViewportMarginBottom();else if("bottom"===Ye.overlayY)It=at.height-se.y+this._getViewportMarginTop()+this._getViewportMarginBottom(),Xt=at.height-It+this._getViewportMarginTop();else{const qt=Math.min(at.bottom-se.y+at.top,se.y),bn=this._lastBoundingBoxSize.height;Xt=2*qt,Mn=se.y-qt,Xt>bn&&!this._isInitialRender&&!this._growAfterOpen&&(Mn=se.y-bn/2)}const Zt="start"===Ye.overlayX&&!Wt||"end"===Ye.overlayX&&Wt;let k,ye,Nt;if("end"===Ye.overlayX&&!Wt||"start"===Ye.overlayX&&Wt)Nt=at.width-se.x+this._getViewportMarginStart()+this._getViewportMarginEnd(),k=se.x-this._getViewportMarginStart();else if(Zt)ye=se.x,k=at.right-se.x-this._getViewportMarginEnd();else{const qt=Math.min(at.right-se.x+at.left,se.x),bn=this._lastBoundingBoxSize.width;k=2*qt,ye=se.x-qt,k>bn&&!this._isInitialRender&&!this._growAfterOpen&&(ye=se.x-bn/2)}return{top:Mn,left:ye,bottom:It,right:Nt,width:k,height:Xt}}_setBoundingBoxStyles(se,Ye){const at=this._calculateBoundingBoxRect(se,Ye);!this._isInitialRender&&!this._growAfterOpen&&(at.height=Math.min(at.height,this._lastBoundingBoxSize.height),at.width=Math.min(at.width,this._lastBoundingBoxSize.width));const Wt={};if(this._hasExactPosition())Wt.top=Wt.left="0",Wt.bottom=Wt.right="auto",Wt.maxHeight=Wt.maxWidth="",Wt.width=Wt.height="100%";else{const Xt=this._overlayRef.getConfig().maxHeight,Mn=this._overlayRef.getConfig().maxWidth;Wt.width=B(at.width),Wt.height=B(at.height),Wt.top=B(at.top)||"auto",Wt.bottom=B(at.bottom)||"auto",Wt.left=B(at.left)||"auto",Wt.right=B(at.right)||"auto",Wt.alignItems="center"===Ye.overlayX?"center":"end"===Ye.overlayX?"flex-end":"flex-start",Wt.justifyContent="center"===Ye.overlayY?"center":"bottom"===Ye.overlayY?"flex-end":"flex-start",Xt&&(Wt.maxHeight=B(Xt)),Mn&&(Wt.maxWidth=B(Mn))}this._lastBoundingBoxSize=at,Ce(this._boundingBox.style,Wt)}_resetBoundingBoxStyles(){Ce(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){Ce(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(se,Ye){const at={},Wt=this._hasExactPosition(),Xt=this._hasFlexibleDimensions,Mn=this._overlayRef.getConfig();if(Wt){const k=this._viewportRuler.getViewportScrollPosition();
vendor: 5,249 bytes, line 1
1Ce(at,this._getExactOverlayY(Ye,se,k)),Ce(at,this._getExactOverlayX(Ye,se,k))}else at.position="static";let It="",Zt=this._getOffset(Ye,"x"),R=this._getOffset(Ye,"y");Zt&&(It+=`translateX(${Zt}px) `),R&&(It+=`translateY(${R}px)`),at.transform=It.trim(),Mn.maxHeight&&(Wt?at.maxHeight=B(Mn.maxHeight):Xt&&(at.maxHeight="")),Mn.maxWidth&&(Wt?at.maxWidth=B(Mn.maxWidth):Xt&&(at.maxWidth="")),Ce(this._pane.style,at)}_getExactOverlayY(se,Ye,at){let Wt={top:"",bottom:""},Xt=this._getOverlayPoint(Ye,this._overlayRect,se);return this._isPushed&&(Xt=this._pushOverlayOnScreen(Xt,this._overlayRect,at)),"bottom"===se.overlayY?Wt.bottom=this._document.documentElement.clientHeight-(Xt.y+this._overlayRect.height)+"px":Wt.top=B(Xt.y),Wt}_getExactOverlayX(se,Ye,at){let Mn,Wt={left:"",right:""},Xt=this._getOverlayPoint(Ye,this._overlayRect,se);return this._isPushed&&(Xt=this._pushOverlayOnScreen(Xt,this._overlayRect,at)),Mn=this._isRtl()?"end"===se.overlayX?"left":"right":"end"===se.overlayX?"right":"left","right"===Mn?Wt.right=this._document.documentElement.clientWidth-(Xt.x+this._overlayRect.width)+"px":Wt.left=B(Xt.x),Wt}_getScrollVisibility(){const se=this._getOriginRect(),Ye=this._pane.getBoundingClientRect(),at=this._scrollables.map(Wt=>Wt.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:Et(se,at),isOriginOutsideView:Re(se,at),isOverlayClipped:Et(Ye,at),isOverlayOutsideView:Re(Ye,at)}}_subtractOverflows(se,...Ye){return Ye.reduce((at,Wt)=>at-Math.max(Wt,0),se)}_getNarrowedViewportRect(){const se=this._document.documentElement.clientWidth,Ye=this._document.documentElement.clientHeight,at=this._viewportRuler.getViewportScrollPosition();return{top:at.top+this._getViewportMarginTop(),left:at.left+this._getViewportMarginStart(),right:at.left+se-this._getViewportMarginEnd(),bottom:at.top+Ye-this._getViewportMarginBottom(),width:se-this._getViewportMarginStart()-this._getViewportMarginEnd(),height:Ye-this._getViewportMarginTop()-this._getViewportMarginBottom()}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(se,Ye){return"x"===Ye?null==se.offsetX?this._offsetX:se.offsetX:null==se.offsetY?this._offsetY:se.offsetY}_validatePositions(){}_addPanelClasses(se){this._pane&&(0,K.F)(se).forEach(Ye=>{""!==Ye&&-1===this._appliedPanelClasses.indexOf(Ye)&&(this._appliedPanelClasses.push(Ye),this._pane.classList.add(Ye))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(se=>{this._pane.classList.remove(se)}),this._appliedPanelClasses=[])}_getViewportMarginStart(){return"number"==typeof this._viewportMargin?this._viewportMargin:this._viewportMargin?.start??0}_getViewportMarginEnd(){return"number"==typeof this._viewportMargin?this._viewportMargin:this._viewportMargin?.end??0}_getViewportMarginTop(){return"number"==typeof this._viewportMargin?this._viewportMargin:this._viewportMargin?.top??0}_getViewportMarginBottom(){return"number"==typeof this._viewportMargin?this._viewportMargin:this._viewportMargin?.bottom??0}_getOriginRect(){const se=this._origin;if(se instanceof h.aKT)return se.nativeElement.getBoundingClientRect();if(se instanceof Element)return se.getBoundingClientRect();const Ye=se.width||0,at=se.height||0;return{top:se.y,bottom:se.y+at,left:se.x,right:se.x+Ye,height:at,width:Ye}}_getContainerRect(){const se=this._overlayRef.getConfig().usePopover&&"global"!==this._popoverLocation,Ye=this._overlayContainer.getContainerElement();se&&(Ye.style.display="block");const at=Ye.getBoundingClientRect();return se&&(Ye.style.display=""),at}}function Ce(st,se){for(let Ye in se)se.hasOwnProperty(Ye)&&(st[Ye]=se[Ye]);return st}function ct(st){if("number"!=typeof st&&null!=st){const[se,Ye]=st.split(fe);return Ye&&"px"!==Ye?null:parseFloat(se)}return st||null}function _e(st){return{top:Math.floor(st.top),right:Math.floor(st.right),bottom:Math.floor(st.bottom),left:Math.floor(st.left),width:Math.floor(st.width),height:Math.floor(st.height)}}const wt="cdk-global-overlay-wrapper";function Mt(st){return new jt}class jt{_overlayRef;_cssPosition="static";_topOffset="";_bottomOffset="";_alignItems="";_xPosition="";_xOffset="";_width="";_height="";_isDisposed=!1;attach(se){const Ye=se.getConfig();this._overlayRef=se,this._width&&!Ye.width&&se.updateSize({width:this._width}),this._height&&!Ye.height&&se.updateSize({height:this._height}),se.hostElement.classList.add(wt),this._isDisposed=!1}top(se=""){return this._bottomOffset="",this._topOffset=se,this._alignItems="flex-start",this}left(se=""){return this._xOffset=se,this._xPosition="left",this}bottom(se=""){return this._topOffset="",this._bottomOffset=se,this._alignItems="flex-end",this}right(se=""){return this._xOffset=se,this._xPosition="right",this}start(se=""){return this._xOffset=se,this._xPosition="start",this}end(se=""){return this._xOffset=se,this._xPosition="end",this}width(se=""){return this._overlayRef?this._overlayRef.updateSize({width:se}):this._width=se,this}height(se=""){return this._overlayRef?this._overlayRef.updateSize({height:se}):this._height=se,this}centerHorizontally(se=""){return this.left(se),this._xPosition="center",this}centerVertically(se=""){return this.top(se),this._alignItems="center",this}
1apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const se=this._overlayRef.overlayElement.style,Ye=this._overlayRef.hostElement.style,at=this._overlayRef.getConfig(),{width:Wt,height:Xt,maxWidth:Mn,maxHeight:It}=at,Zt=!("100%"!==Wt&&"100vw"!==Wt||Mn&&"100%"!==Mn&&"100vw"!==Mn),R=!("100%"!==Xt&&"100vh"!==Xt||It&&"100%"!==It&&"100vh"!==It),k=this._xPosition,ye=this._xOffset,Nt="rtl"===this._overlayRef.getConfig().direction;let qt="",bn="",Rn="";Zt?Rn="flex-start":"center"===k?(Rn="center",Nt?bn=ye:qt=ye):Nt?"left"===k||"end"===k?(Rn="flex-end",qt=ye):("right"===k||"start"===k)&&(Rn="flex-start",bn=ye):"left"===k||"start"===k?(Rn="flex-start",qt=ye):("right"===k||"end"===k)&&(Rn="flex-end",bn=ye),se.position=this._cssPosition,se.marginLeft=Zt?"0":qt,se.marginTop=R?"0":this._topOffset,se.marginBottom=this._bottomOffset,se.marginRight=Zt?"0":bn,Ye.justifyContent=Rn,Ye.alignItems=R?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const se=this._overlayRef.overlayElement.style,Ye=this._overlayRef.hostElement,at=Ye.style;Ye.classList.remove(wt),at.justifyContent=at.alignItems=se.marginTop=se.marginBottom=se.marginLeft=se.marginRight=se.position="",this._overlayRef=null,this._isDisposed=!0}}let Ge=(()=>{class st{_injector=(0,u.WQX)(u.zZn);constructor(){}global(){return Mt()}flexibleConnectedTo(Ye){return Y(this._injector,Ye)}static \u0275fac=function(at){return new(at||st)};static \u0275prov=u.jDH({token:st,factory:st.\u0275fac,providedIn:"root"})}return st})();const qe=new u.nKC("OVERLAY_DEFAULT_CONFIG");function M(st,se){st.get(E.l).load(De);const Ye=st.get(Ee),at=st.get(u.qQL),Wt=st.get(ne.g),Xt=st.get(h.o8S),Mn=st.get(Ve.dS),It=st.get(h.sFG,null,{optional:!0})||st.get(h._9s).createRenderer(null,null),Zt=new Ot(se),R=st.get(qe,null,{optional:!0})?.usePopover??!0;Zt.direction=Zt.direction||Mn.value,Zt.usePopover="showPopover"in at.body&&(se?.usePopover??R);const k=at.createElement("div"),ye=at.createElement("div");k.id=Wt.getId("cdk-overlay-"),k.classList.add("cdk-overlay-pane"),ye.appendChild(k),Zt.usePopover&&(ye.setAttribute("popover","manual"),ye.classList.add("cdk-overlay-popover"));const Nt=Zt.usePopover?Zt.positionStrategy?.getPopoverInsertionPoint?.():null;return ke(Nt)?Nt.after(ye):"parent"===Nt?.type?Nt.element.appendChild(ye):Ye.getContainerElement().appendChild(ye),new ot(new Fe.aI(k,Xt,st),ye,k,Zt,st.get(u.SKi),st.get(St),at,st.get(g.aZ),st.get(yt),se?.disableAnimations??"NoopAnimations"===st.get(h.bc$,null,{optional:!0}),st.get(u.uvJ),It)}let $=(()=>{class st{scrollStrategies=(0,u.WQX)(Ne);_positionBuilder=(0,u.WQX)(Ge);_injector=(0,u.WQX)(u.zZn);constructor(){}create(Ye){return M(this._injector,Ye)}position(){return this._positionBuilder}static \u0275fac=function(at){return new(at||st)};static \u0275prov=u.jDH({token:st,factory:st.\u0275fac,providedIn:"root"})}return st})(),en=(()=>{class st{static \u0275fac=function(at){return new(at||st)};static \u0275mod=h.$C({type:st});static \u0275inj=u.G2t({providers:[$],imports:[tt.jI,Fe.jc,j.E9,j.E9]})}return st})()},2548(Yt,ve,a){let u;function g(Q){return function h(){if(null==u&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>u=!0}))}finally{u=u||!1}return u}()?Q:!!Q.capture}a.d(ve,{B:()=>g})},8508(Yt,ve,a){a.d(ve,{O:()=>D});var u=a(6563),h=a(6124),g=a(316);let Q;try{Q=typeof Intl<"u"&&Intl.v8BreakIterator}catch{Q=!1}let D=(()=>{class I{_platformId=(0,u.WQX)(h.Agw);isBrowser=this._platformId?(0,g.UE)(this._platformId):"object"==typeof document&&!!document;EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent);TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent);BLINK=this.isBrowser&&!(!window.chrome&&!Q)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT;WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT;IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window);FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent);ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT;SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT;constructor(){}static \u0275fac=function(X){return new(X||I)};static \u0275prov=u.jDH({token:I,factory:I.\u0275fac,providedIn:"root"})}return I})()},6186(Yt,ve,a){a.d(ve,{BD:()=>D,CZ:()=>Q,r5:()=>u});var u=function(I){return I[I.NORMAL=0]="NORMAL",I[I.NEGATED=1]="NEGATED",I[I.INVERTED=2]="INVERTED",I}(u||{});let h,g;function Q(){if(null==g){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return g=!1,g;if(document.documentElement?.style&&"scrollBehavior"in document.documentElement.style)g=!0;else{const I=Element.prototype.scrollTo;g=!!I&&!/\{\s*\[native code\]\s*\}/.test(I.toString())}}return g}function D(){if("object"!=typeof document||!document)return u.NORMAL;if(null==h){const I=document.createElement("div"),E=I.style;I.dir="rtl",E.width="1px",E.overflow="auto",E.visibility="hidden",E.pointerEvents="none",E.position="absolute";const O=document.createElement("div"),X=O.style;X.width="2px",X.height="1px",I.appendChild(O),document.body.appendChild(I),h=u.NORMAL,0===I.scrollLeft&&(I.scrollLeft=1,h=0===I.scrollLeft?u.NEGATED:u.INVERTED),I.remove()}return h}},8310(Yt,ve,a){let u;function g(I){if(function h(){if(null==u){const I=typeof document<"u"?document.head:null;u=!(!I||!I.createShadowRoot&&!I.attachShadow)}return u}()){const E=I.getRootNode?I.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&E instanceof ShadowRoot)return E}return null}function Q(){let I=typeof document<"u"&&document?document.activeElement:null;for(;I&&I.shadowRoot;){const E=I.shadowRoot.activeElement;if(E===I)break;I=E}return I}function D(I){return I.composedPath?I.composedPath()[0]:I.target}a.d(ve,{Fb:()=>D,KT:()=>g,vc:()=>Q})},9504(Yt,ve,a){a.d(ve,{l:()=>D});var u=a(6563),h=a(7580),g=a(6124);const Q=new WeakMap;let D=(()=>{class I{_appRef;_injector=(0,u.WQX)(u.zZn);_environmentInjector=(0,u.WQX)(u.uvJ);load(O){const X=this._appRef=this._appRef||this._injector.get(g.o8S);let B=Q.get(X);B||(B={loaders:new Set,refs:[]},Q.set(X,B),X.onDestroy(()=>
1{Q.get(X)?.refs.forEach(K=>K.destroy()),Q.delete(X)})),B.loaders.has(O)||(B.loaders.add(O),B.refs.push((0,h.a0P)(O,{environmentInjector:this._environmentInjector})))}static \u0275fac=function(X){return new(X||I)};static \u0275prov=u.jDH({token:I,factory:I.\u0275fac,providedIn:"root"})}return I})()},1920(Yt,ve,a){a.d(ve,{i:()=>O});var u=a(4205),h=a(2575),g=a(1567),Q=a(271),D=a(8764),I=a(7552);class O{_letterKeyStream=new u.B;_items=[];_selectedItemIndex=-1;_pressedLetters=[];_skipPredicateFn;_selectedItem=new u.B;selectedItem=this._selectedItem;constructor(B,K){const j="number"==typeof K?.debounceInterval?K.debounceInterval:200;K?.skipPredicate&&(this._skipPredicateFn=K.skipPredicate),this.setItems(B),this._setupKeyHandler(j)}destroy(){this._pressedLetters=[],this._letterKeyStream.complete(),this._selectedItem.complete()}setCurrentSelectedItemIndex(B){this._selectedItemIndex=B}setItems(B){this._items=B}handleKey(B){const K=B.keyCode;B.key&&1===B.key.length?this._letterKeyStream.next(B.key.toLocaleUpperCase()):(K>=I.A&&K<=I.Z||K>=I.f2&&K<=I.bn)&&this._letterKeyStream.next(String.fromCharCode(K))}isTyping(){return this._pressedLetters.length>0}reset(){this._pressedLetters=[]}_setupKeyHandler(B){this._letterKeyStream.pipe((0,D.M)(K=>this._pressedLetters.push(K)),(0,h.B)(B),(0,g.p)(()=>this._pressedLetters.length>0),(0,Q.T)(()=>this._pressedLetters.join("").toLocaleUpperCase())).subscribe(K=>{for(let j=1;j<this._items.length+1;j++){const L=this._items[(this._selectedItemIndex+j)%this._items.length];if(!this._skipPredicateFn?.(L)&&0===L.getLabel?.().toLocaleUpperCase().trim().indexOf(K)){this._selectedItem.next(L);break}}this._pressedLetters=[]})}}},78(Yt,ve,a){a.d(ve,{z:()=>h});var u=a(6563);let h=(()=>{class g{_listeners=[];notify(D,I){for(let E of this._listeners)E(D,I)}listen(D){return this._listeners.push(D),()=>{this._listeners=this._listeners.filter(I=>D!==I)}}ngOnDestroy(){this._listeners=[]}static \u0275fac=function(I){return new(I||g)};static \u0275prov=u.jDH({token:g,factory:g.\u0275fac,providedIn:"root"})}return g})()},3680(Yt,ve,a){a.d(ve,{jI:()=>X});var I=a(6124),E=a(6563);let X=(()=>{class B{static \u0275fac=function(Pe){return new(Pe||B)};static \u0275mod=I.$C({type:B});static \u0275inj=E.G2t({})}return B})()},2814(Yt,ve,a){function u(g){return null!=g&&"false"!=`${g}`}a.d(ve,{he:()=>u})},4879(Yt,ve,a){function u(h,...g){return g.length?g.some(Q=>h[Q]):h.altKey||h.shiftKey||h.ctrlKey||h.metaKey}a.d(ve,{rp:()=>u})},9168(Yt,ve,a){a.d(ve,{A8:()=>ne,I3:()=>Oe,VA:()=>Ve,aI:()=>nt,jc:()=>xe,lb:()=>tt});var D=a(6124),I=a(6563),E=a(7580);class L{_attachedHost=null;attach(q){return this._attachedHost=q,q.attach(this)}detach(){let q=this._attachedHost;null!=q&&(this._attachedHost=null,q.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(q){this._attachedHost=q}}class ne extends L{component;viewContainerRef;injector;projectableNodes;bindings;constructor(q,F,N,U,ce){super(),this.component=q,this.viewContainerRef=F,this.injector=N,this.projectableNodes=U,this.bindings=ce||null}}class Ve extends L{templateRef;viewContainerRef;context;injector;constructor(q,F,N,U){super(),this.templateRef=q,this.viewContainerRef=F,this.context=N,this.injector=U}get origin(){return this.templateRef.elementRef}attach(q,F=this.context){return this.context=F,super.attach(q)}detach(){return this.context=void 0,super.detach()}}class Fe extends L{element;constructor(q){super(),this.element=q instanceof D.aKT?q.nativeElement:q}}class tt{_attachedPortal=null;_disposeFn=null;_isDisposed=!1;hasAttached(){return!!this._attachedPortal}attach(q){return q instanceof ne?(this._attachedPortal=q,this.attachComponentPortal(q)):q instanceof Ve?(this._attachedPortal=q,this.attachTemplatePortal(q)):this.attachDomPortal&&q instanceof Fe?(this._attachedPortal=q,this.attachDomPortal(q)):void 0}attachDomPortal=null;detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(q){this._disposeFn=q}
vendor: 5,016 bytes, line 1
1_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class nt extends tt{outletElement;_appRef;_defaultInjector;constructor(q,F,N){super(),this.outletElement=q,this._appRef=F,this._defaultInjector=N}attachComponentPortal(q){let F;if(q.viewContainerRef){const N=q.injector||q.viewContainerRef.injector,U=N.get(D.Ab1,null,{optional:!0})||void 0;F=q.viewContainerRef.createComponent(q.component,{index:q.viewContainerRef.length,injector:N,ngModuleRef:U,projectableNodes:q.projectableNodes||void 0,bindings:q.bindings||void 0}),this.setDisposeFn(()=>F.destroy())}else{const N=this._appRef,U=q.injector||this._defaultInjector||I.zZn.NULL,ce=U.get(I.uvJ,N.injector);F=(0,E.a0P)(q.component,{elementInjector:U,environmentInjector:ce,projectableNodes:q.projectableNodes||void 0,bindings:q.bindings||void 0}),N.attachView(F.hostView),this.setDisposeFn(()=>{N.viewCount>0&&N.detachView(F.hostView),F.destroy()})}return this.outletElement.appendChild(this._getComponentRootNode(F)),this._attachedPortal=q,F}attachTemplatePortal(q){let F=q.viewContainerRef,N=F.createEmbeddedView(q.templateRef,q.context,{injector:q.injector});return N.rootNodes.forEach(U=>this.outletElement.appendChild(U)),N.detectChanges(),this.setDisposeFn(()=>{let U=F.indexOf(N);-1!==U&&F.remove(U)}),this._attachedPortal=q,N}attachDomPortal=q=>{const F=q.element,N=this.outletElement.ownerDocument.createComment("dom-portal");F.parentNode.insertBefore(N,F),this.outletElement.appendChild(F),this._attachedPortal=q,super.setDisposeFn(()=>{N.parentNode&&N.parentNode.replaceChild(F,N)})};dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(q){return q.hostView.rootNodes[0]}}let Oe=(()=>{class it extends tt{_moduleRef=(0,I.WQX)(D.Ab1,{optional:!0});_document=(0,I.WQX)(I.qQL);_viewContainerRef=(0,I.WQX)(D.c1b);_isInitialized=!1;_attachedRef=null;constructor(){super()}get portal(){return this._attachedPortal}set portal(F){this.hasAttached()&&!F&&!this._isInitialized||(this.hasAttached()&&super.detach(),F&&super.attach(F),this._attachedPortal=F||null)}attached=new I.bkB;get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedRef=this._attachedPortal=null}attachComponentPortal(F){F.setAttachedHost(this);const N=null!=F.viewContainerRef?F.viewContainerRef:this._viewContainerRef,U=N.createComponent(F.component,{index:N.length,injector:F.injector||N.injector,projectableNodes:F.projectableNodes||void 0,ngModuleRef:this._moduleRef||void 0,bindings:F.bindings||void 0});return N!==this._viewContainerRef&&this._getRootNode().appendChild(U.hostView.rootNodes[0]),super.setDisposeFn(()=>U.destroy()),this._attachedPortal=F,this._attachedRef=U,this.attached.emit(U),U}attachTemplatePortal(F){F.setAttachedHost(this);const N=this._viewContainerRef.createEmbeddedView(F.templateRef,F.context,{injector:F.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=F,this._attachedRef=N,this.attached.emit(N),N}attachDomPortal=F=>{const N=F.element,U=this._document.createComment("dom-portal");F.setAttachedHost(this),N.parentNode.insertBefore(U,N),this._getRootNode().appendChild(N),this._attachedPortal=F,super.setDisposeFn(()=>{U.parentNode&&U.parentNode.replaceChild(N,U)})};_getRootNode(){const F=this._viewContainerRef.element.nativeElement;return F.nodeType===F.ELEMENT_NODE?F:F.parentNode}static \u0275fac=function(N){return new(N||it)};static \u0275dir=D.FsC({type:it,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:[0,"cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[D.Vt3]})}return it})(),xe=(()=>{class it{static \u0275fac=function(N){return new(N||it)};static \u0275mod=D.$C({type:it});static \u0275inj=I.G2t({})}return it})()},9227(Yt,ve,a){a.d(ve,{Mv:()=>I,Yc:()=>g,Z9:()=>E});var u=a(6124),h=a(6563);let Q,g=(()=>{class O{static \u0275fac=function(K){return new(K||O)};static \u0275cmp=u.VBU({type:O,selectors:[["ng-component"]],exportAs:["cdkVisuallyHidden"],decls:0,vars:0,template:function(K,j){},styles:[".cdk-visually-hidden {\n  border: 0;\n  clip: rect(0 0 0 0);\n  height: 1px;\n  margin: -1px;\n  overflow: hidden;\n  padding: 0;\n  position: absolute;\n  width: 1px;\n  white-space: nowrap;\n  outline: 0;\n  -webkit-appearance: none;\n  -moz-appearance: none;\n  left: 0;\n}\n[dir=rtl] .cdk-visually-hidden {\n  left: auto;\n  right: 0;\n}\n"],encapsulation:2,changeDetection:0})}return O})();function I(O){return function D(){if(void 0===Q&&(Q=null,typeof window<"u")){const O=window;void 0!==O.trustedTypes&&(Q=O.trustedTypes.createPolicy("angular#components",{createHTML:X=>X}))}return Q}()?.createHTML(O)||O}function E(O,X,B){const K=B.sanitize(h.WPN.HTML,X);O.innerHTML=I(K||"")}},4344(Yt,ve,a){a.d(ve,{uv:()=>$,R:()=>M,E9:()=>It,Xj:()=>ue});var u=a(6563),h=a(6124),g=a(4205),Q=a(9452),D=a(3942),E=(a(3762),a(428));let X,O=1;const B={};function K(Zt){return Zt in B&&(delete B[Zt],!0)}const j={setImmediate(Zt){const R=O++;
1return B[R]=!0,X||(X=Promise.resolve()),X.then(()=>K(R)&&Zt()),R},clearImmediate(Zt){K(Zt)}},{setImmediate:L,clearImmediate:ne}=j,Ve={setImmediate(...Zt){const{delegate:R}=Ve;return(R?.setImmediate||L)(...Zt)},clearImmediate(Zt){const{delegate:R}=Ve;return(R?.clearImmediate||ne)(Zt)},delegate:void 0};var tt=a(9576);new class nt extends tt.q{flush(R){this._active=!0;const k=this._scheduled;this._scheduled=void 0;const{actions:ye}=this;let Nt;R=R||ye.shift();do{if(Nt=R.execute(R.state,R.delay))break}while((R=ye[0])&&R.id===k&&ye.shift());if(this._active=!1,Nt){for(;(R=ye[0])&&R.id===k&&ye.shift();)R.unsubscribe();throw Nt}}}(class Fe extends E.R{constructor(R,k){super(R,k),this.scheduler=R,this.work=k}requestAsyncId(R,k,ye=0){return null!==ye&&ye>0?super.requestAsyncId(R,k,ye):(R.actions.push(this),R._scheduled||(R._scheduled=Ve.setImmediate(R.flush.bind(R,void 0))))}recycleAsyncId(R,k,ye=0){var Nt;if(null!=ye?ye>0:this.delay>0)return super.recycleAsyncId(R,k,ye);const{actions:qt}=R;null!=k&&(null===(Nt=qt[qt.length-1])||void 0===Nt?void 0:Nt.id)!==k&&(Ve.clearImmediate(k),R._scheduled===k&&(R._scheduled=void 0))}});var xe=a(8473),it=a(819),q=a(2645),F=a(1687),U=a(4876);function ce(Zt,R=xe.E){return function N(Zt){return(0,it.N)((R,k)=>{let ye=!1,Nt=null,qt=null,bn=!1;const Rn=()=>{if(qt?.unsubscribe(),qt=null,ye){ye=!1;const An=Nt;Nt=null,k.next(An)}bn&&k.complete()},pn=()=>{qt=null,bn&&k.complete()};R.subscribe((0,F._)(k,An=>{ye=!0,Nt=An,qt||(0,q.Tg)(Zt(An)).subscribe(qt=(0,F._)(k,Rn,pn))},()=>{bn=!0,(!ye||!qt||qt.closed)&&k.complete()}))})}(()=>(0,U.O)(Zt,R))}var ie=a(1567),we=a(8508),oe=a(6075),de=a(3433),He=a(6186),Be=a(3680);let M=(()=>{class Zt{_ngZone=(0,u.WQX)(u.SKi);_platform=(0,u.WQX)(we.O);_renderer=(0,u.WQX)(h._9s).createRenderer(null,null);_cleanupGlobalListener;constructor(){}_scrolled=new g.B;_scrolledCount=0;scrollContainers=new Map;register(k){this.scrollContainers.has(k)||this.scrollContainers.set(k,k.elementScrolled().subscribe(()=>this._scrolled.next(k)))}deregister(k){const ye=this.scrollContainers.get(k);ye&&(ye.unsubscribe(),this.scrollContainers.delete(k))}scrolled(k=20){return this._platform.isBrowser?new D.c(ye=>{this._cleanupGlobalListener||(this._cleanupGlobalListener=this._ngZone.runOutsideAngular(()=>this._renderer.listen("document","scroll",()=>this._scrolled.next())));const Nt=k>0?this._scrolled.pipe(ce(k)).subscribe(ye):this._scrolled.subscribe(ye);return this._scrolledCount++,()=>{Nt.unsubscribe(),this._scrolledCount--,this._scrolledCount||(this._cleanupGlobalListener?.(),this._cleanupGlobalListener=void 0)}}):(0,Q.of)()}ngOnDestroy(){this._cleanupGlobalListener?.(),this._cleanupGlobalListener=void 0,this.scrollContainers.forEach((k,ye)=>this.deregister(ye)),this._scrolled.complete()}ancestorScrolled(k,ye){const Nt=this.getAncestorScrollContainers(k);return this.scrolled(ye).pipe((0,ie.p)(qt=>!qt||Nt.indexOf(qt)>-1))}getAncestorScrollContainers(k){const ye=[];return this.scrollContainers.forEach((Nt,qt)=>{this._scrollableContainsElement(qt,k)&&ye.push(qt)}),ye}_scrollableContainsElement(k,ye){let Nt=(0,oe.i8)(ye),qt=k.getElementRef().nativeElement;do{if(Nt==qt)return!0}while(Nt=Nt.parentElement);return!1}static \u0275fac=function(ye){return new(ye||Zt)};static \u0275prov=u.jDH({token:Zt,factory:Zt.\u0275fac,providedIn:"root"})}return Zt})(),$=(()=>{class Zt{elementRef=(0,u.WQX)(h.aKT);scrollDispatcher=(0,u.WQX)(M);ngZone=(0,u.WQX)(u.SKi);dir=(0,u.WQX)(de.dS,{optional:!0});_scrollElement=this.elementRef.nativeElement;_destroyed=new g.B;_renderer=(0,u.WQX)(h.sFG);_cleanupScroll;_elementScrolled=new g.B;constructor(){}ngOnInit(){this._cleanupScroll=this.ngZone.runOutsideAngular(()=>this._renderer.listen(this._scrollElement,"scroll",k=>this._elementScrolled.next(k))),this.scrollDispatcher.register(this)}ngOnDestroy(){this._cleanupScroll?.(),this._elementScrolled.complete(),this.scrollDispatcher.deregister(this),this._destroyed.next(),this._destroyed.complete()}elementScrolled(){return this._elementScrolled}getElementRef(){return this.elementRef}scrollTo(k){const ye=this.elementRef.nativeElement,Nt=this.dir&&"rtl"==this.dir.value;null==k.left&&(k.left=Nt?k.end:k.start),null==k.right&&(k.right=Nt?k.start:k.end),null!=k.bottom&&(k.top=ye.scrollHeight-ye.clientHeight-k.bottom),Nt&&(0,He.BD)()!=He.r5.NORMAL?(null!=k.left&&(k.right=ye.scrollWidth-ye.clientWidth-k.left),(0,He.BD)()==He.r5.INVERTED?k.left=k.right:(0,He.BD)()==He.r5.NEGATED&&(k.left=k.right?-k.right:k.right)):null!=k.right&&(k.left=ye.scrollWidth-ye.clientWidth-k.r
1ight),this._applyScrollToOptions(k)}_applyScrollToOptions(k){const ye=this.elementRef.nativeElement;(0,He.CZ)()?ye.scrollTo(k):(null!=k.top&&(ye.scrollTop=k.top),null!=k.left&&(ye.scrollLeft=k.left))}measureScrollOffset(k){const ye="left",qt=this.elementRef.nativeElement;if("top"==k)return qt.scrollTop;if("bottom"==k)return qt.scrollHeight-qt.clientHeight-qt.scrollTop;const bn=this.dir&&"rtl"==this.dir.value;return"start"==k?k=bn?"right":ye:"end"==k&&(k=bn?ye:"right"),bn&&(0,He.BD)()==He.r5.INVERTED?k==ye?qt.scrollWidth-qt.clientWidth-qt.scrollLeft:qt.scrollLeft:bn&&(0,He.BD)()==He.r5.NEGATED?k==ye?qt.scrollLeft+qt.scrollWidth-qt.clientWidth:-qt.scrollLeft:k==ye?qt.scrollLeft:qt.scrollWidth-qt.clientWidth-qt.scrollLeft}static \u0275fac=function(ye){return new(ye||Zt)};static \u0275dir=h.FsC({type:Zt,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]]})}return Zt})(),ue=(()=>{class Zt{_platform=(0,u.WQX)(we.O);_listeners;_viewportSize=null;_change=new g.B;_document=(0,u.WQX)(u.qQL);constructor(){const k=(0,u.WQX)(u.SKi),ye=(0,u.WQX)(h._9s).createRenderer(null,null);k.runOutsideAngular(()=>{if(this._platform.isBrowser){const Nt=qt=>this._change.next(qt);this._listeners=[ye.listen("window","resize",Nt),ye.listen("window","orientationchange",Nt)]}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){this._listeners?.forEach(k=>k()),this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const k={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),k}getViewportRect(){const k=this.getViewportScrollPosition(),{width:ye,height:Nt}=this.getViewportSize();return{top:k.top,left:k.left,bottom:k.top+Nt,right:k.left+ye,height:Nt,width:ye}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const k=this._document,ye=this._getWindow(),Nt=k.documentElement,qt=Nt.getBoundingClientRect();return{top:-qt.top||k.body?.scrollTop||ye.scrollY||Nt.scrollTop||0,left:-qt.left||k.body?.scrollLeft||ye.scrollX||Nt.scrollLeft||0}}change(k=20){return k>0?this._change.pipe(ce(k)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const k=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:k.innerWidth,height:k.innerHeight}:{width:0,height:0}}static \u0275fac=function(ye){return new(ye||Zt)};static \u0275prov=u.jDH({token:Zt,factory:Zt.\u0275fac,providedIn:"root"})}return Zt})(),Mn=(()=>{class Zt{static \u0275fac=function(ye){return new(ye||Zt)};static \u0275mod=h.$C({type:Zt});static \u0275inj=u.G2t({})}return Zt})(),It=(()=>{class Zt{static \u0275fac=function(ye){return new(ye||Zt)};static \u0275mod=h.$C({type:Zt});static \u0275inj=u.G2t({imports:[Be.jI,Mn,Be.jI,Mn]})}return Zt})()},9748(Yt,ve,a){a.d(ve,{B3:()=>Ke,Jj:()=>_n,MD:()=>br,OI:()=>bn,T3:()=>ft,YU:()=>qt,fw:()=>B});var Q=a(7580),D=a(6124),I=a(6563),E=a(7511),O=a(6223),X=a(8963);let B=(()=>{class z extends O.hb{_platformLocation;_baseHref="";_removeListenerFns=[];constructor(he,je){super(),this._platformLocation=he,null!=je&&(this._baseHref=je)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(he){this._removeListenerFns.push(this._platformLocation.onPopState(he),this._platformLocation.onHashChange(he))}getBaseHref(){return this._baseHref}path(he=!1){const je=this._platformLocation.hash??"#";return je.length>0?je.substring(1):je}prepareExternalUrl(he){const je=(0,O.om)(this._baseHref,he);return je.length>0?"#"+je:je}pushState(he,je,Ht,En){const me=this.prepareExternalUrl(Ht+(0,O.Q)(En))||this._platformLocation.pathname;this._platformLocation.pushState(he,je,me)}replaceState(he,je,Ht,En){const me=this.prepareExternalUrl(Ht+(0,O.Q)(En))||this._platformLocation.pathname;this._platformLocation.replaceState(he,je,me)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(he=0){this._platformLocation.historyGo?.(he)}static \u0275fac=function(je){return new(je||z)(I.KVO(X.Vw),I.KVO(O.kB,8))};static \u0275prov=I.jDH({token:z,factory:z.\u0275fac})}return z})();const ye=/\s+/,Nt=[];let qt=(()=>{class z{_ngEl;_renderer;initialClasses=Nt;rawClass;stateMap=new Map;constructor(he,je){this._ngEl=he,this._renderer=je}set klass(he){this.initialClasses=null!=he?he.trim().split(ye):Nt}set ngClass(he){this.rawClass="string"==typeof he?he.trim().split(ye):he}ngDoCheck(){for(const je of this.initialClasses)this._updateState(je,!0);const he=this.rawClass;if(Array.isArray(he)||he instanceof Set)for(const je of he)this._updateState(je,!0);else if(null!=he)for(const je of Object.keys(he))this._updateState(je,!!he[je]);this._applyStateDiff()}_updateState(he,je){const Ht=this.stateMap.get(he);void 0!==Ht?(Ht.enabled!==je&&(Ht.changed=!0,Ht.enabled=je),Ht.touched=!0):this.stateMap.set(he,{enabled:je,changed:!0,touched:!0})}_applyStateDiff(){for(const he of this.stateMap){const je=he[0],Ht=he[1];Ht.changed?(this._toggleClass(je,Ht.enabled),Ht.changed=!1):Ht.touched||(Ht.enabled&&this._toggleClass(je,!1),this.stateMap.delete(je)),Ht.touched=!1}}_toggleClass(he,je){(he=he.trim()).length>0&&he.split(ye).forEach(Ht=>{je?this._renderer.addClass(this._ngEl.nativeElement,Ht):this._renderer.removeClass(this._ngEl.nativeElement,Ht)})}static \u0275fac=function(je){return new(je||z)(D.rXU(D.aKT),D.rXU(D.sFG))};static \u0275dir=D.FsC({type:z,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"}})}return z})(),bn=(()=>{class z{_viewContainerRef;ngComponentOutlet=null;ngComponentOutletInputs;ngComponentOutletInjector;ngComponentOutletEnvironmentInjector;ngComponentOutletContent;ngComponentOutletNgModule;_componentRef;_moduleRef;_inputsUsed=new Map;get componentInstance(){return this._componentRef?.instance??null}
1constructor(he){this._viewContainerRef=he}_needToReCreateNgModuleInstance(he){return void 0!==he.ngComponentOutletNgModule}_needToReCreateComponentInstance(he){return void 0!==he.ngComponentOutlet||void 0!==he.ngComponentOutletContent||void 0!==he.ngComponentOutletInjector||void 0!==he.ngComponentOutletEnvironmentInjector||this._needToReCreateNgModuleInstance(he)}ngOnChanges(he){if(this._needToReCreateComponentInstance(he)&&(this._viewContainerRef.clear(),this._inputsUsed.clear(),this._componentRef=void 0,this.ngComponentOutlet)){const je=this.ngComponentOutletInjector||this._viewContainerRef.parentInjector;this._needToReCreateNgModuleInstance(he)&&(this._moduleRef?.destroy(),this._moduleRef=this.ngComponentOutletNgModule?(0,D.w6W)(this.ngComponentOutletNgModule,function Rn(z){return z.get(D.Ab1).injector}(je)):void 0),this._componentRef=this._viewContainerRef.createComponent(this.ngComponentOutlet,{injector:je,ngModuleRef:this._moduleRef,projectableNodes:this.ngComponentOutletContent,environmentInjector:this.ngComponentOutletEnvironmentInjector})}}ngDoCheck(){if(this._componentRef){if(this.ngComponentOutletInputs)for(const he of Object.keys(this.ngComponentOutletInputs))this._inputsUsed.set(he,!0);this._applyInputStateDiff(this._componentRef)}}ngOnDestroy(){this._moduleRef?.destroy()}_applyInputStateDiff(he){for(const[je,Ht]of this._inputsUsed)Ht?(he.setInput(je,this.ngComponentOutletInputs[je]),this._inputsUsed.set(je,!1)):(he.setInput(je,void 0),this._inputsUsed.delete(je))}static \u0275fac=function(je){return new(je||z)(D.rXU(D.c1b))};static \u0275dir=D.FsC({type:z,selectors:[["","ngComponentOutlet",""]],inputs:{ngComponentOutlet:"ngComponentOutlet",ngComponentOutletInputs:"ngComponentOutletInputs",ngComponentOutletInjector:"ngComponentOutletInjector",ngComponentOutletEnvironmentInjector:"ngComponentOutletEnvironmentInjector",ngComponentOutletContent:"ngComponentOutletContent",ngComponentOutletNgModule:"ngComponentOutletNgModule"},exportAs:["ngComponentOutlet"],features:[D.OA$]})}return z})(),Ke=(()=>{class z{_ngEl;_differs;_renderer;_ngStyle=null;_differ=null;constructor(he,je,Ht){this._ngEl=he,this._differs=je,this._renderer=Ht}set ngStyle(he){this._ngStyle=he,!this._differ&&he&&(this._differ=this._differs.find(he).create())}ngDoCheck(){if(this._differ){const he=this._differ.diff(this._ngStyle);he&&this._applyChanges(he)}}_setStyle(he,je){const[Ht,En]=he.split("."),me=-1===Ht.indexOf("-")?void 0:D.czy.DashCase;null!=je?this._renderer.setStyle(this._ngEl.nativeElement,Ht,En?`${je}${En}`:je,me):this._renderer.removeStyle(this._ngEl.nativeElement,Ht,me)}_applyChanges(he){he.forEachRemovedItem(je=>this._setStyle(je.key,null)),he.forEachAddedItem(je=>this._setStyle(je.key,je.currentValue)),he.forEachChangedItem(je=>this._setStyle(je.key,je.currentValue))}static \u0275fac=function(je){return new(je||z)(D.rXU(D.aKT),D.rXU(Q.MKu),D.rXU(D.sFG))};static \u0275dir=D.FsC({type:z,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}})}return z})(),ft=(()=>{class z{_viewContainerRef;_viewRef=null;ngTemplateOutletContext=null;ngTemplateOutlet=null;ngTemplateOutletInjector=null;injector=(0,I.WQX)(I.zZn);constructor(he){this._viewContainerRef=he}ngOnChanges(he){if(this._shouldRecreateView(he)){const je=this._viewContainerRef;if(this._viewRef&&je.remove(je.indexOf(this._viewRef)),!this.ngTemplateOutlet)return void(this._viewRef=null);const Ht=this._createContextForwardProxy();this._viewRef=je.createEmbeddedView(this.ngTemplateOutlet,Ht,{injector:this._getInjector()})}}_getInjector(){return"outlet"===this.ngTemplateOutletInjector?this.injector:this.ngTemplateOutletInjector??void 0}_shouldRecreateView(he){return!!he.ngTemplateOutlet||!!he.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(he,je,Ht)=>!!this.ngTemplateOutletContext&&Reflect.set(this.ngTemplateOutletContext,je,Ht),get:(he,je,Ht)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,je,Ht)}})}static \u0275fac=function(je){return new(je||z)(D.rXU(D.c1b))};static \u0275dir=D.FsC({type:z,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},features:[D.OA$]})}return z})();
vendor: 5,166 bytes, line 1
1class jn{createSubscription(dt,he,je){return(0,E.O8)(()=>dt.subscribe({next:he,error:je}))}dispose(dt){(0,E.O8)(()=>dt.unsubscribe())}}class Cn{createSubscription(dt,he,je){return dt.then(Ht=>he?.(Ht),Ht=>je?.(Ht)),{unsubscribe:()=>{he=null,je=null}}}dispose(dt){dt.unsubscribe()}}const gn=new Cn,Ut=new jn;let _n=(()=>{class z{_ref;_latestValue=null;markForCheckOnValueUpdate=!0;_subscription=null;_obj=null;_strategy=null;applicationErrorHandler=(0,I.WQX)(I.ZTf);constructor(he){this._ref=he}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(he){if(!this._obj){if(he)try{this.markForCheckOnValueUpdate=!1,this._subscribe(he)}finally{this.markForCheckOnValueUpdate=!0}return this._latestValue}return he!==this._obj?(this._dispose(),this.transform(he)):this._latestValue}_subscribe(he){this._obj=he,this._strategy=this._selectStrategy(he),this._subscription=this._strategy.createSubscription(he,je=>this._updateLatestValue(he,je),je=>this.applicationErrorHandler(je))}_selectStrategy(he){if((0,D.yLl)(he))return gn;if((0,D.cdK)(he))return Ut;throw function on(z,dt){return new I.buA(2100,!1)}()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(he,je){he===this._obj&&(this._latestValue=je,this.markForCheckOnValueUpdate&&this._ref?.markForCheck())}static \u0275fac=function(je){return new(je||z)(D.rXU(Q.gRc,16))};static \u0275pipe=D.EJ8({name:"async",type:z,pure:!1})}return z})(),br=(()=>{class z{static \u0275fac=function(je){return new(je||z)};static \u0275mod=D.$C({type:z});static \u0275inj=I.G2t({})}return z})()},6223(Yt,ve,a){a.d(ve,{Q:()=>E,Sm:()=>B,aZ:()=>L,hb:()=>O,kB:()=>X,om:()=>D});var h=a(6563),g=a(4205),Q=a(8963);function D(nt,Rt){return nt?Rt?nt.endsWith("/")?Rt.startsWith("/")?nt+Rt.slice(1):nt+Rt:Rt.startsWith("/")?nt+Rt:`${nt}/${Rt}`:nt:Rt}function I(nt){const Rt=nt.search(/#|\?|$/);return"/"===nt[Rt-1]?nt.slice(0,Rt-1)+nt.slice(Rt):nt}function E(nt){return nt&&"?"!==nt[0]?`?${nt}`:nt}let O=(()=>{class nt{historyGo(Oe){throw new Error("")}static \u0275fac=function(xe){return new(xe||nt)};static \u0275prov=h.jDH({token:nt,factory:()=>(0,h.WQX)(B),providedIn:"root"})}return nt})();const X=new h.nKC("");let B=(()=>{class nt extends O{_platformLocation;_baseHref;_removeListenerFns=[];constructor(Oe,xe){super(),this._platformLocation=Oe,this._baseHref=xe??this._platformLocation.getBaseHrefFromDOM()??(0,h.WQX)(h.qQL).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(Oe){this._removeListenerFns.push(this._platformLocation.onPopState(Oe),this._platformLocation.onHashChange(Oe))}getBaseHref(){return this._baseHref}prepareExternalUrl(Oe){return D(this._baseHref,Oe)}path(Oe=!1){const xe=this._platformLocation.pathname+E(this._platformLocation.search),it=this._platformLocation.hash;return it&&Oe?`${xe}${it}`:xe}pushState(Oe,xe,it,q){const F=this.prepareExternalUrl(it+E(q));this._platformLocation.pushState(Oe,xe,F)}replaceState(Oe,xe,it,q){const F=this.prepareExternalUrl(it+E(q));this._platformLocation.replaceState(Oe,xe,F)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(Oe=0){this._platformLocation.historyGo?.(Oe)}static \u0275fac=function(xe){return new(xe||nt)(h.KVO(Q.Vw),h.KVO(X,8))};static \u0275prov=h.jDH({token:nt,factory:nt.\u0275fac,providedIn:"root"})}return nt})(),L=(()=>{class nt{_subject=new g.B;_basePath;_locationStrategy;_urlChangeListeners=[];_urlChangeSubscription=null;constructor(Oe){this._locationStrategy=Oe;const xe=this._locationStrategy.getBaseHref();this._basePath=function tt(nt){if(new RegExp("^(https?:)?//").test(nt)){const[,Oe]=nt.split(/\/\/[^\/]+/);return Oe}return nt}(I(Fe(xe))),this._locationStrategy.onPopState(it=>{this._subject.next({url:this.path(!0),pop:!0,state:it.state,type:it.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(Oe=!1){return this.normalize(this._locationStrategy.path(Oe))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(Oe,xe=""){return this.path()==this.normalize(Oe+E(xe))}normalize(Oe){return nt.stripTrailingSlash(function Ve(nt,Rt){if(!nt||!Rt.startsWith(nt))return Rt;const Oe=Rt.substring(nt.length);return""===Oe||["/",";","?","#"].includes(Oe[0])?Oe:Rt}(this._basePath,Fe(Oe)))}prepareExternalUrl(Oe){return Oe&&"/"!==Oe[0]&&(Oe="/"+Oe),this._locationStrategy.prepareExternalUrl(Oe)}go(Oe,xe="",it=null){this._locationStrategy.pushState(it,"",Oe,xe),this._notifyUrlChangeListeners(this.prepareExternalUrl(Oe+E(xe)),it)}replaceState(Oe,xe="",it=null){this._locationStrategy.replaceState(it,"",Oe,xe),this._notifyUrlChangeListeners(this.prepareExternalUrl(Oe+E(xe)),it)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(Oe=0){this._locationStrategy.historyGo?.(Oe)}onUrlChange(Oe){return this._urlChangeListeners.push(Oe),this._urlChangeSubscription??=this.subscribe(xe=>{this._notifyUrlChangeListeners(xe.url,xe.state)}),()=>{const xe=this._urlChangeListeners.indexOf(Oe);
vendor: 3,132 bytes, line 1
1this._urlChangeListeners.splice(xe,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(Oe="",xe){this._urlChangeListeners.forEach(it=>it(Oe,xe))}subscribe(Oe,xe,it){return this._subject.subscribe({next:Oe,error:xe??void 0,complete:it??void 0})}static normalizeQueryParams=E;static joinWithSlash=D;static stripTrailingSlash=I;static \u0275fac=function(xe){return new(xe||nt)(h.KVO(O))};static \u0275prov=h.jDH({token:nt,factory:()=>function ne(){return new L((0,h.KVO)(O))}(),providedIn:"root"})}return nt})();function Fe(nt){return nt.replace(/\/index\.html$/,"")}},698(Yt,ve,a){a.d(ve,{$R:()=>Rn,JV:()=>ue,Lr:()=>q,Nl:()=>Be,Qq:()=>st,Xl:()=>yt,_y:()=>U,b$:()=>pn,hv:()=>ht,tl:()=>Xe});var K=a(9204),j=a(6563),Pe=a(6124),L=a(1903),ne=a(1567),Ve=a(9475),Fe=a(271),tt=a(6647),nt=a(7516),Rt=a(8963),Oe=a(3942),it=(a(4600),a(9452));class q{headers;normalizedNames=new Map;lazyInit;lazyUpdate=null;constructor(ee){ee?"string"==typeof ee?this.lazyInit=()=>{this.headers=new Map,ee.split("\n").forEach(We=>{const Ke=We.indexOf(":");if(Ke>0){const ft=We.slice(0,Ke),Jt=We.slice(Ke+1).trim();this.addHeaderEntry(ft,Jt)}})}:typeof Headers<"u"&&ee instanceof Headers?(this.headers=new Map,ee.forEach((We,Ke)=>{this.addHeaderEntry(Ke,We)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(ee).forEach(([We,Ke])=>{this.setHeaderEntries(We,Ke)})}:this.headers=new Map}has(ee){return this.init(),this.headers.has(ee.toLowerCase())}get(ee){this.init();const We=this.headers.get(ee.toLowerCase());return We&&We.length>0?We[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(ee){return this.init(),this.headers.get(ee.toLowerCase())||null}append(ee,We){return this.clone({name:ee,value:We,op:"a"})}set(ee,We){return this.clone({name:ee,value:We,op:"s"})}delete(ee,We){return this.clone({name:ee,value:We,op:"d"})}maybeSetNormalizedName(ee,We){this.normalizedNames.has(We)||this.normalizedNames.set(We,ee)}init(){this.lazyInit&&(this.lazyInit instanceof q?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(ee=>this.applyUpdate(ee)),this.lazyUpdate=null))}copyFrom(ee){ee.init();for(const[We,Ke]of ee.headers.entries())this.headers.set(We,Ke),this.normalizedNames.set(We,ee.normalizedNames.get(We))}clone(ee){const We=new q;return We.lazyInit=this.lazyInit&&this.lazyInit instanceof q?this.lazyInit:this,We.lazyUpdate=(this.lazyUpdate||[]).concat([ee]),We}applyUpdate(ee){const We=ee.name.toLowerCase();switch(ee.op){case"a":case"s":let Ke=ee.value;if("string"==typeof Ke&&(Ke=[Ke]),0===Ke.length)return;this.maybeSetNormalizedName(ee.name,We);const ft="a"===ee.op?(this.headers.get(We)||[]).slice():[];ft.push(...Ke),this.headers.set(We,ft);break;case"d":const Jt=ee.value;if(void 0===Jt)this.headers.delete(We),this.normalizedNames.delete(We);else{const on=Array.isArray(Jt)?Jt:[Jt];let wn=this.headers.get(We);if(!wn)return;wn=wn.filter(jn=>-1===on.indexOf(jn)),0===wn.length?(this.headers.delete(We),this.normalizedNames.delete(We)):this.headers.set(We,wn)}}}
vendor: 6,907 bytes, line 1
1addHeaderEntry(ee,We){const Ke=ee.toLowerCase();this.maybeSetNormalizedName(ee,Ke),this.headers.has(Ke)?this.headers.get(Ke).push(We):this.headers.set(Ke,[We])}setHeaderEntries(ee,We){const Ke=(Array.isArray(We)?We:[We]).map(Jt=>Jt.toString()),ft=ee.toLowerCase();this.headers.set(ft,Ke),this.maybeSetNormalizedName(ee,ft)}forEach(ee){this.init(),Array.from(this.normalizedNames.keys()).forEach(We=>ee(this.normalizedNames.get(We),this.headers.get(We)))}}class U{map=new Map;set(ee,We){return this.map.set(ee,We),this}get(ee){return this.map.has(ee)||this.map.set(ee,ee.defaultValue()),this.map.get(ee)}delete(ee){return this.map.delete(ee),this}has(ee){return this.map.has(ee)}keys(){return this.map.keys()}}class ce{encodeKey(ee){return de(ee)}encodeValue(ee){return de(ee)}decodeKey(ee){return decodeURIComponent(ee)}decodeValue(ee){return decodeURIComponent(ee)}}const we=/%(\d[a-f0-9])/gi,oe={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function de(J){return encodeURIComponent(J).replace(we,(ee,We)=>oe[We]??ee)}function He(J){return`${J}`}class Be{map;encoder;updates=null;cloneFrom=null;constructor(ee={}){if(this.encoder=ee.encoder||new ce,ee.fromString){if(ee.fromObject)throw new j.buA(2805,!1);this.map=function ie(J,ee){const We=new Map;return J.length>0&&J.replace(/^\?/,"").split("&").forEach(ft=>{const Jt=ft.indexOf("="),[on,wn]=-1==Jt?[ee.decodeKey(ft),""]:[ee.decodeKey(ft.slice(0,Jt)),ee.decodeValue(ft.slice(Jt+1))],jn=We.get(on)||[];jn.push(wn),We.set(on,jn)}),We}(ee.fromString,this.encoder)}else ee.fromObject?(this.map=new Map,Object.keys(ee.fromObject).forEach(We=>{const Ke=ee.fromObject[We],ft=Array.isArray(Ke)?Ke.map(He):[He(Ke)];this.map.set(We,ft)})):this.map=null}has(ee){return this.init(),this.map.has(ee)}get(ee){this.init();const We=this.map.get(ee);return We?We[0]:null}getAll(ee){return this.init(),this.map.get(ee)||null}keys(){return this.init(),Array.from(this.map.keys())}append(ee,We){return this.clone({param:ee,value:We,op:"a"})}appendAll(ee){const We=[];return Object.keys(ee).forEach(Ke=>{const ft=ee[Ke];Array.isArray(ft)?ft.forEach(Jt=>{We.push({param:Ke,value:Jt,op:"a"})}):We.push({param:Ke,value:ft,op:"a"})}),this.clone(We)}set(ee,We){return this.clone({param:ee,value:We,op:"s"})}delete(ee,We){return this.clone({param:ee,value:We,op:"d"})}toString(){return this.init(),this.keys().map(ee=>{const We=this.encoder.encodeKey(ee);return this.map.get(ee).map(Ke=>We+"="+this.encoder.encodeValue(Ke)).join("&")}).filter(ee=>""!==ee).join("&")}clone(ee){const We=new Be({encoder:this.encoder});return We.cloneFrom=this.cloneFrom||this,We.updates=(this.updates||[]).concat(ee),We}init(){if(null===this.map&&(this.map=new Map),null!==this.cloneFrom){this.cloneFrom.init();for(const[ee,We]of this.cloneFrom.map.entries())this.map.set(ee,We);this.updates.forEach(ee=>{switch(ee.op){case"a":case"s":const We="a"===ee.op?(this.map.get(ee.param)||[]).slice():[];We.push(He(ee.value)),this.map.set(ee.param,We);break;case"d":if(void 0===ee.value){this.map.delete(ee.param);break}{const Ke=(this.map.get(ee.param)||[]).slice(),ft=Ke.indexOf(He(ee.value));-1!==ft&&Ke.splice(ft,1),Ke.length>0?this.map.set(ee.param,Ke):this.map.delete(ee.param)}}}),this.cloneFrom=this.updates=null}}}function Te(J){return typeof ArrayBuffer<"u"&&J instanceof ArrayBuffer}function le(J){return typeof Blob<"u"&&J instanceof Blob}function pt(J){return typeof FormData<"u"&&J instanceof FormData}const ze="Content-Type",Qe="Accept",_t="text/plain",Re="application/json",Et=`${Re}, ${_t}, */*`;class kt{url;body=null;headers;context;reportProgress=!1;withCredentials=!1;credentials;keepalive=!1;cache;priority;mode;redirect;referrer;integrity;referrerPolicy;responseType="json";method;params;urlWithParams;transferCache;timeout;constructor(ee,We,Ke,ft){let Jt;if(this.url=We,this.method=ee.toUpperCase(),function $e(J){switch(J){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||ft?(this.body=void 0!==Ke?Ke:null,Jt=ft):Jt=Ke,Jt){if(this.reportProgress=!!Jt.reportProgress,this.withCredentials=!!Jt.withCredentials,this.keepalive=!!Jt.keepalive,Jt.responseType&&(this.responseType=Jt.responseType),Jt.headers&&(this.headers=Jt.headers),Jt.context&&(this.context=Jt.context),Jt.params&&(this.params=Jt.params),Jt.priority&&(this.priority=Jt.priority),Jt.cache&&(this.cache=Jt.cache),Jt.credentials&&(this.credentials=Jt.credentials),"number"==typeof Jt.timeout){if(Jt.timeout<1||!Number.isInteger(Jt.timeout))throw new j.buA(2822,"");this.timeout=Jt.timeout}Jt.mode&&(this.mode=Jt.mode),Jt.redirect&&(this.redirect=Jt.redirect),Jt.integrity&&(this.integrity=Jt.integrity),void 0!==Jt.referrer&&(this.referrer=Jt.referrer),Jt.referrerPolicy&&(this.referrerPolicy=Jt.referrerPolicy),this.transferCache=Jt.transferCache}if(this.headers??=new q,this.context??=new U,this.params){const on=this.params.toString();if(0===on.length)this.urlWithParams=We;else{const wn=We.indexOf("?");this.urlWithParams=We+(-1===wn?"?":wn<We.length-1?"&":"")+on}}else this.params=new Be,this.urlWithParams=We}serializeBody(){return null===this.body?null:"string"==typeof this.body||Te(this.body)||le(this.body)||pt(this.body)||function Ie(J){return typeof URLSearchParams<"u"&&J instanceof URLSearchParams}(this.body)?this.body:this.body instanceof Be?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||pt(this.body)?null:le(this.body)?this.body.type||null:Te(this.body)?null:"string"==typeof this.body?_t:this.body instanceof Be?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||"boolean"==typeof this.body?Re:null}clone(ee={}){const We=ee.method||this.method,Ke=ee.url||this.url,ft=ee.responseType||this.responseType,Jt=ee.keepalive??this.keepalive,on=ee.priority||this.priority,wn=ee.cache||this.cache,jn=ee.mode||this.mode,Cn=ee.redirect||this.redirect,gn=ee.credentials||this.credentials,Ut=ee.referrer??this.referrer,_n=ee.integrity||this.integrity,Wn=ee.referrerPolicy||this.referrerPolicy,Kn=ee.transferCache??this.transferCache,kn=ee.timeout??this.timeout,Pn=void 0!==ee.body?ee.body:this.body,On=ee.withCredentials??this.withCredentials,Qn=ee.reportProgress??this.reportProgress;let tr=ee.headers||this.headers,ir=ee.params||this.params;const Ar=ee.context??this.context;return void 0!==ee.setHeaders&&(tr=Object.keys(ee.setHeaders).reduce((Ir,Ct)=>Ir.set(Ct,ee.setHeaders[Ct]),tr)),ee.setParams&&(ir=Object.keys(ee.setParams).reduce((Ir,Ct)=>Ir.set(Ct,ee.setParams[Ct]),ir)),new kt(We,Ke,Pn,{params:ir,headers:tr,context:Ar,reportProgress:Qn,responseType:ft,withCredentials:On,transferCache:Kn,keepalive:Jt,cache:wn,priority:on,timeout:kn,mode:jn,redirect:Cn,credentials:gn,referrer:Ut,integrity:_n,referrerPolicy:Wn})}}
1var ht=function(J){return J[J.Sent=0]="Sent",J[J.UploadProgress=1]="UploadProgress",J[J.ResponseHeader=2]="ResponseHeader",J[J.DownloadProgress=3]="DownloadProgress",J[J.Response=4]="Response",J[J.User=5]="User",J}(ht||{});class Ne{headers;status;statusText;url;ok;type;redirected;responseType;constructor(ee,We=200,Ke="OK"){this.headers=ee.headers||new q,this.status=void 0!==ee.status?ee.status:We,this.statusText=ee.statusText||Ke,this.url=ee.url||null,this.redirected=ee.redirected,this.responseType=ee.responseType,this.ok=this.status>=200&&this.status<300}}class Ot extends Ne{constructor(ee={}){super(ee)}type=ht.ResponseHeader;clone(ee={}){return new Ot({headers:ee.headers||this.headers,status:void 0!==ee.status?ee.status:this.status,statusText:ee.statusText||this.statusText,url:ee.url||this.url||void 0})}}class Lt extends Ne{body;constructor(ee={}){super(ee),this.body=void 0!==ee.body?ee.body:null}type=ht.Response;clone(ee={}){return new Lt({body:void 0!==ee.body?ee.body:this.body,headers:ee.headers||this.headers,status:void 0!==ee.status?ee.status:this.status,statusText:ee.statusText||this.statusText,url:ee.url||this.url||void 0,redirected:ee.redirected??this.redirected,responseType:ee.responseType??this.responseType})}}class zt extends Ne{name="HttpErrorResponse";message;error;ok=!1;constructor(ee){super(ee,0,"Unknown Error"),this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${ee.url||"(unknown url)"}`:`Http failure response for ${ee.url||"(unknown url)"}: ${ee.status} ${ee.statusText}`,this.error=ee.error||null}}const ut=/^\)\]\}',?\n/,St=new j.nKC("");let yt=(()=>{class J{fetchImpl=(0,j.WQX)(Me,{optional:!0})?.fetch??((...We)=>globalThis.fetch(...We));ngZone=(0,j.WQX)(j.SKi);destroyRef=(0,j.WQX)(j.abz);handle(We){return new Oe.c(Ke=>{const ft=new AbortController;let Jt;return this.doRequest(We,ft.signal,Ke).then(De,on=>Ke.error(new zt({error:on}))),We.timeout&&(Jt=this.ngZone.runOutsideAngular(()=>setTimeout(()=>{ft.signal.aborted||ft.abort(new DOMException("signal timed out","TimeoutError"))},We.timeout))),()=>{void 0!==Jt&&clearTimeout(Jt),ft.abort()}})}
1doRequest(We,Ke,ft){var Jt=this;return(0,K.A)(function*(){const on=Jt.createRequestInit(We);let wn;try{const Pn=Jt.ngZone.runOutsideAngular(()=>Jt.fetchImpl(We.urlWithParams,{signal:Ke,...on}));(function i(J){J.then(De,De)})(Pn),ft.next({type:ht.Sent}),wn=yield Pn}catch(Pn){return void ft.error(new zt({error:Pn,status:Pn.status??0,statusText:Pn.statusText,url:We.urlWithParams,headers:Pn.headers}))}const jn=new q(wn.headers),Cn=wn.statusText,gn=wn.url||We.urlWithParams;let Ut=wn.status,_n=null;if(We.reportProgress&&ft.next(new Ot({headers:jn,status:Ut,statusText:Cn,url:gn})),wn.body){const Pn=wn.headers.get("content-length"),On=[],Qn=wn.body.getReader();let ir,Ar,tr=0;const Ir=typeof Zone<"u"&&Zone.current;let Ct=!1;if(yield Jt.ngZone.runOutsideAngular((0,K.A)(function*(){for(;;){if(Jt.destroyRef.destroyed){yield Qn.cancel(),Ct=!0;break}const{done:ln,value:Dn}=yield Qn.read();if(ln)break;if(On.push(Dn),tr+=Dn.length,We.reportProgress){Ar="text"===We.responseType?(Ar??"")+(ir??=new TextDecoder).decode(Dn,{stream:!0}):void 0;const bt=()=>ft.next({type:ht.DownloadProgress,total:Pn?+Pn:void 0,loaded:tr,partialText:Ar});Ir?Ir.run(bt):bt()}}})),Ct)return void ft.complete();const $t=Jt.concatChunks(On,tr);try{const ln=wn.headers.get(ze)??"";_n=Jt.parseBody(We,$t,ln,Ut)}catch(ln){return void ft.error(new zt({error:ln,headers:new q(wn.headers),status:wn.status,statusText:wn.statusText,url:wn.url||We.urlWithParams}))}}0===Ut&&(Ut=_n?200:0);const Kn=wn.redirected,kn=wn.type;Ut>=200&&Ut<300?(ft.next(new Lt({body:_n,headers:jn,status:Ut,statusText:Cn,url:gn,redirected:Kn,responseType:kn})),ft.complete()):ft.error(new zt({error:_n,headers:jn,status:Ut,statusText:Cn,url:gn,redirected:Kn,responseType:kn}))})()}parseBody(We,Ke,ft,Jt){switch(We.responseType){case"json":const on=(new TextDecoder).decode(Ke).replace(ut,"");if(""===on)return null;try{return JSON.parse(on)}catch(wn){if(Jt<200||Jt>=300)return on;throw wn}case"text":return(new TextDecoder).decode(Ke);case"blob":return new Blob([Ke],{type:ft});case"arraybuffer":return Ke.buffer}}createRequestInit(We){const Ke={};let ft;if(ft=We.credentials,We.withCredentials&&(ft="include"),We.headers.forEach((Jt,on)=>Ke[Jt]=on.join(",")),We.headers.has(Qe)||(Ke[Qe]=Et),!We.headers.has(ze)){const Jt=We.detectContentTypeHeader();null!==Jt&&(Ke[ze]=Jt)}return{body:We.serializeBody(),method:We.method,headers:Ke,credentials:ft,keepalive:We.keepalive,cache:We.cache,priority:We.priority,mode:We.mode,redirect:We.redirect,referrer:We.referrer,integrity:We.integrity,referrerPolicy:We.referrerPolicy}}concatChunks(We,Ke){const ft=new Uint8Array(Ke);let Jt=0;for(const on of We)ft.set(on,Jt),Jt+=on.length;return ft}static \u0275fac=function(Ke){return new(Ke||J)};static \u0275prov=j.jDH({token:J,factory:J.\u0275fac})}return J})();class Me{}function De(){}const ke=/^\)\]\}',?\n/;let Xe=(()=>{class J{xhrFactory;tracingService=(0,j.WQX)(Pe.a8H,{optional:!0});constructor(We){this.xhrFactory=We}maybePropagateTrace(We){return this.tracingService?.propagate?this.tracingService.propagate(We):We}handle(We){if("JSONP"===We.method)throw new j.buA(-2800,!1);const Ke=this.xhrFactory;return(0,it.of)(null).pipe((0,tt.n)(()=>new Oe.c(Jt=>{const on=Ke.build();if(on.open(We.method,We.urlWithParams),We.withCredentials&&(on.withCredentials=!0),We.headers.forEach((Pn,On)=>on.setRequestHeader(Pn,On.join(","))),We.headers.has(Qe)||on.setRequestHeader(Qe,Et),!We.headers.has(ze)){const Pn=We.detectContentTypeHeader();null!==Pn&&on.setRequestHeader(ze,Pn)}if(We.timeout&&(on.timeout=We.timeout),We.responseType){const Pn=We.responseType.toLowerCase();on.responseType="json"!==Pn?Pn:"text"}const wn=We.serializeBody();let jn=null;const Cn=()=>{if(null!==jn)return jn;const Pn=on.statusText||"OK",On=new q(on.getAllResponseHeaders());return jn=new Ot({headers:On,status:on.status,statusText:Pn,url:on.responseURL||We.url}),jn},gn=this.maybePropagateTrace(()=>{let{headers:Pn,status:On,statusText:Qn,url:tr}=Cn(),ir=null;204!==On&&(ir=typeof on.response>"u"?on.responseText:on.response),0===On&&(On=ir?200:0);let Ar=On>=200&&On<300;if("json"===We.responseType&&"string"==typeof ir){const Ir=ir;ir=ir.replace(ke,"");try{ir=""!==ir?JSON.parse(ir):null}catch(Ct){ir=Ir,Ar&&(Ar=!1,ir={error:Ct,text:ir})}}Ar?(Jt.next(new Lt({body:ir,headers:Pn,status:On,statusText:Qn,url:tr||void 0})),Jt.complete()):Jt.error(new zt({error:ir,headers:Pn,status:On,statusText:Qn,url:tr||void 0}))}),Ut=this.maybePropagateTrace(Pn=>{const{url:On}=Cn(),Qn=new zt({error:Pn,status:on.status||0,statusText:on.statusText||"Unknown Error",url:On||void 0});Jt.error(Qn)});let _n=Ut;We.timeout&&(_n=this.maybePropagateTrace(Pn=>{const{url:On}=Cn(),Qn=new zt({error:new DOMException("Request timed out","TimeoutError"),status:on.status||0,statusText:on.statusText||"Request timeout",url:On||void 0});Jt.error(Qn)}));let Wn=!1;const Kn=this.maybePropagateTrace(Pn=>{Wn||(Jt.next(Cn()),Wn=!0);let On={type:ht.DownloadProgress,loaded:Pn.loaded};Pn.lengthComputable&&(On.total=Pn.total),"text"===We.responseType&&on.responseText&&(On.partialText=on.responseText),Jt.next(On)}),kn=this.maybePropagateTrace(Pn=>{let On={type:ht.UploadProgress,loaded:Pn.loaded};Pn.lengthComputable&&(On.total=Pn.total),Jt.next(On)});return on.addEventListener("load",gn),on.addEventListener("error",Ut),on.addEventListener("timeout",_n),on.addEventListener("abort",Ut),We.reportProgress&&(on.addEventListener("progress",Kn),null!==wn&&on.upload&&on.upload.addEventListener("progress",kn)),on.send(wn),Jt.next({type:ht.Sent}),()=>{on.removeEventListener("error",Ut),on.removeEventListener("abort",Ut),on.removeEventListener("load",gn),on.removeEventListener("timeout",_n),We.reportProgress&&(on.removeEventListener("progress",Kn),null!==wn&&on.upload&&on.upload.removeEventListener("progress",kn)),on.readyState!==on.DONE&&on.abort()}})))}static \u0275fac=function(Ke){return new(Ke||J)(j.KVO(nt.N))};static \u0275prov=j.jDH({token:J,factory:J.\u0275fac,providedIn:"root"})}return J})();const fe=new j.nKC("",{factory:()=>!0}),Se=new j.nKC("",{factory:()=>"XSRF-TOKEN"}),ct=new j.nKC("",{factory:()=>"X-XSRF-TOKEN"});let _e=(()=>{class J{cookieName=(0,j.WQX)(Se);doc=(0,j.WQX)(j.qQL);
1lastCookieString="";lastToken=null;parseCount=0;getToken(){const We=this.doc.cookie||"";return We!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,nt.b)(We,this.cookieName),this.lastCookieString=We),this.lastToken}static \u0275fac=function(Ke){return new(Ke||J)};static \u0275prov=j.jDH({token:J,factory:J.\u0275fac,providedIn:"root"})}return J})(),P=(()=>{class J{static \u0275fac=function(Ke){return new(Ke||J)};static \u0275prov=j.jDH({token:J,factory:function(Ke){let ft=null;return ft=Ke?new(Ke||J):j.KVO(_e),ft},providedIn:"root"})}return J})();function Ae(J,ee){if(!(0,j.WQX)(fe)||"GET"===J.method||"HEAD"===J.method)return ee(J);try{const ft=(0,j.WQX)(Rt.Vw).href,{origin:Jt}=new URL(ft),{origin:on}=new URL(J.url,Jt);if(Jt!==on)return ee(J)}catch{return ee(J)}const We=(0,j.WQX)(P).getToken(),Ke=(0,j.WQX)(ct);return null!=We&&!J.headers.has(Ke)&&(J=J.clone({headers:J.headers.set(Ke,We)})),ee(J)}function wt(J,ee){return ee(J)}const qe=new j.nKC("",{factory:()=>[Ae]}),M=new j.nKC(""),$=new j.nKC("",{factory:()=>!0});let ue=(()=>{class J{static \u0275fac=function(Ke){return new(Ke||J)};static \u0275prov=j.jDH({token:J,factory:function(Ke){let ft=null;return ft=Ke?new(Ke||J):j.KVO(Xe),ft},providedIn:"root"})}return J})(),xt=(()=>{class J{backend;injector;chain=null;pendingTasks=(0,j.WQX)(j.u5s);contributeToStability=(0,j.WQX)($);constructor(We,Ke){this.backend=We,this.injector=Ke}handle(We){if(null===this.chain){const Ke=this.injector.get(cn,null,{skipSelf:!0}),Jt=this.injector.get(M,[],null!==Ke&&this.backend===Ke?{self:!0}:void 0),on=Array.from(new Set([...this.injector.get(qe),...Jt]));this.chain=on.reduceRight((wn,jn)=>function jt(J,ee,We){return(Ke,ft)=>(0,j.N4e)(We,()=>ee(Ke,Jt=>J(Jt,ft)))}(wn,jn,this.injector),wt)}if(this.contributeToStability){const Ke=this.pendingTasks.add();return this.chain(We,ft=>this.backend.handle(ft)).pipe((0,Ve.j)(Ke))}return this.chain(We,Ke=>this.backend.handle(Ke))}static \u0275fac=function(Ke){return new(Ke||J)(j.KVO(ue),j.KVO(j.uvJ))};static \u0275prov=j.jDH({token:J,factory:J.\u0275fac,providedIn:"root"})}return J})(),cn=(()=>{class J{static \u0275fac=function(Ke){return new(Ke||J)};static \u0275prov=j.jDH({token:J,factory:function(Ke){let ft=null;return ft=Ke?new(Ke||J):j.KVO(xt),ft},providedIn:"root"})}return J})();function en(J,ee){return{body:ee,headers:J.headers,context:J.context,observe:J.observe,params:J.params,reportProgress:J.reportProgress,responseType:J.responseType,withCredentials:J.withCredentials,credentials:J.credentials,transferCache:J.transferCache,timeout:J.timeout,keepalive:J.keepalive,priority:J.priority,cache:J.cache,mode:J.mode,redirect:J.redirect,integrity:J.integrity,referrer:J.referrer,referrerPolicy:J.referrerPolicy}}let st=(()=>{class J{handler;constructor(We){this.handler=We}request(We,Ke,ft={}){let Jt;if(We instanceof kt)Jt=We;else{let jn,Cn;jn=ft.headers instanceof q?ft.headers:new q(ft.headers),ft.params&&(Cn=ft.params instanceof Be?ft.params:new Be({fromObject:ft.params})),Jt=new kt(We,Ke,void 0!==ft.body?ft.body:null,{headers:jn,context:ft.context,params:Cn,reportProgress:ft.reportProgress,responseType:ft.responseType||"json",withCredentials:ft.withCredentials,transferCache:ft.transferCache,keepalive:ft.keepalive,priority:ft.priority,cache:ft.cache,mode:ft.mode,redirect:ft.redirect,credentials:ft.credentials,referrer:ft.referrer,referrerPolicy:ft.referrerPolicy,integrity:ft.integrity,timeout:ft.timeout})}const on=(0,it.of)(Jt).pipe((0,L.H)(jn=>this.handler.handle(jn)));if(We instanceof kt||"events"===ft.observe)return on;const wn=on.pipe((0,ne.p)(jn=>jn instanceof Lt));switch(ft.observe||"body"){case"body":switch(Jt.responseType){case"arraybuffer":return wn.pipe((0,Fe.T)(jn=>{if(null!==jn.body&&!(jn.body instanceof ArrayBuffer))throw new j.buA(2806,!1);return jn.body}));case"blob":return wn.pipe((0,Fe.T)(jn=>{if(null!==jn.body&&!(jn.body instanceof Blob))throw new j.buA(2807,!1);return jn.body}));case"text":return wn.pipe((0,Fe.T)(jn=>{if(null!==jn.body&&"string"!=typeof jn.body)throw new j.buA(2808,!1);return jn.body}));default:return wn.pipe((0,Fe.T)(jn=>jn.body))}case"response":return wn;default:throw new j.buA(2809,!1)}}delete(We,Ke={}){return this.request("DELETE",We,Ke)}get(We,Ke={}){return this.request("GET",We,Ke)}head(We,Ke={}){return this.request("HEAD",We,Ke)}jsonp(We,Ke){return this.request("JSONP",We,{params:(new Be).append(Ke,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(We,Ke={}){return this.request("OPTIONS",We,Ke)}patch(We,Ke,ft={}){return this.request("PATCH",We,en(ft,Ke))}post(We,Ke,ft={}){return this.request("POST",We,en(ft,Ke))}put(We,Ke,ft={}){return this.request("PUT",We,en(ft,Ke))}static \u0275fac=function(Ke){return new(Ke||J)(j.KVO(cn))};static \u0275prov=j.jDH({token:J,factory:J.\u0275fac,providedIn:"root"})}return J})();var qt=function(J){return J[J.Interceptors=0]="Interceptors",J[J.LegacyInterceptors=1]="LegacyInterceptors",J[J.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",J[J.NoXsrfProtection=3]="NoXsrfProtection",J[J.JsonpSupport=4]="JsonpSupport",J[J.RequestsMadeViaParent=5]="RequestsMadeViaParent",J[J.Fetch=6]="Fetch",J}(qt||{});function Rn(...J){const ee=[st,xt,{provide:cn,useExisting:xt},{provide:ue,useFactory:()=>(0,j.WQX)(St,{optional:!0})??(0,j.WQX)(Xe)},{provide:qe,useValue:Ae,multi:!0}];for(const We of J)ee.push(...We.\u0275providers);return(0,j.EmA)(ee)}function pn(J){return function bn(J,ee){return{\u0275kind:J,\u0275providers:ee}}(qt.Interceptors,J.map(ee=>({provide:qe,useValue:ee,multi:!0})))}},8963(Yt,ve,a){a.d(ve,{Vw:()=>I,ig:()=>Q,qj:()=>D,rb:()=>g});var u=a(6563);let h=null;function g(){return h}function Q(X){h??=X}class D{}let I=(()=>{class X{historyGo(K){throw new Error("")}static \u0275fac=function(j){return new(j||X)};static \u0275prov=u.jDH({token:X,factory:()=>(0,u.WQX)(O),providedIn:"platform"})}return X})(),O=(()=>{class X extends I{_location;_history;_doc=(0,u.WQX)(u.qQL);constructor(){super(),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return g().getBaseHref(this._doc)}
1onPopState(K){const j=g().getGlobalEventTarget(this._doc,"window");return j.addEventListener("popstate",K,!1),()=>j.removeEventListener("popstate",K)}onHashChange(K){const j=g().getGlobalEventTarget(this._doc,"window");return j.addEventListener("hashchange",K,!1),()=>j.removeEventListener("hashchange",K)}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(K){this._location.pathname=K}pushState(K,j,Pe){this._history.pushState(K,j,Pe)}replaceState(K,j,Pe){this._history.replaceState(K,j,Pe)}forward(){this._history.forward()}back(){this._history.back()}historyGo(K=0){this._history.go(K)}getState(){return this._history.state}static \u0275fac=function(j){return new(j||X)};static \u0275prov=u.jDH({token:X,factory:()=>new X,providedIn:"platform"})}return X})()},7516(Yt,ve,a){function u(g,Q){Q=encodeURIComponent(Q);for(const D of g.split(";")){const I=D.indexOf("="),[E,O]=-1==I?[D,""]:[D.slice(0,I),D.slice(I+1)];if(E.trim()===Q)return decodeURIComponent(O)}return null}a.d(ve,{N:()=>h,b:()=>u});class h{}},316(Yt,ve,a){a.d(ve,{AJ:()=>ce,UE:()=>we,Vy:()=>oe,Xr:()=>He});var F=a(6563);const ce="browser";function we(Ct){return Ct===ce}function oe(Ct){return"server"===Ct}let He=(()=>{class Ct{static \u0275prov=(0,F.jDH)({token:Ct,providedIn:"root",factory:()=>new Be((0,F.WQX)(F.qQL),window)})}return Ct})();class Be{document;window;offset=()=>[0,0];constructor($t,ln){this.document=$t,this.window=ln}setOffset($t){this.offset=Array.isArray($t)?()=>$t:$t}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition($t,ln){this.window.scrollTo({...ln,left:$t[0],top:$t[1]})}scrollToAnchor($t,ln){const Dn=function $e(Ct,$t){const ln=Ct.getElementById($t)||Ct.getElementsByName($t)[0];if(ln)return ln;if("function"==typeof Ct.createTreeWalker&&Ct.body&&"function"==typeof Ct.body.attachShadow){const Dn=Ct.createTreeWalker(Ct.body,NodeFilter.SHOW_ELEMENT);let bt=Dn.currentNode;for(;bt;){const dn=bt.shadowRoot;if(dn){const un=dn.getElementById($t)||dn.querySelector(`[name="${$t}"]`);if(un)return un}bt=Dn.nextNode()}}return null}(this.document,$t);Dn&&(this.scrollToElement(Dn,ln),Dn.focus({preventScroll:!0}))}setHistoryScrollRestoration($t){try{this.window.history.scrollRestoration=$t}catch{console.warn((0,F.OsK)(2400,!1))}}scrollToElement($t,ln){const Dn=$t.getBoundingClientRect(),bt=Dn.left+this.window.pageXOffset,dn=Dn.top+this.window.pageYOffset,un=this.offset();this.window.scrollTo({...ln,left:bt-un[0],top:dn-un[1]})}}},6124(Yt,ve,a){a.d(ve,{$C:()=>Bg,$Ln:()=>Am,$o8:()=>dr,AVh:()=>Vf,Ab1:()=>ta,Agw:()=>Tr,Avn:()=>Af,B1s:()=>vy,B4B:()=>Bu,BIS:()=>Hr,BMQ:()=>pf,BUC:()=>Km,C4Q:()=>dc,C5r:()=>Bv,C7A:()=>lm,Co$:()=>xg,CsU:()=>kC,DNE:()=>Yd,DUP:()=>Gs,DkB:()=>Of,Dyx:()=>Jm,EFF:()=>Q_,EJ8:()=>Ug,Ef8:()=>An,FsC:()=>jg,GBs:()=>Ff,H1s:()=>Pm,HbH:()=>U_,Hgh:()=>Df,Hps:()=>rf,JRh:()=>$f,Jt5:()=>r_,Jv_:()=>Dv,KED:()=>xI,LVR:()=>Vm,Lme:()=>zf,Lp4:()=>sA,NAR:()=>I_,NCX:()=>bl,NOj:()=>xh,NSC:()=>Ba,NYb:()=>xC,NyB:()=>P_,OA$:()=>Mn,OM3:()=>Ec,OR8:()=>Js,Ocv:()=>iA,Ol2:()=>zd,PLl:()=>kr,PYC:()=>gy,PYt:()=>kg,PeT:()=>Zd,QR4:()=>Oc,QTQ:()=>Jp,Ql9:()=>eA,R7$:()=>Wh,RPW:()=>yy,RV6:()=>t_,SS7:()=>Gf,SdG:()=>A_,SpI:()=>ru,TFI:()=>Hl,UQu:()=>JI,VBU:()=>Lg,VeQ:()=>Hi,Vm6:()=>Ym,Vt3:()=>Xd,VwU:()=>xf,VzW:()=>u0,XpG:()=>M_,Xx1:()=>Mt,Y8G:()=>yf,YEm:()=>mr,Z7z:()=>Zm,Zhj:()=>i0,Zht:()=>Mf,ZtX:()=>sy,_9s:()=>Cd,_9u:()=>Yn,_jY:()=>po,_qm:()=>wi,_ys:()=>Yh,a8H:()=>Ea,aCM:()=>Br,aKT:()=>Ri,b5y:()=>oA,bH1:()=>Ng,bH3:()=>mv,bIt:()=>kf,bMT:()=>Nv,bVm:()=>Rc,bc$:()=>Lr,brH:()=>Fv,c1b:()=>kl,cDI:()=>G0,cdK:()=>Om,czy:()=>ol,d80:()=>tA,dOL:()=>Im,dfE:()=>Qy,e6s:()=>KT,eHC:()=>Rl,eq3:()=>Mv,eu8:()=>Tf,eux:()=>Xl,f$h:()=>tl,gXe:()=>so,gil:()=>Jc,hnC:()=>n0,i5U:()=>Lv,iHH:()=>Yl,iLQ:()=>Rm,iWE:()=>zo,j41:()=>Pc,jOp:()=>hf,k0s:()=>zl,kBR:()=>Sf,kS0:()=>Ur,kdw:()=>Ge,lJ4:()=>Tv,lJT:()=>km,l_i:()=>Iv,lsd:()=>O_,mGM:()=>S_,mNQ:()=>vv,mS5:()=>fn,mU9:()=>t0,mal:()=>Ju,n$t:()=>Ah,nI1:()=>xv,nM4:()=>Vg,nVh:()=>Xm,npT:()=>Fu,nrm:()=>bf,nv$:()=>Hm,o8S:()=>af,ozJ:()=>Sd,p2i:()=>_y,phd:()=>FC,pl0:()=>BC,qBF:()=>Ro,qex:()=>Ql,r8f:()=>_v,rAh:()=>my,rOR:()=>oi,rXU:()=>Sa,rj2:()=>Gl,rpG:()=>iy,sFG:()=>iD,sMw:()=>Av,sZ2:()=>fr,sdS:()=>R_,sgu:()=>s0,tSv:()=>Ph,uiO:()=>M,utN:()=>ED,vDg:()=>
vendor: 62,891 bytes, line 1
1og,vZN:()=>Kl,vxM:()=>Qm,vzT:()=>wc,w6W:()=>l0,wEZ:()=>Bf,wni:()=>Lf,wr$:()=>vh,xGo:()=>$n,xc7:()=>Hf,xe9:()=>oy,yLl:()=>Sm,ypd:()=>jC,ziG:()=>Sv,zoo:()=>Qh});var Ee=a(9204),i=a(6563),ke=a(9843),ot=a(4205),Xe=a(7092),fe=a(271);function Y(e){return{toString:e}.toString()}const Se="__annotations__",Ce="__parameters__",ct="__prop__metadata__";function _e(e,t,n,r,o){return Y(()=>{const s=P(t);function l(...f){if(this instanceof l)return s.call(this,...f),this;const v=new l(...f);return function(te){return o&&o(te,...f),(te.hasOwnProperty(Se)?te[Se]:Object.defineProperty(te,Se,{value:[]})[Se]).push(v),te}}return n&&(l.prototype=Object.create(n.prototype)),l.prototype.ngMetadataName=e,l.annotationCls=l,l})}function P(e){return function(...n){if(e){const r=e(...n);for(const o in r)this[o]=r[o]}}}function Ae(e,t,n){return Y(()=>{const r=P(t);function o(...s){if(this instanceof o)return r.apply(this,s),this;const l=new o(...s);return f.annotation=l,f;function f(v,W,te){const Ue=v.hasOwnProperty(Ce)?v[Ce]:Object.defineProperty(v,Ce,{value:[]})[Ce];for(;Ue.length<=te;)Ue.push(null);return(Ue[te]=Ue[te]||[]).push(l),v}}return o.prototype.ngMetadataName=e,o.annotationCls=o,o})}const wt=(0,i.z6V)(Ae("Inject",e=>({token:e})),-1),Mt=(0,i.z6V)(Ae("Optional"),8),jt=(0,i.z6V)(Ae("Self"),2),Ge=(0,i.z6V)(Ae("SkipSelf"),4),qe=(0,i.z6V)(Ae("Host"),1);function M(e){const t=i.laP.ng;if(t&&t.\u0275compilerFacade)return t.\u0275compilerFacade;throw new Error("JIT compiler unavailable")}const $={\u0275\u0275defineInjectable:i.jDH,\u0275\u0275defineInjector:i.G2t,\u0275\u0275inject:i.KVO,\u0275\u0275invalidFactoryDep:i.dmw,resolveForwardRef:i.nl4},w=Function;function ue(e){return"function"==typeof e}const lt=/^function\s+\S+\(\)\s*{[\s\S]+\.apply\(this,\s*(arguments|(?:[^()]+\(\[\],)?[^()]+\(arguments\).*)\)/,xt=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{/,cn=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{[\s\S]*constructor\s*\(/,en=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{[\s\S]*constructor\s*\(\)\s*{[^}]*super\(\.\.\.arguments\)/;class se{_reflect;constructor(t){this._reflect=t||i.laP.Reflect}factory(t){return(...n)=>new t(...n)}_zipTypesAndAnnotations(t,n){let r;r=(0,i.WfI)(typeof t>"u"?n.length:t.length);for(let o=0;o<r.length;o++)r[o]=typeof t>"u"?[]:t[o]&&t[o]!=Object?[t[o]]:[],n&&null!=n[o]&&(r[o]=r[o].concat(n[o]));return r}_ownParameters(t,n){if(function st(e){return lt.test(e)||en.test(e)||xt.test(e)&&!cn.test(e)}(t.toString()))return null;if(t.parameters&&t.parameters!==n.parameters)return t.parameters;const o=t.ctorParameters;if(o&&o!==n.ctorParameters){const f="function"==typeof o?o():o,v=f.map(te=>te&&te.type),W=f.map(te=>te&&Ye(te.decorators));return this._zipTypesAndAnnotations(v,W)}const s=t.hasOwnProperty(Ce)&&t[Ce],l=this._reflect&&this._reflect.getOwnMetadata&&this._reflect.getOwnMetadata("design:paramtypes",t);return l||s?this._zipTypesAndAnnotations(l,s):(0,i.WfI)(t.length)}parameters(t){if(!ue(t))return[];const n=at(t);let r=this._ownParameters(t,n);return!r&&n!==Object&&(r=this.parameters(n)),r||[]}_ownAnnotations(t,n){if(t.annotations&&t.annotations!==n.annotations){let r=t.annotations;return"function"==typeof r&&r.annotations&&(r=r.annotations),r}return t.decorators&&t.decorators!==n.decorators?Ye(t.decorators):t.hasOwnProperty(Se)?t[Se]:null}annotations(t){if(!ue(t))return[];const n=at(t),r=this._ownAnnotations(t,n)||[];return(n!==Object?this.annotations(n):[]).concat(r)}_ownPropMetadata(t,n){if(t.propMetadata&&t.propMetadata!==n.propMetadata){let r=t.propMetadata;return"function"==typeof r&&r.propMetadata&&(r=r.propMetadata),r}if(t.propDecorators&&t.propDecorators!==n.propDecorators){const r=t.propDecorators,o={};return Object.keys(r).forEach(s=>{o[s]=Ye(r[s])}),o}return t.hasOwnProperty(ct)?t[ct]:null}propMetadata(t){if(!ue(t))return{};const n=at(t),r={};if(n!==Object){const s=this.propMetadata(n);Object.keys(s).forEach(l=>{r[l]=s[l]})}const o=this._ownPropMetadata(t,n);return o&&Object.keys(o).forEach(s=>{const l=[];r.hasOwnProperty(s)&&l.push(...r[s]),l.push(...o[s]),r[s]=l}),r}ownPropMetadata(t){return ue(t)&&this._ownPropMetadata(t,at(t))||{}}hasLifecycleHook(t,n){return t instanceof w&&n in t.prototype}}function Ye(e){return e?e.map(t=>new(0,t.type.annotationCls)(...t.args?t.args:[])):[]}function at(e){const t=e.prototype?Object.getPrototypeOf(e.prototype):null;return(t?t.constructor:null)||Object}function Wt(e,t,n,r){null!==t?t.applyValueToInputSignal(t,r):e[n]=r}class Xt{previousValue;currentValue;firstChange;constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}}const Mn=(()=>{const e=()=>It;return e.ngInherit=!0,e})();function It(e){return e.type.prototype.ngOnChanges&&(e.setInput=R),Zt}function Zt(){const e=ye(this),t=e?.current;if(t){const n=e.previous;if(n===i.MZA)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function R(e,t,n,r,o){const s=this.declaredInputs[r],l=ye(e)||function Nt(e,t){return e[k]=t}(e,{previous:i.MZA,current:null}),f=l.current||(l.current={}),v=l.previous,W=v[s];f[s]=new Xt(W&&W.currentValue,n,v===i.MZA),Wt(e,t,o,n)}const k="__ngSimpleChanges__";function ye(e){return e[k]||null}const qt=[],An=function(e,t=null,n){for(let r=0;r<qt.length;r++)(0,qt[r])(e,t,n)};var fn=function(e){return e[e.TemplateCreateStart=0]="TemplateCreateStart",e[e.TemplateCreateEnd=1]="TemplateCreateEnd",e[e.TemplateUpdateStart=2]="TemplateUpdateStart",e[e.TemplateUpdateEnd=3]="TemplateUpdateEnd",e[e.LifecycleHookStart=4]="LifecycleHookStart",e[e.LifecycleHookEnd=5]="LifecycleHookEnd",e[e.OutputStart=6]="OutputStart",e[e.OutputEnd=7]="OutputEnd",e[e.BootstrapApplicationStart=8]="BootstrapApplicationStart",e[e.BootstrapApplicationEnd=9]="BootstrapApplicationEnd",e[e.BootstrapComponentStart=10]="BootstrapComponentStart",e[e.BootstrapComponentEnd=11]="BootstrapComponentEnd",e[e.ChangeDetectionStart=12]="ChangeDetectionStart",e[e.ChangeDetectionEnd=13]="ChangeDetectionEnd",e[e.ChangeDetectionSyncStart=14]="ChangeDetectionSyncStart",e[e.ChangeDetectionSyncEnd=15]="ChangeDetectionSyncEnd",e[e.AfterRenderHooksStart=16]="AfterRenderHooksStart",e[e.AfterRenderHooksEnd=17]="AfterRenderHooksEnd",e[e.ComponentStart=18]="ComponentStart",e[e.ComponentEnd=19]="ComponentEnd",e[e.DeferBlockStateStart=20]="DeferBlockStateStart",e[e.DeferBlockStateEnd=21]="DeferBlockStateEnd",e[e.DynamicComponentStart=22]="DynamicComponentStart",e[e.DynamicComponentEnd=23]="DynamicComponentEnd",e[e.HostBindingsUpdateStart=24]="HostBindingsUpdateStart",e[e.HostBindingsUpdateEnd=25]="HostBindingsUpdateEnd",e}(fn||{});function qn(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n<r;n++){const s=e.data[n].type.prototype,{ngAfterContentInit:l,ngAfterContentChecked:f,ngAfterViewInit:v,ngAfterViewChecked:W,ngOnDestroy:te}=s;l&&(e.contentHooks??=[]).push(-n,l),f&&((e.contentHooks??=[]).push(n,f),(e.contentCheckHooks??=[]).push(n,f)),v&&(e.viewHooks??=[]).push(-n,v),W&&((e.viewHooks??=[]).push(n,W),(e.viewCheckHooks??=[]).push(n,W)),null!=te&&(e.destroyHooks??=[]).push(n,te)}}function Zn(e,t,n){gr(e,t,3,n)}function Dr(e,t,n,r){(3&e[i.Wg1])===n&&gr(e,t,n,r)}function vr(e,t){let n=e[i.Wg1];(3&n)===t&&(n&=16383,n+=1,e[i.Wg1]=n)}function gr(e,t,n,r){const s=r??-1,l=t.length-1;let f=0;for(let v=void 0!==r?65535&e[i.wVl]:0;v<l;v++)if("number"==typeof t[v+1]){if(f=t[v],null!=r&&f>=r)break}else t[v]<0&&(e[i.wVl]+=65536),(f<s||-1==s)&&(rn(e,n,t,v),e[i.wVl]=(4294901760&e[i.wVl])+v+2),v++}function ar(e,t){An(fn.LifecycleHookStart,e,t);const n=(0,ke.Ht)(null);try{t.call(e)}finally{(0,ke.Ht)(n),An(fn.LifecycleHookEnd,e,t)}}function rn(e,t,n,r){const o=n[r]<0,s=n[r+1],f=e[o?-n[r]:n[r]];o?e[i.Wg1]>>14<e[i.wVl]>>16&&(3&e[i.Wg1])===t&&(e[i.Wg1]+=16384,ar(f,s)):ar(f,s)}const J=-1;class ee{factory;name;injectImpl;resolving=!1;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(t,n,r,o){this.factory=t,this.name=o,this.canSeeViewProviders=n,this.injectImpl=r}}function Ke(e){return null!=e&&"object"==typeof e&&(null===e.insertBeforeIndex||"number"==typeof e.insertBeforeIndex||Array.isArray(e.insertBeforeIndex))}function gn(e){return 3===e||4===e||6===e}function Ut(e){return 64===e.charCodeAt(0)}function _n(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 o=t[r];"number"==typeof o?n=o:0===n||Wn(e,n,o,0,-1===n||2===n?t[++r]:null)}}return e}function Wn(e,t,n,r,o){let s=0,l=e.length;if(-1===t)l=-1;else for(;s<e.length;){const f=e[s++];if("number"==typeof f){if(f===t){l=-1;break}if(f>t){l=s-1;break}}}for(;s<e.length;){const f=e[s];if("number"==typeof f)break;if(f===n)return void(null!==o&&(e[s+1]=o));s++,null!==o&&s++}-1!==l&&(e.splice(l,0,t),s=l+1),e.splice(s++,0,n),null!==o&&e.splice(s++,0,o)}function Kn(e){return e!==J}function kn(e){return 32767&e}function On(e,t){let n=function Pn(e){return e>>16}(e),r=t;for(;n>0;)r=r[i.X5O],n--;return r}let Qn=!0;function tr(e){const t=Qn;return Qn=e,t}let Ct=0;const $t={};function Dn(e,t){const n=dn(e,t);if(-1!==n)return n;const r=t[i.eDl];r.firstCreatePass&&(e.injectorIndex=t.length,bt(r.data,e),bt(t,null),bt(r.blueprint,null));const o=un(e,t),s=e.injectorIndex;if(Kn(o)){const l=kn(o),f=On(o,t),v=f[i.eDl].data;for(let W=0;W<8;W++)t[s+W]=f[l+W]|v[l+W]}return t[s+8]=o,s}function bt(e,t){e.push(0,0,0,0,0,0,0,0,t)}function dn(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function un(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=0,r=null,o=t;for(;null!==o;){if(r=In(o),null===r)return J;if(n++,o=o[i.X5O],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return J}function Fn(e,t,n){!function ln(e,t,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(i.p9y)&&(r=n[i.p9y]),null==r&&(r=n[i.p9y]=Ct++);const o=255&r;t.data[e+(o>>5)]|=1<<o}(e,t,n)}function Cr(e,t,n){if(8&n||void 0!==e)return e;(0,i.$Hz)(t,"NodeInjector")}function Sr(e,t,n,r){if(8&n&&void 0===r&&(r=null),!(3&n)){const o=e[i.YEL],s=(0,i.a2B)(void 0);try{return o?o.get(t,r,8&n):(0,i.MzJ)(t,r,8&n)}finally{(0,i.a2B)(s)}}return Cr(r,t,n)}function Or(e,t,n,r=0,o){if(null!==e){if(2048&t[i.Wg1]&&!(2&r)){const l=function Hn(e,t,n,r,o){let s=e,l=t;for(;null!==s&&null!==l&&2048&l[i.Wg1]&&!(0,i.EFk)(l);){const f=Er(s,l,n,2|r,$t);if(f!==$t)return f;let v=s.parent;if(!v){const W=l[i.oMQ];if(W){const te=W.get(n,$t,-5&r);if(te!==$t)return te}v=In(l),l=l[i.X5O]}s=v}return o}(e,t,n,r,$t);if(l!==$t)return l}const s=Er(e,t,n,r,$t);if(s!==$t)return s}return Sr(t,n,r,o)}function Er(e,t,n,r,o){const s=function je(e){if("string"==typeof e)return e.charCodeAt(0)||0;const t=e.hasOwnProperty(i.p9y)?e[i.p9y]:void 0;return"number"==typeof t?t>=0?255&t:Tn:t}(n);if("function"==typeof s){if(!(0,i.ihb)(t,e,r))return 1&r?Cr(o,n,r):Sr(t,n,r,o);try{let l;if(l=s(r),null!=l||8&r)return l;(0,i.$Hz)(n)}finally{(0,i.niQ)()}}else if("number"==typeof s){let l=null,f=dn(e,t),v=J,W=1&r?t[i.b5C][i.qlT]:null;for((-1===f||4&r)&&(v=-1===f?un(e,t):t[f+8],v!==J&&En(r,!1)?(l=t[i.eDl],f=kn(v),t=On(v,t)):f=-1);-1!==f;){const te=t[i.eDl];if(Ht(s,f,te.data)){const Ue=br(f,t,n,l,r,W);if(Ue!==$t)return Ue}v=t[f+8],v!==J&&En(r,t[i.eDl].data[f+8]===W)&&Ht(s,f,t)?(l=te,f=kn(v),t=On(v,t)):f=-1}}return o}function br(e,t,n,r,o,s){const l=t[i.eDl],f=l.data[e+8],te=z(f,l,n,null==r?(0,i.Qs1)(f)&&Qn:r!=l&&!!(3&f.type),1&o&&s===f);return null!==te?he(t,l,te,f,o):$t}function z(e,t,n,r,o){const s=e.providerIndexes,l=t.data,f=1048575&s,v=e.directiveStart,te=s>>20,Tt=o?f+te:e.directiveEnd;for(let Bt=r?f:f+te;Bt<Tt;Bt++){const sn=l[Bt];if(Bt<v&&n===sn||Bt>=v&&sn.type===n)return Bt}if(o){const Bt=l[v];if(Bt&&(0,i.JlV)(Bt)&&Bt.type===n)return v}return null}function he(e,t,n,r,o){let s=e[n];const l=t.data;if(s instanceof ee){const f=s;if(f.resolving)throw(0,i.PQT)("");const v=tr(f.canSeeViewProviders);f.resolving=!0;const Ue=f.injectImpl?(0,i.a2B)(f.injectImpl):null;(0,i.ihb)(e,r,0);try{s=e[n]=f.factory(void 0,o,l,e,r),t.firstCreatePass&&n>=r.directiveStart&&function Xn(e,t,n){const{ngOnChanges:r,ngOnInit:o,ngDoCheck:s}=t.type.prototype;if(r){const l=It(t);(n.preOrderHooks??=[]).push(e,l),(n.preOrderCheckHooks??=[]).push(e,l)}o&&(n.preOrderHooks??=[]).push(0-e,o),s&&((n.preOrderHooks??=[]).push(e,s),(n.preOrderCheckHooks??=[]).push(e,s))}(n,l[n],t)}finally{null!==Ue&&(0,i.a2B)(Ue),tr(v),f.resolving=!1,(0,i.niQ)()}}return s}function Ht(e,t,n){return!!(n[t+(e>>5)]&1<<e)}function En(e,t){return!(2&e||1&e&&t)}class Gt{_tNode;_lView;constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return Or(this._tNode,this._lView,t,(0,i.hjC)(r),n)}}function Tn(){return new Gt((0,i.Mx4)(),(0,i.OAn)())}function $n(e){return Y(()=>{const t=e.prototype.constructor,n=t[i.zSs]||zn(t),r=Object.prototype;let o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){const s=o[i.zSs]||zn(o);if(s&&s!==n)return s;o=Object.getPrototypeOf(o)}return s=>new s})}function zn(e){return(0,i.Jzi)(e)?()=>{const t=zn((0,i.nl4)(e));return t&&t()}:(0,i.wGu)(e)}function In(e){const t=e[i.eDl],n=t.type;return 2===n?t.declTNode:1===n?e[i.qlT]:null}function Ur(e){return function lr(e,t){if("class"===t)return e.classes;if("style"===t)return e.styles;const n=e.attrs;if(n){const r=n.length;let o=0;for(;o<r;){const s=n[o];if(gn(s))break;if(0===s)o+=2;else if("number"==typeof s)for(o++;o<r&&"string"==typeof n[o];)o++;else{if(s===t)return n[o+1];o+=2}}}return null}((0,i.Mx4)(),e)}const Zr=Ae("Attribute",e=>({attributeName:e,__NG_ELEMENT_ID__:()=>Ur(e)}));let xr=null;function Rr(e){return gi(function ti(){return xr=xr||new se}().parameters(e))}function gi(e){return e.map(t=>function Di(e){const t={token:null,attribute:null,host:!1,optional:!1,self:!1,skipSelf:!1};if(Array.isArray(e)&&e.length>0)for(let n=0;n<e.length;n++){const r=e[n];if(void 0===r)continue;const o=Object.getPrototypeOf(r);if(r instanceof Mt||"Optional"===o.ngMetadataName)t.optional=!0;else if(r instanceof Ge||"SkipSelf"===o.ngMetadataName)t.skipSelf=!0;else if(r instanceof jt||"Self"===o.ngMetadataName)t.self=!0;else if(r instanceof qe||"Host"===o.ngMetadataName)t.host=!0;else if(r instanceof wt)t.token=r.token;else if(r instanceof Zr){if(void 0===r.attributeName)throw new i.buA(-204,!1);t.attribute=r.attributeName}else t.token=r}else t.token=void 0===e||Array.isArray(e)&&0===e.length?null:e;return t}(t))}const zi=(0,i.kLh)({provide:String,useValue:i.kLh});function yi(e){return void 0!==e.useClass}function Ao(e){return void 0!==e.useFactory}const wi=_e("Injectable",void 0,void 0,0,(e,t)=>function Ci(e,t){let n=null,r=null;e.hasOwnProperty(i.yAH)||Object.defineProperty(e,i.yAH,{get:()=>(null===n&&(n=M().compileInjectable($,`ng:///${e.name}/\u0275prov.js`,function Ti(e,t){const n=t||{providedIn:null},r={name:e.name,type:e,typeArgumentCount:0,providedIn:n.providedIn};return(yi(n)||Ao(n))&&void 0!==n.deps&&(r.deps=gi(n.deps)),yi(n)?r.useClass=n.useClass:function ao(e){return zi in e}(n)?r.useValue=n.useValue:Ao(n)?r.useFactory=n.useFactory:function _o(e){return void 0!==e.useExisting}(n)&&(r.useExisting=n.useExisting),r}(e,t))),n)}),e.hasOwnProperty(i.zSs)||Object.defineProperty(e,i.zSs,{get:()=>{if(null===r){const o=M();r=o.compileFactory($,`ng:///${e.name}/\u0275fac.js`,{name:e.name,type:e,typeArgumentCount:0,deps:Rr(e),target:o.FactoryTarget.Injectable})}return r},configurable:!0})}(e,t));function co(){return Pi((0,i.Mx4)(),(0,i.OAn)())}function Pi(e,t){return new Ri((0,i.d31)(e,t))}let Ri=(()=>class e{nativeElement;constructor(n){this.nativeElement=n}static __NG_ELEMENT_ID__=co})();function Mi(e){return e instanceof Ri?e.nativeElement:e}function li(){return this._results[Symbol.iterator]()}class oi{_emitDistinctChangesOnly;dirty=!0;_onDirty=void 0;_results=[];_changesDetected=!1;_changes=void 0;length=0;first=void 0;last=void 0;get changes(){return this._changes??=new ot.B}constructor(t=!1){this._emitDistinctChangesOnly=t}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){this.dirty=!1;const r=(0,i.Bqz)(t);(this._changesDetected=!(0,i.ng7)(this._results,r,n))&&(this._results=r,this.length=r.length,this.last=r[this.length-1],this.first=r[0])}notifyOnChanges(){void 0!==this._changes&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.next(this)}onDirty(t){this._onDirty=t}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){void 0!==this._changes&&(this._changes.complete(),this._changes.unsubscribe())}[Symbol.iterator]=li}function Bi(e){return!(128&~e.flags)}var si=function(e){return e[e.OnPush=0]="OnPush",e[e.Eager=1]="Eager",e[e.Default=1]="Default",e}(si||{});const ui=new Map;let qi=0;function ki(e){ui.delete(e[i.ID])}const Eo="__ngContext__";function $r(e,t){(0,i.q$2)(t)?(e[Eo]=t[i.ID],function ji(e){ui.set(e[i.ID],e)}(t)):e[Eo]=t}function Zo(e){return Do(e[i.EJG])}function uo(e){return Do(e[i.K29])}function Do(e){for(;null!==e&&!(0,i.A0l)(e);)e=e[i.K29];return e}let Un;function Yn(e){Un=e}function mr(){if(void 0!==Un)return Un;if(typeof document<"u")return document;throw new i.buA(210,!1)}const fr=new i.nKC("",{factory:()=>sr}),sr="ng",dr={provide:i.Z63,multi:!0,useValue:()=>{const e=(0,i.WQX)(fr);if(!/^[a-zA-Z0-9\-_]+$/.test(e))throw new i.buA(211,`APP_ID value "${e}" is not alphanumeric. The APP_ID must be a string of alphanumeric characters. (a-zA-Z0-9), hyphens (-) and underscores (_) are allowed.`)}},kr=new i.nKC(""),Tr=new i.nKC("",{providedIn:"platform",factory:()=>"unknown"}),Lr=new i.nKC(""),Hr=new i.nKC("",{factory:()=>(0,i.WQX)(i.qQL).body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null}),Vr={breakpoints:[16,32,48,64,96,128,256,384,640,750,828,1080,1200,1920,2048,3840],placeholderResolution:30,disableImageSizeWarning:!1,disableImageLazyLoadWarning:!1},Hi=new i.nKC("",{factory:()=>Vr});let zr=(()=>{class e{static \u0275prov=(0,i.jDH)({token:e,providedIn:"root",factory:()=>{const n=new e;return n.store=function Kr(e,t){const n=e.getElementById(t+"-state");if("SCRIPT"===n?.tagName&&n.textContent)try{return JSON.parse(n.textContent)}catch(r){console.warn("Exception while restoring TransferState for app "+t,r)}return{}}((0,i.WQX)(i.qQL),(0,i.WQX)(fr)),n}});store={};onSerializeCallbacks={};get(n,r){return void 0!==this.store[n]?this.store[n]:r}set(n,r){this.store[n]=r}remove(n){delete this.store[n]}hasKey(n){return this.store.hasOwnProperty(n)}get isEmpty(){return 0===Object.keys(this.store).length}onSerialize(n,r){this.onSerializeCallbacks[n]=r}toJson(){for(const n in this.onSerializeCallbacks)if(this.onSerializeCallbacks.hasOwnProperty(n))try{this.store[n]=this.onSerializeCallbacks[n]()}catch(r){console.warn("Exception in onSerialize callback: ",r)}return JSON.stringify(this.store).replace(/</g,"\\u003C").replace(/\//g,"\\u002F")}}return e})();const Ro=new i.nKC(""),Ki=new i.nKC("",{factory:()=>!1}),cr=new i.nKC(""),fi={passive:!0,capture:!0},Vo=new WeakMap,ro=new WeakMap,ho=new WeakMap,Mo=["click","keydown"],ko=["mouseenter","mouseover","focusin"],xo=new Map;class io{callbacks=new Set;listener=()=>{for(const t of this.callbacks)t()}}function ts(e,t){let n=ro.get(e);if(!n){n=new io,ro.set(e,n);for(const r of Mo)e.addEventListener(r,n.listener,fi)}return n.callbacks.add(t),()=>{const{callbacks:r,listener:o}=n;if(r.delete(t),0===r.size){ro.delete(e);for(const s of Mo)e.removeEventListener(s,o,fi)}}}function cs(e,t){let n=Vo.get(e);if(!n){n=new io,Vo.set(e,n);for(const r of ko)e.addEventListener(r,n.listener,fi)}return n.callbacks.add(t),()=>{const{callbacks:r,listener:o}=n;if(r.delete(t),0===r.size){for(const s of ko)e.removeEventListener(s,o,fi);Vo.delete(e)}}}function Io(e){return e?`${e.rootMargin}/${"number"==typeof e.threshold?e.threshold:e.threshold?.join("\n")}`:""}const S=new WeakMap;const re=new i.nKC("");function T(e){return!(32&~e.flags)}function Ha(e){let t=e._lView;return 2===t[i.eDl].type?null:((0,i.EFk)(t)&&(t=t[i.Yw1]),t)}function Bs(e){return e.get(cr,!1,{optional:!0})}function gs(e,t){const n=e.contentQueries;if(null!==n){const r=(0,ke.Ht)(null);try{for(let o=0;o<n.length;o+=2){const l=n[o+1];if(-1!==l){const f=e.data[l];(0,i.GA0)(n[o]),f.contentQueries(2,t[l],l)}}}finally{(0,ke.Ht)(r)}}}function us(e,t,n){(0,i.GA0)(0);const r=(0,ke.Ht)(null);try{t(e,n)}finally{(0,ke.Ht)(r)}}function Ss(e,t,n){if((0,i.srX)(t)){const r=(0,ke.Ht)(null);try{const s=t.directiveEnd;for(let l=t.directiveStart;l<s;l++){const f=e.data[l];f.contentQueries&&f.contentQueries(1,n[l],l)}}finally{(0,ke.Ht)(r)}}}var so=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e[e.ExperimentalIsolatedShadowDom=4]="ExperimentalIsolatedShadowDom",e}(so||{});const Yc={"http://www.w3.org/2000/svg":"svg","http://www.w3.org/1998/Math/MathML":"math"};let Ws,ma;function Zc(){if(void 0===Ws&&(Ws=null,i.laP.trustedTypes))try{Ws=i.laP.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Ws}function Os(e){return Zc()?.createHTML(e)||e}function _a(){if(void 0===ma&&(ma=null,i.laP.trustedTypes))try{ma=i.laP.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return ma}function p(e){return _a()?.createHTML(e)||e}function V(e){return _a()?.createScript(e)||e}function Le(e){return _a()?.createScriptURL(e)||e}class Ft{changingThisBreaksApplicationSecurity;constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${i.ok8})`}}class an extends Ft{getTypeName(){return"HTML"}}class xn extends Ft{getTypeName(){return"Style"}}class rr extends Ft{getTypeName(){return"Script"}}class Xr extends Ft{getTypeName(){return"URL"}}class Fr extends Ft{getTypeName(){return"ResourceURL"}}function Br(e){return e instanceof Ft?e.changingThisBreaksApplicationSecurity:e}function zo(e,t){const n=function py(e){return e instanceof Ft&&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 ${i.ok8})`)}return n===t}function gy(e){return new an(e)}function my(e){return new xn(e)}function _y(e){return new rr(e)}function vy(e){return new Xr(e)}function yy(e){return new Fr(e)}function uh(e){const t=new by(e);return function Dy(){try{return!!(new window.DOMParser).parseFromString(Os(""),"text/html")}catch{return!1}}()?new Ey(t):t}class Ey{inertDocumentHelper;constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{const n=(new window.DOMParser).parseFromString(Os(t),"text/html").body;return null===n?this.inertDocumentHelper.getInertBodyElement(t):(n.firstChild?.remove(),n)}catch{return null}}}class by{defaultDoc;inertDocument;constructor(t){this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(t){const n=this.inertDocument.createElement("template");return n.innerHTML=Os(t),n}}const Cy=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Jc(e){return(e=String(e)).match(Cy)?e:"unsafe:"+e}function Es(e){const t={};for(const n of e.split(","))t[n]=!0;return t}function tc(...e){const t={};for(const n of e)for(const r in n)n.hasOwnProperty(r)&&(t[r]=!0);return t}const dh=Es("area,br,col,hr,img,wbr"),fh=Es("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),hh=Es("rp,rt"),Pu=tc(dh,tc(fh,Es("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")),tc(hh,Es("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")),tc(hh,fh)),ph=Es("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Ru=tc(ph,Es("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"),Es("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")),Ty=Es("script,style,template");class My{sanitizedSomething=!1;buf=[];sanitizeChildren(t){let n=t.firstChild,r=!0,o=[];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)o.push(n),n=Sy(n);else for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let s=Ay(n);if(s){n=s;break}n=o.pop()}return this.buf.join("")}startElement(t){const n=gh(t).toLowerCase();if(!Pu.hasOwnProperty(n))return this.sanitizedSomething=!0,!Ty.hasOwnProperty(n);this.buf.push("<"),this.buf.push(n);const r=t.attributes;for(let o=0;o<r.length;o++){const s=r.item(o),l=s.name,f=l.toLowerCase();if(!Ru.hasOwnProperty(f)){this.sanitizedSomething=!0;continue}let v=s.value;ph[f]&&(v=Jc(v)),this.buf.push(" ",l,'="',_h(v),'"')}return this.buf.push(">"),!0}endElement(t){const n=gh(t).toLowerCase();Pu.hasOwnProperty(n)&&!dh.hasOwnProperty(n)&&(this.buf.push("</"),this.buf.push(n),this.buf.push(">"))}chars(t){this.buf.push(_h(t))}}function Ay(e){const t=e.nextSibling;if(t&&e!==t.previousSibling)throw mh(t);return t}function Sy(e){const t=e.firstChild;if(t&&function Iy(e,t){return(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}(e,t))throw mh(t);return t}function gh(e){const t=e.nodeName;return"string"==typeof t?t:"FORM"}function mh(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}const Oy=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,wy=/([^\#-~ |!])/g;function _h(e){return e.replace(/&/g,"&amp;").replace(Oy,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(wy,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}let qc;function vh(e,t){let n=null;try{qc=qc||uh(e);let r=t?String(t):"";n=qc.getInertBodyElement(r);let o=5,s=r;do{if(0===o)throw new Error("Failed to sanitize html because the input is unstable");o--,r=s,s=n.innerHTML,n=qc.getInertBodyElement(r)}while(r!==s);return Os((new My).sanitizeChildren(ku(n)||n))}finally{if(n){const r=ku(n)||n;for(;r.firstChild;)r.firstChild.remove()}}}function ku(e){return"content"in e&&function Py(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}const Ry=/^>|^->|<!--|-->|--!>|<!-$/g,ky=/(<|>)/g;function xu(e,t){return e.createText(t)}function Eh(e,t,n){e.setValue(t,n)}function Nu(e,t){return e.createComment(function yh(e){return e.replace(Ry,t=>t.replace(ky,"\u200b$1\u200b"))}(t))}function el(e,t,n){return e.createElement(t,n)}function Hs(e,t,n,r,o){e.insertBefore(t,n,r,o)}function bh(e,t,n){e.appendChild(t,n)}function Dh(e,t,n,r,o){null!==r?Hs(e,t,n,r,o):bh(e,t,n)}function nc(e,t,n,r){e.removeChild(null,t,n,r)}function Th(e,t,n){const{mergedAttrs:r,classes:o,styles:s}=n;null!==r&&function Cn(e,t,n){let r=0;for(;r<n.length;){const o=n[r];if("number"==typeof o){if(0!==o)break;r++;const s=n[r++],l=n[r++],f=n[r++];e.setAttribute(t,l,f,s)}else{const s=o,l=n[++r];Ut(s)?e.setProperty(t,s,l):e.setAttribute(t,s,l),r++}}}(e,t,r),null!==o&&function Ly(e,t,n){""===n?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}(e,t,o),null!==s&&function Ny(e,t,n){e.setAttribute(t,"style",n)}(e,t,s)}function Lu(e,t=!0){if(":"!=e[0])return[null,e];const n=e.indexOf(":",1);if(-1===n){if(t)throw new Error(`Unsupported format "${e}" expecting ":namespace:name"`);return[null,e]}return[e.slice(1,n),e.slice(n+1)]}function Fu(e,t,n){if(void 0!==t&&void 0!==n&&Sh(t,n)!==i.WPN.HTML)return e;const r=rc();return r?p(r.sanitize(i.WPN.HTML,e)||""):zo(e,"HTML")?p(Br(e)):vh(mr(),(0,i.eFE)(e))}function Mh(e){const t=rc();return t?t.sanitize(i.WPN.STYLE,e)||"":zo(e,"Style")?Br(e):(0,i.eFE)(e)}function Bu(e){const t=rc();return t?t.sanitize(i.WPN.URL,e)||"":zo(e,"URL")?Br(e):Jc((0,i.eFE)(e))}function tl(e){const t=rc();if(t)return Le(t.sanitize(i.WPN.RESOURCE_URL,e)||"");if(zo(e,"ResourceURL"))return Le(Br(e));throw new i.buA(904,!1)}function Ih(e){const t=rc();if(t)return V(t.sanitize(i.WPN.SCRIPT,e)||"");if(zo(e,"Script"))return V(Br(e));throw new i.buA(905,!1)}function Ah(e,t,n){return function Uy(e,t){switch(Sh(e,t)){case i.WPN.RESOURCE_URL:return tl;case i.WPN.URL:return Bu;default:return null}}(t,n)?.(e)??e}function rc(){const e=(0,i.OAn)();return e&&e[i.M0L].sanitizer}function Sh(e,t){const[n,r]=Oh(e);return(0,i.wdo)(r,t,n)}function Oh(e){const t=Lu(e=e.toLowerCase(),!1);if(t[0])return t;const r=-1===(0,i._px)()?null:(0,i.CpD)();let o=r?.namespace;if("#host"===e&&2===r?.type){const s=(0,i.d31)(r,(0,i.OAn)());if(s.tagName&&(e=s.tagName.toLowerCase()),null==o){const l=s.namespaceURI;o=l&&Yc[l]}}return[o,e]}const nl=new Set(["href","xlink:href"]),Wy={animate:{to:nl,values:nl,from:nl},set:{to:nl}};function wh(e,t,n){const o=-1===(0,i._px)()?null:(0,i.CpD)();if(o&&2!==o.type)return e;const[s,l]=Oh(t);if((0,i.wdo)(l,n,s)!==i.WPN.ATTRIBUTE_NO_BINDING)return e;const v=(0,i.OAn)();if(o)if("iframe"===l)!function Fy(e){const t=(0,i.OAn)();e.src="",e.srcdoc=Os(""),nc(t[i.GpT],e)}((0,i.d31)(o,v));else if(s===i.jNX){const te=Wy[l]?.[n.toLowerCase()];if(te){if(function Hy(e,t){for(const n of e.getAttributeNames()){if("attributename"!==n.toLowerCase())continue;const r=e.getAttribute(n);if(null!==r&&t.has(r.toLowerCase()))return r}return null}((0,i.d31)(o,v),te))throw new i.buA(-910,!1);return e}}throw new i.buA(-910,!1)}function Ph(e){return e.ownerDocument.defaultView}function ms(e){return e instanceof Function?e():e}function Qy(e){if(xh(e),!(0,i.xUg)(e).standalone)throw new i.buA(907,`The ${(0,i.PP7)(e)} component is not marked as standalone, but Angular expects to have a standalone component here. Please make sure the ${(0,i.PP7)(e)} component does not have the \`standalone: false\` flag in the decorator.`)}function xh(e){if(!(0,i.xUg)(e))throw new i.buA(906,`The ${(0,i.PP7)(e)} is not an Angular component, make sure it has the \`@Component\` decorator.`)}function Yy(e,t,n){let r=e.length;for(;;){const o=e.indexOf(t,n);if(-1===o)return o;if(0===o||e.charCodeAt(o-1)<=32){const s=t.length;if(o+s===r||e.charCodeAt(o+s)<=32)return o}n=o+1}}const Fh="ng-template";function Zy(e,t,n,r){let o=0;if(r){for(;o<t.length&&"string"==typeof t[o];o+=2)if("class"===t[o]&&-1!==Yy(t[o+1].toLowerCase(),n,0))return!0}else if(ju(e))return!1;if(o=t.indexOf(1,o),o>-1){let s;for(;++o<t.length&&"string"==typeof(s=t[o]);)if(s.toLowerCase()===n)return!0}return!1}function ju(e){return 4===e.type&&e.value!==Fh}function Jy(e,t,n){return t===(4!==e.type||n?e.value:Fh)}function qy(e,t,n){let r=4;const o=e.attrs,s=null!==o?function nE(e){for(let t=0;t<e.length;t++)if(gn(e[t]))return t;return e.length}(o):0;let l=!1;for(let f=0;f<t.length;f++){const v=t[f];if("number"!=typeof v){if(!l)if(4&r){if(r=2|1&r,""!==v&&!Jy(e,v,n)||""===v&&1===t.length){if(ds(r))return!1;l=!0}}else if(8&r){if(null===o||!Zy(e,o,v,n)){if(ds(r))return!1;l=!0}}else{const W=t[++f],te=eE(v,o,ju(e),n);if(-1===te){if(ds(r))return!1;l=!0;continue}if(""!==W){let Ue;if(Ue=te>s?"":o[te+1].toLowerCase(),2&r&&W!==Ue){if(ds(r))return!1;l=!0}}}}else{if(!l&&!ds(r)&&!ds(v))return!1;if(l&&ds(v))continue;l=!1,r=v|1&r}}return ds(r)||l}function ds(e){return!(1&e)}function eE(e,t,n,r){if(null===t)return-1;let o=0;if(r||!n){let s=!1;for(;o<t.length;){const l=t[o];if(l===e)return o;if(3===l||6===l)s=!0;else{if(1===l||2===l){let f=t[++o];for(;"string"==typeof f;)f=t[++o];continue}if(4===l)break;if(0===l){o+=4;continue}}o+=s?1:2}return-1}return function rE(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 Bh(e,t,n=!1){for(let r=0;r<t.length;r++)if(qy(e,t[r],n))return!0;return!1}function iE(e,t){e:for(let n=0;n<t.length;n++){const r=t[n];if(e.length===r.length){for(let o=0;o<e.length;o++)if(e[o]!==r[o])continue e;return!0}}return!1}function jh(e,t){return e?":not("+t.trim()+")":t}function oE(e){let t=e[0],n=1,r=2,o="",s=!1;for(;n<e.length;){let l=e[n];if("string"==typeof l)if(2&r){const f=e[++n];o+="["+l+(f.length>0?'="'+f+'"':"")+"]"}else 8&r?o+="."+l:4&r&&(o+=" "+l);else""!==o&&!ds(l)&&(t+=jh(s,o),o=""),r=l,s=s||!ds(r);n++}return""!==o&&(t+=jh(s,o)),t}const Yr={};function Uu(e,t,n,r,o,s,l,f,v,W,te){const Ue=i.Yw1+r,Tt=Ue+o,Bt=function cE(e,t){const n=[];for(let r=0;r<t;r++)n.push(r<e?null:Yr);return n}(Ue,Tt),sn="function"==typeof W?W():W;return Bt[i.eDl]={type:e,blueprint:Bt,template:n,queries:null,viewQuery:f,declTNode:t,data:Bt.slice().fill(null,Ue),bindingStartIndex:Ue,expandoStartIndex:Tt,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 l?l():l,firstChild:null,schemas:v,consts:sn,incompleteFirstPass:!1,ssrId:te}}function Uh(e){const t=e.tView;return null===t||t.incompleteFirstPass?e.tView=Uu(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function rl(e,t,n,r,o,s,l,f,v,W,te){const Ue=t.blueprint.slice();return Ue[i.jgP]=o,Ue[i.Wg1]=1228|r,(null!==W||e&&2048&e[i.Wg1])&&(Ue[i.Wg1]|=2048),(0,i.HUe)(Ue),Ue[i.f7T]=Ue[i.X5O]=e,Ue[i.SKP]=n,Ue[i.M0L]=l||e&&e[i.M0L],Ue[i.GpT]=f||e&&e[i.GpT],Ue[i.YEL]=v||e&&e[i.YEL]||null,Ue[i.qlT]=s,Ue[i.ID]=function is(){return qi++}(),Ue[i.tcA]=te,Ue[i.oMQ]=W,Ue[i.b5C]=2==t.type?e[i.b5C]:Ue,Ue}function Wu(e){let t=16;return e.signals?t=4096:e.onPush&&(t=64),t}function ic(e,t,n,r){if(0===n)return-1;const o=t.length;for(let s=0;s<n;s++)t.push(r),e.blueprint.push(r),e.data.push(null);return o}function Hu(e,t){return e[i.EJG]?e[i.Yrj][i.K29]=t:e[i.EJG]=t,e[i.Yrj]=t,t}function Wh(e=1){Hh((0,i.klJ)(),(0,i.OAn)(),(0,i._px)()+e,!1)}function Hh(e,t,n,r){if(!r)if(3&~t[i.Wg1]){const s=e.preOrderHooks;null!==s&&Dr(t,s,0,n)}else{const s=e.preOrderCheckHooks;null!==s&&Zn(t,s,n)}(0,i.ypq)(n)}var il=function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e}(il||{});function ws(e,t,n,r){const o=(0,ke.Ht)(null);try{const[s,l,f]=e.inputs[n];let v=null;0!==(l&il.SignalBased)&&(v=t[s][ke.bh]),null!==v&&void 0!==v.transformFn?r=v.transformFn(r):null!==f&&(r=f.call(t,r)),null!==e.setInput?e.setInput(t,v,r,n,s):Wt(t,v,s,r)}finally{(0,ke.Ht)(o)}}var ol=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(ol||{});let Vu;function Ku(e,t){return Vu(e,t)}const dE=new i.nKC("",{factory:()=>!1}),fE=new i.nKC("",{factory:()=>hE}),hE=4e3,Vs=typeof document<"u"&&"function"==typeof document?.documentElement?.getAnimations;function sl(e){return e[i.YEL].get(dE,!1)}function $u(e){const t=ya.get(e);if(t){for(const n of t.cleanupFns)n();ya.delete(e)}Ks.delete(e)}const mE=()=>{},ya=new WeakMap,Ks=new WeakMap,oc=new WeakMap,sc=new WeakSet;function zu(e,t){const n=oc.get(e);if(n&&n.length>0){const r=n.findIndex(o=>o===t);r>-1&&n.splice(r,1)}0===n?.length&&oc.delete(e)}function Gu(e,t){const n=oc.get(e);n?n.includes(t)||n.push(t):oc.set(e,[t])}function al(e){const t=e[i.Isx]??={};return t.enter??=new Map}function $s(e){const t=e[i.Isx]??={};return t.leave??=new Map}function Vh(e){const t="function"==typeof e?e():e;let n=Array.isArray(t)?t:null;return"string"==typeof t&&(n=t.trim().split(/\s+/).filter(r=>r)),n}function ac(e){return e.composedPath?e.composedPath()[0]:e.target}function Xu(e,t){const n=Ks.get(t);return void 0===n||t===ac(e)&&(void 0!==n.animationName&&e.animationName===n.animationName||void 0!==n.propertyName&&("all"===n.propertyName||e.propertyName===n.propertyName))}function cl(e,t,n){const r=e.get(t.index)??{animateFns:[]};r.animateFns.push(n),e.set(t.index,r)}function Qu(e,t){if(e)for(const n of e)n();for(const n of t)n()}function Yu(e,t){const n=$s(e).get(t.index);n&&(n.resolvers=void 0)}function ll(e,t,n,r,o){zu(t,n),Qu(r,o),Yu(e,t)}function ul(e){if(!e)return 0;const t=e.toLowerCase().indexOf("ms")>-1?1:1e3;return parseFloat(e)*t}function zs(e,t){return e.getPropertyValue(t).split(",").map(r=>r.trim())}function Kh(e,t){return void 0!==e&&e.duration>t.duration}function $h(e){return(null!=e.animationName||null!=e.propertyName)&&e.duration>0}function zh(e,t,n){if(!n)return;const r=e.getAnimations();return 0===r.length?function DE(e,t){const n=getComputedStyle(e),r=function bE(e){const t=zs(e,"animation-name"),n=zs(e,"animation-delay"),r=zs(e,"animation-duration"),o=zs(e,"animation-iteration-count"),s={animationName:"",propertyName:void 0,duration:0};for(let l=0;l<t.length;l++){const f=ul(n[l])+ul(r[l]);f>s.duration&&"infinite"!==o[l]&&(s.animationName=t[l],s.duration=f)}return s}(n),o=function EE(e){const t=zs(e,"transition-property"),n=zs(e,"transition-duration"),r=zs(e,"transition-delay"),o={propertyName:"",duration:0,animationName:void 0};for(let s=0;s<t.length;s++){const l=ul(r[s])+ul(n[s]);l>o.duration&&(o.propertyName=t[s],o.duration=l)}return o}(n),s=r.duration>o.duration?r:o;Kh(t.get(e),s)||$h(s)&&t.set(e,s)}(e,t):function CE(e,t,n){let r={animationName:void 0,propertyName:void 0,duration:0};for(const o of n){const s=o.effect?.getTiming();if(s?.iterations===1/0)continue;const l="number"==typeof s?.duration?s.duration:0;let f=(s?.delay??0)+l;const v=o.playbackRate;let W,te;void 0!==v&&0!==v&&1!==v&&(f/=Math.abs(v)),o.animationName?te=o.animationName:W=o.transitionProperty,f>=r.duration&&(r={animationName:te,propertyName:W,duration:f})}Kh(t.get(e),r)||$h(r)&&t.set(e,r)}(e,t,r)}const Gs=new Set;var Zu=function(e){return e[e.CHANGE_DETECTION=0]="CHANGE_DETECTION",e[e.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",e}(Zu||{});const Ea=new i.nKC(""),Gh=new Set;function po(e){Gh.has(e)||(Gh.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}let Xh=(()=>{class e{impl=null;execute(){this.impl?.execute()}static \u0275prov=(0,i.jDH)({token:e,providedIn:"root",factory:()=>new e})}return e})();const Qh=[0,1,2,3];let TE=(()=>{class e{ngZone=(0,i.WQX)(i.SKi);scheduler=(0,i.WQX)(i.hk6);errorHandler=(0,i.WQX)(i.zcH,{optional:!0});sequences=new Set;deferredRegistrations=new Set;executing=!1;constructor(){(0,i.WQX)(Ea,{optional:!0})}execute(){const n=this.sequences.size>0;n&&An(fn.AfterRenderHooksStart),this.executing=!0;for(const r of Qh)for(const o of this.sequences)if(!o.erroredOrDestroyed&&o.hooks[r])try{o.pipelinedValue=this.ngZone.runOutsideAngular(()=>this.maybeTrace(()=>(0,o.hooks[r])(o.pipelinedValue),o.snapshot))}catch(s){o.erroredOrDestroyed=!0,this.errorHandler?.handleError(s)}this.executing=!1;for(const r of this.sequences)r.afterRun(),r.once&&(this.sequences.delete(r),r.destroy());for(const r of this.deferredRegistrations)this.sequences.add(r);this.deferredRegistrations.size>0&&this.scheduler.notify(7),this.deferredRegistrations.clear(),n&&An(fn.AfterRenderHooksEnd)}register(n){const{view:r}=n;void 0!==r?((r[i.JEi]??=[]).push(n),(0,i.blu)(r),r[i.Wg1]|=8192):this.executing?this.deferredRegistrations.add(n):this.addSequence(n)}addSequence(n){this.sequences.add(n),this.scheduler.notify(7)}unregister(n){this.executing&&this.sequences.has(n)?(n.erroredOrDestroyed=!0,n.pipelinedValue=void 0,n.once=!0):(this.sequences.delete(n),this.deferredRegistrations.delete(n))}maybeTrace(n,r){return r?r.run(Zu.AFTER_NEXT_RENDER,n):n()}static \u0275prov=(0,i.jDH)({token:e,providedIn:"root",factory:()=>new e})}return e})();class Yh{impl;hooks;view;once;snapshot;erroredOrDestroyed=!1;pipelinedValue=void 0;unregisterOnDestroy;constructor(t,n,r,o,s,l=null){this.impl=t,this.hooks=n,this.view=r,this.once=o,this.snapshot=l,this.unregisterOnDestroy=s?.onDestroy(()=>this.destroy())}afterRun(){this.erroredOrDestroyed=!1,this.pipelinedValue=void 0,this.snapshot?.dispose(),this.snapshot=null}destroy(){this.impl.unregister(this),this.unregisterOnDestroy?.();const t=this.view?.[i.JEi];t&&(this.view[i.JEi]=t.filter(n=>n!==this))}}function Ju(e,t){const n=t?.injector??(0,i.WQX)(i.zZn);return po("NgAfterNextRender"),Zh(e,n,t,!0)}function Zh(e,t,n,r){const o=t.get(Xh);o.impl??=t.get(TE);const s=t.get(Ea,null,{optional:!0}),l=!0!==n?.manualCleanup?t.get(i.abz):null,f=t.get(i.r4V,null,{optional:!0}),v=new Yh(o.impl,function IE(e){return e instanceof Function?[void 0,void 0,e,void 0]:[e.earlyRead,e.write,e.mixedReadWrite,e.read]}(e),f?.view,r,l,s?.snapshot(null));return o.impl.register(v),v}const dl=new i.nKC("",{factory:()=>({queue:new Set,isScheduled:!1,scheduler:null,injector:(0,i.WQX)(i.uvJ)})});function Jh(e,t,n){const r=e.get(dl);if(Array.isArray(t))for(const o of t)r.queue.add(o),n?.detachedLeaveAnimationFns?.push(o);else r.queue.add(t),n?.detachedLeaveAnimationFns?.push(t);r.scheduler&&r.scheduler(e)}function SE(e){const t=e.get(dl);t.isScheduled||(Ju(()=>{t.isScheduled=!1;for(let n of t.queue)n();t.queue.clear()},{injector:t.injector}),t.isScheduled=!0)}function fl(e){const t=e.get(dl);t.scheduler=SE,t.scheduler(e)}function qu(e,t){for(const[n,r]of t)Jh(e,r.animateFns)}function qh(e,t,n,r){const o=e?.[i.Isx]?.enter;null!==t&&o&&o.has(n.index)&&qu(r,o)}function ba(e,t,n,r,o,s,l,f){if(null!=o){let v,W=!1;(0,i.A0l)(o)?v=o:(0,i.q$2)(o)&&(W=!0,o=o[i.jgP]);const te=(0,i.IvY)(o);0===e&&null!==r?(qh(f,r,s,n),null==l?bh(t,r,te):Hs(t,r,te,l||null,!0)):1===e&&null!==r?(qh(f,r,s,n),Hs(t,r,te,l||null,!0),function _E(e,t){const n=oc.get(e);if(!n||0===n.length)return;const r=t.parentNode,o=t.previousSibling;for(let s=n.length-1;s>=0;s--){const l=n[s],f=l.parentNode;l===t?(n.splice(s,1),sc.add(l),l.dispatchEvent(new CustomEvent("animationend",{detail:{cancel:!0}}))):(o&&l===o||f&&r&&f!==r)&&(n.splice(s,1),l.dispatchEvent(new CustomEvent("animationend",{detail:{cancel:!0}})),l.parentNode?.removeChild(l))}}(s,te)):2===e?(f?.[i.Isx]?.leave?.has(s.index)&&Gu(s,te),sc.delete(te),np(f,s,n,Ue=>{sc.has(te)?sc.delete(te):nc(t,te,W,Ue)})):3===e&&(sc.delete(te),np(f,s,n,()=>{t.destroyNode(te)})),null!=v&&function NE(e,t,n,r,o,s,l){const f=r[i.s6P];f!==(0,i.IvY)(r)&&ba(t,e,n,s,f,o,l);for(let W=i.Y20;W<r.length;W++){const te=r[W];hl(te[i.eDl],te,e,t,s,f)}}(t,e,n,v,s,r,l)}}function ep(e,t){tp(e,t),t[i.jgP]=null,t[i.qlT]=null}function tp(e,t){t[i.M0L].changeDetectionScheduler?.notify(9),hl(e,t,t[i.GpT],2,null,null)}function ed(e,t){const n=e[i.nfM],r=n.indexOf(t);n.splice(r,1)}function cc(e,t){if((0,i.EPY)(t))return;const n=t[i.GpT];n.destroyNode&&hl(e,t,n,3,null,null),function wE(e){let t=e[i.EJG];if(!t)return td(e[i.eDl],e);for(;t;){let n=null;if((0,i.q$2)(t))n=t[i.EJG];else{const r=t[i.Y20];r&&(n=r)}if(!n){for(;t&&!t[i.K29]&&t!==e;)(0,i.q$2)(t)&&td(t[i.eDl],t),t=t[i.f7T];null===t&&(t=e),(0,i.q$2)(t)&&td(t[i.eDl],t),n=t&&t[i.K29]}t=n}}(t)}function td(e,t){if((0,i.EPY)(t))return;const n=(0,ke.Ht)(null);try{t[i.Wg1]&=-129,t[i.Wg1]|=256,t[i.Iaj]&&(0,ke.XR)(t[i.Iaj]),function kE(e,t){let n;if(null!=e&&null!=(n=e.destroyHooks))for(let r=0;r<n.length;r+=2){const o=t[n[r]];if(!(o instanceof ee)){const s=n[r+1];if(Array.isArray(s))for(let l=0;l<s.length;l+=2){const f=o[s[l]],v=s[l+1];An(fn.LifecycleHookStart,f,v);try{v.call(f)}finally{An(fn.LifecycleHookEnd,f,v)}}else{An(fn.LifecycleHookStart,o,s);try{s.call(o)}finally{An(fn.LifecycleHookEnd,o,s)}}}}}(e,t),function RE(e,t){const n=e.cleanup,r=t[i.VVG];if(null!==n)for(let l=0;l<n.length-1;l+=2)if("string"==typeof n[l]){const f=n[l+3];f>=0?r[f]():r[-f].unsubscribe(),l+=2}else n[l].call(r[n[l+1]]);null!==r&&(t[i.VVG]=null);const o=t[i.Czx];if(null!==o){t[i.Czx]=null;for(let l=0;l<o.length;l++)(0,o[l])()}const s=t[i.tQN];if(null!==s){t[i.tQN]=null;for(const l of s)l.destroy()}}(e,t),1===t[i.eDl].type&&t[i.GpT].destroy();const r=t[i.rQE];if(null!==r&&(0,i.A0l)(t[i.f7T])){r!==t[i.f7T]&&ed(r,t);const o=t[i.Ds7];null!==o&&o.detachView(e)}ki(t)}finally{(0,ke.Ht)(n)}}function np(e,t,n,r){const o=e?.[i.Isx];if(null==o||null==o.leave||!o.leave.has(t.index))return r(!1);e&&Gs.add(e[i.ID]),Jh(n,()=>{if(o.leave&&o.leave.has(t.index)){const l=o.leave.get(t.index),f=[];if(l){for(let v=0;v<l.animateFns.length;v++){const W=l.animateFns[v],{promise:te}=W();f.push(te)}o.detachedLeaveAnimationFns=void 0}o.running=Promise.allSettled(f),function PE(e,t){const n=e[i.Isx]?.running;n?n.then(()=>{e[i.Isx].running=void 0,Gs.delete(e[i.ID]),t(!0)}):t(!1)}(e,r)}else e&&Gs.delete(e[i.ID]),r(!1)},o)}function nd(e,t,n){return rp(e,t.parent,n)}function rp(e,t,n){let r=t;for(;null!==r&&168&r.type;)r=(t=r).parent;if(null===r)return n[i.jgP];if((0,i.Qs1)(r)){const{encapsulation:o}=e.data[r.directiveStart+r.componentOffset];if(o===so.None||o===so.Emulated)return null}return(0,i.d31)(r,n)}function ip(e,t,n){return sp(e,t,n)}function op(e,t,n){return 40&e.type?(0,i.d31)(e,n):null}let rd,sp=op;function ap(e,t){sp=e,rd=t}function id(e,t,n,r){const o=nd(e,r,t),s=t[i.GpT],f=ip(r.parent||t[i.qlT],r,t);if(null!=o)if(Array.isArray(n))for(let v=0;v<n.length;v++)Dh(s,o,n[v],f,!1);else Dh(s,o,n,f,!1);void 0!==rd&&rd(s,r,t,n,o)}function Xs(e,t){if(null!==t){const n=t.type;if(3&n)return(0,i.d31)(t,e);if(4&n)return od(-1,e[t.index]);if(8&n){const r=t.child;if(null!==r)return Xs(e,r);{const o=e[t.index];return(0,i.A0l)(o)?od(-1,o):(0,i.IvY)(o)}}if(128&n)return Xs(e,t.next);if(32&n)return Ku(t,e)()||(0,i.IvY)(e[t.index]);{const r=cp(e,t);return null!==r?Array.isArray(r)?r[0]:Xs((0,i._0$)(e[i.b5C]),r):Xs(e,t.next)}}return null}function cp(e,t){return null!==t?e[i.b5C][i.qlT].projection[t.projection]:null}function od(e,t){const n=i.Y20+e+1;if(n<t.length){const r=t[n],o=r[i.eDl].firstChild;if(null!==o)return Xs(r,o)}return t[i.s6P]}function sd(e,t,n,r,o,s,l){for(;null!=n;){const f=r[i.YEL];if(128===n.type){n=n.next;continue}const v=r[n.index],W=n.type;if(l&&0===t&&(v&&$r((0,i.IvY)(v),r),n.flags|=2),!T(n))if(8&W)sd(e,t,n.child,r,o,s,!1),ba(t,e,f,o,v,n,s,r);else if(32&W){const te=Ku(n,r);let Ue;for(;Ue=te();)ba(t,e,f,o,Ue,n,s,r);ba(t,e,f,o,v,n,s,r)}else 16&W?lp(e,t,r,n,o,s):ba(t,e,f,o,v,n,s,r);n=l?n.projectionNext:n.next}}function hl(e,t,n,r,o,s){sd(n,r,e.firstChild,t,o,s,!1)}function lp(e,t,n,r,o,s){const l=n[i.b5C],v=l[i.qlT].projection[r.projection];if(Array.isArray(v))for(let W=0;W<v.length;W++)ba(t,e,n[i.YEL],o,v[W],r,s,n);else{let W=v;const te=l[i.f7T];Bi(r)&&(W.flags|=128),sd(e,t,W,te,o,s,!0)}}function up(e,t,n,r,o){const s=(0,i._px)(),l=2&r;try{(0,i.ypq)(-1),l&&t.length>i.Yw1&&Hh(e,t,i.Yw1,!1),An(l?fn.TemplateUpdateStart:fn.TemplateCreateStart,o,n),n(r,o)}finally{(0,i.ypq)(s),An(l?fn.TemplateUpdateEnd:fn.TemplateCreateEnd,o,n)}}function pl(e,t,n){(function WE(e,t,n){const r=n.directiveStart,o=n.directiveEnd;(0,i.Qs1)(n)&&function lE(e,t,n){const r=(0,i.d31)(t,e),o=Uh(n),s=e[i.M0L].rendererFactory,l=Hu(e,rl(e,o,null,Wu(n),r,t,null,s.createRenderer(r,n),null,null,null));e[t.index]=l}(t,n,e.data[r+n.componentOffset]),e.firstCreatePass||Dn(n,t);const s=n.initialInputs;for(let l=r;l<o;l++){const f=e.data[l],v=he(t,e,l,n);$r(v,t),null!==s&&$E(0,l-r,v,f,0,s),(0,i.JlV)(f)&&((0,i.KdJ)(n.index,t)[i.SKP]=he(t,e,l,n))}})(e,t,n),!(64&~n.flags)&&function HE(e,t,n){const r=n.directiveStart,o=n.directiveEnd,s=n.index,l=(0,i.Z9v)();try{(0,i.ypq)(s);for(let f=r;f<o;f++){const v=e.data[f],W=t[f];(0,i.RZ9)(f),(null!==v.hostBindings||0!==v.hostVars||null!==v.hostAttrs)&&VE(v,W)}}finally{(0,i.ypq)(-1),(0,i.RZ9)(l)}}(e,t,n)}function Da(e,t,n=i.d31){const r=t.localNames;if(null!==r){let o=t.index+1;for(let s=0;s<r.length;s+=2){const l=r[s+1],f=-1===l?n(t,e):e[l];e[o++]=f}}}let dp=()=>null;function ad(e,t,n,r,o,s){vl(e,t[i.eDl],t,n,r)?(0,i.Qs1)(e)&&fp(t,e.index):(3&e.type&&(n=function UE(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(n)),cd(e,t,n,r,o,s))}function cd(e,t,n,r,o,s){if(3&e.type){const l=(0,i.d31)(e,t);r=null!=s?s(r,e.value||"",n):r,o.setProperty(l,n,r)}}function fp(e,t){const n=(0,i.KdJ)(t,e);16&n[i.Wg1]||(n[i.Wg1]|=64)}function VE(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function ld(e,t){const n=e.directiveRegistry;let r=null;if(n)for(let o=0;o<n.length;o++){const s=n[o];Bh(t,s.selectors,!1)&&(r??=[],(0,i.JlV)(s)?r.unshift(s):r.push(s))}return r}function gl(e,t,n,r,o,s,l){if(null==s)e.removeAttribute(t,o,n);else{const f=null==l?(0,i.eFE)(s):l(s,r||"",o);e.setAttribute(t,o,f,n)}}function $E(e,t,n,r,o,s){const l=s[t];if(null!==l)for(let f=0;f<l.length;f+=2)ws(r,n,l[f],l[f+1])}function ml(e,t,n,r,o){const s=i.Yw1+n,l=t[i.eDl],f=o(l,t,e,r,n);t[s]=f,(0,i.iMd)(e,!0);const v=2===e.type;return v?(Th(t[i.GpT],f,e),(0===(0,i.znI)()||(0,i.yoD)(e))&&$r(f,t),(0,i.Fje)()):$r(f,t),(0,i.SX7)()&&(!v||!T(e))&&id(l,t,f,e),e}function _l(e){let t=e;return(0,i.YWB)()?(0,i.Pfq)():(t=t.parent,(0,i.iMd)(t,!1)),t}function pp(e,t,n){return(null===e||(0,i.JlV)(e))&&(n=(0,i.zAe)(n[t.index])),n[i.GpT]}function ud(e,t){const n=e[i.YEL];if(!n)return;let r;try{r=n.get(i.ZTf,null)}catch{r=null}r?.(t)}function vl(e,t,n,r,o){const s=e.inputs?.[r],l=e.hostDirectiveInputs?.[r];let f=!1;if(l)for(let v=0;v<l.length;v+=2){const W=l[v];ws(t.data[W],n[W],l[v+1],o),f=!0}if(s)for(const v of s)ws(t.data[v],n[v],r,o),f=!0;return f}function GE(e,t){const n=(0,i.KdJ)(t,e),r=n[i.eDl];!function XE(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}(r,n);const o=n[i.jgP];null!==o&&null===n[i.tcA]&&(n[i.tcA]=null),An(fn.ComponentStart);try{yl(r,n,n[i.SKP])}finally{An(fn.ComponentEnd,n[i.SKP])}}function yl(e,t,n){(0,i.ID8)(t);try{const r=e.viewQuery;null!==r&&us(1,r,n);const o=e.template;null!==o&&up(e,t,o,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),t[i.Ds7]?.finishViewCreation(e),e.staticContentQueries&&gs(e,t),e.staticViewQueries&&us(2,e.viewQuery,n);const s=e.components;null!==s&&function QE(e,t){for(let n=0;n<t.length;n++)GE(e,t[n])}(t,s)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[i.Wg1]&=-5,(0,i.bll)()}}function Ca(e,t,n,r){const o=(0,ke.Ht)(null);try{const s=t.tView,v=rl(e,s,n,4096&e[i.Wg1]?4096:16,null,t,null,null,r?.injector??null,r?.embeddedViewInjector??null,r?.dehydratedView??null);v[i.rQE]=e[t.index];const te=e[i.Ds7];return null!==te&&(v[i.Ds7]=te.createEmbeddedView(s)),yl(s,v,n),v}finally{(0,ke.Ht)(o)}}function Qs(e,t){return!t||null===t.firstChild||Bi(e)}function lc(e,t,n,r,o=!1){for(;null!==n;){if(128===n.type){n=o?n.projectionNext:n.next;continue}const s=t[n.index];null!==s&&r.push((0,i.IvY)(s)),(0,i.A0l)(s)&&YE(s,r);const l=n.type;if(8&l)lc(e,t,n.child,r);else if(32&l){const f=Ku(n,t);let v;for(;v=f();)r.push(v)}else if(16&l){const f=cp(t,n);if(Array.isArray(f))r.push(...f);else{const v=(0,i._0$)(t[i.b5C]);lc(v[i.eDl],v,f,r,!0)}}n=o?n.projectionNext:n.next}return r}function YE(e,t){for(let n=i.Y20;n<e.length;n++){const r=e[n],o=r[i.eDl].firstChild;null!==o&&lc(r[i.eDl],r,o,t)}e[i.s6P]!==e[i.jgP]&&t.push(e[i.s6P])}function gp(e){if(null!==e[i.JEi]){for(const t of e[i.JEi])t.impl.addSequence(t);e[i.JEi].length=0}}let mp=[];const eb={...ke.pL,consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{(0,i.blu)(e.lView)},consumerOnSignalRead(){this.lView[i.Iaj]=this}},nb={...ke.pL,consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{let t=(0,i._0$)(e.lView);for(;t&&!_p(t[i.eDl]);)t=(0,i._0$)(t);t&&(0,i.HAh)(t)},consumerOnSignalRead(){this.lView[i.Iaj]=this}};function _p(e){return 2!==e.type}function vp(e){if(null===e[i.tQN])return;let t=!0;for(;t;){let n=!1;for(const r of e[i.tQN])r.dirty&&(n=!0,null===r.zone||Zone.current===r.zone?r.run():r.zone.run(()=>r.run()));t=n&&!!(8192&e[i.Wg1])}}function El(e,t=0){const r=e[i.M0L].rendererFactory;r.begin?.();try{!function ib(e,t){const n=(0,i.yP_)();try{(0,i.cBl)(!0),dd(e,t);let r=0;for(;(0,i.dMS)(e);){if(100===r)throw new i.buA(103,!1);r++,dd(e,1)}}finally{(0,i.cBl)(n)}}(e,t)}finally{r.end?.()}}function yp(e,t,n,r){if((0,i.EPY)(t))return;const o=t[i.Wg1];(0,i.ID8)(t);let f=!0,v=null,W=null;_p(e)?(W=function ZE(e){return e[i.Iaj]??function JE(e){const t=mp.pop()??Object.create(eb);return t.lView=e,t}(e)}(t),v=(0,ke.Bg)(W)):null===(0,ke.nR)()?(f=!1,W=function tb(e){const t=e[i.Iaj]??Object.create(nb);return t.lView=e,t}(t),v=(0,ke.Bg)(W)):t[i.Iaj]&&((0,ke.XR)(t[i.Iaj]),t[i.Iaj]=null);try{(0,i.HUe)(t),(0,i.Kw3)(e.bindingStartIndex),null!==n&&up(e,t,n,2,r);const te=!(3&~o);if(te){const Bt=e.preOrderCheckHooks;null!==Bt&&Zn(t,Bt,null)}else{const Bt=e.preOrderHooks;null!==Bt&&Dr(t,Bt,0,null),vr(t,0)}if(function ob(e){for(let t=Zo(e);null!==t;t=uo(t)){if(!(2&t[i.Wg1]))continue;const n=t[i.nfM];for(let r=0;r<n.length;r++)(0,i.HAh)(n[r])}}(t),vp(t),Ep(t,0),null!==e.contentQueries&&gs(e,t),te){const Bt=e.contentCheckHooks;null!==Bt&&Zn(t,Bt)}else{const Bt=e.contentHooks;null!==Bt&&Dr(t,Bt,1),vr(t,1)}!function ab(e,t){const n=e.hostBindingOpCodes;if(null!==n)try{for(let r=0;r<n.length;r++){const o=n[r];if(o<0)(0,i.ypq)(~o);else{const s=o,l=n[++r],f=n[++r];(0,i.vQI)(l,s);const v=t[s];An(fn.HostBindingsUpdateStart,v);try{f(2,v)}finally{An(fn.HostBindingsUpdateEnd,v)}}}}finally{(0,i.ypq)(-1)}}(e,t);const Ue=e.components;null!==Ue&&Dp(t,Ue,0);const Tt=e.viewQuery;if(null!==Tt&&us(2,Tt,r),te){const Bt=e.viewCheckHooks;null!==Bt&&Zn(t,Bt)}else{const Bt=e.viewHooks;null!==Bt&&Dr(t,Bt,2),vr(t,2)}if(!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),t[i.pcR]){for(const Bt of t[i.pcR])Bt();t[i.pcR]=null}gp(t),t[i.Wg1]&=-73}catch(te){throw(0,i.blu)(t),te}finally{null!==W&&((0,ke.Wu)(W,v),f&&function qE(e){e.lView[i.Iaj]!==e&&(e.lView=null,mp.push(e))}(W)),(0,i.bll)()}}function Ep(e,t){for(let n=Zo(e);null!==n;n=uo(n))for(let r=i.Y20;r<n.length;r++)bp(n[r],t)}function sb(e,t,n){An(fn.ComponentStart);const r=(0,i.KdJ)(t,e);try{bp(r,n)}finally{An(fn.ComponentEnd,r[i.SKP])}}function bp(e,t){(0,i.F1c)(e)&&dd(e,t)}function dd(e,t){const r=e[i.eDl],o=e[i.Wg1],s=e[i.Iaj];let l=!!(0===t&&16&o);if(l||=!!(64&o&&0===t),l||=!!(1024&o),l||=!(!s?.dirty||!(0,ke.si)(s)),l||=!1,s&&(s.dirty=!1),e[i.Wg1]&=-9217,l)yp(r,e,r.template,e[i.SKP]);else if(8192&o){const f=(0,ke.Ht)(null);try{vp(e),Ep(e,1);const v=r.components;null!==v&&Dp(e,v,1),gp(e)}finally{(0,ke.Ht)(f)}}}function Dp(e,t,n){for(let r=0;r<t.length;r++)sb(e,t[r],n)}function Ta(e,t){const n=(0,i.yP_)()?64:1088;for(e[i.M0L].changeDetectionScheduler?.notify(t);e;){e[i.Wg1]|=n;const r=(0,i._0$)(e);if((0,i.EFk)(e)&&!r)return e;e=r}return null}function Cp(e,t,n,r){return[e,!0,0,t,null,r,null,n,null,null]}function Tp(e,t){const n=i.Y20+t;if(n<e.length)return e[n]}function Ma(e,t,n,r=!0){const o=t[i.eDl];if(function cb(e,t,n,r){const o=i.Y20+r,s=n.length;r>0&&(n[o-1][i.K29]=t),r<s-i.Y20?(t[i.K29]=n[o],(0,i.EYC)(n,i.Y20+r,t)):(n.push(t),t[i.K29]=null),t[i.f7T]=n;const l=t[i.rQE];null!==l&&n!==l&&Mp(l,t);const f=t[i.Ds7];null!==f&&f.insertView(e),(0,i._gW)(t),t[i.Wg1]|=128}(o,t,e,n),r){const l=od(n,e),f=t[i.GpT],v=f.parentNode(e[i.s6P]);null!==v&&function OE(e,t,n,r,o,s){r[i.jgP]=o,r[i.qlT]=t,hl(e,r,n,1,o,s)}(o,e[i.qlT],f,t,v,l)}const s=t[i.tcA];null!==s&&null!==s.firstChild&&(s.firstChild=null)}function fd(e,t){const n=uc(e,t);return void 0!==n&&cc(n[i.eDl],n),n}function uc(e,t){if(e.length<=i.Y20)return;const n=i.Y20+t,r=e[n];if(r){const o=r[i.rQE];null!==o&&o!==e&&ed(o,r),t>0&&(e[n-1][i.K29]=r[i.K29]);const s=(0,i.E6O)(e,i.Y20+t);ep(r[i.eDl],r);const l=s[i.Ds7];null!==l&&l.detachView(s[i.eDl]),r[i.f7T]=null,r[i.K29]=null,r[i.Wg1]&=-129}return r}function Mp(e,t){const n=e[i.nfM],r=t[i.f7T];((0,i.q$2)(r)||t[i.b5C]!==r[i.f7T][i.b5C])&&(e[i.Wg1]|=2),null===n?e[i.nfM]=[t]:n.push(t)}class bl{_lView;_cdRefInjectingView;_appRef=null;_attachedToViewContainer=!1;exhaustive;get rootNodes(){const t=this._lView,n=t[i.eDl];return lc(n,t,n.firstChild,[])}constructor(t,n){this._lView=t,this._cdRefInjectingView=n}get context(){return this._lView[i.SKP]}set context(t){this._lView[i.SKP]=t}get destroyed(){return(0,i.EPY)(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const t=this._lView[i.f7T];if((0,i.A0l)(t)){const n=t[i.bm_],r=n?n.indexOf(this):-1;r>-1&&(uc(t,r),(0,i.E6O)(n,r))}this._attachedToViewContainer=!1}cc(this._lView[i.eDl],this._lView)}onDestroy(t){(0,i.ik5)(this._lView,t)}markForCheck(){Ta(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[i.Wg1]&=-129}reattach(){(0,i._gW)(this._lView),this._lView[i.Wg1]|=128}detectChanges(){this._lView[i.Wg1]|=1024,El(this._lView)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new i.buA(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;const t=(0,i.EFk)(this._lView),n=this._lView[i.rQE];null!==n&&!t&&ed(n,this._lView),tp(this._lView[i.eDl],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new i.buA(902,!1);this._appRef=t;const n=(0,i.EFk)(this._lView),r=this._lView[i.rQE];null!==r&&!n&&Mp(r,this._lView),(0,i._gW)(this._lView)}}let dc=(()=>class e{_declarationLView;_declarationTContainer;elementRef;static __NG_ELEMENT_ID__=lb;constructor(n,r,o){this._declarationLView=n,this._declarationTContainer=r,this.elementRef=o}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(n,r){return this.createEmbeddedViewImpl(n,r)}createEmbeddedViewImpl(n,r,o){const s=Ca(this._declarationLView,this._declarationTContainer,n,{embeddedViewInjector:r,dehydratedView:o});return new bl(s)}})();function lb(){return Dl((0,i.Mx4)(),(0,i.OAn)())}function Dl(e,t){return 4&e.type?new dc(t,e,Pi(e,t)):null}function Sp(e,t,n){const r=t.insertBeforeIndex,o=Array.isArray(r)?r[0]:r;return null===o?op(e,0,n):(0,i.IvY)(n[o])}function Op(e,t,n,r,o){const s=t.insertBeforeIndex;if(Array.isArray(s)){let l=r,f=null;if(3&t.type||(f=l,l=o),null!==l&&-1===t.componentOffset)for(let v=1;v<s.length;v++)Hs(e,l,n[s[v]],f,!1)}}function Ys(e,t,n,r,o){let s=e.data[t];if(null===s)s=md(e,t,n,r,o),(0,i.JjR)()&&(s.flags|=32);else if(64&s.type){s.type=n,s.value=r,s.attrs=o;const l=(0,i.Ab)();s.injectorIndex=null===l?-1:l.injectorIndex}return(0,i.iMd)(s,!0),s}function md(e,t,n,r,o){const s=(0,i.veI)(),l=(0,i.YWB)(),v=e.data[t]=function Eb(e,t,n,r,o,s){let l=t?t.injectorIndex:-1,f=0;return(0,i.KtD)()&&(f|=128),{type:n,index:r,insertBeforeIndex:null,injectorIndex:l,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,controlDirectiveIndex:-1,customControlIndex:-1,propertyBindings:null,flags:f,providerIndexes:0,value:o,namespace:(0,i.UaU)(),attrs:s,mergedAttrs:null,localNames:null,initialInputs:null,inputs:null,hostDirectiveInputs:null,outputs:null,hostDirectiveOutputs:null,directiveToIndex:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,l?s:s&&s.parent,n,t,r,o);return function yb(e,t,n,r){null===e.firstChild&&(e.firstChild=t),null!==n&&(r?null==n.child&&null!==t.parent&&(n.child=t):null===n.next&&(n.next=t,t.prev=n))}(e,v,s,l),v}function wp(e,t){if(e.push(t),e.length>1)for(let n=e.length-2;n>=0;n--){const r=e[n];Pp(r)||bb(r,t)&&null===Db(r)&&Cb(r,t.index)}}function Pp(e){return!(64&e.type)}function bb(e,t){return Pp(t)||e.index>t.index}function Db(e){const t=e.insertBeforeIndex;return Array.isArray(t)?t[0]:t}function Cb(e,t){const n=e.insertBeforeIndex;Array.isArray(n)?n[0]=t:(ap(Sp,Op),e.insertBeforeIndex=t)}function gc(e,t){const n=e.data[t];return null===n||"string"==typeof n?null:n.hasOwnProperty("currentCaseLViewIndex")?n:n.value}function Ib(e,t,n){const r=md(e,n,64,null,null);return wp(t,r),r}function Tl(e,t){const n=t[e.currentCaseLViewIndex];return null===n?n:n<0?~n:n}function Rp(e){return e>>>17}function kp(e){return(131070&e)>>>1}function _d(e,t,n){e.index=0;const r=Tl(t,n);e.removes=null!==r?t.remove[r]:i.Mlv}function Ml(e){if(e.index<e.removes.length){const t=e.removes[e.index++];return t>0?e.lView[t]:(e.stack.push(e.index,e.removes),_d(e,e.lView[i.eDl].data[~t],e.lView),Ml(e))}return 0===e.stack.length?(e.lView=void 0,null):(e.removes=e.stack.pop(),e.index=e.stack.pop(),Ml(e))}function Sb(){const e={stack:[],index:-1};return function t(n,r){for(e.lView=r;e.stack.length;)e.stack.pop();return _d(e,n.value,r),Ml.bind(null,e)}}function Xb(e,t,n){for(const r of n.node.cases[n.case]){const o=t.get(r.index-i.Yw1);o&&nc(e,o,!1)}}function Al(e){const t=e[i.qFA]??[],r=e[i.f7T][i.GpT],o=[];for(const s of t)void 0!==s.data.di?o.push(s):Kp(s,r);e[i.qFA]=o}function Qb(e){const{lContainer:t}=e,n=t[i.qFA];if(null===n)return;const o=t[i.f7T][i.GpT];for(const s of n)Kp(s,o)}function Kp(e,t){let n=0,r=e.firstChild;if(r){const o=e.data.r;for(;n<o;){const s=r.nextSibling;nc(t,r,!1),r=s,n++}}}function Sl(e){Al(e);const t=e[i.jgP];(0,i.q$2)(t)&&vc(t);for(let n=i.Y20;n<e.length;n++)vc(e[n])}function vc(e){!function Gb(e){const t=e[i.tcA];if(t){const{i18nNodes:n,dehydratedIcuData:r}=t;if(n&&r){const o=e[i.GpT];for(const s of r.values())Xb(o,n,s)}t.i18nNodes=void 0,t.dehydratedIcuData=void 0}}(e);const t=e[i.eDl];for(let n=i.Yw1;n<t.bindingStartIndex;n++)(0,i.A0l)(e[n])?Sl(e[n]):(0,i.q$2)(e[n])&&vc(e[n])}let nD=class{},Yp=class{};class rD{resolveComponentFactory(t){throw new i.buA(917,!1)}}let Ec=class{static NULL=new rD};class Cd{}let iD=(()=>class e{destroyNode=null;static __NG_ELEMENT_ID__=()=>function oD(){const e=(0,i.OAn)(),t=(0,i.Mx4)(),n=(0,i.KdJ)(t.index,e);return((0,i.q$2)(n)?n:e)[i.GpT]}()})(),sD=(()=>{class e{static \u0275prov=(0,i.jDH)({token:e,providedIn:"root",factory:()=>null})}return e})();function Td(e){return void 0!==e.ngModule}function Js(e){return!!(0,i.phH)(e)}function Ol(e){return!!(0,i.oyA)(e)}function Zp(e){return!!(0,i.HaV)(e)}function bc(e){return!!(0,i.xUg)(e)}
vendor: 4,743 bytes, line 1
1function cD(e,t){if((0,i.Jzi)(e)&&!(e=(0,i.nl4)(e)))throw new Error(`Expected forwardRef function, imported from "${(0,i.PP7)(t)}", to return a standalone entity or NgModule but got "${(0,i.PP7)(e)||e}".`);if(null==(0,i.phH)(e)){const n=(0,i.xUg)(e)||(0,i.HaV)(e)||(0,i.oyA)(e);if(null==n)throw Td(e)?new Error(`A module with providers was imported from "${(0,i.PP7)(t)}". Modules with providers are not supported in standalone components imports.`):new Error(`The "${(0,i.PP7)(e)}" type, imported from "${(0,i.PP7)(t)}", must be a standalone component / directive / pipe or an NgModule. Did you forget to add the required @Component / @Directive / @Pipe or @NgModule annotation?`);if(!n.standalone){const r=function aD(e){return(0,i.xUg)(e)?"component":(0,i.HaV)(e)?"directive":(0,i.oyA)(e)?"pipe":"type"}(e);throw new Error(`The "${(0,i.PP7)(e)}" ${r}, imported from "${(0,i.PP7)(t)}", is not standalone. Does the ${r} have the standalone: false flag?`)}}}class lD{ownerNgModule=new WeakMap;ngModulesWithSomeUnresolvedDecls=new Set;ngModulesScopeCache=new WeakMap;standaloneComponentsScopeCache=new WeakMap;resolveNgModulesDecls(){if(0!==this.ngModulesWithSomeUnresolvedDecls.size){for(const t of this.ngModulesWithSomeUnresolvedDecls){const n=(0,i.phH)(t);if(n?.declarations)for(const r of ms(n.declarations))bc(r)&&this.ownerNgModule.set(r,t)}this.ngModulesWithSomeUnresolvedDecls.clear()}}getComponentDependencies(t,n){this.resolveNgModulesDecls();const r=(0,i.xUg)(t);if(null===r)throw new Error(`Attempting to get component dependencies for a type that is not a component: ${t}`);if(r.standalone){const o=this.getStandaloneComponentScope(t,n);return o.compilation.isPoisoned?{dependencies:[]}:{dependencies:[...o.compilation.directives,...o.compilation.pipes,...o.compilation.ngModules]}}{if(!this.ownerNgModule.has(t))return{dependencies:[]};const o=this.getNgModuleScope(this.ownerNgModule.get(t));return o.compilation.isPoisoned?{dependencies:[]}:{dependencies:[...o.compilation.directives,...o.compilation.pipes]}}}registerNgModule(t,n){if(!Js(t))throw new Error(`Attempting to register a Type which is not NgModule as NgModule: ${t}`);this.ngModulesWithSomeUnresolvedDecls.add(t)}clearScopeCacheFor(t){this.ngModulesScopeCache.delete(t),this.standaloneComponentsScopeCache.delete(t)}getNgModuleScope(t){if(this.ngModulesScopeCache.has(t))return this.ngModulesScopeCache.get(t);const n=this.computeNgModuleScope(t);return this.ngModulesScopeCache.set(t,n),n}computeNgModuleScope(t){const n=(0,i.WbQ)(t),r={exported:{directives:new Set,pipes:new Set},compilation:{directives:new Set,pipes:new Set}};for(const o of ms(n.imports))if(Js(o)){const s=this.getNgModuleScope(o);Ps(s.exported.directives,r.compilation.directives),Ps(s.exported.pipes,r.compilation.pipes)}else{if(!(0,i.QuC)(o)){r.compilation.isPoisoned=!0;break}if(Zp(o)||bc(o))r.compilation.directives.add(o);else{if(!Ol(o))throw new i.buA(980,"The standalone imported type is neither a component nor a directive nor a pipe");r.compilation.pipes.add(o)}}if(!r.compilation.isPoisoned)for(const o of ms(n.declarations)){if(Js(o)||(0,i.QuC)(o)){r.compilation.isPoisoned=!0;break}Ol(o)?r.compilation.pipes.add(o):r.compilation.directives.add(o)}for(const o of ms(n.exports))if(Js(o)){const s=this.getNgModuleScope(o);Ps(s.exported.directives,r.exported.directives),Ps(s.exported.pipes,r.exported.pipes),Ps(s.exported.directives,r.compilation.directives),Ps(s.exported.pipes,r.compilation.pipes)}else Ol(o)?r.exported.pipes.add(o):r.exported.directives.add(o);return r}getStandaloneComponentScope(t,n){if(this.standaloneComponentsScopeCache.has(t))return this.standaloneComponentsScopeCache.get(t);const r=this.computeStandaloneComponentScope(t,n);return this.standaloneComponentsScopeCache.set(t,r),r}computeStandaloneComponentScope(t,n){const r={compilation:{directives:new Set([t]),pipes:new Set,ngModules:new Set}};for(const o of(0,i.Bqz)(n??[])){const s=(0,i.nl4)(o);try{cD(s,t)}catch{return r.compilation.isPoisoned=!0,r}if(Js(s)){r.compilation.ngModules.add(s);const l=this.getNgModuleScope(s);if(l.exported.isPoisoned)return r.compilation.isPoisoned=!0,r;Ps(l.exported.directives,r.compilation.directives),Ps(l.exported.pipes,r.compilation.pipes)}else if(Ol(s))r.compilation.pipes.add(s);else{if(!Zp(s)&&!bc(s))return r.compilation.isPoisoned=!0,r;r.compilation.directives.add(s)}}return r}isOrphanComponent(t){const n=(0,i.xUg)(t);return!(!n||n.standalone||(this.resolveNgModulesDecls(),this.ownerNgModule.has(t)))}}function Ps(e,t){for(const n of e)t.add(n)}const Dc=new lD,Md={};class Aa{injector;parentInjector;constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){const o=this.injector.get(t,Md,r);return o!==Md||n===Md?o:this.parentInjector.get(t,n,r)}}
vendor: 15,942 bytes, line 1
1function wl(e,t,n){let r=n?e.styles:null,o=n?e.classes:null,s=0;if(null!==t)for(let l=0;l<t.length;l++){const f=t[l];if("number"==typeof f)s=f;else if(1==s)o=(0,i.n$e)(o,f);else if(2==s){const W=t[++l];r=(0,i.n$e)(r,f+": "+W+";")}}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=o:e.classesWithoutHost=o}function Sa(e,t=0){const n=(0,i.OAn)();return null===n?(0,i.KVO)(e,t):Or((0,i.Mx4)(),n,(0,i.nl4)(e),t)}function Jp(){throw new Error("invalid")}function qp(e,t,n,r,o){const s=null===r?null:{"":-1},l=o(e,n);if(null!==l){let f=l,v=null,W=null;for(const te of l)if(null!==te.resolveHostDirectives){[f,v,W]=te.resolveHostDirectives(l);break}!function fD(e,t,n,r,o,s,l){const f=r.length;let v=null;for(let Tt=0;Tt<f;Tt++){const Bt=r[Tt];null===v&&(0,i.JlV)(Bt)&&(v=Bt,dD(e,n,Tt)),Fn(Dn(n,t),e,Bt.type)}(function vD(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t})(n,e.data.length,f),v?.viewProvidersResolver&&v.viewProvidersResolver(v);for(let Tt=0;Tt<f;Tt++){const Bt=r[Tt];Bt.providersResolver&&Bt.providersResolver(Bt)}let W=!1,te=!1,Ue=ic(e,t,f,null);f>0&&(n.directiveToIndex=new Map);for(let Tt=0;Tt<f;Tt++){const Bt=r[Tt];if(n.mergedAttrs=_n(n.mergedAttrs,Bt.hostAttrs),pD(e,n,t,Ue,Bt),_D(Ue,Bt,o),null!==l&&l.has(Bt)){const[Bn,er]=l.get(Bt);n.directiveToIndex.set(Bt.type,[Ue,Bn+n.directiveStart,er+n.directiveStart])}else(null===s||!s.has(Bt))&&n.directiveToIndex.set(Bt.type,Ue);null!==Bt.contentQueries&&(n.flags|=4),(null!==Bt.hostBindings||null!==Bt.hostAttrs||0!==Bt.hostVars)&&(n.flags|=64);const sn=Bt.type.prototype;!W&&(sn.ngOnChanges||sn.ngOnInit||sn.ngDoCheck)&&((e.preOrderHooks??=[]).push(n.index),W=!0),!te&&(sn.ngOnChanges||sn.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(n.index),te=!0),Ue++}!function hD(e,t,n){for(let r=t.directiveStart;r<t.directiveEnd;r++){const o=e.data[r];if(null!==n&&n.has(o)){const s=n.get(o);tg(0,t,s,r),tg(1,t,s,r),rg(t,r,!0)}else eg(0,t,o,r),eg(1,t,o,r),rg(t,r,!1)}}(e,n,s)}(e,t,n,f,s,v,W)}null!==s&&null!==r&&function uD(e,t,n){const r=e.localNames=[];for(let o=0;o<t.length;o+=2){const s=n[t[o+1]];if(null==s)throw new i.buA(-301,!1);r.push(t[o],s)}}(n,r,s)}function dD(e,t,n){t.componentOffset=n,(e.components??=[]).push(t.index)}function eg(e,t,n,r){const o=0===e?n.inputs:n.outputs;for(const s in o)if(o.hasOwnProperty(s)){let l;l=0===e?t.inputs??={}:t.outputs??={},l[s]??=[],l[s].push(r),ng(t,s)}}function tg(e,t,n,r){const o=0===e?n.inputs:n.outputs;for(const s in o)if(o.hasOwnProperty(s)){const l=o[s];let f;f=0===e?t.hostDirectiveInputs??={}:t.hostDirectiveOutputs??={},f[l]??=[],f[l].push(r,s),ng(t,l)}}function ng(e,t){"class"===t?e.flags|=8:"style"===t&&(e.flags|=16)}function rg(e,t,n){const{attrs:r,inputs:o,hostDirectiveInputs:s}=e;if(null===r||!n&&null===o||n&&null===s||ju(e))return e.initialInputs??=[],void e.initialInputs.push(null);let l=null,f=0;for(;f<r.length;){const v=r[f];if(0!==v)if(5!==v){if("number"==typeof v)break;if(!n&&o.hasOwnProperty(v)){const W=o[v];for(const te of W)if(te===t){l??=[],l.push(v,r[f+1]);break}}else if(n&&s.hasOwnProperty(v)){const W=s[v];for(let te=0;te<W.length;te+=2)if(W[te]===t){l??=[],l.push(W[te+1],r[f+1]);break}}f+=2}else f+=2;else f+=4}e.initialInputs??=[],e.initialInputs.push(l)}function pD(e,t,n,r,o){e.data[r]=o;const s=o.factory||(o.factory=(0,i.wGu)(o.type,!0)),l=new ee(s,(0,i.JlV)(o),Sa,null);e.blueprint[r]=l,n[r]=l,function gD(e,t,n,r,o){const s=o.hostBindings;if(s){let l=e.hostBindingOpCodes;null===l&&(l=e.hostBindingOpCodes=[]);const f=~t.index;(function mD(e){let t=e.length;for(;t>0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(l)!=f&&l.push(f),l.push(n,r,s)}}(e,t,r,ic(e,n,o.hostVars,Yr),o)}function _D(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;(0,i.JlV)(t)&&(n[""]=e)}}function Id(e,t,n,r,o,s,l,f){const v=t[i.eDl],W=v.consts,Ue=Ys(v,e,n,r,(0,i.db4)(W,l));return s&&qp(v,t,Ue,(0,i.db4)(W,f),o),Ue.mergedAttrs=_n(Ue.mergedAttrs,Ue.attrs),null!==Ue.attrs&&wl(Ue,Ue.attrs,!1),null!==Ue.mergedAttrs&&wl(Ue,Ue.mergedAttrs,!0),null!==v.queries&&v.queries.elementStart(v,Ue),Ue}function Ad(e,t){qn(e,t),(0,i.srX)(t)&&e.queries.elementEnd(t)}function ig(e,t,n,r,o,s){const l=t.consts,v=Ys(t,e,n,r,(0,i.db4)(l,o));if(v.mergedAttrs=_n(v.mergedAttrs,v.attrs),null!=s){const W=(0,i.db4)(l,s);v.localNames=[];for(let te=0;te<W.length;te+=2)v.localNames.push(W[te],-1)}return null!==v.attrs&&wl(v,v.attrs,!1),null!==v.mergedAttrs&&wl(v,v.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,v),v}function Sd(e){return!!og(e)&&(Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e)}function ED(e,t){if(Array.isArray(e))for(let n=0;n<e.length;n++)t(e[n]);else{const n=e[Symbol.iterator]();let r;for(;!(r=n.next()).done;)t(r.value)}}function og(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function fs(e,t,n){return e[t]=n}function Oa(e,t){return e[t]}function pi(e,t,n){return n!==Yr&&(!Object.is(e[t],n)&&(e[t]=n,!0))}function qs(e,t,n,r){const o=pi(e,t,n);return pi(e,t+1,r)||o}function Pl(e,t,n,r,o){const s=qs(e,t,n,r);return pi(e,t+2,o)||s}function as(e,t,n,r,o,s){const l=qs(e,t,n,r);return qs(e,t+2,o,s)||l}function Rs(e,t,n){return function r(o){const s=r.__ngNativeEl__;void 0!==s&&function Z(e,t){if(null==e||"object"!=typeof e)return;let n=S.get(e);n||(n=new WeakSet,S.set(e,n)),n.add(t)}(o,s),Ta((0,i.Qs1)(e)?(0,i.KdJ)(e.index,t):t,5);const f=t[i.SKP];let v=sg(t,f,n,o),W=r.__ngNextListenerFn__;for(;W;)v=sg(t,f,W,o)&&v,W=W.__ngNextListenerFn__;return v}}function sg(e,t,n,r){const o=(0,ke.Ht)(null);try{return An(fn.OutputStart,t,n),!1!==n(r)}catch(s){return ud(e,s),!1}finally{An(fn.OutputEnd,t,n),(0,ke.Ht)(o)}}function Od(e,t,n,r,o,s,l,f){const v=(0,i.yoD)(e);let W=!1,te=null;if(!r&&v&&(te=function CD(e,t,n,r){const o=e.cleanup;if(null!=o)for(let s=0;s<o.length-1;s+=2){const l=o[s];if(l===n&&o[s+1]===r){const f=t[i.VVG],v=o[s+2];return f&&f.length>v?f[v]:null}"string"==typeof l&&(s+=2)}return null}(t,n,s,e.index)),null!==te)(te.__ngLastListenerFn__||te).__ngNextListenerFn__=l,te.__ngLastListenerFn__=l,W=!0;else{const Ue=(0,i.d31)(e,n),Tt=r?r(Ue):Ue;r||(f.__ngNativeEl__=Ue);const Bt=o.listen(Tt,s,f);(function DD(e){return e.startsWith("animation")||e.startsWith("transition")})(s)||ag(r?Bn=>r((0,i.IvY)(Bn[e.index])):e.index,t,n,s,f,Bt,!1)}return W}function ag(e,t,n,r,o,s,l){const f=t.firstCreatePass?(0,i.vNG)(t):null,v=(0,i.d_l)(n),W=v.length;v.push(o,s),f&&f.push(r,e,W,(W+1)*(l?-1:1))}function wa(e,t,n,r,o,s){const f=t[i.eDl],Ue=t[n][f.data[n].outputs[r]].subscribe(s);ag(e.index,f,t,o,s,Ue,!0)}class ug{lView;tView;tNode;hasPassThrough;constructor(t,n,r){this.lView=t,this.tView=n,this.tNode=r,this.hasPassThrough=!!(4096&r.flags)}get customControl(){return-1!==this.tNode.customControlIndex?this.lView[this.tNode.customControlIndex]:void 0}get descriptor(){return`<${this.tNode.value}>`}listenToCustomControlOutput(t,n){fg(this.tView.data[this.tNode.customControlIndex],t)&&wa(this.tNode,this.lView,this.tNode.customControlIndex,t,t,Rs(this.tNode,this.lView,n))}listenToCustomControlModel(t){const n=1024&this.tNode.flags?"valueChange":"checkedChange";wa(this.tNode,this.lView,this.tNode.customControlIndex,n,n,Rs(this.tNode,this.lView,t))}listenToDom(t,n){Od(this.tNode,this.tView,this.lView,void 0,this.lView[i.GpT],t,n,Rs(this.tNode,this.lView,n))}setInputOnDirectives(t,n){const r=this.tNode.inputs?.[t],o=this.tNode.hostDirectiveInputs?.[t];if(!r&&!o)return!1;if(r)for(const s of r)ws(this.tView.data[s],this.lView[s],t,n);if(o)for(let s=0;s<o.length;s+=2){const l=o[s];ws(this.tView.data[l],this.lView[l],o[s+1],n)}return!0}setCustomControlModelInput(t){ws(this.tView.data[this.tNode.customControlIndex],this.lView[this.tNode.customControlIndex],1024&this.tNode.flags?"value":"checked",t)}customControlHasInput(t){return-1!==this.tNode.customControlIndex&&null!=this.tView.data[this.tNode.customControlIndex].inputs[t]}}function dg(e,t){return function wD(e,t){return t in e.inputs}(e,t)&&fg(e,t+"Change")}function fg(e,t){return t in e.outputs}const bs=Symbol("BINDING");function wd(e){return e.debugInfo?.className||e.type.name||null}class gg extends Ec{ngModule;constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const n=(0,i.xUg)(t);return new Rl(n,this.ngModule)}}class Rl extends Yp{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;cachedInputs=null;cachedOutputs=null;get inputs(){return this.cachedInputs??=function xD(e){return Object.keys(e).map(t=>{const[n,r,o]=e[t],s={propName:n,templateName:t,isSignal:0!==(r&il.SignalBased)};return o&&(s.transform=o),s})}(this.componentDef.inputs),this.cachedInputs}get outputs(){return this.cachedOutputs??=function ND(e){return Object.keys(e).map(t=>({propName:e[t],templateName:t}))}(this.componentDef.outputs),this.cachedOutputs}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=function sE(e){return e.map(oE).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors??[],this.isBoundToModule=!!n}create(t,n,r,o,s,l){An(fn.DynamicComponentStart);const f=(0,ke.Ht)(null);try{const v=this.componentDef,W=function LD(e,t,n){let r=t instanceof i.uvJ?t:t?.injector;return r&&null!==e.getStandaloneInjector&&(r=e.getStandaloneInjector(r)||r),r?new Aa(n,r):n}(v,o||this.ngModule,t),te=function FD(e){const t=e.get(Cd,null);if(null===t)throw new i.buA(407,!1);return{rendererFactory:t,sanitizer:e.get(sD,null),changeDetectionScheduler:e.get(i.hk6,null),ngReflect:!1,tracingService:e.get(Ea,null,{optional:!0})}}(W),Ue=te.tracingService;return Ue&&Ue.componentCreate?Ue.componentCreate(wd(v),()=>this.createComponentRef(te,W,n,r,s,l)):this.createComponentRef(te,W,n,r,s,l)}finally{(0,ke.Ht)(f)}}createComponentRef(t,n,r,o,s,l){const f=this.componentDef,v=function WD(e,t,n,r){const o=e?["ng-version","21.2.22"]:function aE(e){const t=[],n=[];let r=1,o=2;for(;r<e.length;){let s=e[r];if("string"==typeof s)2===o?""!==s&&t.push(s,e[++r]):8===o&&n.push(s);else{if(!ds(o))break;o=s}r++}return n.length&&t.push(1,...n),t}(t.selectors[0]);let s=null,l=null,f=0;if(n)for(const te of n)f+=te[bs].requiredVars,te.create&&(te.targetIdx=0,(s??=[]).push(te)),te.update&&(te.targetIdx=0,(l??=[]).push(te));if(r)for(let te=0;te<r.length;te++){const Ue=r[te];if("function"!=typeof Ue)for(const Tt of Ue.bindings){f+=Tt[bs].requiredVars;const Bt=te+1;Tt.create&&(Tt.targetIdx=Bt,(s??=[]).push(Tt)),Tt.update&&(Tt.targetIdx=Bt,(l??=[]).push(Tt))}}const v=[t];if(r)for(const te of r){const Tt=(0,i.HaV)("function"==typeof te?te:te.type);v.push(Tt)}return Uu(0,null,function HD(e,t){return e||t?n=>{if(1&n&&e)for(const r of e)r.create();if(2&n&&t)for(const r of t)r.update()}:null}(s,l),1,f,v,null,null,null,[o],null)}(o,f,l,s),W=t.rendererFactory.createRenderer(null,f),te=o?function FE(e,t,n,r){const s=r.get(Ki,!1)||n===so.ShadowDom||n===so.ExperimentalIsolatedShadowDom,l=e.selectRootElement(t,s);return function BE(e){dp(e)}(l),l}(W,o,f.encapsulation,n):function BD(e,t){const n=function UD(e){return(e.selectors[0][0]||"div").toLowerCase()}(e);return el(t,n,"svg"===n?i.jNX:"math"===n?i.rJ1:null)}(f,W);!function jD(e){if("script"===e?.toLowerCase())throw new i.buA(905,!1)}(te?.tagName);const Ue=l?.some(mg)||s?.some(sn=>"function"!=typeof sn&&sn.bindings.some(mg)),Tt=rl(null,v,null,512|Wu(f),null,null,t,W,n,null,null);Tt[i.Yw1]=te,(0,i.ID8)(Tt);let Bt=null;try{const sn=Id(i.Yw1,Tt,2,"#host",()=>v.directiveRegistry,!0,0);Th(W,te,sn),$r(te,Tt),pl(v,Tt,sn),Ss(v,sn,Tt),Ad(v,sn),void 0!==r&&function KD(e,t,n){const r=e.projection=[];for(let o=0;o<t.length;o++){const s=n[o];r.push(null!=s&&s.length?Array.from(s):null)}}(sn,this.ngContentSelectors,r),Bt=(0,i.KdJ)(sn.index,Tt),Tt[i.SKP]=Bt[i.SKP],yl(v,Tt,null)}catch(sn){throw null!==Bt&&ki(Bt),ki(Tt),sn}finally{An(fn.DynamicComponentEnd),(0,i.bll)()}return new VD(this.componentType,Tt,!!Ue)}}function mg(e){const t=e[bs].kind;return"input"===t||"twoWay"===t}class VD extends nD{_rootLView;_hasInputBindings;instance;hostView;changeDetectorRef;componentType;location;previousInputValues=null;_tNode;constructor(t,n,r){super(),this._rootLView=n,this._hasInputBindings=r,this._tNode=(0,i.XRZ)(n[i.eDl],i.Yw1),this.location=Pi(this._tNode,n),this.instance=(0,i.KdJ)(this._tNode.index,n)[i.SKP],this.hostView=this.changeDetectorRef=new bl(n,void 0),this.componentType=t}setInput(t,n){const r=this._tNode;if(this.previousInputValues??=new Map,this.previousInputValues.has(t)&&Object.is(this.previousInputValues.get(t),n))return;const o=this._rootLView;vl(r,o[i.eDl],o,t,n),this.previousInputValues.set(t,n),Ta((0,i.KdJ)(r.index,o),1)}get injector(){return new Gt(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}}let kl=(()=>class e{static __NG_ELEMENT_ID__=$D})();function $D(){return vg((0,i.Mx4)(),(0,i.OAn)())}class Pd extends kl{_lContainer;_hostTNode;_hostLView;constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return Pi(this._hostTNode,this._hostLView)}get injector(){return new Gt(this._hostTNode,this._hostLView)}get parentInjector(){const t=un(this._hostTNode,this._hostLView);if(Kn(t)){const n=On(t,this._hostLView),r=kn(t);return new Gt(n[i.eDl].data[r+8],n)}return new Gt(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=_g(this._lContainer);return null!==n&&n[t]||null}get length(){return this._lContainer.length-i.Y20}createEmbeddedView(t,n,r){let o,s;"number"==typeof r?o=r:null!=r&&(o=r.index,s=r.injector);const f=t.createEmbeddedViewImpl(n||{},s,null);return this.insertImpl(f,o,Qs(this._hostTNode,null)),f}createComponent(t,n,r,o,s,l,f){const v=t&&!ue(t);let W;if(v)W=n;else{const er=n||{};W=er.index,r=er.injector,o=er.projectableNodes,s=er.environmentInjector||er.ngModuleRef,l=er.directives,f=er.bindings}const te=v?t:new Rl((0,i.xUg)(t)),Ue=r||this.parentInjector;if(!s&&null==te.ngModule){const pr=(v?Ue:this.parentInjector).get(i.uvJ,null);pr&&(s=pr)}(0,i.xUg)(te.componentType??{});const Bn=te.create(Ue,o,null,s,l,f);return this.insertImpl(Bn.hostView,W,Qs(this._hostTNode,null)),Bn}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,r){const o=t._lView;if((0,i.ITl)(o)){const f=this.indexOf(t);if(-1!==f)this.detach(f);else{const v=o[i.f7T],W=new Pd(v,v[i.qlT],v[i.f7T]);W.detach(W.indexOf(t))}}const s=this._adjustIndex(n),l=this._lContainer;return Ma(l,o,s,r),t.attachToViewContainerRef(),(0,i.EYC)(Rd(l),s,t),t}move(t,n){return this.insert(t,n)}indexOf(t){const n=_g(this._lContainer);return null!==n?n.indexOf(t):-1}remove(t){const n=this._adjustIndex(t,-1),r=uc(this._lContainer,n);r&&((0,i.E6O)(Rd(this._lContainer),n),cc(r[i.eDl],r))}detach(t){const n=this._adjustIndex(t,-1),r=uc(this._lContainer,n);return r&&null!=(0,i.E6O)(Rd(this._lContainer),n)?new bl(r):null}_adjustIndex(t,n=0){return t??this.length+n}}function _g(e){return e[i.bm_]}function Rd(e){return e[i.bm_]||(e[i.bm_]=[])}function vg(e,t){let n;const r=t[e.index];return(0,i.A0l)(r)?n=r:(n=Cp(r,t,null,e),t[e.index]=n,Hu(t,n)),yg(n,t,e,r),new Pd(n,e,t)}let yg=function bg(e,t,n,r){if(e[i.s6P])return;let o;o=8&n.type?(0,i.IvY)(r):function zD(e,t){const n=e[i.GpT],r=n.createComment(""),o=(0,i.d31)(t,e),s=n.parentNode(o);return Hs(n,s,r,n.nextSibling(o),!1),r}(t,n),e[i.s6P]=o};class xd{queryList;matches=null;constructor(t){this.queryList=t}clone(){return new xd(this.queryList)}setDirty(){this.queryList.setDirty()}}class Nd{queries;constructor(t=[]){this.queries=t}createEmbeddedView(t){const n=t.queries;if(null!==n){const r=null!==t.contentQueries?t.contentQueries[0]:n.length,o=[];for(let s=0;s<r;s++){const l=n.getByIndex(s);o.push(this.queries[l.indexInDeclarationView].clone())}return new Nd(o)}return null}insertView(t){this.dirtyQueriesWithMatches(t)}detachView(t){this.dirtyQueriesWithMatches(t)}finishViewCreation(t){this.dirtyQueriesWithMatches(t)}dirtyQueriesWithMatches(t){for(let n=0;n<this.queries.length;
vendor: 17,385 bytes, line 1
1n++)null!==Ud(t,n).matches&&this.queries[n].setDirty()}}class Dg{flags;read;predicate;constructor(t,n,r=null){this.flags=n,this.read=r,this.predicate="string"==typeof t?function qD(e){return e.split(",").map(t=>t.trim())}(t):t}}class Ld{queries;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 o=null!==n?n.length:0,s=this.getByIndex(r).embeddedTView(t,o);s&&(s.indexInDeclarationView=r,null!==n?n.push(s):n=[s])}return null!==n?new Ld(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 Fd{metadata;matches=null;indexInDeclarationView=-1;crossesNgTemplate=!1;_declarationNodeIndex;_appliesToNextNode=!0;constructor(t,n=-1){this.metadata=t,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 Fd(this.metadata)):null}isApplyingToNode(t){if(this._appliesToNextNode&&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 o=0;o<r.length;o++){const s=r[o];this.matchTNodeWithReadOption(t,n,QD(n,s)),this.matchTNodeWithReadOption(t,n,z(n,t,s,!1,!1))}else r===dc?4&n.type&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,z(n,t,r,!1,!1))}matchTNodeWithReadOption(t,n,r){if(null!==r){const o=this.metadata.read;if(null!==o)if(o===Ri||o===kl||o===dc&&4&n.type)this.addMatch(n.index,-2);else{const s=z(n,t,o,!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 QD(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 ZD(e,t,n,r){return-1===n?function YD(e,t){return 11&e.type?Pi(e,t):4&e.type?Dl(e,t):null}(t,e):-2===n?function JD(e,t,n){return n===Ri?Pi(t,e):n===dc?Dl(t,e):n===kl?vg(t,e):void 0}(e,t,r):he(e,e[i.eDl],n,t)}function Cg(e,t,n,r){const o=t[i.Ds7].queries[r];if(null===o.matches){const s=e.data,l=n.matches,f=[];for(let v=0;null!==l&&v<l.length;v+=2){const W=l[v];f.push(W<0?null:ZD(t,s[W],l[v+1],n.metadata.read))}o.matches=f}return o.matches}function Bd(e,t,n,r){const o=e.queries.getByIndex(n),s=o.matches;if(null!==s){const l=Cg(e,t,o,n);for(let f=0;f<s.length;f+=2){const v=s[f];if(v>0)r.push(l[f/2]);else{const W=s[f+1],te=t[-v];for(let Ue=i.Y20;Ue<te.length;Ue++){const Tt=te[Ue];Tt[i.rQE]===Tt[i.f7T]&&Bd(Tt[i.eDl],Tt,W,r)}if(null!==te[i.nfM]){const Ue=te[i.nfM];for(let Tt=0;Tt<Ue.length;Tt++){const Bt=Ue[Tt];Bd(Bt[i.eDl],Bt,W,r)}}}}}return r}function jd(e,t){return e[i.Ds7].queries[t].queryList}function Tg(e,t,n){const r=new oi(!(4&~n));return(0,i.B22)(e,t,r,r.destroy),(t[i.Ds7]??=new Nd).queries.push(new xd(r))-1}function Mg(e,t,n){const r=(0,i.klJ)();return r.firstCreatePass&&(Ag(r,new Dg(e,t,n),-1),!(2&~t)&&(r.staticViewQueries=!0)),Tg(r,(0,i.OAn)(),t)}function Ig(e,t,n,r){const o=(0,i.klJ)();if(o.firstCreatePass){const s=(0,i.Mx4)();Ag(o,new Dg(t,n,r),s.index),function e0(e,t){const n=e.contentQueries||(e.contentQueries=[]);t!==(n.length?n[n.length-1]:-1)&&n.push(e.queries.length-1,t)}(o,e),!(2&~n)&&(o.staticContentQueries=!0)}return Tg(o,(0,i.OAn)(),n)}function Ag(e,t,n){null===e.queries&&(e.queries=new Ld),e.queries.track(new Fd(t,n))}function Ud(e,t){return e.queries.getByIndex(t)}function Sg(e,t){const n=e[i.eDl],r=Ud(n,t);return r.crossesNgTemplate?Bd(n,e,t,[]):Cg(n,e,r,t)}function Wd(e,t,n){let r;const o=(0,ke.KZ)(()=>{r._dirtyCounter();const s=function r0(e,t){const n=e._lView,r=e._queryIndex;if(void 0===n||void 0===r||4&n[i.Wg1])return t?void 0:i.Mlv;const o=jd(n,r),s=Sg(n,r);return o.reset(s,Mi),t?o.first:o._changesDetected||void 0===e._flatValue?e._flatValue=o.toArray():e._flatValue}(r,e);if(t&&void 0===s)throw new i.buA(-951,!1);return s});return r=o[ke.bh],r._dirtyCounter=(0,i.vPA)(0),r._flatValue=void 0,o}function t0(e){return Wd(!0,!1)}function n0(e){return Wd(!0,!0)}function Og(e,t){const n=e[ke.bh];n._lView=(0,i.OAn)(),n._queryIndex=t,n._queryList=jd(n._lView,t),n._queryList.onDirty(()=>n._dirtyCounter.update(r=>r+1))}let ea=new Map;const Cc=new Set;function i0(e){return Hd.apply(this,arguments)}function Hd(){return Hd=(0,Ee.A)(function*(e){const t=ea;ea=new Map;const n=new Map;function r(s){const l=n.get(s);if(l)return l;const f=e(s).then(v=>function a0(e,t){return Vd.apply(this,arguments)}(s,v));return n.set(s,f),f}const o=Array.from(t).map(function(){var s=(0,Ee.A)(function*([l,f]){if(f.styleUrl&&f.styleUrls?.length)throw new Error("@Component cannot define both `styleUrl` and `styleUrls`. Use `styleUrl` if the component has one stylesheet, or `styleUrls` if it has multiple");const v=[];f.templateUrl&&v.push(r(f.templateUrl).then(Tt=>{f.template=Tt}));const W="string"==typeof f.styles?[f.styles]:f.styles??[];f.styles=W;let{styleUrl:te,styleUrls:Ue}=f;if(te&&(Ue=[te],f.styleUrl=void 0),Ue?.length){const Tt=Promise.all(Ue.map(Bt=>r(Bt))).then(Bt=>{W.push(...Bt),f.styleUrls=void 0});v.push(Tt)}yield Promise.all(v),Cc.delete(l)});return function(l){return s.apply(this,arguments)}}());yield Promise.all(o)}),Hd.apply(this,arguments)}function s0(){return 0===ea.size}function Vd(){return(Vd=(0,Ee.A)(function*(e,t){if("string"==typeof t)return t;if(void 0!==t.status&&200!==t.status)throw new i.buA(918,!1);return t.text()})).apply(this,arguments)}const Kd=new Map;function Rg(e,t){(function c0(e,t,n){if(t&&t!==n)throw new i.buA(921,!1)})(0,Kd.get(t)||null,e),Kd.set(t,e)}let ta=class{},kg=class{};function l0(e,t){return new $d(e,t??null,[])}class $d extends ta{ngModuleType;_parent;_bootstrapComponents=[];_r3Injector;instance;destroyCbs=[];componentFactoryResolver=new gg(this);constructor(t,n,r,o=!0){super(),this.ngModuleType=t,this._parent=n;const s=(0,i.phH)(t);this._bootstrapComponents=ms(s.bootstrap),this._r3Injector=(0,i.Pz9)(t,n,[{provide:ta,useValue:this},{provide:Ec,useValue:this.componentFactoryResolver},...r],(0,i.AsM)(t),new Set(["environment"])),o&&this.resolveInjectorInitializers()}resolveInjectorInitializers(){this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(this.ngModuleType)}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 xg extends kg{moduleType;constructor(t){super(),this.moduleType=t}create(t){return new $d(this.moduleType,t,[])}}function u0(e,t,n){return new $d(e,t,n,!1)}class Ng extends ta{injector;componentFactoryResolver=new gg(this);instance=null;constructor(t){super();const n=new i.e5P([...t.providers,{provide:ta,useValue:this},{provide:Ec,useValue:this.componentFactoryResolver}],t.parent||(0,i.WB9)(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}}function zd(e,t,n=null){return new Ng({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}let d0=(()=>{class e{_injector;cachedInjectors=new Map;constructor(n){this._injector=n}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){const r=(0,i.jXY)(!1,n.type),o=r.length>0?zd([r],this._injector,""):null;this.cachedInjectors.set(n,o)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(const n of this.cachedInjectors.values())null!==n&&n.destroy()}finally{this.cachedInjectors.clear()}}static \u0275prov=(0,i.jDH)({token:e,providedIn:"environment",factory:()=>new e((0,i.KVO)(i.uvJ))})}return e})();function Lg(e){return Y(()=>{const t=Wg(e),n={...t,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===si.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:t.standalone?o=>o.get(d0).getOrCreateStandaloneInjector(n):null,getExternalStyles:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||so.Emulated,styles:e.styles||i.Mlv,_:null,schemas:e.schemas||null,tView:null,id:""};t.standalone&&po("NgStandalone"),Hg(n);const r=e.dependencies;return n.directiveDefs=xl(r,Fg),n.pipeDefs=xl(r,i.oyA),n.id=function g0(e){let t=0;const r=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,"function"==typeof e.consts?"":e.consts,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery];for(const s of r.join("|"))t=Math.imul(31,t)+s.charCodeAt(0)|0;return t+=2147483648,"c"+t}(n),n})}function Fg(e){return(0,i.xUg)(e)||(0,i.HaV)(e)}function Bg(e){return Y(()=>({type:e.type,bootstrap:e.bootstrap||i.Mlv,declarations:e.declarations||i.Mlv,imports:e.imports||i.Mlv,exports:e.exports||i.Mlv,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function f0(e,t){if(null==e)return i.MZA;const n={};for(const r in e)if(e.hasOwnProperty(r)){const o=e[r];let s,l,f,v;Array.isArray(o)?(f=o[0],s=o[1],l=o[2]??s,v=o[3]||null):(s=o,l=o,f=il.None,v=null),n[s]=[r,f,v],t[s]=l}return n}function h0(e){if(null==e)return i.MZA;const t={};for(const n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}function jg(e){return Y(()=>{const t=Wg(e);return Hg(t),t})}function Ug(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,standalone:e.standalone??!0,onDestroy:e.type.prototype.ngOnDestroy||null}}function Wg(e){const t={};return{type:e.type,providersResolver:null,viewProvidersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputConfig:e.inputs||i.MZA,exportAs:e.exportAs||null,standalone:e.standalone??!0,signals:!0===e.signals,selectors:e.selectors||i.Mlv,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,resolveHostDirectives:null,hostDirectives:null,controlDef:null,inputs:f0(e.inputs,t),outputs:h0(e.outputs),debugInfo:null}}function Hg(e){e.features?.forEach(t=>t(e))}function xl(e,t){return e?()=>{const n="function"==typeof e?e():e,r=[];for(const o of n){const s=t(o);null!==s&&r.push(s)}return r}:null}function Vg(e){const t=n=>{const r=Array.isArray(e);null===n.hostDirectives?(n.resolveHostDirectives=_0,n.hostDirectives=r?e.map(Gd):[e]):r?n.hostDirectives.unshift(...e.map(Gd)):n.hostDirectives.unshift(e)};return t.ngInherit=!0,t}function _0(e){const t=[];let n=!1,r=null,o=null;for(let s=0;s<e.length;s++){const l=e[s];if(null!==l.hostDirectives){const f=t.length;r??=new Map,o??=new Map,Kg(l,t,r),o.set(l,[f,t.length-1])}0===s&&(0,i.JlV)(l)&&(n=!0,t.push(l))}for(let s=n?1:0;s<e.length;s++)t.push(e[s]);return[t,r,o]}function Kg(e,t,n){if(null!==e.hostDirectives)for(const r of e.hostDirectives)if("function"==typeof r){const o=r();for(const s of o)$g(Gd(s),t,n)}else $g(r,t,n)}function $g(e,t,n){const r=(0,i.HaV)(e.directive);(function v0(e,t){for(const n in t)t.hasOwnProperty(n)&&(e[t[n]]=e[n])})(r.declaredInputs,e.inputs),Kg(r,t,n),n.set(r,e),t.push(r)}function Gd(e){return"function"==typeof e?{directive:(0,i.nl4)(e),inputs:i.MZA,outputs:i.MZA}:{directive:(0,i.nl4)(e.directive),inputs:zg(e.inputs),outputs:zg(e.outputs)}}function zg(e){if(void 0===e||0===e.length)return i.MZA;const t={};for(let n=0;n<e.length;n+=2)t[e[n]]=e[n+1];return t}function Xd(e){let t=function y0(e){return Object.getPrototypeOf(e.prototype).constructor}(e.type),n=!0;const r=[e];for(;t&&t!==Function.prototype&&t!==Object.prototype;){let o;const s=Object.hasOwn(t,i.CQl)?t[i.CQl]:void 0,l=Object.hasOwn(t,i.CZt)?t[i.CZt]:void 0;if((0,i.JlV)(e))o=s??l;else{if(s)throw new i.buA(903,!1);o=l}if(o){if(n){r.push(o);const v=e;v.inputs=Qd(e.inputs),v.declaredInputs=Qd(e.declaredInputs),v.outputs=Qd(e.outputs);const W=o.hostBindings;W&&T0(e,W);const te=o.viewQuery,Ue=o.contentQueries;if(te&&D0(e,te),Ue&&C0(e,Ue),E0(e,o),(0,i.dwj)(e.outputs,o.outputs),(0,i.JlV)(o)&&o.data.animation){const Tt=e.data;Tt.animation=(Tt.animation||[]).concat(o.data.animation)}}const f=o.features;if(f)for(let v=0;v<f.length;v++){const W=f[v];W&&W.ngInherit&&W(e),W===Xd&&(n=!1)}}t=Object.getPrototypeOf(t)}!function b0(e){let t=0,n=null;for(let r=e.length-1;r>=0;r--){const o=e[r];o.hostVars=t+=o.hostVars,o.hostAttrs=_n(o.hostAttrs,n=_n(n,o.hostAttrs))}}(r)}function E0(e,t){for(const n in t.inputs){if(!t.inputs.hasOwnProperty(n)||e.inputs.hasOwnProperty(n))continue;const r=t.inputs[n];void 0!==r&&(e.inputs[n]=r,e.declaredInputs[n]=t.declaredInputs[n])}}function Qd(e){return e===i.MZA?{}:e===i.Mlv?[]:e}function D0(e,t){const n=e.viewQuery;e.viewQuery=n?(r,o)=>{t(r,o),n(r,o)}:t}function C0(e,t){const n=e.contentQueries;e.contentQueries=n?(r,o,s)=>{t(r,o,s),n(r,o,s)}:t}function T0(e,t){const n=e.hostBindings;e.hostBindings=n?(r,o)=>{t(r,o),n(r,o)}:t}function Xg(e,t,n,r,o,s,l,f){if(n.firstCreatePass){e.mergedAttrs=_n(e.mergedAttrs,e.attrs);const te=e.tView=Uu(2,e,o,s,l,n.directiveRegistry,n.pipeRegistry,null,n.schemas,n.consts,null);null!==n.queries&&(n.queries.template(n,e),te.queries=n.queries.embeddedTView(e))}f&&(e.flags|=f),(0,i.iMd)(e,!1);const v=Qg(n,t,e,r);(0,i.SX7)()&&id(n,t,v,e),$r(v,t);const W=Cp(v,t,v,e);t[r+i.Yw1]=W,Hu(t,W)}function na(e,t,n,r,o,s,l,f,v,W,te){const Ue=n+i.Yw1;let Tt;if(t.firstCreatePass){if(Tt=Ys(t,Ue,4,l||null,f||null),null!=W){const Bt=(0,i.db4)(t.consts,W);Tt.localNames=[];for(let sn=0;sn<Bt.length;sn+=2)Tt.localNames.push(Bt[sn],-1)}}else Tt=t.data[Ue];return Xg(Tt,e,t,n,r,o,s,v),null!=W&&Da(e,Tt,te),Tt}function Yd(e,t,n,r,o,s,l,f){const v=(0,i.OAn)(),W=(0,i.klJ)();return function M0(e,t,n,r,o,s,l,f,v,W,te){const Ue=n+i.Yw1;let Tt;t.firstCreatePass?(Tt=Ys(t,Ue,4,l||null,f||null),(0,i.ckz)()&&qp(t,e,Tt,(0,i.db4)(t.consts,W),ld),qn(t,Tt)):Tt=t.data[Ue],Xg(Tt,e,t,n,r,o,s,v),(0,i.yoD)(Tt)&&pl(t,e,Tt),null!=W&&Da(e,Tt,te)}(v,W,e,t,n,r,o,(0,i.db4)(W.consts,s),void 0,l,f),Yd}function Zd(e,t,n,r,o,s,l,f){const v=(0,i.OAn)(),W=(0,i.klJ)();return na(v,W,e,t,n,r,o,(0,i.db4)(W.consts,s),void 0,l,f),Zd}let Qg=function Yg(e,t,n,r){return(0,i.m7n)(!0),t[i.GpT].createComment("")};var Fi=function(e){return e[e.NOT_STARTED=0]="NOT_STARTED",e[e.IN_PROGRESS=1]="IN_PROGRESS",e[e.COMPLETE=2]="COMPLETE",e[e.FAILED=3]="FAILED",e}(Fi||{}),ii=function(e){return e[e.Placeholder=0]="Placeholder",e[e.Loading=1]="Loading",e[e.Complete=2]="Complete",e[e.Error=3]="Error",e}(ii||{}),Pa=function(e){return e[e.Initial=-1]="Initial",e}(Pa||{}),Jg=function(e){return e[e.Manual=0]="Manual",e[e.Playthrough=1]="Playthrough",e}(Jg||{});function Mc(e,t,n){const r=em(e);null===t[r]&&(t[r]=[]),t[r].push(n)}function Fl(e,t){const n=em(e),r=t[n];if(null!==r){for(const o of r)o();t[n]=null}}function qg(e){Fl(1,e),Fl(0,e),Fl(2,e)}function em(e){let t=4;return 1===e?t=5:2===e&&(t=9),t}function Ic(e){return e+1}function Go(e,t){return e[Ic(t.index)]}function go(e,t){const n=Ic(t.index);return e.data[n]}function Jd(e,t){return t===ii.Placeholder?e.placeholderBlockConfig?.[0]??null:t===ii.Loading?e.loadingBlockConfig?.[0]??null:null}function tm(e){return e.loadingBlockConfig?.[1]??null}function nm(e,t){if(!e||0===e.length)return t;const n=new Set(e);for(const r of t)n.add(r);return e.length===n.size?e:Array.from(n)}function qd(e,t,n,r){const o=n.get(i.SKi);return function ns(e,t,n,r){const o=Io(r);let s=ho.get(e)?.get(o);xo.has(o)||xo.set(o,{observer:n(r),count:0});const l=xo.get(o);if(!s){s=new io,l.observer.observe(e);let f=ho.get(e);f?f.set(o,s):(f=new Map,ho.set(e,f)),f.set(o,s),l.count++}return s.callbacks.add(t),()=>{if(ho.get(e)?.has(o)){if(s.callbacks.delete(t),0===s.callbacks.size){l.observer.unobserve(e),l.count--;const f=ho.get(e);f&&(f.delete(o),0===f.size&&ho.delete(e))}0===l.count&&(l.observer.disconnect(),xo.delete(o))}}}(e,()=>o.run(t),s=>o.runOutsideAngular(()=>function hs(e){const t=Io(e);return new IntersectionObserver(n=>{for(const r of n)r.isIntersecting&&ho.has(r.target)&&ho.get(r.target)?.get(t)?.listener()},e)}(s)),r)}function xa(e,t,n,r,o,s,l,f){const v=e[i.YEL],W=v.get(i.SKi);let te;te=function ME(e,t){const n=t?.injector??(0,i.WQX)(i.zZn);return po("NgAfterRender"),Zh(e,n,t,!1)}({read:function Ue(){if((0,i.EPY)(e))return void te.destroy();const Tt=Go(e,t),Bt=Tt[1];if(Bt!==Pa.Initial&&Bt!==ii.Placeholder)return void te.destroy();const sn=function N0(e,t,n){return null==n?e:n>=0?(0,i.jRZ)(n,e):e[t.index][i.Y20]??null}(e,t,r);if(!sn||(te.destroy(),(0,i.EPY)(sn)))return;const Bn=function L0(e,t){return(0,i.vaC)(i.Yw1+t,e)}(sn,n),er=o(Bn,()=>{W.run(()=>{e!==sn&&(0,i.DyX)(sn,er),s()})},v,f);e!==sn&&(0,i.ik5)(sn,er),Mc(l,Tt,er)}},{injector:v})}function Bl(e,t){const n=t.get(j0);return n.add(e),()=>n.remove(e)}let j0=(()=>{class e{executingCallbacks=!1;idleId=null;
vendor: 18,821 bytes, line 1
1current=new Set;deferred=new Set;ngZone=(0,i.WQX)(i.SKi);requestIdleCallbackFn=(()=>typeof requestIdleCallback<"u"?requestIdleCallback:setTimeout)().bind(globalThis);cancelIdleCallbackFn=(()=>typeof requestIdleCallback<"u"?cancelIdleCallback:clearTimeout)().bind(globalThis);add(n){(this.executingCallbacks?this.deferred:this.current).add(n),null===this.idleId&&this.scheduleIdleCallback()}remove(n){const{current:r,deferred:o}=this;r.delete(n),o.delete(n),0===r.size&&0===o.size&&this.cancelIdleCallback()}scheduleIdleCallback(){const n=()=>{this.cancelIdleCallback(),this.executingCallbacks=!0;for(const r of this.current)r();if(this.current.clear(),this.executingCallbacks=!1,this.deferred.size>0){for(const r of this.deferred)this.current.add(r);this.deferred.clear(),this.scheduleIdleCallback()}};this.idleId=this.requestIdleCallbackFn(()=>this.ngZone.run(n))}cancelIdleCallback(){null!==this.idleId&&(this.cancelIdleCallbackFn(this.idleId),this.idleId=null)}ngOnDestroy(){this.cancelIdleCallback(),this.current.clear(),this.deferred.clear()}static \u0275prov=(0,i.jDH)({token:e,providedIn:"root",factory:()=>new e})}return e})();function jl(e){return(t,n)=>im(e,t,n)}function im(e,t,n){const r=n.get(U0),o=n.get(i.SKi);return r.add(e,t,o),()=>r.remove(t)}let U0=(()=>{class e{executingCallbacks=!1;timeoutId=null;invokeTimerAt=null;current=[];deferred=[];add(n,r,o){this.addToQueue(this.executingCallbacks?this.deferred:this.current,Date.now()+n,r),this.scheduleTimer(o)}remove(n){const{current:r,deferred:o}=this;-1===this.removeFromQueue(r,n)&&this.removeFromQueue(o,n),0===r.length&&0===o.length&&this.clearTimeout()}addToQueue(n,r,o){let s=n.length;for(let l=0;l<n.length;l+=2)if(n[l]>r){s=l;break}(0,i.llW)(n,s,r,o)}removeFromQueue(n,r){let o=-1;for(let s=0;s<n.length;s+=2)if(n[s+1]===r){o=s;break}return o>-1&&(0,i.gsJ)(n,o,2),o}scheduleTimer(n){const r=()=>{this.clearTimeout(),this.executingCallbacks=!0;const s=[...this.current],l=Date.now();for(let v=0;v<s.length;v+=2){const te=s[v+1];if(!(s[v]<=l))break;te()}let f=-1;for(let v=0;v<this.current.length&&this.current[v]<=l;v+=2)f=v+1;if(f>=0&&(0,i.gsJ)(this.current,0,f+1),this.executingCallbacks=!1,this.deferred.length>0){for(let v=0;v<this.deferred.length;v+=2)this.addToQueue(this.current,this.deferred[v],this.deferred[v+1]);this.deferred.length=0}this.scheduleTimer(n)};if(this.current.length>0){const s=Date.now(),l=this.current[0];if(null===this.timeoutId||this.invokeTimerAt&&this.invokeTimerAt-l>16){this.clearTimeout();const f=Math.max(l-s,16);this.invokeTimerAt=l,this.timeoutId=n.runOutsideAngular(()=>setTimeout(()=>n.run(r),f))}}}clearTimeout(){null!==this.timeoutId&&(clearTimeout(this.timeoutId),this.timeoutId=null)}ngOnDestroy(){this.clearTimeout(),this.current.length=0,this.deferred.length=0}static \u0275prov=(0,i.jDH)({token:e,providedIn:"root",factory:()=>new e})}return e})(),W0=(()=>{class e{cachedInjectors=new Map;getOrCreateInjector(n,r,o,s){if(!this.cachedInjectors.has(n)){const l=o.length>0?zd(o,r,s):null;this.cachedInjectors.set(n,l)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(const n of this.cachedInjectors.values())null!==n&&n.destroy()}finally{this.cachedInjectors.clear()}}static \u0275prov=(0,i.jDH)({token:e,providedIn:"environment",factory:()=>new e})}return e})();const H0=new i.nKC("");function ef(e,t,n){return e.get(W0).getOrCreateInjector(t,e,n,"")}function ks(e,t,n,r=!1){const o=n[i.f7T],s=o[i.eDl];if((0,i.EPY)(o))return;const l=Go(o,t),v=l[7];if(!(null!==v&&e<v)&&am(l[1],e)&&am(l[0]??-1,e)){const W=go(s,t),Ue=r||null===tm(W)&&null===Jd(W,ii.Loading)&&!Jd(W,ii.Placeholder)?om:tf;try{Ue(e,l,n,t,o)}catch(Tt){ud(o,Tt)}}}function om(e,t,n,r,o){An(fn.DeferBlockStateStart);const s=function k0(e,t,n){const o=go(t[i.eDl],n);switch(e){case ii.Complete:return o.primaryTmplIndex;case ii.Loading:return o.loadingTmplIndex;case ii.Error:return o.errorTmplIndex;case ii.Placeholder:return o.placeholderTmplIndex;default:return null}}(e,o,r);if(null!==s){t[1]=e;const l=o[i.eDl],v=(0,i.XRZ)(l,s+i.Yw1),W=0;let te;if(fd(n,W),e===ii.Complete){const sn=go(l,r),Bn=sn.providers;Bn&&Bn.length>0&&(te=function V0(e,t,n){if(e instanceof Aa){const o=e.injector,l=ef(e.parentInjector,t,n);return new Aa(o,l)}const r=e.get(i.uvJ);if(r!==e){const o=ef(r,t,n);return new Aa(e,o)}return ef(e,t,n)}(o[i.YEL],sn,Bn))}const{dehydratedView:Ue,dehydratedViewIx:Tt}=function K0(e,t){const n=e[i.qFA]?.findIndex(o=>o.data.s===t[1])??-1;return{dehydratedView:n>-1?e[i.qFA][n]:null,dehydratedViewIx:n}}(n,t),Bt=Ca(o,v,null,{injector:te,dehydratedView:Ue});if(Ma(n,Bt,W,Qs(v,Ue)),Ta(Bt,2),Tt>-1&&n[i.qFA]?.splice(Tt,1),(e===ii.Complete||e===ii.Error)&&Array.isArray(t[8])){for(const sn of t[8])sn();t[8]=null}}An(fn.DeferBlockStateEnd)}function $0(e,t,n,r,o){const s=Date.now(),f=go(o[i.eDl],r);if(null===t[2]||t[2]<=s){t[2]=null;const v=tm(f),W=null!==t[3];if(e!==ii.Loading||null===v||W){e>ii.Loading&&W&&(t[3](),t[3]=null,t[0]=null),om(e,t,n,r,o);const te=Jd(f,e);null!==te&&(t[2]=s+te,sm(te,t,r,n,o))}else{t[0]=e;const te=sm(v,t,r,n,o);t[3]=te}}else t[0]=e}function sm(e,t,n,r,o){return im(e,()=>{const l=t[0];t[2]=null,t[0]=null,null!==l&&ks(l,n,r)},o[i.YEL])}function am(e,t){return e<t}function Na(e,t){ks(ii.Placeholder,t,e[t.index])}function cm(e,t,n){e.loadingPromise.then(()=>{e.loadingState===Fi.COMPLETE?ks(ii.Complete,t,n):e.loadingState===Fi.FAILED&&ks(ii.Error,t,n)})}let tf=null;function G0(e,t,n,r){return Y(()=>{const o=e;null!==t&&(o.hasOwnProperty("decorators")&&void 0!==o.decorators?o.decorators.push(...t):o.decorators=t),null!==n&&(o.ctorParameters=n),null!==r&&(o.propDecorators=o.hasOwnProperty("propDecorators")&&void 0!==o.propDecorators?{...o.propDecorators,...r}:r)})}let lm=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=(0,i.jDH)({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();function rf(e){return"function"==typeof e&&void 0!==e[ke.bh]}function dm(e){return rf(e)&&"function"==typeof e.set}function kC(e,t){!function Mm(e,t){if(typeof COMPILED>"u"||!COMPILED){const n=i.laP;n.ng??={},n.ng[e]=t}}(e,t)}const Im=new i.nKC(""),Am=new i.nKC("");let sf,xC=(()=>{class e{_ngZone;registry;_isZoneStable=!0;_callbacks=[];_taskTrackingZone=null;_destroyRef;constructor(n,r,o){this._ngZone=n,this.registry=r,(0,i.M6u)()&&(this._destroyRef=(0,i.WQX)(i.abz,{optional:!0})??void 0),sf||(function LC(e){sf=e}(o),o.addToWindow(r)),this._watchAngularEvents(),n.run(()=>{this._taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){const n=this._ngZone.onUnstable.subscribe({next:()=>{this._isZoneStable=!1}}),r=this._ngZone.runOutsideAngular(()=>this._ngZone.onStable.subscribe({next:()=>{i.SKi.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}}));this._destroyRef?.onDestroy(()=>{n.unsubscribe(),r.unsubscribe()})}isStable(){return this._isZoneStable&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;0!==this._callbacks.length;){let n=this._callbacks.pop();clearTimeout(n.timeoutId),n.doneCb()}});else{let n=this.getPendingTasks();this._callbacks=this._callbacks.filter(r=>!r.updateCb||!r.updateCb(n)||(clearTimeout(r.timeoutId),!1))}}getPendingTasks(){return this._taskTrackingZone?this._taskTrackingZone.macroTasks.map(n=>({source:n.source,creationLocation:n.creationLocation,data:n.data})):[]}addCallback(n,r,o){let s=-1;r&&r>0&&(s=setTimeout(()=>{this._callbacks=this._callbacks.filter(l=>l.timeoutId!==s),n()},r)),this._callbacks.push({doneCb:n,timeoutId:s,updateCb:o})}whenStable(n,r,o){if(o&&!this._taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(n,r,o),this._runCallbacksIfReady()}registerApplication(n){this.registry.registerApplication(n,this)}unregisterApplication(n){this.registry.unregisterApplication(n)}findProviders(n,r,o){return[]}static \u0275fac=function(r){return new(r||e)((0,i.KVO)(i.SKi),(0,i.KVO)(NC),(0,i.KVO)(Am))};static \u0275prov=(0,i.jDH)({token:e,factory:e.\u0275fac})}return e})(),NC=(()=>{class e{_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 sf?.findTestabilityInTree(this,n,r)??null}static \u0275fac=function(r){return new(r||e)};static \u0275prov=(0,i.jDH)({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();function Sm(e){return!!e&&"function"==typeof e.then}function Om(e){return!!e&&"function"==typeof e.subscribe}const wm=new i.nKC("");function FC(e){return(0,i.EmA)([{provide:wm,multi:!0,useValue:e}])}let Pm=(()=>{class e{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r});appInits=(0,i.WQX)(wm,{optional:!0})??[];injector=(0,i.WQX)(i.zZn);constructor(){}runInitializers(){if(this.initialized)return;const n=[];for(const o of this.appInits){const s=(0,i.N4e)(this.injector,o);if(Sm(s))n.push(s);else if(Om(s)){const l=new Promise((f,v)=>{s.subscribe({complete:f,error:v})});n.push(l)}}const r=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{r()}).catch(o=>{this.reject(o)}),0===n.length&&r(),this.initialized=!0}static \u0275fac=function(r){return new(r||e)};static \u0275prov=(0,i.jDH)({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const Rm=new i.nKC("");function BC(){}function jC(){(0,ke.KO)(()=>{throw new i.buA(600,"")})}function km(e,t){return Array.isArray(t)?t.reduce(km,e):{...e,...t}}let af=(()=>{class e{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=(0,i.WQX)(i.ZTf);afterRenderManager=(0,i.WQX)(Xh);zonelessEnabled=(0,i.WQX)(i.Evm);rootEffectScheduler=(0,i.WQX)(i.VML);dirtyFlags=0;tracingSnapshot=null;allTestViews=new Set;autoDetectTestViews=new Set;includeAllTestViews=!1;afterTick=new ot.B;get allViews(){return[...(this.includeAllTestViews?this.allTestViews:this.autoDetectTestViews).keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];internalPendingTask=(0,i.WQX)(i.rev);get isStable(){return this.internalPendingTask.hasPendingTasksObservable.pipe((0,fe.T)(n=>!n))}constructor(){(0,i.WQX)(Ea,{optional:!0})}whenStable(){let n;return new Promise(r=>{n=this.isStable.subscribe({next:o=>{o&&r()}})}).finally(()=>{n.unsubscribe()})}_injector=(0,i.WQX)(i.uvJ);_rendererFactory=null;get injector(){return this._injector}bootstrap(n,r){return this.bootstrapImpl(n,r)}bootstrapImpl(n,r,o=i.zZn.NULL){return this._injector.get(i.SKi).run(()=>{An(fn.BootstrapComponentStart);const l=n instanceof Yp;if(!this._injector.get(Pm).done)throw new i.buA(405,"");let v;v=l?n:this._injector.get(Ec).resolveComponentFactory(n),this.componentTypes.push(v.componentType);const W=function UC(e){return e.isBoundToModule}(v)?void 0:this._injector.get(ta),Ue=v.create(o,[],r||v.selector,W),Tt=Ue.location.nativeElement,Bt=Ue.injector.get(Im,null);return Bt?.registerApplication(Tt),Ue.onDestroy(()=>{this.detachView(Ue.hostView),Hl(this.components,Ue),Bt?.unregisterApplication(Tt)}),this._loadComponent(Ue),An(fn.BootstrapComponentEnd,Ue),Ue})}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){An(fn.ChangeDetectionStart),null!==this.tracingSnapshot?this.tracingSnapshot.run(Zu.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}tickImpl=()=>{if(this._runningTick)throw An(fn.ChangeDetectionEnd),new i.buA(101,!1);const n=(0,ke.Ht)(null);try{this._runningTick=!0,this.synchronize()}finally{this._runningTick=!1,this.tracingSnapshot?.dispose(),this.tracingSnapshot=null,(0,ke.Ht)(n),this.afterTick.next(),An(fn.ChangeDetectionEnd)}};synchronize(){null===this._rendererFactory&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(Cd,null,{optional:!0}));let n=0;for(;0!==this.dirtyFlags&&n++<10;){An(fn.ChangeDetectionSyncStart);try{this.synchronizeOnce()}finally{An(fn.ChangeDetectionSyncEnd)}}}synchronizeOnce(){16&this.dirtyFlags&&(this.dirtyFlags&=-17,this.rootEffectScheduler.flush());let n=!1;if(7&this.dirtyFlags){const r=!!(1&this.dirtyFlags);this.dirtyFlags&=-8,this.dirtyFlags|=8;for(let{_lView:o}of this.allViews)(r||(0,i.dMS)(o))&&(El(o,r&&!this.zonelessEnabled?0:1),n=!0);if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),23&this.dirtyFlags)return}n||(this._rendererFactory?.begin?.(),this._rendererFactory?.end?.()),8&this.dirtyFlags&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){this.allViews.some(({_lView:n})=>(0,i.dMS)(n))?this.dirtyFlags|=2:this.dirtyFlags&=-8}attachView(n){const r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){const r=n;Hl(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView);try{this.tick()}catch(o){this.internalErrorHandler(o)}this.components.push(n),this._injector.get(Rm,[]).forEach(o=>o(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy())}finally{this._destroyed=!0,this._views=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>Hl(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new i.buA(406,!1);const n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}static \u0275fac=function(r){return new(r||e)};static \u0275prov=(0,i.jDH)({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Hl(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}function cf(){let e,t;return{promise:new Promise((r,o)=>{e=r,t=o}),resolve:e,reject:t}}function xm(e){const t=(0,i.OAn)(),n=(0,i.Mx4)();if(Na(t,n),!Fm(0,t))return;const r=t[i.YEL];Mc(0,Go(t,n),e(()=>oa(0,t,n),r))}function Nm(e){const t=(0,i.OAn)(),n=t[i.YEL],r=(0,i.Mx4)(),s=go(t[i.eDl],r);s.loadingState===Fi.NOT_STARTED&&Mc(1,Go(t,r),e(()=>Sc(s,t,r),n))}function Lm(e,t,n){const r=t[i.YEL],o=Go(t,n),s=o[6];Mc(2,o,e(()=>sa(r,s),r))}function Sc(e,t,n){lf(e,t,n)}function lf(e,t,n){const r=t[i.YEL],o=t[i.eDl];if(e.loadingState!==Fi.NOT_STARTED)return e.loadingPromise??Promise.resolve();const s=Go(t,n),l=function x0(e,t){return(0,i.XRZ)(e,t.primaryTmplIndex+i.Yw1)}(o,e);e.loadingState=Fi.IN_PROGRESS,Fl(1,s);let f=e.dependencyResolverFn;const v=r.get(i.u5s).add();return f?(e.loadingPromise=Promise.allSettled(f()).then(W=>{let te=!1,Ue=null;const Tt=[],Bt=[];for(let sn=0;sn<W.length;sn++){const Bn=W[sn];if("fulfilled"!==Bn.status){te=!0,Ue=Bn.reason instanceof Error?Bn.reason:new Error(String(Bn.reason));break}{const er=Bn.value,pr=(0,i.xUg)(er)||(0,i.HaV)(er);if(pr)Tt.push(pr);else{const Ln=(0,i.oyA)(er);Ln&&Bt.push(Ln)}}}if(te){if(e.loadingState=Fi.FAILED,null===e.errorTmplIndex){const er=new i.buA(-750,"");ud(t,er)}}else{e.loadingState=Fi.COMPLETE;const sn=l.tView;if(Tt.length>0){sn.directiveRegistry=nm(sn.directiveRegistry,Tt);const Bn=Tt.map(pr=>pr.type),er=(0,i.jXY)(!1,...Bn);e.providers=er}Bt.length>0&&(sn.pipeRegistry=nm(sn.pipeRegistry,Bt))}}),e.loadingPromise.finally(()=>{e.loadingPromise=null,v()})):(e.loadingPromise=Promise.resolve().then(()=>{e.loadingPromise=null,e.loadingState=Fi.COMPLETE,v()}),e.loadingPromise)}function Fm(e,t){return t[i.YEL].get(H0,null,{optional:!0})?.behavior!==Jg.Manual}function oa(e,t,n){const r=t[i.eDl],o=t[n.index];if(!Fm(0,t))return;const s=Go(t,n),l=go(r,n);switch(qg(s),l.loadingState){case Fi.NOT_STARTED:ks(ii.Loading,n,o),lf(l,t,n),l.loadingState===Fi.IN_PROGRESS&&cm(l,n,o);break;case Fi.IN_PROGRESS:ks(ii.Loading,n,o),cm(l,n,o);break;case Fi.COMPLETE:ks(ii.Complete,n,o);break;case Fi.FAILED:ks(ii.Error,n,o)}}function sa(e,t,n){return uf.apply(this,arguments)}function uf(){return(uf=(0,Ee.A)(function*(e,t,n){const r=e.get(re);if(r.hydrating.has(t))return;const{parentBlockPromise:s,hydrationQueue:l}=function ae(e,t){const n=t.get(re),o=t.get(zr).get("__nghDeferData__",{});let s=!1,l=e,f=null;const v=[];for(;!s&&l;){s=n.has(l);const W=n.hydrating.get(l);if(null===f&&null!=W){f=W.promise;break}v.unshift(l),l=o[l].p}return{parentBlockPromise:f,hydrationQueue:v}}(t,e);if(0===l.length)return;null!==s&&l.shift(),function KC(e,t){for(let n of t)e.hydrating.set(n,cf())}(r,l),null!==s&&(yield s);const f=l[0];r.has(f)?yield Bm(e,l,n):r.awaitParentBlock(f,(0,Ee.A)(function*(){return yield Bm(e,l,n)}))})).apply(this,arguments)}function Bm(e,t,n){return df.apply(this,arguments)}function df(){return(df=(0,Ee.A)(function*(e,t,n){const r=e.get(re),o=r.hydrating,s=e.get(i.rev),l=s.add();for(let v=0;v<t.length;v++){const W=t[v],te=r.get(W);if(null==te){VC(v,t,r),jm(t.slice(v),r);break}if(yield zC(te),yield $C(e),HC(te)){Qb(te),jm(t.slice(v),r);break}o.get(W).resolve()}const f=t[t.length-1];yield o.get(f)?.promise,s.remove(l),n&&n(t),function Zb(e,t,n,r){null!==e&&(n.cleanup(t),Sl(e.lContainer),function Yb(e){const t=e._views;for(const n of t){const r=Ha(n);null!==r&&null!==r[i.jgP]&&((0,i.q$2)(r)?vc(r):Sl(r))}}(r))}(r.get(f),t,r,e.get(af))})).apply(this,arguments)}function HC(e){return Go(e.lView,e.tNode)[1]===ii.Error}function VC(e,t,n){const r=e-1,o=r>-1?n.get(t[r]):null;o&&Sl(o.lContainer)}function jm(e,t){const n=t.hydrating;for(const r in e)n.get(r)?.reject();t.cleanup(e)}function $C(e){return new Promise(t=>Ju(t,{injector:e}))}function zC(e){return ff.apply(this,arguments)}function ff(){return(ff=(0,Ee.A)(function*(e){const{tNode:t,lView:n}=e,r=Go(n,t);return new Promise(o=>{(function GC(e,t){Array.isArray(e[8])||(e[8]=[]),e[8].push(t)})(r,o),oa(0,n,t)})})).apply(this,arguments)}function Oi(e,t,n){return 0===e?Um(t,n):2!==e||!Um(t,n)}function Um(e,t){const n=e[i.YEL],r=go(e[i.eDl],t),o=Bs(n),s=function XC(e){return null!=e&&!(1&~e)}(r.flags),f=null!==Go(e,t)[6];return!(s&&f&&o)}function xs(e,t){const n=go(e,t);return n.hydrateTriggers??=new Map}function Hm(e,t,n,r,o,s,l,f,v,W){const te=(0,i.OAn)(),Ue=(0,i.klJ)(),Tt=e+i.Yw1,Bt=na(te,Ue,e,null,0,0),sn=te[i.YEL],Bn=Bs(sn);if(Ue.firstCreatePass){po("NgDefer");const Cs={primaryTmplIndex:t,loadingTmplIndex:r??null,placeholderTmplIndex:o??null,errorTmplIndex:s??null,placeholderBlockConfig:null,loadingBlockConfig:null,dependencyResolverFn:n??null,loadingState:Fi.NOT_STARTED,loadingPromise:null,providers:null,hydrateTriggers:null,debug:null,flags:W??0};v?.(Ue,Cs,f,l),function R0(e,t,n){const r=Ic(t);e.data[r]=n}(Ue,Tt,Cs)}const er=te[Tt];let pr=null,Ln=null;if(er[i.qFA]?.length>0){const Cs=er[i.qFA][0].data;Ln=Cs.di??null,pr=Cs.s}const jr=[null,Pa.Initial,null,null,null,null,Ln,pr,null,null];
vendor: 7,136 bytes, line 1
1!function P0(e,t,n){e[Ic(t)]=n}(te,Tt,jr);let mo=null;null!==Ln&&Bn&&(mo=sn.get(re),mo.add(Ln,{lView:te,tNode:Bt,lContainer:er}));const vi=()=>{qg(jr),null!==Ln&&mo?.cleanup([Ln])};Mc(0,jr,()=>(0,i.DyX)(te,vi)),(0,i.ik5)(te,vi)}function Vm(e){const t=(0,i.OAn)(),n=(0,i.CpD)();if(Oi(0,t,n)&&pi(t,(0,i.xbp)(),e)){const o=(0,ke.Ht)(null);try{const s=!!e,f=Go(t,n)[1];!1===s&&f===Pa.Initial?Na(t,n):!0===s&&(f===Pa.Initial||f===ii.Placeholder)&&oa(0,t,n)}finally{(0,ke.Ht)(o)}}}function hf(e,t){const n=(0,i.OAn)();if(pi(n,(0,i.xbp)(),t)){const o=(0,i.klJ)(),s=(0,i.CpD)();if(vl(s,o,n,e,t))(0,i.Qs1)(s)&&fp(n,s.index);else{const f=(0,i.d31)(s,n);gl(n[i.GpT],f,null,s.value,e,t,null)}}return hf}function pf(e,t,n,r){const o=(0,i.OAn)();return pi(o,(0,i.xbp)(),t)&&((0,i.klJ)(),function KE(e,t,n,r,o,s){const l=(0,i.d31)(e,t);gl(t[i.GpT],l,s,e.value,n,r,o)}((0,i.CpD)(),o,e,t,n,r)),pf}function Oc(e){if(po("NgAnimateEnter"),!Vs)return Oc;const t=(0,i.OAn)();if(sl(t))return Oc;const n=(0,i.Mx4)(),r=t[i.YEL].get(i.SKi);return cl(al(t),n,()=>function ET(e,t,n,r){const o=(0,i.d31)(t,e),s=e[i.GpT],l=Vh(n),f=[];let v=!1;const W=Ue=>{if(ac(Ue)!==o)return;const Tt=Ue instanceof AnimationEvent?"animationend":"transitionend";r.runOutsideAngular(()=>{s.listen(o,Tt,te)})},te=Ue=>{ac(Ue)===o&&(Xu(Ue,o)&&(v=!0),function bT(e,t,n){const r=ya.get(t);if(ac(e)===t&&r&&Xu(e,t)){e.stopPropagation();for(const o of r.classList)n.removeClass(t,o);$u(t)}}(Ue,o,s))};if(l&&l.length>0){r.runOutsideAngular(()=>{f.push(s.listen(o,"animationstart",W)),f.push(s.listen(o,"transitionstart",W))}),function gE(e,t,n){const r=ya.get(e);if(r){for(const o of t)r.classList.push(o);for(const o of n)r.cleanupFns.push(o)}else ya.set(e,{classList:t,cleanupFns:n})}(o,l,f);for(const Ue of l)s.addClass(o,Ue);r.runOutsideAngular(()=>{requestAnimationFrame(()=>{if(!v&&(zh(o,Ks,Vs),!Ks.has(o))){for(const Ue of l)s.removeClass(o,Ue);$u(o)}})})}}(t,n,e,r)),fl(t[i.YEL]),qu(t[i.YEL],al(t)),Oc}function wc(e){if(po("NgAnimateLeave"),!Vs)return wc;const t=(0,i.OAn)();if(sl(t))return wc;const r=(0,i.Mx4)(),o=t[i.YEL].get(i.SKi);return cl($s(t),r,()=>function CT(e,t,n,r){const{promise:o,resolve:s}=cf(),l=(0,i.d31)(t,e),f=e[i.GpT];Gs.add(e[i.ID]),($s(e).get(t.index).resolvers??=[]).push(s);const v=Vh(n);return v&&v.length>0?function TT(e,t,n,r,o,s){!function vE(e,t){if(!Vs)return;const n=ya.get(e);if(n&&n.classList.length>0&&function yE(e,t){for(const n of t)if(e.classList.contains(n))return!0;return!1}(e,n.classList))for(const r of n.classList)t.removeClass(e,r);$u(e)}(e,o);const l=[],f=$s(n).get(t.index)?.resolvers;let v,W=!1;const te=Ue=>{if((ac(Ue)===e||"animation-fallback"===Ue.type)&&("animation-fallback"===Ue.type||Xu(Ue,e))){if(W=!0,v&&clearTimeout(v),"animation-fallback"!==Ue.type&&Ue.stopPropagation(),Ks.delete(e),zu(t,e),Array.isArray(t.projection))for(const Bt of r)o.removeClass(e,Bt);Qu(f,l),Yu(n,t)}};s.runOutsideAngular(()=>{l.push(o.listen(e,"animationend",te)),l.push(o.listen(e,"transitionend",te))}),Gu(t,e);for(const Ue of r)o.addClass(e,Ue);s.runOutsideAngular(()=>{requestAnimationFrame(()=>{if(W)return;zh(e,Ks,Vs);const Ue=Ks.get(e);Ue?(v=setTimeout(()=>{te(new CustomEvent("animation-fallback"))},Ue.duration+50),l.push(()=>clearTimeout(v))):(zu(t,e),Qu(f,l),Yu(n,t))})})}(l,t,e,v,f,r):s(),{promise:o,resolve:s}}(t,r,e,o)),fl(t[i.YEL]),wc}function Km(){return(0,i.OAn)()[i.b5C][i.SKP]}class IT{destroy(t){}updateValue(t,n){}swap(t,n){const r=Math.min(t,n),o=Math.max(t,n),s=this.detach(o);if(o-r>1){const l=this.detach(r);this.attach(r,s),this.attach(o,l)}else this.attach(r,s)}move(t,n){this.attach(n,this.detach(t))}}function mf(e,t,n,r,o){return e===n&&Object.is(t,r)?1:Object.is(o(e,t),o(n,r))?-1:0}function _f(e,t,n,r){return!(void 0===t||!t.has(r)||(e.attach(n,t.get(r)),t.delete(r),0))}function $m(e,t,n,r,o){if(_f(e,t,r,n(r,o)))e.updateValue(r,o);else{const s=e.create(r,o);e.attach(r,s)}}function zm(e,t,n,r){const o=new Set;for(let s=t;s<=n;s++)o.add(r(s,e.at(s)));return o}class Gm{kvMap=new Map;_vMap=void 0;has(t){return this.kvMap.has(t)}delete(t){if(!this.has(t))return!1;const n=this.kvMap.get(t);return void 0!==this._vMap&&this._vMap.has(n)?(this.kvMap.set(t,this._vMap.get(n)),this._vMap.delete(n)):this.kvMap.delete(t),!0}get(t){return this.kvMap.get(t)}set(t,n){if(this.kvMap.has(t)){let r=this.kvMap.get(t);void 0===this._vMap&&(this._vMap=new Map);const o=this._vMap;for(;o.has(r);)r=o.get(r);o.set(r,n)}else this.kvMap.set(t,n)}forEach(t){for(let[n,r]of this.kvMap)if(t(r,n),void 0!==this._vMap){const o=this._vMap;for(;o.has(r);)r=o.get(r),t(r,n)}}}function Xm(e,t,n,r,o,s,l,f){po("NgControlFlow");const v=(0,i.OAn)(),W=(0,i.klJ)();return na(v,W,e,t,n,r,o,(0,i.db4)(W.consts,s),256,l,f),Kl}function Kl(e,t,n,r,o,s,l,f){po("NgControlFlow");const v=(0,i.OAn)(),W=(0,i.klJ)();return na(v,W,e,t,n,r,o,(0,i.db4)(W.consts,s),512,l,f),Kl}function Qm(e,t){po("NgControlFlow");const n=(0,i.OAn)(),r=(0,i.xbp)(),o=n[r]!==Yr?n[r]:-1,s=-1!==o?$l(n,i.Yw1+o):void 0;if(pi(n,r,e)){const f=(0,ke.Ht)(null);try{if(void 0!==s&&fd(s,0),-1!==e){const v=i.Yw1+e,W=$l(n,v),te=vf(n[i.eDl],v),Ue=null;Ma(W,Ca(n,te,t,{dehydratedView:Ue}),0,Qs(te,Ue))}}finally{(0,ke.Ht)(f)}}else if(void 0!==s){const f=Tp(s,0);void 0!==f&&(f[i.SKP]=t)}}class ST{lContainer;$implicit;$index;constructor(t,n,r){this.lContainer=t,this.$implicit=n,this.$index=r}get $count(){return this.lContainer.length-i.Y20}}function Ym(e){return e}class wT{hasEmptyBlock;trackByFn;liveCollection;constructor(t,n,r){this.hasEmptyBlock=t,this.trackByFn=n,this.liveCollection=r}}function Zm(e,t,n,r,o,s,l,f,v,W,te,Ue,Tt){po("NgControlFlow");const Bt=(0,i.OAn)(),sn=(0,i.klJ)(),Bn=void 0!==v,er=(0,i.OAn)(),pr=f?l.bind(er[i.b5C][i.SKP]):l,Ln=new wT(Bn,pr);er[i.Yw1+e]=Ln,na(Bt,sn,e+1,t,n,r,o,(0,i.db4)(sn.consts,s),256),Bn&&na(Bt,sn,e+2,v,W,te,Ue,(0,i.db4)(sn.consts,Tt),512)}class PT extends IT{lContainer;hostLView;templateTNode;operationsCounter=void 0;needsIndexUpdate=!1;constructor(t,n,r){super(),this.lContainer=t,this.hostLView=n,this.templateTNode=r}get length(){return this.lContainer.length-i.Y20}at(t){return this.getLView(t)[i.SKP].$implicit}attach(t,n){const r=n[i.tcA];this.needsIndexUpdate||=t!==this.length,Ma(this.lContainer,n,t,Qs(this.templateTNode,r)),function RT(e,t){if(e.length<=i.Y20)return;const r=e[i.Y20+t],o=r?r[i.Isx]:void 0;r&&o&&o.detachedLeaveAnimationFns&&o.detachedLeaveAnimationFns.length>0&&(function AE(e,t){const n=e.get(dl);if(t.detachedLeaveAnimationFns){for(const r of t.detachedLeaveAnimationFns)n.queue.delete(r);t.detachedLeaveAnimationFns=void 0}}(r[i.YEL],o),Gs.delete(r[i.ID]),o.detachedLeaveAnimationFns=void 0)}(this.lContainer,t)}detach(t){return this.needsIndexUpdate||=t!==this.length-1,function kT(e,t){if(e.length<=i.Y20)return;const r=e[i.Y20+t],o=r?r[i.Isx]:void 0;o&&o.leave&&o.leave.size>0&&(o.detachedLeaveAnimationFns=[])}(this.lContainer,t),function xT(e,t){return uc(e,t)}(this.lContainer,t)}create(t,n){return Ca(this.hostLView,this.templateTNode,new ST(this.lContainer,n,t),{dehydratedView:null})}destroy(t){cc(t[i.eDl],t)}updateValue(t,n){this.getLView(t)[i.SKP].$implicit=n}reset(){this.needsIndexUpdate=!1}
vendor: 4,360 bytes, line 1
1updateIndexes(){if(this.needsIndexUpdate)for(let t=0;t<this.length;t++)this.getLView(t)[i.SKP].$index=t}getLView(t){return function NT(e,t){return Tp(e,t)}(this.lContainer,t)}}function Jm(e){const t=(0,ke.Ht)(null),n=(0,i._px)();try{const r=(0,i.OAn)(),o=r[i.eDl],s=r[n],l=n+1,f=$l(r,l);if(void 0===s.liveCollection){const W=vf(o,l);s.liveCollection=new PT(f,r,W)}else s.liveCollection.reset();const v=s.liveCollection;if(function AT(e,t,n,r){let o,s,l=0,f=e.length-1;if(Array.isArray(t)){(0,ke.Ht)(r);let W=t.length-1;for((0,ke.Ht)(null);l<=f&&l<=W;){const te=e.at(l),Ue=t[l],Tt=mf(l,te,l,Ue,n);if(0!==Tt){Tt<0&&e.updateValue(l,Ue),l++;continue}const Bt=e.at(f),sn=t[W],Bn=mf(f,Bt,W,sn,n);if(0!==Bn){Bn<0&&e.updateValue(f,sn),f--,W--;continue}const er=n(l,te),pr=n(f,Bt),Ln=n(l,Ue);if(Object.is(Ln,pr)){const jr=n(W,sn);Object.is(jr,er)?(e.swap(l,f),e.updateValue(f,sn),W--,f--):e.move(f,l),e.updateValue(l,Ue),l++;continue}if(o??=new Gm,s??=zm(e,l,f,n),_f(e,o,l,Ln))e.updateValue(l,Ue),l++,f++;else if(s.has(Ln))o.set(er,e.detach(l)),f--;else{const jr=e.create(l,t[l]);e.attach(l,jr),l++,f++}}for(;l<=W;)$m(e,o,n,l,t[l]),l++}else if(null!=t){(0,ke.Ht)(r);const W=t[Symbol.iterator]();(0,ke.Ht)(null);let te=W.next();for(;!te.done&&l<=f;){const Ue=e.at(l),Tt=te.value,Bt=mf(l,Ue,l,Tt,n);if(0!==Bt)Bt<0&&e.updateValue(l,Tt),l++,te=W.next();else{o??=new Gm,s??=zm(e,l,f,n);const sn=n(l,Tt);if(_f(e,o,l,sn))e.updateValue(l,Tt),l++,f++,te=W.next();else if(s.has(sn)){const Bn=n(l,Ue);o.set(Bn,e.detach(l)),f--}else e.attach(l,e.create(l,Tt)),l++,f++,te=W.next()}}for(;!te.done;)$m(e,o,n,e.length,te.value),te=W.next()}for(;l<=f;)e.destroy(e.detach(f--));o?.forEach(W=>{e.destroy(W)})}(v,e,s.trackByFn,t),v.updateIndexes(),s.hasEmptyBlock){const W=(0,i.xbp)(),te=0===v.length;if(pi(r,W,te)){const Ue=n+2,Tt=$l(r,Ue);if(te){const Bt=vf(o,Ue),sn=null;Ma(Tt,Ca(r,Bt,void 0,{dehydratedView:sn}),0,Qs(Bt,sn))}else o.firstUpdatePass&&Al(Tt),fd(Tt,0)}}}finally{(0,ke.Ht)(t)}}function $l(e,t){return e[t]}function vf(e,t){return(0,i.XRZ)(e,t)}function yf(e,t,n){const r=(0,i.OAn)();return pi(r,(0,i.xbp)(),t)&&((0,i.klJ)(),ad((0,i.CpD)(),r,e,t,r[i.GpT],n)),yf}function Ef(e,t,n,r,o){vl(t,e,n,o?"class":"style",r)}function Pc(e,t,n,r){const o=(0,i.OAn)(),s=o[i.eDl],l=e+i.Yw1,f=s.firstCreatePass?Id(l,o,2,t,ld,(0,i.ckz)(),n,r):s.data[l];if((0,i.Qs1)(f)){const v=o[i.M0L].tracingService;if(v&&v.componentCreate)return v.componentCreate(wd(s.data[f.directiveStart+f.componentOffset]),()=>(qm(e,t,o,f,r),Pc))}return qm(e,t,o,f,r),Pc}function qm(e,t,n,r,o){if(ml(r,n,e,t,Cf),(0,i.yoD)(r)){const s=n[i.eDl];pl(s,n,r),Ss(s,r,n)}null!=o&&Da(n,r)}function zl(){const e=(0,i.klJ)(),n=_l((0,i.Mx4)());return e.firstCreatePass&&Ad(e,n),(0,i.UhH)(n)&&(0,i.krE)(),(0,i.N79)(),null!=n.classesWithoutHost&&function Jt(e){return!!(8&e.flags)}(n)&&Ef(e,n,(0,i.OAn)(),n.classesWithoutHost,!0),null!=n.stylesWithoutHost&&function on(e){return!!(16&e.flags)}(n)&&Ef(e,n,(0,i.OAn)(),n.stylesWithoutHost,!1),zl}function bf(e,t,n,r){return Pc(e,t,n,r),zl(),bf}function Gl(e,t,n,r){const o=(0,i.OAn)(),s=o[i.eDl],l=e+i.Yw1,f=s.firstCreatePass?ig(l,s,2,t,n,r):s.data[l];return ml(f,o,e,t,Cf),null!=r&&Da(o,f),Gl}function Xl(){const t=_l((0,i.Mx4)());return(0,i.UhH)(t)&&(0,i.krE)(),(0,i.N79)(),Xl}function Df(e,t,n,r){return Gl(e,t,n,r),Xl(),Df}let Cf=(e,t,n,r,o)=>((0,i.m7n)(!0),el(t[i.GpT],r,(0,i.UaU)()));function Ql(e,t,n){const r=(0,i.OAn)(),o=r[i.eDl],s=e+i.Yw1,l=o.firstCreatePass?Id(s,r,8,"ng-container",ld,(0,i.ckz)(),t,n):o.data[s];if(ml(l,r,e,"ng-container",If),(0,i.yoD)(l)){const f=r[i.eDl];pl(f,r,l),Ss(f,l,r)}return null!=n&&Da(r,l),Ql}function Rc(){const e=(0,i.klJ)(),n=_l((0,i.Mx4)());return e.firstCreatePass&&Ad(e,n),Rc}function Tf(e,t,n){return Ql(e,t,n),Rc(),Tf}function Yl(e,t,n){const r=(0,i.OAn)(),o=r[i.eDl],s=e+i.Yw1,l=o.firstCreatePass?ig(s,o,8,"ng-container",t,n):o.data[s];return ml(l,r,e,"ng-container",If),null!=n&&Da(r,l),Yl}function Mf(){return _l((0,i.Mx4)()),Rc}let If=(e,t,n,r,o)=>((0,i.m7n)(!0),Nu(t[i.GpT],""));function t_(){return(0,i.OAn)()}function Af(e,t,n){const r=(0,i.OAn)();return pi(r,(0,i.xbp)(),t)&&((0,i.klJ)(),cd((0,i.CpD)(),r,e,t,r[i.GpT],n)),Af}const kc=void 0;var jT=["en",[["a","p"],["AM","PM"]],[["AM","PM"]],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Frid
1ay","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],kc,[["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"]],kc,[["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\u202fa","h:mm:ss\u202fa","h:mm:ss\u202fa z","h:mm:ss\u202fa zzzz"],["{1}, {0}",kc,kc,kc],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function BT(e){const t=Math.floor(Math.abs(e)),n=e.toString().replace(/^[^.]*\.?/,"").length;return 1===t&&0===n?1:5}];let Fa=Object.create(null);function Sf(e){const t=function UT(e){return e.toLowerCase().replace(/_/g,"-")}(e);let n=i_(t);if(n)return n;const r=t.split("-")[0];if(n=i_(r),n)return n;if("en"===r)return jT;throw new i.buA(701,!1)}function r_(e){return Sf(e)[Ba.PluralCase]}function i_(e){if(!(e in Fa)){const t=i.laP.ng&&i.laP.ng.common&&i.laP.ng.common.locales&&i.laP.ng.common.locales[e];return void 0!==t&&(Fa[e]=t),t}return Fa[e]}var Ba=function(e){return e[e.LocaleId=0]="LocaleId",e[e.DayPeriodsFormat=1]="DayPeriodsFormat",e[e.DayPeriodsStandalone=2]="DayPeriodsStandalone",e[e.DaysFormat=3]="DaysFormat",e[e.DaysStandalone=4]="DaysStandalone",e[e.MonthsFormat=5]="MonthsFormat",e[e.MonthsStandalone=6]="MonthsStandalone",e[e.Eras=7]="Eras",e[e.FirstDayOfWeek=8]="FirstDayOfWeek",e[e.WeekendRange=9]="WeekendRange",e[e.DateFormat=10]="DateFormat",e[e.TimeFormat=11]="TimeFormat",e[e.DateTimeFormat=12]="DateTimeFormat",e[e.NumberSymbols=13]="NumberSymbols",e[e.NumberFormats=14]="NumberFormats",e[e.CurrencyCode=15]="CurrencyCode",e[e.CurrencySymbol=16]="CurrencySymbol",e[e.CurrencyName=17]="CurrencyName",e[e.Currencies=18]="Currencies",e[e.Directionality=19]="Directionality",e[e.PluralCase=20]="PluralCase",e[e.ExtraData=21]="ExtraData",e}(Ba||{});const WT=["zero","one","two","few","many"],Of="en-US",Zl={marker:"element"},Jl={marker:"ICU"};var Qo=function(e){return e[e.SHIFT=2]="SHIFT",e[e.APPEND_EAGERLY=1]="APPEND_EAGERLY",e[e.COMMENT=2]="COMMENT",e}(Qo||{});let o_=Of;function KT(e){"string"==typeof e&&(o_=e.toLowerCase().replace(/_/g,"-"))}let xc=0,Nc=0;let Lc=(e,t,n,r)=>((0,i.m7n)(!0),function s_(e,t,n){const r=e[i.GpT];switch(n){case Node.COMMENT_NODE:return Nu(r,t);case Node.TEXT_NODE:return xu(r,t);case Node.ELEMENT_NODE:return el(r,t,null)}}(e,n,r));function a_(e,t,n,r){const o=n[i.GpT];let l,s=null;for(let f=0;f<t.length;f++){const v=t[f];if("string"==typeof v){const W=t[++f];null===n[W]&&(n[W]=Lc(n,0,v,Node.TEXT_NODE))}else if("number"==typeof v)switch(1&v){case 0:const W=Rp(v);let te,Ue;if(null===s&&(s=W,l=o.parentNode(r)),W===s?(te=r,Ue=l):(te=null,Ue=(0,i.IvY)(n[W])),null!==Ue){const Bn=kp(v);Hs(o,Ue,n[Bn],te,!1);const pr=gc(e,Bn);if(null!==pr&&"object"==typeof pr){const Ln=Tl(pr,n);null!==Ln&&a_(e,pr.create[Ln],n,n[pr.anchorIdx])}}break;case 1:const Bt=t[++f],sn=t[++f];gl(o,(0,i.vaC)(v>>>1,n),null,null,Bt,sn,null)}else switch(v){case Jl:const W=t[++f],te=t[++f];null===n[te]&&$r(n[te]=Lc(n,0,W,Node.COMMENT_NODE),n);break;case Zl:const Ue=t[++f],Tt=t[++f];null===n[Tt]&&$r(n[Tt]=Lc(n,0,Ue,Node.ELEMENT_NODE),n)}}}function c_(e,t,n,r,o){for(let s=0;s<n.length;s++){const l=n[s],f=n[++s];if(l&o){let v="";for(let W=s+1;W<=s+f;W++){const te=n[W];if("string"==typeof te)v+=te;else if("number"==typeof te)if(te<0)v+=(0,i.eFE)(t[r-te]);else{const Ue=te>>>2;switch(3&te){case 1:const Tt=n[++W],Bt=n[++W],sn=e.data[Ue];if("string"==typeof sn)gl(t[i.GpT],t[Ue],null,sn,Tt,v,Bt);else{const er=(0,i._px)();(0,i.ypq)(Ue);try{ad(sn,t,Tt,v,t[i.GpT],Bt)}finally{(0,i.ypq)(er)}}break;case 0:const Bn=t[Ue];null!==Bn&&Eh(t[i.GpT],Bn,v);break;case 2:YT(e,gc(e,Ue),t,v);break;case 3:l_(e,gc(e,Ue),r,t)}}}}else{const v=n[s+1];if(v>0&&!(3&~v)){const te=gc(e,v>>>2);t[te.currentCaseLViewIndex]<0&&l_(e,te,r,t)}}s+=f}}function l_(e,t,n,r){let o=r[t.currentCaseLViewIndex];if(null!==o){let s=xc;o<0&&(o=r[t.currentCaseLViewIndex]=~o,s=-1),c_(e,r,t.update[o],n,s)}}function YT(e,t,n,r){const o=function ZT(e,t){let n=e.cases.indexOf(t);if(-1===n)switch(e.type){case 1:{const r=function HT(e,t){const n=r_(t)(parseInt(e,10)),r=WT[n];return void 0!==r?r:"other"}(t,function $T(){return o_}());n=e.cases.indexOf(r),-1===n&&"other"!==r&&(n=e.cases.indexOf("other"));break}case 0:n=e.cases.indexOf("other")}return-1===n?null:n}(t,r);if(Tl(t,n)!==o&&(u_(e,t,n),n[t.currentCaseLViewIndex]=null===o?null:~o,null!==o)
vendor: 4,469 bytes, line 1
1){const l=n[t.anchorIdx];l&&a_(e,t.create[o],n,l)}}function u_(e,t,n){let r=Tl(t,n);if(null!==r){const o=t.remove[r];for(let s=0;s<o.length;s++){const l=o[s];if(l>0){const f=(0,i.vaC)(l,n);null!==f&&nc(n[i.GpT],f)}else u_(e,gc(e,~l),n)}}}const ql=/\ufffd(\d+):?\d*\ufffd/gi,JT=/({\s*\ufffd\d+:?\d*\ufffd\s*,\s*\S{6}\s*,[\s\S]*})/gi,qT=/\ufffd(\d+)\ufffd/,f_=/^\s*(\ufffd\d+:?\d*\ufffd)\s*,\s*(select|plural)\s*,/,eM=/\ufffd\/?\*(\d+:\d+)\ufffd/gi,tM=/\ufffd(\/?[#*]\d+):?\d*\ufffd/gi,nM=/\uE500/g;function h_(e,t,n,r,o,s,l){const f=ic(e,r,1,null);let v=f<<Qo.SHIFT,W=(0,i.Ab)();t===W&&(W=null),null===W&&(v|=Qo.APPEND_EAGERLY),l&&(v|=Qo.COMMENT,function uE(e){void 0===Vu&&(Vu=e())}(Sb)),o.push(v,null===s?"":s);const te=md(e,f,l?32:1,null===s?"":s,null);wp(n,te);const Ue=te.index;return(0,i.iMd)(te,!1),null!==W&&t!==W&&function Mb(e,t){let n=e.insertBeforeIndex;null===n?(ap(Sp,Op),n=e.insertBeforeIndex=[null,t]):((0,i.Xln)(Array.isArray(n),!0,"Expecting array here"),n.push(t))}(W,Ue),te}function oM(e,t,n,r,o,s,l,f){const v=f.match(ql),te=h_(t,n,r,l,o,v?null:f,!1).index;v&&eu(s,f,te,null,0,null),e.push({kind:0,index:te})}function eu(e,t,n,r,o,s){const l=e.length,f=l+1;e.push(null,null);const v=l+2,W=t.split(ql);let te=0;for(let Ue=0;Ue<W.length;Ue++){const Tt=W[Ue];if(1&Ue){const Bt=o+parseInt(Tt,10);e.push(-1-Bt),te|=p_(Bt)}else""!==Tt&&e.push(Tt)}return e.push(n<<2|(r?1:0)),r&&e.push(r,s),e[l]=te,e[f]=e.length-v,te}function aM(e){let t=0;for(let n=0;n<e.length;n++){const r=e[n];"number"==typeof r&&r<0&&t++}return t}function p_(e){return 1<<Math.min(e,31)}function g_(e){let t,s,n="",r=0,o=!1;for(;null!==(t=eM.exec(e));)o?t[0]===`\ufffd/*${s}\ufffd`&&(r=t.index,o=!1):(n+=e.substring(r,t.index+t[0].length),s=t[1],o=!0);return n+=e.slice(r),n}function m_(e,t,n,r,o,s,l){let f=0;const v={type:s.type,currentCaseLViewIndex:ic(t,n,1,null),anchorIdx:l,cases:[],create:[],remove:[],update:[]};(function fM(e,t,n){e.push(p_(t.mainBinding),2,-1-t.mainBinding,n<<2|2)})(r,s,l),function Tb(e,t,n){const r=e.data[t];null===r?e.data[t]=n:r.value=n}(t,l,v);const W=s.values,te=[];for(let Ue=0;Ue<W.length;Ue++){const Tt=W[Ue],Bt=[];for(let Bn=0;Bn<Tt.length;Bn++){const er=Tt[Bn];if("string"!=typeof er){const pr=Bt.push(er)-1;Tt[Bn]=`\x3c!--\ufffd${pr}\ufffd--\x3e`}}const sn=[];te.push(sn),f=uM(sn,t,v,n,r,o,s.cases[Ue],Tt.join(""),Bt)|f}f&&function hM(e,t,n){e.push(t,1,n<<2|3)}(r,f,l),e.push({kind:3,index:l,cases:te,currentCaseLViewIndex:v.currentCaseLViewIndex})}function lM(e){const t=[],n=[];let r=1,o=0;const s=wf(e=e.replace(f_,function(l,f,v){return r="select"===v?0:1,o=parseInt(f.slice(1),10),""}));for(let l=0;l<s.length;){let f=s[l++].trim();1===r&&(f=f.replace(/\s*(?:=)?(\w+)\s*/,"$1")),f.length&&t.push(f);const v=wf(s[l++]);t.length>n.length&&n.push(v)}return{type:r,mainBinding:o,cases:t,values:n}}function wf(e){if(!e)return[];let t=0;const n=[],r=[],o=/[{}]/g;let s;for(o.lastIndex=0;s=o.exec(e);){const f=s.index;if("}"==s[0]){if(n.pop(),0==n.length){const v=e.substring(t,f);f_.test(v)?r.push(lM(v)):r.push(v),t=f+1}}else{if(0==n.length){const v=e.substring(t,f);r.push(v),t=f+1}n.push("{")}}const l=e.substring(t);return r.push(l),r}function uM(e,t,n,r,o,s,l,f,v){const W=[],te=[],Ue=[];n.cases.push(l),n.create.push(W),n.remove.push(te),n.update.push(Ue);const Bt=uh(mr()).getInertBodyElement(f),sn=ku(Bt)||Bt;return sn?__(e,t,n,r,o,W,te,Ue,sn,s,v,0):0}function __(e,t,n,r,o,s,l,f,v,W,te,Ue){let Tt=0,Bt=v.firstChild;for(;Bt;){const sn=ic(t,r,1,null);switch(Bt.nodeType){case Node.ELEMENT_NODE:const Bn=Bt,er=Bn.tagName.toLowerCase();if(Pu.hasOwnProperty(er)){Pf(s,Zl,er,W,sn),t.data[sn]=er;const mo=Bn.attributes;for(let Cs=0;Cs<mo.length;Cs++){const la=mo.item(Cs),lu=la.name.toLowerCase(),uA=!!la.value.match(ql),uy=Bn.namespaceURI,dy=uy&&Yc[uy],fy=dy?`:${dy}:${er}`:er;if(uA)Ru.hasOwnProperty(lu)&&eu(f,la.value,sn,la.name,0,Rf(lu,fy));else if(Ru[lu]){let dA=la.value;Rf(lu,fy)?y_(s,sn,la.name,"unsafe:blocked"):y_(s,sn,la.name,dA)}}const vi={kind:1,index:sn,children:[]};e.push(vi),Tt=__(vi.children,t,n,r,o,s,l,f,Bt,sn,te,Ue+1)|Tt,v_(l,sn,Ue)}break;case Node.TEXT_NODE:const pr=Bt.textContent||"",Ln=pr.match(ql);Pf(s,null,Ln?"":pr,W,sn),v_(l,sn,Ue),Ln&&(Tt=eu(f,pr,sn,null,0,null)|Tt),e.push({kind:0,index:sn});break;case Node.COMMENT_NODE:const jr=qT.exec(Bt.textContent||"");if(jr){const vi=te[parseInt(jr[1],10)];Pf(s,Jl,"",W,sn),m_(e,t,r,o,W,vi,sn),dM(l,sn,Ue)}}Bt=Bt.nextSibling}return Tt}function v_(e,t,n){0===n&&e.push(t)}
vendor: 5,283 bytes, line 1
1function dM(e,t,n){0===n&&(e.push(~t),e.push(t))}function Pf(e,t,n,r,o){null!==t&&e.push(t),e.push(n,o,function Ab(e,t,n){return e|t<<17|n<<1}(0,r,o))}function y_(e,t,n,r){e.push(t<<1|1,n,r)}function Rf(e,t){const n=e.toLowerCase(),r=t?function pM(e){const t=e.toLowerCase(),[n,r]=Lu(t,!1);return"svg"===n||"math"===n?`:${n}:${r}`:r}(t):"*",[o]=Lu(r,!1),s=(0,i.rwo)();switch(s[`${r}|${n}`]||(o?s[`:${o}:*|${n}`]:void 0)||s[`*|${n}`]||i.WPN.NONE){case i.WPN.HTML:return Fu;case i.WPN.STYLE:return Mh;case i.WPN.SCRIPT:return Ih;case i.WPN.URL:return Jc;case i.WPN.RESOURCE_URL:return tl;case i.WPN.ATTRIBUTE_NO_BINDING:return wh;default:return null}}const gM=/\[(\ufffd.+?\ufffd?)\]/,mM=/\[(\ufffd.+?\ufffd?)\]|(\ufffd\/?\*\d+:\d+\ufffd)/g,_M=/({\s*)(VAR_(PLURAL|SELECT)(_\d+)?)(\s*,)/g,vM=/{([A-Z0-9_]+)}/g,yM=/\ufffdI18N_EXP_(ICU(_\d+)?)\ufffd/g,EM=/\/\*/,bM=/\d+\:(\d+)/;function b_(e,t,n=-1){const r=(0,i.klJ)(),o=(0,i.OAn)(),s=i.Yw1+e,l=(0,i.db4)(r.consts,t),f=(0,i.Ab)();r.firstCreatePass&&function iM(e,t,n,r,o,s){const l=(0,i.Ab)(),f=[],v=[],W=[[]],te=[[]];o=function cM(e,t){if(function Np(e){return-1===e}(t))return g_(e);{const n=e.indexOf(`:${t}\ufffd`)+2+t.toString().length,r=e.search(new RegExp(`\ufffd\\/\\*\\d+:${t}\ufffd`));return g_(e.substring(n,r))}}(o,s);const Ue=function rM(e){return e.replace(nM," ")}(o).split(tM);for(let Tt=0;Tt<Ue.length;Tt++){let Bt=Ue[Tt];if(1&Tt){const sn=47===Bt.charCodeAt(0),Bn=Bt.charCodeAt(sn?1:0),er=i.Yw1+Number.parseInt(Bt.substring(sn?2:1));if(sn)W.shift(),te.shift(),(0,i.iMd)((0,i.Ab)(),!1);else{const pr=Ib(e,W[0],er);W.unshift([]),(0,i.iMd)(pr,!0);const Ln={kind:2,index:er,children:[],type:35===Bn?0:1};te[0].push(Ln),te.unshift(Ln.children)}}else{const sn=wf(Bt);for(let Bn=0;Bn<sn.length;Bn++){let er=sn[Bn];if(1&Bn){const pr=er;if("object"!=typeof pr)throw new Error(`Unable to parse ICU expression in "${o}" message.`);const jr=h_(e,l,W[0],n,f,"",!0).index;m_(te[0],e,n,v,t,pr,jr)}else""!==er&&oM(te[0],e,l,W[0],f,v,n,er)}}}e.data[r]={create:f,update:v,ast:te[0],parentTNodeIndex:t}}(r,null===f?0:f.index,o,s,l,n),2===r.type?o[i.b5C][i.Wg1]|=32:o[i.Wg1]|=32;const v=r.data[s],te=rp(r,f===o[i.qlT]?null:f,o);(function QT(e,t,n,r){const o=e[i.GpT];for(let s=0;s<t.length;s++){const l=t[s++],W=(l&Qo.APPEND_EAGERLY)===Qo.APPEND_EAGERLY,te=l>>>Qo.SHIFT;let Ue=e[te],Tt=!1;null===Ue&&(Ue=e[te]=Lc(e,0,t[s],(l&Qo.COMMENT)===Qo.COMMENT?Node.COMMENT_NODE:Node.TEXT_NODE),Tt=(0,i.SX7)()),W&&null!==n&&Tt&&Hs(o,n,Ue,r,!1)}})(o,v.create,te,f&&8&f.type?o[f.index]:null),(0,i.xyx)(!0)}function D_(){(0,i.xyx)(!1)}function kf(e,t,n){const r=(0,i.OAn)(),o=(0,i.klJ)(),s=(0,i.Mx4)();return Nf(o,r,r[i.GpT],s,e,t,n),kf}function xf(e,t,n){const r=(0,i.OAn)(),o=(0,i.klJ)(),s=(0,i.Mx4)();return(3&s.type||n)&&Od(s,o,r,n,r[i.GpT],e,t,Rs(s,r,t)),xf}function Nf(e,t,n,r,o,s,l){let f=!0,v=null;if((3&r.type||l)&&(v??=Rs(r,t,s),Od(r,e,t,l,n,o,s,v)&&(f=!1)),f){const W=r.outputs?.[o],te=r.hostDirectiveOutputs?.[o];if(te&&te.length)for(let Ue=0;Ue<te.length;Ue+=2){const Tt=te[Ue],Bt=te[Ue+1];v??=Rs(r,t,s),wa(r,t,Tt,Bt,o,v)}if(W&&W.length)for(const Ue of W)v??=Rs(r,t,s),wa(r,t,Ue,o,o,v)}}function M_(e=1){return(0,i.jvu)(e)}function AM(e,t){let n=null;const r=function tE(e){const t=e.attrs;if(null!=t){const n=t.indexOf(5);if(!(1&n))return t[n+1]}return null}(e);for(let o=0;o<t.length;o++){const s=t[o];if("*"!==s){if(null===r?Bh(e,s,!0):iE(r,s))return o}else n=o}return n}function I_(e){const t=(0,i.OAn)()[i.b5C][i.qlT];if(!t.projection){const r=t.projection=(0,i.WfI)(e?e.length:1,null),o=r.slice();let s=t.child;for(;null!==s;){if(128!==s.type){const l=e?AM(s,e):0;null!==l&&(o[l]?o[l].projectionNext=s:r[l]=s,o[l]=s)}s=s.next}}}function A_(e,t=0,n,r,o,s){const l=(0,i.OAn)(),f=(0,i.klJ)(),v=r?e+1:null;null!==v&&na(l,f,v,r,o,s,null,n);const W=Ys(f,i.Yw1+e,16,null,n||null);null===W.projection&&(W.projection=t),(0,i.Pfq)();const Ue=!l[i.tcA]||(0,i.KtD)();null===l[i.b5C][i.qlT].projection[W.projection]&&null!==v?function SM(e,t,n){const r=i.Yw1+n,o=t.data[r],s=e[r];Ma(s,Ca(e,o,void 0,{dehydratedView:null}),0,Qs(o,null))}(l,f,v):Ue&&!T(W)&&function xE(e,t,n){lp(t[i.GpT],0,t,n,nd(e,n,t),ip(n.parent||t[i.qlT],n,t))}(f,l,W)}function Lf(e,t,n,r){return Ig(e,t,n,r),Lf}function Ff(e,t,n){return Mg(e,t,n),Ff}function S_(e){const t=(0,i.OAn)(),n=(0,i.klJ)(),r=(0,i.w7Z)();(0,i.GA0)(r+1);const o=Ud(n,r);if(e.dirty&&(0,i.vOT)(t)===!(2&~o.metadata.flags)){if(null===o.matches)e.reset([]);else{const s=Sg(t,r);e.reset(s,Mi),e.notifyOnChanges()}return!0}return!1}function O_(){return jd((0,i.OAn)(),(0,i.w7Z)())}function Bf(e,t,n,r){return Og(e,Mg(t,n,r)),Bf}function P_(e=1){(0,i.GA0)((0,i.w7Z)()+e)}function R_(e){const t=(0,i.VPL)();return(0,i.Hh6)(t,i.Yw1+e)}function tu(e,t){return e<<17|t<<2}function aa(e){return e>>17&32767}function jf(e){return 2|e}function ja(e){return(131068&e)>>2}function Uf(e,t){return-131069&e|t<<2}function Wf(e){return 1|e}function k_(e,t,n,r){const o=e[n+1],s=null===t;let l=r?aa(o):ja(o),f=!1;for(;0!==l&&(!1===f||s);){const W=e[l+1];xM(e[l],t)&&(f=!0,e[l+1]=r?Wf(W):jf(W)),l=r?aa(W):ja(W)}f&&(e[n+1]=r?jf(o):Wf(o))}function xM(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&(0,i.FRF)(e,t)>=0}const Ji={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0}
vendor: 4,440 bytes, line 1
1;function x_(e){return e.substring(Ji.key,Ji.keyEnd)}function NM(e){return e.substring(Ji.value,Ji.valueEnd)}function N_(e,t){const n=Ji.textEnd;return n===t?-1:(t=Ji.keyEnd=function BM(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}(e,Ji.key=t,n),Ua(e,t,n))}function L_(e,t){const n=Ji.textEnd;let r=Ji.key=Ua(e,t,n);return n===r?-1:(r=Ji.keyEnd=function jM(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=B_(e,r,n),r=Ji.value=Ua(e,r,n),r=Ji.valueEnd=function UM(e,t,n){let r=-1,o=-1,s=-1,l=t,f=l;for(;l<n;){const v=e.charCodeAt(l++);if(59===v)return f;34===v||39===v?f=l=j_(e,v,l,n):t===l-4&&85===s&&82===o&&76===r&&40===v?f=l=j_(e,41,l,n):v>32&&(f=l),s=o,o=r,r=-33&v}return f}(e,r,n),B_(e,r,n))}function F_(e){Ji.key=0,Ji.keyEnd=0,Ji.value=0,Ji.valueEnd=0,Ji.textEnd=e.length}function Ua(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function B_(e,t,n,r){return(t=Ua(e,t,n))<n&&t++,t}function j_(e,t,n,r){let o=-1,s=n;for(;s<r;){const l=e.charCodeAt(s++);if(l==t&&92!==o)return s;o=92==l&&92===o?0:l}throw new Error}function Hf(e,t,n){return W_(e,t,n,!1),Hf}function Vf(e,t){return W_(e,t,null,!0),Vf}function HM(e,t){for(let n=function FM(e){return F_(e),L_(e,Ua(e,0,Ji.textEnd))}(t);n>=0;n=L_(t,n))$_(e,x_(t),NM(t))}function U_(e){H_(QM,VM,e,!0)}function VM(e,t){for(let n=function LM(e){return F_(e),N_(e,Ua(e,0,Ji.textEnd))}(t);n>=0;n=N_(t,n))(0,i.ezK)(e,x_(t),!0)}function W_(e,t,n,r){const o=(0,i.OAn)(),s=(0,i.klJ)(),l=(0,i.b$O)(2);s.firstUpdatePass&&K_(s,e,l,r),t!==Yr&&pi(o,l,t)&&z_(s,s.data[(0,i._px)()],o,o[i.GpT],e,o[l+1]=function ZM(e,t){return null==e||""===e||("string"==typeof t?e+=t:"object"==typeof e&&(e=(0,i.AsM)(Br(e)))),e}(t,n),r,l)}function H_(e,t,n,r){const o=(0,i.klJ)(),s=(0,i.b$O)(2);o.firstUpdatePass&&K_(o,null,s,r);const l=(0,i.OAn)();if(n!==Yr&&pi(l,s,n)){const f=o.data[(0,i._px)()];if(X_(f,r)&&!V_(o,s)){let v=r?f.classesWithoutHost:f.stylesWithoutHost;null!==v&&(n=(0,i.n$e)(v,n||"")),Ef(o,f,l,n,r)}else!function YM(e,t,n,r,o,s,l,f){o===Yr&&(o=i.Mlv);let v=0,W=0,te=0<o.length?o[0]:null,Ue=0<s.length?s[0]:null;for(;null!==te||null!==Ue;){const Tt=v<o.length?o[v+1]:void 0,Bt=W<s.length?s[W+1]:void 0;let Bn,sn=null;te===Ue?(v+=2,W+=2,Tt!==Bt&&(sn=Ue,Bn=Bt)):null===Ue||null!==te&&te<Ue?(v+=2,sn=te):(W+=2,sn=Ue,Bn=Bt),null!==sn&&z_(e,t,n,r,sn,Bn,l,f),te=v<o.length?o[v]:null,Ue=W<s.length?s[W]:null}}(o,f,l,l[i.GpT],l[s+1],l[s+1]=function XM(e,t,n){if(null==n||""===n)return i.Mlv;const r=[],o=Br(n);if(Array.isArray(o))for(let s=0;s<o.length;s++)e(r,o[s],!0);else if(o instanceof Set)for(const s of o)e(r,s,!0);else if("object"==typeof o)for(const s in o)o.hasOwnProperty(s)&&e(r,s,o[s]);else"string"==typeof o&&t(r,o);return r}(e,t,n),r,s)}}function V_(e,t){return t>=e.expandoStartIndex}function K_(e,t,n,r){const o=e.data;if(null===o[n+1]){const s=o[(0,i._px)()],l=V_(e,n);X_(s,r)&&null===t&&!l&&(t=!1),t=function KM(e,t,n,r){const o=(0,i.MT)(e);let s=r?t.residualClasses:t.residualStyles;if(null===o)0===(r?t.classBindings:t.styleBindings)&&(n=Bc(n=Kf(null,e,t,n,r),t.attrs,r),s=null);else{const l=t.directiveStylingLast;if(-1===l||e[l]!==o)if(n=Kf(o,e,t,n,r),null===s){let v=function $M(e,t,n){const r=n?t.classBindings:t.styleBindings;if(0!==ja(r))return e[aa(r)]}(e,t,r);void 0!==v&&Array.isArray(v)&&(v=Kf(null,e,t,v[1],r),v=Bc(v,t.attrs,r),function zM(e,t,n,r){e[aa(n?t.classBindings:t.styleBindings)]=r}(e,t,r,v))}else s=function GM(e,t,n){let r;const o=t.directiveEnd;for(let s=1+t.directiveStylingLast;s<o;s++)r=Bc(r,e[s].hostAttrs,n);return Bc(r,t.attrs,n)}(e,t,r)}return void 0!==s&&(r?t.residualClasses=s:t.residualStyles=s),n}(o,s,t,r),function RM(e,t,n,r,o,s){let l=s?t.classBindings:t.styleBindings,f=aa(l),v=ja(l);e[r]=n;let te,W=!1;if(Array.isArray(n)?(te=n[1],(null===te||(0,i.FRF)(n,te)>0)&&(W=!0)):te=n,o)if(0!==v){const Tt=aa(e[f+1]);e[r+1]=tu(Tt,f),0!==Tt&&(e[Tt+1]=Uf(e[Tt+1],r)),e[f+1]=function wM(e,t){return 131071&e|t<<17}(e[f+1],r)}else e[r+1]=tu(f,0),0!==f&&(e[f+1]=Uf(e[f+1],r)),f=r;else e[r+1]=tu(v,0),0===f?f=r:e[v+1]=Uf(e[v+1],r),v=r;W&&(e[r+1]=jf(e[r+1])),k_(e,te,r,!0),k_(e,te,r,!1),function kM(e,t,n,r,o){const s=o?e.residualClasses:e.residualStyles;null!=s&&"string"==typeof t&&(0,i.FRF)(s,t)>=0&&(n[r+1]=Wf(n[r+1]))}(t,te,e,r,s),l=tu(f,v),s?t.classBindings=l:t.styleBindings=l}(o,s,t,n,l,r)}}function Kf(e,t,n,r,o){let s=null;const l=n.directiveEnd;let f=n.directiveStylingLast;
vendor: 10,887 bytes, line 1
1for(-1===f?f=n.directiveStart:f++;f<l&&(s=t[f],r=Bc(r,s.hostAttrs,o),s!==e);)f++;return null!==e&&(n.directiveStylingLast=f),r}function Bc(e,t,n){const r=n?1:2;let o=-1;if(null!==t)for(let s=0;s<t.length;s++){const l=t[s];"number"==typeof l?o=l:o===r&&(Array.isArray(e)||(e=void 0===e?[]:["",e]),(0,i.ezK)(e,l,!!n||t[++s]))}return void 0===e?null:e}function $_(e,t,n){(0,i.ezK)(e,t,Br(n))}function QM(e,t,n){const r=String(t);""!==r&&!r.includes(" ")&&(0,i.ezK)(e,r,n)}function z_(e,t,n,r,o,s,l,f){if(!(3&t.type))return;const v=e.data,W=v[f+1],te=function PM(e){return!(1&~e)}(W)?G_(v,t,n,o,ja(W),l):void 0;nu(te)||(nu(s)||function OM(e){return!(2&~e)}(W)&&(s=G_(v,null,n,o,f,l)),function LE(e,t,n,r,o){if(t)o?e.addClass(n,r):e.removeClass(n,r);else{let s=-1===r.indexOf("-")?void 0:ol.DashCase;null==o?e.removeStyle(n,r,s):("string"==typeof o&&o.endsWith("!important")&&(o=o.slice(0,-10),s|=ol.Important),e.setStyle(n,r,o,s))}}(r,l,(0,i.vaC)((0,i._px)(),n),o,s))}function G_(e,t,n,r,o,s){const l=null===t;let f;for(;o>0;){const v=e[o],W=Array.isArray(v),te=W?v[1]:v,Ue=null===te;let Tt=n[o+1];Tt===Yr&&(Tt=Ue?i.Mlv:void 0);let Bt=Ue?(0,i.K7h)(Tt,r):te===r?Tt:void 0;if(W&&!nu(Bt)&&(Bt=(0,i.K7h)(v,r)),nu(Bt)&&(f=Bt,l))return f;const sn=e[o+1];o=l?aa(sn):ja(sn)}if(null!==t){let v=s?t.residualClasses:t.residualStyles;null!=v&&(f=(0,i.K7h)(v,r))}return f}function nu(e){return void 0!==e}function X_(e,t){return!!(e.flags&(t?8:16))}function Q_(e,t=""){const n=(0,i.OAn)(),r=(0,i.klJ)(),o=e+i.Yw1,s=r.firstCreatePass?Ys(r,o,1,t,null):r.data[o],l=Y_(r,n,s,t);n[o]=l,(0,i.SX7)()&&id(r,n,l,s),(0,i.iMd)(s,!1)}let Y_=(e,t,n,r)=>((0,i.m7n)(!0),xu(t[i.GpT],r));function Z_(e,t){let n=!1,r=(0,i.c$7)();for(let s=1;s<t.length;s+=2)n=pi(e,r++,t[s])||n;if((0,i.Kw3)(r),!n)return Yr;let o=t[0];for(let s=1;s<t.length;s+=2)o+=(0,i.eFE)(t[s])+(s+1!==t.length?t[s+1]:"");return o}function J_(e,t,n,r=""){return pi(e,(0,i.xbp)(),n)?t+(0,i.eFE)(n)+r:Yr}function q_(e,t,n,r,o,s=""){const f=qs(e,(0,i.c$7)(),n,o);return(0,i.b$O)(2),f?t+(0,i.eFE)(n)+r+(0,i.eFE)(o)+s:Yr}function ev(e,t,n,r,o,s,l,f=""){const W=Pl(e,(0,i.c$7)(),n,o,l);return(0,i.b$O)(3),W?t+(0,i.eFE)(n)+r+(0,i.eFE)(o)+s+(0,i.eFE)(l)+f:Yr}function tv(e,t,n,r,o,s,l,f,v,W=""){const Ue=as(e,(0,i.c$7)(),n,o,l,v);return(0,i.b$O)(4),Ue?t+(0,i.eFE)(n)+r+(0,i.eFE)(o)+s+(0,i.eFE)(l)+f+(0,i.eFE)(v)+W:Yr}function nv(e,t,n,r,o,s,l,f,v,W,te,Ue=""){const Tt=(0,i.c$7)();let Bt=as(e,Tt,n,o,l,v);return Bt=pi(e,Tt+4,te)||Bt,(0,i.b$O)(5),Bt?t+(0,i.eFE)(n)+r+(0,i.eFE)(o)+s+(0,i.eFE)(l)+f+(0,i.eFE)(v)+W+(0,i.eFE)(te)+Ue:Yr}function rv(e,t,n,r,o,s,l,f,v,W,te,Ue,Tt,Bt=""){const sn=(0,i.c$7)();let Bn=as(e,sn,n,o,l,v);return Bn=qs(e,sn+4,te,Tt)||Bn,(0,i.b$O)(6),Bn?t+(0,i.eFE)(n)+r+(0,i.eFE)(o)+s+(0,i.eFE)(l)+f+(0,i.eFE)(v)+W+(0,i.eFE)(te)+Ue+(0,i.eFE)(Tt)+Bt:Yr}function iv(e,t,n,r,o,s,l,f,v,W,te,Ue,Tt,Bt,sn,Bn=""){const er=(0,i.c$7)();let pr=as(e,er,n,o,l,v);return pr=Pl(e,er+4,te,Tt,sn)||pr,(0,i.b$O)(7),pr?t+(0,i.eFE)(n)+r+(0,i.eFE)(o)+s+(0,i.eFE)(l)+f+(0,i.eFE)(v)+W+(0,i.eFE)(te)+Ue+(0,i.eFE)(Tt)+Bt+(0,i.eFE)(sn)+Bn:Yr}function ov(e,t,n,r,o,s,l,f,v,W,te,Ue,Tt,Bt,sn,Bn,er,pr=""){const Ln=(0,i.c$7)();let jr=as(e,Ln,n,o,l,v);return jr=as(e,Ln+4,te,Tt,sn,er)||jr,(0,i.b$O)(8),jr?t+(0,i.eFE)(n)+r+(0,i.eFE)(o)+s+(0,i.eFE)(l)+f+(0,i.eFE)(v)+W+(0,i.eFE)(te)+Ue+(0,i.eFE)(Tt)+Bt+(0,i.eFE)(sn)+Bn+(0,i.eFE)(er)+pr:Yr}function $f(e){return ru("",e),$f}function ru(e,t,n){const r=(0,i.OAn)(),o=J_(r,e,t,n);return o!==Yr&&Ds(r,(0,i._px)(),o),ru}function zf(e,t,n,r,o){const s=(0,i.OAn)(),l=q_(s,e,t,n,r,o);return l!==Yr&&Ds(s,(0,i._px)(),l),zf}function Ds(e,t,n){const r=(0,i.vaC)(t,e);Eh(e[i.GpT],r,n)}const gv={};function Gf(e){po("NgLet");const t=(0,i.klJ)(),n=(0,i.OAn)(),r=e+i.Yw1,o=Ys(t,r,128,null,null);return(0,i.iMd)(o,!1),(0,i.M_e)(t,n,r,gv),Gf}function mv(e){const t=(0,i.klJ)(),n=(0,i.OAn)(),r=(0,i._px)();return(0,i.M_e)(t,n,r,e),e}function _v(e){const t=(0,i.VPL)(),n=(0,i.Hh6)(t,i.Yw1+e);if(n===gv)throw new i.buA(314,!1);return n}function vv(e){return pi((0,i.OAn)(),(0,i.xbp)(),e)?(0,i.eFE)(e):Yr}function yv(e,t,n){const r=(0,i.klJ)();r.firstCreatePass&&Ev(t,r.data,r.blueprint,(0,i.JlV)(e),n)}function Ev(e,t,n,r,o){if(e=(0,i.nl4)(e),Array.isArray(e))for(let s=0;s<e.length;s++)Ev(e[s],t,n,r,o);else{const s=(0,i.klJ)(),l=(0,i.OAn)(),f=(0,i.Mx4)();let v=(0,i.Y3W)(e)?e:(0,i.nl4)(e.provide);const W=(0,i.Rc9)(e),te=1048575&f.providerIndexes,Ue=f.directiveStart,Tt=f.providerIndexes>>20;if((0,i.Y3W)(e)||!e.multi){const Bt=new ee(W,o,Sa,null),sn=Qf(v,t,o?te:te+Tt,Ue);-1===sn?(Fn(Dn(f,l),s,v),Xf(s,e,t.length),t.push(v),f.directiveStart++,f.directiveEnd++,o&&(f.providerIndexes+=1048576),n.push(Bt),l.push(Bt)):(n[sn]=Bt,l[sn]=Bt)}else{const Bt=Qf(v,t,te+Tt,Ue),sn=Qf(v,t,te,te+Tt),er=sn>=0&&n[sn];if(o&&!er||!o&&!(Bt>=0&&n[Bt])){Fn(Dn(f,l),s,v);const pr=function hI(e,t,n,r,o){const l=new ee(e,n,Sa,null);return l.multi=[],l.index=t,l.componentProviders=0,bv(l,o,r&&!n),l}(o?fI:dI,n.length,o,r,W);!o&&er&&(n[sn].providerFactory=pr),Xf(s,e,t.length,0),t.push(v),f.directiveStart++,f.directiveEnd++,o&&(f.providerIndexes+=1048576),n.push(pr),l.push(pr)}else Xf(s,e,Bt>-1?Bt:sn,bv(n[o?sn:Bt],W,!o&&r));!o&&r&&er&&n[sn].componentProviders++}}}function Xf(e,t,n,r){const o=(0,i.Y3W)(t),s=(0,i.MME)(t);if(o||s){const v=(s?(0,i.nl4)(t.useClass):t).prototype.ngOnDestroy;if(v){const W=e.destroyHooks||(e.destroyHooks=[]);if(!o&&t.multi){const te=W.indexOf(n);-1===te?W.push(n,[r,v]):W[te+1].push(r,v)}else W.push(n,v)}}}function bv(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function Qf(e,t,n,r){for(let o=n;o<r;o++)if(t[o]===e)return o;return-1}function dI(e,t,n,r,o){return Yf(this.multi,[])}function fI(e,t,n,r,o){const s=this.multi;let l;if(this.providerFactory){const f=this.providerFactory.componentProviders,v=he(r,r[i.eDl],this.providerFactory.index,o);l=v.slice(0,f),Yf(s,l);for(let W=f;W<v.length;W++)l.push(v[W])}else l=[],Yf(s,l);return l}function Yf(e,t){for(let n=0;n<e.length;n++)t.push((0,e[n])());return t}function Dv(e,t){return n=>{n.providersResolver=(r,o)=>yv(r,o?o(e):e,!1),t&&(n.viewProvidersResolver=(r,o)=>yv(r,o?o(t):t,!0))}}function iu(e){if("function"==typeof e)return e;const t=(0,i.Bqz)(e);return t.some(i.Jzi)?()=>t.map(i.nl4).map(Cv):t.map(Cv)}function Cv(e){return Td(e)?e.ngModule:e}function Tv(e,t){const n=(0,i.gxQ)()+e,r=(0,i.OAn)();return r[n]===Yr?fs(r,n,t()):Oa(r,n)}function Mv(e,t,n){return Ov((0,i.OAn)(),(0,i.gxQ)(),e,t,n)}function Iv(e,t,n,r){return wv((0,i.OAn)(),(0,i.gxQ)(),e,t,n,r)}function Av(e,t,n,r,o){return Pv((0,i.OAn)(),(0,i.gxQ)(),e,t,n,r,o)}function Sv(e,t,n,r,o,s,l){return Rv((0,i.OAn)(),(0,i.gxQ)(),e,t,n,r,o,s)}function jc(e,t){const n=e[t];return n===Yr?void 0:n}function Ov(e,t,n,r,o,s){const l=t+n;return pi(e,l,o)?fs(e,l+1,s?r.call(s,o):r(o)):jc(e,l+1)}function wv(e,t,n,r,o,s,l){const f=t+n;return qs(e,f,o,s)?fs(e,f+2,l?r.call(l,o,s):r(o,s)):jc(e,f+2)}function Pv(e,t,n,r,o,s,l,f){const v=t+n;return Pl(e,v,o,s,l)?fs(e,v+3,f?r.call(f,o,s,l):r(o,s,l)):jc(e,v+3)}function Rv(e,t,n,r,o,s,l,f,v){const W=t+n;return as(e,W,o,s,l,f)?fs(e,W+4,v?r.call(v,o,s,l,f):r(o,s,l,f)):jc(e,W+4)}function kv(e,t,n,r,o,s){let l=t+n,f=!1;for(let v=0;v<o.length;v++)pi(e,l++,o[v])&&(f=!0);return f?fs(e,l,r.apply(s,o)):jc(e,l)}function xv(e,t){const n=(0,i.klJ)();let r;const o=e+i.Yw1;n.firstCreatePass?(r=function DI(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[o]=r,r.onDestroy&&(n.destroyHooks??=[]).push(o,r.onDestroy)):r=n.data[o];const s=r.factory||(r.factory=(0,i.wGu)(r.type,!0)),f=(0,i.a2B)(Sa);try{const v=tr(!1),W=s();return tr(v),(0,i.M_e)(n,(0,i.OAn)(),o,W),W}finally{(0,i.a2B)(f)}}function Nv(e,t,n){const r=e+i.Yw1,o=(0,i.OAn)(),s=(0,i.Hh6)(o,r);return Uc(o,r)?Ov(o,(0,i.gxQ)(),t,s.transform,n,s):s.transform(n)}function Lv(e,t,n,r){const o=e+i.Yw1,s=(0,i.OAn)(),l=(0,i.Hh6)(s,o);return Uc(s,o)?wv(s,(0,i.gxQ)(),t,l.transform,n,r,l):l.transform(n,r)}function Fv(e,t,n,r,o){const s=e+i.Yw1,l=(0,i.OAn)(),f=(0,i.Hh6)(l,s);return Uc(l,s)?Pv(l,(0,i.gxQ)(),t,f.transform,n,r,o,f):f.transform(n,r,o)}function Uc(e,t){return e[i.eDl].data[t].pure}function Bv(e,t){return Dl(e,t)}function ou(e,t,n,r,o){const s=o[i.eDl];if(s!==r.tView)for(let l=i.Yw1;l<s.bindingStartIndex;l++){const f=o[l];if((0,i.A0l)(f)){(0,i.q$2)(f[i.jgP])&&ou(e,t,n,r,f[i.jgP]);for(let v=i.Y20;v<f.length;v++)ou(e,t,n,r,f[v])}else(0,i.q$2)(f)&&ou(e,t,n,r,f)}else!function PI(e,t,n,r,o){const s=o[i.SKP];let l=o[i.jgP];const f=o[i.f7T],v=o[i.qlT],W=o[i.YEL].get(i.SKi,null),te=()=>{if(r.encapsulation===so.ShadowDom||r.encapsulation===so.ExperimentalIsolatedShadowDom){const sn=l.cloneNode(!1);l.replaceWith(sn),l=sn}const Ue=Uh(n),Tt=rl(f,Ue,s,Wu(n),l,v,null,null,null,null,null);(function RI(e,t,n,r){for(let o=i.Yw1;o<e[i.eDl].bindingStartIndex;o++){const s=e[o];if(((0,i.q$2)(s)||(0,i.A0l)(s))&&s[i.K29]===t){s[i.K29]=n;break}}e[i.EJG]===t&&(e[i.EJG]=n),e[i.Yrj]===t&&(e[i.Yrj]=n),n[i.K29]=t[i.K29],t[i.K29]=null,e[r]=n})(f,o,Tt,v.index),cc(o[i.eDl],o),vc(o);const Bt=o[i.M0L].rendererFactory;(function wI(e,t){e.componentReplaced?.(t.id)})(Bt,r),Tt[i.GpT]=Bt.createRenderer(l,n),ep(o[i.eDl],o),function kI(e){if(null!==e.projection){for(const t of e.projection)Ke(t)&&(t.projectionNext=null,t.flags&=-3);e.projection=null}}(v),yl(Ue,Tt,s),yp(Ue,Tt,Ue.template,s)};null===W?jv(e,t,te):W.run(()=>jv(e,t,te))}(e,t,n,r,o)}function jv(e,t,n){try{n()}catch(r){if(null!==t&&r.message){const s=r.message+(r.stack?"\n"+r.stack:"");e?.hot?.send?.("angular:invalidate",{id:t,message:s,error:!0})}throw r}}const Ns={\u0275\u0275animateEnter:Oc,\u0275\u0275animateEnterListener:function Vl(e){if(po("NgAnimateEnter"),!Vs)return Vl;const t=(0,i.OAn)();if(sl(t))return Vl;const n=(0,i.Mx4)();return cl(al(t),n,()=>function DT(e,t,n){const r=(0,i.d31)(t,e);n.call(e[i.SKP],{target:r,animationComplete:mE})}(t,n,e)),fl(t[i.YEL]),qu(t[i.YEL],al(t)),Vl},\u0275\u0275animateLeave:wc,\u0275\u0275animateLeaveListener:function gf(e){if(po("NgAnimateLeave"),!Vs)return gf;const t=(0,i.OAn)(),n=(0,i.Mx4)();Gs.add(t[i.ID]);const r=t[i.YEL].get(i.SKi),o=t[i.YEL].get(fE);return cl($s(t),n,()=>function MT(e,t,n,r,o){const{promise:s,resolve:l}=cf(),f=(0,i.d31)(t,e),v=[],W=e[i.GpT],te=sl(e);($s(e).get(t.index).resolvers??=[]).push(l);const Ue=$s(e).get(t.index)?.resolvers;if(te)ll(e,t,f,Ue,v);else{const Tt=setTimeout(()=>ll(e,t,f,Ue,v),o),Bt={target:f,animationComplete:()=>{ll(e,t,f,Ue,v),clearTimeout(Tt)}};Gu(t,f),r.runOutsideAngular(()=>{v.push(W.listen(f,"animationend",()=>{ll(e,t,f,Ue,v),clearTimeout(Tt)},{once:!0}))}),n.call(e[i.SKP],Bt)}return{promise:s,resolve:l}}(t,n,e,r,o)),fl(t[i.YEL]),gf},\u0275\u0275attribute:pf,\u0275\u0275defineComponent:Lg,\u0275\u0275defineDirective:jg,\u0275\u0275defineInjectable:i.jDH,\u0275\u0275defineInjector:i.G2t,\u0275\u0275defineNgModule:Bg,\u0275\u0275definePipe:Ug,\u0275\u0275directiveInject:Sa,\u0275\u0275getIn
vendor: 9,630 bytes, line 1
1heritedFactory:$n,\u0275\u0275inject:i.KVO,\u0275\u0275injectAttribute:Ur,\u0275\u0275invalidFactory:Jp,\u0275\u0275invalidFactoryDep:i.dmw,\u0275\u0275templateRefExtractor:Bv,\u0275\u0275resetView:i.Njj,\u0275\u0275HostDirectivesFeature:Vg,\u0275\u0275NgOnChangesFeature:Mn,\u0275\u0275ControlFeature:function m0(e){return t=>{t.controlDef={create:(n,r)=>{n?.\u0275ngControlCreate(r)},update:(n,r)=>{n?.\u0275ngControlUpdate?.(r)},passThroughInput:e}}},\u0275\u0275ProvidersFeature:Dv,\u0275\u0275InheritDefinitionFeature:Xd,\u0275\u0275ExternalStylesFeature:function pI(e){return t=>{e.length<1||(t.getExternalStyles=n=>e.map(o=>o+"?ngcomp"+(n?"="+encodeURIComponent(n):"")+"&e="+t.encapsulation))}},\u0275\u0275nextContext:M_,\u0275\u0275namespaceHTML:i.joV,\u0275\u0275namespaceMathML:i.By9,\u0275\u0275namespaceSVG:i.qSk,\u0275\u0275enableBindings:i.cSN,\u0275\u0275disableBindings:i.fuf,\u0275\u0275elementStart:Pc,\u0275\u0275elementEnd:zl,\u0275\u0275element:bf,\u0275\u0275elementContainerStart:Ql,\u0275\u0275elementContainerEnd:Rc,\u0275\u0275domElement:Df,\u0275\u0275domElementStart:Gl,\u0275\u0275domElementEnd:Xl,\u0275\u0275domElementContainer:function e_(e,t,n){return Yl(e,t,n),Mf(),e_},\u0275\u0275domElementContainerStart:Yl,\u0275\u0275domElementContainerEnd:Mf,\u0275\u0275domTemplate:Zd,\u0275\u0275domListener:xf,\u0275\u0275elementContainer:Tf,\u0275\u0275pureFunction0:Tv,\u0275\u0275pureFunction1:Mv,\u0275\u0275pureFunction2:Iv,\u0275\u0275pureFunction3:Av,\u0275\u0275pureFunction4:Sv,\u0275\u0275pureFunction5:function _I(e,t,n,r,o,s,l){const f=(0,i.gxQ)()+e,v=(0,i.OAn)(),W=as(v,f,n,r,o,s);return pi(v,f+4,l)||W?fs(v,f+5,t(n,r,o,s,l)):Oa(v,f+5)},\u0275\u0275pureFunction6:function vI(e,t,n,r,o,s,l,f){const v=(0,i.gxQ)()+e,W=(0,i.OAn)(),te=as(W,v,n,r,o,s);return qs(W,v+4,l,f)||te?fs(W,v+6,t(n,r,o,s,l,f)):Oa(W,v+6)},\u0275\u0275pureFunction7:function yI(e,t,n,r,o,s,l,f,v){const W=(0,i.gxQ)()+e,te=(0,i.OAn)();let Ue=as(te,W,n,r,o,s);return Pl(te,W+4,l,f,v)||Ue?fs(te,W+7,t(n,r,o,s,l,f,v)):Oa(te,W+7)},\u0275\u0275pureFunction8:function EI(e,t,n,r,o,s,l,f,v,W){const te=(0,i.gxQ)()+e,Ue=(0,i.OAn)(),Tt=as(Ue,te,n,r,o,s);return as(Ue,te+4,l,f,v,W)||Tt?fs(Ue,te+8,t(n,r,o,s,l,f,v,W)):Oa(Ue,te+8)},\u0275\u0275pureFunctionV:function bI(e,t,n){return kv((0,i.OAn)(),(0,i.gxQ)(),e,t,n)},\u0275\u0275getCurrentView:t_,\u0275\u0275restoreView:i.eBV,\u0275\u0275listener:kf,\u0275\u0275projection:A_,\u0275\u0275syntheticHostProperty:function n_(e,t,n){const r=(0,i.OAn)();if(pi(r,(0,i.xbp)(),t)){const s=(0,i.klJ)(),l=(0,i.CpD)();cd(l,r,e,t,pp((0,i.MT)(s.data),l,r),n)}return n_},\u0275\u0275syntheticHostListener:function T_(e,t){const n=(0,i.Mx4)(),r=(0,i.OAn)(),o=(0,i.klJ)();return Nf(o,r,pp((0,i.MT)(o.data),n,r),n,e,t),T_},\u0275\u0275pipeBind1:Nv,\u0275\u0275pipeBind2:Lv,\u0275\u0275pipeBind3:Fv,\u0275\u0275pipeBind4:function CI(e,t,n,r,o,s){const l=e+i.Yw1,f=(0,i.OAn)(),v=(0,i.Hh6)(f,l);return Uc(f,l)?Rv(f,(0,i.gxQ)(),t,v.transform,n,r,o,s,v):v.transform(n,r,o,s)},\u0275\u0275pipeBindV:function TI(e,t,n){const r=e+i.Yw1,o=(0,i.OAn)(),s=(0,i.Hh6)(o,r);return Uc(o,r)?kv(o,(0,i.gxQ)(),t,s.transform,n,s):s.transform.apply(s,n)},\u0275\u0275projectionDef:I_,\u0275\u0275domProperty:Af,\u0275\u0275ariaProperty:hf,\u0275\u0275property:yf,\u0275\u0275control:function AD(){!function lg(){const e=(0,i.OAn)(),t=(0,i.klJ)(),n=(0,i.CpD)();-1!==n.controlDirectiveIndex&&t.data[n.controlDirectiveIndex].controlDef.update(e[n.controlDirectiveIndex],new ug(e,t,n))}()},\u0275\u0275controlCreate:function ID(){!function cg(){const e=(0,i.OAn)(),t=(0,i.klJ)(),n=(0,i.Mx4)();t.firstCreatePass&&function SD(e,t){for(let o=t.directiveStart;o<t.directiveEnd;o++)if(e.data[o].controlDef){t.controlDirectiveIndex=o;break}if(-1===t.controlDirectiveIndex)return;const r=e.data[t.controlDirectiveIndex].controlDef;r.passThroughInput&&(t.inputs?.[r.passThroughInput]?.length??0)>1?t.flags|=4096:function OD(e,t){for(let n=t.directiveStart;n<t.directiveEnd;n++){const r=e.data[n];if(dg(r,"value"))return t.flags|=1024,void(t.customControlIndex=n);if(dg(r,"checked"))return t.flags|=2048,void(t.customControlIndex=n)}}(e,t)}(t,n),-1!==n.controlDirectiveIndex&&(po("NgSignalForms"),t.data[n.controlDirectiveIndex].controlDef.create(e[n.controlDirectiveIndex],new ug(e,t,n)))}()},\u0275\u0275pipe:xv,\u0275\u0275queryRefresh:S_,\u0275\u0275queryAdvance:P_,\u0275\u0275viewQuery:Ff,\u0275\u0275viewQuerySignal:Bf,\u0275\u0275loadQuery:O_,\u0275\u0275contentQuery:Lf,\u0275\u0275contentQuerySignal:function w_(e,t,n,r,o){return Og(t,Ig(e,n,r,o)),w_},\u0275\u0275reference:R_,\u0275\u0275classMap:U_,\u0275\u0275styleMap:function WM(e){H_($_,HM,e,!1)},\u0275\u0275styleProp:Hf,\u0275\u0275classProp:Vf,\u0275\u0275advance:Wh,\u0275\u0275template:Yd,\u0275\u0275conditional:Qm,\u0275\u0275conditionalCreate:Xm,\u0275\u0275conditionalBranchCreate:Kl,\u0275\u0275defer:Hm,\u0275\u0275deferWhen:Vm,\u0275\u0275deferOnIdle:function nT(){Oi(0,(0,i.OAn)(),(0,i.Mx4)())&&xm(Bl)},\u0275\u0275deferOnImmediate:function oT(){const e=(0,i.OAn)(),t=(0,i.Mx4)();Oi(0,e,t)&&(null===go(e[i.eDl],t).loadingTmplIndex&&Na(e,t),oa(0,e,t))},\u0275\u0275deferOnTimer:function cT(e){Oi(0,(0,i.OAn)(),(0,i.Mx4)())&&xm(jl(e))},\u0275\u0275deferOnHover:function dT(e,t){const n=(0,i.OAn)(),r=(0,i.Mx4)();Oi(0,n,r)&&(Na(n,r),xa(n,r,e,t,cs,()=>oa(0,n,r),0))},\u0275\u0275deferOnInteraction:function pT(e,t){const n=(0,i.OAn)(),r=(0,i.Mx4)();Oi(0,n,r)&&(Na(n,r),xa(n,r,e,t,ts,()=>oa(0,n,r),0))},\u0275\u0275deferOnViewport:function _T(e,t,n){const r=(0,i.OAn)(),o=(0,i.Mx4)();Oi(0,r,o)&&(Na(r,o),xa(r,o,e,t,qd,()=>oa(0,r,o),0,n))},\u0275\u0275deferPrefetchWhen:function qC(e){const t=(0,i.OAn)(),n=(0,i.CpD)();if(Oi(1,t,n)&&pi(t,(0,i.xbp)(),e)){const o=(0,ke.Ht)(null);try{const s=!!e,f=go(t[i.eDl],n);!0===s&&f.loadingState===Fi.NOT_STARTED&&Sc(f,t,n)}finally{(0,ke.Ht)(o)}}},\u0275\u0275deferPrefetchOnIdle:function rT(){Oi(1,(0,i.OAn)(),(0,i.Mx4)())&&Nm(Bl)},\u0275\u0275deferPrefetchOnImmediate:function sT(){const e=(0,i.OAn)(),t=(0,i.Mx4)();if(!Oi(1,e,t))return;const r=go(e[i.eDl],t);r.loadingState===Fi.NOT_STARTED&&lf(r,e,t)},\u0275\u0275deferPrefetchOnTimer:function lT(e){Oi(1,(0,i.OAn)(),(0,i.Mx4)())&&Nm(jl(e))},\u0275\u0275deferPrefetchOnHover:function fT(e,t){const n=(0,i.OAn)(),r=(0,i.Mx4)();if(!Oi(1,n,r))return;const s=go(n[i.eDl],r);s.loadingState===Fi.NOT_STARTED&&xa(n,r,e,t,cs,()=>Sc(s,n,r),1)},\u0275\u0275deferPrefetchOnInteraction:function gT(e,t){const n=(0,i.OAn)(),r=(0,i.Mx4)();if(!Oi(1,n,r))return;const s=go(n[i.eDl],r);s.loadingState===Fi.NOT_STARTED&&xa(n,r,e,t,ts,()=>Sc(s,n,r),1)},\u0275\u0275deferPrefetchOnViewport:function vT(e,t,n){const r=(0,i.OAn)(),o=(0,i.Mx4)();if(!Oi(1,r,o))return;const l=go(r[i.eDl],o);l.loadingState===Fi.NOT_STARTED&&xa(r,o,e,t,qd,()=>Sc(l,r,o),1,n)},\u0275\u0275deferHydrateWhen:function eT(e){const t=(0,i.OAn)(),n=(0,i.CpD)();if(!Oi(2,t,n))return;const r=(0,i.xbp)();if(xs((0,i.klJ)(),n).set(6,null),pi(t,r,e)){const l=t[i.YEL],f=(0,ke.Ht)(null);try{1==!!e&&sa(l,Go(t,n)[6])}finally{(0,ke.Ht)(f)}}},\u0275\u0275deferHydrateNever:function tT(){const e=(0,i.OAn)(),t=(0,i.Mx4)();Oi(2,e,t)&&xs((0,i.klJ)(),t).set(7,null)},\u0275\u0275deferHydrateOnIdle:function iT(){const e=(0,i.OAn)(),t=(0,i.Mx4)();Oi(2,e,t)&&(xs((0,i.klJ)(),t).set(0,null),Lm(Bl,e,t))},\u0275\u0275deferHydrateOnImmediate:function aT(){const e=(0,i.OAn)(),t=(0,i.Mx4)();Oi(2,e,t)&&(xs((0,i.klJ)(),t).set(1,null),sa(e[i.YEL],Go(e,t)[6]))},\u0275\u0275deferHydrateOnTimer:function uT(e){const t=(0,i.OAn)(),n=(0,i.Mx4)();Oi(2,t,n)&&(xs((0,i.klJ)(),n).set(5,{type:5,delay:e}),Lm(jl(e),t,n))},\u0275\u0275deferHydrateOnHover:function hT(){const e=(0,i.OAn)(),t=(0,i.Mx4)();Oi(2,e,t)&&xs((0,i.klJ)(),t).set(4,null)},\u0275\u0275deferHydrateOnInteraction:function mT(){const e=(0,i.OAn)(),t=(0,i.Mx4)();Oi(2,e,t)&&xs((0,i.klJ)(),t).set(3,null)},\u0275\u0275deferHydrateOnViewport:function yT(e){const t=(0,i.OAn)(),n=(0,i.Mx4)();Oi(2,t,n)&&xs((0,i.klJ)(),n).set(2,e?{type:2,intersectionObserverOptions:e}:null)},\u0275\u0275deferEnableTimerScheduling:function z0(e,t,n,r){const o=e.consts;null!=n&&(t.placeholderBlockConfig=(0,i.db4)(o,n)),null!=r&&(t.loadingBlockConfig=(0,i.db4)(o,r)),null===tf&&(tf=$0)},\u0275\u0275repeater:Jm,\u0275\u0275repeaterCreate:Zm,\u0275\u0275repeaterTrackByIndex:Ym,\u0275\u0275repeaterTrackByIdentity:function OT(e,t){return t},\u0275\u0275componentInstance:Km,\u0275\u0275text:Q_,\u0275\u0275textInterpolate:$f,\u0275\u0275textInterpolate1:ru,\u0275\u0275textInterpolate2:zf,\u0275\u0275textInterpolate3:function sv(e,t,n,r,o,s,l){const f=(0,i.OAn)(),v=ev(f,e,t,n,r,o,s,l);return v!==Yr&&Ds(f,(0,i._px)(),v),sv},\u0275\u0275textInterpolate4:function av(e,t,n,r,o,s,l,f,v){const W=(0,i.OAn)(),te=tv(W,e,t,n,r,o,s,l,f,v);return te!==Yr&&Ds(W,(0,i._px)(),te),av},\u0275\u0275textInterpolate5:function cv(e,t,n,r,o,s,l,f,v,W,te){const Ue=(0,i.OAn)(),Tt=nv(Ue,e,t,n,r,o,s,l,f,v,W,te);return Tt!==Yr&&Ds(Ue,(0,i._px)(),Tt),cv},\u0275\u0275textInterpolate6:function lv(e,t,n,r,o,s,l,f,v,W,te,Ue,Tt){const Bt=(0,i.OAn)(),sn=rv(Bt,e,t,n,r,o,s,l,f,v,W,te,Ue,Tt);return sn!==Yr&&Ds(Bt,(0,i._px)(),sn),lv},\u0275\u0275textInterpolate7:function uv(e,t,n,r,o,s,l,f,v,W,te,Ue,Tt,Bt,sn){const Bn=(0,i.OAn)(),er=iv(Bn,e,t,n,r,o,s,l,f,v,W,te,Ue,Tt,Bt,sn);return er!==Yr&&Ds(Bn,(0,i._px)(),er),uv},\u0275\u0275textInterpolate8:function dv(e,t,n,r,o,s,l,f,v,W,te,Ue,Tt,Bt,sn,Bn,er){const pr=(0,i.OAn)(),Ln=ov(pr,e,t,n,r,o,s,l,f,v,W,te,Ue,Tt,Bt,sn,Bn,er);return Ln!==Yr&&Ds(pr,(0,i._px)(),Ln),dv},\u0275\u0275textInterpolateV:function fv(e){const t=(0,i.OAn)(),n=Z_(t,e);return n!==Yr&&Ds(t,(0,i._px)(),n),fv}
vendor: 11,694 bytes, line 1
1,\u0275\u0275i18n:function CM(e,t,n){b_(e,t,n),D_()},\u0275\u0275i18nAttributes:function TM(e,t){const n=(0,i.klJ)(),r=(0,i.db4)(n.consts,t);!function sM(e,t,n){const r=(0,i.Mx4)(),o=r.index,s=[];if(e.firstCreatePass&&null===e.data[t]){for(let l=0;l<n.length;l+=2){const f=n[l],v=n[l+1];if(""!==v){if(JT.test(v))throw new Error(`ICU expressions are not supported in attributes. Message: "${v}".`);const W=r.namespace?`:${r.namespace}:${r.value}`:r.value;eu(s,v,o,f,aM(s),Rf(f,W))}}e.data[t]=s}}(n,e+i.Yw1,r)},\u0275\u0275i18nExp:function C_(e){return function zT(e){e&&(xc|=1<<Math.min(Nc,31)),Nc++}(pi((0,i.OAn)(),(0,i.xbp)(),e)),C_},\u0275\u0275i18nStart:b_,\u0275\u0275i18nEnd:D_,\u0275\u0275i18nApply:function MM(e){!function GT(e,t,n){try{if(Nc>0){const r=e.data[n];c_(e,t,Array.isArray(r)?r:r.update,(0,i.c$7)()-Nc-1,xc)}}finally{xc=0,Nc=0}}((0,i.klJ)(),(0,i.OAn)(),e+i.Yw1)},\u0275\u0275i18nPostprocess:function IM(e,t={}){return function DM(e,t={}){let n=e;if(gM.test(e)){const r={},o=[0];n=n.replace(mM,(s,l,f)=>{const v=l||f,W=r[v]||[];if(W.length||(v.split("|").forEach(Bn=>{const er=Bn.match(bM),pr=er?parseInt(er[1],10):0,Ln=EM.test(Bn);W.push([pr,Ln,Bn])}),r[v]=W),!W.length)throw new Error(`i18n postprocess: unmatched placeholder - ${v}`);const te=o[o.length-1];let Ue=0;for(let Bn=0;Bn<W.length;Bn++)if(W[Bn][0]===te){Ue=Bn;break}const[Tt,Bt,sn]=W[Ue];return Bt?o.pop():te!==Tt&&o.push(Tt),W.splice(Ue,1),sn})}return Object.keys(t).length&&(n=n.replace(_M,(r,o,s,l,f,v)=>t.hasOwnProperty(s)?`${o}${t[s]}${v}`:r),n=n.replace(vM,(r,o)=>t.hasOwnProperty(o)?t[o]:r),n=n.replace(yM,(r,o)=>{if(t.hasOwnProperty(o)){const s=t[o];if(!s.length)throw new Error(`i18n postprocess: unmatched ICU - ${r} with key: ${o}`);return s.shift()}return r})),n}(e,t)},\u0275\u0275resolveWindow:Ph,\u0275\u0275resolveDocument:function Xy(e){return e.ownerDocument},\u0275\u0275resolveBody:function Rh(e){return e.ownerDocument.body},\u0275\u0275setComponentScope:function gI(e,t,n){const r=e.\u0275cmp;r.directiveDefs=xl(t,Fg),r.pipeDefs=xl(n,i.oyA)},\u0275\u0275setNgModuleScope:function mI(e,t){return Y(()=>{const n=(0,i.WbQ)(e);n.declarations=iu(t.declarations||i.Mlv),n.imports=iu(t.imports||i.Mlv),n.exports=iu(t.exports||i.Mlv),t.bootstrap&&(n.bootstrap=iu(t.bootstrap)),Dc.registerNgModule(e,t)})},\u0275\u0275registerNgModuleType:Rg,\u0275\u0275getComponentDepsFactory:function MI(e,t){return()=>{try{return Dc.getComponentDependencies(e,t).dependencies}catch(n){throw console.error(`Computing dependencies in local compilation mode for the component "${e.name}" failed with the exception:`,n),n}}},\u0275setClassDebugInfo:function II(e,t){const n=(0,i.xUg)(e);null!==n&&(n.debugInfo=t)},\u0275\u0275declareLet:Gf,\u0275\u0275storeLet:mv,\u0275\u0275arrowFunction:function uI(e,t,n){const r=(0,i.gxQ)()+e,o=(0,i.OAn)();return o[r]===Yr?fs(o,r,t(n,o)):Oa(o,r)},\u0275\u0275readContextLet:_v,\u0275\u0275attachSourceLocations:function eI(e,t){const n=(0,i.klJ)(),r=(0,i.OAn)(),o=r[i.GpT],s="data-ng-source-location";for(const[l,f,v,W]of t){(0,i.XRZ)(n,l+i.Yw1);const Ue=(0,i.vaC)(l+i.Yw1,r);Ue.hasAttribute(s)||o.setAttribute(Ue,s,`${e}@o:${f},l:${v},c:${W}`)}},\u0275\u0275interpolate:vv,\u0275\u0275interpolate1:function tI(e,t,n=""){return J_((0,i.OAn)(),e,t,n)},\u0275\u0275interpolate2:function nI(e,t,n,r,o=""){return q_((0,i.OAn)(),e,t,n,r,o)},\u0275\u0275interpolate3:function rI(e,t,n,r,o,s,l=""){return ev((0,i.OAn)(),e,t,n,r,o,s,l)},\u0275\u0275interpolate4:function iI(e,t,n,r,o,s,l,f,v=""){return tv((0,i.OAn)(),e,t,n,r,o,s,l,f,v)},\u0275\u0275interpolate5:function oI(e,t,n,r,o,s,l,f,v,W,te=""){return nv((0,i.OAn)(),e,t,n,r,o,s,l,f,v,W,te)},\u0275\u0275interpolate6:function sI(e,t,n,r,o,s,l,f,v,W,te,Ue,Tt=""){return rv((0,i.OAn)(),e,t,n,r,o,s,l,f,v,W,te,Ue,Tt)},\u0275\u0275interpolate7:function aI(e,t,n,r,o,s,l,f,v,W,te,Ue,Tt,Bt,sn=""){return iv((0,i.OAn)(),e,t,n,r,o,s,l,f,v,W,te,Ue,Tt,Bt,sn)},\u0275\u0275interpolate8:function cI(e,t,n,r,o,s,l,f,v,W,te,Ue,Tt,Bt,sn,Bn,er=""){return ov((0,i.OAn)(),e,t,n,r,o,s,l,f,v,W,te,Ue,Tt,Bt,sn,Bn,er)},\u0275\u0275interpolateV:function lI(e){return Z_((0,i.OAn)(),e)},\u0275\u0275sanitizeHtml:Fu,\u0275\u0275sanitizeStyle:Mh,\u0275\u0275sanitizeResourceUrl:tl,\u0275\u0275sanitizeScript:Ih,\u0275\u0275validateAttribute:wh,\u0275\u0275sanitizeUrl:Bu,\u0275\u0275sanitizeUrlOrResourceUrl:Ah,\u0275\u0275trustConstantHtml:function By(e){return Os(e[0])},\u0275\u0275trustConstantResourceUrl:function jy(e){return function wu(e){return Zc()?.createScriptURL(e)||e}(e[0])},forwardRef:i.Rfq,resolveForwardRef:i.nl4,\u0275\u0275twoWayProperty:function hv(e,t,n){dm(t)&&(t=t());const r=(0,i.OAn)();return pi(r,(0,i.xbp)(),t)&&((0,i.klJ)(),ad((0,i.CpD)(),r,e,t,r[i.GpT],n)),hv},\u0275\u0275twoWayBindingSet:function qM(e,t){const n=dm(e);return n&&e.set(t),n},\u0275\u0275twoWayListener:function pv(e,t){const n=(0,i.OAn)(),r=(0,i.klJ)(),o=(0,i.Mx4)();return Nf(r,n,n[i.GpT],o,e,t),pv},\u0275\u0275replaceMetadata:function SI(e,t,n,r,o=null,s=null){const l=(0,i.xUg)(e);t.apply(null,[e,n,...r]);const{newDef:f,oldDef:v}=function OI(e,t){const n={...e};return{newDef:Object.assign(e,t,{directiveDefs:n.directiveDefs,pipeDefs:n.pipeDefs,setInput:n.setInput,type:n.type}),oldDef:n}}(l,(0,i.xUg)(e));if(e[i.CQl]=f,v.tView){const W=function Fo(){return ui}().values();for(const te of W)(0,i.EFk)(te)&&null===te[i.f7T]&&ou(o,s,f,v,te)}},\u0275\u0275getReplaceMetadataURL:function AI(e,t,n){const r=`./@ng/component?c=${e}&t=${encodeURIComponent(t)}`;return new URL(r,n).href}};let Wa=null;function xI(e){null!==Wa&&(e.defaultEncapsulation!==Wa.defaultEncapsulation||e.preserveWhitespaces!==Wa.preserveWhitespaces)||(Wa=e)}const Wc=[];function $v(e){return Td(e)?e.ngModule:e}const JI=_e("NgModule",e=>e,void 0,0,(e,t)=>function BI(e,t={}){(function jI(e,t){const r=(0,i.Bqz)(t.declarations||i.Mlv);let o=null;Object.defineProperty(e,i.hmW,{configurable:!0,get:()=>(null===o&&(o=M().compileNgModule(Ns,`ng:///${e.name}/\u0275mod.js`,{type:e,bootstrap:(0,i.Bqz)(t.bootstrap||i.Mlv).map(i.nl4),declarations:r.map(i.nl4),imports:(0,i.Bqz)(t.imports||i.Mlv).map(i.nl4).map($v),exports:(0,i.Bqz)(t.exports||i.Mlv).map(i.nl4).map($v),schemas:t.schemas?(0,i.Bqz)(t.schemas):null,id:t.id||null}),o.schemas||(o.schemas=[])),o)});let s=null;Object.defineProperty(e,i.zSs,{get:()=>{if(null===s){const f=M();s=f.compileFactory(Ns,`ng:///${e.name}/\u0275fac.js`,{name:e.name,type:e,deps:Rr(e),target:f.FactoryTarget.NgModule,typeArgumentCount:0})}return s},configurable:!1});let l=null;Object.defineProperty(e,i.ONQ,{get:()=>{if(null===l){const f={name:e.name,type:e,providers:t.providers||i.Mlv,imports:[(t.imports||i.Mlv).map(i.nl4),(t.exports||i.Mlv).map(i.nl4)]};l=M().compileInjector(Ns,`ng:///${e.name}/\u0275inj.js`,f)}return l},configurable:!1})})(e,t),void 0!==t.id&&Rg(e,t.id),function LI(e,t){Wc.push({moduleType:e,ngModule:t})}(e,t)}(e,t));class qI{ngModuleFactory;componentFactories;constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}}let eA=(()=>{class e{compileModuleSync(n){return new xg(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){const r=this.compileModuleSync(n),s=ms((0,i.phH)(n).declarations).reduce((l,f)=>{const v=(0,i.xUg)(f);return v&&l.push(new Rl(v)),l},[]);return new qI(r,s)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}static \u0275fac=function(r){return new(r||e)};static \u0275prov=(0,i.jDH)({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const tA=new i.nKC("");let nA=(()=>{class e{applicationErrorHandler=(0,i.WQX)(i.ZTf);appRef=(0,i.WQX)(af);taskService=(0,i.WQX)(i.rev);ngZone=(0,i.WQX)(i.SKi);zonelessEnabled=(0,i.WQX)(i.Evm);tracing=(0,i.WQX)(Ea,{optional:!0});zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new Xe.yU;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(i.AbJ):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&((0,i.WQX)(i.AQb,{optional:!0})??!1);cancelScheduledCallback=null;useMicrotaskScheduler=!1;runningTick=!1;pendingRenderTaskId=null;constructor(){this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{const n=this.taskService.add();this.runningTick||(this.cleanup(),this.zonelessEnabled&&!this.appRef.includeAllTestViews)?(this.switchToMicrotaskScheduler(),this.taskService.remove(n)):this.taskService.remove(n)})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()}))}switchToMicrotaskScheduler(){this.ngZone.runOutsideAngular(()=>{const n=this.taskService.add();this.useMicrotaskScheduler=!0,queueMicrotask(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(n)})})}notify(n){if(!this.zonelessEnabled&&5===n)return;switch(n){case 0:case 6:case 13:this.appRef.dirtyFlags|=2;break;case 3:case 2:case 4:case 5:case 1:this.appRef.dirtyFlags|=4;break;case 12:this.appRef.dirtyFlags|=16;break;case 11:break;default:this.appRef.dirtyFlags|=8}if(this.appRef.tracingSnapshot=this.tracing?.snapshot(this.appRef.tracingSnapshot)??null,!this.shouldScheduleTick())return;const r=this.useMicrotaskScheduler?i.uiq:i.l4E;this.pendingRenderTaskId=this.taskService.add(),this.cancelScheduledCallback=this.scheduleInRootZone?Zone.root.run(()=>r(()=>this.tick())):this.ngZone.runOutsideAngular(()=>r(()=>this.tick()))}shouldScheduleTick(){return!(this.appRef.destroyed||null!==this.pendingRenderTaskId||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(i.AbJ+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;if(0===this.appRef.dirtyFlags)return void this.cleanup();!this.zonelessEnabled&&7&this.appRef.dirtyFlags&&(this.appRef.dirtyFlags|=1);const n=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(r){this.applicationErrorHandler(r)}finally{this.taskService.remove(n),this.cleanup()}}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,null!==this.pendingRenderTaskId){const n=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(n)}}static \u0275fac=function(r){return new(r||e)};static \u0275prov=(0,i.jDH)({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function iy(){return[{provide:i.hk6,useExisting:nA},{provide:i.SKi,useClass:i.myG},{provide:i.Evm,useValue:!0}]}const oy=new i.nKC("",{factory:()=>(0,i.WQX)(oy,{optional:!0,skipSelf:!0})||function rA(){return typeof $localize<"u"&&$localize.locale||Of}()}),iA=new i.nKC("",{factory:()=>"USD"}),oA=new i.nKC(""),sA=new i.nKC("");var sy=function(e){return e[e.Error=0]="Error",e[e.Warning=1]="Warning",e[e.Ignore=2]="Ignore",e}(sy||{})},9843(Yt,ve,a){a.d(ve,{Ag:()=>de,Bg:()=>tt,EF:()=>Be,H8:()=>we,Ht:()=>I,JC:()=>Pe,KE:()=>O,KO:()=>Ie,KZ:()=>oe,Ny:()=>He,TO:()=>Fe,Wu:()=>Rt,XR:()=>it,a7:()=>U,bh:()=>D,j2:()=>Et,lh:()=>zt,mC:()=>kt,mK:()=>K,n5:()=>Qe,nR:()=>E,pL:()=>B,s0:()=>Ne,si:()=>xe,vX:()=>Lt});let u=null,h=!1,g=1;const D=Symbol("SIGNAL");function I(rt){const Qt=u;return u=rt,Qt}function E(){return u}function O(){return h}const B={version:0,lastCleanEpoch:0,dirty:!1,producers:void 0,producersTail:void 0,consumers:void 0,consumersTail:void 0,recomputing:!1,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,kind:"unknown",producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function K(rt){if(h)throw new Error("");
vendor: 41,716 bytes, line 1
1if(null===u)return;u.consumerOnSignalRead(rt);const Qt=u.producersTail;if(void 0!==Qt&&Qt.producer===rt)return;let Kt;const ut=u.recomputing;if(ut&&(Kt=void 0!==Qt?Qt.nextProducer:u.producers,void 0!==Kt&&Kt.producer===rt))return u.producersTail=Kt,void(Kt.lastReadVersion=rt.version);const St=rt.consumersTail;if(void 0!==St&&St.consumer===u&&(!ut||function ie(rt,Qt){const Kt=Qt.producersTail;if(void 0!==Kt){let ut=Qt.producers;do{if(ut===rt)return!0;if(ut===Kt)break;ut=ut.nextProducer}while(void 0!==ut)}return!1}(St,u)))return;const yt=N(u),Me={producer:rt,consumer:u,nextProducer:Kt,prevConsumer:St,lastReadVersion:rt.version,nextConsumer:void 0};u.producersTail=Me,void 0!==Qt?Qt.nextProducer=Me:u.producers=Me,yt&&q(rt,Me)}function Pe(rt){if((!N(rt)||rt.dirty)&&(rt.dirty||rt.lastCleanEpoch!==g)){if(!rt.producerMustRecompute(rt)&&!xe(rt))return void Fe(rt);rt.producerRecomputeValue(rt),Fe(rt)}}function L(rt){if(void 0===rt.consumers)return;const Qt=h;h=!0;try{for(let Kt=rt.consumers;void 0!==Kt;Kt=Kt.nextConsumer){const ut=Kt.consumer;ut.dirty||Ve(ut)}}finally{h=Qt}}function ne(){return!1!==u?.consumerAllowSignalWrites}function Ve(rt){rt.dirty=!0,L(rt),rt.consumerMarkedDirty?.(rt)}function Fe(rt){rt.dirty=!1,rt.lastCleanEpoch=g}function tt(rt){return rt&&function nt(rt){rt.producersTail=void 0,rt.recomputing=!0}(rt),I(rt)}function Rt(rt,Qt){I(Qt),rt&&function Oe(rt){rt.recomputing=!1;const Qt=rt.producersTail;let Kt=void 0!==Qt?Qt.nextProducer:rt.producers;if(void 0!==Kt){if(N(rt))do{Kt=F(Kt)}while(void 0!==Kt);void 0!==Qt?Qt.nextProducer=void 0:rt.producers=void 0}}(rt)}function xe(rt){for(let Qt=rt.producers;void 0!==Qt;Qt=Qt.nextProducer){const Kt=Qt.producer,ut=Qt.lastReadVersion;if(ut!==Kt.version||(Pe(Kt),ut!==Kt.version))return!0}return!1}function it(rt){if(N(rt)){let Qt=rt.producers;for(;void 0!==Qt;)Qt=F(Qt)}rt.producers=void 0,rt.producersTail=void 0,rt.consumers=void 0,rt.consumersTail=void 0}function q(rt,Qt){const Kt=rt.consumersTail,ut=N(rt);if(void 0!==Kt?(Qt.nextConsumer=Kt.nextConsumer,Kt.nextConsumer=Qt):(Qt.nextConsumer=void 0,rt.consumers=Qt),Qt.prevConsumer=Kt,rt.consumersTail=Qt,!ut)for(let St=rt.producers;void 0!==St;St=St.nextProducer)q(St.producer,St)}function F(rt){const Qt=rt.producer,Kt=rt.nextProducer,ut=rt.nextConsumer,St=rt.prevConsumer;if(rt.nextConsumer=void 0,rt.prevConsumer=void 0,void 0!==ut?ut.prevConsumer=St:Qt.consumersTail=St,void 0!==St)St.nextConsumer=ut;else if(Qt.consumers=ut,!N(Qt)){let yt=Qt.producers;for(;void 0!==yt;)yt=F(yt)}return Kt}function N(rt){return rt.consumerIsAlwaysLive||void 0!==rt.consumers}function U(rt){}function we(rt,Qt){return Object.is(rt,Qt)}function oe(rt,Qt){const Kt=Object.create($e);Kt.computation=rt,void 0!==Qt&&(Kt.equal=Qt);const ut=()=>{if(Pe(Kt),K(Kt),Kt.value===Be)throw Kt.error;return Kt.value};return ut[D]=Kt,ut}const de=Symbol("UNSET"),He=Symbol("COMPUTING"),Be=Symbol("ERRORED"),$e={...B,value:de,dirty:!0,error:null,equal:we,kind:"computed",producerMustRecompute:rt=>rt.value===de||rt.value===He,producerRecomputeValue(rt){if(rt.value===He)throw new Error("");const Qt=rt.value;rt.value=He;const Kt=tt(rt);let ut,St=!1;try{ut=rt.computation(),I(null),St=Qt!==de&&Qt!==Be&&ut!==Be&&rt.equal(Qt,ut)}catch(yt){ut=Be,rt.error=yt}finally{Rt(rt,Kt)}St?rt.value=Qt:(rt.value=ut,rt.version++)}};let le=function Te(){throw new Error};function pt(rt){le(rt)}function Ie(rt){le=rt}function Qe(rt,Qt){const Kt=Object.create(Ne);Kt.value=rt,void 0!==Qt&&(Kt.equal=Qt);const ut=()=>function Re(rt){return K(rt),rt.value}(Kt);return ut[D]=Kt,[ut,Me=>Et(Kt,Me),Me=>kt(Kt,Me)]}function Et(rt,Qt){ne()||pt(rt),rt.equal(rt.value,Qt)||(rt.value=Qt,function Ot(rt){rt.version++,function j(){g++}(),L(rt)}(rt))}function kt(rt,Qt){ne()||pt(rt),Et(rt,Qt(rt.value))}const Ne={...B,equal:we,value:void 0,kind:"signal"},Lt={...B,consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,dirty:!0,kind:"effect"};function zt(rt){if(rt.dirty=!1,rt.version>0&&!xe(rt))return;rt.version++;const Qt=tt(rt);try{rt.cleanup(),rt.fn()}finally{Rt(rt,Qt)}}},6563(Yt,ve,a){a.d(ve,{JEi:()=>hi,Isx:()=>bo,EJG:()=>qi,Yrj:()=>is,VVG:()=>Bi,Y20:()=>jo,SKP:()=>Ii,hk6:()=>Ja,eVN:()=>fo,b5C:()=>Ui,rQE:()=>ki,X5O:()=>ji,qFA:()=>Xi,qQL:()=>ha,dUD:()=>ne,abz:()=>ys,tQN:()=>$r,pcR:()=>Eo,oMQ:()=>Ai,Mlv:()=>Fn,MZA:()=>un,M0L:()=>si,Z63:()=>lr,Ap:()=>Ve,dTm:()=>ec,VML:()=>qa,uvJ:()=>ti,zcH:()=>Qa,bkB:()=>ae,Wg1:()=>oi,Yw1:()=>eo,jgP:()=>Mi,tcA:()=>So,ID:()=>Qr,duS:()=>Cr,YEL:()=>Wr,B9r:()=>Sr,GBX:()=>Hn,ZTf:()=>Ya,nKC:()=>ot,zZn:()=>vs,rJ1:()=>Vr,nfM:()=>Qi,s6P:()=>lo,K29:()=>yo,CQl:()=>$,CZt:()=>w,p9y:()=>cn,zSs:()=>xt,ONQ:()=>ke,hmW:()=>lt,yAH:()=>i,SKi:()=>Pr,myG:()=>gs,oTH:()=>Or,Czx:()=>Si,f7T:()=>vo,wVl:()=>Fo,GYQ:()=>ga,u5s:()=>Xc,rev:()=>ge,Ds7:()=>Bo,e5P:()=>Rr,Iaj:()=>Ei,GpT:()=>ui,buA:()=>tt,AQb:()=>Gc,kHH:()=>As,rwo:()=>Hi,jNX:()=>Hr,WPN:()=>Tr,eDl:()=>li,qlT:()=>Lo,bm_:()=>Yo,RxE:()=>Pe,r4V:()=>zc,ok8:()=>Fe,Evm:()=>pa,laP:()=>Oe,EYC:()=>ir,AbJ:()=>hr,ng7:()=>On,llW:()=>$t,gsJ:()=>Ct,GZS:()=>y,iYM:()=>ht,PEr:()=>Un,z7f:()=>Ot,LZP:()=>Lt,Xln:()=>le,yzR:()=>nn,TWe:()=>hn,LIA:()=>Te,GWr:()=>Re,pbo:()=>Et,bBq:()=>pe,Af3:()=>Ri,zQk:()=>Yn,oZy:()=>mr,tF7:()=>zt,ZFY:()=>We,cP4:()=>Ze,MdC:()=>Vt,XvL:()=>Qe,KET:()=>x,Tkx:()=>kr,iw4:()=>pt,tdH:()=>ch,pr_:()=>Qt,IAh:()=>ze,U45:()=>He,WrV:()=>Be,kNT:()=>rt,MI:()=>dr,biv:()=>sr,ZQF:()=>Ie,Cv0:()=>$e,W0r:()=>d,R2n:()=>be,O8q:()=>Jo,VKj:()=>Wo,Rom:()=>Yi,z6V:()=>Kn,wdo:()=>zr,n$e:()=>U,hjC:()=>Ut,Pz9:()=>Kc,PQT:()=>Rn,VX4:()=>pn,_Z$:()=>k,N79:()=>ho,xLP:()=>tr,QZP:()=>Yc,A7J:()=>Ge,BI7:()=>Mt,U7d:()=>mt,uXy:()=>wt,nZS:()=>Ae,ihb:()=>ua,ID8:()=>Ts,gv8:()=>Za,dwj:()=>F,Bqz:()=>Qn,OsK:()=>Rt,Rfq:()=>we,c$7:()=>A,gxQ:()=>or,ckz:()=>Mo,kLh:()=>q,xUg:()=>Ye,KdJ:()=>nr,db4:()=>Jr,VPL:()=>Z,MT:()=>ei,Z9v:()=>vn,Ab:()=>_,w7Z:()=>ls,Mx4:()=>os,veI:()=>Ko,HaV:()=>Wt,Agf:()=>at,znI:()=>Vo,wGu:()=>Pn,ebl:()=>Ee,OAn:()=>ns,_0$:()=>ci,UaU:()=>Fs,vaC:()=>Ni,d31:()=>Co,ZRn:()=>Li,phH:()=>st,WbQ:()=>se,WB9:()=>xr,d_l:()=>no,vNG:()=>qo,oyA:()=>Xt,_px:()=>za,CpD:()=>Iu,XRZ:()=>To,klJ:()=>Io,oKB:()=>z,Fje:()=>ro,b$O:()=>T,SMZ:()=>it,WQX:()=>gn,MzJ:()=>ee,jXY:()=>dt,MME:()=>zn,JlV:()=>Do,Qs1:()=>Zo,srX:()=>Uo,vOT:()=>Gn,YWB:()=>b,EPY:()=>wo,yoD:()=>uo,P3H:()=>At,Jzi:()=>de,rFz:()=>Je,JjR:()=>m,M6u:()=>Pi,KtD:()=>ko,muV:()=>yt,A0l:()=>Wi,q$2:()=>xi,yP_:()=>mn,EFk:()=>ai,UhH:()=>xo,QuC:()=>It,Y3W:()=>$n,K7h:()=>Dn,FRF:()=>bt,ezK:()=>ln,m7n:()=>Su,niQ:()=>Ms,krE:()=>hs,bll:()=>$a,Hh6:()=>Ho,EmA:()=>Er,blu:()=>Ro,HAh:()=>qr,WfI:()=>Ir,xbp:()=>c,jvu:()=>da,BCV:()=>br,Rc9:()=>zi,E6O:()=>Ar,DyX:()=>Ki,eFE:()=>Zt,dMS:()=>Nr,HUe:()=>di,nl4:()=>oe,N4e:()=>co,XaM:()=>qe,uiq:()=>yn,l4E:()=>tn,Kw3:()=>re,vQI:()=>et,RZ9:()=>Vn,GA0:()=>Zi,iMd:()=>C,Pfq:()=>S,xyx:()=>H,a2B:()=>J,kcM:()=>_e,DFp:()=>Y,P2g:()=>gt,cBl:()=>Sn,ypq:()=>Mu,vPA:()=>ah,HO5:()=>Ou,M_e:()=>Po,B22:()=>wr,ik5:()=>Gr,AsM:()=>N,PP7:()=>R,$8:()=>Ne,$Hz:()=>Xn,zAe:()=>Vi,IvY:()=>Kr,_gW:()=>to,F1c:()=>ur,ITl:()=>Mr,brz:()=>je,jRZ:()=>bi,SX7:()=>fa,jDH:()=>Kt,G2t:()=>ut,fuf:()=>cs,cSN:()=>io,KVO:()=>jn,dmw:()=>Cn,joV:()=>Ls,By9:()=>Is,qSk:()=>Au,Njj:()=>ps,eBV:()=>No});var u=a(9843),h=a(5797),g=a(3942),Q=a(4205),D=a(7092);let I;function E(){return I}function O(p){const V=I;return I=p,V}const B=Symbol("NotFound");function j(p){return p===B||"\u0275NotFound"===p?.name}Error;class Pe{full;major;minor;patch;constructor(V){this.full=V;const Le=V.split(".");this.major=Le[0],this.minor=Le[1],this.patch=Le.slice(2).join(".")}}const L=new Pe("21.2.22"),ne=(()=>{const p=L.full;return`https://${p.includes("-next")||p.includes("-rc")||"0.0.0-PLACEHOLDER"===p?"next":`v${L.major}`}.angular.dev`})(),Ve=`${ne}/errors`,Fe="https://angular.dev/best-practices/security#preventing-cross-site-scripting-xss";class tt extends Error{code;constructor(V,Le){super(Rt(V,Le)),this.code=V}}function Rt(p,V){return`${function nt(p){return`NG0${Math.abs(p)}`}(p)}${V?": "+V:""}`}const Oe=globalThis;function it(){return!1}function q(p){for(let V in p)if(p[V]===q)return V;throw Error("")}function F(p,V){for(const Le in V)V.hasOwnProperty(Le)&&!p.hasOwnProperty(Le)&&(p[Le]=V[Le])}function N(p){if("string"==typeof p)return p;if(Array.isArray(p))return`[${p.map(N).join(", ")}]`;if(null==p)return""+p;const V=p.overriddenName||p.name;if(V)return`${V}`;const Le=p.toString();if(null==Le)return""+Le;const Ft=Le.indexOf("\n");return Ft>=0?Le.slice(0,Ft):Le}function U(p,V){return p?V?`${p} ${V}`:p:V||""}const ie=q({__forward_ref__:q});function we(p){return p.__forward_ref__=we,p}function oe(p){return de(p)?p():p}function de(p){return"function"==typeof p&&p.hasOwnProperty(ie)&&p.__forward_ref__===we}function He(p,V){"number"!=typeof p&&Ne(V,typeof p,"number","===")}function Be(p,V,Le){He(p,"Expected a number"),function _t(p,V,Le){p<=V||Ne(Le,p,V,"<=")}(p,Le,"Expected number to be less than or equal to"),Et(p,V,"Expected number to be greater than or equal to")}function $e(p,V){"string"!=typeof p&&Ne(V,null===p?"null":typeof p,"string","===")}function Te(p,V){"function"!=typeof p&&Ne(V,null===p?"null":typeof p,"function","===")}function le(p,V,Le){p!=V&&Ne(Le,p,V,"==")}function pt(p,V,Le){p==V&&Ne(Le,p,V,"!=")}function Ie(p,V,Le){p!==V&&Ne(Le,p,V,"===")}function ze(p,V,Le){p===V&&Ne(Le,p,V,"!==")}function Qe(p,V,Le){p<V||Ne(Le,p,V,"<")}function Re(p,V,Le){p>V||Ne(Le,p,V,">")}function Et(p,V,Le){p>=V||Ne(Le,p,V,">=")}function ht(p,V){null==p&&Ne(V,p,null,"!=")}function Ne(p,V,Le,Ft){throw new Error(`ASSERTION ERROR: ${p}`+(null==Ft?"":` [Expected=> ${Le} ${Ft} ${V} <=Actual]`))}function Ot(p){p instanceof Node||Ne(`The provided value must be an instance of a DOM Node but got ${N(p)}`)}function Lt(p){p instanceof Element||Ne(`The provided value must be an element but got ${N(p)}`)}function zt(p,V){ht(p,"Array must be defined.");const Le=p.length;(V<0||V>=Le)&&Ne(`Index expected to be less than ${Le} but got ${V}`)}function rt(p,...V){if(-1!==V.indexOf(p))return!0;Ne(`Expected value to be one of ${JSON.stringify(V)} but was ${JSON.stringify(p)}.`)}function Qt(p){null!==(0,u.nR)()&&Ne(`${p}() should never be called in a reactive context.`)}function Kt(p){return{token:p.token,providedIn:p.providedIn||null,factory:p.factory,value:void 0}}function ut(p){return{providers:p.providers||[],imports:p.imports||[]}}function St(p){return function Me(p,V){return p.hasOwnProperty(V)&&p[V]||null}(p,i)}function yt(p){return null!==St(p)}function Ee(p){return p&&p.hasOwnProperty(ke)?p[ke]:null}const i=q({\u0275prov:q}),ke=q({\u0275inj:q});class ot{_desc;ngMetadataName="InjectionToken";\u0275prov;constructor(V,Le){this._desc=V,this.\u0275prov=void 0,"number"==typeof Le?this.__NG_ELEMENT_ID__=Le:void 0!==Le&&(this.\u0275prov=Kt({token:this,providedIn:Le.providedIn||"root",factory:Le.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}let Xe;function fe(){return Ne("getInjectorProfilerContext should never be called in production mode"),Xe}function Y(p){Ne("setInjectorProfilerContext should never be called in production mode");const V=Xe;return Xe=p,V}const Se=[],Ce=()=>{};function _e(p){return Ne("setInjectorProfiler should never be called in production mode"),null!==p?(Se.includes(p)||Se.push(p),()=>function ct(p){const V=Se.indexOf(p);-1!==V&&Se.splice(V,1)}(p)):(Se.length=0,Ce)}function P(p){Ne("Injector profiler should never be called in production mode");for(let V=0;V<Se.length;V++)(0,Se[V])(p)}function Ae(p,V=!1){let Le;Ne("Injector profiler should never be called in production mode"),Le="function"==typeof p||p instanceof ot?p:oe(p.provide);let Ft=p;p instanceof ot&&(Ft=p.\u0275prov||p),P({type:2,context:fe(),providerRecord:{token:Le,provider:Ft,isViewProvider:V}})}function mt(p){Ne("Injector profiler should never be called in production mode"),P({type:5,context:fe(),token:p})}function wt(p){Ne("Injector profiler should never be called in production mode"),P({type:1,context:fe(),instance:{value:p}})}function Mt(p,V,Le){Ne("Injector profiler should never be called in production mode"),P({type:0,context:fe(),service:{token:p,value:V,flags:Le}})}function Ge(p){Ne("Injector profiler should never be called in production mode"),P({type:4,context:fe(),effectPhase:p})}function qe(p,V,Le){Ne("runInInjectorProfilerContext should never be called in production mode");const Ft=Y({injector:p,token:V});try{Le()}finally{Y(Ft)}}function M(p){return p&&!!p.\u0275providers}const $=q({\u0275cmp:q}),w=q({\u0275dir:q}),ue=q({\u0275pipe:q}),lt=q({\u0275mod:q}),xt=q({\u0275fac:q}),cn=q({__NG_ELEMENT_ID__:q}),en=q({__NG_ENV_ID__:q});function st(p){return Mn(p),p[lt]||null}function se(p){const V=st(p);if(!V)throw new tt(915,!1);return V}function Ye(p){return Mn(p),p[$]||null}function at(p){const V=Wt(p);if(!V)throw new tt(916,!1);return V}function Wt(p){return Mn(p),p[w]||null}function Xt(p){return Mn(p),p[ue]||null}function Mn(p,V){if(null==p)throw new tt(-919,!1)}function It(p){const V=Ye(p)||Wt(p)||Xt(p);return null!==V&&V.standalone}function Zt(p){return"string"==typeof p?p:null==p?"":String(p)}function R(p){return"function"==typeof p?p.name||p.toString():"object"==typeof p&&null!=p&&"function"==typeof p.type?p.type.name||p.type.toString():Zt(p)}function k(p){const V=Ye(p);return null!==V&&V.debugInfo?function ye(p){return p.filePath&&p.lineNumber?`${p.className} (at ${p.filePath}:${p.lineNumber})`:p.className}(V.debugInfo):R(p)}const Nt=q({ngErrorCode:q}),qt=q({ngErrorMessage:q}),bn=q({ngTokenPath:q});function Rn(p,V){return Dr("",-200,V)}function pn(p,V){return function Zn(p,V){return p.message=function gr(p,V,Le=[],Ft=null){let an="";Le&&Le.length>1&&(an=` Path: ${Le.join(" -> ")}.`);return Rt(V,`${p}${Ft?` Source: ${Ft}.`:""}${an}`)}(p[qt]||p.message,p[Nt],p[bn],V),p}(Rn(0,V),null)}function Xn(p,V){throw new tt(-201,!1)}function Dr(p,V,Le){const Ft=new tt(V,p);return Ft[Nt]=V,Ft[qt]=p,Le&&(Ft[bn]=Le),Ft}let ar;function rn(){return ar}function J(p){const V=ar;return ar=p,V}function ee(p,V,Le){const Ft=St(p);return Ft&&"root"==Ft.providedIn?void 0===Ft.value?Ft.value=Ft.factory():Ft.value:8&Le?null:void 0!==V?V:void Xn()}function We(p){}const ft={},Jt="__NG_DI_FLAG__";class on{injector;constructor(V){this.injector=V}retrieve(V,Le){const Ft=Ut(Le)||0;try{return this.injector.get(V,8&Ft?null:ft,Ft)}catch(an){if(j(an))return an;throw an}}}function wn(p,V=0){const Le=E();if(void 0===Le)throw new tt(-203,!1);if(null===Le)return ee(p,void 0,V);{const Ft=function _n(p){return{optional:!!(8&p),host:!!(1&p),self:!!(2&p),skipSelf:!!(4&p)}}(V),an=Le.retrieve(p,Ft);if(j(an)){if(Ft.optional)return null;throw an}return an}}function jn(p,V=0){return(rn()||wn)(oe(p),V)}function Cn(p){throw new tt(202,!1)}function gn(p,V){return jn(p,Ut(V))}function Ut(p){return typeof p>"u"||"number"==typeof p?p:0|(p.optional&&8)|(p.host&&1)|(p.self&&2)|(p.skipSelf&&4)}function Wn(p){const V=[];for(let Le=0;Le<p.length;Le++){const Ft=oe(p[Le]);if(Array.isArray(Ft)){if(0===Ft.length)throw new tt(900,!1);let an,xn=0;for(let rr=0;rr<Ft.length;rr++){const Xr=Ft[rr],Fr=kn(Xr);"number"==typeof Fr?-1===Fr?an=Xr.token:xn|=Fr:an=Xr}V.push(jn(an,xn))}else V.push(jn(Ft))}return V}function Kn(p,V){return p[Jt]=V,p.prototype[Jt]=V,p}function kn(p){return p[Jt]}function Pn(p,V){return p.hasOwnProperty(xt)?p[xt]:null}function On(p,V,Le){if(p.length!==V.length)return!1;for(let Ft=0;Ft<p.length;Ft++){let an=p[Ft],xn=V[Ft];if(Le&&(an=Le(an),xn=Le(xn)),xn!==an)return!1}return!0}function Qn(p){return p.flat(Number.POSITIVE_INFINITY)}function tr(p,V){p.forEach(Le=>Array.isArray(Le)?tr(Le,V):V(Le))}function ir(p,V,Le){V>=p.length?p.push(Le):p.splice(V,0,Le)}function Ar(p,V){return V>=p.length-1?p.pop():p.splice(V,1)[0]}function Ir(p,V){const Le=[];for(let Ft=0;Ft<p;Ft++)Le.push(V);return Le}function Ct(p,V,Le){const Ft=p.length-Le;for(;V<Ft;)p[V]=p[V+Le],V++;for(;Le--;)p.pop()}function $t(p,V,Le,Ft){let an=p.length;if(an==V)p.push(Le,Ft);else if(1===an)p.push(Ft,p[0]),p[0]=Le;else{for(an--,p.push(p[an-1],p[an]);an>V;)p[an]=p[an-2],an--;p[V]=Le,p[V+1]=Ft}}function ln(p,V,Le){let Ft=bt(p,V);return Ft>=0?p[1|Ft]=Le:(Ft=~Ft,$t(p,Ft,V,Le)),Ft}function Dn(p,V){const Le=bt(p,V);if(Le>=0)return p[1|Le]}function bt(p,V){return function dn(p,V,Le){let Ft=0,an=p.length>>Le;for(;an!==Ft;){const xn=Ft+(an-Ft>>1),rr=p[xn<<Le];if(V===rr)return xn<<Le;rr>V?an=xn:Ft=xn+1}return~(an<<Le)}(p,V,1)}const un={},Fn=[],lr=new ot(""),Cr=new ot("",-1),Sr=new ot("");class Or{get(V,Le=ft){if(Le===ft){const an=Dr("",-201);throw an.name="\u0275NotFound",an}return Le}}function Er(p){return{\u0275providers:p}}function br(p){return Er([{provide:lr,multi:!0,useValue:p}])}function z(...p){return{\u0275providers:dt(0,p),\u0275fromNgModule:!0}}function dt(p,...V){const Le=[],Ft=new Set;let an;const xn=rr=>{Le.push(rr)};return tr(V,rr=>{const Xr=rr;je(Xr,xn,[],Ft)&&(an||=[],an.push(Xr))}),void 0!==an&&he(an,xn),Le}function he(p,V){for(let Le=0;Le<p.length;Le++){const{ngModule:Ft,providers:an}=p[Le];En(an,xn=>{V(xn,Ft)})}}function je(p,V,Le,Ft){if(!(p=oe(p)))return!1;let an=null,xn=Ee(p);const rr=!xn&&Ye(p);if(xn||rr){if(rr&&!rr.standalone)return!1;an=p}else{const Fr=p.ngModule;if(xn=Ee(Fr),!xn)return!1;an=Fr}const Xr=Ft.has(an);if(rr){if(Xr)return!1;if(Ft.add(an),rr.dependencies){const Fr="function"==typeof rr.dependencies?rr.dependencies():rr.dependencies;for(const Br of Fr)je(Br,V,Le,Ft)}}else{if(!xn)return!1;{if(null!=xn.imports&&!Xr){let Br;Ft.add(an),tr(xn.imports,zo=>{je(zo,V,Le,Ft)&&(Br||=[],Br.push(zo))}),void 0!==Br&&he(Br,V)}if(!Xr){const Br=Pn(an)||(()=>new an);V({provide:an,useFactory:Br,deps:Fn},an),V({provide:Sr,useValue:an,multi:!0},an),V({provide:lr,useValue:()=>jn(an),multi:!0},an)}const Fr=xn.providers;if(null!=Fr&&!Xr){const Br=p;En(Fr,zo=>{V(zo,Br)})}}}return an!==p&&void 0!==p.providers}function En(p,V){for(let Le of p)M(Le)&&(Le=Le.\u0275providers),Array.isArray(Le)?En(Le,V):V(Le)}const me=q({provide:String,useValue:q});function Dt(p){return null!==p&&"object"==typeof p&&me in p}function $n(p){return"function"==typeof p}function zn(p){return!!p.useClass}const Hn=new ot(""),In={},Ur={};let Zr;function xr(){return void 0===Zr&&(Zr=new Or),Zr}class ti{}class Rr extends ti{parent;source;scopes;records=new Map;_ngOnDestroyHooks=new Set;_onDestroyHooks=[];get destroyed(){return this._destroyed}_destroyed=!1;injectorDefTypes;constructor(V,Le,Ft,an){super(),this.parent=Le,this.source=Ft,this.scopes=an,wi(V,rr=>this.processProvider(rr)),this.records.set(Cr,ao(void 0,this)),an.has("environment")&&this.records.set(ti,ao(void 0,this));const xn=this.records.get(Hn);null!=xn&&"string"==typeof xn.value&&this.scopes.add(xn.value),this.injectorDefTypes=new Set(this.get(Sr,Fn,{self:!0}))}retrieve(V,Le){const Ft=Ut(Le)||0;try{return this.get(V,ft,Ft)}catch(an){if(j(an))return an;throw an}}destroy(){yi(this),this._destroyed=!0;const V=(0,u.Ht)(null);try{for(const Ft of this._ngOnDestroyHooks)Ft.ngOnDestroy();const Le=this._onDestroyHooks;this._onDestroyHooks=[];for(const Ft of Le)Ft()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),(0,u.Ht)(V)}}onDestroy(V){return yi(this),this._onDestroyHooks.push(V),()=>this.removeOnDestroy(V)}runInContext(V){yi(this);const Le=O(this),Ft=J(void 0);try{return V()}finally{O(Le),J(Ft)}}get(V,Le=ft,Ft){if(yi(this),V.hasOwnProperty(en))return V[en](this);const an=Ut(Ft),rr=O(this),Xr=J(void 0);try{if(!(4&an)){let Br=this.records.get(V);if(void 0===Br){const zo=function Ti(p){return"function"==typeof p||"object"==typeof p&&"InjectionToken"===p.ngMetadataName}(V)&&St(V);Br=zo&&this.injectableDefInScope(zo)?ao(gi(V),In):null,this.records.set(V,Br)}if(null!=Br)return this.hydrate(V,Br,an)}return(2&an?xr():this.parent).get(V,Le=8&an&&Le===ft?null:Le)}catch(Fr){const Br=function vr(p){return p[Nt]}(Fr);throw-200===Br||-201===Br?new tt(Br,null):Fr}finally{J(Xr),O(rr)}}resolveInjectorInitializers(){const V=(0,u.Ht)(null),Le=O(this),Ft=J(void 0);try{const xn=this.get(lr,Fn,{self:!0});for(const rr of xn)rr()}finally{O(Le),J(Ft),(0,u.Ht)(V)}}toString(){return"R3Injector[...]"}processProvider(V){let Le=$n(V=oe(V))?V:oe(V&&V.provide);const Ft=function Ci(p){return Dt(p)?ao(void 0,p.useValue):ao(zi(p),In)}(V);if(!$n(V)&&!0===V.multi){let an=this.records.get(Le);an||(an=ao(void 0,In,!0),an.factory=()=>Wn(an.multi),this.records.set(Le,an)),Le=V,an.multi.push(V)}this.records.set(Le,Ft)}hydrate(V,Le,Ft){const an=(0,u.Ht)(null);try{if(Le.value===Ur)throw Rn();return Le.value===In&&(Le.value=Ur,Le.value=Le.factory(void 0,Ft)),"object"==typeof Le.value&&Le.value&&function _o(p){return null!==p&&"object"==typeof p&&"function"==typeof p.ngOnDestroy}(Le.value)&&this._ngOnDestroyHooks.add(Le.value),Le.value}finally{(0,u.Ht)(an)}}injectableDefInScope(V){if(!V.providedIn)return!1;const Le=oe(V.providedIn);return"string"==typeof Le?"any"===Le||this.scopes.has(Le):this.injectorDefTypes.has(Le)}removeOnDestroy(V){const Le=this._onDestroyHooks.indexOf(V);-1!==Le&&this._onDestroyHooks.splice(Le,1)}}function gi(p){const V=St(p),Le=null!==V?V.factory:Pn(p);if(null!==Le)return Le;if(p instanceof ot)throw new tt(-204,!1);if(p instanceof Function)return function Di(p){if(p.length>0)throw new tt(-204,!1);const Le=function De(p){return(p?.[i]??null)||null}(p);return null!==Le?()=>Le.factory(p):()=>new p}(p);throw new tt(-204,!1)}function zi(p,V,Le){let Ft;if($n(p)){const an=oe(p);return Pn(an)||gi(an)}if(Dt(p))Ft=()=>oe(p.useValue);else if(function Tn(p){return!(!p||!p.useFactory)}(p))Ft=()=>p.useFactory(...Wn(p.deps||[]));else if(function Gt(p){return!(!p||!p.useExisting)}(p))Ft=(an,xn)=>jn(oe(p.useExisting),void 0!==xn&&8&xn?8:void 0);else{const an=oe(p&&(p.useClass||p.provide));if(!function Ao(p){return!!p.deps}(p))return Pn(an)||gi(an);Ft=()=>new an(...Wn(p.deps))}return Ft}function yi(p){if(p.destroyed)throw new tt(-205,!1)}function ao(p,V,Le=!1){return{factory:p,value:V,multi:Le?[]:void 0}}function wi(p,V){for(const Le of p)Array.isArray(Le)?wi(Le,V):Le&&M(Le)?wi(Le.\u0275providers,V):V(Le)}function co(p,V){let Le;p instanceof Rr?(yi(p),Le=p):Le=new on(p);const an=O(Le),xn=J(void 0);try{return V()}finally{O(an),J(xn)}}function Pi(){return void 0!==rn()||null!=E()}function Ri(p){if(!Pi())throw new tt(-203,!1)}const Mi=0,li=1,oi=2,vo=3,yo=4,Lo=5,So=6,Bi=7,Ii=8,Wr=9,si=10,ui=11,qi=12,is=13,ji=14,Ui=15,ki=16,Fo=17,Bo=18,Qr=19,Ai=20,Si=21,Eo=22,$r=23,Ei=24,hi=25,bo=26,eo=27,Xi=6,lo=7,Yo=8,Qi=9,jo=10;function xi(p){return Array.isArray(p)&&"object"==typeof p[1]}function Wi(p){return Array.isArray(p)&&!0===p[1]}function Uo(p){return!!(4&p.flags)}function Zo(p){return p.componentOffset>-1}function uo(p){return!(1&~p.flags)}function Do(p){return!!p.template}function ai(p){return!!(512&p[oi])}function wo(p){return!(256&~p[oi])}function Wo(p,V){Yi(p,V[li])}function Jo(p,V){const Le=V+eo;zt(p,Le),Qe(Le,p[li].bindingStartIndex,"TNodes should be created before any bindings")}function Yi(p,V){be(p);const Le=V.data;for(let Ft=eo;Ft<Le.length;Ft++)if(Le[Ft]===p)return;Ne("This TNode does not belong to this TView.")}function be(p){ht(p,"TNode must be defined"),p&&"object"==typeof p&&p.hasOwnProperty("directiveStylingLast")||Ne("Not of type TNode, got: "+p)}function d(p){ht(p,"Expected TIcu to be defined"),"number"!=typeof p.currentCaseLViewIndex&&Ne("Object is not of TIcu type.")}function y(p,V="Type passed in is not ComponentType, it does not have '\u0275cmp' property."){Ye(p)||Ne(V)}function x(p,V="Type passed in is not NgModuleType, it does not have '\u0275mod' property."){st(p)||Ne(V)}function pe(p){ht(p,"currentTNode should exist!"),ht(p.parent,"currentTNode should have a parent")}function Ze(p){ht(p,"LContainer must be defined"),le(Wi(p),!0,"Expecting LContainer")}function Vt(p){ht(p,"LView must be defined"),le(xi(p),!0,"Expecting LView")}function nn(p,V){le(p.firstCreatePass,!0,V||"Should only be called in first create pass.")}function hn(p,V){le(p.firstUpdatePass,!0,"Should only be called in first update pass.")}function Un(p){(void 0===p.type||null==p.selectors||void 0===p.inputs)&&Ne("Expected a DirectiveDef/ComponentDef and this object does not seem to have the expected shape.")}function Yn(p,V){fr(eo,p.bindingStartIndex,V)}function mr(p,V){fr(p[1].expandoStartIndex,p.length,V)}function fr(p,V,Le){p<=Le&&Le<V||Ne(`Index out of range (expecting ${p} <= ${Le} < ${V})`)}function sr(p,V){ht(p[Ui],"Component views should exist."),ht(p[Ui][Lo].projection,"Components with projection nodes (<ng-content>) must have projection slots defined.")}function dr(p,V){ht(p,"Component views should always have a parent view (component's host view)")}function kr(p,V){mr(p,V),mr(p,V+8),He(p[V+0],"injectorIndex should point to a bloom filter"),He(p[V+1],"injectorIndex should point to a bloom filter"),He(p[V+2],"injectorIndex should point to a bloom filter"),He(p[V+3],"injectorIndex should point to a bloom filter"),He(p[V+4],"injectorIndex should point to a bloom filter"),He(p[V+5],"injectorIndex should point to a bloom filter"),He(p[V+6],"injectorIndex should point to a bloom filter"),He(p[V+7],"injectorIndex should point to a bloom filter"),He(p[V+8],"injectorIndex should point to parent injector")}var Tr=function(p){return p[p.NONE=0]="NONE",p[p.HTML=1]="HTML",p[p.STYLE=2]="STYLE",p[p.SCRIPT=3]="SCRIPT",p[p.URL=4]="URL",p[p.RESOURCE_URL=5]="RESOURCE_URL",p[p.ATTRIBUTE_NO_BINDING=6]="ATTRIBUTE_NO_BINDING",p}(Tr||{});let Lr;const Hr="svg",Vr="math";function Hi(){return Lr||(Lr={},ni(Tr.HTML,void 0,[["iframe",["srcdoc"]],["*",["innerHTML","outerHTML"]]]),ni(Tr.STYLE,void 0,[["*",["style"]]]),ni(Tr.URL,void 0,[["*",["formAction"]],["area",["href"]],["a",["href","xlink:href"]],["form",["action"]],["img",["src"]],["video",["src"]]]),ni(Tr.URL,Vr,[["*",["href","xlink:href"]],["annotation",["href","xlink:href"]],["annotation-xml",["href","xlink:href"]],["maction",["href","xlink:href"]],["malignmark",["href","xlink:href"]],["math",["href","xlink:href"]],["mroot",["href","xlink:href"]],["msqrt",["href","xlink:href"]],["merror",["href","xlink:href"]],["mfrac",["href","xlink:href"]],["mglyph",["href","xlink:href"]],["msub",["href","xlink:href"]],["msup",["href","xlink:href"]],["msubsup",["href","xlink:href"]],["mmultiscripts",["href","xlink:href"]],["mprescripts",["href","xlink:href"]],["mi",["href","xlink:href"]],["mn",["href","xlink:href"]],["mo",["href","xlink:href"]],["mpadded",["href","xlink:href"]],["mphantom",["href","xlink:href"]],["mrow",["href","xlink:href"]],["ms",["href","xlink:href"]],["mspace",["href","xlink:href"]],["mstyle",["href","xlink:href"]],["mtable",["href","xlink:href"]],["mtd",["href","xlink:href"]],["mtr",["href","xlink:href"]],["mtext",["href","xlink:href"]],["mover",["href","xlink:href"]],["munder",["href","xlink:href"]],["munderover",["href","xlink:href"]],["semantics",["href","xlink:href"]],["none",["href","xlink:href"]]]),ni(Tr.RESOURCE_URL,void 0,[["base",["href"]],["embed",["src"]],["frame",["src"]],["iframe",["src"]],["link",["href"]],["object",["codebase","data"]]]),ni(Tr.URL,Hr,[["a",["href","xlink:href"]]]),ni(Tr.ATTRIBUTE_NO_BINDING,Hr,[["animate",["attributeName","values","to","from"]],["set",["to","attributeName"]],["animateMotion",["attributeName"]],["animateTransform",["attributeName"]]]),ni(Tr.ATTRIBUTE_NO_BINDING,void 0,[["unknown",["attributeName","values","to","from","sandbox","allow","allowFullscreen","referrerPolicy","csp","fetchPriority"]],["iframe",["sandbox","allow","allowFullscreen","referrerPolicy","csp","fetchPriority"]]])),Lr}function ni(p,V,Le){for(const[Ft,an]of Le){let xn=V&&"unknown"!==Ft?`:${V}:${Ft}`:Ft;xn=xn.toLowerCase();for(const rr of an)Lr[`${xn}|${rr.toLowerCase()}`]=p}}function zr(p,V,Le){const Ft=Hi(),an=p.toLowerCase(),xn=V.toLowerCase();return(Le&&"*"!==an&&"unknown"!==an?Ft[`:${Le}:${an}|${xn}`]:void 0)??(Le?Ft[`:${Le}:*|${xn}`]:void 0)??Ft[`${an}|${xn}`]??Ft[`*|${xn}`]??Tr.NONE}function Kr(p){for(;Array.isArray(p);)p=p[Mi];return p}function Vi(p){for(;Array.isArray(p);){if("object"==typeof p[1])return p;p=p[Mi]}return null}function Ni(p,V){return Kr(V[p])}function Co(p,V){return Kr(V[p.index])}function Li(p,V){const Le=null===p?-1:p.index;return-1!==Le?Kr(V[Le]):null}function To(p,V){return p.data[V]}function Ho(p,V){return p[V]}function Po(p,V,Le,Ft){Le>=p.data.length&&(p.data[Le]=null,p.blueprint[Le]=null),V[Le]=Ft}function nr(p,V){const Le=V[p];return xi(Le)?Le:Le[Mi]}function Gn(p){return!(4&~p[oi])}function ur(p){return!(128&~p[oi])}function Mr(p){return Wi(p[vo])}function Jr(p,V){return null==V?null:p[V]}function di(p){p[Fo]=0}function qr(p){1024&p[oi]||(p[oi]|=1024,ur(p)&&Ro(p))}function bi(p,V){for(;p>0;)V=V[ji],p--;return V}function Nr(p){return!!(9216&p[oi]||p[Ei]?.dirty)}function to(p){p[si].changeDetectionScheduler?.notify(8),64&p[oi]&&(p[oi]|=1024),Nr(p)&&Ro(p)}function Ro(p){p[si].changeDetectionScheduler?.notify(0);let V=ci(p);for(;null!==V&&!(8192&V[oi])&&(V[oi]|=8192,ur(V));)V=ci(V)}function Gr(p,V){if(wo(p))throw new tt(911,!1);null===p[Si]&&(p[Si]=[]),p[Si].push(V)}function Ki(p,V){if(null===p[Si])return;const Le=p[Si].indexOf(V);-1!==Le&&p[Si].splice(Le,1)}function ci(p){const V=p[vo];return Wi(V)?V[vo]:V}function no(p){return p[Bi]??=[]}function qo(p){return p.cleanup??=[]}function wr(p,V,Le,Ft){const an=no(V);an.push(Le),p.firstCreatePass&&qo(p).push(Ft,an.length-1)}const cr={lFrame:Va(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var fo=function(p){return p[p.Off=0]="Off",p[p.Exhaustive=1]="Exhaustive",p[p.OnlyDirtyViews=2]="OnlyDirtyViews",p}(fo||{});let es=0,fi=!1;function Vo(){return cr.lFrame.elementDepthCount}function ro(){cr.lFrame.elementDepthCount++}function ho(){cr.lFrame.elementDepthCount--}function Mo(){return cr.bindingsEnabled}function ko(){return null!==cr.skipHydrationRootTNode}function xo(p){return cr.skipHydrationRootTNode===p}function io(){cr.bindingsEnabled=!0}function cs(){cr.bindingsEnabled=!1}function hs(){cr.skipHydrationRootTNode=null}function ns(){return cr.lFrame.lView}function Io(){return cr.lFrame.tView}function No(p){return cr.lFrame.contextLView=p,p[Ii]}function ps(p){return cr.lFrame.contextLView=null,p}function os(){let p=Ko();for(;null!==p&&64===p.type;)p=p.parent;return p}function Ko(){return cr.lFrame.currentTNode}function _(){const p=cr.lFrame,V=p.currentTNode;return p.isParent?V:V.parent}function C(p,V){const Le=cr.lFrame;Le.currentTNode=p,Le.isParent=V}function b(){return cr.lFrame.isParent}function S(){cr.lFrame.isParent=!1}function Z(){return cr.lFrame.contextLView}function Je(){return Ne("Must never be called in production mode"),es!==fo.Off}function At(){return Ne("Must never be called in production mode"),es===fo.Exhaustive}function gt(p){Ne("Must never be called in production mode"),es=p}function mn(){return fi}function Sn(p){const V=fi;return fi=p,V}function or(){const p=cr.lFrame;let V=p.bindingRootIndex;return-1===V&&(V=p.bindingRootIndex=p.tView.bindingStartIndex),V}function A(){return cr.lFrame.bindingIndex}function re(p){return cr.lFrame.bindingIndex=p}function c(){return cr.lFrame.bindingIndex++}function T(p){const V=cr.lFrame,Le=V.bindingIndex;return V.bindingIndex=V.bindingIndex+p,Le}function m(){return cr.lFrame.inI18n}function H(p){cr.lFrame.inI18n=p}function et(p,V){const Le=cr.lFrame;Le.bindingIndex=Le.bindingRootIndex=p,Vn(V)}function vn(){return cr.lFrame.currentDirectiveIndex}function Vn(p){cr.lFrame.currentDirectiveIndex=p}function ei(p){const V=cr.lFrame.currentDirectiveIndex;return-1===V?null:p[V]}function ls(){return cr.lFrame.currentQueryIndex}function Zi(p){cr.lFrame.currentQueryIndex=p}function rs(p){const V=p[li];return 2===V.type?V.declTNode:1===V.type?p[Lo]:null}function ua(p,V,Le){if(4&Le){let an=V,xn=p;for(;!(an=an.parent,null!==an||1&Le||(an=rs(xn),null===an||(xn=xn[ji],10&an.type))););if(null===an)return!1;V=an,p=xn}const Ft=cr.lFrame=Ha();return Ft.currentTNode=V,Ft.lView=p,!0}function Ts(p){const V=Ha(),Le=p[li];cr.lFrame=V,V.currentTNode=Le.firstChild,V.lView=p,V.tView=Le,V.contextLView=p,V.bindingIndex=Le.bindingStartIndex,V.inI18n=!1}function Ha(){const p=cr.lFrame,V=null===p?null:p.child;return null===V?Va(p):V}function Va(p){const V={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:p,child:null,inI18n:!1};return null!==p&&(p.child=V),V}function Ka(){const p=cr.lFrame;return cr.lFrame=p.parent,p.currentTNode=null,p.lView=null,p}const Ms=Ka;function $a(){const p=Ka();p.isParent=!0,p.tView=null,p.selectedIndex=-1,p.contextLView=null,p.elementDepthCount=0,p.currentDirectiveIndex=-1,p.currentNamespace=null,p.bindingRootIndex=-1,p.bindingIndex=-1,p.currentQueryIndex=0}function da(p){return(cr.lFrame.contextLView=bi(p,cr.lFrame.contextLView))[Ii]}function za(){return cr.lFrame.selectedIndex}function Mu(p){cr.lFrame.selectedIndex=p}function Iu(){const p=cr.lFrame;return To(p.tView,p.selectedIndex)}function Au(){cr.lFrame.currentNamespace=Hr}function Is(){cr.lFrame.currentNamespace=Vr}function Ls(){!function _s(){cr.lFrame.currentNamespace=null}()}function Fs(){return cr.lFrame.currentNamespace}let Bs=!0;function fa(){return Bs}function Su(p){Bs=p}function Ga(p,V=null,Le=null,Ft){const an=Kc(p,V,Le);return an.resolveInjectorInitializers(),an}function Kc(p,V=null,Le=null,Ft,an=new Set){const xn=[Le||Fn,z(p)];return new Rr(xn,V||xr(),null,an)}class vs{static THROW_IF_NOT_FOUND=ft;static NULL=new Or;static create(V,Le){if(Array.isArray(V))return Ga({name:""},Le,V);{const Ft=V.name??"";return Ga({name:Ft},V.parent,V.providers)}}static \u0275prov=Kt({token:vs,providedIn:"any",factory:()=>jn(Cr)});static __NG_ELEMENT_ID__=-1}const ha=new ot("");let ys=(()=>class p{static __NG_ELEMENT_ID__=Xa;static __NG_ENV_ID__=Le=>Le})();class js extends ys{_lView;constructor(V){super(),this._lView=V}get destroyed(){return wo(this._lView)}onDestroy(V){const Le=this._lView;return Gr(Le,V),()=>Ki(Le,V)}}function Xa(){return new js(ns())}const As=!1,Us=new ot("");let ge=(()=>{class p{taskId=0;pendingTasks=new Set;destroyed=!1;pendingTask=new h.t(!1);debugTaskTracker=gn(Us,{optional:!0});get hasPendingTasks(){return!this.destroyed&&this.pendingTask.value}get hasPendingTasksObservable(){return this.destroyed?new g.c(Le=>{Le.next(!1),Le.complete()}):this.pendingTask}add(){!this.hasPendingTasks&&!this.destroyed&&this.pendingTask.next(!0);const Le=this.taskId++;return this.pendingTasks.add(Le),this.debugTaskTracker?.add(Le),Le}has(Le){return this.pendingTasks.has(Le)}remove(Le){this.pendingTasks.delete(Le),this.debugTaskTracker?.remove(Le),0===this.pendingTasks.size&&this.hasPendingTasks&&this.pendingTask.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks&&this.pendingTask.next(!1),this.destroyed=!0,this.pendingTask.unsubscribe()}static \u0275prov=Kt({token:p,providedIn:"root",factory:()=>new p})}return p})();const ae=class G extends Q.B{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(V=!1){super(),this.__isAsync=V,Pi()&&(this.destroyRef=gn(ys,{optional:!0})??void 0,this.pendingTasks=gn(ge,{optional:!0})??void 0)}emit(V){const Le=(0,u.Ht)(null);try{super.next(V)}finally{(0,u.Ht)(Le)}}subscribe(V,Le,Ft){let an=V,xn=Le||(()=>null),rr=Ft;if(V&&"object"==typeof V){const Fr=V;an=Fr.next?.bind(Fr),xn=Fr.error?.bind(Fr),rr=Fr.complete?.bind(Fr)}this.__isAsync&&(xn=this.wrapInTimeout(xn),an&&(an=this.wrapInTimeout(an)),rr&&(rr=this.wrapInTimeout(rr)));const Xr=super.subscribe({next:an,error:xn,complete:rr});return V instanceof D.yU&&V.add(Xr),Xr}wrapInTimeout(V){return Le=>{const Ft=this.pendingTasks?.add();setTimeout(()=>{try{V(Le)}finally{void 0!==Ft&&this.pendingTasks?.remove(Ft)}})}}};function vt(...p){}function tn(p){let V,Le;function Ft(){p=vt;try{void 0!==Le&&"function"==typeof cancelAnimationFrame&&cancelAnimationFrame(Le),void 0!==V&&clearTimeout(V)}catch{}}return V=setTimeout(()=>{p(),Ft()}),"function"==typeof requestAnimationFrame&&(Le=requestAnimationFrame(()=>{p(),Ft()})),()=>Ft()}function yn(p){return queueMicrotask(()=>p()),()=>{p=vt}}const Jn="isAngularZone",hr=Jn+"_ID";let yr=0;class Pr{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new ae(!1);onMicrotaskEmpty=new ae(!1);onStable=new ae(!1);onError=new ae(!1);constructor(V){const{enableLongStackTrace:Le=!1,shouldCoalesceEventChangeDetection:Ft=!1,shouldCoalesceRunChangeDetection:an=!1,scheduleInRootZone:xn=As}=V;if(typeof Zone>"u")throw new tt(908,!1);Zone.assertZonePatched();const rr=this;rr._nesting=0,rr._outer=rr._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(rr._inner=rr._inner.fork(new Zone.TaskTrackingZoneSpec)),Le&&Zone.longStackTraceZoneSpec&&(rr._inner=rr._inner.fork(Zone.longStackTraceZoneSpec)),rr.shouldCoalesceEventChangeDetection=!an&&Ft,rr.shouldCoalesceRunChangeDetection=an,rr.callbackScheduled=!1,rr.scheduleInRootZone=xn,function oo(p){const V=()=>{!function _i(p){function V(){tn(()=>{p.callbackScheduled=!1,$i(p),p.isCheckStableRunning=!0,ri(p),p.isCheckStableRunning=!1})}p.isCheckStableRunning||p.callbackScheduled||(p.callbackScheduled=!0,p.scheduleInRootZone?Zone.root.run(()=>{V()}):p._outer.run(()=>{V()}),$i(p))}(p)},Le=yr++;p._inner=p._inner.fork({name:"angular",properties:{[Jn]:!0,[hr]:Le,[hr+Le]:!0},onInvokeTask:(Ft,an,xn,rr,Xr,Fr)=>{if(function us(p){return so(p,"__ignore_ng_zone__")}(Fr))return Ft.invokeTask(xn,rr,Xr,Fr);try{return $o(p),Ft.invokeTask(xn,rr,Xr,Fr)}finally{(p.shouldCoalesceEventChangeDetection&&"eventTask"===rr.type||p.shouldCoalesceRunChangeDetection)&&V(),ss(p)}},onInvoke:(Ft,an,xn,rr,Xr,Fr,Br)=>{try{return $o(p),Ft.invoke(xn,rr,Xr,Fr,Br)}finally{p.shouldCoalesceRunChangeDetection&&!p.callbackScheduled&&!function Ss(p){return so(p,"__scheduler_tick__")}(Fr)&&V(),ss(p)}},onHasTask:(Ft,an,xn,rr)=>{Ft.hasTask(xn,rr),an===xn&&("microTask"==rr.change?(p._hasPendingMicrotasks=rr.microTask,$i(p),ri(p)):"macroTask"==rr.change&&(p.hasPendingMacrotasks=rr.macroTask))},onHandleError:(Ft,an,xn,rr)=>(Ft.handleError(xn,rr),p.runOutsideAngular(()=>p.onError.emit(rr)),!1)})}(rr)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get(Jn)}static assertInAngularZone(){if(!Pr.isInAngularZone())throw new tt(909,!1)}static assertNotInAngularZone(){if(Pr.isInAngularZone())throw new tt(909,!1)}run(V,Le,Ft){return this._inner.run(V,Le,Ft)}runTask(V,Le,Ft,an){const xn=this._inner,rr=xn.scheduleEventTask("NgZoneEvent: "+an,V,_r,vt,vt);try{return xn.runTask(rr,Le,Ft)}finally{xn.cancelTask(rr)}}runGuarded(V,Le,Ft){return this._inner.runGuarded(V,Le,Ft)}runOutsideAngular(V){return this._outer.run(V)}}const _r={};function ri(p){if(0==p._nesting&&!p.hasPendingMicrotasks&&!p.isStable)try{p._nesting++,p.onMicrotaskEmpty.emit(null)}finally{if(p._nesting--,!p.hasPendingMicrotasks)try{p.runOutsideAngular(()=>p.onStable.emit(null))}finally{p.isStable=!0}}}function $i(p){p.hasPendingMicrotasks=!!(p._hasPendingMicrotasks||(p.shouldCoalesceEventChangeDetection||p.shouldCoalesceRunChangeDetection)&&!0===p.callbackScheduled)}function $o(p){p._nesting++,p.isStable&&(p.isStable=!1,p.onUnstable.emit(null))}function ss(p){p._nesting--,ri(p)}class gs{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new ae;onMicrotaskEmpty=new ae;onStable=new ae;onError=new ae;run(V,Le,Ft){return V.apply(Le,Ft)}runGuarded(V,Le,Ft){return V.apply(Le,Ft)}runOutsideAngular(V){return V()}runTask(V,Le,Ft,an){return V.apply(Le,Ft)}}function so(p,V){return!(!Array.isArray(p)||1!==p.length)&&!0===p[0]?.data?.[V]}class Qa{_console=console;handleError(V){this._console.error("ERROR",V)}}const Ya=new ot("",{factory:()=>{const p=gn(Pr),V=gn(ti);let Le;return Ft=>{p.runOutsideAngular(()=>{V.destroyed&&!Le?setTimeout(()=>{throw Ft}):(Le??=V.get(Qa),Le.handleError(Ft))})}}}),Za={provide:lr,useValue:()=>{gn(Qa,{optional:!0})},multi:!0};function ah(p,V){const[Le,Ft,an]=(0,u.n5)(p,V?.equal),xn=Le;return xn.set=Ft,xn.update=an,xn.asReadonly=Ou.bind(xn),xn}function Ou(){const p=this[u.bh];if(void 0===p.readonlyFn){const V=()=>this();V[u.bh]=p,p.readonlyFn=V}return p.readonlyFn}function ch(p,V){if(null!==(0,u.nR)())throw new tt(-602,!1)}let zc=(()=>class p{view;node;constructor(Le,Ft){this.view=Le,this.node=Ft}static __NG_ELEMENT_ID__=lh})();function lh(){return new zc(ns(),os())}class Ja{}const pa=new ot("",{factory:()=>!0}),ga=new ot("",{factory:()=>!1}),Gc=new ot("");let Xc=(()=>{class p{internalPendingTasks=gn(ge);scheduler=gn(Ja);errorHandler=gn(Ya);add(){const Le=this.internalPendingTasks.add();return()=>{this.internalPendingTasks.has(Le)&&(this.scheduler.notify(11),this.internalPendingTasks.remove(Le))}}run(Le){const Ft=this.add();Le().catch(this.errorHandler).finally(Ft)}static \u0275prov=Kt({token:p,providedIn:"root",factory:()=>new p})}return p})(),qa=(()=>{class p{static \u0275prov=Kt({token:p,providedIn:"root",factory:()=>new Qc})}return p})();class Qc{dirtyEffectCount=0;queues=new Map;add(V){this.enqueue(V),this.schedule(V)}schedule(V){V.dirty&&this.dirtyEffectCount++}remove(V){const Ft=this.queues.get(V.zone);Ft.has(V)&&(Ft.delete(V),V.dirty&&this.dirtyEffectCount--)}enqueue(V){const Le=V.zone;this.queues.has(Le)||this.queues.set(Le,new Set);const Ft=this.queues.get(Le);Ft.has(V)||Ft.add(V)}flush(){for(;this.dirtyEffectCount>0;){let V=!1;for(const[Le,Ft]of this.queues)V||=null===Le?this.flushQueue(Ft):Le.run(()=>this.flushQueue(Ft));V||(this.dirtyEffectCount=0)}}flushQueue(V){let Le=!1;for(const Ft of V)Ft.dirty&&(this.dirtyEffectCount--,Le=!0,Ft.run());return Le}}class ec{[u.bh];constructor(V){this[u.bh]=V}destroy(){this[u.bh].destroy()}}function Yc(p,V){const Le=V?.injector??gn(vs);let an,Ft=!0!==V?.manualCleanup?Le.get(ys):null;const xn=Le.get(zc,null,{optional:!0}),rr=Le.get(Ja);return null!==xn?(an=function wu(p,V,Le){const Ft=Object.create(Os);return Ft.view=p,Ft.zone=typeof Zone<"u"?Zone.current:null,Ft.notifier=V,Ft.fn=_a(Ft,Le),p[$r]??=ne
1w Set,p[$r].add(Ft),Ft.consumerMarkedDirty(Ft),Ft}(xn.view,rr,p),Ft instanceof js&&Ft._lView===xn.view&&(Ft=null)):an=function ma(p,V,Le){const Ft=Object.create(Zc);return Ft.fn=_a(Ft,p),Ft.scheduler=V,Ft.notifier=Le,Ft.zone=typeof Zone<"u"?Zone.current:null,Ft.scheduler.add(Ft),Ft.notifier.notify(12),Ft}(p,Le.get(qa),rr),an.injector=Le,null!==Ft&&(an.onDestroyFns=[Ft.onDestroy(()=>an.destroy())]),new ec(an)}const Ws={...u.vX,cleanupFns:void 0,zone:null,onDestroyFns:null,run(){const p=Sn(!1);try{(0,u.lh)(this)}finally{Sn(p)}},cleanup(){if(!this.cleanupFns?.length)return;const p=(0,u.Ht)(null);try{for(;this.cleanupFns.length;)this.cleanupFns.pop()()}finally{this.cleanupFns=[],(0,u.Ht)(p)}}},Zc={...Ws,consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(12)},destroy(){if((0,u.XR)(this),null!==this.onDestroyFns)for(const p of this.onDestroyFns)p();this.cleanup(),this.scheduler.remove(this)}},Os={...Ws,consumerMarkedDirty(){this.view[oi]|=8192,Ro(this.view),this.notifier.notify(13)},destroy(){if((0,u.XR)(this),null!==this.onDestroyFns)for(const p of this.onDestroyFns)p();this.cleanup(),this.view[$r]?.delete(this)}};function _a(p,V){return()=>{V(Le=>(p.cleanupFns??=[]).push(Le))}}},7511(Yt,ve,a){a.d(ve,{Zf:()=>L,EW:()=>Fe,uu:()=>nt,O8:()=>Ve}),a(9204);var h=a(6563),g=a(9843);function Q(Be,$e,Te){const le=Object.create(E);le.source=Be,le.computation=$e,null!=Te&&(le.equal=Te);const Ie=()=>{if((0,g.JC)(le),(0,g.mK)(le),le.value===g.EF)throw le.error;return le.value};return Ie[g.bh]=le,(0,g.a7)(le),Ie}const E={...g.pL,value:g.Ag,dirty:!0,error:null,equal:g.H8,kind:"linkedSignal",producerMustRecompute:Be=>Be.value===g.Ag||Be.value===g.Ny,producerRecomputeValue(Be){if(Be.value===g.Ny)throw new Error("");const $e=Be.value;Be.value=g.Ny;const Te=(0,g.Bg)(Be);let le,pt=!1;try{const Ie=Be.source(),ze=$e!==g.Ag&&$e!==g.EF;le=Be.computation(Ie,ze?{source:Be.sourceValue,value:$e}:void 0),Be.sourceValue=Ie,(0,g.Ht)(null),pt=ze&&le!==g.EF&&Be.equal($e,le)}catch(Ie){le=g.EF,Be.error=Ie}finally{(0,g.Wu)(Be,Te)}pt?Be.value=$e:(Be.value=le,Be.version++)}};class L{destroyed=!1;listeners=null;errorHandler=(0,h.WQX)(h.zcH,{optional:!0});destroyRef=(0,h.WQX)(h.abz);constructor(){this.destroyRef.onDestroy(()=>{this.destroyed=!0,this.listeners=null})}subscribe($e){if(this.destroyed)throw new h.buA(953,!1);return(this.listeners??=[]).push($e),{unsubscribe:()=>{const Te=this.listeners?.indexOf($e);void 0!==Te&&-1!==Te&&this.listeners?.splice(Te,1)}}}emit($e){if(this.destroyed)return void console.warn((0,h.OsK)(953,!1));if(null===this.listeners)return;const Te=(0,g.Ht)(null);try{for(const le of this.listeners)try{le($e)}catch(pt){this.errorHandler?.handleError(pt)}}finally{(0,g.Ht)(Te)}}}function Ve(Be){return function O(Be){const $e=(0,g.Ht)(null);try{return Be()}finally{(0,g.Ht)($e)}}(Be)}function Fe(Be,$e){return(0,g.KZ)(Be,$e?.equal)}const tt=Be=>Be;function nt(Be,$e){return Rt("function"==typeof Be?Q(Be,tt,$e?.equal):Q(Be.source,Be.computation,Be.equal))}function Rt(Be,$e){const Te=Be[g.bh],le=Be;return le.set=pt=>function D(Be,$e){(0,g.JC)(Be),(0,g.j2)(Be,$e),(0,g.TO)(Be)}(Te,pt),le.update=pt=>function I(Be,$e){if((0,g.JC)(Be),Be.value===g.EF)throw Be.error;(0,g.mC)(Be,$e),(0,g.TO)(Be)}(Te,pt),le.asReadonly=h.HO5.bind(Be),le}Error,Error},7580(Yt,ve,a){a.d(ve,{CGW:()=>wi,ES_:()=>Ao,Hbi:()=>ns,Jn2:()=>Ei,L39:()=>H,MKu:()=>ko,SmG:()=>Vt,TL3:()=>Io,Udg:()=>et,_q3:()=>ro,a0P:()=>ha,ebz:()=>oi,gRc:()=>qr,hFB:()=>Ri,naY:()=>Pt});var Hn=a(6124),In=a(6563),Ur=a(7511),Zr=a(7092),xr=a(9843);const ti=Symbol("InputSignalNode#UNSET"),Rr={...xr.s0,transformFn:void 0,applyValueToInputSignal(ge,G){(0,xr.j2)(ge,G)}};function Di(ge,G){const ae=Object.create(Rr);function vt(){if((0,xr.mK)(ae),ae.value===ti)throw new In.buA(-950,null);return ae.value}return ae.value=ge,ae.transformFn=G?.transform,vt[xr.bh]=ae,vt}class Ao{attributeName;constructor(G){this.attributeName=G}__NG_ELEMENT_ID__=()=>(0,Hn.kS0)(this.attributeName);toString(){return`HostAttributeToken ${this.attributeName}`}}function wi(ge){return new Ur.Zf}function co(ge,G){return Di(ge,G)}const Ri=(co.required=function Pi(ge){return Di(ti,ge)},co);function Mi(ge,G){return(0,Hn.mU9)(G)}const oi=(Mi.required=function li(ge,G){return(0,Hn.hnC)(G)},Mi);let Si=(()=>{class ge{zone=(0,In.WQX)(In.SKi);
vendor: 14,844 bytes, line 1
1changeDetectionScheduler=(0,In.WQX)(In.hk6);applicationRef=(0,In.WQX)(Hn.o8S);applicationErrorHandler=(0,In.WQX)(In.ZTf);_onMicrotaskEmptySubscription;initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{try{this.applicationRef.dirtyFlags|=1,this.applicationRef._tick()}catch(ae){this.applicationErrorHandler(ae)}})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static \u0275fac=function(vt){return new(vt||ge)};static \u0275prov=(0,In.jDH)({token:ge,factory:ge.\u0275fac,providedIn:"root"})}return ge})();const Eo=new In.nKC("",{factory:()=>!1});function Ei(ge){const G=ge?.scheduleInRootZone,ae=function $r({ngZoneFactory:ge,scheduleInRootZone:G}){return ge??=()=>new In.SKi({...hi(),scheduleInRootZone:G}),[{provide:In.Evm,useValue:!1},{provide:In.SKi,useFactory:ge},{provide:In.Z63,multi:!0,useFactory:()=>{const ae=(0,In.WQX)(Si,{optional:!0});return()=>ae.initialize()}},{provide:In.Z63,multi:!0,useFactory:()=>{const ae=(0,In.WQX)(bo);return()=>{ae.initialize()}}},{provide:In.AQb,useValue:G??In.kHH}]}({ngZoneFactory:()=>{const vt=hi(ge);return vt.scheduleInRootZone=G,vt.shouldCoalesceEventChangeDetection&&(0,Hn._jY)("NgZone_CoalesceEvent"),new In.SKi(vt)},scheduleInRootZone:G});return(0,In.EmA)([{provide:Eo,useValue:!0},ae])}function hi(ge){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:ge?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:ge?.runCoalescing??!1}}let bo=(()=>{class ge{subscription=new Zr.yU;initialized=!1;zone=(0,In.WQX)(In.SKi);pendingTasks=(0,In.WQX)(In.rev);initialize(){if(this.initialized)return;this.initialized=!0;let ae=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(ae=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{In.SKi.assertNotInAngularZone(),queueMicrotask(()=>{null!==ae&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(ae),ae=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{In.SKi.assertInAngularZone(),ae??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static \u0275fac=function(vt){return new(vt||ge)};static \u0275prov=(0,In.jDH)({token:ge,factory:ge.\u0275fac,providedIn:"root"})}return ge})();const Qi=new In.nKC(""),jo=new In.nKC("");function xi(ge){return!ge.moduleRef}let mi=null;function Pt(){return!1}function Vt(){}let qr=(()=>class ge{static __NG_ELEMENT_ID__=bi})();function bi(ge){return function Nr(ge,G,ae){if((0,In.Qs1)(ge)&&!ae){const vt=(0,In.KdJ)(ge.index,G);return new Hn.NCX(vt,vt)}return 175&ge.type?new Hn.NCX(G[In.b5C],G):null}((0,In.Mx4)(),(0,In.OAn)(),!(16&~ge))}class Gr{supports(G){return(0,Hn.ozJ)(G)}create(G){return new ci(G)}}const Ki=(ge,G)=>G;class ci{length=0;collection;_linkedRecords=null;_unlinkedRecords=null;_previousItHead=null;_itHead=null;_itTail=null;_additionsHead=null;_additionsTail=null;_movesHead=null;_movesTail=null;_removalsHead=null;_removalsTail=null;_identityChangesHead=null;_identityChangesTail=null;_trackByFn;constructor(G){this._trackByFn=G||Ki}forEachItem(G){let ae;for(ae=this._itHead;null!==ae;ae=ae._next)G(ae)}forEachOperation(G){let ae=this._itHead,vt=this._removalsHead,tn=0,yn=null;for(;ae||vt;){const Nn=!vt||ae&&ae.currentIndex<cr(vt,tn,yn)?ae:vt,Jn=cr(Nn,tn,yn),hr=Nn.currentIndex;if(Nn===vt)tn--,vt=vt._nextRemoved;else if(ae=ae._next,null==Nn.previousIndex)tn++;else{yn||(yn=[]);const yr=Jn-tn,Pr=hr-tn;if(yr!=Pr){for(let ri=0;ri<yr;ri++){const _i=ri<yn.length?yn[ri]:yn[ri]=0,oo=_i+ri;Pr<=oo&&oo<yr&&(yn[ri]=_i+1)}yn[Nn.previousIndex]=Pr-yr}}Jn!==hr&&G(Nn,Jn,hr)}}forEachPreviousItem(G){let ae;for(ae=this._previousItHead;null!==ae;ae=ae._nextPrevious)G(ae)}forEachAddedItem(G){let ae;for(ae=this._additionsHead;null!==ae;ae=ae._nextAdded)G(ae)}forEachMovedItem(G){let ae;for(ae=this._movesHead;null!==ae;ae=ae._nextMoved)G(ae)}forEachRemovedItem(G){let ae;for(ae=this._removalsHead;null!==ae;ae=ae._nextRemoved)G(ae)}forEachIdentityChange(G){let ae;for(ae=this._identityChangesHead;null!==ae;ae=ae._nextIdentityChange)G(ae)}diff(G){if(null==G&&(G=[]),!(0,Hn.ozJ)(G))throw new In.buA(900,!1);return this.check(G)?this:null}onDestroy(){}check(G){this._reset();let tn,yn,Nn,ae=this._itHead,vt=!1;if(Array.isArray(G)){this.length=G.length;for(let Jn=0;Jn<this.length;Jn++)yn=G[Jn],Nn=this._trackByFn(Jn,yn),null!==ae&&Object.is(ae.trackById,Nn)?(vt&&(ae=this._verifyReinsertion(ae,yn,Nn,Jn)),Object.is(ae.item,yn)||this._addIdentityChange(ae,yn)):(ae=this._mismatch(ae,yn,Nn,Jn),vt=!0),ae=ae._next}else tn=0,(0,Hn.utN)(G,Jn=>{Nn=this._trackByFn(tn,Jn),null!==ae&&Object.is(ae.trackById,Nn)?(vt&&(ae=this._verifyReinsertion(ae,Jn,Nn,tn)),Object.is(ae.item,Jn)||this._addIdentityChange(ae,Jn)):(ae=this._mismatch(ae,Jn,Nn,tn),vt=!0),ae=ae._next,tn++}),this.length=tn;return this._truncate(ae),this.collection=G,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let G;for(G=this._previousItHead=this._itHead;null!==G;G=G._next)G._nextPrevious=G._next;for(G=this._additionsHead;null!==G;G=G._nextAdded)G.previousIndex=G.currentIndex;for(this._additionsHead=this._additionsTail=null,G=this._movesHead;null!==G;G=G._nextMoved)G.previousIndex=G.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(G,ae,vt,tn){let yn;return null===G?yn=this._itTail:(yn=G._prev,this._remove(G)),null!==(G=null===this._unlinkedRecords?null:this._unlinkedRecords.get(vt,null))?(Object.is(G.item,ae)||this._addIdentityChange(G,ae),this._reinsertAfter(G,yn,tn)):null!==(G=null===this._linkedRecords?null:this._linkedRecords.get(vt,tn))?(Object.is(G.item,ae)||this._addIdentityChange(G,ae),this._moveAfter(G,yn,tn)):G=this._addAfter(new no(ae,vt),yn,tn),G}_verifyReinsertion(G,ae,vt,tn){let yn=null===this._unlinkedRecords?null:this._unlinkedRecords.get(vt,null);return null!==yn?G=this._reinsertAfter(yn,G._prev,tn):G.currentIndex!=tn&&(G.currentIndex=tn,this._addToMoves(G,tn)),G}_truncate(G){for(;null!==G;){const ae=G._next;this._addToRemovals(this._unlink(G)),G=ae}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(G,ae,vt){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(G);const tn=G._prevRemoved,yn=G._nextRemoved;return null===tn?this._removalsHead=yn:tn._nextRemoved=yn,null===yn?this._removalsTail=tn:yn._prevRemoved=tn,this._insertAfter(G,ae,vt),this._addToMoves(G,vt),G}_moveAfter(G,ae,vt){return this._unlink(G),this._insertAfter(G,ae,vt),this._addToMoves(G,vt),G}_addAfter(G,ae,vt){return this._insertAfter(G,ae,vt),this._additionsTail=null===this._additionsTail?this._additionsHead=G:this._additionsTail._nextAdded=G,G}_insertAfter(G,ae,vt){const tn=null===ae?this._itHead:ae._next;return G._next=tn,G._prev=ae,null===tn?this._itTail=G:tn._prev=G,null===ae?this._itHead=G:ae._next=G,null===this._linkedRecords&&(this._linkedRecords=new wr),this._linkedRecords.put(G),G.currentIndex=vt,G}_remove(G){return this._addToRemovals(this._unlink(G))}_unlink(G){null!==this._linkedRecords&&this._linkedRecords.remove(G);const ae=G._prev,vt=G._next;return null===ae?this._itHead=vt:ae._next=vt,null===vt?this._itTail=ae:vt._prev=ae,G}_addToMoves(G,ae){return G.previousIndex===ae||(this._movesTail=null===this._movesTail?this._movesHead=G:this._movesTail._nextMoved=G),G}_addToRemovals(G){return null===this._unlinkedRecords&&(this._unlinkedRecords=new wr),this._unlinkedRecords.put(G),G.currentIndex=null,G._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=G,G._prevRemoved=null):(G._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=G),G}_addIdentityChange(G,ae){return G.item=ae,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=G:this._identityChangesTail._nextIdentityChange=G,G}}class no{item;trackById;currentIndex=null;previousIndex=null;_nextPrevious=null;_prev=null;_next=null;_prevDup=null;_nextDup=null;_prevRemoved=null;_nextRemoved=null;_nextAdded=null;_nextMoved=null;_nextIdentityChange=null;constructor(G,ae){this.item=G,this.trackById=ae}}class qo{_head=null;_tail=null;add(G){null===this._head?(this._head=this._tail=G,G._nextDup=null,G._prevDup=null):(this._tail._nextDup=G,G._prevDup=this._tail,G._nextDup=null,this._tail=G)}get(G,ae){let vt;for(vt=this._head;null!==vt;vt=vt._nextDup)if((null===ae||ae<=vt.currentIndex)&&Object.is(vt.trackById,G))return vt;return null}remove(G){const ae=G._prevDup,vt=G._nextDup;return null===ae?this._head=vt:ae._nextDup=vt,null===vt?this._tail=ae:vt._prevDup=ae,null===this._head}}class wr{map=new Map;put(G){const ae=G.trackById;let vt=this.map.get(ae);vt||(vt=new qo,this.map.set(ae,vt)),vt.add(G)}get(G,ae){const tn=this.map.get(G);return tn?tn.get(G,ae):null}remove(G){const ae=G.trackById;return this.map.get(ae).remove(G)&&this.map.delete(ae),G}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function cr(ge,G,ae){const vt=ge.previousIndex;if(null===vt)return vt;let tn=0;return ae&&vt<ae.length&&(tn=ae[vt]),vt+G+tn}class fo{supports(G){return G instanceof Map||(0,Hn.vDg)(G)}create(){return new es}}class es{_records=new Map;_mapHead=null;_appendAfter=null;_previousMapHead=null;_changesHead=null;_changesTail=null;_additionsHead=null;_additionsTail=null;_removalsHead=null;get isDirty(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead}forEachItem(G){let ae;for(ae=this._mapHead;null!==ae;ae=ae._next)G(ae)}forEachPreviousItem(G){let ae;for(ae=this._previousMapHead;null!==ae;ae=ae._nextPrevious)G(ae)}forEachChangedItem(G){let ae;for(ae=this._changesHead;null!==ae;ae=ae._nextChanged)G(ae)}forEachAddedItem(G){let ae;for(ae=this._additionsHead;null!==ae;ae=ae._nextAdded)G(ae)}forEachRemovedItem(G){let ae;for(ae=this._removalsHead;null!==ae;ae=ae._nextRemoved)G(ae)}diff(G){if(G){if(!(G instanceof Map||(0,Hn.vDg)(G)))throw new In.buA(900,!1)}else G=new Map;return this.check(G)?this:null}check(G){this._reset();let ae=this._mapHead;if(this._appendAfter=null,this._forEach(G,(vt,tn)=>{if(ae&&ae.key===tn)this._maybeAddToChanges(ae,vt),this._appendAfter=ae,ae=ae._next;else{const yn=this._getOrCreateRecordForKey(tn,vt);ae=this._insertBeforeOrAppend(ae,yn)}}),ae){ae._prev&&(ae._prev._next=null),this._removalsHead=ae;for(let vt=ae;null!==vt;vt=vt._nextRemoved)vt===this._mapHead&&(this._mapHead=null),this._records.delete(vt.key),vt._nextRemoved=vt._next,vt.previousValue=vt.currentValue,vt.currentValue=null,vt._prev=null,vt._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(G,ae){if(G){const vt=G._prev;return ae._next=G,ae._prev=vt,G._prev=ae,vt&&(vt._next=ae),G===this._mapHead&&(this._mapHead=ae),this._appendAfter=G,G}return this._appendAfter?(this._appendAfter._next=ae,ae._prev=this._appendAfter):this._mapHead=ae,this._appendAfter=ae,null}_getOrCreateRecordForKey(G,ae){if(this._records.has(G)){const tn=this._records.get(G);this._maybeAddToChanges(tn,ae);const yn=tn._prev,Nn=tn._next;return yn&&(yn._next=Nn),Nn&&(Nn._prev=yn),tn._next=null,tn._prev=null,tn}const vt=new fi(G);return this._records.set(G,vt),vt.currentValue=ae,this._addToAdditions(vt),vt}_reset(){if(this.isDirty){let G;for(this._previousMapHead=this._mapHead,G=this._previousMapHead;null!==G;G=G._next)G._nextPrevious=G._next;for(G=this._changesHead;null!==G;G=G._nextChanged)G.previousValue=G.currentValue;for(G=this._additionsHead;null!=G;G=G._nextAdded)G.previousValue=G.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(G,ae){Object.is(ae,G.currentValue)||(G.previousValue=G.currentValue,G.currentValue=ae,this._addToChanges(G))}_addToAdditions(G){null===this._additionsHead?this._additionsHead=this._additionsTail=G:(this._additionsTail._nextAdded=G,this._additionsTail=G)}_addToChanges(G){null===this._changesHead?this._changesHead=this._changesTail=G:(this._changesTail._nextChanged=G,this._changesTail=G)}_forEach(G,ae){G instanceof Map?G.forEach(ae):Object.keys(G).forEach(vt=>ae(G[vt],vt))}}class fi{key;previousValue=null;currentValue=null;_nextPrevious=null;_next=null;_prev=null;_nextAdded=null;_nextRemoved=null;_nextChanged=null;constructor(G){this.key=G}}function Vo(){return new ro([new Gr])}let ro=(()=>{class ge{factories;static \u0275prov=(0,In.jDH)({token:ge,providedIn:"root",factory:Vo});constructor(ae){this.factories=ae}static create(ae,vt){if(null!=vt){const tn=vt.factories.slice();ae=ae.concat(tn)}return new ge(ae)}static extend(ae){return{provide:ge,useFactory:()=>{const vt=(0,In.WQX)(ge,{optional:!0,skipSelf:!0});return ge.create(ae,vt||Vo())}}}find(ae){const vt=this.factories.find(tn=>tn.supports(ae));if(null!=vt)return vt;throw new In.buA(901,!1)}}return ge})();function Mo(){return new ko([new fo])}let ko=(()=>{class ge{static \u0275prov=(0,In.jDH)({token:ge,providedIn:"root",factory:Mo});factories;constructor(ae){this.factories=ae}static create(ae,vt){if(vt){const tn=vt.factories.slice();ae=ae.concat(tn)}return new ge(ae)}static extend(ae){return{provide:ge,useFactory:()=>{const vt=(0,In.WQX)(ge,{optional:!0,skipSelf:!0});return ge.create(ae,vt||Mo())}}}find(ae){const vt=this.factories.find(tn=>tn.supports(ae));if(vt)return vt;throw new In.buA(901,!1)}}return ge})(),ns=(()=>{class ge{constructor(ae){}static \u0275fac=function(vt){return new(vt||ge)((0,In.KVO)(Hn.o8S))};static \u0275mod=(0,Hn.$C)({type:ge});static \u0275inj=(0,In.G2t)({})}return ge})();function Io(ge){const{rootComponent:G,appProviders:ae,platformProviders:vt,platformRef:tn}=ge;(0,Hn.Ef8)(Hn.mS5.BootstrapApplicationStart);try{const yn=tn?.injector??function d(ge=[]){if(mi)return mi;(0,Hn.pl0)();const G=function Wo(ge=[],G){return In.zZn.create({name:G,providers:[{provide:In.GBX,useValue:"platform"},{provide:Qi,useValue:new Set([()=>mi=null])},...ge]})}(ge);return mi=G,(0,Hn.ypd)(),function x(ge){const G=ge.get(Hn.PLl,null);(0,In.N4e)(ge,()=>{G?.forEach(ae=>ae())})}(G),G}(vt),Nn=[(0,Hn.rpG)(),In.gv8,...ae||[]];return function Wi(ge){const G=xi(ge)?ge.r3Injector:ge.moduleRef.injector,ae=G.get(In.SKi);return ae.run(()=>
1{xi(ge)?ge.r3Injector.resolveInjectorInitializers():ge.moduleRef.resolveInjectorInitializers();const vt=G.get(In.ZTf);let tn;if(ae.runOutsideAngular(()=>{tn=ae.onError.subscribe({next:vt})}),xi(ge)){const yn=()=>G.destroy(),Nn=ge.platformInjector.get(Qi);Nn.add(yn),G.onDestroy(()=>{tn.unsubscribe(),Nn.delete(yn)})}else{const yn=()=>ge.moduleRef.destroy(),Nn=ge.platformInjector.get(Qi);Nn.add(yn),ge.moduleRef.onDestroy(()=>{(0,Hn.TFI)(ge.allPlatformModules,ge.moduleRef),tn.unsubscribe(),Nn.delete(yn)})}return function Do(ge,G,ae){try{const vt=ae();return(0,Hn.yLl)(vt)?vt.catch(tn=>{throw G.runOutsideAngular(()=>ge(tn)),tn}):vt}catch(vt){throw G.runOutsideAngular(()=>ge(vt)),vt}}(vt,ae,()=>{const yn=G.get(In.rev),Nn=yn.add(),Jn=G.get(Hn.H1s);return Jn.runInitializers(),Jn.donePromise.then(()=>{const hr=G.get(Hn.xe9,Hn.DkB);if((0,Hn.e6s)(hr||Hn.DkB),!G.get(jo,!0))return xi(ge)?G.get(Hn.o8S):(ge.allPlatformModules.push(ge.moduleRef),ge.moduleRef);if(xi(ge)){const Pr=G.get(Hn.o8S);return void 0!==ge.rootComponent&&Pr.bootstrap(ge.rootComponent),Pr}return ge.moduleRef}).finally(()=>{yn.remove(Nn)})})})}({r3Injector:new Hn.bH1({providers:Nn,parent:yn,debugName:"",runEnvironmentInitializers:!1}).injector,platformInjector:yn,rootComponent:G})}catch(yn){return Promise.reject(yn)}finally{(0,Hn.Ef8)(Hn.mS5.BootstrapApplicationEnd)}}function H(ge){return"boolean"==typeof ge?ge:null!=ge&&"false"!==ge}function et(ge,G=NaN){return isNaN(parseFloat(ge))||isNaN(Number(ge))?G:Number(ge)}function ha(ge,G){const ae=(0,In.xUg)(ge),vt=G.elementInjector||(0,In.WB9)();return new Hn.eHC(ae).create(vt,G.projectableNodes,G.hostElement,G.environmentInjector,G.directives,G.bindings)}},9074(Yt,ve,a){a.d(ve,{br:()=>Oe,ot:()=>xe,pQ:()=>Fe});var j=a(3942),Pe=a(6042),L=a(3900),ne=a(6563),Ve=a(7511);function Fe(U){U||(U=(0,ne.WQX)(ne.abz));const ce=new j.c(ie=>{if(!U.destroyed)return U.onDestroy(ie.next.bind(ie));ie.next()});return ie=>ie.pipe((0,L.Q)(ce))}function Oe(U,ce){const ie=ce?.injector??(0,ne.WQX)(ne.zZn),we=new Pe.m(1),oe=(0,ne.QZP)(()=>{let de;try{de=U()}catch(He){return void(0,Ve.O8)(()=>we.error(He))}(0,Ve.O8)(()=>we.next(de))},{injector:ie,manualCleanup:!0});return ie.get(ne.abz).onDestroy(()=>{oe.destroy(),we.complete()}),we.asObservable()}function xe(U,ce){const we=ce?.manualCleanup?null:ce?.injector?.get(ne.abz)??(0,ne.WQX)(ne.abz),oe=function it(U=Object.is){return(ce,ie)=>1===ce.kind&&1===ie.kind&&U(ce.value,ie.value)}(ce?.equal);let de,He;de=(0,ne.vPA)(ce?.requireSync?{kind:0}:{kind:1,value:ce?.initialValue},{equal:oe});const Be=U.subscribe({next:$e=>de.set({kind:1,value:$e}),error:$e=>{de.set({kind:2,error:$e}),He?.()},complete:()=>{He?.()}});if(ce?.requireSync&&0===de().kind)throw new ne.buA(601,!1);return He=we?.onDestroy(Be.unsubscribe.bind(Be)),(0,Ve.EW)(()=>{const $e=de();switch($e.kind){case 1:return $e.value;case 2:throw $e.error;case 0:throw new ne.buA(601,!1)}},{equal:ce?.equal})}},7432(Yt,ve,a){a.d(ve,{Rc:()=>E,_J:()=>I});var u=a(8438),h=a(6124),g=a(6563);const Q=new g.nKC("MATERIAL_ANIMATIONS");let D=null;function I(){return(0,g.WQX)(Q,{optional:!0})?.animationsDisabled||"NoopAnimations"===(0,g.WQX)(h.bc$,{optional:!0})?"di-disabled":(D??=(0,g.WQX)(u.D).matchMedia("(prefers-reduced-motion)").matches,D?"reduced-motion":"enabled")}function E(){return"enabled"!==I()}},2204(Yt,ve,a){a.d(ve,{iM:()=>xe,iY:()=>it});var u=a(6124),h=a(6563),g=a(7580),Q=a(6522),D=a(9504),I=a(8508),E=a(8310),O=a(7432),X=a(7828);const B={capture:!0},K=["focus","mousedown","mouseenter","touchstart"],j="mat-ripple-loader-uninitialized",Pe="mat-ripple-loader-class-name",L="mat-ripple-loader-centered",ne="mat-ripple-loader-disabled";let Ve=(()=>{class F{_document=(0,h.WQX)(h.qQL);_animationsDisabled=(0,O.Rc)();_globalRippleOptions=(0,h.WQX)(X.$E,{optional:!0});_platform=(0,h.WQX)(I.O);_ngZone=(0,h.WQX)(h.SKi);_injector=(0,h.WQX)(h.zZn);_eventCleanups;_hosts=new Map;constructor(){const U=(0,h.WQX)(u._9s).createRenderer(null,null);this._eventCleanups=this._ngZone.runOutsideAngular(()=>K.map(ce=>U.listen(this._document,ce,this._onInteraction,B)))}ngOnDestroy(){const U=this._hosts.keys();for(const ce of U)this.destroyRipple(ce);this._eventCleanups.forEach(ce=>ce())}
vendor: 5,015 bytes, line 1
1configureRipple(U,ce){U.setAttribute(j,this._globalRippleOptions?.namespace??""),(ce.className||!U.hasAttribute(Pe))&&U.setAttribute(Pe,ce.className||""),ce.centered&&U.setAttribute(L,""),ce.disabled&&U.setAttribute(ne,"")}setDisabled(U,ce){const ie=this._hosts.get(U);ie?(ie.target.rippleDisabled=ce,!ce&&!ie.hasSetUpEvents&&(ie.hasSetUpEvents=!0,ie.renderer.setupTriggerEvents(U))):ce?U.setAttribute(ne,""):U.removeAttribute(ne)}_onInteraction=U=>{const ce=(0,E.Fb)(U);if(ce instanceof HTMLElement){const ie=ce.closest(`[${j}="${this._globalRippleOptions?.namespace??""}"]`);ie&&this._createRipple(ie)}};_createRipple(U){if(!this._document||this._hosts.has(U))return;U.querySelector(".mat-ripple")?.remove();const ce=this._document.createElement("span");ce.classList.add("mat-ripple",U.getAttribute(Pe)),U.append(ce);const ie=this._globalRippleOptions,we=this._animationsDisabled?0:ie?.animation?.enterDuration??X.EX.enterDuration,oe=this._animationsDisabled?0:ie?.animation?.exitDuration??X.EX.exitDuration,de={rippleDisabled:this._animationsDisabled||ie?.disabled||U.hasAttribute(ne),rippleConfig:{centered:U.hasAttribute(L),terminateOnPointerUp:ie?.terminateOnPointerUp,animation:{enterDuration:we,exitDuration:oe}}},He=new X.ug(de,this._ngZone,ce,this._platform,this._injector),Be=!de.rippleDisabled;Be&&He.setupTriggerEvents(U),this._hosts.set(U,{target:de,renderer:He,hasSetUpEvents:Be}),U.removeAttribute(j)}destroyRipple(U){const ce=this._hosts.get(U);ce&&(ce.renderer._removeTriggerEvents(),this._hosts.delete(U))}static \u0275fac=function(ce){return new(ce||F)};static \u0275prov=h.jDH({token:F,factory:F.\u0275fac,providedIn:"root"})}return F})();var Fe=a(2158);const tt=["mat-icon-button",""],nt=["*"],Rt=new h.nKC("MAT_BUTTON_CONFIG");function Oe(F){return null==F?void 0:(0,g.Udg)(F)}let xe=(()=>{class F{_elementRef=(0,h.WQX)(u.aKT);_ngZone=(0,h.WQX)(h.SKi);_animationsDisabled=(0,O.Rc)();_config=(0,h.WQX)(Rt,{optional:!0});_focusMonitor=(0,h.WQX)(Q.FN);_cleanupClick;_renderer=(0,h.WQX)(u.sFG);_rippleLoader=(0,h.WQX)(Ve);_isAnchor;_isFab=!1;color;get disableRipple(){return this._disableRipple}set disableRipple(U){this._disableRipple=U,this._updateRippleDisabled()}_disableRipple=!1;get disabled(){return this._disabled}set disabled(U){this._disabled=U,this._updateRippleDisabled()}_disabled=!1;ariaDisabled;disabledInteractive;tabIndex;set _tabindex(U){this.tabIndex=U}constructor(){(0,h.WQX)(D.l).load(Fe.A);const U=this._elementRef.nativeElement;this._isAnchor="A"===U.tagName,this.disabledInteractive=this._config?.disabledInteractive??!1,this.color=this._config?.color??null,this._rippleLoader?.configureRipple(U,{className:"mat-mdc-button-ripple"})}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0),this._isAnchor&&this._setupAsAnchor()}ngOnDestroy(){this._cleanupClick?.(),this._focusMonitor.stopMonitoring(this._elementRef),this._rippleLoader?.destroyRipple(this._elementRef.nativeElement)}focus(U="program",ce){U?this._focusMonitor.focusVia(this._elementRef.nativeElement,U,ce):this._elementRef.nativeElement.focus(ce)}_getAriaDisabled(){return null!=this.ariaDisabled?this.ariaDisabled:this._isAnchor?this.disabled||null:!(!this.disabled||!this.disabledInteractive)||null}_getDisabledAttribute(){return!(this.disabledInteractive||!this.disabled)||null}_updateRippleDisabled(){this._rippleLoader?.setDisabled(this._elementRef.nativeElement,this.disableRipple||this.disabled)}_getTabIndex(){return this._isAnchor&&this.disabled&&!this.disabledInteractive?-1:this.tabIndex}_setupAsAnchor(){this._cleanupClick=this._ngZone.runOutsideAngular(()=>this._renderer.listen(this._elementRef.nativeElement,"click",U=>{this.disabled&&(U.preventDefault(),U.stopImmediatePropagation())}))}static \u0275fac=function(ce){return new(ce||F)};static \u0275dir=u.FsC({type:F,hostAttrs:[1,"mat-mdc-button-base"],hostVars:13,hostBindings:function(ce,ie){2&ce&&(u.BMQ("disabled",ie._getDisabledAttribute())("aria-disabled",ie._getAriaDisabled())("tabindex",ie._getTabIndex()),u.HbH(ie.color?"mat-"+ie.color:""),u.AVh("mat-mdc-button-disabled",ie.disabled)("mat-mdc-button-disabled-interactive",ie.disabledInteractive)("mat-unthemed",!ie.color)("_mat-animation-noopable",ie._animationsDisabled))},inputs:{color:"color",disableRipple:[2,"disableRipple","disableRipple",g.L39],disabled:[2,"disabled","disabled",g.L39],ariaDisabled:[2,"aria-disabled","ariaDisabled",g.L39],disabledInteractive:[2,"disabledInteractive","disabledInteractive",g.L39],tabIndex:[2,"tabIndex","tabIndex",Oe],_tabindex:[2,"tabindex","_tabindex",Oe]}})}return F})(),it=(()=>{class F extends xe{constructor(){super(),this._rippleLoader.configureRipple(this._elementRef.nativeElement,{centered:!0})}static \u0275fac=function(ce){return new(ce||F)};static \u0275cmp=u.VBU({type:F,selectors:[["button","mat-icon-button",""],["a","mat-icon-button",""],["button","matIconButton",""],["a","matIconButton",""]],hostAttrs:[1,"mdc-icon-button","mat-mdc-icon-button"],exportAs:["matButton","matAnchor"],features:[u.Vt3],attrs:tt,ngC
vendor: 6,156 bytes, line 1
1ontentSelectors:nt,decls:4,vars:0,consts:[[1,"mat-mdc-button-persistent-ripple","mdc-icon-button__ripple"],[1,"mat-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(ce,ie){1&ce&&(u.NAR(),u.Hgh(0,"span",0),u.SdG(1),u.Hgh(2,"span",1)(3,"span",2))},styles:['.mat-mdc-icon-button {\n  -webkit-user-select: none;\n  user-select: none;\n  display: inline-block;\n  position: relative;\n  box-sizing: border-box;\n  border: none;\n  outline: none;\n  background-color: transparent;\n  fill: currentColor;\n  text-decoration: none;\n  cursor: pointer;\n  z-index: 0;\n  overflow: visible;\n  border-radius: var(--mat-icon-button-container-shape, var(--mat-sys-corner-full, 50%));\n  flex-shrink: 0;\n  text-align: center;\n  width: var(--mat-icon-button-state-layer-size, 40px);\n  height: var(--mat-icon-button-state-layer-size, 40px);\n  padding: calc(calc(var(--mat-icon-button-state-layer-size, 40px) - var(--mat-icon-button-icon-size, 24px)) / 2);\n  font-size: var(--mat-icon-button-icon-size, 24px);\n  color: var(--mat-icon-button-icon-color, var(--mat-sys-on-surface-variant));\n  -webkit-tap-highlight-color: transparent;\n}\n.mat-mdc-icon-button .mat-mdc-button-ripple,\n.mat-mdc-icon-button .mat-mdc-button-persistent-ripple,\n.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before {\n  top: 0;\n  left: 0;\n  right: 0;\n  bottom: 0;\n  position: absolute;\n  pointer-events: none;\n  border-radius: inherit;\n}\n.mat-mdc-icon-button .mat-mdc-button-ripple {\n  overflow: hidden;\n}\n.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before {\n  content: "";\n  opacity: 0;\n}\n.mat-mdc-icon-button .mdc-button__label,\n.mat-mdc-icon-button .mat-icon {\n  z-index: 1;\n  position: relative;\n}\n.mat-mdc-icon-button .mat-focus-indicator {\n  top: 0;\n  left: 0;\n  right: 0;\n  bottom: 0;\n  position: absolute;\n  border-radius: inherit;\n}\n.mat-mdc-icon-button:focus-visible > .mat-focus-indicator::before {\n  content: "";\n  border-radius: inherit;\n}\n.mat-mdc-icon-button .mat-ripple-element {\n  background-color: var(--mat-icon-button-ripple-color, color-mix(in srgb, var(--mat-sys-on-surface-variant) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent));\n}\n.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before {\n  background-color: var(--mat-icon-button-state-layer-color, var(--mat-sys-on-surface-variant));\n}\n.mat-mdc-icon-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before {\n  background-color: var(--mat-icon-button-disabled-state-layer-color, var(--mat-sys-on-surface-variant));\n}\n.mat-mdc-icon-button:hover > .mat-mdc-button-persistent-ripple::before {\n  opacity: var(--mat-icon-button-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity));\n}\n.mat-mdc-icon-button.cdk-program-focused > .mat-mdc-button-persistent-ripple::before, .mat-mdc-icon-button.cdk-keyboard-focused > .mat-mdc-button-persistent-ripple::before, .mat-mdc-icon-button.mat-mdc-button-disabled-interactive:focus > .mat-mdc-button-persistent-ripple::before {\n  opacity: var(--mat-icon-button-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity));\n}\n.mat-mdc-icon-button:active > .mat-mdc-button-persistent-ripple::before {\n  opacity: var(--mat-icon-button-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity));\n}\n.mat-mdc-icon-button .mat-mdc-button-touch-target {\n  position: absolute;\n  top: 50%;\n  height: var(--mat-icon-button-touch-target-size, 48px);\n  display: var(--mat-icon-button-touch-target-display, block);\n  left: 50%;\n  width: var(--mat-icon-button-touch-target-size, 48px);\n  transform: translate(-50%, -50%);\n}\n.mat-mdc-icon-button._mat-animation-noopable {\n  transition: none !important;\n  animation: none !important;\n}\n.mat-mdc-icon-button[disabled], .mat-mdc-icon-button.mat-mdc-button-disabled {\n  cursor: default;\n  pointer-events: none;\n  color: var(--mat-icon-button-disabled-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));\n}\n.mat-mdc-icon-button.mat-mdc-button-disabled-interactive {\n  pointer-events: auto;\n}\n.mat-mdc-icon-button img,\n.mat-mdc-icon-button svg {\n  width: var(--mat-icon-button-icon-size, 24px);\n  height: var(--mat-icon-button-icon-size, 24px);\n  vertical-align: baseline;\n}\n.mat-mdc-icon-button .mat-mdc-button-persistent-ripple {\n  border-radius: var(--mat-icon-button-container-shape, var(--mat-sys-corner-full, 50%));\n}\n.mat-mdc-icon-button[hidden] {\n  display: none;\n}\n.mat-mdc-icon-button.mat-unthemed:not(.mdc-ripple-upgraded):focus::before, .mat-mdc-icon-button.mat-primary:not(.mdc-ripple-upgraded):focus::before, .mat-mdc-icon-button.mat-accent:not(.mdc-ripple-upgraded):focus::before, .mat-mdc-icon-button.mat-warn:not(.mdc-ripple-upgraded):focus::before {\n  background: transparent;\n  opacity: 1;\n}\n',"@media (forced-colors: active) {\n  .mat-mdc-button:not(.mdc-button--outlined),\n  .mat-mdc-unelevated-button:not(.mdc-button--outlined),\n  .mat-mdc-raised-button:not(.mdc-button--outlined),\n  .mat-mdc-outlined-button:not(.mdc-button--outlined),\n  .mat-mdc-button-base.mat-tonal-button,\n  .mat-mdc-icon-button.mat-mdc-icon-button,\n  .mat-mdc-outlined-button .mdc-button__ripple {\n    outline: solid 1px;\n  }\n}\n"],encapsulation:2,changeDetection:0})}return F})()},935(Yt,ve,a){a.d(ve,{tp:()=>tt});var u=a(9227),h=a(698),g=a(6563),Q=a(436),D=a(1873),I=a(9452),E=a(7919),O=a(1318),X=a(9475),B=a(271),K=a(1870),j=a(8764);function Pe(xe){return Error(`Unable to find icon with the name "${xe}"`)}function ne(xe){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${xe}".`)}function Ve(xe){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${xe}".`)}class Fe{url;svgText;options;svgElement=null;constructor(it,q,F){this.url=it,this.svgText=q,this.options=F}}let tt=(()=>{class xe{_httpClient;_sanitizer;_errorHandler;_document;_svgIconConfigs=new Map;_iconSetConfigs=new Map;_cachedIconsByUrl=new Map;_inProgressUrlFetches=new Map;
1_fontCssClassesByAlias=new Map;_resolvers=[];_defaultFontSetClass=["material-icons","mat-ligature-font"];constructor(q,F,N,U){this._httpClient=q,this._sanitizer=F,this._errorHandler=U,this._document=N}addSvgIcon(q,F,N){return this.addSvgIconInNamespace("",q,F,N)}addSvgIconLiteral(q,F,N){return this.addSvgIconLiteralInNamespace("",q,F,N)}addSvgIconInNamespace(q,F,N,U){return this._addSvgIconConfig(q,F,new Fe(N,null,U))}addSvgIconResolver(q){return this._resolvers.push(q),this}addSvgIconLiteralInNamespace(q,F,N,U){const ce=this._sanitizer.sanitize(g.WPN.HTML,N);if(!ce)throw Ve(N);const ie=(0,u.Mv)(ce);return this._addSvgIconConfig(q,F,new Fe("",ie,U))}addSvgIconSet(q,F){return this.addSvgIconSetInNamespace("",q,F)}addSvgIconSetLiteral(q,F){return this.addSvgIconSetLiteralInNamespace("",q,F)}addSvgIconSetInNamespace(q,F,N){return this._addSvgIconSetConfig(q,new Fe(F,null,N))}addSvgIconSetLiteralInNamespace(q,F,N){const U=this._sanitizer.sanitize(g.WPN.HTML,F);if(!U)throw Ve(F);const ce=(0,u.Mv)(U);return this._addSvgIconSetConfig(q,new Fe("",ce,N))}registerFontClassAlias(q,F=q){return this._fontCssClassesByAlias.set(q,F),this}classNameForFontAlias(q){return this._fontCssClassesByAlias.get(q)||q}setDefaultFontSetClass(...q){return this._defaultFontSetClass=q,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(q){const F=this._sanitizer.sanitize(g.WPN.RESOURCE_URL,q);if(!F)throw ne(q);const N=this._cachedIconsByUrl.get(F);return N?(0,I.of)(nt(N)):this._loadSvgIconFromConfig(new Fe(q,null)).pipe((0,j.M)(U=>this._cachedIconsByUrl.set(F,U)),(0,B.T)(U=>nt(U)))}getNamedSvgIcon(q,F=""){const N=Rt(F,q);let U=this._svgIconConfigs.get(N);if(U)return this._getSvgFromConfig(U);if(U=this._getIconConfigFromResolvers(F,q),U)return this._svgIconConfigs.set(N,U),this._getSvgFromConfig(U);const ce=this._iconSetConfigs.get(F);return ce?this._getSvgFromIconSetConfigs(q,ce):(0,E.$)(Pe(N))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(q){return q.svgText?(0,I.of)(nt(this._svgElementFromConfig(q))):this._loadSvgIconFromConfig(q).pipe((0,B.T)(F=>nt(F)))}_getSvgFromIconSetConfigs(q,F){const N=this._extractIconWithNameFromAnySet(q,F);if(N)return(0,I.of)(N);const U=F.filter(ce=>!ce.svgText).map(ce=>this._loadSvgIconSetFromConfig(ce).pipe((0,O.W)(ie=>{const oe=`Loading icon set URL: ${this._sanitizer.sanitize(g.WPN.RESOURCE_URL,ce.url)} failed: ${ie.message}`;return this._errorHandler.handleError(new Error(oe)),(0,I.of)(null)})));return(0,D.p)(U).pipe((0,B.T)(()=>{const ce=this._extractIconWithNameFromAnySet(q,F);if(!ce)throw Pe(q);return ce}))}_extractIconWithNameFromAnySet(q,F){for(let N=F.length-1;N>=0;N--){const U=F[N];if(U.svgText&&U.svgText.toString().indexOf(q)>-1){const ce=this._svgElementFromConfig(U),ie=this._extractSvgIconFromSet(ce,q,U.options);if(ie)return ie}}return null}_loadSvgIconFromConfig(q){return this._fetchIcon(q).pipe((0,j.M)(F=>q.svgText=F),(0,B.T)(()=>this._svgElementFromConfig(q)))}_loadSvgIconSetFromConfig(q){return q.svgText?(0,I.of)(null):this._fetchIcon(q).pipe((0,j.M)(F=>q.svgText=F))}_extractSvgIconFromSet(q,F,N){const U=q.querySelector(`[id="${F}"]`);if(!U)return null;const ce=U.cloneNode(!0);if(ce.removeAttribute("id"),"svg"===ce.nodeName.toLowerCase())return this._setSvgAttributes(ce,N);if("symbol"===ce.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(ce),N);const ie=this._svgElementFromString((0,u.Mv)("<svg></svg>"));return ie.appendChild(ce),this._setSvgAttributes(ie,N)}_svgElementFromString(q){const F=this._document.createElement("DIV");F.innerHTML=q;const N=F.querySelector("svg");if(!N)throw Error("<svg> tag not found");return N}_toSvgElement(q){const F=this._svgElementFromString((0,u.Mv)("<svg></svg>")),N=q.attributes;for(let U=0;U<N.length;U++){const{name:ce,value:ie}=N[U];"id"!==ce&&F.setAttribute(ce,ie)}for(let U=0;U<q.childNodes.length;U++)q.childNodes[U].nodeType===this._document.ELEMENT_NODE&&F.appendChild(q.childNodes[U].cloneNode(!0));return F}_setSvgAttributes(q,F){return q.setAttribute("fit",""),q.setAttribute("height","100%"),q.setAttribute("width","100%"),q.setAttribute("preserveAspectRatio","xMidYMid meet"),q.setAttribute("focusable","false"),F&&F.viewBox&&q.setAttribute("viewBox",F.viewBox),q}_fetchIcon(q){const{url:F,options:N}=q,U=N?.withCredentials??!1;if(!this._httpClient)throw function L(){return Error("Could not find HttpClient for use with Angular Material icons. Please add provideHttpClient() to your providers.")}();if(null==F)throw Error(`Cannot fetch icon from URL "${F}".`);const ce=this._sanitizer.sanitize(g.WPN.RESOURCE_URL,F);if(!ce)throw ne(F);const ie=this._inProgressUrlFetches.get(ce);if(ie)return ie;const we=this._httpClient.get(ce,{responseType:"text",withCredentials:U}).pipe((0,B.T)(oe=>(0,u.Mv)(oe)),(0,X.j)(()=>this._inProgressUrlFetches.delete(ce)),(0,K.u)());return this._inProgressUrlFetches.set(ce,we),we}_addSvgIconConfig(q,F,N){return this._svgIconConfigs.set(Rt(q,F),N),this}_addSvgIconSetConfig(q,F){const N=this._iconSetConfigs.get(q);return N?N.push(F):this._iconSetConfigs.set(q,[F]),this}_svgElementFromConfig(q){if(!q.svgElement){const F=this._svgElementFromString(q.svgText);this._setSvgAttributes(F,q.options),q.svgElement=F}return q.svgElement}_getIconConfigFromResolvers(q,F){for(let N=0;N<this._resolvers.length;N++){const U=this._resolvers[N](F,q);if(U)return Oe(U)?new Fe(U.url,null,U.options):new Fe(U,null)}}static \u0275fac=function(F){return new(F||xe)(g.KVO(h.Qq,8),g.KVO(Q.up),g.KVO(g.qQL,8),g.KVO(g.zcH))};static \u0275prov=g.jDH({token:xe,factory:xe.\u0275fac,providedIn:"root"})}return xe})();function nt(xe){return xe.cloneNode(!0)}function Rt(xe,it){return xe+":"+it}function Oe(xe){return!(!xe.url||!xe.options)}},7828(Yt,ve,a){a.d(ve,{$E:()=>xe,EX:()=>L,r6:()=>it,ug:()=>Rt});var u=a(8508),h=a(8310),g=a(2548),Q=a(6124),D=a(6563),I=a(603),E=a(6075),O=a(9504),
vendor: 4,379 bytes, line 1
1X=a(7432),B=function(q){return q[q.FADING_IN=0]="FADING_IN",q[q.VISIBLE=1]="VISIBLE",q[q.FADING_OUT=2]="FADING_OUT",q[q.HIDDEN=3]="HIDDEN",q}(B||{});class K{_renderer;element;config;_animationForciblyDisabledThroughCss;state=B.HIDDEN;constructor(F,N,U,ce=!1){this._renderer=F,this.element=N,this.config=U,this._animationForciblyDisabledThroughCss=ce}fadeOut(){this._renderer.fadeOutRipple(this)}}const j=(0,g.B)({passive:!0,capture:!0});class Pe{_events=new Map;addHandler(F,N,U,ce){const ie=this._events.get(N);if(ie){const we=ie.get(U);we?we.add(ce):ie.set(U,new Set([ce]))}else this._events.set(N,new Map([[U,new Set([ce])]])),F.runOutsideAngular(()=>{document.addEventListener(N,this._delegateEventHandler,j)})}removeHandler(F,N,U){const ce=this._events.get(F);if(!ce)return;const ie=ce.get(N);ie&&(ie.delete(U),0===ie.size&&ce.delete(N),0===ce.size&&(this._events.delete(F),document.removeEventListener(F,this._delegateEventHandler,j)))}_delegateEventHandler=F=>{const N=(0,h.Fb)(F);N&&this._events.get(F.type)?.forEach((U,ce)=>{(ce===N||ce.contains(N))&&U.forEach(ie=>ie.handleEvent(F))})}}const L={enterDuration:225,exitDuration:150},Ve=(0,g.B)({passive:!0,capture:!0}),Fe=["mousedown","touchstart"],tt=["mouseup","mouseleave","touchend","touchcancel"];let nt=(()=>{class q{static \u0275fac=function(U){return new(U||q)};static \u0275cmp=Q.VBU({type:q,selectors:[["ng-component"]],hostAttrs:["mat-ripple-style-loader",""],decls:0,vars:0,template:function(U,ce){},styles:[".mat-ripple {\n  overflow: hidden;\n  position: relative;\n}\n.mat-ripple:not(:empty) {\n  transform: translateZ(0);\n}\n\n.mat-ripple.mat-ripple-unbounded {\n  overflow: visible;\n}\n\n.mat-ripple-element {\n  position: absolute;\n  border-radius: 50%;\n  pointer-events: none;\n  transition: opacity, transform 0ms cubic-bezier(0, 0, 0.2, 1);\n  transform: scale3d(0, 0, 0);\n  background-color: var(--mat-ripple-color, color-mix(in srgb, var(--mat-sys-on-surface) 10%, transparent));\n}\n@media (forced-colors: active) {\n  .mat-ripple-element {\n    display: none;\n  }\n}\n.cdk-drag-preview .mat-ripple-element, .cdk-drag-placeholder .mat-ripple-element {\n  display: none;\n}\n"],encapsulation:2,changeDetection:0})}return q})();class Rt{_target;_ngZone;_platform;_containerElement;_triggerElement=null;_isPointerDown=!1;_activeRipples=new Map;_mostRecentTransientRipple=null;_lastTouchStartEvent;_pointerUpEventsRegistered=!1;_containerRect=null;static _eventManager=new Pe;constructor(F,N,U,ce,ie){this._target=F,this._ngZone=N,this._platform=ce,ce.isBrowser&&(this._containerElement=(0,E.i8)(U)),ie&&ie.get(O.l).load(nt)}fadeInRipple(F,N,U={}){const ce=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),ie={...L,...U.animation};U.centered&&(F=ce.left+ce.width/2,N=ce.top+ce.height/2);const we=U.radius||function Oe(q,F,N){const U=Math.max(Math.abs(q-N.left),Math.abs(q-N.right)),ce=Math.max(Math.abs(F-N.top),Math.abs(F-N.bottom));return Math.sqrt(U*U+ce*ce)}(F,N,ce),oe=F-ce.left,de=N-ce.top,He=ie.enterDuration,Be=document.createElement("div");Be.classList.add("mat-ripple-element"),Be.style.left=oe-we+"px",Be.style.top=de-we+"px",Be.style.height=2*we+"px",Be.style.width=2*we+"px",null!=U.color&&(Be.style.backgroundColor=U.color),Be.style.transitionDuration=`${He}ms`,this._containerElement.appendChild(Be);const $e=window.getComputedStyle(Be),le=$e.transitionDuration,pt="none"===$e.transitionProperty||"0s"===le||"0s, 0s"===le||0===ce.width&&0===ce.height,Ie=new K(this,Be,U,pt);Be.style.transform="scale3d(1, 1, 1)",Ie.state=B.FADING_IN,U.persistent||(this._mostRecentTransientRipple=Ie);let ze=null;return!pt&&(He||ie.exitDuration)&&this._ngZone.runOutsideAngular(()=>{const Qe=()=>{ze&&(ze.fallbackTimer=null),clearTimeout(Re),this._finishRippleTransition(Ie)},_t=()=>this._destroyRipple(Ie),Re=setTimeout(_t,He+100);Be.addEventListener("transitionend",Qe),Be.addEventListener("transitioncancel",_t),ze={onTransitionEnd:Qe,onTransitionCancel:_t,fallbackTimer:Re}}),this._activeRipples.set(Ie,ze),(pt||!He)&&this._finishRippleTransition(Ie),Ie}fadeOutRipple(F){if(F.state===B.FADING_OUT||F.state===B.HIDDEN)return;const N=F.element,U={...L,...F.config.animation};N.style.transitionDuration=`${U.exitDuration}ms`,N.style.opacity="0",F.state=B.FADING_OUT,(F._animationForciblyDisabledThroughCss||!U.exitDuration)&&this._finishRippleTransition(F)}
vendor: 10,029 bytes, line 1
1fadeOutAll(){this._getActiveRipples().forEach(F=>F.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(F=>{F.config.persistent||F.fadeOut()})}setupTriggerEvents(F){const N=(0,E.i8)(F);!this._platform.isBrowser||!N||N===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=N,Fe.forEach(U=>{Rt._eventManager.addHandler(this._ngZone,U,N,this)}))}handleEvent(F){"mousedown"===F.type?this._onMousedown(F):"touchstart"===F.type?this._onTouchStart(F):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{tt.forEach(N=>{this._triggerElement.addEventListener(N,this,Ve)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(F){F.state===B.FADING_IN?this._startFadeOutTransition(F):F.state===B.FADING_OUT&&this._destroyRipple(F)}_startFadeOutTransition(F){const N=F===this._mostRecentTransientRipple,{persistent:U}=F.config;F.state=B.VISIBLE,!U&&(!N||!this._isPointerDown)&&F.fadeOut()}_destroyRipple(F){const N=this._activeRipples.get(F)??null;this._activeRipples.delete(F),this._activeRipples.size||(this._containerRect=null),F===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),F.state=B.HIDDEN,null!==N&&(F.element.removeEventListener("transitionend",N.onTransitionEnd),F.element.removeEventListener("transitioncancel",N.onTransitionCancel),null!==N.fallbackTimer&&clearTimeout(N.fallbackTimer)),F.element.remove()}_onMousedown(F){const N=(0,I._)(F),U=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+800;!this._target.rippleDisabled&&!N&&!U&&(this._isPointerDown=!0,this.fadeInRipple(F.clientX,F.clientY,this._target.rippleConfig))}_onTouchStart(F){if(!this._target.rippleDisabled&&!(0,I.w)(F)){this._lastTouchStartEvent=Date.now(),this._isPointerDown=!0;const N=F.changedTouches;if(N)for(let U=0;U<N.length;U++)this.fadeInRipple(N[U].clientX,N[U].clientY,this._target.rippleConfig)}}_onPointerUp(){this._isPointerDown&&(this._isPointerDown=!1,this._getActiveRipples().forEach(F=>{!F.config.persistent&&(F.state===B.VISIBLE||F.config.terminateOnPointerUp&&F.state===B.FADING_IN)&&F.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){const F=this._triggerElement;F&&(Fe.forEach(N=>Rt._eventManager.removeHandler(N,F,this)),this._pointerUpEventsRegistered&&(tt.forEach(N=>F.removeEventListener(N,this,Ve)),this._pointerUpEventsRegistered=!1))}}const xe=new D.nKC("mat-ripple-global-options");let it=(()=>{class q{_elementRef=(0,D.WQX)(Q.aKT);_animationsDisabled=(0,X.Rc)();color;unbounded=!1;centered=!1;radius=0;animation;get disabled(){return this._disabled}set disabled(N){N&&this.fadeOutAllNonPersistent(),this._disabled=N,this._setupTriggerEventsIfEnabled()}_disabled=!1;get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(N){this._trigger=N,this._setupTriggerEventsIfEnabled()}_trigger;_rippleRenderer;_globalOptions;_isInitialized=!1;constructor(){const N=(0,D.WQX)(D.SKi),U=(0,D.WQX)(u.O),ce=(0,D.WQX)(xe,{optional:!0}),ie=(0,D.WQX)(D.zZn);this._globalOptions=ce||{},this._rippleRenderer=new Rt(this,N,this._elementRef,U,ie)}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,...this._animationsDisabled?{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(N,U=0,ce){return"number"==typeof N?this._rippleRenderer.fadeInRipple(N,U,{...this.rippleConfig,...ce}):this._rippleRenderer.fadeInRipple(0,0,{...this.rippleConfig,...N})}static \u0275fac=function(U){return new(U||q)};static \u0275dir=Q.FsC({type:q,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(U,ce){2&U&&Q.AVh("mat-ripple-unbounded",ce.unbounded)},inputs:{color:[0,"matRippleColor","color"],unbounded:[0,"matRippleUnbounded","unbounded"],centered:[0,"matRippleCentered","centered"],radius:[0,"matRippleRadius","radius"],animation:[0,"matRippleAnimation","animation"],disabled:[0,"matRippleDisabled","disabled"],trigger:[0,"matRippleTrigger","trigger"]},exportAs:["matRipple"]})}return q})()},2158(Yt,ve,a){a.d(ve,{A:()=>h});var u=a(6124);let h=(()=>{class g{static \u0275fac=function(I){return new(I||g)};static \u0275cmp=u.VBU({type:g,selectors:[["structural-styles"]],decls:0,vars:0,template:function(I,E){},styles:['.mat-focus-indicator {\n  position: relative;\n}\n.mat-focus-indicator::before {\n  top: 0;\n  left: 0;\n  right: 0;\n  bottom: 0;\n  position: absolute;\n  box-sizing: border-box;\n  pointer-events: none;\n  display: var(--mat-focus-indicator-display, none);\n  border-width: var(--mat-focus-indicator-border-width, 3px);\n  border-style: var(--mat-focus-indicator-border-style, solid);\n  border-color: var(--mat-focus-indicator-border-color, transparent);\n  border-radius: var(--mat-focus-indicator-border-radius, 4px);\n}\n.mat-focus-indicator:focus-visible::before {\n  content: "";\n}\n\n@media (forced-colors: active) {\n  html {\n    --mat-focus-indicator-display: block;\n  }\n}\n'],encapsulation:2,changeDetection:0})}return g})()},5363(Yt,ve,a){a.d(ve,{oV:()=>Y});var u=a(3900),h=a(2814),g=a(6075),Q=a(7552),D=a(4879),I=a(6124),E=a(6563),O=a(7580),X=a(8508),K=(a(8012),a(9504)),j=a(9227),Pe=a(4205);function oe(Ce,ct){return Ce.getAttribute(ct)?.match(/\S+/g)??[]}a(7092),a(2551),a(9452),a(4334),a(1920);const He="cdk-describedby-message",Be="cdk-describedby-host";let $e=0,Te=(()=>{class Ce{_platform=(0,E.WQX)(X.O);_document=(0,E.WQX)(E.qQL);_messageRegistry=new Map;_messagesContainer=null;_id=""+$e++;constructor(){(0,E.WQX)(K.l).load(j.Yc),this._id=(0,E.WQX)(I.sZ2)+"-"+$e++}describe(_e,P,Ae){if(!this._canBeDescribed(_e,P))return;const mt=le(P,Ae);"string"!=typeof P?(pt(P,this._id),this._messageRegistry.set(mt,{messageElement:P,referenceCount:0})):this._messageRegistry.has(mt)||this._createMessageElement(P,Ae),this._isElementDescribedByMessage(_e,mt)||this._addMessageReference(_e,mt)}removeDescription(_e,P,Ae){if(!P||!this._isElementNode(_e))return;const mt=le(P,Ae);if(this._isElementDescribedByMessage(_e,mt)&&this._removeMessageReference(_e,mt),"string"==typeof P){const wt=this._messageRegistry.get(mt);wt&&0===wt.referenceCount&&this._deleteMessageElement(mt)}0===this._messagesContainer?.childNodes.length&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){const _e=this._document.querySelectorAll(`[${Be}="${this._id}"]`);for(let P=0;P<_e.length;P++)this._removeCdkDescribedByReferenceIds(_e[P]),_e[P].removeAttribute(Be);this._messagesContainer?.remove(),this._messagesContainer=null,this._messageRegistry.clear()}_createMessageElement(_e,P){const Ae=this._document.createElement("div");pt(Ae,this._id),Ae.textContent=_e,P&&Ae.setAttribute("role",P),this._createMessagesContainer(),this._messagesContainer.appendChild(Ae),this._messageRegistry.set(le(_e,P),{messageElement:Ae,referenceCount:0})}_deleteMessageElement(_e){this._messageRegistry.get(_e)?.messageElement?.remove(),this._messageRegistry.delete(_e)}_createMessagesContainer(){if(this._messagesContainer)return;const _e="cdk-describedby-message-container",P=this._document.querySelectorAll(`.${_e}[platform="server"]`);for(let mt=0;mt<P.length;mt++)P[mt].remove();const Ae=this._document.createElement("div");Ae.style.visibility="hidden",Ae.classList.add(_e),Ae.classList.add("cdk-visually-hidden"),this._platform.isBrowser||Ae.setAttribute("platform","server"),this._document.body.appendChild(Ae),this._messagesContainer=Ae}_removeCdkDescribedByReferenceIds(_e){const P=oe(_e,"aria-describedby").filter(Ae=>0!=Ae.indexOf(He));_e.setAttribute("aria-describedby",P.join(" "))}_addMessageReference(_e,P){const Ae=this._messageRegistry.get(P);(function ie(Ce,ct,_e){const P=oe(Ce,ct);_e=_e.trim(),!P.some(Ae=>Ae.trim()===_e)&&(P.push(_e),Ce.setAttribute(ct,P.join(" ")))})(_e,"aria-describedby",Ae.messageElement.id),_e.setAttribute(Be,this._id),Ae.referenceCount++}_removeMessageReference(_e,P){const Ae=this._messageRegistry.get(P);Ae.referenceCount--,function we(Ce,ct,_e){const P=oe(Ce,ct);_e=_e.trim();const Ae=P.filter(mt=>mt!==_e);Ae.length?Ce.setAttribute(ct,Ae.join(" ")):Ce.removeAttribute(ct)}(_e,"aria-describedby",Ae.messageElement.id),_e.removeAttribute(Be)}_isElementDescribedByMessage(_e,P){const Ae=oe(_e,"aria-describedby"),mt=this._messageRegistry.get(P),wt=mt&&mt.messageElement.id;return!!wt&&-1!=Ae.indexOf(wt)}_canBeDescribed(_e,P){if(!this._isElementNode(_e))return!1;if(P&&"object"==typeof P)return!0;const Ae=null==P?"":`${P}`.trim(),mt=_e.getAttribute("aria-label");return!(!Ae||mt&&mt.trim()===Ae)}_isElementNode(_e){return _e.nodeType===this._document.ELEMENT_NODE}static \u0275fac=function(P){return new(P||Ce)};static \u0275prov=E.jDH({token:Ce,factory:Ce.\u0275fac,providedIn:"root"})}return Ce})();function le(Ce,ct){return"string"==typeof Ce?`${ct||""}/${Ce}`:Ce}function pt(Ce,ct){Ce.id||(Ce.id=`${He}-${ct}-${$e++}`)}var ht=a(6522),Ne=a(3433),Ot=a(6019),Lt=a(4344),zt=a(9168),rt=a(8438),Qt=a(7432);const Kt=["tooltip"],yt=new E.nKC("mat-tooltip-scroll-strategy",{providedIn:"root",factory:()=>{const Ce=(0,E.WQX)(E.zZn);return()=>(0,Ot.RH)(Ce,{scrollThrottle:20})}}),Me=new E.nKC("mat-tooltip-default-options",{providedIn:"root",factory:()=>({showDelay:0,hideDelay:0,touchendHideDelay:1500})}),Ee="tooltip-panel",i={passive:!0};let Y=(()=>{class Ce{_elementRef=(0,E.WQX)(I.aKT);_ngZone=(0,E.WQX)(E.SKi);_platform=(0,E.WQX)(X.O);_ariaDescriber=(0,E.WQX)(Te);_focusMonitor=(0,E.WQX)(ht.FN);_dir=(0,E.WQX)(Ne.dS);_injector=(0,E.WQX)(E.zZn);
vendor: 15,312 bytes, line 1
1_viewContainerRef=(0,E.WQX)(I.c1b);_mediaMatcher=(0,E.WQX)(rt.D);_document=(0,E.WQX)(E.qQL);_renderer=(0,E.WQX)(I.sFG);_animationsDisabled=(0,Qt.Rc)();_defaultOptions=(0,E.WQX)(Me,{optional:!0});_overlayRef=null;_tooltipInstance=null;_overlayPanelClass;_portal;_position="below";_positionAtOrigin=!1;_disabled=!1;_tooltipClass;_viewInitialized=!1;_pointerExitEventsInitialized=!1;_tooltipComponent=Se;_viewportMargin=8;_currentPosition;_cssClassPrefix="mat-mdc";_ariaDescriptionPending=!1;_dirSubscribed=!1;get position(){return this._position}set position(_e){_e!==this._position&&(this._position=_e,this._overlayRef&&(this._updatePosition(this._overlayRef),this._tooltipInstance?.show(0),this._overlayRef.updatePosition()))}get positionAtOrigin(){return this._positionAtOrigin}set positionAtOrigin(_e){this._positionAtOrigin=(0,h.he)(_e),this._detach(),this._overlayRef=null}get disabled(){return this._disabled}set disabled(_e){const P=(0,h.he)(_e);this._disabled!==P&&(this._disabled=P,P?this.hide(0):this._setupPointerEnterEventsIfNeeded(),this._syncAriaDescription(this.message))}get showDelay(){return this._showDelay}set showDelay(_e){this._showDelay=(0,g.OE)(_e)}_showDelay;get hideDelay(){return this._hideDelay}set hideDelay(_e){this._hideDelay=(0,g.OE)(_e),this._tooltipInstance&&(this._tooltipInstance._mouseLeaveHideDelay=this._hideDelay)}_hideDelay;touchGestures="auto";get message(){return this._message}set message(_e){const P=this._message;this._message=null!=_e?String(_e).trim():"",!this._message&&this._isTooltipVisible()?this.hide(0):(this._setupPointerEnterEventsIfNeeded(),this._updateTooltipMessage()),this._syncAriaDescription(P)}_message="";get tooltipClass(){return this._tooltipClass}set tooltipClass(_e){this._tooltipClass=_e,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}_eventCleanups=[];_touchstartTimeout=null;_destroyed=new Pe.B;_isDestroyed=!1;constructor(){const _e=this._defaultOptions;_e&&(this._showDelay=_e.showDelay,this._hideDelay=_e.hideDelay,_e.position&&(this.position=_e.position),_e.positionAtOrigin&&(this.positionAtOrigin=_e.positionAtOrigin),_e.touchGestures&&(this.touchGestures=_e.touchGestures),_e.tooltipClass&&(this.tooltipClass=_e.tooltipClass)),this._viewportMargin=8}ngAfterViewInit(){this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe((0,u.Q)(this._destroyed)).subscribe(_e=>{_e?"keyboard"===_e&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0))})}ngOnDestroy(){const _e=this._elementRef.nativeElement;this._touchstartTimeout&&clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),this._eventCleanups.forEach(P=>P()),this._eventCleanups.length=0,this._destroyed.next(),this._destroyed.complete(),this._isDestroyed=!0,this._ariaDescriber.removeDescription(_e,this.message,"tooltip"),this._focusMonitor.stopMonitoring(_e)}show(_e=this.showDelay,P){if(this.disabled||!this.message||this._isTooltipVisible())return void this._tooltipInstance?._cancelPendingAnimations();const Ae=this._createOverlay(P);this._detach(),this._portal=this._portal||new zt.A8(this._tooltipComponent,this._viewContainerRef);const mt=this._tooltipInstance=Ae.attach(this._portal).instance;mt._triggerElement=this._elementRef.nativeElement,mt._mouseLeaveHideDelay=this._hideDelay,mt.afterHidden().pipe((0,u.Q)(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),mt.show(_e)}hide(_e=this.hideDelay){const P=this._tooltipInstance;P&&(P.isVisible()?P.hide(_e):(P._cancelPendingAnimations(),this._detach()))}toggle(_e){this._isTooltipVisible()?this.hide():this.show(void 0,_e)}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(_e){if(this._overlayRef){const wt=this._overlayRef.getConfig().positionStrategy;if((!this.positionAtOrigin||!_e)&&wt._origin instanceof I.aKT)return this._overlayRef;this._detach()}const P=this._injector.get(Lt.R).getAncestorScrollContainers(this._elementRef),Ae=`${this._cssClassPrefix}-${Ee}`,mt=(0,Ot.$M)(this._injector,this.positionAtOrigin&&_e||this._elementRef).withTransformOriginOn(`.${this._cssClassPrefix}-tooltip`).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(P).withPopoverLocation("global");return mt.positionChanges.pipe((0,u.Q)(this._destroyed)).subscribe(wt=>{this._updateCurrentPositionClass(wt.connectionPair),this._tooltipInstance&&wt.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=(0,Ot.Y$)(this._injector,{direction:this._dir,positionStrategy:mt,panelClass:this._overlayPanelClass?[...this._overlayPanelClass,Ae]:Ae,scrollStrategy:this._injector.get(yt)(),disableAnimations:this._animationsDisabled,eventPredicate:this._overlayEventPredicate}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe((0,u.Q)(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef.outsidePointerEvents().pipe((0,u.Q)(this._destroyed)).subscribe(()=>this._tooltipInstance?._handleBodyInteraction()),this._overlayRef.keydownEvents().pipe((0,u.Q)(this._destroyed)).subscribe(wt=>{wt.preventDefault(),wt.stopPropagation(),this._ngZone.run(()=>this.hide(0))}),this._defaultOptions?.disableTooltipInteractivity&&this._overlayRef.addPanelClass(`${this._cssClassPrefix}-tooltip-panel-non-interactive`),this._dirSubscribed||(this._dirSubscribed=!0,this._dir.change.pipe((0,u.Q)(this._destroyed)).subscribe(()=>{this._overlayRef&&this._updatePosition(this._overlayRef)})),this._overlayRef}_detach(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}_updatePosition(_e){const P=_e.getConfig().positionStrategy,Ae=this._getOrigin(),mt=this._getOverlayPosition();P.withPositions([this._addOffset({...Ae.main,...mt.main}),this._addOffset({...Ae.fallback,...mt.fallback})])}_addOffset(_e){const Ae=!this._dir||"ltr"==this._dir.value;return"top"===_e.originY?_e.offsetY=-8:"bottom"===_e.originY?_e.offsetY=8:"start"===_e.originX?_e.offsetX=Ae?-8:8:"end"===_e.originX&&(_e.offsetX=Ae?8:-8),_e}_getOrigin(){const _e=!this._dir||"ltr"==this._dir.value,P=this.position;let Ae;"above"==P||"below"==P?Ae={originX:"center",originY:"above"==P?"top":"bottom"}:"before"==P||"left"==P&&_e||"right"==P&&!_e?Ae={originX:"start",originY:"center"}:("after"==P||"right"==P&&_e||"left"==P&&!_e)&&(Ae={originX:"end",originY:"center"});const{x:mt,y:wt}=this._invertPosition(Ae.originX,Ae.originY);return{main:Ae,fallback:{originX:mt,originY:wt}}}_getOverlayPosition(){const _e=!this._dir||"ltr"==this._dir.value,P=this.position;let Ae;"above"==P?Ae={overlayX:"center",overlayY:"bottom"}:"below"==P?Ae={overlayX:"center",overlayY:"top"}:"before"==P||"left"==P&&_e||"right"==P&&!_e?Ae={overlayX:"end",overlayY:"center"}:("after"==P||"right"==P&&_e||"left"==P&&!_e)&&(Ae={overlayX:"start",overlayY:"center"});const{x:mt,y:wt}=this._invertPosition(Ae.overlayX,Ae.overlayY);return{main:Ae,fallback:{overlayX:mt,overlayY:wt}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),(0,I.mal)(()=>{this._tooltipInstance&&this._overlayRef.updatePosition()},{injector:this._injector}))}_setTooltipClass(_e){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=_e instanceof Set?Array.from(_e):_e,this._tooltipInstance._markForCheck())}_invertPosition(_e,P){return"above"===this.position||"below"===this.position?"top"===P?P="bottom":"bottom"===P&&(P="top"):"end"===_e?_e="start":"start"===_e&&(_e="end"),{x:_e,y:P}}_updateCurrentPositionClass(_e){const{overlayY:P,originX:Ae,originY:mt}=_e;let wt;if(wt="center"===P?this._dir&&"rtl"===this._dir.value?"end"===Ae?"left":"right":"start"===Ae?"left":"right":"bottom"===P&&"top"===mt?"above":"below",wt!==this._currentPosition){const Mt=this._overlayRef;if(Mt){const jt=`${this._cssClassPrefix}-${Ee}-`;Mt.removePanelClass(jt+this._currentPosition),Mt.addPanelClass(jt+wt)}this._currentPosition=wt}}_setupPointerEnterEventsIfNeeded(){this._disabled||!this.message||!this._viewInitialized||this._eventCleanups.length||(this._isTouchPlatform()?"off"!==this.touchGestures&&(this._disableNativeGesturesIfNecessary(),this._addListener("touchstart",_e=>{const P=_e.targetTouches?.[0],Ae=P?{x:P.clientX,y:P.clientY}:void 0;this._setupPointerExitEventsIfNeeded(),this._touchstartTimeout&&clearTimeout(this._touchstartTimeout),this._touchstartTimeout=setTimeout(()=>{this._touchstartTimeout=null,this.show(void 0,Ae)},this._defaultOptions?.touchLongPressShowDelay??500)})):this._addListener("mouseenter",_e=>{let P;this._setupPointerExitEventsIfNeeded(),void 0!==_e.x&&void 0!==_e.y&&(P=_e),this.show(void 0,P)}))}_setupPointerExitEventsIfNeeded(){if(!this._pointerExitEventsInitialized)if(this._pointerExitEventsInitialized=!0,this._isTouchPlatform()){if("off"!==this.touchGestures){this._disableNativeGesturesIfNecessary();const _e=()=>{this._touchstartTimeout&&clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions?.touchendHideDelay)};this._addListener("touchend",_e),this._addListener("touchcancel",_e)}}else this._addListener("mouseleave",_e=>{const P=_e.relatedTarget;(!P||!this._overlayRef?.overlayElement.contains(P))&&this.hide()}),this._addListener("wheel",_e=>{if(this._isTooltipVisible()){const P=this._document.elementFromPoint(_e.clientX,_e.clientY),Ae=this._elementRef.nativeElement;P!==Ae&&!Ae.contains(P)&&this.hide()}})}_addListener(_e,P){this._eventCleanups.push(this._renderer.listen(this._elementRef.nativeElement,_e,P,i))}_isTouchPlatform(){const _e=this._defaultOptions?.detectHoverCapability;return"function"==typeof _e?!_e():!(!this._platform.IOS&&!this._platform.ANDROID)||!!this._platform.isBrowser&&!!_e&&this._mediaMatcher.matchMedia("(any-hover: none)").matches}_disableNativeGesturesIfNecessary(){const _e=this.touchGestures;if("off"!==_e){const P=this._elementRef.nativeElement,Ae=P.style;("on"===_e||"INPUT"!==P.nodeName&&"TEXTAREA"!==P.nodeName)&&(Ae.userSelect=Ae.msUserSelect=Ae.webkitUserSelect=Ae.MozUserSelect="none"),("on"===_e||!P.draggable)&&(Ae.webkitUserDrag="none"),Ae.touchAction="none",Ae.webkitTapHighlightColor="transparent"}}_syncAriaDescription(_e){this._ariaDescriptionPending||(this._ariaDescriptionPending=!0,this._ariaDescriber.removeDescription(this._elementRef.nativeElement,_e,"tooltip"),this._isDestroyed||(0,I.mal)({write:()=>{this._ariaDescriptionPending=!1,this.message&&!this.disabled&&this._ariaDescriber.describe(this._elementRef.nativeElement,this.message,"tooltip")}},{injector:this._injector}))}_overlayEventPredicate=_e=>"keydown"!==_e.type||this._isTooltipVisible()&&_e.keyCode===Q._f&&!(0,D.rp)(_e);static \u0275fac=function(P){return new(P||Ce)};static \u0275dir=I.FsC({type:Ce,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-mdc-tooltip-trigger"],hostVars:2,hostBindings:function(P,Ae){2&P&&I.AVh("mat-mdc-tooltip-disabled",Ae.disabled)},inputs:{position:[0,"matTooltipPosition","position"],positionAtOrigin:[0,"matTooltipPositionAtOrigin","positionAtOrigin"],disabled:[0,"matTooltipDisabled","disabled"],showDelay:[0,"matTooltipShowDelay","showDelay"],hideDelay:[0,"matTooltipHideDelay","hideDelay"],touchGestures:[0,"matTooltipTouchGestures","touchGestures"],message:[0,"matTooltip","message"],tooltipClass:[0,"matTooltipClass","tooltipClass"]},exportAs:["matTooltip"]})}return Ce})(),Se=(()=>{class Ce{_changeDetectorRef=(0,E.WQX)(O.gRc);_elementRef=(0,E.WQX)(I.aKT);_isMultiline=!1;message;tooltipClass;_showTimeoutId;_hideTimeoutId;_triggerElement;_mouseLeaveHideDelay;_animationsDisabled=(0,Qt.Rc)();_tooltip;_closeOnInteraction=!1;_isVisible=!1;_onHide=new Pe.B;_showAnimation="mat-mdc-tooltip-show";_hideAnimation="mat-mdc-tooltip-hide";constructor(){}show(_e){null!=this._hideTimeoutId&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=setTimeout(()=>{this._toggleVisibility(!0),this._showTimeoutId=void 0},_e)}hide(_e){null!=this._showTimeoutId&&clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(()=>{this._toggleVisibility(!1),this._hideTimeoutId=void 0},_e)}afterHidden(){return this._onHide}isVisible(){return this._isVisible}ngOnDestroy(){this._cancelPendingAnimations(),this._onHide.complete(),this._triggerElement=null}_handleBodyInteraction(){this._closeOnInteraction&&this.hide(0)}_markForCheck(){this._changeDetectorRef.markForCheck()}_handleMouseLeave({relatedTarget:_e}){(!_e||!this._triggerElement.contains(_e))&&(this.isVisible()?this.hide(this._mouseLeaveHideDelay):this._finalizeAnimation(!1))}_onShow(){this._isMultiline=this._isTooltipMultiline(),this._markForCheck()}_isTooltipMultiline(){const _e=this._elementRef.nativeElement.getBoundingClientRect();return _e.height>24&&_e.width>=200}_handleAnimationEnd({animationName:_e}){(_e===this._showAnimation||_e===this._hideAnimation)&&this._finalizeAnimation(_e===this._showAnimation)}_cancelPendingAnimations(){null!=this._showTimeoutId&&clearTimeout(this._showTimeoutId),null!=this._hideTimeoutId&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=this._hideTimeoutId=void 0}_finalizeAnimation(_e){_e?this._closeOnInteraction=!0:this.isVisible()||this._onHide.next()}_toggleVisibility(_e){const P=this._tooltip.nativeElement,Ae=this._showAnimation,mt=this._hideAnimation;if(P.classList.remove(_e?mt:Ae),P.classList.add(_e?Ae:mt),this._isVisible!==_e&&(this._isVisible=_e,this._changeDetectorRef.markForCheck()),_e&&!this._animationsDisabled&&"function"==typeof getComputedStyle){const wt=getComputedStyle(P);("0s"===wt.getPropertyValue("animation-duration")||"none"===wt.getPropertyValue("animation-name"))&&(this._animationsDisabled=!0)}_e&&this._onShow(),this._animationsDisabled&&(P.classList.add("_mat-animation-noopable"),this._finalizeAnimation(_e))}static \u0275fac=function(P){return new(P||Ce)};static \u0275cmp=I.VBU({type:Ce,selectors:[["mat-tooltip-component"]],viewQuery:function(P,Ae){if(1&P&&I.GBs(Kt,7),2&P){let mt;I.mGM(mt=I.lsd())&&(Ae._tooltip=mt.first)}},hostAttrs:["aria-hidden","true"],hostBindings:function(P,Ae){1&P&&I.bIt("mouseleave",function(wt){return Ae._handleMouseLeave(wt)})},decls:4,vars:5,consts:[["tooltip",""],[1,"mdc-tooltip","mat-mdc-tooltip",3,"animationend"],[1,"mat-mdc-tooltip-surface","mdc-tooltip__surface"]],template:function(P,Ae){1&P&&(I.rj2(0,"div",1,0),I.VwU("animationend",function(wt){return Ae._handleAnimationEnd(wt)}),I.rj2(2,"div",2),I.EFF(3),I.eux()()),2&P&&(I.HbH(Ae.tooltipClass),I.AVh("mdc-tooltip--multiline",Ae._isMultiline),I.R7$(3),I.JRh(Ae.message))},styles:['.mat-mdc-tooltip {\n  position: relative;\n  transform: scale(0);\n  display: inline-flex;\n}\n.mat-mdc-tooltip::before {\n  content: "";\n  top: 0;\n  right: 0;\n  bottom: 0;\n  left: 0;\n  z-index: -1;\n  position: absolute;\n}\n.mat-mdc-tooltip-panel-below .mat-mdc-tooltip::before {\n  top: -8px;\n}\n.mat-mdc-tooltip-panel-above .mat-mdc-tooltip::before {\n  bottom: -8px;\n}\n.mat-mdc-tooltip-panel-right .mat-mdc-tooltip::before {\n  left: -8px;\n}\n.mat-mdc-tooltip-panel-left .mat-mdc-tooltip::before {\n  right: -8px;\n}\n.mat-mdc-tooltip._mat-animation-noopable {\n  animation: none;\n  transform: scale(1);\n}\n\n.mat-mdc-tooltip-surface {\n  word-break: normal;
1\n  overflow-wrap: anywhere;\n  padding: 4px 8px;\n  min-width: 40px;\n  max-width: 200px;\n  min-height: 24px;\n  max-height: 40vh;\n  box-sizing: border-box;\n  overflow: hidden;\n  text-align: center;\n  will-change: transform, opacity;\n  background-color: var(--mat-tooltip-container-color, var(--mat-sys-inverse-surface));\n  color: var(--mat-tooltip-supporting-text-color, var(--mat-sys-inverse-on-surface));\n  border-radius: var(--mat-tooltip-container-shape, var(--mat-sys-corner-extra-small));\n  font-family: var(--mat-tooltip-supporting-text-font, var(--mat-sys-body-small-font));\n  font-size: var(--mat-tooltip-supporting-text-size, var(--mat-sys-body-small-size));\n  font-weight: var(--mat-tooltip-supporting-text-weight, var(--mat-sys-body-small-weight));\n  line-height: var(--mat-tooltip-supporting-text-line-height, var(--mat-sys-body-small-line-height));\n  letter-spacing: var(--mat-tooltip-supporting-text-tracking, var(--mat-sys-body-small-tracking));\n}\n.mat-mdc-tooltip-surface::before {\n  position: absolute;\n  box-sizing: border-box;\n  width: 100%;\n  height: 100%;\n  top: 0;\n  left: 0;\n  border: 1px solid transparent;\n  border-radius: inherit;\n  content: "";\n  pointer-events: none;\n}\n.mdc-tooltip--multiline .mat-mdc-tooltip-surface {\n  text-align: left;\n}\n[dir=rtl] .mdc-tooltip--multiline .mat-mdc-tooltip-surface {\n  text-align: right;\n}\n\n.mat-mdc-tooltip-panel {\n  line-height: normal;\n}\n.mat-mdc-tooltip-panel.mat-mdc-tooltip-panel-non-interactive {\n  pointer-events: none;\n}\n\n@keyframes mat-mdc-tooltip-show {\n  0% {\n    opacity: 0;\n    transform: scale(0.8);\n  }\n  100% {\n    opacity: 1;\n    transform: scale(1);\n  }\n}\n@keyframes mat-mdc-tooltip-hide {\n  0% {\n    opacity: 1;\n    transform: scale(1);\n  }\n  100% {\n    opacity: 0;\n    transform: scale(0.8);\n  }\n}\n.mat-mdc-tooltip-show {\n  animation: mat-mdc-tooltip-show 150ms cubic-bezier(0, 0, 0.2, 1) forwards;\n}\n\n.mat-mdc-tooltip-hide {\n  animation: mat-mdc-tooltip-hide 75ms cubic-bezier(0.4, 0, 1, 1) forwards;\n}\n'],encapsulation:2,changeDetection:0})}return Ce})()},2782(Yt,ve,a){a.d(ve,{$z:()=>Fe,Hl:()=>N});var u=a(2204),h=a(6124),g=a(6563),Q=a(3680);let D=(()=>{class U{static \u0275fac=function(we){return new(we||U)};static \u0275mod=h.$C({type:U});static \u0275inj=g.G2t({imports:[Q.jI]})}return U})();const B=["matButton",""],K=[[["",8,"material-icons",3,"iconPositionEnd",""],["mat-icon",3,"iconPositionEnd",""],["","matButtonIcon","",3,"iconPositionEnd",""]],"*",[["","iconPositionEnd","",8,"material-icons"],["mat-icon","iconPositionEnd",""],["","matButtonIcon","","iconPositionEnd",""]]],j=[".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd]), [matButtonIcon]:not([iconPositionEnd])","*",".material-icons[iconPositionEnd], mat-icon[iconPositionEnd], [matButtonIcon][iconPositionEnd]"],Ve=new Map([["text",["mat-mdc-button"]],["filled",["mdc-button--unelevated","mat-mdc-unelevated-button"]],["elevated",["mdc-button--raised","mat-mdc-raised-button"]],["outlined",["mdc-button--outlined","mat-mdc-outlined-button"]],["tonal",["mat-tonal-button"]]]);let Fe=(()=>{class U extends u.iM{get appearance(){return this._appearance}set appearance(ie){this.setAppearance(ie||this._config?.defaultAppearance||"text")}_appearance=null;constructor(){super();const ie=function tt(U){return U.hasAttribute("mat-raised-button")?"elevated":U.hasAttribute("mat-stroked-button")?"outlined":U.hasAttribute("mat-flat-button")?"filled":U.hasAttribute("mat-button")?"text":null}(this._elementRef.nativeElement);ie&&this.setAppearance(ie)}setAppearance(ie){if(ie===this._appearance)return;const we=this._elementRef.nativeElement.classList,oe=this._appearance?Ve.get(this._appearance):null,de=Ve.get(ie);oe&&we.remove(...oe),we.add(...de),this._appearance=ie}static \u0275fac=function(we){return new(we||U)};static \u0275cmp=h.VBU({type:U,selectors:[["button","matButton",""],["a","matButton",""],["button","mat-button",""],["button","mat-raised-button",""],["button","mat-flat-button",""],["button","mat-stroked-button",""],["a","mat-button",""],["a","mat-raised-button",""],["a","mat-flat-button",""],["a","mat-stroked-button",""]],hostAttrs:[1,"mdc-button"],inputs:{appearance:[0,"matButton","appearance"]},exportAs:["matButton","matAnchor"],features:[h.Vt3],attrs:B,ngContentSelectors:j,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(we,oe){1&we&&(h.NAR(K),h.Hgh(0,"span",0),h.SdG(1),h.rj2(2,"span",1),h.SdG(3,1),h.eux(),h.SdG(4,2),h.Hgh(5,"span",2)(6,"span",3)),2&we&&h.AVh("mdc-button__ripple",!oe._isFab)("mdc-fab__ripple",oe
vendor: 25,539 bytes, line 1
1._isFab)},styles:['.mat-mdc-button-base {\n  text-decoration: none;\n}\n.mat-mdc-button-base .mat-icon {\n  min-height: fit-content;\n  flex-shrink: 0;\n}\n@media (hover: none) {\n  .mat-mdc-button-base:hover > span.mat-mdc-button-persistent-ripple::before {\n    opacity: 0;\n  }\n}\n\n.mdc-button {\n  -webkit-user-select: none;\n  user-select: none;\n  position: relative;\n  display: inline-flex;\n  align-items: center;\n  justify-content: center;\n  box-sizing: border-box;\n  min-width: 64px;\n  border: none;\n  outline: none;\n  line-height: inherit;\n  -webkit-appearance: none;\n  overflow: visible;\n  vertical-align: middle;\n  background: transparent;\n  padding: 0 8px;\n}\n.mdc-button::-moz-focus-inner {\n  padding: 0;\n  border: 0;\n}\n.mdc-button:active {\n  outline: none;\n}\n.mdc-button:hover {\n  cursor: pointer;\n}\n.mdc-button:disabled {\n  cursor: default;\n  pointer-events: none;\n}\n.mdc-button[hidden] {\n  display: none;\n}\n.mdc-button .mdc-button__label {\n  position: relative;\n}\n\n.mat-mdc-button {\n  padding: 0 var(--mat-button-text-horizontal-padding, 12px);\n  height: var(--mat-button-text-container-height, 40px);\n  font-family: var(--mat-button-text-label-text-font, var(--mat-sys-label-large-font));\n  font-size: var(--mat-button-text-label-text-size, var(--mat-sys-label-large-size));\n  letter-spacing: var(--mat-button-text-label-text-tracking, var(--mat-sys-label-large-tracking));\n  text-transform: var(--mat-button-text-label-text-transform);\n  font-weight: var(--mat-button-text-label-text-weight, var(--mat-sys-label-large-weight));\n}\n.mat-mdc-button, .mat-mdc-button .mdc-button__ripple {\n  border-radius: var(--mat-button-text-container-shape, var(--mat-sys-corner-full));\n}\n.mat-mdc-button:not(:disabled) {\n  color: var(--mat-button-text-label-text-color, var(--mat-sys-primary));\n}\n.mat-mdc-button[disabled], .mat-mdc-button.mat-mdc-button-disabled {\n  cursor: default;\n  pointer-events: none;\n  color: var(--mat-button-text-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));\n}\n.mat-mdc-button.mat-mdc-button-disabled-interactive {\n  pointer-events: auto;\n}\n.mat-mdc-button:has(.material-icons, mat-icon, [matButtonIcon]) {\n  padding: 0 var(--mat-button-text-with-icon-horizontal-padding, 16px);\n}\n.mat-mdc-button > .mat-icon {\n  margin-right: var(--mat-button-text-icon-spacing, 8px);\n  margin-left: var(--mat-button-text-icon-offset, -4px);\n}\n[dir=rtl] .mat-mdc-button > .mat-icon {\n  margin-right: var(--mat-button-text-icon-offset, -4px);\n  margin-left: var(--mat-button-text-icon-spacing, 8px);\n}\n.mat-mdc-button .mdc-button__label + .mat-icon {\n  margin-right: var(--mat-button-text-icon-offset, -4px);\n  margin-left: var(--mat-button-text-icon-spacing, 8px);\n}\n[dir=rtl] .mat-mdc-button .mdc-button__label + .mat-icon {\n  margin-right: var(--mat-button-text-icon-spacing, 8px);\n  margin-left: var(--mat-button-text-icon-offset, -4px);\n}\n.mat-mdc-button .mat-ripple-element {\n  background-color: var(--mat-button-text-ripple-color, color-mix(in srgb, var(--mat-sys-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent));\n}\n.mat-mdc-button .mat-mdc-button-persistent-ripple::before {\n  background-color: var(--mat-button-text-state-layer-color, var(--mat-sys-primary));\n}\n.mat-mdc-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before {\n  background-color: var(--mat-button-text-disabled-state-layer-color, var(--mat-sys-on-surface-variant));\n}\n.mat-mdc-button:hover > .mat-mdc-button-persistent-ripple::before {\n  opacity: var(--mat-button-text-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity));\n}\n.mat-mdc-button.cdk-program-focused > .mat-mdc-button-persistent-ripple::before, .mat-mdc-button.cdk-keyboard-focused > .mat-mdc-button-persistent-ripple::before, .mat-mdc-button.mat-mdc-button-disabled-interactive:focus > .mat-mdc-button-persistent-ripple::before {\n  opacity: var(--mat-button-text-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity));\n}\n.mat-mdc-button:active > .mat-mdc-button-persistent-ripple::before {\n  opacity: var(--mat-button-text-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity));\n}\n.mat-mdc-button .mat-mdc-button-touch-target {\n  position: absolute;\n  top: 50%;\n  height: var(--mat-button-text-touch-target-size, 48px);\n  display: var(--mat-button-text-touch-target-display, block);\n  left: 0;\n  right: 0;\n  transform: translateY(-50%);\n}\n\n.mat-mdc-unelevated-button {\n  transition: box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);\n  height: var(--mat-button-filled-container-height, 40px);\n  font-family: var(--mat-button-filled-label-text-font, var(--mat-sys-label-large-font));\n  font-size: var(--mat-button-filled-label-text-size, var(--mat-sys-label-large-size));\n  letter-spacing: var(--mat-button-filled-label-text-tracking, var(--mat-sys-label-large-tracking));\n  text-transform: var(--mat-button-filled-label-text-transform);\n  font-weight: var(--mat-button-filled-label-text-weight, var(--mat-sys-label-large-weight));\n  padding: 0 var(--mat-button-filled-horizontal-padding, 24px);\n}\n.mat-mdc-unelevated-button > .mat-icon {\n  margin-right: var(--mat-button-filled-icon-spacing, 8px);\n  margin-left: var(--mat-button-filled-icon-offset, -8px);\n}\n[dir=rtl] .mat-mdc-unelevated-button > .mat-icon {\n  margin-right: var(--mat-button-filled-icon-offset, -8px);\n  margin-left: var(--mat-button-filled-icon-spacing, 8px);\n}\n.mat-mdc-unelevated-button .mdc-button__label + .mat-icon {\n  margin-right: var(--mat-button-filled-icon-offset, -8px);\n  margin-left: var(--mat-button-filled-icon-spacing, 8px);\n}\n[dir=rtl] .mat-mdc-unelevated-button .mdc-button__label + .mat-icon {\n  margin-right: var(--mat-button-filled-icon-spacing, 8px);\n  margin-left: var(--mat-button-filled-icon-offset, -8px);\n}\n.mat-mdc-unelevated-button .mat-ripple-element {\n  background-color: var(--mat-button-filled-ripple-color, color-mix(in srgb, var(--mat-sys-on-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent));\n}\n.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before {\n  background-color: var(--mat-button-filled-state-layer-color, var(--mat-sys-on-primary));\n}\n.mat-mdc-unelevated-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before {\n  background-color: var(--mat-button-filled-disabled-state-layer-color, var(--mat-sys-on-surface-variant));\n}\n.mat-mdc-unelevated-button:hover > .mat-mdc-button-persistent-ripple::before {\n  opacity: var(--mat-button-filled-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity));\n}\n.mat-mdc-unelevated-button.cdk-program-focused > .mat-mdc-button-persistent-ripple::before, .mat-mdc-unelevated-button.cdk-keyboard-focused > .mat-mdc-button-persistent-ripple::before, .mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive:focus > .mat-mdc-button-persistent-ripple::before {\n  opacity: var(--mat-button-filled-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity));\n}\n.mat-mdc-unelevated-button:active > .mat-mdc-button-persistent-ripple::before {\n  opacity: var(--mat-button-filled-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity));\n}\n.mat-mdc-unelevated-button .mat-mdc-button-touch-target {\n  position: absolute;\n  top: 50%;\n  height: var(--mat-button-filled-touch-target-size, 48px);\n  display: var(--mat-button-filled-touch-target-display, block);\n  left: 0;\n  right: 0;\n  transform: translateY(-50%);\n}\n.mat-mdc-unelevated-button:not(:disabled) {\n  color: var(--mat-button-filled-label-text-color, var(--mat-sys-on-primary));\n  background-color: var(--mat-button-filled-container-color, var(--mat-sys-primary));\n}\n.mat-mdc-unelevated-button, .mat-mdc-unelevated-button .mdc-button__ripple {\n  border-radius: var(--mat-button-filled-container-shape, var(--mat-sys-corner-full));\n}\n.mat-mdc-unelevated-button[disabled], .mat-mdc-unelevated-button.mat-mdc-button-disabled {\n  cursor: default;\n  pointer-events: none;\n  color: var(--mat-button-filled-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));\n  background-color: var(--mat-button-filled-disabled-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent));\n}\n.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive {\n  pointer-events: auto;\n}\n\n.mat-mdc-raised-button {\n  transition: box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);\n  box-shadow: var(--mat-button-protected-container-elevation-shadow, var(--mat-sys-level1));\n  height: var(--mat-button-protected-container-height, 40px);\n  font-family: var(--mat-button-protected-label-text-font, var(--mat-sys-label-large-font));\n  font-size: var(--mat-button-protected-label-text-size, var(--mat-sys-label-large-size));\n  letter-spacing: var(--mat-button-protected-label-text-tracking, var(--mat-sys-label-large-tracking));\n  text-transform: var(--mat-button-protected-label-text-transform);\n  font-weight: var(--mat-button-protected-label-text-weight, var(--mat-sys-label-large-weight));\n  padding: 0 var(--mat-button-protected-horizontal-padding, 24px);\n}\n.mat-mdc-raised-button > .mat-icon {\n  margin-right: var(--mat-button-protected-icon-spacing, 8px);\n  margin-left: var(--mat-button-protected-icon-offset, -8px);\n}\n[dir=rtl] .mat-mdc-raised-button > .mat-icon {\n  margin-right: var(--mat-button-protected-icon-offset, -8px);\n  margin-left: var(--mat-button-protected-icon-spacing, 8px);\n}\n.mat-mdc-raised-button .mdc-button__label + .mat-icon {\n  margin-right: var(--mat-button-protected-icon-offset, -8px);\n  margin-left: var(--mat-button-protected-icon-spacing, 8px);\n}\n[dir=rtl] .mat-mdc-raised-button .mdc-button__label + .mat-icon {\n  margin-right: var(--mat-button-protected-icon-spacing, 8px);\n  margin-left: var(--mat-button-protected-icon-offset, -8px);\n}\n.mat-mdc-raised-button .mat-ripple-element {\n  background-color: var(--mat-button-protected-ripple-color, color-mix(in srgb, var(--mat-sys-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent));\n}\n.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before {\n  background-color: var(--mat-button-protected-state-layer-color, var(--mat-sys-primary));\n}\n.mat-mdc-raised-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before {\n  background-color: var(--mat-button-protected-disabled-state-layer-color, var(--mat-sys-on-surface-variant));\n}\n.mat-mdc-raised-button:hover > .mat-mdc-button-persistent-ripple::before {\n  opacity: var(--mat-button-protected-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity));\n}\n.mat-mdc-raised-button.cdk-program-focused > .mat-mdc-button-persistent-ripple::before, .mat-mdc-raised-button.cdk-keyboard-focused > .mat-mdc-button-persistent-ripple::before, .mat-mdc-raised-button.mat-mdc-button-disabled-interactive:focus > .mat-mdc-button-persistent-ripple::before {\n  opacity: var(--mat-button-protected-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity));\n}\n.mat-mdc-raised-button:active > .mat-mdc-button-persistent-ripple::before {\n  opacity: var(--mat-button-protected-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity));\n}\n.mat-mdc-raised-button .mat-mdc-button-touch-target {\n  position: absolute;\n  top: 50%;\n  height: var(--mat-button-protected-touch-target-size, 48px);\n  display: var(--mat-button-protected-touch-target-display, block);\n  left: 0;\n  right: 0;\n  transform: translateY(-50%);\n}\n.mat-mdc-raised-button:not(:disabled) {\n  color: var(--mat-button-protected-label-text-color, var(--mat-sys-primary));\n  background-color: var(--mat-button-protected-container-color, var(--mat-sys-surface));\n}\n.mat-mdc-raised-button, .mat-mdc-raised-button .mdc-button__ripple {\n  border-radius: var(--mat-button-protected-container-shape, var(--mat-sys-corner-full));\n}\n@media (hover: hover) {\n  .mat-mdc-raised-button:hover {\n    box-shadow: var(--mat-button-protected-hover-container-elevation-shadow, var(--mat-sys-level2));\n  }\n}\n.mat-mdc-raised-button:focus {\n  box-shadow: var(--mat-button-protected-focus-container-elevation-shadow, var(--mat-sys-level1));\n}\n.mat-mdc-raised-button:active, .mat-mdc-raised-button:focus:active {\n  box-shadow: var(--mat-button-protected-pressed-container-elevation-shadow, var(--mat-sys-level1));\n}\n.mat-mdc-raised-button[disabled], .mat-mdc-raised-button.mat-mdc-button-disabled {\n  cursor: default;\n  pointer-events: none;\n  color: var(--mat-button-protected-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));\n  background-color: var(--mat-button-protected-disabled-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent));\n}\n.mat-mdc-raised-button[disabled].mat-mdc-button-disabled, .mat-mdc-raised-button.mat-mdc-button-disabled.mat-mdc-button-disabled {\n  box-shadow: var(--mat-button-protected-disabled-container-elevation-shadow, var(--mat-sys-level0));\n}\n.mat-mdc-raised-button.mat-mdc-button-disabled-interactive {\n  pointer-events: auto;\n}\n\n.mat-mdc-outlined-button {\n  border-style: solid;\n  transition: border 280ms cubic-bezier(0.4, 0, 0.2, 1);\n  height: var(--mat-button-outlined-container-height, 40px);\n  font-family: var(--mat-button-outlined-label-text-font, var(--mat-sys-label-large-font));\n  font-size: var(--mat-button-outlined-label-text-size, var(--mat-sys-label-large-size));\n  letter-spacing: var(--mat-button-outlined-label-text-tracking, var(--mat-sys-label-large-tracking));\n  text-transform: var(--mat-button-outlined-label-text-transform);\n  font-weight: var(--mat-button-outlined-label-text-weight, var(--mat-sys-label-large-weight));\n  border-radius: var(--mat-button-outlined-container-shape, var(--mat-sys-corner-full));\n  border-width: var(--mat-button-outlined-outline-width, 1px);\n  padding: 0 var(--mat-button-outlined-horizontal-padding, 24px);\n}\n.mat-mdc-outlined-button > .mat-icon {\n  margin-right: var(--mat-button-outlined-icon-spacing, 8px);\n  margin-left: var(--mat-button-outlined-icon-offset, -8px);\n}\n[dir=rtl] .mat-mdc-outlined-button > .mat-icon {\n  margin-right: var(--mat-button-outlined-icon-offset, -8px);\n  margin-left: var(--mat-button-outlined-icon-spacing, 8px);\n}\n.mat-mdc-outlined-button .mdc-button__label + .mat-icon {\n  margin-right: var(--mat-button-outlined-icon-offset, -8px);\n  margin-left: var(--mat-button-outlined-icon-spacing, 8px);\n}\n[dir=rtl] .mat-mdc-outlined-button .mdc-button__label + .mat-icon {\n  margin-right: var(--mat-button-outlined-icon-spacing, 8px);\n  margin-left: var(--mat-button-outlined-icon-offset, -8px);\n}\n.mat-mdc-outlined-button .mat-ripple-element {\n  background-color: var(--mat-button-outlined-ripple-color, color-mix(in srgb, var(--mat-sys-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent));\n}\n.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before {\n  background-color: var(--mat-button-outlined-state-layer-color, var(--mat-sys-primary));\n}\n.mat-mdc-outlined-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before {\n  background-color: var(--mat-button-outlined-disabled-state-layer-color, var(--mat-sys-on-surface-variant));\n}\n.mat-mdc-outlined-button:hover > .mat-mdc-button-persistent-ripple::before {\n  opacity: var(--mat-button-outlined-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity));\n}\n.mat-mdc-outlined-button.cdk-program-focused > .mat-mdc-button-persistent-ripple::before, .mat-mdc-outlined-button.cdk-keyboard-focused > .mat-mdc-button-persistent-ripple::before, .mat-mdc-outlined-button.mat-mdc-button-disabled-interactive:focus > .mat-mdc-button-persistent-ripple::before {\n  opacity: var(--mat-button-outlined-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity));\n}\n.mat-mdc-outlined-button:active > .mat-mdc-button-persistent-ripple::before {\n  opacity: var(--mat-button-outlined-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity));\n}\n.mat-mdc-outlined-button .mat-mdc-button-touch-target {\n  position: absolute;\n  top: 50%;\n  height: var(--mat-button-outlined-touch-target-size, 48px);\n  display: var(--mat-button-outlined-touch-target-display, block);\n  left: 0;\n  right: 0;\n  transform: translateY(-50%);\n}\n.mat-mdc-outlined-button:not(:disabled) {\n  color: var(--mat-button-outlined-label-text-color, var(--mat-sys-primary));\n  border-color: var(--mat-button-outlined-outline-color, var(--mat-sys-outline));\n}\n.mat-mdc-outlined-button[disabled], .mat-mdc-outlined-button.mat-mdc-button-disabled {\n  cursor: default;\n  pointer-events: none;\n  color: var(--mat-button-outlined-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));\n  border-color: var(--mat-button-outlined-disabled-outline-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent));\n}\n.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive {\n  pointer-events: auto;\n}\n\n.mat-tonal-button {\n  transition: box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);\n  height: var(--mat-button-tonal-container-height, 40px);\n  font-family: var(--mat-button-tonal-label-text-font, var(--mat-sys-label-large-font));\n  font-size: var(--mat-button-tonal-label-text-size, var(--mat-sys-label-large-size));\n  letter-spacing: var(--mat-button-tonal-label-text-tracking, var(--mat-sys-label-large-tracking));\n  text-transform: var(--mat-button-tonal-label-text-transform);\n  font-weight: var(--mat-button-tonal-label-text-weight, var(--mat-sys-label-large-weight));\n  padding: 0 var(--mat-button-tonal-horizontal-padding, 24px);\n}\n.mat-tonal-button:not(:disabled) {\n  color: var(--mat-button-tonal-label-text-color, var(--mat-sys-on-secondary-container));\n  background-color: var(--mat-button-tonal-container-color, var(--mat-sys-secondary-container));\n}\n.mat-tonal-button, .mat-tonal-button .mdc-button__ripple {\n  border-radius: var(--mat-button-tonal-container-shape, var(--mat-sys-corner-full));\n}\n.mat-tonal-button[disabled], .mat-tonal-button.mat-mdc-button-disabled {\n  cursor: default;\n  pointer-events: none;\n  color: var(--mat-button-tonal-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));\n  background-color: var(--mat-button-tonal-disabled-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent));\n}\n.mat-tonal-button.mat-mdc-button-disabled-interactive {\n  pointer-events: auto;\n}\n.mat-tonal-button > .mat-icon {\n  margin-right: var(--mat-button-tonal-icon-spacing, 8px);\n  margin-left: var(--mat-button-tonal-icon-offset, -8px);\n}\n[dir=rtl] .mat-tonal-button > .mat-icon {\n  margin-right: var(--mat-button-tonal-icon-offset, -8px);\n  margin-left: var(--mat-button-tonal-icon-spacing, 8px);\n}\n.mat-tonal-button .mdc-button__label + .mat-icon {\n  margin-right: var(--mat-button-tonal-icon-offset, -8px);\n  margin-left: var(--mat-button-tonal-icon-spacing, 8px);\n}\n[dir=rtl] .mat-tonal-button .mdc-button__label + .mat-icon {\n  margin-right: var(--mat-button-tonal-icon-spacing, 8px);\n  margin-left: var(--mat-button-tonal-icon-offset, -8px);\n}\n.mat-tonal-button .mat-ripple-element {\n  background-color: var(--mat-button-tonal-ripple-color, color-mix(in srgb, var(--mat-sys-on-secondary-container) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent));\n}\n.mat-tonal-button .mat-mdc-button-persistent-ripple::before {\n  background-color: var(--mat-button-tonal-state-layer-color, var(--mat-sys-on-secondary-container));\n}\n.mat-tonal-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before {\n  background-color: var(--mat-button-tonal-disabled-state-layer-color, var(--mat-sys-on-surface-variant));\n}\n.mat-tonal-button:hover > .mat-mdc-button-persistent-ripple::before {\n  opacity: var(--mat-button-tonal-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity));\n}\n.mat-tonal-button.cdk-program-focused > .mat-mdc-button-persistent-ripple::before, .mat-tonal-button.cdk-keyboard-focused > .mat-mdc-button-persistent-ripple::before, .mat-tonal-button.mat-mdc-button-disabled-interactive:focus > .mat-mdc-button-persistent-ripple::before {\n  opacity: var(--mat-button-tonal-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity));\n}\n.mat-tonal-button:active > .mat-mdc-button-persistent-ripple::before {\n  opacity: var(--mat-button-tonal-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity));\n}\n.mat-tonal-button .mat-mdc-button-touch-target {\n  position: absolute;\n  top: 50%;\n  height: var(--mat-button-tonal-touch-target-size, 48px);\n  display: var(--mat-button-tonal-touch-target-display, block);\n  left: 0;\n  right: 0;\n  transform: translateY(-50%);\n}\n\n.mat-mdc-button,\n.mat-mdc-unelevated-button,\n.mat-mdc-raised-button,\n.mat-mdc-outlined-button,\n.mat-tonal-button {\n  -webkit-tap-highlight-color: transparent;\n}\n.mat-mdc-button .mat-mdc-button-ripple,\n.mat-mdc-button .mat-mdc-button-persistent-ripple,\n.mat-mdc-button .mat-mdc-button-persistent-ripple::before,\n.mat-mdc-unelevated-button .mat-mdc-button-ripple,\n.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple,\n.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,\n.mat-mdc-raised-button .mat-mdc-button-ripple,\n.mat-mdc-raised-button .mat-mdc-button-persistent-ripple,\n.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,\n.mat-mdc-outlined-button .mat-mdc-button-ripple,\n.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple,\n.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before,\n.mat-tonal-button .mat-mdc-button-ripple,\n.mat-tonal-button .mat-mdc-button-persistent-ripple,\n.mat-tonal-button .mat-mdc-button-persistent-ripple::before {\n  top: 0;\n  left: 0;\n  right: 0;\n  bottom: 0;\n  position: absolute;\n  pointer-events: none;\n  border-radius: inherit;\n}\n.mat-mdc-button .mat-mdc-button-ripple,\n.mat-mdc-unelevated-button .mat-mdc-button-ripple,\n.mat-mdc-raised-button .mat-mdc-button-ripple,\n.mat-mdc-outlined-button .mat-mdc-button-ripple,\n.mat-tonal-button .mat-mdc-button-ripple {\n  overflow: hidden;\n}\n.mat-mdc-button .mat-mdc-button-persistent-ripple::before,\n.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,\n.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,\n.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before,\n.mat-tonal-button .mat-mdc-button-persistent-ripple::before {\n  content: "";\n  opacity: 0;\n}\n.mat-mdc-button .mdc-button__label,\n.mat-mdc-button .mat-icon,\n.mat-mdc-unelevated-button .mdc-button__label,\n.mat-mdc-unelevated-button .mat-icon,\n.mat-mdc-raised-button .mdc-button__label,\n.mat-mdc-raised-button .mat-icon,\n.mat-mdc-outlined-button .mdc-button__label,\n.mat-mdc-outlined-button .mat-icon,\n.mat-tonal-button .mdc-button__label,\n.mat-tonal-button .mat-icon {\n  z-index: 1;\n  position: relative;\n}\n.mat-mdc-button .mat-focus-indicator,\n.mat-mdc-unelevated-button .mat-focus-indicator,\n.mat-mdc-raised-button .mat-focus-indicator,\n.mat-mdc-outlined-button .mat-focus-indicator,\n.mat-tonal-button .mat-focus-indicator {\n  top: 0;\n  left: 0;\n  right: 0;\n  bottom: 0;\n  position: absolute;\n  border-radius: inherit;\n}\n.mat-mdc-button:focus-visible > .mat-focus-indicator::before,\n.mat-mdc-unelevated-button:focus-visible > .mat-focus-indicator::before,\n.mat-mdc-raised-button:focus-visible > .mat-focus-indicator::before,\n.mat-mdc-outlined-button:focus-visible > .mat-focus-indicator::before,\n.mat-tonal-button:focus-visible > .mat-focus-indicator::before {\n  content: "";\n  border-radius: inherit;\n}\n.mat-mdc-button._mat-animation-noopable,\n.mat-mdc-unelevated-button._mat-animation-noopable,\n.mat-mdc-raised-button._mat-animation-noopable,\n.mat-mdc-outlined-button._mat-animation-noopable,\n.mat-tonal-button._mat-animation-noopable {\n  transition: none !important;\n  animation: none !important;\n}\n.mat-mdc-button > .mat-icon,\n.mat-mdc-unelevated-button > .mat-icon,\n.mat-mdc-raised-button > .mat-icon,\n.mat-mdc-outlined-button > .mat-icon,\n.mat-tonal-button > .mat-icon {\n  display: inline-block;\n  position: relative;\n  vertical-align: top;\n  font-size: 1.125rem;\n  height: 1.125rem;\n  width: 1.125rem;\n}\n\n.mat-mdc-outlined-button .mat-mdc-button-ripple,\n.mat-mdc-outlined-button .mdc-button__ripple {\n  top: -1px;\n  left: -1px;\n  bottom: -1px;\n  right: -1px;\n}\n\n.mat-mdc-unelevated-button .mat-focus-indicator::before,\n.mat-tonal-button .mat-focus-indicator::before,\n.mat-mdc-raised-button .mat-focus-indicator::before {\n  margin: calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px) * -1);\n}\n\n.mat-mdc-outlined-button .mat-focus-indicator::before {\n  margin: calc(calc(var(--mat-focus-indicator-border-width, 3px) + 3px) * -1);\n}\n',"@media (forced-colors: active) {\n  .mat-mdc-button:not(.mdc-button--outlined),\n  .mat-mdc-unelevated-button:not(.mdc-button--outlined),\n  .mat-mdc-raised-button:not(.mdc-button--outlined),\n  .mat-mdc-outlined-button:not(.mdc-button--outlined),\n  .mat-mdc-button-base.mat-tonal-button,\n  .mat-mdc-icon-button.mat-mdc-icon-button,\n  .mat-mdc-outlined-button .mdc-button__ripple {\n    outline: solid 1px;\n  }\n}\n"],encapsulation:2,changeDetection:0})}return 
1U})(),N=(()=>{class U{static \u0275fac=function(we){return new(we||U)};static \u0275mod=h.$C({type:U});static \u0275inj=g.G2t({imports:[D,Q.jI]})}return U})()},7941(Yt,ve,a){a.d(ve,{Vh:()=>zt,bZ:()=>Kt,tx:()=>ut,hM:()=>ke});var u=a(6019),h=a(6124),g=a(6563),Q=a(7580),D=a(4205),I=a(137),E=a(9168),O=a(8012),X=a(6522),B=a(8508),K=a(8310),j=a(3037),Pe=a(4334),L=a(7552),ne=a(4879),Ve=a(6306),Fe=a(3433);function tt(ot,Xe){}class nt{viewContainerRef;injector;id;role="dialog";panelClass="";hasBackdrop=!0;backdropClass="";disableClose=!1;closePredicate;width="";height="";minWidth;minHeight;maxWidth;maxHeight;positionStrategy;data=null;direction;ariaDescribedBy=null;ariaLabelledBy=null;ariaLabel=null;ariaModal=!1;autoFocus="first-tabbable";restoreFocus=!0;scrollStrategy;closeOnNavigation=!0;closeOnDestroy=!0;closeOnOverlayDetachments=!0;disableAnimations=!1;providers;container;templateContext}let Oe=(()=>{class ot extends E.lb{_elementRef=(0,g.WQX)(h.aKT);_focusTrapFactory=(0,g.WQX)(O.GX);_config;_interactivityChecker=(0,g.WQX)(O.Z7);_ngZone=(0,g.WQX)(g.SKi);_focusMonitor=(0,g.WQX)(X.FN);_renderer=(0,g.WQX)(h.sFG);_changeDetectorRef=(0,g.WQX)(Q.gRc);_injector=(0,g.WQX)(g.zZn);_platform=(0,g.WQX)(B.O);_document=(0,g.WQX)(g.qQL);_portalOutlet;_focusTrapped=new D.B;_focusTrap=null;_elementFocusedBeforeDialogWasOpened=null;_closeInteractionType=null;_ariaLabelledByQueue=[];_isDestroyed=!1;constructor(){super(),this._config=(0,g.WQX)(nt,{optional:!0})||new nt,this._config.ariaLabelledBy&&this._ariaLabelledByQueue.push(this._config.ariaLabelledBy)}_addAriaLabelledBy(fe){this._ariaLabelledByQueue.push(fe),this._changeDetectorRef.markForCheck()}_removeAriaLabelledBy(fe){const Y=this._ariaLabelledByQueue.indexOf(fe);Y>-1&&(this._ariaLabelledByQueue.splice(Y,1),this._changeDetectorRef.markForCheck())}_contentAttached(){this._initializeFocusTrap(),this._captureInitialFocus()}_captureInitialFocus(){this._trapFocus()}ngOnDestroy(){this._focusTrapped.complete(),this._isDestroyed=!0,this._restoreFocus()}attachComponentPortal(fe){this._portalOutlet.hasAttached();const Y=this._portalOutlet.attachComponentPortal(fe);return this._contentAttached(),Y}attachTemplatePortal(fe){this._portalOutlet.hasAttached();const Y=this._portalOutlet.attachTemplatePortal(fe);return this._contentAttached(),Y}attachDomPortal=fe=>{this._portalOutlet.hasAttached();const Y=this._portalOutlet.attachDomPortal(fe);return this._contentAttached(),Y};_recaptureFocus(){this._containsFocus()||this._trapFocus()}_forceFocus(fe,Y){this._interactivityChecker.isFocusable(fe)||(fe.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{const Se=()=>{Ce(),ct(),fe.removeAttribute("tabindex")}
1,Ce=this._renderer.listen(fe,"blur",Se),ct=this._renderer.listen(fe,"mousedown",Se)})),fe.focus(Y)}_focusByCssSelector(fe,Y){let Se=this._elementRef.nativeElement.querySelector(fe);Se&&this._forceFocus(Se,Y)}_trapFocus(fe){this._isDestroyed||(0,h.mal)(()=>{const Y=this._elementRef.nativeElement;switch(this._config.autoFocus){case!1:case"dialog":this._containsFocus()||Y.focus(fe);break;case!0:case"first-tabbable":this._focusTrap?.focusInitialElement(fe)||this._focusDialogContainer(fe);break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]',fe);break;default:this._focusByCssSelector(this._config.autoFocus,fe)}this._focusTrapped.next()},{injector:this._injector})}_restoreFocus(){const fe=this._config.restoreFocus;let Y=null;if("string"==typeof fe?Y=this._document.querySelector(fe):"boolean"==typeof fe?Y=fe?this._elementFocusedBeforeDialogWasOpened:null:fe&&(Y=fe),this._config.restoreFocus&&Y&&"function"==typeof Y.focus){const Se=(0,K.vc)(),Ce=this._elementRef.nativeElement;(!Se||Se===this._document.body||Se===Ce||Ce.contains(Se))&&(this._focusMonitor?(this._focusMonitor.focusVia(Y,this._closeInteractionType),this._closeInteractionType=null):Y.focus())}this._focusTrap&&this._focusTrap.destroy()}_focusDialogContainer(fe){this._elementRef.nativeElement.focus?.(fe)}_containsFocus(){const fe=this._elementRef.nativeElement,Y=(0,K.vc)();return fe===Y||fe.contains(Y)}_initializeFocusTrap(){this._platform.isBrowser&&(this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._document&&(this._elementFocusedBeforeDialogWasOpened=(0,K.vc)()))}static \u0275fac=function(Y){return new(Y||ot)};static \u0275cmp=h.VBU({type:ot,selectors:[["cdk-dialog-container"]],viewQuery:function(Y,Se){if(1&Y&&h.GBs(E.I3,7),2&Y){let Ce;h.mGM(Ce=h.lsd())&&(Se._portalOutlet=Ce.first)}},hostAttrs:["tabindex","-1",1,"cdk-dialog-container"],hostVars:6,hostBindings:function(Y,Se){2&Y&&h.BMQ("id",Se._config.id||null)("role",Se._config.role)("aria-modal",Se._config.ariaModal)("aria-labelledby",Se._config.ariaLabel?null:Se._ariaLabelledByQueue[0])("aria-label",Se._config.ariaLabel)("aria-describedby",Se._config.ariaDescribedBy||null)},features:[h.Vt3],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(Y,Se){1&Y&&h.DNE(0,tt,0,0,"ng-template",0)},dependencies:[E.I3],styles:[".cdk-dialog-container {\n  display: block;\n  width: 100%;\n  height: 100%;\n  min-height: inherit;\n  max-height: inherit;\n}\n"],encapsulation:2})}return ot})();class xe{overlayRef;config;componentInstance=null;componentRef=null;containerInstance;disableClose;closed=new D.B;backdropClick;keydownEvents;outsidePointerEvents;id;_detachSubscription;constructor(Xe,fe){this.overlayRef=Xe,this.config=fe,this.disableClose=fe.disableClose,this.backdropClick=Xe.backdropClick(),this.keydownEvents=Xe.keydownEvents(),this.outsidePointerEvents=Xe.outsidePointerEvents(),this.id=fe.id,this.keydownEvents.subscribe(Y=>{Y.keyCode===L._f&&!this.disableClose&&!(0,ne.rp)(Y)&&(Y.preventDefault(),this.close(void 0,{focusOrigin:"keyboard"}))}),this.backdropClick.subscribe(()=>{!this.disableClose&&this._canClose()?this.close(void 0,{focusOrigin:"mouse"}):this.containerInstance._recaptureFocus?.()}),this._detachSubscription=Xe.detachments().subscribe(()=>{!1!==fe.closeOnOverlayDetachments&&this.close()})}close(Xe,fe){if(this._canClose(Xe)){const Y=this.closed;this.containerInstance._closeInteractionType=fe?.focusOrigin||"program",this._detachSubscription.unsubscribe(),this.overlayRef.dispose(),Y.next(Xe),Y.complete(),this.componentInstance=this.containerInstance=null}}updatePosition(){return this.overlayRef.updatePosition(),this}updateSize(Xe="",fe=""){return this.overlayRef.updateSize({width:Xe,height:fe}),this}addPanelClass(Xe){return this.overlayRef.addPanelClass(Xe),this}removePanelClass(Xe){return this.overlayRef.removePanelClass(Xe),this}_canClose(Xe){const fe=this.config;return!!this.containerInstance&&(!fe.closePredicate||fe.closePredicate(Xe,fe,this.componentInstance))}}const it=new g.nKC("DialogScrollStrategy",{providedIn:"root",factory:()=>{const ot=(0,g.WQX)(g.zZn);return()=>(0,u.gA)(ot)}}),q=new g.nKC("DialogData"),F=new g.nKC("DefaultDialogConfig");function N(ot){const Xe=(0,g.vPA)(ot),fe=new g.bkB;return{valueSignal:Xe,get value(){return Xe()},change:fe,ngOnDestroy(){fe.complete()}}}let U=(()=>{class ot{_injector=(0,g.WQX)(g.zZn);_defaultOptions=(0,g.WQX)(F,{optional:!0});_parentDialog=(0,g.WQX)(ot,{optional:!0,skipSelf:!0});_overlayContainer=(0,g.WQX)(u.Sf);_idGenerator=(0,g.WQX)(Ve.g);_openDialogsAtThisLevel=[];_afterAllClosedAtThisLevel=new D.B;_afterOpenedAtThisLevel=new D.B;_ariaHiddenElements=new Map;_scrollStrategy=(0,g.WQX)(it);get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}afterAllClosed=(0,I.v)(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe((0,j.Z)(void 0)));constructor(){}open(fe,Y){(Y={...this._defaultOptions||new nt,...Y}).id=Y.id||this._idGenerator.getId("cdk-dialog-"),Y.id&&this.getDialogById(Y.id);const Ce=this._getOverlayConfig(Y),ct=(0,u.Y$)(this._injector,Ce),_e=new xe(ct,Y),P=this._attachContainer(ct,_e,Y);if(_e.containerInstance=P,!this.openDialogs.length){const Ae=this._overlayContainer.getContainerElement();P._focusTrapped?P._focusTrapped.pipe((0,Pe.s)(1)).subscribe(()=>{this._hideNonDialogContentFromAssistiveTechnology(Ae)}):this._hideNonDialogContentFromAssistiveTechnology(Ae)}return this._attachDialogContent(fe,_e,P,Y),this.openDialogs.push(_e),_e.closed.subscribe(()=>this._removeOpenDialog(_e,!0)),this.afterOpened.next(_e),_e}closeAll(){ce(this.openDialogs,fe=>fe.close())}getDialogById(fe){return this.openDialogs.find(Y=>Y.id===fe)}ngOnDestroy(){ce(this._openDialogsAtThisLevel,fe=>{!1===fe.config.closeOnDestroy&&this._removeOpenDialog(fe,!1)}),ce(this._openDialogsAtThisLevel,fe=>fe.close()),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete(),this._openDialogsAtThisLevel=[]}_getOverlayConfig(fe){const Y=new u.rR({positionStrategy:fe.positionStrategy||(0,u.uA)().centerHorizontally().centerVertically(),scrollStrategy:fe.scrollStrategy||this._scrollStrategy(),panelClass:fe.panelClass,hasBackdrop:fe.hasBackdrop,direction:fe.direction,minWidth:fe.minWidth,minHeight:fe.minHeight,maxWidth:fe.maxWidth,maxHeight:fe.maxHeight,width:fe.width,height:fe.height,disposeOnNavigation:fe.closeOnNavigation,disableAnimations:fe.disableAnimations});return fe.backdropClass&&(Y.backdropClass=fe.backdropClass),Y}_attachContainer(fe,Y,Se){const Ce=Se.injector||Se.viewContainerRef?.injector,ct=[{provide:nt,useValue:Se},{provide:xe,useValue:Y},{provide:u.yY,useValue:fe}];let _e;Se.container?"function"==typeof Se.container?_e=Se.container:(_e=Se.container.type,ct.push(...Se.container.providers(Se))):_e=Oe;const P=new E.A8(_e,Se.viewContainerRef,g.zZn.create({parent:Ce||this._injector,providers:ct}));return fe.attach(P).instance}_attachDialogContent(fe,Y,Se,Ce){if(fe instanceof h.C4Q){const ct=this._createInjector(Ce,Y,Se,void 0);let _e={$implicit:Ce.data,dialogRef:Y};Ce.templateContext&&(_e={..._e,..."function"==typeof Ce.templateContext?Ce.templateContext():Ce.templateContext}),Se.attachTemplatePortal(new E.VA(fe,null,_e,ct))}else{const ct=this._createInjector(Ce,Y,Se,this._injector),_e=Se.attachComponentPortal(new E.A8(fe,Ce.viewContainerRef,ct));Y.componentRef=_e,Y.componentInstance=_e.instance}}_createInjector(fe,Y,Se,Ce){const ct=fe.injector||fe.viewContainerRef?.injector,_e=[{provide:q,useValue:fe.data},{provide:xe,useValue:Y}];return fe.providers&&("function"==typeof fe.providers?_e.push(...fe.providers(Y,fe,Se)):_e.push(...fe.providers)),fe.direction&&(!ct||!ct.get(Fe.dS,null,{optional:!0}))&&_e.push({provide:Fe.dS,useValue:N(fe.direction)}),g.zZn.create({parent:ct||Ce,providers:_e})}_removeOpenDialog(fe,Y){const Se=this.openDialogs.indexOf(fe);Se>-1&&(this.openDialogs.splice(Se,1),this.openDialogs.length||(this._ariaHiddenElements.forEac
vendor: 10,530 bytes, line 1
1h((Ce,ct)=>{Ce?ct.setAttribute("aria-hidden",Ce):ct.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),Y&&this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(fe){if(fe.parentElement){const Y=fe.parentElement.children;for(let Se=Y.length-1;Se>-1;Se--){const Ce=Y[Se];Ce!==fe&&"SCRIPT"!==Ce.nodeName&&"STYLE"!==Ce.nodeName&&!Ce.hasAttribute("aria-live")&&!Ce.hasAttribute("popover")&&(this._ariaHiddenElements.set(Ce,Ce.getAttribute("aria-hidden")),Ce.setAttribute("aria-hidden","true"))}}}_getAfterAllClosed(){const fe=this._parentDialog;return fe?fe._getAfterAllClosed():this._afterAllClosedAtThisLevel}static \u0275fac=function(Y){return new(Y||ot)};static \u0275prov=g.jDH({token:ot,factory:ot.\u0275fac,providedIn:"root"})}return ot})();function ce(ot,Xe){let fe=ot.length;for(;fe--;)Xe(ot[fe])}let ie=(()=>{class ot{static \u0275fac=function(Y){return new(Y||ot)};static \u0275mod=h.$C({type:ot});static \u0275inj=g.G2t({providers:[U],imports:[u.z_,E.jc,O.Pd,E.jc]})}return ot})();var we=a(6075),oe=a(7432),de=a(6042),He=a(3617),Be=a(1567),Te=(a(4344),a(3680));function le(ot,Xe){}class pt{viewContainerRef;injector;id;role="dialog";panelClass="";hasBackdrop=!0;backdropClass="";disableClose=!1;closePredicate;width="";height="";minWidth;minHeight;maxWidth;maxHeight;position;data=null;direction;ariaDescribedBy=null;ariaLabelledBy=null;ariaLabel=null;ariaModal=!1;autoFocus="first-tabbable";restoreFocus=!0;delayFocusTrap=!0;scrollStrategy;closeOnNavigation=!0;enterAnimationDuration;exitAnimationDuration}const Ie="mdc-dialog--open",ze="mdc-dialog--opening",Qe="mdc-dialog--closing";let Et=(()=>{class ot extends Oe{_animationStateChanged=new g.bkB;_animationsEnabled=!(0,oe.Rc)();_actionSectionCount=0;_hostElement=this._elementRef.nativeElement;_enterAnimationDuration=this._animationsEnabled?ht(this._config.enterAnimationDuration)??150:0;_exitAnimationDuration=this._animationsEnabled?ht(this._config.exitAnimationDuration)??75:0;_animationTimer=null;_contentAttached(){super._contentAttached(),this._startOpenAnimation()}_startOpenAnimation(){this._animationStateChanged.emit({state:"opening",totalTime:this._enterAnimationDuration}),this._animationsEnabled?(this._hostElement.style.setProperty(kt,`${this._enterAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(ze,Ie)),this._waitForAnimationToComplete(this._enterAnimationDuration,this._finishDialogOpen)):(this._hostElement.classList.add(Ie),Promise.resolve().then(()=>this._finishDialogOpen()))}_startExitAnimation(){this._animationStateChanged.emit({state:"closing",totalTime:this._exitAnimationDuration}),this._hostElement.classList.remove(Ie),this._animationsEnabled?(this._hostElement.style.setProperty(kt,`${this._exitAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(Qe)),this._waitForAnimationToComplete(this._exitAnimationDuration,this._finishDialogClose)):Promise.resolve().then(()=>this._finishDialogClose())}_updateActionSectionCount(fe){this._actionSectionCount+=fe,this._changeDetectorRef.markForCheck()}_finishDialogOpen=()=>{this._clearAnimationClasses(),this._openAnimationDone(this._enterAnimationDuration)};_finishDialogClose=()=>{this._clearAnimationClasses(),this._animationStateChanged.emit({state:"closed",totalTime:this._exitAnimationDuration})};_clearAnimationClasses(){this._hostElement.classList.remove(ze,Qe)}_waitForAnimationToComplete(fe,Y){null!==this._animationTimer&&clearTimeout(this._animationTimer),this._animationTimer=setTimeout(Y,fe)}_requestAnimationFrame(fe){this._ngZone.runOutsideAngular(()=>{"function"==typeof requestAnimationFrame?requestAnimationFrame(fe):fe()})}_captureInitialFocus(){this._config.delayFocusTrap||this._trapFocus()}_openAnimationDone(fe){this._config.delayFocusTrap&&this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:fe})}ngOnDestroy(){super.ngOnDestroy(),null!==this._animationTimer&&clearTimeout(this._animationTimer)}attachComponentPortal(fe){const Y=super.attachComponentPortal(fe);return Y.location.nativeElement.classList.add("mat-mdc-dialog-component-host"),Y}static \u0275fac=(()=>{let fe;return function(Se){return(fe||(fe=h.xGo(ot)))(Se||ot)}})();static \u0275cmp=h.VBU({type:ot,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1",1,"mat-mdc-dialog-container","mdc-dialog"],hostVars:10,hostBindings:function(Y,Se){2&Y&&(h.Avn("id",Se._config.id),h.BMQ("aria-modal",Se._config.ariaModal)("role",Se._config.role)("aria-labelledby",Se._config.ariaLabel?null:Se._ariaLabelledByQueue[0])("aria-label",Se._config.ariaLabel)("aria-describedby",Se._config.ariaDescribedBy||null),h.AVh("_mat-animation-noopable",!Se._animationsEnabled)("mat-mdc-dialog-container-with-actions",Se._actionSectionCount>0))},features:[h.Vt3],decls:3,vars:0,consts:[[1,"mat-mdc-dialog-inner-container","mdc-dialog__container"],[1,"mat-mdc-dialog-surface","mdc-dialog__surface"],["cdkPortalOutlet",""]],template:function(Y,Se){1&Y&&(h.j41(0,"div",0)(1,"div",1),h.DNE(2,le,0,0,"ng-template",2),h.k0s()())},dependencies:[E.I3],styles:['.mat-mdc-dialog-container {\n  width: 100%;\n  height: 100%;\n  display: block;\n  box-sizing: border-box;\n  max-height: inherit;\n  min-height: inherit;\n  min-width: inherit;\n  max-width: inherit;\n  outline: 0;\n}\n\n.cdk-overlay-pane.mat-mdc-dialog-panel {\n  max-width: var(--mat-dialog-container-max-width, 560px);\n  min-width: var(--mat-dialog-container-min-width, 280px);\n}\n@media (max-width: 599px) {\n  .cdk-overlay-pane.mat-mdc-dialog-panel {\n    max-width: var(--mat-dialog-container-small-max-width, calc(100vw - 32px));\n  }\n}\n\n.mat-mdc-dialog-inner-container {\n  display: flex;\n  flex-direction: row;\n  align-items: center;\n  justify-content: space-around;\n  box-sizing: border-box;\n  height: 100%;\n  opacity: 0;\n  transition: opacity linear var(--mat-dialog-transition-duration, 0ms);\n  max-height: inherit;\n  min-height: inherit;\n  min-width: inherit;\n  max-width: inherit;\n}\n.mdc-dialog--closing .mat-mdc-dialog-inner-container {\n  transition: opacity 75ms linear;\n  transform: none;\n}\n.mdc-dialog--open .mat-mdc-dialog-inner-container {\n  opacity: 1;\n}\n._mat-animation-noopable .mat-mdc-dialog-inner-container {\n  transition: none;\n}\n\n.mat-mdc-dialog-surface {\n  display: flex;\n  flex-direction: column;\n  flex-grow: 0;\n  flex-shrink: 0;\n  box-sizing: border-box;\n  width: 100%;\n  height: 100%;\n  position: relative;\n  overflow-y: auto;\n  outline: 0;\n  transform: scale(0.8);\n  transition: transform var(--mat-dialog-transition-duration, 0ms) cubic-bezier(0, 0, 0.2, 1);\n  max-height: inherit;\n  min-height: inherit;\n  min-width: inherit;\n  max-width: inherit;\n  box-shadow: var(--mat-dialog-container-elevation-shadow, none);\n  border-radius: var(--mat-dialog-container-shape, var(--mat-sys-corner-extra-large, 4px));\n  background-color: var(--mat-dialog-container-color, var(--mat-sys-surface, white));\n}\n[dir=rtl] .mat-mdc-dialog-surface {\n  text-align: right;\n}\n.mdc-dialog--open .mat-mdc-dialog-surface, .mdc-dialog--closing .mat-mdc-dialog-surface {\n  transform: none;\n}\n._mat-animation-noopable .mat-mdc-dialog-surface {\n  transition: none;\n}\n.mat-mdc-dialog-surface::before {\n  position: absolute;\n  box-sizing: border-box;\n  width: 100%;\n  height: 100%;\n  top: 0;\n  left: 0;\n  border: 2px solid transparent;\n  border-radius: inherit;\n  content: "";\n  pointer-events: none;\n}\n\n.mat-mdc-dialog-title {\n  display: block;\n  position: relative;\n  flex-shrink: 0;\n  box-sizing: border-box;\n  margin: 0 0 1px;\n  padding: var(--mat-dialog-headline-padding, 6px 24px 13px);\n}\n.mat-mdc-dialog-title::before {\n  display: inline-block;\n  width: 0;\n  height: 40px;\n  content: "";\n  vertical-align: 0;\n}\n[dir=rtl] .mat-mdc-dialog-title {\n  text-align: right;\n}\n.mat-mdc-dialog-container .mat-mdc-dialog-title {\n  color: var(--mat-dialog-subhead-color, var(--mat-sys-on-surface, rgba(0, 0, 0, 0.87)));\n  font-family: var(--mat-dialog-subhead-font, var(--mat-sys-headline-small-font, inherit));\n  line-height: var(--mat-dialog-subhead-line-height, var(--mat-sys-headline-small-line-height, 1.5rem));\n  font-size: var(--mat-dialog-subhead-size, var(--mat-sys-headline-small-size, 1rem));\n  font-weight: var(--mat-dialog-subhead-weight, var(--mat-sys-headline-small-weight, 400));\n  letter-spacing: var(--mat-dialog-subhead-tracking, var(--mat-sys-headline-small-tracking, 0.03125em));\n}\n\n.mat-mdc-dialog-content {\n  display: block;\n  flex-grow: 1;\n  box-sizing: border-box;\n  margin: 0;\n  overflow: auto;\n  max-height: 65vh;\n}\n.mat-mdc-dialog-content > :first-child {\n  margin-top: 0;\n}\n.mat-mdc-dialog-content > :last-child {\n  margin-bottom: 0;\n}\n.mat-mdc-dialog-container .mat-mdc-dialog-content {\n  color: var(--mat-dialog-supporting-text-color, var(--mat-sys-on-surface-variant, rgba(0, 0, 0, 0.6)));\n  font-family: var(--mat-dialog-supporting-text-font, var(--mat-sys-body-medium-font, inherit));\n  line-height: var(--mat-dialog-supporting-text-line-height, var(--mat-sys-body-medium-line-height, 1.5rem));\n  font-size: var(--mat-dialog-supporting-text-size, var(--mat-sys-body-medium-size, 1rem));\n  font-weight: var(--mat-dialog-supporting-text-weight, var(--mat-sys-body-medium-weight, 400));\n  letter-spacing: var(--mat-dialog-supporting-text-tracking, var(--mat-sys-body-medium-tracking, 0.03125em));\n}\n.mat-mdc-dialog-container .mat-mdc-dialog-content {\n  padding: var(--mat-dialog-content-padding, 20px 24px);\n}\n.mat-mdc-dialog-container-with-actions .mat-mdc-dialog-content {\n  padding: var(--mat-dialog-with-actions-content-padding, 20px 24px 0);\n}\n.mat-mdc-dialog-container .mat-mdc-dialog-title + .mat-mdc-dialog-content {\n  padding-top: 0;\n}\n\n.mat-mdc-dialog-actions {\n  display: flex;\n  position: relative;\n  flex-shrink: 0;\n  flex-wrap: wrap;\n  align-items: center;\n  box-sizing: border-box;\n  min-height: 52px;\n  margin: 0;\n  border-top: 1px solid transparent;\n  padding: var(--mat-dialog-actions-padding, 16px 24px);\n  justify-content: var(--mat-dialog-actions-alignment, flex-end);\n}\n@media (forced-colors: active) {\n  .mat-mdc-dialog-actions {\n    border-top-color: CanvasText;\n  }\n}\n.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-start, .mat-mdc-dialog-actions[align=start] {\n  justify-content: start;\n}\n.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-center, .mat-mdc-dialog-actions[align=center] {\n  justify-content: center;\n}
1\n.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-end, .mat-mdc-dialog-actions[align=end] {\n  justify-content: flex-end;\n}\n.mat-mdc-dialog-actions .mat-button-base + .mat-button-base,\n.mat-mdc-dialog-actions .mat-mdc-button-base + .mat-mdc-button-base {\n  margin-left: 8px;\n}\n[dir=rtl] .mat-mdc-dialog-actions .mat-button-base + .mat-button-base,\n[dir=rtl] .mat-mdc-dialog-actions .mat-mdc-button-base + .mat-mdc-button-base {\n  margin-left: 0;\n  margin-right: 8px;\n}\n\n.mat-mdc-dialog-component-host {\n  display: contents;\n}\n'],encapsulation:2})}return ot})();const kt="--mat-dialog-transition-duration";function ht(ot){return null==ot?null:"number"==typeof ot?ot:ot.endsWith("ms")?(0,we.OE)(ot.substring(0,ot.length-2)):ot.endsWith("s")?1e3*(0,we.OE)(ot.substring(0,ot.length-1)):"0"===ot?0:null}var Ne=function(ot){return ot[ot.OPEN=0]="OPEN",ot[ot.CLOSING=1]="CLOSING",ot[ot.CLOSED=2]="CLOSED",ot}(Ne||{});class Ot{_ref;_config;_containerInstance;componentInstance;componentRef=null;disableClose;id;_afterOpened=new de.m(1);_beforeClosed=new de.m(1);_result;_closeFallbackTimeout;_state=Ne.OPEN;_closeInteractionType;constructor(Xe,fe,Y){this._ref=Xe,this._config=fe,this._containerInstance=Y,this.disableClose=fe.disableClose,this.id=Xe.id,Xe.addPanelClass("mat-mdc-dialog-panel"),Y._animationStateChanged.pipe((0,Be.p)(Se=>"opened"===Se.state),(0,Pe.s)(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),Y._animationStateChanged.pipe((0,Be.p)(Se=>"closed"===Se.state),(0,Pe.s)(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),Xe.overlayRef.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._finishDialogClose()}),(0,He.h)(this.backdropClick(),this.keydownEvents().pipe((0,Be.p)(Se=>Se.keyCode===L._f&&!this.disableClose&&!(0,ne.rp)(Se)))).subscribe(Se=>{this.disableClose||(Se.preventDefault(),Lt(this,"keydown"===Se.type?"keyboard":"mouse"))})}close(Xe){const fe=this._config.closePredicate;fe&&!fe(Xe,this._config,this.componentInstance)||(this._result=Xe,this._containerInstance._animationStateChanged.pipe((0,Be.p)(Y=>"closing"===Y.state),(0,Pe.s)(1)).subscribe(Y=>{this._beforeClosed.next(Xe),this._beforeClosed.complete(),this._ref.overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),Y.totalTime+100)}),this._state=Ne.CLOSING,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(Xe){let fe=this._ref.config.positionStrategy;return Xe&&(Xe.left||Xe.right)?Xe.left?fe.left(Xe.left):fe.right(Xe.right):fe.centerHorizontally(),Xe&&(Xe.top||Xe.bottom)?Xe.top?fe.top(Xe.top):fe.bottom(Xe.bottom):fe.centerVertically(),this._ref.updatePosition(),this}updateSize(Xe="",fe=""){return this._ref.updateSize(Xe,fe),this}addPanelClass(Xe){return this._ref.addPanelClass(Xe),this}removePanelClass(Xe){return this._ref.removePanelClass(Xe),this}getState(){return this._state}_finishDialogClose(){this._state=Ne.CLOSED,this._ref.close(this._result,{focusOrigin:this._closeInteractionType}),this.componentInstance=null}}function Lt(ot,Xe,fe){return ot._closeInteractionType=Xe,ot.close(fe)}const zt=new g.nKC("MatMdcDialogData"),rt=new g.nKC("mat-mdc-dialog-default-options"),Qt=new g.nKC("mat-mdc-dialog-scroll-strategy",{providedIn:"root",factory:()=>{const ot=(0,g.WQX)(g.zZn);return()=>(0,u.gA)(ot)}});let Kt=(()=>{class ot{_defaultOptions=(0,g.WQX)(rt,{optional:!0});_scrollStrategy=(0,g.WQX)(Qt);_parentDialog=(0,g.WQX)(ot,{optional:!0,skipSelf:!0});_idGenerator=(0,g.WQX)(Ve.g);_injector=(0,g.WQX)(g.zZn);_dialog=(0,g.WQX)(U);_animationsDisabled=(0,oe.Rc)();_openDialogsAtThisLevel=[];_afterAllClosedAtThisLevel=new D.B;_afterOpenedAtThisLevel=new D.B;dialogConfigClass=pt;_dialogRefConstructor;_dialogContainerType;_dialogDataToken;get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}_getAfterAllClosed(){const fe=this._parentDialog;return fe?fe._getAfterAllClosed():this._afterAllClosedAtThisLevel}afterAllClosed=(0,I.v)(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe((0,j.Z)(void 0)));constructor(){this._dialogRefConstructor=Ot,this._dialogContainerType=Et,this._dialogDataToken=zt}open(fe,Y){let Se;(Y={...this._defaultOptions||new pt,...Y}).id=Y.id||this._idGenerator.getId("mat-mdc-dialog-"),Y.scrollStrategy=Y.scrollStrategy||this._scrollStrategy();const Ce=this._dialog.open(fe,{...Y,positionStrategy:(0,u.uA)(this._injector).centerHorizontally().centerVertically(),disableClose:!0,closePredicate:void 0,closeOnDestroy:!1,closeOnOverlayDetachments:!1,disableAnimations:this._animationsDisabled||"0"===Y.enterAnimationDuration?.toLocaleStr
1ing()||"0"===Y.exitAnimationDuration?.toString(),container:{type:this._dialogContainerType,providers:()=>[{provide:this.dialogConfigClass,useValue:Y},{provide:nt,useValue:Y}]},templateContext:()=>({dialogRef:Se}),providers:(ct,_e,P)=>(Se=new this._dialogRefConstructor(ct,Y,P),Se.updatePosition(Y?.position),[{provide:this._dialogContainerType,useValue:P},{provide:this._dialogDataToken,useValue:_e.data},{provide:this._dialogRefConstructor,useValue:Se}])});return Se.componentRef=Ce.componentRef,Se.componentInstance=Ce.componentInstance,this.openDialogs.push(Se),this.afterOpened.next(Se),Se.afterClosed().subscribe(()=>{const ct=this.openDialogs.indexOf(Se);ct>-1&&(this.openDialogs.splice(ct,1),this.openDialogs.length||this._getAfterAllClosed().next())}),Se}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(fe){return this.openDialogs.find(Y=>Y.id===fe)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}_closeDialogs(fe){let Y=fe.length;for(;Y--;)fe[Y].close()}static \u0275fac=function(Y){return new(Y||ot)};static \u0275prov=g.jDH({token:ot,factory:ot.\u0275fac,providedIn:"root"})}return ot})(),ut=(()=>{class ot{dialogRef=(0,g.WQX)(Ot,{optional:!0});_elementRef=(0,g.WQX)(h.aKT);_dialog=(0,g.WQX)(Kt);ariaLabel;type="button";dialogResult;_matDialogClose;constructor(){}ngOnInit(){this.dialogRef||(this.dialogRef=function Ee(ot,Xe){let fe=ot.nativeElement.parentElement;for(;fe&&!fe.classList.contains("mat-mdc-dialog-container");)fe=fe.parentElement;return fe?Xe.find(Y=>Y.id===fe.id):null}(this._elementRef,this._dialog.openDialogs))}ngOnChanges(fe){const Y=fe._matDialogClose||fe._matDialogCloseResult;Y&&(this.dialogResult=Y.currentValue)}_onButtonClick(fe){Lt(this.dialogRef,0===fe.screenX&&0===fe.screenY?"keyboard":"mouse",this.dialogResult)}static \u0275fac=function(Y){return new(Y||ot)};static \u0275dir=h.FsC({type:ot,selectors:[["","mat-dialog-close",""],["","matDialogClose",""]],hostVars:2,hostBindings:function(Y,Se){1&Y&&h.bIt("click",function(ct){return Se._onButtonClick(ct)}),2&Y&&h.BMQ("aria-label",Se.ariaLabel||null)("type",Se.type)},inputs:{ariaLabel:[0,"aria-label","ariaLabel"],type:"type",dialogResult:[0,"mat-dialog-close","dialogResult"],_matDialogClose:[0,"matDialogClose","_matDialogClose"]},exportAs:["matDialogClose"],features:[h.OA$]})}return ot})();let ke=(()=>{class ot{static \u0275fac=function(Y){return new(Y||ot)};static \u0275mod=h.$C({type:ot});static \u0275inj=g.G2t({providers:[Kt],imports:[ie,u.z_,E.jc,Te.jI]})}return ot})()},4102(Yt,ve,a){a.d(ve,{q:()=>D,w:()=>I});var u=a(6124),h=a(6563),g=a(2814),Q=a(3680);let D=(()=>{class E{get vertical(){return this._vertical}set vertical(X){this._vertical=(0,g.he)(X)}_vertical=!1;get inset(){return this._inset}set inset(X){this._inset=(0,g.he)(X)}_inset=!1;static \u0275fac=function(B){return new(B||E)};static \u0275cmp=u.VBU({type:E,selectors:[["mat-divider"]],hostAttrs:["role","separator",1,"mat-divider"],hostVars:7,hostBindings:function(B,K){2&B&&(u.BMQ("aria-orientation",K.vertical?"vertical":"horizontal"),u.AVh("mat-divider-vertical",K.vertical)("mat-divider-horizontal",!K.vertical)("mat-divider-inset",K.inset))},inputs:{vertical:"vertical",inset:"inset"},decls:0,vars:0,template:function(B,K){},styles:[".mat-divider {\n  display: block;\n  margin: 0;\n  border-top-style: solid;\n  border-top-color: var(--mat-divider-color, var(--mat-sys-outline-variant));\n  border-top-width: var(--mat-divider-width, 1px);\n}\n.mat-divider.mat-divider-vertical {\n  border-top: 0;\n  border-right-style: solid;\n  border-right-color: var(--mat-divider-color, var(--mat-sys-outline-variant));\n  border-right-width: var(--mat-divider-width, 1px);\n}\n.mat-divider.mat-divider-inset {\n  margin-left: 80px;\n}\n[dir=rtl] .mat-divider.mat-divider-inset {\n  margin-left: auto;\n  margin-right: 80px;\n}\n"],encapsulation:2,changeDetection:0})}return E})(),I=(()=>{class E{static \u0275fac=function(B){return new(B||E)};static \u0275mod=u.$C({type:E});static \u0275inj=h.G2t({imports:[Q.jI]})}return E})()},353(Yt,ve,a){a.d(ve,{GK:()=>De});var u=a(6124),h=a(6563),g=a(7580),Q=a(7092),D=a(6306),I=a(78);const j=new h.nKC("CdkAccordion");let L=(()=>{class Y{accordion=(0,h.WQX)(j,{optional:!0,skipSelf:!0});_changeDetectorRef=(0,h.WQX)(g.gRc);_expansionDispatcher=(0,h.WQX)(I.z);_openCloseAllSubscription=Q.yU.EMPTY;closed=new h.bkB;opened=new h.bkB;destroyed=new h.bkB;expandedChange=new h.bkB;id=(0,h.WQX)(D.g).getId("cdk-accordion-child-");get expanded(){return this._expanded}set expanded(Ce){this._expanded!==Ce&&(this._expanded=Ce,this.expandedChange.emit(Ce),Ce?(this.opened.emit(),this._expansionDispatcher.notify(this.id,this.accordion?this.accordion.id:this.id)):this.closed.emit
1(),this._changeDetectorRef.markForCheck())}_expanded=!1;get disabled(){return this._disabled()}set disabled(Ce){this._disabled.set(Ce)}_disabled=(0,h.vPA)(!1);_removeUniqueSelectionListener=()=>{};constructor(){}ngOnInit(){this._removeUniqueSelectionListener=this._expansionDispatcher.listen((Ce,ct)=>{this.accordion&&!this.accordion.multi&&this.accordion.id===ct&&this.id!==Ce&&(this.expanded=!1)}),this.accordion&&(this._openCloseAllSubscription=this._subscribeToOpenCloseAllActions())}ngOnDestroy(){this.opened.complete(),this.closed.complete(),this.destroyed.emit(),this.destroyed.complete(),this._removeUniqueSelectionListener(),this._openCloseAllSubscription.unsubscribe()}toggle(){this.disabled||(this.expanded=!this.expanded)}close(){this.disabled||(this.expanded=!1)}open(){this.disabled||(this.expanded=!0)}_subscribeToOpenCloseAllActions(){return this.accordion._openCloseAllActions.subscribe(Ce=>{this.disabled||(this.expanded=Ce)})}static \u0275fac=function(ct){return new(ct||Y)};static \u0275dir=u.FsC({type:Y,selectors:[["cdk-accordion-item"],["","cdkAccordionItem",""]],inputs:{expanded:[2,"expanded","expanded",g.L39],disabled:[2,"disabled","disabled",g.L39]},outputs:{closed:"closed",opened:"opened",destroyed:"destroyed",expandedChange:"expandedChange"},exportAs:["cdkAccordionItem"],features:[u.Jv_([{provide:j,useValue:void 0}])]})}return Y})();var Ve=a(9168),Fe=a(4205),tt=a(3037),nt=a(1567),Rt=a(4334),Oe=a(7432);const ht=["body"],Ne=["bodyWrapper"],Ot=[[["mat-expansion-panel-header"]],"*",[["mat-action-row"]]],Lt=["mat-expansion-panel-header","*","mat-action-row"];function zt(Y,Se){}const ut=new h.nKC("MAT_ACCORDION"),St=new h.nKC("MAT_EXPANSION_PANEL");let yt=(()=>{class Y{_template=(0,h.WQX)(u.C4Q);_expansionPanel=(0,h.WQX)(St,{optional:!0});constructor(){}static \u0275fac=function(ct){return new(ct||Y)};static \u0275dir=u.FsC({type:Y,selectors:[["ng-template","matExpansionPanelContent",""]]})}return Y})();const Me=new h.nKC("MAT_EXPANSION_PANEL_DEFAULT_OPTIONS");let De=(()=>{class Y extends L{_viewContainerRef=(0,h.WQX)(u.c1b);_animationsDisabled=(0,Oe.Rc)();_document=(0,h.WQX)(h.qQL);_ngZone=(0,h.WQX)(h.SKi);_elementRef=(0,h.WQX)(u.aKT);_renderer=(0,h.WQX)(u.sFG);_cleanupTransitionEnd;get hideToggle(){return this._hideToggle||this.accordion&&this.accordion.hideToggle}set hideToggle(Ce){this._hideToggle=Ce}_hideToggle=!1;get togglePosition(){return this._togglePosition||this.accordion&&this.accordion.togglePosition}set togglePosition(Ce){this._togglePosition=Ce}_togglePosition;afterExpand=new h.bkB;afterCollapse=new h.bkB;_inputChanges=new Fe.B;accordion=(0,h.WQX)(ut,{optional:!0,skipSelf:!0});_lazyContent;_body;_bodyWrapper;_portal;_headerId=(0,h.WQX)(D.g).getId("mat-expansion-panel-header-");constructor(){super();const Ce=(0,h.WQX)(Me,{optional:!0});this._expansionDispatcher=(0,h.WQX)(I.z),Ce&&(this.hideToggle=Ce.hideToggle)}_hasSpacing(){return!!this.accordion&&this.expanded&&"default"===this.accordion.displayMode}_getExpandedState(){return this.expanded?"expanded":"collapsed"}toggle(){this.expanded=!this.expanded}close(){this.expanded=!1}open(){this.expanded=!0}ngAfterContentInit(){this._lazyContent&&this._lazyContent._expansionPanel===this&&this.opened.pipe((0,tt.Z)(null),(0,nt.p)(()=>this.expanded&&!this._portal),(0,Rt.s)(1)).subscribe(()=>{this._portal=new Ve.VA(this._lazyContent._template,this._viewContainerRef)}),this._setupAnimationEvents()}ngOnChanges(Ce){this._inputChanges.next(Ce)}ngOnDestroy(){super.ngOnDestroy(),this._cleanupTransitionEnd?.(),this._inputChanges.complete()}_containsFocus(){if(this._body){const Ce=this._document.activeElement,ct=this._body.nativeElement;return Ce===ct||ct.contains(Ce)}return!1}_transitionEndListener=({target:Ce,propertyName:ct})=>{Ce===this._bodyWrapper?.nativeElement&&"grid-template-rows"===ct&&this._ngZone.run(()=>
1{this.expanded?this.afterExpand.emit():this.afterCollapse.emit()})};_setupAnimationEvents(){this._ngZone.runOutsideAngular(()=>{this._animationsDisabled?(this.opened.subscribe(()=>this._ngZone.run(()=>this.afterExpand.emit())),this.closed.subscribe(()=>this._ngZone.run(()=>this.afterCollapse.emit()))):setTimeout(()=>{const Ce=this._elementRef.nativeElement;this._cleanupTransitionEnd=this._renderer.listen(Ce,"transitionend",this._transitionEndListener),Ce.classList.add("mat-expansion-panel-animations-enabled")},200)})}static \u0275fac=function(ct){return new(ct||Y)};static \u0275cmp=u.VBU({type:Y,selectors:[["mat-expansion-panel"]],contentQueries:function(ct,_e,P){if(1&ct&&u.wni(P,yt,5),2&ct){let Ae;u.mGM(Ae=u.lsd())&&(_e._lazyContent=Ae.first)}},viewQuery:function(ct,_e){if(1&ct&&u.GBs(ht,5)(Ne,5),2&ct){let P;u.mGM(P=u.lsd())&&(_e._body=P.first),u.mGM(P=u.lsd())&&(_e._bodyWrapper=P.first)}},hostAttrs:[1,"mat-expansion-panel"],hostVars:4,hostBindings:function(ct,_e){2&ct&&u.AVh("mat-expanded",_e.expanded)("mat-expansion-panel-spacing",_e._hasSpacing())},inputs:{hideToggle:[2,"hideToggle","hideToggle",g.L39],togglePosition:"togglePosition"},outputs:{afterExpand:"afterExpand",afterCollapse:"afterCollapse"},exportAs:["matExpansionPanel"],features:[u.Jv_([{provide:ut,useValue:void 0},{provide:St,useExisting:Y}]),u.Vt3,u.OA$],ngContentSelectors:Lt,decls:9,vars:4,consts:[["bodyWrapper",""],["body",""],[1,"mat-expansion-panel-content-wrapper"],["role","region",1,"mat-expansion-panel-content",3,"id"],[1,"mat-expansion-panel-body"],[3,"cdkPortalOutlet"]],template:function(ct,_e){1&ct&&(u.NAR(Ot),u.SdG(0),u.j41(1,"div",2,0)(3,"div",3,1)(5,"div",4),u.SdG(6,1),u.DNE(7,zt,0,0,"ng-template",5),u.k0s(),u.SdG(8,2),u.k0s()()),2&ct&&(u.R7$(),u.BMQ("inert",_e.expanded?null:""),u.R7$(2),u.Y8G("id",_e.id),u.BMQ("aria-labelledby",_e._headerId),u.R7$(4),u.Y8G("cdkPortalOutlet",_e._portal))},dependencies:[Ve.I3],styles:[".mat-expansion-panel {\n  box-sizing: content-box;\n  display: block;\n  margin: 0;\n  overflow: hidden;\n}\n.mat-expansion-panel.mat-expansion-panel-animations-enabled {\n  transition: margin 225ms cubic-bezier(0.4, 0, 0.2, 1), box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);\n}\n.mat-expansion-panel {\n  position: relative;\n  background: var(--mat-expansion-container-background-color, var(--mat-sys-surface));\n  color: var(--mat-expansion-container-text-color, var(--mat-sys-on-surface));\n  border-radius: var(--mat-expansion-container-shape, 12px);\n}\n.mat-expansion-panel:not([class*=mat-elevation-z]) {\n  box-shadow: var(--mat-expansion-container-elevation-shadow, 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12));\n}\n.mat-accordion .mat-expansion-panel:not(.mat-expanded), .mat-accordion .mat-expansion-panel:not(.mat-expansion-panel-spacing) {\n  border-radius: 0;\n}\n.mat-accordion .mat-expansion-panel:first-of-type {\n  border-top-right-radius: var(--mat-expansion-container-shape, 12px);\n  border-top-left-radius: var(--mat-expansion-container-shape, 12px);\n}\n.mat-accordion .mat-expansion-panel:last-of-type {\n  border-bottom-right-radius: var(--mat-expansion-container-shape, 12px);\n  border-bottom-left-radius: var(--mat-expansion-container-shape, 12px);\n}\n@media (forced-colors: active) {\n  .mat-expansion-panel {\n    outline: solid 1px;\n  }\n}\n\n.mat-expansion-panel-content-wrapper {\n  display: grid;\n  grid-template-rows: 0fr;\n  grid-template-columns: 100%;\n}\n.mat-expansion-panel-animations-enabled .mat-expansion-panel-content-wrapper {\n  transition: grid-template-rows 225ms cubic-bezier(0.4, 0, 0.2, 1);\n}\n.mat-expansion-panel.mat-expanded > .mat-expansion-panel-content-wrapper {\n  grid-template-rows: 1fr;\n}\n@supports not (grid-template-rows: 0fr) {\n  .mat-expansion-panel-content-wrapper {\n    height: 0;\n  }\n  .mat-expansion-panel.mat-expanded > .mat-expansion-panel-content-wrapper {\n    height: auto;\n  }\n}\n@media print {\n  .mat-expansion-panel-content-wrapper {\n    height: 0;\n  }\n  .mat-expansion-panel.mat-expanded > .mat-expansion-panel-content-wrapper {\n    height: auto;\n  }\n}\n\n.mat-expansion-panel-content {\n  display: flex;\n  flex-direction: column;\n  overflow: visible;\n  min-height: 0;\n  visibility: hidden;\n}\n.mat-expansion-panel-animations-enabled .mat-expansion-panel-content {\n  transition: visibility 190ms linear;\n}\n.mat-expansion-panel.mat-expanded > .mat-expansion-panel-content-wrapper > .mat-expansion-panel-content {\n  visibility: visible;\n}\n.mat-expansion-panel-content {\n  font-family: var(--mat-expansion-container-text-font, var(--mat-sys-body-large-font));\n  font-size: var(--mat-expansion-container-text-size, var(--mat-sys-body-large-size));\n  font-weight: var(--mat-expansion-container-text-weight, var(--mat-sys-body-large-weight));\n  line-height: var(--mat-expansion-container-text-line-height, var(--mat-sys-body-large-line-height));\n  letter-spacing: var(--mat-expansion-container-text-tracking, var(--mat-sys-body-large-tracking));\n}\n\n.mat-expansion-panel-body {\n  padding: 0 24px 16px;\n}\n\n.mat-expansion-panel-spacing {\n  margin: 16px 0;\n}\n.mat-accordion > .mat-expansion-panel-spacing:first-child, .mat-accordion > *:first-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing {\n  margin-top: 0;\n}\n.mat-accordion > .mat-expansion-panel-spacing:last-child, .mat-accordion > *:last-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing {\n  margin-bottom: 0;\n}\n\n.mat-action-row {\n  border-top-style: solid;\n  border-top-width: 1px;\n  display: flex;\n  flex-direction: row;\n  justify-content: flex-end;\n  padding: 16px 8px 16px 24px;\n  border-top-color: var(--mat-expansion-actions-divider-color, var(--mat-sys-outline));\n}\n.mat-action-row .mat-button-base,\n.mat-action-row .mat-mdc-button-base {\n  margin-left: 8px;\n}\n[dir=rtl] .mat-action-row .mat-button-base,\n[dir=rtl] .mat-action-row .mat-mdc-button-base {\n  margin-left: 0;\n  margin-right: 8px;\n}\n"],encapsulation:2,changeDetection:0})}return Y})()},2023(Yt,ve,a){a.d(ve,{kk:()=>Se,fb:()=>Me,Cp:()=>Ae});var u=a(9168),h=a(6563),g=a(6124),Q=a(7580),D=a(4205),I=a(3617),E=a(7092),O=a(9452),X=a(6522),B=a(6306),K=a(1920),j=a(4879),Pe=a(7552);class L{_items;_activeItemIndex=(0,h.vPA)(-1);_activeItem=(0,h.vPA)(null);_wrap=!1;
vendor: 4,635 bytes, line 1
1_typeaheadSubscription=E.yU.EMPTY;_itemChangesSubscription;_vertical=!0;_horizontal=null;_allowedModifierKeys=[];_homeAndEnd=!1;_pageUpAndDown={enabled:!1,delta:10};_effectRef;_typeahead;_skipPredicateFn=jt=>jt.disabled;constructor(jt,Ge){this._items=jt,jt instanceof g.rOR?this._itemChangesSubscription=jt.changes.subscribe(qe=>this._itemsChanged(qe.toArray())):(0,g.Hps)(jt)&&(this._effectRef=(0,h.QZP)(()=>this._itemsChanged(jt()),{injector:Ge}))}tabOut=new D.B;change=new D.B;skipPredicate(jt){return this._skipPredicateFn=jt,this}withWrap(jt=!0){return this._wrap=jt,this}withVerticalOrientation(jt=!0){return this._vertical=jt,this}withHorizontalOrientation(jt){return this._horizontal=jt,this}withAllowedModifierKeys(jt){return this._allowedModifierKeys=jt,this}withTypeAhead(jt=200){this._typeaheadSubscription.unsubscribe();const Ge=this._getItemsArray();return this._typeahead=new K.i(Ge,{debounceInterval:"number"==typeof jt?jt:void 0,skipPredicate:qe=>this._skipPredicateFn(qe)}),this._typeaheadSubscription=this._typeahead.selectedItem.subscribe(qe=>{this.setActiveItem(qe)}),this}cancelTypeahead(){return this._typeahead?.reset(),this}withHomeAndEnd(jt=!0){return this._homeAndEnd=jt,this}withPageUpDown(jt=!0,Ge=10){return this._pageUpAndDown={enabled:jt,delta:Ge},this}setActiveItem(jt){const Ge=this._activeItem();this.updateActiveItem(jt),this._activeItem()!==Ge&&this.change.next(this._activeItemIndex())}onKeydown(jt){const Ge=jt.keyCode,M=["altKey","ctrlKey","metaKey","shiftKey"].every($=>!jt[$]||this._allowedModifierKeys.indexOf($)>-1);switch(Ge){case Pe.wn:return void this.tabOut.next();case Pe.n6:if(this._vertical&&M){this.setNextItemActive();break}return;case Pe.i7:if(this._vertical&&M){this.setPreviousItemActive();break}return;case Pe.LE:if(this._horizontal&&M){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case Pe.UQ:if(this._horizontal&&M){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case Pe.yZ:if(this._homeAndEnd&&M){this.setFirstItemActive();break}return;case Pe.Kp:if(this._homeAndEnd&&M){this.setLastItemActive();break}return;case Pe.w_:if(this._pageUpAndDown.enabled&&M){const $=this._activeItemIndex()-this._pageUpAndDown.delta;this._setActiveItemByIndex($>0?$:0,1);break}return;case Pe.dB:if(this._pageUpAndDown.enabled&&M){const $=this._activeItemIndex()+this._pageUpAndDown.delta,w=this._getItemsArray().length;this._setActiveItemByIndex($<w?$:w-1,-1);break}return;default:return void((M||(0,j.rp)(jt,"shiftKey"))&&this._typeahead?.handleKey(jt))}this._typeahead?.reset(),jt.preventDefault()}get activeItemIndex(){return this._activeItemIndex()}get activeItem(){return this._activeItem()}isTyping(){return!!this._typeahead&&this._typeahead.isTyping()}setFirstItemActive(){this._setActiveItemByIndex(0,1)}setLastItemActive(){this._setActiveItemByIndex(this._getItemsArray().length-1,-1)}setNextItemActive(){this._activeItemIndex()<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}setPreviousItemActive(){this._activeItemIndex()<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}updateActiveItem(jt){const Ge=this._getItemsArray(),qe="number"==typeof jt?jt:Ge.indexOf(jt);this._activeItem.set(Ge[qe]??null),this._activeItemIndex.set(qe),this._typeahead?.setCurrentSelectedItemIndex(qe)}destroy(){this._typeaheadSubscription.unsubscribe(),this._itemChangesSubscription?.unsubscribe(),this._effectRef?.destroy(),this._typeahead?.destroy(),this.tabOut.complete(),this.change.complete()}_setActiveItemByDelta(jt){this._wrap?this._setActiveInWrapMode(jt):this._setActiveInDefaultMode(jt)}_setActiveInWrapMode(jt){const Ge=this._getItemsArray();for(let qe=1;qe<=Ge.length;qe++){const M=(this._activeItemIndex()+jt*qe+Ge.length)%Ge.length;if(!this._skipPredicateFn(Ge[M]))return void this.setActiveItem(M)}}_setActiveInDefaultMode(jt){this._setActiveItemByIndex(this._activeItemIndex()+jt,jt)}_setActiveItemByIndex(jt,Ge){const qe=this._getItemsArray();if(qe[jt]){for(;this._skipPredicateFn(qe[jt]);)if(!qe[jt+=Ge])return;this.setActiveItem(jt)}}_getItemsArray(){return(0,g.Hps)(this._items)?this._items():this._items instanceof g.rOR?this._items.toArray():this._items}_itemsChanged(jt){this._typeahead?.setItems(jt);const Ge=this._activeItem();if(Ge){const qe=jt.indexOf(Ge);qe>-1&&qe!==this._activeItemIndex()&&(this._activeItemIndex.set(qe),this._typeahead?.setCurrentSelectedItemIndex(qe))}}}class ne extends L{_origin="program";setFocusOrigin(jt){return this._origin=jt,this}setActiveItem(jt){super.setActiveItem(jt),this.activeItem&&this.activeItem.focus(this._origin)}}
1var Ve=a(603),Fe=a(3037),tt=a(6647),nt=a(3900),Rt=a(4334),Oe=a(1567),xe=a(9504),it=a(2158),q=a(7828),F=a(7432),N=a(3433),U=a(6019);const zt=["mat-menu-item",""],rt=[[["mat-icon"],["","matMenuItemIcon",""]],"*"],Qt=["mat-icon, [matMenuItemIcon]","*"];function Kt(Mt,jt){1&Mt&&(h.qSk(),g.j41(0,"svg",2),g.nrm(1,"polygon",3),g.k0s())}const ut=["*"];function St(Mt,jt){if(1&Mt){const Ge=g.RV6();g.rj2(0,"div",0),g.VwU("click",function(){h.eBV(Ge);const M=g.XpG();return h.Njj(M.closed.emit("click"))})("animationstart",function(M){h.eBV(Ge);const $=g.XpG();return h.Njj($._onAnimationStart(M.animationName))})("animationend",function(M){h.eBV(Ge);const $=g.XpG();return h.Njj($._onAnimationDone(M.animationName))})("animationcancel",function(M){h.eBV(Ge);const $=g.XpG();return h.Njj($._onAnimationDone(M.animationName))}),g.rj2(1,"div",1),g.SdG(2),g.eux()()}if(2&Mt){const Ge=g.XpG();g.HbH(Ge._classList),g.AVh("mat-menu-panel-animations-disabled",Ge._animationsDisabled)("mat-menu-panel-exit-animation","void"===Ge._panelAnimationState)("mat-menu-panel-animating",Ge._isAnimating()),g.Avn("id",Ge.panelId),g.BMQ("aria-label",Ge.ariaLabel||null)("aria-labelledby",Ge.ariaLabelledby||null)("aria-describedby",Ge.ariaDescribedby||null)}}const yt=new h.nKC("MAT_MENU_PANEL");let Me=(()=>{class Mt{_elementRef=(0,h.WQX)(g.aKT);_document=(0,h.WQX)(h.qQL);_focusMonitor=(0,h.WQX)(X.FN);_parentMenu=(0,h.WQX)(yt,{optional:!0});_changeDetectorRef=(0,h.WQX)(Q.gRc);role="menuitem";disabled=!1;disableRipple=!1;_hovered=new D.B;_focused=new D.B;_highlighted=!1;_triggersSubmenu=!1;constructor(){(0,h.WQX)(xe.l).load(it.A),this._parentMenu?.addItem?.(this)}focus(Ge,qe){this._focusMonitor&&Ge?this._focusMonitor.focusVia(this._getHostElement(),Ge,qe):this._getHostElement().focus(qe),this._focused.next(this)}ngAfterViewInit(){this._focusMonitor&&this._focusMonitor.monitor(this._elementRef,!1)}ngOnDestroy(){this._focusMonitor&&this._focusMonitor.stopMonitoring(this._elementRef),this._parentMenu&&this._parentMenu.removeItem&&this._parentMenu.removeItem(this),this._hovered.complete(),this._focused.complete()}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._elementRef.nativeElement}_checkDisabled(Ge){this.disabled&&(Ge.preventDefault(),Ge.stopPropagation())}_handleMouseEnter(){this._hovered.next(this)}getLabel(){const Ge=this._elementRef.nativeElement.cloneNode(!0),qe=Ge.querySelectorAll("mat-icon, .material-icons");for(let M=0;M<qe.length;M++)qe[M].remove();return Ge.textContent?.trim()||""}_setHighlighted(Ge){this._highlighted=Ge,this._changeDetectorRef.markForCheck()}_setTriggersSubmenu(Ge){this._triggersSubmenu=Ge,this._changeDetectorRef.markForCheck()}_hasFocus(){return this._document&&this._document.activeElement===this._getHostElement()}static \u0275fac=function(qe){return new(qe||Mt)};static \u0275cmp=g.VBU({type:Mt,selectors:[["","mat-menu-item",""]],hostAttrs:[1,"mat-mdc-menu-item","mat-focus-indicator"],hostVars:8,hostBindings:function(qe,M){1&qe&&g.bIt("click",function(w){return M._checkDisabled(w)})("mouseenter",function(){return M._handleMouseEnter()}),2&qe&&(g.BMQ("role",M.role)("tabindex",M._getTabIndex())("aria-disabled",M.disabled)("disabled",M.disabled||null),g.AVh("mat-mdc-menu-item-highlighted",M._highlighted)("mat-mdc-menu-item-submenu-trigger",M._triggersSubmenu))},inputs:{role:"role",disabled:[2,"disabled","disabled",Q.L39],disableRipple:[2,"disableRipple","disableRipple",Q.L39]},exportAs:["matMenuItem"],attrs:zt,ngContentSelectors:Qt,decls:5,vars:3,consts:[[1,"mat-mdc-menu-item-text"],["matRipple","",1,"mat-mdc-menu-ripple",3,"matRippleDisabled","matRippleTrigger"],["viewBox","0 0 5 10","focusable","false","aria-hidden","true",1,"mat-mdc-menu-submenu-icon"],["points","0,0 5,5 0,10"]],template:function(qe,M){1&qe&&(g.NAR(rt),g.SdG(0),g.j41(1,"span",0),g.SdG(2,1),g.k0s(),g.nrm(3,"div",1),g.nVh(4,Kt,2,0,":svg:svg",2)),2&qe&&(g.R7$(3),g.Y8G("matRippleDisabled",M.disableRipple||M.disabled)("matRippleTrigger",M._getHostElement()),g.R7$(),g.vxM(M._triggersSubmenu?4:-1))},dependencies:[q.r6],encapsulation:2,changeDetection:0})}return Mt})();const ke=new h.nKC("MatMenuContent"),Xe=new h.nKC("mat-menu-default-options",{providedIn:"root",factory:()=>({overlapTrigger:!1,xPosition:"after",yPosition:"below",backdropClass:"cdk-overlay-transparent-backdrop"})}),fe="_mat-menu-enter",Y="_mat-menu-exit";let Se=(()=>{class Mt{_elementRef=(0,h.WQX)(g.aKT);_changeDetectorRef=(0,h.WQX)(Q.gRc);_injector=(0,h.WQX)(h.zZn);_keyManager;_xPosition;_yPosition;_firstItemFocusRef;_exitFallbackTimeout;_animationsDisabled=(0,F.Rc)();_allItems;_directDescendantItems=new g.rOR;_classList={};_panelAnimationState="void";_animationDone=new D.B;_isAnimating=(0,h.vPA)(!1);parentMenu;direction;overlayPanelClass;backdropClass;ariaLabel;ariaLabelledby;ariaDescribedby;get xPosition(){return this._xPosition}set xPosition(Ge){this._xPosition=Ge,this.setPositionClasses()}get yPosition(){return this._yPosition}set yPosition(Ge){this._yPosition=Ge,this.setPositionClasses()}templateRef;items;lazyContent;overlapTrigger=!1;hasBackdrop;set panelClass(Ge){const qe=this._previousPanelClass,M={...this._classList};qe&&qe.length&&qe.split(" ").forEach($=>{M[$]=!1}),this._previousPanelClass=Ge,Ge&&Ge.length&&(Ge.split(" ").forEach($=>{M[$]=!0}),this._elementRef.nativeElement.className=""),this._classList=M}_previousPanelClass;get classList(){return this.panelClass}set classList(Ge){this.panelClass=Ge}closed=new h.bkB;close=this.closed;panelId=(0,h.WQX)(B.g).getId("mat-menu-panel-");constructor(){const Ge=(0,h.WQX)(Xe);this.overlayPanelClass=Ge.overlayPanelClass||"",this._xPosition=Ge.xPosition,this._yPosition=Ge.yPosition,this.backdropClass=Ge.backdropClass,this.overlapTrigger=Ge.overlapTrigger,this.hasBackdrop=Ge.hasBackdrop}ngOnInit(){this.setPositionClasses()}ngAfterContentInit(){this._updateDirectDescendants(),this._keyManager=new ne(this._directDescendantItems).withWrap().withTypeAhead().withHomeAndEnd(),this._keyManager.tabOut.subscribe(()=>
1this.closed.emit("tab")),this._directDescendantItems.changes.pipe((0,Fe.Z)(this._directDescendantItems),(0,tt.n)(Ge=>(0,I.h)(...Ge.map(qe=>qe._focused)))).subscribe(Ge=>this._keyManager.updateActiveItem(Ge)),this._directDescendantItems.changes.subscribe(Ge=>{const qe=this._keyManager;if("enter"===this._panelAnimationState&&qe.activeItem?._hasFocus()){const M=Ge.toArray(),$=Math.max(0,Math.min(M.length-1,qe.activeItemIndex||0));M[$]&&!M[$].disabled?qe.setActiveItem($):qe.setNextItemActive()}})}ngOnDestroy(){this._keyManager?.destroy(),this._directDescendantItems.destroy(),this.closed.complete(),this._firstItemFocusRef?.destroy(),clearTimeout(this._exitFallbackTimeout)}_hovered(){return this._directDescendantItems.changes.pipe((0,Fe.Z)(this._directDescendantItems),(0,tt.n)(qe=>(0,I.h)(...qe.map(M=>M._hovered))))}addItem(Ge){}removeItem(Ge){}_handleKeydown(Ge){const qe=Ge.keyCode,M=this._keyManager;switch(qe){case Pe._f:(0,j.rp)(Ge)||(Ge.preventDefault(),this.closed.emit("keydown"));break;case Pe.UQ:this.parentMenu&&"ltr"===this.direction&&this.closed.emit("keydown");break;case Pe.LE:this.parentMenu&&"rtl"===this.direction&&this.closed.emit("keydown");break;default:return(qe===Pe.i7||qe===Pe.n6)&&M.setFocusOrigin("keyboard"),void M.onKeydown(Ge)}}focusFirstItem(Ge="program"){this._firstItemFocusRef?.destroy(),this._firstItemFocusRef=(0,g.mal)(()=>{const qe=this._resolvePanel();if(!qe||!qe.contains(document.activeElement)){const M=this._keyManager;M.setFocusOrigin(Ge).setFirstItemActive(),!M.activeItem&&qe&&qe.focus()}},{injector:this._injector})}resetActiveItem(){this._keyManager.setActiveItem(-1)}setElevation(Ge){}setPositionClasses(Ge=this.xPosition,qe=this.yPosition){this._classList={...this._classList,"mat-menu-before":"before"===Ge,"mat-menu-after":"after"===Ge,"mat-menu-above":"above"===qe,"mat-menu-below":"below"===qe},this._changeDetectorRef.markForCheck()}_onAnimationDone(Ge){const qe=Ge===Y;(qe||Ge===fe)&&(qe&&(clearTimeout(this._exitFallbackTimeout),this._exitFallbackTimeout=void 0),this._animationDone.next(qe?"void":"enter"),this._isAnimating.set(!1))}_onAnimationStart(Ge){(Ge===fe||Ge===Y)&&this._isAnimating.set(!0)}_setIsOpen(Ge){if(this._panelAnimationState=Ge?"enter":"void",Ge){if(0===this._keyManager.activeItemIndex){const qe=this._resolvePanel();qe&&(qe.scrollTop=0)}}else this._animationsDisabled||(this._exitFallbackTimeout=setTimeout(()=>this._onAnimationDone(Y),200));this._animationsDisabled&&setTimeout(()=>{this._onAnimationDone(Ge?fe:Y)}),this._changeDetectorRef.markForCheck()}_updateDirectDescendants(){this._allItems.changes.pipe((0,Fe.Z)(this._allItems)).subscribe(Ge=>{this._directDescendantItems.reset(Ge.filter(qe=>qe._parentMenu===this)),this._directDescendantItems.notifyOnChanges()})}_resolvePanel(){let Ge=null;return this._directDescendantItems.length&&(Ge=this._directDescendantItems.first._getHostElement().closest('[role="menu"]')),Ge}static \u0275fac=function(qe){return new(qe||Mt)};static \u0275cmp=g.VBU({type:Mt,selectors:[["mat-menu"]],contentQueries:function(qe,M,$){if(1&qe&&g.wni($,ke,5)($,Me,5)($,Me,4),2&qe){let w;g.mGM(w=g.lsd())&&(M.lazyContent=w.first),g.mGM(w=g.lsd())&&(M._allItems=w),g.mGM(w=g.lsd())&&(M.items=w)}},viewQuery:function(qe,M){if(1&qe&&g.GBs(g.C4Q,5),2&qe){let $;g.mGM($=g.lsd())&&(M.templateRef=$.first)}},hostVars:3,hostBindings:function(qe,M){2&qe&&g.BMQ("aria-label",null)("aria-labelledby",null)("aria-describedby",null)},inputs:{backdropClass:"backdropClass",ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],ariaDescribedby:[0,"aria-describedby","ariaDescribedby"],xPosition:"xPosition",yPosition:"yPosition",overlapTrigger:[2,"overlapTrigger","overlapTrigger",Q.L39],hasBackdrop:[2,"hasBackdrop","hasBackdrop",Ge=>null==Ge?null:(0,Q.L39)(Ge)],panelClass:[0,"class","panelClass"],classList:"classList"},outputs:{closed:"closed",close:"close"},exportAs:["matMenu"],features:[g.Jv_([{provide:yt,useExisting:Mt}])],ngContentSelectors:ut,decls:1,vars:0,consts:[["tabindex","-1","role","menu",1,"mat-mdc-menu-panel",3,"click","animationstart","animationend","animationcancel","id"],[1,"mat-mdc-menu-content"]],template:function(qe,M){1&qe&&(g.NAR(),g.PeT(0,St
vendor: 5,980 bytes, line 1
1,3,12,"ng-template"))},styles:['mat-menu {\n  display: none;\n}\n\n.mat-mdc-menu-content {\n  margin: 0;\n  padding: 8px 0;\n  outline: 0;\n}\n.mat-mdc-menu-content,\n.mat-mdc-menu-content .mat-mdc-menu-item .mat-mdc-menu-item-text {\n  -moz-osx-font-smoothing: grayscale;\n  -webkit-font-smoothing: antialiased;\n  flex: 1;\n  white-space: normal;\n  font-family: var(--mat-menu-item-label-text-font, var(--mat-sys-label-large-font));\n  line-height: var(--mat-menu-item-label-text-line-height, var(--mat-sys-label-large-line-height));\n  font-size: var(--mat-menu-item-label-text-size, var(--mat-sys-label-large-size));\n  letter-spacing: var(--mat-menu-item-label-text-tracking, var(--mat-sys-label-large-tracking));\n  font-weight: var(--mat-menu-item-label-text-weight, var(--mat-sys-label-large-weight));\n}\n\n@keyframes _mat-menu-enter {\n  from {\n    opacity: 0;\n    transform: scale(0.8);\n  }\n  to {\n    opacity: 1;\n    transform: none;\n  }\n}\n@keyframes _mat-menu-exit {\n  from {\n    opacity: 1;\n  }\n  to {\n    opacity: 0;\n  }\n}\n.mat-mdc-menu-panel {\n  min-width: 112px;\n  max-width: 280px;\n  overflow: auto;\n  box-sizing: border-box;\n  outline: 0;\n  animation: _mat-menu-enter 120ms cubic-bezier(0, 0, 0.2, 1);\n  border-radius: var(--mat-menu-container-shape, var(--mat-sys-corner-extra-small));\n  background-color: var(--mat-menu-container-color, var(--mat-sys-surface-container));\n  box-shadow: var(--mat-menu-container-elevation-shadow, 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12));\n  will-change: transform, opacity;\n}\n.mat-mdc-menu-panel.mat-menu-panel-exit-animation {\n  animation: _mat-menu-exit 100ms 25ms linear forwards;\n}\n.mat-mdc-menu-panel.mat-menu-panel-animations-disabled {\n  animation: none;\n}\n.mat-mdc-menu-panel.mat-menu-panel-animating {\n  pointer-events: none;\n}\n.mat-mdc-menu-panel.mat-menu-panel-animating:has(.mat-mdc-menu-content:empty) {\n  display: none;\n}\n@media (forced-colors: active) {\n  .mat-mdc-menu-panel {\n    outline: solid 1px;\n  }\n}\n.mat-mdc-menu-panel .mat-divider {\n  border-top-color: var(--mat-menu-divider-color, var(--mat-sys-surface-variant));\n  margin-bottom: var(--mat-menu-divider-bottom-spacing, 8px);\n  margin-top: var(--mat-menu-divider-top-spacing, 8px);\n}\n\n.mat-mdc-menu-item {\n  display: flex;\n  position: relative;\n  align-items: center;\n  justify-content: flex-start;\n  overflow: hidden;\n  padding: 0;\n  cursor: pointer;\n  width: 100%;\n  text-align: left;\n  box-sizing: border-box;\n  color: inherit;\n  font-size: inherit;\n  background: none;\n  text-decoration: none;\n  margin: 0;\n  min-height: 48px;\n  padding-left: var(--mat-menu-item-leading-spacing, 12px);\n  padding-right: var(--mat-menu-item-trailing-spacing, 12px);\n  -webkit-user-select: none;\n  user-select: none;\n  cursor: pointer;\n  outline: none;\n  border: none;\n  -webkit-tap-highlight-color: transparent;\n}\n.mat-mdc-menu-item::-moz-focus-inner {\n  border: 0;\n}\n[dir=rtl] .mat-mdc-menu-item {\n  padding-left: var(--mat-menu-item-trailing-spacing, 12px);\n  padding-right: var(--mat-menu-item-leading-spacing, 12px);\n}\n.mat-mdc-menu-item:has(.material-icons, mat-icon, [matButtonIcon]) {\n  padding-left: var(--mat-menu-item-with-icon-leading-spacing, 12px);\n  padding-right: var(--mat-menu-item-with-icon-trailing-spacing, 12px);\n}\n[dir=rtl] .mat-mdc-menu-item:has(.material-icons, mat-icon, [matButtonIcon]) {\n  padding-left: var(--mat-menu-item-with-icon-trailing-spacing, 12px);\n  padding-right: var(--mat-menu-item-with-icon-leading-spacing, 12px);\n}\n.mat-mdc-menu-item, .mat-mdc-menu-item:visited, .mat-mdc-menu-item:link {\n  color: var(--mat-menu-item-label-text-color, var(--mat-sys-on-surface));\n}\n.mat-mdc-menu-item .mat-icon-no-color,\n.mat-mdc-menu-item .mat-mdc-menu-submenu-icon {\n  color: var(--mat-menu-item-icon-color, var(--mat-sys-on-surface-variant));\n}\n.mat-mdc-menu-item[disabled] {\n  cursor: default;\n  opacity: 0.38;\n}\n.mat-mdc-menu-item[disabled]::after {\n  display: block;\n  position: absolute;\n  content: "";\n  top: 0;\n  left: 0;\n  bottom: 0;\n  right: 0;\n}\n.mat-mdc-menu-item:focus {\n  outline: 0;\n}\n.mat-mdc-menu-item .mat-icon {\n  flex-shrink: 0;\n  margin-right: var(--mat-menu-item-spacing, 12px);\n  height: var(--mat-menu-item-icon-size, 24px);\n  width: var(--mat-menu-item-icon-size, 24px);\n}\n[dir=rtl] .mat-mdc-menu-item {\n  text-align: right;\n}\n[dir=rtl] .mat-mdc-menu-item .mat-icon {\n  margin-right: 0;\n  margin-left: var(--mat-menu-item-spacing, 12px);\n}\n.mat-mdc-menu-item:not([disabled]):hover {\n  background-color: var(--mat-menu-item-hover-state-layer-color, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-hover-state-layer-opacity) * 100%), transparent));\n}\n.mat-mdc-menu-item:not([disabled]).cdk-program-focused, .mat-mdc-menu-item:not([disabled]).cdk-keyboard-focused, .mat-mdc-menu-item:not([disabled]).mat-mdc-menu-item-highlighted {\n  background-color: var(--mat-menu-item-focus-state-layer-color, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-focus-state-layer-opacity) * 100%), transparent));\n}\n@media (forced-colors: active) {\n  .mat-mdc-menu-item {\n    margin-top: 1px;\n  }\n}\n\n.mat-mdc-menu-submenu-icon {\n  width: var(--mat-menu-item-icon-size, 24px);\n  height: 10px;\n  fill: currentColor;\n  padding-left: var(--mat-menu-item-spacing, 12px);\n}\n[dir=rtl] .mat-mdc-menu-submenu-icon {\n  padding-right: var(--mat-menu-item-spacing, 12px);\n  padding-left: 0;\n}\n[dir=rtl] .mat-mdc-menu-submenu-icon polygon {\n  transform: scaleX(-1);\n  transform-origin: center;\n}\n@media (forced-colors: active) {\n  .mat-mdc-menu-submenu-icon {\n    fill: CanvasText;\n  }\n}\n\n.mat-mdc-menu-item .mat-mdc-menu-ripple {\n  top: 0;\n  left: 0;\n  right: 0;\n  bottom: 0;\n  position: absolute;\n  pointer-events: none;\n}\n'],encapsulation:2,changeDetection:0})}return 
vendor: 3,373 bytes, line 1
1Mt})();const Ce=new h.nKC("mat-menu-scroll-strategy",{providedIn:"root",factory:()=>{const Mt=(0,h.WQX)(h.zZn);return()=>(0,U.RH)(Mt)}}),_e=new WeakMap;let P=(()=>{class Mt{_canHaveBackdrop;_element=(0,h.WQX)(g.aKT);_viewContainerRef=(0,h.WQX)(g.c1b);_menuItemInstance=(0,h.WQX)(Me,{optional:!0,self:!0});_dir=(0,h.WQX)(N.dS,{optional:!0});_focusMonitor=(0,h.WQX)(X.FN);_ngZone=(0,h.WQX)(h.SKi);_injector=(0,h.WQX)(h.zZn);_scrollStrategy=(0,h.WQX)(Ce);_changeDetectorRef=(0,h.WQX)(Q.gRc);_animationsDisabled=(0,F.Rc)();_portal;_overlayRef=null;_menuOpen=!1;_closingActionsSubscription=E.yU.EMPTY;_menuCloseSubscription=E.yU.EMPTY;_pendingRemoval;_parentMaterialMenu;_parentInnerPadding;_openedBy=void 0;get _menu(){return this._menuInternal}set _menu(Ge){Ge!==this._menuInternal&&(this._menuInternal=Ge,this._menuCloseSubscription.unsubscribe(),Ge&&(this._menuCloseSubscription=Ge.close.subscribe(qe=>{this._destroyMenu(qe),("click"===qe||"tab"===qe)&&this._parentMaterialMenu&&this._parentMaterialMenu.closed.emit(qe)})),this._menuItemInstance?._setTriggersSubmenu(this._triggersSubmenu()))}_menuInternal=null;constructor(Ge){this._canHaveBackdrop=Ge;const qe=(0,h.WQX)(yt,{optional:!0});this._parentMaterialMenu=qe instanceof Se?qe:void 0}ngOnDestroy(){this._menu&&this._ownsMenu(this._menu)&&_e.delete(this._menu),this._pendingRemoval?.unsubscribe(),this._menuCloseSubscription.unsubscribe(),this._closingActionsSubscription.unsubscribe(),this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null)}get menuOpen(){return this._menuOpen}get dir(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_triggersSubmenu(){return!!(this._menuItemInstance&&this._parentMaterialMenu&&this._menu)}_closeMenu(){this._menu?.close.emit()}_openMenu(Ge){if(this._triggerIsAriaDisabled())return;const qe=this._menu;if(this._menuOpen||!qe)return;this._pendingRemoval?.unsubscribe();const M=_e.get(qe);_e.set(qe,this),M&&M!==this&&M._closeMenu();const $=this._createOverlay(qe),w=$.getConfig(),ue=w.positionStrategy;this._setPosition(qe,ue),w.hasBackdrop=this._canHaveBackdrop?null==qe.hasBackdrop?!this._triggersSubmenu():qe.hasBackdrop:qe.hasBackdrop??!1,$.hasAttached()||($.attach(this._getPortal(qe)),qe.lazyContent?.attach(this.menuData)),this._closingActionsSubscription=this._menuClosingActions().subscribe(()=>this._closeMenu()),qe.parentMenu=this._triggersSubmenu()?this._parentMaterialMenu:void 0,qe.direction=this.dir,Ge&&qe.focusFirstItem(this._openedBy||"program"),this._setIsMenuOpen(!0),qe instanceof Se&&(qe._setIsOpen(!0),qe._directDescendantItems.changes.pipe((0,nt.Q)(qe.close)).subscribe(()=>{ue.withLockedPosition(!1).reapplyLastPosition(),ue.withLockedPosition(!0)}))}focus(Ge,qe){this._focusMonitor&&Ge?this._focusMonitor.focusVia(this._element,Ge,qe):this._element.nativeElement.focus(qe)}_destroyMenu(Ge){const qe=this._overlayRef,M=this._menu;!qe||!this.menuOpen||(this._closingActionsSubscription.unsubscribe(),this._pendingRemoval?.unsubscribe(),M instanceof Se&&this._ownsMenu(M)?(this._pendingRemoval=M._animationDone.pipe((0,Rt.s)(1)).subscribe(()=>{qe.detach(),_e.has(M)||M.lazyContent?.detach()}),M._setIsOpen(!1)):(qe.detach(),M?.lazyContent?.detach()),M&&this._ownsMenu(M)&&_e.delete(M),this.restoreFocus&&("keydown"===Ge||!this._openedBy||!this._triggersSubmenu())&&this.focus(this._openedBy),this._openedBy=void 0,this._setIsMenuOpen(!1))}
1_setIsMenuOpen(Ge){Ge!==this._menuOpen&&(this._menuOpen=Ge,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this._triggersSubmenu()&&this._menuItemInstance._setHighlighted(Ge),this._changeDetectorRef.markForCheck())}_createOverlay(Ge){if(!this._overlayRef){const qe=this._getOverlayConfig(Ge);this._subscribeToPositions(Ge,qe.positionStrategy),this._overlayRef=(0,U.Y$)(this._injector,qe),this._overlayRef.keydownEvents().subscribe(M=>{this._menu instanceof Se&&this._menu._handleKeydown(M)})}return this._overlayRef}_getOverlayConfig(Ge){return new U.rR({positionStrategy:(0,U.$M)(this._injector,this._getOverlayOrigin()).withLockedPosition().withGrowAfterOpen().withTransformOriginOn(".mat-menu-panel, .mat-mdc-menu-panel"),backdropClass:Ge.backdropClass||"cdk-overlay-transparent-backdrop",panelClass:Ge.overlayPanelClass,scrollStrategy:this._scrollStrategy(),direction:this._dir||"ltr",disableAnimations:this._animationsDisabled})}_subscribeToPositions(Ge,qe){Ge.setPositionClasses&&qe.positionChanges.subscribe(M=>{this._ngZone.run(()=>{Ge.setPositionClasses("start"===M.connectionPair.overlayX?"after":"before","top"===M.connectionPair.overlayY?"below":"above")})})}_setPosition(Ge,qe){let[M,$]="before"===Ge.xPosition?["end","start"]:["start","end"],[w,ue]="above"===Ge.yPosition?["bottom","top"]:["top","bottom"],[lt,xt]=[w,ue],[cn,en]=[M,$],st=0;if(this._triggersSubmenu()){if(en=M="before"===Ge.xPosition?"start":"end",$=cn="end"===M?"start":"end",this._parentMaterialMenu){if(null==this._parentInnerPadding){const se=this._parentMaterialMenu.items.first;this._parentInnerPadding=se?se._getHostElement().offsetTop:0}st="bottom"===w?this._parentInnerPadding:-this._parentInnerPadding}}else Ge.overlapTrigger||(lt="top"===w?"bottom":"top",xt="top"===ue?"bottom":"top");qe.withPositions([{originX:M,originY:lt,overlayX:cn,overlayY:w,offsetY:st},{originX:$,originY:lt,overlayX:en,overlayY:w,offsetY:st},{originX:M,originY:xt,overlayX:cn,overlayY:ue,offsetY:-st},{originX:$,originY:xt,overlayX:en,overlayY:ue,offsetY:-st}])}_menuClosingActions(){const Ge=this._getOutsideClickStream(this._overlayRef),qe=this._overlayRef.detachments(),M=this._parentMaterialMenu?this._parentMaterialMenu.closed:(0,O.of)(),$=this._parentMaterialMenu?this._parentMaterialMenu._hovered().pipe((0,Oe.p)(w=>this._menuOpen&&w!==this._menuItemInstance)):(0,O.of)();return(0,I.h)(Ge,M,$,qe)}_getPortal(Ge){return(!this._portal||this._portal.templateRef!==Ge.templateRef)&&(this._portal=new u.VA(Ge.templateRef,this._viewContainerRef)),this._portal}_ownsMenu(Ge){return _e.get(Ge)===this}_triggerIsAriaDisabled(){return(0,Q.L39)(this._element.nativeElement.getAttribute("aria-disabled"))}static \u0275fac=function(qe){g.QTQ()};static \u0275dir=g.FsC({type:Mt})}return Mt})(),Ae=(()=>{class Mt extends P{_cleanupTouchstart;_hoverSubscription=E.yU.EMPTY;get _deprecatedMatMenuTriggerFor(){return this.menu}set _deprecatedMatMenuTriggerFor(Ge){this.menu=Ge}get menu(){return this._menu}set menu(Ge){this._menu=Ge}menuData;restoreFocus=!0;menuOpened=new h.bkB;onMenuOpen=this.menuOpened;menuClosed=new h.bkB;onMenuClose=this.menuClosed;constructor(){super(!0);const Ge=(0,h.WQX)(g.sFG);this._cleanupTouchstart=Ge.listen(this._element.nativeElement,"touchstart",qe=>{(0,Ve.w)(qe)||(this._openedBy="touch")},{passive:!0})}triggersSubmenu(){return super._triggersSubmenu()}toggleMenu(){return this.menuOpen?this.closeMenu():this.openMenu()}openMenu(){this._openMenu(!0)}closeMenu(){this._closeMenu()}updatePosition(){this._overlayRef?.updatePosition()}ngAfterContentInit(){this._handleHover()}ngOnDestroy(){super.ngOnDestroy(),this._cleanupTouchstart(),this._hoverSubscription.unsubscribe()}_getOverlayOrigin(){return this._element}_getOutsideClickStream(Ge){return Ge.backdropClick()}_handleMousedown(Ge){(0,Ve._)(Ge)||(this._openedBy=0===Ge.button?"mouse":void 0,this.triggersSubmenu()&&Ge.preventDefault())}_handleKeydown(Ge){const qe=Ge.keyCode;(qe===Pe.Fm||qe===Pe.t6)&&(this._openedBy="keyboard"),this.triggersSubmenu()&&(qe===Pe.LE&&"ltr"===this.dir||qe===Pe.UQ&&"rtl"===this.dir)&&(this._openedBy="keyboard",this.openMenu())}_handleClick(Ge){this.triggersSubmenu()?(Ge.stopPropagation(),this.openMenu()):this.toggleMenu()}_handleHover(){this.triggersSubmenu()&&this._parentMaterialMenu&&(this._hoverSubscription=this._parentMaterialMenu._hovered().subscribe(Ge=>{Ge===this._menuItemInstance&&!Ge.disabled&&"void"!==this._parentMaterialMenu?._panelAnimationState&&(this._openedBy="mouse",this._openMenu(!1))}))}static \u0275fac=function(qe){return new(qe||Mt)};static \u0275dir=g.FsC({type:Mt,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:[1,"mat-mdc-menu-trigger"],hostVars:3,hostBindings:function(qe,M){1&qe&&g.bIt("click",function(w){return M._handleClick(w)})("mousedown",function(w){return M._handleMousedown(w)})("keydown",function(w){return M._handleKeydown(w)}),2&qe&&g.BMQ("aria-haspopup",M.menu?"menu":null)("aria-expanded",M.menuOpen)("aria-controls",M.menuOpen?null==M.menu?null:M.menu.panelId:null)},inputs:{_deprecatedMatMenuTriggerFor:[0,"mat-menu-trigger-for","_deprecatedMatMenuTriggerFor"],menu:[0,"matMenuTriggerFor","menu"],menuData:[0,"matMenuTriggerData","menuData"],restoreFocus:[0,"matMenuTriggerRestoreFocus","restoreFocus"]},outputs:{menuOpened:"menuOpened",onMenuOpen:"onMenuOpen",menuClosed:"menuClosed",onMenuClose:"onMenuClose"},exportAs:["matMenuTrigger"],features:[g.Vt3]})}return Mt})()},1134(Yt,ve,a){a.d(ve,{D6:()=>L,LG:()=>j});var u=a(6124),h=a(6563),g=a(7580),Q=a(9748),D=a(7432),I=a(3680);const E=["determinateSpinner"];function O(ne,Ve){if(1&ne&&(h.qSk(),u.j41(0,"svg",11),u.nrm(1,"circle",12),u.k0s()),2&ne){const Fe=u.XpG();
1u.BMQ("viewBox",Fe._viewBox()),u.R7$(),u.xc7("stroke-dasharray",Fe._strokeCircumference(),"px")("stroke-dashoffset",Fe._strokeCircumference()/2,"px")("stroke-width",Fe._circleStrokeWidth(),"%"),u.BMQ("r",Fe._circleRadius())}}const X=new h.nKC("mat-progress-spinner-default-options",{providedIn:"root",factory:()=>({diameter:B})}),B=100;let j=(()=>{class ne{_elementRef=(0,h.WQX)(u.aKT);_noopAnimations;get color(){return this._color||this._defaultColor}set color(Fe){this._color=Fe}_color;_defaultColor="primary";_determinateCircle;constructor(){const Fe=(0,h.WQX)(X),tt=(0,D._J)(),nt=this._elementRef.nativeElement;this._noopAnimations="di-disabled"===tt&&!!Fe&&!Fe._forceAnimations,this.mode="mat-spinner"===nt.nodeName.toLowerCase()?"indeterminate":"determinate",!this._noopAnimations&&"reduced-motion"===tt&&nt.classList.add("mat-progress-spinner-reduced-motion"),Fe&&(Fe.color&&(this.color=this._defaultColor=Fe.color),Fe.diameter&&(this.diameter=Fe.diameter),Fe.strokeWidth&&(this.strokeWidth=Fe.strokeWidth))}mode;get value(){return"determinate"===this.mode?this._value:0}set value(Fe){this._value=Math.max(0,Math.min(100,Fe||0))}_value=0;get diameter(){return this._diameter}set diameter(Fe){this._diameter=Fe||0}_diameter=B;get strokeWidth(){return this._strokeWidth??this.diameter/10}set strokeWidth(Fe){this._strokeWidth=Fe||0}_strokeWidth;_circleRadius(){return(this.diameter-10)/2}_viewBox(){const Fe=2*this._circleRadius()+this.strokeWidth;return`0 0 ${Fe} ${Fe}`}_strokeCircumference(){return 2*Math.PI*this._circleRadius()}_strokeDashOffset(){return"determinate"===this.mode?this._strokeCircumference()*(100-this._value)/100:null}_circleStrokeWidth(){return this.strokeWidth/this.diameter*100}static \u0275fac=function(tt){return new(tt||ne)};static \u0275cmp=u.VBU({type:ne,selectors:[["mat-progress-spinner"],["mat-spinner"]],viewQuery:function(tt,nt){if(1&tt&&u.GBs(E,5),2&tt){let Rt;u.mGM(Rt=u.lsd())&&(nt._determinateCircle=Rt.first)}},hostAttrs:["role","progressbar","tabindex","-1",1,"mat-mdc-progress-spinner","mdc-circular-progress"],hostVars:18,hostBindings:function(tt,nt){2&tt&&(u.BMQ("aria-valuemin",0)("aria-valuemax",100)("aria-valuenow","determinate"===nt.mode?nt.value:null)("mode",nt.mode),u.HbH("mat-"+nt.color),u.xc7("width",nt.diameter,"px")("height",nt.diameter,"px")("--mat-progress-spinner-size",nt.diameter+"px")("--mat-progress-spinner-active-indicator-width",nt.diameter+"px"),u.AVh("_mat-animation-noopable",nt._noopAnimations)("mdc-circular-progress--indeterminate","indeterminate"===nt.mode))},inputs:{color:"color",mode:"mode",value:[2,"value","value",g.Udg],diameter:[2,"diameter","diameter",g.Udg],strokeWidth:[2,"strokeWidth","strokeWidth",g.Udg]},exportAs:["matProgressSpinner"],decls:14,vars:11,consts:[["circle",""],["determinateSpinner",""],["aria-hidden","true",1,"mdc-circular-progress__determinate-container"],["xmlns","http://www.w3.org/2000/svg","focusable","false",1,"mdc-circular-progress__determinate-circle-graphic"],["cx","50%","cy","50%",1,"mdc-circular-progress__determinate-circle"],["aria-hidden","true",1,"mdc-circular-progress__indeterminate-container"],[1,"mdc-circular-progress__spinner-layer"],[1,"mdc-circular-progress__circle-clipper","mdc-circular-progress__circle-left"],[3,"ngTemplateOutlet"],[1,"mdc-circular-progress__gap-patch"],[1,"mdc-circular-progress__circle-clipper","mdc-circular-progress__circle-right"],["xmlns","http://www.w3.org/2000/svg","focusable","false",1,"mdc-circular-progress__indeterminate-circle-graphic"],["cx","50%","cy","50%"]],template:function(tt,nt){if(1&tt&&(u.DNE(0,O,2,8,"ng-template",null,0,u.C5r),u.j41(2,"div",2,1),h.qSk(),u.j41(4,"svg",3),u.nrm(5,"circle",4),u.k0s()(),h.joV(),u.j41(6,"div",5)(7,"div",6)(8,"div",7),u.eu8(9,8),u.k0s(),u.j41(10,"div",9),u.eu8(11,8),u.k0s(),u.j41(12,"div",10),u.eu8(13,8),u.k0s()()()),2&tt){const Rt=u.sdS(1);u.R7$(4),u.BMQ("viewBox",nt._viewBox()),u.R7$(),u.xc7("stroke-dasharray",nt._strokeCircumference(),"px")("stroke-dashoffset",nt._strokeDashOffset(),"px")("stroke-width",nt._circleStrokeWidth(),"%"),u.BMQ("r",nt._circleRadius()),u.R7$(4),u.Y8G("ngTemplateOutlet",Rt),u.R7$(2),u.Y8G("ngTemplateOutlet",Rt),u.R7$(2),u.Y8G("ngTemplateOutlet",Rt)}},dependencies:[Q.T3],styles:[".mat-mdc-progress-spinner {\n  --mat-progress-spinner-animation-multiplier: 1;\n  display: block;\n  overflow: hidden;\n  line-height: 0;\n  position: relative;\n  direction: ltr;\n  transition: opacity 250ms cubic-bezier(0.4, 0, 0.6, 1);\n}\n.mat-mdc-progress-spinner circle {\n  stroke-width: var(--mat-progress-spinner-active-indicator-width, 4px);\n}\n.mat-mdc-progress-spinner._mat-animation-noopable, .mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__determinate-circle {\n  transition: none !important;\n}\n.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-circle-graphic,\n.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__spinner-layer,\n.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-container {\n  animation: none !important;\n}\n.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-container circle {\n  stroke-dasharray: 0 !important;\n}\n@media (forced-colors: active) {\n  .mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic,\n  .mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle {\n    stroke: currentColor;\n    stroke: CanvasText;\n  }\n}\n\n.mat-progress-spinner-reduced-motion {\n  --mat-progress-spinner-animation-multiplier: 1.25;\n}\n\n.mdc-circular-progress__determinate-container,\n.mdc-circular-progress__indeterminate-circle-graphic,\n.mdc-circular-progress__indeterminate-container,\n.mdc-circular-progress__spinner-layer {\n  position: absolute;\n  width: 100%;\n  height: 100%;\n}\n\n.mdc-circular-progress__determinate-container {\n  transform: rotate(-90deg);\n}\n.mdc-circular-progress--indeterminate .mdc-circular-progress__determinate-container {\n  opacity: 0;\n}\n\n.mdc-circular-progress__indeterminate-container {\n  font-size: 0;\n  letter-spacing: 0;\n  white-space: nowrap;\n  opacity: 0;\n}\n.mdc-circular-progress--indeterminate .mdc-circular-progress__indeterminate-container {\n  opacity: 1;\n  animation: mdc-circular-progress-container-rotate calc(1568.2352941176ms * var(--mat-progress-spinner-animation-multiplier)) linear infinite;\n}\n\n.mdc-circular-progress__determinate-circle-graphic,\n.mdc-circular-progress__indeterminate-circle-graphic {\n  fill: transparent;\n}\n\n.mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle,\n.mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic {\n  stroke: var(--mat-progress-spinner-active-indicator-color, var(--mat-sys-primary));\n}\n@media (forced-colors: active) {\n  .mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle,\n  .mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic {\n    stroke: CanvasText;\n  }\n}\n\n.mdc-circular-progress__determinate-circle {\n  transition: stroke-dashoffset 500ms cubic-bezier(0, 0, 0.2, 1);\n}\n\n.mdc-circular-progress__gap-patch {\n  position: absolute;\n  top: 0;\n  left: 47.5%;\n  box-sizing: border-box;\n  width: 5%;\n  height: 100%;\n  overflow: hidden;\n}\n\n.mdc-circular-progress__gap-patch .mdc-circular-progress__indeterminate-circle-graphic {\n  left: -900%;\n  width: 2000%;\n  transform: rotate(180deg);\n}\n.mdc-circular-progress__circle-clipper .mdc-circular-progress__indeterminate-circle-graphic {\n  width: 200%;\n}\n.mdc-circular-progress__circle-right .mdc-circular-progress__indeterminate-circle-graphic {\n  left: -100%;\n}\n.mdc-circular-progress--indeterminate .mdc-circular-progress__circle-left .mdc-circular-progress__indeterminate-circle-graphic {\n  animation: mdc-circular-progress-left-spin calc(1333ms * var(--mat-progress-spinner-animation-multiplier)) cubic-bezier(0.4, 0, 0.2, 1) infinite both;\n}\n.mdc-circular-progress--indeterminate .mdc-circular-progress__circle-right .mdc-circular-progress__indeterminate-circle-graphic {\n  animation: mdc-circular-progress-right-spin calc(1333ms * var(--mat-progress-spinner-animation-multiplier)) cubic-bezier(0.4, 0, 0.2, 1) infinite both;\n}\n\n.mdc-circular-progress__circle-clipper {\n  display: inline-flex;\n  position: relative;\n  width: 50%;\n  height: 100%;\n  overflow: hidden;\n}\n\n.mdc-circular-progress--indeterminate .mdc-circular-progress__spinner-layer {\n  animation: mdc-circular-progress-spinner-layer-rotate calc(5332ms * var(--mat-progress-spinner-animation-multiplier)) cubic-bezier(0.4, 0, 0.2, 1) infinite both;\n}\n\n@keyframes mdc-circular-progress-container-rotate {\n  to {\n    transform: rotate(360deg);\n  }\n}\n@keyframes mdc-circular-progress-spinner-layer-rotate {\n  12.5% {\n    transform: rotate(135deg);\n  }\n  25% {\n    transform: rotate(270deg);\n  }\n  37.5% {\n    transform: rotate(405deg);\n  }\n  50% {\n    transform: rotate(540deg);\n  }\n  62.5% {\n    transform: rotate(675deg);\n  }\n  75% {\n    transform: rotate(810deg);\n  }\n  87.5% {\n    transform: rotate(945deg);\n  }\n  100% {\n    transform: rotate(1080deg);\n  }\n}\n@keyframes mdc-circular-progress-left-spin {\n  from {\n    transform: rotate(265deg);\n  }\n  50% {\n    transform: rotate(130deg);\n  }\n  to {\n    transform: rotate(265deg);\n  }\n}\n@keyframes mdc-circular-progress-right-spin {\n  from {\n    transform: rotate(-265deg);\n  }\n  50% {\n    transform: rotate(-130deg);\n  }\n  to {\n    transform: rotate(-265deg);\n  }\n}\n"],encapsulation:2,changeDetection:0})}return ne})(),L=(()=>{class ne{static \u0275fac=function(tt){return new(tt||ne)};static \u0275mod=u.$C({type:ne});static \u0275inj=h.G2t({imports:[I.jI]})}return ne})()},2849(Yt,ve,a){a.d(ve,{_T:()=>Te});var u=a(6124),h=a(6563),g=a(7580),Q=a(6306),D=a(8012),I=a(8438);var B=a(6019),K=a(4205),j=a(9452),Pe=a(2782),L=a(8508),ne=a(9168),Ve=a(7432),Fe=a(3900),tt=a(3680);function nt(le,pt){if(1&le){const Ie=u.RV6();u.j41(0,"div",1)(1,"button",2),u.bIt("click",function(){h.eBV(Ie);const Qe=u.XpG();return h.Njj(Qe.action())}),u.EFF(2),u.k0s()()}if(2&le){const Ie=u.XpG();u.R7$(2),u.SpI(" ",Ie.data.action," ")}}const Rt=["label"];function Oe(le,pt){}const xe=Math.pow(2,31)-1;class it{_overlayRef;instance;containerInstance;_afterDismissed=new K.B;_afterOpened=new K.B;_onAction=new K.B;_durationTimeoutId;_dismissedByAction=!1;constructor(pt,Ie){this._overlayRef=Ie,this.containerInstance=pt,pt._onExit.subscribe(()=>this._finishDismiss())}dismiss(){this._afterDismissed.closed||this.containerInstance.exit(),clearTimeout(this._durationTimeoutId)}dismissWithAction(){this._onAction.closed||(this._dismissedByAction=!0,this._onAction.next(),this._onAction.complete(),this.dismiss()),clearTimeout(this._durationTimeoutId)}closeWithAction(){this.dismissWithAction()}_dismissAfter(pt){this._durationTimeoutId=setTimeout(()=>this.dismiss(),Math.min(pt,xe))}_open(){this._afterOpened.closed||(this._afterOpened.next(),this._afterOpened.complete())}_finishDismiss(){this._overlayRef.dispose(),this._onAction.closed||this._onAction.complete(),this._afterDismissed.next({dismissedByAction:this._dismissedByAction}),this._afterDismissed.complete(),this._dismissedByAction=!1}afterDismissed(){return this._afterDismissed}afterOpened(){return this.containerInstance._onEnter}onAction(){return this._onAction}}const q=new h.nKC("MatSnackBarData");class F{politeness="polite";announcementMessage="";viewContainerRef;duration=0;panelClass;direction;data=null;horizontalPosition="center";verticalPosition="bottom"}let N=(()=>{class le{static \u0275fac=function(ze){return new(ze||le)};static \u0275dir=u.FsC({type:le,selectors:[["","matSnackBarLabel",""]],hostAttrs:[1,"mat-mdc-snack-bar-label","mdc-snackbar__label"]})}return le})(),U=(()=>{class le{static \u0275fac=function(ze){return new(ze||le)};static \u0275dir=u.FsC({type:le,selectors:[["","matSnackBarActions",""]],hostAttrs:[1,"mat-mdc-snack-bar-actions","mdc-snackbar__actions"]})}return le})(),ce=(()=>{class le{static \u0275fac=function(ze){return new(ze||le)};static \u0275dir=u.FsC({type:le,selectors:[["","matSnackBarAction",""]],hostAttrs:[1,"mat-mdc-snack-bar-action","mdc-snackbar__action"]})}return le})(),ie=(()=>{class le{snackBarRef=(0,h.WQX)(it);data=(0,h.WQX)(q);constructor(){}action(){this.snackBarRef.dismissWithAction()}get hasAction(){return!!this.data.action}static \u0275fac=function(ze){return new(ze||le)};static \u0275cmp=u.VBU({type:le,selectors:[["simple-snack-bar"]],hostAttrs:[1,"mat-mdc-simple-snack-bar"],exportAs:["matSnackBar"],decls:3,vars:2,consts:[["matSnackBarLabel",""],["matSnackBarActions",""],["matButton","","matSnackBarAction","",3,"click"]],template:function(ze,Qe){1&ze&&(u.j41(0,"div",0),u.EFF(1),u.k0s(),u.nVh(2,nt,3,1,"div",1)),2&ze&&(u.R7$(),u.SpI(" ",Qe.data.message,"\n"),u.R7$(),u.vxM(Qe.hasAction?2:-1))},dependencies:[Pe.$z,N,U,ce],styles:[".mat-mdc-simple-snack-bar {\n  display: flex;\n}\n.mat-mdc-simple-snack-bar .mat-mdc-snack-bar-label {\n  max-height: 50vh;\n  overflow: auto;\n}\n"],encapsulation:2,changeDetection:0})}return le})();const we="_mat-snack-bar-enter",oe="_mat-snack-bar-exit";let de=(()=>{class le extends ne.lb{_ngZone=(0,h.WQX)(h.SKi);_elementRef=(0,h.WQX)(u.aKT);_changeDetectorRef=(0,h.WQX)(g.gRc);_platform=(0,h.WQX)(L.O);_animationsDisabled=(0,Ve.Rc)();snackBarConfig=(0,h.WQX)(F);_document=(0,h.WQX)(h.qQL);_trackedModals=new Set;_enterFallback;_exitFallback;_injector=(0,h.WQX)(h.zZn);_announceDelay=150;_announceTimeoutId;_destroyed=!1;_portalOutlet;
1_onAnnounce=new K.B;_onExit=new K.B;_onEnter=new K.B;_animationState="void";_live;_label;_role;_liveElementId=(0,h.WQX)(Q.g).getId("mat-snack-bar-container-live-");constructor(){super();const Ie=this.snackBarConfig;this._live="assertive"!==Ie.politeness||Ie.announcementMessage?"off"===Ie.politeness?"off":"polite":"assertive",this._platform.FIREFOX&&("polite"===this._live&&(this._role="status"),"assertive"===this._live&&(this._role="alert"))}attachComponentPortal(Ie){this._assertNotAttached();const ze=this._portalOutlet.attachComponentPortal(Ie);return this._afterPortalAttached(),ze}attachTemplatePortal(Ie){this._assertNotAttached();const ze=this._portalOutlet.attachTemplatePortal(Ie);return this._afterPortalAttached(),ze}attachDomPortal=Ie=>{this._assertNotAttached();const ze=this._portalOutlet.attachDomPortal(Ie);return this._afterPortalAttached(),ze};onAnimationEnd(Ie){Ie===oe?this._completeExit():Ie===we&&(clearTimeout(this._enterFallback),this._ngZone.run(()=>{this._onEnter.next(),this._onEnter.complete()}))}enter(){this._destroyed||(this._animationState="visible",this._changeDetectorRef.markForCheck(),this._changeDetectorRef.detectChanges(),this._screenReaderAnnounce(),this._animationsDisabled?(0,u.mal)(()=>{this._ngZone.run(()=>queueMicrotask(()=>this.onAnimationEnd(we)))},{injector:this._injector}):(clearTimeout(this._enterFallback),this._enterFallback=setTimeout(()=>{this._elementRef.nativeElement.classList.add("mat-snack-bar-fallback-visible"),this.onAnimationEnd(we)},200)))}exit(){return this._destroyed?(0,j.of)(void 0):(this._ngZone.run(()=>{this._animationState="hidden",this._changeDetectorRef.markForCheck(),this._elementRef.nativeElement.setAttribute("mat-exit",""),clearTimeout(this._announceTimeoutId),this._animationsDisabled?(0,u.mal)(()=>{this._ngZone.run(()=>queueMicrotask(()=>this.onAnimationEnd(oe)))},{injector:this._injector}):(clearTimeout(this._exitFallback),this._exitFallback=setTimeout(()=>this.onAnimationEnd(oe),200))}),this._onExit)}ngOnDestroy(){this._destroyed=!0,this._clearFromModals(),this._completeExit()}_completeExit(){clearTimeout(this._exitFallback),queueMicrotask(()=>{this._onExit.next(),this._onExit.complete()})}_afterPortalAttached(){const Ie=this._elementRef.nativeElement,ze=this.snackBarConfig.panelClass;ze&&(Array.isArray(ze)?ze.forEach(Re=>Ie.classList.add(Re)):Ie.classList.add(ze)),this._exposeToModals();const Qe=this._label.nativeElement,_t="mdc-snackbar__label";Qe.classList.toggle(_t,!Qe.querySelector(`.${_t}`))}_exposeToModals(){const Ie=this._liveElementId,ze=this._document.querySelectorAll('body > .cdk-overlay-container [aria-modal="true"]');for(let Qe=0;Qe<ze.length;Qe++){const _t=ze[Qe],Re=_t.getAttribute("aria-owns");this._trackedModals.add(_t),Re?-1===Re.indexOf(Ie)&&_t.setAttribute("aria-owns",Re+" "+Ie):_t.setAttribute("aria-owns",Ie)}}_clearFromModals(){this._trackedModals.forEach(Ie=>{const ze=Ie.getAttribute("aria-owns");if(ze){const Qe=ze.replace(this._liveElementId,"").trim();Qe.length>0?Ie.setAttribute("aria-owns",Qe):Ie.removeAttribute("aria-owns")}}),this._trackedModals.clear()}_assertNotAttached(){this._portalOutlet.hasAttached()}_screenReaderAnnounce(){this._announceTimeoutId||this._ngZone.runOutsideAngular(()=>{this._announceTimeoutId=setTimeout(()=>{if(this._destroyed)return;const Ie=this._elementRef.nativeElement,ze=Ie.querySelector("[aria-hidden]"),Qe=Ie.querySelector("[aria-live]");if(ze&&Qe){let _t=null;this._platform.isBrowser&&document.activeElement instanceof HTMLElement&&ze.contains(document.activeElement)&&(_t=document.activeElement),ze.removeAttribute("aria-hidden"),Qe.appendChild(ze),_t?.focus(),this._onAnnounce.next(),this._onAnnounce.complete()}},this._announceDelay)})}static \u0275fac=function(ze){return new(ze||le)};static \u0275cmp=u.VBU({type:le,selectors:[["mat-snack-bar-container"]],viewQuery:function(ze,Qe){if(1&ze&&u.GBs(ne.I3,7)(Rt,7),2&ze){let _t;u.mGM(_t=u.lsd())&&(Qe._portalOutlet=_t.first),u.mGM(_t=u.lsd())&&(Qe._label=_t.first)}},hostAttrs:[1,"mdc-snackbar","mat-mdc-snack-bar-container"],hostVars:6,hostBindings:function(ze,Qe){1&ze&&u.bIt("animationend",function(Re){return Qe.onAnimationEnd(Re.animationName)})("animationcancel",function(Re){return Qe.onAnimationEnd(Re.animationName)}),2&ze&&u.AVh("mat-snack-bar-container-enter","visible"===Qe._animationState)("mat-snack-bar-container-exit","hidden"===Qe._animationState)("mat-snack-bar-container-animations-enabled",!Qe._animationsDisabled)},features:[u.Vt3],decls:6,vars:3,consts:[["label",""],[1,"mdc-snackbar__surface","mat-mdc-snackbar-surface"],[1,"mat-mdc-snack-bar-label"],["aria-hidden","true"],["cdkPortalOutlet",""]],template:function(ze,Qe){1&ze&&(u.j41(0,"div",1)(1,"div",2,0)(3,"div",3),u.DNE(4,Oe,0,0,"ng-template",4),u.k0s(),u.nrm(5,"div"),u.k0s()()),2&ze&&(u.R7$(5),u.BMQ("aria-l
1ive",Qe._live)("role",Qe._role)("id",Qe._liveElementId))},dependencies:[ne.I3],styles:["@keyframes _mat-snack-bar-enter {\n  from {\n    transform: scale(0.8);\n    opacity: 0;\n  }\n  to {\n    transform: scale(1);\n    opacity: 1;\n  }\n}\n@keyframes _mat-snack-bar-exit {\n  from {\n    opacity: 1;\n  }\n  to {\n    opacity: 0;\n  }\n}\n.mat-mdc-snack-bar-container {\n  display: flex;\n  align-items: center;\n  justify-content: center;\n  box-sizing: border-box;\n  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\n  margin: 8px;\n}\n.mat-mdc-snack-bar-handset .mat-mdc-snack-bar-container {\n  width: 100vw;\n}\n\n.mat-snack-bar-container-animations-enabled {\n  opacity: 0;\n}\n.mat-snack-bar-container-animations-enabled.mat-snack-bar-fallback-visible {\n  opacity: 1;\n}\n.mat-snack-bar-container-animations-enabled.mat-snack-bar-container-enter {\n  animation: _mat-snack-bar-enter 150ms cubic-bezier(0, 0, 0.2, 1) forwards;\n}\n.mat-snack-bar-container-animations-enabled.mat-snack-bar-container-exit {\n  animation: _mat-snack-bar-exit 75ms cubic-bezier(0.4, 0, 1, 1) forwards;\n}\n\n.mat-mdc-snackbar-surface {\n  box-shadow: 0px 3px 5px -1px rgba(0, 0, 0, 0.2), 0px 6px 10px 0px rgba(0, 0, 0, 0.14), 0px 1px 18px 0px rgba(0, 0, 0, 0.12);\n  display: flex;\n  align-items: center;\n  justify-content: flex-start;\n  box-sizing: border-box;\n  padding-left: 0;\n  padding-right: 8px;\n}\n[dir=rtl] .mat-mdc-snackbar-surface {\n  padding-right: 0;\n  padding-left: 8px;\n}\n.mat-mdc-snack-bar-container .mat-mdc-snackbar-surface {\n  min-width: 344px;\n  max-width: 672px;\n}\n.mat-mdc-snack-bar-handset .mat-mdc-snackbar-surface {\n  width: 100%;\n  min-width: 0;\n}\n@media (forced-colors: active) {\n  .mat-mdc-snackbar-surface {\n    outline: solid 1px;\n  }\n}\n.mat-mdc-snack-bar-container .mat-mdc-snackbar-surface {\n  color: var(--mat-snack-bar-supporting-text-color, var(--mat-sys-inverse-on-surface));\n  border-radius: var(--mat-snack-bar-container-shape, var(--mat-sys-corner-extra-small));\n  background-color: var(--mat-snack-bar-container-color, var(--mat-sys-inverse-surface));\n}\n\n.mdc-snackbar__label {\n  width: 100%;\n  flex-grow: 1;\n  box-sizing: border-box;\n  margin: 0;\n  padding: 14px 8px 14px 16px;\n}\n[dir=rtl] .mdc-snackbar__label {\n  padding-left: 8px;\n  padding-right: 16px;\n}\n.mat-mdc-snack-bar-container .mdc-snackbar__label {\n  font-family: var(--mat-snack-bar-supporting-text-font, var(--mat-sys-body-medium-font));\n  font-size: var(--mat-snack-bar-supporting-text-size, var(--mat-sys-body-medium-size));\n  font-weight: var(--mat-snack-bar-supporting-text-weight, var(--mat-sys-body-medium-weight));\n  line-height: var(--mat-snack-bar-supporting-text-line-height, var(--mat-sys-body-medium-line-height));\n}\n\n.mat-mdc-snack-bar-actions {\n  display: flex;\n  flex-shrink: 0;\n  align-items: center;\n  box-sizing: border-box;\n}\n\n.mat-mdc-snack-bar-handset,\n.mat-mdc-snack-bar-container,\n.mat-mdc-snack-bar-label {\n  flex: 1 1 auto;\n}\n\n.mat-mdc-snack-bar-container .mat-mdc-button.mat-mdc-snack-bar-action:not(:disabled).mat-unthemed {\n  color: var(--mat-snack-bar-button-color, var(--mat-sys-inverse-primary));\n}\n.mat-mdc-snack-bar-container .mat-mdc-button.mat-mdc-snack-bar-action:not(:disabled) {\n  --mat-button-text-state-layer-color: currentColor;\n  --mat-button-text-ripple-color: currentColor;\n}\n.mat-mdc-snack-bar-container .mat-mdc-button.mat-mdc-snack-bar-action:not(:disabled) .mat-ripple-element {\n  opacity: 0.1;\n}\n"],encapsulation:2})}return le})();const He=new h.nKC("mat-snack-bar-default-options",{providedIn:"root",factory:()=>new F});let Be=(()=>{class le{_live=(0,h.WQX)(D.Ai);_injector=(0,h.WQX)(h.zZn);_breakpointObserver=(0,h.WQX)(I.Q);_parentSnackBar=(0,h.WQX)(le,{optional:!0,skipSelf:!0});_defaultConfig=(0,h.WQX)(He);_animationsDisabled=(0,Ve.Rc)();_snackBarRefAtThisLevel=null;simpleSnackBarComponent=ie;snackBarContainerComponent=de;handsetCssClass="mat-mdc-snack-bar-handset";get _openedSnackBarRef(){const Ie=this._parentSnackBar;return Ie?Ie._openedSnackBarRef:this._snackBarRefAtThisLevel}set _openedSnackBarRef(Ie){this._parentSnackBar?this._parentSnackBar._openedSnackBarRef=Ie:this._snackBarRefAtThisLevel=Ie}constructor(){}openFromComponent(Ie,ze){return this._attach(Ie,ze)}openFromTemplate(Ie,ze){return this._attach(Ie,ze)}open(Ie,ze="",Qe){const _t={...this._defaultConfig,...Qe};return _t.data={message:Ie,action:ze},_t.announcementMessage===Ie&&(_t.announcementMessage=void 0),this.openFromComponent(this.simpleSnackBarComponent,_t)}dismiss(){this._openedSnackBarRef&&this._openedSnackBarRef.dismiss()}ngOnDestroy(){this._snackBarRefAtThisLevel&&this._snackBarRefAtThisLevel.dismiss()}_attachSnackBarContainer(Ie,ze){const _t=h.zZn.create({parent:ze&&ze.viewContainerRef&&ze.viewContainerRef.injector||this._injector,providers:[{provide:F,useValue:ze}]}),Re=new ne.A8(this.snackBarContainerComponent,ze.viewContainerRef,_t),Et=Ie.attach(Re);return Et.instance.snackBarConfig=ze,Et.instance}_attach(Ie,ze){const Qe={...new F,...this._defaultConfig,...ze},_t=this._createOverlay(Qe),Re=this._attachSnackBarContainer(_t,Qe),Et=ne
1w it(Re,_t);if(Ie instanceof u.C4Q){const kt=new ne.VA(Ie,null,{$implicit:Qe.data,snackBarRef:Et});Et.instance=Re.attachTemplatePortal(kt)}else{const kt=this._createInjector(Qe,Et),ht=new ne.A8(Ie,void 0,kt),Ne=Re.attachComponentPortal(ht);Et.instance=Ne.instance}return this._breakpointObserver.observe("(max-width: 599.98px) and (orientation: portrait)").pipe((0,Fe.Q)(_t.detachments())).subscribe(kt=>{_t.overlayElement.classList.toggle(this.handsetCssClass,kt.matches)}),Qe.announcementMessage&&Re._onAnnounce.subscribe(()=>{this._live.announce(Qe.announcementMessage,Qe.politeness)}),this._animateSnackBar(Et,Qe),this._openedSnackBarRef=Et,this._openedSnackBarRef}_animateSnackBar(Ie,ze){Ie.afterDismissed().subscribe(()=>{this._openedSnackBarRef==Ie&&(this._openedSnackBarRef=null),ze.announcementMessage&&this._live.clear()}),ze.duration&&ze.duration>0&&Ie.afterOpened().subscribe(()=>Ie._dismissAfter(ze.duration)),this._openedSnackBarRef?(this._openedSnackBarRef.afterDismissed().subscribe(()=>{Ie.containerInstance.enter()}),this._openedSnackBarRef.dismiss()):Ie.containerInstance.enter()}_createOverlay(Ie){const ze=new B.rR;ze.direction=Ie.direction;const Qe=(0,B.uA)(this._injector),_t="rtl"===Ie.direction,Re="left"===Ie.horizontalPosition||"start"===Ie.horizontalPosition&&!_t||"end"===Ie.horizontalPosition&&_t,Et=!Re&&"center"!==Ie.horizontalPosition;return Re?Qe.left("0"):Et?Qe.right("0"):Qe.centerHorizontally(),"top"===Ie.verticalPosition?Qe.top("0"):Qe.bottom("0"),ze.positionStrategy=Qe,ze.disableAnimations=this._animationsDisabled,(0,B.Y$)(this._injector,ze)}_createInjector(Ie,ze){return h.zZn.create({parent:Ie&&Ie.viewContainerRef&&Ie.viewContainerRef.injector||this._injector,providers:[{provide:it,useValue:ze},{provide:q,useValue:Ie.data}]})}static \u0275fac=function(ze){return new(ze||le)};static \u0275prov=h.jDH({token:le,factory:le.\u0275fac,providedIn:"root"})}return le})(),Te=(()=>{class le{static \u0275fac=function(ze){return new(ze||le)};static \u0275mod=u.$C({type:le});static \u0275inj=h.G2t({providers:[Be],imports:[B.z_,ne.jc,Pe.Hl,ie,tt.jI]})}return le})()},4967(Yt,ve,a){a.d(ve,{B8:()=>q,Bb:()=>ze});var D=a(9204),I=a(316),E=a(6563),O=a(9748),X=a(8963),B=a(7516),K=a(6124),j=a(7580),Pe=a(8547);class L extends X.qj{supportsDOMEvents=!0;static makeCurrent(){(0,X.ig)(new L)}onAndCancel(_t,Re,Et,kt){return _t.addEventListener(Re,Et,kt),()=>{_t.removeEventListener(Re,Et,kt)}}dispatchEvent(_t,Re){_t.dispatchEvent(Re)}remove(_t){_t.remove()}createElement(_t,Re){return(Re=Re||this.getDefaultDocument()).createElement(_t)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(_t){return _t.nodeType===Node.ELEMENT_NODE}isShadowRoot(_t){return _t instanceof DocumentFragment}getGlobalEventTarget(_t,Re){return"window"===Re?window:"document"===Re?_t:"body"===Re?_t.body:null}getBaseHref(_t){const Re=function Ve(){return ne=ne||document.head.querySelector("base"),ne?ne.getAttribute("href"):null}();return null==Re?null:function Fe(Qe){return new URL(Qe,document.baseURI).pathname}(Re)}resetBaseElement(){ne=null}getUserAgent(){return window.navigator.userAgent}getCookie(_t){return(0,B.b)(document.cookie,_t)}}let ne=null,nt=(()=>{class Qe{build(){return new XMLHttpRequest}static \u0275fac=function(Et){return new(Et||Qe)};static \u0275prov=E.jDH({token:Qe,factory:Qe.\u0275fac})}return Qe})();const Rt=["alt","control","meta","shift"],Oe={"\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"},xe={alt:Qe=>Qe.altKey,control:Qe=>Qe.ctrlKey,meta:Qe=>Qe.metaKey,shift:Qe=>Qe.shiftKey};let it=(()=>{class Qe extends Pe.Hl{constructor(Re){super(Re)}supports(Re){return null!=Qe.parseEventName(Re)}addEventListener(Re,Et,kt,ht){const Ne=Qe.parseEventName(Et),Ot=Qe.eventCallback(Ne.fullKey,kt,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,X.rb)().onAndCancel(Re,Ne.domEventName,Ot,ht))}static parseEventName(Re){const Et=Re.toLowerCase().split("."),kt=Et.shift();if(0===Et.length||"keydown"!==kt&&"keyup"!==kt)return null;const ht=Qe._normalizeKey(Et.pop());let Ne="",Ot=Et.indexOf("code");if(Ot>-1&&(Et.splice(Ot,1),Ne="code."),Rt.forEach(zt=>{const rt=Et.indexOf(zt);rt>-1&&(Et.splice(rt,1),Ne+=zt+".")}),Ne+=ht,0!=Et.length||0===ht.length)return null;const Lt={};return Lt.domEventName=kt,Lt.fullKey=Ne,Lt}static matchEventFullKeyCode(Re,Et){let kt=Oe[Re.key]||Re.key,ht="";return Et.indexOf("code.")>
vendor: 10,494 bytes, line 1
1-1&&(kt=Re.code,ht="code."),!(null==kt||!kt)&&(kt=kt.toLowerCase()," "===kt?kt="space":"."===kt&&(kt="dot"),Rt.forEach(Ne=>{Ne!==kt&&(0,xe[Ne])(Re)&&(ht+=Ne+".")}),ht+=kt,ht===Et)}static eventCallback(Re,Et,kt){return ht=>{Qe.matchEventFullKeyCode(ht,Re)&&kt.runGuarded(()=>Et(ht))}}static _normalizeKey(Re){return"esc"===Re?"escape":Re}static \u0275fac=function(Et){return new(Et||Qe)(E.KVO(E.qQL))};static \u0275prov=E.jDH({token:Qe,factory:Qe.\u0275fac})}return Qe})();function q(Qe,_t,Re){return F.apply(this,arguments)}function F(){return(F=(0,D.A)(function*(Qe,_t,Re){const Et={rootComponent:Qe,...ce(_t,Re)};return(0,j.TL3)(Et)})).apply(this,arguments)}function ce(Qe,_t){return{platformRef:_t?.platformRef,appProviders:[...Ie,...Qe?.providers??[]],platformProviders:$e}}const $e=[{provide:K.Agw,useValue:I.AJ},{provide:K.PLl,useValue:function de(){L.makeCurrent()},multi:!0},{provide:E.qQL,useFactory:function Be(){return(0,K._9u)(document),document}}],pt=[{provide:K.$Ln,useClass:class tt{addToWindow(_t){E.laP.getAngularTestability=(Et,kt=!0)=>{const ht=_t.findTestabilityInTree(Et,kt);if(null==ht)throw new E.buA(5103,!1);return ht},E.laP.getAllAngularTestabilities=()=>_t.getAllTestabilities(),E.laP.getAllAngularRootElements=()=>_t.getAllRootElements(),E.laP.frameworkStabilizers||(E.laP.frameworkStabilizers=[]),E.laP.frameworkStabilizers.push(Et=>{const kt=E.laP.getAllAngularTestabilities();let ht=kt.length;const Ne=function(){ht--,0==ht&&Et()};kt.forEach(Ot=>{Ot.whenStable(Ne)})})}findTestabilityInTree(_t,Re,Et){return null==Re?null:_t.getTestability(Re)??(Et?(0,X.rb)().isShadowRoot(Re)?this.findTestabilityInTree(_t,Re.host,!0):this.findTestabilityInTree(_t,Re.parentElement,!0):null)}}},{provide:K.dOL,useClass:K.NYb},{provide:K.NYb,useClass:K.NYb}],Ie=[{provide:E.GBX,useValue:"root"},{provide:E.zcH,useFactory:function He(){return new E.zcH}},{provide:Pe.Q5,useClass:Pe.jd,multi:!0},{provide:Pe.Q5,useClass:it,multi:!0},Pe.mE,Pe.CI,Pe.EU,{provide:K._9s,useExisting:Pe.mE},{provide:B.N,useClass:nt},[]];let ze=(()=>{class Qe{constructor(){}static \u0275fac=function(Et){return new(Et||Qe)};static \u0275mod=K.$C({type:Qe});static \u0275inj=E.G2t({providers:[...Ie,...pt],imports:[O.MD,j.Hbi]})}return Qe})()},8547(Yt,ve,a){a.d(ve,{CI:()=>Pe,EU:()=>E,Hl:()=>Q,Q5:()=>I,jd:()=>D,mE:()=>U});var u=a(6563),h=a(8963),g=a(6124);class Q{_doc;constructor(Te){this._doc=Te}manager}let D=(()=>{class $e extends Q{constructor(le){super(le)}supports(le){return!0}addEventListener(le,pt,Ie,ze){return le.addEventListener(pt,Ie,ze),()=>this.removeEventListener(le,pt,Ie,ze)}removeEventListener(le,pt,Ie,ze){return le.removeEventListener(pt,Ie,ze)}static \u0275fac=function(pt){return new(pt||$e)(u.KVO(u.qQL))};static \u0275prov=u.jDH({token:$e,factory:$e.\u0275fac})}return $e})();const I=new u.nKC("");let E=(()=>{class $e{_zone;_plugins;_eventNameToPlugin=new Map;constructor(le,pt){this._zone=pt,le.forEach(Qe=>{Qe.manager=this});const Ie=le.filter(Qe=>!(Qe instanceof D));this._plugins=Ie.slice().reverse();const ze=le.find(Qe=>Qe instanceof D);ze&&this._plugins.push(ze)}addEventListener(le,pt,Ie,ze){return this._findPluginFor(pt).addEventListener(le,pt,Ie,ze)}getZone(){return this._zone}_findPluginFor(le){let pt=this._eventNameToPlugin.get(le);if(pt)return pt;if(pt=this._plugins.find(ze=>ze.supports(le)),!pt)throw new u.buA(5101,!1);return this._eventNameToPlugin.set(le,pt),pt}static \u0275fac=function(pt){return new(pt||$e)(u.KVO(I),u.KVO(u.SKi))};static \u0275prov=u.jDH({token:$e,factory:$e.\u0275fac})}return $e})();const O="ng-app-id";function X($e){for(const Te of $e)Te.remove()}function B($e,Te){const le=Te.createElement("style");return le.textContent=$e,le}function j($e,Te){const le=Te.createElement("link");return le.setAttribute("rel","stylesheet"),le.setAttribute("href",$e),le}let Pe=(()=>{class $e{doc;appId;nonce;inline=new Map;external=new Map;hosts=new Set;constructor(le,pt,Ie,ze={}){this.doc=le,this.appId=pt,this.nonce=Ie,function K($e,Te,le,pt){const Ie=$e.head?.querySelectorAll(`style[${O}="${Te}"],link[${O}="${Te}"]`);if(Ie)for(const ze of Ie)ze.removeAttribute(O),ze instanceof HTMLLinkElement?pt.set(ze.href.slice(ze.href.lastIndexOf("/")+1),{usage:0,elements:[ze]}):ze.textContent&&le.set(ze.textContent,{usage:0,elements:[ze]})}(le,pt,this.inline,this.external),this.hosts.add(le.head)}addStyles(le,pt){for(const Ie of le)this.addUsage(Ie,this.inline,B);pt?.forEach(Ie=>this.addUsage(Ie,this.external,j))}removeStyles(le,pt){for(const Ie of le)this.removeUsage(Ie,this.inline);pt?.forEach(Ie=>this.removeUsage(Ie,this.external))}addUsage(le,pt,Ie){const ze=pt.get(le);ze?ze.usage++:pt.set(le,{usage:1,elements:[...this.hosts].map(Qe=>this.addElement(Qe,Ie(le,this.doc)))})}removeUsage(le,pt){const Ie=pt.get(le);Ie&&(Ie.usage--,Ie.usage<=0&&(X(Ie.elements),pt.delete(le)))}ngOnDestroy(){for(const[,{elements:le}]of[...this.inline,...this.external])X(le);this.hosts.clear()}addHost(le){this.hosts.add(le);for(const[pt,{elements:Ie}]of this.inline)Ie.push(this.addElement(le,B(pt,this.doc)));for(const[pt,{elements:Ie}]of this.external)Ie.push(this.addElement(le,j(pt,this.doc)))}removeHost(le){this.hosts.delete(le)}addElement(le,pt){return this.nonce&&pt.setAttribute("nonce",this.nonce),le.appendChild(pt)}static \u0275fac=function(pt){return new(pt||$e)(u.KVO(u.qQL),u.KVO(g.sZ2),u.KVO(g.BIS,8),u.KVO(g.Agw))};static \u0275prov=u.jDH({token:$e,factory:$e.\u0275fac})}return $e})();const L={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/Math/MathML"},ne=/%COMP%/g,xe=new u.nKC("",{factory:()=>!0});function F($e,Te){return Te.map(le=>le.replace(ne,$e))}let U=(()=>{class $e{eventManager;sharedStylesHost;appId;removeStylesOnCompDestroy;doc;ngZone;nonce;tracingService;rendererByCompId=new Map;defaultRenderer;constructor(le,pt,Ie,ze,Qe,_t,Re=null,Et=null){this.eventManager=le,this.sharedStylesHost=pt,this.appId=Ie,this.removeStylesOnCompDestroy=ze,this.doc=Qe,this.ngZone=_t,this.nonce=Re,this.tracingService=Et,this.defaultRenderer=new ce(le,Qe,_t,this.tracingService)}createRenderer(le,pt){if(!le||!pt)return this.defaultRenderer;const Ie=this.getOrCreateRenderer(le,pt);return Ie instanceof Be?Ie.applyToHost(le):Ie instanceof He&&Ie.applyStyles(),Ie}getOrCreateRenderer(le,pt){const Ie=this.rendererByCompId;let ze=Ie.get(pt.id);if(!ze){const Qe=this.doc,_t=this.ngZone,Re=this.eventManager,Et=this.sharedStylesHost,kt=this.removeStylesOnCompDestroy,ht=this.tracingService;switch(pt.encapsulation){case g.gXe.Emulated:ze=new Be(Re,Et,pt,this.appId,kt,Qe,_t,ht);break;case g.gXe.ShadowDom:return new de(Re,le,pt,Qe,_t,this.nonce,ht,Et);case g.gXe.ExperimentalIsolatedShadowDom:return new de(Re,le,pt,Qe,_t,this.nonce,ht);default:ze=new He(Re,Et,pt,kt,Qe,_t,ht)}Ie.set(pt.id,ze)}return ze}ngOnDestroy(){this.rendererByCompId.clear()}componentReplaced(le){this.rendererByCompId.delete(le)}static \u0275fac=function(pt){return new(pt||$e)(u.KVO(E),u.KVO(Pe),u.KVO(g.sZ2),u.KVO(xe),u.KVO(u.qQL),u.KVO(u.SKi),u.KVO(g.BIS),u.KVO(g.a8H,8))};static \u0275prov=u.jDH({token:$e,factory:$e.\u0275fac})}return $e})();class ce{eventManager;doc;ngZone;tracingService;data=Object.create(null);throwOnSyntheticProps=!0;constructor(Te,le,pt,Ie){this.eventManager=Te,this.doc=le,this.ngZone=pt,this.tracingService=Ie}destroy(){}destroyNode=null;createElement(Te,le){return le?this.doc.createElementNS(L[le]||le,Te):this.doc.createElement(Te)}createComment(Te){return this.doc.createComment(Te)}createText(Te){return this.doc.createTextNode(Te)}appendChild(Te,le){(oe(Te)?Te.content:Te).appendChild(le)}insertBefore(Te,le,pt){Te&&(oe(Te)?Te.content:Te).insertBefore(le,pt)}removeChild(Te,le){le.remove()}selectRootElement(Te,le){let pt="string"==typeof Te?this.doc.querySelector(Te):Te;if(!pt)throw new u.buA(-5104,!1);return le||(pt.textContent=""),pt}parentNode(Te){return Te.parentNode}nextSibling(Te){return Te.nextSibling}setAttribute(Te,le,pt,Ie){if(Ie){le=Ie+":"+le;const ze=L[Ie];ze?Te.setAttributeNS(ze,le,pt):Te.setAttribute(le,pt)}else Te.setAttribute(le,pt)}removeAttribute(Te,le,pt){if(pt){const Ie=L[pt];Ie?Te.removeAttributeNS(Ie,le):Te.removeAttribute(`${pt}:${le}`)}else Te.removeAttribute(le)}addClass(Te,le){Te.classList.add(le)}removeClass(Te,le){Te.classList.remove(le)}setStyle(Te,le,pt,Ie){Ie&(g.czy.DashCase|g.czy.Important)?Te.style.setProperty(le,pt,Ie&g.czy.Important?"important":""):Te.style[le]=pt}removeStyle(Te,le,pt){pt&g.czy.DashCase?Te.style.removeProperty(le):Te.style[le]=""}setProperty(Te,le,pt){null!=Te&&(Te[le]=pt)}setValue(Te,le){Te.nodeValue=le}listen(Te,le,pt,Ie){if("string"==typeof Te&&!(Te=(0,h.rb)().getGlobalEventTarget(this.doc,Te)))throw new u.buA(5102,!1);let ze=this.decoratePreventDefault(pt);return this.tracingService?.wrapEventListener&&(ze=this.tracingService.wrapEventListener(Te,le,ze)),this.eventManager.addEventListener(Te,le,ze,Ie)}decoratePreventDefault(Te){return le=>{if("__ngUnwrap__"===le)return Te;!1===Te(le)&&le.preventDefault()}}}function oe($e){return"TEMPLATE"===$e.tagName&&void 0!==$e.content}class de extends ce{hostEl;sharedStylesHost;shadowRoot;constructor(Te,le,pt,Ie,ze,Qe,_t,Re){super(Te,Ie,ze,_t),this.hostEl=le,this.sharedStylesHost=Re,this.shadowRoot=le.attachShadow({mode:"open"}),this.sharedStylesHost&&this.sharedStylesHost.addHost(this.shadowRoot);let Et=pt.styles;Et=F(pt.id,Et);for(const ht of Et){const Ne=document.createElement("style");Qe&&Ne.setAttribute("nonce",Qe),Ne.textContent=ht,this.shadowRoot.appendChild(Ne)}const kt=pt.getExternalStyles?.();if(kt)for(const ht of kt){const Ne=j(ht,Ie);Qe&&Ne.setAttribute("nonce",Qe),this.shadowRoot.appendChild(Ne)}}nodeOrShadowRoot(Te){return Te===this.hostEl?this.shadowRoot:Te}appendChild(Te,le){return super.appendChild(this.nodeOrShadowRoot(Te),le)}insertBefore(Te,le,pt){return super.insertBefore(this.nodeOrShadowRoot(Te),le,pt)}removeChild(Te,le){return super.removeChild(null,le)}parentNode(Te){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(Te)))}destroy(){this.sharedStylesHost&&this.sharedStylesHost.removeHost(this.shadowRoot)}}class He extends ce{sharedStylesHost;removeStylesOnCompDestroy;styles;styleUrls;constructor(Te,le,pt,Ie,ze,Qe,_t,Re){super(Te,ze,Qe,_t),this.sharedStylesHost=le,this.removeStylesOnCompDestroy=Ie;let Et=pt.styles;this.styles=Re?F(Re,Et):Et,this.styleUrls=pt.getExternalStyles?.(Re)}
vendor: 28,768 bytes, line 1
1applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&0===g.DUP.size&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}}class Be extends He{contentAttr;hostAttr;constructor(Te,le,pt,Ie,ze,Qe,_t,Re){const Et=Ie+"-"+pt.id;super(Te,le,pt,ze,Qe,_t,Re,Et),this.contentAttr=function it($e){return"_ngcontent-%COMP%".replace(ne,$e)}(Et),this.hostAttr=function q($e){return"_nghost-%COMP%".replace(ne,$e)}(Et)}applyToHost(Te){this.applyStyles(),this.setAttribute(Te,this.hostAttr,"")}createElement(Te,le){const pt=super.createElement(Te,le);return super.setAttribute(pt,this.contentAttr,""),pt}}},3725(Yt,ve,a){a.d(ve,{wb:()=>wo});var u=a(6563),h=a(6124),g=function(be){return be[be.State=0]="State",be[be.Transition=1]="Transition",be[be.Sequence=2]="Sequence",be[be.Group=3]="Group",be[be.Animate=4]="Animate",be[be.Keyframes=5]="Keyframes",be[be.Style=6]="Style",be[be.Trigger=7]="Trigger",be[be.Reference=8]="Reference",be[be.AnimateChild=9]="AnimateChild",be[be.AnimateRef=10]="AnimateRef",be[be.Query=11]="Query",be[be.Stagger=12]="Stagger",be}(g||{});const Q="*";function X(be){return{type:g.Style,styles:be,offset:null}}class tt{_onDoneFns=[];_onStartFns=[];_onDestroyFns=[];_originalOnDoneFns=[];_originalOnStartFns=[];_started=!1;_destroyed=!1;_finished=!1;_position=0;parentPlayer=null;totalTime;constructor(d=0,y=0){this.totalTime=d+y}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(d=>d()),this._onDoneFns=[])}onStart(d){this._originalOnStartFns.push(d),this._onStartFns.push(d)}onDone(d){this._originalOnDoneFns.push(d),this._onDoneFns.push(d)}onDestroy(d){this._onDestroyFns.push(d)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(d=>d()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(d=>d()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(d){this._position=this.totalTime?d*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(d){const y="start"==d?this._onStartFns:this._onDoneFns;y.forEach(x=>x()),y.length=0}}class nt{_onDoneFns=[];_onStartFns=[];_finished=!1;_started=!1;_destroyed=!1;_onDestroyFns=[];parentPlayer=null;totalTime=0;players;constructor(d){this.players=d;let y=0,x=0,pe=0;const Ze=this.players.length;0==Ze?queueMicrotask(()=>this._onFinish()):this.players.forEach(Pt=>{Pt.onDone(()=>{++y==Ze&&this._onFinish()}),Pt.onDestroy(()=>{++x==Ze&&this._onDestroy()}),Pt.onStart(()=>{++pe==Ze&&this._onStart()})}),this.totalTime=this.players.reduce((Pt,Vt)=>Math.max(Pt,Vt.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(d=>d()),this._onDoneFns=[])}init(){this.players.forEach(d=>d.init())}onStart(d){this._onStartFns.push(d)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(d=>d()),this._onStartFns=[])}onDone(d){this._onDoneFns.push(d)}onDestroy(d){this._onDestroyFns.push(d)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(d=>d.play())}pause(){this.players.forEach(d=>d.pause())}restart(){this.players.forEach(d=>d.restart())}finish(){this._onFinish(),this.players.forEach(d=>d.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(d=>d.destroy()),this._onDestroyFns.forEach(d=>d()),this._onDestroyFns=[])}reset(){this.players.forEach(d=>d.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(d){const y=d*this.totalTime;this.players.forEach(x=>{const pe=x.totalTime?Math.min(1,y/x.totalTime):1;x.setPosition(pe)})}getPosition(){const d=this.players.reduce((y,x)=>null===y||x.totalTime>y.totalTime?x:y,null);return null!=d?d.getPosition():0}beforeDestroy(){this.players.forEach(d=>{d.beforeDestroy&&d.beforeDestroy()})}triggerCallback(d){const y="start"==d?this._onStartFns:this._onDoneFns;y.forEach(x=>x()),y.length=0}}function it(be){return new u.buA(3e3,!1)}function He(be){return new u.buA(3002,!1)}function De(be){switch(be.length){case 0:return new tt;case 1:return be[0];default:return new nt(be)}}function Ee(be,d,y=new Map,x=new Map){const pe=[],Ze=[];let Pt=-1,Vt=null;if(d.forEach(nn=>{const hn=nn.get("offset"),Un=hn==Pt,Yn=Un&&Vt||new Map;nn.forEach((mr,fr)=>{let sr=fr,dr=mr;if("offset"!==fr)switch(sr=be.normalizePropertyName(sr,pe),dr){case"!":dr=y.get(fr);break;case Q:dr=x.get(fr);break;default:dr=be.normalizeStyleValue(fr,sr,dr,pe)}Yn.set(sr,dr)}),Un||Ze.push(Yn),Vt=Yn,Pt=hn}),pe.length)throw function ht(){return new u.buA(3502,!1)}();return Ze}function i(be,d,y,x){switch(d){case"start":be.onStart(()=>x(y&&ke(y,"start",be)));break;case"done":be.onDone(()=>x(y&&ke(y,"done",be)));break;case"destroy":be.onDestroy(()=>x(y&&ke(y,"destroy",be)))}}function ke(be,d,y){const Ze=ot(be.element,be.triggerName,be.fromState,be.toState,d||be.phaseName,y.totalTime??be.totalTime,!!y.disabled),Pt=be._data;return null!=Pt&&(Ze._data=Pt),Ze}function ot(be,d,y,x,pe="",Ze=0,Pt){return{element:be,triggerName:d,fromState:y,toState:x,phaseName:pe,totalTime:Ze,disabled:!!Pt}}function Xe(be,d,y){let x=be.get(d);return x||be.set(d,x=y),x}function fe(be){const d=be.indexOf(":");return[be.substring(1,d),be.slice(d+1)]}const Y=typeof document>"u"?null:document.documentElement;function Se(be){const d=be.parentNode||be.host||null;return d===Y?null:d}let ct=null,_e=!1;function wt(be,d){for(;d;){if(d===be)return!0;d=Se(d)}return!1}function Mt(be,d,y){if(y)return Array.from(be.querySelectorAll(d));const x=be.querySelector(d);return x?[x]:[]}const M="ng-enter",$="ng-leave",w="ng-trigger",ue=".ng-trigger",lt="ng-animating",xt=".ng-animating";function cn(be){if("number"==typeof be)return be;const d=be.match(/^(-?[\.\d]+)(m?s)/);return!d||d.length<2?0:en(parseFloat(d[1]),d[2])}function en(be,d){return"s"===d?1e3*be:be}function st(be,d,y){return be.hasOwnProperty("duration")?be:function Ye(be,d,y){let x,pe=0,Ze="";if("string"==typeof be){const Pt=be.match(se);if(null===Pt)return d.push(it()),{duration:0,delay:0,easing:""};x=en(parseFloat(Pt[1]),Pt[2]);const Vt=Pt[3];null!=Vt&&(pe=en(parseFloat(Vt),Pt[4]));const nn=Pt[5];nn&&(Ze=nn)}else x=be;if(!y){let Pt=!1,Vt=d.length;x<0&&(d.push(function q(){return new u.buA(3100,!1)}()),Pt=!0),pe<0&&(d.push(function F(){return new u.buA(3101,!1)}()),Pt=!0),Pt&&d.splice(Vt,0,it())}return{duration:x,delay:pe,easing:Ze}}(be,d,y)}const se=/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i;function Xt(be,d,y){d.forEach((x,pe)=>{const Ze=qt(pe);y&&!y.has(pe)&&y.set(pe,be.style[Ze]),be.style[Ze]=x})}function Mn(be,d){d.forEach((y,x)=>{const pe=qt(x);be.style[pe]=""})}function It(be){return Array.isArray(be)?1==be.length?be[0]:function O(be,d=null){return{type:g.Sequence,steps:be,options:d}}(be):be}const R=new RegExp("{{\\s*(.+?)\\s*}}","g");function k(be){let d=[];if("string"==typeof be){let y;for(;y=R.exec(be);)d.push(y[1]);R.lastIndex=0}return d}function ye(be,d,y){const x=`${be}`,pe=x.replace(R,(Ze,Pt)=>{let Vt=d[Pt];return null==Vt&&(y.push(function U(){return new u.buA(3003,!1)}()),Vt=""),Vt.toString()});return pe==x?be:pe}const Nt=/-+([a-z0-9])/g;function qt(be){return be.replace(Nt,(...d)=>d[1].toUpperCase())}function An(be,d,y){switch(d.type){case g.Trigger:return be.visitTrigger(d,y);case g.State:return be.visitState(d,y);case g.Transition:return be.visitTransition(d,y);case g.Sequence:return be.visitSequence(d,y);case g.Group:return be.visitGroup(d,y);case g.Animate:return be.visitAnimate(d,y);case g.Keyframes:return be.visitKeyframes(d,y);case g.Style:return be.visitStyle(d,y);case g.Reference:return be.visitReference(d,y);case g.AnimateChild:return be.visitAnimateChild(d,y);case g.AnimateRef:return be.visitAnimateRef(d,y);case g.Query:return be.visitQuery(d,y);case g.Stagger:return be.visitStagger(d,y);default:throw function ce(){return new u.buA(3004,!1)}()}}function fn(be,d){return window.getComputedStyle(be)[d]}let gr=(()=>{class be{validateStyleProperty(y){return function P(be){ct||(ct=function mt(){return typeof document<"u"?document.body:null}()||{},_e=!!ct.style&&"WebkitAppearance"in ct.style);let d=!0;return ct.style&&!function Ce(be){return"ebkit"==be.substring(1,6)}(be)&&(d=be in ct.style,!d&&_e&&(d="Webkit"+be.charAt(0).toUpperCase()+be.slice(1)in ct.style)),d}(y)}containsElement(y,x){return wt(y,x)}getParentElement(y){return Se(y)}query(y,x,pe){return Mt(y,x,pe)}computeStyle(y,x,pe){return pe||""}animate(y,x,pe,Ze,Pt,Vt=[],nn){return new tt(pe,Ze)}static \u0275fac=function(x){return new(x||be)};static \u0275prov=u.jDH({token:be,factory:be.\u0275fac})}return be})();class ar{static NOOP=new gr}class rn{}const ee=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 We extends rn{normalizePropertyName(d,y){return qt(d)}normalizeStyleValue(d,y,x,pe){let Ze="";const Pt=x.toString().trim();if(ee.has(y)&&0!==x&&"0"!==x)if("number"==typeof x)Ze="px";else{const Vt=x.match(/^[+-]?[\d\.]+([a-z]*)$/);Vt&&0==Vt[1].length&&pe.push(function ie(){return new u.buA(3005,!1)}())}return Pt+Ze}}const _n=new Set(["true","1"]),Wn=new Set(["false","0"]);function Kn(be,d){const y=_n.has(be)||Wn.has(be),x=_n.has(d)||Wn.has(d);return(pe,Ze)=>{let Pt="*"==be||be==pe,Vt="*"==d||d==Ze;return!Pt&&y&&"boolean"==typeof pe&&(Pt=pe?_n.has(be):Wn.has(be)),!Vt&&x&&"boolean"==typeof Ze&&(Vt=Ze?_n.has(d):Wn.has(d)),Pt&&Vt}}const Pn=new RegExp("s*:selfs*,?","g");function On(be,d,y,x){return new tr(be).build(d,y,x)}class tr{_driver;constructor(d){this._driver=d}build(d,y,x){const pe=new Ir(y);return this._resetContextStyleTimingState(pe),An(this,It(d),pe)}_resetContextStyleTimingState(d){d.currentQuerySelector="",d.collectedStyles=new Map,d.collectedStyles.set("",new Map),d.currentTime=0}visitTrigger(d,y){let x=y.queryCount=0,pe=y.depCount=0;const Ze=[],Pt=[];return"@"==d.name.charAt(0)&&y.errors.push(function we(){return new u.buA(3006,!1)}()),d.definitions.forEach(Vt=>{if(this._resetContextStyleTimingState(y),Vt.type==g.State){const nn=Vt,hn=nn.name;hn.toString().split(/\s*,\s*/).forEach(Un=>{nn.name=Un,Ze.push(this.visitState(nn,y))}),nn.name=hn}else if(Vt.type==g.Transition){const nn=this.visitTransition(Vt,y);x+=nn.queryCount,pe+=nn.depCount,Pt.push(nn)}else y.errors.push(function oe(){return new u.buA(3007,!1)}())}),{type:g.Trigger,name:d.name,states:Ze,transitions:Pt,queryCount:x,depCount:pe,options:null}}visitState(d,y){const x=this.visitStyle(d.styles,y),pe=d.options&&d.options.params||null;if(x.containsDynamicStyles){const Ze=new Set,Pt=pe||{};x.styles.forEach(Vt=>{Vt instanceof Map&&Vt.forEach(nn=>{k(nn).forEach(hn=>{Pt.hasOwnProperty(hn)||Ze.add(hn)})})}),Ze.size&&y.errors.push(function de(){return new u.buA(3008,!1)}(0,Ze.values()))}return{type:g.State,name:d.name,style:x,options:pe?{params:pe}:null}}visitTransition(d,y){y.queryCount=0,y.depCount=0;const x=An(this,It(d.animation),y),pe=function Cn(be,d){const y=[];return"string"==typeof be?be.split(/\s*,\s*/).forEach(x=>function gn(be,d,y){if(":"==be[0]){const nn=function Ut(be,d){switch(be){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(y,x)=>parseFloat(x)>parseFloat(y);case":decrement":return(y,x)=>parseFloat(x)<parseFloat(y);default:return d.push(function _t(){return new u.buA(3016,!1)}()),"* => *"}}(be,y);if("function"==typeof nn)return void d.push(nn);be=nn}const x=be.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==x||x.length<4)return y.push(function Qe(){return new u.buA(3015,!1)}()),d;const pe=x[1],Ze=x[2],Pt=x[3];d.push(Kn(pe,Pt)),"<"==Ze[0]&&("*"!=pe||"*"!=Pt)&&d.push(Kn(Pt,pe))}(x,y,d)):y.push(be),y}(d.expr,y.errors);return{type:g.Transition,matchers:pe,animation:x,queryCount:y.queryCount,depCount:y.depCount,options:ln(d.options)}}visitSequence(d,y){return{type:g.Sequence,steps:d.steps.map(x=>An(this,x,y)),options:ln(d.options)}}visitGroup(d,y){const x=y.currentTime;let pe=0;const Ze=d.steps.map(Pt=>{y.currentTime=x;const Vt=An(this,Pt,y);return pe=Math.max(pe,y.currentTime),Vt});return y.currentTime=pe,{type:g.Group,steps:Ze,options:ln(d.options)}}visitAnimate(d,y){const x=function $t(be,d){if(be.hasOwnProperty("duration"))return be;if("number"==typeof be)return Dn(st(be,d).duration,0,"");const y=be;if(y.split(/\s+/).some(Ze=>"{"==Ze.charAt(0)&&"{"==Ze.charAt(1))){const Ze=Dn(0,0,"");return Ze.dynamic=!0,Ze.strValue=y,Ze}const pe=st(y,d);return Dn(pe.duration,pe.delay,pe.easing)}(d.timings,y.errors);y.currentAnimateTimings=x;let pe,Ze=d.styles?d.styles:X({});if(Ze.type==g.Keyframes)pe=this.visitKeyframes(Ze,y);else{let Pt=d.styles,Vt=!1;if(!Pt){Vt=!0;const hn={};x.easing&&(hn.easing=x.easing),Pt=X(hn)}y.currentTime+=x.duration+x.delay;const nn=this.visitStyle(Pt,y);nn.isEmptyStep=Vt,pe=nn}return y.currentAnimateTimings=null,{type:g.Animate,timings:x,style:pe,options:null}}visitStyle(d,y){const x=this._makeStyleAst(d,y);return this._validateStyleAst(x,y),x}_makeStyleAst(d,y){const x=[],pe=Array.isArray(d.styles)?d.styles:[d.styles];for(let Vt of pe)"string"==typeof Vt?Vt===Q?x.push(Vt):y.errors.push(He()):x.push(new Map(Object.entries(Vt)));let Ze=!1,Pt=null;return x.forEach(Vt=>{if(Vt instanceof Map&&(Vt.has("easing")&&(Pt=Vt.get("easing"),Vt.delete("easing")),!Ze))for(let nn of Vt.values())if(nn.toString().indexOf("{{")>=0){Ze=!0;break}}),{type:g.Style,styles:x,easing:Pt,offset:d.offset,containsDynamicStyles:Ze,options:null}}_validateStyleAst(d,y){const x=y.currentAnimateTimings;let pe=y.currentTime,Ze=y.currentTime;x&&Ze>0&&(Ze-=x.duration+x.delay),d.styles.forEach(Pt=>{"string"!=typeof Pt&&Pt.forEach((Vt,nn)=>{const hn=y.collectedStyles.get(y.currentQuerySelector),Un=hn.get(nn);let Yn=!0;Un&&(Ze!=pe&&Ze>=Un.startTime&&pe<=Un.endTime&&(y.errors.push(function Be(){return new u.buA(3010,!1)}()),Yn=!1),Ze=Un.startTime),Yn&&hn.set(nn,{startTime:Ze,endTime:pe}),y.options&&function Zt(be,d,y){const x=d.params||{},pe=k(be);pe.length&&pe.forEach(Ze=>{x.hasOwnProperty(Ze)||y.push(function N(){return new u.buA(3001,!1)}())})}(Vt,y.options,y.errors)})})}visitKeyframes(d,y){const x={type:g.Keyframes,styles:[],options:null};if(!y.currentAnimateTimings)return y.errors.push(function $e(){return new u.buA(3011,!1)}()),x;let Ze=0;const Pt=[];let Vt=!1,nn=!1,hn=0;const Un=d.steps.map(Tr=>{const Lr=this._makeStyleAst(Tr,y);let Hr=null!=Lr.offset?Lr.offset:function Ct(be){if("string"==typeof be)return null;let d=null;if(Array.isArray(be))be.forEach(y=>{if(y instanceof Map&&y.has("offset")){const x=y;d=parseFloat(x.get("offset")),x.delete("offset")}});else if(be instanceof Map&&be.has("offset")){const y=be;d=parseFloat(y.get("offset")),y.delete("offset")}return d}(Lr.styles),Vr=0;return null!=Hr&&(Ze++,Vr=Lr.offset=Hr),nn=nn||Vr<0||Vr>1,Vt=Vt||Vr<hn,hn=Vr,Pt.push(Vr),Lr});nn&&y.errors.push(function Te(){return new u.buA(3012,!1)}()),Vt&&y.errors.push(function le(){return new u.buA(3200,!1)}());const Yn=d.steps.length;let mr=0;Ze>0&&Ze<Yn?y.errors.push(function pt(){return new u.buA(3202,!1)}()):0==Ze&&(mr=1/(Yn-1));const fr=Yn-1,sr=y.currentTime,dr=y.currentAnimateTimings,kr=dr.duration;return Un.forEach((Tr,Lr)=>{const Hr=mr>0?Lr==fr?1:mr*Lr:Pt[Lr],Vr=Hr*kr;y.currentTime=sr+dr.delay+Vr,dr.duration=Vr,this._validateStyleAst(Tr,y),Tr.offset=Hr,x.styles.push(Tr)}),x}visitReference(d,y){return{type:g.Reference,animation:An(this,It(d.animation),y),options:ln(d.options)}}visitAnimateChild(d,y){return y.depCount++,{type:g.AnimateChild,options:ln(d.options)}}visitAnimateRef(d,y){return{type:g.AnimateRef,animation:this.visitReference(d.animation,y),options:ln(d.options)}}visitQuery(d,y){const x=y.currentQuerySelector,pe=d.options||{};y.queryCount++,y.currentQuery=d;const[Ze,Pt]=function ir(be){const d=!!be.split(/\s*,\s*/).find(y=>":self"==y);return d&&(be=be.replace(Pn,"")),be=be.replace(/@\*/g,ue).replace(/@\w+/g,y=>ue+"-"+y.slice(1)).replace(/:animating/g,xt),[be,d]}(d.selector);y.currentQuerySelector=x.length?x+" "+Ze:Ze,Xe(y.collectedStyles,y.currentQuerySelector,new Map);const Vt=An(this,It(d.animation),y);return y.currentQuery=null,y.currentQuerySelector=x,{type:g.Query,selector:Ze,limit:pe.limit||0,optional:!!pe.optional,includeSelf:Pt,animation:Vt,originalSelector:d.selector,options:ln(d.options)}}visitStagger(d,y){y.currentQuery||y.errors.push(function Ie(){return new u.buA(3013,!1)}());const x="full"===d.timings?{duration:0,delay:0,easing:"full"}:st(d.timings,y.errors,!0);return{type:g.Stagger,animation:An(this,It(d.animation),y),timings:x,options:null}}}class Ir{errors;queryCount=0;depCount=0;currentTransition=null;currentQuery=null;currentQuerySelector=null;currentAnimateTimings=null;currentTime=0;collectedStyles=new Map;options=null;unsupportedCSSPropertiesFound=new Set;constructor(d){this.errors=d}}function ln(be){return be?(be={...be}).params&&(be.params=function Ar(be){return be?{...be}:null}(be.params)):be={},be}function Dn(be,d,y){return{duration:be,delay:d,easing:y}}function bt(be,d,y,x,pe,Ze,Pt=null,Vt=!1){return{type:1,element:be,keyframes:d,preStyleProps:y,postStyleProps:x,duration:pe,delay:Ze,totalTime:pe+Ze,easing:Pt,subTimeline:Vt}}class dn{_map=new Map;get(d){return this._map.get(d)||[]}append(d,y){let x=this._map.get(d);x||this._map.set(d,x=[]),x.push(...y)}has(d){return this._map.has(d)}clear(){this._map.clear()}}const lr=new RegExp(":enter","g"),Sr=new RegExp(":leave","g");function Or(be,d,y,x,pe,Ze=new Map,Pt=new Map,Vt,nn,hn=[]){return(new Er).buildKeyframes(be,d,y,x,pe,Ze,Pt,Vt,nn,hn)}class Er{buildKeyframes(d,y,x,pe,Ze,Pt,Vt,nn,hn,Un=[]){hn=hn||new dn;const Yn=new z(d,y,hn,pe,Ze,Un,[]);Yn.options=nn;const mr=nn.delay?cn(nn.delay):0;Yn.currentTimeline.delayNextStep(mr),Yn.currentTimeline.setStyles([Pt],null,Yn.errors,nn),An(this,x,Yn);const fr=Yn.timelines.filter(sr=>sr.containsAnimation());if(fr.length&&Vt.size){let sr;for(let dr=fr.length-1;dr>=0;dr--){const kr=fr[dr];if(kr.element===y){sr=kr;break}}sr&&!sr.allowOnlyTimelineStyles()&&sr.setStyles([Vt],null,Yn.errors,nn)}return fr.length?fr.map(sr=>sr.buildKeyframes()):[bt(y,[],[],[],0,mr,"",!1)]}visitTrigger(d,y){}visitState(d,y){}visitTransition(d,y){}visitAnimateChild(d,y){const x=y.subInstructions.get(y.element);if(x){const pe=y.createSubContext(d.options),Ze=y.currentTimeline.currentTime,Pt=this._visitSubInstructions(x,pe,pe.options);Ze!=Pt&&y.transformIntoNewTimeline(Pt)}y.previousNode=d}visitAnimateRef(d,y){const x=y.createSubContext(d.options);x.transformIntoNewTimeline(),this._applyAnimationRefDelays([d.options,d.animation.options],y,x),this.visitReference(d.animation,x),y.transformIntoNewTimeline(x.currentTimeline.currentTime),y.previousNode=d}_applyAnimationRefDelays(d,y,x){for(const pe of d){const Ze=pe?.delay;if(Ze){const Pt="number"==typeof Ze?Ze:cn(ye(Ze,pe?.params??{},y.errors));x.delayNextStep(Pt)}}}_visitSubInstructions(d,y,x){let Ze=y.currentTimeline.currentTime;const Pt=null!=x.duration?cn(x.duration):null,Vt=null!=x.delay?cn(x.delay):null;return 0!==Pt&&d.forEach(nn=>{const hn=y.appendInstructionToTimeline(nn,Pt,Vt);Ze=Math.max(Ze,hn.duration+hn.delay)}),Ze}visitReference(d,y){y.updateOptions(d.options,!0),An(this,d.animation,y),y.previousNode=d}visitSequence(d,y){const x=y.subContextCount;let pe=y;const Ze=d.options;if(Ze&&(Ze.params||Ze.delay)&&(pe=y.createSubContext(Ze),pe.transformIntoNewTimeline(),null!=Ze.delay)){pe.previousNode.type==g.Style&&(pe.currentTimeline.snapshotCurrentStyles(),pe.previousNode=br);const Pt=cn(Ze.delay);pe.delayNextStep(Pt)}d.steps.length&&(d.steps.forEach(Pt=>An(this,Pt,pe)),pe.currentTimeline.applyStylesToKeyframe(),pe.subContextCount>x&&pe.transformIntoNewTimeline()),y.previousNode=d}visitGroup(d,y){const x=[];let pe=y.currentTimeline.currentTime;const Ze=d.options&&d.options.delay?cn(d.options.delay):0;d.steps.forEach(Pt=>{const Vt=y.createSubContext(d.options);Ze&&Vt.delayNextStep(Ze),An(this,Pt,Vt),pe=Math.max(pe,Vt.currentTimeline.currentTime),x.push(Vt.currentTimeline)}),x.forEach(Pt=>y.currentTimeline.mergeTimelineCollectedStyles(Pt)),y.transformIntoNewTimeline(pe),y.previousNode=d}_visitTiming(d,y){if(d.dynamic){const x=d.strValue;return st(y.params?ye(x,y.params,y.errors):x,y.errors)}return{duration:d.duration,delay:d.delay,easing:d.easing}}visitAnimate(d,y){const x=y.currentAnimateTimings=this._visitTiming(d.timings,y),pe=y.currentTimeline;x.delay&&(y.incrementTime(x.delay),pe.snapshotCurrentStyles());const Ze=d.style;Ze.type==g.Keyframes?this.visitKeyframes(Ze,y):(y.incrementTime(x.duration),this.visitStyle(Ze,y),pe.applyStylesToKeyframe()),y.currentAnimateTimings=null,y.previousNode=d}visitStyle(d,y){const x=y.currentTimeline,pe=y.currentAnimateTimings;!pe&&x.hasCurrentStyleProperties()&&x.forwardFrame();const Ze=pe&&pe.easing||d.easing;d.isEmptyStep?x.applyEmptyStep(Ze):x.setStyles(d.styles,Ze,y.errors,y.options),y.previousNode=d}visitKeyframes(d,y){const x=y.currentAnimateTimings,pe=y.currentTimeline.duration,Ze=x.duration,Vt=y.createSubContext().currentTimeline;Vt.easing=x.easing,d.styles.forEach(nn=>{Vt.forwardTime((nn.offset||0)*Ze),Vt.setStyles(nn.styles,nn.easing,y.errors,y.options),Vt.applyStylesToKeyframe()}),y.currentTimeline.mergeTimelineCollectedStyles(Vt),y.transformIntoNewTimeline(pe+Ze),y.previousNode=d}visitQuery(d,y){const x=y.currentTimeline.currentTime,pe=d.options||{},Ze=pe.delay?cn(pe.delay):0;Ze&&(y.previousNode.type===g.Style||0==x&&y.currentTimeline.hasCurrentStyleProperties())&&(y.currentTimeline.snapshotCurrentStyles(),y.previousNode=br);let Pt=x;const Vt=y.invokeQuery(d.selector,d.originalSelector,d.limit,d.includeSelf,!!pe.optional,y.errors);y.currentQueryTotal=Vt.length;let nn=null;Vt.forEach((hn,Un)=>{y.currentQueryIndex=Un;const Yn=y.createSubContext(d.options,hn);Ze&&Yn.delayNextStep(Ze),hn===y.element&&(nn=Yn.currentTimeline),An(this,d.animation,Yn),Yn.currentTimeline.applyStylesToKeyframe(),Pt=Math.max(Pt,Yn.currentTimeline.currentTime)}),y.currentQueryIndex=0,y.currentQueryTotal=0,y.transformIntoNewTimeline(Pt),nn&&(y.currentTimeline.mergeTimelineCollectedStyles(nn),y.currentTimeline.snapshotCurrentStyles()),y.previousNode=d}visitStagger(d,y){const x=y.parentContext,pe=y.currentTimeline,Ze=d.timings,Pt=Math.abs(Ze.duration),Vt=Pt*(y.currentQueryTotal-1);let nn=Pt*y.currentQueryIndex;switch(Ze.duration<0?"reverse":Ze.easing){case"reverse":nn=Vt-nn;break;case"full":nn=x.currentStaggerTime}const Un=y.currentTimeline;nn&&Un.delayNextStep(nn);const Yn=Un.currentTime;An(this,d.animation,y),y.previousNode=d,x.currentStaggerTime=pe.currentTime-Yn+(pe.startTime-x.currentTimeline.startTime)}}const br={};class z{_driver;element;subInstructions;_enterClassName;_leaveClassName;errors;timelines;parentContext=null;currentTimeline;currentAnimateTimings=null;previousNode=br;subContextCount=0;options={};currentQueryIndex=0;currentQueryTotal=0;currentStaggerTime=0;constructor(d,y,x,pe,Ze,Pt,Vt,nn){this._driver=d,this.element=y,this.subInstructions=x,this._enterClassName=pe,this._leaveClassName=Ze,this.errors=Pt,this.timelines=Vt,this.currentTimeline=nn||new dt(this._driver,y,0),Vt.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(d,y){if(!d)return;const x=d;let pe=this.options;null!=x.duration&&(pe.duration=cn(x.duration)),null!=x.delay&&(pe.delay=cn(x.delay));const Ze=x.params;if(Ze){let Pt=pe.params;Pt||(Pt=this.options.params={}),Object.keys(Ze).forEach(Vt=>{(!y||!Pt.hasOwnProperty(Vt))&&(Pt[Vt]=ye(Ze[Vt],Pt,this.errors))})}}_copyOptions(){const d={};if(this.options){const y=this.options.params;if(y){const x=d.params={};Object.keys(y).forEach(pe=>{x[pe]=y[pe]})}}return d}createSubContext(d=null,y,x){const pe=y||this.element,Ze=new z(this._driver,pe,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(pe,x||0));return Ze.previousNode=this.previousNode,Ze.currentAnimateTimings=this.currentAnimateTimings,Ze.options=this._copyOptions(),Ze.updateOptions(d),Ze.currentQueryIndex=this.currentQueryIndex,Ze.currentQueryTotal=this.currentQueryTotal,Ze.parentContext=this,this.subContextCount++,Ze}transformIntoNewTimeline(d){return this.previousNode=br,this.currentTimeline=this.currentTimeline.fork(this.element,d),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(d,y,x){const pe={duration:y??d.duration,delay:this.currentTimeline.currentTime+(x??0)+d.delay,easing:""},Ze=new he(this._driver,d.element,d.keyframes,d.preStyleProps,d.postStyleProps,pe,d.stretchStartingKeyframe);return this.timelines.push(Ze),pe}incrementTime(d){this.currentTimeline.forwardTime(this.currentTimeline.duration+d)}delayNextStep(d){d>0&&this.currentTimeline.delayNextStep(d)}invokeQuery(d,y,x,pe,Ze,Pt){let Vt=[];if(pe&&Vt.push(this.element),d.length>0){d=(d=d.replace(lr,"."+this._enterClassName)).replace(Sr,"."+this._leaveClassName);let hn=this._driver.query(this.element,d,1!=x);0!==x&&(hn=x<0?hn.slice(hn.length+x,hn.length):hn.slice(0,x)),Vt.push(...hn)}return!Ze&&0==Vt.length&&Pt.push(function ze(){return new u.buA(3014,!1)}()),Vt}}class dt{_driver;element;startTime;_elementTimelineStylesLookup;duration=0;easing=null;_previousKeyframe=new Map;_currentKeyframe=new Map;_keyframes=new Map;_styleSummary=new Map;_localTimelineStyles=new Map;_globalTimelineStyles;_pendingStyles=new Map;_backFill=new Map;_currentEmptyStepKeyframe=null;constructor(d,y,x,pe){this._driver=d,this.element=y,this.startTime=x,this._elementTimelineStylesLookup=pe,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(y),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(y,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(d){const y=1===this._keyframes.size&&this._pendingStyles.size;this.duration||y?(this.forwardTime(this.currentTime+d),y&&this.snapshotCurrentStyles()):this.startTime+=d}fork(d,y){return this.applyStylesToKeyframe(),new dt(this._driver,d,y||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(d){this.applyStylesToKeyframe(),this.duration=d,this._loadKeyframe()}_updateStyle(d,y){this._localTimelineStyles.set(d,y),this._globalTimelineStyles.set(d,y),this._styleSummary.set(d,{time:this.currentTime,value:y})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(d){d&&this._previousKeyframe.set("easing",d);for(let[y,x]of this._globalTimelineStyles)this._backFill.set(y,x||Q),this._currentKeyframe.set(y,Q);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(d,y,x,pe){y&&this._previousKeyframe.set("easing",y);const Ze=pe&&pe.params||{},Pt=function Ht(be,d){const y=new Map;let x;return be.forEach(pe=>{if("*"===pe){x??=d.keys();for(let Ze of x)y.set(Ze,Q)}else for(let[Ze,Pt]of pe)y.set(Ze,Pt)}),y}(d,this._globalTimelineStyles);for(let[Vt,nn]of Pt){const hn=ye(nn,Ze,x);this._pendingStyles.set(Vt,hn),this._localTimelineStyles.has(Vt)||this._backFill.set(Vt,this._globalTimelineStyles.get(Vt)??Q),this._updateStyle(Vt,hn)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach((d,y)=>{this._currentKeyframe.set(y,d)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((d,y)=>{this._currentKeyframe.has(y)||this._currentKeyframe.set(y,d)}))}snapshotCurrentStyles(){for(let[d,y]of this._localTimelineStyles)this._pendingStyles.set(d,y),this._updateStyle(d,y)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const d=[];for(let y in this._currentKeyframe)d.push(y);return d}
1mergeTimelineCollectedStyles(d){d._styleSummary.forEach((y,x)=>{const pe=this._styleSummary.get(x);(!pe||y.time>pe.time)&&this._updateStyle(x,y.value)})}buildKeyframes(){this.applyStylesToKeyframe();const d=new Set,y=new Set,x=1===this._keyframes.size&&0===this.duration;let pe=[];this._keyframes.forEach((Vt,nn)=>{const hn=new Map([...this._backFill,...Vt]);hn.forEach((Un,Yn)=>{"!"===Un?d.add(Yn):Un===Q&&y.add(Yn)}),x||hn.set("offset",nn/this.duration),pe.push(hn)});const Ze=[...d.values()],Pt=[...y.values()];if(x){const Vt=pe[0],nn=new Map(Vt);Vt.set("offset",0),nn.set("offset",1),pe=[Vt,nn]}return bt(this.element,pe,Ze,Pt,this.duration,this.startTime,this.easing,!1)}}class he extends dt{keyframes;preStyleProps;postStyleProps;_stretchStartingKeyframe;timings;constructor(d,y,x,pe,Ze,Pt,Vt=!1){super(d,y,Pt.delay),this.keyframes=x,this.preStyleProps=pe,this.postStyleProps=Ze,this._stretchStartingKeyframe=Vt,this.timings={duration:Pt.duration,delay:Pt.delay,easing:Pt.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let d=this.keyframes,{delay:y,duration:x,easing:pe}=this.timings;if(this._stretchStartingKeyframe&&y){const Ze=[],Pt=x+y,Vt=y/Pt,nn=new Map(d[0]);nn.set("offset",0),Ze.push(nn);const hn=new Map(d[0]);hn.set("offset",je(Vt)),Ze.push(hn);const Un=d.length-1;for(let Yn=1;Yn<=Un;Yn++){let mr=new Map(d[Yn]);const fr=mr.get("offset");mr.set("offset",je((y+fr*x)/Pt)),Ze.push(mr)}x=Pt,y=0,pe="",d=Ze}return bt(this.element,d,this.preStyleProps,this.postStyleProps,x,y,pe,!0)}}function je(be,d=3){const y=Math.pow(10,d-1);return Math.round(be*y)/y}function En(be,d,y,x,pe,Ze,Pt,Vt,nn,hn,Un,Yn,mr){return{type:0,element:be,triggerName:d,isRemovalTransition:pe,fromState:y,fromStyles:Ze,toState:x,toStyles:Pt,timelines:Vt,queriedElements:nn,preStyleProps:hn,postStyleProps:Un,totalTime:Yn,errors:mr}}const me={};class Dt{_triggerName;ast;_stateStyles;constructor(d,y,x){this._triggerName=d,this.ast=y,this._stateStyles=x}match(d,y,x,pe){return function Tn(be,d,y,x,pe){return be.some(Ze=>Ze(d,y,x,pe))}(this.ast.matchers,d,y,x,pe)}buildStyles(d,y,x){let pe=this._stateStyles.get("*");return void 0!==d&&(pe=this._stateStyles.get(d?.toString())||pe),pe?pe.buildStyles(y,x):new Map}build(d,y,x,pe,Ze,Pt,Vt,nn,hn,Un){const Yn=[],mr=this.ast.options&&this.ast.options.params||me,sr=this.buildStyles(x,Vt&&Vt.params||me,Yn),dr=nn&&nn.params||me,kr=this.buildStyles(pe,dr,Yn),Tr=new Set,Lr=new Map,Hr=new Map,Vr="void"===pe,Hi={params:$n(dr,mr),delay:this.ast.options?.delay},ni=Un?[]:Or(d,y,this.ast.animation,Ze,Pt,sr,kr,Hi,hn,Yn);let zr=0;return ni.forEach(Kr=>{zr=Math.max(Kr.duration+Kr.delay,zr)}),Yn.length?En(y,this._triggerName,x,pe,Vr,sr,kr,[],[],Lr,Hr,zr,Yn):(ni.forEach(Kr=>{const Vi=Kr.element,Ni=Xe(Lr,Vi,new Set);Kr.preStyleProps.forEach(Li=>Ni.add(Li));const Co=Xe(Hr,Vi,new Set);Kr.postStyleProps.forEach(Li=>Co.add(Li)),Vi!==y&&Tr.add(Vi)}),En(y,this._triggerName,x,pe,Vr,sr,kr,ni,[...Tr.values()],Lr,Hr,zr))}}function $n(be,d){const y={...d};return Object.entries(be).forEach(([x,pe])=>{null!=pe&&(y[x]=pe)}),y}class zn{styles;defaultParams;normalizer;constructor(d,y,x){this.styles=d,this.defaultParams=y,this.normalizer=x}buildStyles(d,y){const x=new Map,pe=$n(d,this.defaultParams);return this.styles.styles.forEach(Ze=>{"string"!=typeof Ze&&Ze.forEach((Pt,Vt)=>{Pt&&(Pt=ye(Pt,pe,y));const nn=this.normalizer.normalizePropertyName(Vt,y);Pt=this.normalizer.normalizeStyleValue(Vt,nn,Pt,y),x.set(Vt,Pt)})}),x}}class In{name;ast;_normalizer;transitionFactories=[];fallbackTransition;states=new Map;constructor(d,y,x){this.name=d,this.ast=y,this._normalizer=x,y.states.forEach(pe=>{this.states.set(pe.name,new zn(pe.style,pe.options&&pe.options.params||{},x))}),Zr(this.states,"true","1"),Zr(this.states,"false","0"),y.transitions.forEach(pe=>{this.transitionFactories.push(new Dt(d,pe,this.states))}),this.fallbackTransition=function Ur(be,d){return new Dt(be,{type:g.Transition,animation:{type:g.Sequence,steps:[],options:null},matchers:[(Pt,Vt)=>!0],options:null,queryCount:0,depCount:0},d)}(d,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(d,y,x,pe){return this.transitionFactories.find(Pt=>Pt.match(d,y,x,pe))||null}matchStyles(d,y,x){return this.fallbackTransition.buildStyles(d,y,x)}}function Zr(be,d,y){be.has(d)?be.has(y)||be.set(y,be.get(d)):be.has(y)&&be.set(d,be.get(y))}const xr=new dn;class ti{bodyNode;_driver;_normalizer;_animations=new Map;_playersById=new Map;players=[];constructor(d,y,x){this.bodyNode=d,this._driver=y,this._normalizer=x}register(d,y){const x=[],Ze=On(this._driver,y,x,[]);if(x.length)throw function Ne(){return new u.buA(3503,!1)}();this._animations.set(d,Ze)}_buildPlayer(d,y,x){const pe=d.element,Ze=Ee(this._normalizer,d.keyframes,y,x);return this._driver.animate(pe,Ze,d.duration,d.delay,d.easing,[],!0)}create(d,y,x={}){const pe=[],Ze=this._animations.get(d);let Pt;const Vt=new Map;if(Ze?(Pt=Or(this._driver,y,Ze,M,$,new Map,new Map,x,xr,pe),Pt.forEach(Un=>{const Yn=Xe(Vt,Un.element,new Map);Un.postStyleProps.forEach(mr=>Yn.set(mr,null))})):(pe.push(function Ot(){return new u.buA(3300,!1)}()),Pt=[]),pe.length)throw function Lt(){return new u.buA(3504,!1)}();Vt.forEach((Un,Yn)=>{Un.forEach((mr,fr)=>{Un.set(fr,this._driver.computeStyle(Yn,fr,Q))})});const hn=De(Pt.map(Un=>{const Yn=Vt.get(Un.element);return this._buildPlayer(Un,new Map,Yn)}));return this._playersById.set(d,hn),hn.onDestroy(()=>this.destroy(d)),this.players.push(hn),hn}destroy(d){const y=this._getPlayer(d);
1y.destroy(),this._playersById.delete(d);const x=this.players.indexOf(y);x>=0&&this.players.splice(x,1)}_getPlayer(d){const y=this._playersById.get(d);if(!y)throw function zt(){return new u.buA(3301,!1)}();return y}listen(d,y,x,pe){const Ze=ot(y,"","","");return i(this._getPlayer(d),x,Ze,pe),()=>{}}command(d,y,x,pe){if("register"==x)return void this.register(d,pe[0]);if("create"==x)return void this.create(d,y,pe[0]||{});const Ze=this._getPlayer(d);switch(x){case"play":Ze.play();break;case"pause":Ze.pause();break;case"reset":Ze.reset();break;case"restart":Ze.restart();break;case"finish":Ze.finish();break;case"init":Ze.init();break;case"setPosition":Ze.setPosition(parseFloat(pe[0]));break;case"destroy":this.destroy(d)}}}const Rr="ng-animate-queued",Di="ng-animate-disabled",ao=[],Ao={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},_o={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Ti="__ng_removed";class wi{namespaceId;value;options;get params(){return this.options.params}constructor(d,y=""){this.namespaceId=y;const x=d&&d.hasOwnProperty("value");if(this.value=function vo(be){return be??null}(x?d.value:d),x){const{value:Ze,...Pt}=d;this.options=Pt}else this.options={};this.options.params||(this.options.params={})}absorbOptions(d){const y=d.params;if(y){const x=this.options.params;Object.keys(y).forEach(pe=>{null==x[pe]&&(x[pe]=y[pe])})}}}const co="void",Pi=new wi(co);class Ri{id;hostElement;_engine;players=[];_triggers=new Map;_queue=[];_elementListeners=new Map;_hostClassName;constructor(d,y,x){this.id=d,this.hostElement=y,this._engine=x,this._hostClassName="ng-tns-"
vendor: 18,610 bytes, line 1
1+d,Wr(y,this._hostClassName)}listen(d,y,x,pe){if(!this._triggers.has(y))throw function rt(){return new u.buA(3302,!1)}();if(null==x||0==x.length)throw function Qt(){return new u.buA(3303,!1)}();if(!function Lo(be){return"start"==be||"done"==be}(x))throw function Kt(){return new u.buA(3400,!1)}();const Ze=Xe(this._elementListeners,d,[]),Pt={name:y,phase:x,callback:pe};Ze.push(Pt);const Vt=Xe(this._engine.statesByElement,d,new Map);return Vt.has(y)||(Wr(d,w),Wr(d,w+"-"+y),Vt.set(y,Pi)),()=>{this._engine.afterFlush(()=>{const nn=Ze.indexOf(Pt);nn>=0&&Ze.splice(nn,1),this._triggers.has(y)||Vt.delete(y)})}}register(d,y){return!this._triggers.has(d)&&(this._triggers.set(d,y),!0)}_getTrigger(d){const y=this._triggers.get(d);if(!y)throw function ut(){return new u.buA(3401,!1)}();return y}trigger(d,y,x,pe=!0){const Ze=this._getTrigger(y),Pt=new li(this.id,y,d);let Vt=this._engine.statesByElement.get(d);Vt||(Wr(d,w),Wr(d,w+"-"+y),this._engine.statesByElement.set(d,Vt=new Map));let nn=Vt.get(y);const hn=new wi(x,this.id);if(!(x&&x.hasOwnProperty("value"))&&nn&&hn.absorbOptions(nn.options),Vt.set(y,hn),nn||(nn=Pi),hn.value!==co&&nn.value===hn.value){if(!function ji(be,d){const y=Object.keys(be),x=Object.keys(d);if(y.length!=x.length)return!1;for(let pe=0;pe<y.length;pe++){const Ze=y[pe];if(!d.hasOwnProperty(Ze)||be[Ze]!==d[Ze])return!1}return!0}(nn.params,hn.params)){const dr=[],kr=Ze.matchStyles(nn.value,nn.params,dr),Tr=Ze.matchStyles(hn.value,hn.params,dr);dr.length?this._engine.reportError(dr):this._engine.afterFlush(()=>{Mn(d,kr),Xt(d,Tr)})}return}const mr=Xe(this._engine.playersByElement,d,[]);mr.forEach(dr=>{dr.namespaceId==this.id&&dr.triggerName==y&&dr.queued&&dr.destroy()});let fr=Ze.matchTransition(nn.value,hn.value,d,hn.params),sr=!1;if(!fr){if(!pe)return;fr=Ze.fallbackTransition,sr=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:d,triggerName:y,transition:fr,fromState:nn,toState:hn,player:Pt,isFallbackTransition:sr}),sr||(Wr(d,Rr),Pt.onStart(()=>{si(d,Rr)})),Pt.onDone(()=>{let dr=this.players.indexOf(Pt);dr>=0&&this.players.splice(dr,1);const kr=this._engine.playersByElement.get(d);if(kr){let Tr=kr.indexOf(Pt);Tr>=0&&kr.splice(Tr,1)}}),this.players.push(Pt),mr.push(Pt),Pt}deregister(d){this._triggers.delete(d),this._engine.statesByElement.forEach(y=>y.delete(d)),this._elementListeners.forEach((y,x)=>{this._elementListeners.set(x,y.filter(pe=>pe.name!=d))})}clearElementCache(d){this._engine.statesByElement.delete(d),this._elementListeners.delete(d);const y=this._engine.playersByElement.get(d);y&&(y.forEach(x=>x.destroy()),this._engine.playersByElement.delete(d))}_signalRemovalForInnerTriggers(d,y){const x=this._engine.driver.query(d,ue,!0);x.forEach(pe=>{if(pe[Ti])return;const Ze=this._engine.fetchNamespacesByElement(pe);Ze.size?Ze.forEach(Pt=>Pt.triggerLeaveAnimation(pe,y,!1,!0)):this.clearElementCache(pe)}),this._engine.afterFlushAnimationsDone(()=>x.forEach(pe=>this.clearElementCache(pe)))}triggerLeaveAnimation(d,y,x,pe){const Ze=this._engine.statesByElement.get(d),Pt=new Map;if(Ze){const Vt=[];if(Ze.forEach((nn,hn)=>{if(Pt.set(hn,nn.value),this._triggers.has(hn)){const Un=this.trigger(d,hn,co,pe);Un&&Vt.push(Un)}}),Vt.length)return this._engine.markElementAsRemoved(this.id,d,!0,y,Pt),x&&De(Vt).onDone(()=>this._engine.processLeaveNode(d)),!0}return!1}prepareLeaveAnimationListeners(d){const y=this._elementListeners.get(d),x=this._engine.statesByElement.get(d);if(y&&x){const pe=new Set;y.forEach(Ze=>{const Pt=Ze.name;if(pe.has(Pt))return;pe.add(Pt);const nn=this._triggers.get(Pt).fallbackTransition,hn=x.get(Pt)||Pi,Un=new wi(co),Yn=new li(this.id,Pt,d);this._engine.totalQueuedPlayers++,this._queue.push({element:d,triggerName:Pt,transition:nn,fromState:hn,toState:Un,player:Yn,isFallbackTransition:!0})})}}removeNode(d,y){const x=this._engine;if(d.childElementCount&&this._signalRemovalForInnerTriggers(d,y),this.triggerLeaveAnimation(d,y,!0))return;let pe=!1;if(x.totalAnimations){const Ze=x.players.length?x.playersByQueriedElement.get(d):[];if(Ze&&Ze.length)pe=!0;else{let Pt=d;for(;Pt=Pt.parentNode;)if(x.statesByElement.get(Pt)){pe=!0;break}}}if(this.prepareLeaveAnimationListeners(d),pe)x.markElementAsRemoved(this.id,d,!1,y);else{const Ze=d[Ti];(!Ze||Ze===Ao)&&(x.afterFlush(()=>this.clearElementCache(d)),x.destroyInnerAnimations(d),x._onRemovalComplete(d,y))}}insertNode(d,y){Wr(d,this._hostClassName)}drainQueuedTransitions(d){const y=[];return this._queue.forEach(x=>{const pe=x.player;if(pe.destroyed)return;const Ze=x.element,Pt=this._elementListeners.get(Ze);Pt&&Pt.forEach(Vt=>{if(Vt.name==x.triggerName){const nn=ot(Ze,x.triggerName,x.fromState.value,x.toState.value);nn._data=d,i(x.player,Vt.phase,nn,Vt.callback)}}),pe.markedForDestroy?this._engine.afterFlush(()=>{pe.destroy()}):y.push(x)}),this._queue=[],y.sort((x,pe)=>{const Ze=x.transition.ast.depCount,Pt=pe.transition.ast.depCount;return 0==Ze||0==Pt?Ze-Pt:this._engine.driver.containsElement(x.element,pe.element)?1:-1})}destroy(d){this.players.forEach(y=>y.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,d)}}class Mi{bodyNode;driver;_normalizer;players=[];newHostElements=new Map;playersByElement=new Map;playersByQueriedElement=new Map;statesByElement=new Map;disabledNodes=new Set;totalAnimations=0;totalQueuedPlayers=0;_namespaceLookup={};_namespaceList=[];_flushFns=[];_whenQuietFns=[];namespacesByHostElement=new Map;collectedEnterElements=[];collectedLeaveElements=[];onRemovalComplete=(d,y)=>{};_onRemovalComplete(d,y){this.onRemovalComplete(d,y)}constructor(d,y,x){this.bodyNode=d,this.driver=y,this._normalizer=x}get queuedPlayers(){const d=[];return this._namespaceList.forEach(y=>{y.players.forEach(x=>{x.queued&&d.push(x)})}),d}createNamespace(d,y){const x=new Ri(d,y,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,y)?this._balanceNamespaceList(x,y):(this.newHostElements.set(y,x),this.collectEnterElement(y)),this._namespaceLookup[d]=x}_balanceNamespaceList(d,y){const x=this._namespaceList,pe=this.namespacesByHostElement;if(x.length-1>=0){let Pt=!1,Vt=this.driver.getParentElement(y);for(;Vt;){const nn=pe.get(Vt);if(nn){const hn=x.indexOf(nn);x.splice(hn+1,0,d),Pt=!0;break}Vt=this.driver.getParentElement(Vt)}Pt||x.unshift(d)}else x.push(d);return pe.set(y,d),d}register(d,y){let x=this._namespaceLookup[d];return x||(x=this.createNamespace(d,y)),x}registerTrigger(d,y,x){let pe=this._namespaceLookup[d];pe&&pe.register(y,x)&&this.totalAnimations++}destroy(d,y){d&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{const x=this._fetchNamespace(d);this.namespacesByHostElement.delete(x.hostElement);const pe=this._namespaceList.indexOf(x);pe>=0&&this._namespaceList.splice(pe,1),x.destroy(y),delete this._namespaceLookup[d]}))}_fetchNamespace(d){return this._namespaceLookup[d]}fetchNamespacesByElement(d){const y=new Set,x=this.statesByElement.get(d);if(x)for(let pe of x.values())if(pe.namespaceId){const Ze=this._fetchNamespace(pe.namespaceId);Ze&&y.add(Ze)}return y}trigger(d,y,x,pe){if(yo(y)){const Ze=this._fetchNamespace(d);if(Ze)return Ze.trigger(y,x,pe),!0}return!1}insertNode(d,y,x,pe){if(!yo(y))return;const Ze=y[Ti];if(Ze&&Ze.setForRemoval){Ze.setForRemoval=!1,Ze.setForMove=!0;const Pt=this.collectedLeaveElements.indexOf(y);Pt>=0&&this.collectedLeaveElements.splice(Pt,1)}if(d){const Pt=this._fetchNamespace(d);Pt&&Pt.insertNode(y,x)}pe&&this.collectEnterElement(y)}collectEnterElement(d){this.collectedEnterElements.push(d)}markElementAsDisabled(d,y){y?this.disabledNodes.has(d)||(this.disabledNodes.add(d),Wr(d,Di)):this.disabledNodes.has(d)&&(this.disabledNodes.delete(d),si(d,Di))}removeNode(d,y,x){if(yo(y)){const pe=d?this._fetchNamespace(d):null;pe?pe.removeNode(y,x):this.markElementAsRemoved(d,y,!1,x);const Ze=this.namespacesByHostElement.get(y);Ze&&Ze.id!==d&&Ze.removeNode(y,x)}else this._onRemovalComplete(y,x)}markElementAsRemoved(d,y,x,pe,Ze){this.collectedLeaveElements.push(y),y[Ti]={namespaceId:d,setForRemoval:pe,hasAnimation:x,removedBeforeQueried:!1,previousTriggersValues:Ze}}listen(d,y,x,pe,Ze){return yo(y)?this._fetchNamespace(d).listen(y,x,pe,Ze):()=>{}}_buildInstruction(d,y,x,pe,Ze){return d.transition.build(this.driver,d.element,d.fromState.value,d.toState.value,x,pe,d.fromState.options,d.toState.options,y,Ze)}destroyInnerAnimations(d){let y=this.driver.query(d,ue,!0);y.forEach(x=>this.destroyActiveAnimationsForElement(x)),0!=this.playersByQueriedElement.size&&(y=this.driver.query(d,xt,!0),y.forEach(x=>this.finishActiveQueriedAnimationOnElement(x)))}destroyActiveAnimationsForElement(d){const y=this.playersByElement.get(d);y&&y.forEach(x=>{x.queued?x.markedForDestroy=!0:x.destroy()})}finishActiveQueriedAnimationOnElement(d){const y=this.playersByQueriedElement.get(d);y&&y.forEach(x=>x.finish())}whenRenderingDone(){return new Promise(d=>{if(this.players.length)return De(this.players).onDone(()=>d());d()})}processLeaveNode(d){const y=d[Ti];if(y&&y.setForRemoval){if(d[Ti]=Ao,y.namespaceId){this.destroyInnerAnimations(d);const x=this._fetchNamespace(y.namespaceId);x&&x.clearElementCache(d)}this._onRemovalComplete(d,y.setForRemoval)}d.classList?.contains(Di)&&this.markElementAsDisabled(d,!1),this.driver.query(d,".ng-animate-disabled",!0).forEach(x=>{this.markElementAsDisabled(x,!1)})}flush(d=-1){let y=[];if(this.newHostElements.size&&(this.newHostElements.forEach((x,pe)=>this._balanceNamespaceList(x,pe)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let x=0;x<this.collectedEnterElements.length;x++)Wr(this.collectedEnterElements[x],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){const x=[];try{y=this._flushAnimations(x,d)}finally{for(let pe=0;pe<x.length;pe++)x[pe]()}}else for(let x=0;x<this.collectedLeaveElements.length;x++)this.processLeaveNode(this.collectedLeaveElements[x]);if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(x=>x()),this._flushFns=[],this._whenQuietFns.length){const x=this._whenQuietFns;this._whenQuietFns=[],y.length?De(y).onDone(()=>{x.forEach(pe=>pe())}):x.forEach(pe=>pe())}}reportError(d){throw function St(){return new u.buA(3402,!1)}()}_flushAnimations(d,y){const x=new dn,pe=[],Ze=new Map,Pt=[],Vt=new Map,nn=new Map,hn=new Map,Un=new Set;this.disabledNodes.forEach(nr=>{Un.add(nr);const Gn=this.driver.query(nr,".ng-animate-queued",!0);for(let ur=0;ur<Gn.length;ur++)Un.add(Gn[ur])});const Yn=this.bodyNode,mr=Array.from(this.statesByElement.keys()),fr=Ii(mr,this.collectedEnterElements),sr=new Map;let dr=0;fr.forEach((nr,Gn)=>{const ur=M+dr++;sr.set(Gn,ur),nr.forEach(Mr=>Wr(Mr,ur))});const kr=[],Tr=new Set,Lr=new Set;for(let nr=0;nr<this.collectedLeaveElements.length;nr++){const Gn=this.collectedLeaveElements[nr],ur=Gn[Ti];ur&&ur.setForRemoval&&(kr.push(Gn),Tr.add(Gn),ur.hasAnimation?this.driver.query(Gn,".ng-star-inserted",!0).forEach(Mr=>Tr.add(Mr)):Lr.add(Gn))}const Hr=new Map,Vr=Ii(mr,Array.from(Tr));Vr.forEach((nr,Gn)=>{const ur=$+dr++;Hr.set(Gn,ur),nr.forEach(Mr=>Wr(Mr,ur))}),d.push(()=>{fr.forEach((nr,Gn)=>{const ur=sr.get(Gn);nr.forEach(Mr=>si(Mr,ur))}),Vr.forEach((nr,Gn)=>{const ur=Hr.get(Gn);nr.forEach(Mr=>si(Mr,ur))}),kr.forEach(nr=>{this.processLeaveNode(nr)})});const Hi=[],ni=[];for(let nr=this._namespaceList.length-1;nr>=0;nr--)this._namespaceList[nr].drainQueuedTransitions(y).forEach(ur=>{const Mr=ur.player,Jr=ur.element;if(Hi.push(Mr),this.collectedEnterElements.length){const Gr=Jr[Ti];if(Gr&&Gr.setForMove){if(Gr.previousTriggersValues&&Gr.previousTriggersValues.has(ur.triggerName)){const Ki=Gr.previousTriggersValues.get(ur.triggerName),ci=this.statesByElement.get(ur.element);if(ci&&ci.has(ur.triggerName)){const no=ci.get(ur.triggerName);no.value=Ki,ci.set(ur.triggerName,no)}}return void Mr.destroy()}}const di=!Yn||!this.driver.containsElement(Yn,Jr),qr=Hr.get(Jr),bi=sr.get(Jr),Nr=this._buildInstruction(ur,x,bi,qr,di);if(Nr.errors&&Nr.errors.length)return void ni.push(Nr);if(di)return Mr.onStart(()=>Mn(Jr,Nr.fromStyles)),Mr.onDestroy(()=>Xt(Jr,Nr.toStyles)),void pe.push(Mr);if(ur.isFallbackTransition)return Mr.onStart(()=>Mn(Jr,Nr.fromStyles)),Mr.onDestroy(()=>Xt(Jr,Nr.toStyles)),void pe.push(Mr);const to=[];Nr.timelines.forEach(Gr=>{Gr.stretchStartingKeyframe=!0,this.disabledNodes.has(Gr.element)||to.push(Gr)}),Nr.timelines=to,x.append(Jr,Nr.timelines),Pt.push({instruction:Nr,player:Mr,element:Jr}),Nr.queriedElements.forEach(Gr=>Xe(Vt,Gr,[]).push(Mr)),Nr.preStyleProps.forEach((Gr,Ki)=>{if(Gr.size){let ci=nn.get(Ki);ci||nn.set(Ki,ci=new Set),Gr.forEach((no,qo)=>ci.add(qo))}}),Nr.postStyleProps.forEach((Gr,Ki)=>{let ci=hn.get(Ki);ci||hn.set(Ki,ci=new Set),Gr.forEach((no,qo)=>ci.add(qo))})});if(ni.length){const nr=[];ni.forEach(Gn=>{nr.push(function yt(){return new u.buA(3505,!1)}())}),Hi.forEach(Gn=>Gn.destroy()),this.reportError(nr)}const zr=new Map,Kr=new Map;Pt.forEach(nr=>{const Gn=nr.element;x.has(Gn)&&(Kr.set(Gn,Gn),this._beforeAnimationBuild(nr.player.namespaceId,nr.instruction,zr))}),pe.forEach(nr=>{const Gn=nr.element;this._getPreviousPlayers(Gn,!1,nr.namespaceId,nr.triggerName,null).forEach(Mr=>{Xe(zr,Gn,[]).push(Mr),Mr.destroy()})});const Vi=kr.filter(nr=>Ui(nr,nn,hn)),Ni=new Map;Bi(Ni,this.driver,Lr,hn,Q).forEach(nr=>{Ui(nr,nn,hn)&&Vi.push(nr)});const Li=new Map;fr.forEach((nr,Gn)=>{Bi(Li,this.driver,new Set(nr),nn,"!")}),Vi.forEach(nr=>{const Gn=Ni.get(nr),ur=Li.get(nr);Ni.set(nr,new Map([...Gn?.entries()??[],...ur?.entries()??[]]))});const To=[],Ho=[],Po={};Pt.forEach(nr=>{const{element:Gn,player:ur,instruction:Mr}=nr;if(x.has(Gn)){if(Un.has(Gn))return ur.onDestroy(()=>Xt(Gn,Mr.toStyles)),ur.disabled=!0,ur.overrideTotalTime(Mr.totalTime),void pe.push(ur);let Jr=Po;if(Kr.size>1){let qr=Gn;const bi=[];for(;qr=qr.parentNode;){const Nr=Kr.get(qr);if(Nr){Jr=Nr;break}bi.push(qr)}bi.forEach(Nr=>Kr.set(Nr,Jr))}const di=this._buildAnimation(ur.namespaceId,Mr,zr,Ze,Li,Ni);if(ur.setRealPlayer(di),Jr===Po)To.push(ur);else{const qr=this.playersByElement.get(Jr);qr&&qr.length&&(ur.parentPlayer=De(qr)),pe.push(ur)}}else Mn(Gn,Mr.fromStyles),ur.onDestroy(()=>Xt(Gn,Mr.toStyles)),Ho.push(ur),Un.has(Gn)&&pe.push(ur)}),Ho.forEach(nr=>{const Gn=Ze.get(nr.element);if(Gn&&Gn.length){const ur=De(Gn);nr.setRealPlayer(ur)}}),pe.forEach(nr=>{nr.parentPlayer?nr.syncPlayerEvents(nr.parentPlayer):nr.destroy()});for(let nr=0;nr<kr.length;nr++){const Gn=kr[nr],ur=Gn[Ti];if(si(Gn,$),ur&&ur.hasAnimation)continue;let Mr=[];if(Vt.size){let di=Vt.get(Gn);di&&di.length&&Mr.push(...di);let qr=this.driver.query(Gn,xt,!0);for(let bi=0;bi<qr.length;bi++){let Nr=Vt.get(qr[bi]);Nr&&Nr.length&&Mr.push(...Nr)}}const Jr=Mr.filter(di=>!di.destroyed);Jr.length?ui(this,Gn,Jr):this.processLeaveNode(Gn)}return kr.length=0,To.forEach(nr=>{this.players.push(nr),nr.onDone(()=>{nr.destroy();const Gn=this.players.indexOf(nr);this.players.splice(Gn,1)}),nr.play()}),To}afterFlush(d){this._flushFns.push(d)}afterFlushAnimationsDone(d){this._whenQuietFns.push(d)}_getPreviousPlayers(d,y,x,pe,Ze){let Pt=[];if(y){const Vt=this.playersByQueriedElement.get(d);Vt&&(Pt=Vt)}else{const Vt=this.playersByElement.get(d);if(Vt){const nn=!Ze||Ze==co;Vt.forEach(hn=>{hn.queued||!nn&&hn.triggerName!=pe||Pt.push(hn)})}}return(x||pe)&&(Pt=Pt.filter(Vt=>!(x&&x!=Vt.namespaceId||pe&&pe!=Vt.triggerName))),Pt}_beforeAnimationBuild(d,y,x){const Ze=y.element,Pt=y.isRemovalTransition?void 0:d,Vt=y.isRemovalTransition?void 0:y.triggerName;for(const nn of y.timelines){const hn=nn.element,Un=hn!==Ze,Yn=Xe(x,hn,[]);this._getPreviousPlayers(hn,Un,Pt,Vt,y.toState).forEach(fr=>{const sr=fr.getRealPlayer();sr.beforeDestroy&&sr.beforeDestroy(),fr.destroy(),Yn.push(fr)})}Mn(Ze,y.fromStyles)}_buildAnimation(d,y,x,pe,Ze,Pt){const Vt=y.triggerName,nn=y.element,hn=[],Un=new Set,Yn=new Set,mr=y.timelines.map(sr=>{const dr=sr.element;Un.add(dr);const kr=dr[Ti];if(kr&&kr.removedBeforeQueried)return new tt(sr.duration,sr.delay);const Tr=dr!==nn,Lr=function qi(be){const d=[];return is(be,d),d}((x.get(dr)||ao).map(zr=>zr.getRealPlayer())).filter(zr=>!!zr.element&&zr.element===dr),Hr=Ze.get(dr),Vr=Pt.get(dr),Hi=Ee(this._normalizer,sr.keyframes,Hr,Vr),ni=this._buildPlayer(sr,Hi,Lr);if(sr.subTimeline&&pe&&Yn.add(dr),Tr){const zr=new li(d,Vt,dr);zr.setRealPlayer(ni),hn.push(zr)}return ni});hn.forEach(sr=>{Xe(this.playersByQueriedElement,sr.element,[]).push(sr),sr.onDone(()=>function oi(be,d,y){let x=be.get(d);if(x){if(x.length){const pe=x.indexOf(y);x.splice(pe,1)}0==x.length&&be.delete(d)}return x}(this.playersByQueriedElement,sr.element,sr))}),Un.forEach(sr=>Wr(sr,lt));const fr=De(mr);return fr.onDestroy(()=>{Un.forEach(sr=>si(sr,lt)),Xt(nn,y.toStyles)}),Yn.forEach(sr=>{Xe(pe,sr,[]).push(fr)}),fr}_buildPlayer(d,y,x){return y.length>0?this.driver.animate(d.element,y,d.duration,d.delay,d.easing,x):new tt(d.duration,d.delay)}}class li{namespaceId;triggerName;element;_player=new tt;_containsRealPlayer=!1;_queuedCallbacks=new Map;destroyed=!1;parentPlayer=null;markedForDestroy=!1;disabled=!1;queued=!0;totalTime=0;constructor(d,y,x){this.namespaceId=d,this.triggerName=y,this.element=x}setRealPlayer(d){this._containsRealPlayer||(this._player=d,this._queuedCallbacks.forEach((y,x)=>{y.forEach(pe=>i(d,x,void 0,pe))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(d.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(d){this.totalTime=d}syncPlayerEvents(d){const y=this._player;y.triggerCallback&&d.onStart(()=>y.triggerCallback("start")),d.onDone(()=>this.finish()),d.onDestroy(()=>this.destroy())}_queueEvent(d,y){Xe(this._queuedCallbacks,d,[]).push(y)}onDone(d){this.queued&&this._queueEvent("done",d),this._player.onDone(d)}onStart(d){this.queued&&this._queueEvent("start",d),this._player.onStart(d)}onDestroy(d){this.queued&&this._queueEvent("destroy",d),this._player.onDestroy(d)}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(d){this.queued||this._player.setPosition(d)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(d){const y=this._player;y.triggerCallback&&y.triggerCallback(d)}}function yo(be){return be&&1===be.nodeType}function So(be,d){const y=be.style.display;return be.style.display=d??"none",y}function Bi(be,d,y,x,pe){const Ze=[];
1y.forEach(nn=>Ze.push(So(nn)));const Pt=[];x.forEach((nn,hn)=>{const Un=new Map;nn.forEach(Yn=>{const mr=d.computeStyle(hn,Yn,pe);Un.set(Yn,mr),(!mr||0==mr.length)&&(hn[Ti]=_o,Pt.push(hn))}),be.set(hn,Un)});let Vt=0;return y.forEach(nn=>So(nn,Ze[Vt++])),Pt}function Ii(be,d){const y=new Map;if(be.forEach(Vt=>y.set(Vt,[])),0==d.length)return y;const pe=new Set(d),Ze=new Map;function Pt(Vt){if(!Vt)return 1;let nn=Ze.get(Vt);if(nn)return nn;const hn=Vt.parentNode;return nn=y.has(hn)?hn:pe.has(hn)?1:Pt(hn),Ze.set(Vt,nn),nn}return d.forEach(Vt=>{const nn=Pt(Vt);1!==nn&&y.get(nn).push(Vt)}),y}function Wr(be,d){be.classList?.add(d)}function si(be,d){be.classList?.remove(d)}function ui(be,d,y){De(y).onDone(()=>be.processLeaveNode(d))}function is(be,d){for(let y=0;y<be.length;y++){const x=be[y];x instanceof nt?is(x.players,d):d.push(x)}}function Ui(be,d,y){const x=y.get(be);if(!x)return!1;let pe=d.get(be);return pe?x.forEach(Ze=>pe.add(Ze)):d.set(be,x),y.delete(be),!0}class ki{_driver;_normalizer;_transitionEngine;_timelineEngine;_triggerCache={};onRemovalComplete=(d,y)=>{};constructor(d,y,x){this._driver=y,this._normalizer=x,this._transitionEngine=new Mi(d.body,y,x),this._timelineEngine=new ti(d.body,y,x),this._transitionEngine.onRemovalComplete=(pe,Ze)=>this.onRemovalComplete(pe,Ze)}registerTrigger(d,y,x,pe,Ze){const Pt=d+"-"+pe;let Vt=this._triggerCache[Pt];if(!Vt){const nn=[],Un=On(this._driver,Ze,nn,[]);if(nn.length)throw function kt(){return new u.buA(3404,!1)}();Vt=function Hn(be,d,y){return new In(be,d,y)}(pe,Un,this._normalizer),this._triggerCache[Pt]=Vt}this._transitionEngine.registerTrigger(y,pe,Vt)}register(d,y){this._transitionEngine.register(d,y)}destroy(d,y){this._transitionEngine.destroy(d,y)}onInsert(d,y,x,pe){this._transitionEngine.insertNode(d,y,x,pe)}onRemove(d,y,x){this._transitionEngine.removeNode(d,y,x)}disableAnimations(d,y){this._transitionEngine.markElementAsDisabled(d,y)}process(d,y,x,pe){if("@"==x.charAt(0)){const[Ze,Pt]=fe(x);this._timelineEngine.command(Ze,y,Pt,pe)}else this._transitionEngine.trigger(d,y,x,pe)}listen(d,y,x,pe,Ze){if("@"==x.charAt(0)){const[Pt,Vt]=fe(x);return this._timelineEngine.listen(Pt,y,Vt,Ze)}return this._transitionEngine.listen(d,y,x,pe,Ze)}flush(d=-1){this._transitionEngine.flush(d)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(d){this._transitionEngine.afterFlushAnimationsDone(d)}}let Bo=(()=>{class be{_element;_startStyles;_endStyles;static initialStylesByElement=new WeakMap;_state=0;_initialStyles;constructor(y,x,pe){this._element=y,this._startStyles=x,this._endStyles=pe;let Ze=be.initialStylesByElement.get(y);Ze||be.initialStylesByElement.set(y,Ze=new Map),this._initialStyles=Ze}start(){this._state<1&&(this._startStyles&&Xt(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(Xt(this._element,this._initialStyles),this._endStyles&&(Xt(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(be.initialStylesByElement.delete(this._element),this._startStyles&&(Mn(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Mn(this._element,this._endStyles),this._endStyles=null),Xt(this._element,this._initialStyles),this._state=3)}}return be})();function Qr(be){let d=null;return be.forEach((y,x)=>{(function Ai(be){return"display"===be||"position"===be})(x)&&(d=d||new Map,d.set(x,y))}),d}class Si{element;keyframes;options;_specialStyles;_onDoneFns=[];_onStartFns=[];_onDestroyFns=[];_duration;_delay;_initialized=!1;_finished=!1;_started=!1;_destroyed=!1;_finalKeyframe;_originalOnDoneFns=[];_originalOnStartFns=[];domPlayer=null;time=0;parentPlayer=null;currentSnapshot=new Map;constructor(d,y,x,pe){this.element=d,this.keyframes=y,this.options=x,this._specialStyles=pe,this._duration=x.duration,this._delay=x.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(d=>d()),this._onDoneFns=[])}init(){this._buildPlayer()&&this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return this.domPlayer;this._initialized=!0;const d=this.keyframes,y=this._triggerWebAnimation(this.element,d,this.options);if(!y)return this._onFinish(),null;this.domPlayer=y,this._finalKeyframe=d.length?d[d.length-1]:new Map;const x=()=>this._onFinish();return y.addEventListener("finish",x),this.onDestroy(()=>{y.removeEventListener("finish",x)}),y}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer?.pause()}_convertKeyframesToObject(d){const y=[];return d.forEach(x=>{y.push(Object.fromEntries(x))}),y}_triggerWebAnimation(d,y,x){const pe=this._convertKeyframesToObject(y);try{return d.animate(pe,x)}catch{return null}}onStart(d){this._originalOnStartFns.push(d),this._onStartFns.push(d)}onDone(d){this._originalOnDoneFns.push(d),this._onDoneFns.push(d)}onDestroy(d){this._onDestroyFns.push(d)}play(){const d=this._buildPlayer();d&&(this.hasStarted()||(this._onStartFns.forEach(y=>y()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),d.play())}pause(){this.init(),this.domPlayer?.pause()}finish(){this.init(),this.domPlayer&&(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?.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(d=>d()),this._onDestroyFns=[])}setPosition(d){this.domPlayer||this.init(),this.domPlayer&&(this.domPlayer.currentTime=d*this.time)}getPosition(){return this.domPlayer?+(this.domPlayer.currentTime??0)/this.time:this._initialized?1:0}get totalTime(){return this._delay+this._duration}beforeDestroy(){const d=new Map;this.hasStarted()&&this._finalKeyframe.forEach((x,pe)=>{"offset"!==pe&&d.set(pe,this._finished?x:fn(this.element,pe))}),this.currentSnapshot=d}triggerCallback(d){const y="start"===d?this._onStartFns:this._onDoneFns;
1y.forEach(x=>x()),y.length=0}}class Eo{validateStyleProperty(d){return!0}validateAnimatableStyleProperty(d){return!0}containsElement(d,y){return wt(d,y)}getParentElement(d){return Se(d)}query(d,y,x){return Mt(d,y,x)}computeStyle(d,y,x){return fn(d,y)}animate(d,y,x,pe,Ze,Pt=[]){const nn={duration:x,delay:pe,fill:0==pe?"both":"forwards"};Ze&&(nn.easing=Ze);const hn=new Map,Un=Pt.filter(fr=>fr instanceof Si);(function Rn(be,d){return 0===be||0===d})(x,pe)&&Un.forEach(fr=>{fr.currentSnapshot.forEach((sr,dr)=>hn.set(dr,sr))});let Yn=function at(be){return be.length?be[0]instanceof Map?be:be.map(d=>new Map(Object.entries(d))):[]}(y).map(fr=>new Map(fr));Yn=function pn(be,d,y){if(y.size&&d.length){let x=d[0],pe=[];if(y.forEach((Ze,Pt)=>{x.has(Pt)||pe.push(Pt),x.set(Pt,Ze)}),pe.length)for(let Ze=1;Ze<d.length;Ze++){let Pt=d[Ze];pe.forEach(Vt=>Pt.set(Vt,fn(be,Vt)))}}return d}(d,Yn,hn);const mr=function Fo(be,d){let y=null,x=null;return Array.isArray(d)&&d.length?(y=Qr(d[0]),d.length>1&&(x=Qr(d[d.length-1]))):d instanceof Map&&(y=Qr(d)),y||x?new Bo(be,y,x):null}(d,Yn);return new Si(d,Yn,nn,mr)}}const bo="@.disabled";class eo{namespaceId;delegate;engine;_onDestroy;\u0275type=0;constructor(d,y,x,pe){this.namespaceId=d,this.delegate=y,this.engine=x,this._onDestroy=pe}get data(){return this.delegate.data}destroyNode(d){this.delegate.destroyNode?.(d)}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),this._onDestroy?.()}createElement(d,y){return this.delegate.createElement(d,y)}createComment(d){return this.delegate.createComment(d)}createText(d){return this.delegate.createText(d)}appendChild(d,y){this.delegate.appendChild(d,y),this.engine.onInsert(this.namespaceId,y,d,!1)}insertBefore(d,y,x,pe=!0){this.delegate.insertBefore(d,y,x),this.engine.onInsert(this.namespaceId,y,d,pe)}removeChild(d,y,x,pe){pe?this.delegate.removeChild(d,y,x,pe):this.parentNode(y)&&this.engine.onRemove(this.namespaceId,y,this.delegate)}selectRootElement(d,y){return this.delegate.selectRootElement(d,y)}parentNode(d){return this.delegate.parentNode(d)}nextSibling(d){return this.delegate.nextSibling(d)}setAttribute(d,y,x,pe){this.delegate.setAttribute(d,y,x,pe)}removeAttribute(d,y,x){this.delegate.removeAttribute(d,y,x)}addClass(d,y){this.delegate.addClass(d,y)}removeClass(d,y){this.delegate.removeClass(d,y)}setStyle(d,y,x,pe){this.delegate.setStyle(d,y,x,pe)}removeStyle(d,y,x){this.delegate.removeStyle(d,y,x)}setProperty(d,y,x){"@"==y.charAt(0)&&y==bo?this.disableAnimations(d,!!x):this.delegate.setProperty(d,y,x)}setValue(d,y){this.delegate.setValue(d,y)}listen(d,y,x,pe){return this.delegate.listen(d,y,x,pe)}disableAnimations(d,y){this.engine.disableAnimations(d,y)}}class Gi extends eo{factory;constructor(d,y,x,pe,Ze){super(y,x,pe,Ze),this.factory=d,this.namespaceId=y}setProperty(d,y,x){"@"==y.charAt(0)?"."==y.charAt(1)&&y==bo?this.disableAnimations(d,x=void 0===x||!!x):this.engine.process(this.namespaceId,d,y.slice(1),x):this.delegate.setProperty(d,y,x)}listen(d,y,x,pe){if("@"==y.charAt(0)){const Ze=function Xi(be){switch(be){case"body":return document.body;case"document":return document;case"window":return window;default:return be}}(d);let Pt=y.slice(1),Vt="";return"@"!=Pt.charAt(0)&&([Pt,Vt]=function lo(be){const d=be.indexOf(".");return[be.substring(0,d),be.slice(d+1)]}(Pt)),this.engine.listen(this.namespaceId,Ze,Pt,Vt,nn=>{this.factory.scheduleListenerCallback(nn._data||-1,x,nn)})}return this.delegate.listen(d,y,x,pe)}}class Yo{delegate;engine;_zone;_currentId=0;_microtaskId=1;_animationCallbacksBuffer=[];_rendererCache=new Map;_cdRecurDepth=0;constructor(d,y,x){this.delegate=d,this.engine=y,this._zone=x,y.onRemovalComplete=(pe,Ze)=>{Ze?.removeChild(null,pe)}}createRenderer(d,y){const pe=this.delegate.createRenderer(d,y);if(!d||!y?.data?.animation){const hn=this._rendererCache;let Un=hn.get(pe);return Un||(Un=new eo("",pe,this.engine,()=>hn.delete(pe)),hn.set(pe,Un)),Un}const Ze=y.id,Pt=y.id+"-"+this._currentId;this._currentId++,this.engine.register(Pt,d);const Vt=hn=>{Array.isArray(hn)?hn.forEach(Vt):this.engine.registerTrigger(Ze,Pt,d,hn.name,hn)};return y.data.animation.forEach(Vt),new Gi(this,Pt,pe,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(d,y,x){if(d>=0&&d<this._microtaskId)return void this._zone.run(()=>y(x));const pe=this._animationCallbacksBuffer;0==pe.length&&queueMicrotask(()=>{this._zone.run(()=>{pe.forEach(Ze=>{const[Pt,Vt]=Ze;Pt(Vt)}),this._animationCallbacksBuffer=[]})}),pe.push([y,x])}end(){this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}componentReplaced(d){this.engine.flush(),this.delegate.componentReplaced?.(d)}}var Qi=a(8547),jo=a(4967);const ai=[{provide:rn,useFactory:function uo(){return new We}},{provide:ki,useClass:(()=>{class be extends ki{constructor(y,x,pe){super(y,x,pe)}ngOnDestroy(){this.flush()}static \u0275fac=function(x){return new(x||be)(u.KVO(u.qQL),u.KVO(ar),u.KVO(rn))};static \u0275prov=u.jDH({token:be,factory:be.\u0275fac})}return be})()},{provide:h._9s,useFactory:function Do(){return new Yo((0,u.WQX)(Qi.mE),(0,u.WQX)(ki),(0,u.WQX)(u.SKi))}}],mi=[{provide:ar,useClass:gr},{provide:h.bc$,useValue:"NoopAnimations"},...ai],Oo=[{provide:ar,useFactory:()=>new Eo},{provide:h.bc$,useFactory:()=>"BrowserAnimations"},...ai];let wo=(()=>{class be{static withConfig(y){return{ngModule:be,providers:y.disableAnimations?mi:Oo}}static \u0275fac=function(x){return new(x||be)};static \u0275mod=h.$C({type:be});static \u0275inj=u.G2t({providers:Oo,imports:[jo.Bb]})}return be})()},436(Yt,ve,a){a.d(ve,{hE:()=>U,up:()=>_t});var it=a(6563),q=a(6124);let U=(()=>{class ut{_doc;constructor(yt){this._doc=yt}getTitle(){return this._doc.title}setTitle(yt){this._doc.title=yt||""}static \u0275fac=function(Me){return new(Me||ut)(it.KVO(it.qQL))};static \u0275prov=it.jDH({token:ut,factory:ut.\u0275fac,providedIn:"root"})}return ut})(),_t=(()=>{class ut{static \u0275fac=function(Me){return new(Me||ut)};static \u0275prov=it.jDH({token:ut,factory:function(Me){let De=null;return De=Me?new(Me||ut):it.KVO(Re),De},providedIn:"root"})}return ut})(),Re=(()=>{class ut extends _t{_doc;constructor(yt){super(),this._doc=yt}sanitize(yt,Me){if(null==Me)return null;switch(yt){case it.WPN.NONE:return Me;case it.WPN.HTML:return(0,q.iWE)(Me,"HTML")?(0,q.aCM)(Me):(0,q.wr$)(this._doc,String(Me)).toString();case it.WPN.STYLE:return(0,q.iWE)(Me,"Style")?(0,q.aCM)(Me):Me;case it.WPN.SCRIPT:if((0,q.iWE)(Me,"Script"))return(0,q.aCM)(Me);throw new it.buA(5200,!1);case it.WPN.URL:return(0,q.iWE)(Me,"URL")?(0,q.aCM)(Me):(0,q.gil)(String(Me));case it.WPN.RESOURCE_URL:if((0,q.iWE)(Me,"ResourceURL"))return(0,q.aCM)(Me);throw new it.buA(5201,!1);default:throw new it.buA(5202,!1)}}bypassSecurityTrustHtml(yt){return(0,q.PYC)(yt)}bypassSecurityTrustStyle(yt){return(0,q.rAh)(yt)}bypassSecurityTrustScript(yt){return(0,q.p2i)(yt)}bypassSecurityTrustUrl(yt){return(0,q.B1s)(yt)}bypassSecurityTrustResourceUrl(yt){return(0,q.RPW)(yt)}static \u0275fac=function(Me){return new(Me||ut)(it.KVO(it.qQL))};static \u0275prov=it.jDH({token:ut,factory:ut.\u0275fac,providedIn:"root"})}return ut})()},3305(Yt,ve,a){a.d(ve,{$m:()=>ke,Bx:()=>Ut,Cq:()=>On,D$:()=>bi,E:()=>i,Ix:()=>os,J2:()=>ro,J_:()=>di,L6:()=>ir,OY:()=>Cr,Sd:()=>jt,Us:()=>z,Z:()=>Wn,Zp:()=>he,bw:()=>qr,el:()=>_e,fN:()=>Io,lW:()=>tr,mo:()=>Pn,n3:()=>Ci,nU:()=>Ge,nX:()=>zn,tE:()=>Ee,wF:()=>Kn,wO:()=>Rn,wU:()=>gn,we:()=>Ao});var X=a(9204),B=a(6223),K=a(6124),j=a(6563),Pe=a(7580),L=a(7511),ne=a(3942),Ve=a(4205),Fe=a(5797),tt=a(7092),nt=a(5682),Rt=a(2551),Oe=a(3335),xe=a(9999),it=a(3513),q=a(137),F=a(4600),N=a(9452),U=a(7919),ce=a(9400),ie=a(1318),we=a(1903),oe=a(1567),de=a(9475),He=a(2435),Be=a(271),$e=a(1365),Te=a(3037),le=a(6647),pt=a(4334),Ie=a(602),ze=a(3900),Qe=a(8764),_t=a(436);const Re="primary",Et=Symbol("RouteTitle");class kt{params;constructor(C){this.params=C||{}}has(C){return Object.prototype.hasOwnProperty.call(this.params,C)}get(C){if(this.has(C)){const b=this.params[C];return Array.isArray(b)?b[0]:b}return null}getAll(C){if(this.has(C)){const b=this.params[C];return Array.isArray(b)?b:[b]}return[]}get keys(){return Object.keys(this.params)}}function ht(_){return new kt(_)}function Ne(_,C,b){for(let S=0;S<_.length;S++){const Z=_[S],Je=C[S];if(":"===Z[0])b[Z.substring(1)]=Je;else if(Z!==Je.path)return!1}return!0}function Ot(_,C,b){const S=b.path.split("/"),Z=S.indexOf("**");if(-1===Z){if(S.length>_.length||"full"===b.pathMatch&&(C.hasChildren()||S.length<_.length))return null;const mn={},Sn=_.slice(0,S.length);return Ne(S,Sn,mn)?{consumed:Sn,posParams:mn}:null}if(Z!==S.lastIndexOf("**"))return null;const Je=S.slice(0,Z),At=S.slice(Z+1);if(Je.length+At.length>_.length||"full"===b.pathMatch&&C.hasChildren()&&"**"!==b.path)return null;const gt={};return Ne(Je,_.slice(0,Je.length),gt)&&Ne(At,_.slice(_.length-At.length),gt)?{consumed:_,posParams:gt}:null}function Lt(_){return new Promise((C,b)=>{_.pipe((0,He.$)()).subscribe({next:S=>C(S),error:S=>b(S)})})}function rt(_,C){const b=_?Qt(_):void 0,S=C?Qt(C):void 0;if(!b||!S||b.length!=S.length)return!1;let Z;for(let Je=0;Je<b.length;Je++)if(Z=b[Je],!Kt(_[Z],C[Z]))return!1;return!0}function Qt(_){return[...Object.keys(_),...Object.getOwnPropertySymbols(_)]}function Kt(_,C){if(Array.isArray(_)&&Array.isArray(C)){if(_.length!==C.length)return!1;const b=[..._].sort(),S=[...C].sort();return b.every((Z,Je)=>S[Je]===Z)}return _===C}function St(_){return(0,Rt.A)(_)?_:(0,K.yLl)(_)?(0,F.H)(Promise.resolve(_)):(0,N.of)(_)}function yt(_){return(0,Rt.A)(_)?Lt(_):Promise.resolve(_)}const Me={exact:function fe(_,C,b){if(!wt(_.segments,C.segments)||!ct(_.segments,C.segments,b)||_.numberOfChildren!==C.numberOfChildren)return!1;for(const S in C.children)if(!_.children[S]||!fe(_.children[S],C.children[S],b))return!1;return!0},subset:Se},De={exact:function Xe(_,C){return rt(_,C)},subset:function Y(_,C){return Object.keys(C).length<=Object.keys(_).length&&Object.keys(C).every(b=>Kt(_[b],C[b]))},ignored:()=>!0},Ee={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},i={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};function ke(_,C,b){const S=_ instanceof _e?_:C.parseUrl(_);return(0,L.EW)(()=>ot(C.lastSuccessfulNavigation()?.finalUrl??new _e,S,{...i,...b}))}function ot(_,C,b){return Me[b.paths](_.root,C.root,b.matrixParams)&&De[b.queryParams](_.queryParams,C.queryParams)&&!("exact"===b.fragment&&_.fragment!==C.fragment)}function Se(_,C,b){return Ce(_,C,C.segments,b)}function Ce(_,C,b,S){if(_.segments.length>b.length){const Z=_.segments.slice(0,b.length);
1return!(!wt(Z,b)||C.hasChildren()||!ct(Z,b,S))}if(_.segments.length===b.length){if(!wt(_.segments,b)||!ct(_.segments,b,S))return!1;for(const Z in C.children)if(!_.children[Z]||!Se(_.children[Z],C.children[Z],S))return!1;return!0}{const Z=b.slice(0,_.segments.length),Je=b.slice(_.segments.length);return!!(wt(_.segments,Z)&&ct(_.segments,Z,S)&&_.children[Re])&&Ce(_.children[Re],C,Je,S)}}function ct(_,C,b){return C.every((S,Z)=>De[b](_[Z].parameters,S.parameters))}class _e{root;queryParams;fragment;_queryParamMap;constructor(C=new P([],{}),b={},S=null){this.root=C,this.queryParams=b,this.fragment=S}get queryParamMap(){return this._queryParamMap??=ht(this.queryParams),this._queryParamMap}toString(){return qe.serialize(this)}}class P{segments;children;parent=null;constructor(C,b){this.segments=C,this.children=b,Object.values(b).forEach(S=>S.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return M(this)}}class Ae{path;parameters;_parameterMap;constructor(C,b){this.path=C,this.parameters=b}get parameterMap(){return this._parameterMap??=ht(this.parameters),this._parameterMap}toString(){return st(this)}}function wt(_,C){return _.length===C.length&&_.every((b,S)=>b.path===C[S].path)}let jt=(()=>{class _{static \u0275fac=function(S){return new(S||_)};static \u0275prov=j.jDH({token:_,factory:()=>new Ge,providedIn:"root"})}return _})();class Ge{parse(C){const b=new ye(C);return new _e(b.parseRootSegment(),b.parseQueryParams(),b.parseFragment())}serialize(C){const b=`/${$(C.root,!0)}`,S=function Ye(_){const C=Object.entries(_).map(([b,S])=>Array.isArray(S)?S.map(Z=>`${ue(b)}=${ue(Z)}`).join("&"):`${ue(b)}=${ue(S)}`).filter(b=>b);return C.length?`?${C.join("&")}`:""}(C.queryParams);return`${b}${S}${"string"==typeof C.fragment?`#${function lt(_){return encodeURI(_)}(C.fragment)}`:""}`}}const qe=new Ge;function M(_){return _.segments.map(C=>st(C)).join("/")}function $(_,C){if(!_.hasChildren())return M(_);if(C){const b=_.children[Re]?$(_.children[Re],!1):"",S=[];return Object.entries(_.children).forEach(([Z,Je])=>{Z!==Re&&S.push(`${Z}:${$(Je,!1)}`)}),S.length>0?`${b}(${S.join("//")})`:b}{const b=function Mt(_,C){let b=[];return Object.entries(_.children).forEach(([S,Z])=>{S===Re&&(b=b.concat(C(Z,S)))}),Object.entries(_.children).forEach(([S,Z])=>{S!==Re&&(b=b.concat(C(Z,S)))}),b}(_,(S,Z)=>Z===Re?[$(_.children[Re],!1)]:[`${Z}:${$(S,!1)}`]);return 1===Object.keys(_.children).length&&null!=_.children[Re]?`${M(_)}/${b[0]}`:`${M(_)}/(${b.join("//")})`}}function w(_){return encodeURIComponent(_).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function ue(_){return w(_).replace(/%3B/gi,";")}function xt(_){return w(_).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function cn(_){return decodeURIComponent(_)}function en(_){return cn(_.replace(/\+/g,"%20"))}function st(_){return`${xt(_.path)}${function se(_){return Object.entries(_).map(([C,b])=>`;${xt(C)}=${xt(b)}`).join("")}(_.parameters)}`}const at=/^[^\/()?;#]+/;function Wt(_){const C=_.match(at);return C?C[0]:""}const Xt=/^[^\/()?;=#]+/,It=/^[^=?&#]+/,R=/^[^&#]+/;class ye{url;remaining;constructor(C){this.url=C,this.remaining=C}parseRootSegment(){for(;this.consumeOptional("/"););return""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new P([],{}):new P([],this.parseChildren())}parseQueryParams(){const C={};if(this.consumeOptional("?"))do{this.parseQueryParam(C)}while(this.consumeOptional("&"));return C}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(C=0){if(C>50)throw new j.buA(4010,!1);if(""===this.remaining)return{};this.consumeOptional("/");const b=[];for(this.peekStartsWith("(")||b.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),b.push(this.parseSegment());let S={};this.peekStartsWith("/(")&&(this.capture("/"),S=this.parseParens(!0,C));let Z={};return this.peekStartsWith("(")&&(Z=this.parseParens(!1,C)),(b.length>0||Object.keys(S).length>0)&&(Z[Re]=new P(b,S)),Z}parseSegment(){const C=Wt(this.remaining);if(""===C&&this.peekStartsWith(";"))throw new j.buA(4009,!1);return this.capture(C),new Ae(cn(C),this.parseMatrixParams())}parseMatrixParams(){const C={};for(;this.consumeOptional(";");)this.parseParam(C);return C}parseParam(C){const b=function Mn(_){const C=_.match(Xt);return C?C[0]:""}(this.remaining);if(!b)return;this.capture(b);let S="";if(this.consumeOptional("=")){const Z=Wt(this.remaining);Z&&(S=Z,this.capture(S))}C[cn(b)]=cn(S)}parseQueryParam(C){const b=function Zt(_){const C=_.match(It);return C?C[0]:""}(this.remaining);if(!b)return;this.capture(b);let S="";if(this.consumeOptional("=")){const At=function k(_){const C=_.match(R);return C?C[0]:""}(this.remaining);At&&(S=At,this.capture(S))}const Z=en(b),Je=en(S);if(C.hasOwnProperty(Z)){let At=C[Z];Array.isArray(At)||(At=[At],C[Z]=At),At.push(Je)}else C[Z]=Je}parseParens(C,b){const S={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const Z=Wt(this.remaining),Je=this.remaining[Z.length];if("/"!==Je&&")"!==Je&&";"!==Je)throw new j.buA(4010,!1);let At;Z.indexOf(":")>-1?(At=Z.slice(0,Z.indexOf(":")),this.capture(At),this.capture(":")):C&&(At=Re);const gt=this.parseChildren(b+1);S[At??Re]=1===Object.keys(gt).length&&gt[Re]?gt[Re]:new P([],gt),this.consumeOptional("//")}return S}peekStartsWith(C){return this.remaining.startsWith(C)}consumeOptional(C){return!!this.peekStartsWith(C)&&(this.remaining=this.remaining.substring(C.length),!0)}capture(C){if(!this.consumeOptional(C))throw new j.buA(4011,!1)}}function Nt(_){return _.segments.length>0?new P([],{[Re]:_}):_}function qt(_){const C={};for(const[S,Z]of Object.entries(_.children)){const Je=qt(Z);if(S===Re&&0===Je.segments.length&&Je.hasChildren())for(const[At,gt]of Object.entries(Je.children))C[At]=gt;else(Je.segments.length>0||Je.hasChildren())&&(C[S]=Je)}return function bn(_){if(1===_.numberOfChildren&&_.children[Re]){const C=_.children[Re];return new P(_.segments.concat(C.segments),C.children)}return _}(new P(_.segments,C))}function Rn(_){return _ instanceof _e}function An(_){let C;const Z=Nt(function b(Je){const At={};for(const mn of Je.children){const Sn=b(mn);At[mn.outlet]=Sn}const gt=new P(Je.url,At);return Je===_&&(C=gt),gt}(_.root));return C??Z}function fn(_,C,b,S,Z){let Je=_;for(;Je.parent;)Je=Je.parent;if(0===C.length)return Dr(Je,Je,Je,b,S,Z);const At=function ar(_){if("string"==typeof _[0]&&1===_.length&&"/"===_[0])return new gr(!0,0,_);let C=0,b=!1;const S=_.reduce((Z,Je,At)=>{if("object"==typeof Je&&null!=Je){if(Je.outlets){const gt={};
1return Object.entries(Je.outlets).forEach(([mn,Sn])=>{gt[mn]="string"==typeof Sn?Sn.split("/"):Sn}),[...Z,{outlets:gt}]}if(Je.segmentPath)return[...Z,Je.segmentPath]}return"string"!=typeof Je?[...Z,Je]:0===At?(Je.split("/").forEach((gt,mn)=>{0==mn&&"."===gt||(0==mn&&""===gt?b=!0:".."===gt?C++:""!=gt&&Z.push(gt))}),Z):[...Z,Je]},[]);return new gr(b,C,S)}(C);if(At.toRoot())return Dr(Je,Je,new P([],{}),b,S,Z);const gt=function J(_,C,b){if(_.isAbsolute)return new rn(C,!0,0);if(!b)return new rn(C,!1,NaN);if(null===b.parent)return new rn(b,!0,0);const S=Xn(_.commands[0])?0:1;return function ee(_,C,b){let S=_,Z=C,Je=b;for(;Je>Z;){if(Je-=Z,S=S.parent,!S)throw new j.buA(4005,!1);Z=S.segments.length}return new rn(S,!1,Z-Je)}(b,b.segments.length-1+S,_.numberOfDoubleDots)}(At,Je,_),mn=gt.processChildren?ft(gt.segmentGroup,gt.index,At.commands):Ke(gt.segmentGroup,gt.index,At.commands);return Dr(Je,gt.segmentGroup,mn,b,S,Z)}function Xn(_){return"object"==typeof _&&null!=_&&!_.outlets&&!_.segmentPath}function qn(_){return"object"==typeof _&&null!=_&&_.outlets}function Zn(_,C,b){_||="\u0275";const S=new _e;return S.queryParams={[_]:C},b.parse(b.serialize(S)).queryParams[_]}function Dr(_,C,b,S,Z,Je){const At={};for(const[Sn,or]of Object.entries(S??{}))At[Sn]=Array.isArray(or)?or.map(A=>Zn(Sn,A,Je)):Zn(Sn,or,Je);let gt;gt=_===C?b:vr(_,C,b);const mn=Nt(qt(gt));return new _e(mn,At,Z)}function vr(_,C,b){const S={};return Object.entries(_.children).forEach(([Z,Je])=>{S[Z]=Je===C?b:vr(Je,C,b)}),new P(_.segments,S)}class gr{isAbsolute;numberOfDoubleDots;commands;constructor(C,b,S){if(this.isAbsolute=C,this.numberOfDoubleDots=b,this.commands=S,C&&S.length>0&&Xn(S[0]))throw new j.buA(4003,!1);const Z=S.find(qn);if(Z&&Z!==function ut(_){return _.length>0?_[_.length-1]:null}(S))throw new j.buA(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class rn{segmentGroup;processChildren;index;constructor(C,b,S){this.segmentGroup=C,this.processChildren=b,this.index=S}}function Ke(_,C,b){if(_??=new P([],{}),0===_.segments.length&&_.hasChildren())return ft(_,C,b);const S=function Jt(_,C,b){let S=0,Z=C;const Je={match:!1,pathIndex:0,commandIndex:0};for(;Z<_.segments.length;){if(S>=b.length)return Je;const At=_.segments[Z],gt=b[S];if(qn(gt))break;const mn=`${gt}`,Sn=S<b.length-1?b[S+1]:null;if(Z>0&&void 0===mn)break;if(mn&&Sn&&"object"==typeof Sn&&void 0===Sn.outlets){if(!Cn(mn,Sn,At))return Je;S+=2}else{if(!Cn(mn,{},At))return Je;S++}Z++}return{match:!0,pathIndex:Z,commandIndex:S}}(_,C,b),Z=b.slice(S.commandIndex);if(S.match&&S.pathIndex<_.segments.length){const Je=new P(_.segments.slice(0,S.pathIndex),{});return Je.children[Re]=new P(_.segments.slice(S.pathIndex),_.children),ft(Je,0,Z)}return S.match&&0===Z.length?new P(_.segments,{}):S.match&&!_.hasChildren()?on(_,C,b):S.match?ft(_,0,Z):on(_,C,b)}function ft(_,C,b){if(0===b.length)return new P(_.segments,{});{const S=function We(_){return qn(_[0])?_[0].outlets:{[Re]:_}}(b),Z={};if(Object.keys(S).some(Je=>Je!==Re)&&_.children[Re]&&1===_.numberOfChildren&&0===_.children[Re].segments.length){const Je=ft(_.children[Re],C,b);return new P(_.segments,Je.children)}return Object.entries(S).forEach(([Je,At])=>{"string"==typeof At&&(At=[At]),null!==At&&(Z[Je]=Ke(_.children[Je],C,At))}),Object.entries(_.children).forEach(([Je,At])=>{void 0===S[Je]&&(Z[Je]=At)}),new P(_.segments,Z)}}function on(_,C,b){const S=_.segments.slice(0,C);let Z=0;for(;Z<b.length;){const Je=b[Z];if(qn(Je)){const mn=wn(Je.outlets);return new P(S,mn)}if(0===Z&&Xn(b[0])){S.push(new Ae(_.segments[C].path,jn(b[0]))),Z++;continue}const At=qn(Je)?Je.outlets[Re]:`${Je}`,gt=Z<b.length-1?b[Z+1]:null;At&&gt&&Xn(gt)?(S.push(new Ae(At,jn(gt))),Z+=2):(S.push(new Ae(At,{})),Z++)}return new P(S,{})}function wn(_){const C={};return Object.entries(_).forEach(([b,S])=>{"string"==typeof S&&(S=[S]),null!==S&&(C[b]=on(new P([],{}),0,S))}),C}function jn(_){const C={};return Object.entries(_).forEach(([b,S])=>C[b]=`${S}`),C}function Cn(_,C,b){return _==b.path&&rt(C,b.parameters)}const gn="imperative";var Ut=function(_){return _[_.NavigationStart=0]="NavigationStart",_[_.NavigationEnd=1]="NavigationEnd",_[_.NavigationCancel=2]="NavigationCancel",_[_.NavigationError=3]="NavigationError",_[_.RoutesRecognized=4]="RoutesRecognized",_[_.Re
1solveStart=5]="ResolveStart",_[_.ResolveEnd=6]="ResolveEnd",_[_.GuardsCheckStart=7]="GuardsCheckStart",_[_.GuardsCheckEnd=8]="GuardsCheckEnd",_[_.RouteConfigLoadStart=9]="RouteConfigLoadStart",_[_.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",_[_.ChildActivationStart=11]="ChildActivationStart",_[_.ChildActivationEnd=12]="ChildActivationEnd",_[_.ActivationStart=13]="ActivationStart",_[_.ActivationEnd=14]="ActivationEnd",_[_.Scroll=15]="Scroll",_[_.NavigationSkipped=16]="NavigationSkipped",_}(Ut||{});class _n{id;url;constructor(C,b){this.id=C,this.url=b}}class Wn extends _n{type=Ut.NavigationStart;navigationTrigger;restoredState;constructor(C,b,S="imperative",Z=null){super(C,b),this.navigationTrigger=S,this.restoredState=Z}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class Kn extends _n{urlAfterRedirects;type=Ut.NavigationEnd;constructor(C,b,S){super(C,b),this.urlAfterRedirects=S}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}var kn=function(_){return _[_.Redirect=0]="Redirect",_[_.SupersededByNewNavigation=1]="SupersededByNewNavigation",_[_.NoDataFromResolver=2]="NoDataFromResolver",_[_.GuardRejected=3]="GuardRejected",_[_.Aborted=4]="Aborted",_}(kn||{}),Pn=function(_){return _[_.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",_[_.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",_}(Pn||{});class On extends _n{reason;code;type=Ut.NavigationCancel;constructor(C,b,S,Z){super(C,b),this.reason=S,this.code=Z}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class tr extends _n{reason;code;type=Ut.NavigationSkipped;constructor(C,b,S,Z){super(C,b),this.reason=S,this.code=Z}}class ir extends _n{error;target;type=Ut.NavigationError;constructor(C,b,S,Z){super(C,b),this.error=S,this.target=Z}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class Ar extends _n{urlAfterRedirects;state;type=Ut.RoutesRecognized;constructor(C,b,S,Z){super(C,b),this.urlAfterRedirects=S,this.state=Z}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Ir extends _n{urlAfterRedirects;state;type=Ut.GuardsCheckStart;constructor(C,b,S,Z){super(C,b),this.urlAfterRedirects=S,this.state=Z}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Ct extends _n{urlAfterRedirects;state;shouldActivate;type=Ut.GuardsCheckEnd;constructor(C,b,S,Z,Je){super(C,b),this.urlAfterRedirects=S,this.state=Z,this.shouldActivate=Je}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class $t extends _n{urlAfterRedirects;state;type=Ut.ResolveStart;constructor(C,b,S,Z){super(C,b),this.urlAfterRedirects=S,this.state=Z}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class ln extends _n{urlAfterRedirects;state;type=Ut.ResolveEnd;constructor(C,b,S,Z){super(C,b),this.urlAfterRedirects=S,this.state=Z}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Dn{route;type=Ut.RouteConfigLoadStart;constructor(C){this.route=C}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class bt{route;type=Ut.RouteConfigLoadEnd;constructor(C){this.route=C}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class dn{snapshot;type=Ut.ChildActivationStart;constructor(C){this.snapshot=C}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class un{snapshot;type=Ut.ChildActivationEnd;constructor(C){this.snapshot=C}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Fn{snapshot;type=Ut.ActivationStart;constructor(C){this.snapshot=C}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class lr{snapshot;type=Ut.ActivationEnd;constructor(C){this.snapshot=C}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Cr{routerEvent;position;anchor;scrollBehavior;type=Ut.Scroll;constructor(C,b,S,Z){this.routerEvent=C,this.position=b,this.anchor=S,this.scrollBehavior=Z}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class Sr{}class Or{}class Er{url;navigationBehaviorOptions;constructor(C,b){this.url=C,this.navigationBehaviorOptions=b}}function z(_){switch(_.type){case Ut.ActivationEnd:return`ActivationEnd(path: '${_.snapshot.routeConfig?.path||""}')`;case Ut.ActivationStart:return`ActivationStart(path: '${_.snapshot.routeConfig?.path||""}')`;case Ut.ChildActivationEnd:return`ChildActivationEnd(path: '${_.snapshot.routeConfig?.path||""}')`;case Ut.ChildActivationStart:return`ChildActivationStart(path: '${_.snapshot.routeConfig?.path||""}')`;case Ut.GuardsCheckEnd:return`GuardsCheckEnd(id: ${_.id}, url: '${_.url}', urlAfterRedirects: '${_.urlAfterRedirects}', state: ${_.state}, shouldActivate: ${_.shouldActivate})`;case Ut.GuardsCheckStart:return`GuardsCheckStart(id: ${_.id}, url: '${_.url}', urlAfterRedirects: '${_.urlAfterRedirects}', state: ${_.state})`;case Ut.NavigationCancel:return`NavigationCancel(id: ${_.id}, url: '${_.url}')`;case Ut.NavigationSkipped:return`NavigationSkipped(id: ${_.id}, url: '${_.url}')`;case Ut.NavigationEnd:return`NavigationEnd(id: ${_.id}, url: '${_.url}', urlAfterRedirects: '${_.urlAfterRedirects}')`;case Ut.NavigationError:return`NavigationError(id: ${_.id}, url: '${_.url}', error: ${_.error})`;case Ut.NavigationStart:return`NavigationStart(id: ${_.id}, url: '${_.url}')`;case Ut.ResolveEnd:return`ResolveEnd(id: ${_.id}, url: '${_.url}', urlAfterRedirects: '${_.urlAfterRedirects}', state: ${_.state})`;case Ut.ResolveStart:return`ResolveStart(id: ${_.id}, url: '${_.url}', urlAfterRedirects: '${_.urlAfterRedirects}', state: ${_.state})`;case Ut.RouteConfigLoadEnd:return`RouteConfigLoadEnd(path: ${_.route.path})`;case Ut.RouteConfigLoadStart:return`RouteConfigLoadStart(path: ${_.route.path})`;case Ut.RoutesRecognized:return`RoutesRecognized(id: ${_.id}, url: '${_.url}', urlAfterRedirects: '${_.urlAfterRedirects}', state: ${_.state})`;case Ut.Scroll:return`Scroll(anchor: '${_.anchor}', position: '${_.position?`${_.position[0]}, ${_.position[1]}`:null}')`}}class dt{rootInjector;outlet=null;route=null;children;attachRef=null;get injector(){return this.route?.snapshot._environmentInjector??this.rootInjector}constructor(C){this.rootInjector=C,this.children=new he(this.rootInjector)}}let he=(()=>{class _{rootInjector;contexts=new Map;constructor(b){this.rootInjector=b}onChildOutletCreated(b,S){const Z=this.getOrCreateContext(b);Z.outlet=S,this.contexts.set(b,Z)}onChildOutletDestroyed(b){const S=this.getContext(b);S&&(S.outlet=null,S.attachRef=null)}onOutletDeactivated(){const b=this.contexts;return this.contexts=new Map,b}onOutletReAttached(b){this.contexts=b}getOrCreateContext(b){let S=this.getContext(b);return S||(S=new dt(this.rootInjector),this.contexts.set(b,S)),S}getContext(b){return this.contexts.get(b)||null}static \u0275fac=function(S){return new(S||_)(j.KVO(j.uvJ))};static \u0275prov=j.jDH({token:_,factory:_.\u0275fac,providedIn:"root"})}return _})();
1class je{_root;constructor(C){this._root=C}get root(){return this._root.value}parent(C){const b=this.pathFromRoot(C);return b.length>1?b[b.length-2]:null}children(C){const b=Ht(C,this._root);return b?b.children.map(S=>S.value):[]}firstChild(C){const b=Ht(C,this._root);return b&&b.children.length>0?b.children[0].value:null}siblings(C){const b=En(C,this._root);return b.length<2?[]:b[b.length-2].children.map(Z=>Z.value).filter(Z=>Z!==C)}pathFromRoot(C){return En(C,this._root).map(b=>b.value)}}function Ht(_,C){if(_===C.value)return C;for(const b of C.children){const S=Ht(_,b);if(S)return S}return null}function En(_,C){if(_===C.value)return[C];for(const b of C.children){const S=En(_,b);if(S.length)return S.unshift(C),S}return[]}class me{value;children;constructor(C,b){this.value=C,this.children=b}toString(){return`TreeNode(${this.value})`}}function Dt(_){const C={};return _&&_.children.forEach(b=>C[b.value.outlet]=b),C}class Gt extends je{snapshot;constructor(C,b){super(C),this.snapshot=b,Zr(this,C)}toString(){return this.snapshot.toString()}}function Tn(_,C){const b=function $n(_,C){const At=new In([],{},{},"",{},Re,_,null,{},C);return new Ur("",new me(At,[]))}(_,C),S=new Fe.t([new Ae("",{})]),Z=new Fe.t({}),Je=new Fe.t({}),At=new Fe.t({}),gt=new Fe.t(""),mn=new zn(S,Z,At,gt,Je,Re,_,b.root);return mn.snapshot=b.root,new Gt(new me(mn,[]),b)}class zn{urlSubject;paramsSubject;queryParamsSubject;fragmentSubject;dataSubject;outlet;component;snapshot;_futureSnapshot;_routerState;_paramMap;_queryParamMap;title;url;params;queryParams;fragment;data;constructor(C,b,S,Z,Je,At,gt,mn){this.urlSubject=C,this.paramsSubject=b,this.queryParamsSubject=S,this.fragmentSubject=Z,this.dataSubject=Je,this.outlet=At,this.component=gt,this._futureSnapshot=mn,this.title=this.dataSubject?.pipe((0,Be.T)(Sn=>Sn[Et]))??(0,N.of)(void 0),this.url=C,this.params=b,this.queryParams=S,this.fragment=Z,this.data=Je}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.params.pipe((0,Be.T)(C=>ht(C))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe((0,Be.T)(C=>ht(C))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function Hn(_,C,b="emptyOnly"){let S;const{routeConfig:Z}=_;return S=null===C||"always"!==b&&""!==Z?.path&&(C.component||C.routeConfig?.loadComponent)?{params:{..._.params},data:{..._.data},resolve:{..._.data,..._._resolvedData??{}}}:{params:{...C.params,..._.params},data:{...C.data,..._.data},resolve:{..._.data,...C.data,...Z?.data,..._._resolvedData}},Z&&gi(Z)&&(S.resolve[Et]=Z.title),S}class In{url;params;queryParams;fragment;data;outlet;component;routeConfig;_resolve;_resolvedData;_routerState;_paramMap;_queryParamMap;_environmentInjector;get title(){return this.data?.[Et]}constructor(C,b,S,Z,Je,At,gt,mn,Sn,or){this.url=C,this.params=b,this.queryParams=S,this.fragment=Z,this.data=Je,this.outlet=At,this.component=gt,this.routeConfig=mn,this._resolve=Sn,this._environmentInjector=or}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??=ht(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=ht(this.queryParams),this._queryParamMap}toString(){return`Route(url:'${this.url.map(S=>S.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class Ur extends je{url;constructor(C,b){super(b),this.url=C,Zr(this,b)}toString(){return xr(this._root)}}function Zr(_,C){C.value._routerState=_,C.children.forEach(b=>Zr(_,b))}function xr(_){const C=_.children.length>0?` { ${_.children.map(xr).join(", ")} } `:"";return`${_.value}${C}`}function ti(_){if(_.snapshot){const C=_.snapshot,b=_._futureSnapshot;_.snapshot=b,rt(C.queryParams,b.queryParams)||_.queryParamsSubject.next(b.queryParams),C.fragment!==b.fragment&&_.fragmentSubject.next(b.fragment),rt(C.params,b.params)||_.paramsSubject.next(b.params),function zt(_,C){if(_.length!==C.length)return!1;for(let b=0;b<_.length;++b)if(!rt(_[b],C[b]))return!1;return!0}(C.url,b.url)||_.urlSubject.next(b.url),rt(C.data,b.data)||_.dataSubject.next(b.data)}else _.snapshot=_._futureSnapshot,_.dataSubject.next(_._futureSnapshot.data)}function Rr(_,C){const b=rt(_.params,C.params)&&function mt(_,C){return wt(_,C)&&_.every((b,S)=>rt(b.parameters,C[S].parameters))}(_.url,C.url);return b&&!(!_.parent!=!C.parent)&&(!_.parent||Rr(_.parent,C.parent))}function gi(_){return"string"==typeof _.title||null===_.title}const Di=new j.nKC("");let Ci=(()=>{class _{activated=null;get activatedComponentRef(){return this.activated}_activatedRoute=null;name=Re;activateEvents=new j.bkB;deactivateEvents=new j.bkB;attachEvents=new j.bkB;detachEvents=new j.bkB;routerOutletData=(0,Pe.hFB)();parentContexts=(0,j.WQX)(he);location=(0,j.WQX)(K.c1b);changeDetector=(0,j.WQX)(Pe.gRc);inputBinder=(0,j.WQX)(yi,{optional:!0});supportsBindingToComponentInputs=!0;ngOnChanges(b){if(b.name){const{firstChange:S,previousValue:Z}=b.name;if(S)return;this.isTrackedInParentContexts(Z)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(Z)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(b){return this.parentContexts.getContext(b)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const b=this.parentContexts.getContext(this.name);b?.route&&(b.attachRef?this.attach(b.attachRef,b.route):this.activateWith(b.route,b.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new j.buA(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new j.buA(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new j.buA(4012,!1);this.location.detach();const b=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(b.instance),b}attach(b,S){this.activated=b,this._activatedRoute=S,this.location.insert(b.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(b.instance)}deactivate(){if(this.activated){const b=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(b)}}activateWith(b,S){if(this.isActivated)throw new j.buA(4013,!1);this._activatedRoute=b;const Z=this.location,At=b.snapshot.component,gt=this.parentContexts.getOrCreateContext(this.name).children,mn=new zi(b,gt,Z.injector,this.routerOutletData);this.activated=Z.createComponent(At,{index:Z.length,injector:mn,environmentInjector:S}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static \u0275fac=function(S){return new(S||_)};static \u0275dir=K.FsC({type:_,selectors:[["router-outlet"]],inputs:{name:"name",routerOutletData:[1,"routerOutletData"]},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],features:[K.OA$]})}return _})();class zi{route;childContexts;parent;outletData;constructor(C,b,S,Z){this.route=C,this.childContexts=b,this.parent=S,this.outletData=Z}get(C,b){return C===zn?this.route:C===he?this.childContexts:C===Di?this.outletData:this.parent.get(C,b)}}const yi=new j.nKC("");let Ao=(()=>{class _{static \u0275fac=function(S){return new(S||_)};static \u0275cmp=K.VBU({type:_,selectors:[["ng-component"]],exportAs:["emptyRouterOutlet"],decls:1,vars:0,template:function(S,Z){1&S&&K.nrm(0,"router-outlet")},dependencies:[Ci],encapsulation:2})}return _})();function _o(_){const C=_.children&&_.children.map(_o),b=C?{..._,children:C}:{..._};return!b.component&&!b.loadComponent&&(C||b.loadChildren)&&b.outlet&&b.outlet!==Re&&(b.component=Ao),b}function wi(_,C,b){if(b&&_.shouldReuseRoute(C.value,b.value.snapshot)){const S=b.value;S._futureSnapshot=C.value;const Z=function co(_,C,b){return C.children.map(S=>{for(const Z of b.children)if(_.shouldReuseRoute(S.value,Z.value.snapshot))return wi(_,S,Z);return wi(_,S)})}(_,C,b);return new me(S,Z)}{if(_.shouldAttach(C.value)){const Je=_.retrieve(C.value);if(null!==Je){const At=Je.route;return At.value._futureSnapshot=C.value,At.children=C.children.map(gt=>wi(_,gt)),At}}const S=function Pi(_){return new zn(new Fe.t(_.url),new Fe.t(_.params),new Fe.t(_.queryParams),new Fe.t(_.fragment),new Fe.t(_.data),_.outlet,_.component,_)}(C.value),Z=C.children.map(Je=>wi(_,Je));return new me(S,Z)}}class Ri{redirectTo;navigationBehaviorOptions;constructor(C,b){this.redirectTo=C,this.navigationBehaviorOptions=b}}const Mi="ngNavigationCancelingError";function li(_,C){const{redirectTo:b,navigationBehaviorOptions:S}=Rn(C)?{redirectTo:C,navigationBehaviorOptions:void 0}:C,Z=oi(!1,kn.Redirect);return Z.url=b,Z.navigationBehaviorOptions=S,Z}function oi(_,C){const b=new Error(`NavigationCancelingError: ${_||""}`);return b[Mi]=!0,b.cancellationCode=C,b}function yo(_){return!!_&&_[Mi]}class So{routeReuseStrategy;futureState;currState;forwardEvent;inputBindingEnabled;constructor(C,b,S,Z,Je){this.routeReuseStrategy=C,this.futureState=b,this.currState=S,this.forwardEvent=Z,this.inputBindingEnabled=Je}activate(C){const b=this.futureState._root,S=this.currState?this.currState._root:null;this.deactivateChildRoutes(b,S,C),ti(this.futureState.root),this.activateChildRoutes(b,S,C)}deactivateChildRoutes(C,b,S){const Z=Dt(b);
1C.children.forEach(Je=>{const At=Je.value.outlet;this.deactivateRoutes(Je,Z[At],S),delete Z[At]}),Object.values(Z).forEach(Je=>{this.deactivateRouteAndItsChildren(Je,S)})}deactivateRoutes(C,b,S){const Z=C.value,Je=b?b.value:null;if(Z===Je)if(Z.component){const At=S.getContext(Z.outlet);At&&this.deactivateChildRoutes(C,b,At.children)}else this.deactivateChildRoutes(C,b,S);else Je&&this.deactivateRouteAndItsChildren(b,S)}deactivateRouteAndItsChildren(C,b){C.value.component&&this.routeReuseStrategy.shouldDetach(C.value.snapshot)?this.detachAndStoreRouteSubtree(C,b):this.deactivateRouteAndOutlet(C,b)}detachAndStoreRouteSubtree(C,b){const S=b.getContext(C.value.outlet),Z=S&&C.value.component?S.children:b,Je=Dt(C);for(const At of Object.values(Je))this.deactivateRouteAndItsChildren(At,Z);if(S&&S.outlet){const At=S.outlet.detach(),gt=S.children.onOutletDeactivated();this.routeReuseStrategy.store(C.value.snapshot,{componentRef:At,route:C,contexts:gt})}}deactivateRouteAndOutlet(C,b){const S=b.getContext(C.value.outlet),Z=S&&C.value.component?S.children:b,Je=Dt(C);for(const At of Object.values(Je))this.deactivateRouteAndItsChildren(At,Z);S&&(S.outlet&&(S.outlet.deactivate(),S.children.onOutletDeactivated()),S.attachRef=null,S.route=null)}activateChildRoutes(C,b,S){const Z=Dt(b);C.children.forEach(Je=>{this.activateRoutes(Je,Z[Je.value.outlet],S),this.forwardEvent(new lr(Je.value.snapshot))}),C.children.length&&this.forwardEvent(new un(C.value.snapshot))}activateRoutes(C,b,S){const Z=C.value,Je=b?b.value:null;if(ti(Z),Z===Je)if(Z.component){const At=S.getOrCreateContext(Z.outlet);this.activateChildRoutes(C,b,At.children)}else this.activateChildRoutes(C,b,S);else if(Z.component){const At=S.getOrCreateContext(Z.outlet);if(this.routeReuseStrategy.shouldAttach(Z.snapshot)){const gt=this.routeReuseStrategy.retrieve(Z.snapshot);this.routeReuseStrategy.store(Z.snapshot,null),At.children.onOutletReAttached(gt.contexts),At.attachRef=gt.componentRef,At.route=gt.route.value,At.outlet&&At.outlet.attach(gt.componentRef,gt.route.value),ti(gt.route.value),this.activateChildRoutes(C,null,At.children)}else At.attachRef=null,At.route=Z,At.outlet&&At.outlet.activateWith(Z,At.injector),this.activateChildRoutes(C,null,At.children)}else this.activateChildRoutes(C,null,S)}}class Bi{path;route;constructor(C){this.path=C,this.route=this.path[this.path.length-1]}}class Ii{component;route;constructor(C,b){this.component=C,this.route=b}}function Wr(_,C,b){const S=_._root;return qi(S,C?C._root:null,b,[S.value])}function ui(_,C){const b=Symbol(),S=C.get(_,b);return S===b?"function"!=typeof _||(0,j.muV)(_)?C.get(_):_:S}function qi(_,C,b,S,Z={canDeactivateChecks:[],canActivateChecks:[]}){const Je=Dt(C);return _.children.forEach(At=>{(function is(_,C,b,S,Z={canDeactivateChecks:[],canActivateChecks:[]}){const Je=_.value,At=C?C.value:null,gt=b?b.getContext(_.value.outlet):null;if(At&&Je.routeConfig===At.routeConfig){const mn=function ji(_,C,b){if("function"==typeof b)return(0,j.N4e)(C._environmentInjector,()=>b(_,C));switch(b){case"pathParamsChange":return!wt(_.url,C.url);case"pathParamsOrQueryParamsChange":return!wt(_.url,C.url)||!rt(_.queryParams,C.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Rr(_,C)||!rt(_.queryParams,C.queryParams);default:return!Rr(_,C)}}(At,Je,Je.routeConfig.runGuardsAndResolvers);mn?Z.canActivateChecks.push(new Bi(S)):(Je.data=At.data,Je._resolvedData=At._resolvedData),qi(_,C,Je.component?gt?gt.children:null:b,S,Z),mn&&gt&&gt.outlet&&gt.outlet.isActivated&&Z.canDeactivateChecks.push(new Ii(gt.outlet.component,At))}else At&&Ui(C,gt,Z),Z.canActivateChecks.push(new Bi(S)),qi(_,null,Je.component?gt?gt.children:null:b,S,Z)})(At,Je[At.value.outlet],b,S.concat([At.value]),Z),delete Je[At.value.outlet]}),Object.entries(Je).forEach(([At,gt])=>Ui(gt,b.getContext(At),Z)),Z}function Ui(_,C,b){const S=Dt(_),Z=_.value;Object.entries(S).forEach(([Je,At])=>{Ui(At,Z.component?C?C.children.getContext(Je):null:C,b)}),b.canDeactivateChecks.push(new Ii(Z.component&&C&&C.outlet&&C.outlet.isActivated?C.outlet.component:null,Z))}function ki(_){return"function"==typeof _}function $r(_){return _ instanceof Oe.G||"EmptyError"===_?.name}const Ei=Symbol("INITIAL_VALUE");function hi(){return(0,le.n)(_=>(0,xe.z)(_.map(C=>C.pipe((0,pt.s)(1),(0,Te.Z)(Ei)))).pipe((0,Be.T)(C=>{for(const b of C)if(!0!==b){if(b===Ei)return Ei;if(!1===b||bo(b))return b}return!0}),(0,oe.p)(C=>C!==Ei),(0,pt.s)(1)))}function bo(_){return Rn(_)||_ instanceof Ri}function eo(_){return _.aborted?(0,N.of)(void 0).pipe((0,pt.s)(1)):new ne.c(C=>{const b=()=>{C.next(),C.complete()};return _.addEventListener("abort",b),()=>_.removeEventListener("abort",b)})}function Gi(_){return(0,ze.Q)(eo(_))}function uo(_){return(0,nt.F)((0,Qe.M)(C=>{if("boolean"!=typeof C)throw li(0,C)}),(0,Be.T)(C=>!0===C))}
1class ai extends Error{segmentGroup;constructor(C){super(),this.segmentGroup=C||null,Object.setPrototypeOf(this,ai.prototype)}}class mi extends Error{urlTree;constructor(C){super(),this.urlTree=C,Object.setPrototypeOf(this,mi.prototype)}}function Oo(_){throw new j.buA(4e3,!1)}class Wo{urlSerializer;urlTree;constructor(C,b){this.urlSerializer=C,this.urlTree=b}lineralizeSegments(C,b){return(0,X.A)(function*(){let S=[],Z=b.root;for(;;){if(S=S.concat(Z.segments),0===Z.numberOfChildren)return S;if(Z.numberOfChildren>1||!Z.children[Re])throw Oo();Z=Z.children[Re]}})()}applyRedirectCommands(C,b,S,Z,Je){var At=this;return(0,X.A)(function*(){const gt=yield function Jo(_,C,b){if("string"==typeof _)return Promise.resolve(_);const S=_;return Lt(St((0,j.N4e)(b,()=>S(C))))}(b,Z,Je);if(gt instanceof _e)throw new mi(gt);const mn=At.applyRedirectCreateUrlTree(gt,At.urlSerializer.parse(gt),C,S);if("/"===gt[0])throw new mi(mn);return mn})()}applyRedirectCreateUrlTree(C,b,S,Z){const Je=this.createSegmentGroup(C,b.root,S,Z);return new _e(Je,this.createQueryParams(b.queryParams,this.urlTree.queryParams),b.fragment)}createQueryParams(C,b){const S={};return Object.entries(C).forEach(([Z,Je])=>{if("string"==typeof Je&&":"===Je[0]){const gt=Je.substring(1);S[Z]=b[gt]}else S[Z]=Je}),S}createSegmentGroup(C,b,S,Z){const Je=this.createSegments(C,b.segments,S,Z);let At={};return Object.entries(b.children).forEach(([gt,mn])=>{At[gt]=this.createSegmentGroup(C,mn,S,Z)}),new P(Je,At)}createSegments(C,b,S,Z){return b.map(Je=>":"===Je.path[0]?this.findPosParam(C,Je,Z):this.findOrReturn(Je,S))}findPosParam(C,b,S){const Z=S[b.path.substring(1)];if(!Z)throw new j.buA(4001,!1);return Z}findOrReturn(C,b){let S=0;for(const Z of b){if(Z.path===C.path)return b.splice(S),Z;S++}return C}}function pe(_){return _.outlet||Re}function Ze(_,C){const b=_.filter(S=>pe(S)===C);return b.push(..._.filter(S=>pe(S)!==C)),b}const Pt={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function Vt(_){return{routeConfig:_.routeConfig,url:_.url,params:_.params,queryParams:_.queryParams,fragment:_.fragment,data:_.data,outlet:_.outlet,title:_.title,paramMap:_.paramMap,queryParamMap:_.queryParamMap}}function nn(_,C,b,S,Z,Je,At){const gt=hn(_,C,b);if(!gt.matched)return(0,N.of)(gt);const mn=Vt(Je(gt));return S=function Yi(_,C){return _.providers&&!_._injector&&(_._injector=(0,K.Ol2)(_.providers,C,`Route: ${_.path}`)),_._injector??C}(C,S),function Do(_,C,b,S,Z,Je){const At=C.canMatch;if(!At||0===At.length)return(0,N.of)(!0);const gt=At.map(mn=>{const Sn=ui(mn,_);return St(function Eo(_){return _&&ki(_.canMatch)}(Sn)?Sn.canMatch(C,b,Z):(0,j.N4e)(_,()=>Sn(C,b,Z))).pipe(Gi(Je))});return(0,N.of)(gt).pipe(hi(),uo())}(S,C,b,0,mn,At).pipe((0,Be.T)(Sn=>!0===Sn?gt:{...Pt}))}function hn(_,C,b){if(""===C.path)return"full"===C.pathMatch&&(_.hasChildren()||b.length>0)?{...Pt}:{matched:!0,consumedSegments:[],remainingSegments:b,parameters:{},positionalParamSegments:{}};const Z=(C.matcher||Ot)(b,_,C);if(!Z)return{...Pt};const Je={};Object.entries(Z.posParams??{}).forEach(([gt,mn])=>{Je[gt]=mn.path});const At=Z.consumed.length>0?{...Je,...Z.consumed[Z.consumed.length-1].parameters}:Je;return{matched:!0,consumedSegments:Z.consumed,remainingSegments:b.slice(Z.consumed.length),parameters:At,positionalParamSegments:Z.posParams??{}}}function Un(_,C,b,S,Z){return b.length>0&&function fr(_,C,b,S){return b.some(Z=>!(!dr(_,C,Z)||pe(Z)===Re||void 0!==S&&pe(Z)===S))}(_,b,S,Z)?{segmentGroup:new P(C,mr(S,new P(b,_.children))),slicedSegments:[]}:0===b.length&&function sr(_,C,b){return b.some(S=>dr(_,C,S))}(_,b,S)?{segmentGroup:new P(_.segments,Yn(_,b,S,_.children)),slicedSegments:b}:{segmentGroup:new P(_.segments,_.children),slicedSegments:b}}function Yn(_,C,b,S){const Z={};for(const Je of b)if(dr(_,C,Je)&&!S[pe(Je)]){const At=new P([],{});Z[pe(Je)]=At}return{...S,...Z}}function mr(_,C){const b={};b[Re]=C;for(const S of _)if(""===S.path&&pe(S)!==Re){const Z=new P([],{});b[pe(S)]=Z}return b}function dr(_,C,b){return(!(_.hasChildren()||C.length>0)||"full"!==b.pathMatch)&&""===b.path}class Tr{}function Hr(){return(Hr=(0,X.A)(function*(_,C,b,S,Z,Je,At="emptyOnly",gt){return new Hi(_,C,b,S,Z,At,Je,gt).recognize()})).apply(this,arguments)}class Hi{injector;configLoader;rootComponentType;config;urlTree;paramsInheritanceStrategy;urlSerializer;abortSignal;applyRedirects;absoluteRedirectCount=0;allowRedirects=!0;constructor(C,b,S,Z,Je,At,gt,mn){this.injector=C,this.configLoader=b,this.rootComponentType=S,this.config=Z,this.urlTree=Je,this.paramsInheritanceStrategy=At,this.urlSerializer
1=gt,this.abortSignal=mn,this.applyRedirects=new Wo(this.urlSerializer,this.urlTree)}noMatchError(C){return new j.buA(4002,`'${C.segmentGroup}'`)}recognize(){var C=this;return(0,X.A)(function*(){const b=Un(C.urlTree.root,[],[],C.config).segmentGroup,{children:S,rootSnapshot:Z}=yield C.match(b),Je=new me(Z,S),At=new Ur("",Je),gt=function pn(_,C,b=null,S=null,Z=new Ge){return fn(An(_),C,b,S,Z)}(Z,[],C.urlTree.queryParams,C.urlTree.fragment);return gt.queryParams=C.urlTree.queryParams,At.url=C.urlSerializer.serialize(gt),{state:At,tree:gt}})()}match(C){var b=this;return(0,X.A)(function*(){const S=new In([],Object.freeze({}),Object.freeze({...b.urlTree.queryParams}),b.urlTree.fragment,Object.freeze({}),Re,b.rootComponentType,null,{},b.injector);try{return{children:yield b.processSegmentGroup(b.injector,b.config,C,Re,S),rootSnapshot:S}}catch(Z){if(Z instanceof mi)return b.urlTree=Z.urlTree,b.match(Z.urlTree.root);throw Z instanceof ai?b.noMatchError(Z):Z}})()}processSegmentGroup(C,b,S,Z,Je){var At=this;return(0,X.A)(function*(){if(0===S.segments.length&&S.hasChildren())return At.processChildren(C,b,S,Je);const gt=yield At.processSegment(C,b,S,S.segments,Z,!0,Je);return gt instanceof me?[gt]:[]})()}processChildren(C,b,S,Z){var Je=this;return(0,X.A)(function*(){const At=[];for(const Sn of Object.keys(S.children))"primary"===Sn?At.unshift(Sn):At.push(Sn);let gt=[];for(const Sn of At){const or=S.children[Sn],A=Ze(b,Sn),re=yield Je.processSegmentGroup(C,A,or,Sn,Z);gt.push(...re)}const mn=Kr(gt);return function ni(_){_.sort((C,b)=>C.value.outlet===Re?-1:b.value.outlet===Re?1:C.value.outlet.localeCompare(b.value.outlet))}(mn),mn})()}processSegment(C,b,S,Z,Je,At,gt){var mn=this;return(0,X.A)(function*(){for(const Sn of b)try{return yield mn.processSegmentAgainstRoute(Sn._injector??C,b,Sn,S,Z,Je,At,gt)}catch(or){if(or instanceof ai||$r(or))continue;throw or}if(function kr(_,C,b){return 0===C.length&&!_.children[b]}(S,Z,Je))return new Tr;throw new ai(S)})()}processSegmentAgainstRoute(C,b,S,Z,Je,At,gt,mn){var Sn=this;return(0,X.A)(function*(){if(pe(S)!==At&&(At===Re||!dr(Z,Je,S)))throw new ai(Z);if(void 0===S.redirectTo)return Sn.matchSegmentAgainstRoute(C,Z,S,Je,At,mn);if(Sn.allowRedirects&&gt)return Sn.expandSegmentAgainstRouteUsingRedirect(C,Z,b,S,Je,At,mn);throw new ai(Z)})()}expandSegmentAgainstRouteUsingRedirect(C,b,S,Z,Je,At,gt){var mn=this;return(0,X.A)(function*(){const{matched:Sn,parameters:or,consumedSegments:A,positionalParamSegments:re,remainingSegments:c}=hn(b,Z,Je);if(!Sn)throw new ai(b);"string"==typeof Z.redirectTo&&"/"===Z.redirectTo[0]&&(mn.absoluteRedirectCount++,mn.absoluteRedirectCount>31&&(mn.allowRedirects=!1));const T=mn.createSnapshot(C,Z,Je,or,gt);if(mn.abortSignal.aborted)throw new Error(mn.abortSignal.reason);const m=yield mn.applyRedirects.applyRedirectCommands(A,Z.redirectTo,re,Vt(T),C),H=yield mn.applyRedirects.lineralizeSegments(Z,m);return mn.processSegment(C,S,b,H.concat(c),At,!1,gt)})()}createSnapshot(C,b,S,Z,Je){const At=new In(S,Z,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,function Ni(_){return _.data||{}}(b),pe(b),b.component??b._loadedComponent??null,b,function Co(_){return _.resolve||{}}(b),C),gt=Hn(At,Je,this.paramsInheritanceStrategy);return At.params=Object.freeze(gt.params),At.data=Object.freeze(gt.data),At}matchSegmentAgainstRoute(C,b,S,Z,Je,At){var gt=this;return(0,X.A)(function*(){if(gt.abortSignal.aborted)throw new Error(gt.abortSignal.reason);const Sn=yield Lt(nn(b,S,Z,C,0,ei=>gt.createSnapshot(C,S,ei.consumedSegments,ei.parameters,At),gt.abortSignal));if("**"===S.path&&(b.children={}),!Sn?.matched)throw new ai(b);C=S._injector??C;const{routes:or}=yield gt.getChildConfig(C,S,Z),A=S._loadedInjector??C,{parameters:re,consumedSegments:c,remainingSegments:T}=Sn,m=gt.createSnapshot(C,S,c,re,At),{segmentGroup:H,slicedSegments:et}=Un(b,c,T,or,Je);if(0===et.length&&H.hasChildren()){const ei=yield gt.processChildren(A,or,H,m);return new me(m,ei)}if(0===or.length&&0===et.length)return new me(m,[]);const vn=pe(S)===Je,Vn=yield gt.processSegment(A,or,H,et,vn?Re:Je,!0,m);return new me(m,Vn instanceof me?[Vn]:[])})()}getChildConfig(C,b,S){var Z=this;return(0,X.A)(function*(){if(b.children)return{routes:b.children,injector:C};if(b.loadChildren){if(void 0!==b._loadedRoutes){const At=b._loadedNgModuleFactory;return At&&!b._loadedInjector&&(b._loadedInjector=At.create(C).injector),{routes:b._loadedRoutes,injector:b._loadedInjector}}if(Z.abortSignal.aborted)throw new Error(Z.abortSignal.reason);if(yield Lt(function Zo(_,C,b,S,Z){const Je=C.canLoad;if(void 0===Je||0===Je.length)return(0,N.of)(!0);const At=Je.map(gt=>{const mn=ui(gt,_),or=St(function Bo(_){return _&&ki(_.canLoad)}(mn)?mn.canLoad(C,b):(0,j.N4e)(_,()=>mn(C,b)));return Z?or.pipe(Gi(Z)):or});return(0,N.of)(At).pipe(hi(),uo())}
1(C,b,S,0,Z.abortSignal))){const At=yield Z.configLoader.loadChildren(C,b);return b._loadedRoutes=At.routes,b._loadedInjector=At.injector,b._loadedNgModuleFactory=At.factory,At}throw function wo(){throw oi(!1,kn.GuardRejected)}()}return{routes:[],injector:C}})()}}function zr(_){const C=_.value.routeConfig;return C&&""===C.path}function Kr(_){const C=[],b=new Set;for(const S of _){if(!zr(S)){C.push(S);continue}const Z=C.find(Je=>S.value.routeConfig===Je.value.routeConfig);void 0!==Z?(Z.children.push(...S.children),b.add(Z)):C.push(S)}for(const S of b){const Z=Kr(S.children);C.push(new me(S.value,Z))}return C.filter(S=>!b.has(S))}function Ho(_){const C=_.children.map(b=>Ho(b)).flat();return[_,...C]}function ur(_){return(0,le.n)(C=>{const b=_(C);return b?(0,F.H)(b).pipe((0,Be.T)(()=>C)):(0,N.of)(C)})}let Mr=(()=>{class _{buildTitle(b){let S,Z=b.root;for(;void 0!==Z;)S=this.getResolvedTitleForRoute(Z)??S,Z=Z.children.find(Je=>Je.outlet===Re);return S}getResolvedTitleForRoute(b){return b.data[Et]}static \u0275fac=function(S){return new(S||_)};static \u0275prov=j.jDH({token:_,factory:()=>(0,j.WQX)(Jr),providedIn:"root"})}return _})(),Jr=(()=>{class _ extends Mr{title;constructor(b){super(),this.title=b}updateTitle(b){const S=this.buildTitle(b);void 0!==S&&this.title.setTitle(S)}static \u0275fac=function(S){return new(S||_)(j.KVO(_t.hE))};static \u0275prov=j.jDH({token:_,factory:_.\u0275fac,providedIn:"root"})}return _})();const di=new j.nKC("",{factory:()=>({})}),qr=new j.nKC("");let bi=(()=>{class _{componentLoaders=new WeakMap;childrenLoaders=new WeakMap;onLoadStartListener;onLoadEndListener;compiler=(0,j.WQX)(K.Ql9);loadComponent(b,S){var Z=this;return(0,X.A)(function*(){if(Z.componentLoaders.get(S))return Z.componentLoaders.get(S);if(S._loadedComponent)return Promise.resolve(S._loadedComponent);Z.onLoadStartListener&&Z.onLoadStartListener(S);const Je=(0,X.A)(function*(){try{const At=yield yt((0,j.N4e)(b,()=>S.loadComponent())),gt=yield Ki(Gr(At));return Z.onLoadEndListener&&Z.onLoadEndListener(S),S._loadedComponent=gt,gt}finally{Z.componentLoaders.delete(S)}})();return Z.componentLoaders.set(S,Je),Je})()}loadChildren(b,S){var Z=this;if(this.childrenLoaders.get(S))return this.childrenLoaders.get(S);if(S._loadedRoutes)return Promise.resolve({routes:S._loadedRoutes,injector:S._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(S);const Je=(0,X.A)(function*(){try{const At=yield function Nr(_,C,b,S){return to.apply(this,arguments)}(S,Z.compiler,b,Z.onLoadEndListener);return S._loadedRoutes=At.routes,S._loadedInjector=At.injector,S._loadedNgModuleFactory=At.factory,At}finally{Z.childrenLoaders.delete(S)}})();return this.childrenLoaders.set(S,Je),Je}static \u0275fac=function(S){return new(S||_)};static \u0275prov=j.jDH({token:_,factory:_.\u0275fac,providedIn:"root"})}return _})();function to(){return(to=(0,X.A)(function*(_,C,b,S){const Z=yield yt((0,j.N4e)(b,()=>_.loadChildren())),Je=yield Ki(Gr(Z));let At;At=Je instanceof K.PYt||Array.isArray(Je)?Je:yield C.compileModuleAsync(Je),S&&S(_);let gt,mn,or;return Array.isArray(At)?mn=At:(gt=At.create(b).injector,or=At,mn=gt.get(qr,[],{optional:!0,self:!0}).flat()),{routes:mn.map(_o),injector:gt,factory:or}})).apply(this,arguments)}function Gr(_){return function Ro(_){return _&&"object"==typeof _&&"default"in _}(_)?_.default:_}function Ki(_){return ci.apply(this,arguments)}function ci(){return(ci=(0,X.A)(function*(_){return _})).apply(this,arguments)}let no=(()=>{class _{static \u0275fac=function(S){return new(S||_)};static \u0275prov=j.jDH({token:_,factory:()=>(0,j.WQX)(qo),providedIn:"root"})}return _})(),qo=(()=>{class _{shouldProcessUrl(b){return!0}extract(b){return b}merge(b,S){return b}static \u0275fac=function(S){return new(S||_)};static \u0275prov=j.jDH({token:_,factory:_.\u0275fac,providedIn:"root"})}return _})();const wr=new j.nKC(""),fi=()=>{},Vo=new j.nKC("");let ro=(()=>{class _{currentNavigation=(0,j.vPA)(null,{equal:()=>!1});currentTransition=null;lastSuccessfulNavigation=(0,j.vPA)(null);events=new Ve.B;transitionAbortWithErrorSubject=new Ve.B;configLoader=(0,j.WQX)(bi);environmentInjector=(0,j.WQX)(j.uvJ);destroyRef=(0,j.WQX)(j.abz);
1urlSerializer=(0,j.WQX)(jt);rootContexts=(0,j.WQX)(he);location=(0,j.WQX)(B.aZ);inputBindingEnabled=null!==(0,j.WQX)(yi,{optional:!0});titleStrategy=(0,j.WQX)(Mr);options=(0,j.WQX)(di,{optional:!0})||{};paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly";urlHandlingStrategy=(0,j.WQX)(no);createViewTransition=(0,j.WQX)(wr,{optional:!0});navigationErrorHandler=(0,j.WQX)(Vo,{optional:!0});navigationId=0;get hasRequestedNavigation(){return 0!==this.navigationId}transitions;afterPreactivation=()=>(0,N.of)(void 0);rootComponentType=null;destroyed=!1;constructor(){this.configLoader.onLoadEndListener=Z=>this.events.next(new bt(Z)),this.configLoader.onLoadStartListener=Z=>this.events.next(new Dn(Z)),this.destroyRef.onDestroy(()=>{this.destroyed=!0})}complete(){this.transitions?.complete()}handleNavigationRequest(b){const S=++this.navigationId;(0,L.O8)(()=>{this.transitions?.next({...b,extractedUrl:this.urlHandlingStrategy.extract(b.rawUrl),targetSnapshot:null,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null,id:S,routesRecognizeHandler:{},beforeActivateHandler:{}})})}setupNavigations(b){return this.transitions=new Fe.t(null),this.transitions.pipe((0,oe.p)(S=>null!==S),(0,le.n)(S=>{let Z=!1;const Je=new AbortController,At=()=>!Z&&this.currentTransition?.id===S.id;return(0,N.of)(S).pipe((0,le.n)(gt=>{if(this.navigationId>S.id)return this.cancelNavigationTransition(S,"",kn.SupersededByNewNavigation),ce.w;this.currentTransition=S;const mn=this.lastSuccessfulNavigation();this.currentNavigation.set({id:gt.id,initialUrl:gt.rawUrl,extractedUrl:gt.extractedUrl,targetBrowserUrl:"string"==typeof gt.extras.browserUrl?this.urlSerializer.parse(gt.extras.browserUrl):gt.extras.browserUrl,trigger:gt.source,extras:gt.extras,previousNavigation:mn?{...mn,previousNavigation:null}:null,abort:()=>Je.abort(),routesRecognizeHandler:gt.routesRecognizeHandler,beforeActivateHandler:gt.beforeActivateHandler});const Sn=!b.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl();if(!Sn&&"reload"!==(gt.extras.onSameUrlNavigation??b.onSameUrlNavigation))return this.events.next(new tr(gt.id,this.urlSerializer.serialize(gt.rawUrl),"",Pn.IgnoredSameUrlNavigation)),gt.resolve(!1),ce.w;if(this.urlHandlingStrategy.shouldProcessUrl(gt.rawUrl))return(0,N.of)(gt).pipe((0,le.n)(A=>(this.events.next(new Wn(A.id,this.urlSerializer.serialize(A.extractedUrl),A.source,A.restoredState)),A.id!==this.navigationId?ce.w:Promise.resolve(A))),function Li(_,C,b,S,Z,Je,At){return(0,$e.Z)(function(){var gt=(0,X.A)(function*(mn){const{state:Sn,tree:or}=yield function Lr(_,C,b,S,Z,Je){return Hr.apply(this,arguments)}(_,C,b,S,mn.extractedUrl,Z,Je,At);return{...mn,targetSnapshot:Sn,urlAfterRedirects:or}});return function(mn){return gt.apply(this,arguments)}}())}(this.environmentInjector,this.configLoader,this.rootComponentType,b.config,this.urlSerializer,this.paramsInheritanceStrategy,Je.signal),(0,Qe.M)(A=>{S.targetSnapshot=A.targetSnapshot,S.urlAfterRedirects=A.urlAfterRedirects,this.currentNavigation.update(re=>(re.finalUrl=A.urlAfterRedirects,re)),this.events.next(new Or)}),(0,le.n)(A=>(0,F.H)(S.routesRecognizeHandler.deferredHandle??(0,N.of)(void 0)).pipe((0,Be.T)(()=>A))),(0,Qe.M)(()=>{const A=new Ar(gt.id,this.urlSerializer.serialize(gt.extractedUrl),this.urlSerializer.serialize(gt.urlAfterRedirects),gt.targetSnapshot);this.events.next(A)}));if(Sn&&this.urlHandlingStrategy.shouldProcessUrl(gt.currentRawUrl)){const{id:A,extractedUrl:re,source:c,restoredState:T,extras:m}=gt,H=new Wn(A,this.urlSerializer.serialize(re),c,T);this.events.next(H);const et=Tn(this.rootComponentType,this.environmentInjector).snapshot;return this.currentTransition=S={...gt,targetSnapshot:et,urlAfterRedirects:re,extras:{...m,skipLocationChange:!1,replaceUrl:!1}},this.currentNavigation.update(vn=>(vn.finalUrl=re,vn)),(0,N.of)(S)}return this.events.next(new tr(gt.id,this.urlSerializer.serialize(gt.extractedUrl),"",Pn.IgnoredByUrlHandlingStrategy)),gt.resolve(!1),ce.w}),(0,Be.T)(gt=>{const mn=new Ir(gt.id,this.urlSerializer.serialize(gt.extractedUrl),this.urlSerializer.serialize(gt.urlAfterRedirects),gt.targetSnapshot);return this.events.next(mn),this.currentTransition=S={...gt,guards:Wr(gt.targetSnapshot,gt.currentSnapshot,this.rootContexts)},S}),function Xi(_){return(0,$e.Z)(C=>{const{targetSnapshot:b,currentSnapshot:S,guards:{canActivateChecks:Z,canDeactivateChecks:Je}}=C;return 0===Je.length&&0===Z.length?(0,N.of)({...C,guardsResult:!0}):function lo(_,C,b){return(0,F.H)(_).pipe((0,$e.Z)(S=>
1function Uo(_,C,b,S){const Z=C&&C.routeConfig?C.routeConfig.canDeactivate:null;if(!Z||0===Z.length)return(0,N.of)(!0);const Je=Z.map(At=>{const gt=C._environmentInjector,mn=ui(At,gt);return St(function Si(_){return _&&ki(_.canDeactivate)}(mn)?mn.canDeactivate(_,C,b,S):(0,j.N4e)(gt,()=>mn(_,C,b,S))).pipe((0,He.$)())});return(0,N.of)(Je).pipe(hi())}(S.component,S.route,b,C)),(0,He.$)(S=>!0!==S,!0))}(Je,b,S).pipe((0,$e.Z)(At=>At&&function Fo(_){return"boolean"==typeof _}(At)?function Yo(_,C,b){return(0,F.H)(C).pipe((0,we.H)(S=>(0,it.x)(function jo(_,C){return null!==_&&C&&C(new dn(_)),(0,N.of)(!0)}(S.route.parent,b),function Qi(_,C){return null!==_&&C&&C(new Fn(_)),(0,N.of)(!0)}(S.route,b),function Wi(_,C){const b=C[C.length-1],Z=C.slice(0,C.length-1).reverse().map(Je=>function si(_){const C=_.routeConfig?_.routeConfig.canActivateChild:null;return C&&0!==C.length?{node:_,guards:C}:null}(Je)).filter(Je=>null!==Je).map(Je=>(0,q.v)(()=>{const At=Je.guards.map(gt=>{const mn=Je.node._environmentInjector,Sn=ui(gt,mn);return St(function Ai(_){return _&&ki(_.canActivateChild)}(Sn)?Sn.canActivateChild(b,_):(0,j.N4e)(mn,()=>Sn(b,_))).pipe((0,He.$)())});return(0,N.of)(At).pipe(hi())}));return(0,N.of)(Z).pipe(hi())}(_,S.path),function xi(_,C){const b=C.routeConfig?C.routeConfig.canActivate:null;if(!b||0===b.length)return(0,N.of)(!0);const S=b.map(Z=>(0,q.v)(()=>{const Je=C._environmentInjector,At=ui(Z,Je);return St(function Qr(_){return _&&ki(_.canActivate)}(At)?At.canActivate(C,_):(0,j.N4e)(Je,()=>At(C,_))).pipe((0,He.$)())}));return(0,N.of)(S).pipe(hi())}(_,S.route))),(0,He.$)(S=>!0!==S,!0))}(b,Z,_):(0,N.of)(At)),(0,Be.T)(At=>({...C,guardsResult:At})))})}(gt=>this.events.next(gt)),(0,le.n)(gt=>{if(S.guardsResult=gt.guardsResult,gt.guardsResult&&"boolean"!=typeof gt.guardsResult)throw li(0,gt.guardsResult);const mn=new Ct(gt.id,this.urlSerializer.serialize(gt.extractedUrl),this.urlSerializer.serialize(gt.urlAfterRedirects),gt.targetSnapshot,!!gt.guardsResult);if(this.events.next(mn),!At())return ce.w;if(!gt.guardsResult)return this.cancelNavigationTransition(gt,"",kn.GuardRejected),ce.w;if(0===gt.guards.canActivateChecks.length)return(0,N.of)(gt);const Sn=new $t(gt.id,this.urlSerializer.serialize(gt.extractedUrl),this.urlSerializer.serialize(gt.urlAfterRedirects),gt.targetSnapshot);if(this.events.next(Sn),!At())return ce.w;let or=!1;return(0,N.of)(gt).pipe(function To(_){return(0,$e.Z)(C=>{const{targetSnapshot:b,guards:{canActivateChecks:S}}=C;if(!S.length)return(0,N.of)(C);const Z=new Set(S.map(gt=>gt.route)),Je=new Set;for(const gt of Z)if(!Je.has(gt))for(const mn of Ho(gt))Je.add(mn);let At=0;return(0,F.H)(Je).pipe((0,we.H)(gt=>Z.has(gt)?function Po(_,C,b){const S=_.routeConfig,Z=_._resolve;return void 0!==S?.title&&!gi(S)&&(Z[Et]=S.title),(0,q.v)(()=>(_.data=Hn(_,_.parent,b).resolve,function nr(_,C,b){const S=Qt(_);if(0===S.length)return(0,N.of)({});const Z={};return(0,F.H)(S).pipe((0,$e.Z)(Je=>function Gn(_,C,b){const S=C._environmentInjector,Z=ui(_,S);return St(Z.resolve?Z.resolve(C,b):(0,j.N4e)(S,()=>Z(C,b)))}(_[Je],C,b).pipe((0,He.$)(),(0,Qe.M)(At=>{if(At instanceof Ri)throw li(new Ge,At);Z[Je]=At}))),(0,Ie.o)(1),(0,Be.T)(()=>Z),(0,ie.W)(Je=>$r(Je)?ce.w:(0,U.$)(Je)))}(Z,_,C).pipe((0,Be.T)(Je=>(_._resolvedData=Je,_.data={..._.data,...Je},null)))))}(gt,b,_):(gt.data=Hn(gt,gt.parent,_).resolve,(0,N.of)(void 0))),(0,Qe.M)(()=>At++),(0,Ie.o)(1),(0,$e.Z)(gt=>At===Je.size?(0,N.of)(C):ce.w))})}(this.paramsInheritanceStrategy),(0,Qe.M)({next:()=>{or=!0;const A=new ln(gt.id,this.urlSerializer.serialize(gt.extractedUrl),this.urlSerializer.serialize(gt.urlAfterRedirects),gt.targetSnapshot);this.events.next(A)},complete:()=>{or||this.cancelNavigationTransition(gt,"",kn.NoDataFromResolver)}}))}),ur(gt=>{const mn=or=>{const A=[];or.routeConfig?._loadedComponent?or.component=or.routeConfig?._loadedComponent:or.routeConfig?.loadComponent&&A.push(this.configLoader.loadComponent(or._environmentInjector,or.routeConfig).then(c=>{or.component=c}));for(const re of or.children)A.push(...mn(re));return A},Sn=mn(gt.targetSnapshot.root);return 0===Sn.length?(0,N.of)(gt):(0,F.H)(Promise.all(Sn).then(()=>gt))}),ur(()=>this.afterPreactivation()),(0,le.n)(()=>{const{currentSnapshot:gt,targetSnapshot:mn}=S,Sn=this.createViewTransition?.(this.environmentInjector,gt.root,mn.root);return Sn?(0,F.H)(Sn).pipe((0,Be.T)(()=>S)):(0,N.of)(S)}),(0,pt.s)(1),(0,le.n)(gt=>{const mn=function Ti(_,C,b){const S=wi(_,C._root,b?b._root:void 0);return new Gt(S,C)}(b.routeReuseStrategy,gt.targetSnapshot,gt.currentRouterState);this.currentTransition=S=gt={...gt,targetRouterState:mn},this.currentNavigation.update(or=>(or.targetRouterState=mn,or)),this.events.next(new Sr);const Sn=S.beforeActivateHandler.deferredHandle;return Sn?(0,F.H)(Sn.then(()=>gt)):(0,N.of)(gt)}),(0,Qe.M)(gt=>{new So(b.routeReuseStrategy,S.targetRouterState,S.currentRouterState,mn=>this.events.next(mn),this.inputBindingEnabled).activate(this.rootContexts),At()&&(Z=!0,this.currentNavigation.update(mn=>(mn.abort=fi,mn)),this.lastSuccessfulNavigation.set((0,L.O8)(this.currentNavigation)),this.events.next(new Kn(gt.id,this.urlSerializer.serialize(gt.extractedUrl),this.urlSerializer.serialize(gt.urlAfterRedirects))),this.titleStrategy?.updateTitle(gt.targetRouterState.snapshot),gt.resolve(!0))}
1),(0,ze.Q)(eo(Je.signal).pipe((0,oe.p)(()=>!Z&&!S.targetRouterState),(0,Qe.M)(()=>{this.cancelNavigationTransition(S,Je.signal.reason+"",kn.Aborted)}))),(0,Qe.M)({complete:()=>{Z=!0}}),(0,ze.Q)(this.transitionAbortWithErrorSubject.pipe((0,Qe.M)(gt=>{throw gt}))),(0,de.j)(()=>{Je.abort(),Z||this.cancelNavigationTransition(S,"",kn.SupersededByNewNavigation),this.currentTransition?.id===S.id&&(this.currentNavigation.set(null),this.currentTransition=null)}),(0,ie.W)(gt=>{if(Z=!0,this.destroyed)return S.resolve(!1),ce.w;if(yo(gt))this.events.next(new On(S.id,this.urlSerializer.serialize(S.extractedUrl),gt.message,gt.cancellationCode)),function vo(_){return yo(_)&&Rn(_.url)}(gt)?this.events.next(new Er(gt.url,gt.navigationBehaviorOptions)):S.resolve(!1);else{const mn=new ir(S.id,this.urlSerializer.serialize(S.extractedUrl),gt,S.targetSnapshot??void 0);try{const Sn=(0,j.N4e)(this.environmentInjector,()=>this.navigationErrorHandler?.(mn));if(!(Sn instanceof Ri))throw this.events.next(mn),gt;{const{message:or,cancellationCode:A}=li(0,Sn);this.events.next(new On(S.id,this.urlSerializer.serialize(S.extractedUrl),or,A)),this.events.next(new Er(Sn.redirectTo,Sn.navigationBehaviorOptions))}}catch(Sn){this.options.resolveNavigationPromiseOnError?S.resolve(!1):S.reject(Sn)}}return ce.w}))}))}cancelNavigationTransition(b,S,Z){const Je=new On(b.id,this.urlSerializer.serialize(b.extractedUrl),S,Z);this.events.next(Je),b.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){const b=this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))),S=(0,L.O8)(this.currentNavigation),Z=S?.targetBrowserUrl??S?.extractedUrl;return b.toString()!==Z?.toString()&&!S?.extras.skipLocationChange}static \u0275fac=function(S){return new(S||_)};static \u0275prov=j.jDH({token:_,factory:_.\u0275fac,providedIn:"root"})}return _})();function ho(_){return _!==gn}const Mo=new j.nKC("");let cs=(()=>{class _{static \u0275fac=function(S){return new(S||_)};static \u0275prov=j.jDH({token:_,factory:()=>(0,j.WQX)(ns),providedIn:"root"})}return _})();class hs{shouldDetach(C){return!1}store(C,b){}shouldAttach(C){return!1}retrieve(C){return null}shouldReuseRoute(C,b){return C.routeConfig===b.routeConfig}shouldDestroyInjector(C){return!0}}let ns=(()=>{class _ extends hs{static \u0275fac=(()=>{let b;return function(Z){return(b||(b=K.xGo(_)))(Z||_)}})();static \u0275prov=j.jDH({token:_,factory:_.\u0275fac,providedIn:"root"})}return _})(),Io=(()=>{class _{urlSerializer=(0,j.WQX)(jt);options=(0,j.WQX)(di,{optional:!0})||{};canceledNavigationResolution=this.options.canceledNavigationResolution||"replace";location=(0,j.WQX)(B.aZ);urlHandlingStrategy=(0,j.WQX)(no);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";currentUrlTree=new _e;getCurrentUrlTree(){return this.currentUrlTree}rawUrlTree=this.currentUrlTree;getRawUrlTree(){return this.rawUrlTree}createBrowserPath({finalUrl:b,initialUrl:S,targetBrowserUrl:Z}){const Je=void 0!==b?this.urlHandlingStrategy.merge(b,S):S,At=Z??Je;return At instanceof _e?this.urlSerializer.serialize(At):At}routerUrlState(b){return void 0===b?.targetBrowserUrl||void 0===b?.finalUrl?{}:{\u0275routerUrl:this.urlSerializer.serialize(b.finalUrl)}}commitTransition({targetRouterState:b,finalUrl:S,initialUrl:Z}){S&&b?(this.currentUrlTree=S,this.rawUrlTree=this.urlHandlingStrategy.merge(S,Z),this.routerState=b):this.rawUrlTree=Z}routerState=Tn(null,(0,j.WQX)(j.uvJ));getRouterState(){return this.routerState}_stateMemento=this.createStateMemento();get stateMemento(){return this._stateMemento}updateStateMemento(){this._stateMemento=this.createStateMemento()}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}restoredState(){return this.location.getState()}static \u0275fac=function(S){return new(S||_)};static \u0275prov=j.jDH({token:_,factory:()=>(0,j.WQX)(No),providedIn:"root"})}return _})(),No=(()=>{class _ extends Io{currentPageId=0;lastSuccessfulId=-1;get browserPageId(){return"computed"!==this.canceledNavigationResolution?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}registerNonRouterCurrentEntryChangeListener(b){return this.location.subscribe(S=>{"popstate"===S.type&&setTimeout(()=>{b(S.url,S.state,"popstate",{replaceUrl:!0})})})}handleRouterEvent(b,S){b instanceof Wn?this.updateStateMemento():b instanceof tr?this.commitTransition(S):b instanceof Ar?"eager"===this.urlUpdateStrategy&&(S.extras.skipLocationChange||this.setBrowserUrl(this.createBrowserPath(S),S)):b instanceof Sr?(this.commitTransition(S),"deferred"===this.urlUpdateStrategy&&!S.extras.skipLocationChange&&this.setBrowserUrl(this.createBrowserPath(S),S)):b instanceof On&&!function Qn(_){return _ instanceof On&&(_.code===kn.Redirect||_.code===kn.SupersededByNewNavigation)}(b)?this.restoreHistory(S):b instanceof ir?this.restoreHistory(S,!0):b instanceof Kn&&(this.lastSuccessfulId=b.id,this.currentPageId=this.browserPageId)}setBrowserUrl(b,S){const{extras:Z,id:Je}=S,{replaceUrl:At,state:gt}=Z;if(this.location.isCurrentPathEqualTo(b)||At){const mn=this.browserPageId,Sn={...gt,...this.generateNgRouterState(Je,mn,S)};this.location.replaceState(b,"",Sn)}else{const mn={...gt,...this.generateNgRouterState(Je,this.browserPageId+1,S)};this.location.go(b,"",mn)}}restoreHistory(b,S=!1){if("computed"===this.canceledNavigationResolution){const Je=this.currentPageId-this.browserPageId;0!==Je?this.location.historyGo(Je):this.getCurrentUrlTree()===b.finalUrl&&0===Je&&(this.resetInternalState(b),this.resetUrlToCurrentUrlTree())}else"replace"===this.canceledNavigationResolution&&(S&&this.resetInternalState(b),this.resetUrlToCurrentUrlTree())}resetInternalState({finalUrl:b}){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,b??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.getRawUrlTree()),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(b,S,Z){return"computed"===this.canceledNavigationResolution?{navigationId:b,\u0275routerPageId:S,...this.routerUrlState(Z)}:{navigationId:b,...this.routerUrlState(Z)}}static \u0275fac=(()=>{let b;return function(Z){return(b||(b=K.xGo(_)))(Z||_)}})();static \u0275prov=j.jDH({token:_,factory:_.\u0275fac,providedIn:"root"})}return _})(),os=(()=>{class _{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}disposed=!1;nonRouterCurrentEntryChangeSubscription;console=(0,j.WQX)(K.C7A);stateManager=(0,j.WQX)(Io);options=(0,j.WQX)(di,{optional:!0})||{};pendingTasks=(0,j.WQX)(j.rev);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";navigationTransitions=(0,j.WQX)(ro);
1urlSerializer=(0,j.WQX)(jt);location=(0,j.WQX)(B.aZ);urlHandlingStrategy=(0,j.WQX)(no);injector=(0,j.WQX)(j.uvJ);_events=new Ve.B;get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}navigated=!1;routeReuseStrategy=(0,j.WQX)(cs);injectorCleanup=(0,j.WQX)(Mo,{optional:!0});onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore";config=(0,j.WQX)(qr,{optional:!0})?.flat()??[];componentInputBindingEnabled=!!(0,j.WQX)(yi,{optional:!0});currentNavigation=this.navigationTransitions.currentNavigation.asReadonly();constructor(){this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this).subscribe({error:b=>{}}),this.subscribeToNavigationEvents()}eventsSubscription=new tt.yU;subscribeToNavigationEvents(){const b=this.navigationTransitions.events.subscribe(S=>{try{const Z=this.navigationTransitions.currentTransition,Je=(0,L.O8)(this.navigationTransitions.currentNavigation);if(null!==Z&&null!==Je)if(this.stateManager.handleRouterEvent(S,Je),S instanceof On&&S.code!==kn.Redirect&&S.code!==kn.SupersededByNewNavigation)this.navigated=!0;else if(S instanceof Kn)this.navigated=!0,this.injectorCleanup?.(this.routeReuseStrategy,this.routerState,this.config);else if(S instanceof Er){const At=S.navigationBehaviorOptions,gt=this.urlHandlingStrategy.merge(S.url,Z.currentRawUrl),mn={scroll:Z.extras.scroll,browserUrl:Z.extras.browserUrl,info:Z.extras.info,skipLocationChange:Z.extras.skipLocationChange,replaceUrl:Z.extras.replaceUrl||"eager"===this.urlUpdateStrategy||ho(Z.source),...At};this.scheduleNavigation(gt,gn,null,mn,{resolve:Z.resolve,reject:Z.reject,promise:Z.promise})}(function br(_){return!(_ instanceof Sr||_ instanceof Er||_ instanceof Or)})(S)&&this._events.next(S)}catch(Z){this.navigationTransitions.transitionAbortWithErrorSubject.next(Z)}});this.eventsSubscription.add(b)}resetRootComponentType(b){this.routerState.root.component=b,this.navigationTransitions.rootComponentType=b}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),gn,this.stateManager.restoredState(),{replaceUrl:!0})}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((b,S,Z,Je)=>{this.navigateToSyncWithBrowser(b,Z,S,Je)})}navigateToSyncWithBrowser(b,S,Z,Je){const At=Z?.navigationId?Z:null,gt=Z?.\u0275routerUrl??b;if(Z?.\u0275routerUrl&&(Je={...Je,browserUrl:b}),Z){const Sn={...Z};delete Sn.navigationId,delete Sn.\u0275routerPageId,delete Sn.\u0275routerUrl,0!==Object.keys(Sn).length&&(Je.state=Sn)}const mn=this.parseUrl(gt);this.scheduleNavigation(mn,S,At,Je).catch(Sn=>{this.disposed||this.injector.get(j.ZTf)(Sn)})}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return(0,L.O8)(this.navigationTransitions.currentNavigation)}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(b){this.config=b.map(_o),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this._events.unsubscribe(),this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription?.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0,this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(b,S={}){const{relativeTo:Z,queryParams:Je,fragment:At,queryParamsHandling:gt,preserveFragment:mn}=S,Sn=mn?this.currentUrlTree.fragment:At;let A,or=null;switch(gt??this.options.defaultQueryParamsHandling){case"merge":or={...this.currentUrlTree.queryParams,...Je};break;case"preserve":or=this.currentUrlTree.queryParams;break;default:or=Je||null}null!==or&&(or=this.removeEmptyProps(or));try{A=An(Z?Z.snapshot:this.routerState.snapshot.root)}catch{("string"!=typeof b[0]||"/"!==b[0][0])&&(b=[]),A=this.currentUrlTree.root}return fn(A,b,or,Sn??null,this.urlSerializer)}navigateByUrl(b,S={skipLocationChange:!1}){const Z=Rn(b)?b:this.parseUrl(b),Je=this.urlHandlingStrategy.merge(Z,this.rawUrlTree);return this.scheduleNavigation(Je,gn,null,S)}navigate(b,S={skipLocationChange:!1}){return function Ko(_){for(let C=0;C<_.length;C++)if(null==_[C])throw new j.buA(4008,!1)}(b),this.navigateByUrl(this.createUrlTree(b,S),S)}serializeUrl(b){return this.urlSerializer.serialize(b)}parseUrl(b){try{return this.urlSerializer.parse(b)}catch{return this.console.warn((0,j.OsK)(4018,!1)),this.urlSerializer.parse("/")}}isActive(b,S){let Z;if(Z=!0===S?{...Ee}:!1===S?{...i}:{...i,...S},Rn(b))return ot(this.currentUrlTree,b,Z);const Je=this.parseUrl(b);return ot(this.currentUrlTree,Je,Z)}removeEmptyProps(b){return Object.entries(b).reduce((S,[Z,Je])=>(null!=Je&&(S[Z]=Je),S),{})}scheduleNavigation(b,S,Z,Je,At){if(this.disposed)return Promise.resolve(!1);let gt,mn,Sn;At?(gt=At.resolve,mn=At.reject,Sn=At.promise):Sn=new Promise((A,re)=>{gt=A,mn=re});const or=this.pendingTasks.add();return function ps(_,C){_.events.pipe((0,oe.p)(b=>b instanceof Kn||b instanceof On||b instanceof ir||b instanceof tr),(0,Be.T)(b=>b instanceof Kn||b instanceof tr?0:b instanceof On&&(b.code===kn.Redirect||b.code===kn.SupersededByNewNavigation)?2:1),(0,oe.p)(b=>2!==b),(0,pt.s)(1)).subscribe(()=>{C()})}(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(or))}),this.navigationTransitions.handleNavigationRequest({source:S,restoredState:Z,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:b,extras:Je,resolve:gt,reject:mn,promise:Sn,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}
1),Sn.catch(Promise.reject.bind(Promise))}static \u0275fac=function(S){return new(S||_)};static \u0275prov=j.jDH({token:_,factory:_.\u0275fac,providedIn:"root"})}return _})()},6264(Yt,ve,a){a.d(ve,{Ii:()=>ye,NJ:()=>P,_5:()=>Zt,lh:()=>ue,oH:()=>se,u$:()=>wt});var rt=a(9204),Kt=(a(6223),a(316)),St=(a(7580),a(6124)),yt=a(6563),Me=a(7511),De=a(3305),Ee=a(4205),i=a(4600),ke=a(9452),ot=a(1903),Xe=a(1567),fe=a(3222),Y=a(1365);class P{}let wt=(()=>{class ee{router;injector;preloadingStrategy;loader;subscription;constructor(Ke,ft,Jt,on){this.router=Ke,this.injector=ft,this.preloadingStrategy=Jt,this.loader=on}setUpPreloading(){this.subscription=this.router.events.pipe((0,Xe.p)(Ke=>Ke instanceof De.wF),(0,ot.H)(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription?.unsubscribe()}processRoutes(Ke,ft){const Jt=[];for(const on of ft){on.providers&&!on._injector&&(on._injector=(0,St.Ol2)(on.providers,Ke,""));const wn=on._injector??Ke;on._loadedNgModuleFactory&&!on._loadedInjector&&(on._loadedInjector=on._loadedNgModuleFactory.create(wn).injector);const jn=on._loadedInjector??wn;(on.loadChildren&&!on._loadedRoutes&&void 0===on.canLoad||on.loadComponent&&!on._loadedComponent)&&Jt.push(this.preloadConfig(wn,on)),(on.children||on._loadedRoutes)&&Jt.push(this.processRoutes(jn,on.children??on._loadedRoutes))}return(0,i.H)(Jt).pipe((0,fe.U)())}preloadConfig(Ke,ft){return this.preloadingStrategy.preload(ft,()=>{if(Ke.destroyed)return(0,ke.of)(null);let Jt;Jt=ft.loadChildren&&void 0===ft.canLoad?(0,i.H)(this.loader.loadChildren(Ke,ft)):(0,ke.of)(null);const on=Jt.pipe((0,Y.Z)(wn=>null===wn?(0,ke.of)(void 0):(ft._loadedRoutes=wn.routes,ft._loadedInjector=wn.injector,ft._loadedNgModuleFactory=wn.factory,this.processRoutes(wn.injector??Ke,wn.routes))));if(ft.loadComponent&&!ft._loadedComponent){const wn=this.loader.loadComponent(Ke,ft);return(0,i.H)([on,wn]).pipe((0,fe.U)())}return on})}static \u0275fac=function(ft){return new(ft||ee)(yt.KVO(De.Ix),yt.KVO(yt.uvJ),yt.KVO(P),yt.KVO(De.D$))};static \u0275prov=yt.jDH({token:ee,factory:ee.\u0275fac,providedIn:"root"})}return ee})();const Mt=new yt.nKC("");let jt=(()=>{class ee{options;routerEventsSubscription;scrollEventsSubscription;lastId=0;lastSource=De.wU;restoredId=0;store={};isHydrating=(0,yt.WQX)(St.qBF,{optional:!0})??!1;urlSerializer=(0,yt.WQX)(De.Sd);zone=(0,yt.WQX)(yt.SKi);viewportScroller=(0,yt.WQX)(Kt.Xr);transitions=(0,yt.WQX)(De.J2);constructor(Ke){this.options=Ke,this.options.scrollPositionRestoration||="disabled",this.options.anchorScrolling||="disabled",this.isHydrating&&(0,yt.WQX)(St.o8S).whenStable().then(()=>{this.isHydrating=!1})}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(Ke=>{Ke instanceof De.Z?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=Ke.navigationTrigger,this.restoredId=Ke.restoredState?Ke.restoredState.navigationId:0):Ke instanceof De.wF?(this.lastId=Ke.id,this.scheduleScrollEvent(Ke,this.urlSerializer.parse(Ke.urlAfterRedirects).fragment)):Ke instanceof De.lW&&Ke.code===De.mo.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(Ke,this.urlSerializer.parse(Ke.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(Ke=>{if(!(Ke instanceof De.OY)||"manual"===Ke.scrollBehavior)return;const ft={behavior:"instant"};Ke.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0],ft):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(Ke.position,ft):Ke.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(Ke.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0])})}scheduleScrollEvent(Ke,ft){var Jt=this;if(this.isHydrating)return;const on=(0,Me.O8)(this.transitions.currentNavigation)?.extras.scroll;this.zone.runOutsideAngular((0,rt.A)(function*(){yield new Promise(wn=>{setTimeout(wn),typeof requestAnimationFrame<"u"&&requestAnimationFrame(wn)}),Jt.zone.run(()=>{Jt.transitions.events.next(new De.OY(Ke,"popstate"===Jt.lastSource?Jt.store[Jt.restoredId]:null,ft,on))})}))}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static \u0275fac=function(ft){St.QTQ()};static \u0275prov=yt.jDH({token:ee,factory:ee.\u0275fac})}return ee})();function ue(ee,...We){return(0,yt.EmA)([{provide:De.bw,multi:!0,useValue:ee},[],{provide:De.nX,useFactory:lt},{provide:St.iLQ,multi:!0,useFactory:at},We.map(Ke=>Ke.\u0275providers)])}function lt(){return(0,yt.WQX)(De.Ix).routerState.root}function xt(ee,We){return{\u0275kind:ee,\u0275providers:We}}function se(ee={}){return xt(4,[{provide:Mt,useFactory:()=>new jt(ee)}])}function at(){const ee=(0,yt.WQX)(yt.zZn);return We=>{const Ke=ee.get(St.o8S);if(We!==Ke.components[0])return;
1const ft=ee.get(De.Ix),Jt=ee.get(Wt);1===ee.get(Xt)&&ft.initialNavigation(),ee.get(R,null,{optional:!0})?.setUpPreloading(),ee.get(Mt,null,{optional:!0})?.init(),ft.resetRootComponentType(Ke.componentTypes[0]),Jt.closed||(Jt.next(),Jt.complete(),Jt.unsubscribe())}}const Wt=new yt.nKC("",{factory:()=>new Ee.B}),Xt=new yt.nKC("",{factory:()=>1});function Zt(){let ee=[];return ee=[],xt(1,ee)}const R=new yt.nKC("");function ye(ee){return xt(5,[{provide:De.J_,useValue:ee}])}},9791(Yt,ve,a){a.d(ve,{WJ:()=>xe});var u=a(6563),h=a(6124),g=a(3942),Q=a(4205),D=a(4318);const I=new g.c(D.l);var O=a(6647),X=a(4334),B=a(1567),K=a(271);const j="Service workers are disabled or not supported by this browser";class Pe{serviceWorker;worker;registration;events;constructor(q,F){if(this.serviceWorker=q,q){let N=null;const U=new Q.B;this.worker=new g.c(de=>(null!==N&&de.next(N),U.subscribe(He=>de.next(He))));const ce=()=>{const{controller:de}=q;null!==de&&(N=de,U.next(N))};q.addEventListener("controllerchange",ce),ce(),this.registration=this.worker.pipe((0,O.n)(()=>q.getRegistration().then(de=>{if(!de)throw new u.buA(5601,!1);return de})));const ie=new Q.B;this.events=ie.asObservable();const we=de=>{const{data:He}=de;He?.type&&ie.next(He)};q.addEventListener("message",we),F?.get(h.o8S,null,{optional:!0})?.onDestroy(()=>{q.removeEventListener("controllerchange",ce),q.removeEventListener("message",we)})}else this.worker=this.events=this.registration=new g.c(N=>N.error(new u.buA(5601,!1)))}postMessage(q,F){return new Promise(N=>{this.worker.pipe((0,X.s)(1)).subscribe(U=>{U.postMessage({action:q,...F}),N()})})}postMessageWithOperation(q,F,N){const U=this.waitForOperationCompleted(N),ce=this.postMessage(q,F);return Promise.all([ce,U]).then(([,ie])=>ie)}generateNonce(){return Math.round(1e7*Math.random())}eventsOfType(q){let F;return F="string"==typeof q?N=>N.type===q:N=>q.includes(N.type),this.events.pipe((0,B.p)(F))}nextEventOfType(q){return this.eventsOfType(q).pipe((0,X.s)(1))}waitForOperationCompleted(q){return new Promise((F,N)=>{this.eventsOfType("OPERATION_COMPLETED").pipe((0,B.p)(U=>U.nonce===q),(0,X.s)(1),(0,K.T)(U=>{if(void 0!==U.result)return U.result;throw new Error(U.error)})).subscribe({next:F,error:N})})}get isEnabled(){return!!this.serviceWorker}}let L=(()=>{class it{sw;messages;notificationClicks;notificationCloses;pushSubscriptionChanges;subscription;get isEnabled(){return this.sw.isEnabled}pushManager=null;subscriptionChanges=new Q.B;constructor(F){if(this.sw=F,!F.isEnabled)return this.messages=I,this.notificationClicks=I,this.notificationCloses=I,this.pushSubscriptionChanges=I,void(this.subscription=I);this.messages=this.sw.eventsOfType("PUSH").pipe((0,K.T)(U=>U.data)),this.notificationClicks=this.sw.eventsOfType("NOTIFICATION_CLICK").pipe((0,K.T)(U=>U.data)),this.notificationCloses=this.sw.eventsOfType("NOTIFICATION_CLOSE").pipe((0,K.T)(U=>U.data)),this.pushSubscriptionChanges=this.sw.eventsOfType("PUSH_SUBSCRIPTION_CHANGE").pipe((0,K.T)(U=>U.data)),this.pushManager=this.sw.registration.pipe((0,K.T)(U=>U.pushManager));const N=this.pushManager.pipe((0,O.n)(U=>U.getSubscription()));this.subscription=new g.c(U=>{const ce=N.subscribe(U),ie=this.subscriptionChanges.subscribe(U);return()=>{ce.unsubscribe(),ie.unsubscribe()}})}requestSubscription(F){if(!this.sw.isEnabled||null===this.pushManager)return Promise.reject(new Error(j));const N={userVisibleOnly:!0};let U=this.decodeBase64(F.serverPublicKey.replace(/_/g,"/").replace(/-/g,"+")),ce=new Uint8Array(new ArrayBuffer(U.length));for(let ie=0;ie<U.length;ie++)ce[ie]=U.charCodeAt(ie);return N.applicationServerKey=ce,new Promise((ie,we)=>{this.pushManager.pipe((0,O.n)(oe=>oe.subscribe(N)),(0,X.s)(1)).subscribe({next:oe=>{this.subscriptionChanges.next(oe),ie(oe)},error:we})})}unsubscribe(){if(!this.sw.isEnabled)return Promise.reject(new Error(j));const F=N=>{if(null===N)throw new u.buA(5602,!1);return N.unsubscribe().then(U=>{if(!U)throw new u.buA(5603,!1);this.subscriptionChanges.next(null)})};return new Promise((N,U)=>{this.subscription.pipe((0,X.s)(1),(0,O.n)(F)).subscribe({next:N,error:U})})}decodeBase64(F){return atob(F)}static \u0275fac=function(N){return new(N||it)(u.KVO(Pe))};static \u0275prov=u.jDH({token:it,factory:it.\u0275fac})}return it})(),ne=(()=>{class it{sw;
1versionUpdates;unrecoverable;get isEnabled(){return this.sw.isEnabled}ongoingCheckForUpdate=null;constructor(F){if(this.sw=F,!F.isEnabled)return this.versionUpdates=I,void(this.unrecoverable=I);this.versionUpdates=this.sw.eventsOfType(["VERSION_DETECTED","VERSION_INSTALLATION_FAILED","VERSION_READY","NO_NEW_VERSION_DETECTED"]),this.unrecoverable=this.sw.eventsOfType("UNRECOVERABLE_STATE")}checkForUpdate(){if(!this.sw.isEnabled)return Promise.reject(new Error(j));if(this.ongoingCheckForUpdate)return this.ongoingCheckForUpdate;const F=this.sw.generateNonce();return this.ongoingCheckForUpdate=this.sw.postMessageWithOperation("CHECK_FOR_UPDATES",{nonce:F},F).finally(()=>{this.ongoingCheckForUpdate=null}),this.ongoingCheckForUpdate}activateUpdate(){if(!this.sw.isEnabled)return Promise.reject(new u.buA(5601,!1));const F=this.sw.generateNonce();return this.sw.postMessageWithOperation("ACTIVATE_UPDATE",{nonce:F},F)}static \u0275fac=function(N){return new(N||it)(u.KVO(Pe))};static \u0275prov=u.jDH({token:it,factory:it.\u0275fac})}return it})();const Ve=new u.nKC("");function Fe(){const it=(0,u.WQX)(Rt);if(!("serviceWorker"in navigator)||!1===it.enabled)return;const q=(0,u.WQX)(Ve),F=(0,u.WQX)(u.SKi),N=(0,u.WQX)(h.o8S);F.runOutsideAngular(()=>{const U=navigator.serviceWorker,ce=()=>U.controller?.postMessage({action:"INITIALIZE"});U.addEventListener("controllerchange",ce),N.onDestroy(()=>{U.removeEventListener("controllerchange",ce)})}),F.runOutsideAngular(()=>{let U;const{registrationStrategy:ce}=it;if("function"==typeof ce)U=new Promise(ie=>ce().subscribe(()=>ie()));else{const[ie,...we]=(ce||"registerWhenStable:30000").split(":");switch(ie){case"registerImmediately":U=Promise.resolve();break;case"registerWithDelay":U=tt(+we[0]||0);break;case"registerWhenStable":U=Promise.race([N.whenStable(),tt(+we[0])]);break;default:throw new u.buA(5600,!1)}}U.then(()=>{N.destroyed||navigator.serviceWorker.register(q,{scope:it.scope,updateViaCache:it.updateViaCache,type:it.type}).catch(ie=>console.error((0,u.OsK)(5604,!1)))})})}function tt(it){return new Promise(q=>setTimeout(q,it))}function nt(){const it=(0,u.WQX)(Rt),q=(0,u.WQX)(u.zZn);return new Pe(!1!==it.enabled?navigator.serviceWorker:void 0,q)}class Rt{enabled;updateViaCache;type;scope;registrationStrategy}function Oe(it,q={}){return(0,u.EmA)([L,ne,{provide:Ve,useValue:it},{provide:Rt,useValue:q},{provide:Pe,useFactory:nt},(0,h.phd)(Fe)])}let xe=(()=>{class it{static register(F,N={}){return{ngModule:it,providers:[Oe(F,N)]}}static \u0275fac=function(N){return new(N||it)};static \u0275mod=h.$C({type:it});static \u0275inj=u.G2t({providers:[L,ne]})}return it})()},4568(Yt,ve,a){a.d(ve,{d:()=>or});var u=a(6563),h=a(6124),g=a(9204),Q=a(6223),D=a(3087);let O=(()=>{class A{constructor(){const c=(0,u.WQX)(D.Qc);this.globalState=c.okpGlobal=c.okpGlobal||{}}get(c){return this.globalState[c]}set(c,T){this.globalState[c]=T}static{this.\u0275fac=function(T){return new(T||A)}}static{this.\u0275prov=u.jDH({token:A,factory:A.\u0275fac,providedIn:"root"})}}return A})();function q(A,re,c,T){return c?{provide:A,...c,multi:T}:{provide:A,useClass:re,multi:T}}var ce=a(9452),ie=a(5682),we=a(6647),oe=a(1567),de=a(9400),He=a(4205),Be=a(5797),$e=a(7824),Te=a(3305);let Et=(()=>{class A{static{this.\u0275fac=function(T){return new(T||A)}}static{this.\u0275prov=u.jDH({token:A,factory:A.\u0275fac})}}return A})(),kt=(()=>{class A{#e=(0,u.WQX)(u.zZn);getPortalInfoService(){return this.#e.get(Et)}static{this.\u0275fac=function(T){return new(T||A)}}static{this.\u0275prov=u.jDH({token:A,factory:A.\u0275fac})}}return A})(),ht=(()=>{class A{getIntegrationMode(){return"standard"}getType(){return"UNKNOWN"}getHeaderHeight(){return de.w}static{this.\u0275fac=function(T){return new(T||A)}}static{this.\u0275prov=u.jDH({token:A,factory:A.\u0275fac})}}return A})();function Ot(A){const re=new kt;
1return A.set(De,re),A.set("okpApi",re),re}function Lt(A={}){return(0,u.EmA)([{provide:kt,useFactory:Ot,deps:[O]},q(Et,ht,A?.portalService)])}const zt=new Array;function rt(A){zt.push(A)}const De=`okpApi_v${new u.RxE("1.0.0").major}`;var Ee=a(8764),i=a(4334),ke=a(591),ot=a(271),Xe=a(7485);let Ut=(()=>{class A{static{this.\u0275fac=function(T){return new(T||A)}}static{this.\u0275prov=u.jDH({token:A,factory:A.\u0275fac})}}return A})(),_n=(()=>{class A{static{this.\u0275fac=function(T){return new(T||A)}}static{this.\u0275prov=u.jDH({token:A,factory:A.\u0275fac})}}return A})(),kn=(()=>{class A{static{this.\u0275fac=function(T){return new(T||A)}}static{this.\u0275prov=u.jDH({token:A,factory:A.\u0275fac})}}return A})(),On=(()=>{class A{static{this.\u0275fac=function(T){return new(T||A)}}static{this.\u0275prov=u.jDH({token:A,factory:A.\u0275fac})}}return A})(),tr=(()=>{class A{static{this.\u0275fac=function(T){return new(T||A)}}static{this.\u0275prov=u.jDH({token:A,factory:A.\u0275fac})}}return A})();class bt{}class dn{}let un=(()=>{class A{static{this.\u0275fac=function(T){return new(T||A)}}static{this.\u0275prov=u.jDH({token:A,factory:A.\u0275fac})}}return A})(),Fn=(()=>{class A{static{this.\u0275fac=function(T){return new(T||A)}}static{this.\u0275prov=u.jDH({token:A,factory:A.\u0275fac})}}return A})(),lr=(()=>{class A{static{this.\u0275fac=function(T){return new(T||A)}}static{this.\u0275prov=u.jDH({token:A,factory:A.\u0275fac})}}return A})(),Cr=(()=>{class A{constructor(){this.localeChanges=(0,ce.of)()}static{this.\u0275fac=function(T){return new(T||A)}}static{this.\u0275prov=u.jDH({token:A,factory:A.\u0275fac})}}return A})();class Sr{}class Or{}function br(A,re){if(0==A.length)return re;if(0==re.length)return A;let c=0;return A.endsWith("/")&&c++,re.startsWith("/")&&c++,2==c?A+re.substring(1):1==c?A+re:A+"/"+re}function he(A){return A.startsWith("/")?A.substring(1):A}let je=(()=>{class A extends Q.aZ{#e=(0,u.WQX)(Sr);constructor(){super((0,u.WQX)(Q.hb))}normalize(c){return Q.aZ.stripTrailingSlash(function z(A,re){return A&&re.startsWith(A)?re.substring(A.length):re}(this.#e.getAppBasePath()??"",function dt(A){return A.replace(/\/index.html$/,"")}(c)))}static{this.\u0275fac=function(T){return new(T||A)}}static{this.\u0275prov=u.jDH({token:A,factory:A.\u0275fac})}}return A})();class Ht{}function me(A){return(0,ie.F)((0,oe.p)(re=>re instanceof A))}function Tn(A){return A instanceof Te.wF||A instanceof Te.L6||A instanceof Te.Cq||A instanceof Te.lW}let $n=(()=>{class A{#e=(0,u.WQX)(Te.Ix,{optional:!0});#t=(0,u.WQX)(Q.aZ);#n="function"==typeof this.#e?.currentNavigation;#r=null;constructor(){const c=this.#e;c?.events.pipe(me(Te.Z),(0,Ee.M)(()=>this.#r=this.#t.path()),(0,we.n)(()=>c.events.pipe((0,oe.p)(Tn),(0,i.s)(1))),(0,ke.c)(0)).subscribe(()=>{this.getCurrentNavigation()||(this.#r=null)})}isSameHistoryEntry(){const c=this.getCurrentNavigation();return!!c&&(!!c.extras.replaceUrl||!!c.extras.skipLocationChange||this.isSameUrl(c))}getCurrentNavigation(){if(this.#e)return this.#n?this.#e.currentNavigation():this.#e.getCurrentNavigation()}isSameUrl(c){const T=c.finalUrl??c.initialUrl;return this.#e?.serializeUrl(T)===this.#r}static{this.\u0275fac=function(T){return new(T||A)}}static{this.\u0275prov=u.jDH({token:A,factory:A.\u0275fac,providedIn:"root"})}}return A})(),zn=(()=>{let A=class uu{constructor(){this.router=(0,u.WQX)(Te.Ix,{optional:!0}),this.navigationIdService=(0,u.WQX)(Ht,{optional:!0}),this.webCompLifecycleService=(0,u.WQX)(Or),this.routingInfoService=(0,u.WQX)($n)}#e;init(){const c=this.router,T=this.navigationIdService;c&&T&&(this.#e=c.events.pipe(me(Te.Z),(0,oe.p)(m=>"imperative"===m.navigationTrigger),(0,we.n)(()=>c.events.pipe(me(Te.wF),(0,oe.p)(()=>!this.webCompLifecycleService.isEnabled()||this.webCompLifecycleService.isActive())))).subscribe(()=>T.handleWebCompNavigation(this.routingInfoService.isSameHistoryEntry())))}onWebCompInit(){this.init()}onWebCompDestroy(){this.#e?.unsubscribe()}static{this.\u0275fac=function(T){return new(T||uu)}}static{this.\u0275prov=u.jDH({token:uu,factory:uu.\u0275fac})}};return A=(0,$e.Cg)([rt],A),A})();var Hn;
1const Zr=new u.nKC("nav_step_tracing");let Rr=class du{static{Hn=this}#e=0;#t=(0,u.WQX)($n);#n=(0,u.WQX)(Q.aZ);#r=(0,u.WQX)(Te.Ix,{optional:!0});constructor(){const c=(0,u.WQX)(lr).getLogger(Hn),T=(0,u.WQX)(Zr,{optional:!0});this.trace=m=>{T&&c.debug(`[${this.getNavStepName()}] ${m} current value: ${this.#e}`)}}init(){this.restoreNavigationSteps("init"),this.subscription=this.#r?.events.pipe(me(Te.Z),(0,oe.p)(c=>"hashchange"!==c.navigationTrigger),(0,we.n)(c=>this.#r?.events.pipe(me(Te.wF),(0,ot.T)(()=>c))??de.w)).subscribe(c=>"popstate"===c.navigationTrigger?this.restoreNavigationSteps("popstate event",c.restoredState):this.handleImperative()),this.updateHistoryState(),this.trace("navigation recording has started.")}handleImperative(){this.#t.isSameHistoryEntry()||(this.#e++,this.trace("navigation steps incremented.")),this.updateHistoryState()}restoreNavigationSteps(c,T=this.#n.getState()){const m=this.getNavStepName();if(function ti(A,re){return!!re&&"object"==typeof re&&A in re}(m,T)){const et=this.#e;this.#e=T[m],this.trace(`navigation steps restored from history after ${c}. before change: ${et}.`)}else this.trace(`${c} without history navigation steps detected`)}get navigationSteps(){return this.#e}reset(){this.#e=0,this.updateHistoryState(),this.trace("navigation steps have been reset. after-reset.")}updateHistoryState(){const c=this.#n.getState(),T={[this.getNavStepName()]:this.#e};this.#n.replaceState(this.#n.path(!0),"",{...c,...T})}getNavStepName(){return"navStep"}getCounterStateName(){return"navigation-counter-state"}static{this.\u0275fac=function(T){return new(T||du)}}static{this.\u0275prov=u.jDH({token:du,factory:du.\u0275fac})}};Rr=Hn=(0,$e.Cg)([rt,(0,$e.Sn)("design:paramtypes",[])],Rr);class gi{}let Di=(()=>{let A=class Hc extends Rr{#e=(0,u.WQX)(gi);#t=(0,u.WQX)(Rr);onWebCompInit(){this.init()}onWebCompDestroy(){this.subscription?.unsubscribe(),this.trace("navigation recording has stopped.")}updateHistoryState(){super.updateHistoryState(),this.#t.updateHistoryState()}getNavStepName(){return this.addContentId(super.getNavStepName())}getCounterStateName(){return this.addContentId(super.getCounterStateName())}addContentId(c){return c+"_"+this.#e.getContext()?.componentId}static{this.\u0275fac=(()=>{let c;return function(m){return(c||(c=h.xGo(Hc)))(m||Hc)}})()}static{this.\u0275prov=u.jDH({token:Hc,factory:Hc.\u0275fac})}};return A=(0,$e.Cg)([rt],A),A})();const _o=new u.nKC("routing feature options",{factory:()=>({})});var Ri;let li=class fu{static{Ri=this}#e;#t=(0,u.WQX)(lr).getLogger(Ri);#n=(0,u.WQX)(Q.aZ);#r=(0,u.WQX)(Sr);#i=(0,u.WQX)(Or);#o=(0,u.WQX)(Di);#s=(0,u.WQX)(u.SKi);#a=(0,u.WQX)(zn);#c=(0,u.WQX)(_o,{optional:!0});#l=(0,u.WQX)(Te.Ix,{optional:!0});init(){var c=this;return(0,g.A)(function*(){if(!c.#l||!c.#l.config.length)throw new Error("BWS API is configured to use with routing, but no routes are provided.");if(c.#n instanceof je)return c.#i.isEnabled()?void 0:(c.#t.warn("Support for multi custom elements not available"),c.#o.init(),c.#a.init(),c.onWebCompInit());c.#t.error("BWS routing initialization failed, because the Location of the BWS API was overridden. This can happen if the router provider was declared after the BWS API. Order matters in case of providers.")})()}onWebCompInit(){var c=this;return(0,g.A)(function*(){c.#e?(c.#r.isOwnRoute(c.#e.url)&&(yield c.resetNavigation(c.#e)),c.#e=void 0):c.#l?.initialNavigation()})()}onRouteChanged(c){var T=this;return(0,g.A)(function*(){!T.#r.isOwnRoute(c.url)||T.#i.isEnabled()&&!T.#i.isActive()?T.#e=c:yield T.#s.run(()=>T.resetNavigation(c))})()}resetNavigation(c){var T=this;return(0,g.A)(function*(){const m=c.extras?.sameContent;m||T.#o.reset();let H=T.#n.normalize(c.url);T.#c?.hashBased&&H.indexOf("#")>=0&&(H=(A=>{const re=A.indexOf("#"),c=A.substring(re+1),T=A.indexOf("?");return T>=0&&!c.includes("?")?c+A.substring(T,re):c})(H));const et={...c.extras,onSameUrlNavigation:"reload",replaceUrl:!m||c.extras?.replaceUrl};return T.#l?.navigateByUrl(H,et)})()}static{this.\u0275fac=function(T){return new(T||fu)}}static{this.\u0275prov=u.jDH({token:fu,factory:fu.\u0275fac})}};li=Ri=(0,$e.Cg)([rt],li);class Wr{}let si=(()=>{class A{static{this.\u0275fac=function(T){return new(T||A)}}static{this.\u0275prov=u.jDH({token:A,factory:A.\u0275fac})}}return A})();class ui{}class ji{}class uo{constructor(re){this.injector=re}getTabCommunicationService(){return this.injector.get(Wr)}getReloadDataService(){return this.injector.get(ui)}getAppBasePathProvider(){return this.injector.get(Sr)}getEventBusService(){return this.injector.get(Fn)}getLoggingService(){return this.injector.get(lr)}getApiEndpointService(){return this.injector.get(_n)}getComponentFactory(){return this.injector.get(On)}getLocalizationService(){return this.injector.get(Cr)}
1getNavigationService(){return this.injector.get(tr)}getNavigationIdService(){return this.injector.get(Ht)}getContextService(){return this.injector.get(si)}getBwsInterceptor(){return this.injector.get(bt)}getBwsBackendInterceptor(){return this.injector.get(dn)}getAssetService(){return this.injector.get(Ut)}getContentLookupService(){return this.injector.get(kn)}getLifecycleConnector(){return this.injector.get(ji)}getNavigationCounterService(){return this.injector.get(Rr)}}class Do extends He.B{#e=[];#t;constructor(re){super(),this.#t=Math.max(1,re)}next(re){this.isStopped||(this.#e.length>=this.#t&&this.#e.splice(0,this.#e.length+1-this.#t),this.#e.push(re),super.next(re))}getBuffer(){return this.#e.slice()}get bufferSize(){return this.#t}setBuffer(re){if(this.hasBufferedElements())throw new Error("The buffer isn't empty. Use the clearBuffer() instead.");this.#e=re.slice();for(const c of this.#e)this.next(c)}clearBuffer(){this.#e=[]}hasBufferedElements(){return this.#e.length>0}subscribe(re,c){if(c||null===re)throw new Error("Unsupported operation. Do not use subscribe with more than one argument, because it lacks on support with RxJs > 8. @see https://rxjs.dev/deprecations/subscribe-arguments");const T=this.#e.slice();let m;if("function"==typeof re){for(const H of T)re(H);m=super.subscribe(re)}else{if(re&&re.next)for(const H of T)re.next(H);m=super.subscribe(re)}return m}}class ai{#e={};#t=new He.B;#n;constructor(re,c){this.topic=re,this.connectorNotifier=c}getSinkKey(re){return this.topic+"#"+this.getEventKey(re)}getEventKey(re){if("*"===re)return re;let c=re.name;return re.version&&(c+="#"+re.version),c}configure(re){this.#e=re,this.connectorNotifier.register(this.topic,this.#t,this.#e)}next(re){this.initEventSinkIfNeeded(re.event),this.#t.next(re)}getSink(re){let c;return c="*"===re?this.#t:this.getEventBufferSize(re)?this.getEventSink(re):this.#t.pipe((0,oe.p)(T=>T.event.name===re.name&&T.event.version===re.version)),c}close(re){re?(this.complete(re),this.clear(re)):(this.complete(),this.clear())}complete(re){if(re){const c=this.getSinkKey(re);this.connectorNotifier.unregister(c),this.#n?.get(c)?.complete()}else this.#n&&(this.connectorNotifier.unregister(),this.#n.forEach(c=>c.complete())),this.#n=void 0}clear(re){re?this.#n?.get(this.getSinkKey(re))?.clearBuffer():this.#n?.forEach(c=>c.clearBuffer())}getEventSink(re){return(this.#n?.get(this.getSinkKey(re))||this.initializeEventSink(re)).asObservable()}initEventSinkIfNeeded(re){if(this.getEventBufferSize(re)){const c=this.getSinkKey(re);this.#n?.has(c)||this.initializeEventSink(re)}}initializeEventSink(re){this.#n||(this.#n=new Map);const c=new Do(this.getEventBufferSize(re));return this.connectorNotifier.registerBufferedSink(this.topic,this.getEventKey(re),c),this.#t.pipe((0,oe.p)(T=>T.event.name===re.name&&T.event.version===re.version)).subscribe(c),this.#n.set(this.getSinkKey(re),c),c}getEventOptions(re){return this.#e.eventOptions?.find(c=>c.event.name===re.name&&c.event.version===re.version)}getEventBufferSize(re){const c=this.getEventOptions(re);return c&&(c.bufferSize??-1)>=0?c.bufferSize??0:this.#e.defaultBufferSize??0}}function mi(A){return"string"==typeof A?{name:A}:A}class Oo{#e;constructor(re,c,T){this.#e=new ai(re,c),this._busConfig={topic:re,active:!0,defaultBufferSize:0},T&&this.configure(T)}configure(re){if((re.defaultBufferSize??0)<0)throw new Error("The defaultBufferSize has to be >= 0, if it is defined. Given defaultBufferSize: "+re.defaultBufferSize);const c=re.eventOptions?.find(T=>(T.bufferSize??0)<0);if(c)throw new Error(`The event based bufferSize has to be >= 0, if it is defined. Given bufferSize for event '${c.event.name}': ${c.bufferSize}`);this._busConfig={...this._busConfig,...re},this.#e.configure(re)}isActive(){return this._busConfig.active}close(){this._busConfig.active=!1,this.#e.close()}emit(re,c){const T=mi(re);if(!this._busConfig.active)return this.getEmitter(T);const m={event:T,data:c,topic:this._busConfig.topic,timestamp:new Date,origin:"PLATFORM_EVENT"},H=this.getCommand(T);return H&&(H.fn(m),"CONSUME_ONLY"===H.consume)||this.#e.next(m),this.getEmitter(T)}publish(re){this.#e.next(re)}on(re,c){const T="*"===re?this.#e.getSink(re):this.#e.getSink(mi(re));return c?T.subscribe(m=>c(m)):T}getCommand(re){return this._busConfig.eventOptions?.find(c=>c.event.name===re.name&&c.event.version===re.version)?.command}getEmitter(re){return{complete:()=>this.#e.complete(re),clear:()=>this.#e.clear(re),close:()=>this.#e.close(re)}}}class wo extends Oo{constructor(re,c,T){super(re,c,T),T||(this._busConfig.active=!1)}configure(re){super.configure(re),this._busConfig.active=!0}}const Wo=new u.nKC("EVENTBUS_CONNECTOR");let Jo=(()=>{class A{#e=(0,u.WQX)(Wo)??[];setup(c){this.#e.forEach(T=>T.setup(c))}register(c,T,m){this.#e.forEach(H=>H.register(c,T,m))}registerBufferedSink(c,T,m){this.#e.forEach(H=>H.registerBufferedSink(c,T,m))}unregister(c){this.#e.forEach(T=>c?T.unregister(c):T.unregister())}static{this.\u0275fac=function(T){return new(T||A)}}static{this.\u0275prov=u.jDH({token:A,factory:A.\u0275fac,providedIn:"root"})}}return A})(),Yi=(()=>{class A extends Fn{#e=(0,u.WQX)(Jo);#t;#n=new Map;constructor(){super(),this.#t=this.initBus("global",{defaultBufferSize:0}),this.#e.setup(this)}createBus(c,T){if(this.isBusActive(c))throw new Error(`eventBus for topic: '${c}' already defined`);let m=this.#n.get(c);return m?m.configure(T??{}):(m=this.initBus(c,T??{}),this.#n.set(c,m)),m}getGlobalBus(){return this.#t}isBusActive(c){return"global"===c||(this.#n.get(c)?.isActive()??!1)}getBus(c){if("global"===c)return this.getGlobalBus();let T=this.#n.get(c);return T||(T=this.initBus(c),this.#n.set(c,T)),T}initBus(c,T){return new wo(c,this.#e,T)}static{this.\u0275fac=function(T){return new(T||A)}}static{this.\u0275prov=u.jDH({token:A,factory:A.\u0275fac})}}return A})(),be=(()=>{class A{#e=(0,u.WQX)(_n);getAssetPath(c,T){if(void 0===T)throw new Error("Unsupported operation: ServiceName is mandatory");const m=c,H=T.startsWith("/assets")?T:br("/assets",T);return"bws-ui"===m?H:this.#e.getServiceUrl(m,H)}static{this.\u0275fac=function(T){return new(T||A)}}static{this.\u0275prov=u.jDH({token:A,factory:A.\u0275fac})}}return A})(),d=(()=>{class A{getAppBasePath(){}isOwnRoute(){return!1}static{this.\u0275fac=function(T){return new(T||A)}}static{this.\u0275prov=u.jDH({token:A,factory:A.\u0275fac})}}return A})();class pe{constructor(re,c,T){this.publisher=c,this.origin=T,this.source="string"==typeof re?re:re.name}debug(re,c){this.log("DEBUG",re,c)}error(re,c){let T,m,H;"string"==typeof re?(T=re,c instanceof Error?H=c:m=c):H=re,this.log("ERROR",T,m,H)}log(re,c,T,m){this.publisher.log({source:this.source,origin:this.origin,level:re,message:c,param:T,error:m})}info(re,c){this.log("INFO",re,c)}warn(re,c){this.log("WARN",re,c)}}class Ze extends lr{}class nn{constructor(){this.type="console"}log(re){var A;("DEBUG"===(A=re).level?console.debug:"WARN"===A.level?console.warn:"ERROR"===A.level?console.error:console.info)(function Vt(A,re){let c=`${A.level} | ${re}`;return A.origin&&(c+=" | "+A.origin),c+=" | "+A.source,A.message&&(c+=" | "+A.message),A.param&&(c+=" | Extra Info: "+JSON.stringify(A.param)),A.error&&(c+=" | "+A.error+" | "+A.error.stack),c}
1(re,(new Date).toLocaleString()))}}let hn=(()=>{class A extends Ze{constructor(){super(...arguments),this.publisher=new nn}getLogger(c){return new pe(c,this.publisher)}getInternalLogger(c,T){return new pe(T,this.publisher,c)}static{this.\u0275fac=(()=>{let c;return function(m){return(c||(c=h.xGo(A)))(m||A)}})()}static{this.\u0275prov=u.jDH({token:A,factory:A.\u0275fac})}}return A})();var Un;let Yn=(()=>{class A extends On{#e=(0,u.WQX)(lr).getLogger(Un);createLazyComponent(){return this.#e.warn("dummy implementation of ComponentFactoryService is used"),Promise.resolve(void 0)}static{this.\u0275fac=(()=>{let c;return function(m){return(c||(c=h.xGo(A)))(m||A)}})()}static{this.\u0275prov=u.jDH({token:A,factory:A.\u0275fac})}}return A})();var mr;Un=Yn;const fr=new u.nKC("dummy-base-path",{factory:()=>""});let sr=(()=>{class A extends _n{#e=(0,u.WQX)(lr).getLogger(mr);#t=(0,u.WQX)(fr);getServiceUrl(c,T){return this.#e.warn("dummy implementation of ApiEndpointService is used"),`${this.#t}/${c}${T}`}getPortalBasePath(){return this.#e.warn("dummy implementation of ApiEndpointService is used"),this.#t}static{this.\u0275fac=(()=>{let c;return function(m){return(c||(c=h.xGo(A)))(m||A)}})()}static{this.\u0275prov=u.jDH({token:A,factory:A.\u0275fac})}}return A})();var dr;mr=sr;
1const kr=new u.nKC("dummyLocale",{factory:()=>"de-DE"});let Tr=(()=>{class A extends Cr{constructor(){super(...arguments),this.#e=(0,u.WQX)(lr).getLogger(dr),this.localeChanges=new Be.t((0,u.WQX)(kr))}#e;getLocale(){return this.#e.warn("dummy implementation of LocalizationService is used"),this.localeChanges.value}static{this.\u0275fac=(()=>{let c;return function(m){return(c||(c=h.xGo(A)))(m||A)}})()}static{this.\u0275prov=u.jDH({token:A,factory:A.\u0275fac})}}return A})();dr=Tr;class Lr extends tr{}let Hr=(()=>{class A extends Lr{navigateById(){return Promise.resolve(!0)}navigateByUrl(){return Promise.resolve(!0)}navigateToStartPage(){return Promise.resolve(!0)}getUrlForId(){return Promise.resolve("")}toExternalUrl(c){return c}navigateToPreviousApp(){return Promise.resolve(!0)}hasPreviousApp(){return!1}hasPreviousNavigation(){return!1}static{this.\u0275fac=(()=>{let c;return function(m){return(c||(c=h.xGo(A)))(m||A)}})()}static{this.\u0275prov=u.jDH({token:A,factory:A.\u0275fac})}}return A})(),Vr=(()=>{class A extends si{getContextObject(){return(0,ce.of)(null)}getContextObjectChanges(){return de.w}hasContextObject(){return!1}getContextConfig(){return Promise.resolve(null)}static{this.\u0275fac=(()=>{let c;return function(m){return(c||(c=h.xGo(A)))(m||A)}})()}static{this.\u0275prov=u.jDH({token:A,factory:A.\u0275fac})}}return A})(),Hi=(()=>{class A extends bt{intercept(c,T){return T.handle(c)}static{this.\u0275fac=(()=>{let c;return function(m){return(c||(c=h.xGo(A)))(m||A)}})()}static{this.\u0275prov=u.jDH({token:A,factory:A.\u0275fac})}}return A})();class ni{onTabGroupMessage(){return de.w}registerTabInitDataProvider(){}sendTabGroupMessage(){}}class zr extends ui{onBeforeUnload(){return(0,ce.of)(this)}retrieve(){}store(){}}let Kr=(()=>{class A extends kn{get(){return Promise.resolve(void 0)}search(){return Promise.resolve([])}static{this.\u0275fac=(()=>{let c;return function(m){return(c||(c=h.xGo(A)))(m||A)}})()}static{this.\u0275prov=u.jDH({token:A,factory:A.\u0275fac})}}return A})(),Vi=(()=>{class A extends Ht{handleWebCompNavigation(){}static{this.\u0275fac=(()=>{let c;return function(m){return(c||(c=h.xGo(A)))(m||A)}})()}static{this.\u0275prov=u.jDH({token:A,factory:A.\u0275fac})}}return A})();class Ni extends ji{registerWebCompLifecycleService(){}}class Co{}class Li extends Map{}let To=(()=>{class A{intercept(c,T){return T.handle(c)}static{this.\u0275fac=function(T){return new(T||A)}}static{this.\u0275prov=u.jDH({token:A,factory:A.\u0275fac,providedIn:"root"})}}return A})();function Ho(A,re){if(re.get("bwsApi"))throw Error("BWS API already defined. The forRoot(..) access is restricted to the shell integration. For web component integration use the static method forWebComp(..)");const c=new uo(A);return re.set("bwsApi",c),c}function Po(A={},re=[]){return(0,u.EmA)([(0,Xe.S4)((0,Xe.SI)(),(0,Xe.ZY)(),(0,Xe.bM)({prefix:"bws-storage"})),{provide:un,useFactory:Ho,deps:[u.zZn,O]},q(Rr,Rr,A.portalNavigationCounterService),q(Co,Li,A.scriptRegistry),q(Ut,be,A.assetService),q(Fn,Yi,A.eventBusService),q(Sr,d,A.appBasePathProvider),q(lr,hn,A.loggingService),q(On,Yn,A.componentFactoryService),q(kn,Kr,A.contentLookupService),q(_n,sr,A.endpointService),q(Cr,Tr,A.localizationService),q(tr,Hr,A.navigationService),q(Ht,Vi,A.navigationIdService),q(si,Vr,A.contextService),q(bt,Hi,A.bwsInterceptor),q(Wr,ni,A.tabCommunicationService),q(ui,zr,A.reloadDataService),q(ji,Ni,A.lifecycleConnector),q(dn,To,A.bwsBackendInterceptor),re.map(c=>c.providers)])}class bi{constructor(){this._topics={},this._initData={},this.setup=()=>{}}register(re,c,T){this._topics[re]={topic:re,busSink:c,eventSinks:{},options:T}}registerBufferedSink(re,c,T){const m=this._initData?.[re]?.[c];m&&(T.setBuffer(m),delete this._initData?.[re][c]),this._topics[re]&&(this._topics[re].eventSinks[c]=T)}unregister(re){if(re){const[c,...T]=re.split("#"),m=T.join("#");this._topics[c]&&(delete this._topics[c]?.eventSinks[m],Object.keys(this._topics[c]).length||delete this._topics[c])}else this._topics={},this._initData={}}provideInitData(re){const c={};for(const T in this._topics){const m=this._topics[T];if(m){const H=this.provideInitEventData(m,re);H&&(c[T]=H)}}return 0===Object.keys(c).length?void 0:c}provideInitEventData(re,c){const T={};for(const m in re.eventSinks)c(re.options,m)&&(T[m]=re.eventSinks[m].getBuffer());return 0===Object.keys(T).length?void 0:T}}function Nr(A,re){const c=A.eventOptions?.find(T=>function qr(A){let re=A.name;return A.version&&(re+="#"+A.version),re}(T.event)===re);return void 0!==c?.restoreOnReload?c.restoreOnReload:!!A.restoreOnReload}const to="eventBusData";let Ro=(()=>{class A extends bi{#e=(0,u.WQX)(ui);constructor(){super(),this.loadFromSession(),this.#e.onBeforeUnload().subscribe(this.storeInSession.bind(this))}loadFromSession(){this._initData=this.#e.retrieve(to)??void 0}storeInSession(){const c=this.provideInitData(Nr);c&&this.#e.store(to,c)}static{this.\u0275fac=function(T){return new(T||A)}}static{this.\u0275prov=u.jDH({token:A,factory:A.\u0275fac,providedIn:"root"})}}return A})();var fi=a(9442),Vo=a(4047),ro=a(3037),ho=a(2435),Mo=a(1817),ko=a(6196),xo=a(8963),io=a(9015),ts=a(3270);let cs=(()=>{class A{#e=(0,u.WQX)(fi.ES).getNavigationService();getAssetPath(c,T){if(void 0===T)throw new Error("Unsupported operation: ServiceName is mandatory");const m=c,H=T.startsWith("/assets")?T:br("/assets",T);return`${this.#e.getPortalBasePath()}webcomponents/${br(m,H)}`}static{this.\u0275fac=function(T){return new(T||A)}}static{this.\u0275prov=u.jDH({token:A,factory:A.\u0275fac,providedIn:"root"})}}return A})(),hs=(()=>{class A extends Sr{#e=new Be.t(void 0);#t;#n=(0,u.WQX)(Te.Ix);#r=(0,u.WQX)(_n);#i=(0,u.WQX)(xo.Vw);constructor(){super(),this.#n.events.pipe((0,oe.p)(c=>c instanceof Te.Z),(0,Ee.M)(()=>{const c=this.getAppBasePath();c&&this.#i.replaceState({...this.#i.getState(),appBasePath:c},"",this.#i.href)}),(0,ot.T)(c=>c.url),(0,ro.Z)(this.#n.url),(0,ot.T)(c=>"/"===c?void 0:this.#r.getPortalBasePath()+he(this.webCompPath(c)))).subscribe(this.#e),this.#t=this.#i.onPopState(c=>{const T=c.state.appBasePath;T&&this.#e.next(T)})}ngOnDestroy(){this.#e.unsubscribe(),this.#t()}getAppBasePath(){return this.#e.value}webCompPath(c){return c.replace(/#.*$/,"").replace(/\?.*$/,"")}isOwnRoute(){return!1}static{this.\u0275fac=function(T){return new(T||A)}}static{this.\u0275prov=u.jDH({token:A,factory:A.\u0275fac,providedIn:"root"})}}return A})(),ns=(()=>{class A{#e=(0,u.WQX)(fi.ES).getApiEndpointService();#t=(0,u.WQX)(fi.ES).getNavigationService();getPortalBasePath(){return this.#t.getPortalBasePath()}getServiceUrl(c,T){if(void 0===T)throw new Error("Unsupported operation: ServiceName is mandatory");return this.#e.getServiceUrl(c,T)}static{this.\u0275fac=function(T){return new(T||A)}}static{this.\u0275prov=u.jDH({token:A,factory:A.\u0275fac,providedIn:"root"})}}return A})();function Io(A){throw new No(`Content with ID: ${A} not could not be found. Please verify your\n    VP-ServiceConfig. To enable cross-channel use, choose the VP-Key as BWS Content-ID`)}
1class No extends Error{constructor(re){super(`VP-Integration Error: ${re}`)}}let ps=(()=>{class A{constructor(){this.lazyElements=(0,u.WQX)(io.Iv),this.vpWebCompService=(0,u.WQX)(fi.ES).getWebComponentService(),this.vpNavigationService=(0,u.WQX)(fi.ES).getNavigationService(),this.renderer=(0,u.WQX)(h._9s).createRenderer(null,null)}createLazyComponent(c,T,m={}){return(0,ko._)(this.vpNavigationService.navigation$.pipe((0,ho.$)())).then(()=>{const H=this.vpNavigationService.findItemByKey(c)||Io(c);let et=T.element.nativeElement;if(et.nodeType===Node.COMMENT_NODE){const Vn=[...et.parentElement.childNodes].indexOf(et);m.position={...m.position,index:m?.position?.index?m?.position?.index+Vn:Vn},et=et.parentElement}const vn=this.vpWebCompService.getWebComponentData(H);return m?.position?.override&&m?.position?.index>=0&&this.renderer.removeChild(et,et.children[m.position.index]),m?.loadingTemplate&&T.createEmbeddedView(m?.loadingTemplate,m?.position?.index),this.lazyElements.loadElement(vn.url,vn.tagName,!0).then(()=>this.checkForWebComponentTag(vn.tagName)).then(()=>{T.clear();const Vn=this.renderer.createElement(vn.tagName);this.populateProps(Vn,m?.params),this.setupEvents(Vn,m?.events),this.insertChildAtIndex(et,Vn,m?.position)}).catch(Vn=>{console.log(`Component with id ${c} could not be created!`,Vn),T.clear(),m?.errorTemplate&&T.createEmbeddedView(m.errorTemplate,m?.position?.index)}).then(()=>({}))})}insertChildAtIndex(c,T,m){const H=m?.index??c.children.length;H==c.children.length?this.renderer.appendChild(c,T):this.renderer.insertBefore(c,T,c.children[H])}populateProps(c,T){if(T){const m=c;for(const[H,et]of Object.entries(T))m[H]=et}}setupEvents(c,T){if(T)if(c instanceof HTMLElement)for(const[m,H]of Object.entries(T))c.addEventListener(m,et=>H(this.getCustomEvent(et).detail));else for(const[m,H]of Object.entries(T))c[m]instanceof u.bkB&&c[m].subscribe(H)}getCustomEvent(c){return c}checkForWebComponentTag(c){return c.includes("-")?new Promise((T,m)=>{const H=setTimeout(()=>m("unknown webcomponent tag: "+c),3e3);customElements.whenDefined(c).then(()=>{clearTimeout(H),T()})}):Promise.reject("invalid webcomponent tag ("+c+"), it has to contain at least one hyphen (-)")}static{this.\u0275fac=function(T){return new(T||A)}}static{this.\u0275prov=u.jDH({token:A,factory:A.\u0275fac,providedIn:"root"})}}return A})(),os=(()=>{class A{constructor(){this.#e=(0,u.WQX)(fi.ES).getLocalizationService(),this.localeChanges=(0,ce.of)()}#e;getLocale(){return this.#e.getLocale()}get localChanges(){return this.#e.localeChanges}static{this.\u0275fac=function(T){return new(T||A)}}static{this.\u0275prov=u.jDH({token:A,factory:A.\u0275fac,providedIn:"root"})}}return A})();const Ko=A=>A instanceof Error;let _=(()=>{class A{#e=(0,u.WQX)(fi.ES).getLoggingService();getLogger(c){return new C(c,this.#e)}getInternalLogger(c,T){return new C(T,this.#e,c)}static{this.\u0275fac=function(T){return new(T||A)}}static{this.\u0275prov=u.jDH({token:A,factory:A.\u0275fac,providedIn:"root"})}}return A})();class C{constructor(re,c,T){this.vpLoggingService=c,this.origin=T,this.source="string"==typeof re?re:re.name}debug(re,c){this.vpLoggingService.dlog(...this.getArgs(re,c))}error(re,c){const T=Ko(re)?re.stack:re,m=Ko(c)?c.stack:c;this.vpLoggingService.error(...this.getArgs(T??"",m))}info(re,c){this.vpLoggingService.log(...this.getArgs(re,c))}warn(re,c){this.vpLoggingService.warn(...this.getArgs(re,c))}getArgs(re,c){const T=[this.source];return this.origin&&T.push(this.origin),T.push(re),c&&T.push(c),T}}let b=(()=>{class A extends ji{#e=(0,u.WQX)(u.SKi);#t=[];registerWebCompLifecycleService(c){this.#t.push(c)}routeChanged(c){for(const T of this.#t)this.#e.run(()=>{T.onRouteChanged(c)})}static{this.\u0275fac=(()=>{let c;return function(m){return(c||(c=h.xGo(A)))(m||A)}})()}static{this.\u0275prov=u.jDH({token:A,factory:A.\u0275fac,providedIn:"root"})}}return A})();function S(A){return A instanceof Te.wF||A instanceof Te.L6||A instanceof Te.Cq||A instanceof Te.lW}let Z=(()=>{class A{constructor(){this.#e=(0,u.WQX)(fi.ES).getNavigationService(),this.#t=(0,u.WQX)(Rr),this.#n=(0,u.WQX)(b),this.#r=(0,u.WQX)(Te.Ix),this.menuSelectionListener=this.initMenuSelectionListener()}#e;#t;#n;#r;init(){this.triggerPopstateProcessedEvent()}ngOnDestroy(){this.menuSelectionListener.unsubscribe()}
1triggerPopstateProcessedEvent(){this.#r.events.pipe((0,oe.p)(c=>c instanceof Te.Z&&"popstate"===c.navigationTrigger),(0,we.n)(()=>this.#r.events.pipe((0,oe.p)(S),(0,i.s)(1)))).subscribe(()=>window.dispatchEvent(new CustomEvent("popstateProcessed")))}getUrlForId(c){const T=this.#e.findItemByKey(c);if(T){const m=this.#e.calculateProcessPathInfo(T);return Promise.resolve(m.path)}Io(c)}toExternalUrl(c,T){const m=this.#r.serializeUrl(this.#r.createUrlTree([c],T));return this.#e.getPortalBasePath()+he(m)}navigateById(c,T){if(T)throw new No("NavigationExtras not supported!");const m=this.#e.findItemByKey(c)||Io(c);if("gvRoute"!==m.keyType)throw new No(`Content with ID: ${c} isn't a gvRoute. Please verify your VP-ServiceConfig`);return this.#e.selectItem(m,!0),Promise.resolve(!0)}navigateByUrl(c,T){const m="string"==typeof c?c:this.#r.serializeUrl(c);try{return this.#e.navigate(m,T?.queryParams||void 0,T?.state),this.fireRouteChanged(m,T),Promise.resolve(!0)}catch{return Promise.resolve(!1)}}navigateToStartPage(){try{return this.#e.navigateToStartPage(),Promise.resolve(!0)}catch{return Promise.resolve(!1)}}hasPreviousApp(){return this.#t.navigationSteps>0}navigateToPreviousApp(){return Promise.resolve(!1)}hasPreviousNavigation(){return!1}initMenuSelectionListener(){return this.#e.selectedItem$.pipe((0,Mo.F)(),(0,oe.p)(c=>"gvRoute"===c.keyType),(0,ot.T)(c=>this.#e.calculateProcessPathInfo(c)),(0,oe.p)(c=>c.pathType===Vo.y.ROUTE)).subscribe(c=>this.fireRouteChanged(c.path))}fireRouteChanged(c,T){const m={url:br(this.#e.getPortalBasePath(),c),extras:T};this.#n.routeChanged(m),window.dispatchEvent(new CustomEvent("routeChanged",{detail:m}))}static{this.\u0275fac=function(T){return new(T||A)}}static{this.\u0275prov=u.jDH({token:A,factory:A.\u0275fac,providedIn:"root"})}}return A})();const Je=new u.nKC("VP_HTTP_INTERCEPTOR");let At=(()=>{class A extends bt{#e=(0,u.WQX)(Je);intercept(c,T){return this.#e.reduceRight((H,et)=>new gt(H,et),T).handle(c)}static{this.\u0275fac=(()=>{let c;return function(m){return(c||(c=h.xGo(A)))(m||A)}})()}static{this.\u0275prov=u.jDH({token:A,factory:A.\u0275fac,providedIn:"root"})}}return A})();class gt{constructor(re,c){this.next=re,this.interceptor=c}handle(re){return this.interceptor.intercept(re,this.next)}}let mn=(()=>{class A{getIntegrationMode(){return"standard"}getType(){return"EKP"}getHeaderHeight(){return(0,ce.of)(0)}static{this.\u0275fac=function(T){return new(T||A)}}static{this.\u0275prov=u.jDH({token:A,factory:A.\u0275fac})}}return A})();const Sn=()=>{(0,u.WQX)(un),(0,u.WQX)(kt),(0,u.WQX)(Z).init(),(0,u.WQX)(Rr).init()};function or(){return(0,u.EmA)([(0,u.oKB)(io.KJ),Lt({portalService:{useClass:mn}}),Po({eventBusService:{useClass:Yi},eventBusConnectors:[{useClass:Ro}],assetService:{useExisting:cs},appBasePathProvider:{useExisting:hs},endpointService:{useExisting:ns},componentFactoryService:{useExisting:ps},localizationService:{useExisting:os},loggingService:{useExisting:_},navigationService:{useExisting:Z},tokenInterceptor:{useClass:ts.Z_},bwsInterceptor:{useExisting:At},lifecycleConnector:{useExisting:b}}),(0,h.phd)(Sn),{provide:fi.ES,useFactory:fi.qs},{provide:Je,useClass:ts.Z_,multi:!0},{provide:Je,useClass:ts.V0,multi:!0},{provide:Je,useClass:ts.WW,multi:!0},{provide:Je,useClass:ts.BT,multi:!0}])}},6911(Yt,ve,a){a.d(ve,{Go:()=>cn,WT:()=>ot,cH:()=>Se,eF:()=>Qe,ec:()=>lt,gD:()=>Xt,vf:()=>Ce});var j=a(9204),Pe=a(6124),L=a(6563),ne=a(4205),Ve=a(5797),Fe=a(6042),tt=a(7092),nt=a(9999),Rt=a(4600),Oe=a(8537),xe=a(9452),it=a(7919),q=a(4876),F=a(1995),N=a(1318),U=a(591),ce=a(2435),ie=a(271),we=a(6301),oe=a(6647),de=a(3900),He=a(8764),Be=a(698);let Te=(()=>{class It{static{this.\u0275fac=function(k){return new(k||It)}}static{this.\u0275cmp=Pe.VBU({type:It,selectors:[["kf-initial-spinner"]],decls:3,vars:0,consts:[[1,"kf-initial-spinner-overlay"],["width","40px","height","40px","viewBox","0 0 44 44","xmlns","http://www.w3.org/2000/svg",1,"kf-initial-spinner"],["fill","none","stroke-width","4","stroke-linecap","round","cx","22","cy","22","r","20",1,"kf-initial-spinner-circle"]],template:function(k,ye){1&k&&(Pe.rj2(0,"div",0),L.qSk(),Pe.rj2(1,"svg",1),Pe.Hgh(2,"circle",2),Pe.eux()())},styles:["[_nghost-%COMP%]{position:fixed;z-index:1000;left:0;top:0;width:100vw;height:100vh;opacity:1;background-color:#fff}.kf-initial-spinner-hidden[_nghost-%COMP%]   .kf-initial-spinner-overlay[_ngcontent-%COMP%]{background-color:var(--color-background-background)}.kf-initial-spinner-hidden[_nghost-%COMP%]   .kf-initial-spinner-overlay[_ngcontent-%COMP%]   .kf-initial-spinner[_ngcontent-%COMP%]{display:none}[_nghost-%COMP%]   .kf-initial-spinner-overlay[_ngcontent-%COMP%]{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;background-color:#0003;opacity:1}[_nghost-%COMP%]   .kf-initial-spinner-overlay[_ngcontent-%COMP%]   .kf-initial-spinner[_ngcontent-%COMP%]{animation:_ngcontent-%COMP%_spl-rotate 1.4s linear infinite;opacity:1}[_nghost-%COMP%]   .kf-initial-spinner-overlay[_ngcontent-%COMP%]   .kf-initial-spinner-circle[_ng
1content-%COMP%]{opacity:1;stroke-dasharray:123;stroke:#fff;transform-origin:center;animation:_ngcontent-%COMP%_spl-dashoffset 1.4s ease-in-out infinite}@keyframes _ngcontent-%COMP%_spl-rotate{to{transform:rotate(270deg)}}@keyframes _ngcontent-%COMP%_spl-dashoffset{0%{stroke-dashoffset:123}50%{stroke-dashoffset:31;transform:rotate(135deg)}to{stroke-dashoffset:123;transform:rotate(450deg)}}"]})}}return It})();const le=new L.nKC("KFThemeBathePath"),pt=new L.nKC("KFThemeServiceName"),Ie=new L.nKC("KFThemeScopeSelector"),Qe=new L.nKC("Class name for kf-theme-scope",{providedIn:"root",factory:()=>"kf-theme-scope"}),_t=new L.nKC("KFThemeLoglevel"),Re=new L.nKC("KFThemeLoglevelConfigObject"),Et=new L.nKC("KFThemeBasePathConfigObject"),kt=new L.nKC("KFThemeServiceNameConfigObject"),ht=new L.nKC("KFThemeSpinnerConfigObject"),Ne=new L.nKC("KFThemeResourcesPathConfigObject");var zt=function(It){return It.DARK="DARK",It.LIGHT="LIGHT",It}(zt||{});const rt={version:"12.13.1",THEME_SERVICE_NAME:"kf-theme/assets?f=",THEME_SERVICE_NAME_KEY:"themeServiceName",THEME_BASE_PATH_KEY:"themeBasePath",themeColors:"",themeID:"",themeData:"",themeIsDark:null,themeAppearanceDefault:zt.LIGHT,useImages:!0,isThemeInitialised:!1,themeFirstIsDark:null,themeDefaultId:"9998",themeBaseId:"8840_1",onThemeLoaded:null,basePath:null},Qt=new L.nKC("writable for theme id",{providedIn:"root",factory:()=>new Fe.m(1)}),Kt=new L.nKC("writable for useImage of theme",{providedIn:"root",factory:()=>new Fe.m(1)}),ut=new L.nKC("writable for appearance of theme",{providedIn:"root",factory:()=>new Fe.m(1)}),St=new L.nKC("writable for the information of theming being initialized.",{providedIn:"root",factory:()=>new Fe.m(1)});let yt=(()=>{class It{constructor(){this.theme=(0,L.WQX)(Qt).asObservable(),this.useImage=(0,L.WQX)(Kt).asObservable(),this.getAppearance=(0,L.WQX)(ut).asObservable(),this.themingInitialized=(0,L.WQX)(St).asObservable()}static{this.\u0275fac=function(k){return new(k||It)}}static{this.\u0275prov=L.jDH({token:It,factory:It.\u0275fac,providedIn:"root"})}}return It})();class Me{constructor(Zt,R){this.next=Zt,this.interceptor=R}handle(Zt){return this.interceptor.intercept(Zt,this.next)}}class De{constructor(Zt,R,k){this.backend=Zt,this.injector=R,this.interceptors=k,this.chain=null}handle(Zt){if(null===this.chain){const R=this.injector.get(this.interceptors,[]);this.chain=R.reduceRight((k,ye)=>new Me(k,ye),this.backend)}return this.chain.handle(Zt)}}const Ee=new L.nKC("KF_THEME_HTTP_INTERCEPTORS");let i=(()=>{class It extends Be.Qq{constructor(){const R=(0,L.WQX)(Be.JV),k=(0,L.WQX)(L.zZn);super(new De(R,k,Ee))}static{this.\u0275fac=function(k){return new(k||It)}}static{this.\u0275prov=L.jDH({token:It,factory:It.\u0275fac,providedIn:"root"})}}return It})(),ot=(()=>{class It{get nativeWindow(){return function ke(){return window}()}static{this.\u0275fac=function(k){return new(k||It)}}static{this.\u0275prov=L.jDH({token:It,factory:It.\u0275fac,providedIn:"root"})}}return It})(),Xe=(()=>{class It{constructor(){this.windowRef=(0,L.WQX)(ot),this.kfThemeBasePathConfigObject=(0,L.WQX)(Et,{optional:!0}),this.kfThemeServiceNameConfigObject=(0,L.WQX)(kt,{optional:!0}),this.kfThemeBasePath=(0,L.WQX)(le,{optional:!0}),this.kfThemeServiceName=(0,L.WQX)(pt,{optional:!0})}getKfThemeBasePath(){return this.kfThemeBasePathConfigObject??this.kfThemeBasePath}getKfThemeServiceName(){return this.kfThemeServiceNameConfigObject??this.kfThemeServiceName}getAppearanceFromString(R){return zt[R.toUpperCase()]}isHtml(R){return!!R&&-1!==R.indexOf("<html")}isSvg(R){const k=R.indexOf("<svg"),ye=R.indexOf("<html");return-1!==k&&(-1===ye||k<ye)}isDarkTheme(R){const k=R.match(/--config-is-dark-theme:\s*(\d);/);return!!k&&!!parseInt(k[1],10)}calcUseImages(R){const k=R.match(/--config-use-images:\s*(\d);/);return!k||!!parseInt(k[1],10)}getAssetsServiceSrc(R){return this.getKfThemeServiceName()?this.getKfThemeServiceName()+R:this.getBasePath()+this.windowRef.nativeWindow.kfTheme.THEME_SERVICE_NAME+R}retry(R={count:2,delay:0,resetOnSuccess:!0}){return(0,F.L)(R)}getLoggerServiceSrc(){return this.replaceServiceDestinationWith("logger")}getResourcesServiceSrc(){return this.replaceServiceDestinationWith("resources")}replaceServiceDestinationWith(R){return(this.getKfThemeServiceName()||this.getBasePath()+this.windowRef.nativeWindow.kfTheme.THEME_SERVICE_NAME).replace("/assets?f=","/")+R}getBasePath(){if(this.getKfThemeBasePath())return this.getKfThemeBasePath();const R=/^\/services_[a-z]{3,}\/(portal|demo)\d*\/?/i;let k=this.windowRef.nativeWindow.location.pathname;if(R.test(k)){const Nt=R.exec?.(k);k=Nt?Nt[0]:""}let ye=k.endsWith("/")?k:k+"/";return ye=ye&&-1===ye.indexOf(".")?ye:"",ye}addBasePath(R){let k=this.getKfThemeBasePath(),ye=R;return k?(k.endsWith("/")&&(k=k.slice(0,k.length-1)),ye=ye.replace(/^(\.\/)|^(\/)|^(\..\/)/,""),`${k}/${ye}`):R}static{this.\u0275fac=function(k){return new(k||It)}}static{this.\u0275prov=L.jDH({token:It,factory:It.\u0275fac,providedIn:"root"})}}return It})(),fe=(()=>{class It{static{this.DEBUG="DEBUG"}static{this.INFO="INFO"}static{this.WARN="WARN"}static{this.ERROR="ERROR"}constructor(R,k,ye){this.logLevel=R,this.entryDate=(new Date).toISOString(),this.message=`${k} ${this.formatParams(ye)}`}formatParams(R){let k=R?.join(",");if(R?.some(ye=>"object"==typeof ye)){k="";for(const ye of R)k+=JSON.stringify(ye)+","}return k||""}}return It})();class Y{isEnabled(){return!0}log(Zt){const R=this.getConsoleMsg(Zt.message);switch(Zt.logLevel){case fe.DEBUG:console.debug(R);break;case fe.ERROR:console.error(R);break;case fe.INFO:console.info(R);break;case fe.WARN:console.warn(R)}}getConsoleMsg(Zt){return`KfTheme: (12.13.1): ${Zt}`}}let Se=(()=>{class It{static createService(){const R=(0,L.WQX)(ot);return R.nativeWindow.kfThemeInfo||(R.nativeWindow.kfThemeInfo=new yt),R.nativeWindow.kfThemeInfo}static{this.\u0275fac=function(k){return new(k||It)}}static{this.\u0275prov=L.jDH({token:It,factory:()=>It.createService(),providedIn:"root"})}}return It})(),Ce=(()=>{class It{constructor(R,k,ye=(0,L.WQX)(Xe),Nt,qt,bn,Rn,pn,An,fn,Xn){this.windowRef=R,this.infoService=k,this.utilService=ye,this.kfThemeResourcesPathConfigObject=Nt,this.kfThemeBasePath=qt,this.kfThemeBasePathConfigObject=bn,this.kfThemeLoglevel=Rn,this.kfThemeLoglevelConfigObject=pn,this.kfThemeServiceName=An,this.kfThemeServiceNameConfigObject=fn,this.kfThemeScopeSelector=Xn,this.useImageSubject=(0,L.WQX)(Kt),this.appearanceSubject=(0,L.WQX)(ut),this.subscriptions=[],this.isDarkTheme=!1,this.useImages=this.windowRef.nativeWindow.kfTheme?.useImages??!0,this.destroy$=new ne.B,this.config$=new ne.B,this.themeLoaded$=new Ve.t(!!document.getElementById("theme-styles-full")?.innerHTML),R.nativeWindow.kfTheme.onThemeLoaded.pipe((0,de.Q)(this.destroy$)).subscribe(({success:qn})=>this.themeLoaded$.next(qn)),this.subscriptions.push(this.infoService.getAppearance.subscribe(qn=>{this.isDarkTheme=qn===zt.DARK,this.refreshConfig()}
1)),this.subscriptions.push(this.infoService.useImage.subscribe(qn=>{this.useImages=qn,this.refreshConfig()}))}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete(),this.subscriptions&&(this.subscriptions.forEach(R=>{R.unsubscribe()}),this.subscriptions.length=0)}getKfThemeBasePath(){return this.kfThemeBasePathConfigObject??this.kfThemeBasePath}getKfThemeServiceName(){return this.kfThemeServiceNameConfigObject??this.kfThemeServiceName}getKfThemeResourcesPath(){return this.kfThemeResourcesPathConfigObject?this.kfThemeResourcesPathConfigObject:this.utilService.getResourcesServiceSrc()}getKfThemeScopeSelector(){return this.kfThemeScopeSelector}getKfThemeLoglevel(){return this.kfThemeLoglevelConfigObject??this.kfThemeLoglevel}getKfThemeInfo(){return"@de.fiduciagad.kundenportal/kf-theme:12.13.1."}isDevEnv(){const R=this.windowRef.nativeWindow.location.hostname;return void 0!==["localhost","127.0.0.1","local","fiducia.de","bankenit.de"].find(ye=>R.endsWith(ye))}setUseImage(R){this.useImageSubject.next(R),this.windowRef.nativeWindow.kfTheme.useImages=R,this.useImages=R,this.refreshConfig()}getUseImages(){return this.useImages}setDarkTheme(R){this.appearanceSubject.next(R?zt.DARK:zt.LIGHT),this.isDarkTheme=R,this.refreshConfig()}refreshConfig(){this.config$.next({useImages:this.useImages,isDark:this.isDarkTheme})}getDarkTheme(){return this.isDarkTheme}static{this.\u0275fac=function(k){return new(k||It)(L.KVO(ot),L.KVO(Se),L.KVO(Xe),L.KVO(Ne,8),L.KVO(le,8),L.KVO(Et,8),L.KVO(_t,8),L.KVO(Re,8),L.KVO(pt,8),L.KVO(kt,8),L.KVO(Ie,8))}}static{this.\u0275prov=L.jDH({token:It,factory:It.\u0275fac,providedIn:"root"})}}return It})(),ct=(()=>{class It{constructor(R,k){this.http=R,this.utilsService=k,this.enabled=!0,this.processing=!1,this.subscription=new tt.yU,this.logBuffer=[],this.headers=new Be.Lr({"Content-Type":"application/json; charset=utf-8"}),this.logging$=(0,q.O)(3e4).pipe((0,ce.$)(),(0,He.M)(()=>this.processMessageBuffer()))}static{this.MESSAGE_BUFFER_MAX_SIZE=50}isEnabled(){return this.enabled}log(R){this.logBuffer.push(R),this.logBuffer.length>=It.MESSAGE_BUFFER_MAX_SIZE?this.processMessageBuffer():this.startTimer()}ngOnDestroy(){this.subscription.unsubscribe()}startTimer(){const R=this.logging$.subscribe(()=>{this.subscription.remove(R),R.unsubscribe()});this.subscription.add(R)}processMessageBuffer(){if(!this.processing&&this.logBuffer.length>0){this.processing=!0;try{this.postMessages(),this.logBuffer=[],this.processing=!1,this.logBuffer.length>=It.MESSAGE_BUFFER_MAX_SIZE&&this.processMessageBuffer()}catch(R){console.error(R)}}}postMessages(){const k=this.http.post(this.utilsService.getLoggerServiceSrc(),{messages:this.logBuffer},{headers:this.headers}).pipe((0,N.W)(()=>(0,xe.of)([]))).subscribe(()=>{this.subscription.remove(k),k.unsubscribe()});this.subscription.add(k)}static{this.\u0275fac=function(k){return new(k||It)(L.KVO(i),L.KVO(Xe))}}static{this.\u0275prov=L.jDH({token:It,factory:It.\u0275fac,providedIn:"root"})}}return It})();class _e{static{this.LOG_LEVELS=[fe.DEBUG,fe.INFO,fe.WARN,fe.ERROR]}constructor(Zt,R){this.envService=Zt,this.loggerRemote=R,this.loggers=[],Zt.isDevEnv()&&this.loggers.push(new Y),Zt.getKfThemeLoglevel()?this.setLogLevel(Zt.getKfThemeLoglevel()):this.setLogLevel(fe.INFO),this.info(`KfTheme-Info: ${Zt.getKfThemeInfo()}`)}setLogLevel(Zt){_e.LOG_LEVELS.findIndex(R=>Zt.toUpperCase()===R.toUpperCase())>-1?this.level=Zt.toUpperCase():(this.level=fe.INFO,this.error(`KfTheme: Could not set loglevel to ${Zt}. Using 'INFO' as default.`)),this.debug(`KfTheme: Loglevel set to ${this.level}.`)}debug(Zt,...R){this.level===fe.DEBUG&&this.writeToLog(Zt,fe.DEBUG,R)}info(Zt,...R){_e.LOG_LEVELS.indexOf(this.level)<=_e.LOG_LEVELS.indexOf(fe.INFO)&&this.writeToLog(Zt,fe.INFO,R)}warn(Zt,...R){_e.LOG_LEVELS.indexOf(this.level)<=_e.LOG_LEVELS.indexOf(fe.WARN)&&this.writeToLog(Zt,fe.WARN,R)}error(Zt,...R){this.writeToLog(Zt,fe.ERROR,R)}log(Zt,...R){this.writeToLog(Zt,fe.DEBUG,R)}writeToLog(Zt,R,k){const ye=new fe(R,Zt,k);this.loggers.forEach(Nt=>{Nt.isEnabled()&&Nt.log(ye)})}static{this.\u0275fac=function(R){return new(R||_e)(L.KVO(Ce),L.KVO(ct))}}static{this.\u0275prov=L.jDH({token:_e,factory:_e.\u0275fac,providedIn:"root"})}}let P=(()=>{class It{static{this.APPEARANCE_COOKIE_NAME="theme_appearance"}static{this.THEME_COOKIE_NAME="theme"}constructor(R,k,ye){this.windowRef=R,this.environment=k,this.logger=ye}setThemeToCookie(R){this.setCookie(It.THEME_COOKIE_NAME,R)}setAppearanceToCookie(R){this.setCookie(It.APPEARANCE_COOKIE_NAME,R)}setCookie(R,k){if(R&&k){const{hostname:ye}=this.windowRef.nativeWindow.location;this.windowRef.nativeWindow.document.cookie=`${R}=${encodeURIComponent(k)}; domain=${encodeURIComponent(ye)}; path=/;SameSite=None;secure`}}getThemeFromCookie(){const R=this.getCookie(It.THEME_COOKIE_NAME,/^((\d)+((_)?(\d)+))$/m);return R&&this.logger.info(`Found theme '${R}' in cookie.`),R}getAppearanceFromCookie(){const R=this.getCookie(It.APPEARANCE_COOKIE_NAME);return R&&this.logger.info(`Found appearance '${R}' in cookie.`),R||""}getCookie(R,k=null){const Nt=("; "+this.windowRef.nativeWindow.document.cookie).split("; "+R+"=");return 2==Nt.length?Nt.pop()?.split(";").shift():Nt.length>2?this.getCookieMultiplKeyOccurences(Nt,R,k):void 0}getCookieMultiplKeyOccurences(R,k,ye=null){let Nt,qt;for(;R.length>1;
1){if(qt=R.pop()?.split(";").shift(),ye&&(qt=ye.test(qt)?qt:null),!Nt&&qt&&(Nt=qt),Nt!==qt||!qt){this.logger.warn(`cookie value for key: ${k} was null or had different values: ${Nt} | ${qt} .`),Nt=null;break}qt=null}return Nt??null}getItemFromSessionStorage(R){return this.windowRef.nativeWindow.sessionStorage&&this.windowRef.nativeWindow.sessionStorage.getItem(R)||""}getThemeFromSessionStorage(){const R=this.getItemFromSessionStorage(It.THEME_COOKIE_NAME);return R&&this.logger.info(`Found theme '${R}' in session-storage.`),R}getAppearanceFromSessionStorage(){const R=this.getItemFromSessionStorage(It.APPEARANCE_COOKIE_NAME);return R&&this.logger.info(`Found appearance '${R}' in SessionStorage.`),R}getThemeFromApp(){let R;return"function"==typeof this.windowRef.nativeWindow.nativeAppTheming?.requiredThemeId&&(R=this.windowRef.nativeWindow.nativeAppTheming?.requiredThemeId()),R}getThemeAppearanceFromApp(){let R;return"function"==typeof this.windowRef.nativeWindow.nativeAppTheming?.requiredAppearance&&(R=this.windowRef.nativeWindow.nativeAppTheming?.requiredAppearance()),R}getThemeFromURL(){if(this.environment.isDevEnv()){const ye=/(?:&|\?)theme=((\d)+((_)?(\d)+))(?:$|&|#)/gm.exec(this.windowRef.nativeWindow.location.href);if(ye){const Nt=ye[1];return this.setThemeToCookie(Nt),Nt&&this.logger.info(`Found theme '${Nt}' in URL.`),Nt}}return null}getThemeAppearanceFromURL(){if(this.environment.isDevEnv()){const ye=/(?:&|\?)(?:appearance=){1}(.+?(?=$|&|#))/gm.exec(this.windowRef.nativeWindow.location.href);if(ye){const Nt=ye[1];return this.setAppearanceToCookie(Nt),this.logger.info(`Found appearance '${Nt}' in URL.`),Nt}}return""}getThemeId(){return this.getThemeFromURL()||this.getThemeFromApp()||this.getThemeFromSessionStorage()||this.getThemeFromCookie()||rt.themeDefaultId}getThemeAppearance(){const R=this.getThemeAppearanceFromURL()||this.getThemeAppearanceFromApp()||this.getAppearanceFromSessionStorage()||this.getAppearanceFromCookie()||rt.themeAppearanceDefault;return zt[R.toUpperCase()]}static{this.\u0275fac=function(k){return new(k||It)(L.KVO(ot),L.KVO(Ce),L.KVO(_e))}}static{this.\u0275prov=L.jDH({token:It,factory:It.\u0275fac,providedIn:"root"})}}return It})(),Ae=(()=>{class It{constructor(R,k,ye){this.logger=R,this.utils=k,this.theme=ye}getAssetPath(R,k=!1,ye=!1){let Nt;if(k)Nt=this.getAssetPathLocal(R);else if(Nt=this.utils.getAssetsServiceSrc(R),ye){const qt=this.theme.getThemeId();Nt=/\?/.test(Nt)?`${Nt}&t=${qt||""}`:Nt}return Nt}getAssetPathLocal(R){return this.utils.addBasePath(R)}getCssFilePath(R,k=!1,ye){let Nt=this.getAssetPath(R,k);return this.logger.debug(`use url  ${Nt} with fallback = ${k}`),ye&&(Nt=Nt+(/\?/.test(Nt)?"&a=":"?a=")+ye),Nt}static{this.\u0275fac=function(k){return new(k||It)(L.KVO(_e),L.KVO(Xe),L.KVO(P))}}static{this.\u0275prov=L.jDH({token:It,factory:It.\u0275fac,providedIn:"root"})}}return It})(),mt=(()=>{class It{constructor(R,k,ye,Nt,qt){this.httpClient=R,this.utils=k,this.logger=ye,this.environment=Nt,this.assetsPathService=qt,this.themeSubject=(0,L.WQX)(Qt),this.scopeClass=(0,L.WQX)(Qe)}loadBundle(R,k=!1){return this.getCssFile(!1,R,k)}loadColors(R,k=!1,ye){return this.getCssFile(!0,R,k,ye)}processCss(R){return this.processUrls(R)}setKfThemeScope(){const R=this.environment.getKfThemeScopeSelector()??"body";this.logger.debug(`Setting scope to '${R}'.`);const k=document.querySelector(R);k?k.classList.add(this.scopeClass):this.logger.warn(`KF_THEME_SCOPE_SELECTOR is defined (${this.environment.getKfThemeScopeSelector()}), but no matching element could be found.`)}sendThemeIdToInfoService(R){R&&this.themeSubject.next(R)}determineThemeId(R){let k=this.getThemeIdFromContentDisposition(R);return k||(k=this.getThemeIdFromUrl(R)),k}getThemeIdFromContentDisposition(R){let k;const ye=R.headers?.get("content-disposition");return ye&&(k=this.extractThemeId(ye)),k}getThemeIdFromUrl(R){const ye=R.url?.split(".css")[0].split(/[\/\\]+/).pop();return ye||void 0}getCssFile(R,k,ye=!1,Nt){const qt=this.assetsPathService.getCssFilePath(k,ye,Nt);return this.httpClient.get(qt,{observe:"response",responseType:"text"}).pipe((0,oe.n)(bn=>{if(this.utils.isHtml(bn.body)){const Rn=new Error("Invalid respone:"+bn);return(0,it.$)(()=>Rn)}return R&&this.sendThemeIdToInfoService(this.determineThemeId(bn)),(0,xe.of)(bn.body)}),this.utils.retry())}processUrls(R){if(R){const ye=/url\(['"]?(\/assets\/(fonts|icons)\/[a-z0-9+*@#?_/. -]+)['"]?\)( format\([a-z0-9"'-]+\))?[;,]/i,Nt=/url\(['"]?\/assets\/[a-z0-9-_/ ]+\.(jpg|svg|png|gif)['"]?\)/gi,qt=/url\(['"]?(\/assets\/[a-z0-9-_/ ]+\.(jpg|svg|png|gif))['"]?\)/i,bn=R.match(/url\(['"]?\/assets\/(fonts|icons)\/[a-z0-9+*@#?_/. -]+['"]?\)( format\([a-z0-9"'-]+\))?[;,]/gi),Rn=R.match(Nt),pn=this.utils.getBasePath();
1return bn&&bn.forEach(An=>{const fn=ye.exec(An);if(fn){const Xn=this.assetsPathService.getAssetPath(fn[1]),qn=An.replace(/\/assets\//,`${pn}assets/`);R=R?.replace(An,`url("${Xn}")${fn[3]||""}, ${qn}`)}}),Rn&&Rn.forEach(An=>{const fn=qt.exec(An);if(fn){const Xn=this.assetsPathService.getAssetPath(fn[1]);R=R?.replace(An,`url("${Xn}")`)}}),R}return""}extractThemeId(R){const Nt=R.replace("_dark","").match(/[\\/](\d+_?\d*)\.css/);return Nt?Nt[1]:void 0}static{this.\u0275fac=function(k){return new(k||It)(L.KVO(i),L.KVO(Xe),L.KVO(_e),L.KVO(Ce),L.KVO(Ae))}}static{this.\u0275prov=L.jDH({token:It,factory:It.\u0275fac,providedIn:"root"})}}return It})();const wt=[{id:"",isDark:!1},{id:"8840_1",isDark:!1},{id:"8888_89",isDark:!1},{id:"9998",isDark:!1}];let Mt=(()=>{class It{constructor(R,k,ye){this.httpClient=R,this.logger=k,this.utils=ye,this.themes=wt}getThemes$(){const R=this.utils.getAssetsServiceSrc("/themes").replace("/assets?f=","");return this.httpClient.get(R).pipe((0,oe.n)(k=>{const ye=k.themeProfiles.sort().map(Nt=>({id:Nt,isDark:!1}));return(0,xe.of)(ye)}),(0,N.W)(k=>(this.logger.warn(JSON.stringify(k)),(0,xe.of)(wt))))}loadThemesListService(){const k=this.utils.getAssetsServiceSrc("/themes");this.httpClient.get(k.replace("/assets?f=","")).pipe((0,N.W)(ye=>(this.logger.warn(JSON.stringify(ye)),(0,xe.of)({})))).subscribe(ye=>{null!==ye&&ye.themeProfiles&&(this.themes=ye.themeProfiles.sort().map(Nt=>({id:Nt,isDark:!1})))})}getThemesList(){return this.themes}static{this.\u0275fac=function(k){return new(k||It)(L.KVO(i),L.KVO(_e),L.KVO(Xe))}}static{this.\u0275prov=L.jDH({token:It,factory:It.\u0275fac,providedIn:"root"})}}return It})(),jt=(()=>{class It{constructor(R){this.environment=R,this.THEME_STYLES_FULL_ID="theme-styles-full",this.THEME_COLORS_ID="theme-colors",this._THEME_STYLES_ID="theme-styles"}getOrCreateStyleElement(R){let k=document.getElementById(R);if(!k){k=document.createElement("style"),k.setAttribute("id",R);const ye=this.getFirstStyleElement();ye?document.head.insertBefore(k,ye):document.head.appendChild(k)}return k}getFirstStyleElement(){for(let R=0;R<document.head.childNodes.length;R++){const k=document.head.childNodes[R];if("STYLE"===document.head.childNodes[R].nodeName)return k}return null}getStyleElementFull(){return this.styleElementFull||(this.styleElementFull=this.getOrCreateStyleElement(this.THEME_STYLES_FULL_ID)),this.styleElementFull}getStyleElementBase(){return this.styleElementBase||(this.styleElementBase=this.getOrCreateStyleElement(this._THEME_STYLES_ID)),this.styleElementBase}getStyleElementColors(){return this.styleElementColors||(this.styleElementColors=this.getOrCreateStyleElement(this.THEME_COLORS_ID)),this.styleElementColors}getRootScopeElement(){if(this.environment.getKfThemeScopeSelector()){const R=document.body.querySelector(this.environment.getKfThemeScopeSelector());if(R)return R}return document.body}setStyleFull(R){this.getStyleElementFull().innerHTML=R}setScopeToStyleFull(R=""){this.getStyleElementFull().setAttribute("scope",R)}setStyleBase(R){this.getStyleElementBase().innerHTML=R}setStyleColors(R,k,ye){this.getStyleElementColors().setAttribute("theme",k||""),this.getStyleElementColors().setAttribute("appearance",ye||""),this.getStyleElementColors().innerHTML=R}getStyleColorsContent(){return this.getStyleElementColors().innerHTML}getStyleColorsTheme(){return this.getStyleElementColors().getAttribute("theme")}getStyleColorsAppearance(){return this.getStyleElementColors().getAttribute("appearance")}getStyleFullContent(){return this.getStyleElementFull().innerHTML}isBundleAlreadyLoaded(){return this.styleElementFull&&""!==this.styleElementFull.innerHTML}getStyleFullScope(){const R=document.getElementById(this.THEME_STYLES_FULL_ID);return R?R.getAttribute("scope"):null}getStyleBaseContent(){return this.getStyleElementBase().innerHTML}static{this.\u0275fac=function(k){return new(k||It)(L.KVO(Ce))}}static{this.\u0275prov=L.jDH({token:It,factory:It.\u0275fac,providedIn:"root"})}}return It})();class Ge{constructor(){this.spinner={discard:!1,hide:!1}}}let qe=(()=>{class It{constructor(R,k,ye){this.componentFactoryResolver=R,this.injector=k,this.spinner=null,this.componentRef=null;const Nt=(0,L.WQX)(ht,{optional:!0});this.discardSpinner=Nt?.discard??ye?.spinner.discard,this.hideSpinner=Nt?.hide??ye?.spinner.hide}add(){this.discardSpinner||(this.componentRef=this.componentFactoryResolver.resolve
1ComponentFactory(Te).create(this.injector),this.spinner=this.componentRef.hostView.rootNodes[0],this.hideSpinner&&this.spinner.classList.add("kf-initial-spinner-hidden"),document.body.appendChild(this.spinner))}remove(){null!==this.spinner&&document.body.contains(this.spinner)&&(document.body.removeChild(this.spinner),this.componentRef?.destroy())}static{this.\u0275fac=function(k){return new(k||It)(L.KVO(Pe.OM3),L.KVO(L.zZn),L.KVO(Ge,8))}}static{this.\u0275prov=L.jDH({token:It,factory:It.\u0275fac,providedIn:"root"})}}return It})(),M=(()=>{class It{constructor(R,k,ye,Nt,qt){this.logger=R,this.css=k,this.windowRef=ye,this.html=Nt,this.environment=qt}processThemeDataFull(R){const k=this.css.processCss(R);this.html.setStyleFull(k),this.html.setScopeToStyleFull(this.environment.getKfThemeScopeSelector()),this.windowRef.nativeWindow.dispatchEvent&&this.windowRef.nativeWindow.dispatchEvent(new Event("resize"))}getBundleLoadedFromHostpage(){try{for(let R=0;R<=document.styleSheets.length-1;R++){const k=document.styleSheets[R];if("kf-theme-bundle"===k.title&&k.cssRules.length>0)return k.disabled=this.hasCurrentLocationKfThemeBundleParam()&&this.environment.isDevEnv(),this.removeIdAttributeFromStyleSheetOnCustomBundleInDevMode(k),k}}catch(R){this.logger.error("Exception reading bundle from hostpage:",R)}}removeIdAttributeFromStyleSheetOnCustomBundleInDevMode(R){if(R.disabled&&this.environment.isDevEnv()){const k=R.ownerNode;k?.removeAttribute&&k.removeAttribute("id")}}markBundleAsLoadedFromHostpage(R){this.logger.info("Css-bundle was loaded from host-page."),R.ownerNode.setAttribute("id",this.html.THEME_STYLES_FULL_ID),R.ownerNode.setAttribute("scope",this.environment.getKfThemeScopeSelector())}getBundle(R=!1){this.css.setKfThemeScope();const k=this.getBundleLoadedFromHostpage();if(k&&!k.disabled)return this.markBundleAsLoadedFromHostpage(k),(0,xe.of)(!0);this.logger.debug("Css-bundle not found in host-page.");const ye=this.getBundlePath();return this.css.loadBundle(ye,R).pipe((0,oe.n)(Nt=>(this.processThemeDataFull(Nt),this.logger.debug(`bundle was successfully loaded from ${ye}`),(0,xe.of)(!0))),(0,N.W)(Nt=>(this.logger.warn(`error  ${JSON.stringify(Nt)}`),this.getFallbackBundle())))}getBundlePath(){const R=this.getBundleParameterFromURL();return R?`./assets/bundle-${R}.css`:"./assets/bundle.css"}getFallbackBundle(){const R="./assets/bundle.css";return this.logger.debug("getFallbackBundle()"),this.css.loadBundle(R,!0).pipe((0,oe.n)(k=>(this.processThemeDataFull(k),this.logger.debug(`getFallbackBundle() finish ${R}`),(0,xe.of)(!0))),(0,N.W)(k=>(this.logger.warn(`error  ${JSON.stringify(k)}`),(0,xe.of)(!1))))}getBundleParameterFromURL(){if(this.environment.isDevEnv()){const ye=/(?:&|\?)(?:kf-theme-bundle=){1}(.+?(?=$|&|#))/gm.exec(this.windowRef.nativeWindow.location.href);if(ye)return ye[1]}return null}hasCurrentLocationKfThemeBundleParam(){return new URLSearchParams(window?.location?.search).has("kf-theme-bundle")}static{this.\u0275fac=function(k){return new(k||It)(L.KVO(_e),L.KVO(mt),L.KVO(ot),L.KVO(jt),L.KVO(Ce))}}static{this.\u0275prov=L.jDH({token:It,factory:It.\u0275fac,providedIn:"root"})}}return It})(),$=(()=>{class It{constructor(R,k){this.html=R,this.logger=k}extractColorsThemeInfoFromURL(R){try{const ye=new URL(R).searchParams,Nt=ye.get("f"),qt=ye.get("a");let bn=null;if(Nt){const Rn=Nt.split("/");Rn.length>0&&(bn=Rn[Rn.length-1].split(".")[0])}return bn?{themeId:bn,appearance:qt||"LIGHT",css:null}:null}catch{return this.logger.error(`Invalid URL:', ${R}`),null}}findLinkElementByStyleSheet(R){return R?.ownerNode&&"LINK"===R.ownerNode.nodeName?R.ownerNode:null}setCssToColorsThemeInfo(R,k){R&&(R.css=k)}hasColorsInHostPage(R,k){return R?.id===this.html.THEME_COLORS_ID&&null!==R?.href&&k.cssRules.length>0}getColorsLoadedFromHostPageInfo(){try{for(let R=0;R<=document.styleSheets.length-1;R++){const k=document.styleSheets[R],ye=this.findLinkElementByStyleSheet(k);if(this.hasColorsInHostPage(ye,k)){this.logger.info(`Css-colors-profile was loaded from host-page (link element with id '${this.html.THEME_COLORS_ID}').`);const Nt=ye?this.extractColorsThemeInfoFromURL(ye?.href):null;return this.setCssToColorsThemeInfo(Nt,k.cssRules[0].cssText),Nt}}}catch(R){this.logger.error("Exception reading colors from hostpage:",R)}return null}static{this.\u0275fac=function(k){return new(k||It)(L.KVO(jt),L.KVO(_e))}}static{this.\u0275prov=L.jDH({token:It,factory:It.\u0275fac,providedIn:"root"})}}return It})(),w=(()=>{class It{set themeID(R){this.windowRef.nativeWindow.kfTheme.themeID=R}set isThemeInitialised(R){this.windowRef.nativeWindow.kfTheme.isThemeInitialised=R}get onThemeLoaded(){return this.windowRef.nativeWindow.kfTheme.onThemeLoaded}constructor(R,k,ye,Nt,qt,bn,Rn,pn,An,fn){this.logger=R,this.css=k,this.windowRef=ye,this.html=Nt,this.utils=qt,this.initialSpinner=bn,this.environment=Rn,this.theme=pn,this.themeDataFull=An,this.cssHostPageLoadingService=fn,this.fontsLoaded$=document.fonts?(0,Rt.H)(document.fonts.ready).pipe((0,ie.T)(()=>!0),(0,we.t)(1)):(0,xe.of)(!0),this.subscription=new tt.yU,this.themingInitializedSubject=(0,L.WQX)(St)}ngOnDestroy(){this.subscription.unsubscribe()}loadTheme(R){let k=(0,xe.of)(!0),ye=(0,xe.of)(!0);(!this.html.isBundleAlreadyLoaded()||this.html.getStyleFullScope()!==(this.environment.getKfThemeScopeSelector()||"null"))&&(k=this.themeDataFull.getBundle(!1)),(this.theme.getThemeId()!==this.html.getStyleColorsTheme()||this.theme.getThemeAppearance()!==this.html.getStyleColorsAppearance())&&(this.themeID=this.theme.getThemeId(),ye=this.loadAndProcessThemeColors(R));const Nt=(0,nt.z)([ye,k,this.fontsLoaded$]).pipe((0,U.c)(10)).subscribe(qt=>{this.finishInitialization(!qt.find(bn=>!bn)),this.subscription.remove(Nt),Nt.unsubscribe()});this.subscription.add(Nt)}writeColorsThemeInfoToCookie(R){R?.themeId&&this.theme.setThemeToCookie(R.themeId),R?.appearance&&this.theme.setAppearanceToCookie(R.appearance)}storeProfileData(R){this.initEnv(R),this.applyDark(),this.applyImage()}loadAndProcessThemeColors(R){const k=this.cssHostPageLoadingService.getColorsLoadedFromHostPageInfo();if(k)return this.storeProfileData(k.css),this.writeColorsThemeInfoToCookie(k),(0,xe.of)(!0);const ye=this.theme.getThemeId();return this.css.loadColors(`./assets/${ye}.css`,!1,R).pipe((0,oe.n)(Nt=>(this.logger.debug(`./assets/${ye}.css`),this.utils.isHtml(Nt)?(this.logger.debug(`${ye} cant be loaded.`),(0,it.$)(Nt)):(this.processThemeColors(Nt,ye,R),(0,xe.of)(!0)))),(0,N.W)(()=>this.getThemeColorsFallback()),(0,N.W)(()=>this.getDefaultThemeColors()),(0,N.W)(()=>(console.error(`The theme ${ye} could not be loaded and no fallback was configured/found!`),(0,xe.of)(!1))))}getThemeColorsFallback(){const R=this.theme.getThemeId(),k=this.theme.getThemeAppearance();return this.css.loadColors(`./assets/${R}.css`,!0,k).pipe((0,oe.n)(ye=>this.utils.isHtml(ye)?(0,it.$)(ye):(this.processThemeColors(ye,R,k),(0,xe.of)(!0))))}getDefaultThemeColors(){const R=this.theme.getThemeId(),k=this.theme.getThemeAppearance();return R!==rt.themeDefaultId?(this.themeID=rt.themeDefaultId,this.css.loadColors(`./assets/${rt.themeDefaultId}.css`,!0,k).pipe((0,oe.n)(ye=>this.utils.isHtml(ye)?(0,it.$)(ye):(this.processThemeColors(ye,rt.themeDefaultId,k),(0,xe.of)(!0))))):(0,it.$)(!1)}processThemeColors(R,k,ye){this.html.setStyleColors(this.css.processCss(R),k,ye),this.storeProfileData(R)}initEnv(R){R&&(this.environment.setDarkTheme(this.utils.isDarkTheme(R)),this.environment.setUseImage(this.utils.calcUseImages(R)))}finishInitialization(R){R&&(this.html.getRootScopeElement().classList.toggle("theme-initialization",!1),this.html.getRootScopeElement().classList.toggle("theme-initialized",!0)),this.initialSpinner.remove(),this.isThemeInitialised=!0,this.logger.debug(`finish initialization; success:  ${R}`),this.onThemeLoaded.next({success:R}),this.themingInitializedSubject.next()}applyDark(){const R=this.environment.getDarkTheme(),k=this.html.getRootScopeElement();k.classList.remove(R?"kf-theme-light":"kf-theme-dark"),k.classList.add(R?"kf-theme-dark":"kf-theme-light")}
1applyImage(){const R=this.html.getRootScopeElement();this.environment.getUseImages()?R.classList.remove("kf-use-images-off"):R.classList.add("kf-use-images-off")}static{this.\u0275fac=function(k){return new(k||It)(L.KVO(_e),L.KVO(mt),L.KVO(ot),L.KVO(jt),L.KVO(Xe),L.KVO(qe),L.KVO(Ce),L.KVO(P),L.KVO(M),L.KVO($))}}static{this.\u0275prov=L.jDH({token:It,factory:It.\u0275fac,providedIn:"root"})}}return It})();window.kfTheme?window.kfTheme=Object.assign(JSON.parse(JSON.stringify(rt)),window.kfTheme):(window.kfTheme=JSON.parse(JSON.stringify(rt)),window.kfTheme.onThemeLoaded=new Fe.m(1),window.kfTheme.applyThemeByID=()=>{console.error("[email protected]: window.kfTheme.applyThemeByID() initialisation not completed yet.")});let lt=(()=>{class It{constructor(R,k,ye,Nt,qt,bn,Rn,pn,An,fn){this.css=R,this.windowRef=k,this.logger=ye,this.environment=Nt,this.themeList=qt,this.utils=bn,this.theme=Rn,this.html=pn,this.initialSpinner=An,this.themeDataService=fn,this.appMarkerClass="kf-theme-app-scope",this.createKfThemeInfoServiceAtWindow(),It.init(k,this),setTimeout(()=>{this.html.getRootScopeElement().setAttribute("kf-theme-version","12.13.1");let Xn=this.getThemeIdFromStores();const qn=this.getAppearanceFromStores();this.windowRef.nativeWindow.isThemeInitialised?this.logger.debug("Warning: another instance of KFThemeService already initialised."):(this.windowRef.nativeWindow.isThemeInitialised=!0,this.basePath=this.utils.getBasePath(),this.initialSpinner.add(),this.startInitialization(),this.logger.debug(`internal call of applyThemeByID('${Xn}')`),"undefined_undefined"==Xn&&(Xn="",this.logger.debug('replace themeID "undefined_undefined" to ""')),this.applyThemeByID(Xn,qn))},0)}createKfThemeInfoServiceAtWindow(){this.windowRef.nativeWindow.kfThemeInfo||(this.windowRef.nativeWindow.kfThemeInfo=new yt)}static init(R,k){R.nativeWindow.kfTheme?R.nativeWindow.kfTheme=Object.assign(JSON.parse(JSON.stringify(rt)),R.nativeWindow.kfTheme):(R.nativeWindow.kfTheme=JSON.parse(JSON.stringify(rt)),R.nativeWindow.kfTheme.onThemeLoaded=new Fe.m(1)),R.nativeWindow.kfTheme.applyThemeByID=(ye,Nt)=>{k.logger.debug(`window.kfTheme.applyThemeByID('${ye}', '${Nt}')`),k.applyThemeByID(ye,Nt)},R.nativeWindow.kfTheme.updateThemingInfoForApp=()=>{k.logger.debug("window.kfTheme.updateThemingInfoForApp()"),k.updateThemingInfoForApp()}}static setThemeID(R){window.kfTheme.themeID=R}static setBasePath(R){window.kfTheme.basePath=R}getThemeIdFromStores(){return this.theme.getThemeFromURL()||this.theme.getThemeFromSessionStorage()||this.theme.getThemeFromCookie()||""}getAppearanceFromStores(){const R=this.theme.getThemeAppearanceFromURL()||this.theme.getAppearanceFromSessionStorage()||this.theme.getAppearanceFromCookie();return this.utils.getAppearanceFromString(R)}get THEME_SERVICE_NAME(){return this.windowRef.nativeWindow.kfTheme.THEME_SERVICE_NAME}set THEME_SERVICE_NAME(R){this.windowRef.nativeWindow.kfTheme.THEME_SERVICE_NAME=R}get THEME_BASE_PATH_KEY(){return this.windowRef.nativeWindow.kfTheme.THEME_BASE_PATH_KEY}set THEME_BASE_PATH_KEY(R){this.windowRef.nativeWindow.kfTheme.THEME_BASE_PATH_KEY=R}get THEME_SERVICE_NAME_KEY(){return this.windowRef.nativeWindow.kfTheme.THEME_SERVICE_NAME_KEY}set THEME_SERVICE_NAME_KEY(R){this.windowRef.nativeWindow.kfTheme.THEME_SERVICE_NAME_KEY=R}get themeColors(){return this.windowRef.nativeWindow.kfTheme.themeColors}set themeColors(R){this.windowRef.nativeWindow.kfTheme.themeColors=R}get themeID(){return this.windowRef.nativeWindow.kfTheme.themeID}set themeID(R){this.windowRef.nativeWindow.kfTheme.themeID=R}get themeData(){return this.windowRef.nativeWindow.kfTheme.themeData}set themeData(R){this.windowRef.nativeWindow.kfTheme.themeData=R}get themeIsDark(){return this.windowRef.nativeWindow.kfTheme.themeIsDark}set themeIsDark(R){this.windowRef.nativeWindow.kfTheme.themeIsDark=R}get useImages(){return this.windowRef.nativeWindow.kfTheme.useImages}set useImages(R){this.windowRef.nativeWindow.kfTheme.useImages=R}get isThemeInitialised(){return this.windowRef.nativeWindow.kfTheme.isThemeInitialised}set isThemeInitialised(R){this.windowRef.nativeWindow.kfTheme.isThemeInitialised=R}get themeFirstIsDark(){return this.windowRef.nativeWindow.kfTheme.themeFirstIsDark}set themeFirstIsDark(R){this.windowRef.nativeWindow.kfTheme.themeFirstIsDark=R}get themeDefaultId(){return this.windowRef.nativeWindow.kfTheme.themeDefaultId}set themeDefaultId(R){this.windowRef.nativeWindow.kfTheme.themeDefaultId=R}get themeAppearanceDefault(){return this.windowRef.nativeWindow.kfTheme.themeAppearanceDefault}set themeAppearanceDefault(R){this.windowRef.nativeWindow.kfTheme.themeAppearanceDefault=R}get themeBaseId(){return this.windowRef.nativeWindow.kfTheme.themeBaseId}set themeBaseId(R){this.windowRef.nativeWindow.kfTheme.themeBaseId=R}get onThemeLoaded(){return this.windowRef.nativeWindow.kfTheme.onThemeLoaded}set onThemeLoaded(R){this.windowRef.nativeWindow.kfTheme.onThemeLoaded=R}get basePath(){return this.windowRef.nativeWindow.kfTheme.basePath}set basePath(R){this.windowRef.nativeWindow.kfTheme.basePath=R}startInitialization(){this.logger.debug("start initialisation"),this.html.getRootScopeElement().classList.toggle("theme-initialization",!0)}getThemeId(){return this.theme.getThemeId()}applyTheme(R,k){this.logger.debug(`deprecated call of applyTheme('${R}', '${k}')`),this.applyThemeByID(R+"_"+k)}updateThemingInfoForApp(R=null){if("function"==typeof this.windowRef.nativeWindow.nativeAppTheming?.requiredThemingInfo){let ye;this.addAppMarkerToBody();try{ye=JSON.parse(this.windowRef.nativeWindow.nativeAppTheming?.requiredThemingInfo())}catch(Nt){return this.logger.error(`Cannot read requiredThemingInfo from nativeAppTheming! ${Nt}`),!1}return this.logger.info(`Using themeInfo from app: ${ye?.themeId} | ${ye?.appearance}.`),(!ye.themeId||""===ye.themeId)&&(ye.themeId=R&&""!==R?R:this.getThemeIdFromStores()),this.applyThemeByIDInternal(ye.themeId,ye.appearance),!0}if("function"==typeof this.windowRef.nativeWindow.nativeAppTheming?.requiredThemeId){const ye=this.windowRef.nativeWindow.nativeAppTheming?.requiredThemeId();return this.logger.info(`Using theme from app: ${ye}.`),this.applyThemeByIDInternal(ye,""),!0}return!1}
1addAppMarkerToBody(){this.html.getRootScopeElement().classList.contains(this.appMarkerClass)||this.html.getRootScopeElement().classList.add(this.appMarkerClass)}applyThemeByID(R,k){this.logger.debug(`applyThemeByID  ${R} with appearance ${k}`),this.updateThemingInfoForApp(R)||this.applyThemeByIDInternal(R,k||"")}applyThemeByIDInternal(R,k){if("0_0"===R||"undefined_undefined"===R)return void this.logger.debug(`wrong theme id provided:  ${R}`);""===R&&(R=this.themeDefaultId);let ye=this.utils.getAppearanceFromString(k);ye||(ye=this.getAppearanceFromStores()??this.themeAppearanceDefault),this.theme.setThemeToCookie(R),this.theme.setAppearanceToCookie(ye),this.themeID=R,this.windowRef.nativeWindow.isThemeInitialised?this.themeDataService.loadTheme(ye):this.logger.debug(`Skip calling method this.loadTheme()  ${R}`)}applyThemeVariables(R=""){""!==R&&(this.html.setStyleColors(this.css.processCss(R)),this.environment.setDarkTheme(this.utils.isDarkTheme(R)),this.environment.setUseImage(this.utils.calcUseImages(R)),this.themeDataService.applyDark(),this.themeDataService.applyImage())}getCSSVariables(){return this.html.getStyleColorsContent()}getCSSVariableValue(R){return getComputedStyle(this.html.getRootScopeElement()).getPropertyValue(R).trim()}loadThemesListService(){this.themeList.loadThemesListService()}getThemes(){return this.themeList.getThemesList()}getThemeServiceName(){return this.environment.getKfThemeServiceName()}getAssetsServiceSrc(R){return this.utils.getAssetsServiceSrc(R)}getThemeFromCookie(){return this.theme.getThemeFromCookie()}static{this.\u0275fac=function(k){return new(k||It)(L.KVO(mt),L.KVO(ot),L.KVO(_e),L.KVO(Ce),L.KVO(Mt),L.KVO(Xe),L.KVO(P),L.KVO(jt),L.KVO(qe),L.KVO(w))}}static{this.\u0275prov=L.jDH({token:It,factory:It.\u0275fac,providedIn:"root"})}}return It})(),cn=(()=>{class It{constructor(R,k,ye){this.kfHttpClientService=R,this.utils=k,this.assetsPathService=ye,this.assetObservables=new Map}loadImage(R,k=!1,ye=!0,Nt=!1,qt=!0){let bn=this.assetsPathService.getAssetPath(R,k,ye);if(Nt&&(/\?/.test(bn)?bn+="&n=true":bn+="?n=true"),this.assetObservables.has(bn))return this.assetObservables.get(bn)??(0,xe.of)(void 0);const Rn=bn.includes(".svg")?{observe:"response",responseType:"text"}:{observe:"body",responseType:"blob"},pn=this.createAssetObservable(bn,k,Rn).pipe((0,N.W)(()=>qt?this.createFallbackAssetObservable(R,k,Rn):(0,xe.of)({replaceFixedColors:!1,img:!1,svg:!1,content:null,url:""}))).pipe((0,we.t)(1));return this.assetObservables.set(bn,pn),pn}createAssetObservable(R,k,ye){return this.kfHttpClientService.get(R,ye).pipe((0,oe.n)(Nt=>this.mapResultToAsset(Nt,ye.responseType)||(0,it.$)(`error fetching asset from url ${R}`)),(0,ie.T)(Nt=>{if(Nt)return Nt.replaceFixedColors=k,Nt}))}createFallbackAssetObservable(R,k,ye){const Nt={replaceFixedColors:!1,img:!1,svg:!1,content:null,url:""};return k?(0,xe.of)(Nt):this.createAssetObservable(this.utils.addBasePath(R),!0,ye).pipe((0,N.W)(()=>(0,xe.of)(Nt)))}mapResultToAsset(R,k){if(R){if("blob"===k)return this.getBase64Image(R).pipe((0,ie.T)(ye=>({img:!0,svg:!1,content:ye})));if("text"===k&&R.body&&this.utils.isSvg(R.body))return(0,xe.of)({img:!1,svg:!0,content:R.body,url:R.url})}return null}getBase64Image(R){const k=new FileReader;return k.onload=()=>{},k.readAsDataURL(R),(0,Oe.R)(k,"load").pipe((0,ie.T)(()=>null===k.result?"":k.result.toString()))}cancelLoadImage(){}static{this.\u0275fac=function(k){return new(k||It)(L.KVO(i),L.KVO(Xe),L.KVO(Ae))}}static{this.\u0275prov=L.jDH({token:It,factory:It.\u0275fac,providedIn:"root"})}}return It})();const Xt=It=>[(0,Pe.phd)((0,j.A)(function*(){(0,L.WQX)(lt)})),{provide:Re,useFactory:()=>Mn(It)?.logLevel},{provide:Et,useFactory:()=>Mn(It)?.basePath},{provide:kt,useFactory:()=>Mn(It)?.kfThemeServicePath},{provide:ht,useFactory:()=>Mn(It)?.spinner},{provide:Ne,useFactory:()=>Mn(It)?.kfThemeResourcesPath}];function Mn(It){let Zt;return Zt=It instanceof L.nKC?(0,L.WQX)(It):It,Zt}},8123(Yt,ve,a){a.d(ve,{KY:()=>St});var h=a(7580),g=a(6124),Q=a(6563),D=a(7511),I=a(4205),E=a(5797),O=a(7092),X=a(4600),B=a(8537),K=a(9452),j=a(9400),Pe=a(3037),L=a(1318),ne=a(2575),Ve=a(1567),Fe=a(9475),tt=a(271),nt=a(6301),Rt=a(6647),Oe=a(4334),xe=a(2354),it=a(9748),q=a(6911),F=a(436),N=a(9074);function U(Me,De){if(1&Me&&(Q.qSk(),g.rj2(0,"svg",1),g.Hgh(1,"use"),g.eux()),2&Me){const Ee=g.XpG();g.R7$(),g.BMQ("href",Ee,null,"xlink")}}function ce(Me,De){if(1&Me&&g.nVh(0,U,2,1,":svg:svg",1),2&Me){const Ee=g.XpG();g.vxM(Ee.showAltText?-1:0)}}function ie(Me,De){if(1&Me&&(g.rj2(0,"div",0),g.EFF(1),g.eux()),2&Me){const Ee=g.XpG();g.R7$(),g.SpI(" ",Ee.alt," ")}}function we(Me,De){if(1&Me&&g.Hgh(0,"div",0),2&Me){const Ee=g.XpG();g.Avn("innerHTML",Ee.sanitizedIcon(),g.npT)}}function oe(Me,De){if(1&Me&&(g.rj2(0,"div",1),g.EFF(1),g.eux()),2&Me){const Ee=g.XpG();g.R7$(),g.SpI(" ",Ee.alt()," ")}}function de(Me,De){if(1&Me&&g.Hgh(0,"div",0),2&Me){const Ee=g.XpG();g.Avn("innerHTML",Ee.sanitizedIcon(),g.npT)}}function He(Me,De){if(1&Me&&(g.rj2(0,"div",1),g.EFF(1),g.eux()),2&Me){const Ee=g.XpG();g.R7$(),g.SpI(" ",Ee.alt()," ")}}function Be(Me,De){if(1&Me&&g.nrm(0,"kf-icon-external",0),2&Me){const Ee=g.XpG();g.Y8G("url",Ee.url)("alt",Ee._alt)}}function $e(Me,De){if(1&Me&&g.nrm(0,"kf-icon-animated",1),2&Me){const Ee=g.XpG();g.Y8G("name",Ee.name)("size",Ee.size)("alt",Ee._alt)}}function Te(Me,De){if(1&Me&&g.nrm(0,"kf-icon-font",2),2&Me){const Ee=g.XpG(3);g.Y8G("name",Ee.name)("size",Ee.size)}}function le(Me,De){if(1&Me&&g.nrm(0,"kf-icon-single",3),2&Me){const Ee=g.XpG(3);g.Y8G("name",Ee.name)("size",Ee.size)("url",Ee.url)("alt",Ee._alt)}}function pt(Me,De){1&Me&&g.nVh(0,Te,1,2,"kf-icon-font",2)(1,le,1,4,"kf-icon-single",3),2&Me&&g.vxM("loaded"===De.status?0:1)}function Ie(Me,De){if(1&Me&&(g.nVh(0,pt,2,1),g.nI1(1,"async")),2&Me){let Ee;const i=g.XpG();g.vxM((Ee=g.bMT(1,1,i.fontStatus$))?0:-1,Ee)}}let ze=(()=>{class Me{static{this.DEFAULT_SIZE=24}getSizeForFontName(Ee,i){try{const ke=Ee?.match(/(\d+)(.svg)?$/);if(ke?.length)return parseInt(ke[0],10)}catch{}return i??Me.DEFAULT_SIZE}getSize(Ee,i,ke){let ot=ke??Me.DEFAULT_SIZE;if(!ke)try{const Xe=Ee?.match(/(\d+)(.svg)?$/);Xe?.length&&(ot=parseInt(Xe[0],10));const fe=i?.match(/(\d+).svg$/);fe?.length&&(ot=parseInt(fe[1],10))}catch{}return ot}static{this.\u0275fac=function(i){return new(i||Me)}}static{this.\u0275prov=Q.jDH({token:Me,factory:Me.\u0275fac,providedIn:"root"})}}return Me})(),Qe=(()=>{class Me{constructor(Ee){this.kfAssets=Ee,this.iconsElement=null,this.cachedObservables=new Map}init(){this.iconsElement=document.getElementById("kf-icons-svg"),this.iconsElement||(this.iconsElement=document.createElement("div"),this.iconsElement.setAttribute("id","kf-icons-svg"),this.iconsElement.style.display="none",this.iconsElement.innerHTML='<?xml version="1.0" encoding="UTF-8"?><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"></svg>',document.body.appendChild(this.iconsElement))}getIconId(Ee,i=!1){const ke=i?this.getIconNameFromUrl(Ee):Ee,ot=i?ke:"sprite-symbol";if(this.cachedObservables.has(ot))return i?this.cachedObservables.get(ke):(0,K.of)(`#${ke}`);const Xe=this.loadIcon(Ee,i).pipe((0,tt.T)(fe=>{const Y=i?this.mapSvgToSprite(fe?.content,ke):fe?.content;return this.setSprite(Y,i),`#${ke}`}),(0,nt.t)());return this.cachedObservables.set(ot,Xe),Xe}
1mapSvgToSprite(Ee,i){const ke=Ee?.match(/<svg(.|\n)+?>/gm);if(Ee&&ke?.length){const ot=ke[0].replace(/(width|height)="(.+?)"\s*/g,"");return Ee.replace(ke[0],ot).replace(/(id|version|xmlns:xlink|xmlns)="(.+?)"\s*/g,'xmlns="http://www.w3.org/2000/svg"').replace(/(width|height)="(.+?)px"\s*/g,"").replace(/<svg/,`<symbol id="${i}"`).replace("</svg>","</symbol>").replace(/<\?xml.+\?>/,"").replace(/fill="#[a-f0-9]+"/gi,'fill="currentColor"').replace(/stroke="#[a-f0-9]+"/gi,'stroke="currentColor"').replace(/fill-opacity="[a-f0-9.]+"/gi,"").replace(/fill:\s*#.{3,6};/g,"fill: currentColor;").replace(/stroke:\s*#.{3,6}/g,"stroke: currentColor;").replace(/<title>.+<\/title>/,"").replace(/<desc>.+<\/desc>/,"").replace(/<!--.+-->/,"")}return null}getIconNameFromUrl(Ee){const i=Ee.split("/");return i[i.length-1].replace(".svg","")}setSprite(Ee,i){Ee&&this.iconsElement&&(this.iconsElement.children[0].innerHTML+=i?Ee:Ee.replace(/<svg(.+?)\s*>/,"").replace("</svg>","").replace(/<\?xml.+\?>/,""))}loadIcon(Ee,i=!1){return i?this.kfAssets.loadImage(Ee):this.kfAssets.loadImage("./assets/svg/sprite-symbol.svg",!1,!1)}ngOnDestroy(){this.cachedObservables.clear()}static{this.\u0275fac=function(i){return new(i||Me)(Q.KVO(q.Go))}}static{this.\u0275prov=Q.jDH({token:Me,factory:Me.\u0275fac,providedIn:"root"})}}return Me})(),_t=(()=>{class Me{get url(){return this._url}set url(Ee){this._url=Ee,this.loadExternalIcon$.next(!!this._url)}constructor(Ee,i,ke){this.kfIconService=Ee,this.ref=i,this.changeDetector=ke,this._url=null,this.svgAttachTimeout=500,this.alt=null,this.showAltText=!1,this.iconLoadSubscription=O.yU.EMPTY,this.loadExternalIcon$=new E.t(!1),this.externalIcon$=this.loadExternalIcon$.pipe((0,Rt.n)(ot=>{if(ot&&this.url){const Xe=this.kfIconService.getIconId(this.url,!0);return this.iconLoadSubscription=Xe?.subscribe(()=>this.checkSVGLoaded())??O.yU.EMPTY,Xe??j.w}return j.w}))}checkSVGLoaded(){setTimeout(()=>{const Ee=this.ref.nativeElement.getElementsByTagName("use")?.item(0),i=this.getBBox(Ee);this.showAltText=!i||0===i.width||0===i.height,this.changeDetector.markForCheck()},this.svgAttachTimeout)}getBBox(Ee){return Ee&&"function"==typeof Ee.getBBox?Ee.getBBox():null}ngOnDestroy(){this.iconLoadSubscription?.unsubscribe(),this.loadExternalIcon$.complete()}static{this.\u0275fac=function(i){return new(i||Me)(g.rXU(Qe),g.rXU(g.aKT),g.rXU(h.gRc))}}static{this.\u0275cmp=g.VBU({type:Me,selectors:[["kf-icon-external"]],inputs:{url:"url",alt:"alt"},decls:3,vars:4,consts:[["aria-hidden","true",1,"kf-icon-alt"],[1,"kf-icon"]],template:function(i,ke){if(1&i&&(g.nVh(0,ce,1,1),g.nI1(1,"async"),g.nVh(2,ie,2,1,"div",0)),2&i){let ot;g.vxM((ot=g.bMT(1,2,ke.externalIcon$))?0:-1,ot),g.R7$(2),g.vxM(ke.showAltText&&ke.alt?2:-1)}},dependencies:[it.Jj],styles:["[_nghost-%COMP%]{display:block;width:100%;height:100%}[_nghost-%COMP%]     svg{width:100%;height:100%;display:inline-block;vertical-align:top}[_nghost-%COMP%]   .kf-icon-alt[_ngcontent-%COMP%]{font-style:normal;font-weight:400;font-size:small}"],changeDetection:0})}}return Me})(),Re=(()=>{class Me{transform(Ee,i){const ke=/-/g;return Ee?Ee.match(/_\d+(.svg)?$/)?Ee.replace(".svg","").replace(ke,"_"):`${Ee}_${this.getSize(Ee,i)}`.replace(".svg","").replace(ke,"_"):""}getSize(Ee,i){if(null!==i)return i;{let ke=24;try{const ot=Ee.match(/\d+$/);ot?.length&&(ke=parseInt(ot[0],10))}catch{}return ke}}static{this.\u0275fac=function(i){return new(i||Me)}}static{this.\u0275pipe=g.EJ8({name:"iconName",type:Me,pure:!0})}}return Me})(),Et=(()=>{class Me{constructor(Ee){this.iconFontSizeService=Ee}transform(Ee,i){return`kf-icon-font-${this.iconFontSizeService.getSizeForFontName(Ee,i)}`}static{this.\u0275fac=function(i){return new(i||Me)(g.rXU(ze,16))}}static{this.\u0275pipe=g.EJ8({name:"iconFont",type:Me,pure:!0})}static{this.\u0275prov=Q.jDH({token:Me,factory:Me.\u0275fac,providedIn:"root"})}}return Me})(),kt=(()=>{class Me{constructor(){this.size=null}static{this.\u0275fac=function(i){return new(i||Me)}}static{this.\u0275cmp=g.VBU({type:Me,selectors:[["kf-icon-font"]],inputs:{size:"size",name:"name"},decls:4,vars:9,consts:[["aria-hidden","true","translate","no",1,"kf-icon-font-container"]],template:function(i,ke){1&i&&(g.rj2(0,"div",0),g.nI1(1,"iconFont"),g.EFF(2),g.nI1(3,"iconName"),g.eux()),2&i&&(g.xc7("font-family",g.i5U(1,3,ke.name,ke.size)),g.R7$(2),g.SpI(" ",g.i5U(3,6,ke.name,ke.size),"\n"))},dependencies:[Re,Et],styles:['[_nghost-%COMP%]{display:flex;justify-content:center;align-items:center;font-style:normal;fill:currentColor;font-weight:400;line-height:1;letter-spacing:normal;text-transform:none;vertical-align:middle;white-space:nowrap;word-wrap:normal;direction:ltr;-webkit-font-feature-settings:"liga";height:100%;width:100%}[_nghost-%COMP%]   .kf-icon-font-container[_ngcontent-%COMP%]{display:flex;height:100%;flex:1;justify-items:center;text-overflow:ellipsis;align-items:center}'],changeDetection:0})}}return Me})(),ht=(()=>{class Me{constructor(Ee){this.kfAssetsService=Ee}loadSingleIcon(Ee,i,ke){const ot=this.getIconNameWithSize(ke,i),Xe=this.getFolderPathForIcon(ot,i);return this.kfAssetsService.loadImage(`${Ee}/${Xe}/${ot}.svg`,!1,!1).pipe((0,tt.T)(fe=>fe?.content?{...fe,content:this.prepareSvgIcon(fe.content)}:void 0))}getFolderPathForIcon(Ee,i){const ot=Ee.match(/_(\d+)$/);return(ot?parseInt(ot[1],10):null)??i}getIconNameWithSize(Ee,i){return(new Re).transform(Ee,i)}prepareSvgIcon(Ee){return Ee.replace(/(width|height)="(.+?)px"\s*/g,"").replace(/<\?xml.+\?>/,"").replace(/fill-opacity="[a-f0-9.]+"/gi,"").replace(/fill:\s*#.{3,6};/g,"fill: currentColor;").replace(/fill="#[a-f0-9]+"/gi,'fill="currentColor"').replace(/fill="black"/gi,'fill="currentColor"').replace(/stroke:\s*#.{3,6}/g,"stroke: currentColor;").replace(/stroke="#[a-f0-9]+"/gi,'stroke="currentColor"').replace(/<title>.+<\/title>/,"").replace(/<desc>.+<\/desc>/,"").replace(/<!--.+-->/,"").replace(/\s\s+/gm,"")}static{this.\u0275fac=function(i){return new(i||Me)(Q.KVO(q.Go))}}static{this.\u0275prov=Q.jDH({token:Me,factory:Me.\u0275fac,providedIn:"root"})}}return Me})(),Ne=(()=>{class Me{constructor(){this.name=(0,h.hFB)(null),this.size=(0,h.hFB)(null),this.url=(0,h.hFB)(null),this.alt=(0,h.hFB)(null),this.sanitizer=(0,Q.WQX)(F.up),this.iconSingleService=(0,Q.WQX)(ht),this.iconSizeService=(0,Q.WQX)(ze),this.iconSizeInRemIfLoaded=(0,D.EW)(()=>
1{if(this.showAltText())return null;const Ee=this.requestedIconSizeInPx();return Ee?Ee/16:null}),this.sanitizedIcon=(0,D.EW)(()=>this.iconData()?.content?this.iconData()?.content:""),this.showAltText=(0,D.EW)(()=>"error"===this.iconData().status),this.iconParams=(0,D.EW)(()=>({name:this.name(),url:this.url(),size:this.size()})),this.iconData=(0,N.ot)((0,N.br)(this.iconParams).pipe((0,ne.B)(10),(0,Rt.n)(Ee=>Ee.name?this.iconSingleService.loadSingleIcon("./assets/svg-icons",this.requestedIconSizeInPx(),Ee.name).pipe((0,tt.T)(i=>({content:this.sanitizer.bypassSecurityTrustHtml(i?.content??""),status:"success"})),(0,Pe.Z)({status:"loading",content:null}),(0,L.W)(()=>(0,K.of)({status:"error",content:null}))):(0,K.of)({status:"error",content:null}))),{initialValue:{content:null,status:"loading"}}),this.requestedIconSizeInPx=(0,D.EW)(()=>{const{name:Ee,url:i,size:ke}=this.iconParams();return this.iconSizeService.getSize(Ee,i,ke)})}static{this.\u0275fac=function(i){return new(i||Me)}}static{this.\u0275cmp=g.VBU({type:Me,selectors:[["kf-icon-single"]],hostVars:4,hostBindings:function(i,ke){2&i&&g.xc7("width",ke.iconSizeInRemIfLoaded(),"rem")("height",ke.iconSizeInRemIfLoaded(),"rem")},inputs:{name:[1,"name"],size:[1,"size"],url:[1,"url"],alt:[1,"alt"]},decls:2,vars:1,consts:[["aria-hidden","true",1,"kf-icon-single",3,"innerHTML"],["aria-hidden","true",1,"kf-icon-alt"]],template:function(i,ke){1&i&&g.nVh(0,we,1,1,"div",0)(1,oe,2,1,"div",1),2&i&&g.vxM(ke.showAltText()?ke.alt()?1:-1:0)},styles:["[_nghost-%COMP%]{display:inline-block;vertical-align:top}[_nghost-%COMP%]   .kf-icon-single[_ngcontent-%COMP%], [_nghost-%COMP%]     svg{width:100%;height:100%;display:inline-block;vertical-align:top}[_nghost-%COMP%]   .kf-icon-alt[_ngcontent-%COMP%]{font-style:normal;font-weight:400;font-size:small}"],changeDetection:0})}}return Me})();const Ot=(Me,De)=>(Me.hasService()||(Me.kfIconService=De),Me.kfIconService);let Lt=(()=>{class Me{get kfIconService(){return this._kfIconService}set kfIconService(Ee){this._kfIconService=Ee,this._kfIconService.init()}hasService(){return!!this._kfIconService}static{this.\u0275fac=function(i){return new(i||Me)}}static{this.\u0275prov=Q.jDH({token:Me,factory:Me.\u0275fac,providedIn:"platform"})}}return Me})(),zt=(()=>{class Me extends Qe{static{this.\u0275fac=(()=>{let Ee;return function(ke){return(Ee||(Ee=g.xGo(Me)))(ke||Me)}})()}static{this.\u0275prov=Q.jDH({token:Me,factory:Me.\u0275fac,providedIn:"root"})}}return Me})(),rt=(()=>{class Me{constructor(){this.startOnLoad=(0,h.hFB)(!1,{transform:h.L39}),this.loop=(0,h.hFB)(!1,{transform:h.L39}),this.playOnHover=(0,h.hFB)(!1,{transform:h.L39}),this.playOnPress=(0,h.hFB)(!1,{transform:h.L39}),this.respectReducedMotion=(0,h.hFB)(!1,{transform:h.L39}),this.svgLoaded=new I.B,this.duration=0,this.LOOP_INTERVAL=100,this.mediaQuery=window.matchMedia("(prefers-reduced-motion: reduce)"),this.prefersReducedMotion=(0,N.ot)((0,B.R)(this.mediaQuery,"change").pipe((0,tt.T)(Ee=>Ee.matches)),{initialValue:this.mediaQuery.matches}),this.host=(0,Q.WQX)(g.aKT),this.loopEffect=(0,Q.QZP)(()=>{this.loop()&&!this.shouldReduceMotion()?this.play():this.clearLoopTimer()}),this.startOnLoadEffect=(0,Q.QZP)(()=>{this.startOnLoad()&&!this.shouldReduceMotion()&&this.play()}),this.respectReducedMotionEffect=(0,Q.QZP)(()=>{this.respectReducedMotion()&&this.stop()})}ngOnInit(){this.mutationObserver=new MutationObserver(()=>{const Ee=this.getSvg();Ee&&(this.duration=this.getSvgDuration(),this.svg=Ee,this.svgLoaded.next(),this.startOnLoad()?this.play():this.stop(),this.mutationObserver?.disconnect())}),this.mutationObserver.observe(this.host.nativeElement,{childList:!0,subtree:!0})}ngOnDestroy(){this.clearLoopTimer(),this.mutationObserver?.disconnect(),this.svgLoadedSubscription?.unsubscribe()}onHoverStart(){this.playOnHover()&&!this.shouldReduceMotion()&&this.play()}onPressStart(){this.playOnPress()&&!this.shouldReduceMotion()&&this.play()}play(){!this.svg||this.shouldReduceMotion()||(this.svg.setCurrentTime(0),this.svg.unpauseAnimations(),this.loop()&&this.startLoopWatcher())}stop(){this.svg&&(this.svg.pauseAnimations(),this.svg.setCurrentTime(0))}shouldReduceMotion(){return this.respectReducedMotion()&&this.prefersReducedMotion()}
1startLoopWatcher(){!this.svg||!this.duration||this.loopTimerId||this.shouldReduceMotion()||this.check()}getSvg(){return this.host.nativeElement.querySelector("kf-icon svg")}clearLoopTimer(){void 0!==this.loopTimerId&&(clearTimeout(this.loopTimerId),this.loopTimerId=void 0)}check(){this.svg&&!this.shouldReduceMotion()?(this.svg.getCurrentTime()>=this.duration&&(this.svg.setCurrentTime(0),this.svg.unpauseAnimations()),this.loopTimerId=window.setTimeout(()=>this.check(),this.LOOP_INTERVAL)):this.clearLoopTimer()}getSvgDuration(){if(!this.svg)return 0;const Ee=Array.from(this.svg.querySelectorAll("animate, animateTransform, animateMotion"));return Math.max(...Ee.map(i=>i.getSimpleDuration()||0),0)}static{this.\u0275fac=function(i){return new(i||Me)}}static{this.\u0275dir=g.FsC({type:Me,selectors:[["","kfIconAnimated",""]],hostBindings:function(i,ke){1&i&&g.bIt("mouseenter",function(){return ke.onHoverStart()})("mousedown",function(){return ke.onPressStart()})("touchstart",function(){return ke.onPressStart()})},inputs:{startOnLoad:[1,"startOnLoad"],loop:[1,"loop"],playOnHover:[1,"playOnHover"],playOnPress:[1,"playOnPress"],respectReducedMotion:[1,"respectReducedMotion"]}})}}return Me})(),Qt=(()=>{class Me{constructor(){this.name=(0,h.hFB)(null),this.size=(0,h.hFB)(null),this.alt=(0,h.hFB)(null),this.sanitizer=(0,Q.WQX)(F.up),this.iconAnimatedService=(0,Q.WQX)(ht),this.iconSizeService=(0,Q.WQX)(ze),this.animatedIconDirective=(0,Q.WQX)(rt,{optional:!0}),this.svgLoadedEffect=(0,Q.QZP)(()=>{this.iconData()?.content&&this.animatedIconDirective?.svgLoaded.next()}),this.iconSizeInRemIfLoaded=(0,D.EW)(()=>{if(this.showAltText())return null;const Ee=this.requestedIconSizeInPx();return Ee?Ee/16:null}),this.sanitizedIcon=(0,D.EW)(()=>this.iconData()?.content?this.iconData()?.content:""),this.showAltText=(0,D.EW)(()=>"error"===this.iconData().status),this.iconParams=(0,D.EW)(()=>({name:this.name(),size:this.size()})),this.iconData=(0,N.ot)((0,N.br)(this.iconParams).pipe((0,ne.B)(10),(0,Rt.n)(Ee=>Ee.name?this.iconAnimatedService.loadSingleIcon("./assets/animated-icons",this.requestedIconSizeInPx(),Ee.name).pipe((0,tt.T)(i=>({content:this.sanitizer.bypassSecurityTrustHtml(i?.content??""),status:"success"})),(0,Pe.Z)({status:"loading",content:null}),(0,L.W)(()=>(0,K.of)({status:"error",content:null}))):(0,K.of)({status:"error",content:null}))),{initialValue:{content:null,status:"loading"}}),this.requestedIconSizeInPx=(0,D.EW)(()=>{const{name:Ee,size:i}=this.iconParams();return this.iconSizeService.getSize(Ee,null,i)})}static{this.\u0275fac=function(i){return new(i||Me)}}static{this.\u0275cmp=g.VBU({type:Me,selectors:[["kf-icon-animated"]],hostVars:4,hostBindings:function(i,ke){2&i&&g.xc7("width",ke.iconSizeInRemIfLoaded(),"rem")("height",ke.iconSizeInRemIfLoaded(),"rem")},inputs:{name:[1,"name"],size:[1,"size"],alt:[1,"alt"]},decls:2,vars:1,consts:[["aria-hidden","true",1,"kf-icon-animated",3,"innerHTML"],["aria-hidden","true",1,"kf-icon-alt"]],template:function(i,ke){1&i&&g.nVh(0,de,1,1,"div",0)(1,He,2,1,"div",1),2&i&&g.vxM(ke.showAltText()?ke.alt()?1:-1:0)},styles:["[_nghost-%COMP%]{display:inline-block;vertical-align:top}[_nghost-%COMP%]   .kf-icon-animated[_ngcontent-%COMP%], [_nghost-%COMP%]     svg{width:100%;height:100%;display:inline-block;vertical-align:top}[_nghost-%COMP%]   .kf-icon-alt[_ngcontent-%COMP%]{font-style:normal;font-weight:400;font-size:small}"],changeDetection:0})}}return Me})(),Kt=(()=>{class Me{constructor(){this.fontLoadedCache=new Set,this.fontStatusObservables=new Map,this.fontLoadTimeoutMs=600,this.themeReadyTimeoutMs=3e3,this.document=(0,Q.WQX)(Q.qQL),this.environmentService=(0,Q.WQX)(q.vf)}getFontStatus(Ee,i){if(this.fontLoadedCache.has(Ee))return(0,K.of)({status:"loaded"});if(this.fontStatusObservables.has(Ee))return this.fontStatusObservables.get(Ee);const ot=this.environmentService.themeLoaded$.pipe((0,Ve.p)(Boolean),(0,xe.w)({first:this.themeReadyTimeoutMs}),(0,Oe.s)(1),(0,Rt.n)(()=>this.isFontLoaded(Ee,i).pipe((0,tt.T)(Xe=>("loaded"===Xe.status&&this.fontLoadedCache.add(Ee),Xe)))),(0,L.W)(()=>(0,K.of)({status:"unloaded"})),(0,nt.t)({bufferSize:1,refCount:!0}),(0,Fe.j)(()=>{this.fontStatusObservables.delete(Ee)}));return this.fontStatusObservables.set(Ee,ot),ot}isFontLoaded(Ee,i){const ot=`${Ee}px "kf-icon-font-${Ee}"`,Xe=document.fonts;
1return(0,X.H)(Xe.load(ot)).pipe((0,xe.w)({first:this.fontLoadTimeoutMs}),(0,tt.T)(fe=>({status:fe.length>0&&this.checkFontRenders(Ee,ot,i)?"loaded":"unloaded"})),(0,L.W)(()=>(0,K.of)({status:"unloaded"})))}checkFontRenders(Ee,i,ke){const Xe=this.document.createElement("canvas").getContext("2d",{willReadFrequently:!0}),Y=ke??`ic_orden_mit_euro_${Ee}`;if(!Xe)return!1;Xe.font=`${Ee}px monospace`;const Se=Xe.measureText(Y).width;return Xe.font=`${i}, monospace`,Se!==Xe.measureText(Y).width}static{this.\u0275fac=function(i){return new(i||Me)}}static{this.\u0275prov=Q.jDH({token:Me,factory:Me.\u0275fac,providedIn:"root"})}}return Me})();const ut=new Q.nKC("ICON_FONT_LOADER",{providedIn:"root",factory:()=>(0,Q.WQX)(Kt)});let St=(()=>{class Me{constructor(){this.destroy$=new I.B,this.el=(0,Q.WQX)(g.aKT),this.iconSizeService=(0,Q.WQX)(ze),this.iconFontLoader=(0,Q.WQX)(ut),this.size=null,this.name=null,this.isAnimated=!1,this._alt=null,this._userAriaLabel=null,this.url=null,this.expand=!1}static{this.DEFAULT_SIZE=24}static{this.BASE_FONT_SIZE=16}set alt(Ee){this._alt=Ee,this._userAriaLabel||this.setAriaLabel(Ee)}set userAriaLabel(Ee){this.setAriaLabel(Ee),this._userAriaLabel=Ee}ngOnChanges(Ee){(Ee.name||Ee.url||Ee.size)&&this.setIconFontLoadedState()}setIconFontLoadedState(){this.fontStatus$=this.iconFontLoader.getFontStatus(this.iconSizeService.getSize(this.name,this.url,this.size),this.name)}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}setAriaLabel(Ee){Ee?this.el.nativeElement.setAttribute("aria-label",Ee):this.el.nativeElement.removeAttribute("aria-label")}get fontFamily(){const Ee=this.url;return Ee?null:`'kf-icon-font-${this.iconSizeService.getSize(this.name,Ee,this.size)}'`}get iconSize(){return this.expand?"100%":this.iconSizeService.getSize(this.name,this.url,this.size)/Me.BASE_FONT_SIZE+"rem"}get iconFontSize(){if(this.expand){const Ee=this.el?.nativeElement?.clientWidth||Me.DEFAULT_SIZE,i=this.el?.nativeElement?.clientHeight||Me.DEFAULT_SIZE;return(Ee>i?i:Ee)/Me.BASE_FONT_SIZE+"rem"}return this.iconSizeService.getSize(this.name,this.url,this.size)/Me.BASE_FONT_SIZE+"rem"}static{this.\u0275fac=function(i){return new(i||Me)}}static{this.\u0275cmp=g.VBU({type:Me,selectors:[["kf-icon"]],hostVars:12,hostBindings:function(i,ke){2&i&&(g.xc7("font-family",ke.fontFamily)("width",ke.iconSize)("height",ke.iconSize)("font-size",ke.iconFontSize),g.AVh("kf-icon-custom",ke.url)("kf-icon-expand",ke.expand))},inputs:{size:"size",name:"name",isAnimated:"isAnimated",alt:"alt",userAriaLabel:[0,"aria-label","userAriaLabel"],url:"url",expand:"expand"},features:[g.Jv_([{provide:Qe,useFactory:Ot,deps:[Lt,zt]}]),g.OA$],decls:3,vars:1,consts:[[3,"url","alt"],[3,"name","size","alt"],[3,"name","size"],[3,"name","size","url","alt"]],template:function(i,ke){1&i&&g.nVh(0,Be,1,2,"kf-icon-external",0)(1,$e,1,3,"kf-icon-animated",1)(2,Ie,2,3),2&i&&g.vxM(ke.url?0:ke.isAnimated?1:ke.name?2:-1)},dependencies:[_t,kt,Ne,Qt,it.Jj],styles:[".mat-menu-panel[_nghost-%COMP%]:not(kf-icon-custom):not(kf-icon-single), .mat-menu-panel   [_nghost-%COMP%]:not(kf-icon-custom):not(kf-icon-single){margin-right:.8rem}[_nghost-%COMP%]{display:inline-flex;justify-content:center;align-items:center;vertical-align:middle}.kf-icon-expand[_nghost-%COMP%]{display:flex}.kf-icon-link-text[_nghost-%COMP%]{margin-bottom:.25rem}"],changeDetection:0})}}return Me})()},227(Yt,ve,a){a.d(ve,{SH:()=>U});var g=a(6124),Q=a(6563),D=a(9748),I=a(6042),E=a(9452),O=a(1318),X=a(2575),B=a(1817),K=a(1567),j=a(271),Pe=a(6647),L=a(4334),ne=a(2354),Ve=a(436),Fe=a(6911);function tt(ie,we){if(1&ie&&g.Hgh(0,"img",0),2&ie){const oe=g.XpG(),de=g.XpG();g.Avn("src",oe.content,g.B4B)("alt",de.alt)}}function nt(ie,we){if(1&ie&&g.Hgh(0,"div",1),2&ie){const oe=g.XpG();g.Avn("innerHTML",oe.content,g.npT)}}function Rt(ie,we){if(1&ie&&(g.rj2(0,"div",2),g.EFF(1),g.eux()),2&ie){const oe=g.XpG(2);g.R7$(),g.SpI(" ",oe.alt," ")}}function Oe(ie,we){if(1&ie&&(g.iHH(0),g.nVh(1,tt,1,2,"img",0)(2,nt,1,1,"div",1)(3,Rt,2,1,"div",2),g.Zht()),2&ie){const oe=we,de=g.XpG();g.R7$(),g.vxM(!oe.isSVG&&oe.isImg?1:oe.isSVG&&oe.content?2:de.showAltTextOnNoContent&&de.alt?3:-1)}}class xe{getColors(){return{"--color-illustration-classic-blue-1":["#0066B3","#0064B5"],"--color-illustration-classic-blue-2":["#BED7F0","#96BEE6"],"--color-illustration-classic-blue-3":["#F7FAFC","#EDF6FA","#E1EBF5"],"--color-illustration-classic-orange":["#FFB27F","#F
1FA166"],"--color-illustration-classic-white":["#FFFFFF","#FFF","#FEFEFE"],"--color-illustration-blue-1":["#004E6D","#004D6E","#2C465E","#184661","#004E6C","#327DC8"],"--color-illustration-blue-2":["#005193","#005A87","#005192","#005CA1"],"--color-illustration-blue-3":["#1268AE","#1367AD","#1166B0","#1067AD","#0E66AF","#0166B3","#0066B1","#0569B4","#0669B4","#0066B9","#0065BF","#0266B3"],"--color-illustration-blue-4":["#2876B5","#2D68A8"],"--color-illustration-blue-5":["#217EC3","#207DC3","#327DC8"],"--color-illustration-blue-6":["#5E99D1","#7199D3","#499BD6","#649BD7"],"--color-illustration-blue-7":["#4A9BD7","#4A99D5","#4699D8","#64B7F8","#4AB9FB"],"--color-illustration-blue-8":["#68b9f6","#68B8F6","#96BEE6"],"--color-illustration-blue-9":["#92CEF7","#98BEE5","#90cef4","#9BCEEA","#90CCF5","#8FCCF8","#84C8F4","#779FB1"],"--color-illustration-blue-10":["#EEF6FB","#EDF5FA","#BED7F0","#BED7EE","#BED6EF","#BCD6F0","#BCD5EE","#B6D6F3","#BDD6EF","#E1EBF5"],"--color-illustration-orange-1":["#FA9632","#FB961E","#F99531","#CE7B31","#FF6600","#FDB07E","#EEB074","#FFB17A","#F7AF81","#FFB776","#F6B080","#FF6200","#F35E01"],"--color-illustration-orange-2":["#FAC896","#E0AB7C","#FFD0B6","#F9C795","#FFDAB8","#FFA166"],"--color-illustration-orange-3":["#FADCBE","#F9DCBD","#F8E9DC","#FBF4E1",""],"--color-illustration-orange-4":["#F9E9DC","#FFC099"],"--color-illustration-grey-1":["#D8D8D8","#9E9E9E","#669BD7"],"--color-illustration-grey-2":["#E5E4E4","#D7D7D7","#D6C7BD","#98BEE6"],"--color-illustration-grey-3":["#DAE2E8","#E4E3E3","#CFE2F4"],"--color-illustration-brown-1":["#A57E53","#A47D52","#C59C6C","#A57E53"],"--color-illustration-brown-2":["#D7C8BE","#D5C6BC","#c7b299","#C6B199","#D7C8BE"],"--color-illustration-yellow-1":["#E2CAC0","#F2D46A","#d8c344"],"--color-illustration-yellow-2":["#F4DCC1","#F1E2D8","#FAF3E1","#FADBBB","#F8DABC","#FAC891","#FBF5E2","#FCF5E3"],"--color-illustration-green-1":["#9AC5B1","#8CAF9C","#9AC5B0","#8BAE9C","#84B19C","#98C4B0","#16B055"],"--color-illustration-green-2":["#C4DDC5","#C7DBC5","#C2DDC3"],"--color-illustration-pink-1":["#E5BDCD","#E5BCCC","#E4BCCD","#D1BBDC"],"--color-illustration-pink-2":["#F4DCE6","#F4DBE5","#EEE7F7"],"--color-primary-variant":["#002D67"]}}}class it{getColors(){return{"--color-illustration-ultra-stage-primary":["#0066B3"],"--color-illustration-ultra-stage-accent":["#FF6200","#F35E01"],"--color-illustration-ultra-stage-primary-variant":["#002D67"],"--color-illustration-ultra-stage-primary-1":["#327DC8"],"--color-illustration-ultra-stage-primary-2":["#649BD7"],"--color-illustration-ultra-stage-primary-3":["#96BEE6"],"--color-illustration-ultra-stage-primary-4":["#E1EBF5"],"--color-illustration-ultra-stage-primary-5":["#FFFFFF","#FFF","white"],"--color-illustration-ultra-stage-skin-light":["#FFCDC3"],"--color-illustration-ultra-stage-skin-medium":["#F0AFA5"],"--color-illustration-ultra-stage-skin-dark":["#906A5D"],"--color-illustration-ultra-stage-contours":["#002D66"]}}}class q{getColors(){return{"--color-illustration-ultra-primary":["#0066B3"],"--color-illustration-ultra-accent":["#FF6200","#F35E01"],"--color-illustration-ultra-primary-variant":["#002D67"],"--color-illustration-ultra-primary-1":["#327DC8"],"--color-illustration-ultra-primary-2":["#649BD7"],"--color-illustration-ultra-primary-3":["#96BEE6"],"--color-illustration-ultra-primary-4":["#E1EBF5"],"--color-illustration-ultra-primary-5":["#FFFFFF","#FFF","white"],"--color-illustration-ultra-skin-light":["#FFCDC3"],"--color-illustration-ultra-skin-medium":["#F0AFA5"],"--color-illustration-ultra-skin-dark":["#906A5D"],"--color-illustration-ultra-contours":["#002D66"]}}}let F=(()=>{class ie{prepareImg(oe,de,He,Be){return{...He,content:He.svg&&He.replaceFixedColors?this.prepareSelfhostedSvg(oe,de,He.content??"",Be):He.content}}prepareSelfhostedSvg(oe,de,He,Be){return He=(He=He.replace(/<svg /,"<svg "+this.createPreserveAspectRatioString(oe))).replace(/<title.*?>.+?<\/title>/,""),He=this.applyThemeColors(de,He,Be),this.prepareUniqueIds(de,He)}prepareUniqueIds(oe,de){try{const He=de.match(/id="(.*?)"/gi),Be=this.getHash(oe);if(He)for(const $e of He){const Te=$e.replace('id="',"").replace('"',""),le=`${Te}-${Be}`.replace(/--/g,"-");de=de.replace(`url(#${Te})`,`url(#${le})`).replace(`#${Te}"`,`#${le}"`).replace($e,`id="${le}"`)}}catch(He){console.error(He)}return de}getHash(oe){let He,Be,de=0;if(0===oe.length)return de;for(He=0;He<oe.length;He++)Be=oe.charCodeAt(He),de=(de<<5)-de+Be,de|=0;return de}applyThemeColors(oe,de,He){try{for(const Be in He.getColors()){const $e=He.getColors()[Be];Array.isArray($e)?$e.forEach(Te=>{de=de.replace(new RegExp(`"${Te}"`,"gi"),`"var(${Be})"`)}):de=de.replace(new RegExp(`"${$e}"`,"gi"),`"var(${Be})"`)}oe&&-1!==oe.indexOf("illu-mail.svg")&&(de=de.replace(/fill="#F5F8FA"/gi,'fill="var(--color-primary)" opacity="0.05"'))}catch(Be){console.error(Be)}return de}createPreserveAspectRatioString(oe){const de=window.getComputedStyle(oe,null).getPropertyValue("object-position").split(" "),He={"0%":"Min","50%":"Mid","100%":"Max"},Be=He[de[0]],$e=He[de[1]];return Be&&$e?`preserveAspectRatio="x${Be}Y${$e} meet"`:""}static{this.\u0275fac=function(de){return new(de||ie)}}static{this.\u0275prov=Q.jDH({token:ie,factory:ie.\u0275fac,providedIn:"root"})}}return ie})();var N=function(ie){return ie[ie.CLASSIC=0]="CLASSIC",ie[ie.ULTRA=1]="ULTRA",ie[ie.ULTRA_ON_STAGE=2]="ULTRA_ON_STAGE",ie}(N||{});let U=(()=>{class ie{set src(oe){this._src=oe,this.pushImageState()}get src(){return this._src}set alt(oe){this._alt=oe,this.pushImageState()}get alt(){return this._alt}set alwaysShow(oe){this._alwaysShow=oe,this.pushImageState()}get alwaysShow(){return this._alwaysShow}set selfHosted(oe){this._selfHosted=oe,this.pushImageState()}get selfHosted(){return this._selfHosted}set colorScheme(oe){this._colorScheme=oe,this.pushImageState()}get colorScheme(){return this._colorScheme}get isSetLoadedClass(){return this.isLoadedImage}constructor(oe,de,He,Be,$e,Te){this.sanitizer=oe,this.root=de,this.environment=He,this.kfAssets=Be,this.kfImgService=$e,this.infoService=Te,this.imageChange$=new I.m(1),this.image$=this.imageChange$.pipe((0,X.B)(10),(0,B.F)((le,pt)=>this.compareImageState(le,pt)),(0,Pe.n)(()=>this.loadImage())),this.forceChangeCount=0,this.isLoadedImage=!1,this._src="",this._alt="",this._selfHosted=!1,this._alwaysShow=!1,this._colorScheme=N.CLASSIC,this.WAIT_TILL_ABORT_TIME=500,this.showAltTextOnNoContent=!0,this.onEnvironmentChangeSubscription=this.environment.config$.subscribe(()=>{this.pushImageState(!0)})}ngOnDestroy(){this.onEnvironmentChangeSubscription.unsubscribe()}getIllustrationVariables(oe){let de;switch(+oe){case N.CLASSIC:de=new xe;break;case N.ULTRA:de=new q;break;case N.ULTRA_ON_STAGE:de=new it;break;default:de=new xe}return de}loadImage(){return this.infoService.themingInitialized.pipe((0,L.s)(1),(0,ne.w)(this.WAIT_TILL_ABORT_TIME),(0,Pe.n)(()=>this.loadImageImpl()),(0,O.W)(oe=>this.loadImageImpl()))}loadImageImpl(){const oe=!this.selfHosted||this.environment.getUseImages()||this.alwaysShow;return this.showAltTextOnNoContent=this.environment.getUseImages()||this.alwaysShow,oe&&this.src?this.kfAssets.loadImage(this.src,this.selfHosted,!0,!(this.environment.getUseImages()||this.alwaysShow),this.environment.getUseImages()).pipe((0,K.p)(de=>!!de),(0,j.T)(de=>{const He=this.kfImgService.prepareImg(this.root.nativeElement,this.src,de,this.getIllustrationVariables(this.colorScheme)),Be=He.svg?this.sanitizer.bypassSecurityTrustHtml(He.content??""):He.content;return this.isLoadedImage=!0,{isSVG:He.svg,isImg:He.img,content:Be}})):(0,E.of)({isSVG:!1,isImg:!1,content:""})}compareImageState(oe,de){return Object.keys(oe).every(Be=>oe[Be]===de[Be])}pushImageState(oe=!1){this.imageChange$.next({src:this.src,alwaysChange:this.alwaysShow,selfHosted:this.selfHosted,colorScheme:this.colorScheme,alt:this.alt,forceChangeCount:oe?++this.forceChangeCount:this.forceChangeCount})}static{this.\u0275fac=function(de){return new(de||ie)(g.rXU(Ve.up),g.rXU(g.aKT),g.rXU(Fe.vf),g.rXU(Fe.Go),g.rXU(F),g.rXU(Fe.cH))}}static{this.\u0275cmp=g.VBU({type:ie,selectors:[["kf-img"]],hostVars:6,hostBindings:function(de,He){2&de&&(g.xc7("height",He.he
1ight)("width",He.width),g.AVh("kf-image-loaded",He.isSetLoadedClass))},inputs:{src:"src",alt:"alt",alwaysShow:"alwaysShow",selfHosted:"selfHosted",colorScheme:"colorScheme",height:"height",width:"width"},decls:2,vars:3,consts:[[3,"src","alt"],[1,"kf-img-svg-container","kf-img-svg",3,"innerHTML"],[1,"kf-img-svg-container","kf-img-alt"]],template:function(de,He){if(1&de&&(g.nVh(0,Oe,4,1,"ng-container"),g.nI1(1,"async")),2&de){let Be;g.vxM((Be=g.bMT(1,1,He.image$))?0:-1,Be)}},dependencies:[D.Jj],styles:["[_nghost-%COMP%]{display:inline-block}[_nghost-%COMP%]   .kf-img-svg-container[_ngcontent-%COMP%]{display:inline}[_nghost-%COMP%]   .kf-img-svg-container.kf-img-alt[_ngcontent-%COMP%]{font-style:normal;font-weight:400;font-size:small}[height][width][_nghost-%COMP%]     svg[height$=px][width$=px]{height:100%;width:100%}[_nghost-%COMP%]     svg{display:inline-block;position:relative;width:100%;height:100%;max-width:100%;max-height:100%}[_nghost-%COMP%]     svg[height$=px][width$=px]{height:auto;width:auto}[_nghost-%COMP%]     img{width:100%;height:100%}"]})}}return ie})()},3087(Yt,ve,a){a.d(ve,{Qc:()=>K});var g=a(6563);a(3942),a(8537),a(1817),a(271),a(1870),a(6301),a(3037);const K=new g.nKC("",{factory:()=>{const{defaultView:we}=(0,g.WQX)(g.qQL);if(!we)throw new Error("Window is not available");return we}})},8503(Yt,ve,a){a.d(ve,{TranslatePipe:()=>Lt,Wr:()=>F,c$:()=>Ne,h:()=>Me});var I=a(6124),E=a(6563),O=a(7580),X=a(4205),B=a(2551),K=a(3513),j=a(137),Pe=a(1873),L=a(9452),ne=a(1903),Ve=a(271),Fe=a(6301),tt=a(6647),nt=a(4334);class Oe{}let xe=(()=>{class De{handle(i){return i.key}static \u0275fac=function(ke){return new(ke||De)};static \u0275prov=E.jDH({token:De,factory:De.\u0275fac})}return De})();class it{}let q=(()=>{class De extends it{compile(i,ke){return i}compileTranslations(i,ke){return i}static \u0275fac=(()=>{let i;return function(ot){return(i||(i=I.xGo(De)))(ot||De)}})();static \u0275prov=E.jDH({token:De,factory:De.\u0275fac})}return De})();class F{}let N=(()=>{class De extends F{getTranslation(i){return(0,L.of)({})}static \u0275fac=(()=>{let i;return function(ot){return(i||(i=I.xGo(De)))(ot||De)}})();static \u0275prov=E.jDH({token:De,factory:De.\u0275fac})}return De})();function U(De,Ee){if(De===Ee)return!0;if(null===De||null===Ee)return!1;if(De!=De&&Ee!=Ee)return!0;const i=typeof De;let ot;if(i==typeof Ee&&"object"==i)if(Array.isArray(De)){if(!Array.isArray(Ee))return!1;if((ot=De.length)==Ee.length){for(let Xe=0;Xe<ot;Xe++)if(!U(De[Xe],Ee[Xe]))return!1;return!0}}else{if(Array.isArray(Ee))return!1;if(we(De)&&we(Ee)){const Xe=Object.create(null);for(const fe in De){if(!U(De[fe],Ee[fe]))return!1;Xe[fe]=!0}for(const fe in Ee)if(!(fe in Xe)&&typeof Ee[fe]<"u")return!1;return!0}}return!1}function ce(De){return typeof De<"u"&&null!==De}function ie(De){return void 0!==De}function we(De){return oe(De)&&!de(De)&&null!==De}function oe(De){return"object"==typeof De&&null!==De}function de(De){return Array.isArray(De)}function He(De){return"string"==typeof De}function $e(De){if(de(De))return De.map(Ee=>$e(Ee));if(we(De)){const Ee={};return Object.keys(De).forEach(i=>{Ee[i]=$e(De[i])}),Ee}return De}function Te(De,Ee){if(!oe(De))return $e(Ee);const i=$e(De);return oe(i)&&oe(Ee)&&Object.keys(Ee).forEach(ke=>{we(Ee[ke])?ke in De?i[ke]=Te(De[ke],Ee[ke]):Object.assign(i,{[ke]:Ee[ke]}):Object.assign(i,{[ke]:Ee[ke]})}),i}function le(De,Ee){const i=Ee.split(".");Ee="";do{Ee+=i.shift();const ke=!i.length;if(ce(De)){if(we(De)&&ie(De[Ee])&&(we(De[Ee])||de(De[Ee])||ke)){De=De[Ee],Ee="";continue}if(de(De)){const ot=parseInt(Ee,10);if(ie(De[ot])&&(we(De[ot])||de(De[ot])||ke)){De=De[ot],Ee="";continue}}}ke?De=void 0:Ee+="."}while(i.length);return De}class Qe{}let _t=(()=>{class De extends Qe{templateMatcher=/{{\s?([^{}\s]*)\s?}}/g;interpolate(i,ke){return He(i)?this.interpolateString(i,ke):function Be(De){return"function"==typeof De}(i)?this.interpolateFunction(i,ke):void 0}interpolateFunction(i,ke){return i(ke)}interpolateString(i,ke){return ke?i.replace(this.templateMatcher,(ot,Xe)=>{const fe=this.getInterpolationReplacement(ke,Xe);return void 0!==fe?fe:ot}):i}getInterpolationReplacement(i,ke){return this.formatValue(le(i,ke))}formatValue(i){return He(i)?i:"number"==typeof i||"boolean"==typeof i?i.toString():null===i?"null":de(i)?i.join(", "):oe(i)?"function"==typeof i.toString&&i.toString!==Object.prototype.toString?i.toString():JSON.stringify(i):void 0}static \u0275fac=(()=>{let i;return function(ot){return(i||(i=I.xGo(De)))(ot||De)}})();static \u0275prov=E.jDH({token:De,factory:De.\u0275fac})}return De})(),Re=(()=>{class De{_onTranslationChange=new X.B;_onLangChange=new X.B;_onFallbackLangChange=new X.B;fallbackLang=null;currentLang;translations={};languages=[];getTranslations(i){return this.translations[i]}setTranslations(i,ke,ot){this.translations[i]=ot&&this.hasTranslationFor(i)?Te(this.translations[i],ke):ke,this.addLanguages([i]),this._onTranslationChange.next({lang:i,translations:this.getTranslations(i)})}getLanguages(){return this.languages}getCurrentLang(){return this.currentLang}getFallbackLang(){return this.fallbackLang}setFallbackLang(i,ke=!0){this.fallbackLang=i,ke&&this._onFallbackLangChange.next({lang:i,translations:this.translations[i]})}setCurrentLang(i,ke=!0){this.currentLang=i,ke&&this._onLangChange.next({lang:i,translations:this.translations[i]})}get onTranslationChange(){return this._onTranslationChange.asObservable()}get onLangChange(){return this._onLangChange.asObservable()}get onFallbackLangChange(){return this._onFallbackLangChange.asObservable()}addLanguages(i){this.languages=Array.from(new Set([...this.languages,...i]))}hasTranslationFor(i){return typeof this.translations[i]<"u"}deleteTranslations(i){delete this.translations[i]}getTranslation(i){let ke=this.getValue(this.currentLang,i);return void 0===ke&&null!=this.fallbackLang&&this.fallbackLang!==this.currentLang&&(ke=this.getValue(this.fallbackLang,i)),ke}getValue(i,ke){return le(this.getTranslations(i),ke)}static \u0275fac=function(ke){return new(ke||De)};static \u0275prov=E.jDH({token:De,factory:De.\u0275fac})}return De})();const Et=new E.nKC("TRANSLATE_CONFIG"),kt=De=>(0,B.A)(De)?De:(0,L.of)(De);let Ne=(()=>{class De{loadingTranslations;pending=!1;_translationRequests={};lastUseLanguage=null;currentLoader=(0,E.WQX)(F);compiler=(0,E.WQX)(it);parser=(0,E.WQX)(Qe);missingTranslationHandler=(0,E.WQX)(Oe);store=(0,E.WQX)(Re);extend=!1;get onTranslationChange(){return this.store.onTranslationChange}get onLangChange(){return this.store.onLangChange}get onFallbackLangChange(){return this.store.onFallbackLangChange}get onDefaultLangChange(){return this.store.onFallbackLangChange}constructor(){const i={extend:!1,fallbackLang:null,...(0,E.WQX)(Et,{optional:!0})};i.lang&&this.use(i.lang),i.fallbackLang&&this.setFallbackLang(i.fallbackLang),i.extend&&(this.extend=!0)}setFallbackLang(i){this.getFallbackLang()||this.store.setFallbackLang(i,!1);const ke=this.loadOrExtendLanguage(i);return(0,B.A)(ke)?(ke.pipe((0,nt.s)(1)).subscribe({next:()=>{this.store.setFallbackLang(i)},error:()=>{}}),ke):(this.store.setFallbackLang(i),(0,L.of)(this.store.getTranslations(i)))}use(i){this.lastUseLanguage=i,this.getCurrentLang()||this.store.setCurrentLang(i,!1);const ke=this.loadOrExtendLanguage(i);return(0,B.A)(ke)?(ke.pipe((0,nt.s)(1)).subscribe({next:()=>{this.changeLang(i)},error:()=>{}}),ke):(this.changeLang(i),(0,L.of)(this.store.getTranslations(i)))}loadOrExtendLanguage(i){if(!this.store.hasTranslationFor(i)||this.extend)return this._translationRequests[i]=this._translationRequests[i]||this.loadAndCompileTranslations(i),this._translationRequests[i]}changeLang(i){i===this.lastUseLanguage&&this.store.setCurrentLang(i)}getCurrentLang(){return this.store.getCurrentLang()}loadAndCompileTranslations(i){this.pending=!0;const ke=this.currentLoader.getTranslation(i).pipe((0,Fe.t)(1),(0,nt.s)(1));return this.loadingTranslations=ke.pipe((0,Ve.T)(ot=>this.compiler.compileTranslations(ot,i)),(0,Fe.t)(1),(0,nt.s)(1)),this.loadingTranslations.subscribe({next:ot=>{this.store.setTranslations(i,ot,this.extend),this.pending=!1},error:ot=>{this.pending=!1}}),ke}setTranslation(i,ke,ot=!1){const Xe=this.compiler.compileTranslations(ke,i);this.store.setTranslations(i,Xe,ot||this.extend)}getLangs(){return this.store.getLanguages()}addLangs(i){this.store.addLanguages(i)}getParsedResultForKey(i,ke){const ot=this.getTextToInterpolate(i);if(ce(ot))return this.runInterpolation(ot,ke);const Xe=this.missingTranslationHandler.handle({key:i,translateService:this,...void 0!==ke&&{interpolateParams:ke}});return void 0!==Xe?Xe:i}getFallbackLang(){return this.store.getFallbackLang()}getTextToInterpolate(i){return this.store.getTranslation(i)}runInterpolation(i,ke){if(ce(i))return de(i)?this.runInterpolationOnArray(i,ke):we(i)?this.runInterpolationOnDict(i,ke):this.parser.interpolate(i,ke)}runInterpolationOnArray(i,ke){return i.map(ot=>this.runInterpolation(ot,ke))}runInterpolationOnDict(i,ke){const ot={};
1for(const Xe in i){const fe=this.runInterpolation(i[Xe],ke);void 0!==fe&&(ot[Xe]=fe)}return ot}getParsedResult(i,ke){return i instanceof Array?this.getParsedResultForArray(i,ke):this.getParsedResultForKey(i,ke)}getParsedResultForArray(i,ke){const ot={};let Xe=!1;for(const Y of i)ot[Y]=this.getParsedResultForKey(Y,ke),Xe=Xe||(0,B.A)(ot[Y]);if(!Xe)return ot;const fe=i.map(Y=>kt(ot[Y]));return(0,Pe.p)(fe).pipe((0,Ve.T)(Y=>{const Se={};return Y.forEach((Ce,ct)=>{Se[i[ct]]=Ce}),Se}))}get(i,ke){if(!ce(i)||!i.length)throw new Error('Parameter "key" is required and cannot be empty');return this.pending?this.loadingTranslations.pipe((0,ne.H)(()=>kt(this.getParsedResult(i,ke)))):kt(this.getParsedResult(i,ke))}getStreamOnTranslationChange(i,ke){if(!ce(i)||!i.length)throw new Error('Parameter "key" is required and cannot be empty');return(0,K.x)((0,j.v)(()=>this.get(i,ke)),this.onTranslationChange.pipe((0,tt.n)(()=>{const ot=this.getParsedResult(i,ke);return kt(ot)})))}stream(i,ke){if(!ce(i)||!i.length)throw new Error('Parameter "key" required');return(0,K.x)((0,j.v)(()=>this.get(i,ke)),this.onLangChange.pipe((0,tt.n)(()=>{const ot=this.getParsedResult(i,ke);return kt(ot)})))}instant(i,ke){if(!ce(i)||0===i.length)throw new Error('Parameter "key" is required and cannot be empty');const ot=this.getParsedResult(i,ke);return(0,B.A)(ot)?Array.isArray(i)?i.reduce((Xe,fe)=>(Xe[fe]=fe,Xe),{}):i:ot}set(i,ke,ot=this.getCurrentLang()){this.store.setTranslations(ot,function Ie(De,Ee,i){return Te(De,function ze(De,Ee){return De.split(".").reduceRight((i,ke)=>({[ke]:i}),Ee)}(Ee,i))}(this.store.getTranslations(ot),i,He(ke)?this.compiler.compile(ke,ot):this.compiler.compileTranslations(ke,ot)),!1)}reloadLang(i){return this.resetLang(i),this.loadAndCompileTranslations(i)}resetLang(i){delete this._translationRequests[i],this.store.deleteTranslations(i)}static getBrowserLang(){if(typeof window>"u"||!window.navigator)return;const i=this.getBrowserCultureLang();return i?i.split(/[-_]/)[0]:void 0}static getBrowserCultureLang(){if(!(typeof window>"u"||typeof window.navigator>"u"))return window.navigator.languages?window.navigator.languages[0]:window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage}getBrowserLang(){return De.getBrowserLang()}getBrowserCultureLang(){return De.getBrowserCultureLang()}get defaultLang(){return this.getFallbackLang()}get currentLang(){return this.store.getCurrentLang()}get langs(){return this.store.getLanguages()}setDefaultLang(i){return this.setFallbackLang(i)}getDefaultLang(){return this.getFallbackLang()}static \u0275fac=function(ke){return new(ke||De)};static \u0275prov=E.jDH({token:De,factory:De.\u0275fac})}return De})(),Lt=(()=>{class De{translate=(0,E.WQX)(Ne);_ref=(0,E.WQX)(O.gRc);value="";lastKey=null;lastParams=[];onTranslationChange;onLangChange;onFallbackLangChange;
1updateValue(i,ke,ot){const Xe=fe=>{this.value=void 0!==fe?fe:i,this.lastKey=i,this._ref.markForCheck()};if(ot){const fe=this.translate.getParsedResult(i,ke);(0,B.A)(fe)?fe.subscribe(Xe):Xe(fe)}this.translate.get(i,ke).subscribe(Xe)}transform(i,...ke){if(!i||!i.length)return i;if(U(i,this.lastKey)&&U(ke,this.lastParams))return this.value;let ot;if(ce(ke[0])&&ke.length)if(He(ke[0])&&ke[0].length){const Xe=ke[0].replace(/(')?([a-zA-Z0-9_]+)(')?(\s)?:/g,'"$2":').replace(/:(\s)?(')(.*?)(')/g,':"$3"');try{ot=JSON.parse(Xe)}catch(fe){throw new SyntaxError(`Wrong parameter in TranslatePipe. Expected a valid Object, received: ${ke[0]}`)}}else we(ke[0])&&(ot=ke[0]);return this.lastKey=i,this.lastParams=ke,this.updateValue(i,ot),this._dispose(),this.onTranslationChange||(this.onTranslationChange=this.translate.onTranslationChange.subscribe(Xe=>{(this.lastKey&&Xe.lang===this.translate.getCurrentLang()||Xe.lang===this.translate.getFallbackLang())&&(this.lastKey=null,this.updateValue(i,ot,Xe.translations))})),this.onLangChange||(this.onLangChange=this.translate.onLangChange.subscribe(Xe=>{this.lastKey&&(this.lastKey=null,this.updateValue(i,ot,Xe.translations))})),this.onFallbackLangChange||(this.onFallbackLangChange=this.translate.onFallbackLangChange.subscribe(()=>{this.lastKey&&(this.lastKey=null,this.updateValue(i,ot))})),this.value}_dispose(){typeof this.onTranslationChange<"u"&&(this.onTranslationChange.unsubscribe(),this.onTranslationChange=void 0),typeof this.onLangChange<"u"&&(this.onLangChange.unsubscribe(),this.onLangChange=void 0),typeof this.onFallbackLangChange<"u"&&(this.onFallbackLangChange.unsubscribe(),this.onFallbackLangChange=void 0)}ngOnDestroy(){this._dispose()}static \u0275fac=function(ke){return new(ke||De)};static \u0275pipe=I.EJ8({name:"translate",type:De,pure:!1});static \u0275prov=E.jDH({token:De,factory:De.\u0275fac})}return De})();function zt(De){return{provide:F,useClass:De}}function rt(De){return{provide:it,useClass:De}}function Qt(De){return{provide:Qe,useClass:De}}function Kt(De){return{provide:Oe,useClass:De}}function yt(De={},Ee){const i=[];return De.loader&&i.push(De.loader),De.compiler&&i.push(De.compiler),De.parser&&i.push(De.parser),De.missingTranslationHandler&&i.push(De.missingTranslationHandler),Ee&&i.push(Re),(De.useDefaultLang||De.defaultLanguage)&&(console.warn("The `useDefaultLang` and `defaultLanguage` options are deprecated. Please use `fallbackLang` instead."),!0===De.useDefaultLang&&De.defaultLanguage&&(De.fallbackLang=De.defaultLanguage)),i.push({provide:Et,useValue:{fallbackLang:De.fallbackLang??null,lang:De.lang,extend:De.extend??!1}}),i.push({provide:Ne,useClass:Ne,deps:[Re,F,it,Qe,Oe,Et]}),i}let Me=(()=>{class De{static forRoot(i={}){return{ngModule:De,providers:[...yt({compiler:rt(q),parser:Qt(_t),loader:zt(N),missingTranslationHandler:Kt(xe),...i},!0)]}}static forChild(i={}){return{ngModule:De,providers:[...yt(i,i.isolate??!1)]}}static \u0275fac=function(ke){return new(ke||De)};static \u0275mod=I.$C({type:De});static \u0275inj=E.G2t({})}return De})()},3978(Yt,ve,a){a.d(ve,{FX:()=>xi,zc:()=>Qi,mV:()=>bo,yk:()=>Ke,kh:()=>lo,ZP:()=>br,T8:()=>Or,GK:()=>Ei,ht:()=>Pt,id:()=>Sn,HC:()=>Z,b$:()=>A,xd:()=>At});var u=a(9204),h=a(6563),g=a(6124),Q=a(7580),D=a(3954),I=a(443),E=a(619),O=a(5265),X=a(8493);class Rt extends E.o_{}class Oe extends Rt{}class xe{}class it{}class q{}function F(c){return(0,h.Af3)(F),(0,h.WQX)(N).getLogger(c)}class N{}class U{}class ce{}class de{}class Be{}const Ie={APP_ID:(0,D.rG)("APP_ID"),SCRIPT_PATH:(0,D.rG)("SCRIPT_PATH"),APP_PROVIDER:(0,D.rG)("APP_PROVIDER"),SERVICE_NAME:(0,D.rG)("SERVICE_NAME"),ROUTER:(0,D.rG)("ROUTER"),ACTIVATED_ROUTE:(0,D.rG)("ACTIVATED_ROUTE"),HASH_LOCATION_STRATEGY_TYPE:(0,D.rG)("HASH_LOCATION_STRATEGY_TYPE"),PRELOADING_STRATEGY:(0,D.rG)("PRELOADING_STRATEGY"),ROUTER_PRELOADER:(0,D.rG)("ROUTER_PRELOADER"),ZONE:(0,D.rG)("ZONE"),ZONELESS:(0,D.rG)("ZONELESS"),API_USED:(0,D.rG)("API_USED"),APP_REF:(0,D.rG)("APP_REF"),APP_ROUTES:(0,D.rG)("APP_ROUTES"),API_VERSION:(0,D.rG)("API_VERSION"),INTERCEPTOR_FN:(0,D.rG)("INTERCEPTOR_FN"),INTEGRATED_TYPES:(0,D.rG)("INTEGRATED_TYPES"),LIFECYCLE_CONFIG:(0,D.rG)("LIFECYCLE_CONFIG"),HTTP_CLIENT:(0,D.rG)("HTTP_CLIENT"),HTTP_XHR_BACKEND:(0,D.rG)("HTTP_XHR_BACKEND"),FETCH_BACKEND:(0,D.rG)("FETCH_BACKEND"),...D.ih};var ht=a(6647),Ne=a(8764),Ot=a(4334),Lt=a(591),zt=a(271),rt=a(1567),Qt=a(2354),Kt=a(1318),ut=a(3037),St=a(1817),yt=a(6301),Me=a(698),De=a(7824),Ee=a(6223),i=a(9748),ke=a(8963),ot=a(5797),Xe=
1a(6042),fe=a(6196),Y=a(4205),Se=a(9452),Ce=a(9475),ct=a(3942),_e=a(2645);const{isArray:P}=Array;var mt=a(1687);var jt=a(4876),Ge=a(5682),qe=a(778),M=a(3900),$=a(4600),w=a(3222),ue=a(8537),lt=a(1903),xt=a(2551),cn=a(6882),en=a(3305),st=a(9074),se=a(1311),Ye=a(3087),at=a(7485);const ye=new h.nKC("token refresh function"),Xn={delayMs:100,includeCodes:[401],maxRetries:1,backoffMs:100},Zn=new h.nKC("validate application config",{factory:()=>!0}),Dr=new h.nKC("app config validator",{factory:()=>[]}),vr=new h.nKC("external app reference"),ar=new h.nKC("hash routing active"),rn=new h.nKC("on app init"),J=new h.nKC("okp common portal config"),We=new h.nKC("app overrides",{factory:()=>D.a1.create()}),Ke=new h.nKC("OKP_HTTP_INTERCEPTORS"),ft=new h.nKC("OKP_HTTP_BACKEND_INTERCEPTORS"),on=c=>(T,m)=>c.reduceRight((et,vn)=>((c,T)=>m=>T(m,c))(et,vn),m)(T),wn=c=>[jn(c.withTokenInterceptor),Cn(c.withUnauthorizedRetryInterceptor),gn(c.withDynatraceInterceptor),Ut(c.withAdditionalInterceptors),_n(c.withBackendInterceptors)],jn=c=>c?[{provide:ye,...c.tokenRefreshFn},Wn(Ke,{useFactory:()=>(c=>{const T=c.pathsToInclude.map(H=>H.toLowerCase()),m=(0,h.WQX)(ye);return(H,et)=>((c,T)=>!!T.find(m=>c.toLowerCase().includes(m)))(H.url,T)?m().pipe((0,ht.n)(()=>(H=H.clone({withCredentials:!0}),et(H)))):et(H)})(c)})]:[],Cn=c=>c?[Wn(Ke,{useFactory:()=>(c=>(T,m)=>c?.pathsToIgnore&&T.url.match(c.pathsToIgnore)?m(T):m(T).pipe((0,D.ZB)({...Xn,...c})))(c)})]:[],gn=c=>c?[Wn(Ke,{useFactory:()=>(c=>{const T=(c=>new RegExp(`^.*/${c}/([^/]+).*$`))((c=>{const T=(c=c.length&&"/"===c[0]?c.substring(1):c).length-1;return T>=0&&"/"===c[T]?c.substring(0,T):c})(c.serviceProxyPath));return(m,H)=>{const et=m.url.match(T);if(2===et?.length){const vn={};vn["x-dyna-requestname"]=et[1],m=m.clone({setHeaders:vn})}return H(m)}})(c)})]:[],Ut=c=>c?.map(T=>Wn(Ke,T))??[],_n=c=>c?.map(T=>Wn(ft,T))??[],Wn=(c,T)=>({provide:c,...T,multi:!0}),Kn=new h.nKC("basePath");class Pn{constructor({accessToken:T,apiKeys:m,basePath:H,credentials:et,encodeParam
1:vn,encoder:Vn,password:ei,username:ls,withCredentials:Zi}={}){m&&(this.apiKeys=m),void 0!==ls&&(this.username=ls),void 0!==ei&&(this.password=ei),void 0!==T&&(this.accessToken=T),void 0!==H&&(this.basePath=H),void 0!==Zi&&(this.withCredentials=Zi),Vn&&(this.encoder=Vn),this.encodeParam=vn??(rs=>this.defaultEncodeParam(rs)),this.credentials=et??{}}selectHeaderContentType(T){if(0===T.length)return;const m=T.find(H=>this.isJsonMime(H));return void 0===m?T[0]:m}selectHeaderAccept(T){if(0===T.length)return;const m=T.find(H=>this.isJsonMime(H));return void 0===m?T[0]:m}isJsonMime(T){const m=new RegExp("^(application/json|[^;/ \t]+/[^;/ \t]+[+]json)[ \t]*(;.*)?$","i");return null!==T&&(m.test(T)||"application/json-patch+json"===T.toLowerCase())}lookupCredential(T){const m=this.credentials[T];return"function"==typeof m?m():m}addCredentialToHeaders(T,m,H,et){const vn=this.lookupCredential(T);return vn?H.set(m,(et??"")+vn):H}addCredentialToQuery(T,m,H){const et=this.lookupCredential(T);return et?H.set(m,et):H}defaultEncodeParam(T){const m="date-time"===T.dataFormat&&T.value instanceof Date?T.value.toISOString():T.value;return encodeURIComponent(String(m))}}class On{encodeKey(T){return encodeURIComponent(T)}encodeValue(T){return encodeURIComponent(T)}decodeKey(T){return decodeURIComponent(T)}decodeValue(T){return decodeURIComponent(T)}}class Qn{constructor(T,m){if(this.basePath="https://banking-workspace-contracts-bws-etu.okp-mesh-etu-test.apps.caas-ekad-test01.rz.bankenit.de/service/okp-features-service",this.defaultHeaders=new Me.Lr,this.configuration=m||new Pn,"string"!=typeof this.configuration.basePath){const H=Array.isArray(T)?T[0]:void 0;null!=H&&(T=H),"string"!=typeof T&&(T=this.basePath),this.configuration.basePath=T}this.encoder=this.configuration.encoder||new On}canConsumeForm(T){return-1!==T.indexOf("multipart/form-data")}addToHttpParams(T,m,H,et=!1){return"object"!=typeof m||m instanceof Date?this.addToHttpParamsRecursive(T,m,H):this.addToHttpParamsRecursive(T,m,et?H:void 0,et)}addToHttpParamsRecursive(T,m,H,et=!1){if(null==m)return T;if("object"==typeof m){if(null!=H)return et?Object.keys(m).reduce((vn,Vn)=>vn.append(`${H}[${Vn}]`,m[Vn]),T):T.append(H,JSON.stringify(m));if(Array.isArray(m))m.forEach(vn=>T=this.addToHttpParamsRecursive(T,vn,H));else if(m instanceof Date){if(null==H)throw Error("key may not be null if value is Date");T=T.append(H,m.toISOString())}else Object.keys(m).forEach(vn=>{T=this.addToHttpParamsRecursive(T,m[vn],H?`${H}.${vn}`:vn)});return T}if(null!=H)return T.append(H,m);throw Error("key may not be null if value is not object or array")}}let tr=(()=>{class c extends Qn{constructor(m,H,et){super(H,et),this.httpClient=m}getFeatures(m="body",H=!1,et){let vn=this.defaultHeaders;const Vn=et?.httpHeaderAccept??this.configuration.selectHeaderAccept(["application/json"]);void 0!==Vn&&(vn=vn.set("Accept",Vn));const ei=et?.context??new Me._y,ls=et?.transferCache??!0;let Zi="json";Vn&&(Zi=Vn.startsWith("text")?"text":this.configuration.isJsonMime(Vn)?"json":"blob");const{basePath:ua,withCredentials:Ts}=this.configuration;return this.httpClient.request("post",`${ua}/v1`,{context:ei,responseType:Zi,...Ts?{withCredentials:Ts}:{},headers:vn,observe:m,transferCache:ls,reportProgress:H})}static{this.\u0275fac=function(H){return new(H||c)(h.KVO(Me.Qq),h.KVO(Kn,8),h.KVO(Pn,8))}}static{this.\u0275prov=h.jDH({token:c,factory:c.\u0275fac,providedIn:"root"})}}return c})();const Dn=c=>{const T=c.match(/#|\?|$/),m=T&&T.index||c.length;return"/"!==c[m-1]?c.slice(0,m)+"/"+c.slice(m):c};function bt(c){return(0,D.VX)(c,en.wF,en.Bx.NavigationEnd)||(0,D.VX)(c,en.L6,en.Bx.NavigationError)||(0,D.VX)(c,en.Cq,en.Bx.NavigationCancel)||(0,D.VX)(c,en.lW,en.Bx.NavigationSkipped)}let dn=(()=>{class c{#e;#t;#n=(0,h.WQX)(Ee.aZ);#r=new ot.t(!1);#i=null;constructor(m=(0,h.WQX)(en.Ix)){this.#e=m,this.#t="function"==typeof this.#e.currentNavigation,this.#e.events.pipe((0,D.jL)(en.Z,en.Bx.NavigationStart),(0,Ne.M)(()=>{this.#i=this.#n.path(),this.#r.next(!0)}),(0,ht.n)(()=>this.#e.events.pipe((0,rt.p)(bt),(0,Ot.s)(1))),(0,Lt.c)(0)).subscribe(()=>{this.getCurrentNavigation()||(this.#i=null,this.#r.next(!1))})}isNavigating(){return this.#r.value}navigationFinished$(){return this.#r.pipe((0,rt.p)(m=>!m),(0,zt.T)(()=>{}))}isPopStateNavigation(){return"popstate"===this.getNavigation()?.trigger&&!!this.getNavigation()?.extras.state}isSameHistoryEntry(){const m=this.getCurrentNavigation();return!!m&&(!!m.extras.replaceUrl||!!m.extras.skipLocationChange||this.isSameUrl(m))}isSameUrl(m){if(this.#i){const H=this.#e.serializeUrl(m.finalUrl??m.initialUrl);return Dn(H)===Dn(this.#i)}return!1}isFirstApplicationCall(){return!this.getNavigation()?.previousNavigation}resetStateAfterNavigationFinished(){const m=this.#n.path(!0),H=this.#n.getState();this.navigationFinished$().pipe((0,Ot.s)(1)).subscribe(()=>{this.#n.replaceState(m,"",H)})}getCurrentNavigation(){return this.#t?this.#e.currentNavigation():this.#e.getCurrentNavigation()}getLastSuccessfulNavigation(){return this.#t?this.#e.lastSuccessfulNavigation():this.#e.lastSuccessfulNavigation}
1getNavigation(){return this.getCurrentNavigation()??this.getLastSuccessfulNavigation()}static{this.\u0275fac=function(H){return new(H||c)(h.KVO(en.Ix))}}static{this.\u0275prov=h.jDH({token:c,factory:c.\u0275fac})}}return c})(),un=(()=>{class c{#e=(0,h.WQX)(J);getServiceUrl(m,H){if(void 0===H)throw new Error("Unsupported operation: ServiceName is mandatory");return`${this.#e.serviceProxyPath}/${Ee.aZ.joinWithSlash(m,H)}`}getPortalBasePath(){return this.#e.basePath}static{this.\u0275fac=function(H){return new(H||c)}}static{this.\u0275prov=h.jDH({token:c,factory:c.\u0275fac})}}return c})(),Fn=(()=>{class c{#e=(0,h.WQX)(I.Ji);getAssetPath(m,H){if(void 0===H)throw new Error("Unsupported operation: ServiceName is mandatory");const et=m,vn=H.startsWith("/assets")?H:Ee.aZ.joinWithSlash("/assets",H);return this.#e.getServiceUrl(et,vn)}static{this.\u0275fac=function(H){return new(H||c)}}static{this.\u0275prov=h.jDH({token:c,factory:c.\u0275fac})}}return c})();class lr{}class Cr extends E.Z7{}class Sr{}class Or{}const Er=O.bx.HIGHEST_PRECEDENCE+200,br={RELOAD_SERVICE:Er,CONTEXT_TOKEN_SERVICE:Er+10,CONTEXT_SERVICE:Er+20,EVENT_BUS_SERVICE:Er+30,DATA_STORAGE_SERVICE:Er+40,TAB_COM_SERVICE:Er+50,NAVIGATION_COUNTER_SERVICE:Er+60,GLOBAL_NAVIGATION_COUNTER_SERVICE:Er+61,NAVIGATION_ID_SERVICE:Er+70,FEATURE_SERVICE:Er+80},z="OKP_DS";let he=(()=>{let c=class hu extends E.V8{#e;#t;#n;constructor(){super(),this.#e=(0,h.WQX)(Or),this.#t={},this.#n=new Xe.m,this.isInitialized=(0,fe._)(this.#n)}onPortalInit(){var m=this;return(0,u.A)(function*(){m.registerReloadDataProvider(m.#e),m.#t={...yield m.#e.retrieve(z),...m.storages},m.#n.next()})()}get storages(){return this.#t}store(m,H,et){var vn=this;return(0,u.A)(function*(){yield vn.isInitialized;const Vn=vn.createInternalStorage(m,et),ei=Vn.data;return Vn.data=H,ei})()}retrieve(m){var H=this;return(0,u.A)(function*(){yield H.isInitialized;const et=H.getInternalStorage(m),vn=et?.options?.clearOnRetrieve??!0,Vn=et?.data;return Vn&&vn&&(yield H.remove(m)),Vn})()}remove(m){var H=this;return(0,u.A)(function*(){yield H.isInitialized;const et=H.getInternalStorage(m,!1);et&&(et.data=void 0,et.closed=!0)})()}storage(m,H){return{remove:()=>this.remove(m),store:et=>this.store(m,et,H),retrieve:()=>this.retrieve(m)}}getInternalStorage(m,H=!0){const et=this.#t[m.id];if(et?.closed&&H)throw new Error("storage already closed");return et}createInternalStorage(m,H){let et=this.#t[m.id];return(!et||H&&!((c,T)=>c?.clearOnRetrieve===T?.clearOnRetrieve)(et.options,H))&&(et={id:m,data:et?.data,closed:!1,options:{clearOnRetrieve:!0,...et?.options,...H}},this.#t[m.id]=et),H?.destroyRef?.onDestroy(()=>this.remove(m)),et}registerReloadDataProvider(m){m.registerReloadDataProvider(z,()=>Object.keys(this.#t).length?this.#t:null)}static{this.\u0275fac=function(H){return new(H||hu)}}static{this.\u0275prov=h.jDH({token:hu,factory:hu.\u0275fac})}};return c=(0,De.Cg)([(0,O.QJ)({token:E.V8,priority:br.DATA_STORAGE_SERVICE}),(0,De.Sn)("design:paramtypes",[])],c),c})();function je(c,T){if(c){const m=new Ht(c);return T&&(T.length>c&&(T=T.slice(T.length-c)),m.setBuffer(T)),m}return new Ht}class Ht extends Y.B{#e;#t;constructor(T){super(),this.#t=Math.max(0,T||0),this.isBuffered()&&(this.#e=[])}next(T){this.isStopped||(this.isBuffered()&&this.nextBuffered(T),super.next(T))}nextBuffered(T){this.buffer().length>=this.#t&&this.buffer().splice(0,this.buffer().length+1-this.#t),this.buffer().push(T)}getBuffer(){return this.#e?.slice()}isBuffered(){return!!this.#t}getBufferSize(){return this.#t}buffer(){return this.#e}adjustBufferSize(T){this.#t=Math.max(0,T),this.isBuffered()?this.#e?this.#e.length>this.#t&&this.#e.splice(0,this.#e.length+1-this.#t):this.#e=[]:this.#e=void 0}setBuffer(T){if(this.buffer().length)throw new Error("The buffer isn't empty. Use the clearBuffer() instead.");this.#e=T.slice();for(const m of this.#e)super.next(m)}clearBuffer(){this.#e=[]}subscribe(T,m){if(m||null===T)throw new Error("Unsupported operation. Do not use subscribe with more than one argument, because it lacks on support with RxJs > 8. @see https://rxjs.dev/deprecations/subscribe-arguments");const H=this.#e?.slice()??[];let et;if("function"==typeof T){for(const vn of H)T(vn);et=super.subscribe(T)}else{if(T&&T.next)for(const vn of H)T.next(vn);et=super.subscribe(T)}return et}}const Dt=c=>c.options?.bufferSize||!1,$n=(c,T)=>({sink$:je(T.bufferSize,T.buffer),event:{name:c}}),zn=(c,T)=>Ur(c,([m,H])=>{if(T[m]){const et=T[m];return et.sink$=je(et.sink$.getBufferSize(),[...H.buffer,...et.sink$.getBuffer()]),[m,et]}return[m,$n(m,H)]}),In=c=>({bufferSize:c.sink$.getBufferSize(),buffer:c.sink$.getBuffer()}),Ur=(c,T)=>Object.fromEntries(Object.entries(c).map(T)),Zr=c=>
1c.qualifiers?c.name+JSON.stringify(c.qualifiers):c.name;let xr=(()=>{let c=class pu extends E.Wj{#e=(0,h.WQX)(Or);#t={};#n=new Xe.m;constructor(){super()}onPortalInit(){var m=this;return(0,u.A)(function*(){m.registerReloadDataProvider();const H=yield m.#e.retrieve("OKP_EB");H&&(m.#t={...m.#t,...zn(H,m.#t)}),m.#n.next()})()}on(m,H){const et=Zr(m);return this.#n.pipe((0,Ot.s)(1),(0,ht.n)(()=>(this.#t[et]?.sink$?.asObservable()??this.createDelegateEventObservable(m)).pipe((0,D.Tk)(()=>!!H?.withDetails,{onTrue:Vn=>(0,Se.of)(Vn).pipe((0,zt.T)(ei=>{const{destroyRef:ls,...Zi}=this.#t[m.name]?.options??{};return{...ei,event:m,options:Zi}})),onFalse:Vn=>(0,Se.of)(Vn.data)}),(0,Ce.j)(()=>{!this.#t[et].sink$.observed&&!this.#t[et].options?.destroyRef&&delete this.#t[et]}))))}eventEmitter(m,H){const et=Zr(m),vn=this.#t[et];if(vn)return((c,T)=>{if(c.configured){if(!c.options?.reusable&&!c.options?.reconfigurable)throw new Error(`event emitter for event: '${c.event.name}' already exists. To allow, set 'reusable' option.`);if(!((c,T)=>c?.bufferSize===T?.bufferSize)(c.options,T)&&!c.options?.reconfigurable)throw new Error(`event emitter for event: '${c.event.name}' already exists with different configuration. To allow, set 'reconfigurable' option.`)}})(vn,H),((c,T)=>{c.options=T,c.configured=!0,c.sink$.adjustBufferSize(T?.bufferSize||0)})(vn,H),this.createEmitter(vn);const Vn={sink$:new Ht(H?.bufferSize),event:m,configured:!0,options:H};this.#t[et]=Vn;const ei=this.createEmitter(Vn);return H?.destroyRef&&H.destroyRef.onDestroy(ei.complete),ei}eventEmitterFromObservable(m,H,et){const vn=this.eventEmitter(m,et),Vn=H.pipe((0,D.lq)(()=>et?.destroyRef,ei=>(0,st.pQ)((c=>{if((c=>(0,X.i5)(c,"destroyed"))(c))return c;let T=!1;return{destroyed:T,onDestroy:m=>c.onDestroy(()=>{T=!0,m()})}})(ei)))).subscribe({next:vn.emit,complete:vn.complete});return{complete:()=>{Vn.unsubscribe(),vn.complete()}}}get eventSinks(){return this.#t}isKnown(m){return!!this.eventSinks[Zr(m)]}createEmitter(m){const H=Zr(m.event);let et={emit:vn=>m.sink$.next({timestamp:new Date,data:vn}),complete:()=>{m.sink$.complete(),delete this.#t[H]}};return m.options?.bufferSize&&(et={...et,clear:()=>m.sink$.clearBuffer()}),et}createDelegateEventObservable(m){return new ct.c(H=>{let et;const vn=Zr(m);this.#t[vn]?et=this.#t[vn].sink$:(et=new Ht,this.#t[vn]={sink$:et,event:m});const Vn=et.subscribe(H);return()=>Vn.unsubscribe()})}registerReloadDataProvider(){this.#e.registerReloadDataProvider("OKP_EB",()=>{const m=(c=>Object.fromEntries(c.map(T=>[T.event.name,In(T)])))(Object.values(this.#t).filter(Dt));return Object.keys(m).length?m:null})}static{this.\u0275fac=function(H){return new(H||pu)}}static{this.\u0275prov=h.jDH({token:pu,factory:pu.\u0275fac})}};return c=(0,De.Cg)([(0,O.QJ)({token:E.Wj,priority:br.EVENT_BUS_SERVICE}),(0,De.Sn)("design:paramtypes",[])],c),c})();class ti{constructor(T,m,H){this.publisher=m,this.origin=H,this.source="string"==typeof T?T:T.name}debug(T,m){this.log("DEBUG",T,m)}error(T,m){let H,et,vn;"string"==typeof T?(H=T,(0,X.bJ)(m)?vn=m:et=m):vn=T,this.log("ERROR",H,et,vn)}log(T,m,H,et){this.publisher.log({source:this.source,origin:this.origin,level:T,message:m,param:H,error:et})}info(T,m){this.log("INFO",T,m)}warn(T,m){this.log("WARN",T,m)}}class gi{}const Ci=c=>"DEBUG"===c.level?console.debug:"WARN"===c.level?console.warn:"ERROR"===c.level?console.error:console.info;class zi{constructor(T=Ci){this.type="console",this.consoleLogFn=T}log(T){this.consoleLogFn(T)(((c,T=!0)=>{let m="";return T&&(m+=c.level+" | "),m+=(new Date).toLocaleString()+" | ",c.origin&&(m+=`${c.origin} | `),m+=c.source,c.message&&(m+=" | "+c.message),c.param&&(m+=" | Extra Info: "+JSON.stringify(c.param)),c.error&&(m+=` | ${c.error} | ${c.error.stack}`),m})(T))}}let yi=(()=>{class c{#e=(0,h.WQX)(gi,{optional:!0})??new zi;getLogger(m,H="sn: portal-ui"){return(0,X.yL)(H)?this.getAsyncInternalLogger(H,m):new ti(m,this.#e,H)}getAsyncInternalLogger(m,H){const et=m.then(vn=>this.getLogger(H,vn));return(0,X.tz)({get:(vn,Vn)=>(0,X.tz)({apply:(ei,ls,Zi)=>et.then(rs=>{rs[Vn].apply(rs,Zi)})},()=>{})})}static{this.\u0275fac=function(H){return new(H||c)}}static{this.\u0275prov=h.jDH({token:c,factory:c.\u0275fac})}}return c})();class ao{#e=(0,h.WQX)(ce);#t=(0,h.WQX)(Ee.aZ);#n=(0,h.WQX)(Ee.hb);#r=(0,h.WQX)(ar);isHashBasedRouting(){return this.#r}getLocation(){return this.#t}getLocationStrategy(){return this.#n}getAppBasePath(){return this.#e.getAppBasePath()}}let Ao=(()=>{class c extends i.fw{#e=(0,h.WQX)(Ni);#t=(0,h.WQX)(ke.Vw);constructor(){super((0,h.WQX)(ke.Vw),""),super.onPopState(m=>{this.#e.handlePopState(m)})}getBaseHref(){return this.#e.getBaseHref()}prepareExternalUrl(m){return Ee.aZ.joinWithSlash(this.getBaseHref()+"#",m)}onPopState(m){this.#e.addPopStateListener(m)}path(){let m=super.path();return m.includes("?")||(m+=this.#t.search),m}static{this.\u0275fac=function(H){return new(H||c)}}static{this.\u0275prov=h.jDH({token:c,factory:c.\u0275fac})}}return c})(),_o=(()=>
1{class c extends Ee.Sm{#e=(0,h.WQX)(Ni);constructor(){super((0,h.WQX)(ke.Vw),""),super.onPopState(m=>{this.#e.handlePopState(m)})}getBaseHref(){return this.#e.getBaseHref()}prepareExternalUrl(m){return Ee.aZ.joinWithSlash(this.getBaseHref(),m)}onPopState(m){this.#e.addPopStateListener(m)}static{this.\u0275fac=function(H){return new(H||c)}}static{this.\u0275prov=h.jDH({token:c,factory:c.\u0275fac})}}return c})(),Ti=(()=>{class c extends Ee.aZ{#e=(0,h.WQX)(ce);constructor(){super((0,h.WQX)(Ee.hb))}normalize(m){return Ee.aZ.stripTrailingSlash(function Ct(c,T){return c&&T.startsWith(c)?T.substring(c.length):T}(this.#e.getAppBasePath()??"",function $t(c){return c.replace(/\/index.html$/,"")}(m)))}static{this.\u0275fac=function(H){return new(H||c)}}static{this.\u0275prov=h.jDH({token:c,factory:c.\u0275fac})}}return c})(),co=(()=>{class c{#e=(0,h.WQX)(Oe,{skipSelf:!0});#t=(0,h.WQX)(Ee.aZ,{skipSelf:!0});#n=(0,h.WQX)(q,{optional:!0,self:!0});navigateById(m,H){var et=this;return(0,u.A)(function*(){return et.#e.navigateById(m,H)})()}navigateByUrl(m,H){return this.#e.navigateByUrl(m,H)}navigateToStartPage(){return this.#e.navigateToStartPage()}getRouterPathForId(m){return this.#e.getRouterPathForId(m)}toExternalUrl(m,H){return this.#e.toExternalUrl(m,H)}navigateToPreviousApp(){return this.hasPreviousApp()?(this.#n?this.#t.historyGo(-1-this.#n.navigationSteps):this.#t.back(),Promise.resolve(!0)):this.navigateToStartPage()}hasPreviousApp(){return this.#e.hasPreviousApp()}hasPreviousNavigation(){return(this.#n?.navigationSteps??-1)>0}static{this.\u0275fac=function(H){return new(H||c)}}static{this.\u0275prov=h.jDH({token:c,factory:c.\u0275fac})}}return c})(),Ri=(()=>{class c{#e=(0,h.WQX)(vr);#t=(0,h.WQX)(ce,{skipSelf:!0});#n=(0,h.WQX)(ke.Vw);#r=(0,h.WQX)(ar);#i=(0,h.WQX)(xe);#o={};getAppBasePath(){return this.#o[this.getActiveTagName()]||(this.#r?this.getAndStoreHashBasedPath():this.getAndStoreStandardPath())}getAndStoreHashBasedPath(){if(this.#i?.isActive()){const m=this.getActiveTagName(),H=this.#n.pathname;return this.#o[m]=H,this.removeHashBasedPathWhenDeactivated(m),H}}removeHashBasedPathWhenDeactivated(m){this.#i?.isActive$().pipe((0,rt.p)(H=>!H),(0,Ot.s)(1)).subscribe(()=>this.#o[m]=null)}getAndStoreStandardPath(){const m=this.#t.getAppBasePath();return this.#o[this.getActiveTagName()]=m??null,m}getActiveTagName(){return this.#e.tagName??"tagNameUndefined"}isOwnRoute(m){return Dn(m).startsWith(Dn(this.getAppBasePath()??""))}static{this.\u0275fac=function(H){return new(H||c)}}static{this.\u0275prov=h.jDH({token:c,factory:c.\u0275fac})}}return c})();const Mi=O.bx.HIGHEST_PRECEDENCE+300,li={LOCATION_STRATEGY_UTIL:Mi+10,NAV_ID_SERVICE:Mi+20,NAV_COUNTER_SERVICE:Mi+30,ROUTER_INITIALIZER:Mi+40};function yo(c,T){return!!T&&"object"==typeof T&&c in T}const Lo=new h.nKC("");class So{#e;#t;#n;#r;constructor(T,m){this.routingInfoService=(0,h.WQX)(U),this.#t=(0,h.WQX)(Ee.aZ),this.#n=(0,h.WQX)(Lo,{optional:!0}),this.#r=0,this.#e=T,this.trace=H=>{this.isTraceEnabled()&&m.debug(`${this.getNavStepName()}: ${H}`)}}init(){const T=this.#e;T&&(this.restoreNavigationSteps("init"),this.subscription=T.events.pipe((0,D.jL)(en.Z,en.Bx.NavigationStart),(0,rt.p)(m=>"hashchange"!==m.navigationTrigger),(0,ht.n)(m=>T.events.pipe((0,D.jL)(en.wF,en.Bx.NavigationEnd),(0,zt.T)(()=>m)))).subscribe(m=>"popstate"===m.navigationTrigger?this.restoreNavigationSteps("popstate event",m.restoredState):this.handleImperative()),this.updateHistoryState(),this.trace("navigation recording has started."))}handleImperative(){this.routingInfoService.isSameHistoryEntry()||(this.setNavigationSteps(this.#r+1),this.trace(`navigation steps incremented. after-change: ${this.#r}`)),this.updateHistoryState()}restoreNavigationSteps(T,m=this.#t.getState()){const H=this.getNavStepName();if(yo(H,m)){const et=m[H];this.trace(`navigation steps restored from history after ${T}. before-change: ${this.#r} after-change: ${et}`),this.setNavigationSteps(et,!0)}else this.trace(`${T} without history navigation steps detected`)}get navigationSteps(){return this.#r}setNavigationSteps(T,m=!1){this.#r=T}reset(){this.setNavigationSteps(0),this.updateHistoryState(),this.trace("navigation steps have been reset.")}updateHistoryState(){const T=this.#t.getState(),m={[this.getNavStepName()]:this.#r};this.#t.replaceState(this.#t.path(!0),"",{...T,...m})}isTraceEnabled(){return this.#n?.useTracing??!1}getNavStepName(){return"navStep"}}var Bi;const Ii="globalNavStep";let Wr=class gu extends So{static{Bi=this}#e=(0,h.WQX)(Ee.aZ);#t=new Y.B;constructor(){super((0,h.WQX)(en.Ix),(0,I.WG)(Bi))}onPortalInit(){this.init()}getChanges(){return this.#t.asObservable()}getNavigationStepsFromState(){const m=this.#e.getState();return yo(Ii,m)?m.globalNavStep:-1}setNavigationSteps(m,H=!1){const et=this.navigationSteps;super.setNavigationSteps(m),this.#t.next({previousNavStep:et,currentNavStep:this.navigationSteps,restored:H})}getNavStepName(){return Ii}static{this.\u0275fac=function(H){return new(H||gu)}}static{this.\u0275prov=h.jDH({token:gu,factory:gu.\u0275fac})}};var si;Wr=Bi=(0,De.Cg)([(0,O.QJ)({token:Wr,priority:br.GLOBAL_NAVIGATION_COUNTER_SERVICE}),(0,De.Sn)("design:paramtypes",[])],Wr);let ui=class mu extends So{static{si=this}#e=wr(Ie.APP_ID);
1#t=fo("traceNavSteps");#n=(0,h.WQX)(q,{skipSelf:!0});#r=(0,h.WQX)(Wr,{skipSelf:!0});constructor(){super(wr(Ie.ROUTER),(0,I.WG)(si))}onWebCompInit(){this.init()}onWebCompDestroy(){this.subscription?.unsubscribe(),this.trace("navigation recording has stopped due to webcomp destroy.")}handleImperative(){this.routingInfoService.isSameHistoryEntry()||this.#r.handleImperative(),super.handleImperative()}updateHistoryState(){super.updateHistoryState(),this.#n.updateHistoryState(),this.#r.updateHistoryState()}isTraceEnabled(){return this.#t}getNavStepName(){return`${super.getNavStepName()}_${this.#e}`}static{this.\u0275fac=function(H){return new(H||mu)}}static{this.\u0275prov=h.jDH({token:mu,factory:mu.\u0275fac})}};ui=si=(0,De.Cg)([(0,O.QJ)({priority:li.NAV_COUNTER_SERVICE,token:q}),(0,De.Sn)("design:paramtypes",[])],ui);let qi=(()=>{class c extends dn{constructor(){super(wr(Ie.ROUTER))}static{this.\u0275fac=function(H){return new(H||c)}}static{this.\u0275prov=h.jDH({token:c,factory:c.\u0275fac})}}return c})();var ji;const Ui=c=>(0,X.i5)(c,"onWebCompInit");let Bo=class _u{static{ji=this}#e=(0,I.WG)(ji);#t=wr(Ie.ROUTER);#n=wr(Ie.ZONE);#r=(0,h.WQX)(h.zZn);#i=(0,h.WQX)(xe);#o=(0,h.WQX)(de);#s=(0,h.WQX)(ce);#a=(0,h.WQX)(q);#c=(0,h.WQX)(vr);#l=(0,h.WQX)(Sr);#d=new ot.t(null);#u=new ot.t(!1);#f=!1;#h=null;init(){var m=this;return(0,u.A)(function*(){if(!m.#t.config.length)throw new Error("OKP API is configured to use with routing, but no routes are provided.");if(m.initPreloading(),!m.#i.isEnabled())return m.#e.warn("Support for multi custom elements not available"),(0,X.xo)((0,X.hu)(m.#a,Ui),H=>H.onWebCompInit()),m.onWebCompInit()})()}onWebCompInit(){var m=this;return(0,u.A)(function*(){if(m.handleRouteInfoChanges(),!m.#f)return m.initNavigationFinishedListener(),m.restoreStateOnCanceledNavigation(),m.#t.initialNavigation(),void(m.#f=!0);const H=yield m.#l.getMainContent();H&&H.id!==m.#c.contentId||(yield(0,fe._)(m.#u.pipe((0,rt.p)(et=>et),(0,Qt.w)(3e3),(0,Kt.W)(()=>(m.#e.error("Waited for 3000ms in onWebCompInit for a navigation to be finished"),(0,Se.of)(!0))))))})()}onWebCompDestroy(){this.#h?.unsubscribe(),this.#u.next(!1)}onRouteChanged(m){this.#d.next(m)}handleRouteInfoChanges(){var m=this;this.#h=this.#d.pipe((0,D.Ue)(),(0,rt.p)(H=>this.#s.isOwnRoute(H.url))).subscribe(function(){var H=(0,u.A)(function*(et){yield m.#n.run(()=>m.resetNavigation(et)),m.#d.next(null)});return function(et){return H.apply(this,arguments)}}())}initNavigationFinishedListener(){this.#t.events.pipe((0,rt.p)(bt),(0,zt.T)(()=>!0)).subscribe(this.#u)}initPreloading(){(0,h.N4e)(this.#r,()=>{wr(Ie.PRELOADING_STRATEGY,{optional:!0})&&wr(Ie.ROUTER_PRELOADER).setUpPreloading()})}restoreStateOnCanceledNavigation(){const m=this.#o.getLocation();this.#t.events.pipe((0,D.jL)(en.Z,en.Bx.NavigationStart),(0,rt.p)(H=>"imperative"!==H.navigationTrigger),(0,zt.T)(()=>m.getState()),(0,rt.p)(X.Gv),(0,ht.n)(H=>this.#t.events.pipe((0,rt.p)(bt),(0,Ot.s)(1),(0,D.jL)(en.Cq,en.Bx.NavigationCancel),(0,zt.T)(()=>m.getState()),(0,zt.T)(et=>(0,X.Gv)(et)?{...H,...et}:{...H})))).subscribe(H=>m.replaceState(m.path(!0),"",H))}resetNavigation(m){const H=m.extras?.sameContent;H||this.#a.reset();let et=this.#o.getLocation().normalize(m.url);this.#o.isHashBasedRouting()&&et.indexOf("#")>=0&&(et=(c=>{const T=c.indexOf("#"),m=c.substring(T+1),H=c.indexOf("?");return H>=0&&!m.includes("?")?m+c.substring(H,T):m})(et));const vn={...m.extras,onSameUrlNavigation:"reload",replaceUrl:!H||m.extras?.replaceUrl};return this.#t.navigateByUrl(et,vn)}static{this.\u0275fac=function(H){return new(H||_u)}}static{this.\u0275prov=h.jDH({token:_u,factory:_u.\u0275fac})}};Bo=ji=(0,De.Cg)([(0,O.QJ)({priority:li.ROUTER_INITIALIZER,token:it})],Bo);class Qr{}class Ai extends D.JN{}var Si;const Eo={enabled:!0,initTimeoutInMs:1e3};let $r=(()=>{class c{#e={...Eo,...wr(Ie.LIFECYCLE_CONFIG,{optional:!0})};#t=(0,h.WQX)(h.zZn);#n=(0,I.WG)(Si);#r=(0,h.WQX)(vr);#i=(0,h.WQX)(Ai);#o=(0,h.WQX)(Qr);#s=new Y.B;#a=new ot.t(!1);constructor(){this.checkConfiguration(),this.checkAvailability()}setAvailable(){this.#s.next()}isEnabled(){return this.#e.enabled}isActive(){return this.#a.value}isActive$(){return this.#a}connect(m){return this.isEnabled()?(this.setIsActive(!0),this.#o.callLifecycleHooks({hookName:"onWebCompInit",callFn:H=>H.onWebCompInit(m),scope:{onExtApp:!0,onApp:!0},appRefs:[this.#r]})):Promise.resolve(void 0)}disconnect(m){return this.isEnabled()?(this.setIsActive(!1),this.#o.callLifecycleHooks({hookName:"onWebCompDestroy",callFn:H=>H.onWebCompDestroy(m),scope:{onExtApp:!0,onApp:!0},appRefs:[this.#r]})):Promise.resolve(void 0)}
1setIsActive(m){this.#a.next(m),this.#i.setActive(wr(this.#r,Ie.APP_ID),m)}checkConfiguration(){if(this.#e.initTimeoutInMs<=0)throw new Error("Only values greater than 0 are allowed for checking the lifecycle initialization of a web component.")}checkAvailability(){return this.isEnabled()?function wt(...c){return 1===(c=function Ae(c){return 1===c.length&&P(c[0])?c[0]:c}(c)).length?(0,_e.Tg)(c[0]):new ct.c(function Mt(c){return T=>{let m=[];for(let H=0;m&&!T.closed&&H<c.length;H++)m.push((0,_e.Tg)(c[H]).subscribe((0,mt._)(T,et=>{if(m){for(let vn=0;vn<m.length;vn++)vn!==H&&m[vn].unsubscribe();m=null}T.next(et)})))}}(c))}((0,jt.O)(this.#e.initTimeoutInMs).pipe((0,zt.T)(()=>{0!==this.#t.get(g.o8S).viewCount?this.#n.error(`WebComponent lifecycle management not available.\n            Please use createOkpCustomElement().\n            (active configuration: ${JSON.stringify(this.#e)})`):this.#n.error(`Script already been loaded. Loading scripts multiple times\n              results in performance degradation. Use OKP content integration to avoid this issue. More information\n              about this issue, see the developer documentation.\n              (active configuration: ${JSON.stringify(this.#e)})`)})),this.#s).pipe((0,Ot.s)(1)):(this.#n.debug("WebComponent lifecycle management is disabled."),(0,Se.of)(void 0))}static{this.\u0275fac=function(H){return new(H||c)}}static{this.\u0275prov=h.jDH({token:c,factory:c.\u0275fac})}}return c})();Si=$r;class Ei{}class hi{}const bo=new h.nKC("load script fn",{factory:()=>function(){var c=(0,u.A)(function*(T){return!1===T.module?import(yield(0,X.qE)(T.path)):import(T.path)});return function(T){return c.apply(this,arguments)}}()});let Gi=(()=>{class c{constructor(){this.#e={},this.get=m=>this.#e[m],this.has=m=>!!this.#e[m],this.set=(m,H)=>this.#e[m]=H}#e;static{this.\u0275fac=function(H){return new(H||c)}}static{this.\u0275prov=h.jDH({token:c,factory:c.\u0275fac})}}return c})();class Xi extends Error{constructor(T,m,H){super(m??T,H),this.type=T,this.traceId=(0,se.A)(),this.name=Xi.name,this.options=H}get category(){return this.options?.category}get params(){return this.options?.params}}let lo=(()=>{class c{static{this.\u0275fac=function(H){return new(H||c)}}static{this.\u0275prov=h.jDH({token:c,factory:c.\u0275fac})}}return c})();class Qi{}var jo;let xi=(()=>{class c{#e=(0,I.WG)(jo);#t=(0,h.WQX)(h.SKi);#n=(0,h.WQX)(en.Ix);#r=(0,h.WQX)(Ee.aZ);#i=(0,h.WQX)(ce);#o=(0,h.WQX)(Cr);#s=(0,h.WQX)(q);#a=(0,h.WQX)(lo);#c=(0,h.WQX)(Qi);#l=(0,h.WQX)(J).basePath;constructor(){this.initInternalErrorHandler(),this.handlePopstateProcessed()}handlePopstateProcessed(){this.#n.events.pipe((0,D.is)(en.Z),(0,rt.p)(m=>"popstate"===m.navigationTrigger),(0,ht.n)(()=>this.#n.events.pipe((0,rt.p)(bt),(0,Ot.s)(1)))).subscribe(m=>this.#a.onPopstateProcessed({navigationCanceled:(0,D.VX)(m,en.Cq,en.Bx.NavigationCancel)}))}getRouterPathForId(m){var H=this;return(0,u.A)(function*(){const et=(yield H.getContent(m))?.routerPath;if(!et)throw new Xi("NO_ROUTER_PATH","APP_COULD_NOT_BE_STARTED",{category:"PAGE_NOT_FOUND",params:{contentId:m}});return et})()}navigateById(m,H){var et=this;return(0,u.A)(function*(){try{const vn=yield et.getRouterPathForId(m),Vn=et.addExtrasToPath(vn,H);return et.navigateByUrl(Vn,H)}catch(vn){return yield et.handleError(vn),!1}})()}navigateToStartPage(){return this.navigateByUrl("/")}navigateByUrl(m,H){var et=this;return(0,u.A)(function*(){H=et.setSameContentInfo(m,H);const vn={...H,skipLocationChange:!!H?.sameContent||H?.skipLocationChange};try{const Vn=yield et.navigateByUrlInZone(m,vn);return Vn&&et.dispatchRouteChangedEvent(et.#n.url,H),Vn}catch(Vn){return yield et.handleError(Vn),!1}})()}dispatchRouteChangedEvent(m,H){m=Ee.aZ.joinWithSlash(this.#l,m),this.#a.onRouteChanged({url:m,extras:H})}navigateToPreviousApp(){return Promise.resolve(!1)}hasPreviousApp(){return this.#s.navigationSteps>0}hasPreviousNavigation(){return!1}getContent(m){return this.#o.searchInternal({withId:m}).catch(H=>{throw new Xi("UNKNOWN_ERROR","APP_COULD_NOT_BE_STARTED",{cause:H})}).then(H=>{if(!H)throw new Xi("UNKNOWN_CONTENT_ID","APP_COULD_NOT_BE_STARTED",{category:"PAGE_NOT_FOUND",params:{contentId:m}});return H})}initInternalErrorHandler(){this.#n.events.subscribe(m=>{m instanceof en.L6&&m.error instanceof Xi&&this.handleError(m)})}toExternalUrl(m,H){return Ee.aZ.joinWithSlash(this.#l,this.addExtrasToPath(m,H))}addExtrasToPath(m,H){return this.#n.serializeUrl(this.#n.createUrlTree([m],H))}handleError(m){var H=this;return(0,u.A)(function*(){H.#e.error("A navigation error occurred.",m);const et=(c=>c instanceof Xi)(m)?m:new Xi("UNKNOWN_ERROR","APP_COULD_NOT_BE_STARTED",{cause:m});return H.#c.handleError(et)})()}navigateByUrlInZone(m,H){return this.#t.run(()=>this.#n.navigateByUrl(m,H))}setSameContentInfo(m,H){const et=this.#r.prepareExternalUrl(m),vn=this.#i.getAppBasePath();return vn&&Dn(et).startsWith(Dn(vn))?{...H,sameContent:!0}:H}static{this.\u0275fac=function(H){return new(H||c)}}static{this.\u0275prov=h.jDH({token:c,factory:c.\u0275fac})}}return c})();var Wi;jo=xi;let Uo=class vu extends So{static{Wi=this}constructor(){super((0,h.WQX)(en.Ix),(0,I.WG)(Wi))}onPortalInit(){this.init()}static{this.\u0275fac=function(H){return new(H||vu)}}static{this.\u0275prov=h.jDH({token:vu,factory:vu.\u0275fac})}};var uo;Uo=Wi=(0,De.Cg)([(0,O.QJ)({token:q,priority:br.NAVIGATION_COUNTER_SERVICE}),(0,De.Sn)("design:paramtypes",[])],Uo);let Do=class yu{static{uo=this}#e;#t=!1;#n=(0,h.WQX)(Me.JV);#r=(0,h.WQX)(Pn).basePath;#i=(0,h.WQX)(tr);#o=F(uo);#s=!1;whenAuthenticated(){this.#s=!0}isFeatureAvailable(m){return this.getFeatures().pipe((0,D.Cj)(H=>H===m),(0,zt.T)(H=>!!H),(0,Ot.s)(1))}getFeatures(){return!this.#e&&!this.#s&&(this.#e=this.getFeaturesWithoutInterceptors().pipe(this.handleFeatureResponse())),(!this.#e||this.#s&&!this.#t)&&(this.#e=this.#i.getFeatures().pipe(this.handleFeatureResponse()),this.#t=!0),this.#e}handleFeatureResponse(){return(0,Ge.F)((0,yt.t)(1),(0,Kt.W)(m=>(this.#o.error("could not load features from feature service: "+m.message),(0,Se.of)([]))))}getFeaturesWithoutInterceptors(){return new Me.Qq(this.#n).post(this.#r+"/v1",{observe:"body"})}static{this.\u0275fac=function(H){return new(H||yu)}}static{this.\u0275prov=h.jDH({token:yu,factory:yu.\u0275fac})}};Do=uo=(0,De.Cg)([(0,O.QJ)({token:E.Rx,priority:br.FEATURE_SERVICE})],Do);class ai{}let mi=(()=>
1{class c{#e=(0,h.WQX)(J).type;#t=(0,h.WQX)(ai);getType(){return this.#e}getHeaderHeight(){return this.#t.getHeaderHeight()}static{this.\u0275fac=function(H){return new(H||c)}}static{this.\u0275prov=h.jDH({token:c,factory:c.\u0275fac})}}return c})(),Oo=(()=>{class c{#e=(0,h.WQX)(Ai);#t=(0,h.WQX)(Qr);#n=(0,h.WQX)(Ye.Qc);#r=new Y.B;#i=()=>this.#t.callLifecycleHooksSync({hookName:"beforeUnload",callFn:m=>m.beforeUnload(),scope:{onPortal:!0},resultHandling:{ignoreErrors:!0}});constructor(){this.#n.addEventListener("beforeunload",this.#i)}isClosed$(){return this.#r.pipe((0,qe.U)(!0),(0,zt.T)(()=>!0),(0,ut.Z)(!1))}onPortalInit(){var m=this;return(0,u.A)(function*(){return m.#t.callLifecycleHooks({hookName:"onPortalInit",callFn:H=>H.onPortalInit(),scope:{onPortal:!0}})})()}afterReload(){var m=this;return(0,u.A)(function*(){return m.#e.getAddedIntegratedContents().pipe((0,M.Q)(m.#r)).subscribe(H=>m.callAfterReloadHooks({onExtApp:!0,onApp:!0},[H])),yield m.callAfterReloadHooks({onPortal:!0,onExtApp:!0,onApp:!0})})()}afterLogin(){var m=this;return(0,u.A)(function*(){return m.#t.callLifecycleHooks({hookName:"afterLogin",callFn:H=>H.afterLogin(),scope:{onPortal:!0}})})()}whenAuthenticated(){var m=this;return(0,u.A)(function*(){return m.#e.getAddedIntegratedContents().pipe((0,M.Q)(m.#r)).subscribe(H=>m.callWhenAuthenticatedHooks({onExtApp:!0,onApp:!0},[H])),yield m.callWhenAuthenticatedHooks({onPortal:!0,onExtApp:!0,onApp:!0})})()}callAfterReloadHooks(m,H){var et=this;return(0,u.A)(function*(){return et.#t.callLifecycleHooks({hookName:"afterReload",callFn:vn=>vn.afterReload(),scope:m,appRefs:H})})()}callWhenAuthenticatedHooks(m,H){var et=this;return(0,u.A)(function*(){return et.#t.callLifecycleHooks({hookName:"whenAuthenticated",callFn:vn=>vn.whenAuthenticated(),scope:m,appRefs:H})})()}canDeactivateContent(){var m=this;return(0,u.A)(function*(){const H=yield m.#e.getMainAppRef();return H?m.#t.callLifecycleHooks({hookName:"canDeactivateWebComp",callFn:et=>et.canDeactivateWebComp(),scope:{onExtApp:!0,onApp:!0},appRefs:[H],resultHandling:{reducer:{reduce:(et,vn)=>et&&vn,initialValue:!0}}}):Promise.resolve(!0)})()}onRouteChanged(m){var H=this;return(0,u.A)(function*(){return H.#t.callLifecycleHooks({hookName:"onRouteChanged",callFn:et=>et.onRouteChanged(m),scope:{onPortal:!0,onExtApp:!0,onApp:!0}})})()}onPopstateProcessed(){var m=this;return(0,u.A)(function*(H={navigationCanceled:!1}){return m.#t.callLifecycleHooks({hookName:"onPopstateProcessed",callFn:et=>et.onPopstateProcessed(H),scope:{onExtApp:!0}})}).apply(this,arguments)}beforeClose(){var m=this;return(0,u.A)(function*(H={logout:!0,trigger:"IMPERATIVE"}){return m.#t.callLifecycleHooks({hookName:"beforeClose",callFn:et=>et.beforeClose(H),scope:{onPortal:!0,onExtApp:!0,onApp:!0},resultHandling:{ignoreErrors:!0}}).finally(()=>{m.#r.next(),m.#r.complete(),m.#n.removeEventListener("beforeunload",m.#i)})}).apply(this,arguments)}static{this.\u0275fac=function(H){return new(H||c)}}static{this.\u0275prov=h.jDH({token:c,factory:c.\u0275fac})}}return c})();const wo=/^(\d{4})-(\d{2})-(\d{2})T(\d{2}):(\d{2}):(\d{2}\.\d*)(?:Z|([+-])([\d|:]*))?$/,Wo=(c,T)=>"string"==typeof T&&wo.exec(T)?new Date(T):T,Jo="reload-timestamp",Yi="reload-data.storage";let be=(()=>{let c=class Vc extends Or{#e=(0,h.WQX)(at.R7);#t={};#n;#r=new Xe.m;beforeUnload(){const m=Object.entries(this.#t).reduce((H,[et,vn])=>({...H,[et]:vn()}),{});this.#e.store(Yi,JSON.stringify(m)),this.#e.store(Jo,Date.now())}afterReload(){this.#n=JSON.parse(this.#e.retrieve(Yi),Wo),this.#r.next()}onPortalInit(){this.#e.clear(Yi),this.#e.clear(Jo),this.#r.next()}beforeClose(){this.#t={},this.#e.clear()}registerReloadDataProvider(m,H){this.#t[m]=H}retrieve(m){var H=this;return(0,u.A)(function*(){return(0,fe._)(H.#r.pipe((0,zt.T)(()=>{const et=H.#n?.[m];return et&&delete H.#n?.[m],et})))})()}static{this.\u0275fac=(()=>{let m;return function(et){return(m||(m=g.xGo(Vc)))(et||Vc)}})()}static{this.\u0275prov=h.jDH({token:Vc,factory:Vc.\u0275fac})}};return c=(0,De.Cg)([(0,O.QJ)({token:Or,priority:br.RELOAD_SERVICE})],c),c})();class d{constructor(T){this._carriers=T}
1postMessage(T){this._carriers.forEach(m=>m.postMessage(T))}onMessage(T){return(0,$.H)(this._carriers).pipe((0,zt.T)(m=>T?.withDetails?m.onMessage({withDetails:!0}):m.onMessage()),(0,w.U)())}}function y(c){return(0,h.Af3)(y),(0,h.WQX)(Ze).create("BROADCAST_CHANNEL",c)}function x(c){return(0,h.Af3)(x),(0,h.WQX)(Ze).create("WINDOW",c)}class Ze{}class Pt{}var nn;const hn={UNRELATED_TAB_INIT:"unrelated-tab-init-"+Date.now(),CHILD_TAB_INIT:"child-tab-init",TAB_MESSAGE:"tab-com"},Yn=new h.nKC("config object for tab-communication"),mr={findInitChannelResponseTimeout:1500,tabInitResponseTimeout:5e3};class fr{constructor(T=!1){this.isChildTab=T,this.type="TabInitRequest"}}class sr{constructor(T){this.initData=T,this.type="TabInitResponse"}}class dr{constructor(T){this.initChannelId=T,this.type="FindInitChannelResponse"}}const kr=(c,T)=>(0,X.i5)(c,"type")&&c.type===T;let Tr=class Eu{static{nn=this}#e=(0,I.WG)(nn);#t=(0,h.WQX)(Ye.Qc);#n={...mr,...(0,h.WQX)(Yn,{optional:!0})};#r={};#i=new Map;#o=new Xe.m;#s=(0,h.WQX)(lo).isClosed$().pipe((0,D.zz)());#a=(0,h.WQX)(Ze);#c=y(hn.UNRELATED_TAB_INIT);#l=x(hn.CHILD_TAB_INIT);#d=y(hn.TAB_MESSAGE);#u;#f=!1;afterReload(){this.#f=!0}afterLogin(){this.#f=!0}onPortalInit(){var m=this;return(0,u.A)(function*(){m.setupTabGroupCommunication(),yield m.setupOwnTabInitialization(),m.setupForeignTabInitialization()})()}setupTabGroupCommunication(){this.#d.onMessage().pipe((0,M.Q)(this.#s)).subscribe(m=>{this.#r[m.id]?.next(m.data)})}sendTabGroupMessage(m,H){const et={id:m,data:H};this.#d?.postMessage(et)}onTabGroupMessage(m){let H=this.#r[m];return H||(H=new Y.B,this.#r[m]=H),H.pipe((0,M.Q)(this.#s))}registerTabInitDataProvider(m,H,et){this.#i.set(m,{providerName:m,provider:H,options:et}),this.setTabInitData(H,m)}setTabInitData(m,H){this.#u?.[H]&&(m.setTabInitData(this.#u[H]),delete this.#u[H])}setupOwnTabInitialization(){var m=this;return(0,u.A)(function*(){if(m.#f)m.#o.next(!0);else if(m.isChildTab())m.processTabInitResponse(m.#l),m.#a.create("WINDOW",hn.CHILD_TAB_INIT,m.#t.opener).postMessage(new fr(!0));else{const H=yield m.findInitChannel();if(H){const et=m.#a.create("BROADCAST_CHANNEL",H);m.processTabInitResponse(et),et.postMessage(new fr(!1))}else m.#o.next(!0)}})()}findInitChannel(){var m=this;return(0,u.A)(function*(){return m.sendTabGroupMessage("FindInitChannelRequest",void 0),(0,fe._)(m.onTabGroupMessage("FindInitChannelResponse").pipe((0,zt.T)(H=>H.initChannelId),(0,Qt.w)(m.#n.findInitChannelResponseTimeout),(0,Kt.W)(()=>(m.#e.debug(`FindInitChannelResponse not received within ${m.#n.findInitChannelResponseTimeout}ms`),(0,Se.of)(null)))))})()}processTabInitResponse(m){m.onMessage().pipe((0,D.ah)(H=>kr(H,"TabInitResponse")),(0,Qt.w)(this.#n.tabInitResponseTimeout),(0,Kt.W)(()=>(this.#e.warn(`TabInitResponse not received within ${this.#n.tabInitResponseTimeout}ms`),(0,Se.of)(null))),(0,Ot.s)(1)).subscribe(H=>{H&&(this.#u=H.initData,this.#i.forEach(et=>this.setTabInitData(et.provider,et.providerName))),this.#o.next(!0)})}isChildTab(){try{return this.#t.opener?.location?.origin===this.#t.location.origin}catch{return!1}}isInitialized(){return this.#o.asObservable()}setupForeignTabInitialization(){this.onTabGroupMessage("FindInitChannelRequest").subscribe(()=>this.sendTabGroupMessage("FindInitChannelResponse",new dr(hn.UNRELATED_TAB_INIT))),function pe(c){return new d(c)}([this.#c,this.#l]).onMessage({withDetails:!0}).pipe((0,M.Q)(this.#s)).subscribe(m=>{kr(m.data,"TabInitRequest")&&(m.details.sourceCarrier?m.details.sourceCarrier.postMessage(new sr(this.getTabInitData(m.data.isChildTab))):this.#e.warn("could not dispatch response to init request. source is null"))})}getTabInitData(m){const H={};return this.#i.forEach(et=>{if(!et.options?.childrenOnly||m){const vn=et.provider.provideTabInitData();vn&&(H[et.providerName]=vn)}}),H}static{this.\u0275fac=function(H){return new(H||Eu)}}static{this.\u0275prov=h.jDH({token:Eu,factory:Eu.\u0275fac})}};Tr=nn=(0,De.Cg)([(0,O.QJ)({token:Pt,priority:br.TAB_COM_SERVICE})],Tr);let Lr=(()=>{class c extends Be{#e=(0,h.WQX)(Ke,{optional:!0})??[];#t=(0,h.WQX)(Me.JV);getOkpHttpInterceptorFn(){return on(this.#e)}getRetryInterceptorFn(m){return(H,et)=>m.pathsToIgnore&&H.url.match(m.pathsToIgnore)?et(H):et(H).pipe((0,D.ZB)(m))}getOkpHttpBackend(){return this.#t}static{this.\u0275fac=(()=>{let m;return function(et){return(m||(m=g.xGo(c)))(et||c)}})()}static{this.\u0275prov=h.jDH({token:c,factory:c.\u0275fac})}}return c})(),Hr=(()=>{class c extends lr{#e=(0,h.WQX)(Ye.Qc);openTab(m){return!!this.#e.open(m,"_blank")}openWindow(m){return!!this.#e.open(m,"_blank","x=y")}static{this.\u0275fac=(()=>{let m;return function(et){return(m||(m=g.xGo(c)))(et||c)}})()}static{this.\u0275prov=h.jDH({token:c,factory:c.\u0275fac})}}return c})();var Vr;let Hi=(()=>{class c extends Ze{#e=(0,h.WQX)(Ye.Qc);#t=(0,I.WG)(Vr);create(m,H,et){return"BROADCAST_CHANNEL"===m?new ni(H,new BroadcastChannel(H)):new Kr(H,et??this.#e,this.#t)}static{this.\u0275fac=(()=>{let m;return function(et){return(m||(m=g.xGo(c)))(et||c)}})()}static{this.\u0275prov=h.jDH({token:c,factory:c.\u0275fac})}}return c})();Vr=Hi;class ni{constructor(T,m){this._identifier=T,this._delegate=m}postMessage(T){this._delegate.postMessage(T)}onMessage(T){return(0,ue.R)(this._delegate,"message").pipe((0,zt.T)(m=>m),(0,zt.T)(m=>T?.withDetails?this.asWrapper(m):m.data))}asWrapper(T){return{data:T.data,details:{identifier:this._identifier,sourceCarrier:this}}}}const zr=c=>(0,X.i5)(c,"data")&&(0,X.i5)(c.data,"type");class Kr{constructor(T,m,H){this._identifier=T,this._delegate=m,this._logger=H}postMessage(T){this._delegate.postMessage({type:this._identifier,data:T})}onMessage(T){return(0,ue.R)(this._delegate,"message").pipe((0,D.ah)(zr),(0,rt.p)(m=>m.data.type===this._identifier),(0,rt.p)(m=>this.checkOrigin(m)),(0,zt.T)(m=>m),(0,zt.T)(m=>T?.withDetails?this.asWrapper(m):m.data.data))}checkOrigin(T){return T.origin===this._delegate.location.origin||(this._logger.warn(`event ${this._identifier} from wrong origin received: ${T.origin}`),!1)}asWrapper(T){return{data:T.data.data,details:{identifier:this._identifier,sourceCarrier:T.source?T.source===this._delegate?this:new Kr(this._identifier,T.source,this._logger):null}}}}let Vi=(()=>{class c{#e=(0,h.WQX)(Me.Xl,{optional:!0})??(0,h.WQX)(Me.tl);#t=on((0,h.WQX)(ft,{optional:!0})??[]);handle(m){return this.#t(m,H=>this.getDefaultHttpBackend().handle(H))}getDefaultHttpBackend(){return this.#e}static{this.\u0275fac=function(H){return new(H||c)}}static{this.\u0275prov=h.jDH({token:c,factory:c.\u0275fac})}}return c})(),Ni=(()=>{let c=class bu{#e=(0,h.WQX)(ke.Vw);#t=(0,h.WQX)(ce);#n=(0,h.WQX)(xe);#r=(0,h.WQX)(vr);#i=new Y.B;#o=[];#s=null;getBaseHref(){return this.#t.getAppBasePath()??""}addPopStateListener(m){this.#o.push(m)}onWebCompInit(){var m=this;return(0,u.A)(function*(){if(m.#o.length&&m.handleEvent(m.#s)){const H=wr(m.#r,Ie.ROUTER);yield(0,fe._)(H.events.pipe((0,rt.p)(bt)))}m.#s=null})()}onPopstateProcessed(m){this.#i.next(m)}handleEvent(m){return!(!m||!this.#t.isOwnRoute(m.path)||(this.setRestoredStateToHistory(m.event),this.#o.forEach(H=>H(m.event)),0))}handlePopState(m){const H=this.#e.pathname;this.#i.pipe((0,Ot.s)(1),(0,rt.p)(et=>!et.navigationCanceled)).subscribe(()=>{!this.#t.isOwnRoute(H)||this.#n.isEnabled()&&!this.#n.isActive()?m instanceof PopStateEvent&&(this.#s={event:m,path:H}):(this.setRestoredStateToHistory(m),this.#o.forEach(et=>et(m)))})}setRestoredStateToHistory(m){const H=this.#e.getState();this.#e.replaceState({...m.state,...H},"",this.#e.href)}static{this.\u0275fac=function(H){return new(H||bu)}}static{this.\u0275prov=h.jDH({token:bu,factory:bu.\u0275fac})}};
1return c=(0,De.Cg)([(0,O.QJ)({priority:li.LOCATION_STRATEGY_UTIL})],c),c})();const Co=new h.nKC("appTokenMap");function Li(c){const T=(0,h.WQX)(We),m=[{provide:Co,useValue:(0,D.d$)(c),multi:!0}];return m.push(...c.map(H=>{const{useFactory:et,...vn}=H,Vn=T.find(et)?.provider;return Vn?{provide:H.provide,...(0,D.AW)(Vn)}:{provide:H.provide,...(0,D.AW)(vn.default)}})),m}let nr=(()=>{class c extends Vi{#e=wr(Ie.FETCH_BACKEND,{optional:!0})??wr(Ie.HTTP_XHR_BACKEND);getDefaultHttpBackend(){return this.#e}static{this.\u0275fac=(()=>{let m;return function(et){return(m||(m=g.xGo(c)))(et||c)}})()}static{this.\u0275prov=h.jDH({token:c,factory:c.\u0275fac})}}return c})();function Gn(c,T,m){return{provide:c,useFactory:T,default:{useClass:m}}}const ur=[Gn(I.Ji,c=>c.getApiEndpointService(),class To{#e=(0,h.WQX)(I.Ji,{skipSelf:!0});#t=wr(Ie.SERVICE_NAME,{optional:!0});getServiceUrl(T,m){let H,et;if(void 0===m){if("string"!=typeof this.#t)throw new Error("getServiceUrl(servicePath) only available if okp-api is initialized with its service_name or the SERVICE_NAME injection token is defined.");H=this.#t,et=T}else H=T,et=m;return this.#e.getServiceUrl(H,et)}getPortalBasePath(){return this.#e.getPortalBasePath()}}),Gn(I.IC,c=>c.getAssetService(),class Ho{#e=(0,h.WQX)(I.IC,{skipSelf:!0});#t=wr(Ie.SERVICE_NAME,{optional:!0});getAssetPath(T,m){let H,et;if(void 0===m){if("string"!=typeof this.#t)throw new Error("getAssetPath(servicePath) only available if okp-api is initialized with its service_name or the SERVICE_NAME injection token is defined.");H=this.#t,et=T}else H=T,et=m;return this.#e.getAssetPath(H,et)}}),Gn(E.QE,c=>c.getClientLoggingService(),class Po{#e=(0,h.WQX)(vr);#t=(0,h.WQX)(N);#n=wr(Ie.SERVICE_NAME,{optional:!0});getLogger(T){return this.#t.getLogger(T,this.getOrigin())}getOrigin(){return this.#n?`sn: ${this.#n}`:this.#e.contentId?`cid: ${this.#e.contentId}`:"cid: unknown"}}),Gn(Be,c=>c.getOkpHttpUtilsProvider(),Lr),Gn(Me.JV,c=>c.getHttpBackend(),nr),Gn(Oe,c=>
1c.getNavigationService(),co)],Mr=[Gn(Ee.aZ,c=>c.getLocation(),Ti),Gn(i.fw,c=>c.getHashLocationStrategy(),Ao),Gn(Ee.Sm,c=>c.getPathLocationStrategy(),_o),Gn(de,c=>c.getLocationInfoProvider(),ao),Gn(ce,c=>c.getAppBasePathProvider(),Ri),Gn(q,c=>c.getNavigationCounterService(),ui),Gn(U,c=>c.getRoutingInfoService(),qi),Gn(it,c=>c.getWebCompRouterInitializer(),Bo)],Jr=[Gn(xe,c=>c.getWebCompLifecycleService(),$r)],di=c=>c?[...c?.routeConfig?.canDeactivate??[],...di(c.firstChild)]:[];let bi=(()=>{let c=class Du{#e=(0,h.WQX)(vr);#t=wr(Ie.ACTIVATED_ROUTE,{optional:!0});canDeactivateWebComp(){if(!this.#t)return!0;const m=di(this.#t).filter(H=>(c=>(0,X.g8)(c,"okpCanDeactivateFn"))(H)).map(H=>H.okpCanDeactivateFn);return(0,$.H)(m).pipe((0,lt.H)(H=>{const et=this.#e.runInInjectionContext?.(()=>H())??!0;return(0,xt.A)(et)?et.pipe((0,Ot.s)(1)):(0,X.yL)(et)?(0,$.H)(et):(0,Se.of)(et)}),(0,cn.T)((H,et)=>H&&et,!0))}static{this.\u0275fac=function(H){return new(H||Du)}}static{this.\u0275prov=h.jDH({token:Du,factory:Du.\u0275fac})}};return c=(0,De.Cg)([(0,O.QJ)()],c),c})();const to=()=>(0,h.WQX)(ar)?(0,h.WQX)(i.fw):(0,h.WQX)(Ee.Sm);function Ro(){const c=wr(Ie.APP_PROVIDER,{optional:!0});if(!c||!c.length)return(0,I.WG)("routing-provider").warn("Configured LocationStrategy couldn't be recognized because the application wasn't initialized with the okpApplication function."),!1;const T=wr(Ie.HASH_LOCATION_STRATEGY_TYPE);return(0,D.eZ)(c,(c=>T=>(0,D.MM)(T)&&T.useClass===c)(T))}const Gr=c=>fo(c,"webCompIntegration")?[...Li(Jr),Ki(c)]:[],Ki=c=>fo(c,"routing")?[...Li(Mr),{provide:Ee.hb,useFactory:to},{provide:ar,useFactory:Ro},{provide:Ni},{provide:bi},{provide:rn,useValue:()=>(0,h.WQX)(it).init(),multi:!0}]:[];let no=(()=>{class c{#e=(0,h.WQX)(Zn);#t=(0,h.WQX)(h.zZn);#n={};#r=new Y.B;#i={};#o=[];register(m){this.#e&&this.#t.get(Dr).forEach(et=>et.validateAppConfig(m));const H=this.getAppID(m);m.extAppInjector=(0,h.N4e)(this.#t,()=>((c,T)=>h.zZn.create({name:T,parent:(0,h.WQX)(h.zZn),providers:[...Li(ur),{provide:vr,useValue:c},...Gr(c)]}))(m,H)),this.#n[H]=m,this.#r.next(m)}connect(m){[this.#t,this.getAppRef(m).extAppInjector].forEach(H=>H.get(rn,[]).forEach(et=>(0,h.N4e)(H,()=>et(m))))}addAdditionalContentInfo(m,H){this.#n[m]&&(this.#n[m].contentId=H.contentId,this.#n[m].tagName=H.tagName),this.#i[H.contentId]=m}getAppRefs(){return Object.values(this.#n)}getAddedIntegratedContents(){return this.#r}setActive(m,H){if(H)this.#o.push(this.#n[m]);else{const et=this.#o.findIndex(vn=>this.getAppID(vn)===m);et>=0&&this.#o.splice(et,1)}}getMainAppRef(){var m=this;return(0,u.A)(function*(){const H=yield m.#t.get(Sr).getMainContent();if(H?.id){const et=m.#i[H.id];return m.#n[et]}})()}getAppRef(m){if(!this.#n[m])throw new Error(`Application with id ${m} is not registered`);return this.#n[m]}getAppID(m){return wr(m,Ie.APP_ID)}static{this.\u0275fac=function(H){return new(H||c)}}static{this.\u0275prov=h.jDH({token:c,factory:c.\u0275fac})}}return c})();function wr(c,T,m){if((0,D.Gg)(c)){(0,h.Af3)(wr);const vn=cr(c),Vn=T;return vn?(0,h.WQX)(vr).injector.get(vn,null,Vn):fi(c,Vn)}const H=cr(c,T),et=m;return H?c.injector.get(H,null,et):fi(T,et)}function cr(c,T){return(0,D.Gg)(c)?((0,h.Af3)(cr),(0,h.WQX)(vr).sharedToken(c)):c.sharedToken(T)}function fo(c,T){return"string"==typeof c?((0,h.Af3)(fo),wr(Ie.ACTIVE_FEATURES).includes(c)):wr(c,Ie.ACTIVE_FEATURES).includes(T)}function fi(c,T){if(!T?.optional)throw new Error(`shared token with id: ${c.name} not found.`)}let ro=(()=>{class c{#e=(c=>T=>T.substring(T.indexOf(c)+c.length+1))((0,h.WQX)(J).serviceProxyPath);#t=(0,h.WQX)(N);getLogger(m){const H=wr(m,Ie.SCRIPT_PATH,{optional:!0})?.then(this.#e)??"";return this.#t.getLogger(c.name,H)}static{this.\u0275fac=function(H){return new(H||c)}}static{this.\u0275prov=h.jDH({token:c,factory:c.\u0275fac})}}return c})();const Mo=(c,T)=>(0,D.YN)(c)&&c.provide===T;let xo=(()=>{class c extends ro{validateAppConfig(m){this.checkIfOkpHttpInterceptorsAreUsed(m),this.checkIfProvidersAreInCorrectOrder(m)}checkIfOkpHttpInterceptorsAreUsed(m){const H=wr(m,Ie.APP_PROVIDER),et=wr(m,Ie.INTERCEPTOR_FN);(0,X.Rn)((0,D.PS)(H,Vn=>((c,T)=>(0,D.Lq)(c)&&c.useValue===T)(Vn,et)))||this.getLogger(m).warn("Your application is configured to use the http client, it is recommended to use the okpHttpInterceptorFn alongside.")}checkIfProvidersAreInCorrectOrder(m){const H=wr(m,Ie.APP_PROVIDER),et=cr(m,Ie.API_USED),vn=cr(m,Ie.HTTP_CLIENT),Vn=(0,X._j)((0,D.PS)(H,ei=>Mo(ei,et)||((c,T)=>c===T||(0,D.YN)(c)&&c.provide===T)(ei,vn)));2===Vn.length&&Mo(Vn[0],et)&&this.getLogger(m).warn("Invalid web component startup configuration: 'provideHttpClient' is used after 'provideOkpApi'")}static{this.\u0275fac=(()=>{let m;return function(et){return(m||(m=g.xGo(c)))(et||c)}})()}static{this.\u0275prov=h.jDH({token:c,factory:c.\u0275fac})}}return c})();const io=(c,T)=>((0,D.YN)(c)&&c.provide)===T;let cs=(()=>{class c extends ro{validateAppConfig(m){const H=wr(m,Ie.APP_PROVIDER),et=cr(m,Ie.APP_ROUTES),vn=(0,X._j)((0,D.PS)(H,Vn=>(c=>(0,D.Lq)(c)&&"routing"===c.useValue)(Vn)||io(Vn,et)));vn.length&&(1===vn.length?io(vn[0],et)?this.getLogger(m).info("You're using your router configuration without the okp router addon. To ensure consistent behavior, using the addon is recommended."):this.getLogger(m).error("You're using the useRouting configuration within your 'provideOkpApi' without configured angular routing with 'provideRouter'."):io(vn[1],et)&&this.getLogger(m).error("Invalid web component startup configuration: 'provideRouter is used after 'provideOkpApi'"))}static{this.\u0275fac=(()=>{let m;return function(et){return(m||(m=g.xGo(c)))(et||c)}})()}static{this.\u0275prov=h.jDH({token:c,factory:c.\u0275fac})}}return c})(),hs=(()=>{class c extends ro{validateAppConfig(m){const H=wr(m,Ie.ZONELESS,{optional:!0}),et=wr(m,Ie.ACTIVE_FEATURES).includes("zone");H&&et&&this.getLogger(m).error("Invalid web component startup configuration: 'provideZonelessChangeDetection() should not be used with the okpApi feature 'withNgZone'")}static{this.\u0275fac=(()=>{let m;return function(et){return(m||(m=g.xGo(c)))(et||c)}})()}static{this.\u0275prov=h.jDH({token:c,factory:c.\u0275fac})}}return c})();class Io extends I.NP{}let No=(()=>{class c{#e=(0,h.WQX)(J).headerTag;#t=(0,h.WQX)(h.qQL);#n=this.getHeaderElement().pipe((0,ht.n)(this.observeHeaderSizeChanges),(0,ut.Z)(0),(0,St.F)(),(0,yt.t)(1));getHeaderElement(){return new ct.c(m=>{const H=this.#t.querySelector(this.#e);if(H)return m.next(H),void m.complete();const et=new MutationObserver(()=>{const vn=this.#t.querySelector(this.#e);vn&&(et.disconnect(),m.next(vn),m.complete())});et.observe(this.#t.body,{childList:!0,subtree:!0})})}observeHeaderSizeChanges(m){return new ct.c(H=>
1{new ResizeObserver(et=>{et.length&&H.next(et[0].borderBoxSize[0].blockSize)}).observe(m)})}getHeaderHeight(){return this.#n}static{this.\u0275fac=function(H){return new(H||c)}}static{this.\u0275prov=h.jDH({token:c,factory:c.\u0275fac})}}return c})();const os=c=>c.map(T=>(c=>(0,X.i5)(c,"priority"))(T)?T:{type:T,priority:Number.MAX_VALUE}),Ko=new h.nKC("IntegratedTypes",{factory:()=>(0,D.Xu)()});let _=(()=>{class c{#e=(0,h.WQX)(h.zZn);#t=(0,h.WQX)(h.SKi);#n=(0,h.WQX)(Ai);#r=(0,h.WQX)(Ko);callLifecycleHooksSync(m){const et=this.getHookContext(m).map(vn=>(0,D.Rh)(vn)).flat();if(this.checkHookInstances(et),m.resultHandling){let vn;return(0,D.BV)(et,Vn=>m.callFn(Vn),m.resultHandling).pipe((0,Ot.s)(1)).subscribe(Vn=>vn=Vn),vn}(0,D.BV)(et,vn=>m.callFn(vn)).pipe((0,Ot.s)(1)).subscribe()}callLifecycleHooks(m){var H=this;return(0,u.A)(function*(){yield Promise.resolve();const vn=H.getHookContext(m).map(Vn=>(0,D.Rh)(Vn)).flat();return H.checkHookInstances(vn),(0,fe._)(m.resultHandling?(0,D.BV)(vn,Vn=>m.callFn(Vn),m.resultHandling):(0,D.BV)(vn,Vn=>m.callFn(Vn)))})()}getHookContext(m){const H=m.appRefs??this.#n.getAppRefs(),et=[];return m.scope.onPortal&&et.push(this.getPortalContext(m.hookName)),m.scope.onExtApp&&et.push(...this.getExtAppContext(m.hookName,H)),m.scope.onApp&&et.push(...this.getAppContext(m.hookName,H)),et}getPortalContext(m){return{hookName:m,integratedTypes:(0,D.GS)(this.#r),injector:this.#e,ngZone:this.#t}}getExtAppContext(m,H){return H.map(et=>({hookName:m,integratedTypes:(0,D.GS)(this.#r),injector:et.extAppInjector,ngZone:this.#t,injectOptions:{self:!0}}))}getAppContext(m,H){return H.map(et=>({hookName:m,integratedTypes:(0,D.GS)(os(wr(et,Ie.INTEGRATED_TYPES))),injector:et.injector,ngZone:wr(et,Ie.ZONE)}))}checkHookInstances(m){(0,Q.naY)()&&m.forEach(H=>{const et=Object.getPrototypeOf(H.constructor).name;if(m.find(Vn=>Object.getPrototypeOf(Vn).constructor.name===et))throw new Error(`wrong hook instance configuration. The base-class of: '${et}' already registered for lifecycle invocation. Please use the token param of the @OkpIntegrated decorator for both types to avoid collisions`)})}static{this.\u0275fac=function(H){return new(H||c)}}static{this.\u0275prov=h.jDH({token:c,factory:c.\u0275fac})}}return c})();function C(c,T,m){return{provide:c,useFactory:T,default:{useClass:m}}}const b=[...I.Gm,C(Ai,c=>c.getAppConnector(),no),C(E.r7,c=>c.getScriptRegistry(),Gi),C(hi,c=>c.getScriptRegistry(),Gi),C(E.bU,c=>c.getScriptProvider(),class eo{#e=(0,h.WQX)(hi);#t=(0,h.WQX)(Ei);#n=(0,h.WQX)(bo);getScript(T){var m=this;return(0,u.A)(function*(){const H=m.#e.get(T);if(H)return H;const et=yield m.#t.getScript(T).catch(Vn=>{throw new E.gX(`Failed to lookup script-id: '${T}'`,Vn)});if(!et)throw new E.zv(`script with id: '${T}' not found`);const vn=m.#n(et);return m.#e.set(T,vn),vn})()}loadScript(T){return this.getScript(T)}}),C(E.Wj,c=>c.getEventBusService(),xr),C(E.V8,c=>c.getDataStorageService(),he),C(E.Rx,c=>c.getPortalFeaturesService(),Do),C(Pt,c=>c.getTabCommunicationService(),Tr),C(N,c=>c.getPortalLoggingService(),yi),C(E.QE,c=>c.getClientLoggingService(),yi),C(U,c=>c.getRoutingInfoService(),dn),C(Oe,c=>c.getNavigationService(),xi),C(q,c=>c.getNavigationCounterService(),Uo),C(Wr,c=>c.getGlobalNavigationCounterService(),Wr),C(Be,c=>c.getOkpHttpUtilsProvider(),Lr),C(Me.JV,c=>c.getHttpBackend(),Vi),C(E.cg,c=>c.getPortalInfoService(),mi),C(lo,c=>c.getPortalLifecycleService(),Oo),C(lr,c=>c.getClientService(),Hr),C(Ze,c=>c.getMessageCarrierProvider(),Hi),C(Or,c=>c.getReloadDataService(),be),C(I.Ji,c=>c.getApiEndpointService(),un),C(I.IC,c=>c.getAssetService(),Fn),C(de,c=>c.getLocationInfoProvider(),ao),C(Qr,c=>c.getLifecycleHookService(),_),C(ai,c=>c.getHeaderSizeProvider(),No)];function Z(c,T,...m){return(0,D.rr)({name:I.FZ,type:Io,asStandalone:c.asStandalone,apiInterceptor:Je,providers:[{provide:J,useValue:c},mn(c),or(T),[{provide:Dr,useClass:xo,multi:!0},{provide:Dr,useClass:cs,multi:!0},{provide:Dr,useClass:hs,multi:!0}],[(0,at.S4)((0,at.SI)(),(0,at.ZY)(),(0,at.bM)({prefix:"okp-storage"})),at.m2]],serviceProviders:b,optFeatures:m})}const Je=(c,T)=>{if(1===T.length&&"string"==typeof T[0]){const m=T[0],H=(0,h.WQX)(Ai).getAppRef(m),et=H.extAppInjector.get(Co).find(vn=>vn[c])?.[c];if(!et)throw new Error(`could not find app provider for API path: ${c}`);return H.extAppInjector.get(et.provide)}};function At(c){return(0,D.PG)("overriddenPortalService",c)}function mn(c){return[{provide:Pn,useFactory:()=>new Pn({basePath:c.featuresBasePath})}]}const Sn=(c,T)=>(0,h.WQX)(Be).getOkpHttpInterceptorFn()(c,T);function or(c){return[{provide:ce,...(0,D.AW)(c.appBasePathProvider)},{provide:E.Pi,...(0,D.AW)(c.localizationService)},{provide:E.Z7,...(0,D.AW)(c.contentLookupService)},{provide:Ei,...(0,D.AW)(c.scriptDefinitionLoader)},{provide:Cr,...(0,D.AW)(c.contentLookupService)},{provide:I.C4,...(0,D.AW)(c.contentFactory)},{provide:Sr,...(0,D.AW)(c.contentInfoService)},{provide:Qi,...(0,D.AW)(c.errorHandler)}]}function A(c){return{kind:"okpHttpInterceptors",providers:wn(c)}}},4355(Yt,ve,a){a.d(ve,{FZ:()=>X,VT:()=>Q,Ve:()=>D,q0:()=>g});var h=a(6563);class g{}class Q{}class D{}const X=`@okp/context-common-api_v${new h.RxE("1.0.0").major}`},7130(Yt,ve,a){a.d(ve,{ik:()=>Qt,mq:()=>Kt});var u=a(3954),h=a(6563),g=a(443);const I="context.okp.rz.bankenit.de/identityContext/v3";var O=function(ut){return ut.SECURE_GO="SecureGo",ut.PIN="PIN",ut.VRNK="VRNK",ut.MANUAL="Manual",ut.NONE="None",ut}(O||{});class B{}class K{}const ne=`@okp/context-actor-identity-api_v${new h.RxE("1.0.0").major}`;var Ve=a(698),Fe=a(271),tt=a(1995),nt=a(1318),Rt=a(9999),Oe=a(8091),xe=a(4672),it=a(9207),q=a(6129),F=a(8493),N=a(1817);const oe=new h.nKC("basePath");class He{constructor({accessToken:St,apiKeys:yt,basePath:Me,credentials:De,encodeParam
1:Ee,encoder:i,password:ke,username:ot,withCredentials:Xe}={}){yt&&(this.apiKeys=yt),void 0!==ot&&(this.username=ot),void 0!==ke&&(this.password=ke),void 0!==St&&(this.accessToken=St),void 0!==Me&&(this.basePath=Me),void 0!==Xe&&(this.withCredentials=Xe),i&&(this.encoder=i),this.encodeParam=Ee??(fe=>this.defaultEncodeParam(fe)),this.credentials=De??{}}selectHeaderContentType(St){if(0===St.length)return;const yt=St.find(Me=>this.isJsonMime(Me));return void 0===yt?St[0]:yt}selectHeaderAccept(St){if(0===St.length)return;const yt=St.find(Me=>this.isJsonMime(Me));return void 0===yt?St[0]:yt}isJsonMime(St){const yt=new RegExp("^(application/json|[^;/ \t]+/[^;/ \t]+[+]json)[ \t]*(;.*)?$","i");return null!==St&&(yt.test(St)||"application/json-patch+json"===St.toLowerCase())}lookupCredential(St){const yt=this.credentials[St];return"function"==typeof yt?yt():yt}addCredentialToHeaders(St,yt,Me,De){const Ee=this.lookupCredential(St);return Ee?Me.set(yt,(De??"")+Ee):Me}addCredentialToQuery(St,yt,Me){const De=this.lookupCredential(St);return De?Me.set(yt,De):Me}defaultEncodeParam(St){const yt="date-time"===St.dataFormat&&St.value instanceof Date?St.value.toISOString():St.value;return encodeURIComponent(String(yt))}}class Be{encodeKey(St){return encodeURIComponent(St)}encodeValue(St){return encodeURIComponent(St)}decodeKey(St){return decodeURIComponent(St)}decodeValue(St){return decodeURIComponent(St)}}class $e{constructor(St,yt){if(this.basePath="http://localhost",this.defaultHeaders=new Ve.Lr,this.configuration=yt||new He,"string"!=typeof this.configuration.basePath){const Me=Array.isArray(St)?St[0]:void 0;null!=Me&&(St=Me),"string"!=typeof St&&(St=this.basePath),this.configuration.basePath=St}this.encoder=this.configuration.encoder||new Be}canConsumeForm(St){return-1!==St.indexOf("multipart/form-data")}addToHttpParams(St,yt,Me,De=!1){return"object"!=typeof yt||yt instanceof Date?this.addToHttpParamsRecursive(St,yt,Me):this.addToHttpParamsRecursive(St,yt,De?Me:void 0,De)}addToHttpParamsRecursive(St,yt,Me,De=!1){if(null==yt)return St;if("object"==typeof yt){if(null!=Me)return De?Object.keys(yt).reduce((Ee,i)=>Ee.append(`${Me}[${i}]`,yt[i]),St):St.append(Me,JSON.stringify(yt));if(Array.isArray(yt))yt.forEach(Ee=>St=this.addToHttpParamsRecursive(St,Ee,Me));else if(yt instanceof Date){if(null==Me)throw Error("key may not be null if value is Date");St=St.append(Me,yt.toISOString())}else Object.keys(yt).forEach(Ee=>{St=this.addToHttpParamsRecursive(St,yt[Ee],Me?`${Me}.${Ee}`:Ee)});return St}if(null!=Me)return St.append(Me,yt);throw Error("key may not be null if value is not object or array")}}let Te=(()=>{class ut extends $e{constructor(yt,Me,De){super(Me,De),this.httpClient=yt}addActorIdentitiesToActorIdentityContextUnauthorized(yt,Me="body",De=!1,Ee){let i=this.defaultHeaders;const ke=Ee?.httpHeaderAccept??this.configuration.selectHeaderAccept(["application/json"]);void 0!==ke&&(i=i.set("Accept",ke));const ot=Ee?.context??new Ve._y,Xe=Ee?.transferCache??!0,Y=this.configuration.selectHeaderContentType(["application/json"]);void 0!==Y&&(i=i.set("Content-Type",Y));let Se="json";ke&&(Se=ke.startsWith("text")?"text":this.configuration.isJsonMime(ke)?"json":"blob");const{basePath:ct,withCredentials:_e}=this.configuration;return this.httpClient.request("post",`${ct}/actorIdentity/unauthorized/v3`,{context:ot,body:yt,responseType:Se,..._e?{withCredentials:_e}:{},headers:i,observe:Me,transferCache:Xe,reportProgress:De})}deleteActorFromContext(yt,Me="body",De=!1,Ee){if(null==yt)throw new Error("Required parameter vkid was null or undefined when calling deleteActorFromContext.");let i=this.defaultHeaders;const ke=Ee?.httpHeaderAccept??this.configuration.selectHeaderAccept([]);void 0!==ke&&(i=i.set("Accept",ke));const ot=Ee?.context??new Ve._y,Xe=Ee?.transferCache??!0;let fe="json";ke&&(fe=ke.startsWith("text")?"text":this.configuration.isJsonMime(ke)?"json":"blob");let Y=`/actorIdentity/v3/${this.configuration.encodeParam({name:"vkid",value:yt,in:"path",style:"simple",explode:!1,dataType:"string",dataFormat:void 0})}`;const{basePath:Se,withCredentials:Ce}=this.configuration;return this.httpClient.request("delete",`${Se}${Y}`,{context:ot,responseType:fe,...Ce?{withCredentials:Ce}:{},headers:i,observe:Me,transferCache:Xe,reportProgress:De})}getActorIdentity(yt="body",Me=!1,De){let Ee=this.defaultHeaders;const i=De?.httpHeaderAccept??this.configuration.selectHeaderAccept(["application/json"]);
1void 0!==i&&(Ee=Ee.set("Accept",i));const ke=De?.context??new Ve._y,ot=De?.transferCache??!0;let Xe="json";i&&(Xe=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob");const{basePath:Y,withCredentials:Se}=this.configuration;return this.httpClient.request("get",`${Y}/actorIdentity/v3`,{context:ke,responseType:Xe,...Se?{withCredentials:Se}:{},headers:Ee,observe:yt,transferCache:ot,reportProgress:Me})}static{this.\u0275fac=function(Me){return new(Me||ut)(h.KVO(Ve.Qq),h.KVO(oe,8),h.KVO(He,8))}}static{this.\u0275prov=h.jDH({token:ut,factory:ut.\u0275fac,providedIn:"root"})}}return ut})();var Ot;const Lt=ut=>({identifications:ut.identifications.map(St=>({...St,identificationType:{...St.identificationType,type:(0,F.Am)(O,St.identificationType.type,O.NONE)}}))});let zt=(()=>{class ut extends xe.Fj{#e=(0,g.WG)(Ot);#t=(0,h.WQX)(Te);#n=(0,h.WQX)(Oe.Ni);constructor(){super(I)}observeContextChanges(){return this._contextService.getContextObject(I,{initialDelete:!0})}loadDetailObject(){return this.#t.getActorIdentity().pipe((0,Fe.T)(Lt),(0,tt.L)({delay:this._config.loadContextDelayInMs,count:this._config.loadContextRetries}),(0,nt.W)(yt=>{const Me=`Could not load actor identity detail object: ${yt.message}`;return this.#e.error(Me,yt),(0,it.aO)(yt,Me)}))}getContextNotifications(yt){return(0,Rt.z)([this.#n.getContextNotifications().pipe((0,Fe.T)(Me=>(0,q.NL)(Me)?Me.value?.vkidActorIdentity:null),(0,N.F)((Me,De)=>(0,F.HN)(Me??[],De??[]))),super.getContextNotifications(yt)]).pipe((0,Fe.T)(([Me,De])=>(0,q.NL)(De)?(0,q.ro)(De.value&&Me?{...De.value,identifications:De.value.identifications.filter(Ee=>Me.some(i=>i===Ee.vkid))}:null):De))}static{this.\u0275fac=function(Me){return new(Me||ut)}}static{this.\u0275prov=h.jDH({token:ut,factory:ut.\u0275fac})}}return ut})();Ot=zt;const Qt=ut=>({kind:"aic_serviceName",apiServiceName:ut});function Kt(...ut){return(0,u.Wn)({type:K,kind:"actorIdentityContext",name:ne,serviceProviders:[{provide:B,useFactory:St=>St.getProvider(),default:{useClass:zt}}],providers:[{provide:He,useFactory:()=>new He({basePath:(0,h.WQX)(g.Ji).getServiceUrl((0,it.xJ)(ut)||"context-provider-identity","")})}],optFeatures:ut})}},7870(Yt,ve,a){a.d(ve,{Lq:()=>ie,ik:()=>ce});var D=a(6563),I=a(443),E=a(3954),O=a(8091),X=a(698),B=a(1318),K=a(1995),j=a(4672),Pe=a(9207);const L=new D.nKC("basePath");class Ve{constructor({accessToken:oe,apiKeys:de,basePath:He,credentials:Be,encodeParam
1:$e,encoder:Te,password:le,username:pt,withCredentials:Ie}={}){de&&(this.apiKeys=de),void 0!==pt&&(this.username=pt),void 0!==le&&(this.password=le),void 0!==oe&&(this.accessToken=oe),void 0!==He&&(this.basePath=He),void 0!==Ie&&(this.withCredentials=Ie),Te&&(this.encoder=Te),this.encodeParam=$e??(ze=>this.defaultEncodeParam(ze)),this.credentials=Be??{}}selectHeaderContentType(oe){if(0===oe.length)return;const de=oe.find(He=>this.isJsonMime(He));return void 0===de?oe[0]:de}selectHeaderAccept(oe){if(0===oe.length)return;const de=oe.find(He=>this.isJsonMime(He));return void 0===de?oe[0]:de}isJsonMime(oe){const de=new RegExp("^(application/json|[^;/ \t]+/[^;/ \t]+[+]json)[ \t]*(;.*)?$","i");return null!==oe&&(de.test(oe)||"application/json-patch+json"===oe.toLowerCase())}lookupCredential(oe){const de=this.credentials[oe];return"function"==typeof de?de():de}addCredentialToHeaders(oe,de,He,Be){const $e=this.lookupCredential(oe);return $e?He.set(de,(Be??"")+$e):He}addCredentialToQuery(oe,de,He){const Be=this.lookupCredential(oe);return Be?He.set(de,Be):He}defaultEncodeParam(oe){const de="date-time"===oe.dataFormat&&oe.value instanceof Date?oe.value.toISOString():oe.value;return encodeURIComponent(String(de))}}class Fe{encodeKey(oe){return encodeURIComponent(oe)}encodeValue(oe){return encodeURIComponent(oe)}decodeKey(oe){return decodeURIComponent(oe)}decodeValue(oe){return decodeURIComponent(oe)}}class tt{constructor(oe,de){if(this.basePath="http://localhost",this.defaultHeaders=new X.Lr,this.configuration=de||new Ve,"string"!=typeof this.configuration.basePath){const He=Array.isArray(oe)?oe[0]:void 0;null!=He&&(oe=He),"string"!=typeof oe&&(oe=this.basePath),this.configuration.basePath=oe}this.encoder=this.configuration.encoder||new Fe}canConsumeForm(oe){return-1!==oe.indexOf("multipart/form-data")}addToHttpParams(oe,de,He,Be=!1){return"object"!=typeof de||de instanceof Date?this.addToHttpParamsRecursive(oe,de,He):this.addToHttpParamsRecursive(oe,de,Be?He:void 0,Be)}addToHttpParamsRecursive(oe,de,He,Be=!1){if(null==de)return oe;if("object"==typeof de){if(null!=He)return Be?Object.keys(de).reduce(($e,Te)=>$e.append(`${He}[${Te}]`,de[Te]),oe):oe.append(He,JSON.stringify(de));if(Array.isArray(de))de.forEach($e=>oe=this.addToHttpParamsRecursive(oe,$e,He));else if(de instanceof Date){if(null==He)throw Error("key may not be null if value is Date");oe=oe.append(He,de.toISOString())}else Object.keys(de).forEach($e=>{oe=this.addToHttpParamsRecursive(oe,de[$e],He?`${He}.${$e}`:$e)});return oe}if(null!=He)return oe.append(He,de);throw Error("key may not be null if value is not object or array")}}let nt=(()=>{class we extends tt{constructor(de,He,Be){super(He,Be),this.httpClient=de}deleteCustomerContext(de="body",He=!1,Be){let $e=this.defaultHeaders;const Te=Be?.httpHeaderAccept??this.configuration.selectHeaderAccept([]);void 0!==Te&&($e=$e.set("Accept",Te));const le=Be?.context??new X._y,pt=Be?.transferCache??!0;let Ie="json";Te&&(Ie=Te.startsWith("text")?"text":this.configuration.isJsonMime(Te)?"json":"blob");const{basePath:Qe,withCredentials:_t}=this.configuration;return this.httpClient.request("delete",`${Qe}/customerContext/v1`,{context:le,responseType:Ie,..._t?{withCredentials:_t}:{},headers:$e,observe:de,transferCache:pt,reportProgress:He})}getCustomerContext(de="body",He=!1,Be){let $e=this.defaultHeaders;const Te=Be?.httpHeaderAccept??this.configuration.selectHeaderAccept(["application/json"]);void 0!==Te&&($e=$e.set("Accept",Te));const le=Be?.context??new X._y,pt=Be?.transferCache??!0;let Ie="json";Te&&(Ie=Te.startsWith("text")?"text":this.configuration.isJsonMime(Te)?"json":"blob");const{basePath:Qe,withCredentials:_t}=this.configuration;return this.httpClient.request("get",`${Qe}/customerContext/v1`,{context:le,responseType:Ie,..._t?{withCredentials:_t}:{},headers:$e,observe:de,transferCache:pt,reportProgress:He})}setCustomerContext(de,He="body",Be=!1,$e){let Te=this.defaultHeaders;const le=$e?.httpHeaderAccept??this.configuration.selectHeaderAccept(["application/json"]);void 0!==le&&(Te=Te.set("Accept",le));const pt=$e?.context??new X._y,Ie=$e?.transferCache??!0,Qe=this.configuration.selectHeaderContentType(["application/json"]);void 0!==Qe&&(Te=Te.set("Content-Type",Qe));let _t="json";le&&(_t=le.startsWith("text")?"text":this.configuration.isJsonMime(le)?"json":"blob");const{basePath:Et,withCredentials:kt}=this.configuration;return this.httpClient.request("post",`${Et}/customerContext/v1`,{context:pt,body:de,responseType:_t,...kt?{withCredentials:kt}:{},headers:Te,observe:He,transferCache:Ie,reportProgress:Be})}static{this.\u0275fac=function(He){return new(He||we)(D.KVO(X.Qq),D.KVO(L,8),D.KVO(Ve,8))}}static{this.\u0275prov=D.jDH({token:we,factory:we.\u0275fac,providedIn:"root"})}}return we})();var F;let N=(()=>{class we extends j.Fj{#e;constructor(){super(O.qZ),this.#e=(0,I.WG)(F),this._ccDetailObjectService=(0,D.WQX)(nt)}loadDetailObject(){return this._ccDetailObjectService.getCustomerContext().pipe((0,K.L)({delay:this._config.loadContextDelayInMs,count:this._config.loadContextRetries}),(0,B.W)(de=>{const He=`Could not load customer detail object: ${de.message}`;return this.#e.error(He,de),(0,Pe.aO)(de,He)}))}static{this.\u0275fac=function(He){return new(He||we)}}static{this.\u0275prov=D.jDH({token:we,factory:we.\u0275fac})}}return we})();F=N;const ce=we=>({kind:"cc_serviceName",apiServiceName:we}),ie=(...we)=>(0,E.Wn)({type:O.kH,kind:"customerContext",name:O.FZ,serviceProviders:[{provide:O.Ni,useFactory:oe=>oe.getProvider(),default:{useClass:N}}],providers:[{provide:Ve,useFactory:()=>new Ve({basePath:(0,D.WQX)(I.Ji).getServiceUrl((0,Pe.xJ)(we)||"context-provider-customer","")})}],optFeatures:we})},3701(Yt,ve,a){a.d(ve,{ik:()=>le,bc:()=>pt});var u=a(6563),h=a(443),g=a(3954);class E{}class O{}const j=`@okp/context-mandator-api_v${new u.RxE("1.0.0").major}`;var Pe=a(698),L=a(271),ne=a(1995),Ve=a(1318),Fe=a(4672),tt=a(9207);const it=new u.nKC("basePath");class F{constructor({accessToken:ze,apiKeys:Qe,basePath:_t,credentials:Re,encodeParam
1:Et,encoder:kt,password:ht,username:Ne,withCredentials:Ot}={}){Qe&&(this.apiKeys=Qe),void 0!==Ne&&(this.username=Ne),void 0!==ht&&(this.password=ht),void 0!==ze&&(this.accessToken=ze),void 0!==_t&&(this.basePath=_t),void 0!==Ot&&(this.withCredentials=Ot),kt&&(this.encoder=kt),this.encodeParam=Et??(Lt=>this.defaultEncodeParam(Lt)),this.credentials=Re??{}}selectHeaderContentType(ze){if(0===ze.length)return;const Qe=ze.find(_t=>this.isJsonMime(_t));return void 0===Qe?ze[0]:Qe}selectHeaderAccept(ze){if(0===ze.length)return;const Qe=ze.find(_t=>this.isJsonMime(_t));return void 0===Qe?ze[0]:Qe}isJsonMime(ze){const Qe=new RegExp("^(application/json|[^;/ \t]+/[^;/ \t]+[+]json)[ \t]*(;.*)?$","i");return null!==ze&&(Qe.test(ze)||"application/json-patch+json"===ze.toLowerCase())}lookupCredential(ze){const Qe=this.credentials[ze];return"function"==typeof Qe?Qe():Qe}addCredentialToHeaders(ze,Qe,_t,Re){const Et=this.lookupCredential(ze);return Et?_t.set(Qe,(Re??"")+Et):_t}addCredentialToQuery(ze,Qe,_t){const Re=this.lookupCredential(ze);return Re?_t.set(Qe,Re):_t}defaultEncodeParam(ze){const Qe="date-time"===ze.dataFormat&&ze.value instanceof Date?ze.value.toISOString():ze.value;return encodeURIComponent(String(Qe))}}class N{encodeKey(ze){return encodeURIComponent(ze)}encodeValue(ze){return encodeURIComponent(ze)}decodeKey(ze){return decodeURIComponent(ze)}decodeValue(ze){return decodeURIComponent(ze)}}class U{constructor(ze,Qe){if(this.basePath="http://localhost",this.defaultHeaders=new Pe.Lr,this.configuration=Qe||new F,"string"!=typeof this.configuration.basePath){const _t=Array.isArray(ze)?ze[0]:void 0;null!=_t&&(ze=_t),"string"!=typeof ze&&(ze=this.basePath),this.configuration.basePath=ze}this.encoder=this.configuration.encoder||new N}canConsumeForm(ze){return-1!==ze.indexOf("multipart/form-data")}addToHttpParams(ze,Qe,_t,Re=!1){return"object"!=typeof Qe||Qe instanceof Date?this.addToHttpParamsRecursive(ze,Qe,_t):this.addToHttpParamsRecursive(ze,Qe,Re?_t:void 0,Re)}addToHttpParamsRecursive(ze,Qe,_t,Re=!1){if(null==Qe)return ze;if("object"==typeof Qe){if(null!=_t)return Re?Object.keys(Qe).reduce((Et,kt)=>Et.append(`${_t}[${kt}]`,Qe[kt]),ze):ze.append(_t,JSON.stringify(Qe));if(Array.isArray(Qe))Qe.forEach(Et=>ze=this.addToHttpParamsRecursive(ze,Et,_t));else if(Qe instanceof Date){if(null==_t)throw Error("key may not be null if value is Date");ze=ze.append(_t,Qe.toISOString())}else Object.keys(Qe).forEach(Et=>{ze=this.addToHttpParamsRecursive(ze,Qe[Et],_t?`${_t}.${Et}`:Et)});return ze}if(null!=_t)return ze.append(_t,Qe);throw Error("key may not be null if value is not object or array")}}let ce=(()=>{class Ie extends U{constructor(Qe,_t,Re){super(_t,Re),this.httpClient=Qe}getMandator(Qe="body",_t=!1,Re){let Et=this.defaultHeaders;const kt=Re?.httpHeaderAccept??this.configuration.selectHeaderAccept(["application/json"]);void 0!==kt&&(Et=Et.set("Accept",kt));const ht=Re?.context??new Pe._y,Ne=Re?.transferCache??!0;let Ot="json";kt&&(Ot=kt.startsWith("text")?"text":this.configuration.isJsonMime(kt)?"json":"blob");const{basePath:zt,withCredentials:rt}=this.configuration;return this.httpClient.request("get",`${zt}/mandatorContext/v1`,{context:ht,responseType:Ot,...rt?{withCredentials:rt}:{},headers:Et,observe:Qe,transferCache:Ne,reportProgress:_t})}static{this.\u0275fac=function(_t){return new(_t||Ie)(u.KVO(Pe.Qq),u.KVO(it,8),u.KVO(F,8))}}static{this.\u0275prov=u.jDH({token:Ie,factory:Ie.\u0275fac,providedIn:"root"})}}return Ie})();var He;function Be(Ie){const{act:ze,...Qe}=Ie;return ze?{mandator:Qe,actor:ze}:{mandator:Qe}}let $e=(()=>{class Ie extends Fe.Fj{#e;constructor(){super("context.okp.rz.bankenit.de/mandatorContext/v1"),this.#e=(0,h.WG)(He),this._mandatorService=(0,u.WQX)(ce)}mapContextObject(Qe){return Be(Qe)}loadDetailObject(){return this._mandatorService.getMandator().pipe((0,L.T)(Qe=>Be(Qe)),(0,ne.L)({delay:this._config.loadContextDelayInMs,count:this._config.loadContextRetries}),(0,Ve.W)(Qe=>{const _t=`Could not load customer detail object: ${Qe.message}`;return this.#e.error(_t,Qe),(0,tt.aO)(Qe,_t)}))}static{this.\u0275fac=function(_t){return new(_t||Ie)}}static{this.\u0275prov=u.jDH({token:Ie,factory:Ie.\u0275fac})}}return Ie})();He=$e;const le=Ie=>({kind:"mc_serviceName",apiServiceName:Ie}),pt=(...Ie)=>(0,g.Wn)({type:O,name:j,kind:"mandatorContext",serviceProviders:[{provide:E,useFactory:ze=>ze.getProvider(),default:{useClass:$e}}],optFeatures:Ie,providers:[{provide:F,useFactory:()=>new F({basePath:(0,u.WQX)(h.Ji).getServiceUrl((0,tt.xJ)(Ie)||"context-provider-mandator","")})}]})},4672(Yt,ve,a){a.d(ve,{Fj:()=>Ce,RT:()=>Re,oA:()=>fe});var u=a(9204),h=a(3954),g=a(3978),Q=a(698),D=a(6647),I=a(4600),E=a(1318),O=a(271),X=a(6301),B=a(8764),K=a(9452),j=a(1
1567),Pe=a(9400),L=a(7919),ne=a(1530);class Fe{constructor(M,$,w){this.kind=M,this.value=$,this.error=w,this.hasValue="N"===M}observe(M){return tt(this,M)}do(M,$,w){const{kind:ue,value:lt,error:xt}=this;return"N"===ue?M?.(lt):"E"===ue?$?.(xt):w?.()}accept(M,$,w){var ue;return(0,ne.T)(null===(ue=M)||void 0===ue?void 0:ue.next)?this.observe(M):this.do(M,$,w)}toObservable(){const{kind:M,value:$,error:w}=this,ue="N"===M?(0,K.of)($):"E"===M?(0,L.$)(()=>w):"C"===M?Pe.w:0;if(!ue)throw new TypeError(`Unexpected notification kind ${M}`);return ue}static createNext(M){return new Fe("N",M)}static createError(M){return new Fe("E",void 0,M)}static createComplete(){return Fe.completeNotification}}function tt(qe,M){var $,w,ue;const{kind:lt,value:xt,error:cn}=qe;if("string"!=typeof lt)throw new TypeError('Invalid notification, missing "kind"');"N"===lt?null===($=M.next)||void 0===$||$.call(M,xt):"E"===lt?null===(w=M.error)||void 0===w||w.call(M,cn):null===(ue=M.complete)||void 0===ue||ue.call(M)}Fe.completeNotification=new Fe("C");var nt=a(819),Rt=a(1687),xe=a(5797),it=a(1995),q=a(1817),F=a(9475),N=a(6563),U=a(4355),ce=a(7824),ie=a(5265),we=a(443),oe=a(8493),de=a(6129);const le=/^([^.]*)\.(.*)$/,pt="Tk9UX1NFVA==";function _t(qe){return{serialized:qe,get globalId(){const M=qe.match(le)?.[2];return M===pt?void 0:M},get localId(){const M=qe.match(le)?.[1];return M===pt?void 0:M}}}class Re{}class Et extends U.VT{}const Ot={"x-context-changed":(qe,M)=>({modification:"CHANGE",type:qe,isGlobal:M}),"x-context-deleted":(qe,M)=>({modification:"DELETE",type:qe,isGlobal:M})},Lt="x-context-token",zt=()=>{const qe=(0,N.WQX)(Re),M=(0,N.WQX)(Et);function $(st){const se=st.get(Lt);se&&("null"===se?qe.removeContextToken():qe.setContextToken(_t(se)))}function w(st){return ue.apply(this,arguments)}function ue(){return ue=(0,u.A)(function*(st){const se=[],Ye=(qe=>qe.get("x-global-context-affected-changes"))(st)?.split(",")??[];Object.entries(Ot).forEach(([at,Wt])=>{const Xt=st.get(at);Xt&&se.push(...Xt.split(",").map(Mn=>Wt(Mn,Ye.includes(Mn))))}),se.length&&(yield M.setContextChanges(se))}),ue.apply(this,arguments)}function xt(){return(xt=(0,u.A)(function*(st){if([Q.hv.Response,Q.hv.ResponseHeader].includes(st.type)){const se=st.headers;$(se),yield w(se)}return st})).apply(this,arguments)}function en(){return(en=(0,u.A)(function*(st){if((0,h.MC)(st)){const se=st.headers;$(se),yield w(se)}throw st})).apply(this,arguments)}return(st,se)=>{const Ye=qe.getContextToken();return Ye&&(st=st.clone({setHeaders:{[Lt]:Ye.serialized}}
1)),se(st).pipe((0,D.n)(at=>(0,I.H)(function lt(st){return xt.apply(this,arguments)}(at))),(0,E.W)(at=>function cn(st){return en.apply(this,arguments)}(at)))}},rt=new N.nKC("basePath");class Kt{constructor({accessToken:M,apiKeys:$,basePath:w,credentials:ue,encodeParam:lt,encoder:xt,password:cn,username:en,withCredentials:st}={}){$&&(this.apiKeys=$),void 0!==en&&(this.username=en),void 0!==cn&&(this.password=cn),void 0!==M&&(this.accessToken=M),void 0!==w&&(this.basePath=w),void 0!==st&&(this.withCredentials=st),xt&&(this.encoder=xt),this.encodeParam=lt??(se=>this.defaultEncodeParam(se)),this.credentials=ue??{}}selectHeaderContentType(M){if(0===M.length)return;const $=M.find(w=>this.isJsonMime(w));return void 0===$?M[0]:$}selectHeaderAccept(M){if(0===M.length)return;const $=M.find(w=>this.isJsonMime(w));return void 0===$?M[0]:$}isJsonMime(M){const $=new RegExp("^(application/json|[^;/ \t]+/[^;/ \t]+[+]json)[ \t]*(;.*)?$","i");return null!==M&&($.test(M)||"application/json-patch+json"===M.toLowerCase())}lookupCredential(M){const $=this.credentials[M];return"function"==typeof $?$():$}addCredentialToHeaders(M,$,w,ue){const lt=this.lookupCredential(M);return lt?w.set($,(ue??"")+lt):w}addCredentialToQuery(M,$,w){const ue=this.lookupCredential(M);return ue?w.set($,ue):w}defaultEncodeParam(M){const $="date-time"===M.dataFormat&&M.value instanceof Date?M.value.toISOString():M.value;return encodeURIComponent(String($))}}class ut{encodeKey(M){return encodeURIComponent(M)}encodeValue(M){return encodeURIComponent(M)}decodeKey(M){return decodeURIComponent(M)}decodeValue(M){return decodeURIComponent(M)}}class St{constructor(M,$){if(this.basePath="http://localhost",this.defaultHeaders=new Q.Lr,this.configuration=$||new Kt,"string"!=typeof this.configuration.basePath){const w=Array.isArray(M)?M[0]:void 0;null!=w&&(M=w),"string"!=typeof M&&(M=this.basePath),this.configuration.basePath=M}this.encoder=this.configuration.encoder||new ut}canConsumeForm(M){return-1!==M.indexOf("multipart/form-data")}addToHttpParams(M,$,w,ue=!1){return"object"!=typeof $||$ instanceof Date?this.addToHttpParamsRecursive(M,$,w):this.addToHttpParamsRecursive(M,$,ue?w:void 0,ue)}addToHttpParamsRecursive(M,$,w,ue=!1){if(null==$)return M;if("object"==typeof $){if(null!=w)return ue?Object.keys($).reduce((lt,xt)=>lt.append(`${w}[${xt}]`,$[xt]),M):M.append(w,JSON.stringify($));if(Array.isArray($))$.forEach(lt=>M=this.addToHttpParamsRecursive(M,lt,w));else if($ instanceof Date){if(null==w)throw Error("key may not be null if value is Date");M=M.append(w,$.toISOString())}else Object.keys($).forEach(lt=>{M=this.addToHttpParamsRecursive(M,$[lt],w?`${w}.${lt}`:lt)});return M}if(null!=w)return M.append(w,$);throw Error("key may not be null if value is not object or array")}}let Me=(()=>{class qe extends St{constructor($,w,ue){super(w,ue),this.httpClient=$}deleteContext($="body",w=!1,ue){let lt=this.defaultHeaders;const xt=ue?.httpHeaderAccept??this.configuration.selectHeaderAccept([]);void 0!==xt&&(lt=lt.set("Accept",xt));const cn=ue?.context??new Q._y,en=ue?.transferCache??!0;let st="json";xt&&(st=xt.startsWith("text")?"text":this.configuration.isJsonMime(xt)?"json":"blob");const{basePath:Ye,withCredentials:at}=this.configuration;return this.httpClient.request("delete",`${Ye}/context/v2`,{context:cn,responseType:st,...at?{withCredentials:at}:{},headers:lt,observe:$,transferCache:en,reportProgress:w})}deleteGlobalContext($="body",w=!1,ue){let lt=this.defaultHeaders;const xt=ue?.httpHeaderAccept??this.configuration.selectHeaderAccept([]);void 0!==xt&&(lt=lt.set("Accept",xt));const cn=ue?.context??new Q._y,en=ue?.transferCache??!0;let st="json";xt&&(st=xt.startsWith("text")?"text":this.configuration.isJsonMime(xt)?"json":"blob");const{basePath:Ye,withCredentials:at}=this.configuration;return this.httpClient.request("delete",`${Ye}/context/v2/global`,{context:cn,responseType:st,...at?{withCredentials:at}:{},headers:lt,observe:$,transferCache:en,reportProgress:w})}deleteLocalContext($="body",w=!1,ue){let lt=this.defaultHeaders;const xt=ue?.httpHeaderAccept??this.configuration.selectHeaderAccept([]);void 0!==xt&&(lt=lt.set("Accept",xt));const cn=ue?.context??new Q._y,en=ue?.transferCache??!0;let st="json";xt&&(st=xt.startsWith("text")?"text":this.configuration.isJsonMime(xt)?"json":"blob");const{basePath:Ye,withCredentials:at}=this.configuration;return this.httpClient.request("delete",`${Ye}/context/v2/local`,{context:cn,responseType:st,...at?{withCredentials:at}:{},headers:lt,observe:$,transferCache:en,reportProgress:w})}getContext($="body",w=!1,ue){let lt=this.defaultHeaders;const xt=ue?.httpHeaderAccept??this.configuration.selectHeaderAccept(["application/json"]);void 0!==xt&&(lt=lt.set("Accept",xt));const cn=ue?.context??new Q._y,en=ue?.transferCache??!0;let st="json";xt&&(st=xt.startsWith("text")?"text":this.configuration.isJsonMime(xt)?"json":"blob");const{basePath:Ye,withCredentials:at}=this.configuration;return this.httpClient.request("get",`${Ye}/context/v2`,{context:cn,responseType:st,...at?{withCredentials:at}:{},headers:lt,observe:$,transferCache:en,reportProgress:w})}getGlobalContext($,w="body",ue=!1,lt){if(null==$)throw new Error("Required parameter globalTokenId was null or undefined when calling getGlobalContext.");let xt=new Q.Nl({encoder:this.encoder});xt=this.addToHttpParams(xt,$,"globalTokenId");let cn=this.defaultHeaders;const en=lt?.httpHeaderAccept??this.configuration.selectHeaderAccept(["application/json"]);void 0!==en&&(cn=cn.set("Accept",en));const st=lt?.context??new Q._y,se=lt?.transferCache??!0;let Ye="json";en&&(Ye=en.startsWith("text")?"text":this.configuration.isJsonMime(en)?"json":"blob");const{basePath:Wt,withCredentials:Xt}=this.configuration;return this.httpClient.request("get",`${Wt}/context/v2/global`,{context:st,params:xt,responseType:Ye,...Xt?{withCredentials:Xt}:{},headers:cn,observe:w,transferCache:se,reportProgress:ue})}getLocalContext($,w="body",ue=!1,lt){if(null==$)throw new Error("Required parameter localTokenId was null or undefined when calling getLocalContext.");let xt=new Q.Nl({encoder:this.encoder});xt=this.addToHttpParams(xt,$,"localTokenId");let cn=this.defaultHeaders;const en=lt?.httpHeaderAccept??this.configuration.selectHeaderAccept(["application/json"]);void 0!==en&&(cn=cn.set("Accept",en));const st=lt?.context??new Q._y,se=lt?.transferCache??!0;let Ye="json";en&&(Ye=en.startsWith("text")?"text":this.configuration.isJsonMime(en)?"json":"blob");const{basePath:Wt,withCredentials:Xt}=this.configuration;return this.httpClient.request("get",`${Wt}/context/v2/local`,{context:st,params:xt,responseType:Ye,...Xt?{withCredentials:Xt}:{},headers:cn,observe:w,transferCache:se,reportProgress:ue})}static{this.\u0275fac=function(w){return new(w||qe)(N.KVO(Q.Qq),N.KVO(rt,8),N.KVO(Kt,8))}}static{this.\u0275prov=N.jDH({token:qe,factory:qe.\u0275fac,providedIn:"root"})}}return qe})();const ke="okp-context-token";let ot=(()=>{let qe=class Cu extends Re{#e=(0,N.WQX)(g.T8);#t=null;constructor(){super(),this.#e.registerReloadDataProvider(ke,()=>this.#t?.serialized)}afterReload(){this.#e.retrieve(ke).then($=>{$&&(this.#t=_t($))})}getContextToken(){return this.#t}setContextToken($){"string"==typeof $&&($=_t($)),$.serialized!==this.#t?.serialized&&(this.#t=$)}setGlobalContextId($){this.setContextToken(function Qe(qe,M){return{serialized:`${qe||pt}.${M||pt}`,localId:qe,globalId:M}}(this.getContextToken()?.localId,$))}
1removeContextToken(){this.#t=null}static{this.\u0275fac=function(w){return new(w||Cu)}}static{this.\u0275prov=N.jDH({token:Cu,factory:Cu.\u0275fac})}};return qe=(0,ce.Cg)([(0,ie.QJ)({token:Re,priority:g.ZP.CONTEXT_TOKEN_SERVICE}),(0,ce.Sn)("design:paramtypes",[])],qe),qe})();class Xe extends U.Ve{}function fe(qe,...M){return(0,h.rr)({type:Xe,name:U.FZ,asStandalone:qe.asStandalone,serviceProviders:[{provide:Et,useFactory:$=>$.getContextService(),default:{useClass:Ge}},{provide:Re,useFactory:$=>$.getContextTokenService(),default:{useClass:ot}}],providers:[{provide:U.VT,useExisting:Et},{provide:U.q0,useExisting:Re},{provide:Kt,useFactory:()=>new Kt({basePath:qe.contextServiceBasePath})},{provide:g.yk,useFactory:()=>zt(),multi:!0}],optFeatures:M})}const Se=new N.nKC("context config",{factory:()=>({loadContextRetries:3,loadContextDelayInMs:1e3})});class Ce{#e;constructor(M){this.contextType=M,this._config=(0,N.WQX)(Se),this._contextService=(0,N.WQX)(U.VT),this._contextChanges=this.observeContextChanges(),this.#e=!1,this._context$=this._contextChanges.pipe((0,O.T)($=>$.context?this.mapContextObject($.context):null),(0,X.t)(1)),this._contextDetails$=this._contextChanges.pipe((0,oe.DA)(),(0,B.M)(()=>this.#e=!0),(0,de.Zh)($=>null===$.context?(0,K.of)(null):this.loadDetailObject()),(0,B.M)(()=>this.#e=!1),(0,X.t)(1),(0,j.p)(()=>!this.#e))}observeContextChanges(){return this._contextService.getContextObject(this.contextType)}getContextNotifications(M){return M?.withDetails?this._contextDetails$:this._context$.pipe((0,oe.DA)())}getContext(M){return this.getContextNotifications(M).pipe(function Oe(){return(0,nt.N)((qe,M)=>{qe.subscribe((0,Rt._)(M,$=>tt($,M)))})}())}mapContextObject(M){return M}}var P;const Ae="okp-context-state",mt=new N.nKC("context config",{factory:()=>({loadContextRetries:3,loadContextDelayInMs:1e3})});let Ge=class Tu{static{P=this}#e;#t;#n;#r;#i;#o;#s;constructor(){this._contextTokenService=(0,N.WQX)(Re),this.#e=(0,we.WG)(P),this.#t=(0,N.WQX)(N.SKi),this.#n=(0,N.WQX)(g.T8),this.#r=(0,N.WQX)(Me),this.#i=(0,N.WQX)(mt),this.#o=(0,N.WQX)(g.ht),this._context$=new xe.t({}),this.#s=new xe.t(!1),this.#o.registerTabInitDataProvider("okp-context-service",this),this.#o.onTabGroupMessage("global-context-changed").subscribe($=>{this.onGlobalContextChange($)})}onPortalInit(){var $=this;return(0,u.A)(function*(){$.#n.registerReloadDataProvider(Ae,()=>$._context$.value),yield $.reloadContextState()})()}afterLogin(){this._contextTokenService.removeContextToken(),this._context$.next({})}loadContextObject(){return this.#r.getContext().pipe((0,it.L)({delay:this.#i.loadContextDelayInMs,count:this.#i.loadContextRetries}),(0,E.W)($=>(this.#e.error("context object could not been loaded",$),(0,K.of)({}))))}reloadContextState(){var $=this;return(0,u.A)(function*(){return $.#n.retrieve(Ae).then(w=>{w&&(Object.values(w).forEach(ue=>ue.modification="RELOAD"),$._context$.next(w))})})()}provideTabInitData(){const $=this._contextTokenService.getContextToken()?.globalId;return $?{globalId:$,changes:Object.entries(this._context$.value).filter(([,w])=>w.isGlobal).map(([w])=>({type:w,modification:"RELOAD",isGlobal:!0}))}:void 0}setTabInitData($){this.onGlobalContextChange($)}getContextObject($,w){return this._context$.pipe((0,O.T)(ue=>ue[$]),(0,q.F)(),(0,O.T)(ue=>ue||(w?.initialDelete?{type:$,modification:"DELETE",context:null}:null)),(0,h.Ue)(),(0,D.n)(ue=>ue.contextPending?(0,K.of)(ue).pipe((0,h.fm)(this.refreshContextObject())):(0,K.of)(ue)))}refreshContextObject(){return this.#s.value||(this.#s.next(!0),this.loadContextObject().pipe((0,O.T)($=>{return M=$,Object.entries(this._context$.value).filter(([,$])=>$.contextPending).forEach(([$,w])=>{w.context=M[$]??null,delete w.contextPending});var M})).subscribe(()=>this.#s.next(!1))),this.#s.pipe((0,j.p)($=>!$))}setContextChanges($){var w=this;return(0,u.A)(function*(ue,lt=!0){w.#t.run(()=>{return w._context$.next({...w._context$.value,...(qe=ue,qe.map(M=>(0,oe.i5)(M,"context")?M:"DELETE"===M.modification?{...M,context:null}:{...M,context:null,contextPending:!0}).reduce((M,$)=>({...M,[$.type]:$}),{}))});var qe}),lt&&w.notifyGlobalContextChanged(ue)}).apply(this,arguments)}onGlobalContextChange($){this._contextTokenService.setGlobalContextId($.globalId),this.setContextChanges(Object.values($.changes),!1)}notifyGlobalContextChanged($){const w=$.filter(ue=>ue.isGlobal).map(({type:ue,modification:lt,isGlobal:xt})=>({type:ue,modification:lt,isGlobal:xt}));w.length&&this.#o.sendTabGroupMessage("global-context-changed",{globalId:this._contextTokenService.getContextToken()?.globalId,changes:w})}beforeClose($){if(!this._contextTokenService.getContextToken())return;let w;return w=$.logout?"IMPERATIVE"===$.trigger?this.#r.deleteContext():Pe.w:this.#r.deleteLocalContext(),w.pipe(h.al,(0,F.j)(()=>{this._contextTokenService.removeContextToken(),this._context$.next({})}))}static{this.\u0275fac=function(w){return new(w||Tu)}}static{this.\u0275prov=N.jDH({token:Tu,factory:Tu.\u0275fac})}};Ge=P=(0,ce.Cg)([(0,ie.QJ)({token:U.VT,priority:g.ZP.CONTEXT_SERVICE}),(0,ce.Sn)("design:paramtypes",[])],Ge)},8091(Yt,ve,a){a.d(ve,{FZ:()=>B,Ni:()=>D,kH:()=>I,qZ:()=>Q});var g=a(6563);const Q="context.okp.rz.bankenit.de/customerContext/v1";class D{}class I{}const B=`@okp/context-customer-api_v${new g.RxE("1.0.0").major}`},9207(Yt,ve,a){a.d(ve,{aO:()=>Q,xJ:()=>B});var h=a(7919),g=a(8493);const Q=(K,j)=>(0,h.$)(()=>new D(K.status>=500?"INTERNAL_SERVER_ERROR":"CONTEXT_DATA_ERROR",j));
1class D extends Error{constructor(j,Pe){super(Pe),this.errorType=j}}const X=K=>(0,g.i5)(K,"apiServiceName"),B=K=>(0,g.d9)(K).find(X)?.apiServiceName},619(Yt,ve,a){a.d(ve,{IC:()=>X,Ji:()=>Q,NP:()=>g,Pi:()=>I,QE:()=>j,Rp:()=>Pe,Rx:()=>E,V8:()=>K,Wj:()=>L,Z7:()=>nt,bU:()=>tt,cg:()=>D,gX:()=>Fe,o_:()=>O,r7:()=>ne,zv:()=>Ve});class g{}class Q{}class D{}class I{}class E{}class O{}class X{}class K{}class j{}function Pe(Oe,xe){return{name:Oe,qualifiers:xe}}class L{}class ne{}class Ve extends Error{getType(){return"NOT_FOUND"}}class Fe extends Error{getType(){return"LOAD_ERROR"}}class tt{}class nt{}},8493(Yt,ve,a){a.d(ve,{AT:()=>Rt,Am:()=>ie,DA:()=>He,Gv:()=>nt,HN:()=>ze,Lc:()=>tt,Rn:()=>we,Tn:()=>Oe,Xj:()=>Fe,_j:()=>de,aE:()=>q,bJ:()=>it,cF:()=>Ie,d9:()=>pt,g8:()=>N,hu:()=>U,i5:()=>F,ju:()=>I,qE:()=>Pe,t4:()=>le,tz:()=>O,xo:()=>ce,yL:()=>xe});var u=a(9204),h=a(3942),g=a(6129);const Q=["handler","target","isProxy"],D=Re=>Q.includes(Re),I=Re=>!!Re&&("object"==typeof Re||"function"==typeof Re)&&"isProxy"in Re,E=(Re,Et)=>({...Re,target:Et,handler:Re,isProxy:!0,get(kt,ht,Ne){return D(ht)?this[ht]:Re.get?.(kt,ht,Ne)},has:(kt,ht)=>D(ht)||!!Re.has?.(kt,ht)}),O=(Re,Et={})=>new Proxy(Et,E(Re,Et));function Pe(Re){return L.apply(this,arguments)}function L(){return(L=(0,u.A)(function*(Re){const kt=`\n    const module = { exports: {} };\n    const exports = module.exports;\n\n    (function(module, exports) {\n    ${yield fetch(Re).then(ht=>{if(!ht.ok)throw new Error(`Failed to load CommonJS module from ${Re}`);return ht.text()})}\n    })(module, exports);\n\n    export default module.exports;`;return URL.createObjectURL(new Blob([kt],{type:"text/javascript"}))})).apply(this,arguments)}const Fe=Re=>Oe(Re)&&"constructor"in Re,tt=Re=>Oe(Re)&&Re.prototype,nt=Re=>!!Re&&"object"==typeof Re,Rt=Re=>!!Re&&"object"==typeof Re&&(Re instanceof h.c||"lift"in Re&&"subscribe"in Re),Oe=Re=>"function"==typeof Re,xe=Re=>!!Re&&"object"==typeof Re&&"then"in Re,it=Re=>Re instanceof Error,q=Re=>nt(Re)&&"constructor"in Re&&Re.constructor.toString().startsWith("class"),F=(Re,Et)=>!!Re&&"object"==typeof Re&&Et in Re,N=(Re,Et)=>!!Re&&"function"==typeof Re&&Et in Re,U=(Re,Et)=>Et(Re)?Re:void 0,ce=(Re,Et,kt)=>Re?Et(Re):kt?.else()??void 0;function ie(Re,Et,kt){return Object.values(Re).includes(Et)?Et:kt}function we(Re,Et){return Re.next().value??Et}function de(Re){return[...Re]}const He=()=>Re=>new h.c(Et=>{Re.subscribe({next:kt=>Et.next((0,g.ro)(kt)),error:kt=>Et.next((0,g.A2)(kt)),complete:()=>{Et.complete()}})}),Te=O({get:()=>()=>Te});function le(){const Re=[],Et=O({get:(kt,ht)=>(Re.push(ht),()=>O({get:()=>(Re.pop(),()=>Te)}))});return{capture:()=>Et,value:()=>Re.shift(),values:()=>[...Re]}}const pt=Re=>Re??[];function Ie(Re,Et){return Re.filter(kt=>Et(kt))}function ze(Re,Et,kt){return Re.length===Et.length&&!Re.find(ht=>!Et.find(Ne=>kt?kt(ht,Ne):ht===Ne))}},6129(Yt,ve,a){a.d(ve,{A2:()=>tt,NL:()=>Rt,Zh:()=>q,ro:()=>Ve});var E=a(5682),O=a(4600),X=a(9452),B=a(1318),K=a(271),j=a(6647);const Ve=F=>({kind:"N",value:F}),tt=F=>({kind:"E",error:F}),Rt=F=>"N"===F.kind,q=F=>(0,E.F)((0,j.n)(N=>Rt(N)?(0,O.H)(F(N.value)).pipe((0,K.T)(U=>Ve(U)),(0,B.W)(U=>(0,X.of)(tt(U)))):(0,X.of)(N)))},443(Yt,ve,a){a.d(ve,{$q:()=>M,C4:()=>qe,FZ:()=>Dn,Gm:()=>Kn,IC:()=>mt,Ji:()=>Mt,NP:()=>ar,WG:()=>lt});var Qt=a(9204),Kt=a(6124),ut=a(7580),St=a(6563),yt=a(7511),Me=a(9748),De=a(619),Ee=a(8493),i=a(9452),ke=a(1318),ot=a(1817),Xe=a(6647),fe=a(9074),Y=a(3954),Se=a(698),Ce=a(3305),ct=a(6264);const _e=["containerTemplate"];function P(bt,dn){1&bt&&Kt.Hgh(0,"div",1)}class mt extends De.IC{}class Mt extends De.Ji{}class qe{}let M=(()=>{class bt{constructor(){this._templateRef=(0,St.WQX)(Kt.C4Q),this._viewContainerRef=(0,St.WQX)(Kt.c1b),this._contentFactory=(0,St.WQX)(qe),this._contentLookupService=(0,St.WQX)(De.Z7),this._logger=(0,St.WQX)(De.QE).getLogger(bt),this.okpContent=(0,ut.hFB)(),this.okpContentLoadingTemplate=(0,ut.hFB)(),this.okpContentErrorTemplate=(0,ut.hFB)(),this.okpContentParams=(0,ut.hFB)(),this._contentRef=(0,fe.ot)((0,fe.br)(this.okpContent).pipe((0,ot.F)(),(0,Xe.n)(un=>(0,Ee.yL)(un)?un:(0,i.of)(un)),(0,Xe.n)(un=>this.checkIfAvailable(un).then(Fn=>Fn?un:void 0)),(0,Y.Ue)(),(0,Xe.n)(un=>this.createContent(un)),(0,ke.W)(un=>(this._logger.error(un),(0,i.of)())))),this.okpContentIgnoreIfNotAvailable=(0,ut.hFB)(),this.okpContentHostInstance=(0,ut.hFB)(),this.okpContentEvents=(0,ut.hFB)(),this.eventBinding=(0,yt.EW)(()=>{const un=this.okpContentEvents();return this.okpContentHostInstance()&&un?Object.fromEntries(Object.entries(un).map(([Fn,lr])=>[Fn,lr.bind(this.okpContentHostInstance())])):un}),(0,St.QZP)(()=>
1{this._contentRef()&&this.okpContentParams()&&this._contentRef()?.setParams(this.okpContentParams()??{})})}createContent(un){return this._contentFactory.createContent(un,this._viewContainerRef,{position:{index:0,override:!0},params:this.okpContentParams(),events:this.eventBinding(),loadingTemplate:this.okpContentLoadingTemplate(),errorTemplate:this.okpContentErrorTemplate(),hostTemplate:this.isContainer()?this._templateRef:void 0})}checkIfAvailable(un){var Fn=this;return(0,Qt.A)(function*(){return!un||!Fn.okpContentIgnoreIfNotAvailable()||!!(yield Fn._contentLookupService.get(un))})()}isContainer(){return["DIV","SPAN","BUTTON"].includes(this._templateRef.createEmbeddedView(void 0).rootNodes?.[0]?.tagName)}static{this.\u0275fac=function(Fn){return new(Fn||bt)}}static{this.\u0275dir=Kt.FsC({type:bt,selectors:[["","okpContent",""]],inputs:{okpContent:[1,"okpContent"],okpContentLoadingTemplate:[1,"okpContentLoadingTemplate"],okpContentErrorTemplate:[1,"okpContentErrorTemplate"],okpContentParams:[1,"okpContentParams"],okpContentIgnoreIfNotAvailable:[1,"okpContentIgnoreIfNotAvailable"],okpContentHostInstance:[1,"okpContentHostInstance"],okpContentEvents:[1,"okpContentEvents"]}})}}return bt})();class w extends De.o_{}function lt(bt){return(0,St.Af3)(lt),(0,St.WQX)(De.QE).getLogger(bt)}const pn={APP_ID:(0,Y.rG)("APP_ID"),SCRIPT_PATH:(0,Y.rG)("SCRIPT_PATH"),APP_PROVIDER:(0,Y.rG)("APP_PROVIDER"),SERVICE_NAME:(0,Y.rG)("SERVICE_NAME"),ROUTER:(0,Y.rG)("ROUTER"),ACTIVATED_ROUTE:(0,Y.rG)("ACTIVATED_ROUTE"),HASH_LOCATION_STRATEGY_TYPE:(0,Y.rG)("HASH_LOCATION_STRATEGY_TYPE"),PRELOADING_STRATEGY:(0,Y.rG)("PRELOADING_STRATEGY"),ROUTER_PRELOADER:(0,Y.rG)("ROUTER_PRELOADER"),ZONE:(0,Y.rG)("ZONE"),ZONELESS:(0,Y.rG)("ZONELESS"),API_USED:(0,Y.rG)("API_USED"),APP_REF:(0,Y.rG)("APP_REF"),APP_ROUTES:(0,Y.rG)("APP_ROUTES"),API_VERSION:(0,Y.rG)("API_VERSION"),INTERCEPTOR_FN:(0,Y.rG)("INTERCEPTOR_FN"),INTEGRATED_TYPES:(0,Y.rG)("INTEGRATED_TYPES"),LIFECYCLE_CONFIG:(0,Y.rG)("LIFECYCLE_CONFIG"),HTTP_CLIENT:(0,Y.rG)("HTTP_CLIENT"),HTTP_XHR_BACKEND:(0,Y.rG)("HTTP_XHR_BACKEND"),FETCH_BACKEND:(0,Y.rG)("FETCH_BACKEND"),...Y.ih};class ar extends De.NP{}class rn{}(0,Y.k8)(pn.API_USED,()=>!1),(0,Y.k8)(pn.APP_ID,()=>Date.now().toString()),(0,Y.k8)(pn.APP_PROVIDER,()=>[]),(0,Y.k8)(pn.ROUTER,Ce.Ix),(0,Y.k8)(pn.ACTIVATED_ROUTE,Ce.nX),(0,Y.k8)(pn.ZONE,St.SKi),(0,Y.k8)(pn.ZONELESS,St.Evm),(0,Y.k8)(pn.SERVICE_NAME),(0,Y.k8)(pn.APP_REF,Kt.o8S),(0,Y.k8)(pn.HASH_LOCATION_STRATEGY_TYPE,()=>Me.fw),(0,Y.k8)(pn.PRELOADING_STRATEGY,ct.NJ),(0,Y.k8)(pn.ROUTER_PRELOADER,ct.u$),(0,Y.k8)(pn.API_VERSION,()=>ln),(0,Y.k8)(pn.INTERCEPTOR_FN,()=>Ct),(0,Y.k8)(pn.APP_ROUTES,Ce.bw),(0,Y.k8)(pn.INTEGRATED_TYPES,()=>(0,Y.Xu)()),(0,Y.k8)(pn.LIFECYCLE_CONFIG),(0,Y.k8)(pn.SCRIPT_PATH,()=>a.e(913).then(a.bind(a,4913)).then(bt=>bt.scriptPath())),(0,Y.k8)(pn.HTTP_CLIENT,Se.Qq),(0,Y.k8)(pn.HTTP_XHR_BACKEND,Se.tl),(0,Y.k8)(pn.FETCH_BACKEND,Se.Xl);class Ut{constructor(dn){this.delegate=dn,this.injector=(0,St.WQX)(St.uvJ)}createContent(dn,un){var Fn=this;return(0,Qt.A)(function*(lr,Cr,Sr={}){return Sr?.hostTemplate||(Sr.hostTemplate=yield Fn.getWebCompHostTemplate(Cr)),Fn.delegate.createContent(lr,Cr,Sr)}).apply(this,arguments)}getWebCompHostTemplate(dn){var un=this;return(0,Qt.A)(function*(){if(!un.webCompHostTemplate){const Fn=dn.createComponent(_n,{environmentInjector:un.injector});Fn.changeDetectorRef.detectChanges(),un.webCompHostTemplate=Fn.instance.getTemplate()}return un.webCompHostTemplate})()}}let _n=(()=>{class bt{constructor(){this.containerPromise=new Promise(un=>this.promiseCallback=un)}ngAfterViewInit(){this.containerTemplate&&this.promiseCallback?.(this.containerTemplate)}getTemplate(){return this.containerPromise}static{this.\u0275fac=function(Fn){return new(Fn||bt)}}static{this.\u0275cmp=Kt.VBU({type:bt,selectors:[["ng-component"]],viewQuery:function(Fn,lr){if(1&Fn&&Kt.GBs(_e,5,Kt.C4Q),2&Fn){let Cr;Kt.mGM(Cr=Kt.lsd())&&(lr.containerTemplate=Cr.first)}},decls:2,vars:0,consts:[["containerTemplate",""],[1,"content-container"]],template:function(Fn,lr){1&Fn&&Kt.PeT(0,P,1,0,"ng-template",null,0,Kt.C5r)},encapsulation:2})}}return bt})();const Kn=[{provide:De.cg,useFactory:bt=>bt.getPortalInfoService()},{provide:class se{},useFactory:bt=>bt.getPortalLifecycleService()},{provide:Mt,useFactory:bt=>bt.getApiEndpointService()},{provide:mt,useFactory:bt=>bt.getAssetService()},{provide:De.Pi,useFactory:bt=>bt.getLocalizationService()},{provide:De.QE,useFactory:bt=>bt.getClientLoggingService()},{provide:De.Rx,useFactory:bt=>bt.getPortalFeaturesService()},{provide:w,useFactory:bt=>bt.getNavigationService()},{provide:class gn extends w{},useFactory:bt=>bt.getNavigationService()},{provide:rn,useFactory:bt=>bt.getOkpHttpUtilsProvider()},{provide:Se.JV,useFactory:bt=>bt.getHttpBackend()},{provide:Y.JN,useFactory:bt=>bt.getAppConnector()},{provide:De.r7,useFactory:bt=>bt.getScriptRegistry()},{provide:De.bU,useFactory:bt=>bt.getScriptProvider()},{provide:De.Wj,useFactory:bt=>bt.getEventBusService()},{provide:De.V8,useFactory:bt=>bt.getDataStorageService()},{provide:De.Z7,useFactory:bt=>bt.getContentLookupService()},{provide:qe,useFactory:bt=>new Ut(bt.getContentFactory())}],Ct=(bt,dn)=>(0,St.WQX)(rn).getOkpHttpInterceptorFn()(bt,dn),ln=new St.RxE("1.0.0"),Dn=`@okp/api_v${ln.major}`},3954(Yt,ve,a){a.d(ve,{JN:()=>he,a1:()=>Mt,ih:()=>Ae,Vk:()=>Cr,k8:()=>Ce,BV:()=>z,jL:()=>Zn,Ue:()=>vr,Cj:()=>Xn,Xu:()=>Sr,Rh:()=>br,GS:()=>Or,ah:()=>Dr,YN:()=>Wt,eZ:()=>Zt,Tk:()=>bn,is:()=>qn,Gg:()=>Se,MM:()=>ue,VX:()=>ye,MC:()=>k,zz:()=>Nt,Lq:()=>xt,rG:()=>Y,lq:()=>ar,PG:()=>jt,rr:()=>Wn,ZB:()=>Dn,AW:()=>M,al:()=>qt,d$:()=>ir,PS:()=>R,fm:()=>Rn,Wn:()=>dt});var u=a(6563),h=a(6124),g=a(3087),Q=a(3942),D=a(5682),I=a(1567),E=a(6647),O=a(7697),X=a(137),B=a(4334),K=a(1995),j=a(4876),Pe=a(9452),L=a(1903),ne=a(2551),Ve=a(4600),Fe=a(1318),tt=a(7919),nt=a(6882),Rt=a(778),Oe=a(3335),xe=a(602),it=a(9365),q=a(1440),N=a(8493),U=a(271);let De=(()=>{class me{constructor(Gt){const Tn=Gt;Tn.okpGlobal||(Tn.okpGlobal={}),this.globalState=Tn.okpGlobal}get(Gt){return this.globalState[Gt]}set(Gt,Tn){this.globalState[Gt]=Tn}static{this.\u0275fac=function(Tn){return new(Tn||me)(u.KVO(g.Qc))}}static{this.\u0275prov=u.jDH({token:me,factory:me.\u0275fac,providedIn:"root"})}}return me})();const Ee=me=>!!me&&((0,N.AT)(me)||(0,N.yL)(me)),i=me=>!!me&&((0,N.aE)(me)||Object.values(me).find(Dt=>(0,N.Tn)(Dt)||(0,N.Gv)(Dt)&&(Ee(Dt)||i(Dt))));function ke(me,Dt){return Ee(me)?function ot(me,Dt){return(0,N.AT)(me)?me.pipe(Gt=>new Q.c(Tn=>Gt.subscribe({next:$n=>Dt.run(()=>Tn.next($n)),error:$n=>Dt.run(()=>Tn.error($n)),complete:()=>Dt.run(()=>Tn.complete())}))):me.then(Gt=>Dt.run(()=>Gt))}(me,Dt):i(me)?Xe(me,Dt):me}function Xe(me,Dt,Gt){return(0,N.tz)({apply:(Tn,$n,zn=[])=>{let Hn;return Hn=(0,N.ju)(Tn)&&Tn.handler.apply?Tn.handler.apply(me,Gt??me,zn):Tn.apply(Gt??me,zn),(0,N.Gv)(Hn)?ke(Hn,Dt):Hn},get(Tn,$n){const zn=me[$n];return(0,N.Tn)(zn)?Xe(zn,Dt,me):(0,N.Gv)(zn)?ke(zn,Dt):zn}},me)}const Y=me=>({name:me}),Se=me=>(0,N.i5)(me,"name");function Ce(me,Dt){P[me.name]=Dt?(me=>"function"==typeof me&&!(0,N.Lc)(me))(Dt)?new u.nKC(me.name,{factory:Dt}):Dt:new u.nKC(me.name)}const P={},Ae={ACTIVE_FEATURES:Y("ACTIVE_FEATURES")};Ce(Ae.ACTIVE_FEATURES,()=>[]);class Mt{#e=[];#t=(0,N.t4)();add(Dt,Gt){Dt(this.#t.capture()),(0,N.xo)(this.#t.value(),Tn=>{this.#e.push({prop:Tn,provider:Gt})})}replace(Dt,Gt){Dt(this.#t.capture()),(0,N.xo)(this.#t.value(),Tn=>{this.#e.push({prop:Tn,providerFn:Gt})})}static create(){return new Mt}getAll(){return this.#e}find(Dt){return Dt(this.#t.capture()),(0,N.xo)(this.#t.value(),Gt=>this.#e.find(Tn=>Tn.prop===Gt))}}function jt(me,Dt,Gt){const Tn=Mt.create();return Dt(Tn),{overrides:Gt?null:Tn,kind:me,providers:Gt?[{provide:Gt,useValue:Tn}]:[]}}const M=me=>$(me)?me:(me=>(0,N.Lc)(me)||(0,N.Xj)(me)||(me=>(0,N.i5)(me,"ngMetadataName")&&"InjectionToken"===me.ngMetadataName)(me))(me)?{useExisting:me}:{useValue:me},$=me=>lt(me)||st(me)||w(me)||cn(me),w=me=>(0,N.i5)(me,"useClass"),ue=me=>Xt(me)&&w(me),lt=me=>(0,N.i5)(me,"useValue"),xt=me=>Xt(me)&&lt(me),cn=me=>(0,N.i5)(me,"useFactory"),st=me=>(0,N.i5)(me,"useExisting"),Wt=me=>"object"==typeof me&&"provide"in me,Xt=me=>!!me&&("object"==typeof me&&"provide"in me||"function"==typeof me&&"constructor"in me||Array.isArray(me)&&me.some(Xt)),Mn=me=>{if("\u0275providers"in me)return{...me,providers:me.\u0275providers};throw new Error(`Unexpected structure of EnvironmentProviders detected. Structure: '${Object.getOwnPropertyNames(me)}'`)};function Zt(me,Dt){return!!(0,N.Rn)(R(me,Dt))}function*R(me,Dt){const Gt=Dt||void 0;for(const Tn of me)Array.isArray(Tn)?yield*R(Tn,Gt):Xt(Tn)?(!Gt||Gt(Tn))&&
1(yield Tn):yield*R(Mn(Tn).providers,Gt)}const k=me=>(0,N.i5)(me,"name")&&"HttpErrorResponse"===me.name;function ye(me,Dt,Gt){return!!me&&"object"==typeof me&&"type"in me&&me.type===Gt}function Nt(){return(0,D.F)((0,I.p)(me=>!!me))}const qt=(0,D.F)((0,U.T)(()=>{}));function bn(me,Dt){return(0,D.F)((0,E.n)(Gt=>(0,O.T)(()=>me(Gt),(0,X.v)(()=>Dt.onTrue(Gt)),(0,X.v)(()=>Dt.onFalse(Gt)))))}function Rn(me){return Dt=>me.pipe((0,B.s)(1),(0,E.n)(()=>Dt))}function Xn(me){return(0,D.F)((0,U.T)(Dt=>Dt.find(me)))}function qn(me){return(0,D.F)((0,I.p)(Dt=>Dt instanceof me))}function Zn(me,Dt){return(0,D.F)((0,I.p)(Gt=>ye(Gt,0,Dt)))}function Dr(me){return(0,D.F)((0,I.p)(Dt=>me(Dt)))}function vr(){return(0,D.F)((0,I.p)(me=>!!me))}function ar(me,Dt){return Gt=>{const Tn=me(Gt);return Tn?Dt(Tn)(Gt):Gt}}const Ke=new u.nKC("OverriddenProviders",{factory:()=>[]});function ft(me,Dt){return Dt||(0,u.Af3)(ft),!!(Dt?Dt.get(Ke):(0,u.WQX)(Ke)).find(Tn=>Tn===me)}const on=me=>(0,N.i5)(me,"serviceProviders"),wn=me=>!(0,N.i5)(me,"apiProvider"),jn=me=>(0,N.i5)(me,"default");function Wn(me){const Dt=function Ar(me){return wn(me)&&(me.serviceProviders=me.serviceProviders.map(Dt=>($(Dt.default)&&(Dt.default=function It(me){let Dt;return Dt=lt(me)?new u.nKC("",{factory:()=>me.useValue}):cn(me)?new u.nKC("",{factory:()=>me.useFactory(me.deps?.map(Gt=>(0,u.WQX)(Gt)))}):w(me)?new u.nKC("",{factory:()=>new me.useClass}):me.useExisting,Dt}(Dt.default)),Dt))),function Ir(me,Dt){return{...me,extensions:(0,N.cF)((0,N.d9)(me.optFeatures),Gt=>Dt(Gt)),features:(0,N.d9)(me.optFeatures?.filter(Gt=>!(me=>(0,N.i5)(me,"serviceProviders"))(Gt))).map(Gt=>({...Gt,providers:(0,N.d9)(Gt.providers)})),providers:(0,N.d9)(me.providers),overrides:me.optFeatures?.find(Gt=>(me=>(0,N.i5)(me,"overrides"))(Gt))?.overrides??void 0}}(me,on)}(me),Gt=[];wn(me)?(Gt.push(function Pn(me){const Dt=ir(me.serviceProviders);return{provide:me.type,useFactory:()=>{const Gt=(0,u.WQX)(u.zZn);return(0,N.tz)({get:(Tn,$n)=>(...zn)=>{if(!$n.startsWith("get"))return;const Hn=Dt[$n];let In=(0,u.N4e)(Gt,()=>me.apiInterceptor?.($n,zn??[]));return!In&&Hn.default&&!ft(Hn.provide,Gt)&&(In=Gt.get(Hn.default)),In??Gt.get(Hn.provide)}})}}}(me)),me.asStandalone&&Gt.push(Dt.serviceProviders.filter(zn=>zn.default).map(zn=>({provide:zn.default})))):Gt.push({provide:me.type,...me.apiProvider});const Tn=[tr(me),...kn(me.type,me.serviceProviders),...Gt,...Dt.features.map($n=>$n.providers).flat(),...Dt.extensions.map($n=>Wn($n)).flat(),...Dt.providers.flat(),...On(Dt)];return me.asStandalone?(0,h.Ol2)(Tn,me.asStandalone.parentInjector):(0,u.EmA)(Tn)}function kn(me,Dt){return Dt.map(Gt=>({provide:Gt.provide,deps:[me],useFactory:Tn=>Gt.useFactory(Tn),multi:Gt.multi}))}function On(me){if(!me.overrides)return[];const Dt=ir(me.serviceProviders);return me.overrides.getAll().map(Gt=>{if(Gt.providerFn){const Tn=Dt[Gt.prop];return[{provide:Ke,useValue:Dt[Gt.prop].provide,multi:!0},{provide:Dt[Gt.prop].provide,...M(Gt.providerFn(M(jn(Tn)?Tn.default:Tn)))}]}return[{provide:Ke,useValue:Dt[Gt.prop].provide,multi:!0},{provide:Dt[Gt.prop].provide,...M(Gt.provider)}]})??[]}function tr(me){return(0,u.BCV)(()=>{const Dt=(0,u.WQX)(De);if(Dt.get(me.name))throw Error(`${me.name} already defined. The impl use is restricted to the portal integration. For application integration use the api`);const Gt=(0,u.WQX)(me.type);return Dt.set(me.name,Gt),Gt})}function ir(me){const Dt=(0,N.t4)();return me.reduce((Gt,Tn)=>{try{Tn.useFactory?.(Dt.capture())}catch{}const $n=Dt.value();return $n?{...Gt,[$n]:Tn}:Gt},{})}const ln=(me,Dt)=>`${me} (Tried to load resource over XHR for ${Dt+1} times without success)`;function Dn(me){const Dt=me.backoffMs??500,Gt=me.delayMs??100;let Tn=0;return $n=>$n.pipe((0,K.L)({delay:zn=>{if(!k(zn)||!function bt(me,Dt){let Gt=!0;return me.status?Dt.includeCodes?.length?Gt=un(me.status,Dt?.includeCodes??[]):Dt.excludeCodes?.length&&(Gt=!un(me.status,Dt?.excludeCodes??[])):Dt.includeCodes?.length&&(Gt=!1),Gt}(zn,me))throw zn;if(Tn<me.maxRetries)return Tn++,me.retryCallback&&me.retryCallback(Tn),(0,j.O)(Gt+Tn*Dt);throw me.errorSupplier?me.errorSupplier(zn):new zn.constructor({error:zn.error,headers:zn.headers,status:zn.status,statusText:ln(zn.statusText,me.maxRetries),url:zn.url??void 0})}}))}const dn=/^(\d)xx$/;function un(me,Dt){return!!Dt.find(Gt=>{if(Gt==me)return!0;const Tn=Gt.toString().match(dn);if(Tn?.length)return new RegExp(`^${Tn[1]}\\d{2}$`).test(me.toString());if(isNaN(Number(Gt)))throw new Error(`possible code '${Gt}' for status code check is not a number and not a range like 5xx`);return!1})}const lr=[];function Cr(me,Dt=Number.MAX_VALUE){lr.find(Gt=>Gt.type===me)||lr.push({type:me,priority:Dt})}function Sr(){return lr}function Or(me){return me.sort((Dt,Gt)=>Dt.priority-Gt.priority).map(Dt=>Dt.type)}function br(me){return me.integratedTypes.map(Dt=>me.injector.get(Dt,void 0,{...me.injectOptions,optional:!0})).filter(function Er(me){return Dt=>(0,N.i5)(Dt,me)&&(0,N.Tn)(Dt[me])}(me.hookName)).map(Dt=>me.ngZone?ke(Dt,me.ngZone):Dt)}function z(me,Dt,Gt){const Tn=(0,Pe.of)(me).pipe((0,L.H)($n=>$n),(0,L.H)($n=>{const zn=Dt($n);
1return(0,ne.A)(zn)?zn.pipe((0,B.s)(1)):(0,N.yL)(zn)?(0,Ve.H)(zn):(0,Pe.of)(zn)}),(0,Fe.W)($n=>Gt?.ignoreErrors?(0,Pe.of)():(0,tt.$)(()=>$n)));if(Gt?.reducer){const $n=Gt.reducer;return Tn.pipe((0,nt.T)($n.reduce,$n.initialValue))}return Tn.pipe((0,Rt.U)(void 0),function F(me,Dt){const Gt=arguments.length>=2;return Tn=>Tn.pipe(me?(0,I.p)(($n,zn)=>me($n,zn,Tn)):q.D,(0,xe.o)(1),Gt?(0,Rt.U)(Dt):(0,it.v)(()=>new Oe.G))}())}function dt(me){return me}class he{}},5265(Yt,ve,a){a.d(ve,{QJ:()=>B,bx:()=>X});var O=a(3954);const X={HIGHEST_PRECEDENCE:Number.MIN_SAFE_INTEGER,HIGH_PRECEDENCE:0,LOWEST_PRECEDENCE:Number.MAX_SAFE_INTEGER};function B(ne={},Ve=O.Vk){return Fe=>{Ve(ne.token??Fe,ne.priority??X.LOWEST_PRECEDENCE)}}},1570(Yt,ve,a){a.d(ve,{bD:()=>pt});var u=Object.getOwnPropertyNames,h=Object.getOwnPropertySymbols,g=Object.prototype.hasOwnProperty;function Q(Ne,Ot){return function(zt,rt,Qt){return Ne(zt,rt,Qt)&&Ot(zt,rt,Qt)}}function D(Ne){return function(Lt,zt,rt){if(!Lt||!zt||"object"!=typeof Lt||"object"!=typeof zt)return Ne(Lt,zt,rt);var Qt=rt.cache,Kt=Qt.get(Lt),ut=Qt.get(zt);if(Kt&&ut)return Kt===zt&&ut===Lt;Qt.set(Lt,zt),Qt.set(zt,Lt);var St=Ne(Lt,zt,rt);return Qt.delete(Lt),Qt.delete(zt),St}}function I(Ne){return u(Ne).concat(h(Ne))}var E=Object.hasOwn||function(Ne,Ot){return g.call(Ne,Ot)};function O(Ne,Ot){return Ne||Ot?Ne===Ot:Ne===Ot||Ne!=Ne&&Ot!=Ot}var X="_owner",B=Object.getOwnPropertyDescriptor,K=Object.keys;function j(Ne,Ot,Lt){var zt=Ne.length;if(Ot.length!==zt)return!1;for(;zt-- >0;)if(!Lt.equals(Ne[zt],Ot[zt],zt,zt,Ne,Ot,Lt))return!1;return!0}function Pe(Ne,Ot){return O(Ne.getTime(),Ot.getTime())}function L(Ne,Ot,Lt){if(Ne.size!==Ot.size)return!1;for(var Kt,ut,zt={},rt=Ne.entries(),Qt=0;(Kt=rt.next())&&!Kt.done;){for(var St=Ot.entries(),yt=!1,Me=0;(ut=St.next())&&!ut.done;){var De=Kt.value,Ee=De[0],i=De[1],ke=ut.value,ot=ke[0],Xe=ke[1];!yt&&!zt[Me]&&(yt=Lt.equals(Ee,ot,Qt,Me,Ne,Ot,Lt)&&Lt.equals(i,Xe,Ee,ot,Ne,Ot,Lt))&&(zt[Me]=!0),Me++}if(!yt)return!1;Qt++}return!0}function ne(Ne,Ot,Lt){var Qt,zt=K(Ne),rt=zt.length;if(K(Ot).length!==rt)return!1;for(;rt-- >0;)if((Qt=zt[rt])===X&&(Ne.$$typeof||Ot.$$typeof)&&Ne.$$typeof!==Ot.$$typeof||!E(Ot,Qt)||!Lt.equals(Ne[Qt],Ot[Qt],Qt,Qt,Ne,Ot,Lt))return!1;return!0}function Ve(Ne,Ot,Lt){var Qt,Kt,ut,zt=I(Ne),rt=zt.length;if(I(Ot).length!==rt)return!1;for(;rt-- >0;)if((Qt=zt[rt])===X&&(Ne.$$typeof||Ot.$$typeof)&&Ne.$$typeof!==Ot.$$typeof||!E(Ot,Qt)||!Lt.equals(Ne[Qt],Ot[Qt],Qt,Qt,Ne,Ot,Lt)||(Kt=B(Ne,Qt),ut=B(Ot,Qt),(Kt||ut)&&(!Kt||!ut||Kt.configurable!==ut.configurable||Kt.enumerable!==ut.enumerable||Kt.writable!==ut.writable)))return!1;return!0}function Fe(Ne,Ot){return O(Ne.valueOf(),Ot.valueOf())}function tt(Ne,Ot){return Ne.source===Ot.source&&Ne.flags===Ot.flags}function nt(Ne,Ot,Lt){if(Ne.size!==Ot.size)return!1;for(var Qt,Kt,zt={},rt=Ne.values();(Qt=rt.next())&&!Qt.done;){for(var ut=Ot.values(),St=!1,yt=0;(Kt=ut.next())&&!Kt.done;)!St&&!zt[yt]&&(St=Lt.equals(Qt.value,Kt.value,Qt.value,Kt.value,Ne,Ot,Lt))&&(zt[yt]=!0),yt++;if(!St)return!1}return!0}function Rt(Ne,Ot){var Lt=Ne.length;if(Ot.length!==Lt)return!1;for(;Lt-- >0;)if(Ne[Lt]!==Ot[Lt])return!1;return!0}var we=Array.isArray,oe="function"==typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView:null,de=Object.assign,He=Object.prototype.toString.call.bind(Object.prototype.toString),pt=ht();function ht(Ne){void 0===Ne&&(Ne={});var Ot=Ne.circular,Lt=void 0!==Ot&&Ot,zt=Ne.createInternalComparator,rt=Ne.createState,Qt=Ne.strict,Kt=void 0!==Qt&&Qt,ut=function $e(Ne){var Ot=Ne.circular,Lt=Ne.createCustomConfig,zt=Ne.strict,rt={areArraysEqual:zt?Ve:j,areDatesEqual:Pe,areMapsEqual:zt?Q(L,Ve):L,areObjectsEqual:zt?Ve:ne,arePrimitiveWrappersEqual:Fe,areRegExpsEqual:tt,areSetsEqual:zt?Q(nt,Ve):nt,areTypedArraysEqual:zt?Ve:Rt};if(Lt&&(rt=de({},rt,Lt(rt))),Ot){var Qt=D(rt.areArraysEqual),Kt=D(rt.areMapsEqual),ut=D(rt.areObjectsEqual),St=D(rt.areSetsEqual);rt=de({},rt,{areArraysEqual:Qt,areMapsEqual:Kt,areObjectsEqual:ut,areSetsEqual:St})}return rt}(Ne),St=function Be(Ne){var Ot=Ne.areArraysEqual,Lt=Ne.areDatesEqual,zt=Ne.areMapsEqual,rt=Ne.areObjectsEqual,Qt=Ne.arePrimitiveWrappersEqual,Kt=Ne.areRegExpsEqual,ut=Ne.areSetsEqual,St=Ne.areTypedArraysEqual;return function(Me,De,Ee){if(Me===De)return!0;
1if(null==Me||null==De||"object"!=typeof Me||"object"!=typeof De)return Me!=Me&&De!=De;var i=Me.constructor;if(i!==De.constructor)return!1;if(i===Object)return rt(Me,De,Ee);if(we(Me))return Ot(Me,De,Ee);if(null!=oe&&oe(Me))return St(Me,De,Ee);if(i===Date)return Lt(Me,De,Ee);if(i===RegExp)return Kt(Me,De,Ee);if(i===Map)return zt(Me,De,Ee);if(i===Set)return ut(Me,De,Ee);var ke=He(Me);return"[object Date]"===ke?Lt(Me,De,Ee):"[object RegExp]"===ke?Kt(Me,De,Ee):"[object Map]"===ke?zt(Me,De,Ee):"[object Set]"===ke?ut(Me,De,Ee):"[object Object]"===ke?"function"!=typeof Me.then&&"function"!=typeof De.then&&rt(Me,De,Ee):"[object Arguments]"===ke?rt(Me,De,Ee):("[object Boolean]"===ke||"[object Number]"===ke||"[object String]"===ke)&&Qt(Me,De,Ee)}}(ut),yt=zt?zt(St):function Te(Ne){return function(Ot,Lt,zt,rt,Qt,Kt,ut){return Ne(Ot,Lt,ut)}}(St);return function le(Ne){var Ot=Ne.circular,Lt=Ne.comparator,zt=Ne.createState,rt=Ne.equals,Qt=Ne.strict;if(zt)return function(St,yt){var Me=zt(),De=Me.cache;return Lt(St,yt,{cache:void 0===De?Ot?new WeakMap:void 0:De,equals:rt,meta:Me.meta,strict:Qt})};if(Ot)return function(St,yt){return Lt(St,yt,{cache:new WeakMap,equals:rt,meta:void 0,strict:Qt})};var Kt={cache:void 0,equals:rt,meta:void 0,strict:Qt};return function(St,yt){return Lt(St,yt,Kt)}}({circular:Lt,comparator:St,createState:rt,equals:yt,strict:Kt})}ht({strict:!0}),ht({circular:!0}),ht({circular:!0,strict:!0}),ht({createInternalComparator:function(){return O}}),ht({strict:!0,createInternalComparator:function(){return O}}),ht({circular:!0,createInternalComparator:function(){return O}}),ht({circular:!0,createInternalComparator:function(){return O},strict:!0})},9995(Yt,ve,a){a.d(ve,{$z:()=>ke,Gc:()=>q,HU:()=>xe,MH:()=>L,kA:()=>zt,rm:()=>i});var D=a(9204),I=a(6124),E=a(6563),O=a(316),X=a(4205);function L(M,$){const w=$?function Pe(M){return"string"==typeof M?()=>{throw new Error(M)}:M}($):()=>{};let ue=!1;return(...lt)=>ue?w(...lt):(ue=!0,M(...lt))}function ne(M){return M.endsWith("/")?M:`${M}/`}a(8537),a(3617),a(436);const Ve=(M,$)=>{const w=$.createElement("script");return w.type="text/javascript",w.defer=!0,w.async=!0,w.src=M,w},Fe=new E.nKC("MATOMO_SCRIPT_FACTORY",{providedIn:"root",factory:()=>Ve});function tt(M,$){if(null==M)throw new Error("Unexpected "+M+" value: "+$);return M}let Rt=(()=>{class M{constructor(){this.scriptFactory=(0,E.WQX)(Fe),this.injector=(0,E.WQX)(E.duS),this.document=(0,E.WQX)(E.qQL)}injectDOMScript(w){const ue=(0,E.N4e)(this.injector,()=>this.scriptFactory(w,this.document)),lt=tt(this.document.getElementsByTagName("script")[0],"no existing script found");tt(lt.parentNode,"no script's parent node found").insertBefore(ue,lt)}static{this.\u0275fac=function(ue){return new(ue||M)}}static{this.\u0275prov=E.jDH({token:M,factory:M.\u0275fac})}}return M})();const xe=new E.nKC("MATOMO_ROUTER_ENABLED",{factory:()=>!1}
1),it=new E.nKC("MATOMO_CONFIGURATION"),q=new E.nKC("INTERNAL_MATOMO_CONFIGURATION");function F(){const{mode:M,requireConsent:$,...w}=tt((0,E.WQX)(it,{optional:!0}),"No Matomo configuration found! Have you included Matomo module using MatomoModule.forRoot() or provideMatomo()?");return{mode:M?we(M):void 0,disabled:!1,enableLinkTracking:!0,trackAppInitialLoad:!(0,E.WQX)(xe),requireConsent:$?de($):"none",enableJSErrorTracking:!1,runOutsideAngularZone:!0,disableCampaignParameters:!1,acceptDoNotTrack:!1,...w}}const N=new E.nKC("DEFERRED_INTERNAL_MATOMO_CONFIGURATION");function U(){const M=(0,E.WQX)(q);let $;return{configuration:new Promise(ue=>$=ue),markReady(ue){tt($,"resolveFn")({...M,...ue})}}}const ce=new E.nKC("ASYNC_INTERNAL_MATOMO_CONFIGURATION");var ie=function(M){return M[M.AUTO=0]="AUTO",M[M.MANUAL=1]="MANUAL",M[M.AUTO_DEFERRED=2]="AUTO_DEFERRED",M}(ie||{});function we(M){switch(M){case ie.AUTO:return"auto";case ie.MANUAL:return"manual";case ie.AUTO_DEFERRED:return"deferred";default:return M}}var oe=function(M){return M[M.NONE=0]="NONE",M[M.COOKIE=1]="COOKIE",M[M.TRACKING=2]="TRACKING",M}(oe||{});function de(M){switch(M){case oe.NONE:return"none";case oe.COOKIE:return"cookie";case oe.TRACKING:return"tracking";default:return M}}function Be(M){return null!=M.siteId&&null!=M.trackerUrl}function le(M){return Array.isArray(M.trackers)}function Ie(){window._paq=window._paq||[]}function ze(M){const $=[...M];for(;$.length>0&&void 0===$[$.length-1];)$.pop();return $}function Qe(){const M=(0,E.WQX)(q).disabled,$=(0,O.UE)((0,E.WQX)(I.Agw));return M||!$?new Re:new _t}let _t=(()=>{class M{constructor(){this.ngZone=(0,E.WQX)(E.SKi),this.config=(0,E.WQX)(q),Ie()}get(w){return this.pushFn(ue=>ue[w]())}pushFn(w){return new Promise(ue=>{this.push([function(){ue(w(this))}])})}push(w){this.config.runOutsideAngularZone?this.ngZone.runOutsideAngular(()=>{window._paq.push(ze(w))}):window._paq.push(ze(w))}static{this.\u0275fac=function(ue){return new(ue||M)}}static{this.\u0275prov=E.jDH({token:M,factory:M.\u0275fac})}}return M})(),Re=(()=>{class M{get(w){return(0,D.A)(function*(){return Promise.reject("MatomoTracker is disabled")})()}push(w){}pushFn(w){return(0,D.A)(function*(){return Promise.reject("MatomoTracker is disabled")})()}static{this.\u0275fac=function(ue){return new(ue||M)}}static{this.\u0275prov=E.jDH({token:M,factory:M.\u0275fac})}}return M})(),zt=(()=>{class M{constructor(){this.delegate=(0,E.WQX)(_t),this._pageViewTracked=new X.B,this.pageViewTracked=this._pageViewTracked.asObservable(),(0,E.WQX)(E.abz).onDestroy(()=>this._pageViewTracked.complete())}trackPageView(w){this.delegate.push(["trackPageView",w]),this._pageViewTracked.next()}trackEvent(w,ue,lt,xt,cn){this.delegate.push(["trackEvent",w,ue,lt,xt,cn])}trackSiteSearch(w,ue,lt,xt){this.delegate.push(["trackSiteSearch",w,ue,lt,xt])}trackGoal(w,ue,lt){this.delegate.push(["trackGoal",w,ue,lt])}trackLink(w,ue,lt){this.delegate.push(["trackLink",w,ue,lt])}trackAllContentImpressions(){this.delegate.push(["trackAllContentImpressions"])}trackVisibleContentImpressions(w,ue){this.delegate.push(["trackVisibleContentImpressions",w,ue])}trackContentImpressionsWithinNode(w){this.delegate.push(["trackContentImpressionsWithinNode",w])}trackContentInteractionNode(w,ue){this.delegate.push(["trackContentInteractionNode",w,ue])}trackContentImpression(w,ue,lt){this.delegate.push(["trackContentImpression",w,ue,lt])}trackContentInteraction(w,ue,lt,xt){this.delegate.push(["trackContentInteraction",w,ue,lt,xt])}logAllContentBlocksOnPage(){this.delegate.push(["logAllContentBlocksOnPage"])}ping(){this.delegate.push(["ping"])}enableHeartBeatTimer(w){this.delegate.push(["enableHeartBeatTimer",w])}enableLinkTracking(w=!1){this.delegate.push(["enableLinkTracking",w])}disablePerformanceTracking(){this.delegate.push(["disablePerformanceTracking"])}enableCrossDomainLinking(){this.delegate.push(["enableCrossDomainLinking"])}setCrossDomainLinkingTimeout(w){this.delegate.push(["setCrossDomainLinkingTimeout",w])}getCrossDomainLinkingUrlParameter(){return this.delegate.get("getCrossDomainLinkingUrlParameter")}setIgnoreCampaignsForReferrers(w){this.delegate.push(["setIgnoreCampaignsForReferrers",w])}getIgnoreCampaignsForReferrers(){return this.delegate.get("getIgnoreCampaignsForReferrers")}setDocumentTitle(w){this.delegate.push(["setDocumentTitle",w])}setDomains(w){this.delegate.push(["setDomains",w])}setCustomUrl(w){this.delegate.push(["setCustomUrl",w])}setReferrerUrl(w){this.delegate.push(["setReferrerUrl",w])}setSiteId(w){this.delegate.push(["setSiteId",w])}setApiUrl(w){this.delegate.push(["setApiUrl",w])}setTrackerUrl(w){this.delegate.push(["setTrackerUrl",w])}addTracker(w,ue){this.delegate.push(["addTracker",w,ue])}getMatomoUrl(){return this.delegate.get("getMatomoUrl")}getPiwikUrl(){return this.delegate.get("getPiwikUrl")}getCurrentUrl(){return this.delegate.get("getCurrentUrl")}setDownloadClasses(w){this.delegate.push(["setDownloadClasses",w])}setDownloadExtensions(w){this.delegate.push(["setDownloadExtensions",w])}addDownloadExtensions(w){this.delegate.push(["addDownloadExtensions",w])}removeDownloadExtensions(w){this.delegate.push(["removeDownloadExtensions",w])}setIgnoreClasses(w){this.delegate.push(["setIgnoreClasses",w])}setLinkClasses(w){this.delegate.push(["setLinkClasses",w])}setLinkTrackingTimer(w){this.delegate.push(["setLinkTrackingTimer",w])}getLinkTrackingTimer(){return this.delegate.get("getLinkTrackingTimer")}discardHashTag(w){this.delegate.push(["discardHashTag",w])}setGenerationTimeMs(w){this.delegate.push(["setGenerationTimeMs",w])}setPagePerformanceTiming(w,ue,lt,xt,cn,en){let st;"object"==typeof w&&w?(st=w.networkTimeInMs,ue=w.serverTimeInMs,lt=w.transferTimeInMs,xt=w.domProcessingTimeInMs,cn=w.domCompletionTimeInMs,en=w.onloadTimeInMs):st=w,this.delegate.push(["setPagePerformanceTiming",st,ue,lt,xt,cn,en])}getCustomPagePerformanceTiming(){return this.delegate.get("getCustomPagePerformanceTiming")}appendToTrackingUrl(w){this.delegate.push(["appendToTrackingUrl",w])}setDoNotTrack(w){this.delegate.push(["setDoNotTrack",w])}killFrame(){this.delegate.push(["killFrame"])}redirectFile(w){this.delegate.push(["redirectFile",w])}setHeartBeatTimer(w,ue){this.delegate.push(["setHeartBeatTimer",w,ue])}getVisitorId(){return this.delegate.get("getVisitorId")}setVisitorId(w){this.delegate.push(["setVisitorId",w])}getVisitorInfo(){return this.delegate.get("getVisitorInfo")}getAttributionInfo(){return this.delegate.get("getAttributionInfo")}getAttributionCampaignName(){return this.delegate.get("getAttributionCampaignName")}getAttributionCampaignKeyword(){return this.delegate.get("getAttributionCampaignKeyword")}getAttributionReferrerTimestamp(){return this.delegate.get("getAttributionReferrerTimestamp")}getAttributionReferrerUrl(){return this.delegate.get("getAttributionReferrerUrl")}getUserId(){return this.delegate.get("getUserId")}setUserId(w){this.delegate.push(["setUserId",w])}resetUserId(){this.delegate.push(["resetUserId"])}setPageViewId(w){this.delegate.push(["setPageViewId",w])}getPageViewId(){return this.delegate.get("getPageViewId")}setCustomData(...w){this.delegate.push(["setCustomData",...w])}getCustomData(){return this.delegate.get("getCustomData")}setCustomVariable(w,ue,lt,xt){this.delegate.push(["setCustomVariable",w,ue,lt,xt])}deleteCustomVariable(w,ue){this.delegate.push(["deleteCustomVariable",w,ue])}deleteCustomVariables(w){this.delegate.push(["deleteCustomVariables",w])}getCustomVariable(w,ue){return this.delegate.pushFn(lt=>lt.getCustomVariable(w,ue))}storeCustomVariablesInCookie(){this.delegate.push(["storeCustomVariablesInCookie"])}setCustomDimension(w,ue){this.delegate.push(["setCustomDimension",w,ue])}deleteCustomDimension(w){this.delegate.push(["deleteCustomDimension",w])}getCustomDimension(w){return this.delegate.pushFn(ue=>ue.getCustomDimension(w))}setCampaignNameKey(w){this.delegate.push(["setCampaignNameKey",w])}setCampaignKeywordKey(w){this.delegate.push(["setCampaignKeywordKey",w])}setConversionAttributionFirstReferrer(w){this.delegate.push(["setConversionAttributionFirstReferrer",w])}setEcommerceView(w,ue,lt,xt){!function Ot(M){return"object"==typeof M&&1===Object.keys(M).length&&null!=M.productCategory}(w)?function Lt(M){return"object"==typeof M&&"productSKU"in M}(w)?this.delegate.push(["setEcommerceView",w.productSKU,w.productName,w.productCategory,w.price]):this.delegate.push(["setEcommerceView",w,ue,lt,xt]):this.delegate.push(["setEcommerceView",!1,!1,w.productCategory])}addEcommerceItem(w,ue,lt,xt,cn){this.delegate.push("string"==typeof w?["addEcommerceItem",w,ue,lt,xt,cn]:["addEcommerceItem",w.productSKU,w.productName,w.productCategory,w.price,w.quantity])}removeEcommerceItem(w){this.delegate.push(["removeEcommerceItem",w])}clearEcommerceCart(){this.delegate.push(["clearEcommerceCart"])}getEcommerceItems(){return this.delegate.get("getEcommerceItems")}trackEcommerceCartUpdate(w){this.delegate.push(["trackEcommerceCartUpdate",w])}trackEcommerceOrder(w,ue,lt,xt,cn,en){this.delegate.push(["trackEcommerceOrder",w,ue,lt,xt,cn,en])}requireConsent(){this.delegate.push(["requireConsent"])}setConsentGiven(){this.delegate.push(["setConsentGiven"])}rememberConsentGiven(w){this.delegate.push(["rememberConsentGiven",w])}forgetConsentGiven(){this.delegate.push(["forgetConsentGiven"])}hasRememberedConsent(){return this.delegate.get("hasRememberedConsent")}getRememberedConsent(){return this.delegate.get("getRememberedConsent")}isConsentRequired(){return this.delegate.get("isConsentRequired")}requireCookieConsent(){this.delegate.push(["requireCookieConsent"])}setCookieConsentGiven(){this.delegate.push(["setCookieConsentGiven"])}rememberCookieConsentGiven(w){this.delegate.push(["rememberCookieConsentGiven",w])}forgetCookieConsentGiven(){this.delegate.push(["forgetCookieConsentGiven"])}getRememberedCookieConsent(){return this.delegate.get("getRememberedCookieConsent")}areCookiesEnabled(){return this.delegate.get("areCookiesEnabled")}optUserOut(){this.delegate.push(["optUserOut"])}forgetUserOptOut(){this.delegate.push(["forgetUserOptOut"])}isUserOptedOut(){return this.delegate.get("isUserOptedOut")}disableCookies(){this.delegate.push(["disableCookies"])}deleteCookies(){this.delegate.push(["deleteCookies"])}hasCookies(){return this.delegate.get("hasCookies")}setCookieNamePrefix(w){this.delegate.push(["setCookieNamePrefix",w])}setCookieDomain(w){this.delegate.push(["setCookieDomain",w])}setCookiePath(w){this.delegate.push(["setCookiePath",w])}setSecureCookie(w){this.delegate.push(["setSecureCookie",w])}setCookieSameSite(w){this.delegate.push(["setCookieSameSite",w])}setVisitorCookieTimeout(w){this.delegate.push(["setVisitorCookieTimeout",w])}setReferralCookieTimeout(w){this.delegate.push(["setReferralCookieTimeout",w])}setSessionCookieTimeout(w){this.delegate.push(["setSessionCookieTimeout",w])}setReferrerUrlMaxLength(w){this.delegate.push(["setReferrerUrlMaxLength",w])}addListener(w){this.delegate.push(["addListener",w])}setRequestMethod(w){this.delegate.push(["setRequestMethod",w])}setCustomRequestProcessing(w){this.delegate.push(["setCustomRequestProcessing",w])}setRequestContentType(w){this.delegate.push(["setRequestContentType",w])}disableQueueRequest(){this.delegate.push(["disableQueueRequest"])}setRequestQueueInterval(w){this.delegate.push(["setRequestQueueInterval",w])}disableAlwaysUseSendBeacon(){this.delegate.push(["disableAlwaysUseSendBeacon"])}alwaysUseSendBeacon(){this.delegate.push(["alwaysUseSendBeacon"])}enableJSErrorTracking(){this.delegate.push(["enableJSErrorTracking"])}enableFileTracking(){this.delegate.push(["enableFileTracking"])}setExcludedReferrers(...w){const ue=w.flat();this.delegate.push(["setExcludedReferrers",ue])}getExcludedReferrers(){return this.delegate.get("getExcludedReferrers")}disableBrowserFeatureDetection(){this.delegate.push(["disableBrowserFeatureDetection"])}enableBrowserFeatureDetection(){this.delegate.push(["enableBrowserFeatureDetection"])}disableCampaignParameters(){this.delegate.push(["disableCampaignParameters"])}static{this.\u0275fac=function(ue){return new(ue||M)}}static{this.\u0275prov=E.jDH({token:M,factory:M.\u0275fac})}}return M})();function rt(M){return`${M}`}function Qt(M,$){return null==$?ne(M)+Kt:M+$}const Kt="matomo.php";function St(){const M=(0,E.WQX)(q).disabled,$=(0,O.UE)((0,E.WQX)(I.Agw));return M||!$?new yt:new Me}class yt{initialize(){}init(){}initializeTracker($){}}let Me=(()=>{class M{constructor(){this.config=(0,E.WQX)(q),this.deferredConfig=(0,E.WQX)(N),this.tracker=(0,E.WQX)(zt),this.scriptInjector=(0,E.WQX)(Rt),this.initialize=L(()=>{this.runPreInitTasks(),function He(M){return null==M.mode||"auto"===M.mode||M.mode===ie.AUTO}(this.config)?this.injectMatomoScript(this.config):this.deferredConfig.markReady(this.config)},"Matomo has already been initialized"),this.injectMatomoScript=L(w=>{if(function Te(M){return Be(M)||le(M)}(w)){const{scriptUrl:ue}=w,[lt,...xt]=function pt(M){return le(M)?M.trackers:[{trackerUrl:M.trackerUrl,siteId:M.siteId,trackerUrlSuffix:M.trackerUrlSuffix}]}(w),cn=ue??ne(lt.trackerUrl)+"matomo.js";this.registerMainTracker(lt),this.registerAdditionalTrackers(xt),this.scriptInjector.injectDOMScript(cn)}else if(function $e(M){return null!=M.scriptUrl&&!Be(M)}(w)){const{scriptUrl:ue,trackers:lt}={trackers:[],...w};this.registerAdditionalTrackers(lt),this.scriptInjector.injectDOMScript(ue)}this.deferredConfig.markReady(w)},"Matomo trackers have already been initialized"),Ie()}init(){this.initialize()}initializeTracker(w){this.injectMatomoScript(w)}registerMainTracker(w){const ue=Qt(w.trackerUrl,w.trackerUrlSuffix
1),lt=rt(w.siteId);this.tracker.setTrackerUrl(ue),this.tracker.setSiteId(lt)}registerAdditionalTrackers(w){w.forEach(({trackerUrl:ue,siteId:lt,trackerUrlSuffix:xt})=>{const cn=Qt(ue,xt),en=rt(lt);this.tracker.addTracker(cn,en)})}runPreInitTasks(){this.config.acceptDoNotTrack&&this.tracker.setDoNotTrack(!0),"cookie"===this.config.requireConsent?this.tracker.requireCookieConsent():"tracking"===this.config.requireConsent&&this.tracker.requireConsent(),this.config.enableJSErrorTracking&&this.tracker.enableJSErrorTracking(),this.config.disableCampaignParameters&&this.tracker.disableCampaignParameters(),this.config.trackAppInitialLoad&&this.tracker.trackPageView(),this.config.enableLinkTracking&&this.tracker.enableLinkTracking("enable-pseudo"===this.config.enableLinkTracking)}static{this.\u0275fac=function(ue){return new(ue||M)}}static{this.\u0275prov=E.jDH({token:M,factory:M.\u0275fac})}}return M})();const De=Symbol("MATOMO_PROVIDERS"),Ee=Symbol("MATOMO_CHECKS");function i(M,$,w){return{kind:M,[De]:$,[Ee]:w}}function ke(M,...$){const w=[zt,Rt,{provide:_t,useFactory:Qe},{provide:Me,useFactory:St},{provide:q,useFactory:F},{provide:N,useFactory:U},{provide:ce,useFactory:()=>(0,E.WQX)(N).configuration},{provide:E.Z63,multi:!0,useValue(){(0,E.WQX)(Me).initialize()}}],ue=[];w.push("function"==typeof M?{provide:it,useFactory:M}:{provide:it,useValue:M});for(const lt of $)w.push(...lt[De]),ue.push(lt.kind);
1for(const lt of $)lt[Ee]?.(ue);return(0,E.EmA)(w)}},4025(Yt,ve,a){a.d(ve,{y:()=>Se});var B=a(6563),K=a(6124),j=a(9995),Pe=a(3305),L=a(316),ne=a(6223),Ve=a(1440),Fe=a(9999),tt=a(1873),nt=a(4600),Rt=a(9452),Oe=a(1903),xe=a(778),it=a(591),q=a(1817),F=a(1567),N=a(271),U=a(7378),ce=a(6647),ie=a(4334),we=a(8764),oe=a(436);const de=new B.nKC("MATOMO_ROUTER_CONFIGURATION"),He={prependBaseHref:!0,trackPageTitle:!0,delay:0,exclude:[],navigationEndComparator:"fullUrl"},Be=new B.nKC("INTERNAL_ROUTER_CONFIGURATION");function $e(){const{disabled:Mt,enableLinkTracking:jt}=(0,B.WQX)(j.Gc),Ge=(0,B.WQX)(de,{optional:!0})||{};return{...He,...Ge,enableLinkTracking:jt,disabled:Mt}}const Te=new B.nKC("MATOMO_ROUTER_INTERCEPTORS"),Lt=new B.nKC("MATOMO_PAGE_TITLE_PROVIDER");let zt=(()=>{class Mt{constructor(){this.title=(0,B.WQX)(oe.hE)}getCurrentPageTitle(Ge){return(0,Rt.of)(this.title.getTitle())}static{this.\u0275fac=function(qe){return new(qe||Mt)}}static{this.\u0275prov=B.jDH({token:Mt,factory:Mt.\u0275fac})}}return Mt})();const rt=new B.nKC("MATOMO_PAGE_URL_PROVIDER");function Qt(){return new Me((0,B.WQX)(Be),(0,B.WQX)(ne.kB,{optional:!0}),(0,B.WQX)(ne.hb))}class Me{constructor(jt,Ge,qe){this.config=jt,this.baseHref=Ge,this.locationStrategy=qe}getCurrentPageUrl(jt){const Ge=this.config.prependBaseHref?this.getBaseHrefWithoutTrailingSlash()+jt.urlAfterRedirects:jt.urlAfterRedirects;return(0,Rt.of)(Ge)}getBaseHrefWithoutTrailingSlash(){return function yt(Mt){return Mt.endsWith("/")?Mt.slice(0,-1):Mt}(this.baseHref??this.locationStrategy.getBaseHref()??"")}}function De(Mt){return Mt instanceof Pe.wF}function Ee(Mt){return"string"==typeof Mt?new RegExp(Mt):Mt}function Xe(Mt){return(jt,Ge)=>Mt(jt)===Mt(Ge)}let Y=(()=>{class Mt{constructor(){this.router=(0,B.WQX)(Pe.Ix),this.platformId=(0,B.WQX)(K.Agw),this.config=(0,B.WQX)(Be),this.pageTitleProvider=(0,B.WQX)(Lt),this.pageUrlProvider=(0,B.WQX)(rt),this.tracker=(0,B.WQX)(j.kA),this.interceptors=(0,B.WQX)(Te,{optional:!0}),this.initialize=(0,j.MH)(()=>{if(this.config.disabled||!(0,L.UE)(this.platformId))return;const qe=-1===this.config.delay?Ve.D:(0,it.c)(this.config.delay),M=function fe(Mt){switch(Mt.navigationEndComparator){case"fullUrl":return Xe(jt=>jt.urlAfterRedirects);case"ignoreQueryParams":return Xe(jt=>function ot(Mt){return Mt.split("?")[0]}(jt.urlAfterRedirects));default:return Mt.navigationEndComparator}}(this.config);this.router.events.pipe((0,F.p)(De),(0,F.p)(function ke(Mt){const jt=function i(Mt){return Mt?Array.isArray(Mt)?Mt.map(Ee):[Ee(Mt)]:[]}(Mt);return Ge=>!jt.some(qe=>Ge.urlAfterRedirects.match(qe))}(this.config.exclude)),(0,q.F)(M),qe,(0,ce.n)($=>this.presetPageTitleAndUrl($).pipe((0,N.T)(({pageUrl:w})=>({pageUrl:w,event:$})))),(0,Oe.H)(({event:$,pageUrl:w})=>this.callInterceptors($).pipe((0,we.M)(()=>this.trackPageView(w))))).subscribe()},"MatomoRouter has already been initialized");const Ge=this.interceptors;if(Ge&&!Array.isArray(Ge))throw function Ot(){return new Error('An invalid MATOMO_ROUTER_INTERCEPTORS provider was configured. Did you forget to set "multi: true" ?')}()}init(){this.initialize()}callInterceptors(Ge){return this.interceptors?(0,tt.p)(this.interceptors.map(qe=>{const M=qe.beforePageTrack(Ge);return(null==M?(0,Rt.of)(void 0):(0,nt.H)(M)).pipe((0,ie.s)(1),(0,xe.U)(void 0))})).pipe((0,U.u)(void 0),(0,xe.U)(void 0)):(0,Rt.of)(void 0)}presetPageTitleAndUrl(Ge){const qe=this.config.trackPageTitle?this.pageTitleProvider.getCurrentPageTitle(Ge).pipe((0,we.M)($=>this.tracker.setDocumentTitle($))):(0,Rt.of)(void 0),M=(0,nt.H)(this.pageUrlProvider.getCurrentPageUrl(Ge)).pipe((0,we.M)($=>this.tracker.setCustomUrl($)));return(0,Fe.z)([qe,M]).pipe((0,N.T)(([$,w])=>({pageUrl:w})))}trackPageView(Ge){this.tracker.trackPageView(),this.config.enableLinkTracking&&this.tracker.enableLinkTracking("enable-pseudo"===this.config.enableLinkTracking),this.tracker.setReferrerUrl(Ge)}static{this.\u0275fac=function(qe){return new(qe||Mt)}}static{this.\u0275prov=B.jDH({token:Mt,factory:Mt.\u0275fac})}}return Mt})();function Se(Mt){const jt=function Ce(Mt){return[Y,{provide:j.HU,useValue:!0},{provide:de,useValue:Mt},{provide:Be,useFactory:$e},{provide:rt,useFactory:Qt},{provide:Lt,useClass:zt},Y,{provide:B.Z63,multi:!0,useValue(){(0,B.WQX)(Y).initialize()}}]}(Mt);return(0,j.rm)("Router",jt)}},6672(Yt,ve,a){a.d(ve,{l:()=>kt});var u=a(698);const h={defaultMerge:Symbol("deepmerge-ts: default merge"),skip:Symbol("deepmerge-ts: skip")};function Q(ht,Ne){return Ne}function D(ht){return"object"!=typeof ht||null===ht?0:Array.isArray(ht)?2:function B(ht){if(!X.has(Object.prototype.toString.call(ht)))return!1;const{constructor:Ne}=ht;if(void 0===Ne)return!0;const Ot=Ne.prototype;return!(null===Ot||"object"!=typeof Ot||!X.has(Object.prototype.toString.call(Ot))||
1!Ot.hasOwnProperty("isPrototypeOf"))}(ht)?1:ht instanceof Set?3:ht instanceof Map?4:5}function E(ht,Ne){return"object"==typeof ht&&Object.prototype.propertyIsEnumerable.call(ht,Ne)}function O(ht){return{*[Symbol.iterator](){for(const Ne of ht)for(const Ot of Ne)yield Ot}}}const X=new Set(["[object Object]","[object Module]"]);function ne(ht){return ht.at(-1)}var Ve=Object.freeze({__proto__:null,mergeArrays:function j(ht){return ht.flat()},mergeMaps:function L(ht){return new Map(O(ht))},mergeOthers:ne,mergeRecords:function K(ht,Ne,Ot){const Lt={};for(const zt of function I(ht){const Ne=new Set;for(const Ot of ht)for(const Lt of[...Object.keys(Ot),...Object.getOwnPropertySymbols(Ot)])Ne.add(Lt);return Ne}(ht)){const rt=[];for(const ut of ht)E(ut,zt)&&rt.push(ut[zt]);if(0===rt.length)continue;const Qt=Ne.metaDataUpdater(Ot,{key:zt,parents:ht}),Kt=Rt(rt,Ne,Qt);Kt!==h.skip&&("__proto__"===zt?Object.defineProperty(Lt,zt,{value:Kt,configurable:!0,enumerable:!0,writable:!0}):Lt[zt]=Kt)}return Lt},mergeSets:function Pe(ht){return new Set(O(ht))}});function Rt(ht,Ne,Ot){if(0===ht.length)return;if(1===ht.length)return F(ht,Ne,Ot);const Lt=D(ht[0]);if(0!==Lt&&5!==Lt)for(let zt=1;zt<ht.length;zt++)if(D(ht[zt])!==Lt)return F(ht,Ne,Ot);switch(Lt){case 1:return function Oe(ht,Ne,Ot){const Lt=Ne.mergeFunctions.mergeRecords(ht,Ne,Ot);return Lt===h.defaultMerge||Ne.useImplicitDefaultMerging&&void 0===Lt&&Ne.mergeFunctions.mergeRecords!==Ne.defaultMergeFunctions.mergeRecords?Ne.defaultMergeFunctions.mergeRecords(ht,Ne,Ot):Lt}(ht,Ne,Ot);case 2:return function xe(ht,Ne,Ot){const Lt=Ne.mergeFunctions.mergeArrays(ht,Ne,Ot);return Lt===h.defaultMerge||Ne.useImplicitDefaultMerging&&void 0===Lt&&Ne.mergeFunctions.mergeArrays!==Ne.defaultMergeFunctions.mergeArrays?Ne.defaultMergeFunctions.mergeArrays(ht):Lt}(ht,Ne,Ot);case 3:return function it(ht,Ne,Ot){const Lt=Ne.mergeFunctions.mergeSets(ht,Ne,Ot);return Lt===h.defaultMerge||Ne.useImplicitDefaultMerging&&void 0===Lt&&Ne.mergeFunctions.mergeSets!==Ne.defaultMergeFunctions.mergeSets?Ne.defaultMergeFunctions.mergeSets(ht):Lt}(ht,Ne,Ot);case 4:return function q(ht,Ne,Ot){const Lt=Ne.mergeFunctions.mergeMaps(ht,Ne,Ot);return Lt===h.defaultMerge||Ne.useImplicitDefaultMerging&&void 0===Lt&&Ne.mergeFunctions.mergeMaps!==Ne.defaultMergeFunctions.mergeMaps?Ne.defaultMergeFunctions.mergeMaps(ht):Lt}(ht,Ne,Ot);default:return F(ht,Ne,Ot)}}function F(ht,Ne,Ot){const Lt=Ne.mergeFunctions.mergeOthers(ht,Ne,Ot);return Lt===h.defaultMerge||Ne.useImplicitDefaultMerging&&void 0===Lt&&Ne.mergeFunctions.mergeOthers!==Ne.defaultMergeFunctions.mergeOthers?Ne.defaultMergeFunctions.mergeOthers(ht):Lt}var Qe=a(9452),_t=a(1873),Re=a(1318),Et=a(271);class kt{constructor(Ne,Ot){this._handler=Ne,this._resourcesPrefix=Ot}getTranslation(Ne){const Ot=this._resourcesPrefix.map(Lt=>{let zt;return zt=Lt.prefix?`${Lt.prefix}${Ne}${Lt.suffix||".json"}`:`${Lt}${Ne}.json`,new u.Qq(this._handler).get(zt).pipe((0,Re.W)(rt=>(Lt.optional||(console.group(),console.error("Something went wrong for the following translation file:",zt),console.error(rt),console.groupEnd()),(0,Qe.of)({}))))});return(0,_t.p)(Ot).pipe((0,Et.T)(Lt=>function Fe(...ht){return function tt(ht,Ne){const Ot=function nt(ht,Ne){return{defaultMergeFunctions:Ve,mergeFunctions:{...Ve,...Object.fromEntries(Object.entries(ht).filter(([Ot,Lt])=>Object.hasOwn(Ve,Ot)).map(([Ot,Lt])=>!1===Lt?[Ot,ne]:[Ot,Lt]))},metaDataUpdater:ht.metaDataUpdater??Q,deepmerge:Ne,useImplicitDefaultMerging:ht.enableImplicitDefaultMerging??!1,actions:h}}(ht,Lt);function Lt(...zt){return Rt(zt,Ot,Ne)}return Lt}({})(...ht)}(...Lt)))}}},7485(Yt,ve,a){a.d(ve,{R7:()=>zt,S4:()=>Ee,SI:()=>fe,ZY:()=>Xe,bM:()=>ot,m2:()=>ht});var O=a(1817),X=a(1567),B=a(6301),K=a(6647),j=a(6563),Pe=a(6124),L=a(4205),ne=a(9452),Ve=a(316),Fe=function(Y){return Y.Local="local_strategy",Y.Session="session_strategy",Y.InMemory="in_memory_strategy",Y}(Fe||{});class tt{static isStorageAvailable(Se){let Ce=!0;try{"object"==typeof Se?(Se.setItem("test-storage","foobar"),Se.removeItem("test-storage")):Ce=!1}catch{Ce=!1}return Ce}}function nt(){}const Rt="ngx-webstorage";let it=(()=>{class Y{static{this.prefix=Rt}static{this.separator="|"}static{this.isCaseSensitive=!1}static normalize(Ce){return Ce=Y.isCaseSensitive?Ce:Ce.toLowerCase(),`${Y.prefix}${Y.separator}${Ce}`}static isNormalizedKey(Ce){return 0===Ce.indexOf(Y.prefix+Y.separator)}static setPrefix(Ce){Y.prefix=Ce}static setSeparator(Ce){Y.separator=Ce}static setCaseSensitive(Ce){Y.isCaseSensitive=Ce}static consumeConfiguration(Ce){"prefix"in Ce&&this.setPrefix(Ce.prefix),"separator"in Ce&&this.setSeparator(Ce.separator),"caseSensitive"in Ce&&this.setCaseSensitive(Ce.caseSensitive)}
1}return Y})();class q{constructor(Se){this.strategy=Se}retrieve(Se){let Ce;return this.strategy.get(it.normalize(Se)).subscribe(ct=>Ce=typeof ct>"u"?null:ct),Ce}store(Se,Ce){return this.strategy.set(it.normalize(Se),Ce).subscribe(nt),Ce}clear(Se){void 0!==Se?this.strategy.del(it.normalize(Se)).subscribe(nt):this.strategy.clear().subscribe(nt)}getStrategyName(){return this.strategy.name}observe(Se){return Se=it.normalize(Se),this.strategy.keyChanges.pipe((0,X.p)(Ce=>null===Ce||Ce===Se),(0,K.n)(()=>this.strategy.get(Se)),(0,O.F)(),(0,B.t)({refCount:!0,bufferSize:1}))}}let N=(()=>{class Y{constructor(){this.caches={}}get(Ce,ct){return this.getCacheStore(Ce)[ct]}set(Ce,ct,_e){this.getCacheStore(Ce)[ct]=_e}del(Ce,ct){delete this.getCacheStore(Ce)[ct]}clear(Ce){this.caches[Ce]={}}getCacheStore(Ce){return Ce in this.caches?this.caches[Ce]:this.caches[Ce]={}}static{this.\u0275fac=function(ct){return new(ct||Y)}}static{this.\u0275prov=j.jDH({token:Y,factory:Y.\u0275fac,providedIn:"root"})}}return Y})();const U=new j.nKC("window_local_storage"),ie={provide:U,useFactory:function ce(){return typeof window<"u"?window.localStorage:null}},we=new j.nKC("window_session_storage"),de={provide:we,useFactory:function oe(){return typeof window<"u"?window.sessionStorage:null}};class He{constructor(Se,Ce){this.storage=Se,this.cache=Ce,this.keyChanges=new L.B}get isAvailable(){return void 0===this._isAvailable&&(this._isAvailable=tt.isStorageAvailable(this.storage)),this._isAvailable}get(Se){let Ce=this.cache.get(this.name,Se);if(void 0!==Ce)return(0,ne.of)(Ce);try{const ct=this.storage.getItem(Se);null!==ct&&(Ce=JSON.parse(ct),this.cache.set(this.name,Se,Ce))}catch(ct){console.warn(ct)}return(0,ne.of)(Ce)}set(Se,Ce){const ct=JSON.stringify(Ce);return this.storage.setItem(Se,ct),this.cache.set(this.name,Se,Ce),this.keyChanges.next(Se),(0,ne.of)(Ce)}del(Se){return this.storage.removeItem(Se),this.cache.del(this.name,Se),this.keyChanges.next(Se),(0,ne.of)(null)}clear(){return this.storage.clear(),this.cache.clear(this.name),this.keyChanges.next(null),(0,ne.of)(null)}}class Be extends He{static{this.strategyName=Fe.Local}constructor(Se,Ce,ct,_e){super(Se,Ce),this.storage=Se,this.cache=Ce,this.platformId=ct,this.zone=_e,this.name=Be.strategyName,(0,Ve.UE)(this.platformId)&&this.listenExternalChanges()}listenExternalChanges(){window.addEventListener("storage",Se=>this.zone.run(()=>{if(Se.storageArea!==this.storage)return;const Ce=Se.key;null!==Ce?this.cache.del(this.name,Se.key):this.cache.clear(this.name),this.keyChanges.next(Ce)}))}static{this.\u0275fac=function(Ce){return new(Ce||Be)(j.KVO(U),j.KVO(N),j.KVO(Pe.Agw),j.KVO(j.SKi))}}static{this.\u0275prov=j.jDH({token:Be,factory:Be.\u0275fac})}}class $e extends He{static{this.strategyName=Fe.Session}constructor(Se,Ce,ct,_e){super(Se,Ce),this.storage=Se,this.cache=Ce,this.platformId=ct,this.zone=_e,this.name=$e.strategyName,(0,Ve.UE)(this.platformId)&&this.listenExternalChanges()}listenExternalChanges(){window.addEventListener("storage",Se=>this.zone.run(()=>{if(Se.storageArea!==this.storage)return;const Ce=Se.key;null!==Se.key?this.cache.del(this.name,Se.key):this.cache.clear(this.name),this.keyChanges.next(Ce)}))}static{this.\u0275fac=function(Ce){return new(Ce||$e)(j.KVO(we),j.KVO(N),j.KVO(Pe.Agw),j.KVO(j.SKi))}}static{this.\u0275prov=j.jDH({token:$e,factory:$e.\u0275fac})}}class Te{static{this.strategyName=Fe.InMemory}constructor(Se){this.cache=Se,this.keyChanges=new L.B,this.isAvailable=!0,this.name=Te.strategyName}get(Se){return(0,ne.of)(this.cache.get(this.name,Se))}set(Se,Ce){return this.cache.set(this.name,Se,Ce),this.keyChanges.next(Se),(0,ne.of)(Ce)}del(Se){return this.cache.del(this.name,Se),this.keyChanges.next(Se),(0,ne.of)(null)}clear(){return this.cache.clear(this.name),this.keyChanges.next(null),(0,ne.of)(null)}static{this.\u0275fac=function(Ce){return new(Ce||Te)(j.KVO(N))}}static{this.\u0275prov=j.jDH({token:Te,factory:Te.\u0275fac})}}const le=new j.nKC("STORAGE_STRATEGIES"),pt=[{provide:le,useClass:Te,multi:!0},{provide:le,useClass:Be,multi:!0},{provide:le,useClass:$e,multi:!0}],[Ie,ze,Qe]=pt,kt="invalid_strategy";let ht=(()=>{class Y{static{this.index={}}constructor(Ce){this.strategies=Ce,this.registration$=new L.B,Ce||(Ce=[]),this.strategies=Ce.reverse().map((ct,_e,P)=>ct.name).map((ct,_e,P)=>P.indexOf(ct)===_e?_e:null).filter(ct=>null!==ct).map(ct=>Ce[ct])}static get(Ce){if(!this.isStrategyRegistered(Ce))throw Error(kt);let ct=this.index[Ce];return ct.isAvailable||(ct=this.index[Fe.InMemory]),ct}static set(Ce,ct){this.index[Ce]=ct}static clear(Ce){void 0!==Ce?delete this.index[Ce]:this.index={}}static isStrategyRegistered(Ce){return Ce in this.index}static hasRegistredStrategies(){return Object.keys(this.index).length>0}getStrategy(Ce){return Y.get(Ce)}
1indexStrategies(){this.strategies.forEach(Ce=>this.register(Ce.name,Ce))}indexStrategy(Ce,ct=!1){if(Y.isStrategyRegistered(Ce)&&!ct)return Y.get(Ce);const _e=this.strategies.find(P=>P.name===Ce);if(!_e)throw new Error(kt);return this.register(Ce,_e,ct),_e}register(Ce,ct,_e=!1){(!Y.isStrategyRegistered(Ce)||_e)&&(Y.set(Ce,ct),this.registration$.next(Ce))}static{this.\u0275fac=function(ct){return new(ct||Y)(j.KVO(le,8))}}static{this.\u0275prov=j.jDH({token:Y,factory:Y.\u0275fac,providedIn:"root"})}}return Y})();const Lt={provide:class Ne extends q{},useFactory:function Ot(Y){const Se=Y.indexStrategy(Fe.Local);return new q(Se)},deps:[ht]};class zt extends q{}const Qt={provide:zt,useFactory:function rt(Y){const Se=Y.indexStrategy(Fe.Session);return new q(Se)},deps:[ht]},yt=new j.nKC("ngx_webstorage_config");var Me=function(Y){return Y[Y.Config=1]="Config",Y[Y.LocalStorage=2]="LocalStorage",Y[Y.SessionStorage=3]="SessionStorage",Y}(Me||{});function Ee(...Y){const{configProvider:Se,featureProviders:Ce}=function i(Y){let Se;const Ce=[],ct=new Set;for(const _e of Y){if(ct.has(_e.kind))throw new Error(`Feature ${_e.kind} is already provided.`);_e.kind===Me.Config?Se=_e.providers[0]:Ce.push(..._e.providers),ct.add(_e.kind)}return{configProvider:Se??{provide:yt,useValue:{prefix:Rt,separator:"|",caseSensitive:false}},featureProviders:Ce}}(Y);return(0,j.EmA)([Se,Ie,(0,Pe.phd)(()=>function De(){const Y=(0,j.WQX)(yt),Se=(0,j.WQX)(ht);return()=>{it.consumeConfiguration(Y),Se.indexStrategies()}}()()),...Ce])}function ke(Y,Se){return{kind:Y,providers:Se}}function ot(Y){return ke(Me.Config,[{provide:yt,useValue:Y}])}function Xe(){return ke(Me.LocalStorage,[ie,Lt,ze])}function fe(){return ke(Me.SessionStorage,[de,Qt,Qe])}},1311(Yt,ve,a){a.d(ve,{A:()=>Pe});const h={randomUUID:typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};let g;const Q=new Uint8Array(16),E=[];for(let L=0;L<256;++L)E.push((L+256).toString(16).slice(1));function K(L,ne,Ve){const Fe=(L=L||{}).random??L.rng?.()??function D(){if(!g){if(typeof crypto>"u"||!crypto.getRandomValues)throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");g=crypto.getRandomValues.bind(crypto)}return g(Q)}();if(Fe.length<16)throw new Error("Random bytes length must be >= 16");if(Fe[6]=15&Fe[6]|64,Fe[8]=63&Fe[8]|128,ne){if((Ve=Ve||0)<0||Ve+16>ne.length)throw new RangeError(`UUID byte range ${Ve}:${Ve+15} is out of buffer bounds`);for(let tt=0;tt<16;++tt)ne[Ve+tt]=Fe[tt];return ne}return function O(L,ne=0){return(E[L[ne+0]]+E[L[ne+1]]+E[L[ne+2]]+E[L[ne+3]]+"-"+E[L[ne+4]]+E[L[ne+5]]+"-"+E[L[ne+6]]+E[L[ne+7]]+"-"+E[L[ne+8]]+E[L[ne+9]]+"-"+E[L[ne+10]]+E[L[ne+11]]+E[L[ne+12]]+E[L[ne+13]]+E[L[ne+14]]+E[L[ne+15]]).toLowerCase()}(Fe)}const Pe=function j(L,ne,Ve){return!h.randomUUID||ne||L?K(L,ne,Ve):h.randomUUID()}},9204(Yt,ve,a){function u(g,Q,D,I,E,O,X){try{var B=g[O](X),K=B.value}catch(j){return void D(j)}B.done?Q(K):Promise.resolve(K).then(I,E)}function h(g){return function(){var Q=this,D=arguments;return new Promise(function(I,E){var O=g.apply(Q,D);function X(K){u(O,I,E,X,B,"next",K)}function B(K){u(O,I,E,X,B,"throw",K)}X(void 0)})}}a.d(ve,{A:()=>h})}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.