From cfd79b11b9b9463675b76c343c55a2f781805146 Mon Sep 17 00:00:00 2001 From: Gobinath Date: Sun, 9 Jun 2024 02:15:17 -0400 Subject: [PATCH] Update Ubuntu PPA --- main.205c915f9e3c958274d4.bundle.js | 2 +- .../installation/installation.component.html | 49 +++++++++++++++++++ 2 files changed, 50 insertions(+), 1 deletion(-) create mode 100644 src/app/installation/installation.component.html diff --git a/main.205c915f9e3c958274d4.bundle.js b/main.205c915f9e3c958274d4.bundle.js index f611260..decebed 100644 --- a/main.205c915f9e3c958274d4.bundle.js +++ b/main.205c915f9e3c958274d4.bundle.js @@ -1 +1 @@ -webpackJsonp([1],{"+CnV":function(e,t,n){"use strict";n.d(t,"a",function(){return r});var r=function(e){var t,r=n("AMGY").a.Symbol;return"function"==typeof r?r.observable?t=r.observable:(t=r("observable"),r.observable=t):t="@@observable",t}()},"/iUD":function(e,t,n){"use strict";t.a=function(e){return"function"==typeof e}},"/nXB":function(e,t,n){"use strict";var r=n("YaPU"),i=n("Veqx"),o=n("1Q68"),a=n("TToO"),s=n("PIsA"),l=n("tZ2B"),u=function(){function e(e,t,n){void 0===n&&(n=Number.POSITIVE_INFINITY),this.project=e,this.resultSelector=t,this.concurrent=n}return e.prototype.call=function(e,t){return t.subscribe(new c(e,this.project,this.resultSelector,this.concurrent))},e}(),c=function(e){function t(t,n,r,i){void 0===i&&(i=Number.POSITIVE_INFINITY),e.call(this,t),this.project=n,this.resultSelector=r,this.concurrent=i,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}return Object(a.b)(t,e),t.prototype._next=function(e){this.active0?this._next(t.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()},t}(l.a);function p(e){return e}t.a=function(){for(var e=[],t=0;t1&&"number"==typeof e[e.length-1]&&(n=e.pop())):"number"==typeof s&&(n=e.pop()),null===a&&1===e.length&&e[0]instanceof r.a?e[0]:function(e){return void 0===e&&(e=Number.POSITIVE_INFINITY),function(e,t,n){return void 0===n&&(n=Number.POSITIVE_INFINITY),function(r){return"number"==typeof t&&(n=t,t=null),r.lift(new u(e,t,n))}}(p,null,e)}(n)(new i.a(e,a))}},0:function(e,t,n){e.exports=n("x35b")},"1PhI":function(e,t,n){!function(e,t,n,r){"use strict";var i,o=function(){function e(){this.disabled=!1,this.titleText="",this.onClick=new t.EventEmitter}return e.prototype.handleClick=function(e){this.disabled||this.onClick.emit(e),e.stopPropagation(),e.preventDefault()},e.decorators=[{type:t.Component,args:[{selector:"ngx-gallery-action",template:'\n ',changeDetection:t.ChangeDetectionStrategy.OnPush}]}],e.ctorParameters=function(){return[]},e.propDecorators={icon:[{type:t.Input}],disabled:[{type:t.Input}],titleText:[{type:t.Input}],onClick:[{type:t.Output}]},e}(),a=function(){function e(){this.onPrevClick=new t.EventEmitter,this.onNextClick=new t.EventEmitter}return e.prototype.handlePrevClick=function(){this.onPrevClick.emit()},e.prototype.handleNextClick=function(){this.onNextClick.emit()},e.decorators=[{type:t.Component,args:[{selector:"ngx-gallery-arrows",template:'\n \n \n ',styles:[".ngx-gallery-arrow-wrapper { position: absolute; height: 100%; width: 1px; display: table; z-index: 2000; table-layout: fixed; } .ngx-gallery-arrow-left { left: 0px; } .ngx-gallery-arrow-right { right: 0px; } .ngx-gallery-arrow { top: 50%; transform: translateY(-50%); cursor: pointer; } .ngx-gallery-arrow.ngx-gallery-disabled { opacity: 0.6; cursor: default; } .ngx-gallery-arrow-left .ngx-gallery-arrow { left: 10px; } .ngx-gallery-arrow-right .ngx-gallery-arrow { right: 10px; } "]}]}],e.ctorParameters=function(){return[]},e.propDecorators={prevDisabled:[{type:t.Input}],nextDisabled:[{type:t.Input}],arrowPrevIcon:[{type:t.Input}],arrowNextIcon:[{type:t.Input}],onPrevClick:[{type:t.Output}],onNextClick:[{type:t.Output}]},e}(),s=function(){function e(e){this.renderer=e,this.swipeHandlers=new Map}return e.prototype.manageSwipe=function(e,t,n,r,i){var o=this.getSwipeHandlers(n);try{e&&!o?this.swipeHandlers.set(n,[this.renderer.listen(t.nativeElement,"swipeleft",function(){return r()}),this.renderer.listen(t.nativeElement,"swiperight",function(){return i()})]):!e&&o&&(o.map(function(e){return e()}),this.removeSwipeHandlers(n))}catch(e){}},e.prototype.validateUrl=function(e){return e.replace?e.replace(new RegExp(" ","g"),"%20"):e},e.prototype.getBackgroundUrl=function(e){return"url('"+this.validateUrl(e)+"')"},e.prototype.getSwipeHandlers=function(e){return this.swipeHandlers.get(e)},e.prototype.removeSwipeHandlers=function(e){this.swipeHandlers.delete(e)},e.decorators=[{type:t.Injectable}],e.ctorParameters=function(){return[{type:t.Renderer}]},e}(),l=function(){function e(){}return e.Fade="fade",e.Slide="slide",e.Rotate="rotate",e.Zoom="zoom",e}(),u=function(){function e(e,n,r){this.sanitization=e,this.elementRef=n,this.helperService=r,this.onClick=new t.EventEmitter,this.onActiveChange=new t.EventEmitter,this.canChangeImage=!0}return e.prototype.ngOnInit=function(){this.arrows&&this.arrowsAutoHide&&(this.arrows=!1),this.autoPlay&&this.startAutoPlay()},e.prototype.ngOnChanges=function(e){var t=this;e.swipe&&this.helperService.manageSwipe(this.swipe,this.elementRef,"image",function(){return t.showNext()},function(){return t.showPrev()})},e.prototype.onMouseEnter=function(){this.arrowsAutoHide&&!this.arrows&&(this.arrows=!0),this.autoPlay&&this.autoPlayPauseOnHover&&this.stopAutoPlay()},e.prototype.onMouseLeave=function(){this.arrowsAutoHide&&this.arrows&&(this.arrows=!1),this.autoPlay&&this.autoPlayPauseOnHover&&this.startAutoPlay()},e.prototype.reset=function(e){this.selectedIndex=e},e.prototype.getImages=function(){if(this.lazyLoading){var e=[this.selectedIndex],t=this.selectedIndex-1;-1===t&&this.infinityMove?e.push(this.images.length-1):t>=0&&e.push(t);var n=this.selectedIndex+1;return n==this.images.length&&this.infinityMove?e.push(0):n0)},e.prototype.getSafeUrl=function(e){return this.sanitization.bypassSecurityTrustStyle(this.helperService.getBackgroundUrl(e))},e.decorators=[{type:t.Component,args:[{selector:"ngx-gallery-image",template:'\n \n \n ',styles:[":host { width: 100%; display: inline-block; position: relative; } .ngx-gallery-image-wrapper { width: 100%; height: 100%; position: absolute; left: 0px; top: 0px; overflow: hidden; } .ngx-gallery-image { background-position: center; background-repeat: no-repeat; height: 100%; width: 100%; position: absolute; top: 0px; } .ngx-gallery-image.ngx-gallery-active { z-index: 1000; } .ngx-gallery-image-size-cover .ngx-gallery-image { background-size: cover; } .ngx-gallery-image-size-contain .ngx-gallery-image { background-size: contain; } .ngx-gallery-animation-fade .ngx-gallery-image { left: 0px; opacity: 0; transition: 0.5s ease-in-out; } .ngx-gallery-animation-fade .ngx-gallery-image.ngx-gallery-active { opacity: 1; } .ngx-gallery-animation-slide .ngx-gallery-image { transition: 0.5s ease-in-out; } .ngx-gallery-animation-slide .ngx-gallery-image.ngx-gallery-active { left: 0px; } .ngx-gallery-animation-slide .ngx-gallery-image.ngx-gallery-inactive-left { left: -100%; } .ngx-gallery-animation-slide .ngx-gallery-image.ngx-gallery-inactive-right { left: 100%; } .ngx-gallery-animation-rotate .ngx-gallery-image { transition: 1s ease; transform: scale(3.5, 3.5) rotate(90deg); left: 0px; opacity: 0; } .ngx-gallery-animation-rotate .ngx-gallery-image.ngx-gallery-active { transform: scale(1, 1) rotate(0deg); opacity: 1; } .ngx-gallery-animation-zoom .ngx-gallery-image { transition: 1s ease; transform: scale(2.5, 2.5); left: 0px; opacity: 0; } .ngx-gallery-animation-zoom .ngx-gallery-image.ngx-gallery-active { transform: scale(1, 1); opacity: 1; } .ngx-gallery-image-text { width: 100%; background: rgba(0, 0, 0, 0.7); padding: 10px; text-align: center; color: white; font-size: 16px; position: absolute; bottom: 0px; z-index: 10; } "]}]}],e.ctorParameters=function(){return[{type:r.DomSanitizer},{type:t.ElementRef},{type:s}]},e.propDecorators={images:[{type:t.Input}],clickable:[{type:t.Input}],selectedIndex:[{type:t.Input}],arrows:[{type:t.Input}],arrowsAutoHide:[{type:t.Input}],swipe:[{type:t.Input}],animation:[{type:t.Input}],size:[{type:t.Input}],arrowPrevIcon:[{type:t.Input}],arrowNextIcon:[{type:t.Input}],autoPlay:[{type:t.Input}],autoPlayInterval:[{type:t.Input}],autoPlayPauseOnHover:[{type:t.Input}],infinityMove:[{type:t.Input}],lazyLoading:[{type:t.Input}],actions:[{type:t.Input}],descriptions:[{type:t.Input}],showDescription:[{type:t.Input}],onClick:[{type:t.Output}],onActiveChange:[{type:t.Output}],onMouseEnter:[{type:t.HostListener,args:["mouseenter"]}],onMouseLeave:[{type:t.HostListener,args:["mouseleave"]}]},e}(),c=function(){function e(){}return e.Column=1,e.Row=2,e}(),p=function(){function e(e,n,r){this.sanitization=e,this.elementRef=n,this.helperService=r,this.minStopIndex=0,this.onActiveChange=new t.EventEmitter,this.index=0}return e.prototype.ngOnChanges=function(e){var t=this;e.selectedIndex&&this.validateIndex(),e.swipe&&this.helperService.manageSwipe(this.swipe,this.elementRef,"thumbnails",function(){return t.moveRight()},function(){return t.moveLeft()}),this.images&&(this.remainingCountValue=this.images.length-this.columns)},e.prototype.onMouseEnter=function(){this.mouseenter=!0},e.prototype.onMouseLeave=function(){this.mouseenter=!1},e.prototype.reset=function(e){this.selectedIndex=e,this.setDefaultPosition(),this.index=0,this.validateIndex()},e.prototype.getImages=function(){if(this.remainingCount)return this.images.slice(0,this.columns);if(this.lazyLoading&&this.order!=c.Row){var e=this.index+this.columns+this.moveSize;return this.rows>1&&this.order===c.Column&&(e*=this.rows),e<=this.minStopIndex?e=this.minStopIndex:this.minStopIndex=e,this.images.slice(0,e)}return this.images},e.prototype.handleClick=function(e,t){this.hasLinks()||(this.selectedIndex=t,this.onActiveChange.emit(t),e.stopPropagation(),e.preventDefault())},e.prototype.hasLinks=function(){if(this.links&&this.links.length)return!0},e.prototype.moveRight=function(){if(this.canMoveRight()){this.index+=this.moveSize;var e=this.getMaxIndex()-this.columns;this.index>e&&(this.index=e),this.setThumbnailsPosition()}},e.prototype.moveLeft=function(){this.canMoveLeft()&&(this.index-=this.moveSize,this.index<0&&(this.index=0),this.setThumbnailsPosition())},e.prototype.canMoveRight=function(){return this.index+this.columnsthis.getVisibleCount())||this.arrowsAutoHide&&!this.mouseenter)},e.prototype.validateIndex=function(){var e;if(e=this.order===c.Column?Math.floor(this.selectedIndex/this.rows):this.selectedIndex%Math.ceil(this.images.length/this.rows),this.remainingCount&&(e=0),e=this.index+this.columns){var t=this.getMaxIndex()-this.columns;this.index=e>t?t:e,this.setThumbnailsPosition()}},e.prototype.getSafeUrl=function(e){return this.sanitization.bypassSecurityTrustStyle(this.helperService.getBackgroundUrl(e))},e.prototype.getThumbnailPosition=function(e,t){return this.getSafeStyle("calc("+100/t*e+"% + "+(this.margin-(t-1)*this.margin/t)*e+"px)")},e.prototype.getThumbnailDimension=function(e){return this.getSafeStyle(0!==this.margin?"calc("+100/e+"% - "+(e-1)*this.margin/e+"px)":"calc("+100/e+"% + 1px)")},e.prototype.getMaxIndex=function(){return Math.ceil(this.images.length/this.rows)},e.prototype.getVisibleCount=function(){return this.columns*this.rows},e.prototype.getSafeStyle=function(e){return this.sanitization.bypassSecurityTrustStyle(e)},e.decorators=[{type:t.Component,args:[{selector:"ngx-gallery-thumbnails",template:'\n \n \n ',styles:[":host { width: 100%; display: inline-block; position: relative; } .ngx-gallery-thumbnails-wrapper { width: 100%; height: 100%; position: absolute; overflow: hidden; } .ngx-gallery-thumbnails { height: 100%; width: 100%; position: absolute; left: 0px; transition: left 0.5s ease-in-out; } .ngx-gallery-thumbnails .ngx-gallery-thumbnail { position: absolute; height: 100%; background-position: center; background-repeat: no-repeat; text-decoration: none; } .ngx-gallery-thumbnail-size-cover .ngx-gallery-thumbnails .ngx-gallery-thumbnail { background-size: cover; } .ngx-gallery-thumbnail-size-contain .ngx-gallery-thumbnails .ngx-gallery-thumbnail { background-size: contain; } .ngx-gallery-remaining-count-overlay { width: 100%; height: 100%; position: absolute; left: 0px; top: 0px; background-color: rgba(0, 0, 0, 0.4); } .ngx-gallery-remaining-count { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); color: white; font-size: 30px; } "]}]}],e.ctorParameters=function(){return[{type:r.DomSanitizer},{type:t.ElementRef},{type:s}]},e.propDecorators={images:[{type:t.Input}],links:[{type:t.Input}],linkTarget:[{type:t.Input}],columns:[{type:t.Input}],rows:[{type:t.Input}],arrows:[{type:t.Input}],arrowsAutoHide:[{type:t.Input}],margin:[{type:t.Input}],selectedIndex:[{type:t.Input}],clickable:[{type:t.Input}],swipe:[{type:t.Input}],size:[{type:t.Input}],arrowPrevIcon:[{type:t.Input}],arrowNextIcon:[{type:t.Input}],moveSize:[{type:t.Input}],order:[{type:t.Input}],remainingCount:[{type:t.Input}],lazyLoading:[{type:t.Input}],actions:[{type:t.Input}],onActiveChange:[{type:t.Output}],onMouseEnter:[{type:t.HostListener,args:["mouseenter"]}],onMouseLeave:[{type:t.HostListener,args:["mouseleave"]}]},e}(),d=function(){function e(e,n,r){this.sanitization=e,this.elementRef=n,this.helperService=r,this.showSpinner=!1,this.positionLeft=0,this.positionTop=0,this.zoomValue=1,this.loading=!1,this.rotateValue=0,this.onOpen=new t.EventEmitter,this.onClose=new t.EventEmitter,this.onActiveChange=new t.EventEmitter,this.index=0,this.isOpen=!1,this.initialX=0,this.initialY=0,this.initialLeft=0,this.initialTop=0,this.isMove=!1}return e.prototype.ngOnChanges=function(e){var t=this;e.swipe&&this.helperService.manageSwipe(this.swipe,this.elementRef,"preview",function(){return t.showNext()},function(){return t.showPrev()})},e.prototype.onKeyDown=function(e){this.isOpen&&(this.keyboardNavigation&&(this.isKeyboardPrev(e)?this.showPrev():this.isKeyboardNext(e)&&this.showNext()),this.closeOnEsc&&this.isKeyboardEsc(e)&&this.close())},e.prototype.open=function(e){this.onOpen.emit(),this.index=e,this.isOpen=!0,this.show(!0),this.forceFullscreen&&this.manageFullscreen()},e.prototype.close=function(){this.isOpen=!1,this.closeFullscreen(),this.onClose.emit(),this.stopAutoPlay()},e.prototype.imageMouseEnter=function(){this.autoPlay&&this.autoPlayPauseOnHover&&this.stopAutoPlay()},e.prototype.imageMouseLeave=function(){this.autoPlay&&this.autoPlayPauseOnHover&&this.startAutoPlay()},e.prototype.startAutoPlay=function(){var e=this;this.autoPlay&&(this.stopAutoPlay(),this.timer=setTimeout(function(){e.showNext()||(e.index=-1,e.showNext())},this.autoPlayInterval))},e.prototype.stopAutoPlay=function(){this.timer&&clearTimeout(this.timer)},e.prototype.showNext=function(){return!!this.canShowNext()&&(this.index++,this.index===this.images.length&&(this.index=0),this.show(),!0)},e.prototype.showPrev=function(){this.canShowPrev()&&(this.index--,this.index<0&&(this.index=this.images.length-1),this.show())},e.prototype.canShowNext=function(){return!this.loading&&!!this.images&&!!(this.infinityMove||this.index0)},e.prototype.manageFullscreen=function(){if(this.fullscreen||this.forceFullscreen){var e=document;e.fullscreenElement||e.mozFullScreenElement||e.webkitFullscreenElement||e.msFullscreenElement?this.closeFullscreen():this.openFullscreen()}},e.prototype.getSafeUrl=function(e){return"data:image"===e.substr(0,10)?e:this.sanitization.bypassSecurityTrustUrl(e)},e.prototype.zoomIn=function(){this.canZoomIn()&&(this.zoomValue+=this.zoomStep,this.zoomValue>this.zoomMax&&(this.zoomValue=this.zoomMax))},e.prototype.zoomOut=function(){this.canZoomOut()&&(this.zoomValue-=this.zoomStep,this.zoomValuethis.zoomMin},e.prototype.canDragOnZoom=function(){return this.zoom&&this.zoomValue>1},e.prototype.mouseDownHandler=function(e){this.canDragOnZoom()&&(this.initialX=this.getClientX(e),this.initialY=this.getClientY(e),this.initialLeft=this.positionLeft,this.initialTop=this.positionTop,this.isMove=!0,e.preventDefault())},e.prototype.mouseUpHandler=function(e){this.isMove=!1},e.prototype.mouseMoveHandler=function(e){this.isMove&&(this.positionLeft=this.initialLeft+(this.getClientX(e)-this.initialX),this.positionTop=this.initialTop+(this.getClientY(e)-this.initialY))},e.prototype.getClientX=function(e){return e.touches&&e.touches.length?e.touches[0].clientX:e.clientX},e.prototype.getClientY=function(e){return e.touches&&e.touches.length?e.touches[0].clientY:e.clientY},e.prototype.resetPosition=function(){this.zoom&&(this.positionLeft=0,this.positionTop=0)},e.prototype.isKeyboardNext=function(e){return 39===e.keyCode},e.prototype.isKeyboardPrev=function(e){return 37===e.keyCode},e.prototype.isKeyboardEsc=function(e){return 27===e.keyCode},e.prototype.openFullscreen=function(){var e=document.documentElement;e.requestFullscreen?e.requestFullscreen():e.msRequestFullscreen?e.msRequestFullscreen():e.mozRequestFullScreen?e.mozRequestFullScreen():e.webkitRequestFullscreen&&e.webkitRequestFullscreen()},e.prototype.closeFullscreen=function(){var e=document;e.exitFullscreen?e.exitFullscreen():e.msExitFullscreen?e.msExitFullscreen():e.mozCancelFullScreen?e.mozCancelFullScreen():e.webkitExitFullscreen&&e.webkitExitFullscreen()},e.prototype.show=function(e){var t=this;void 0===e&&(e=!1),this.loading=!0,this.stopAutoPlay(),this.onActiveChange.emit(this.index),e||!this.animation?this._show():setTimeout(function(){return t._show()},600)},e.prototype._show=function(){var e=this;this.zoomValue=1,this.rotateValue=0,this.resetPosition(),this.src=this.getSafeUrl(this.images[this.index]),this.srcIndex=this.index,this.description=this.descriptions[this.index],setTimeout(function(){e.isLoaded(e.previewImage.nativeElement)?(e.loading=!1,e.startAutoPlay()):(setTimeout(function(){e.loading&&(e.showSpinner=!0)}),e.previewImage.nativeElement.onload=function(){e.loading=!1,e.showSpinner=!1,e.previewImage.nativeElement.onload=null,e.startAutoPlay()})})},e.prototype.isLoaded=function(e){return!!e.complete&&("undefined"==typeof e.naturalWidth||0!==e.naturalWidth)},e.decorators=[{type:t.Component,args:[{selector:"ngx-gallery-preview",template:'\n \n \n \n \n ',styles:[":host(.ngx-gallery-active) { width: 100%; height: 100%; position: fixed; left: 0; top: 0; background: rgba(0, 0, 0, 0.7); z-index: 10000; display: inline-block; } :host { display: none; } :host /deep/ .ngx-gallery-arrow { font-size: 50px; } .ngx-gallery-preview-img { opacity: 0; max-width: 90%; max-height: 90%; user-select: none; transition: transform .5s; } .ngx-gallery-preview-img.animation { transition: opacity 0.5s linear, transform .5s; } .ngx-gallery-preview-img.ngx-gallery-active { opacity: 1; } .ngx-gallery-preview-img.ngx-gallery-grab { cursor: grab; cursor: -webkit-grab; } .ngx-gallery-icon.ngx-gallery-spinner { font-size: 50px; left: 0; display: inline-block; } :host /deep/ .ngx-gallery-preview-top { position: absolute; width: 100%; user-select: none; } :host /deep/ .ngx-gallery-preview-icons { float: right; } :host /deep/ .ngx-gallery-preview-icons .ngx-gallery-icon { position: relative; margin-right: 10px; margin-top: 10px; font-size: 25px; cursor: pointer; } :host /deep/ .ngx-gallery-preview-icons .ngx-gallery-icon.ngx-gallery-icon-disabled { cursor: default; opacity: 0.4; } .ngx-spinner-wrapper { width: 50px; height: 50px; display: none; } .ngx-spinner-wrapper.ngx-gallery-active { display: inline-block; } .ngx-gallery-center { position: absolute; left: 0; right: 0; bottom: 0; margin: auto; top: 0; } .ngx-gallery-preview-text { width: 100%; background: rgba(0, 0, 0, 0.7); padding: 10px; text-align: center; color: white; font-size: 16px; flex: 0 1 auto; z-index: 10; } .ngx-gallery-preview-wrapper { width: 100%; height: 100%; display: flex; flex-flow: column; } .ngx-gallery-preview-img-wrapper { flex: 1 1 auto; position: relative; } "]}]}],e.ctorParameters=function(){return[{type:r.DomSanitizer},{type:t.ElementRef},{type:s}]},e.propDecorators={images:[{type:t.Input}],descriptions:[{type:t.Input}],showDescription:[{type:t.Input}],swipe:[{type:t.Input}],fullscreen:[{type:t.Input}],forceFullscreen:[{type:t.Input}],closeOnClick:[{type:t.Input}],closeOnEsc:[{type:t.Input}],keyboardNavigation:[{type:t.Input}],arrowPrevIcon:[{type:t.Input}],arrowNextIcon:[{type:t.Input}],closeIcon:[{type:t.Input}],fullscreenIcon:[{type:t.Input}],spinnerIcon:[{type:t.Input}],autoPlay:[{type:t.Input}],autoPlayInterval:[{type:t.Input}],autoPlayPauseOnHover:[{type:t.Input}],infinityMove:[{type:t.Input}],zoom:[{type:t.Input}],zoomStep:[{type:t.Input}],zoomMax:[{type:t.Input}],zoomMin:[{type:t.Input}],zoomInIcon:[{type:t.Input}],zoomOutIcon:[{type:t.Input}],animation:[{type:t.Input}],actions:[{type:t.Input}],rotate:[{type:t.Input}],rotateLeftIcon:[{type:t.Input}],rotateRightIcon:[{type:t.Input}],onOpen:[{type:t.Output}],onClose:[{type:t.Output}],onActiveChange:[{type:t.Output}],previewImage:[{type:t.ViewChild,args:["previewImage"]}],onKeyDown:[{type:t.HostListener,args:["window:keydown",["$event"]]}]},e}(),f=function(){function e(){}return e.Cover="cover",e.Contain="contain",e}(),h=function(){function e(){}return e.ThumbnailsTop="thumbnails-top",e.ThumbnailsBottom="thumbnails-bottom",e}(),g=function(e){this.icon=e.icon,this.disabled=!!e.disabled&&e.disabled,this.titleText=e.titleText?e.titleText:"",this.onClick=e.onClick},y=function(){return function(e){var t=void 0!==e.breakpoint;function n(n,r){return e&&(void 0!==n||t)?n:r}this.breakpoint=n(e.breakpoint,void 0),this.width=n(e.width,"500px"),this.height=n(e.height,"400px"),this.fullWidth=n(e.fullWidth,!1),this.layout=n(e.layout,h.ThumbnailsBottom),this.startIndex=n(e.startIndex,0),this.linkTarget=n(e.linkTarget,"_blank"),this.lazyLoading=n(e.lazyLoading,!0),this.image=n(e.image,!0),this.imagePercent=n(e.imagePercent,75),this.imageArrows=n(e.imageArrows,!0),this.imageArrowsAutoHide=n(e.imageArrowsAutoHide,!1),this.imageSwipe=n(e.imageSwipe,!1),this.imageAnimation=n(e.imageAnimation,l.Fade),this.imageSize=n(e.imageSize,f.Cover),this.imageAutoPlay=n(e.imageAutoPlay,!1),this.imageAutoPlayInterval=n(e.imageAutoPlayInterval,2e3),this.imageAutoPlayPauseOnHover=n(e.imageAutoPlayPauseOnHover,!1),this.imageInfinityMove=n(e.imageInfinityMove,!1),e&&e.imageActions&&e.imageActions.length&&(e.imageActions=e.imageActions.map(function(e){return new g(e)})),this.imageActions=n(e.imageActions,[]),this.imageDescription=n(e.imageDescription,!1),this.thumbnails=n(e.thumbnails,!0),this.thumbnailsColumns=n(e.thumbnailsColumns,4),this.thumbnailsRows=n(e.thumbnailsRows,1),this.thumbnailsPercent=n(e.thumbnailsPercent,25),this.thumbnailsMargin=n(e.thumbnailsMargin,10),this.thumbnailsArrows=n(e.thumbnailsArrows,!0),this.thumbnailsArrowsAutoHide=n(e.thumbnailsArrowsAutoHide,!1),this.thumbnailsSwipe=n(e.thumbnailsSwipe,!1),this.thumbnailsMoveSize=n(e.thumbnailsMoveSize,1),this.thumbnailsOrder=n(e.thumbnailsOrder,c.Column),this.thumbnailsRemainingCount=n(e.thumbnailsRemainingCount,!1),this.thumbnailsAsLinks=n(e.thumbnailsAsLinks,!1),this.thumbnailMargin=n(e.thumbnailMargin,10),this.thumbnailSize=n(e.thumbnailSize,f.Cover),e&&e.thumbnailActions&&e.thumbnailActions.length&&(e.thumbnailActions=e.thumbnailActions.map(function(e){return new g(e)})),this.thumbnailActions=n(e.thumbnailActions,[]),this.preview=n(e.preview,!0),this.previewDescription=n(e.previewDescription,!0),this.previewSwipe=n(e.previewSwipe,!1),this.previewFullscreen=n(e.previewFullscreen,!1),this.previewForceFullscreen=n(e.previewForceFullscreen,!1),this.previewCloseOnClick=n(e.previewCloseOnClick,!1),this.previewCloseOnEsc=n(e.previewCloseOnEsc,!1),this.previewKeyboardNavigation=n(e.previewKeyboardNavigation,!1),this.previewAnimation=n(e.previewAnimation,!0),this.previewAutoPlay=n(e.previewAutoPlay,!1),this.previewAutoPlayInterval=n(e.previewAutoPlayInterval,2e3),this.previewAutoPlayPauseOnHover=n(e.previewAutoPlayPauseOnHover,!1),this.previewInfinityMove=n(e.previewInfinityMove,!1),this.previewZoom=n(e.previewZoom,!1),this.previewZoomStep=n(e.previewZoomStep,.1),this.previewZoomMax=n(e.previewZoomMax,2),this.previewZoomMin=n(e.previewZoomMin,.5),this.previewRotate=n(e.previewRotate,!1),this.arrowPrevIcon=n(e.arrowPrevIcon,"fa fa-arrow-circle-left"),this.arrowNextIcon=n(e.arrowNextIcon,"fa fa-arrow-circle-right"),this.closeIcon=n(e.closeIcon,"fa fa-times-circle"),this.fullscreenIcon=n(e.fullscreenIcon,"fa fa-arrows-alt"),this.spinnerIcon=n(e.spinnerIcon,"fa fa-spinner fa-pulse fa-3x fa-fw"),this.zoomInIcon=n(e.zoomInIcon,"fa fa-search-plus"),this.zoomOutIcon=n(e.zoomOutIcon,"fa fa-search-minus"),this.rotateLeftIcon=n(e.rotateLeftIcon,"fa fa-undo"),this.rotateRightIcon=n(e.rotateRightIcon,"fa fa-repeat"),e&&e.actions&&e.actions.length&&(e.actions=e.actions.map(function(e){return new g(e)})),this.actions=n(e.actions,[])}}(),m=function(e){this.src=e.src,this.index=e.index},v=function(){function e(e){this.myElement=e,this.imagesReady=new t.EventEmitter,this.change=new t.EventEmitter,this.previewOpen=new t.EventEmitter,this.previewClose=new t.EventEmitter,this.previewChange=new t.EventEmitter,this.oldImagesLength=0,this.selectedIndex=0,this.breakpoint=void 0,this.prevBreakpoint=void 0}return e.prototype.ngOnInit=function(){this.options=this.options.map(function(e){return new y(e)}),this.sortOptions(),this.setBreakpoint(),this.setOptions(),this.checkFullWidth(),this.currentOptions&&(this.selectedIndex=this.currentOptions.startIndex)},e.prototype.ngDoCheck=function(){(void 0!==this.images&&this.images.length!==this.oldImagesLength||this.images!==this.oldImages)&&(this.oldImagesLength=this.images.length,this.oldImages=this.images,this.setImages(),this.images&&this.images.length&&this.imagesReady.emit(),this.image&&this.image.reset(this.currentOptions.startIndex),this.resetThumbnails())},e.prototype.ngAfterViewInit=function(){this.checkFullWidth()},e.prototype.onResize=function(){var e=this;this.setBreakpoint(),this.prevBreakpoint!==this.breakpoint&&(this.setOptions(),this.resetThumbnails()),this.currentOptions&&this.currentOptions.fullWidth&&(this.fullWidthTimeout&&clearTimeout(this.fullWidthTimeout),this.fullWidthTimeout=setTimeout(function(){e.checkFullWidth()},200))},e.prototype.getImageHeight=function(){return this.currentOptions&&this.currentOptions.thumbnails?this.currentOptions.imagePercent+"%":"100%"},e.prototype.getThumbnailsHeight=function(){return this.currentOptions&&this.currentOptions.image?"calc("+this.currentOptions.thumbnailsPercent+"% - "+this.currentOptions.thumbnailsMargin+"px)":"100%"},e.prototype.getThumbnailsMarginTop=function(){return this.currentOptions&&this.currentOptions.layout===h.ThumbnailsBottom?this.currentOptions.thumbnailsMargin+"px":"0px"},e.prototype.getThumbnailsMarginBottom=function(){return this.currentOptions&&this.currentOptions.layout===h.ThumbnailsTop?this.currentOptions.thumbnailsMargin+"px":"0px"},e.prototype.openPreview=function(e){this.previewEnabled=!0,this.preview.open(e)},e.prototype.onPreviewOpen=function(){this.previewOpen.emit(),this.image&&this.image.autoPlay&&this.image.stopAutoPlay()},e.prototype.onPreviewClose=function(){this.previewEnabled=!1,this.previewClose.emit(),this.image&&this.image.autoPlay&&this.image.startAutoPlay()},e.prototype.selectFromImage=function(e){this.select(e)},e.prototype.selectFromThumbnails=function(e){this.select(e),this.currentOptions&&this.currentOptions.thumbnails&&this.currentOptions.preview&&(!this.currentOptions.image||this.currentOptions.thumbnailsRemainingCount)&&this.openPreview(this.selectedIndex)},e.prototype.show=function(e){this.select(e)},e.prototype.showNext=function(){this.image.showNext()},e.prototype.showPrev=function(){this.image.showPrev()},e.prototype.canShowNext=function(){return!(!this.images||!this.currentOptions||!(this.currentOptions.imageInfinityMove||this.selectedIndex0))},e.prototype.previewSelect=function(e){this.previewChange.emit({index:e,image:this.images[e]})},e.prototype.resetThumbnails=function(){this.thubmnails&&this.thubmnails.reset(this.currentOptions.startIndex)},e.prototype.select=function(e){this.selectedIndex=e,this.change.emit({index:e,image:this.images[e]})},e.prototype.checkFullWidth=function(){this.currentOptions&&this.currentOptions.fullWidth&&(this.width=document.body.clientWidth+"px",this.left=-(document.body.clientWidth-this.myElement.nativeElement.parentNode.innerWidth)/2+"px")},e.prototype.setImages=function(){this.smallImages=this.images.map(function(e){return e.small}),this.mediumImages=this.images.map(function(e,t){return new m({src:e.medium,index:t})}),this.bigImages=this.images.map(function(e){return e.big}),this.descriptions=this.images.map(function(e){return e.description}),this.links=this.images.map(function(e){return e.url})},e.prototype.setBreakpoint=function(){var e;this.prevBreakpoint=this.breakpoint,"undefined"!=typeof window&&(e=this.options.filter(function(e){return e.breakpoint>=window.innerWidth}).map(function(e){return e.breakpoint})),this.breakpoint=e&&e.length?e.pop():void 0},e.prototype.sortOptions=function(){this.options=this.options.filter(function(e){return void 0===e.breakpoint}).concat(this.options.filter(function(e){return void 0!==e.breakpoint}).sort(function(e,t){return t.breakpoint-e.breakpoint}))},e.prototype.setOptions=function(){var e=this;this.currentOptions=new y({}),this.options.filter(function(t){return void 0===t.breakpoint||t.breakpoint>=e.breakpoint}).map(function(t){return e.combineOptions(e.currentOptions,t)}),this.width=this.currentOptions.width,this.height=this.currentOptions.height},e.prototype.combineOptions=function(e,t){Object.keys(t).map(function(n){return e[n]=void 0!==t[n]?t[n]:e[n]})},e.decorators=[{type:t.Component,args:[{selector:"ngx-gallery",template:'\n \n ',styles:[":host { display: inline-block; } :host > * { float: left; } :host /deep/ * { box-sizing: border-box; } :host /deep/ .ngx-gallery-icon { color: white; font-size: 25px; position: absolute; z-index: 2000; display: inline-block; } :host /deep/ .ngx-gallery-icon .ngx-gallery-icon-content { display: block; } :host /deep/ .ngx-gallery-clickable { cursor: pointer; } :host /deep/ .ngx-gallery-icons-wrapper .ngx-gallery-icon { position: relative; margin-right: 5px; margin-top: 5px; font-size: 20px; cursor: pointer; } :host /deep/ .ngx-gallery-icons-wrapper { float: right; } :host .ngx-gallery-layout { width: 100%; height: 100%; display: flex; flex-direction: column; } :host .ngx-gallery-layout.thumbnails-top ngx-gallery-image { order: 2; } :host .ngx-gallery-layout.thumbnails-top ngx-gallery-thumbnails { order: 1; } :host .ngx-gallery-layout.thumbnails-bottom ngx-gallery-image { order: 1; } :host .ngx-gallery-layout.thumbnails-bottom ngx-gallery-thumbnails { order: 2; } "],providers:[s]}]}],e.ctorParameters=function(){return[{type:t.ElementRef}]},e.propDecorators={options:[{type:t.Input}],images:[{type:t.Input}],imagesReady:[{type:t.Output}],change:[{type:t.Output}],previewOpen:[{type:t.Output}],previewClose:[{type:t.Output}],previewChange:[{type:t.Output}],preview:[{type:t.ViewChild,args:[d]}],image:[{type:t.ViewChild,args:[u]}],thubmnails:[{type:t.ViewChild,args:[p]}],width:[{type:t.HostBinding,args:["style.width"]}],height:[{type:t.HostBinding,args:["style.height"]}],left:[{type:t.HostBinding,args:["style.left"]}],onResize:[{type:t.HostListener,args:["window:resize"]}]},e}(),b=(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),_=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.overrides={pinch:{enable:!1},rotate:{enable:!1}},t}return b(t,e),t}(r.HammerGestureConfig),w=function(){function e(){}return e.decorators=[{type:t.NgModule,args:[{imports:[n.CommonModule],declarations:[o,a,u,p,d,v],exports:[v],providers:[{provide:r.HAMMER_GESTURE_CONFIG,useClass:_}]}]}],e.ctorParameters=function(){return[]},e}();e.CustomHammerConfig=_,e.NgxGalleryModule=w,e.NgxGalleryComponent=v,e.NgxGalleryActionComponent=o,e.NgxGalleryImageComponent=u,e.NgxGalleryThumbnailsComponent=p,e.NgxGalleryPreviewComponent=d,e.NgxGalleryArrowsComponent=a,e.NgxGalleryOptions=y,e.NgxGalleryImage=function(e){this.small=e.small,this.medium=e.medium,this.big=e.big,this.description=e.description,this.url=e.url},e.NgxGalleryAnimation=l,e.NgxGalleryHelperService=s,e.NgxGalleryImageSize=f,e.NgxGalleryLayout=h,e.NgxGalleryOrder=c,e.NgxGalleryOrderedImage=m,e.NgxGalleryAction=g,Object.defineProperty(e,"__esModule",{value:!0})}(t,n("WT6e"),n("Xjw4"),n("OE0E"))},"1Q68":function(e,t,n){"use strict";t.a=function(e){return e&&"function"==typeof e.schedule}},"48V2":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("WT6e");t.HighlightJsService=function(){function e(){}return e.prototype.highlight=function(e,t){t&&hljs.configure({useBR:!0}),hljs.highlightBlock(e)},e.decorators=[{type:r.Injectable}],e}()},AMGY:function(e,t,n){"use strict";(function(e){n.d(t,"a",function(){return o});var r="undefined"!=typeof window&&window,i="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,o=r||"undefined"!=typeof e&&e||i}).call(t,n("DuR2"))},BX3T:function(e,t,n){"use strict";n.d(t,"a",function(){return r});var r=Array.isArray||function(e){return e&&"number"==typeof e.length}},DuR2:function(e,t){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(e){"object"==typeof window&&(n=window)}e.exports=n},GK6M:function(e,t,n){"use strict";t.a=function(e){return r=e,o};var r,i=n("fKB6");function o(){try{return r.apply(this,arguments)}catch(e){return i.a.e=e,i.a}}},Jnfr:function(e,t){function n(e){return Promise.resolve().then(function(){throw new Error("Cannot find module '"+e+"'.")})}n.keys=function(){return[]},n.resolve=n,e.exports=n,n.id="Jnfr"},OE0E:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n.d(t,"BrowserModule",function(){return Qe}),n.d(t,"platformBrowser",function(){return We}),n.d(t,"Meta",function(){return w}),n.d(t,"Title",function(){return I}),n.d(t,"disableDebugTools",function(){return tt}),n.d(t,"enableDebugTools",function(){return et}),n.d(t,"BrowserTransferStateModule",function(){return at}),n.d(t,"TransferState",function(){return it}),n.d(t,"makeStateKey",function(){return rt}),n.d(t,"By",function(){return st}),n.d(t,"DOCUMENT",function(){return v}),n.d(t,"EVENT_MANAGER_PLUGINS",function(){return A}),n.d(t,"EventManager",function(){return R}),n.d(t,"HAMMER_GESTURE_CONFIG",function(){return ue}),n.d(t,"HammerGestureConfig",function(){return ce}),n.d(t,"DomSanitizer",function(){return Fe}),n.d(t,"VERSION",function(){return lt}),n.d(t,"\u0275BROWSER_SANITIZATION_PROVIDERS",function(){return Ze}),n.d(t,"\u0275INTERNAL_BROWSER_PLATFORM_PROVIDERS",function(){return Ge}),n.d(t,"\u0275initDomAdapter",function(){return qe}),n.d(t,"\u0275BrowserDomAdapter",function(){return y}),n.d(t,"\u0275BrowserPlatformLocation",function(){return _}),n.d(t,"\u0275TRANSITION_ID",function(){return x}),n.d(t,"\u0275BrowserGetTestability",function(){return E}),n.d(t,"\u0275escapeHtml",function(){return nt}),n.d(t,"\u0275ELEMENT_PROBE_PROVIDERS",function(){return N}),n.d(t,"\u0275DomAdapter",function(){return c}),n.d(t,"\u0275getDOM",function(){return s}),n.d(t,"\u0275setRootDomAdapter",function(){return l}),n.d(t,"\u0275DomRendererFactory2",function(){return q}),n.d(t,"\u0275NAMESPACE_URIS",function(){return V}),n.d(t,"\u0275flattenStyles",function(){return Z}),n.d(t,"\u0275shimContentAttribute",function(){return U}),n.d(t,"\u0275shimHostAttribute",function(){return G}),n.d(t,"\u0275DomEventsPlugin",function(){return se}),n.d(t,"\u0275HammerGesturesPlugin",function(){return pe}),n.d(t,"\u0275KeyEventsPlugin",function(){return he}),n.d(t,"\u0275DomSharedStylesHost",function(){return j}),n.d(t,"\u0275SharedStylesHost",function(){return L}),n.d(t,"\u0275b",function(){return $e}),n.d(t,"\u0275a",function(){return Ke}),n.d(t,"\u0275i",function(){return p}),n.d(t,"\u0275g",function(){return O}),n.d(t,"\u0275f",function(){return C}),n.d(t,"\u0275c",function(){return ot}),n.d(t,"\u0275h",function(){return D}),n.d(t,"\u0275d",function(){return F}),n.d(t,"\u0275e",function(){return Le});var r=n("Xjw4"),i=n("WT6e"),o=n("TToO"),a=null;function s(){return a}function l(e){a||(a=e)}var u,c=function(){function e(){this.resourceLoaderType=null}return Object.defineProperty(e.prototype,"attrToPropMap",{get:function(){return this._attrToPropMap},set:function(e){this._attrToPropMap=e},enumerable:!0,configurable:!0}),e}(),p=function(e){function t(){var t=e.call(this)||this;t._animationPrefix=null,t._transitionEnd=null;try{var n=t.createElement("div",document);if(null!=t.getStyle(n,"animationName"))t._animationPrefix="";else for(var r=["Webkit","Moz","O","ms"],i=0;i0},t.prototype.tagName=function(e){return e.tagName},t.prototype.attributeMap=function(e){for(var t=new Map,n=e.attributes,r=0;r0;s||(s=e[a]=[]);var u=oe(t)?Zone.root:Zone.current;if(0===s.length)s.push({zone:u,handler:o});else{for(var c=!1,p=0;p-1},t}(F),de=["alt","control","meta","shift"],fe={alt:function(e){return e.altKey},control:function(e){return e.ctrlKey},meta:function(e){return e.metaKey},shift:function(e){return e.shiftKey}},he=function(e){function t(t){return e.call(this,t)||this}return Object(o.b)(t,e),t.prototype.supports=function(e){return null!=t.parseEventName(e)},t.prototype.addEventListener=function(e,n,r){var i=t.parseEventName(n),o=t.eventCallback(i.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular(function(){return s().onAndCancel(e,i.domEventName,o)})},t.parseEventName=function(e){var n=e.toLowerCase().split("."),r=n.shift();if(0===n.length||"keydown"!==r&&"keyup"!==r)return null;var i=t._normalizeKey(n.pop()),o="";if(de.forEach(function(e){var t=n.indexOf(e);t>-1&&(n.splice(t,1),o+=e+".")}),o+=i,0!=n.length||0===i.length)return null;var a={};return a.domEventName=r,a.fullKey=o,a},t.getEventFullKey=function(e){var t="",n=s().getEventKey(e);return" "===(n=n.toLowerCase())?n="space":"."===n&&(n="dot"),de.forEach(function(r){r!=n&&(0,fe[r])(e)&&(t+=r+".")}),t+=n},t.eventCallback=function(e,n,r){return function(i){t.getEventFullKey(i)===e&&r.runGuarded(function(){return n(i)})}},t._normalizeKey=function(e){switch(e){case"esc":return"escape";default:return e}},t}(F),ge=function(){function e(e,t){this.defaultDoc=e,this.DOM=t;var n=this.DOM.createHtmlDocument();if(this.inertBodyElement=n.body,null==this.inertBodyElement){var r=this.DOM.createElement("html",n);this.inertBodyElement=this.DOM.createElement("body",n),this.DOM.appendChild(r,this.inertBodyElement),this.DOM.appendChild(n,r)}this.DOM.setInnerHTML(this.inertBodyElement,''),!this.inertBodyElement.querySelector||this.inertBodyElement.querySelector("svg")?(this.DOM.setInnerHTML(this.inertBodyElement,'

'),this.getInertBodyElement=this.inertBodyElement.querySelector&&this.inertBodyElement.querySelector("svg img")&&function(){try{return!!window.DOMParser}catch(e){return!1}}()?this.getInertBodyElement_DOMParser:this.getInertBodyElement_InertDocument):this.getInertBodyElement=this.getInertBodyElement_XHR}return e.prototype.getInertBodyElement_XHR=function(e){e=""+e+"";try{e=encodeURI(e)}catch(e){return null}var t=new XMLHttpRequest;t.responseType="document",t.open("GET","data:text/html;charset=utf-8,"+e,!1),t.send(null);var n=t.response.body;return n.removeChild(n.firstChild),n},e.prototype.getInertBodyElement_DOMParser=function(e){e=""+e+"";try{var t=(new window.DOMParser).parseFromString(e,"text/html").body;return t.removeChild(t.firstChild),t}catch(e){return null}},e.prototype.getInertBodyElement_InertDocument=function(e){var t=this.DOM.createElement("template");return"content"in t?(this.DOM.setInnerHTML(t,e),t):(this.DOM.setInnerHTML(this.inertBodyElement,e),this.defaultDoc.documentMode&&this.stripCustomNsAttrs(this.inertBodyElement),this.inertBodyElement)},e.prototype.stripCustomNsAttrs=function(e){var t=this;this.DOM.attributeMap(e).forEach(function(n,r){"xmlns:ns1"!==r&&0!==r.indexOf("ns1:")||t.DOM.removeAttribute(e,r)});for(var n=0,r=this.DOM.childNodesAsList(e);n")):this.sanitizedSomething=!0},e.prototype.endElement=function(e){var t=this.DOM.nodeName(e).toLowerCase();Ie.hasOwnProperty(t)&&!xe.hasOwnProperty(t)&&(this.buf.push(""))},e.prototype.chars=function(e){this.buf.push(Ne(e))},e.prototype.checkClobberedElement=function(e,t){if(t&&this.DOM.contains(e,t))throw new Error("Failed to sanitize html because the element is clobbered: "+this.DOM.getOuterHTML(e));return t},e}(),Me=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,De=/([^\#-~ |!])/g;function Ne(e){return e.replace(/&/g,"&").replace(Me,function(e){return"&#"+(1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320)+65536)+";"}).replace(De,function(e){return"&#"+e.charCodeAt(0)+";"}).replace(//g,">")}var Ae=new RegExp("^([-,.\"'%_!# a-zA-Z0-9]+|(?:(?:matrix|translate|scale|rotate|skew|perspective)(?:X|Y|3d)?|(?:rgb|hsl)a?|(?:repeating-)?(?:linear|radial)-gradient|(?:calc|attr))\\([-0-9.%, #a-zA-Z]+\\))$","g"),Re=/^url\(([^)]+)\)$/,Fe=function(){},Le=function(e){function t(t){var n=e.call(this)||this;return n._doc=t,n}return Object(o.b)(t,e),t.prototype.sanitize=function(e,t){if(null==t)return null;switch(e){case i.SecurityContext.NONE:return t;case i.SecurityContext.HTML:return t instanceof Ve?t.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(t,"HTML"),function(e,t){var n=s(),r=null;try{we=we||new ge(e,n);var o=t?String(t):"";r=we.getInertBodyElement(o);var a=5,l=o;do{if(0===a)throw new Error("Failed to sanitize html because the input is unstable");a--,o=l,l=n.getInnerHTML(r),r=we.getInertBodyElement(o)}while(o!==l);var u=new Te,c=u.sanitizeChildren(n.getTemplateContent(r)||r);return Object(i.isDevMode)()&&u.sanitizedSomething&&n.log("WARNING: sanitizing HTML stripped some content (see http://g.co/ng/security#xss)."),c}finally{if(r)for(var p=n.getTemplateContent(r)||r,d=0,f=n.childNodesAsList(p);d":"&g;"};return e.replace(/[&"'<>]/g,function(e){return t[e]})}function rt(e){return e}var it=function(){function e(){this.store={},this.onSerializeCallbacks={}}return e.init=function(t){var n=new e;return n.store=t,n},e.prototype.get=function(e,t){return void 0!==this.store[e]?this.store[e]:t},e.prototype.set=function(e,t){this.store[e]=t},e.prototype.remove=function(e){delete this.store[e]},e.prototype.hasKey=function(e){return this.store.hasOwnProperty(e)},e.prototype.onSerialize=function(e,t){this.onSerializeCallbacks[e]=t},e.prototype.toJson=function(){for(var e in this.onSerializeCallbacks)if(this.onSerializeCallbacks.hasOwnProperty(e))try{this.store[e]=this.onSerializeCallbacks[e]()}catch(e){console.warn("Exception in onSerialize callback: ",e)}return JSON.stringify(this.store)},e}();function ot(e,t){var n,r=e.getElementById(t+"-state"),i={};if(r&&r.textContent)try{i=JSON.parse((n={"&a;":"&","&q;":'"',"&s;":"'","&l;":"<","&g;":">"},r.textContent.replace(/&[^;]+;/g,function(e){return n[e]})))}catch(e){console.warn("Exception while restoring TransferState for app "+t,e)}return it.init(i)}var at=function(){},st=function(){function e(){}return e.all=function(){return function(e){return!0}},e.css=function(e){return function(t){return null!=t.nativeElement&&s().elementMatches(t.nativeElement,e)}},e.directive=function(e){return function(t){return-1!==t.providerTokens.indexOf(e)}},e}(),lt=new i.Version("5.2.11")},OVmG:function(e,t,n){"use strict";n.d(t,"a",function(){return l});var r=n("TToO"),i=n("/iUD"),o=n("VwZZ"),a=n("t7NR"),s=n("tLDX"),l=function(e){function t(t,n,r){switch(e.call(this),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=a.a;break;case 1:if(!t){this.destination=a.a;break}if("object"==typeof t){if(c(t)){var i=t[s.a]();this.syncErrorThrowable=i.syncErrorThrowable,this.destination=i,i.add(this)}else this.syncErrorThrowable=!0,this.destination=new u(this,t);break}default:this.syncErrorThrowable=!0,this.destination=new u(this,t,n,r)}}return Object(r.b)(t,e),t.prototype[s.a]=function(){return this},t.create=function(e,n,r){var i=new t(e,n,r);return i.syncErrorThrowable=!1,i},t.prototype.next=function(e){this.isStopped||this._next(e)},t.prototype.error=function(e){this.isStopped||(this.isStopped=!0,this._error(e))},t.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},t.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,e.prototype.unsubscribe.call(this))},t.prototype._next=function(e){this.destination.next(e)},t.prototype._error=function(e){this.destination.error(e),this.unsubscribe()},t.prototype._complete=function(){this.destination.complete(),this.unsubscribe()},t.prototype._unsubscribeAndRecycle=function(){var e=this._parent,t=this._parents;return this._parent=null,this._parents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parent=e,this._parents=t,this},t}(o.a),u=function(e){function t(t,n,r,o){var s;e.call(this),this._parentSubscriber=t;var l=this;Object(i.a)(n)?s=n:n&&(s=n.next,r=n.error,o=n.complete,n!==a.a&&(l=Object.create(n),Object(i.a)(l.unsubscribe)&&this.add(l.unsubscribe.bind(l)),l.unsubscribe=this.unsubscribe.bind(this))),this._context=l,this._next=s,this._error=r,this._complete=o}return Object(r.b)(t,e),t.prototype.next=function(e){if(!this.isStopped&&this._next){var t=this._parentSubscriber;t.syncErrorThrowable?this.__tryOrSetError(t,this._next,e)&&this.unsubscribe():this.__tryOrUnsub(this._next,e)}},t.prototype.error=function(e){if(!this.isStopped){var t=this._parentSubscriber;if(this._error)t.syncErrorThrowable?(this.__tryOrSetError(t,this._error,e),this.unsubscribe()):(this.__tryOrUnsub(this._error,e),this.unsubscribe());else{if(!t.syncErrorThrowable)throw this.unsubscribe(),e;t.syncErrorValue=e,t.syncErrorThrown=!0,this.unsubscribe()}}},t.prototype.complete=function(){var e=this;if(!this.isStopped){var t=this._parentSubscriber;if(this._complete){var n=function(){return e._complete.call(e._context)};t.syncErrorThrowable?(this.__tryOrSetError(t,n),this.unsubscribe()):(this.__tryOrUnsub(n),this.unsubscribe())}else this.unsubscribe()}},t.prototype.__tryOrUnsub=function(e,t){try{e.call(this._context,t)}catch(e){throw this.unsubscribe(),e}},t.prototype.__tryOrSetError=function(e,t,n){try{t.call(this._context,n)}catch(t){return e.syncErrorValue=t,e.syncErrorThrown=!0,!0}return!1},t.prototype._unsubscribe=function(){var e=this._parentSubscriber;this._context=null,this._parentSubscriber=null,e.unsubscribe()},t}(l);function c(e){return e instanceof l||"syncErrorThrowable"in e&&e[s.a]}},PIsA:function(e,t,n){"use strict";var r=n("AMGY"),i=n("dgOU"),o=n("YaPU"),a=function(e){var t=e.Symbol;if("function"==typeof t)return t.iterator||(t.iterator=t("iterator polyfill")),t.iterator;var n=e.Set;if(n&&"function"==typeof(new n)["@@iterator"])return"@@iterator";var r=e.Map;if(r)for(var i=Object.getOwnPropertyNames(r.prototype),o=0;o1)this.connection=null;else{var n=this.connection,r=e._connection;this.connection=null,!r||n&&r!==n||r.unsubscribe()}}else this.connection=null},t}(a.a),p=function(e){function t(t,n){e.call(this),this.source=t,this.subjectFactory=n,this._refCount=0,this._isComplete=!1}return Object(r.b)(t,e),t.prototype._subscribe=function(e){return this.getSubject().subscribe(e)},t.prototype.getSubject=function(){var e=this._subject;return e&&!e.isStopped||(this._subject=this.subjectFactory()),this._subject},t.prototype.connect=function(){var e=this._connection;return e||(this._isComplete=!1,(e=this._connection=new s.a).add(this.source.subscribe(new f(this.getSubject(),this))),e.closed?(this._connection=null,e=s.a.EMPTY):this._connection=e),e},t.prototype.refCount=function(){return l()(this)},t}(o.a).prototype,d={operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:p._subscribe},_isComplete:{value:p._isComplete,writable:!0},getSubject:{value:p.getSubject},connect:{value:p.connect},refCount:{value:p.refCount}},f=function(e){function t(t,n){e.call(this,t),this.connectable=n}return Object(r.b)(t,e),t.prototype._error=function(t){this._unsubscribe(),e.prototype._error.call(this,t)},t.prototype._complete=function(){this.connectable._isComplete=!0,this._unsubscribe(),e.prototype._complete.call(this)},t.prototype._unsubscribe=function(){var e=this.connectable;if(e){this.connectable=null;var t=e._connection;e._refCount=0,e._subject=null,e._connection=null,t&&t.unsubscribe()}},t}(i.b);function h(){return new i.a}t.a=function(){return this,l()((e=h,function(t){var n;n="function"==typeof e?e:function(){return e};var r=Object.create(t,d);return r.source=t,r.subjectFactory=n,r})(this));var e}},TToO:function(e,t,n){"use strict";t.b=function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},n.d(t,"a",function(){return i});var r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n1?new t(e,r):1===i?new o(e[0],r):new a(r)},t.dispatch=function(e){var t=e.array,n=e.index,r=e.subscriber;n>=e.count?r.complete():(r.next(t[n]),r.closed||(e.index=n+1,this.schedule(e)))},t.prototype._subscribe=function(e){var n=this.array,r=n.length,i=this.scheduler;if(i)return i.schedule(t.dispatch,0,{array:n,index:0,count:r,subscriber:e});for(var o=0;o ");else if("object"==typeof t){var i=[];for(var o in t)if(t.hasOwnProperty(o)){var a=t[o];i.push(o+":"+("string"==typeof a?JSON.stringify(a):ee(a)))}r="{"+i.join(", ")+"}"}return"StaticInjectorError"+(n?"("+n+")":"")+"["+r+"]: "+e.replace(ge,"\n ")}function _e(e,t){return new Error(be(e,t))}var we="ngDebugContext",xe="ngOriginalError",Ce="ngErrorLogger";function Oe(e){return e[we]}function Ee(e){return e[xe]}function Ie(e){for(var t=[],n=1;n1?" ("+function(e){for(var t=[],n=0;n-1)return t.push(e[n]),t;t.push(e[n])}return t}(e.slice().reverse()).map(function(e){return ee(e.token)}).join(" -> ")+")":""}function ke(e,t,n,r){var i=[t],o=n(i),a=r?function(e,t){var n=o+" caused by: "+(t instanceof Error?t.message:t),r=Error(n);return r[xe]=t,r}(0,r):Error(o);return a.addKey=Te,a.keys=i,a.injectors=[e],a.constructResolvingMessage=n,a[xe]=r,a}function Te(e,t){this.injectors.push(e),this.keys.push(t),this.message=this.constructResolvingMessage(this.keys)}function Me(e,t){for(var n=[],r=0,i=t.length;r=this._providers.length)throw function(e){return Error("Index "+e+" is out-of-bounds.")}(e);return this._providers[e]},e.prototype._new=function(e){if(this._constructionCounter++>this._getMaxNumberOfObjects())throw ke(this,e.key,function(e){return"Cannot instantiate cyclic dependency!"+Pe(e)});return this._instantiateProvider(e)},e.prototype._getMaxNumberOfObjects=function(){return this.objs.length},e.prototype._instantiateProvider=function(e){if(e.multiProvider){for(var t=new Array(e.resolvedFactories.length),n=0;n0)e._bootstrapComponents.forEach(function(e){return t.bootstrap(e)});else{if(!e.instance.ngDoBootstrap)throw new Error("The module "+ee(e.instance.constructor)+' was bootstrapped, but it does not declare "@NgModule.bootstrap" components nor a "ngDoBootstrap" method. Please define one of these.');e.instance.ngDoBootstrap(t)}this._modules.push(e)},e.prototype.onDestroy=function(e){this._destroyListeners.push(e)},Object.defineProperty(e.prototype,"injector",{get:function(){return this._injector},enumerable:!0,configurable:!0}),e.prototype.destroy=function(){if(this._destroyed)throw new Error("The platform has already been destroyed!");this._modules.slice().forEach(function(e){return e.destroy()}),this._destroyListeners.forEach(function(e){return e()}),this._destroyed=!0},Object.defineProperty(e.prototype,"destroyed",{get:function(){return this._destroyed},enumerable:!0,configurable:!0}),e}();function hn(e,t){return Array.isArray(t)?t.reduce(hn,e):Object(r.a)({},e,t)}var gn=function(){function e(e,t,n,r,s,l){var u=this;this._zone=e,this._console=t,this._injector=n,this._exceptionHandler=r,this._componentFactoryResolver=s,this._initStatus=l,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._enforceNoNewChanges=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._enforceNoNewChanges=an(),this._zone.onMicrotaskEmpty.subscribe({next:function(){u._zone.run(function(){u.tick()})}});var c=new i.a(function(e){u._stable=u._zone.isStable&&!u._zone.hasPendingMacrotasks&&!u._zone.hasPendingMicrotasks,u._zone.runOutsideAngular(function(){e.next(u._stable),e.complete()})}),p=new i.a(function(e){var t;u._zone.runOutsideAngular(function(){t=u._zone.onStable.subscribe(function(){Ut.assertNotInAngularZone(),J(function(){u._stable||u._zone.hasPendingMacrotasks||u._zone.hasPendingMicrotasks||(u._stable=!0,e.next(!0))})})});var n=u._zone.onUnstable.subscribe(function(){Ut.assertInAngularZone(),u._stable&&(u._stable=!1,u._zone.runOutsideAngular(function(){e.next(!1)}))});return function(){t.unsubscribe(),n.unsubscribe()}});this.isStable=Object(o.a)(c,a.a.call(p))}return e.prototype.bootstrap=function(e,t){var n,r=this;if(!this._initStatus.done)throw new Error("Cannot bootstrap as there are still asynchronous initializers running. Bootstrap components in the `ngDoBootstrap` method of the root module.");n=e instanceof _t?e:this._componentFactoryResolver.resolveComponentFactory(e),this.componentTypes.push(n.componentType);var i=n instanceof Pt?null:this._injector.get(kt),o=n.create(se.NULL,[],t||n.selector,i);o.onDestroy(function(){r._unloadComponent(o)});var a=o.injector.get(Qt,null);return a&&o.injector.get(Yt).registerApplication(o.location.nativeElement,a),this._loadComponent(o),an()&&this._console.log("Angular is running in the development mode. Call enableProdMode() to enable the production mode."),o},e.prototype.tick=function(){var t=this;if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");var n=e._tickScope();try{this._runningTick=!0,this._views.forEach(function(e){return e.detectChanges()}),this._enforceNoNewChanges&&this._views.forEach(function(e){return e.checkNoChanges()})}catch(e){this._zone.runOutsideAngular(function(){return t._exceptionHandler.handleError(e)})}finally{this._runningTick=!1,Vt(n)}},e.prototype.attachView=function(e){var t=e;this._views.push(t),t.attachToAppRef(this)},e.prototype.detachView=function(e){var t=e;yn(this._views,t),t.detachFromAppRef()},e.prototype._loadComponent=function(e){this.attachView(e.hostView),this.tick(),this.components.push(e),this._injector.get(pt,[]).concat(this._bootstrapListeners).forEach(function(t){return t(e)})},e.prototype._unloadComponent=function(e){this.detachView(e.hostView),yn(this.components,e)},e.prototype.ngOnDestroy=function(){this._views.slice().forEach(function(e){return e.destroy()})},Object.defineProperty(e.prototype,"viewCount",{get:function(){return this._views.length},enumerable:!0,configurable:!0}),e._tickScope=jt("ApplicationRef#tick()"),e}();function yn(e,t){var n=e.indexOf(t);n>-1&&e.splice(n,1)}var mn=function(e,t,n,r,i,o){this.id=e,this.templateUrl=t,this.slotCount=n,this.encapsulation=r,this.styles=i,this.animations=o},vn=function(){},bn=function(){},_n=function(){},wn=function(){},xn=function(){var e={Important:1,DashCase:2};return e[e.Important]="Important",e[e.DashCase]="DashCase",e}(),Cn=function(){},On=function(e){this.nativeElement=e},En=function(){},In=new Map;function Sn(e,t){var n=In.get(e);if(n)throw new Error("Duplicate module registered for "+e+" - "+n.moduleType.name+" vs "+t.moduleType.name);In.set(e,t)}function Pn(e){var t=In.get(e);if(!t)throw new Error("No module with ID "+e+" loaded");return t}var kn=function(){function e(){this.dirty=!0,this._results=[],this.changes=new Bt,this.length=0}return e.prototype.map=function(e){return this._results.map(e)},e.prototype.filter=function(e){return this._results.filter(e)},e.prototype.find=function(e){return this._results.find(e)},e.prototype.reduce=function(e,t){return this._results.reduce(e,t)},e.prototype.forEach=function(e){this._results.forEach(e)},e.prototype.some=function(e){return this._results.some(e)},e.prototype.toArray=function(){return this._results.slice()},e.prototype[Y()]=function(){return this._results[Y()]()},e.prototype.toString=function(){return this._results.toString()},e.prototype.reset=function(e){this._results=function e(t){return t.reduce(function(t,n){var r=Array.isArray(n)?e(n):n;return t.concat(r)},[])}(e),this.dirty=!1,this.length=this._results.length,this.last=this._results[this.length-1],this.first=this._results[0]},e.prototype.notifyOnChanges=function(){this.changes.emit(this)},e.prototype.setDirty=function(){this.dirty=!0},e.prototype.destroy=function(){this.changes.complete(),this.changes.unsubscribe()},e}(),Tn=function(){},Mn={factoryPathPrefix:"",factoryPathSuffix:".ngfactory"},Dn=function(){function e(e,t){this._compiler=e,this._config=t||Mn}return e.prototype.load=function(e){return this._compiler instanceof yt?this.loadFactory(e):this.loadAndCompile(e)},e.prototype.loadAndCompile=function(e){var t=this,r=e.split("#"),i=r[0],o=r[1];return void 0===o&&(o="default"),n("Jnfr")(i).then(function(e){return e[o]}).then(function(e){return Nn(e,i,o)}).then(function(e){return t._compiler.compileModuleAsync(e)})},e.prototype.loadFactory=function(e){var t=e.split("#"),r=t[0],i=t[1],o="NgFactory";return void 0===i&&(i="default",o=""),n("Jnfr")(this._config.factoryPathPrefix+r+this._config.factoryPathSuffix).then(function(e){return e[i+o]}).then(function(e){return Nn(e,r,i)})},e}();function Nn(e,t,n){if(!e)throw new Error("Cannot find '"+n+"' in '"+t+"'");return e}var An=function(){},Rn=function(){},Fn=function(){},Ln=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(r.b)(t,e),t}(Fn),jn=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(r.b)(t,e),t}(Ln),Vn=function(){function e(e,t,n){this._debugContext=n,this.nativeNode=e,t&&t instanceof zn?t.addChild(this):this.parent=null,this.listeners=[]}return Object.defineProperty(e.prototype,"injector",{get:function(){return this._debugContext.injector},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"componentInstance",{get:function(){return this._debugContext.component},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"context",{get:function(){return this._debugContext.context},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"references",{get:function(){return this._debugContext.references},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"providerTokens",{get:function(){return this._debugContext.providerTokens},enumerable:!0,configurable:!0}),e}(),zn=function(e){function t(t,n,r){var i=e.call(this,t,n,r)||this;return i.properties={},i.attributes={},i.classes={},i.styles={},i.childNodes=[],i.nativeElement=t,i}return Object(r.b)(t,e),t.prototype.addChild=function(e){e&&(this.childNodes.push(e),e.parent=this)},t.prototype.removeChild=function(e){var t=this.childNodes.indexOf(e);-1!==t&&(e.parent=null,this.childNodes.splice(t,1))},t.prototype.insertChildrenAfter=function(e,t){var n,r=this,i=this.childNodes.indexOf(e);-1!==i&&((n=this.childNodes).splice.apply(n,[i+1,0].concat(t)),t.forEach(function(e){e.parent&&e.parent.removeChild(e),e.parent=r}))},t.prototype.insertBefore=function(e,t){var n=this.childNodes.indexOf(e);-1===n?this.addChild(t):(t.parent&&t.parent.removeChild(t),t.parent=this,this.childNodes.splice(n,0,t))},t.prototype.query=function(e){return this.queryAll(e)[0]||null},t.prototype.queryAll=function(e){var t=[];return Bn(this,e,t),t},t.prototype.queryAllNodes=function(e){var t=[];return Un(this,e,t),t},Object.defineProperty(t.prototype,"children",{get:function(){return this.childNodes.filter(function(e){return e instanceof t})},enumerable:!0,configurable:!0}),t.prototype.triggerEventHandler=function(e,t){this.listeners.forEach(function(n){n.name==e&&n.callback(t)})},t}(Vn);function Hn(e){return e.map(function(e){return e.nativeElement})}function Bn(e,t,n){e.childNodes.forEach(function(e){e instanceof zn&&(t(e)&&n.push(e),Bn(e,t,n))})}function Un(e,t,n){e instanceof zn&&e.childNodes.forEach(function(e){t(e)&&n.push(e),e instanceof zn&&Un(e,t,n)})}var Gn=new Map;function Zn(e){return Gn.get(e)||null}function Wn(e){Gn.set(e.nativeNode,e)}function qn(e,t){var n=Qn(e),r=Qn(t);return n&&r?function(e,t,n){for(var r=e[Y()](),i=t[Y()]();;){var o=r.next(),a=i.next();if(o.done&&a.done)return!0;if(o.done||a.done)return!1;if(!n(o.value,a.value))return!1}}(e,t,qn):!(n||!e||"object"!=typeof e&&"function"!=typeof e||r||!t||"object"!=typeof t&&"function"!=typeof t)||X(e,t)}var Kn=function(){function e(e){this.wrapped=e}return e.wrap=function(t){return new e(t)},e.unwrap=function(t){return e.isWrapped(t)?t.wrapped:t},e.isWrapped=function(t){return t instanceof e},e}(),$n=function(){function e(e,t,n){this.previousValue=e,this.currentValue=t,this.firstChange=n}return e.prototype.isFirstChange=function(){return this.firstChange},e}();function Qn(e){return!!Yn(e)&&(Array.isArray(e)||!(e instanceof Map)&&Y()in e)}function Yn(e){return null!==e&&("function"==typeof e||"object"==typeof e)}var Jn=function(){function e(){}return e.prototype.supports=function(e){return Qn(e)},e.prototype.create=function(e){return new er(e)},e}(),Xn=function(e,t){return t},er=function(){function e(e){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=e||Xn}return e.prototype.forEachItem=function(e){var t;for(t=this._itHead;null!==t;t=t._next)e(t)},e.prototype.forEachOperation=function(e){for(var t=this._itHead,n=this._removalsHead,r=0,i=null;t||n;){var o=!n||t&&t.currentIndex=n.length)&&(t=n.length-1),t<0)return null;var r=n[t];return r.viewContainerParent=null,Vi(n,t),Dr.dirtyParentQueries(r),Li(r),r}function Fi(e,t,n){var r=t?Xr(t,t.def.lastRenderRootNode):e.renderElement;ui(n,2,n.renderer.parentNode(r),n.renderer.nextSibling(r),void 0)}function Li(e){ui(e,3,null,null,void 0)}function ji(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function Vi(e,t){t>=e.length-1?e.pop():e.splice(t,1)}var zi=new Object;function Hi(e,t,n,r,i,o){return new Ui(e,t,n,r,i,o)}function Bi(e){return e.viewDefFactory}var Ui=function(e){function t(t,n,r,i,o,a){var s=e.call(this)||this;return s.selector=t,s.componentType=n,s._inputs=i,s._outputs=o,s.ngContentSelectors=a,s.viewDefFactory=r,s}return Object(r.b)(t,e),Object.defineProperty(t.prototype,"inputs",{get:function(){var e=[],t=this._inputs;for(var n in t)e.push({propName:n,templateName:t[n]});return e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"outputs",{get:function(){var e=[];for(var t in this._outputs)e.push({propName:t,templateName:this._outputs[t]});return e},enumerable:!0,configurable:!0}),t.prototype.create=function(e,t,n,r){if(!r)throw new Error("ngModule should be provided");var i=li(this.viewDefFactory),o=i.nodes[0].element.componentProvider.nodeIndex,a=Dr.createRootView(e,t||[],n,i,r,zi),s=Pr(a,o).instance;return n&&a.renderer.setAttribute(Sr(a,0).renderElement,"ng-version",V.full),new Gi(a,new Ki(a),s)},t}(_t),Gi=function(e){function t(t,n,r){var i=e.call(this)||this;return i._view=t,i._viewRef=n,i._component=r,i._elDef=i._view.def.nodes[0],i.hostView=n,i.changeDetectorRef=n,i.instance=r,i}return Object(r.b)(t,e),Object.defineProperty(t.prototype,"location",{get:function(){return new On(Sr(this._view,this._elDef.nodeIndex).renderElement)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"injector",{get:function(){return new Ji(this._view,this._elDef)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"componentType",{get:function(){return this._component.constructor},enumerable:!0,configurable:!0}),t.prototype.destroy=function(){this._viewRef.destroy()},t.prototype.onDestroy=function(e){this._viewRef.onDestroy(e)},t}(bt);function Zi(e,t,n){return new Wi(e,t,n)}var Wi=function(){function e(e,t,n){this._view=e,this._elDef=t,this._data=n,this._embeddedViews=[]}return Object.defineProperty(e.prototype,"element",{get:function(){return new On(this._data.renderElement)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"injector",{get:function(){return new Ji(this._view,this._elDef)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"parentInjector",{get:function(){for(var e=this._view,t=this._elDef.parent;!t&&e;)t=Jr(e),e=e.parent;return e?new Ji(e,t):new Ji(this._view,null)},enumerable:!0,configurable:!0}),e.prototype.clear=function(){for(var e=this._embeddedViews.length-1;e>=0;e--){var t=Ri(this._data,e);Dr.destroyView(t)}},e.prototype.get=function(e){var t=this._embeddedViews[e];if(t){var n=new Ki(t);return n.attachToViewContainerRef(this),n}return null},Object.defineProperty(e.prototype,"length",{get:function(){return this._embeddedViews.length},enumerable:!0,configurable:!0}),e.prototype.createEmbeddedView=function(e,t,n){var r=e.createEmbeddedView(t||{});return this.insert(r,n),r},e.prototype.createComponent=function(e,t,n,r,i){var o=n||this.parentInjector;i||e instanceof Pt||(i=o.get(kt));var a=e.create(o,r,void 0,i);return this.insert(a.hostView,t),a},e.prototype.insert=function(e,t){if(e.destroyed)throw new Error("Cannot insert a destroyed View in a ViewContainer!");var n,r,i,o,a=e;return i=a._view,o=(n=this._data).viewContainer._embeddedViews,null!==(r=t)&&void 0!==r||(r=o.length),i.viewContainerParent=this._view,ji(o,r,i),function(e,t){var n=Yr(t);if(n&&n!==e&&!(16&t.state)){t.state|=16;var r=n.template._projectedViews;r||(r=n.template._projectedViews=[]),r.push(t),function(e,n){if(!(4&n.flags)){t.parent.def.nodeFlags|=4,n.flags|=4;for(var r=n.parent;r;)r.childFlags|=4,r=r.parent}}(0,t.parentNodeDef)}}(n,i),Dr.dirtyParentQueries(i),Fi(n,r>0?o[r-1]:null,i),a.attachToViewContainerRef(this),e},e.prototype.move=function(e,t){if(e.destroyed)throw new Error("Cannot move a destroyed View in a ViewContainer!");var n,r,i,o,a,s=this._embeddedViews.indexOf(e._view);return i=t,a=(o=(n=this._data).viewContainer._embeddedViews)[r=s],Vi(o,r),null==i&&(i=o.length),ji(o,i,a),Dr.dirtyParentQueries(a),Li(a),Fi(n,i>0?o[i-1]:null,a),e},e.prototype.indexOf=function(e){return this._embeddedViews.indexOf(e._view)},e.prototype.remove=function(e){var t=Ri(this._data,e);t&&Dr.destroyView(t)},e.prototype.detach=function(e){var t=Ri(this._data,e);return t?new Ki(t):null},e}();function qi(e){return new Ki(e)}var Ki=function(){function e(e){this._view=e,this._viewContainerRef=null,this._appRef=null}return Object.defineProperty(e.prototype,"rootNodes",{get:function(){return ui(this._view,0,void 0,void 0,e=[]),e;var e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"context",{get:function(){return this._view.context},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"destroyed",{get:function(){return 0!=(128&this._view.state)},enumerable:!0,configurable:!0}),e.prototype.markForCheck=function(){Kr(this._view)},e.prototype.detach=function(){this._view.state&=-5},e.prototype.detectChanges=function(){var e=this._view.root.rendererFactory;e.begin&&e.begin();try{Dr.checkAndUpdateView(this._view)}finally{e.end&&e.end()}},e.prototype.checkNoChanges=function(){Dr.checkNoChangesView(this._view)},e.prototype.reattach=function(){this._view.state|=4},e.prototype.onDestroy=function(e){this._view.disposables||(this._view.disposables=[]),this._view.disposables.push(e)},e.prototype.destroy=function(){this._appRef?this._appRef.detachView(this):this._viewContainerRef&&this._viewContainerRef.detach(this._viewContainerRef.indexOf(this)),Dr.destroyView(this._view)},e.prototype.detachFromAppRef=function(){this._appRef=null,Li(this._view),Dr.dirtyParentQueries(this._view)},e.prototype.attachToAppRef=function(e){if(this._viewContainerRef)throw new Error("This view is already attached to a ViewContainer!");this._appRef=e},e.prototype.attachToViewContainerRef=function(e){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._viewContainerRef=e},e}();function $i(e,t){return new Qi(e,t)}var Qi=function(e){function t(t,n){var r=e.call(this)||this;return r._parentView=t,r._def=n,r}return Object(r.b)(t,e),t.prototype.createEmbeddedView=function(e){return new Ki(Dr.createEmbeddedView(this._parentView,this._def,this._def.element.template,e))},Object.defineProperty(t.prototype,"elementRef",{get:function(){return new On(Sr(this._parentView,this._def.nodeIndex).renderElement)},enumerable:!0,configurable:!0}),t}(An);function Yi(e,t){return new Ji(e,t)}var Ji=function(){function e(e,t){this.view=e,this.elDef=t}return e.prototype.get=function(e,t){return void 0===t&&(t=se.THROW_IF_NOT_FOUND),Dr.resolveDep(this.view,this.elDef,!!this.elDef&&0!=(33554432&this.elDef.flags),{flags:0,token:e,tokenKey:jr(e)},t)},e}();function Xi(e,t){var n=e.def.nodes[t];if(1&n.flags){var r=Sr(e,n.nodeIndex);return n.element.template?r.template:r.renderElement}if(2&n.flags)return Ir(e,n.nodeIndex).renderText;if(20240&n.flags)return Pr(e,n.nodeIndex).instance;throw new Error("Illegal state: read nodeValue for node index "+t)}function eo(e){return new to(e.renderer)}var to=function(){function e(e){this.delegate=e}return e.prototype.selectRootElement=function(e){return this.delegate.selectRootElement(e)},e.prototype.createElement=function(e,t){var n=gi(t),r=this.delegate.createElement(n[1],n[0]);return e&&this.delegate.appendChild(e,r),r},e.prototype.createViewRoot=function(e){return e},e.prototype.createTemplateAnchor=function(e){var t=this.delegate.createComment("");return e&&this.delegate.appendChild(e,t),t},e.prototype.createText=function(e,t){var n=this.delegate.createText(t);return e&&this.delegate.appendChild(e,n),n},e.prototype.projectNodes=function(e,t){for(var n=0;n0,t.provider.value,t.provider.deps);if(t.outputs.length)for(var r=0;r0,r=t.provider;switch(201347067&t.flags){case 512:return wo(e,t.parent,n,r.value,r.deps);case 1024:return function(e,t,n,r,i){var o=i.length;switch(o){case 0:return r();case 1:return r(Co(e,t,n,i[0]));case 2:return r(Co(e,t,n,i[0]),Co(e,t,n,i[1]));case 3:return r(Co(e,t,n,i[0]),Co(e,t,n,i[1]),Co(e,t,n,i[2]));default:for(var a=Array(o),s=0;s0)u=g,Go(g)||(c=g);else for(;u&&h===u.nodeIndex+u.childCount;){var v=u.parent;v&&(v.childFlags|=u.childFlags,v.childMatchedQueries|=u.childMatchedQueries),c=(u=v)&&Go(u)?u.renderParent:u}}return{factory:null,nodeFlags:a,rootNodeFlags:s,nodeMatchedQueries:l,flags:e,nodes:t,updateDirectives:n||Fr,updateRenderer:r||Fr,handleEvent:function(e,n,r,i){return t[n].element.handleEvent(e,r,i)},bindingCount:i,outputCount:o,lastRenderRootNode:f}}function Go(e){return 0!=(1&e.flags)&&null===e.element.name}function Zo(e,t,n){var r=t.element&&t.element.template;if(r){if(!r.lastRenderRootNode)throw new Error("Illegal State: Embedded templates without nodes are not allowed!");if(r.lastRenderRootNode&&16777216&r.lastRenderRootNode.flags)throw new Error("Illegal State: Last root node of a template can't have embedded views, at index "+t.nodeIndex+"!")}if(20224&t.flags&&0==(1&(e?e.flags:0)))throw new Error("Illegal State: StaticProvider/Directive nodes need to be children of elements or anchors, at index "+t.nodeIndex+"!");if(t.query){if(67108864&t.flags&&(!e||0==(16384&e.flags)))throw new Error("Illegal State: Content Query nodes need to be children of directives, at index "+t.nodeIndex+"!");if(134217728&t.flags&&e)throw new Error("Illegal State: View Query nodes have to be top level nodes, at index "+t.nodeIndex+"!")}if(t.childCount){var i=e?e.nodeIndex+e.childCount:n-1;if(t.nodeIndex<=i&&t.nodeIndex+t.childCount>i)throw new Error("Illegal State: childCount of node leads outside of parent, at index "+t.nodeIndex+"!")}}function Wo(e,t,n,r){var i=$o(e.root,e.renderer,e,t,n);return Qo(i,e.component,r),Yo(i),i}function qo(e,t,n){var r=$o(e,e.renderer,null,null,t);return Qo(r,n,n),Yo(r),r}function Ko(e,t,n,r){var i,o=t.element.componentRendererType;return i=o?e.root.rendererFactory.createRenderer(r,o):e.root.renderer,$o(e.root,i,e,t.element.componentProvider,n)}function $o(e,t,n,r,i){var o=new Array(i.nodes.length),a=i.outputCount?new Array(i.outputCount):null;return{def:i,parent:n,viewContainerParent:null,parentNodeDef:r,context:null,component:null,nodes:o,state:13,root:e,renderer:t,oldValues:new Array(i.bindingCount),disposables:a,initIndex:-1}}function Qo(e,t,n){e.component=t,e.context=n}function Yo(e){var t;ti(e)&&(t=Sr(e.parent,e.parentNodeDef.parent.nodeIndex).renderElement);for(var n=e.def,r=e.nodes,i=0;i0&&Si(e,t,0,n)&&(f=!0),d>1&&Si(e,t,1,r)&&(f=!0),d>2&&Si(e,t,2,i)&&(f=!0),d>3&&Si(e,t,3,o)&&(f=!0),d>4&&Si(e,t,4,a)&&(f=!0),d>5&&Si(e,t,5,s)&&(f=!0),d>6&&Si(e,t,6,l)&&(f=!0),d>7&&Si(e,t,7,u)&&(f=!0),d>8&&Si(e,t,8,c)&&(f=!0),d>9&&Si(e,t,9,p)&&(f=!0),f}(e,t,n,r,i,o,a,s,l,u,c,p);case 2:return function(e,t,n,r,i,o,a,s,l,u,c,p){var d=!1,f=t.bindings,h=f.length;if(h>0&&Wr(e,t,0,n)&&(d=!0),h>1&&Wr(e,t,1,r)&&(d=!0),h>2&&Wr(e,t,2,i)&&(d=!0),h>3&&Wr(e,t,3,o)&&(d=!0),h>4&&Wr(e,t,4,a)&&(d=!0),h>5&&Wr(e,t,5,s)&&(d=!0),h>6&&Wr(e,t,6,l)&&(d=!0),h>7&&Wr(e,t,7,u)&&(d=!0),h>8&&Wr(e,t,8,c)&&(d=!0),h>9&&Wr(e,t,9,p)&&(d=!0),d){var g=t.text.prefix;h>0&&(g+=Bo(n,f[0])),h>1&&(g+=Bo(r,f[1])),h>2&&(g+=Bo(i,f[2])),h>3&&(g+=Bo(o,f[3])),h>4&&(g+=Bo(a,f[4])),h>5&&(g+=Bo(s,f[5])),h>6&&(g+=Bo(l,f[6])),h>7&&(g+=Bo(u,f[7])),h>8&&(g+=Bo(c,f[8])),h>9&&(g+=Bo(p,f[9]));var y=Ir(e,t.nodeIndex).renderText;e.renderer.setValue(y,g)}return d}(e,t,n,r,i,o,a,s,l,u,c,p);case 16384:return function(e,t,n,r,i,o,a,s,l,u,c,p){var d=Pr(e,t.nodeIndex),f=d.instance,h=!1,g=void 0,y=t.bindings.length;return y>0&&Zr(e,t,0,n)&&(h=!0,g=Eo(e,d,t,0,n,g)),y>1&&Zr(e,t,1,r)&&(h=!0,g=Eo(e,d,t,1,r,g)),y>2&&Zr(e,t,2,i)&&(h=!0,g=Eo(e,d,t,2,i,g)),y>3&&Zr(e,t,3,o)&&(h=!0,g=Eo(e,d,t,3,o,g)),y>4&&Zr(e,t,4,a)&&(h=!0,g=Eo(e,d,t,4,a,g)),y>5&&Zr(e,t,5,s)&&(h=!0,g=Eo(e,d,t,5,s,g)),y>6&&Zr(e,t,6,l)&&(h=!0,g=Eo(e,d,t,6,l,g)),y>7&&Zr(e,t,7,u)&&(h=!0,g=Eo(e,d,t,7,u,g)),y>8&&Zr(e,t,8,c)&&(h=!0,g=Eo(e,d,t,8,c,g)),y>9&&Zr(e,t,9,p)&&(h=!0,g=Eo(e,d,t,9,p,g)),g&&f.ngOnChanges(g),65536&t.flags&&Er(e,256,t.nodeIndex)&&f.ngOnInit(),262144&t.flags&&f.ngDoCheck(),h}(e,t,n,r,i,o,a,s,l,u,c,p);case 32:case 64:case 128:return function(e,t,n,r,i,o,a,s,l,u,c,p){var d=t.bindings,f=!1,h=d.length;if(h>0&&Wr(e,t,0,n)&&(f=!0),h>1&&Wr(e,t,1,r)&&(f=!0),h>2&&Wr(e,t,2,i)&&(f=!0),h>3&&Wr(e,t,3,o)&&(f=!0),h>4&&Wr(e,t,4,a)&&(f=!0),h>5&&Wr(e,t,5,s)&&(f=!0),h>6&&Wr(e,t,6,l)&&(f=!0),h>7&&Wr(e,t,7,u)&&(f=!0),h>8&&Wr(e,t,8,c)&&(f=!0),h>9&&Wr(e,t,9,p)&&(f=!0),f){var g=kr(e,t.nodeIndex),y=void 0;switch(201347067&t.flags){case 32:y=new Array(d.length),h>0&&(y[0]=n),h>1&&(y[1]=r),h>2&&(y[2]=i),h>3&&(y[3]=o),h>4&&(y[4]=a),h>5&&(y[5]=s),h>6&&(y[6]=l),h>7&&(y[7]=u),h>8&&(y[8]=c),h>9&&(y[9]=p);break;case 64:y={},h>0&&(y[d[0].name]=n),h>1&&(y[d[1].name]=r),h>2&&(y[d[2].name]=i),h>3&&(y[d[3].name]=o),h>4&&(y[d[4].name]=a),h>5&&(y[d[5].name]=s),h>6&&(y[d[6].name]=l),h>7&&(y[d[7].name]=u),h>8&&(y[d[8].name]=c),h>9&&(y[d[9].name]=p);break;case 128:var m=n;switch(h){case 1:y=m.transform(n);break;case 2:y=m.transform(r);break;case 3:y=m.transform(r,i);break;case 4:y=m.transform(r,i,o);break;case 5:y=m.transform(r,i,o,a);break;case 6:y=m.transform(r,i,o,a,s);break;case 7:y=m.transform(r,i,o,a,s,l);break;case 8:y=m.transform(r,i,o,a,s,l,u);break;case 9:y=m.transform(r,i,o,a,s,l,u,c);break;case 10:y=m.transform(r,i,o,a,s,l,u,c,p)}}g.value=y}return f}(e,t,n,r,i,o,a,s,l,u,c,p);default:throw"unreachable"}}(e,t,r,i,o,a,s,l,u,c,p,d):function(e,t,n){switch(201347067&t.flags){case 1:return function(e,t,n){for(var r=!1,i=0;i0&&qr(e,t,0,n),d>1&&qr(e,t,1,r),d>2&&qr(e,t,2,i),d>3&&qr(e,t,3,o),d>4&&qr(e,t,4,a),d>5&&qr(e,t,5,s),d>6&&qr(e,t,6,l),d>7&&qr(e,t,7,u),d>8&&qr(e,t,8,c),d>9&&qr(e,t,9,p)}(e,t,r,i,o,a,s,l,u,c,p,d):function(e,t,n){for(var r=0;r0&&cs(n[t-1],r.next),n.splice(t,1),function(e){for(var t=e;t;){var n=null;if(t.views&&t.views.length?n=t.views[0].data:t.child?n=t.child:t.next&&(ds(t),n=t.next),null==n){for(;t&&!t.next;)ds(t),t=ps(t,e);ds(t||e),n=t&&t.next}t=n}}(r.data),ls(e,r,!1),e.query&&e.query.removeView(e,r,t),r}function cs(e,t){e.next=t,e.data.next=t?t.data:null}function ps(e,t){var n;return(n=e.node)&&2==(3&n.flags)?n.parent.data:e.parent===t?null:e.parent}function ds(e){if(e.cleanup){for(var t=e.cleanup,n=0;n=bs.length?bs[e]=null:s.staticData=bs[e],vs?(ws=null,ms.view!==_s&&2!=(3&ms.flags)||(ngDevMode&&ns(ms.child,null,"previousNode.child"),ms.child=s)):ms&&(ngDevMode&&ns(ms.next,null,"previousNode.next"),ms.next=s)),ms=s,vs=!0,s}function Ns(e,t,n,r){var i,o;if(null==t){var a=Cs[e];o=a&&a.native}else{ngDevMode&&ns(_s.bindingStartIndex,null,"bindingStartIndex");var s="string"!=typeof t,l=s?t.tag:t;if(null===l)throw"for now name is required";o=gs.createElement(l);var u=null;if(s){var c=As(t.template);u=Ys(Ms(-1,ys.createRenderer(o,t.rendererType),c))}null==(i=Ds(e,3,o,u)).staticData&&(ngDevMode&&nl(e-1),i.staticData=bs[e]=Vs(l,n||null,null,r||null)),n&&function(e,t){ngDevMode&&ns(t.length%2,0,"attrs.length % 2");for(var n=gs.setAttribute,r=0;r>12,i=r,o=r+((4092&e)>>2);i=bs.length&&(bs[e]=n,r)){ngDevMode&&rs(ms.staticData,"previousOrParentNode.staticData");var a=ms.staticData;(a.localNames||(a.localNames=[])).push(r,e)}var s=n.diPublic;s&&s(n);var l=ms.staticData;l&&l.attrs&&function(e,t,r){var i=((4092&ms.flags)>>2)-1,o=r.initialInputs;(void 0===o||i>=o.length)&&(o=function(e,t,n){var r=n.initialInputs||(n.initialInputs=[]);r[e]=null;for(var i=n.attrs,o=0;o=n.length||null==n[e])&&(n[e]=[]),n[e]}(e,t));ks(a,Ds(null,2,null,a)),n.nextIndex++}return!o}function $s(){vs=!1;var e=ms=_s.node,t=ms.parent;ngDevMode&&as(e,2),ngDevMode&&as(t,0);var n=t.data,r=n.nextIndex<=n.views.length?n.views[n.nextIndex-1]:null;(null==r||r.data.id!==e.data.id)&&(function(e,t,n){var r=e.data,i=r.views;n>0&&cs(i[n-1],t),n=i.length&&i.push(t),r.nextIndex<=n&&r.nextIndex++,null!==e.data.renderParent&&ls(e,t,!0,function(t,n,r){var i=n.views;return t+1")}function rl(e,t){void 0===t&&(t={});var n,r=t.rendererFactory||Ss,i=e.ngComponentDef,o=Fs(r,t.host||i.tag),a=ks(Ms(-1,r.createRenderer(o,i.rendererType),[]),null);try{vs=!1,ms=null,Ds(0,3,o,Ms(-1,gs,As(i.template))),n=Us(1,i.n(),i)}finally{Ts(a)}return t.features&&t.features.forEach(function(e){return e(n,i)}),il(n),n}function il(e){ngDevMode&&rs(e,"component");var t=e[Ps];ngDevMode&&!t&&Rs("Not a directive instance",e),ngDevMode&&rs(t.data,"hostNode.data"),function(e,n,r,i){var o=ks(n,t);try{ys.begin&&ys.begin(),r.constructor.ngComponentDef.r(1,0)}finally{ys.end&&ys.end(),n.creationMode=!1,Ts(o)}}(0,t.view,e)}function ol(e){var t={type:e.type,diPublic:null,n:e.factory,tag:e.tag||null,template:e.template||null,r:e.refresh||function(t,n){Qs(t,n,e.template)},h:e.hostBindings||sl,inputs:ll(e.inputs),outputs:ll(e.outputs),methods:ll(e.methods),rendererType:Gr(e.rendererType)||null},n=e.features;return n&&n.forEach(function(e){return e(t)}),t}var al={};function sl(){}function ll(e){if(null==e)return al;var t={};for(var n in e)t[e[n]]=n;return t}function ul(e,t){return{type:7,name:e,definitions:t,options:{}}}function cl(e,t){return void 0===t&&(t=null),{type:4,styles:t,timings:e}}function pl(e,t){return void 0===t&&(t=null),{type:3,steps:e,options:t}}function dl(e,t){return void 0===t&&(t=null),{type:2,steps:e,options:t}}function fl(e){return{type:6,styles:e,offset:null}}function hl(e,t,n){return{type:0,name:e,styles:t,options:n}}function gl(e){return{type:5,steps:e}}function yl(e,t,n){return void 0===n&&(n=null),{type:1,expr:e,animation:t,options:n}}var ml="*";function vl(e,t){return ul(e,t)}function bl(e,t){return cl(e,t)}function _l(e){return pl(e)}function wl(e){return dl(e)}function xl(e){return fl(e)}function Cl(e,t){return hl(e,t)}function Ol(e){return gl(e)}function El(e,t){return yl(e,t)}}).call(t,n("DuR2"))},Xjw4:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n.d(t,"\u0275registerLocaleData",function(){return y}),n.d(t,"NgLocaleLocalization",function(){return $}),n.d(t,"NgLocalization",function(){return q}),n.d(t,"registerLocaleData",function(){return y}),n.d(t,"Plural",function(){return v}),n.d(t,"NumberFormatStyle",function(){return m}),n.d(t,"FormStyle",function(){return b}),n.d(t,"TranslationWidth",function(){return _}),n.d(t,"FormatWidth",function(){return w}),n.d(t,"NumberSymbol",function(){return x}),n.d(t,"WeekDay",function(){return C}),n.d(t,"getCurrencySymbol",function(){return Z}),n.d(t,"getLocaleDayPeriods",function(){return E}),n.d(t,"getLocaleDayNames",function(){return I}),n.d(t,"getLocaleMonthNames",function(){return S}),n.d(t,"getLocaleId",function(){return O}),n.d(t,"getLocaleEraNames",function(){return P}),n.d(t,"getLocaleWeekEndRange",function(){return T}),n.d(t,"getLocaleFirstDayOfWeek",function(){return k}),n.d(t,"getLocaleDateFormat",function(){return M}),n.d(t,"getLocaleDateTimeFormat",function(){return N}),n.d(t,"getLocaleExtraDayPeriodRules",function(){return z}),n.d(t,"getLocaleExtraDayPeriods",function(){return H}),n.d(t,"getLocalePluralCase",function(){return j}),n.d(t,"getLocaleTimeFormat",function(){return D}),n.d(t,"getLocaleNumberSymbol",function(){return A}),n.d(t,"getLocaleNumberFormat",function(){return R}),n.d(t,"getLocaleCurrencyName",function(){return L}),n.d(t,"getLocaleCurrencySymbol",function(){return F}),n.d(t,"\u0275parseCookieValue",function(){return Y}),n.d(t,"CommonModule",function(){return Tt}),n.d(t,"DeprecatedI18NPipesModule",function(){return Mt}),n.d(t,"NgClass",function(){return J}),n.d(t,"NgForOf",function(){return te}),n.d(t,"NgForOfContext",function(){return ee}),n.d(t,"NgIf",function(){return re}),n.d(t,"NgIfContext",function(){return ie}),n.d(t,"NgPlural",function(){return ue}),n.d(t,"NgPluralCase",function(){return ce}),n.d(t,"NgStyle",function(){return pe}),n.d(t,"NgSwitch",function(){return ae}),n.d(t,"NgSwitchCase",function(){return se}),n.d(t,"NgSwitchDefault",function(){return le}),n.d(t,"NgTemplateOutlet",function(){return de}),n.d(t,"NgComponentOutlet",function(){return X}),n.d(t,"DOCUMENT",function(){return Dt}),n.d(t,"AsyncPipe",function(){return yt}),n.d(t,"DatePipe",function(){return Me}),n.d(t,"I18nPluralPipe",function(){return wt}),n.d(t,"I18nSelectPipe",function(){return xt}),n.d(t,"JsonPipe",function(){return Ct}),n.d(t,"LowerCasePipe",function(){return mt}),n.d(t,"CurrencyPipe",function(){return It}),n.d(t,"DecimalPipe",function(){return Ot}),n.d(t,"PercentPipe",function(){return Et}),n.d(t,"SlicePipe",function(){return Pt}),n.d(t,"UpperCasePipe",function(){return bt}),n.d(t,"TitleCasePipe",function(){return vt}),n.d(t,"DeprecatedDatePipe",function(){return $e}),n.d(t,"DeprecatedCurrencyPipe",function(){return pt}),n.d(t,"DeprecatedDecimalPipe",function(){return ut}),n.d(t,"DeprecatedPercentPipe",function(){return ct}),n.d(t,"\u0275PLATFORM_BROWSER_ID",function(){return Nt}),n.d(t,"\u0275PLATFORM_SERVER_ID",function(){return At}),n.d(t,"\u0275PLATFORM_WORKER_APP_ID",function(){return Rt}),n.d(t,"\u0275PLATFORM_WORKER_UI_ID",function(){return Ft}),n.d(t,"isPlatformBrowser",function(){return Lt}),n.d(t,"isPlatformServer",function(){return jt}),n.d(t,"isPlatformWorkerApp",function(){return Vt}),n.d(t,"isPlatformWorkerUi",function(){return zt}),n.d(t,"VERSION",function(){return Ht}),n.d(t,"PlatformLocation",function(){return o}),n.d(t,"LOCATION_INITIALIZED",function(){return a}),n.d(t,"LocationStrategy",function(){return s}),n.d(t,"APP_BASE_HREF",function(){return l}),n.d(t,"HashLocationStrategy",function(){return p}),n.d(t,"PathLocationStrategy",function(){return d}),n.d(t,"Location",function(){return u}),n.d(t,"\u0275e",function(){return fe}),n.d(t,"\u0275d",function(){return G}),n.d(t,"\u0275a",function(){return W}),n.d(t,"\u0275b",function(){return Q}),n.d(t,"\u0275g",function(){return dt}),n.d(t,"\u0275f",function(){return kt});var r=n("WT6e"),i=n("TToO"),o=function(){},a=new r.InjectionToken("Location Initialized"),s=function(){},l=new r.InjectionToken("appBaseHref"),u=function(){function e(t){var n=this;this._subject=new r.EventEmitter,this._platformStrategy=t;var i=this._platformStrategy.getBaseHref();this._baseHref=e.stripTrailingSlash(c(i)),this._platformStrategy.onPopState(function(e){n._subject.emit({url:n.path(!0),pop:!0,type:e.type})})}return e.prototype.path=function(e){return void 0===e&&(e=!1),this.normalize(this._platformStrategy.path(e))},e.prototype.isCurrentPathEqualTo=function(t,n){return void 0===n&&(n=""),this.path()==this.normalize(t+e.normalizeQueryParams(n))},e.prototype.normalize=function(t){return e.stripTrailingSlash(function(e,t){return e&&t.startsWith(e)?t.substring(e.length):t}(this._baseHref,c(t)))},e.prototype.prepareExternalUrl=function(e){return e&&"/"!==e[0]&&(e="/"+e),this._platformStrategy.prepareExternalUrl(e)},e.prototype.go=function(e,t){void 0===t&&(t=""),this._platformStrategy.pushState(null,"",e,t)},e.prototype.replaceState=function(e,t){void 0===t&&(t=""),this._platformStrategy.replaceState(null,"",e,t)},e.prototype.forward=function(){this._platformStrategy.forward()},e.prototype.back=function(){this._platformStrategy.back()},e.prototype.subscribe=function(e,t,n){return this._subject.subscribe({next:e,error:t,complete:n})},e.normalizeQueryParams=function(e){return e&&"?"!==e[0]?"?"+e:e},e.joinWithSlash=function(e,t){if(0==e.length)return t;if(0==t.length)return e;var n=0;return e.endsWith("/")&&n++,t.startsWith("/")&&n++,2==n?e+t.substring(1):1==n?e+t:e+"/"+t},e.stripTrailingSlash=function(e){var t=e.match(/#|\?|$/),n=t&&t.index||e.length;return e.slice(0,n-("/"===e[n-1]?1:0))+e.slice(n)},e}();function c(e){return e.replace(/\/index.html$/,"")}var p=function(e){function t(t,n){var r=e.call(this)||this;return r._platformLocation=t,r._baseHref="",null!=n&&(r._baseHref=n),r}return Object(i.b)(t,e),t.prototype.onPopState=function(e){this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e)},t.prototype.getBaseHref=function(){return this._baseHref},t.prototype.path=function(e){void 0===e&&(e=!1);var t=this._platformLocation.hash;return null==t&&(t="#"),t.length>0?t.substring(1):t},t.prototype.prepareExternalUrl=function(e){var t=u.joinWithSlash(this._baseHref,e);return t.length>0?"#"+t:t},t.prototype.pushState=function(e,t,n,r){var i=this.prepareExternalUrl(n+u.normalizeQueryParams(r));0==i.length&&(i=this._platformLocation.pathname),this._platformLocation.pushState(e,t,i)},t.prototype.replaceState=function(e,t,n,r){var i=this.prepareExternalUrl(n+u.normalizeQueryParams(r));0==i.length&&(i=this._platformLocation.pathname),this._platformLocation.replaceState(e,t,i)},t.prototype.forward=function(){this._platformLocation.forward()},t.prototype.back=function(){this._platformLocation.back()},t}(s),d=function(e){function t(t,n){var r=e.call(this)||this;if(r._platformLocation=t,null==n&&(n=r._platformLocation.getBaseHrefFromDOM()),null==n)throw new Error("No base href set. Please provide a value for the APP_BASE_HREF token or add a base element to the document.");return r._baseHref=n,r}return Object(i.b)(t,e),t.prototype.onPopState=function(e){this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e)},t.prototype.getBaseHref=function(){return this._baseHref},t.prototype.prepareExternalUrl=function(e){return u.joinWithSlash(this._baseHref,e)},t.prototype.path=function(e){void 0===e&&(e=!1);var t=this._platformLocation.pathname+u.normalizeQueryParams(this._platformLocation.search),n=this._platformLocation.hash;return n&&e?""+t+n:t},t.prototype.pushState=function(e,t,n,r){var i=this.prepareExternalUrl(n+u.normalizeQueryParams(r));this._platformLocation.pushState(e,t,i)},t.prototype.replaceState=function(e,t,n,r){var i=this.prepareExternalUrl(n+u.normalizeQueryParams(r));this._platformLocation.replaceState(e,t,i)},t.prototype.forward=function(){this._platformLocation.forward()},t.prototype.back=function(){this._platformLocation.back()},t}(s),f={AOA:[,"Kz"],ARS:[,"$"],AUD:["A$","$"],BAM:[,"KM"],BBD:[,"$"],BDT:[,"\u09f3"],BMD:[,"$"],BND:[,"$"],BOB:[,"Bs"],BRL:["R$"],BSD:[,"$"],BWP:[,"P"],BYN:[,"\u0440."],BZD:[,"$"],CAD:["CA$","$"],CLP:[,"$"],CNY:["CN\xa5","\xa5"],COP:[,"$"],CRC:[,"\u20a1"],CUC:[,"$"],CUP:[,"$"],CZK:[,"K\u010d"],DKK:[,"kr"],DOP:[,"$"],EGP:[,"E\xa3"],ESP:[,"\u20a7"],EUR:["\u20ac"],FJD:[,"$"],FKP:[,"\xa3"],GBP:["\xa3"],GEL:[,"\u20be"],GIP:[,"\xa3"],GNF:[,"FG"],GTQ:[,"Q"],GYD:[,"$"],HKD:["HK$","$"],HNL:[,"L"],HRK:[,"kn"],HUF:[,"Ft"],IDR:[,"Rp"],ILS:["\u20aa"],INR:["\u20b9"],ISK:[,"kr"],JMD:[,"$"],JPY:["\xa5"],KHR:[,"\u17db"],KMF:[,"CF"],KPW:[,"\u20a9"],KRW:["\u20a9"],KYD:[,"$"],KZT:[,"\u20b8"],LAK:[,"\u20ad"],LBP:[,"L\xa3"],LKR:[,"Rs"],LRD:[,"$"],LTL:[,"Lt"],LVL:[,"Ls"],MGA:[,"Ar"],MMK:[,"K"],MNT:[,"\u20ae"],MUR:[,"Rs"],MXN:["MX$","$"],MYR:[,"RM"],NAD:[,"$"],NGN:[,"\u20a6"],NIO:[,"C$"],NOK:[,"kr"],NPR:[,"Rs"],NZD:["NZ$","$"],PHP:[,"\u20b1"],PKR:[,"Rs"],PLN:[,"z\u0142"],PYG:[,"\u20b2"],RON:[,"lei"],RUB:[,"\u20bd"],RUR:[,"\u0440."],RWF:[,"RF"],SBD:[,"$"],SEK:[,"kr"],SGD:[,"$"],SHP:[,"\xa3"],SRD:[,"$"],SSP:[,"\xa3"],STD:[,"Db"],SYP:[,"\xa3"],THB:[,"\u0e3f"],TOP:[,"T$"],TRY:[,"\u20ba"],TTD:[,"$"],TWD:["NT$","$"],UAH:[,"\u20b4"],USD:["$"],UYU:[,"$"],VEF:[,"Bs"],VND:["\u20ab"],XAF:["FCFA"],XCD:["EC$","$"],XOF:["CFA"],XPF:["CFPF"],ZAR:[,"R"],ZMW:[,"ZK"]},h=["en",[["a","p"],["AM","PM"]],[["AM","PM"],,],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",,"{1} 'at' {0}"],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"$","US Dollar",function(e){var t=Math.floor(Math.abs(e)),n=e.toString().replace(/^[^.]*\.?/,"").length;return 1===t&&0===n?1:5}],g={};function y(e,t,n){"string"!=typeof t&&(n=t,t=e[0]),t=t.toLowerCase().replace(/_/g,"-"),g[t]=e,n&&(g[t][18]=n)}var m=function(){var e={Decimal:0,Percent:1,Currency:2,Scientific:3};return e[e.Decimal]="Decimal",e[e.Percent]="Percent",e[e.Currency]="Currency",e[e.Scientific]="Scientific",e}(),v=function(){var e={Zero:0,One:1,Two:2,Few:3,Many:4,Other:5};return e[e.Zero]="Zero",e[e.One]="One",e[e.Two]="Two",e[e.Few]="Few",e[e.Many]="Many",e[e.Other]="Other",e}(),b=function(){var e={Format:0,Standalone:1};return e[e.Format]="Format",e[e.Standalone]="Standalone",e}(),_=function(){var e={Narrow:0,Abbreviated:1,Wide:2,Short:3};return e[e.Narrow]="Narrow",e[e.Abbreviated]="Abbreviated",e[e.Wide]="Wide",e[e.Short]="Short",e}(),w=function(){var e={Short:0,Medium:1,Long:2,Full:3};return e[e.Short]="Short",e[e.Medium]="Medium",e[e.Long]="Long",e[e.Full]="Full",e}(),x=function(){var e={Decimal:0,Group:1,List:2,PercentSign:3,PlusSign:4,MinusSign:5,Exponential:6,SuperscriptingExponent:7,PerMille:8,Infinity:9,NaN:10,TimeSeparator:11,CurrencyDecimal:12,CurrencyGroup:13};return e[e.Decimal]="Decimal",e[e.Group]="Group",e[e.List]="List",e[e.PercentSign]="PercentSign",e[e.PlusSign]="PlusSign",e[e.MinusSign]="MinusSign",e[e.Exponential]="Exponential",e[e.SuperscriptingExponent]="SuperscriptingExponent",e[e.PerMille]="PerMille",e[e.Infinity]="Infinity",e[e.NaN]="NaN",e[e.TimeSeparator]="TimeSeparator",e[e.CurrencyDecimal]="CurrencyDecimal",e[e.CurrencyGroup]="CurrencyGroup",e}(),C=function(){var e={Sunday:0,Monday:1,Tuesday:2,Wednesday:3,Thursday:4,Friday:5,Saturday:6};return e[e.Sunday]="Sunday",e[e.Monday]="Monday",e[e.Tuesday]="Tuesday",e[e.Wednesday]="Wednesday",e[e.Thursday]="Thursday",e[e.Friday]="Friday",e[e.Saturday]="Saturday",e}();function O(e){return G(e)[0]}function E(e,t,n){var r=G(e);return B(B([r[1],r[2]],t),n)}function I(e,t,n){var r=G(e);return B(B([r[3],r[4]],t),n)}function S(e,t,n){var r=G(e);return B(B([r[5],r[6]],t),n)}function P(e,t){return B(G(e)[7],t)}function k(e){return G(e)[8]}function T(e){return G(e)[9]}function M(e,t){return B(G(e)[10],t)}function D(e,t){return B(G(e)[11],t)}function N(e,t){return B(G(e)[12],t)}function A(e,t){var n=G(e),r=n[13][t];if("undefined"==typeof r){if(t===x.CurrencyDecimal)return n[13][x.Decimal];if(t===x.CurrencyGroup)return n[13][x.Group]}return r}function R(e,t){return G(e)[14][t]}function F(e){return G(e)[15]||null}function L(e){return G(e)[16]||null}function j(e){return G(e)[17]}function V(e){if(!e[18])throw new Error('Missing extra locale data for the locale "'+e[0]+'". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.')}function z(e){var t=G(e);return V(t),(t[18][2]||[]).map(function(e){return"string"==typeof e?U(e):[U(e[0]),U(e[1])]})}function H(e,t,n){var r=G(e);return V(r),B(B([r[18][0],r[18][1]],t)||[],n)||[]}function B(e,t){for(var n=t;n>-1;n--)if("undefined"!=typeof e[n])return e[n];throw new Error("Locale data API: locale data undefined")}function U(e){var t=e.split(":");return{hours:+t[0],minutes:+t[1]}}function G(e){var t=e.toLowerCase().replace(/_/g,"-"),n=g[t];if(n)return n;var r=t.split("-")[0];if(n=g[r])return n;if("en"===r)return h;throw new Error('Missing locale data for the locale "'+e+'".')}function Z(e,t){var n=f[e]||[],r=n[1];return"narrow"===t&&"string"==typeof r?r:n[0]||e}var W=new r.InjectionToken("UseV4Plurals"),q=function(){};function K(e,t,n,r){var i="="+e;if(t.indexOf(i)>-1)return i;if(i=n.getPluralCategory(e,r),t.indexOf(i)>-1)return i;if(t.indexOf("other")>-1)return"other";throw new Error('No plural message found for value "'+e+'"')}var $=function(e){function t(t,n){var r=e.call(this)||this;return r.locale=t,r.deprecatedPluralFn=n,r}return Object(i.b)(t,e),t.prototype.getPluralCategory=function(e,t){switch(this.deprecatedPluralFn?this.deprecatedPluralFn(t||this.locale,e):j(t||this.locale)(e)){case v.Zero:return"zero";case v.One:return"one";case v.Two:return"two";case v.Few:return"few";case v.Many:return"many";default:return"other"}},t}(q);function Q(e,t){"string"==typeof t&&(t=parseInt(t,10));var n=t,r=n.toString().replace(/^[^.]*\.?/,""),i=Math.floor(Math.abs(n)),o=r.length,a=parseInt(r,10),s=parseInt(n.toString().replace(/^[^.]*\.?|0+$/g,""),10)||0;switch(e.split("-")[0].toLowerCase()){case"af":case"asa":case"az":case"bem":case"bez":case"bg":case"brx":case"ce":case"cgg":case"chr":case"ckb":case"ee":case"el":case"eo":case"es":case"eu":case"fo":case"fur":case"gsw":case"ha":case"haw":case"hu":case"jgo":case"jmc":case"ka":case"kk":case"kkj":case"kl":case"ks":case"ksb":case"ky":case"lb":case"lg":case"mas":case"mgo":case"ml":case"mn":case"nb":case"nd":case"ne":case"nn":case"nnh":case"nyn":case"om":case"or":case"os":case"ps":case"rm":case"rof":case"rwk":case"saq":case"seh":case"sn":case"so":case"sq":case"ta":case"te":case"teo":case"tk":case"tr":case"ug":case"uz":case"vo":case"vun":case"wae":case"xog":return 1===n?v.One:v.Other;case"ak":case"ln":case"mg":case"pa":case"ti":return n===Math.floor(n)&&n>=0&&n<=1?v.One:v.Other;case"am":case"as":case"bn":case"fa":case"gu":case"hi":case"kn":case"mr":case"zu":return 0===i||1===n?v.One:v.Other;case"ar":return 0===n?v.Zero:1===n?v.One:2===n?v.Two:n%100===Math.floor(n%100)&&n%100>=3&&n%100<=10?v.Few:n%100===Math.floor(n%100)&&n%100>=11&&n%100<=99?v.Many:v.Other;case"ast":case"ca":case"de":case"en":case"et":case"fi":case"fy":case"gl":case"it":case"nl":case"sv":case"sw":case"ur":case"yi":return 1===i&&0===o?v.One:v.Other;case"be":return n%10==1&&n%100!=11?v.One:n%10===Math.floor(n%10)&&n%10>=2&&n%10<=4&&!(n%100>=12&&n%100<=14)?v.Few:n%10==0||n%10===Math.floor(n%10)&&n%10>=5&&n%10<=9||n%100===Math.floor(n%100)&&n%100>=11&&n%100<=14?v.Many:v.Other;case"br":return n%10==1&&n%100!=11&&n%100!=71&&n%100!=91?v.One:n%10==2&&n%100!=12&&n%100!=72&&n%100!=92?v.Two:n%10===Math.floor(n%10)&&(n%10>=3&&n%10<=4||n%10==9)&&!(n%100>=10&&n%100<=19||n%100>=70&&n%100<=79||n%100>=90&&n%100<=99)?v.Few:0!==n&&n%1e6==0?v.Many:v.Other;case"bs":case"hr":case"sr":return 0===o&&i%10==1&&i%100!=11||a%10==1&&a%100!=11?v.One:0===o&&i%10===Math.floor(i%10)&&i%10>=2&&i%10<=4&&!(i%100>=12&&i%100<=14)||a%10===Math.floor(a%10)&&a%10>=2&&a%10<=4&&!(a%100>=12&&a%100<=14)?v.Few:v.Other;case"cs":case"sk":return 1===i&&0===o?v.One:i===Math.floor(i)&&i>=2&&i<=4&&0===o?v.Few:0!==o?v.Many:v.Other;case"cy":return 0===n?v.Zero:1===n?v.One:2===n?v.Two:3===n?v.Few:6===n?v.Many:v.Other;case"da":return 1===n||0!==s&&(0===i||1===i)?v.One:v.Other;case"dsb":case"hsb":return 0===o&&i%100==1||a%100==1?v.One:0===o&&i%100==2||a%100==2?v.Two:0===o&&i%100===Math.floor(i%100)&&i%100>=3&&i%100<=4||a%100===Math.floor(a%100)&&a%100>=3&&a%100<=4?v.Few:v.Other;case"ff":case"fr":case"hy":case"kab":return 0===i||1===i?v.One:v.Other;case"fil":return 0===o&&(1===i||2===i||3===i)||0===o&&i%10!=4&&i%10!=6&&i%10!=9||0!==o&&a%10!=4&&a%10!=6&&a%10!=9?v.One:v.Other;case"ga":return 1===n?v.One:2===n?v.Two:n===Math.floor(n)&&n>=3&&n<=6?v.Few:n===Math.floor(n)&&n>=7&&n<=10?v.Many:v.Other;case"gd":return 1===n||11===n?v.One:2===n||12===n?v.Two:n===Math.floor(n)&&(n>=3&&n<=10||n>=13&&n<=19)?v.Few:v.Other;case"gv":return 0===o&&i%10==1?v.One:0===o&&i%10==2?v.Two:0!==o||i%100!=0&&i%100!=20&&i%100!=40&&i%100!=60&&i%100!=80?0!==o?v.Many:v.Other:v.Few;case"he":return 1===i&&0===o?v.One:2===i&&0===o?v.Two:0!==o||n>=0&&n<=10||n%10!=0?v.Other:v.Many;case"is":return 0===s&&i%10==1&&i%100!=11||0!==s?v.One:v.Other;case"ksh":return 0===n?v.Zero:1===n?v.One:v.Other;case"kw":case"naq":case"se":case"smn":return 1===n?v.One:2===n?v.Two:v.Other;case"lag":return 0===n?v.Zero:0!==i&&1!==i||0===n?v.Other:v.One;case"lt":return n%10!=1||n%100>=11&&n%100<=19?n%10===Math.floor(n%10)&&n%10>=2&&n%10<=9&&!(n%100>=11&&n%100<=19)?v.Few:0!==a?v.Many:v.Other:v.One;case"lv":case"prg":return n%10==0||n%100===Math.floor(n%100)&&n%100>=11&&n%100<=19||2===o&&a%100===Math.floor(a%100)&&a%100>=11&&a%100<=19?v.Zero:n%10==1&&n%100!=11||2===o&&a%10==1&&a%100!=11||2!==o&&a%10==1?v.One:v.Other;case"mk":return 0===o&&i%10==1||a%10==1?v.One:v.Other;case"mt":return 1===n?v.One:0===n||n%100===Math.floor(n%100)&&n%100>=2&&n%100<=10?v.Few:n%100===Math.floor(n%100)&&n%100>=11&&n%100<=19?v.Many:v.Other;case"pl":return 1===i&&0===o?v.One:0===o&&i%10===Math.floor(i%10)&&i%10>=2&&i%10<=4&&!(i%100>=12&&i%100<=14)?v.Few:0===o&&1!==i&&i%10===Math.floor(i%10)&&i%10>=0&&i%10<=1||0===o&&i%10===Math.floor(i%10)&&i%10>=5&&i%10<=9||0===o&&i%100===Math.floor(i%100)&&i%100>=12&&i%100<=14?v.Many:v.Other;case"pt":return n===Math.floor(n)&&n>=0&&n<=2&&2!==n?v.One:v.Other;case"ro":return 1===i&&0===o?v.One:0!==o||0===n||1!==n&&n%100===Math.floor(n%100)&&n%100>=1&&n%100<=19?v.Few:v.Other;case"ru":case"uk":return 0===o&&i%10==1&&i%100!=11?v.One:0===o&&i%10===Math.floor(i%10)&&i%10>=2&&i%10<=4&&!(i%100>=12&&i%100<=14)?v.Few:0===o&&i%10==0||0===o&&i%10===Math.floor(i%10)&&i%10>=5&&i%10<=9||0===o&&i%100===Math.floor(i%100)&&i%100>=11&&i%100<=14?v.Many:v.Other;case"shi":return 0===i||1===n?v.One:n===Math.floor(n)&&n>=2&&n<=10?v.Few:v.Other;case"si":return 0===n||1===n||0===i&&1===a?v.One:v.Other;case"sl":return 0===o&&i%100==1?v.One:0===o&&i%100==2?v.Two:0===o&&i%100===Math.floor(i%100)&&i%100>=3&&i%100<=4||0!==o?v.Few:v.Other;case"tzm":return n===Math.floor(n)&&n>=0&&n<=1||n===Math.floor(n)&&n>=11&&n<=99?v.One:v.Other;default:return v.Other}}function Y(e,t){t=encodeURIComponent(t);for(var n=0,r=e.split(";");n0||s>-n)&&(s+=n),e===me.Hours&&0===s&&-12===n&&(s=12),_e(s,t,A(a,x.MinusSign),r,i)}}function xe(e,t,n,r){return void 0===n&&(n=b.Format),void 0===r&&(r=!1),function(i,o){return function(e,t,n,r,i,o){switch(n){case ve.Months:return S(t,i,r)[e.getMonth()];case ve.Days:return I(t,i,r)[e.getDay()];case ve.DayPeriods:var a=e.getHours(),s=e.getMinutes();if(o){var l,u=z(t),c=H(t,i,r);if(u.forEach(function(e,t){if(Array.isArray(e)){var n=e[0],r=e[1],i=r.hours;a>=n.hours&&s>=n.minutes&&(a0?Math.floor(i/60):Math.ceil(i/60);switch(e){case ye.Short:return(i>=0?"+":"")+_e(a,2,o)+_e(Math.abs(i%60),2,o);case ye.ShortGMT:return"GMT"+(i>=0?"+":"")+_e(a,1,o);case ye.Long:return"GMT"+(i>=0?"+":"")+_e(a,2,o)+":"+_e(Math.abs(i%60),2,o);case ye.Extended:return 0===r?"Z":(i>=0?"+":"")+_e(a,2,o)+":"+_e(Math.abs(i%60),2,o);default:throw new Error('Unknown zone width "'+e+'"')}}}var Oe=0,Ee=4;function Ie(e,t){return void 0===t&&(t=!1),function(n,r){var i,o,a,s;if(t){var l=new Date(n.getFullYear(),n.getMonth(),1).getDay()-1,u=n.getDate();i=1+Math.floor((u+l)/7)}else{var c=(a=n.getFullYear(),s=new Date(a,Oe,1).getDay(),new Date(a,0,1+(s<=Ee?Ee:Ee+7)-s)),p=(o=n,new Date(o.getFullYear(),o.getMonth(),o.getDate()+(Ee-o.getDay()))).getTime()-c.getTime();i=1+Math.round(p/6048e5)}return _e(i,e,A(r,x.MinusSign))}}var Se={};function Pe(e,t){e=e.replace(/:/g,"");var n=Date.parse("Jan 01, 1970 00:00:00 "+e)/6e4;return isNaN(n)?t:n}function ke(e,t){return Error("InvalidPipeArgument: '"+t+"' for pipe '"+Object(r["\u0275stringify"])(e)+"'")}var Te=/^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,Me=function(){function e(e){this.locale=e}return e.prototype.transform=function(t,n,r,i){if(void 0===n&&(n="mediumDate"),null==t||""===t||t!=t)return null;var o,a;if("string"==typeof t&&(t=t.trim()),Ne(t))o=t;else if(isNaN(t-parseFloat(t)))if("string"==typeof t&&/^(\d{4}-\d{1,2}-\d{1,2})$/.test(t)){var s=t.split("-").map(function(e){return+e});o=new Date(s[0],s[1]-1,s[2])}else o="string"==typeof t&&(a=t.match(Te))?De(a):new Date(t);else o=new Date(parseFloat(t));if(!Ne(o))throw ke(e,t);return function(e,t,n,r){t=function e(t,n){var r=O(t);if(he[r]=he[r]||{},he[r][n])return he[r][n];var i="";switch(n){case"shortDate":i=M(t,w.Short);break;case"mediumDate":i=M(t,w.Medium);break;case"longDate":i=M(t,w.Long);break;case"fullDate":i=M(t,w.Full);break;case"shortTime":i=D(t,w.Short);break;case"mediumTime":i=D(t,w.Medium);break;case"longTime":i=D(t,w.Long);break;case"fullTime":i=D(t,w.Full);break;case"short":var o=e(t,"shortTime"),a=e(t,"shortDate");i=be(N(t,w.Short),[o,a]);break;case"medium":var s=e(t,"mediumTime"),l=e(t,"mediumDate");i=be(N(t,w.Medium),[s,l]);break;case"long":var u=e(t,"longTime"),c=e(t,"longDate");i=be(N(t,w.Long),[u,c]);break;case"full":var p=e(t,"fullTime"),d=e(t,"fullDate");i=be(N(t,w.Full),[p,d])}return i&&(he[r][n]=i),i}(n,t)||t;for(var i,o=[];t;){if(!(i=ge.exec(t))){o.push(t);break}var a=(o=o.concat(i.slice(1))).pop();if(!a)break;t=a}var s=e.getTimezoneOffset();r&&(s=Pe(r,s),e=function(e,t,n){var r=e.getTimezoneOffset();return function(e,t){return(e=new Date(e.getTime())).setMinutes(e.getMinutes()+t),e}(e,-1*(Pe(t,r)-r))}(e,r));var l="";return o.forEach(function(t){var r=function(e){if(Se[e])return Se[e];var t;switch(e){case"G":case"GG":case"GGG":t=xe(ve.Eras,_.Abbreviated);break;case"GGGG":t=xe(ve.Eras,_.Wide);break;case"GGGGG":t=xe(ve.Eras,_.Narrow);break;case"y":t=we(me.FullYear,1,0,!1,!0);break;case"yy":t=we(me.FullYear,2,0,!0,!0);break;case"yyy":t=we(me.FullYear,3,0,!1,!0);break;case"yyyy":t=we(me.FullYear,4,0,!1,!0);break;case"M":case"L":t=we(me.Month,1,1);break;case"MM":case"LL":t=we(me.Month,2,1);break;case"MMM":t=xe(ve.Months,_.Abbreviated);break;case"MMMM":t=xe(ve.Months,_.Wide);break;case"MMMMM":t=xe(ve.Months,_.Narrow);break;case"LLL":t=xe(ve.Months,_.Abbreviated,b.Standalone);break;case"LLLL":t=xe(ve.Months,_.Wide,b.Standalone);break;case"LLLLL":t=xe(ve.Months,_.Narrow,b.Standalone);break;case"w":t=Ie(1);break;case"ww":t=Ie(2);break;case"W":t=Ie(1,!0);break;case"d":t=we(me.Date,1);break;case"dd":t=we(me.Date,2);break;case"E":case"EE":case"EEE":t=xe(ve.Days,_.Abbreviated);break;case"EEEE":t=xe(ve.Days,_.Wide);break;case"EEEEE":t=xe(ve.Days,_.Narrow);break;case"EEEEEE":t=xe(ve.Days,_.Short);break;case"a":case"aa":case"aaa":t=xe(ve.DayPeriods,_.Abbreviated);break;case"aaaa":t=xe(ve.DayPeriods,_.Wide);break;case"aaaaa":t=xe(ve.DayPeriods,_.Narrow);break;case"b":case"bb":case"bbb":t=xe(ve.DayPeriods,_.Abbreviated,b.Standalone,!0);break;case"bbbb":t=xe(ve.DayPeriods,_.Wide,b.Standalone,!0);break;case"bbbbb":t=xe(ve.DayPeriods,_.Narrow,b.Standalone,!0);break;case"B":case"BB":case"BBB":t=xe(ve.DayPeriods,_.Abbreviated,b.Format,!0);break;case"BBBB":t=xe(ve.DayPeriods,_.Wide,b.Format,!0);break;case"BBBBB":t=xe(ve.DayPeriods,_.Narrow,b.Format,!0);break;case"h":t=we(me.Hours,1,-12);break;case"hh":t=we(me.Hours,2,-12);break;case"H":t=we(me.Hours,1);break;case"HH":t=we(me.Hours,2);break;case"m":t=we(me.Minutes,1);break;case"mm":t=we(me.Minutes,2);break;case"s":t=we(me.Seconds,1);break;case"ss":t=we(me.Seconds,2);break;case"S":t=we(me.Milliseconds,1);break;case"SS":t=we(me.Milliseconds,2);break;case"SSS":t=we(me.Milliseconds,3);break;case"Z":case"ZZ":case"ZZZ":t=Ce(ye.Short);break;case"ZZZZZ":t=Ce(ye.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":t=Ce(ye.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":t=Ce(ye.Long);break;default:return null}return Se[e]=t,t}(t);l+=r?r(e,n,s):"''"===t?"'":t.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),l}(o,n,i||this.locale,r)},e}();function De(e){var t=new Date(0),n=0,r=0,i=e[8]?t.setUTCHours:t.setHours;e[9]&&(n=+(e[9]+e[10]),r=+(e[9]+e[11])),(e[8]?t.setUTCFullYear:t.setFullYear).call(t,+e[1],+e[2]-1,+e[3]);var o=+(e[4]||"0")-n,a=+(e[5]||"0")-r,s=+(e[6]||"0"),l=Math.round(1e3*parseFloat("0."+(e[7]||0)));return i.call(t,o,a,s,l),t}function Ne(e){return e instanceof Date&&!isNaN(e.valueOf())}var Ae=function(){function e(){}return e.format=function(e,t,n,r){void 0===r&&(r={});var i=r.currency,o=r.currencyAsSymbol,a=void 0!==o&&o,s={minimumIntegerDigits:r.minimumIntegerDigits,minimumFractionDigits:r.minimumFractionDigits,maximumFractionDigits:r.maximumFractionDigits,style:m[n].toLowerCase()};return n==m.Currency&&(s.currency="string"==typeof i?i:void 0,s.currencyDisplay=a?"symbol":"code"),new Intl.NumberFormat(t,s).format(e)},e}(),Re=/((?:[^yMLdHhmsazZEwGjJ']+)|(?:'(?:[^']|'')*')|(?:E+|y+|M+|L+|d+|H+|h+|J+|j+|m+|s+|a|z|Z|G+|w+))(.*)/,Fe={yMMMdjms:We(Ze([Ue("year",1),Ge("month",3),Ue("day",1),Ue("hour",1),Ue("minute",1),Ue("second",1)])),yMdjm:We(Ze([Ue("year",1),Ue("month",1),Ue("day",1),Ue("hour",1),Ue("minute",1)])),yMMMMEEEEd:We(Ze([Ue("year",1),Ge("month",4),Ge("weekday",4),Ue("day",1)])),yMMMMd:We(Ze([Ue("year",1),Ge("month",4),Ue("day",1)])),yMMMd:We(Ze([Ue("year",1),Ge("month",3),Ue("day",1)])),yMd:We(Ze([Ue("year",1),Ue("month",1),Ue("day",1)])),jms:We(Ze([Ue("hour",1),Ue("second",1),Ue("minute",1)])),jm:We(Ze([Ue("hour",1),Ue("minute",1)]))},Le={yyyy:We(Ue("year",4)),yy:We(Ue("year",2)),y:We(Ue("year",1)),MMMM:We(Ge("month",4)),MMM:We(Ge("month",3)),MM:We(Ue("month",2)),M:We(Ue("month",1)),LLLL:We(Ge("month",4)),L:We(Ge("month",1)),dd:We(Ue("day",2)),d:We(Ue("day",1)),HH:je(Ve(We(Be(Ue("hour",2),!1)))),H:Ve(We(Be(Ue("hour",1),!1))),hh:je(Ve(We(Be(Ue("hour",2),!0)))),h:Ve(We(Be(Ue("hour",1),!0))),jj:We(Ue("hour",2)),j:We(Ue("hour",1)),mm:je(We(Ue("minute",2))),m:We(Ue("minute",1)),ss:je(We(Ue("second",2))),s:We(Ue("second",1)),sss:We(Ue("second",3)),EEEE:We(Ge("weekday",4)),EEE:We(Ge("weekday",3)),EE:We(Ge("weekday",2)),E:We(Ge("weekday",1)),a:function(e){return function(t,n){return e(t,n).split(" ")[1]}}(We(Be(Ue("hour",1),!0))),Z:He("short"),z:He("long"),ww:We({}),w:We({}),G:We(Ge("era",1)),GG:We(Ge("era",2)),GGG:We(Ge("era",3)),GGGG:We(Ge("era",4))};function je(e){return function(t,n){var r=e(t,n);return 1==r.length?"0"+r:r}}function Ve(e){return function(t,n){return e(t,n).split(" ")[0]}}function ze(e,t,n){return new Intl.DateTimeFormat(t,n).format(e).replace(/[\u200e\u200f]/g,"")}function He(e){var t={hour:"2-digit",hour12:!1,timeZoneName:e};return function(e,n){var r=ze(e,n,t);return r?r.substring(3):""}}function Be(e,t){return e.hour12=t,e}function Ue(e,t){return function(){var n={};return n[e]=2===t?"2-digit":"numeric",n}()}function Ge(e,t){var n={};return n[e]=t<4?t>1?"short":"narrow":"long",n}function Ze(e){return e.reduce(function(e,t){return Object(i.a)({},e,t)},{})}function We(e){return function(t,n){return ze(t,n,e)}}var qe=new Map,Ke=function(){function e(){}return e.format=function(e,t,n){return function(e,t,n){var r=Fe[e];if(r)return r(t,n);var i=e,o=qe.get(i);if(!o){o=[];var a=void 0;Re.exec(e);for(var s=e;s;)(a=Re.exec(s))?s=(o=o.concat(a.slice(1))).pop():(o.push(s),s=null);qe.set(i,o)}return o.reduce(function(e,r){var i=Le[r];return e+(i?i(t,n):function(e){return"''"===e?"'":e.replace(/(^'|'$)/g,"").replace(/''/g,"'")}(r))},"")}(n,e,t)},e}(),$e=function(){function e(e){this._locale=e}return e.prototype.transform=function(t,n){if(void 0===n&&(n="mediumDate"),null==t||""===t||t!=t)return null;var r;if("string"==typeof t&&(t=t.trim()),Qe(t))r=t;else if(isNaN(t-parseFloat(t)))if("string"==typeof t&&/^(\d{4}-\d{1,2}-\d{1,2})$/.test(t)){var i=t.split("-").map(function(e){return parseInt(e,10)});r=new Date(i[0],i[1]-1,i[2])}else r=new Date(t);else r=new Date(parseFloat(t));if(!Qe(r)){var o=void 0;if("string"!=typeof t||!(o=t.match(Te)))throw ke(e,t);r=De(o)}return Ke.format(r,this._locale,e._ALIASES[n]||n)},e._ALIASES={medium:"yMMMdjms",short:"yMdjm",fullDate:"yMMMMEEEEd",longDate:"yMMMMd",mediumDate:"yMMMd",shortDate:"yMd",mediumTime:"jms",shortTime:"jm"},e}();function Qe(e){return e instanceof Date&&!isNaN(e.valueOf())}var Ye=/^(\d+)?\.((\d+)(-(\d+))?)?$/,Je=22,Xe=".",et="0",tt=";",nt=",",rt="#",it="\xa4",ot="%";function at(e,t,n,r,i){void 0===i&&(i=null);var o,a={str:null},s=R(t,n);if("string"!=typeof e||isNaN(+e-parseFloat(e))){if("number"!=typeof e)return a.error=e+" is not a number",a;o=e}else o=+e;var l=function(e,t){void 0===t&&(t="-");var n={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},r=e.split(tt),i=r[0],o=r[1],a=-1!==i.indexOf(Xe)?i.split(Xe):[i.substring(0,i.lastIndexOf(et)+1),i.substring(i.lastIndexOf(et)+1)],s=a[0],l=a[1]||"";n.posPre=s.substr(0,s.indexOf(rt));for(var u=0;u-1&&(a=a.replace(Xe,"")),(r=a.search(/e/i))>0?(n<0&&(n=r),n+=+a.slice(r+1),a=a.substring(0,r)):n<0&&(n=a.length),r=0;a.charAt(r)===et;r++);if(r===(o=a.length))t=[0],n=1;else{for(o--;a.charAt(o)===et;)o--;for(n-=r,t=[],i=0;r<=o;r++,i++)t[i]=+a.charAt(r)}return n>Je&&(t=t.splice(0,Je-1),s=n-1,n=1),{digits:t,exponent:s,integerLen:n}}(o);n===m.Percent&&(p=function(e){if(0===e.digits[0])return e;var t=e.digits.length-e.integerLen;return e.exponent?e.exponent+=2:(0===t?e.digits.push(0,0):1===t&&e.digits.push(0),e.integerLen+=2),e}(p));var d=l.minInt,f=l.minFrac,h=l.maxFrac;if(r){var g=r.match(Ye);if(null===g)return a.error=r+" is not a valid digit info",a;var y=g[1],v=g[3],b=g[5];null!=y&&(d=st(y)),null!=v&&(f=st(v)),null!=b?h=st(b):null!=v&&f>h&&(h=f)}!function(e,t,n){if(t>n)throw new Error("The minimum number of digits after fraction ("+t+") is higher than the maximum ("+n+").");var r=e.digits,i=r.length-e.integerLen,o=Math.min(Math.max(t,i),n),a=o+e.integerLen,s=r[a];if(a>0){r.splice(Math.max(e.integerLen,a));for(var l=a;l=5)if(a-1<0){for(var c=0;c>a;c--)r.unshift(0),e.integerLen++;r.unshift(1),e.integerLen++}else r[a-1]++;for(;i=d?r.pop():p=!1),t>=10?1:0},0);f&&(r.unshift(f),e.integerLen++)}(p,f,h);var _=p.digits,w=p.integerLen,C=p.exponent,O=[];for(c=_.every(function(e){return!e});w0?O=_.splice(w,_.length):(O=_,_=[0]);var E=[];for(_.length>=l.lgSize&&E.unshift(_.splice(-l.lgSize,_.length).join(""));_.length>l.gSize;)E.unshift(_.splice(-l.gSize,_.length).join(""));_.length&&E.unshift(_.join("")),u=E.join(A(t,i?x.CurrencyGroup:x.Group)),O.length&&(u+=A(t,i?x.CurrencyDecimal:x.Decimal)+O.join("")),C&&(u+=A(t,x.Exponential)+"+"+C)}else u=A(t,x.Infinity);return u=o<0&&!c?l.negPre+u+l.negSuf:l.posPre+u+l.posSuf,n===m.Currency&&null!==i?(a.str=u.replace(it,i).replace(it,""),a):n===m.Percent?(a.str=u.replace(new RegExp(ot,"g"),A(t,x.PercentSign)),a):(a.str=u,a)}function st(e){var t=parseInt(e);if(isNaN(t))throw new Error("Invalid integer literal when parsing "+e);return t}function lt(e,t,n,r,i,o,a){if(void 0===o&&(o=null),void 0===a&&(a=!1),null==n)return null;if("number"!=typeof(n="string"!=typeof n||isNaN(+n-parseFloat(n))?n:+n))throw ke(e,n);var s,l,u;if(r!==m.Currency&&(s=1,l=0,u=3),i){var c=i.match(Ye);if(null===c)throw new Error(i+" is not a valid digit info for number pipes");null!=c[1]&&(s=st(c[1])),null!=c[3]&&(l=st(c[3])),null!=c[5]&&(u=st(c[5]))}return Ae.format(n,t,r,{minimumIntegerDigits:s,minimumFractionDigits:l,maximumFractionDigits:u,currency:o,currencyAsSymbol:a})}var ut=function(){function e(e){this._locale=e}return e.prototype.transform=function(t,n){return lt(e,this._locale,t,m.Decimal,n)},e}(),ct=function(){function e(e){this._locale=e}return e.prototype.transform=function(t,n){return lt(e,this._locale,t,m.Percent,n)},e}(),pt=function(){function e(e){this._locale=e}return e.prototype.transform=function(t,n,r,i){return void 0===n&&(n="USD"),void 0===r&&(r=!1),lt(e,this._locale,t,m.Currency,i,n,r)},e}(),dt=[ut,ct,pt,$e],ft=function(){function e(){}return e.prototype.createSubscription=function(e,t){return e.subscribe({next:t,error:function(e){throw e}})},e.prototype.dispose=function(e){e.unsubscribe()},e.prototype.onDestroy=function(e){e.unsubscribe()},e}(),ht=new(function(){function e(){}return e.prototype.createSubscription=function(e,t){return e.then(t,function(e){throw e})},e.prototype.dispose=function(e){},e.prototype.onDestroy=function(e){},e}()),gt=new ft,yt=function(){function e(e){this._ref=e,this._latestValue=null,this._latestReturnedValue=null,this._subscription=null,this._obj=null,this._strategy=null}return e.prototype.ngOnDestroy=function(){this._subscription&&this._dispose()},e.prototype.transform=function(e){return this._obj?e!==this._obj?(this._dispose(),this.transform(e)):this._latestValue===this._latestReturnedValue?this._latestReturnedValue:(this._latestReturnedValue=this._latestValue,r.WrappedValue.wrap(this._latestValue)):(e&&this._subscribe(e),this._latestReturnedValue=this._latestValue,this._latestValue)},e.prototype._subscribe=function(e){var t=this;this._obj=e,this._strategy=this._selectStrategy(e),this._subscription=this._strategy.createSubscription(e,function(n){return t._updateLatestValue(e,n)})},e.prototype._selectStrategy=function(t){if(Object(r["\u0275isPromise"])(t))return ht;if(Object(r["\u0275isObservable"])(t))return gt;throw ke(e,t)},e.prototype._dispose=function(){this._strategy.dispose(this._subscription),this._latestValue=null,this._latestReturnedValue=null,this._subscription=null,this._obj=null},e.prototype._updateLatestValue=function(e,t){e===this._obj&&(this._latestValue=t,this._ref.markForCheck())},e}(),mt=function(){function e(){}return e.prototype.transform=function(t){if(!t)return t;if("string"!=typeof t)throw ke(e,t);return t.toLowerCase()},e}(),vt=function(){function e(){}return e.prototype.transform=function(t){if(!t)return t;if("string"!=typeof t)throw ke(e,t);return t.split(/\b/g).map(function(e){return function(e){return e?e[0].toUpperCase()+e.substr(1).toLowerCase():e}(e)}).join("")},e}(),bt=function(){function e(){}return e.prototype.transform=function(t){if(!t)return t;if("string"!=typeof t)throw ke(e,t);return t.toUpperCase()},e}(),_t=/#/g,wt=function(){function e(e){this._localization=e}return e.prototype.transform=function(t,n,r){if(null==t)return"";if("object"!=typeof n||null===n)throw ke(e,n);return n[K(t,Object.keys(n),this._localization,r)].replace(_t,t.toString())},e}(),xt=function(){function e(){}return e.prototype.transform=function(t,n){if(null==t)return"";if("object"!=typeof n||"string"!=typeof t)throw ke(e,n);return n.hasOwnProperty(t)?n[t]:n.hasOwnProperty("other")?n.other:""},e}(),Ct=function(){function e(){}return e.prototype.transform=function(e){return JSON.stringify(e,null,2)},e}(),Ot=function(){function e(e){this._locale=e}return e.prototype.transform=function(t,n,r){if(St(t))return null;var i=at(t,r=r||this._locale,m.Decimal,n),o=i.str,a=i.error;if(a)throw ke(e,a);return o},e}(),Et=function(){function e(e){this._locale=e}return e.prototype.transform=function(t,n,r){if(St(t))return null;var i=at(t,r=r||this._locale,m.Percent,n),o=i.str,a=i.error;if(a)throw ke(e,a);return o},e}(),It=function(){function e(e){this._locale=e}return e.prototype.transform=function(t,n,r,i,o){if(void 0===r&&(r="symbol"),St(t))return null;o=o||this._locale,"boolean"==typeof r&&(console&&console.warn&&console.warn('Warning: the currency pipe has been changed in Angular v5. The symbolDisplay option (third parameter) is now a string instead of a boolean. The accepted values are "code", "symbol" or "symbol-narrow".'),r=r?"symbol":"code");var a=n||"USD";"code"!==r&&(a=Z(a,"symbol"===r?"wide":"narrow"));var s=at(t,o,m.Currency,i,a),l=s.str,u=s.error;if(u)throw ke(e,u);return l},e}();function St(e){return null==e||""===e||e!=e}var Pt=function(){function e(){}return e.prototype.transform=function(t,n,r){if(null==t)return t;if(!this.supports(t))throw ke(e,t);return t.slice(n,r)},e.prototype.supports=function(e){return"string"==typeof e||Array.isArray(e)},e}(),kt=[yt,bt,mt,Ct,Pt,Ot,Et,vt,It,Me,wt,xt],Tt=function(){},Mt=function(){},Dt=new r.InjectionToken("DocumentToken"),Nt="browser",At="server",Rt="browserWorkerApp",Ft="browserWorkerUi";function Lt(e){return e===Nt}function jt(e){return e===At}function Vt(e){return e===Rt}function zt(e){return e===Ft}var Ht=new r.Version("5.2.11")},YaPU:function(e,t,n){"use strict";var r=n("AMGY"),i=n("OVmG"),o=n("tLDX"),a=n("t7NR"),s=n("+CnV");n.d(t,"a",function(){return l});var l=function(){function e(e){this._isScalar=!1,e&&(this._subscribe=e)}return e.prototype.lift=function(t){var n=new e;return n.source=this,n.operator=t,n},e.prototype.subscribe=function(e,t,n){var r=this.operator,s=function(e,t,n){if(e){if(e instanceof i.a)return e;if(e[o.a])return e[o.a]()}return e||t||n?new i.a(e,t,n):new i.a(a.a)}(e,t,n);if(r?r.call(s,this.source):s.add(this.source||!s.syncErrorThrowable?this._subscribe(s):this._trySubscribe(s)),s.syncErrorThrowable&&(s.syncErrorThrowable=!1,s.syncErrorThrown))throw s.syncErrorValue;return s},e.prototype._trySubscribe=function(e){try{return this._subscribe(e)}catch(t){e.syncErrorThrown=!0,e.syncErrorValue=t,e.error(t)}},e.prototype.forEach=function(e,t){var n=this;if(t||(r.a.Rx&&r.a.Rx.config&&r.a.Rx.config.Promise?t=r.a.Rx.config.Promise:r.a.Promise&&(t=r.a.Promise)),!t)throw new Error("no Promise impl found");return new t(function(t,r){var i;i=n.subscribe(function(t){if(i)try{e(t)}catch(e){r(e),i.unsubscribe()}else e(t)},r,t)})},e.prototype._subscribe=function(e){return this.source.subscribe(e)},e.prototype[s.a]=function(){return this},e.prototype.pipe=function(){for(var e=[],t=0;t .active[_ngcontent-%COMP%] > a[_ngcontent-%COMP%], .navbar-default[_ngcontent-%COMP%] .navbar-nav[_ngcontent-%COMP%] > .active[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]:focus, .navbar-default[_ngcontent-%COMP%] .navbar-nav[_ngcontent-%COMP%] > .active[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]:hover{background:#000;font-weight:700;color:#fff}.navbar-default[_ngcontent-%COMP%] .navbar-nav[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]{color:#d8d8d8}.navbar-default[_ngcontent-%COMP%] .navbar-brand[_ngcontent-%COMP%]{font-weight:700;color:#fff;font-size:18pt}"]],data:{}});function l(e){return r["\u0275vid"](0,[(e()(),r["\u0275eld"](0,0,null,null,40,"nav",[["class","navbar navbar-default"]],null,null,null,null,null)),(e()(),r["\u0275ted"](-1,null,["\n "])),(e()(),r["\u0275ted"](-1,null,["\n "])),(e()(),r["\u0275eld"](3,0,null,null,35,"div",[["class","container"]],null,null,null,null,null)),(e()(),r["\u0275ted"](-1,null,["\n\n "])),(e()(),r["\u0275eld"](5,0,null,null,5,"div",[["class","navbar-header"]],null,null,null,null,null)),(e()(),r["\u0275ted"](-1,null,["\n "])),(e()(),r["\u0275ted"](-1,null,["\n "])),(e()(),r["\u0275eld"](8,0,null,null,1,"a",[["class","navbar-brand"],["href","#"]],null,null,null,null,null)),(e()(),r["\u0275ted"](-1,null,["Safe Eyes"])),(e()(),r["\u0275ted"](-1,null,["\n "])),(e()(),r["\u0275ted"](-1,null,["\n\n "])),(e()(),r["\u0275eld"](12,0,null,null,25,"div",[["class","collapse navbar-collapse"]],null,null,null,null,null)),(e()(),r["\u0275ted"](-1,null,["\n "])),(e()(),r["\u0275eld"](14,0,null,null,22,"ul",[["class","nav navbar-nav"]],null,null,null,null,null)),(e()(),r["\u0275ted"](-1,null,["\n "])),(e()(),r["\u0275ted"](-1,null,["\n "])),(e()(),r["\u0275eld"](17,0,null,null,2,"li",[["class","active pull-left"]],null,null,null,null,null)),(e()(),r["\u0275eld"](18,0,null,null,1,"a",[["href","#"]],null,null,null,null,null)),(e()(),r["\u0275ted"](-1,null,["Home"])),(e()(),r["\u0275ted"](-1,null,["\n "])),(e()(),r["\u0275eld"](21,0,null,null,2,"li",[],null,null,null,null,null)),(e()(),r["\u0275eld"](22,0,null,null,1,"a",[["href","#installation"]],null,null,null,null,null)),(e()(),r["\u0275ted"](-1,null,["Installation"])),(e()(),r["\u0275ted"](-1,null,["\n "])),(e()(),r["\u0275eld"](25,0,null,null,2,"li",[],null,null,null,null,null)),(e()(),r["\u0275eld"](26,0,null,null,1,"a",[["href","#features"]],null,null,null,null,null)),(e()(),r["\u0275ted"](-1,null,["Features"])),(e()(),r["\u0275ted"](-1,null,["\n "])),(e()(),r["\u0275eld"](29,0,null,null,2,"li",[],null,null,null,null,null)),(e()(),r["\u0275eld"](30,0,null,null,1,"a",[["href","#contribute"]],null,null,null,null,null)),(e()(),r["\u0275ted"](-1,null,["Contribute"])),(e()(),r["\u0275ted"](-1,null,["\n "])),(e()(),r["\u0275eld"](33,0,null,null,2,"li",[["class","social pull-right"]],null,null,null,null,null)),(e()(),r["\u0275eld"](34,0,null,null,1,"a",[["href","https://github.com/slgobinath/SafeEyes/"]],null,null,null,null,null)),(e()(),r["\u0275ted"](-1,null,["Source"])),(e()(),r["\u0275ted"](-1,null,["\n "])),(e()(),r["\u0275ted"](-1,null,["\n "])),(e()(),r["\u0275ted"](-1,null,["\n "])),(e()(),r["\u0275ted"](-1,null,["\n "])),(e()(),r["\u0275ted"](-1,null,["\n"])),(e()(),r["\u0275ted"](-1,null,["\n"]))],null,null)}var u=function(){function e(){}return e.prototype.ngOnInit=function(){},e}(),c=r["\u0275crt"]({encapsulation:0,styles:[["h1[_ngcontent-%COMP%]{font-family:Roboto;font-size:36pt}p[_ngcontent-%COMP%]{font-size:18pt;margin-top:30px;text-align:justify;font-family:Raleway,Arial,sans-serif}.row[_ngcontent-%COMP%]{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap}.row[_ngcontent-%COMP%] > [class*=col-][_ngcontent-%COMP%]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-ms-flex-item-align:center;align-self:center}.row[_ngcontent-%COMP%] > [class*=col-][_ngcontent-%COMP%] img[_ngcontent-%COMP%]{-ms-flex-item-align:center;-ms-grid-row-align:center;align-self:center}"]],data:{}});function p(e){return r["\u0275vid"](0,[(e()(),r["\u0275eld"](0,0,null,null,19,"div",[["class","d-flex justify-content-between"]],null,null,null,null,null)),(e()(),r["\u0275ted"](-1,null,["\n "])),(e()(),r["\u0275eld"](2,0,null,null,16,"div",[["class","p-1"]],null,null,null,null,null)),(e()(),r["\u0275ted"](-1,null,["\n "])),(e()(),r["\u0275eld"](4,0,null,null,13,"div",[["class","row"]],null,null,null,null,null)),(e()(),r["\u0275ted"](-1,null,["\n "])),(e()(),r["\u0275eld"](6,0,null,null,1,"div",[["class","col-sm-2"]],null,null,null,null,null)),(e()(),r["\u0275eld"](7,0,null,null,0,"img",[["src","assets/images/safeeyes.png"],["width","128"]],null,null,null,null,null)),(e()(),r["\u0275ted"](-1,null,["\n "])),(e()(),r["\u0275eld"](9,0,null,null,7,"div",[["class","col-sm-8"]],null,null,null,null,null)),(e()(),r["\u0275ted"](-1,null,["\n "])),(e()(),r["\u0275eld"](11,0,null,null,1,"h1",[["id","title"]],null,null,null,null,null)),(e()(),r["\u0275ted"](-1,null,["\n Safe Eyes\n "])),(e()(),r["\u0275ted"](-1,null,["\n "])),(e()(),r["\u0275eld"](14,0,null,null,1,"p",[],null,null,null,null,null)),(e()(),r["\u0275ted"](-1,null,["Safe Eyes is a Free and Open Source tool for Linux users to reduce and prevent repetitive strain injury (RSI)."])),(e()(),r["\u0275ted"](-1,null,["\n "])),(e()(),r["\u0275ted"](-1,null,["\n "])),(e()(),r["\u0275ted"](-1,null,["\n "])),(e()(),r["\u0275ted"](-1,null,["\n"]))],null,null)}var d=n("1PhI"),f=n("Xjw4"),h=n("OE0E"),g=r["\u0275crt"]({encapsulation:0,styles:["[_nghost-%COMP%] { display: inline-block; } [_nghost-%COMP%] > *[_ngcontent-%COMP%] { float: left; } [_nghost-%COMP%] * { box-sizing: border-box; } [_nghost-%COMP%] .ngx-gallery-icon { color: white; font-size: 25px; position: absolute; z-index: 2000; display: inline-block; } [_nghost-%COMP%] .ngx-gallery-icon .ngx-gallery-icon-content { display: block; } [_nghost-%COMP%] .ngx-gallery-clickable { cursor: pointer; } [_nghost-%COMP%] .ngx-gallery-icons-wrapper .ngx-gallery-icon { position: relative; margin-right: 5px; margin-top: 5px; font-size: 20px; cursor: pointer; } [_nghost-%COMP%] .ngx-gallery-icons-wrapper { float: right; } [_nghost-%COMP%] .ngx-gallery-layout[_ngcontent-%COMP%] { width: 100%; height: 100%; display: flex; flex-direction: column; } [_nghost-%COMP%] .ngx-gallery-layout.thumbnails-top[_ngcontent-%COMP%] ngx-gallery-image[_ngcontent-%COMP%] { order: 2; } [_nghost-%COMP%] .ngx-gallery-layout.thumbnails-top[_ngcontent-%COMP%] ngx-gallery-thumbnails[_ngcontent-%COMP%] { order: 1; } [_nghost-%COMP%] .ngx-gallery-layout.thumbnails-bottom[_ngcontent-%COMP%] ngx-gallery-image[_ngcontent-%COMP%] { order: 1; } [_nghost-%COMP%] .ngx-gallery-layout.thumbnails-bottom[_ngcontent-%COMP%] ngx-gallery-thumbnails[_ngcontent-%COMP%] { order: 2; }"],data:{}});function y(e){return r["\u0275vid"](0,[(e()(),r["\u0275eld"](0,0,null,null,1,"ngx-gallery-image",[],[[4,"height",null]],[[null,"onClick"],[null,"onActiveChange"],[null,"mouseenter"],[null,"mouseleave"]],function(e,t,n){var i=!0,o=e.component;return"mouseenter"===t&&(i=!1!==r["\u0275nov"](e,1).onMouseEnter()&&i),"mouseleave"===t&&(i=!1!==r["\u0275nov"](e,1).onMouseLeave()&&i),"onClick"===t&&(i=!1!==o.openPreview(n)&&i),"onActiveChange"===t&&(i=!1!==o.selectFromImage(n)&&i),i},I,w)),r["\u0275did"](1,638976,[[2,4]],0,d.NgxGalleryImageComponent,[h.DomSanitizer,r.ElementRef,d.NgxGalleryHelperService],{images:[0,"images"],clickable:[1,"clickable"],selectedIndex:[2,"selectedIndex"],arrows:[3,"arrows"],arrowsAutoHide:[4,"arrowsAutoHide"],swipe:[5,"swipe"],animation:[6,"animation"],size:[7,"size"],arrowPrevIcon:[8,"arrowPrevIcon"],arrowNextIcon:[9,"arrowNextIcon"],autoPlay:[10,"autoPlay"],autoPlayInterval:[11,"autoPlayInterval"],autoPlayPauseOnHover:[12,"autoPlayPauseOnHover"],infinityMove:[13,"infinityMove"],lazyLoading:[14,"lazyLoading"],actions:[15,"actions"],descriptions:[16,"descriptions"],showDescription:[17,"showDescription"]},{onClick:"onClick",onActiveChange:"onActiveChange"})],function(e,t){var n=t.component;e(t,1,1,[n.mediumImages,null==n.currentOptions?null:n.currentOptions.preview,n.selectedIndex,null==n.currentOptions?null:n.currentOptions.imageArrows,null==n.currentOptions?null:n.currentOptions.imageArrowsAutoHide,null==n.currentOptions?null:n.currentOptions.imageSwipe,null==n.currentOptions?null:n.currentOptions.imageAnimation,null==n.currentOptions?null:n.currentOptions.imageSize,null==n.currentOptions?null:n.currentOptions.arrowPrevIcon,null==n.currentOptions?null:n.currentOptions.arrowNextIcon,null==n.currentOptions?null:n.currentOptions.imageAutoPlay,null==n.currentOptions?null:n.currentOptions.imageAutoPlayInterval,null==n.currentOptions?null:n.currentOptions.imageAutoPlayPauseOnHover,null==n.currentOptions?null:n.currentOptions.imageInfinityMove,null==n.currentOptions?null:n.currentOptions.lazyLoading,null==n.currentOptions?null:n.currentOptions.imageActions,n.descriptions,null==n.currentOptions?null:n.currentOptions.imageDescription])},function(e,t){e(t,0,0,t.component.getImageHeight())})}function m(e){return r["\u0275vid"](0,[(e()(),r["\u0275eld"](0,0,null,null,1,"ngx-gallery-thumbnails",[],[[4,"marginTop",null],[4,"marginBottom",null],[4,"height",null]],[[null,"onActiveChange"],[null,"mouseenter"],[null,"mouseleave"]],function(e,t,n){var i=!0,o=e.component;return"mouseenter"===t&&(i=!1!==r["\u0275nov"](e,1).onMouseEnter()&&i),"mouseleave"===t&&(i=!1!==r["\u0275nov"](e,1).onMouseLeave()&&i),"onActiveChange"===t&&(i=!1!==o.selectFromThumbnails(n)&&i),i},D,S)),r["\u0275did"](1,573440,[[3,4]],0,d.NgxGalleryThumbnailsComponent,[h.DomSanitizer,r.ElementRef,d.NgxGalleryHelperService],{images:[0,"images"],links:[1,"links"],linkTarget:[2,"linkTarget"],columns:[3,"columns"],rows:[4,"rows"],arrows:[5,"arrows"],arrowsAutoHide:[6,"arrowsAutoHide"],margin:[7,"margin"],selectedIndex:[8,"selectedIndex"],clickable:[9,"clickable"],swipe:[10,"swipe"],size:[11,"size"],arrowPrevIcon:[12,"arrowPrevIcon"],arrowNextIcon:[13,"arrowNextIcon"],moveSize:[14,"moveSize"],order:[15,"order"],remainingCount:[16,"remainingCount"],lazyLoading:[17,"lazyLoading"],actions:[18,"actions"]},{onActiveChange:"onActiveChange"})],function(e,t){var n=t.component;e(t,1,1,[n.smallImages,null!=n.currentOptions&&n.currentOptions.thumbnailsAsLinks?n.links:r["\u0275EMPTY_ARRAY"],null==n.currentOptions?null:n.currentOptions.linkTarget,null==n.currentOptions?null:n.currentOptions.thumbnailsColumns,null==n.currentOptions?null:n.currentOptions.thumbnailsRows,null==n.currentOptions?null:n.currentOptions.thumbnailsArrows,null==n.currentOptions?null:n.currentOptions.thumbnailsArrowsAutoHide,null==n.currentOptions?null:n.currentOptions.thumbnailMargin,n.selectedIndex,(null==n.currentOptions?null:n.currentOptions.image)||(null==n.currentOptions?null:n.currentOptions.preview),null==n.currentOptions?null:n.currentOptions.thumbnailsSwipe,null==n.currentOptions?null:n.currentOptions.thumbnailSize,null==n.currentOptions?null:n.currentOptions.arrowPrevIcon,null==n.currentOptions?null:n.currentOptions.arrowNextIcon,null==n.currentOptions?null:n.currentOptions.thumbnailsMoveSize,null==n.currentOptions?null:n.currentOptions.thumbnailsOrder,null==n.currentOptions?null:n.currentOptions.thumbnailsRemainingCount,null==n.currentOptions?null:n.currentOptions.lazyLoading,null==n.currentOptions?null:n.currentOptions.thumbnailActions])},function(e,t){var n=t.component;e(t,0,0,n.getThumbnailsMarginTop(),n.getThumbnailsMarginBottom(),n.getThumbnailsHeight())})}function v(e){return r["\u0275vid"](0,[r["\u0275qud"](402653184,1,{preview:0}),r["\u0275qud"](671088640,2,{image:0}),r["\u0275qud"](671088640,3,{thubmnails:0}),(e()(),r["\u0275ted"](-1,null,["\n "])),(e()(),r["\u0275eld"](4,0,null,null,10,"div",[],[[8,"className",0]],null,null,null,null)),(e()(),r["\u0275ted"](-1,null,["\n "])),(e()(),r["\u0275and"](16777216,null,null,1,null,y)),r["\u0275did"](7,16384,null,0,f.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),r["\u0275ted"](-1,null,["\n\n "])),(e()(),r["\u0275and"](16777216,null,null,1,null,m)),r["\u0275did"](10,16384,null,0,f.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),r["\u0275ted"](-1,null,["\n\n "])),(e()(),r["\u0275eld"](12,0,null,null,1,"ngx-gallery-preview",[],[[2,"ngx-gallery-active",null]],[[null,"onClose"],[null,"onOpen"],[null,"onActiveChange"],["window","keydown"]],function(e,t,n){var i=!0,o=e.component;return"window:keydown"===t&&(i=!1!==r["\u0275nov"](e,13).onKeyDown(n)&&i),"onClose"===t&&(i=!1!==o.onPreviewClose()&&i),"onOpen"===t&&(i=!1!==o.onPreviewOpen()&&i),"onActiveChange"===t&&(i=!1!==o.previewSelect(n)&&i),i},B,N)),r["\u0275did"](13,573440,[[1,4]],0,d.NgxGalleryPreviewComponent,[h.DomSanitizer,r.ElementRef,d.NgxGalleryHelperService],{images:[0,"images"],descriptions:[1,"descriptions"],showDescription:[2,"showDescription"],swipe:[3,"swipe"],fullscreen:[4,"fullscreen"],forceFullscreen:[5,"forceFullscreen"],closeOnClick:[6,"closeOnClick"],closeOnEsc:[7,"closeOnEsc"],keyboardNavigation:[8,"keyboardNavigation"],arrowPrevIcon:[9,"arrowPrevIcon"],arrowNextIcon:[10,"arrowNextIcon"],closeIcon:[11,"closeIcon"],fullscreenIcon:[12,"fullscreenIcon"],spinnerIcon:[13,"spinnerIcon"],autoPlay:[14,"autoPlay"],autoPlayInterval:[15,"autoPlayInterval"],autoPlayPauseOnHover:[16,"autoPlayPauseOnHover"],infinityMove:[17,"infinityMove"],zoom:[18,"zoom"],zoomStep:[19,"zoomStep"],zoomMax:[20,"zoomMax"],zoomMin:[21,"zoomMin"],zoomInIcon:[22,"zoomInIcon"],zoomOutIcon:[23,"zoomOutIcon"],animation:[24,"animation"],actions:[25,"actions"],rotate:[26,"rotate"],rotateLeftIcon:[27,"rotateLeftIcon"],rotateRightIcon:[28,"rotateRightIcon"]},{onOpen:"onOpen",onClose:"onClose",onActiveChange:"onActiveChange"}),(e()(),r["\u0275ted"](-1,null,["\n "])),(e()(),r["\u0275ted"](-1,null,["\n "]))],function(e,t){var n=t.component;e(t,7,0,null==n.currentOptions?null:n.currentOptions.image),e(t,10,0,null==n.currentOptions?null:n.currentOptions.thumbnails),e(t,13,1,[n.bigImages,n.descriptions,null==n.currentOptions?null:n.currentOptions.previewDescription,null==n.currentOptions?null:n.currentOptions.previewSwipe,null==n.currentOptions?null:n.currentOptions.previewFullscreen,null==n.currentOptions?null:n.currentOptions.previewForceFullscreen,null==n.currentOptions?null:n.currentOptions.previewCloseOnClick,null==n.currentOptions?null:n.currentOptions.previewCloseOnEsc,null==n.currentOptions?null:n.currentOptions.previewKeyboardNavigation,null==n.currentOptions?null:n.currentOptions.arrowPrevIcon,null==n.currentOptions?null:n.currentOptions.arrowNextIcon,null==n.currentOptions?null:n.currentOptions.closeIcon,null==n.currentOptions?null:n.currentOptions.fullscreenIcon,null==n.currentOptions?null:n.currentOptions.spinnerIcon,null==n.currentOptions?null:n.currentOptions.previewAutoPlay,null==n.currentOptions?null:n.currentOptions.previewAutoPlayInterval,null==n.currentOptions?null:n.currentOptions.previewAutoPlayPauseOnHover,null==n.currentOptions?null:n.currentOptions.previewInfinityMove,null==n.currentOptions?null:n.currentOptions.previewZoom,null==n.currentOptions?null:n.currentOptions.previewZoomStep,null==n.currentOptions?null:n.currentOptions.previewZoomMax,null==n.currentOptions?null:n.currentOptions.previewZoomMin,null==n.currentOptions?null:n.currentOptions.zoomInIcon,null==n.currentOptions?null:n.currentOptions.zoomOutIcon,null==n.currentOptions?null:n.currentOptions.previewAnimation,null==n.currentOptions?null:n.currentOptions.actions,null==n.currentOptions?null:n.currentOptions.previewRotate,null==n.currentOptions?null:n.currentOptions.rotateLeftIcon,null==n.currentOptions?null:n.currentOptions.rotateRightIcon])},function(e,t){var n=t.component;e(t,4,0,r["\u0275inlineInterpolate"](1,"ngx-gallery-layout ",null==n.currentOptions?null:n.currentOptions.layout,"")),e(t,12,0,n.previewEnabled)})}var b=r["\u0275crt"]({encapsulation:2,styles:[],data:{}});function _(e){return r["\u0275vid"](2,[(e()(),r["\u0275ted"](-1,null,["\n "])),(e()(),r["\u0275eld"](1,0,null,null,3,"div",[["aria-hidden","true"],["class","ngx-gallery-icon"]],[[2,"ngx-gallery-icon-disabled",null],[8,"title",0]],[[null,"click"]],function(e,t,n){var r=!0;return"click"===t&&(r=!1!==e.component.handleClick(n)&&r),r},null,null)),(e()(),r["\u0275ted"](-1,null,["\n "])),(e()(),r["\u0275eld"](3,0,null,null,0,"i",[],[[8,"className",0]],null,null,null,null)),(e()(),r["\u0275ted"](-1,null,["\n "]))],null,function(e,t){var n=t.component;e(t,1,0,n.disabled,r["\u0275inlineInterpolate"](1,"",n.titleText,"")),e(t,3,0,r["\u0275inlineInterpolate"](1,"ngx-gallery-icon-content ",n.icon,""))})}var w=r["\u0275crt"]({encapsulation:0,styles:["[_nghost-%COMP%] { width: 100%; display: inline-block; position: relative; } .ngx-gallery-image-wrapper[_ngcontent-%COMP%] { width: 100%; height: 100%; position: absolute; left: 0px; top: 0px; overflow: hidden; } .ngx-gallery-image[_ngcontent-%COMP%] { background-position: center; background-repeat: no-repeat; height: 100%; width: 100%; position: absolute; top: 0px; } .ngx-gallery-image.ngx-gallery-active[_ngcontent-%COMP%] { z-index: 1000; } .ngx-gallery-image-size-cover[_ngcontent-%COMP%] .ngx-gallery-image[_ngcontent-%COMP%] { background-size: cover; } .ngx-gallery-image-size-contain[_ngcontent-%COMP%] .ngx-gallery-image[_ngcontent-%COMP%] { background-size: contain; } .ngx-gallery-animation-fade[_ngcontent-%COMP%] .ngx-gallery-image[_ngcontent-%COMP%] { left: 0px; opacity: 0; transition: 0.5s ease-in-out; } .ngx-gallery-animation-fade[_ngcontent-%COMP%] .ngx-gallery-image.ngx-gallery-active[_ngcontent-%COMP%] { opacity: 1; } .ngx-gallery-animation-slide[_ngcontent-%COMP%] .ngx-gallery-image[_ngcontent-%COMP%] { transition: 0.5s ease-in-out; } .ngx-gallery-animation-slide[_ngcontent-%COMP%] .ngx-gallery-image.ngx-gallery-active[_ngcontent-%COMP%] { left: 0px; } .ngx-gallery-animation-slide[_ngcontent-%COMP%] .ngx-gallery-image.ngx-gallery-inactive-left[_ngcontent-%COMP%] { left: -100%; } .ngx-gallery-animation-slide[_ngcontent-%COMP%] .ngx-gallery-image.ngx-gallery-inactive-right[_ngcontent-%COMP%] { left: 100%; } .ngx-gallery-animation-rotate[_ngcontent-%COMP%] .ngx-gallery-image[_ngcontent-%COMP%] { transition: 1s ease; transform: scale(3.5, 3.5) rotate(90deg); left: 0px; opacity: 0; } .ngx-gallery-animation-rotate[_ngcontent-%COMP%] .ngx-gallery-image.ngx-gallery-active[_ngcontent-%COMP%] { transform: scale(1, 1) rotate(0deg); opacity: 1; } .ngx-gallery-animation-zoom[_ngcontent-%COMP%] .ngx-gallery-image[_ngcontent-%COMP%] { transition: 1s ease; transform: scale(2.5, 2.5); left: 0px; opacity: 0; } .ngx-gallery-animation-zoom[_ngcontent-%COMP%] .ngx-gallery-image.ngx-gallery-active[_ngcontent-%COMP%] { transform: scale(1, 1); opacity: 1; } .ngx-gallery-image-text[_ngcontent-%COMP%] { width: 100%; background: rgba(0, 0, 0, 0.7); padding: 10px; text-align: center; color: white; font-size: 16px; position: absolute; bottom: 0px; z-index: 10; }"],data:{}});function x(e){return r["\u0275vid"](0,[(e()(),r["\u0275eld"](0,0,null,null,1,"ngx-gallery-action",[],null,[[null,"onClick"]],function(e,t,n){var r=!0;return"onClick"===t&&(r=!1!==e.context.$implicit.onClick(n,e.parent.context.$implicit.index)&&r),r},_,b)),r["\u0275did"](1,49152,null,0,d.NgxGalleryActionComponent,[],{icon:[0,"icon"],disabled:[1,"disabled"],titleText:[2,"titleText"]},{onClick:"onClick"})],function(e,t){e(t,1,0,t.context.$implicit.icon,t.context.$implicit.disabled,t.context.$implicit.titleText)},null)}function C(e){return r["\u0275vid"](0,[(e()(),r["\u0275eld"](0,0,null,null,0,"div",[["class","ngx-gallery-image-text"]],[[8,"innerHTML",1]],null,null,null,null))],null,function(e,t){e(t,0,0,t.component.descriptions[t.parent.context.$implicit.index])})}function O(e){return r["\u0275vid"](0,[(e()(),r["\u0275eld"](0,0,null,null,12,"div",[["class","ngx-gallery-image"]],[[4,"background-image",null]],[[null,"click"]],function(e,t,n){var r=!0;return"click"===t&&(r=!1!==e.component.handleClick(n,e.context.$implicit.index)&&r),r},null,null)),r["\u0275did"](1,278528,null,0,f.NgClass,[r.IterableDiffers,r.KeyValueDiffers,r.ElementRef,r.Renderer2],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),r["\u0275pod"](2,{"ngx-gallery-active":0,"ngx-gallery-inactive-left":1,"ngx-gallery-inactive-right":2,"ngx-gallery-clickable":3}),(e()(),r["\u0275ted"](-1,null,["\n "])),(e()(),r["\u0275eld"](4,0,null,null,4,"div",[["class","ngx-gallery-icons-wrapper"]],null,null,null,null,null)),(e()(),r["\u0275ted"](-1,null,["\n "])),(e()(),r["\u0275and"](16777216,null,null,1,null,x)),r["\u0275did"](7,802816,null,0,f.NgForOf,[r.ViewContainerRef,r.TemplateRef,r.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(e()(),r["\u0275ted"](-1,null,["\n "])),(e()(),r["\u0275ted"](-1,null,["\n "])),(e()(),r["\u0275and"](16777216,null,null,1,null,C)),r["\u0275did"](11,16384,null,0,f.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),r["\u0275ted"](-1,null,["\n "]))],function(e,t){var n=t.component;e(t,1,0,"ngx-gallery-image",e(t,2,0,n.selectedIndex==t.context.$implicit.index,n.selectedIndex>t.context.$implicit.index,n.selectedIndex0?this._ngZone.runOutsideAngular(function(){var t,n;e._debouncer.pipe((t=e.debounce,void 0===n&&(n=ne),function(e){return e.lift(new re(t,n))})).subscribe(function(t){return e.event.emit(t)})}):this._debouncer.subscribe(function(t){return e.event.emit(t)}),this._observer=this._ngZone.runOutsideAngular(function(){return e._mutationObserverFactory.create(function(t){e._debouncer.next(t)})}),this.disabled||this._enable()},e.prototype.ngOnChanges=function(e){e.disabled&&(e.disabled.currentValue?this._disable():this._enable())},e.prototype.ngOnDestroy=function(){this._disable(),this._debouncer.complete()},e.prototype._disable=function(){this._observer&&this._observer.disconnect()},e.prototype._enable=function(){this._observer&&this._observer.observe(this._elementRef.nativeElement,{characterData:!0,childList:!0,subtree:!0})},e}(),le=function(){};function ue(){throw Error("Host already has a portal attached")}var ce,pe=function(){function e(){}return e.prototype.attach=function(e){return null==e&&function(){throw Error("Attempting to attach a portal to a null PortalOutlet")}(),e.hasAttached()&&ue(),this._attachedHost=e,e.attach(this)},e.prototype.detach=function(){var e=this._attachedHost;null==e?function(){throw Error("Attempting to detach a portal that is not attached to a host")}():(this._attachedHost=null,e.detach())},Object.defineProperty(e.prototype,"isAttached",{get:function(){return null!=this._attachedHost},enumerable:!0,configurable:!0}),e.prototype.setAttachedHost=function(e){this._attachedHost=e},e}(),de=function(e){function t(t,n,r){var i=e.call(this)||this;return i.component=t,i.viewContainerRef=n,i.injector=r,i}return Object(Y.b)(t,e),t}(pe),fe=function(e){function t(t,n,r){var i=e.call(this)||this;return i.templateRef=t,i.viewContainerRef=n,i.context=r,i}return Object(Y.b)(t,e),Object.defineProperty(t.prototype,"origin",{get:function(){return this.templateRef.elementRef},enumerable:!0,configurable:!0}),t.prototype.attach=function(t,n){return void 0===n&&(n=this.context),this.context=n,e.prototype.attach.call(this,t)},t.prototype.detach=function(){return this.context=void 0,e.prototype.detach.call(this)},t}(pe),he=function(e){function t(t,n){var i=e.call(this)||this;return i._componentFactoryResolver=t,i._viewContainerRef=n,i._isInitialized=!1,i.attached=new r.EventEmitter,i}return Object(Y.b)(t,e),Object.defineProperty(t.prototype,"_deprecatedPortal",{get:function(){return this.portal},set:function(e){this.portal=e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_deprecatedPortalHost",{get:function(){return this.portal},set:function(e){this.portal=e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"portal",{get:function(){return this._attachedPortal},set:function(t){(!this.hasAttached()||t||this._isInitialized)&&(this.hasAttached()&&e.prototype.detach.call(this),t&&e.prototype.attach.call(this,t),this._attachedPortal=t)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"attachedRef",{get:function(){return this._attachedRef},enumerable:!0,configurable:!0}),t.prototype.ngOnInit=function(){this._isInitialized=!0},t.prototype.ngOnDestroy=function(){e.prototype.dispose.call(this),this._attachedPortal=null,this._attachedRef=null},t.prototype.attachComponentPortal=function(t){t.setAttachedHost(this);var n=null!=t.viewContainerRef?t.viewContainerRef:this._viewContainerRef,r=this._componentFactoryResolver.resolveComponentFactory(t.component),i=n.createComponent(r,n.length,t.injector||n.parentInjector);return e.prototype.setDisposeFn.call(this,function(){return i.destroy()}),this._attachedPortal=t,this._attachedRef=i,this.attached.emit(i),i},t.prototype.attachTemplatePortal=function(t){var n=this;t.setAttachedHost(this);var r=this._viewContainerRef.createEmbeddedView(t.templateRef,t.context);return e.prototype.setDisposeFn.call(this,function(){return n._viewContainerRef.clear()}),this._attachedPortal=t,this._attachedRef=r,this.attached.emit(r),r},t}(function(){function e(){this._isDisposed=!1}return e.prototype.hasAttached=function(){return!!this._attachedPortal},e.prototype.attach=function(e){return e||function(){throw Error("Must provide a portal to attach")}(),this.hasAttached()&&ue(),this._isDisposed&&function(){throw Error("This PortalOutlet has already been disposed")}(),e instanceof de?(this._attachedPortal=e,this.attachComponentPortal(e)):e instanceof fe?(this._attachedPortal=e,this.attachTemplatePortal(e)):void function(){throw Error("Attempting to attach an unknown Portal type. BasePortalOutlet accepts either a ComponentPortal or a TemplatePortal.")}()},e.prototype.detach=function(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()},e.prototype.dispose=function(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0},e.prototype.setDisposeFn=function(e){this._disposeFn=e},e.prototype._invokeDisposeFn=function(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)},e}()),ge=function(){},ye="undefined"!=typeof Intl&&Intl.v8BreakIterator,me=function(){return function(){this.isBrowser="object"==typeof document&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!(!window.chrome&&!ye)&&"undefined"!=typeof CSS&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream,this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}}(),ve=function(){},be=n("YaPU"),_e=n("Veqx").a.of,we=n("GK6M"),xe=n("/iUD"),Ce=n("fKB6"),Oe=Object.prototype.toString,Ee=function(e){function t(t,n,r,i){e.call(this),this.sourceObj=t,this.eventName=n,this.selector=r,this.options=i}return Object(Y.b)(t,e),t.create=function(e,n,r,i){return Object(xe.a)(r)&&(i=r,r=void 0),new t(e,n,i,r)},t.setupSubscription=function(e,n,r,i,o){var a;if(function(e){return!!e&&"[object NodeList]"===Oe.call(e)}(e)||function(e){return!!e&&"[object HTMLCollection]"===Oe.call(e)}(e))for(var s=0,l=e.length;s=0?this.period=Number(n)<1?1:Number(n):Object(Me.a)(n)&&(r=n),Object(Me.a)(r)||(r=ne),this.scheduler=r,this.dueTime=(o=t)instanceof Date&&!isNaN(+o)?+t-this.scheduler.now():t}return Object(Y.b)(t,e),t.create=function(e,n,r){return void 0===e&&(e=0),new t(e,n,r)},t.dispatch=function(e){var t=e.index,n=e.period,r=e.subscriber;if(r.next(t),!r.closed){if(-1===n)return r.complete();e.index=t+1,this.schedule(e,n)}},t.prototype._subscribe=function(e){return this.scheduler.schedule(t.dispatch,this.dueTime,{index:0,period:this.period,subscriber:e})},t}(be.a).create;function Ne(e,t){return void 0===t&&(t=ne),n=function(){return De(e,t)},function(e){return e.lift(new Pe(n))};var n}var Ae=function(){function e(e,t){this.predicate=e,this.thisArg=t}return e.prototype.call=function(e,t){return t.subscribe(new Re(e,this.predicate,this.thisArg))},e}(),Re=function(e){function t(t,n,r){e.call(this,t),this.predicate=n,this.thisArg=r,this.count=0}return Object(Y.b)(t,e),t.prototype._next=function(e){var t;try{t=this.predicate.call(this.thisArg,e,this.count++)}catch(e){return void this.destination.error(e)}t&&this.destination.next(e)},t}(J.a),Fe=n("/nXB"),Le=function(){function e(e,t){this._ngZone=e,this._platform=t,this._scrolled=new Q.a,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map}return e.prototype.register=function(e){var t=this,n=e.elementScrolled().subscribe(function(){return t._scrolled.next(e)});this.scrollContainers.set(e,n)},e.prototype.deregister=function(e){var t=this.scrollContainers.get(e);t&&(t.unsubscribe(),this.scrollContainers.delete(e))},e.prototype.scrolled=function(e){var t=this;return void 0===e&&(e=20),this._platform.isBrowser?be.a.create(function(n){t._globalSubscription||t._addGlobalListener();var r=e>0?t._scrolled.pipe(Ne(e)).subscribe(n):t._scrolled.subscribe(n);return t._scrolledCount++,function(){r.unsubscribe(),t._scrolledCount--,t._scrolledCount||t._removeGlobalListener()}}):_e()},e.prototype.ngOnDestroy=function(){var e=this;this._removeGlobalListener(),this.scrollContainers.forEach(function(t,n){return e.deregister(n)})},e.prototype.ancestorScrolled=function(e,t){var n,r=this.getAncestorScrollContainers(e);return this.scrolled(t).pipe((n=function(e){return!e||r.indexOf(e)>-1},function(e){return e.lift(new Ae(n,void 0))}))},e.prototype.getAncestorScrollContainers=function(e){var t=this,n=[];return this.scrollContainers.forEach(function(r,i){t._scrollableContainsElement(i,e)&&n.push(i)}),n},e.prototype._scrollableContainsElement=function(e,t){var n=t.nativeElement,r=e.getElementRef().nativeElement;do{if(n==r)return!0}while(n=n.parentElement);return!1},e.prototype._addGlobalListener=function(){var e=this;this._globalSubscription=this._ngZone.runOutsideAngular(function(){return Ee(window.document,"scroll").subscribe(function(){return e._scrolled.next()})})},e.prototype._removeGlobalListener=function(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)},e}();function je(e,t,n){return e||new Le(t,n)}var Ve=function(){function e(e,t){var n=this;this._platform=e,this._change=e.isBrowser?t.runOutsideAngular(function(){return Object(Fe.a)(Ee(window,"resize"),Ee(window,"orientationchange"))}):_e(),this._invalidateCache=this.change().subscribe(function(){return n._updateViewportSize()})}return e.prototype.ngOnDestroy=function(){this._invalidateCache.unsubscribe()},e.prototype.getViewportSize=function(){this._viewportSize||this._updateViewportSize();var e={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),e},e.prototype.getViewportRect=function(){var e=this.getViewportScrollPosition(),t=this.getViewportSize(),n=t.width,r=t.height;return{top:e.top,left:e.left,bottom:e.top+r,right:e.left+n,height:r,width:n}},e.prototype.getViewportScrollPosition=function(){if(!this._platform.isBrowser)return{top:0,left:0};var e=document.documentElement.getBoundingClientRect();return{top:-e.top||document.body.scrollTop||window.scrollY||document.documentElement.scrollTop||0,left:-e.left||document.body.scrollLeft||window.scrollX||document.documentElement.scrollLeft||0}},e.prototype.change=function(e){return void 0===e&&(e=20),e>0?this._change.pipe(Ne(e)):this._change},e.prototype._updateViewportSize=function(){this._viewportSize=this._platform.isBrowser?{width:window.innerWidth,height:window.innerHeight}:{width:0,height:0}},e}();function ze(e,t,n){return e||new Ve(t,n)}var He=function(){},Be=new r.InjectionToken("cdk-dir-doc"),Ue=function(){return function(e){this.value="ltr",this.change=new r.EventEmitter,e&&(this.value=(e.body?e.body.dir:null)||(e.documentElement?e.documentElement.dir:null)||"ltr")}}(),Ge=function(){},Ze=new r.InjectionToken("mat-sanity-checks"),We=function(){function e(e){this._sanityChecksEnabled=e,this._hasDoneGlobalChecks=!1,this._hasCheckedHammer=!1,this._document="object"==typeof document&&document?document:null,this._window="object"==typeof window&&window?window:null,this._areChecksEnabled()&&!this._hasDoneGlobalChecks&&(this._checkDoctypeIsDefined(),this._checkThemeIsPresent(),this._hasDoneGlobalChecks=!0)}return e.prototype._areChecksEnabled=function(){return this._sanityChecksEnabled&&Object(r.isDevMode)()&&!this._isTestEnv()},e.prototype._isTestEnv=function(){return this._window&&(this._window.__karma__||this._window.jasmine)},e.prototype._checkDoctypeIsDefined=function(){this._document&&!this._document.doctype&&console.warn("Current document does not have a doctype. This may cause some Angular Material components not to behave as expected.")},e.prototype._checkThemeIsPresent=function(){if(this._document&&"function"==typeof getComputedStyle){var e=this._document.createElement("div");e.classList.add("mat-theme-loaded-marker"),this._document.body.appendChild(e);var t=getComputedStyle(e);t&&"none"!==t.display&&console.warn("Could not find Angular Material core theme. Most Material components may not work as expected. For more info refer to the theming guide: https://material.angular.io/guide/theming"),this._document.body.removeChild(e)}},e.prototype._checkHammerIsAvailable=function(){!this._hasCheckedHammer&&this._window&&(this._areChecksEnabled()&&!this._window.Hammer&&console.warn("Could not find HammerJS. Certain Angular Material components may not work correctly."),this._hasCheckedHammer=!0)},e}();function qe(e){return function(e){function t(){for(var t=[],n=0;n0?"ltr"==this._getLayoutDirection()?"right":"left":"center"},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"origin",{set:function(e){if(null!=e){var t=this._getLayoutDirection();this._origin="ltr"==t&&e<=0||"rtl"==t&&e>0?"left":"right"}},enumerable:!0,configurable:!0}),e.prototype.ngOnInit=function(){"center"==this._position&&this._origin&&(this._position="left"==this._origin?"left-origin-center":"right-origin-center")},e.prototype._onTranslateTabStarted=function(e){var t=this._isCenterPosition(e.toState);this._beforeCentering.emit(t),t&&this._onCentering.emit(this._elementRef.nativeElement.clientHeight)},e.prototype._onTranslateTabComplete=function(e){this._isCenterPosition(e.toState)&&this._isCenterPosition(this._position)&&this._onCentered.emit(),this._isCenterPosition(e.fromState)&&!this._isCenterPosition(this._position)&&this._afterLeavingCenter.emit()},e.prototype._getLayoutDirection=function(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"},e.prototype._isCenterPosition=function(e){return"center"==e||"left-origin-center"==e||"right-origin-center"==e},e}(),gt=0,yt=function(e){function t(t,n){var i=e.call(this,t)||this;return i._changeDetectorRef=n,i._indexToSelect=0,i._tabBodyWrapperHeight=0,i._tabsSubscription=ee.a.EMPTY,i._tabLabelSubscription=ee.a.EMPTY,i._dynamicHeight=!1,i._selectedIndex=null,i.headerPosition="above",i.selectedIndexChange=new r.EventEmitter,i.focusChange=new r.EventEmitter,i.animationDone=new r.EventEmitter,i.selectedTabChange=new r.EventEmitter(!0),i.selectChange=i.selectedTabChange,i._groupId=gt++,i}return Object(Y.b)(t,e),Object.defineProperty(t.prototype,"dynamicHeight",{get:function(){return this._dynamicHeight},set:function(e){this._dynamicHeight=K(e)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_dynamicHeightDeprecated",{get:function(){return this._dynamicHeight},set:function(e){this._dynamicHeight=e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"selectedIndex",{get:function(){return this._selectedIndex},set:function(e){this._indexToSelect=$(e,null)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"backgroundColor",{get:function(){return this._backgroundColor},set:function(e){var t=this._elementRef.nativeElement;t.classList.remove("mat-background-"+this.backgroundColor),e&&t.classList.add("mat-background-"+e),this._backgroundColor=e},enumerable:!0,configurable:!0}),t.prototype.ngAfterContentChecked=function(){var e=this,t=this._indexToSelect=Math.min(this._tabs.length-1,Math.max(this._indexToSelect||0,0));if(this._selectedIndex!=t&&null!=this._selectedIndex){var n=this._createChangeEvent(t);this.selectedTabChange.emit(n),Promise.resolve().then(function(){return e.selectedIndexChange.emit(t)})}this._tabs.forEach(function(n,r){n.position=r-t,n.isActive=r===t,null==e._selectedIndex||0!=n.position||n.origin||(n.origin=t-e._selectedIndex)}),this._selectedIndex!==t&&(this._selectedIndex=t,this._changeDetectorRef.markForCheck())},t.prototype.ngAfterContentInit=function(){var e=this;this._subscribeToTabLabels(),this._tabsSubscription=this._tabs.changes.subscribe(function(){e._subscribeToTabLabels(),e._changeDetectorRef.markForCheck()})},t.prototype.ngOnDestroy=function(){this._tabsSubscription.unsubscribe(),this._tabLabelSubscription.unsubscribe()},t.prototype._focusChanged=function(e){this.focusChange.emit(this._createChangeEvent(e))},t.prototype._createChangeEvent=function(e){var t=new function(){};return t.index=e,this._tabs&&this._tabs.length&&(t.tab=this._tabs.toArray()[e]),t},t.prototype._subscribeToTabLabels=function(){var e=this;this._tabLabelSubscription&&this._tabLabelSubscription.unsubscribe(),this._tabLabelSubscription=Fe.a.apply(void 0,this._tabs.map(function(e){return e._disableChange}).concat(this._tabs.map(function(e){return e._labelChange}))).subscribe(function(){e._changeDetectorRef.markForCheck()})},t.prototype._getTabLabelId=function(e){return"mat-tab-label-"+this._groupId+"-"+e},t.prototype._getTabContentId=function(e){return"mat-tab-content-"+this._groupId+"-"+e},t.prototype._setTabBodyWrapperHeight=function(e){if(this._dynamicHeight&&this._tabBodyWrapperHeight){var t=this._tabBodyWrapper.nativeElement;t.style.height=this._tabBodyWrapperHeight+"px",this._tabBodyWrapper.nativeElement.offsetHeight&&(t.style.height=e+"px")}},t.prototype._removeTabBodyWrapperHeight=function(){this._tabBodyWrapperHeight=this._tabBodyWrapper.nativeElement.clientHeight,this._tabBodyWrapper.nativeElement.style.height="",this.animationDone.emit()},t.prototype._handleClick=function(e,t,n){e.disabled||(this.selectedIndex=t.focusIndex=n)},t.prototype._getTabIndex=function(e,t){return e.disabled?null:this.selectedIndex===t?0:-1},t}(function(e,t){return function(e){function n(){for(var n=[],r=0;r=0;n+=e)if(this._isValidIndex(n))return void(this.focusIndex=n)},t.prototype._focusNextTab=function(){this._moveFocus("ltr"==this._getLayoutDirection()?1:-1)},t.prototype._focusPreviousTab=function(){this._moveFocus("ltr"==this._getLayoutDirection()?-1:1)},t.prototype._focusFirstTab=function(){for(var e=0;e-1;e--)if(this._isValidIndex(e)){this.focusIndex=e;break}},t.prototype._getLayoutDirection=function(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"},t.prototype._updateTabScrollPosition=function(){var e=this.scrollDistance,t="ltr"===this._getLayoutDirection()?-e:e;this._tabList.nativeElement.style.transform="translate3d("+t+"px, 0, 0)"},Object.defineProperty(t.prototype,"scrollDistance",{get:function(){return this._scrollDistance},set:function(e){this._scrollDistance=Math.max(0,Math.min(this._getMaxScrollDistance(),e)),this._scrollDistanceChanged=!0,this._checkScrollingControls()},enumerable:!0,configurable:!0}),t.prototype._scrollHeader=function(e){this.scrollDistance+=("before"==e?-1:1)*this._tabListContainer.nativeElement.offsetWidth/3},t.prototype._scrollToLabel=function(e){var t=this._labelWrappers?this._labelWrappers.toArray()[e]:null;if(t){var n,r,i=this._tabListContainer.nativeElement.offsetWidth;"ltr"==this._getLayoutDirection()?r=(n=t.getOffsetLeft())+t.getOffsetWidth():n=(r=this._tabList.nativeElement.offsetWidth-t.getOffsetLeft())-t.getOffsetWidth();var o=this.scrollDistance,a=this.scrollDistance+i;na&&(this.scrollDistance+=r-a+60)}},t.prototype._checkPaginationEnabled=function(){var e=this._tabList.nativeElement.scrollWidth>this._elementRef.nativeElement.offsetWidth;e||(this.scrollDistance=0),e!==this._showPaginationControls&&this._changeDetectorRef.markForCheck(),this._showPaginationControls=e},t.prototype._checkScrollingControls=function(){this._disableScrollBefore=0==this.scrollDistance,this._disableScrollAfter=this.scrollDistance==this._getMaxScrollDistance(),this._changeDetectorRef.markForCheck()},t.prototype._getMaxScrollDistance=function(){return this._tabList.nativeElement.scrollWidth-this._tabListContainer.nativeElement.offsetWidth||0},t.prototype._alignInkBarToSelectedTab=function(){var e=this._labelWrappers&&this._labelWrappers.length?this._labelWrappers.toArray()[this.selectedIndex].elementRef.nativeElement:null;this._inkBar.alignToElement(e)},t}(Ke(function(){})),bt=function(){},_t=r["\u0275crt"]({encapsulation:2,styles:[".mat-tab-group{display:flex;flex-direction:column}.mat-tab-group.mat-tab-group-inverted-header{flex-direction:column-reverse}.mat-tab-label{height:48px;padding:0 24px;cursor:pointer;box-sizing:border-box;opacity:.6;min-width:160px;text-align:center;display:inline-flex;justify-content:center;align-items:center;white-space:nowrap;position:relative}.mat-tab-label:focus{outline:0}.mat-tab-label:focus:not(.mat-tab-disabled){opacity:1}.mat-tab-label.mat-tab-disabled{cursor:default}.mat-tab-label.mat-tab-label-content{display:inline-flex;justify-content:center;align-items:center;white-space:nowrap}@media (max-width:599px){.mat-tab-label{padding:0 12px}}@media (max-width:959px){.mat-tab-label{padding:0 12px}}.mat-tab-group[mat-stretch-tabs] .mat-tab-label{flex-basis:0;flex-grow:1}.mat-tab-body-wrapper{position:relative;overflow:hidden;display:flex;transition:height .5s cubic-bezier(.35,0,.25,1)}.mat-tab-body{top:0;left:0;right:0;bottom:0;position:absolute;display:block;overflow:hidden}.mat-tab-body.mat-tab-body-active{position:relative;overflow-x:hidden;overflow-y:auto;z-index:1;flex-grow:1}.mat-tab-group.mat-tab-group-dynamic-height .mat-tab-body.mat-tab-body-active{overflow-y:hidden}"],data:{}});function wt(e){return r["\u0275vid"](0,[(e()(),r["\u0275and"](0,null,null,0))],null,null)}function xt(e){return r["\u0275vid"](0,[(e()(),r["\u0275and"](16777216,null,null,1,null,wt)),r["\u0275did"](1,212992,null,0,he,[r.ComponentFactoryResolver,r.ViewContainerRef],{portal:[0,"portal"]},null),(e()(),r["\u0275and"](0,null,null,0))],function(e,t){e(t,1,0,t.parent.context.$implicit.templateLabel)},null)}function Ct(e){return r["\u0275vid"](0,[(e()(),r["\u0275ted"](0,null,["",""]))],null,function(e,t){e(t,0,0,t.parent.context.$implicit.textLabel)})}function Ot(e){return r["\u0275vid"](0,[(e()(),r["\u0275eld"](0,0,null,null,7,"div",[["class","mat-tab-label mat-ripple"],["mat-ripple",""],["matTabLabelWrapper",""],["role","tab"]],[[8,"id",0],[1,"tabIndex",0],[1,"aria-controls",0],[1,"aria-selected",0],[2,"mat-tab-label-active",null],[2,"mat-ripple-unbounded",null],[2,"mat-tab-disabled",null]],[[null,"click"]],function(e,t,n){var i=!0;return"click"===t&&(i=!1!==e.component._handleClick(e.context.$implicit,r["\u0275nov"](e.parent,2),e.context.index)&&i),i},null,null)),r["\u0275did"](1,212992,null,0,tt,[r.ElementRef,r.NgZone,me,[2,et]],{disabled:[0,"disabled"]},null),r["\u0275did"](2,16384,[[2,4]],0,mt,[r.ElementRef],{disabled:[0,"disabled"]},null),(e()(),r["\u0275eld"](3,0,null,null,4,"div",[["class","mat-tab-label-content"]],null,null,null,null,null)),(e()(),r["\u0275and"](16777216,null,null,1,null,xt)),r["\u0275did"](5,16384,null,0,f.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),r["\u0275and"](16777216,null,null,1,null,Ct)),r["\u0275did"](7,16384,null,0,f.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null)],function(e,t){e(t,1,0,t.context.$implicit.disabled||t.component.disableRipple),e(t,2,0,t.context.$implicit.disabled),e(t,5,0,t.context.$implicit.templateLabel),e(t,7,0,!t.context.$implicit.templateLabel)},function(e,t){var n=t.component;e(t,0,0,n._getTabLabelId(t.context.index),n._getTabIndex(t.context.$implicit,t.context.index),n._getTabContentId(t.context.index),n.selectedIndex==t.context.index,n.selectedIndex==t.context.index,r["\u0275nov"](t,1).unbounded,r["\u0275nov"](t,2).disabled)})}function Et(e){return r["\u0275vid"](0,[(e()(),r["\u0275eld"](0,0,null,null,1,"mat-tab-body",[["class","mat-tab-body"],["role","tabpanel"]],[[8,"id",0],[1,"aria-labelledby",0],[2,"mat-tab-body-active",null]],[[null,"_onCentered"],[null,"_onCentering"]],function(e,t,n){var r=!0,i=e.component;return"_onCentered"===t&&(r=!1!==i._removeTabBodyWrapperHeight()&&r),"_onCentering"===t&&(r=!1!==i._setTabBodyWrapperHeight(n)&&r),r},kt,St)),r["\u0275did"](1,114688,null,0,ht,[r.ElementRef,[2,Ue]],{_content:[0,"_content"],position:[1,"position"],origin:[2,"origin"]},{_onCentering:"_onCentering",_onCentered:"_onCentered"})],function(e,t){e(t,1,0,t.context.$implicit.content,t.context.$implicit.position,t.context.$implicit.origin)},function(e,t){var n=t.component;e(t,0,0,n._getTabContentId(t.context.index),n._getTabLabelId(t.context.index),n.selectedIndex==t.context.index)})}function It(e){return r["\u0275vid"](2,[r["\u0275qud"](402653184,1,{_tabBodyWrapper:0}),(e()(),r["\u0275eld"](1,0,null,null,4,"mat-tab-header",[["class","mat-tab-header"]],[[2,"mat-tab-header-pagination-controls-enabled",null],[2,"mat-tab-header-rtl",null]],[[null,"indexFocused"],[null,"selectFocusedIndex"]],function(e,t,n){var r=!0,i=e.component;return"indexFocused"===t&&(r=!1!==i._focusChanged(n)&&r),"selectFocusedIndex"===t&&(r=!1!==(i.selectedIndex=n)&&r),r},Mt,Tt)),r["\u0275did"](2,3325952,[["tabHeader",4]],1,vt,[r.ElementRef,r.ChangeDetectorRef,Ve,[2,Ue]],{disableRipple:[0,"disableRipple"],selectedIndex:[1,"selectedIndex"]},{selectFocusedIndex:"selectFocusedIndex",indexFocused:"indexFocused"}),r["\u0275qud"](603979776,2,{_labelWrappers:1}),(e()(),r["\u0275and"](16777216,null,0,1,null,Ot)),r["\u0275did"](5,802816,null,0,f.NgForOf,[r.ViewContainerRef,r.TemplateRef,r.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(e()(),r["\u0275eld"](6,0,[[1,0],["tabBodyWrapper",1]],null,2,"div",[["class","mat-tab-body-wrapper"]],null,null,null,null,null)),(e()(),r["\u0275and"](16777216,null,null,1,null,Et)),r["\u0275did"](8,802816,null,0,f.NgForOf,[r.ViewContainerRef,r.TemplateRef,r.IterableDiffers],{ngForOf:[0,"ngForOf"]},null)],function(e,t){var n=t.component;e(t,2,0,n.disableRipple,n.selectedIndex),e(t,5,0,n._tabs),e(t,8,0,n._tabs)},function(e,t){e(t,1,0,r["\u0275nov"](t,2)._showPaginationControls,"rtl"==r["\u0275nov"](t,2)._getLayoutDirection())})}var St=r["\u0275crt"]({encapsulation:2,styles:[".mat-tab-body-content{height:100%;overflow:auto}.mat-tab-group-dynamic-height .mat-tab-body-content{overflow:hidden}"],data:{animation:[{type:7,name:"translateTab",definitions:[{type:0,name:"center, void, left-origin-center, right-origin-center",styles:{type:6,styles:{transform:"none"},offset:null},options:void 0},{type:0,name:"left",styles:{type:6,styles:{transform:"translate3d(-100%, 0, 0)"},offset:null},options:void 0},{type:0,name:"right",styles:{type:6,styles:{transform:"translate3d(100%, 0, 0)"},offset:null},options:void 0},{type:1,expr:"* => left, * => right, left => center, right => center",animation:{type:4,styles:null,timings:"500ms cubic-bezier(0.35, 0, 0.25, 1)"},options:null},{type:1,expr:"void => left-origin-center",animation:[{type:6,styles:{transform:"translate3d(-100%, 0, 0)"},offset:null},{type:4,styles:null,timings:"500ms cubic-bezier(0.35, 0, 0.25, 1)"}],options:null},{type:1,expr:"void => right-origin-center",animation:[{type:6,styles:{transform:"translate3d(100%, 0, 0)"},offset:null},{type:4,styles:null,timings:"500ms cubic-bezier(0.35, 0, 0.25, 1)"}],options:null}],options:{}}]}});function Pt(e){return r["\u0275vid"](0,[(e()(),r["\u0275and"](0,null,null,0))],null,null)}function kt(e){return r["\u0275vid"](2,[(e()(),r["\u0275eld"](0,0,[["content",1]],null,2,"div",[["class","mat-tab-body-content"]],[[24,"@translateTab",0]],[[null,"@translateTab.start"],[null,"@translateTab.done"]],function(e,t,n){var r=!0,i=e.component;return"@translateTab.start"===t&&(r=!1!==i._onTranslateTabStarted(n)&&r),"@translateTab.done"===t&&(r=!1!==i._onTranslateTabComplete(n)&&r),r},null,null)),(e()(),r["\u0275and"](16777216,null,null,1,null,Pt)),r["\u0275did"](2,212992,null,0,ft,[r.ComponentFactoryResolver,r.ViewContainerRef,ht],null,null)],function(e,t){e(t,2,0)},function(e,t){e(t,0,0,t.component._position)})}var Tt=r["\u0275crt"]({encapsulation:2,styles:[".mat-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0}.mat-tab-label{height:48px;padding:0 24px;cursor:pointer;box-sizing:border-box;opacity:.6;min-width:160px;text-align:center;display:inline-flex;justify-content:center;align-items:center;white-space:nowrap;position:relative}.mat-tab-label:focus{outline:0}.mat-tab-label:focus:not(.mat-tab-disabled){opacity:1}.mat-tab-label.mat-tab-disabled{cursor:default}.mat-tab-label.mat-tab-label-content{display:inline-flex;justify-content:center;align-items:center;white-space:nowrap}@media (max-width:599px){.mat-tab-label{min-width:72px}}.mat-ink-bar{position:absolute;bottom:0;height:2px;transition:.5s cubic-bezier(.35,0,.25,1)}.mat-tab-group-inverted-header .mat-ink-bar{bottom:auto;top:0}@media screen and (-ms-high-contrast:active){.mat-ink-bar{outline:solid 2px;height:0}}.mat-tab-header-pagination{position:relative;display:none;justify-content:center;align-items:center;min-width:32px;cursor:pointer;z-index:2}.mat-tab-header-pagination-controls-enabled .mat-tab-header-pagination{display:flex}.mat-tab-header-pagination-before,.mat-tab-header-rtl .mat-tab-header-pagination-after{padding-left:4px}.mat-tab-header-pagination-before .mat-tab-header-pagination-chevron,.mat-tab-header-rtl .mat-tab-header-pagination-after .mat-tab-header-pagination-chevron{transform:rotate(-135deg)}.mat-tab-header-pagination-after,.mat-tab-header-rtl .mat-tab-header-pagination-before{padding-right:4px}.mat-tab-header-pagination-after .mat-tab-header-pagination-chevron,.mat-tab-header-rtl .mat-tab-header-pagination-before .mat-tab-header-pagination-chevron{transform:rotate(45deg)}.mat-tab-header-pagination-chevron{border-style:solid;border-width:2px 2px 0 0;content:'';height:8px;width:8px}.mat-tab-header-pagination-disabled{box-shadow:none;cursor:default}.mat-tab-label-container{display:flex;flex-grow:1;overflow:hidden;z-index:1}.mat-tab-list{flex-grow:1;position:relative;transition:transform .5s cubic-bezier(.35,0,.25,1)}.mat-tab-labels{display:flex}"],data:{}});function Mt(e){return r["\u0275vid"](2,[r["\u0275qud"](402653184,1,{_inkBar:0}),r["\u0275qud"](402653184,2,{_tabListContainer:0}),r["\u0275qud"](402653184,3,{_tabList:0}),(e()(),r["\u0275eld"](3,0,null,null,2,"div",[["aria-hidden","true"],["class","mat-tab-header-pagination mat-tab-header-pagination-before mat-elevation-z4 mat-ripple"],["mat-ripple",""]],[[2,"mat-tab-header-pagination-disabled",null],[2,"mat-ripple-unbounded",null]],[[null,"click"]],function(e,t,n){var r=!0;return"click"===t&&(r=!1!==e.component._scrollHeader("before")&&r),r},null,null)),r["\u0275did"](4,212992,null,0,tt,[r.ElementRef,r.NgZone,me,[2,et]],{disabled:[0,"disabled"]},null),(e()(),r["\u0275eld"](5,0,null,null,0,"div",[["class","mat-tab-header-pagination-chevron"]],null,null,null,null,null)),(e()(),r["\u0275eld"](6,0,[[2,0],["tabListContainer",1]],null,6,"div",[["class","mat-tab-label-container"]],null,[[null,"keydown"]],function(e,t,n){var r=!0;return"keydown"===t&&(r=!1!==e.component._handleKeydown(n)&&r),r},null,null)),(e()(),r["\u0275eld"](7,0,[[3,0],["tabList",1]],null,5,"div",[["class","mat-tab-list"],["role","tablist"]],null,[[null,"cdkObserveContent"]],function(e,t,n){var r=!0;return"cdkObserveContent"===t&&(r=!1!==e.component._onContentChanges()&&r),r},null,null)),r["\u0275did"](8,1720320,null,0,se,[ae,r.ElementRef,r.NgZone],null,{event:"cdkObserveContent"}),(e()(),r["\u0275eld"](9,0,null,null,1,"div",[["class","mat-tab-labels"]],null,null,null,null,null)),r["\u0275ncd"](null,0),(e()(),r["\u0275eld"](11,0,null,null,1,"mat-ink-bar",[["class","mat-ink-bar"]],null,null,null,null,null)),r["\u0275did"](12,16384,[[1,4]],0,pt,[r.ElementRef,r.NgZone],null,null),(e()(),r["\u0275eld"](13,0,null,null,2,"div",[["aria-hidden","true"],["class","mat-tab-header-pagination mat-tab-header-pagination-after mat-elevation-z4 mat-ripple"],["mat-ripple",""]],[[2,"mat-tab-header-pagination-disabled",null],[2,"mat-ripple-unbounded",null]],[[null,"click"]],function(e,t,n){var r=!0;return"click"===t&&(r=!1!==e.component._scrollHeader("after")&&r),r},null,null)),r["\u0275did"](14,212992,null,0,tt,[r.ElementRef,r.NgZone,me,[2,et]],{disabled:[0,"disabled"]},null),(e()(),r["\u0275eld"](15,0,null,null,0,"div",[["class","mat-tab-header-pagination-chevron"]],null,null,null,null,null))],function(e,t){var n=t.component;e(t,4,0,n._disableScrollBefore||n.disableRipple),e(t,14,0,n._disableScrollAfter||n.disableRipple)},function(e,t){var n=t.component;e(t,3,0,n._disableScrollBefore,r["\u0275nov"](t,4).unbounded),e(t,13,0,n._disableScrollAfter,r["\u0275nov"](t,14).unbounded)})}var Dt=r["\u0275crt"]({encapsulation:2,styles:[],data:{}});function Nt(e){return r["\u0275vid"](0,[r["\u0275ncd"](null,0),(e()(),r["\u0275and"](0,null,null,0))],null,null)}function At(e){return r["\u0275vid"](2,[r["\u0275qud"](402653184,1,{_content:0}),(e()(),r["\u0275and"](0,[[1,2]],null,0,null,Nt))],null,null)}var Rt=function(){function e(){}return e.prototype.ngOnInit=function(){},e}(),Ft=r["\u0275crt"]({encapsulation:0,styles:[['.mat-tab-group[_ngcontent-%COMP%], .mat-tab-label[_ngcontent-%COMP%], .mat-tab-link[_ngcontent-%COMP%]{font-family:"Helvetica Neue",Helvetica,Arial,sans-serif!important}pre[_ngcontent-%COMP%]{display:block;padding:9.5px;margin:0 0 10px;font-size:13px;line-height:1.42857143;color:#333;word-break:break-all;word-wrap:break-word;background-color:#f5f5f5;border:1px solid #ccc;border-radius:4px}']],data:{}});function Lt(e){return r["\u0275vid"](0,[(e()(),r["\u0275eld"](0,0,null,null,4,"a",[["name","installation"]],null,null,null,null,null)),(e()(),r["\u0275ted"](-1,null,["\n "])),(e()(),r["\u0275eld"](2,0,null,null,1,"h2",[],null,null,null,null,null)),(e()(),r["\u0275ted"](-1,null,["Installation"])),(e()(),r["\u0275ted"](-1,null,["\n"])),(e()(),r["\u0275ted"](-1,null,["\n"])),(e()(),r["\u0275eld"](6,0,null,null,71,"mat-tab-group",[["class","mat-tab-group"]],[[2,"mat-tab-group-dynamic-height",null],[2,"mat-tab-group-inverted-header",null]],null,null,It,_t)),r["\u0275did"](7,3325952,null,1,yt,[r.ElementRef,r.ChangeDetectorRef],null,null),r["\u0275qud"](603979776,1,{_tabs:1}),(e()(),r["\u0275ted"](-1,null,["\n "])),(e()(),r["\u0275eld"](10,16777216,null,null,11,"mat-tab",[["label","Arch"]],null,null,null,At,Dt)),r["\u0275did"](11,770048,[[1,4]],1,dt,[r.ViewContainerRef],{textLabel:[0,"textLabel"]},null),r["\u0275qud"](335544320,2,{templateLabel:0}),(e()(),r["\u0275ted"](-1,0,["\n "])),(e()(),r["\u0275eld"](14,0,null,0,2,"pre",[],null,null,null,null,null)),(e()(),r["\u0275eld"](15,0,null,null,1,"code",[],null,null,null,null,null)),(e()(),r["\u0275ted"](-1,null,["\n yay -S safeeyes\n "])),(e()(),r["\u0275ted"](-1,0,["\n "])),(e()(),r["\u0275eld"](18,0,null,0,2,"pre",[],null,null,null,null,null)),(e()(),r["\u0275eld"](19,0,null,null,1,"code",[],null,null,null,null,null)),(e()(),r["\u0275ted"](-1,null,["\n packer -S safeeyes\n "])),(e()(),r["\u0275ted"](-1,0,["\n "])),(e()(),r["\u0275ted"](-1,null,["\n "])),(e()(),r["\u0275eld"](23,16777216,null,null,7,"mat-tab",[["label","Debian"]],null,null,null,At,Dt)),r["\u0275did"](24,770048,[[1,4]],1,dt,[r.ViewContainerRef],{textLabel:[0,"textLabel"]},null),r["\u0275qud"](335544320,3,{templateLabel:0}),(e()(),r["\u0275ted"](-1,0,["\n "])),(e()(),r["\u0275eld"](27,0,null,0,2,"pre",[],null,null,null,null,null)),(e()(),r["\u0275eld"](28,0,null,null,1,"code",[],null,null,null,null,null)),(e()(),r["\u0275ted"](-1,null,["\n sudo apt-get install safeeyes\n "])),(e()(),r["\u0275ted"](-1,0,["\n "])),(e()(),r["\u0275ted"](-1,null,["\n "])),(e()(),r["\u0275eld"](32,16777216,null,null,13,"mat-tab",[["label","Fedora"]],null,null,null,At,Dt)),r["\u0275did"](33,770048,[[1,4]],1,dt,[r.ViewContainerRef],{textLabel:[0,"textLabel"]},null),r["\u0275qud"](335544320,4,{templateLabel:0}),(e()(),r["\u0275ted"](-1,0,["\n If you want to use Smart Pause plugin, install the latest "])),(e()(),r["\u0275eld"](36,0,null,0,1,"code",[],null,null,null,null,null)),(e()(),r["\u0275ted"](-1,null,["xprintidle"])),(e()(),r["\u0275ted"](-1,0,[" from: "])),(e()(),r["\u0275eld"](39,0,null,0,1,"a",[["href","https://copr.fedorainfracloud.org/coprs/alonid/xprintidle/"]],null,null,null,null,null)),(e()(),r["\u0275ted"](-1,null,["alonid/xprintidle"])),(e()(),r["\u0275ted"](-1,0,["\n "])),(e()(),r["\u0275eld"](42,0,null,0,2,"pre",[],null,null,null,null,null)),(e()(),r["\u0275eld"](43,0,null,null,1,"code",[],null,null,null,null,null)),(e()(),r["\u0275ted"](-1,null,["\n sudo dnf install libappindicator-gtk3 python3-psutil\n sudo pip3 install safeeyes\n sudo gtk-update-icon-cache /usr/share/icons/hicolor\n "])),(e()(),r["\u0275ted"](-1,0,["\n "])),(e()(),r["\u0275ted"](-1,null,["\n "])),(e()(),r["\u0275eld"](47,16777216,null,null,7,"mat-tab",[["label","Gentoo"]],null,null,null,At,Dt)),r["\u0275did"](48,770048,[[1,4]],1,dt,[r.ViewContainerRef],{textLabel:[0,"textLabel"]},null),r["\u0275qud"](335544320,5,{templateLabel:0}),(e()(),r["\u0275ted"](-1,0,["\n "])),(e()(),r["\u0275eld"](51,0,null,0,2,"pre",[],null,null,null,null,null)),(e()(),r["\u0275eld"](52,0,null,null,1,"code",[],null,null,null,null,null)),(e()(),r["\u0275ted"](-1,null,["\n sudo emerge -av x11-misc/safeeyes\n "])),(e()(),r["\u0275ted"](-1,0,["\n "])),(e()(),r["\u0275ted"](-1,null,["\n "])),(e()(),r["\u0275eld"](56,16777216,null,null,7,"mat-tab",[["label","Ubuntu & Linux Mint"]],null,null,null,At,Dt)),r["\u0275did"](57,770048,[[1,4]],1,dt,[r.ViewContainerRef],{textLabel:[0,"textLabel"]},null),r["\u0275qud"](335544320,6,{templateLabel:0}),(e()(),r["\u0275ted"](-1,0,["\n "])),(e()(),r["\u0275eld"](60,0,null,0,2,"pre",[],null,null,null,null,null)),(e()(),r["\u0275eld"](61,0,null,null,1,"code",[],null,null,null,null,null)),(e()(),r["\u0275ted"](-1,null,["\n sudo add-apt-repository ppa:slgobinath/safeeyes\n sudo apt update\n sudo apt install safeeyes\n "])),(e()(),r["\u0275ted"](-1,0,["\n "])),(e()(),r["\u0275ted"](-1,null,["\n "])),(e()(),r["\u0275eld"](65,16777216,null,null,11,"mat-tab",[["label","Other Linux"]],null,null,null,At,Dt)),r["\u0275did"](66,770048,[[1,4]],1,dt,[r.ViewContainerRef],{textLabel:[0,"textLabel"]},null),r["\u0275qud"](335544320,7,{templateLabel:0}),(e()(),r["\u0275ted"](-1,0,["\n Install the following dependencies:\n "])),(e()(),r["\u0275eld"](69,0,null,0,2,"pre",[],null,null,null,null,null)),(e()(),r["\u0275eld"](70,0,null,null,1,"code",[],null,null,null,null,null)),(e()(),r["\u0275ted"](-1,null,["\n gir1.2-appindicator3-0.1 gir1.2-notify-0.7 libappindicator-gtk3 python3-psutil xprintidle\n "])),(e()(),r["\u0275ted"](-1,0,[" Install Safe Eyes:\n "])),(e()(),r["\u0275eld"](73,0,null,0,2,"pre",[],null,null,null,null,null)),(e()(),r["\u0275eld"](74,0,null,null,1,"code",[],null,null,null,null,null)),(e()(),r["\u0275ted"](-1,null,["\n sudo pip3 install safeeyes\n "])),(e()(),r["\u0275ted"](-1,0,["\n "])),(e()(),r["\u0275ted"](-1,null,["\n"]))],function(e,t){e(t,11,0,"Arch"),e(t,24,0,"Debian"),e(t,33,0,"Fedora"),e(t,48,0,"Gentoo"),e(t,57,0,"Ubuntu & Linux Mint"),e(t,66,0,"Other Linux")},function(e,t){e(t,6,0,r["\u0275nov"](t,7).dynamicHeight,"below"===r["\u0275nov"](t,7).headerPosition)})}var jt=function(){function e(){}return e.prototype.distribute=function(e,t){if(e.length<=t)return[e];for(var n=Math.ceil(e.length/t),r=new Array(n),i=0;iSafe Eyes translations site in order to assist with translations. Please translate the message id description as a meaningful description describing Safe Eyes.')},{icon:"fa-github",title:"Issues",description:'If you are having issues with Safe Eyes, feel free to open issues in the Safe Eyes Github Issues page as necessary.'}];this.contributions=this._utilService.distribute(e,2)},e}(),Zt=r["\u0275crt"]({encapsulation:0,styles:[["i[_ngcontent-%COMP%]{color:#424242;position:absolute;font-size:32pt;float:left;line-height:20pt}h3[_ngcontent-%COMP%]{margin-left:50px}p[_ngcontent-%COMP%]{text-align:justify}"]],data:{}});function Wt(e){return r["\u0275vid"](0,[(e()(),r["\u0275eld"](0,0,null,null,11,"div",[["class","col-sm-6"]],null,null,null,null,null)),(e()(),r["\u0275ted"](-1,null,["\n "])),(e()(),r["\u0275eld"](2,0,null,null,6,"div",[],null,null,null,null,null)),(e()(),r["\u0275eld"](3,0,null,null,1,"i",[["aria-hidden","true"]],[[8,"className",0]],null,null,null,null)),(e()(),r["\u0275ted"](-1,null,[" "])),(e()(),r["\u0275ted"](-1,null,["\n "])),(e()(),r["\u0275eld"](6,0,null,null,1,"h3",[],null,null,null,null,null)),(e()(),r["\u0275ted"](7,null,["",""])),(e()(),r["\u0275ted"](-1,null,["\n "])),(e()(),r["\u0275ted"](-1,null,["\n "])),(e()(),r["\u0275eld"](10,0,null,null,0,"p",[],[[8,"innerHTML",1]],null,null,null,null)),(e()(),r["\u0275ted"](-1,null,["\n "]))],null,function(e,t){e(t,3,0,r["\u0275inlineInterpolate"](1,"fa ",t.context.$implicit.icon,"")),e(t,7,0,t.context.$implicit.title),e(t,10,0,t.context.$implicit.description)})}function qt(e){return r["\u0275vid"](0,[(e()(),r["\u0275eld"](0,0,null,null,4,"div",[["class","row"]],null,null,null,null,null)),(e()(),r["\u0275ted"](-1,null,["\n "])),(e()(),r["\u0275and"](16777216,null,null,1,null,Wt)),r["\u0275did"](3,802816,null,0,f.NgForOf,[r.ViewContainerRef,r.TemplateRef,r.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(e()(),r["\u0275ted"](-1,null,["\n"]))],function(e,t){e(t,3,0,t.context.$implicit)},null)}function Kt(e){return r["\u0275vid"](0,[(e()(),r["\u0275eld"](0,0,null,null,4,"a",[["name","contribute"]],null,null,null,null,null)),(e()(),r["\u0275ted"](-1,null,["\n "])),(e()(),r["\u0275eld"](2,0,null,null,1,"h2",[],null,null,null,null,null)),(e()(),r["\u0275ted"](-1,null,["Contribute"])),(e()(),r["\u0275ted"](-1,null,["\n"])),(e()(),r["\u0275ted"](-1,null,["\n\n"])),(e()(),r["\u0275and"](16777216,null,null,1,null,qt)),r["\u0275did"](7,802816,null,0,f.NgForOf,[r.ViewContainerRef,r.TemplateRef,r.IterableDiffers],{ngForOf:[0,"ngForOf"]},null)],function(e,t){e(t,7,0,t.component.contributions)},null)}var $t=r["\u0275crt"]({encapsulation:0,styles:[["contribute[_ngcontent-%COMP%], features[_ngcontent-%COMP%], installation[_ngcontent-%COMP%], screenshots[_ngcontent-%COMP%]{width:100%}"]],data:{}});function Qt(e){return r["\u0275vid"](0,[(e()(),r["\u0275eld"](0,0,null,null,1,"app-navbar",[],null,null,null,l,s)),r["\u0275did"](1,114688,null,0,a,[],null,null),(e()(),r["\u0275ted"](-1,null,["\n\n"])),(e()(),r["\u0275eld"](3,0,null,null,42,"div",[["class","container"]],null,null,null,null,null)),(e()(),r["\u0275ted"](-1,null,["\n "])),(e()(),r["\u0275eld"](5,0,null,null,39,"div",[["class","d-flex justify-content-between"]],null,null,null,null,null)),(e()(),r["\u0275ted"](-1,null,["\n "])),(e()(),r["\u0275eld"](7,0,null,null,36,"div",[["class","p-1"]],null,null,null,null,null)),(e()(),r["\u0275ted"](-1,null,["\n "])),(e()(),r["\u0275eld"](9,0,null,null,4,"div",[["class","row"]],null,null,null,null,null)),(e()(),r["\u0275ted"](-1,null,["\n "])),(e()(),r["\u0275eld"](11,0,null,null,1,"app-header",[],null,null,null,p,c)),r["\u0275did"](12,114688,null,0,u,[],null,null),(e()(),r["\u0275ted"](-1,null,["\n "])),(e()(),r["\u0275ted"](-1,null,["\n "])),(e()(),r["\u0275eld"](15,0,null,null,4,"div",[["class","row"],["style","text-align:center;"]],null,null,null,null,null)),(e()(),r["\u0275ted"](-1,null,["\n "])),(e()(),r["\u0275eld"](17,0,null,null,1,"screenshots",[],null,null,null,q,W)),r["\u0275did"](18,114688,null,0,Z,[],null,null),(e()(),r["\u0275ted"](-1,null,["\n "])),(e()(),r["\u0275ted"](-1,null,["\n "])),(e()(),r["\u0275eld"](21,0,null,null,4,"div",[["class","row"]],null,null,null,null,null)),(e()(),r["\u0275ted"](-1,null,["\n "])),(e()(),r["\u0275eld"](23,0,null,null,1,"installation",[],null,null,null,Lt,Ft)),r["\u0275did"](24,114688,null,0,Rt,[],null,null),(e()(),r["\u0275ted"](-1,null,["\n "])),(e()(),r["\u0275ted"](-1,null,["\n "])),(e()(),r["\u0275eld"](27,0,null,null,4,"div",[["class","row"]],null,null,null,null,null)),(e()(),r["\u0275ted"](-1,null,["\n "])),(e()(),r["\u0275eld"](29,0,null,null,1,"features",[],null,null,null,Ut,zt)),r["\u0275did"](30,114688,null,0,Vt,[jt],null,null),(e()(),r["\u0275ted"](-1,null,["\n "])),(e()(),r["\u0275ted"](-1,null,["\n "])),(e()(),r["\u0275eld"](33,0,null,null,4,"div",[["class","row"]],null,null,null,null,null)),(e()(),r["\u0275ted"](-1,null,["\n "])),(e()(),r["\u0275eld"](35,0,null,null,1,"contribute",[],null,null,null,Kt,Zt)),r["\u0275did"](36,114688,null,0,Gt,[jt,h.DomSanitizer],null,null),(e()(),r["\u0275ted"](-1,null,["\n "])),(e()(),r["\u0275ted"](-1,null,["\n "])),(e()(),r["\u0275eld"](39,0,null,null,3,"div",[["class","row"]],null,null,null,null,null)),(e()(),r["\u0275ted"](-1,null,["\n "])),(e()(),r["\u0275eld"](41,0,null,null,0,"br",[],null,null,null,null,null)),(e()(),r["\u0275ted"](-1,null,["\n "])),(e()(),r["\u0275ted"](-1,null,["\n "])),(e()(),r["\u0275ted"](-1,null,["\n "])),(e()(),r["\u0275ted"](-1,null,["\n"]))],function(e,t){e(t,1,0),e(t,12,0),e(t,18,0),e(t,24,0),e(t,30,0),e(t,36,0)},null)}var Yt=r["\u0275ccf"]("app-root",o,function(e){return r["\u0275vid"](0,[(e()(),r["\u0275eld"](0,0,null,null,1,"app-root",[],null,null,null,Qt,$t)),r["\u0275did"](1,49152,null,0,o,[],null,null)],null,null)},{},{},[]);function Jt(e){switch(e.length){case 0:return new lt;case 1:return e[0];default:return new ut(e)}}function Xt(e,t,n,r,i,o){void 0===i&&(i={}),void 0===o&&(o={});var a=[],s=[],l=-1,u=null;if(r.forEach(function(e){var n=e.offset,r=n==l,c=r&&u||{};Object.keys(e).forEach(function(n){var r=n,s=e[n];if("offset"!==n)switch(r=t.normalizePropertyName(r,a),s){case ct:s=i[n];break;case it:s=o[n];break;default:s=t.normalizeStyleValue(n,r,s,a)}c[r]=s}),r||s.push(c),u=c,l=n}),a.length)throw new Error("Unable to animate due to the following errors:\n - "+a.join("\n - "));return s}function en(e,t,n,r){switch(t){case"start":e.onStart(function(){return r(n&&tn(n,"start",e.totalTime))});break;case"done":e.onDone(function(){return r(n&&tn(n,"done",e.totalTime))});break;case"destroy":e.onDestroy(function(){return r(n&&tn(n,"destroy",e.totalTime))})}}function tn(e,t,n){var r=nn(e.element,e.triggerName,e.fromState,e.toState,t||e.phaseName,void 0==n?e.totalTime:n),i=e._data;return null!=i&&(r._data=i),r}function nn(e,t,n,r,i,o){return void 0===i&&(i=""),void 0===o&&(o=0),{element:e,triggerName:t,fromState:n,toState:r,phaseName:i,totalTime:o}}function rn(e,t,n){var r;return e instanceof Map?(r=e.get(t))||e.set(t,r=n):(r=e[t])||(r=e[t]=n),r}function on(e){var t=e.indexOf(":");return[e.substring(1,t),e.substr(t+1)]}var an=function(e,t){return!1},sn=function(e,t){return!1},ln=function(e,t,n){return[]};if("undefined"!=typeof Element){if(an=function(e,t){return e.contains(t)},Element.prototype.matches)sn=function(e,t){return e.matches(t)};else{var un=Element.prototype,cn=un.matchesSelector||un.mozMatchesSelector||un.msMatchesSelector||un.oMatchesSelector||un.webkitMatchesSelector;cn&&(sn=function(e,t){return cn.apply(e,[t])})}ln=function(e,t,n){var r=[];if(n)r.push.apply(r,e.querySelectorAll(t));else{var i=e.querySelector(t);i&&r.push(i)}return r}}var pn=null,dn=!1;function fn(e){pn||(pn=hn()||{},dn=!!pn.style&&"WebkitAppearance"in pn.style);var t=!0;return pn.style&&!function(e){return"ebkit"==e.substring(1,6)}(e)&&!(t=e in pn.style)&&dn&&(t="Webkit"+e.charAt(0).toUpperCase()+e.substr(1)in pn.style),t}function hn(){return"undefined"!=typeof document?document.body:null}var gn=sn,yn=an,mn=ln,vn=function(){function e(){}return e.prototype.validateStyleProperty=function(e){return fn(e)},e.prototype.matchesElement=function(e,t){return gn(e,t)},e.prototype.containsElement=function(e,t){return yn(e,t)},e.prototype.query=function(e,t,n){return mn(e,t,n)},e.prototype.computeStyle=function(e,t,n){return n||""},e.prototype.animate=function(e,t,n,r,i,o){return void 0===o&&(o=[]),new lt},e}(),bn=function(){function e(){}return e.NOOP=new vn,e}(),_n=1e3;function wn(e){if("number"==typeof e)return e;var t=e.match(/^(-?[\.\d]+)(m?s)/);return!t||t.length<2?0:xn(parseFloat(t[1]),t[2])}function xn(e,t){switch(t){case"s":return e*_n;default:return e}}function Cn(e,t,n){return e.hasOwnProperty("duration")?e:function(e,t,n){var r,i=0,o="";if("string"==typeof e){var a=e.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===a)return t.push('The provided timing value "'+e+'" is invalid.'),{duration:0,delay:0,easing:""};r=xn(parseFloat(a[1]),a[2]);var s=a[3];null!=s&&(i=xn(Math.floor(parseFloat(s)),a[4]));var l=a[5];l&&(o=l)}else r=e;if(!n){var u=!1,c=t.length;r<0&&(t.push("Duration values below 0 are not allowed for this animation step."),u=!0),i<0&&(t.push("Delay values below 0 are not allowed for this animation step."),u=!0),u&&t.splice(c,0,'The provided timing value "'+e+'" is invalid.')}return{duration:r,delay:i,easing:o}}(e,t,n)}function On(e,t){return void 0===t&&(t={}),Object.keys(e).forEach(function(n){t[n]=e[n]}),t}function En(e,t,n){if(void 0===n&&(n={}),t)for(var r in e)n[r]=e[r];else On(e,n);return n}function In(e,t){e.style&&Object.keys(t).forEach(function(n){var r=An(n);e.style[r]=t[n]})}function Sn(e,t){e.style&&Object.keys(t).forEach(function(t){var n=An(t);e.style[n]=""})}function Pn(e){return Array.isArray(e)?1==e.length?e[0]:ot(e):e}var kn=new RegExp("{{\\s*(.+?)\\s*}}","g");function Tn(e){var t=[];if("string"==typeof e){for(var n=e.toString(),r=void 0;r=kn.exec(n);)t.push(r[1]);kn.lastIndex=0}return t}function Mn(e,t,n){var r=e.toString(),i=r.replace(kn,function(e,r){var i=t[r];return t.hasOwnProperty(r)||(n.push("Please provide a value for the animation param "+r),i=""),i.toString()});return i==r?e:i}function Dn(e){for(var t=[],n=e.next();!n.done;)t.push(n.value),n=e.next();return t}var Nn=/-+([a-z0-9])/g;function An(e){return e.replace(Nn,function(){for(var e=[],t=0;t *";case":leave":return"* => void";case":increment":return function(e,t){return parseFloat(t)>parseFloat(e)};case":decrement":return function(e,t){return parseFloat(t) *"}}(e,n);if("function"==typeof r)return void t.push(r);e=r}var i=e.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(null==i||i.length<4)return n.push('The provided transition expression "'+e+'" is not supported'),t;var o=i[1],a=i[2],s=i[3];t.push(Vn(o,s)),"<"!=a[0]||o==Fn&&s==Fn||t.push(Vn(s,o))}(e,i,r)}):i.push(n),i),animation:o,queryCount:t.queryCount,depCount:t.depCount,options:Zn(e.options)}},e.prototype.visitSequence=function(e,t){var n=this;return{type:2,steps:e.steps.map(function(e){return Rn(n,e,t)}),options:Zn(e.options)}},e.prototype.visitGroup=function(e,t){var n=this,r=t.currentTime,i=0,o=e.steps.map(function(e){t.currentTime=r;var o=Rn(n,e,t);return i=Math.max(i,t.currentTime),o});return t.currentTime=i,{type:3,steps:o,options:Zn(e.options)}},e.prototype.visitAnimate=function(e,t){var n,r=function(e,t){var n=null;if(e.hasOwnProperty("duration"))n=e;else if("number"==typeof e)return Wn(Cn(e,t).duration,0,"");var r=e;if(r.split(/\s+/).some(function(e){return"{"==e.charAt(0)&&"{"==e.charAt(1)})){var i=Wn(0,0,"");return i.dynamic=!0,i.strValue=r,i}return Wn((n=n||Cn(r,t)).duration,n.delay,n.easing)}(e.timings,t.errors);t.currentAnimateTimings=r;var i=e.styles?e.styles:at({});if(5==i.type)n=this.visitKeyframes(i,t);else{var o=e.styles,a=!1;if(!o){a=!0;var s={};r.easing&&(s.easing=r.easing),o=at(s)}t.currentTime+=r.duration+r.delay;var l=this.visitStyle(o,t);l.isEmptyStep=a,n=l}return t.currentAnimateTimings=null,{type:4,timings:r,style:n,options:null}},e.prototype.visitStyle=function(e,t){var n=this._makeStyleAst(e,t);return this._validateStyleAst(n,t),n},e.prototype._makeStyleAst=function(e,t){var n=[];Array.isArray(e.styles)?e.styles.forEach(function(e){"string"==typeof e?e==it?n.push(e):t.errors.push("The provided style string value "+e+" is not allowed."):n.push(e)}):n.push(e.styles);var r=!1,i=null;return n.forEach(function(e){if(Gn(e)){var t=e,n=t.easing;if(n&&(i=n,delete t.easing),!r)for(var o in t)if(t[o].toString().indexOf("{{")>=0){r=!0;break}}}),{type:6,styles:n,easing:i,offset:e.offset,containsDynamicStyles:r,options:null}},e.prototype._validateStyleAst=function(e,t){var n=this,r=t.currentAnimateTimings,i=t.currentTime,o=t.currentTime;r&&o>0&&(o-=r.duration+r.delay),e.styles.forEach(function(e){"string"!=typeof e&&Object.keys(e).forEach(function(r){if(n._driver.validateStyleProperty(r)){var a,s,l,u=t.collectedStyles[t.currentQuerySelector],c=u[r],p=!0;c&&(o!=i&&o>=c.startTime&&i<=c.endTime&&(t.errors.push('The CSS property "'+r+'" that exists between the times of "'+c.startTime+'ms" and "'+c.endTime+'ms" is also being animated in a parallel animation between the times of "'+o+'ms" and "'+i+'ms"'),p=!1),o=c.startTime),p&&(u[r]={startTime:o,endTime:i}),t.options&&(a=t.errors,s=t.options.params||{},(l=Tn(e[r])).length&&l.forEach(function(e){s.hasOwnProperty(e)||a.push("Unable to resolve the local animation param "+e+" in the given list of values")}))}else t.errors.push('The provided animation property "'+r+'" is not a supported CSS property for animations')})})},e.prototype.visitKeyframes=function(e,t){var n=this,r={type:5,styles:[],options:null};if(!t.currentAnimateTimings)return t.errors.push("keyframes() must be placed inside of a call to animate()"),r;var i=0,o=[],a=!1,s=!1,l=0,u=e.steps.map(function(e){var r=n._makeStyleAst(e,t),u=null!=r.offset?r.offset:function(e){if("string"==typeof e)return null;var t=null;if(Array.isArray(e))e.forEach(function(e){if(Gn(e)&&e.hasOwnProperty("offset")){var n=e;t=parseFloat(n.offset),delete n.offset}});else if(Gn(e)&&e.hasOwnProperty("offset")){var n=e;t=parseFloat(n.offset),delete n.offset}return t}(r.styles),c=0;return null!=u&&(i++,c=r.offset=u),s=s||c<0||c>1,a=a||c0&&i0?i==d?1:p*i:o[i],s=a*g;t.currentTime=f+h.delay+s,h.duration=s,n._validateStyleAst(e,t),e.offset=a,r.styles.push(e)}),r},e.prototype.visitReference=function(e,t){return{type:8,animation:Rn(this,Pn(e.animation),t),options:Zn(e.options)}},e.prototype.visitAnimateChild=function(e,t){return t.depCount++,{type:9,options:Zn(e.options)}},e.prototype.visitAnimateRef=function(e,t){return{type:10,animation:this.visitReference(e.animation,t),options:Zn(e.options)}},e.prototype.visitQuery=function(e,t){var n=t.currentQuerySelector,r=e.options||{};t.queryCount++,t.currentQuery=e;var i=function(e){var t=!!e.split(/\s*,\s*/).find(function(e){return":self"==e});return t&&(e=e.replace(zn,"")),[e=e.replace(/@\*/g,".ng-trigger").replace(/@\w+/g,function(e){return".ng-trigger-"+e.substr(1)}).replace(/:animating/g,".ng-animating"),t]}(e.selector),o=i[0],a=i[1];t.currentQuerySelector=n.length?n+" "+o:o,rn(t.collectedStyles,t.currentQuerySelector,{});var s=Rn(this,Pn(e.animation),t);return t.currentQuery=null,t.currentQuerySelector=n,{type:11,selector:o,limit:r.limit||0,optional:!!r.optional,includeSelf:a,animation:s,originalSelector:e.selector,options:Zn(e.options)}},e.prototype.visitStagger=function(e,t){t.currentQuery||t.errors.push("stagger() can only be used inside of query()");var n="full"===e.timings?{duration:0,delay:0,easing:"full"}:Cn(e.timings,t.errors,!0);return{type:12,animation:Rn(this,Pn(e.animation),t),timings:n,options:null}},e}(),Un=function(e){this.errors=e,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles={},this.options=null};function Gn(e){return!Array.isArray(e)&&"object"==typeof e}function Zn(e){var t;return e?(e=On(e)).params&&(e.params=(t=e.params)?On(t):null):e={},e}function Wn(e,t,n){return{duration:e,delay:t,easing:n}}function qn(e,t,n,r,i,o,a,s){return void 0===a&&(a=null),void 0===s&&(s=!1),{type:1,element:e,keyframes:t,preStyleProps:n,postStyleProps:r,duration:i,delay:o,totalTime:i+o,easing:a,subTimeline:s}}var Kn=function(){function e(){this._map=new Map}return e.prototype.consume=function(e){var t=this._map.get(e);return t?this._map.delete(e):t=[],t},e.prototype.append=function(e,t){var n=this._map.get(e);n||this._map.set(e,n=[]),n.push.apply(n,t)},e.prototype.has=function(e){return this._map.has(e)},e.prototype.clear=function(){this._map.clear()},e}(),$n=new RegExp(":enter","g"),Qn=new RegExp(":leave","g");function Yn(e,t,n,r,i,o,a,s,l,u){return void 0===o&&(o={}),void 0===a&&(a={}),void 0===u&&(u=[]),(new Jn).buildKeyframes(e,t,n,r,i,o,a,s,l,u)}var Jn=function(){function e(){}return e.prototype.buildKeyframes=function(e,t,n,r,i,o,a,s,l,u){void 0===u&&(u=[]),l=l||new Kn;var c=new er(e,t,l,r,i,u,[]);c.options=s,c.currentTimeline.setStyles([o],null,c.errors,s),Rn(this,n,c);var p=c.timelines.filter(function(e){return e.containsAnimation()});if(p.length&&Object.keys(a).length){var d=p[p.length-1];d.allowOnlyTimelineStyles()||d.setStyles([a],null,c.errors,s)}return p.length?p.map(function(e){return e.buildKeyframes()}):[qn(t,[],[],[],0,0,"",!1)]},e.prototype.visitTrigger=function(e,t){},e.prototype.visitState=function(e,t){},e.prototype.visitTransition=function(e,t){},e.prototype.visitAnimateChild=function(e,t){var n=t.subInstructions.consume(t.element);if(n){var r=t.createSubContext(e.options),i=t.currentTimeline.currentTime,o=this._visitSubInstructions(n,r,r.options);i!=o&&t.transformIntoNewTimeline(o)}t.previousNode=e},e.prototype.visitAnimateRef=function(e,t){var n=t.createSubContext(e.options);n.transformIntoNewTimeline(),this.visitReference(e.animation,n),t.transformIntoNewTimeline(n.currentTimeline.currentTime),t.previousNode=e},e.prototype._visitSubInstructions=function(e,t,n){var r=t.currentTimeline.currentTime,i=null!=n.duration?wn(n.duration):null,o=null!=n.delay?wn(n.delay):null;return 0!==i&&e.forEach(function(e){var n=t.appendInstructionToTimeline(e,i,o);r=Math.max(r,n.duration+n.delay)}),r},e.prototype.visitReference=function(e,t){t.updateOptions(e.options,!0),Rn(this,e.animation,t),t.previousNode=e},e.prototype.visitSequence=function(e,t){var n=this,r=t.subContextCount,i=t,o=e.options;if(o&&(o.params||o.delay)&&((i=t.createSubContext(o)).transformIntoNewTimeline(),null!=o.delay)){6==i.previousNode.type&&(i.currentTimeline.snapshotCurrentStyles(),i.previousNode=Xn);var a=wn(o.delay);i.delayNextStep(a)}e.steps.length&&(e.steps.forEach(function(e){return Rn(n,e,i)}),i.currentTimeline.applyStylesToKeyframe(),i.subContextCount>r&&i.transformIntoNewTimeline()),t.previousNode=e},e.prototype.visitGroup=function(e,t){var n=this,r=[],i=t.currentTimeline.currentTime,o=e.options&&e.options.delay?wn(e.options.delay):0;e.steps.forEach(function(a){var s=t.createSubContext(e.options);o&&s.delayNextStep(o),Rn(n,a,s),i=Math.max(i,s.currentTimeline.currentTime),r.push(s.currentTimeline)}),r.forEach(function(e){return t.currentTimeline.mergeTimelineCollectedStyles(e)}),t.transformIntoNewTimeline(i),t.previousNode=e},e.prototype._visitTiming=function(e,t){if(e.dynamic){var n=e.strValue;return Cn(t.params?Mn(n,t.params,t.errors):n,t.errors)}return{duration:e.duration,delay:e.delay,easing:e.easing}},e.prototype.visitAnimate=function(e,t){var n=t.currentAnimateTimings=this._visitTiming(e.timings,t),r=t.currentTimeline;n.delay&&(t.incrementTime(n.delay),r.snapshotCurrentStyles());var i=e.style;5==i.type?this.visitKeyframes(i,t):(t.incrementTime(n.duration),this.visitStyle(i,t),r.applyStylesToKeyframe()),t.currentAnimateTimings=null,t.previousNode=e},e.prototype.visitStyle=function(e,t){var n=t.currentTimeline,r=t.currentAnimateTimings;!r&&n.getCurrentStyleProperties().length&&n.forwardFrame();var i=r&&r.easing||e.easing;e.isEmptyStep?n.applyEmptyStep(i):n.setStyles(e.styles,i,t.errors,t.options),t.previousNode=e},e.prototype.visitKeyframes=function(e,t){var n=t.currentAnimateTimings,r=t.currentTimeline.duration,i=n.duration,o=t.createSubContext().currentTimeline;o.easing=n.easing,e.styles.forEach(function(e){o.forwardTime((e.offset||0)*i),o.setStyles(e.styles,e.easing,t.errors,t.options),o.applyStylesToKeyframe()}),t.currentTimeline.mergeTimelineCollectedStyles(o),t.transformIntoNewTimeline(r+i),t.previousNode=e},e.prototype.visitQuery=function(e,t){var n=this,r=t.currentTimeline.currentTime,i=e.options||{},o=i.delay?wn(i.delay):0;o&&(6===t.previousNode.type||0==r&&t.currentTimeline.getCurrentStyleProperties().length)&&(t.currentTimeline.snapshotCurrentStyles(),t.previousNode=Xn);var a=r,s=t.invokeQuery(e.selector,e.originalSelector,e.limit,e.includeSelf,!!i.optional,t.errors);t.currentQueryTotal=s.length;var l=null;s.forEach(function(r,i){t.currentQueryIndex=i;var s=t.createSubContext(e.options,r);o&&s.delayNextStep(o),r===t.element&&(l=s.currentTimeline),Rn(n,e.animation,s),s.currentTimeline.applyStylesToKeyframe(),a=Math.max(a,s.currentTimeline.currentTime)}),t.currentQueryIndex=0,t.currentQueryTotal=0,t.transformIntoNewTimeline(a),l&&(t.currentTimeline.mergeTimelineCollectedStyles(l),t.currentTimeline.snapshotCurrentStyles()),t.previousNode=e},e.prototype.visitStagger=function(e,t){var n=t.parentContext,r=t.currentTimeline,i=e.timings,o=Math.abs(i.duration),a=o*(t.currentQueryTotal-1),s=o*t.currentQueryIndex;switch(i.duration<0?"reverse":i.easing){case"reverse":s=a-s;break;case"full":s=n.currentStaggerTime}var l=t.currentTimeline;s&&l.delayNextStep(s);var u=l.currentTime;Rn(this,e.animation,t),t.previousNode=e,n.currentStaggerTime=r.currentTime-u+(r.startTime-n.currentTimeline.startTime)},e}(),Xn={},er=function(){function e(e,t,n,r,i,o,a,s){this._driver=e,this.element=t,this.subInstructions=n,this._enterClassName=r,this._leaveClassName=i,this.errors=o,this.timelines=a,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=Xn,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=s||new tr(this._driver,t,0),a.push(this.currentTimeline)}return Object.defineProperty(e.prototype,"params",{get:function(){return this.options.params},enumerable:!0,configurable:!0}),e.prototype.updateOptions=function(e,t){var n=this;if(e){var r=e,i=this.options;null!=r.duration&&(i.duration=wn(r.duration)),null!=r.delay&&(i.delay=wn(r.delay));var o=r.params;if(o){var a=i.params;a||(a=this.options.params={}),Object.keys(o).forEach(function(e){t&&a.hasOwnProperty(e)||(a[e]=Mn(o[e],a,n.errors))})}}},e.prototype._copyOptions=function(){var e={};if(this.options){var t=this.options.params;if(t){var n=e.params={};Object.keys(t).forEach(function(e){n[e]=t[e]})}}return e},e.prototype.createSubContext=function(t,n,r){void 0===t&&(t=null);var i=n||this.element,o=new e(this._driver,i,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(i,r||0));return o.previousNode=this.previousNode,o.currentAnimateTimings=this.currentAnimateTimings,o.options=this._copyOptions(),o.updateOptions(t),o.currentQueryIndex=this.currentQueryIndex,o.currentQueryTotal=this.currentQueryTotal,o.parentContext=this,this.subContextCount++,o},e.prototype.transformIntoNewTimeline=function(e){return this.previousNode=Xn,this.currentTimeline=this.currentTimeline.fork(this.element,e),this.timelines.push(this.currentTimeline),this.currentTimeline},e.prototype.appendInstructionToTimeline=function(e,t,n){var r={duration:null!=t?t:e.duration,delay:this.currentTimeline.currentTime+(null!=n?n:0)+e.delay,easing:""},i=new nr(this._driver,e.element,e.keyframes,e.preStyleProps,e.postStyleProps,r,e.stretchStartingKeyframe);return this.timelines.push(i),r},e.prototype.incrementTime=function(e){this.currentTimeline.forwardTime(this.currentTimeline.duration+e)},e.prototype.delayNextStep=function(e){e>0&&this.currentTimeline.delayNextStep(e)},e.prototype.invokeQuery=function(e,t,n,r,i,o){var a=[];if(r&&a.push(this.element),e.length>0){e=(e=e.replace($n,"."+this._enterClassName)).replace(Qn,"."+this._leaveClassName);var s=this._driver.query(this.element,e,1!=n);0!==n&&(s=n<0?s.slice(s.length+n,s.length):s.slice(0,n)),a.push.apply(a,s)}return i||0!=a.length||o.push('`query("'+t+'")` returned zero elements. (Use `query("'+t+'", { optional: true })` if you wish to allow this.)'),a},e}(),tr=function(){function e(e,t,n,r){this._driver=e,this.element=t,this.startTime=n,this._elementTimelineStylesLookup=r,this.duration=0,this._previousKeyframe={},this._currentKeyframe={},this._keyframes=new Map,this._styleSummary={},this._pendingStyles={},this._backFill={},this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._localTimelineStyles=Object.create(this._backFill,{}),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(t),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(t,this._localTimelineStyles)),this._loadKeyframe()}return e.prototype.containsAnimation=function(){switch(this._keyframes.size){case 0:return!1;case 1:return this.getCurrentStyleProperties().length>0;default:return!0}},e.prototype.getCurrentStyleProperties=function(){return Object.keys(this._currentKeyframe)},Object.defineProperty(e.prototype,"currentTime",{get:function(){return this.startTime+this.duration},enumerable:!0,configurable:!0}),e.prototype.delayNextStep=function(e){var t=1==this._keyframes.size&&Object.keys(this._pendingStyles).length;this.duration||t?(this.forwardTime(this.currentTime+e),t&&this.snapshotCurrentStyles()):this.startTime+=e},e.prototype.fork=function(t,n){return this.applyStylesToKeyframe(),new e(this._driver,t,n||this.currentTime,this._elementTimelineStylesLookup)},e.prototype._loadKeyframe=function(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=Object.create(this._backFill,{}),this._keyframes.set(this.duration,this._currentKeyframe))},e.prototype.forwardFrame=function(){this.duration+=1,this._loadKeyframe()},e.prototype.forwardTime=function(e){this.applyStylesToKeyframe(),this.duration=e,this._loadKeyframe()},e.prototype._updateStyle=function(e,t){this._localTimelineStyles[e]=t,this._globalTimelineStyles[e]=t,this._styleSummary[e]={time:this.currentTime,value:t}},e.prototype.allowOnlyTimelineStyles=function(){return this._currentEmptyStepKeyframe!==this._currentKeyframe},e.prototype.applyEmptyStep=function(e){var t=this;e&&(this._previousKeyframe.easing=e),Object.keys(this._globalTimelineStyles).forEach(function(e){t._backFill[e]=t._globalTimelineStyles[e]||it,t._currentKeyframe[e]=it}),this._currentEmptyStepKeyframe=this._currentKeyframe},e.prototype.setStyles=function(e,t,n,r){var i=this;t&&(this._previousKeyframe.easing=t);var o=r&&r.params||{},a=function(e,t){var n,r={};return e.forEach(function(e){"*"===e?(n=n||Object.keys(t)).forEach(function(e){r[e]=it}):En(e,!1,r)}),r}(e,this._globalTimelineStyles);Object.keys(a).forEach(function(e){var t=Mn(a[e],o,n);i._pendingStyles[e]=t,i._localTimelineStyles.hasOwnProperty(e)||(i._backFill[e]=i._globalTimelineStyles.hasOwnProperty(e)?i._globalTimelineStyles[e]:it),i._updateStyle(e,t)})},e.prototype.applyStylesToKeyframe=function(){var e=this,t=this._pendingStyles,n=Object.keys(t);0!=n.length&&(this._pendingStyles={},n.forEach(function(n){e._currentKeyframe[n]=t[n]}),Object.keys(this._localTimelineStyles).forEach(function(t){e._currentKeyframe.hasOwnProperty(t)||(e._currentKeyframe[t]=e._localTimelineStyles[t])}))},e.prototype.snapshotCurrentStyles=function(){var e=this;Object.keys(this._localTimelineStyles).forEach(function(t){var n=e._localTimelineStyles[t];e._pendingStyles[t]=n,e._updateStyle(t,n)})},e.prototype.getFinalKeyframe=function(){return this._keyframes.get(this.duration)},Object.defineProperty(e.prototype,"properties",{get:function(){var e=[];for(var t in this._currentKeyframe)e.push(t);return e},enumerable:!0,configurable:!0}),e.prototype.mergeTimelineCollectedStyles=function(e){var t=this;Object.keys(e._styleSummary).forEach(function(n){var r=t._styleSummary[n],i=e._styleSummary[n];(!r||i.time>r.time)&&t._updateStyle(n,i.value)})},e.prototype.buildKeyframes=function(){var e=this;this.applyStylesToKeyframe();var t=new Set,n=new Set,r=1===this._keyframes.size&&0===this.duration,i=[];this._keyframes.forEach(function(o,a){var s=En(o,!0);Object.keys(s).forEach(function(e){var r=s[e];r==ct?t.add(e):r==it&&n.add(e)}),r||(s.offset=a/e.duration),i.push(s)});var o=t.size?Dn(t.values()):[],a=n.size?Dn(n.values()):[];if(r){var s=i[0],l=On(s);s.offset=0,l.offset=1,i=[s,l]}return qn(this.element,i,o,a,this.duration,this.startTime,this.easing,!1)},e}(),nr=function(e){function t(t,n,r,i,o,a,s){void 0===s&&(s=!1);var l=e.call(this,t,n,a.delay)||this;return l.element=n,l.keyframes=r,l.preStyleProps=i,l.postStyleProps=o,l._stretchStartingKeyframe=s,l.timings={duration:a.duration,delay:a.delay,easing:a.easing},l}return Object(Y.b)(t,e),t.prototype.containsAnimation=function(){return this.keyframes.length>1},t.prototype.buildKeyframes=function(){var e=this.keyframes,t=this.timings,n=t.delay,r=t.duration,i=t.easing;if(this._stretchStartingKeyframe&&n){var o=[],a=r+n,s=n/a,l=En(e[0],!1);l.offset=0,o.push(l);var u=En(e[0],!1);u.offset=rr(s),o.push(u);for(var c=e.length-1,p=1;p<=c;p++){var d=En(e[p],!1);d.offset=rr((n+d.offset*r)/a),o.push(d)}r=a,n=0,i="",e=o}return qn(this.element,e,this.preStyleProps,this.postStyleProps,r,n,i,!0)},t}(tr);function rr(e,t){void 0===t&&(t=3);var n=Math.pow(10,t-1);return Math.round(e*n)/n}var ir=function(){},or=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(Y.b)(t,e),t.prototype.normalizePropertyName=function(e,t){return An(e)},t.prototype.normalizeStyleValue=function(e,t,n,r){var i="",o=n.toString().trim();if(ar[t]&&0!==n&&"0"!==n)if("number"==typeof n)i="px";else{var a=n.match(/^[+-]?[\d\.]+([a-z]*)$/);a&&0==a[1].length&&r.push("Please provide a CSS unit value for "+e+":"+n)}return o+i},t}(ir),ar=function(e){var t={};return"width,height,minWidth,minHeight,maxWidth,maxHeight,left,top,bottom,right,fontSize,outlineWidth,outlineOffset,paddingTop,paddingLeft,paddingBottom,paddingRight,marginTop,marginLeft,marginBottom,marginRight,borderRadius,borderWidth,borderTopWidth,borderLeftWidth,borderRightWidth,borderBottomWidth,textIndent,perspective".split(",").forEach(function(e){return t[e]=!0}),t}();function sr(e,t,n,r,i,o,a,s,l,u,c,p){return{type:0,element:e,triggerName:t,isRemovalTransition:i,fromState:n,fromStyles:o,toState:r,toStyles:a,timelines:s,queriedElements:l,preStyleProps:u,postStyleProps:c,errors:p}}var lr={},ur=function(){function e(e,t,n){this._triggerName=e,this.ast=t,this._stateStyles=n}return e.prototype.match=function(e,t){return function(e,t,n){return e.some(function(e){return e(t,n)})}(this.ast.matchers,e,t)},e.prototype.buildStyles=function(e,t,n){var r=this._stateStyles["*"],i=this._stateStyles[e],o=r?r.buildStyles(t,n):{};return i?i.buildStyles(t,n):o},e.prototype.build=function(e,t,n,r,i,o,a,s,l){var u=[],c=this.ast.options&&this.ast.options.params||lr,p=this.buildStyles(n,a&&a.params||lr,u),d=s&&s.params||lr,f=this.buildStyles(r,d,u),h=new Set,g=new Map,y=new Map,m="void"===r,v={params:Object(Y.a)({},c,d)},b=Yn(e,t,this.ast.animation,i,o,p,f,v,l,u);if(u.length)return sr(t,this._triggerName,n,r,m,p,f,[],[],g,y,u);b.forEach(function(e){var n=e.element,r=rn(g,n,{});e.preStyleProps.forEach(function(e){return r[e]=!0});var i=rn(y,n,{});e.postStyleProps.forEach(function(e){return i[e]=!0}),n!==t&&h.add(n)});var _=Dn(h.values());return sr(t,this._triggerName,n,r,m,p,f,b,_,g,y)},e}(),cr=function(){function e(e,t){this.styles=e,this.defaultParams=t}return e.prototype.buildStyles=function(e,t){var n={},r=On(this.defaultParams);return Object.keys(e).forEach(function(t){var n=e[t];null!=n&&(r[t]=n)}),this.styles.styles.forEach(function(e){if("string"!=typeof e){var i=e;Object.keys(i).forEach(function(e){var o=i[e];o.length>1&&(o=Mn(o,r,t)),n[e]=o})}}),n},e}(),pr=function(){function e(e,t){var n=this;this.name=e,this.ast=t,this.transitionFactories=[],this.states={},t.states.forEach(function(e){n.states[e.name]=new cr(e.style,e.options&&e.options.params||{})}),dr(this.states,"true","1"),dr(this.states,"false","0"),t.transitions.forEach(function(t){n.transitionFactories.push(new ur(e,t,n.states))}),this.fallbackTransition=new ur(e,{type:1,animation:{type:2,steps:[],options:null},matchers:[function(e,t){return!0}],options:null,queryCount:0,depCount:0},this.states)}return Object.defineProperty(e.prototype,"containsQueries",{get:function(){return this.ast.queryCount>0},enumerable:!0,configurable:!0}),e.prototype.matchTransition=function(e,t){return this.transitionFactories.find(function(n){return n.match(e,t)})||null},e.prototype.matchStyles=function(e,t,n){return this.fallbackTransition.buildStyles(e,t,n)},e}();function dr(e,t,n){e.hasOwnProperty(t)?e.hasOwnProperty(n)||(e[n]=e[t]):e.hasOwnProperty(n)&&(e[t]=e[n])}var fr=new Kn,hr=function(){function e(e,t){this._driver=e,this._normalizer=t,this._animations={},this._playersById={},this.players=[]}return e.prototype.register=function(e,t){var n=[],r=Hn(this._driver,t,n);if(n.length)throw new Error("Unable to build the animation due to the following errors: "+n.join("\n"));this._animations[e]=r},e.prototype._buildPlayer=function(e,t,n){var r=e.element,i=Xt(0,this._normalizer,0,e.keyframes,t,n);return this._driver.animate(r,i,e.duration,e.delay,e.easing,[])},e.prototype.create=function(e,t,n){var r=this;void 0===n&&(n={});var i,o=[],a=this._animations[e],s=new Map;if(a?(i=Yn(this._driver,t,a,"ng-enter","ng-leave",{},{},n,fr,o)).forEach(function(e){var t=rn(s,e.element,{});e.postStyleProps.forEach(function(e){return t[e]=null})}):(o.push("The requested animation doesn't exist or has already been destroyed"),i=[]),o.length)throw new Error("Unable to create the animation due to the following errors: "+o.join("\n"));s.forEach(function(e,t){Object.keys(e).forEach(function(n){e[n]=r._driver.computeStyle(t,n,it)})});var l=Jt(i.map(function(e){var t=s.get(e.element);return r._buildPlayer(e,{},t)}));return this._playersById[e]=l,l.onDestroy(function(){return r.destroy(e)}),this.players.push(l),l},e.prototype.destroy=function(e){var t=this._getPlayer(e);t.destroy(),delete this._playersById[e];var n=this.players.indexOf(t);n>=0&&this.players.splice(n,1)},e.prototype._getPlayer=function(e){var t=this._playersById[e];if(!t)throw new Error("Unable to find the timeline player referenced by "+e);return t},e.prototype.listen=function(e,t,n,r){var i=nn(t,"","","");return en(this._getPlayer(e),n,i,r),function(){}},e.prototype.command=function(e,t,n,r){if("register"!=n)if("create"!=n){var i=this._getPlayer(e);switch(n){case"play":i.play();break;case"pause":i.pause();break;case"reset":i.reset();break;case"restart":i.restart();break;case"finish":i.finish();break;case"init":i.init();break;case"setPosition":i.setPosition(parseFloat(r[0]));break;case"destroy":this.destroy(e)}}else this.create(e,t,r[0]||{});else this.register(e,r[0])},e}(),gr=[],yr={namespaceId:"",setForRemoval:null,hasAnimation:!1,removedBeforeQueried:!1},mr={namespaceId:"",setForRemoval:null,hasAnimation:!1,removedBeforeQueried:!0},vr="__ng_removed",br=function(){function e(e,t){void 0===t&&(t=""),this.namespaceId=t;var n=e&&e.hasOwnProperty("value");if(this.value=function(e){return null!=e?e:null}(n?e.value:e),n){var r=On(e);delete r.value,this.options=r}else this.options={};this.options.params||(this.options.params={})}return Object.defineProperty(e.prototype,"params",{get:function(){return this.options.params},enumerable:!0,configurable:!0}),e.prototype.absorbOptions=function(e){var t=e.params;if(t){var n=this.options.params;Object.keys(t).forEach(function(e){null==n[e]&&(n[e]=t[e])})}},e}(),_r=new br("void"),wr=new br("DELETED"),xr=function(){function e(e,t,n){this.id=e,this.hostElement=t,this._engine=n,this.players=[],this._triggers={},this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+e,Tr(t,this._hostClassName)}return e.prototype.listen=function(e,t,n,r){var i,o=this;if(!this._triggers.hasOwnProperty(t))throw new Error('Unable to listen on the animation trigger event "'+n+'" because the animation trigger "'+t+"\" doesn't exist!");if(null==n||0==n.length)throw new Error('Unable to listen on the animation trigger "'+t+'" because the provided event is undefined!');if("start"!=(i=n)&&"done"!=i)throw new Error('The provided animation trigger event "'+n+'" for the animation trigger "'+t+'" is not supported!');var a=rn(this._elementListeners,e,[]),s={name:t,phase:n,callback:r};a.push(s);var l=rn(this._engine.statesByElement,e,{});return l.hasOwnProperty(t)||(Tr(e,"ng-trigger"),Tr(e,"ng-trigger-"+t),l[t]=_r),function(){o._engine.afterFlush(function(){var e=a.indexOf(s);e>=0&&a.splice(e,1),o._triggers[t]||delete l[t]})}},e.prototype.register=function(e,t){return!this._triggers[e]&&(this._triggers[e]=t,!0)},e.prototype._getTrigger=function(e){var t=this._triggers[e];if(!t)throw new Error('The provided animation trigger "'+e+'" has not been registered!');return t},e.prototype.trigger=function(e,t,n,r){var i=this;void 0===r&&(r=!0);var o=this._getTrigger(t),a=new Or(this.id,t,e),s=this._engine.statesByElement.get(e);s||(Tr(e,"ng-trigger"),Tr(e,"ng-trigger-"+t),this._engine.statesByElement.set(e,s={}));var l=s[t],u=new br(n,this.id);if(!(n&&n.hasOwnProperty("value"))&&l&&u.absorbOptions(l.options),s[t]=u,l){if(l===wr)return a}else l=_r;if("void"===u.value||l.value!==u.value){var c=rn(this._engine.playersByElement,e,[]);c.forEach(function(e){e.namespaceId==i.id&&e.triggerName==t&&e.queued&&e.destroy()});var p=o.matchTransition(l.value,u.value),d=!1;if(!p){if(!r)return;p=o.fallbackTransition,d=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:t,transition:p,fromState:l,toState:u,player:a,isFallbackTransition:d}),d||(Tr(e,"ng-animate-queued"),a.onStart(function(){Mr(e,"ng-animate-queued")})),a.onDone(function(){var t=i.players.indexOf(a);t>=0&&i.players.splice(t,1);var n=i._engine.playersByElement.get(e);if(n){var r=n.indexOf(a);r>=0&&n.splice(r,1)}}),this.players.push(a),c.push(a),a}if(!function(e,t){var n=Object.keys(e),r=Object.keys(t);if(n.length!=r.length)return!1;for(var i=0;i=0){for(var r=!1,i=n;i>=0;i--)if(this.driver.containsElement(this._namespaceList[i].hostElement,t)){this._namespaceList.splice(i+1,0,e),r=!0;break}r||this._namespaceList.splice(0,0,e)}else this._namespaceList.push(e);return this.namespacesByHostElement.set(t,e),e},e.prototype.register=function(e,t){var n=this._namespaceLookup[e];return n||(n=this.createNamespace(e,t)),n},e.prototype.registerTrigger=function(e,t,n){var r=this._namespaceLookup[e];r&&r.register(t,n)&&this.totalAnimations++},e.prototype.destroy=function(e,t){var n=this;if(e){var r=this._fetchNamespace(e);this.afterFlush(function(){n.namespacesByHostElement.delete(r.hostElement),delete n._namespaceLookup[e];var t=n._namespaceList.indexOf(r);t>=0&&n._namespaceList.splice(t,1)}),this.afterFlushAnimationsDone(function(){return r.destroy(t)})}},e.prototype._fetchNamespace=function(e){return this._namespaceLookup[e]},e.prototype.fetchNamespacesByElement=function(e){var t=new Set,n=this.statesByElement.get(e);if(n)for(var r=Object.keys(n),i=0;i=0;O--)this._namespaceList[O].drainQueuedTransitions(t).forEach(function(e){var t=e.player;x.push(t);var o=e.element;if(p&&n.driver.containsElement(p,o)){var c=_.get(o),d=h.get(o),f=n._buildInstruction(e,r,d,c);if(f.errors&&f.errors.length)C.push(f);else{if(e.isFallbackTransition)return t.onStart(function(){return Sn(o,f.fromStyles)}),t.onDestroy(function(){return In(o,f.toStyles)}),void i.push(t);f.timelines.forEach(function(e){return e.stretchStartingKeyframe=!0}),r.append(o,f.timelines),a.push({instruction:f,player:t,element:o}),f.queriedElements.forEach(function(e){return rn(s,e,[]).push(t)}),f.preStyleProps.forEach(function(e,t){var n=Object.keys(e);if(n.length){var r=l.get(t);r||l.set(t,r=new Set),n.forEach(function(e){return r.add(e)})}}),f.postStyleProps.forEach(function(e,t){var n=Object.keys(e),r=u.get(t);r||u.set(t,r=new Set),n.forEach(function(e){return r.add(e)})})}}else t.destroy()});if(C.length){var E=[];C.forEach(function(e){E.push("@"+e.triggerName+" has failed due to:\n"),e.errors.forEach(function(e){return E.push("- "+e+"\n")})}),x.forEach(function(e){return e.destroy()}),this.reportError(E)}var I=new Map,S=new Map;a.forEach(function(e){var t=e.element;r.has(t)&&(S.set(t,t),n._beforeAnimationBuild(e.player.namespaceId,e.instruction,I))}),i.forEach(function(e){var t=e.element;n._getPreviousPlayers(t,!1,e.namespaceId,e.triggerName,null).forEach(function(e){rn(I,t,[]).push(e),e.destroy()})});var P=y.filter(function(e){return Nr(e,l,u)}),k=new Map;Sr(k,this.driver,v,u,it).forEach(function(e){Nr(e,l,u)&&P.push(e)});var T=new Map;f.forEach(function(e,t){Sr(T,n.driver,new Set(e),l,ct)}),P.forEach(function(e){var t=k.get(e),n=T.get(e);k.set(e,Object(Y.a)({},t,n))});var M=[],D=[],N={};a.forEach(function(e){var t=e.element,a=e.player,s=e.instruction;if(r.has(t)){if(c.has(t))return a.onDestroy(function(){return In(t,s.toStyles)}),void i.push(a);var l=N;if(S.size>1){for(var u=t,p=[];u=u.parentNode;){var d=S.get(u);if(d){l=d;break}p.push(u)}p.forEach(function(e){return S.set(e,l)})}var f=n._buildAnimation(a.namespaceId,s,I,o,T,k);if(a.setRealPlayer(f),l===N)M.push(a);else{var h=n.playersByElement.get(l);h&&h.length&&(a.parentPlayer=Jt(h)),i.push(a)}}else Sn(t,s.fromStyles),a.onDestroy(function(){return In(t,s.toStyles)}),D.push(a),c.has(t)&&i.push(a)}),D.forEach(function(e){var t=o.get(e.element);if(t&&t.length){var n=Jt(t);e.setRealPlayer(n)}}),i.forEach(function(e){e.parentPlayer?e.syncPlayerEvents(e.parentPlayer):e.destroy()});for(var A=0;A0?this.driver.animate(e.element,t,e.duration,e.delay,e.easing,n):new lt},e}(),Or=function(){function e(e,t,n){this.namespaceId=e,this.triggerName=t,this.element=n,this._player=new lt,this._containsRealPlayer=!1,this._queuedCallbacks={},this.destroyed=!1,this.markedForDestroy=!1,this.queued=!0}return e.prototype.setRealPlayer=function(e){var t=this;this._containsRealPlayer||(this._player=e,Object.keys(this._queuedCallbacks).forEach(function(n){t._queuedCallbacks[n].forEach(function(t){return en(e,n,void 0,t)})}),this._queuedCallbacks={},this._containsRealPlayer=!0,this.queued=!1)},e.prototype.getRealPlayer=function(){return this._player},e.prototype.syncPlayerEvents=function(e){var t=this,n=this._player;n.triggerCallback&&e.onStart(function(){return n.triggerCallback("start")}),e.onDone(function(){return t.finish()}),e.onDestroy(function(){return t.destroy()})},e.prototype._queueEvent=function(e,t){rn(this._queuedCallbacks,e,[]).push(t)},e.prototype.onDone=function(e){this.queued&&this._queueEvent("done",e),this._player.onDone(e)},e.prototype.onStart=function(e){this.queued&&this._queueEvent("start",e),this._player.onStart(e)},e.prototype.onDestroy=function(e){this.queued&&this._queueEvent("destroy",e),this._player.onDestroy(e)},e.prototype.init=function(){this._player.init()},e.prototype.hasStarted=function(){return!this.queued&&this._player.hasStarted()},e.prototype.play=function(){!this.queued&&this._player.play()},e.prototype.pause=function(){!this.queued&&this._player.pause()},e.prototype.restart=function(){!this.queued&&this._player.restart()},e.prototype.finish=function(){this._player.finish()},e.prototype.destroy=function(){this.destroyed=!0,this._player.destroy()},e.prototype.reset=function(){!this.queued&&this._player.reset()},e.prototype.setPosition=function(e){this.queued||this._player.setPosition(e)},e.prototype.getPosition=function(){return this.queued?0:this._player.getPosition()},Object.defineProperty(e.prototype,"totalTime",{get:function(){return this._player.totalTime},enumerable:!0,configurable:!0}),e.prototype.triggerCallback=function(e){var t=this._player;t.triggerCallback&&t.triggerCallback(e)},e}();function Er(e){return e&&1===e.nodeType}function Ir(e,t){var n=e.style.display;return e.style.display=null!=t?t:"none",n}function Sr(e,t,n,r,i){var o=[];n.forEach(function(e){return o.push(Ir(e))});var a=[];r.forEach(function(n,r){var o={};n.forEach(function(e){var n=o[e]=t.computeStyle(r,e,i);n&&0!=n.length||(r[vr]=mr,a.push(r))}),e.set(r,o)});var s=0;return n.forEach(function(e){return Ir(e,o[s++])}),a}function Pr(e,t){var n=new Map;if(e.forEach(function(e){return n.set(e,[])}),0==t.length)return n;var r=new Set(t),i=new Map;return t.forEach(function(e){var t=function e(t){if(!t)return 1;var o=i.get(t);if(o)return o;var a=t.parentNode;return o=n.has(a)?a:r.has(a)?1:e(a),i.set(t,o),o}(e);1!==t&&n.get(t).push(e)}),n}var kr="$$classes";function Tr(e,t){if(e.classList)e.classList.add(t);else{var n=e[kr];n||(n=e[kr]={}),n[t]=!0}}function Mr(e,t){if(e.classList)e.classList.remove(t);else{var n=e[kr];n&&delete n[t]}}function Dr(e,t,n){Jt(n).onDone(function(){return e.processLeaveNode(t)})}function Nr(e,t,n){var r=n.get(e);if(!r)return!1;var i=t.get(e);return i?r.forEach(function(e){return i.add(e)}):t.set(e,r),n.delete(e),!0}var Ar=function(){function e(e,t){var n=this;this._driver=e,this._triggerCache={},this.onRemovalComplete=function(e,t){},this._transitionEngine=new Cr(e,t),this._timelineEngine=new hr(e,t),this._transitionEngine.onRemovalComplete=function(e,t){return n.onRemovalComplete(e,t)}}return e.prototype.registerTrigger=function(e,t,n,r,i){var o=e+"-"+r,a=this._triggerCache[o];if(!a){var s=[],l=Hn(this._driver,i,s);if(s.length)throw new Error('The animation trigger "'+r+'" has failed to build due to the following errors:\n - '+s.join("\n - "));a=function(e,t){return new pr(e,t)}(r,l),this._triggerCache[o]=a}this._transitionEngine.registerTrigger(t,r,a)},e.prototype.register=function(e,t){this._transitionEngine.register(e,t)},e.prototype.destroy=function(e,t){this._transitionEngine.destroy(e,t)},e.prototype.onInsert=function(e,t,n,r){this._transitionEngine.insertNode(e,t,n,r)},e.prototype.onRemove=function(e,t,n){this._transitionEngine.removeNode(e,t,n)},e.prototype.disableAnimations=function(e,t){this._transitionEngine.markElementAsDisabled(e,t)},e.prototype.process=function(e,t,n,r){if("@"==n.charAt(0)){var i=on(n);this._timelineEngine.command(i[0],t,i[1],r)}else this._transitionEngine.trigger(e,t,n,r)},e.prototype.listen=function(e,t,n,r,i){if("@"==n.charAt(0)){var o=on(n);return this._timelineEngine.listen(o[0],t,o[1],i)}return this._transitionEngine.listen(e,t,n,r,i)},e.prototype.flush=function(e){void 0===e&&(e=-1),this._transitionEngine.flush(e)},Object.defineProperty(e.prototype,"players",{get:function(){return this._transitionEngine.players.concat(this._timelineEngine.players)},enumerable:!0,configurable:!0}),e.prototype.whenRenderingDone=function(){return this._transitionEngine.whenRenderingDone()},e}(),Rr=function(){function e(e,t,n,r){void 0===r&&(r=[]);var i=this;this.element=e,this.keyframes=t,this.options=n,this.previousPlayers=r,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this.time=0,this.parentPlayer=null,this.previousStyles={},this.currentSnapshot={},this._duration=n.duration,this._delay=n.delay||0,this.time=this._duration+this._delay,(0===this._duration||0===this._delay)&&r.forEach(function(e){var t=e.currentSnapshot;Object.keys(t).forEach(function(e){return i.previousStyles[e]=t[e]})})}return e.prototype._onFinish=function(){this._finished||(this._finished=!0,this._onDoneFns.forEach(function(e){return e()}),this._onDoneFns=[])},e.prototype.init=function(){this._buildPlayer(),this._preparePlayerBeforeStart()},e.prototype._buildPlayer=function(){var e=this;if(!this._initialized){this._initialized=!0;var t=this.keyframes.map(function(e){return En(e,!1)}),n=Object.keys(this.previousStyles);if(n.length&&t.length){var r=t[0],i=[];if(n.forEach(function(t){r.hasOwnProperty(t)||i.push(t),r[t]=e.previousStyles[t]}),i.length)for(var o=this,a=function(){var e=t[s];i.forEach(function(t){e[t]=Fr(o.element,t)})},s=1;s=0&&e0?this._next(t.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()},t}(l.a);function p(e){return e}t.a=function(){for(var e=[],t=0;t1&&"number"==typeof e[e.length-1]&&(n=e.pop())):"number"==typeof s&&(n=e.pop()),null===a&&1===e.length&&e[0]instanceof r.a?e[0]:function(e){return void 0===e&&(e=Number.POSITIVE_INFINITY),function(e,t,n){return void 0===n&&(n=Number.POSITIVE_INFINITY),function(r){return"number"==typeof t&&(n=t,t=null),r.lift(new u(e,t,n))}}(p,null,e)}(n)(new i.a(e,a))}},0:function(e,t,n){e.exports=n("x35b")},"1PhI":function(e,t,n){!function(e,t,n,r){"use strict";var i,o=function(){function e(){this.disabled=!1,this.titleText="",this.onClick=new t.EventEmitter}return e.prototype.handleClick=function(e){this.disabled||this.onClick.emit(e),e.stopPropagation(),e.preventDefault()},e.decorators=[{type:t.Component,args:[{selector:"ngx-gallery-action",template:'\n

',changeDetection:t.ChangeDetectionStrategy.OnPush}]}],e.ctorParameters=function(){return[]},e.propDecorators={icon:[{type:t.Input}],disabled:[{type:t.Input}],titleText:[{type:t.Input}],onClick:[{type:t.Output}]},e}(),a=function(){function e(){this.onPrevClick=new t.EventEmitter,this.onNextClick=new t.EventEmitter}return e.prototype.handlePrevClick=function(){this.onPrevClick.emit()},e.prototype.handleNextClick=function(){this.onNextClick.emit()},e.decorators=[{type:t.Component,args:[{selector:"ngx-gallery-arrows",template:'\n \n \n ',styles:[".ngx-gallery-arrow-wrapper { position: absolute; height: 100%; width: 1px; display: table; z-index: 2000; table-layout: fixed; } .ngx-gallery-arrow-left { left: 0px; } .ngx-gallery-arrow-right { right: 0px; } .ngx-gallery-arrow { top: 50%; transform: translateY(-50%); cursor: pointer; } .ngx-gallery-arrow.ngx-gallery-disabled { opacity: 0.6; cursor: default; } .ngx-gallery-arrow-left .ngx-gallery-arrow { left: 10px; } .ngx-gallery-arrow-right .ngx-gallery-arrow { right: 10px; } "]}]}],e.ctorParameters=function(){return[]},e.propDecorators={prevDisabled:[{type:t.Input}],nextDisabled:[{type:t.Input}],arrowPrevIcon:[{type:t.Input}],arrowNextIcon:[{type:t.Input}],onPrevClick:[{type:t.Output}],onNextClick:[{type:t.Output}]},e}(),s=function(){function e(e){this.renderer=e,this.swipeHandlers=new Map}return e.prototype.manageSwipe=function(e,t,n,r,i){var o=this.getSwipeHandlers(n);try{e&&!o?this.swipeHandlers.set(n,[this.renderer.listen(t.nativeElement,"swipeleft",function(){return r()}),this.renderer.listen(t.nativeElement,"swiperight",function(){return i()})]):!e&&o&&(o.map(function(e){return e()}),this.removeSwipeHandlers(n))}catch(e){}},e.prototype.validateUrl=function(e){return e.replace?e.replace(new RegExp(" ","g"),"%20"):e},e.prototype.getBackgroundUrl=function(e){return"url('"+this.validateUrl(e)+"')"},e.prototype.getSwipeHandlers=function(e){return this.swipeHandlers.get(e)},e.prototype.removeSwipeHandlers=function(e){this.swipeHandlers.delete(e)},e.decorators=[{type:t.Injectable}],e.ctorParameters=function(){return[{type:t.Renderer}]},e}(),l=function(){function e(){}return e.Fade="fade",e.Slide="slide",e.Rotate="rotate",e.Zoom="zoom",e}(),u=function(){function e(e,n,r){this.sanitization=e,this.elementRef=n,this.helperService=r,this.onClick=new t.EventEmitter,this.onActiveChange=new t.EventEmitter,this.canChangeImage=!0}return e.prototype.ngOnInit=function(){this.arrows&&this.arrowsAutoHide&&(this.arrows=!1),this.autoPlay&&this.startAutoPlay()},e.prototype.ngOnChanges=function(e){var t=this;e.swipe&&this.helperService.manageSwipe(this.swipe,this.elementRef,"image",function(){return t.showNext()},function(){return t.showPrev()})},e.prototype.onMouseEnter=function(){this.arrowsAutoHide&&!this.arrows&&(this.arrows=!0),this.autoPlay&&this.autoPlayPauseOnHover&&this.stopAutoPlay()},e.prototype.onMouseLeave=function(){this.arrowsAutoHide&&this.arrows&&(this.arrows=!1),this.autoPlay&&this.autoPlayPauseOnHover&&this.startAutoPlay()},e.prototype.reset=function(e){this.selectedIndex=e},e.prototype.getImages=function(){if(this.lazyLoading){var e=[this.selectedIndex],t=this.selectedIndex-1;-1===t&&this.infinityMove?e.push(this.images.length-1):t>=0&&e.push(t);var n=this.selectedIndex+1;return n==this.images.length&&this.infinityMove?e.push(0):n0)},e.prototype.getSafeUrl=function(e){return this.sanitization.bypassSecurityTrustStyle(this.helperService.getBackgroundUrl(e))},e.decorators=[{type:t.Component,args:[{selector:"ngx-gallery-image",template:'\n \n \n ',styles:[":host { width: 100%; display: inline-block; position: relative; } .ngx-gallery-image-wrapper { width: 100%; height: 100%; position: absolute; left: 0px; top: 0px; overflow: hidden; } .ngx-gallery-image { background-position: center; background-repeat: no-repeat; height: 100%; width: 100%; position: absolute; top: 0px; } .ngx-gallery-image.ngx-gallery-active { z-index: 1000; } .ngx-gallery-image-size-cover .ngx-gallery-image { background-size: cover; } .ngx-gallery-image-size-contain .ngx-gallery-image { background-size: contain; } .ngx-gallery-animation-fade .ngx-gallery-image { left: 0px; opacity: 0; transition: 0.5s ease-in-out; } .ngx-gallery-animation-fade .ngx-gallery-image.ngx-gallery-active { opacity: 1; } .ngx-gallery-animation-slide .ngx-gallery-image { transition: 0.5s ease-in-out; } .ngx-gallery-animation-slide .ngx-gallery-image.ngx-gallery-active { left: 0px; } .ngx-gallery-animation-slide .ngx-gallery-image.ngx-gallery-inactive-left { left: -100%; } .ngx-gallery-animation-slide .ngx-gallery-image.ngx-gallery-inactive-right { left: 100%; } .ngx-gallery-animation-rotate .ngx-gallery-image { transition: 1s ease; transform: scale(3.5, 3.5) rotate(90deg); left: 0px; opacity: 0; } .ngx-gallery-animation-rotate .ngx-gallery-image.ngx-gallery-active { transform: scale(1, 1) rotate(0deg); opacity: 1; } .ngx-gallery-animation-zoom .ngx-gallery-image { transition: 1s ease; transform: scale(2.5, 2.5); left: 0px; opacity: 0; } .ngx-gallery-animation-zoom .ngx-gallery-image.ngx-gallery-active { transform: scale(1, 1); opacity: 1; } .ngx-gallery-image-text { width: 100%; background: rgba(0, 0, 0, 0.7); padding: 10px; text-align: center; color: white; font-size: 16px; position: absolute; bottom: 0px; z-index: 10; } "]}]}],e.ctorParameters=function(){return[{type:r.DomSanitizer},{type:t.ElementRef},{type:s}]},e.propDecorators={images:[{type:t.Input}],clickable:[{type:t.Input}],selectedIndex:[{type:t.Input}],arrows:[{type:t.Input}],arrowsAutoHide:[{type:t.Input}],swipe:[{type:t.Input}],animation:[{type:t.Input}],size:[{type:t.Input}],arrowPrevIcon:[{type:t.Input}],arrowNextIcon:[{type:t.Input}],autoPlay:[{type:t.Input}],autoPlayInterval:[{type:t.Input}],autoPlayPauseOnHover:[{type:t.Input}],infinityMove:[{type:t.Input}],lazyLoading:[{type:t.Input}],actions:[{type:t.Input}],descriptions:[{type:t.Input}],showDescription:[{type:t.Input}],onClick:[{type:t.Output}],onActiveChange:[{type:t.Output}],onMouseEnter:[{type:t.HostListener,args:["mouseenter"]}],onMouseLeave:[{type:t.HostListener,args:["mouseleave"]}]},e}(),c=function(){function e(){}return e.Column=1,e.Row=2,e}(),p=function(){function e(e,n,r){this.sanitization=e,this.elementRef=n,this.helperService=r,this.minStopIndex=0,this.onActiveChange=new t.EventEmitter,this.index=0}return e.prototype.ngOnChanges=function(e){var t=this;e.selectedIndex&&this.validateIndex(),e.swipe&&this.helperService.manageSwipe(this.swipe,this.elementRef,"thumbnails",function(){return t.moveRight()},function(){return t.moveLeft()}),this.images&&(this.remainingCountValue=this.images.length-this.columns)},e.prototype.onMouseEnter=function(){this.mouseenter=!0},e.prototype.onMouseLeave=function(){this.mouseenter=!1},e.prototype.reset=function(e){this.selectedIndex=e,this.setDefaultPosition(),this.index=0,this.validateIndex()},e.prototype.getImages=function(){if(this.remainingCount)return this.images.slice(0,this.columns);if(this.lazyLoading&&this.order!=c.Row){var e=this.index+this.columns+this.moveSize;return this.rows>1&&this.order===c.Column&&(e*=this.rows),e<=this.minStopIndex?e=this.minStopIndex:this.minStopIndex=e,this.images.slice(0,e)}return this.images},e.prototype.handleClick=function(e,t){this.hasLinks()||(this.selectedIndex=t,this.onActiveChange.emit(t),e.stopPropagation(),e.preventDefault())},e.prototype.hasLinks=function(){if(this.links&&this.links.length)return!0},e.prototype.moveRight=function(){if(this.canMoveRight()){this.index+=this.moveSize;var e=this.getMaxIndex()-this.columns;this.index>e&&(this.index=e),this.setThumbnailsPosition()}},e.prototype.moveLeft=function(){this.canMoveLeft()&&(this.index-=this.moveSize,this.index<0&&(this.index=0),this.setThumbnailsPosition())},e.prototype.canMoveRight=function(){return this.index+this.columnsthis.getVisibleCount())||this.arrowsAutoHide&&!this.mouseenter)},e.prototype.validateIndex=function(){var e;if(e=this.order===c.Column?Math.floor(this.selectedIndex/this.rows):this.selectedIndex%Math.ceil(this.images.length/this.rows),this.remainingCount&&(e=0),e=this.index+this.columns){var t=this.getMaxIndex()-this.columns;this.index=e>t?t:e,this.setThumbnailsPosition()}},e.prototype.getSafeUrl=function(e){return this.sanitization.bypassSecurityTrustStyle(this.helperService.getBackgroundUrl(e))},e.prototype.getThumbnailPosition=function(e,t){return this.getSafeStyle("calc("+100/t*e+"% + "+(this.margin-(t-1)*this.margin/t)*e+"px)")},e.prototype.getThumbnailDimension=function(e){return this.getSafeStyle(0!==this.margin?"calc("+100/e+"% - "+(e-1)*this.margin/e+"px)":"calc("+100/e+"% + 1px)")},e.prototype.getMaxIndex=function(){return Math.ceil(this.images.length/this.rows)},e.prototype.getVisibleCount=function(){return this.columns*this.rows},e.prototype.getSafeStyle=function(e){return this.sanitization.bypassSecurityTrustStyle(e)},e.decorators=[{type:t.Component,args:[{selector:"ngx-gallery-thumbnails",template:'\n \n \n ',styles:[":host { width: 100%; display: inline-block; position: relative; } .ngx-gallery-thumbnails-wrapper { width: 100%; height: 100%; position: absolute; overflow: hidden; } .ngx-gallery-thumbnails { height: 100%; width: 100%; position: absolute; left: 0px; transition: left 0.5s ease-in-out; } .ngx-gallery-thumbnails .ngx-gallery-thumbnail { position: absolute; height: 100%; background-position: center; background-repeat: no-repeat; text-decoration: none; } .ngx-gallery-thumbnail-size-cover .ngx-gallery-thumbnails .ngx-gallery-thumbnail { background-size: cover; } .ngx-gallery-thumbnail-size-contain .ngx-gallery-thumbnails .ngx-gallery-thumbnail { background-size: contain; } .ngx-gallery-remaining-count-overlay { width: 100%; height: 100%; position: absolute; left: 0px; top: 0px; background-color: rgba(0, 0, 0, 0.4); } .ngx-gallery-remaining-count { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); color: white; font-size: 30px; } "]}]}],e.ctorParameters=function(){return[{type:r.DomSanitizer},{type:t.ElementRef},{type:s}]},e.propDecorators={images:[{type:t.Input}],links:[{type:t.Input}],linkTarget:[{type:t.Input}],columns:[{type:t.Input}],rows:[{type:t.Input}],arrows:[{type:t.Input}],arrowsAutoHide:[{type:t.Input}],margin:[{type:t.Input}],selectedIndex:[{type:t.Input}],clickable:[{type:t.Input}],swipe:[{type:t.Input}],size:[{type:t.Input}],arrowPrevIcon:[{type:t.Input}],arrowNextIcon:[{type:t.Input}],moveSize:[{type:t.Input}],order:[{type:t.Input}],remainingCount:[{type:t.Input}],lazyLoading:[{type:t.Input}],actions:[{type:t.Input}],onActiveChange:[{type:t.Output}],onMouseEnter:[{type:t.HostListener,args:["mouseenter"]}],onMouseLeave:[{type:t.HostListener,args:["mouseleave"]}]},e}(),d=function(){function e(e,n,r){this.sanitization=e,this.elementRef=n,this.helperService=r,this.showSpinner=!1,this.positionLeft=0,this.positionTop=0,this.zoomValue=1,this.loading=!1,this.rotateValue=0,this.onOpen=new t.EventEmitter,this.onClose=new t.EventEmitter,this.onActiveChange=new t.EventEmitter,this.index=0,this.isOpen=!1,this.initialX=0,this.initialY=0,this.initialLeft=0,this.initialTop=0,this.isMove=!1}return e.prototype.ngOnChanges=function(e){var t=this;e.swipe&&this.helperService.manageSwipe(this.swipe,this.elementRef,"preview",function(){return t.showNext()},function(){return t.showPrev()})},e.prototype.onKeyDown=function(e){this.isOpen&&(this.keyboardNavigation&&(this.isKeyboardPrev(e)?this.showPrev():this.isKeyboardNext(e)&&this.showNext()),this.closeOnEsc&&this.isKeyboardEsc(e)&&this.close())},e.prototype.open=function(e){this.onOpen.emit(),this.index=e,this.isOpen=!0,this.show(!0),this.forceFullscreen&&this.manageFullscreen()},e.prototype.close=function(){this.isOpen=!1,this.closeFullscreen(),this.onClose.emit(),this.stopAutoPlay()},e.prototype.imageMouseEnter=function(){this.autoPlay&&this.autoPlayPauseOnHover&&this.stopAutoPlay()},e.prototype.imageMouseLeave=function(){this.autoPlay&&this.autoPlayPauseOnHover&&this.startAutoPlay()},e.prototype.startAutoPlay=function(){var e=this;this.autoPlay&&(this.stopAutoPlay(),this.timer=setTimeout(function(){e.showNext()||(e.index=-1,e.showNext())},this.autoPlayInterval))},e.prototype.stopAutoPlay=function(){this.timer&&clearTimeout(this.timer)},e.prototype.showNext=function(){return!!this.canShowNext()&&(this.index++,this.index===this.images.length&&(this.index=0),this.show(),!0)},e.prototype.showPrev=function(){this.canShowPrev()&&(this.index--,this.index<0&&(this.index=this.images.length-1),this.show())},e.prototype.canShowNext=function(){return!this.loading&&!!this.images&&!!(this.infinityMove||this.index0)},e.prototype.manageFullscreen=function(){if(this.fullscreen||this.forceFullscreen){var e=document;e.fullscreenElement||e.mozFullScreenElement||e.webkitFullscreenElement||e.msFullscreenElement?this.closeFullscreen():this.openFullscreen()}},e.prototype.getSafeUrl=function(e){return"data:image"===e.substr(0,10)?e:this.sanitization.bypassSecurityTrustUrl(e)},e.prototype.zoomIn=function(){this.canZoomIn()&&(this.zoomValue+=this.zoomStep,this.zoomValue>this.zoomMax&&(this.zoomValue=this.zoomMax))},e.prototype.zoomOut=function(){this.canZoomOut()&&(this.zoomValue-=this.zoomStep,this.zoomValuethis.zoomMin},e.prototype.canDragOnZoom=function(){return this.zoom&&this.zoomValue>1},e.prototype.mouseDownHandler=function(e){this.canDragOnZoom()&&(this.initialX=this.getClientX(e),this.initialY=this.getClientY(e),this.initialLeft=this.positionLeft,this.initialTop=this.positionTop,this.isMove=!0,e.preventDefault())},e.prototype.mouseUpHandler=function(e){this.isMove=!1},e.prototype.mouseMoveHandler=function(e){this.isMove&&(this.positionLeft=this.initialLeft+(this.getClientX(e)-this.initialX),this.positionTop=this.initialTop+(this.getClientY(e)-this.initialY))},e.prototype.getClientX=function(e){return e.touches&&e.touches.length?e.touches[0].clientX:e.clientX},e.prototype.getClientY=function(e){return e.touches&&e.touches.length?e.touches[0].clientY:e.clientY},e.prototype.resetPosition=function(){this.zoom&&(this.positionLeft=0,this.positionTop=0)},e.prototype.isKeyboardNext=function(e){return 39===e.keyCode},e.prototype.isKeyboardPrev=function(e){return 37===e.keyCode},e.prototype.isKeyboardEsc=function(e){return 27===e.keyCode},e.prototype.openFullscreen=function(){var e=document.documentElement;e.requestFullscreen?e.requestFullscreen():e.msRequestFullscreen?e.msRequestFullscreen():e.mozRequestFullScreen?e.mozRequestFullScreen():e.webkitRequestFullscreen&&e.webkitRequestFullscreen()},e.prototype.closeFullscreen=function(){var e=document;e.exitFullscreen?e.exitFullscreen():e.msExitFullscreen?e.msExitFullscreen():e.mozCancelFullScreen?e.mozCancelFullScreen():e.webkitExitFullscreen&&e.webkitExitFullscreen()},e.prototype.show=function(e){var t=this;void 0===e&&(e=!1),this.loading=!0,this.stopAutoPlay(),this.onActiveChange.emit(this.index),e||!this.animation?this._show():setTimeout(function(){return t._show()},600)},e.prototype._show=function(){var e=this;this.zoomValue=1,this.rotateValue=0,this.resetPosition(),this.src=this.getSafeUrl(this.images[this.index]),this.srcIndex=this.index,this.description=this.descriptions[this.index],setTimeout(function(){e.isLoaded(e.previewImage.nativeElement)?(e.loading=!1,e.startAutoPlay()):(setTimeout(function(){e.loading&&(e.showSpinner=!0)}),e.previewImage.nativeElement.onload=function(){e.loading=!1,e.showSpinner=!1,e.previewImage.nativeElement.onload=null,e.startAutoPlay()})})},e.prototype.isLoaded=function(e){return!!e.complete&&("undefined"==typeof e.naturalWidth||0!==e.naturalWidth)},e.decorators=[{type:t.Component,args:[{selector:"ngx-gallery-preview",template:'\n \n \n \n \n ',styles:[":host(.ngx-gallery-active) { width: 100%; height: 100%; position: fixed; left: 0; top: 0; background: rgba(0, 0, 0, 0.7); z-index: 10000; display: inline-block; } :host { display: none; } :host /deep/ .ngx-gallery-arrow { font-size: 50px; } .ngx-gallery-preview-img { opacity: 0; max-width: 90%; max-height: 90%; user-select: none; transition: transform .5s; } .ngx-gallery-preview-img.animation { transition: opacity 0.5s linear, transform .5s; } .ngx-gallery-preview-img.ngx-gallery-active { opacity: 1; } .ngx-gallery-preview-img.ngx-gallery-grab { cursor: grab; cursor: -webkit-grab; } .ngx-gallery-icon.ngx-gallery-spinner { font-size: 50px; left: 0; display: inline-block; } :host /deep/ .ngx-gallery-preview-top { position: absolute; width: 100%; user-select: none; } :host /deep/ .ngx-gallery-preview-icons { float: right; } :host /deep/ .ngx-gallery-preview-icons .ngx-gallery-icon { position: relative; margin-right: 10px; margin-top: 10px; font-size: 25px; cursor: pointer; } :host /deep/ .ngx-gallery-preview-icons .ngx-gallery-icon.ngx-gallery-icon-disabled { cursor: default; opacity: 0.4; } .ngx-spinner-wrapper { width: 50px; height: 50px; display: none; } .ngx-spinner-wrapper.ngx-gallery-active { display: inline-block; } .ngx-gallery-center { position: absolute; left: 0; right: 0; bottom: 0; margin: auto; top: 0; } .ngx-gallery-preview-text { width: 100%; background: rgba(0, 0, 0, 0.7); padding: 10px; text-align: center; color: white; font-size: 16px; flex: 0 1 auto; z-index: 10; } .ngx-gallery-preview-wrapper { width: 100%; height: 100%; display: flex; flex-flow: column; } .ngx-gallery-preview-img-wrapper { flex: 1 1 auto; position: relative; } "]}]}],e.ctorParameters=function(){return[{type:r.DomSanitizer},{type:t.ElementRef},{type:s}]},e.propDecorators={images:[{type:t.Input}],descriptions:[{type:t.Input}],showDescription:[{type:t.Input}],swipe:[{type:t.Input}],fullscreen:[{type:t.Input}],forceFullscreen:[{type:t.Input}],closeOnClick:[{type:t.Input}],closeOnEsc:[{type:t.Input}],keyboardNavigation:[{type:t.Input}],arrowPrevIcon:[{type:t.Input}],arrowNextIcon:[{type:t.Input}],closeIcon:[{type:t.Input}],fullscreenIcon:[{type:t.Input}],spinnerIcon:[{type:t.Input}],autoPlay:[{type:t.Input}],autoPlayInterval:[{type:t.Input}],autoPlayPauseOnHover:[{type:t.Input}],infinityMove:[{type:t.Input}],zoom:[{type:t.Input}],zoomStep:[{type:t.Input}],zoomMax:[{type:t.Input}],zoomMin:[{type:t.Input}],zoomInIcon:[{type:t.Input}],zoomOutIcon:[{type:t.Input}],animation:[{type:t.Input}],actions:[{type:t.Input}],rotate:[{type:t.Input}],rotateLeftIcon:[{type:t.Input}],rotateRightIcon:[{type:t.Input}],onOpen:[{type:t.Output}],onClose:[{type:t.Output}],onActiveChange:[{type:t.Output}],previewImage:[{type:t.ViewChild,args:["previewImage"]}],onKeyDown:[{type:t.HostListener,args:["window:keydown",["$event"]]}]},e}(),f=function(){function e(){}return e.Cover="cover",e.Contain="contain",e}(),h=function(){function e(){}return e.ThumbnailsTop="thumbnails-top",e.ThumbnailsBottom="thumbnails-bottom",e}(),g=function(e){this.icon=e.icon,this.disabled=!!e.disabled&&e.disabled,this.titleText=e.titleText?e.titleText:"",this.onClick=e.onClick},y=function(){return function(e){var t=void 0!==e.breakpoint;function n(n,r){return e&&(void 0!==n||t)?n:r}this.breakpoint=n(e.breakpoint,void 0),this.width=n(e.width,"500px"),this.height=n(e.height,"400px"),this.fullWidth=n(e.fullWidth,!1),this.layout=n(e.layout,h.ThumbnailsBottom),this.startIndex=n(e.startIndex,0),this.linkTarget=n(e.linkTarget,"_blank"),this.lazyLoading=n(e.lazyLoading,!0),this.image=n(e.image,!0),this.imagePercent=n(e.imagePercent,75),this.imageArrows=n(e.imageArrows,!0),this.imageArrowsAutoHide=n(e.imageArrowsAutoHide,!1),this.imageSwipe=n(e.imageSwipe,!1),this.imageAnimation=n(e.imageAnimation,l.Fade),this.imageSize=n(e.imageSize,f.Cover),this.imageAutoPlay=n(e.imageAutoPlay,!1),this.imageAutoPlayInterval=n(e.imageAutoPlayInterval,2e3),this.imageAutoPlayPauseOnHover=n(e.imageAutoPlayPauseOnHover,!1),this.imageInfinityMove=n(e.imageInfinityMove,!1),e&&e.imageActions&&e.imageActions.length&&(e.imageActions=e.imageActions.map(function(e){return new g(e)})),this.imageActions=n(e.imageActions,[]),this.imageDescription=n(e.imageDescription,!1),this.thumbnails=n(e.thumbnails,!0),this.thumbnailsColumns=n(e.thumbnailsColumns,4),this.thumbnailsRows=n(e.thumbnailsRows,1),this.thumbnailsPercent=n(e.thumbnailsPercent,25),this.thumbnailsMargin=n(e.thumbnailsMargin,10),this.thumbnailsArrows=n(e.thumbnailsArrows,!0),this.thumbnailsArrowsAutoHide=n(e.thumbnailsArrowsAutoHide,!1),this.thumbnailsSwipe=n(e.thumbnailsSwipe,!1),this.thumbnailsMoveSize=n(e.thumbnailsMoveSize,1),this.thumbnailsOrder=n(e.thumbnailsOrder,c.Column),this.thumbnailsRemainingCount=n(e.thumbnailsRemainingCount,!1),this.thumbnailsAsLinks=n(e.thumbnailsAsLinks,!1),this.thumbnailMargin=n(e.thumbnailMargin,10),this.thumbnailSize=n(e.thumbnailSize,f.Cover),e&&e.thumbnailActions&&e.thumbnailActions.length&&(e.thumbnailActions=e.thumbnailActions.map(function(e){return new g(e)})),this.thumbnailActions=n(e.thumbnailActions,[]),this.preview=n(e.preview,!0),this.previewDescription=n(e.previewDescription,!0),this.previewSwipe=n(e.previewSwipe,!1),this.previewFullscreen=n(e.previewFullscreen,!1),this.previewForceFullscreen=n(e.previewForceFullscreen,!1),this.previewCloseOnClick=n(e.previewCloseOnClick,!1),this.previewCloseOnEsc=n(e.previewCloseOnEsc,!1),this.previewKeyboardNavigation=n(e.previewKeyboardNavigation,!1),this.previewAnimation=n(e.previewAnimation,!0),this.previewAutoPlay=n(e.previewAutoPlay,!1),this.previewAutoPlayInterval=n(e.previewAutoPlayInterval,2e3),this.previewAutoPlayPauseOnHover=n(e.previewAutoPlayPauseOnHover,!1),this.previewInfinityMove=n(e.previewInfinityMove,!1),this.previewZoom=n(e.previewZoom,!1),this.previewZoomStep=n(e.previewZoomStep,.1),this.previewZoomMax=n(e.previewZoomMax,2),this.previewZoomMin=n(e.previewZoomMin,.5),this.previewRotate=n(e.previewRotate,!1),this.arrowPrevIcon=n(e.arrowPrevIcon,"fa fa-arrow-circle-left"),this.arrowNextIcon=n(e.arrowNextIcon,"fa fa-arrow-circle-right"),this.closeIcon=n(e.closeIcon,"fa fa-times-circle"),this.fullscreenIcon=n(e.fullscreenIcon,"fa fa-arrows-alt"),this.spinnerIcon=n(e.spinnerIcon,"fa fa-spinner fa-pulse fa-3x fa-fw"),this.zoomInIcon=n(e.zoomInIcon,"fa fa-search-plus"),this.zoomOutIcon=n(e.zoomOutIcon,"fa fa-search-minus"),this.rotateLeftIcon=n(e.rotateLeftIcon,"fa fa-undo"),this.rotateRightIcon=n(e.rotateRightIcon,"fa fa-repeat"),e&&e.actions&&e.actions.length&&(e.actions=e.actions.map(function(e){return new g(e)})),this.actions=n(e.actions,[])}}(),m=function(e){this.src=e.src,this.index=e.index},v=function(){function e(e){this.myElement=e,this.imagesReady=new t.EventEmitter,this.change=new t.EventEmitter,this.previewOpen=new t.EventEmitter,this.previewClose=new t.EventEmitter,this.previewChange=new t.EventEmitter,this.oldImagesLength=0,this.selectedIndex=0,this.breakpoint=void 0,this.prevBreakpoint=void 0}return e.prototype.ngOnInit=function(){this.options=this.options.map(function(e){return new y(e)}),this.sortOptions(),this.setBreakpoint(),this.setOptions(),this.checkFullWidth(),this.currentOptions&&(this.selectedIndex=this.currentOptions.startIndex)},e.prototype.ngDoCheck=function(){(void 0!==this.images&&this.images.length!==this.oldImagesLength||this.images!==this.oldImages)&&(this.oldImagesLength=this.images.length,this.oldImages=this.images,this.setImages(),this.images&&this.images.length&&this.imagesReady.emit(),this.image&&this.image.reset(this.currentOptions.startIndex),this.resetThumbnails())},e.prototype.ngAfterViewInit=function(){this.checkFullWidth()},e.prototype.onResize=function(){var e=this;this.setBreakpoint(),this.prevBreakpoint!==this.breakpoint&&(this.setOptions(),this.resetThumbnails()),this.currentOptions&&this.currentOptions.fullWidth&&(this.fullWidthTimeout&&clearTimeout(this.fullWidthTimeout),this.fullWidthTimeout=setTimeout(function(){e.checkFullWidth()},200))},e.prototype.getImageHeight=function(){return this.currentOptions&&this.currentOptions.thumbnails?this.currentOptions.imagePercent+"%":"100%"},e.prototype.getThumbnailsHeight=function(){return this.currentOptions&&this.currentOptions.image?"calc("+this.currentOptions.thumbnailsPercent+"% - "+this.currentOptions.thumbnailsMargin+"px)":"100%"},e.prototype.getThumbnailsMarginTop=function(){return this.currentOptions&&this.currentOptions.layout===h.ThumbnailsBottom?this.currentOptions.thumbnailsMargin+"px":"0px"},e.prototype.getThumbnailsMarginBottom=function(){return this.currentOptions&&this.currentOptions.layout===h.ThumbnailsTop?this.currentOptions.thumbnailsMargin+"px":"0px"},e.prototype.openPreview=function(e){this.previewEnabled=!0,this.preview.open(e)},e.prototype.onPreviewOpen=function(){this.previewOpen.emit(),this.image&&this.image.autoPlay&&this.image.stopAutoPlay()},e.prototype.onPreviewClose=function(){this.previewEnabled=!1,this.previewClose.emit(),this.image&&this.image.autoPlay&&this.image.startAutoPlay()},e.prototype.selectFromImage=function(e){this.select(e)},e.prototype.selectFromThumbnails=function(e){this.select(e),this.currentOptions&&this.currentOptions.thumbnails&&this.currentOptions.preview&&(!this.currentOptions.image||this.currentOptions.thumbnailsRemainingCount)&&this.openPreview(this.selectedIndex)},e.prototype.show=function(e){this.select(e)},e.prototype.showNext=function(){this.image.showNext()},e.prototype.showPrev=function(){this.image.showPrev()},e.prototype.canShowNext=function(){return!(!this.images||!this.currentOptions||!(this.currentOptions.imageInfinityMove||this.selectedIndex0))},e.prototype.previewSelect=function(e){this.previewChange.emit({index:e,image:this.images[e]})},e.prototype.resetThumbnails=function(){this.thubmnails&&this.thubmnails.reset(this.currentOptions.startIndex)},e.prototype.select=function(e){this.selectedIndex=e,this.change.emit({index:e,image:this.images[e]})},e.prototype.checkFullWidth=function(){this.currentOptions&&this.currentOptions.fullWidth&&(this.width=document.body.clientWidth+"px",this.left=-(document.body.clientWidth-this.myElement.nativeElement.parentNode.innerWidth)/2+"px")},e.prototype.setImages=function(){this.smallImages=this.images.map(function(e){return e.small}),this.mediumImages=this.images.map(function(e,t){return new m({src:e.medium,index:t})}),this.bigImages=this.images.map(function(e){return e.big}),this.descriptions=this.images.map(function(e){return e.description}),this.links=this.images.map(function(e){return e.url})},e.prototype.setBreakpoint=function(){var e;this.prevBreakpoint=this.breakpoint,"undefined"!=typeof window&&(e=this.options.filter(function(e){return e.breakpoint>=window.innerWidth}).map(function(e){return e.breakpoint})),this.breakpoint=e&&e.length?e.pop():void 0},e.prototype.sortOptions=function(){this.options=this.options.filter(function(e){return void 0===e.breakpoint}).concat(this.options.filter(function(e){return void 0!==e.breakpoint}).sort(function(e,t){return t.breakpoint-e.breakpoint}))},e.prototype.setOptions=function(){var e=this;this.currentOptions=new y({}),this.options.filter(function(t){return void 0===t.breakpoint||t.breakpoint>=e.breakpoint}).map(function(t){return e.combineOptions(e.currentOptions,t)}),this.width=this.currentOptions.width,this.height=this.currentOptions.height},e.prototype.combineOptions=function(e,t){Object.keys(t).map(function(n){return e[n]=void 0!==t[n]?t[n]:e[n]})},e.decorators=[{type:t.Component,args:[{selector:"ngx-gallery",template:'\n \n ',styles:[":host { display: inline-block; } :host > * { float: left; } :host /deep/ * { box-sizing: border-box; } :host /deep/ .ngx-gallery-icon { color: white; font-size: 25px; position: absolute; z-index: 2000; display: inline-block; } :host /deep/ .ngx-gallery-icon .ngx-gallery-icon-content { display: block; } :host /deep/ .ngx-gallery-clickable { cursor: pointer; } :host /deep/ .ngx-gallery-icons-wrapper .ngx-gallery-icon { position: relative; margin-right: 5px; margin-top: 5px; font-size: 20px; cursor: pointer; } :host /deep/ .ngx-gallery-icons-wrapper { float: right; } :host .ngx-gallery-layout { width: 100%; height: 100%; display: flex; flex-direction: column; } :host .ngx-gallery-layout.thumbnails-top ngx-gallery-image { order: 2; } :host .ngx-gallery-layout.thumbnails-top ngx-gallery-thumbnails { order: 1; } :host .ngx-gallery-layout.thumbnails-bottom ngx-gallery-image { order: 1; } :host .ngx-gallery-layout.thumbnails-bottom ngx-gallery-thumbnails { order: 2; } "],providers:[s]}]}],e.ctorParameters=function(){return[{type:t.ElementRef}]},e.propDecorators={options:[{type:t.Input}],images:[{type:t.Input}],imagesReady:[{type:t.Output}],change:[{type:t.Output}],previewOpen:[{type:t.Output}],previewClose:[{type:t.Output}],previewChange:[{type:t.Output}],preview:[{type:t.ViewChild,args:[d]}],image:[{type:t.ViewChild,args:[u]}],thubmnails:[{type:t.ViewChild,args:[p]}],width:[{type:t.HostBinding,args:["style.width"]}],height:[{type:t.HostBinding,args:["style.height"]}],left:[{type:t.HostBinding,args:["style.left"]}],onResize:[{type:t.HostListener,args:["window:resize"]}]},e}(),b=(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),_=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.overrides={pinch:{enable:!1},rotate:{enable:!1}},t}return b(t,e),t}(r.HammerGestureConfig),w=function(){function e(){}return e.decorators=[{type:t.NgModule,args:[{imports:[n.CommonModule],declarations:[o,a,u,p,d,v],exports:[v],providers:[{provide:r.HAMMER_GESTURE_CONFIG,useClass:_}]}]}],e.ctorParameters=function(){return[]},e}();e.CustomHammerConfig=_,e.NgxGalleryModule=w,e.NgxGalleryComponent=v,e.NgxGalleryActionComponent=o,e.NgxGalleryImageComponent=u,e.NgxGalleryThumbnailsComponent=p,e.NgxGalleryPreviewComponent=d,e.NgxGalleryArrowsComponent=a,e.NgxGalleryOptions=y,e.NgxGalleryImage=function(e){this.small=e.small,this.medium=e.medium,this.big=e.big,this.description=e.description,this.url=e.url},e.NgxGalleryAnimation=l,e.NgxGalleryHelperService=s,e.NgxGalleryImageSize=f,e.NgxGalleryLayout=h,e.NgxGalleryOrder=c,e.NgxGalleryOrderedImage=m,e.NgxGalleryAction=g,Object.defineProperty(e,"__esModule",{value:!0})}(t,n("WT6e"),n("Xjw4"),n("OE0E"))},"1Q68":function(e,t,n){"use strict";t.a=function(e){return e&&"function"==typeof e.schedule}},"48V2":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("WT6e");t.HighlightJsService=function(){function e(){}return e.prototype.highlight=function(e,t){t&&hljs.configure({useBR:!0}),hljs.highlightBlock(e)},e.decorators=[{type:r.Injectable}],e}()},AMGY:function(e,t,n){"use strict";(function(e){n.d(t,"a",function(){return o});var r="undefined"!=typeof window&&window,i="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,o=r||"undefined"!=typeof e&&e||i}).call(t,n("DuR2"))},BX3T:function(e,t,n){"use strict";n.d(t,"a",function(){return r});var r=Array.isArray||function(e){return e&&"number"==typeof e.length}},DuR2:function(e,t){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(e){"object"==typeof window&&(n=window)}e.exports=n},GK6M:function(e,t,n){"use strict";t.a=function(e){return r=e,o};var r,i=n("fKB6");function o(){try{return r.apply(this,arguments)}catch(e){return i.a.e=e,i.a}}},Jnfr:function(e,t){function n(e){return Promise.resolve().then(function(){throw new Error("Cannot find module '"+e+"'.")})}n.keys=function(){return[]},n.resolve=n,e.exports=n,n.id="Jnfr"},OE0E:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n.d(t,"BrowserModule",function(){return Qe}),n.d(t,"platformBrowser",function(){return We}),n.d(t,"Meta",function(){return w}),n.d(t,"Title",function(){return I}),n.d(t,"disableDebugTools",function(){return tt}),n.d(t,"enableDebugTools",function(){return et}),n.d(t,"BrowserTransferStateModule",function(){return at}),n.d(t,"TransferState",function(){return it}),n.d(t,"makeStateKey",function(){return rt}),n.d(t,"By",function(){return st}),n.d(t,"DOCUMENT",function(){return v}),n.d(t,"EVENT_MANAGER_PLUGINS",function(){return A}),n.d(t,"EventManager",function(){return R}),n.d(t,"HAMMER_GESTURE_CONFIG",function(){return ue}),n.d(t,"HammerGestureConfig",function(){return ce}),n.d(t,"DomSanitizer",function(){return Fe}),n.d(t,"VERSION",function(){return lt}),n.d(t,"\u0275BROWSER_SANITIZATION_PROVIDERS",function(){return Ze}),n.d(t,"\u0275INTERNAL_BROWSER_PLATFORM_PROVIDERS",function(){return Ge}),n.d(t,"\u0275initDomAdapter",function(){return qe}),n.d(t,"\u0275BrowserDomAdapter",function(){return y}),n.d(t,"\u0275BrowserPlatformLocation",function(){return _}),n.d(t,"\u0275TRANSITION_ID",function(){return x}),n.d(t,"\u0275BrowserGetTestability",function(){return E}),n.d(t,"\u0275escapeHtml",function(){return nt}),n.d(t,"\u0275ELEMENT_PROBE_PROVIDERS",function(){return N}),n.d(t,"\u0275DomAdapter",function(){return c}),n.d(t,"\u0275getDOM",function(){return s}),n.d(t,"\u0275setRootDomAdapter",function(){return l}),n.d(t,"\u0275DomRendererFactory2",function(){return q}),n.d(t,"\u0275NAMESPACE_URIS",function(){return V}),n.d(t,"\u0275flattenStyles",function(){return Z}),n.d(t,"\u0275shimContentAttribute",function(){return U}),n.d(t,"\u0275shimHostAttribute",function(){return G}),n.d(t,"\u0275DomEventsPlugin",function(){return se}),n.d(t,"\u0275HammerGesturesPlugin",function(){return pe}),n.d(t,"\u0275KeyEventsPlugin",function(){return he}),n.d(t,"\u0275DomSharedStylesHost",function(){return j}),n.d(t,"\u0275SharedStylesHost",function(){return L}),n.d(t,"\u0275b",function(){return $e}),n.d(t,"\u0275a",function(){return Ke}),n.d(t,"\u0275i",function(){return p}),n.d(t,"\u0275g",function(){return O}),n.d(t,"\u0275f",function(){return C}),n.d(t,"\u0275c",function(){return ot}),n.d(t,"\u0275h",function(){return D}),n.d(t,"\u0275d",function(){return F}),n.d(t,"\u0275e",function(){return Le});var r=n("Xjw4"),i=n("WT6e"),o=n("TToO"),a=null;function s(){return a}function l(e){a||(a=e)}var u,c=function(){function e(){this.resourceLoaderType=null}return Object.defineProperty(e.prototype,"attrToPropMap",{get:function(){return this._attrToPropMap},set:function(e){this._attrToPropMap=e},enumerable:!0,configurable:!0}),e}(),p=function(e){function t(){var t=e.call(this)||this;t._animationPrefix=null,t._transitionEnd=null;try{var n=t.createElement("div",document);if(null!=t.getStyle(n,"animationName"))t._animationPrefix="";else for(var r=["Webkit","Moz","O","ms"],i=0;i0},t.prototype.tagName=function(e){return e.tagName},t.prototype.attributeMap=function(e){for(var t=new Map,n=e.attributes,r=0;r0;s||(s=e[a]=[]);var u=oe(t)?Zone.root:Zone.current;if(0===s.length)s.push({zone:u,handler:o});else{for(var c=!1,p=0;p-1},t}(F),de=["alt","control","meta","shift"],fe={alt:function(e){return e.altKey},control:function(e){return e.ctrlKey},meta:function(e){return e.metaKey},shift:function(e){return e.shiftKey}},he=function(e){function t(t){return e.call(this,t)||this}return Object(o.b)(t,e),t.prototype.supports=function(e){return null!=t.parseEventName(e)},t.prototype.addEventListener=function(e,n,r){var i=t.parseEventName(n),o=t.eventCallback(i.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular(function(){return s().onAndCancel(e,i.domEventName,o)})},t.parseEventName=function(e){var n=e.toLowerCase().split("."),r=n.shift();if(0===n.length||"keydown"!==r&&"keyup"!==r)return null;var i=t._normalizeKey(n.pop()),o="";if(de.forEach(function(e){var t=n.indexOf(e);t>-1&&(n.splice(t,1),o+=e+".")}),o+=i,0!=n.length||0===i.length)return null;var a={};return a.domEventName=r,a.fullKey=o,a},t.getEventFullKey=function(e){var t="",n=s().getEventKey(e);return" "===(n=n.toLowerCase())?n="space":"."===n&&(n="dot"),de.forEach(function(r){r!=n&&(0,fe[r])(e)&&(t+=r+".")}),t+=n},t.eventCallback=function(e,n,r){return function(i){t.getEventFullKey(i)===e&&r.runGuarded(function(){return n(i)})}},t._normalizeKey=function(e){switch(e){case"esc":return"escape";default:return e}},t}(F),ge=function(){function e(e,t){this.defaultDoc=e,this.DOM=t;var n=this.DOM.createHtmlDocument();if(this.inertBodyElement=n.body,null==this.inertBodyElement){var r=this.DOM.createElement("html",n);this.inertBodyElement=this.DOM.createElement("body",n),this.DOM.appendChild(r,this.inertBodyElement),this.DOM.appendChild(n,r)}this.DOM.setInnerHTML(this.inertBodyElement,''),!this.inertBodyElement.querySelector||this.inertBodyElement.querySelector("svg")?(this.DOM.setInnerHTML(this.inertBodyElement,'

'),this.getInertBodyElement=this.inertBodyElement.querySelector&&this.inertBodyElement.querySelector("svg img")&&function(){try{return!!window.DOMParser}catch(e){return!1}}()?this.getInertBodyElement_DOMParser:this.getInertBodyElement_InertDocument):this.getInertBodyElement=this.getInertBodyElement_XHR}return e.prototype.getInertBodyElement_XHR=function(e){e=""+e+"";try{e=encodeURI(e)}catch(e){return null}var t=new XMLHttpRequest;t.responseType="document",t.open("GET","data:text/html;charset=utf-8,"+e,!1),t.send(null);var n=t.response.body;return n.removeChild(n.firstChild),n},e.prototype.getInertBodyElement_DOMParser=function(e){e=""+e+"";try{var t=(new window.DOMParser).parseFromString(e,"text/html").body;return t.removeChild(t.firstChild),t}catch(e){return null}},e.prototype.getInertBodyElement_InertDocument=function(e){var t=this.DOM.createElement("template");return"content"in t?(this.DOM.setInnerHTML(t,e),t):(this.DOM.setInnerHTML(this.inertBodyElement,e),this.defaultDoc.documentMode&&this.stripCustomNsAttrs(this.inertBodyElement),this.inertBodyElement)},e.prototype.stripCustomNsAttrs=function(e){var t=this;this.DOM.attributeMap(e).forEach(function(n,r){"xmlns:ns1"!==r&&0!==r.indexOf("ns1:")||t.DOM.removeAttribute(e,r)});for(var n=0,r=this.DOM.childNodesAsList(e);n")):this.sanitizedSomething=!0},e.prototype.endElement=function(e){var t=this.DOM.nodeName(e).toLowerCase();Ie.hasOwnProperty(t)&&!xe.hasOwnProperty(t)&&(this.buf.push(""))},e.prototype.chars=function(e){this.buf.push(Ne(e))},e.prototype.checkClobberedElement=function(e,t){if(t&&this.DOM.contains(e,t))throw new Error("Failed to sanitize html because the element is clobbered: "+this.DOM.getOuterHTML(e));return t},e}(),Me=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,De=/([^\#-~ |!])/g;function Ne(e){return e.replace(/&/g,"&").replace(Me,function(e){return"&#"+(1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320)+65536)+";"}).replace(De,function(e){return"&#"+e.charCodeAt(0)+";"}).replace(//g,">")}var Ae=new RegExp("^([-,.\"'%_!# a-zA-Z0-9]+|(?:(?:matrix|translate|scale|rotate|skew|perspective)(?:X|Y|3d)?|(?:rgb|hsl)a?|(?:repeating-)?(?:linear|radial)-gradient|(?:calc|attr))\\([-0-9.%, #a-zA-Z]+\\))$","g"),Re=/^url\(([^)]+)\)$/,Fe=function(){},Le=function(e){function t(t){var n=e.call(this)||this;return n._doc=t,n}return Object(o.b)(t,e),t.prototype.sanitize=function(e,t){if(null==t)return null;switch(e){case i.SecurityContext.NONE:return t;case i.SecurityContext.HTML:return t instanceof Ve?t.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(t,"HTML"),function(e,t){var n=s(),r=null;try{we=we||new ge(e,n);var o=t?String(t):"";r=we.getInertBodyElement(o);var a=5,l=o;do{if(0===a)throw new Error("Failed to sanitize html because the input is unstable");a--,o=l,l=n.getInnerHTML(r),r=we.getInertBodyElement(o)}while(o!==l);var u=new Te,c=u.sanitizeChildren(n.getTemplateContent(r)||r);return Object(i.isDevMode)()&&u.sanitizedSomething&&n.log("WARNING: sanitizing HTML stripped some content (see http://g.co/ng/security#xss)."),c}finally{if(r)for(var p=n.getTemplateContent(r)||r,d=0,f=n.childNodesAsList(p);d":"&g;"};return e.replace(/[&"'<>]/g,function(e){return t[e]})}function rt(e){return e}var it=function(){function e(){this.store={},this.onSerializeCallbacks={}}return e.init=function(t){var n=new e;return n.store=t,n},e.prototype.get=function(e,t){return void 0!==this.store[e]?this.store[e]:t},e.prototype.set=function(e,t){this.store[e]=t},e.prototype.remove=function(e){delete this.store[e]},e.prototype.hasKey=function(e){return this.store.hasOwnProperty(e)},e.prototype.onSerialize=function(e,t){this.onSerializeCallbacks[e]=t},e.prototype.toJson=function(){for(var e in this.onSerializeCallbacks)if(this.onSerializeCallbacks.hasOwnProperty(e))try{this.store[e]=this.onSerializeCallbacks[e]()}catch(e){console.warn("Exception in onSerialize callback: ",e)}return JSON.stringify(this.store)},e}();function ot(e,t){var n,r=e.getElementById(t+"-state"),i={};if(r&&r.textContent)try{i=JSON.parse((n={"&a;":"&","&q;":'"',"&s;":"'","&l;":"<","&g;":">"},r.textContent.replace(/&[^;]+;/g,function(e){return n[e]})))}catch(e){console.warn("Exception while restoring TransferState for app "+t,e)}return it.init(i)}var at=function(){},st=function(){function e(){}return e.all=function(){return function(e){return!0}},e.css=function(e){return function(t){return null!=t.nativeElement&&s().elementMatches(t.nativeElement,e)}},e.directive=function(e){return function(t){return-1!==t.providerTokens.indexOf(e)}},e}(),lt=new i.Version("5.2.11")},OVmG:function(e,t,n){"use strict";n.d(t,"a",function(){return l});var r=n("TToO"),i=n("/iUD"),o=n("VwZZ"),a=n("t7NR"),s=n("tLDX"),l=function(e){function t(t,n,r){switch(e.call(this),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=a.a;break;case 1:if(!t){this.destination=a.a;break}if("object"==typeof t){if(c(t)){var i=t[s.a]();this.syncErrorThrowable=i.syncErrorThrowable,this.destination=i,i.add(this)}else this.syncErrorThrowable=!0,this.destination=new u(this,t);break}default:this.syncErrorThrowable=!0,this.destination=new u(this,t,n,r)}}return Object(r.b)(t,e),t.prototype[s.a]=function(){return this},t.create=function(e,n,r){var i=new t(e,n,r);return i.syncErrorThrowable=!1,i},t.prototype.next=function(e){this.isStopped||this._next(e)},t.prototype.error=function(e){this.isStopped||(this.isStopped=!0,this._error(e))},t.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},t.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,e.prototype.unsubscribe.call(this))},t.prototype._next=function(e){this.destination.next(e)},t.prototype._error=function(e){this.destination.error(e),this.unsubscribe()},t.prototype._complete=function(){this.destination.complete(),this.unsubscribe()},t.prototype._unsubscribeAndRecycle=function(){var e=this._parent,t=this._parents;return this._parent=null,this._parents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parent=e,this._parents=t,this},t}(o.a),u=function(e){function t(t,n,r,o){var s;e.call(this),this._parentSubscriber=t;var l=this;Object(i.a)(n)?s=n:n&&(s=n.next,r=n.error,o=n.complete,n!==a.a&&(l=Object.create(n),Object(i.a)(l.unsubscribe)&&this.add(l.unsubscribe.bind(l)),l.unsubscribe=this.unsubscribe.bind(this))),this._context=l,this._next=s,this._error=r,this._complete=o}return Object(r.b)(t,e),t.prototype.next=function(e){if(!this.isStopped&&this._next){var t=this._parentSubscriber;t.syncErrorThrowable?this.__tryOrSetError(t,this._next,e)&&this.unsubscribe():this.__tryOrUnsub(this._next,e)}},t.prototype.error=function(e){if(!this.isStopped){var t=this._parentSubscriber;if(this._error)t.syncErrorThrowable?(this.__tryOrSetError(t,this._error,e),this.unsubscribe()):(this.__tryOrUnsub(this._error,e),this.unsubscribe());else{if(!t.syncErrorThrowable)throw this.unsubscribe(),e;t.syncErrorValue=e,t.syncErrorThrown=!0,this.unsubscribe()}}},t.prototype.complete=function(){var e=this;if(!this.isStopped){var t=this._parentSubscriber;if(this._complete){var n=function(){return e._complete.call(e._context)};t.syncErrorThrowable?(this.__tryOrSetError(t,n),this.unsubscribe()):(this.__tryOrUnsub(n),this.unsubscribe())}else this.unsubscribe()}},t.prototype.__tryOrUnsub=function(e,t){try{e.call(this._context,t)}catch(e){throw this.unsubscribe(),e}},t.prototype.__tryOrSetError=function(e,t,n){try{t.call(this._context,n)}catch(t){return e.syncErrorValue=t,e.syncErrorThrown=!0,!0}return!1},t.prototype._unsubscribe=function(){var e=this._parentSubscriber;this._context=null,this._parentSubscriber=null,e.unsubscribe()},t}(l);function c(e){return e instanceof l||"syncErrorThrowable"in e&&e[s.a]}},PIsA:function(e,t,n){"use strict";var r=n("AMGY"),i=n("dgOU"),o=n("YaPU"),a=function(e){var t=e.Symbol;if("function"==typeof t)return t.iterator||(t.iterator=t("iterator polyfill")),t.iterator;var n=e.Set;if(n&&"function"==typeof(new n)["@@iterator"])return"@@iterator";var r=e.Map;if(r)for(var i=Object.getOwnPropertyNames(r.prototype),o=0;o1)this.connection=null;else{var n=this.connection,r=e._connection;this.connection=null,!r||n&&r!==n||r.unsubscribe()}}else this.connection=null},t}(a.a),p=function(e){function t(t,n){e.call(this),this.source=t,this.subjectFactory=n,this._refCount=0,this._isComplete=!1}return Object(r.b)(t,e),t.prototype._subscribe=function(e){return this.getSubject().subscribe(e)},t.prototype.getSubject=function(){var e=this._subject;return e&&!e.isStopped||(this._subject=this.subjectFactory()),this._subject},t.prototype.connect=function(){var e=this._connection;return e||(this._isComplete=!1,(e=this._connection=new s.a).add(this.source.subscribe(new f(this.getSubject(),this))),e.closed?(this._connection=null,e=s.a.EMPTY):this._connection=e),e},t.prototype.refCount=function(){return l()(this)},t}(o.a).prototype,d={operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:p._subscribe},_isComplete:{value:p._isComplete,writable:!0},getSubject:{value:p.getSubject},connect:{value:p.connect},refCount:{value:p.refCount}},f=function(e){function t(t,n){e.call(this,t),this.connectable=n}return Object(r.b)(t,e),t.prototype._error=function(t){this._unsubscribe(),e.prototype._error.call(this,t)},t.prototype._complete=function(){this.connectable._isComplete=!0,this._unsubscribe(),e.prototype._complete.call(this)},t.prototype._unsubscribe=function(){var e=this.connectable;if(e){this.connectable=null;var t=e._connection;e._refCount=0,e._subject=null,e._connection=null,t&&t.unsubscribe()}},t}(i.b);function h(){return new i.a}t.a=function(){return this,l()((e=h,function(t){var n;n="function"==typeof e?e:function(){return e};var r=Object.create(t,d);return r.source=t,r.subjectFactory=n,r})(this));var e}},TToO:function(e,t,n){"use strict";t.b=function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},n.d(t,"a",function(){return i});var r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n1?new t(e,r):1===i?new o(e[0],r):new a(r)},t.dispatch=function(e){var t=e.array,n=e.index,r=e.subscriber;n>=e.count?r.complete():(r.next(t[n]),r.closed||(e.index=n+1,this.schedule(e)))},t.prototype._subscribe=function(e){var n=this.array,r=n.length,i=this.scheduler;if(i)return i.schedule(t.dispatch,0,{array:n,index:0,count:r,subscriber:e});for(var o=0;o ");else if("object"==typeof t){var i=[];for(var o in t)if(t.hasOwnProperty(o)){var a=t[o];i.push(o+":"+("string"==typeof a?JSON.stringify(a):ee(a)))}r="{"+i.join(", ")+"}"}return"StaticInjectorError"+(n?"("+n+")":"")+"["+r+"]: "+e.replace(ge,"\n ")}function _e(e,t){return new Error(be(e,t))}var we="ngDebugContext",xe="ngOriginalError",Ce="ngErrorLogger";function Oe(e){return e[we]}function Ee(e){return e[xe]}function Ie(e){for(var t=[],n=1;n1?" ("+function(e){for(var t=[],n=0;n-1)return t.push(e[n]),t;t.push(e[n])}return t}(e.slice().reverse()).map(function(e){return ee(e.token)}).join(" -> ")+")":""}function ke(e,t,n,r){var i=[t],o=n(i),a=r?function(e,t){var n=o+" caused by: "+(t instanceof Error?t.message:t),r=Error(n);return r[xe]=t,r}(0,r):Error(o);return a.addKey=Te,a.keys=i,a.injectors=[e],a.constructResolvingMessage=n,a[xe]=r,a}function Te(e,t){this.injectors.push(e),this.keys.push(t),this.message=this.constructResolvingMessage(this.keys)}function Me(e,t){for(var n=[],r=0,i=t.length;r=this._providers.length)throw function(e){return Error("Index "+e+" is out-of-bounds.")}(e);return this._providers[e]},e.prototype._new=function(e){if(this._constructionCounter++>this._getMaxNumberOfObjects())throw ke(this,e.key,function(e){return"Cannot instantiate cyclic dependency!"+Pe(e)});return this._instantiateProvider(e)},e.prototype._getMaxNumberOfObjects=function(){return this.objs.length},e.prototype._instantiateProvider=function(e){if(e.multiProvider){for(var t=new Array(e.resolvedFactories.length),n=0;n0)e._bootstrapComponents.forEach(function(e){return t.bootstrap(e)});else{if(!e.instance.ngDoBootstrap)throw new Error("The module "+ee(e.instance.constructor)+' was bootstrapped, but it does not declare "@NgModule.bootstrap" components nor a "ngDoBootstrap" method. Please define one of these.');e.instance.ngDoBootstrap(t)}this._modules.push(e)},e.prototype.onDestroy=function(e){this._destroyListeners.push(e)},Object.defineProperty(e.prototype,"injector",{get:function(){return this._injector},enumerable:!0,configurable:!0}),e.prototype.destroy=function(){if(this._destroyed)throw new Error("The platform has already been destroyed!");this._modules.slice().forEach(function(e){return e.destroy()}),this._destroyListeners.forEach(function(e){return e()}),this._destroyed=!0},Object.defineProperty(e.prototype,"destroyed",{get:function(){return this._destroyed},enumerable:!0,configurable:!0}),e}();function hn(e,t){return Array.isArray(t)?t.reduce(hn,e):Object(r.a)({},e,t)}var gn=function(){function e(e,t,n,r,s,l){var u=this;this._zone=e,this._console=t,this._injector=n,this._exceptionHandler=r,this._componentFactoryResolver=s,this._initStatus=l,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._enforceNoNewChanges=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._enforceNoNewChanges=an(),this._zone.onMicrotaskEmpty.subscribe({next:function(){u._zone.run(function(){u.tick()})}});var c=new i.a(function(e){u._stable=u._zone.isStable&&!u._zone.hasPendingMacrotasks&&!u._zone.hasPendingMicrotasks,u._zone.runOutsideAngular(function(){e.next(u._stable),e.complete()})}),p=new i.a(function(e){var t;u._zone.runOutsideAngular(function(){t=u._zone.onStable.subscribe(function(){Ut.assertNotInAngularZone(),J(function(){u._stable||u._zone.hasPendingMacrotasks||u._zone.hasPendingMicrotasks||(u._stable=!0,e.next(!0))})})});var n=u._zone.onUnstable.subscribe(function(){Ut.assertInAngularZone(),u._stable&&(u._stable=!1,u._zone.runOutsideAngular(function(){e.next(!1)}))});return function(){t.unsubscribe(),n.unsubscribe()}});this.isStable=Object(o.a)(c,a.a.call(p))}return e.prototype.bootstrap=function(e,t){var n,r=this;if(!this._initStatus.done)throw new Error("Cannot bootstrap as there are still asynchronous initializers running. Bootstrap components in the `ngDoBootstrap` method of the root module.");n=e instanceof _t?e:this._componentFactoryResolver.resolveComponentFactory(e),this.componentTypes.push(n.componentType);var i=n instanceof Pt?null:this._injector.get(kt),o=n.create(se.NULL,[],t||n.selector,i);o.onDestroy(function(){r._unloadComponent(o)});var a=o.injector.get(Qt,null);return a&&o.injector.get(Yt).registerApplication(o.location.nativeElement,a),this._loadComponent(o),an()&&this._console.log("Angular is running in the development mode. Call enableProdMode() to enable the production mode."),o},e.prototype.tick=function(){var t=this;if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");var n=e._tickScope();try{this._runningTick=!0,this._views.forEach(function(e){return e.detectChanges()}),this._enforceNoNewChanges&&this._views.forEach(function(e){return e.checkNoChanges()})}catch(e){this._zone.runOutsideAngular(function(){return t._exceptionHandler.handleError(e)})}finally{this._runningTick=!1,Vt(n)}},e.prototype.attachView=function(e){var t=e;this._views.push(t),t.attachToAppRef(this)},e.prototype.detachView=function(e){var t=e;yn(this._views,t),t.detachFromAppRef()},e.prototype._loadComponent=function(e){this.attachView(e.hostView),this.tick(),this.components.push(e),this._injector.get(pt,[]).concat(this._bootstrapListeners).forEach(function(t){return t(e)})},e.prototype._unloadComponent=function(e){this.detachView(e.hostView),yn(this.components,e)},e.prototype.ngOnDestroy=function(){this._views.slice().forEach(function(e){return e.destroy()})},Object.defineProperty(e.prototype,"viewCount",{get:function(){return this._views.length},enumerable:!0,configurable:!0}),e._tickScope=jt("ApplicationRef#tick()"),e}();function yn(e,t){var n=e.indexOf(t);n>-1&&e.splice(n,1)}var mn=function(e,t,n,r,i,o){this.id=e,this.templateUrl=t,this.slotCount=n,this.encapsulation=r,this.styles=i,this.animations=o},vn=function(){},bn=function(){},_n=function(){},wn=function(){},xn=function(){var e={Important:1,DashCase:2};return e[e.Important]="Important",e[e.DashCase]="DashCase",e}(),Cn=function(){},On=function(e){this.nativeElement=e},En=function(){},In=new Map;function Sn(e,t){var n=In.get(e);if(n)throw new Error("Duplicate module registered for "+e+" - "+n.moduleType.name+" vs "+t.moduleType.name);In.set(e,t)}function Pn(e){var t=In.get(e);if(!t)throw new Error("No module with ID "+e+" loaded");return t}var kn=function(){function e(){this.dirty=!0,this._results=[],this.changes=new Bt,this.length=0}return e.prototype.map=function(e){return this._results.map(e)},e.prototype.filter=function(e){return this._results.filter(e)},e.prototype.find=function(e){return this._results.find(e)},e.prototype.reduce=function(e,t){return this._results.reduce(e,t)},e.prototype.forEach=function(e){this._results.forEach(e)},e.prototype.some=function(e){return this._results.some(e)},e.prototype.toArray=function(){return this._results.slice()},e.prototype[Y()]=function(){return this._results[Y()]()},e.prototype.toString=function(){return this._results.toString()},e.prototype.reset=function(e){this._results=function e(t){return t.reduce(function(t,n){var r=Array.isArray(n)?e(n):n;return t.concat(r)},[])}(e),this.dirty=!1,this.length=this._results.length,this.last=this._results[this.length-1],this.first=this._results[0]},e.prototype.notifyOnChanges=function(){this.changes.emit(this)},e.prototype.setDirty=function(){this.dirty=!0},e.prototype.destroy=function(){this.changes.complete(),this.changes.unsubscribe()},e}(),Tn=function(){},Mn={factoryPathPrefix:"",factoryPathSuffix:".ngfactory"},Dn=function(){function e(e,t){this._compiler=e,this._config=t||Mn}return e.prototype.load=function(e){return this._compiler instanceof yt?this.loadFactory(e):this.loadAndCompile(e)},e.prototype.loadAndCompile=function(e){var t=this,r=e.split("#"),i=r[0],o=r[1];return void 0===o&&(o="default"),n("Jnfr")(i).then(function(e){return e[o]}).then(function(e){return Nn(e,i,o)}).then(function(e){return t._compiler.compileModuleAsync(e)})},e.prototype.loadFactory=function(e){var t=e.split("#"),r=t[0],i=t[1],o="NgFactory";return void 0===i&&(i="default",o=""),n("Jnfr")(this._config.factoryPathPrefix+r+this._config.factoryPathSuffix).then(function(e){return e[i+o]}).then(function(e){return Nn(e,r,i)})},e}();function Nn(e,t,n){if(!e)throw new Error("Cannot find '"+n+"' in '"+t+"'");return e}var An=function(){},Rn=function(){},Fn=function(){},Ln=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(r.b)(t,e),t}(Fn),jn=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(r.b)(t,e),t}(Ln),Vn=function(){function e(e,t,n){this._debugContext=n,this.nativeNode=e,t&&t instanceof zn?t.addChild(this):this.parent=null,this.listeners=[]}return Object.defineProperty(e.prototype,"injector",{get:function(){return this._debugContext.injector},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"componentInstance",{get:function(){return this._debugContext.component},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"context",{get:function(){return this._debugContext.context},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"references",{get:function(){return this._debugContext.references},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"providerTokens",{get:function(){return this._debugContext.providerTokens},enumerable:!0,configurable:!0}),e}(),zn=function(e){function t(t,n,r){var i=e.call(this,t,n,r)||this;return i.properties={},i.attributes={},i.classes={},i.styles={},i.childNodes=[],i.nativeElement=t,i}return Object(r.b)(t,e),t.prototype.addChild=function(e){e&&(this.childNodes.push(e),e.parent=this)},t.prototype.removeChild=function(e){var t=this.childNodes.indexOf(e);-1!==t&&(e.parent=null,this.childNodes.splice(t,1))},t.prototype.insertChildrenAfter=function(e,t){var n,r=this,i=this.childNodes.indexOf(e);-1!==i&&((n=this.childNodes).splice.apply(n,[i+1,0].concat(t)),t.forEach(function(e){e.parent&&e.parent.removeChild(e),e.parent=r}))},t.prototype.insertBefore=function(e,t){var n=this.childNodes.indexOf(e);-1===n?this.addChild(t):(t.parent&&t.parent.removeChild(t),t.parent=this,this.childNodes.splice(n,0,t))},t.prototype.query=function(e){return this.queryAll(e)[0]||null},t.prototype.queryAll=function(e){var t=[];return Bn(this,e,t),t},t.prototype.queryAllNodes=function(e){var t=[];return Un(this,e,t),t},Object.defineProperty(t.prototype,"children",{get:function(){return this.childNodes.filter(function(e){return e instanceof t})},enumerable:!0,configurable:!0}),t.prototype.triggerEventHandler=function(e,t){this.listeners.forEach(function(n){n.name==e&&n.callback(t)})},t}(Vn);function Hn(e){return e.map(function(e){return e.nativeElement})}function Bn(e,t,n){e.childNodes.forEach(function(e){e instanceof zn&&(t(e)&&n.push(e),Bn(e,t,n))})}function Un(e,t,n){e instanceof zn&&e.childNodes.forEach(function(e){t(e)&&n.push(e),e instanceof zn&&Un(e,t,n)})}var Gn=new Map;function Zn(e){return Gn.get(e)||null}function Wn(e){Gn.set(e.nativeNode,e)}function qn(e,t){var n=Qn(e),r=Qn(t);return n&&r?function(e,t,n){for(var r=e[Y()](),i=t[Y()]();;){var o=r.next(),a=i.next();if(o.done&&a.done)return!0;if(o.done||a.done)return!1;if(!n(o.value,a.value))return!1}}(e,t,qn):!(n||!e||"object"!=typeof e&&"function"!=typeof e||r||!t||"object"!=typeof t&&"function"!=typeof t)||X(e,t)}var Kn=function(){function e(e){this.wrapped=e}return e.wrap=function(t){return new e(t)},e.unwrap=function(t){return e.isWrapped(t)?t.wrapped:t},e.isWrapped=function(t){return t instanceof e},e}(),$n=function(){function e(e,t,n){this.previousValue=e,this.currentValue=t,this.firstChange=n}return e.prototype.isFirstChange=function(){return this.firstChange},e}();function Qn(e){return!!Yn(e)&&(Array.isArray(e)||!(e instanceof Map)&&Y()in e)}function Yn(e){return null!==e&&("function"==typeof e||"object"==typeof e)}var Jn=function(){function e(){}return e.prototype.supports=function(e){return Qn(e)},e.prototype.create=function(e){return new er(e)},e}(),Xn=function(e,t){return t},er=function(){function e(e){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=e||Xn}return e.prototype.forEachItem=function(e){var t;for(t=this._itHead;null!==t;t=t._next)e(t)},e.prototype.forEachOperation=function(e){for(var t=this._itHead,n=this._removalsHead,r=0,i=null;t||n;){var o=!n||t&&t.currentIndex=n.length)&&(t=n.length-1),t<0)return null;var r=n[t];return r.viewContainerParent=null,Vi(n,t),Dr.dirtyParentQueries(r),Li(r),r}function Fi(e,t,n){var r=t?Xr(t,t.def.lastRenderRootNode):e.renderElement;ui(n,2,n.renderer.parentNode(r),n.renderer.nextSibling(r),void 0)}function Li(e){ui(e,3,null,null,void 0)}function ji(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function Vi(e,t){t>=e.length-1?e.pop():e.splice(t,1)}var zi=new Object;function Hi(e,t,n,r,i,o){return new Ui(e,t,n,r,i,o)}function Bi(e){return e.viewDefFactory}var Ui=function(e){function t(t,n,r,i,o,a){var s=e.call(this)||this;return s.selector=t,s.componentType=n,s._inputs=i,s._outputs=o,s.ngContentSelectors=a,s.viewDefFactory=r,s}return Object(r.b)(t,e),Object.defineProperty(t.prototype,"inputs",{get:function(){var e=[],t=this._inputs;for(var n in t)e.push({propName:n,templateName:t[n]});return e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"outputs",{get:function(){var e=[];for(var t in this._outputs)e.push({propName:t,templateName:this._outputs[t]});return e},enumerable:!0,configurable:!0}),t.prototype.create=function(e,t,n,r){if(!r)throw new Error("ngModule should be provided");var i=li(this.viewDefFactory),o=i.nodes[0].element.componentProvider.nodeIndex,a=Dr.createRootView(e,t||[],n,i,r,zi),s=Pr(a,o).instance;return n&&a.renderer.setAttribute(Sr(a,0).renderElement,"ng-version",V.full),new Gi(a,new Ki(a),s)},t}(_t),Gi=function(e){function t(t,n,r){var i=e.call(this)||this;return i._view=t,i._viewRef=n,i._component=r,i._elDef=i._view.def.nodes[0],i.hostView=n,i.changeDetectorRef=n,i.instance=r,i}return Object(r.b)(t,e),Object.defineProperty(t.prototype,"location",{get:function(){return new On(Sr(this._view,this._elDef.nodeIndex).renderElement)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"injector",{get:function(){return new Ji(this._view,this._elDef)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"componentType",{get:function(){return this._component.constructor},enumerable:!0,configurable:!0}),t.prototype.destroy=function(){this._viewRef.destroy()},t.prototype.onDestroy=function(e){this._viewRef.onDestroy(e)},t}(bt);function Zi(e,t,n){return new Wi(e,t,n)}var Wi=function(){function e(e,t,n){this._view=e,this._elDef=t,this._data=n,this._embeddedViews=[]}return Object.defineProperty(e.prototype,"element",{get:function(){return new On(this._data.renderElement)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"injector",{get:function(){return new Ji(this._view,this._elDef)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"parentInjector",{get:function(){for(var e=this._view,t=this._elDef.parent;!t&&e;)t=Jr(e),e=e.parent;return e?new Ji(e,t):new Ji(this._view,null)},enumerable:!0,configurable:!0}),e.prototype.clear=function(){for(var e=this._embeddedViews.length-1;e>=0;e--){var t=Ri(this._data,e);Dr.destroyView(t)}},e.prototype.get=function(e){var t=this._embeddedViews[e];if(t){var n=new Ki(t);return n.attachToViewContainerRef(this),n}return null},Object.defineProperty(e.prototype,"length",{get:function(){return this._embeddedViews.length},enumerable:!0,configurable:!0}),e.prototype.createEmbeddedView=function(e,t,n){var r=e.createEmbeddedView(t||{});return this.insert(r,n),r},e.prototype.createComponent=function(e,t,n,r,i){var o=n||this.parentInjector;i||e instanceof Pt||(i=o.get(kt));var a=e.create(o,r,void 0,i);return this.insert(a.hostView,t),a},e.prototype.insert=function(e,t){if(e.destroyed)throw new Error("Cannot insert a destroyed View in a ViewContainer!");var n,r,i,o,a=e;return i=a._view,o=(n=this._data).viewContainer._embeddedViews,null!==(r=t)&&void 0!==r||(r=o.length),i.viewContainerParent=this._view,ji(o,r,i),function(e,t){var n=Yr(t);if(n&&n!==e&&!(16&t.state)){t.state|=16;var r=n.template._projectedViews;r||(r=n.template._projectedViews=[]),r.push(t),function(e,n){if(!(4&n.flags)){t.parent.def.nodeFlags|=4,n.flags|=4;for(var r=n.parent;r;)r.childFlags|=4,r=r.parent}}(0,t.parentNodeDef)}}(n,i),Dr.dirtyParentQueries(i),Fi(n,r>0?o[r-1]:null,i),a.attachToViewContainerRef(this),e},e.prototype.move=function(e,t){if(e.destroyed)throw new Error("Cannot move a destroyed View in a ViewContainer!");var n,r,i,o,a,s=this._embeddedViews.indexOf(e._view);return i=t,a=(o=(n=this._data).viewContainer._embeddedViews)[r=s],Vi(o,r),null==i&&(i=o.length),ji(o,i,a),Dr.dirtyParentQueries(a),Li(a),Fi(n,i>0?o[i-1]:null,a),e},e.prototype.indexOf=function(e){return this._embeddedViews.indexOf(e._view)},e.prototype.remove=function(e){var t=Ri(this._data,e);t&&Dr.destroyView(t)},e.prototype.detach=function(e){var t=Ri(this._data,e);return t?new Ki(t):null},e}();function qi(e){return new Ki(e)}var Ki=function(){function e(e){this._view=e,this._viewContainerRef=null,this._appRef=null}return Object.defineProperty(e.prototype,"rootNodes",{get:function(){return ui(this._view,0,void 0,void 0,e=[]),e;var e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"context",{get:function(){return this._view.context},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"destroyed",{get:function(){return 0!=(128&this._view.state)},enumerable:!0,configurable:!0}),e.prototype.markForCheck=function(){Kr(this._view)},e.prototype.detach=function(){this._view.state&=-5},e.prototype.detectChanges=function(){var e=this._view.root.rendererFactory;e.begin&&e.begin();try{Dr.checkAndUpdateView(this._view)}finally{e.end&&e.end()}},e.prototype.checkNoChanges=function(){Dr.checkNoChangesView(this._view)},e.prototype.reattach=function(){this._view.state|=4},e.prototype.onDestroy=function(e){this._view.disposables||(this._view.disposables=[]),this._view.disposables.push(e)},e.prototype.destroy=function(){this._appRef?this._appRef.detachView(this):this._viewContainerRef&&this._viewContainerRef.detach(this._viewContainerRef.indexOf(this)),Dr.destroyView(this._view)},e.prototype.detachFromAppRef=function(){this._appRef=null,Li(this._view),Dr.dirtyParentQueries(this._view)},e.prototype.attachToAppRef=function(e){if(this._viewContainerRef)throw new Error("This view is already attached to a ViewContainer!");this._appRef=e},e.prototype.attachToViewContainerRef=function(e){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._viewContainerRef=e},e}();function $i(e,t){return new Qi(e,t)}var Qi=function(e){function t(t,n){var r=e.call(this)||this;return r._parentView=t,r._def=n,r}return Object(r.b)(t,e),t.prototype.createEmbeddedView=function(e){return new Ki(Dr.createEmbeddedView(this._parentView,this._def,this._def.element.template,e))},Object.defineProperty(t.prototype,"elementRef",{get:function(){return new On(Sr(this._parentView,this._def.nodeIndex).renderElement)},enumerable:!0,configurable:!0}),t}(An);function Yi(e,t){return new Ji(e,t)}var Ji=function(){function e(e,t){this.view=e,this.elDef=t}return e.prototype.get=function(e,t){return void 0===t&&(t=se.THROW_IF_NOT_FOUND),Dr.resolveDep(this.view,this.elDef,!!this.elDef&&0!=(33554432&this.elDef.flags),{flags:0,token:e,tokenKey:jr(e)},t)},e}();function Xi(e,t){var n=e.def.nodes[t];if(1&n.flags){var r=Sr(e,n.nodeIndex);return n.element.template?r.template:r.renderElement}if(2&n.flags)return Ir(e,n.nodeIndex).renderText;if(20240&n.flags)return Pr(e,n.nodeIndex).instance;throw new Error("Illegal state: read nodeValue for node index "+t)}function eo(e){return new to(e.renderer)}var to=function(){function e(e){this.delegate=e}return e.prototype.selectRootElement=function(e){return this.delegate.selectRootElement(e)},e.prototype.createElement=function(e,t){var n=gi(t),r=this.delegate.createElement(n[1],n[0]);return e&&this.delegate.appendChild(e,r),r},e.prototype.createViewRoot=function(e){return e},e.prototype.createTemplateAnchor=function(e){var t=this.delegate.createComment("");return e&&this.delegate.appendChild(e,t),t},e.prototype.createText=function(e,t){var n=this.delegate.createText(t);return e&&this.delegate.appendChild(e,n),n},e.prototype.projectNodes=function(e,t){for(var n=0;n0,t.provider.value,t.provider.deps);if(t.outputs.length)for(var r=0;r0,r=t.provider;switch(201347067&t.flags){case 512:return wo(e,t.parent,n,r.value,r.deps);case 1024:return function(e,t,n,r,i){var o=i.length;switch(o){case 0:return r();case 1:return r(Co(e,t,n,i[0]));case 2:return r(Co(e,t,n,i[0]),Co(e,t,n,i[1]));case 3:return r(Co(e,t,n,i[0]),Co(e,t,n,i[1]),Co(e,t,n,i[2]));default:for(var a=Array(o),s=0;s0)u=g,Go(g)||(c=g);else for(;u&&h===u.nodeIndex+u.childCount;){var v=u.parent;v&&(v.childFlags|=u.childFlags,v.childMatchedQueries|=u.childMatchedQueries),c=(u=v)&&Go(u)?u.renderParent:u}}return{factory:null,nodeFlags:a,rootNodeFlags:s,nodeMatchedQueries:l,flags:e,nodes:t,updateDirectives:n||Fr,updateRenderer:r||Fr,handleEvent:function(e,n,r,i){return t[n].element.handleEvent(e,r,i)},bindingCount:i,outputCount:o,lastRenderRootNode:f}}function Go(e){return 0!=(1&e.flags)&&null===e.element.name}function Zo(e,t,n){var r=t.element&&t.element.template;if(r){if(!r.lastRenderRootNode)throw new Error("Illegal State: Embedded templates without nodes are not allowed!");if(r.lastRenderRootNode&&16777216&r.lastRenderRootNode.flags)throw new Error("Illegal State: Last root node of a template can't have embedded views, at index "+t.nodeIndex+"!")}if(20224&t.flags&&0==(1&(e?e.flags:0)))throw new Error("Illegal State: StaticProvider/Directive nodes need to be children of elements or anchors, at index "+t.nodeIndex+"!");if(t.query){if(67108864&t.flags&&(!e||0==(16384&e.flags)))throw new Error("Illegal State: Content Query nodes need to be children of directives, at index "+t.nodeIndex+"!");if(134217728&t.flags&&e)throw new Error("Illegal State: View Query nodes have to be top level nodes, at index "+t.nodeIndex+"!")}if(t.childCount){var i=e?e.nodeIndex+e.childCount:n-1;if(t.nodeIndex<=i&&t.nodeIndex+t.childCount>i)throw new Error("Illegal State: childCount of node leads outside of parent, at index "+t.nodeIndex+"!")}}function Wo(e,t,n,r){var i=$o(e.root,e.renderer,e,t,n);return Qo(i,e.component,r),Yo(i),i}function qo(e,t,n){var r=$o(e,e.renderer,null,null,t);return Qo(r,n,n),Yo(r),r}function Ko(e,t,n,r){var i,o=t.element.componentRendererType;return i=o?e.root.rendererFactory.createRenderer(r,o):e.root.renderer,$o(e.root,i,e,t.element.componentProvider,n)}function $o(e,t,n,r,i){var o=new Array(i.nodes.length),a=i.outputCount?new Array(i.outputCount):null;return{def:i,parent:n,viewContainerParent:null,parentNodeDef:r,context:null,component:null,nodes:o,state:13,root:e,renderer:t,oldValues:new Array(i.bindingCount),disposables:a,initIndex:-1}}function Qo(e,t,n){e.component=t,e.context=n}function Yo(e){var t;ti(e)&&(t=Sr(e.parent,e.parentNodeDef.parent.nodeIndex).renderElement);for(var n=e.def,r=e.nodes,i=0;i0&&Si(e,t,0,n)&&(f=!0),d>1&&Si(e,t,1,r)&&(f=!0),d>2&&Si(e,t,2,i)&&(f=!0),d>3&&Si(e,t,3,o)&&(f=!0),d>4&&Si(e,t,4,a)&&(f=!0),d>5&&Si(e,t,5,s)&&(f=!0),d>6&&Si(e,t,6,l)&&(f=!0),d>7&&Si(e,t,7,u)&&(f=!0),d>8&&Si(e,t,8,c)&&(f=!0),d>9&&Si(e,t,9,p)&&(f=!0),f}(e,t,n,r,i,o,a,s,l,u,c,p);case 2:return function(e,t,n,r,i,o,a,s,l,u,c,p){var d=!1,f=t.bindings,h=f.length;if(h>0&&Wr(e,t,0,n)&&(d=!0),h>1&&Wr(e,t,1,r)&&(d=!0),h>2&&Wr(e,t,2,i)&&(d=!0),h>3&&Wr(e,t,3,o)&&(d=!0),h>4&&Wr(e,t,4,a)&&(d=!0),h>5&&Wr(e,t,5,s)&&(d=!0),h>6&&Wr(e,t,6,l)&&(d=!0),h>7&&Wr(e,t,7,u)&&(d=!0),h>8&&Wr(e,t,8,c)&&(d=!0),h>9&&Wr(e,t,9,p)&&(d=!0),d){var g=t.text.prefix;h>0&&(g+=Bo(n,f[0])),h>1&&(g+=Bo(r,f[1])),h>2&&(g+=Bo(i,f[2])),h>3&&(g+=Bo(o,f[3])),h>4&&(g+=Bo(a,f[4])),h>5&&(g+=Bo(s,f[5])),h>6&&(g+=Bo(l,f[6])),h>7&&(g+=Bo(u,f[7])),h>8&&(g+=Bo(c,f[8])),h>9&&(g+=Bo(p,f[9]));var y=Ir(e,t.nodeIndex).renderText;e.renderer.setValue(y,g)}return d}(e,t,n,r,i,o,a,s,l,u,c,p);case 16384:return function(e,t,n,r,i,o,a,s,l,u,c,p){var d=Pr(e,t.nodeIndex),f=d.instance,h=!1,g=void 0,y=t.bindings.length;return y>0&&Zr(e,t,0,n)&&(h=!0,g=Eo(e,d,t,0,n,g)),y>1&&Zr(e,t,1,r)&&(h=!0,g=Eo(e,d,t,1,r,g)),y>2&&Zr(e,t,2,i)&&(h=!0,g=Eo(e,d,t,2,i,g)),y>3&&Zr(e,t,3,o)&&(h=!0,g=Eo(e,d,t,3,o,g)),y>4&&Zr(e,t,4,a)&&(h=!0,g=Eo(e,d,t,4,a,g)),y>5&&Zr(e,t,5,s)&&(h=!0,g=Eo(e,d,t,5,s,g)),y>6&&Zr(e,t,6,l)&&(h=!0,g=Eo(e,d,t,6,l,g)),y>7&&Zr(e,t,7,u)&&(h=!0,g=Eo(e,d,t,7,u,g)),y>8&&Zr(e,t,8,c)&&(h=!0,g=Eo(e,d,t,8,c,g)),y>9&&Zr(e,t,9,p)&&(h=!0,g=Eo(e,d,t,9,p,g)),g&&f.ngOnChanges(g),65536&t.flags&&Er(e,256,t.nodeIndex)&&f.ngOnInit(),262144&t.flags&&f.ngDoCheck(),h}(e,t,n,r,i,o,a,s,l,u,c,p);case 32:case 64:case 128:return function(e,t,n,r,i,o,a,s,l,u,c,p){var d=t.bindings,f=!1,h=d.length;if(h>0&&Wr(e,t,0,n)&&(f=!0),h>1&&Wr(e,t,1,r)&&(f=!0),h>2&&Wr(e,t,2,i)&&(f=!0),h>3&&Wr(e,t,3,o)&&(f=!0),h>4&&Wr(e,t,4,a)&&(f=!0),h>5&&Wr(e,t,5,s)&&(f=!0),h>6&&Wr(e,t,6,l)&&(f=!0),h>7&&Wr(e,t,7,u)&&(f=!0),h>8&&Wr(e,t,8,c)&&(f=!0),h>9&&Wr(e,t,9,p)&&(f=!0),f){var g=kr(e,t.nodeIndex),y=void 0;switch(201347067&t.flags){case 32:y=new Array(d.length),h>0&&(y[0]=n),h>1&&(y[1]=r),h>2&&(y[2]=i),h>3&&(y[3]=o),h>4&&(y[4]=a),h>5&&(y[5]=s),h>6&&(y[6]=l),h>7&&(y[7]=u),h>8&&(y[8]=c),h>9&&(y[9]=p);break;case 64:y={},h>0&&(y[d[0].name]=n),h>1&&(y[d[1].name]=r),h>2&&(y[d[2].name]=i),h>3&&(y[d[3].name]=o),h>4&&(y[d[4].name]=a),h>5&&(y[d[5].name]=s),h>6&&(y[d[6].name]=l),h>7&&(y[d[7].name]=u),h>8&&(y[d[8].name]=c),h>9&&(y[d[9].name]=p);break;case 128:var m=n;switch(h){case 1:y=m.transform(n);break;case 2:y=m.transform(r);break;case 3:y=m.transform(r,i);break;case 4:y=m.transform(r,i,o);break;case 5:y=m.transform(r,i,o,a);break;case 6:y=m.transform(r,i,o,a,s);break;case 7:y=m.transform(r,i,o,a,s,l);break;case 8:y=m.transform(r,i,o,a,s,l,u);break;case 9:y=m.transform(r,i,o,a,s,l,u,c);break;case 10:y=m.transform(r,i,o,a,s,l,u,c,p)}}g.value=y}return f}(e,t,n,r,i,o,a,s,l,u,c,p);default:throw"unreachable"}}(e,t,r,i,o,a,s,l,u,c,p,d):function(e,t,n){switch(201347067&t.flags){case 1:return function(e,t,n){for(var r=!1,i=0;i0&&qr(e,t,0,n),d>1&&qr(e,t,1,r),d>2&&qr(e,t,2,i),d>3&&qr(e,t,3,o),d>4&&qr(e,t,4,a),d>5&&qr(e,t,5,s),d>6&&qr(e,t,6,l),d>7&&qr(e,t,7,u),d>8&&qr(e,t,8,c),d>9&&qr(e,t,9,p)}(e,t,r,i,o,a,s,l,u,c,p,d):function(e,t,n){for(var r=0;r0&&cs(n[t-1],r.next),n.splice(t,1),function(e){for(var t=e;t;){var n=null;if(t.views&&t.views.length?n=t.views[0].data:t.child?n=t.child:t.next&&(ds(t),n=t.next),null==n){for(;t&&!t.next;)ds(t),t=ps(t,e);ds(t||e),n=t&&t.next}t=n}}(r.data),ls(e,r,!1),e.query&&e.query.removeView(e,r,t),r}function cs(e,t){e.next=t,e.data.next=t?t.data:null}function ps(e,t){var n;return(n=e.node)&&2==(3&n.flags)?n.parent.data:e.parent===t?null:e.parent}function ds(e){if(e.cleanup){for(var t=e.cleanup,n=0;n=bs.length?bs[e]=null:s.staticData=bs[e],vs?(ws=null,ms.view!==_s&&2!=(3&ms.flags)||(ngDevMode&&ns(ms.child,null,"previousNode.child"),ms.child=s)):ms&&(ngDevMode&&ns(ms.next,null,"previousNode.next"),ms.next=s)),ms=s,vs=!0,s}function Ns(e,t,n,r){var i,o;if(null==t){var a=Cs[e];o=a&&a.native}else{ngDevMode&&ns(_s.bindingStartIndex,null,"bindingStartIndex");var s="string"!=typeof t,l=s?t.tag:t;if(null===l)throw"for now name is required";o=gs.createElement(l);var u=null;if(s){var c=As(t.template);u=Ys(Ms(-1,ys.createRenderer(o,t.rendererType),c))}null==(i=Ds(e,3,o,u)).staticData&&(ngDevMode&&nl(e-1),i.staticData=bs[e]=Vs(l,n||null,null,r||null)),n&&function(e,t){ngDevMode&&ns(t.length%2,0,"attrs.length % 2");for(var n=gs.setAttribute,r=0;r>12,i=r,o=r+((4092&e)>>2);i=bs.length&&(bs[e]=n,r)){ngDevMode&&rs(ms.staticData,"previousOrParentNode.staticData");var a=ms.staticData;(a.localNames||(a.localNames=[])).push(r,e)}var s=n.diPublic;s&&s(n);var l=ms.staticData;l&&l.attrs&&function(e,t,r){var i=((4092&ms.flags)>>2)-1,o=r.initialInputs;(void 0===o||i>=o.length)&&(o=function(e,t,n){var r=n.initialInputs||(n.initialInputs=[]);r[e]=null;for(var i=n.attrs,o=0;o=n.length||null==n[e])&&(n[e]=[]),n[e]}(e,t));ks(a,Ds(null,2,null,a)),n.nextIndex++}return!o}function $s(){vs=!1;var e=ms=_s.node,t=ms.parent;ngDevMode&&as(e,2),ngDevMode&&as(t,0);var n=t.data,r=n.nextIndex<=n.views.length?n.views[n.nextIndex-1]:null;(null==r||r.data.id!==e.data.id)&&(function(e,t,n){var r=e.data,i=r.views;n>0&&cs(i[n-1],t),n=i.length&&i.push(t),r.nextIndex<=n&&r.nextIndex++,null!==e.data.renderParent&&ls(e,t,!0,function(t,n,r){var i=n.views;return t+1")}function rl(e,t){void 0===t&&(t={});var n,r=t.rendererFactory||Ss,i=e.ngComponentDef,o=Fs(r,t.host||i.tag),a=ks(Ms(-1,r.createRenderer(o,i.rendererType),[]),null);try{vs=!1,ms=null,Ds(0,3,o,Ms(-1,gs,As(i.template))),n=Us(1,i.n(),i)}finally{Ts(a)}return t.features&&t.features.forEach(function(e){return e(n,i)}),il(n),n}function il(e){ngDevMode&&rs(e,"component");var t=e[Ps];ngDevMode&&!t&&Rs("Not a directive instance",e),ngDevMode&&rs(t.data,"hostNode.data"),function(e,n,r,i){var o=ks(n,t);try{ys.begin&&ys.begin(),r.constructor.ngComponentDef.r(1,0)}finally{ys.end&&ys.end(),n.creationMode=!1,Ts(o)}}(0,t.view,e)}function ol(e){var t={type:e.type,diPublic:null,n:e.factory,tag:e.tag||null,template:e.template||null,r:e.refresh||function(t,n){Qs(t,n,e.template)},h:e.hostBindings||sl,inputs:ll(e.inputs),outputs:ll(e.outputs),methods:ll(e.methods),rendererType:Gr(e.rendererType)||null},n=e.features;return n&&n.forEach(function(e){return e(t)}),t}var al={};function sl(){}function ll(e){if(null==e)return al;var t={};for(var n in e)t[e[n]]=n;return t}function ul(e,t){return{type:7,name:e,definitions:t,options:{}}}function cl(e,t){return void 0===t&&(t=null),{type:4,styles:t,timings:e}}function pl(e,t){return void 0===t&&(t=null),{type:3,steps:e,options:t}}function dl(e,t){return void 0===t&&(t=null),{type:2,steps:e,options:t}}function fl(e){return{type:6,styles:e,offset:null}}function hl(e,t,n){return{type:0,name:e,styles:t,options:n}}function gl(e){return{type:5,steps:e}}function yl(e,t,n){return void 0===n&&(n=null),{type:1,expr:e,animation:t,options:n}}var ml="*";function vl(e,t){return ul(e,t)}function bl(e,t){return cl(e,t)}function _l(e){return pl(e)}function wl(e){return dl(e)}function xl(e){return fl(e)}function Cl(e,t){return hl(e,t)}function Ol(e){return gl(e)}function El(e,t){return yl(e,t)}}).call(t,n("DuR2"))},Xjw4:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n.d(t,"\u0275registerLocaleData",function(){return y}),n.d(t,"NgLocaleLocalization",function(){return $}),n.d(t,"NgLocalization",function(){return q}),n.d(t,"registerLocaleData",function(){return y}),n.d(t,"Plural",function(){return v}),n.d(t,"NumberFormatStyle",function(){return m}),n.d(t,"FormStyle",function(){return b}),n.d(t,"TranslationWidth",function(){return _}),n.d(t,"FormatWidth",function(){return w}),n.d(t,"NumberSymbol",function(){return x}),n.d(t,"WeekDay",function(){return C}),n.d(t,"getCurrencySymbol",function(){return Z}),n.d(t,"getLocaleDayPeriods",function(){return E}),n.d(t,"getLocaleDayNames",function(){return I}),n.d(t,"getLocaleMonthNames",function(){return S}),n.d(t,"getLocaleId",function(){return O}),n.d(t,"getLocaleEraNames",function(){return P}),n.d(t,"getLocaleWeekEndRange",function(){return T}),n.d(t,"getLocaleFirstDayOfWeek",function(){return k}),n.d(t,"getLocaleDateFormat",function(){return M}),n.d(t,"getLocaleDateTimeFormat",function(){return N}),n.d(t,"getLocaleExtraDayPeriodRules",function(){return z}),n.d(t,"getLocaleExtraDayPeriods",function(){return H}),n.d(t,"getLocalePluralCase",function(){return j}),n.d(t,"getLocaleTimeFormat",function(){return D}),n.d(t,"getLocaleNumberSymbol",function(){return A}),n.d(t,"getLocaleNumberFormat",function(){return R}),n.d(t,"getLocaleCurrencyName",function(){return L}),n.d(t,"getLocaleCurrencySymbol",function(){return F}),n.d(t,"\u0275parseCookieValue",function(){return Y}),n.d(t,"CommonModule",function(){return Tt}),n.d(t,"DeprecatedI18NPipesModule",function(){return Mt}),n.d(t,"NgClass",function(){return J}),n.d(t,"NgForOf",function(){return te}),n.d(t,"NgForOfContext",function(){return ee}),n.d(t,"NgIf",function(){return re}),n.d(t,"NgIfContext",function(){return ie}),n.d(t,"NgPlural",function(){return ue}),n.d(t,"NgPluralCase",function(){return ce}),n.d(t,"NgStyle",function(){return pe}),n.d(t,"NgSwitch",function(){return ae}),n.d(t,"NgSwitchCase",function(){return se}),n.d(t,"NgSwitchDefault",function(){return le}),n.d(t,"NgTemplateOutlet",function(){return de}),n.d(t,"NgComponentOutlet",function(){return X}),n.d(t,"DOCUMENT",function(){return Dt}),n.d(t,"AsyncPipe",function(){return yt}),n.d(t,"DatePipe",function(){return Me}),n.d(t,"I18nPluralPipe",function(){return wt}),n.d(t,"I18nSelectPipe",function(){return xt}),n.d(t,"JsonPipe",function(){return Ct}),n.d(t,"LowerCasePipe",function(){return mt}),n.d(t,"CurrencyPipe",function(){return It}),n.d(t,"DecimalPipe",function(){return Ot}),n.d(t,"PercentPipe",function(){return Et}),n.d(t,"SlicePipe",function(){return Pt}),n.d(t,"UpperCasePipe",function(){return bt}),n.d(t,"TitleCasePipe",function(){return vt}),n.d(t,"DeprecatedDatePipe",function(){return $e}),n.d(t,"DeprecatedCurrencyPipe",function(){return pt}),n.d(t,"DeprecatedDecimalPipe",function(){return ut}),n.d(t,"DeprecatedPercentPipe",function(){return ct}),n.d(t,"\u0275PLATFORM_BROWSER_ID",function(){return Nt}),n.d(t,"\u0275PLATFORM_SERVER_ID",function(){return At}),n.d(t,"\u0275PLATFORM_WORKER_APP_ID",function(){return Rt}),n.d(t,"\u0275PLATFORM_WORKER_UI_ID",function(){return Ft}),n.d(t,"isPlatformBrowser",function(){return Lt}),n.d(t,"isPlatformServer",function(){return jt}),n.d(t,"isPlatformWorkerApp",function(){return Vt}),n.d(t,"isPlatformWorkerUi",function(){return zt}),n.d(t,"VERSION",function(){return Ht}),n.d(t,"PlatformLocation",function(){return o}),n.d(t,"LOCATION_INITIALIZED",function(){return a}),n.d(t,"LocationStrategy",function(){return s}),n.d(t,"APP_BASE_HREF",function(){return l}),n.d(t,"HashLocationStrategy",function(){return p}),n.d(t,"PathLocationStrategy",function(){return d}),n.d(t,"Location",function(){return u}),n.d(t,"\u0275e",function(){return fe}),n.d(t,"\u0275d",function(){return G}),n.d(t,"\u0275a",function(){return W}),n.d(t,"\u0275b",function(){return Q}),n.d(t,"\u0275g",function(){return dt}),n.d(t,"\u0275f",function(){return kt});var r=n("WT6e"),i=n("TToO"),o=function(){},a=new r.InjectionToken("Location Initialized"),s=function(){},l=new r.InjectionToken("appBaseHref"),u=function(){function e(t){var n=this;this._subject=new r.EventEmitter,this._platformStrategy=t;var i=this._platformStrategy.getBaseHref();this._baseHref=e.stripTrailingSlash(c(i)),this._platformStrategy.onPopState(function(e){n._subject.emit({url:n.path(!0),pop:!0,type:e.type})})}return e.prototype.path=function(e){return void 0===e&&(e=!1),this.normalize(this._platformStrategy.path(e))},e.prototype.isCurrentPathEqualTo=function(t,n){return void 0===n&&(n=""),this.path()==this.normalize(t+e.normalizeQueryParams(n))},e.prototype.normalize=function(t){return e.stripTrailingSlash(function(e,t){return e&&t.startsWith(e)?t.substring(e.length):t}(this._baseHref,c(t)))},e.prototype.prepareExternalUrl=function(e){return e&&"/"!==e[0]&&(e="/"+e),this._platformStrategy.prepareExternalUrl(e)},e.prototype.go=function(e,t){void 0===t&&(t=""),this._platformStrategy.pushState(null,"",e,t)},e.prototype.replaceState=function(e,t){void 0===t&&(t=""),this._platformStrategy.replaceState(null,"",e,t)},e.prototype.forward=function(){this._platformStrategy.forward()},e.prototype.back=function(){this._platformStrategy.back()},e.prototype.subscribe=function(e,t,n){return this._subject.subscribe({next:e,error:t,complete:n})},e.normalizeQueryParams=function(e){return e&&"?"!==e[0]?"?"+e:e},e.joinWithSlash=function(e,t){if(0==e.length)return t;if(0==t.length)return e;var n=0;return e.endsWith("/")&&n++,t.startsWith("/")&&n++,2==n?e+t.substring(1):1==n?e+t:e+"/"+t},e.stripTrailingSlash=function(e){var t=e.match(/#|\?|$/),n=t&&t.index||e.length;return e.slice(0,n-("/"===e[n-1]?1:0))+e.slice(n)},e}();function c(e){return e.replace(/\/index.html$/,"")}var p=function(e){function t(t,n){var r=e.call(this)||this;return r._platformLocation=t,r._baseHref="",null!=n&&(r._baseHref=n),r}return Object(i.b)(t,e),t.prototype.onPopState=function(e){this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e)},t.prototype.getBaseHref=function(){return this._baseHref},t.prototype.path=function(e){void 0===e&&(e=!1);var t=this._platformLocation.hash;return null==t&&(t="#"),t.length>0?t.substring(1):t},t.prototype.prepareExternalUrl=function(e){var t=u.joinWithSlash(this._baseHref,e);return t.length>0?"#"+t:t},t.prototype.pushState=function(e,t,n,r){var i=this.prepareExternalUrl(n+u.normalizeQueryParams(r));0==i.length&&(i=this._platformLocation.pathname),this._platformLocation.pushState(e,t,i)},t.prototype.replaceState=function(e,t,n,r){var i=this.prepareExternalUrl(n+u.normalizeQueryParams(r));0==i.length&&(i=this._platformLocation.pathname),this._platformLocation.replaceState(e,t,i)},t.prototype.forward=function(){this._platformLocation.forward()},t.prototype.back=function(){this._platformLocation.back()},t}(s),d=function(e){function t(t,n){var r=e.call(this)||this;if(r._platformLocation=t,null==n&&(n=r._platformLocation.getBaseHrefFromDOM()),null==n)throw new Error("No base href set. Please provide a value for the APP_BASE_HREF token or add a base element to the document.");return r._baseHref=n,r}return Object(i.b)(t,e),t.prototype.onPopState=function(e){this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e)},t.prototype.getBaseHref=function(){return this._baseHref},t.prototype.prepareExternalUrl=function(e){return u.joinWithSlash(this._baseHref,e)},t.prototype.path=function(e){void 0===e&&(e=!1);var t=this._platformLocation.pathname+u.normalizeQueryParams(this._platformLocation.search),n=this._platformLocation.hash;return n&&e?""+t+n:t},t.prototype.pushState=function(e,t,n,r){var i=this.prepareExternalUrl(n+u.normalizeQueryParams(r));this._platformLocation.pushState(e,t,i)},t.prototype.replaceState=function(e,t,n,r){var i=this.prepareExternalUrl(n+u.normalizeQueryParams(r));this._platformLocation.replaceState(e,t,i)},t.prototype.forward=function(){this._platformLocation.forward()},t.prototype.back=function(){this._platformLocation.back()},t}(s),f={AOA:[,"Kz"],ARS:[,"$"],AUD:["A$","$"],BAM:[,"KM"],BBD:[,"$"],BDT:[,"\u09f3"],BMD:[,"$"],BND:[,"$"],BOB:[,"Bs"],BRL:["R$"],BSD:[,"$"],BWP:[,"P"],BYN:[,"\u0440."],BZD:[,"$"],CAD:["CA$","$"],CLP:[,"$"],CNY:["CN\xa5","\xa5"],COP:[,"$"],CRC:[,"\u20a1"],CUC:[,"$"],CUP:[,"$"],CZK:[,"K\u010d"],DKK:[,"kr"],DOP:[,"$"],EGP:[,"E\xa3"],ESP:[,"\u20a7"],EUR:["\u20ac"],FJD:[,"$"],FKP:[,"\xa3"],GBP:["\xa3"],GEL:[,"\u20be"],GIP:[,"\xa3"],GNF:[,"FG"],GTQ:[,"Q"],GYD:[,"$"],HKD:["HK$","$"],HNL:[,"L"],HRK:[,"kn"],HUF:[,"Ft"],IDR:[,"Rp"],ILS:["\u20aa"],INR:["\u20b9"],ISK:[,"kr"],JMD:[,"$"],JPY:["\xa5"],KHR:[,"\u17db"],KMF:[,"CF"],KPW:[,"\u20a9"],KRW:["\u20a9"],KYD:[,"$"],KZT:[,"\u20b8"],LAK:[,"\u20ad"],LBP:[,"L\xa3"],LKR:[,"Rs"],LRD:[,"$"],LTL:[,"Lt"],LVL:[,"Ls"],MGA:[,"Ar"],MMK:[,"K"],MNT:[,"\u20ae"],MUR:[,"Rs"],MXN:["MX$","$"],MYR:[,"RM"],NAD:[,"$"],NGN:[,"\u20a6"],NIO:[,"C$"],NOK:[,"kr"],NPR:[,"Rs"],NZD:["NZ$","$"],PHP:[,"\u20b1"],PKR:[,"Rs"],PLN:[,"z\u0142"],PYG:[,"\u20b2"],RON:[,"lei"],RUB:[,"\u20bd"],RUR:[,"\u0440."],RWF:[,"RF"],SBD:[,"$"],SEK:[,"kr"],SGD:[,"$"],SHP:[,"\xa3"],SRD:[,"$"],SSP:[,"\xa3"],STD:[,"Db"],SYP:[,"\xa3"],THB:[,"\u0e3f"],TOP:[,"T$"],TRY:[,"\u20ba"],TTD:[,"$"],TWD:["NT$","$"],UAH:[,"\u20b4"],USD:["$"],UYU:[,"$"],VEF:[,"Bs"],VND:["\u20ab"],XAF:["FCFA"],XCD:["EC$","$"],XOF:["CFA"],XPF:["CFPF"],ZAR:[,"R"],ZMW:[,"ZK"]},h=["en",[["a","p"],["AM","PM"]],[["AM","PM"],,],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",,"{1} 'at' {0}"],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"$","US Dollar",function(e){var t=Math.floor(Math.abs(e)),n=e.toString().replace(/^[^.]*\.?/,"").length;return 1===t&&0===n?1:5}],g={};function y(e,t,n){"string"!=typeof t&&(n=t,t=e[0]),t=t.toLowerCase().replace(/_/g,"-"),g[t]=e,n&&(g[t][18]=n)}var m=function(){var e={Decimal:0,Percent:1,Currency:2,Scientific:3};return e[e.Decimal]="Decimal",e[e.Percent]="Percent",e[e.Currency]="Currency",e[e.Scientific]="Scientific",e}(),v=function(){var e={Zero:0,One:1,Two:2,Few:3,Many:4,Other:5};return e[e.Zero]="Zero",e[e.One]="One",e[e.Two]="Two",e[e.Few]="Few",e[e.Many]="Many",e[e.Other]="Other",e}(),b=function(){var e={Format:0,Standalone:1};return e[e.Format]="Format",e[e.Standalone]="Standalone",e}(),_=function(){var e={Narrow:0,Abbreviated:1,Wide:2,Short:3};return e[e.Narrow]="Narrow",e[e.Abbreviated]="Abbreviated",e[e.Wide]="Wide",e[e.Short]="Short",e}(),w=function(){var e={Short:0,Medium:1,Long:2,Full:3};return e[e.Short]="Short",e[e.Medium]="Medium",e[e.Long]="Long",e[e.Full]="Full",e}(),x=function(){var e={Decimal:0,Group:1,List:2,PercentSign:3,PlusSign:4,MinusSign:5,Exponential:6,SuperscriptingExponent:7,PerMille:8,Infinity:9,NaN:10,TimeSeparator:11,CurrencyDecimal:12,CurrencyGroup:13};return e[e.Decimal]="Decimal",e[e.Group]="Group",e[e.List]="List",e[e.PercentSign]="PercentSign",e[e.PlusSign]="PlusSign",e[e.MinusSign]="MinusSign",e[e.Exponential]="Exponential",e[e.SuperscriptingExponent]="SuperscriptingExponent",e[e.PerMille]="PerMille",e[e.Infinity]="Infinity",e[e.NaN]="NaN",e[e.TimeSeparator]="TimeSeparator",e[e.CurrencyDecimal]="CurrencyDecimal",e[e.CurrencyGroup]="CurrencyGroup",e}(),C=function(){var e={Sunday:0,Monday:1,Tuesday:2,Wednesday:3,Thursday:4,Friday:5,Saturday:6};return e[e.Sunday]="Sunday",e[e.Monday]="Monday",e[e.Tuesday]="Tuesday",e[e.Wednesday]="Wednesday",e[e.Thursday]="Thursday",e[e.Friday]="Friday",e[e.Saturday]="Saturday",e}();function O(e){return G(e)[0]}function E(e,t,n){var r=G(e);return B(B([r[1],r[2]],t),n)}function I(e,t,n){var r=G(e);return B(B([r[3],r[4]],t),n)}function S(e,t,n){var r=G(e);return B(B([r[5],r[6]],t),n)}function P(e,t){return B(G(e)[7],t)}function k(e){return G(e)[8]}function T(e){return G(e)[9]}function M(e,t){return B(G(e)[10],t)}function D(e,t){return B(G(e)[11],t)}function N(e,t){return B(G(e)[12],t)}function A(e,t){var n=G(e),r=n[13][t];if("undefined"==typeof r){if(t===x.CurrencyDecimal)return n[13][x.Decimal];if(t===x.CurrencyGroup)return n[13][x.Group]}return r}function R(e,t){return G(e)[14][t]}function F(e){return G(e)[15]||null}function L(e){return G(e)[16]||null}function j(e){return G(e)[17]}function V(e){if(!e[18])throw new Error('Missing extra locale data for the locale "'+e[0]+'". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.')}function z(e){var t=G(e);return V(t),(t[18][2]||[]).map(function(e){return"string"==typeof e?U(e):[U(e[0]),U(e[1])]})}function H(e,t,n){var r=G(e);return V(r),B(B([r[18][0],r[18][1]],t)||[],n)||[]}function B(e,t){for(var n=t;n>-1;n--)if("undefined"!=typeof e[n])return e[n];throw new Error("Locale data API: locale data undefined")}function U(e){var t=e.split(":");return{hours:+t[0],minutes:+t[1]}}function G(e){var t=e.toLowerCase().replace(/_/g,"-"),n=g[t];if(n)return n;var r=t.split("-")[0];if(n=g[r])return n;if("en"===r)return h;throw new Error('Missing locale data for the locale "'+e+'".')}function Z(e,t){var n=f[e]||[],r=n[1];return"narrow"===t&&"string"==typeof r?r:n[0]||e}var W=new r.InjectionToken("UseV4Plurals"),q=function(){};function K(e,t,n,r){var i="="+e;if(t.indexOf(i)>-1)return i;if(i=n.getPluralCategory(e,r),t.indexOf(i)>-1)return i;if(t.indexOf("other")>-1)return"other";throw new Error('No plural message found for value "'+e+'"')}var $=function(e){function t(t,n){var r=e.call(this)||this;return r.locale=t,r.deprecatedPluralFn=n,r}return Object(i.b)(t,e),t.prototype.getPluralCategory=function(e,t){switch(this.deprecatedPluralFn?this.deprecatedPluralFn(t||this.locale,e):j(t||this.locale)(e)){case v.Zero:return"zero";case v.One:return"one";case v.Two:return"two";case v.Few:return"few";case v.Many:return"many";default:return"other"}},t}(q);function Q(e,t){"string"==typeof t&&(t=parseInt(t,10));var n=t,r=n.toString().replace(/^[^.]*\.?/,""),i=Math.floor(Math.abs(n)),o=r.length,a=parseInt(r,10),s=parseInt(n.toString().replace(/^[^.]*\.?|0+$/g,""),10)||0;switch(e.split("-")[0].toLowerCase()){case"af":case"asa":case"az":case"bem":case"bez":case"bg":case"brx":case"ce":case"cgg":case"chr":case"ckb":case"ee":case"el":case"eo":case"es":case"eu":case"fo":case"fur":case"gsw":case"ha":case"haw":case"hu":case"jgo":case"jmc":case"ka":case"kk":case"kkj":case"kl":case"ks":case"ksb":case"ky":case"lb":case"lg":case"mas":case"mgo":case"ml":case"mn":case"nb":case"nd":case"ne":case"nn":case"nnh":case"nyn":case"om":case"or":case"os":case"ps":case"rm":case"rof":case"rwk":case"saq":case"seh":case"sn":case"so":case"sq":case"ta":case"te":case"teo":case"tk":case"tr":case"ug":case"uz":case"vo":case"vun":case"wae":case"xog":return 1===n?v.One:v.Other;case"ak":case"ln":case"mg":case"pa":case"ti":return n===Math.floor(n)&&n>=0&&n<=1?v.One:v.Other;case"am":case"as":case"bn":case"fa":case"gu":case"hi":case"kn":case"mr":case"zu":return 0===i||1===n?v.One:v.Other;case"ar":return 0===n?v.Zero:1===n?v.One:2===n?v.Two:n%100===Math.floor(n%100)&&n%100>=3&&n%100<=10?v.Few:n%100===Math.floor(n%100)&&n%100>=11&&n%100<=99?v.Many:v.Other;case"ast":case"ca":case"de":case"en":case"et":case"fi":case"fy":case"gl":case"it":case"nl":case"sv":case"sw":case"ur":case"yi":return 1===i&&0===o?v.One:v.Other;case"be":return n%10==1&&n%100!=11?v.One:n%10===Math.floor(n%10)&&n%10>=2&&n%10<=4&&!(n%100>=12&&n%100<=14)?v.Few:n%10==0||n%10===Math.floor(n%10)&&n%10>=5&&n%10<=9||n%100===Math.floor(n%100)&&n%100>=11&&n%100<=14?v.Many:v.Other;case"br":return n%10==1&&n%100!=11&&n%100!=71&&n%100!=91?v.One:n%10==2&&n%100!=12&&n%100!=72&&n%100!=92?v.Two:n%10===Math.floor(n%10)&&(n%10>=3&&n%10<=4||n%10==9)&&!(n%100>=10&&n%100<=19||n%100>=70&&n%100<=79||n%100>=90&&n%100<=99)?v.Few:0!==n&&n%1e6==0?v.Many:v.Other;case"bs":case"hr":case"sr":return 0===o&&i%10==1&&i%100!=11||a%10==1&&a%100!=11?v.One:0===o&&i%10===Math.floor(i%10)&&i%10>=2&&i%10<=4&&!(i%100>=12&&i%100<=14)||a%10===Math.floor(a%10)&&a%10>=2&&a%10<=4&&!(a%100>=12&&a%100<=14)?v.Few:v.Other;case"cs":case"sk":return 1===i&&0===o?v.One:i===Math.floor(i)&&i>=2&&i<=4&&0===o?v.Few:0!==o?v.Many:v.Other;case"cy":return 0===n?v.Zero:1===n?v.One:2===n?v.Two:3===n?v.Few:6===n?v.Many:v.Other;case"da":return 1===n||0!==s&&(0===i||1===i)?v.One:v.Other;case"dsb":case"hsb":return 0===o&&i%100==1||a%100==1?v.One:0===o&&i%100==2||a%100==2?v.Two:0===o&&i%100===Math.floor(i%100)&&i%100>=3&&i%100<=4||a%100===Math.floor(a%100)&&a%100>=3&&a%100<=4?v.Few:v.Other;case"ff":case"fr":case"hy":case"kab":return 0===i||1===i?v.One:v.Other;case"fil":return 0===o&&(1===i||2===i||3===i)||0===o&&i%10!=4&&i%10!=6&&i%10!=9||0!==o&&a%10!=4&&a%10!=6&&a%10!=9?v.One:v.Other;case"ga":return 1===n?v.One:2===n?v.Two:n===Math.floor(n)&&n>=3&&n<=6?v.Few:n===Math.floor(n)&&n>=7&&n<=10?v.Many:v.Other;case"gd":return 1===n||11===n?v.One:2===n||12===n?v.Two:n===Math.floor(n)&&(n>=3&&n<=10||n>=13&&n<=19)?v.Few:v.Other;case"gv":return 0===o&&i%10==1?v.One:0===o&&i%10==2?v.Two:0!==o||i%100!=0&&i%100!=20&&i%100!=40&&i%100!=60&&i%100!=80?0!==o?v.Many:v.Other:v.Few;case"he":return 1===i&&0===o?v.One:2===i&&0===o?v.Two:0!==o||n>=0&&n<=10||n%10!=0?v.Other:v.Many;case"is":return 0===s&&i%10==1&&i%100!=11||0!==s?v.One:v.Other;case"ksh":return 0===n?v.Zero:1===n?v.One:v.Other;case"kw":case"naq":case"se":case"smn":return 1===n?v.One:2===n?v.Two:v.Other;case"lag":return 0===n?v.Zero:0!==i&&1!==i||0===n?v.Other:v.One;case"lt":return n%10!=1||n%100>=11&&n%100<=19?n%10===Math.floor(n%10)&&n%10>=2&&n%10<=9&&!(n%100>=11&&n%100<=19)?v.Few:0!==a?v.Many:v.Other:v.One;case"lv":case"prg":return n%10==0||n%100===Math.floor(n%100)&&n%100>=11&&n%100<=19||2===o&&a%100===Math.floor(a%100)&&a%100>=11&&a%100<=19?v.Zero:n%10==1&&n%100!=11||2===o&&a%10==1&&a%100!=11||2!==o&&a%10==1?v.One:v.Other;case"mk":return 0===o&&i%10==1||a%10==1?v.One:v.Other;case"mt":return 1===n?v.One:0===n||n%100===Math.floor(n%100)&&n%100>=2&&n%100<=10?v.Few:n%100===Math.floor(n%100)&&n%100>=11&&n%100<=19?v.Many:v.Other;case"pl":return 1===i&&0===o?v.One:0===o&&i%10===Math.floor(i%10)&&i%10>=2&&i%10<=4&&!(i%100>=12&&i%100<=14)?v.Few:0===o&&1!==i&&i%10===Math.floor(i%10)&&i%10>=0&&i%10<=1||0===o&&i%10===Math.floor(i%10)&&i%10>=5&&i%10<=9||0===o&&i%100===Math.floor(i%100)&&i%100>=12&&i%100<=14?v.Many:v.Other;case"pt":return n===Math.floor(n)&&n>=0&&n<=2&&2!==n?v.One:v.Other;case"ro":return 1===i&&0===o?v.One:0!==o||0===n||1!==n&&n%100===Math.floor(n%100)&&n%100>=1&&n%100<=19?v.Few:v.Other;case"ru":case"uk":return 0===o&&i%10==1&&i%100!=11?v.One:0===o&&i%10===Math.floor(i%10)&&i%10>=2&&i%10<=4&&!(i%100>=12&&i%100<=14)?v.Few:0===o&&i%10==0||0===o&&i%10===Math.floor(i%10)&&i%10>=5&&i%10<=9||0===o&&i%100===Math.floor(i%100)&&i%100>=11&&i%100<=14?v.Many:v.Other;case"shi":return 0===i||1===n?v.One:n===Math.floor(n)&&n>=2&&n<=10?v.Few:v.Other;case"si":return 0===n||1===n||0===i&&1===a?v.One:v.Other;case"sl":return 0===o&&i%100==1?v.One:0===o&&i%100==2?v.Two:0===o&&i%100===Math.floor(i%100)&&i%100>=3&&i%100<=4||0!==o?v.Few:v.Other;case"tzm":return n===Math.floor(n)&&n>=0&&n<=1||n===Math.floor(n)&&n>=11&&n<=99?v.One:v.Other;default:return v.Other}}function Y(e,t){t=encodeURIComponent(t);for(var n=0,r=e.split(";");n0||s>-n)&&(s+=n),e===me.Hours&&0===s&&-12===n&&(s=12),_e(s,t,A(a,x.MinusSign),r,i)}}function xe(e,t,n,r){return void 0===n&&(n=b.Format),void 0===r&&(r=!1),function(i,o){return function(e,t,n,r,i,o){switch(n){case ve.Months:return S(t,i,r)[e.getMonth()];case ve.Days:return I(t,i,r)[e.getDay()];case ve.DayPeriods:var a=e.getHours(),s=e.getMinutes();if(o){var l,u=z(t),c=H(t,i,r);if(u.forEach(function(e,t){if(Array.isArray(e)){var n=e[0],r=e[1],i=r.hours;a>=n.hours&&s>=n.minutes&&(a0?Math.floor(i/60):Math.ceil(i/60);switch(e){case ye.Short:return(i>=0?"+":"")+_e(a,2,o)+_e(Math.abs(i%60),2,o);case ye.ShortGMT:return"GMT"+(i>=0?"+":"")+_e(a,1,o);case ye.Long:return"GMT"+(i>=0?"+":"")+_e(a,2,o)+":"+_e(Math.abs(i%60),2,o);case ye.Extended:return 0===r?"Z":(i>=0?"+":"")+_e(a,2,o)+":"+_e(Math.abs(i%60),2,o);default:throw new Error('Unknown zone width "'+e+'"')}}}var Oe=0,Ee=4;function Ie(e,t){return void 0===t&&(t=!1),function(n,r){var i,o,a,s;if(t){var l=new Date(n.getFullYear(),n.getMonth(),1).getDay()-1,u=n.getDate();i=1+Math.floor((u+l)/7)}else{var c=(a=n.getFullYear(),s=new Date(a,Oe,1).getDay(),new Date(a,0,1+(s<=Ee?Ee:Ee+7)-s)),p=(o=n,new Date(o.getFullYear(),o.getMonth(),o.getDate()+(Ee-o.getDay()))).getTime()-c.getTime();i=1+Math.round(p/6048e5)}return _e(i,e,A(r,x.MinusSign))}}var Se={};function Pe(e,t){e=e.replace(/:/g,"");var n=Date.parse("Jan 01, 1970 00:00:00 "+e)/6e4;return isNaN(n)?t:n}function ke(e,t){return Error("InvalidPipeArgument: '"+t+"' for pipe '"+Object(r["\u0275stringify"])(e)+"'")}var Te=/^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,Me=function(){function e(e){this.locale=e}return e.prototype.transform=function(t,n,r,i){if(void 0===n&&(n="mediumDate"),null==t||""===t||t!=t)return null;var o,a;if("string"==typeof t&&(t=t.trim()),Ne(t))o=t;else if(isNaN(t-parseFloat(t)))if("string"==typeof t&&/^(\d{4}-\d{1,2}-\d{1,2})$/.test(t)){var s=t.split("-").map(function(e){return+e});o=new Date(s[0],s[1]-1,s[2])}else o="string"==typeof t&&(a=t.match(Te))?De(a):new Date(t);else o=new Date(parseFloat(t));if(!Ne(o))throw ke(e,t);return function(e,t,n,r){t=function e(t,n){var r=O(t);if(he[r]=he[r]||{},he[r][n])return he[r][n];var i="";switch(n){case"shortDate":i=M(t,w.Short);break;case"mediumDate":i=M(t,w.Medium);break;case"longDate":i=M(t,w.Long);break;case"fullDate":i=M(t,w.Full);break;case"shortTime":i=D(t,w.Short);break;case"mediumTime":i=D(t,w.Medium);break;case"longTime":i=D(t,w.Long);break;case"fullTime":i=D(t,w.Full);break;case"short":var o=e(t,"shortTime"),a=e(t,"shortDate");i=be(N(t,w.Short),[o,a]);break;case"medium":var s=e(t,"mediumTime"),l=e(t,"mediumDate");i=be(N(t,w.Medium),[s,l]);break;case"long":var u=e(t,"longTime"),c=e(t,"longDate");i=be(N(t,w.Long),[u,c]);break;case"full":var p=e(t,"fullTime"),d=e(t,"fullDate");i=be(N(t,w.Full),[p,d])}return i&&(he[r][n]=i),i}(n,t)||t;for(var i,o=[];t;){if(!(i=ge.exec(t))){o.push(t);break}var a=(o=o.concat(i.slice(1))).pop();if(!a)break;t=a}var s=e.getTimezoneOffset();r&&(s=Pe(r,s),e=function(e,t,n){var r=e.getTimezoneOffset();return function(e,t){return(e=new Date(e.getTime())).setMinutes(e.getMinutes()+t),e}(e,-1*(Pe(t,r)-r))}(e,r));var l="";return o.forEach(function(t){var r=function(e){if(Se[e])return Se[e];var t;switch(e){case"G":case"GG":case"GGG":t=xe(ve.Eras,_.Abbreviated);break;case"GGGG":t=xe(ve.Eras,_.Wide);break;case"GGGGG":t=xe(ve.Eras,_.Narrow);break;case"y":t=we(me.FullYear,1,0,!1,!0);break;case"yy":t=we(me.FullYear,2,0,!0,!0);break;case"yyy":t=we(me.FullYear,3,0,!1,!0);break;case"yyyy":t=we(me.FullYear,4,0,!1,!0);break;case"M":case"L":t=we(me.Month,1,1);break;case"MM":case"LL":t=we(me.Month,2,1);break;case"MMM":t=xe(ve.Months,_.Abbreviated);break;case"MMMM":t=xe(ve.Months,_.Wide);break;case"MMMMM":t=xe(ve.Months,_.Narrow);break;case"LLL":t=xe(ve.Months,_.Abbreviated,b.Standalone);break;case"LLLL":t=xe(ve.Months,_.Wide,b.Standalone);break;case"LLLLL":t=xe(ve.Months,_.Narrow,b.Standalone);break;case"w":t=Ie(1);break;case"ww":t=Ie(2);break;case"W":t=Ie(1,!0);break;case"d":t=we(me.Date,1);break;case"dd":t=we(me.Date,2);break;case"E":case"EE":case"EEE":t=xe(ve.Days,_.Abbreviated);break;case"EEEE":t=xe(ve.Days,_.Wide);break;case"EEEEE":t=xe(ve.Days,_.Narrow);break;case"EEEEEE":t=xe(ve.Days,_.Short);break;case"a":case"aa":case"aaa":t=xe(ve.DayPeriods,_.Abbreviated);break;case"aaaa":t=xe(ve.DayPeriods,_.Wide);break;case"aaaaa":t=xe(ve.DayPeriods,_.Narrow);break;case"b":case"bb":case"bbb":t=xe(ve.DayPeriods,_.Abbreviated,b.Standalone,!0);break;case"bbbb":t=xe(ve.DayPeriods,_.Wide,b.Standalone,!0);break;case"bbbbb":t=xe(ve.DayPeriods,_.Narrow,b.Standalone,!0);break;case"B":case"BB":case"BBB":t=xe(ve.DayPeriods,_.Abbreviated,b.Format,!0);break;case"BBBB":t=xe(ve.DayPeriods,_.Wide,b.Format,!0);break;case"BBBBB":t=xe(ve.DayPeriods,_.Narrow,b.Format,!0);break;case"h":t=we(me.Hours,1,-12);break;case"hh":t=we(me.Hours,2,-12);break;case"H":t=we(me.Hours,1);break;case"HH":t=we(me.Hours,2);break;case"m":t=we(me.Minutes,1);break;case"mm":t=we(me.Minutes,2);break;case"s":t=we(me.Seconds,1);break;case"ss":t=we(me.Seconds,2);break;case"S":t=we(me.Milliseconds,1);break;case"SS":t=we(me.Milliseconds,2);break;case"SSS":t=we(me.Milliseconds,3);break;case"Z":case"ZZ":case"ZZZ":t=Ce(ye.Short);break;case"ZZZZZ":t=Ce(ye.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":t=Ce(ye.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":t=Ce(ye.Long);break;default:return null}return Se[e]=t,t}(t);l+=r?r(e,n,s):"''"===t?"'":t.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),l}(o,n,i||this.locale,r)},e}();function De(e){var t=new Date(0),n=0,r=0,i=e[8]?t.setUTCHours:t.setHours;e[9]&&(n=+(e[9]+e[10]),r=+(e[9]+e[11])),(e[8]?t.setUTCFullYear:t.setFullYear).call(t,+e[1],+e[2]-1,+e[3]);var o=+(e[4]||"0")-n,a=+(e[5]||"0")-r,s=+(e[6]||"0"),l=Math.round(1e3*parseFloat("0."+(e[7]||0)));return i.call(t,o,a,s,l),t}function Ne(e){return e instanceof Date&&!isNaN(e.valueOf())}var Ae=function(){function e(){}return e.format=function(e,t,n,r){void 0===r&&(r={});var i=r.currency,o=r.currencyAsSymbol,a=void 0!==o&&o,s={minimumIntegerDigits:r.minimumIntegerDigits,minimumFractionDigits:r.minimumFractionDigits,maximumFractionDigits:r.maximumFractionDigits,style:m[n].toLowerCase()};return n==m.Currency&&(s.currency="string"==typeof i?i:void 0,s.currencyDisplay=a?"symbol":"code"),new Intl.NumberFormat(t,s).format(e)},e}(),Re=/((?:[^yMLdHhmsazZEwGjJ']+)|(?:'(?:[^']|'')*')|(?:E+|y+|M+|L+|d+|H+|h+|J+|j+|m+|s+|a|z|Z|G+|w+))(.*)/,Fe={yMMMdjms:We(Ze([Ue("year",1),Ge("month",3),Ue("day",1),Ue("hour",1),Ue("minute",1),Ue("second",1)])),yMdjm:We(Ze([Ue("year",1),Ue("month",1),Ue("day",1),Ue("hour",1),Ue("minute",1)])),yMMMMEEEEd:We(Ze([Ue("year",1),Ge("month",4),Ge("weekday",4),Ue("day",1)])),yMMMMd:We(Ze([Ue("year",1),Ge("month",4),Ue("day",1)])),yMMMd:We(Ze([Ue("year",1),Ge("month",3),Ue("day",1)])),yMd:We(Ze([Ue("year",1),Ue("month",1),Ue("day",1)])),jms:We(Ze([Ue("hour",1),Ue("second",1),Ue("minute",1)])),jm:We(Ze([Ue("hour",1),Ue("minute",1)]))},Le={yyyy:We(Ue("year",4)),yy:We(Ue("year",2)),y:We(Ue("year",1)),MMMM:We(Ge("month",4)),MMM:We(Ge("month",3)),MM:We(Ue("month",2)),M:We(Ue("month",1)),LLLL:We(Ge("month",4)),L:We(Ge("month",1)),dd:We(Ue("day",2)),d:We(Ue("day",1)),HH:je(Ve(We(Be(Ue("hour",2),!1)))),H:Ve(We(Be(Ue("hour",1),!1))),hh:je(Ve(We(Be(Ue("hour",2),!0)))),h:Ve(We(Be(Ue("hour",1),!0))),jj:We(Ue("hour",2)),j:We(Ue("hour",1)),mm:je(We(Ue("minute",2))),m:We(Ue("minute",1)),ss:je(We(Ue("second",2))),s:We(Ue("second",1)),sss:We(Ue("second",3)),EEEE:We(Ge("weekday",4)),EEE:We(Ge("weekday",3)),EE:We(Ge("weekday",2)),E:We(Ge("weekday",1)),a:function(e){return function(t,n){return e(t,n).split(" ")[1]}}(We(Be(Ue("hour",1),!0))),Z:He("short"),z:He("long"),ww:We({}),w:We({}),G:We(Ge("era",1)),GG:We(Ge("era",2)),GGG:We(Ge("era",3)),GGGG:We(Ge("era",4))};function je(e){return function(t,n){var r=e(t,n);return 1==r.length?"0"+r:r}}function Ve(e){return function(t,n){return e(t,n).split(" ")[0]}}function ze(e,t,n){return new Intl.DateTimeFormat(t,n).format(e).replace(/[\u200e\u200f]/g,"")}function He(e){var t={hour:"2-digit",hour12:!1,timeZoneName:e};return function(e,n){var r=ze(e,n,t);return r?r.substring(3):""}}function Be(e,t){return e.hour12=t,e}function Ue(e,t){return function(){var n={};return n[e]=2===t?"2-digit":"numeric",n}()}function Ge(e,t){var n={};return n[e]=t<4?t>1?"short":"narrow":"long",n}function Ze(e){return e.reduce(function(e,t){return Object(i.a)({},e,t)},{})}function We(e){return function(t,n){return ze(t,n,e)}}var qe=new Map,Ke=function(){function e(){}return e.format=function(e,t,n){return function(e,t,n){var r=Fe[e];if(r)return r(t,n);var i=e,o=qe.get(i);if(!o){o=[];var a=void 0;Re.exec(e);for(var s=e;s;)(a=Re.exec(s))?s=(o=o.concat(a.slice(1))).pop():(o.push(s),s=null);qe.set(i,o)}return o.reduce(function(e,r){var i=Le[r];return e+(i?i(t,n):function(e){return"''"===e?"'":e.replace(/(^'|'$)/g,"").replace(/''/g,"'")}(r))},"")}(n,e,t)},e}(),$e=function(){function e(e){this._locale=e}return e.prototype.transform=function(t,n){if(void 0===n&&(n="mediumDate"),null==t||""===t||t!=t)return null;var r;if("string"==typeof t&&(t=t.trim()),Qe(t))r=t;else if(isNaN(t-parseFloat(t)))if("string"==typeof t&&/^(\d{4}-\d{1,2}-\d{1,2})$/.test(t)){var i=t.split("-").map(function(e){return parseInt(e,10)});r=new Date(i[0],i[1]-1,i[2])}else r=new Date(t);else r=new Date(parseFloat(t));if(!Qe(r)){var o=void 0;if("string"!=typeof t||!(o=t.match(Te)))throw ke(e,t);r=De(o)}return Ke.format(r,this._locale,e._ALIASES[n]||n)},e._ALIASES={medium:"yMMMdjms",short:"yMdjm",fullDate:"yMMMMEEEEd",longDate:"yMMMMd",mediumDate:"yMMMd",shortDate:"yMd",mediumTime:"jms",shortTime:"jm"},e}();function Qe(e){return e instanceof Date&&!isNaN(e.valueOf())}var Ye=/^(\d+)?\.((\d+)(-(\d+))?)?$/,Je=22,Xe=".",et="0",tt=";",nt=",",rt="#",it="\xa4",ot="%";function at(e,t,n,r,i){void 0===i&&(i=null);var o,a={str:null},s=R(t,n);if("string"!=typeof e||isNaN(+e-parseFloat(e))){if("number"!=typeof e)return a.error=e+" is not a number",a;o=e}else o=+e;var l=function(e,t){void 0===t&&(t="-");var n={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},r=e.split(tt),i=r[0],o=r[1],a=-1!==i.indexOf(Xe)?i.split(Xe):[i.substring(0,i.lastIndexOf(et)+1),i.substring(i.lastIndexOf(et)+1)],s=a[0],l=a[1]||"";n.posPre=s.substr(0,s.indexOf(rt));for(var u=0;u-1&&(a=a.replace(Xe,"")),(r=a.search(/e/i))>0?(n<0&&(n=r),n+=+a.slice(r+1),a=a.substring(0,r)):n<0&&(n=a.length),r=0;a.charAt(r)===et;r++);if(r===(o=a.length))t=[0],n=1;else{for(o--;a.charAt(o)===et;)o--;for(n-=r,t=[],i=0;r<=o;r++,i++)t[i]=+a.charAt(r)}return n>Je&&(t=t.splice(0,Je-1),s=n-1,n=1),{digits:t,exponent:s,integerLen:n}}(o);n===m.Percent&&(p=function(e){if(0===e.digits[0])return e;var t=e.digits.length-e.integerLen;return e.exponent?e.exponent+=2:(0===t?e.digits.push(0,0):1===t&&e.digits.push(0),e.integerLen+=2),e}(p));var d=l.minInt,f=l.minFrac,h=l.maxFrac;if(r){var g=r.match(Ye);if(null===g)return a.error=r+" is not a valid digit info",a;var y=g[1],v=g[3],b=g[5];null!=y&&(d=st(y)),null!=v&&(f=st(v)),null!=b?h=st(b):null!=v&&f>h&&(h=f)}!function(e,t,n){if(t>n)throw new Error("The minimum number of digits after fraction ("+t+") is higher than the maximum ("+n+").");var r=e.digits,i=r.length-e.integerLen,o=Math.min(Math.max(t,i),n),a=o+e.integerLen,s=r[a];if(a>0){r.splice(Math.max(e.integerLen,a));for(var l=a;l=5)if(a-1<0){for(var c=0;c>a;c--)r.unshift(0),e.integerLen++;r.unshift(1),e.integerLen++}else r[a-1]++;for(;i=d?r.pop():p=!1),t>=10?1:0},0);f&&(r.unshift(f),e.integerLen++)}(p,f,h);var _=p.digits,w=p.integerLen,C=p.exponent,O=[];for(c=_.every(function(e){return!e});w0?O=_.splice(w,_.length):(O=_,_=[0]);var E=[];for(_.length>=l.lgSize&&E.unshift(_.splice(-l.lgSize,_.length).join(""));_.length>l.gSize;)E.unshift(_.splice(-l.gSize,_.length).join(""));_.length&&E.unshift(_.join("")),u=E.join(A(t,i?x.CurrencyGroup:x.Group)),O.length&&(u+=A(t,i?x.CurrencyDecimal:x.Decimal)+O.join("")),C&&(u+=A(t,x.Exponential)+"+"+C)}else u=A(t,x.Infinity);return u=o<0&&!c?l.negPre+u+l.negSuf:l.posPre+u+l.posSuf,n===m.Currency&&null!==i?(a.str=u.replace(it,i).replace(it,""),a):n===m.Percent?(a.str=u.replace(new RegExp(ot,"g"),A(t,x.PercentSign)),a):(a.str=u,a)}function st(e){var t=parseInt(e);if(isNaN(t))throw new Error("Invalid integer literal when parsing "+e);return t}function lt(e,t,n,r,i,o,a){if(void 0===o&&(o=null),void 0===a&&(a=!1),null==n)return null;if("number"!=typeof(n="string"!=typeof n||isNaN(+n-parseFloat(n))?n:+n))throw ke(e,n);var s,l,u;if(r!==m.Currency&&(s=1,l=0,u=3),i){var c=i.match(Ye);if(null===c)throw new Error(i+" is not a valid digit info for number pipes");null!=c[1]&&(s=st(c[1])),null!=c[3]&&(l=st(c[3])),null!=c[5]&&(u=st(c[5]))}return Ae.format(n,t,r,{minimumIntegerDigits:s,minimumFractionDigits:l,maximumFractionDigits:u,currency:o,currencyAsSymbol:a})}var ut=function(){function e(e){this._locale=e}return e.prototype.transform=function(t,n){return lt(e,this._locale,t,m.Decimal,n)},e}(),ct=function(){function e(e){this._locale=e}return e.prototype.transform=function(t,n){return lt(e,this._locale,t,m.Percent,n)},e}(),pt=function(){function e(e){this._locale=e}return e.prototype.transform=function(t,n,r,i){return void 0===n&&(n="USD"),void 0===r&&(r=!1),lt(e,this._locale,t,m.Currency,i,n,r)},e}(),dt=[ut,ct,pt,$e],ft=function(){function e(){}return e.prototype.createSubscription=function(e,t){return e.subscribe({next:t,error:function(e){throw e}})},e.prototype.dispose=function(e){e.unsubscribe()},e.prototype.onDestroy=function(e){e.unsubscribe()},e}(),ht=new(function(){function e(){}return e.prototype.createSubscription=function(e,t){return e.then(t,function(e){throw e})},e.prototype.dispose=function(e){},e.prototype.onDestroy=function(e){},e}()),gt=new ft,yt=function(){function e(e){this._ref=e,this._latestValue=null,this._latestReturnedValue=null,this._subscription=null,this._obj=null,this._strategy=null}return e.prototype.ngOnDestroy=function(){this._subscription&&this._dispose()},e.prototype.transform=function(e){return this._obj?e!==this._obj?(this._dispose(),this.transform(e)):this._latestValue===this._latestReturnedValue?this._latestReturnedValue:(this._latestReturnedValue=this._latestValue,r.WrappedValue.wrap(this._latestValue)):(e&&this._subscribe(e),this._latestReturnedValue=this._latestValue,this._latestValue)},e.prototype._subscribe=function(e){var t=this;this._obj=e,this._strategy=this._selectStrategy(e),this._subscription=this._strategy.createSubscription(e,function(n){return t._updateLatestValue(e,n)})},e.prototype._selectStrategy=function(t){if(Object(r["\u0275isPromise"])(t))return ht;if(Object(r["\u0275isObservable"])(t))return gt;throw ke(e,t)},e.prototype._dispose=function(){this._strategy.dispose(this._subscription),this._latestValue=null,this._latestReturnedValue=null,this._subscription=null,this._obj=null},e.prototype._updateLatestValue=function(e,t){e===this._obj&&(this._latestValue=t,this._ref.markForCheck())},e}(),mt=function(){function e(){}return e.prototype.transform=function(t){if(!t)return t;if("string"!=typeof t)throw ke(e,t);return t.toLowerCase()},e}(),vt=function(){function e(){}return e.prototype.transform=function(t){if(!t)return t;if("string"!=typeof t)throw ke(e,t);return t.split(/\b/g).map(function(e){return function(e){return e?e[0].toUpperCase()+e.substr(1).toLowerCase():e}(e)}).join("")},e}(),bt=function(){function e(){}return e.prototype.transform=function(t){if(!t)return t;if("string"!=typeof t)throw ke(e,t);return t.toUpperCase()},e}(),_t=/#/g,wt=function(){function e(e){this._localization=e}return e.prototype.transform=function(t,n,r){if(null==t)return"";if("object"!=typeof n||null===n)throw ke(e,n);return n[K(t,Object.keys(n),this._localization,r)].replace(_t,t.toString())},e}(),xt=function(){function e(){}return e.prototype.transform=function(t,n){if(null==t)return"";if("object"!=typeof n||"string"!=typeof t)throw ke(e,n);return n.hasOwnProperty(t)?n[t]:n.hasOwnProperty("other")?n.other:""},e}(),Ct=function(){function e(){}return e.prototype.transform=function(e){return JSON.stringify(e,null,2)},e}(),Ot=function(){function e(e){this._locale=e}return e.prototype.transform=function(t,n,r){if(St(t))return null;var i=at(t,r=r||this._locale,m.Decimal,n),o=i.str,a=i.error;if(a)throw ke(e,a);return o},e}(),Et=function(){function e(e){this._locale=e}return e.prototype.transform=function(t,n,r){if(St(t))return null;var i=at(t,r=r||this._locale,m.Percent,n),o=i.str,a=i.error;if(a)throw ke(e,a);return o},e}(),It=function(){function e(e){this._locale=e}return e.prototype.transform=function(t,n,r,i,o){if(void 0===r&&(r="symbol"),St(t))return null;o=o||this._locale,"boolean"==typeof r&&(console&&console.warn&&console.warn('Warning: the currency pipe has been changed in Angular v5. The symbolDisplay option (third parameter) is now a string instead of a boolean. The accepted values are "code", "symbol" or "symbol-narrow".'),r=r?"symbol":"code");var a=n||"USD";"code"!==r&&(a=Z(a,"symbol"===r?"wide":"narrow"));var s=at(t,o,m.Currency,i,a),l=s.str,u=s.error;if(u)throw ke(e,u);return l},e}();function St(e){return null==e||""===e||e!=e}var Pt=function(){function e(){}return e.prototype.transform=function(t,n,r){if(null==t)return t;if(!this.supports(t))throw ke(e,t);return t.slice(n,r)},e.prototype.supports=function(e){return"string"==typeof e||Array.isArray(e)},e}(),kt=[yt,bt,mt,Ct,Pt,Ot,Et,vt,It,Me,wt,xt],Tt=function(){},Mt=function(){},Dt=new r.InjectionToken("DocumentToken"),Nt="browser",At="server",Rt="browserWorkerApp",Ft="browserWorkerUi";function Lt(e){return e===Nt}function jt(e){return e===At}function Vt(e){return e===Rt}function zt(e){return e===Ft}var Ht=new r.Version("5.2.11")},YaPU:function(e,t,n){"use strict";var r=n("AMGY"),i=n("OVmG"),o=n("tLDX"),a=n("t7NR"),s=n("+CnV");n.d(t,"a",function(){return l});var l=function(){function e(e){this._isScalar=!1,e&&(this._subscribe=e)}return e.prototype.lift=function(t){var n=new e;return n.source=this,n.operator=t,n},e.prototype.subscribe=function(e,t,n){var r=this.operator,s=function(e,t,n){if(e){if(e instanceof i.a)return e;if(e[o.a])return e[o.a]()}return e||t||n?new i.a(e,t,n):new i.a(a.a)}(e,t,n);if(r?r.call(s,this.source):s.add(this.source||!s.syncErrorThrowable?this._subscribe(s):this._trySubscribe(s)),s.syncErrorThrowable&&(s.syncErrorThrowable=!1,s.syncErrorThrown))throw s.syncErrorValue;return s},e.prototype._trySubscribe=function(e){try{return this._subscribe(e)}catch(t){e.syncErrorThrown=!0,e.syncErrorValue=t,e.error(t)}},e.prototype.forEach=function(e,t){var n=this;if(t||(r.a.Rx&&r.a.Rx.config&&r.a.Rx.config.Promise?t=r.a.Rx.config.Promise:r.a.Promise&&(t=r.a.Promise)),!t)throw new Error("no Promise impl found");return new t(function(t,r){var i;i=n.subscribe(function(t){if(i)try{e(t)}catch(e){r(e),i.unsubscribe()}else e(t)},r,t)})},e.prototype._subscribe=function(e){return this.source.subscribe(e)},e.prototype[s.a]=function(){return this},e.prototype.pipe=function(){for(var e=[],t=0;t .active[_ngcontent-%COMP%] > a[_ngcontent-%COMP%], .navbar-default[_ngcontent-%COMP%] .navbar-nav[_ngcontent-%COMP%] > .active[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]:focus, .navbar-default[_ngcontent-%COMP%] .navbar-nav[_ngcontent-%COMP%] > .active[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]:hover{background:#000;font-weight:700;color:#fff}.navbar-default[_ngcontent-%COMP%] .navbar-nav[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]{color:#d8d8d8}.navbar-default[_ngcontent-%COMP%] .navbar-brand[_ngcontent-%COMP%]{font-weight:700;color:#fff;font-size:18pt}"]],data:{}});function l(e){return r["\u0275vid"](0,[(e()(),r["\u0275eld"](0,0,null,null,40,"nav",[["class","navbar navbar-default"]],null,null,null,null,null)),(e()(),r["\u0275ted"](-1,null,["\n "])),(e()(),r["\u0275ted"](-1,null,["\n "])),(e()(),r["\u0275eld"](3,0,null,null,35,"div",[["class","container"]],null,null,null,null,null)),(e()(),r["\u0275ted"](-1,null,["\n\n "])),(e()(),r["\u0275eld"](5,0,null,null,5,"div",[["class","navbar-header"]],null,null,null,null,null)),(e()(),r["\u0275ted"](-1,null,["\n "])),(e()(),r["\u0275ted"](-1,null,["\n "])),(e()(),r["\u0275eld"](8,0,null,null,1,"a",[["class","navbar-brand"],["href","#"]],null,null,null,null,null)),(e()(),r["\u0275ted"](-1,null,["Safe Eyes"])),(e()(),r["\u0275ted"](-1,null,["\n "])),(e()(),r["\u0275ted"](-1,null,["\n\n "])),(e()(),r["\u0275eld"](12,0,null,null,25,"div",[["class","collapse navbar-collapse"]],null,null,null,null,null)),(e()(),r["\u0275ted"](-1,null,["\n "])),(e()(),r["\u0275eld"](14,0,null,null,22,"ul",[["class","nav navbar-nav"]],null,null,null,null,null)),(e()(),r["\u0275ted"](-1,null,["\n "])),(e()(),r["\u0275ted"](-1,null,["\n "])),(e()(),r["\u0275eld"](17,0,null,null,2,"li",[["class","active pull-left"]],null,null,null,null,null)),(e()(),r["\u0275eld"](18,0,null,null,1,"a",[["href","#"]],null,null,null,null,null)),(e()(),r["\u0275ted"](-1,null,["Home"])),(e()(),r["\u0275ted"](-1,null,["\n "])),(e()(),r["\u0275eld"](21,0,null,null,2,"li",[],null,null,null,null,null)),(e()(),r["\u0275eld"](22,0,null,null,1,"a",[["href","#installation"]],null,null,null,null,null)),(e()(),r["\u0275ted"](-1,null,["Installation"])),(e()(),r["\u0275ted"](-1,null,["\n "])),(e()(),r["\u0275eld"](25,0,null,null,2,"li",[],null,null,null,null,null)),(e()(),r["\u0275eld"](26,0,null,null,1,"a",[["href","#features"]],null,null,null,null,null)),(e()(),r["\u0275ted"](-1,null,["Features"])),(e()(),r["\u0275ted"](-1,null,["\n "])),(e()(),r["\u0275eld"](29,0,null,null,2,"li",[],null,null,null,null,null)),(e()(),r["\u0275eld"](30,0,null,null,1,"a",[["href","#contribute"]],null,null,null,null,null)),(e()(),r["\u0275ted"](-1,null,["Contribute"])),(e()(),r["\u0275ted"](-1,null,["\n "])),(e()(),r["\u0275eld"](33,0,null,null,2,"li",[["class","social pull-right"]],null,null,null,null,null)),(e()(),r["\u0275eld"](34,0,null,null,1,"a",[["href","https://github.com/slgobinath/SafeEyes/"]],null,null,null,null,null)),(e()(),r["\u0275ted"](-1,null,["Source"])),(e()(),r["\u0275ted"](-1,null,["\n "])),(e()(),r["\u0275ted"](-1,null,["\n "])),(e()(),r["\u0275ted"](-1,null,["\n "])),(e()(),r["\u0275ted"](-1,null,["\n "])),(e()(),r["\u0275ted"](-1,null,["\n"])),(e()(),r["\u0275ted"](-1,null,["\n"]))],null,null)}var u=function(){function e(){}return e.prototype.ngOnInit=function(){},e}(),c=r["\u0275crt"]({encapsulation:0,styles:[["h1[_ngcontent-%COMP%]{font-family:Roboto;font-size:36pt}p[_ngcontent-%COMP%]{font-size:18pt;margin-top:30px;text-align:justify;font-family:Raleway,Arial,sans-serif}.row[_ngcontent-%COMP%]{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap}.row[_ngcontent-%COMP%] > [class*=col-][_ngcontent-%COMP%]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-ms-flex-item-align:center;align-self:center}.row[_ngcontent-%COMP%] > [class*=col-][_ngcontent-%COMP%] img[_ngcontent-%COMP%]{-ms-flex-item-align:center;-ms-grid-row-align:center;align-self:center}"]],data:{}});function p(e){return r["\u0275vid"](0,[(e()(),r["\u0275eld"](0,0,null,null,19,"div",[["class","d-flex justify-content-between"]],null,null,null,null,null)),(e()(),r["\u0275ted"](-1,null,["\n "])),(e()(),r["\u0275eld"](2,0,null,null,16,"div",[["class","p-1"]],null,null,null,null,null)),(e()(),r["\u0275ted"](-1,null,["\n "])),(e()(),r["\u0275eld"](4,0,null,null,13,"div",[["class","row"]],null,null,null,null,null)),(e()(),r["\u0275ted"](-1,null,["\n "])),(e()(),r["\u0275eld"](6,0,null,null,1,"div",[["class","col-sm-2"]],null,null,null,null,null)),(e()(),r["\u0275eld"](7,0,null,null,0,"img",[["src","assets/images/safeeyes.png"],["width","128"]],null,null,null,null,null)),(e()(),r["\u0275ted"](-1,null,["\n "])),(e()(),r["\u0275eld"](9,0,null,null,7,"div",[["class","col-sm-8"]],null,null,null,null,null)),(e()(),r["\u0275ted"](-1,null,["\n "])),(e()(),r["\u0275eld"](11,0,null,null,1,"h1",[["id","title"]],null,null,null,null,null)),(e()(),r["\u0275ted"](-1,null,["\n Safe Eyes\n "])),(e()(),r["\u0275ted"](-1,null,["\n "])),(e()(),r["\u0275eld"](14,0,null,null,1,"p",[],null,null,null,null,null)),(e()(),r["\u0275ted"](-1,null,["Safe Eyes is a Free and Open Source tool for Linux users to reduce and prevent repetitive strain injury (RSI)."])),(e()(),r["\u0275ted"](-1,null,["\n "])),(e()(),r["\u0275ted"](-1,null,["\n "])),(e()(),r["\u0275ted"](-1,null,["\n "])),(e()(),r["\u0275ted"](-1,null,["\n"]))],null,null)}var d=n("1PhI"),f=n("Xjw4"),h=n("OE0E"),g=r["\u0275crt"]({encapsulation:0,styles:["[_nghost-%COMP%] { display: inline-block; } [_nghost-%COMP%] > *[_ngcontent-%COMP%] { float: left; } [_nghost-%COMP%] * { box-sizing: border-box; } [_nghost-%COMP%] .ngx-gallery-icon { color: white; font-size: 25px; position: absolute; z-index: 2000; display: inline-block; } [_nghost-%COMP%] .ngx-gallery-icon .ngx-gallery-icon-content { display: block; } [_nghost-%COMP%] .ngx-gallery-clickable { cursor: pointer; } [_nghost-%COMP%] .ngx-gallery-icons-wrapper .ngx-gallery-icon { position: relative; margin-right: 5px; margin-top: 5px; font-size: 20px; cursor: pointer; } [_nghost-%COMP%] .ngx-gallery-icons-wrapper { float: right; } [_nghost-%COMP%] .ngx-gallery-layout[_ngcontent-%COMP%] { width: 100%; height: 100%; display: flex; flex-direction: column; } [_nghost-%COMP%] .ngx-gallery-layout.thumbnails-top[_ngcontent-%COMP%] ngx-gallery-image[_ngcontent-%COMP%] { order: 2; } [_nghost-%COMP%] .ngx-gallery-layout.thumbnails-top[_ngcontent-%COMP%] ngx-gallery-thumbnails[_ngcontent-%COMP%] { order: 1; } [_nghost-%COMP%] .ngx-gallery-layout.thumbnails-bottom[_ngcontent-%COMP%] ngx-gallery-image[_ngcontent-%COMP%] { order: 1; } [_nghost-%COMP%] .ngx-gallery-layout.thumbnails-bottom[_ngcontent-%COMP%] ngx-gallery-thumbnails[_ngcontent-%COMP%] { order: 2; }"],data:{}});function y(e){return r["\u0275vid"](0,[(e()(),r["\u0275eld"](0,0,null,null,1,"ngx-gallery-image",[],[[4,"height",null]],[[null,"onClick"],[null,"onActiveChange"],[null,"mouseenter"],[null,"mouseleave"]],function(e,t,n){var i=!0,o=e.component;return"mouseenter"===t&&(i=!1!==r["\u0275nov"](e,1).onMouseEnter()&&i),"mouseleave"===t&&(i=!1!==r["\u0275nov"](e,1).onMouseLeave()&&i),"onClick"===t&&(i=!1!==o.openPreview(n)&&i),"onActiveChange"===t&&(i=!1!==o.selectFromImage(n)&&i),i},I,w)),r["\u0275did"](1,638976,[[2,4]],0,d.NgxGalleryImageComponent,[h.DomSanitizer,r.ElementRef,d.NgxGalleryHelperService],{images:[0,"images"],clickable:[1,"clickable"],selectedIndex:[2,"selectedIndex"],arrows:[3,"arrows"],arrowsAutoHide:[4,"arrowsAutoHide"],swipe:[5,"swipe"],animation:[6,"animation"],size:[7,"size"],arrowPrevIcon:[8,"arrowPrevIcon"],arrowNextIcon:[9,"arrowNextIcon"],autoPlay:[10,"autoPlay"],autoPlayInterval:[11,"autoPlayInterval"],autoPlayPauseOnHover:[12,"autoPlayPauseOnHover"],infinityMove:[13,"infinityMove"],lazyLoading:[14,"lazyLoading"],actions:[15,"actions"],descriptions:[16,"descriptions"],showDescription:[17,"showDescription"]},{onClick:"onClick",onActiveChange:"onActiveChange"})],function(e,t){var n=t.component;e(t,1,1,[n.mediumImages,null==n.currentOptions?null:n.currentOptions.preview,n.selectedIndex,null==n.currentOptions?null:n.currentOptions.imageArrows,null==n.currentOptions?null:n.currentOptions.imageArrowsAutoHide,null==n.currentOptions?null:n.currentOptions.imageSwipe,null==n.currentOptions?null:n.currentOptions.imageAnimation,null==n.currentOptions?null:n.currentOptions.imageSize,null==n.currentOptions?null:n.currentOptions.arrowPrevIcon,null==n.currentOptions?null:n.currentOptions.arrowNextIcon,null==n.currentOptions?null:n.currentOptions.imageAutoPlay,null==n.currentOptions?null:n.currentOptions.imageAutoPlayInterval,null==n.currentOptions?null:n.currentOptions.imageAutoPlayPauseOnHover,null==n.currentOptions?null:n.currentOptions.imageInfinityMove,null==n.currentOptions?null:n.currentOptions.lazyLoading,null==n.currentOptions?null:n.currentOptions.imageActions,n.descriptions,null==n.currentOptions?null:n.currentOptions.imageDescription])},function(e,t){e(t,0,0,t.component.getImageHeight())})}function m(e){return r["\u0275vid"](0,[(e()(),r["\u0275eld"](0,0,null,null,1,"ngx-gallery-thumbnails",[],[[4,"marginTop",null],[4,"marginBottom",null],[4,"height",null]],[[null,"onActiveChange"],[null,"mouseenter"],[null,"mouseleave"]],function(e,t,n){var i=!0,o=e.component;return"mouseenter"===t&&(i=!1!==r["\u0275nov"](e,1).onMouseEnter()&&i),"mouseleave"===t&&(i=!1!==r["\u0275nov"](e,1).onMouseLeave()&&i),"onActiveChange"===t&&(i=!1!==o.selectFromThumbnails(n)&&i),i},D,S)),r["\u0275did"](1,573440,[[3,4]],0,d.NgxGalleryThumbnailsComponent,[h.DomSanitizer,r.ElementRef,d.NgxGalleryHelperService],{images:[0,"images"],links:[1,"links"],linkTarget:[2,"linkTarget"],columns:[3,"columns"],rows:[4,"rows"],arrows:[5,"arrows"],arrowsAutoHide:[6,"arrowsAutoHide"],margin:[7,"margin"],selectedIndex:[8,"selectedIndex"],clickable:[9,"clickable"],swipe:[10,"swipe"],size:[11,"size"],arrowPrevIcon:[12,"arrowPrevIcon"],arrowNextIcon:[13,"arrowNextIcon"],moveSize:[14,"moveSize"],order:[15,"order"],remainingCount:[16,"remainingCount"],lazyLoading:[17,"lazyLoading"],actions:[18,"actions"]},{onActiveChange:"onActiveChange"})],function(e,t){var n=t.component;e(t,1,1,[n.smallImages,null!=n.currentOptions&&n.currentOptions.thumbnailsAsLinks?n.links:r["\u0275EMPTY_ARRAY"],null==n.currentOptions?null:n.currentOptions.linkTarget,null==n.currentOptions?null:n.currentOptions.thumbnailsColumns,null==n.currentOptions?null:n.currentOptions.thumbnailsRows,null==n.currentOptions?null:n.currentOptions.thumbnailsArrows,null==n.currentOptions?null:n.currentOptions.thumbnailsArrowsAutoHide,null==n.currentOptions?null:n.currentOptions.thumbnailMargin,n.selectedIndex,(null==n.currentOptions?null:n.currentOptions.image)||(null==n.currentOptions?null:n.currentOptions.preview),null==n.currentOptions?null:n.currentOptions.thumbnailsSwipe,null==n.currentOptions?null:n.currentOptions.thumbnailSize,null==n.currentOptions?null:n.currentOptions.arrowPrevIcon,null==n.currentOptions?null:n.currentOptions.arrowNextIcon,null==n.currentOptions?null:n.currentOptions.thumbnailsMoveSize,null==n.currentOptions?null:n.currentOptions.thumbnailsOrder,null==n.currentOptions?null:n.currentOptions.thumbnailsRemainingCount,null==n.currentOptions?null:n.currentOptions.lazyLoading,null==n.currentOptions?null:n.currentOptions.thumbnailActions])},function(e,t){var n=t.component;e(t,0,0,n.getThumbnailsMarginTop(),n.getThumbnailsMarginBottom(),n.getThumbnailsHeight())})}function v(e){return r["\u0275vid"](0,[r["\u0275qud"](402653184,1,{preview:0}),r["\u0275qud"](671088640,2,{image:0}),r["\u0275qud"](671088640,3,{thubmnails:0}),(e()(),r["\u0275ted"](-1,null,["\n "])),(e()(),r["\u0275eld"](4,0,null,null,10,"div",[],[[8,"className",0]],null,null,null,null)),(e()(),r["\u0275ted"](-1,null,["\n "])),(e()(),r["\u0275and"](16777216,null,null,1,null,y)),r["\u0275did"](7,16384,null,0,f.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),r["\u0275ted"](-1,null,["\n\n "])),(e()(),r["\u0275and"](16777216,null,null,1,null,m)),r["\u0275did"](10,16384,null,0,f.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),r["\u0275ted"](-1,null,["\n\n "])),(e()(),r["\u0275eld"](12,0,null,null,1,"ngx-gallery-preview",[],[[2,"ngx-gallery-active",null]],[[null,"onClose"],[null,"onOpen"],[null,"onActiveChange"],["window","keydown"]],function(e,t,n){var i=!0,o=e.component;return"window:keydown"===t&&(i=!1!==r["\u0275nov"](e,13).onKeyDown(n)&&i),"onClose"===t&&(i=!1!==o.onPreviewClose()&&i),"onOpen"===t&&(i=!1!==o.onPreviewOpen()&&i),"onActiveChange"===t&&(i=!1!==o.previewSelect(n)&&i),i},B,N)),r["\u0275did"](13,573440,[[1,4]],0,d.NgxGalleryPreviewComponent,[h.DomSanitizer,r.ElementRef,d.NgxGalleryHelperService],{images:[0,"images"],descriptions:[1,"descriptions"],showDescription:[2,"showDescription"],swipe:[3,"swipe"],fullscreen:[4,"fullscreen"],forceFullscreen:[5,"forceFullscreen"],closeOnClick:[6,"closeOnClick"],closeOnEsc:[7,"closeOnEsc"],keyboardNavigation:[8,"keyboardNavigation"],arrowPrevIcon:[9,"arrowPrevIcon"],arrowNextIcon:[10,"arrowNextIcon"],closeIcon:[11,"closeIcon"],fullscreenIcon:[12,"fullscreenIcon"],spinnerIcon:[13,"spinnerIcon"],autoPlay:[14,"autoPlay"],autoPlayInterval:[15,"autoPlayInterval"],autoPlayPauseOnHover:[16,"autoPlayPauseOnHover"],infinityMove:[17,"infinityMove"],zoom:[18,"zoom"],zoomStep:[19,"zoomStep"],zoomMax:[20,"zoomMax"],zoomMin:[21,"zoomMin"],zoomInIcon:[22,"zoomInIcon"],zoomOutIcon:[23,"zoomOutIcon"],animation:[24,"animation"],actions:[25,"actions"],rotate:[26,"rotate"],rotateLeftIcon:[27,"rotateLeftIcon"],rotateRightIcon:[28,"rotateRightIcon"]},{onOpen:"onOpen",onClose:"onClose",onActiveChange:"onActiveChange"}),(e()(),r["\u0275ted"](-1,null,["\n "])),(e()(),r["\u0275ted"](-1,null,["\n "]))],function(e,t){var n=t.component;e(t,7,0,null==n.currentOptions?null:n.currentOptions.image),e(t,10,0,null==n.currentOptions?null:n.currentOptions.thumbnails),e(t,13,1,[n.bigImages,n.descriptions,null==n.currentOptions?null:n.currentOptions.previewDescription,null==n.currentOptions?null:n.currentOptions.previewSwipe,null==n.currentOptions?null:n.currentOptions.previewFullscreen,null==n.currentOptions?null:n.currentOptions.previewForceFullscreen,null==n.currentOptions?null:n.currentOptions.previewCloseOnClick,null==n.currentOptions?null:n.currentOptions.previewCloseOnEsc,null==n.currentOptions?null:n.currentOptions.previewKeyboardNavigation,null==n.currentOptions?null:n.currentOptions.arrowPrevIcon,null==n.currentOptions?null:n.currentOptions.arrowNextIcon,null==n.currentOptions?null:n.currentOptions.closeIcon,null==n.currentOptions?null:n.currentOptions.fullscreenIcon,null==n.currentOptions?null:n.currentOptions.spinnerIcon,null==n.currentOptions?null:n.currentOptions.previewAutoPlay,null==n.currentOptions?null:n.currentOptions.previewAutoPlayInterval,null==n.currentOptions?null:n.currentOptions.previewAutoPlayPauseOnHover,null==n.currentOptions?null:n.currentOptions.previewInfinityMove,null==n.currentOptions?null:n.currentOptions.previewZoom,null==n.currentOptions?null:n.currentOptions.previewZoomStep,null==n.currentOptions?null:n.currentOptions.previewZoomMax,null==n.currentOptions?null:n.currentOptions.previewZoomMin,null==n.currentOptions?null:n.currentOptions.zoomInIcon,null==n.currentOptions?null:n.currentOptions.zoomOutIcon,null==n.currentOptions?null:n.currentOptions.previewAnimation,null==n.currentOptions?null:n.currentOptions.actions,null==n.currentOptions?null:n.currentOptions.previewRotate,null==n.currentOptions?null:n.currentOptions.rotateLeftIcon,null==n.currentOptions?null:n.currentOptions.rotateRightIcon])},function(e,t){var n=t.component;e(t,4,0,r["\u0275inlineInterpolate"](1,"ngx-gallery-layout ",null==n.currentOptions?null:n.currentOptions.layout,"")),e(t,12,0,n.previewEnabled)})}var b=r["\u0275crt"]({encapsulation:2,styles:[],data:{}});function _(e){return r["\u0275vid"](2,[(e()(),r["\u0275ted"](-1,null,["\n "])),(e()(),r["\u0275eld"](1,0,null,null,3,"div",[["aria-hidden","true"],["class","ngx-gallery-icon"]],[[2,"ngx-gallery-icon-disabled",null],[8,"title",0]],[[null,"click"]],function(e,t,n){var r=!0;return"click"===t&&(r=!1!==e.component.handleClick(n)&&r),r},null,null)),(e()(),r["\u0275ted"](-1,null,["\n "])),(e()(),r["\u0275eld"](3,0,null,null,0,"i",[],[[8,"className",0]],null,null,null,null)),(e()(),r["\u0275ted"](-1,null,["\n "]))],null,function(e,t){var n=t.component;e(t,1,0,n.disabled,r["\u0275inlineInterpolate"](1,"",n.titleText,"")),e(t,3,0,r["\u0275inlineInterpolate"](1,"ngx-gallery-icon-content ",n.icon,""))})}var w=r["\u0275crt"]({encapsulation:0,styles:["[_nghost-%COMP%] { width: 100%; display: inline-block; position: relative; } .ngx-gallery-image-wrapper[_ngcontent-%COMP%] { width: 100%; height: 100%; position: absolute; left: 0px; top: 0px; overflow: hidden; } .ngx-gallery-image[_ngcontent-%COMP%] { background-position: center; background-repeat: no-repeat; height: 100%; width: 100%; position: absolute; top: 0px; } .ngx-gallery-image.ngx-gallery-active[_ngcontent-%COMP%] { z-index: 1000; } .ngx-gallery-image-size-cover[_ngcontent-%COMP%] .ngx-gallery-image[_ngcontent-%COMP%] { background-size: cover; } .ngx-gallery-image-size-contain[_ngcontent-%COMP%] .ngx-gallery-image[_ngcontent-%COMP%] { background-size: contain; } .ngx-gallery-animation-fade[_ngcontent-%COMP%] .ngx-gallery-image[_ngcontent-%COMP%] { left: 0px; opacity: 0; transition: 0.5s ease-in-out; } .ngx-gallery-animation-fade[_ngcontent-%COMP%] .ngx-gallery-image.ngx-gallery-active[_ngcontent-%COMP%] { opacity: 1; } .ngx-gallery-animation-slide[_ngcontent-%COMP%] .ngx-gallery-image[_ngcontent-%COMP%] { transition: 0.5s ease-in-out; } .ngx-gallery-animation-slide[_ngcontent-%COMP%] .ngx-gallery-image.ngx-gallery-active[_ngcontent-%COMP%] { left: 0px; } .ngx-gallery-animation-slide[_ngcontent-%COMP%] .ngx-gallery-image.ngx-gallery-inactive-left[_ngcontent-%COMP%] { left: -100%; } .ngx-gallery-animation-slide[_ngcontent-%COMP%] .ngx-gallery-image.ngx-gallery-inactive-right[_ngcontent-%COMP%] { left: 100%; } .ngx-gallery-animation-rotate[_ngcontent-%COMP%] .ngx-gallery-image[_ngcontent-%COMP%] { transition: 1s ease; transform: scale(3.5, 3.5) rotate(90deg); left: 0px; opacity: 0; } .ngx-gallery-animation-rotate[_ngcontent-%COMP%] .ngx-gallery-image.ngx-gallery-active[_ngcontent-%COMP%] { transform: scale(1, 1) rotate(0deg); opacity: 1; } .ngx-gallery-animation-zoom[_ngcontent-%COMP%] .ngx-gallery-image[_ngcontent-%COMP%] { transition: 1s ease; transform: scale(2.5, 2.5); left: 0px; opacity: 0; } .ngx-gallery-animation-zoom[_ngcontent-%COMP%] .ngx-gallery-image.ngx-gallery-active[_ngcontent-%COMP%] { transform: scale(1, 1); opacity: 1; } .ngx-gallery-image-text[_ngcontent-%COMP%] { width: 100%; background: rgba(0, 0, 0, 0.7); padding: 10px; text-align: center; color: white; font-size: 16px; position: absolute; bottom: 0px; z-index: 10; }"],data:{}});function x(e){return r["\u0275vid"](0,[(e()(),r["\u0275eld"](0,0,null,null,1,"ngx-gallery-action",[],null,[[null,"onClick"]],function(e,t,n){var r=!0;return"onClick"===t&&(r=!1!==e.context.$implicit.onClick(n,e.parent.context.$implicit.index)&&r),r},_,b)),r["\u0275did"](1,49152,null,0,d.NgxGalleryActionComponent,[],{icon:[0,"icon"],disabled:[1,"disabled"],titleText:[2,"titleText"]},{onClick:"onClick"})],function(e,t){e(t,1,0,t.context.$implicit.icon,t.context.$implicit.disabled,t.context.$implicit.titleText)},null)}function C(e){return r["\u0275vid"](0,[(e()(),r["\u0275eld"](0,0,null,null,0,"div",[["class","ngx-gallery-image-text"]],[[8,"innerHTML",1]],null,null,null,null))],null,function(e,t){e(t,0,0,t.component.descriptions[t.parent.context.$implicit.index])})}function O(e){return r["\u0275vid"](0,[(e()(),r["\u0275eld"](0,0,null,null,12,"div",[["class","ngx-gallery-image"]],[[4,"background-image",null]],[[null,"click"]],function(e,t,n){var r=!0;return"click"===t&&(r=!1!==e.component.handleClick(n,e.context.$implicit.index)&&r),r},null,null)),r["\u0275did"](1,278528,null,0,f.NgClass,[r.IterableDiffers,r.KeyValueDiffers,r.ElementRef,r.Renderer2],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),r["\u0275pod"](2,{"ngx-gallery-active":0,"ngx-gallery-inactive-left":1,"ngx-gallery-inactive-right":2,"ngx-gallery-clickable":3}),(e()(),r["\u0275ted"](-1,null,["\n "])),(e()(),r["\u0275eld"](4,0,null,null,4,"div",[["class","ngx-gallery-icons-wrapper"]],null,null,null,null,null)),(e()(),r["\u0275ted"](-1,null,["\n "])),(e()(),r["\u0275and"](16777216,null,null,1,null,x)),r["\u0275did"](7,802816,null,0,f.NgForOf,[r.ViewContainerRef,r.TemplateRef,r.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(e()(),r["\u0275ted"](-1,null,["\n "])),(e()(),r["\u0275ted"](-1,null,["\n "])),(e()(),r["\u0275and"](16777216,null,null,1,null,C)),r["\u0275did"](11,16384,null,0,f.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),r["\u0275ted"](-1,null,["\n "]))],function(e,t){var n=t.component;e(t,1,0,"ngx-gallery-image",e(t,2,0,n.selectedIndex==t.context.$implicit.index,n.selectedIndex>t.context.$implicit.index,n.selectedIndex0?this._ngZone.runOutsideAngular(function(){var t,n;e._debouncer.pipe((t=e.debounce,void 0===n&&(n=ne),function(e){return e.lift(new re(t,n))})).subscribe(function(t){return e.event.emit(t)})}):this._debouncer.subscribe(function(t){return e.event.emit(t)}),this._observer=this._ngZone.runOutsideAngular(function(){return e._mutationObserverFactory.create(function(t){e._debouncer.next(t)})}),this.disabled||this._enable()},e.prototype.ngOnChanges=function(e){e.disabled&&(e.disabled.currentValue?this._disable():this._enable())},e.prototype.ngOnDestroy=function(){this._disable(),this._debouncer.complete()},e.prototype._disable=function(){this._observer&&this._observer.disconnect()},e.prototype._enable=function(){this._observer&&this._observer.observe(this._elementRef.nativeElement,{characterData:!0,childList:!0,subtree:!0})},e}(),le=function(){};function ue(){throw Error("Host already has a portal attached")}var ce,pe=function(){function e(){}return e.prototype.attach=function(e){return null==e&&function(){throw Error("Attempting to attach a portal to a null PortalOutlet")}(),e.hasAttached()&&ue(),this._attachedHost=e,e.attach(this)},e.prototype.detach=function(){var e=this._attachedHost;null==e?function(){throw Error("Attempting to detach a portal that is not attached to a host")}():(this._attachedHost=null,e.detach())},Object.defineProperty(e.prototype,"isAttached",{get:function(){return null!=this._attachedHost},enumerable:!0,configurable:!0}),e.prototype.setAttachedHost=function(e){this._attachedHost=e},e}(),de=function(e){function t(t,n,r){var i=e.call(this)||this;return i.component=t,i.viewContainerRef=n,i.injector=r,i}return Object(Y.b)(t,e),t}(pe),fe=function(e){function t(t,n,r){var i=e.call(this)||this;return i.templateRef=t,i.viewContainerRef=n,i.context=r,i}return Object(Y.b)(t,e),Object.defineProperty(t.prototype,"origin",{get:function(){return this.templateRef.elementRef},enumerable:!0,configurable:!0}),t.prototype.attach=function(t,n){return void 0===n&&(n=this.context),this.context=n,e.prototype.attach.call(this,t)},t.prototype.detach=function(){return this.context=void 0,e.prototype.detach.call(this)},t}(pe),he=function(e){function t(t,n){var i=e.call(this)||this;return i._componentFactoryResolver=t,i._viewContainerRef=n,i._isInitialized=!1,i.attached=new r.EventEmitter,i}return Object(Y.b)(t,e),Object.defineProperty(t.prototype,"_deprecatedPortal",{get:function(){return this.portal},set:function(e){this.portal=e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_deprecatedPortalHost",{get:function(){return this.portal},set:function(e){this.portal=e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"portal",{get:function(){return this._attachedPortal},set:function(t){(!this.hasAttached()||t||this._isInitialized)&&(this.hasAttached()&&e.prototype.detach.call(this),t&&e.prototype.attach.call(this,t),this._attachedPortal=t)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"attachedRef",{get:function(){return this._attachedRef},enumerable:!0,configurable:!0}),t.prototype.ngOnInit=function(){this._isInitialized=!0},t.prototype.ngOnDestroy=function(){e.prototype.dispose.call(this),this._attachedPortal=null,this._attachedRef=null},t.prototype.attachComponentPortal=function(t){t.setAttachedHost(this);var n=null!=t.viewContainerRef?t.viewContainerRef:this._viewContainerRef,r=this._componentFactoryResolver.resolveComponentFactory(t.component),i=n.createComponent(r,n.length,t.injector||n.parentInjector);return e.prototype.setDisposeFn.call(this,function(){return i.destroy()}),this._attachedPortal=t,this._attachedRef=i,this.attached.emit(i),i},t.prototype.attachTemplatePortal=function(t){var n=this;t.setAttachedHost(this);var r=this._viewContainerRef.createEmbeddedView(t.templateRef,t.context);return e.prototype.setDisposeFn.call(this,function(){return n._viewContainerRef.clear()}),this._attachedPortal=t,this._attachedRef=r,this.attached.emit(r),r},t}(function(){function e(){this._isDisposed=!1}return e.prototype.hasAttached=function(){return!!this._attachedPortal},e.prototype.attach=function(e){return e||function(){throw Error("Must provide a portal to attach")}(),this.hasAttached()&&ue(),this._isDisposed&&function(){throw Error("This PortalOutlet has already been disposed")}(),e instanceof de?(this._attachedPortal=e,this.attachComponentPortal(e)):e instanceof fe?(this._attachedPortal=e,this.attachTemplatePortal(e)):void function(){throw Error("Attempting to attach an unknown Portal type. BasePortalOutlet accepts either a ComponentPortal or a TemplatePortal.")}()},e.prototype.detach=function(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()},e.prototype.dispose=function(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0},e.prototype.setDisposeFn=function(e){this._disposeFn=e},e.prototype._invokeDisposeFn=function(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)},e}()),ge=function(){},ye="undefined"!=typeof Intl&&Intl.v8BreakIterator,me=function(){return function(){this.isBrowser="object"==typeof document&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!(!window.chrome&&!ye)&&"undefined"!=typeof CSS&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream,this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}}(),ve=function(){},be=n("YaPU"),_e=n("Veqx").a.of,we=n("GK6M"),xe=n("/iUD"),Ce=n("fKB6"),Oe=Object.prototype.toString,Ee=function(e){function t(t,n,r,i){e.call(this),this.sourceObj=t,this.eventName=n,this.selector=r,this.options=i}return Object(Y.b)(t,e),t.create=function(e,n,r,i){return Object(xe.a)(r)&&(i=r,r=void 0),new t(e,n,i,r)},t.setupSubscription=function(e,n,r,i,o){var a;if(function(e){return!!e&&"[object NodeList]"===Oe.call(e)}(e)||function(e){return!!e&&"[object HTMLCollection]"===Oe.call(e)}(e))for(var s=0,l=e.length;s=0?this.period=Number(n)<1?1:Number(n):Object(Me.a)(n)&&(r=n),Object(Me.a)(r)||(r=ne),this.scheduler=r,this.dueTime=(o=t)instanceof Date&&!isNaN(+o)?+t-this.scheduler.now():t}return Object(Y.b)(t,e),t.create=function(e,n,r){return void 0===e&&(e=0),new t(e,n,r)},t.dispatch=function(e){var t=e.index,n=e.period,r=e.subscriber;if(r.next(t),!r.closed){if(-1===n)return r.complete();e.index=t+1,this.schedule(e,n)}},t.prototype._subscribe=function(e){return this.scheduler.schedule(t.dispatch,this.dueTime,{index:0,period:this.period,subscriber:e})},t}(be.a).create;function Ne(e,t){return void 0===t&&(t=ne),n=function(){return De(e,t)},function(e){return e.lift(new Pe(n))};var n}var Ae=function(){function e(e,t){this.predicate=e,this.thisArg=t}return e.prototype.call=function(e,t){return t.subscribe(new Re(e,this.predicate,this.thisArg))},e}(),Re=function(e){function t(t,n,r){e.call(this,t),this.predicate=n,this.thisArg=r,this.count=0}return Object(Y.b)(t,e),t.prototype._next=function(e){var t;try{t=this.predicate.call(this.thisArg,e,this.count++)}catch(e){return void this.destination.error(e)}t&&this.destination.next(e)},t}(J.a),Fe=n("/nXB"),Le=function(){function e(e,t){this._ngZone=e,this._platform=t,this._scrolled=new Q.a,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map}return e.prototype.register=function(e){var t=this,n=e.elementScrolled().subscribe(function(){return t._scrolled.next(e)});this.scrollContainers.set(e,n)},e.prototype.deregister=function(e){var t=this.scrollContainers.get(e);t&&(t.unsubscribe(),this.scrollContainers.delete(e))},e.prototype.scrolled=function(e){var t=this;return void 0===e&&(e=20),this._platform.isBrowser?be.a.create(function(n){t._globalSubscription||t._addGlobalListener();var r=e>0?t._scrolled.pipe(Ne(e)).subscribe(n):t._scrolled.subscribe(n);return t._scrolledCount++,function(){r.unsubscribe(),t._scrolledCount--,t._scrolledCount||t._removeGlobalListener()}}):_e()},e.prototype.ngOnDestroy=function(){var e=this;this._removeGlobalListener(),this.scrollContainers.forEach(function(t,n){return e.deregister(n)})},e.prototype.ancestorScrolled=function(e,t){var n,r=this.getAncestorScrollContainers(e);return this.scrolled(t).pipe((n=function(e){return!e||r.indexOf(e)>-1},function(e){return e.lift(new Ae(n,void 0))}))},e.prototype.getAncestorScrollContainers=function(e){var t=this,n=[];return this.scrollContainers.forEach(function(r,i){t._scrollableContainsElement(i,e)&&n.push(i)}),n},e.prototype._scrollableContainsElement=function(e,t){var n=t.nativeElement,r=e.getElementRef().nativeElement;do{if(n==r)return!0}while(n=n.parentElement);return!1},e.prototype._addGlobalListener=function(){var e=this;this._globalSubscription=this._ngZone.runOutsideAngular(function(){return Ee(window.document,"scroll").subscribe(function(){return e._scrolled.next()})})},e.prototype._removeGlobalListener=function(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)},e}();function je(e,t,n){return e||new Le(t,n)}var Ve=function(){function e(e,t){var n=this;this._platform=e,this._change=e.isBrowser?t.runOutsideAngular(function(){return Object(Fe.a)(Ee(window,"resize"),Ee(window,"orientationchange"))}):_e(),this._invalidateCache=this.change().subscribe(function(){return n._updateViewportSize()})}return e.prototype.ngOnDestroy=function(){this._invalidateCache.unsubscribe()},e.prototype.getViewportSize=function(){this._viewportSize||this._updateViewportSize();var e={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),e},e.prototype.getViewportRect=function(){var e=this.getViewportScrollPosition(),t=this.getViewportSize(),n=t.width,r=t.height;return{top:e.top,left:e.left,bottom:e.top+r,right:e.left+n,height:r,width:n}},e.prototype.getViewportScrollPosition=function(){if(!this._platform.isBrowser)return{top:0,left:0};var e=document.documentElement.getBoundingClientRect();return{top:-e.top||document.body.scrollTop||window.scrollY||document.documentElement.scrollTop||0,left:-e.left||document.body.scrollLeft||window.scrollX||document.documentElement.scrollLeft||0}},e.prototype.change=function(e){return void 0===e&&(e=20),e>0?this._change.pipe(Ne(e)):this._change},e.prototype._updateViewportSize=function(){this._viewportSize=this._platform.isBrowser?{width:window.innerWidth,height:window.innerHeight}:{width:0,height:0}},e}();function ze(e,t,n){return e||new Ve(t,n)}var He=function(){},Be=new r.InjectionToken("cdk-dir-doc"),Ue=function(){return function(e){this.value="ltr",this.change=new r.EventEmitter,e&&(this.value=(e.body?e.body.dir:null)||(e.documentElement?e.documentElement.dir:null)||"ltr")}}(),Ge=function(){},Ze=new r.InjectionToken("mat-sanity-checks"),We=function(){function e(e){this._sanityChecksEnabled=e,this._hasDoneGlobalChecks=!1,this._hasCheckedHammer=!1,this._document="object"==typeof document&&document?document:null,this._window="object"==typeof window&&window?window:null,this._areChecksEnabled()&&!this._hasDoneGlobalChecks&&(this._checkDoctypeIsDefined(),this._checkThemeIsPresent(),this._hasDoneGlobalChecks=!0)}return e.prototype._areChecksEnabled=function(){return this._sanityChecksEnabled&&Object(r.isDevMode)()&&!this._isTestEnv()},e.prototype._isTestEnv=function(){return this._window&&(this._window.__karma__||this._window.jasmine)},e.prototype._checkDoctypeIsDefined=function(){this._document&&!this._document.doctype&&console.warn("Current document does not have a doctype. This may cause some Angular Material components not to behave as expected.")},e.prototype._checkThemeIsPresent=function(){if(this._document&&"function"==typeof getComputedStyle){var e=this._document.createElement("div");e.classList.add("mat-theme-loaded-marker"),this._document.body.appendChild(e);var t=getComputedStyle(e);t&&"none"!==t.display&&console.warn("Could not find Angular Material core theme. Most Material components may not work as expected. For more info refer to the theming guide: https://material.angular.io/guide/theming"),this._document.body.removeChild(e)}},e.prototype._checkHammerIsAvailable=function(){!this._hasCheckedHammer&&this._window&&(this._areChecksEnabled()&&!this._window.Hammer&&console.warn("Could not find HammerJS. Certain Angular Material components may not work correctly."),this._hasCheckedHammer=!0)},e}();function qe(e){return function(e){function t(){for(var t=[],n=0;n0?"ltr"==this._getLayoutDirection()?"right":"left":"center"},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"origin",{set:function(e){if(null!=e){var t=this._getLayoutDirection();this._origin="ltr"==t&&e<=0||"rtl"==t&&e>0?"left":"right"}},enumerable:!0,configurable:!0}),e.prototype.ngOnInit=function(){"center"==this._position&&this._origin&&(this._position="left"==this._origin?"left-origin-center":"right-origin-center")},e.prototype._onTranslateTabStarted=function(e){var t=this._isCenterPosition(e.toState);this._beforeCentering.emit(t),t&&this._onCentering.emit(this._elementRef.nativeElement.clientHeight)},e.prototype._onTranslateTabComplete=function(e){this._isCenterPosition(e.toState)&&this._isCenterPosition(this._position)&&this._onCentered.emit(),this._isCenterPosition(e.fromState)&&!this._isCenterPosition(this._position)&&this._afterLeavingCenter.emit()},e.prototype._getLayoutDirection=function(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"},e.prototype._isCenterPosition=function(e){return"center"==e||"left-origin-center"==e||"right-origin-center"==e},e}(),gt=0,yt=function(e){function t(t,n){var i=e.call(this,t)||this;return i._changeDetectorRef=n,i._indexToSelect=0,i._tabBodyWrapperHeight=0,i._tabsSubscription=ee.a.EMPTY,i._tabLabelSubscription=ee.a.EMPTY,i._dynamicHeight=!1,i._selectedIndex=null,i.headerPosition="above",i.selectedIndexChange=new r.EventEmitter,i.focusChange=new r.EventEmitter,i.animationDone=new r.EventEmitter,i.selectedTabChange=new r.EventEmitter(!0),i.selectChange=i.selectedTabChange,i._groupId=gt++,i}return Object(Y.b)(t,e),Object.defineProperty(t.prototype,"dynamicHeight",{get:function(){return this._dynamicHeight},set:function(e){this._dynamicHeight=K(e)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_dynamicHeightDeprecated",{get:function(){return this._dynamicHeight},set:function(e){this._dynamicHeight=e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"selectedIndex",{get:function(){return this._selectedIndex},set:function(e){this._indexToSelect=$(e,null)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"backgroundColor",{get:function(){return this._backgroundColor},set:function(e){var t=this._elementRef.nativeElement;t.classList.remove("mat-background-"+this.backgroundColor),e&&t.classList.add("mat-background-"+e),this._backgroundColor=e},enumerable:!0,configurable:!0}),t.prototype.ngAfterContentChecked=function(){var e=this,t=this._indexToSelect=Math.min(this._tabs.length-1,Math.max(this._indexToSelect||0,0));if(this._selectedIndex!=t&&null!=this._selectedIndex){var n=this._createChangeEvent(t);this.selectedTabChange.emit(n),Promise.resolve().then(function(){return e.selectedIndexChange.emit(t)})}this._tabs.forEach(function(n,r){n.position=r-t,n.isActive=r===t,null==e._selectedIndex||0!=n.position||n.origin||(n.origin=t-e._selectedIndex)}),this._selectedIndex!==t&&(this._selectedIndex=t,this._changeDetectorRef.markForCheck())},t.prototype.ngAfterContentInit=function(){var e=this;this._subscribeToTabLabels(),this._tabsSubscription=this._tabs.changes.subscribe(function(){e._subscribeToTabLabels(),e._changeDetectorRef.markForCheck()})},t.prototype.ngOnDestroy=function(){this._tabsSubscription.unsubscribe(),this._tabLabelSubscription.unsubscribe()},t.prototype._focusChanged=function(e){this.focusChange.emit(this._createChangeEvent(e))},t.prototype._createChangeEvent=function(e){var t=new function(){};return t.index=e,this._tabs&&this._tabs.length&&(t.tab=this._tabs.toArray()[e]),t},t.prototype._subscribeToTabLabels=function(){var e=this;this._tabLabelSubscription&&this._tabLabelSubscription.unsubscribe(),this._tabLabelSubscription=Fe.a.apply(void 0,this._tabs.map(function(e){return e._disableChange}).concat(this._tabs.map(function(e){return e._labelChange}))).subscribe(function(){e._changeDetectorRef.markForCheck()})},t.prototype._getTabLabelId=function(e){return"mat-tab-label-"+this._groupId+"-"+e},t.prototype._getTabContentId=function(e){return"mat-tab-content-"+this._groupId+"-"+e},t.prototype._setTabBodyWrapperHeight=function(e){if(this._dynamicHeight&&this._tabBodyWrapperHeight){var t=this._tabBodyWrapper.nativeElement;t.style.height=this._tabBodyWrapperHeight+"px",this._tabBodyWrapper.nativeElement.offsetHeight&&(t.style.height=e+"px")}},t.prototype._removeTabBodyWrapperHeight=function(){this._tabBodyWrapperHeight=this._tabBodyWrapper.nativeElement.clientHeight,this._tabBodyWrapper.nativeElement.style.height="",this.animationDone.emit()},t.prototype._handleClick=function(e,t,n){e.disabled||(this.selectedIndex=t.focusIndex=n)},t.prototype._getTabIndex=function(e,t){return e.disabled?null:this.selectedIndex===t?0:-1},t}(function(e,t){return function(e){function n(){for(var n=[],r=0;r=0;n+=e)if(this._isValidIndex(n))return void(this.focusIndex=n)},t.prototype._focusNextTab=function(){this._moveFocus("ltr"==this._getLayoutDirection()?1:-1)},t.prototype._focusPreviousTab=function(){this._moveFocus("ltr"==this._getLayoutDirection()?-1:1)},t.prototype._focusFirstTab=function(){for(var e=0;e-1;e--)if(this._isValidIndex(e)){this.focusIndex=e;break}},t.prototype._getLayoutDirection=function(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"},t.prototype._updateTabScrollPosition=function(){var e=this.scrollDistance,t="ltr"===this._getLayoutDirection()?-e:e;this._tabList.nativeElement.style.transform="translate3d("+t+"px, 0, 0)"},Object.defineProperty(t.prototype,"scrollDistance",{get:function(){return this._scrollDistance},set:function(e){this._scrollDistance=Math.max(0,Math.min(this._getMaxScrollDistance(),e)),this._scrollDistanceChanged=!0,this._checkScrollingControls()},enumerable:!0,configurable:!0}),t.prototype._scrollHeader=function(e){this.scrollDistance+=("before"==e?-1:1)*this._tabListContainer.nativeElement.offsetWidth/3},t.prototype._scrollToLabel=function(e){var t=this._labelWrappers?this._labelWrappers.toArray()[e]:null;if(t){var n,r,i=this._tabListContainer.nativeElement.offsetWidth;"ltr"==this._getLayoutDirection()?r=(n=t.getOffsetLeft())+t.getOffsetWidth():n=(r=this._tabList.nativeElement.offsetWidth-t.getOffsetLeft())-t.getOffsetWidth();var o=this.scrollDistance,a=this.scrollDistance+i;na&&(this.scrollDistance+=r-a+60)}},t.prototype._checkPaginationEnabled=function(){var e=this._tabList.nativeElement.scrollWidth>this._elementRef.nativeElement.offsetWidth;e||(this.scrollDistance=0),e!==this._showPaginationControls&&this._changeDetectorRef.markForCheck(),this._showPaginationControls=e},t.prototype._checkScrollingControls=function(){this._disableScrollBefore=0==this.scrollDistance,this._disableScrollAfter=this.scrollDistance==this._getMaxScrollDistance(),this._changeDetectorRef.markForCheck()},t.prototype._getMaxScrollDistance=function(){return this._tabList.nativeElement.scrollWidth-this._tabListContainer.nativeElement.offsetWidth||0},t.prototype._alignInkBarToSelectedTab=function(){var e=this._labelWrappers&&this._labelWrappers.length?this._labelWrappers.toArray()[this.selectedIndex].elementRef.nativeElement:null;this._inkBar.alignToElement(e)},t}(Ke(function(){})),bt=function(){},_t=r["\u0275crt"]({encapsulation:2,styles:[".mat-tab-group{display:flex;flex-direction:column}.mat-tab-group.mat-tab-group-inverted-header{flex-direction:column-reverse}.mat-tab-label{height:48px;padding:0 24px;cursor:pointer;box-sizing:border-box;opacity:.6;min-width:160px;text-align:center;display:inline-flex;justify-content:center;align-items:center;white-space:nowrap;position:relative}.mat-tab-label:focus{outline:0}.mat-tab-label:focus:not(.mat-tab-disabled){opacity:1}.mat-tab-label.mat-tab-disabled{cursor:default}.mat-tab-label.mat-tab-label-content{display:inline-flex;justify-content:center;align-items:center;white-space:nowrap}@media (max-width:599px){.mat-tab-label{padding:0 12px}}@media (max-width:959px){.mat-tab-label{padding:0 12px}}.mat-tab-group[mat-stretch-tabs] .mat-tab-label{flex-basis:0;flex-grow:1}.mat-tab-body-wrapper{position:relative;overflow:hidden;display:flex;transition:height .5s cubic-bezier(.35,0,.25,1)}.mat-tab-body{top:0;left:0;right:0;bottom:0;position:absolute;display:block;overflow:hidden}.mat-tab-body.mat-tab-body-active{position:relative;overflow-x:hidden;overflow-y:auto;z-index:1;flex-grow:1}.mat-tab-group.mat-tab-group-dynamic-height .mat-tab-body.mat-tab-body-active{overflow-y:hidden}"],data:{}});function wt(e){return r["\u0275vid"](0,[(e()(),r["\u0275and"](0,null,null,0))],null,null)}function xt(e){return r["\u0275vid"](0,[(e()(),r["\u0275and"](16777216,null,null,1,null,wt)),r["\u0275did"](1,212992,null,0,he,[r.ComponentFactoryResolver,r.ViewContainerRef],{portal:[0,"portal"]},null),(e()(),r["\u0275and"](0,null,null,0))],function(e,t){e(t,1,0,t.parent.context.$implicit.templateLabel)},null)}function Ct(e){return r["\u0275vid"](0,[(e()(),r["\u0275ted"](0,null,["",""]))],null,function(e,t){e(t,0,0,t.parent.context.$implicit.textLabel)})}function Ot(e){return r["\u0275vid"](0,[(e()(),r["\u0275eld"](0,0,null,null,7,"div",[["class","mat-tab-label mat-ripple"],["mat-ripple",""],["matTabLabelWrapper",""],["role","tab"]],[[8,"id",0],[1,"tabIndex",0],[1,"aria-controls",0],[1,"aria-selected",0],[2,"mat-tab-label-active",null],[2,"mat-ripple-unbounded",null],[2,"mat-tab-disabled",null]],[[null,"click"]],function(e,t,n){var i=!0;return"click"===t&&(i=!1!==e.component._handleClick(e.context.$implicit,r["\u0275nov"](e.parent,2),e.context.index)&&i),i},null,null)),r["\u0275did"](1,212992,null,0,tt,[r.ElementRef,r.NgZone,me,[2,et]],{disabled:[0,"disabled"]},null),r["\u0275did"](2,16384,[[2,4]],0,mt,[r.ElementRef],{disabled:[0,"disabled"]},null),(e()(),r["\u0275eld"](3,0,null,null,4,"div",[["class","mat-tab-label-content"]],null,null,null,null,null)),(e()(),r["\u0275and"](16777216,null,null,1,null,xt)),r["\u0275did"](5,16384,null,0,f.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),r["\u0275and"](16777216,null,null,1,null,Ct)),r["\u0275did"](7,16384,null,0,f.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null)],function(e,t){e(t,1,0,t.context.$implicit.disabled||t.component.disableRipple),e(t,2,0,t.context.$implicit.disabled),e(t,5,0,t.context.$implicit.templateLabel),e(t,7,0,!t.context.$implicit.templateLabel)},function(e,t){var n=t.component;e(t,0,0,n._getTabLabelId(t.context.index),n._getTabIndex(t.context.$implicit,t.context.index),n._getTabContentId(t.context.index),n.selectedIndex==t.context.index,n.selectedIndex==t.context.index,r["\u0275nov"](t,1).unbounded,r["\u0275nov"](t,2).disabled)})}function Et(e){return r["\u0275vid"](0,[(e()(),r["\u0275eld"](0,0,null,null,1,"mat-tab-body",[["class","mat-tab-body"],["role","tabpanel"]],[[8,"id",0],[1,"aria-labelledby",0],[2,"mat-tab-body-active",null]],[[null,"_onCentered"],[null,"_onCentering"]],function(e,t,n){var r=!0,i=e.component;return"_onCentered"===t&&(r=!1!==i._removeTabBodyWrapperHeight()&&r),"_onCentering"===t&&(r=!1!==i._setTabBodyWrapperHeight(n)&&r),r},kt,St)),r["\u0275did"](1,114688,null,0,ht,[r.ElementRef,[2,Ue]],{_content:[0,"_content"],position:[1,"position"],origin:[2,"origin"]},{_onCentering:"_onCentering",_onCentered:"_onCentered"})],function(e,t){e(t,1,0,t.context.$implicit.content,t.context.$implicit.position,t.context.$implicit.origin)},function(e,t){var n=t.component;e(t,0,0,n._getTabContentId(t.context.index),n._getTabLabelId(t.context.index),n.selectedIndex==t.context.index)})}function It(e){return r["\u0275vid"](2,[r["\u0275qud"](402653184,1,{_tabBodyWrapper:0}),(e()(),r["\u0275eld"](1,0,null,null,4,"mat-tab-header",[["class","mat-tab-header"]],[[2,"mat-tab-header-pagination-controls-enabled",null],[2,"mat-tab-header-rtl",null]],[[null,"indexFocused"],[null,"selectFocusedIndex"]],function(e,t,n){var r=!0,i=e.component;return"indexFocused"===t&&(r=!1!==i._focusChanged(n)&&r),"selectFocusedIndex"===t&&(r=!1!==(i.selectedIndex=n)&&r),r},Mt,Tt)),r["\u0275did"](2,3325952,[["tabHeader",4]],1,vt,[r.ElementRef,r.ChangeDetectorRef,Ve,[2,Ue]],{disableRipple:[0,"disableRipple"],selectedIndex:[1,"selectedIndex"]},{selectFocusedIndex:"selectFocusedIndex",indexFocused:"indexFocused"}),r["\u0275qud"](603979776,2,{_labelWrappers:1}),(e()(),r["\u0275and"](16777216,null,0,1,null,Ot)),r["\u0275did"](5,802816,null,0,f.NgForOf,[r.ViewContainerRef,r.TemplateRef,r.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(e()(),r["\u0275eld"](6,0,[[1,0],["tabBodyWrapper",1]],null,2,"div",[["class","mat-tab-body-wrapper"]],null,null,null,null,null)),(e()(),r["\u0275and"](16777216,null,null,1,null,Et)),r["\u0275did"](8,802816,null,0,f.NgForOf,[r.ViewContainerRef,r.TemplateRef,r.IterableDiffers],{ngForOf:[0,"ngForOf"]},null)],function(e,t){var n=t.component;e(t,2,0,n.disableRipple,n.selectedIndex),e(t,5,0,n._tabs),e(t,8,0,n._tabs)},function(e,t){e(t,1,0,r["\u0275nov"](t,2)._showPaginationControls,"rtl"==r["\u0275nov"](t,2)._getLayoutDirection())})}var St=r["\u0275crt"]({encapsulation:2,styles:[".mat-tab-body-content{height:100%;overflow:auto}.mat-tab-group-dynamic-height .mat-tab-body-content{overflow:hidden}"],data:{animation:[{type:7,name:"translateTab",definitions:[{type:0,name:"center, void, left-origin-center, right-origin-center",styles:{type:6,styles:{transform:"none"},offset:null},options:void 0},{type:0,name:"left",styles:{type:6,styles:{transform:"translate3d(-100%, 0, 0)"},offset:null},options:void 0},{type:0,name:"right",styles:{type:6,styles:{transform:"translate3d(100%, 0, 0)"},offset:null},options:void 0},{type:1,expr:"* => left, * => right, left => center, right => center",animation:{type:4,styles:null,timings:"500ms cubic-bezier(0.35, 0, 0.25, 1)"},options:null},{type:1,expr:"void => left-origin-center",animation:[{type:6,styles:{transform:"translate3d(-100%, 0, 0)"},offset:null},{type:4,styles:null,timings:"500ms cubic-bezier(0.35, 0, 0.25, 1)"}],options:null},{type:1,expr:"void => right-origin-center",animation:[{type:6,styles:{transform:"translate3d(100%, 0, 0)"},offset:null},{type:4,styles:null,timings:"500ms cubic-bezier(0.35, 0, 0.25, 1)"}],options:null}],options:{}}]}});function Pt(e){return r["\u0275vid"](0,[(e()(),r["\u0275and"](0,null,null,0))],null,null)}function kt(e){return r["\u0275vid"](2,[(e()(),r["\u0275eld"](0,0,[["content",1]],null,2,"div",[["class","mat-tab-body-content"]],[[24,"@translateTab",0]],[[null,"@translateTab.start"],[null,"@translateTab.done"]],function(e,t,n){var r=!0,i=e.component;return"@translateTab.start"===t&&(r=!1!==i._onTranslateTabStarted(n)&&r),"@translateTab.done"===t&&(r=!1!==i._onTranslateTabComplete(n)&&r),r},null,null)),(e()(),r["\u0275and"](16777216,null,null,1,null,Pt)),r["\u0275did"](2,212992,null,0,ft,[r.ComponentFactoryResolver,r.ViewContainerRef,ht],null,null)],function(e,t){e(t,2,0)},function(e,t){e(t,0,0,t.component._position)})}var Tt=r["\u0275crt"]({encapsulation:2,styles:[".mat-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0}.mat-tab-label{height:48px;padding:0 24px;cursor:pointer;box-sizing:border-box;opacity:.6;min-width:160px;text-align:center;display:inline-flex;justify-content:center;align-items:center;white-space:nowrap;position:relative}.mat-tab-label:focus{outline:0}.mat-tab-label:focus:not(.mat-tab-disabled){opacity:1}.mat-tab-label.mat-tab-disabled{cursor:default}.mat-tab-label.mat-tab-label-content{display:inline-flex;justify-content:center;align-items:center;white-space:nowrap}@media (max-width:599px){.mat-tab-label{min-width:72px}}.mat-ink-bar{position:absolute;bottom:0;height:2px;transition:.5s cubic-bezier(.35,0,.25,1)}.mat-tab-group-inverted-header .mat-ink-bar{bottom:auto;top:0}@media screen and (-ms-high-contrast:active){.mat-ink-bar{outline:solid 2px;height:0}}.mat-tab-header-pagination{position:relative;display:none;justify-content:center;align-items:center;min-width:32px;cursor:pointer;z-index:2}.mat-tab-header-pagination-controls-enabled .mat-tab-header-pagination{display:flex}.mat-tab-header-pagination-before,.mat-tab-header-rtl .mat-tab-header-pagination-after{padding-left:4px}.mat-tab-header-pagination-before .mat-tab-header-pagination-chevron,.mat-tab-header-rtl .mat-tab-header-pagination-after .mat-tab-header-pagination-chevron{transform:rotate(-135deg)}.mat-tab-header-pagination-after,.mat-tab-header-rtl .mat-tab-header-pagination-before{padding-right:4px}.mat-tab-header-pagination-after .mat-tab-header-pagination-chevron,.mat-tab-header-rtl .mat-tab-header-pagination-before .mat-tab-header-pagination-chevron{transform:rotate(45deg)}.mat-tab-header-pagination-chevron{border-style:solid;border-width:2px 2px 0 0;content:'';height:8px;width:8px}.mat-tab-header-pagination-disabled{box-shadow:none;cursor:default}.mat-tab-label-container{display:flex;flex-grow:1;overflow:hidden;z-index:1}.mat-tab-list{flex-grow:1;position:relative;transition:transform .5s cubic-bezier(.35,0,.25,1)}.mat-tab-labels{display:flex}"],data:{}});function Mt(e){return r["\u0275vid"](2,[r["\u0275qud"](402653184,1,{_inkBar:0}),r["\u0275qud"](402653184,2,{_tabListContainer:0}),r["\u0275qud"](402653184,3,{_tabList:0}),(e()(),r["\u0275eld"](3,0,null,null,2,"div",[["aria-hidden","true"],["class","mat-tab-header-pagination mat-tab-header-pagination-before mat-elevation-z4 mat-ripple"],["mat-ripple",""]],[[2,"mat-tab-header-pagination-disabled",null],[2,"mat-ripple-unbounded",null]],[[null,"click"]],function(e,t,n){var r=!0;return"click"===t&&(r=!1!==e.component._scrollHeader("before")&&r),r},null,null)),r["\u0275did"](4,212992,null,0,tt,[r.ElementRef,r.NgZone,me,[2,et]],{disabled:[0,"disabled"]},null),(e()(),r["\u0275eld"](5,0,null,null,0,"div",[["class","mat-tab-header-pagination-chevron"]],null,null,null,null,null)),(e()(),r["\u0275eld"](6,0,[[2,0],["tabListContainer",1]],null,6,"div",[["class","mat-tab-label-container"]],null,[[null,"keydown"]],function(e,t,n){var r=!0;return"keydown"===t&&(r=!1!==e.component._handleKeydown(n)&&r),r},null,null)),(e()(),r["\u0275eld"](7,0,[[3,0],["tabList",1]],null,5,"div",[["class","mat-tab-list"],["role","tablist"]],null,[[null,"cdkObserveContent"]],function(e,t,n){var r=!0;return"cdkObserveContent"===t&&(r=!1!==e.component._onContentChanges()&&r),r},null,null)),r["\u0275did"](8,1720320,null,0,se,[ae,r.ElementRef,r.NgZone],null,{event:"cdkObserveContent"}),(e()(),r["\u0275eld"](9,0,null,null,1,"div",[["class","mat-tab-labels"]],null,null,null,null,null)),r["\u0275ncd"](null,0),(e()(),r["\u0275eld"](11,0,null,null,1,"mat-ink-bar",[["class","mat-ink-bar"]],null,null,null,null,null)),r["\u0275did"](12,16384,[[1,4]],0,pt,[r.ElementRef,r.NgZone],null,null),(e()(),r["\u0275eld"](13,0,null,null,2,"div",[["aria-hidden","true"],["class","mat-tab-header-pagination mat-tab-header-pagination-after mat-elevation-z4 mat-ripple"],["mat-ripple",""]],[[2,"mat-tab-header-pagination-disabled",null],[2,"mat-ripple-unbounded",null]],[[null,"click"]],function(e,t,n){var r=!0;return"click"===t&&(r=!1!==e.component._scrollHeader("after")&&r),r},null,null)),r["\u0275did"](14,212992,null,0,tt,[r.ElementRef,r.NgZone,me,[2,et]],{disabled:[0,"disabled"]},null),(e()(),r["\u0275eld"](15,0,null,null,0,"div",[["class","mat-tab-header-pagination-chevron"]],null,null,null,null,null))],function(e,t){var n=t.component;e(t,4,0,n._disableScrollBefore||n.disableRipple),e(t,14,0,n._disableScrollAfter||n.disableRipple)},function(e,t){var n=t.component;e(t,3,0,n._disableScrollBefore,r["\u0275nov"](t,4).unbounded),e(t,13,0,n._disableScrollAfter,r["\u0275nov"](t,14).unbounded)})}var Dt=r["\u0275crt"]({encapsulation:2,styles:[],data:{}});function Nt(e){return r["\u0275vid"](0,[r["\u0275ncd"](null,0),(e()(),r["\u0275and"](0,null,null,0))],null,null)}function At(e){return r["\u0275vid"](2,[r["\u0275qud"](402653184,1,{_content:0}),(e()(),r["\u0275and"](0,[[1,2]],null,0,null,Nt))],null,null)}var Rt=function(){function e(){}return e.prototype.ngOnInit=function(){},e}(),Ft=r["\u0275crt"]({encapsulation:0,styles:[['.mat-tab-group[_ngcontent-%COMP%], .mat-tab-label[_ngcontent-%COMP%], .mat-tab-link[_ngcontent-%COMP%]{font-family:"Helvetica Neue",Helvetica,Arial,sans-serif!important}pre[_ngcontent-%COMP%]{display:block;padding:9.5px;margin:0 0 10px;font-size:13px;line-height:1.42857143;color:#333;word-break:break-all;word-wrap:break-word;background-color:#f5f5f5;border:1px solid #ccc;border-radius:4px}']],data:{}});function Lt(e){return r["\u0275vid"](0,[(e()(),r["\u0275eld"](0,0,null,null,4,"a",[["name","installation"]],null,null,null,null,null)),(e()(),r["\u0275ted"](-1,null,["\n "])),(e()(),r["\u0275eld"](2,0,null,null,1,"h2",[],null,null,null,null,null)),(e()(),r["\u0275ted"](-1,null,["Installation"])),(e()(),r["\u0275ted"](-1,null,["\n"])),(e()(),r["\u0275ted"](-1,null,["\n"])),(e()(),r["\u0275eld"](6,0,null,null,71,"mat-tab-group",[["class","mat-tab-group"]],[[2,"mat-tab-group-dynamic-height",null],[2,"mat-tab-group-inverted-header",null]],null,null,It,_t)),r["\u0275did"](7,3325952,null,1,yt,[r.ElementRef,r.ChangeDetectorRef],null,null),r["\u0275qud"](603979776,1,{_tabs:1}),(e()(),r["\u0275ted"](-1,null,["\n "])),(e()(),r["\u0275eld"](10,16777216,null,null,11,"mat-tab",[["label","Arch"]],null,null,null,At,Dt)),r["\u0275did"](11,770048,[[1,4]],1,dt,[r.ViewContainerRef],{textLabel:[0,"textLabel"]},null),r["\u0275qud"](335544320,2,{templateLabel:0}),(e()(),r["\u0275ted"](-1,0,["\n "])),(e()(),r["\u0275eld"](14,0,null,0,2,"pre",[],null,null,null,null,null)),(e()(),r["\u0275eld"](15,0,null,null,1,"code",[],null,null,null,null,null)),(e()(),r["\u0275ted"](-1,null,["\n yay -S safeeyes\n "])),(e()(),r["\u0275ted"](-1,0,["\n "])),(e()(),r["\u0275eld"](18,0,null,0,2,"pre",[],null,null,null,null,null)),(e()(),r["\u0275eld"](19,0,null,null,1,"code",[],null,null,null,null,null)),(e()(),r["\u0275ted"](-1,null,["\n packer -S safeeyes\n "])),(e()(),r["\u0275ted"](-1,0,["\n "])),(e()(),r["\u0275ted"](-1,null,["\n "])),(e()(),r["\u0275eld"](23,16777216,null,null,7,"mat-tab",[["label","Debian"]],null,null,null,At,Dt)),r["\u0275did"](24,770048,[[1,4]],1,dt,[r.ViewContainerRef],{textLabel:[0,"textLabel"]},null),r["\u0275qud"](335544320,3,{templateLabel:0}),(e()(),r["\u0275ted"](-1,0,["\n "])),(e()(),r["\u0275eld"](27,0,null,0,2,"pre",[],null,null,null,null,null)),(e()(),r["\u0275eld"](28,0,null,null,1,"code",[],null,null,null,null,null)),(e()(),r["\u0275ted"](-1,null,["\n sudo apt-get install safeeyes\n "])),(e()(),r["\u0275ted"](-1,0,["\n "])),(e()(),r["\u0275ted"](-1,null,["\n "])),(e()(),r["\u0275eld"](32,16777216,null,null,13,"mat-tab",[["label","Fedora"]],null,null,null,At,Dt)),r["\u0275did"](33,770048,[[1,4]],1,dt,[r.ViewContainerRef],{textLabel:[0,"textLabel"]},null),r["\u0275qud"](335544320,4,{templateLabel:0}),(e()(),r["\u0275ted"](-1,0,["\n If you want to use Smart Pause plugin, install the latest "])),(e()(),r["\u0275eld"](36,0,null,0,1,"code",[],null,null,null,null,null)),(e()(),r["\u0275ted"](-1,null,["xprintidle"])),(e()(),r["\u0275ted"](-1,0,[" from: "])),(e()(),r["\u0275eld"](39,0,null,0,1,"a",[["href","https://copr.fedorainfracloud.org/coprs/alonid/xprintidle/"]],null,null,null,null,null)),(e()(),r["\u0275ted"](-1,null,["alonid/xprintidle"])),(e()(),r["\u0275ted"](-1,0,["\n "])),(e()(),r["\u0275eld"](42,0,null,0,2,"pre",[],null,null,null,null,null)),(e()(),r["\u0275eld"](43,0,null,null,1,"code",[],null,null,null,null,null)),(e()(),r["\u0275ted"](-1,null,["\n sudo dnf install libappindicator-gtk3 python3-psutil\n sudo pip3 install safeeyes\n sudo gtk-update-icon-cache /usr/share/icons/hicolor\n "])),(e()(),r["\u0275ted"](-1,0,["\n "])),(e()(),r["\u0275ted"](-1,null,["\n "])),(e()(),r["\u0275eld"](47,16777216,null,null,7,"mat-tab",[["label","Gentoo"]],null,null,null,At,Dt)),r["\u0275did"](48,770048,[[1,4]],1,dt,[r.ViewContainerRef],{textLabel:[0,"textLabel"]},null),r["\u0275qud"](335544320,5,{templateLabel:0}),(e()(),r["\u0275ted"](-1,0,["\n "])),(e()(),r["\u0275eld"](51,0,null,0,2,"pre",[],null,null,null,null,null)),(e()(),r["\u0275eld"](52,0,null,null,1,"code",[],null,null,null,null,null)),(e()(),r["\u0275ted"](-1,null,["\n sudo emerge -av x11-misc/safeeyes\n "])),(e()(),r["\u0275ted"](-1,0,["\n "])),(e()(),r["\u0275ted"](-1,null,["\n "])),(e()(),r["\u0275eld"](56,16777216,null,null,7,"mat-tab",[["label","Ubuntu & Linux Mint"]],null,null,null,At,Dt)),r["\u0275did"](57,770048,[[1,4]],1,dt,[r.ViewContainerRef],{textLabel:[0,"textLabel"]},null),r["\u0275qud"](335544320,6,{templateLabel:0}),(e()(),r["\u0275ted"](-1,0,["\n "])),(e()(),r["\u0275eld"](60,0,null,0,2,"pre",[],null,null,null,null,null)),(e()(),r["\u0275eld"](61,0,null,null,1,"code",[],null,null,null,null,null)),(e()(),r["\u0275ted"](-1,null,["\n sudo add-apt-repository ppa:safeeyes-team/safeeyes\n sudo apt update\n sudo apt install safeeyes\n "])),(e()(),r["\u0275ted"](-1,0,["\n "])),(e()(),r["\u0275ted"](-1,null,["\n "])),(e()(),r["\u0275eld"](65,16777216,null,null,11,"mat-tab",[["label","Other Linux"]],null,null,null,At,Dt)),r["\u0275did"](66,770048,[[1,4]],1,dt,[r.ViewContainerRef],{textLabel:[0,"textLabel"]},null),r["\u0275qud"](335544320,7,{templateLabel:0}),(e()(),r["\u0275ted"](-1,0,["\n Install the following dependencies:\n "])),(e()(),r["\u0275eld"](69,0,null,0,2,"pre",[],null,null,null,null,null)),(e()(),r["\u0275eld"](70,0,null,null,1,"code",[],null,null,null,null,null)),(e()(),r["\u0275ted"](-1,null,["\n gir1.2-appindicator3-0.1 gir1.2-notify-0.7 libappindicator-gtk3 python3-psutil xprintidle\n "])),(e()(),r["\u0275ted"](-1,0,[" Install Safe Eyes:\n "])),(e()(),r["\u0275eld"](73,0,null,0,2,"pre",[],null,null,null,null,null)),(e()(),r["\u0275eld"](74,0,null,null,1,"code",[],null,null,null,null,null)),(e()(),r["\u0275ted"](-1,null,["\n sudo pip3 install safeeyes\n "])),(e()(),r["\u0275ted"](-1,0,["\n "])),(e()(),r["\u0275ted"](-1,null,["\n"]))],function(e,t){e(t,11,0,"Arch"),e(t,24,0,"Debian"),e(t,33,0,"Fedora"),e(t,48,0,"Gentoo"),e(t,57,0,"Ubuntu & Linux Mint"),e(t,66,0,"Other Linux")},function(e,t){e(t,6,0,r["\u0275nov"](t,7).dynamicHeight,"below"===r["\u0275nov"](t,7).headerPosition)})}var jt=function(){function e(){}return e.prototype.distribute=function(e,t){if(e.length<=t)return[e];for(var n=Math.ceil(e.length/t),r=new Array(n),i=0;iSafe Eyes translations site in order to assist with translations. Please translate the message id description as a meaningful description describing Safe Eyes.')},{icon:"fa-github",title:"Issues",description:'If you are having issues with Safe Eyes, feel free to open issues in the Safe Eyes Github Issues page as necessary.'}];this.contributions=this._utilService.distribute(e,2)},e}(),Zt=r["\u0275crt"]({encapsulation:0,styles:[["i[_ngcontent-%COMP%]{color:#424242;position:absolute;font-size:32pt;float:left;line-height:20pt}h3[_ngcontent-%COMP%]{margin-left:50px}p[_ngcontent-%COMP%]{text-align:justify}"]],data:{}});function Wt(e){return r["\u0275vid"](0,[(e()(),r["\u0275eld"](0,0,null,null,11,"div",[["class","col-sm-6"]],null,null,null,null,null)),(e()(),r["\u0275ted"](-1,null,["\n "])),(e()(),r["\u0275eld"](2,0,null,null,6,"div",[],null,null,null,null,null)),(e()(),r["\u0275eld"](3,0,null,null,1,"i",[["aria-hidden","true"]],[[8,"className",0]],null,null,null,null)),(e()(),r["\u0275ted"](-1,null,[" "])),(e()(),r["\u0275ted"](-1,null,["\n "])),(e()(),r["\u0275eld"](6,0,null,null,1,"h3",[],null,null,null,null,null)),(e()(),r["\u0275ted"](7,null,["",""])),(e()(),r["\u0275ted"](-1,null,["\n "])),(e()(),r["\u0275ted"](-1,null,["\n "])),(e()(),r["\u0275eld"](10,0,null,null,0,"p",[],[[8,"innerHTML",1]],null,null,null,null)),(e()(),r["\u0275ted"](-1,null,["\n "]))],null,function(e,t){e(t,3,0,r["\u0275inlineInterpolate"](1,"fa ",t.context.$implicit.icon,"")),e(t,7,0,t.context.$implicit.title),e(t,10,0,t.context.$implicit.description)})}function qt(e){return r["\u0275vid"](0,[(e()(),r["\u0275eld"](0,0,null,null,4,"div",[["class","row"]],null,null,null,null,null)),(e()(),r["\u0275ted"](-1,null,["\n "])),(e()(),r["\u0275and"](16777216,null,null,1,null,Wt)),r["\u0275did"](3,802816,null,0,f.NgForOf,[r.ViewContainerRef,r.TemplateRef,r.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(e()(),r["\u0275ted"](-1,null,["\n"]))],function(e,t){e(t,3,0,t.context.$implicit)},null)}function Kt(e){return r["\u0275vid"](0,[(e()(),r["\u0275eld"](0,0,null,null,4,"a",[["name","contribute"]],null,null,null,null,null)),(e()(),r["\u0275ted"](-1,null,["\n "])),(e()(),r["\u0275eld"](2,0,null,null,1,"h2",[],null,null,null,null,null)),(e()(),r["\u0275ted"](-1,null,["Contribute"])),(e()(),r["\u0275ted"](-1,null,["\n"])),(e()(),r["\u0275ted"](-1,null,["\n\n"])),(e()(),r["\u0275and"](16777216,null,null,1,null,qt)),r["\u0275did"](7,802816,null,0,f.NgForOf,[r.ViewContainerRef,r.TemplateRef,r.IterableDiffers],{ngForOf:[0,"ngForOf"]},null)],function(e,t){e(t,7,0,t.component.contributions)},null)}var $t=r["\u0275crt"]({encapsulation:0,styles:[["contribute[_ngcontent-%COMP%], features[_ngcontent-%COMP%], installation[_ngcontent-%COMP%], screenshots[_ngcontent-%COMP%]{width:100%}"]],data:{}});function Qt(e){return r["\u0275vid"](0,[(e()(),r["\u0275eld"](0,0,null,null,1,"app-navbar",[],null,null,null,l,s)),r["\u0275did"](1,114688,null,0,a,[],null,null),(e()(),r["\u0275ted"](-1,null,["\n\n"])),(e()(),r["\u0275eld"](3,0,null,null,42,"div",[["class","container"]],null,null,null,null,null)),(e()(),r["\u0275ted"](-1,null,["\n "])),(e()(),r["\u0275eld"](5,0,null,null,39,"div",[["class","d-flex justify-content-between"]],null,null,null,null,null)),(e()(),r["\u0275ted"](-1,null,["\n "])),(e()(),r["\u0275eld"](7,0,null,null,36,"div",[["class","p-1"]],null,null,null,null,null)),(e()(),r["\u0275ted"](-1,null,["\n "])),(e()(),r["\u0275eld"](9,0,null,null,4,"div",[["class","row"]],null,null,null,null,null)),(e()(),r["\u0275ted"](-1,null,["\n "])),(e()(),r["\u0275eld"](11,0,null,null,1,"app-header",[],null,null,null,p,c)),r["\u0275did"](12,114688,null,0,u,[],null,null),(e()(),r["\u0275ted"](-1,null,["\n "])),(e()(),r["\u0275ted"](-1,null,["\n "])),(e()(),r["\u0275eld"](15,0,null,null,4,"div",[["class","row"],["style","text-align:center;"]],null,null,null,null,null)),(e()(),r["\u0275ted"](-1,null,["\n "])),(e()(),r["\u0275eld"](17,0,null,null,1,"screenshots",[],null,null,null,q,W)),r["\u0275did"](18,114688,null,0,Z,[],null,null),(e()(),r["\u0275ted"](-1,null,["\n "])),(e()(),r["\u0275ted"](-1,null,["\n "])),(e()(),r["\u0275eld"](21,0,null,null,4,"div",[["class","row"]],null,null,null,null,null)),(e()(),r["\u0275ted"](-1,null,["\n "])),(e()(),r["\u0275eld"](23,0,null,null,1,"installation",[],null,null,null,Lt,Ft)),r["\u0275did"](24,114688,null,0,Rt,[],null,null),(e()(),r["\u0275ted"](-1,null,["\n "])),(e()(),r["\u0275ted"](-1,null,["\n "])),(e()(),r["\u0275eld"](27,0,null,null,4,"div",[["class","row"]],null,null,null,null,null)),(e()(),r["\u0275ted"](-1,null,["\n "])),(e()(),r["\u0275eld"](29,0,null,null,1,"features",[],null,null,null,Ut,zt)),r["\u0275did"](30,114688,null,0,Vt,[jt],null,null),(e()(),r["\u0275ted"](-1,null,["\n "])),(e()(),r["\u0275ted"](-1,null,["\n "])),(e()(),r["\u0275eld"](33,0,null,null,4,"div",[["class","row"]],null,null,null,null,null)),(e()(),r["\u0275ted"](-1,null,["\n "])),(e()(),r["\u0275eld"](35,0,null,null,1,"contribute",[],null,null,null,Kt,Zt)),r["\u0275did"](36,114688,null,0,Gt,[jt,h.DomSanitizer],null,null),(e()(),r["\u0275ted"](-1,null,["\n "])),(e()(),r["\u0275ted"](-1,null,["\n "])),(e()(),r["\u0275eld"](39,0,null,null,3,"div",[["class","row"]],null,null,null,null,null)),(e()(),r["\u0275ted"](-1,null,["\n "])),(e()(),r["\u0275eld"](41,0,null,null,0,"br",[],null,null,null,null,null)),(e()(),r["\u0275ted"](-1,null,["\n "])),(e()(),r["\u0275ted"](-1,null,["\n "])),(e()(),r["\u0275ted"](-1,null,["\n "])),(e()(),r["\u0275ted"](-1,null,["\n"]))],function(e,t){e(t,1,0),e(t,12,0),e(t,18,0),e(t,24,0),e(t,30,0),e(t,36,0)},null)}var Yt=r["\u0275ccf"]("app-root",o,function(e){return r["\u0275vid"](0,[(e()(),r["\u0275eld"](0,0,null,null,1,"app-root",[],null,null,null,Qt,$t)),r["\u0275did"](1,49152,null,0,o,[],null,null)],null,null)},{},{},[]);function Jt(e){switch(e.length){case 0:return new lt;case 1:return e[0];default:return new ut(e)}}function Xt(e,t,n,r,i,o){void 0===i&&(i={}),void 0===o&&(o={});var a=[],s=[],l=-1,u=null;if(r.forEach(function(e){var n=e.offset,r=n==l,c=r&&u||{};Object.keys(e).forEach(function(n){var r=n,s=e[n];if("offset"!==n)switch(r=t.normalizePropertyName(r,a),s){case ct:s=i[n];break;case it:s=o[n];break;default:s=t.normalizeStyleValue(n,r,s,a)}c[r]=s}),r||s.push(c),u=c,l=n}),a.length)throw new Error("Unable to animate due to the following errors:\n - "+a.join("\n - "));return s}function en(e,t,n,r){switch(t){case"start":e.onStart(function(){return r(n&&tn(n,"start",e.totalTime))});break;case"done":e.onDone(function(){return r(n&&tn(n,"done",e.totalTime))});break;case"destroy":e.onDestroy(function(){return r(n&&tn(n,"destroy",e.totalTime))})}}function tn(e,t,n){var r=nn(e.element,e.triggerName,e.fromState,e.toState,t||e.phaseName,void 0==n?e.totalTime:n),i=e._data;return null!=i&&(r._data=i),r}function nn(e,t,n,r,i,o){return void 0===i&&(i=""),void 0===o&&(o=0),{element:e,triggerName:t,fromState:n,toState:r,phaseName:i,totalTime:o}}function rn(e,t,n){var r;return e instanceof Map?(r=e.get(t))||e.set(t,r=n):(r=e[t])||(r=e[t]=n),r}function on(e){var t=e.indexOf(":");return[e.substring(1,t),e.substr(t+1)]}var an=function(e,t){return!1},sn=function(e,t){return!1},ln=function(e,t,n){return[]};if("undefined"!=typeof Element){if(an=function(e,t){return e.contains(t)},Element.prototype.matches)sn=function(e,t){return e.matches(t)};else{var un=Element.prototype,cn=un.matchesSelector||un.mozMatchesSelector||un.msMatchesSelector||un.oMatchesSelector||un.webkitMatchesSelector;cn&&(sn=function(e,t){return cn.apply(e,[t])})}ln=function(e,t,n){var r=[];if(n)r.push.apply(r,e.querySelectorAll(t));else{var i=e.querySelector(t);i&&r.push(i)}return r}}var pn=null,dn=!1;function fn(e){pn||(pn=hn()||{},dn=!!pn.style&&"WebkitAppearance"in pn.style);var t=!0;return pn.style&&!function(e){return"ebkit"==e.substring(1,6)}(e)&&!(t=e in pn.style)&&dn&&(t="Webkit"+e.charAt(0).toUpperCase()+e.substr(1)in pn.style),t}function hn(){return"undefined"!=typeof document?document.body:null}var gn=sn,yn=an,mn=ln,vn=function(){function e(){}return e.prototype.validateStyleProperty=function(e){return fn(e)},e.prototype.matchesElement=function(e,t){return gn(e,t)},e.prototype.containsElement=function(e,t){return yn(e,t)},e.prototype.query=function(e,t,n){return mn(e,t,n)},e.prototype.computeStyle=function(e,t,n){return n||""},e.prototype.animate=function(e,t,n,r,i,o){return void 0===o&&(o=[]),new lt},e}(),bn=function(){function e(){}return e.NOOP=new vn,e}(),_n=1e3;function wn(e){if("number"==typeof e)return e;var t=e.match(/^(-?[\.\d]+)(m?s)/);return!t||t.length<2?0:xn(parseFloat(t[1]),t[2])}function xn(e,t){switch(t){case"s":return e*_n;default:return e}}function Cn(e,t,n){return e.hasOwnProperty("duration")?e:function(e,t,n){var r,i=0,o="";if("string"==typeof e){var a=e.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===a)return t.push('The provided timing value "'+e+'" is invalid.'),{duration:0,delay:0,easing:""};r=xn(parseFloat(a[1]),a[2]);var s=a[3];null!=s&&(i=xn(Math.floor(parseFloat(s)),a[4]));var l=a[5];l&&(o=l)}else r=e;if(!n){var u=!1,c=t.length;r<0&&(t.push("Duration values below 0 are not allowed for this animation step."),u=!0),i<0&&(t.push("Delay values below 0 are not allowed for this animation step."),u=!0),u&&t.splice(c,0,'The provided timing value "'+e+'" is invalid.')}return{duration:r,delay:i,easing:o}}(e,t,n)}function On(e,t){return void 0===t&&(t={}),Object.keys(e).forEach(function(n){t[n]=e[n]}),t}function En(e,t,n){if(void 0===n&&(n={}),t)for(var r in e)n[r]=e[r];else On(e,n);return n}function In(e,t){e.style&&Object.keys(t).forEach(function(n){var r=An(n);e.style[r]=t[n]})}function Sn(e,t){e.style&&Object.keys(t).forEach(function(t){var n=An(t);e.style[n]=""})}function Pn(e){return Array.isArray(e)?1==e.length?e[0]:ot(e):e}var kn=new RegExp("{{\\s*(.+?)\\s*}}","g");function Tn(e){var t=[];if("string"==typeof e){for(var n=e.toString(),r=void 0;r=kn.exec(n);)t.push(r[1]);kn.lastIndex=0}return t}function Mn(e,t,n){var r=e.toString(),i=r.replace(kn,function(e,r){var i=t[r];return t.hasOwnProperty(r)||(n.push("Please provide a value for the animation param "+r),i=""),i.toString()});return i==r?e:i}function Dn(e){for(var t=[],n=e.next();!n.done;)t.push(n.value),n=e.next();return t}var Nn=/-+([a-z0-9])/g;function An(e){return e.replace(Nn,function(){for(var e=[],t=0;t *";case":leave":return"* => void";case":increment":return function(e,t){return parseFloat(t)>parseFloat(e)};case":decrement":return function(e,t){return parseFloat(t) *"}}(e,n);if("function"==typeof r)return void t.push(r);e=r}var i=e.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(null==i||i.length<4)return n.push('The provided transition expression "'+e+'" is not supported'),t;var o=i[1],a=i[2],s=i[3];t.push(Vn(o,s)),"<"!=a[0]||o==Fn&&s==Fn||t.push(Vn(s,o))}(e,i,r)}):i.push(n),i),animation:o,queryCount:t.queryCount,depCount:t.depCount,options:Zn(e.options)}},e.prototype.visitSequence=function(e,t){var n=this;return{type:2,steps:e.steps.map(function(e){return Rn(n,e,t)}),options:Zn(e.options)}},e.prototype.visitGroup=function(e,t){var n=this,r=t.currentTime,i=0,o=e.steps.map(function(e){t.currentTime=r;var o=Rn(n,e,t);return i=Math.max(i,t.currentTime),o});return t.currentTime=i,{type:3,steps:o,options:Zn(e.options)}},e.prototype.visitAnimate=function(e,t){var n,r=function(e,t){var n=null;if(e.hasOwnProperty("duration"))n=e;else if("number"==typeof e)return Wn(Cn(e,t).duration,0,"");var r=e;if(r.split(/\s+/).some(function(e){return"{"==e.charAt(0)&&"{"==e.charAt(1)})){var i=Wn(0,0,"");return i.dynamic=!0,i.strValue=r,i}return Wn((n=n||Cn(r,t)).duration,n.delay,n.easing)}(e.timings,t.errors);t.currentAnimateTimings=r;var i=e.styles?e.styles:at({});if(5==i.type)n=this.visitKeyframes(i,t);else{var o=e.styles,a=!1;if(!o){a=!0;var s={};r.easing&&(s.easing=r.easing),o=at(s)}t.currentTime+=r.duration+r.delay;var l=this.visitStyle(o,t);l.isEmptyStep=a,n=l}return t.currentAnimateTimings=null,{type:4,timings:r,style:n,options:null}},e.prototype.visitStyle=function(e,t){var n=this._makeStyleAst(e,t);return this._validateStyleAst(n,t),n},e.prototype._makeStyleAst=function(e,t){var n=[];Array.isArray(e.styles)?e.styles.forEach(function(e){"string"==typeof e?e==it?n.push(e):t.errors.push("The provided style string value "+e+" is not allowed."):n.push(e)}):n.push(e.styles);var r=!1,i=null;return n.forEach(function(e){if(Gn(e)){var t=e,n=t.easing;if(n&&(i=n,delete t.easing),!r)for(var o in t)if(t[o].toString().indexOf("{{")>=0){r=!0;break}}}),{type:6,styles:n,easing:i,offset:e.offset,containsDynamicStyles:r,options:null}},e.prototype._validateStyleAst=function(e,t){var n=this,r=t.currentAnimateTimings,i=t.currentTime,o=t.currentTime;r&&o>0&&(o-=r.duration+r.delay),e.styles.forEach(function(e){"string"!=typeof e&&Object.keys(e).forEach(function(r){if(n._driver.validateStyleProperty(r)){var a,s,l,u=t.collectedStyles[t.currentQuerySelector],c=u[r],p=!0;c&&(o!=i&&o>=c.startTime&&i<=c.endTime&&(t.errors.push('The CSS property "'+r+'" that exists between the times of "'+c.startTime+'ms" and "'+c.endTime+'ms" is also being animated in a parallel animation between the times of "'+o+'ms" and "'+i+'ms"'),p=!1),o=c.startTime),p&&(u[r]={startTime:o,endTime:i}),t.options&&(a=t.errors,s=t.options.params||{},(l=Tn(e[r])).length&&l.forEach(function(e){s.hasOwnProperty(e)||a.push("Unable to resolve the local animation param "+e+" in the given list of values")}))}else t.errors.push('The provided animation property "'+r+'" is not a supported CSS property for animations')})})},e.prototype.visitKeyframes=function(e,t){var n=this,r={type:5,styles:[],options:null};if(!t.currentAnimateTimings)return t.errors.push("keyframes() must be placed inside of a call to animate()"),r;var i=0,o=[],a=!1,s=!1,l=0,u=e.steps.map(function(e){var r=n._makeStyleAst(e,t),u=null!=r.offset?r.offset:function(e){if("string"==typeof e)return null;var t=null;if(Array.isArray(e))e.forEach(function(e){if(Gn(e)&&e.hasOwnProperty("offset")){var n=e;t=parseFloat(n.offset),delete n.offset}});else if(Gn(e)&&e.hasOwnProperty("offset")){var n=e;t=parseFloat(n.offset),delete n.offset}return t}(r.styles),c=0;return null!=u&&(i++,c=r.offset=u),s=s||c<0||c>1,a=a||c0&&i0?i==d?1:p*i:o[i],s=a*g;t.currentTime=f+h.delay+s,h.duration=s,n._validateStyleAst(e,t),e.offset=a,r.styles.push(e)}),r},e.prototype.visitReference=function(e,t){return{type:8,animation:Rn(this,Pn(e.animation),t),options:Zn(e.options)}},e.prototype.visitAnimateChild=function(e,t){return t.depCount++,{type:9,options:Zn(e.options)}},e.prototype.visitAnimateRef=function(e,t){return{type:10,animation:this.visitReference(e.animation,t),options:Zn(e.options)}},e.prototype.visitQuery=function(e,t){var n=t.currentQuerySelector,r=e.options||{};t.queryCount++,t.currentQuery=e;var i=function(e){var t=!!e.split(/\s*,\s*/).find(function(e){return":self"==e});return t&&(e=e.replace(zn,"")),[e=e.replace(/@\*/g,".ng-trigger").replace(/@\w+/g,function(e){return".ng-trigger-"+e.substr(1)}).replace(/:animating/g,".ng-animating"),t]}(e.selector),o=i[0],a=i[1];t.currentQuerySelector=n.length?n+" "+o:o,rn(t.collectedStyles,t.currentQuerySelector,{});var s=Rn(this,Pn(e.animation),t);return t.currentQuery=null,t.currentQuerySelector=n,{type:11,selector:o,limit:r.limit||0,optional:!!r.optional,includeSelf:a,animation:s,originalSelector:e.selector,options:Zn(e.options)}},e.prototype.visitStagger=function(e,t){t.currentQuery||t.errors.push("stagger() can only be used inside of query()");var n="full"===e.timings?{duration:0,delay:0,easing:"full"}:Cn(e.timings,t.errors,!0);return{type:12,animation:Rn(this,Pn(e.animation),t),timings:n,options:null}},e}(),Un=function(e){this.errors=e,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles={},this.options=null};function Gn(e){return!Array.isArray(e)&&"object"==typeof e}function Zn(e){var t;return e?(e=On(e)).params&&(e.params=(t=e.params)?On(t):null):e={},e}function Wn(e,t,n){return{duration:e,delay:t,easing:n}}function qn(e,t,n,r,i,o,a,s){return void 0===a&&(a=null),void 0===s&&(s=!1),{type:1,element:e,keyframes:t,preStyleProps:n,postStyleProps:r,duration:i,delay:o,totalTime:i+o,easing:a,subTimeline:s}}var Kn=function(){function e(){this._map=new Map}return e.prototype.consume=function(e){var t=this._map.get(e);return t?this._map.delete(e):t=[],t},e.prototype.append=function(e,t){var n=this._map.get(e);n||this._map.set(e,n=[]),n.push.apply(n,t)},e.prototype.has=function(e){return this._map.has(e)},e.prototype.clear=function(){this._map.clear()},e}(),$n=new RegExp(":enter","g"),Qn=new RegExp(":leave","g");function Yn(e,t,n,r,i,o,a,s,l,u){return void 0===o&&(o={}),void 0===a&&(a={}),void 0===u&&(u=[]),(new Jn).buildKeyframes(e,t,n,r,i,o,a,s,l,u)}var Jn=function(){function e(){}return e.prototype.buildKeyframes=function(e,t,n,r,i,o,a,s,l,u){void 0===u&&(u=[]),l=l||new Kn;var c=new er(e,t,l,r,i,u,[]);c.options=s,c.currentTimeline.setStyles([o],null,c.errors,s),Rn(this,n,c);var p=c.timelines.filter(function(e){return e.containsAnimation()});if(p.length&&Object.keys(a).length){var d=p[p.length-1];d.allowOnlyTimelineStyles()||d.setStyles([a],null,c.errors,s)}return p.length?p.map(function(e){return e.buildKeyframes()}):[qn(t,[],[],[],0,0,"",!1)]},e.prototype.visitTrigger=function(e,t){},e.prototype.visitState=function(e,t){},e.prototype.visitTransition=function(e,t){},e.prototype.visitAnimateChild=function(e,t){var n=t.subInstructions.consume(t.element);if(n){var r=t.createSubContext(e.options),i=t.currentTimeline.currentTime,o=this._visitSubInstructions(n,r,r.options);i!=o&&t.transformIntoNewTimeline(o)}t.previousNode=e},e.prototype.visitAnimateRef=function(e,t){var n=t.createSubContext(e.options);n.transformIntoNewTimeline(),this.visitReference(e.animation,n),t.transformIntoNewTimeline(n.currentTimeline.currentTime),t.previousNode=e},e.prototype._visitSubInstructions=function(e,t,n){var r=t.currentTimeline.currentTime,i=null!=n.duration?wn(n.duration):null,o=null!=n.delay?wn(n.delay):null;return 0!==i&&e.forEach(function(e){var n=t.appendInstructionToTimeline(e,i,o);r=Math.max(r,n.duration+n.delay)}),r},e.prototype.visitReference=function(e,t){t.updateOptions(e.options,!0),Rn(this,e.animation,t),t.previousNode=e},e.prototype.visitSequence=function(e,t){var n=this,r=t.subContextCount,i=t,o=e.options;if(o&&(o.params||o.delay)&&((i=t.createSubContext(o)).transformIntoNewTimeline(),null!=o.delay)){6==i.previousNode.type&&(i.currentTimeline.snapshotCurrentStyles(),i.previousNode=Xn);var a=wn(o.delay);i.delayNextStep(a)}e.steps.length&&(e.steps.forEach(function(e){return Rn(n,e,i)}),i.currentTimeline.applyStylesToKeyframe(),i.subContextCount>r&&i.transformIntoNewTimeline()),t.previousNode=e},e.prototype.visitGroup=function(e,t){var n=this,r=[],i=t.currentTimeline.currentTime,o=e.options&&e.options.delay?wn(e.options.delay):0;e.steps.forEach(function(a){var s=t.createSubContext(e.options);o&&s.delayNextStep(o),Rn(n,a,s),i=Math.max(i,s.currentTimeline.currentTime),r.push(s.currentTimeline)}),r.forEach(function(e){return t.currentTimeline.mergeTimelineCollectedStyles(e)}),t.transformIntoNewTimeline(i),t.previousNode=e},e.prototype._visitTiming=function(e,t){if(e.dynamic){var n=e.strValue;return Cn(t.params?Mn(n,t.params,t.errors):n,t.errors)}return{duration:e.duration,delay:e.delay,easing:e.easing}},e.prototype.visitAnimate=function(e,t){var n=t.currentAnimateTimings=this._visitTiming(e.timings,t),r=t.currentTimeline;n.delay&&(t.incrementTime(n.delay),r.snapshotCurrentStyles());var i=e.style;5==i.type?this.visitKeyframes(i,t):(t.incrementTime(n.duration),this.visitStyle(i,t),r.applyStylesToKeyframe()),t.currentAnimateTimings=null,t.previousNode=e},e.prototype.visitStyle=function(e,t){var n=t.currentTimeline,r=t.currentAnimateTimings;!r&&n.getCurrentStyleProperties().length&&n.forwardFrame();var i=r&&r.easing||e.easing;e.isEmptyStep?n.applyEmptyStep(i):n.setStyles(e.styles,i,t.errors,t.options),t.previousNode=e},e.prototype.visitKeyframes=function(e,t){var n=t.currentAnimateTimings,r=t.currentTimeline.duration,i=n.duration,o=t.createSubContext().currentTimeline;o.easing=n.easing,e.styles.forEach(function(e){o.forwardTime((e.offset||0)*i),o.setStyles(e.styles,e.easing,t.errors,t.options),o.applyStylesToKeyframe()}),t.currentTimeline.mergeTimelineCollectedStyles(o),t.transformIntoNewTimeline(r+i),t.previousNode=e},e.prototype.visitQuery=function(e,t){var n=this,r=t.currentTimeline.currentTime,i=e.options||{},o=i.delay?wn(i.delay):0;o&&(6===t.previousNode.type||0==r&&t.currentTimeline.getCurrentStyleProperties().length)&&(t.currentTimeline.snapshotCurrentStyles(),t.previousNode=Xn);var a=r,s=t.invokeQuery(e.selector,e.originalSelector,e.limit,e.includeSelf,!!i.optional,t.errors);t.currentQueryTotal=s.length;var l=null;s.forEach(function(r,i){t.currentQueryIndex=i;var s=t.createSubContext(e.options,r);o&&s.delayNextStep(o),r===t.element&&(l=s.currentTimeline),Rn(n,e.animation,s),s.currentTimeline.applyStylesToKeyframe(),a=Math.max(a,s.currentTimeline.currentTime)}),t.currentQueryIndex=0,t.currentQueryTotal=0,t.transformIntoNewTimeline(a),l&&(t.currentTimeline.mergeTimelineCollectedStyles(l),t.currentTimeline.snapshotCurrentStyles()),t.previousNode=e},e.prototype.visitStagger=function(e,t){var n=t.parentContext,r=t.currentTimeline,i=e.timings,o=Math.abs(i.duration),a=o*(t.currentQueryTotal-1),s=o*t.currentQueryIndex;switch(i.duration<0?"reverse":i.easing){case"reverse":s=a-s;break;case"full":s=n.currentStaggerTime}var l=t.currentTimeline;s&&l.delayNextStep(s);var u=l.currentTime;Rn(this,e.animation,t),t.previousNode=e,n.currentStaggerTime=r.currentTime-u+(r.startTime-n.currentTimeline.startTime)},e}(),Xn={},er=function(){function e(e,t,n,r,i,o,a,s){this._driver=e,this.element=t,this.subInstructions=n,this._enterClassName=r,this._leaveClassName=i,this.errors=o,this.timelines=a,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=Xn,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=s||new tr(this._driver,t,0),a.push(this.currentTimeline)}return Object.defineProperty(e.prototype,"params",{get:function(){return this.options.params},enumerable:!0,configurable:!0}),e.prototype.updateOptions=function(e,t){var n=this;if(e){var r=e,i=this.options;null!=r.duration&&(i.duration=wn(r.duration)),null!=r.delay&&(i.delay=wn(r.delay));var o=r.params;if(o){var a=i.params;a||(a=this.options.params={}),Object.keys(o).forEach(function(e){t&&a.hasOwnProperty(e)||(a[e]=Mn(o[e],a,n.errors))})}}},e.prototype._copyOptions=function(){var e={};if(this.options){var t=this.options.params;if(t){var n=e.params={};Object.keys(t).forEach(function(e){n[e]=t[e]})}}return e},e.prototype.createSubContext=function(t,n,r){void 0===t&&(t=null);var i=n||this.element,o=new e(this._driver,i,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(i,r||0));return o.previousNode=this.previousNode,o.currentAnimateTimings=this.currentAnimateTimings,o.options=this._copyOptions(),o.updateOptions(t),o.currentQueryIndex=this.currentQueryIndex,o.currentQueryTotal=this.currentQueryTotal,o.parentContext=this,this.subContextCount++,o},e.prototype.transformIntoNewTimeline=function(e){return this.previousNode=Xn,this.currentTimeline=this.currentTimeline.fork(this.element,e),this.timelines.push(this.currentTimeline),this.currentTimeline},e.prototype.appendInstructionToTimeline=function(e,t,n){var r={duration:null!=t?t:e.duration,delay:this.currentTimeline.currentTime+(null!=n?n:0)+e.delay,easing:""},i=new nr(this._driver,e.element,e.keyframes,e.preStyleProps,e.postStyleProps,r,e.stretchStartingKeyframe);return this.timelines.push(i),r},e.prototype.incrementTime=function(e){this.currentTimeline.forwardTime(this.currentTimeline.duration+e)},e.prototype.delayNextStep=function(e){e>0&&this.currentTimeline.delayNextStep(e)},e.prototype.invokeQuery=function(e,t,n,r,i,o){var a=[];if(r&&a.push(this.element),e.length>0){e=(e=e.replace($n,"."+this._enterClassName)).replace(Qn,"."+this._leaveClassName);var s=this._driver.query(this.element,e,1!=n);0!==n&&(s=n<0?s.slice(s.length+n,s.length):s.slice(0,n)),a.push.apply(a,s)}return i||0!=a.length||o.push('`query("'+t+'")` returned zero elements. (Use `query("'+t+'", { optional: true })` if you wish to allow this.)'),a},e}(),tr=function(){function e(e,t,n,r){this._driver=e,this.element=t,this.startTime=n,this._elementTimelineStylesLookup=r,this.duration=0,this._previousKeyframe={},this._currentKeyframe={},this._keyframes=new Map,this._styleSummary={},this._pendingStyles={},this._backFill={},this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._localTimelineStyles=Object.create(this._backFill,{}),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(t),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(t,this._localTimelineStyles)),this._loadKeyframe()}return e.prototype.containsAnimation=function(){switch(this._keyframes.size){case 0:return!1;case 1:return this.getCurrentStyleProperties().length>0;default:return!0}},e.prototype.getCurrentStyleProperties=function(){return Object.keys(this._currentKeyframe)},Object.defineProperty(e.prototype,"currentTime",{get:function(){return this.startTime+this.duration},enumerable:!0,configurable:!0}),e.prototype.delayNextStep=function(e){var t=1==this._keyframes.size&&Object.keys(this._pendingStyles).length;this.duration||t?(this.forwardTime(this.currentTime+e),t&&this.snapshotCurrentStyles()):this.startTime+=e},e.prototype.fork=function(t,n){return this.applyStylesToKeyframe(),new e(this._driver,t,n||this.currentTime,this._elementTimelineStylesLookup)},e.prototype._loadKeyframe=function(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=Object.create(this._backFill,{}),this._keyframes.set(this.duration,this._currentKeyframe))},e.prototype.forwardFrame=function(){this.duration+=1,this._loadKeyframe()},e.prototype.forwardTime=function(e){this.applyStylesToKeyframe(),this.duration=e,this._loadKeyframe()},e.prototype._updateStyle=function(e,t){this._localTimelineStyles[e]=t,this._globalTimelineStyles[e]=t,this._styleSummary[e]={time:this.currentTime,value:t}},e.prototype.allowOnlyTimelineStyles=function(){return this._currentEmptyStepKeyframe!==this._currentKeyframe},e.prototype.applyEmptyStep=function(e){var t=this;e&&(this._previousKeyframe.easing=e),Object.keys(this._globalTimelineStyles).forEach(function(e){t._backFill[e]=t._globalTimelineStyles[e]||it,t._currentKeyframe[e]=it}),this._currentEmptyStepKeyframe=this._currentKeyframe},e.prototype.setStyles=function(e,t,n,r){var i=this;t&&(this._previousKeyframe.easing=t);var o=r&&r.params||{},a=function(e,t){var n,r={};return e.forEach(function(e){"*"===e?(n=n||Object.keys(t)).forEach(function(e){r[e]=it}):En(e,!1,r)}),r}(e,this._globalTimelineStyles);Object.keys(a).forEach(function(e){var t=Mn(a[e],o,n);i._pendingStyles[e]=t,i._localTimelineStyles.hasOwnProperty(e)||(i._backFill[e]=i._globalTimelineStyles.hasOwnProperty(e)?i._globalTimelineStyles[e]:it),i._updateStyle(e,t)})},e.prototype.applyStylesToKeyframe=function(){var e=this,t=this._pendingStyles,n=Object.keys(t);0!=n.length&&(this._pendingStyles={},n.forEach(function(n){e._currentKeyframe[n]=t[n]}),Object.keys(this._localTimelineStyles).forEach(function(t){e._currentKeyframe.hasOwnProperty(t)||(e._currentKeyframe[t]=e._localTimelineStyles[t])}))},e.prototype.snapshotCurrentStyles=function(){var e=this;Object.keys(this._localTimelineStyles).forEach(function(t){var n=e._localTimelineStyles[t];e._pendingStyles[t]=n,e._updateStyle(t,n)})},e.prototype.getFinalKeyframe=function(){return this._keyframes.get(this.duration)},Object.defineProperty(e.prototype,"properties",{get:function(){var e=[];for(var t in this._currentKeyframe)e.push(t);return e},enumerable:!0,configurable:!0}),e.prototype.mergeTimelineCollectedStyles=function(e){var t=this;Object.keys(e._styleSummary).forEach(function(n){var r=t._styleSummary[n],i=e._styleSummary[n];(!r||i.time>r.time)&&t._updateStyle(n,i.value)})},e.prototype.buildKeyframes=function(){var e=this;this.applyStylesToKeyframe();var t=new Set,n=new Set,r=1===this._keyframes.size&&0===this.duration,i=[];this._keyframes.forEach(function(o,a){var s=En(o,!0);Object.keys(s).forEach(function(e){var r=s[e];r==ct?t.add(e):r==it&&n.add(e)}),r||(s.offset=a/e.duration),i.push(s)});var o=t.size?Dn(t.values()):[],a=n.size?Dn(n.values()):[];if(r){var s=i[0],l=On(s);s.offset=0,l.offset=1,i=[s,l]}return qn(this.element,i,o,a,this.duration,this.startTime,this.easing,!1)},e}(),nr=function(e){function t(t,n,r,i,o,a,s){void 0===s&&(s=!1);var l=e.call(this,t,n,a.delay)||this;return l.element=n,l.keyframes=r,l.preStyleProps=i,l.postStyleProps=o,l._stretchStartingKeyframe=s,l.timings={duration:a.duration,delay:a.delay,easing:a.easing},l}return Object(Y.b)(t,e),t.prototype.containsAnimation=function(){return this.keyframes.length>1},t.prototype.buildKeyframes=function(){var e=this.keyframes,t=this.timings,n=t.delay,r=t.duration,i=t.easing;if(this._stretchStartingKeyframe&&n){var o=[],a=r+n,s=n/a,l=En(e[0],!1);l.offset=0,o.push(l);var u=En(e[0],!1);u.offset=rr(s),o.push(u);for(var c=e.length-1,p=1;p<=c;p++){var d=En(e[p],!1);d.offset=rr((n+d.offset*r)/a),o.push(d)}r=a,n=0,i="",e=o}return qn(this.element,e,this.preStyleProps,this.postStyleProps,r,n,i,!0)},t}(tr);function rr(e,t){void 0===t&&(t=3);var n=Math.pow(10,t-1);return Math.round(e*n)/n}var ir=function(){},or=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(Y.b)(t,e),t.prototype.normalizePropertyName=function(e,t){return An(e)},t.prototype.normalizeStyleValue=function(e,t,n,r){var i="",o=n.toString().trim();if(ar[t]&&0!==n&&"0"!==n)if("number"==typeof n)i="px";else{var a=n.match(/^[+-]?[\d\.]+([a-z]*)$/);a&&0==a[1].length&&r.push("Please provide a CSS unit value for "+e+":"+n)}return o+i},t}(ir),ar=function(e){var t={};return"width,height,minWidth,minHeight,maxWidth,maxHeight,left,top,bottom,right,fontSize,outlineWidth,outlineOffset,paddingTop,paddingLeft,paddingBottom,paddingRight,marginTop,marginLeft,marginBottom,marginRight,borderRadius,borderWidth,borderTopWidth,borderLeftWidth,borderRightWidth,borderBottomWidth,textIndent,perspective".split(",").forEach(function(e){return t[e]=!0}),t}();function sr(e,t,n,r,i,o,a,s,l,u,c,p){return{type:0,element:e,triggerName:t,isRemovalTransition:i,fromState:n,fromStyles:o,toState:r,toStyles:a,timelines:s,queriedElements:l,preStyleProps:u,postStyleProps:c,errors:p}}var lr={},ur=function(){function e(e,t,n){this._triggerName=e,this.ast=t,this._stateStyles=n}return e.prototype.match=function(e,t){return function(e,t,n){return e.some(function(e){return e(t,n)})}(this.ast.matchers,e,t)},e.prototype.buildStyles=function(e,t,n){var r=this._stateStyles["*"],i=this._stateStyles[e],o=r?r.buildStyles(t,n):{};return i?i.buildStyles(t,n):o},e.prototype.build=function(e,t,n,r,i,o,a,s,l){var u=[],c=this.ast.options&&this.ast.options.params||lr,p=this.buildStyles(n,a&&a.params||lr,u),d=s&&s.params||lr,f=this.buildStyles(r,d,u),h=new Set,g=new Map,y=new Map,m="void"===r,v={params:Object(Y.a)({},c,d)},b=Yn(e,t,this.ast.animation,i,o,p,f,v,l,u);if(u.length)return sr(t,this._triggerName,n,r,m,p,f,[],[],g,y,u);b.forEach(function(e){var n=e.element,r=rn(g,n,{});e.preStyleProps.forEach(function(e){return r[e]=!0});var i=rn(y,n,{});e.postStyleProps.forEach(function(e){return i[e]=!0}),n!==t&&h.add(n)});var _=Dn(h.values());return sr(t,this._triggerName,n,r,m,p,f,b,_,g,y)},e}(),cr=function(){function e(e,t){this.styles=e,this.defaultParams=t}return e.prototype.buildStyles=function(e,t){var n={},r=On(this.defaultParams);return Object.keys(e).forEach(function(t){var n=e[t];null!=n&&(r[t]=n)}),this.styles.styles.forEach(function(e){if("string"!=typeof e){var i=e;Object.keys(i).forEach(function(e){var o=i[e];o.length>1&&(o=Mn(o,r,t)),n[e]=o})}}),n},e}(),pr=function(){function e(e,t){var n=this;this.name=e,this.ast=t,this.transitionFactories=[],this.states={},t.states.forEach(function(e){n.states[e.name]=new cr(e.style,e.options&&e.options.params||{})}),dr(this.states,"true","1"),dr(this.states,"false","0"),t.transitions.forEach(function(t){n.transitionFactories.push(new ur(e,t,n.states))}),this.fallbackTransition=new ur(e,{type:1,animation:{type:2,steps:[],options:null},matchers:[function(e,t){return!0}],options:null,queryCount:0,depCount:0},this.states)}return Object.defineProperty(e.prototype,"containsQueries",{get:function(){return this.ast.queryCount>0},enumerable:!0,configurable:!0}),e.prototype.matchTransition=function(e,t){return this.transitionFactories.find(function(n){return n.match(e,t)})||null},e.prototype.matchStyles=function(e,t,n){return this.fallbackTransition.buildStyles(e,t,n)},e}();function dr(e,t,n){e.hasOwnProperty(t)?e.hasOwnProperty(n)||(e[n]=e[t]):e.hasOwnProperty(n)&&(e[t]=e[n])}var fr=new Kn,hr=function(){function e(e,t){this._driver=e,this._normalizer=t,this._animations={},this._playersById={},this.players=[]}return e.prototype.register=function(e,t){var n=[],r=Hn(this._driver,t,n);if(n.length)throw new Error("Unable to build the animation due to the following errors: "+n.join("\n"));this._animations[e]=r},e.prototype._buildPlayer=function(e,t,n){var r=e.element,i=Xt(0,this._normalizer,0,e.keyframes,t,n);return this._driver.animate(r,i,e.duration,e.delay,e.easing,[])},e.prototype.create=function(e,t,n){var r=this;void 0===n&&(n={});var i,o=[],a=this._animations[e],s=new Map;if(a?(i=Yn(this._driver,t,a,"ng-enter","ng-leave",{},{},n,fr,o)).forEach(function(e){var t=rn(s,e.element,{});e.postStyleProps.forEach(function(e){return t[e]=null})}):(o.push("The requested animation doesn't exist or has already been destroyed"),i=[]),o.length)throw new Error("Unable to create the animation due to the following errors: "+o.join("\n"));s.forEach(function(e,t){Object.keys(e).forEach(function(n){e[n]=r._driver.computeStyle(t,n,it)})});var l=Jt(i.map(function(e){var t=s.get(e.element);return r._buildPlayer(e,{},t)}));return this._playersById[e]=l,l.onDestroy(function(){return r.destroy(e)}),this.players.push(l),l},e.prototype.destroy=function(e){var t=this._getPlayer(e);t.destroy(),delete this._playersById[e];var n=this.players.indexOf(t);n>=0&&this.players.splice(n,1)},e.prototype._getPlayer=function(e){var t=this._playersById[e];if(!t)throw new Error("Unable to find the timeline player referenced by "+e);return t},e.prototype.listen=function(e,t,n,r){var i=nn(t,"","","");return en(this._getPlayer(e),n,i,r),function(){}},e.prototype.command=function(e,t,n,r){if("register"!=n)if("create"!=n){var i=this._getPlayer(e);switch(n){case"play":i.play();break;case"pause":i.pause();break;case"reset":i.reset();break;case"restart":i.restart();break;case"finish":i.finish();break;case"init":i.init();break;case"setPosition":i.setPosition(parseFloat(r[0]));break;case"destroy":this.destroy(e)}}else this.create(e,t,r[0]||{});else this.register(e,r[0])},e}(),gr=[],yr={namespaceId:"",setForRemoval:null,hasAnimation:!1,removedBeforeQueried:!1},mr={namespaceId:"",setForRemoval:null,hasAnimation:!1,removedBeforeQueried:!0},vr="__ng_removed",br=function(){function e(e,t){void 0===t&&(t=""),this.namespaceId=t;var n=e&&e.hasOwnProperty("value");if(this.value=function(e){return null!=e?e:null}(n?e.value:e),n){var r=On(e);delete r.value,this.options=r}else this.options={};this.options.params||(this.options.params={})}return Object.defineProperty(e.prototype,"params",{get:function(){return this.options.params},enumerable:!0,configurable:!0}),e.prototype.absorbOptions=function(e){var t=e.params;if(t){var n=this.options.params;Object.keys(t).forEach(function(e){null==n[e]&&(n[e]=t[e])})}},e}(),_r=new br("void"),wr=new br("DELETED"),xr=function(){function e(e,t,n){this.id=e,this.hostElement=t,this._engine=n,this.players=[],this._triggers={},this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+e,Tr(t,this._hostClassName)}return e.prototype.listen=function(e,t,n,r){var i,o=this;if(!this._triggers.hasOwnProperty(t))throw new Error('Unable to listen on the animation trigger event "'+n+'" because the animation trigger "'+t+"\" doesn't exist!");if(null==n||0==n.length)throw new Error('Unable to listen on the animation trigger "'+t+'" because the provided event is undefined!');if("start"!=(i=n)&&"done"!=i)throw new Error('The provided animation trigger event "'+n+'" for the animation trigger "'+t+'" is not supported!');var a=rn(this._elementListeners,e,[]),s={name:t,phase:n,callback:r};a.push(s);var l=rn(this._engine.statesByElement,e,{});return l.hasOwnProperty(t)||(Tr(e,"ng-trigger"),Tr(e,"ng-trigger-"+t),l[t]=_r),function(){o._engine.afterFlush(function(){var e=a.indexOf(s);e>=0&&a.splice(e,1),o._triggers[t]||delete l[t]})}},e.prototype.register=function(e,t){return!this._triggers[e]&&(this._triggers[e]=t,!0)},e.prototype._getTrigger=function(e){var t=this._triggers[e];if(!t)throw new Error('The provided animation trigger "'+e+'" has not been registered!');return t},e.prototype.trigger=function(e,t,n,r){var i=this;void 0===r&&(r=!0);var o=this._getTrigger(t),a=new Or(this.id,t,e),s=this._engine.statesByElement.get(e);s||(Tr(e,"ng-trigger"),Tr(e,"ng-trigger-"+t),this._engine.statesByElement.set(e,s={}));var l=s[t],u=new br(n,this.id);if(!(n&&n.hasOwnProperty("value"))&&l&&u.absorbOptions(l.options),s[t]=u,l){if(l===wr)return a}else l=_r;if("void"===u.value||l.value!==u.value){var c=rn(this._engine.playersByElement,e,[]);c.forEach(function(e){e.namespaceId==i.id&&e.triggerName==t&&e.queued&&e.destroy()});var p=o.matchTransition(l.value,u.value),d=!1;if(!p){if(!r)return;p=o.fallbackTransition,d=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:t,transition:p,fromState:l,toState:u,player:a,isFallbackTransition:d}),d||(Tr(e,"ng-animate-queued"),a.onStart(function(){Mr(e,"ng-animate-queued")})),a.onDone(function(){var t=i.players.indexOf(a);t>=0&&i.players.splice(t,1);var n=i._engine.playersByElement.get(e);if(n){var r=n.indexOf(a);r>=0&&n.splice(r,1)}}),this.players.push(a),c.push(a),a}if(!function(e,t){var n=Object.keys(e),r=Object.keys(t);if(n.length!=r.length)return!1;for(var i=0;i=0){for(var r=!1,i=n;i>=0;i--)if(this.driver.containsElement(this._namespaceList[i].hostElement,t)){this._namespaceList.splice(i+1,0,e),r=!0;break}r||this._namespaceList.splice(0,0,e)}else this._namespaceList.push(e);return this.namespacesByHostElement.set(t,e),e},e.prototype.register=function(e,t){var n=this._namespaceLookup[e];return n||(n=this.createNamespace(e,t)),n},e.prototype.registerTrigger=function(e,t,n){var r=this._namespaceLookup[e];r&&r.register(t,n)&&this.totalAnimations++},e.prototype.destroy=function(e,t){var n=this;if(e){var r=this._fetchNamespace(e);this.afterFlush(function(){n.namespacesByHostElement.delete(r.hostElement),delete n._namespaceLookup[e];var t=n._namespaceList.indexOf(r);t>=0&&n._namespaceList.splice(t,1)}),this.afterFlushAnimationsDone(function(){return r.destroy(t)})}},e.prototype._fetchNamespace=function(e){return this._namespaceLookup[e]},e.prototype.fetchNamespacesByElement=function(e){var t=new Set,n=this.statesByElement.get(e);if(n)for(var r=Object.keys(n),i=0;i=0;O--)this._namespaceList[O].drainQueuedTransitions(t).forEach(function(e){var t=e.player;x.push(t);var o=e.element;if(p&&n.driver.containsElement(p,o)){var c=_.get(o),d=h.get(o),f=n._buildInstruction(e,r,d,c);if(f.errors&&f.errors.length)C.push(f);else{if(e.isFallbackTransition)return t.onStart(function(){return Sn(o,f.fromStyles)}),t.onDestroy(function(){return In(o,f.toStyles)}),void i.push(t);f.timelines.forEach(function(e){return e.stretchStartingKeyframe=!0}),r.append(o,f.timelines),a.push({instruction:f,player:t,element:o}),f.queriedElements.forEach(function(e){return rn(s,e,[]).push(t)}),f.preStyleProps.forEach(function(e,t){var n=Object.keys(e);if(n.length){var r=l.get(t);r||l.set(t,r=new Set),n.forEach(function(e){return r.add(e)})}}),f.postStyleProps.forEach(function(e,t){var n=Object.keys(e),r=u.get(t);r||u.set(t,r=new Set),n.forEach(function(e){return r.add(e)})})}}else t.destroy()});if(C.length){var E=[];C.forEach(function(e){E.push("@"+e.triggerName+" has failed due to:\n"),e.errors.forEach(function(e){return E.push("- "+e+"\n")})}),x.forEach(function(e){return e.destroy()}),this.reportError(E)}var I=new Map,S=new Map;a.forEach(function(e){var t=e.element;r.has(t)&&(S.set(t,t),n._beforeAnimationBuild(e.player.namespaceId,e.instruction,I))}),i.forEach(function(e){var t=e.element;n._getPreviousPlayers(t,!1,e.namespaceId,e.triggerName,null).forEach(function(e){rn(I,t,[]).push(e),e.destroy()})});var P=y.filter(function(e){return Nr(e,l,u)}),k=new Map;Sr(k,this.driver,v,u,it).forEach(function(e){Nr(e,l,u)&&P.push(e)});var T=new Map;f.forEach(function(e,t){Sr(T,n.driver,new Set(e),l,ct)}),P.forEach(function(e){var t=k.get(e),n=T.get(e);k.set(e,Object(Y.a)({},t,n))});var M=[],D=[],N={};a.forEach(function(e){var t=e.element,a=e.player,s=e.instruction;if(r.has(t)){if(c.has(t))return a.onDestroy(function(){return In(t,s.toStyles)}),void i.push(a);var l=N;if(S.size>1){for(var u=t,p=[];u=u.parentNode;){var d=S.get(u);if(d){l=d;break}p.push(u)}p.forEach(function(e){return S.set(e,l)})}var f=n._buildAnimation(a.namespaceId,s,I,o,T,k);if(a.setRealPlayer(f),l===N)M.push(a);else{var h=n.playersByElement.get(l);h&&h.length&&(a.parentPlayer=Jt(h)),i.push(a)}}else Sn(t,s.fromStyles),a.onDestroy(function(){return In(t,s.toStyles)}),D.push(a),c.has(t)&&i.push(a)}),D.forEach(function(e){var t=o.get(e.element);if(t&&t.length){var n=Jt(t);e.setRealPlayer(n)}}),i.forEach(function(e){e.parentPlayer?e.syncPlayerEvents(e.parentPlayer):e.destroy()});for(var A=0;A0?this.driver.animate(e.element,t,e.duration,e.delay,e.easing,n):new lt},e}(),Or=function(){function e(e,t,n){this.namespaceId=e,this.triggerName=t,this.element=n,this._player=new lt,this._containsRealPlayer=!1,this._queuedCallbacks={},this.destroyed=!1,this.markedForDestroy=!1,this.queued=!0}return e.prototype.setRealPlayer=function(e){var t=this;this._containsRealPlayer||(this._player=e,Object.keys(this._queuedCallbacks).forEach(function(n){t._queuedCallbacks[n].forEach(function(t){return en(e,n,void 0,t)})}),this._queuedCallbacks={},this._containsRealPlayer=!0,this.queued=!1)},e.prototype.getRealPlayer=function(){return this._player},e.prototype.syncPlayerEvents=function(e){var t=this,n=this._player;n.triggerCallback&&e.onStart(function(){return n.triggerCallback("start")}),e.onDone(function(){return t.finish()}),e.onDestroy(function(){return t.destroy()})},e.prototype._queueEvent=function(e,t){rn(this._queuedCallbacks,e,[]).push(t)},e.prototype.onDone=function(e){this.queued&&this._queueEvent("done",e),this._player.onDone(e)},e.prototype.onStart=function(e){this.queued&&this._queueEvent("start",e),this._player.onStart(e)},e.prototype.onDestroy=function(e){this.queued&&this._queueEvent("destroy",e),this._player.onDestroy(e)},e.prototype.init=function(){this._player.init()},e.prototype.hasStarted=function(){return!this.queued&&this._player.hasStarted()},e.prototype.play=function(){!this.queued&&this._player.play()},e.prototype.pause=function(){!this.queued&&this._player.pause()},e.prototype.restart=function(){!this.queued&&this._player.restart()},e.prototype.finish=function(){this._player.finish()},e.prototype.destroy=function(){this.destroyed=!0,this._player.destroy()},e.prototype.reset=function(){!this.queued&&this._player.reset()},e.prototype.setPosition=function(e){this.queued||this._player.setPosition(e)},e.prototype.getPosition=function(){return this.queued?0:this._player.getPosition()},Object.defineProperty(e.prototype,"totalTime",{get:function(){return this._player.totalTime},enumerable:!0,configurable:!0}),e.prototype.triggerCallback=function(e){var t=this._player;t.triggerCallback&&t.triggerCallback(e)},e}();function Er(e){return e&&1===e.nodeType}function Ir(e,t){var n=e.style.display;return e.style.display=null!=t?t:"none",n}function Sr(e,t,n,r,i){var o=[];n.forEach(function(e){return o.push(Ir(e))});var a=[];r.forEach(function(n,r){var o={};n.forEach(function(e){var n=o[e]=t.computeStyle(r,e,i);n&&0!=n.length||(r[vr]=mr,a.push(r))}),e.set(r,o)});var s=0;return n.forEach(function(e){return Ir(e,o[s++])}),a}function Pr(e,t){var n=new Map;if(e.forEach(function(e){return n.set(e,[])}),0==t.length)return n;var r=new Set(t),i=new Map;return t.forEach(function(e){var t=function e(t){if(!t)return 1;var o=i.get(t);if(o)return o;var a=t.parentNode;return o=n.has(a)?a:r.has(a)?1:e(a),i.set(t,o),o}(e);1!==t&&n.get(t).push(e)}),n}var kr="$$classes";function Tr(e,t){if(e.classList)e.classList.add(t);else{var n=e[kr];n||(n=e[kr]={}),n[t]=!0}}function Mr(e,t){if(e.classList)e.classList.remove(t);else{var n=e[kr];n&&delete n[t]}}function Dr(e,t,n){Jt(n).onDone(function(){return e.processLeaveNode(t)})}function Nr(e,t,n){var r=n.get(e);if(!r)return!1;var i=t.get(e);return i?r.forEach(function(e){return i.add(e)}):t.set(e,r),n.delete(e),!0}var Ar=function(){function e(e,t){var n=this;this._driver=e,this._triggerCache={},this.onRemovalComplete=function(e,t){},this._transitionEngine=new Cr(e,t),this._timelineEngine=new hr(e,t),this._transitionEngine.onRemovalComplete=function(e,t){return n.onRemovalComplete(e,t)}}return e.prototype.registerTrigger=function(e,t,n,r,i){var o=e+"-"+r,a=this._triggerCache[o];if(!a){var s=[],l=Hn(this._driver,i,s);if(s.length)throw new Error('The animation trigger "'+r+'" has failed to build due to the following errors:\n - '+s.join("\n - "));a=function(e,t){return new pr(e,t)}(r,l),this._triggerCache[o]=a}this._transitionEngine.registerTrigger(t,r,a)},e.prototype.register=function(e,t){this._transitionEngine.register(e,t)},e.prototype.destroy=function(e,t){this._transitionEngine.destroy(e,t)},e.prototype.onInsert=function(e,t,n,r){this._transitionEngine.insertNode(e,t,n,r)},e.prototype.onRemove=function(e,t,n){this._transitionEngine.removeNode(e,t,n)},e.prototype.disableAnimations=function(e,t){this._transitionEngine.markElementAsDisabled(e,t)},e.prototype.process=function(e,t,n,r){if("@"==n.charAt(0)){var i=on(n);this._timelineEngine.command(i[0],t,i[1],r)}else this._transitionEngine.trigger(e,t,n,r)},e.prototype.listen=function(e,t,n,r,i){if("@"==n.charAt(0)){var o=on(n);return this._timelineEngine.listen(o[0],t,o[1],i)}return this._transitionEngine.listen(e,t,n,r,i)},e.prototype.flush=function(e){void 0===e&&(e=-1),this._transitionEngine.flush(e)},Object.defineProperty(e.prototype,"players",{get:function(){return this._transitionEngine.players.concat(this._timelineEngine.players)},enumerable:!0,configurable:!0}),e.prototype.whenRenderingDone=function(){return this._transitionEngine.whenRenderingDone()},e}(),Rr=function(){function e(e,t,n,r){void 0===r&&(r=[]);var i=this;this.element=e,this.keyframes=t,this.options=n,this.previousPlayers=r,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this.time=0,this.parentPlayer=null,this.previousStyles={},this.currentSnapshot={},this._duration=n.duration,this._delay=n.delay||0,this.time=this._duration+this._delay,(0===this._duration||0===this._delay)&&r.forEach(function(e){var t=e.currentSnapshot;Object.keys(t).forEach(function(e){return i.previousStyles[e]=t[e]})})}return e.prototype._onFinish=function(){this._finished||(this._finished=!0,this._onDoneFns.forEach(function(e){return e()}),this._onDoneFns=[])},e.prototype.init=function(){this._buildPlayer(),this._preparePlayerBeforeStart()},e.prototype._buildPlayer=function(){var e=this;if(!this._initialized){this._initialized=!0;var t=this.keyframes.map(function(e){return En(e,!1)}),n=Object.keys(this.previousStyles);if(n.length&&t.length){var r=t[0],i=[];if(n.forEach(function(t){r.hasOwnProperty(t)||i.push(t),r[t]=e.previousStyles[t]}),i.length)for(var o=this,a=function(){var e=t[s];i.forEach(function(t){e[t]=Fr(o.element,t)})},s=1;s=0&&e +

Installation

+ + + +

+            yay -S safeeyes
+        
+

+            packer -S safeeyes
+        
+
+ +

+          sudo apt-get install gir1.2-appindicator3-0.1 gir1.2-notify-0.7 python3-psutil python3-xlib xprintidle python3-pip
+          sudo pip3 install safeeyes
+          sudo update-icon-caches /usr/share/icons/hicolor
+      
+
+ + If you want to use Smart Pause plugin, install the latest xprintidle from: alonid/xprintidle +

+          sudo dnf install libappindicator-gtk3 python3-psutil
+          sudo pip3 install safeeyes
+          sudo gtk-update-icon-cache /usr/share/icons/hicolor
+      
+
+ +

+          sudo emerge -av x11-misc/safeeyes
+      
+
+ +

+          sudo add-apt-repository ppa:safeeyes-team/safeeyes
+          sudo apt update
+          sudo apt install safeeyes
+      
+
+ + Install the following dependencies: +

+        gir1.2-appindicator3-0.1 gir1.2-notify-0.7 libappindicator-gtk3 python3-psutil xprintidle
+    
Install Safe Eyes: +

+        sudo pip3 install safeeyes
+    
+
+
\ No newline at end of file