Viewing File: /usr/local/cpanel/base/frontend/jupiter/dynamic-dns/vendor-89d5c698.js
"use strict";(self.webpackChunkdynamic_dns=self.webpackChunkdynamic_dns||[]).push([[538],{9660:(J,C,i)=>{i.r(C),i.d(C,{decode:()=>q,default:()=>F,encode:()=>m,toASCII:()=>h,toUnicode:()=>G,ucs2decode:()=>Ae,ucs2encode:()=>ee});const e=2147483647,p=36,d=/^xn--/,f=/[^\0-\x7E]/,R=/[\x2E\u3002\uFF0E\uFF61]/g,W={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},U=Math.floor,Y=String.fromCharCode;function ne(x){throw new RangeError(W[x])}function fe(x,B){const j=x.split("@");let oe="";j.length>1&&(oe=j[0]+"@",x=j[1]);const Me=function ae(x,B){const j=[];let oe=x.length;for(;oe--;)j[oe]=B(x[oe]);return j}((x=x.replace(R,".")).split("."),B).join(".");return oe+Me}function Ae(x){const B=[];let j=0;const oe=x.length;for(;j<oe;){const me=x.charCodeAt(j++);if(me>=55296&&me<=56319&&j<oe){const Me=x.charCodeAt(j++);56320==(64512&Me)?B.push(((1023&me)<<10)+(1023&Me)+65536):(B.push(me),j--)}else B.push(me)}return B}const ee=x=>String.fromCodePoint(...x),X=function(x){return x-48<10?x-22:x-65<26?x-65:x-97<26?x-97:p},se=function(x,B){return x+22+75*(x<26)-((0!=B)<<5)},Z=function(x,B,j){let oe=0;for(x=j?U(x/700):x>>1,x+=U(x/B);x>455;oe+=p)x=U(x/35);return U(oe+36*x/(x+38))},q=function(x){const B=[],j=x.length;let oe=0,me=128,Me=72,ce=x.lastIndexOf("-");ce<0&&(ce=0);for(let Ie=0;Ie<ce;++Ie)x.charCodeAt(Ie)>=128&&ne("not-basic"),B.push(x.charCodeAt(Ie));for(let Ie=ce>0?ce+1:0;Ie<j;){let We=oe;for(let He=1,Xe=p;;Xe+=p){Ie>=j&&ne("invalid-input");const Ge=X(x.charCodeAt(Ie++));(Ge>=p||Ge>U((e-oe)/He))&&ne("overflow"),oe+=Ge*He;const ze=Xe<=Me?1:Xe>=Me+26?26:Xe-Me;if(Ge<ze)break;const tt=p-ze;He>U(e/tt)&&ne("overflow"),He*=tt}const ke=B.length+1;Me=Z(oe-We,ke,0==We),U(oe/ke)>e-me&&ne("overflow"),me+=U(oe/ke),oe%=ke,B.splice(oe++,0,me)}return String.fromCodePoint(...B)},m=function(x){const B=[];let j=(x=Ae(x)).length,oe=128,me=0,Me=72;for(const We of x)We<128&&B.push(Y(We));let ce=B.length,Ie=ce;for(ce&&B.push("-");Ie<j;){let We=e;for(const He of x)He>=oe&&He<We&&(We=He);const ke=Ie+1;We-oe>U((e-me)/ke)&&ne("overflow"),me+=(We-oe)*ke,oe=We;for(const He of x)if(He<oe&&++me>e&&ne("overflow"),He==oe){let Xe=me;for(let Ge=p;;Ge+=p){const ze=Ge<=Me?1:Ge>=Me+26?26:Ge-Me;if(Xe<ze)break;const tt=Xe-ze,Je=p-ze;B.push(Y(se(ze+tt%Je,0))),Xe=U(tt/Je)}B.push(Y(se(Xe,0))),Me=Z(me,ke,Ie==ce),me=0,++Ie}++me,++oe}return B.join("")},G=function(x){return fe(x,function(B){return d.test(B)?q(B.slice(4).toLowerCase()):B})},h=function(x){return fe(x,function(B){return f.test(B)?"xn--"+m(B):B})},F={version:"2.1.0",ucs2:{decode:Ae,encode:ee},decode:q,encode:m,toASCII:h,toUnicode:G}},4412:(J,C,i)=>{i.d(C,{t:()=>p});var e=i(1413);class p extends e.B{constructor(E){super(),this._value=E}get value(){return this.getValue()}_subscribe(E){const _=super._subscribe(E);return!_.closed&&E.next(this._value),_}getValue(){const{hasError:E,thrownError:_,_value:P}=this;if(E)throw _;return this._throwIfClosed(),P}next(E){super.next(this._value=E)}}},1985:(J,C,i)=>{i.d(C,{c:()=>y});var e=i(7707),p=i(8359),v=i(3494),E=i(1203),_=i(1026),P=i(8071),w=i(9786);let y=(()=>{class R{constructor(N){N&&(this._subscribe=N)}lift(N){const U=new R;return U.source=this,U.operator=N,U}subscribe(N,U,Y){const ne=function f(R){return R&&R instanceof e.vU||function d(R){return R&&(0,P.T)(R.next)&&(0,P.T)(R.error)&&(0,P.T)(R.complete)}(R)&&(0,p.Uv)(R)}(N)?N:new e.Ms(N,U,Y);return(0,w.Y)(()=>{const{operator:ae,source:fe}=this;ne.add(ae?ae.call(ne,fe):fe?this._subscribe(ne):this._trySubscribe(ne))}),ne}_trySubscribe(N){try{return this._subscribe(N)}catch(U){N.error(U)}}forEach(N,U){return new(U=D(U))((Y,ne)=>{const ae=new e.Ms({next:fe=>{try{N(fe)}catch(Ae){ne(Ae),ae.unsubscribe()}},error:ne,complete:Y});this.subscribe(ae)})}_subscribe(N){var U;return null===(U=this.source)||void 0===U?void 0:U.subscribe(N)}[v.s](){return this}pipe(...N){return(0,E.m)(N)(this)}toPromise(N){return new(N=D(N))((U,Y)=>{let ne;this.subscribe(ae=>ne=ae,ae=>Y(ae),()=>U(ne))})}}return R.create=W=>new R(W),R})();function D(R){var W;return null!==(W=R??_.$.Promise)&&void 0!==W?W:Promise}},1413:(J,C,i)=>{i.d(C,{B:()=>w});var e=i(1985),p=i(8359);const E=(0,i(1853).L)(D=>function(){D(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var _=i(7908),P=i(9786);let w=(()=>{class D extends e.c{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(f){const R=new y(this,this);return R.operator=f,R}_throwIfClosed(){if(this.closed)throw new E}next(f){(0,P.Y)(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const R of this.currentObservers)R.next(f)}})}error(f){(0,P.Y)(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=f;const{observers:R}=this;for(;R.length;)R.shift().error(f)}})}complete(){(0,P.Y)(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:f}=this;for(;f.length;)f.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var f;return(null===(f=this.observers)||void 0===f?void 0:f.length)>0}_trySubscribe(f){return this._throwIfClosed(),super._trySubscribe(f)}_subscribe(f){return this._throwIfClosed(),this._checkFinalizedStatuses(f),this._innerSubscribe(f)}_innerSubscribe(f){const{hasError:R,isStopped:W,observers:N}=this;return R||W?p.Kn:(this.currentObservers=null,N.push(f),new p.yU(()=>{this.currentObservers=null,(0,_.o)(N,f)}))}_checkFinalizedStatuses(f){const{hasError:R,thrownError:W,isStopped:N}=this;R?f.error(W):N&&f.complete()}asObservable(){const f=new e.c;return f.source=this,f}}return D.create=(d,f)=>new y(d,f),D})();class y extends w{constructor(d,f){super(),this.destination=d,this.source=f}next(d){var f,R;null===(R=null===(f=this.destination)||void 0===f?void 0:f.next)||void 0===R||R.call(f,d)}error(d){var f,R;null===(R=null===(f=this.destination)||void 0===f?void 0:f.error)||void 0===R||R.call(f,d)}complete(){var d,f;null===(f=null===(d=this.destination)||void 0===d?void 0:d.complete)||void 0===f||f.call(d)}_subscribe(d){var f,R;return null!==(R=null===(f=this.source)||void 0===f?void 0:f.subscribe(d))&&void 0!==R?R:p.Kn}}},7707:(J,C,i)=>{i.d(C,{Ms:()=>Y,vU:()=>R});var e=i(8071),p=i(8359),v=i(1026),E=i(5334),_=i(5343);const P=D("C",void 0,void 0);function D(ee,X,se){return{kind:ee,value:X,error:se}}var d=i(9270),f=i(9786);class R extends p.yU{constructor(X){super(),this.isStopped=!1,X?(this.destination=X,(0,p.Uv)(X)&&X.add(this)):this.destination=Ae}static create(X,se,Z){return new Y(X,se,Z)}next(X){this.isStopped?fe(function y(ee){return D("N",ee,void 0)}(X),this):this._next(X)}error(X){this.isStopped?fe(function w(ee){return D("E",void 0,ee)}(X),this):(this.isStopped=!0,this._error(X))}complete(){this.isStopped?fe(P,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(X){this.destination.next(X)}_error(X){try{this.destination.error(X)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const W=Function.prototype.bind;function N(ee,X){return W.call(ee,X)}class U{constructor(X){this.partialObserver=X}next(X){const{partialObserver:se}=this;if(se.next)try{se.next(X)}catch(Z){ne(Z)}}error(X){const{partialObserver:se}=this;if(se.error)try{se.error(X)}catch(Z){ne(Z)}else ne(X)}complete(){const{partialObserver:X}=this;if(X.complete)try{X.complete()}catch(se){ne(se)}}}class Y extends R{constructor(X,se,Z){let q;if(super(),(0,e.T)(X)||!X)q={next:X??void 0,error:se??void 0,complete:Z??void 0};else{let m;this&&v.$.useDeprecatedNextContext?(m=Object.create(X),m.unsubscribe=()=>this.unsubscribe(),q={next:X.next&&N(X.next,m),error:X.error&&N(X.error,m),complete:X.complete&&N(X.complete,m)}):q=X}this.destination=new U(q)}}function ne(ee){v.$.useDeprecatedSynchronousErrorHandling?(0,f.l)(ee):(0,E.m)(ee)}function fe(ee,X){const{onStoppedNotification:se}=v.$;se&&d.f.setTimeout(()=>se(ee,X))}const Ae={closed:!0,next:_.l,error:function ae(ee){throw ee},complete:_.l}},8359:(J,C,i)=>{i.d(C,{Kn:()=>P,yU:()=>_,Uv:()=>w});var e=i(8071);const v=(0,i(1853).L)(D=>function(f){D(this),this.message=f?`${f.length} errors occurred during unsubscription:\n${f.map((R,W)=>`${W+1}) ${R.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=f});var E=i(7908);class _{constructor(d){this.initialTeardown=d,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let d;if(!this.closed){this.closed=!0;const{_parentage:f}=this;if(f)if(this._parentage=null,Array.isArray(f))for(const N of f)N.remove(this);else f.remove(this);const{initialTeardown:R}=this;if((0,e.T)(R))try{R()}catch(N){d=N instanceof v?N.errors:[N]}const{_finalizers:W}=this;if(W){this._finalizers=null;for(const N of W)try{y(N)}catch(U){d=d??[],U instanceof v?d=[...d,...U.errors]:d.push(U)}}if(d)throw new v(d)}}add(d){var f;if(d&&d!==this)if(this.closed)y(d);else{if(d instanceof _){if(d.closed||d._hasParent(this))return;d._addParent(this)}(this._finalizers=null!==(f=this._finalizers)&&void 0!==f?f:[]).push(d)}}_hasParent(d){const{_parentage:f}=this;return f===d||Array.isArray(f)&&f.includes(d)}_addParent(d){const{_parentage:f}=this;this._parentage=Array.isArray(f)?(f.push(d),f):f?[f,d]:d}_removeParent(d){const{_parentage:f}=this;f===d?this._parentage=null:Array.isArray(f)&&(0,E.o)(f,d)}remove(d){const{_finalizers:f}=this;f&&(0,E.o)(f,d),d instanceof _&&d._removeParent(this)}}_.EMPTY=(()=>{const D=new _;return D.closed=!0,D})();const P=_.EMPTY;function w(D){return D instanceof _||D&&"closed"in D&&(0,e.T)(D.remove)&&(0,e.T)(D.add)&&(0,e.T)(D.unsubscribe)}function y(D){(0,e.T)(D)?D():D.unsubscribe()}},1026:(J,C,i)=>{i.d(C,{$:()=>e});const e={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},17:(J,C,i)=>{i.d(C,{G:()=>P});var e=i(1985),p=i(8359),v=i(9898),E=i(4360),_=i(9974);class P extends e.c{constructor(y,D){super(),this.source=y,this.subjectFactory=D,this._subject=null,this._refCount=0,this._connection=null,(0,_.S)(y)&&(this.lift=y.lift)}_subscribe(y){return this.getSubject().subscribe(y)}getSubject(){const y=this._subject;return(!y||y.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:y}=this;this._subject=this._connection=null,y?.unsubscribe()}connect(){let y=this._connection;if(!y){y=this._connection=new p.yU;const D=this.getSubject();y.add(this.source.subscribe((0,E._)(D,void 0,()=>{this._teardown(),D.complete()},d=>{this._teardown(),D.error(d)},()=>this._teardown()))),y.closed&&(this._connection=null,y=p.yU.EMPTY)}return y}refCount(){return(0,v.B)()(this)}}},4572:(J,C,i)=>{i.d(C,{z:()=>d});var e=i(1985),p=i(3073),v=i(6648),E=i(3669),_=i(6450),P=i(9326),w=i(8496),y=i(4360),D=i(5225);function d(...W){const N=(0,P.lI)(W),U=(0,P.ms)(W),{args:Y,keys:ne}=(0,p.D)(W);if(0===Y.length)return(0,v.H)([],N);const ae=new e.c(function f(W,N,U=E.D){return Y=>{R(N,()=>{const{length:ne}=W,ae=new Array(ne);let fe=ne,Ae=ne;for(let ee=0;ee<ne;ee++)R(N,()=>{const X=(0,v.H)(W[ee],N);let se=!1;X.subscribe((0,y._)(Y,Z=>{ae[ee]=Z,se||(se=!0,Ae--),Ae||Y.next(U(ae.slice()))},()=>{--fe||Y.complete()}))},Y)},Y)}}(Y,N,ne?fe=>(0,w.e)(ne,fe):E.D));return U?ae.pipe((0,_.I)(U)):ae}function R(W,N,U){W?(0,D.N)(U,W,N):N()}},8793:(J,C,i)=>{i.d(C,{x:()=>_});var e=i(6365),v=i(9326),E=i(6648);function _(...P){return function p(){return(0,e.U)(1)}()((0,E.H)(P,(0,v.lI)(P)))}},9030:(J,C,i)=>{i.d(C,{v:()=>v});var e=i(1985),p=i(8750);function v(E){return new e.c(_=>{(0,p.Tg)(E()).subscribe(_)})}},983:(J,C,i)=>{i.d(C,{w:()=>p});const p=new(i(1985).c)(_=>_.complete())},7468:(J,C,i)=>{i.d(C,{p:()=>y});var e=i(1985),p=i(3073),v=i(8750),E=i(9326),_=i(4360),P=i(6450),w=i(8496);function y(...D){const d=(0,E.ms)(D),{args:f,keys:R}=(0,p.D)(D),W=new e.c(N=>{const{length:U}=f;if(!U)return void N.complete();const Y=new Array(U);let ne=U,ae=U;for(let fe=0;fe<U;fe++){let Ae=!1;(0,v.Tg)(f[fe]).subscribe((0,_._)(N,ee=>{Ae||(Ae=!0,ae--),Y[fe]=ee},()=>ne--,void 0,()=>{(!ne||!Ae)&&(ae||N.next(R?(0,w.e)(R,Y):Y),N.complete())}))}});return d?W.pipe((0,P.I)(d)):W}},6648:(J,C,i)=>{i.d(C,{H:()=>Z});var e=i(8750),p=i(5225),v=i(9974),E=i(4360);function _(q,m=0){return(0,v.N)((G,h)=>{G.subscribe((0,E._)(h,A=>(0,p.N)(h,q,()=>h.next(A),m),()=>(0,p.N)(h,q,()=>h.complete(),m),A=>(0,p.N)(h,q,()=>h.error(A),m)))})}function P(q,m=0){return(0,v.N)((G,h)=>{h.add(q.schedule(()=>G.subscribe(h),m))})}var D=i(1985),f=i(4761),R=i(8071);function N(q,m){if(!q)throw new Error("Iterable cannot be null");return new D.c(G=>{(0,p.N)(G,m,()=>{const h=q[Symbol.asyncIterator]();(0,p.N)(G,m,()=>{h.next().then(A=>{A.done?G.complete():G.next(A.value)})},0,!0)})})}var U=i(5055),Y=i(9858),ne=i(7441),ae=i(5397),fe=i(7953),Ae=i(591),ee=i(5196);function Z(q,m){return m?function se(q,m){if(null!=q){if((0,U.l)(q))return function w(q,m){return(0,e.Tg)(q).pipe(P(m),_(m))}(q,m);if((0,ne.X)(q))return function d(q,m){return new D.c(G=>{let h=0;return m.schedule(function(){h===q.length?G.complete():(G.next(q[h++]),G.closed||this.schedule())})})}(q,m);if((0,Y.y)(q))return function y(q,m){return(0,e.Tg)(q).pipe(P(m),_(m))}(q,m);if((0,fe.T)(q))return N(q,m);if((0,ae.x)(q))return function W(q,m){return new D.c(G=>{let h;return(0,p.N)(G,m,()=>{h=q[f.l](),(0,p.N)(G,m,()=>{let A,F;try{({value:A,done:F}=h.next())}catch(x){return void G.error(x)}F?G.complete():G.next(A)},0,!0)}),()=>(0,R.T)(h?.return)&&h.return()})}(q,m);if((0,ee.U)(q))return function X(q,m){return N((0,ee.C)(q),m)}(q,m)}throw(0,Ae.L)(q)}(q,m):(0,e.Tg)(q)}},3726:(J,C,i)=>{i.d(C,{R:()=>d});var e=i(8750),p=i(1985),v=i(1397),E=i(7441),_=i(8071),P=i(6450);const w=["addListener","removeListener"],y=["addEventListener","removeEventListener"],D=["on","off"];function d(U,Y,ne,ae){if((0,_.T)(ne)&&(ae=ne,ne=void 0),ae)return d(U,Y,ne).pipe((0,P.I)(ae));const[fe,Ae]=function N(U){return(0,_.T)(U.addEventListener)&&(0,_.T)(U.removeEventListener)}(U)?y.map(ee=>X=>U[ee](Y,X,ne)):function R(U){return(0,_.T)(U.addListener)&&(0,_.T)(U.removeListener)}(U)?w.map(f(U,Y)):function W(U){return(0,_.T)(U.on)&&(0,_.T)(U.off)}(U)?D.map(f(U,Y)):[];if(!fe&&(0,E.X)(U))return(0,v.Z)(ee=>d(ee,Y,ne))((0,e.Tg)(U));if(!fe)throw new TypeError("Invalid event target");return new p.c(ee=>{const X=(...se)=>ee.next(1<se.length?se:se[0]);return fe(X),()=>Ae(X)})}function f(U,Y){return ne=>ae=>U[ne](Y,ae)}},8750:(J,C,i)=>{i.d(C,{Tg:()=>W});var e=i(5215),p=i(7441),v=i(9858),E=i(1985),_=i(5055),P=i(7953),w=i(591),y=i(5397),D=i(5196),d=i(8071),f=i(5334),R=i(3494);function W(ee){if(ee instanceof E.c)return ee;if(null!=ee){if((0,_.l)(ee))return function N(ee){return new E.c(X=>{const se=ee[R.s]();if((0,d.T)(se.subscribe))return se.subscribe(X);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(ee);if((0,p.X)(ee))return function U(ee){return new E.c(X=>{for(let se=0;se<ee.length&&!X.closed;se++)X.next(ee[se]);X.complete()})}(ee);if((0,v.y)(ee))return function Y(ee){return new E.c(X=>{ee.then(se=>{X.closed||(X.next(se),X.complete())},se=>X.error(se)).then(null,f.m)})}(ee);if((0,P.T)(ee))return ae(ee);if((0,y.x)(ee))return function ne(ee){return new E.c(X=>{for(const se of ee)if(X.next(se),X.closed)return;X.complete()})}(ee);if((0,D.U)(ee))return function fe(ee){return ae((0,D.C)(ee))}(ee)}throw(0,w.L)(ee)}function ae(ee){return new E.c(X=>{(function Ae(ee,X){var se,Z,q,m;return(0,e.sH)(this,void 0,void 0,function*(){try{for(se=(0,e.xN)(ee);!(Z=yield se.next()).done;)if(X.next(Z.value),X.closed)return}catch(G){q={error:G}}finally{try{Z&&!Z.done&&(m=se.return)&&(yield m.call(se))}finally{if(q)throw q.error}}X.complete()})})(ee,X).catch(se=>X.error(se))})}},7786:(J,C,i)=>{i.d(C,{h:()=>P});var e=i(6365),p=i(8750),v=i(983),E=i(9326),_=i(6648);function P(...w){const y=(0,E.lI)(w),D=(0,E.R0)(w,1/0),d=w;return d.length?1===d.length?(0,p.Tg)(d[0]):(0,e.U)(D)((0,_.H)(d,y)):v.w}},7673:(J,C,i)=>{i.d(C,{of:()=>v});var e=i(9326),p=i(6648);function v(...E){const _=(0,e.lI)(E);return(0,p.H)(E,_)}},8810:(J,C,i)=>{i.d(C,{$:()=>v});var e=i(1985),p=i(8071);function v(E,_){const P=(0,p.T)(E)?E:()=>E,w=y=>y.error(P());return new e.c(_?y=>_.schedule(w,0,y):w)}},4360:(J,C,i)=>{i.d(C,{_:()=>p});var e=i(7707);function p(E,_,P,w,y){return new v(E,_,P,w,y)}class v extends e.vU{constructor(_,P,w,y,D,d){super(_),this.onFinalize=D,this.shouldUnsubscribe=d,this._next=P?function(f){try{P(f)}catch(R){_.error(R)}}:super._next,this._error=y?function(f){try{y(f)}catch(R){_.error(R)}finally{this.unsubscribe()}}:super._error,this._complete=w?function(){try{w()}catch(f){_.error(f)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var _;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:P}=this;super.unsubscribe(),!P&&(null===(_=this.onFinalize)||void 0===_||_.call(this))}}}},9437:(J,C,i)=>{i.d(C,{W:()=>E});var e=i(8750),p=i(4360),v=i(9974);function E(_){return(0,v.N)((P,w)=>{let d,y=null,D=!1;y=P.subscribe((0,p._)(w,void 0,void 0,f=>{d=(0,e.Tg)(_(f,E(_)(P))),y?(y.unsubscribe(),y=null,d.subscribe(w)):D=!0})),D&&(y.unsubscribe(),y=null,d.subscribe(w))})}},274:(J,C,i)=>{i.d(C,{H:()=>v});var e=i(1397),p=i(8071);function v(E,_){return(0,p.T)(_)?(0,e.Z)(E,_,1):(0,e.Z)(E,1)}},152:(J,C,i)=>{i.d(C,{B:()=>E});var e=i(3236),p=i(9974),v=i(4360);function E(_,P=e.E){return(0,p.N)((w,y)=>{let D=null,d=null,f=null;const R=()=>{if(D){D.unsubscribe(),D=null;const N=d;d=null,y.next(N)}};function W(){const N=f+_,U=P.now();if(U<N)return D=this.schedule(void 0,N-U),void y.add(D);R()}w.subscribe((0,v._)(y,N=>{d=N,f=P.now(),D||(D=P.schedule(W,_),y.add(D))},()=>{R(),y.complete()},void 0,()=>{d=D=null}))})}},9901:(J,C,i)=>{i.d(C,{U:()=>v});var e=i(9974),p=i(4360);function v(E){return(0,e.N)((_,P)=>{let w=!1;_.subscribe((0,p._)(P,y=>{w=!0,P.next(y)},()=>{w||P.next(E),P.complete()}))})}},3294:(J,C,i)=>{i.d(C,{F:()=>E});var e=i(3669),p=i(9974),v=i(4360);function E(P,w=e.D){return P=P??_,(0,p.N)((y,D)=>{let d,f=!0;y.subscribe((0,v._)(D,R=>{const W=w(R);(f||!P(d,W))&&(f=!1,d=W,D.next(R))}))})}function _(P,w){return P===w}},5964:(J,C,i)=>{i.d(C,{p:()=>v});var e=i(9974),p=i(4360);function v(E,_){return(0,e.N)((P,w)=>{let y=0;P.subscribe((0,p._)(w,D=>E.call(_,D,y++)&&w.next(D)))})}},980:(J,C,i)=>{i.d(C,{j:()=>p});var e=i(9974);function p(v){return(0,e.N)((E,_)=>{try{E.subscribe(_)}finally{_.add(v)}})}},1594:(J,C,i)=>{i.d(C,{$:()=>w});var e=i(9350),p=i(5964),v=i(6697),E=i(9901),_=i(3774),P=i(3669);function w(y,D){const d=arguments.length>=2;return f=>f.pipe(y?(0,p.p)((R,W)=>y(R,W,f)):P.D,(0,v.s)(1),d?(0,E.U)(D):(0,_.v)(()=>new e.G))}},7018:(J,C,i)=>{i.d(C,{H:()=>w});var e=i(9350),p=i(5964),v=i(5109),E=i(3774),_=i(9901),P=i(3669);function w(y,D){const d=arguments.length>=2;return f=>f.pipe(y?(0,p.p)((R,W)=>y(R,W,f)):P.D,(0,v.o)(1),d?(0,_.U)(D):(0,E.v)(()=>new e.G))}},6354:(J,C,i)=>{i.d(C,{T:()=>v});var e=i(9974),p=i(4360);function v(E,_){return(0,e.N)((P,w)=>{let y=0;P.subscribe((0,p._)(w,D=>{w.next(E.call(_,D,y++))}))})}},3703:(J,C,i)=>{i.d(C,{u:()=>p});var e=i(6354);function p(v){return(0,e.T)(()=>v)}},6365:(J,C,i)=>{i.d(C,{U:()=>v});var e=i(1397),p=i(3669);function v(E=1/0){return(0,e.Z)(p.D,E)}},1397:(J,C,i)=>{i.d(C,{Z:()=>y});var e=i(6354),p=i(8750),v=i(9974),E=i(5225),_=i(4360),w=i(8071);function y(D,d,f=1/0){return(0,w.T)(d)?y((R,W)=>(0,e.T)((N,U)=>d(R,N,W,U))((0,p.Tg)(D(R,W))),f):("number"==typeof d&&(f=d),(0,v.N)((R,W)=>function P(D,d,f,R,W,N,U,Y){const ne=[];let ae=0,fe=0,Ae=!1;const ee=()=>{Ae&&!ne.length&&!ae&&d.complete()},X=Z=>ae<R?se(Z):ne.push(Z),se=Z=>{N&&d.next(Z),ae++;let q=!1;(0,p.Tg)(f(Z,fe++)).subscribe((0,_._)(d,m=>{W?.(m),N?X(m):d.next(m)},()=>{q=!0},void 0,()=>{if(q)try{for(ae--;ne.length&&ae<R;){const m=ne.shift();U?(0,E.N)(d,U,()=>se(m)):se(m)}ee()}catch(m){d.error(m)}}))};return D.subscribe((0,_._)(d,X,()=>{Ae=!0,ee()})),()=>{Y?.()}}(R,W,D,f)))}},9898:(J,C,i)=>{i.d(C,{B:()=>v});var e=i(9974),p=i(4360);function v(){return(0,e.N)((E,_)=>{let P=null;E._refCount++;const w=(0,p._)(_,void 0,void 0,void 0,()=>{if(!E||E._refCount<=0||0<--E._refCount)return void(P=null);const y=E._connection,D=P;P=null,y&&(!D||y===D)&&y.unsubscribe(),_.unsubscribe()});E.subscribe(w),w.closed||(P=E.connect())})}},2816:(J,C,i)=>{i.d(C,{S:()=>E});var e=i(9974),p=i(4360);function E(_,P){return(0,e.N)(function v(_,P,w,y,D){return(d,f)=>{let R=w,W=P,N=0;d.subscribe((0,p._)(f,U=>{const Y=N++;W=R?_(W,U,Y):(R=!0,U),y&&f.next(W)},D&&(()=>{R&&f.next(W),f.complete()})))}}(_,P,arguments.length>=2,!0))}},253:(J,C,i)=>{i.d(C,{t:()=>D});var e=i(1413),p=i(6129);class v extends e.B{constructor(f=1/0,R=1/0,W=p.U){super(),this._bufferSize=f,this._windowTime=R,this._timestampProvider=W,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=R===1/0,this._bufferSize=Math.max(1,f),this._windowTime=Math.max(1,R)}next(f){const{isStopped:R,_buffer:W,_infiniteTimeWindow:N,_timestampProvider:U,_windowTime:Y}=this;R||(W.push(f),!N&&W.push(U.now()+Y)),this._trimBuffer(),super.next(f)}_subscribe(f){this._throwIfClosed(),this._trimBuffer();const R=this._innerSubscribe(f),{_infiniteTimeWindow:W,_buffer:N}=this,U=N.slice();for(let Y=0;Y<U.length&&!f.closed;Y+=W?1:2)f.next(U[Y]);return this._checkFinalizedStatuses(f),R}_trimBuffer(){const{_bufferSize:f,_timestampProvider:R,_buffer:W,_infiniteTimeWindow:N}=this,U=(N?1:2)*f;if(f<1/0&&U<W.length&&W.splice(0,W.length-U),!N){const Y=R.now();let ne=0;for(let ae=1;ae<W.length&&W[ae]<=Y;ae+=2)ne=ae;ne&&W.splice(0,ne+1)}}}var E=i(8750),_=i(7707),P=i(9974);function y(d,f,...R){if(!0===f)return void d();if(!1===f)return;const W=new _.Ms({next:()=>{W.unsubscribe(),d()}});return f(...R).subscribe(W)}function D(d,f,R){let W,N=!1;return d&&"object"==typeof d?({bufferSize:W=1/0,windowTime:f=1/0,refCount:N=!1,scheduler:R}=d):W=d??1/0,function w(d={}){const{connector:f=()=>new e.B,resetOnError:R=!0,resetOnComplete:W=!0,resetOnRefCountZero:N=!0}=d;return U=>{let Y,ne,ae,fe=0,Ae=!1,ee=!1;const X=()=>{ne?.unsubscribe(),ne=void 0},se=()=>{X(),Y=ae=void 0,Ae=ee=!1},Z=()=>{const q=Y;se(),q?.unsubscribe()};return(0,P.N)((q,m)=>{fe++,!ee&&!Ae&&X();const G=ae=ae??f();m.add(()=>{fe--,0===fe&&!ee&&!Ae&&(ne=y(Z,N))}),G.subscribe(m),!Y&&fe>0&&(Y=new _.Ms({next:h=>G.next(h),error:h=>{ee=!0,X(),ne=y(se,R,h),G.error(h)},complete:()=>{Ae=!0,X(),ne=y(se,W),G.complete()}}),(0,E.Tg)(q).subscribe(Y))})(U)}}({connector:()=>new v(W,f,R),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:N})}},9172:(J,C,i)=>{i.d(C,{Z:()=>E});var e=i(8793),p=i(9326),v=i(9974);function E(..._){const P=(0,p.lI)(_);return(0,v.N)((w,y)=>{(P?(0,e.x)(_,w,P):(0,e.x)(_,w)).subscribe(y)})}},5558:(J,C,i)=>{i.d(C,{n:()=>E});var e=i(8750),p=i(9974),v=i(4360);function E(_,P){return(0,p.N)((w,y)=>{let D=null,d=0,f=!1;const R=()=>f&&!D&&y.complete();w.subscribe((0,v._)(y,W=>{D?.unsubscribe();let N=0;const U=d++;(0,e.Tg)(_(W,U)).subscribe(D=(0,v._)(y,Y=>y.next(P?P(W,Y,U,N++):Y),()=>{D=null,R()}))},()=>{f=!0,R()}))})}},6697:(J,C,i)=>{i.d(C,{s:()=>E});var e=i(983),p=i(9974),v=i(4360);function E(_){return _<=0?()=>e.w:(0,p.N)((P,w)=>{let y=0;P.subscribe((0,v._)(w,D=>{++y<=_&&(w.next(D),_<=y&&w.complete())}))})}},5109:(J,C,i)=>{i.d(C,{o:()=>E});var e=i(983),p=i(9974),v=i(4360);function E(_){return _<=0?()=>e.w:(0,p.N)((P,w)=>{let y=[];P.subscribe((0,v._)(w,D=>{y.push(D),_<y.length&&y.shift()},()=>{for(const D of y)w.next(D);w.complete()},void 0,()=>{y=null}))})}},6977:(J,C,i)=>{i.d(C,{Q:()=>_});var e=i(9974),p=i(4360),v=i(8750),E=i(5343);function _(P){return(0,e.N)((w,y)=>{(0,v.Tg)(P).subscribe((0,p._)(y,()=>y.complete(),E.l)),!y.closed&&w.subscribe(y)})}},8141:(J,C,i)=>{i.d(C,{M:()=>_});var e=i(8071),p=i(9974),v=i(4360),E=i(3669);function _(P,w,y){const D=(0,e.T)(P)||w||y?{next:P,error:w,complete:y}:P;return D?(0,p.N)((d,f)=>{var R;null===(R=D.subscribe)||void 0===R||R.call(D);let W=!0;d.subscribe((0,v._)(f,N=>{var U;null===(U=D.next)||void 0===U||U.call(D,N),f.next(N)},()=>{var N;W=!1,null===(N=D.complete)||void 0===N||N.call(D),f.complete()},N=>{var U;W=!1,null===(U=D.error)||void 0===U||U.call(D,N),f.error(N)},()=>{var N,U;W&&(null===(N=D.unsubscribe)||void 0===N||N.call(D)),null===(U=D.finalize)||void 0===U||U.call(D)}))}):E.D}},3774:(J,C,i)=>{i.d(C,{v:()=>E});var e=i(9350),p=i(9974),v=i(4360);function E(P=_){return(0,p.N)((w,y)=>{let D=!1;w.subscribe((0,v._)(y,d=>{D=!0,y.next(d)},()=>D?y.complete():y.error(P())))})}function _(){return new e.G}},6780:(J,C,i)=>{i.d(C,{R:()=>_});var e=i(8359);class p extends e.yU{constructor(w,y){super()}schedule(w,y=0){return this}}const v={setInterval(P,w,...y){const{delegate:D}=v;return D?.setInterval?D.setInterval(P,w,...y):setInterval(P,w,...y)},clearInterval(P){const{delegate:w}=v;return(w?.clearInterval||clearInterval)(P)},delegate:void 0};var E=i(7908);class _ extends p{constructor(w,y){super(w,y),this.scheduler=w,this.work=y,this.pending=!1}schedule(w,y=0){var D;if(this.closed)return this;this.state=w;const d=this.id,f=this.scheduler;return null!=d&&(this.id=this.recycleAsyncId(f,d,y)),this.pending=!0,this.delay=y,this.id=null!==(D=this.id)&&void 0!==D?D:this.requestAsyncId(f,this.id,y),this}requestAsyncId(w,y,D=0){return v.setInterval(w.flush.bind(w,this),D)}recycleAsyncId(w,y,D=0){if(null!=D&&this.delay===D&&!1===this.pending)return y;null!=y&&v.clearInterval(y)}execute(w,y){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const D=this._execute(w,y);if(D)return D;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(w,y){let d,D=!1;try{this.work(w)}catch(f){D=!0,d=f||new Error("Scheduled action threw falsy error")}if(D)return this.unsubscribe(),d}unsubscribe(){if(!this.closed){const{id:w,scheduler:y}=this,{actions:D}=y;this.work=this.state=this.scheduler=null,this.pending=!1,(0,E.o)(D,this),null!=w&&(this.id=this.recycleAsyncId(y,w,null)),this.delay=null,super.unsubscribe()}}}},9687:(J,C,i)=>{i.d(C,{q:()=>v});var e=i(6129);class p{constructor(_,P=p.now){this.schedulerActionCtor=_,this.now=P}schedule(_,P=0,w){return new this.schedulerActionCtor(this,_).schedule(w,P)}}p.now=e.U.now;class v extends p{constructor(_,P=p.now){super(_,P),this.actions=[],this._active=!1}flush(_){const{actions:P}=this;if(this._active)return void P.push(_);let w;this._active=!0;do{if(w=_.execute(_.state,_.delay))break}while(_=P.shift());if(this._active=!1,w){for(;_=P.shift();)_.unsubscribe();throw w}}}},536:(J,C,i)=>{i.d(C,{X:()=>w});var e=i(6780),p=i(8359);const v={schedule(D){let d=requestAnimationFrame,f=cancelAnimationFrame;const{delegate:R}=v;R&&(d=R.requestAnimationFrame,f=R.cancelAnimationFrame);const W=d(N=>{f=void 0,D(N)});return new p.yU(()=>f?.(W))},requestAnimationFrame(...D){const{delegate:d}=v;return(d?.requestAnimationFrame||requestAnimationFrame)(...D)},cancelAnimationFrame(...D){const{delegate:d}=v;return(d?.cancelAnimationFrame||cancelAnimationFrame)(...D)},delegate:void 0};var _=i(9687);const w=new class P extends _.q{flush(d){this._active=!0;const f=this._scheduled;this._scheduled=void 0;const{actions:R}=this;let W;d=d||R.shift();do{if(W=d.execute(d.state,d.delay))break}while((d=R[0])&&d.id===f&&R.shift());if(this._active=!1,W){for(;(d=R[0])&&d.id===f&&R.shift();)d.unsubscribe();throw W}}}(class E extends e.R{constructor(d,f){super(d,f),this.scheduler=d,this.work=f}requestAsyncId(d,f,R=0){return null!==R&&R>0?super.requestAsyncId(d,f,R):(d.actions.push(this),d._scheduled||(d._scheduled=v.requestAnimationFrame(()=>d.flush(void 0))))}recycleAsyncId(d,f,R=0){var W;if(null!=R?R>0:this.delay>0)return super.recycleAsyncId(d,f,R);const{actions:N}=d;null!=f&&(null===(W=N[N.length-1])||void 0===W?void 0:W.id)!==f&&(v.cancelAnimationFrame(f),d._scheduled=void 0)}})},3236:(J,C,i)=>{i.d(C,{E:()=>v,b:()=>E});var e=i(6780);const v=new(i(9687).q)(e.R),E=v},6129:(J,C,i)=>{i.d(C,{U:()=>e});const e={now:()=>(e.delegate||Date).now(),delegate:void 0}},9270:(J,C,i)=>{i.d(C,{f:()=>e});const e={setTimeout(p,v,...E){const{delegate:_}=e;return _?.setTimeout?_.setTimeout(p,v,...E):setTimeout(p,v,...E)},clearTimeout(p){const{delegate:v}=e;return(v?.clearTimeout||clearTimeout)(p)},delegate:void 0}},4761:(J,C,i)=>{i.d(C,{l:()=>p});const p=function e(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},3494:(J,C,i)=>{i.d(C,{s:()=>e});const e="function"==typeof Symbol&&Symbol.observable||"@@observable"},9350:(J,C,i)=>{i.d(C,{G:()=>p});const p=(0,i(1853).L)(v=>function(){v(this),this.name="EmptyError",this.message="no elements in sequence"})},9326:(J,C,i)=>{i.d(C,{R0:()=>P,lI:()=>_,ms:()=>E});var e=i(8071),p=i(9470);function v(w){return w[w.length-1]}function E(w){return(0,e.T)(v(w))?w.pop():void 0}function _(w){return(0,p.m)(v(w))?w.pop():void 0}function P(w,y){return"number"==typeof v(w)?w.pop():y}},3073:(J,C,i)=>{i.d(C,{D:()=>_});const{isArray:e}=Array,{getPrototypeOf:p,prototype:v,keys:E}=Object;function _(w){if(1===w.length){const y=w[0];if(e(y))return{args:y,keys:null};if(function P(w){return w&&"object"==typeof w&&p(w)===v}(y)){const D=E(y);return{args:D.map(d=>y[d]),keys:D}}}return{args:w,keys:null}}},7908:(J,C,i)=>{function e(p,v){if(p){const E=p.indexOf(v);0<=E&&p.splice(E,1)}}i.d(C,{o:()=>e})},1853:(J,C,i)=>{function e(p){const E=p(_=>{Error.call(_),_.stack=(new Error).stack});return E.prototype=Object.create(Error.prototype),E.prototype.constructor=E,E}i.d(C,{L:()=>e})},8496:(J,C,i)=>{function e(p,v){return p.reduce((E,_,P)=>(E[_]=v[P],E),{})}i.d(C,{e:()=>e})},9786:(J,C,i)=>{i.d(C,{Y:()=>v,l:()=>E});var e=i(1026);let p=null;function v(_){if(e.$.useDeprecatedSynchronousErrorHandling){const P=!p;if(P&&(p={errorThrown:!1,error:null}),_(),P){const{errorThrown:w,error:y}=p;if(p=null,w)throw y}}else _()}function E(_){e.$.useDeprecatedSynchronousErrorHandling&&p&&(p.errorThrown=!0,p.error=_)}},5225:(J,C,i)=>{function e(p,v,E,_=0,P=!1){const w=v.schedule(function(){E(),P?p.add(this.schedule(null,_)):this.unsubscribe()},_);if(p.add(w),!P)return w}i.d(C,{N:()=>e})},3669:(J,C,i)=>{function e(p){return p}i.d(C,{D:()=>e})},7441:(J,C,i)=>{i.d(C,{X:()=>e});const e=p=>p&&"number"==typeof p.length&&"function"!=typeof p},7953:(J,C,i)=>{i.d(C,{T:()=>p});var e=i(8071);function p(v){return Symbol.asyncIterator&&(0,e.T)(v?.[Symbol.asyncIterator])}},8071:(J,C,i)=>{function e(p){return"function"==typeof p}i.d(C,{T:()=>e})},5055:(J,C,i)=>{i.d(C,{l:()=>v});var e=i(3494),p=i(8071);function v(E){return(0,p.T)(E[e.s])}},5397:(J,C,i)=>{i.d(C,{x:()=>v});var e=i(4761),p=i(8071);function v(E){return(0,p.T)(E?.[e.l])}},4402:(J,C,i)=>{i.d(C,{A:()=>v});var e=i(1985),p=i(8071);function v(E){return!!E&&(E instanceof e.c||(0,p.T)(E.lift)&&(0,p.T)(E.subscribe))}},9858:(J,C,i)=>{i.d(C,{y:()=>p});var e=i(8071);function p(v){return(0,e.T)(v?.then)}},5196:(J,C,i)=>{i.d(C,{C:()=>v,U:()=>E});var e=i(5215),p=i(8071);function v(_){return(0,e.AQ)(this,arguments,function*(){const w=_.getReader();try{for(;;){const{value:y,done:D}=yield(0,e.N3)(w.read());if(D)return yield(0,e.N3)(void 0);yield yield(0,e.N3)(y)}}finally{w.releaseLock()}})}function E(_){return(0,p.T)(_?.getReader)}},9470:(J,C,i)=>{i.d(C,{m:()=>p});var e=i(8071);function p(v){return v&&(0,e.T)(v.schedule)}},9974:(J,C,i)=>{i.d(C,{N:()=>v,S:()=>p});var e=i(8071);function p(E){return(0,e.T)(E?.lift)}function v(E){return _=>{if(p(_))return _.lift(function(P){try{return E(P,this)}catch(w){this.error(w)}});throw new TypeError("Unable to lift unknown Observable type")}}},6450:(J,C,i)=>{i.d(C,{I:()=>E});var e=i(6354);const{isArray:p}=Array;function E(_){return(0,e.T)(P=>function v(_,P){return p(P)?_(...P):_(P)}(_,P))}},5343:(J,C,i)=>{function e(){}i.d(C,{l:()=>e})},1203:(J,C,i)=>{i.d(C,{F:()=>p,m:()=>v});var e=i(3669);function p(...E){return v(E)}function v(E){return 0===E.length?e.D:1===E.length?E[0]:function(P){return E.reduce((w,y)=>y(w),P)}}},5334:(J,C,i)=>{i.d(C,{m:()=>v});var e=i(1026),p=i(9270);function v(E){p.f.setTimeout(()=>{const{onUnhandledError:_}=e.$;if(!_)throw E;_(E)})}},591:(J,C,i)=>{function e(p){return new TypeError(`You provided ${null!==p&&"object"==typeof p?"an invalid object":`'${p}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}i.d(C,{L:()=>e})},6935:()=>{const J=globalThis;function C(g){return(J.__Zone_symbol_prefix||"__zone_symbol__")+g}const p=Object.getOwnPropertyDescriptor,v=Object.defineProperty,E=Object.getPrototypeOf,_=Object.create,P=Array.prototype.slice,w="addEventListener",y="removeEventListener",D=C(w),d=C(y),f="true",R="false",W=C("");function N(g,O){return Zone.current.wrap(g,O)}function U(g,O,V,b,k){return Zone.current.scheduleMacroTask(g,O,V,b,k)}const Y=C,ne=typeof window<"u",ae=ne?window:void 0,fe=ne&&ae||globalThis,Ae="removeAttribute";function ee(g,O){for(let V=g.length-1;V>=0;V--)"function"==typeof g[V]&&(g[V]=N(g[V],O+"_"+V));return g}function se(g){return!g||!1!==g.writable&&!("function"==typeof g.get&&typeof g.set>"u")}const Z=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope,q=!("nw"in fe)&&typeof fe.process<"u"&&"[object process]"===fe.process.toString(),m=!q&&!Z&&!(!ne||!ae.HTMLElement),G=typeof fe.process<"u"&&"[object process]"===fe.process.toString()&&!Z&&!(!ne||!ae.HTMLElement),h={},A=Y("enable_beforeunload"),F=function(g){if(!(g=g||fe.event))return;let O=h[g.type];O||(O=h[g.type]=Y("ON_PROPERTY"+g.type));const V=this||g.target||fe,b=V[O];let k;return m&&V===ae&&"error"===g.type?(k=b&&b.call(this,g.message,g.filename,g.lineno,g.colno,g.error),!0===k&&g.preventDefault()):(k=b&&b.apply(this,arguments),"beforeunload"===g.type&&fe[A]&&"string"==typeof k?g.returnValue=k:null!=k&&!k&&g.preventDefault()),k};function x(g,O,V){let b=p(g,O);if(!b&&V&&p(V,O)&&(b={enumerable:!0,configurable:!0}),!b||!b.configurable)return;const k=Y("on"+O+"patched");if(g.hasOwnProperty(k)&&g[k])return;delete b.writable,delete b.value;const te=b.get,pe=b.set,he=O.slice(2);let ge=h[he];ge||(ge=h[he]=Y("ON_PROPERTY"+he)),b.set=function(ye){let ue=this;!ue&&g===fe&&(ue=fe),ue&&("function"==typeof ue[ge]&&ue.removeEventListener(he,F),pe&&pe.call(ue,null),ue[ge]=ye,"function"==typeof ye&&ue.addEventListener(he,F,!1))},b.get=function(){let ye=this;if(!ye&&g===fe&&(ye=fe),!ye)return null;const ue=ye[ge];if(ue)return ue;if(te){let Ce=te.call(this);if(Ce)return b.set.call(this,Ce),"function"==typeof ye[Ae]&&ye.removeAttribute(O),Ce}return null},v(g,O,b),g[k]=!0}function B(g,O,V){if(O)for(let b=0;b<O.length;b++)x(g,"on"+O[b],V);else{const b=[];for(const k in g)"on"==k.slice(0,2)&&b.push(k);for(let k=0;k<b.length;k++)x(g,b[k],V)}}const j=Y("originalInstance");function oe(g){const O=fe[g];if(!O)return;fe[Y(g)]=O,fe[g]=function(){const k=ee(arguments,g);switch(k.length){case 0:this[j]=new O;break;case 1:this[j]=new O(k[0]);break;case 2:this[j]=new O(k[0],k[1]);break;case 3:this[j]=new O(k[0],k[1],k[2]);break;case 4:this[j]=new O(k[0],k[1],k[2],k[3]);break;default:throw new Error("Arg list too long.")}},ce(fe[g],O);const V=new O(function(){});let b;for(b in V)"XMLHttpRequest"===g&&"responseBlob"===b||function(k){"function"==typeof V[k]?fe[g].prototype[k]=function(){return this[j][k].apply(this[j],arguments)}:v(fe[g].prototype,k,{set:function(te){"function"==typeof te?(this[j][k]=N(te,g+"."+k),ce(this[j][k],te)):this[j][k]=te},get:function(){return this[j][k]}})}(b);for(b in O)"prototype"!==b&&O.hasOwnProperty(b)&&(fe[g][b]=O[b])}function me(g,O,V){let b=g;for(;b&&!b.hasOwnProperty(O);)b=E(b);!b&&g[O]&&(b=g);const k=Y(O);let te=null;if(b&&(!(te=b[k])||!b.hasOwnProperty(k))&&(te=b[k]=b[O],se(b&&p(b,O)))){const he=V(te,k,O);b[O]=function(){return he(this,arguments)},ce(b[O],te)}return te}function Me(g,O,V){let b=null;function k(te){const pe=te.data;return pe.args[pe.cbIdx]=function(){te.invoke.apply(this,arguments)},b.apply(pe.target,pe.args),te}b=me(g,O,te=>function(pe,he){const ge=V(pe,he);return ge.cbIdx>=0&&"function"==typeof he[ge.cbIdx]?U(ge.name,he[ge.cbIdx],ge,k):te.apply(pe,he)})}function ce(g,O){g[Y("OriginalDelegate")]=O}let Ie=!1,We=!1;function He(){if(Ie)return We;Ie=!0;try{const g=ae.navigator.userAgent;(-1!==g.indexOf("MSIE ")||-1!==g.indexOf("Trident/")||-1!==g.indexOf("Edge/"))&&(We=!0)}catch{}return We}function Xe(g){return"function"==typeof g}function Ge(g){return"number"==typeof g}let ze=!1;if(typeof window<"u")try{const g=Object.defineProperty({},"passive",{get:function(){ze=!0}});window.addEventListener("test",g,g),window.removeEventListener("test",g,g)}catch{ze=!1}const tt={useG:!0},Je={},lt={},ot=new RegExp("^"+W+"(\\w+)(true|false)$"),ct=Y("propagationStopped");function ht(g,O){const V=(O?O(g):g)+R,b=(O?O(g):g)+f,k=W+V,te=W+b;Je[g]={},Je[g][R]=k,Je[g][f]=te}function vt(g,O,V,b){const k=b&&b.add||w,te=b&&b.rm||y,pe=b&&b.listeners||"eventListeners",he=b&&b.rmAll||"removeAllListeners",ge=Y(k),ye="."+k+":",ue="prependListener",Ce="."+ue+":",Se=function(Ee,ie,xe){if(Ee.isRemoved)return;const Re=Ee.callback;let Ue;"object"==typeof Re&&Re.handleEvent&&(Ee.callback=_e=>Re.handleEvent(_e),Ee.originalDelegate=Re);try{Ee.invoke(Ee,ie,[xe])}catch(_e){Ue=_e}const Ne=Ee.options;return Ne&&"object"==typeof Ne&&Ne.once&&ie[te].call(ie,xe.type,Ee.originalDelegate?Ee.originalDelegate:Ee.callback,Ne),Ue};function ve(Ee,ie,xe){if(!(ie=ie||g.event))return;const Re=Ee||ie.target||g,Ue=Re[Je[ie.type][xe?f:R]];if(Ue){const Ne=[];if(1===Ue.length){const _e=Se(Ue[0],Re,ie);_e&&Ne.push(_e)}else{const _e=Ue.slice();for(let Ve=0;Ve<_e.length&&(!ie||!0!==ie[ct]);Ve++){const Te=Se(_e[Ve],Re,ie);Te&&Ne.push(Te)}}if(1===Ne.length)throw Ne[0];for(let _e=0;_e<Ne.length;_e++){const Ve=Ne[_e];O.nativeScheduleMicroTask(()=>{throw Ve})}}}const Le=function(Ee){return ve(this,Ee,!1)},Ye=function(Ee){return ve(this,Ee,!0)};function $e(Ee,ie){if(!Ee)return!1;let xe=!0;ie&&void 0!==ie.useG&&(xe=ie.useG);const Re=ie&&ie.vh;let Ue=!0;ie&&void 0!==ie.chkDup&&(Ue=ie.chkDup);let Ne=!1;ie&&void 0!==ie.rt&&(Ne=ie.rt);let _e=Ee;for(;_e&&!_e.hasOwnProperty(k);)_e=E(_e);if(!_e&&Ee[k]&&(_e=Ee),!_e||_e[ge])return!1;const Ve=ie&&ie.eventNameToString,Te={},Oe=_e[ge]=_e[k],be=_e[Y(te)]=_e[te],we=_e[Y(pe)]=_e[pe],Ze=_e[Y(he)]=_e[he];let Ke;ie&&ie.prepend&&(Ke=_e[Y(ie.prepend)]=_e[ie.prepend]);const S=xe?function(M){if(!Te.isExisting)return Oe.call(Te.target,Te.eventName,Te.capture?Ye:Le,Te.options)}:function(M){return Oe.call(Te.target,Te.eventName,M.invoke,Te.options)},I=xe?function(M){if(!M.isRemoved){const r=Je[M.eventName];let u;r&&(u=r[M.capture?f:R]);const t=u&&M.target[u];if(t)for(let l=0;l<t.length;l++)if(t[l]===M){t.splice(l,1),M.isRemoved=!0,M.removeAbortListener&&(M.removeAbortListener(),M.removeAbortListener=null),0===t.length&&(M.allRemoved=!0,M.target[u]=null);break}}if(M.allRemoved)return be.call(M.target,M.eventName,M.capture?Ye:Le,M.options)}:function(M){return be.call(M.target,M.eventName,M.invoke,M.options)},$=ie&&ie.diff?ie.diff:function(M,r){const u=typeof r;return"function"===u&&M.callback===r||"object"===u&&M.originalDelegate===r},Q=Zone[Y("UNPATCHED_EVENTS")],le=g[Y("PASSIVE_EVENTS")],z=function(M,r,u,t,l=!1,c=!1){return function(){const T=this||g;let L=arguments[0];ie&&ie.transferEventName&&(L=ie.transferEventName(L));let re=arguments[1];if(!re)return M.apply(this,arguments);if(q&&"uncaughtException"===L)return M.apply(this,arguments);let Pe=!1;if("function"!=typeof re){if(!re.handleEvent)return M.apply(this,arguments);Pe=!0}if(Re&&!Re(M,re,T,arguments))return;const Be=ze&&!!le&&-1!==le.indexOf(L),Qe=function H(M){if("object"==typeof M&&null!==M){const r={...M};return M.signal&&(r.signal=M.signal),r}return M}(function De(M,r){return!ze&&"object"==typeof M&&M?!!M.capture:ze&&r?"boolean"==typeof M?{capture:M,passive:!0}:M?"object"==typeof M&&!1!==M.passive?{...M,passive:!0}:M:{passive:!0}:M}(arguments[2],Be)),qe=Qe?.signal;if(qe?.aborted)return;if(Q)for(let it=0;it<Q.length;it++)if(L===Q[it])return Be?M.call(T,L,re,Qe):M.apply(this,arguments);const et=!!Qe&&("boolean"==typeof Qe||Qe.capture),Et=!(!Qe||"object"!=typeof Qe)&&Qe.once,Ft=Zone.current;let Mt=Je[L];Mt||(ht(L,Ve),Mt=Je[L]);const xt=Mt[et?f:R];let It,Ct=T[xt],Rt=!1;if(Ct){if(Rt=!0,Ue)for(let it=0;it<Ct.length;it++)if($(Ct[it],re))return}else Ct=T[xt]=[];const Lt=T.constructor.name,kt=lt[Lt];kt&&(It=kt[L]),It||(It=Lt+r+(Ve?Ve(L):L)),Te.options=Qe,Et&&(Te.options.once=!1),Te.target=T,Te.capture=et,Te.eventName=L,Te.isExisting=Rt;const At=xe?tt:void 0;At&&(At.taskData=Te),qe&&(Te.options.signal=void 0);const st=Ft.scheduleEventTask(It,re,At,u,t);if(qe){Te.options.signal=qe;const it=()=>st.zone.cancelTask(st);M.call(qe,"abort",it,{once:!0}),st.removeAbortListener=()=>qe.removeEventListener("abort",it)}return Te.target=null,At&&(At.taskData=null),Et&&(Te.options.once=!0),!ze&&"boolean"==typeof st.options||(st.options=Qe),st.target=T,st.capture=et,st.eventName=L,Pe&&(st.originalDelegate=re),c?Ct.unshift(st):Ct.push(st),l?T:void 0}};return _e[k]=z(Oe,ye,S,I,Ne),Ke&&(_e[ue]=z(Ke,Ce,function(M){return Ke.call(Te.target,Te.eventName,M.invoke,Te.options)},I,Ne,!0)),_e[te]=function(){const M=this||g;let r=arguments[0];ie&&ie.transferEventName&&(r=ie.transferEventName(r));const u=arguments[2],t=!!u&&("boolean"==typeof u||u.capture),l=arguments[1];if(!l)return be.apply(this,arguments);if(Re&&!Re(be,l,M,arguments))return;const c=Je[r];let T;c&&(T=c[t?f:R]);const L=T&&M[T];if(L)for(let re=0;re<L.length;re++){const Pe=L[re];if($(Pe,l))return L.splice(re,1),Pe.isRemoved=!0,0!==L.length||(Pe.allRemoved=!0,M[T]=null,t||"string"!=typeof r)||(M[W+"ON_PROPERTY"+r]=null),Pe.zone.cancelTask(Pe),Ne?M:void 0}return be.apply(this,arguments)},_e[pe]=function(){const M=this||g;let r=arguments[0];ie&&ie.transferEventName&&(r=ie.transferEventName(r));const u=[],t=dt(M,Ve?Ve(r):r);for(let l=0;l<t.length;l++){const c=t[l];u.push(c.originalDelegate?c.originalDelegate:c.callback)}return u},_e[he]=function(){const M=this||g;let r=arguments[0];if(r){ie&&ie.transferEventName&&(r=ie.transferEventName(r));const u=Je[r];if(u){const c=M[u[R]],T=M[u[f]];if(c){const L=c.slice();for(let re=0;re<L.length;re++){const Pe=L[re];this[te].call(this,r,Pe.originalDelegate?Pe.originalDelegate:Pe.callback,Pe.options)}}if(T){const L=T.slice();for(let re=0;re<L.length;re++){const Pe=L[re];this[te].call(this,r,Pe.originalDelegate?Pe.originalDelegate:Pe.callback,Pe.options)}}}}else{const u=Object.keys(M);for(let t=0;t<u.length;t++){const c=ot.exec(u[t]);let T=c&&c[1];T&&"removeListener"!==T&&this[he].call(this,T)}this[he].call(this,"removeListener")}if(Ne)return this},ce(_e[k],Oe),ce(_e[te],be),Ze&&ce(_e[he],Ze),we&&ce(_e[pe],we),!0}let je=[];for(let Ee=0;Ee<V.length;Ee++)je[Ee]=$e(V[Ee],b);return je}function dt(g,O){if(!O){const te=[];for(let pe in g){const he=ot.exec(pe);let ge=he&&he[1];if(ge&&(!O||ge===O)){const ye=g[pe];if(ye)for(let ue=0;ue<ye.length;ue++)te.push(ye[ue])}}return te}let V=Je[O];V||(ht(O),V=Je[O]);const b=g[V[R]],k=g[V[f]];return b?k?b.concat(k):b.slice():k?k.slice():[]}function rt(g,O){const V=g.Event;V&&V.prototype&&O.patchMethod(V.prototype,"stopImmediatePropagation",b=>function(k,te){k[ct]=!0,b&&b.apply(k,te)})}const Fe=Y("zoneTask");function nt(g,O,V,b){let k=null,te=null;V+=b;const pe={};function he(ye){const ue=ye.data;ue.args[0]=function(){return ye.invoke.apply(this,arguments)};const Ce=k.apply(g,ue.args);return Ge(Ce)?ue.handleId=Ce:(ue.handle=Ce,ue.isRefreshable=Xe(Ce.refresh)),ye}function ge(ye){const{handle:ue,handleId:Ce}=ye.data;return te.call(g,ue??Ce)}k=me(g,O+=b,ye=>function(ue,Ce){if(Xe(Ce[0])){const Se={isRefreshable:!1,isPeriodic:"Interval"===b,delay:"Timeout"===b||"Interval"===b?Ce[1]||0:void 0,args:Ce},ve=Ce[0];Ce[0]=function(){try{return ve.apply(this,arguments)}finally{const{handle:xe,handleId:Re,isPeriodic:Ue,isRefreshable:Ne}=Se;!Ue&&!Ne&&(Re?delete pe[Re]:xe&&(xe[Fe]=null))}};const Le=U(O,Ce[0],Se,he,ge);if(!Le)return Le;const{handleId:Ye,handle:$e,isRefreshable:je,isPeriodic:Ee}=Le.data;if(Ye)pe[Ye]=Le;else if($e&&($e[Fe]=Le,je&&!Ee)){const ie=$e.refresh;$e.refresh=function(){const{zone:xe,state:Re}=Le;return"notScheduled"===Re?(Le._state="scheduled",xe._updateTaskCount(Le,1)):"running"===Re&&(Le._state="scheduling"),ie.call(this)}}return $e??Ye??Le}return ye.apply(g,Ce)}),te=me(g,V,ye=>function(ue,Ce){const Se=Ce[0];let ve;Ge(Se)?(ve=pe[Se],delete pe[Se]):(ve=Se?.[Fe],ve?Se[Fe]=null:ve=Se),ve?.type?ve.cancelFn&&ve.zone.cancelTask(ve):ye.apply(g,Ce)})}function _t(g,O,V){if(!V||0===V.length)return O;const b=V.filter(te=>te.target===g);if(!b||0===b.length)return O;const k=b[0].ignoreProperties;return O.filter(te=>-1===k.indexOf(te))}function Tt(g,O,V,b){g&&B(g,_t(g,O,V),b)}function at(g){return Object.getOwnPropertyNames(g).filter(O=>O.startsWith("on")&&O.length>2).map(O=>O.substring(2))}function Pt(g,O,V,b,k){const te=Zone.__symbol__(b);if(O[te])return;const pe=O[te]=O[b];O[b]=function(he,ge,ye){return ge&&ge.prototype&&k.forEach(function(ue){const Ce=`${V}.${b}::`+ue,Se=ge.prototype;try{if(Se.hasOwnProperty(ue)){const ve=g.ObjectGetOwnPropertyDescriptor(Se,ue);ve&&ve.value?(ve.value=g.wrapWithCurrentZone(ve.value,Ce),g._redefineProperty(ge.prototype,ue,ve)):Se[ue]&&(Se[ue]=g.wrapWithCurrentZone(Se[ue],Ce))}else Se[ue]&&(Se[ue]=g.wrapWithCurrentZone(Se[ue],Ce))}catch{}}),pe.call(O,he,ge,ye)},g.attachOriginToPatched(O[b],pe)}const gt=function e(){const g=globalThis,O=!0===g[C("forceDuplicateZoneCheck")];if(g.Zone&&(O||"function"!=typeof g.Zone.__symbol__))throw new Error("Zone already loaded.");return g.Zone??=function i(){const g=J.performance;function O(De){g&&g.mark&&g.mark(De)}function V(De,de){g&&g.measure&&g.measure(De,de)}O("Zone");let b=(()=>{class De{static#e=this.__symbol__=C;static assertZonePatched(){if(J.Promise!==Te.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 n=De.current;for(;n.parent;)n=n.parent;return n}static get current(){return be.zone}static get currentTask(){return we}static __load_patch(n,s,o=!1){if(Te.hasOwnProperty(n)){const a=!0===J[C("forceDuplicateZoneCheck")];if(!o&&a)throw Error("Already loaded patch: "+n)}else if(!J["__Zone_disable_"+n]){const a="Zone:"+n;O(a),Te[n]=s(J,De,Oe),V(a,a)}}get parent(){return this._parent}get name(){return this._name}constructor(n,s){this._parent=n,this._name=s?s.name||"unnamed":"<root>",this._properties=s&&s.properties||{},this._zoneDelegate=new te(this,this._parent&&this._parent._zoneDelegate,s)}get(n){const s=this.getZoneWith(n);if(s)return s._properties[n]}getZoneWith(n){let s=this;for(;s;){if(s._properties.hasOwnProperty(n))return s;s=s._parent}return null}fork(n){if(!n)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,n)}wrap(n,s){if("function"!=typeof n)throw new Error("Expecting function got: "+n);const o=this._zoneDelegate.intercept(this,n,s),a=this;return function(){return a.runGuarded(o,this,arguments,s)}}run(n,s,o,a){be={parent:be,zone:this};try{return this._zoneDelegate.invoke(this,n,s,o,a)}finally{be=be.parent}}runGuarded(n,s=null,o,a){be={parent:be,zone:this};try{try{return this._zoneDelegate.invoke(this,n,s,o,a)}catch(S){if(this._zoneDelegate.handleError(this,S))throw S}}finally{be=be.parent}}runTask(n,s,o){if(n.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(n.zone||$e).name+"; Execution: "+this.name+")");const a=n,{type:S,data:{isPeriodic:I=!1,isRefreshable:K=!1}={}}=n;if(n.state===je&&(S===Ve||S===_e))return;const $=n.state!=xe;$&&a._transitionTo(xe,ie);const Q=we;we=a,be={parent:be,zone:this};try{S==_e&&n.data&&!I&&!K&&(n.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,a,s,o)}catch(le){if(this._zoneDelegate.handleError(this,le))throw le}}finally{const le=n.state;if(le!==je&&le!==Ue)if(S==Ve||I||K&&le===Ee)$&&a._transitionTo(ie,xe,Ee);else{const H=a._zoneDelegates;this._updateTaskCount(a,-1),$&&a._transitionTo(je,xe,je),K&&(a._zoneDelegates=H)}be=be.parent,we=Q}}scheduleTask(n){if(n.zone&&n.zone!==this){let o=this;for(;o;){if(o===n.zone)throw Error(`can not reschedule task to ${this.name} which is descendants of the original zone ${n.zone.name}`);o=o.parent}}n._transitionTo(Ee,je);const s=[];n._zoneDelegates=s,n._zone=this;try{n=this._zoneDelegate.scheduleTask(this,n)}catch(o){throw n._transitionTo(Ue,Ee,je),this._zoneDelegate.handleError(this,o),o}return n._zoneDelegates===s&&this._updateTaskCount(n,1),n.state==Ee&&n._transitionTo(ie,Ee),n}scheduleMicroTask(n,s,o,a){return this.scheduleTask(new pe(Ne,n,s,o,a,void 0))}scheduleMacroTask(n,s,o,a,S){return this.scheduleTask(new pe(_e,n,s,o,a,S))}scheduleEventTask(n,s,o,a,S){return this.scheduleTask(new pe(Ve,n,s,o,a,S))}cancelTask(n){if(n.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(n.zone||$e).name+"; Execution: "+this.name+")");if(n.state===ie||n.state===xe){n._transitionTo(Re,ie,xe);try{this._zoneDelegate.cancelTask(this,n)}catch(s){throw n._transitionTo(Ue,Re),this._zoneDelegate.handleError(this,s),s}return this._updateTaskCount(n,-1),n._transitionTo(je,Re),n.runCount=-1,n}}_updateTaskCount(n,s){const o=n._zoneDelegates;-1==s&&(n._zoneDelegates=null);for(let a=0;a<o.length;a++)o[a]._updateTaskCount(n.type,s)}}return De})();const k={name:"",onHasTask:(De,de,n,s)=>De.hasTask(n,s),onScheduleTask:(De,de,n,s)=>De.scheduleTask(n,s),onInvokeTask:(De,de,n,s,o,a)=>De.invokeTask(n,s,o,a),onCancelTask:(De,de,n,s)=>De.cancelTask(n,s)};class te{get zone(){return this._zone}constructor(de,n,s){this._taskCounts={microTask:0,macroTask:0,eventTask:0},this._zone=de,this._parentDelegate=n,this._forkZS=s&&(s&&s.onFork?s:n._forkZS),this._forkDlgt=s&&(s.onFork?n:n._forkDlgt),this._forkCurrZone=s&&(s.onFork?this._zone:n._forkCurrZone),this._interceptZS=s&&(s.onIntercept?s:n._interceptZS),this._interceptDlgt=s&&(s.onIntercept?n:n._interceptDlgt),this._interceptCurrZone=s&&(s.onIntercept?this._zone:n._interceptCurrZone),this._invokeZS=s&&(s.onInvoke?s:n._invokeZS),this._invokeDlgt=s&&(s.onInvoke?n:n._invokeDlgt),this._invokeCurrZone=s&&(s.onInvoke?this._zone:n._invokeCurrZone),this._handleErrorZS=s&&(s.onHandleError?s:n._handleErrorZS),this._handleErrorDlgt=s&&(s.onHandleError?n:n._handleErrorDlgt),this._handleErrorCurrZone=s&&(s.onHandleError?this._zone:n._handleErrorCurrZone),this._scheduleTaskZS=s&&(s.onScheduleTask?s:n._scheduleTaskZS),this._scheduleTaskDlgt=s&&(s.onScheduleTask?n:n._scheduleTaskDlgt),this._scheduleTaskCurrZone=s&&(s.onScheduleTask?this._zone:n._scheduleTaskCurrZone),this._invokeTaskZS=s&&(s.onInvokeTask?s:n._invokeTaskZS),this._invokeTaskDlgt=s&&(s.onInvokeTask?n:n._invokeTaskDlgt),this._invokeTaskCurrZone=s&&(s.onInvokeTask?this._zone:n._invokeTaskCurrZone),this._cancelTaskZS=s&&(s.onCancelTask?s:n._cancelTaskZS),this._cancelTaskDlgt=s&&(s.onCancelTask?n:n._cancelTaskDlgt),this._cancelTaskCurrZone=s&&(s.onCancelTask?this._zone:n._cancelTaskCurrZone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;const o=s&&s.onHasTask;(o||n&&n._hasTaskZS)&&(this._hasTaskZS=o?s:k,this._hasTaskDlgt=n,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=this._zone,s.onScheduleTask||(this._scheduleTaskZS=k,this._scheduleTaskDlgt=n,this._scheduleTaskCurrZone=this._zone),s.onInvokeTask||(this._invokeTaskZS=k,this._invokeTaskDlgt=n,this._invokeTaskCurrZone=this._zone),s.onCancelTask||(this._cancelTaskZS=k,this._cancelTaskDlgt=n,this._cancelTaskCurrZone=this._zone))}fork(de,n){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,de,n):new b(de,n)}intercept(de,n,s){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,de,n,s):n}invoke(de,n,s,o,a){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,de,n,s,o,a):n.apply(s,o)}handleError(de,n){return!this._handleErrorZS||this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,de,n)}scheduleTask(de,n){let s=n;if(this._scheduleTaskZS)this._hasTaskZS&&s._zoneDelegates.push(this._hasTaskDlgtOwner),s=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,de,n),s||(s=n);else if(n.scheduleFn)n.scheduleFn(n);else{if(n.type!=Ne)throw new Error("Task is missing scheduleFn.");Le(n)}return s}invokeTask(de,n,s,o){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,de,n,s,o):n.callback.apply(s,o)}cancelTask(de,n){let s;if(this._cancelTaskZS)s=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,de,n);else{if(!n.cancelFn)throw Error("Task is not cancelable");s=n.cancelFn(n)}return s}hasTask(de,n){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,de,n)}catch(s){this.handleError(de,s)}}_updateTaskCount(de,n){const s=this._taskCounts,o=s[de],a=s[de]=o+n;if(a<0)throw new Error("More tasks executed then were scheduled.");0!=o&&0!=a||this.hasTask(this._zone,{microTask:s.microTask>0,macroTask:s.macroTask>0,eventTask:s.eventTask>0,change:de})}}class pe{constructor(de,n,s,o,a,S){if(this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=de,this.source=n,this.data=o,this.scheduleFn=a,this.cancelFn=S,!s)throw new Error("callback is not defined");this.callback=s;const I=this;this.invoke=de===Ve&&o&&o.useG?pe.invokeTask:function(){return pe.invokeTask.call(J,I,this,arguments)}}static invokeTask(de,n,s){de||(de=this),Ze++;try{return de.runCount++,de.zone.runTask(de,n,s)}finally{1==Ze&&Ye(),Ze--}}get zone(){return this._zone}get state(){return this._state}cancelScheduleRequest(){this._transitionTo(je,Ee)}_transitionTo(de,n,s){if(this._state!==n&&this._state!==s)throw new Error(`${this.type} '${this.source}': can not transition to '${de}', expecting state '${n}'${s?" or '"+s+"'":""}, was '${this._state}'.`);this._state=de,de==je&&(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 he=C("setTimeout"),ge=C("Promise"),ye=C("then");let Se,ue=[],Ce=!1;function ve(De){if(Se||J[ge]&&(Se=J[ge].resolve(0)),Se){let de=Se[ye];de||(de=Se.then),de.call(Se,De)}else J[he](De,0)}function Le(De){0===Ze&&0===ue.length&&ve(Ye),De&&ue.push(De)}function Ye(){if(!Ce){for(Ce=!0;ue.length;){const De=ue;ue=[];for(let de=0;de<De.length;de++){const n=De[de];try{n.zone.runTask(n,null,null)}catch(s){Oe.onUnhandledError(s)}}}Oe.microtaskDrainDone(),Ce=!1}}const $e={name:"NO ZONE"},je="notScheduled",Ee="scheduling",ie="scheduled",xe="running",Re="canceling",Ue="unknown",Ne="microTask",_e="macroTask",Ve="eventTask",Te={},Oe={symbol:C,currentZoneFrame:()=>be,onUnhandledError:Ke,microtaskDrainDone:Ke,scheduleMicroTask:Le,showUncaughtError:()=>!b[C("ignoreConsoleErrorUncaughtError")],patchEventTarget:()=>[],patchOnProperties:Ke,patchMethod:()=>Ke,bindArguments:()=>[],patchThen:()=>Ke,patchMacroTask:()=>Ke,patchEventPrototype:()=>Ke,isIEOrEdge:()=>!1,getGlobalObjects:()=>{},ObjectDefineProperty:()=>Ke,ObjectGetOwnPropertyDescriptor:()=>{},ObjectCreate:()=>{},ArraySlice:()=>[],patchClass:()=>Ke,wrapWithCurrentZone:()=>Ke,filterProperties:()=>[],attachOriginToPatched:()=>Ke,_redefineProperty:()=>Ke,patchCallbacks:()=>Ke,nativeScheduleMicroTask:ve};let be={parent:null,zone:new b(null,null)},we=null,Ze=0;function Ke(){}return V("Zone","Zone"),b}(),g.Zone}();(function ut(g){(function yt(g){g.__load_patch("ZoneAwarePromise",(O,V,b)=>{const k=Object.getOwnPropertyDescriptor,te=Object.defineProperty,he=b.symbol,ge=[],ye=!1!==O[he("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")],ue=he("Promise"),Ce=he("then"),Se="__creationTrace__";b.onUnhandledError=H=>{if(b.showUncaughtError()){const z=H&&H.rejection;z?console.error("Unhandled Promise rejection:",z instanceof Error?z.message:z,"; Zone:",H.zone.name,"; Task:",H.task&&H.task.source,"; Value:",z,z instanceof Error?z.stack:void 0):console.error(H)}},b.microtaskDrainDone=()=>{for(;ge.length;){const H=ge.shift();try{H.zone.runGuarded(()=>{throw H.throwOriginal?H.rejection:H})}catch(z){Le(z)}}};const ve=he("unhandledPromiseRejectionHandler");function Le(H){b.onUnhandledError(H);try{const z=V[ve];"function"==typeof z&&z.call(this,H)}catch{}}function Ye(H){return H&&H.then}function $e(H){return H}function je(H){return I.reject(H)}const Ee=he("state"),ie=he("value"),xe=he("finally"),Re=he("parentPromiseValue"),Ue=he("parentPromiseState"),Ne="Promise.then",_e=null,Ve=!0,Te=!1,Oe=0;function be(H,z){return M=>{try{De(H,z,M)}catch(r){De(H,!1,r)}}}const we=function(){let H=!1;return function(M){return function(){H||(H=!0,M.apply(null,arguments))}}},Ze="Promise resolved with itself",Ke=he("currentTaskTrace");function De(H,z,M){const r=we();if(H===M)throw new TypeError(Ze);if(H[Ee]===_e){let u=null;try{("object"==typeof M||"function"==typeof M)&&(u=M&&M.then)}catch(t){return r(()=>{De(H,!1,t)})(),H}if(z!==Te&&M instanceof I&&M.hasOwnProperty(Ee)&&M.hasOwnProperty(ie)&&M[Ee]!==_e)n(M),De(H,M[Ee],M[ie]);else if(z!==Te&&"function"==typeof u)try{u.call(M,r(be(H,z)),r(be(H,!1)))}catch(t){r(()=>{De(H,!1,t)})()}else{H[Ee]=z;const t=H[ie];if(H[ie]=M,H[xe]===xe&&z===Ve&&(H[Ee]=H[Ue],H[ie]=H[Re]),z===Te&&M instanceof Error){const l=V.currentTask&&V.currentTask.data&&V.currentTask.data[Se];l&&te(M,Ke,{configurable:!0,enumerable:!1,writable:!0,value:l})}for(let l=0;l<t.length;)s(H,t[l++],t[l++],t[l++],t[l++]);if(0==t.length&&z==Te){H[Ee]=Oe;let l=M;try{throw new Error("Uncaught (in promise): "+function pe(H){return H&&H.toString===Object.prototype.toString?(H.constructor&&H.constructor.name||"")+": "+JSON.stringify(H):H?H.toString():Object.prototype.toString.call(H)}(M)+(M&&M.stack?"\n"+M.stack:""))}catch(c){l=c}ye&&(l.throwOriginal=!0),l.rejection=M,l.promise=H,l.zone=V.current,l.task=V.currentTask,ge.push(l),b.scheduleMicroTask()}}}return H}const de=he("rejectionHandledHandler");function n(H){if(H[Ee]===Oe){try{const z=V[de];z&&"function"==typeof z&&z.call(this,{rejection:H[ie],promise:H})}catch{}H[Ee]=Te;for(let z=0;z<ge.length;z++)H===ge[z].promise&&ge.splice(z,1)}}function s(H,z,M,r,u){n(H);const t=H[Ee],l=t?"function"==typeof r?r:$e:"function"==typeof u?u:je;z.scheduleMicroTask(Ne,()=>{try{const c=H[ie],T=!!M&&xe===M[xe];T&&(M[Re]=c,M[Ue]=t);const L=z.run(l,void 0,T&&l!==je&&l!==$e?[]:[c]);De(M,!0,L)}catch(c){De(M,!1,c)}},M)}const a=function(){},S=O.AggregateError;class I{static toString(){return"function ZoneAwarePromise() { [native code] }"}static resolve(z){return z instanceof I?z:De(new this(null),Ve,z)}static reject(z){return De(new this(null),Te,z)}static withResolvers(){const z={};return z.promise=new I((M,r)=>{z.resolve=M,z.reject=r}),z}static any(z){if(!z||"function"!=typeof z[Symbol.iterator])return Promise.reject(new S([],"All promises were rejected"));const M=[];let r=0;try{for(let l of z)r++,M.push(I.resolve(l))}catch{return Promise.reject(new S([],"All promises were rejected"))}if(0===r)return Promise.reject(new S([],"All promises were rejected"));let u=!1;const t=[];return new I((l,c)=>{for(let T=0;T<M.length;T++)M[T].then(L=>{u||(u=!0,l(L))},L=>{t.push(L),r--,0===r&&(u=!0,c(new S(t,"All promises were rejected")))})})}static race(z){let M,r,u=new this((c,T)=>{M=c,r=T});function t(c){M(c)}function l(c){r(c)}for(let c of z)Ye(c)||(c=this.resolve(c)),c.then(t,l);return u}static all(z){return I.allWithCallback(z)}static allSettled(z){return(this&&this.prototype instanceof I?this:I).allWithCallback(z,{thenCallback:r=>({status:"fulfilled",value:r}),errorCallback:r=>({status:"rejected",reason:r})})}static allWithCallback(z,M){let r,u,t=new this((L,re)=>{r=L,u=re}),l=2,c=0;const T=[];for(let L of z){Ye(L)||(L=this.resolve(L));const re=c;try{L.then(Pe=>{T[re]=M?M.thenCallback(Pe):Pe,l--,0===l&&r(T)},Pe=>{M?(T[re]=M.errorCallback(Pe),l--,0===l&&r(T)):u(Pe)})}catch(Pe){u(Pe)}l++,c++}return l-=2,0===l&&r(T),t}constructor(z){const M=this;if(!(M instanceof I))throw new Error("Must be an instanceof Promise.");M[Ee]=_e,M[ie]=[];try{const r=we();z&&z(r(be(M,Ve)),r(be(M,Te)))}catch(r){De(M,!1,r)}}get[Symbol.toStringTag](){return"Promise"}get[Symbol.species](){return I}then(z,M){let r=this.constructor?.[Symbol.species];(!r||"function"!=typeof r)&&(r=this.constructor||I);const u=new r(a),t=V.current;return this[Ee]==_e?this[ie].push(t,u,z,M):s(this,t,u,z,M),u}catch(z){return this.then(null,z)}finally(z){let M=this.constructor?.[Symbol.species];(!M||"function"!=typeof M)&&(M=I);const r=new M(a);r[xe]=xe;const u=V.current;return this[Ee]==_e?this[ie].push(u,r,z,z):s(this,u,r,z,z),r}}I.resolve=I.resolve,I.reject=I.reject,I.race=I.race,I.all=I.all;const K=O[ue]=O.Promise;O.Promise=I;const $=he("thenPatched");function Q(H){const z=H.prototype,M=k(z,"then");if(M&&(!1===M.writable||!M.configurable))return;const r=z.then;z[Ce]=r,H.prototype.then=function(u,t){return new I((c,T)=>{r.call(this,c,T)}).then(u,t)},H[$]=!0}return b.patchThen=Q,K&&(Q(K),me(O,"fetch",H=>function le(H){return function(z,M){let r=H.apply(z,M);if(r instanceof I)return r;let u=r.constructor;return u[$]||Q(u),r}}(H))),Promise[V.__symbol__("uncaughtPromiseErrors")]=ge,I})})(g),function wt(g){g.__load_patch("toString",O=>{const V=Function.prototype.toString,b=Y("OriginalDelegate"),k=Y("Promise"),te=Y("Error"),pe=function(){if("function"==typeof this){const ue=this[b];if(ue)return"function"==typeof ue?V.call(ue):Object.prototype.toString.call(ue);if(this===Promise){const Ce=O[k];if(Ce)return V.call(Ce)}if(this===Error){const Ce=O[te];if(Ce)return V.call(Ce)}}return V.call(this)};pe[b]=V,Function.prototype.toString=pe;const he=Object.prototype.toString;Object.prototype.toString=function(){return"function"==typeof Promise&&this instanceof Promise?"[object Promise]":he.call(this)}})}(g),function St(g){g.__load_patch("util",(O,V,b)=>{const k=at(O);b.patchOnProperties=B,b.patchMethod=me,b.bindArguments=ee,b.patchMacroTask=Me;const te=V.__symbol__("BLACK_LISTED_EVENTS"),pe=V.__symbol__("UNPATCHED_EVENTS");O[pe]&&(O[te]=O[pe]),O[te]&&(V[te]=V[pe]=O[te]),b.patchEventPrototype=rt,b.patchEventTarget=vt,b.isIEOrEdge=He,b.ObjectDefineProperty=v,b.ObjectGetOwnPropertyDescriptor=p,b.ObjectCreate=_,b.ArraySlice=P,b.patchClass=oe,b.wrapWithCurrentZone=N,b.filterProperties=_t,b.attachOriginToPatched=ce,b._redefineProperty=Object.defineProperty,b.patchCallbacks=Pt,b.getGlobalObjects=()=>({globalSources:lt,zoneSymbolEventNames:Je,eventNames:k,isBrowser:m,isMix:G,isNode:q,TRUE_STR:f,FALSE_STR:R,ZONE_SYMBOL_PREFIX:W,ADD_EVENT_LISTENER_STR:w,REMOVE_EVENT_LISTENER_STR:y})})}(g)})(gt),function Dt(g){g.__load_patch("legacy",O=>{const V=O[g.__symbol__("legacyPatch")];V&&V()}),g.__load_patch("timers",O=>{const V="set",b="clear";nt(O,V,b,"Timeout"),nt(O,V,b,"Interval"),nt(O,V,b,"Immediate")}),g.__load_patch("requestAnimationFrame",O=>{nt(O,"request","cancel","AnimationFrame"),nt(O,"mozRequest","mozCancel","AnimationFrame"),nt(O,"webkitRequest","webkitCancel","AnimationFrame")}),g.__load_patch("blocking",(O,V)=>{const b=["alert","prompt","confirm"];for(let k=0;k<b.length;k++)me(O,b[k],(pe,he,ge)=>function(ye,ue){return V.current.run(pe,O,ue,ge)})}),g.__load_patch("EventTarget",(O,V,b)=>{(function bt(g,O){O.patchEventPrototype(g,O)})(O,b),function pt(g,O){if(Zone[O.symbol("patchEventTarget")])return;const{eventNames:V,zoneSymbolEventNames:b,TRUE_STR:k,FALSE_STR:te,ZONE_SYMBOL_PREFIX:pe}=O.getGlobalObjects();for(let ge=0;ge<V.length;ge++){const ye=V[ge],Se=pe+(ye+te),ve=pe+(ye+k);b[ye]={},b[ye][te]=Se,b[ye][k]=ve}const he=g.EventTarget;he&&he.prototype&&O.patchEventTarget(g,O,[he&&he.prototype])}(O,b);const k=O.XMLHttpRequestEventTarget;k&&k.prototype&&b.patchEventTarget(O,b,[k.prototype])}),g.__load_patch("MutationObserver",(O,V,b)=>{oe("MutationObserver"),oe("WebKitMutationObserver")}),g.__load_patch("IntersectionObserver",(O,V,b)=>{oe("IntersectionObserver")}),g.__load_patch("FileReader",(O,V,b)=>{oe("FileReader")}),g.__load_patch("on_property",(O,V,b)=>{!function mt(g,O){if(q&&!G||Zone[g.symbol("patchEvents")])return;const V=O.__Zone_ignore_on_properties;let b=[];if(m){const k=window;b=b.concat(["Document","SVGElement","Element","HTMLElement","HTMLBodyElement","HTMLMediaElement","HTMLFrameSetElement","HTMLFrameElement","HTMLIFrameElement","HTMLMarqueeElement","Worker"]);const te=function ke(){try{const g=ae.navigator.userAgent;if(-1!==g.indexOf("MSIE ")||-1!==g.indexOf("Trident/"))return!0}catch{}return!1}()?[{target:k,ignoreProperties:["error"]}]:[];Tt(k,at(k),V&&V.concat(te),E(k))}b=b.concat(["XMLHttpRequest","XMLHttpRequestEventTarget","IDBIndex","IDBRequest","IDBOpenDBRequest","IDBDatabase","IDBTransaction","IDBCursor","WebSocket"]);for(let k=0;k<b.length;k++){const te=O[b[k]];te&&te.prototype&&Tt(te.prototype,at(te.prototype),V)}}(b,O)}),g.__load_patch("customElements",(O,V,b)=>{!function ft(g,O){const{isBrowser:V,isMix:b}=O.getGlobalObjects();(V||b)&&g.customElements&&"customElements"in g&&O.patchCallbacks(O,g.customElements,"customElements","define",["connectedCallback","disconnectedCallback","adoptedCallback","attributeChangedCallback","formAssociatedCallback","formDisabledCallback","formResetCallback","formStateRestoreCallback"])}(O,b)}),g.__load_patch("XHR",(O,V)=>{!function ye(ue){const Ce=ue.XMLHttpRequest;if(!Ce)return;const Se=Ce.prototype;let Le=Se[D],Ye=Se[d];if(!Le){const Oe=ue.XMLHttpRequestEventTarget;if(Oe){const be=Oe.prototype;Le=be[D],Ye=be[d]}}const $e="readystatechange",je="scheduled";function Ee(Oe){const be=Oe.data,we=be.target;we[pe]=!1,we[ge]=!1;const Ze=we[te];Le||(Le=we[D],Ye=we[d]),Ze&&Ye.call(we,$e,Ze);const Ke=we[te]=()=>{if(we.readyState===we.DONE)if(!be.aborted&&we[pe]&&Oe.state===je){const de=we[V.__symbol__("loadfalse")];if(0!==we.status&&de&&de.length>0){const n=Oe.invoke;Oe.invoke=function(){const s=we[V.__symbol__("loadfalse")];for(let o=0;o<s.length;o++)s[o]===Oe&&s.splice(o,1);!be.aborted&&Oe.state===je&&n.call(Oe)},de.push(Oe)}else Oe.invoke()}else!be.aborted&&!1===we[pe]&&(we[ge]=!0)};return Le.call(we,$e,Ke),we[b]||(we[b]=Oe),Ve.apply(we,be.args),we[pe]=!0,Oe}function ie(){}function xe(Oe){const be=Oe.data;return be.aborted=!0,Te.apply(be.target,be.args)}const Re=me(Se,"open",()=>function(Oe,be){return Oe[k]=0==be[2],Oe[he]=be[1],Re.apply(Oe,be)}),Ne=Y("fetchTaskAborting"),_e=Y("fetchTaskScheduling"),Ve=me(Se,"send",()=>function(Oe,be){if(!0===V.current[_e]||Oe[k])return Ve.apply(Oe,be);{const we={target:Oe,url:Oe[he],isPeriodic:!1,args:be,aborted:!1},Ze=U("XMLHttpRequest.send",ie,we,Ee,xe);Oe&&!0===Oe[ge]&&!we.aborted&&Ze.state===je&&Ze.invoke()}}),Te=me(Se,"abort",()=>function(Oe,be){const we=function ve(Oe){return Oe[b]}(Oe);if(we&&"string"==typeof we.type){if(null==we.cancelFn||we.data&&we.data.aborted)return;we.zone.cancelTask(we)}else if(!0===V.current[Ne])return Te.apply(Oe,be)})}(O);const b=Y("xhrTask"),k=Y("xhrSync"),te=Y("xhrListener"),pe=Y("xhrScheduled"),he=Y("xhrURL"),ge=Y("xhrErrorBeforeScheduled")}),g.__load_patch("geolocation",O=>{O.navigator&&O.navigator.geolocation&&function X(g,O){const V=g.constructor.name;for(let b=0;b<O.length;b++){const k=O[b],te=g[k];if(te){if(!se(p(g,k)))continue;g[k]=(he=>{const ge=function(){return he.apply(this,ee(arguments,V+"."+k))};return ce(ge,he),ge})(te)}}}(O.navigator.geolocation,["getCurrentPosition","watchPosition"])}),g.__load_patch("PromiseRejectionEvent",(O,V)=>{function b(k){return function(te){dt(O,k).forEach(he=>{const ge=O.PromiseRejectionEvent;if(ge){const ye=new ge(k,{promise:te.promise,reason:te.rejection});he.invoke(ye)}})}}O.PromiseRejectionEvent&&(V[Y("unhandledPromiseRejectionHandler")]=b("unhandledrejection"),V[Y("rejectionHandledHandler")]=b("rejectionhandled"))}),g.__load_patch("queueMicrotask",(O,V,b)=>{!function Ot(g,O){O.patchMethod(g,"queueMicrotask",V=>function(b,k){Zone.current.scheduleMicroTask("queueMicrotask",k[0])})}(O,b)})}(gt)},5215:(J,C,i)=>{function y(h,A,F,x){return new(F||(F=Promise))(function(j,oe){function me(Ie){try{ce(x.next(Ie))}catch(We){oe(We)}}function Me(Ie){try{ce(x.throw(Ie))}catch(We){oe(We)}}function ce(Ie){Ie.done?j(Ie.value):function B(j){return j instanceof F?j:new F(function(oe){oe(j)})}(Ie.value).then(me,Me)}ce((x=x.apply(h,A||[])).next())})}function ne(h){return this instanceof ne?(this.v=h,this):new ne(h)}function ae(h,A,F){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var B,x=F.apply(h,A||[]),j=[];return B={},oe("next"),oe("throw"),oe("return"),B[Symbol.asyncIterator]=function(){return this},B;function oe(ke){x[ke]&&(B[ke]=function(He){return new Promise(function(Xe,Ge){j.push([ke,He,Xe,Ge])>1||me(ke,He)})})}function me(ke,He){try{!function Me(ke){ke.value instanceof ne?Promise.resolve(ke.value.v).then(ce,Ie):We(j[0][2],ke)}(x[ke](He))}catch(Xe){We(j[0][3],Xe)}}function ce(ke){me("next",ke)}function Ie(ke){me("throw",ke)}function We(ke,He){ke(He),j.shift(),j.length&&me(j[0][0],j[0][1])}}function Ae(h){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var F,A=h[Symbol.asyncIterator];return A?A.call(h):(h=function R(h){var A="function"==typeof Symbol&&Symbol.iterator,F=A&&h[A],x=0;if(F)return F.call(h);if(h&&"number"==typeof h.length)return{next:function(){return h&&x>=h.length&&(h=void 0),{value:h&&h[x++],done:!h}}};throw new TypeError(A?"Object is not iterable.":"Symbol.iterator is not defined.")}(h),F={},x("next"),x("throw"),x("return"),F[Symbol.asyncIterator]=function(){return this},F);function x(j){F[j]=h[j]&&function(oe){return new Promise(function(me,Me){!function B(j,oe,me,Me){Promise.resolve(Me).then(function(ce){j({value:ce,done:me})},oe)}(me,Me,(oe=h[j](oe)).done,oe.value)})}}}i.d(C,{AQ:()=>ae,N3:()=>ne,sH:()=>y,xN:()=>Ae})},6443:(J,C,i)=>{i.d(C,{vr:()=>z,MQ:()=>M});var e=i(3953),p=i(9417),v=i(6977),E=i(3236),_=i(9974),P=i(8750),w=i(4360),D=i(1985),d=i(9470);function W(r,u=E.E){return function y(r){return(0,_.N)((u,t)=>{let l=!1,c=null,T=null,L=!1;const re=()=>{if(T?.unsubscribe(),T=null,l){l=!1;const Be=c;c=null,t.next(Be)}L&&t.complete()},Pe=()=>{T=null,L&&t.complete()};u.subscribe((0,w._)(t,Be=>{l=!0,c=Be,T||(0,P.Tg)(r(Be)).subscribe(T=(0,w._)(t,re,Pe))},()=>{L=!0,(!l||!T||T.closed)&&t.complete()}))})}(()=>function R(r=0,u,t=E.b){let l=-1;return null!=u&&((0,d.m)(u)?t=u:l=u),new D.c(c=>{let T=function f(r){return r instanceof Date&&!isNaN(r)}(r)?+r-t.now():r;T<0&&(T=0);let L=0;return t.schedule(function(){c.closed||(c.next(L++),0<=l?this.schedule(void 0,l):c.complete())},T)})}(r,u))}var N=i(9172),U=i(8141),Y=i(152),ne=i(5964),ae=i(6354),fe=i(536),Ae=i(6780);let X,ee=1;const se={};function Z(r){return r in se&&(delete se[r],!0)}const q={setImmediate(r){const u=ee++;return se[u]=!0,X||(X=Promise.resolve()),X.then(()=>Z(u)&&r()),u},clearImmediate(r){Z(r)}},{setImmediate:G,clearImmediate:h}=q,A={setImmediate(...r){const{delegate:u}=A;return(u?.setImmediate||G)(...r)},clearImmediate(r){const{delegate:u}=A;return(u?.clearImmediate||h)(r)},delegate:void 0};var x=i(9687);const j=new class B extends x.q{flush(u){this._active=!0;const t=this._scheduled;this._scheduled=void 0;const{actions:l}=this;let c;u=u||l.shift();do{if(c=u.execute(u.state,u.delay))break}while((u=l[0])&&u.id===t&&l.shift());if(this._active=!1,c){for(;(u=l[0])&&u.id===t&&l.shift();)u.unsubscribe();throw c}}}(class F extends Ae.R{constructor(u,t){super(u,t),this.scheduler=u,this.work=t}requestAsyncId(u,t,l=0){return null!==l&&l>0?super.requestAsyncId(u,t,l):(u.actions.push(this),u._scheduled||(u._scheduled=A.setImmediate(u.flush.bind(u,void 0))))}recycleAsyncId(u,t,l=0){var c;if(null!=l?l>0:this.delay>0)return super.recycleAsyncId(u,t,l);const{actions:T}=u;null!=t&&(null===(c=T[T.length-1])||void 0===c?void 0:c.id)!==t&&(A.clearImmediate(t),u._scheduled=void 0)}});var me=i(1413),Me=i(3726),ce=i(7786),Ie=i(177);const We=["content"],ke=["scroll"],He=["padding"],Xe=["*"],Ge=r=>({searchTerm:r});function ze(r,u){if(1&r&&(e.j41(0,"div",3),e.eu8(1,6),e.k0s()),2&r){const t=e.XpG();e.R7$(),e.Y8G("ngTemplateOutlet",t.headerTemplate)("ngTemplateOutletContext",e.eq3(2,Ge,t.filterValue))}}function tt(r,u){if(1&r&&(e.j41(0,"div",5),e.eu8(1,6),e.k0s()),2&r){const t=e.XpG();e.R7$(),e.Y8G("ngTemplateOutlet",t.footerTemplate)("ngTemplateOutletContext",e.eq3(2,Ge,t.filterValue))}}const Je=["searchInput"],lt=["clearButton"],ot=(r,u,t)=>({item:r,clear:u,label:t}),ct=(r,u)=>({items:r,clear:u}),ht=(r,u,t,l)=>({item:r,item$:u,index:t,searchTerm:l});function vt(r,u){if(1&r&&(e.j41(0,"div",20),e.EFF(1),e.k0s()),2&r){const t=e.XpG(2);e.R7$(),e.JRh(t.placeholder)}}function dt(r,u){}function rt(r,u){if(1&r&&e.DNE(0,vt,2,1,"ng-template",null,1,e.C5r)(2,dt,0,0,"ng-template",19),2&r){const t=e.sdS(1),l=e.XpG();e.R7$(2),e.Y8G("ngTemplateOutlet",l.placeholderTemplate||t)}}function Ot(r,u){if(1&r){const t=e.RV6();e.j41(0,"span",23),e.bIt("click",function(){e.eBV(t);const c=e.XpG().$implicit,T=e.XpG(2);return e.Njj(T.unselect(c))}),e.EFF(1,"\xd7"),e.k0s(),e.nrm(2,"span",24)}if(2&r){const t=e.XpG().$implicit,l=e.XpG(2);e.R7$(2),e.Y8G("ngItemLabel",t.label)("escape",l.escapeHTML)}}function Fe(r,u){}function nt(r,u){if(1&r&&(e.j41(0,"div",22),e.DNE(1,Ot,3,2,"ng-template",null,2,e.C5r)(3,Fe,0,0,"ng-template",12),e.k0s()),2&r){const t=u.$implicit,l=e.sdS(2),c=e.XpG(2);e.AVh("ng-value-disabled",t.disabled),e.R7$(3),e.Y8G("ngTemplateOutlet",c.labelTemplate||l)("ngTemplateOutletContext",e.sMw(4,ot,t.value,c.clearItem,t.label))}}function ft(r,u){if(1&r&&e.Z7z(0,nt,4,8,"div",21,e.BUC().trackByOption,!0),2&r){const t=e.XpG();e.Dyx(t.selectedItems)}}function pt(r,u){}function bt(r,u){if(1&r&&e.DNE(0,pt,0,0,"ng-template",12),2&r){const t=e.XpG();e.Y8G("ngTemplateOutlet",t.multiLabelTemplate)("ngTemplateOutletContext",e.l_i(2,ct,t.selectedValues,t.clearItem))}}function _t(r,u){1&r&&e.nrm(0,"div",25)}function Tt(r,u){}function at(r,u){if(1&r&&e.DNE(0,_t,1,0,"ng-template",null,3,e.C5r)(2,Tt,0,0,"ng-template",19),2&r){const t=e.sdS(1),l=e.XpG();e.R7$(2),e.Y8G("ngTemplateOutlet",l.loadingSpinnerTemplate||t)}}function mt(r,u){if(1&r&&(e.j41(0,"span",15,4)(2,"span",26),e.EFF(3,"\xd7"),e.k0s()()),2&r){const t=e.XpG();e.FS9("title",t.clearAllText)}}function Dt(r,u){if(1&r&&e.nrm(0,"span",31),2&r){const t=e.XpG().$implicit,l=e.XpG(2);e.Y8G("ngItemLabel",t.label)("escape",l.escapeHTML)}}function yt(r,u){}function wt(r,u){if(1&r){const t=e.RV6();e.j41(0,"div",30),e.bIt("click",function(){const c=e.eBV(t).$implicit,T=e.XpG(2);return e.Njj(T.toggleItem(c))})("mouseover",function(){const c=e.eBV(t).$implicit,T=e.XpG(2);return e.Njj(T.onItemHover(c))}),e.DNE(1,Dt,1,2,"ng-template",null,5,e.C5r)(3,yt,0,0,"ng-template",12),e.k0s()}if(2&r){const t=u.$implicit,l=e.sdS(2),c=e.XpG(2);e.AVh("ng-option-disabled",t.disabled)("ng-option-selected",t.selected)("ng-optgroup",t.children)("ng-option",!t.children)("ng-option-child",!!t.parent)("ng-option-marked",t===c.itemsList.markedItem),e.BMQ("role",t.children?"group":"option")("aria-selected",t.selected)("id",null==t?null:t.htmlId),e.R7$(3),e.Y8G("ngTemplateOutlet",t.children?c.optgroupTemplate||l:c.optionTemplate||l)("ngTemplateOutletContext",e.ziG(17,ht,t.value,t,t.index,c.searchTerm))}}function Pt(r,u){if(1&r&&(e.j41(0,"span")(1,"span",33),e.EFF(2),e.k0s(),e.EFF(3),e.k0s()),2&r){const t=e.XpG(3);e.R7$(2),e.JRh(t.addTagText),e.R7$(),e.SpI('"',t.searchTerm,'"')}}function St(r,u){}function ut(r,u){if(1&r){const t=e.RV6();e.j41(0,"div",32),e.bIt("mouseover",function(){e.eBV(t);const c=e.XpG(2);return e.Njj(c.itemsList.unmarkItem())})("click",function(){e.eBV(t);const c=e.XpG(2);return e.Njj(c.selectTag())}),e.DNE(1,Pt,4,2,"ng-template",null,6,e.C5r)(3,St,0,0,"ng-template",12),e.k0s()}if(2&r){const t=e.sdS(2),l=e.XpG(2);e.AVh("ng-option-marked",!l.itemsList.markedItem),e.R7$(3),e.Y8G("ngTemplateOutlet",l.tagTemplate||t)("ngTemplateOutletContext",e.eq3(4,Ge,l.searchTerm))}}function gt(r,u){if(1&r&&(e.j41(0,"div",34),e.EFF(1),e.k0s()),2&r){const t=e.XpG(3);e.R7$(),e.JRh(t.notFoundText)}}function g(r,u){}function O(r,u){if(1&r&&e.DNE(0,gt,2,1,"ng-template",null,7,e.C5r)(2,g,0,0,"ng-template",12),2&r){const t=e.sdS(1),l=e.XpG(2);e.R7$(2),e.Y8G("ngTemplateOutlet",l.notFoundTemplate||t)("ngTemplateOutletContext",e.eq3(2,Ge,l.searchTerm))}}function V(r,u){if(1&r&&(e.j41(0,"div",34),e.EFF(1),e.k0s()),2&r){const t=e.XpG(3);e.R7$(),e.JRh(t.typeToSearchText)}}function b(r,u){}function k(r,u){if(1&r&&e.DNE(0,V,2,1,"ng-template",null,8,e.C5r)(2,b,0,0,"ng-template",19),2&r){const t=e.sdS(1),l=e.XpG(2);e.R7$(2),e.Y8G("ngTemplateOutlet",l.typeToSearchTemplate||t)}}function te(r,u){if(1&r&&(e.j41(0,"div",34),e.EFF(1),e.k0s()),2&r){const t=e.XpG(3);e.R7$(),e.JRh(t.loadingText)}}function pe(r,u){}function he(r,u){if(1&r&&e.DNE(0,te,2,1,"ng-template",null,9,e.C5r)(2,pe,0,0,"ng-template",12),2&r){const t=e.sdS(1),l=e.XpG(2);e.R7$(2),e.Y8G("ngTemplateOutlet",l.loadingTextTemplate||t)("ngTemplateOutletContext",e.eq3(2,Ge,l.searchTerm))}}function ge(r,u){if(1&r){const t=e.RV6();e.j41(0,"ng-dropdown-panel",27),e.bIt("update",function(c){e.eBV(t);const T=e.XpG();return e.Njj(T.viewPortItems=c)})("scroll",function(c){e.eBV(t);const T=e.XpG();return e.Njj(T.scroll.emit(c))})("scrollToEnd",function(c){e.eBV(t);const T=e.XpG();return e.Njj(T.scrollToEnd.emit(c))})("outsideClick",function(){e.eBV(t);const c=e.XpG();return e.Njj(c.close())}),e.qex(1),e.Z7z(2,wt,4,22,"div",28,e.BUC().trackByOption,!0),e.DNE(4,ut,4,6,"div",29),e.bVm(),e.DNE(5,O,3,4)(6,k,3,1)(7,he,3,4),e.k0s()}if(2&r){const t=e.XpG();e.AVh("ng-select-multiple",t.multiple),e.Y8G("virtualScroll",t.virtualScroll)("bufferAmount",t.bufferAmount)("appendTo",t.appendTo)("position",t.dropdownPosition)("headerTemplate",t.headerTemplate)("footerTemplate",t.footerTemplate)("filterValue",t.searchTerm)("items",t.itemsList.filteredItems)("markedItem",t.itemsList.markedItem)("ngClass",t.appendTo?t.ngClass?t.ngClass:t.classes:null)("id",t.dropdownId),e.R7$(2),e.Dyx(t.viewPortItems),e.R7$(2),e.vxM(t.showAddTag?4:-1),e.R7$(),e.vxM(t.showNoItemsFound()?5:-1),e.R7$(),e.vxM(t.showTypeToSearch()?6:-1),e.R7$(),e.vxM(t.loading&&0===t.itemsList.filteredItems.length?7:-1)}}const ye=/[&<>"']/g,ue=RegExp(ye.source),Ce={"&":"&","<":"<",">":">",'"':""","'":"'"};function ve(r){return null!=r}function Le(r){return"object"==typeof r&&ve(r)}function $e(r){return r instanceof Function}let je=(()=>{class r{constructor(t){this.element=t,this.escape=!0}ngOnChanges(t){this.element.nativeElement.innerHTML=this.escape?function Se(r){return r&&ue.test(r)?r.replace(ye,u=>Ce[u]):r}(this.ngItemLabel):this.ngItemLabel}static#e=this.\u0275fac=function(l){return new(l||r)(e.rXU(e.aKT))};static#t=this.\u0275dir=e.FsC({type:r,selectors:[["","ngItemLabel",""]],inputs:{ngItemLabel:"ngItemLabel",escape:"escape"},standalone:!0,features:[e.OA$]})}return r})(),Ee=(()=>{class r{constructor(t){this.template=t}static#e=this.\u0275fac=function(l){return new(l||r)(e.rXU(e.C4Q))};static#t=this.\u0275dir=e.FsC({type:r,selectors:[["","ng-option-tmp",""]],standalone:!0})}return r})(),ie=(()=>{class r{constructor(t){this.template=t}static#e=this.\u0275fac=function(l){return new(l||r)(e.rXU(e.C4Q))};static#t=this.\u0275dir=e.FsC({type:r,selectors:[["","ng-optgroup-tmp",""]],standalone:!0})}return r})(),xe=(()=>{class r{constructor(t){this.template=t}static#e=this.\u0275fac=function(l){return new(l||r)(e.rXU(e.C4Q))};static#t=this.\u0275dir=e.FsC({type:r,selectors:[["","ng-label-tmp",""]],standalone:!0})}return r})(),Re=(()=>{class r{constructor(t){this.template=t}static#e=this.\u0275fac=function(l){return new(l||r)(e.rXU(e.C4Q))};static#t=this.\u0275dir=e.FsC({type:r,selectors:[["","ng-multi-label-tmp",""]],standalone:!0})}return r})(),Ue=(()=>{class r{constructor(t){this.template=t}static#e=this.\u0275fac=function(l){return new(l||r)(e.rXU(e.C4Q))};static#t=this.\u0275dir=e.FsC({type:r,selectors:[["","ng-header-tmp",""]],standalone:!0})}return r})(),Ne=(()=>{class r{constructor(t){this.template=t}static#e=this.\u0275fac=function(l){return new(l||r)(e.rXU(e.C4Q))};static#t=this.\u0275dir=e.FsC({type:r,selectors:[["","ng-footer-tmp",""]],standalone:!0})}return r})(),_e=(()=>{class r{constructor(t){this.template=t}static#e=this.\u0275fac=function(l){return new(l||r)(e.rXU(e.C4Q))};static#t=this.\u0275dir=e.FsC({type:r,selectors:[["","ng-notfound-tmp",""]],standalone:!0})}return r})(),Ve=(()=>{class r{constructor(t){this.template=t}static#e=this.\u0275fac=function(l){return new(l||r)(e.rXU(e.C4Q))};static#t=this.\u0275dir=e.FsC({type:r,selectors:[["","ng-placeholder-tmp",""]],standalone:!0})}return r})(),Te=(()=>{class r{constructor(t){this.template=t}static#e=this.\u0275fac=function(l){return new(l||r)(e.rXU(e.C4Q))};static#t=this.\u0275dir=e.FsC({type:r,selectors:[["","ng-typetosearch-tmp",""]],standalone:!0})}return r})(),Oe=(()=>{class r{constructor(t){this.template=t}static#e=this.\u0275fac=function(l){return new(l||r)(e.rXU(e.C4Q))};static#t=this.\u0275dir=e.FsC({type:r,selectors:[["","ng-loadingtext-tmp",""]],standalone:!0})}return r})(),be=(()=>{class r{constructor(t){this.template=t}static#e=this.\u0275fac=function(l){return new(l||r)(e.rXU(e.C4Q))};static#t=this.\u0275dir=e.FsC({type:r,selectors:[["","ng-tag-tmp",""]],standalone:!0})}return r})(),we=(()=>{class r{constructor(t){this.template=t}static#e=this.\u0275fac=function(l){return new(l||r)(e.rXU(e.C4Q))};static#t=this.\u0275dir=e.FsC({type:r,selectors:[["","ng-loadingspinner-tmp",""]],standalone:!0})}return r})();function Ze(){return"axxxxxxxxxxx".replace(/[x]/g,()=>(16*Math.random()|0).toString(16))}const Ke={"\u24b6":"A",\uff21:"A",\u00c0:"A",\u00c1:"A",\u00c2:"A",\u1ea6:"A",\u1ea4:"A",\u1eaa:"A",\u1ea8:"A",\u00c3:"A",\u0100:"A",\u0102:"A",\u1eb0:"A",\u1eae:"A",\u1eb4:"A",\u1eb2:"A",\u0226:"A",\u01e0:"A",\u00c4:"A",\u01de:"A",\u1ea2:"A",\u00c5:"A",\u01fa:"A",\u01cd:"A",\u0200:"A",\u0202:"A",\u1ea0:"A",\u1eac:"A",\u1eb6:"A",\u1e00:"A",\u0104:"A",\u023a:"A",\u2c6f:"A",\ua732:"AA",\u00c6:"AE",\u01fc:"AE",\u01e2:"AE",\ua734:"AO",\ua736:"AU",\ua738:"AV",\ua73a:"AV",\ua73c:"AY","\u24b7":"B",\uff22:"B",\u1e02:"B",\u1e04:"B",\u1e06:"B",\u0243:"B",\u0182:"B",\u0181:"B","\u24b8":"C",\uff23:"C",\u0106:"C",\u0108:"C",\u010a:"C",\u010c:"C",\u00c7:"C",\u1e08:"C",\u0187:"C",\u023b:"C",\ua73e:"C","\u24b9":"D",\uff24:"D",\u1e0a:"D",\u010e:"D",\u1e0c:"D",\u1e10:"D",\u1e12:"D",\u1e0e:"D",\u0110:"D",\u018b:"D",\u018a:"D",\u0189:"D",\ua779:"D",\u01f1:"DZ",\u01c4:"DZ",\u01f2:"Dz",\u01c5:"Dz","\u24ba":"E",\uff25:"E",\u00c8:"E",\u00c9:"E",\u00ca:"E",\u1ec0:"E",\u1ebe:"E",\u1ec4:"E",\u1ec2:"E",\u1ebc:"E",\u0112:"E",\u1e14:"E",\u1e16:"E",\u0114:"E",\u0116:"E",\u00cb:"E",\u1eba:"E",\u011a:"E",\u0204:"E",\u0206:"E",\u1eb8:"E",\u1ec6:"E",\u0228:"E",\u1e1c:"E",\u0118:"E",\u1e18:"E",\u1e1a:"E",\u0190:"E",\u018e:"E","\u24bb":"F",\uff26:"F",\u1e1e:"F",\u0191:"F",\ua77b:"F","\u24bc":"G",\uff27:"G",\u01f4:"G",\u011c:"G",\u1e20:"G",\u011e:"G",\u0120:"G",\u01e6:"G",\u0122:"G",\u01e4:"G",\u0193:"G",\ua7a0:"G",\ua77d:"G",\ua77e:"G","\u24bd":"H",\uff28:"H",\u0124:"H",\u1e22:"H",\u1e26:"H",\u021e:"H",\u1e24:"H",\u1e28:"H",\u1e2a:"H",\u0126:"H",\u2c67:"H",\u2c75:"H",\ua78d:"H","\u24be":"I",\uff29:"I",\u00cc:"I",\u00cd:"I",\u00ce:"I",\u0128:"I",\u012a:"I",\u012c:"I",\u0130:"I",\u00cf:"I",\u1e2e:"I",\u1ec8:"I",\u01cf:"I",\u0208:"I",\u020a:"I",\u1eca:"I",\u012e:"I",\u1e2c:"I",\u0197:"I","\u24bf":"J",\uff2a:"J",\u0134:"J",\u0248:"J","\u24c0":"K",\uff2b:"K",\u1e30:"K",\u01e8:"K",\u1e32:"K",\u0136:"K",\u1e34:"K",\u0198:"K",\u2c69:"K",\ua740:"K",\ua742:"K",\ua744:"K",\ua7a2:"K","\u24c1":"L",\uff2c:"L",\u013f:"L",\u0139:"L",\u013d:"L",\u1e36:"L",\u1e38:"L",\u013b:"L",\u1e3c:"L",\u1e3a:"L",\u0141:"L",\u023d:"L",\u2c62:"L",\u2c60:"L",\ua748:"L",\ua746:"L",\ua780:"L",\u01c7:"LJ",\u01c8:"Lj","\u24c2":"M",\uff2d:"M",\u1e3e:"M",\u1e40:"M",\u1e42:"M",\u2c6e:"M",\u019c:"M","\u24c3":"N",\uff2e:"N",\u01f8:"N",\u0143:"N",\u00d1:"N",\u1e44:"N",\u0147:"N",\u1e46:"N",\u0145:"N",\u1e4a:"N",\u1e48:"N",\u0220:"N",\u019d:"N",\ua790:"N",\ua7a4:"N",\u01ca:"NJ",\u01cb:"Nj","\u24c4":"O",\uff2f:"O",\u00d2:"O",\u00d3:"O",\u00d4:"O",\u1ed2:"O",\u1ed0:"O",\u1ed6:"O",\u1ed4:"O",\u00d5:"O",\u1e4c:"O",\u022c:"O",\u1e4e:"O",\u014c:"O",\u1e50:"O",\u1e52:"O",\u014e:"O",\u022e:"O",\u0230:"O",\u00d6:"O",\u022a:"O",\u1ece:"O",\u0150:"O",\u01d1:"O",\u020c:"O",\u020e:"O",\u01a0:"O",\u1edc:"O",\u1eda:"O",\u1ee0:"O",\u1ede:"O",\u1ee2:"O",\u1ecc:"O",\u1ed8:"O",\u01ea:"O",\u01ec:"O",\u00d8:"O",\u01fe:"O",\u0186:"O",\u019f:"O",\ua74a:"O",\ua74c:"O",\u01a2:"OI",\ua74e:"OO",\u0222:"OU","\u24c5":"P",\uff30:"P",\u1e54:"P",\u1e56:"P",\u01a4:"P",\u2c63:"P",\ua750:"P",\ua752:"P",\ua754:"P","\u24c6":"Q",\uff31:"Q",\ua756:"Q",\ua758:"Q",\u024a:"Q","\u24c7":"R",\uff32:"R",\u0154:"R",\u1e58:"R",\u0158:"R",\u0210:"R",\u0212:"R",\u1e5a:"R",\u1e5c:"R",\u0156:"R",\u1e5e:"R",\u024c:"R",\u2c64:"R",\ua75a:"R",\ua7a6:"R",\ua782:"R","\u24c8":"S",\uff33:"S",\u1e9e:"S",\u015a:"S",\u1e64:"S",\u015c:"S",\u1e60:"S",\u0160:"S",\u1e66:"S",\u1e62:"S",\u1e68:"S",\u0218:"S",\u015e:"S",\u2c7e:"S",\ua7a8:"S",\ua784:"S","\u24c9":"T",\uff34:"T",\u1e6a:"T",\u0164:"T",\u1e6c:"T",\u021a:"T",\u0162:"T",\u1e70:"T",\u1e6e:"T",\u0166:"T",\u01ac:"T",\u01ae:"T",\u023e:"T",\ua786:"T",\ua728:"TZ","\u24ca":"U",\uff35:"U",\u00d9:"U",\u00da:"U",\u00db:"U",\u0168:"U",\u1e78:"U",\u016a:"U",\u1e7a:"U",\u016c:"U",\u00dc:"U",\u01db:"U",\u01d7:"U",\u01d5:"U",\u01d9:"U",\u1ee6:"U",\u016e:"U",\u0170:"U",\u01d3:"U",\u0214:"U",\u0216:"U",\u01af:"U",\u1eea:"U",\u1ee8:"U",\u1eee:"U",\u1eec:"U",\u1ef0:"U",\u1ee4:"U",\u1e72:"U",\u0172:"U",\u1e76:"U",\u1e74:"U",\u0244:"U","\u24cb":"V",\uff36:"V",\u1e7c:"V",\u1e7e:"V",\u01b2:"V",\ua75e:"V",\u0245:"V",\ua760:"VY","\u24cc":"W",\uff37:"W",\u1e80:"W",\u1e82:"W",\u0174:"W",\u1e86:"W",\u1e84:"W",\u1e88:"W",\u2c72:"W","\u24cd":"X",\uff38:"X",\u1e8a:"X",\u1e8c:"X","\u24ce":"Y",\uff39:"Y",\u1ef2:"Y",\u00dd:"Y",\u0176:"Y",\u1ef8:"Y",\u0232:"Y",\u1e8e:"Y",\u0178:"Y",\u1ef6:"Y",\u1ef4:"Y",\u01b3:"Y",\u024e:"Y",\u1efe:"Y","\u24cf":"Z",\uff3a:"Z",\u0179:"Z",\u1e90:"Z",\u017b:"Z",\u017d:"Z",\u1e92:"Z",\u1e94:"Z",\u01b5:"Z",\u0224:"Z",\u2c7f:"Z",\u2c6b:"Z",\ua762:"Z","\u24d0":"a",\uff41:"a",\u1e9a:"a",\u00e0:"a",\u00e1:"a",\u00e2:"a",\u1ea7:"a",\u1ea5:"a",\u1eab:"a",\u1ea9:"a",\u00e3:"a",\u0101:"a",\u0103:"a",\u1eb1:"a",\u1eaf:"a",\u1eb5:"a",\u1eb3:"a",\u0227:"a",\u01e1:"a",\u00e4:"a",\u01df:"a",\u1ea3:"a",\u00e5:"a",\u01fb:"a",\u01ce:"a",\u0201:"a",\u0203:"a",\u1ea1:"a",\u1ead:"a",\u1eb7:"a",\u1e01:"a",\u0105:"a",\u2c65:"a",\u0250:"a",\ua733:"aa",\u00e6:"ae",\u01fd:"ae",\u01e3:"ae",\ua735:"ao",\ua737:"au",\ua739:"av",\ua73b:"av",\ua73d:"ay","\u24d1":"b",\uff42:"b",\u1e03:"b",\u1e05:"b",\u1e07:"b",\u0180:"b",\u0183:"b",\u0253:"b","\u24d2":"c",\uff43:"c",\u0107:"c",\u0109:"c",\u010b:"c",\u010d:"c",\u00e7:"c",\u1e09:"c",\u0188:"c",\u023c:"c",\ua73f:"c",\u2184:"c","\u24d3":"d",\uff44:"d",\u1e0b:"d",\u010f:"d",\u1e0d:"d",\u1e11:"d",\u1e13:"d",\u1e0f:"d",\u0111:"d",\u018c:"d",\u0256:"d",\u0257:"d",\ua77a:"d",\u01f3:"dz",\u01c6:"dz","\u24d4":"e",\uff45:"e",\u00e8:"e",\u00e9:"e",\u00ea:"e",\u1ec1:"e",\u1ebf:"e",\u1ec5:"e",\u1ec3:"e",\u1ebd:"e",\u0113:"e",\u1e15:"e",\u1e17:"e",\u0115:"e",\u0117:"e",\u00eb:"e",\u1ebb:"e",\u011b:"e",\u0205:"e",\u0207:"e",\u1eb9:"e",\u1ec7:"e",\u0229:"e",\u1e1d:"e",\u0119:"e",\u1e19:"e",\u1e1b:"e",\u0247:"e",\u025b:"e",\u01dd:"e","\u24d5":"f",\uff46:"f",\u1e1f:"f",\u0192:"f",\ua77c:"f","\u24d6":"g",\uff47:"g",\u01f5:"g",\u011d:"g",\u1e21:"g",\u011f:"g",\u0121:"g",\u01e7:"g",\u0123:"g",\u01e5:"g",\u0260:"g",\ua7a1:"g",\u1d79:"g",\ua77f:"g","\u24d7":"h",\uff48:"h",\u0125:"h",\u1e23:"h",\u1e27:"h",\u021f:"h",\u1e25:"h",\u1e29:"h",\u1e2b:"h",\u1e96:"h",\u0127:"h",\u2c68:"h",\u2c76:"h",\u0265:"h",\u0195:"hv","\u24d8":"i",\uff49:"i",\u00ec:"i",\u00ed:"i",\u00ee:"i",\u0129:"i",\u012b:"i",\u012d:"i",\u00ef:"i",\u1e2f:"i",\u1ec9:"i",\u01d0:"i",\u0209:"i",\u020b:"i",\u1ecb:"i",\u012f:"i",\u1e2d:"i",\u0268:"i",\u0131:"i","\u24d9":"j",\uff4a:"j",\u0135:"j",\u01f0:"j",\u0249:"j","\u24da":"k",\uff4b:"k",\u1e31:"k",\u01e9:"k",\u1e33:"k",\u0137:"k",\u1e35:"k",\u0199:"k",\u2c6a:"k",\ua741:"k",\ua743:"k",\ua745:"k",\ua7a3:"k","\u24db":"l",\uff4c:"l",\u0140:"l",\u013a:"l",\u013e:"l",\u1e37:"l",\u1e39:"l",\u013c:"l",\u1e3d:"l",\u1e3b:"l",\u017f:"l",\u0142:"l",\u019a:"l",\u026b:"l",\u2c61:"l",\ua749:"l",\ua781:"l",\ua747:"l",\u01c9:"lj","\u24dc":"m",\uff4d:"m",\u1e3f:"m",\u1e41:"m",\u1e43:"m",\u0271:"m",\u026f:"m","\u24dd":"n",\uff4e:"n",\u01f9:"n",\u0144:"n",\u00f1:"n",\u1e45:"n",\u0148:"n",\u1e47:"n",\u0146:"n",\u1e4b:"n",\u1e49:"n",\u019e:"n",\u0272:"n",\u0149:"n",\ua791:"n",\ua7a5:"n",\u01cc:"nj","\u24de":"o",\uff4f:"o",\u00f2:"o",\u00f3:"o",\u00f4:"o",\u1ed3:"o",\u1ed1:"o",\u1ed7:"o",\u1ed5:"o",\u00f5:"o",\u1e4d:"o",\u022d:"o",\u1e4f:"o",\u014d:"o",\u1e51:"o",\u1e53:"o",\u014f:"o",\u022f:"o",\u0231:"o",\u00f6:"o",\u022b:"o",\u1ecf:"o",\u0151:"o",\u01d2:"o",\u020d:"o",\u020f:"o",\u01a1:"o",\u1edd:"o",\u1edb:"o",\u1ee1:"o",\u1edf:"o",\u1ee3:"o",\u1ecd:"o",\u1ed9:"o",\u01eb:"o",\u01ed:"o",\u00f8:"o",\u01ff:"o",\u0254:"o",\ua74b:"o",\ua74d:"o",\u0275:"o",\u01a3:"oi",\u0223:"ou",\ua74f:"oo","\u24df":"p",\uff50:"p",\u1e55:"p",\u1e57:"p",\u01a5:"p",\u1d7d:"p",\ua751:"p",\ua753:"p",\ua755:"p","\u24e0":"q",\uff51:"q",\u024b:"q",\ua757:"q",\ua759:"q","\u24e1":"r",\uff52:"r",\u0155:"r",\u1e59:"r",\u0159:"r",\u0211:"r",\u0213:"r",\u1e5b:"r",\u1e5d:"r",\u0157:"r",\u1e5f:"r",\u024d:"r",\u027d:"r",\ua75b:"r",\ua7a7:"r",\ua783:"r","\u24e2":"s",\uff53:"s",\u00df:"s",\u015b:"s",\u1e65:"s",\u015d:"s",\u1e61:"s",\u0161:"s",\u1e67:"s",\u1e63:"s",\u1e69:"s",\u0219:"s",\u015f:"s",\u023f:"s",\ua7a9:"s",\ua785:"s",\u1e9b:"s","\u24e3":"t",\uff54:"t",\u1e6b:"t",\u1e97:"t",\u0165:"t",\u1e6d:"t",\u021b:"t",\u0163:"t",\u1e71:"t",\u1e6f:"t",\u0167:"t",\u01ad:"t",\u0288:"t",\u2c66:"t",\ua787:"t",\ua729:"tz","\u24e4":"u",\uff55:"u",\u00f9:"u",\u00fa:"u",\u00fb:"u",\u0169:"u",\u1e79:"u",\u016b:"u",\u1e7b:"u",\u016d:"u",\u00fc:"u",\u01dc:"u",\u01d8:"u",\u01d6:"u",\u01da:"u",\u1ee7:"u",\u016f:"u",\u0171:"u",\u01d4:"u",\u0215:"u",\u0217:"u",\u01b0:"u",\u1eeb:"u",\u1ee9:"u",\u1eef:"u",\u1eed:"u",\u1ef1:"u",\u1ee5:"u",\u1e73:"u",\u0173:"u",\u1e77:"u",\u1e75:"u",\u0289:"u","\u24e5":"v",\uff56:"v",\u1e7d:"v",\u1e7f:"v",\u028b:"v",\ua75f:"v",\u028c:"v",\ua761:"vy","\u24e6":"w",\uff57:"w",\u1e81:"w",\u1e83:"w",\u0175:"w",\u1e87:"w",\u1e85:"w",\u1e98:"w",\u1e89:"w",\u2c73:"w","\u24e7":"x",\uff58:"x",\u1e8b:"x",\u1e8d:"x","\u24e8":"y",\uff59:"y",\u1ef3:"y",\u00fd:"y",\u0177:"y",\u1ef9:"y",\u0233:"y",\u1e8f:"y",\u00ff:"y",\u1ef7:"y",\u1e99:"y",\u1ef5:"y",\u01b4:"y",\u024f:"y",\u1eff:"y","\u24e9":"z",\uff5a:"z",\u017a:"z",\u1e91:"z",\u017c:"z",\u017e:"z",\u1e93:"z",\u1e95:"z",\u01b6:"z",\u0225:"z",\u0240:"z",\u2c6c:"z",\ua763:"z",\u0386:"\u0391",\u0388:"\u0395",\u0389:"\u0397",\u038a:"\u0399",\u03aa:"\u0399",\u038c:"\u039f",\u038e:"\u03a5",\u03ab:"\u03a5",\u038f:"\u03a9",\u03ac:"\u03b1",\u03ad:"\u03b5",\u03ae:"\u03b7",\u03af:"\u03b9",\u03ca:"\u03b9",\u0390:"\u03b9",\u03cc:"\u03bf",\u03cd:"\u03c5",\u03cb:"\u03c5",\u03b0:"\u03c5",\u03c9:"\u03c9",\u03c2:"\u03c3"};function De(r){return r.replace(/[^\u0000-\u007E]/g,t=>Ke[t]||t)}class de{constructor(u,t){this._ngSelect=u,this._selectionModel=t,this._items=[],this._filteredItems=[],this._markedIndex=-1}get items(){return this._items}get filteredItems(){return this._filteredItems}get markedIndex(){return this._markedIndex}get selectedItems(){return this._selectionModel.value}get markedItem(){return this._filteredItems[this._markedIndex]}get noItemsToSelect(){return this._ngSelect.hideSelected&&this._items.length===this.selectedItems.length}get maxItemsSelected(){return this._ngSelect.multiple&&this._ngSelect.maxSelectedItems<=this.selectedItems.length}get lastSelectedItem(){let u=this.selectedItems.length-1;for(;u>=0;u--){const t=this.selectedItems[u];if(!t.disabled)return t}return null}setItems(u){this._items=u.map((t,l)=>this.mapItem(t,l)),this._ngSelect.groupBy?(this._groups=this._groupBy(this._items,this._ngSelect.groupBy),this._items=this._flatten(this._groups)):(this._groups=new Map,this._groups.set(void 0,this._items)),this._filteredItems=[...this._items]}select(u){if(u.selected||this.maxItemsSelected)return;const t=this._ngSelect.multiple;t||this.clearSelected(),this._selectionModel.select(u,t,this._ngSelect.selectableGroupAsModel),this._ngSelect.hideSelected&&this._hideSelected(u)}unselect(u){u.selected&&(this._selectionModel.unselect(u,this._ngSelect.multiple),this._ngSelect.hideSelected&&ve(u.index)&&this._ngSelect.multiple&&this._showSelected(u))}findItem(u){let t;return t=this._ngSelect.compareWith?l=>this._ngSelect.compareWith(l.value,u):this._ngSelect.bindValue?l=>!l.children&&this.resolveNested(l.value,this._ngSelect.bindValue)===u:l=>l.value===u||!l.children&&l.label&&l.label===this.resolveNested(u,this._ngSelect.bindLabel),this._items.find(l=>t(l))}addItem(u){const t=this.mapItem(u,this._items.length);return this._items.push(t),this._filteredItems.push(t),t}clearSelected(u=!1){this._selectionModel.clear(u),this._items.forEach(t=>{t.selected=u&&t.selected&&t.disabled,t.marked=!1}),this._ngSelect.hideSelected&&this.resetFilteredItems()}findByLabel(u){return u=De(u).toLocaleLowerCase(),this.filteredItems.find(t=>De(t.label).toLocaleLowerCase().substr(0,u.length)===u)}filter(u){if(!u)return void this.resetFilteredItems();this._filteredItems=[],u=this._ngSelect.searchFn?u:De(u).toLocaleLowerCase();const t=this._ngSelect.searchFn||this._defaultSearchFn,l=this._ngSelect.hideSelected;for(const c of Array.from(this._groups.keys())){const T=[];for(const L of this._groups.get(c))l&&(L.parent&&L.parent.selected||L.selected)||t(u,this._ngSelect.searchFn?L.value:L)&&T.push(L);if(T.length>0){const[L]=T.slice(-1);if(L.parent){const re=this._items.find(Pe=>Pe===L.parent);this._filteredItems.push(re)}this._filteredItems.push(...T)}}}resetFilteredItems(){this._filteredItems.length!==this._items.length&&(this._filteredItems=this._ngSelect.hideSelected&&this.selectedItems.length>0?this._items.filter(u=>!u.selected):this._items)}unmarkItem(){this._markedIndex=-1}markNextItem(){this._stepToItem(1)}markPreviousItem(){this._stepToItem(-1)}markItem(u){this._markedIndex=this._filteredItems.indexOf(u)}markSelectedOrDefault(u){if(0===this._filteredItems.length)return;const t=this._getLastMarkedIndex();this._markedIndex=t>-1?t:u?this.filteredItems.findIndex(l=>!l.disabled):-1}resolveNested(u,t){if(!Le(u))return u;if(-1===t.indexOf("."))return u[t];{const l=t.split(".");let c=u;for(let T=0,L=l.length;T<L;++T){if(null==c)return null;c=c[l[T]]}return c}}mapItem(u,t){const l=ve(u.$ngOptionLabel)?u.$ngOptionLabel:this.resolveNested(u,this._ngSelect.bindLabel),c=ve(u.$ngOptionValue)?u.$ngOptionValue:u;return{index:t,label:ve(l)?l.toString():"",value:c,disabled:u.disabled,htmlId:`${this._ngSelect.dropdownId}-${t}`}}mapSelectedItems(){const u=this._ngSelect.multiple;for(const t of this.selectedItems){const l=this._ngSelect.bindValue?this.resolveNested(t.value,this._ngSelect.bindValue):t.value,c=ve(l)?this.findItem(l):null;this._selectionModel.unselect(t,u),this._selectionModel.select(c||t,u,this._ngSelect.selectableGroupAsModel)}this._ngSelect.hideSelected&&(this._filteredItems=this.filteredItems.filter(t=>-1===this.selectedItems.indexOf(t)))}_showSelected(u){if(this._filteredItems.push(u),u.parent){const t=u.parent;this._filteredItems.find(c=>c===t)||this._filteredItems.push(t)}else if(u.children)for(const t of u.children)t.selected=!1,this._filteredItems.push(t);this._filteredItems=[...this._filteredItems.sort((t,l)=>t.index-l.index)]}_hideSelected(u){this._filteredItems=this._filteredItems.filter(t=>t!==u),u.parent?u.parent.children.every(l=>l.selected)&&(this._filteredItems=this._filteredItems.filter(l=>l!==u.parent)):u.children&&(this._filteredItems=this.filteredItems.filter(t=>t.parent!==u))}_defaultSearchFn(u,t){return De(t.label).toLocaleLowerCase().indexOf(u)>-1}_getNextItemIndex(u){return u>0?this._markedIndex>=this._filteredItems.length-1?0:this._markedIndex+1:this._markedIndex<=0?this._filteredItems.length-1:this._markedIndex-1}_stepToItem(u){0===this._filteredItems.length||this._filteredItems.every(t=>t.disabled)||(this._markedIndex=this._getNextItemIndex(u),this.markedItem.disabled&&this._stepToItem(u))}_getLastMarkedIndex(){if(this._ngSelect.hideSelected||this._markedIndex>-1&&void 0===this.markedItem)return-1;const u=this._filteredItems.indexOf(this.lastSelectedItem);return this.lastSelectedItem&&u<0?-1:Math.max(this.markedIndex,u)}_groupBy(u,t){const l=new Map;if(0===u.length)return l;if(Array.isArray(u[0].value[t])){for(const L of u){const re=(L.value[t]||[]).map((Pe,Be)=>this.mapItem(Pe,Be));l.set(L,re)}return l}const c=$e(this._ngSelect.groupBy),T=L=>{const re=c?t(L.value):L.value[t];return ve(re)?re:void 0};for(const L of u){const re=T(L),Pe=l.get(re);Pe?Pe.push(L):l.set(re,[L])}return l}_flatten(u){const t=$e(this._ngSelect.groupBy),l=[];for(const c of Array.from(u.keys())){let T=l.length;if(void 0===c){const qe=u.get(void 0)||[];l.push(...qe.map(et=>(et.index=T++,et)));continue}const L=Le(c),re={label:L?"":String(c),children:void 0,parent:null,index:T++,disabled:!this._ngSelect.selectableGroup,htmlId:Ze()},Pe=t?this._ngSelect.bindLabel:this._ngSelect.groupBy,Be=this._ngSelect.groupValue||(()=>L?c.value:{[Pe]:c}),Qe=u.get(c).map(qe=>(qe.parent=re,qe.children=void 0,qe.index=T++,qe));re.children=Qe,re.value=Be(c,Qe.map(qe=>qe.value)),l.push(re),l.push(...Qe)}return l}}var n=function(r){return r[r.Tab=9]="Tab",r[r.Enter=13]="Enter",r[r.Esc=27]="Esc",r[r.Space=32]="Space",r[r.ArrowUp=38]="ArrowUp",r[r.ArrowDown=40]="ArrowDown",r[r.Backspace=8]="Backspace",r}(n||{});let s=(()=>{class r{constructor(){this._dimensions={itemHeight:0,panelHeight:0,itemsPerViewport:0}}get dimensions(){return this._dimensions}calculateItems(t,l,c){const T=this._dimensions,L=T.itemHeight*l,Pe=Math.max(0,t)/L*l;let Be=Math.min(l,Math.ceil(Pe)+(T.itemsPerViewport+1));const qe=Math.max(0,Be-T.itemsPerViewport);let et=Math.min(qe,Math.floor(Pe)),Et=T.itemHeight*Math.ceil(et)-T.itemHeight*Math.min(et,c);return Et=isNaN(Et)?0:Et,et=isNaN(et)?-1:et,Be=isNaN(Be)?-1:Be,et-=c,et=Math.max(0,et),Be+=c,Be=Math.min(l,Be),{topPadding:Et,scrollHeight:L,start:et,end:Be}}setDimensions(t,l){const c=Math.max(1,Math.floor(l/t));this._dimensions={itemHeight:t,panelHeight:l,itemsPerViewport:c}}getScrollTo(t,l,c){const{panelHeight:T}=this.dimensions,L=t+l,Pe=c+T;return T>=L&&c===t?null:L>Pe?c+L-Pe:t<=c?t:null}static#e=this.\u0275fac=function(l){return new(l||r)};static#t=this.\u0275prov=e.jDH({token:r,factory:r.\u0275fac})}return r})();const o=["top","right","bottom","left"],a=typeof requestAnimationFrame<"u"?fe.X:j;let S=(()=>{class r{constructor(t,l,c,T,L){this._renderer=t,this._zone=l,this._panelService=c,this._document=L,this.items=[],this.position="auto",this.virtualScroll=!1,this.filterValue=null,this.update=new e.bkB,this.scroll=new e.bkB,this.scrollToEnd=new e.bkB,this.outsideClick=new e.bkB,this._destroy$=new me.B,this._scrollToEndFired=!1,this._updateScrollHeight=!1,this._lastScrollPosition=0,this._dropdown=T.nativeElement}get currentPosition(){return this._currentPosition}get itemsLength(){return this._itemsLength}set itemsLength(t){t!==this._itemsLength&&(this._itemsLength=t,this._onItemsLengthChanged())}get _startOffset(){if(this.markedItem){const{itemHeight:t,panelHeight:l}=this._panelService.dimensions,c=this.markedItem.index*t;return l>c?0:c}return 0}ngOnInit(){this._select=this._dropdown.parentElement,this._virtualPadding=this.paddingElementRef.nativeElement,this._scrollablePanel=this.scrollElementRef.nativeElement,this._contentPanel=this.contentElementRef.nativeElement,this._handleScroll(),this._handleOutsideClick(),this._appendDropdown(),this._setupMousedownListener()}ngOnChanges(t){if(t.items){const l=t.items;this._onItemsChange(l.currentValue,l.firstChange)}}ngOnDestroy(){this._destroy$.next(),this._destroy$.complete(),this._destroy$.unsubscribe(),this.appendTo&&this._renderer.removeChild(this._dropdown.parentNode,this._dropdown)}scrollTo(t,l=!1){if(!t)return;const c=this.items.indexOf(t);if(c<0||c>=this.itemsLength)return;let T;if(this.virtualScroll){const L=this._panelService.dimensions.itemHeight;T=this._panelService.getScrollTo(c*L,L,this._lastScrollPosition)}else{const L=this._dropdown.querySelector(`#${t.htmlId}`);T=this._panelService.getScrollTo(L.offsetTop,L.clientHeight,l?L.offsetTop:this._lastScrollPosition)}ve(T)&&(this._scrollablePanel.scrollTop=T)}scrollToTag(){const t=this._scrollablePanel;t.scrollTop=t.scrollHeight-t.clientHeight}adjustPosition(){this._updateYPosition()}_handleDropdownPosition(){this._currentPosition=this._calculateCurrentPosition(this._dropdown),o.includes(this._currentPosition)?this._updateDropdownClass(this._currentPosition):this._updateDropdownClass("bottom"),this.appendTo&&this._updateYPosition(),this._dropdown.style.opacity="1"}_updateDropdownClass(t){o.forEach(c=>{const T=`ng-select-${c}`;this._renderer.removeClass(this._dropdown,T),this._renderer.removeClass(this._select,T)});const l=`ng-select-${t}`;this._renderer.addClass(this._dropdown,l),this._renderer.addClass(this._select,l)}_handleScroll(){this._zone.runOutsideAngular(()=>{(0,Me.R)(this.scrollElementRef.nativeElement,"scroll").pipe((0,v.Q)(this._destroy$),W(0,a)).subscribe(t=>{const l=t.path||t.composedPath&&t.composedPath();l&&(0!==l.length||t.target)&&this._onContentScrolled(l&&0!==l.length?l[0].scrollTop:t.target.scrollTop)})})}_handleOutsideClick(){this._document&&this._zone.runOutsideAngular(()=>{(0,ce.h)((0,Me.R)(this._document,"touchstart",{capture:!0}),(0,Me.R)(this._document,"click",{capture:!0})).pipe((0,v.Q)(this._destroy$)).subscribe(t=>this._checkToClose(t))})}_checkToClose(t){if(this._select.contains(t.target)||this._dropdown.contains(t.target))return;const l=t.path||t.composedPath&&t.composedPath();t.target&&t.target.shadowRoot&&l&&l[0]&&this._select.contains(l[0])||this._zone.run(()=>this.outsideClick.emit())}_onItemsChange(t,l){this.items=t||[],this._scrollToEndFired=!1,this.itemsLength=t.length,this.virtualScroll?this._updateItemsRange(l):(this._setVirtualHeight(),this._updateItems(l))}_updateItems(t){this.update.emit(this.items),!1!==t&&this._zone.runOutsideAngular(()=>{Promise.resolve().then(()=>{this._panelService.setDimensions(0,this._scrollablePanel.clientHeight),this._handleDropdownPosition(),this.scrollTo(this.markedItem,t)})})}_updateItemsRange(t){this._zone.runOutsideAngular(()=>{this._measureDimensions().then(()=>{t?(this._renderItemsRange(this._startOffset),this._handleDropdownPosition()):this._renderItemsRange()})})}_onContentScrolled(t){this.virtualScroll&&this._renderItemsRange(t),this._lastScrollPosition=t,this._fireScrollToEnd(t)}_updateVirtualHeight(t){this._updateScrollHeight&&(this._virtualPadding.style.height=`${t}px`,this._updateScrollHeight=!1)}_setVirtualHeight(){this._virtualPadding&&(this._virtualPadding.style.height="0px")}_onItemsLengthChanged(){this._updateScrollHeight=!0}_renderItemsRange(t=null){if(t&&this._lastScrollPosition===t)return;const l=this._panelService.calculateItems(t=t||this._scrollablePanel.scrollTop,this.itemsLength,this.bufferAmount);this._updateVirtualHeight(l.scrollHeight),this._contentPanel.style.transform=`translateY(${l.topPadding}px)`,this._zone.run(()=>{this.update.emit(this.items.slice(l.start,l.end)),this.scroll.emit({start:l.start,end:l.end})}),ve(t)&&0===this._lastScrollPosition&&(this._scrollablePanel.scrollTop=t,this._lastScrollPosition=t)}_measureDimensions(){if(this._panelService.dimensions.itemHeight>0||0===this.itemsLength)return Promise.resolve(this._panelService.dimensions);const[t]=this.items;return this.update.emit([t]),Promise.resolve().then(()=>{const c=this._dropdown.querySelector(`#${t.htmlId}`).clientHeight;return this._virtualPadding.style.height=c*this.itemsLength+"px",this._panelService.setDimensions(c,this._scrollablePanel.clientHeight),this._panelService.dimensions})}_fireScrollToEnd(t){this._scrollToEndFired||0===t||t+this._dropdown.clientHeight>=(this.virtualScroll?this._virtualPadding:this._contentPanel).clientHeight-1&&(this._zone.run(()=>this.scrollToEnd.emit()),this._scrollToEndFired=!0)}_calculateCurrentPosition(t){if("auto"!==this.position)return this.position;const l=this._select.getBoundingClientRect(),c=document.documentElement.scrollTop||document.body.scrollTop;return l.top+window.pageYOffset+l.height+t.getBoundingClientRect().height>c+document.documentElement.clientHeight?"top":"bottom"}_appendDropdown(){if(this.appendTo){if(this._parent=document.querySelector(this.appendTo),!this._parent)throw new Error(`appendTo selector ${this.appendTo} did not found any parent element`);this._updateXPosition(),this._parent.appendChild(this._dropdown)}}_updateXPosition(){const t=this._select.getBoundingClientRect(),l=this._parent.getBoundingClientRect();this._dropdown.style.left=t.left-l.left+"px",this._dropdown.style.width=t.width+"px",this._dropdown.style.minWidth=t.width+"px"}_updateYPosition(){const t=this._select.getBoundingClientRect(),l=this._parent.getBoundingClientRect(),c=t.height;"top"===this._currentPosition?(this._dropdown.style.bottom=l.bottom-t.bottom+c+"px",this._dropdown.style.top="auto"):"bottom"===this._currentPosition&&(this._dropdown.style.top=t.top-l.top+c+"px",this._dropdown.style.bottom="auto")}_setupMousedownListener(){this._zone.runOutsideAngular(()=>{(0,Me.R)(this._dropdown,"mousedown").pipe((0,v.Q)(this._destroy$)).subscribe(t=>{"INPUT"!==t.target.tagName&&t.preventDefault()})})}static#e=this.\u0275fac=function(l){return new(l||r)(e.rXU(e.sFG),e.rXU(e.SKi),e.rXU(s),e.rXU(e.aKT),e.rXU(Ie.qQ,8))};static#t=this.\u0275cmp=e.VBU({type:r,selectors:[["ng-dropdown-panel"]],viewQuery:function(l,c){if(1&l&&(e.GBs(We,7,e.aKT),e.GBs(ke,7,e.aKT),e.GBs(He,7,e.aKT)),2&l){let T;e.mGM(T=e.lsd())&&(c.contentElementRef=T.first),e.mGM(T=e.lsd())&&(c.scrollElementRef=T.first),e.mGM(T=e.lsd())&&(c.paddingElementRef=T.first)}},inputs:{items:"items",markedItem:"markedItem",position:"position",appendTo:"appendTo",bufferAmount:"bufferAmount",virtualScroll:[2,"virtualScroll","virtualScroll",e.L39],headerTemplate:"headerTemplate",footerTemplate:"footerTemplate",filterValue:"filterValue"},outputs:{update:"update",scroll:"scroll",scrollToEnd:"scrollToEnd",outsideClick:"outsideClick"},standalone:!0,features:[e.GFd,e.OA$,e.aNF],ngContentSelectors:Xe,decls:9,vars:6,consts:[["scroll",""],["padding",""],["content",""],[1,"ng-dropdown-header"],["role","listbox",1,"ng-dropdown-panel-items","scroll-host"],[1,"ng-dropdown-footer"],[3,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(l,c){1&l&&(e.NAR(),e.DNE(0,ze,2,4,"div",3),e.j41(1,"div",4,0),e.nrm(3,"div",null,1),e.j41(5,"div",null,2),e.SdG(7),e.k0s()(),e.DNE(8,tt,2,4,"div",5)),2&l&&(e.vxM(c.headerTemplate?0:-1),e.R7$(3),e.AVh("total-padding",c.virtualScroll),e.R7$(2),e.AVh("scrollable-content",c.virtualScroll&&c.items.length),e.R7$(3),e.vxM(c.footerTemplate?8:-1))},dependencies:[Ie.T3],encapsulation:2,changeDetection:0})}return r})(),I=(()=>{class r{constructor(t){this.elementRef=t,this.disabled=!1,this.stateChange$=new me.B}get label(){return(this.elementRef.nativeElement.textContent||"").trim()}ngOnChanges(t){t.disabled&&this.stateChange$.next({value:this.value,disabled:this.disabled})}ngAfterViewChecked(){this.label!==this._previousLabel&&(this._previousLabel=this.label,this.stateChange$.next({value:this.value,disabled:this.disabled,label:this.elementRef.nativeElement.innerHTML}))}ngOnDestroy(){this.stateChange$.complete()}static#e=this.\u0275fac=function(l){return new(l||r)(e.rXU(e.aKT))};static#t=this.\u0275cmp=e.VBU({type:r,selectors:[["ng-option"]],inputs:{value:"value",disabled:[2,"disabled","disabled",e.L39]},standalone:!0,features:[e.GFd,e.OA$,e.aNF],ngContentSelectors:Xe,decls:1,vars:0,template:function(l,c){1&l&&(e.NAR(),e.SdG(0))},encapsulation:2,changeDetection:0})}return r})();function K(){return new $}class ${constructor(){this._selected=[]}get value(){return this._selected}select(u,t,l){if(u.selected=!0,(!u.children||!t&&l)&&this._selected.push(u),t)if(u.parent){const c=u.parent.children.length,T=u.parent.children.filter(L=>L.selected).length;u.parent.selected=c===T}else u.children&&(this._setChildrenSelectedState(u.children,!0),this._removeChildren(u),this._selected=l&&this._activeChildren(u)?[...this._selected.filter(c=>c.parent!==u),u]:[...this._selected,...u.children.filter(c=>!c.disabled)])}unselect(u,t){if(this._selected=this._selected.filter(l=>l!==u),u.selected=!1,t)if(u.parent&&u.parent.selected){const l=u.parent.children;this._removeParent(u.parent),this._removeChildren(u.parent),this._selected.push(...l.filter(c=>c!==u&&!c.disabled)),u.parent.selected=!1}else u.children&&(this._setChildrenSelectedState(u.children,!1),this._removeChildren(u))}clear(u){this._selected=u?this._selected.filter(t=>t.disabled):[]}_setChildrenSelectedState(u,t){for(const l of u)l.disabled||(l.selected=t)}_removeChildren(u){this._selected=[...this._selected.filter(t=>t.parent!==u),...u.children.filter(t=>t.parent===u&&t.disabled&&t.selected)]}_removeParent(u){this._selected=this._selected.filter(t=>t!==u)}_activeChildren(u){return u.children.every(t=>!t.disabled||t.selected)}}let Q=(()=>{class r{constructor(){this.notFoundText="No items found",this.typeToSearchText="Type to search",this.addTagText="Add item",this.loadingText="Loading...",this.clearAllText="Clear all",this.disableVirtualScroll=!0,this.openOnEnter=!0,this.appearance="underline"}static#e=this.\u0275fac=function(l){return new(l||r)};static#t=this.\u0275prov=e.jDH({token:r,factory:r.\u0275fac,providedIn:"root"})}return r})(),le=(()=>{class r{warn(t){console.warn(t)}static#e=this.\u0275fac=function(l){return new(l||r)};static#t=this.\u0275prov=e.jDH({token:r,factory:r.\u0275fac,providedIn:"root"})}return r})();const H=new e.nKC("ng-select-selection-model");let z=(()=>{class r{constructor(t,l,c,T,L,re,Pe){this.classes=t,this.autoFocus=l,this.config=c,this._cd=re,this._console=Pe,this.markFirst=!0,this.fixedPlaceholder=!0,this.preventToggleOnRightClick=!1,this.dropdownPosition="auto",this.loading=!1,this.closeOnSelect=!0,this.hideSelected=!1,this.selectOnTab=!1,this.bufferAmount=4,this.selectableGroup=!1,this.selectableGroupAsModel=!0,this.searchFn=null,this.trackByFn=null,this.clearOnBackspace=!0,this.labelForId=null,this.inputAttrs={},this.readonly=!1,this.searchWhileComposing=!0,this.minTermLength=0,this.editableSearchTerm=!1,this.ngClass=null,this.multiple=!1,this.addTag=!1,this.searchable=!0,this.clearable=!0,this.isOpen=!1,this.blurEvent=new e.bkB,this.focusEvent=new e.bkB,this.changeEvent=new e.bkB,this.openEvent=new e.bkB,this.closeEvent=new e.bkB,this.searchEvent=new e.bkB,this.clearEvent=new e.bkB,this.addEvent=new e.bkB,this.removeEvent=new e.bkB,this.scroll=new e.bkB,this.scrollToEnd=new e.bkB,this.useDefaultClass=!0,this.viewPortItems=[],this.searchTerm=null,this.dropdownId=Ze(),this.escapeHTML=!0,this._defaultLabel="label",this._pressedKeys=[],this._isComposing=!1,this._destroy$=new me.B,this._keyPress$=new me.B,this._items=[],this.keyDownFn=Be=>!0,this.clearItem=Be=>{const Qe=this.selectedItems.find(qe=>qe.value===Be);this.unselect(Qe)},this.trackByOption=(Be,Qe)=>this.trackByFn?this.trackByFn(Qe.value):Qe,this._onChange=Be=>{},this._onTouched=()=>{},this._mergeGlobalConfig(c),this.itemsList=new de(this,T?T():K()),this.element=L.nativeElement}get filtered(){return!!this.searchTerm&&this.searchable||this._isComposing}get single(){return!this.multiple}get items(){return this._items}set items(t){this._itemsAreUsed=!0,this._items=t??[]}get disabled(){return this.readonly||this._disabled}get compareWith(){return this._compareWith}set compareWith(t){if(null!=t&&!$e(t))throw Error("`compareWith` must be a function.");this._compareWith=t}get clearSearchOnAdd(){return ve(this._clearSearchOnAdd)?this._clearSearchOnAdd:ve(this.config.clearSearchOnAdd)?this.config.clearSearchOnAdd:this.closeOnSelect}set clearSearchOnAdd(t){this._clearSearchOnAdd=t}get deselectOnClick(){return ve(this._deselectOnClick)?this._deselectOnClick:ve(this.config.deselectOnClick)?this.config.deselectOnClick:this.multiple}set deselectOnClick(t){this._deselectOnClick=t}get selectedItems(){return this.itemsList.selectedItems}get selectedValues(){return this.selectedItems.map(t=>t.value)}get hasValue(){return this.selectedItems.length>0}get currentPanelPosition(){if(this.dropdownPanel)return this.dropdownPanel.currentPosition}get showAddTag(){if(!this._validTerm)return!1;const t=this.searchTerm.toLowerCase().trim();return this.addTag&&!this.itemsList.filteredItems.some(l=>l.label.toLowerCase()===t)&&(!this.hideSelected&&this.isOpen||!this.selectedItems.some(l=>l.label.toLowerCase()===t))&&!this.loading}get _editableSearchTerm(){return this.editableSearchTerm&&!this.multiple}get _isTypeahead(){return this.typeahead&&this.typeahead.observers.length>0}get _validTerm(){const t=this.searchTerm&&this.searchTerm.trim();return t&&t.length>=this.minTermLength}ngOnInit(){this._handleKeyPresses(),this._setInputAttributes()}ngOnChanges(t){t.multiple&&this.itemsList.clearSelected(),t.items&&this._setItems(t.items.currentValue||[]),t.isOpen&&(this._manualOpen=ve(t.isOpen.currentValue))}ngAfterViewInit(){this._itemsAreUsed||(this.escapeHTML=!1,this._setItemsFromNgOptions()),ve(this.autoFocus)&&this.focus()}ngOnDestroy(){this._destroy$.next(),this._destroy$.complete()}handleKeyDown(t){if(n[t.which]){if(!1===this.keyDownFn(t))return;this.handleKeyCode(t)}else t.key&&1===t.key.length&&this._keyPress$.next(t.key.toLocaleLowerCase())}handleKeyCode(t){this.clearButton&&this.clearButton.nativeElement===t.target?this.handleKeyCodeClear(t):this.handleKeyCodeInput(t)}handleKeyCodeInput(t){switch(t.which){case n.ArrowDown:this._handleArrowDown(t);break;case n.ArrowUp:this._handleArrowUp(t);break;case n.Space:this._handleSpace(t);break;case n.Enter:this._handleEnter(t);break;case n.Tab:this._handleTab(t);break;case n.Esc:this.close(),t.preventDefault();break;case n.Backspace:this._handleBackspace()}}handleKeyCodeClear(t){t.which===n.Enter&&(this.handleClearClick(),t.preventDefault())}handleMousedown(t){if(this.preventToggleOnRightClick&&2===t.button)return!1;const l=t.target;"INPUT"!==l.tagName&&t.preventDefault(),l.classList.contains("ng-clear-wrapper")?this.handleClearClick():l.classList.contains("ng-arrow-wrapper")?this.handleArrowClick():l.classList.contains("ng-value-icon")||(this.focused||this.focus(),this.searchable?this.open():this.toggle())}handleArrowClick(){this.isOpen?this.close():this.open()}handleClearClick(){this.hasValue&&(this.itemsList.clearSelected(!0),this._updateNgModel()),this._clearSearch(),this.focus(),this.clearEvent.emit(),this._onSelectionChanged()}clearModel(){this.clearable&&(this.itemsList.clearSelected(),this._updateNgModel())}writeValue(t){this.itemsList.clearSelected(),this._handleWriteValue(t),this._cd.markForCheck()}registerOnChange(t){this._onChange=t}registerOnTouched(t){this._onTouched=t}setDisabledState(t){this._disabled=t,this._cd.markForCheck()}toggle(){this.isOpen?this.close():this.open()}open(){this.disabled||this.isOpen||this._manualOpen||!this._isTypeahead&&!this.addTag&&this.itemsList.noItemsToSelect||(this.isOpen=!0,this.itemsList.markSelectedOrDefault(this.markFirst),this.openEvent.emit(),this.searchTerm||this.focus(),this.detectChanges())}close(){!this.isOpen||this._manualOpen||(this.isOpen=!1,this._isComposing=!1,this._editableSearchTerm?this.itemsList.resetFilteredItems():this._clearSearch(),this.itemsList.unmarkItem(),this._onTouched(),this.closeEvent.emit(),this._cd.markForCheck())}toggleItem(t){!t||t.disabled||this.disabled||(this.deselectOnClick&&t.selected?this.unselect(t):this.select(t),this._editableSearchTerm&&this._setSearchTermFromItems())}select(t){t.selected||(this.itemsList.select(t),this.clearSearchOnAdd&&!this._editableSearchTerm&&this._clearSearch(),this._updateNgModel(),this.multiple&&this.addEvent.emit(t.value)),(this.closeOnSelect||this.itemsList.noItemsToSelect)&&this.close(),this._onSelectionChanged()}focus(){this.searchInput.nativeElement.focus()}blur(){this.searchInput.nativeElement.blur()}unselect(t){t&&(this.itemsList.unselect(t),this.focus(),this._updateNgModel(),this.removeEvent.emit(t.value),this._onSelectionChanged())}selectTag(){let t;t=$e(this.addTag)?this.addTag(this.searchTerm):this._primitive?this.searchTerm:{[this.bindLabel]:this.searchTerm};const l=c=>this._isTypeahead||!this.isOpen?this.itemsList.mapItem(c,null):this.itemsList.addItem(c);!function Ye(r){return r instanceof Promise}(t)?t&&this.select(l(t)):t.then(c=>this.select(l(c))).catch(()=>{})}showClear(){return this.clearable&&(this.hasValue||this.searchTerm)&&!this.disabled}focusOnClear(){this.blur(),this.clearButton&&this.clearButton.nativeElement.focus()}showNoItemsFound(){const t=0===this.itemsList.filteredItems.length;return(t&&!this._isTypeahead&&!this.loading||t&&this._isTypeahead&&this._validTerm&&!this.loading)&&!this.showAddTag}showTypeToSearch(){return 0===this.itemsList.filteredItems.length&&this._isTypeahead&&!this._validTerm&&!this.loading}onCompositionStart(){this._isComposing=!0}onCompositionEnd(t){this._isComposing=!1,!this.searchWhileComposing&&this.filter(t)}filter(t){this._isComposing&&!this.searchWhileComposing||(this.searchTerm=t,this._isTypeahead&&(this._validTerm||0===this.minTermLength)&&this.typeahead.next(t),this._isTypeahead||(this.itemsList.filter(this.searchTerm),this.isOpen&&this.itemsList.markSelectedOrDefault(this.markFirst)),this.searchEvent.emit({term:t,items:this.itemsList.filteredItems.map(l=>l.value)}),this.open())}onInputFocus(t){this.focused||(this._editableSearchTerm&&this._setSearchTermFromItems(),this.element.classList.add("ng-select-focused"),this.focusEvent.emit(t),this.focused=!0)}onInputBlur(t){this.element.classList.remove("ng-select-focused"),this.blurEvent.emit(t),!this.isOpen&&!this.disabled&&this._onTouched(),this._editableSearchTerm&&this._setSearchTermFromItems(),this.focused=!1}onItemHover(t){t.disabled||this.itemsList.markItem(t)}detectChanges(){this._cd.destroyed||this._cd.detectChanges()}_setSearchTermFromItems(){const t=this.selectedItems&&this.selectedItems[0];this.searchTerm=t&&t.label||null}_setItems(t){const l=t[0];this.bindLabel=this.bindLabel||this._defaultLabel,this._primitive=ve(l)?!Le(l):this._primitive||this.bindLabel===this._defaultLabel,this.itemsList.setItems(t),t.length>0&&this.hasValue&&this.itemsList.mapSelectedItems(),this.isOpen&&ve(this.searchTerm)&&!this._isTypeahead&&this.itemsList.filter(this.searchTerm),(this._isTypeahead||this.isOpen)&&this.itemsList.markSelectedOrDefault(this.markFirst)}_setItemsFromNgOptions(){const t=c=>{this.items=c.map(T=>({$ngOptionValue:T.value,$ngOptionLabel:T.elementRef.nativeElement.innerHTML,disabled:T.disabled})),this.itemsList.setItems(this.items),this.hasValue&&this.itemsList.mapSelectedItems(),this.detectChanges()},l=()=>{const c=(0,ce.h)(this.ngOptions.changes,this._destroy$);(0,ce.h)(...this.ngOptions.map(T=>T.stateChange$)).pipe((0,v.Q)(c)).subscribe(T=>{const L=this.itemsList.findItem(T.value);L.disabled=T.disabled,L.label=T.label||L.label,this._cd.detectChanges()})};this.ngOptions.changes.pipe((0,N.Z)(this.ngOptions),(0,v.Q)(this._destroy$)).subscribe(c=>{this.bindLabel=this._defaultLabel,t(c),l()})}_isValidWriteValue(t){if(!ve(t)||this.multiple&&""===t||Array.isArray(t)&&0===t.length)return!1;const l=c=>!(!ve(this.compareWith)&&Le(c)&&this.bindValue&&(this._console.warn(`Setting object(${JSON.stringify(c)}) as your model with bindValue is not allowed unless [compareWith] is used.`),1));return this.multiple?Array.isArray(t)?t.every(c=>l(c)):(this._console.warn("Multiple select ngModel should be array."),!1):l(t)}_handleWriteValue(t){if(!this._isValidWriteValue(t))return;const l=c=>{let T=this.itemsList.findItem(c);if(T)this.itemsList.select(T);else{const L=Le(c);L||!L&&!this.bindValue?this.itemsList.select(this.itemsList.mapItem(c,null)):this.bindValue&&(T={[this.bindLabel]:null,[this.bindValue]:c},this.itemsList.select(this.itemsList.mapItem(T,null)))}};this.multiple?t.forEach(c=>l(c)):l(t)}_handleKeyPresses(){this.searchable||this._keyPress$.pipe((0,v.Q)(this._destroy$),(0,U.M)(t=>this._pressedKeys.push(t)),(0,Y.B)(200),(0,ne.p)(()=>this._pressedKeys.length>0),(0,ae.T)(()=>this._pressedKeys.join(""))).subscribe(t=>{const l=this.itemsList.findByLabel(t);l&&(this.isOpen?(this.itemsList.markItem(l),this._scrollToMarked(),this._cd.markForCheck()):this.select(l)),this._pressedKeys=[]})}_setInputAttributes(){const t=this.searchInput.nativeElement,l={type:"text",autocorrect:"off",autocapitalize:"off",autocomplete:this.labelForId?"off":this.dropdownId,...this.inputAttrs};for(const c of Object.keys(l))t.setAttribute(c,l[c])}_updateNgModel(){const t=[];for(const c of this.selectedItems)if(this.bindValue){let T=null;T=c.children?c.value[(this.groupValue?this.bindValue:this.groupBy)||this.groupBy]:this.itemsList.resolveNested(c.value,this.bindValue),t.push(T)}else t.push(c.value);const l=this.selectedItems.map(c=>c.value);this.multiple?(this._onChange(t),this.changeEvent.emit(l)):(this._onChange(ve(t[0])?t[0]:null),this.changeEvent.emit(l[0])),this._cd.markForCheck()}_clearSearch(){this.searchTerm&&(this._changeSearch(null),this.itemsList.resetFilteredItems())}_changeSearch(t){this.searchTerm=t,this._isTypeahead&&this.typeahead.next(t)}_scrollToMarked(){!this.isOpen||!this.dropdownPanel||this.dropdownPanel.scrollTo(this.itemsList.markedItem)}_scrollToTag(){!this.isOpen||!this.dropdownPanel||this.dropdownPanel.scrollToTag()}_onSelectionChanged(){this.isOpen&&this.deselectOnClick&&this.appendTo&&(this._cd.detectChanges(),this.dropdownPanel.adjustPosition())}_handleTab(t){if(!1===this.isOpen)if(this.showClear()&&!t.shiftKey)this.focusOnClear(),t.preventDefault();else if(!this.addTag)return;this.selectOnTab?this.itemsList.markedItem?(this.toggleItem(this.itemsList.markedItem),t.preventDefault()):this.showAddTag?(this.selectTag(),t.preventDefault()):this.close():this.close()}_handleEnter(t){if(this.isOpen||this._manualOpen)this.itemsList.markedItem?this.toggleItem(this.itemsList.markedItem):this.showAddTag&&this.selectTag();else{if(!this.openOnEnter)return;this.open()}t.preventDefault()}_handleSpace(t){this.isOpen||this._manualOpen||(this.open(),t.preventDefault())}_handleArrowDown(t){this._nextItemIsTag(1)?(this.itemsList.unmarkItem(),this._scrollToTag()):(this.itemsList.markNextItem(),this._scrollToMarked()),this.open(),t.preventDefault()}_handleArrowUp(t){this.isOpen&&(this._nextItemIsTag(-1)?(this.itemsList.unmarkItem(),this._scrollToTag()):(this.itemsList.markPreviousItem(),this._scrollToMarked()),t.preventDefault())}_nextItemIsTag(t){const l=this.itemsList.markedIndex+t;return this.addTag&&this.searchTerm&&this.itemsList.markedItem&&(l<0||l===this.itemsList.filteredItems.length)}_handleBackspace(){this.searchTerm||!this.clearable||!this.clearOnBackspace||!this.hasValue||(this.multiple?this.unselect(this.itemsList.lastSelectedItem):this.clearModel())}_mergeGlobalConfig(t){this.placeholder=this.placeholder||t.placeholder,this.fixedPlaceholder=this.fixedPlaceholder||t.fixedPlaceholder,this.notFoundText=this.notFoundText||t.notFoundText,this.typeToSearchText=this.typeToSearchText||t.typeToSearchText,this.addTagText=this.addTagText||t.addTagText,this.loadingText=this.loadingText||t.loadingText,this.clearAllText=this.clearAllText||t.clearAllText,this.virtualScroll=ve(this.virtualScroll)?this.virtualScroll:!!ve(t.disableVirtualScroll)&&!t.disableVirtualScroll,this.openOnEnter=ve(this.openOnEnter)?this.openOnEnter:t.openOnEnter,this.appendTo=this.appendTo||t.appendTo,this.bindValue=this.bindValue||t.bindValue,this.bindLabel=this.bindLabel||t.bindLabel,this.appearance=this.appearance||t.appearance}static#e=this.\u0275fac=function(l){return new(l||r)(e.kS0("class"),e.kS0("autofocus"),e.rXU(Q),e.rXU(H,8),e.rXU(e.aKT),e.rXU(e.gRc),e.rXU(le))};static#t=this.\u0275cmp=e.VBU({type:r,selectors:[["ng-select"]],contentQueries:function(l,c,T){if(1&l&&(e.wni(T,Ee,5,e.C4Q),e.wni(T,ie,5,e.C4Q),e.wni(T,xe,5,e.C4Q),e.wni(T,Re,5,e.C4Q),e.wni(T,Ue,5,e.C4Q),e.wni(T,Ne,5,e.C4Q),e.wni(T,_e,5,e.C4Q),e.wni(T,Ve,5,e.C4Q),e.wni(T,Te,5,e.C4Q),e.wni(T,Oe,5,e.C4Q),e.wni(T,be,5,e.C4Q),e.wni(T,we,5,e.C4Q),e.wni(T,I,5)),2&l){let L;e.mGM(L=e.lsd())&&(c.optionTemplate=L.first),e.mGM(L=e.lsd())&&(c.optgroupTemplate=L.first),e.mGM(L=e.lsd())&&(c.labelTemplate=L.first),e.mGM(L=e.lsd())&&(c.multiLabelTemplate=L.first),e.mGM(L=e.lsd())&&(c.headerTemplate=L.first),e.mGM(L=e.lsd())&&(c.footerTemplate=L.first),e.mGM(L=e.lsd())&&(c.notFoundTemplate=L.first),e.mGM(L=e.lsd())&&(c.placeholderTemplate=L.first),e.mGM(L=e.lsd())&&(c.typeToSearchTemplate=L.first),e.mGM(L=e.lsd())&&(c.loadingTextTemplate=L.first),e.mGM(L=e.lsd())&&(c.tagTemplate=L.first),e.mGM(L=e.lsd())&&(c.loadingSpinnerTemplate=L.first),e.mGM(L=e.lsd())&&(c.ngOptions=L)}},viewQuery:function(l,c){if(1&l&&(e.GBs(S,5),e.GBs(Je,7),e.GBs(lt,5)),2&l){let T;e.mGM(T=e.lsd())&&(c.dropdownPanel=T.first),e.mGM(T=e.lsd())&&(c.searchInput=T.first),e.mGM(T=e.lsd())&&(c.clearButton=T.first)}},hostVars:20,hostBindings:function(l,c){1&l&&e.bIt("keydown",function(L){return c.handleKeyDown(L)}),2&l&&e.AVh("ng-select-typeahead",c.typeahead)("ng-select-multiple",c.multiple)("ng-select-taggable",c.addTag)("ng-select-searchable",c.searchable)("ng-select-clearable",c.clearable)("ng-select-opened",c.isOpen)("ng-select",c.useDefaultClass)("ng-select-filtered",c.filtered)("ng-select-single",c.single)("ng-select-disabled",c.disabled)},inputs:{bindLabel:"bindLabel",bindValue:"bindValue",markFirst:[2,"markFirst","markFirst",e.L39],placeholder:"placeholder",fixedPlaceholder:"fixedPlaceholder",notFoundText:"notFoundText",typeToSearchText:"typeToSearchText",preventToggleOnRightClick:"preventToggleOnRightClick",addTagText:"addTagText",loadingText:"loadingText",clearAllText:"clearAllText",appearance:"appearance",dropdownPosition:"dropdownPosition",appendTo:"appendTo",loading:[2,"loading","loading",e.L39],closeOnSelect:[2,"closeOnSelect","closeOnSelect",e.L39],hideSelected:[2,"hideSelected","hideSelected",e.L39],selectOnTab:[2,"selectOnTab","selectOnTab",e.L39],openOnEnter:[2,"openOnEnter","openOnEnter",e.L39],maxSelectedItems:[2,"maxSelectedItems","maxSelectedItems",e.Udg],groupBy:"groupBy",groupValue:"groupValue",bufferAmount:[2,"bufferAmount","bufferAmount",e.Udg],virtualScroll:[2,"virtualScroll","virtualScroll",e.L39],selectableGroup:[2,"selectableGroup","selectableGroup",e.L39],selectableGroupAsModel:[2,"selectableGroupAsModel","selectableGroupAsModel",e.L39],searchFn:"searchFn",trackByFn:"trackByFn",clearOnBackspace:[2,"clearOnBackspace","clearOnBackspace",e.L39],labelForId:"labelForId",inputAttrs:"inputAttrs",tabIndex:[2,"tabIndex","tabIndex",e.Udg],readonly:[2,"readonly","readonly",e.L39],searchWhileComposing:[2,"searchWhileComposing","searchWhileComposing",e.L39],minTermLength:[2,"minTermLength","minTermLength",e.Udg],editableSearchTerm:[2,"editableSearchTerm","editableSearchTerm",e.L39],ngClass:"ngClass",typeahead:"typeahead",multiple:[2,"multiple","multiple",e.L39],addTag:"addTag",searchable:[2,"searchable","searchable",e.L39],clearable:[2,"clearable","clearable",e.L39],isOpen:"isOpen",items:"items",compareWith:"compareWith",clearSearchOnAdd:"clearSearchOnAdd",deselectOnClick:"deselectOnClick",keyDownFn:"keyDownFn"},outputs:{blurEvent:"blur",focusEvent:"focus",changeEvent:"change",openEvent:"open",closeEvent:"close",searchEvent:"search",clearEvent:"clear",addEvent:"add",removeEvent:"remove",scroll:"scroll",scrollToEnd:"scrollToEnd"},standalone:!0,features:[e.Jv_([{provide:p.kq,useExisting:(0,e.Rfq)(()=>r),multi:!0},s]),e.GFd,e.OA$,e.aNF],decls:13,vars:18,consts:[["searchInput",""],["defaultPlaceholderTemplate",""],["defaultLabelTemplate",""],["defaultLoadingSpinnerTemplate",""],["clearButton",""],["defaultOptionTemplate",""],["defaultTagTemplate",""],["defaultNotFoundTemplate",""],["defaultTypeToSearchTemplate",""],["defaultLoadingTextTemplate",""],[1,"ng-select-container",3,"mousedown"],[1,"ng-value-container"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"ng-input"],["aria-autocomplete","list","role","combobox",3,"blur","change","compositionend","compositionstart","focus","input","disabled","readOnly","value"],["tabindex","0",1,"ng-clear-wrapper",3,"title"],[1,"ng-arrow-wrapper"],[1,"ng-arrow"],["role","listbox","aria-label","Options list",1,"ng-dropdown-panel",3,"virtualScroll","bufferAmount","appendTo","position","headerTemplate","footerTemplate","filterValue","items","markedItem","ng-select-multiple","ngClass","id"],[3,"ngTemplateOutlet"],[1,"ng-placeholder"],[1,"ng-value",3,"ng-value-disabled"],[1,"ng-value"],["aria-hidden","true",1,"ng-value-icon","left",3,"click"],[1,"ng-value-label",3,"ngItemLabel","escape"],[1,"ng-spinner-loader"],["aria-hidden","true",1,"ng-clear"],["role","listbox","aria-label","Options list",1,"ng-dropdown-panel",3,"update","scroll","scrollToEnd","outsideClick","virtualScroll","bufferAmount","appendTo","position","headerTemplate","footerTemplate","filterValue","items","markedItem","ngClass","id"],[1,"ng-option",3,"ng-option-disabled","ng-option-selected","ng-optgroup","ng-option","ng-option-child","ng-option-marked"],["role","option",1,"ng-option",3,"ng-option-marked"],[1,"ng-option",3,"click","mouseover"],[1,"ng-option-label",3,"ngItemLabel","escape"],["role","option",1,"ng-option",3,"mouseover","click"],[1,"ng-tag-label"],[1,"ng-option","ng-option-disabled"]],template:function(l,c){if(1&l){const T=e.RV6();e.j41(0,"div",10),e.bIt("mousedown",function(re){return e.eBV(T),e.Njj(c.handleMousedown(re))}),e.j41(1,"div",11),e.DNE(2,rt,3,1)(3,ft,2,0)(4,bt,1,5,null,12),e.j41(5,"div",13)(6,"input",14,0),e.bIt("blur",function(re){return e.eBV(T),e.Njj(c.onInputBlur(re))})("change",function(re){return e.eBV(T),e.Njj(re.stopPropagation())})("compositionend",function(){e.eBV(T);const re=e.sdS(7);return e.Njj(c.onCompositionEnd(re.value))})("compositionstart",function(){return e.eBV(T),e.Njj(c.onCompositionStart())})("focus",function(re){return e.eBV(T),e.Njj(c.onInputFocus(re))})("input",function(){e.eBV(T);const re=e.sdS(7);return e.Njj(c.filter(re.value))}),e.k0s()()(),e.DNE(8,at,3,1)(9,mt,4,1,"span",15),e.j41(10,"span",16),e.nrm(11,"span",17),e.k0s()(),e.DNE(12,ge,8,17,"ng-dropdown-panel",18)}2&l&&(e.AVh("ng-appearance-outline","outline"===c.appearance)("ng-has-value",c.hasValue),e.R7$(2),e.vxM(0===c.selectedItems.length&&!c.searchTerm||!0===c.fixedPlaceholder?2:-1),e.R7$(),e.vxM(c.multiLabelTemplate&&c.multiple||!(c.selectedItems.length>0)?-1:3),e.R7$(),e.vxM(c.multiple&&c.multiLabelTemplate&&c.selectedValues.length>0?4:-1),e.R7$(2),e.Y8G("disabled",c.disabled)("readOnly",!c.searchable||c.itemsList.maxItemsSelected)("value",c.searchTerm?c.searchTerm:""),e.BMQ("aria-activedescendant",c.isOpen?null==c.itemsList||null==c.itemsList.markedItem?null:c.itemsList.markedItem.htmlId:null)("aria-controls",c.isOpen?c.dropdownId:null)("aria-expanded",c.isOpen)("id",c.labelForId)("tabindex",c.tabIndex),e.R7$(2),e.vxM(c.loading?8:-1),e.R7$(),e.vxM(c.showClear()?9:-1),e.R7$(3),e.vxM(c.isOpen?12:-1))},dependencies:[Ie.T3,je,S,Ie.YU],styles:['@charset "UTF-8";.ng-select{position:relative;display:block;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.ng-select div,.ng-select input,.ng-select span{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.ng-select [hidden]{display:none}.ng-select.ng-select-searchable .ng-select-container .ng-value-container .ng-input{opacity:1}.ng-select.ng-select-opened .ng-select-container{z-index:1001}.ng-select.ng-select-disabled .ng-select-container .ng-value-container .ng-placeholder,.ng-select.ng-select-disabled .ng-select-container .ng-value-container .ng-value{-webkit-user-select:none;user-select:none;cursor:default}.ng-select.ng-select-disabled .ng-arrow-wrapper{cursor:default}.ng-select.ng-select-filtered .ng-placeholder{display:none}.ng-select .ng-select-container{cursor:default;display:flex;outline:none;overflow:hidden;position:relative;width:100%}.ng-select .ng-select-container .ng-value-container{display:flex;flex:1}.ng-select .ng-select-container .ng-value-container .ng-input{opacity:0}.ng-select .ng-select-container .ng-value-container .ng-input>input{box-sizing:content-box;background:none transparent;border:0 none;box-shadow:none;outline:none;padding:0;cursor:default;width:100%}.ng-select .ng-select-container .ng-value-container .ng-input>input::-ms-clear{display:none}.ng-select .ng-select-container .ng-value-container .ng-input>input[readonly]{-webkit-user-select:unset;user-select:unset;width:0;padding:0}.ng-select.ng-select-single.ng-select-filtered .ng-select-container .ng-value-container .ng-value{visibility:hidden}.ng-select.ng-select-single .ng-select-container .ng-value-container,.ng-select.ng-select-single .ng-select-container .ng-value-container .ng-value{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ng-select.ng-select-single .ng-select-container .ng-value-container .ng-value .ng-value-icon{display:none}.ng-select.ng-select-single .ng-select-container .ng-value-container .ng-input{position:absolute;left:0;width:100%}.ng-select.ng-select-multiple.ng-select-disabled>.ng-select-container .ng-value-container .ng-value .ng-value-icon{display:none}.ng-select.ng-select-multiple .ng-select-container .ng-value-container{flex-wrap:wrap}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-placeholder{position:absolute}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value{white-space:nowrap}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value.ng-value-disabled .ng-value-icon{display:none}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-icon{cursor:pointer}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-input{flex:1;z-index:2}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-placeholder{z-index:1}.ng-select .ng-clear-wrapper{cursor:pointer;position:relative;width:17px;-webkit-user-select:none;user-select:none}.ng-select .ng-clear-wrapper .ng-clear{display:inline-block;font-size:18px;line-height:1;pointer-events:none}.ng-select .ng-spinner-loader{border-radius:50%;width:17px;height:17px;margin-right:5px;font-size:10px;position:relative;text-indent:-9999em;border-top:2px solid rgba(66,66,66,.2);border-right:2px solid rgba(66,66,66,.2);border-bottom:2px solid rgba(66,66,66,.2);border-left:2px solid #424242;transform:translateZ(0);animation:load8 .8s infinite linear}.ng-select .ng-spinner-loader:after{border-radius:50%;width:17px;height:17px}@-webkit-keyframes load8{0%{-webkit-transform:rotate(0deg);transform:rotate(0)}to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes load8{0%{-webkit-transform:rotate(0deg);transform:rotate(0)}to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}.ng-select .ng-arrow-wrapper{cursor:pointer;position:relative;text-align:center;-webkit-user-select:none;user-select:none}.ng-select .ng-arrow-wrapper .ng-arrow{pointer-events:none;display:inline-block;height:0;width:0;position:relative}.ng-dropdown-panel{box-sizing:border-box;position:absolute;opacity:0;width:100%;z-index:1050;-webkit-overflow-scrolling:touch}.ng-dropdown-panel .ng-dropdown-panel-items{display:block;height:auto;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;max-height:240px;overflow-y:auto}.ng-dropdown-panel .ng-dropdown-panel-items .ng-optgroup{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option{box-sizing:border-box;cursor:pointer;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option .ng-option-label:empty:before{content:"\\200b"}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option .highlighted{font-weight:700;text-decoration:underline}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option.disabled{cursor:default}.ng-dropdown-panel .scroll-host{overflow:hidden;overflow-y:auto;position:relative;display:block;-webkit-overflow-scrolling:touch}.ng-dropdown-panel .scrollable-content{top:0;left:0;width:100%;height:100%;position:absolute}.ng-dropdown-panel .total-padding{width:1px;opacity:0}\n'],encapsulation:2,changeDetection:0})}return r})(),M=(()=>{class r{static#e=this.\u0275fac=function(l){return new(l||r)};static#t=this.\u0275mod=e.$C({type:r});static#n=this.\u0275inj=e.G2t({providers:[{provide:H,useValue:K}]})}return r})()},8621:(J,C,i)=>{i.d(C,{Kk:()=>Ze,hs:()=>Ke,zE:()=>de,UL:()=>De});var e=i(3953),p=i(5964);class v{constructor(s,o){this.open=s,this.close=o||s}isManual(){return"manual"===this.open||"manual"===this.close}}const E={hover:["mouseover","mouseout"],focus:["focusin","focusout"]};const d=typeof window<"u"&&window||{};let se;function Z(){const n=d.document.createElement("span");n.innerText="testing bs version",n.classList.add("d-none"),n.classList.add("pl-1"),d.document.head.appendChild(n);const s=d.getComputedStyle(n).paddingLeft;return s&&parseFloat(s)?(d.document.head.removeChild(n),"bs4"):(d.document.head.removeChild(n),"bs5")}function h(){return{isBs4:(se||(se=Z()),"bs4"===se),isBs5:(se||(se=Z()),"bs5"===se)}}typeof console>"u"||console;var Me=i(177),ce=i(1413),Ie=i(7786),We=i(3726),ke=i(7673),He=i(536),Xe=function(n){return n.top="top",n.bottom="bottom",n.left="left",n.right="right",n.auto="auto",n.end="right",n.start="left",n["top left"]="top left",n["top right"]="top right",n["right top"]="right top",n["right bottom"]="right bottom",n["bottom right"]="bottom right",n["bottom left"]="bottom left",n["left bottom"]="left bottom",n["left top"]="left top",n["top start"]="top left",n["top end"]="top right",n["end top"]="right top",n["end bottom"]="right bottom",n["bottom end"]="bottom right",n["bottom start"]="bottom left",n["start bottom"]="start bottom",n["start top"]="left top",n}(Xe||{}),Ge=function(n){return n.top="top",n.bottom="bottom",n.left="start",n.right="end",n.auto="auto",n.end="end",n.start="start",n["top left"]="top start",n["top right"]="top end",n["right top"]="end top",n["right bottom"]="end bottom",n["bottom right"]="bottom end",n["bottom left"]="bottom start",n["left bottom"]="start bottom",n["left top"]="start top",n["top start"]="top start",n["top end"]="top end",n["end top"]="end top",n["end bottom"]="end bottom",n["bottom end"]="bottom end",n["bottom start"]="bottom start",n["start bottom"]="start bottom",n["start top"]="start top",n}(Ge||{});function ze(n,s){if(1!==n.nodeType)return[];const a=n.ownerDocument.defaultView?.getComputedStyle(n,null);return s?a&&a[s]:a}function tt(n){if(!n)return document.documentElement;let a,o=n?.offsetParent;for(;null===o&&n.nextElementSibling&&a!==n.nextElementSibling;)a=n.nextElementSibling,o=a.offsetParent;const S=o&&o.nodeName;return S&&"BODY"!==S&&"HTML"!==S?o&&-1!==["TH","TD","TABLE"].indexOf(o.nodeName)&&"static"===ze(o,"position")?tt(o):o:a?a.ownerDocument.documentElement:document.documentElement}function lt(n){return null!==n.parentNode?lt(n.parentNode):n}function ot(n,s){if(!(n&&n.nodeType&&s&&s.nodeType))return document.documentElement;const o=n.compareDocumentPosition(s)&Node.DOCUMENT_POSITION_FOLLOWING,a=o?n:s,S=o?s:n,I=document.createRange();I.setStart(a,0),I.setEnd(S,0);const K=I.commonAncestorContainer;if(n!==K&&s!==K||a.contains(S))return function Je(n){const{nodeName:s}=n;return"BODY"!==s&&("HTML"===s||tt(n.firstElementChild)===n)}(K)?K:tt(K);const $=lt(n);return $.host?ot($.host,s):ot(n,lt(s).host)}function ct(n){if(!n||!n.parentElement)return document.documentElement;let s=n.parentElement;for(;s?.parentElement&&"none"===ze(s,"transform");)s=s.parentElement;return s||document.documentElement}function ht(n,s){const o="x"===s?"Left":"Top",a="Left"===o?"Right":"Bottom";return parseFloat(n[`border${o}Width`])+parseFloat(n[`border${a}Width`])}function vt(n,s,o){return Math.max(s[`offset${n}`],s[`scroll${n}`],o[`client${n}`],o[`offset${n}`],o[`scroll${n}`],0)}function dt(n){const s=n.body,o=n.documentElement;return{height:vt("Height",s,o),width:vt("Width",s,o)}}function rt(n){return{...n,right:(n.left||0)+n.width,bottom:(n.top||0)+n.height}}function Fe(n){return"number"==typeof n||"[object Number]"===Object.prototype.toString.call(n)}function nt(n){const s=n.getBoundingClientRect();if(!(s&&Fe(s.top)&&Fe(s.left)&&Fe(s.bottom)&&Fe(s.right)))return s;const o={left:s.left,top:s.top,width:s.right-s.left,height:s.bottom-s.top},a="HTML"===n.nodeName?dt(n.ownerDocument):void 0,S=a?.width||n.clientWidth||Fe(s.right)&&Fe(o.left)&&s.right-o.left||0,I=a?.height||n.clientHeight||Fe(s.bottom)&&Fe(o.top)&&s.bottom-o.top||0;let K=n.offsetWidth-S,$=n.offsetHeight-I;if(K||$){const Q=ze(n);K-=ht(Q,"x"),$-=ht(Q,"y"),o.width-=K,o.height-=$}return rt(o)}function ft(n,s,o=!1){const a="HTML"===s.nodeName,S=nt(n),I=nt(s),K=ze(s),$=parseFloat(K.borderTopWidth),Q=parseFloat(K.borderLeftWidth);o&&a&&(I.top=Math.max(I.top??0,0),I.left=Math.max(I.left??0,0));const le=rt({top:(S.top??0)-(I.top??0)-$,left:(S.left??0)-(I.left??0)-Q,width:S.width,height:S.height});if(le.marginTop=0,le.marginLeft=0,a){const H=parseFloat(K.marginTop),z=parseFloat(K.marginLeft);Fe(le.top)&&(le.top-=$-H),Fe(le.bottom)&&(le.bottom-=$-H),Fe(le.left)&&(le.left-=Q-z),Fe(le.right)&&(le.right-=Q-z),le.marginTop=H,le.marginLeft=z}return le}function pt(n){return"HTML"===n.nodeName?n:n.parentNode||n.host}function bt(n){if(!n)return document.body;switch(n.nodeName){case"HTML":case"BODY":return n.ownerDocument.body;case"#document":return n.body}const{overflow:s,overflowX:o,overflowY:a}=ze(n);return/(auto|scroll|overlay)/.test(String(s)+String(a)+String(o))?n:bt(pt(n))}function _t(n,s="top"){const o="top"===s?"scrollTop":"scrollLeft",a=n.nodeName;return"BODY"===a||"HTML"===a?(n.ownerDocument.scrollingElement||n.ownerDocument.documentElement)[o]:n[o]}function at(n){const s=n.nodeName;return"BODY"!==s&&"HTML"!==s&&("fixed"===ze(n,"position")||at(pt(n)))}function mt(n,s,o=0,a,S=!1){let I={top:0,left:0};const K=S?ct(n):ot(n,s);if("viewport"===a)I=function Tt(n,s=!1){const o=n.ownerDocument.documentElement,a=ft(n,o),S=Math.max(o.clientWidth,window.innerWidth||0),I=Math.max(o.clientHeight,window.innerHeight||0),K=s?0:_t(o),$=s?0:_t(o,"left");return rt({top:K-Number(a?.top)+Number(a?.marginTop),left:$-Number(a?.left)+Number(a?.marginLeft),width:S,height:I})}(K,S);else{let $;"scrollParent"===a?($=bt(pt(s)),"BODY"===$.nodeName&&($=n.ownerDocument.documentElement)):$="window"===a?n.ownerDocument.documentElement:a;const Q=ft($,K,S);if(Q&&"HTML"===$.nodeName&&!at(K)){const{height:le,width:H}=dt(n.ownerDocument);Fe(I.top)&&Fe(Q.top)&&Fe(Q.marginTop)&&(I.top+=Q.top-Q.marginTop),Fe(I.top)&&(I.bottom=Number(le)+Number(Q.top)),Fe(I.left)&&Fe(Q.left)&&Fe(Q.marginLeft)&&(I.left+=Q.left-Q.marginLeft),Fe(I.top)&&(I.right=Number(H)+Number(Q.left))}else Q&&(I=Q)}return Fe(I.left)&&(I.left+=o),Fe(I.top)&&(I.top+=o),Fe(I.right)&&(I.right-=o),Fe(I.bottom)&&(I.bottom-=o),I}function Dt({width:n,height:s}){return n*s}function yt(n,s,o,a,S=["top","bottom","right","left"],I="viewport",K=0){if(-1===n.indexOf("auto"))return n;const $=mt(o,a,K,I),Q={top:{width:$?.width??0,height:(s?.top??0)-($?.top??0)},right:{width:($?.right??0)-(s?.right??0),height:$?.height??0},bottom:{width:$?.width??0,height:($?.bottom??0)-(s?.bottom??0)},left:{width:(s.left??0)-($?.left??0),height:$?.height??0}},le=Object.keys(Q).map(r=>({position:r,...Q[r],area:Dt(Q[r])})).sort((r,u)=>u.area-r.area);let H=le.filter(({width:r,height:u})=>r>=o.clientWidth&&u>=o.clientHeight);H=H.filter(({position:r})=>S.some(u=>u===r));const z=H.length>0?H[0].position:le[0].position,M=n.split(" ")[1];return o.className=o.className.replace(/bs-tooltip-auto/g,`bs-tooltip-${h().isBs5?Ge[z]:z}`),z+(M?`-${M}`:"")}const ut=(n,s=0)=>n?parseFloat(n):s;function gt(n){const o=n.ownerDocument.defaultView?.getComputedStyle(n),a=ut(o?.marginTop)+ut(o?.marginBottom),S=ut(o?.marginLeft)+ut(o?.marginRight);return{width:Number(n.offsetWidth)+S,height:Number(n.offsetHeight)+a}}function g(n,s,o){return ft(s,o?ct(n):ot(n,s),o)}function O(n,s,o){const a=o.split(" ")[0],S=gt(n),I={width:S.width,height:S.height},K=-1!==["right","left"].indexOf(a),$=K?"top":"left",Q=K?"left":"top",le=K?"height":"width",H=K?"width":"height";return I[$]=(s[$]??0)+s[le]/2-S[le]/2,I[Q]=a===Q?(s[Q]??0)-S[H]:s[function Pt(n){const s={left:"right",right:"left",bottom:"top",top:"bottom"};return n.replace(/left|right|bottom|top/g,o=>s[o])}(Q)]??0,I}function V(n,s){return!!n.modifiers[s]?.enabled}const b={top:["top","top start","top end"],bottom:["bottom","bottom start","bottom end"],start:["start","start top","start bottom"],end:["end","end top","end bottom"]};function k(n,s){return!!h().isBs5&&b[s].includes(n)}function he(n,s,o){!n||!s||Object.keys(s).forEach(a=>{let S="";-1!==["width","height","top","right","bottom","left"].indexOf(a)&&function Ot(n){return""!==n&&!isNaN(parseFloat(n))&&isFinite(Number(n))}(s[a])&&(S="px"),o?o.setStyle(n,a,`${String(s[a])}${S}`):n.style[a]=String(s[a])+S})}function ge(n){let s=n.offsets.target;const o=n.instance.target.querySelector(".arrow");if(!o)return n;const a=-1!==["left","right"].indexOf(n.placement.split(" ")[0]),S=a?"height":"width",I=a?"Top":"Left",K=I.toLowerCase(),$=a?"left":"top",Q=a?"bottom":"right",le=gt(o)[S],H=n.placement.split(" ")[1];(n.offsets.host[Q]??0)-le<(s[K]??0)&&(s[K]-=(s[K]??0)-((n.offsets.host[Q]??0)-le)),Number(n.offsets.host[K])+Number(le)>(s[Q]??0)&&(s[K]+=Number(n.offsets.host[K])+Number(le)-Number(s[Q])),s=rt(s);const z=ze(n.instance.target),M=parseFloat(z[`margin${I}`])||0,r=parseFloat(z[`border${I}Width`])||0;let u;if(H){const l=parseFloat(z.borderRadius)||0,c=Number(M+r+l);u=K===H?Number(n.offsets.host[K])+c:Number(n.offsets.host[K])+Number(n.offsets.host[S]-c)}else u=Number(n.offsets.host[K])+Number(n.offsets.host[S]/2-le/2);let t=u-(s[K]??0)-M-r;return t=Math.max(Math.min(s[S]-(le+5),t),0),n.offsets.arrow={[K]:Math.round(t),[$]:""},n.instance.arrow=o,n}function ye(n){if(n.offsets.target=rt(n.offsets.target),!V(n.options,"flip"))return n.offsets.target={...n.offsets.target,...O(n.instance.target,n.offsets.host,n.placement)},n;const s=mt(n.instance.target,n.instance.host,0,"viewport",!1);let o=n.placement.split(" ")[0],a=n.placement.split(" ")[1]||"";const $=yt("auto",n.offsets.host,n.instance.target,n.instance.host,n.options.allowedPositions),Q=[o,$];return Q.forEach((le,H)=>{if(o!==le||Q.length===H+1)return;o=n.placement.split(" ")[0];const z="left"===o&&Math.floor(n.offsets.target.right??0)>Math.floor(n.offsets.host.left??0)||"right"===o&&Math.floor(n.offsets.target.left??0)<Math.floor(n.offsets.host.right??0)||"top"===o&&Math.floor(n.offsets.target.bottom??0)>Math.floor(n.offsets.host.top??0)||"bottom"===o&&Math.floor(n.offsets.target.top??0)<Math.floor(n.offsets.host.bottom??0),M=Math.floor(n.offsets.target.left??0)<Math.floor(s.left??0),r=Math.floor(n.offsets.target.right??0)>Math.floor(s.right??0),u=Math.floor(n.offsets.target.top??0)<Math.floor(s.top??0),t=Math.floor(n.offsets.target.bottom??0)>Math.floor(s.bottom??0),l="left"===o&&M||"right"===o&&r||"top"===o&&u||"bottom"===o&&t,c=-1!==["top","bottom"].indexOf(o),T=c&&"left"===a&&M||c&&"right"===a&&r||!c&&"left"===a&&u||!c&&"right"===a&&t;(z||l||T)&&((z||l)&&(o=Q[H+1]),T&&(a=function St(n){return"right"===n?"left":"left"===n?"right":n}(a)),n.placement=o+(a?` ${a}`:""),n.offsets.target={...n.offsets.target,...O(n.instance.target,n.offsets.host,n.placement)})}),n}function Ce(n){if(!V(n.options,"preventOverflow"))return n;const s="transform",o=n.instance.target.style,{top:a,left:S,[s]:I}=o;o.top="",o.left="",o[s]="";const K=mt(n.instance.target,n.instance.host,0,n.options.modifiers.preventOverflow?.boundariesElement||"scrollParent",!1);o.top=a,o.left=S,o[s]=I;const Q={primary(le){let H=n.offsets.target[le];return(n.offsets.target[le]??0)<(K[le]??0)&&(H=Math.max(n.offsets.target[le]??0,K[le]??0)),{[le]:H}},secondary(le){const H="right"===le,z=H?"left":"top";let r=n.offsets.target[z];return(n.offsets.target[le]??0)>(K[le]??0)&&(r=Math.min(n.offsets.target[z]??0,(K[le]??0)-n.offsets.target[H?"width":"height"])),{[z]:r}}};return["left","right","top","bottom"].forEach(le=>{const H=-1!==["left","top","start"].indexOf(le)?Q.primary:Q.secondary;n.offsets.target={...n.offsets.target,...H(le)}}),n}function Se(n){const s=n.placement,o=s.split(" ")[0],a=s.split(" ")[1];if(a){const{host:S,target:I}=n.offsets,K=-1!==["bottom","top"].indexOf(o),$=K?"left":"top",Q=K?"width":"height",le={start:{[$]:S[$]},end:{[$]:(S[$]??0)+S[Q]-I[Q]}};n.offsets.target={...I,[$]:$===a?le.start[$]:le.end[$]}}return n}const Le=new class ve{position(s,o){return this.offset(s,o)}offset(s,o){return g(o,s)}positionElements(s,o,a,S,I){const K=[ye,Se,Ce,ge],Q=function ue(n,s,o,a){if(!n||!s)return;const S=g(n,s);!o.match(/^(auto)*\s*(left|right|top|bottom|start|end)*$/)&&!o.match(/^(left|right|top|bottom|start|end)*(?: (left|right|top|bottom|start|end))*$/)&&(o="auto");const I=!!o.match(/auto/g);let K=o.match(/auto\s(left|right|top|bottom|start|end)/)?o.split(" ")[1]||"auto":o;const $=K.match(/^(left|right|top|bottom|start|end)* ?(?!\1)(left|right|top|bottom|start|end)?/);return $&&(K=$[1]+($[2]?` ${$[2]}`:"")),-1!==["left right","right left","top bottom","bottom top"].indexOf(K)&&(K="auto"),K=yt(K,S,n,s,a?a.allowedPositions:void 0),{options:a||{modifiers:{}},instance:{target:n,host:s,arrow:void 0},offsets:{target:O(n,S,K),host:S,arrow:void 0},positionFixed:!1,placement:K,placementAuto:I}}(o,s,Xe[a],I);if(Q)return K.reduce((le,H)=>H(le),Q)}};function Ye(n,s,o,a,S,I){const K=Le.positionElements(n,s,o,a,S);if(!K)return;const $=function wt(n){return{width:n.offsets.target.width,height:n.offsets.target.height,left:Math.floor(n.offsets.target.left??0),top:Math.round(n.offsets.target.top??0),bottom:Math.round(n.offsets.target.bottom??0),right:Math.floor(n.offsets.target.right??0)}}(K);he(s,{"will-change":"transform",top:"0px",left:"0px",transform:`translate3d(${$.left}px, ${$.top}px, 0px)`},I),K.instance.arrow&&he(K.instance.arrow,K.offsets.arrow,I),function pe(n,s){const o=n.instance.target;let a=o.className;const S=h().isBs5?Ge[n.placement]:n.placement;n.placementAuto&&(a=a.replace(/bs-popover-auto/g,`bs-popover-${S}`),a=a.replace(/ms-2|me-2|mb-2|mt-2/g,""),a=a.replace(/bs-tooltip-auto/g,`bs-tooltip-${S}`),a=a.replace(/\sauto/g,` ${S}`),-1!==a.indexOf("popover")&&(a=a+" "+function te(n){return h().isBs5?k(n,"end")?"ms-2":k(n,"start")?"me-2":k(n,"top")?"mb-2":k(n,"bottom")?"mt-2":"":""}(S)),-1!==a.indexOf("popover")&&-1===a.indexOf("popover-auto")&&(a+=" popover-auto"),-1!==a.indexOf("tooltip")&&-1===a.indexOf("tooltip-auto")&&(a+=" tooltip-auto")),a=a.replace(/left|right|top|bottom|end|start/g,`${S.split(" ")[0]}`),s?s.setAttribute(o,"class",a):o.className=a}(K,I)}let $e=(()=>{class n{constructor(o,a,S){this.update$$=new ce.B,this.positionElements=new Map,this.isDisabled=!1,(0,Me.UE)(S)&&o.runOutsideAngular(()=>{this.triggerEvent$=(0,Ie.h)((0,We.R)(window,"scroll",{passive:!0}),(0,We.R)(window,"resize",{passive:!0}),(0,ke.of)(0,He.X),this.update$$),this.triggerEvent$.subscribe(()=>{this.isDisabled||this.positionElements.forEach(I=>{Ye(je(I.target),je(I.element),I.attachment,I.appendToBody,this.options,a.createRenderer(null,null))})})})}position(o){this.addPositionElement(o)}get event$(){return this.triggerEvent$}disable(){this.isDisabled=!0}enable(){this.isDisabled=!1}addPositionElement(o){this.positionElements.set(je(o.element),o)}calcPosition(){this.update$$.next(null)}deletePositionElement(o){this.positionElements.delete(je(o))}setOptions(o){this.options=o}static#e=this.\u0275fac=function(a){return new(a||n)(e.KVO(e.SKi),e.KVO(e._9s),e.KVO(e.Agw))};static#t=this.\u0275prov=e.jDH({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();function je(n){return"string"==typeof n?document.querySelector(n):n instanceof e.aKT?n.nativeElement:n??null}class ie{constructor(s,o,a){this.nodes=s,this.viewRef=o,this.componentRef=a}}class xe{constructor(s,o,a,S,I,K,$,Q,le){this._viewContainerRef=s,this._renderer=o,this._elementRef=a,this._injector=S,this._componentFactoryResolver=I,this._ngZone=K,this._applicationRef=$,this._posService=Q,this._document=le,this.onBeforeShow=new e.bkB,this.onShown=new e.bkB,this.onBeforeHide=new e.bkB,this.onHidden=new e.bkB,this._providers=[],this._isHiding=!1,this.containerDefaultSelector="body",this._listenOpts={},this._globalListener=Function.prototype}get isShown(){return!this._isHiding&&!!this._componentRef}attach(s){return this._componentFactory=this._componentFactoryResolver.resolveComponentFactory(s),this}to(s){return this.container=s||this.container,this}position(s){return s?(this.attachment=s.attachment||this.attachment,this._elementRef=s.target||this._elementRef,this):this}provide(s){return this._providers.push(s),this}show(s={}){if(this._subscribePositioning(),this._innerComponent=void 0,!this._componentRef){this.onBeforeShow.emit(),this._contentRef=this._getContentRef(s.content,s.context,s.initialState);const o=e.zZn.create({providers:this._providers,parent:this._injector});if(!this._componentFactory)return;if(this._componentRef=this._componentFactory.create(o,this._contentRef.nodes),this._applicationRef.attachView(this._componentRef.hostView),this.instance=this._componentRef.instance,Object.assign(this._componentRef.instance,s),this.container instanceof e.aKT&&this.container.nativeElement.appendChild(this._componentRef.location.nativeElement),"string"==typeof this.container&&typeof this._document<"u"){const a=this._document.querySelector(this.container)||this._document.querySelector(this.containerDefaultSelector);if(!a)return;a.appendChild(this._componentRef.location.nativeElement)}!this.container&&this._elementRef&&this._elementRef.nativeElement.parentElement&&this._elementRef.nativeElement.parentElement.appendChild(this._componentRef.location.nativeElement),this._contentRef.componentRef&&(this._innerComponent=this._contentRef.componentRef.instance,this._contentRef.componentRef.changeDetectorRef.markForCheck(),this._contentRef.componentRef.changeDetectorRef.detectChanges()),this._componentRef.changeDetectorRef.markForCheck(),this._componentRef.changeDetectorRef.detectChanges(),this.onShown.emit(s.id?{id:s.id}:this._componentRef.instance)}return this._registerOutsideClick(),this._componentRef}hide(s){if(!this._componentRef)return this;this._posService.deletePositionElement(this._componentRef.location),this.onBeforeHide.emit(this._componentRef.instance);const o=this._componentRef.location.nativeElement;return o.parentNode?.removeChild(o),this._contentRef?.componentRef?.destroy(),this._viewContainerRef&&this._contentRef?.viewRef&&this._viewContainerRef.remove(this._viewContainerRef.indexOf(this._contentRef.viewRef)),this._contentRef?.viewRef?.destroy(),this._componentRef?.destroy(),this._contentRef=void 0,this._componentRef=void 0,this._removeGlobalListener(),this.onHidden.emit(s?{id:s}:null),this}toggle(){this.isShown?this.hide():this.show()}dispose(){this.isShown&&this.hide(),this._unsubscribePositioning(),this._unregisterListenersFn&&this._unregisterListenersFn()}listen(s){this.triggers=s.triggers||this.triggers,this._listenOpts.outsideClick=s.outsideClick,this._listenOpts.outsideEsc=s.outsideEsc,s.target=s.target||this._elementRef?.nativeElement;const o=this._listenOpts.hide=()=>s.hide?s.hide():void this.hide(),a=this._listenOpts.show=I=>{s.show?s.show(I):this.show(I),I()};return this._renderer&&(this._unregisterListenersFn=function w(n,s){const o=function _(n,s=E){const o=(n||"").trim();if(0===o.length)return[];const a=o.split(/\s+/).map(I=>I.split(":")).map(I=>{const K=s[I[0]]||I;return new v(K[0],K[1])}),S=a.filter(I=>I.isManual());if(S.length>1)throw new Error("Triggers parse error: only one manual trigger is allowed");if(1===S.length&&a.length>1)throw new Error("Triggers parse error: manual trigger can't be mixed with other triggers");return a}(s.triggers),a=s.target;if(1===o.length&&o[0].isManual())return Function.prototype;const S=[],I=[],K=()=>{I.forEach($=>S.push($())),I.length=0};return o.forEach($=>{const Q=$.open===$.close,le=Q?s.toggle:s.show;if(!Q&&$.close&&s.hide){const H=$.close,z=s.hide;I.push(()=>n.listen(a,H,z))}le&&S.push(n.listen(a,$.open,()=>le(K)))}),()=>{S.forEach($=>$())}}(this._renderer,{target:s.target,triggers:s.triggers,show:a,hide:o,toggle:I=>{this.isShown?o():a(I)}})),this}_removeGlobalListener(){this._globalListener&&(this._globalListener(),this._globalListener=Function.prototype)}attachInline(s,o){return s&&o&&(this._inlineViewRef=s.createEmbeddedView(o)),this}_registerOutsideClick(){if(!this._componentRef||!this._componentRef.location)return;let s=Function.prototype,o=Function.prototype;if(this._listenOpts.outsideClick){const a=this._componentRef.location.nativeElement;setTimeout(()=>{this._renderer&&this._elementRef&&(s=function y(n,s){return s.outsideClick?n.listen("document","click",o=>{s.target&&s.target.contains(o.target)||s.targets&&s.targets.some(a=>a.contains(o.target))||s.hide&&s.hide()}):Function.prototype}(this._renderer,{targets:[a,this._elementRef.nativeElement],outsideClick:this._listenOpts.outsideClick,hide:()=>this._listenOpts.hide&&this._listenOpts.hide()}))})}this._listenOpts.outsideEsc&&this._renderer&&this._elementRef&&(o=function D(n,s){return s.outsideEsc?n.listen("document","keyup.esc",o=>{s.target&&s.target.contains(o.target)||s.targets&&s.targets.some(a=>a.contains(o.target))||s.hide&&s.hide()}):Function.prototype}(this._renderer,{targets:[this._componentRef.location.nativeElement,this._elementRef.nativeElement],outsideEsc:this._listenOpts.outsideEsc,hide:()=>this._listenOpts.hide&&this._listenOpts.hide()})),this._globalListener=()=>{s(),o()}}getInnerComponent(){return this._innerComponent}_subscribePositioning(){this._zoneSubscription||!this.attachment||(this.onShown.subscribe(()=>{this._posService.position({element:this._componentRef?.location,target:this._elementRef,attachment:this.attachment,appendToBody:"body"===this.container})}),this._zoneSubscription=this._ngZone.onStable.subscribe(()=>{this._componentRef&&this._posService.calcPosition()}))}_unsubscribePositioning(){this._zoneSubscription&&(this._zoneSubscription.unsubscribe(),this._zoneSubscription=void 0)}_getContentRef(s,o,a){if(!s)return new ie([]);if(s instanceof e.C4Q){if(this._viewContainerRef){const K=this._viewContainerRef.createEmbeddedView(s,o);return K.markForCheck(),new ie([K.rootNodes],K)}const I=s.createEmbeddedView({});return this._applicationRef.attachView(I),new ie([I.rootNodes],I)}if("function"==typeof s){const I=this._componentFactoryResolver.resolveComponentFactory(s),K=e.zZn.create({providers:this._providers,parent:this._injector}),$=I.create(K);return Object.assign($.instance,a),this._applicationRef.attachView($.hostView),new ie([[$.location.nativeElement]],$.hostView,$)}const S=this._renderer?[this._renderer.createText(`${s}`)]:[];return new ie([S])}}let Re=(()=>{class n{constructor(o,a,S,I,K,$){this._componentFactoryResolver=o,this._ngZone=a,this._injector=S,this._posService=I,this._applicationRef=K,this._document=$}createLoader(o,a,S){return new xe(a,S,o,this._injector,this._componentFactoryResolver,this._ngZone,this._applicationRef,this._posService,this._document)}static#e=this.\u0275fac=function(a){return new(a||n)(e.KVO(e.OM3),e.KVO(e.SKi),e.KVO(e.zZn),e.KVO($e),e.KVO(e.o8S),e.KVO(Me.qQ))};static#t=this.\u0275prov=e.jDH({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();var Ue=i(9969);const Ne=["*"],_e=n=>({dropdown:n});let Ve=(()=>{class n{constructor(){this.autoClose=!0,this.insideClick=!1,this.isAnimated=!1,this.stopOnClickPropagation=!1}static#e=this.\u0275fac=function(a){return new(a||n)};static#t=this.\u0275prov=e.jDH({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),Te=(()=>{class n{constructor(){this.direction="down",this.autoClose=!0,this.insideClick=!1,this.isAnimated=!1,this.stopOnClickPropagation=!1,this.isOpenChange=new e.bkB,this.isDisabledChange=new e.bkB,this.toggleClick=new e.bkB,this.counts=0,this.dropdownMenu=new Promise(o=>{this.resolveDropdownMenu=o})}static#e=this.\u0275fac=function(a){return new(a||n)};static#t=this.\u0275prov=e.jDH({token:n,factory:n.\u0275fac,providedIn:"platform"})}return n})();const be=[(0,Ue.iF)({height:0,overflow:"hidden"}),(0,Ue.i0)("220ms cubic-bezier(0, 0, 0.2, 1)",(0,Ue.iF)({height:"*",overflow:"hidden"}))];let we=(()=>{class n{get direction(){return this._state.direction}constructor(o,a,S,I,K){this._state=o,this.cd=a,this._renderer=S,this._element=I,this.isOpen=!1,this._factoryDropDownAnimation=K.build(be),this._subscription=o.isOpenChange.subscribe($=>{this.isOpen=$;const Q=this._element.nativeElement.querySelector(".dropdown-menu");this._renderer.addClass(this._element.nativeElement.querySelector("div"),"open"),Q&&(this._renderer.addClass(Q,"show"),(Q.classList.contains("dropdown-menu-right")||Q.classList.contains("dropdown-menu-end"))&&(this._renderer.setStyle(Q,"left","auto"),this._renderer.setStyle(Q,"right","0")),"up"===this.direction&&(this._renderer.setStyle(Q,"top","auto"),this._renderer.setStyle(Q,"transform","translateY(-101%)"))),Q&&this._state.isAnimated&&this._factoryDropDownAnimation.create(Q).play(),this.cd.markForCheck(),this.cd.detectChanges()})}_contains(o){return this._element.nativeElement.contains(o)}ngOnDestroy(){this._subscription.unsubscribe()}static#e=this.\u0275fac=function(a){return new(a||n)(e.rXU(Te),e.rXU(e.gRc),e.rXU(e.sFG),e.rXU(e.aKT),e.rXU(Ue.S6))};static#t=this.\u0275cmp=e.VBU({type:n,selectors:[["bs-dropdown-container"]],hostAttrs:[2,"display","block","position","absolute","z-index","1040"],ngContentSelectors:Ne,decls:2,vars:9,consts:[[3,"ngClass"]],template:function(a,S){1&a&&(e.NAR(),e.j41(0,"div",0),e.SdG(1),e.k0s()),2&a&&(e.AVh("dropup","up"===S.direction)("show",S.isOpen)("open",S.isOpen),e.Y8G("ngClass",e.eq3(7,_e,"down"===S.direction)))},dependencies:[Me.YU],encapsulation:2,changeDetection:0})}return n})(),Ze=(()=>{class n{set autoClose(o){this._state.autoClose=o}get autoClose(){return this._state.autoClose}set isAnimated(o){this._state.isAnimated=o}get isAnimated(){return this._state.isAnimated}set insideClick(o){this._state.insideClick=o}get insideClick(){return this._state.insideClick}set isDisabled(o){this._isDisabled=o,this._state.isDisabledChange.emit(o),o&&this.hide()}get isDisabled(){return this._isDisabled}get isOpen(){return this._showInline?this._isInlineOpen:this._dropdown.isShown}set isOpen(o){o?this.show():this.hide()}get _showInline(){return!this.container}constructor(o,a,S,I,K,$,Q){this._elementRef=o,this._renderer=a,this._viewContainerRef=S,this._cis=I,this._state=K,this._config=$,this.dropup=!1,this._isInlineOpen=!1,this._isDisabled=!1,this._subscriptions=[],this._isInited=!1,this._state.autoClose=this._config.autoClose,this._state.insideClick=this._config.insideClick,this._state.isAnimated=this._config.isAnimated,this._state.stopOnClickPropagation=this._config.stopOnClickPropagation,this._factoryDropDownAnimation=Q.build(be),this._dropdown=this._cis.createLoader(this._elementRef,this._viewContainerRef,this._renderer).provide({provide:Te,useValue:this._state}),this.onShown=this._dropdown.onShown,this.onHidden=this._dropdown.onHidden,this.isOpenChange=this._state.isOpenChange}ngOnInit(){this._isInited||(this._isInited=!0,this._dropdown.listen({outsideClick:!1,triggers:this.triggers,show:()=>this.show()}),this._subscriptions.push(this._state.toggleClick.subscribe(o=>this.toggle(o))),this._subscriptions.push(this._state.isDisabledChange.pipe((0,p.p)(o=>o)).subscribe(()=>this.hide())))}show(){if(!this.isOpen&&!this.isDisabled){if(this._showInline)return this._inlinedMenu||this._state.dropdownMenu.then(o=>{this._dropdown.attachInline(o.viewContainer,o.templateRef),this._inlinedMenu=this._dropdown._inlineViewRef,this.addBs4Polyfills(),this._inlinedMenu&&this._renderer.addClass(this._inlinedMenu.rootNodes[0].parentNode,"open"),this.playAnimation()}).catch(),this.addBs4Polyfills(),this._isInlineOpen=!0,this.onShown.emit(!0),this._state.isOpenChange.emit(!0),void this.playAnimation();this._state.dropdownMenu.then(o=>{const a=this.dropup||typeof this.dropup<"u"&&this.dropup;this._state.direction=a?"up":"down";const S=this.placement||(a?"top start":"bottom start");this._dropdown.attach(we).to(this.container).position({attachment:S}).show({content:o.templateRef,placement:S}),this._state.isOpenChange.emit(!0)}).catch()}}hide(){this.isOpen&&(this._showInline?(this.removeShowClass(),this.removeDropupStyles(),this._isInlineOpen=!1,this.onHidden.emit(!0)):this._dropdown.hide(),this._state.isOpenChange.emit(!1))}toggle(o){return this.isOpen||!o?this.hide():this.show()}_contains(o){return this._elementRef.nativeElement.contains(o.target)||this._dropdown.instance&&this._dropdown.instance._contains(o.target)}navigationClick(o){const a=this._elementRef.nativeElement.querySelector(".dropdown-menu");if(!a)return;const S=this._elementRef.nativeElement.ownerDocument.activeElement,I=a.querySelectorAll(".dropdown-item");switch(o.keyCode){case 38:this._state.counts>0&&I[--this._state.counts].focus();break;case 40:this._state.counts+1<I.length&&(S.classList!==I[this._state.counts].classList?I[this._state.counts].focus():I[++this._state.counts].focus())}o.preventDefault()}ngOnDestroy(){for(const o of this._subscriptions)o.unsubscribe();this._dropdown.dispose()}addBs4Polyfills(){this.addShowClass(),this.checkRightAlignment(),this.addDropupStyles()}playAnimation(){this._state.isAnimated&&this._inlinedMenu&&setTimeout(()=>{this._inlinedMenu&&this._factoryDropDownAnimation.create(this._inlinedMenu.rootNodes[0]).play()})}addShowClass(){this._inlinedMenu&&this._inlinedMenu.rootNodes[0]&&this._renderer.addClass(this._inlinedMenu.rootNodes[0],"show")}removeShowClass(){this._inlinedMenu&&this._inlinedMenu.rootNodes[0]&&this._renderer.removeClass(this._inlinedMenu.rootNodes[0],"show")}checkRightAlignment(){if(this._inlinedMenu&&this._inlinedMenu.rootNodes[0]){const o=this._inlinedMenu.rootNodes[0].classList.contains("dropdown-menu-right")||this._inlinedMenu.rootNodes[0].classList.contains("dropdown-menu-end");this._renderer.setStyle(this._inlinedMenu.rootNodes[0],"left",o?"auto":"0"),this._renderer.setStyle(this._inlinedMenu.rootNodes[0],"right",o?"0":"auto")}}addDropupStyles(){this._inlinedMenu&&this._inlinedMenu.rootNodes[0]&&(this._renderer.setStyle(this._inlinedMenu.rootNodes[0],"top",this.dropup?"auto":"100%"),this._renderer.setStyle(this._inlinedMenu.rootNodes[0],"transform",this.dropup?"translateY(-101%)":"translateY(0)"),this._renderer.setStyle(this._inlinedMenu.rootNodes[0],"bottom","auto"))}removeDropupStyles(){this._inlinedMenu&&this._inlinedMenu.rootNodes[0]&&(this._renderer.removeStyle(this._inlinedMenu.rootNodes[0],"top"),this._renderer.removeStyle(this._inlinedMenu.rootNodes[0],"transform"),this._renderer.removeStyle(this._inlinedMenu.rootNodes[0],"bottom"))}static#e=this.\u0275fac=function(a){return new(a||n)(e.rXU(e.aKT),e.rXU(e.sFG),e.rXU(e.c1b),e.rXU(Re),e.rXU(Te),e.rXU(Ve),e.rXU(Ue.S6))};static#t=this.\u0275dir=e.FsC({type:n,selectors:[["","bsDropdown",""],["","dropdown",""]],hostVars:6,hostBindings:function(a,S){1&a&&e.bIt("keydown.arrowDown",function(K){return S.navigationClick(K)})("keydown.arrowUp",function(K){return S.navigationClick(K)}),2&a&&e.AVh("dropup",S.dropup)("open",S.isOpen)("show",S.isOpen)},inputs:{placement:"placement",triggers:"triggers",container:"container",dropup:"dropup",autoClose:"autoClose",isAnimated:"isAnimated",insideClick:"insideClick",isDisabled:"isDisabled",isOpen:"isOpen"},outputs:{isOpenChange:"isOpenChange",onShown:"onShown",onHidden:"onHidden"},exportAs:["bs-dropdown"],features:[e.Jv_([Te])]})}return n})(),Ke=(()=>{class n{constructor(o,a,S){o.resolveDropdownMenu({templateRef:S,viewContainer:a})}static#e=this.\u0275fac=function(a){return new(a||n)(e.rXU(Te),e.rXU(e.c1b),e.rXU(e.C4Q))};static#t=this.\u0275dir=e.FsC({type:n,selectors:[["","bsDropdownMenu",""],["","dropdownMenu",""]],exportAs:["bs-dropdown-menu"]})}return n})(),De=(()=>{class n{constructor(o,a,S,I,K){this._changeDetectorRef=o,this._dropdown=a,this._element=S,this._renderer=I,this._state=K,this.isOpen=!1,this._subscriptions=[],this._subscriptions.push(this._state.isOpenChange.subscribe($=>{this.isOpen=$,$?(this._documentClickListener=this._renderer.listen("document","click",Q=>{this._state.autoClose&&2!==Q.button&&!this._element.nativeElement.contains(Q.target)&&(!this._state.insideClick||!this._dropdown._contains(Q))&&(this._state.toggleClick.emit(!1),this._changeDetectorRef.detectChanges())}),this._escKeyUpListener=this._renderer.listen(this._element.nativeElement,"keyup.esc",()=>{this._state.autoClose&&(this._state.toggleClick.emit(!1),this._changeDetectorRef.detectChanges())})):(this._documentClickListener&&this._documentClickListener(),this._escKeyUpListener&&this._escKeyUpListener())})),this._subscriptions.push(this._state.isDisabledChange.subscribe($=>this.isDisabled=$||void 0))}onClick(o){this._state.stopOnClickPropagation&&o.stopPropagation(),!this.isDisabled&&this._state.toggleClick.emit(!0)}ngOnDestroy(){this._documentClickListener&&this._documentClickListener(),this._escKeyUpListener&&this._escKeyUpListener();for(const o of this._subscriptions)o.unsubscribe()}static#e=this.\u0275fac=function(a){return new(a||n)(e.rXU(e.gRc),e.rXU(Ze),e.rXU(e.aKT),e.rXU(e.sFG),e.rXU(Te))};static#t=this.\u0275dir=e.FsC({type:n,selectors:[["","bsDropdownToggle",""],["","dropdownToggle",""]],hostVars:3,hostBindings:function(a,S){1&a&&e.bIt("click",function(K){return S.onClick(K)}),2&a&&e.BMQ("aria-haspopup",!0)("disabled",S.isDisabled)("aria-expanded",S.isOpen)},exportAs:["bs-dropdown-toggle"]})}return n})(),de=(()=>{class n{static forRoot(){return{ngModule:n,providers:[Re,$e,Te]}}static#e=this.\u0275fac=function(a){return new(a||n)};static#t=this.\u0275mod=e.$C({type:n});static#n=this.\u0275inj=e.G2t({imports:[Me.MD]})}return n})()},3400:(J,C,i)=>{i.d(C,{eK:()=>X,x6:()=>se});var e=i(3953),p=i(9417),v=i(177);const E=(Z,q)=>({"pull-left":Z,"float-left":q}),_=(Z,q)=>({"pull-right":Z,"float-right":q}),P=(Z,q)=>({disabled:Z,currentPage:q}),w=(Z,q,m)=>({disabled:Z,$implicit:q,currentPage:m});function y(Z,q){if(1&Z){const m=e.RV6();e.j41(0,"li",11)(1,"a",12),e.bIt("click",function(h){e.eBV(m);const A=e.XpG();return e.Njj(A.selectPage(1,h))}),e.eu8(2,13),e.k0s()()}if(2&Z){const m=e.XpG(),G=e.sdS(13);e.AVh("disabled",m.noPrevious()||m.disabled),e.R7$(2),e.Y8G("ngTemplateOutlet",m.customFirstTemplate||G)("ngTemplateOutletContext",e.l_i(4,P,m.noPrevious()||m.disabled,m.page))}}function D(Z,q){if(1&Z){const m=e.RV6();e.j41(0,"li",14)(1,"a",12),e.bIt("click",function(h){e.eBV(m);const A=e.XpG();return e.Njj(A.selectPage(A.page-1,h))}),e.eu8(2,13),e.k0s()()}if(2&Z){const m=e.XpG(),G=e.sdS(11);e.AVh("disabled",m.noPrevious()||m.disabled),e.R7$(2),e.Y8G("ngTemplateOutlet",m.customPreviousTemplate||G)("ngTemplateOutletContext",e.l_i(4,P,m.noPrevious()||m.disabled,m.page))}}function d(Z,q){if(1&Z){const m=e.RV6();e.j41(0,"li",15)(1,"a",12),e.bIt("click",function(h){const A=e.eBV(m).$implicit,F=e.XpG();return e.Njj(F.selectPage(A.number,h))}),e.eu8(2,13),e.k0s()()}if(2&Z){const m=q.$implicit,G=e.XpG(),h=e.sdS(7);e.AVh("active",m.active)("disabled",G.disabled&&!m.active),e.R7$(2),e.Y8G("ngTemplateOutlet",G.customPageTemplate||h)("ngTemplateOutletContext",e.sMw(6,w,G.disabled,m,G.page))}}function f(Z,q){if(1&Z){const m=e.RV6();e.j41(0,"li",16)(1,"a",12),e.bIt("click",function(h){e.eBV(m);const A=e.XpG();return e.Njj(A.selectPage(A.page+1,h))}),e.eu8(2,13),e.k0s()()}if(2&Z){const m=e.XpG(),G=e.sdS(9);e.AVh("disabled",m.noNext()||m.disabled),e.R7$(2),e.Y8G("ngTemplateOutlet",m.customNextTemplate||G)("ngTemplateOutletContext",e.l_i(4,P,m.noNext()||m.disabled,m.page))}}function R(Z,q){if(1&Z){const m=e.RV6();e.j41(0,"li",17)(1,"a",12),e.bIt("click",function(h){e.eBV(m);const A=e.XpG();return e.Njj(A.selectPage(A.totalPages,h))}),e.eu8(2,13),e.k0s()()}if(2&Z){const m=e.XpG(),G=e.sdS(15);e.AVh("disabled",m.noNext()||m.disabled),e.R7$(2),e.Y8G("ngTemplateOutlet",m.customLastTemplate||G)("ngTemplateOutletContext",e.l_i(4,P,m.noNext()||m.disabled,m.page))}}function W(Z,q){1&Z&&e.EFF(0),2&Z&&e.JRh(q.$implicit.text)}function N(Z,q){if(1&Z&&e.EFF(0),2&Z){const m=e.XpG();e.JRh(m.getText("next"))}}function U(Z,q){if(1&Z&&e.EFF(0),2&Z){const m=e.XpG();e.JRh(m.getText("previous"))}}function Y(Z,q){if(1&Z&&e.EFF(0),2&Z){const m=e.XpG();e.JRh(m.getText("first"))}}function ne(Z,q){if(1&Z&&e.EFF(0),2&Z){const m=e.XpG();e.JRh(m.getText("last"))}}let ae=(()=>{class Z{constructor(){this.main={itemsPerPage:10,boundaryLinks:!1,directionLinks:!0,firstText:"First",previousText:"Previous",nextText:"Next",lastText:"Last",pageBtnClass:"",rotate:!0},this.pager={itemsPerPage:15,previousText:"\xab Previous",nextText:"Next \xbb",pageBtnClass:"",align:!0}}static#e=this.\u0275fac=function(G){return new(G||Z)};static#t=this.\u0275prov=e.jDH({token:Z,factory:Z.\u0275fac,providedIn:"root"})}return Z})();const fe={provide:p.kq,useExisting:(0,e.Rfq)(()=>Ae),multi:!0};let Ae=(()=>{class Z{constructor(m,G,h){this.elementRef=m,this.changeDetection=h,this.align=!1,this.boundaryLinks=!1,this.directionLinks=!0,this.firstText="First",this.previousText="\xab Previous",this.nextText="Next \xbb",this.lastText="Last",this.rotate=!0,this.pageBtnClass="",this.disabled=!1,this.numPages=new e.bkB,this.pageChanged=new e.bkB,this.onChange=Function.prototype,this.onTouched=Function.prototype,this.classMap="",this.inited=!1,this._itemsPerPage=15,this._totalItems=0,this._totalPages=0,this._page=1,this.elementRef=m,this.config||this.configureOptions(Object.assign({},G.main,G.pager))}get itemsPerPage(){return this._itemsPerPage}set itemsPerPage(m){this._itemsPerPage=m,this.totalPages=this.calculateTotalPages()}get totalItems(){return this._totalItems}set totalItems(m){this._totalItems=m,this.totalPages=this.calculateTotalPages()}get totalPages(){return this._totalPages}set totalPages(m){this._totalPages=m,this.numPages.emit(m),this.inited&&this.selectPage(this.page)}get page(){return this._page}set page(m){const G=this._page;this._page=m>this.totalPages?this.totalPages:m||1,this.changeDetection.markForCheck(),!(G===this._page||typeof G>"u")&&this.pageChanged.emit({page:this._page,itemsPerPage:this.itemsPerPage})}configureOptions(m){this.config=Object.assign({},m)}ngOnInit(){typeof window<"u"&&(this.classMap=this.elementRef.nativeElement.getAttribute("class")||""),typeof this.maxSize>"u"&&(this.maxSize=this.config?.maxSize||0),typeof this.rotate>"u"&&(this.rotate=!!this.config?.rotate),typeof this.boundaryLinks>"u"&&(this.boundaryLinks=!!this.config?.boundaryLinks),typeof this.directionLinks>"u"&&(this.directionLinks=!!this.config?.directionLinks),typeof this.pageBtnClass>"u"&&(this.pageBtnClass=this.config?.pageBtnClass||""),typeof this.itemsPerPage>"u"&&(this.itemsPerPage=this.config?.itemsPerPage||0),this.totalPages=this.calculateTotalPages(),this.pages=this.getPages(this.page,this.totalPages),this.inited=!0}writeValue(m){this.page=m,this.pages=this.getPages(this.page,this.totalPages)}getText(m){return this[`${m}Text`]||this.config[`${m}Text`]}noPrevious(){return 1===this.page}noNext(){return this.page===this.totalPages}registerOnChange(m){this.onChange=m}registerOnTouched(m){this.onTouched=m}selectPage(m,G){G&&G.preventDefault(),this.disabled||(G&&G.target&&G.target.blur(),this.writeValue(m),this.onChange(this.page))}makePage(m,G,h){return{text:G,number:m,active:h}}getPages(m,G){const h=[];let A=1,F=G;const x=typeof this.maxSize<"u"&&this.maxSize<G;x&&this.maxSize&&(this.rotate?(A=Math.max(m-Math.floor(this.maxSize/2),1),F=A+this.maxSize-1,F>G&&(F=G,A=F-this.maxSize+1)):(A=(Math.ceil(m/this.maxSize)-1)*this.maxSize+1,F=Math.min(A+this.maxSize-1,G)));for(let B=A;B<=F;B++){const j=this.makePage(B,B.toString(),B===m);h.push(j)}if(x&&!this.rotate){if(A>1){const B=this.makePage(A-1,"...",!1);h.unshift(B)}if(F<G){const B=this.makePage(F+1,"...",!1);h.push(B)}}return h}calculateTotalPages(){const m=this.itemsPerPage<1?1:Math.ceil(this.totalItems/this.itemsPerPage);return Math.max(m||0,1)}static#e=this.\u0275fac=function(G){return new(G||Z)(e.rXU(e.aKT),e.rXU(ae),e.rXU(e.gRc))};static#t=this.\u0275cmp=e.VBU({type:Z,selectors:[["pager"]],inputs:{align:"align",maxSize:"maxSize",boundaryLinks:"boundaryLinks",directionLinks:"directionLinks",firstText:"firstText",previousText:"previousText",nextText:"nextText",lastText:"lastText",rotate:"rotate",pageBtnClass:"pageBtnClass",disabled:"disabled",itemsPerPage:"itemsPerPage",totalItems:"totalItems"},outputs:{numPages:"numPages",pageChanged:"pageChanged"},features:[e.Jv_([fe])],decls:7,vars:24,consts:[[1,"pager"],[3,"ngClass"],["href","",3,"click"]],template:function(G,h){1&G&&(e.j41(0,"ul",0)(1,"li",1)(2,"a",2),e.bIt("click",function(F){return h.selectPage(h.page-1,F)}),e.EFF(3),e.k0s()(),e.j41(4,"li",1)(5,"a",2),e.bIt("click",function(F){return h.selectPage(h.page+1,F)}),e.EFF(6),e.k0s()()()),2&G&&(e.R7$(),e.HbH(h.pageBtnClass),e.AVh("disabled",h.noPrevious())("previous",h.align),e.Y8G("ngClass",e.l_i(18,E,h.align,h.align)),e.R7$(2),e.JRh(h.getText("previous")),e.R7$(),e.HbH(h.pageBtnClass),e.AVh("disabled",h.noNext())("next",h.align),e.Y8G("ngClass",e.l_i(21,_,h.align,h.align)),e.R7$(2),e.JRh(h.getText("next")))},dependencies:[v.YU],encapsulation:2})}return Z})();const ee={provide:p.kq,useExisting:(0,e.Rfq)(()=>X),multi:!0};let X=(()=>{class Z{constructor(m,G,h){this.elementRef=m,this.changeDetection=h,this.align=!0,this.boundaryLinks=!1,this.directionLinks=!0,this.rotate=!0,this.pageBtnClass="",this.disabled=!1,this.numPages=new e.bkB,this.pageChanged=new e.bkB,this.onChange=Function.prototype,this.onTouched=Function.prototype,this.classMap="",this.inited=!1,this._itemsPerPage=10,this._totalItems=0,this._totalPages=0,this._page=1,this.elementRef=m,this.config||this.configureOptions(G.main)}get itemsPerPage(){return this._itemsPerPage}set itemsPerPage(m){this._itemsPerPage=m,this.totalPages=this.calculateTotalPages()}get totalItems(){return this._totalItems}set totalItems(m){this._totalItems=m,this.totalPages=this.calculateTotalPages()}get totalPages(){return this._totalPages}set totalPages(m){this._totalPages=m,this.numPages.emit(m),this.inited&&this.selectPage(this.page)}get page(){return this._page}set page(m){const G=this._page;this._page=m>this.totalPages?this.totalPages:m||1,this.changeDetection.markForCheck(),!(G===this._page||typeof G>"u")&&this.pageChanged.emit({page:this._page,itemsPerPage:this.itemsPerPage})}configureOptions(m){this.config=Object.assign({},m)}ngOnInit(){typeof window<"u"&&(this.classMap=this.elementRef.nativeElement.getAttribute("class")||""),typeof this.maxSize>"u"&&(this.maxSize=this.config?.maxSize||0),typeof this.rotate>"u"&&(this.rotate=!!this.config?.rotate),typeof this.boundaryLinks>"u"&&(this.boundaryLinks=!!this.config?.boundaryLinks),typeof this.directionLinks>"u"&&(this.directionLinks=!!this.config?.directionLinks),typeof this.pageBtnClass>"u"&&(this.pageBtnClass=this.config?.pageBtnClass||""),typeof this.itemsPerPage>"u"&&(this.itemsPerPage=this.config?.itemsPerPage||0),this.totalPages=this.calculateTotalPages(),this.pages=this.getPages(this.page,this.totalPages),this.inited=!0}writeValue(m){this.page=m,this.pages=this.getPages(this.page,this.totalPages)}getText(m){return this[`${m}Text`]||this.config[`${m}Text`]}noPrevious(){return 1===this.page}noNext(){return this.page===this.totalPages}registerOnChange(m){this.onChange=m}registerOnTouched(m){this.onTouched=m}selectPage(m,G){G&&G.preventDefault(),this.disabled||(G&&G.target&&G.target.blur(),this.writeValue(m),this.onChange(this.page))}makePage(m,G,h){return{text:G,number:m,active:h}}getPages(m,G){const h=[];let A=1,F=G;const x=typeof this.maxSize<"u"&&this.maxSize<G;x&&this.maxSize&&(this.rotate?(A=Math.max(m-Math.floor(this.maxSize/2),1),F=A+this.maxSize-1,F>G&&(F=G,A=F-this.maxSize+1)):(A=(Math.ceil(m/this.maxSize)-1)*this.maxSize+1,F=Math.min(A+this.maxSize-1,G)));for(let B=A;B<=F;B++){const j=this.makePage(B,B.toString(),B===m);h.push(j)}if(x&&!this.rotate){if(A>1){const B=this.makePage(A-1,"...",!1);h.unshift(B)}if(F<G){const B=this.makePage(F+1,"...",!1);h.push(B)}}return h}calculateTotalPages(){const m=this.itemsPerPage<1?1:Math.ceil(this.totalItems/this.itemsPerPage);return Math.max(m||0,1)}static#e=this.\u0275fac=function(G){return new(G||Z)(e.rXU(e.aKT),e.rXU(ae),e.rXU(e.gRc))};static#t=this.\u0275cmp=e.VBU({type:Z,selectors:[["pagination"]],inputs:{align:"align",maxSize:"maxSize",boundaryLinks:"boundaryLinks",directionLinks:"directionLinks",firstText:"firstText",previousText:"previousText",nextText:"nextText",lastText:"lastText",rotate:"rotate",pageBtnClass:"pageBtnClass",disabled:"disabled",customPageTemplate:"customPageTemplate",customNextTemplate:"customNextTemplate",customPreviousTemplate:"customPreviousTemplate",customFirstTemplate:"customFirstTemplate",customLastTemplate:"customLastTemplate",itemsPerPage:"itemsPerPage",totalItems:"totalItems"},outputs:{numPages:"numPages",pageChanged:"pageChanged"},features:[e.Jv_([ee])],decls:16,vars:6,consts:[["defaultPageTemplate",""],["defaultNextTemplate",""],["defaultPreviousTemplate",""],["defaultFirstTemplate",""],["defaultLastTemplate",""],[1,"pagination",3,"ngClass"],["class","pagination-first page-item",3,"disabled",4,"ngIf"],["class","pagination-prev page-item",3,"disabled",4,"ngIf"],["class","pagination-page page-item",3,"active","disabled",4,"ngFor","ngForOf"],["class","pagination-next page-item",3,"disabled",4,"ngIf"],["class","pagination-last page-item",3,"disabled",4,"ngIf"],[1,"pagination-first","page-item"],["href","",1,"page-link",3,"click"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"pagination-prev","page-item"],[1,"pagination-page","page-item"],[1,"pagination-next","page-item"],[1,"pagination-last","page-item"]],template:function(G,h){1&G&&(e.j41(0,"ul",5),e.DNE(1,y,3,7,"li",6)(2,D,3,7,"li",7)(3,d,3,10,"li",8)(4,f,3,7,"li",9)(5,R,3,7,"li",10),e.k0s(),e.DNE(6,W,1,1,"ng-template",null,0,e.C5r)(8,N,1,1,"ng-template",null,1,e.C5r)(10,U,1,1,"ng-template",null,2,e.C5r)(12,Y,1,1,"ng-template",null,3,e.C5r)(14,ne,1,1,"ng-template",null,4,e.C5r)),2&G&&(e.Y8G("ngClass",h.classMap),e.R7$(),e.Y8G("ngIf",h.boundaryLinks),e.R7$(),e.Y8G("ngIf",h.directionLinks),e.R7$(),e.Y8G("ngForOf",h.pages),e.R7$(),e.Y8G("ngIf",h.directionLinks),e.R7$(),e.Y8G("ngIf",h.boundaryLinks))},dependencies:[v.YU,v.Sq,v.bT,v.T3],encapsulation:2})}return Z})(),se=(()=>{class Z{static forRoot(){return{ngModule:Z,providers:[]}}static#e=this.\u0275fac=function(G){return new(G||Z)};static#t=this.\u0275mod=e.$C({type:Z});static#n=this.\u0275inj=e.G2t({imports:[v.MD]})}return Z})()}}]);
Back to Directory
File Manager