ng-bootstrap.umd.min.js 165 KB

12
  1. !function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("@angular/core"),require("@angular/common"),require("@angular/forms"),require("rxjs"),require("rxjs/operators")):"function"==typeof define&&define.amd?define("ngb",["exports","@angular/core","@angular/common","@angular/forms","rxjs","rxjs/operators"],e):e((t=t||self).ngb={},t.ng.core,t.ng.common,t.ng.forms,t.rxjs,t.rxjs.operators)}(this,function(t,e,n,o,i,r){"use strict";var a=function(t,e){return(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)};function s(t,e){function n(){this.constructor=t}a(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}var l=function(){return(l=Object.assign||function(t){for(var e,n=1,o=arguments.length;n<o;n++)for(var i in e=arguments[n])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t}).apply(this,arguments)};function p(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var o,i,r=n.call(t),a=[];try{for(;(void 0===e||e-- >0)&&!(o=r.next()).done;)a.push(o.value)}catch(t){i={error:t}}finally{try{o&&!o.done&&(n=r.return)&&n.call(r)}finally{if(i)throw i.error}}return a}function c(t){return parseInt(""+t,10)}function u(t){return null!=t?""+t:""}function d(t,e,n){return void 0===n&&(n=0),Math.max(Math.min(t,e),n)}function h(t){return"string"==typeof t}function f(t){return!isNaN(c(t))}function g(t){return"number"==typeof t&&isFinite(t)&&Math.floor(t)===t}function m(t){return null!=t}function y(t){return f(t)?("0"+t).slice(-2):""}function b(t,e){return t&&t.className&&t.className.split&&t.className.split(/\s+/).indexOf(e)>=0}"undefined"==typeof Element||Element.prototype.closest||(Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector),Element.prototype.closest=function(t){var e=this;if(!document.documentElement.contains(e))return null;do{if(e.matches(t))return e;e=e.parentElement||e.parentNode}while(null!==e&&1===e.nodeType);return null});var v=function(){function t(){this.closeOthers=!1}return t.decorators=[{type:e.Injectable,args:[{providedIn:"root"}]}],t.ngInjectableDef=e.ɵɵdefineInjectable({factory:function(){return new t},token:t,providedIn:"root"}),t}(),_=0,w=function(){function t(t){this.templateRef=t}return t.decorators=[{type:e.Directive,args:[{selector:"ng-template[ngbPanelHeader]"}]}],t.ctorParameters=function(){return[{type:e.TemplateRef}]},t}(),D=function(){function t(t){this.templateRef=t}return t.decorators=[{type:e.Directive,args:[{selector:"ng-template[ngbPanelTitle]"}]}],t.ctorParameters=function(){return[{type:e.TemplateRef}]},t}(),I=function(){function t(t){this.templateRef=t}return t.decorators=[{type:e.Directive,args:[{selector:"ng-template[ngbPanelContent]"}]}],t.ctorParameters=function(){return[{type:e.TemplateRef}]},t}(),C=function(){function t(){this.disabled=!1,this.id="ngb-panel-"+_++,this.isOpen=!1}return t.prototype.ngAfterContentChecked=function(){this.titleTpl=this.titleTpls.first,this.headerTpl=this.headerTpls.first,this.contentTpl=this.contentTpls.first},t.decorators=[{type:e.Directive,args:[{selector:"ngb-panel"}]}],t.propDecorators={disabled:[{type:e.Input}],id:[{type:e.Input}],title:[{type:e.Input}],type:[{type:e.Input}],titleTpls:[{type:e.ContentChildren,args:[D,{descendants:!1}]}],headerTpls:[{type:e.ContentChildren,args:[w,{descendants:!1}]}],contentTpls:[{type:e.ContentChildren,args:[I,{descendants:!1}]}]},t}(),k=function(){function t(t){this.activeIds=[],this.destroyOnHide=!0,this.panelChange=new e.EventEmitter,this.type=t.type,this.closeOtherPanels=t.closeOthers}return t.prototype.isExpanded=function(t){return this.activeIds.indexOf(t)>-1},t.prototype.expand=function(t){this._changeOpenState(this._findPanelById(t),!0)},t.prototype.expandAll=function(){var t=this;this.closeOtherPanels?0===this.activeIds.length&&this.panels.length&&this._changeOpenState(this.panels.first,!0):this.panels.forEach(function(e){return t._changeOpenState(e,!0)})},t.prototype.collapse=function(t){this._changeOpenState(this._findPanelById(t),!1)},t.prototype.collapseAll=function(){var t=this;this.panels.forEach(function(e){t._changeOpenState(e,!1)})},t.prototype.toggle=function(t){var e=this._findPanelById(t);e&&this._changeOpenState(e,!e.isOpen)},t.prototype.ngAfterContentChecked=function(){var t=this;h(this.activeIds)&&(this.activeIds=this.activeIds.split(/\s*,\s*/)),this.panels.forEach(function(e){return e.isOpen=!e.disabled&&t.activeIds.indexOf(e.id)>-1}),this.activeIds.length>1&&this.closeOtherPanels&&(this._closeOthers(this.activeIds[0]),this._updateActiveIds())},t.prototype._changeOpenState=function(t,e){if(t&&!t.disabled&&t.isOpen!==e){var n=!1;this.panelChange.emit({panelId:t.id,nextState:e,preventDefault:function(){n=!0}}),n||(t.isOpen=e,e&&this.closeOtherPanels&&this._closeOthers(t.id),this._updateActiveIds())}},t.prototype._closeOthers=function(t){this.panels.forEach(function(e){e.id!==t&&(e.isOpen=!1)})},t.prototype._findPanelById=function(t){return this.panels.find(function(e){return e.id===t})},t.prototype._updateActiveIds=function(){this.activeIds=this.panels.filter(function(t){return t.isOpen&&!t.disabled}).map(function(t){return t.id})},t.decorators=[{type:e.Component,args:[{selector:"ngb-accordion",exportAs:"ngbAccordion",encapsulation:e.ViewEncapsulation.None,host:{class:"accordion",role:"tablist","[attr.aria-multiselectable]":"!closeOtherPanels"},template:'\n <ng-template #t ngbPanelHeader let-panel>\n <button class="btn btn-link" [ngbPanelToggle]="panel">\n {{panel.title}}<ng-template [ngTemplateOutlet]="panel.titleTpl?.templateRef"></ng-template>\n </button>\n </ng-template>\n <ng-template ngFor let-panel [ngForOf]="panels">\n <div class="card">\n <div role="tab" id="{{panel.id}}-header" [class]="\'card-header \' + (panel.type ? \'bg-\'+panel.type: type ? \'bg-\'+type : \'\')">\n <ng-template [ngTemplateOutlet]="panel.headerTpl?.templateRef || t"\n [ngTemplateOutletContext]="{$implicit: panel, opened: panel.isOpen}"></ng-template>\n </div>\n <div id="{{panel.id}}" role="tabpanel" [attr.aria-labelledby]="panel.id + \'-header\'"\n class="collapse" [class.show]="panel.isOpen" *ngIf="!destroyOnHide || panel.isOpen">\n <div class="card-body">\n <ng-template [ngTemplateOutlet]="panel.contentTpl?.templateRef"></ng-template>\n </div>\n </div>\n </div>\n </ng-template>\n '}]}],t.ctorParameters=function(){return[{type:v}]},t.propDecorators={panels:[{type:e.ContentChildren,args:[C]}],activeIds:[{type:e.Input}],closeOtherPanels:[{type:e.Input,args:["closeOthers"]}],destroyOnHide:[{type:e.Input}],type:[{type:e.Input}],panelChange:[{type:e.Output}]},t}(),x=function(){function t(t,e){this.accordion=t,this.panel=e}return Object.defineProperty(t.prototype,"ngbPanelToggle",{set:function(t){t&&(this.panel=t)},enumerable:!0,configurable:!0}),t.decorators=[{type:e.Directive,args:[{selector:"button[ngbPanelToggle]",host:{type:"button","[disabled]":"panel.disabled","[class.collapsed]":"!panel.isOpen","[attr.aria-expanded]":"panel.isOpen","[attr.aria-controls]":"panel.id","(click)":"accordion.toggle(panel.id)"}}]}],t.ctorParameters=function(){return[{type:k},{type:C,decorators:[{type:e.Optional},{type:e.Host}]}]},t.propDecorators={ngbPanelToggle:[{type:e.Input}]},t}(),R=[k,C,D,I,w,x],E=function(){function t(){}return t.decorators=[{type:e.NgModule,args:[{declarations:R,exports:R,imports:[n.CommonModule]}]}],t}(),S=function(){function t(){this.dismissible=!0,this.type="warning"}return t.decorators=[{type:e.Injectable,args:[{providedIn:"root"}]}],t.ngInjectableDef=e.ɵɵdefineInjectable({factory:function(){return new t},token:t,providedIn:"root"}),t}(),N=function(){function t(t,n,o){this._renderer=n,this._element=o,this.close=new e.EventEmitter,this.dismissible=t.dismissible,this.type=t.type}return t.prototype.closeHandler=function(){this.close.emit(null)},t.prototype.ngOnChanges=function(t){var e=t.type;e&&!e.firstChange&&(this._renderer.removeClass(this._element.nativeElement,"alert-"+e.previousValue),this._renderer.addClass(this._element.nativeElement,"alert-"+e.currentValue))},t.prototype.ngOnInit=function(){this._renderer.addClass(this._element.nativeElement,"alert-"+this.type)},t.decorators=[{type:e.Component,args:[{selector:"ngb-alert",changeDetection:e.ChangeDetectionStrategy.OnPush,encapsulation:e.ViewEncapsulation.None,host:{role:"alert",class:"alert","[class.alert-dismissible]":"dismissible"},template:'\n <ng-content></ng-content>\n <button *ngIf="dismissible" type="button" class="close" aria-label="Close" i18n-aria-label="@@ngb.alert.close"\n (click)="closeHandler()">\n <span aria-hidden="true">&times;</span>\n </button>\n ',styles:["ngb-alert{display:block}"]}]}],t.ctorParameters=function(){return[{type:S},{type:e.Renderer2},{type:e.ElementRef}]},t.propDecorators={dismissible:[{type:e.Input}],type:[{type:e.Input}],close:[{type:e.Output}]},t}(),T=function(){function t(){}return t.decorators=[{type:e.NgModule,args:[{declarations:[N],exports:[N],imports:[n.CommonModule],entryComponents:[N]}]}],t}(),O=function(){function t(){}return t.decorators=[{type:e.Directive,args:[{selector:"[ngbButtonLabel]",host:{"[class.btn]":"true","[class.active]":"active","[class.disabled]":"disabled","[class.focus]":"focused"}}]}],t}(),M={provide:o.NG_VALUE_ACCESSOR,useExisting:e.forwardRef(function(){return P}),multi:!0},P=function(){function t(t,e){this._label=t,this._cd=e,this.disabled=!1,this.valueChecked=!0,this.valueUnChecked=!1,this.onChange=function(t){},this.onTouched=function(){}}return Object.defineProperty(t.prototype,"focused",{set:function(t){this._label.focused=t,t||this.onTouched()},enumerable:!0,configurable:!0}),t.prototype.onInputChange=function(t){var e=t.target.checked?this.valueChecked:this.valueUnChecked;this.onChange(e),this.onTouched(),this.writeValue(e)},t.prototype.registerOnChange=function(t){this.onChange=t},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.setDisabledState=function(t){this.disabled=t,this._label.disabled=t},t.prototype.writeValue=function(t){this.checked=t===this.valueChecked,this._label.active=this.checked,this._cd.markForCheck()},t.decorators=[{type:e.Directive,args:[{selector:"[ngbButton][type=checkbox]",host:{"[checked]":"checked","[disabled]":"disabled","(change)":"onInputChange($event)","(focus)":"focused = true","(blur)":"focused = false"},providers:[M]}]}],t.ctorParameters=function(){return[{type:O},{type:e.ChangeDetectorRef}]},t.propDecorators={disabled:[{type:e.Input}],valueChecked:[{type:e.Input}],valueUnChecked:[{type:e.Input}]},t}(),j={provide:o.NG_VALUE_ACCESSOR,useExisting:e.forwardRef(function(){return F}),multi:!0},A=0,F=function(){function t(){this._radios=new Set,this._value=null,this.name="ngb-radio-"+A++,this.onChange=function(t){},this.onTouched=function(){}}return Object.defineProperty(t.prototype,"disabled",{get:function(){return this._disabled},set:function(t){this.setDisabledState(t)},enumerable:!0,configurable:!0}),t.prototype.onRadioChange=function(t){this.writeValue(t.value),this.onChange(t.value)},t.prototype.onRadioValueUpdate=function(){this._updateRadiosValue()},t.prototype.register=function(t){this._radios.add(t)},t.prototype.registerOnChange=function(t){this.onChange=t},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.setDisabledState=function(t){this._disabled=t,this._updateRadiosDisabled()},t.prototype.unregister=function(t){this._radios.delete(t)},t.prototype.writeValue=function(t){this._value=t,this._updateRadiosValue()},t.prototype._updateRadiosValue=function(){var t=this;this._radios.forEach(function(e){return e.updateValue(t._value)})},t.prototype._updateRadiosDisabled=function(){this._radios.forEach(function(t){return t.updateDisabled()})},t.decorators=[{type:e.Directive,args:[{selector:"[ngbRadioGroup]",host:{role:"radiogroup"},providers:[j]}]}],t.propDecorators={name:[{type:e.Input}]},t}(),V=function(){function t(t,e,n,o,i){this._group=t,this._label=e,this._renderer=n,this._element=o,this._cd=i,this._value=null,this._group.register(this),this.updateDisabled()}return Object.defineProperty(t.prototype,"value",{get:function(){return this._value},set:function(t){this._value=t;var e=t?t.toString():"";this._renderer.setProperty(this._element.nativeElement,"value",e),this._group.onRadioValueUpdate()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"disabled",{get:function(){return this._group.disabled||this._disabled},set:function(t){this._disabled=!1!==t,this.updateDisabled()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"focused",{set:function(t){this._label&&(this._label.focused=t),t||this._group.onTouched()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"checked",{get:function(){return this._checked},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"nameAttr",{get:function(){return this.name||this._group.name},enumerable:!0,configurable:!0}),t.prototype.ngOnDestroy=function(){this._group.unregister(this)},t.prototype.onChange=function(){this._group.onRadioChange(this)},t.prototype.updateValue=function(t){this.value!==t&&this._cd.markForCheck(),this._checked=this.value===t,this._label.active=this._checked},t.prototype.updateDisabled=function(){this._label.disabled=this.disabled},t.decorators=[{type:e.Directive,args:[{selector:"[ngbButton][type=radio]",host:{"[checked]":"checked","[disabled]":"disabled","[name]":"nameAttr","(change)":"onChange()","(focus)":"focused = true","(blur)":"focused = false"}}]}],t.ctorParameters=function(){return[{type:F},{type:O},{type:e.Renderer2},{type:e.ElementRef},{type:e.ChangeDetectorRef}]},t.propDecorators={name:[{type:e.Input}],value:[{type:e.Input,args:["value"]}],disabled:[{type:e.Input,args:["disabled"]}]},t}(),H=[O,P,F,V],L=function(){function t(){}return t.decorators=[{type:e.NgModule,args:[{declarations:H,exports:H}]}],t}(),W=function(){function t(){this.interval=5e3,this.wrap=!0,this.keyboard=!0,this.pauseOnHover=!0,this.showNavigationArrows=!0,this.showNavigationIndicators=!0}return t.decorators=[{type:e.Injectable,args:[{providedIn:"root"}]}],t.ngInjectableDef=e.ɵɵdefineInjectable({factory:function(){return new t},token:t,providedIn:"root"}),t}(),$=0,z=function(){function t(t){this.tplRef=t,this.id="ngb-slide-"+$++}return t.decorators=[{type:e.Directive,args:[{selector:"ng-template[ngbSlide]"}]}],t.ctorParameters=function(){return[{type:e.TemplateRef}]},t.propDecorators={id:[{type:e.Input}]},t}(),B=function(){function t(t,n,o,r){this._platformId=n,this._ngZone=o,this._cd=r,this.NgbSlideEventSource=q,this._destroy$=new i.Subject,this._interval$=new i.BehaviorSubject(0),this._mouseHover$=new i.BehaviorSubject(!1),this._pauseOnHover$=new i.BehaviorSubject(!1),this._pause$=new i.BehaviorSubject(!1),this._wrap$=new i.BehaviorSubject(!1),this.slide=new e.EventEmitter,this.interval=t.interval,this.wrap=t.wrap,this.keyboard=t.keyboard,this.pauseOnHover=t.pauseOnHover,this.showNavigationArrows=t.showNavigationArrows,this.showNavigationIndicators=t.showNavigationIndicators}return Object.defineProperty(t.prototype,"interval",{get:function(){return this._interval$.value},set:function(t){this._interval$.next(t)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"wrap",{get:function(){return this._wrap$.value},set:function(t){this._wrap$.next(t)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"pauseOnHover",{get:function(){return this._pauseOnHover$.value},set:function(t){this._pauseOnHover$.next(t)},enumerable:!0,configurable:!0}),t.prototype.mouseEnter=function(){this._mouseHover$.next(!0)},t.prototype.mouseLeave=function(){this._mouseHover$.next(!1)},t.prototype.ngAfterContentInit=function(){var t=this;n.isPlatformBrowser(this._platformId)&&this._ngZone.runOutsideAngular(function(){var e=i.combineLatest(t.slide.pipe(r.map(function(t){return t.current}),r.startWith(t.activeId)),t._wrap$,t.slides.changes.pipe(r.startWith(null))).pipe(r.map(function(e){var n=p(e,2),o=n[0],i=n[1],r=t.slides.toArray(),a=t._getSlideIdxById(o);return i?r.length>1:a<r.length-1}),r.distinctUntilChanged());i.combineLatest(t._pause$,t._pauseOnHover$,t._mouseHover$,t._interval$,e).pipe(r.map(function(t){var e=p(t,5),n=e[0],o=e[1],i=e[2],r=e[3],a=e[4];return n||o&&i||!a?0:r}),r.distinctUntilChanged(),r.switchMap(function(t){return t>0?i.timer(t,t):i.NEVER}),r.takeUntil(t._destroy$)).subscribe(function(){return t._ngZone.run(function(){return t.next(q.TIMER)})})}),this.slides.changes.pipe(r.takeUntil(this._destroy$)).subscribe(function(){return t._cd.markForCheck()})},t.prototype.ngAfterContentChecked=function(){var t=this._getSlideById(this.activeId);this.activeId=t?t.id:this.slides.length?this.slides.first.id:null},t.prototype.ngOnDestroy=function(){this._destroy$.next()},t.prototype.select=function(t,e){this._cycleToSelected(t,this._getSlideEventDirection(this.activeId,t),e)},t.prototype.prev=function(t){this._cycleToSelected(this._getPrevSlide(this.activeId),U.RIGHT,t)},t.prototype.next=function(t){this._cycleToSelected(this._getNextSlide(this.activeId),U.LEFT,t)},t.prototype.pause=function(){this._pause$.next(!0)},t.prototype.cycle=function(){this._pause$.next(!1)},t.prototype._cycleToSelected=function(t,e,n){var o=this._getSlideById(t);o&&o.id!==this.activeId&&(this.slide.emit({prev:this.activeId,current:o.id,direction:e,paused:this._pause$.value,source:n}),this.activeId=o.id),this._cd.markForCheck()},t.prototype._getSlideEventDirection=function(t,e){return this._getSlideIdxById(t)>this._getSlideIdxById(e)?U.RIGHT:U.LEFT},t.prototype._getSlideById=function(t){return this.slides.find(function(e){return e.id===t})},t.prototype._getSlideIdxById=function(t){return this.slides.toArray().indexOf(this._getSlideById(t))},t.prototype._getNextSlide=function(t){var e=this.slides.toArray(),n=this._getSlideIdxById(t);return n===e.length-1?this.wrap?e[0].id:e[e.length-1].id:e[n+1].id},t.prototype._getPrevSlide=function(t){var e=this.slides.toArray(),n=this._getSlideIdxById(t);return 0===n?this.wrap?e[e.length-1].id:e[0].id:e[n-1].id},t.decorators=[{type:e.Component,args:[{selector:"ngb-carousel",exportAs:"ngbCarousel",changeDetection:e.ChangeDetectionStrategy.OnPush,encapsulation:e.ViewEncapsulation.None,host:{class:"carousel slide","[style.display]":'"block"',tabIndex:"0","(keydown.arrowLeft)":"keyboard && prev(NgbSlideEventSource.ARROW_LEFT)","(keydown.arrowRight)":"keyboard && next(NgbSlideEventSource.ARROW_RIGHT)"},template:'\n <ol class="carousel-indicators" *ngIf="showNavigationIndicators">\n <li *ngFor="let slide of slides" [id]="slide.id" [class.active]="slide.id === activeId"\n (click)="select(slide.id, NgbSlideEventSource.INDICATOR)"></li>\n </ol>\n <div class="carousel-inner">\n <div *ngFor="let slide of slides" class="carousel-item" [class.active]="slide.id === activeId">\n <ng-template [ngTemplateOutlet]="slide.tplRef"></ng-template>\n </div>\n </div>\n <a class="carousel-control-prev" role="button" (click)="prev(NgbSlideEventSource.ARROW_LEFT)" *ngIf="showNavigationArrows">\n <span class="carousel-control-prev-icon" aria-hidden="true"></span>\n <span class="sr-only" i18n="@@ngb.carousel.previous">Previous</span>\n </a>\n <a class="carousel-control-next" role="button" (click)="next(NgbSlideEventSource.ARROW_RIGHT)" *ngIf="showNavigationArrows">\n <span class="carousel-control-next-icon" aria-hidden="true"></span>\n <span class="sr-only" i18n="@@ngb.carousel.next">Next</span>\n </a>\n '}]}],t.ctorParameters=function(){return[{type:W},{type:void 0,decorators:[{type:e.Inject,args:[e.PLATFORM_ID]}]},{type:e.NgZone},{type:e.ChangeDetectorRef}]},t.propDecorators={slides:[{type:e.ContentChildren,args:[z]}],activeId:[{type:e.Input}],interval:[{type:e.Input}],wrap:[{type:e.Input}],keyboard:[{type:e.Input}],pauseOnHover:[{type:e.Input}],showNavigationArrows:[{type:e.Input}],showNavigationIndicators:[{type:e.Input}],slide:[{type:e.Output}],mouseEnter:[{type:e.HostListener,args:["mouseenter"]}],mouseLeave:[{type:e.HostListener,args:["mouseleave"]}]},t}(),U={LEFT:"left",RIGHT:"right"},q={TIMER:"timer",ARROW_LEFT:"arrowLeft",ARROW_RIGHT:"arrowRight",INDICATOR:"indicator"},K=[B,z],Z=function(){function t(){}return t.decorators=[{type:e.NgModule,args:[{declarations:K,exports:K,imports:[n.CommonModule]}]}],t}(),G=function(){function t(){this.collapsed=!1}return t.decorators=[{type:e.Directive,args:[{selector:"[ngbCollapse]",exportAs:"ngbCollapse",host:{"[class.collapse]":"true","[class.show]":"!collapsed"}}]}],t.propDecorators={collapsed:[{type:e.Input,args:["ngbCollapse"]}]},t}(),Y=function(){function t(){}return t.decorators=[{type:e.NgModule,args:[{declarations:[G],exports:[G]}]}],t}(),X=function(){function t(t,e,n){this.year=g(t)?t:null,this.month=g(e)?e:null,this.day=g(n)?n:null}return t.from=function(e){return e instanceof t?e:e?new t(e.year,e.month,e.day):null},t.prototype.equals=function(t){return t&&this.year===t.year&&this.month===t.month&&this.day===t.day},t.prototype.before=function(t){return!!t&&(this.year===t.year?this.month===t.month?this.day!==t.day&&this.day<t.day:this.month<t.month:this.year<t.year)},t.prototype.after=function(t){return!!t&&(this.year===t.year?this.month===t.month?this.day!==t.day&&this.day>t.day:this.month>t.month:this.year>t.year)},t}();function J(t){return new X(t.getFullYear(),t.getMonth()+1,t.getDate())}function Q(t){var e=new Date(t.year,t.month-1,t.day,12);return isNaN(e.getTime())||e.setFullYear(t.year),e}function tt(){return new nt}var et=function(){function t(){}return t.decorators=[{type:e.Injectable,args:[{providedIn:"root",useFactory:tt}]}],t.ngInjectableDef=e.ɵɵdefineInjectable({factory:tt,token:t,providedIn:"root"}),t}(),nt=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return s(n,t),n.prototype.getDaysPerWeek=function(){return 7},n.prototype.getMonths=function(){return[1,2,3,4,5,6,7,8,9,10,11,12]},n.prototype.getWeeksPerMonth=function(){return 6},n.prototype.getNext=function(t,e,n){void 0===e&&(e="d"),void 0===n&&(n=1);var o=Q(t),i=!0,r=o.getMonth();switch(e){case"y":o.setFullYear(o.getFullYear()+n);break;case"m":r+=n,o.setMonth(r),(r%=12)<0&&(r+=12);break;case"d":o.setDate(o.getDate()+n),i=!1;break;default:return t}return i&&o.getMonth()!==r&&o.setDate(0),J(o)},n.prototype.getPrev=function(t,e,n){return void 0===e&&(e="d"),void 0===n&&(n=1),this.getNext(t,e,-n)},n.prototype.getWeekday=function(t){var e=Q(t).getDay();return 0===e?7:e},n.prototype.getWeekNumber=function(t,e){7===e&&(e=0);var n=Q(t[(11-e)%7]);n.setDate(n.getDate()+4-(n.getDay()||7));var o=n.getTime();return n.setMonth(0),n.setDate(1),Math.floor(Math.round((o-n.getTime())/864e5)/7)+1},n.prototype.getToday=function(){return J(new Date)},n.prototype.isValid=function(t){if(!(t&&g(t.year)&&g(t.month)&&g(t.day)))return!1;if(0===t.year)return!1;var e=Q(t);return!isNaN(e.getTime())&&e.getFullYear()===t.year&&e.getMonth()+1===t.month&&e.getDate()===t.day},n.decorators=[{type:e.Injectable}],n}(et);function ot(t,e){return!function(t,e){return!t&&!e||!!t&&!!e&&t.equals(e)}(t,e)}function it(t,e){return!(!t&&!e)&&(!t||!e||(t.year!==e.year||t.month!==e.month))}function rt(t,e,n){return t&&e&&t.before(e)?e:t&&n&&t.after(n)?n:t}function at(t,e){var n=e.minDate,o=e.maxDate,i=e.disabled,r=e.markDisabled;return!(!m(t)||i||r&&r(t,{year:t.year,month:t.month})||n&&t.before(n)||o&&t.after(o))}function st(t,e,n,o,i){var r=n.displayMonths,a=n.months,s=a.splice(0,a.length);return Array.from({length:r},function(n,o){var r=Object.assign(t.getNext(e,"m",o),{day:1});if(a[o]=null,!i){var l=s.findIndex(function(t){return t.firstDate.equals(r)});-1!==l&&(a[o]=s.splice(l,1)[0])}return r}).forEach(function(e,i){null===a[i]&&(a[i]=function(t,e,n,o,i){void 0===i&&(i={});var r=n.dayTemplateData,a=n.minDate,s=n.maxDate,l=n.firstDayOfWeek,p=n.markDisabled,c=n.outsideDays,u=t.getToday();i.firstDate=null,i.lastDate=null,i.number=e.month,i.year=e.year,i.weeks=i.weeks||[],i.weekdays=i.weekdays||[],e=function(t,e,n){var o=t.getDaysPerWeek(),i=new X(e.year,e.month,1),r=t.getWeekday(i)%o;return t.getPrev(i,"d",(o+r-n)%o)}(t,e,l);for(var d=0;d<t.getWeeksPerMonth();d++){var h=i.weeks[d];h||(h=i.weeks[d]={number:0,days:[],collapsed:!0});for(var f=h.days,g=0;g<t.getDaysPerWeek();g++){0===d&&(i.weekdays[g]=t.getWeekday(e));var m=new X(e.year,e.month,e.day),y=t.getNext(m),b=o.getDayAriaLabel(m),v=!!(a&&m.before(a)||s&&m.after(s));!v&&p&&(v=p(m,{month:i.number,year:i.year}));var _=m.equals(u),w=r?r(m,{month:i.number,year:i.year}):void 0;null===i.firstDate&&m.month===i.number&&(i.firstDate=m),m.month===i.number&&y.month!==i.number&&(i.lastDate=m);var D=f[g];D||(D=f[g]={}),D.date=m,D.context=Object.assign(D.context||{},{$implicit:m,date:m,data:w,currentMonth:i.number,currentYear:i.year,disabled:v,focused:!1,selected:!1,today:_}),D.tabindex=-1,D.ariaLabel=b,D.hidden=!1,e=y}h.number=t.getWeekNumber(f.map(function(t){return t.date}),l),h.collapsed="collapsed"===c&&f[0].date.month!==i.number&&f[f.length-1].date.month!==i.number}return i}(t,e,n,o,s.shift()||{}))}),a}function lt(t){return new ct(t)}var pt=function(){function t(){}return t.prototype.getDayNumerals=function(t){return""+t.day},t.prototype.getWeekNumerals=function(t){return""+t},t.prototype.getYearNumerals=function(t){return""+t},t.decorators=[{type:e.Injectable,args:[{providedIn:"root",useFactory:lt,deps:[e.LOCALE_ID]}]}],t.ngInjectableDef=e.ɵɵdefineInjectable({factory:function(){return lt(e.ɵɵinject(e.LOCALE_ID))},token:t,providedIn:"root"}),t}(),ct=function(t){function o(e){var o=t.call(this)||this;o._locale=e;var i=n.getLocaleDayNames(e,n.FormStyle.Standalone,n.TranslationWidth.Short);return o._weekdaysShort=i.map(function(t,e){return i[(e+1)%7]}),o._monthsShort=n.getLocaleMonthNames(e,n.FormStyle.Standalone,n.TranslationWidth.Abbreviated),o._monthsFull=n.getLocaleMonthNames(e,n.FormStyle.Standalone,n.TranslationWidth.Wide),o}return s(o,t),o.prototype.getWeekdayShortName=function(t){return this._weekdaysShort[t-1]},o.prototype.getMonthShortName=function(t){return this._monthsShort[t-1]},o.prototype.getMonthFullName=function(t){return this._monthsFull[t-1]},o.prototype.getDayAriaLabel=function(t){var e=new Date(t.year,t.month-1,t.day);return n.formatDate(e,"fullDate",this._locale)},o.decorators=[{type:e.Injectable}],o.ctorParameters=function(){return[{type:String,decorators:[{type:e.Inject,args:[e.LOCALE_ID]}]}]},o}(pt),ut=function(){function t(t,e){var n=this;this._calendar=t,this._i18n=e,this._VALIDATORS={dayTemplateData:function(t){if(n._state.dayTemplateData!==t)return{dayTemplateData:t}},displayMonths:function(t){if(g(t=c(t))&&t>0&&n._state.displayMonths!==t)return{displayMonths:t}},disabled:function(t){if(n._state.disabled!==t)return{disabled:t}},firstDayOfWeek:function(t){if(g(t=c(t))&&t>=0&&n._state.firstDayOfWeek!==t)return{firstDayOfWeek:t}},focusVisible:function(t){if(n._state.focusVisible!==t&&!n._state.disabled)return{focusVisible:t}},markDisabled:function(t){if(n._state.markDisabled!==t)return{markDisabled:t}},maxDate:function(t){var e=n.toValidDate(t,null);if(ot(n._state.maxDate,e))return{maxDate:e}},minDate:function(t){var e=n.toValidDate(t,null);if(ot(n._state.minDate,e))return{minDate:e}},navigation:function(t){if(n._state.navigation!==t)return{navigation:t}},outsideDays:function(t){if(n._state.outsideDays!==t)return{outsideDays:t}}},this._model$=new i.Subject,this._dateSelect$=new i.Subject,this._state={disabled:!1,displayMonths:1,firstDayOfWeek:1,focusVisible:!1,months:[],navigation:"select",outsideDays:"visible",prevDisabled:!1,nextDisabled:!1,selectBoxes:{years:[],months:[]},selectedDate:null}}return Object.defineProperty(t.prototype,"model$",{get:function(){return this._model$.pipe(r.filter(function(t){return t.months.length>0}))},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"dateSelect$",{get:function(){return this._dateSelect$.pipe(r.filter(function(t){return null!==t}))},enumerable:!0,configurable:!0}),t.prototype.set=function(t){var e=this,n=Object.keys(t).map(function(n){return e._VALIDATORS[n](t[n])}).reduce(function(t,e){return l({},t,e)},{});Object.keys(n).length>0&&this._nextState(n)},t.prototype.focus=function(t){!this._state.disabled&&this._calendar.isValid(t)&&ot(this._state.focusDate,t)&&this._nextState({focusDate:t})},t.prototype.focusSelect=function(){at(this._state.focusDate,this._state)&&this.select(this._state.focusDate,{emitEvent:!0})},t.prototype.open=function(t){var e=this.toValidDate(t,this._calendar.getToday());this._state.disabled||this._state.firstDate&&!it(this._state.firstDate,t)||this._nextState({firstDate:e})},t.prototype.select=function(t,e){void 0===e&&(e={});var n=this.toValidDate(t,null);this._state.disabled||(ot(this._state.selectedDate,n)&&this._nextState({selectedDate:n}),e.emitEvent&&at(n,this._state)&&this._dateSelect$.next(n))},t.prototype.toValidDate=function(t,e){var n=X.from(t);return void 0===e&&(e=this._calendar.getToday()),this._calendar.isValid(n)?n:e},t.prototype._nextState=function(t){var e=this._updateState(t);this._patchContexts(e),this._state=e,this._model$.next(this._state)},t.prototype._patchContexts=function(t){var e=t.months,n=t.displayMonths,o=t.selectedDate,i=t.focusDate,r=t.focusVisible,a=t.disabled,s=t.outsideDays;t.months.forEach(function(t){t.weeks.forEach(function(l){l.days.forEach(function(l){i&&(l.context.focused=i.equals(l.date)&&r),l.tabindex=!a&&l.date.equals(i)&&i.month===t.number?0:-1,!0===a&&(l.context.disabled=!0),void 0!==o&&(l.context.selected=null!==o&&o.equals(l.date)),t.number!==l.date.month&&(l.hidden="hidden"===s||"collapsed"===s||n>1&&l.date.after(e[0].firstDate)&&l.date.before(e[n-1].lastDate))})})})},t.prototype._updateState=function(t){var e,n,o,i,r=Object.assign({},this._state,t),a=r.firstDate;if(("minDate"in t||"maxDate"in t)&&(!function(t,e){if(e&&t&&e.before(t))throw new Error("'maxDate' "+e+" should be greater than 'minDate' "+t)}(r.minDate,r.maxDate),r.focusDate=rt(r.focusDate,r.minDate,r.maxDate),r.firstDate=rt(r.firstDate,r.minDate,r.maxDate),a=r.focusDate),"disabled"in t&&(r.focusVisible=!1),"selectedDate"in t&&0===this._state.months.length&&(a=r.selectedDate),"focusVisible"in t)return r;if("focusDate"in t&&(r.focusDate=rt(r.focusDate,r.minDate,r.maxDate),a=r.focusDate,0!==r.months.length&&!r.focusDate.before(r.firstDate)&&!r.focusDate.after(r.lastDate)))return r;if("firstDate"in t&&(r.firstDate=rt(r.firstDate,r.minDate,r.maxDate),a=r.firstDate),a){var s="dayTemplateData"in t||"firstDayOfWeek"in t||"markDisabled"in t||"minDate"in t||"maxDate"in t||"disabled"in t||"outsideDays"in t,l=st(this._calendar,a,r,this._i18n,s);r.months=l,r.firstDate=l.length>0?l[0].firstDate:void 0,r.lastDate=l.length>0?l[l.length-1].lastDate:void 0,"selectedDate"in t&&!at(r.selectedDate,r)&&(r.selectedDate=null),"firstDate"in t&&(void 0===r.focusDate||r.focusDate.before(r.firstDate)||r.focusDate.after(r.lastDate))&&(r.focusDate=a);var p=!this._state.firstDate||this._state.firstDate.year!==r.firstDate.year,c=!this._state.firstDate||this._state.firstDate.month!==r.firstDate.month;"select"===r.navigation?(("minDate"in t||"maxDate"in t||0===r.selectBoxes.years.length||p)&&(r.selectBoxes.years=function(t,e,n){if(!t)return[];for(var o=e?Math.max(e.year,t.year-500):t.year-10,i=(n?Math.min(n.year,t.year+500):t.year+10)-o+1,r=Array(i),a=0;a<i;a++)r[a]=o+a;return r}(r.firstDate,r.minDate,r.maxDate)),("minDate"in t||"maxDate"in t||0===r.selectBoxes.months.length||p)&&(r.selectBoxes.months=function(t,e,n,o){if(!e)return[];var i=t.getMonths(e.year);if(n&&e.year===n.year){var r=i.findIndex(function(t){return t===n.month});i=i.slice(r)}if(o&&e.year===o.year){r=i.findIndex(function(t){return t===o.month});i=i.slice(0,r+1)}return i}(this._calendar,r.firstDate,r.minDate,r.maxDate))):r.selectBoxes={years:[],months:[]},"arrows"!==r.navigation&&"select"!==r.navigation||!(c||p||"minDate"in t||"maxDate"in t||"disabled"in t)||(r.prevDisabled=r.disabled||(e=this._calendar,n=r.firstDate,o=r.minDate,i=Object.assign(e.getPrev(n,"m"),{day:1}),o&&(i.year===o.year&&i.month<o.month||i.year<o.year&&1===o.month)),r.nextDisabled=r.disabled||function(t,e,n){var o=Object.assign(t.getNext(e,"m"),{day:1});return n&&o.after(n)}(this._calendar,r.lastDate,r.maxDate))}return r},t.decorators=[{type:e.Injectable}],t.ctorParameters=function(){return[{type:et},{type:pt}]},t}(),dt={Tab:9,Enter:13,Escape:27,Space:32,PageUp:33,PageDown:34,End:35,Home:36,ArrowLeft:37,ArrowUp:38,ArrowRight:39,ArrowDown:40};dt[dt.Tab]="Tab",dt[dt.Enter]="Enter",dt[dt.Escape]="Escape",dt[dt.Space]="Space",dt[dt.PageUp]="PageUp",dt[dt.PageDown]="PageDown",dt[dt.End]="End",dt[dt.Home]="Home",dt[dt.ArrowLeft]="ArrowLeft",dt[dt.ArrowUp]="ArrowUp",dt[dt.ArrowRight]="ArrowRight",dt[dt.ArrowDown]="ArrowDown";var ht=function(){function t(){}return t.prototype.processKey=function(t,e,n){var o=e.state;switch(t.which){case dt.PageUp:e.focusDate(n.getPrev(o.focusedDate,t.shiftKey?"y":"m",1));break;case dt.PageDown:e.focusDate(n.getNext(o.focusedDate,t.shiftKey?"y":"m",1));break;case dt.End:e.focusDate(t.shiftKey?o.maxDate:o.lastDate);break;case dt.Home:e.focusDate(t.shiftKey?o.minDate:o.firstDate);break;case dt.ArrowLeft:e.focusDate(n.getPrev(o.focusedDate,"d",1));break;case dt.ArrowUp:e.focusDate(n.getPrev(o.focusedDate,"d",n.getDaysPerWeek()));break;case dt.ArrowRight:e.focusDate(n.getNext(o.focusedDate,"d",1));break;case dt.ArrowDown:e.focusDate(n.getNext(o.focusedDate,"d",n.getDaysPerWeek()));break;case dt.Enter:case dt.Space:e.focusSelect();break;default:return}t.preventDefault(),t.stopPropagation()},t.decorators=[{type:e.Injectable,args:[{providedIn:"root"}]}],t.ngInjectableDef=e.ɵɵdefineInjectable({factory:function(){return new t},token:t,providedIn:"root"}),t}(),ft={PREV:0,NEXT:1};ft[ft.PREV]="PREV",ft[ft.NEXT]="NEXT";var gt=function(){function t(){this.displayMonths=1,this.firstDayOfWeek=1,this.navigation="select",this.outsideDays="visible",this.showWeekdays=!0,this.showWeekNumbers=!1}return t.decorators=[{type:e.Injectable,args:[{providedIn:"root"}]}],t.ngInjectableDef=e.ɵɵdefineInjectable({factory:function(){return new t},token:t,providedIn:"root"}),t}();function mt(){return new bt}var yt=function(){function t(){}return t.decorators=[{type:e.Injectable,args:[{providedIn:"root",useFactory:mt}]}],t.ngInjectableDef=e.ɵɵdefineInjectable({factory:mt,token:t,providedIn:"root"}),t}(),bt=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return s(n,t),n.prototype.fromModel=function(t){return t&&g(t.year)&&g(t.month)&&g(t.day)?{year:t.year,month:t.month,day:t.day}:null},n.prototype.toModel=function(t){return t&&g(t.year)&&g(t.month)&&g(t.day)?{year:t.year,month:t.month,day:t.day}:null},n.decorators=[{type:e.Injectable}],n}(yt),vt={provide:o.NG_VALUE_ACCESSOR,useExisting:e.forwardRef(function(){return _t}),multi:!0},_t=function(){function t(t,n,o,a,s,l,p,c,u){var d=this;this._service=t,this._calendar=n,this.i18n=o,this._keyboardService=s,this._elementRef=p,this._ngbDateAdapter=c,this._ngZone=u,this._destroyed$=new i.Subject,this._publicState={},this.navigate=new e.EventEmitter,this.dateSelect=new e.EventEmitter,this.select=this.dateSelect,this.onChange=function(t){},this.onTouched=function(){},["dayTemplate","dayTemplateData","displayMonths","firstDayOfWeek","footerTemplate","markDisabled","minDate","maxDate","navigation","outsideDays","showWeekdays","showWeekNumbers","startDate"].forEach(function(t){return d[t]=a[t]}),t.dateSelect$.pipe(r.takeUntil(this._destroyed$)).subscribe(function(t){d.dateSelect.emit(t)}),t.model$.pipe(r.takeUntil(this._destroyed$)).subscribe(function(t){var e=t.firstDate,n=d.model?d.model.firstDate:null;d._publicState={maxDate:t.maxDate,minDate:t.minDate,firstDate:t.firstDate,lastDate:t.lastDate,focusedDate:t.focusDate};var o=!1;if(e.equals(n)||(d.navigate.emit({current:n?{year:n.year,month:n.month}:null,next:{year:e.year,month:e.month},preventDefault:function(){return o=!0}}),!o||null===n)){var i=t.selectedDate,r=t.focusDate,a=d.model?d.model.focusDate:null;d.model=t,ot(i,d._controlValue)&&(d._controlValue=i,d.onTouched(),d.onChange(d._ngbDateAdapter.toModel(i))),ot(r,a)&&a&&t.focusVisible&&d.focus(),l.markForCheck()}else d._service.open(n)})}return Object.defineProperty(t.prototype,"state",{get:function(){return this._publicState},enumerable:!0,configurable:!0}),t.prototype.focusDate=function(t){this._service.focus(X.from(t))},t.prototype.focusSelect=function(){this._service.focusSelect()},t.prototype.focus=function(){var t=this;this._ngZone.onStable.asObservable().pipe(r.take(1)).subscribe(function(){var e=t._elementRef.nativeElement.querySelector('div.ngb-dp-day[tabindex="0"]');e&&e.focus()})},t.prototype.navigateTo=function(t){this._service.open(X.from(t?t.day?t:l({},t,{day:1}):null))},t.prototype.ngAfterViewInit=function(){var t=this;this._ngZone.runOutsideAngular(function(){var e=i.fromEvent(t._monthsEl.nativeElement,"focusin"),n=i.fromEvent(t._monthsEl.nativeElement,"focusout"),o=t._elementRef.nativeElement;i.merge(e,n).pipe(r.filter(function(t){var e=t.target,n=t.relatedTarget;return!(b(e,"ngb-dp-day")&&b(n,"ngb-dp-day")&&o.contains(e)&&o.contains(n))}),r.takeUntil(t._destroyed$)).subscribe(function(e){var n=e.type;return t._ngZone.run(function(){return t._service.set({focusVisible:"focusin"===n})})})})},t.prototype.ngOnDestroy=function(){this._destroyed$.next()},t.prototype.ngOnInit=function(){var t=this;if(void 0===this.model){var e={};["dayTemplateData","displayMonths","markDisabled","firstDayOfWeek","navigation","minDate","maxDate","outsideDays"].forEach(function(n){return e[n]=t[n]}),this._service.set(e),this.navigateTo(this.startDate)}},t.prototype.ngOnChanges=function(t){var e=this,n={};if(["dayTemplateData","displayMonths","markDisabled","firstDayOfWeek","navigation","minDate","maxDate","outsideDays"].filter(function(e){return e in t}).forEach(function(t){return n[t]=e[t]}),this._service.set(n),"startDate"in t){var o=t.startDate,i=o.currentValue;it(o.previousValue,i)&&this.navigateTo(this.startDate)}},t.prototype.onDateSelect=function(t){this._service.focus(t),this._service.select(t,{emitEvent:!0})},t.prototype.onKeyDown=function(t){this._keyboardService.processKey(t,this,this._calendar)},t.prototype.onNavigateDateSelect=function(t){this._service.open(t)},t.prototype.onNavigateEvent=function(t){switch(t){case ft.PREV:this._service.open(this._calendar.getPrev(this.model.firstDate,"m",1));break;case ft.NEXT:this._service.open(this._calendar.getNext(this.model.firstDate,"m",1))}},t.prototype.registerOnChange=function(t){this.onChange=t},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.setDisabledState=function(t){this._service.set({disabled:t})},t.prototype.writeValue=function(t){this._controlValue=X.from(this._ngbDateAdapter.fromModel(t)),this._service.select(this._controlValue)},t.decorators=[{type:e.Component,args:[{exportAs:"ngbDatepicker",selector:"ngb-datepicker",changeDetection:e.ChangeDetectionStrategy.OnPush,encapsulation:e.ViewEncapsulation.None,template:'\n <ng-template #dt let-date="date" let-currentMonth="currentMonth" let-selected="selected" let-disabled="disabled" let-focused="focused">\n <div ngbDatepickerDayView\n [date]="date"\n [currentMonth]="currentMonth"\n [selected]="selected"\n [disabled]="disabled"\n [focused]="focused">\n </div>\n </ng-template>\n\n <div class="ngb-dp-header">\n <ngb-datepicker-navigation *ngIf="navigation !== \'none\'"\n [date]="model.firstDate"\n [months]="model.months"\n [disabled]="model.disabled"\n [showSelect]="model.navigation === \'select\'"\n [prevDisabled]="model.prevDisabled"\n [nextDisabled]="model.nextDisabled"\n [selectBoxes]="model.selectBoxes"\n (navigate)="onNavigateEvent($event)"\n (select)="onNavigateDateSelect($event)">\n </ngb-datepicker-navigation>\n </div>\n\n <div #months class="ngb-dp-months" (keydown)="onKeyDown($event)">\n <ng-template ngFor let-month [ngForOf]="model.months" let-i="index">\n <div class="ngb-dp-month">\n <div *ngIf="navigation === \'none\' || (displayMonths > 1 && navigation === \'select\')"\n class="ngb-dp-month-name">\n {{ i18n.getMonthFullName(month.number, month.year) }} {{ i18n.getYearNumerals(month.year) }}\n </div>\n <ngb-datepicker-month-view\n [month]="month"\n [dayTemplate]="dayTemplate || dt"\n [showWeekdays]="showWeekdays"\n [showWeekNumbers]="showWeekNumbers"\n (select)="onDateSelect($event)">\n </ngb-datepicker-month-view>\n </div>\n </ng-template>\n </div>\n\n <ng-template [ngTemplateOutlet]="footerTemplate"></ng-template>\n ',providers:[vt,ut],styles:["ngb-datepicker{border:1px solid #dfdfdf;border-radius:.25rem;display:inline-block}ngb-datepicker-month-view{pointer-events:auto}ngb-datepicker.dropdown-menu{padding:0}.ngb-dp-body{z-index:1050}.ngb-dp-header{border-bottom:0;border-radius:.25rem .25rem 0 0;padding-top:.25rem;background-color:#f8f9fa;background-color:var(--light)}.ngb-dp-months{display:-ms-flexbox;display:flex}.ngb-dp-month{pointer-events:none}.ngb-dp-month-name{font-size:larger;height:2rem;line-height:2rem;text-align:center;background-color:#f8f9fa;background-color:var(--light)}.ngb-dp-month+.ngb-dp-month .ngb-dp-month-name,.ngb-dp-month+.ngb-dp-month .ngb-dp-week{padding-left:1rem}.ngb-dp-month:last-child .ngb-dp-week{padding-right:.25rem}.ngb-dp-month:first-child .ngb-dp-week{padding-left:.25rem}.ngb-dp-month .ngb-dp-week:last-child{padding-bottom:.25rem}"]}]}],t.ctorParameters=function(){return[{type:ut},{type:et},{type:pt},{type:gt},{type:ht},{type:e.ChangeDetectorRef},{type:e.ElementRef},{type:yt},{type:e.NgZone}]},t.propDecorators={_monthsEl:[{type:e.ViewChild,args:["months",{static:!0}]}],dayTemplate:[{type:e.Input}],dayTemplateData:[{type:e.Input}],displayMonths:[{type:e.Input}],firstDayOfWeek:[{type:e.Input}],footerTemplate:[{type:e.Input}],markDisabled:[{type:e.Input}],maxDate:[{type:e.Input}],minDate:[{type:e.Input}],navigation:[{type:e.Input}],outsideDays:[{type:e.Input}],showWeekdays:[{type:e.Input}],showWeekNumbers:[{type:e.Input}],startDate:[{type:e.Input}],navigate:[{type:e.Output}],dateSelect:[{type:e.Output}],select:[{type:e.Output}]},t}(),wt=function(){function t(t){this.i18n=t,this.select=new e.EventEmitter}return t.prototype.doSelect=function(t){t.context.disabled||t.hidden||this.select.emit(t.date)},t.decorators=[{type:e.Component,args:[{selector:"ngb-datepicker-month-view",host:{role:"grid"},encapsulation:e.ViewEncapsulation.None,template:'\n <div *ngIf="showWeekdays" class="ngb-dp-week ngb-dp-weekdays" role="row">\n <div *ngIf="showWeekNumbers" class="ngb-dp-weekday ngb-dp-showweek"></div>\n <div *ngFor="let w of month.weekdays" class="ngb-dp-weekday small" role="columnheader">\n {{ i18n.getWeekdayShortName(w) }}\n </div>\n </div>\n <ng-template ngFor let-week [ngForOf]="month.weeks">\n <div *ngIf="!week.collapsed" class="ngb-dp-week" role="row">\n <div *ngIf="showWeekNumbers" class="ngb-dp-week-number small text-muted">{{ i18n.getWeekNumerals(week.number) }}</div>\n <div *ngFor="let day of week.days" (click)="doSelect(day); $event.preventDefault()" class="ngb-dp-day" role="gridcell"\n [class.disabled]="day.context.disabled"\n [tabindex]="day.tabindex"\n [class.hidden]="day.hidden"\n [class.ngb-dp-today]="day.context.today"\n [attr.aria-label]="day.ariaLabel">\n <ng-template [ngIf]="!day.hidden">\n <ng-template [ngTemplateOutlet]="dayTemplate" [ngTemplateOutletContext]="day.context"></ng-template>\n </ng-template>\n </div>\n </div>\n </ng-template>\n ',styles:['ngb-datepicker-month-view{display:block}.ngb-dp-week-number,.ngb-dp-weekday{line-height:2rem;text-align:center;font-style:italic}.ngb-dp-weekday{color:#5bc0de;color:var(--info)}.ngb-dp-week{border-radius:.25rem;display:-ms-flexbox;display:flex}.ngb-dp-weekdays{border-bottom:1px solid rgba(0,0,0,.125);border-radius:0;background-color:#f8f9fa;background-color:var(--light)}.ngb-dp-day,.ngb-dp-week-number,.ngb-dp-weekday{width:2rem;height:2rem}.ngb-dp-day{cursor:pointer}.ngb-dp-day.disabled,.ngb-dp-day.hidden{cursor:default}.ngb-dp-day[tabindex="0"]{z-index:1}']}]}],t.ctorParameters=function(){return[{type:pt}]},t.propDecorators={dayTemplate:[{type:e.Input}],month:[{type:e.Input}],showWeekdays:[{type:e.Input}],showWeekNumbers:[{type:e.Input}],select:[{type:e.Output}]},t}(),Dt=function(){function t(t){this.i18n=t,this.navigation=ft,this.months=[],this.navigate=new e.EventEmitter,this.select=new e.EventEmitter}return t.prototype.onClickPrev=function(t){t.currentTarget.focus(),this.navigate.emit(this.navigation.PREV)},t.prototype.onClickNext=function(t){t.currentTarget.focus(),this.navigate.emit(this.navigation.NEXT)},t.decorators=[{type:e.Component,args:[{selector:"ngb-datepicker-navigation",changeDetection:e.ChangeDetectionStrategy.OnPush,encapsulation:e.ViewEncapsulation.None,template:'\n <div class="ngb-dp-arrow">\n <button type="button" class="btn btn-link ngb-dp-arrow-btn" (click)="onClickPrev($event)" [disabled]="prevDisabled"\n i18n-aria-label="@@ngb.datepicker.previous-month" aria-label="Previous month"\n i18n-title="@@ngb.datepicker.previous-month" title="Previous month">\n <span class="ngb-dp-navigation-chevron"></span>\n </button>\n </div>\n <ngb-datepicker-navigation-select *ngIf="showSelect" class="ngb-dp-navigation-select"\n [date]="date"\n [disabled] = "disabled"\n [months]="selectBoxes.months"\n [years]="selectBoxes.years"\n (select)="select.emit($event)">\n </ngb-datepicker-navigation-select>\n\n <ng-template *ngIf="!showSelect" ngFor let-month [ngForOf]="months" let-i="index">\n <div class="ngb-dp-arrow" *ngIf="i > 0"></div>\n <div class="ngb-dp-month-name">\n {{ i18n.getMonthFullName(month.number, month.year) }} {{ i18n.getYearNumerals(month.year) }}\n </div>\n <div class="ngb-dp-arrow" *ngIf="i !== months.length - 1"></div>\n </ng-template>\n <div class="ngb-dp-arrow right">\n <button type="button" class="btn btn-link ngb-dp-arrow-btn" (click)="onClickNext($event)" [disabled]="nextDisabled"\n i18n-aria-label="@@ngb.datepicker.next-month" aria-label="Next month"\n i18n-title="@@ngb.datepicker.next-month" title="Next month">\n <span class="ngb-dp-navigation-chevron"></span>\n </button>\n </div>\n ',styles:["ngb-datepicker-navigation{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.ngb-dp-navigation-chevron{border-style:solid;border-width:.2em .2em 0 0;display:inline-block;width:.75em;height:.75em;margin-left:.25em;margin-right:.15em;-webkit-transform:rotate(-135deg);transform:rotate(-135deg)}.right .ngb-dp-navigation-chevron{-webkit-transform:rotate(45deg);transform:rotate(45deg);margin-left:.15em;margin-right:.25em}.ngb-dp-arrow{display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;padding-right:0;padding-left:0;margin:0;width:2rem;height:2rem}.ngb-dp-arrow.right{-ms-flex-pack:end;justify-content:flex-end}.ngb-dp-arrow-btn{padding:0 .25rem;margin:0 .5rem;border:none;background-color:transparent;z-index:1}.ngb-dp-arrow-btn:focus{outline-width:1px;outline-style:auto}@media all and (-ms-high-contrast:none),(-ms-high-contrast:active){.ngb-dp-arrow-btn:focus{outline-style:solid}}.ngb-dp-month-name{font-size:larger;height:2rem;line-height:2rem;text-align:center}.ngb-dp-navigation-select{display:-ms-flexbox;display:flex;-ms-flex:1 1 9rem;flex:1 1 9rem}"]}]}],t.ctorParameters=function(){return[{type:pt}]},t.propDecorators={date:[{type:e.Input}],disabled:[{type:e.Input}],months:[{type:e.Input}],showSelect:[{type:e.Input}],prevDisabled:[{type:e.Input}],nextDisabled:[{type:e.Input}],selectBoxes:[{type:e.Input}],navigate:[{type:e.Output}],select:[{type:e.Output}]},t}(),It=function(t,e){return!!e&&e.some(function(e){return e.contains(t)})},Ct=function(t,e){return!e||null!=function(t,e){return e?t.closest(e):null}(t,e)},kt=!1;"undefined"!=typeof navigator&&(kt=!!navigator.userAgent&&/iPad|iPhone|iPod/.test(navigator.userAgent));var xt=function(t){return kt?function(){return setTimeout(function(){return t()},100)}:t};function Rt(t,e,n,o,a,s,l,c){n&&t.runOutsideAngular(xt(function(){var u=i.fromEvent(e,"keydown").pipe(r.takeUntil(a),r.filter(function(t){return t.which===dt.Escape}),r.tap(function(t){return t.preventDefault()})),d=i.fromEvent(e,"mousedown").pipe(r.map(function(t){var e=t.target;return 2!==t.button&&!It(e,l)&&("inside"===n?It(e,s)&&Ct(e,c):"outside"===n?!It(e,s):Ct(e,c)||!It(e,s))}),r.takeUntil(a)),h=i.fromEvent(e,"mouseup").pipe(r.withLatestFrom(d),r.filter(function(t){var e=p(t,2);e[0];return e[1]}),r.delay(0),r.takeUntil(a));i.race([u,h]).subscribe(function(){return t.run(o)})}))}var Et=["a[href]","button:not([disabled])",'input:not([disabled]):not([type="hidden"])',"select:not([disabled])","textarea:not([disabled])","[contenteditable]",'[tabindex]:not([tabindex="-1"])'].join(", ");function St(t){var e=Array.from(t.querySelectorAll(Et)).filter(function(t){return-1!==t.tabIndex});return[e[0],e[e.length-1]]}var Nt=function(t,e,n,o){void 0===o&&(o=!1),t.runOutsideAngular(function(){var t=i.fromEvent(e,"focusin").pipe(r.takeUntil(n),r.map(function(t){return t.target}));i.fromEvent(e,"keydown").pipe(r.takeUntil(n),r.filter(function(t){return t.which===dt.Tab}),r.withLatestFrom(t)).subscribe(function(t){var n=p(t,2),o=n[0],i=n[1],r=p(St(e),2),a=r[0],s=r[1];i!==a&&i!==e||!o.shiftKey||(s.focus(),o.preventDefault()),i!==s||o.shiftKey||(a.focus(),o.preventDefault())}),o&&i.fromEvent(e,"click").pipe(r.takeUntil(n),r.withLatestFrom(t),r.map(function(t){return t[1]})).subscribe(function(t){return t.focus()})})},Tt=function(){function t(){}return t.prototype.getAllStyles=function(t){return window.getComputedStyle(t)},t.prototype.getStyle=function(t,e){return this.getAllStyles(t)[e]},t.prototype.isStaticPositioned=function(t){return"static"===(this.getStyle(t,"position")||"static")},t.prototype.offsetParent=function(t){for(var e=t.offsetParent||document.documentElement;e&&e!==document.documentElement&&this.isStaticPositioned(e);)e=e.offsetParent;return e||document.documentElement},t.prototype.position=function(t,e){var n;void 0===e&&(e=!0);var o={width:0,height:0,top:0,bottom:0,left:0,right:0};if("fixed"===this.getStyle(t,"position"))n={top:(n=t.getBoundingClientRect()).top,bottom:n.bottom,left:n.left,right:n.right,height:n.height,width:n.width};else{var i=this.offsetParent(t);n=this.offset(t,!1),i!==document.documentElement&&(o=this.offset(i,!1)),o.top+=i.clientTop,o.left+=i.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},t.prototype.offset=function(t,e){void 0===e&&(e=!0);var n=t.getBoundingClientRect(),o=window.pageYOffset-document.documentElement.clientTop,i=window.pageXOffset-document.documentElement.clientLeft,r={height:n.height||t.offsetHeight,width:n.width||t.offsetWidth,top:n.top+o,bottom:n.bottom+o,left:n.left+i,right:n.right+i};return e&&(r.height=Math.round(r.height),r.width=Math.round(r.width),r.top=Math.round(r.top),r.bottom=Math.round(r.bottom),r.left=Math.round(r.left),r.right=Math.round(r.right)),r},t.prototype.positionElements=function(t,e,n,o){var i=p(n.split("-"),2),r=i[0],a=void 0===r?"top":r,s=i[1],l=void 0===s?"center":s,c=o?this.offset(t,!1):this.position(t,!1),u=this.getAllStyles(e),d=parseFloat(u.marginTop),h=parseFloat(u.marginBottom),f=parseFloat(u.marginLeft),g=parseFloat(u.marginRight),m=0,y=0;switch(a){case"top":m=c.top-(e.offsetHeight+d+h);break;case"bottom":m=c.top+c.height;break;case"left":y=c.left-(e.offsetWidth+f+g);break;case"right":y=c.left+c.width}switch(l){case"top":m=c.top;break;case"bottom":m=c.top+c.height-e.offsetHeight;break;case"left":y=c.left;break;case"right":y=c.left+c.width-e.offsetWidth;break;case"center":"top"===a||"bottom"===a?y=c.left+c.width/2-e.offsetWidth/2:m=c.top+c.height/2-e.offsetHeight/2}e.style.transform="translate("+Math.round(y)+"px, "+Math.round(m)+"px)";var b=e.getBoundingClientRect(),v=document.documentElement,_=window.innerHeight||v.clientHeight,w=window.innerWidth||v.clientWidth;return b.left>=0&&b.top>=0&&b.right<=w&&b.bottom<=_},t}(),Ot=/\s+/,Mt=new Tt;function Pt(t,e,n,o,i){var r,a,s=Array.isArray(n)?n:n.split(Ot),l=["top","bottom","left","right","top-left","top-right","bottom-left","bottom-right","left-top","left-bottom","right-top","right-bottom"],c=e.classList,u=function(t){var e=p(t.split("-"),2),n=e[0],o=e[1],r=[];return i&&(r.push(i+"-"+n),o&&r.push(i+"-"+n+"-"+o),r.forEach(function(t){c.add(t)})),r};i&&l.forEach(function(t){c.remove(i+"-"+t)});var d=s.findIndex(function(t){return"auto"===t});d>=0&&l.forEach(function(t){null==s.find(function(e){return-1!==e.search("^"+t)})&&s.splice(d++,1,t)});var h,f=e.style;f.position="absolute",f.top="0",f.left="0",f["will-change"]="transform";var g=!1;try{for(var m=function(t){var e="function"==typeof Symbol&&t[Symbol.iterator],n=0;return e?e.call(t):{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}}}(s),y=m.next();!y.done;y=m.next()){var b=u(h=y.value);if(Mt.positionElements(t,e,h,o)){g=!0;break}i&&b.forEach(function(t){c.remove(t)})}}catch(t){r={error:t}}finally{try{y&&!y.done&&(a=m.return)&&a.call(m)}finally{if(r)throw r.error}}return g||(u(h=s[0]),Mt.positionElements(t,e,h,o)),h}function jt(){return new Ft}var At=function(){function t(){}return t.decorators=[{type:e.Injectable,args:[{providedIn:"root",useFactory:jt}]}],t.ngInjectableDef=e.ɵɵdefineInjectable({factory:jt,token:t,providedIn:"root"}),t}(),Ft=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return s(n,t),n.prototype.parse=function(t){if(t){var e=t.trim().split("-");if(1===e.length&&f(e[0]))return{year:c(e[0]),month:null,day:null};if(2===e.length&&f(e[0])&&f(e[1]))return{year:c(e[0]),month:c(e[1]),day:null};if(3===e.length&&f(e[0])&&f(e[1])&&f(e[2]))return{year:c(e[0]),month:c(e[1]),day:c(e[2])}}return null},n.prototype.format=function(t){return t?t.year+"-"+(f(t.month)?y(t.month):"")+"-"+(f(t.day)?y(t.day):""):""},n.decorators=[{type:e.Injectable}],n}(At),Vt=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.autoClose=!0,e.placement=["bottom-left","bottom-right","top-left","top-right"],e.restoreFocus=!0,e}return s(n,t),n.decorators=[{type:e.Injectable,args:[{providedIn:"root"}]}],n.ngInjectableDef=e.ɵɵdefineInjectable({factory:function(){return new n},token:n,providedIn:"root"}),n}(gt),Ht={provide:o.NG_VALUE_ACCESSOR,useExisting:e.forwardRef(function(){return Wt}),multi:!0},Lt={provide:o.NG_VALIDATORS,useExisting:e.forwardRef(function(){return Wt}),multi:!0},Wt=function(){function t(t,n,o,i,r,a,s,l,p,c,u){var d=this;this._parserFormatter=t,this._elRef=n,this._vcRef=o,this._renderer=i,this._cfr=r,this._ngZone=a,this._calendar=s,this._dateAdapter=l,this._document=p,this._changeDetector=c,this._cRef=null,this._disabled=!1,this._elWithFocus=null,this.dateSelect=new e.EventEmitter,this.navigate=new e.EventEmitter,this.closed=new e.EventEmitter,this._onChange=function(t){},this._onTouched=function(){},this._validatorChange=function(){},["autoClose","container","positionTarget","placement"].forEach(function(t){return d[t]=u[t]}),this._zoneSubscription=a.onStable.subscribe(function(){return d._updatePopupPosition()})}return Object.defineProperty(t.prototype,"disabled",{get:function(){return this._disabled},set:function(t){this._disabled=""===t||t&&"false"!==t,this.isOpen()&&this._cRef.instance.setDisabledState(this._disabled)},enumerable:!0,configurable:!0}),t.prototype.registerOnChange=function(t){this._onChange=t},t.prototype.registerOnTouched=function(t){this._onTouched=t},t.prototype.registerOnValidatorChange=function(t){this._validatorChange=t},t.prototype.setDisabledState=function(t){this.disabled=t},t.prototype.validate=function(t){var e=t.value;if(null==e)return null;var n=this._fromDateStruct(this._dateAdapter.fromModel(e));return this._calendar.isValid(n)?this.minDate&&n.before(X.from(this.minDate))?{ngbDate:{requiredBefore:this.minDate}}:this.maxDate&&n.after(X.from(this.maxDate))?{ngbDate:{requiredAfter:this.maxDate}}:void 0:{ngbDate:{invalid:t.value}}},t.prototype.writeValue=function(t){this._model=this._fromDateStruct(this._dateAdapter.fromModel(t)),this._writeModelValue(this._model)},t.prototype.manualDateChange=function(t,e){void 0===e&&(e=!1);var n=t!==this._inputValue;n&&(this._inputValue=t,this._model=this._fromDateStruct(this._parserFormatter.parse(t))),!n&&e||this._onChange(this._model?this._dateAdapter.toModel(this._model):""===t?null:t),e&&this._model&&this._writeModelValue(this._model)},t.prototype.isOpen=function(){return!!this._cRef},t.prototype.open=function(){var t=this;if(!this.isOpen()){var e=this._cfr.resolveComponentFactory(_t);this._cRef=this._vcRef.createComponent(e),this._applyPopupStyling(this._cRef.location.nativeElement),this._applyDatepickerInputs(this._cRef.instance),this._subscribeForDatepickerOutputs(this._cRef.instance),this._cRef.instance.ngOnInit(),this._cRef.instance.writeValue(this._dateAdapter.toModel(this._model)),this._cRef.instance.registerOnChange(function(e){t.writeValue(e),t._onChange(e),t._onTouched()}),this._cRef.changeDetectorRef.detectChanges(),this._cRef.instance.setDisabledState(this.disabled),"body"===this.container&&window.document.querySelector(this.container).appendChild(this._cRef.location.nativeElement),this._elWithFocus=this._document.activeElement,Nt(this._ngZone,this._cRef.location.nativeElement,this.closed,!0),this._cRef.instance.focus(),Rt(this._ngZone,this._document,this.autoClose,function(){return t.close()},this.closed,[],[this._elRef.nativeElement,this._cRef.location.nativeElement])}},t.prototype.close=function(){if(this.isOpen()){this._vcRef.remove(this._vcRef.indexOf(this._cRef.hostView)),this._cRef=null,this.closed.emit(),this._changeDetector.markForCheck();var t=this._elWithFocus;h(this.restoreFocus)?t=this._document.querySelector(this.restoreFocus):void 0!==this.restoreFocus&&(t=this.restoreFocus),t&&t.focus?t.focus():this._document.body.focus()}},t.prototype.toggle=function(){this.isOpen()?this.close():this.open()},t.prototype.navigateTo=function(t){this.isOpen()&&this._cRef.instance.navigateTo(t)},t.prototype.onBlur=function(){this._onTouched()},t.prototype.onFocus=function(){this._elWithFocus=this._elRef.nativeElement},t.prototype.ngOnChanges=function(t){(t.minDate||t.maxDate)&&(this._validatorChange(),this.isOpen()&&(t.minDate&&(this._cRef.instance.minDate=this._dateAdapter.toModel(t.minDate.currentValue)),t.maxDate&&(this._cRef.instance.maxDate=this._dateAdapter.toModel(t.maxDate.currentValue)),this._cRef.instance.ngOnChanges(t)))},t.prototype.ngOnDestroy=function(){this.close(),this._zoneSubscription.unsubscribe()},t.prototype._applyDatepickerInputs=function(t){var e=this;["dayTemplate","dayTemplateData","displayMonths","firstDayOfWeek","footerTemplate","markDisabled","minDate","maxDate","navigation","outsideDays","showNavigation","showWeekdays","showWeekNumbers"].forEach(function(n){void 0!==e[n]&&(t[n]=e[n])}),t.startDate=this.startDate||this._model},t.prototype._applyPopupStyling=function(t){this._renderer.addClass(t,"dropdown-menu"),this._renderer.addClass(t,"show"),"body"===this.container&&this._renderer.addClass(t,"ngb-dp-body")},t.prototype._subscribeForDatepickerOutputs=function(t){var e=this;t.navigate.subscribe(function(t){return e.navigate.emit(t)}),t.dateSelect.subscribe(function(t){e.dateSelect.emit(t),!0!==e.autoClose&&"inside"!==e.autoClose||e.close()})},t.prototype._writeModelValue=function(t){var e=this._parserFormatter.format(t);this._inputValue=e,this._renderer.setProperty(this._elRef.nativeElement,"value",e),this.isOpen()&&(this._cRef.instance.writeValue(this._dateAdapter.toModel(t)),this._onTouched())},t.prototype._fromDateStruct=function(t){var e=t?new X(t.year,t.month,t.day):null;return this._calendar.isValid(e)?e:null},t.prototype._updatePopupPosition=function(){if(this._cRef){var t;if(t=h(this.positionTarget)?this._document.querySelector(this.positionTarget):this.positionTarget instanceof HTMLElement?this.positionTarget:this._elRef.nativeElement,this.positionTarget&&!t)throw new Error("ngbDatepicker could not find element declared in [positionTarget] to position against.");Pt(t,this._cRef.location.nativeElement,this.placement,"body"===this.container)}},t.decorators=[{type:e.Directive,args:[{selector:"input[ngbDatepicker]",exportAs:"ngbDatepicker",host:{"(input)":"manualDateChange($event.target.value)","(change)":"manualDateChange($event.target.value, true)","(focus)":"onFocus()","(blur)":"onBlur()","[disabled]":"disabled"},providers:[Ht,Lt,{provide:gt,useExisting:Vt}]}]}],t.ctorParameters=function(){return[{type:At},{type:e.ElementRef},{type:e.ViewContainerRef},{type:e.Renderer2},{type:e.ComponentFactoryResolver},{type:e.NgZone},{type:et},{type:yt},{type:void 0,decorators:[{type:e.Inject,args:[n.DOCUMENT]}]},{type:e.ChangeDetectorRef},{type:Vt}]},t.propDecorators={autoClose:[{type:e.Input}],dayTemplate:[{type:e.Input}],dayTemplateData:[{type:e.Input}],displayMonths:[{type:e.Input}],firstDayOfWeek:[{type:e.Input}],footerTemplate:[{type:e.Input}],markDisabled:[{type:e.Input}],minDate:[{type:e.Input}],maxDate:[{type:e.Input}],navigation:[{type:e.Input}],outsideDays:[{type:e.Input}],placement:[{type:e.Input}],restoreFocus:[{type:e.Input}],showWeekdays:[{type:e.Input}],showWeekNumbers:[{type:e.Input}],startDate:[{type:e.Input}],container:[{type:e.Input}],positionTarget:[{type:e.Input}],dateSelect:[{type:e.Output}],navigate:[{type:e.Output}],closed:[{type:e.Output}],disabled:[{type:e.Input}]},t}(),$t=function(){function t(t){this.i18n=t}return t.prototype.isMuted=function(){return!this.selected&&(this.date.month!==this.currentMonth||this.disabled)},t.decorators=[{type:e.Component,args:[{selector:"[ngbDatepickerDayView]",changeDetection:e.ChangeDetectionStrategy.OnPush,encapsulation:e.ViewEncapsulation.None,host:{class:"btn-light","[class.bg-primary]":"selected","[class.text-white]":"selected","[class.text-muted]":"isMuted()","[class.outside]":"isMuted()","[class.active]":"focused"},template:"{{ i18n.getDayNumerals(date) }}",styles:["[ngbDatepickerDayView]{text-align:center;width:2rem;height:2rem;line-height:2rem;border-radius:.25rem;background:0 0}[ngbDatepickerDayView].outside{opacity:.5}"]}]}],t.ctorParameters=function(){return[{type:pt}]},t.propDecorators={currentMonth:[{type:e.Input}],date:[{type:e.Input}],disabled:[{type:e.Input}],focused:[{type:e.Input}],selected:[{type:e.Input}]},t}(),zt=function(){function t(t,n){this.i18n=t,this._renderer=n,this.select=new e.EventEmitter,this._month=-1,this._year=-1}return t.prototype.changeMonth=function(t){this.select.emit(new X(this.date.year,c(t),1))},t.prototype.changeYear=function(t){this.select.emit(new X(c(t),this.date.month,1))},t.prototype.ngAfterViewChecked=function(){this.date&&(this.date.month!==this._month&&(this._month=this.date.month,this._renderer.setProperty(this.monthSelect.nativeElement,"value",this._month)),this.date.year!==this._year&&(this._year=this.date.year,this._renderer.setProperty(this.yearSelect.nativeElement,"value",this._year)))},t.decorators=[{type:e.Component,args:[{selector:"ngb-datepicker-navigation-select",changeDetection:e.ChangeDetectionStrategy.OnPush,encapsulation:e.ViewEncapsulation.None,template:'\n <select #month\n [disabled]="disabled"\n class="custom-select"\n i18n-aria-label="@@ngb.datepicker.select-month" aria-label="Select month"\n i18n-title="@@ngb.datepicker.select-month" title="Select month"\n (change)="changeMonth($event.target.value)">\n <option *ngFor="let m of months" [attr.aria-label]="i18n.getMonthFullName(m, date?.year)"\n [value]="m">{{ i18n.getMonthShortName(m, date?.year) }}</option>\n </select><select #year\n [disabled]="disabled"\n class="custom-select"\n i18n-aria-label="@@ngb.datepicker.select-year" aria-label="Select year"\n i18n-title="@@ngb.datepicker.select-year" title="Select year"\n (change)="changeYear($event.target.value)">\n <option *ngFor="let y of years" [value]="y">{{ i18n.getYearNumerals(y) }}</option>\n </select>\n ',styles:["ngb-datepicker-navigation-select>.custom-select{-ms-flex:1 1 auto;flex:1 1 auto;padding:0 .5rem;font-size:.875rem;height:1.85rem}ngb-datepicker-navigation-select>.custom-select:focus{z-index:1}ngb-datepicker-navigation-select>.custom-select::-ms-value{background-color:transparent!important}"]}]}],t.ctorParameters=function(){return[{type:pt},{type:e.Renderer2}]},t.propDecorators={date:[{type:e.Input}],disabled:[{type:e.Input}],months:[{type:e.Input}],years:[{type:e.Input}],select:[{type:e.Output}],monthSelect:[{type:e.ViewChild,args:["month",{static:!0,read:e.ElementRef}]}],yearSelect:[{type:e.ViewChild,args:["year",{static:!0,read:e.ElementRef}]}]},t}(),Bt=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return s(n,t),n.prototype.getDaysPerWeek=function(){return 7},n.prototype.getMonths=function(){return[1,2,3,4,5,6,7,8,9,10,11,12]},n.prototype.getWeeksPerMonth=function(){return 6},n.prototype.getNext=function(t,e,n){switch(void 0===e&&(e="d"),void 0===n&&(n=1),t=new X(t.year,t.month,t.day),e){case"y":return(t=this._setYear(t,t.year+n)).month=1,t.day=1,t;case"m":return(t=this._setMonth(t,t.month+n)).day=1,t;case"d":return this._setDay(t,t.day+n);default:return t}},n.prototype.getPrev=function(t,e,n){return void 0===e&&(e="d"),void 0===n&&(n=1),this.getNext(t,e,-n)},n.prototype.getWeekday=function(t){var e=this.toGregorian(t).getDay();return 0===e?7:e},n.prototype.getWeekNumber=function(t,e){7===e&&(e=0);var n=t[(11-e)%7],o=this.toGregorian(n);o.setDate(o.getDate()+4-(o.getDay()||7));var i=o.getTime(),r=this.toGregorian(new X(n.year,1,1));return Math.floor(Math.round((i-r.getTime())/864e5)/7)+1},n.prototype.getToday=function(){return this.fromGregorian(new Date)},n.prototype.isValid=function(t){return t&&f(t.year)&&f(t.month)&&f(t.day)&&!isNaN(this.toGregorian(t).getTime())},n.prototype._setDay=function(t,e){e=+e;var n=this.getDaysPerMonth(t.month,t.year);if(e<=0)for(;e<=0;)t=this._setMonth(t,t.month-1),e+=n=this.getDaysPerMonth(t.month,t.year);else if(e>n)for(;e>n;)e-=n,t=this._setMonth(t,t.month+1),n=this.getDaysPerMonth(t.month,t.year);return t.day=e,t},n.prototype._setMonth=function(t,e){return e=+e,t.year=t.year+Math.floor((e-1)/12),t.month=Math.floor(((e-1)%12+12)%12)+1,t},n.prototype._setYear=function(t,e){return t.year=+e,t},n.decorators=[{type:e.Injectable}],n}(et);function Ut(t){var e=t.getFullYear();return e%4==0&&e%100!=0||e%400==0}function qt(t,e){return t-e*Math.floor(t/e)}var Kt=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return s(n,t),n.prototype.fromGregorian=function(t){var e,n=t.getFullYear(),o=t.getMonth(),i=t.getDate(),r=1721424.5+365*(n-1)+Math.floor((n-1)/4)+-Math.floor((n-1)/100)+Math.floor((n-1)/400)+Math.floor((367*(o+1)-362)/12+(o+1<=2?0:Ut(t)?-1:-2)+i),a=(r=Math.floor(r)+.5)-1948439.5,s=Math.floor((30*a+10646)/10631),l=Math.ceil((a-29-(354*((e=s)-1)+Math.floor((3+11*e)/30)))/29.5);l=Math.min(l,11);var p=Math.ceil(a-function(t,e){return Math.ceil(29.5*e)+354*(t-1)+Math.floor((3+11*t)/30)}(s,l))+1;return new X(s,l+1,p)},n.prototype.toGregorian=function(t){var e=t.year,n=t.month-1,o=t.day+Math.ceil(29.5*n)+354*(e-1)+Math.floor((3+11*e)/30)+1948439.5-1,i=Math.floor(o-.5)+.5,r=i-1721425.5,a=Math.floor(r/146097),s=qt(r,146097),l=Math.floor(s/36524),p=qt(s,36524),c=Math.floor(p/1461),u=qt(p,1461),d=Math.floor(u/365),h=400*a+100*l+4*c+d;4!==l&&4!==d&&h++;var f=i-(1721425.5+365*(h-1)+Math.floor((h-1)/4)-Math.floor((h-1)/100)+Math.floor((h-1)/400)),g=i<1721424.5+365*(h-1)+Math.floor((h-1)/4)-Math.floor((h-1)/100)+Math.floor((h-1)/400)+Math.floor(739/12+(Ut(new Date(h,3,1))?-1:-2)+1)?0:Ut(new Date(h,3,1))?1:2,m=Math.floor((12*(f+g)+373)/367),y=1721424.5+365*(h-1)+Math.floor((h-1)/4)-Math.floor((h-1)/100)+Math.floor((h-1)/400)+Math.floor((367*m-362)/12+(m<=2?0:Ut(new Date(h,m-1,1))?-1:-2)+1);return new Date(h,m-1,i-y+1)},n.prototype.getDaysPerMonth=function(t,e){e+=Math.floor(t/13);var n=29+(t=(t-1)%12+1)%2;return 12===t&&(14+11*e)%30<11&&n++,n},n.decorators=[{type:e.Injectable}],n}(Bt),Zt=new Date(1882,10,12),Gt=new Date(2174,10,25),Yt=864e5,Xt=["101010101010","110101010100","111011001001","011011010100","011011101010","001101101100","101010101101","010101010101","011010101001","011110010010","101110101001","010111010100","101011011010","010101011100","110100101101","011010010101","011101001010","101101010100","101101101010","010110101101","010010101110","101001001111","010100010111","011010001011","011010100101","101011010101","001011010110","100101011011","010010011101","101001001101","110100100110","110110010101","010110101100","100110110110","001010111010","101001011011","010100101011","101010010101","011011001010","101011101001","001011110100","100101110110","001010110110","100101010110","101011001010","101110100100","101111010010","010111011001","001011011100","100101101101","010101001101","101010100101","101101010010","101110100101","010110110100","100110110110","010101010111","001010010111","010101001011","011010100011","011101010010","101101100101","010101101010","101010101011","010100101011","110010010101","110101001010","110110100101","010111001010","101011010110","100101010111","010010101011","100101001011","101010100101","101101010010","101101101010","010101110101","001001110110","100010110111","010001011011","010101010101","010110101001","010110110100","100111011010","010011011101","001001101110","100100110110","101010101010","110101010100","110110110010","010111010101","001011011010","100101011011","010010101011","101001010101","101101001001","101101100100","101101110001","010110110100","101010110101","101001010101","110100100101","111010010010","111011001001","011011010100","101011101001","100101101011","010010101011","101010010011","110101001001","110110100100","110110110010","101010111001","010010111010","101001011011","010100101011","101010010101","101100101010","101101010101","010101011100","010010111101","001000111101","100100011101","101010010101","101101001010","101101011010","010101101101","001010110110","100100111011","010010011011","011001010101","011010101001","011101010100","101101101010","010101101100","101010101101","010101010101","101100101001","101110010010","101110101001","010111010100","101011011010","010101011010","101010101011","010110010101","011101001001","011101100100","101110101010","010110110101","001010110110","101001010110","111001001101","101100100101","101101010010","101101101010","010110101101","001010101110","100100101111","010010010111","011001001011","011010100101","011010101100","101011010110","010101011101","010010011101","101001001101","110100010110","110110010101","010110101010","010110110101","001011011010","100101011011","010010101101","010110010101","011011001010","011011100100","101011101010","010011110101","001010110110","100101010110","101010101010","101101010100","101111010010","010111011001","001011101010","100101101101","010010101101","101010010101","101101001010","101110100101","010110110010","100110110101","010011010110","101010010111","010101000111","011010010011","011101001001","101101010101","010101101010","101001101011","010100101011","101010001011","110101000110","110110100011","010111001010","101011010110","010011011011","001001101011","100101001011","101010100101","101101010010","101101101001","010101110101","000101110110","100010110111","001001011011","010100101011","010101100101","010110110100","100111011010","010011101101","000101101101","100010110110","101010100110","110101010010","110110101001","010111010100","101011011010","100101011011","010010101011","011001010011","011100101001","011101100010","101110101001","010110110010","101010110101","010101010101","101100100101","110110010010","111011001001","011011010010","101011101001","010101101011","010010101011","101001010101","110100101001","110101010100","110110101010","100110110101","010010111010","101000111011","010010011011","101001001101","101010101010","101011010101","001011011010","100101011101","010001011110","101000101110","110010011010","110101010101","011010110010","011010111001","010010111010","101001011101","010100101101","101010010101","101101010010","101110101000","101110110100","010110111001","001011011010","100101011010","101101001010","110110100100","111011010001","011011101000","101101101010","010101101101","010100110101","011010010101","110101001010","110110101000","110111010100","011011011010","010101011011","001010011101","011000101011","101100010101","101101001010","101110010101","010110101010","101010101110","100100101110","110010001111","010100100111","011010010101","011010101010","101011010110","010101011101","001010011101"];var Jt=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return s(n,t),n.prototype.fromGregorian=function(e){var n,o,i,r,a,s=1,l=(n=e,o=Zt,i=Date.UTC(n.getFullYear(),n.getMonth(),n.getDate()),r=Date.UTC(o.getFullYear(),o.getMonth(),o.getDate()),a=Math.abs(i-r),Math.round(a/Yt));if(!(e.getTime()-Zt.getTime()>=0&&e.getTime()-Gt.getTime()<=0))return t.prototype.fromGregorian.call(this,e);for(var p=1300,c=0;c<Xt.length;c++,p++)for(var u=0;u<12;u++){var d=+Xt[c][u]+29;if(l<=d)return(s=l+1)>d&&(s=1,u++),u>11&&(u=0,p++),new X(p,u+1,s);l-=d}},n.prototype.toGregorian=function(e){var n=e.year,o=e.month-1,i=e.day,r=new Date(Zt),a=i-1;if(n>=1300&&n<=1600){for(var s=0;s<n-1300;s++)for(var l=0;l<12;l++)a+=+Xt[s][l]+29;for(l=0;l<o;l++)a+=+Xt[n-1300][l]+29;r.setDate(Zt.getDate()+a)}else r=t.prototype.toGregorian.call(this,e);return r},n.prototype.getDaysPerMonth=function(e,n){return n>=1300&&n<=1600?+Xt[n-1300][e-1]+29:t.prototype.getDaysPerMonth.call(this,e,n)},n.decorators=[{type:e.Injectable}],n}(Kt);function Qt(t){var e,n,o,i,r=re((e=t.year,n=t.month,o=t.day,ae((i=ie(e)).gy,3,i.march)+31*(n-1)-oe(n,7)*(n-7)+o-1));return r.setHours(6,30,3,200),r}function te(t){return function(t){var e,n,o,i=re(t).getFullYear(),r=i-621,a=ie(r),s=ae(i,3,a.march);if((o=t-s)>=0){if(o<=185)return n=1+oe(o,31),e=ne(o,31)+1,new X(r,n,e);o-=186}else r-=1,o+=179,1===a.leap&&(o+=1);return n=7+oe(o,30),e=ne(o,30)+1,new X(r,n,e)}(ae(t.getFullYear(),t.getMonth()+1,t.getDate()))}function ee(t,e){return e=+e,t.year=t.year+Math.floor((e-1)/12),t.month=Math.floor(((e-1)%12+12)%12)+1,t}function ne(t,e){return t-e*Math.floor(t/e)}function oe(t,e){return Math.trunc(t/e)}function ie(t){var e,n=[-61,9,38,199,426,686,756,818,1111,1181,1210,1635,2060,2097,2192,2262,2324,2394,2456,3178],o=n.length,i=t+621,r=-14,a=n[0];if(t<a||t>=n[o-1])throw new Error("Invalid Jalali year "+t);for(var s=1;s<o;s+=1){var l=n[s];if(e=l-a,t<l)break;r=r+8*oe(e,33)+oe(ne(e,33),4),a=l}var p=t-a;r=r+8*oe(p,33)+oe(ne(p,33)+3,4),4===ne(e,33)&&e-p==4&&(r+=1);var c=20+r-(oe(i,4)-oe(3*(oe(i,100)+1),4)-150);e-p<6&&(p=p-e+33*oe(e+4,33));var u=ne(ne(p+1,33)-1,4);return-1===u&&(u=4),{leap:u,gy:i,march:c}}function re(t){var e=4*t+139361631;e=e+4*oe(3*oe(4*t+183187720,146097),4)-3908;var n=5*oe(ne(e,1461),4)+308,o=oe(ne(n,153),5)+1,i=ne(oe(n,153),12)+1,r=oe(e,1461)-100100+oe(8-i,6);return new Date(r,i-1,o)}function ae(t,e,n){var o=oe(1461*(t+oe(e-8,6)+100100),4)+oe(153*ne(e+9,12)+2,5)+n-34840408;return o=o-oe(3*oe(t+100100+oe(e-8,6),100),4)+752}function se(t,e){return t<=6?31:t<=11?30:0===ie(e).leap?30:29}var le=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return s(n,t),n.prototype.getDaysPerWeek=function(){return 7},n.prototype.getMonths=function(){return[1,2,3,4,5,6,7,8,9,10,11,12]},n.prototype.getWeeksPerMonth=function(){return 6},n.prototype.getNext=function(t,e,n){switch(void 0===e&&(e="d"),void 0===n&&(n=1),t=new X(t.year,t.month,t.day),e){case"y":return(t=function(t,e){return t.year=+e,t}(t,t.year+n)).month=1,t.day=1,t;case"m":return(t=ee(t,t.month+n)).day=1,t;case"d":return function(t,e){var n=se(t.month,t.year);if(e<=0)for(;e<=0;)e+=n=se((t=ee(t,t.month-1)).month,t.year);else if(e>n)for(;e>n;)e-=n,n=se((t=ee(t,t.month+1)).month,t.year);return t.day=e,t}(t,t.day+n);default:return t}},n.prototype.getPrev=function(t,e,n){return void 0===e&&(e="d"),void 0===n&&(n=1),this.getNext(t,e,-n)},n.prototype.getWeekday=function(t){var e=Qt(t).getDay();return 0===e?7:e},n.prototype.getWeekNumber=function(t,e){7===e&&(e=0);var n=t[(11-e)%7],o=Qt(n);o.setDate(o.getDate()+4-(o.getDay()||7));var i=o.getTime(),r=Qt(new X(n.year,1,1));return Math.floor(Math.round((i-r.getTime())/864e5)/7)+1},n.prototype.getToday=function(){return te(new Date)},n.prototype.isValid=function(t){return t&&g(t.year)&&g(t.month)&&g(t.day)&&!isNaN(Qt(t).getTime())},n.decorators=[{type:e.Injectable}],n}(et),pe=1080,ce=24*pe,ue=12*pe+793,de=29*ce+ue,he=11*pe+204,fe=2092591,ge=1721425.5;function me(t){return t%4==0&&t%100!=0||t%400==0}function ye(t){var e=Math.floor((235*t-234)/19),n=e*ue+he,o=29*e+Math.floor(n/ce),i=n%ce,r=o%7;return 2!==r&&4!==r&&6!==r||(r=++o%7),1===r&&i>15*pe+204&&!we(t)?o+=2:0===r&&i>21*pe+589&&we(t-1)&&o++,o}function be(t,e){var n=[31,28,31,30,31,30,31,31,30,31,30,31];return me(e)&&n[1]++,n[t-1]}function ve(t){return we(t)?13:12}function _e(t){return ye(t+1)-ye(t)}function we(t){var e=(12*t+17)%19;return e>=(e<0?-7:12)}function De(t,e){var n=ye(e+1)-ye(e),o=(n<=380?n:n-30)-353,i=we(e)?[30,29,29,29,30,30,29,30,29,30,29,30,29]:[30,29,29,29,30,29,30,29,30,29,30,29];return o>0&&i[2]++,o>1&&i[1]++,i[t-1]}function Ie(t){for(var e=0,n=1;n<t.month;n++)e+=De(n,t.year);return e+t.day}function Ce(t){for(var e=new Date(t),n=e.getFullYear(),o=e.getMonth(),i=e.getDate(),r=ge-1+365*(n-1)+Math.floor((n-1)/4)-Math.floor((n-1)/100)+Math.floor((n-1)/400)+Math.floor((367*(o+1)-362)/12+(o+1<=2?0:me(n)?-1:-2)+i),a=(r=Math.floor(r+.5))-347997,s=Math.floor(a*ce/de),l=Math.floor((19*s+234)/235)+1,p=ye(l),c=a-p;c<1;)c=a-(p=ye(--l));for(var u=1,d=c;d>De(u,l);)d-=De(u,l),u++;return new X(l,u,d)}function ke(t){for(var e=t.year,n=t.month,o=t.day,i=ye(e),r=1;r<n;r++)i+=De(r,e);var a=(i+=o)-fe,s=a>=0;s||(a=-a);for(var l=1970,p=1,c=1;a>0;)s?a>=(me(l)?366:365)?(a-=me(l)?366:365,l++):a>=be(p,l)?(a-=be(p,l),p++):(c+=a,a=0):a>=(me(l-1)?366:365)?(a-=me(l-1)?366:365,l--):(p>1?p--:(p=12,l--),a>=be(p,l)?a-=be(p,l):(c=be(p,l)-a+1,a=0));return new Date(l,p-1,c)}function xe(t){if(!t)return"";for(var e=["","א","ב","ג","ד","ה","ו","ז","ח","ט"],n=["י","יא","יב","יג","יד","טו","טז","יז","יח","יט"],o=["","","כ","ל","מ","נ","ס","ע","פ","צ"],i=["","ק","ר","ש","ת","תק","תר","תש","תת","תתק"],r=["","א","ב","בא","בב","ה","הא","הב","הבא","הבב"],a=0,s=[],l=0;t>0;){var p=t%10;if(0===l)a=p;else if(1===l)1!==p?s.unshift(o[p],e[a]):s.unshift(n[a]);else{if(2!==l){5!==p&&s.unshift(r[p],"׳"," ");break}s.unshift(i[p])}t=Math.floor(t/10),0===l&&0===t&&s.unshift(e[p]),l++}return 1===(s=s.join("").split("")).length?s.push("׳"):s.length>1&&s.splice(s.length-1,0,"״"),s.join("")}var Re=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return s(n,t),n.prototype.getDaysPerWeek=function(){return 7},n.prototype.getMonths=function(t){return t&&we(t)?[1,2,3,4,5,6,7,8,9,10,11,12,13]:[1,2,3,4,5,6,7,8,9,10,11,12]},n.prototype.getWeeksPerMonth=function(){return 6},n.prototype.isValid=function(t){var e=t&&f(t.year)&&f(t.month)&&f(t.day);return(e=(e=e&&t.month>0&&t.month<=(we(t.year)?13:12))&&t.day>0&&t.day<=De(t.month,t.year))&&!isNaN(ke(t).getTime())},n.prototype.getNext=function(t,e,n){switch(void 0===e&&(e="d"),void 0===n&&(n=1),t=new X(t.year,t.month,t.day),e){case"y":return t.year+=n,t.month=1,t.day=1,t;case"m":return(t=function(t,e){var n=e>=0;for(n||(e=-e);e>0;)n?e>ve(t.year)-t.month?(e-=ve(t.year)-t.month+1,t.year++,t.month=1):(t.month+=e,e=0):e>=t.month?(t.year--,e-=t.month,t.month=ve(t.year)):(t.month-=e,e=0);return t}(t,n)).day=1,t;case"d":return function(t,e){var n=e>=0;for(n||(e=-e);e>0;)n?e>_e(t.year)-Ie(t)?(e-=_e(t.year)-Ie(t)+1,t.year++,t.month=1,t.day=1):e>De(t.month,t.year)-t.day?(e-=De(t.month,t.year)-t.day+1,t.month++,t.day=1):(t.day+=e,e=0):e>=t.day?(e-=t.day,t.month--,0===t.month&&(t.year--,t.month=ve(t.year)),t.day=De(t.month,t.year)):(t.day-=e,e=0);return t}(t,n);default:return t}},n.prototype.getPrev=function(t,e,n){return void 0===e&&(e="d"),void 0===n&&(n=1),this.getNext(t,e,-n)},n.prototype.getWeekday=function(t){var e=ke(t).getDay();return 0===e?7:e},n.prototype.getWeekNumber=function(t,e){var n=t[t.length-1];return Math.ceil(Ie(n)/7)},n.prototype.getToday=function(){return Ce(new Date)},n.prototype.toGregorian=function(t){return J(ke(t))},n.prototype.fromGregorian=function(t){return Ce(Q(t))},n.decorators=[{type:e.Injectable}],n}(et),Ee=["שני","שלישי","רביעי","חמישי","שישי","שבת","ראשון"],Se=["תשרי","חשון","כסלו","טבת","שבט","אדר","ניסן","אייר","סיון","תמוז","אב","אלול"],Ne=["תשרי","חשון","כסלו","טבת","שבט","אדר א׳","אדר ב׳","ניסן","אייר","סיון","תמוז","אב","אלול"],Te=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return s(n,t),n.prototype.getMonthShortName=function(t,e){return this.getMonthFullName(t,e)},n.prototype.getMonthFullName=function(t,e){return we(e)?Ne[t-1]:Se[t-1]},n.prototype.getWeekdayShortName=function(t){return Ee[t-1]},n.prototype.getDayAriaLabel=function(t){return xe(t.day)+" "+this.getMonthFullName(t.month,t.year)+" "+xe(t.year)},n.prototype.getDayNumerals=function(t){return xe(t.day)},n.prototype.getWeekNumerals=function(t){return xe(t)},n.prototype.getYearNumerals=function(t){return xe(t)},n.decorators=[{type:e.Injectable}],n}(pt),Oe=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return s(n,t),n.prototype.fromModel=function(t){return t instanceof Date&&!isNaN(t.getTime())?this._fromNativeDate(t):null},n.prototype.toModel=function(t){return t&&g(t.year)&&g(t.month)&&g(t.day)?this._toNativeDate(t):null},n.prototype._fromNativeDate=function(t){return{year:t.getFullYear(),month:t.getMonth()+1,day:t.getDate()}},n.prototype._toNativeDate=function(t){var e=new Date(t.year,t.month-1,t.day,12);return e.setFullYear(t.year),e},n.decorators=[{type:e.Injectable}],n}(yt),Me=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return s(n,t),n.prototype._fromNativeDate=function(t){return{year:t.getUTCFullYear(),month:t.getUTCMonth()+1,day:t.getUTCDate()}},n.prototype._toNativeDate=function(t){var e=new Date(Date.UTC(t.year,t.month-1,t.day));return e.setUTCFullYear(t.year),e},n.decorators=[{type:e.Injectable}],n}(Oe),Pe=function(){function t(){}return t.decorators=[{type:e.NgModule,args:[{declarations:[_t,wt,Dt,zt,$t,Wt],exports:[_t,Wt],imports:[n.CommonModule,o.FormsModule],entryComponents:[_t]}]}],t}(),je=function(){function t(){this.autoClose=!0,this.placement=["bottom-left","bottom-right","top-left","top-right"]}return t.decorators=[{type:e.Injectable,args:[{providedIn:"root"}]}],t.ngInjectableDef=e.ɵɵdefineInjectable({factory:function(){return new t},token:t,providedIn:"root"}),t}(),Ae=function(){function t(){}return t.decorators=[{type:e.Directive,args:[{selector:".navbar"}]}],t}(),Fe=function(){function t(t){this.elementRef=t,this._disabled=!1}return Object.defineProperty(t.prototype,"disabled",{get:function(){return this._disabled},set:function(t){this._disabled=""===t||!0===t},enumerable:!0,configurable:!0}),t.decorators=[{type:e.Directive,args:[{selector:"[ngbDropdownItem]",host:{class:"dropdown-item","[class.disabled]":"disabled"}}]}],t.ctorParameters=function(){return[{type:e.ElementRef}]},t.propDecorators={disabled:[{type:e.Input}]},t}(),Ve=function(){function t(t){this.dropdown=t,this.placement="bottom",this.isOpen=!1}return t.decorators=[{type:e.Directive,args:[{selector:"[ngbDropdownMenu]",host:{"[class.dropdown-menu]":"true","[class.show]":"dropdown.isOpen()","[attr.x-placement]":"placement","(keydown.ArrowUp)":"dropdown.onKeyDown($event)","(keydown.ArrowDown)":"dropdown.onKeyDown($event)","(keydown.Home)":"dropdown.onKeyDown($event)","(keydown.End)":"dropdown.onKeyDown($event)","(keydown.Enter)":"dropdown.onKeyDown($event)","(keydown.Space)":"dropdown.onKeyDown($event)"}}]}],t.ctorParameters=function(){return[{type:void 0,decorators:[{type:e.Inject,args:[e.forwardRef(function(){return We})]}]}]},t.propDecorators={menuItems:[{type:e.ContentChildren,args:[Fe]}]},t}(),He=function(){function t(t,e){this.dropdown=t,this._elementRef=e,this.anchorEl=e.nativeElement}return t.prototype.getNativeElement=function(){return this._elementRef.nativeElement},t.decorators=[{type:e.Directive,args:[{selector:"[ngbDropdownAnchor]",host:{class:"dropdown-toggle","aria-haspopup":"true","[attr.aria-expanded]":"dropdown.isOpen()"}}]}],t.ctorParameters=function(){return[{type:void 0,decorators:[{type:e.Inject,args:[e.forwardRef(function(){return We})]}]},{type:e.ElementRef}]},t}(),Le=function(t){function n(e,n){return t.call(this,e,n)||this}return s(n,t),n.decorators=[{type:e.Directive,args:[{selector:"[ngbDropdownToggle]",host:{class:"dropdown-toggle","aria-haspopup":"true","[attr.aria-expanded]":"dropdown.isOpen()","(click)":"dropdown.toggle()","(keydown.ArrowUp)":"dropdown.onKeyDown($event)","(keydown.ArrowDown)":"dropdown.onKeyDown($event)","(keydown.Home)":"dropdown.onKeyDown($event)","(keydown.End)":"dropdown.onKeyDown($event)"},providers:[{provide:He,useExisting:e.forwardRef(function(){return n})}]}]}],n.ctorParameters=function(){return[{type:void 0,decorators:[{type:e.Inject,args:[e.forwardRef(function(){return We})]}]},{type:e.ElementRef}]},n}(He),We=function(){function t(t,n,o,r,a,s,l){var p=this;this._changeDetector=t,this._document=o,this._ngZone=r,this._elementRef=a,this._renderer=s,this._closed$=new i.Subject,this._open=!1,this.openChange=new e.EventEmitter,this.placement=n.placement,this.container=n.container,this.autoClose=n.autoClose,this.display=l?"static":"dynamic",this._zoneSubscription=r.onStable.subscribe(function(){p._positionMenu()})}return t.prototype.ngAfterContentInit=function(){var t=this;this._ngZone.onStable.pipe(r.take(1)).subscribe(function(){t._applyPlacementClasses(),t._open&&t._setCloseHandlers()})},t.prototype.ngOnChanges=function(t){t.container&&this._open&&this._applyContainer(this.container),t.placement&&!t.placement.isFirstChange&&this._applyPlacementClasses()},t.prototype.isOpen=function(){return this._open},t.prototype.open=function(){this._open||(this._open=!0,this._applyContainer(this.container),this.openChange.emit(!0),this._setCloseHandlers())},t.prototype._setCloseHandlers=function(){var t=this,e=this._anchor;Rt(this._ngZone,this._document,this.autoClose,function(){return t.close()},this._closed$,this._menu?[this._menuElement.nativeElement]:[],e?[e.getNativeElement()]:[],".dropdown-item,.dropdown-divider")},t.prototype.close=function(){this._open&&(this._open=!1,this._resetContainer(),this._closed$.next(),this.openChange.emit(!1),this._changeDetector.markForCheck())},t.prototype.toggle=function(){this.isOpen()?this.close():this.open()},t.prototype.ngOnDestroy=function(){this._resetContainer(),this._closed$.next(),this._zoneSubscription.unsubscribe()},t.prototype.onKeyDown=function(t){var e=this,n=t.which,o=this._getMenuElements(),a=-1,s=!1,l=null,p=this._isEventFromToggle(t);if(!p&&o.length&&o.forEach(function(n,o){n.contains(t.target)&&(s=!0,l=n),n===e._document.activeElement&&(a=o)}),n!==dt.Space&&n!==dt.Enter){if(p||s){if(this.open(),o.length){switch(n){case dt.ArrowDown:a=Math.min(a+1,o.length-1);break;case dt.ArrowUp:if(this._isDropup()&&-1===a){a=o.length-1;break}a=Math.max(a-1,0);break;case dt.Home:a=0;break;case dt.End:a=o.length-1}o[a].focus()}t.preventDefault()}}else!s||!0!==this.autoClose&&"inside"!==this.autoClose||i.fromEvent(l,"click").pipe(r.take(1)).subscribe(function(){return e.close()})},t.prototype._isDropup=function(){return this._elementRef.nativeElement.classList.contains("dropup")},t.prototype._isEventFromToggle=function(t){return this._anchor.getNativeElement().contains(t.target)},t.prototype._getMenuElements=function(){var t=this._menu;return null==t?[]:t.menuItems.filter(function(t){return!t.disabled}).map(function(t){return t.elementRef.nativeElement})},t.prototype._positionMenu=function(){var t=this._menu;this.isOpen()&&t&&this._applyPlacementClasses("dynamic"===this.display?Pt(this._anchor.anchorEl,this._bodyContainer||this._menuElement.nativeElement,this.placement,"body"===this.container):this._getFirstPlacement(this.placement))},t.prototype._getFirstPlacement=function(t){return Array.isArray(t)?t[0]:t.split(" ")[0]},t.prototype._resetContainer=function(){var t=this._renderer,e=this._menuElement;if(e){var n=this._elementRef.nativeElement,o=e.nativeElement;t.appendChild(n,o),t.removeStyle(o,"position"),t.removeStyle(o,"transform")}this._bodyContainer&&(t.removeChild(this._document.body,this._bodyContainer),this._bodyContainer=null)},t.prototype._applyContainer=function(t){if(void 0===t&&(t=null),this._resetContainer(),"body"===t){var e=this._renderer,n=this._menuElement.nativeElement,o=this._bodyContainer=this._bodyContainer||e.createElement("div");e.setStyle(o,"position","absolute"),e.setStyle(n,"position","static"),e.setStyle(o,"z-index","1050"),e.appendChild(o,n),e.appendChild(this._document.body,o)}},t.prototype._applyPlacementClasses=function(t){var e=this._menu;if(e){t||(t=this._getFirstPlacement(this.placement));var n=this._renderer,o=this._elementRef.nativeElement;n.removeClass(o,"dropup"),n.removeClass(o,"dropdown"),e.placement="static"===this.display?null:t;var i=-1!==t.search("^top")?"dropup":"dropdown";n.addClass(o,i);var r=this._bodyContainer;r&&(n.removeClass(r,"dropup"),n.removeClass(r,"dropdown"),n.addClass(r,i))}},t.decorators=[{type:e.Directive,args:[{selector:"[ngbDropdown]",exportAs:"ngbDropdown",host:{"[class.show]":"isOpen()"}}]}],t.ctorParameters=function(){return[{type:e.ChangeDetectorRef},{type:je},{type:void 0,decorators:[{type:e.Inject,args:[n.DOCUMENT]}]},{type:e.NgZone},{type:e.ElementRef},{type:e.Renderer2},{type:Ae,decorators:[{type:e.Optional}]}]},t.propDecorators={_menu:[{type:e.ContentChild,args:[Ve,{static:!1}]}],_menuElement:[{type:e.ContentChild,args:[Ve,{read:e.ElementRef,static:!1}]}],_anchor:[{type:e.ContentChild,args:[He,{static:!1}]}],autoClose:[{type:e.Input}],_open:[{type:e.Input,args:["open"]}],placement:[{type:e.Input}],container:[{type:e.Input}],display:[{type:e.Input}],openChange:[{type:e.Output}]},t}(),$e=[We,He,Le,Ve,Fe,Ae],ze=function(){function t(){}return t.decorators=[{type:e.NgModule,args:[{declarations:$e,exports:$e}]}],t}(),Be=function(){function t(){this.backdrop=!0,this.keyboard=!0}return t.decorators=[{type:e.Injectable,args:[{providedIn:"root"}]}],t.ngInjectableDef=e.ɵɵdefineInjectable({factory:function(){return new t},token:t,providedIn:"root"}),t}(),Ue=function(t,e,n){this.nodes=t,this.viewRef=e,this.componentRef=n},qe=function(){function t(t,e,n,o,i,r){this._type=t,this._injector=e,this._viewContainerRef=n,this._renderer=o,this._componentFactoryResolver=i,this._applicationRef=r}return t.prototype.open=function(t,e){return this._windowRef||(this._contentRef=this._getContentRef(t,e),this._windowRef=this._viewContainerRef.createComponent(this._componentFactoryResolver.resolveComponentFactory(this._type),0,this._injector,this._contentRef.nodes)),this._windowRef},t.prototype.close=function(){this._windowRef&&(this._viewContainerRef.remove(this._viewContainerRef.indexOf(this._windowRef.hostView)),this._windowRef=null,this._contentRef.viewRef&&(this._applicationRef.detachView(this._contentRef.viewRef),this._contentRef.viewRef.destroy(),this._contentRef=null))},t.prototype._getContentRef=function(t,n){if(t){if(t instanceof e.TemplateRef){var o=t.createEmbeddedView(n);return this._applicationRef.attachView(o),new Ue([o.rootNodes],o)}return new Ue([[this._renderer.createText(""+t)]])}return new Ue([])},t}(),Ke=function(){},Ze=function(){function t(t){this._document=t}return t.prototype.compensate=function(){var t=this._getWidth();return this._isPresent(t)?this._adjustBody(t):Ke},t.prototype._adjustBody=function(t){var e=this._document.body,n=e.style.paddingRight,o=parseFloat(window.getComputedStyle(e)["padding-right"]);return e.style["padding-right"]=o+t+"px",function(){return e.style["padding-right"]=n}},t.prototype._isPresent=function(t){var e=this._document.body.getBoundingClientRect();return window.innerWidth-(e.left+e.right)>=t-.1*t},t.prototype._getWidth=function(){var t=this._document.createElement("div");t.className="modal-scrollbar-measure";var e=this._document.body;e.appendChild(t);var n=t.getBoundingClientRect().width-t.clientWidth;return e.removeChild(t),n},t.decorators=[{type:e.Injectable,args:[{providedIn:"root"}]}],t.ctorParameters=function(){return[{type:void 0,decorators:[{type:e.Inject,args:[n.DOCUMENT]}]}]},t.ngInjectableDef=e.ɵɵdefineInjectable({factory:function(){return new t(e.ɵɵinject(n.DOCUMENT))},token:t,providedIn:"root"}),t}(),Ge=function(){function t(){}return t.decorators=[{type:e.Component,args:[{selector:"ngb-modal-backdrop",encapsulation:e.ViewEncapsulation.None,template:"",host:{"[class]":'"modal-backdrop fade show" + (backdropClass ? " " + backdropClass : "")',style:"z-index: 1050"}}]}],t.propDecorators={backdropClass:[{type:e.Input}]},t}(),Ye=function(){function t(){}return t.prototype.close=function(t){},t.prototype.dismiss=function(t){},t}(),Xe=function(){function t(t,e,n,o){var i=this;this._windowCmptRef=t,this._contentRef=e,this._backdropCmptRef=n,this._beforeDismiss=o,t.instance.dismissEvent.subscribe(function(t){i.dismiss(t)}),this.result=new Promise(function(t,e){i._resolve=t,i._reject=e}),this.result.then(null,function(){})}return Object.defineProperty(t.prototype,"componentInstance",{get:function(){if(this._contentRef&&this._contentRef.componentRef)return this._contentRef.componentRef.instance},enumerable:!0,configurable:!0}),t.prototype.close=function(t){this._windowCmptRef&&(this._resolve(t),this._removeModalElements())},t.prototype._dismiss=function(t){this._reject(t),this._removeModalElements()},t.prototype.dismiss=function(t){var e=this;if(this._windowCmptRef)if(this._beforeDismiss){var n=this._beforeDismiss();n&&n.then?n.then(function(n){!1!==n&&e._dismiss(t)},function(){}):!1!==n&&this._dismiss(t)}else this._dismiss(t)},t.prototype._removeModalElements=function(){var t=this._windowCmptRef.location.nativeElement;if(t.parentNode.removeChild(t),this._windowCmptRef.destroy(),this._backdropCmptRef){var e=this._backdropCmptRef.location.nativeElement;e.parentNode.removeChild(e),this._backdropCmptRef.destroy()}this._contentRef&&this._contentRef.viewRef&&this._contentRef.viewRef.destroy(),this._windowCmptRef=null,this._backdropCmptRef=null,this._contentRef=null},t}(),Je={BACKDROP_CLICK:0,ESC:1};Je[Je.BACKDROP_CLICK]="BACKDROP_CLICK",Je[Je.ESC]="ESC";var Qe=function(){function t(t,n,o){this._document=t,this._elRef=n,this._zone=o,this._closed$=new i.Subject,this.backdrop=!0,this.keyboard=!0,this.dismissEvent=new e.EventEmitter}return t.prototype.dismiss=function(t){this.dismissEvent.emit(t)},t.prototype.ngOnInit=function(){this._elWithFocus=this._document.activeElement},t.prototype.ngAfterViewInit=function(){var t=this,e=this._elRef.nativeElement;if(this._zone.runOutsideAngular(function(){i.fromEvent(e,"keydown").pipe(r.takeUntil(t._closed$),r.filter(function(e){return e.which===dt.Escape&&t.keyboard})).subscribe(function(e){return requestAnimationFrame(function(){e.defaultPrevented||t._zone.run(function(){return t.dismiss(Je.ESC)})})});var n=!1;i.fromEvent(t._dialogEl.nativeElement,"mousedown").pipe(r.takeUntil(t._closed$),r.tap(function(){return n=!1}),r.switchMap(function(){return i.fromEvent(e,"mouseup").pipe(r.takeUntil(t._closed$),r.take(1))}),r.filter(function(t){var n=t.target;return e===n})).subscribe(function(){n=!0}),i.fromEvent(e,"click").pipe(r.takeUntil(t._closed$)).subscribe(function(o){var i=o.target;!0!==t.backdrop||e!==i||n||t._zone.run(function(){return t.dismiss(Je.BACKDROP_CLICK)}),n=!1})}),!e.contains(document.activeElement)){var n=e.querySelector("[ngbAutofocus]"),o=St(e)[0];(n||o||e).focus()}},t.prototype.ngOnDestroy=function(){var t,e=this,n=this._document.body,o=this._elWithFocus;t=o&&o.focus&&n.contains(o)?o:n,this._zone.runOutsideAngular(function(){setTimeout(function(){return t.focus()}),e._elWithFocus=null}),this._closed$.next()},t.decorators=[{type:e.Component,args:[{selector:"ngb-modal-window",host:{"[class]":'"modal fade show d-block" + (windowClass ? " " + windowClass : "")',role:"dialog",tabindex:"-1","[attr.aria-modal]":"true","[attr.aria-labelledby]":"ariaLabelledBy"},template:"\n <div #dialog [class]=\"'modal-dialog' + (size ? ' modal-' + size : '') + (centered ? ' modal-dialog-centered' : '') +\n (scrollable ? ' modal-dialog-scrollable' : '')\" role=\"document\">\n <div class=\"modal-content\"><ng-content></ng-content></div>\n </div>\n ",encapsulation:e.ViewEncapsulation.None,styles:["ngb-modal-window .component-host-scrollable{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;overflow:hidden}"]}]}],t.ctorParameters=function(){return[{type:void 0,decorators:[{type:e.Inject,args:[n.DOCUMENT]}]},{type:e.ElementRef},{type:e.NgZone}]},t.propDecorators={_dialogEl:[{type:e.ViewChild,args:["dialog",{static:!0}]}],ariaLabelledBy:[{type:e.Input}],backdrop:[{type:e.Input}],centered:[{type:e.Input}],keyboard:[{type:e.Input}],scrollable:[{type:e.Input}],size:[{type:e.Input}],windowClass:[{type:e.Input}],dismissEvent:[{type:e.Output,args:["dismiss"]}]},t}(),tn=function(){function t(t,e,n,o,r,a){var s=this;this._applicationRef=t,this._injector=e,this._document=n,this._scrollBar=o,this._rendererFactory=r,this._ngZone=a,this._activeWindowCmptHasChanged=new i.Subject,this._ariaHiddenValues=new Map,this._backdropAttributes=["backdropClass"],this._modalRefs=[],this._windowAttributes=["ariaLabelledBy","backdrop","centered","keyboard","scrollable","size","windowClass"],this._windowCmpts=[],this._activeWindowCmptHasChanged.subscribe(function(){if(s._windowCmpts.length){var t=s._windowCmpts[s._windowCmpts.length-1];Nt(s._ngZone,t.location.nativeElement,s._activeWindowCmptHasChanged),s._revertAriaHidden(),s._setAriaHidden(t.location.nativeElement)}})}return t.prototype.open=function(t,e,n,o){var i=this,r=m(o.container)?this._document.querySelector(o.container):this._document.body,a=this._rendererFactory.createRenderer(null,null),s=this._scrollBar.compensate(),l=function(){i._modalRefs.length||(a.removeClass(i._document.body,"modal-open"),i._revertAriaHidden())};if(!r)throw new Error('The specified modal container "'+(o.container||"body")+'" was not found in the DOM.');var p=new Ye,c=this._getContentRef(t,o.injector||e,n,p,o),u=!1!==o.backdrop?this._attachBackdrop(t,r):null,d=this._attachWindowComponent(t,r,c),h=new Xe(d,c,u,o.beforeDismiss);return this._registerModalRef(h),this._registerWindowCmpt(d),h.result.then(s,s),h.result.then(l,l),p.close=function(t){h.close(t)},p.dismiss=function(t){h.dismiss(t)},this._applyWindowOptions(d.instance,o),1===this._modalRefs.length&&a.addClass(this._document.body,"modal-open"),u&&u.instance&&this._applyBackdropOptions(u.instance,o),h},t.prototype.dismissAll=function(t){this._modalRefs.forEach(function(e){return e.dismiss(t)})},t.prototype.hasOpenModals=function(){return this._modalRefs.length>0},t.prototype._attachBackdrop=function(t,e){var n=t.resolveComponentFactory(Ge).create(this._injector);return this._applicationRef.attachView(n.hostView),e.appendChild(n.location.nativeElement),n},t.prototype._attachWindowComponent=function(t,e,n){var o=t.resolveComponentFactory(Qe).create(this._injector,n.nodes);return this._applicationRef.attachView(o.hostView),e.appendChild(o.location.nativeElement),o},t.prototype._applyWindowOptions=function(t,e){this._windowAttributes.forEach(function(n){m(e[n])&&(t[n]=e[n])})},t.prototype._applyBackdropOptions=function(t,e){this._backdropAttributes.forEach(function(n){m(e[n])&&(t[n]=e[n])})},t.prototype._getContentRef=function(t,n,o,i,r){return o?o instanceof e.TemplateRef?this._createFromTemplateRef(o,i):h(o)?this._createFromString(o):this._createFromComponent(t,n,o,i,r):new Ue([])},t.prototype._createFromTemplateRef=function(t,e){var n={$implicit:e,close:function(t){e.close(t)},dismiss:function(t){e.dismiss(t)}},o=t.createEmbeddedView(n);return this._applicationRef.attachView(o),new Ue([o.rootNodes],o)},t.prototype._createFromString=function(t){var e=this._document.createTextNode(""+t);return new Ue([[e]])},t.prototype._createFromComponent=function(t,n,o,i,r){var a=t.resolveComponentFactory(o),s=e.Injector.create({providers:[{provide:Ye,useValue:i}],parent:n}),l=a.create(s),p=l.location.nativeElement;return r.scrollable&&p.classList.add("component-host-scrollable"),this._applicationRef.attachView(l.hostView),new Ue([[p]],l.hostView,l)},t.prototype._setAriaHidden=function(t){var e=this,n=t.parentElement;n&&t!==this._document.body&&(Array.from(n.children).forEach(function(n){n!==t&&"SCRIPT"!==n.nodeName&&(e._ariaHiddenValues.set(n,n.getAttribute("aria-hidden")),n.setAttribute("aria-hidden","true"))}),this._setAriaHidden(n))},t.prototype._revertAriaHidden=function(){this._ariaHiddenValues.forEach(function(t,e){t?e.setAttribute("aria-hidden",t):e.removeAttribute("aria-hidden")}),this._ariaHiddenValues.clear()},t.prototype._registerModalRef=function(t){var e=this,n=function(){var n=e._modalRefs.indexOf(t);n>-1&&e._modalRefs.splice(n,1)};this._modalRefs.push(t),t.result.then(n,n)},t.prototype._registerWindowCmpt=function(t){var e=this;this._windowCmpts.push(t),this._activeWindowCmptHasChanged.next(),t.onDestroy(function(){var n=e._windowCmpts.indexOf(t);n>-1&&(e._windowCmpts.splice(n,1),e._activeWindowCmptHasChanged.next())})},t.decorators=[{type:e.Injectable,args:[{providedIn:"root"}]}],t.ctorParameters=function(){return[{type:e.ApplicationRef},{type:e.Injector},{type:void 0,decorators:[{type:e.Inject,args:[n.DOCUMENT]}]},{type:Ze},{type:e.RendererFactory2},{type:e.NgZone}]},t.ngInjectableDef=e.ɵɵdefineInjectable({factory:function(){return new t(e.ɵɵinject(e.ApplicationRef),e.ɵɵinject(e.INJECTOR),e.ɵɵinject(n.DOCUMENT),e.ɵɵinject(Ze),e.ɵɵinject(e.RendererFactory2),e.ɵɵinject(e.NgZone))},token:t,providedIn:"root"}),t}(),en=function(){function t(t,e,n,o){this._moduleCFR=t,this._injector=e,this._modalStack=n,this._config=o}return t.prototype.open=function(t,e){void 0===e&&(e={});var n=Object.assign({},this._config,e);return this._modalStack.open(this._moduleCFR,this._injector,t,n)},t.prototype.dismissAll=function(t){this._modalStack.dismissAll(t)},t.prototype.hasOpenModals=function(){return this._modalStack.hasOpenModals()},t.decorators=[{type:e.Injectable,args:[{providedIn:"root"}]}],t.ctorParameters=function(){return[{type:e.ComponentFactoryResolver},{type:e.Injector},{type:tn},{type:Be}]},t.ngInjectableDef=e.ɵɵdefineInjectable({factory:function(){return new t(e.ɵɵinject(e.ComponentFactoryResolver),e.ɵɵinject(e.INJECTOR),e.ɵɵinject(tn),e.ɵɵinject(Be))},token:t,providedIn:"root"}),t}(),nn=function(){function t(){}return t.decorators=[{type:e.NgModule,args:[{declarations:[Ge,Qe],entryComponents:[Ge,Qe],providers:[en]}]}],t}(),on=function(){function t(){this.destroyOnHide=!0,this.orientation="horizontal",this.roles="tablist"}return t.decorators=[{type:e.Injectable,args:[{providedIn:"root"}]}],t.ngInjectableDef=e.ɵɵdefineInjectable({factory:function(){return new t},token:t,providedIn:"root"}),t}(),rn=function(t){return m(t)&&""!==t},an=0,sn=function(){function t(t){this.templateRef=t}return t.decorators=[{type:e.Directive,args:[{selector:"ng-template[ngbNavContent]"}]}],t.ctorParameters=function(){return[{type:e.TemplateRef}]},t}(),ln=function(){function t(t,e){this.elementRef=e,this.disabled=!1,this._nav=t}return t.prototype.ngAfterContentChecked=function(){this.contentTpl=this.contentTpls.first},t.prototype.ngOnInit=function(){m(this.domId)||(this.domId="ngb-nav-"+an++)},Object.defineProperty(t.prototype,"active",{get:function(){return this._nav.activeId===this.id},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"id",{get:function(){return rn(this._id)?this._id:this.domId},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"panelDomId",{get:function(){return this.domId+"-panel"},enumerable:!0,configurable:!0}),t.prototype.isPanelInDom=function(){return(m(this.destroyOnHide)?!this.destroyOnHide:!this._nav.destroyOnHide)||this.active},t.decorators=[{type:e.Directive,args:[{selector:"[ngbNavItem]",exportAs:"ngbNavItem",host:{"[class.nav-item]":"true"}}]}],t.ctorParameters=function(){return[{type:void 0,decorators:[{type:e.Inject,args:[e.forwardRef(function(){return pn})]}]},{type:e.ElementRef}]},t.propDecorators={destroyOnHide:[{type:e.Input}],disabled:[{type:e.Input}],domId:[{type:e.Input}],_id:[{type:e.Input,args:["ngbNavItem"]}],contentTpls:[{type:e.ContentChildren,args:[sn,{descendants:!1}]}]},t}(),pn=function(){function t(t,n,o){this.role=t,this._cd=o,this.activeIdChange=new e.EventEmitter,this.navChange=new e.EventEmitter,this.destroyOnHide=n.destroyOnHide,this.orientation=n.orientation,this.roles=n.roles}return t.prototype.click=function(t){t.disabled||this._updateActiveId(t.id)},t.prototype.select=function(t){this._updateActiveId(t,!1)},t.prototype.ngAfterContentInit=function(){if(!m(this.activeId)){var t=this.items.first?this.items.first.id:null;rn(t)&&(this._updateActiveId(t,!1),this._cd.detectChanges())}},t.prototype._updateActiveId=function(t,e){if(void 0===e&&(e=!0),this.activeId!==t){var n=!1;e&&this.navChange.emit({activeId:this.activeId,nextId:t,preventDefault:function(){n=!0}}),n||(this.activeId=t,this.activeIdChange.emit(t))}},t.decorators=[{type:e.Directive,args:[{selector:"[ngbNav]",exportAs:"ngbNav",host:{"[class.nav]":"true","[class.flex-column]":"orientation === 'vertical'","[attr.aria-orientation]":"orientation === 'vertical' && roles === 'tablist' ? 'vertical' : undefined","[attr.role]":"role ? role : roles ? 'tablist' : undefined"}}]}],t.ctorParameters=function(){return[{type:String,decorators:[{type:e.Attribute,args:["role"]}]},{type:on},{type:e.ChangeDetectorRef}]},t.propDecorators={activeId:[{type:e.Input}],activeIdChange:[{type:e.Output}],destroyOnHide:[{type:e.Input}],orientation:[{type:e.Input}],roles:[{type:e.Input}],items:[{type:e.ContentChildren,args:[ln]}],navChange:[{type:e.Output}]},t}(),cn=function(){function t(t,e,n){this.role=t,this.navItem=e,this.nav=n}return t.prototype.hasNavItemClass=function(){return this.navItem.elementRef.nativeElement.nodeType===Node.COMMENT_NODE},t.decorators=[{type:e.Directive,args:[{selector:"a[ngbNavLink]",host:{"[id]":"navItem.domId","[class.nav-link]":"true","[class.nav-item]":"hasNavItemClass()","[attr.role]":"role ? role : nav.roles ? 'tab' : undefined",href:"","[class.active]":"navItem.active","[class.disabled]":"navItem.disabled","[attr.tabindex]":"navItem.disabled ? -1 : undefined","[attr.aria-controls]":"navItem.isPanelInDom() ? navItem.panelDomId : null","[attr.aria-selected]":"navItem.active","[attr.aria-disabled]":"navItem.disabled","(click)":"nav.click(navItem); $event.preventDefault()"}}]}],t.ctorParameters=function(){return[{type:String,decorators:[{type:e.Attribute,args:["role"]}]},{type:ln},{type:pn}]},t}(),un=function(){function t(){}return t.decorators=[{type:e.Component,args:[{selector:"[ngbNavOutlet]",host:{"[class.tab-content]":"true"},encapsulation:e.ViewEncapsulation.None,template:'\n <ng-template ngFor let-item [ngForOf]="nav.items">\n <div class="tab-pane"\n *ngIf="item.isPanelInDom()"\n [id]="item.panelDomId"\n [class.active]="item.active"\n [attr.role]="paneRole ? paneRole : nav.roles ? \'tabpanel\' : undefined"\n [attr.aria-labelledby]="item.domId">\n <ng-template [ngTemplateOutlet]="item.contentTpl?.templateRef" [ngTemplateOutletContext]="{$implicit: item.active}"></ng-template>\n </div>\n </ng-template>\n '}]}],t.propDecorators={paneRole:[{type:e.Input}],nav:[{type:e.Input,args:["ngbNavOutlet"]}]},t}(),dn=[sn,pn,ln,cn,un],hn=function(){function t(){}return t.decorators=[{type:e.NgModule,args:[{declarations:dn,exports:dn,imports:[n.CommonModule]}]}],t}(),fn=function(){function t(){this.disabled=!1,this.boundaryLinks=!1,this.directionLinks=!0,this.ellipses=!0,this.maxSize=0,this.pageSize=10,this.rotate=!1}return t.decorators=[{type:e.Injectable,args:[{providedIn:"root"}]}],t.ngInjectableDef=e.ɵɵdefineInjectable({factory:function(){return new t},token:t,providedIn:"root"}),t}(),gn=function(){function t(t){this.templateRef=t}return t.decorators=[{type:e.Directive,args:[{selector:"ng-template[ngbPaginationEllipsis]"}]}],t.ctorParameters=function(){return[{type:e.TemplateRef}]},t}(),mn=function(){function t(t){this.templateRef=t}return t.decorators=[{type:e.Directive,args:[{selector:"ng-template[ngbPaginationFirst]"}]}],t.ctorParameters=function(){return[{type:e.TemplateRef}]},t}(),yn=function(){function t(t){this.templateRef=t}return t.decorators=[{type:e.Directive,args:[{selector:"ng-template[ngbPaginationLast]"}]}],t.ctorParameters=function(){return[{type:e.TemplateRef}]},t}(),bn=function(){function t(t){this.templateRef=t}return t.decorators=[{type:e.Directive,args:[{selector:"ng-template[ngbPaginationNext]"}]}],t.ctorParameters=function(){return[{type:e.TemplateRef}]},t}(),vn=function(){function t(t){this.templateRef=t}return t.decorators=[{type:e.Directive,args:[{selector:"ng-template[ngbPaginationNumber]"}]}],t.ctorParameters=function(){return[{type:e.TemplateRef}]},t}(),_n=function(){function t(t){this.templateRef=t}return t.decorators=[{type:e.Directive,args:[{selector:"ng-template[ngbPaginationPrevious]"}]}],t.ctorParameters=function(){return[{type:e.TemplateRef}]},t}(),wn=function(){function t(t){this.pageCount=0,this.pages=[],this.page=1,this.pageChange=new e.EventEmitter(!0),this.disabled=t.disabled,this.boundaryLinks=t.boundaryLinks,this.directionLinks=t.directionLinks,this.ellipses=t.ellipses,this.maxSize=t.maxSize,this.pageSize=t.pageSize,this.rotate=t.rotate,this.size=t.size}return t.prototype.hasPrevious=function(){return this.page>1},t.prototype.hasNext=function(){return this.page<this.pageCount},t.prototype.nextDisabled=function(){return!this.hasNext()||this.disabled},t.prototype.previousDisabled=function(){return!this.hasPrevious()||this.disabled},t.prototype.selectPage=function(t){this._updatePages(t)},t.prototype.ngOnChanges=function(t){this._updatePages(this.page)},t.prototype.isEllipsis=function(t){return-1===t},t.prototype._applyEllipses=function(t,e){this.ellipses&&(t>0&&(t>2?this.pages.unshift(-1):2===t&&this.pages.unshift(2),this.pages.unshift(1)),e<this.pageCount&&(e<this.pageCount-2?this.pages.push(-1):e===this.pageCount-2&&this.pages.push(this.pageCount-1),this.pages.push(this.pageCount)))},t.prototype._applyRotation=function(){var t=0,e=this.pageCount,n=Math.floor(this.maxSize/2),o=this.maxSize%2==0?n-1:n;return this.page<=n?e=this.maxSize:this.pageCount-this.page<n?t=this.pageCount-this.maxSize:(t=this.page-n-1,e=this.page+o),[t,e]},t.prototype._applyPagination=function(){var t=(Math.ceil(this.page/this.maxSize)-1)*this.maxSize;return[t,t+this.maxSize]},t.prototype._setPageInRange=function(t){var e=this.page;this.page=d(t,this.pageCount,1),this.page!==e&&f(this.collectionSize)&&this.pageChange.emit(this.page)},t.prototype._updatePages=function(t){var e,n;this.pageCount=Math.ceil(this.collectionSize/this.pageSize),f(this.pageCount)||(this.pageCount=0),this.pages.length=0;for(var o=1;o<=this.pageCount;o++)this.pages.push(o);if(this._setPageInRange(t),this.maxSize>0&&this.pageCount>this.maxSize){var i=0,r=this.pageCount;this.rotate?(i=(e=p(this._applyRotation(),2))[0],r=e[1]):(i=(n=p(this._applyPagination(),2))[0],r=n[1]),this.pages=this.pages.slice(i,r),this._applyEllipses(i,r)}},t.decorators=[{type:e.Component,args:[{selector:"ngb-pagination",changeDetection:e.ChangeDetectionStrategy.OnPush,host:{role:"navigation"},template:'\n <ng-template #first><span aria-hidden="true" i18n="@@ngb.pagination.first">&laquo;&laquo;</span></ng-template>\n <ng-template #previous><span aria-hidden="true" i18n="@@ngb.pagination.previous">&laquo;</span></ng-template>\n <ng-template #next><span aria-hidden="true" i18n="@@ngb.pagination.next">&raquo;</span></ng-template>\n <ng-template #last><span aria-hidden="true" i18n="@@ngb.pagination.last">&raquo;&raquo;</span></ng-template>\n <ng-template #ellipsis>...</ng-template>\n <ng-template #defaultNumber let-page let-currentPage="currentPage">\n {{ page }}\n <span *ngIf="page === currentPage" class="sr-only">(current)</span>\n </ng-template>\n <ul [class]="\'pagination\' + (size ? \' pagination-\' + size : \'\')">\n <li *ngIf="boundaryLinks" class="page-item"\n [class.disabled]="previousDisabled()">\n <a aria-label="First" i18n-aria-label="@@ngb.pagination.first-aria" class="page-link" href\n (click)="selectPage(1); $event.preventDefault()" [attr.tabindex]="previousDisabled() ? \'-1\' : null"\n [attr.aria-disabled]="previousDisabled() ? \'true\' : null">\n <ng-template [ngTemplateOutlet]="tplFirst?.templateRef || first"\n [ngTemplateOutletContext]="{disabled: previousDisabled(), currentPage: page}"></ng-template>\n </a>\n </li>\n\n <li *ngIf="directionLinks" class="page-item"\n [class.disabled]="previousDisabled()">\n <a aria-label="Previous" i18n-aria-label="@@ngb.pagination.previous-aria" class="page-link" href\n (click)="selectPage(page-1); $event.preventDefault()" [attr.tabindex]="previousDisabled() ? \'-1\' : null"\n [attr.aria-disabled]="previousDisabled() ? \'true\' : null">\n <ng-template [ngTemplateOutlet]="tplPrevious?.templateRef || previous"\n [ngTemplateOutletContext]="{disabled: previousDisabled()}"></ng-template>\n </a>\n </li>\n <li *ngFor="let pageNumber of pages" class="page-item" [class.active]="pageNumber === page"\n [class.disabled]="isEllipsis(pageNumber) || disabled" [attr.aria-current]="(pageNumber === page ? \'page\' : null)">\n <a *ngIf="isEllipsis(pageNumber)" class="page-link" tabindex="-1" aria-disabled="true">\n <ng-template [ngTemplateOutlet]="tplEllipsis?.templateRef || ellipsis"\n [ngTemplateOutletContext]="{disabled: true, currentPage: page}"></ng-template>\n </a>\n <a *ngIf="!isEllipsis(pageNumber)" class="page-link" href (click)="selectPage(pageNumber); $event.preventDefault()" [attr.tabindex]="disabled ? \'-1\' : null"\n [attr.aria-disabled]="disabled ? \'true\' : null">\n <ng-template [ngTemplateOutlet]="tplNumber?.templateRef || defaultNumber"\n [ngTemplateOutletContext]="{disabled: disabled, $implicit: pageNumber, currentPage: page}"></ng-template>\n </a>\n </li>\n <li *ngIf="directionLinks" class="page-item" [class.disabled]="nextDisabled()">\n <a aria-label="Next" i18n-aria-label="@@ngb.pagination.next-aria" class="page-link" href\n (click)="selectPage(page+1); $event.preventDefault()" [attr.tabindex]="nextDisabled() ? \'-1\' : null"\n [attr.aria-disabled]="nextDisabled() ? \'true\' : null">\n <ng-template [ngTemplateOutlet]="tplNext?.templateRef || next"\n [ngTemplateOutletContext]="{disabled: nextDisabled(), currentPage: page}"></ng-template>\n </a>\n </li>\n\n <li *ngIf="boundaryLinks" class="page-item" [class.disabled]="nextDisabled()">\n <a aria-label="Last" i18n-aria-label="@@ngb.pagination.last-aria" class="page-link" href\n (click)="selectPage(pageCount); $event.preventDefault()" [attr.tabindex]="nextDisabled() ? \'-1\' : null"\n [attr.aria-disabled]="nextDisabled() ? \'true\' : null">\n <ng-template [ngTemplateOutlet]="tplLast?.templateRef || last"\n [ngTemplateOutletContext]="{disabled: nextDisabled(), currentPage: page}"></ng-template>\n </a>\n </li>\n </ul>\n '}]}],t.ctorParameters=function(){return[{type:fn}]},t.propDecorators={tplEllipsis:[{type:e.ContentChild,args:[gn,{static:!1}]}],tplFirst:[{type:e.ContentChild,args:[mn,{static:!1}]}],tplLast:[{type:e.ContentChild,args:[yn,{static:!1}]}],tplNext:[{type:e.ContentChild,args:[bn,{static:!1}]}],tplNumber:[{type:e.ContentChild,args:[vn,{static:!1}]}],tplPrevious:[{type:e.ContentChild,args:[_n,{static:!1}]}],disabled:[{type:e.Input}],boundaryLinks:[{type:e.Input}],directionLinks:[{type:e.Input}],ellipses:[{type:e.Input}],rotate:[{type:e.Input}],collectionSize:[{type:e.Input}],maxSize:[{type:e.Input}],page:[{type:e.Input}],pageSize:[{type:e.Input}],pageChange:[{type:e.Output}],size:[{type:e.Input}]},t}(),Dn=[wn,gn,mn,yn,bn,vn,_n],In=function(){function t(){}return t.decorators=[{type:e.NgModule,args:[{declarations:Dn,exports:Dn,imports:[n.CommonModule]}]}],t}(),Cn=function(){function t(t,e){this.open=t,this.close=e,e||(this.close=t)}return t.prototype.isManual=function(){return"manual"===this.open||"manual"===this.close},t}(),kn={hover:["mouseenter","mouseleave"],focus:["focusin","focusout"]};var xn=function(t){return t>0?r.delay(t):function(t){return t}};function Rn(t,e,n,o,a,s,l,p){void 0===l&&(l=0),void 0===p&&(p=0);var c=function(t,e){void 0===e&&(e=kn);var n=(t||"").trim();if(0===n.length)return[];var o=n.split(/\s+/).map(function(t){return t.split(":")}).map(function(t){var n=e[t[0]]||t;return new Cn(n[0],n[1])}),i=o.filter(function(t){return t.isManual()});if(i.length>1)throw"Triggers parse error: only one manual trigger is allowed";if(1===i.length&&o.length>1)throw"Triggers parse error: manual trigger can't be mixed with other triggers";return o}(n);if(1===c.length&&c[0].isManual())return function(){};var u=function(t,e,n,o){return new i.Observable(function(i){var r=[],a=function(){return i.next(!0)},s=function(){return i.next(!1)},l=function(){return i.next(!o())};return n.forEach(function(n){n.open===n.close?r.push(t.listen(e,n.open,l)):r.push(t.listen(e,n.open,a),t.listen(e,n.close,s))}),function(){r.forEach(function(t){return t()})}})}(t,e,c,o).pipe(function(t,e,n){return function(o){var a=null,s=o.pipe(r.map(function(t){return{open:t}}),r.filter(function(t){var e=n();return e===t.open||a&&a.open!==e?(a&&a.open!==t.open&&(a=null),!1):(a=t,!0)}),r.share()),l=s.pipe(r.filter(function(t){return t.open}),xn(t)),p=s.pipe(r.filter(function(t){return!t.open}),xn(e));return i.merge(l,p).pipe(r.filter(function(t){return t===a&&(a=null,t.open!==n())}),r.map(function(t){return t.open}))}}(l,p,o)).subscribe(function(t){return t?a():s()});return function(){return u.unsubscribe()}}var En=function(){function t(){this.autoClose=!0,this.placement="auto",this.triggers="click",this.disablePopover=!1,this.openDelay=0,this.closeDelay=0}return t.decorators=[{type:e.Injectable,args:[{providedIn:"root"}]}],t.ngInjectableDef=e.ɵɵdefineInjectable({factory:function(){return new t},token:t,providedIn:"root"}),t}(),Sn=0,Nn=function(){function t(){}return t.prototype.isTitleTemplate=function(){return this.title instanceof e.TemplateRef},t.decorators=[{type:e.Component,args:[{selector:"ngb-popover-window",changeDetection:e.ChangeDetectionStrategy.OnPush,encapsulation:e.ViewEncapsulation.None,host:{"[class]":'"popover" + (popoverClass ? " " + popoverClass : "")',role:"tooltip","[id]":"id"},template:'\n <div class="arrow"></div>\n <h3 class="popover-header" *ngIf="title != null">\n <ng-template #simpleTitle>{{title}}</ng-template>\n <ng-template [ngTemplateOutlet]="isTitleTemplate() ? title : simpleTitle" [ngTemplateOutletContext]="context"></ng-template>\n </h3>\n <div class="popover-body"><ng-content></ng-content></div>',styles:["ngb-popover-window.bs-popover-bottom>.arrow,ngb-popover-window.bs-popover-top>.arrow{left:50%;margin-left:-.5rem}ngb-popover-window.bs-popover-bottom-left>.arrow,ngb-popover-window.bs-popover-top-left>.arrow{left:2em}ngb-popover-window.bs-popover-bottom-right>.arrow,ngb-popover-window.bs-popover-top-right>.arrow{left:auto;right:2em}ngb-popover-window.bs-popover-left>.arrow,ngb-popover-window.bs-popover-right>.arrow{top:50%;margin-top:-.5rem}ngb-popover-window.bs-popover-left-top>.arrow,ngb-popover-window.bs-popover-right-top>.arrow{top:.7em}ngb-popover-window.bs-popover-left-bottom>.arrow,ngb-popover-window.bs-popover-right-bottom>.arrow{top:auto;bottom:.7em}"]}]}],t.propDecorators={title:[{type:e.Input}],id:[{type:e.Input}],popoverClass:[{type:e.Input}],context:[{type:e.Input}]},t}(),Tn=function(){function t(t,n,o,i,r,a,s,l,p,c){var u=this;this._elementRef=t,this._renderer=n,this._ngZone=s,this._document=l,this._changeDetector=p,this.shown=new e.EventEmitter,this.hidden=new e.EventEmitter,this._ngbPopoverWindowId="ngb-popover-"+Sn++,this.autoClose=a.autoClose,this.placement=a.placement,this.triggers=a.triggers,this.container=a.container,this.disablePopover=a.disablePopover,this.popoverClass=a.popoverClass,this.openDelay=a.openDelay,this.closeDelay=a.closeDelay,this._popupService=new qe(Nn,o,r,n,i,c),this._zoneSubscription=s.onStable.subscribe(function(){u._windowRef&&Pt(u._elementRef.nativeElement,u._windowRef.location.nativeElement,u.placement,"body"===u.container,"bs-popover")})}return t.prototype._isDisabled=function(){return!!this.disablePopover||!this.ngbPopover&&!this.popoverTitle},t.prototype.open=function(t){var e=this;this._windowRef||this._isDisabled()||(this._windowRef=this._popupService.open(this.ngbPopover,t),this._windowRef.instance.title=this.popoverTitle,this._windowRef.instance.context=t,this._windowRef.instance.popoverClass=this.popoverClass,this._windowRef.instance.id=this._ngbPopoverWindowId,this._renderer.setAttribute(this._elementRef.nativeElement,"aria-describedby",this._ngbPopoverWindowId),"body"===this.container&&this._document.querySelector(this.container).appendChild(this._windowRef.location.nativeElement),this._windowRef.changeDetectorRef.detectChanges(),this._windowRef.changeDetectorRef.markForCheck(),Rt(this._ngZone,this._document,this.autoClose,function(){return e.close()},this.hidden,[this._windowRef.location.nativeElement]),this.shown.emit())},t.prototype.close=function(){this._windowRef&&(this._renderer.removeAttribute(this._elementRef.nativeElement,"aria-describedby"),this._popupService.close(),this._windowRef=null,this.hidden.emit(),this._changeDetector.markForCheck())},t.prototype.toggle=function(){this._windowRef?this.close():this.open()},t.prototype.isOpen=function(){return null!=this._windowRef},t.prototype.ngOnInit=function(){this._unregisterListenersFn=Rn(this._renderer,this._elementRef.nativeElement,this.triggers,this.isOpen.bind(this),this.open.bind(this),this.close.bind(this),+this.openDelay,+this.closeDelay)},t.prototype.ngOnChanges=function(t){var e=t.ngbPopover,n=t.popoverTitle,o=t.disablePopover,i=t.popoverClass;i&&this.isOpen()&&(this._windowRef.instance.popoverClass=i.currentValue),(e||n||o)&&this._isDisabled()&&this.close()},t.prototype.ngOnDestroy=function(){this.close(),this._unregisterListenersFn&&this._unregisterListenersFn(),this._zoneSubscription.unsubscribe()},t.decorators=[{type:e.Directive,args:[{selector:"[ngbPopover]",exportAs:"ngbPopover"}]}],t.ctorParameters=function(){return[{type:e.ElementRef},{type:e.Renderer2},{type:e.Injector},{type:e.ComponentFactoryResolver},{type:e.ViewContainerRef},{type:En},{type:e.NgZone},{type:void 0,decorators:[{type:e.Inject,args:[n.DOCUMENT]}]},{type:e.ChangeDetectorRef},{type:e.ApplicationRef}]},t.propDecorators={autoClose:[{type:e.Input}],ngbPopover:[{type:e.Input}],popoverTitle:[{type:e.Input}],placement:[{type:e.Input}],triggers:[{type:e.Input}],container:[{type:e.Input}],disablePopover:[{type:e.Input}],popoverClass:[{type:e.Input}],openDelay:[{type:e.Input}],closeDelay:[{type:e.Input}],shown:[{type:e.Output}],hidden:[{type:e.Output}]},t}(),On=function(){function t(){}return t.decorators=[{type:e.NgModule,args:[{declarations:[Tn,Nn],exports:[Tn],imports:[n.CommonModule],entryComponents:[Nn]}]}],t}(),Mn=function(){function t(){this.max=100,this.animated=!1,this.striped=!1,this.showValue=!1}return t.decorators=[{type:e.Injectable,args:[{providedIn:"root"}]}],t.ngInjectableDef=e.ɵɵdefineInjectable({factory:function(){return new t},token:t,providedIn:"root"}),t}(),Pn=function(){function t(t){this.value=0,this.max=t.max,this.animated=t.animated,this.striped=t.striped,this.textType=t.textType,this.type=t.type,this.showValue=t.showValue,this.height=t.height}return Object.defineProperty(t.prototype,"max",{get:function(){return this._max},set:function(t){this._max=!f(t)||t<=0?100:t},enumerable:!0,configurable:!0}),t.prototype.getValue=function(){return d(this.value,this.max)},t.prototype.getPercentValue=function(){return 100*this.getValue()/this.max},t.decorators=[{type:e.Component,args:[{selector:"ngb-progressbar",changeDetection:e.ChangeDetectionStrategy.OnPush,encapsulation:e.ViewEncapsulation.None,template:'\n <div class="progress" [style.height]="height">\n <div class="progress-bar{{type ? \' bg-\' + type : \'\'}}{{textType ? \' text-\' + textType : \'\'}}\n {{animated ? \' progress-bar-animated\' : \'\'}}{{striped ? \' progress-bar-striped\' : \'\'}}" role="progressbar" [style.width.%]="getPercentValue()"\n [attr.aria-valuenow]="getValue()" aria-valuemin="0" [attr.aria-valuemax]="max">\n <span *ngIf="showValue" i18n="@@ngb.progressbar.value">{{getPercentValue()}}%</span><ng-content></ng-content>\n </div>\n </div>\n '}]}],t.ctorParameters=function(){return[{type:Mn}]},t.propDecorators={max:[{type:e.Input}],animated:[{type:e.Input}],striped:[{type:e.Input}],showValue:[{type:e.Input}],textType:[{type:e.Input}],type:[{type:e.Input}],value:[{type:e.Input}],height:[{type:e.Input}]},t}(),jn=function(){function t(){}return t.decorators=[{type:e.NgModule,args:[{declarations:[Pn],exports:[Pn],imports:[n.CommonModule]}]}],t}(),An=function(){function t(){this.max=10,this.readonly=!1,this.resettable=!1}return t.decorators=[{type:e.Injectable,args:[{providedIn:"root"}]}],t.ngInjectableDef=e.ɵɵdefineInjectable({factory:function(){return new t},token:t,providedIn:"root"}),t}(),Fn={provide:o.NG_VALUE_ACCESSOR,useExisting:e.forwardRef(function(){return Vn}),multi:!0},Vn=function(){function t(t,n){this._changeDetectorRef=n,this.contexts=[],this.disabled=!1,this.hover=new e.EventEmitter,this.leave=new e.EventEmitter,this.rateChange=new e.EventEmitter(!0),this.onChange=function(t){},this.onTouched=function(){},this.max=t.max,this.readonly=t.readonly}return t.prototype.ariaValueText=function(){return this.nextRate+" out of "+this.max},t.prototype.enter=function(t){this.readonly||this.disabled||this._updateState(t),this.hover.emit(t)},t.prototype.handleBlur=function(){this.onTouched()},t.prototype.handleClick=function(t){this.update(this.resettable&&this.rate===t?0:t)},t.prototype.handleKeyDown=function(t){switch(t.which){case dt.ArrowDown:case dt.ArrowLeft:this.update(this.rate-1);break;case dt.ArrowUp:case dt.ArrowRight:this.update(this.rate+1);break;case dt.Home:this.update(0);break;case dt.End:this.update(this.max);break;default:return}t.preventDefault()},t.prototype.ngOnChanges=function(t){t.rate&&this.update(this.rate)},t.prototype.ngOnInit=function(){this.contexts=Array.from({length:this.max},function(t,e){return{fill:0,index:e}}),this._updateState(this.rate)},t.prototype.registerOnChange=function(t){this.onChange=t},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.reset=function(){this.leave.emit(this.nextRate),this._updateState(this.rate)},t.prototype.setDisabledState=function(t){this.disabled=t},t.prototype.update=function(t,e){void 0===e&&(e=!0);var n=d(t,this.max,0);this.readonly||this.disabled||this.rate===n||(this.rate=n,this.rateChange.emit(this.rate)),e&&(this.onChange(this.rate),this.onTouched()),this._updateState(this.rate)},t.prototype.writeValue=function(t){this.update(t,!1),this._changeDetectorRef.markForCheck()},t.prototype._getFillValue=function(t){var e=this.nextRate-t;return e>=1?100:e<1&&e>0?parseInt((100*e).toFixed(2),10):0},t.prototype._updateState=function(t){var e=this;this.nextRate=t,this.contexts.forEach(function(t,n){return t.fill=e._getFillValue(n)})},t.decorators=[{type:e.Component,args:[{selector:"ngb-rating",changeDetection:e.ChangeDetectionStrategy.OnPush,encapsulation:e.ViewEncapsulation.None,host:{class:"d-inline-flex",tabindex:"0",role:"slider","aria-valuemin":"0","[attr.aria-valuemax]":"max","[attr.aria-valuenow]":"nextRate","[attr.aria-valuetext]":"ariaValueText()","[attr.aria-disabled]":"readonly ? true : null","(blur)":"handleBlur()","(keydown)":"handleKeyDown($event)","(mouseleave)":"reset()"},template:'\n <ng-template #t let-fill="fill">{{ fill === 100 ? \'&#9733;\' : \'&#9734;\' }}</ng-template>\n <ng-template ngFor [ngForOf]="contexts" let-index="index">\n <span class="sr-only">({{ index < nextRate ? \'*\' : \' \' }})</span>\n <span (mouseenter)="enter(index + 1)" (click)="handleClick(index + 1)" [style.cursor]="readonly || disabled ? \'default\' : \'pointer\'">\n <ng-template [ngTemplateOutlet]="starTemplate || starTemplateFromContent || t" [ngTemplateOutletContext]="contexts[index]">\n </ng-template>\n </span>\n </ng-template>\n ',providers:[Fn]}]}],t.ctorParameters=function(){return[{type:An},{type:e.ChangeDetectorRef}]},t.propDecorators={max:[{type:e.Input}],rate:[{type:e.Input}],readonly:[{type:e.Input}],resettable:[{type:e.Input}],starTemplate:[{type:e.Input}],starTemplateFromContent:[{type:e.ContentChild,args:[e.TemplateRef,{static:!1}]}],hover:[{type:e.Output}],leave:[{type:e.Output}],rateChange:[{type:e.Output}]},t}(),Hn=function(){function t(){}return t.decorators=[{type:e.NgModule,args:[{declarations:[Vn],exports:[Vn],imports:[n.CommonModule]}]}],t}(),Ln=function(){function t(){this.justify="start",this.orientation="horizontal",this.type="tabs"}return t.decorators=[{type:e.Injectable,args:[{providedIn:"root"}]}],t.ngInjectableDef=e.ɵɵdefineInjectable({factory:function(){return new t},token:t,providedIn:"root"}),t}(),Wn=0,$n=function(){function t(t){this.templateRef=t}return t.decorators=[{type:e.Directive,args:[{selector:"ng-template[ngbTabTitle]"}]}],t.ctorParameters=function(){return[{type:e.TemplateRef}]},t}(),zn=function(){function t(t){this.templateRef=t}return t.decorators=[{type:e.Directive,args:[{selector:"ng-template[ngbTabContent]"}]}],t.ctorParameters=function(){return[{type:e.TemplateRef}]},t}(),Bn=function(){function t(){this.id="ngb-tab-"+Wn++,this.disabled=!1}return t.prototype.ngAfterContentChecked=function(){this.titleTpl=this.titleTpls.first,this.contentTpl=this.contentTpls.first},t.decorators=[{type:e.Directive,args:[{selector:"ngb-tab"}]}],t.propDecorators={id:[{type:e.Input}],title:[{type:e.Input}],disabled:[{type:e.Input}],titleTpls:[{type:e.ContentChildren,args:[$n,{descendants:!1}]}],contentTpls:[{type:e.ContentChildren,args:[zn,{descendants:!1}]}]},t}(),Un=function(){function t(t){this.destroyOnHide=!0,this.tabChange=new e.EventEmitter,this.type=t.type,this.justify=t.justify,this.orientation=t.orientation}return Object.defineProperty(t.prototype,"justify",{set:function(t){this.justifyClass="fill"===t||"justified"===t?"nav-"+t:"justify-content-"+t},enumerable:!0,configurable:!0}),t.prototype.select=function(t){var e=this._getTabById(t);if(e&&!e.disabled&&this.activeId!==e.id){var n=!1;this.tabChange.emit({activeId:this.activeId,nextId:e.id,preventDefault:function(){n=!0}}),n||(this.activeId=e.id)}},t.prototype.ngAfterContentChecked=function(){var t=this._getTabById(this.activeId);this.activeId=t?t.id:this.tabs.length?this.tabs.first.id:null},t.prototype._getTabById=function(t){var e=this.tabs.filter(function(e){return e.id===t});return e.length?e[0]:null},t.decorators=[{type:e.Component,args:[{selector:"ngb-tabset",exportAs:"ngbTabset",encapsulation:e.ViewEncapsulation.None,template:'\n <ul [class]="\'nav nav-\' + type + (orientation == \'horizontal\'? \' \' + justifyClass : \' flex-column\')" role="tablist">\n <li class="nav-item" *ngFor="let tab of tabs">\n <a [id]="tab.id" class="nav-link" [class.active]="tab.id === activeId" [class.disabled]="tab.disabled"\n href (click)="select(tab.id); $event.preventDefault()" role="tab" [attr.tabindex]="(tab.disabled ? \'-1\': undefined)"\n [attr.aria-controls]="(!destroyOnHide || tab.id === activeId ? tab.id + \'-panel\' : null)"\n [attr.aria-selected]="tab.id === activeId" [attr.aria-disabled]="tab.disabled">\n {{tab.title}}<ng-template [ngTemplateOutlet]="tab.titleTpl?.templateRef"></ng-template>\n </a>\n </li>\n </ul>\n <div class="tab-content">\n <ng-template ngFor let-tab [ngForOf]="tabs">\n <div\n class="tab-pane {{tab.id === activeId ? \'active\' : null}}"\n *ngIf="!destroyOnHide || tab.id === activeId"\n role="tabpanel"\n [attr.aria-labelledby]="tab.id" id="{{tab.id}}-panel">\n <ng-template [ngTemplateOutlet]="tab.contentTpl?.templateRef"></ng-template>\n </div>\n </ng-template>\n </div>\n '}]}],t.ctorParameters=function(){return[{type:Ln}]},t.propDecorators={tabs:[{type:e.ContentChildren,args:[Bn]}],activeId:[{type:e.Input}],destroyOnHide:[{type:e.Input}],justify:[{type:e.Input}],orientation:[{type:e.Input}],type:[{type:e.Input}],tabChange:[{type:e.Output}]},t}(),qn=[Un,Bn,zn,$n],Kn=function(){function t(){}return t.decorators=[{type:e.NgModule,args:[{declarations:qn,exports:qn,imports:[n.CommonModule,hn]}]}],t}(),Zn=function(){function t(t,e,n){this.hour=c(t),this.minute=c(e),this.second=c(n)}return t.prototype.changeHour=function(t){void 0===t&&(t=1),this.updateHour((isNaN(this.hour)?0:this.hour)+t)},t.prototype.updateHour=function(t){f(t)?this.hour=(t<0?24+t:t)%24:this.hour=NaN},t.prototype.changeMinute=function(t){void 0===t&&(t=1),this.updateMinute((isNaN(this.minute)?0:this.minute)+t)},t.prototype.updateMinute=function(t){f(t)?(this.minute=t%60<0?60+t%60:t%60,this.changeHour(Math.floor(t/60))):this.minute=NaN},t.prototype.changeSecond=function(t){void 0===t&&(t=1),this.updateSecond((isNaN(this.second)?0:this.second)+t)},t.prototype.updateSecond=function(t){f(t)?(this.second=t<0?60+t%60:t%60,this.changeMinute(Math.floor(t/60))):this.second=NaN},t.prototype.isValid=function(t){return void 0===t&&(t=!0),f(this.hour)&&f(this.minute)&&(!t||f(this.second))},t.prototype.toString=function(){return(this.hour||0)+":"+(this.minute||0)+":"+(this.second||0)},t}(),Gn=function(){function t(){this.meridian=!1,this.spinners=!0,this.seconds=!1,this.hourStep=1,this.minuteStep=1,this.secondStep=1,this.disabled=!1,this.readonlyInputs=!1,this.size="medium"}return t.decorators=[{type:e.Injectable,args:[{providedIn:"root"}]}],t.ngInjectableDef=e.ɵɵdefineInjectable({factory:function(){return new t},token:t,providedIn:"root"}),t}();function Yn(){return new Jn}var Xn=function(){function t(){}return t.decorators=[{type:e.Injectable,args:[{providedIn:"root",useFactory:Yn}]}],t.ngInjectableDef=e.ɵɵdefineInjectable({factory:Yn,token:t,providedIn:"root"}),t}(),Jn=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return s(n,t),n.prototype.fromModel=function(t){return t&&g(t.hour)&&g(t.minute)?{hour:t.hour,minute:t.minute,second:g(t.second)?t.second:null}:null},n.prototype.toModel=function(t){return t&&g(t.hour)&&g(t.minute)?{hour:t.hour,minute:t.minute,second:g(t.second)?t.second:null}:null},n.decorators=[{type:e.Injectable}],n}(Xn);function Qn(t){return new eo(t)}var to=function(){function t(){}return t.decorators=[{type:e.Injectable,args:[{providedIn:"root",useFactory:Qn,deps:[e.LOCALE_ID]}]}],t.ngInjectableDef=e.ɵɵdefineInjectable({factory:function(){return Qn(e.ɵɵinject(e.LOCALE_ID))},token:t,providedIn:"root"}),t}(),eo=function(t){function o(e){var o=t.call(this)||this;return o._periods=n.getLocaleDayPeriods(e,n.FormStyle.Standalone,n.TranslationWidth.Narrow),o}return s(o,t),o.prototype.getMorningPeriod=function(){return this._periods[0]},o.prototype.getAfternoonPeriod=function(){return this._periods[1]},o.decorators=[{type:e.Injectable}],o.ctorParameters=function(){return[{type:String,decorators:[{type:e.Inject,args:[e.LOCALE_ID]}]}]},o}(to),no=/[^0-9]/g,oo={provide:o.NG_VALUE_ACCESSOR,useExisting:e.forwardRef(function(){return io}),multi:!0},io=function(){function t(t,e,n,o){this._config=t,this._ngbTimeAdapter=e,this._cd=n,this.i18n=o,this.onChange=function(t){},this.onTouched=function(){},this.meridian=t.meridian,this.spinners=t.spinners,this.seconds=t.seconds,this.hourStep=t.hourStep,this.minuteStep=t.minuteStep,this.secondStep=t.secondStep,this.disabled=t.disabled,this.readonlyInputs=t.readonlyInputs,this.size=t.size}return Object.defineProperty(t.prototype,"hourStep",{get:function(){return this._hourStep},set:function(t){this._hourStep=g(t)?t:this._config.hourStep},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"minuteStep",{get:function(){return this._minuteStep},set:function(t){this._minuteStep=g(t)?t:this._config.minuteStep},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"secondStep",{get:function(){return this._secondStep},set:function(t){this._secondStep=g(t)?t:this._config.secondStep},enumerable:!0,configurable:!0}),t.prototype.writeValue=function(t){var e=this._ngbTimeAdapter.fromModel(t);this.model=e?new Zn(e.hour,e.minute,e.second):new Zn,this.seconds||e&&f(e.second)||(this.model.second=0),this._cd.markForCheck()},t.prototype.registerOnChange=function(t){this.onChange=t},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.setDisabledState=function(t){this.disabled=t},t.prototype.changeHour=function(t){this.model.changeHour(t),this.propagateModelChange()},t.prototype.changeMinute=function(t){this.model.changeMinute(t),this.propagateModelChange()},t.prototype.changeSecond=function(t){this.model.changeSecond(t),this.propagateModelChange()},t.prototype.updateHour=function(t){var e=this.model.hour>=12,n=c(t);this.meridian&&(e&&n<12||!e&&12===n)?this.model.updateHour(n+12):this.model.updateHour(n),this.propagateModelChange()},t.prototype.updateMinute=function(t){this.model.updateMinute(c(t)),this.propagateModelChange()},t.prototype.updateSecond=function(t){this.model.updateSecond(c(t)),this.propagateModelChange()},t.prototype.toggleMeridian=function(){this.meridian&&this.changeHour(12)},t.prototype.formatInput=function(t){t.value=t.value.replace(no,"")},t.prototype.formatHour=function(t){return f(t)?this.meridian?y(t%12==0?12:t%12):y(t%24):y(NaN)},t.prototype.formatMinSec=function(t){return y(t)},Object.defineProperty(t.prototype,"isSmallSize",{get:function(){return"small"===this.size},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"isLargeSize",{get:function(){return"large"===this.size},enumerable:!0,configurable:!0}),t.prototype.ngOnChanges=function(t){t.seconds&&!this.seconds&&this.model&&!f(this.model.second)&&(this.model.second=0,this.propagateModelChange(!1))},t.prototype.propagateModelChange=function(t){void 0===t&&(t=!0),t&&this.onTouched(),this.model.isValid(this.seconds)?this.onChange(this._ngbTimeAdapter.toModel({hour:this.model.hour,minute:this.model.minute,second:this.model.second})):this.onChange(this._ngbTimeAdapter.toModel(null))},t.decorators=[{type:e.Component,args:[{selector:"ngb-timepicker",encapsulation:e.ViewEncapsulation.None,template:'\n <fieldset [disabled]="disabled" [class.disabled]="disabled">\n <div class="ngb-tp">\n <div class="ngb-tp-input-container ngb-tp-hour">\n <button *ngIf="spinners" tabindex="-1" type="button" (click)="changeHour(hourStep)"\n class="btn btn-link" [class.btn-sm]="isSmallSize" [class.btn-lg]="isLargeSize" [class.disabled]="disabled"\n [disabled]="disabled">\n <span class="chevron ngb-tp-chevron"></span>\n <span class="sr-only" i18n="@@ngb.timepicker.increment-hours">Increment hours</span>\n </button>\n <input type="text" class="ngb-tp-input form-control" [class.form-control-sm]="isSmallSize"\n [class.form-control-lg]="isLargeSize"\n maxlength="2" inputmode="numeric" placeholder="HH" i18n-placeholder="@@ngb.timepicker.HH"\n [value]="formatHour(model?.hour)" (change)="updateHour($event.target.value)"\n [readOnly]="readonlyInputs" [disabled]="disabled" aria-label="Hours" i18n-aria-label="@@ngb.timepicker.hours"\n (input)="formatInput($event.target)"\n (keydown.ArrowUp)="changeHour(hourStep); $event.preventDefault()"\n (keydown.ArrowDown)="changeHour(-hourStep); $event.preventDefault()">\n <button *ngIf="spinners" tabindex="-1" type="button" (click)="changeHour(-hourStep)"\n class="btn btn-link" [class.btn-sm]="isSmallSize" [class.btn-lg]="isLargeSize" [class.disabled]="disabled"\n [disabled]="disabled">\n <span class="chevron ngb-tp-chevron bottom"></span>\n <span class="sr-only" i18n="@@ngb.timepicker.decrement-hours">Decrement hours</span>\n </button>\n </div>\n <div class="ngb-tp-spacer">:</div>\n <div class="ngb-tp-input-container ngb-tp-minute">\n <button *ngIf="spinners" tabindex="-1" type="button" (click)="changeMinute(minuteStep)"\n class="btn btn-link" [class.btn-sm]="isSmallSize" [class.btn-lg]="isLargeSize" [class.disabled]="disabled"\n [disabled]="disabled">\n <span class="chevron ngb-tp-chevron"></span>\n <span class="sr-only" i18n="@@ngb.timepicker.increment-minutes">Increment minutes</span>\n </button>\n <input type="text" class="ngb-tp-input form-control" [class.form-control-sm]="isSmallSize" [class.form-control-lg]="isLargeSize"\n maxlength="2" inputmode="numeric" placeholder="MM" i18n-placeholder="@@ngb.timepicker.MM"\n [value]="formatMinSec(model?.minute)" (change)="updateMinute($event.target.value)"\n [readOnly]="readonlyInputs" [disabled]="disabled" aria-label="Minutes" i18n-aria-label="@@ngb.timepicker.minutes"\n (input)="formatInput($event.target)"\n (keydown.ArrowUp)="changeMinute(minuteStep); $event.preventDefault()"\n (keydown.ArrowDown)="changeMinute(-minuteStep); $event.preventDefault()">\n <button *ngIf="spinners" tabindex="-1" type="button" (click)="changeMinute(-minuteStep)"\n class="btn btn-link" [class.btn-sm]="isSmallSize" [class.btn-lg]="isLargeSize" [class.disabled]="disabled"\n [disabled]="disabled">\n <span class="chevron ngb-tp-chevron bottom"></span>\n <span class="sr-only" i18n="@@ngb.timepicker.decrement-minutes">Decrement minutes</span>\n </button>\n </div>\n <div *ngIf="seconds" class="ngb-tp-spacer">:</div>\n <div *ngIf="seconds" class="ngb-tp-input-container ngb-tp-second">\n <button *ngIf="spinners" tabindex="-1" type="button" (click)="changeSecond(secondStep)"\n class="btn btn-link" [class.btn-sm]="isSmallSize" [class.btn-lg]="isLargeSize" [class.disabled]="disabled"\n [disabled]="disabled">\n <span class="chevron ngb-tp-chevron"></span>\n <span class="sr-only" i18n="@@ngb.timepicker.increment-seconds">Increment seconds</span>\n </button>\n <input type="text" class="ngb-tp-input form-control" [class.form-control-sm]="isSmallSize" [class.form-control-lg]="isLargeSize"\n maxlength="2" inputmode="numeric" placeholder="SS" i18n-placeholder="@@ngb.timepicker.SS"\n [value]="formatMinSec(model?.second)" (change)="updateSecond($event.target.value)"\n [readOnly]="readonlyInputs" [disabled]="disabled" aria-label="Seconds" i18n-aria-label="@@ngb.timepicker.seconds"\n (input)="formatInput($event.target)"\n (keydown.ArrowUp)="changeSecond(secondStep); $event.preventDefault()"\n (keydown.ArrowDown)="changeSecond(-secondStep); $event.preventDefault()">\n <button *ngIf="spinners" tabindex="-1" type="button" (click)="changeSecond(-secondStep)"\n class="btn btn-link" [class.btn-sm]="isSmallSize" [class.btn-lg]="isLargeSize" [class.disabled]="disabled"\n [disabled]="disabled">\n <span class="chevron ngb-tp-chevron bottom"></span>\n <span class="sr-only" i18n="@@ngb.timepicker.decrement-seconds">Decrement seconds</span>\n </button>\n </div>\n <div *ngIf="meridian" class="ngb-tp-spacer"></div>\n <div *ngIf="meridian" class="ngb-tp-meridian">\n <button type="button" class="btn btn-outline-primary" [class.btn-sm]="isSmallSize" [class.btn-lg]="isLargeSize"\n [disabled]="disabled" [class.disabled]="disabled"\n (click)="toggleMeridian()">\n <ng-container *ngIf="model?.hour >= 12; else am" i18n="@@ngb.timepicker.PM">{{ i18n.getAfternoonPeriod() }}</ng-container>\n <ng-template #am i18n="@@ngb.timepicker.AM">{{ i18n.getMorningPeriod() }}</ng-template>\n </button>\n </div>\n </div>\n </fieldset>\n ',providers:[oo],styles:['ngb-timepicker{font-size:1rem}.ngb-tp{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.ngb-tp-input-container{width:4em}.ngb-tp-chevron::before{border-style:solid;border-width:.29em .29em 0 0;content:"";display:inline-block;height:.69em;left:.05em;position:relative;top:.15em;-webkit-transform:rotate(-45deg);transform:rotate(-45deg);vertical-align:middle;width:.69em}.ngb-tp-chevron.bottom:before{top:-.3em;-webkit-transform:rotate(135deg);transform:rotate(135deg)}.ngb-tp-input{text-align:center}.ngb-tp-hour,.ngb-tp-meridian,.ngb-tp-minute,.ngb-tp-second{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center;-ms-flex-pack:distribute;justify-content:space-around}.ngb-tp-spacer{width:1em;text-align:center}']}]}],t.ctorParameters=function(){return[{type:Gn},{type:Xn},{type:e.ChangeDetectorRef},{type:to}]},t.propDecorators={meridian:[{type:e.Input}],spinners:[{type:e.Input}],seconds:[{type:e.Input}],hourStep:[{type:e.Input}],minuteStep:[{type:e.Input}],secondStep:[{type:e.Input}],readonlyInputs:[{type:e.Input}],size:[{type:e.Input}]},t}(),ro=function(){function t(){}return t.decorators=[{type:e.NgModule,args:[{declarations:[io],exports:[io],imports:[n.CommonModule]}]}],t}(),ao=function(){function t(){this.autohide=!0,this.delay=500,this.ariaLive="polite"}return t.decorators=[{type:e.Injectable,args:[{providedIn:"root"}]}],t.ngInjectableDef=e.ɵɵdefineInjectable({factory:function(){return new t},token:t,providedIn:"root"}),t}(),so=function(){function t(){}return t.decorators=[{type:e.Directive,args:[{selector:"[ngbToastHeader]"}]}],t}(),lo=function(){function t(t,n){this.ariaLive=t,this.contentHeaderTpl=null,this.hideOutput=new e.EventEmitter,null==this.ariaLive&&(this.ariaLive=n.ariaLive),this.delay=n.delay,this.autohide=n.autohide}return t.prototype.ngAfterContentInit=function(){this._init()},t.prototype.ngOnChanges=function(t){"autohide"in t&&(this._clearTimeout(),this._init())},t.prototype.hide=function(){this._clearTimeout(),this.hideOutput.emit()},t.prototype._init=function(){var t=this;this.autohide&&!this._timeoutID&&(this._timeoutID=setTimeout(function(){return t.hide()},this.delay))},t.prototype._clearTimeout=function(){this._timeoutID&&(clearTimeout(this._timeoutID),this._timeoutID=null)},t.decorators=[{type:e.Component,args:[{selector:"ngb-toast",exportAs:"ngbToast",encapsulation:e.ViewEncapsulation.None,host:{role:"alert","[attr.aria-live]":"ariaLive","aria-atomic":"true","[class.toast]":"true","[class.show]":"true"},template:'\n <ng-template #headerTpl>\n <strong class="mr-auto">{{header}}</strong>\n </ng-template>\n <ng-template [ngIf]="contentHeaderTpl || header">\n <div class="toast-header">\n <ng-template [ngTemplateOutlet]="contentHeaderTpl || headerTpl"></ng-template>\n <button type="button" class="close" aria-label="Close" i18n-aria-label="@@ngb.toast.close-aria" (click)="hide()">\n <span aria-hidden="true">&times;</span>\n </button>\n </div>\n </ng-template>\n <div class="toast-body">\n <ng-content></ng-content>\n </div>\n ',styles:[".ngb-toasts{position:fixed;top:0;right:0;margin:.5em;z-index:1200}ngb-toast .toast-header .close{margin-left:auto;margin-bottom:.25rem}"]}]}],t.ctorParameters=function(){return[{type:String,decorators:[{type:e.Attribute,args:["aria-live"]}]},{type:ao}]},t.propDecorators={delay:[{type:e.Input}],autohide:[{type:e.Input}],header:[{type:e.Input}],contentHeaderTpl:[{type:e.ContentChild,args:[so,{read:e.TemplateRef,static:!0}]}],hideOutput:[{type:e.Output,args:["hide"]}]},t}(),po=function(){function t(){}return t.decorators=[{type:e.NgModule,args:[{declarations:[lo,so],imports:[n.CommonModule],exports:[lo,so]}]}],t}(),co=function(){function t(){this.autoClose=!0,this.placement="auto",this.triggers="hover focus",this.disableTooltip=!1,this.openDelay=0,this.closeDelay=0}return t.decorators=[{type:e.Injectable,args:[{providedIn:"root"}]}],t.ngInjectableDef=e.ɵɵdefineInjectable({factory:function(){return new t},token:t,providedIn:"root"}),t}(),uo=0,ho=function(){function t(){}return t.decorators=[{type:e.Component,args:[{selector:"ngb-tooltip-window",changeDetection:e.ChangeDetectionStrategy.OnPush,encapsulation:e.ViewEncapsulation.None,host:{"[class]":'"tooltip show" + (tooltipClass ? " " + tooltipClass : "")',role:"tooltip","[id]":"id"},template:'<div class="arrow"></div><div class="tooltip-inner"><ng-content></ng-content></div>',styles:["ngb-tooltip-window.bs-tooltip-bottom .arrow,ngb-tooltip-window.bs-tooltip-top .arrow{left:calc(50% - .4rem)}ngb-tooltip-window.bs-tooltip-bottom-left .arrow,ngb-tooltip-window.bs-tooltip-top-left .arrow{left:1em}ngb-tooltip-window.bs-tooltip-bottom-right .arrow,ngb-tooltip-window.bs-tooltip-top-right .arrow{left:auto;right:.8rem}ngb-tooltip-window.bs-tooltip-left .arrow,ngb-tooltip-window.bs-tooltip-right .arrow{top:calc(50% - .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}"]}]}],t.propDecorators={id:[{type:e.Input}],tooltipClass:[{type:e.Input}]},t}(),fo=function(){function t(t,n,o,i,r,a,s,l,p,c){var u=this;this._elementRef=t,this._renderer=n,this._ngZone=s,this._document=l,this._changeDetector=p,this.shown=new e.EventEmitter,this.hidden=new e.EventEmitter,this._ngbTooltipWindowId="ngb-tooltip-"+uo++,this.autoClose=a.autoClose,this.placement=a.placement,this.triggers=a.triggers,this.container=a.container,this.disableTooltip=a.disableTooltip,this.tooltipClass=a.tooltipClass,this.openDelay=a.openDelay,this.closeDelay=a.closeDelay,this._popupService=new qe(ho,o,r,n,i,c),this._zoneSubscription=s.onStable.subscribe(function(){u._windowRef&&Pt(u._elementRef.nativeElement,u._windowRef.location.nativeElement,u.placement,"body"===u.container,"bs-tooltip")})}return Object.defineProperty(t.prototype,"ngbTooltip",{get:function(){return this._ngbTooltip},set:function(t){this._ngbTooltip=t,!t&&this._windowRef&&this.close()},enumerable:!0,configurable:!0}),t.prototype.open=function(t){var e=this;this._windowRef||!this._ngbTooltip||this.disableTooltip||(this._windowRef=this._popupService.open(this._ngbTooltip,t),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(),Rt(this._ngZone,this._document,this.autoClose,function(){return e.close()},this.hidden,[this._windowRef.location.nativeElement]),this.shown.emit())},t.prototype.close=function(){null!=this._windowRef&&(this._renderer.removeAttribute(this._elementRef.nativeElement,"aria-describedby"),this._popupService.close(),this._windowRef=null,this.hidden.emit(),this._changeDetector.markForCheck())},t.prototype.toggle=function(){this._windowRef?this.close():this.open()},t.prototype.isOpen=function(){return null!=this._windowRef},t.prototype.ngOnInit=function(){this._unregisterListenersFn=Rn(this._renderer,this._elementRef.nativeElement,this.triggers,this.isOpen.bind(this),this.open.bind(this),this.close.bind(this),+this.openDelay,+this.closeDelay)},t.prototype.ngOnChanges=function(t){var e=t.tooltipClass;e&&this.isOpen()&&(this._windowRef.instance.tooltipClass=e.currentValue)},t.prototype.ngOnDestroy=function(){this.close(),this._unregisterListenersFn&&this._unregisterListenersFn(),this._zoneSubscription.unsubscribe()},t.decorators=[{type:e.Directive,args:[{selector:"[ngbTooltip]",exportAs:"ngbTooltip"}]}],t.ctorParameters=function(){return[{type:e.ElementRef},{type:e.Renderer2},{type:e.Injector},{type:e.ComponentFactoryResolver},{type:e.ViewContainerRef},{type:co},{type:e.NgZone},{type:void 0,decorators:[{type:e.Inject,args:[n.DOCUMENT]}]},{type:e.ChangeDetectorRef},{type:e.ApplicationRef}]},t.propDecorators={autoClose:[{type:e.Input}],placement:[{type:e.Input}],triggers:[{type:e.Input}],container:[{type:e.Input}],disableTooltip:[{type:e.Input}],tooltipClass:[{type:e.Input}],openDelay:[{type:e.Input}],closeDelay:[{type:e.Input}],shown:[{type:e.Output}],hidden:[{type:e.Output}],ngbTooltip:[{type:e.Input}]},t}(),go=function(){function t(){}return t.decorators=[{type:e.NgModule,args:[{declarations:[fo,ho],exports:[fo],entryComponents:[ho]}]}],t}(),mo=function(){function t(){this.highlightClass="ngb-highlight"}return t.prototype.ngOnChanges=function(t){var e=u(this.result),n=(Array.isArray(this.term)?this.term:[this.term]).map(function(t){return u(t).replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")}).filter(function(t){return t});this.parts=n.length?e.split(new RegExp("("+n.join("|")+")","gmi")):[e]},t.decorators=[{type:e.Component,args:[{selector:"ngb-highlight",changeDetection:e.ChangeDetectionStrategy.OnPush,encapsulation:e.ViewEncapsulation.None,template:'<ng-template ngFor [ngForOf]="parts" let-part let-isOdd="odd"><span *ngIf="isOdd; else even" [class]="highlightClass">{{part}}</span><ng-template #even>{{part}}</ng-template></ng-template>',styles:[".ngb-highlight{font-weight:700}"]}]}],t.propDecorators={highlightClass:[{type:e.Input}],result:[{type:e.Input}],term:[{type:e.Input}]},t}(),yo=function(){function t(){this.activeIdx=0,this.focusFirst=!0,this.formatter=u,this.selectEvent=new e.EventEmitter,this.activeChangeEvent=new e.EventEmitter}return t.prototype.hasActive=function(){return this.activeIdx>-1&&this.activeIdx<this.results.length},t.prototype.getActive=function(){return this.results[this.activeIdx]},t.prototype.markActive=function(t){this.activeIdx=t,this._activeChanged()},t.prototype.next=function(){this.activeIdx===this.results.length-1?this.activeIdx=this.focusFirst?(this.activeIdx+1)%this.results.length:-1:this.activeIdx++,this._activeChanged()},t.prototype.prev=function(){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()},t.prototype.resetActive=function(){this.activeIdx=this.focusFirst?0:-1,this._activeChanged()},t.prototype.select=function(t){this.selectEvent.emit(t)},t.prototype.ngOnInit=function(){this.resetActive()},t.prototype._activeChanged=function(){this.activeChangeEvent.emit(this.activeIdx>=0?this.id+"-"+this.activeIdx:void 0)},t.decorators=[{type:e.Component,args:[{selector:"ngb-typeahead-window",exportAs:"ngbTypeaheadWindow",encapsulation:e.ViewEncapsulation.None,host:{"(mousedown)":"$event.preventDefault()",class:"dropdown-menu show",role:"listbox","[id]":"id"},template:'\n <ng-template #rt let-result="result" let-term="term" let-formatter="formatter">\n <ngb-highlight [result]="formatter(result)" [term]="term"></ngb-highlight>\n </ng-template>\n <ng-template ngFor [ngForOf]="results" let-result let-idx="index">\n <button type="button" class="dropdown-item" role="option"\n [id]="id + \'-\' + idx"\n [class.active]="idx === activeIdx"\n (mouseenter)="markActive(idx)"\n (click)="select(result)">\n <ng-template [ngTemplateOutlet]="resultTemplate || rt"\n [ngTemplateOutletContext]="{result: result, term: term, formatter: formatter}"></ng-template>\n </button>\n </ng-template>\n '}]}],t.propDecorators={id:[{type:e.Input}],focusFirst:[{type:e.Input}],results:[{type:e.Input}],term:[{type:e.Input}],formatter:[{type:e.Input}],resultTemplate:[{type:e.Input}],selectEvent:[{type:e.Output,args:["select"]}],activeChangeEvent:[{type:e.Output,args:["activeChange"]}]},t}(),bo=new e.InjectionToken("live announcer delay",{providedIn:"root",factory:vo});function vo(){return 100}function _o(t,e){void 0===e&&(e=!1);var n=t.body.querySelector("#ngb-live");return null==n&&e&&((n=t.createElement("div")).setAttribute("id","ngb-live"),n.setAttribute("aria-live","polite"),n.setAttribute("aria-atomic","true"),n.classList.add("sr-only"),t.body.appendChild(n)),n}var wo=function(){function t(t,e){this._document=t,this._delay=e}return t.prototype.ngOnDestroy=function(){var t=_o(this._document);t&&t.parentElement.removeChild(t)},t.prototype.say=function(t){var e=_o(this._document,!0),n=this._delay;e.textContent="";var o=function(){return e.textContent=t};null===n?o():setTimeout(o,n)},t.decorators=[{type:e.Injectable,args:[{providedIn:"root"}]}],t.ctorParameters=function(){return[{type:void 0,decorators:[{type:e.Inject,args:[n.DOCUMENT]}]},{type:void 0,decorators:[{type:e.Inject,args:[bo]}]}]},t.ngInjectableDef=e.ɵɵdefineInjectable({factory:function(){return new t(e.ɵɵinject(n.DOCUMENT),e.ɵɵinject(bo))},token:t,providedIn:"root"}),t}(),Do=function(){function t(){this.editable=!0,this.focusFirst=!0,this.showHint=!1,this.placement=["bottom-left","bottom-right","top-left","top-right"]}return t.decorators=[{type:e.Injectable,args:[{providedIn:"root"}]}],t.ngInjectableDef=e.ɵɵdefineInjectable({factory:function(){return new t},token:t,providedIn:"root"}),t}(),Io={provide:o.NG_VALUE_ACCESSOR,useExisting:e.forwardRef(function(){return ko}),multi:!0},Co=0,ko=function(){function t(t,n,o,a,s,l,p,c,u,d,h,f){var g=this;this._elementRef=t,this._renderer=o,this._live=c,this._document=u,this._ngZone=d,this._changeDetector=h,this._closed$=new i.Subject,this.autocomplete="off",this.placement="bottom-left",this.selectItem=new e.EventEmitter,this.popupId="ngb-typeahead-"+Co++,this._onTouched=function(){},this._onChange=function(t){},this.container=l.container,this.editable=l.editable,this.focusFirst=l.focusFirst,this.showHint=l.showHint,this.placement=l.placement,this._valueChanges=i.fromEvent(t.nativeElement,"input").pipe(r.map(function(t){return t.target.value})),this._resubscribeTypeahead=new i.BehaviorSubject(null),this._popupService=new qe(yo,a,n,o,s,f),this._zoneSubscription=p.onStable.subscribe(function(){g.isPopupOpen()&&Pt(g._elementRef.nativeElement,g._windowRef.location.nativeElement,g.placement,"body"===g.container)})}return t.prototype.ngOnInit=function(){var t=this,e=this._valueChanges.pipe(r.tap(function(e){t._inputValueBackup=t.showHint?e:null,t._onChange(t.editable?e:void 0)})).pipe(this.ngbTypeahead),n=this._resubscribeTypeahead.pipe(r.switchMap(function(){return e}));this._subscription=this._subscribeToUserInput(n)},t.prototype.ngOnDestroy=function(){this._closePopup(),this._unsubscribeFromUserInput(),this._zoneSubscription.unsubscribe()},t.prototype.registerOnChange=function(t){this._onChange=t},t.prototype.registerOnTouched=function(t){this._onTouched=t},t.prototype.writeValue=function(t){this._writeInputValue(this._formatItemForInput(t)),this.showHint&&(this._inputValueBackup=t)},t.prototype.setDisabledState=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)},t.prototype.dismissPopup=function(){this.isPopupOpen()&&(this._resubscribeTypeahead.next(null),this._closePopup(),this.showHint&&null!==this._inputValueBackup&&this._writeInputValue(this._inputValueBackup),this._changeDetector.markForCheck())},t.prototype.isPopupOpen=function(){return null!=this._windowRef},t.prototype.handleBlur=function(){this._resubscribeTypeahead.next(null),this._onTouched()},t.prototype.handleKeyDown=function(t){if(this.isPopupOpen())switch(t.which){case dt.ArrowDown:t.preventDefault(),this._windowRef.instance.next(),this._showHint();break;case dt.ArrowUp:t.preventDefault(),this._windowRef.instance.prev(),this._showHint();break;case dt.Enter:case dt.Tab:var e=this._windowRef.instance.getActive();m(e)&&(t.preventDefault(),t.stopPropagation(),this._selectResult(e)),this._closePopup()}},t.prototype._openPopup=function(){var t=this;this.isPopupOpen()||(this._inputValueBackup=this._elementRef.nativeElement.value,this._windowRef=this._popupService.open(),this._windowRef.instance.id=this.popupId,this._windowRef.instance.selectEvent.subscribe(function(e){return t._selectResultClosePopup(e)}),this._windowRef.instance.activeChangeEvent.subscribe(function(e){return t.activeDescendant=e}),"body"===this.container&&window.document.querySelector(this.container).appendChild(this._windowRef.location.nativeElement),this._changeDetector.markForCheck(),Rt(this._ngZone,this._document,"outside",function(){return t.dismissPopup()},this._closed$,[this._elementRef.nativeElement,this._windowRef.location.nativeElement]))},t.prototype._closePopup=function(){this._closed$.next(),this._popupService.close(),this._windowRef=null,this.activeDescendant=void 0},t.prototype._selectResult=function(t){var e=!1;this.selectItem.emit({item:t,preventDefault:function(){e=!0}}),this._resubscribeTypeahead.next(null),e||(this.writeValue(t),this._onChange(t))},t.prototype._selectResultClosePopup=function(t){this._selectResult(t),this._closePopup()},t.prototype._showHint=function(){if(this.showHint&&this._windowRef.instance.hasActive()&&null!=this._inputValueBackup){var t=this._inputValueBackup.toLowerCase(),e=this._formatItemForInput(this._windowRef.instance.getActive());t===e.substr(0,this._inputValueBackup.length).toLowerCase()?(this._writeInputValue(this._inputValueBackup+e.substr(this._inputValueBackup.length)),this._elementRef.nativeElement.setSelectionRange.apply(this._elementRef.nativeElement,[this._inputValueBackup.length,e.length])):this._writeInputValue(e)}},t.prototype._formatItemForInput=function(t){return null!=t&&this.inputFormatter?this.inputFormatter(t):u(t)},t.prototype._writeInputValue=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"value",u(t))},t.prototype._subscribeToUserInput=function(t){var e=this;return t.subscribe(function(t){t&&0!==t.length?(e._openPopup(),e._windowRef.instance.focusFirst=e.focusFirst,e._windowRef.instance.results=t,e._windowRef.instance.term=e._elementRef.nativeElement.value,e.resultFormatter&&(e._windowRef.instance.formatter=e.resultFormatter),e.resultTemplate&&(e._windowRef.instance.resultTemplate=e.resultTemplate),e._windowRef.instance.resetActive(),e._windowRef.changeDetectorRef.detectChanges(),e._showHint()):e._closePopup();var n=t?t.length:0;e._live.say(0===n?"No results available":n+" result"+(1===n?"":"s")+" available")})},t.prototype._unsubscribeFromUserInput=function(){this._subscription&&this._subscription.unsubscribe(),this._subscription=null},t.decorators=[{type:e.Directive,args:[{selector:"input[ngbTypeahead]",exportAs:"ngbTypeahead",host:{"(blur)":"handleBlur()","[class.open]":"isPopupOpen()","(keydown)":"handleKeyDown($event)","[autocomplete]":"autocomplete",autocapitalize:"off",autocorrect:"off",role:"combobox","aria-multiline":"false","[attr.aria-autocomplete]":'showHint ? "both" : "list"',"[attr.aria-activedescendant]":"activeDescendant","[attr.aria-owns]":"isPopupOpen() ? popupId : null","[attr.aria-expanded]":"isPopupOpen()"},providers:[Io]}]}],t.ctorParameters=function(){return[{type:e.ElementRef},{type:e.ViewContainerRef},{type:e.Renderer2},{type:e.Injector},{type:e.ComponentFactoryResolver},{type:Do},{type:e.NgZone},{type:wo},{type:void 0,decorators:[{type:e.Inject,args:[n.DOCUMENT]}]},{type:e.NgZone},{type:e.ChangeDetectorRef},{type:e.ApplicationRef}]},t.propDecorators={autocomplete:[{type:e.Input}],container:[{type:e.Input}],editable:[{type:e.Input}],focusFirst:[{type:e.Input}],inputFormatter:[{type:e.Input}],ngbTypeahead:[{type:e.Input}],resultFormatter:[{type:e.Input}],resultTemplate:[{type:e.Input}],showHint:[{type:e.Input}],placement:[{type:e.Input}],selectItem:[{type:e.Output}]},t}(),xo=function(){function t(){}return t.decorators=[{type:e.NgModule,args:[{declarations:[ko,mo,yo],exports:[ko,mo],imports:[n.CommonModule],entryComponents:[yo]}]}],t}(),Ro=[E,T,L,Z,Y,Pe,ze,nn,hn,In,On,jn,Hn,Kn,ro,po,go,xo],Eo=function(){function t(){}return t.decorators=[{type:e.NgModule,args:[{imports:Ro,exports:Ro}]}],t}();t.ModalDismissReasons=Je,t.NgbAccordion=k,t.NgbAccordionConfig=v,t.NgbAccordionModule=E,t.NgbActiveModal=Ye,t.NgbAlert=N,t.NgbAlertConfig=S,t.NgbAlertModule=T,t.NgbButtonLabel=O,t.NgbButtonsModule=L,t.NgbCalendar=et,t.NgbCalendarGregorian=nt,t.NgbCalendarHebrew=Re,t.NgbCalendarIslamicCivil=Kt,t.NgbCalendarIslamicUmalqura=Jt,t.NgbCalendarPersian=le,t.NgbCarousel=B,t.NgbCarouselConfig=W,t.NgbCarouselModule=Z,t.NgbCheckBox=P,t.NgbCollapse=G,t.NgbCollapseModule=Y,t.NgbDate=X,t.NgbDateAdapter=yt,t.NgbDateNativeAdapter=Oe,t.NgbDateNativeUTCAdapter=Me,t.NgbDateParserFormatter=At,t.NgbDatepicker=_t,t.NgbDatepickerConfig=gt,t.NgbDatepickerI18n=pt,t.NgbDatepickerI18nHebrew=Te,t.NgbDatepickerKeyboardService=ht,t.NgbDatepickerModule=Pe,t.NgbDropdown=We,t.NgbDropdownAnchor=He,t.NgbDropdownConfig=je,t.NgbDropdownItem=Fe,t.NgbDropdownMenu=Ve,t.NgbDropdownModule=ze,t.NgbDropdownToggle=Le,t.NgbHighlight=mo,t.NgbInputDatepicker=Wt,t.NgbInputDatepickerConfig=Vt,t.NgbModal=en,t.NgbModalConfig=Be,t.NgbModalModule=nn,t.NgbModalRef=Xe,t.NgbModule=Eo,t.NgbNav=pn,t.NgbNavConfig=on,t.NgbNavContent=sn,t.NgbNavItem=ln,t.NgbNavLink=cn,t.NgbNavModule=hn,t.NgbNavOutlet=un,t.NgbNavbar=Ae,t.NgbPagination=wn,t.NgbPaginationConfig=fn,t.NgbPaginationEllipsis=gn,t.NgbPaginationFirst=mn,t.NgbPaginationLast=yn,t.NgbPaginationModule=In,t.NgbPaginationNext=bn,t.NgbPaginationNumber=vn,t.NgbPaginationPrevious=_n,t.NgbPanel=C,t.NgbPanelContent=I,t.NgbPanelHeader=w,t.NgbPanelTitle=D,t.NgbPanelToggle=x,t.NgbPopover=Tn,t.NgbPopoverConfig=En,t.NgbPopoverModule=On,t.NgbProgressbar=Pn,t.NgbProgressbarConfig=Mn,t.NgbProgressbarModule=jn,t.NgbRadio=V,t.NgbRadioGroup=F,t.NgbRating=Vn,t.NgbRatingConfig=An,t.NgbRatingModule=Hn,t.NgbSlide=z,t.NgbSlideEventDirection=U,t.NgbSlideEventSource=q,t.NgbTab=Bn,t.NgbTabContent=zn,t.NgbTabTitle=$n,t.NgbTabset=Un,t.NgbTabsetConfig=Ln,t.NgbTabsetModule=Kn,t.NgbTimeAdapter=Xn,t.NgbTimepicker=io,t.NgbTimepickerConfig=Gn,t.NgbTimepickerI18n=to,t.NgbTimepickerModule=ro,t.NgbToast=lo,t.NgbToastConfig=ao,t.NgbToastHeader=so,t.NgbToastModule=po,t.NgbTooltip=fo,t.NgbTooltipConfig=co,t.NgbTooltipModule=go,t.NgbTypeahead=ko,t.NgbTypeaheadConfig=Do,t.NgbTypeaheadModule=xo,t.ɵa=K,t.ɵb=tt,t.ɵba=wo,t.ɵbb=Bt,t.ɵbc=Ue,t.ɵc=wt,t.ɵd=$t,t.ɵe=Dt,t.ɵf=zt,t.ɵg=lt,t.ɵh=ct,t.ɵi=mt,t.ɵj=bt,t.ɵk=jt,t.ɵl=Ft,t.ɵm=Nn,t.ɵn=Yn,t.ɵo=Jn,t.ɵp=Qn,t.ɵq=eo,t.ɵr=ho,t.ɵs=yo,t.ɵt=ut,t.ɵu=Ge,t.ɵv=Qe,t.ɵw=tn,t.ɵx=Ze,t.ɵy=bo,t.ɵz=vo,Object.defineProperty(t,"__esModule",{value:!0})});
  2. //# sourceMappingURL=ng-bootstrap.umd.min.js.map