1"use strict";(self.webpackChunksavaari=self.webpackChunksavaari||[]).push([[968],{1968:(Wa,Rt,f)=>{f.d(Rt,{gY:()=>ye,Gs:()=>Ze,uo:()=>Ke,mH:()=>Xe,Gk:()=>ie,gW:()=>De,Cu:()=>Ne,xl:()=>we,_L:()=>Pa,HK:()=>St,dR:()=>$a,ZS:()=>Mt});var a=f(5e3),h=f(9808),xe=f(6688),Be=f(3009),Pe=f(826),Fe=f(448);function Ge(...t){if(1===t.length){if(!(0,xe.k)(t[0]))return t[0];t=t[0]}return(0,Be.n)(t,void 0).lift(new At)}class At{call(i,e){return e.subscribe(new kt(i))}}class kt extends Pe.L{constructor(i){super(i),this.hasFirst=!1,this.observables=[],this.subscriptions=[]}_next(i){this.observables.push(i)}_complete(){const i=this.observables,e=i.length;if(0===e)this.destination.complete();else{for(let n=0;n<e&&!this.hasFirst;n++){const s=(0,Fe.D)(this,i[n],void 0,n);this.subscriptions&&this.subscriptions.push(s),this.add(s)}this.observables=null}}notifyNext(i,e,n){if(!this.hasFirst){this.hasFirst=!0;for(let o=0;o<this.subscriptions.length;o++)if(o!==n){let s=this.subscriptions[o];s.unsubscribe(),this.remove(s)}this.subscriptions=null}this.destination.next(e)}}var xt=f(3489),K=f(5430),ge=f(1177);class Bt{constructor(i){this.resultSelector=i}call(i,e){return e.subscribe(new Pt(i,this.resultSelector))}}class Pt extends xt.L{constructor(i,e,n=Object.create(null)){super(i),this.resultSelector=e,this.iterators=[],this.active=0,this.resultSelector="function"==typeof e?e:void 0}_next(i){const e=this.iterators;(0,xe.k)(i)?e.push(new Gt(i)):e.push("function"==typeof i[K.hZ]?new Ft(i[K.hZ]()):new Ht(this.destination,this,i))}_complete(){const i=this.iterators,e=i.length;if(this.unsubscribe(),0!==e){this.active=e;for(let n=0;n<e;n++){let o=i[n];o.stillUnsubscribed?this.destination.add(o.subscribe()):this.active--}}else this.destination.complete()}notifyInactive(){this.active--,0===this.active&&this.destination.complete()}checkIterators(){const i=this.iterators,e=i.length,n=this.destination;for(let r=0;r<e;r++){let l=i[r];if("function"==typeof l.hasValue&&!l.hasValue())return}let o=!1;const s=[];for(let r=0;r<e;r++){let l=i[r],d=l.next();if(l.hasCompleted()&&(o=!0),d.done)return void n.complete();s.push(d.value)}this.resultSelector?this._tryresultSelector(s):n.next(s),o&&n.complete()}_tryresultSelector(i){let e;try{e=this.resultSelector.apply(this,i)}catch(n){return void this.destination.error(n)}this.destination.next(e)}}class Ft{constructor(i){this.iterator=i,this.nextResult=i.next()}hasValue(){return!0}next(){const i=this.nextResult;return this.nextResult=this.iterator.next(),i}hasCompleted(){const i=this.nextResult;return Boolean(i&&i.done)}}class Gt{constructor(i){this.array=i,this.index=0,this.length=0,this.length=i.length}[K.hZ](){return this}next(i){const e=this.index++;return e<this.length?{value:this.array[e],done:!1}:{value:null,done:!0}}hasValue(){return this.array.length>this.index}hasCompleted(){return this.array.length===this.index}}class Ht extends ge.Ds{constructor(i,e,n){super(i),this.parent=e,this.observable=n,this.stillUnsubscribed=!0,this.buffer=[],this.isComplete=!1}[K.hZ](){return this}next(){const i=this.buffer;return 0===i.length&&this.isComplete?{value:null,done:!0}:{value:i.shift(),done:!1}}hasValue(){return this.buffer.length>0}hasCompleted(){return 0===this.buffer.length&&this.isComplete}notifyComplete(){this.buffer.length>0?(this.isComplete=!0,this.parent.notifyInactive()):this.destination.complete()}notifyNext(i){this.buffer.push(i),this.parent.checkIterators()}subscribe(){return(0,ge.ft)(this.observable,new ge.IY(this))}}var He=f(2916),Lt=f(8896),$=f(1086),S=f(5529),C=f(3753),Le=f(8723),x=f(591),Ve=f(6053),Vt=f(5942),Ut=f(6787),jt=f(1221);class Wt{constructor(i,e){this.observables=i,this.project=e}call(i,e){return e.subscribe(new Yt(i,this.observables,this.project))}}class Yt extends Pe.L{constructor(i,e,n){super(i),this.observables=e,this.project=n,this.toRespond=[];const o=e.length;this.values=new Array(o);for(let s=0;s<o;s++)this.toRespond.push(s);for(let s=0;s<o;s++)this.add((0,Fe.D)(this,e[s],void 0,s))}notifyNext(i,e,n){this.values[n]=e;const o=this.toRespond;if(o.length>0){const s=o.indexOf(n);-1!==s&&o.splice(s,1)}}notifyComplete(){}_next(i){if(0===this.toRespond.length){const e=[i,...this.values];this.project?this._tryProject(e):this.destination.next(e)}}_tryProject(i){let e;try{e=this.project.apply(this,i)}catch(n){return void this.destination.error(n)}this.destination.next(e)}}var D=f(7625),R=f(2198),I=f(2986),O=f(4850),pe=f(1059),he=f(5778),fe=f(7545),ee=f(2994),Ue=f(9177),zt=f(1709),Zt=(f(1307),f(8117)),te=f(4182);function Qt(t,i){}function qt(t,i){if(1&t&&(a.TgZ(0,"button",3),a._uU(1),a.YNc(2,Qt,0,0,"ng-template",4),a.qZA()),2&t){const e=i.$implicit;a.Q6J("ngbPanelToggle",e),a.xp6(1),a.hij(" ",e.title,""),a.xp6(1),a.Q6J("ngTemplateOutlet",null==e.titleTpl?null:e.titleTpl.templateRef)}}function Kt(t,i){}function Xt(t,i){}function en(t,i){if(1&t){const e=a.EpF();a.TgZ(0,"div",8),a.NdJ("ngbRef",function(o){return a.CHM(e),a.oxw().$implicit.panelDiv=o}),a.TgZ(1,"div",9),a.YNc(2,Xt,0,0,"ng-template",4),a.qZA()()}if(2&t){const e=a.oxw().$implicit;a.s9C("id",e.id),a.uIk("aria-labelledby",e.id+"-header"),a.xp6(2),a.Q6J("ngTemplateOutlet",(null==e.contentTpl?null:e.contentTpl.templateRef)||null)}}const tn=function(t,i){return{$implicit:t,opened:i}};function nn(t,i){if(1&t&&(a.TgZ(0,"div")(1,"div",5),a.YNc(2,Kt,0,0,"ng-template",6),a.qZA(),a.YNc(3,en,3,3,"div",7),a.qZA()),2&t){const e=i.$implicit,n=a.oxw(),o=a.MAs(1);a.Tol("card "+(e.cardClass||"")),a.xp6(1),a.Tol("card-header "+(e.type?"bg-"+e.type:n.type?"bg-"+n.type:"")),a.MGl("id","",e.id,"-header"),a.xp6(1),a.Q6J("ngTemplateOutlet",(null==e.headerTpl?null:e.headerTpl.templateRef)||o)("ngTemplateOutletContext",a.WLB(8,tn,e,e.isOpen)),a.xp6(1),a.Q6J("ngIf",!n.destroyOnHide||e.isOpen||e.transitionRunning)}}const je=["*"];function an(t,i){if(1&t){const e=a.EpF();a.TgZ(0,"li",6),a.NdJ("click",function(){const s=a.CHM(e).$implicit,r=a.oxw();
1return r.focus(),r.select(s.id,r.NgbSlideEventSource.INDICATOR)}),a.qZA()}if(2&t){const e=i.$implicit,n=a.oxw();a.ekj("active",e.id===n.activeId),a.uIk("aria-labelledby","slide-"+e.id)("aria-controls","slide-"+e.id)("aria-selected",e.id===n.activeId)}}function on(t,i){}function sn(t,i){if(1&t&&(a.TgZ(0,"div",7)(1,"span",8),a.SDv(2,9),a.qZA(),a.YNc(3,on,0,0,"ng-template",10),a.qZA()),2&t){const e=i.$implicit,n=i.index,o=i.count;a.Q6J("id","slide-"+e.id),a.xp6(2),a.pQV(n+1)(o),a.QtT(2),a.xp6(1),a.Q6J("ngTemplateOutlet",e.tplRef)}}function rn(t,i){if(1&t){const e=a.EpF();a.TgZ(0,"a",11),a.NdJ("click",function(){return a.CHM(e),a.oxw().arrowLeft()}),a._UZ(1,"span",12),a.TgZ(2,"span",8),a.SDv(3,13),a.qZA()()}}function ln(t,i){if(1&t){const e=a.EpF();a.TgZ(0,"a",14),a.NdJ("click",function(){return a.CHM(e),a.oxw().arrowRight()}),a._UZ(1,"span",15),a.TgZ(2,"span",8),a.SDv(3,16),a.qZA()()}}function ri(t,i){if(1&t&&(a.TgZ(0,"span"),a._uU(1),a.qZA()),2&t){const e=a.oxw().$implicit,n=a.oxw();a.Tol(n.highlightClass),a.xp6(1),a.Oqu(e)}}function li(t,i){if(1&t&&a._uU(0),2&t){const e=a.oxw().$implicit;a.Oqu(e)}}function di(t,i){if(1&t&&(a.YNc(0,ri,2,3,"span",1),a.YNc(1,li,1,1,"ng-template",null,2,a.W1O)),2&t){const e=i.odd,n=a.MAs(2);a.Q6J("ngIf",e)("ngIfElse",n)}}function ci(t,i){if(1&t&&a._UZ(0,"ngb-highlight",2),2&t){const n=i.term;a.Q6J("result",(0,i.formatter)(i.result))("term",n)}}function ui(t,i){}const gi=function(t,i,e){return{result:t,term:i,formatter:e}};function _i(t,i){if(1&t){const e=a.EpF();a.TgZ(0,"button",3),a.NdJ("mouseenter",function(){const s=a.CHM(e).index;return a.oxw().markActive(s)})("click",function(){const s=a.CHM(e).$implicit;return a.oxw().select(s)}),a.YNc(1,ui,0,0,"ng-template",4),a.qZA()}if(2&t){const e=i.$implicit,n=i.index,o=a.oxw(),s=a.MAs(1);a.ekj("active",n===o.activeIdx),a.Q6J("id",o.id+"-"+n),a.xp6(1),a.Q6J("ngTemplateOutlet",o.resultTemplate||s)("ngTemplateOutletContext",a.kEZ(5,gi,e,o.term,o.formatter))}}function W(t){return null!=t?`${t}`:""}function U(t){return(t||document.body).getBoundingClientRect()}function We(t){return t.normalize("NFD").replace(/[\u0300-\u036f]/g,"")}"undefined"!=typeof Element&&!Element.prototype.closest&&(Element.prototype.closest=function(t){let i=this;if(!document.documentElement.contains(i))return null;do{if(i.matches(t))return i;i=i.parentElement||i.parentNode}while(null!==i&&1===i.nodeType);return null});const Ye={animation:!0,transitionTimerDelayMs:5},Ni=()=>{},{transitionTimerDelayMs:Di}=Ye,Y=new Map,w=(t,i,e,n)=>{let o=n.context||{};const s=Y.get(i);if(s)switch(n.runningTransition){case"continue":return Lt.E;case"stop":t.run(()=>s.transition$.complete()),o=Object.assign(s.context,o),Y.delete(i)}const r=e(i,n.animation,o)||Ni;if(!n.animation||"none"===window.getComputedStyle(i).transitionProperty)return t.run(()=>r()),(0,$.of)(void 0).pipe(function bi(t){return i=>new He.y(e=>i.subscribe({next:r=>t.run(()=>e.next(r)),error:r=>t.run(()=>e.error(r)),complete:()=>t.run(()=>e.complete())}))}(t));const l=new S.xQ,d=new S.xQ,c=l.pipe(function $t(...t){return i=>(0,jt.z)(i,(0,$.of)(...t))}(!0));Y.set(i,{transition$:l,complete:()=>{d.next(),d.complete()},context:o});const u=function vi(t){const{transitionDelay:i,transitionDuration:e}=window.getComputedStyle(t);return 1e3*(parseFloat(i)+parseFloat(e))}(i);return t.runOutsideAngular(()=>{const g=(0,C.R)(i,"transitionend").pipe((0,D.R)(c),(0,R.h)(({target:p})=>p===i));Ge((0,Le.H)(u+Di).pipe((0,D.R)(c)),g,d).pipe((0,D.R)(c)).subscribe(()=>{Y.delete(i),t.run(()=>{r(),l.next(),l.complete()})})}),l.asObservable()},ze=(t,i,e)=>{let{direction:n,maxHeight:o}=e;const{classList:s}=t;function r(){s.add("collapse"),"show"===n?s.add("show"):s.remove("show")}if(i)return o||(o=function Ti(t){if("undefined"==typeof navigator)return"0px";const{classList:i}=t,e=i.contains("show");e||i.add("show"),t.style.height="";const n=t.getBoundingClientRect().height+"px";return e||i.remove("show"),n}(t),e.maxHeight=o,t.style.height="show"!==n?o:"0px",s.remove("collapse"),s.remove("collapsing"),s.remove("show"),U(t),s.add("collapsing")),t.style.height="show"===n?o:"0px",()=>{r(),s.remove("collapsing"),t.style.height=""};r()};let z=(()=>{class t{constructor(){this.animation=Ye.animation}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=a.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),wi=(()=>{class t{constructor(e){this._ngbConfig=e,this.closeOthers=!1}get animation(){return void 0===this._animation?this._ngbConfig.animation:this._animation}set animation(e){this._animation=e}}return t.\u0275fac=function(e){return new(e||t)(a.LFG(z))},t.\u0275prov=a.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),Si=0,ve=(()=>{class t{constructor(e){this.templateRef=e}}return t.\u0275fac=function(e){return new(e||t)(a.Y36(a.Rgc))},t.\u0275dir=a.lG2({type:t,selectors:[["ng-template","ngbPanelHeader",""]]}),t})(),Ne=(()=>{class t{constructor(e){this.templateRef=e}}return t.\u0275fac=function(e){return new(e||t)(a.Y36(a.Rgc))},t.\u0275dir=a.lG2({type:t,selectors:[["ng-template","ngbPanelTitle",""]]}),t})(),De=(()=>{class t{constructor(e){this.templateRef=e}}return t.\u0275fac=function(e){return new(e||t)(a.Y36(a.Rgc))},t.\u0275dir=a.lG2({type:t,selectors:[["ng-template","ngbPanelContent",""]]}),t})(),ie=(()=>{class t{constructor(){this.disabled=!1,this.id="ngb-panel-"+Si++,this.isOpen=!1,this.initClassDone=!1,this.transitionRunning=!1,this.shown=new a.vpe,this.hidden=new a.vpe}ngAfterContentChecked(){this.titleTpl=this.titleTpls.first,this.headerTpl=this.headerTpls.first,this.contentTpl=this.contentTpls.first}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=a.lG2({type:t,selectors:[["ngb-panel"]],contentQueries:function(e,n,o){if(1&e&&(a.Suo(o,Ne,4),a.Suo(o,ve,4),a.Suo(o,De,4)),2&e){let s;a.iGM(s=a.CRH())&&(n.titleTpls=s),a.iGM(s=a.CRH())&&(n.headerTpls=s),a.iGM(s=a.CRH())&&(n.contentTpls=s)}}
1,inputs:{disabled:"disabled",id:"id",title:"title",type:"type",cardClass:"cardClass"},outputs:{shown:"shown",hidden:"hidden"}}),t})(),Ci=(()=>{class t{constructor(e){this._El=e,this.ngbRef=new a.vpe}ngOnInit(){this.ngbRef.emit(this._El.nativeElement)}ngOnDestroy(){this.ngbRef.emit(null)}}return t.\u0275fac=function(e){return new(e||t)(a.Y36(a.SBq))},t.\u0275dir=a.lG2({type:t,selectors:[["","ngbRef",""]],outputs:{ngbRef:"ngbRef"}}),t})(),ye=(()=>{class t{constructor(e,n,o){this._ngZone=n,this._changeDetector=o,this.activeIds=[],this.destroyOnHide=!0,this.panelChange=new a.vpe,this.shown=new a.vpe,this.hidden=new a.vpe,this.animation=e.animation,this.type=e.type,this.closeOtherPanels=e.closeOthers}isExpanded(e){return this.activeIds.indexOf(e)>-1}expand(e){this._changeOpenState(this._findPanelById(e),!0)}expandAll(){this.closeOtherPanels?0===this.activeIds.length&&this.panels.length&&this._changeOpenState(this.panels.first,!0):this.panels.forEach(e=>this._changeOpenState(e,!0))}collapse(e){this._changeOpenState(this._findPanelById(e),!1)}collapseAll(){this.panels.forEach(e=>{this._changeOpenState(e,!1)})}toggle(e){const n=this._findPanelById(e);n&&this._changeOpenState(n,!n.isOpen)}ngAfterContentChecked(){(function $e(t){return"string"==typeof t})(this.activeIds)&&(this.activeIds=this.activeIds.split(/\s*,\s*/)),this.panels.forEach(e=>{e.isOpen=!e.disabled&&this.activeIds.indexOf(e.id)>-1}),this.activeIds.length>1&&this.closeOtherPanels&&(this._closeOthers(this.activeIds[0],!1),this._updateActiveIds()),this._ngZone.onStable.pipe((0,I.q)(1)).subscribe(()=>{this.panels.forEach(e=>{const n=e.panelDiv;n?e.initClassDone||(e.initClassDone=!0,w(this._ngZone,n,ze,{animation:!1,runningTransition:"continue",context:{direction:e.isOpen?"show":"hide"}})):e.initClassDone=!1})})}_changeOpenState(e,n){if(null!=e&&!e.disabled&&e.isOpen!==n){let o=!1;this.panelChange.emit({panelId:e.id,nextState:n,preventDefault:()=>{o=!0}}),o||(e.isOpen=n,e.transitionRunning=!0,n&&this.closeOtherPanels&&this._closeOthers(e.id),this._updateActiveIds(),this._runTransitions(this.animation))}}_closeOthers(e,n=!0){this.panels.forEach(o=>{o.id!==e&&o.isOpen&&(o.isOpen=!1,o.transitionRunning=n)})}_findPanelById(e){return this.panels.find(n=>n.id===e)||null}_updateActiveIds(){this.activeIds=this.panels.filter(e=>e.isOpen&&!e.disabled).map(e=>e.id)}_runTransitions(e){this._changeDetector.detectChanges(),this.panels.forEach(n=>{n.transitionRunning&&w(this._ngZone,n.panelDiv,ze,{animation:e,runningTransition:"stop",context:{direction:n.isOpen?"show":"hide"}}).subscribe(()=>{n.transitionRunning=!1;const{id:s}=n;n.isOpen?(n.shown.emit(),this.shown.emit(s)):(n.hidden.emit(),this.hidden.emit(s))})})}}return t.\u0275fac=function(e){return new(e||t)(a.Y36(wi),a.Y36(a.R0b),a.Y36(a.sBO))},t.\u0275cmp=a.Xpm({type:t,selectors:[["ngb-accordion"]],contentQueries:function(e,n,o){if(1&e&&a.Suo(o,ie,4),2&e){let s;a.iGM(s=a.CRH())&&(n.panels=s)}},hostAttrs:["role","tablist",1,"accordion"],hostVars:1,hostBindings:function(e,n){2&e&&a.uIk("aria-multiselectable",!n.closeOtherPanels)},inputs:{animation:"animation",activeIds:"activeIds",closeOtherPanels:["closeOthers","closeOtherPanels"],destroyOnHide:"destroyOnHide",type:"type"},outputs:{panelChange:"panelChange",shown:"shown",hidden:"hidden"},exportAs:["ngbAccordion"],decls:3,vars:1,consts:[["ngbPanelHeader",""],["t",""],["ngFor","",3,"ngForOf"],[1,"btn","btn-link",3,"ngbPanelToggle"],[3,"ngTemplateOutlet"],["role","tab",3,"id"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],["role","tabpanel",3,"id","ngbRef",4,"ngIf"],["role","tabpanel",3,"id","ngbRef"],[1,"card-body"]],template:function(e,n){1&e&&(a.YNc(0,qt,3,3,"ng-template",0,1,a.W1O),a.YNc(2,nn,4,11,"ng-template",2)),2&e&&(a.xp6(2),a.Q6J("ngForOf",n.panels))},directives:function(){return[ve,Je,h.tP,h.sg,h.O5,Ci]},encapsulation:2}),t})(),Je=(()=>{class t{constructor(e,n){this.accordion=e,this.panel=n}set ngbPanelToggle(e){e&&(this.panel=e)}}return t.\u0275fac=function(e){return new(e||t)(a.Y36(ye),a.Y36(ie,9))},t.\u0275dir=a.lG2({type:t,selectors:[["button","ngbPanelToggle",""]],hostAttrs:["type","button"],hostVars:5,hostBindings:function(e,n){1&e&&a.NdJ("click",function(){return n.accordion.toggle(n.panel.id)}),2&e&&(a.Ikx("disabled",n.panel.disabled),a.uIk("aria-expanded",n.panel.isOpen)("aria-controls",n.panel.id),a.ekj("collapsed",!n.panel.isOpen))},inputs:{ngbPanelToggle:"ngbPanelToggle"}}),t})(),Ze=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=a.oAB({type:t}),t.\u0275inj=a.cJS({imports:[[h.ez]]}),t})();var P=(()=>{return(t=P||(P={})).LEFT="left",t.RIGHT="right",P;var t})();const qe=({classList:t})=>t.contains("carousel-item-left")||t.contains("carousel-item-right"),J=t=>{t.remove("carousel-item-left"),t.remove("carousel-item-right")},ae=t=>{J(t),t.remove("carousel-item-prev"),t.remove("carousel-item-next")},Ri=(t,i,{direction:e})=>{const{classList:n}=t;return i?(qe(t)?J(n):(n.add("carousel-item-"+(e===P.LEFT?"next":"prev")),U(t),n.add("carousel-item-"+e)),()=>{ae(n),n.add("active")}):(J(n),ae(n),void n.add("active"))},Ai=(t,i,{direction:e})=>{const{classList:n}=t;return i?(qe(t)?J(n):n.add("carousel-item-"+e),()=>{ae(n),n.remove("active")}):(J(n),ae(n),void n.remove("active"))};let ki=(()=>{class t{constructor(e){this._ngbConfig=e,this.interval=5e3,this.wrap=!0,this.keyboard=!0,this.pauseOnHover=!0,this.pauseOnFocus=!0,this.showNavigationArrows=!0,this.showNavigationIndicators=!0}get animation(){return void 0===this._animation?this._ngbConfig.animation:this._animation}set animation(e){this._animation=e}}return t.\u0275fac=function(e){return new(e||t)(a.LFG(z))},t.\u0275prov=a.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),xi=0,we=(()=>{class t{constructor(e){this.tplRef=e,this.id="ngb-slide-"+xi++,this.slid=new a.vpe}}return t.\u0275fac=function(e){return new(e||t)(a.Y36(a.Rgc))},t.\u0275dir=a.lG2({type:t,selectors:[["ng-template","ngbSlide",""]],inputs:{id:"id"},outputs:{slid:"slid"}}),t})(),Ke=(()=>{class t{constructor(e,n,o,s,r){this._platformId=n,this._ngZone=o,this._cd=s,this._container=r,this.NgbSlideEventSource=G,this._destroy$=new S.xQ,this._interval$=new x.X(0),this._mouseHover$=new x.X(!1),this._focused$=new x.X(!1),this._pauseOnHover$=new x.X(!1),this._pauseOnFocus$=new x.X(!1),this._pause$=new x.X(!1),this._wrap$=new x.X(!1),this.slide=new a.vpe,this.slid=new a.vpe,this._transitionIds=null,this.animation=e.animation,this.interval=e.interval,this.wrap=e.wrap,this.keyboard=e.keyboard,this.pauseOnHover=e.pauseOnHover,this.pauseOnFocus=e.pauseOnFocus,this.showNavigationArrows=e.showNavigationArrows,this.showNavigationIndicators=e.showNavigationIndicators}set interval(e){this._interval$.next(e)}get interval(){return this._interval$.value}set wrap(e){this._wrap$.next(e)}get wrap(){return this._wrap$.value}set pauseOnHover(e){this._pauseOnHover$.next(e)}get pauseOnHover(){return this._pauseOnHover$.value}set pauseOnFocus(e){this._pauseOnFocus$.next(e)}get pauseOnFocus(){return this._pauseOnFocus$.value}set mouseHover(e){this._mouseHover$.next(e)}
1get mouseHover(){return this._mouseHover$.value}set focused(e){this._focused$.next(e)}get focused(){return this._focused$.value}arrowLeft(){this.focus(),this.prev(G.ARROW_LEFT)}arrowRight(){this.focus(),this.next(G.ARROW_RIGHT)}ngAfterContentInit(){(0,h.NF)(this._platformId)&&this._ngZone.runOutsideAngular(()=>{const e=(0,Ve.aj)([this.slide.pipe((0,O.U)(n=>n.current),(0,pe.O)(this.activeId)),this._wrap$,this.slides.changes.pipe((0,pe.O)(null))]).pipe((0,O.U)(([n,o])=>{const s=this.slides.toArray(),r=this._getSlideIdxById(n);return o?s.length>1:r<s.length-1}),(0,he.x)());(0,Ve.aj)([this._pause$,this._pauseOnHover$,this._mouseHover$,this._pauseOnFocus$,this._focused$,this._interval$,e]).pipe((0,O.U)(([n,o,s,r,l,d,c])=>n||o&&s||r&&l||!c?0:d),(0,he.x)(),(0,fe.w)(n=>n>0?(0,Le.H)(n,n):Vt.C),(0,D.R)(this._destroy$)).subscribe(()=>this._ngZone.run(()=>this.next(G.TIMER)))}),this.slides.changes.pipe((0,D.R)(this._destroy$)).subscribe(()=>{var e;null===(e=this._transitionIds)||void 0===e||e.forEach(n=>(t=>{var i;null===(i=Y.get(t))||void 0===i||i.complete()})(this._getSlideElement(n))),this._transitionIds=null,this._cd.markForCheck(),this._ngZone.onStable.pipe((0,I.q)(1)).subscribe(()=>{for(const{id:n}of this.slides){const o=this._getSlideElement(n);n===this.activeId?o.classList.add("active"):o.classList.remove("active")}})})}ngAfterContentChecked(){let e=this._getSlideById(this.activeId);this.activeId=e?e.id:this.slides.length?this.slides.first.id:""}ngAfterViewInit(){if(this.activeId){const e=this._getSlideElement(this.activeId);e&&e.classList.add("active")}}ngOnDestroy(){this._destroy$.next()}select(e,n){this._cycleToSelected(e,this._getSlideEventDirection(this.activeId,e),n)}prev(e){this._cycleToSelected(this._getPrevSlide(this.activeId),P.RIGHT,e)}next(e){this._cycleToSelected(this._getNextSlide(this.activeId),P.LEFT,e)}pause(){this._pause$.next(!0)}cycle(){this._pause$.next(!1)}focus(){this._container.nativeElement.focus()}_cycleToSelected(e,n,o){const s=this._transitionIds;if(s&&(s[0]!==e||s[1]!==this.activeId))return;let r=this._getSlideById(e);if(r&&r.id!==this.activeId){this._transitionIds=[this.activeId,e],this.slide.emit({prev:this.activeId,current:r.id,direction:n,paused:this._pause$.value,source:o});const l={animation:this.animation,runningTransition:"stop",context:{direction:n}},d=[],c=this._getSlideById(this.activeId);if(c){const p=w(this._ngZone,this._getSlideElement(c.id),Ai,l);p.subscribe(()=>{c.slid.emit({isShown:!1,direction:n,source:o})}),d.push(p)}const u=this.activeId;this.activeId=r.id;const g=this._getSlideById(this.activeId),_=w(this._ngZone,this._getSlideElement(r.id),Ri,l);_.subscribe(()=>{null==g||g.slid.emit({isShown:!0,direction:n,source:o})}),d.push(_),function X(...t){const i=t[t.length-1];return"function"==typeof i&&t.pop(),(0,Be.n)(t,void 0).lift(new Bt(i))}(...d).pipe((0,I.q)(1)).subscribe(()=>{this._transitionIds=null,this.slid.emit({prev:u,current:r.id,direction:n,paused:this._pause$.value,source:o})})}this._cd.markForCheck()}_getSlideEventDirection(e,n){return this._getSlideIdxById(e)>this._getSlideIdxById(n)?P.RIGHT:P.LEFT}_getSlideById(e){return this.slides.find(n=>n.id===e)||null}_getSlideIdxById(e){const n=this._getSlideById(e);return null!=n?this.slides.toArray().indexOf(n):-1}_getNextSlide(e){const n=this.slides.toArray(),o=this._getSlideIdxById(e);return o===n.length-1?this.wrap?n[0].id:n[n.length-1].id:n[o+1].id}_getPrevSlide(e){const n=this.slides.toArray(),o=this._getSlideIdxById(e);return 0===o?this.wrap?n[n.length-1].id:n[0].id:n[o-1].id}_getSlideElement(e){return this._container.nativeElement.querySelector(`#slide-${e}`)}}return t.\u0275fac=function(e){return new(e||t)(a.Y36(ki),a.Y36(a.Lbi),a.Y36(a.R0b),a.Y36(a.sBO),a.Y36(a.SBq))},t.\u0275cmp=a.Xpm({type:t,selectors:[["ngb-carousel"]],contentQueries:function(e,n,o){if(1&e&&a.Suo(o,we,4),2&e){let s;a.iGM(s=a.CRH())&&(n.slides=s)}},hostAttrs:["tabIndex","0",1,"carousel","slide"],hostVars:3,hostBindings:function(e,n){1&e&&a.NdJ("keydown.arrowLeft",function(){return n.keyboard&&n.arrowLeft()})("keydown.arrowRight",function(){return n.keyboard&&n.arrowRight()})("mouseenter",function(){return n.mouseHover=!0})("mouseleave",function(){return n.mouseHover=!1})("focusin",function(){return n.focused=!0})("focusout",function(){return n.focused=!1}),2&e&&(a.uIk("aria-activedescendant","slide-"+n.activeId),a.Udp("display","block"))},inputs:{animation:"animation",activeId:"activeId",interval:"interval",wrap:"wrap",keyboard:"keyboard",pauseOnHover:"pauseOnHover",pauseOnFocus:"pauseOnFocus",showNavigationArrows:"showNavigationArrows",showNavigationIndicators:"showNavigationIndicators"},outputs:{slide:"slide",slid:"slid"},exportAs:["ngbCarousel"],decls:6,vars:6,consts:function(){let i,e,n;return i=$localize`:Currently selected slide number read by screen reader@@ngb.carousel.slide-number: Slide ${"\ufffd0\ufffd"}:INTERPOLATION: of ${"\ufffd1\ufffd"}:INTERPOLATION_1: `,e=$localize`:@@ngb.carousel.previous:Previous`,n=$localize`:@@ngb.carousel.next:Next`,[["role","tablist",1,"carousel-indicators"],["role","tab",3,"active","click",4,"ngFor","ngForOf"],[1,"carousel-inner"],["class","carousel-item","role","tabpanel",3,"id",4,"ngFor","ngForOf"],["class","carousel-control-prev","role","button",3,"click",4,"ngIf"],["class","carousel-control-next","role","button",3,"click",4,"ngIf"],["role","tab",3,"click"],["role","tabpanel",1,"carousel-item",3,"id"],[1,"sr-only"],i,[3,"ngTemplateOutlet"],["role","button",1,"carousel-control-prev",3,"click"],["aria-hidden","true",1,"carousel-control-prev-icon"],e,["role","button",1,"carousel-control-next",3,"click"],["aria-hidden","true",1,"carousel-control-next-icon"],n]},template:function(e,n){1&e&&(a.TgZ(0,"ol",0),a.YNc(1,an,1,5,"li",1),a.qZA(),a.TgZ(2,"div",2),a.YNc(3,sn,4,4,"div",3),a.qZA(),a.YNc(4,rn,4,0,"a",4),a.YNc(5,ln,4,0,"a",5)),2&e&&(a.ekj("sr-only",!n.showNavigationIndicators),a.xp6(1),a.Q6J("ngForOf",n.slides),a.xp6(2),a.Q6J("ngForOf",n.slides),a.xp6(1),a.Q6J("ngIf",n.showNavigationArrows),a.xp6(1),a.Q6J("ngIf",n.showNavigationArrows))},directives:[h.sg,h.tP,h.O5],encapsulation:2,changeDetection:0}),t})();var G=(()=>{return(t=G||(G={})).TIMER="timer",t.ARROW_LEFT="arrowLeft",t.ARROW_RIGHT="arrowRight",t.INDICATOR="indicator",G;var t})();let Xe=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=a.oAB({type:t}),t.\u0275inj=a.cJS({imports:[[h.ez]]}),t})();var v=(()=>{return(t=v||(v={}))[t.Tab=9]="Tab",t[t.Enter=13]="Enter",t[t.Escape=27]="Escape",t[t.Space=32]="Space",t[t.PageUp=33]="PageUp",t[t.PageDown=34]="PageDown",t[t.End=35]="End",t[t.Home=36]="Home",t[t.ArrowLeft=37]="ArrowLeft",t[t.ArrowUp=38]="ArrowUp",t[t.ArrowRight=39]="ArrowRight",t[t.ArrowDown=40]="ArrowDown",v;var t})();const oe=(t,i)=>!!i&&i.some(e=>e.contains(t)),et=(t,i)=>!i||null!=function mi(t,i){return i&&void 0!==t.closest?t.closest(i):null}(t,i),Ui="undefined"!=typeof navigator&&!!navigator.userAgent&&(/iPad|iPhone|iPod/.test(navigator.userAgent)||/Macintosh/.test(navigator.userAgent)&&navigator.maxTouchPoints&&navigator.maxTouchPoints>2||/Android/.test(navigator.userAgent));function Se(t,i,e,n,o,s,r,l){e&&t.runOutsideAngular((t=>Ui?()=>setTimeout(()=>t(),100):t)(()=>{const c=(0,C.R)(i,"keydown").pipe((0,D.R)(o),(0,R.h)(_=>
1_.which===v.Escape),(0,ee.b)(_=>_.preventDefault())),u=(0,C.R)(i,"mousedown").pipe((0,O.U)(_=>{const p=_.target;return 2!==_.button&&!oe(p,r)&&("inside"===e?oe(p,s)&&et(p,l):"outside"===e?!oe(p,s):et(p,l)||!oe(p,s))}),(0,D.R)(o)),g=(0,C.R)(i,"mouseup").pipe(function _e(...t){return i=>{let e;return"function"==typeof t[t.length-1]&&(e=t.pop()),i.lift(new Wt(t,e))}}(u),(0,R.h)(([_,p])=>p),(0,Ue.g)(0),(0,D.R)(o));Ge([c.pipe((0,O.U)(_=>0)),g.pipe((0,O.U)(_=>1))]).subscribe(_=>t.run(()=>n(_)))}))}["a[href]","button:not([disabled])",'input:not([disabled]):not([type="hidden"])',"select:not([disabled])","textarea:not([disabled])","[contenteditable]",'[tabindex]:not([tabindex="-1"])'].join(", ");const Yi=/\s+/,it=new class Wi{getAllStyles(i){return window.getComputedStyle(i)}getStyle(i,e){return this.getAllStyles(i)[e]}isStaticPositioned(i){return"static"===(this.getStyle(i,"position")||"static")}offsetParent(i){let e=i.offsetParent||document.documentElement;for(;e&&e!==document.documentElement&&this.isStaticPositioned(e);)e=e.offsetParent;return e||document.documentElement}position(i,e=!0){let n,o={width:0,height:0,top:0,bottom:0,left:0,right:0};if("fixed"===this.getStyle(i,"position"))n=i.getBoundingClientRect(),n={top:n.top,bottom:n.bottom,left:n.left,right:n.right,height:n.height,width:n.width};else{const s=this.offsetParent(i);n=this.offset(i,!1),s!==document.documentElement&&(o=this.offset(s,!1)),o.top+=s.clientTop,o.left+=s.clientLeft}return n.top-=o.top,n.bottom-=o.top,n.left-=o.left,n.right-=o.left,e&&(n.top=Math.round(n.top),n.bottom=Math.round(n.bottom),n.left=Math.round(n.left),n.right=Math.round(n.right)),n}offset(i,e=!0){const n=i.getBoundingClientRect(),o_top=window.scrollY-document.documentElement.clientTop,o_left=window.scrollX-document.documentElement.clientLeft;let s={height:n.height||i.offsetHeight,width:n.width||i.offsetWidth,top:n.top+o_top,bottom:n.bottom+o_top,left:n.left+o_left,right:n.right+o_left};return e&&(s.height=Math.round(s.height),s.width=Math.round(s.width),s.top=Math.round(s.top),s.bottom=Math.round(s.bottom),s.left=Math.round(s.left),s.right=Math.round(s.right)),s}positionElements(i,e,n,o){const[s="top",r="center"]=n.split("-"),l=o?this.offset(i,!1):this.position(i,!1),d=this.getAllStyles(e),c=parseFloat(d.marginTop),u=parseFloat(d.marginBottom),g=parseFloat(d.marginLeft),_=parseFloat(d.marginRight);let p=0,N=0;switch(s){case"top":p=l.top-(e.offsetHeight+c+u);break;case"bottom":p=l.top+l.height;break;case"left":N=l.left-(e.offsetWidth+g+_);break;case"right":N=l.left+l.width}switch(r){case"top":p=l.top;break;case"bottom":p=l.top+l.height-e.offsetHeight;break;case"left":N=l.left;break;case"right":N=l.left+l.width-e.offsetWidth;break;case"center":"top"===s||"bottom"===s?N=l.left+l.width/2-e.offsetWidth/2:p=l.top+l.height/2-e.offsetHeight/2}e.style.transform=`translate(${Math.round(N)}px, ${Math.round(p)}px)`;const m=e.getBoundingClientRect(),T=document.documentElement,M=window.innerHeight||T.clientHeight,y=window.innerWidth||T.clientWidth;return m.left>=0&&m.top>=0&&m.right<=y&&m.bottom<=M}};function Ce(t,i,e,n,o){let s=Array.isArray(e)?e:e.split(Yi);const r=["top","bottom","left","right","top-left","top-right","bottom-left","bottom-right","left-top","left-bottom","right-top","right-bottom"],l=i.classList,d=
1p=>{const[N,m]=p.split("-"),T=[];return o&&(T.push(`${o}-${N}`),m&&T.push(`${o}-${N}-${m}`),T.forEach(M=>{l.add(M)})),T};o&&r.forEach(p=>{l.remove(`${o}-${p}`)});let c=s.findIndex(p=>"auto"===p);c>=0&&r.forEach(function(p){null==s.find(N=>-1!==N.search("^"+p))&&s.splice(c++,1,p)});const u=i.style;u.position="absolute",u.top="0",u.left="0",u["will-change"]="transform";let g=null,_=!1;for(g of s){let p=d(g);if(it.positionElements(t,i,g,n)){_=!0;break}o&&p.forEach(N=>{l.remove(N)})}return _||(g=s[0],d(g),it.positionElements(t,i,g,n)),g}new Date(1882,10,12),new Date(2174,10,25);class V{constructor(i,e,n){this.nodes=i,this.viewRef=e,this.componentRef=n}}class gt{constructor(i,e,n,o,s,r){this._type=i,this._injector=e,this._viewContainerRef=n,this._renderer=o,this._ngZone=s,this._applicationRef=r,this._windowRef=null,this._contentRef=null}open(i,e,n=!1){this._windowRef||(this._contentRef=this._getContentRef(i,e),this._windowRef=this._viewContainerRef.createComponent(this._type,{index:this._viewContainerRef.length,injector:this._injector,projectableNodes:this._contentRef.nodes}));const{nativeElement:o}=this._windowRef.location,s=this._ngZone.onStable.pipe((0,I.q)(1),(0,zt.zg)(()=>w(this._ngZone,o,({classList:r})=>r.add("show"),{animation:n,runningTransition:"continue"})));return{windowRef:this._windowRef,transition$:s}}close(i=!1){return this._windowRef?w(this._ngZone,this._windowRef.location.nativeElement,({classList:e})=>e.remove("show"),{animation:i,runningTransition:"stop"}).pipe((0,ee.b)(()=>{var e;this._windowRef&&(this._viewContainerRef.remove(this._viewContainerRef.indexOf(this._windowRef.hostView)),this._windowRef=null),(null===(e=this._contentRef)||void 0===e?void 0:e.viewRef)&&(this._applicationRef.detachView(this._contentRef.viewRef),this._contentRef.viewRef.destroy(),this._contentRef=null)})):(0,$.of)(void 0)}_getContentRef(i,e){if(i){if(i instanceof a.Rgc){const n=i.createEmbeddedView(e);return this._applicationRef.attachView(n),new V([n.rootNodes],n)}return new V([[this._renderer.createText(`${i}`)]])}return new V([])}}class Na{constructor(i,e){this.open=i,this.close=e,e||(this.close=i)}isManual(){return"manual"===this.open||"manual"===this.close}}const Da={hover:["mouseenter","mouseleave"],focus:["focusin","focusout"]},wt=t=>t>0?(0,Ue.g)(t):i=>i;let ka=(()=>{class t{constructor(e){this._ngbConfig=e,this.autoClose=!0,this.placement="auto",this.triggers="hover focus",this.disableTooltip=!1,this.openDelay=0,this.closeDelay=0}get animation(){return void 0===this._animation?this._ngbConfig.animation:this._animation}set animation(e){this._animation=e}}return t.\u0275fac=function(e){return new(e||t)(a.LFG(z))},t.\u0275prov=a.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),xa=0,Ba=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=a.Xpm({type:t,selectors:[["ngb-tooltip-window"]],hostAttrs:["role","tooltip"],hostVars:5,hostBindings:function(e,n){2&e&&(
1a.Ikx("id",n.id),a.Tol("tooltip"+(n.tooltipClass?" "+n.tooltipClass:"")),a.ekj("fade",n.animation))},inputs:{animation:"animation",id:"id",tooltipClass:"tooltipClass"},ngContentSelectors:je,decls:3,vars:0,consts:[[1,"arrow"],[1,"tooltip-inner"]],template:function(e,n){1&e&&(a.F$t(),a._UZ(0,"div",0),a.TgZ(1,"div",1),a.Hsn(2),a.qZA())},styles:["ngb-tooltip-window{pointer-events:none}ngb-tooltip-window .tooltip-inner{pointer-events:auto}ngb-tooltip-window.bs-tooltip-top .arrow,ngb-tooltip-window.bs-tooltip-bottom .arrow{left:calc(50% - 0.4rem)}ngb-tooltip-window.bs-tooltip-top-left .arrow,ngb-tooltip-window.bs-tooltip-bottom-left .arrow{left:1em}ngb-tooltip-window.bs-tooltip-top-right .arrow,ngb-tooltip-window.bs-tooltip-bottom-right .arrow{left:auto;right:.8rem}ngb-tooltip-window.bs-tooltip-left .arrow,ngb-tooltip-window.bs-tooltip-right .arrow{top:calc(50% - 0.4rem)}ngb-tooltip-window.bs-tooltip-left-top .arrow,ngb-tooltip-window.bs-tooltip-right-top .arrow{top:.4rem}ngb-tooltip-window.bs-tooltip-left-bottom .arrow,ngb-tooltip-window.bs-tooltip-right-bottom .arrow{top:auto;bottom:.4rem}\n"],encapsulation:2,changeDetection:0}),t})(),Pa=(()=>{class t{constructor(e,n,o,s,r,l,d,c,u){this._elementRef=e,this._renderer=n,this._ngZone=l,this._document=d,this._changeDetector=c,this.shown=new a.vpe,this.hidden=new a.vpe,this._ngbTooltipWindowId="ngb-tooltip-"+xa++,this._windowRef=null,this.animation=r.animation,this.autoClose=r.autoClose,this.placement=r.placement,this.triggers=r.triggers,this.container=r.container,this.disableTooltip=r.disableTooltip,this.tooltipClass=r.tooltipClass,this.openDelay=r.openDelay,this.closeDelay=r.closeDelay,this._popupService=new gt(Ba,o,s,n,this._ngZone,u),this._zoneSubscription=l.onStable.subscribe(()=>{this._windowRef&&Ce(this._elementRef.nativeElement,this._windowRef.location.nativeElement,this.placement,"body"===this.container,"bs-tooltip")})}set ngbTooltip(e){this._ngbTooltip=e,!e&&this._windowRef&&this.close()}get ngbTooltip(){return this._ngbTooltip}open(e){if(!this._windowRef&&this._ngbTooltip&&!this.disableTooltip){const{windowRef:n,transition$:o}=this._popupService.open(this._ngbTooltip,e,this.animation);this._windowRef=n,this._windowRef.instance.animation=this.animation,this._windowRef.instance.tooltipClass=this.tooltipClass,this._windowRef.instance.id=this._ngbTooltipWindowId,this._renderer.setAttribute(this._elementRef.nativeElement,"aria-describedby",this._ngbTooltipWindowId),"body"===this.container&&this._document.querySelector(this.container).appendChild(this._windowRef.location.nativeElement),this._windowRef.changeDetectorRef.detectChanges(),this._windowRef.changeDetectorRef.markForCheck(),Se(this._ngZone,this._document,this.autoClose,()=>this.close(),this.hidden,[this._windowRef.location.nativeElement]),o.subscribe(()=>this.shown.emit())}}close(){null!=this._windowRef&&(this._renderer.removeAttribute(this._elementRef.nativeElement,"aria-describedby"),this._popupService.close(this.animation).subscribe(()=>{this._windowRef=null,this.hidden.emit(),this._changeDetector.markForCheck()}))}toggle(){this._windowRef?this.close():this.open()}isOpen(){return null!=this._windowRef}ngOnInit(){this._unregisterListenersFn=function Sa(t,i,e,n,o,s,r=0,l=0){const d=function ya(t,i=Da){const e=(t||"").trim();if(0===e.length)return[];const n=e.split(/\s+/).map(s=>s.split(":")).map(s=>{let r=i[s[0]]||s;return new Na(r[0],r[1])}),o=n.filter(s=>s.isManual());if(o.length>1)throw"Triggers parse error: only one manual trigger is allowed";if(1===o.length&&n.length>1)throw"Triggers parse error: manual trigger can't be mixed with other triggers";return n}(e);if(1===d.length&&d[0].isManual())return()=>{};const c=function Ta(t,i,e,n){return new He.y(o=>{const s=[],r=()=>o.next(!0),l=()=>o.next(!1),d=()=>o.next(!n());return e.forEach(c=>{c.open===c.close?s.push(t.listen(i,c.open,d)):s.push(t.listen(i,c.open,r),t.listen(i,c.close,l))}),()=>{s.forEach(c=>c())}})}(t,i,d,n).pipe(function wa(t,i,e){return n=>{let o=null;const s=n.pipe((0,O.U)(d=>({open:d})),(0,R.h)(d=>{const c=e();return c===d.open||o&&o.open!==c?(o&&o.open!==d.open&&(o=null),!1):(o=d,!0)}),(0,Zt.B)()),r=s.pipe((0,R.h)(d=>d.open),wt(t)),l=s.pipe((0,R.h)(d=>!d.open),wt(i));return(0,Ut.T)(r,l).pipe((0,R.h)(d=>d===o&&(o=null,d.open!==e())),(0,O.U)(d=>d.open))}}(r,l,n)).subscribe(u=>u?o():s());return()=>c.unsubscribe()}(this._renderer,this._elementRef.nativeElement,this.triggers,this.isOpen.bind(this),this.open.bind(this),this.close.bind(this),+this.openDelay,+this.closeDelay)}ngOnChanges({tooltipClass:e}){e&&this.isOpen()&&(this._windowRef.instance.tooltipClass=e.currentValue)}ngOnDestroy(){this.close(),this._unregisterListenersFn&&this._unregisterListenersFn(),this._zoneSubscription.unsubscribe()}}return t.\u0275fac=function(e){return new(e||t)(a.Y36(a.SBq),a.Y36(a.Qsj),a.Y36(a.zs3),a.Y36(a.s_b),a.Y36(ka),a.Y36(a.R0b),a.Y36(h.K0),a.Y36(a.s
1BO),a.Y36(a.z2F))},t.\u0275dir=a.lG2({type:t,selectors:[["","ngbTooltip",""]],inputs:{animation:"animation",autoClose:"autoClose",placement:"placement",triggers:"triggers",container:"container",disableTooltip:"disableTooltip",tooltipClass:"tooltipClass",openDelay:"openDelay",closeDelay:"closeDelay",ngbTooltip:"ngbTooltip"},outputs:{shown:"shown",hidden:"hidden"},exportAs:["ngbTooltip"],features:[a.TTD]}),t})(),St=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=a.oAB({type:t}),t.\u0275inj=a.cJS({}),t})(),Fa=(()=>{class t{constructor(){this.highlightClass="ngb-highlight",this.accentSensitive=!0}ngOnChanges(e){!this.accentSensitive&&!String.prototype.normalize&&(console.warn("The `accentSensitive` input in `ngb-highlight` cannot be set to `false` in a browser that does not implement the `String.normalize` function. You will have to include a polyfill in your application to use this feature in the current browser."),this.accentSensitive=!0);const n=W(this.result),o=Array.isArray(this.term)?this.term:[this.term],s=c=>this.accentSensitive?c:We(c),r=o.map(c=>function fi(t){return t.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")}(s(W(c)))).filter(c=>c),l=this.accentSensitive?n:We(n),d=r.length?l.split(new RegExp(`(${r.join("|")})`,"gmi")):[n];if(this.accentSensitive)this.parts=d;else{let c=0;this.parts=d.map(u=>n.substring(c,c+=u.length))}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=a.Xpm({type:t,selectors:[["ngb-highlight"]],inputs:{highlightClass:"highlightClass",result:"result",term:"term",accentSensitive:"accentSensitive"},features:[a.TTD],decls:1,vars:1,consts:[["ngFor","",3,"ngForOf"],[3,"class",4,"ngIf","ngIfElse"],["even",""]],template:function(e,n){1&e&&a.YNc(0,di,3,2,"ng-template",0),2&e&&a.Q6J("ngForOf",n.parts)},directives:[h.sg,h.O5],styles:[".ngb-highlight{font-weight:700}\n"],encapsulation:2,changeDetection:0}),t})(),Ga=(()=>{class t{constructor(){this.activeIdx=0,this.focusFirst=!0,this.formatter=W,this.selectEvent=new a.vpe,this.activeChangeEvent=ne
1w a.vpe}hasActive(){return this.activeIdx>-1&&this.activeIdx<this.results.length}getActive(){return this.results[this.activeIdx]}markActive(e){this.activeIdx=e,this._activeChanged()}next(){this.activeIdx===this.results.length-1?this.activeIdx=this.focusFirst?(this.activeIdx+1)%this.results.length:-1:this.activeIdx++,this._activeChanged()}prev(){this.activeIdx<0?this.activeIdx=this.results.length-1:0===this.activeIdx?this.activeIdx=this.focusFirst?this.results.length-1:-1:this.activeIdx--,this._activeChanged()}resetActive(){this.activeIdx=this.focusFirst?0:-1,this._activeChanged()}select(e){this.selectEvent.emit(e)}ngOnInit(){this.resetActive()}_activeChanged(){this.activeChangeEvent.emit(this.activeIdx>=0?this.id+"-"+this.activeIdx:void 0)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=a.Xpm({type:t,selectors:[["ngb-typeahead-window"]],hostAttrs:["role","listbox"],hostVars:3,hostBindings:function(e,n){1&e&&a.NdJ("mousedown",function(s){return s.preventDefault()}),2&e&&(a.Ikx("id",n.id),a.Tol("dropdown-menu show"+(n.popupClass?" "+n.popupClass:"")))},inputs:{id:"id",focusFirst:"focusFirst",results:"results",term:"term",formatter:"formatter",resultTemplate:"resultTemplate",popupClass:"popupClass"},outputs:{selectEvent:"select",activeChangeEvent:"activeChange"},exportAs:["ngbTypeaheadWindow"],decls:3,vars:1,consts:[["rt",""],["ngFor","",3,"ngForOf"],[3,"result","term"],["type","button","role","option",1,"dropdown-item",3,"id","mouseenter","click"],[3,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(e,n){1&e&&(a.YNc(0,ci,1,2,"ng-template",null,0,a.W1O),a.YNc(2,_i,2,9,"ng-template",1)),2&e&&(a.xp6(2),a.Q6J("ngForOf",n.results))},directives:[Fa,h.sg,h.tP],encapsulation:2}),t})(),Ha=(()=>{class t{constructor(){this.editable=!0,this.focusFirst=!0,this.showHint=!1,this.placement=["bottom-left","bottom-right","top-left","top-right"]}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=a.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();const La=new a.OlP("live announcer delay",{providedIn:"root",factory:function Va(){return 100}});function Ct(t,i=!1){let e=t.body.querySelector("#ngb-live");return null==e&&i&&(e=t.createElement("div"),e.setAttribute("id","ngb-live"),e.setAttribute("aria-live","polite"),e.setAttribute("aria-atomic","true"),e.classList.add("sr-only"),t.body.appendChild(e)),e}let Ua=(()=>{class t{constructor(e,n){this._document=e,this._delay=n}ngOnDestroy(){const e=Ct(this._document);e&&e.parentElement.removeChild(e)}say(e){const n=Ct(this._document,!0),o=this._delay;if(null!=n){n.textContent="";const s=()=>n.textContent=e;null===o?s():setTimeout(s,o)}}}return t.\u0275fac=function(e){return new(e||t)(a.LFG(h.K0),a.LFG(La))},t.\u0275prov=a.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),ja=0,$a=(()=>{class t{constructor(e,n,o,s,r,l,d,c,u,g,_){this._elementRef=e,this._renderer=o,this._live=d,this._document=c,this._ngZone=u,this._changeDetector=g,this._subscription=null,this._closed$=new S.xQ,this._inputValueBackup=null,this._windowRef=null,this.autocomplete="off",this.placement="bottom-left",this.selectItem=new a.vpe,this.activeDescendant=null,this.popupId="ngb-typeahead-"+ja++,this._onTouched=()=>{},this._onChange=p=>{},this.container=r.container,this.editable=r.editable,this.focusFirst=r.focusFirst,this.showHint=r.showHint,this.placement=r.placement,this._valueChanges=(0,C.R)(e.nativeElement,"input").pipe((0,O.U)(p=>p.target.value)),this._resubscribeTypeahead=new x.X(null),this._popupService=new gt(Ga,s,n,o,this._ngZone,_),this._zoneSubscription=l.onStable.subscribe(()=>{this.isPopupOpen()&&Ce(this._elementRef.nativeElement,this._windowRef.location.nativeElement,this.placement,"body"===this.container)})}ngOnInit(){this._subscribeToUserInput()}ngOnChanges({ngbTypeahead:e}){e&&!e.firstChange&&(this._unsubscribeFromUserInput(),this._subscribeToUserInput())}ngOnDestroy(){this._closePopup(),this._unsubscribeFromUserInput(),this._zoneSubscription.unsubscribe()}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}writeValue(e){this._writeInputValue(this._formatItemForInput(e)),this.showHint&&(this._inputValueBackup=e)}setDisabledState(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)}dismissPopup(){this.isPopupOpen()&&(this._resubscribeTypeahead.next(null),this._closePopup(),this.showHint&&null!==this._inputValueBackup&&this._writeInputValue(this._inputValueBackup),this._changeDetector.markForCheck())}isPopupOpen(){return null!=this._windowRef}handleBlur(){this._resubscribeTypeahead.next(null),this._onTouched()}handleKeyDown(e){if(this.isPopupOpen())switch(e.which){case v.ArrowDown:e.preventDefault(),this._windowRef.instance.next(),this._showHint();break;case v.ArrowUp:e.preventDefault(),this._windowRef.instance.prev(),this._showHint();break;case v.Enter:case v.Tab:{const n=this._windowRef.instance.getActive();(function B(t){return null!=t})(n)&&(e.preventDefault(),e.stopPropagation(),this._selectResult(n)),this._closePopup();break}}}_openPopup(){if(!this.isPopupOpen()){this._inputValueBackup=this._elementRef.nativeElement.value;const{windowRef:e}=this._popupService.open();this._windowRef=e,this._windowRef.instance.id=this.popupId,this._windowRef.instance.selectEvent.subscribe(n=>this._selectResultClosePopup(n)),this._windowRef.instance.activeChangeEvent.subscribe(n=>this.activeDescendant=n),this._windowRef.instance.popupClass=this.popupClass,"body"===this.container&&this._document.querySelector(this.container).appendChild(this._windowRef.location.nativeElement),this._changeDetector.markForCheck(),Se(this._ngZone,this._document,"outside",()=>this.dismissPopup(),this._closed$,[this._elementRef.nativeElement,this._windowRef.location.nativeElement])}}_closePopup(){this._popupService.close().subscribe(()=>{this._closed$.next(),this._windowRef=null,this.activeDescendant=null})}_selectResult(e){let n=!1;this.selectItem.emit({item:e,preventDefault:()=>{n=!0}}),this._resubscribeTypeahead.next(null),n||(this.writeValue(e),this._onChange(e))}_selectResultClosePopup(e){this._selectResult(e),this._closePopup()}_showHint(){var e;if(this.showHint&&(null===(e=this._windowRef)||void 0===e?void 0:e.instance.hasActive())&&null!=this._inputValueBackup){const n=this._inputValueBackup.toLowerCase(),o=this._formatItemForInput(this._windowRef.instance.getActive());n===o.substr(0,this._inputValueBackup.length).toLowerCase()?(this._writeInputValue(this._inputValueBackup+o.substr(this._inputValueBackup.length)),this._elementRef.nativeElement.setSelectionRange.apply(this._elementRef.nativeElement,[this._inputValueBackup.length,o.length])):this._writeInputValue(o)}}_formatItemForInput(e){return null!=e&&this.inputFormatter?this.inputFormatter(e):W(e)}_writeInputValue(e){this._renderer.setProperty(this._elementRef.nativeElement,"value",W(e))}_subscribeToUserInput(){const e=this._valueChanges.pipe((0,ee.b)(n=>{this._inputValueBackup=this.showHint?n:null,this._onChange(this.editable?n:void 0)}),this.ngbTypeahead?this.ngbTypeahead:()=>(0,$.of)([]));this._subscription=this._resubscribeTypeahead.pipe((0,fe.w)(()=>e)).subscribe(n=>{n&&0!==n.length?(this._openPopup(),this._windowRef.instance.focusFirst=this.focusFirst,this._windowRef.instance.results=n,this._windowRef.instance.term=this._elementRef.nativeElement.value,this.resultFormatter&&(this._windowRef.instance.formatter=this.resultFormatter),this.resultTemplate&&(this._windowRef.instance.resultTemplate=this.resultTemplate),this._windowRef.instance.resetActive(),this._windowRef.changeDetectorRef.detectChanges(),this._showHint()):this._closePopup();const o=n?n.length:0;this._live.say(0===o?"No results available":`${o} result${1===o?"":"s"} available`)})}_unsubscribeFromUserInput(){this._subscription&&this._subscription.unsubscribe(),this._subscription=null}}return t.\u0275fac=function(e){return new(e||t)(a.Y36(a.SBq),a.Y36(a.s_b),a.Y36(a.Qsj),a.Y36(a.zs3),a.Y36(Ha),a.Y36(a.R0b),a.Y36(Ua),a.Y36(h.K0),a.Y36(a.R0b),a.Y36(a.s
1BO),a.Y36(a.z2F))},t.\u0275dir=a.lG2({type:t,selectors:[["input","ngbTypeahead",""]],hostAttrs:["autocapitalize","off","autocorrect","off","role","combobox","aria-multiline","false"],hostVars:7,hostBindings:function(e,n){1&e&&a.NdJ("blur",function(){return n.handleBlur()})("keydown",function(s){return n.handleKeyDown(s)}),2&e&&(a.Ikx("autocomplete",n.autocomplete),a.uIk("aria-autocomplete",n.showHint?"both":"list")("aria-activedescendant",n.activeDescendant)("aria-owns",n.isPopupOpen()?n.popupId:null)("aria-expanded",n.isPopupOpen()),a.ekj("open",n.isPopupOpen()))},inputs:{autocomplete:"autocomplete",container:"container",editable:"editable",focusFirst:"focusFirst",inputFormatter:"inputFormatter",ngbTypeahead:"ngbTypeahead",resultFormatter:"resultFormatter",resultTemplate:"resultTemplate",showHint:"showHint",placement:"placement",popupClass:"popupClass"},outputs:{selectItem:"selectItem"},exportAs:["ngbTypeahead"],features:[a._Bn([{provide:te.JU,useExisting:(0,a.Gpc)(()=>t),multi:!0}]),a.TTD]}),t})(),Mt=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=a.oAB({type:t}),t.\u0275inj=a.cJS({imports:[[h.ez]]}),t})()}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.